@everymatrix/casino-betslip-indicator 1.76.3 → 1.76.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function w() {
2
2
  }
3
- function dt(e) {
3
+ function gt(e) {
4
4
  return e();
5
5
  }
6
- function We() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
10
- e.forEach(dt);
9
+ function K(e) {
10
+ e.forEach(gt);
11
11
  }
12
- function Ge(e) {
12
+ function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function bt(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Zt(e) {
18
+ function qt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Qt(e, ...t) {
21
+ function Kt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -30,14 +30,14 @@ function Qt(e, ...t) {
30
30
  function T(e, t) {
31
31
  e.appendChild(t);
32
32
  }
33
- function Jt(e, t, r) {
34
- const n = Yt(e);
33
+ function er(e, t, r) {
34
+ const n = tr(e);
35
35
  if (!n.getElementById(t)) {
36
- const i = D("style");
37
- i.id = t, i.textContent = r, qt(n, i);
36
+ const i = U("style");
37
+ i.id = t, i.textContent = r, rr(n, i);
38
38
  }
39
39
  }
40
- function Yt(e) {
40
+ function tr(e) {
41
41
  if (!e)
42
42
  return document;
43
43
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -47,48 +47,48 @@ function Yt(e) {
47
47
  t
48
48
  ) : e.ownerDocument;
49
49
  }
50
- function qt(e, t) {
50
+ function rr(e, t) {
51
51
  return T(
52
52
  /** @type {Document} */
53
53
  e.head || e,
54
54
  t
55
55
  ), t.sheet;
56
56
  }
57
- function te(e, t, r) {
57
+ function ee(e, t, r) {
58
58
  e.insertBefore(t, r || null);
59
59
  }
60
- function V(e) {
60
+ function k(e) {
61
61
  e.parentNode && e.parentNode.removeChild(e);
62
62
  }
63
- function D(e) {
63
+ function U(e) {
64
64
  return document.createElement(e);
65
65
  }
66
66
  function N(e) {
67
67
  return document.createElementNS("http://www.w3.org/2000/svg", e);
68
68
  }
69
- function yt(e) {
69
+ function xt(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function Kt() {
73
- return yt(" ");
72
+ function nr() {
73
+ return xt(" ");
74
74
  }
75
- function er(e, t, r, n) {
75
+ function ir(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
- function _(e, t, r) {
78
+ function x(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function tr(e) {
81
+ function or(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function rr(e, t) {
84
+ function sr(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function nr(e, t, r, n) {
88
+ function ar(e, t, r, n) {
89
89
  e.style.setProperty(t, r, "");
90
90
  }
91
- function ir(e) {
91
+ function ur(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function ir(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let Y;
101
- function Q(e) {
102
- Y = e;
100
+ let J;
101
+ function Z(e) {
102
+ J = e;
103
103
  }
104
- function or() {
105
- if (!Y)
104
+ function hr() {
105
+ if (!J)
106
106
  throw new Error("Function called outside component initialization");
107
- return Y;
107
+ return J;
108
108
  }
109
- function sr(e) {
110
- or().$$.on_mount.push(e);
109
+ function lr(e) {
110
+ hr().$$.on_mount.push(e);
111
111
  }
112
- const $ = [], He = [];
112
+ const M = [], Ae = [];
113
113
  let R = [];
114
- const ze = [], ar = /* @__PURE__ */ Promise.resolve();
115
- let Te = !1;
116
- function ur() {
117
- Te || (Te = !0, ar.then(J));
114
+ const Ye = [], cr = /* @__PURE__ */ Promise.resolve();
115
+ let Pe = !1;
116
+ function fr() {
117
+ Pe || (Pe = !0, cr.then(Q));
118
118
  }
119
- function Be(e) {
119
+ function Oe(e) {
120
120
  R.push(e);
121
121
  }
122
- const ge = /* @__PURE__ */ new Set();
122
+ const _e = /* @__PURE__ */ new Set();
123
123
  let L = 0;
124
- function J() {
124
+ function Q() {
125
125
  if (L !== 0)
126
126
  return;
127
- const e = Y;
127
+ const e = J;
128
128
  do {
129
129
  try {
130
- for (; L < $.length; ) {
131
- const t = $[L];
132
- L++, Q(t), hr(t.$$);
130
+ for (; L < M.length; ) {
131
+ const t = M[L];
132
+ L++, Z(t), mr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
- throw $.length = 0, L = 0, t;
135
+ throw M.length = 0, L = 0, t;
136
136
  }
137
- for (Q(null), $.length = 0, L = 0; He.length; )
138
- He.pop()();
137
+ for (Z(null), M.length = 0, L = 0; Ae.length; )
138
+ Ae.pop()();
139
139
  for (let t = 0; t < R.length; t += 1) {
140
140
  const r = R[t];
141
- ge.has(r) || (ge.add(r), r());
141
+ _e.has(r) || (_e.add(r), r());
142
142
  }
143
143
  R.length = 0;
144
- } while ($.length);
145
- for (; ze.length; )
146
- ze.pop()();
147
- Te = !1, ge.clear(), Q(e);
144
+ } while (M.length);
145
+ for (; Ye.length; )
146
+ Ye.pop()();
147
+ Pe = !1, _e.clear(), Z(e);
148
148
  }
149
- function hr(e) {
149
+ function mr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), ee(e.before_update);
151
+ e.update(), K(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
154
154
  }
155
155
  }
156
- function lr(e) {
156
+ function pr(e) {
157
157
  const t = [], r = [];
158
158
  R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
159
159
  }
160
- const fr = /* @__PURE__ */ new Set();
161
- function cr(e, t) {
162
- e && e.i && (fr.delete(e), e.i(t));
160
+ const dr = /* @__PURE__ */ new Set();
161
+ function br(e, t) {
162
+ e && e.i && (dr.delete(e), e.i(t));
163
163
  }
164
- function mr(e, t, r) {
164
+ function yr(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Be(() => {
167
- const o = e.$$.on_mount.map(dt).filter(Ge);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
169
- }), i.forEach(Be);
166
+ n && n.m(t, r), Oe(() => {
167
+ const o = e.$$.on_mount.map(gt).filter(We);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
169
+ }), i.forEach(Oe);
170
170
  }
171
- function pr(e, t) {
171
+ function vr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (lr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (pr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function dr(e, t) {
176
- e.$$.dirty[0] === -1 && ($.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function gr(e, t) {
176
+ e.$$.dirty[0] === -1 && (M.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function br(e, t, r, n, i, o, s = null, a = [-1]) {
179
- const h = Y;
180
- Q(e);
178
+ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
179
+ const h = J;
180
+ Z(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function br(e, t, r, n, i, o, s = null, a = [-1]) {
185
185
  props: o,
186
186
  update: w,
187
187
  not_equal: i,
188
- bound: We(),
188
+ bound: Je(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,28 +194,28 @@ function br(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: We(),
197
+ callbacks: Je(),
198
198
  dirty: a,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
201
201
  };
202
202
  s && s(u.root);
203
203
  let l = !1;
204
- if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
205
- const v = p.length ? p[0] : f;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && dr(e, c)), f;
207
- }), u.update(), l = !0, ee(u.before_update), u.fragment = n(u.ctx), t.target) {
204
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
205
+ const v = p.length ? p[0] : c;
206
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && gr(e, f)), c;
207
+ }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const c = tr(t.target);
210
- u.fragment && u.fragment.l(c), c.forEach(V);
209
+ const f = or(t.target);
210
+ u.fragment && u.fragment.l(f), f.forEach(k);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && cr(e.$$.fragment), mr(e, t.target, t.anchor), J();
213
+ t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), Q();
214
214
  }
215
- Q(h);
215
+ Z(h);
216
216
  }
217
- let gt;
218
- typeof HTMLElement == "function" && (gt = class extends HTMLElement {
217
+ let Et;
218
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -257,24 +257,24 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
257
257
  let o;
258
258
  return {
259
259
  c: function() {
260
- o = D("slot"), i !== "default" && _(o, "name", i);
260
+ o = U("slot"), i !== "default" && x(o, "name", i);
261
261
  },
262
262
  /**
263
263
  * @param {HTMLElement} target
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- te(h, o, u);
267
+ ee(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && V(o);
270
+ h && k(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = ir(this);
277
+ const t = {}, r = ur(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -361,8 +361,8 @@ function ae(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function yr(e, t, r, n, i, o) {
365
- let s = class extends gt {
364
+ function xr(e, t, r, n, i, o) {
365
+ let s = class extends Et {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function yr(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  s, s;
392
392
  }
393
- class gr {
393
+ class Er {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class gr {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- pr(this, 1), this.$destroy = w;
412
+ vr(this, 1), this.$destroy = w;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class gr {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!Ge(r))
421
+ if (!We(r))
422
422
  return w;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,11 +431,11 @@ class gr {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const vr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
437
+ const Sr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
439
439
  /*! *****************************************************************************
440
440
  Copyright (c) Microsoft Corporation.
441
441
 
@@ -450,43 +450,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
450
450
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
451
451
  PERFORMANCE OF THIS SOFTWARE.
452
452
  ***************************************************************************** */
453
- var Ae = function(e, t) {
454
- return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
453
+ var Ie = function(e, t) {
454
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
455
455
  r.__proto__ = n;
456
456
  } || function(r, n) {
457
457
  for (var i in n)
458
458
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
459
- }, Ae(e, t);
459
+ }, Ie(e, t);
460
460
  };
461
- function A(e, t) {
461
+ function te(e, t) {
462
462
  if (typeof t != "function" && t !== null)
463
463
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
464
- Ae(e, t);
464
+ Ie(e, t);
465
465
  function r() {
466
466
  this.constructor = e;
467
467
  }
468
468
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
469
469
  }
470
- var g = function() {
471
- return g = Object.assign || function(t) {
472
- for (var r, n = 1, i = arguments.length; n < i; n++) {
473
- r = arguments[n];
474
- for (var o in r)
475
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
476
- }
477
- return t;
478
- }, g.apply(this, arguments);
479
- };
480
- function xr(e, t) {
481
- var r = {};
482
- for (var n in e)
483
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
484
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
485
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
486
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
487
- return r;
488
- }
489
- function Pe(e) {
470
+ function Ne(e) {
490
471
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
472
  if (r)
492
473
  return r.call(e);
@@ -498,7 +479,7 @@ function Pe(e) {
498
479
  };
499
480
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
481
  }
501
- function Oe(e, t) {
482
+ function Ce(e, t) {
502
483
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
484
  if (!r)
504
485
  return e;
@@ -518,22 +499,22 @@ function Oe(e, t) {
518
499
  }
519
500
  return o;
520
501
  }
521
- function U(e, t, r) {
522
- if (r || arguments.length === 2)
502
+ function Le(e, t, r) {
503
+ if (arguments.length === 2)
523
504
  for (var n = 0, i = t.length, o; n < i; n++)
524
505
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
525
506
  return e.concat(o || t);
526
507
  }
527
- function B(e) {
508
+ function A(e) {
528
509
  return typeof e == "function";
529
510
  }
530
- function vt(e) {
511
+ function St(e) {
531
512
  var t = function(n) {
532
513
  Error.call(n), n.stack = new Error().stack;
533
514
  }, r = e(t);
534
515
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
516
  }
536
- var ve = vt(function(e) {
517
+ var xe = St(function(e) {
537
518
  return function(r) {
538
519
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
520
  ` + r.map(function(n, i) {
@@ -542,13 +523,13 @@ var ve = vt(function(e) {
542
523
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
524
  };
544
525
  });
545
- function Ie(e, t) {
526
+ function $e(e, t) {
546
527
  if (e) {
547
528
  var r = e.indexOf(t);
548
529
  0 <= r && e.splice(r, 1);
549
530
  }
550
531
  }
551
- var me = function() {
532
+ var pe = function() {
552
533
  function e(t) {
553
534
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
535
  }
@@ -560,7 +541,7 @@ var me = function() {
560
541
  if (s)
561
542
  if (this._parentage = null, Array.isArray(s))
562
543
  try {
563
- for (var a = Pe(s), h = a.next(); !h.done; h = a.next()) {
544
+ for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
564
545
  var u = h.value;
565
546
  u.remove(this);
566
547
  }
@@ -577,29 +558,29 @@ var me = function() {
577
558
  else
578
559
  s.remove(this);
579
560
  var l = this.initialTeardown;
580
- if (B(l))
561
+ if (A(l))
581
562
  try {
582
563
  l();
583
564
  } catch (m) {
584
- o = m instanceof ve ? m.errors : [m];
565
+ o = m instanceof xe ? m.errors : [m];
585
566
  }
586
- var c = this._finalizers;
587
- if (c) {
567
+ var f = this._finalizers;
568
+ if (f) {
588
569
  this._finalizers = null;
589
570
  try {
590
- for (var f = Pe(c), p = f.next(); !p.done; p = f.next()) {
571
+ for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
591
572
  var v = p.value;
592
573
  try {
593
- Ze(v);
574
+ qe(v);
594
575
  } catch (m) {
595
- o = o ?? [], m instanceof ve ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
576
+ o = o ?? [], m instanceof xe ? o = Le(Le([], Ce(o)), Ce(m.errors)) : o.push(m);
596
577
  }
597
578
  }
598
579
  } catch (m) {
599
580
  n = { error: m };
600
581
  } finally {
601
582
  try {
602
- p && !p.done && (i = f.return) && i.call(f);
583
+ p && !p.done && (i = c.return) && i.call(c);
603
584
  } finally {
604
585
  if (n)
605
586
  throw n.error;
@@ -607,13 +588,13 @@ var me = function() {
607
588
  }
608
589
  }
609
590
  if (o)
610
- throw new ve(o);
591
+ throw new xe(o);
611
592
  }
612
593
  }, e.prototype.add = function(t) {
613
594
  var r;
614
595
  if (t && t !== this)
615
596
  if (this.closed)
616
- Ze(t);
597
+ qe(t);
617
598
  else {
618
599
  if (t instanceof e) {
619
600
  if (t.closed || t._hasParent(this))
@@ -630,56 +611,52 @@ var me = function() {
630
611
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
612
  }, e.prototype._removeParent = function(t) {
632
613
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
614
+ r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
634
615
  }, e.prototype.remove = function(t) {
635
616
  var r = this._finalizers;
636
- r && Ie(r, t), t instanceof e && t._removeParent(this);
617
+ r && $e(r, t), t instanceof e && t._removeParent(this);
637
618
  }, e.EMPTY = function() {
638
619
  var t = new e();
639
620
  return t.closed = !0, t;
640
621
  }(), e;
641
- }(), xt = me.EMPTY;
642
- function _t(e) {
643
- return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
644
- }
645
- function Ze(e) {
646
- B(e) ? e() : e.unsubscribe();
647
- }
648
- var _r = {
649
- onUnhandledError: null,
650
- onStoppedNotification: null,
651
- Promise: void 0,
652
- useDeprecatedSynchronousErrorHandling: !1,
653
- useDeprecatedNextContext: !1
654
- }, Er = {
622
+ }(), wt = pe.EMPTY;
623
+ function Ht(e) {
624
+ return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
625
+ }
626
+ function qe(e) {
627
+ A(e) ? e() : e.unsubscribe();
628
+ }
629
+ var wr = {
630
+ Promise: void 0
631
+ }, Hr = {
655
632
  setTimeout: function(e, t) {
656
633
  for (var r = [], n = 2; n < arguments.length; n++)
657
634
  r[n - 2] = arguments[n];
658
- return setTimeout.apply(void 0, U([e, t], Oe(r)));
635
+ return setTimeout.apply(void 0, Le([e, t], Ce(r)));
659
636
  },
660
637
  clearTimeout: function(e) {
661
638
  return clearTimeout(e);
662
639
  },
663
640
  delegate: void 0
664
641
  };
665
- function Sr(e) {
666
- Er.setTimeout(function() {
642
+ function Tr(e) {
643
+ Hr.setTimeout(function() {
667
644
  throw e;
668
645
  });
669
646
  }
670
- function Qe() {
647
+ function Ke() {
671
648
  }
672
649
  function ue(e) {
673
650
  e();
674
651
  }
675
- var Et = function(e) {
676
- A(t, e);
652
+ var Tt = function(e) {
653
+ te(t, e);
677
654
  function t(r) {
678
655
  var n = e.call(this) || this;
679
- return n.isStopped = !1, r ? (n.destination = r, _t(r) && r.add(n)) : n.destination = Tr, n;
656
+ return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Pr, n;
680
657
  }
681
658
  return t.create = function(r, n, i) {
682
- return new Ne(r, n, i);
659
+ return new Me(r, n, i);
683
660
  }, t.prototype.next = function(r) {
684
661
  this.isStopped || this._next(r);
685
662
  }, t.prototype.error = function(r) {
@@ -703,7 +680,7 @@ var Et = function(e) {
703
680
  this.unsubscribe();
704
681
  }
705
682
  }, t;
706
- }(me), wr = function() {
683
+ }(pe), Br = function() {
707
684
  function e(t) {
708
685
  this.partialObserver = t;
709
686
  }
@@ -734,43 +711,43 @@ var Et = function(e) {
734
711
  oe(r);
735
712
  }
736
713
  }, e;
737
- }(), Ne = function(e) {
738
- A(t, e);
714
+ }(), Me = function(e) {
715
+ te(t, e);
739
716
  function t(r, n, i) {
740
717
  var o = e.call(this) || this, s;
741
- return B(r) || !r ? s = {
718
+ return A(r) || !r ? s = {
742
719
  next: r ?? void 0,
743
720
  error: n ?? void 0,
744
721
  complete: i ?? void 0
745
- } : s = r, o.destination = new wr(s), o;
722
+ } : s = r, o.destination = new Br(s), o;
746
723
  }
747
724
  return t;
748
- }(Et);
725
+ }(Tt);
749
726
  function oe(e) {
750
- Sr(e);
727
+ Tr(e);
751
728
  }
752
- function Hr(e) {
729
+ function Ar(e) {
753
730
  throw e;
754
731
  }
755
- var Tr = {
732
+ var Pr = {
756
733
  closed: !0,
757
- next: Qe,
758
- error: Hr,
759
- complete: Qe
760
- }, Br = function() {
734
+ next: Ke,
735
+ error: Ar,
736
+ complete: Ke
737
+ }, Or = function() {
761
738
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
762
739
  }();
763
- function Ar(e) {
740
+ function Ir(e) {
764
741
  return e;
765
742
  }
766
- function Pr(e) {
767
- return e.length === 0 ? Ar : e.length === 1 ? e[0] : function(r) {
743
+ function Nr(e) {
744
+ return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
768
745
  return e.reduce(function(n, i) {
769
746
  return i(n);
770
747
  }, r);
771
748
  };
772
749
  }
773
- var Je = function() {
750
+ var et = function() {
774
751
  function e(t) {
775
752
  t && (this._subscribe = t);
776
753
  }
@@ -778,7 +755,7 @@ var Je = function() {
778
755
  var r = new e();
779
756
  return r.source = this, r.operator = t, r;
780
757
  }, e.prototype.subscribe = function(t, r, n) {
781
- var i = this, o = Ir(t) ? t : new Ne(t, r, n);
758
+ var i = this, o = Lr(t) ? t : new Me(t, r, n);
782
759
  return ue(function() {
783
760
  var s = i, a = s.operator, h = s.source;
784
761
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -791,8 +768,8 @@ var Je = function() {
791
768
  }
792
769
  }, e.prototype.forEach = function(t, r) {
793
770
  var n = this;
794
- return r = Ye(r), new r(function(i, o) {
795
- var s = new Ne({
771
+ return r = tt(r), new r(function(i, o) {
772
+ var s = new Me({
796
773
  next: function(a) {
797
774
  try {
798
775
  t(a);
@@ -808,15 +785,15 @@ var Je = function() {
808
785
  }, e.prototype._subscribe = function(t) {
809
786
  var r;
810
787
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
811
- }, e.prototype[Br] = function() {
788
+ }, e.prototype[Or] = function() {
812
789
  return this;
813
790
  }, e.prototype.pipe = function() {
814
791
  for (var t = [], r = 0; r < arguments.length; r++)
815
792
  t[r] = arguments[r];
816
- return Pr(t)(this);
793
+ return Nr(t)(this);
817
794
  }, e.prototype.toPromise = function(t) {
818
795
  var r = this;
819
- return t = Ye(t), new t(function(n, i) {
796
+ return t = tt(t), new t(function(n, i) {
820
797
  var o;
821
798
  r.subscribe(function(s) {
822
799
  return o = s;
@@ -830,32 +807,32 @@ var Je = function() {
830
807
  return new e(t);
831
808
  }, e;
832
809
  }();
833
- function Ye(e) {
810
+ function tt(e) {
834
811
  var t;
835
- return (t = e ?? _r.Promise) !== null && t !== void 0 ? t : Promise;
812
+ return (t = e ?? wr.Promise) !== null && t !== void 0 ? t : Promise;
836
813
  }
837
- function Or(e) {
838
- return e && B(e.next) && B(e.error) && B(e.complete);
814
+ function Cr(e) {
815
+ return e && A(e.next) && A(e.error) && A(e.complete);
839
816
  }
840
- function Ir(e) {
841
- return e && e instanceof Et || Or(e) && _t(e);
817
+ function Lr(e) {
818
+ return e && e instanceof Tt || Cr(e) && Ht(e);
842
819
  }
843
- var Nr = vt(function(e) {
820
+ var $r = St(function(e) {
844
821
  return function() {
845
822
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
846
823
  };
847
- }), St = function(e) {
848
- A(t, e);
824
+ }), Bt = function(e) {
825
+ te(t, e);
849
826
  function t() {
850
827
  var r = e.call(this) || this;
851
828
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
852
829
  }
853
830
  return t.prototype.lift = function(r) {
854
- var n = new qe(this, this);
831
+ var n = new rt(this, this);
855
832
  return n.operator = r, n;
856
833
  }, t.prototype._throwIfClosed = function() {
857
834
  if (this.closed)
858
- throw new Nr();
835
+ throw new $r();
859
836
  }, t.prototype.next = function(r) {
860
837
  var n = this;
861
838
  ue(function() {
@@ -863,7 +840,7 @@ var Nr = vt(function(e) {
863
840
  if (n._throwIfClosed(), !n.isStopped) {
864
841
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
865
842
  try {
866
- for (var s = Pe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
843
+ for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
867
844
  var h = a.value;
868
845
  h.next(r);
869
846
  }
@@ -912,20 +889,20 @@ var Nr = vt(function(e) {
912
889
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
913
890
  }, t.prototype._innerSubscribe = function(r) {
914
891
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
915
- return o || s ? xt : (this.currentObservers = null, a.push(r), new me(function() {
916
- n.currentObservers = null, Ie(a, r);
892
+ return o || s ? wt : (this.currentObservers = null, a.push(r), new pe(function() {
893
+ n.currentObservers = null, $e(a, r);
917
894
  }));
918
895
  }, t.prototype._checkFinalizedStatuses = function(r) {
919
896
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
920
897
  i ? r.error(o) : s && r.complete();
921
898
  }, t.prototype.asObservable = function() {
922
- var r = new Je();
899
+ var r = new et();
923
900
  return r.source = this, r;
924
901
  }, t.create = function(r, n) {
925
- return new qe(r, n);
902
+ return new rt(r, n);
926
903
  }, t;
927
- }(Je), qe = function(e) {
928
- A(t, e);
904
+ }(et), rt = function(e) {
905
+ te(t, e);
929
906
  function t(r, n) {
930
907
  var i = e.call(this) || this;
931
908
  return i.destination = r, i.source = n, i;
@@ -941,17 +918,17 @@ var Nr = vt(function(e) {
941
918
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
942
919
  }, t.prototype._subscribe = function(r) {
943
920
  var n, i;
944
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xt;
921
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
945
922
  }, t;
946
- }(St), wt = {
923
+ }(Bt), At = {
947
924
  now: function() {
948
- return (wt.delegate || Date).now();
925
+ return (At.delegate || Date).now();
949
926
  },
950
927
  delegate: void 0
951
- }, Cr = function(e) {
952
- A(t, e);
928
+ }, Mr = function(e) {
929
+ te(t, e);
953
930
  function t(r, n, i) {
954
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wt);
931
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = At);
955
932
  var o = e.call(this) || this;
956
933
  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;
957
934
  }
@@ -971,31 +948,31 @@ var Nr = vt(function(e) {
971
948
  u && o.splice(0, u + 1);
972
949
  }
973
950
  }, t;
974
- }(St);
975
- const Ke = [], et = {}, Lr = (e, t = 0) => {
976
- if (Ke.indexOf(e) == -1) {
977
- const r = new Cr(t);
978
- et[e] = r, Ke.push(e);
951
+ }(Bt);
952
+ const nt = [], it = {}, Rr = (e, t = 0) => {
953
+ if (nt.indexOf(e) == -1) {
954
+ const r = new Mr(t);
955
+ it[e] = r, nt.push(e);
979
956
  }
980
- return et[e];
981
- }, M = [];
982
- function Mr(e, t) {
957
+ return it[e];
958
+ }, $ = [];
959
+ function Ur(e, t) {
983
960
  return {
984
- subscribe: pe(e, t).subscribe
961
+ subscribe: de(e, t).subscribe
985
962
  };
986
963
  }
987
- function pe(e, t = w) {
964
+ function de(e, t = w) {
988
965
  let r;
989
966
  const n = /* @__PURE__ */ new Set();
990
967
  function i(a) {
991
- if (bt(e, a) && (e = a, r)) {
992
- const h = !M.length;
968
+ if (_t(e, a) && (e = a, r)) {
969
+ const h = !$.length;
993
970
  for (const u of n)
994
- u[1](), M.push(u, e);
971
+ u[1](), $.push(u, e);
995
972
  if (h) {
996
- for (let u = 0; u < M.length; u += 2)
997
- M[u][0](M[u + 1]);
998
- M.length = 0;
973
+ for (let u = 0; u < $.length; u += 2)
974
+ $[u][0]($[u + 1]);
975
+ $.length = 0;
999
976
  }
1000
977
  }
1001
978
  }
@@ -1010,145 +987,184 @@ function pe(e, t = w) {
1010
987
  }
1011
988
  return { set: i, update: o, subscribe: s };
1012
989
  }
1013
- function X(e, t, r) {
990
+ function V(e, t, r) {
1014
991
  const n = !Array.isArray(e), i = n ? [e] : e;
1015
992
  if (!i.every(Boolean))
1016
993
  throw new Error("derived() expects stores as input, got a falsy value");
1017
994
  const o = t.length < 2;
1018
- return Mr(r, (s, a) => {
995
+ return Ur(r, (s, a) => {
1019
996
  let h = !1;
1020
997
  const u = [];
1021
- let l = 0, c = w;
1022
- const f = () => {
998
+ let l = 0, f = w;
999
+ const c = () => {
1023
1000
  if (l)
1024
1001
  return;
1025
- c();
1002
+ f();
1026
1003
  const v = t(n ? u[0] : u, s, a);
1027
- o ? s(v) : c = Ge(v) ? v : w;
1004
+ o ? s(v) : f = We(v) ? v : w;
1028
1005
  }, p = i.map(
1029
- (v, m) => Qt(
1006
+ (v, m) => Kt(
1030
1007
  v,
1031
1008
  (d) => {
1032
- u[m] = d, l &= ~(1 << m), h && f();
1009
+ u[m] = d, l &= ~(1 << m), h && c();
1033
1010
  },
1034
1011
  () => {
1035
1012
  l |= 1 << m;
1036
1013
  }
1037
1014
  )
1038
1015
  );
1039
- return h = !0, f(), function() {
1040
- ee(p), c(), h = !1;
1016
+ return h = !0, c(), function() {
1017
+ K(p), f(), h = !1;
1041
1018
  };
1042
1019
  });
1043
1020
  }
1044
- function $r(e) {
1045
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1021
+ function Dr(e) {
1022
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1046
1023
  }
1047
- var Rr = function(t) {
1048
- return Ur(t) && !Dr(t);
1024
+ var Fr = function(t) {
1025
+ return Gr(t) && !jr(t);
1049
1026
  };
1050
- function Ur(e) {
1027
+ function Gr(e) {
1051
1028
  return !!e && typeof e == "object";
1052
1029
  }
1053
- function Dr(e) {
1030
+ function jr(e) {
1054
1031
  var t = Object.prototype.toString.call(e);
1055
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
1032
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1056
1033
  }
1057
- var Fr = typeof Symbol == "function" && Symbol.for, Gr = Fr ? Symbol.for("react.element") : 60103;
1058
- function jr(e) {
1059
- return e.$$typeof === Gr;
1034
+ var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.element") : 60103;
1035
+ function Xr(e) {
1036
+ return e.$$typeof === Vr;
1060
1037
  }
1061
- function kr(e) {
1038
+ function Wr(e) {
1062
1039
  return Array.isArray(e) ? [] : {};
1063
1040
  }
1064
- function q(e, t) {
1065
- return t.clone !== !1 && t.isMergeableObject(e) ? F(kr(e), e, t) : e;
1041
+ function Y(e, t) {
1042
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(Wr(e), e, t) : e;
1066
1043
  }
1067
- function Vr(e, t, r) {
1044
+ function zr(e, t, r) {
1068
1045
  return e.concat(t).map(function(n) {
1069
- return q(n, r);
1046
+ return Y(n, r);
1070
1047
  });
1071
1048
  }
1072
- function Xr(e, t) {
1049
+ function Zr(e, t) {
1073
1050
  if (!t.customMerge)
1074
- return F;
1051
+ return D;
1075
1052
  var r = t.customMerge(e);
1076
- return typeof r == "function" ? r : F;
1053
+ return typeof r == "function" ? r : D;
1077
1054
  }
1078
- function Wr(e) {
1055
+ function Qr(e) {
1079
1056
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1080
1057
  return Object.propertyIsEnumerable.call(e, t);
1081
1058
  }) : [];
1082
1059
  }
1083
- function tt(e) {
1084
- return Object.keys(e).concat(Wr(e));
1060
+ function ot(e) {
1061
+ return Object.keys(e).concat(Qr(e));
1085
1062
  }
1086
- function Ht(e, t) {
1063
+ function Pt(e, t) {
1087
1064
  try {
1088
1065
  return t in e;
1089
1066
  } catch {
1090
1067
  return !1;
1091
1068
  }
1092
1069
  }
1093
- function zr(e, t) {
1094
- return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1070
+ function Jr(e, t) {
1071
+ return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1095
1072
  }
1096
- function Zr(e, t, r) {
1073
+ function Yr(e, t, r) {
1097
1074
  var n = {};
1098
- return r.isMergeableObject(e) && tt(e).forEach(function(i) {
1099
- n[i] = q(e[i], r);
1100
- }), tt(t).forEach(function(i) {
1101
- zr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1075
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1076
+ n[i] = Y(e[i], r);
1077
+ }), ot(t).forEach(function(i) {
1078
+ Jr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1102
1079
  }), n;
1103
1080
  }
1104
- function F(e, t, r) {
1105
- r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = q;
1081
+ function D(e, t, r) {
1082
+ r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = Y;
1106
1083
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1107
- return o ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : q(t, r);
1084
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : Y(t, r);
1108
1085
  }
1109
- F.all = function(t, r) {
1086
+ D.all = function(t, r) {
1110
1087
  if (!Array.isArray(t))
1111
1088
  throw new Error("first argument should be an array");
1112
1089
  return t.reduce(function(n, i) {
1113
- return F(n, i, r);
1090
+ return D(n, i, r);
1114
1091
  }, {});
1115
1092
  };
1116
- var Qr = F, Jr = Qr;
1117
- const Yr = /* @__PURE__ */ $r(Jr);
1118
- function xe(e, t) {
1119
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
1093
+ var qr = D, Kr = qr;
1094
+ const en = /* @__PURE__ */ Dr(Kr);
1095
+ var Re = function(e, t) {
1096
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1097
+ r.__proto__ = n;
1098
+ } || function(r, n) {
1099
+ for (var i in n)
1100
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1101
+ }, Re(e, t);
1102
+ };
1103
+ function be(e, t) {
1104
+ if (typeof t != "function" && t !== null)
1105
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1106
+ Re(e, t);
1107
+ function r() {
1108
+ this.constructor = e;
1109
+ }
1110
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1111
+ }
1112
+ var B = function() {
1113
+ return B = Object.assign || function(t) {
1114
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1115
+ r = arguments[n];
1116
+ for (var o in r)
1117
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1118
+ }
1119
+ return t;
1120
+ }, B.apply(this, arguments);
1121
+ };
1122
+ function tn(e, t) {
1123
+ var r = {};
1124
+ for (var n in e)
1125
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1126
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1127
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1128
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1129
+ return r;
1130
+ }
1131
+ function Ee(e, t, r) {
1132
+ if (r || arguments.length === 2)
1133
+ for (var n = 0, i = t.length, o; n < i; n++)
1134
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1135
+ return e.concat(o || Array.prototype.slice.call(t));
1136
+ }
1137
+ function Se(e, t) {
1138
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1120
1139
  return i(e, {
1121
1140
  cache: r,
1122
1141
  serializer: n
1123
1142
  });
1124
1143
  }
1125
- function qr(e) {
1144
+ function rn(e) {
1126
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1127
1146
  }
1128
- function Tt(e, t, r, n) {
1129
- var i = qr(n) ? n : r(n), o = t.get(i);
1147
+ function nn(e, t, r, n) {
1148
+ var i = rn(n) ? n : r(n), o = t.get(i);
1130
1149
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1131
1150
  }
1132
- function Bt(e, t, r) {
1151
+ function Ot(e, t, r) {
1133
1152
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1134
1153
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1135
1154
  }
1136
- function je(e, t, r, n, i) {
1155
+ function It(e, t, r, n, i) {
1137
1156
  return r.bind(t, e, n, i);
1138
1157
  }
1139
- function Kr(e, t) {
1140
- var r = e.length === 1 ? Tt : Bt;
1141
- return je(e, this, r, t.cache.create(), t.serializer);
1158
+ function on(e, t) {
1159
+ var r = e.length === 1 ? nn : Ot;
1160
+ return It(e, this, r, t.cache.create(), t.serializer);
1142
1161
  }
1143
- function en(e, t) {
1144
- return je(e, this, Bt, t.cache.create(), t.serializer);
1162
+ function sn(e, t) {
1163
+ return It(e, this, Ot, t.cache.create(), t.serializer);
1145
1164
  }
1146
- function tn(e, t) {
1147
- return je(e, this, Tt, t.cache.create(), t.serializer);
1148
- }
1149
- var rn = function() {
1165
+ var an = function() {
1150
1166
  return JSON.stringify(arguments);
1151
- }, nn = (
1167
+ }, un = (
1152
1168
  /** @class */
1153
1169
  function() {
1154
1170
  function e() {
@@ -1160,62 +1176,71 @@ var rn = function() {
1160
1176
  this.cache[t] = r;
1161
1177
  }, e;
1162
1178
  }()
1163
- ), on = {
1179
+ ), hn = {
1164
1180
  create: function() {
1165
- return new nn();
1181
+ return new un();
1166
1182
  }
1167
- }, _e = {
1168
- variadic: en,
1169
- monadic: tn
1170
- }, b;
1183
+ }, we = {
1184
+ variadic: sn
1185
+ }, ce = function() {
1186
+ return ce = Object.assign || function(t) {
1187
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1188
+ r = arguments[n];
1189
+ for (var o in r)
1190
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1191
+ }
1192
+ return t;
1193
+ }, ce.apply(this, arguments);
1194
+ };
1195
+ var b;
1171
1196
  (function(e) {
1172
1197
  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";
1173
1198
  })(b || (b = {}));
1174
- var x;
1199
+ var g;
1175
1200
  (function(e) {
1176
1201
  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";
1177
- })(x || (x = {}));
1178
- var G;
1202
+ })(g || (g = {}));
1203
+ var F;
1179
1204
  (function(e) {
1180
1205
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1181
- })(G || (G = {}));
1182
- function rt(e) {
1183
- return e.type === x.literal;
1206
+ })(F || (F = {}));
1207
+ function st(e) {
1208
+ return e.type === g.literal;
1184
1209
  }
1185
- function sn(e) {
1186
- return e.type === x.argument;
1210
+ function ln(e) {
1211
+ return e.type === g.argument;
1187
1212
  }
1188
- function At(e) {
1189
- return e.type === x.number;
1213
+ function Nt(e) {
1214
+ return e.type === g.number;
1190
1215
  }
1191
- function Pt(e) {
1192
- return e.type === x.date;
1216
+ function Ct(e) {
1217
+ return e.type === g.date;
1193
1218
  }
1194
- function Ot(e) {
1195
- return e.type === x.time;
1219
+ function Lt(e) {
1220
+ return e.type === g.time;
1196
1221
  }
1197
- function It(e) {
1198
- return e.type === x.select;
1222
+ function $t(e) {
1223
+ return e.type === g.select;
1199
1224
  }
1200
- function Nt(e) {
1201
- return e.type === x.plural;
1225
+ function Mt(e) {
1226
+ return e.type === g.plural;
1202
1227
  }
1203
- function an(e) {
1204
- return e.type === x.pound;
1228
+ function cn(e) {
1229
+ return e.type === g.pound;
1205
1230
  }
1206
- function Ct(e) {
1207
- return e.type === x.tag;
1231
+ function Rt(e) {
1232
+ return e.type === g.tag;
1208
1233
  }
1209
- function Lt(e) {
1210
- return !!(e && typeof e == "object" && e.type === G.number);
1234
+ function Ut(e) {
1235
+ return !!(e && typeof e == "object" && e.type === F.number);
1211
1236
  }
1212
- function Ce(e) {
1213
- return !!(e && typeof e == "object" && e.type === G.dateTime);
1237
+ function Ue(e) {
1238
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1214
1239
  }
1215
- var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1216
- function hn(e) {
1240
+ var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1241
+ function mn(e) {
1217
1242
  var t = {};
1218
- return e.replace(un, function(r) {
1243
+ return e.replace(fn, function(r) {
1219
1244
  var n = r.length;
1220
1245
  switch (r[0]) {
1221
1246
  case "G":
@@ -1304,36 +1329,46 @@ function hn(e) {
1304
1329
  return "";
1305
1330
  }), t;
1306
1331
  }
1307
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1308
- function fn(e) {
1332
+ var _ = function() {
1333
+ return _ = Object.assign || function(t) {
1334
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1335
+ r = arguments[n];
1336
+ for (var o in r)
1337
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1338
+ }
1339
+ return t;
1340
+ }, _.apply(this, arguments);
1341
+ };
1342
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function dn(e) {
1309
1344
  if (e.length === 0)
1310
1345
  throw new Error("Number skeleton cannot be empty");
1311
- for (var t = e.split(ln).filter(function(f) {
1312
- return f.length > 0;
1346
+ for (var t = e.split(pn).filter(function(c) {
1347
+ return c.length > 0;
1313
1348
  }), r = [], n = 0, i = t; n < i.length; n++) {
1314
1349
  var o = i[n], s = o.split("/");
1315
1350
  if (s.length === 0)
1316
1351
  throw new Error("Invalid number skeleton");
1317
1352
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1318
- var c = l[u];
1319
- if (c.length === 0)
1353
+ var f = l[u];
1354
+ if (f.length === 0)
1320
1355
  throw new Error("Invalid number skeleton");
1321
1356
  }
1322
1357
  r.push({ stem: a, options: h });
1323
1358
  }
1324
1359
  return r;
1325
1360
  }
1326
- function cn(e) {
1361
+ function bn(e) {
1327
1362
  return e.replace(/^(.*?)-/, "");
1328
1363
  }
1329
- var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
1330
- function it(e) {
1364
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
1365
+ function ut(e) {
1331
1366
  var t = {};
1332
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
1367
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1333
1368
  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)), "";
1334
1369
  }), t;
1335
1370
  }
1336
- function Ut(e) {
1371
+ function jt(e) {
1337
1372
  switch (e) {
1338
1373
  case "sign-auto":
1339
1374
  return {
@@ -1373,7 +1408,7 @@ function Ut(e) {
1373
1408
  };
1374
1409
  }
1375
1410
  }
1376
- function pn(e) {
1411
+ function vn(e) {
1377
1412
  var t;
1378
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1379
1414
  notation: "engineering"
@@ -1381,17 +1416,17 @@ function pn(e) {
1381
1416
  notation: "scientific"
1382
1417
  }, e = e.slice(1)), t) {
1383
1418
  var r = e.slice(0, 2);
1384
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
1419
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
1385
1420
  throw new Error("Malformed concise eng/scientific notation");
1386
1421
  t.minimumIntegerDigits = e.length;
1387
1422
  }
1388
1423
  return t;
1389
1424
  }
1390
- function ot(e) {
1391
- var t = {}, r = Ut(e);
1425
+ function ht(e) {
1426
+ var t = {}, r = jt(e);
1392
1427
  return r || t;
1393
1428
  }
1394
- function dn(e) {
1429
+ function gn(e) {
1395
1430
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1396
1431
  var i = n[r];
1397
1432
  switch (i.stem) {
@@ -1415,7 +1450,7 @@ function dn(e) {
1415
1450
  continue;
1416
1451
  case "measure-unit":
1417
1452
  case "unit":
1418
- t.style = "unit", t.unit = cn(i.options[0]);
1453
+ t.style = "unit", t.unit = bn(i.options[0]);
1419
1454
  continue;
1420
1455
  case "compact-short":
1421
1456
  case "K":
@@ -1426,13 +1461,13 @@ function dn(e) {
1426
1461
  t.notation = "compact", t.compactDisplay = "long";
1427
1462
  continue;
1428
1463
  case "scientific":
1429
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1430
- return g(g({}, h), ot(u));
1464
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1465
+ return _(_({}, h), ht(u));
1431
1466
  }, {}));
1432
1467
  continue;
1433
1468
  case "engineering":
1434
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1435
- return g(g({}, h), ot(u));
1469
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1470
+ return _(_({}, h), ht(u));
1436
1471
  }, {}));
1437
1472
  continue;
1438
1473
  case "notation-simple":
@@ -1477,11 +1512,11 @@ function dn(e) {
1477
1512
  case "integer-width":
1478
1513
  if (i.options.length > 1)
1479
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1480
- i.options[0].replace(mn, function(h, u, l, c, f, p) {
1515
+ i.options[0].replace(yn, function(h, u, l, f, c, p) {
1481
1516
  if (u)
1482
1517
  t.minimumIntegerDigits = l.length;
1483
1518
  else {
1484
- if (c && f)
1519
+ if (f && c)
1485
1520
  throw new Error("We currently do not support maximum integer digits");
1486
1521
  if (p)
1487
1522
  throw new Error("We currently do not support exact integer digits");
@@ -1490,28 +1525,28 @@ function dn(e) {
1490
1525
  });
1491
1526
  continue;
1492
1527
  }
1493
- if (Rt.test(i.stem)) {
1528
+ if (Gt.test(i.stem)) {
1494
1529
  t.minimumIntegerDigits = i.stem.length;
1495
1530
  continue;
1496
1531
  }
1497
- if (nt.test(i.stem)) {
1532
+ if (at.test(i.stem)) {
1498
1533
  if (i.options.length > 1)
1499
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1500
- i.stem.replace(nt, function(h, u, l, c, f, p) {
1501
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1535
+ i.stem.replace(at, function(h, u, l, f, c, p) {
1536
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1502
1537
  });
1503
1538
  var o = i.options[0];
1504
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), it(o)));
1539
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ut(o)));
1505
1540
  continue;
1506
1541
  }
1507
- if ($t.test(i.stem)) {
1508
- t = g(g({}, t), it(i.stem));
1542
+ if (Ft.test(i.stem)) {
1543
+ t = _(_({}, t), ut(i.stem));
1509
1544
  continue;
1510
1545
  }
1511
- var s = Ut(i.stem);
1512
- s && (t = g(g({}, t), s));
1513
- var a = pn(i.stem);
1514
- a && (t = g(g({}, t), a));
1546
+ var s = jt(i.stem);
1547
+ s && (t = _(_({}, t), s));
1548
+ var a = vn(i.stem);
1549
+ a && (t = _(_({}, t), a));
1515
1550
  }
1516
1551
  return t;
1517
1552
  }
@@ -2930,13 +2965,13 @@ var se = {
2930
2965
  "h"
2931
2966
  ]
2932
2967
  };
2933
- function bn(e, t) {
2968
+ function _n(e, t) {
2934
2969
  for (var r = "", n = 0; n < e.length; n++) {
2935
2970
  var i = e.charAt(n);
2936
2971
  if (i === "j") {
2937
2972
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2938
2973
  o++, n++;
2939
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = yn(t);
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = xn(t);
2940
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2941
2976
  r += h;
2942
2977
  for (; s-- > 0; )
@@ -2946,7 +2981,7 @@ function bn(e, t) {
2946
2981
  }
2947
2982
  return r;
2948
2983
  }
2949
- function yn(e) {
2984
+ function xn(e) {
2950
2985
  var t = e.hourCycle;
2951
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2952
2987
  e.hourCycles && // @ts-ignore
@@ -2968,20 +3003,20 @@ function yn(e) {
2968
3003
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2969
3004
  return i[0];
2970
3005
  }
2971
- var Ee, gn = new RegExp("^".concat(Mt.source, "*")), vn = new RegExp("".concat(Mt.source, "*$"));
3006
+ var He, En = new RegExp("^".concat(Dt.source, "*")), Sn = new RegExp("".concat(Dt.source, "*$"));
2972
3007
  function y(e, t) {
2973
3008
  return { start: e, end: t };
2974
3009
  }
2975
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Bn = Tn ? Number.isSafeInteger : function(e) {
3010
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2976
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2977
- }, Le = !0;
3012
+ }, De = !0;
2978
3013
  try {
2979
- var An = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2980
- Le = ((Ee = An.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
3014
+ var Nn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ De = ((He = Nn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2981
3016
  } catch {
2982
- Le = !1;
3017
+ De = !1;
2983
3018
  }
2984
- var st = xn ? (
3019
+ var lt = wn ? (
2985
3020
  // Native
2986
3021
  function(t, r, n) {
2987
3022
  return t.startsWith(r, n);
@@ -2991,7 +3026,7 @@ var st = xn ? (
2991
3026
  function(t, r, n) {
2992
3027
  return t.slice(n, n + r.length) === r;
2993
3028
  }
2994
- ), Me = _n ? String.fromCodePoint : (
3029
+ ), Fe = Hn ? String.fromCodePoint : (
2995
3030
  // IE11
2996
3031
  function() {
2997
3032
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3003,9 +3038,9 @@ var st = xn ? (
3003
3038
  }
3004
3039
  return n;
3005
3040
  }
3006
- ), at = (
3041
+ ), ct = (
3007
3042
  // native
3008
- En ? Object.fromEntries : (
3043
+ Tn ? Object.fromEntries : (
3009
3044
  // Ponyfill
3010
3045
  function(t) {
3011
3046
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3015,7 +3050,7 @@ var st = xn ? (
3015
3050
  return r;
3016
3051
  }
3017
3052
  )
3018
- ), Dt = Sn ? (
3053
+ ), kt = Bn ? (
3019
3054
  // Native
3020
3055
  function(t, r) {
3021
3056
  return t.codePointAt(r);
@@ -3029,7 +3064,7 @@ var st = xn ? (
3029
3064
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3030
3065
  }
3031
3066
  }
3032
- ), Pn = wn ? (
3067
+ ), Cn = An ? (
3033
3068
  // Native
3034
3069
  function(t) {
3035
3070
  return t.trimStart();
@@ -3037,9 +3072,9 @@ var st = xn ? (
3037
3072
  ) : (
3038
3073
  // Ponyfill
3039
3074
  function(t) {
3040
- return t.replace(gn, "");
3075
+ return t.replace(En, "");
3041
3076
  }
3042
- ), On = Hn ? (
3077
+ ), Ln = Pn ? (
3043
3078
  // Native
3044
3079
  function(t) {
3045
3080
  return t.trimEnd();
@@ -3047,32 +3082,32 @@ var st = xn ? (
3047
3082
  ) : (
3048
3083
  // Ponyfill
3049
3084
  function(t) {
3050
- return t.replace(vn, "");
3085
+ return t.replace(Sn, "");
3051
3086
  }
3052
3087
  );
3053
- function Ft(e, t) {
3088
+ function Vt(e, t) {
3054
3089
  return new RegExp(e, t);
3055
3090
  }
3056
- var $e;
3057
- if (Le) {
3058
- var ut = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
- $e = function(t, r) {
3091
+ var Ge;
3092
+ if (De) {
3093
+ var ft = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ Ge = function(t, r) {
3060
3095
  var n;
3061
- ut.lastIndex = r;
3062
- var i = ut.exec(t);
3096
+ ft.lastIndex = r;
3097
+ var i = ft.exec(t);
3063
3098
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3064
3099
  };
3065
3100
  } else
3066
- $e = function(t, r) {
3101
+ Ge = function(t, r) {
3067
3102
  for (var n = []; ; ) {
3068
- var i = Dt(t, r);
3069
- if (i === void 0 || Gt(i) || Ln(i))
3103
+ var i = kt(t, r);
3104
+ if (i === void 0 || Xt(i) || Un(i))
3070
3105
  break;
3071
3106
  n.push(i), r += i >= 65536 ? 2 : 1;
3072
3107
  }
3073
- return Me.apply(void 0, n);
3108
+ return Fe.apply(void 0, n);
3074
3109
  };
3075
- var In = (
3110
+ var $n = (
3076
3111
  /** @class */
3077
3112
  function() {
3078
3113
  function e(t, r) {
@@ -3096,14 +3131,14 @@ var In = (
3096
3131
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3097
3132
  var a = this.clonePosition();
3098
3133
  this.bump(), i.push({
3099
- type: x.pound,
3134
+ type: g.pound,
3100
3135
  location: y(a, this.clonePosition())
3101
3136
  });
3102
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3103
3138
  if (n)
3104
3139
  break;
3105
3140
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3106
- } else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
3141
+ } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3107
3142
  var s = this.parseTag(t, r);
3108
3143
  if (s.err)
3109
3144
  return s;
@@ -3124,7 +3159,7 @@ var In = (
3124
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
3125
3160
  return {
3126
3161
  val: {
3127
- type: x.literal,
3162
+ type: g.literal,
3128
3163
  value: "<".concat(i, "/>"),
3129
3164
  location: y(n, this.clonePosition())
3130
3165
  },
@@ -3136,12 +3171,12 @@ var In = (
3136
3171
  return o;
3137
3172
  var s = o.val, a = this.clonePosition();
3138
3173
  if (this.bumpIf("</")) {
3139
- if (this.isEOF() || !Re(this.char()))
3174
+ if (this.isEOF() || !je(this.char()))
3140
3175
  return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3141
3176
  var h = this.clonePosition(), u = this.parseTagName();
3142
3177
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3143
3178
  val: {
3144
- type: x.tag,
3179
+ type: g.tag,
3145
3180
  value: i,
3146
3181
  children: s,
3147
3182
  location: y(n, this.clonePosition())
@@ -3154,7 +3189,7 @@ var In = (
3154
3189
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3155
3190
  }, e.prototype.parseTagName = function() {
3156
3191
  var t = this.offset();
3157
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
3158
3193
  this.bump();
3159
3194
  return this.message.slice(t, this.offset());
3160
3195
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3178,12 +3213,12 @@ var In = (
3178
3213
  }
3179
3214
  var h = y(n, this.clonePosition());
3180
3215
  return {
3181
- val: { type: x.literal, value: i, location: h },
3216
+ val: { type: g.literal, value: i, location: h },
3182
3217
  err: null
3183
3218
  };
3184
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3185
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3186
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Mn(this.peek() || 0)) ? (this.bump(), "<") : null;
3187
3222
  }, e.prototype.tryParseQuote = function(t) {
3188
3223
  if (this.isEOF() || this.char() !== 39)
3189
3224
  return null;
@@ -3217,12 +3252,12 @@ var In = (
3217
3252
  r.push(n);
3218
3253
  this.bump();
3219
3254
  }
3220
- return Me.apply(void 0, r);
3255
+ return Fe.apply(void 0, r);
3221
3256
  }, e.prototype.tryParseUnquoted = function(t, r) {
3222
3257
  if (this.isEOF())
3223
3258
  return null;
3224
3259
  var n = this.char();
3225
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
3260
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3226
3261
  }, e.prototype.parseArgument = function(t, r) {
3227
3262
  var n = this.clonePosition();
3228
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3238,7 +3273,7 @@ var In = (
3238
3273
  case 125:
3239
3274
  return this.bump(), {
3240
3275
  val: {
3241
- type: x.argument,
3276
+ type: g.argument,
3242
3277
  // value does not include the opening and closing braces.
3243
3278
  value: i,
3244
3279
  location: y(n, this.clonePosition())
@@ -3251,7 +3286,7 @@ var In = (
3251
3286
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3252
3287
  }
3253
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3254
- var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
3289
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3255
3290
  this.bumpTo(i);
3256
3291
  var o = this.clonePosition(), s = y(t, o);
3257
3292
  return { value: n, location: s };
@@ -3267,47 +3302,47 @@ var In = (
3267
3302
  var u = null;
3268
3303
  if (this.bumpIf(",")) {
3269
3304
  this.bumpSpace();
3270
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3271
- if (c.err)
3272
- return c;
3273
- var f = On(c.val);
3274
- if (f.length === 0)
3305
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3306
+ if (f.err)
3307
+ return f;
3308
+ var c = Ln(f.val);
3309
+ if (c.length === 0)
3275
3310
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3276
3311
  var p = y(l, this.clonePosition());
3277
- u = { style: f, styleLocation: p };
3312
+ u = { style: c, styleLocation: p };
3278
3313
  }
3279
3314
  var v = this.tryParseArgumentClose(i);
3280
3315
  if (v.err)
3281
3316
  return v;
3282
3317
  var m = y(i, this.clonePosition());
3283
- if (u && st(u?.style, "::", 0)) {
3284
- var d = Pn(u.style.slice(2));
3318
+ if (u && lt(u?.style, "::", 0)) {
3319
+ var d = Cn(u.style.slice(2));
3285
3320
  if (a === "number") {
3286
- var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
3287
- return c.err ? c : {
3288
- val: { type: x.number, value: n, location: m, style: c.val },
3321
+ var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
3322
+ return f.err ? f : {
3323
+ val: { type: g.number, value: n, location: m, style: f.val },
3289
3324
  err: null
3290
3325
  };
3291
3326
  } else {
3292
3327
  if (d.length === 0)
3293
3328
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3294
3329
  var S = d;
3295
- this.locale && (S = bn(d, this.locale));
3296
- var f = {
3297
- type: G.dateTime,
3330
+ this.locale && (S = _n(d, this.locale));
3331
+ var c = {
3332
+ type: F.dateTime,
3298
3333
  pattern: S,
3299
3334
  location: u.styleLocation,
3300
- parsedOptions: this.shouldParseSkeletons ? hn(S) : {}
3301
- }, P = a === "date" ? x.date : x.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? mn(S) : {}
3336
+ }, P = a === "date" ? g.date : g.time;
3302
3337
  return {
3303
- val: { type: P, value: n, location: m, style: f },
3338
+ val: { type: P, value: n, location: m, style: c },
3304
3339
  err: null
3305
3340
  };
3306
3341
  }
3307
3342
  }
3308
3343
  return {
3309
3344
  val: {
3310
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3345
+ type: a === "number" ? g.number : a === "date" ? g.date : g.time,
3311
3346
  value: n,
3312
3347
  location: m,
3313
3348
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3320,41 +3355,41 @@ var In = (
3320
3355
  case "select": {
3321
3356
  var H = this.clonePosition();
3322
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3323
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, g({}, H)));
3358
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, ce({}, H)));
3324
3359
  this.bumpSpace();
3325
- var z = this.parseIdentifierIfPossible(), I = 0;
3326
- if (a !== "select" && z.value === "offset") {
3360
+ var W = this.parseIdentifierIfPossible(), I = 0;
3361
+ if (a !== "select" && W.value === "offset") {
3327
3362
  if (!this.bumpIf(":"))
3328
3363
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3329
3364
  this.bumpSpace();
3330
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3331
- if (c.err)
3332
- return c;
3333
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
3365
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3366
+ if (f.err)
3367
+ return f;
3368
+ this.bumpSpace(), W = this.parseIdentifierIfPossible(), I = f.val;
3334
3369
  }
3335
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
3370
+ var ie = this.tryParsePluralOrSelectOptions(t, a, r, W);
3336
3371
  if (ie.err)
3337
3372
  return ie;
3338
3373
  var v = this.tryParseArgumentClose(i);
3339
3374
  if (v.err)
3340
3375
  return v;
3341
- var Xe = y(i, this.clonePosition());
3376
+ var Qe = y(i, this.clonePosition());
3342
3377
  return a === "select" ? {
3343
3378
  val: {
3344
- type: x.select,
3379
+ type: g.select,
3345
3380
  value: n,
3346
- options: at(ie.val),
3347
- location: Xe
3381
+ options: ct(ie.val),
3382
+ location: Qe
3348
3383
  },
3349
3384
  err: null
3350
3385
  } : {
3351
3386
  val: {
3352
- type: x.plural,
3387
+ type: g.plural,
3353
3388
  value: n,
3354
- options: at(ie.val),
3389
+ options: ct(ie.val),
3355
3390
  offset: I,
3356
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3357
- location: Xe
3392
+ location: Qe
3358
3393
  },
3359
3394
  err: null
3360
3395
  };
@@ -3402,28 +3437,28 @@ var In = (
3402
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3403
3438
  var n = [];
3404
3439
  try {
3405
- n = fn(t);
3440
+ n = dn(t);
3406
3441
  } catch {
3407
3442
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3408
3443
  }
3409
3444
  return {
3410
3445
  val: {
3411
- type: G.number,
3446
+ type: F.number,
3412
3447
  tokens: n,
3413
3448
  location: r,
3414
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
3415
3450
  },
3416
3451
  err: null
3417
3452
  };
3418
3453
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3419
3454
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3420
3455
  if (u.length === 0) {
3421
- var c = this.clonePosition();
3456
+ var f = this.clonePosition();
3422
3457
  if (r !== "select" && this.bumpIf("=")) {
3423
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3424
- if (f.err)
3425
- return f;
3426
- l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3458
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3459
+ if (c.err)
3460
+ return c;
3461
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3427
3462
  } else
3428
3463
  break;
3429
3464
  }
@@ -3459,7 +3494,7 @@ var In = (
3459
3494
  break;
3460
3495
  }
3461
3496
  var h = y(i, this.clonePosition());
3462
- return o ? (s *= n, Bn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3497
+ return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3463
3498
  }, e.prototype.offset = function() {
3464
3499
  return this.position.offset;
3465
3500
  }, e.prototype.isEOF = function() {
@@ -3474,7 +3509,7 @@ var In = (
3474
3509
  var t = this.position.offset;
3475
3510
  if (t >= this.message.length)
3476
3511
  throw Error("out of bound");
3477
- var r = Dt(this.message, t);
3512
+ var r = kt(this.message, t);
3478
3513
  if (r === void 0)
3479
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3480
3515
  return r;
@@ -3493,7 +3528,7 @@ var In = (
3493
3528
  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);
3494
3529
  }
3495
3530
  }, e.prototype.bumpIf = function(t) {
3496
- if (st(this.message, t, this.offset())) {
3531
+ if (lt(this.message, t, this.offset())) {
3497
3532
  for (var r = 0; r < t.length; r++)
3498
3533
  this.bump();
3499
3534
  return !0;
@@ -3515,7 +3550,7 @@ var In = (
3515
3550
  break;
3516
3551
  }
3517
3552
  }, e.prototype.bumpSpace = function() {
3518
- for (; !this.isEOF() && Gt(this.char()); )
3553
+ for (; !this.isEOF() && Xt(this.char()); )
3519
3554
  this.bump();
3520
3555
  }, e.prototype.peek = function() {
3521
3556
  if (this.isEOF())
@@ -3525,47 +3560,47 @@ var In = (
3525
3560
  }, e;
3526
3561
  }()
3527
3562
  );
3528
- function Re(e) {
3563
+ function je(e) {
3529
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3530
3565
  }
3531
- function Nn(e) {
3532
- return Re(e) || e === 47;
3566
+ function Mn(e) {
3567
+ return je(e) || e === 47;
3533
3568
  }
3534
- function Cn(e) {
3569
+ function Rn(e) {
3535
3570
  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;
3536
3571
  }
3537
- function Gt(e) {
3572
+ function Xt(e) {
3538
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3539
3574
  }
3540
- function Ln(e) {
3575
+ function Un(e) {
3541
3576
  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;
3542
3577
  }
3543
- function Ue(e) {
3578
+ function ke(e) {
3544
3579
  e.forEach(function(t) {
3545
- if (delete t.location, It(t) || Nt(t))
3580
+ if (delete t.location, $t(t) || Mt(t))
3546
3581
  for (var r in t.options)
3547
- delete t.options[r].location, Ue(t.options[r].value);
3582
+ delete t.options[r].location, ke(t.options[r].value);
3548
3583
  else
3549
- At(t) && Lt(t.style) || (Pt(t) || Ot(t)) && Ce(t.style) ? delete t.style.location : Ct(t) && Ue(t.children);
3584
+ Nt(t) && Ut(t.style) || (Ct(t) || Lt(t)) && Ue(t.style) ? delete t.style.location : Rt(t) && ke(t.children);
3550
3585
  });
3551
3586
  }
3552
- function Mn(e, t) {
3553
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3554
- var r = new In(e, t).parse();
3587
+ function Dn(e, t) {
3588
+ t === void 0 && (t = {}), t = ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
+ var r = new $n(e, t).parse();
3555
3590
  if (r.err) {
3556
3591
  var n = SyntaxError(b[r.err.kind]);
3557
3592
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3558
3593
  }
3559
- return t?.captureLocation || Ue(r.val), r.val;
3594
+ return t?.captureLocation || ke(r.val), r.val;
3560
3595
  }
3561
- var j;
3596
+ var G;
3562
3597
  (function(e) {
3563
3598
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3564
- })(j || (j = {}));
3565
- var de = (
3599
+ })(G || (G = {}));
3600
+ var ye = (
3566
3601
  /** @class */
3567
3602
  function(e) {
3568
- A(t, e);
3603
+ be(t, e);
3569
3604
  function t(r, n, i) {
3570
3605
  var o = e.call(this, r) || this;
3571
3606
  return o.code = n, o.originalMessage = i, o;
@@ -3574,48 +3609,48 @@ var de = (
3574
3609
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3575
3610
  }, t;
3576
3611
  }(Error)
3577
- ), ht = (
3612
+ ), mt = (
3578
3613
  /** @class */
3579
3614
  function(e) {
3580
- A(t, e);
3615
+ be(t, e);
3581
3616
  function t(r, n, i, o) {
3582
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3617
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), G.INVALID_VALUE, o) || this;
3583
3618
  }
3584
3619
  return t;
3585
- }(de)
3586
- ), $n = (
3620
+ }(ye)
3621
+ ), Fn = (
3587
3622
  /** @class */
3588
3623
  function(e) {
3589
- A(t, e);
3624
+ be(t, e);
3590
3625
  function t(r, n, i) {
3591
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3626
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), G.INVALID_VALUE, i) || this;
3592
3627
  }
3593
3628
  return t;
3594
- }(de)
3595
- ), Rn = (
3629
+ }(ye)
3630
+ ), Gn = (
3596
3631
  /** @class */
3597
3632
  function(e) {
3598
- A(t, e);
3633
+ be(t, e);
3599
3634
  function t(r, n) {
3600
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3635
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), G.MISSING_VALUE, n) || this;
3601
3636
  }
3602
3637
  return t;
3603
- }(de)
3638
+ }(ye)
3604
3639
  ), E;
3605
3640
  (function(e) {
3606
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3607
3642
  })(E || (E = {}));
3608
- function Un(e) {
3643
+ function jn(e) {
3609
3644
  return e.length < 2 ? e : e.reduce(function(t, r) {
3610
3645
  var n = t[t.length - 1];
3611
3646
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3612
3647
  }, []);
3613
3648
  }
3614
- function Dn(e) {
3649
+ function kn(e) {
3615
3650
  return typeof e == "function";
3616
3651
  }
3617
3652
  function he(e, t, r, n, i, o, s) {
3618
- if (e.length === 1 && rt(e[0]))
3653
+ if (e.length === 1 && st(e[0]))
3619
3654
  return [
3620
3655
  {
3621
3656
  type: E.literal,
@@ -3624,59 +3659,59 @@ function he(e, t, r, n, i, o, s) {
3624
3659
  ];
3625
3660
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3626
3661
  var l = u[h];
3627
- if (rt(l)) {
3662
+ if (st(l)) {
3628
3663
  a.push({
3629
3664
  type: E.literal,
3630
3665
  value: l.value
3631
3666
  });
3632
3667
  continue;
3633
3668
  }
3634
- if (an(l)) {
3669
+ if (cn(l)) {
3635
3670
  typeof o == "number" && a.push({
3636
3671
  type: E.literal,
3637
3672
  value: r.getNumberFormat(t).format(o)
3638
3673
  });
3639
3674
  continue;
3640
3675
  }
3641
- var c = l.value;
3642
- if (!(i && c in i))
3643
- throw new Rn(c, s);
3644
- var f = i[c];
3645
- if (sn(l)) {
3646
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3647
- type: typeof f == "string" ? E.literal : E.object,
3648
- value: f
3676
+ var f = l.value;
3677
+ if (!(i && f in i))
3678
+ throw new Gn(f, s);
3679
+ var c = i[f];
3680
+ if (ln(l)) {
3681
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3682
+ type: typeof c == "string" ? E.literal : E.object,
3683
+ value: c
3649
3684
  });
3650
3685
  continue;
3651
3686
  }
3652
- if (Pt(l)) {
3653
- var p = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
3687
+ if (Ct(l)) {
3688
+ var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3654
3689
  a.push({
3655
3690
  type: E.literal,
3656
- value: r.getDateTimeFormat(t, p).format(f)
3691
+ value: r.getDateTimeFormat(t, p).format(c)
3657
3692
  });
3658
3693
  continue;
3659
3694
  }
3660
- if (Ot(l)) {
3661
- var p = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
3695
+ if (Lt(l)) {
3696
+ var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3662
3697
  a.push({
3663
3698
  type: E.literal,
3664
- value: r.getDateTimeFormat(t, p).format(f)
3699
+ value: r.getDateTimeFormat(t, p).format(c)
3665
3700
  });
3666
3701
  continue;
3667
3702
  }
3668
- if (At(l)) {
3669
- var p = typeof l.style == "string" ? n.number[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
3670
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3703
+ if (Nt(l)) {
3704
+ var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3705
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3671
3706
  type: E.literal,
3672
- value: r.getNumberFormat(t, p).format(f)
3707
+ value: r.getNumberFormat(t, p).format(c)
3673
3708
  });
3674
3709
  continue;
3675
3710
  }
3676
- if (Ct(l)) {
3711
+ if (Rt(l)) {
3677
3712
  var v = l.children, m = l.value, d = i[m];
3678
- if (!Dn(d))
3679
- throw new $n(m, "function", s);
3713
+ if (!kn(d))
3714
+ throw new Fn(m, "function", s);
3680
3715
  var S = he(v, t, r, n, i, o), P = d(S.map(function(I) {
3681
3716
  return I.value;
3682
3717
  }));
@@ -3687,42 +3722,42 @@ function he(e, t, r, n, i, o, s) {
3687
3722
  };
3688
3723
  }));
3689
3724
  }
3690
- if (It(l)) {
3691
- var H = l.options[f] || l.options.other;
3725
+ if ($t(l)) {
3726
+ var H = l.options[c] || l.options.other;
3692
3727
  if (!H)
3693
- throw new ht(l.value, f, Object.keys(l.options), s);
3728
+ throw new mt(l.value, c, Object.keys(l.options), s);
3694
3729
  a.push.apply(a, he(H.value, t, r, n, i));
3695
3730
  continue;
3696
3731
  }
3697
- if (Nt(l)) {
3698
- var H = l.options["=".concat(f)];
3732
+ if (Mt(l)) {
3733
+ var H = l.options["=".concat(c)];
3699
3734
  if (!H) {
3700
3735
  if (!Intl.PluralRules)
3701
- throw new de(`Intl.PluralRules is not available in this environment.
3736
+ throw new ye(`Intl.PluralRules is not available in this environment.
3702
3737
  Try polyfilling it using "@formatjs/intl-pluralrules"
3703
- `, j.MISSING_INTL_API, s);
3704
- var z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3705
- H = l.options[z] || l.options.other;
3738
+ `, G.MISSING_INTL_API, s);
3739
+ var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3740
+ H = l.options[W] || l.options.other;
3706
3741
  }
3707
3742
  if (!H)
3708
- throw new ht(l.value, f, Object.keys(l.options), s);
3709
- a.push.apply(a, he(H.value, t, r, n, i, f - (l.offset || 0)));
3743
+ throw new mt(l.value, c, Object.keys(l.options), s);
3744
+ a.push.apply(a, he(H.value, t, r, n, i, c - (l.offset || 0)));
3710
3745
  continue;
3711
3746
  }
3712
3747
  }
3713
- return Un(a);
3748
+ return jn(a);
3714
3749
  }
3715
- function Fn(e, t) {
3716
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3717
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3750
+ function Vn(e, t) {
3751
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3752
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3718
3753
  }, {})) : e;
3719
3754
  }
3720
- function Gn(e, t) {
3755
+ function Xn(e, t) {
3721
3756
  return t ? Object.keys(e).reduce(function(r, n) {
3722
- return r[n] = Fn(e[n], t[n]), r;
3723
- }, g({}, e)) : e;
3757
+ return r[n] = Vn(e[n], t[n]), r;
3758
+ }, B({}, e)) : e;
3724
3759
  }
3725
- function Se(e) {
3760
+ function Te(e) {
3726
3761
  return {
3727
3762
  create: function() {
3728
3763
  return {
@@ -3736,39 +3771,39 @@ function Se(e) {
3736
3771
  }
3737
3772
  };
3738
3773
  }
3739
- function jn(e) {
3774
+ function Wn(e) {
3740
3775
  return e === void 0 && (e = {
3741
3776
  number: {},
3742
3777
  dateTime: {},
3743
3778
  pluralRules: {}
3744
3779
  }), {
3745
- getNumberFormat: xe(function() {
3780
+ getNumberFormat: Se(function() {
3746
3781
  for (var t, r = [], n = 0; n < arguments.length; n++)
3747
3782
  r[n] = arguments[n];
3748
- return new ((t = Intl.NumberFormat).bind.apply(t, U([void 0], r, !1)))();
3783
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3749
3784
  }, {
3750
- cache: Se(e.number),
3751
- strategy: _e.variadic
3785
+ cache: Te(e.number),
3786
+ strategy: we.variadic
3752
3787
  }),
3753
- getDateTimeFormat: xe(function() {
3788
+ getDateTimeFormat: Se(function() {
3754
3789
  for (var t, r = [], n = 0; n < arguments.length; n++)
3755
3790
  r[n] = arguments[n];
3756
- return new ((t = Intl.DateTimeFormat).bind.apply(t, U([void 0], r, !1)))();
3791
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3757
3792
  }, {
3758
- cache: Se(e.dateTime),
3759
- strategy: _e.variadic
3793
+ cache: Te(e.dateTime),
3794
+ strategy: we.variadic
3760
3795
  }),
3761
- getPluralRules: xe(function() {
3796
+ getPluralRules: Se(function() {
3762
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3763
3798
  r[n] = arguments[n];
3764
- return new ((t = Intl.PluralRules).bind.apply(t, U([void 0], r, !1)))();
3799
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3765
3800
  }, {
3766
- cache: Se(e.pluralRules),
3767
- strategy: _e.variadic
3801
+ cache: Te(e.pluralRules),
3802
+ strategy: we.variadic
3768
3803
  })
3769
3804
  };
3770
3805
  }
3771
- var kn = (
3806
+ var zn = (
3772
3807
  /** @class */
3773
3808
  function() {
3774
3809
  function e(t, r, n, i) {
@@ -3782,8 +3817,8 @@ var kn = (
3782
3817
  var u = o.formatToParts(h);
3783
3818
  if (u.length === 1)
3784
3819
  return u[0].value;
3785
- var l = u.reduce(function(c, f) {
3786
- return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3820
+ var l = u.reduce(function(f, c) {
3821
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3787
3822
  }, []);
3788
3823
  return l.length <= 1 ? l[0] || "" : l;
3789
3824
  }, this.formatToParts = function(h) {
@@ -3800,13 +3835,13 @@ var kn = (
3800
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3801
3836
  var s = i || {};
3802
3837
  s.formatters;
3803
- var a = xr(s, ["formatters"]);
3804
- this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3838
+ var a = tn(s, ["formatters"]);
3839
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3805
3840
  } else
3806
3841
  this.ast = t;
3807
3842
  if (!Array.isArray(this.ast))
3808
3843
  throw new TypeError("A message must be provided as a String or AST.");
3809
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3844
+ this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3810
3845
  }
3811
3846
  return Object.defineProperty(e, "defaultLocale", {
3812
3847
  get: function() {
@@ -3819,7 +3854,7 @@ var kn = (
3819
3854
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3820
3855
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3821
3856
  }
3822
- }, e.__parse = Mn, e.formats = {
3857
+ }, e.__parse = Dn, e.formats = {
3823
3858
  number: {
3824
3859
  integer: {
3825
3860
  maximumFractionDigits: 0
@@ -3880,7 +3915,7 @@ var kn = (
3880
3915
  }, e;
3881
3916
  }()
3882
3917
  );
3883
- function Vn(e, t) {
3918
+ function Zn(e, t) {
3884
3919
  if (t == null)
3885
3920
  return;
3886
3921
  if (t in e)
@@ -3901,92 +3936,92 @@ function Vn(e, t) {
3901
3936
  n = void 0;
3902
3937
  return n;
3903
3938
  }
3904
- const O = {}, Xn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), jt = (e, t) => {
3939
+ const O = {}, Qn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Wt = (e, t) => {
3905
3940
  if (t == null)
3906
3941
  return;
3907
3942
  if (t in O && e in O[t])
3908
3943
  return O[t][e];
3909
- const r = be(t);
3944
+ const r = ve(t);
3910
3945
  for (let n = 0; n < r.length; n++) {
3911
- const i = r[n], o = zn(i, e);
3946
+ const i = r[n], o = Yn(i, e);
3912
3947
  if (o)
3913
- return Xn(e, t, o);
3948
+ return Qn(e, t, o);
3914
3949
  }
3915
3950
  };
3916
- let ke;
3917
- const re = pe({});
3918
- function Wn(e) {
3919
- return ke[e] || null;
3951
+ let ze;
3952
+ const re = de({});
3953
+ function Jn(e) {
3954
+ return ze[e] || null;
3920
3955
  }
3921
- function kt(e) {
3922
- return e in ke;
3956
+ function zt(e) {
3957
+ return e in ze;
3923
3958
  }
3924
- function zn(e, t) {
3925
- if (!kt(e))
3959
+ function Yn(e, t) {
3960
+ if (!zt(e))
3926
3961
  return null;
3927
- const r = Wn(e);
3928
- return Vn(r, t);
3962
+ const r = Jn(e);
3963
+ return Zn(r, t);
3929
3964
  }
3930
- function Zn(e) {
3965
+ function qn(e) {
3931
3966
  if (e == null)
3932
3967
  return;
3933
- const t = be(e);
3968
+ const t = ve(e);
3934
3969
  for (let r = 0; r < t.length; r++) {
3935
3970
  const n = t[r];
3936
- if (kt(n))
3971
+ if (zt(n))
3937
3972
  return n;
3938
3973
  }
3939
3974
  }
3940
- function Qn(e, ...t) {
3941
- delete O[e], re.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3975
+ function Kn(e, ...t) {
3976
+ delete O[e], re.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3942
3977
  }
3943
- X(
3978
+ V(
3944
3979
  [re],
3945
3980
  ([e]) => Object.keys(e)
3946
3981
  );
3947
- re.subscribe((e) => ke = e);
3982
+ re.subscribe((e) => ze = e);
3948
3983
  const le = {};
3949
- function Jn(e, t) {
3984
+ function ei(e, t) {
3950
3985
  le[e].delete(t), le[e].size === 0 && delete le[e];
3951
3986
  }
3952
- function Vt(e) {
3987
+ function Zt(e) {
3953
3988
  return le[e];
3954
3989
  }
3955
- function Yn(e) {
3956
- return be(e).map((t) => {
3957
- const r = Vt(t);
3990
+ function ti(e) {
3991
+ return ve(e).map((t) => {
3992
+ const r = Zt(t);
3958
3993
  return [t, r ? [...r] : []];
3959
3994
  }).filter(([, t]) => t.length > 0);
3960
3995
  }
3961
- function De(e) {
3962
- return e == null ? !1 : be(e).some(
3996
+ function Ve(e) {
3997
+ return e == null ? !1 : ve(e).some(
3963
3998
  (t) => {
3964
3999
  var r;
3965
- return (r = Vt(t)) == null ? void 0 : r.size;
4000
+ return (r = Zt(t)) == null ? void 0 : r.size;
3966
4001
  }
3967
4002
  );
3968
4003
  }
3969
- function qn(e, t) {
4004
+ function ri(e, t) {
3970
4005
  return Promise.all(
3971
- t.map((n) => (Jn(e, n), n().then((i) => i.default || i)))
3972
- ).then((n) => Qn(e, ...n));
3973
- }
3974
- const Z = {};
3975
- function Xt(e) {
3976
- if (!De(e))
3977
- return e in Z ? Z[e] : Promise.resolve();
3978
- const t = Yn(e);
3979
- return Z[e] = Promise.all(
4006
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
4007
+ ).then((n) => Kn(e, ...n));
4008
+ }
4009
+ const z = {};
4010
+ function Qt(e) {
4011
+ if (!Ve(e))
4012
+ return e in z ? z[e] : Promise.resolve();
4013
+ const t = ti(e);
4014
+ return z[e] = Promise.all(
3980
4015
  t.map(
3981
- ([r, n]) => qn(r, n)
4016
+ ([r, n]) => ri(r, n)
3982
4017
  )
3983
4018
  ).then(() => {
3984
- if (De(e))
3985
- return Xt(e);
3986
- delete Z[e];
3987
- }), Z[e];
4019
+ if (Ve(e))
4020
+ return Qt(e);
4021
+ delete z[e];
4022
+ }), z[e];
3988
4023
  }
3989
- const Kn = {
4024
+ const ni = {
3990
4025
  number: {
3991
4026
  scientific: { notation: "scientific" },
3992
4027
  engineering: { notation: "engineering" },
@@ -4015,135 +4050,135 @@ const Kn = {
4015
4050
  timeZoneName: "short"
4016
4051
  }
4017
4052
  }
4018
- }, ei = {
4053
+ }, ii = {
4019
4054
  fallbackLocale: null,
4020
4055
  loadingDelay: 200,
4021
- formats: Kn,
4056
+ formats: ni,
4022
4057
  warnOnMissingMessages: !0,
4023
4058
  handleMissingMessage: void 0,
4024
4059
  ignoreTag: !0
4025
- }, ti = ei;
4026
- function k() {
4027
- return ti;
4028
- }
4029
- const we = pe(!1);
4030
- var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
4031
- for (var r in t)
4032
- oi.call(t, r) && ft(e, r, t[r]);
4033
- if (lt)
4034
- for (var r of lt(t))
4035
- si.call(t, r) && ft(e, r, t[r]);
4060
+ }, oi = ii;
4061
+ function j() {
4062
+ return oi;
4063
+ }
4064
+ const Be = de(!1);
4065
+ var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
4066
+ for (var r in t || (t = {}))
4067
+ hi.call(t, r) && dt(e, r, t[r]);
4068
+ if (pt)
4069
+ for (var r of pt(t))
4070
+ li.call(t, r) && dt(e, r, t[r]);
4036
4071
  return e;
4037
- }, ui = (e, t) => ni(e, ii(t));
4038
- let Fe;
4039
- const fe = pe(null);
4040
- function ct(e) {
4072
+ }, fi = (e, t) => ai(e, ui(t));
4073
+ let Xe;
4074
+ const fe = de(null);
4075
+ function bt(e) {
4041
4076
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4042
4077
  }
4043
- function be(e, t = k().fallbackLocale) {
4044
- const r = ct(e);
4045
- return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
4078
+ function ve(e, t = j().fallbackLocale) {
4079
+ const r = bt(e);
4080
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4046
4081
  }
4047
4082
  function C() {
4048
- return Fe ?? void 0;
4083
+ return Xe ?? void 0;
4049
4084
  }
4050
4085
  fe.subscribe((e) => {
4051
- Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4086
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4052
4087
  });
4053
- const hi = (e) => {
4054
- if (e && Zn(e) && De(e)) {
4055
- const { loadingDelay: t } = k();
4088
+ const mi = (e) => {
4089
+ if (e && qn(e) && Ve(e)) {
4090
+ const { loadingDelay: t } = j();
4056
4091
  let r;
4057
4092
  return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4058
- () => we.set(!0),
4093
+ () => Be.set(!0),
4059
4094
  t
4060
- ) : we.set(!0), Xt(e).then(() => {
4095
+ ) : Be.set(!0), Qt(e).then(() => {
4061
4096
  fe.set(e);
4062
4097
  }).finally(() => {
4063
- clearTimeout(r), we.set(!1);
4098
+ clearTimeout(r), Be.set(!1);
4064
4099
  });
4065
4100
  }
4066
4101
  return fe.set(e);
4067
- }, ne = ui(ai({}, fe), {
4068
- set: hi
4069
- }), ye = (e) => {
4102
+ }, ne = fi(ci({}, fe), {
4103
+ set: mi
4104
+ }), ge = (e) => {
4070
4105
  const t = /* @__PURE__ */ Object.create(null);
4071
4106
  return (n) => {
4072
4107
  const i = JSON.stringify(n);
4073
4108
  return i in t ? t[i] : t[i] = e(n);
4074
4109
  };
4075
4110
  };
4076
- var li = Object.defineProperty, ce = Object.getOwnPropertySymbols, Wt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
4111
+ var pi = Object.defineProperty, me = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4077
4112
  for (var r in t || (t = {}))
4078
- Wt.call(t, r) && mt(e, r, t[r]);
4079
- if (ce)
4080
- for (var r of ce(t))
4081
- zt.call(t, r) && mt(e, r, t[r]);
4113
+ Jt.call(t, r) && yt(e, r, t[r]);
4114
+ if (me)
4115
+ for (var r of me(t))
4116
+ Yt.call(t, r) && yt(e, r, t[r]);
4082
4117
  return e;
4083
- }, W = (e, t) => {
4118
+ }, X = (e, t) => {
4084
4119
  var r = {};
4085
4120
  for (var n in e)
4086
- Wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4087
- if (e != null && ce)
4088
- for (var n of ce(e))
4089
- t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
4121
+ Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4122
+ if (e != null && me)
4123
+ for (var n of me(e))
4124
+ t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
4090
4125
  return r;
4091
4126
  };
4092
- const K = (e, t) => {
4093
- const { formats: r } = k();
4127
+ const q = (e, t) => {
4128
+ const { formats: r } = j();
4094
4129
  if (e in r && t in r[e])
4095
4130
  return r[e][t];
4096
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4097
- }, fi = ye(
4132
+ }, di = ge(
4098
4133
  (e) => {
4099
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4134
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4100
4135
  if (r == null)
4101
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4102
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4137
+ return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4103
4138
  }
4104
- ), ci = ye(
4139
+ ), bi = ge(
4105
4140
  (e) => {
4106
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4107
4142
  if (r == null)
4108
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4109
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4144
+ return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4110
4145
  }
4111
- ), mi = ye(
4146
+ ), yi = ge(
4112
4147
  (e) => {
4113
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4114
4149
  if (r == null)
4115
4150
  throw new Error(
4116
4151
  '[svelte-i18n] A "locale" must be set to format time values'
4117
4152
  );
4118
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4153
+ return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4119
4154
  }
4120
- ), pi = (e = {}) => {
4155
+ ), vi = (e = {}) => {
4121
4156
  var t = e, {
4122
4157
  locale: r = C()
4123
- } = t, n = W(t, [
4158
+ } = t, n = X(t, [
4124
4159
  "locale"
4125
4160
  ]);
4126
- return fi(Ve({ locale: r }, n));
4127
- }, di = (e = {}) => {
4161
+ return di(Ze({ locale: r }, n));
4162
+ }, gi = (e = {}) => {
4128
4163
  var t = e, {
4129
4164
  locale: r = C()
4130
- } = t, n = W(t, [
4165
+ } = t, n = X(t, [
4131
4166
  "locale"
4132
4167
  ]);
4133
- return ci(Ve({ locale: r }, n));
4134
- }, bi = (e = {}) => {
4168
+ return bi(Ze({ locale: r }, n));
4169
+ }, _i = (e = {}) => {
4135
4170
  var t = e, {
4136
4171
  locale: r = C()
4137
- } = t, n = W(t, [
4172
+ } = t, n = X(t, [
4138
4173
  "locale"
4139
4174
  ]);
4140
- return mi(Ve({ locale: r }, n));
4141
- }, yi = ye(
4175
+ return yi(Ze({ locale: r }, n));
4176
+ }, xi = ge(
4142
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4143
- (e, t = C()) => new kn(e, t, k().formats, {
4144
- ignoreTag: k().ignoreTag
4178
+ (e, t = C()) => new zn(e, t, j().formats, {
4179
+ ignoreTag: j().ignoreTag
4145
4180
  })
4146
- ), gi = (e, t = {}) => {
4181
+ ), Ei = (e, t = {}) => {
4147
4182
  var r, n, i, o;
4148
4183
  let s = t;
4149
4184
  typeof e == "object" && (s = e, e = s.id);
@@ -4156,40 +4191,40 @@ const K = (e, t) => {
4156
4191
  throw new Error(
4157
4192
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4158
4193
  );
4159
- let l = jt(e, h);
4194
+ let l = Wt(e, h);
4160
4195
  if (!l)
4161
- l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4196
+ l = (o = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4162
4197
  else if (typeof l != "string")
4163
4198
  return console.warn(
4164
4199
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4165
4200
  ), l;
4166
4201
  if (!a)
4167
4202
  return l;
4168
- let c = l;
4203
+ let f = l;
4169
4204
  try {
4170
- c = yi(l, h).format(a);
4171
- } catch (f) {
4172
- f instanceof Error && console.warn(
4205
+ f = xi(l, h).format(a);
4206
+ } catch (c) {
4207
+ c instanceof Error && console.warn(
4173
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
4174
- f.message
4209
+ c.message
4175
4210
  );
4176
4211
  }
4177
- return c;
4178
- }, vi = (e, t) => bi(t).format(e), xi = (e, t) => di(t).format(e), _i = (e, t) => pi(t).format(e), Ei = (e, t = C()) => jt(e, t);
4179
- X([ne, re], () => gi);
4180
- X([ne], () => vi);
4181
- X([ne], () => xi);
4182
- X([ne], () => _i);
4183
- X([ne, re], () => Ei);
4184
- window.emWidgets = { topic: Lr };
4185
- const Si = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4186
- function wi(e, t) {
4212
+ return f;
4213
+ }, Si = (e, t) => _i(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t) => vi(t).format(e), Ti = (e, t = C()) => Wt(e, t);
4214
+ V([ne, re], () => Ei);
4215
+ V([ne], () => Si);
4216
+ V([ne], () => wi);
4217
+ V([ne], () => Hi);
4218
+ V([ne, re], () => Ti);
4219
+ window.emWidgets = { topic: Rr };
4220
+ const Bi = (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));
4221
+ function Ai(e, t) {
4187
4222
  if (e) {
4188
4223
  const r = document.createElement("style");
4189
4224
  r.innerHTML = t, e.appendChild(r);
4190
4225
  }
4191
4226
  }
4192
- function Hi(e, t) {
4227
+ function Pi(e, t) {
4193
4228
  const r = new URL(t);
4194
4229
  fetch(r.href).then((n) => n.text()).then((n) => {
4195
4230
  const i = document.createElement("style");
@@ -4198,7 +4233,7 @@ function Hi(e, t) {
4198
4233
  console.error("There was an error while trying to load client styling from URL", n);
4199
4234
  });
4200
4235
  }
4201
- function Ti(e, t, r) {
4236
+ function Oi(e, t, r) {
4202
4237
  if (window.emMessageBus) {
4203
4238
  const n = document.createElement("style");
4204
4239
  window.emMessageBus.subscribe(t, (i) => {
@@ -4206,111 +4241,111 @@ function Ti(e, t, r) {
4206
4241
  });
4207
4242
  }
4208
4243
  }
4209
- function Bi(e) {
4210
- Jt(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4244
+ function Ii(e) {
4245
+ er(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4211
4246
  }
4212
- function pt(e) {
4213
- let t, r, n, i, o, s, a, h, u, l, c, f;
4247
+ function vt(e) {
4248
+ let t, r, n, i, o, s, a, h, u, l, f, c;
4214
4249
  function p(d, S) {
4215
4250
  return (
4216
4251
  /*isLoading*/
4217
- d[3] ? Pi : Ai
4252
+ d[3] ? Ci : Ni
4218
4253
  );
4219
4254
  }
4220
4255
  let v = p(e), m = v(e);
4221
4256
  return {
4222
4257
  c() {
4223
- t = D("button"), r = D("small"), m.c(), n = Kt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), _(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
4258
+ t = U("button"), r = U("small"), m.c(), n = nr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), x(r, "class", "betslipIndicator__number"), x(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
4224
4259
  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
4225
4260
  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
4226
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), nr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4261
+ 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`), x(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"), x(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), x(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"), x(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), x(i, "version", "1.1"), x(i, "id", "Layer_1"), x(i, "class", "betslipIndicator__icon"), x(i, "xmlns", "http://www.w3.org/2000/svg"), x(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), x(i, "x", "0px"), x(i, "y", "0px"), x(i, "viewBox", "0 0 64 100"), ar(i, "enable-background", "new 0 0 64 100"), x(i, "xml:space", "preserve"), x(t, "class", "betslipIndicator");
4227
4262
  },
4228
4263
  m(d, S) {
4229
- te(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), c || (f = er(
4264
+ ee(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), f || (c = ir(
4230
4265
  t,
4231
4266
  "click",
4232
4267
  /*click_handler*/
4233
4268
  e[8]
4234
- ), c = !0);
4269
+ ), f = !0);
4235
4270
  },
4236
4271
  p(d, S) {
4237
4272
  v === (v = p(d)) && m ? m.p(d, S) : (m.d(1), m = v(d), m && (m.c(), m.m(r, null)));
4238
4273
  },
4239
4274
  d(d) {
4240
- d && V(t), m.d(), c = !1, f();
4275
+ d && k(t), m.d(), f = !1, c();
4241
4276
  }
4242
4277
  };
4243
4278
  }
4244
- function Ai(e) {
4279
+ function Ni(e) {
4245
4280
  let t;
4246
4281
  return {
4247
4282
  c() {
4248
- t = yt(
4283
+ t = xt(
4249
4284
  /*betNumber*/
4250
4285
  e[1]
4251
4286
  );
4252
4287
  },
4253
4288
  m(r, n) {
4254
- te(r, t, n);
4289
+ ee(r, t, n);
4255
4290
  },
4256
4291
  p(r, n) {
4257
4292
  n & /*betNumber*/
4258
- 2 && rr(
4293
+ 2 && sr(
4259
4294
  t,
4260
4295
  /*betNumber*/
4261
4296
  r[1]
4262
4297
  );
4263
4298
  },
4264
4299
  d(r) {
4265
- r && V(t);
4300
+ r && k(t);
4266
4301
  }
4267
4302
  };
4268
4303
  }
4269
- function Pi(e) {
4304
+ function Ci(e) {
4270
4305
  let t;
4271
4306
  return {
4272
4307
  c() {
4273
- t = D("div"), t.textContent = "Loading...", _(t, "class", "loader");
4308
+ t = U("div"), t.textContent = "Loading...", x(t, "class", "loader");
4274
4309
  },
4275
4310
  m(r, n) {
4276
- te(r, t, n);
4311
+ ee(r, t, n);
4277
4312
  },
4278
4313
  p: w,
4279
4314
  d(r) {
4280
- r && V(t);
4315
+ r && k(t);
4281
4316
  }
4282
4317
  };
4283
4318
  }
4284
- function Oi(e) {
4319
+ function Li(e) {
4285
4320
  let t, r = (
4286
4321
  /*mobileView*/
4287
4322
  e[2] && /*betNumber*/
4288
- e[1] > 0 && pt(e)
4323
+ e[1] > 0 && vt(e)
4289
4324
  );
4290
4325
  return {
4291
4326
  c() {
4292
- t = D("div"), r && r.c();
4327
+ t = U("div"), r && r.c();
4293
4328
  },
4294
4329
  m(n, i) {
4295
- te(n, t, i), r && r.m(t, null), e[9](t);
4330
+ ee(n, t, i), r && r.m(t, null), e[9](t);
4296
4331
  },
4297
4332
  p(n, [i]) {
4298
4333
  /*mobileView*/
4299
4334
  n[2] && /*betNumber*/
4300
- n[1] > 0 ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4335
+ n[1] > 0 ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4301
4336
  },
4302
4337
  i: w,
4303
4338
  o: w,
4304
4339
  d(n) {
4305
- n && V(t), r && r.d(), e[9](null);
4340
+ n && k(t), r && r.d(), e[9](null);
4306
4341
  }
4307
4342
  };
4308
4343
  }
4309
- function Ii(e, t, r) {
4344
+ function $i(e, t, r) {
4310
4345
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
4311
- const c = () => {
4346
+ const f = () => {
4312
4347
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4313
- }, f = (d, S) => {
4348
+ }, c = (d, S) => {
4314
4349
  s.dispatchEvent(new CustomEvent(
4315
4350
  d,
4316
4351
  {
@@ -4329,12 +4364,12 @@ function Ii(e, t, r) {
4329
4364
  break;
4330
4365
  }
4331
4366
  };
4332
- sr(() => (c(), window.addEventListener("message", p, !1), Si(a) && r(2, u = !0), () => {
4367
+ lr(() => (f(), window.addEventListener("message", p, !1), Bi(a) && r(2, u = !0), () => {
4333
4368
  window.removeEventListener("message", p);
4334
4369
  }));
4335
- const v = (d) => f("betslipClick", {});
4370
+ const v = (d) => c("betslipClick", {});
4336
4371
  function m(d) {
4337
- He[d ? "unshift" : "push"](() => {
4372
+ Ae[d ? "unshift" : "push"](() => {
4338
4373
  s = d, r(0, s);
4339
4374
  });
4340
4375
  }
@@ -4342,15 +4377,15 @@ function Ii(e, t, r) {
4342
4377
  "clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
4343
4378
  }, e.$$.update = () => {
4344
4379
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4345
- 33 && n && s && wi(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4346
- 65 && i && s && Hi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4347
- 129 && o && s && Ti(s, `${o}.Style`);
4380
+ 33 && n && s && Ai(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4381
+ 65 && i && s && Pi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4382
+ 129 && o && s && Oi(s, `${o}.Style`);
4348
4383
  }, [
4349
4384
  s,
4350
4385
  h,
4351
4386
  u,
4352
4387
  l,
4353
- f,
4388
+ c,
4354
4389
  n,
4355
4390
  i,
4356
4391
  o,
@@ -4358,42 +4393,42 @@ function Ii(e, t, r) {
4358
4393
  m
4359
4394
  ];
4360
4395
  }
4361
- class Ni extends gr {
4396
+ class Mi extends Er {
4362
4397
  constructor(t) {
4363
- super(), br(
4398
+ super(), _r(
4364
4399
  this,
4365
4400
  t,
4366
- Ii,
4367
- Oi,
4368
- bt,
4401
+ $i,
4402
+ Li,
4403
+ _t,
4369
4404
  {
4370
4405
  clientstyling: 5,
4371
4406
  clientstylingurl: 6,
4372
4407
  mbsource: 7
4373
4408
  },
4374
- Bi
4409
+ Ii
4375
4410
  );
4376
4411
  }
4377
4412
  get clientstyling() {
4378
4413
  return this.$$.ctx[5];
4379
4414
  }
4380
4415
  set clientstyling(t) {
4381
- this.$$set({ clientstyling: t }), J();
4416
+ this.$$set({ clientstyling: t }), Q();
4382
4417
  }
4383
4418
  get clientstylingurl() {
4384
4419
  return this.$$.ctx[6];
4385
4420
  }
4386
4421
  set clientstylingurl(t) {
4387
- this.$$set({ clientstylingurl: t }), J();
4422
+ this.$$set({ clientstylingurl: t }), Q();
4388
4423
  }
4389
4424
  get mbsource() {
4390
4425
  return this.$$.ctx[7];
4391
4426
  }
4392
4427
  set mbsource(t) {
4393
- this.$$set({ mbsource: t }), J();
4428
+ this.$$set({ mbsource: t }), Q();
4394
4429
  }
4395
4430
  }
4396
- yr(Ni, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4431
+ xr(Mi, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4397
4432
  export {
4398
- Ni as C
4433
+ Mi as C
4399
4434
  };