@everymatrix/casino-betslip-indicator 1.74.3 → 1.74.4

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,17 +1,17 @@
1
- var er = Object.defineProperty, tr = Object.defineProperties;
2
- var rr = Object.getOwnPropertyDescriptors;
3
- var Ze = Object.getOwnPropertySymbols;
4
- var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
5
- var ve = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
1
+ var nr = Object.defineProperty, ir = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
+ var ve = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- nr.call(t, r) && ve(e, r, t[r]);
8
- if (Ze)
9
- for (var r of Ze(t))
10
- ir.call(t, r) && ve(e, r, t[r]);
7
+ sr.call(t, r) && ve(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ ar.call(t, r) && ve(e, r, t[r]);
11
11
  return e;
12
- }, Je = (e, t) => tr(e, rr(t));
12
+ }, qe = (e, t) => ir(e, or(t));
13
13
  var w = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var Ye = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function H() {
31
31
  }
32
- function _t(e) {
32
+ function St(e) {
33
33
  return e();
34
34
  }
35
- function qe() {
35
+ function et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function te(e) {
39
- e.forEach(_t);
39
+ e.forEach(St);
40
40
  }
41
- function ke(e) {
41
+ function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Et(e, t) {
44
+ function wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function or(e) {
47
+ function ur(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function sr(e, ...t) {
50
+ function hr(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -59,14 +59,14 @@ function sr(e, ...t) {
59
59
  function B(e, t) {
60
60
  e.appendChild(t);
61
61
  }
62
- function ar(e, t, r) {
63
- const n = ur(e);
62
+ function lr(e, t, r) {
63
+ const n = cr(e);
64
64
  if (!n.getElementById(t)) {
65
65
  const i = F("style");
66
- i.id = t, i.textContent = r, hr(n, i);
66
+ i.id = t, i.textContent = r, fr(n, i);
67
67
  }
68
68
  }
69
- function ur(e) {
69
+ function cr(e) {
70
70
  if (!e)
71
71
  return document;
72
72
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -76,7 +76,7 @@ function ur(e) {
76
76
  t
77
77
  ) : e.ownerDocument;
78
78
  }
79
- function hr(e, t) {
79
+ function fr(e, t) {
80
80
  return B(
81
81
  /** @type {Document} */
82
82
  e.head || e,
@@ -92,32 +92,32 @@ function X(e) {
92
92
  function F(e) {
93
93
  return document.createElement(e);
94
94
  }
95
- function C(e) {
95
+ function N(e) {
96
96
  return document.createElementNS("http://www.w3.org/2000/svg", e);
97
97
  }
98
- function St(e) {
98
+ function Ht(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function lr() {
102
- return St(" ");
101
+ function mr() {
102
+ return Ht(" ");
103
103
  }
104
- function fr(e, t, r, n) {
104
+ function pr(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
106
106
  }
107
107
  function _(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function cr(e) {
110
+ function dr(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
- function mr(e, t) {
113
+ function br(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function pr(e, t, r, n) {
117
+ function yr(e, t, r, n) {
118
118
  e.style.setProperty(t, r, "");
119
119
  }
120
- function dr(e) {
120
+ function gr(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,22 +130,22 @@ let q;
130
130
  function J(e) {
131
131
  q = e;
132
132
  }
133
- function br() {
133
+ function vr() {
134
134
  if (!q)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return q;
137
137
  }
138
- function yr(e) {
139
- br().$$.on_mount.push(e);
138
+ function xr(e) {
139
+ vr().$$.on_mount.push(e);
140
140
  }
141
- const R = [], Be = [];
141
+ const R = [], Ae = [];
142
142
  let U = [];
143
- const Ke = [], gr = /* @__PURE__ */ Promise.resolve();
144
- let Ae = !1;
145
- function vr() {
146
- Ae || (Ae = !0, gr.then(Y));
143
+ const tt = [], _r = /* @__PURE__ */ Promise.resolve();
144
+ let Pe = !1;
145
+ function Er() {
146
+ Pe || (Pe = !0, _r.then(Y));
147
147
  }
148
- function Pe(e) {
148
+ function Oe(e) {
149
149
  U.push(e);
150
150
  }
151
151
  const xe = /* @__PURE__ */ new Set();
@@ -158,53 +158,53 @@ function Y() {
158
158
  try {
159
159
  for (; M < R.length; ) {
160
160
  const t = R[M];
161
- M++, J(t), xr(t.$$);
161
+ M++, J(t), Sr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw R.length = 0, M = 0, t;
165
165
  }
166
- for (J(null), R.length = 0, M = 0; Be.length; )
167
- Be.pop()();
166
+ for (J(null), R.length = 0, M = 0; Ae.length; )
167
+ Ae.pop()();
168
168
  for (let t = 0; t < U.length; t += 1) {
169
169
  const r = U[t];
170
170
  xe.has(r) || (xe.add(r), r());
171
171
  }
172
172
  U.length = 0;
173
173
  } while (R.length);
174
- for (; Ke.length; )
175
- Ke.pop()();
176
- Ae = !1, xe.clear(), J(e);
174
+ for (; tt.length; )
175
+ tt.pop()();
176
+ Pe = !1, xe.clear(), J(e);
177
177
  }
178
- function xr(e) {
178
+ function Sr(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), te(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
183
183
  }
184
184
  }
185
- function _r(e) {
185
+ function wr(e) {
186
186
  const t = [], r = [];
187
187
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
188
188
  }
189
- const Er = /* @__PURE__ */ new Set();
190
- function Sr(e, t) {
191
- e && e.i && (Er.delete(e), e.i(t));
189
+ const Hr = /* @__PURE__ */ new Set();
190
+ function Tr(e, t) {
191
+ e && e.i && (Hr.delete(e), e.i(t));
192
192
  }
193
- function wr(e, t, r) {
193
+ function Br(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Pe(() => {
196
- const o = e.$$.on_mount.map(_t).filter(ke);
195
+ n && n.m(t, r), Oe(() => {
196
+ const o = e.$$.on_mount.map(St).filter(Ve);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
198
- }), i.forEach(Pe);
198
+ }), i.forEach(Oe);
199
199
  }
200
- function Hr(e, t) {
200
+ function Ar(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (_r(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function Tr(e, t) {
205
- e.$$.dirty[0] === -1 && (R.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Pr(e, t) {
205
+ e.$$.dirty[0] === -1 && (R.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  const h = q;
209
209
  J(e);
210
210
  const u = e.$$ = {
@@ -214,7 +214,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: H,
216
216
  not_equal: i,
217
- bound: qe(),
217
+ bound: et(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: qe(),
226
+ callbacks: et(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  s && s(u.root);
232
232
  let l = !1;
233
- if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
234
- const v = p.length ? p[0] : f;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Tr(e, c)), f;
236
- }), u.update(), l = !0, te(u.before_update), u.fragment = n(u.ctx), t.target) {
233
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
234
+ const v = p.length ? p[0] : c;
235
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Pr(e, f)), c;
236
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = cr(t.target);
239
- u.fragment && u.fragment.l(c), c.forEach(X);
238
+ const f = dr(t.target);
239
+ u.fragment && u.fragment.l(f), f.forEach(X);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && Sr(e.$$.fragment), wr(e, t.target, t.anchor), Y();
242
+ t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), Y();
243
243
  }
244
244
  J(h);
245
245
  }
246
- let wt;
247
- typeof HTMLElement == "function" && (wt = class extends HTMLElement {
246
+ let Tt;
247
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return Ye(this, null, function* () {
284
+ return Ke(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = dr(this);
308
+ const r = {}, n = gr(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Je(Qe({}, this.$$d), {
319
+ props: qe(Ye({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ue(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function Ar(e, t, r, n, i, o) {
398
- let s = class extends wt {
397
+ function Ir(e, t, r, n, i, o) {
398
+ let s = class extends Tt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function Ar(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class Pr {
428
+ class Cr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class Pr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- Hr(this, 1), this.$destroy = H;
449
+ Ar(this, 1), this.$destroy = H;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class Pr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!ke(r))
458
+ if (!Ve(r))
459
459
  return H;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,11 +468,11 @@ class Pr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Or = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
474
+ const Nr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
476
476
  /*! *****************************************************************************
477
477
  Copyright (c) Microsoft Corporation.
478
478
 
@@ -487,18 +487,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
487
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
488
  PERFORMANCE OF THIS SOFTWARE.
489
489
  ***************************************************************************** */
490
- var Oe = function(e, t) {
491
- return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
490
+ var Ie = function(e, t) {
491
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
492
  r.__proto__ = n;
493
493
  } || function(r, n) {
494
494
  for (var i in n)
495
495
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, Oe(e, t);
496
+ }, Ie(e, t);
497
497
  };
498
498
  function P(e, t) {
499
499
  if (typeof t != "function" && t !== null)
500
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- Oe(e, t);
501
+ Ie(e, t);
502
502
  function r() {
503
503
  this.constructor = e;
504
504
  }
@@ -514,7 +514,7 @@ var g = function() {
514
514
  return t;
515
515
  }, g.apply(this, arguments);
516
516
  };
517
- function Ir(e, t) {
517
+ function Lr(e, t) {
518
518
  var r = {};
519
519
  for (var n in e)
520
520
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -523,7 +523,7 @@ function Ir(e, t) {
523
523
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
524
524
  return r;
525
525
  }
526
- function Ie(e) {
526
+ function Ce(e) {
527
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
528
528
  if (r)
529
529
  return r.call(e);
@@ -564,13 +564,13 @@ function D(e, t, r) {
564
564
  function A(e) {
565
565
  return typeof e == "function";
566
566
  }
567
- function Ht(e) {
567
+ function Bt(e) {
568
568
  var t = function(n) {
569
569
  Error.call(n), n.stack = new Error().stack;
570
570
  }, r = e(t);
571
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
572
572
  }
573
- var _e = Ht(function(e) {
573
+ var _e = Bt(function(e) {
574
574
  return function(r) {
575
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
576
576
  ` + r.map(function(n, i) {
@@ -579,7 +579,7 @@ var _e = Ht(function(e) {
579
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
580
580
  };
581
581
  });
582
- function Ce(e, t) {
582
+ function Le(e, t) {
583
583
  if (e) {
584
584
  var r = e.indexOf(t);
585
585
  0 <= r && e.splice(r, 1);
@@ -597,7 +597,7 @@ var pe = function() {
597
597
  if (s)
598
598
  if (this._parentage = null, Array.isArray(s))
599
599
  try {
600
- for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
600
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
601
601
  var u = h.value;
602
602
  u.remove(this);
603
603
  }
@@ -620,14 +620,14 @@ var pe = function() {
620
620
  } catch (m) {
621
621
  o = m instanceof _e ? m.errors : [m];
622
622
  }
623
- var c = this._finalizers;
624
- if (c) {
623
+ var f = this._finalizers;
624
+ if (f) {
625
625
  this._finalizers = null;
626
626
  try {
627
- for (var f = Ie(c), p = f.next(); !p.done; p = f.next()) {
627
+ for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
628
628
  var v = p.value;
629
629
  try {
630
- et(v);
630
+ rt(v);
631
631
  } catch (m) {
632
632
  o = o != null ? o : [], m instanceof _e ? o = D(D([], Ne(o)), Ne(m.errors)) : o.push(m);
633
633
  }
@@ -636,7 +636,7 @@ var pe = function() {
636
636
  n = { error: m };
637
637
  } finally {
638
638
  try {
639
- p && !p.done && (i = f.return) && i.call(f);
639
+ p && !p.done && (i = c.return) && i.call(c);
640
640
  } finally {
641
641
  if (n)
642
642
  throw n.error;
@@ -650,7 +650,7 @@ var pe = function() {
650
650
  var r;
651
651
  if (t && t !== this)
652
652
  if (this.closed)
653
- et(t);
653
+ rt(t);
654
654
  else {
655
655
  if (t instanceof e) {
656
656
  if (t.closed || t._hasParent(this))
@@ -667,28 +667,28 @@ var pe = function() {
667
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
668
668
  }, e.prototype._removeParent = function(t) {
669
669
  var r = this._parentage;
670
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
671
671
  }, e.prototype.remove = function(t) {
672
672
  var r = this._finalizers;
673
- r && Ce(r, t), t instanceof e && t._removeParent(this);
673
+ r && Le(r, t), t instanceof e && t._removeParent(this);
674
674
  }, e.EMPTY = function() {
675
675
  var t = new e();
676
676
  return t.closed = !0, t;
677
677
  }(), e;
678
- }(), Tt = pe.EMPTY;
679
- function Bt(e) {
678
+ }(), At = pe.EMPTY;
679
+ function Pt(e) {
680
680
  return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
681
681
  }
682
- function et(e) {
682
+ function rt(e) {
683
683
  A(e) ? e() : e.unsubscribe();
684
684
  }
685
- var Nr = {
685
+ var Ot = {
686
686
  onUnhandledError: null,
687
687
  onStoppedNotification: null,
688
688
  Promise: void 0,
689
689
  useDeprecatedSynchronousErrorHandling: !1,
690
690
  useDeprecatedNextContext: !1
691
- }, Cr = {
691
+ }, Mr = {
692
692
  setTimeout: function(e, t) {
693
693
  for (var r = [], n = 2; n < arguments.length; n++)
694
694
  r[n - 2] = arguments[n];
@@ -699,24 +699,24 @@ var Nr = {
699
699
  },
700
700
  delegate: void 0
701
701
  };
702
- function Lr(e) {
703
- Cr.setTimeout(function() {
702
+ function $r(e) {
703
+ Mr.setTimeout(function() {
704
704
  throw e;
705
705
  });
706
706
  }
707
- function tt() {
707
+ function nt() {
708
708
  }
709
709
  function he(e) {
710
710
  e();
711
711
  }
712
- var At = function(e) {
712
+ var It = function(e) {
713
713
  P(t, e);
714
714
  function t(r) {
715
715
  var n = e.call(this) || this;
716
- return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Rr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Fr, n;
717
717
  }
718
718
  return t.create = function(r, n, i) {
719
- return new Le(r, n, i);
719
+ return new Me(r, n, i);
720
720
  }, t.prototype.next = function(r) {
721
721
  this.isStopped || this._next(r);
722
722
  }, t.prototype.error = function(r) {
@@ -740,7 +740,11 @@ var At = function(e) {
740
740
  this.unsubscribe();
741
741
  }
742
742
  }, t;
743
- }(pe), Mr = function() {
743
+ }(pe), Rr = Function.prototype.bind;
744
+ function Ee(e, t) {
745
+ return Rr.call(e, t);
746
+ }
747
+ var Ur = function() {
744
748
  function e(t) {
745
749
  this.partialObserver = t;
746
750
  }
@@ -771,43 +775,55 @@ var At = function(e) {
771
775
  se(r);
772
776
  }
773
777
  }, e;
774
- }(), Le = function(e) {
778
+ }(), Me = function(e) {
775
779
  P(t, e);
776
780
  function t(r, n, i) {
777
781
  var o = e.call(this) || this, s;
778
- return A(r) || !r ? s = {
779
- next: r != null ? r : void 0,
780
- error: n != null ? n : void 0,
781
- complete: i != null ? i : void 0
782
- } : s = r, o.destination = new Mr(s), o;
782
+ if (A(r) || !r)
783
+ s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ };
788
+ else {
789
+ var a;
790
+ o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
791
+ return o.unsubscribe();
792
+ }, s = {
793
+ next: r.next && Ee(r.next, a),
794
+ error: r.error && Ee(r.error, a),
795
+ complete: r.complete && Ee(r.complete, a)
796
+ }) : s = r;
797
+ }
798
+ return o.destination = new Ur(s), o;
783
799
  }
784
800
  return t;
785
- }(At);
801
+ }(It);
786
802
  function se(e) {
787
- Lr(e);
803
+ $r(e);
788
804
  }
789
- function $r(e) {
805
+ function Dr(e) {
790
806
  throw e;
791
807
  }
792
- var Rr = {
808
+ var Fr = {
793
809
  closed: !0,
794
- next: tt,
795
- error: $r,
796
- complete: tt
797
- }, Ur = function() {
810
+ next: nt,
811
+ error: Dr,
812
+ complete: nt
813
+ }, Gr = function() {
798
814
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
799
815
  }();
800
- function Dr(e) {
816
+ function jr(e) {
801
817
  return e;
802
818
  }
803
- function Fr(e) {
804
- return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
819
+ function kr(e) {
820
+ return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
805
821
  return e.reduce(function(n, i) {
806
822
  return i(n);
807
823
  }, r);
808
824
  };
809
825
  }
810
- var rt = function() {
826
+ var it = function() {
811
827
  function e(t) {
812
828
  t && (this._subscribe = t);
813
829
  }
@@ -815,7 +831,7 @@ var rt = function() {
815
831
  var r = new e();
816
832
  return r.source = this, r.operator = t, r;
817
833
  }, e.prototype.subscribe = function(t, r, n) {
818
- var i = this, o = jr(t) ? t : new Le(t, r, n);
834
+ var i = this, o = Xr(t) ? t : new Me(t, r, n);
819
835
  return he(function() {
820
836
  var s = i, a = s.operator, h = s.source;
821
837
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -828,8 +844,8 @@ var rt = function() {
828
844
  }
829
845
  }, e.prototype.forEach = function(t, r) {
830
846
  var n = this;
831
- return r = nt(r), new r(function(i, o) {
832
- var s = new Le({
847
+ return r = ot(r), new r(function(i, o) {
848
+ var s = new Me({
833
849
  next: function(a) {
834
850
  try {
835
851
  t(a);
@@ -845,15 +861,15 @@ var rt = function() {
845
861
  }, e.prototype._subscribe = function(t) {
846
862
  var r;
847
863
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
848
- }, e.prototype[Ur] = function() {
864
+ }, e.prototype[Gr] = function() {
849
865
  return this;
850
866
  }, e.prototype.pipe = function() {
851
867
  for (var t = [], r = 0; r < arguments.length; r++)
852
868
  t[r] = arguments[r];
853
- return Fr(t)(this);
869
+ return kr(t)(this);
854
870
  }, e.prototype.toPromise = function(t) {
855
871
  var r = this;
856
- return t = nt(t), new t(function(n, i) {
872
+ return t = ot(t), new t(function(n, i) {
857
873
  var o;
858
874
  r.subscribe(function(s) {
859
875
  return o = s;
@@ -867,32 +883,32 @@ var rt = function() {
867
883
  return new e(t);
868
884
  }, e;
869
885
  }();
870
- function nt(e) {
886
+ function ot(e) {
871
887
  var t;
872
- return (t = e != null ? e : Nr.Promise) !== null && t !== void 0 ? t : Promise;
888
+ return (t = e != null ? e : Ot.Promise) !== null && t !== void 0 ? t : Promise;
873
889
  }
874
- function Gr(e) {
890
+ function Vr(e) {
875
891
  return e && A(e.next) && A(e.error) && A(e.complete);
876
892
  }
877
- function jr(e) {
878
- return e && e instanceof At || Gr(e) && Bt(e);
893
+ function Xr(e) {
894
+ return e && e instanceof It || Vr(e) && Pt(e);
879
895
  }
880
- var kr = Ht(function(e) {
896
+ var Wr = Bt(function(e) {
881
897
  return function() {
882
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
883
899
  };
884
- }), Pt = function(e) {
900
+ }), Ct = function(e) {
885
901
  P(t, e);
886
902
  function t() {
887
903
  var r = e.call(this) || this;
888
904
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
889
905
  }
890
906
  return t.prototype.lift = function(r) {
891
- var n = new it(this, this);
907
+ var n = new st(this, this);
892
908
  return n.operator = r, n;
893
909
  }, t.prototype._throwIfClosed = function() {
894
910
  if (this.closed)
895
- throw new kr();
911
+ throw new Wr();
896
912
  }, t.prototype.next = function(r) {
897
913
  var n = this;
898
914
  he(function() {
@@ -900,7 +916,7 @@ var kr = Ht(function(e) {
900
916
  if (n._throwIfClosed(), !n.isStopped) {
901
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
902
918
  try {
903
- for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
904
920
  var h = a.value;
905
921
  h.next(r);
906
922
  }
@@ -949,19 +965,19 @@ var kr = Ht(function(e) {
949
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
950
966
  }, t.prototype._innerSubscribe = function(r) {
951
967
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
952
- return o || s ? Tt : (this.currentObservers = null, a.push(r), new pe(function() {
953
- n.currentObservers = null, Ce(a, r);
968
+ return o || s ? At : (this.currentObservers = null, a.push(r), new pe(function() {
969
+ n.currentObservers = null, Le(a, r);
954
970
  }));
955
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
956
972
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
957
973
  i ? r.error(o) : s && r.complete();
958
974
  }, t.prototype.asObservable = function() {
959
- var r = new rt();
975
+ var r = new it();
960
976
  return r.source = this, r;
961
977
  }, t.create = function(r, n) {
962
- return new it(r, n);
978
+ return new st(r, n);
963
979
  }, t;
964
- }(rt), it = function(e) {
980
+ }(it), st = function(e) {
965
981
  P(t, e);
966
982
  function t(r, n) {
967
983
  var i = e.call(this) || this;
@@ -978,17 +994,17 @@ var kr = Ht(function(e) {
978
994
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
979
995
  }, t.prototype._subscribe = function(r) {
980
996
  var n, i;
981
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tt;
997
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
982
998
  }, t;
983
- }(Pt), Ot = {
999
+ }(Ct), Nt = {
984
1000
  now: function() {
985
- return (Ot.delegate || Date).now();
1001
+ return (Nt.delegate || Date).now();
986
1002
  },
987
1003
  delegate: void 0
988
- }, Vr = function(e) {
1004
+ }, zr = function(e) {
989
1005
  P(t, e);
990
1006
  function t(r, n, i) {
991
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
1007
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
992
1008
  var o = e.call(this) || this;
993
1009
  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;
994
1010
  }
@@ -1008,15 +1024,15 @@ var kr = Ht(function(e) {
1008
1024
  u && o.splice(0, u + 1);
1009
1025
  }
1010
1026
  }, t;
1011
- }(Pt);
1012
- const ot = [], st = {}, Xr = (e, t = 0) => {
1013
- if (ot.indexOf(e) == -1) {
1014
- const r = new Vr(t);
1015
- st[e] = r, ot.push(e);
1027
+ }(Ct);
1028
+ const at = [], ut = {}, Zr = (e, t = 0) => {
1029
+ if (at.indexOf(e) == -1) {
1030
+ const r = new zr(t);
1031
+ ut[e] = r, at.push(e);
1016
1032
  }
1017
- return st[e];
1033
+ return ut[e];
1018
1034
  }, $ = [];
1019
- function Wr(e, t) {
1035
+ function Qr(e, t) {
1020
1036
  return {
1021
1037
  subscribe: de(e, t).subscribe
1022
1038
  };
@@ -1025,7 +1041,7 @@ function de(e, t = H) {
1025
1041
  let r;
1026
1042
  const n = /* @__PURE__ */ new Set();
1027
1043
  function i(a) {
1028
- if (Et(e, a) && (e = a, r)) {
1044
+ if (wt(e, a) && (e = a, r)) {
1029
1045
  const h = !$.length;
1030
1046
  for (const u of n)
1031
1047
  u[1](), $.push(u, e);
@@ -1052,96 +1068,96 @@ function W(e, t, r) {
1052
1068
  if (!i.every(Boolean))
1053
1069
  throw new Error("derived() expects stores as input, got a falsy value");
1054
1070
  const o = t.length < 2;
1055
- return Wr(r, (s, a) => {
1071
+ return Qr(r, (s, a) => {
1056
1072
  let h = !1;
1057
1073
  const u = [];
1058
- let l = 0, c = H;
1059
- const f = () => {
1074
+ let l = 0, f = H;
1075
+ const c = () => {
1060
1076
  if (l)
1061
1077
  return;
1062
- c();
1078
+ f();
1063
1079
  const v = t(n ? u[0] : u, s, a);
1064
- o ? s(v) : c = ke(v) ? v : H;
1080
+ o ? s(v) : f = Ve(v) ? v : H;
1065
1081
  }, p = i.map(
1066
- (v, m) => sr(
1082
+ (v, m) => hr(
1067
1083
  v,
1068
1084
  (d) => {
1069
- u[m] = d, l &= ~(1 << m), h && f();
1085
+ u[m] = d, l &= ~(1 << m), h && c();
1070
1086
  },
1071
1087
  () => {
1072
1088
  l |= 1 << m;
1073
1089
  }
1074
1090
  )
1075
1091
  );
1076
- return h = !0, f(), function() {
1077
- te(p), c(), h = !1;
1092
+ return h = !0, c(), function() {
1093
+ te(p), f(), h = !1;
1078
1094
  };
1079
1095
  });
1080
1096
  }
1081
- function zr(e) {
1082
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1097
+ function Jr(e) {
1098
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1083
1099
  }
1084
- var Zr = function(t) {
1085
- return Qr(t) && !Jr(t);
1100
+ var Yr = function(t) {
1101
+ return qr(t) && !Kr(t);
1086
1102
  };
1087
- function Qr(e) {
1103
+ function qr(e) {
1088
1104
  return !!e && typeof e == "object";
1089
1105
  }
1090
- function Jr(e) {
1106
+ function Kr(e) {
1091
1107
  var t = Object.prototype.toString.call(e);
1092
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
1108
+ return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1093
1109
  }
1094
- var Yr = typeof Symbol == "function" && Symbol.for, qr = Yr ? Symbol.for("react.element") : 60103;
1095
- function Kr(e) {
1096
- return e.$$typeof === qr;
1110
+ var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1111
+ function rn(e) {
1112
+ return e.$$typeof === tn;
1097
1113
  }
1098
- function en(e) {
1114
+ function nn(e) {
1099
1115
  return Array.isArray(e) ? [] : {};
1100
1116
  }
1101
1117
  function K(e, t) {
1102
- return t.clone !== !1 && t.isMergeableObject(e) ? G(en(e), e, t) : e;
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(nn(e), e, t) : e;
1103
1119
  }
1104
- function tn(e, t, r) {
1120
+ function on(e, t, r) {
1105
1121
  return e.concat(t).map(function(n) {
1106
1122
  return K(n, r);
1107
1123
  });
1108
1124
  }
1109
- function rn(e, t) {
1125
+ function sn(e, t) {
1110
1126
  if (!t.customMerge)
1111
1127
  return G;
1112
1128
  var r = t.customMerge(e);
1113
1129
  return typeof r == "function" ? r : G;
1114
1130
  }
1115
- function nn(e) {
1131
+ function an(e) {
1116
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1117
1133
  return Object.propertyIsEnumerable.call(e, t);
1118
1134
  }) : [];
1119
1135
  }
1120
- function at(e) {
1121
- return Object.keys(e).concat(nn(e));
1136
+ function ht(e) {
1137
+ return Object.keys(e).concat(an(e));
1122
1138
  }
1123
- function It(e, t) {
1139
+ function Lt(e, t) {
1124
1140
  try {
1125
1141
  return t in e;
1126
1142
  } catch (r) {
1127
1143
  return !1;
1128
1144
  }
1129
1145
  }
1130
- function on(e, t) {
1131
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
+ function un(e, t) {
1147
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1132
1148
  }
1133
- function sn(e, t, r) {
1149
+ function hn(e, t, r) {
1134
1150
  var n = {};
1135
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
1151
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1136
1152
  n[i] = K(e[i], r);
1137
- }), at(t).forEach(function(i) {
1138
- on(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1153
+ }), ht(t).forEach(function(i) {
1154
+ un(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1139
1155
  }), n;
1140
1156
  }
1141
1157
  function G(e, t, r) {
1142
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = K;
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = K;
1143
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1144
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : K(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : K(t, r);
1145
1161
  }
1146
1162
  G.all = function(t, r) {
1147
1163
  if (!Array.isArray(t))
@@ -1150,60 +1166,58 @@ G.all = function(t, r) {
1150
1166
  return G(n, i, r);
1151
1167
  }, {});
1152
1168
  };
1153
- var an = G, un = an;
1154
- const hn = /* @__PURE__ */ zr(un);
1155
- function Ee(e, t) {
1156
- var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : fn;
1169
+ var ln = G, cn = ln;
1170
+ const fn = /* @__PURE__ */ Jr(cn);
1171
+ function Se(e, t) {
1172
+ var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : pn;
1157
1173
  return i(e, {
1158
1174
  cache: r,
1159
1175
  serializer: n
1160
1176
  });
1161
1177
  }
1162
- function ln(e) {
1178
+ function mn(e) {
1163
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1164
1180
  }
1165
- function Nt(e, t, r, n) {
1166
- var i = ln(n) ? n : r(n), o = t.get(i);
1181
+ function Mt(e, t, r, n) {
1182
+ var i = mn(n) ? n : r(n), o = t.get(i);
1167
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1168
1184
  }
1169
- function Ct(e, t, r) {
1185
+ function $t(e, t, r) {
1170
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1171
1187
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1172
1188
  }
1173
- function Ve(e, t, r, n, i) {
1189
+ function Xe(e, t, r, n, i) {
1174
1190
  return r.bind(t, e, n, i);
1175
1191
  }
1176
- function fn(e, t) {
1177
- var r = e.length === 1 ? Nt : Ct;
1178
- return Ve(e, this, r, t.cache.create(), t.serializer);
1192
+ function pn(e, t) {
1193
+ var r = e.length === 1 ? Mt : $t;
1194
+ return Xe(e, this, r, t.cache.create(), t.serializer);
1179
1195
  }
1180
- function cn(e, t) {
1181
- return Ve(e, this, Ct, t.cache.create(), t.serializer);
1196
+ function dn(e, t) {
1197
+ return Xe(e, this, $t, t.cache.create(), t.serializer);
1182
1198
  }
1183
- function mn(e, t) {
1184
- return Ve(e, this, Nt, t.cache.create(), t.serializer);
1199
+ function bn(e, t) {
1200
+ return Xe(e, this, Mt, t.cache.create(), t.serializer);
1185
1201
  }
1186
- var pn = function() {
1202
+ var yn = function() {
1187
1203
  return JSON.stringify(arguments);
1188
- }, dn = (
1189
- /** @class */
1190
- function() {
1191
- function e() {
1192
- this.cache = /* @__PURE__ */ Object.create(null);
1193
- }
1194
- return e.prototype.get = function(t) {
1195
- return this.cache[t];
1196
- }, e.prototype.set = function(t, r) {
1197
- this.cache[t] = r;
1198
- }, e;
1199
- }()
1200
- ), bn = {
1204
+ };
1205
+ function We() {
1206
+ this.cache = /* @__PURE__ */ Object.create(null);
1207
+ }
1208
+ We.prototype.get = function(e) {
1209
+ return this.cache[e];
1210
+ };
1211
+ We.prototype.set = function(e, t) {
1212
+ this.cache[e] = t;
1213
+ };
1214
+ var gn = {
1201
1215
  create: function() {
1202
- return new dn();
1216
+ return new We();
1203
1217
  }
1204
- }, Se = {
1205
- variadic: cn,
1206
- monadic: mn
1218
+ }, we = {
1219
+ variadic: dn,
1220
+ monadic: bn
1207
1221
  }, b;
1208
1222
  (function(e) {
1209
1223
  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";
@@ -1216,43 +1230,43 @@ var j;
1216
1230
  (function(e) {
1217
1231
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1218
1232
  })(j || (j = {}));
1219
- function ut(e) {
1233
+ function lt(e) {
1220
1234
  return e.type === x.literal;
1221
1235
  }
1222
- function yn(e) {
1236
+ function vn(e) {
1223
1237
  return e.type === x.argument;
1224
1238
  }
1225
- function Lt(e) {
1239
+ function Rt(e) {
1226
1240
  return e.type === x.number;
1227
1241
  }
1228
- function Mt(e) {
1242
+ function Ut(e) {
1229
1243
  return e.type === x.date;
1230
1244
  }
1231
- function $t(e) {
1245
+ function Dt(e) {
1232
1246
  return e.type === x.time;
1233
1247
  }
1234
- function Rt(e) {
1248
+ function Ft(e) {
1235
1249
  return e.type === x.select;
1236
1250
  }
1237
- function Ut(e) {
1251
+ function Gt(e) {
1238
1252
  return e.type === x.plural;
1239
1253
  }
1240
- function gn(e) {
1254
+ function xn(e) {
1241
1255
  return e.type === x.pound;
1242
1256
  }
1243
- function Dt(e) {
1257
+ function jt(e) {
1244
1258
  return e.type === x.tag;
1245
1259
  }
1246
- function Ft(e) {
1260
+ function kt(e) {
1247
1261
  return !!(e && typeof e == "object" && e.type === j.number);
1248
1262
  }
1249
- function Me(e) {
1263
+ function $e(e) {
1250
1264
  return !!(e && typeof e == "object" && e.type === j.dateTime);
1251
1265
  }
1252
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1253
- function xn(e) {
1266
+ var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1267
+ function En(e) {
1254
1268
  var t = {};
1255
- return e.replace(vn, function(r) {
1269
+ return e.replace(_n, function(r) {
1256
1270
  var n = r.length;
1257
1271
  switch (r[0]) {
1258
1272
  case "G":
@@ -1341,36 +1355,36 @@ function xn(e) {
1341
1355
  return "";
1342
1356
  }), t;
1343
1357
  }
1344
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1345
- function En(e) {
1358
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function wn(e) {
1346
1360
  if (e.length === 0)
1347
1361
  throw new Error("Number skeleton cannot be empty");
1348
- for (var t = e.split(_n).filter(function(f) {
1349
- return f.length > 0;
1362
+ for (var t = e.split(Sn).filter(function(c) {
1363
+ return c.length > 0;
1350
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1351
1365
  var o = i[n], s = o.split("/");
1352
1366
  if (s.length === 0)
1353
1367
  throw new Error("Invalid number skeleton");
1354
1368
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1355
- var c = l[u];
1356
- if (c.length === 0)
1369
+ var f = l[u];
1370
+ if (f.length === 0)
1357
1371
  throw new Error("Invalid number skeleton");
1358
1372
  }
1359
1373
  r.push({ stem: a, options: h });
1360
1374
  }
1361
1375
  return r;
1362
1376
  }
1363
- function Sn(e) {
1377
+ function Hn(e) {
1364
1378
  return e.replace(/^(.*?)-/, "");
1365
1379
  }
1366
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1367
- function lt(e) {
1380
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1381
+ function ft(e) {
1368
1382
  var t = {};
1369
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1383
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1370
1384
  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)), "";
1371
1385
  }), t;
1372
1386
  }
1373
- function Vt(e) {
1387
+ function zt(e) {
1374
1388
  switch (e) {
1375
1389
  case "sign-auto":
1376
1390
  return {
@@ -1410,7 +1424,7 @@ function Vt(e) {
1410
1424
  };
1411
1425
  }
1412
1426
  }
1413
- function Hn(e) {
1427
+ function Bn(e) {
1414
1428
  var t;
1415
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1416
1430
  notation: "engineering"
@@ -1418,17 +1432,17 @@ function Hn(e) {
1418
1432
  notation: "scientific"
1419
1433
  }, e = e.slice(1)), t) {
1420
1434
  var r = e.slice(0, 2);
1421
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1422
1436
  throw new Error("Malformed concise eng/scientific notation");
1423
1437
  t.minimumIntegerDigits = e.length;
1424
1438
  }
1425
1439
  return t;
1426
1440
  }
1427
- function ft(e) {
1428
- var t = {}, r = Vt(e);
1441
+ function mt(e) {
1442
+ var t = {}, r = zt(e);
1429
1443
  return r || t;
1430
1444
  }
1431
- function Tn(e) {
1445
+ function An(e) {
1432
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1433
1447
  var i = n[r];
1434
1448
  switch (i.stem) {
@@ -1452,7 +1466,7 @@ function Tn(e) {
1452
1466
  continue;
1453
1467
  case "measure-unit":
1454
1468
  case "unit":
1455
- t.style = "unit", t.unit = Sn(i.options[0]);
1469
+ t.style = "unit", t.unit = Hn(i.options[0]);
1456
1470
  continue;
1457
1471
  case "compact-short":
1458
1472
  case "K":
@@ -1464,12 +1478,12 @@ function Tn(e) {
1464
1478
  continue;
1465
1479
  case "scientific":
1466
1480
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1467
- return g(g({}, h), ft(u));
1481
+ return g(g({}, h), mt(u));
1468
1482
  }, {}));
1469
1483
  continue;
1470
1484
  case "engineering":
1471
1485
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1472
- return g(g({}, h), ft(u));
1486
+ return g(g({}, h), mt(u));
1473
1487
  }, {}));
1474
1488
  continue;
1475
1489
  case "notation-simple":
@@ -1514,11 +1528,11 @@ function Tn(e) {
1514
1528
  case "integer-width":
1515
1529
  if (i.options.length > 1)
1516
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1517
- i.options[0].replace(wn, function(h, u, l, c, f, p) {
1531
+ i.options[0].replace(Tn, function(h, u, l, f, c, p) {
1518
1532
  if (u)
1519
1533
  t.minimumIntegerDigits = l.length;
1520
1534
  else {
1521
- if (c && f)
1535
+ if (f && c)
1522
1536
  throw new Error("We currently do not support maximum integer digits");
1523
1537
  if (p)
1524
1538
  throw new Error("We currently do not support exact integer digits");
@@ -1527,27 +1541,27 @@ function Tn(e) {
1527
1541
  });
1528
1542
  continue;
1529
1543
  }
1530
- if (kt.test(i.stem)) {
1544
+ if (Wt.test(i.stem)) {
1531
1545
  t.minimumIntegerDigits = i.stem.length;
1532
1546
  continue;
1533
1547
  }
1534
- if (ht.test(i.stem)) {
1548
+ if (ct.test(i.stem)) {
1535
1549
  if (i.options.length > 1)
1536
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1537
- i.stem.replace(ht, function(h, u, l, c, f, p) {
1538
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1551
+ i.stem.replace(ct, function(h, u, l, f, c, p) {
1552
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1539
1553
  });
1540
1554
  var o = i.options[0];
1541
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), lt(o)));
1555
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ft(o)));
1542
1556
  continue;
1543
1557
  }
1544
- if (jt.test(i.stem)) {
1545
- t = g(g({}, t), lt(i.stem));
1558
+ if (Xt.test(i.stem)) {
1559
+ t = g(g({}, t), ft(i.stem));
1546
1560
  continue;
1547
1561
  }
1548
- var s = Vt(i.stem);
1562
+ var s = zt(i.stem);
1549
1563
  s && (t = g(g({}, t), s));
1550
- var a = Hn(i.stem);
1564
+ var a = Bn(i.stem);
1551
1565
  a && (t = g(g({}, t), a));
1552
1566
  }
1553
1567
  return t;
@@ -2967,13 +2981,13 @@ var ae = {
2967
2981
  "h"
2968
2982
  ]
2969
2983
  };
2970
- function Bn(e, t) {
2984
+ function Pn(e, t) {
2971
2985
  for (var r = "", n = 0; n < e.length; n++) {
2972
2986
  var i = e.charAt(n);
2973
2987
  if (i === "j") {
2974
2988
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2975
2989
  o++, n++;
2976
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
2990
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
2977
2991
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2978
2992
  r += h;
2979
2993
  for (; s-- > 0; )
@@ -2983,7 +2997,7 @@ function Bn(e, t) {
2983
2997
  }
2984
2998
  return r;
2985
2999
  }
2986
- function An(e) {
3000
+ function On(e) {
2987
3001
  var t = e.hourCycle;
2988
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2989
3003
  e.hourCycles && // @ts-ignore
@@ -3005,20 +3019,20 @@ function An(e) {
3005
3019
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3006
3020
  return i[0];
3007
3021
  }
3008
- var we, Pn = new RegExp("^".concat(Gt.source, "*")), On = new RegExp("".concat(Gt.source, "*$"));
3022
+ var He, In = new RegExp("^".concat(Vt.source, "*")), Cn = new RegExp("".concat(Vt.source, "*$"));
3009
3023
  function y(e, t) {
3010
3024
  return { start: e, end: t };
3011
3025
  }
3012
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Cn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Un = Rn ? Number.isSafeInteger : function(e) {
3026
+ var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
3013
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3014
- }, $e = !0;
3028
+ }, Re = !0;
3015
3029
  try {
3016
- var Dn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3017
- $e = ((we = Dn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
3030
+ var Gn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ Re = ((He = Gn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3018
3032
  } catch (e) {
3019
- $e = !1;
3033
+ Re = !1;
3020
3034
  }
3021
- var ct = In ? (
3035
+ var pt = Nn ? (
3022
3036
  // Native
3023
3037
  function(t, r, n) {
3024
3038
  return t.startsWith(r, n);
@@ -3028,7 +3042,7 @@ var ct = In ? (
3028
3042
  function(t, r, n) {
3029
3043
  return t.slice(n, n + r.length) === r;
3030
3044
  }
3031
- ), Re = Nn ? String.fromCodePoint : (
3045
+ ), Ue = Ln ? String.fromCodePoint : (
3032
3046
  // IE11
3033
3047
  function() {
3034
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3040,9 +3054,9 @@ var ct = In ? (
3040
3054
  }
3041
3055
  return n;
3042
3056
  }
3043
- ), mt = (
3057
+ ), dt = (
3044
3058
  // native
3045
- Cn ? Object.fromEntries : (
3059
+ Mn ? Object.fromEntries : (
3046
3060
  // Ponyfill
3047
3061
  function(t) {
3048
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3052,7 +3066,7 @@ var ct = In ? (
3052
3066
  return r;
3053
3067
  }
3054
3068
  )
3055
- ), Xt = Ln ? (
3069
+ ), Zt = $n ? (
3056
3070
  // Native
3057
3071
  function(t, r) {
3058
3072
  return t.codePointAt(r);
@@ -3066,7 +3080,7 @@ var ct = In ? (
3066
3080
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3067
3081
  }
3068
3082
  }
3069
- ), Fn = Mn ? (
3083
+ ), jn = Rn ? (
3070
3084
  // Native
3071
3085
  function(t) {
3072
3086
  return t.trimStart();
@@ -3074,9 +3088,9 @@ var ct = In ? (
3074
3088
  ) : (
3075
3089
  // Ponyfill
3076
3090
  function(t) {
3077
- return t.replace(Pn, "");
3091
+ return t.replace(In, "");
3078
3092
  }
3079
- ), Gn = $n ? (
3093
+ ), kn = Un ? (
3080
3094
  // Native
3081
3095
  function(t) {
3082
3096
  return t.trimEnd();
@@ -3084,32 +3098,32 @@ var ct = In ? (
3084
3098
  ) : (
3085
3099
  // Ponyfill
3086
3100
  function(t) {
3087
- return t.replace(On, "");
3101
+ return t.replace(Cn, "");
3088
3102
  }
3089
3103
  );
3090
- function Wt(e, t) {
3104
+ function Qt(e, t) {
3091
3105
  return new RegExp(e, t);
3092
3106
  }
3093
- var Ue;
3094
- if ($e) {
3095
- var pt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3096
- Ue = function(t, r) {
3107
+ var De;
3108
+ if (Re) {
3109
+ var bt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3110
+ De = function(t, r) {
3097
3111
  var n;
3098
- pt.lastIndex = r;
3099
- var i = pt.exec(t);
3112
+ bt.lastIndex = r;
3113
+ var i = bt.exec(t);
3100
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3101
3115
  };
3102
3116
  } else
3103
- Ue = function(t, r) {
3117
+ De = function(t, r) {
3104
3118
  for (var n = []; ; ) {
3105
- var i = Xt(t, r);
3106
- if (i === void 0 || zt(i) || Xn(i))
3119
+ var i = Zt(t, r);
3120
+ if (i === void 0 || Jt(i) || zn(i))
3107
3121
  break;
3108
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3109
3123
  }
3110
- return Re.apply(void 0, n);
3124
+ return Ue.apply(void 0, n);
3111
3125
  };
3112
- var jn = (
3126
+ var Vn = (
3113
3127
  /** @class */
3114
3128
  function() {
3115
3129
  function e(t, r) {
@@ -3140,7 +3154,7 @@ var jn = (
3140
3154
  if (n)
3141
3155
  break;
3142
3156
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3143
- } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
3157
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3144
3158
  var s = this.parseTag(t, r);
3145
3159
  if (s.err)
3146
3160
  return s;
@@ -3173,7 +3187,7 @@ var jn = (
3173
3187
  return o;
3174
3188
  var s = o.val, a = this.clonePosition();
3175
3189
  if (this.bumpIf("</")) {
3176
- if (this.isEOF() || !De(this.char()))
3190
+ if (this.isEOF() || !Fe(this.char()))
3177
3191
  return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3178
3192
  var h = this.clonePosition(), u = this.parseTagName();
3179
3193
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3191,7 +3205,7 @@ var jn = (
3191
3205
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3192
3206
  }, e.prototype.parseTagName = function() {
3193
3207
  var t = this.offset();
3194
- for (this.bump(); !this.isEOF() && Vn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && Wn(this.char()); )
3195
3209
  this.bump();
3196
3210
  return this.message.slice(t, this.offset());
3197
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3220,7 +3234,7 @@ var jn = (
3220
3234
  };
3221
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3222
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3223
- !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3224
3238
  }, e.prototype.tryParseQuote = function(t) {
3225
3239
  if (this.isEOF() || this.char() !== 39)
3226
3240
  return null;
@@ -3254,12 +3268,12 @@ var jn = (
3254
3268
  r.push(n);
3255
3269
  this.bump();
3256
3270
  }
3257
- return Re.apply(void 0, r);
3271
+ return Ue.apply(void 0, r);
3258
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3259
3273
  if (this.isEOF())
3260
3274
  return null;
3261
3275
  var n = this.char();
3262
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3263
3277
  }, e.prototype.parseArgument = function(t, r) {
3264
3278
  var n = this.clonePosition();
3265
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3288,7 +3302,7 @@ var jn = (
3288
3302
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3289
3303
  }
3290
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3291
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3292
3306
  this.bumpTo(i);
3293
3307
  var o = this.clonePosition(), s = y(t, o);
3294
3308
  return { value: n, location: s };
@@ -3304,40 +3318,40 @@ var jn = (
3304
3318
  var u = null;
3305
3319
  if (this.bumpIf(",")) {
3306
3320
  this.bumpSpace();
3307
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3308
- if (c.err)
3309
- return c;
3310
- var f = Gn(c.val);
3311
- if (f.length === 0)
3321
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3322
+ if (f.err)
3323
+ return f;
3324
+ var c = kn(f.val);
3325
+ if (c.length === 0)
3312
3326
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3313
3327
  var p = y(l, this.clonePosition());
3314
- u = { style: f, styleLocation: p };
3328
+ u = { style: c, styleLocation: p };
3315
3329
  }
3316
3330
  var v = this.tryParseArgumentClose(i);
3317
3331
  if (v.err)
3318
3332
  return v;
3319
3333
  var m = y(i, this.clonePosition());
3320
- if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
3321
- var d = Fn(u.style.slice(2));
3334
+ if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
3335
+ var d = jn(u.style.slice(2));
3322
3336
  if (a === "number") {
3323
- var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
3324
- return c.err ? c : {
3325
- val: { type: x.number, value: n, location: m, style: c.val },
3337
+ var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
3338
+ return f.err ? f : {
3339
+ val: { type: x.number, value: n, location: m, style: f.val },
3326
3340
  err: null
3327
3341
  };
3328
3342
  } else {
3329
3343
  if (d.length === 0)
3330
3344
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3331
3345
  var S = d;
3332
- this.locale && (S = Bn(d, this.locale));
3333
- var f = {
3346
+ this.locale && (S = Pn(d, this.locale));
3347
+ var c = {
3334
3348
  type: j.dateTime,
3335
3349
  pattern: S,
3336
3350
  location: u.styleLocation,
3337
- parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
3351
+ parsedOptions: this.shouldParseSkeletons ? En(S) : {}
3338
3352
  }, O = a === "date" ? x.date : x.time;
3339
3353
  return {
3340
- val: { type: O, value: n, location: m, style: f },
3354
+ val: { type: O, value: n, location: m, style: c },
3341
3355
  err: null
3342
3356
  };
3343
3357
  }
@@ -3359,15 +3373,15 @@ var jn = (
3359
3373
  if (this.bumpSpace(), !this.bumpIf(","))
3360
3374
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, g({}, T)));
3361
3375
  this.bumpSpace();
3362
- var Z = this.parseIdentifierIfPossible(), N = 0;
3376
+ var Z = this.parseIdentifierIfPossible(), C = 0;
3363
3377
  if (a !== "select" && Z.value === "offset") {
3364
3378
  if (!this.bumpIf(":"))
3365
3379
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3366
3380
  this.bumpSpace();
3367
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3368
- if (c.err)
3369
- return c;
3370
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = c.val;
3381
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3382
+ if (f.err)
3383
+ return f;
3384
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = f.val;
3371
3385
  }
3372
3386
  var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3373
3387
  if (oe.err)
@@ -3375,23 +3389,23 @@ var jn = (
3375
3389
  var v = this.tryParseArgumentClose(i);
3376
3390
  if (v.err)
3377
3391
  return v;
3378
- var ze = y(i, this.clonePosition());
3392
+ var Qe = y(i, this.clonePosition());
3379
3393
  return a === "select" ? {
3380
3394
  val: {
3381
3395
  type: x.select,
3382
3396
  value: n,
3383
- options: mt(oe.val),
3384
- location: ze
3397
+ options: dt(oe.val),
3398
+ location: Qe
3385
3399
  },
3386
3400
  err: null
3387
3401
  } : {
3388
3402
  val: {
3389
3403
  type: x.plural,
3390
3404
  value: n,
3391
- options: mt(oe.val),
3392
- offset: N,
3405
+ options: dt(oe.val),
3406
+ offset: C,
3393
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3394
- location: ze
3408
+ location: Qe
3395
3409
  },
3396
3410
  err: null
3397
3411
  };
@@ -3439,7 +3453,7 @@ var jn = (
3439
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3440
3454
  var n = [];
3441
3455
  try {
3442
- n = En(t);
3456
+ n = wn(t);
3443
3457
  } catch (i) {
3444
3458
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3445
3459
  }
@@ -3448,19 +3462,19 @@ var jn = (
3448
3462
  type: j.number,
3449
3463
  tokens: n,
3450
3464
  location: r,
3451
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3452
3466
  },
3453
3467
  err: null
3454
3468
  };
3455
3469
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3456
3470
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3457
3471
  if (u.length === 0) {
3458
- var c = this.clonePosition();
3472
+ var f = this.clonePosition();
3459
3473
  if (r !== "select" && this.bumpIf("=")) {
3460
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3461
- if (f.err)
3462
- return f;
3463
- l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3474
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3475
+ if (c.err)
3476
+ return c;
3477
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3464
3478
  } else
3465
3479
  break;
3466
3480
  }
@@ -3496,7 +3510,7 @@ var jn = (
3496
3510
  break;
3497
3511
  }
3498
3512
  var h = y(i, this.clonePosition());
3499
- return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3513
+ return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3500
3514
  }, e.prototype.offset = function() {
3501
3515
  return this.position.offset;
3502
3516
  }, e.prototype.isEOF = function() {
@@ -3511,7 +3525,7 @@ var jn = (
3511
3525
  var t = this.position.offset;
3512
3526
  if (t >= this.message.length)
3513
3527
  throw Error("out of bound");
3514
- var r = Xt(this.message, t);
3528
+ var r = Zt(this.message, t);
3515
3529
  if (r === void 0)
3516
3530
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3517
3531
  return r;
@@ -3530,7 +3544,7 @@ var jn = (
3530
3544
  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);
3531
3545
  }
3532
3546
  }, e.prototype.bumpIf = function(t) {
3533
- if (ct(this.message, t, this.offset())) {
3547
+ if (pt(this.message, t, this.offset())) {
3534
3548
  for (var r = 0; r < t.length; r++)
3535
3549
  this.bump();
3536
3550
  return !0;
@@ -3552,7 +3566,7 @@ var jn = (
3552
3566
  break;
3553
3567
  }
3554
3568
  }, e.prototype.bumpSpace = function() {
3555
- for (; !this.isEOF() && zt(this.char()); )
3569
+ for (; !this.isEOF() && Jt(this.char()); )
3556
3570
  this.bump();
3557
3571
  }, e.prototype.peek = function() {
3558
3572
  if (this.isEOF())
@@ -3562,38 +3576,38 @@ var jn = (
3562
3576
  }, e;
3563
3577
  }()
3564
3578
  );
3565
- function De(e) {
3579
+ function Fe(e) {
3566
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3567
3581
  }
3568
- function kn(e) {
3569
- return De(e) || e === 47;
3582
+ function Xn(e) {
3583
+ return Fe(e) || e === 47;
3570
3584
  }
3571
- function Vn(e) {
3585
+ function Wn(e) {
3572
3586
  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;
3573
3587
  }
3574
- function zt(e) {
3588
+ function Jt(e) {
3575
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3576
3590
  }
3577
- function Xn(e) {
3591
+ function zn(e) {
3578
3592
  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;
3579
3593
  }
3580
- function Fe(e) {
3594
+ function Ge(e) {
3581
3595
  e.forEach(function(t) {
3582
- if (delete t.location, Rt(t) || Ut(t))
3596
+ if (delete t.location, Ft(t) || Gt(t))
3583
3597
  for (var r in t.options)
3584
- delete t.options[r].location, Fe(t.options[r].value);
3598
+ delete t.options[r].location, Ge(t.options[r].value);
3585
3599
  else
3586
- Lt(t) && Ft(t.style) || (Mt(t) || $t(t)) && Me(t.style) ? delete t.style.location : Dt(t) && Fe(t.children);
3600
+ Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && $e(t.style) ? delete t.style.location : jt(t) && Ge(t.children);
3587
3601
  });
3588
3602
  }
3589
- function Wn(e, t) {
3603
+ function Zn(e, t) {
3590
3604
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3591
- var r = new jn(e, t).parse();
3605
+ var r = new Vn(e, t).parse();
3592
3606
  if (r.err) {
3593
3607
  var n = SyntaxError(b[r.err.kind]);
3594
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3595
3609
  }
3596
- return t != null && t.captureLocation || Fe(r.val), r.val;
3610
+ return t != null && t.captureLocation || Ge(r.val), r.val;
3597
3611
  }
3598
3612
  var k;
3599
3613
  (function(e) {
@@ -3611,7 +3625,7 @@ var be = (
3611
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3612
3626
  }, t;
3613
3627
  }(Error)
3614
- ), dt = (
3628
+ ), yt = (
3615
3629
  /** @class */
3616
3630
  function(e) {
3617
3631
  P(t, e);
@@ -3620,7 +3634,7 @@ var be = (
3620
3634
  }
3621
3635
  return t;
3622
3636
  }(be)
3623
- ), zn = (
3637
+ ), Qn = (
3624
3638
  /** @class */
3625
3639
  function(e) {
3626
3640
  P(t, e);
@@ -3629,7 +3643,7 @@ var be = (
3629
3643
  }
3630
3644
  return t;
3631
3645
  }(be)
3632
- ), Zn = (
3646
+ ), Jn = (
3633
3647
  /** @class */
3634
3648
  function(e) {
3635
3649
  P(t, e);
@@ -3642,17 +3656,17 @@ var be = (
3642
3656
  (function(e) {
3643
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3644
3658
  })(E || (E = {}));
3645
- function Qn(e) {
3659
+ function Yn(e) {
3646
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3647
3661
  var n = t[t.length - 1];
3648
3662
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3649
3663
  }, []);
3650
3664
  }
3651
- function Jn(e) {
3665
+ function qn(e) {
3652
3666
  return typeof e == "function";
3653
3667
  }
3654
3668
  function le(e, t, r, n, i, o, s) {
3655
- if (e.length === 1 && ut(e[0]))
3669
+ if (e.length === 1 && lt(e[0]))
3656
3670
  return [
3657
3671
  {
3658
3672
  type: E.literal,
@@ -3661,105 +3675,105 @@ function le(e, t, r, n, i, o, s) {
3661
3675
  ];
3662
3676
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3663
3677
  var l = u[h];
3664
- if (ut(l)) {
3678
+ if (lt(l)) {
3665
3679
  a.push({
3666
3680
  type: E.literal,
3667
3681
  value: l.value
3668
3682
  });
3669
3683
  continue;
3670
3684
  }
3671
- if (gn(l)) {
3685
+ if (xn(l)) {
3672
3686
  typeof o == "number" && a.push({
3673
3687
  type: E.literal,
3674
3688
  value: r.getNumberFormat(t).format(o)
3675
3689
  });
3676
3690
  continue;
3677
3691
  }
3678
- var c = l.value;
3679
- if (!(i && c in i))
3680
- throw new Zn(c, s);
3681
- var f = i[c];
3682
- if (yn(l)) {
3683
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3684
- type: typeof f == "string" ? E.literal : E.object,
3685
- value: f
3692
+ var f = l.value;
3693
+ if (!(i && f in i))
3694
+ throw new Jn(f, s);
3695
+ var c = i[f];
3696
+ if (vn(l)) {
3697
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3698
+ type: typeof c == "string" ? E.literal : E.object,
3699
+ value: c
3686
3700
  });
3687
3701
  continue;
3688
3702
  }
3689
- if (Mt(l)) {
3690
- var p = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3703
+ if (Ut(l)) {
3704
+ var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3691
3705
  a.push({
3692
3706
  type: E.literal,
3693
- value: r.getDateTimeFormat(t, p).format(f)
3707
+ value: r.getDateTimeFormat(t, p).format(c)
3694
3708
  });
3695
3709
  continue;
3696
3710
  }
3697
- if ($t(l)) {
3698
- var p = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3711
+ if (Dt(l)) {
3712
+ var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3699
3713
  a.push({
3700
3714
  type: E.literal,
3701
- value: r.getDateTimeFormat(t, p).format(f)
3715
+ value: r.getDateTimeFormat(t, p).format(c)
3702
3716
  });
3703
3717
  continue;
3704
3718
  }
3705
- if (Lt(l)) {
3706
- var p = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
3707
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3719
+ if (Rt(l)) {
3720
+ var p = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3721
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3708
3722
  type: E.literal,
3709
- value: r.getNumberFormat(t, p).format(f)
3723
+ value: r.getNumberFormat(t, p).format(c)
3710
3724
  });
3711
3725
  continue;
3712
3726
  }
3713
- if (Dt(l)) {
3727
+ if (jt(l)) {
3714
3728
  var v = l.children, m = l.value, d = i[m];
3715
- if (!Jn(d))
3716
- throw new zn(m, "function", s);
3717
- var S = le(v, t, r, n, i, o), O = d(S.map(function(N) {
3718
- return N.value;
3729
+ if (!qn(d))
3730
+ throw new Qn(m, "function", s);
3731
+ var S = le(v, t, r, n, i, o), O = d(S.map(function(C) {
3732
+ return C.value;
3719
3733
  }));
3720
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
3734
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(C) {
3721
3735
  return {
3722
- type: typeof N == "string" ? E.literal : E.object,
3723
- value: N
3736
+ type: typeof C == "string" ? E.literal : E.object,
3737
+ value: C
3724
3738
  };
3725
3739
  }));
3726
3740
  }
3727
- if (Rt(l)) {
3728
- var T = l.options[f] || l.options.other;
3741
+ if (Ft(l)) {
3742
+ var T = l.options[c] || l.options.other;
3729
3743
  if (!T)
3730
- throw new dt(l.value, f, Object.keys(l.options), s);
3744
+ throw new yt(l.value, c, Object.keys(l.options), s);
3731
3745
  a.push.apply(a, le(T.value, t, r, n, i));
3732
3746
  continue;
3733
3747
  }
3734
- if (Ut(l)) {
3735
- var T = l.options["=".concat(f)];
3748
+ if (Gt(l)) {
3749
+ var T = l.options["=".concat(c)];
3736
3750
  if (!T) {
3737
3751
  if (!Intl.PluralRules)
3738
3752
  throw new be(`Intl.PluralRules is not available in this environment.
3739
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3740
3754
  `, k.MISSING_INTL_API, s);
3741
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3755
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3742
3756
  T = l.options[Z] || l.options.other;
3743
3757
  }
3744
3758
  if (!T)
3745
- throw new dt(l.value, f, Object.keys(l.options), s);
3746
- a.push.apply(a, le(T.value, t, r, n, i, f - (l.offset || 0)));
3759
+ throw new yt(l.value, c, Object.keys(l.options), s);
3760
+ a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
3747
3761
  continue;
3748
3762
  }
3749
3763
  }
3750
- return Qn(a);
3764
+ return Yn(a);
3751
3765
  }
3752
- function Yn(e, t) {
3766
+ function Kn(e, t) {
3753
3767
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3754
3768
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3755
3769
  }, {})) : e;
3756
3770
  }
3757
- function qn(e, t) {
3771
+ function ei(e, t) {
3758
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3759
- return r[n] = Yn(e[n], t[n]), r;
3773
+ return r[n] = Kn(e[n], t[n]), r;
3760
3774
  }, g({}, e)) : e;
3761
3775
  }
3762
- function He(e) {
3776
+ function Te(e) {
3763
3777
  return {
3764
3778
  create: function() {
3765
3779
  return {
@@ -3773,39 +3787,39 @@ function He(e) {
3773
3787
  }
3774
3788
  };
3775
3789
  }
3776
- function Kn(e) {
3790
+ function ti(e) {
3777
3791
  return e === void 0 && (e = {
3778
3792
  number: {},
3779
3793
  dateTime: {},
3780
3794
  pluralRules: {}
3781
3795
  }), {
3782
- getNumberFormat: Ee(function() {
3796
+ getNumberFormat: Se(function() {
3783
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3784
3798
  r[n] = arguments[n];
3785
3799
  return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
3786
3800
  }, {
3787
- cache: He(e.number),
3788
- strategy: Se.variadic
3801
+ cache: Te(e.number),
3802
+ strategy: we.variadic
3789
3803
  }),
3790
- getDateTimeFormat: Ee(function() {
3804
+ getDateTimeFormat: Se(function() {
3791
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3792
3806
  r[n] = arguments[n];
3793
3807
  return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
3794
3808
  }, {
3795
- cache: He(e.dateTime),
3796
- strategy: Se.variadic
3809
+ cache: Te(e.dateTime),
3810
+ strategy: we.variadic
3797
3811
  }),
3798
- getPluralRules: Ee(function() {
3812
+ getPluralRules: Se(function() {
3799
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3800
3814
  r[n] = arguments[n];
3801
3815
  return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
3802
3816
  }, {
3803
- cache: He(e.pluralRules),
3804
- strategy: Se.variadic
3817
+ cache: Te(e.pluralRules),
3818
+ strategy: we.variadic
3805
3819
  })
3806
3820
  };
3807
3821
  }
3808
- var ei = (
3822
+ var ri = (
3809
3823
  /** @class */
3810
3824
  function() {
3811
3825
  function e(t, r, n, i) {
@@ -3819,8 +3833,8 @@ var ei = (
3819
3833
  var u = o.formatToParts(h);
3820
3834
  if (u.length === 1)
3821
3835
  return u[0].value;
3822
- var l = u.reduce(function(c, f) {
3823
- return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3836
+ var l = u.reduce(function(f, c) {
3837
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3824
3838
  }, []);
3825
3839
  return l.length <= 1 ? l[0] || "" : l;
3826
3840
  }, this.formatToParts = function(h) {
@@ -3837,13 +3851,13 @@ var ei = (
3837
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3838
3852
  var s = i || {};
3839
3853
  s.formatters;
3840
- var a = Ir(s, ["formatters"]);
3854
+ var a = Lr(s, ["formatters"]);
3841
3855
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3842
3856
  } else
3843
3857
  this.ast = t;
3844
3858
  if (!Array.isArray(this.ast))
3845
3859
  throw new TypeError("A message must be provided as a String or AST.");
3846
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3860
+ this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3847
3861
  }
3848
3862
  return Object.defineProperty(e, "defaultLocale", {
3849
3863
  get: function() {
@@ -3856,7 +3870,7 @@ var ei = (
3856
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3857
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3858
3872
  }
3859
- }, e.__parse = Wn, e.formats = {
3873
+ }, e.__parse = Zn, e.formats = {
3860
3874
  number: {
3861
3875
  integer: {
3862
3876
  maximumFractionDigits: 0
@@ -3917,7 +3931,7 @@ var ei = (
3917
3931
  }, e;
3918
3932
  }()
3919
3933
  );
3920
- function ti(e, t) {
3934
+ function ni(e, t) {
3921
3935
  if (t == null)
3922
3936
  return;
3923
3937
  if (t in e)
@@ -3938,92 +3952,92 @@ function ti(e, t) {
3938
3952
  n = void 0;
3939
3953
  return n;
3940
3954
  }
3941
- const I = {}, ri = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Zt = (e, t) => {
3955
+ const I = {}, ii = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Yt = (e, t) => {
3942
3956
  if (t == null)
3943
3957
  return;
3944
3958
  if (t in I && e in I[t])
3945
3959
  return I[t][e];
3946
3960
  const r = ye(t);
3947
3961
  for (let n = 0; n < r.length; n++) {
3948
- const i = r[n], o = ii(i, e);
3962
+ const i = r[n], o = si(i, e);
3949
3963
  if (o)
3950
- return ri(e, t, o);
3964
+ return ii(e, t, o);
3951
3965
  }
3952
3966
  };
3953
- let Xe;
3967
+ let ze;
3954
3968
  const ne = de({});
3955
- function ni(e) {
3956
- return Xe[e] || null;
3969
+ function oi(e) {
3970
+ return ze[e] || null;
3957
3971
  }
3958
- function Qt(e) {
3959
- return e in Xe;
3972
+ function qt(e) {
3973
+ return e in ze;
3960
3974
  }
3961
- function ii(e, t) {
3962
- if (!Qt(e))
3975
+ function si(e, t) {
3976
+ if (!qt(e))
3963
3977
  return null;
3964
- const r = ni(e);
3965
- return ti(r, t);
3978
+ const r = oi(e);
3979
+ return ni(r, t);
3966
3980
  }
3967
- function oi(e) {
3981
+ function ai(e) {
3968
3982
  if (e == null)
3969
3983
  return;
3970
3984
  const t = ye(e);
3971
3985
  for (let r = 0; r < t.length; r++) {
3972
3986
  const n = t[r];
3973
- if (Qt(n))
3987
+ if (qt(n))
3974
3988
  return n;
3975
3989
  }
3976
3990
  }
3977
- function si(e, ...t) {
3978
- delete I[e], ne.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3991
+ function ui(e, ...t) {
3992
+ delete I[e], ne.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3979
3993
  }
3980
3994
  W(
3981
3995
  [ne],
3982
3996
  ([e]) => Object.keys(e)
3983
3997
  );
3984
- ne.subscribe((e) => Xe = e);
3985
- const fe = {};
3986
- function ai(e, t) {
3987
- fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3998
+ ne.subscribe((e) => ze = e);
3999
+ const ce = {};
4000
+ function hi(e, t) {
4001
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3988
4002
  }
3989
- function Jt(e) {
3990
- return fe[e];
4003
+ function Kt(e) {
4004
+ return ce[e];
3991
4005
  }
3992
- function ui(e) {
4006
+ function li(e) {
3993
4007
  return ye(e).map((t) => {
3994
- const r = Jt(t);
4008
+ const r = Kt(t);
3995
4009
  return [t, r ? [...r] : []];
3996
4010
  }).filter(([, t]) => t.length > 0);
3997
4011
  }
3998
- function Ge(e) {
4012
+ function je(e) {
3999
4013
  return e == null ? !1 : ye(e).some(
4000
4014
  (t) => {
4001
4015
  var r;
4002
- return (r = Jt(t)) == null ? void 0 : r.size;
4016
+ return (r = Kt(t)) == null ? void 0 : r.size;
4003
4017
  }
4004
4018
  );
4005
4019
  }
4006
- function hi(e, t) {
4020
+ function ci(e, t) {
4007
4021
  return Promise.all(
4008
- t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4009
- ).then((n) => si(e, ...n));
4022
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => ui(e, ...n));
4010
4024
  }
4011
4025
  const Q = {};
4012
- function Yt(e) {
4013
- if (!Ge(e))
4026
+ function er(e) {
4027
+ if (!je(e))
4014
4028
  return e in Q ? Q[e] : Promise.resolve();
4015
- const t = ui(e);
4029
+ const t = li(e);
4016
4030
  return Q[e] = Promise.all(
4017
4031
  t.map(
4018
- ([r, n]) => hi(r, n)
4032
+ ([r, n]) => ci(r, n)
4019
4033
  )
4020
4034
  ).then(() => {
4021
- if (Ge(e))
4022
- return Yt(e);
4035
+ if (je(e))
4036
+ return er(e);
4023
4037
  delete Q[e];
4024
4038
  }), Q[e];
4025
4039
  }
4026
- const li = {
4040
+ const fi = {
4027
4041
  number: {
4028
4042
  scientific: { notation: "scientific" },
4029
4043
  engineering: { notation: "engineering" },
@@ -4052,57 +4066,57 @@ const li = {
4052
4066
  timeZoneName: "short"
4053
4067
  }
4054
4068
  }
4055
- }, fi = {
4069
+ }, mi = {
4056
4070
  fallbackLocale: null,
4057
4071
  loadingDelay: 200,
4058
- formats: li,
4072
+ formats: fi,
4059
4073
  warnOnMissingMessages: !0,
4060
4074
  handleMissingMessage: void 0,
4061
4075
  ignoreTag: !0
4062
- }, ci = fi;
4076
+ }, pi = mi;
4063
4077
  function V() {
4064
- return ci;
4065
- }
4066
- const Te = de(!1);
4067
- var mi = Object.defineProperty, pi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
4068
- for (var r in t)
4069
- bi.call(t, r) && yt(e, r, t[r]);
4070
- if (bt)
4071
- for (var r of bt(t))
4072
- yi.call(t, r) && yt(e, r, t[r]);
4078
+ return pi;
4079
+ }
4080
+ const Be = de(!1);
4081
+ var di = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4082
+ for (var r in t || (t = {}))
4083
+ gi.call(t, r) && vt(e, r, t[r]);
4084
+ if (gt)
4085
+ for (var r of gt(t))
4086
+ vi.call(t, r) && vt(e, r, t[r]);
4073
4087
  return e;
4074
- }, vi = (e, t) => pi(e, di(t));
4075
- let je;
4076
- const ce = de(null);
4077
- function gt(e) {
4088
+ }, _i = (e, t) => bi(e, yi(t));
4089
+ let ke;
4090
+ const fe = de(null);
4091
+ function xt(e) {
4078
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4079
4093
  }
4080
4094
  function ye(e, t = V().fallbackLocale) {
4081
- const r = gt(e);
4082
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4095
+ const r = xt(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4083
4097
  }
4084
4098
  function L() {
4085
- return je != null ? je : void 0;
4099
+ return ke != null ? ke : void 0;
4086
4100
  }
4087
- ce.subscribe((e) => {
4088
- je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ fe.subscribe((e) => {
4102
+ ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4089
4103
  });
4090
- const xi = (e) => {
4091
- if (e && oi(e) && Ge(e)) {
4104
+ const Ei = (e) => {
4105
+ if (e && ai(e) && je(e)) {
4092
4106
  const { loadingDelay: t } = V();
4093
4107
  let r;
4094
4108
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
4095
- () => Te.set(!0),
4109
+ () => Be.set(!0),
4096
4110
  t
4097
- ) : Te.set(!0), Yt(e).then(() => {
4098
- ce.set(e);
4111
+ ) : Be.set(!0), er(e).then(() => {
4112
+ fe.set(e);
4099
4113
  }).finally(() => {
4100
- clearTimeout(r), Te.set(!1);
4114
+ clearTimeout(r), Be.set(!1);
4101
4115
  });
4102
4116
  }
4103
- return ce.set(e);
4104
- }, ie = vi(gi({}, ce), {
4105
- set: xi
4117
+ return fe.set(e);
4118
+ }, ie = _i(xi({}, fe), {
4119
+ set: Ei
4106
4120
  }), ge = (e) => {
4107
4121
  const t = /* @__PURE__ */ Object.create(null);
4108
4122
  return (n) => {
@@ -4110,20 +4124,20 @@ const xi = (e) => {
4110
4124
  return i in t ? t[i] : t[i] = e(n);
4111
4125
  };
4112
4126
  };
4113
- var _i = Object.defineProperty, me = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4127
+ var Si = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4114
4128
  for (var r in t || (t = {}))
4115
- qt.call(t, r) && vt(e, r, t[r]);
4129
+ tr.call(t, r) && _t(e, r, t[r]);
4116
4130
  if (me)
4117
4131
  for (var r of me(t))
4118
- Kt.call(t, r) && vt(e, r, t[r]);
4132
+ rr.call(t, r) && _t(e, r, t[r]);
4119
4133
  return e;
4120
4134
  }, z = (e, t) => {
4121
4135
  var r = {};
4122
4136
  for (var n in e)
4123
- qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4137
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4124
4138
  if (e != null && me)
4125
4139
  for (var n of me(e))
4126
- t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4140
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4127
4141
  return r;
4128
4142
  };
4129
4143
  const ee = (e, t) => {
@@ -4131,21 +4145,21 @@ const ee = (e, t) => {
4131
4145
  if (e in r && t in r[e])
4132
4146
  return r[e][t];
4133
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4134
- }, Ei = ge(
4148
+ }, wi = ge(
4135
4149
  (e) => {
4136
4150
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4137
4151
  if (r == null)
4138
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4139
4153
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4140
4154
  }
4141
- ), Si = ge(
4155
+ ), Hi = ge(
4142
4156
  (e) => {
4143
4157
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4144
4158
  if (r == null)
4145
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4146
4160
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4147
4161
  }
4148
- ), wi = ge(
4162
+ ), Ti = ge(
4149
4163
  (e) => {
4150
4164
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4151
4165
  if (r == null)
@@ -4154,33 +4168,33 @@ const ee = (e, t) => {
4154
4168
  );
4155
4169
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4156
4170
  }
4157
- ), Hi = (e = {}) => {
4171
+ ), Bi = (e = {}) => {
4158
4172
  var t = e, {
4159
4173
  locale: r = L()
4160
4174
  } = t, n = z(t, [
4161
4175
  "locale"
4162
4176
  ]);
4163
- return Ei(We({ locale: r }, n));
4164
- }, Ti = (e = {}) => {
4177
+ return wi(Ze({ locale: r }, n));
4178
+ }, Ai = (e = {}) => {
4165
4179
  var t = e, {
4166
4180
  locale: r = L()
4167
4181
  } = t, n = z(t, [
4168
4182
  "locale"
4169
4183
  ]);
4170
- return Si(We({ locale: r }, n));
4171
- }, Bi = (e = {}) => {
4184
+ return Hi(Ze({ locale: r }, n));
4185
+ }, Pi = (e = {}) => {
4172
4186
  var t = e, {
4173
4187
  locale: r = L()
4174
4188
  } = t, n = z(t, [
4175
4189
  "locale"
4176
4190
  ]);
4177
- return wi(We({ locale: r }, n));
4178
- }, Ai = ge(
4191
+ return Ti(Ze({ locale: r }, n));
4192
+ }, Oi = ge(
4179
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4180
- (e, t = L()) => new ei(e, t, V().formats, {
4194
+ (e, t = L()) => new ri(e, t, V().formats, {
4181
4195
  ignoreTag: V().ignoreTag
4182
4196
  })
4183
- ), Pi = (e, t = {}) => {
4197
+ ), Ii = (e, t = {}) => {
4184
4198
  var r, n, i, o;
4185
4199
  let s = t;
4186
4200
  typeof e == "object" && (s = e, e = s.id);
@@ -4193,7 +4207,7 @@ const ee = (e, t) => {
4193
4207
  throw new Error(
4194
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4195
4209
  );
4196
- let l = Zt(e, h);
4210
+ let l = Yt(e, h);
4197
4211
  if (!l)
4198
4212
  l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4199
4213
  else if (typeof l != "string")
@@ -4202,31 +4216,31 @@ const ee = (e, t) => {
4202
4216
  ), l;
4203
4217
  if (!a)
4204
4218
  return l;
4205
- let c = l;
4219
+ let f = l;
4206
4220
  try {
4207
- c = Ai(l, h).format(a);
4208
- } catch (f) {
4209
- f instanceof Error && console.warn(
4221
+ f = Oi(l, h).format(a);
4222
+ } catch (c) {
4223
+ c instanceof Error && console.warn(
4210
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
4211
- f.message
4225
+ c.message
4212
4226
  );
4213
4227
  }
4214
- return c;
4215
- }, Oi = (e, t) => Bi(t).format(e), Ii = (e, t) => Ti(t).format(e), Ni = (e, t) => Hi(t).format(e), Ci = (e, t = L()) => Zt(e, t);
4216
- W([ie, ne], () => Pi);
4217
- W([ie], () => Oi);
4218
- W([ie], () => Ii);
4228
+ return f;
4229
+ }, Ci = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t) => Bi(t).format(e), Mi = (e, t = L()) => Yt(e, t);
4230
+ W([ie, ne], () => Ii);
4231
+ W([ie], () => Ci);
4219
4232
  W([ie], () => Ni);
4220
- W([ie, ne], () => Ci);
4221
- window.emWidgets = { topic: Xr };
4222
- const Li = (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));
4223
- function Mi(e, t) {
4233
+ W([ie], () => Li);
4234
+ W([ie, ne], () => Mi);
4235
+ window.emWidgets = { topic: Zr };
4236
+ const $i = (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));
4237
+ function Ri(e, t) {
4224
4238
  if (e) {
4225
4239
  const r = document.createElement("style");
4226
4240
  r.innerHTML = t, e.appendChild(r);
4227
4241
  }
4228
4242
  }
4229
- function $i(e, t) {
4243
+ function Ui(e, t) {
4230
4244
  const r = new URL(t);
4231
4245
  fetch(r.href).then((n) => n.text()).then((n) => {
4232
4246
  const i = document.createElement("style");
@@ -4235,7 +4249,7 @@ function $i(e, t) {
4235
4249
  console.error("There was an error while trying to load client styling from URL", n);
4236
4250
  });
4237
4251
  }
4238
- function Ri(e, t, r) {
4252
+ function Di(e, t, r) {
4239
4253
  if (window.emMessageBus) {
4240
4254
  const n = document.createElement("style");
4241
4255
  window.emMessageBus.subscribe(t, (i) => {
@@ -4243,46 +4257,46 @@ function Ri(e, t, r) {
4243
4257
  });
4244
4258
  }
4245
4259
  }
4246
- function Ui(e) {
4247
- ar(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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, #22B04E));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}}");
4260
+ function Fi(e) {
4261
+ lr(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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, #22B04E));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}}");
4248
4262
  }
4249
- function xt(e) {
4250
- let t, r, n, i, o, s, a, h, u, l, c, f;
4263
+ function Et(e) {
4264
+ let t, r, n, i, o, s, a, h, u, l, f, c;
4251
4265
  function p(d, S) {
4252
4266
  return (
4253
4267
  /*isLoading*/
4254
- d[3] ? Fi : Di
4268
+ d[3] ? ji : Gi
4255
4269
  );
4256
4270
  }
4257
4271
  let v = p(e), m = v(e);
4258
4272
  return {
4259
4273
  c() {
4260
- t = F("button"), r = F("small"), m.c(), n = lr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), _(r, "class", "betslipIndicator__number"), _(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
4274
+ t = F("button"), r = F("small"), m.c(), n = mr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), _(r, "class", "betslipIndicator__number"), _(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
4261
4275
  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
4262
4276
  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
4263
- 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`), _(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"), _(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"), _(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"), _(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"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), pr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4277
+ 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`), _(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"), _(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"), _(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"), _(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"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), yr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4264
4278
  },
4265
4279
  m(d, S) {
4266
- re(d, t, S), 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), c || (f = fr(
4280
+ re(d, t, S), 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 = pr(
4267
4281
  t,
4268
4282
  "click",
4269
4283
  /*click_handler*/
4270
4284
  e[8]
4271
- ), c = !0);
4285
+ ), f = !0);
4272
4286
  },
4273
4287
  p(d, S) {
4274
4288
  v === (v = p(d)) && m ? m.p(d, S) : (m.d(1), m = v(d), m && (m.c(), m.m(r, null)));
4275
4289
  },
4276
4290
  d(d) {
4277
- d && X(t), m.d(), c = !1, f();
4291
+ d && X(t), m.d(), f = !1, c();
4278
4292
  }
4279
4293
  };
4280
4294
  }
4281
- function Di(e) {
4295
+ function Gi(e) {
4282
4296
  let t;
4283
4297
  return {
4284
4298
  c() {
4285
- t = St(
4299
+ t = Ht(
4286
4300
  /*betNumber*/
4287
4301
  e[1]
4288
4302
  );
@@ -4292,7 +4306,7 @@ function Di(e) {
4292
4306
  },
4293
4307
  p(r, n) {
4294
4308
  n & /*betNumber*/
4295
- 2 && mr(
4309
+ 2 && br(
4296
4310
  t,
4297
4311
  /*betNumber*/
4298
4312
  r[1]
@@ -4303,7 +4317,7 @@ function Di(e) {
4303
4317
  }
4304
4318
  };
4305
4319
  }
4306
- function Fi(e) {
4320
+ function ji(e) {
4307
4321
  let t;
4308
4322
  return {
4309
4323
  c() {
@@ -4318,11 +4332,11 @@ function Fi(e) {
4318
4332
  }
4319
4333
  };
4320
4334
  }
4321
- function Gi(e) {
4335
+ function ki(e) {
4322
4336
  let t, r = (
4323
4337
  /*mobileView*/
4324
4338
  e[2] && /*betNumber*/
4325
- e[1] > 0 && xt(e)
4339
+ e[1] > 0 && Et(e)
4326
4340
  );
4327
4341
  return {
4328
4342
  c() {
@@ -4334,7 +4348,7 @@ function Gi(e) {
4334
4348
  p(n, [i]) {
4335
4349
  /*mobileView*/
4336
4350
  n[2] && /*betNumber*/
4337
- n[1] > 0 ? r ? r.p(n, i) : (r = xt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4351
+ n[1] > 0 ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4338
4352
  },
4339
4353
  i: H,
4340
4354
  o: H,
@@ -4343,11 +4357,11 @@ function Gi(e) {
4343
4357
  }
4344
4358
  };
4345
4359
  }
4346
- function ji(e, t, r) {
4360
+ function Vi(e, t, r) {
4347
4361
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
4348
- const c = () => {
4362
+ const f = () => {
4349
4363
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4350
- }, f = (d, S) => {
4364
+ }, c = (d, S) => {
4351
4365
  s.dispatchEvent(new CustomEvent(
4352
4366
  d,
4353
4367
  {
@@ -4366,12 +4380,12 @@ function ji(e, t, r) {
4366
4380
  break;
4367
4381
  }
4368
4382
  };
4369
- yr(() => (c(), window.addEventListener("message", p, !1), Li(a) && r(2, u = !0), () => {
4383
+ xr(() => (f(), window.addEventListener("message", p, !1), $i(a) && r(2, u = !0), () => {
4370
4384
  window.removeEventListener("message", p);
4371
4385
  }));
4372
- const v = (d) => f("betslipClick", {});
4386
+ const v = (d) => c("betslipClick", {});
4373
4387
  function m(d) {
4374
- Be[d ? "unshift" : "push"](() => {
4388
+ Ae[d ? "unshift" : "push"](() => {
4375
4389
  s = d, r(0, s);
4376
4390
  });
4377
4391
  }
@@ -4379,15 +4393,15 @@ function ji(e, t, r) {
4379
4393
  "clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
4380
4394
  }, e.$$.update = () => {
4381
4395
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4382
- 33 && n && s && Mi(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4383
- 65 && i && s && $i(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4384
- 129 && o && s && Ri(s, `${o}.Style`);
4396
+ 33 && n && s && Ri(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4397
+ 65 && i && s && Ui(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4398
+ 129 && o && s && Di(s, `${o}.Style`);
4385
4399
  }, [
4386
4400
  s,
4387
4401
  h,
4388
4402
  u,
4389
4403
  l,
4390
- f,
4404
+ c,
4391
4405
  n,
4392
4406
  i,
4393
4407
  o,
@@ -4395,20 +4409,20 @@ function ji(e, t, r) {
4395
4409
  m
4396
4410
  ];
4397
4411
  }
4398
- class ki extends Pr {
4412
+ class Xi extends Cr {
4399
4413
  constructor(t) {
4400
- super(), Br(
4414
+ super(), Or(
4401
4415
  this,
4402
4416
  t,
4403
- ji,
4404
- Gi,
4405
- Et,
4417
+ Vi,
4418
+ ki,
4419
+ wt,
4406
4420
  {
4407
4421
  clientstyling: 5,
4408
4422
  clientstylingurl: 6,
4409
4423
  mbsource: 7
4410
4424
  },
4411
- Ui
4425
+ Fi
4412
4426
  );
4413
4427
  }
4414
4428
  get clientstyling() {
@@ -4430,7 +4444,7 @@ class ki extends Pr {
4430
4444
  this.$$set({ mbsource: t }), Y();
4431
4445
  }
4432
4446
  }
4433
- Ar(ki, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4447
+ Ir(Xi, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4434
4448
  export {
4435
- ki as default
4449
+ Xi as default
4436
4450
  };