@everymatrix/casino-betslip-indicator 1.77.28 → 1.77.30

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