@everymatrix/casino-betslip-indicator 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 T() {
2
2
  }
3
- function dt(e) {
3
+ function pt(e) {
4
4
  return e();
5
5
  }
6
- function We() {
6
+ function Xe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function K(e) {
10
- e.forEach(dt);
10
+ e.forEach(pt);
11
11
  }
12
12
  function Ge(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function bt(e, t) {
15
+ function dt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Zt(e) {
18
+ function zt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Qt(e, ...t) {
21
+ function Zt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -30,14 +30,14 @@ function Qt(e, ...t) {
30
30
  function B(e, t) {
31
31
  e.appendChild(t);
32
32
  }
33
- function Jt(e, t, r) {
34
- const n = Yt(e);
33
+ function Qt(e, t, r) {
34
+ const n = Jt(e);
35
35
  if (!n.getElementById(t)) {
36
36
  const i = D("style");
37
- i.id = t, i.textContent = r, qt(n, i);
37
+ i.id = t, i.textContent = r, Yt(n, i);
38
38
  }
39
39
  }
40
- function Yt(e) {
40
+ function Jt(e) {
41
41
  if (!e) return document;
42
42
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
43
43
  return t && /** @type {ShadowRoot} */
@@ -46,7 +46,7 @@ function Yt(e) {
46
46
  t
47
47
  ) : e.ownerDocument;
48
48
  }
49
- function qt(e, t) {
49
+ function Yt(e, t) {
50
50
  return B(
51
51
  /** @type {Document} */
52
52
  e.head || e,
@@ -65,29 +65,29 @@ function D(e) {
65
65
  function N(e) {
66
66
  return document.createElementNS("http://www.w3.org/2000/svg", e);
67
67
  }
68
- function yt(e) {
68
+ function bt(e) {
69
69
  return document.createTextNode(e);
70
70
  }
71
- function Kt() {
72
- return yt(" ");
71
+ function qt() {
72
+ return bt(" ");
73
73
  }
74
- function er(e, t, r, n) {
74
+ function Kt(e, t, r, n) {
75
75
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
76
76
  }
77
77
  function E(e, t, r) {
78
78
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
79
79
  }
80
- function tr(e) {
80
+ function er(e) {
81
81
  return Array.from(e.childNodes);
82
82
  }
83
- function rr(e, t) {
83
+ function tr(e, t) {
84
84
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
85
85
  t);
86
86
  }
87
- function nr(e, t, r, n) {
87
+ function rr(e, t, r, n) {
88
88
  e.style.setProperty(t, r, "");
89
89
  }
90
- function ir(e) {
90
+ function nr(e) {
91
91
  const t = {};
92
92
  return e.childNodes.forEach(
93
93
  /** @param {Element} node */
@@ -100,19 +100,19 @@ let J;
100
100
  function Q(e) {
101
101
  J = e;
102
102
  }
103
- function or() {
103
+ function ir() {
104
104
  if (!J) throw new Error("Function called outside component initialization");
105
105
  return J;
106
106
  }
107
- function sr(e) {
108
- or().$$.on_mount.push(e);
107
+ function or(e) {
108
+ ir().$$.on_mount.push(e);
109
109
  }
110
110
  const M = [], He = [];
111
111
  let R = [];
112
- const ze = [], ar = /* @__PURE__ */ Promise.resolve();
112
+ const We = [], sr = /* @__PURE__ */ Promise.resolve();
113
113
  let Te = !1;
114
- function ur() {
115
- Te || (Te = !0, ar.then(le));
114
+ function ar() {
115
+ Te || (Te = !0, sr.then(le));
116
116
  }
117
117
  function Be(e) {
118
118
  R.push(e);
@@ -127,7 +127,7 @@ function le() {
127
127
  try {
128
128
  for (; L < M.length; ) {
129
129
  const t = M[L];
130
- L++, Q(t), hr(t.$$);
130
+ L++, Q(t), ur(t.$$);
131
131
  }
132
132
  } catch (t) {
133
133
  throw M.length = 0, L = 0, t;
@@ -139,40 +139,40 @@ function le() {
139
139
  }
140
140
  R.length = 0;
141
141
  } while (M.length);
142
- for (; ze.length; )
143
- ze.pop()();
142
+ for (; We.length; )
143
+ We.pop()();
144
144
  Te = !1, ge.clear(), Q(e);
145
145
  }
146
- function hr(e) {
146
+ function ur(e) {
147
147
  if (e.fragment !== null) {
148
148
  e.update(), K(e.before_update);
149
149
  const t = e.dirty;
150
150
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
151
151
  }
152
152
  }
153
- function lr(e) {
153
+ function hr(e) {
154
154
  const t = [], r = [];
155
155
  R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
156
156
  }
157
- const fr = /* @__PURE__ */ new Set();
158
- function cr(e, t) {
159
- e && e.i && (fr.delete(e), e.i(t));
157
+ const lr = /* @__PURE__ */ new Set();
158
+ function fr(e, t) {
159
+ e && e.i && (lr.delete(e), e.i(t));
160
160
  }
161
- function mr(e, t, r) {
161
+ function cr(e, t, r) {
162
162
  const { fragment: n, after_update: i } = e.$$;
163
163
  n && n.m(t, r), Be(() => {
164
- const o = e.$$.on_mount.map(dt).filter(Ge);
164
+ const o = e.$$.on_mount.map(pt).filter(Ge);
165
165
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
166
166
  }), i.forEach(Be);
167
167
  }
168
- function pr(e, t) {
168
+ function mr(e, t) {
169
169
  const r = e.$$;
170
- r.fragment !== null && (lr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (hr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
171
  }
172
- function dr(e, t) {
173
- e.$$.dirty[0] === -1 && (M.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function pr(e, t) {
173
+ e.$$.dirty[0] === -1 && (M.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
174
  }
175
- function br(e, t, r, n, i, o, s = null, a = [-1]) {
175
+ function dr(e, t, r, n, i, o, s = null, a = [-1]) {
176
176
  const h = J;
177
177
  Q(e);
178
178
  const u = e.$$ = {
@@ -182,7 +182,7 @@ function br(e, t, r, n, i, o, s = null, a = [-1]) {
182
182
  props: o,
183
183
  update: T,
184
184
  not_equal: i,
185
- bound: We(),
185
+ bound: Xe(),
186
186
  // lifecycle
187
187
  on_mount: [],
188
188
  on_destroy: [],
@@ -191,28 +191,28 @@ function br(e, t, r, n, i, o, s = null, a = [-1]) {
191
191
  after_update: [],
192
192
  context: new Map(t.context || (h ? h.$$.context : [])),
193
193
  // everything else
194
- callbacks: We(),
194
+ callbacks: Xe(),
195
195
  dirty: a,
196
196
  skip_bound: !1,
197
197
  root: t.target || h.$$.root
198
198
  };
199
199
  s && s(u.root);
200
200
  let l = !1;
201
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
201
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
202
202
  const g = d.length ? d[0] : c;
203
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && dr(e, f)), c;
204
- }), u.update(), l = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
203
+ return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && pr(e, f)), c;
204
+ }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
205
  if (t.hydrate) {
206
- const f = tr(t.target);
206
+ const f = er(t.target);
207
207
  u.fragment && u.fragment.l(f), f.forEach(V);
208
208
  } else
209
209
  u.fragment && u.fragment.c();
210
- t.intro && cr(e.$$.fragment), mr(e, t.target, t.anchor), le();
210
+ t.intro && fr(e.$$.fragment), cr(e, t.target, t.anchor), le();
211
211
  }
212
212
  Q(h);
213
213
  }
214
- let gt;
215
- typeof HTMLElement == "function" && (gt = class extends HTMLElement {
214
+ let yt;
215
+ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
216
216
  /** The Svelte component constructor */
217
217
  $$ctor;
218
218
  /** Slots */
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
271
271
  };
272
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
273
273
  return;
274
- const t = {}, r = ir(this);
274
+ const t = {}, r = nr(this);
275
275
  for (const i of this.$$s)
276
276
  i in r && (t[i] = [e(i)]);
277
277
  for (const i of this.attributes) {
@@ -358,8 +358,8 @@ function se(e, t, r, n) {
358
358
  return t;
359
359
  }
360
360
  }
361
- function yr(e, t, r, n, i, o) {
362
- let s = class extends gt {
361
+ function br(e, t, r, n, i, o) {
362
+ let s = class extends yt {
363
363
  constructor() {
364
364
  super(e, r, i), this.$$p_d = t;
365
365
  }
@@ -387,7 +387,7 @@ function yr(e, t, r, n, i, o) {
387
387
  }), e.element = /** @type {any} */
388
388
  s, s;
389
389
  }
390
- class gr {
390
+ class yr {
391
391
  /**
392
392
  * ### PRIVATE API
393
393
  *
@@ -406,7 +406,7 @@ class gr {
406
406
  $$set = void 0;
407
407
  /** @returns {void} */
408
408
  $destroy() {
409
- pr(this, 1), this.$destroy = T;
409
+ mr(this, 1), this.$destroy = T;
410
410
  }
411
411
  /**
412
412
  * @template {Extract<keyof Events, string>} K
@@ -428,11 +428,11 @@ class gr {
428
428
  * @returns {void}
429
429
  */
430
430
  $set(t) {
431
- this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
432
432
  }
433
433
  }
434
- const vr = "4";
435
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
434
+ const gr = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gr);
436
436
  var Ae = function(e, t) {
437
437
  return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
438
438
  r.__proto__ = n;
@@ -458,7 +458,7 @@ var y = function() {
458
458
  return t;
459
459
  }, y.apply(this, arguments);
460
460
  };
461
- function xr(e, t) {
461
+ function vr(e, t) {
462
462
  var r = {};
463
463
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
464
464
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -501,13 +501,13 @@ function U(e, t, r) {
501
501
  function A(e) {
502
502
  return typeof e == "function";
503
503
  }
504
- function vt(e) {
504
+ function gt(e) {
505
505
  var t = function(n) {
506
506
  Error.call(n), n.stack = new Error().stack;
507
507
  }, r = e(t);
508
508
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
509
509
  }
510
- var ve = vt(function(e) {
510
+ var ve = gt(function(e) {
511
511
  return function(r) {
512
512
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
513
513
  ` + r.map(function(n, i) {
@@ -563,7 +563,7 @@ var me = function() {
563
563
  for (var c = Pe(f), d = c.next(); !d.done; d = c.next()) {
564
564
  var g = d.value;
565
565
  try {
566
- Ze(g);
566
+ ze(g);
567
567
  } catch (m) {
568
568
  o = o ?? [], m instanceof ve ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
569
569
  }
@@ -585,7 +585,7 @@ var me = function() {
585
585
  var r;
586
586
  if (t && t !== this)
587
587
  if (this.closed)
588
- Ze(t);
588
+ ze(t);
589
589
  else {
590
590
  if (t instanceof e) {
591
591
  if (t.closed || t._hasParent(this))
@@ -610,20 +610,16 @@ var me = function() {
610
610
  var t = new e();
611
611
  return t.closed = !0, t;
612
612
  }(), e;
613
- }(), xt = me.EMPTY;
614
- function _t(e) {
613
+ }(), vt = me.EMPTY;
614
+ function xt(e) {
615
615
  return e instanceof me || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
616
616
  }
617
- function Ze(e) {
617
+ function ze(e) {
618
618
  A(e) ? e() : e.unsubscribe();
619
619
  }
620
- var _r = {
621
- onUnhandledError: null,
622
- onStoppedNotification: null,
623
- Promise: void 0,
624
- useDeprecatedSynchronousErrorHandling: !1,
625
- useDeprecatedNextContext: !1
626
- }, Er = {
620
+ var xr = {
621
+ Promise: void 0
622
+ }, _r = {
627
623
  setTimeout: function(e, t) {
628
624
  for (var r = [], n = 2; n < arguments.length; n++)
629
625
  r[n - 2] = arguments[n];
@@ -634,21 +630,21 @@ var _r = {
634
630
  },
635
631
  delegate: void 0
636
632
  };
637
- function Sr(e) {
638
- Er.setTimeout(function() {
633
+ function Er(e) {
634
+ _r.setTimeout(function() {
639
635
  throw e;
640
636
  });
641
637
  }
642
- function Qe() {
638
+ function Ze() {
643
639
  }
644
640
  function ae(e) {
645
641
  e();
646
642
  }
647
- var Et = function(e) {
643
+ var _t = function(e) {
648
644
  P(t, e);
649
645
  function t(r) {
650
646
  var n = e.call(this) || this;
651
- return n.isStopped = !1, r ? (n.destination = r, _t(r) && r.add(n)) : n.destination = Tr, n;
647
+ return n.isStopped = !1, r ? (n.destination = r, xt(r) && r.add(n)) : n.destination = Hr, n;
652
648
  }
653
649
  return t.create = function(r, n, i) {
654
650
  return new Ne(r, n, i);
@@ -675,7 +671,7 @@ var Et = function(e) {
675
671
  this.unsubscribe();
676
672
  }
677
673
  }, t;
678
- }(me), wr = function() {
674
+ }(me), Sr = function() {
679
675
  function e(t) {
680
676
  this.partialObserver = t;
681
677
  }
@@ -714,35 +710,35 @@ var Et = function(e) {
714
710
  next: r ?? void 0,
715
711
  error: n ?? void 0,
716
712
  complete: i ?? void 0
717
- } : s = r, o.destination = new wr(s), o;
713
+ } : s = r, o.destination = new Sr(s), o;
718
714
  }
719
715
  return t;
720
- }(Et);
716
+ }(_t);
721
717
  function ie(e) {
722
- Sr(e);
718
+ Er(e);
723
719
  }
724
- function Hr(e) {
720
+ function wr(e) {
725
721
  throw e;
726
722
  }
727
- var Tr = {
723
+ var Hr = {
728
724
  closed: !0,
729
- next: Qe,
730
- error: Hr,
731
- complete: Qe
732
- }, Br = function() {
725
+ next: Ze,
726
+ error: wr,
727
+ complete: Ze
728
+ }, Tr = function() {
733
729
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
734
730
  }();
735
- function Ar(e) {
731
+ function Br(e) {
736
732
  return e;
737
733
  }
738
- function Pr(e) {
739
- return e.length === 0 ? Ar : e.length === 1 ? e[0] : function(r) {
734
+ function Ar(e) {
735
+ return e.length === 0 ? Br : e.length === 1 ? e[0] : function(r) {
740
736
  return e.reduce(function(n, i) {
741
737
  return i(n);
742
738
  }, r);
743
739
  };
744
740
  }
745
- var Je = function() {
741
+ var Qe = function() {
746
742
  function e(t) {
747
743
  t && (this._subscribe = t);
748
744
  }
@@ -750,7 +746,7 @@ var Je = function() {
750
746
  var r = new e();
751
747
  return r.source = this, r.operator = t, r;
752
748
  }, e.prototype.subscribe = function(t, r, n) {
753
- var i = this, o = Ir(t) ? t : new Ne(t, r, n);
749
+ var i = this, o = Or(t) ? t : new Ne(t, r, n);
754
750
  return ae(function() {
755
751
  var s = i, a = s.operator, h = s.source;
756
752
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -763,7 +759,7 @@ var Je = function() {
763
759
  }
764
760
  }, e.prototype.forEach = function(t, r) {
765
761
  var n = this;
766
- return r = Ye(r), new r(function(i, o) {
762
+ return r = Je(r), new r(function(i, o) {
767
763
  var s = new Ne({
768
764
  next: function(a) {
769
765
  try {
@@ -780,15 +776,15 @@ var Je = function() {
780
776
  }, e.prototype._subscribe = function(t) {
781
777
  var r;
782
778
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
783
- }, e.prototype[Br] = function() {
779
+ }, e.prototype[Tr] = function() {
784
780
  return this;
785
781
  }, e.prototype.pipe = function() {
786
782
  for (var t = [], r = 0; r < arguments.length; r++)
787
783
  t[r] = arguments[r];
788
- return Pr(t)(this);
784
+ return Ar(t)(this);
789
785
  }, e.prototype.toPromise = function(t) {
790
786
  var r = this;
791
- return t = Ye(t), new t(function(n, i) {
787
+ return t = Je(t), new t(function(n, i) {
792
788
  var o;
793
789
  r.subscribe(function(s) {
794
790
  return o = s;
@@ -802,32 +798,32 @@ var Je = function() {
802
798
  return new e(t);
803
799
  }, e;
804
800
  }();
805
- function Ye(e) {
801
+ function Je(e) {
806
802
  var t;
807
- return (t = e ?? _r.Promise) !== null && t !== void 0 ? t : Promise;
803
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
808
804
  }
809
- function Or(e) {
805
+ function Pr(e) {
810
806
  return e && A(e.next) && A(e.error) && A(e.complete);
811
807
  }
812
- function Ir(e) {
813
- return e && e instanceof Et || Or(e) && _t(e);
808
+ function Or(e) {
809
+ return e && e instanceof _t || Pr(e) && xt(e);
814
810
  }
815
- var Nr = vt(function(e) {
811
+ var Ir = gt(function(e) {
816
812
  return function() {
817
813
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
818
814
  };
819
- }), St = function(e) {
815
+ }), Et = function(e) {
820
816
  P(t, e);
821
817
  function t() {
822
818
  var r = e.call(this) || this;
823
819
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
824
820
  }
825
821
  return t.prototype.lift = function(r) {
826
- var n = new qe(this, this);
822
+ var n = new Ye(this, this);
827
823
  return n.operator = r, n;
828
824
  }, t.prototype._throwIfClosed = function() {
829
825
  if (this.closed)
830
- throw new Nr();
826
+ throw new Ir();
831
827
  }, t.prototype.next = function(r) {
832
828
  var n = this;
833
829
  ae(function() {
@@ -883,19 +879,19 @@ var Nr = vt(function(e) {
883
879
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
884
880
  }, t.prototype._innerSubscribe = function(r) {
885
881
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
886
- return o || s ? xt : (this.currentObservers = null, a.push(r), new me(function() {
882
+ return o || s ? vt : (this.currentObservers = null, a.push(r), new me(function() {
887
883
  n.currentObservers = null, Ie(a, r);
888
884
  }));
889
885
  }, t.prototype._checkFinalizedStatuses = function(r) {
890
886
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
891
887
  i ? r.error(o) : s && r.complete();
892
888
  }, t.prototype.asObservable = function() {
893
- var r = new Je();
889
+ var r = new Qe();
894
890
  return r.source = this, r;
895
891
  }, t.create = function(r, n) {
896
- return new qe(r, n);
892
+ return new Ye(r, n);
897
893
  }, t;
898
- }(Je), qe = function(e) {
894
+ }(Qe), Ye = function(e) {
899
895
  P(t, e);
900
896
  function t(r, n) {
901
897
  var i = e.call(this) || this;
@@ -912,17 +908,17 @@ var Nr = vt(function(e) {
912
908
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
913
909
  }, t.prototype._subscribe = function(r) {
914
910
  var n, i;
915
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xt;
911
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : vt;
916
912
  }, t;
917
- }(St), wt = {
913
+ }(Et), St = {
918
914
  now: function() {
919
- return (wt.delegate || Date).now();
915
+ return (St.delegate || Date).now();
920
916
  },
921
917
  delegate: void 0
922
- }, Cr = function(e) {
918
+ }, Nr = function(e) {
923
919
  P(t, e);
924
920
  function t(r, n, i) {
925
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wt);
921
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = St);
926
922
  var o = e.call(this) || this;
927
923
  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;
928
924
  }
@@ -942,15 +938,15 @@ var Nr = vt(function(e) {
942
938
  u && o.splice(0, u + 1);
943
939
  }
944
940
  }, t;
945
- }(St);
946
- const Ke = [], et = {}, Lr = (e, t = 0) => {
947
- if (Ke.indexOf(e) == -1) {
948
- const r = new Cr(t);
949
- et[e] = r, Ke.push(e);
941
+ }(Et);
942
+ const qe = [], Ke = {}, Cr = (e, t = 0) => {
943
+ if (qe.indexOf(e) == -1) {
944
+ const r = new Nr(t);
945
+ Ke[e] = r, qe.push(e);
950
946
  }
951
- return et[e];
947
+ return Ke[e];
952
948
  }, $ = [];
953
- function $r(e, t) {
949
+ function Lr(e, t) {
954
950
  return {
955
951
  subscribe: pe(e, t).subscribe
956
952
  };
@@ -959,7 +955,7 @@ function pe(e, t = T) {
959
955
  let r;
960
956
  const n = /* @__PURE__ */ new Set();
961
957
  function i(a) {
962
- if (bt(e, a) && (e = a, r)) {
958
+ if (dt(e, a) && (e = a, r)) {
963
959
  const h = !$.length;
964
960
  for (const u of n)
965
961
  u[1](), $.push(u, e);
@@ -986,7 +982,7 @@ function X(e, t, r) {
986
982
  if (!i.every(Boolean))
987
983
  throw new Error("derived() expects stores as input, got a falsy value");
988
984
  const o = t.length < 2;
989
- return $r(r, (s, a) => {
985
+ return Lr(r, (s, a) => {
990
986
  let h = !1;
991
987
  const u = [];
992
988
  let l = 0, f = T;
@@ -997,7 +993,7 @@ function X(e, t, r) {
997
993
  const g = t(n ? u[0] : u, s, a);
998
994
  o ? s(g) : f = Ge(g) ? g : T;
999
995
  }, d = i.map(
1000
- (g, m) => Qt(
996
+ (g, m) => Zt(
1001
997
  g,
1002
998
  (_) => {
1003
999
  u[m] = _, l &= ~(1 << m), h && c();
@@ -1012,70 +1008,70 @@ function X(e, t, r) {
1012
1008
  };
1013
1009
  });
1014
1010
  }
1015
- function Mr(e) {
1016
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1011
+ function $r(e) {
1012
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1017
1013
  }
1018
- var Rr = function(t) {
1019
- return Ur(t) && !Dr(t);
1014
+ var Mr = function(t) {
1015
+ return Rr(t) && !Ur(t);
1020
1016
  };
1021
- function Ur(e) {
1017
+ function Rr(e) {
1022
1018
  return !!e && typeof e == "object";
1023
1019
  }
1024
- function Dr(e) {
1020
+ function Ur(e) {
1025
1021
  var t = Object.prototype.toString.call(e);
1026
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
1022
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
1027
1023
  }
1028
- var Fr = typeof Symbol == "function" && Symbol.for, Gr = Fr ? Symbol.for("react.element") : 60103;
1029
- function jr(e) {
1030
- return e.$$typeof === Gr;
1024
+ var Dr = typeof Symbol == "function" && Symbol.for, Fr = Dr ? Symbol.for("react.element") : 60103;
1025
+ function Gr(e) {
1026
+ return e.$$typeof === Fr;
1031
1027
  }
1032
- function kr(e) {
1028
+ function jr(e) {
1033
1029
  return Array.isArray(e) ? [] : {};
1034
1030
  }
1035
1031
  function Y(e, t) {
1036
- return t.clone !== !1 && t.isMergeableObject(e) ? F(kr(e), e, t) : e;
1032
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(jr(e), e, t) : e;
1037
1033
  }
1038
- function Vr(e, t, r) {
1034
+ function kr(e, t, r) {
1039
1035
  return e.concat(t).map(function(n) {
1040
1036
  return Y(n, r);
1041
1037
  });
1042
1038
  }
1043
- function Xr(e, t) {
1039
+ function Vr(e, t) {
1044
1040
  if (!t.customMerge)
1045
1041
  return F;
1046
1042
  var r = t.customMerge(e);
1047
1043
  return typeof r == "function" ? r : F;
1048
1044
  }
1049
- function Wr(e) {
1045
+ function Xr(e) {
1050
1046
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1051
1047
  return Object.propertyIsEnumerable.call(e, t);
1052
1048
  }) : [];
1053
1049
  }
1054
- function tt(e) {
1055
- return Object.keys(e).concat(Wr(e));
1050
+ function et(e) {
1051
+ return Object.keys(e).concat(Xr(e));
1056
1052
  }
1057
- function Ht(e, t) {
1053
+ function wt(e, t) {
1058
1054
  try {
1059
1055
  return t in e;
1060
1056
  } catch {
1061
1057
  return !1;
1062
1058
  }
1063
1059
  }
1064
- function zr(e, t) {
1065
- return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1060
+ function Wr(e, t) {
1061
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1066
1062
  }
1067
- function Zr(e, t, r) {
1063
+ function zr(e, t, r) {
1068
1064
  var n = {};
1069
- return r.isMergeableObject(e) && tt(e).forEach(function(i) {
1065
+ return r.isMergeableObject(e) && et(e).forEach(function(i) {
1070
1066
  n[i] = Y(e[i], r);
1071
- }), tt(t).forEach(function(i) {
1072
- zr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1067
+ }), et(t).forEach(function(i) {
1068
+ Wr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1073
1069
  }), n;
1074
1070
  }
1075
1071
  function F(e, t, r) {
1076
- r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = Y;
1072
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = Y;
1077
1073
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1078
- return o ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : Y(t, r);
1074
+ return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : Y(t, r);
1079
1075
  }
1080
1076
  F.all = function(t, r) {
1081
1077
  if (!Array.isArray(t))
@@ -1084,42 +1080,39 @@ F.all = function(t, r) {
1084
1080
  return F(n, i, r);
1085
1081
  }, {});
1086
1082
  };
1087
- var Qr = F, Jr = Qr;
1088
- const Yr = /* @__PURE__ */ Mr(Jr);
1083
+ var Zr = F, Qr = Zr;
1084
+ const Jr = /* @__PURE__ */ $r(Qr);
1089
1085
  function xe(e, t) {
1090
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
1086
+ var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
1091
1087
  return i(e, {
1092
1088
  cache: r,
1093
1089
  serializer: n
1094
1090
  });
1095
1091
  }
1096
- function qr(e) {
1092
+ function Yr(e) {
1097
1093
  return e == null || typeof e == "number" || typeof e == "boolean";
1098
1094
  }
1099
- function Tt(e, t, r, n) {
1100
- var i = qr(n) ? n : r(n), o = t.get(i);
1095
+ function qr(e, t, r, n) {
1096
+ var i = Yr(n) ? n : r(n), o = t.get(i);
1101
1097
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1102
1098
  }
1103
- function Bt(e, t, r) {
1099
+ function Ht(e, t, r) {
1104
1100
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1105
1101
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1106
1102
  }
1107
- function je(e, t, r, n, i) {
1103
+ function Tt(e, t, r, n, i) {
1108
1104
  return r.bind(t, e, n, i);
1109
1105
  }
1110
1106
  function Kr(e, t) {
1111
- var r = e.length === 1 ? Tt : Bt;
1112
- return je(e, this, r, t.cache.create(), t.serializer);
1107
+ var r = e.length === 1 ? qr : Ht;
1108
+ return Tt(e, this, r, t.cache.create(), t.serializer);
1113
1109
  }
1114
1110
  function en(e, t) {
1115
- return je(e, this, Bt, t.cache.create(), t.serializer);
1116
- }
1117
- function tn(e, t) {
1118
- return je(e, this, Tt, t.cache.create(), t.serializer);
1111
+ return Tt(e, this, Ht, t.cache.create(), t.serializer);
1119
1112
  }
1120
- var rn = function() {
1113
+ var tn = function() {
1121
1114
  return JSON.stringify(arguments);
1122
- }, nn = (
1115
+ }, rn = (
1123
1116
  /** @class */
1124
1117
  function() {
1125
1118
  function e() {
@@ -1131,13 +1124,12 @@ var rn = function() {
1131
1124
  this.cache[t] = r;
1132
1125
  }, e;
1133
1126
  }()
1134
- ), on = {
1127
+ ), nn = {
1135
1128
  create: function() {
1136
- return new nn();
1129
+ return new rn();
1137
1130
  }
1138
1131
  }, _e = {
1139
- variadic: en,
1140
- monadic: tn
1132
+ variadic: en
1141
1133
  }, p;
1142
1134
  (function(e) {
1143
1135
  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";
@@ -1150,43 +1142,43 @@ var G;
1150
1142
  (function(e) {
1151
1143
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1152
1144
  })(G || (G = {}));
1153
- function rt(e) {
1145
+ function tt(e) {
1154
1146
  return e.type === x.literal;
1155
1147
  }
1156
- function sn(e) {
1148
+ function on(e) {
1157
1149
  return e.type === x.argument;
1158
1150
  }
1159
- function At(e) {
1151
+ function Bt(e) {
1160
1152
  return e.type === x.number;
1161
1153
  }
1162
- function Pt(e) {
1154
+ function At(e) {
1163
1155
  return e.type === x.date;
1164
1156
  }
1165
- function Ot(e) {
1157
+ function Pt(e) {
1166
1158
  return e.type === x.time;
1167
1159
  }
1168
- function It(e) {
1160
+ function Ot(e) {
1169
1161
  return e.type === x.select;
1170
1162
  }
1171
- function Nt(e) {
1163
+ function It(e) {
1172
1164
  return e.type === x.plural;
1173
1165
  }
1174
- function an(e) {
1166
+ function sn(e) {
1175
1167
  return e.type === x.pound;
1176
1168
  }
1177
- function Ct(e) {
1169
+ function Nt(e) {
1178
1170
  return e.type === x.tag;
1179
1171
  }
1180
- function Lt(e) {
1172
+ function Ct(e) {
1181
1173
  return !!(e && typeof e == "object" && e.type === G.number);
1182
1174
  }
1183
1175
  function Ce(e) {
1184
1176
  return !!(e && typeof e == "object" && e.type === G.dateTime);
1185
1177
  }
1186
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
1187
- function hn(e) {
1178
+ var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
1179
+ function un(e) {
1188
1180
  var t = {};
1189
- return e.replace(un, function(r) {
1181
+ return e.replace(an, function(r) {
1190
1182
  var n = r.length;
1191
1183
  switch (r[0]) {
1192
1184
  case "G":
@@ -1275,11 +1267,11 @@ function hn(e) {
1275
1267
  return "";
1276
1268
  }), t;
1277
1269
  }
1278
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1279
- function fn(e) {
1270
+ var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1271
+ function ln(e) {
1280
1272
  if (e.length === 0)
1281
1273
  throw new Error("Number skeleton cannot be empty");
1282
- for (var t = e.split(ln).filter(function(c) {
1274
+ for (var t = e.split(hn).filter(function(c) {
1283
1275
  return c.length > 0;
1284
1276
  }), r = [], n = 0, i = t; n < i.length; n++) {
1285
1277
  var o = i[n], s = o.split("/");
@@ -1294,17 +1286,17 @@ function fn(e) {
1294
1286
  }
1295
1287
  return r;
1296
1288
  }
1297
- function cn(e) {
1289
+ function fn(e) {
1298
1290
  return e.replace(/^(.*?)-/, "");
1299
1291
  }
1300
- var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
1301
- function it(e) {
1292
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
1293
+ function nt(e) {
1302
1294
  var t = {};
1303
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
1295
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
1304
1296
  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)), "";
1305
1297
  }), t;
1306
1298
  }
1307
- function Ut(e) {
1299
+ function Rt(e) {
1308
1300
  switch (e) {
1309
1301
  case "sign-auto":
1310
1302
  return {
@@ -1344,7 +1336,7 @@ function Ut(e) {
1344
1336
  };
1345
1337
  }
1346
1338
  }
1347
- function pn(e) {
1339
+ function mn(e) {
1348
1340
  var t;
1349
1341
  if (e[0] === "E" && e[1] === "E" ? (t = {
1350
1342
  notation: "engineering"
@@ -1352,17 +1344,17 @@ function pn(e) {
1352
1344
  notation: "scientific"
1353
1345
  }, e = e.slice(1)), t) {
1354
1346
  var r = e.slice(0, 2);
1355
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
1347
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
1356
1348
  throw new Error("Malformed concise eng/scientific notation");
1357
1349
  t.minimumIntegerDigits = e.length;
1358
1350
  }
1359
1351
  return t;
1360
1352
  }
1361
- function ot(e) {
1362
- var t = {}, r = Ut(e);
1353
+ function it(e) {
1354
+ var t = {}, r = Rt(e);
1363
1355
  return r || t;
1364
1356
  }
1365
- function dn(e) {
1357
+ function pn(e) {
1366
1358
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1367
1359
  var i = n[r];
1368
1360
  switch (i.stem) {
@@ -1386,7 +1378,7 @@ function dn(e) {
1386
1378
  continue;
1387
1379
  case "measure-unit":
1388
1380
  case "unit":
1389
- t.style = "unit", t.unit = cn(i.options[0]);
1381
+ t.style = "unit", t.unit = fn(i.options[0]);
1390
1382
  continue;
1391
1383
  case "compact-short":
1392
1384
  case "K":
@@ -1398,12 +1390,12 @@ function dn(e) {
1398
1390
  continue;
1399
1391
  case "scientific":
1400
1392
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1401
- return y(y({}, h), ot(u));
1393
+ return y(y({}, h), it(u));
1402
1394
  }, {}));
1403
1395
  continue;
1404
1396
  case "engineering":
1405
1397
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1406
- return y(y({}, h), ot(u));
1398
+ return y(y({}, h), it(u));
1407
1399
  }, {}));
1408
1400
  continue;
1409
1401
  case "notation-simple":
@@ -1448,7 +1440,7 @@ function dn(e) {
1448
1440
  case "integer-width":
1449
1441
  if (i.options.length > 1)
1450
1442
  throw new RangeError("integer-width stems only accept a single optional option");
1451
- i.options[0].replace(mn, function(h, u, l, f, c, d) {
1443
+ i.options[0].replace(cn, function(h, u, l, f, c, d) {
1452
1444
  if (u)
1453
1445
  t.minimumIntegerDigits = l.length;
1454
1446
  else {
@@ -1461,27 +1453,27 @@ function dn(e) {
1461
1453
  });
1462
1454
  continue;
1463
1455
  }
1464
- if (Rt.test(i.stem)) {
1456
+ if (Mt.test(i.stem)) {
1465
1457
  t.minimumIntegerDigits = i.stem.length;
1466
1458
  continue;
1467
1459
  }
1468
- if (nt.test(i.stem)) {
1460
+ if (rt.test(i.stem)) {
1469
1461
  if (i.options.length > 1)
1470
1462
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1471
- i.stem.replace(nt, function(h, u, l, f, c, d) {
1463
+ i.stem.replace(rt, function(h, u, l, f, c, d) {
1472
1464
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1473
1465
  });
1474
1466
  var o = i.options[0];
1475
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), it(o)));
1467
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), nt(o)));
1476
1468
  continue;
1477
1469
  }
1478
- if (Mt.test(i.stem)) {
1479
- t = y(y({}, t), it(i.stem));
1470
+ if ($t.test(i.stem)) {
1471
+ t = y(y({}, t), nt(i.stem));
1480
1472
  continue;
1481
1473
  }
1482
- var s = Ut(i.stem);
1474
+ var s = Rt(i.stem);
1483
1475
  s && (t = y(y({}, t), s));
1484
- var a = pn(i.stem);
1476
+ var a = mn(i.stem);
1485
1477
  a && (t = y(y({}, t), a));
1486
1478
  }
1487
1479
  return t;
@@ -2901,13 +2893,13 @@ var oe = {
2901
2893
  "h"
2902
2894
  ]
2903
2895
  };
2904
- function bn(e, t) {
2896
+ function dn(e, t) {
2905
2897
  for (var r = "", n = 0; n < e.length; n++) {
2906
2898
  var i = e.charAt(n);
2907
2899
  if (i === "j") {
2908
2900
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2909
2901
  o++, n++;
2910
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = yn(t);
2902
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = bn(t);
2911
2903
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2912
2904
  r += h;
2913
2905
  for (; s-- > 0; )
@@ -2916,7 +2908,7 @@ function bn(e, t) {
2916
2908
  }
2917
2909
  return r;
2918
2910
  }
2919
- function yn(e) {
2911
+ function bn(e) {
2920
2912
  var t = e.hourCycle;
2921
2913
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2922
2914
  e.hourCycles && // @ts-ignore
@@ -2938,20 +2930,20 @@ function yn(e) {
2938
2930
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2939
2931
  return i[0];
2940
2932
  }
2941
- var Ee, gn = new RegExp("^".concat($t.source, "*")), vn = new RegExp("".concat($t.source, "*$"));
2933
+ var Ee, yn = new RegExp("^".concat(Lt.source, "*")), gn = new RegExp("".concat(Lt.source, "*$"));
2942
2934
  function b(e, t) {
2943
2935
  return { start: e, end: t };
2944
2936
  }
2945
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Bn = Tn ? Number.isSafeInteger : function(e) {
2937
+ var vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, _n = !!Object.fromEntries, En = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Tn = Hn ? Number.isSafeInteger : function(e) {
2946
2938
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2947
2939
  }, Le = !0;
2948
2940
  try {
2949
- var An = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2950
- Le = ((Ee = An.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2941
+ var Bn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2942
+ Le = ((Ee = Bn.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2951
2943
  } catch {
2952
2944
  Le = !1;
2953
2945
  }
2954
- var st = xn ? (
2946
+ var ot = vn ? (
2955
2947
  // Native
2956
2948
  function(t, r, n) {
2957
2949
  return t.startsWith(r, n);
@@ -2961,7 +2953,7 @@ var st = xn ? (
2961
2953
  function(t, r, n) {
2962
2954
  return t.slice(n, n + r.length) === r;
2963
2955
  }
2964
- ), $e = _n ? String.fromCodePoint : (
2956
+ ), $e = xn ? String.fromCodePoint : (
2965
2957
  // IE11
2966
2958
  function() {
2967
2959
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2973,9 +2965,9 @@ var st = xn ? (
2973
2965
  }
2974
2966
  return n;
2975
2967
  }
2976
- ), at = (
2968
+ ), st = (
2977
2969
  // native
2978
- En ? Object.fromEntries : (
2970
+ _n ? Object.fromEntries : (
2979
2971
  // Ponyfill
2980
2972
  function(t) {
2981
2973
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2985,7 +2977,7 @@ var st = xn ? (
2985
2977
  return r;
2986
2978
  }
2987
2979
  )
2988
- ), Dt = Sn ? (
2980
+ ), Ut = En ? (
2989
2981
  // Native
2990
2982
  function(t, r) {
2991
2983
  return t.codePointAt(r);
@@ -2999,7 +2991,7 @@ var st = xn ? (
2999
2991
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3000
2992
  }
3001
2993
  }
3002
- ), Pn = wn ? (
2994
+ ), An = Sn ? (
3003
2995
  // Native
3004
2996
  function(t) {
3005
2997
  return t.trimStart();
@@ -3007,9 +2999,9 @@ var st = xn ? (
3007
2999
  ) : (
3008
3000
  // Ponyfill
3009
3001
  function(t) {
3010
- return t.replace(gn, "");
3002
+ return t.replace(yn, "");
3011
3003
  }
3012
- ), On = Hn ? (
3004
+ ), Pn = wn ? (
3013
3005
  // Native
3014
3006
  function(t) {
3015
3007
  return t.trimEnd();
@@ -3017,32 +3009,32 @@ var st = xn ? (
3017
3009
  ) : (
3018
3010
  // Ponyfill
3019
3011
  function(t) {
3020
- return t.replace(vn, "");
3012
+ return t.replace(gn, "");
3021
3013
  }
3022
3014
  );
3023
- function Ft(e, t) {
3015
+ function Dt(e, t) {
3024
3016
  return new RegExp(e, t);
3025
3017
  }
3026
3018
  var Me;
3027
3019
  if (Le) {
3028
- var ut = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3020
+ var at = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
3021
  Me = function(t, r) {
3030
3022
  var n;
3031
- ut.lastIndex = r;
3032
- var i = ut.exec(t);
3023
+ at.lastIndex = r;
3024
+ var i = at.exec(t);
3033
3025
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3034
3026
  };
3035
3027
  } else
3036
3028
  Me = function(t, r) {
3037
3029
  for (var n = []; ; ) {
3038
- var i = Dt(t, r);
3039
- if (i === void 0 || Gt(i) || Ln(i))
3030
+ var i = Ut(t, r);
3031
+ if (i === void 0 || Ft(i) || Cn(i))
3040
3032
  break;
3041
3033
  n.push(i), r += i >= 65536 ? 2 : 1;
3042
3034
  }
3043
3035
  return $e.apply(void 0, n);
3044
3036
  };
3045
- var In = (
3037
+ var On = (
3046
3038
  /** @class */
3047
3039
  function() {
3048
3040
  function e(t, r) {
@@ -3124,7 +3116,7 @@ var In = (
3124
3116
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3125
3117
  }, e.prototype.parseTagName = function() {
3126
3118
  var t = this.offset();
3127
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
3119
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
3128
3120
  this.bump();
3129
3121
  return this.message.slice(t, this.offset());
3130
3122
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3153,7 +3145,7 @@ var In = (
3153
3145
  };
3154
3146
  }, e.prototype.tryParseLeftAngleBracket = function() {
3155
3147
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3156
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
3148
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
3157
3149
  }, e.prototype.tryParseQuote = function(t) {
3158
3150
  if (this.isEOF() || this.char() !== 39)
3159
3151
  return null;
@@ -3240,7 +3232,7 @@ var In = (
3240
3232
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3241
3233
  if (f.err)
3242
3234
  return f;
3243
- var c = On(f.val);
3235
+ var c = Pn(f.val);
3244
3236
  if (c.length === 0)
3245
3237
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3246
3238
  var d = b(l, this.clonePosition());
@@ -3250,8 +3242,8 @@ var In = (
3250
3242
  if (g.err)
3251
3243
  return g;
3252
3244
  var m = b(i, this.clonePosition());
3253
- if (u && st(u?.style, "::", 0)) {
3254
- var _ = Pn(u.style.slice(2));
3245
+ if (u && ot(u?.style, "::", 0)) {
3246
+ var _ = An(u.style.slice(2));
3255
3247
  if (a === "number") {
3256
3248
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3257
3249
  return f.err ? f : {
@@ -3262,12 +3254,12 @@ var In = (
3262
3254
  if (_.length === 0)
3263
3255
  return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
3264
3256
  var v = _;
3265
- this.locale && (v = bn(_, this.locale));
3257
+ this.locale && (v = dn(_, this.locale));
3266
3258
  var c = {
3267
3259
  type: G.dateTime,
3268
3260
  pattern: v,
3269
3261
  location: u.styleLocation,
3270
- parsedOptions: this.shouldParseSkeletons ? hn(v) : {}
3262
+ parsedOptions: this.shouldParseSkeletons ? un(v) : {}
3271
3263
  }, H = a === "date" ? x.date : x.time;
3272
3264
  return {
3273
3265
  val: { type: H, value: n, location: m, style: c },
@@ -3308,23 +3300,23 @@ var In = (
3308
3300
  var g = this.tryParseArgumentClose(i);
3309
3301
  if (g.err)
3310
3302
  return g;
3311
- var Xe = b(i, this.clonePosition());
3303
+ var Ve = b(i, this.clonePosition());
3312
3304
  return a === "select" ? {
3313
3305
  val: {
3314
3306
  type: x.select,
3315
3307
  value: n,
3316
- options: at(ne.val),
3317
- location: Xe
3308
+ options: st(ne.val),
3309
+ location: Ve
3318
3310
  },
3319
3311
  err: null
3320
3312
  } : {
3321
3313
  val: {
3322
3314
  type: x.plural,
3323
3315
  value: n,
3324
- options: at(ne.val),
3316
+ options: st(ne.val),
3325
3317
  offset: I,
3326
3318
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3327
- location: Xe
3319
+ location: Ve
3328
3320
  },
3329
3321
  err: null
3330
3322
  };
@@ -3372,7 +3364,7 @@ var In = (
3372
3364
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3373
3365
  var n = [];
3374
3366
  try {
3375
- n = fn(t);
3367
+ n = ln(t);
3376
3368
  } catch {
3377
3369
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3378
3370
  }
@@ -3381,7 +3373,7 @@ var In = (
3381
3373
  type: G.number,
3382
3374
  tokens: n,
3383
3375
  location: r,
3384
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3376
+ parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3385
3377
  },
3386
3378
  err: null
3387
3379
  };
@@ -3429,7 +3421,7 @@ var In = (
3429
3421
  break;
3430
3422
  }
3431
3423
  var h = b(i, this.clonePosition());
3432
- return o ? (s *= n, Bn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3424
+ return o ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3433
3425
  }, e.prototype.offset = function() {
3434
3426
  return this.position.offset;
3435
3427
  }, e.prototype.isEOF = function() {
@@ -3444,7 +3436,7 @@ var In = (
3444
3436
  var t = this.position.offset;
3445
3437
  if (t >= this.message.length)
3446
3438
  throw Error("out of bound");
3447
- var r = Dt(this.message, t);
3439
+ var r = Ut(this.message, t);
3448
3440
  if (r === void 0)
3449
3441
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3450
3442
  return r;
@@ -3463,7 +3455,7 @@ var In = (
3463
3455
  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);
3464
3456
  }
3465
3457
  }, e.prototype.bumpIf = function(t) {
3466
- if (st(this.message, t, this.offset())) {
3458
+ if (ot(this.message, t, this.offset())) {
3467
3459
  for (var r = 0; r < t.length; r++)
3468
3460
  this.bump();
3469
3461
  return !0;
@@ -3485,7 +3477,7 @@ var In = (
3485
3477
  break;
3486
3478
  }
3487
3479
  }, e.prototype.bumpSpace = function() {
3488
- for (; !this.isEOF() && Gt(this.char()); )
3480
+ for (; !this.isEOF() && Ft(this.char()); )
3489
3481
  this.bump();
3490
3482
  }, e.prototype.peek = function() {
3491
3483
  if (this.isEOF())
@@ -3498,29 +3490,29 @@ var In = (
3498
3490
  function Re(e) {
3499
3491
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3500
3492
  }
3501
- function Nn(e) {
3493
+ function In(e) {
3502
3494
  return Re(e) || e === 47;
3503
3495
  }
3504
- function Cn(e) {
3496
+ function Nn(e) {
3505
3497
  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;
3506
3498
  }
3507
- function Gt(e) {
3499
+ function Ft(e) {
3508
3500
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3509
3501
  }
3510
- function Ln(e) {
3502
+ function Cn(e) {
3511
3503
  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;
3512
3504
  }
3513
3505
  function Ue(e) {
3514
3506
  e.forEach(function(t) {
3515
- if (delete t.location, It(t) || Nt(t))
3507
+ if (delete t.location, Ot(t) || It(t))
3516
3508
  for (var r in t.options)
3517
3509
  delete t.options[r].location, Ue(t.options[r].value);
3518
- else At(t) && Lt(t.style) || (Pt(t) || Ot(t)) && Ce(t.style) ? delete t.style.location : Ct(t) && Ue(t.children);
3510
+ else Bt(t) && Ct(t.style) || (At(t) || Pt(t)) && Ce(t.style) ? delete t.style.location : Nt(t) && Ue(t.children);
3519
3511
  });
3520
3512
  }
3521
- function $n(e, t) {
3513
+ function Ln(e, t) {
3522
3514
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3523
- var r = new In(e, t).parse();
3515
+ var r = new On(e, t).parse();
3524
3516
  if (r.err) {
3525
3517
  var n = SyntaxError(p[r.err.kind]);
3526
3518
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3543,7 +3535,7 @@ var de = (
3543
3535
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3544
3536
  }, t;
3545
3537
  }(Error)
3546
- ), ht = (
3538
+ ), ut = (
3547
3539
  /** @class */
3548
3540
  function(e) {
3549
3541
  P(t, e);
@@ -3552,7 +3544,7 @@ var de = (
3552
3544
  }
3553
3545
  return t;
3554
3546
  }(de)
3555
- ), Mn = (
3547
+ ), $n = (
3556
3548
  /** @class */
3557
3549
  function(e) {
3558
3550
  P(t, e);
@@ -3561,7 +3553,7 @@ var de = (
3561
3553
  }
3562
3554
  return t;
3563
3555
  }(de)
3564
- ), Rn = (
3556
+ ), Mn = (
3565
3557
  /** @class */
3566
3558
  function(e) {
3567
3559
  P(t, e);
@@ -3574,17 +3566,17 @@ var de = (
3574
3566
  (function(e) {
3575
3567
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3576
3568
  })(w || (w = {}));
3577
- function Un(e) {
3569
+ function Rn(e) {
3578
3570
  return e.length < 2 ? e : e.reduce(function(t, r) {
3579
3571
  var n = t[t.length - 1];
3580
3572
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3581
3573
  }, []);
3582
3574
  }
3583
- function Dn(e) {
3575
+ function Un(e) {
3584
3576
  return typeof e == "function";
3585
3577
  }
3586
3578
  function ue(e, t, r, n, i, o, s) {
3587
- if (e.length === 1 && rt(e[0]))
3579
+ if (e.length === 1 && tt(e[0]))
3588
3580
  return [
3589
3581
  {
3590
3582
  type: w.literal,
@@ -3593,14 +3585,14 @@ function ue(e, t, r, n, i, o, s) {
3593
3585
  ];
3594
3586
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3595
3587
  var l = u[h];
3596
- if (rt(l)) {
3588
+ if (tt(l)) {
3597
3589
  a.push({
3598
3590
  type: w.literal,
3599
3591
  value: l.value
3600
3592
  });
3601
3593
  continue;
3602
3594
  }
3603
- if (an(l)) {
3595
+ if (sn(l)) {
3604
3596
  typeof o == "number" && a.push({
3605
3597
  type: w.literal,
3606
3598
  value: r.getNumberFormat(t).format(o)
@@ -3609,16 +3601,16 @@ function ue(e, t, r, n, i, o, s) {
3609
3601
  }
3610
3602
  var f = l.value;
3611
3603
  if (!(i && f in i))
3612
- throw new Rn(f, s);
3604
+ throw new Mn(f, s);
3613
3605
  var c = i[f];
3614
- if (sn(l)) {
3606
+ if (on(l)) {
3615
3607
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3616
3608
  type: typeof c == "string" ? w.literal : w.object,
3617
3609
  value: c
3618
3610
  });
3619
3611
  continue;
3620
3612
  }
3621
- if (Pt(l)) {
3613
+ if (At(l)) {
3622
3614
  var d = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
3623
3615
  a.push({
3624
3616
  type: w.literal,
@@ -3626,7 +3618,7 @@ function ue(e, t, r, n, i, o, s) {
3626
3618
  });
3627
3619
  continue;
3628
3620
  }
3629
- if (Ot(l)) {
3621
+ if (Pt(l)) {
3630
3622
  var d = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
3631
3623
  a.push({
3632
3624
  type: w.literal,
@@ -3634,18 +3626,18 @@ function ue(e, t, r, n, i, o, s) {
3634
3626
  });
3635
3627
  continue;
3636
3628
  }
3637
- if (At(l)) {
3638
- var d = typeof l.style == "string" ? n.number[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
3629
+ if (Bt(l)) {
3630
+ var d = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
3639
3631
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3640
3632
  type: w.literal,
3641
3633
  value: r.getNumberFormat(t, d).format(c)
3642
3634
  });
3643
3635
  continue;
3644
3636
  }
3645
- if (Ct(l)) {
3637
+ if (Nt(l)) {
3646
3638
  var g = l.children, m = l.value, _ = i[m];
3647
- if (!Dn(_))
3648
- throw new Mn(m, "function", s);
3639
+ if (!Un(_))
3640
+ throw new $n(m, "function", s);
3649
3641
  var v = ue(g, t, r, n, i, o), H = _(v.map(function(I) {
3650
3642
  return I.value;
3651
3643
  }));
@@ -3656,14 +3648,14 @@ function ue(e, t, r, n, i, o, s) {
3656
3648
  };
3657
3649
  }));
3658
3650
  }
3659
- if (It(l)) {
3651
+ if (Ot(l)) {
3660
3652
  var S = l.options[c] || l.options.other;
3661
3653
  if (!S)
3662
- throw new ht(l.value, c, Object.keys(l.options), s);
3654
+ throw new ut(l.value, c, Object.keys(l.options), s);
3663
3655
  a.push.apply(a, ue(S.value, t, r, n, i));
3664
3656
  continue;
3665
3657
  }
3666
- if (Nt(l)) {
3658
+ if (It(l)) {
3667
3659
  var S = l.options["=".concat(c)];
3668
3660
  if (!S) {
3669
3661
  if (!Intl.PluralRules)
@@ -3674,21 +3666,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3674
3666
  S = l.options[z] || l.options.other;
3675
3667
  }
3676
3668
  if (!S)
3677
- throw new ht(l.value, c, Object.keys(l.options), s);
3669
+ throw new ut(l.value, c, Object.keys(l.options), s);
3678
3670
  a.push.apply(a, ue(S.value, t, r, n, i, c - (l.offset || 0)));
3679
3671
  continue;
3680
3672
  }
3681
3673
  }
3682
- return Un(a);
3674
+ return Rn(a);
3683
3675
  }
3684
- function Fn(e, t) {
3676
+ function Dn(e, t) {
3685
3677
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3686
3678
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3687
3679
  }, {})) : e;
3688
3680
  }
3689
- function Gn(e, t) {
3681
+ function Fn(e, t) {
3690
3682
  return t ? Object.keys(e).reduce(function(r, n) {
3691
- return r[n] = Fn(e[n], t[n]), r;
3683
+ return r[n] = Dn(e[n], t[n]), r;
3692
3684
  }, y({}, e)) : e;
3693
3685
  }
3694
3686
  function Se(e) {
@@ -3705,7 +3697,7 @@ function Se(e) {
3705
3697
  }
3706
3698
  };
3707
3699
  }
3708
- function jn(e) {
3700
+ function Gn(e) {
3709
3701
  return e === void 0 && (e = {
3710
3702
  number: {},
3711
3703
  dateTime: {},
@@ -3737,7 +3729,7 @@ function jn(e) {
3737
3729
  })
3738
3730
  };
3739
3731
  }
3740
- var kn = (
3732
+ var jn = (
3741
3733
  /** @class */
3742
3734
  function() {
3743
3735
  function e(t, r, n, i) {
@@ -3769,13 +3761,13 @@ var kn = (
3769
3761
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3770
3762
  var s = i || {};
3771
3763
  s.formatters;
3772
- var a = xr(s, ["formatters"]);
3764
+ var a = vr(s, ["formatters"]);
3773
3765
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3774
3766
  } else
3775
3767
  this.ast = t;
3776
3768
  if (!Array.isArray(this.ast))
3777
3769
  throw new TypeError("A message must be provided as a String or AST.");
3778
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3770
+ this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3779
3771
  }
3780
3772
  return Object.defineProperty(e, "defaultLocale", {
3781
3773
  get: function() {
@@ -3788,7 +3780,7 @@ var kn = (
3788
3780
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3789
3781
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3790
3782
  }
3791
- }, e.__parse = $n, e.formats = {
3783
+ }, e.__parse = Ln, e.formats = {
3792
3784
  number: {
3793
3785
  integer: {
3794
3786
  maximumFractionDigits: 0
@@ -3849,7 +3841,7 @@ var kn = (
3849
3841
  }, e;
3850
3842
  }()
3851
3843
  );
3852
- function Vn(e, t) {
3844
+ function kn(e, t) {
3853
3845
  if (t == null)
3854
3846
  return;
3855
3847
  if (t in e)
@@ -3870,60 +3862,60 @@ function Vn(e, t) {
3870
3862
  n = void 0;
3871
3863
  return n;
3872
3864
  }
3873
- const O = {}, Xn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), jt = (e, t) => {
3865
+ const O = {}, Vn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Gt = (e, t) => {
3874
3866
  if (t == null)
3875
3867
  return;
3876
3868
  if (t in O && e in O[t])
3877
3869
  return O[t][e];
3878
3870
  const r = be(t);
3879
3871
  for (let n = 0; n < r.length; n++) {
3880
- const i = r[n], o = zn(i, e);
3872
+ const i = r[n], o = Wn(i, e);
3881
3873
  if (o)
3882
- return Xn(e, t, o);
3874
+ return Vn(e, t, o);
3883
3875
  }
3884
3876
  };
3885
- let ke;
3877
+ let je;
3886
3878
  const te = pe({});
3887
- function Wn(e) {
3888
- return ke[e] || null;
3879
+ function Xn(e) {
3880
+ return je[e] || null;
3889
3881
  }
3890
- function kt(e) {
3891
- return e in ke;
3882
+ function jt(e) {
3883
+ return e in je;
3892
3884
  }
3893
- function zn(e, t) {
3894
- if (!kt(e))
3885
+ function Wn(e, t) {
3886
+ if (!jt(e))
3895
3887
  return null;
3896
- const r = Wn(e);
3897
- return Vn(r, t);
3888
+ const r = Xn(e);
3889
+ return kn(r, t);
3898
3890
  }
3899
- function Zn(e) {
3891
+ function zn(e) {
3900
3892
  if (e == null)
3901
3893
  return;
3902
3894
  const t = be(e);
3903
3895
  for (let r = 0; r < t.length; r++) {
3904
3896
  const n = t[r];
3905
- if (kt(n))
3897
+ if (jt(n))
3906
3898
  return n;
3907
3899
  }
3908
3900
  }
3909
- function Qn(e, ...t) {
3910
- delete O[e], te.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3901
+ function Zn(e, ...t) {
3902
+ delete O[e], te.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3911
3903
  }
3912
3904
  X(
3913
3905
  [te],
3914
3906
  ([e]) => Object.keys(e)
3915
3907
  );
3916
- te.subscribe((e) => ke = e);
3908
+ te.subscribe((e) => je = e);
3917
3909
  const he = {};
3918
- function Jn(e, t) {
3910
+ function Qn(e, t) {
3919
3911
  he[e].delete(t), he[e].size === 0 && delete he[e];
3920
3912
  }
3921
- function Vt(e) {
3913
+ function kt(e) {
3922
3914
  return he[e];
3923
3915
  }
3924
- function Yn(e) {
3916
+ function Jn(e) {
3925
3917
  return be(e).map((t) => {
3926
- const r = Vt(t);
3918
+ const r = kt(t);
3927
3919
  return [t, r ? [...r] : []];
3928
3920
  }).filter(([, t]) => t.length > 0);
3929
3921
  }
@@ -3931,31 +3923,31 @@ function De(e) {
3931
3923
  return e == null ? !1 : be(e).some(
3932
3924
  (t) => {
3933
3925
  var r;
3934
- return (r = Vt(t)) == null ? void 0 : r.size;
3926
+ return (r = kt(t)) == null ? void 0 : r.size;
3935
3927
  }
3936
3928
  );
3937
3929
  }
3938
- function qn(e, t) {
3930
+ function Yn(e, t) {
3939
3931
  return Promise.all(
3940
- t.map((n) => (Jn(e, n), n().then((i) => i.default || i)))
3941
- ).then((n) => Qn(e, ...n));
3932
+ t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3933
+ ).then((n) => Zn(e, ...n));
3942
3934
  }
3943
3935
  const Z = {};
3944
- function Xt(e) {
3936
+ function Vt(e) {
3945
3937
  if (!De(e))
3946
3938
  return e in Z ? Z[e] : Promise.resolve();
3947
- const t = Yn(e);
3939
+ const t = Jn(e);
3948
3940
  return Z[e] = Promise.all(
3949
3941
  t.map(
3950
- ([r, n]) => qn(r, n)
3942
+ ([r, n]) => Yn(r, n)
3951
3943
  )
3952
3944
  ).then(() => {
3953
3945
  if (De(e))
3954
- return Xt(e);
3946
+ return Vt(e);
3955
3947
  delete Z[e];
3956
3948
  }), Z[e];
3957
3949
  }
3958
- const Kn = {
3950
+ const qn = {
3959
3951
  number: {
3960
3952
  scientific: { notation: "scientific" },
3961
3953
  engineering: { notation: "engineering" },
@@ -3984,34 +3976,34 @@ const Kn = {
3984
3976
  timeZoneName: "short"
3985
3977
  }
3986
3978
  }
3987
- }, ei = {
3979
+ }, Kn = {
3988
3980
  fallbackLocale: null,
3989
3981
  loadingDelay: 200,
3990
- formats: Kn,
3982
+ formats: qn,
3991
3983
  warnOnMissingMessages: !0,
3992
3984
  handleMissingMessage: void 0,
3993
3985
  ignoreTag: !0
3994
- }, ti = ei;
3986
+ }, ei = Kn;
3995
3987
  function k() {
3996
- return ti;
3988
+ return ei;
3997
3989
  }
3998
3990
  const we = pe(!1);
3999
- var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
4000
- for (var r in t)
4001
- oi.call(t, r) && ft(e, r, t[r]);
4002
- if (lt)
4003
- for (var r of lt(t))
4004
- si.call(t, r) && ft(e, r, t[r]);
3991
+ var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3992
+ for (var r in t || (t = {}))
3993
+ ii.call(t, r) && lt(e, r, t[r]);
3994
+ if (ht)
3995
+ for (var r of ht(t))
3996
+ oi.call(t, r) && lt(e, r, t[r]);
4005
3997
  return e;
4006
- }, ui = (e, t) => ni(e, ii(t));
3998
+ }, ai = (e, t) => ri(e, ni(t));
4007
3999
  let Fe;
4008
4000
  const fe = pe(null);
4009
- function ct(e) {
4001
+ function ft(e) {
4010
4002
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4011
4003
  }
4012
4004
  function be(e, t = k().fallbackLocale) {
4013
- const r = ct(e);
4014
- return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
4005
+ const r = ft(e);
4006
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
4015
4007
  }
4016
4008
  function C() {
4017
4009
  return Fe ?? void 0;
@@ -4019,22 +4011,22 @@ function C() {
4019
4011
  fe.subscribe((e) => {
4020
4012
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4021
4013
  });
4022
- const hi = (e) => {
4023
- if (e && Zn(e) && De(e)) {
4014
+ const ui = (e) => {
4015
+ if (e && zn(e) && De(e)) {
4024
4016
  const { loadingDelay: t } = k();
4025
4017
  let r;
4026
4018
  return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4027
4019
  () => we.set(!0),
4028
4020
  t
4029
- ) : we.set(!0), Xt(e).then(() => {
4021
+ ) : we.set(!0), Vt(e).then(() => {
4030
4022
  fe.set(e);
4031
4023
  }).finally(() => {
4032
4024
  clearTimeout(r), we.set(!1);
4033
4025
  });
4034
4026
  }
4035
4027
  return fe.set(e);
4036
- }, re = ui(ai({}, fe), {
4037
- set: hi
4028
+ }, re = ai(si({}, fe), {
4029
+ set: ui
4038
4030
  }), ye = (e) => {
4039
4031
  const t = /* @__PURE__ */ Object.create(null);
4040
4032
  return (n) => {
@@ -4042,20 +4034,20 @@ const hi = (e) => {
4042
4034
  return i in t ? t[i] : t[i] = e(n);
4043
4035
  };
4044
4036
  };
4045
- var li = Object.defineProperty, ce = Object.getOwnPropertySymbols, Wt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
4037
+ var hi = Object.defineProperty, ce = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
4046
4038
  for (var r in t || (t = {}))
4047
- Wt.call(t, r) && mt(e, r, t[r]);
4039
+ Xt.call(t, r) && ct(e, r, t[r]);
4048
4040
  if (ce)
4049
4041
  for (var r of ce(t))
4050
- zt.call(t, r) && mt(e, r, t[r]);
4042
+ Wt.call(t, r) && ct(e, r, t[r]);
4051
4043
  return e;
4052
4044
  }, W = (e, t) => {
4053
4045
  var r = {};
4054
4046
  for (var n in e)
4055
- Wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4047
+ Xt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4056
4048
  if (e != null && ce)
4057
4049
  for (var n of ce(e))
4058
- t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
4050
+ t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
4059
4051
  return r;
4060
4052
  };
4061
4053
  const q = (e, t) => {
@@ -4063,21 +4055,21 @@ const q = (e, t) => {
4063
4055
  if (e in r && t in r[e])
4064
4056
  return r[e][t];
4065
4057
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4066
- }, fi = ye(
4058
+ }, li = ye(
4067
4059
  (e) => {
4068
4060
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4069
4061
  if (r == null)
4070
4062
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4071
4063
  return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4072
4064
  }
4073
- ), ci = ye(
4065
+ ), fi = ye(
4074
4066
  (e) => {
4075
4067
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4076
4068
  if (r == null)
4077
4069
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4078
4070
  return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4079
4071
  }
4080
- ), mi = ye(
4072
+ ), ci = ye(
4081
4073
  (e) => {
4082
4074
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4083
4075
  if (r == null)
@@ -4086,33 +4078,33 @@ const q = (e, t) => {
4086
4078
  );
4087
4079
  return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4088
4080
  }
4089
- ), pi = (e = {}) => {
4081
+ ), mi = (e = {}) => {
4090
4082
  var t = e, {
4091
4083
  locale: r = C()
4092
4084
  } = t, n = W(t, [
4093
4085
  "locale"
4094
4086
  ]);
4095
- return fi(Ve({ locale: r }, n));
4096
- }, di = (e = {}) => {
4087
+ return li(ke({ locale: r }, n));
4088
+ }, pi = (e = {}) => {
4097
4089
  var t = e, {
4098
4090
  locale: r = C()
4099
4091
  } = t, n = W(t, [
4100
4092
  "locale"
4101
4093
  ]);
4102
- return ci(Ve({ locale: r }, n));
4103
- }, bi = (e = {}) => {
4094
+ return fi(ke({ locale: r }, n));
4095
+ }, di = (e = {}) => {
4104
4096
  var t = e, {
4105
4097
  locale: r = C()
4106
4098
  } = t, n = W(t, [
4107
4099
  "locale"
4108
4100
  ]);
4109
- return mi(Ve({ locale: r }, n));
4110
- }, yi = ye(
4101
+ return ci(ke({ locale: r }, n));
4102
+ }, bi = ye(
4111
4103
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4112
- (e, t = C()) => new kn(e, t, k().formats, {
4104
+ (e, t = C()) => new jn(e, t, k().formats, {
4113
4105
  ignoreTag: k().ignoreTag
4114
4106
  })
4115
- ), gi = (e, t = {}) => {
4107
+ ), yi = (e, t = {}) => {
4116
4108
  var r, n, i, o;
4117
4109
  let s = t;
4118
4110
  typeof e == "object" && (s = e, e = s.id);
@@ -4125,7 +4117,7 @@ const q = (e, t) => {
4125
4117
  throw new Error(
4126
4118
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4127
4119
  );
4128
- let l = jt(e, h);
4120
+ let l = Gt(e, h);
4129
4121
  if (!l)
4130
4122
  l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4131
4123
  else if (typeof l != "string")
@@ -4136,7 +4128,7 @@ const q = (e, t) => {
4136
4128
  return l;
4137
4129
  let f = l;
4138
4130
  try {
4139
- f = yi(l, h).format(a);
4131
+ f = bi(l, h).format(a);
4140
4132
  } catch (c) {
4141
4133
  c instanceof Error && console.warn(
4142
4134
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4144,35 +4136,35 @@ const q = (e, t) => {
4144
4136
  );
4145
4137
  }
4146
4138
  return f;
4147
- }, vi = (e, t) => bi(t).format(e), xi = (e, t) => di(t).format(e), _i = (e, t) => pi(t).format(e), Ei = (e, t = C()) => jt(e, t);
4148
- X([re, te], () => gi);
4139
+ }, gi = (e, t) => di(t).format(e), vi = (e, t) => pi(t).format(e), xi = (e, t) => mi(t).format(e), _i = (e, t = C()) => Gt(e, t);
4140
+ X([re, te], () => yi);
4141
+ X([re], () => gi);
4149
4142
  X([re], () => vi);
4150
4143
  X([re], () => xi);
4151
- X([re], () => _i);
4152
- X([re, te], () => Ei);
4153
- window.emWidgets = { topic: Lr };
4154
- const Si = (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));
4155
- function wi(e) {
4156
- Jt(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4144
+ X([re, te], () => _i);
4145
+ window.emWidgets = { topic: Cr };
4146
+ const Ei = (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));
4147
+ function Si(e) {
4148
+ Qt(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4157
4149
  }
4158
- function pt(e) {
4150
+ function mt(e) {
4159
4151
  let t, r, n, i, o, s, a, h, u, l, f, c;
4160
4152
  function d(_, v) {
4161
4153
  return (
4162
4154
  /*isLoading*/
4163
- _[3] ? Ti : Hi
4155
+ _[3] ? Hi : wi
4164
4156
  );
4165
4157
  }
4166
4158
  let g = d(e), m = g(e);
4167
4159
  return {
4168
4160
  c() {
4169
- t = D("button"), r = D("small"), m.c(), n = Kt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4161
+ t = D("button"), r = D("small"), m.c(), n = qt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4170
4162
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4171
4163
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4172
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), nr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4164
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), rr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4173
4165
  },
4174
4166
  m(_, v) {
4175
- ee(_, t, v), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = er(
4167
+ ee(_, t, v), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = Kt(
4176
4168
  t,
4177
4169
  "click",
4178
4170
  /*click_handler*/
@@ -4187,11 +4179,11 @@ function pt(e) {
4187
4179
  }
4188
4180
  };
4189
4181
  }
4190
- function Hi(e) {
4182
+ function wi(e) {
4191
4183
  let t;
4192
4184
  return {
4193
4185
  c() {
4194
- t = yt(
4186
+ t = bt(
4195
4187
  /*betNumber*/
4196
4188
  e[1]
4197
4189
  );
@@ -4201,7 +4193,7 @@ function Hi(e) {
4201
4193
  },
4202
4194
  p(r, n) {
4203
4195
  n & /*betNumber*/
4204
- 2 && rr(
4196
+ 2 && tr(
4205
4197
  t,
4206
4198
  /*betNumber*/
4207
4199
  r[1]
@@ -4212,7 +4204,7 @@ function Hi(e) {
4212
4204
  }
4213
4205
  };
4214
4206
  }
4215
- function Ti(e) {
4207
+ function Hi(e) {
4216
4208
  let t;
4217
4209
  return {
4218
4210
  c() {
@@ -4227,11 +4219,11 @@ function Ti(e) {
4227
4219
  }
4228
4220
  };
4229
4221
  }
4230
- function Bi(e) {
4222
+ function Ti(e) {
4231
4223
  let t, r = (
4232
4224
  /*mobileView*/
4233
4225
  e[2] && /*betNumber*/
4234
- e[1] > 0 && pt(e)
4226
+ e[1] > 0 && mt(e)
4235
4227
  );
4236
4228
  return {
4237
4229
  c() {
@@ -4243,7 +4235,7 @@ function Bi(e) {
4243
4235
  p(n, [i]) {
4244
4236
  /*mobileView*/
4245
4237
  n[2] && /*betNumber*/
4246
- n[1] > 0 ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4238
+ n[1] > 0 ? r ? r.p(n, i) : (r = mt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4247
4239
  },
4248
4240
  i: T,
4249
4241
  o: T,
@@ -4252,7 +4244,7 @@ function Bi(e) {
4252
4244
  }
4253
4245
  };
4254
4246
  }
4255
- function Ai(e, t, r) {
4247
+ function Bi(e, t, r) {
4256
4248
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent, a = null, h = !1, u = !0;
4257
4249
  const l = () => {
4258
4250
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
@@ -4288,7 +4280,7 @@ function Ai(e, t, r) {
4288
4280
  );
4289
4281
  });
4290
4282
  };
4291
- sr(() => (l(), window.addEventListener("message", c, !1), Si(s) && r(2, h = !0), () => {
4283
+ or(() => (l(), window.addEventListener("message", c, !1), Ei(s) && r(2, h = !0), () => {
4292
4284
  window.removeEventListener("message", c);
4293
4285
  }));
4294
4286
  const m = (v) => f("betslipClick", {});
@@ -4315,9 +4307,9 @@ function Ai(e, t, r) {
4315
4307
  _
4316
4308
  ];
4317
4309
  }
4318
- class Pi extends gr {
4310
+ class Ai extends yr {
4319
4311
  constructor(t) {
4320
- super(), br(this, t, Ai, Bi, bt, { clientstyling: 5, clientstylingurl: 6 }, wi);
4312
+ super(), dr(this, t, Bi, Ti, dt, { clientstyling: 5, clientstylingurl: 6 }, Si);
4321
4313
  }
4322
4314
  get clientstyling() {
4323
4315
  return this.$$.ctx[5];
@@ -4332,7 +4324,7 @@ class Pi extends gr {
4332
4324
  this.$$set({ clientstylingurl: t }), le();
4333
4325
  }
4334
4326
  }
4335
- yr(Pi, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4327
+ br(Ai, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4336
4328
  export {
4337
- Pi as C
4329
+ Ai as C
4338
4330
  };