@everymatrix/casino-betslip-indicator 1.86.1 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function I() {
1
+ function O() {
2
2
  }
3
- function Ot(e) {
3
+ function Tt(e) {
4
4
  return e();
5
5
  }
6
- function nt() {
6
+ function tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function k(e) {
10
- e.forEach(Ot);
10
+ e.forEach(Tt);
11
11
  }
12
- function Ke(e) {
12
+ function Je(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Pt(e, t) {
15
+ function At(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function vr(e) {
18
+ function yr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function It(e, ...t) {
21
+ function Pt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return I;
25
+ return O;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function _r(e, t, r) {
31
- e.$$.on_destroy.push(It(t, r));
30
+ function vr(e, t, r) {
31
+ e.$$.on_destroy.push(Pt(t, r));
32
32
  }
33
33
  function w(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Er(e, t, r) {
37
- const n = xr(e);
36
+ function _r(e, t, r) {
37
+ const n = Er(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = O("style");
40
- i.id = t, i.textContent = r, Br(n, i);
39
+ const i = P("style");
40
+ i.id = t, i.textContent = r, xr(n, i);
41
41
  }
42
42
  }
43
- function xr(e) {
43
+ function Er(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function xr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Br(e, t) {
53
+ function xr(e, t) {
54
54
  return w(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -63,7 +63,7 @@ function S(e, t, r) {
63
63
  function B(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function O(e) {
66
+ function P(e) {
67
67
  return document.createElement(e);
68
68
  }
69
69
  function F(e) {
@@ -72,26 +72,26 @@ function F(e) {
72
72
  function U(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function Q() {
75
+ function Y() {
76
76
  return U(" ");
77
77
  }
78
78
  function Z(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
- function _(e, t, r) {
81
+ function E(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function Sr(e) {
84
+ function Br(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
87
  function G(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function wr(e, t, r, n) {
91
+ function Sr(e, t, r, n) {
92
92
  e.style.setProperty(t, r, "");
93
93
  }
94
- function Hr(e) {
94
+ function wr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -100,95 +100,95 @@ function Hr(e) {
100
100
  }
101
101
  ), t;
102
102
  }
103
- let se;
104
- function oe(e) {
105
- se = e;
103
+ let ae;
104
+ function se(e) {
105
+ ae = e;
106
106
  }
107
- function Tr() {
108
- if (!se)
107
+ function Hr() {
108
+ if (!ae)
109
109
  throw new Error("Function called outside component initialization");
110
- return se;
110
+ return ae;
111
111
  }
112
- function Ar(e) {
113
- Tr().$$.on_mount.push(e);
112
+ function Tr(e) {
113
+ Hr().$$.on_mount.push(e);
114
114
  }
115
- const W = [], Me = [];
115
+ const W = [], Le = [];
116
116
  let J = [];
117
- const it = [], Or = /* @__PURE__ */ Promise.resolve();
118
- let Re = !1;
117
+ const rt = [], Ar = /* @__PURE__ */ Promise.resolve();
118
+ let Ne = !1;
119
119
  function Pr() {
120
- Re || (Re = !0, Or.then(M));
120
+ Ne || (Ne = !0, Ar.then(N));
121
121
  }
122
- function $e(e) {
122
+ function Me(e) {
123
123
  J.push(e);
124
124
  }
125
- const Te = /* @__PURE__ */ new Set();
125
+ const we = /* @__PURE__ */ new Set();
126
126
  let X = 0;
127
- function M() {
127
+ function N() {
128
128
  if (X !== 0)
129
129
  return;
130
- const e = se;
130
+ const e = ae;
131
131
  do {
132
132
  try {
133
133
  for (; X < W.length; ) {
134
134
  const t = W[X];
135
- X++, oe(t), Ir(t.$$);
135
+ X++, se(t), Ir(t.$$);
136
136
  }
137
137
  } catch (t) {
138
138
  throw W.length = 0, X = 0, t;
139
139
  }
140
- for (oe(null), W.length = 0, X = 0; Me.length; )
141
- Me.pop()();
140
+ for (se(null), W.length = 0, X = 0; Le.length; )
141
+ Le.pop()();
142
142
  for (let t = 0; t < J.length; t += 1) {
143
143
  const r = J[t];
144
- Te.has(r) || (Te.add(r), r());
144
+ we.has(r) || (we.add(r), r());
145
145
  }
146
146
  J.length = 0;
147
147
  } while (W.length);
148
- for (; it.length; )
149
- it.pop()();
150
- Re = !1, Te.clear(), oe(e);
148
+ for (; rt.length; )
149
+ rt.pop()();
150
+ Ne = !1, we.clear(), se(e);
151
151
  }
152
152
  function Ir(e) {
153
153
  if (e.fragment !== null) {
154
154
  e.update(), k(e.before_update);
155
155
  const t = e.dirty;
156
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
156
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
157
157
  }
158
158
  }
159
- function Cr(e) {
159
+ function Or(e) {
160
160
  const t = [], r = [];
161
161
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
162
162
  }
163
- const Nr = /* @__PURE__ */ new Set();
163
+ const Cr = /* @__PURE__ */ new Set();
164
164
  function Lr(e, t) {
165
- e && e.i && (Nr.delete(e), e.i(t));
165
+ e && e.i && (Cr.delete(e), e.i(t));
166
166
  }
167
- function Mr(e, t, r) {
167
+ function Nr(e, t, r) {
168
168
  const { fragment: n, after_update: i } = e.$$;
169
- n && n.m(t, r), $e(() => {
170
- const o = e.$$.on_mount.map(Ot).filter(Ke);
169
+ n && n.m(t, r), Me(() => {
170
+ const o = e.$$.on_mount.map(Tt).filter(Je);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
172
- }), i.forEach($e);
172
+ }), i.forEach(Me);
173
173
  }
174
- function Rr(e, t) {
174
+ function Mr(e, t) {
175
175
  const r = e.$$;
176
- r.fragment !== null && (Cr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
176
+ r.fragment !== null && (Or(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
177
  }
178
- function $r(e, t) {
178
+ function Rr(e, t) {
179
179
  e.$$.dirty[0] === -1 && (W.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
180
180
  }
181
- function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
182
- const l = se;
183
- oe(e);
181
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
182
+ const l = ae;
183
+ se(e);
184
184
  const u = e.$$ = {
185
185
  fragment: null,
186
186
  ctx: [],
187
187
  // state
188
188
  props: o,
189
- update: I,
189
+ update: O,
190
190
  not_equal: i,
191
- bound: nt(),
191
+ bound: tt(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,7 +197,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(t.context || (l ? l.$$.context : [])),
199
199
  // everything else
200
- callbacks: nt(),
200
+ callbacks: tt(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: t.target || l.$$.root
@@ -206,19 +206,19 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  let h = !1;
207
207
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
208
208
  const d = p.length ? p[0] : f;
209
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && $r(e, c)), f;
209
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Rr(e, c)), f;
210
210
  }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
211
  if (t.hydrate) {
212
- const c = Sr(t.target);
212
+ const c = Br(t.target);
213
213
  u.fragment && u.fragment.l(c), c.forEach(B);
214
214
  } else
215
215
  u.fragment && u.fragment.c();
216
- t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), M();
216
+ t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), N();
217
217
  }
218
- oe(l);
218
+ se(l);
219
219
  }
220
- let Ct;
221
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
220
+ let It;
221
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -260,7 +260,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
260
260
  let o;
261
261
  return {
262
262
  c: function() {
263
- o = O("slot"), i !== "default" && _(o, "name", i);
263
+ o = P("slot"), i !== "default" && E(o, "name", i);
264
264
  },
265
265
  /**
266
266
  * @param {HTMLElement} target
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const t = {}, r = Hr(this);
280
+ const t = {}, r = wr(this);
281
281
  for (const i of this.$$s)
282
282
  i in r && (t[i] = [e(i)]);
283
283
  for (const i of this.attributes) {
@@ -364,8 +364,8 @@ function pe(e, t, r, n) {
364
364
  return t;
365
365
  }
366
366
  }
367
- function Dr(e, t, r, n, i, o) {
368
- let s = class extends Ct {
367
+ function Ur(e, t, r, n, i, o) {
368
+ let s = class extends It {
369
369
  constructor() {
370
370
  super(e, r, i), this.$$p_d = t;
371
371
  }
@@ -393,7 +393,7 @@ function Dr(e, t, r, n, i, o) {
393
393
  }), e.element = /** @type {any} */
394
394
  s, s;
395
395
  }
396
- class Fr {
396
+ class Dr {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class Fr {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- Rr(this, 1), this.$destroy = I;
415
+ Mr(this, 1), this.$destroy = O;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -421,8 +421,8 @@ class Fr {
421
421
  * @returns {() => void}
422
422
  */
423
423
  $on(t, r) {
424
- if (!Ke(r))
425
- return I;
424
+ if (!Je(r))
425
+ return O;
426
426
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
427
427
  return n.push(r), () => {
428
428
  const i = n.indexOf(r);
@@ -434,11 +434,11 @@ class Fr {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(t) {
437
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
437
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Gr = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
440
+ const Fr = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
442
442
  /*! *****************************************************************************
443
443
  Copyright (c) Microsoft Corporation.
444
444
 
@@ -453,24 +453,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
453
453
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
454
454
  PERFORMANCE OF THIS SOFTWARE.
455
455
  ***************************************************************************** */
456
- var Ue = function(e, t) {
457
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
+ var Re = function(e, t) {
457
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
458
458
  r.__proto__ = n;
459
459
  } || function(r, n) {
460
460
  for (var i in n)
461
461
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
462
- }, Ue(e, t);
462
+ }, Re(e, t);
463
463
  };
464
- function le(e, t) {
464
+ function R(e, t) {
465
465
  if (typeof t != "function" && t !== null)
466
466
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
467
- Ue(e, t);
467
+ Re(e, t);
468
468
  function r() {
469
469
  this.constructor = e;
470
470
  }
471
471
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
472
472
  }
473
- function De(e) {
473
+ var _ = function() {
474
+ return _ = Object.assign || function(t) {
475
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
476
+ r = arguments[n];
477
+ for (var o in r)
478
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
479
+ }
480
+ return t;
481
+ }, _.apply(this, arguments);
482
+ };
483
+ function Gr(e, t) {
484
+ var r = {};
485
+ for (var n in e)
486
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
487
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
488
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
489
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
490
+ return r;
491
+ }
492
+ function $e(e) {
474
493
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
475
494
  if (r)
476
495
  return r.call(e);
@@ -482,7 +501,7 @@ function De(e) {
482
501
  };
483
502
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
484
503
  }
485
- function Fe(e, t) {
504
+ function Ue(e, t) {
486
505
  var r = typeof Symbol == "function" && e[Symbol.iterator];
487
506
  if (!r)
488
507
  return e;
@@ -502,22 +521,22 @@ function Fe(e, t) {
502
521
  }
503
522
  return o;
504
523
  }
505
- function Ge(e, t, r) {
506
- if (arguments.length === 2)
524
+ function Q(e, t, r) {
525
+ if (r || arguments.length === 2)
507
526
  for (var n = 0, i = t.length, o; n < i; n++)
508
527
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
509
528
  return e.concat(o || t);
510
529
  }
511
- function R(e) {
530
+ function M(e) {
512
531
  return typeof e == "function";
513
532
  }
514
- function Nt(e) {
533
+ function Ot(e) {
515
534
  var t = function(n) {
516
535
  Error.call(n), n.stack = new Error().stack;
517
536
  }, r = e(t);
518
537
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
519
538
  }
520
- var Ae = Nt(function(e) {
539
+ var He = Ot(function(e) {
521
540
  return function(r) {
522
541
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
523
542
  ` + r.map(function(n, i) {
@@ -526,13 +545,13 @@ var Ae = Nt(function(e) {
526
545
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
527
546
  };
528
547
  });
529
- function ke(e, t) {
548
+ function De(e, t) {
530
549
  if (e) {
531
550
  var r = e.indexOf(t);
532
551
  0 <= r && e.splice(r, 1);
533
552
  }
534
553
  }
535
- var Ee = function() {
554
+ var _e = function() {
536
555
  function e(t) {
537
556
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
538
557
  }
@@ -544,7 +563,7 @@ var Ee = function() {
544
563
  if (s)
545
564
  if (this._parentage = null, Array.isArray(s))
546
565
  try {
547
- for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
566
+ for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
548
567
  var u = l.value;
549
568
  u.remove(this);
550
569
  }
@@ -561,22 +580,22 @@ var Ee = function() {
561
580
  else
562
581
  s.remove(this);
563
582
  var h = this.initialTeardown;
564
- if (R(h))
583
+ if (M(h))
565
584
  try {
566
585
  h();
567
586
  } catch (m) {
568
- o = m instanceof Ae ? m.errors : [m];
587
+ o = m instanceof He ? m.errors : [m];
569
588
  }
570
589
  var c = this._finalizers;
571
590
  if (c) {
572
591
  this._finalizers = null;
573
592
  try {
574
- for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
593
+ for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
575
594
  var d = p.value;
576
595
  try {
577
- ot(d);
596
+ nt(d);
578
597
  } catch (m) {
579
- o = o ?? [], m instanceof Ae ? o = Ge(Ge([], Fe(o)), Fe(m.errors)) : o.push(m);
598
+ o = o ?? [], m instanceof He ? o = Q(Q([], Ue(o)), Ue(m.errors)) : o.push(m);
580
599
  }
581
600
  }
582
601
  } catch (m) {
@@ -591,13 +610,13 @@ var Ee = function() {
591
610
  }
592
611
  }
593
612
  if (o)
594
- throw new Ae(o);
613
+ throw new He(o);
595
614
  }
596
615
  }, e.prototype.add = function(t) {
597
616
  var r;
598
617
  if (t && t !== this)
599
618
  if (this.closed)
600
- ot(t);
619
+ nt(t);
601
620
  else {
602
621
  if (t instanceof e) {
603
622
  if (t.closed || t._hasParent(this))
@@ -614,52 +633,56 @@ var Ee = function() {
614
633
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
615
634
  }, e.prototype._removeParent = function(t) {
616
635
  var r = this._parentage;
617
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
636
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
618
637
  }, e.prototype.remove = function(t) {
619
638
  var r = this._finalizers;
620
- r && ke(r, t), t instanceof e && t._removeParent(this);
639
+ r && De(r, t), t instanceof e && t._removeParent(this);
621
640
  }, e.EMPTY = function() {
622
641
  var t = new e();
623
642
  return t.closed = !0, t;
624
643
  }(), e;
625
- }(), Lt = Ee.EMPTY;
626
- function Mt(e) {
627
- return e instanceof Ee || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
628
- }
629
- function ot(e) {
630
- R(e) ? e() : e.unsubscribe();
631
- }
632
- var kr = {
633
- Promise: void 0
634
- }, jr = {
644
+ }(), Ct = _e.EMPTY;
645
+ function Lt(e) {
646
+ return e instanceof _e || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
647
+ }
648
+ function nt(e) {
649
+ M(e) ? e() : e.unsubscribe();
650
+ }
651
+ var Nt = {
652
+ onUnhandledError: null,
653
+ onStoppedNotification: null,
654
+ Promise: void 0,
655
+ useDeprecatedSynchronousErrorHandling: !1,
656
+ useDeprecatedNextContext: !1
657
+ }, kr = {
635
658
  setTimeout: function(e, t) {
636
659
  for (var r = [], n = 2; n < arguments.length; n++)
637
660
  r[n - 2] = arguments[n];
638
- return setTimeout.apply(void 0, Ge([e, t], Fe(r)));
661
+ return setTimeout.apply(void 0, Q([e, t], Ue(r)));
639
662
  },
640
663
  clearTimeout: function(e) {
641
664
  return clearTimeout(e);
642
665
  },
643
666
  delegate: void 0
644
667
  };
645
- function Vr(e) {
646
- jr.setTimeout(function() {
668
+ function jr(e) {
669
+ kr.setTimeout(function() {
647
670
  throw e;
648
671
  });
649
672
  }
650
- function st() {
673
+ function it() {
651
674
  }
652
675
  function de(e) {
653
676
  e();
654
677
  }
655
- var Rt = function(e) {
656
- le(t, e);
678
+ var Mt = function(e) {
679
+ R(t, e);
657
680
  function t(r) {
658
681
  var n = e.call(this) || this;
659
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Wr, n;
682
+ return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Wr, n;
660
683
  }
661
684
  return t.create = function(r, n, i) {
662
- return new je(r, n, i);
685
+ return new Fe(r, n, i);
663
686
  }, t.prototype.next = function(r) {
664
687
  this.isStopped || this._next(r);
665
688
  }, t.prototype.error = function(r) {
@@ -683,7 +706,11 @@ var Rt = function(e) {
683
706
  this.unsubscribe();
684
707
  }
685
708
  }, t;
686
- }(Ee), Xr = function() {
709
+ }(_e), Vr = Function.prototype.bind;
710
+ function Te(e, t) {
711
+ return Vr.call(e, t);
712
+ }
713
+ var Xr = function() {
687
714
  function e(t) {
688
715
  this.partialObserver = t;
689
716
  }
@@ -714,29 +741,41 @@ var Rt = function(e) {
714
741
  fe(r);
715
742
  }
716
743
  }, e;
717
- }(), je = function(e) {
718
- le(t, e);
744
+ }(), Fe = function(e) {
745
+ R(t, e);
719
746
  function t(r, n, i) {
720
747
  var o = e.call(this) || this, s;
721
- return R(r) || !r ? s = {
722
- next: r ?? void 0,
723
- error: n ?? void 0,
724
- complete: i ?? void 0
725
- } : s = r, o.destination = new Xr(s), o;
748
+ if (M(r) || !r)
749
+ s = {
750
+ next: r ?? void 0,
751
+ error: n ?? void 0,
752
+ complete: i ?? void 0
753
+ };
754
+ else {
755
+ var a;
756
+ o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
757
+ return o.unsubscribe();
758
+ }, s = {
759
+ next: r.next && Te(r.next, a),
760
+ error: r.error && Te(r.error, a),
761
+ complete: r.complete && Te(r.complete, a)
762
+ }) : s = r;
763
+ }
764
+ return o.destination = new Xr(s), o;
726
765
  }
727
766
  return t;
728
- }(Rt);
767
+ }(Mt);
729
768
  function fe(e) {
730
- Vr(e);
769
+ jr(e);
731
770
  }
732
771
  function zr(e) {
733
772
  throw e;
734
773
  }
735
774
  var Wr = {
736
775
  closed: !0,
737
- next: st,
776
+ next: it,
738
777
  error: zr,
739
- complete: st
778
+ complete: it
740
779
  }, Zr = function() {
741
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
742
781
  }();
@@ -750,7 +789,7 @@ function Qr(e) {
750
789
  }, r);
751
790
  };
752
791
  }
753
- var at = function() {
792
+ var ot = function() {
754
793
  function e(t) {
755
794
  t && (this._subscribe = t);
756
795
  }
@@ -758,7 +797,7 @@ var at = function() {
758
797
  var r = new e();
759
798
  return r.source = this, r.operator = t, r;
760
799
  }, e.prototype.subscribe = function(t, r, n) {
761
- var i = this, o = qr(t) ? t : new je(t, r, n);
800
+ var i = this, o = qr(t) ? t : new Fe(t, r, n);
762
801
  return de(function() {
763
802
  var s = i, a = s.operator, l = s.source;
764
803
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -771,8 +810,8 @@ var at = function() {
771
810
  }
772
811
  }, e.prototype.forEach = function(t, r) {
773
812
  var n = this;
774
- return r = ut(r), new r(function(i, o) {
775
- var s = new je({
813
+ return r = st(r), new r(function(i, o) {
814
+ var s = new Fe({
776
815
  next: function(a) {
777
816
  try {
778
817
  t(a);
@@ -796,7 +835,7 @@ var at = function() {
796
835
  return Qr(t)(this);
797
836
  }, e.prototype.toPromise = function(t) {
798
837
  var r = this;
799
- return t = ut(t), new t(function(n, i) {
838
+ return t = st(t), new t(function(n, i) {
800
839
  var o;
801
840
  r.subscribe(function(s) {
802
841
  return o = s;
@@ -810,28 +849,28 @@ var at = function() {
810
849
  return new e(t);
811
850
  }, e;
812
851
  }();
813
- function ut(e) {
852
+ function st(e) {
814
853
  var t;
815
- return (t = e ?? kr.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
816
855
  }
817
856
  function Yr(e) {
818
- return e && R(e.next) && R(e.error) && R(e.complete);
857
+ return e && M(e.next) && M(e.error) && M(e.complete);
819
858
  }
820
859
  function qr(e) {
821
- return e && e instanceof Rt || Yr(e) && Mt(e);
860
+ return e && e instanceof Mt || Yr(e) && Lt(e);
822
861
  }
823
- var Kr = Nt(function(e) {
862
+ var Kr = Ot(function(e) {
824
863
  return function() {
825
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
826
865
  };
827
- }), $t = function(e) {
828
- le(t, e);
866
+ }), Rt = function(e) {
867
+ R(t, e);
829
868
  function t() {
830
869
  var r = e.call(this) || this;
831
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
832
871
  }
833
872
  return t.prototype.lift = function(r) {
834
- var n = new lt(this, this);
873
+ var n = new at(this, this);
835
874
  return n.operator = r, n;
836
875
  }, t.prototype._throwIfClosed = function() {
837
876
  if (this.closed)
@@ -843,7 +882,7 @@ var Kr = Nt(function(e) {
843
882
  if (n._throwIfClosed(), !n.isStopped) {
844
883
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
845
884
  try {
846
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
847
886
  var l = a.value;
848
887
  l.next(r);
849
888
  }
@@ -892,20 +931,20 @@ var Kr = Nt(function(e) {
892
931
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
893
932
  }, t.prototype._innerSubscribe = function(r) {
894
933
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
895
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new Ee(function() {
896
- n.currentObservers = null, ke(a, r);
934
+ return o || s ? Ct : (this.currentObservers = null, a.push(r), new _e(function() {
935
+ n.currentObservers = null, De(a, r);
897
936
  }));
898
937
  }, t.prototype._checkFinalizedStatuses = function(r) {
899
938
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
900
939
  i ? r.error(o) : s && r.complete();
901
940
  }, t.prototype.asObservable = function() {
902
- var r = new at();
941
+ var r = new ot();
903
942
  return r.source = this, r;
904
943
  }, t.create = function(r, n) {
905
- return new lt(r, n);
944
+ return new at(r, n);
906
945
  }, t;
907
- }(at), lt = function(e) {
908
- le(t, e);
946
+ }(ot), at = function(e) {
947
+ R(t, e);
909
948
  function t(r, n) {
910
949
  var i = e.call(this) || this;
911
950
  return i.destination = r, i.source = n, i;
@@ -921,17 +960,17 @@ var Kr = Nt(function(e) {
921
960
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
922
961
  }, t.prototype._subscribe = function(r) {
923
962
  var n, i;
924
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
963
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
925
964
  }, t;
926
- }($t), Ut = {
965
+ }(Rt), $t = {
927
966
  now: function() {
928
- return (Ut.delegate || Date).now();
967
+ return ($t.delegate || Date).now();
929
968
  },
930
969
  delegate: void 0
931
970
  }, en = function(e) {
932
- le(t, e);
971
+ R(t, e);
933
972
  function t(r, n, i) {
934
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
973
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
935
974
  var o = e.call(this) || this;
936
975
  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;
937
976
  }
@@ -951,24 +990,24 @@ var Kr = Nt(function(e) {
951
990
  u && o.splice(0, u + 1);
952
991
  }
953
992
  }, t;
954
- }($t);
955
- const ht = [], ct = {}, tn = (e, t = 0) => {
956
- if (ht.indexOf(e) == -1) {
993
+ }(Rt);
994
+ const ut = [], lt = {}, tn = (e, t = 0) => {
995
+ if (ut.indexOf(e) == -1) {
957
996
  const r = new en(t);
958
- ct[e] = r, ht.push(e);
997
+ lt[e] = r, ut.push(e);
959
998
  }
960
- return ct[e];
999
+ return lt[e];
961
1000
  }, z = [];
962
1001
  function rn(e, t) {
963
1002
  return {
964
- subscribe: xe(e, t).subscribe
1003
+ subscribe: Ee(e, t).subscribe
965
1004
  };
966
1005
  }
967
- function xe(e, t = I) {
1006
+ function Ee(e, t = O) {
968
1007
  let r;
969
1008
  const n = /* @__PURE__ */ new Set();
970
1009
  function i(a) {
971
- if (Pt(e, a) && (e = a, r)) {
1010
+ if (At(e, a) && (e = a, r)) {
972
1011
  const l = !z.length;
973
1012
  for (const u of n)
974
1013
  u[1](), z.push(u, e);
@@ -982,15 +1021,15 @@ function xe(e, t = I) {
982
1021
  function o(a) {
983
1022
  i(a(e));
984
1023
  }
985
- function s(a, l = I) {
1024
+ function s(a, l = O) {
986
1025
  const u = [a, l];
987
- return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1026
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
988
1027
  n.delete(u), n.size === 0 && r && (r(), r = null);
989
1028
  };
990
1029
  }
991
1030
  return { set: i, update: o, subscribe: s };
992
1031
  }
993
- function te(e, t, r) {
1032
+ function re(e, t, r) {
994
1033
  const n = !Array.isArray(e), i = n ? [e] : e;
995
1034
  if (!i.every(Boolean))
996
1035
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -998,15 +1037,15 @@ function te(e, t, r) {
998
1037
  return rn(r, (s, a) => {
999
1038
  let l = !1;
1000
1039
  const u = [];
1001
- let h = 0, c = I;
1040
+ let h = 0, c = O;
1002
1041
  const f = () => {
1003
1042
  if (h)
1004
1043
  return;
1005
1044
  c();
1006
1045
  const d = t(n ? u[0] : u, s, a);
1007
- o ? s(d) : c = Ke(d) ? d : I;
1046
+ o ? s(d) : c = Je(d) ? d : O;
1008
1047
  }, p = i.map(
1009
- (d, m) => It(
1048
+ (d, m) => Pt(
1010
1049
  d,
1011
1050
  (v) => {
1012
1051
  u[m] = v, h &= ~(1 << m), l && f();
@@ -1041,29 +1080,29 @@ function hn(e) {
1041
1080
  function cn(e) {
1042
1081
  return Array.isArray(e) ? [] : {};
1043
1082
  }
1044
- function ae(e, t) {
1045
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(cn(e), e, t) : e;
1083
+ function ue(e, t) {
1084
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(cn(e), e, t) : e;
1046
1085
  }
1047
1086
  function fn(e, t, r) {
1048
1087
  return e.concat(t).map(function(n) {
1049
- return ae(n, r);
1088
+ return ue(n, r);
1050
1089
  });
1051
1090
  }
1052
1091
  function mn(e, t) {
1053
1092
  if (!t.customMerge)
1054
- return Y;
1093
+ return q;
1055
1094
  var r = t.customMerge(e);
1056
- return typeof r == "function" ? r : Y;
1095
+ return typeof r == "function" ? r : q;
1057
1096
  }
1058
1097
  function pn(e) {
1059
1098
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1060
1099
  return Object.propertyIsEnumerable.call(e, t);
1061
1100
  }) : [];
1062
1101
  }
1063
- function ft(e) {
1102
+ function ht(e) {
1064
1103
  return Object.keys(e).concat(pn(e));
1065
1104
  }
1066
- function Dt(e, t) {
1105
+ function Ut(e, t) {
1067
1106
  try {
1068
1107
  return t in e;
1069
1108
  } catch {
@@ -1071,179 +1110,129 @@ function Dt(e, t) {
1071
1110
  }
1072
1111
  }
1073
1112
  function dn(e, t) {
1074
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1075
1114
  }
1076
1115
  function bn(e, t, r) {
1077
1116
  var n = {};
1078
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1079
- n[i] = ae(e[i], r);
1080
- }), ft(t).forEach(function(i) {
1081
- dn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1117
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1118
+ n[i] = ue(e[i], r);
1119
+ }), ht(t).forEach(function(i) {
1120
+ dn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1082
1121
  }), n;
1083
1122
  }
1084
- function Y(e, t, r) {
1085
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ae;
1123
+ function q(e, t, r) {
1124
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ue;
1086
1125
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1087
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ae(t, r);
1126
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ue(t, r);
1088
1127
  }
1089
- Y.all = function(t, r) {
1128
+ q.all = function(t, r) {
1090
1129
  if (!Array.isArray(t))
1091
1130
  throw new Error("first argument should be an array");
1092
1131
  return t.reduce(function(n, i) {
1093
- return Y(n, i, r);
1132
+ return q(n, i, r);
1094
1133
  }, {});
1095
1134
  };
1096
- var gn = Y, yn = gn;
1135
+ var gn = q, yn = gn;
1097
1136
  const vn = /* @__PURE__ */ nn(yn);
1098
- var Ve = function(e, t) {
1099
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1100
- r.__proto__ = n;
1101
- } || function(r, n) {
1102
- for (var i in n)
1103
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1104
- }, Ve(e, t);
1105
- };
1106
- function Be(e, t) {
1107
- if (typeof t != "function" && t !== null)
1108
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1109
- Ve(e, t);
1110
- function r() {
1111
- this.constructor = e;
1112
- }
1113
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1114
- }
1115
- var N = function() {
1116
- return N = Object.assign || function(t) {
1117
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1118
- r = arguments[n];
1119
- for (var o in r)
1120
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1121
- }
1122
- return t;
1123
- }, N.apply(this, arguments);
1124
- };
1125
- function _n(e, t) {
1126
- var r = {};
1127
- for (var n in e)
1128
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1129
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1130
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1131
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1132
- return r;
1133
- }
1134
- function Oe(e, t, r) {
1135
- if (r || arguments.length === 2)
1136
- for (var n = 0, i = t.length, o; n < i; n++)
1137
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1138
- return e.concat(o || Array.prototype.slice.call(t));
1139
- }
1140
- function Pe(e, t) {
1141
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : Bn;
1137
+ function Ae(e, t) {
1138
+ var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1142
1139
  return i(e, {
1143
1140
  cache: r,
1144
1141
  serializer: n
1145
1142
  });
1146
1143
  }
1147
- function En(e) {
1144
+ function _n(e) {
1148
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1146
  }
1150
- function xn(e, t, r, n) {
1151
- var i = En(n) ? n : r(n), o = t.get(i);
1147
+ function Dt(e, t, r, n) {
1148
+ var i = _n(n) ? n : r(n), o = t.get(i);
1152
1149
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1153
1150
  }
1154
1151
  function Ft(e, t, r) {
1155
1152
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
1153
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1154
  }
1158
- function Gt(e, t, r, n, i) {
1155
+ function Qe(e, t, r, n, i) {
1159
1156
  return r.bind(t, e, n, i);
1160
1157
  }
1161
- function Bn(e, t) {
1162
- var r = e.length === 1 ? xn : Ft;
1163
- return Gt(e, this, r, t.cache.create(), t.serializer);
1158
+ function En(e, t) {
1159
+ var r = e.length === 1 ? Dt : Ft;
1160
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1164
1161
  }
1165
- function Sn(e, t) {
1166
- return Gt(e, this, Ft, t.cache.create(), t.serializer);
1162
+ function xn(e, t) {
1163
+ return Qe(e, this, Ft, t.cache.create(), t.serializer);
1167
1164
  }
1168
- var wn = function() {
1165
+ function Bn(e, t) {
1166
+ return Qe(e, this, Dt, t.cache.create(), t.serializer);
1167
+ }
1168
+ var Sn = function() {
1169
1169
  return JSON.stringify(arguments);
1170
- }, Hn = (
1171
- /** @class */
1172
- function() {
1173
- function e() {
1174
- this.cache = /* @__PURE__ */ Object.create(null);
1175
- }
1176
- return e.prototype.get = function(t) {
1177
- return this.cache[t];
1178
- }, e.prototype.set = function(t, r) {
1179
- this.cache[t] = r;
1180
- }, e;
1181
- }()
1182
- ), Tn = {
1170
+ };
1171
+ function Ye() {
1172
+ this.cache = /* @__PURE__ */ Object.create(null);
1173
+ }
1174
+ Ye.prototype.get = function(e) {
1175
+ return this.cache[e];
1176
+ };
1177
+ Ye.prototype.set = function(e, t) {
1178
+ this.cache[e] = t;
1179
+ };
1180
+ var wn = {
1183
1181
  create: function() {
1184
- return new Hn();
1182
+ return new Ye();
1185
1183
  }
1186
- }, Ie = {
1187
- variadic: Sn
1188
- }, ye = function() {
1189
- return ye = Object.assign || function(t) {
1190
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1191
- r = arguments[n];
1192
- for (var o in r)
1193
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1194
- }
1195
- return t;
1196
- }, ye.apply(this, arguments);
1197
- };
1198
- var g;
1184
+ }, Pe = {
1185
+ variadic: xn,
1186
+ monadic: Bn
1187
+ }, g;
1199
1188
  (function(e) {
1200
1189
  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";
1201
1190
  })(g || (g = {}));
1202
- var E;
1191
+ var x;
1203
1192
  (function(e) {
1204
1193
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1205
- })(E || (E = {}));
1206
- var q;
1194
+ })(x || (x = {}));
1195
+ var K;
1207
1196
  (function(e) {
1208
1197
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1209
- })(q || (q = {}));
1210
- function mt(e) {
1211
- return e.type === E.literal;
1198
+ })(K || (K = {}));
1199
+ function ct(e) {
1200
+ return e.type === x.literal;
1201
+ }
1202
+ function Hn(e) {
1203
+ return e.type === x.argument;
1212
1204
  }
1213
- function An(e) {
1214
- return e.type === E.argument;
1205
+ function Gt(e) {
1206
+ return e.type === x.number;
1215
1207
  }
1216
1208
  function kt(e) {
1217
- return e.type === E.number;
1209
+ return e.type === x.date;
1218
1210
  }
1219
1211
  function jt(e) {
1220
- return e.type === E.date;
1212
+ return e.type === x.time;
1221
1213
  }
1222
1214
  function Vt(e) {
1223
- return e.type === E.time;
1215
+ return e.type === x.select;
1224
1216
  }
1225
1217
  function Xt(e) {
1226
- return e.type === E.select;
1218
+ return e.type === x.plural;
1227
1219
  }
1228
- function zt(e) {
1229
- return e.type === E.plural;
1220
+ function Tn(e) {
1221
+ return e.type === x.pound;
1230
1222
  }
1231
- function On(e) {
1232
- return e.type === E.pound;
1223
+ function zt(e) {
1224
+ return e.type === x.tag;
1233
1225
  }
1234
1226
  function Wt(e) {
1235
- return e.type === E.tag;
1227
+ return !!(e && typeof e == "object" && e.type === K.number);
1236
1228
  }
1237
- function Zt(e) {
1238
- return !!(e && typeof e == "object" && e.type === q.number);
1239
- }
1240
- function Xe(e) {
1241
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1229
+ function Ge(e) {
1230
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1242
1231
  }
1243
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1244
- function In(e) {
1232
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1233
+ function Pn(e) {
1245
1234
  var t = {};
1246
- return e.replace(Pn, function(r) {
1235
+ return e.replace(An, function(r) {
1247
1236
  var n = r.length;
1248
1237
  switch (r[0]) {
1249
1238
  case "G":
@@ -1332,21 +1321,11 @@ function In(e) {
1332
1321
  return "";
1333
1322
  }), t;
1334
1323
  }
1335
- var x = function() {
1336
- return x = Object.assign || function(t) {
1337
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1338
- r = arguments[n];
1339
- for (var o in r)
1340
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1341
- }
1342
- return t;
1343
- }, x.apply(this, arguments);
1344
- };
1345
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1346
- function Nn(e) {
1324
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1325
+ function On(e) {
1347
1326
  if (e.length === 0)
1348
1327
  throw new Error("Number skeleton cannot be empty");
1349
- for (var t = e.split(Cn).filter(function(f) {
1328
+ for (var t = e.split(In).filter(function(f) {
1350
1329
  return f.length > 0;
1351
1330
  }), r = [], n = 0, i = t; n < i.length; n++) {
1352
1331
  var o = i[n], s = o.split("/");
@@ -1361,17 +1340,17 @@ function Nn(e) {
1361
1340
  }
1362
1341
  return r;
1363
1342
  }
1364
- function Ln(e) {
1343
+ function Cn(e) {
1365
1344
  return e.replace(/^(.*?)-/, "");
1366
1345
  }
1367
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1368
- function dt(e) {
1346
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1347
+ function mt(e) {
1369
1348
  var t = {};
1370
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1349
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1371
1350
  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)), "";
1372
1351
  }), t;
1373
1352
  }
1374
- function qt(e) {
1353
+ function Yt(e) {
1375
1354
  switch (e) {
1376
1355
  case "sign-auto":
1377
1356
  return {
@@ -1411,7 +1390,7 @@ function qt(e) {
1411
1390
  };
1412
1391
  }
1413
1392
  }
1414
- function Rn(e) {
1393
+ function Nn(e) {
1415
1394
  var t;
1416
1395
  if (e[0] === "E" && e[1] === "E" ? (t = {
1417
1396
  notation: "engineering"
@@ -1419,17 +1398,17 @@ function Rn(e) {
1419
1398
  notation: "scientific"
1420
1399
  }, e = e.slice(1)), t) {
1421
1400
  var r = e.slice(0, 2);
1422
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1401
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1423
1402
  throw new Error("Malformed concise eng/scientific notation");
1424
1403
  t.minimumIntegerDigits = e.length;
1425
1404
  }
1426
1405
  return t;
1427
1406
  }
1428
- function bt(e) {
1429
- var t = {}, r = qt(e);
1407
+ function pt(e) {
1408
+ var t = {}, r = Yt(e);
1430
1409
  return r || t;
1431
1410
  }
1432
- function $n(e) {
1411
+ function Mn(e) {
1433
1412
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1434
1413
  var i = n[r];
1435
1414
  switch (i.stem) {
@@ -1453,7 +1432,7 @@ function $n(e) {
1453
1432
  continue;
1454
1433
  case "measure-unit":
1455
1434
  case "unit":
1456
- t.style = "unit", t.unit = Ln(i.options[0]);
1435
+ t.style = "unit", t.unit = Cn(i.options[0]);
1457
1436
  continue;
1458
1437
  case "compact-short":
1459
1438
  case "K":
@@ -1464,13 +1443,13 @@ function $n(e) {
1464
1443
  t.notation = "compact", t.compactDisplay = "long";
1465
1444
  continue;
1466
1445
  case "scientific":
1467
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1468
- return x(x({}, l), bt(u));
1446
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1447
+ return _(_({}, l), pt(u));
1469
1448
  }, {}));
1470
1449
  continue;
1471
1450
  case "engineering":
1472
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1473
- return x(x({}, l), bt(u));
1451
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1452
+ return _(_({}, l), pt(u));
1474
1453
  }, {}));
1475
1454
  continue;
1476
1455
  case "notation-simple":
@@ -1515,7 +1494,7 @@ function $n(e) {
1515
1494
  case "integer-width":
1516
1495
  if (i.options.length > 1)
1517
1496
  throw new RangeError("integer-width stems only accept a single optional option");
1518
- i.options[0].replace(Mn, function(l, u, h, c, f, p) {
1497
+ i.options[0].replace(Ln, function(l, u, h, c, f, p) {
1519
1498
  if (u)
1520
1499
  t.minimumIntegerDigits = h.length;
1521
1500
  else {
@@ -1528,28 +1507,28 @@ function $n(e) {
1528
1507
  });
1529
1508
  continue;
1530
1509
  }
1531
- if (Yt.test(i.stem)) {
1510
+ if (Qt.test(i.stem)) {
1532
1511
  t.minimumIntegerDigits = i.stem.length;
1533
1512
  continue;
1534
1513
  }
1535
- if (pt.test(i.stem)) {
1514
+ if (ft.test(i.stem)) {
1536
1515
  if (i.options.length > 1)
1537
1516
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1538
- i.stem.replace(pt, function(l, u, h, c, f, p) {
1517
+ i.stem.replace(ft, function(l, u, h, c, f, p) {
1539
1518
  return h === "*" ? 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), "";
1540
1519
  });
1541
1520
  var o = i.options[0];
1542
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), dt(o)));
1521
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
1543
1522
  continue;
1544
1523
  }
1545
- if (Qt.test(i.stem)) {
1546
- t = x(x({}, t), dt(i.stem));
1524
+ if (Jt.test(i.stem)) {
1525
+ t = _(_({}, t), mt(i.stem));
1547
1526
  continue;
1548
1527
  }
1549
- var s = qt(i.stem);
1550
- s && (t = x(x({}, t), s));
1551
- var a = Rn(i.stem);
1552
- a && (t = x(x({}, t), a));
1528
+ var s = Yt(i.stem);
1529
+ s && (t = _(_({}, t), s));
1530
+ var a = Nn(i.stem);
1531
+ a && (t = _(_({}, t), a));
1553
1532
  }
1554
1533
  return t;
1555
1534
  }
@@ -2968,13 +2947,13 @@ var me = {
2968
2947
  "h"
2969
2948
  ]
2970
2949
  };
2971
- function Un(e, t) {
2950
+ function Rn(e, t) {
2972
2951
  for (var r = "", n = 0; n < e.length; n++) {
2973
2952
  var i = e.charAt(n);
2974
2953
  if (i === "j") {
2975
2954
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2976
2955
  o++, n++;
2977
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
2956
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
2978
2957
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2979
2958
  r += l;
2980
2959
  for (; s-- > 0; )
@@ -2984,7 +2963,7 @@ function Un(e, t) {
2984
2963
  }
2985
2964
  return r;
2986
2965
  }
2987
- function Dn(e) {
2966
+ function $n(e) {
2988
2967
  var t = e.hourCycle;
2989
2968
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2990
2969
  e.hourCycles && // @ts-ignore
@@ -3006,20 +2985,20 @@ function Dn(e) {
3006
2985
  var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3007
2986
  return i[0];
3008
2987
  }
3009
- var Ce, Fn = new RegExp("^".concat(Jt.source, "*")), Gn = new RegExp("".concat(Jt.source, "*$"));
2988
+ var Ie, Un = new RegExp("^".concat(Zt.source, "*")), Dn = new RegExp("".concat(Zt.source, "*$"));
3010
2989
  function y(e, t) {
3011
2990
  return { start: e, end: t };
3012
2991
  }
3013
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Jn = Zn ? Number.isSafeInteger : function(e) {
2992
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, kn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3014
2993
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3015
- }, ze = !0;
2994
+ }, ke = !0;
3016
2995
  try {
3017
- var Qn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3018
- ze = ((Ce = Qn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2996
+ var Zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
+ ke = ((Ie = Zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3019
2998
  } catch {
3020
- ze = !1;
2999
+ ke = !1;
3021
3000
  }
3022
- var gt = kn ? (
3001
+ var dt = Fn ? (
3023
3002
  // Native
3024
3003
  function(t, r, n) {
3025
3004
  return t.startsWith(r, n);
@@ -3029,7 +3008,7 @@ var gt = kn ? (
3029
3008
  function(t, r, n) {
3030
3009
  return t.slice(n, n + r.length) === r;
3031
3010
  }
3032
- ), We = jn ? String.fromCodePoint : (
3011
+ ), je = Gn ? String.fromCodePoint : (
3033
3012
  // IE11
3034
3013
  function() {
3035
3014
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3041,9 +3020,9 @@ var gt = kn ? (
3041
3020
  }
3042
3021
  return n;
3043
3022
  }
3044
- ), yt = (
3023
+ ), bt = (
3045
3024
  // native
3046
- Vn ? Object.fromEntries : (
3025
+ kn ? Object.fromEntries : (
3047
3026
  // Ponyfill
3048
3027
  function(t) {
3049
3028
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3053,7 +3032,7 @@ var gt = kn ? (
3053
3032
  return r;
3054
3033
  }
3055
3034
  )
3056
- ), Kt = Xn ? (
3035
+ ), qt = jn ? (
3057
3036
  // Native
3058
3037
  function(t, r) {
3059
3038
  return t.codePointAt(r);
@@ -3067,7 +3046,7 @@ var gt = kn ? (
3067
3046
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3068
3047
  }
3069
3048
  }
3070
- ), Yn = zn ? (
3049
+ ), Jn = Vn ? (
3071
3050
  // Native
3072
3051
  function(t) {
3073
3052
  return t.trimStart();
@@ -3075,9 +3054,9 @@ var gt = kn ? (
3075
3054
  ) : (
3076
3055
  // Ponyfill
3077
3056
  function(t) {
3078
- return t.replace(Fn, "");
3057
+ return t.replace(Un, "");
3079
3058
  }
3080
- ), qn = Wn ? (
3059
+ ), Qn = Xn ? (
3081
3060
  // Native
3082
3061
  function(t) {
3083
3062
  return t.trimEnd();
@@ -3085,32 +3064,32 @@ var gt = kn ? (
3085
3064
  ) : (
3086
3065
  // Ponyfill
3087
3066
  function(t) {
3088
- return t.replace(Gn, "");
3067
+ return t.replace(Dn, "");
3089
3068
  }
3090
3069
  );
3091
- function er(e, t) {
3070
+ function Kt(e, t) {
3092
3071
  return new RegExp(e, t);
3093
3072
  }
3094
- var Ze;
3095
- if (ze) {
3096
- var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
- Ze = function(t, r) {
3073
+ var Ve;
3074
+ if (ke) {
3075
+ var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
+ Ve = function(t, r) {
3098
3077
  var n;
3099
- vt.lastIndex = r;
3100
- var i = vt.exec(t);
3078
+ gt.lastIndex = r;
3079
+ var i = gt.exec(t);
3101
3080
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3102
3081
  };
3103
3082
  } else
3104
- Ze = function(t, r) {
3083
+ Ve = function(t, r) {
3105
3084
  for (var n = []; ; ) {
3106
- var i = Kt(t, r);
3107
- if (i === void 0 || tr(i) || ri(i))
3085
+ var i = qt(t, r);
3086
+ if (i === void 0 || er(i) || ei(i))
3108
3087
  break;
3109
3088
  n.push(i), r += i >= 65536 ? 2 : 1;
3110
3089
  }
3111
- return We.apply(void 0, n);
3090
+ return je.apply(void 0, n);
3112
3091
  };
3113
- var Kn = (
3092
+ var Yn = (
3114
3093
  /** @class */
3115
3094
  function() {
3116
3095
  function e(t, r) {
@@ -3134,14 +3113,14 @@ var Kn = (
3134
3113
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3135
3114
  var a = this.clonePosition();
3136
3115
  this.bump(), i.push({
3137
- type: E.pound,
3116
+ type: x.pound,
3138
3117
  location: y(a, this.clonePosition())
3139
3118
  });
3140
3119
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3141
3120
  if (n)
3142
3121
  break;
3143
3122
  return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3144
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3123
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3145
3124
  var s = this.parseTag(t, r);
3146
3125
  if (s.err)
3147
3126
  return s;
@@ -3162,7 +3141,7 @@ var Kn = (
3162
3141
  if (this.bumpSpace(), this.bumpIf("/>"))
3163
3142
  return {
3164
3143
  val: {
3165
- type: E.literal,
3144
+ type: x.literal,
3166
3145
  value: "<".concat(i, "/>"),
3167
3146
  location: y(n, this.clonePosition())
3168
3147
  },
@@ -3174,12 +3153,12 @@ var Kn = (
3174
3153
  return o;
3175
3154
  var s = o.val, a = this.clonePosition();
3176
3155
  if (this.bumpIf("</")) {
3177
- if (this.isEOF() || !Je(this.char()))
3156
+ if (this.isEOF() || !Xe(this.char()))
3178
3157
  return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3179
3158
  var l = this.clonePosition(), u = this.parseTagName();
3180
3159
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3181
3160
  val: {
3182
- type: E.tag,
3161
+ type: x.tag,
3183
3162
  value: i,
3184
3163
  children: s,
3185
3164
  location: y(n, this.clonePosition())
@@ -3192,7 +3171,7 @@ var Kn = (
3192
3171
  return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3193
3172
  }, e.prototype.parseTagName = function() {
3194
3173
  var t = this.offset();
3195
- for (this.bump(); !this.isEOF() && ti(this.char()); )
3174
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3196
3175
  this.bump();
3197
3176
  return this.message.slice(t, this.offset());
3198
3177
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3216,12 +3195,12 @@ var Kn = (
3216
3195
  }
3217
3196
  var l = y(n, this.clonePosition());
3218
3197
  return {
3219
- val: { type: E.literal, value: i, location: l },
3198
+ val: { type: x.literal, value: i, location: l },
3220
3199
  err: null
3221
3200
  };
3222
3201
  }, e.prototype.tryParseLeftAngleBracket = function() {
3223
3202
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3224
- !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3203
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3225
3204
  }, e.prototype.tryParseQuote = function(t) {
3226
3205
  if (this.isEOF() || this.char() !== 39)
3227
3206
  return null;
@@ -3255,12 +3234,12 @@ var Kn = (
3255
3234
  r.push(n);
3256
3235
  this.bump();
3257
3236
  }
3258
- return We.apply(void 0, r);
3237
+ return je.apply(void 0, r);
3259
3238
  }, e.prototype.tryParseUnquoted = function(t, r) {
3260
3239
  if (this.isEOF())
3261
3240
  return null;
3262
3241
  var n = this.char();
3263
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3242
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3264
3243
  }, e.prototype.parseArgument = function(t, r) {
3265
3244
  var n = this.clonePosition();
3266
3245
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3276,7 +3255,7 @@ var Kn = (
3276
3255
  case 125:
3277
3256
  return this.bump(), {
3278
3257
  val: {
3279
- type: E.argument,
3258
+ type: x.argument,
3280
3259
  // value does not include the opening and closing braces.
3281
3260
  value: i,
3282
3261
  location: y(n, this.clonePosition())
@@ -3289,7 +3268,7 @@ var Kn = (
3289
3268
  return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3290
3269
  }
3291
3270
  }, e.prototype.parseIdentifierIfPossible = function() {
3292
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3271
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3293
3272
  this.bumpTo(i);
3294
3273
  var o = this.clonePosition(), s = y(t, o);
3295
3274
  return { value: n, location: s };
@@ -3308,7 +3287,7 @@ var Kn = (
3308
3287
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3309
3288
  if (c.err)
3310
3289
  return c;
3311
- var f = qn(c.val);
3290
+ var f = Qn(c.val);
3312
3291
  if (f.length === 0)
3313
3292
  return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3314
3293
  var p = y(h, this.clonePosition());
@@ -3318,25 +3297,25 @@ var Kn = (
3318
3297
  if (d.err)
3319
3298
  return d;
3320
3299
  var m = y(i, this.clonePosition());
3321
- if (u && gt(u?.style, "::", 0)) {
3322
- var v = Yn(u.style.slice(2));
3300
+ if (u && dt(u?.style, "::", 0)) {
3301
+ var v = Jn(u.style.slice(2));
3323
3302
  if (a === "number") {
3324
3303
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3325
3304
  return c.err ? c : {
3326
- val: { type: E.number, value: n, location: m, style: c.val },
3305
+ val: { type: x.number, value: n, location: m, style: c.val },
3327
3306
  err: null
3328
3307
  };
3329
3308
  } else {
3330
3309
  if (v.length === 0)
3331
3310
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3332
3311
  var A = v;
3333
- this.locale && (A = Un(v, this.locale));
3312
+ this.locale && (A = Rn(v, this.locale));
3334
3313
  var f = {
3335
- type: q.dateTime,
3314
+ type: K.dateTime,
3336
3315
  pattern: A,
3337
3316
  location: u.styleLocation,
3338
- parsedOptions: this.shouldParseSkeletons ? In(A) : {}
3339
- }, C = a === "date" ? E.date : E.time;
3317
+ parsedOptions: this.shouldParseSkeletons ? Pn(A) : {}
3318
+ }, C = a === "date" ? x.date : x.time;
3340
3319
  return {
3341
3320
  val: { type: C, value: n, location: m, style: f },
3342
3321
  err: null
@@ -3345,7 +3324,7 @@ var Kn = (
3345
3324
  }
3346
3325
  return {
3347
3326
  val: {
3348
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3327
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3349
3328
  value: n,
3350
3329
  location: m,
3351
3330
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3358,7 +3337,7 @@ var Kn = (
3358
3337
  case "select": {
3359
3338
  var H = this.clonePosition();
3360
3339
  if (this.bumpSpace(), !this.bumpIf(","))
3361
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, ye({}, H)));
3340
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, _({}, H)));
3362
3341
  this.bumpSpace();
3363
3342
  var D = this.parseIdentifierIfPossible(), L = 0;
3364
3343
  if (a !== "select" && D.value === "offset") {
@@ -3370,26 +3349,26 @@ var Kn = (
3370
3349
  return c;
3371
3350
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = c.val;
3372
3351
  }
3373
- var P = this.tryParsePluralOrSelectOptions(t, a, r, D);
3374
- if (P.err)
3375
- return P;
3352
+ var I = this.tryParsePluralOrSelectOptions(t, a, r, D);
3353
+ if (I.err)
3354
+ return I;
3376
3355
  var d = this.tryParseArgumentClose(i);
3377
3356
  if (d.err)
3378
3357
  return d;
3379
3358
  var ce = y(i, this.clonePosition());
3380
3359
  return a === "select" ? {
3381
3360
  val: {
3382
- type: E.select,
3361
+ type: x.select,
3383
3362
  value: n,
3384
- options: yt(P.val),
3363
+ options: bt(I.val),
3385
3364
  location: ce
3386
3365
  },
3387
3366
  err: null
3388
3367
  } : {
3389
3368
  val: {
3390
- type: E.plural,
3369
+ type: x.plural,
3391
3370
  value: n,
3392
- options: yt(P.val),
3371
+ options: bt(I.val),
3393
3372
  offset: L,
3394
3373
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3395
3374
  location: ce
@@ -3440,16 +3419,16 @@ var Kn = (
3440
3419
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3441
3420
  var n = [];
3442
3421
  try {
3443
- n = Nn(t);
3422
+ n = On(t);
3444
3423
  } catch {
3445
3424
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3446
3425
  }
3447
3426
  return {
3448
3427
  val: {
3449
- type: q.number,
3428
+ type: K.number,
3450
3429
  tokens: n,
3451
3430
  location: r,
3452
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3431
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3453
3432
  },
3454
3433
  err: null
3455
3434
  };
@@ -3497,7 +3476,7 @@ var Kn = (
3497
3476
  break;
3498
3477
  }
3499
3478
  var l = y(i, this.clonePosition());
3500
- return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3479
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3501
3480
  }, e.prototype.offset = function() {
3502
3481
  return this.position.offset;
3503
3482
  }, e.prototype.isEOF = function() {
@@ -3512,7 +3491,7 @@ var Kn = (
3512
3491
  var t = this.position.offset;
3513
3492
  if (t >= this.message.length)
3514
3493
  throw Error("out of bound");
3515
- var r = Kt(this.message, t);
3494
+ var r = qt(this.message, t);
3516
3495
  if (r === void 0)
3517
3496
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3518
3497
  return r;
@@ -3531,7 +3510,7 @@ var Kn = (
3531
3510
  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);
3532
3511
  }
3533
3512
  }, e.prototype.bumpIf = function(t) {
3534
- if (gt(this.message, t, this.offset())) {
3513
+ if (dt(this.message, t, this.offset())) {
3535
3514
  for (var r = 0; r < t.length; r++)
3536
3515
  this.bump();
3537
3516
  return !0;
@@ -3553,7 +3532,7 @@ var Kn = (
3553
3532
  break;
3554
3533
  }
3555
3534
  }, e.prototype.bumpSpace = function() {
3556
- for (; !this.isEOF() && tr(this.char()); )
3535
+ for (; !this.isEOF() && er(this.char()); )
3557
3536
  this.bump();
3558
3537
  }, e.prototype.peek = function() {
3559
3538
  if (this.isEOF())
@@ -3563,47 +3542,47 @@ var Kn = (
3563
3542
  }, e;
3564
3543
  }()
3565
3544
  );
3566
- function Je(e) {
3545
+ function Xe(e) {
3567
3546
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3568
3547
  }
3569
- function ei(e) {
3570
- return Je(e) || e === 47;
3548
+ function qn(e) {
3549
+ return Xe(e) || e === 47;
3571
3550
  }
3572
- function ti(e) {
3551
+ function Kn(e) {
3573
3552
  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;
3574
3553
  }
3575
- function tr(e) {
3554
+ function er(e) {
3576
3555
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3577
3556
  }
3578
- function ri(e) {
3557
+ function ei(e) {
3579
3558
  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;
3580
3559
  }
3581
- function Qe(e) {
3560
+ function ze(e) {
3582
3561
  e.forEach(function(t) {
3583
- if (delete t.location, Xt(t) || zt(t))
3562
+ if (delete t.location, Vt(t) || Xt(t))
3584
3563
  for (var r in t.options)
3585
- delete t.options[r].location, Qe(t.options[r].value);
3564
+ delete t.options[r].location, ze(t.options[r].value);
3586
3565
  else
3587
- kt(t) && Zt(t.style) || (jt(t) || Vt(t)) && Xe(t.style) ? delete t.style.location : Wt(t) && Qe(t.children);
3566
+ Gt(t) && Wt(t.style) || (kt(t) || jt(t)) && Ge(t.style) ? delete t.style.location : zt(t) && ze(t.children);
3588
3567
  });
3589
3568
  }
3590
- function ni(e, t) {
3591
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3592
- var r = new Kn(e, t).parse();
3569
+ function ti(e, t) {
3570
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
+ var r = new Yn(e, t).parse();
3593
3572
  if (r.err) {
3594
3573
  var n = SyntaxError(g[r.err.kind]);
3595
3574
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3596
3575
  }
3597
- return t?.captureLocation || Qe(r.val), r.val;
3576
+ return t?.captureLocation || ze(r.val), r.val;
3598
3577
  }
3599
- var K;
3578
+ var ee;
3600
3579
  (function(e) {
3601
3580
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3602
- })(K || (K = {}));
3603
- var Se = (
3581
+ })(ee || (ee = {}));
3582
+ var xe = (
3604
3583
  /** @class */
3605
3584
  function(e) {
3606
- Be(t, e);
3585
+ R(t, e);
3607
3586
  function t(r, n, i) {
3608
3587
  var o = e.call(this, r) || this;
3609
3588
  return o.code = n, o.originalMessage = i, o;
@@ -3612,48 +3591,48 @@ var Se = (
3612
3591
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3613
3592
  }, t;
3614
3593
  }(Error)
3615
- ), _t = (
3594
+ ), yt = (
3616
3595
  /** @class */
3617
3596
  function(e) {
3618
- Be(t, e);
3597
+ R(t, e);
3619
3598
  function t(r, n, i, o) {
3620
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3599
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3621
3600
  }
3622
3601
  return t;
3623
- }(Se)
3624
- ), ii = (
3602
+ }(xe)
3603
+ ), ri = (
3625
3604
  /** @class */
3626
3605
  function(e) {
3627
- Be(t, e);
3606
+ R(t, e);
3628
3607
  function t(r, n, i) {
3629
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3608
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3630
3609
  }
3631
3610
  return t;
3632
- }(Se)
3633
- ), oi = (
3611
+ }(xe)
3612
+ ), ni = (
3634
3613
  /** @class */
3635
3614
  function(e) {
3636
- Be(t, e);
3615
+ R(t, e);
3637
3616
  function t(r, n) {
3638
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3617
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3639
3618
  }
3640
3619
  return t;
3641
- }(Se)
3620
+ }(xe)
3642
3621
  ), T;
3643
3622
  (function(e) {
3644
3623
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3645
3624
  })(T || (T = {}));
3646
- function si(e) {
3625
+ function ii(e) {
3647
3626
  return e.length < 2 ? e : e.reduce(function(t, r) {
3648
3627
  var n = t[t.length - 1];
3649
3628
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3650
3629
  }, []);
3651
3630
  }
3652
- function ai(e) {
3631
+ function oi(e) {
3653
3632
  return typeof e == "function";
3654
3633
  }
3655
3634
  function be(e, t, r, n, i, o, s) {
3656
- if (e.length === 1 && mt(e[0]))
3635
+ if (e.length === 1 && ct(e[0]))
3657
3636
  return [
3658
3637
  {
3659
3638
  type: T.literal,
@@ -3662,14 +3641,14 @@ function be(e, t, r, n, i, o, s) {
3662
3641
  ];
3663
3642
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3664
3643
  var h = u[l];
3665
- if (mt(h)) {
3644
+ if (ct(h)) {
3666
3645
  a.push({
3667
3646
  type: T.literal,
3668
3647
  value: h.value
3669
3648
  });
3670
3649
  continue;
3671
3650
  }
3672
- if (On(h)) {
3651
+ if (Tn(h)) {
3673
3652
  typeof o == "number" && a.push({
3674
3653
  type: T.literal,
3675
3654
  value: r.getNumberFormat(t).format(o)
@@ -3678,43 +3657,43 @@ function be(e, t, r, n, i, o, s) {
3678
3657
  }
3679
3658
  var c = h.value;
3680
3659
  if (!(i && c in i))
3681
- throw new oi(c, s);
3660
+ throw new ni(c, s);
3682
3661
  var f = i[c];
3683
- if (An(h)) {
3662
+ if (Hn(h)) {
3684
3663
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3685
3664
  type: typeof f == "string" ? T.literal : T.object,
3686
3665
  value: f
3687
3666
  });
3688
3667
  continue;
3689
3668
  }
3690
- if (jt(h)) {
3691
- var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3669
+ if (kt(h)) {
3670
+ var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3692
3671
  a.push({
3693
3672
  type: T.literal,
3694
3673
  value: r.getDateTimeFormat(t, p).format(f)
3695
3674
  });
3696
3675
  continue;
3697
3676
  }
3698
- if (Vt(h)) {
3699
- var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3677
+ if (jt(h)) {
3678
+ var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3700
3679
  a.push({
3701
3680
  type: T.literal,
3702
3681
  value: r.getDateTimeFormat(t, p).format(f)
3703
3682
  });
3704
3683
  continue;
3705
3684
  }
3706
- if (kt(h)) {
3707
- var p = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3685
+ if (Gt(h)) {
3686
+ var p = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3708
3687
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3709
3688
  type: T.literal,
3710
3689
  value: r.getNumberFormat(t, p).format(f)
3711
3690
  });
3712
3691
  continue;
3713
3692
  }
3714
- if (Wt(h)) {
3693
+ if (zt(h)) {
3715
3694
  var d = h.children, m = h.value, v = i[m];
3716
- if (!ai(v))
3717
- throw new ii(m, "function", s);
3695
+ if (!oi(v))
3696
+ throw new ri(m, "function", s);
3718
3697
  var A = be(d, t, r, n, i, o), C = v(A.map(function(L) {
3719
3698
  return L.value;
3720
3699
  }));
@@ -3725,42 +3704,42 @@ function be(e, t, r, n, i, o, s) {
3725
3704
  };
3726
3705
  }));
3727
3706
  }
3728
- if (Xt(h)) {
3707
+ if (Vt(h)) {
3729
3708
  var H = h.options[f] || h.options.other;
3730
3709
  if (!H)
3731
- throw new _t(h.value, f, Object.keys(h.options), s);
3710
+ throw new yt(h.value, f, Object.keys(h.options), s);
3732
3711
  a.push.apply(a, be(H.value, t, r, n, i));
3733
3712
  continue;
3734
3713
  }
3735
- if (zt(h)) {
3714
+ if (Xt(h)) {
3736
3715
  var H = h.options["=".concat(f)];
3737
3716
  if (!H) {
3738
3717
  if (!Intl.PluralRules)
3739
- throw new Se(`Intl.PluralRules is not available in this environment.
3718
+ throw new xe(`Intl.PluralRules is not available in this environment.
3740
3719
  Try polyfilling it using "@formatjs/intl-pluralrules"
3741
- `, K.MISSING_INTL_API, s);
3720
+ `, ee.MISSING_INTL_API, s);
3742
3721
  var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3743
3722
  H = h.options[D] || h.options.other;
3744
3723
  }
3745
3724
  if (!H)
3746
- throw new _t(h.value, f, Object.keys(h.options), s);
3725
+ throw new yt(h.value, f, Object.keys(h.options), s);
3747
3726
  a.push.apply(a, be(H.value, t, r, n, i, f - (h.offset || 0)));
3748
3727
  continue;
3749
3728
  }
3750
3729
  }
3751
- return si(a);
3730
+ return ii(a);
3752
3731
  }
3753
- function ui(e, t) {
3754
- return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3755
- return r[n] = N(N({}, e[n]), t[n] || {}), r;
3732
+ function si(e, t) {
3733
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3756
3735
  }, {})) : e;
3757
3736
  }
3758
- function li(e, t) {
3737
+ function ai(e, t) {
3759
3738
  return t ? Object.keys(e).reduce(function(r, n) {
3760
- return r[n] = ui(e[n], t[n]), r;
3761
- }, N({}, e)) : e;
3739
+ return r[n] = si(e[n], t[n]), r;
3740
+ }, _({}, e)) : e;
3762
3741
  }
3763
- function Ne(e) {
3742
+ function Oe(e) {
3764
3743
  return {
3765
3744
  create: function() {
3766
3745
  return {
@@ -3774,39 +3753,39 @@ function Ne(e) {
3774
3753
  }
3775
3754
  };
3776
3755
  }
3777
- function hi(e) {
3756
+ function ui(e) {
3778
3757
  return e === void 0 && (e = {
3779
3758
  number: {},
3780
3759
  dateTime: {},
3781
3760
  pluralRules: {}
3782
3761
  }), {
3783
- getNumberFormat: Pe(function() {
3762
+ getNumberFormat: Ae(function() {
3784
3763
  for (var t, r = [], n = 0; n < arguments.length; n++)
3785
3764
  r[n] = arguments[n];
3786
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3765
+ return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3787
3766
  }, {
3788
- cache: Ne(e.number),
3789
- strategy: Ie.variadic
3767
+ cache: Oe(e.number),
3768
+ strategy: Pe.variadic
3790
3769
  }),
3791
- getDateTimeFormat: Pe(function() {
3770
+ getDateTimeFormat: Ae(function() {
3792
3771
  for (var t, r = [], n = 0; n < arguments.length; n++)
3793
3772
  r[n] = arguments[n];
3794
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3773
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3795
3774
  }, {
3796
- cache: Ne(e.dateTime),
3797
- strategy: Ie.variadic
3775
+ cache: Oe(e.dateTime),
3776
+ strategy: Pe.variadic
3798
3777
  }),
3799
- getPluralRules: Pe(function() {
3778
+ getPluralRules: Ae(function() {
3800
3779
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3780
  r[n] = arguments[n];
3802
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3781
+ return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3803
3782
  }, {
3804
- cache: Ne(e.pluralRules),
3805
- strategy: Ie.variadic
3783
+ cache: Oe(e.pluralRules),
3784
+ strategy: Pe.variadic
3806
3785
  })
3807
3786
  };
3808
3787
  }
3809
- var ci = (
3788
+ var li = (
3810
3789
  /** @class */
3811
3790
  function() {
3812
3791
  function e(t, r, n, i) {
@@ -3838,13 +3817,13 @@ var ci = (
3838
3817
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3839
3818
  var s = i || {};
3840
3819
  s.formatters;
3841
- var a = _n(s, ["formatters"]);
3842
- this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3820
+ var a = Gr(s, ["formatters"]);
3821
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3843
3822
  } else
3844
3823
  this.ast = t;
3845
3824
  if (!Array.isArray(this.ast))
3846
3825
  throw new TypeError("A message must be provided as a String or AST.");
3847
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3826
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3848
3827
  }
3849
3828
  return Object.defineProperty(e, "defaultLocale", {
3850
3829
  get: function() {
@@ -3857,7 +3836,7 @@ var ci = (
3857
3836
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3858
3837
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3859
3838
  }
3860
- }, e.__parse = ni, e.formats = {
3839
+ }, e.__parse = ti, e.formats = {
3861
3840
  number: {
3862
3841
  integer: {
3863
3842
  maximumFractionDigits: 0
@@ -3918,7 +3897,7 @@ var ci = (
3918
3897
  }, e;
3919
3898
  }()
3920
3899
  );
3921
- function fi(e, t) {
3900
+ function hi(e, t) {
3922
3901
  if (t == null)
3923
3902
  return;
3924
3903
  if (t in e)
@@ -3939,92 +3918,92 @@ function fi(e, t) {
3939
3918
  n = void 0;
3940
3919
  return n;
3941
3920
  }
3942
- const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3921
+ const $ = {}, ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
3943
3922
  if (t == null)
3944
3923
  return;
3945
3924
  if (t in $ && e in $[t])
3946
3925
  return $[t][e];
3947
- const r = we(t);
3926
+ const r = Be(t);
3948
3927
  for (let n = 0; n < r.length; n++) {
3949
- const i = r[n], o = di(i, e);
3928
+ const i = r[n], o = mi(i, e);
3950
3929
  if (o)
3951
- return mi(e, t, o);
3930
+ return ci(e, t, o);
3952
3931
  }
3953
3932
  };
3954
- let et;
3955
- const he = xe({});
3956
- function pi(e) {
3957
- return et[e] || null;
3933
+ let qe;
3934
+ const he = Ee({});
3935
+ function fi(e) {
3936
+ return qe[e] || null;
3958
3937
  }
3959
- function nr(e) {
3960
- return e in et;
3938
+ function rr(e) {
3939
+ return e in qe;
3961
3940
  }
3962
- function di(e, t) {
3963
- if (!nr(e))
3941
+ function mi(e, t) {
3942
+ if (!rr(e))
3964
3943
  return null;
3965
- const r = pi(e);
3966
- return fi(r, t);
3944
+ const r = fi(e);
3945
+ return hi(r, t);
3967
3946
  }
3968
- function bi(e) {
3947
+ function pi(e) {
3969
3948
  if (e == null)
3970
3949
  return;
3971
- const t = we(e);
3950
+ const t = Be(e);
3972
3951
  for (let r = 0; r < t.length; r++) {
3973
3952
  const n = t[r];
3974
- if (nr(n))
3953
+ if (rr(n))
3975
3954
  return n;
3976
3955
  }
3977
3956
  }
3978
- function ir(e, ...t) {
3957
+ function nr(e, ...t) {
3979
3958
  delete $[e], he.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3980
3959
  }
3981
- te(
3960
+ re(
3982
3961
  [he],
3983
3962
  ([e]) => Object.keys(e)
3984
3963
  );
3985
- he.subscribe((e) => et = e);
3964
+ he.subscribe((e) => qe = e);
3986
3965
  const ge = {};
3987
- function gi(e, t) {
3966
+ function di(e, t) {
3988
3967
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3989
3968
  }
3990
- function or(e) {
3969
+ function ir(e) {
3991
3970
  return ge[e];
3992
3971
  }
3993
- function yi(e) {
3994
- return we(e).map((t) => {
3995
- const r = or(t);
3972
+ function bi(e) {
3973
+ return Be(e).map((t) => {
3974
+ const r = ir(t);
3996
3975
  return [t, r ? [...r] : []];
3997
3976
  }).filter(([, t]) => t.length > 0);
3998
3977
  }
3999
- function Ye(e) {
4000
- return e == null ? !1 : we(e).some(
3978
+ function We(e) {
3979
+ return e == null ? !1 : Be(e).some(
4001
3980
  (t) => {
4002
3981
  var r;
4003
- return (r = or(t)) == null ? void 0 : r.size;
3982
+ return (r = ir(t)) == null ? void 0 : r.size;
4004
3983
  }
4005
3984
  );
4006
3985
  }
4007
- function vi(e, t) {
3986
+ function gi(e, t) {
4008
3987
  return Promise.all(
4009
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4010
- ).then((n) => ir(e, ...n));
4011
- }
4012
- const ie = {};
4013
- function sr(e) {
4014
- if (!Ye(e))
4015
- return e in ie ? ie[e] : Promise.resolve();
4016
- const t = yi(e);
4017
- return ie[e] = Promise.all(
3988
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3989
+ ).then((n) => nr(e, ...n));
3990
+ }
3991
+ const oe = {};
3992
+ function or(e) {
3993
+ if (!We(e))
3994
+ return e in oe ? oe[e] : Promise.resolve();
3995
+ const t = bi(e);
3996
+ return oe[e] = Promise.all(
4018
3997
  t.map(
4019
- ([r, n]) => vi(r, n)
3998
+ ([r, n]) => gi(r, n)
4020
3999
  )
4021
4000
  ).then(() => {
4022
- if (Ye(e))
4023
- return sr(e);
4024
- delete ie[e];
4025
- }), ie[e];
4001
+ if (We(e))
4002
+ return or(e);
4003
+ delete oe[e];
4004
+ }), oe[e];
4026
4005
  }
4027
- const _i = {
4006
+ const yi = {
4028
4007
  number: {
4029
4008
  scientific: { notation: "scientific" },
4030
4009
  engineering: { notation: "engineering" },
@@ -4053,135 +4032,135 @@ const _i = {
4053
4032
  timeZoneName: "short"
4054
4033
  }
4055
4034
  }
4056
- }, Ei = {
4035
+ }, vi = {
4057
4036
  fallbackLocale: null,
4058
4037
  loadingDelay: 200,
4059
- formats: _i,
4038
+ formats: yi,
4060
4039
  warnOnMissingMessages: !0,
4061
4040
  handleMissingMessage: void 0,
4062
4041
  ignoreTag: !0
4063
- }, xi = Ei;
4064
- function ee() {
4065
- return xi;
4042
+ }, _i = vi;
4043
+ function te() {
4044
+ return _i;
4066
4045
  }
4067
- const Le = xe(!1);
4068
- var Bi = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4046
+ const Ce = Ee(!1);
4047
+ var Ei = Object.defineProperty, xi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4069
4048
  for (var r in t || (t = {}))
4070
- Hi.call(t, r) && xt(e, r, t[r]);
4071
- if (Et)
4072
- for (var r of Et(t))
4073
- Ti.call(t, r) && xt(e, r, t[r]);
4049
+ Si.call(t, r) && _t(e, r, t[r]);
4050
+ if (vt)
4051
+ for (var r of vt(t))
4052
+ wi.call(t, r) && _t(e, r, t[r]);
4074
4053
  return e;
4075
- }, Oi = (e, t) => Si(e, wi(t));
4076
- let qe;
4077
- const ve = xe(null);
4078
- function Bt(e) {
4054
+ }, Ti = (e, t) => xi(e, Bi(t));
4055
+ let Ze;
4056
+ const ye = Ee(null);
4057
+ function Et(e) {
4079
4058
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4080
4059
  }
4081
- function we(e, t = ee().fallbackLocale) {
4082
- const r = Bt(e);
4083
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4060
+ function Be(e, t = te().fallbackLocale) {
4061
+ const r = Et(e);
4062
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4084
4063
  }
4085
4064
  function j() {
4086
- return qe ?? void 0;
4065
+ return Ze ?? void 0;
4087
4066
  }
4088
- ve.subscribe((e) => {
4089
- qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4067
+ ye.subscribe((e) => {
4068
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4090
4069
  });
4091
- const Pi = (e) => {
4092
- if (e && bi(e) && Ye(e)) {
4093
- const { loadingDelay: t } = ee();
4070
+ const Ai = (e) => {
4071
+ if (e && pi(e) && We(e)) {
4072
+ const { loadingDelay: t } = te();
4094
4073
  let r;
4095
4074
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4096
- () => Le.set(!0),
4075
+ () => Ce.set(!0),
4097
4076
  t
4098
- ) : Le.set(!0), sr(e).then(() => {
4099
- ve.set(e);
4077
+ ) : Ce.set(!0), or(e).then(() => {
4078
+ ye.set(e);
4100
4079
  }).finally(() => {
4101
- clearTimeout(r), Le.set(!1);
4080
+ clearTimeout(r), Ce.set(!1);
4102
4081
  });
4103
4082
  }
4104
- return ve.set(e);
4105
- }, re = Oi(Ai({}, ve), {
4106
- set: Pi
4107
- }), He = (e) => {
4083
+ return ye.set(e);
4084
+ }, ne = Ti(Hi({}, ye), {
4085
+ set: Ai
4086
+ }), Se = (e) => {
4108
4087
  const t = /* @__PURE__ */ Object.create(null);
4109
4088
  return (n) => {
4110
4089
  const i = JSON.stringify(n);
4111
4090
  return i in t ? t[i] : t[i] = e(n);
4112
4091
  };
4113
4092
  };
4114
- var Ii = Object.defineProperty, _e = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4093
+ var Pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4115
4094
  for (var r in t || (t = {}))
4116
- ar.call(t, r) && St(e, r, t[r]);
4117
- if (_e)
4118
- for (var r of _e(t))
4119
- ur.call(t, r) && St(e, r, t[r]);
4095
+ sr.call(t, r) && xt(e, r, t[r]);
4096
+ if (ve)
4097
+ for (var r of ve(t))
4098
+ ar.call(t, r) && xt(e, r, t[r]);
4120
4099
  return e;
4121
- }, ne = (e, t) => {
4100
+ }, ie = (e, t) => {
4122
4101
  var r = {};
4123
4102
  for (var n in e)
4124
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4125
- if (e != null && _e)
4126
- for (var n of _e(e))
4127
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4103
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
+ if (e != null && ve)
4105
+ for (var n of ve(e))
4106
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4128
4107
  return r;
4129
4108
  };
4130
- const ue = (e, t) => {
4131
- const { formats: r } = ee();
4109
+ const le = (e, t) => {
4110
+ const { formats: r } = te();
4132
4111
  if (e in r && t in r[e])
4133
4112
  return r[e][t];
4134
4113
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4135
- }, Ci = He(
4114
+ }, Ii = Se(
4136
4115
  (e) => {
4137
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4116
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4138
4117
  if (r == null)
4139
4118
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4140
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4119
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4141
4120
  }
4142
- ), Ni = He(
4121
+ ), Oi = Se(
4143
4122
  (e) => {
4144
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4123
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4145
4124
  if (r == null)
4146
4125
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4147
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4126
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4148
4127
  }
4149
- ), Li = He(
4128
+ ), Ci = Se(
4150
4129
  (e) => {
4151
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4130
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4152
4131
  if (r == null)
4153
4132
  throw new Error(
4154
4133
  '[svelte-i18n] A "locale" must be set to format time values'
4155
4134
  );
4156
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4135
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4157
4136
  }
4158
- ), Mi = (e = {}) => {
4137
+ ), Li = (e = {}) => {
4159
4138
  var t = e, {
4160
4139
  locale: r = j()
4161
- } = t, n = ne(t, [
4140
+ } = t, n = ie(t, [
4162
4141
  "locale"
4163
4142
  ]);
4164
- return Ci(tt({ locale: r }, n));
4165
- }, Ri = (e = {}) => {
4143
+ return Ii(Ke({ locale: r }, n));
4144
+ }, Ni = (e = {}) => {
4166
4145
  var t = e, {
4167
4146
  locale: r = j()
4168
- } = t, n = ne(t, [
4147
+ } = t, n = ie(t, [
4169
4148
  "locale"
4170
4149
  ]);
4171
- return Ni(tt({ locale: r }, n));
4172
- }, $i = (e = {}) => {
4150
+ return Oi(Ke({ locale: r }, n));
4151
+ }, Mi = (e = {}) => {
4173
4152
  var t = e, {
4174
4153
  locale: r = j()
4175
- } = t, n = ne(t, [
4154
+ } = t, n = ie(t, [
4176
4155
  "locale"
4177
4156
  ]);
4178
- return Li(tt({ locale: r }, n));
4179
- }, Ui = He(
4157
+ return Ci(Ke({ locale: r }, n));
4158
+ }, Ri = Se(
4180
4159
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4181
- (e, t = j()) => new ci(e, t, ee().formats, {
4182
- ignoreTag: ee().ignoreTag
4160
+ (e, t = j()) => new li(e, t, te().formats, {
4161
+ ignoreTag: te().ignoreTag
4183
4162
  })
4184
- ), Di = (e, t = {}) => {
4163
+ ), $i = (e, t = {}) => {
4185
4164
  var r, n, i, o;
4186
4165
  let s = t;
4187
4166
  typeof e == "object" && (s = e, e = s.id);
@@ -4194,9 +4173,9 @@ const ue = (e, t) => {
4194
4173
  throw new Error(
4195
4174
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4196
4175
  );
4197
- let h = rr(e, l);
4176
+ let h = tr(e, l);
4198
4177
  if (!h)
4199
- h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4178
+ h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4200
4179
  else if (typeof h != "string")
4201
4180
  return console.warn(
4202
4181
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4205,7 +4184,7 @@ const ue = (e, t) => {
4205
4184
  return h;
4206
4185
  let c = h;
4207
4186
  try {
4208
- c = Ui(h, l).format(a);
4187
+ c = Ri(h, l).format(a);
4209
4188
  } catch (f) {
4210
4189
  f instanceof Error && console.warn(
4211
4190
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4213,21 +4192,21 @@ const ue = (e, t) => {
4213
4192
  );
4214
4193
  }
4215
4194
  return c;
4216
- }, Fi = (e, t) => $i(t).format(e), Gi = (e, t) => Ri(t).format(e), ki = (e, t) => Mi(t).format(e), ji = (e, t = j()) => rr(e, t), Vi = te([re, he], () => Di);
4217
- te([re], () => Fi);
4218
- te([re], () => Gi);
4219
- te([re], () => ki);
4220
- te([re, he], () => ji);
4195
+ }, Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ni(t).format(e), Fi = (e, t) => Li(t).format(e), Gi = (e, t = j()) => tr(e, t), ki = re([ne, he], () => $i);
4196
+ re([ne], () => Ui);
4197
+ re([ne], () => Di);
4198
+ re([ne], () => Fi);
4199
+ re([ne, he], () => Gi);
4221
4200
  window.emWidgets = { topic: tn };
4222
- const Xi = (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));
4201
+ const ji = (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
4202
  String(Number.MAX_SAFE_INTEGER).length;
4224
- function zi(e, t) {
4203
+ function Vi(e, t) {
4225
4204
  if (e) {
4226
4205
  const r = document.createElement("style");
4227
4206
  r.innerHTML = t, e.appendChild(r);
4228
4207
  }
4229
4208
  }
4230
- function Wi(e, t) {
4209
+ function Xi(e, t) {
4231
4210
  if (!e || !t)
4232
4211
  return;
4233
4212
  const r = new URL(t);
@@ -4238,7 +4217,7 @@ function Wi(e, t) {
4238
4217
  console.error("There was an error while trying to load client styling from URL", n);
4239
4218
  });
4240
4219
  }
4241
- function Zi(e, t, r) {
4220
+ function zi(e, t, r) {
4242
4221
  if (window.emMessageBus) {
4243
4222
  const n = document.createElement("style");
4244
4223
  window.emMessageBus.subscribe(t, (i) => {
@@ -4246,13 +4225,13 @@ function Zi(e, t, r) {
4246
4225
  });
4247
4226
  }
4248
4227
  }
4249
- function wt(e, t) {
4250
- ir(e, t);
4228
+ function Bt(e, t) {
4229
+ nr(e, t);
4251
4230
  }
4252
- function Ji(e) {
4253
- re.set(e);
4231
+ function Wi(e) {
4232
+ ne.set(e);
4254
4233
  }
4255
- const Ht = {
4234
+ const St = {
4256
4235
  en: {
4257
4236
  loginButton: "Login",
4258
4237
  registerButton: "Join Now",
@@ -4331,22 +4310,22 @@ const Ht = {
4331
4310
  loading: "Loading..."
4332
4311
  }
4333
4312
  };
4334
- function Qi(e) {
4335
- Er(e, "svelte-zg2zu1", "*,*::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}}.betslipBar{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 10px;position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:31;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.betslipBarButton{border:0;margin:0;height:auto;padding:10px;background-color:transparent;text-transform:uppercase;font-size:16px;text-wrap:nowrap}.betslipBarCount{border:1px solid var(--emw--color-background);padding:16px 20px;background:var(--emw--betslip-bar-count-background, linear-gradient(to left, rgba(var(--emw--color-600-rgb), 0.9), rgba(var(--emw--color-700-rgb), 0.9)));border-radius:6px}.betslipBar .betslipBarCount{border:0;line-height:0}");
4313
+ function Zi(e) {
4314
+ _r(e, "svelte-zg2zu1", "*,*::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}}.betslipBar{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 10px;position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:31;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.betslipBarButton{border:0;margin:0;height:auto;padding:10px;background-color:transparent;text-transform:uppercase;font-size:16px;text-wrap:nowrap}.betslipBarCount{border:1px solid var(--emw--color-background);padding:16px 20px;background:var(--emw--betslip-bar-count-background, linear-gradient(to left, rgba(var(--emw--color-600-rgb), 0.9), rgba(var(--emw--color-700-rgb), 0.9)));border-radius:6px}.betslipBar .betslipBarCount{border:0;line-height:0}");
4336
4315
  }
4337
- function Tt(e) {
4316
+ function wt(e) {
4338
4317
  let t, r;
4339
4318
  function n(s, a) {
4340
4319
  return (
4341
4320
  /*isLoggedIn*/
4342
4321
  s[7] && /*sessionID*/
4343
- s[6] ? qi : Yi
4322
+ s[6] ? Qi : Ji
4344
4323
  );
4345
4324
  }
4346
4325
  let i = n(e), o = i(e);
4347
4326
  return {
4348
4327
  c() {
4349
- t = O("div"), o.c(), _(t, "class", r = `betslipBar ${/*isLoggedIn*/
4328
+ t = P("div"), o.c(), E(t, "class", r = `betslipBar ${/*isLoggedIn*/
4350
4329
  e[7] ? "loggedIn" : "loggedOut"}`);
4351
4330
  },
4352
4331
  m(s, a) {
@@ -4355,14 +4334,14 @@ function Tt(e) {
4355
4334
  p(s, a) {
4356
4335
  i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(t, null))), a & /*isLoggedIn*/
4357
4336
  128 && r !== (r = `betslipBar ${/*isLoggedIn*/
4358
- s[7] ? "loggedIn" : "loggedOut"}`) && _(t, "class", r);
4337
+ s[7] ? "loggedIn" : "loggedOut"}`) && E(t, "class", r);
4359
4338
  },
4360
4339
  d(s) {
4361
4340
  s && B(t), o.d();
4362
4341
  }
4363
4342
  };
4364
4343
  }
4365
- function Yi(e) {
4344
+ function Ji(e) {
4366
4345
  let t, r = (
4367
4346
  /*$_*/
4368
4347
  e[8]("loginButton") + ""
@@ -4372,7 +4351,7 @@ function Yi(e) {
4372
4351
  ), u, h, c;
4373
4352
  return {
4374
4353
  c() {
4375
- t = O("button"), n = U(r), i = Q(), o = O("span"), o.textContent = "|", s = Q(), a = O("button"), u = U(l), _(t, "class", "betslipBarButton loginButton"), _(o, "class", "betslipBarSeparator"), _(a, "class", "betslipBarButton registerButton");
4354
+ t = P("button"), n = U(r), i = Y(), o = P("span"), o.textContent = "|", s = Y(), a = P("button"), u = U(l), E(t, "class", "betslipBarButton loginButton"), E(o, "class", "betslipBarSeparator"), E(a, "class", "betslipBarButton registerButton");
4376
4355
  },
4377
4356
  m(f, p) {
4378
4357
  S(f, t, p), w(t, n), S(f, i, p), S(f, o, p), S(f, s, p), S(f, a, p), w(a, u), h || (c = [
@@ -4402,7 +4381,7 @@ function Yi(e) {
4402
4381
  }
4403
4382
  };
4404
4383
  }
4405
- function qi(e) {
4384
+ function Qi(e) {
4406
4385
  let t, r = (
4407
4386
  /*$_*/
4408
4387
  e[8]("betslipButton") + ""
@@ -4413,13 +4392,13 @@ function qi(e) {
4413
4392
  function f(m, v) {
4414
4393
  return (
4415
4394
  /*isLoading*/
4416
- m[4] ? eo : Ki
4395
+ m[4] ? qi : Yi
4417
4396
  );
4418
4397
  }
4419
4398
  let p = f(e), d = p(e);
4420
4399
  return {
4421
4400
  c() {
4422
- t = O("button"), n = U(r), i = Q(), o = O("button"), d.c(), s = Q(), a = O("button"), u = U(l), _(t, "class", "betslipBarButton betslipDetails"), _(o, "class", "betslipBarCount"), _(a, "class", "betslipBarButton betsDetails");
4401
+ t = P("button"), n = U(r), i = Y(), o = P("button"), d.c(), s = Y(), a = P("button"), u = U(l), E(t, "class", "betslipBarButton betslipDetails"), E(o, "class", "betslipBarCount"), E(a, "class", "betslipBarButton betsDetails");
4423
4402
  },
4424
4403
  m(m, v) {
4425
4404
  S(m, t, v), w(t, n), S(m, i, v), S(m, o, v), d.m(o, null), S(m, s, v), S(m, a, v), w(a, u), h || (c = [
@@ -4455,7 +4434,7 @@ function qi(e) {
4455
4434
  }
4456
4435
  };
4457
4436
  }
4458
- function Ki(e) {
4437
+ function Yi(e) {
4459
4438
  let t = (
4460
4439
  /*betNumber*/
4461
4440
  (e[2] ? (
@@ -4483,14 +4462,14 @@ function Ki(e) {
4483
4462
  }
4484
4463
  };
4485
4464
  }
4486
- function eo(e) {
4465
+ function qi(e) {
4487
4466
  let t, r = (
4488
4467
  /*$_*/
4489
4468
  e[8]("loading") + ""
4490
4469
  ), n;
4491
4470
  return {
4492
4471
  c() {
4493
- t = O("div"), n = U(r), _(t, "class", "loader");
4472
+ t = P("div"), n = U(r), E(t, "class", "loader");
4494
4473
  },
4495
4474
  m(i, o) {
4496
4475
  S(i, t, o), w(t, n);
@@ -4505,21 +4484,21 @@ function eo(e) {
4505
4484
  }
4506
4485
  };
4507
4486
  }
4508
- function At(e) {
4487
+ function Ht(e) {
4509
4488
  let t, r, n, i, o, s, a, l, u, h, c, f;
4510
4489
  function p(v, A) {
4511
4490
  return (
4512
4491
  /*isLoading*/
4513
- v[4] ? ro : to
4492
+ v[4] ? eo : Ki
4514
4493
  );
4515
4494
  }
4516
4495
  let d = p(e), m = d(e);
4517
4496
  return {
4518
4497
  c() {
4519
- t = O("button"), r = O("small"), m.c(), n = Q(), i = F("svg"), o = F("g"), s = F("path"), a = F("path"), l = F("path"), u = F("path"), h = F("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
4498
+ t = P("button"), r = P("small"), m.c(), n = Y(), i = F("svg"), o = F("g"), s = F("path"), a = F("path"), l = F("path"), u = F("path"), h = F("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4520
4499
  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
4521
4500
  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
4522
- 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"), _(l, "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"), _(h, "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"), wr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4501
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(l, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(h, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), Sr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4523
4502
  },
4524
4503
  m(v, A) {
4525
4504
  S(v, t, A), w(t, r), m.m(r, null), w(t, n), w(t, i), w(i, o), w(o, s), w(o, a), w(o, l), w(o, u), w(o, h), c || (f = Z(
@@ -4537,7 +4516,7 @@ function At(e) {
4537
4516
  }
4538
4517
  };
4539
4518
  }
4540
- function to(e) {
4519
+ function Ki(e) {
4541
4520
  let t;
4542
4521
  return {
4543
4522
  c() {
@@ -4562,37 +4541,37 @@ function to(e) {
4562
4541
  }
4563
4542
  };
4564
4543
  }
4565
- function ro(e) {
4544
+ function eo(e) {
4566
4545
  let t;
4567
4546
  return {
4568
4547
  c() {
4569
- t = O("div"), t.textContent = "Loading...", _(t, "class", "loader");
4548
+ t = P("div"), t.textContent = "Loading...", E(t, "class", "loader");
4570
4549
  },
4571
4550
  m(r, n) {
4572
4551
  S(r, t, n);
4573
4552
  },
4574
- p: I,
4553
+ p: O,
4575
4554
  d(r) {
4576
4555
  r && B(t);
4577
4556
  }
4578
4557
  };
4579
4558
  }
4580
- function no(e) {
4559
+ function to(e) {
4581
4560
  let t, r, n = (
4582
4561
  /*isBetslipButtonBar*/
4583
4562
  e[1] && /*mobileView*/
4584
4563
  e[3] && /*betSlipVisible*/
4585
- e[5] && Tt(e)
4564
+ e[5] && wt(e)
4586
4565
  ), i = (
4587
4566
  /*mobileView*/
4588
4567
  e[3] && /*betNumber*/
4589
4568
  e[2] > 0 && /*betSlipVisible*/
4590
4569
  e[5] && !/*isBetslipButtonBar*/
4591
- e[1] && At(e)
4570
+ e[1] && Ht(e)
4592
4571
  );
4593
4572
  return {
4594
4573
  c() {
4595
- t = O("div"), n && n.c(), r = Q(), i && i.c();
4574
+ t = P("div"), n && n.c(), r = Y(), i && i.c();
4596
4575
  },
4597
4576
  m(o, s) {
4598
4577
  S(o, t, s), n && n.m(t, null), w(t, r), i && i.m(t, null), e[23](t);
@@ -4601,38 +4580,38 @@ function no(e) {
4601
4580
  /*isBetslipButtonBar*/
4602
4581
  o[1] && /*mobileView*/
4603
4582
  o[3] && /*betSlipVisible*/
4604
- o[5] ? n ? n.p(o, s) : (n = Tt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*mobileView*/
4583
+ o[5] ? n ? n.p(o, s) : (n = wt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*mobileView*/
4605
4584
  o[3] && /*betNumber*/
4606
4585
  o[2] > 0 && /*betSlipVisible*/
4607
4586
  o[5] && !/*isBetslipButtonBar*/
4608
- o[1] ? i ? i.p(o, s) : (i = At(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4587
+ o[1] ? i ? i.p(o, s) : (i = Ht(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4609
4588
  },
4610
- i: I,
4611
- o: I,
4589
+ i: O,
4590
+ o: O,
4612
4591
  d(o) {
4613
4592
  o && B(t), n && n.d(), i && i.d(), e[23](null);
4614
4593
  }
4615
4594
  };
4616
4595
  }
4617
- function io(e, t, r) {
4596
+ function ro(e, t, r) {
4618
4597
  let n;
4619
- _r(e, Vi, (b) => r(8, n = b));
4598
+ vr(e, ki, (b) => r(8, n = b));
4620
4599
  let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { betslipbuttonbar: a = "false" } = t, { session: l = "" } = t, { lang: u = "" } = t, { translationurl: h = "" } = t, c, f = window.navigator.userAgent, p = null, d = !1, m = !0, v = !1, A = !1, C = "", H = !1;
4621
4600
  const D = () => {
4622
4601
  fetch(h).then((b) => b.json()).then((b) => {
4623
4602
  Object.keys(b).forEach((V) => {
4624
- wt(V, b[V]);
4603
+ Bt(V, b[V]);
4625
4604
  });
4626
4605
  }).catch((b) => {
4627
4606
  console.log(b);
4628
4607
  });
4629
4608
  };
4630
- Object.keys(Ht).forEach((b) => {
4631
- wt(b, Ht[b]);
4609
+ Object.keys(St).forEach((b) => {
4610
+ Bt(b, St[b]);
4632
4611
  });
4633
4612
  const L = () => {
4634
4613
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4635
- }, P = (b, V) => {
4614
+ }, I = (b, V) => {
4636
4615
  c.dispatchEvent(new CustomEvent(
4637
4616
  b,
4638
4617
  {
@@ -4644,18 +4623,18 @@ function io(e, t, r) {
4644
4623
  ));
4645
4624
  }, ce = () => {
4646
4625
  r(7, H = !0), r(6, C = l);
4647
- }, lr = () => {
4648
- Ji(u);
4649
- }, rt = (b) => {
4650
- const { type: V, payload: gr } = b.data;
4626
+ }, ur = () => {
4627
+ Wi(u);
4628
+ }, et = (b) => {
4629
+ const { type: V, payload: br } = b.data;
4651
4630
  if (b.data)
4652
4631
  switch (V) {
4653
4632
  case "OMFE:updateBetslipSelectionsCount":
4654
- r(2, p = gr.count), r(4, m = !1);
4633
+ r(2, p = br.count), r(4, m = !1);
4655
4634
  break;
4656
4635
  case "OMFE:betslipSidebar":
4657
- const yr = b.data.payload?.enableBetslipBubble;
4658
- r(5, v = !!yr);
4636
+ const gr = b.data.payload?.enableBetslipBubble;
4637
+ r(5, v = !!gr);
4659
4638
  break;
4660
4639
  case "UserSessionID":
4661
4640
  r(6, C = b.data.session), r(7, H = !0);
@@ -4665,12 +4644,12 @@ function io(e, t, r) {
4665
4644
  break;
4666
4645
  }
4667
4646
  };
4668
- Ar(() => (L(), window.addEventListener("message", rt, !1), Xi(f) && r(3, d = !0), () => {
4669
- window.removeEventListener("message", rt);
4647
+ Tr(() => (L(), window.addEventListener("message", et, !1), ji(f) && r(3, d = !0), () => {
4648
+ window.removeEventListener("message", et);
4670
4649
  }));
4671
- const hr = (b) => P("betslipClick", {}), cr = (b) => P("betslipClick", {}), fr = (b) => P("betslipClick", { actionType: "showMyBets" }), mr = (b) => P("betslipClick", { actionType: "login" }), pr = (b) => P("betslipClick", { actionType: "register" }), dr = (b) => P("betslipClick", {});
4672
- function br(b) {
4673
- Me[b ? "unshift" : "push"](() => {
4650
+ const lr = (b) => I("betslipClick", {}), hr = (b) => I("betslipClick", {}), cr = (b) => I("betslipClick", { actionType: "showMyBets" }), fr = (b) => I("betslipClick", { actionType: "login" }), mr = (b) => I("betslipClick", { actionType: "register" }), pr = (b) => I("betslipClick", {});
4651
+ function dr(b) {
4652
+ Le[b ? "unshift" : "push"](() => {
4674
4653
  c = b, r(0, c);
4675
4654
  });
4676
4655
  }
@@ -4678,12 +4657,12 @@ function io(e, t, r) {
4678
4657
  "clientstyling" in b && r(10, i = b.clientstyling), "clientstylingurl" in b && r(11, o = b.clientstylingurl), "mbsource" in b && r(12, s = b.mbsource), "betslipbuttonbar" in b && r(13, a = b.betslipbuttonbar), "session" in b && r(14, l = b.session), "lang" in b && r(15, u = b.lang), "translationurl" in b && r(16, h = b.translationurl);
4679
4658
  }, e.$$.update = () => {
4680
4659
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4681
- 1025 && i && c && zi(c, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4682
- 2049 && o && c && Wi(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4683
- 4097 && s && c && Zi(c, `${s}.Style`), e.$$.dirty & /*betslipbuttonbar*/
4660
+ 1025 && i && c && Vi(c, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4661
+ 2049 && o && c && Xi(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4662
+ 4097 && s && c && zi(c, `${s}.Style`), e.$$.dirty & /*betslipbuttonbar*/
4684
4663
  8192 && r(1, A = a.toLowerCase() === "true"), e.$$.dirty & /*session, isBetslipButtonBar*/
4685
4664
  16386 && l && A && ce(), e.$$.dirty & /*lang*/
4686
- 32768 && u && lr(), e.$$.dirty & /*translationurl*/
4665
+ 32768 && u && ur(), e.$$.dirty & /*translationurl*/
4687
4666
  65536 && h && D();
4688
4667
  }, [
4689
4668
  c,
@@ -4695,7 +4674,7 @@ function io(e, t, r) {
4695
4674
  C,
4696
4675
  H,
4697
4676
  n,
4698
- P,
4677
+ I,
4699
4678
  i,
4700
4679
  o,
4701
4680
  s,
@@ -4703,23 +4682,23 @@ function io(e, t, r) {
4703
4682
  l,
4704
4683
  u,
4705
4684
  h,
4685
+ lr,
4706
4686
  hr,
4707
4687
  cr,
4708
4688
  fr,
4709
4689
  mr,
4710
4690
  pr,
4711
- dr,
4712
- br
4691
+ dr
4713
4692
  ];
4714
4693
  }
4715
- class oo extends Fr {
4694
+ class no extends Dr {
4716
4695
  constructor(t) {
4717
- super(), Ur(
4696
+ super(), $r(
4718
4697
  this,
4719
4698
  t,
4720
- io,
4721
- no,
4722
- Pt,
4699
+ ro,
4700
+ to,
4701
+ At,
4723
4702
  {
4724
4703
  clientstyling: 10,
4725
4704
  clientstylingurl: 11,
@@ -4729,53 +4708,53 @@ class oo extends Fr {
4729
4708
  lang: 15,
4730
4709
  translationurl: 16
4731
4710
  },
4732
- Qi
4711
+ Zi
4733
4712
  );
4734
4713
  }
4735
4714
  get clientstyling() {
4736
4715
  return this.$$.ctx[10];
4737
4716
  }
4738
4717
  set clientstyling(t) {
4739
- this.$$set({ clientstyling: t }), M();
4718
+ this.$$set({ clientstyling: t }), N();
4740
4719
  }
4741
4720
  get clientstylingurl() {
4742
4721
  return this.$$.ctx[11];
4743
4722
  }
4744
4723
  set clientstylingurl(t) {
4745
- this.$$set({ clientstylingurl: t }), M();
4724
+ this.$$set({ clientstylingurl: t }), N();
4746
4725
  }
4747
4726
  get mbsource() {
4748
4727
  return this.$$.ctx[12];
4749
4728
  }
4750
4729
  set mbsource(t) {
4751
- this.$$set({ mbsource: t }), M();
4730
+ this.$$set({ mbsource: t }), N();
4752
4731
  }
4753
4732
  get betslipbuttonbar() {
4754
4733
  return this.$$.ctx[13];
4755
4734
  }
4756
4735
  set betslipbuttonbar(t) {
4757
- this.$$set({ betslipbuttonbar: t }), M();
4736
+ this.$$set({ betslipbuttonbar: t }), N();
4758
4737
  }
4759
4738
  get session() {
4760
4739
  return this.$$.ctx[14];
4761
4740
  }
4762
4741
  set session(t) {
4763
- this.$$set({ session: t }), M();
4742
+ this.$$set({ session: t }), N();
4764
4743
  }
4765
4744
  get lang() {
4766
4745
  return this.$$.ctx[15];
4767
4746
  }
4768
4747
  set lang(t) {
4769
- this.$$set({ lang: t }), M();
4748
+ this.$$set({ lang: t }), N();
4770
4749
  }
4771
4750
  get translationurl() {
4772
4751
  return this.$$.ctx[16];
4773
4752
  }
4774
4753
  set translationurl(t) {
4775
- this.$$set({ translationurl: t }), M();
4754
+ this.$$set({ translationurl: t }), N();
4776
4755
  }
4777
4756
  }
4778
- Dr(oo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, betslipbuttonbar: {}, session: {}, lang: {}, translationurl: {} }, [], [], !0);
4757
+ Ur(no, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, betslipbuttonbar: {}, session: {}, lang: {}, translationurl: {} }, [], [], !0);
4779
4758
  export {
4780
- oo as C
4759
+ no as C
4781
4760
  };