@everymatrix/casino-header-bets-button 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function H() {
2
2
  }
3
- function Ke(e) {
3
+ function tt(e) {
4
4
  return e();
5
5
  }
6
- function Ce() {
6
+ function Re() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function J(e) {
10
- e.forEach(Ke);
9
+ function q(e) {
10
+ e.forEach(tt);
11
11
  }
12
- function Ne(e) {
12
+ function we(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function et(e, t) {
15
+ function rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Mt(e) {
18
+ function Ot(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function tt(e, ...t) {
21
+ function nt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function tt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Pt(e, t, r) {
31
- e.$$.on_destroy.push(tt(t, r));
30
+ function Nt(e, t, r) {
31
+ e.$$.on_destroy.push(nt(t, r));
32
32
  }
33
- function S(e, t) {
33
+ function T(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Nt(e, t, r) {
37
- const n = Ot(e);
36
+ function wt(e, t, r) {
37
+ const n = It(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = A("style");
40
- i.id = t, i.textContent = r, wt(n, i);
39
+ const i = P("style");
40
+ i.id = t, i.textContent = r, Lt(n, i);
41
41
  }
42
42
  }
43
- function Ot(e) {
43
+ function It(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,42 +50,42 @@ function Ot(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function wt(e, t) {
54
- return S(
53
+ function Lt(e, t) {
54
+ return T(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function rt(e, t, r) {
60
+ function it(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function Oe(e) {
63
+ function Ie(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function A(e) {
66
+ function P(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function ge(e) {
69
+ function Ee(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function It() {
73
- return ge(" ");
72
+ function Ct() {
73
+ return Ee(" ");
74
74
  }
75
- function Lt(e, t, r, n) {
75
+ function $t(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
- function C(e, t, r) {
78
+ function $(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function Ct(e) {
81
+ function Rt(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function $e(e, t) {
84
+ function Ue(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function $t(e) {
88
+ function Ut(e) {
89
89
  const t = {};
90
90
  return e.childNodes.forEach(
91
91
  /** @param {Element} node */
@@ -94,87 +94,87 @@ function $t(e) {
94
94
  }
95
95
  ), t;
96
96
  }
97
- let z;
98
- function W(e) {
99
- z = e;
97
+ let Z;
98
+ function z(e) {
99
+ Z = e;
100
100
  }
101
- function Rt() {
102
- if (!z)
101
+ function Dt() {
102
+ if (!Z)
103
103
  throw new Error("Function called outside component initialization");
104
- return z;
104
+ return Z;
105
105
  }
106
- function Ut(e) {
107
- Rt().$$.on_mount.push(e);
106
+ function Gt(e) {
107
+ Dt().$$.on_mount.push(e);
108
108
  }
109
- const $ = [], ye = [];
110
- let R = [];
111
- const Re = [], Dt = /* @__PURE__ */ Promise.resolve();
112
- let xe = !1;
113
- function Gt() {
114
- xe || (xe = !0, Dt.then(O));
109
+ const R = [], xe = [];
110
+ let U = [];
111
+ const De = [], Ft = /* @__PURE__ */ Promise.resolve();
112
+ let ve = !1;
113
+ function jt() {
114
+ ve || (ve = !0, Ft.then(w));
115
115
  }
116
- function Ee(e) {
117
- R.push(e);
116
+ function _e(e) {
117
+ U.push(e);
118
118
  }
119
- const le = /* @__PURE__ */ new Set();
120
- let I = 0;
121
- function O() {
122
- if (I !== 0)
119
+ const ce = /* @__PURE__ */ new Set();
120
+ let L = 0;
121
+ function w() {
122
+ if (L !== 0)
123
123
  return;
124
- const e = z;
124
+ const e = Z;
125
125
  do {
126
126
  try {
127
- for (; I < $.length; ) {
128
- const t = $[I];
129
- I++, W(t), Ft(t.$$);
127
+ for (; L < R.length; ) {
128
+ const t = R[L];
129
+ L++, z(t), kt(t.$$);
130
130
  }
131
131
  } catch (t) {
132
- throw $.length = 0, I = 0, t;
132
+ throw R.length = 0, L = 0, t;
133
133
  }
134
- for (W(null), $.length = 0, I = 0; ye.length; )
135
- ye.pop()();
136
- for (let t = 0; t < R.length; t += 1) {
137
- const r = R[t];
138
- le.has(r) || (le.add(r), r());
134
+ for (z(null), R.length = 0, L = 0; xe.length; )
135
+ xe.pop()();
136
+ for (let t = 0; t < U.length; t += 1) {
137
+ const r = U[t];
138
+ ce.has(r) || (ce.add(r), r());
139
139
  }
140
- R.length = 0;
141
- } while ($.length);
142
- for (; Re.length; )
143
- Re.pop()();
144
- xe = !1, le.clear(), W(e);
140
+ U.length = 0;
141
+ } while (R.length);
142
+ for (; De.length; )
143
+ De.pop()();
144
+ ve = !1, ce.clear(), z(e);
145
145
  }
146
- function Ft(e) {
146
+ function kt(e) {
147
147
  if (e.fragment !== null) {
148
- e.update(), J(e.before_update);
148
+ e.update(), q(e.before_update);
149
149
  const t = e.dirty;
150
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
150
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
151
151
  }
152
152
  }
153
- function jt(e) {
153
+ function Vt(e) {
154
154
  const t = [], r = [];
155
- R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
155
+ U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
156
156
  }
157
- const kt = /* @__PURE__ */ new Set();
158
- function Vt(e, t) {
159
- e && e.i && (kt.delete(e), e.i(t));
157
+ const Xt = /* @__PURE__ */ new Set();
158
+ function Wt(e, t) {
159
+ e && e.i && (Xt.delete(e), e.i(t));
160
160
  }
161
- function Xt(e, t, r) {
161
+ function zt(e, t, r) {
162
162
  const { fragment: n, after_update: i } = e.$$;
163
- n && n.m(t, r), Ee(() => {
164
- const s = e.$$.on_mount.map(Ke).filter(Ne);
165
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
166
- }), i.forEach(Ee);
163
+ n && n.m(t, r), _e(() => {
164
+ const s = e.$$.on_mount.map(tt).filter(we);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
166
+ }), i.forEach(_e);
167
167
  }
168
- function Wt(e, t) {
168
+ function Zt(e, t) {
169
169
  const r = e.$$;
170
- r.fragment !== null && (jt(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (Vt(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
171
  }
172
- function zt(e, t) {
173
- e.$$.dirty[0] === -1 && ($.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function Qt(e, t) {
173
+ e.$$.dirty[0] === -1 && (R.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
174
  }
175
- function Zt(e, t, r, n, i, s, u = null, a = [-1]) {
176
- const l = z;
177
- W(e);
175
+ function Jt(e, t, r, n, i, s, u = null, a = [-1]) {
176
+ const l = Z;
177
+ z(e);
178
178
  const o = e.$$ = {
179
179
  fragment: null,
180
180
  ctx: [],
@@ -182,7 +182,7 @@ function Zt(e, t, r, n, i, s, u = null, a = [-1]) {
182
182
  props: s,
183
183
  update: H,
184
184
  not_equal: i,
185
- bound: Ce(),
185
+ bound: Re(),
186
186
  // lifecycle
187
187
  on_mount: [],
188
188
  on_destroy: [],
@@ -191,28 +191,28 @@ function Zt(e, t, r, n, i, s, u = null, a = [-1]) {
191
191
  after_update: [],
192
192
  context: new Map(t.context || (l ? l.$$.context : [])),
193
193
  // everything else
194
- callbacks: Ce(),
194
+ callbacks: Re(),
195
195
  dirty: a,
196
196
  skip_bound: !1,
197
197
  root: t.target || l.$$.root
198
198
  };
199
199
  u && u(o.root);
200
200
  let h = !1;
201
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
202
- const g = y.length ? y[0] : c;
203
- return o.ctx && i(o.ctx[f], o.ctx[f] = g) && (!o.skip_bound && o.bound[f] && o.bound[f](g), h && zt(e, f)), c;
204
- }) : [], o.update(), h = !0, J(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
201
+ if (o.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
202
+ const d = g.length ? g[0] : c;
203
+ return o.ctx && i(o.ctx[f], o.ctx[f] = d) && (!o.skip_bound && o.bound[f] && o.bound[f](d), h && Qt(e, f)), c;
204
+ }) : [], o.update(), h = !0, q(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
205
205
  if (t.hydrate) {
206
- const f = Ct(t.target);
207
- o.fragment && o.fragment.l(f), f.forEach(Oe);
206
+ const f = Rt(t.target);
207
+ o.fragment && o.fragment.l(f), f.forEach(Ie);
208
208
  } else
209
209
  o.fragment && o.fragment.c();
210
- t.intro && Vt(e.$$.fragment), Xt(e, t.target, t.anchor), O();
210
+ t.intro && Wt(e.$$.fragment), zt(e, t.target, t.anchor), w();
211
211
  }
212
- W(l);
212
+ z(l);
213
213
  }
214
- let nt;
215
- typeof HTMLElement == "function" && (nt = class extends HTMLElement {
214
+ let st;
215
+ typeof HTMLElement == "function" && (st = class extends HTMLElement {
216
216
  /** The Svelte component constructor */
217
217
  $$ctor;
218
218
  /** Slots */
@@ -254,29 +254,29 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
254
254
  let s;
255
255
  return {
256
256
  c: function() {
257
- s = A("slot"), i !== "default" && C(s, "name", i);
257
+ s = P("slot"), i !== "default" && $(s, "name", i);
258
258
  },
259
259
  /**
260
260
  * @param {HTMLElement} target
261
261
  * @param {HTMLElement} [anchor]
262
262
  */
263
263
  m: function(l, o) {
264
- rt(l, s, o);
264
+ it(l, s, o);
265
265
  },
266
266
  d: function(l) {
267
- l && Oe(s);
267
+ l && Ie(s);
268
268
  }
269
269
  };
270
270
  };
271
271
  };
272
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
273
273
  return;
274
- const t = {}, r = $t(this);
274
+ const t = {}, r = Ut(this);
275
275
  for (const i of this.$$s)
276
276
  i in r && (t[i] = [e(i)]);
277
277
  for (const i of this.attributes) {
278
278
  const s = this.$$g_p(i.name);
279
- s in this.$$d || (this.$$d[s] = ee(s, i.value, this.$$p_d, "toProp"));
279
+ s in this.$$d || (this.$$d[s] = te(s, i.value, this.$$p_d, "toProp"));
280
280
  }
281
281
  for (const i in this.$$p_d)
282
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
294
294
  this.$$r = !0;
295
295
  for (const i in this.$$p_d)
296
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
297
- const s = ee(
297
+ const s = te(
298
298
  i,
299
299
  this.$$d[i],
300
300
  this.$$p_d,
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
316
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
317
317
  // and setting attributes through setAttribute etc, this is helpful
318
318
  attributeChangedCallback(e, t, r) {
319
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
320
320
  }
321
321
  disconnectedCallback() {
322
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
329
329
  ) || e;
330
330
  }
331
331
  });
332
- function ee(e, t, r, n) {
332
+ function te(e, t, r, n) {
333
333
  const i = r[e]?.type;
334
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
335
335
  return t;
@@ -358,8 +358,8 @@ function ee(e, t, r, n) {
358
358
  return t;
359
359
  }
360
360
  }
361
- function Qt(e, t, r, n, i, s) {
362
- let u = class extends nt {
361
+ function qt(e, t, r, n, i, s) {
362
+ let u = class extends st {
363
363
  constructor() {
364
364
  super(e, r, i), this.$$p_d = t;
365
365
  }
@@ -375,7 +375,7 @@ function Qt(e, t, r, n, i, s) {
375
375
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
376
376
  },
377
377
  set(l) {
378
- l = ee(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
378
+ l = te(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
379
379
  }
380
380
  });
381
381
  }), n.forEach((a) => {
@@ -387,7 +387,7 @@ function Qt(e, t, r, n, i, s) {
387
387
  }), e.element = /** @type {any} */
388
388
  u, u;
389
389
  }
390
- class Jt {
390
+ class Yt {
391
391
  /**
392
392
  * ### PRIVATE API
393
393
  *
@@ -406,7 +406,7 @@ class Jt {
406
406
  $$set = void 0;
407
407
  /** @returns {void} */
408
408
  $destroy() {
409
- Wt(this, 1), this.$destroy = H;
409
+ Zt(this, 1), this.$destroy = H;
410
410
  }
411
411
  /**
412
412
  * @template {Extract<keyof Events, string>} K
@@ -415,7 +415,7 @@ class Jt {
415
415
  * @returns {() => void}
416
416
  */
417
417
  $on(t, r) {
418
- if (!Ne(r))
418
+ if (!we(r))
419
419
  return H;
420
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
421
421
  return n.push(r), () => {
@@ -428,18 +428,18 @@ class Jt {
428
428
  * @returns {void}
429
429
  */
430
430
  $set(t) {
431
- this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !Ot(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
432
432
  }
433
433
  }
434
- const qt = "4";
435
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qt);
436
- function Yt(e, t) {
434
+ const Kt = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
436
+ function er(e, t) {
437
437
  if (e) {
438
438
  const r = document.createElement("style");
439
439
  r.innerHTML = t, e.appendChild(r);
440
440
  }
441
441
  }
442
- function Kt(e, t) {
442
+ function tr(e, t) {
443
443
  const r = new URL(t);
444
444
  fetch(r.href).then((n) => n.text()).then((n) => {
445
445
  const i = document.createElement("style");
@@ -448,7 +448,7 @@ function Kt(e, t) {
448
448
  console.error("There was an error while trying to load client styling from URL", n);
449
449
  });
450
450
  }
451
- function er(e, t, r) {
451
+ function rr(e, t, r) {
452
452
  if (window.emMessageBus) {
453
453
  const n = document.createElement("style");
454
454
  window.emMessageBus.subscribe(t, (i) => {
@@ -456,24 +456,24 @@ function er(e, t, r) {
456
456
  });
457
457
  }
458
458
  }
459
- const L = [];
460
- function tr(e, t) {
459
+ const C = [];
460
+ function nr(e, t) {
461
461
  return {
462
- subscribe: se(e, t).subscribe
462
+ subscribe: ae(e, t).subscribe
463
463
  };
464
464
  }
465
- function se(e, t = H) {
465
+ function ae(e, t = H) {
466
466
  let r;
467
467
  const n = /* @__PURE__ */ new Set();
468
468
  function i(a) {
469
- if (et(e, a) && (e = a, r)) {
470
- const l = !L.length;
469
+ if (rt(e, a) && (e = a, r)) {
470
+ const l = !C.length;
471
471
  for (const o of n)
472
- o[1](), L.push(o, e);
472
+ o[1](), C.push(o, e);
473
473
  if (l) {
474
- for (let o = 0; o < L.length; o += 2)
475
- L[o][0](L[o + 1]);
476
- L.length = 0;
474
+ for (let o = 0; o < C.length; o += 2)
475
+ C[o][0](C[o + 1]);
476
+ C.length = 0;
477
477
  }
478
478
  }
479
479
  }
@@ -488,12 +488,12 @@ function se(e, t = H) {
488
488
  }
489
489
  return { set: i, update: s, subscribe: u };
490
490
  }
491
- function j(e, t, r) {
491
+ function k(e, t, r) {
492
492
  const n = !Array.isArray(e), i = n ? [e] : e;
493
493
  if (!i.every(Boolean))
494
494
  throw new Error("derived() expects stores as input, got a falsy value");
495
495
  const s = t.length < 2;
496
- return tr(r, (u, a) => {
496
+ return nr(r, (u, a) => {
497
497
  let l = !1;
498
498
  const o = [];
499
499
  let h = 0, f = H;
@@ -501,11 +501,11 @@ function j(e, t, r) {
501
501
  if (h)
502
502
  return;
503
503
  f();
504
- const g = t(n ? o[0] : o, u, a);
505
- s ? u(g) : f = Ne(g) ? g : H;
506
- }, y = i.map(
507
- (g, E) => tt(
508
- g,
504
+ const d = t(n ? o[0] : o, u, a);
505
+ s ? u(d) : f = we(d) ? d : H;
506
+ }, g = i.map(
507
+ (d, E) => nt(
508
+ d,
509
509
  (B) => {
510
510
  o[E] = B, h &= ~(1 << E), l && c();
511
511
  },
@@ -515,126 +515,112 @@ function j(e, t, r) {
515
515
  )
516
516
  );
517
517
  return l = !0, c(), function() {
518
- J(y), f(), l = !1;
518
+ q(g), f(), l = !1;
519
519
  };
520
520
  });
521
521
  }
522
- function rr(e) {
522
+ function ir(e) {
523
523
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
524
524
  }
525
- var nr = function(t) {
526
- return ir(t) && !sr(t);
525
+ var sr = function(t) {
526
+ return or(t) && !ar(t);
527
527
  };
528
- function ir(e) {
528
+ function or(e) {
529
529
  return !!e && typeof e == "object";
530
530
  }
531
- function sr(e) {
531
+ function ar(e) {
532
532
  var t = Object.prototype.toString.call(e);
533
- return t === "[object RegExp]" || t === "[object Date]" || ur(e);
533
+ return t === "[object RegExp]" || t === "[object Date]" || lr(e);
534
534
  }
535
- var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
536
- function ur(e) {
537
- return e.$$typeof === ar;
535
+ var ur = typeof Symbol == "function" && Symbol.for, hr = ur ? Symbol.for("react.element") : 60103;
536
+ function lr(e) {
537
+ return e.$$typeof === hr;
538
538
  }
539
- function hr(e) {
539
+ function fr(e) {
540
540
  return Array.isArray(e) ? [] : {};
541
541
  }
542
- function Z(e, t) {
543
- return t.clone !== !1 && t.isMergeableObject(e) ? U(hr(e), e, t) : e;
542
+ function Q(e, t) {
543
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(fr(e), e, t) : e;
544
544
  }
545
- function lr(e, t, r) {
545
+ function cr(e, t, r) {
546
546
  return e.concat(t).map(function(n) {
547
- return Z(n, r);
547
+ return Q(n, r);
548
548
  });
549
549
  }
550
- function fr(e, t) {
550
+ function mr(e, t) {
551
551
  if (!t.customMerge)
552
- return U;
552
+ return D;
553
553
  var r = t.customMerge(e);
554
- return typeof r == "function" ? r : U;
554
+ return typeof r == "function" ? r : D;
555
555
  }
556
- function cr(e) {
556
+ function pr(e) {
557
557
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
558
558
  return Object.propertyIsEnumerable.call(e, t);
559
559
  }) : [];
560
560
  }
561
- function Ue(e) {
562
- return Object.keys(e).concat(cr(e));
561
+ function Ge(e) {
562
+ return Object.keys(e).concat(pr(e));
563
563
  }
564
- function it(e, t) {
564
+ function ot(e, t) {
565
565
  try {
566
566
  return t in e;
567
567
  } catch {
568
568
  return !1;
569
569
  }
570
570
  }
571
- function mr(e, t) {
572
- return it(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
571
+ function br(e, t) {
572
+ return ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
573
  }
574
- function pr(e, t, r) {
574
+ function dr(e, t, r) {
575
575
  var n = {};
576
- return r.isMergeableObject(e) && Ue(e).forEach(function(i) {
577
- n[i] = Z(e[i], r);
578
- }), Ue(t).forEach(function(i) {
579
- mr(e, i) || (it(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = Z(t[i], r));
576
+ return r.isMergeableObject(e) && Ge(e).forEach(function(i) {
577
+ n[i] = Q(e[i], r);
578
+ }), Ge(t).forEach(function(i) {
579
+ br(e, i) || (ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = mr(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
580
580
  }), n;
581
581
  }
582
- function U(e, t, r) {
583
- r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = Z;
582
+ function D(e, t, r) {
583
+ r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified = Q;
584
584
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
585
- return s ? n ? r.arrayMerge(e, t, r) : pr(e, t, r) : Z(t, r);
585
+ return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Q(t, r);
586
586
  }
587
- U.all = function(t, r) {
587
+ D.all = function(t, r) {
588
588
  if (!Array.isArray(t))
589
589
  throw new Error("first argument should be an array");
590
590
  return t.reduce(function(n, i) {
591
- return U(n, i, r);
591
+ return D(n, i, r);
592
592
  }, {});
593
593
  };
594
- var br = U, dr = br;
595
- const gr = /* @__PURE__ */ rr(dr);
596
- /*! *****************************************************************************
597
- Copyright (c) Microsoft Corporation.
598
-
599
- Permission to use, copy, modify, and/or distribute this software for any
600
- purpose with or without fee is hereby granted.
601
-
602
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
603
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
604
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
605
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
606
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
607
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
608
- PERFORMANCE OF THIS SOFTWARE.
609
- ***************************************************************************** */
610
- var ve = function(e, t) {
611
- return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
+ var gr = D, yr = gr;
595
+ const Er = /* @__PURE__ */ ir(yr);
596
+ var Be = function(e, t) {
597
+ return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
612
598
  r.__proto__ = n;
613
599
  } || function(r, n) {
614
600
  for (var i in n)
615
601
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
616
- }, ve(e, t);
602
+ }, Be(e, t);
617
603
  };
618
- function oe(e, t) {
604
+ function ue(e, t) {
619
605
  if (typeof t != "function" && t !== null)
620
606
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
621
- ve(e, t);
607
+ Be(e, t);
622
608
  function r() {
623
609
  this.constructor = e;
624
610
  }
625
611
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
626
612
  }
627
- var d = function() {
628
- return d = Object.assign || function(t) {
613
+ var A = function() {
614
+ return A = Object.assign || function(t) {
629
615
  for (var r, n = 1, i = arguments.length; n < i; n++) {
630
616
  r = arguments[n];
631
617
  for (var s in r)
632
618
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
633
619
  }
634
620
  return t;
635
- }, d.apply(this, arguments);
621
+ }, A.apply(this, arguments);
636
622
  };
637
- function yr(e, t) {
623
+ function xr(e, t) {
638
624
  var r = {};
639
625
  for (var n in e)
640
626
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -643,43 +629,43 @@ function yr(e, t) {
643
629
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
644
630
  return r;
645
631
  }
646
- function fe(e, t, r) {
647
- if (arguments.length === 2)
632
+ function me(e, t, r) {
633
+ if (r || arguments.length === 2)
648
634
  for (var n = 0, i = t.length, s; n < i; n++)
649
635
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
650
- return e.concat(s || t);
636
+ return e.concat(s || Array.prototype.slice.call(t));
651
637
  }
652
- function ce(e, t) {
653
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy : vr;
638
+ function pe(e, t) {
639
+ var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Sr, i = t && t.strategy ? t.strategy : Br;
654
640
  return i(e, {
655
641
  cache: r,
656
642
  serializer: n
657
643
  });
658
644
  }
659
- function xr(e) {
645
+ function vr(e) {
660
646
  return e == null || typeof e == "number" || typeof e == "boolean";
661
647
  }
662
- function Er(e, t, r, n) {
663
- var i = xr(n) ? n : r(n), s = t.get(i);
648
+ function _r(e, t, r, n) {
649
+ var i = vr(n) ? n : r(n), s = t.get(i);
664
650
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
665
651
  }
666
- function st(e, t, r) {
652
+ function at(e, t, r) {
667
653
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
668
654
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
669
655
  }
670
- function ot(e, t, r, n, i) {
656
+ function ut(e, t, r, n, i) {
671
657
  return r.bind(t, e, n, i);
672
658
  }
673
- function vr(e, t) {
674
- var r = e.length === 1 ? Er : st;
675
- return ot(e, this, r, t.cache.create(), t.serializer);
659
+ function Br(e, t) {
660
+ var r = e.length === 1 ? _r : at;
661
+ return ut(e, this, r, t.cache.create(), t.serializer);
676
662
  }
677
- function _r(e, t) {
678
- return ot(e, this, st, t.cache.create(), t.serializer);
663
+ function Hr(e, t) {
664
+ return ut(e, this, at, t.cache.create(), t.serializer);
679
665
  }
680
- var Br = function() {
666
+ var Sr = function() {
681
667
  return JSON.stringify(arguments);
682
- }, Hr = (
668
+ }, Tr = (
683
669
  /** @class */
684
670
  function() {
685
671
  function e() {
@@ -691,61 +677,71 @@ var Br = function() {
691
677
  this.cache[t] = r;
692
678
  }, e;
693
679
  }()
694
- ), Tr = {
680
+ ), Ar = {
695
681
  create: function() {
696
- return new Hr();
682
+ return new Tr();
697
683
  }
698
- }, me = {
699
- variadic: _r
700
- }, p;
684
+ }, be = {
685
+ variadic: Hr
686
+ }, ie = function() {
687
+ return ie = Object.assign || function(t) {
688
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
689
+ r = arguments[n];
690
+ for (var s in r)
691
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
692
+ }
693
+ return t;
694
+ }, ie.apply(this, arguments);
695
+ };
696
+ var p;
701
697
  (function(e) {
702
698
  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";
703
699
  })(p || (p = {}));
704
- var x;
700
+ var y;
705
701
  (function(e) {
706
702
  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";
707
- })(x || (x = {}));
708
- var D;
703
+ })(y || (y = {}));
704
+ var G;
709
705
  (function(e) {
710
706
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
711
- })(D || (D = {}));
712
- function De(e) {
713
- return e.type === x.literal;
714
- }
715
- function Sr(e) {
716
- return e.type === x.argument;
717
- }
718
- function at(e) {
719
- return e.type === x.number;
707
+ })(G || (G = {}));
708
+ function Fe(e) {
709
+ return e.type === y.literal;
720
710
  }
721
- function ut(e) {
722
- return e.type === x.date;
711
+ function Pr(e) {
712
+ return e.type === y.argument;
723
713
  }
724
714
  function ht(e) {
725
- return e.type === x.time;
715
+ return e.type === y.number;
726
716
  }
727
717
  function lt(e) {
728
- return e.type === x.select;
718
+ return e.type === y.date;
729
719
  }
730
720
  function ft(e) {
731
- return e.type === x.plural;
732
- }
733
- function Ar(e) {
734
- return e.type === x.pound;
721
+ return e.type === y.time;
735
722
  }
736
723
  function ct(e) {
737
- return e.type === x.tag;
724
+ return e.type === y.select;
738
725
  }
739
726
  function mt(e) {
740
- return !!(e && typeof e == "object" && e.type === D.number);
727
+ return e.type === y.plural;
741
728
  }
742
- function _e(e) {
743
- return !!(e && typeof e == "object" && e.type === D.dateTime);
729
+ function Mr(e) {
730
+ return e.type === y.pound;
744
731
  }
745
- var pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mr = /(?:[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;
746
- function Pr(e) {
732
+ function pt(e) {
733
+ return e.type === y.tag;
734
+ }
735
+ function bt(e) {
736
+ return !!(e && typeof e == "object" && e.type === G.number);
737
+ }
738
+ function He(e) {
739
+ return !!(e && typeof e == "object" && e.type === G.dateTime);
740
+ }
741
+ var dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Or = /(?:[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;
742
+ function Nr(e) {
747
743
  var t = {};
748
- return e.replace(Mr, function(r) {
744
+ return e.replace(Or, function(r) {
749
745
  var n = r.length;
750
746
  switch (r[0]) {
751
747
  case "G":
@@ -834,11 +830,21 @@ function Pr(e) {
834
830
  return "";
835
831
  }), t;
836
832
  }
837
- var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
838
- function Or(e) {
833
+ var x = function() {
834
+ return x = Object.assign || function(t) {
835
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
836
+ r = arguments[n];
837
+ for (var s in r)
838
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
839
+ }
840
+ return t;
841
+ }, x.apply(this, arguments);
842
+ };
843
+ var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
844
+ function Ir(e) {
839
845
  if (e.length === 0)
840
846
  throw new Error("Number skeleton cannot be empty");
841
- for (var t = e.split(Nr).filter(function(c) {
847
+ for (var t = e.split(wr).filter(function(c) {
842
848
  return c.length > 0;
843
849
  }), r = [], n = 0, i = t; n < i.length; n++) {
844
850
  var s = i[n], u = s.split("/");
@@ -853,17 +859,17 @@ function Or(e) {
853
859
  }
854
860
  return r;
855
861
  }
856
- function wr(e) {
862
+ function Lr(e) {
857
863
  return e.replace(/^(.*?)-/, "");
858
864
  }
859
- var Ge = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, dt = /^(0+)$/;
860
- function Fe(e) {
865
+ var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, yt = /^(0+)$/;
866
+ function ke(e) {
861
867
  var t = {};
862
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bt, function(r, n, i) {
868
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gt, function(r, n, i) {
863
869
  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)), "";
864
870
  }), t;
865
871
  }
866
- function gt(e) {
872
+ function Et(e) {
867
873
  switch (e) {
868
874
  case "sign-auto":
869
875
  return {
@@ -903,7 +909,7 @@ function gt(e) {
903
909
  };
904
910
  }
905
911
  }
906
- function Lr(e) {
912
+ function $r(e) {
907
913
  var t;
908
914
  if (e[0] === "E" && e[1] === "E" ? (t = {
909
915
  notation: "engineering"
@@ -911,17 +917,17 @@ function Lr(e) {
911
917
  notation: "scientific"
912
918
  }, e = e.slice(1)), t) {
913
919
  var r = e.slice(0, 2);
914
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dt.test(e))
920
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yt.test(e))
915
921
  throw new Error("Malformed concise eng/scientific notation");
916
922
  t.minimumIntegerDigits = e.length;
917
923
  }
918
924
  return t;
919
925
  }
920
- function je(e) {
921
- var t = {}, r = gt(e);
926
+ function Ve(e) {
927
+ var t = {}, r = Et(e);
922
928
  return r || t;
923
929
  }
924
- function Cr(e) {
930
+ function Rr(e) {
925
931
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
926
932
  var i = n[r];
927
933
  switch (i.stem) {
@@ -945,7 +951,7 @@ function Cr(e) {
945
951
  continue;
946
952
  case "measure-unit":
947
953
  case "unit":
948
- t.style = "unit", t.unit = wr(i.options[0]);
954
+ t.style = "unit", t.unit = Lr(i.options[0]);
949
955
  continue;
950
956
  case "compact-short":
951
957
  case "K":
@@ -956,13 +962,13 @@ function Cr(e) {
956
962
  t.notation = "compact", t.compactDisplay = "long";
957
963
  continue;
958
964
  case "scientific":
959
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
960
- return d(d({}, l), je(o));
965
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
966
+ return x(x({}, l), Ve(o));
961
967
  }, {}));
962
968
  continue;
963
969
  case "engineering":
964
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
965
- return d(d({}, l), je(o));
970
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
971
+ return x(x({}, l), Ve(o));
966
972
  }, {}));
967
973
  continue;
968
974
  case "notation-simple":
@@ -1007,45 +1013,45 @@ function Cr(e) {
1007
1013
  case "integer-width":
1008
1014
  if (i.options.length > 1)
1009
1015
  throw new RangeError("integer-width stems only accept a single optional option");
1010
- i.options[0].replace(Ir, function(l, o, h, f, c, y) {
1016
+ i.options[0].replace(Cr, function(l, o, h, f, c, g) {
1011
1017
  if (o)
1012
1018
  t.minimumIntegerDigits = h.length;
1013
1019
  else {
1014
1020
  if (f && c)
1015
1021
  throw new Error("We currently do not support maximum integer digits");
1016
- if (y)
1022
+ if (g)
1017
1023
  throw new Error("We currently do not support exact integer digits");
1018
1024
  }
1019
1025
  return "";
1020
1026
  });
1021
1027
  continue;
1022
1028
  }
1023
- if (dt.test(i.stem)) {
1029
+ if (yt.test(i.stem)) {
1024
1030
  t.minimumIntegerDigits = i.stem.length;
1025
1031
  continue;
1026
1032
  }
1027
- if (Ge.test(i.stem)) {
1033
+ if (je.test(i.stem)) {
1028
1034
  if (i.options.length > 1)
1029
1035
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1030
- i.stem.replace(Ge, function(l, o, h, f, c, y) {
1031
- return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1036
+ i.stem.replace(je, function(l, o, h, f, c, g) {
1037
+ return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1032
1038
  });
1033
1039
  var s = i.options[0];
1034
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Fe(s)));
1040
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ke(s)));
1035
1041
  continue;
1036
1042
  }
1037
- if (bt.test(i.stem)) {
1038
- t = d(d({}, t), Fe(i.stem));
1043
+ if (gt.test(i.stem)) {
1044
+ t = x(x({}, t), ke(i.stem));
1039
1045
  continue;
1040
1046
  }
1041
- var u = gt(i.stem);
1042
- u && (t = d(d({}, t), u));
1043
- var a = Lr(i.stem);
1044
- a && (t = d(d({}, t), a));
1047
+ var u = Et(i.stem);
1048
+ u && (t = x(x({}, t), u));
1049
+ var a = $r(i.stem);
1050
+ a && (t = x(x({}, t), a));
1045
1051
  }
1046
1052
  return t;
1047
1053
  }
1048
- var K = {
1054
+ var ee = {
1049
1055
  "001": [
1050
1056
  "H",
1051
1057
  "h"
@@ -2460,13 +2466,13 @@ var K = {
2460
2466
  "h"
2461
2467
  ]
2462
2468
  };
2463
- function $r(e, t) {
2469
+ function Ur(e, t) {
2464
2470
  for (var r = "", n = 0; n < e.length; n++) {
2465
2471
  var i = e.charAt(n);
2466
2472
  if (i === "j") {
2467
2473
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2468
2474
  s++, n++;
2469
- var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Rr(t);
2475
+ var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Dr(t);
2470
2476
  for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2471
2477
  r += l;
2472
2478
  for (; u-- > 0; )
@@ -2476,7 +2482,7 @@ function $r(e, t) {
2476
2482
  }
2477
2483
  return r;
2478
2484
  }
2479
- function Rr(e) {
2485
+ function Dr(e) {
2480
2486
  var t = e.hourCycle;
2481
2487
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2482
2488
  e.hourCycles && // @ts-ignore
@@ -2495,23 +2501,23 @@ function Rr(e) {
2495
2501
  }
2496
2502
  var r = e.language, n;
2497
2503
  r !== "root" && (n = e.maximize().region);
2498
- var i = K[n || ""] || K[r || ""] || K["".concat(r, "-001")] || K["001"];
2504
+ var i = ee[n || ""] || ee[r || ""] || ee["".concat(r, "-001")] || ee["001"];
2499
2505
  return i[0];
2500
2506
  }
2501
- var pe, Ur = new RegExp("^".concat(pt.source, "*")), Dr = new RegExp("".concat(pt.source, "*$"));
2507
+ var de, Gr = new RegExp("^".concat(dt.source, "*")), Fr = new RegExp("".concat(dt.source, "*$"));
2502
2508
  function b(e, t) {
2503
2509
  return { start: e, end: t };
2504
2510
  }
2505
- var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, zr = Wr ? Number.isSafeInteger : function(e) {
2511
+ var jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), kr = !!String.fromCodePoint, Vr = !!Object.fromEntries, Xr = !!String.prototype.codePointAt, Wr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Qr = Zr ? Number.isSafeInteger : function(e) {
2506
2512
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2507
- }, Be = !0;
2513
+ }, Se = !0;
2508
2514
  try {
2509
- var Zr = xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2510
- Be = ((pe = Zr.exec("a")) === null || pe === void 0 ? void 0 : pe[0]) === "a";
2515
+ var Jr = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
+ Se = ((de = Jr.exec("a")) === null || de === void 0 ? void 0 : de[0]) === "a";
2511
2517
  } catch {
2512
- Be = !1;
2518
+ Se = !1;
2513
2519
  }
2514
- var ke = Gr ? (
2520
+ var Xe = jr ? (
2515
2521
  // Native
2516
2522
  function(t, r, n) {
2517
2523
  return t.startsWith(r, n);
@@ -2521,7 +2527,7 @@ var ke = Gr ? (
2521
2527
  function(t, r, n) {
2522
2528
  return t.slice(n, n + r.length) === r;
2523
2529
  }
2524
- ), He = Fr ? String.fromCodePoint : (
2530
+ ), Te = kr ? String.fromCodePoint : (
2525
2531
  // IE11
2526
2532
  function() {
2527
2533
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2533,9 +2539,9 @@ var ke = Gr ? (
2533
2539
  }
2534
2540
  return n;
2535
2541
  }
2536
- ), Ve = (
2542
+ ), We = (
2537
2543
  // native
2538
- jr ? Object.fromEntries : (
2544
+ Vr ? Object.fromEntries : (
2539
2545
  // Ponyfill
2540
2546
  function(t) {
2541
2547
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2545,7 +2551,7 @@ var ke = Gr ? (
2545
2551
  return r;
2546
2552
  }
2547
2553
  )
2548
- ), yt = kr ? (
2554
+ ), xt = Xr ? (
2549
2555
  // Native
2550
2556
  function(t, r) {
2551
2557
  return t.codePointAt(r);
@@ -2559,7 +2565,7 @@ var ke = Gr ? (
2559
2565
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2560
2566
  }
2561
2567
  }
2562
- ), Qr = Vr ? (
2568
+ ), qr = Wr ? (
2563
2569
  // Native
2564
2570
  function(t) {
2565
2571
  return t.trimStart();
@@ -2567,9 +2573,9 @@ var ke = Gr ? (
2567
2573
  ) : (
2568
2574
  // Ponyfill
2569
2575
  function(t) {
2570
- return t.replace(Ur, "");
2576
+ return t.replace(Gr, "");
2571
2577
  }
2572
- ), Jr = Xr ? (
2578
+ ), Yr = zr ? (
2573
2579
  // Native
2574
2580
  function(t) {
2575
2581
  return t.trimEnd();
@@ -2577,32 +2583,32 @@ var ke = Gr ? (
2577
2583
  ) : (
2578
2584
  // Ponyfill
2579
2585
  function(t) {
2580
- return t.replace(Dr, "");
2586
+ return t.replace(Fr, "");
2581
2587
  }
2582
2588
  );
2583
- function xt(e, t) {
2589
+ function vt(e, t) {
2584
2590
  return new RegExp(e, t);
2585
2591
  }
2586
- var Te;
2587
- if (Be) {
2588
- var Xe = xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2589
- Te = function(t, r) {
2592
+ var Ae;
2593
+ if (Se) {
2594
+ var ze = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
+ Ae = function(t, r) {
2590
2596
  var n;
2591
- Xe.lastIndex = r;
2592
- var i = Xe.exec(t);
2597
+ ze.lastIndex = r;
2598
+ var i = ze.exec(t);
2593
2599
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2594
2600
  };
2595
2601
  } else
2596
- Te = function(t, r) {
2602
+ Ae = function(t, r) {
2597
2603
  for (var n = []; ; ) {
2598
- var i = yt(t, r);
2599
- if (i === void 0 || Et(i) || en(i))
2604
+ var i = xt(t, r);
2605
+ if (i === void 0 || _t(i) || rn(i))
2600
2606
  break;
2601
2607
  n.push(i), r += i >= 65536 ? 2 : 1;
2602
2608
  }
2603
- return He.apply(void 0, n);
2609
+ return Te.apply(void 0, n);
2604
2610
  };
2605
- var qr = (
2611
+ var Kr = (
2606
2612
  /** @class */
2607
2613
  function() {
2608
2614
  function e(t, r) {
@@ -2626,14 +2632,14 @@ var qr = (
2626
2632
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2627
2633
  var a = this.clonePosition();
2628
2634
  this.bump(), i.push({
2629
- type: x.pound,
2635
+ type: y.pound,
2630
2636
  location: b(a, this.clonePosition())
2631
2637
  });
2632
2638
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2633
2639
  if (n)
2634
2640
  break;
2635
2641
  return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2636
- } else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
2642
+ } else if (s === 60 && !this.ignoreTag && Pe(this.peek() || 0)) {
2637
2643
  var u = this.parseTag(t, r);
2638
2644
  if (u.err)
2639
2645
  return u;
@@ -2654,7 +2660,7 @@ var qr = (
2654
2660
  if (this.bumpSpace(), this.bumpIf("/>"))
2655
2661
  return {
2656
2662
  val: {
2657
- type: x.literal,
2663
+ type: y.literal,
2658
2664
  value: "<".concat(i, "/>"),
2659
2665
  location: b(n, this.clonePosition())
2660
2666
  },
@@ -2666,12 +2672,12 @@ var qr = (
2666
2672
  return s;
2667
2673
  var u = s.val, a = this.clonePosition();
2668
2674
  if (this.bumpIf("</")) {
2669
- if (this.isEOF() || !Se(this.char()))
2675
+ if (this.isEOF() || !Pe(this.char()))
2670
2676
  return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
2671
2677
  var l = this.clonePosition(), o = this.parseTagName();
2672
2678
  return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2673
2679
  val: {
2674
- type: x.tag,
2680
+ type: y.tag,
2675
2681
  value: i,
2676
2682
  children: u,
2677
2683
  location: b(n, this.clonePosition())
@@ -2684,7 +2690,7 @@ var qr = (
2684
2690
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2685
2691
  }, e.prototype.parseTagName = function() {
2686
2692
  var t = this.offset();
2687
- for (this.bump(); !this.isEOF() && Kr(this.char()); )
2693
+ for (this.bump(); !this.isEOF() && tn(this.char()); )
2688
2694
  this.bump();
2689
2695
  return this.message.slice(t, this.offset());
2690
2696
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2708,12 +2714,12 @@ var qr = (
2708
2714
  }
2709
2715
  var l = b(n, this.clonePosition());
2710
2716
  return {
2711
- val: { type: x.literal, value: i, location: l },
2717
+ val: { type: y.literal, value: i, location: l },
2712
2718
  err: null
2713
2719
  };
2714
2720
  }, e.prototype.tryParseLeftAngleBracket = function() {
2715
2721
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2716
- !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2722
+ !en(this.peek() || 0)) ? (this.bump(), "<") : null;
2717
2723
  }, e.prototype.tryParseQuote = function(t) {
2718
2724
  if (this.isEOF() || this.char() !== 39)
2719
2725
  return null;
@@ -2747,12 +2753,12 @@ var qr = (
2747
2753
  r.push(n);
2748
2754
  this.bump();
2749
2755
  }
2750
- return He.apply(void 0, r);
2756
+ return Te.apply(void 0, r);
2751
2757
  }, e.prototype.tryParseUnquoted = function(t, r) {
2752
2758
  if (this.isEOF())
2753
2759
  return null;
2754
2760
  var n = this.char();
2755
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), He(n));
2761
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Te(n));
2756
2762
  }, e.prototype.parseArgument = function(t, r) {
2757
2763
  var n = this.clonePosition();
2758
2764
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2768,7 +2774,7 @@ var qr = (
2768
2774
  case 125:
2769
2775
  return this.bump(), {
2770
2776
  val: {
2771
- type: x.argument,
2777
+ type: y.argument,
2772
2778
  // value does not include the opening and closing braces.
2773
2779
  value: i,
2774
2780
  location: b(n, this.clonePosition())
@@ -2781,7 +2787,7 @@ var qr = (
2781
2787
  return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2782
2788
  }
2783
2789
  }, e.prototype.parseIdentifierIfPossible = function() {
2784
- var t = this.clonePosition(), r = this.offset(), n = Te(this.message, r), i = r + n.length;
2790
+ var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2785
2791
  this.bumpTo(i);
2786
2792
  var s = this.clonePosition(), u = b(t, s);
2787
2793
  return { value: n, location: u };
@@ -2800,35 +2806,35 @@ var qr = (
2800
2806
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2801
2807
  if (f.err)
2802
2808
  return f;
2803
- var c = Jr(f.val);
2809
+ var c = Yr(f.val);
2804
2810
  if (c.length === 0)
2805
2811
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2806
- var y = b(h, this.clonePosition());
2807
- o = { style: c, styleLocation: y };
2812
+ var g = b(h, this.clonePosition());
2813
+ o = { style: c, styleLocation: g };
2808
2814
  }
2809
- var g = this.tryParseArgumentClose(i);
2810
- if (g.err)
2811
- return g;
2815
+ var d = this.tryParseArgumentClose(i);
2816
+ if (d.err)
2817
+ return d;
2812
2818
  var E = b(i, this.clonePosition());
2813
- if (o && ke(o?.style, "::", 0)) {
2814
- var B = Qr(o.style.slice(2));
2819
+ if (o && Xe(o?.style, "::", 0)) {
2820
+ var B = qr(o.style.slice(2));
2815
2821
  if (a === "number") {
2816
2822
  var f = this.parseNumberSkeletonFromString(B, o.styleLocation);
2817
2823
  return f.err ? f : {
2818
- val: { type: x.number, value: n, location: E, style: f.val },
2824
+ val: { type: y.number, value: n, location: E, style: f.val },
2819
2825
  err: null
2820
2826
  };
2821
2827
  } else {
2822
2828
  if (B.length === 0)
2823
2829
  return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2824
- var P = B;
2825
- this.locale && (P = $r(B, this.locale));
2830
+ var O = B;
2831
+ this.locale && (O = Ur(B, this.locale));
2826
2832
  var c = {
2827
- type: D.dateTime,
2828
- pattern: P,
2833
+ type: G.dateTime,
2834
+ pattern: O,
2829
2835
  location: o.styleLocation,
2830
- parsedOptions: this.shouldParseSkeletons ? Pr(P) : {}
2831
- }, m = a === "date" ? x.date : x.time;
2836
+ parsedOptions: this.shouldParseSkeletons ? Nr(O) : {}
2837
+ }, m = a === "date" ? y.date : y.time;
2832
2838
  return {
2833
2839
  val: { type: m, value: n, location: E, style: c },
2834
2840
  err: null
@@ -2837,7 +2843,7 @@ var qr = (
2837
2843
  }
2838
2844
  return {
2839
2845
  val: {
2840
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2846
+ type: a === "number" ? y.number : a === "date" ? y.date : y.time,
2841
2847
  value: n,
2842
2848
  location: E,
2843
2849
  style: (s = o?.style) !== null && s !== void 0 ? s : null
@@ -2850,41 +2856,41 @@ var qr = (
2850
2856
  case "select": {
2851
2857
  var v = this.clonePosition();
2852
2858
  if (this.bumpSpace(), !this.bumpIf(","))
2853
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2859
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, ie({}, v)));
2854
2860
  this.bumpSpace();
2855
- var T = this.parseIdentifierIfPossible(), N = 0;
2856
- if (a !== "select" && T.value === "offset") {
2861
+ var S = this.parseIdentifierIfPossible(), N = 0;
2862
+ if (a !== "select" && S.value === "offset") {
2857
2863
  if (!this.bumpIf(":"))
2858
2864
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2859
2865
  this.bumpSpace();
2860
2866
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2861
2867
  if (f.err)
2862
2868
  return f;
2863
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), N = f.val;
2869
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = f.val;
2864
2870
  }
2865
- var Y = this.tryParsePluralOrSelectOptions(t, a, r, T);
2866
- if (Y.err)
2867
- return Y;
2868
- var g = this.tryParseArgumentClose(i);
2869
- if (g.err)
2870
- return g;
2871
- var Le = b(i, this.clonePosition());
2871
+ var K = this.tryParsePluralOrSelectOptions(t, a, r, S);
2872
+ if (K.err)
2873
+ return K;
2874
+ var d = this.tryParseArgumentClose(i);
2875
+ if (d.err)
2876
+ return d;
2877
+ var $e = b(i, this.clonePosition());
2872
2878
  return a === "select" ? {
2873
2879
  val: {
2874
- type: x.select,
2880
+ type: y.select,
2875
2881
  value: n,
2876
- options: Ve(Y.val),
2877
- location: Le
2882
+ options: We(K.val),
2883
+ location: $e
2878
2884
  },
2879
2885
  err: null
2880
2886
  } : {
2881
2887
  val: {
2882
- type: x.plural,
2888
+ type: y.plural,
2883
2889
  value: n,
2884
- options: Ve(Y.val),
2890
+ options: We(K.val),
2885
2891
  offset: N,
2886
2892
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2887
- location: Le
2893
+ location: $e
2888
2894
  },
2889
2895
  err: null
2890
2896
  };
@@ -2932,16 +2938,16 @@ var qr = (
2932
2938
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2933
2939
  var n = [];
2934
2940
  try {
2935
- n = Or(t);
2941
+ n = Ir(t);
2936
2942
  } catch {
2937
2943
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2938
2944
  }
2939
2945
  return {
2940
2946
  val: {
2941
- type: D.number,
2947
+ type: G.number,
2942
2948
  tokens: n,
2943
2949
  location: r,
2944
- parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
2950
+ parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
2945
2951
  },
2946
2952
  err: null
2947
2953
  };
@@ -2960,20 +2966,20 @@ var qr = (
2960
2966
  if (l.has(o))
2961
2967
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2962
2968
  o === "other" && (u = !0), this.bumpSpace();
2963
- var y = this.clonePosition();
2969
+ var g = this.clonePosition();
2964
2970
  if (!this.bumpIf("{"))
2965
2971
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2966
- var g = this.parseMessage(t + 1, r, n);
2967
- if (g.err)
2968
- return g;
2969
- var E = this.tryParseArgumentClose(y);
2972
+ var d = this.parseMessage(t + 1, r, n);
2973
+ if (d.err)
2974
+ return d;
2975
+ var E = this.tryParseArgumentClose(g);
2970
2976
  if (E.err)
2971
2977
  return E;
2972
2978
  a.push([
2973
2979
  o,
2974
2980
  {
2975
- value: g.val,
2976
- location: b(y, this.clonePosition())
2981
+ value: d.val,
2982
+ location: b(g, this.clonePosition())
2977
2983
  }
2978
2984
  ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
2979
2985
  }
@@ -2989,7 +2995,7 @@ var qr = (
2989
2995
  break;
2990
2996
  }
2991
2997
  var l = b(i, this.clonePosition());
2992
- return s ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2998
+ return s ? (u *= n, Qr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2993
2999
  }, e.prototype.offset = function() {
2994
3000
  return this.position.offset;
2995
3001
  }, e.prototype.isEOF = function() {
@@ -3004,7 +3010,7 @@ var qr = (
3004
3010
  var t = this.position.offset;
3005
3011
  if (t >= this.message.length)
3006
3012
  throw Error("out of bound");
3007
- var r = yt(this.message, t);
3013
+ var r = xt(this.message, t);
3008
3014
  if (r === void 0)
3009
3015
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3010
3016
  return r;
@@ -3023,7 +3029,7 @@ var qr = (
3023
3029
  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);
3024
3030
  }
3025
3031
  }, e.prototype.bumpIf = function(t) {
3026
- if (ke(this.message, t, this.offset())) {
3032
+ if (Xe(this.message, t, this.offset())) {
3027
3033
  for (var r = 0; r < t.length; r++)
3028
3034
  this.bump();
3029
3035
  return !0;
@@ -3045,7 +3051,7 @@ var qr = (
3045
3051
  break;
3046
3052
  }
3047
3053
  }, e.prototype.bumpSpace = function() {
3048
- for (; !this.isEOF() && Et(this.char()); )
3054
+ for (; !this.isEOF() && _t(this.char()); )
3049
3055
  this.bump();
3050
3056
  }, e.prototype.peek = function() {
3051
3057
  if (this.isEOF())
@@ -3055,47 +3061,47 @@ var qr = (
3055
3061
  }, e;
3056
3062
  }()
3057
3063
  );
3058
- function Se(e) {
3064
+ function Pe(e) {
3059
3065
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3060
3066
  }
3061
- function Yr(e) {
3062
- return Se(e) || e === 47;
3067
+ function en(e) {
3068
+ return Pe(e) || e === 47;
3063
3069
  }
3064
- function Kr(e) {
3070
+ function tn(e) {
3065
3071
  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;
3066
3072
  }
3067
- function Et(e) {
3073
+ function _t(e) {
3068
3074
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3069
3075
  }
3070
- function en(e) {
3076
+ function rn(e) {
3071
3077
  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;
3072
3078
  }
3073
- function Ae(e) {
3079
+ function Me(e) {
3074
3080
  e.forEach(function(t) {
3075
- if (delete t.location, lt(t) || ft(t))
3081
+ if (delete t.location, ct(t) || mt(t))
3076
3082
  for (var r in t.options)
3077
- delete t.options[r].location, Ae(t.options[r].value);
3083
+ delete t.options[r].location, Me(t.options[r].value);
3078
3084
  else
3079
- at(t) && mt(t.style) || (ut(t) || ht(t)) && _e(t.style) ? delete t.style.location : ct(t) && Ae(t.children);
3085
+ ht(t) && bt(t.style) || (lt(t) || ft(t)) && He(t.style) ? delete t.style.location : pt(t) && Me(t.children);
3080
3086
  });
3081
3087
  }
3082
- function tn(e, t) {
3083
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3084
- var r = new qr(e, t).parse();
3088
+ function nn(e, t) {
3089
+ t === void 0 && (t = {}), t = ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
+ var r = new Kr(e, t).parse();
3085
3091
  if (r.err) {
3086
3092
  var n = SyntaxError(p[r.err.kind]);
3087
3093
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3088
3094
  }
3089
- return t?.captureLocation || Ae(r.val), r.val;
3095
+ return t?.captureLocation || Me(r.val), r.val;
3090
3096
  }
3091
- var G;
3097
+ var F;
3092
3098
  (function(e) {
3093
3099
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3094
- })(G || (G = {}));
3095
- var ae = (
3100
+ })(F || (F = {}));
3101
+ var he = (
3096
3102
  /** @class */
3097
3103
  function(e) {
3098
- oe(t, e);
3104
+ ue(t, e);
3099
3105
  function t(r, n, i) {
3100
3106
  var s = e.call(this, r) || this;
3101
3107
  return s.code = n, s.originalMessage = i, s;
@@ -3104,48 +3110,48 @@ var ae = (
3104
3110
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3105
3111
  }, t;
3106
3112
  }(Error)
3107
- ), We = (
3113
+ ), Ze = (
3108
3114
  /** @class */
3109
3115
  function(e) {
3110
- oe(t, e);
3116
+ ue(t, e);
3111
3117
  function t(r, n, i, s) {
3112
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), G.INVALID_VALUE, s) || this;
3118
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
3113
3119
  }
3114
3120
  return t;
3115
- }(ae)
3116
- ), rn = (
3121
+ }(he)
3122
+ ), sn = (
3117
3123
  /** @class */
3118
3124
  function(e) {
3119
- oe(t, e);
3125
+ ue(t, e);
3120
3126
  function t(r, n, i) {
3121
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), G.INVALID_VALUE, i) || this;
3127
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3122
3128
  }
3123
3129
  return t;
3124
- }(ae)
3125
- ), nn = (
3130
+ }(he)
3131
+ ), on = (
3126
3132
  /** @class */
3127
3133
  function(e) {
3128
- oe(t, e);
3134
+ ue(t, e);
3129
3135
  function t(r, n) {
3130
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), G.MISSING_VALUE, n) || this;
3136
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3131
3137
  }
3132
3138
  return t;
3133
- }(ae)
3139
+ }(he)
3134
3140
  ), _;
3135
3141
  (function(e) {
3136
3142
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3137
3143
  })(_ || (_ = {}));
3138
- function sn(e) {
3144
+ function an(e) {
3139
3145
  return e.length < 2 ? e : e.reduce(function(t, r) {
3140
3146
  var n = t[t.length - 1];
3141
3147
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3142
3148
  }, []);
3143
3149
  }
3144
- function on(e) {
3150
+ function un(e) {
3145
3151
  return typeof e == "function";
3146
3152
  }
3147
- function te(e, t, r, n, i, s, u) {
3148
- if (e.length === 1 && De(e[0]))
3153
+ function re(e, t, r, n, i, s, u) {
3154
+ if (e.length === 1 && Fe(e[0]))
3149
3155
  return [
3150
3156
  {
3151
3157
  type: _.literal,
@@ -3154,14 +3160,14 @@ function te(e, t, r, n, i, s, u) {
3154
3160
  ];
3155
3161
  for (var a = [], l = 0, o = e; l < o.length; l++) {
3156
3162
  var h = o[l];
3157
- if (De(h)) {
3163
+ if (Fe(h)) {
3158
3164
  a.push({
3159
3165
  type: _.literal,
3160
3166
  value: h.value
3161
3167
  });
3162
3168
  continue;
3163
3169
  }
3164
- if (Ar(h)) {
3170
+ if (Mr(h)) {
3165
3171
  typeof s == "number" && a.push({
3166
3172
  type: _.literal,
3167
3173
  value: r.getNumberFormat(t).format(s)
@@ -3170,44 +3176,44 @@ function te(e, t, r, n, i, s, u) {
3170
3176
  }
3171
3177
  var f = h.value;
3172
3178
  if (!(i && f in i))
3173
- throw new nn(f, u);
3179
+ throw new on(f, u);
3174
3180
  var c = i[f];
3175
- if (Sr(h)) {
3181
+ if (Pr(h)) {
3176
3182
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3177
3183
  type: typeof c == "string" ? _.literal : _.object,
3178
3184
  value: c
3179
3185
  });
3180
3186
  continue;
3181
3187
  }
3182
- if (ut(h)) {
3183
- var y = typeof h.style == "string" ? n.date[h.style] : _e(h.style) ? h.style.parsedOptions : void 0;
3188
+ if (lt(h)) {
3189
+ var g = typeof h.style == "string" ? n.date[h.style] : He(h.style) ? h.style.parsedOptions : void 0;
3184
3190
  a.push({
3185
3191
  type: _.literal,
3186
- value: r.getDateTimeFormat(t, y).format(c)
3192
+ value: r.getDateTimeFormat(t, g).format(c)
3187
3193
  });
3188
3194
  continue;
3189
3195
  }
3190
- if (ht(h)) {
3191
- var y = typeof h.style == "string" ? n.time[h.style] : _e(h.style) ? h.style.parsedOptions : n.time.medium;
3196
+ if (ft(h)) {
3197
+ var g = typeof h.style == "string" ? n.time[h.style] : He(h.style) ? h.style.parsedOptions : n.time.medium;
3192
3198
  a.push({
3193
3199
  type: _.literal,
3194
- value: r.getDateTimeFormat(t, y).format(c)
3200
+ value: r.getDateTimeFormat(t, g).format(c)
3195
3201
  });
3196
3202
  continue;
3197
3203
  }
3198
- if (at(h)) {
3199
- var y = typeof h.style == "string" ? n.number[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3200
- y && y.scale && (c = c * (y.scale || 1)), a.push({
3204
+ if (ht(h)) {
3205
+ var g = typeof h.style == "string" ? n.number[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3206
+ g && g.scale && (c = c * (g.scale || 1)), a.push({
3201
3207
  type: _.literal,
3202
- value: r.getNumberFormat(t, y).format(c)
3208
+ value: r.getNumberFormat(t, g).format(c)
3203
3209
  });
3204
3210
  continue;
3205
3211
  }
3206
- if (ct(h)) {
3207
- var g = h.children, E = h.value, B = i[E];
3208
- if (!on(B))
3209
- throw new rn(E, "function", u);
3210
- var P = te(g, t, r, n, i, s), m = B(P.map(function(N) {
3212
+ if (pt(h)) {
3213
+ var d = h.children, E = h.value, B = i[E];
3214
+ if (!un(B))
3215
+ throw new sn(E, "function", u);
3216
+ var O = re(d, t, r, n, i, s), m = B(O.map(function(N) {
3211
3217
  return N.value;
3212
3218
  }));
3213
3219
  Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(N) {
@@ -3217,42 +3223,42 @@ function te(e, t, r, n, i, s, u) {
3217
3223
  };
3218
3224
  }));
3219
3225
  }
3220
- if (lt(h)) {
3226
+ if (ct(h)) {
3221
3227
  var v = h.options[c] || h.options.other;
3222
3228
  if (!v)
3223
- throw new We(h.value, c, Object.keys(h.options), u);
3224
- a.push.apply(a, te(v.value, t, r, n, i));
3229
+ throw new Ze(h.value, c, Object.keys(h.options), u);
3230
+ a.push.apply(a, re(v.value, t, r, n, i));
3225
3231
  continue;
3226
3232
  }
3227
- if (ft(h)) {
3233
+ if (mt(h)) {
3228
3234
  var v = h.options["=".concat(c)];
3229
3235
  if (!v) {
3230
3236
  if (!Intl.PluralRules)
3231
- throw new ae(`Intl.PluralRules is not available in this environment.
3237
+ throw new he(`Intl.PluralRules is not available in this environment.
3232
3238
  Try polyfilling it using "@formatjs/intl-pluralrules"
3233
- `, G.MISSING_INTL_API, u);
3234
- var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3235
- v = h.options[T] || h.options.other;
3239
+ `, F.MISSING_INTL_API, u);
3240
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3241
+ v = h.options[S] || h.options.other;
3236
3242
  }
3237
3243
  if (!v)
3238
- throw new We(h.value, c, Object.keys(h.options), u);
3239
- a.push.apply(a, te(v.value, t, r, n, i, c - (h.offset || 0)));
3244
+ throw new Ze(h.value, c, Object.keys(h.options), u);
3245
+ a.push.apply(a, re(v.value, t, r, n, i, c - (h.offset || 0)));
3240
3246
  continue;
3241
3247
  }
3242
3248
  }
3243
- return sn(a);
3249
+ return an(a);
3244
3250
  }
3245
- function an(e, t) {
3246
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3247
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3251
+ function hn(e, t) {
3252
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3253
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3248
3254
  }, {})) : e;
3249
3255
  }
3250
- function un(e, t) {
3256
+ function ln(e, t) {
3251
3257
  return t ? Object.keys(e).reduce(function(r, n) {
3252
- return r[n] = an(e[n], t[n]), r;
3253
- }, d({}, e)) : e;
3258
+ return r[n] = hn(e[n], t[n]), r;
3259
+ }, A({}, e)) : e;
3254
3260
  }
3255
- function be(e) {
3261
+ function ge(e) {
3256
3262
  return {
3257
3263
  create: function() {
3258
3264
  return {
@@ -3266,39 +3272,39 @@ function be(e) {
3266
3272
  }
3267
3273
  };
3268
3274
  }
3269
- function hn(e) {
3275
+ function fn(e) {
3270
3276
  return e === void 0 && (e = {
3271
3277
  number: {},
3272
3278
  dateTime: {},
3273
3279
  pluralRules: {}
3274
3280
  }), {
3275
- getNumberFormat: ce(function() {
3281
+ getNumberFormat: pe(function() {
3276
3282
  for (var t, r = [], n = 0; n < arguments.length; n++)
3277
3283
  r[n] = arguments[n];
3278
- return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3284
+ return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3279
3285
  }, {
3280
- cache: be(e.number),
3281
- strategy: me.variadic
3286
+ cache: ge(e.number),
3287
+ strategy: be.variadic
3282
3288
  }),
3283
- getDateTimeFormat: ce(function() {
3289
+ getDateTimeFormat: pe(function() {
3284
3290
  for (var t, r = [], n = 0; n < arguments.length; n++)
3285
3291
  r[n] = arguments[n];
3286
- return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3292
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3287
3293
  }, {
3288
- cache: be(e.dateTime),
3289
- strategy: me.variadic
3294
+ cache: ge(e.dateTime),
3295
+ strategy: be.variadic
3290
3296
  }),
3291
- getPluralRules: ce(function() {
3297
+ getPluralRules: pe(function() {
3292
3298
  for (var t, r = [], n = 0; n < arguments.length; n++)
3293
3299
  r[n] = arguments[n];
3294
- return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3300
+ return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3295
3301
  }, {
3296
- cache: be(e.pluralRules),
3297
- strategy: me.variadic
3302
+ cache: ge(e.pluralRules),
3303
+ strategy: be.variadic
3298
3304
  })
3299
3305
  };
3300
3306
  }
3301
- var ln = (
3307
+ var cn = (
3302
3308
  /** @class */
3303
3309
  function() {
3304
3310
  function e(t, r, n, i) {
@@ -3317,7 +3323,7 @@ var ln = (
3317
3323
  }, []);
3318
3324
  return h.length <= 1 ? h[0] || "" : h;
3319
3325
  }, this.formatToParts = function(l) {
3320
- return te(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3326
+ return re(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3321
3327
  }, this.resolvedOptions = function() {
3322
3328
  var l;
3323
3329
  return {
@@ -3330,13 +3336,13 @@ var ln = (
3330
3336
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3331
3337
  var u = i || {};
3332
3338
  u.formatters;
3333
- var a = yr(u, ["formatters"]);
3334
- this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3339
+ var a = xr(u, ["formatters"]);
3340
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3335
3341
  } else
3336
3342
  this.ast = t;
3337
3343
  if (!Array.isArray(this.ast))
3338
3344
  throw new TypeError("A message must be provided as a String or AST.");
3339
- this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3345
+ this.formats = ln(e.formats, n), this.formatters = i && i.formatters || fn(this.formatterCache);
3340
3346
  }
3341
3347
  return Object.defineProperty(e, "defaultLocale", {
3342
3348
  get: function() {
@@ -3349,7 +3355,7 @@ var ln = (
3349
3355
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3350
3356
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3351
3357
  }
3352
- }, e.__parse = tn, e.formats = {
3358
+ }, e.__parse = nn, e.formats = {
3353
3359
  number: {
3354
3360
  integer: {
3355
3361
  maximumFractionDigits: 0
@@ -3410,7 +3416,7 @@ var ln = (
3410
3416
  }, e;
3411
3417
  }()
3412
3418
  );
3413
- function fn(e, t) {
3419
+ function mn(e, t) {
3414
3420
  if (t == null)
3415
3421
  return;
3416
3422
  if (t in e)
@@ -3431,92 +3437,92 @@ function fn(e, t) {
3431
3437
  n = void 0;
3432
3438
  return n;
3433
3439
  }
3434
- const M = {}, cn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), vt = (e, t) => {
3440
+ const M = {}, pn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Bt = (e, t) => {
3435
3441
  if (t == null)
3436
3442
  return;
3437
3443
  if (t in M && e in M[t])
3438
3444
  return M[t][e];
3439
- const r = ue(t);
3445
+ const r = le(t);
3440
3446
  for (let n = 0; n < r.length; n++) {
3441
- const i = r[n], s = pn(i, e);
3447
+ const i = r[n], s = dn(i, e);
3442
3448
  if (s)
3443
- return cn(e, t, s);
3449
+ return pn(e, t, s);
3444
3450
  }
3445
3451
  };
3446
- let we;
3447
- const q = se({});
3448
- function mn(e) {
3449
- return we[e] || null;
3452
+ let Le;
3453
+ const Y = ae({});
3454
+ function bn(e) {
3455
+ return Le[e] || null;
3450
3456
  }
3451
- function _t(e) {
3452
- return e in we;
3457
+ function Ht(e) {
3458
+ return e in Le;
3453
3459
  }
3454
- function pn(e, t) {
3455
- if (!_t(e))
3460
+ function dn(e, t) {
3461
+ if (!Ht(e))
3456
3462
  return null;
3457
- const r = mn(e);
3458
- return fn(r, t);
3463
+ const r = bn(e);
3464
+ return mn(r, t);
3459
3465
  }
3460
- function bn(e) {
3466
+ function gn(e) {
3461
3467
  if (e == null)
3462
3468
  return;
3463
- const t = ue(e);
3469
+ const t = le(e);
3464
3470
  for (let r = 0; r < t.length; r++) {
3465
3471
  const n = t[r];
3466
- if (_t(n))
3472
+ if (Ht(n))
3467
3473
  return n;
3468
3474
  }
3469
3475
  }
3470
- function Bt(e, ...t) {
3471
- delete M[e], q.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3476
+ function St(e, ...t) {
3477
+ delete M[e], Y.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
3472
3478
  }
3473
- j(
3474
- [q],
3479
+ k(
3480
+ [Y],
3475
3481
  ([e]) => Object.keys(e)
3476
3482
  );
3477
- q.subscribe((e) => we = e);
3478
- const re = {};
3479
- function dn(e, t) {
3480
- re[e].delete(t), re[e].size === 0 && delete re[e];
3483
+ Y.subscribe((e) => Le = e);
3484
+ const ne = {};
3485
+ function yn(e, t) {
3486
+ ne[e].delete(t), ne[e].size === 0 && delete ne[e];
3481
3487
  }
3482
- function Ht(e) {
3483
- return re[e];
3488
+ function Tt(e) {
3489
+ return ne[e];
3484
3490
  }
3485
- function gn(e) {
3486
- return ue(e).map((t) => {
3487
- const r = Ht(t);
3491
+ function En(e) {
3492
+ return le(e).map((t) => {
3493
+ const r = Tt(t);
3488
3494
  return [t, r ? [...r] : []];
3489
3495
  }).filter(([, t]) => t.length > 0);
3490
3496
  }
3491
- function Me(e) {
3492
- return e == null ? !1 : ue(e).some(
3497
+ function Oe(e) {
3498
+ return e == null ? !1 : le(e).some(
3493
3499
  (t) => {
3494
3500
  var r;
3495
- return (r = Ht(t)) == null ? void 0 : r.size;
3501
+ return (r = Tt(t)) == null ? void 0 : r.size;
3496
3502
  }
3497
3503
  );
3498
3504
  }
3499
- function yn(e, t) {
3505
+ function xn(e, t) {
3500
3506
  return Promise.all(
3501
- t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3502
- ).then((n) => Bt(e, ...n));
3503
- }
3504
- const X = {};
3505
- function Tt(e) {
3506
- if (!Me(e))
3507
- return e in X ? X[e] : Promise.resolve();
3508
- const t = gn(e);
3509
- return X[e] = Promise.all(
3507
+ t.map((n) => (yn(e, n), n().then((i) => i.default || i)))
3508
+ ).then((n) => St(e, ...n));
3509
+ }
3510
+ const W = {};
3511
+ function At(e) {
3512
+ if (!Oe(e))
3513
+ return e in W ? W[e] : Promise.resolve();
3514
+ const t = En(e);
3515
+ return W[e] = Promise.all(
3510
3516
  t.map(
3511
- ([r, n]) => yn(r, n)
3517
+ ([r, n]) => xn(r, n)
3512
3518
  )
3513
3519
  ).then(() => {
3514
- if (Me(e))
3515
- return Tt(e);
3516
- delete X[e];
3517
- }), X[e];
3520
+ if (Oe(e))
3521
+ return At(e);
3522
+ delete W[e];
3523
+ }), W[e];
3518
3524
  }
3519
- const xn = {
3525
+ const vn = {
3520
3526
  number: {
3521
3527
  scientific: { notation: "scientific" },
3522
3528
  engineering: { notation: "engineering" },
@@ -3545,150 +3551,150 @@ const xn = {
3545
3551
  timeZoneName: "short"
3546
3552
  }
3547
3553
  }
3548
- }, En = {
3554
+ }, _n = {
3549
3555
  fallbackLocale: null,
3550
3556
  loadingDelay: 200,
3551
- formats: xn,
3557
+ formats: vn,
3552
3558
  warnOnMissingMessages: !0,
3553
3559
  handleMissingMessage: void 0,
3554
3560
  ignoreTag: !0
3555
- }, vn = En;
3556
- function F() {
3557
- return vn;
3561
+ }, Bn = _n;
3562
+ function j() {
3563
+ return Bn;
3558
3564
  }
3559
- const de = se(!1);
3560
- var _n = Object.defineProperty, Bn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, ze = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ze = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3565
+ const ye = ae(!1);
3566
+ var Hn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
3561
3567
  for (var r in t || (t = {}))
3562
- Tn.call(t, r) && Ze(e, r, t[r]);
3563
- if (ze)
3564
- for (var r of ze(t))
3565
- Sn.call(t, r) && Ze(e, r, t[r]);
3568
+ An.call(t, r) && Je(e, r, t[r]);
3569
+ if (Qe)
3570
+ for (var r of Qe(t))
3571
+ Pn.call(t, r) && Je(e, r, t[r]);
3566
3572
  return e;
3567
- }, Mn = (e, t) => Bn(e, Hn(t));
3568
- let Pe;
3569
- const ne = se(null);
3570
- function Qe(e) {
3573
+ }, On = (e, t) => Sn(e, Tn(t));
3574
+ let Ne;
3575
+ const se = ae(null);
3576
+ function qe(e) {
3571
3577
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3572
3578
  }
3573
- function ue(e, t = F().fallbackLocale) {
3574
- const r = Qe(e);
3575
- return t ? [.../* @__PURE__ */ new Set([...r, ...Qe(t)])] : r;
3579
+ function le(e, t = j().fallbackLocale) {
3580
+ const r = qe(e);
3581
+ return t ? [.../* @__PURE__ */ new Set([...r, ...qe(t)])] : r;
3576
3582
  }
3577
- function w() {
3578
- return Pe ?? void 0;
3583
+ function I() {
3584
+ return Ne ?? void 0;
3579
3585
  }
3580
- ne.subscribe((e) => {
3581
- Pe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3586
+ se.subscribe((e) => {
3587
+ Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3582
3588
  });
3583
- const Pn = (e) => {
3584
- if (e && bn(e) && Me(e)) {
3585
- const { loadingDelay: t } = F();
3589
+ const Nn = (e) => {
3590
+ if (e && gn(e) && Oe(e)) {
3591
+ const { loadingDelay: t } = j();
3586
3592
  let r;
3587
- return typeof window < "u" && w() != null && t ? r = window.setTimeout(
3588
- () => de.set(!0),
3593
+ return typeof window < "u" && I() != null && t ? r = window.setTimeout(
3594
+ () => ye.set(!0),
3589
3595
  t
3590
- ) : de.set(!0), Tt(e).then(() => {
3591
- ne.set(e);
3596
+ ) : ye.set(!0), At(e).then(() => {
3597
+ se.set(e);
3592
3598
  }).finally(() => {
3593
- clearTimeout(r), de.set(!1);
3599
+ clearTimeout(r), ye.set(!1);
3594
3600
  });
3595
3601
  }
3596
- return ne.set(e);
3597
- }, k = Mn(An({}, ne), {
3598
- set: Pn
3599
- }), he = (e) => {
3602
+ return se.set(e);
3603
+ }, V = On(Mn({}, se), {
3604
+ set: Nn
3605
+ }), fe = (e) => {
3600
3606
  const t = /* @__PURE__ */ Object.create(null);
3601
3607
  return (n) => {
3602
3608
  const i = JSON.stringify(n);
3603
3609
  return i in t ? t[i] : t[i] = e(n);
3604
3610
  };
3605
3611
  };
3606
- var Nn = Object.defineProperty, ie = Object.getOwnPropertySymbols, St = Object.prototype.hasOwnProperty, At = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ie = (e, t) => {
3612
+ var wn = Object.defineProperty, oe = Object.getOwnPropertySymbols, Pt = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t) => {
3607
3613
  for (var r in t || (t = {}))
3608
- St.call(t, r) && Je(e, r, t[r]);
3609
- if (ie)
3610
- for (var r of ie(t))
3611
- At.call(t, r) && Je(e, r, t[r]);
3614
+ Pt.call(t, r) && Ye(e, r, t[r]);
3615
+ if (oe)
3616
+ for (var r of oe(t))
3617
+ Mt.call(t, r) && Ye(e, r, t[r]);
3612
3618
  return e;
3613
- }, V = (e, t) => {
3619
+ }, X = (e, t) => {
3614
3620
  var r = {};
3615
3621
  for (var n in e)
3616
- St.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3617
- if (e != null && ie)
3618
- for (var n of ie(e))
3619
- t.indexOf(n) < 0 && At.call(e, n) && (r[n] = e[n]);
3622
+ Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3623
+ if (e != null && oe)
3624
+ for (var n of oe(e))
3625
+ t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3620
3626
  return r;
3621
3627
  };
3622
- const Q = (e, t) => {
3623
- const { formats: r } = F();
3628
+ const J = (e, t) => {
3629
+ const { formats: r } = j();
3624
3630
  if (e in r && t in r[e])
3625
3631
  return r[e][t];
3626
3632
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3627
- }, On = he(
3633
+ }, In = fe(
3628
3634
  (e) => {
3629
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3635
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3630
3636
  if (r == null)
3631
3637
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3632
- return n && (i = Q("number", n)), new Intl.NumberFormat(r, i);
3638
+ return n && (i = J("number", n)), new Intl.NumberFormat(r, i);
3633
3639
  }
3634
- ), wn = he(
3640
+ ), Ln = fe(
3635
3641
  (e) => {
3636
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3642
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3637
3643
  if (r == null)
3638
3644
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3639
- return n ? i = Q("date", n) : Object.keys(i).length === 0 && (i = Q("date", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = J("date", n) : Object.keys(i).length === 0 && (i = J("date", "short")), new Intl.DateTimeFormat(r, i);
3640
3646
  }
3641
- ), In = he(
3647
+ ), Cn = fe(
3642
3648
  (e) => {
3643
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3649
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3644
3650
  if (r == null)
3645
3651
  throw new Error(
3646
3652
  '[svelte-i18n] A "locale" must be set to format time values'
3647
3653
  );
3648
- return n ? i = Q("time", n) : Object.keys(i).length === 0 && (i = Q("time", "short")), new Intl.DateTimeFormat(r, i);
3654
+ return n ? i = J("time", n) : Object.keys(i).length === 0 && (i = J("time", "short")), new Intl.DateTimeFormat(r, i);
3649
3655
  }
3650
- ), Ln = (e = {}) => {
3656
+ ), $n = (e = {}) => {
3651
3657
  var t = e, {
3652
- locale: r = w()
3653
- } = t, n = V(t, [
3658
+ locale: r = I()
3659
+ } = t, n = X(t, [
3654
3660
  "locale"
3655
3661
  ]);
3656
- return On(Ie({ locale: r }, n));
3657
- }, Cn = (e = {}) => {
3662
+ return In(Ce({ locale: r }, n));
3663
+ }, Rn = (e = {}) => {
3658
3664
  var t = e, {
3659
- locale: r = w()
3660
- } = t, n = V(t, [
3665
+ locale: r = I()
3666
+ } = t, n = X(t, [
3661
3667
  "locale"
3662
3668
  ]);
3663
- return wn(Ie({ locale: r }, n));
3664
- }, $n = (e = {}) => {
3669
+ return Ln(Ce({ locale: r }, n));
3670
+ }, Un = (e = {}) => {
3665
3671
  var t = e, {
3666
- locale: r = w()
3667
- } = t, n = V(t, [
3672
+ locale: r = I()
3673
+ } = t, n = X(t, [
3668
3674
  "locale"
3669
3675
  ]);
3670
- return In(Ie({ locale: r }, n));
3671
- }, Rn = he(
3676
+ return Cn(Ce({ locale: r }, n));
3677
+ }, Dn = fe(
3672
3678
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3673
- (e, t = w()) => new ln(e, t, F().formats, {
3674
- ignoreTag: F().ignoreTag
3679
+ (e, t = I()) => new cn(e, t, j().formats, {
3680
+ ignoreTag: j().ignoreTag
3675
3681
  })
3676
- ), Un = (e, t = {}) => {
3682
+ ), Gn = (e, t = {}) => {
3677
3683
  var r, n, i, s;
3678
3684
  let u = t;
3679
3685
  typeof e == "object" && (u = e, e = u.id);
3680
3686
  const {
3681
3687
  values: a,
3682
- locale: l = w(),
3688
+ locale: l = I(),
3683
3689
  default: o
3684
3690
  } = u;
3685
3691
  if (l == null)
3686
3692
  throw new Error(
3687
3693
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3688
3694
  );
3689
- let h = vt(e, l);
3695
+ let h = Bt(e, l);
3690
3696
  if (!h)
3691
- h = (s = (i = (n = (r = F()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3697
+ h = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3692
3698
  else if (typeof h != "string")
3693
3699
  return console.warn(
3694
3700
  `[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.`
@@ -3697,7 +3703,7 @@ const Q = (e, t) => {
3697
3703
  return h;
3698
3704
  let f = h;
3699
3705
  try {
3700
- f = Rn(h, l).format(a);
3706
+ f = Dn(h, l).format(a);
3701
3707
  } catch (c) {
3702
3708
  c instanceof Error && console.warn(
3703
3709
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3705,18 +3711,18 @@ const Q = (e, t) => {
3705
3711
  );
3706
3712
  }
3707
3713
  return f;
3708
- }, Dn = (e, t) => $n(t).format(e), Gn = (e, t) => Cn(t).format(e), Fn = (e, t) => Ln(t).format(e), jn = (e, t = w()) => vt(e, t), kn = j([k, q], () => Un);
3709
- j([k], () => Dn);
3710
- j([k], () => Gn);
3711
- j([k], () => Fn);
3712
- j([k, q], () => jn);
3713
- function qe(e, t) {
3714
- Bt(e, t);
3715
- }
3716
- function Vn(e) {
3717
- k.set(e);
3718
- }
3719
- const Ye = {
3714
+ }, Fn = (e, t) => Un(t).format(e), jn = (e, t) => Rn(t).format(e), kn = (e, t) => $n(t).format(e), Vn = (e, t = I()) => Bt(e, t), Xn = k([V, Y], () => Gn);
3715
+ k([V], () => Fn);
3716
+ k([V], () => jn);
3717
+ k([V], () => kn);
3718
+ k([V, Y], () => Vn);
3719
+ function Ke(e, t) {
3720
+ St(e, t);
3721
+ }
3722
+ function Wn(e) {
3723
+ V.set(e);
3724
+ }
3725
+ const et = {
3720
3726
  en: {
3721
3727
  betsButtonString: "My Bets"
3722
3728
  },
@@ -3757,61 +3763,61 @@ const Ye = {
3757
3763
  betsButtonString: "My Bets"
3758
3764
  }
3759
3765
  };
3760
- function Xn(e) {
3761
- Nt(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
3766
+ function zn(e) {
3767
+ wt(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
3762
3768
  }
3763
- function Wn(e) {
3769
+ function Zn(e) {
3764
3770
  let t, r, n, i, s, u, a, l, o, h = (
3765
3771
  /*$_*/
3766
3772
  e[2]("betsButtonString") + ""
3767
- ), f, c, y;
3773
+ ), f, c, g;
3768
3774
  return {
3769
3775
  c() {
3770
- t = A("div"), r = A("button"), n = A("div"), i = A("span"), s = A("p"), u = ge(
3776
+ t = P("div"), r = P("button"), n = P("div"), i = P("span"), s = P("p"), u = Ee(
3771
3777
  /*betsData*/
3772
3778
  e[1]
3773
- ), a = It(), l = A("div"), o = A("p"), f = ge(h), C(i, "class", "MyBetsCountNumber"), C(n, "class", "MyBetsButtonCount"), C(l, "class", "MyBetsButtonTitle"), C(r, "class", "MyBetsButtonWrapper"), C(t, "class", "MyBetsButton");
3779
+ ), a = Ct(), l = P("div"), o = P("p"), f = Ee(h), $(i, "class", "MyBetsCountNumber"), $(n, "class", "MyBetsButtonCount"), $(l, "class", "MyBetsButtonTitle"), $(r, "class", "MyBetsButtonWrapper"), $(t, "class", "MyBetsButton");
3774
3780
  },
3775
- m(g, E) {
3776
- rt(g, t, E), S(t, r), S(r, n), S(n, i), S(i, s), S(s, u), S(r, a), S(r, l), S(l, o), S(o, f), e[10](t), c || (y = Lt(
3781
+ m(d, E) {
3782
+ it(d, t, E), T(t, r), T(r, n), T(n, i), T(i, s), T(s, u), T(r, a), T(r, l), T(l, o), T(o, f), e[10](t), c || (g = $t(
3777
3783
  r,
3778
3784
  "click",
3779
3785
  /*click_handler*/
3780
3786
  e[9]
3781
3787
  ), c = !0);
3782
3788
  },
3783
- p(g, [E]) {
3789
+ p(d, [E]) {
3784
3790
  E & /*betsData*/
3785
- 2 && $e(
3791
+ 2 && Ue(
3786
3792
  u,
3787
3793
  /*betsData*/
3788
- g[1]
3794
+ d[1]
3789
3795
  ), E & /*$_*/
3790
3796
  4 && h !== (h = /*$_*/
3791
- g[2]("betsButtonString") + "") && $e(f, h);
3797
+ d[2]("betsButtonString") + "") && Ue(f, h);
3792
3798
  },
3793
3799
  i: H,
3794
3800
  o: H,
3795
- d(g) {
3796
- g && Oe(t), e[10](null), c = !1, y();
3801
+ d(d) {
3802
+ d && Ie(t), e[10](null), c = !1, g();
3797
3803
  }
3798
3804
  };
3799
3805
  }
3800
- function zn(e, t, r) {
3806
+ function Qn(e, t, r) {
3801
3807
  let n;
3802
- Pt(e, kn, (m) => r(2, n = m));
3808
+ Nt(e, Xn, (m) => r(2, n = m));
3803
3809
  let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, o, h = 0;
3804
3810
  const f = () => {
3805
3811
  fetch(l).then((v) => v.json()).then((v) => {
3806
- Object.keys(v).forEach((T) => {
3807
- qe(T, v[T]);
3812
+ Object.keys(v).forEach((S) => {
3813
+ Ke(S, v[S]);
3808
3814
  });
3809
3815
  }).catch((v) => {
3810
3816
  console.log(v);
3811
3817
  });
3812
3818
  }, c = () => {
3813
- Vn(i);
3814
- }, y = (m, v) => {
3819
+ Wn(i);
3820
+ }, g = (m, v) => {
3815
3821
  o.dispatchEvent(new CustomEvent(
3816
3822
  m,
3817
3823
  {
@@ -3821,28 +3827,28 @@ function zn(e, t, r) {
3821
3827
  // propagate across the shadow DOM
3822
3828
  }
3823
3829
  ));
3824
- }, g = () => {
3830
+ }, d = () => {
3825
3831
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
3826
3832
  }, E = (m) => {
3827
- const { type: v, payload: T } = m.data;
3833
+ const { type: v, payload: S } = m.data;
3828
3834
  if (m.data)
3829
3835
  switch (v) {
3830
3836
  case "OMFE:betslipSelectionsCount":
3831
- r(1, h = T.count), localStorage.setItem("OMFE:betSlipCount", h.toString());
3837
+ r(1, h = S.count), localStorage.setItem("OMFE:betSlipCount", h.toString());
3832
3838
  break;
3833
3839
  }
3834
3840
  };
3835
- Ut(() => {
3841
+ Gt(() => {
3836
3842
  const m = localStorage.getItem("OMFE:betSlipCount");
3837
- return r(1, h = m !== null ? Number(m) : 0), g(), window.addEventListener("message", E, !1), () => {
3843
+ return r(1, h = m !== null ? Number(m) : 0), d(), window.addEventListener("message", E, !1), () => {
3838
3844
  window.removeEventListener("message", E);
3839
3845
  };
3840
- }), Object.keys(Ye).forEach((m) => {
3841
- qe(m, Ye[m]);
3846
+ }), Object.keys(et).forEach((m) => {
3847
+ Ke(m, et[m]);
3842
3848
  });
3843
- const B = (m) => y("betslipClick", {});
3844
- function P(m) {
3845
- ye[m ? "unshift" : "push"](() => {
3849
+ const B = (m) => g("betslipClick", {});
3850
+ function O(m) {
3851
+ xe[m ? "unshift" : "push"](() => {
3846
3852
  o = m, r(0, o);
3847
3853
  });
3848
3854
  }
@@ -3851,32 +3857,32 @@ function zn(e, t, r) {
3851
3857
  }, e.$$.update = () => {
3852
3858
  e.$$.dirty & /*lang*/
3853
3859
  16 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3854
- 33 && s && o && Yt(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3855
- 65 && u && o && Kt(o, u), e.$$.dirty & /*mbsource, customStylingContainer*/
3856
- 129 && a && o && er(o, `${a}.Style`), e.$$.dirty & /*translationurl*/
3860
+ 33 && s && o && er(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3861
+ 65 && u && o && tr(o, u), e.$$.dirty & /*mbsource, customStylingContainer*/
3862
+ 129 && a && o && rr(o, `${a}.Style`), e.$$.dirty & /*translationurl*/
3857
3863
  256 && l && f();
3858
3864
  }, [
3859
3865
  o,
3860
3866
  h,
3861
3867
  n,
3862
- y,
3868
+ g,
3863
3869
  i,
3864
3870
  s,
3865
3871
  u,
3866
3872
  a,
3867
3873
  l,
3868
3874
  B,
3869
- P
3875
+ O
3870
3876
  ];
3871
3877
  }
3872
- class Zn extends Jt {
3878
+ class Jn extends Yt {
3873
3879
  constructor(t) {
3874
- super(), Zt(
3880
+ super(), Jt(
3875
3881
  this,
3876
3882
  t,
3877
- zn,
3878
- Wn,
3879
- et,
3883
+ Qn,
3884
+ Zn,
3885
+ rt,
3880
3886
  {
3881
3887
  lang: 4,
3882
3888
  clientstyling: 5,
@@ -3884,41 +3890,41 @@ class Zn extends Jt {
3884
3890
  mbsource: 7,
3885
3891
  translationurl: 8
3886
3892
  },
3887
- Xn
3893
+ zn
3888
3894
  );
3889
3895
  }
3890
3896
  get lang() {
3891
3897
  return this.$$.ctx[4];
3892
3898
  }
3893
3899
  set lang(t) {
3894
- this.$$set({ lang: t }), O();
3900
+ this.$$set({ lang: t }), w();
3895
3901
  }
3896
3902
  get clientstyling() {
3897
3903
  return this.$$.ctx[5];
3898
3904
  }
3899
3905
  set clientstyling(t) {
3900
- this.$$set({ clientstyling: t }), O();
3906
+ this.$$set({ clientstyling: t }), w();
3901
3907
  }
3902
3908
  get clientstylingurl() {
3903
3909
  return this.$$.ctx[6];
3904
3910
  }
3905
3911
  set clientstylingurl(t) {
3906
- this.$$set({ clientstylingurl: t }), O();
3912
+ this.$$set({ clientstylingurl: t }), w();
3907
3913
  }
3908
3914
  get mbsource() {
3909
3915
  return this.$$.ctx[7];
3910
3916
  }
3911
3917
  set mbsource(t) {
3912
- this.$$set({ mbsource: t }), O();
3918
+ this.$$set({ mbsource: t }), w();
3913
3919
  }
3914
3920
  get translationurl() {
3915
3921
  return this.$$.ctx[8];
3916
3922
  }
3917
3923
  set translationurl(t) {
3918
- this.$$set({ translationurl: t }), O();
3924
+ this.$$set({ translationurl: t }), w();
3919
3925
  }
3920
3926
  }
3921
- Qt(Zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3927
+ qt(Jn, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3922
3928
  export {
3923
- Zn as C
3929
+ Jn as C
3924
3930
  };