@everymatrix/casino-betslip-indicator 1.77.25 → 1.77.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ir = Object.defineProperty, or = Object.defineProperties;
2
- var sr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var nr = Object.defineProperty, ir = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
+ var ve = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ar.call(t, r) && xe(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- ur.call(t, r) && xe(e, r, t[r]);
7
+ sr.call(t, r) && ve(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ ar.call(t, r) && ve(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => or(e, sr(t));
13
- var H = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, qe = (e, t) => ir(e, or(t));
13
+ var H = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function T() {
31
31
  }
32
- function Ht(e) {
32
+ function St(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
39
- e.forEach(Ht);
38
+ function te(e) {
39
+ e.forEach(St);
40
40
  }
41
- function Ze(e) {
41
+ function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Tt(e, t) {
44
+ function wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function hr(e) {
47
+ function ur(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function lr(e, ...t) {
50
+ function hr(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -59,14 +59,14 @@ function lr(e, ...t) {
59
59
  function A(e, t) {
60
60
  e.appendChild(t);
61
61
  }
62
- function cr(e, t, r) {
63
- const n = fr(e);
62
+ function lr(e, t, r) {
63
+ const n = cr(e);
64
64
  if (!n.getElementById(t)) {
65
- const i = D("style");
66
- i.id = t, i.textContent = r, mr(n, i);
65
+ const i = G("style");
66
+ i.id = t, i.textContent = r, fr(n, i);
67
67
  }
68
68
  }
69
- function fr(e) {
69
+ function cr(e) {
70
70
  if (!e)
71
71
  return document;
72
72
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -76,45 +76,45 @@ function fr(e) {
76
76
  t
77
77
  ) : e.ownerDocument;
78
78
  }
79
- function mr(e, t) {
79
+ function fr(e, t) {
80
80
  return A(
81
81
  /** @type {Document} */
82
82
  e.head || e,
83
83
  t
84
84
  ), t.sheet;
85
85
  }
86
- function te(e, t, r) {
86
+ function re(e, t, r) {
87
87
  e.insertBefore(t, r || null);
88
88
  }
89
- function X(e) {
89
+ function W(e) {
90
90
  e.parentNode && e.parentNode.removeChild(e);
91
91
  }
92
- function D(e) {
92
+ function G(e) {
93
93
  return document.createElement(e);
94
94
  }
95
95
  function L(e) {
96
96
  return document.createElementNS("http://www.w3.org/2000/svg", e);
97
97
  }
98
- function Bt(e) {
98
+ function Ht(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function pr() {
102
- return Bt(" ");
101
+ function mr() {
102
+ return Ht(" ");
103
103
  }
104
- function dr(e, t, r, n) {
104
+ function pr(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
106
106
  }
107
107
  function E(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function br(e) {
110
+ function dr(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
- function yr(e, t) {
113
+ function br(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function vr(e, t, r, n) {
117
+ function yr(e, t, r, n) {
118
118
  e.style.setProperty(t, r, "");
119
119
  }
120
120
  function gr(e) {
@@ -126,87 +126,87 @@ function gr(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let Y;
130
- function Q(e) {
131
- Y = e;
129
+ let q;
130
+ function J(e) {
131
+ q = e;
132
132
  }
133
- function _r() {
134
- if (!Y)
133
+ function vr() {
134
+ if (!q)
135
135
  throw new Error("Function called outside component initialization");
136
- return Y;
136
+ return q;
137
137
  }
138
138
  function xr(e) {
139
- _r().$$.on_mount.push(e);
139
+ vr().$$.on_mount.push(e);
140
140
  }
141
- const U = [], Oe = [];
142
- let F = [];
143
- const nt = [], Er = /* @__PURE__ */ Promise.resolve();
144
- let Ie = !1;
145
- function Sr() {
146
- Ie || (Ie = !0, Er.then(J));
141
+ const U = [], Ae = [];
142
+ let D = [];
143
+ const tt = [], _r = /* @__PURE__ */ Promise.resolve();
144
+ let Pe = !1;
145
+ function Er() {
146
+ Pe || (Pe = !0, _r.then(Y));
147
147
  }
148
- function Ne(e) {
149
- F.push(e);
148
+ function Oe(e) {
149
+ D.push(e);
150
150
  }
151
- const Ee = /* @__PURE__ */ new Set();
151
+ const xe = /* @__PURE__ */ new Set();
152
152
  let $ = 0;
153
- function J() {
153
+ function Y() {
154
154
  if ($ !== 0)
155
155
  return;
156
- const e = Y;
156
+ const e = q;
157
157
  do {
158
158
  try {
159
159
  for (; $ < U.length; ) {
160
160
  const t = U[$];
161
- $++, Q(t), wr(t.$$);
161
+ $++, J(t), Sr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw U.length = 0, $ = 0, t;
165
165
  }
166
- for (Q(null), U.length = 0, $ = 0; Oe.length; )
167
- Oe.pop()();
168
- for (let t = 0; t < F.length; t += 1) {
169
- const r = F[t];
170
- Ee.has(r) || (Ee.add(r), r());
166
+ for (J(null), U.length = 0, $ = 0; Ae.length; )
167
+ Ae.pop()();
168
+ for (let t = 0; t < D.length; t += 1) {
169
+ const r = D[t];
170
+ xe.has(r) || (xe.add(r), r());
171
171
  }
172
- F.length = 0;
172
+ D.length = 0;
173
173
  } while (U.length);
174
- for (; nt.length; )
175
- nt.pop()();
176
- Ie = !1, Ee.clear(), Q(e);
174
+ for (; tt.length; )
175
+ tt.pop()();
176
+ Pe = !1, xe.clear(), J(e);
177
177
  }
178
- function wr(e) {
178
+ function Sr(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), ee(e.before_update);
180
+ e.update(), te(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
183
183
  }
184
184
  }
185
- function Hr(e) {
185
+ function wr(e) {
186
186
  const t = [], r = [];
187
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
187
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
188
188
  }
189
- const Tr = /* @__PURE__ */ new Set();
190
- function Br(e, t) {
191
- e && e.i && (Tr.delete(e), e.i(t));
189
+ const Hr = /* @__PURE__ */ new Set();
190
+ function Tr(e, t) {
191
+ e && e.i && (Hr.delete(e), e.i(t));
192
192
  }
193
- function Ar(e, t, r) {
193
+ function Br(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Ne(() => {
196
- const o = e.$$.on_mount.map(Ht).filter(Ze);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
198
- }), i.forEach(Ne);
195
+ n && n.m(t, r), Oe(() => {
196
+ const o = e.$$.on_mount.map(St).filter(Ve);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
198
+ }), i.forEach(Oe);
199
199
  }
200
- function Pr(e, t) {
200
+ function Ar(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (Hr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function Or(e, t) {
205
- e.$$.dirty[0] === -1 && (U.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Pr(e, t) {
205
+ e.$$.dirty[0] === -1 && (U.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
208
- const h = Y;
209
- Q(e);
207
+ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
208
+ const h = q;
209
+ J(e);
210
210
  const u = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: T,
216
216
  not_equal: i,
217
- bound: rt(),
217
+ bound: et(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,7 +223,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: rt(),
226
+ callbacks: et(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
@@ -231,20 +231,20 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  s && s(u.root);
232
232
  let l = !1;
233
233
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
234
- const y = p.length ? p[0] : f;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Or(e, c)), f;
236
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
+ const g = p.length ? p[0] : f;
235
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Pr(e, c)), f;
236
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = br(t.target);
239
- u.fragment && u.fragment.l(c), c.forEach(X);
238
+ const c = dr(t.target);
239
+ u.fragment && u.fragment.l(c), c.forEach(W);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), J();
242
+ t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), Y();
243
243
  }
244
- Q(h);
244
+ J(h);
245
245
  }
246
- let At;
247
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
246
+ let Tt;
247
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,24 +281,24 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return tt(this, null, function* () {
284
+ return Ke(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
288
288
  let s;
289
289
  return {
290
290
  c: function() {
291
- s = D("slot"), o !== "default" && E(s, "name", o);
291
+ s = G("slot"), o !== "default" && E(s, "name", o);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(u, l) {
298
- te(u, s, l);
298
+ re(u, s, l);
299
299
  },
300
300
  d: function(u) {
301
- u && X(s);
301
+ u && W(s);
302
302
  }
303
303
  };
304
304
  };
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: et(Ke({}, this.$$d), {
319
+ props: qe(Ye({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ue(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function Nr(e, t, r, n, i, o) {
398
- let s = class extends At {
397
+ function Ir(e, t, r, n, i, o) {
398
+ let s = class extends Tt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -446,7 +446,7 @@ class Cr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- Pr(this, 1), this.$destroy = T;
449
+ Ar(this, 1), this.$destroy = T;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class Cr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!Ze(r))
458
+ if (!Ve(r))
459
459
  return T;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,11 +468,11 @@ class Cr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Lr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
474
+ const Nr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
476
476
  /*! *****************************************************************************
477
477
  Copyright (c) Microsoft Corporation.
478
478
 
@@ -487,24 +487,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
487
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
488
  PERFORMANCE OF THIS SOFTWARE.
489
489
  ***************************************************************************** */
490
- var Ce = function(e, t) {
491
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
490
+ var Ie = function(e, t) {
491
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
492
  r.__proto__ = n;
493
493
  } || function(r, n) {
494
494
  for (var i in n)
495
495
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, Ce(e, t);
496
+ }, Ie(e, t);
497
497
  };
498
- function re(e, t) {
498
+ function I(e, t) {
499
499
  if (typeof t != "function" && t !== null)
500
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- Ce(e, t);
501
+ Ie(e, t);
502
502
  function r() {
503
503
  this.constructor = e;
504
504
  }
505
505
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
506
506
  }
507
- function Le(e) {
507
+ var y = function() {
508
+ return y = Object.assign || function(t) {
509
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
510
+ r = arguments[n];
511
+ for (var o in r)
512
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
513
+ }
514
+ return t;
515
+ }, y.apply(this, arguments);
516
+ };
517
+ function Lr(e, t) {
518
+ var r = {};
519
+ for (var n in e)
520
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
521
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
522
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
523
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
524
+ return r;
525
+ }
526
+ function Ce(e) {
508
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
509
528
  if (r)
510
529
  return r.call(e);
@@ -516,7 +535,7 @@ function Le(e) {
516
535
  };
517
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
518
537
  }
519
- function Me(e, t) {
538
+ function Ne(e, t) {
520
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
521
540
  if (!r)
522
541
  return e;
@@ -536,22 +555,22 @@ function Me(e, t) {
536
555
  }
537
556
  return o;
538
557
  }
539
- function $e(e, t, r) {
540
- if (arguments.length === 2)
558
+ function F(e, t, r) {
559
+ if (r || arguments.length === 2)
541
560
  for (var n = 0, i = t.length, o; n < i; n++)
542
561
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
543
562
  return e.concat(o || t);
544
563
  }
545
- function I(e) {
564
+ function O(e) {
546
565
  return typeof e == "function";
547
566
  }
548
- function Pt(e) {
567
+ function Bt(e) {
549
568
  var t = function(n) {
550
569
  Error.call(n), n.stack = new Error().stack;
551
570
  }, r = e(t);
552
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
553
572
  }
554
- var Se = Pt(function(e) {
573
+ var _e = Bt(function(e) {
555
574
  return function(r) {
556
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
557
576
  ` + r.map(function(n, i) {
@@ -560,13 +579,13 @@ var Se = Pt(function(e) {
560
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
561
580
  };
562
581
  });
563
- function Re(e, t) {
582
+ function Le(e, t) {
564
583
  if (e) {
565
584
  var r = e.indexOf(t);
566
585
  0 <= r && e.splice(r, 1);
567
586
  }
568
587
  }
569
- var de = function() {
588
+ var pe = function() {
570
589
  function e(t) {
571
590
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
572
591
  }
@@ -578,7 +597,7 @@ var de = function() {
578
597
  if (s)
579
598
  if (this._parentage = null, Array.isArray(s))
580
599
  try {
581
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
600
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
582
601
  var u = h.value;
583
602
  u.remove(this);
584
603
  }
@@ -595,22 +614,22 @@ var de = function() {
595
614
  else
596
615
  s.remove(this);
597
616
  var l = this.initialTeardown;
598
- if (I(l))
617
+ if (O(l))
599
618
  try {
600
619
  l();
601
620
  } catch (m) {
602
- o = m instanceof Se ? m.errors : [m];
621
+ o = m instanceof _e ? m.errors : [m];
603
622
  }
604
623
  var c = this._finalizers;
605
624
  if (c) {
606
625
  this._finalizers = null;
607
626
  try {
608
- for (var f = Le(c), p = f.next(); !p.done; p = f.next()) {
609
- var y = p.value;
627
+ for (var f = Ce(c), p = f.next(); !p.done; p = f.next()) {
628
+ var g = p.value;
610
629
  try {
611
- it(y);
630
+ rt(g);
612
631
  } catch (m) {
613
- o = o != null ? o : [], m instanceof Se ? o = $e($e([], Me(o)), Me(m.errors)) : o.push(m);
632
+ o = o != null ? o : [], m instanceof _e ? o = F(F([], Ne(o)), Ne(m.errors)) : o.push(m);
614
633
  }
615
634
  }
616
635
  } catch (m) {
@@ -625,13 +644,13 @@ var de = function() {
625
644
  }
626
645
  }
627
646
  if (o)
628
- throw new Se(o);
647
+ throw new _e(o);
629
648
  }
630
649
  }, e.prototype.add = function(t) {
631
650
  var r;
632
651
  if (t && t !== this)
633
652
  if (this.closed)
634
- it(t);
653
+ rt(t);
635
654
  else {
636
655
  if (t instanceof e) {
637
656
  if (t.closed || t._hasParent(this))
@@ -648,52 +667,56 @@ var de = function() {
648
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
649
668
  }, e.prototype._removeParent = function(t) {
650
669
  var r = this._parentage;
651
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
652
671
  }, e.prototype.remove = function(t) {
653
672
  var r = this._finalizers;
654
- r && Re(r, t), t instanceof e && t._removeParent(this);
673
+ r && Le(r, t), t instanceof e && t._removeParent(this);
655
674
  }, e.EMPTY = function() {
656
675
  var t = new e();
657
676
  return t.closed = !0, t;
658
677
  }(), e;
659
- }(), Ot = de.EMPTY;
660
- function It(e) {
661
- return e instanceof de || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
662
- }
663
- function it(e) {
664
- I(e) ? e() : e.unsubscribe();
665
- }
666
- var Mr = {
667
- Promise: void 0
668
- }, $r = {
678
+ }(), At = pe.EMPTY;
679
+ function Pt(e) {
680
+ return e instanceof pe || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
681
+ }
682
+ function rt(e) {
683
+ O(e) ? e() : e.unsubscribe();
684
+ }
685
+ var Ot = {
686
+ onUnhandledError: null,
687
+ onStoppedNotification: null,
688
+ Promise: void 0,
689
+ useDeprecatedSynchronousErrorHandling: !1,
690
+ useDeprecatedNextContext: !1
691
+ }, Mr = {
669
692
  setTimeout: function(e, t) {
670
693
  for (var r = [], n = 2; n < arguments.length; n++)
671
694
  r[n - 2] = arguments[n];
672
- return setTimeout.apply(void 0, $e([e, t], Me(r)));
695
+ return setTimeout.apply(void 0, F([e, t], Ne(r)));
673
696
  },
674
697
  clearTimeout: function(e) {
675
698
  return clearTimeout(e);
676
699
  },
677
700
  delegate: void 0
678
701
  };
679
- function Rr(e) {
680
- $r.setTimeout(function() {
702
+ function $r(e) {
703
+ Mr.setTimeout(function() {
681
704
  throw e;
682
705
  });
683
706
  }
684
- function ot() {
707
+ function nt() {
685
708
  }
686
709
  function he(e) {
687
710
  e();
688
711
  }
689
- var Nt = function(e) {
690
- re(t, e);
712
+ var It = function(e) {
713
+ I(t, e);
691
714
  function t(r) {
692
715
  var n = e.call(this) || this;
693
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Dr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Fr, n;
694
717
  }
695
718
  return t.create = function(r, n, i) {
696
- return new Ue(r, n, i);
719
+ return new Me(r, n, i);
697
720
  }, t.prototype.next = function(r) {
698
721
  this.isStopped || this._next(r);
699
722
  }, t.prototype.error = function(r) {
@@ -717,7 +740,11 @@ var Nt = function(e) {
717
740
  this.unsubscribe();
718
741
  }
719
742
  }, t;
720
- }(de), Ur = function() {
743
+ }(pe), Rr = Function.prototype.bind;
744
+ function Ee(e, t) {
745
+ return Rr.call(e, t);
746
+ }
747
+ var Ur = function() {
721
748
  function e(t) {
722
749
  this.partialObserver = t;
723
750
  }
@@ -748,29 +775,41 @@ var Nt = function(e) {
748
775
  se(r);
749
776
  }
750
777
  }, e;
751
- }(), Ue = function(e) {
752
- re(t, e);
778
+ }(), Me = function(e) {
779
+ I(t, e);
753
780
  function t(r, n, i) {
754
781
  var o = e.call(this) || this, s;
755
- return I(r) || !r ? s = {
756
- next: r != null ? r : void 0,
757
- error: n != null ? n : void 0,
758
- complete: i != null ? i : void 0
759
- } : s = r, o.destination = new Ur(s), o;
782
+ if (O(r) || !r)
783
+ s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ };
788
+ else {
789
+ var a;
790
+ o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
791
+ return o.unsubscribe();
792
+ }, s = {
793
+ next: r.next && Ee(r.next, a),
794
+ error: r.error && Ee(r.error, a),
795
+ complete: r.complete && Ee(r.complete, a)
796
+ }) : s = r;
797
+ }
798
+ return o.destination = new Ur(s), o;
760
799
  }
761
800
  return t;
762
- }(Nt);
801
+ }(It);
763
802
  function se(e) {
764
- Rr(e);
803
+ $r(e);
765
804
  }
766
- function Fr(e) {
805
+ function Dr(e) {
767
806
  throw e;
768
807
  }
769
- var Dr = {
808
+ var Fr = {
770
809
  closed: !0,
771
- next: ot,
772
- error: Fr,
773
- complete: ot
810
+ next: nt,
811
+ error: Dr,
812
+ complete: nt
774
813
  }, Gr = function() {
775
814
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
776
815
  }();
@@ -784,7 +823,7 @@ function kr(e) {
784
823
  }, r);
785
824
  };
786
825
  }
787
- var st = function() {
826
+ var it = function() {
788
827
  function e(t) {
789
828
  t && (this._subscribe = t);
790
829
  }
@@ -792,7 +831,7 @@ var st = function() {
792
831
  var r = new e();
793
832
  return r.source = this, r.operator = t, r;
794
833
  }, e.prototype.subscribe = function(t, r, n) {
795
- var i = this, o = Xr(t) ? t : new Ue(t, r, n);
834
+ var i = this, o = Xr(t) ? t : new Me(t, r, n);
796
835
  return he(function() {
797
836
  var s = i, a = s.operator, h = s.source;
798
837
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -805,8 +844,8 @@ var st = function() {
805
844
  }
806
845
  }, e.prototype.forEach = function(t, r) {
807
846
  var n = this;
808
- return r = at(r), new r(function(i, o) {
809
- var s = new Ue({
847
+ return r = ot(r), new r(function(i, o) {
848
+ var s = new Me({
810
849
  next: function(a) {
811
850
  try {
812
851
  t(a);
@@ -830,7 +869,7 @@ var st = function() {
830
869
  return kr(t)(this);
831
870
  }, e.prototype.toPromise = function(t) {
832
871
  var r = this;
833
- return t = at(t), new t(function(n, i) {
872
+ return t = ot(t), new t(function(n, i) {
834
873
  var o;
835
874
  r.subscribe(function(s) {
836
875
  return o = s;
@@ -844,28 +883,28 @@ var st = function() {
844
883
  return new e(t);
845
884
  }, e;
846
885
  }();
847
- function at(e) {
886
+ function ot(e) {
848
887
  var t;
849
- return (t = e != null ? e : Mr.Promise) !== null && t !== void 0 ? t : Promise;
888
+ return (t = e != null ? e : Ot.Promise) !== null && t !== void 0 ? t : Promise;
850
889
  }
851
890
  function Vr(e) {
852
- return e && I(e.next) && I(e.error) && I(e.complete);
891
+ return e && O(e.next) && O(e.error) && O(e.complete);
853
892
  }
854
893
  function Xr(e) {
855
- return e && e instanceof Nt || Vr(e) && It(e);
894
+ return e && e instanceof It || Vr(e) && Pt(e);
856
895
  }
857
- var Wr = Pt(function(e) {
896
+ var Wr = Bt(function(e) {
858
897
  return function() {
859
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
860
899
  };
861
900
  }), Ct = function(e) {
862
- re(t, e);
901
+ I(t, e);
863
902
  function t() {
864
903
  var r = e.call(this) || this;
865
904
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
866
905
  }
867
906
  return t.prototype.lift = function(r) {
868
- var n = new ut(this, this);
907
+ var n = new st(this, this);
869
908
  return n.operator = r, n;
870
909
  }, t.prototype._throwIfClosed = function() {
871
910
  if (this.closed)
@@ -877,7 +916,7 @@ var Wr = Pt(function(e) {
877
916
  if (n._throwIfClosed(), !n.isStopped) {
878
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
879
918
  try {
880
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
881
920
  var h = a.value;
882
921
  h.next(r);
883
922
  }
@@ -926,20 +965,20 @@ var Wr = Pt(function(e) {
926
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
927
966
  }, t.prototype._innerSubscribe = function(r) {
928
967
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
929
- return o || s ? Ot : (this.currentObservers = null, a.push(r), new de(function() {
930
- n.currentObservers = null, Re(a, r);
968
+ return o || s ? At : (this.currentObservers = null, a.push(r), new pe(function() {
969
+ n.currentObservers = null, Le(a, r);
931
970
  }));
932
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
933
972
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
934
973
  i ? r.error(o) : s && r.complete();
935
974
  }, t.prototype.asObservable = function() {
936
- var r = new st();
975
+ var r = new it();
937
976
  return r.source = this, r;
938
977
  }, t.create = function(r, n) {
939
- return new ut(r, n);
978
+ return new st(r, n);
940
979
  }, t;
941
- }(st), ut = function(e) {
942
- re(t, e);
980
+ }(it), st = function(e) {
981
+ I(t, e);
943
982
  function t(r, n) {
944
983
  var i = e.call(this) || this;
945
984
  return i.destination = r, i.source = n, i;
@@ -955,17 +994,17 @@ var Wr = Pt(function(e) {
955
994
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
956
995
  }, t.prototype._subscribe = function(r) {
957
996
  var n, i;
958
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
997
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
959
998
  }, t;
960
- }(Ct), Lt = {
999
+ }(Ct), Nt = {
961
1000
  now: function() {
962
- return (Lt.delegate || Date).now();
1001
+ return (Nt.delegate || Date).now();
963
1002
  },
964
1003
  delegate: void 0
965
1004
  }, zr = function(e) {
966
- re(t, e);
1005
+ I(t, e);
967
1006
  function t(r, n, i) {
968
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
1007
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
969
1008
  var o = e.call(this) || this;
970
1009
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
971
1010
  }
@@ -986,23 +1025,23 @@ var Wr = Pt(function(e) {
986
1025
  }
987
1026
  }, t;
988
1027
  }(Ct);
989
- const ht = [], lt = {}, Zr = (e, t = 0) => {
990
- if (ht.indexOf(e) == -1) {
1028
+ const at = [], ut = {}, Zr = (e, t = 0) => {
1029
+ if (at.indexOf(e) == -1) {
991
1030
  const r = new zr(t);
992
- lt[e] = r, ht.push(e);
1031
+ ut[e] = r, at.push(e);
993
1032
  }
994
- return lt[e];
1033
+ return ut[e];
995
1034
  }, R = [];
996
1035
  function Qr(e, t) {
997
1036
  return {
998
- subscribe: be(e, t).subscribe
1037
+ subscribe: de(e, t).subscribe
999
1038
  };
1000
1039
  }
1001
- function be(e, t = T) {
1040
+ function de(e, t = T) {
1002
1041
  let r;
1003
1042
  const n = /* @__PURE__ */ new Set();
1004
1043
  function i(a) {
1005
- if (Tt(e, a) && (e = a, r)) {
1044
+ if (wt(e, a) && (e = a, r)) {
1006
1045
  const h = !R.length;
1007
1046
  for (const u of n)
1008
1047
  u[1](), R.push(u, e);
@@ -1024,7 +1063,7 @@ function be(e, t = T) {
1024
1063
  }
1025
1064
  return { set: i, update: o, subscribe: s };
1026
1065
  }
1027
- function W(e, t, r) {
1066
+ function z(e, t, r) {
1028
1067
  const n = !Array.isArray(e), i = n ? [e] : e;
1029
1068
  if (!i.every(Boolean))
1030
1069
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1037,13 +1076,13 @@ function W(e, t, r) {
1037
1076
  if (l)
1038
1077
  return;
1039
1078
  c();
1040
- const y = t(n ? u[0] : u, s, a);
1041
- o ? s(y) : c = Ze(y) ? y : T;
1079
+ const g = t(n ? u[0] : u, s, a);
1080
+ o ? s(g) : c = Ve(g) ? g : T;
1042
1081
  }, p = i.map(
1043
- (y, m) => lr(
1044
- y,
1045
- (x) => {
1046
- u[m] = x, l &= ~(1 << m), h && f();
1082
+ (g, m) => hr(
1083
+ g,
1084
+ (_) => {
1085
+ u[m] = _, l &= ~(1 << m), h && f();
1047
1086
  },
1048
1087
  () => {
1049
1088
  l |= 1 << m;
@@ -1051,7 +1090,7 @@ function W(e, t, r) {
1051
1090
  )
1052
1091
  );
1053
1092
  return h = !0, f(), function() {
1054
- ee(p), c(), h = !1;
1093
+ te(p), c(), h = !1;
1055
1094
  };
1056
1095
  });
1057
1096
  }
@@ -1075,29 +1114,29 @@ function rn(e) {
1075
1114
  function nn(e) {
1076
1115
  return Array.isArray(e) ? [] : {};
1077
1116
  }
1078
- function q(e, t) {
1079
- return t.clone !== !1 && t.isMergeableObject(e) ? G(nn(e), e, t) : e;
1117
+ function K(e, t) {
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(nn(e), e, t) : e;
1080
1119
  }
1081
1120
  function on(e, t, r) {
1082
1121
  return e.concat(t).map(function(n) {
1083
- return q(n, r);
1122
+ return K(n, r);
1084
1123
  });
1085
1124
  }
1086
1125
  function sn(e, t) {
1087
1126
  if (!t.customMerge)
1088
- return G;
1127
+ return j;
1089
1128
  var r = t.customMerge(e);
1090
- return typeof r == "function" ? r : G;
1129
+ return typeof r == "function" ? r : j;
1091
1130
  }
1092
1131
  function an(e) {
1093
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1094
1133
  return Object.propertyIsEnumerable.call(e, t);
1095
1134
  }) : [];
1096
1135
  }
1097
- function ct(e) {
1136
+ function ht(e) {
1098
1137
  return Object.keys(e).concat(an(e));
1099
1138
  }
1100
- function Mt(e, t) {
1139
+ function Lt(e, t) {
1101
1140
  try {
1102
1141
  return t in e;
1103
1142
  } catch (r) {
@@ -1105,179 +1144,129 @@ function Mt(e, t) {
1105
1144
  }
1106
1145
  }
1107
1146
  function un(e, t) {
1108
- return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1147
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1109
1148
  }
1110
1149
  function hn(e, t, r) {
1111
1150
  var n = {};
1112
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1113
- n[i] = q(e[i], r);
1114
- }), ct(t).forEach(function(i) {
1115
- un(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1151
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1152
+ n[i] = K(e[i], r);
1153
+ }), ht(t).forEach(function(i) {
1154
+ un(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1116
1155
  }), n;
1117
1156
  }
1118
- function G(e, t, r) {
1119
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = q;
1157
+ function j(e, t, r) {
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = K;
1120
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1121
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : q(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : K(t, r);
1122
1161
  }
1123
- G.all = function(t, r) {
1162
+ j.all = function(t, r) {
1124
1163
  if (!Array.isArray(t))
1125
1164
  throw new Error("first argument should be an array");
1126
1165
  return t.reduce(function(n, i) {
1127
- return G(n, i, r);
1166
+ return j(n, i, r);
1128
1167
  }, {});
1129
1168
  };
1130
- var ln = G, cn = ln;
1169
+ var ln = j, cn = ln;
1131
1170
  const fn = /* @__PURE__ */ Jr(cn);
1132
- var Fe = function(e, t) {
1133
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1134
- r.__proto__ = n;
1135
- } || function(r, n) {
1136
- for (var i in n)
1137
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1138
- }, Fe(e, t);
1139
- };
1140
- function ye(e, t) {
1141
- if (typeof t != "function" && t !== null)
1142
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1143
- Fe(e, t);
1144
- function r() {
1145
- this.constructor = e;
1146
- }
1147
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1148
- }
1149
- var P = function() {
1150
- return P = Object.assign || function(t) {
1151
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1152
- r = arguments[n];
1153
- for (var o in r)
1154
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1155
- }
1156
- return t;
1157
- }, P.apply(this, arguments);
1158
- };
1159
- function mn(e, t) {
1160
- var r = {};
1161
- for (var n in e)
1162
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1163
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1164
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1165
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1166
- return r;
1167
- }
1168
- function we(e, t, r) {
1169
- if (r || arguments.length === 2)
1170
- for (var n = 0, i = t.length, o; n < i; n++)
1171
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1172
- return e.concat(o || Array.prototype.slice.call(t));
1173
- }
1174
- function He(e, t) {
1175
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
1171
+ function Se(e, t) {
1172
+ var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : pn;
1176
1173
  return i(e, {
1177
1174
  cache: r,
1178
1175
  serializer: n
1179
1176
  });
1180
1177
  }
1181
- function pn(e) {
1178
+ function mn(e) {
1182
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1183
1180
  }
1184
- function dn(e, t, r, n) {
1185
- var i = pn(n) ? n : r(n), o = t.get(i);
1181
+ function Mt(e, t, r, n) {
1182
+ var i = mn(n) ? n : r(n), o = t.get(i);
1186
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1187
1184
  }
1188
1185
  function $t(e, t, r) {
1189
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1190
1187
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1191
1188
  }
1192
- function Rt(e, t, r, n, i) {
1189
+ function Xe(e, t, r, n, i) {
1193
1190
  return r.bind(t, e, n, i);
1194
1191
  }
1195
- function bn(e, t) {
1196
- var r = e.length === 1 ? dn : $t;
1197
- return Rt(e, this, r, t.cache.create(), t.serializer);
1192
+ function pn(e, t) {
1193
+ var r = e.length === 1 ? Mt : $t;
1194
+ return Xe(e, this, r, t.cache.create(), t.serializer);
1198
1195
  }
1199
- function yn(e, t) {
1200
- return Rt(e, this, $t, t.cache.create(), t.serializer);
1196
+ function dn(e, t) {
1197
+ return Xe(e, this, $t, t.cache.create(), t.serializer);
1198
+ }
1199
+ function bn(e, t) {
1200
+ return Xe(e, this, Mt, t.cache.create(), t.serializer);
1201
1201
  }
1202
- var vn = function() {
1202
+ var yn = function() {
1203
1203
  return JSON.stringify(arguments);
1204
- }, gn = (
1205
- /** @class */
1206
- function() {
1207
- function e() {
1208
- this.cache = /* @__PURE__ */ Object.create(null);
1209
- }
1210
- return e.prototype.get = function(t) {
1211
- return this.cache[t];
1212
- }, e.prototype.set = function(t, r) {
1213
- this.cache[t] = r;
1214
- }, e;
1215
- }()
1216
- ), _n = {
1204
+ };
1205
+ function We() {
1206
+ this.cache = /* @__PURE__ */ Object.create(null);
1207
+ }
1208
+ We.prototype.get = function(e) {
1209
+ return this.cache[e];
1210
+ };
1211
+ We.prototype.set = function(e, t) {
1212
+ this.cache[e] = t;
1213
+ };
1214
+ var gn = {
1217
1215
  create: function() {
1218
- return new gn();
1216
+ return new We();
1219
1217
  }
1220
- }, Te = {
1221
- variadic: yn
1222
- }, fe = function() {
1223
- return fe = Object.assign || function(t) {
1224
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1225
- r = arguments[n];
1226
- for (var o in r)
1227
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1228
- }
1229
- return t;
1230
- }, fe.apply(this, arguments);
1231
- };
1232
- var d;
1218
+ }, we = {
1219
+ variadic: dn,
1220
+ monadic: bn
1221
+ }, d;
1233
1222
  (function(e) {
1234
1223
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1235
1224
  })(d || (d = {}));
1236
- var g;
1225
+ var x;
1237
1226
  (function(e) {
1238
1227
  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";
1239
- })(g || (g = {}));
1240
- var j;
1228
+ })(x || (x = {}));
1229
+ var k;
1241
1230
  (function(e) {
1242
1231
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1243
- })(j || (j = {}));
1244
- function ft(e) {
1245
- return e.type === g.literal;
1232
+ })(k || (k = {}));
1233
+ function lt(e) {
1234
+ return e.type === x.literal;
1246
1235
  }
1247
- function xn(e) {
1248
- return e.type === g.argument;
1236
+ function vn(e) {
1237
+ return e.type === x.argument;
1249
1238
  }
1250
- function Ut(e) {
1251
- return e.type === g.number;
1239
+ function Rt(e) {
1240
+ return e.type === x.number;
1252
1241
  }
1253
- function Ft(e) {
1254
- return e.type === g.date;
1242
+ function Ut(e) {
1243
+ return e.type === x.date;
1255
1244
  }
1256
1245
  function Dt(e) {
1257
- return e.type === g.time;
1246
+ return e.type === x.time;
1247
+ }
1248
+ function Ft(e) {
1249
+ return e.type === x.select;
1258
1250
  }
1259
1251
  function Gt(e) {
1260
- return e.type === g.select;
1252
+ return e.type === x.plural;
1261
1253
  }
1262
- function jt(e) {
1263
- return e.type === g.plural;
1254
+ function xn(e) {
1255
+ return e.type === x.pound;
1264
1256
  }
1265
- function En(e) {
1266
- return e.type === g.pound;
1257
+ function jt(e) {
1258
+ return e.type === x.tag;
1267
1259
  }
1268
1260
  function kt(e) {
1269
- return e.type === g.tag;
1270
- }
1271
- function Vt(e) {
1272
- return !!(e && typeof e == "object" && e.type === j.number);
1261
+ return !!(e && typeof e == "object" && e.type === k.number);
1273
1262
  }
1274
- function De(e) {
1275
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1263
+ function $e(e) {
1264
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1276
1265
  }
1277
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1278
- function wn(e) {
1266
+ var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1267
+ function En(e) {
1279
1268
  var t = {};
1280
- return e.replace(Sn, function(r) {
1269
+ return e.replace(_n, function(r) {
1281
1270
  var n = r.length;
1282
1271
  switch (r[0]) {
1283
1272
  case "G":
@@ -1366,21 +1355,11 @@ function wn(e) {
1366
1355
  return "";
1367
1356
  }), t;
1368
1357
  }
1369
- var _ = function() {
1370
- return _ = Object.assign || function(t) {
1371
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1372
- r = arguments[n];
1373
- for (var o in r)
1374
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1375
- }
1376
- return t;
1377
- }, _.apply(this, arguments);
1378
- };
1379
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1380
- function Tn(e) {
1358
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function wn(e) {
1381
1360
  if (e.length === 0)
1382
1361
  throw new Error("Number skeleton cannot be empty");
1383
- for (var t = e.split(Hn).filter(function(f) {
1362
+ for (var t = e.split(Sn).filter(function(f) {
1384
1363
  return f.length > 0;
1385
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1386
1365
  var o = i[n], s = o.split("/");
@@ -1395,17 +1374,17 @@ function Tn(e) {
1395
1374
  }
1396
1375
  return r;
1397
1376
  }
1398
- function Bn(e) {
1377
+ function Hn(e) {
1399
1378
  return e.replace(/^(.*?)-/, "");
1400
1379
  }
1401
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1402
- function pt(e) {
1380
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1381
+ function ft(e) {
1403
1382
  var t = {};
1404
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1383
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1405
1384
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1406
1385
  }), t;
1407
1386
  }
1408
- function Zt(e) {
1387
+ function zt(e) {
1409
1388
  switch (e) {
1410
1389
  case "sign-auto":
1411
1390
  return {
@@ -1445,7 +1424,7 @@ function Zt(e) {
1445
1424
  };
1446
1425
  }
1447
1426
  }
1448
- function Pn(e) {
1427
+ function Bn(e) {
1449
1428
  var t;
1450
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1451
1430
  notation: "engineering"
@@ -1453,17 +1432,17 @@ function Pn(e) {
1453
1432
  notation: "scientific"
1454
1433
  }, e = e.slice(1)), t) {
1455
1434
  var r = e.slice(0, 2);
1456
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1457
1436
  throw new Error("Malformed concise eng/scientific notation");
1458
1437
  t.minimumIntegerDigits = e.length;
1459
1438
  }
1460
1439
  return t;
1461
1440
  }
1462
- function dt(e) {
1463
- var t = {}, r = Zt(e);
1441
+ function mt(e) {
1442
+ var t = {}, r = zt(e);
1464
1443
  return r || t;
1465
1444
  }
1466
- function On(e) {
1445
+ function An(e) {
1467
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1468
1447
  var i = n[r];
1469
1448
  switch (i.stem) {
@@ -1487,7 +1466,7 @@ function On(e) {
1487
1466
  continue;
1488
1467
  case "measure-unit":
1489
1468
  case "unit":
1490
- t.style = "unit", t.unit = Bn(i.options[0]);
1469
+ t.style = "unit", t.unit = Hn(i.options[0]);
1491
1470
  continue;
1492
1471
  case "compact-short":
1493
1472
  case "K":
@@ -1498,13 +1477,13 @@ function On(e) {
1498
1477
  t.notation = "compact", t.compactDisplay = "long";
1499
1478
  continue;
1500
1479
  case "scientific":
1501
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1502
- return _(_({}, h), dt(u));
1480
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1481
+ return y(y({}, h), mt(u));
1503
1482
  }, {}));
1504
1483
  continue;
1505
1484
  case "engineering":
1506
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1507
- return _(_({}, h), dt(u));
1485
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1486
+ return y(y({}, h), mt(u));
1508
1487
  }, {}));
1509
1488
  continue;
1510
1489
  case "notation-simple":
@@ -1549,7 +1528,7 @@ function On(e) {
1549
1528
  case "integer-width":
1550
1529
  if (i.options.length > 1)
1551
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1552
- i.options[0].replace(An, function(h, u, l, c, f, p) {
1531
+ i.options[0].replace(Tn, function(h, u, l, c, f, p) {
1553
1532
  if (u)
1554
1533
  t.minimumIntegerDigits = l.length;
1555
1534
  else {
@@ -1562,28 +1541,28 @@ function On(e) {
1562
1541
  });
1563
1542
  continue;
1564
1543
  }
1565
- if (zt.test(i.stem)) {
1544
+ if (Wt.test(i.stem)) {
1566
1545
  t.minimumIntegerDigits = i.stem.length;
1567
1546
  continue;
1568
1547
  }
1569
- if (mt.test(i.stem)) {
1548
+ if (ct.test(i.stem)) {
1570
1549
  if (i.options.length > 1)
1571
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1572
- i.stem.replace(mt, function(h, u, l, c, f, p) {
1551
+ i.stem.replace(ct, function(h, u, l, c, f, p) {
1573
1552
  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), "";
1574
1553
  });
1575
1554
  var o = i.options[0];
1576
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1555
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ft(o)));
1577
1556
  continue;
1578
1557
  }
1579
- if (Wt.test(i.stem)) {
1580
- t = _(_({}, t), pt(i.stem));
1558
+ if (Xt.test(i.stem)) {
1559
+ t = y(y({}, t), ft(i.stem));
1581
1560
  continue;
1582
1561
  }
1583
- var s = Zt(i.stem);
1584
- s && (t = _(_({}, t), s));
1585
- var a = Pn(i.stem);
1586
- a && (t = _(_({}, t), a));
1562
+ var s = zt(i.stem);
1563
+ s && (t = y(y({}, t), s));
1564
+ var a = Bn(i.stem);
1565
+ a && (t = y(y({}, t), a));
1587
1566
  }
1588
1567
  return t;
1589
1568
  }
@@ -3002,13 +2981,13 @@ var ae = {
3002
2981
  "h"
3003
2982
  ]
3004
2983
  };
3005
- function In(e, t) {
2984
+ function Pn(e, t) {
3006
2985
  for (var r = "", n = 0; n < e.length; n++) {
3007
2986
  var i = e.charAt(n);
3008
2987
  if (i === "j") {
3009
2988
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3010
2989
  o++, n++;
3011
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2990
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
3012
2991
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3013
2992
  r += h;
3014
2993
  for (; s-- > 0; )
@@ -3018,7 +2997,7 @@ function In(e, t) {
3018
2997
  }
3019
2998
  return r;
3020
2999
  }
3021
- function Nn(e) {
3000
+ function On(e) {
3022
3001
  var t = e.hourCycle;
3023
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3024
3003
  e.hourCycles && // @ts-ignore
@@ -3040,20 +3019,20 @@ function Nn(e) {
3040
3019
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3041
3020
  return i[0];
3042
3021
  }
3043
- var Be, Cn = new RegExp("^".concat(Xt.source, "*")), Ln = new RegExp("".concat(Xt.source, "*$"));
3022
+ var He, In = new RegExp("^".concat(Vt.source, "*")), Cn = new RegExp("".concat(Vt.source, "*$"));
3044
3023
  function b(e, t) {
3045
3024
  return { start: e, end: t };
3046
3025
  }
3047
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
3026
+ var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
3048
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3049
- }, Ge = !0;
3028
+ }, Re = !0;
3050
3029
  try {
3051
- var kn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3052
- Ge = ((Be = kn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3030
+ var Gn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ Re = ((He = Gn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3053
3032
  } catch (e) {
3054
- Ge = !1;
3033
+ Re = !1;
3055
3034
  }
3056
- var bt = Mn ? (
3035
+ var pt = Nn ? (
3057
3036
  // Native
3058
3037
  function(t, r, n) {
3059
3038
  return t.startsWith(r, n);
@@ -3063,7 +3042,7 @@ var bt = Mn ? (
3063
3042
  function(t, r, n) {
3064
3043
  return t.slice(n, n + r.length) === r;
3065
3044
  }
3066
- ), je = $n ? String.fromCodePoint : (
3045
+ ), Ue = Ln ? String.fromCodePoint : (
3067
3046
  // IE11
3068
3047
  function() {
3069
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3075,9 +3054,9 @@ var bt = Mn ? (
3075
3054
  }
3076
3055
  return n;
3077
3056
  }
3078
- ), yt = (
3057
+ ), dt = (
3079
3058
  // native
3080
- Rn ? Object.fromEntries : (
3059
+ Mn ? Object.fromEntries : (
3081
3060
  // Ponyfill
3082
3061
  function(t) {
3083
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3087,7 +3066,7 @@ var bt = Mn ? (
3087
3066
  return r;
3088
3067
  }
3089
3068
  )
3090
- ), Qt = Un ? (
3069
+ ), Zt = $n ? (
3091
3070
  // Native
3092
3071
  function(t, r) {
3093
3072
  return t.codePointAt(r);
@@ -3101,7 +3080,7 @@ var bt = Mn ? (
3101
3080
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3102
3081
  }
3103
3082
  }
3104
- ), Vn = Fn ? (
3083
+ ), jn = Rn ? (
3105
3084
  // Native
3106
3085
  function(t) {
3107
3086
  return t.trimStart();
@@ -3109,9 +3088,9 @@ var bt = Mn ? (
3109
3088
  ) : (
3110
3089
  // Ponyfill
3111
3090
  function(t) {
3112
- return t.replace(Cn, "");
3091
+ return t.replace(In, "");
3113
3092
  }
3114
- ), Xn = Dn ? (
3093
+ ), kn = Un ? (
3115
3094
  // Native
3116
3095
  function(t) {
3117
3096
  return t.trimEnd();
@@ -3119,32 +3098,32 @@ var bt = Mn ? (
3119
3098
  ) : (
3120
3099
  // Ponyfill
3121
3100
  function(t) {
3122
- return t.replace(Ln, "");
3101
+ return t.replace(Cn, "");
3123
3102
  }
3124
3103
  );
3125
- function Jt(e, t) {
3104
+ function Qt(e, t) {
3126
3105
  return new RegExp(e, t);
3127
3106
  }
3128
- var ke;
3129
- if (Ge) {
3130
- var vt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3131
- ke = function(t, r) {
3107
+ var De;
3108
+ if (Re) {
3109
+ var bt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3110
+ De = function(t, r) {
3132
3111
  var n;
3133
- vt.lastIndex = r;
3134
- var i = vt.exec(t);
3112
+ bt.lastIndex = r;
3113
+ var i = bt.exec(t);
3135
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3136
3115
  };
3137
3116
  } else
3138
- ke = function(t, r) {
3117
+ De = function(t, r) {
3139
3118
  for (var n = []; ; ) {
3140
- var i = Qt(t, r);
3141
- if (i === void 0 || Yt(i) || Qn(i))
3119
+ var i = Zt(t, r);
3120
+ if (i === void 0 || Jt(i) || zn(i))
3142
3121
  break;
3143
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3144
3123
  }
3145
- return je.apply(void 0, n);
3124
+ return Ue.apply(void 0, n);
3146
3125
  };
3147
- var Wn = (
3126
+ var Vn = (
3148
3127
  /** @class */
3149
3128
  function() {
3150
3129
  function e(t, r) {
@@ -3168,14 +3147,14 @@ var Wn = (
3168
3147
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3169
3148
  var a = this.clonePosition();
3170
3149
  this.bump(), i.push({
3171
- type: g.pound,
3150
+ type: x.pound,
3172
3151
  location: b(a, this.clonePosition())
3173
3152
  });
3174
3153
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3175
3154
  if (n)
3176
3155
  break;
3177
3156
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3178
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3157
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3179
3158
  var s = this.parseTag(t, r);
3180
3159
  if (s.err)
3181
3160
  return s;
@@ -3196,7 +3175,7 @@ var Wn = (
3196
3175
  if (this.bumpSpace(), this.bumpIf("/>"))
3197
3176
  return {
3198
3177
  val: {
3199
- type: g.literal,
3178
+ type: x.literal,
3200
3179
  value: "<".concat(i, "/>"),
3201
3180
  location: b(n, this.clonePosition())
3202
3181
  },
@@ -3208,12 +3187,12 @@ var Wn = (
3208
3187
  return o;
3209
3188
  var s = o.val, a = this.clonePosition();
3210
3189
  if (this.bumpIf("</")) {
3211
- if (this.isEOF() || !Ve(this.char()))
3190
+ if (this.isEOF() || !Fe(this.char()))
3212
3191
  return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3213
3192
  var h = this.clonePosition(), u = this.parseTagName();
3214
3193
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3215
3194
  val: {
3216
- type: g.tag,
3195
+ type: x.tag,
3217
3196
  value: i,
3218
3197
  children: s,
3219
3198
  location: b(n, this.clonePosition())
@@ -3226,7 +3205,7 @@ var Wn = (
3226
3205
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3227
3206
  }, e.prototype.parseTagName = function() {
3228
3207
  var t = this.offset();
3229
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && Wn(this.char()); )
3230
3209
  this.bump();
3231
3210
  return this.message.slice(t, this.offset());
3232
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3250,12 +3229,12 @@ var Wn = (
3250
3229
  }
3251
3230
  var h = b(n, this.clonePosition());
3252
3231
  return {
3253
- val: { type: g.literal, value: i, location: h },
3232
+ val: { type: x.literal, value: i, location: h },
3254
3233
  err: null
3255
3234
  };
3256
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3257
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3258
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3259
3238
  }, e.prototype.tryParseQuote = function(t) {
3260
3239
  if (this.isEOF() || this.char() !== 39)
3261
3240
  return null;
@@ -3289,12 +3268,12 @@ var Wn = (
3289
3268
  r.push(n);
3290
3269
  this.bump();
3291
3270
  }
3292
- return je.apply(void 0, r);
3271
+ return Ue.apply(void 0, r);
3293
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3294
3273
  if (this.isEOF())
3295
3274
  return null;
3296
3275
  var n = this.char();
3297
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3298
3277
  }, e.prototype.parseArgument = function(t, r) {
3299
3278
  var n = this.clonePosition();
3300
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3310,7 +3289,7 @@ var Wn = (
3310
3289
  case 125:
3311
3290
  return this.bump(), {
3312
3291
  val: {
3313
- type: g.argument,
3292
+ type: x.argument,
3314
3293
  // value does not include the opening and closing braces.
3315
3294
  value: i,
3316
3295
  location: b(n, this.clonePosition())
@@ -3323,7 +3302,7 @@ var Wn = (
3323
3302
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3324
3303
  }
3325
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3326
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3327
3306
  this.bumpTo(i);
3328
3307
  var o = this.clonePosition(), s = b(t, o);
3329
3308
  return { value: n, location: s };
@@ -3342,35 +3321,35 @@ var Wn = (
3342
3321
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3343
3322
  if (c.err)
3344
3323
  return c;
3345
- var f = Xn(c.val);
3324
+ var f = kn(c.val);
3346
3325
  if (f.length === 0)
3347
3326
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3348
3327
  var p = b(l, this.clonePosition());
3349
3328
  u = { style: f, styleLocation: p };
3350
3329
  }
3351
- var y = this.tryParseArgumentClose(i);
3352
- if (y.err)
3353
- return y;
3330
+ var g = this.tryParseArgumentClose(i);
3331
+ if (g.err)
3332
+ return g;
3354
3333
  var m = b(i, this.clonePosition());
3355
- if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
3356
- var x = Vn(u.style.slice(2));
3334
+ if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
3335
+ var _ = jn(u.style.slice(2));
3357
3336
  if (a === "number") {
3358
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3337
+ var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3359
3338
  return c.err ? c : {
3360
- val: { type: g.number, value: n, location: m, style: c.val },
3339
+ val: { type: x.number, value: n, location: m, style: c.val },
3361
3340
  err: null
3362
3341
  };
3363
3342
  } else {
3364
- if (x.length === 0)
3343
+ if (_.length === 0)
3365
3344
  return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3366
- var v = x;
3367
- this.locale && (v = In(x, this.locale));
3345
+ var v = _;
3346
+ this.locale && (v = Pn(_, this.locale));
3368
3347
  var f = {
3369
- type: j.dateTime,
3348
+ type: k.dateTime,
3370
3349
  pattern: v,
3371
3350
  location: u.styleLocation,
3372
- parsedOptions: this.shouldParseSkeletons ? wn(v) : {}
3373
- }, B = a === "date" ? g.date : g.time;
3351
+ parsedOptions: this.shouldParseSkeletons ? En(v) : {}
3352
+ }, B = a === "date" ? x.date : x.time;
3374
3353
  return {
3375
3354
  val: { type: B, value: n, location: m, style: f },
3376
3355
  err: null
@@ -3379,7 +3358,7 @@ var Wn = (
3379
3358
  }
3380
3359
  return {
3381
3360
  val: {
3382
- type: a === "number" ? g.number : a === "date" ? g.date : g.time,
3361
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3383
3362
  value: n,
3384
3363
  location: m,
3385
3364
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3392,41 +3371,41 @@ var Wn = (
3392
3371
  case "select": {
3393
3372
  var w = this.clonePosition();
3394
3373
  if (this.bumpSpace(), !this.bumpIf(","))
3395
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, fe({}, w)));
3374
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, y({}, w)));
3396
3375
  this.bumpSpace();
3397
- var N = this.parseIdentifierIfPossible(), O = 0;
3398
- if (a !== "select" && N.value === "offset") {
3376
+ var C = this.parseIdentifierIfPossible(), P = 0;
3377
+ if (a !== "select" && C.value === "offset") {
3399
3378
  if (!this.bumpIf(":"))
3400
3379
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3401
3380
  this.bumpSpace();
3402
3381
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3403
3382
  if (c.err)
3404
3383
  return c;
3405
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = c.val;
3384
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), P = c.val;
3406
3385
  }
3407
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, N);
3386
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, C);
3408
3387
  if (oe.err)
3409
3388
  return oe;
3410
- var y = this.tryParseArgumentClose(i);
3411
- if (y.err)
3412
- return y;
3413
- var Ye = b(i, this.clonePosition());
3389
+ var g = this.tryParseArgumentClose(i);
3390
+ if (g.err)
3391
+ return g;
3392
+ var Qe = b(i, this.clonePosition());
3414
3393
  return a === "select" ? {
3415
3394
  val: {
3416
- type: g.select,
3395
+ type: x.select,
3417
3396
  value: n,
3418
- options: yt(oe.val),
3419
- location: Ye
3397
+ options: dt(oe.val),
3398
+ location: Qe
3420
3399
  },
3421
3400
  err: null
3422
3401
  } : {
3423
3402
  val: {
3424
- type: g.plural,
3403
+ type: x.plural,
3425
3404
  value: n,
3426
- options: yt(oe.val),
3427
- offset: O,
3405
+ options: dt(oe.val),
3406
+ offset: P,
3428
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3429
- location: Ye
3408
+ location: Qe
3430
3409
  },
3431
3410
  err: null
3432
3411
  };
@@ -3474,16 +3453,16 @@ var Wn = (
3474
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3475
3454
  var n = [];
3476
3455
  try {
3477
- n = Tn(t);
3456
+ n = wn(t);
3478
3457
  } catch (i) {
3479
3458
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3480
3459
  }
3481
3460
  return {
3482
3461
  val: {
3483
- type: j.number,
3462
+ type: k.number,
3484
3463
  tokens: n,
3485
3464
  location: r,
3486
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3487
3466
  },
3488
3467
  err: null
3489
3468
  };
@@ -3505,16 +3484,16 @@ var Wn = (
3505
3484
  var p = this.clonePosition();
3506
3485
  if (!this.bumpIf("{"))
3507
3486
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3508
- var y = this.parseMessage(t + 1, r, n);
3509
- if (y.err)
3510
- return y;
3487
+ var g = this.parseMessage(t + 1, r, n);
3488
+ if (g.err)
3489
+ return g;
3511
3490
  var m = this.tryParseArgumentClose(p);
3512
3491
  if (m.err)
3513
3492
  return m;
3514
3493
  a.push([
3515
3494
  u,
3516
3495
  {
3517
- value: y.val,
3496
+ value: g.val,
3518
3497
  location: b(p, this.clonePosition())
3519
3498
  }
3520
3499
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3531,7 +3510,7 @@ var Wn = (
3531
3510
  break;
3532
3511
  }
3533
3512
  var h = b(i, this.clonePosition());
3534
- return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3513
+ return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3535
3514
  }, e.prototype.offset = function() {
3536
3515
  return this.position.offset;
3537
3516
  }, e.prototype.isEOF = function() {
@@ -3546,7 +3525,7 @@ var Wn = (
3546
3525
  var t = this.position.offset;
3547
3526
  if (t >= this.message.length)
3548
3527
  throw Error("out of bound");
3549
- var r = Qt(this.message, t);
3528
+ var r = Zt(this.message, t);
3550
3529
  if (r === void 0)
3551
3530
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3552
3531
  return r;
@@ -3565,7 +3544,7 @@ var Wn = (
3565
3544
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3566
3545
  }
3567
3546
  }, e.prototype.bumpIf = function(t) {
3568
- if (bt(this.message, t, this.offset())) {
3547
+ if (pt(this.message, t, this.offset())) {
3569
3548
  for (var r = 0; r < t.length; r++)
3570
3549
  this.bump();
3571
3550
  return !0;
@@ -3587,7 +3566,7 @@ var Wn = (
3587
3566
  break;
3588
3567
  }
3589
3568
  }, e.prototype.bumpSpace = function() {
3590
- for (; !this.isEOF() && Yt(this.char()); )
3569
+ for (; !this.isEOF() && Jt(this.char()); )
3591
3570
  this.bump();
3592
3571
  }, e.prototype.peek = function() {
3593
3572
  if (this.isEOF())
@@ -3597,47 +3576,47 @@ var Wn = (
3597
3576
  }, e;
3598
3577
  }()
3599
3578
  );
3600
- function Ve(e) {
3579
+ function Fe(e) {
3601
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3602
3581
  }
3603
- function zn(e) {
3604
- return Ve(e) || e === 47;
3582
+ function Xn(e) {
3583
+ return Fe(e) || e === 47;
3605
3584
  }
3606
- function Zn(e) {
3585
+ function Wn(e) {
3607
3586
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3608
3587
  }
3609
- function Yt(e) {
3588
+ function Jt(e) {
3610
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3611
3590
  }
3612
- function Qn(e) {
3591
+ function zn(e) {
3613
3592
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3614
3593
  }
3615
- function Xe(e) {
3594
+ function Ge(e) {
3616
3595
  e.forEach(function(t) {
3617
- if (delete t.location, Gt(t) || jt(t))
3596
+ if (delete t.location, Ft(t) || Gt(t))
3618
3597
  for (var r in t.options)
3619
- delete t.options[r].location, Xe(t.options[r].value);
3598
+ delete t.options[r].location, Ge(t.options[r].value);
3620
3599
  else
3621
- Ut(t) && Vt(t.style) || (Ft(t) || Dt(t)) && De(t.style) ? delete t.style.location : kt(t) && Xe(t.children);
3600
+ Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && $e(t.style) ? delete t.style.location : jt(t) && Ge(t.children);
3622
3601
  });
3623
3602
  }
3624
- function Jn(e, t) {
3625
- t === void 0 && (t = {}), t = fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3626
- var r = new Wn(e, t).parse();
3603
+ function Zn(e, t) {
3604
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3605
+ var r = new Vn(e, t).parse();
3627
3606
  if (r.err) {
3628
3607
  var n = SyntaxError(d[r.err.kind]);
3629
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3630
3609
  }
3631
- return t != null && t.captureLocation || Xe(r.val), r.val;
3610
+ return t != null && t.captureLocation || Ge(r.val), r.val;
3632
3611
  }
3633
- var k;
3612
+ var V;
3634
3613
  (function(e) {
3635
3614
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3636
- })(k || (k = {}));
3637
- var ve = (
3615
+ })(V || (V = {}));
3616
+ var be = (
3638
3617
  /** @class */
3639
3618
  function(e) {
3640
- ye(t, e);
3619
+ I(t, e);
3641
3620
  function t(r, n, i) {
3642
3621
  var o = e.call(this, r) || this;
3643
3622
  return o.code = n, o.originalMessage = i, o;
@@ -3646,48 +3625,48 @@ var ve = (
3646
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3647
3626
  }, t;
3648
3627
  }(Error)
3649
- ), gt = (
3628
+ ), yt = (
3650
3629
  /** @class */
3651
3630
  function(e) {
3652
- ye(t, e);
3631
+ I(t, e);
3653
3632
  function t(r, n, i, o) {
3654
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3633
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3655
3634
  }
3656
3635
  return t;
3657
- }(ve)
3658
- ), Yn = (
3636
+ }(be)
3637
+ ), Qn = (
3659
3638
  /** @class */
3660
3639
  function(e) {
3661
- ye(t, e);
3640
+ I(t, e);
3662
3641
  function t(r, n, i) {
3663
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3642
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3664
3643
  }
3665
3644
  return t;
3666
- }(ve)
3667
- ), qn = (
3645
+ }(be)
3646
+ ), Jn = (
3668
3647
  /** @class */
3669
3648
  function(e) {
3670
- ye(t, e);
3649
+ I(t, e);
3671
3650
  function t(r, n) {
3672
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3651
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3673
3652
  }
3674
3653
  return t;
3675
- }(ve)
3654
+ }(be)
3676
3655
  ), S;
3677
3656
  (function(e) {
3678
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3679
3658
  })(S || (S = {}));
3680
- function Kn(e) {
3659
+ function Yn(e) {
3681
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3682
3661
  var n = t[t.length - 1];
3683
3662
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3684
3663
  }, []);
3685
3664
  }
3686
- function ei(e) {
3665
+ function qn(e) {
3687
3666
  return typeof e == "function";
3688
3667
  }
3689
3668
  function le(e, t, r, n, i, o, s) {
3690
- if (e.length === 1 && ft(e[0]))
3669
+ if (e.length === 1 && lt(e[0]))
3691
3670
  return [
3692
3671
  {
3693
3672
  type: S.literal,
@@ -3696,14 +3675,14 @@ function le(e, t, r, n, i, o, s) {
3696
3675
  ];
3697
3676
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3698
3677
  var l = u[h];
3699
- if (ft(l)) {
3678
+ if (lt(l)) {
3700
3679
  a.push({
3701
3680
  type: S.literal,
3702
3681
  value: l.value
3703
3682
  });
3704
3683
  continue;
3705
3684
  }
3706
- if (En(l)) {
3685
+ if (xn(l)) {
3707
3686
  typeof o == "number" && a.push({
3708
3687
  type: S.literal,
3709
3688
  value: r.getNumberFormat(t).format(o)
@@ -3712,17 +3691,17 @@ function le(e, t, r, n, i, o, s) {
3712
3691
  }
3713
3692
  var c = l.value;
3714
3693
  if (!(i && c in i))
3715
- throw new qn(c, s);
3694
+ throw new Jn(c, s);
3716
3695
  var f = i[c];
3717
- if (xn(l)) {
3696
+ if (vn(l)) {
3718
3697
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3719
3698
  type: typeof f == "string" ? S.literal : S.object,
3720
3699
  value: f
3721
3700
  });
3722
3701
  continue;
3723
3702
  }
3724
- if (Ft(l)) {
3725
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3703
+ if (Ut(l)) {
3704
+ var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3726
3705
  a.push({
3727
3706
  type: S.literal,
3728
3707
  value: r.getDateTimeFormat(t, p).format(f)
@@ -3730,71 +3709,71 @@ function le(e, t, r, n, i, o, s) {
3730
3709
  continue;
3731
3710
  }
3732
3711
  if (Dt(l)) {
3733
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3712
+ var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3734
3713
  a.push({
3735
3714
  type: S.literal,
3736
3715
  value: r.getDateTimeFormat(t, p).format(f)
3737
3716
  });
3738
3717
  continue;
3739
3718
  }
3740
- if (Ut(l)) {
3741
- var p = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3719
+ if (Rt(l)) {
3720
+ var p = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3742
3721
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3743
3722
  type: S.literal,
3744
3723
  value: r.getNumberFormat(t, p).format(f)
3745
3724
  });
3746
3725
  continue;
3747
3726
  }
3748
- if (kt(l)) {
3749
- var y = l.children, m = l.value, x = i[m];
3750
- if (!ei(x))
3751
- throw new Yn(m, "function", s);
3752
- var v = le(y, t, r, n, i, o), B = x(v.map(function(O) {
3753
- return O.value;
3727
+ if (jt(l)) {
3728
+ var g = l.children, m = l.value, _ = i[m];
3729
+ if (!qn(_))
3730
+ throw new Qn(m, "function", s);
3731
+ var v = le(g, t, r, n, i, o), B = _(v.map(function(P) {
3732
+ return P.value;
3754
3733
  }));
3755
- Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(O) {
3734
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(P) {
3756
3735
  return {
3757
- type: typeof O == "string" ? S.literal : S.object,
3758
- value: O
3736
+ type: typeof P == "string" ? S.literal : S.object,
3737
+ value: P
3759
3738
  };
3760
3739
  }));
3761
3740
  }
3762
- if (Gt(l)) {
3741
+ if (Ft(l)) {
3763
3742
  var w = l.options[f] || l.options.other;
3764
3743
  if (!w)
3765
- throw new gt(l.value, f, Object.keys(l.options), s);
3744
+ throw new yt(l.value, f, Object.keys(l.options), s);
3766
3745
  a.push.apply(a, le(w.value, t, r, n, i));
3767
3746
  continue;
3768
3747
  }
3769
- if (jt(l)) {
3748
+ if (Gt(l)) {
3770
3749
  var w = l.options["=".concat(f)];
3771
3750
  if (!w) {
3772
3751
  if (!Intl.PluralRules)
3773
- throw new ve(`Intl.PluralRules is not available in this environment.
3752
+ throw new be(`Intl.PluralRules is not available in this environment.
3774
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3775
- `, k.MISSING_INTL_API, s);
3776
- var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3777
- w = l.options[N] || l.options.other;
3754
+ `, V.MISSING_INTL_API, s);
3755
+ var C = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3756
+ w = l.options[C] || l.options.other;
3778
3757
  }
3779
3758
  if (!w)
3780
- throw new gt(l.value, f, Object.keys(l.options), s);
3759
+ throw new yt(l.value, f, Object.keys(l.options), s);
3781
3760
  a.push.apply(a, le(w.value, t, r, n, i, f - (l.offset || 0)));
3782
3761
  continue;
3783
3762
  }
3784
3763
  }
3785
- return Kn(a);
3764
+ return Yn(a);
3786
3765
  }
3787
- function ti(e, t) {
3788
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3789
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3766
+ function Kn(e, t) {
3767
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3790
3769
  }, {})) : e;
3791
3770
  }
3792
- function ri(e, t) {
3771
+ function ei(e, t) {
3793
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3794
- return r[n] = ti(e[n], t[n]), r;
3795
- }, P({}, e)) : e;
3773
+ return r[n] = Kn(e[n], t[n]), r;
3774
+ }, y({}, e)) : e;
3796
3775
  }
3797
- function Ae(e) {
3776
+ function Te(e) {
3798
3777
  return {
3799
3778
  create: function() {
3800
3779
  return {
@@ -3808,39 +3787,39 @@ function Ae(e) {
3808
3787
  }
3809
3788
  };
3810
3789
  }
3811
- function ni(e) {
3790
+ function ti(e) {
3812
3791
  return e === void 0 && (e = {
3813
3792
  number: {},
3814
3793
  dateTime: {},
3815
3794
  pluralRules: {}
3816
3795
  }), {
3817
- getNumberFormat: He(function() {
3796
+ getNumberFormat: Se(function() {
3818
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3819
3798
  r[n] = arguments[n];
3820
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3799
+ return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
3821
3800
  }, {
3822
- cache: Ae(e.number),
3823
- strategy: Te.variadic
3801
+ cache: Te(e.number),
3802
+ strategy: we.variadic
3824
3803
  }),
3825
- getDateTimeFormat: He(function() {
3804
+ getDateTimeFormat: Se(function() {
3826
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3827
3806
  r[n] = arguments[n];
3828
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3807
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
3829
3808
  }, {
3830
- cache: Ae(e.dateTime),
3831
- strategy: Te.variadic
3809
+ cache: Te(e.dateTime),
3810
+ strategy: we.variadic
3832
3811
  }),
3833
- getPluralRules: He(function() {
3812
+ getPluralRules: Se(function() {
3834
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3835
3814
  r[n] = arguments[n];
3836
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3815
+ return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
3837
3816
  }, {
3838
- cache: Ae(e.pluralRules),
3839
- strategy: Te.variadic
3817
+ cache: Te(e.pluralRules),
3818
+ strategy: we.variadic
3840
3819
  })
3841
3820
  };
3842
3821
  }
3843
- var ii = (
3822
+ var ri = (
3844
3823
  /** @class */
3845
3824
  function() {
3846
3825
  function e(t, r, n, i) {
@@ -3872,13 +3851,13 @@ var ii = (
3872
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3873
3852
  var s = i || {};
3874
3853
  s.formatters;
3875
- var a = mn(s, ["formatters"]);
3876
- this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3854
+ var a = Lr(s, ["formatters"]);
3855
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3877
3856
  } else
3878
3857
  this.ast = t;
3879
3858
  if (!Array.isArray(this.ast))
3880
3859
  throw new TypeError("A message must be provided as a String or AST.");
3881
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3860
+ this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3882
3861
  }
3883
3862
  return Object.defineProperty(e, "defaultLocale", {
3884
3863
  get: function() {
@@ -3891,7 +3870,7 @@ var ii = (
3891
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3892
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3893
3872
  }
3894
- }, e.__parse = Jn, e.formats = {
3873
+ }, e.__parse = Zn, e.formats = {
3895
3874
  number: {
3896
3875
  integer: {
3897
3876
  maximumFractionDigits: 0
@@ -3952,7 +3931,7 @@ var ii = (
3952
3931
  }, e;
3953
3932
  }()
3954
3933
  );
3955
- function oi(e, t) {
3934
+ function ni(e, t) {
3956
3935
  if (t == null)
3957
3936
  return;
3958
3937
  if (t in e)
@@ -3973,92 +3952,92 @@ function oi(e, t) {
3973
3952
  n = void 0;
3974
3953
  return n;
3975
3954
  }
3976
- const C = {}, si = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
3955
+ const N = {}, ii = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Yt = (e, t) => {
3977
3956
  if (t == null)
3978
3957
  return;
3979
- if (t in C && e in C[t])
3980
- return C[t][e];
3981
- const r = ge(t);
3958
+ if (t in N && e in N[t])
3959
+ return N[t][e];
3960
+ const r = ye(t);
3982
3961
  for (let n = 0; n < r.length; n++) {
3983
- const i = r[n], o = ui(i, e);
3962
+ const i = r[n], o = si(i, e);
3984
3963
  if (o)
3985
- return si(e, t, o);
3964
+ return ii(e, t, o);
3986
3965
  }
3987
3966
  };
3988
- let Qe;
3989
- const ne = be({});
3990
- function ai(e) {
3991
- return Qe[e] || null;
3967
+ let ze;
3968
+ const ne = de({});
3969
+ function oi(e) {
3970
+ return ze[e] || null;
3992
3971
  }
3993
- function Kt(e) {
3994
- return e in Qe;
3972
+ function qt(e) {
3973
+ return e in ze;
3995
3974
  }
3996
- function ui(e, t) {
3997
- if (!Kt(e))
3975
+ function si(e, t) {
3976
+ if (!qt(e))
3998
3977
  return null;
3999
- const r = ai(e);
4000
- return oi(r, t);
3978
+ const r = oi(e);
3979
+ return ni(r, t);
4001
3980
  }
4002
- function hi(e) {
3981
+ function ai(e) {
4003
3982
  if (e == null)
4004
3983
  return;
4005
- const t = ge(e);
3984
+ const t = ye(e);
4006
3985
  for (let r = 0; r < t.length; r++) {
4007
3986
  const n = t[r];
4008
- if (Kt(n))
3987
+ if (qt(n))
4009
3988
  return n;
4010
3989
  }
4011
3990
  }
4012
- function li(e, ...t) {
4013
- delete C[e], ne.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3991
+ function ui(e, ...t) {
3992
+ delete N[e], ne.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
4014
3993
  }
4015
- W(
3994
+ z(
4016
3995
  [ne],
4017
3996
  ([e]) => Object.keys(e)
4018
3997
  );
4019
- ne.subscribe((e) => Qe = e);
3998
+ ne.subscribe((e) => ze = e);
4020
3999
  const ce = {};
4021
- function ci(e, t) {
4000
+ function hi(e, t) {
4022
4001
  ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4023
4002
  }
4024
- function er(e) {
4003
+ function Kt(e) {
4025
4004
  return ce[e];
4026
4005
  }
4027
- function fi(e) {
4028
- return ge(e).map((t) => {
4029
- const r = er(t);
4006
+ function li(e) {
4007
+ return ye(e).map((t) => {
4008
+ const r = Kt(t);
4030
4009
  return [t, r ? [...r] : []];
4031
4010
  }).filter(([, t]) => t.length > 0);
4032
4011
  }
4033
- function We(e) {
4034
- return e == null ? !1 : ge(e).some(
4012
+ function je(e) {
4013
+ return e == null ? !1 : ye(e).some(
4035
4014
  (t) => {
4036
4015
  var r;
4037
- return (r = er(t)) == null ? void 0 : r.size;
4016
+ return (r = Kt(t)) == null ? void 0 : r.size;
4038
4017
  }
4039
4018
  );
4040
4019
  }
4041
- function mi(e, t) {
4020
+ function ci(e, t) {
4042
4021
  return Promise.all(
4043
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
4044
- ).then((n) => li(e, ...n));
4045
- }
4046
- const Z = {};
4047
- function tr(e) {
4048
- if (!We(e))
4049
- return e in Z ? Z[e] : Promise.resolve();
4050
- const t = fi(e);
4051
- return Z[e] = Promise.all(
4022
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => ui(e, ...n));
4024
+ }
4025
+ const Q = {};
4026
+ function er(e) {
4027
+ if (!je(e))
4028
+ return e in Q ? Q[e] : Promise.resolve();
4029
+ const t = li(e);
4030
+ return Q[e] = Promise.all(
4052
4031
  t.map(
4053
- ([r, n]) => mi(r, n)
4032
+ ([r, n]) => ci(r, n)
4054
4033
  )
4055
4034
  ).then(() => {
4056
- if (We(e))
4057
- return tr(e);
4058
- delete Z[e];
4059
- }), Z[e];
4035
+ if (je(e))
4036
+ return er(e);
4037
+ delete Q[e];
4038
+ }), Q[e];
4060
4039
  }
4061
- const pi = {
4040
+ const fi = {
4062
4041
  number: {
4063
4042
  scientific: { notation: "scientific" },
4064
4043
  engineering: { notation: "engineering" },
@@ -4087,135 +4066,135 @@ const pi = {
4087
4066
  timeZoneName: "short"
4088
4067
  }
4089
4068
  }
4090
- }, di = {
4069
+ }, mi = {
4091
4070
  fallbackLocale: null,
4092
4071
  loadingDelay: 200,
4093
- formats: pi,
4072
+ formats: fi,
4094
4073
  warnOnMissingMessages: !0,
4095
4074
  handleMissingMessage: void 0,
4096
4075
  ignoreTag: !0
4097
- }, bi = di;
4098
- function V() {
4099
- return bi;
4076
+ }, pi = mi;
4077
+ function X() {
4078
+ return pi;
4100
4079
  }
4101
- const Pe = be(!1);
4102
- var yi = Object.defineProperty, vi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4080
+ const Be = de(!1);
4081
+ var di = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4103
4082
  for (var r in t || (t = {}))
4104
- _i.call(t, r) && xt(e, r, t[r]);
4105
- if (_t)
4106
- for (var r of _t(t))
4107
- xi.call(t, r) && xt(e, r, t[r]);
4083
+ gi.call(t, r) && vt(e, r, t[r]);
4084
+ if (gt)
4085
+ for (var r of gt(t))
4086
+ vi.call(t, r) && vt(e, r, t[r]);
4108
4087
  return e;
4109
- }, Si = (e, t) => vi(e, gi(t));
4110
- let ze;
4111
- const me = be(null);
4112
- function Et(e) {
4088
+ }, _i = (e, t) => bi(e, yi(t));
4089
+ let ke;
4090
+ const fe = de(null);
4091
+ function xt(e) {
4113
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4114
4093
  }
4115
- function ge(e, t = V().fallbackLocale) {
4116
- const r = Et(e);
4117
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4094
+ function ye(e, t = X().fallbackLocale) {
4095
+ const r = xt(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4118
4097
  }
4119
4098
  function M() {
4120
- return ze != null ? ze : void 0;
4099
+ return ke != null ? ke : void 0;
4121
4100
  }
4122
- me.subscribe((e) => {
4123
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ fe.subscribe((e) => {
4102
+ ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4124
4103
  });
4125
- const wi = (e) => {
4126
- if (e && hi(e) && We(e)) {
4127
- const { loadingDelay: t } = V();
4104
+ const Ei = (e) => {
4105
+ if (e && ai(e) && je(e)) {
4106
+ const { loadingDelay: t } = X();
4128
4107
  let r;
4129
4108
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4130
- () => Pe.set(!0),
4109
+ () => Be.set(!0),
4131
4110
  t
4132
- ) : Pe.set(!0), tr(e).then(() => {
4133
- me.set(e);
4111
+ ) : Be.set(!0), er(e).then(() => {
4112
+ fe.set(e);
4134
4113
  }).finally(() => {
4135
- clearTimeout(r), Pe.set(!1);
4114
+ clearTimeout(r), Be.set(!1);
4136
4115
  });
4137
4116
  }
4138
- return me.set(e);
4139
- }, ie = Si(Ei({}, me), {
4140
- set: wi
4141
- }), _e = (e) => {
4117
+ return fe.set(e);
4118
+ }, ie = _i(xi({}, fe), {
4119
+ set: Ei
4120
+ }), ge = (e) => {
4142
4121
  const t = /* @__PURE__ */ Object.create(null);
4143
4122
  return (n) => {
4144
4123
  const i = JSON.stringify(n);
4145
4124
  return i in t ? t[i] : t[i] = e(n);
4146
4125
  };
4147
4126
  };
4148
- var Hi = Object.defineProperty, pe = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4127
+ var Si = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4149
4128
  for (var r in t || (t = {}))
4150
- rr.call(t, r) && St(e, r, t[r]);
4151
- if (pe)
4152
- for (var r of pe(t))
4153
- nr.call(t, r) && St(e, r, t[r]);
4129
+ tr.call(t, r) && _t(e, r, t[r]);
4130
+ if (me)
4131
+ for (var r of me(t))
4132
+ rr.call(t, r) && _t(e, r, t[r]);
4154
4133
  return e;
4155
- }, z = (e, t) => {
4134
+ }, Z = (e, t) => {
4156
4135
  var r = {};
4157
4136
  for (var n in e)
4158
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4159
- if (e != null && pe)
4160
- for (var n of pe(e))
4161
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
4137
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4138
+ if (e != null && me)
4139
+ for (var n of me(e))
4140
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4162
4141
  return r;
4163
4142
  };
4164
- const K = (e, t) => {
4165
- const { formats: r } = V();
4143
+ const ee = (e, t) => {
4144
+ const { formats: r } = X();
4166
4145
  if (e in r && t in r[e])
4167
4146
  return r[e][t];
4168
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4169
- }, Ti = _e(
4148
+ }, wi = ge(
4170
4149
  (e) => {
4171
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4150
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4172
4151
  if (r == null)
4173
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4174
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4153
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4175
4154
  }
4176
- ), Bi = _e(
4155
+ ), Hi = ge(
4177
4156
  (e) => {
4178
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4157
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4179
4158
  if (r == null)
4180
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4181
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4182
4161
  }
4183
- ), Ai = _e(
4162
+ ), Ti = ge(
4184
4163
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4164
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4186
4165
  if (r == null)
4187
4166
  throw new Error(
4188
4167
  '[svelte-i18n] A "locale" must be set to format time values'
4189
4168
  );
4190
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4191
4170
  }
4192
- ), Pi = (e = {}) => {
4171
+ ), Bi = (e = {}) => {
4193
4172
  var t = e, {
4194
4173
  locale: r = M()
4195
- } = t, n = z(t, [
4174
+ } = t, n = Z(t, [
4196
4175
  "locale"
4197
4176
  ]);
4198
- return Ti(Je({ locale: r }, n));
4199
- }, Oi = (e = {}) => {
4177
+ return wi(Ze({ locale: r }, n));
4178
+ }, Ai = (e = {}) => {
4200
4179
  var t = e, {
4201
4180
  locale: r = M()
4202
- } = t, n = z(t, [
4181
+ } = t, n = Z(t, [
4203
4182
  "locale"
4204
4183
  ]);
4205
- return Bi(Je({ locale: r }, n));
4206
- }, Ii = (e = {}) => {
4184
+ return Hi(Ze({ locale: r }, n));
4185
+ }, Pi = (e = {}) => {
4207
4186
  var t = e, {
4208
4187
  locale: r = M()
4209
- } = t, n = z(t, [
4188
+ } = t, n = Z(t, [
4210
4189
  "locale"
4211
4190
  ]);
4212
- return Ai(Je({ locale: r }, n));
4213
- }, Ni = _e(
4191
+ return Ti(Ze({ locale: r }, n));
4192
+ }, Oi = ge(
4214
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4215
- (e, t = M()) => new ii(e, t, V().formats, {
4216
- ignoreTag: V().ignoreTag
4194
+ (e, t = M()) => new ri(e, t, X().formats, {
4195
+ ignoreTag: X().ignoreTag
4217
4196
  })
4218
- ), Ci = (e, t = {}) => {
4197
+ ), Ii = (e, t = {}) => {
4219
4198
  var r, n, i, o;
4220
4199
  let s = t;
4221
4200
  typeof e == "object" && (s = e, e = s.id);
@@ -4228,9 +4207,9 @@ const K = (e, t) => {
4228
4207
  throw new Error(
4229
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4230
4209
  );
4231
- let l = qt(e, h);
4210
+ let l = Yt(e, h);
4232
4211
  if (!l)
4233
- l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4212
+ l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4234
4213
  else if (typeof l != "string")
4235
4214
  return console.warn(
4236
4215
  `[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.`
@@ -4239,7 +4218,7 @@ const K = (e, t) => {
4239
4218
  return l;
4240
4219
  let c = l;
4241
4220
  try {
4242
- c = Ni(l, h).format(a);
4221
+ c = Oi(l, h).format(a);
4243
4222
  } catch (f) {
4244
4223
  f instanceof Error && console.warn(
4245
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4247,21 +4226,21 @@ const K = (e, t) => {
4247
4226
  );
4248
4227
  }
4249
4228
  return c;
4250
- }, Li = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = M()) => qt(e, t);
4251
- W([ie, ne], () => Ci);
4252
- W([ie], () => Li);
4253
- W([ie], () => Mi);
4254
- W([ie], () => $i);
4255
- W([ie, ne], () => Ri);
4229
+ }, Ci = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t) => Bi(t).format(e), Mi = (e, t = M()) => Yt(e, t);
4230
+ z([ie, ne], () => Ii);
4231
+ z([ie], () => Ci);
4232
+ z([ie], () => Ni);
4233
+ z([ie], () => Li);
4234
+ z([ie, ne], () => Mi);
4256
4235
  window.emWidgets = { topic: Zr };
4257
- const Ui = (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));
4258
- function Fi(e, t) {
4236
+ const $i = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4237
+ function Ri(e, t) {
4259
4238
  if (e) {
4260
4239
  const r = document.createElement("style");
4261
4240
  r.innerHTML = t, e.appendChild(r);
4262
4241
  }
4263
4242
  }
4264
- function Di(e, t) {
4243
+ function Ui(e, t) {
4265
4244
  const r = new URL(t);
4266
4245
  fetch(r.href).then((n) => n.text()).then((n) => {
4267
4246
  const i = document.createElement("style");
@@ -4270,7 +4249,7 @@ function Di(e, t) {
4270
4249
  console.error("There was an error while trying to load client styling from URL", n);
4271
4250
  });
4272
4251
  }
4273
- function Gi(e, t, r) {
4252
+ function Di(e, t, r) {
4274
4253
  if (window.emMessageBus) {
4275
4254
  const n = document.createElement("style");
4276
4255
  window.emMessageBus.subscribe(t, (i) => {
@@ -4278,109 +4257,109 @@ function Gi(e, t, r) {
4278
4257
  });
4279
4258
  }
4280
4259
  }
4281
- function ji(e) {
4282
- cr(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4260
+ function Fi(e) {
4261
+ lr(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4283
4262
  }
4284
- function wt(e) {
4263
+ function Et(e) {
4285
4264
  let t, r, n, i, o, s, a, h, u, l, c, f;
4286
- function p(x, v) {
4265
+ function p(_, v) {
4287
4266
  return (
4288
4267
  /*isLoading*/
4289
- x[3] ? Vi : ki
4268
+ _[3] ? ji : Gi
4290
4269
  );
4291
4270
  }
4292
- let y = p(e), m = y(e);
4271
+ let g = p(e), m = g(e);
4293
4272
  return {
4294
4273
  c() {
4295
- t = D("button"), r = D("small"), m.c(), n = pr(), i = L("svg"), o = L("g"), s = L("path"), a = L("path"), h = L("path"), u = L("path"), l = L("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4274
+ t = G("button"), r = G("small"), m.c(), n = mr(), i = L("svg"), o = L("g"), s = L("path"), a = L("path"), h = L("path"), u = L("path"), l = L("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4296
4275
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4297
4276
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4298
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), vr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4277
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), yr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4299
4278
  },
4300
- m(x, v) {
4301
- te(x, t, v), A(t, r), m.m(r, null), A(t, n), A(t, i), A(i, o), A(o, s), A(o, a), A(o, h), A(o, u), A(o, l), c || (f = dr(
4279
+ m(_, v) {
4280
+ re(_, t, v), A(t, r), m.m(r, null), A(t, n), A(t, i), A(i, o), A(o, s), A(o, a), A(o, h), A(o, u), A(o, l), c || (f = pr(
4302
4281
  t,
4303
4282
  "click",
4304
4283
  /*click_handler*/
4305
4284
  e[9]
4306
4285
  ), c = !0);
4307
4286
  },
4308
- p(x, v) {
4309
- y === (y = p(x)) && m ? m.p(x, v) : (m.d(1), m = y(x), m && (m.c(), m.m(r, null)));
4287
+ p(_, v) {
4288
+ g === (g = p(_)) && m ? m.p(_, v) : (m.d(1), m = g(_), m && (m.c(), m.m(r, null)));
4310
4289
  },
4311
- d(x) {
4312
- x && X(t), m.d(), c = !1, f();
4290
+ d(_) {
4291
+ _ && W(t), m.d(), c = !1, f();
4313
4292
  }
4314
4293
  };
4315
4294
  }
4316
- function ki(e) {
4295
+ function Gi(e) {
4317
4296
  let t;
4318
4297
  return {
4319
4298
  c() {
4320
- t = Bt(
4299
+ t = Ht(
4321
4300
  /*betNumber*/
4322
4301
  e[1]
4323
4302
  );
4324
4303
  },
4325
4304
  m(r, n) {
4326
- te(r, t, n);
4305
+ re(r, t, n);
4327
4306
  },
4328
4307
  p(r, n) {
4329
4308
  n & /*betNumber*/
4330
- 2 && yr(
4309
+ 2 && br(
4331
4310
  t,
4332
4311
  /*betNumber*/
4333
4312
  r[1]
4334
4313
  );
4335
4314
  },
4336
4315
  d(r) {
4337
- r && X(t);
4316
+ r && W(t);
4338
4317
  }
4339
4318
  };
4340
4319
  }
4341
- function Vi(e) {
4320
+ function ji(e) {
4342
4321
  let t;
4343
4322
  return {
4344
4323
  c() {
4345
- t = D("div"), t.textContent = "Loading...", E(t, "class", "loader");
4324
+ t = G("div"), t.textContent = "Loading...", E(t, "class", "loader");
4346
4325
  },
4347
4326
  m(r, n) {
4348
- te(r, t, n);
4327
+ re(r, t, n);
4349
4328
  },
4350
4329
  p: T,
4351
4330
  d(r) {
4352
- r && X(t);
4331
+ r && W(t);
4353
4332
  }
4354
4333
  };
4355
4334
  }
4356
- function Xi(e) {
4335
+ function ki(e) {
4357
4336
  let t, r = (
4358
4337
  /*mobileView*/
4359
4338
  e[2] && /*betNumber*/
4360
4339
  e[1] > 0 && /*betSlipVisible*/
4361
- e[4] && wt(e)
4340
+ e[4] && Et(e)
4362
4341
  );
4363
4342
  return {
4364
4343
  c() {
4365
- t = D("div"), r && r.c();
4344
+ t = G("div"), r && r.c();
4366
4345
  },
4367
4346
  m(n, i) {
4368
- te(n, t, i), r && r.m(t, null), e[10](t);
4347
+ re(n, t, i), r && r.m(t, null), e[10](t);
4369
4348
  },
4370
4349
  p(n, [i]) {
4371
4350
  /*mobileView*/
4372
4351
  n[2] && /*betNumber*/
4373
4352
  n[1] > 0 && /*betSlipVisible*/
4374
- n[4] ? r ? r.p(n, i) : (r = wt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4353
+ n[4] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4375
4354
  },
4376
4355
  i: T,
4377
4356
  o: T,
4378
4357
  d(n) {
4379
- n && X(t), r && r.d(), e[10](null);
4358
+ n && W(t), r && r.d(), e[10](null);
4380
4359
  }
4381
4360
  };
4382
4361
  }
4383
- function Wi(e, t, r) {
4362
+ function Vi(e, t, r) {
4384
4363
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0, c = !1;
4385
4364
  const f = () => {
4386
4365
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
@@ -4394,8 +4373,8 @@ function Wi(e, t, r) {
4394
4373
  // propagate across the shadow DOM
4395
4374
  }
4396
4375
  ));
4397
- }, y = (v) => {
4398
- var N;
4376
+ }, g = (v) => {
4377
+ var C;
4399
4378
  const { type: B, payload: w } = v.data;
4400
4379
  if (v.data)
4401
4380
  switch (B) {
@@ -4403,17 +4382,17 @@ function Wi(e, t, r) {
4403
4382
  r(1, h = w.count), r(3, l = !1);
4404
4383
  break;
4405
4384
  case "OMFE:betslipSidebar":
4406
- const O = (N = v.data.payload) == null ? void 0 : N.enableBetslipBubble;
4407
- r(4, c = !!O);
4385
+ const P = (C = v.data.payload) == null ? void 0 : C.enableBetslipBubble;
4386
+ r(4, c = !!P);
4408
4387
  break;
4409
4388
  }
4410
4389
  };
4411
- xr(() => (f(), window.addEventListener("message", y, !1), Ui(a) && r(2, u = !0), () => {
4412
- window.removeEventListener("message", y);
4390
+ xr(() => (f(), window.addEventListener("message", g, !1), $i(a) && r(2, u = !0), () => {
4391
+ window.removeEventListener("message", g);
4413
4392
  }));
4414
4393
  const m = (v) => p("betslipClick", {});
4415
- function x(v) {
4416
- Oe[v ? "unshift" : "push"](() => {
4394
+ function _(v) {
4395
+ Ae[v ? "unshift" : "push"](() => {
4417
4396
  s = v, r(0, s);
4418
4397
  });
4419
4398
  }
@@ -4421,9 +4400,9 @@ function Wi(e, t, r) {
4421
4400
  "clientstyling" in v && r(6, n = v.clientstyling), "clientstylingurl" in v && r(7, i = v.clientstylingurl), "mbsource" in v && r(8, o = v.mbsource);
4422
4401
  }, e.$$.update = () => {
4423
4402
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4424
- 65 && n && s && Fi(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4425
- 129 && i && s && Di(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4426
- 257 && o && s && Gi(s, `${o}.Style`);
4403
+ 65 && n && s && Ri(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4404
+ 129 && i && s && Ui(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4405
+ 257 && o && s && Di(s, `${o}.Style`);
4427
4406
  }, [
4428
4407
  s,
4429
4408
  h,
@@ -4435,45 +4414,45 @@ function Wi(e, t, r) {
4435
4414
  i,
4436
4415
  o,
4437
4416
  m,
4438
- x
4417
+ _
4439
4418
  ];
4440
4419
  }
4441
- class zi extends Cr {
4420
+ class Xi extends Cr {
4442
4421
  constructor(t) {
4443
- super(), Ir(
4422
+ super(), Or(
4444
4423
  this,
4445
4424
  t,
4446
- Wi,
4447
- Xi,
4448
- Tt,
4425
+ Vi,
4426
+ ki,
4427
+ wt,
4449
4428
  {
4450
4429
  clientstyling: 6,
4451
4430
  clientstylingurl: 7,
4452
4431
  mbsource: 8
4453
4432
  },
4454
- ji
4433
+ Fi
4455
4434
  );
4456
4435
  }
4457
4436
  get clientstyling() {
4458
4437
  return this.$$.ctx[6];
4459
4438
  }
4460
4439
  set clientstyling(t) {
4461
- this.$$set({ clientstyling: t }), J();
4440
+ this.$$set({ clientstyling: t }), Y();
4462
4441
  }
4463
4442
  get clientstylingurl() {
4464
4443
  return this.$$.ctx[7];
4465
4444
  }
4466
4445
  set clientstylingurl(t) {
4467
- this.$$set({ clientstylingurl: t }), J();
4446
+ this.$$set({ clientstylingurl: t }), Y();
4468
4447
  }
4469
4448
  get mbsource() {
4470
4449
  return this.$$.ctx[8];
4471
4450
  }
4472
4451
  set mbsource(t) {
4473
- this.$$set({ mbsource: t }), J();
4452
+ this.$$set({ mbsource: t }), Y();
4474
4453
  }
4475
4454
  }
4476
- Nr(zi, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4455
+ Ir(Xi, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4477
4456
  export {
4478
- zi as default
4457
+ Xi as default
4479
4458
  };