@everymatrix/casino-jackpot-banner 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-CHeV8e9p.js";
1
+ import "../stencil/ui-image-CYuYAlOX.js";
2
2
  function Z() {
3
3
  }
4
- function Tr(e) {
4
+ function vr(e) {
5
5
  return e();
6
6
  }
7
- function Xt() {
7
+ function Ft() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function Xe(e) {
11
- e.forEach(Tr);
10
+ function ze(e) {
11
+ e.forEach(vr);
12
12
  }
13
- function $t(e) {
13
+ function Ut(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function wr(e, t) {
16
+ function Er(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let Ke;
20
20
  function Q(e, t) {
21
21
  return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
22
22
  }
23
- function on(e) {
23
+ function en(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function sn(e, ...t) {
26
+ function tn(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,17 +32,17 @@ function sn(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function d(e, t) {
35
+ function p(e, t) {
36
36
  e.appendChild(t);
37
37
  }
38
- function an(e, t, r) {
39
- const n = un(e);
38
+ function rn(e, t, r) {
39
+ const n = nn(e);
40
40
  if (!n.getElementById(t)) {
41
41
  const i = b("style");
42
- i.id = t, i.textContent = r, ln(n, i);
42
+ i.id = t, i.textContent = r, sn(n, i);
43
43
  }
44
44
  }
45
- function un(e) {
45
+ function nn(e) {
46
46
  if (!e)
47
47
  return document;
48
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -52,20 +52,20 @@ function un(e) {
52
52
  t
53
53
  ) : e.ownerDocument;
54
54
  }
55
- function ln(e, t) {
56
- return d(
55
+ function sn(e, t) {
56
+ return p(
57
57
  /** @type {Document} */
58
58
  e.head || e,
59
59
  t
60
60
  ), t.sheet;
61
61
  }
62
- function $(e, t, r) {
62
+ function F(e, t, r) {
63
63
  e.insertBefore(t, r || null);
64
64
  }
65
65
  function D(e) {
66
66
  e.parentNode && e.parentNode.removeChild(e);
67
67
  }
68
- function cn(e, t) {
68
+ function on(e, t) {
69
69
  for (let r = 0; r < e.length; r += 1)
70
70
  e[r] && e[r].d(t);
71
71
  }
@@ -78,30 +78,30 @@ function R(e) {
78
78
  function C() {
79
79
  return R(" ");
80
80
  }
81
- function hn() {
81
+ function an() {
82
82
  return R("");
83
83
  }
84
- function fn(e, t, r, n) {
84
+ function un(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
- function _(e, t, r) {
87
+ function v(e, t, r) {
88
88
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
89
89
  }
90
- function P(e, t, r) {
90
+ function L(e, t, r) {
91
91
  const n = t.toLowerCase();
92
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
92
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : v(e, t, r);
93
93
  }
94
- function pn(e) {
94
+ function ln(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function G(e, t) {
97
+ function j(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
101
  function et(e, t, r, n) {
102
102
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
103
  }
104
- function dn(e) {
104
+ function cn(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,101 +110,101 @@ function dn(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let Fe;
113
+ let Ve;
114
114
  function $e(e) {
115
- Fe = e;
115
+ Ve = e;
116
116
  }
117
- function Hr() {
118
- if (!Fe)
117
+ function xr() {
118
+ if (!Ve)
119
119
  throw new Error("Function called outside component initialization");
120
- return Fe;
120
+ return Ve;
121
121
  }
122
- function mn(e) {
123
- Hr().$$.on_mount.push(e);
122
+ function hn(e) {
123
+ xr().$$.on_mount.push(e);
124
124
  }
125
- function bn(e) {
126
- Hr().$$.on_destroy.push(e);
125
+ function fn(e) {
126
+ xr().$$.on_destroy.push(e);
127
127
  }
128
- const Ae = [], Tt = [];
128
+ const Ae = [], Et = [];
129
129
  let Be = [];
130
- const zt = [], gn = /* @__PURE__ */ Promise.resolve();
131
- let wt = !1;
132
- function yn() {
133
- wt || (wt = !0, gn.then(O));
130
+ const $t = [], dn = /* @__PURE__ */ Promise.resolve();
131
+ let xt = !1;
132
+ function pn() {
133
+ xt || (xt = !0, dn.then(O));
134
134
  }
135
- function Ht(e) {
135
+ function St(e) {
136
136
  Be.push(e);
137
137
  }
138
- const bt = /* @__PURE__ */ new Set();
138
+ const pt = /* @__PURE__ */ new Set();
139
139
  let we = 0;
140
140
  function O() {
141
141
  if (we !== 0)
142
142
  return;
143
- const e = Fe;
143
+ const e = Ve;
144
144
  do {
145
145
  try {
146
146
  for (; we < Ae.length; ) {
147
147
  const t = Ae[we];
148
- we++, $e(t), vn(t.$$);
148
+ we++, $e(t), mn(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Ae.length = 0, we = 0, t;
152
152
  }
153
- for ($e(null), Ae.length = 0, we = 0; Tt.length; )
154
- Tt.pop()();
153
+ for ($e(null), Ae.length = 0, we = 0; Et.length; )
154
+ Et.pop()();
155
155
  for (let t = 0; t < Be.length; t += 1) {
156
156
  const r = Be[t];
157
- bt.has(r) || (bt.add(r), r());
157
+ pt.has(r) || (pt.add(r), r());
158
158
  }
159
159
  Be.length = 0;
160
160
  } while (Ae.length);
161
- for (; zt.length; )
162
- zt.pop()();
163
- wt = !1, bt.clear(), $e(e);
161
+ for (; $t.length; )
162
+ $t.pop()();
163
+ xt = !1, pt.clear(), $e(e);
164
164
  }
165
- function vn(e) {
165
+ function mn(e) {
166
166
  if (e.fragment !== null) {
167
- e.update(), Xe(e.before_update);
167
+ e.update(), ze(e.before_update);
168
168
  const t = e.dirty;
169
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
169
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(St);
170
170
  }
171
171
  }
172
- function _n(e) {
172
+ function bn(e) {
173
173
  const t = [], r = [];
174
174
  Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
175
175
  }
176
- const En = /* @__PURE__ */ new Set();
177
- function xn(e, t) {
178
- e && e.i && (En.delete(e), e.i(t));
176
+ const gn = /* @__PURE__ */ new Set();
177
+ function yn(e, t) {
178
+ e && e.i && (gn.delete(e), e.i(t));
179
179
  }
180
- function Jt(e) {
180
+ function Vt(e) {
181
181
  return e?.length !== void 0 ? e : Array.from(e);
182
182
  }
183
- function Sn(e, t, r) {
183
+ function _n(e, t, r) {
184
184
  const { fragment: n, after_update: i } = e.$$;
185
- n && n.m(t, r), Ht(() => {
186
- const o = e.$$.on_mount.map(Tr).filter($t);
187
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
188
- }), i.forEach(Ht);
185
+ n && n.m(t, r), St(() => {
186
+ const s = e.$$.on_mount.map(vr).filter(Ut);
187
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ze(s), e.$$.on_mount = [];
188
+ }), i.forEach(St);
189
189
  }
190
- function Tn(e, t) {
190
+ function vn(e, t) {
191
191
  const r = e.$$;
192
- r.fragment !== null && (_n(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
+ r.fragment !== null && (bn(r.after_update), ze(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
193
  }
194
- function wn(e, t) {
195
- e.$$.dirty[0] === -1 && (Ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
194
+ function En(e, t) {
195
+ e.$$.dirty[0] === -1 && (Ae.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
196
  }
197
- function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
198
- const l = Fe;
197
+ function xn(e, t, r, n, i, s, o = null, a = [-1]) {
198
+ const l = Ve;
199
199
  $e(e);
200
200
  const u = e.$$ = {
201
201
  fragment: null,
202
202
  ctx: [],
203
203
  // state
204
- props: o,
204
+ props: s,
205
205
  update: Z,
206
206
  not_equal: i,
207
- bound: Xt(),
207
+ bound: Ft(),
208
208
  // lifecycle
209
209
  on_mount: [],
210
210
  on_destroy: [],
@@ -213,28 +213,28 @@ function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  after_update: [],
214
214
  context: new Map(t.context || (l ? l.$$.context : [])),
215
215
  // everything else
216
- callbacks: Xt(),
216
+ callbacks: Ft(),
217
217
  dirty: a,
218
218
  skip_bound: !1,
219
219
  root: t.target || l.$$.root
220
220
  };
221
- s && s(u.root);
221
+ o && o(u.root);
222
222
  let c = !1;
223
- if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
223
+ if (u.ctx = r(e, t.props || {}, (d, h, ...g) => {
224
224
  const x = g.length ? g[0] : h;
225
- return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && wn(e, p)), h;
226
- }) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
225
+ return u.ctx && i(u.ctx[d], u.ctx[d] = x) && (!u.skip_bound && u.bound[d] && u.bound[d](x), c && En(e, d)), h;
226
+ }), u.update(), c = !0, ze(u.before_update), u.fragment = n(u.ctx), t.target) {
227
227
  if (t.hydrate) {
228
- const p = pn(t.target);
229
- u.fragment && u.fragment.l(p), p.forEach(D);
228
+ const d = ln(t.target);
229
+ u.fragment && u.fragment.l(d), d.forEach(D);
230
230
  } else
231
231
  u.fragment && u.fragment.c();
232
- t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
232
+ t.intro && yn(e.$$.fragment), _n(e, t.target, t.anchor), O();
233
233
  }
234
234
  $e(l);
235
235
  }
236
- let Ar;
237
- typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
236
+ let Sr;
237
+ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
238
238
  /** The Svelte component constructor */
239
239
  $$ctor;
240
240
  /** Slots */
@@ -273,32 +273,32 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
273
273
  if (this.$$cn = !0, !this.$$c) {
274
274
  let e = function(i) {
275
275
  return () => {
276
- let o;
276
+ let s;
277
277
  return {
278
278
  c: function() {
279
- o = b("slot"), i !== "default" && _(o, "name", i);
279
+ s = b("slot"), i !== "default" && v(s, "name", i);
280
280
  },
281
281
  /**
282
282
  * @param {HTMLElement} target
283
283
  * @param {HTMLElement} [anchor]
284
284
  */
285
285
  m: function(l, u) {
286
- $(l, o, u);
286
+ F(l, s, u);
287
287
  },
288
288
  d: function(l) {
289
- l && D(o);
289
+ l && D(s);
290
290
  }
291
291
  };
292
292
  };
293
293
  };
294
294
  if (await Promise.resolve(), !this.$$cn || this.$$c)
295
295
  return;
296
- const t = {}, r = dn(this);
296
+ const t = {}, r = cn(this);
297
297
  for (const i of this.$$s)
298
298
  i in r && (t[i] = [e(i)]);
299
299
  for (const i of this.attributes) {
300
- const o = this.$$g_p(i.name);
301
- o in this.$$d || (this.$$d[o] = nt(o, i.value, this.$$p_d, "toProp"));
300
+ const s = this.$$g_p(i.name);
301
+ s in this.$$d || (this.$$d[s] = nt(s, i.value, this.$$p_d, "toProp"));
302
302
  }
303
303
  for (const i in this.$$p_d)
304
304
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -316,21 +316,21 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
316
316
  this.$$r = !0;
317
317
  for (const i in this.$$p_d)
318
318
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
319
- const o = nt(
319
+ const s = nt(
320
320
  i,
321
321
  this.$$d[i],
322
322
  this.$$p_d,
323
323
  "toAttribute"
324
324
  );
325
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
325
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
326
326
  }
327
327
  this.$$r = !1;
328
328
  };
329
329
  this.$$c.$$.after_update.push(n), n();
330
330
  for (const i in this.$$l)
331
- for (const o of this.$$l[i]) {
332
- const s = this.$$c.$on(i, o);
333
- this.$$l_u.set(o, s);
331
+ for (const s of this.$$l[i]) {
332
+ const o = this.$$c.$on(i, s);
333
+ this.$$l_u.set(s, o);
334
334
  }
335
335
  this.$$l = {};
336
336
  }
@@ -380,8 +380,8 @@ function nt(e, t, r, n) {
380
380
  return t;
381
381
  }
382
382
  }
383
- function An(e, t, r, n, i, o) {
384
- let s = class extends Ar {
383
+ function Sn(e, t, r, n, i, s) {
384
+ let o = class extends Sr {
385
385
  constructor() {
386
386
  super(e, r, i), this.$$p_d = t;
387
387
  }
@@ -392,7 +392,7 @@ function An(e, t, r, n, i, o) {
392
392
  }
393
393
  };
394
394
  return Object.keys(t).forEach((a) => {
395
- Object.defineProperty(s.prototype, a, {
395
+ Object.defineProperty(o.prototype, a, {
396
396
  get() {
397
397
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
398
398
  },
@@ -401,15 +401,15 @@ function An(e, t, r, n, i, o) {
401
401
  }
402
402
  });
403
403
  }), n.forEach((a) => {
404
- Object.defineProperty(s.prototype, a, {
404
+ Object.defineProperty(o.prototype, a, {
405
405
  get() {
406
406
  return this.$$c?.[a];
407
407
  }
408
408
  });
409
409
  }), e.element = /** @type {any} */
410
- s, s;
410
+ o, o;
411
411
  }
412
- class Bn {
412
+ class Tn {
413
413
  /**
414
414
  * ### PRIVATE API
415
415
  *
@@ -428,7 +428,7 @@ class Bn {
428
428
  $$set = void 0;
429
429
  /** @returns {void} */
430
430
  $destroy() {
431
- Tn(this, 1), this.$destroy = Z;
431
+ vn(this, 1), this.$destroy = Z;
432
432
  }
433
433
  /**
434
434
  * @template {Extract<keyof Events, string>} K
@@ -437,7 +437,7 @@ class Bn {
437
437
  * @returns {() => void}
438
438
  */
439
439
  $on(t, r) {
440
- if (!$t(r))
440
+ if (!Ut(r))
441
441
  return Z;
442
442
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
443
443
  return n.push(r), () => {
@@ -450,11 +450,11 @@ class Bn {
450
450
  * @returns {void}
451
451
  */
452
452
  $set(t) {
453
- this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
+ this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
454
454
  }
455
455
  }
456
- const Pn = "4";
457
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
456
+ const wn = "4";
457
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
458
458
  /*! *****************************************************************************
459
459
  Copyright (c) Microsoft Corporation.
460
460
 
@@ -469,24 +469,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
469
469
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
470
470
  PERFORMANCE OF THIS SOFTWARE.
471
471
  ***************************************************************************** */
472
- var At = function(e, t) {
473
- return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
+ var Tt = function(e, t) {
473
+ return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
474
  r.__proto__ = n;
475
475
  } || function(r, n) {
476
476
  for (var i in n)
477
477
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, At(e, t);
478
+ }, Tt(e, t);
479
479
  };
480
- function ze(e, t) {
480
+ function ce(e, t) {
481
481
  if (typeof t != "function" && t !== null)
482
482
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- At(e, t);
483
+ Tt(e, t);
484
484
  function r() {
485
485
  this.constructor = e;
486
486
  }
487
487
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
488
  }
489
- function Bt(e) {
489
+ var H = function() {
490
+ return H = Object.assign || function(t) {
491
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
492
+ r = arguments[n];
493
+ for (var s in r)
494
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
495
+ }
496
+ return t;
497
+ }, H.apply(this, arguments);
498
+ };
499
+ function Hn(e, t) {
500
+ var r = {};
501
+ for (var n in e)
502
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
503
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
504
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
505
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
506
+ return r;
507
+ }
508
+ function wt(e) {
490
509
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
510
  if (r)
492
511
  return r.call(e);
@@ -498,42 +517,42 @@ function Bt(e) {
498
517
  };
499
518
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
519
  }
501
- function Pt(e, t) {
520
+ function Ht(e, t) {
502
521
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
522
  if (!r)
504
523
  return e;
505
- var n = r.call(e), i, o = [], s;
524
+ var n = r.call(e), i, s = [], o;
506
525
  try {
507
526
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
508
- o.push(i.value);
527
+ s.push(i.value);
509
528
  } catch (a) {
510
- s = { error: a };
529
+ o = { error: a };
511
530
  } finally {
512
531
  try {
513
532
  i && !i.done && (r = n.return) && r.call(n);
514
533
  } finally {
515
- if (s)
516
- throw s.error;
534
+ if (o)
535
+ throw o.error;
517
536
  }
518
537
  }
519
- return o;
538
+ return s;
520
539
  }
521
- function Ot(e, t, r) {
522
- if (arguments.length === 2)
523
- for (var n = 0, i = t.length, o; n < i; n++)
524
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
525
- return e.concat(o || t);
540
+ function Pe(e, t, r) {
541
+ if (r || arguments.length === 2)
542
+ for (var n = 0, i = t.length, s; n < i; n++)
543
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
544
+ return e.concat(s || t);
526
545
  }
527
- function ce(e) {
546
+ function le(e) {
528
547
  return typeof e == "function";
529
548
  }
530
- function Br(e) {
549
+ function Tr(e) {
531
550
  var t = function(n) {
532
551
  Error.call(n), n.stack = new Error().stack;
533
552
  }, r = e(t);
534
553
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
554
  }
536
- var gt = Br(function(e) {
555
+ var mt = Tr(function(e) {
537
556
  return function(r) {
538
557
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
558
  ` + r.map(function(n, i) {
@@ -542,25 +561,25 @@ var gt = Br(function(e) {
542
561
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
562
  };
544
563
  });
545
- function Lt(e, t) {
564
+ function At(e, t) {
546
565
  if (e) {
547
566
  var r = e.indexOf(t);
548
567
  0 <= r && e.splice(r, 1);
549
568
  }
550
569
  }
551
- var ct = function() {
570
+ var lt = function() {
552
571
  function e(t) {
553
572
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
573
  }
555
574
  return e.prototype.unsubscribe = function() {
556
- var t, r, n, i, o;
575
+ var t, r, n, i, s;
557
576
  if (!this.closed) {
558
577
  this.closed = !0;
559
- var s = this._parentage;
560
- if (s)
561
- if (this._parentage = null, Array.isArray(s))
578
+ var o = this._parentage;
579
+ if (o)
580
+ if (this._parentage = null, Array.isArray(o))
562
581
  try {
563
- for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
582
+ for (var a = wt(o), l = a.next(); !l.done; l = a.next()) {
564
583
  var u = l.value;
565
584
  u.remove(this);
566
585
  }
@@ -575,24 +594,24 @@ var ct = function() {
575
594
  }
576
595
  }
577
596
  else
578
- s.remove(this);
597
+ o.remove(this);
579
598
  var c = this.initialTeardown;
580
- if (ce(c))
599
+ if (le(c))
581
600
  try {
582
601
  c();
583
602
  } catch (y) {
584
- o = y instanceof gt ? y.errors : [y];
603
+ s = y instanceof mt ? y.errors : [y];
585
604
  }
586
- var p = this._finalizers;
587
- if (p) {
605
+ var d = this._finalizers;
606
+ if (d) {
588
607
  this._finalizers = null;
589
608
  try {
590
- for (var h = Bt(p), g = h.next(); !g.done; g = h.next()) {
609
+ for (var h = wt(d), g = h.next(); !g.done; g = h.next()) {
591
610
  var x = g.value;
592
611
  try {
593
- Zt(x);
612
+ Wt(x);
594
613
  } catch (y) {
595
- o = o ?? [], y instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(y.errors)) : o.push(y);
614
+ s = s ?? [], y instanceof mt ? s = Pe(Pe([], Ht(s)), Ht(y.errors)) : s.push(y);
596
615
  }
597
616
  }
598
617
  } catch (y) {
@@ -606,14 +625,14 @@ var ct = function() {
606
625
  }
607
626
  }
608
627
  }
609
- if (o)
610
- throw new gt(o);
628
+ if (s)
629
+ throw new mt(s);
611
630
  }
612
631
  }, e.prototype.add = function(t) {
613
632
  var r;
614
633
  if (t && t !== this)
615
634
  if (this.closed)
616
- Zt(t);
635
+ Wt(t);
617
636
  else {
618
637
  if (t instanceof e) {
619
638
  if (t.closed || t._hasParent(this))
@@ -630,52 +649,56 @@ var ct = function() {
630
649
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
650
  }, e.prototype._removeParent = function(t) {
632
651
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
652
+ r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
634
653
  }, e.prototype.remove = function(t) {
635
654
  var r = this._finalizers;
636
- r && Lt(r, t), t instanceof e && t._removeParent(this);
655
+ r && At(r, t), t instanceof e && t._removeParent(this);
637
656
  }, e.EMPTY = function() {
638
657
  var t = new e();
639
658
  return t.closed = !0, t;
640
659
  }(), e;
641
- }(), Pr = ct.EMPTY;
642
- function Or(e) {
643
- return e instanceof ct || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
644
- }
645
- function Zt(e) {
646
- ce(e) ? e() : e.unsubscribe();
647
- }
648
- var On = {
649
- Promise: void 0
650
- }, Ln = {
660
+ }(), wr = lt.EMPTY;
661
+ function Hr(e) {
662
+ return e instanceof lt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
663
+ }
664
+ function Wt(e) {
665
+ le(e) ? e() : e.unsubscribe();
666
+ }
667
+ var An = {
668
+ onUnhandledError: null,
669
+ onStoppedNotification: null,
670
+ Promise: void 0,
671
+ useDeprecatedSynchronousErrorHandling: !1,
672
+ useDeprecatedNextContext: !1
673
+ }, Bn = {
651
674
  setTimeout: function(e, t) {
652
675
  for (var r = [], n = 2; n < arguments.length; n++)
653
676
  r[n - 2] = arguments[n];
654
- return setTimeout.apply(void 0, Ot([e, t], Pt(r)));
677
+ return setTimeout.apply(void 0, Pe([e, t], Ht(r)));
655
678
  },
656
679
  clearTimeout: function(e) {
657
680
  return clearTimeout(e);
658
681
  },
659
682
  delegate: void 0
660
683
  };
661
- function Cn(e) {
662
- Ln.setTimeout(function() {
684
+ function Pn(e) {
685
+ Bn.setTimeout(function() {
663
686
  throw e;
664
687
  });
665
688
  }
666
- function Qt() {
689
+ function Xt() {
667
690
  }
668
691
  function it(e) {
669
692
  e();
670
693
  }
671
- var Lr = function(e) {
672
- ze(t, e);
694
+ var Ar = function(e) {
695
+ ce(t, e);
673
696
  function t(r) {
674
697
  var n = e.call(this) || this;
675
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Mn, n;
698
+ return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = Cn, n;
676
699
  }
677
700
  return t.create = function(r, n, i) {
678
- return new Ct(r, n, i);
701
+ return new Bt(r, n, i);
679
702
  }, t.prototype.next = function(r) {
680
703
  this.isStopped || this._next(r);
681
704
  }, t.prototype.error = function(r) {
@@ -699,7 +722,7 @@ var Lr = function(e) {
699
722
  this.unsubscribe();
700
723
  }
701
724
  }, t;
702
- }(ct), In = function() {
725
+ }(lt), Ln = function() {
703
726
  function e(t) {
704
727
  this.partialObserver = t;
705
728
  }
@@ -730,43 +753,43 @@ var Lr = function(e) {
730
753
  tt(r);
731
754
  }
732
755
  }, e;
733
- }(), Ct = function(e) {
734
- ze(t, e);
756
+ }(), Bt = function(e) {
757
+ ce(t, e);
735
758
  function t(r, n, i) {
736
- var o = e.call(this) || this, s;
737
- return ce(r) || !r ? s = {
759
+ var s = e.call(this) || this, o;
760
+ return le(r) || !r ? o = {
738
761
  next: r ?? void 0,
739
762
  error: n ?? void 0,
740
763
  complete: i ?? void 0
741
- } : s = r, o.destination = new In(s), o;
764
+ } : o = r, s.destination = new Ln(o), s;
742
765
  }
743
766
  return t;
744
- }(Lr);
767
+ }(Ar);
745
768
  function tt(e) {
746
- Cn(e);
769
+ Pn(e);
747
770
  }
748
- function Nn(e) {
771
+ function On(e) {
749
772
  throw e;
750
773
  }
751
- var Mn = {
774
+ var Cn = {
752
775
  closed: !0,
753
- next: Qt,
754
- error: Nn,
755
- complete: Qt
756
- }, Rn = function() {
776
+ next: Xt,
777
+ error: On,
778
+ complete: Xt
779
+ }, In = function() {
757
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
758
781
  }();
759
- function Un(e) {
782
+ function Nn(e) {
760
783
  return e;
761
784
  }
762
- function Dn(e) {
763
- return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
785
+ function Mn(e) {
786
+ return e.length === 0 ? Nn : e.length === 1 ? e[0] : function(r) {
764
787
  return e.reduce(function(n, i) {
765
788
  return i(n);
766
789
  }, r);
767
790
  };
768
791
  }
769
- var Yt = function() {
792
+ var zt = function() {
770
793
  function e(t) {
771
794
  t && (this._subscribe = t);
772
795
  }
@@ -774,11 +797,11 @@ var Yt = function() {
774
797
  var r = new e();
775
798
  return r.source = this, r.operator = t, r;
776
799
  }, e.prototype.subscribe = function(t, r, n) {
777
- var i = this, o = jn(t) ? t : new Ct(t, r, n);
800
+ var i = this, s = Un(t) ? t : new Bt(t, r, n);
778
801
  return it(function() {
779
- var s = i, a = s.operator, l = s.source;
780
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
781
- }), o;
802
+ var o = i, a = o.operator, l = o.source;
803
+ s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
804
+ }), s;
782
805
  }, e.prototype._trySubscribe = function(t) {
783
806
  try {
784
807
  return this._subscribe(t);
@@ -787,79 +810,79 @@ var Yt = function() {
787
810
  }
788
811
  }, e.prototype.forEach = function(t, r) {
789
812
  var n = this;
790
- return r = qt(r), new r(function(i, o) {
791
- var s = new Ct({
813
+ return r = Jt(r), new r(function(i, s) {
814
+ var o = new Bt({
792
815
  next: function(a) {
793
816
  try {
794
817
  t(a);
795
818
  } catch (l) {
796
- o(l), s.unsubscribe();
819
+ s(l), o.unsubscribe();
797
820
  }
798
821
  },
799
- error: o,
822
+ error: s,
800
823
  complete: i
801
824
  });
802
- n.subscribe(s);
825
+ n.subscribe(o);
803
826
  });
804
827
  }, e.prototype._subscribe = function(t) {
805
828
  var r;
806
829
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
807
- }, e.prototype[Rn] = function() {
830
+ }, e.prototype[In] = function() {
808
831
  return this;
809
832
  }, e.prototype.pipe = function() {
810
833
  for (var t = [], r = 0; r < arguments.length; r++)
811
834
  t[r] = arguments[r];
812
- return Dn(t)(this);
835
+ return Mn(t)(this);
813
836
  }, e.prototype.toPromise = function(t) {
814
837
  var r = this;
815
- return t = qt(t), new t(function(n, i) {
816
- var o;
817
- r.subscribe(function(s) {
818
- return o = s;
819
- }, function(s) {
820
- return i(s);
838
+ return t = Jt(t), new t(function(n, i) {
839
+ var s;
840
+ r.subscribe(function(o) {
841
+ return s = o;
842
+ }, function(o) {
843
+ return i(o);
821
844
  }, function() {
822
- return n(o);
845
+ return n(s);
823
846
  });
824
847
  });
825
848
  }, e.create = function(t) {
826
849
  return new e(t);
827
850
  }, e;
828
851
  }();
829
- function qt(e) {
852
+ function Jt(e) {
830
853
  var t;
831
- return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
832
855
  }
833
- function kn(e) {
834
- return e && ce(e.next) && ce(e.error) && ce(e.complete);
856
+ function Rn(e) {
857
+ return e && le(e.next) && le(e.error) && le(e.complete);
835
858
  }
836
- function jn(e) {
837
- return e && e instanceof Lr || kn(e) && Or(e);
859
+ function Un(e) {
860
+ return e && e instanceof Ar || Rn(e) && Hr(e);
838
861
  }
839
- var Gn = Br(function(e) {
862
+ var Dn = Tr(function(e) {
840
863
  return function() {
841
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
842
865
  };
843
- }), Cr = function(e) {
844
- ze(t, e);
866
+ }), Br = function(e) {
867
+ ce(t, e);
845
868
  function t() {
846
869
  var r = e.call(this) || this;
847
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
848
871
  }
849
872
  return t.prototype.lift = function(r) {
850
- var n = new Kt(this, this);
873
+ var n = new Zt(this, this);
851
874
  return n.operator = r, n;
852
875
  }, t.prototype._throwIfClosed = function() {
853
876
  if (this.closed)
854
- throw new Gn();
877
+ throw new Dn();
855
878
  }, t.prototype.next = function(r) {
856
879
  var n = this;
857
880
  it(function() {
858
- var i, o;
881
+ var i, s;
859
882
  if (n._throwIfClosed(), !n.isStopped) {
860
883
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
861
884
  try {
862
- for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
+ for (var o = wt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
863
886
  var l = a.value;
864
887
  l.next(r);
865
888
  }
@@ -867,7 +890,7 @@ var Gn = Br(function(e) {
867
890
  i = { error: u };
868
891
  } finally {
869
892
  try {
870
- a && !a.done && (o = s.return) && o.call(s);
893
+ a && !a.done && (s = o.return) && s.call(o);
871
894
  } finally {
872
895
  if (i)
873
896
  throw i.error;
@@ -907,21 +930,21 @@ var Gn = Br(function(e) {
907
930
  }, t.prototype._subscribe = function(r) {
908
931
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
909
932
  }, t.prototype._innerSubscribe = function(r) {
910
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
911
- return o || s ? Pr : (this.currentObservers = null, a.push(r), new ct(function() {
912
- n.currentObservers = null, Lt(a, r);
933
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
934
+ return s || o ? wr : (this.currentObservers = null, a.push(r), new lt(function() {
935
+ n.currentObservers = null, At(a, r);
913
936
  }));
914
937
  }, t.prototype._checkFinalizedStatuses = function(r) {
915
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
916
- i ? r.error(o) : s && r.complete();
938
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
939
+ i ? r.error(s) : o && r.complete();
917
940
  }, t.prototype.asObservable = function() {
918
- var r = new Yt();
941
+ var r = new zt();
919
942
  return r.source = this, r;
920
943
  }, t.create = function(r, n) {
921
- return new Kt(r, n);
944
+ return new Zt(r, n);
922
945
  }, t;
923
- }(Yt), Kt = function(e) {
924
- ze(t, e);
946
+ }(zt), Zt = function(e) {
947
+ ce(t, e);
925
948
  function t(r, n) {
926
949
  var i = e.call(this) || this;
927
950
  return i.destination = r, i.source = n, i;
@@ -937,54 +960,54 @@ var Gn = Br(function(e) {
937
960
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
938
961
  }, t.prototype._subscribe = function(r) {
939
962
  var n, i;
940
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
963
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wr;
941
964
  }, t;
942
- }(Cr), Ir = {
965
+ }(Br), Pr = {
943
966
  now: function() {
944
- return (Ir.delegate || Date).now();
967
+ return (Pr.delegate || Date).now();
945
968
  },
946
969
  delegate: void 0
947
- }, $n = function(e) {
948
- ze(t, e);
970
+ }, kn = function(e) {
971
+ ce(t, e);
949
972
  function t(r, n, i) {
950
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
951
- var o = e.call(this) || this;
952
- return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
973
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pr);
974
+ var s = e.call(this) || this;
975
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
953
976
  }
954
977
  return t.prototype.next = function(r) {
955
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
956
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
978
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
979
+ i || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
957
980
  }, t.prototype._subscribe = function(r) {
958
981
  this._throwIfClosed(), this._trimBuffer();
959
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
982
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
960
983
  r.next(a[l]);
961
984
  return this._checkFinalizedStatuses(r), n;
962
985
  }, t.prototype._trimBuffer = function() {
963
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
964
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
965
- for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
986
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
987
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
988
+ for (var l = i.now(), u = 0, c = 1; c < s.length && s[c] <= l; c += 2)
966
989
  u = c;
967
- u && o.splice(0, u + 1);
990
+ u && s.splice(0, u + 1);
968
991
  }
969
992
  }, t;
970
- }(Cr);
971
- const er = [], tr = {}, Fn = (e, t = 0) => {
972
- if (er.indexOf(e) == -1) {
973
- const r = new $n(t);
974
- tr[e] = r, er.push(e);
993
+ }(Br);
994
+ const Qt = [], Yt = {}, Gn = (e, t = 0) => {
995
+ if (Qt.indexOf(e) == -1) {
996
+ const r = new kn(t);
997
+ Yt[e] = r, Qt.push(e);
975
998
  }
976
- return tr[e];
999
+ return Yt[e];
977
1000
  }, He = [];
978
- function Vn(e, t) {
1001
+ function jn(e, t) {
979
1002
  return {
980
- subscribe: ht(e, t).subscribe
1003
+ subscribe: ct(e, t).subscribe
981
1004
  };
982
1005
  }
983
- function ht(e, t = Z) {
1006
+ function ct(e, t = Z) {
984
1007
  let r;
985
1008
  const n = /* @__PURE__ */ new Set();
986
1009
  function i(a) {
987
- if (wr(e, a) && (e = a, r)) {
1010
+ if (Er(e, a) && (e = a, r)) {
988
1011
  const l = !He.length;
989
1012
  for (const u of n)
990
1013
  u[1](), He.push(u, e);
@@ -995,37 +1018,37 @@ function ht(e, t = Z) {
995
1018
  }
996
1019
  }
997
1020
  }
998
- function o(a) {
1021
+ function s(a) {
999
1022
  i(a(e));
1000
1023
  }
1001
- function s(a, l = Z) {
1024
+ function o(a, l = Z) {
1002
1025
  const u = [a, l];
1003
- return n.add(u), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
1026
+ return n.add(u), n.size === 1 && (r = t(i, s) || Z), a(e), () => {
1004
1027
  n.delete(u), n.size === 0 && r && (r(), r = null);
1005
1028
  };
1006
1029
  }
1007
- return { set: i, update: o, subscribe: s };
1030
+ return { set: i, update: s, subscribe: o };
1008
1031
  }
1009
- function Ie(e, t, r) {
1032
+ function Ne(e, t, r) {
1010
1033
  const n = !Array.isArray(e), i = n ? [e] : e;
1011
1034
  if (!i.every(Boolean))
1012
1035
  throw new Error("derived() expects stores as input, got a falsy value");
1013
- const o = t.length < 2;
1014
- return Vn(r, (s, a) => {
1036
+ const s = t.length < 2;
1037
+ return jn(r, (o, a) => {
1015
1038
  let l = !1;
1016
1039
  const u = [];
1017
- let c = 0, p = Z;
1040
+ let c = 0, d = Z;
1018
1041
  const h = () => {
1019
1042
  if (c)
1020
1043
  return;
1021
- p();
1022
- const x = t(n ? u[0] : u, s, a);
1023
- o ? s(x) : p = $t(x) ? x : Z;
1044
+ d();
1045
+ const x = t(n ? u[0] : u, o, a);
1046
+ s ? o(x) : d = Ut(x) ? x : Z;
1024
1047
  }, g = i.map(
1025
- (x, y) => sn(
1048
+ (x, y) => tn(
1026
1049
  x,
1027
- (v) => {
1028
- u[y] = v, c &= ~(1 << y), l && h();
1050
+ (_) => {
1051
+ u[y] = _, c &= ~(1 << y), l && h();
1029
1052
  },
1030
1053
  () => {
1031
1054
  c |= 1 << y;
@@ -1033,157 +1056,118 @@ function Ie(e, t, r) {
1033
1056
  )
1034
1057
  );
1035
1058
  return l = !0, h(), function() {
1036
- Xe(g), p(), l = !1;
1059
+ ze(g), d(), l = !1;
1037
1060
  };
1038
1061
  });
1039
1062
  }
1040
- function Wn(e) {
1041
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1063
+ function Fn(e) {
1064
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1042
1065
  }
1043
- var Xn = function(t) {
1044
- return zn(t) && !Jn(t);
1066
+ var $n = function(t) {
1067
+ return Vn(t) && !Wn(t);
1045
1068
  };
1046
- function zn(e) {
1069
+ function Vn(e) {
1047
1070
  return !!e && typeof e == "object";
1048
1071
  }
1049
- function Jn(e) {
1072
+ function Wn(e) {
1050
1073
  var t = Object.prototype.toString.call(e);
1051
- return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
1074
+ return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
1052
1075
  }
1053
- var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
1054
- function Yn(e) {
1055
- return e.$$typeof === Qn;
1076
+ var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
1077
+ function Jn(e) {
1078
+ return e.$$typeof === zn;
1056
1079
  }
1057
- function qn(e) {
1080
+ function Zn(e) {
1058
1081
  return Array.isArray(e) ? [] : {};
1059
1082
  }
1060
- function Ve(e, t) {
1061
- return t.clone !== !1 && t.isMergeableObject(e) ? Pe(qn(e), e, t) : e;
1083
+ function We(e, t) {
1084
+ return t.clone !== !1 && t.isMergeableObject(e) ? Le(Zn(e), e, t) : e;
1062
1085
  }
1063
- function Kn(e, t, r) {
1086
+ function Qn(e, t, r) {
1064
1087
  return e.concat(t).map(function(n) {
1065
- return Ve(n, r);
1088
+ return We(n, r);
1066
1089
  });
1067
1090
  }
1068
- function ei(e, t) {
1091
+ function Yn(e, t) {
1069
1092
  if (!t.customMerge)
1070
- return Pe;
1093
+ return Le;
1071
1094
  var r = t.customMerge(e);
1072
- return typeof r == "function" ? r : Pe;
1095
+ return typeof r == "function" ? r : Le;
1073
1096
  }
1074
- function ti(e) {
1097
+ function qn(e) {
1075
1098
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1076
1099
  return Object.propertyIsEnumerable.call(e, t);
1077
1100
  }) : [];
1078
1101
  }
1079
- function rr(e) {
1080
- return Object.keys(e).concat(ti(e));
1102
+ function qt(e) {
1103
+ return Object.keys(e).concat(qn(e));
1081
1104
  }
1082
- function Nr(e, t) {
1105
+ function Lr(e, t) {
1083
1106
  try {
1084
1107
  return t in e;
1085
1108
  } catch {
1086
1109
  return !1;
1087
1110
  }
1088
1111
  }
1089
- function ri(e, t) {
1090
- return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
+ function Kn(e, t) {
1113
+ return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1091
1114
  }
1092
- function ni(e, t, r) {
1115
+ function ei(e, t, r) {
1093
1116
  var n = {};
1094
- return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1095
- n[i] = Ve(e[i], r);
1096
- }), rr(t).forEach(function(i) {
1097
- ri(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
1117
+ return r.isMergeableObject(e) && qt(e).forEach(function(i) {
1118
+ n[i] = We(e[i], r);
1119
+ }), qt(t).forEach(function(i) {
1120
+ Kn(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1098
1121
  }), n;
1099
1122
  }
1100
- function Pe(e, t, r) {
1101
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Ve;
1102
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1103
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Ve(t, r);
1123
+ function Le(e, t, r) {
1124
+ r = r || {}, r.arrayMerge = r.arrayMerge || Qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = We;
1125
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1126
+ return s ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : We(t, r);
1104
1127
  }
1105
- Pe.all = function(t, r) {
1128
+ Le.all = function(t, r) {
1106
1129
  if (!Array.isArray(t))
1107
1130
  throw new Error("first argument should be an array");
1108
1131
  return t.reduce(function(n, i) {
1109
- return Pe(n, i, r);
1132
+ return Le(n, i, r);
1110
1133
  }, {});
1111
1134
  };
1112
- var ii = Pe, oi = ii;
1113
- const si = /* @__PURE__ */ Wn(oi);
1114
- var It = function(e, t) {
1115
- return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1116
- r.__proto__ = n;
1117
- } || function(r, n) {
1118
- for (var i in n)
1119
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1120
- }, It(e, t);
1121
- };
1122
- function ft(e, t) {
1123
- if (typeof t != "function" && t !== null)
1124
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1125
- It(e, t);
1126
- function r() {
1127
- this.constructor = e;
1128
- }
1129
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1130
- }
1131
- var re = function() {
1132
- return re = Object.assign || function(t) {
1133
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1134
- r = arguments[n];
1135
- for (var o in r)
1136
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1137
- }
1138
- return t;
1139
- }, re.apply(this, arguments);
1140
- };
1141
- function ai(e, t) {
1142
- var r = {};
1143
- for (var n in e)
1144
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1145
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1146
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1147
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1148
- return r;
1149
- }
1150
- function yt(e, t, r) {
1151
- if (r || arguments.length === 2)
1152
- for (var n = 0, i = t.length, o; n < i; n++)
1153
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1154
- return e.concat(o || Array.prototype.slice.call(t));
1155
- }
1156
- function vt(e, t) {
1157
- var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
1135
+ var ti = Le, ri = ti;
1136
+ const ni = /* @__PURE__ */ Fn(ri);
1137
+ function bt(e, t) {
1138
+ var r = t && t.cache ? t.cache : ci, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : si;
1158
1139
  return i(e, {
1159
1140
  cache: r,
1160
1141
  serializer: n
1161
1142
  });
1162
1143
  }
1163
- function ui(e) {
1144
+ function ii(e) {
1164
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1165
1146
  }
1166
- function li(e, t, r, n) {
1167
- var i = ui(n) ? n : r(n), o = t.get(i);
1168
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1147
+ function Or(e, t, r, n) {
1148
+ var i = ii(n) ? n : r(n), s = t.get(i);
1149
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1169
1150
  }
1170
- function Mr(e, t, r) {
1171
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1172
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1151
+ function Cr(e, t, r) {
1152
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1153
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1173
1154
  }
1174
- function Rr(e, t, r, n, i) {
1155
+ function Dt(e, t, r, n, i) {
1175
1156
  return r.bind(t, e, n, i);
1176
1157
  }
1177
- function ci(e, t) {
1178
- var r = e.length === 1 ? li : Mr;
1179
- return Rr(e, this, r, t.cache.create(), t.serializer);
1158
+ function si(e, t) {
1159
+ var r = e.length === 1 ? Or : Cr;
1160
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1180
1161
  }
1181
- function hi(e, t) {
1182
- return Rr(e, this, Mr, t.cache.create(), t.serializer);
1162
+ function oi(e, t) {
1163
+ return Dt(e, this, Cr, t.cache.create(), t.serializer);
1183
1164
  }
1184
- var fi = function() {
1165
+ function ai(e, t) {
1166
+ return Dt(e, this, Or, t.cache.create(), t.serializer);
1167
+ }
1168
+ var ui = function() {
1185
1169
  return JSON.stringify(arguments);
1186
- }, pi = (
1170
+ }, li = (
1187
1171
  /** @class */
1188
1172
  function() {
1189
1173
  function e() {
@@ -1195,71 +1179,62 @@ var fi = function() {
1195
1179
  this.cache[t] = r;
1196
1180
  }, e;
1197
1181
  }()
1198
- ), di = {
1182
+ ), ci = {
1199
1183
  create: function() {
1200
- return new pi();
1184
+ return new li();
1201
1185
  }
1202
- }, _t = {
1203
- variadic: hi
1204
- }, at = function() {
1205
- return at = Object.assign || function(t) {
1206
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
- r = arguments[n];
1208
- for (var o in r)
1209
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
- }
1211
- return t;
1212
- }, at.apply(this, arguments);
1213
- };
1214
- var S;
1186
+ }, gt = {
1187
+ variadic: oi,
1188
+ monadic: ai
1189
+ }, S;
1215
1190
  (function(e) {
1216
1191
  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";
1217
1192
  })(S || (S = {}));
1218
- var B;
1193
+ var P;
1219
1194
  (function(e) {
1220
1195
  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";
1221
- })(B || (B = {}));
1196
+ })(P || (P = {}));
1222
1197
  var Oe;
1223
1198
  (function(e) {
1224
1199
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1225
1200
  })(Oe || (Oe = {}));
1226
- function nr(e) {
1227
- return e.type === B.literal;
1201
+ function Kt(e) {
1202
+ return e.type === P.literal;
1228
1203
  }
1229
- function mi(e) {
1230
- return e.type === B.argument;
1204
+ function hi(e) {
1205
+ return e.type === P.argument;
1231
1206
  }
1232
- function Ur(e) {
1233
- return e.type === B.number;
1207
+ function Ir(e) {
1208
+ return e.type === P.number;
1234
1209
  }
1235
- function Dr(e) {
1236
- return e.type === B.date;
1210
+ function Nr(e) {
1211
+ return e.type === P.date;
1237
1212
  }
1238
- function kr(e) {
1239
- return e.type === B.time;
1213
+ function Mr(e) {
1214
+ return e.type === P.time;
1240
1215
  }
1241
- function jr(e) {
1242
- return e.type === B.select;
1216
+ function Rr(e) {
1217
+ return e.type === P.select;
1243
1218
  }
1244
- function Gr(e) {
1245
- return e.type === B.plural;
1219
+ function Ur(e) {
1220
+ return e.type === P.plural;
1246
1221
  }
1247
- function bi(e) {
1248
- return e.type === B.pound;
1222
+ function fi(e) {
1223
+ return e.type === P.pound;
1249
1224
  }
1250
- function $r(e) {
1251
- return e.type === B.tag;
1225
+ function Dr(e) {
1226
+ return e.type === P.tag;
1252
1227
  }
1253
- function Fr(e) {
1228
+ function kr(e) {
1254
1229
  return !!(e && typeof e == "object" && e.type === Oe.number);
1255
1230
  }
1256
- function Nt(e) {
1231
+ function Pt(e) {
1257
1232
  return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1258
1233
  }
1259
- var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
1260
- function yi(e) {
1234
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1235
+ function pi(e) {
1261
1236
  var t = {};
1262
- return e.replace(gi, function(r) {
1237
+ return e.replace(di, function(r) {
1263
1238
  var n = r.length;
1264
1239
  switch (r[0]) {
1265
1240
  case "G":
@@ -1348,46 +1323,36 @@ function yi(e) {
1348
1323
  return "";
1349
1324
  }), t;
1350
1325
  }
1351
- var L = function() {
1352
- return L = Object.assign || function(t) {
1353
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1354
- r = arguments[n];
1355
- for (var o in r)
1356
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1357
- }
1358
- return t;
1359
- }, L.apply(this, arguments);
1360
- };
1361
- var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
- function _i(e) {
1326
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1327
+ function bi(e) {
1363
1328
  if (e.length === 0)
1364
1329
  throw new Error("Number skeleton cannot be empty");
1365
- for (var t = e.split(vi).filter(function(h) {
1330
+ for (var t = e.split(mi).filter(function(h) {
1366
1331
  return h.length > 0;
1367
1332
  }), r = [], n = 0, i = t; n < i.length; n++) {
1368
- var o = i[n], s = o.split("/");
1369
- if (s.length === 0)
1333
+ var s = i[n], o = s.split("/");
1334
+ if (o.length === 0)
1370
1335
  throw new Error("Invalid number skeleton");
1371
- for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
1372
- var p = c[u];
1373
- if (p.length === 0)
1336
+ for (var a = o[0], l = o.slice(1), u = 0, c = l; u < c.length; u++) {
1337
+ var d = c[u];
1338
+ if (d.length === 0)
1374
1339
  throw new Error("Invalid number skeleton");
1375
1340
  }
1376
1341
  r.push({ stem: a, options: l });
1377
1342
  }
1378
1343
  return r;
1379
1344
  }
1380
- function Ei(e) {
1345
+ function gi(e) {
1381
1346
  return e.replace(/^(.*?)-/, "");
1382
1347
  }
1383
- var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1384
- function or(e) {
1348
+ var er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1349
+ function tr(e) {
1385
1350
  var t = {};
1386
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1351
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
1387
1352
  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)), "";
1388
1353
  }), t;
1389
1354
  }
1390
- function zr(e) {
1355
+ function $r(e) {
1391
1356
  switch (e) {
1392
1357
  case "sign-auto":
1393
1358
  return {
@@ -1427,7 +1392,7 @@ function zr(e) {
1427
1392
  };
1428
1393
  }
1429
1394
  }
1430
- function Si(e) {
1395
+ function _i(e) {
1431
1396
  var t;
1432
1397
  if (e[0] === "E" && e[1] === "E" ? (t = {
1433
1398
  notation: "engineering"
@@ -1435,17 +1400,17 @@ function Si(e) {
1435
1400
  notation: "scientific"
1436
1401
  }, e = e.slice(1)), t) {
1437
1402
  var r = e.slice(0, 2);
1438
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1403
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1439
1404
  throw new Error("Malformed concise eng/scientific notation");
1440
1405
  t.minimumIntegerDigits = e.length;
1441
1406
  }
1442
1407
  return t;
1443
1408
  }
1444
- function sr(e) {
1445
- var t = {}, r = zr(e);
1409
+ function rr(e) {
1410
+ var t = {}, r = $r(e);
1446
1411
  return r || t;
1447
1412
  }
1448
- function Ti(e) {
1413
+ function vi(e) {
1449
1414
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1450
1415
  var i = n[r];
1451
1416
  switch (i.stem) {
@@ -1469,7 +1434,7 @@ function Ti(e) {
1469
1434
  continue;
1470
1435
  case "measure-unit":
1471
1436
  case "unit":
1472
- t.style = "unit", t.unit = Ei(i.options[0]);
1437
+ t.style = "unit", t.unit = gi(i.options[0]);
1473
1438
  continue;
1474
1439
  case "compact-short":
1475
1440
  case "K":
@@ -1480,13 +1445,13 @@ function Ti(e) {
1480
1445
  t.notation = "compact", t.compactDisplay = "long";
1481
1446
  continue;
1482
1447
  case "scientific":
1483
- t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1484
- return L(L({}, l), sr(u));
1448
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1449
+ return H(H({}, l), rr(u));
1485
1450
  }, {}));
1486
1451
  continue;
1487
1452
  case "engineering":
1488
- t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1489
- return L(L({}, l), sr(u));
1453
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1454
+ return H(H({}, l), rr(u));
1490
1455
  }, {}));
1491
1456
  continue;
1492
1457
  case "notation-simple":
@@ -1531,11 +1496,11 @@ function Ti(e) {
1531
1496
  case "integer-width":
1532
1497
  if (i.options.length > 1)
1533
1498
  throw new RangeError("integer-width stems only accept a single optional option");
1534
- i.options[0].replace(xi, function(l, u, c, p, h, g) {
1499
+ i.options[0].replace(yi, function(l, u, c, d, h, g) {
1535
1500
  if (u)
1536
1501
  t.minimumIntegerDigits = c.length;
1537
1502
  else {
1538
- if (p && h)
1503
+ if (d && h)
1539
1504
  throw new Error("We currently do not support maximum integer digits");
1540
1505
  if (g)
1541
1506
  throw new Error("We currently do not support exact integer digits");
@@ -1544,28 +1509,28 @@ function Ti(e) {
1544
1509
  });
1545
1510
  continue;
1546
1511
  }
1547
- if (Xr.test(i.stem)) {
1512
+ if (Fr.test(i.stem)) {
1548
1513
  t.minimumIntegerDigits = i.stem.length;
1549
1514
  continue;
1550
1515
  }
1551
- if (ir.test(i.stem)) {
1516
+ if (er.test(i.stem)) {
1552
1517
  if (i.options.length > 1)
1553
1518
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1554
- i.stem.replace(ir, function(l, u, c, p, h, g) {
1555
- return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1519
+ i.stem.replace(er, function(l, u, c, d, h, g) {
1520
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1556
1521
  });
1557
- var o = i.options[0];
1558
- o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
1522
+ var s = i.options[0];
1523
+ s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), tr(s)));
1559
1524
  continue;
1560
1525
  }
1561
- if (Wr.test(i.stem)) {
1562
- t = L(L({}, t), or(i.stem));
1526
+ if (jr.test(i.stem)) {
1527
+ t = H(H({}, t), tr(i.stem));
1563
1528
  continue;
1564
1529
  }
1565
- var s = zr(i.stem);
1566
- s && (t = L(L({}, t), s));
1567
- var a = Si(i.stem);
1568
- a && (t = L(L({}, t), a));
1530
+ var o = $r(i.stem);
1531
+ o && (t = H(H({}, t), o));
1532
+ var a = _i(i.stem);
1533
+ a && (t = H(H({}, t), a));
1569
1534
  }
1570
1535
  return t;
1571
1536
  }
@@ -2984,23 +2949,23 @@ var rt = {
2984
2949
  "h"
2985
2950
  ]
2986
2951
  };
2987
- function wi(e, t) {
2952
+ function Ei(e, t) {
2988
2953
  for (var r = "", n = 0; n < e.length; n++) {
2989
2954
  var i = e.charAt(n);
2990
2955
  if (i === "j") {
2991
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2992
- o++, n++;
2993
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
2956
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2957
+ s++, n++;
2958
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = xi(t);
2994
2959
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2995
2960
  r += l;
2996
- for (; s-- > 0; )
2961
+ for (; o-- > 0; )
2997
2962
  r = u + r;
2998
2963
  } else
2999
2964
  i === "J" ? r += "H" : r += i;
3000
2965
  }
3001
2966
  return r;
3002
2967
  }
3003
- function Hi(e) {
2968
+ function xi(e) {
3004
2969
  var t = e.hourCycle;
3005
2970
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3006
2971
  e.hourCycles && // @ts-ignore
@@ -3022,20 +2987,20 @@ function Hi(e) {
3022
2987
  var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
3023
2988
  return i[0];
3024
2989
  }
3025
- var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
2990
+ var yt, Si = new RegExp("^".concat(Gr.source, "*")), Ti = new RegExp("".concat(Gr.source, "*$"));
3026
2991
  function w(e, t) {
3027
2992
  return { start: e, end: t };
3028
2993
  }
3029
- var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
2994
+ var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Ci = Oi ? Number.isSafeInteger : function(e) {
3030
2995
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3031
- }, Mt = !0;
2996
+ }, Lt = !0;
3032
2997
  try {
3033
- var Ui = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
- Mt = ((Et = Ui.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2998
+ var Ii = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2999
+ Lt = ((yt = Ii.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
3035
3000
  } catch {
3036
- Mt = !1;
3001
+ Lt = !1;
3037
3002
  }
3038
- var ar = Pi ? (
3003
+ var nr = wi ? (
3039
3004
  // Native
3040
3005
  function(t, r, n) {
3041
3006
  return t.startsWith(r, n);
@@ -3045,31 +3010,31 @@ var ar = Pi ? (
3045
3010
  function(t, r, n) {
3046
3011
  return t.slice(n, n + r.length) === r;
3047
3012
  }
3048
- ), Rt = Oi ? String.fromCodePoint : (
3013
+ ), Ot = Hi ? String.fromCodePoint : (
3049
3014
  // IE11
3050
3015
  function() {
3051
3016
  for (var t = [], r = 0; r < arguments.length; r++)
3052
3017
  t[r] = arguments[r];
3053
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3054
- if (s = t[o++], s > 1114111)
3055
- throw RangeError(s + " is not a valid code point");
3056
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3018
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3019
+ if (o = t[s++], o > 1114111)
3020
+ throw RangeError(o + " is not a valid code point");
3021
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3057
3022
  }
3058
3023
  return n;
3059
3024
  }
3060
- ), ur = (
3025
+ ), ir = (
3061
3026
  // native
3062
- Li ? Object.fromEntries : (
3027
+ Ai ? Object.fromEntries : (
3063
3028
  // Ponyfill
3064
3029
  function(t) {
3065
3030
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3066
- var o = i[n], s = o[0], a = o[1];
3067
- r[s] = a;
3031
+ var s = i[n], o = s[0], a = s[1];
3032
+ r[o] = a;
3068
3033
  }
3069
3034
  return r;
3070
3035
  }
3071
3036
  )
3072
- ), Jr = Ci ? (
3037
+ ), Vr = Bi ? (
3073
3038
  // Native
3074
3039
  function(t, r) {
3075
3040
  return t.codePointAt(r);
@@ -3079,11 +3044,11 @@ var ar = Pi ? (
3079
3044
  function(t, r) {
3080
3045
  var n = t.length;
3081
3046
  if (!(r < 0 || r >= n)) {
3082
- var i = t.charCodeAt(r), o;
3083
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
+ var i = t.charCodeAt(r), s;
3048
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3084
3049
  }
3085
3050
  }
3086
- ), Di = Ii ? (
3051
+ ), Ni = Pi ? (
3087
3052
  // Native
3088
3053
  function(t) {
3089
3054
  return t.trimStart();
@@ -3091,9 +3056,9 @@ var ar = Pi ? (
3091
3056
  ) : (
3092
3057
  // Ponyfill
3093
3058
  function(t) {
3094
- return t.replace(Ai, "");
3059
+ return t.replace(Si, "");
3095
3060
  }
3096
- ), ki = Ni ? (
3061
+ ), Mi = Li ? (
3097
3062
  // Native
3098
3063
  function(t) {
3099
3064
  return t.trimEnd();
@@ -3101,32 +3066,32 @@ var ar = Pi ? (
3101
3066
  ) : (
3102
3067
  // Ponyfill
3103
3068
  function(t) {
3104
- return t.replace(Bi, "");
3069
+ return t.replace(Ti, "");
3105
3070
  }
3106
3071
  );
3107
- function Zr(e, t) {
3072
+ function Wr(e, t) {
3108
3073
  return new RegExp(e, t);
3109
3074
  }
3110
- var Ut;
3111
- if (Mt) {
3112
- var lr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
- Ut = function(t, r) {
3075
+ var Ct;
3076
+ if (Lt) {
3077
+ var sr = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3078
+ Ct = function(t, r) {
3114
3079
  var n;
3115
- lr.lastIndex = r;
3116
- var i = lr.exec(t);
3080
+ sr.lastIndex = r;
3081
+ var i = sr.exec(t);
3117
3082
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3118
3083
  };
3119
3084
  } else
3120
- Ut = function(t, r) {
3085
+ Ct = function(t, r) {
3121
3086
  for (var n = []; ; ) {
3122
- var i = Jr(t, r);
3123
- if (i === void 0 || Qr(i) || Fi(i))
3087
+ var i = Vr(t, r);
3088
+ if (i === void 0 || Xr(i) || ki(i))
3124
3089
  break;
3125
3090
  n.push(i), r += i >= 65536 ? 2 : 1;
3126
3091
  }
3127
- return Rt.apply(void 0, n);
3092
+ return Ot.apply(void 0, n);
3128
3093
  };
3129
- var ji = (
3094
+ var Ri = (
3130
3095
  /** @class */
3131
3096
  function() {
3132
3097
  function e(t, r) {
@@ -3138,35 +3103,35 @@ var ji = (
3138
3103
  return this.parseMessage(0, "", !1);
3139
3104
  }, e.prototype.parseMessage = function(t, r, n) {
3140
3105
  for (var i = []; !this.isEOF(); ) {
3141
- var o = this.char();
3142
- if (o === 123) {
3143
- var s = this.parseArgument(t, n);
3144
- if (s.err)
3145
- return s;
3146
- i.push(s.val);
3106
+ var s = this.char();
3107
+ if (s === 123) {
3108
+ var o = this.parseArgument(t, n);
3109
+ if (o.err)
3110
+ return o;
3111
+ i.push(o.val);
3147
3112
  } else {
3148
- if (o === 125 && t > 0)
3113
+ if (s === 125 && t > 0)
3149
3114
  break;
3150
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3115
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3151
3116
  var a = this.clonePosition();
3152
3117
  this.bump(), i.push({
3153
- type: B.pound,
3118
+ type: P.pound,
3154
3119
  location: w(a, this.clonePosition())
3155
3120
  });
3156
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3121
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3157
3122
  if (n)
3158
3123
  break;
3159
3124
  return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3160
- } else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
3161
- var s = this.parseTag(t, r);
3162
- if (s.err)
3163
- return s;
3164
- i.push(s.val);
3125
+ } else if (s === 60 && !this.ignoreTag && It(this.peek() || 0)) {
3126
+ var o = this.parseTag(t, r);
3127
+ if (o.err)
3128
+ return o;
3129
+ i.push(o.val);
3165
3130
  } else {
3166
- var s = this.parseLiteral(t, r);
3167
- if (s.err)
3168
- return s;
3169
- i.push(s.val);
3131
+ var o = this.parseLiteral(t, r);
3132
+ if (o.err)
3133
+ return o;
3134
+ i.push(o.val);
3170
3135
  }
3171
3136
  }
3172
3137
  }
@@ -3178,26 +3143,26 @@ var ji = (
3178
3143
  if (this.bumpSpace(), this.bumpIf("/>"))
3179
3144
  return {
3180
3145
  val: {
3181
- type: B.literal,
3146
+ type: P.literal,
3182
3147
  value: "<".concat(i, "/>"),
3183
3148
  location: w(n, this.clonePosition())
3184
3149
  },
3185
3150
  err: null
3186
3151
  };
3187
3152
  if (this.bumpIf(">")) {
3188
- var o = this.parseMessage(t + 1, r, !0);
3189
- if (o.err)
3190
- return o;
3191
- var s = o.val, a = this.clonePosition();
3153
+ var s = this.parseMessage(t + 1, r, !0);
3154
+ if (s.err)
3155
+ return s;
3156
+ var o = s.val, a = this.clonePosition();
3192
3157
  if (this.bumpIf("</")) {
3193
- if (this.isEOF() || !Dt(this.char()))
3158
+ if (this.isEOF() || !It(this.char()))
3194
3159
  return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
3195
3160
  var l = this.clonePosition(), u = this.parseTagName();
3196
3161
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
3162
  val: {
3198
- type: B.tag,
3163
+ type: P.tag,
3199
3164
  value: i,
3200
- children: s,
3165
+ children: o,
3201
3166
  location: w(n, this.clonePosition())
3202
3167
  },
3203
3168
  err: null
@@ -3208,21 +3173,21 @@ var ji = (
3208
3173
  return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
3209
3174
  }, e.prototype.parseTagName = function() {
3210
3175
  var t = this.offset();
3211
- for (this.bump(); !this.isEOF() && $i(this.char()); )
3176
+ for (this.bump(); !this.isEOF() && Di(this.char()); )
3212
3177
  this.bump();
3213
3178
  return this.message.slice(t, this.offset());
3214
3179
  }, e.prototype.parseLiteral = function(t, r) {
3215
3180
  for (var n = this.clonePosition(), i = ""; ; ) {
3216
- var o = this.tryParseQuote(r);
3217
- if (o) {
3218
- i += o;
3219
- continue;
3220
- }
3221
- var s = this.tryParseUnquoted(t, r);
3181
+ var s = this.tryParseQuote(r);
3222
3182
  if (s) {
3223
3183
  i += s;
3224
3184
  continue;
3225
3185
  }
3186
+ var o = this.tryParseUnquoted(t, r);
3187
+ if (o) {
3188
+ i += o;
3189
+ continue;
3190
+ }
3226
3191
  var a = this.tryParseLeftAngleBracket();
3227
3192
  if (a) {
3228
3193
  i += a;
@@ -3232,12 +3197,12 @@ var ji = (
3232
3197
  }
3233
3198
  var l = w(n, this.clonePosition());
3234
3199
  return {
3235
- val: { type: B.literal, value: i, location: l },
3200
+ val: { type: P.literal, value: i, location: l },
3236
3201
  err: null
3237
3202
  };
3238
3203
  }, e.prototype.tryParseLeftAngleBracket = function() {
3239
3204
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3240
- !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
+ !Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
3206
  }, e.prototype.tryParseQuote = function(t) {
3242
3207
  if (this.isEOF() || this.char() !== 39)
3243
3208
  return null;
@@ -3271,12 +3236,12 @@ var ji = (
3271
3236
  r.push(n);
3272
3237
  this.bump();
3273
3238
  }
3274
- return Rt.apply(void 0, r);
3239
+ return Ot.apply(void 0, r);
3275
3240
  }, e.prototype.tryParseUnquoted = function(t, r) {
3276
3241
  if (this.isEOF())
3277
3242
  return null;
3278
3243
  var n = this.char();
3279
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
3244
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3280
3245
  }, e.prototype.parseArgument = function(t, r) {
3281
3246
  var n = this.clonePosition();
3282
3247
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3292,7 +3257,7 @@ var ji = (
3292
3257
  case 125:
3293
3258
  return this.bump(), {
3294
3259
  val: {
3295
- type: B.argument,
3260
+ type: P.argument,
3296
3261
  // value does not include the opening and closing braces.
3297
3262
  value: i,
3298
3263
  location: w(n, this.clonePosition())
@@ -3305,15 +3270,15 @@ var ji = (
3305
3270
  return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3306
3271
  }
3307
3272
  }, e.prototype.parseIdentifierIfPossible = function() {
3308
- var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
3273
+ var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
3309
3274
  this.bumpTo(i);
3310
- var o = this.clonePosition(), s = w(t, o);
3311
- return { value: n, location: s };
3275
+ var s = this.clonePosition(), o = w(t, s);
3276
+ return { value: n, location: o };
3312
3277
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3313
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3278
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3314
3279
  switch (a) {
3315
3280
  case "":
3316
- return this.error(S.EXPECT_ARGUMENT_TYPE, w(s, l));
3281
+ return this.error(S.EXPECT_ARGUMENT_TYPE, w(o, l));
3317
3282
  case "number":
3318
3283
  case "date":
3319
3284
  case "time": {
@@ -3321,10 +3286,10 @@ var ji = (
3321
3286
  var u = null;
3322
3287
  if (this.bumpIf(",")) {
3323
3288
  this.bumpSpace();
3324
- var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3325
- if (p.err)
3326
- return p;
3327
- var h = ki(p.val);
3289
+ var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3290
+ if (d.err)
3291
+ return d;
3292
+ var h = Mi(d.val);
3328
3293
  if (h.length === 0)
3329
3294
  return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3330
3295
  var g = w(c, this.clonePosition());
@@ -3334,25 +3299,25 @@ var ji = (
3334
3299
  if (x.err)
3335
3300
  return x;
3336
3301
  var y = w(i, this.clonePosition());
3337
- if (u && ar(u?.style, "::", 0)) {
3338
- var v = Di(u.style.slice(2));
3302
+ if (u && nr(u?.style, "::", 0)) {
3303
+ var _ = Ni(u.style.slice(2));
3339
3304
  if (a === "number") {
3340
- var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
3341
- return p.err ? p : {
3342
- val: { type: B.number, value: n, location: y, style: p.val },
3305
+ var d = this.parseNumberSkeletonFromString(_, u.styleLocation);
3306
+ return d.err ? d : {
3307
+ val: { type: P.number, value: n, location: y, style: d.val },
3343
3308
  err: null
3344
3309
  };
3345
3310
  } else {
3346
- if (v.length === 0)
3311
+ if (_.length === 0)
3347
3312
  return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
3348
- var m = v;
3349
- this.locale && (m = wi(v, this.locale));
3313
+ var m = _;
3314
+ this.locale && (m = Ei(_, this.locale));
3350
3315
  var h = {
3351
3316
  type: Oe.dateTime,
3352
3317
  pattern: m,
3353
3318
  location: u.styleLocation,
3354
- parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
3355
- }, T = a === "date" ? B.date : B.time;
3319
+ parsedOptions: this.shouldParseSkeletons ? pi(m) : {}
3320
+ }, T = a === "date" ? P.date : P.time;
3356
3321
  return {
3357
3322
  val: { type: T, value: n, location: y, style: h },
3358
3323
  err: null
@@ -3361,10 +3326,10 @@ var ji = (
3361
3326
  }
3362
3327
  return {
3363
3328
  val: {
3364
- type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3329
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3365
3330
  value: n,
3366
3331
  location: y,
3367
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3332
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3368
3333
  },
3369
3334
  err: null
3370
3335
  };
@@ -3372,40 +3337,40 @@ var ji = (
3372
3337
  case "plural":
3373
3338
  case "selectordinal":
3374
3339
  case "select": {
3375
- var A = this.clonePosition();
3340
+ var B = this.clonePosition();
3376
3341
  if (this.bumpSpace(), !this.bumpIf(","))
3377
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, at({}, A)));
3342
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B, H({}, B)));
3378
3343
  this.bumpSpace();
3379
3344
  var M = this.parseIdentifierIfPossible(), k = 0;
3380
3345
  if (a !== "select" && M.value === "offset") {
3381
3346
  if (!this.bumpIf(":"))
3382
3347
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3383
3348
  this.bumpSpace();
3384
- var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3385
- if (p.err)
3386
- return p;
3387
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
3349
+ var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3350
+ if (d.err)
3351
+ return d;
3352
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = d.val;
3388
3353
  }
3389
- var F = this.tryParsePluralOrSelectOptions(t, a, r, M);
3390
- if (F.err)
3391
- return F;
3354
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
3355
+ if ($.err)
3356
+ return $;
3392
3357
  var x = this.tryParseArgumentClose(i);
3393
3358
  if (x.err)
3394
3359
  return x;
3395
3360
  var J = w(i, this.clonePosition());
3396
3361
  return a === "select" ? {
3397
3362
  val: {
3398
- type: B.select,
3363
+ type: P.select,
3399
3364
  value: n,
3400
- options: ur(F.val),
3365
+ options: ir($.val),
3401
3366
  location: J
3402
3367
  },
3403
3368
  err: null
3404
3369
  } : {
3405
3370
  val: {
3406
- type: B.plural,
3371
+ type: P.plural,
3407
3372
  value: n,
3408
- options: ur(F.val),
3373
+ options: ir($.val),
3409
3374
  offset: k,
3410
3375
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3411
3376
  location: J
@@ -3414,7 +3379,7 @@ var ji = (
3414
3379
  };
3415
3380
  }
3416
3381
  default:
3417
- return this.error(S.INVALID_ARGUMENT_TYPE, w(s, l));
3382
+ return this.error(S.INVALID_ARGUMENT_TYPE, w(o, l));
3418
3383
  }
3419
3384
  }, e.prototype.tryParseArgumentClose = function(t) {
3420
3385
  return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3456,7 +3421,7 @@ var ji = (
3456
3421
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3457
3422
  var n = [];
3458
3423
  try {
3459
- n = _i(t);
3424
+ n = bi(t);
3460
3425
  } catch {
3461
3426
  return this.error(S.INVALID_NUMBER_SKELETON, r);
3462
3427
  }
@@ -3465,25 +3430,25 @@ var ji = (
3465
3430
  type: Oe.number,
3466
3431
  tokens: n,
3467
3432
  location: r,
3468
- parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3433
+ parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3469
3434
  },
3470
3435
  err: null
3471
3436
  };
3472
3437
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3473
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3438
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3474
3439
  if (u.length === 0) {
3475
- var p = this.clonePosition();
3440
+ var d = this.clonePosition();
3476
3441
  if (r !== "select" && this.bumpIf("=")) {
3477
3442
  var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3478
3443
  if (h.err)
3479
3444
  return h;
3480
- c = w(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
3445
+ c = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3481
3446
  } else
3482
3447
  break;
3483
3448
  }
3484
3449
  if (l.has(u))
3485
3450
  return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3486
- u === "other" && (s = !0), this.bumpSpace();
3451
+ u === "other" && (o = !0), this.bumpSpace();
3487
3452
  var g = this.clonePosition();
3488
3453
  if (!this.bumpIf("{"))
3489
3454
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
@@ -3499,21 +3464,21 @@ var ji = (
3499
3464
  value: x.val,
3500
3465
  location: w(g, this.clonePosition())
3501
3466
  }
3502
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3467
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, c = s.location;
3503
3468
  }
3504
- return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3469
+ return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
3470
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3506
3471
  var n = 1, i = this.clonePosition();
3507
3472
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3508
- for (var o = !1, s = 0; !this.isEOF(); ) {
3473
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3509
3474
  var a = this.char();
3510
3475
  if (a >= 48 && a <= 57)
3511
- o = !0, s = s * 10 + (a - 48), this.bump();
3476
+ s = !0, o = o * 10 + (a - 48), this.bump();
3512
3477
  else
3513
3478
  break;
3514
3479
  }
3515
3480
  var l = w(i, this.clonePosition());
3516
- return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3481
+ return s ? (o *= n, Ci(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3517
3482
  }, e.prototype.offset = function() {
3518
3483
  return this.position.offset;
3519
3484
  }, e.prototype.isEOF = function() {
@@ -3528,7 +3493,7 @@ var ji = (
3528
3493
  var t = this.position.offset;
3529
3494
  if (t >= this.message.length)
3530
3495
  throw Error("out of bound");
3531
- var r = Jr(this.message, t);
3496
+ var r = Vr(this.message, t);
3532
3497
  if (r === void 0)
3533
3498
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3534
3499
  return r;
@@ -3547,7 +3512,7 @@ var ji = (
3547
3512
  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);
3548
3513
  }
3549
3514
  }, e.prototype.bumpIf = function(t) {
3550
- if (ar(this.message, t, this.offset())) {
3515
+ if (nr(this.message, t, this.offset())) {
3551
3516
  for (var r = 0; r < t.length; r++)
3552
3517
  this.bump();
3553
3518
  return !0;
@@ -3569,7 +3534,7 @@ var ji = (
3569
3534
  break;
3570
3535
  }
3571
3536
  }, e.prototype.bumpSpace = function() {
3572
- for (; !this.isEOF() && Qr(this.char()); )
3537
+ for (; !this.isEOF() && Xr(this.char()); )
3573
3538
  this.bump();
3574
3539
  }, e.prototype.peek = function() {
3575
3540
  if (this.isEOF())
@@ -3579,204 +3544,204 @@ var ji = (
3579
3544
  }, e;
3580
3545
  }()
3581
3546
  );
3582
- function Dt(e) {
3547
+ function It(e) {
3583
3548
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3584
3549
  }
3585
- function Gi(e) {
3586
- return Dt(e) || e === 47;
3550
+ function Ui(e) {
3551
+ return It(e) || e === 47;
3587
3552
  }
3588
- function $i(e) {
3553
+ function Di(e) {
3589
3554
  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;
3590
3555
  }
3591
- function Qr(e) {
3556
+ function Xr(e) {
3592
3557
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3593
3558
  }
3594
- function Fi(e) {
3559
+ function ki(e) {
3595
3560
  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;
3596
3561
  }
3597
- function kt(e) {
3562
+ function Nt(e) {
3598
3563
  e.forEach(function(t) {
3599
- if (delete t.location, jr(t) || Gr(t))
3564
+ if (delete t.location, Rr(t) || Ur(t))
3600
3565
  for (var r in t.options)
3601
- delete t.options[r].location, kt(t.options[r].value);
3566
+ delete t.options[r].location, Nt(t.options[r].value);
3602
3567
  else
3603
- Ur(t) && Fr(t.style) || (Dr(t) || kr(t)) && Nt(t.style) ? delete t.style.location : $r(t) && kt(t.children);
3568
+ Ir(t) && kr(t.style) || (Nr(t) || Mr(t)) && Pt(t.style) ? delete t.style.location : Dr(t) && Nt(t.children);
3604
3569
  });
3605
3570
  }
3606
- function Vi(e, t) {
3607
- t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
- var r = new ji(e, t).parse();
3571
+ function Gi(e, t) {
3572
+ t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3573
+ var r = new Ri(e, t).parse();
3609
3574
  if (r.err) {
3610
3575
  var n = SyntaxError(S[r.err.kind]);
3611
3576
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3612
3577
  }
3613
- return t?.captureLocation || kt(r.val), r.val;
3578
+ return t?.captureLocation || Nt(r.val), r.val;
3614
3579
  }
3615
- var Le;
3580
+ var Ce;
3616
3581
  (function(e) {
3617
3582
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3618
- })(Le || (Le = {}));
3619
- var pt = (
3583
+ })(Ce || (Ce = {}));
3584
+ var ht = (
3620
3585
  /** @class */
3621
3586
  function(e) {
3622
- ft(t, e);
3587
+ ce(t, e);
3623
3588
  function t(r, n, i) {
3624
- var o = e.call(this, r) || this;
3625
- return o.code = n, o.originalMessage = i, o;
3589
+ var s = e.call(this, r) || this;
3590
+ return s.code = n, s.originalMessage = i, s;
3626
3591
  }
3627
3592
  return t.prototype.toString = function() {
3628
3593
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3629
3594
  }, t;
3630
3595
  }(Error)
3631
- ), cr = (
3596
+ ), or = (
3632
3597
  /** @class */
3633
3598
  function(e) {
3634
- ft(t, e);
3635
- function t(r, n, i, o) {
3636
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3599
+ ce(t, e);
3600
+ function t(r, n, i, s) {
3601
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, s) || this;
3637
3602
  }
3638
3603
  return t;
3639
- }(pt)
3640
- ), Wi = (
3604
+ }(ht)
3605
+ ), ji = (
3641
3606
  /** @class */
3642
3607
  function(e) {
3643
- ft(t, e);
3608
+ ce(t, e);
3644
3609
  function t(r, n, i) {
3645
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
3610
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3646
3611
  }
3647
3612
  return t;
3648
- }(pt)
3649
- ), Xi = (
3613
+ }(ht)
3614
+ ), Fi = (
3650
3615
  /** @class */
3651
3616
  function(e) {
3652
- ft(t, e);
3617
+ ce(t, e);
3653
3618
  function t(r, n) {
3654
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
3619
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3655
3620
  }
3656
3621
  return t;
3657
- }(pt)
3658
- ), j;
3622
+ }(ht)
3623
+ ), G;
3659
3624
  (function(e) {
3660
3625
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3661
- })(j || (j = {}));
3662
- function zi(e) {
3626
+ })(G || (G = {}));
3627
+ function $i(e) {
3663
3628
  return e.length < 2 ? e : e.reduce(function(t, r) {
3664
3629
  var n = t[t.length - 1];
3665
- return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
3630
+ return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3666
3631
  }, []);
3667
3632
  }
3668
- function Ji(e) {
3633
+ function Vi(e) {
3669
3634
  return typeof e == "function";
3670
3635
  }
3671
- function ot(e, t, r, n, i, o, s) {
3672
- if (e.length === 1 && nr(e[0]))
3636
+ function st(e, t, r, n, i, s, o) {
3637
+ if (e.length === 1 && Kt(e[0]))
3673
3638
  return [
3674
3639
  {
3675
- type: j.literal,
3640
+ type: G.literal,
3676
3641
  value: e[0].value
3677
3642
  }
3678
3643
  ];
3679
3644
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3680
3645
  var c = u[l];
3681
- if (nr(c)) {
3646
+ if (Kt(c)) {
3682
3647
  a.push({
3683
- type: j.literal,
3648
+ type: G.literal,
3684
3649
  value: c.value
3685
3650
  });
3686
3651
  continue;
3687
3652
  }
3688
- if (bi(c)) {
3689
- typeof o == "number" && a.push({
3690
- type: j.literal,
3691
- value: r.getNumberFormat(t).format(o)
3653
+ if (fi(c)) {
3654
+ typeof s == "number" && a.push({
3655
+ type: G.literal,
3656
+ value: r.getNumberFormat(t).format(s)
3692
3657
  });
3693
3658
  continue;
3694
3659
  }
3695
- var p = c.value;
3696
- if (!(i && p in i))
3697
- throw new Xi(p, s);
3698
- var h = i[p];
3699
- if (mi(c)) {
3660
+ var d = c.value;
3661
+ if (!(i && d in i))
3662
+ throw new Fi(d, o);
3663
+ var h = i[d];
3664
+ if (hi(c)) {
3700
3665
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3701
- type: typeof h == "string" ? j.literal : j.object,
3666
+ type: typeof h == "string" ? G.literal : G.object,
3702
3667
  value: h
3703
3668
  });
3704
3669
  continue;
3705
3670
  }
3706
- if (Dr(c)) {
3707
- var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
3671
+ if (Nr(c)) {
3672
+ var g = typeof c.style == "string" ? n.date[c.style] : Pt(c.style) ? c.style.parsedOptions : void 0;
3708
3673
  a.push({
3709
- type: j.literal,
3674
+ type: G.literal,
3710
3675
  value: r.getDateTimeFormat(t, g).format(h)
3711
3676
  });
3712
3677
  continue;
3713
3678
  }
3714
- if (kr(c)) {
3715
- var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
3679
+ if (Mr(c)) {
3680
+ var g = typeof c.style == "string" ? n.time[c.style] : Pt(c.style) ? c.style.parsedOptions : n.time.medium;
3716
3681
  a.push({
3717
- type: j.literal,
3682
+ type: G.literal,
3718
3683
  value: r.getDateTimeFormat(t, g).format(h)
3719
3684
  });
3720
3685
  continue;
3721
3686
  }
3722
- if (Ur(c)) {
3723
- var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
3687
+ if (Ir(c)) {
3688
+ var g = typeof c.style == "string" ? n.number[c.style] : kr(c.style) ? c.style.parsedOptions : void 0;
3724
3689
  g && g.scale && (h = h * (g.scale || 1)), a.push({
3725
- type: j.literal,
3690
+ type: G.literal,
3726
3691
  value: r.getNumberFormat(t, g).format(h)
3727
3692
  });
3728
3693
  continue;
3729
3694
  }
3730
- if ($r(c)) {
3731
- var x = c.children, y = c.value, v = i[y];
3732
- if (!Ji(v))
3733
- throw new Wi(y, "function", s);
3734
- var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
3695
+ if (Dr(c)) {
3696
+ var x = c.children, y = c.value, _ = i[y];
3697
+ if (!Vi(_))
3698
+ throw new ji(y, "function", o);
3699
+ var m = st(x, t, r, n, i, s), T = _(m.map(function(k) {
3735
3700
  return k.value;
3736
3701
  }));
3737
3702
  Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
3738
3703
  return {
3739
- type: typeof k == "string" ? j.literal : j.object,
3704
+ type: typeof k == "string" ? G.literal : G.object,
3740
3705
  value: k
3741
3706
  };
3742
3707
  }));
3743
3708
  }
3744
- if (jr(c)) {
3745
- var A = c.options[h] || c.options.other;
3746
- if (!A)
3747
- throw new cr(c.value, h, Object.keys(c.options), s);
3748
- a.push.apply(a, ot(A.value, t, r, n, i));
3709
+ if (Rr(c)) {
3710
+ var B = c.options[h] || c.options.other;
3711
+ if (!B)
3712
+ throw new or(c.value, h, Object.keys(c.options), o);
3713
+ a.push.apply(a, st(B.value, t, r, n, i));
3749
3714
  continue;
3750
3715
  }
3751
- if (Gr(c)) {
3752
- var A = c.options["=".concat(h)];
3753
- if (!A) {
3716
+ if (Ur(c)) {
3717
+ var B = c.options["=".concat(h)];
3718
+ if (!B) {
3754
3719
  if (!Intl.PluralRules)
3755
- throw new pt(`Intl.PluralRules is not available in this environment.
3720
+ throw new ht(`Intl.PluralRules is not available in this environment.
3756
3721
  Try polyfilling it using "@formatjs/intl-pluralrules"
3757
- `, Le.MISSING_INTL_API, s);
3722
+ `, Ce.MISSING_INTL_API, o);
3758
3723
  var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3759
- A = c.options[M] || c.options.other;
3724
+ B = c.options[M] || c.options.other;
3760
3725
  }
3761
- if (!A)
3762
- throw new cr(c.value, h, Object.keys(c.options), s);
3763
- a.push.apply(a, ot(A.value, t, r, n, i, h - (c.offset || 0)));
3726
+ if (!B)
3727
+ throw new or(c.value, h, Object.keys(c.options), o);
3728
+ a.push.apply(a, st(B.value, t, r, n, i, h - (c.offset || 0)));
3764
3729
  continue;
3765
3730
  }
3766
3731
  }
3767
- return zi(a);
3732
+ return $i(a);
3768
3733
  }
3769
- function Zi(e, t) {
3770
- return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = re(re({}, e[n]), t[n] || {}), r;
3734
+ function Wi(e, t) {
3735
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3736
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
3772
3737
  }, {})) : e;
3773
3738
  }
3774
- function Qi(e, t) {
3739
+ function Xi(e, t) {
3775
3740
  return t ? Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = Zi(e[n], t[n]), r;
3777
- }, re({}, e)) : e;
3741
+ return r[n] = Wi(e[n], t[n]), r;
3742
+ }, H({}, e)) : e;
3778
3743
  }
3779
- function xt(e) {
3744
+ function _t(e) {
3780
3745
  return {
3781
3746
  create: function() {
3782
3747
  return {
@@ -3790,77 +3755,77 @@ function xt(e) {
3790
3755
  }
3791
3756
  };
3792
3757
  }
3793
- function Yi(e) {
3758
+ function zi(e) {
3794
3759
  return e === void 0 && (e = {
3795
3760
  number: {},
3796
3761
  dateTime: {},
3797
3762
  pluralRules: {}
3798
3763
  }), {
3799
- getNumberFormat: vt(function() {
3764
+ getNumberFormat: bt(function() {
3800
3765
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3766
  r[n] = arguments[n];
3802
- return new ((t = Intl.NumberFormat).bind.apply(t, yt([void 0], r, !1)))();
3767
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3803
3768
  }, {
3804
- cache: xt(e.number),
3805
- strategy: _t.variadic
3769
+ cache: _t(e.number),
3770
+ strategy: gt.variadic
3806
3771
  }),
3807
- getDateTimeFormat: vt(function() {
3772
+ getDateTimeFormat: bt(function() {
3808
3773
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3774
  r[n] = arguments[n];
3810
- return new ((t = Intl.DateTimeFormat).bind.apply(t, yt([void 0], r, !1)))();
3775
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3811
3776
  }, {
3812
- cache: xt(e.dateTime),
3813
- strategy: _t.variadic
3777
+ cache: _t(e.dateTime),
3778
+ strategy: gt.variadic
3814
3779
  }),
3815
- getPluralRules: vt(function() {
3780
+ getPluralRules: bt(function() {
3816
3781
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3782
  r[n] = arguments[n];
3818
- return new ((t = Intl.PluralRules).bind.apply(t, yt([void 0], r, !1)))();
3783
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3819
3784
  }, {
3820
- cache: xt(e.pluralRules),
3821
- strategy: _t.variadic
3785
+ cache: _t(e.pluralRules),
3786
+ strategy: gt.variadic
3822
3787
  })
3823
3788
  };
3824
3789
  }
3825
- var qi = (
3790
+ var Ji = (
3826
3791
  /** @class */
3827
3792
  function() {
3828
3793
  function e(t, r, n, i) {
3829
3794
  r === void 0 && (r = e.defaultLocale);
3830
- var o = this;
3795
+ var s = this;
3831
3796
  if (this.formatterCache = {
3832
3797
  number: {},
3833
3798
  dateTime: {},
3834
3799
  pluralRules: {}
3835
3800
  }, this.format = function(l) {
3836
- var u = o.formatToParts(l);
3801
+ var u = s.formatToParts(l);
3837
3802
  if (u.length === 1)
3838
3803
  return u[0].value;
3839
- var c = u.reduce(function(p, h) {
3840
- return !p.length || h.type !== j.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
3804
+ var c = u.reduce(function(d, h) {
3805
+ return !d.length || h.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(h.value) : d[d.length - 1] += h.value, d;
3841
3806
  }, []);
3842
3807
  return c.length <= 1 ? c[0] || "" : c;
3843
3808
  }, this.formatToParts = function(l) {
3844
- return ot(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3809
+ return st(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3845
3810
  }, this.resolvedOptions = function() {
3846
3811
  var l;
3847
3812
  return {
3848
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3813
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3849
3814
  };
3850
3815
  }, this.getAst = function() {
3851
- return o.ast;
3816
+ return s.ast;
3852
3817
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3853
3818
  if (this.message = t, !e.__parse)
3854
3819
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3855
- var s = i || {};
3856
- s.formatters;
3857
- var a = ai(s, ["formatters"]);
3858
- this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3820
+ var o = i || {};
3821
+ o.formatters;
3822
+ var a = Hn(o, ["formatters"]);
3823
+ this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3859
3824
  } else
3860
3825
  this.ast = t;
3861
3826
  if (!Array.isArray(this.ast))
3862
3827
  throw new TypeError("A message must be provided as a String or AST.");
3863
- this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
3828
+ this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3864
3829
  }
3865
3830
  return Object.defineProperty(e, "defaultLocale", {
3866
3831
  get: function() {
@@ -3873,7 +3838,7 @@ var qi = (
3873
3838
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3874
3839
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3875
3840
  }
3876
- }, e.__parse = Vi, e.formats = {
3841
+ }, e.__parse = Gi, e.formats = {
3877
3842
  number: {
3878
3843
  integer: {
3879
3844
  maximumFractionDigits: 0
@@ -3934,7 +3899,7 @@ var qi = (
3934
3899
  }, e;
3935
3900
  }()
3936
3901
  );
3937
- function Ki(e, t) {
3902
+ function Zi(e, t) {
3938
3903
  if (t == null)
3939
3904
  return;
3940
3905
  if (t in e)
@@ -3944,9 +3909,9 @@ function Ki(e, t) {
3944
3909
  for (let i = 0; i < r.length; i++)
3945
3910
  if (typeof n == "object") {
3946
3911
  if (i > 0) {
3947
- const o = r.slice(i, r.length).join(".");
3948
- if (o in n) {
3949
- n = n[o];
3912
+ const s = r.slice(i, r.length).join(".");
3913
+ if (s in n) {
3914
+ n = n[s];
3950
3915
  break;
3951
3916
  }
3952
3917
  }
@@ -3955,92 +3920,92 @@ function Ki(e, t) {
3955
3920
  n = void 0;
3956
3921
  return n;
3957
3922
  }
3958
- const de = {}, eo = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Yr = (e, t) => {
3923
+ const pe = {}, Qi = (e, t, r) => r && (t in pe || (pe[t] = {}), e in pe[t] || (pe[t][e] = r), r), zr = (e, t) => {
3959
3924
  if (t == null)
3960
3925
  return;
3961
- if (t in de && e in de[t])
3962
- return de[t][e];
3963
- const r = dt(t);
3926
+ if (t in pe && e in pe[t])
3927
+ return pe[t][e];
3928
+ const r = ft(t);
3964
3929
  for (let n = 0; n < r.length; n++) {
3965
- const i = r[n], o = ro(i, e);
3966
- if (o)
3967
- return eo(e, t, o);
3930
+ const i = r[n], s = qi(i, e);
3931
+ if (s)
3932
+ return Qi(e, t, s);
3968
3933
  }
3969
3934
  };
3970
- let Ft;
3971
- const Je = ht({});
3972
- function to(e) {
3973
- return Ft[e] || null;
3935
+ let kt;
3936
+ const Je = ct({});
3937
+ function Yi(e) {
3938
+ return kt[e] || null;
3974
3939
  }
3975
- function qr(e) {
3976
- return e in Ft;
3940
+ function Jr(e) {
3941
+ return e in kt;
3977
3942
  }
3978
- function ro(e, t) {
3979
- if (!qr(e))
3943
+ function qi(e, t) {
3944
+ if (!Jr(e))
3980
3945
  return null;
3981
- const r = to(e);
3982
- return Ki(r, t);
3946
+ const r = Yi(e);
3947
+ return Zi(r, t);
3983
3948
  }
3984
- function no(e) {
3949
+ function Ki(e) {
3985
3950
  if (e == null)
3986
3951
  return;
3987
- const t = dt(e);
3952
+ const t = ft(e);
3988
3953
  for (let r = 0; r < t.length; r++) {
3989
3954
  const n = t[r];
3990
- if (qr(n))
3955
+ if (Jr(n))
3991
3956
  return n;
3992
3957
  }
3993
3958
  }
3994
- function Kr(e, ...t) {
3995
- delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3959
+ function Zr(e, ...t) {
3960
+ delete pe[e], Je.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
3996
3961
  }
3997
- Ie(
3962
+ Ne(
3998
3963
  [Je],
3999
3964
  ([e]) => Object.keys(e)
4000
3965
  );
4001
- Je.subscribe((e) => Ft = e);
4002
- const st = {};
4003
- function io(e, t) {
4004
- st[e].delete(t), st[e].size === 0 && delete st[e];
3966
+ Je.subscribe((e) => kt = e);
3967
+ const ot = {};
3968
+ function es(e, t) {
3969
+ ot[e].delete(t), ot[e].size === 0 && delete ot[e];
4005
3970
  }
4006
- function en(e) {
4007
- return st[e];
3971
+ function Qr(e) {
3972
+ return ot[e];
4008
3973
  }
4009
- function oo(e) {
4010
- return dt(e).map((t) => {
4011
- const r = en(t);
3974
+ function ts(e) {
3975
+ return ft(e).map((t) => {
3976
+ const r = Qr(t);
4012
3977
  return [t, r ? [...r] : []];
4013
3978
  }).filter(([, t]) => t.length > 0);
4014
3979
  }
4015
- function jt(e) {
4016
- return e == null ? !1 : dt(e).some(
3980
+ function Mt(e) {
3981
+ return e == null ? !1 : ft(e).some(
4017
3982
  (t) => {
4018
3983
  var r;
4019
- return (r = en(t)) == null ? void 0 : r.size;
3984
+ return (r = Qr(t)) == null ? void 0 : r.size;
4020
3985
  }
4021
3986
  );
4022
3987
  }
4023
- function so(e, t) {
3988
+ function rs(e, t) {
4024
3989
  return Promise.all(
4025
- t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4026
- ).then((n) => Kr(e, ...n));
4027
- }
4028
- const Ge = {};
4029
- function tn(e) {
4030
- if (!jt(e))
4031
- return e in Ge ? Ge[e] : Promise.resolve();
4032
- const t = oo(e);
4033
- return Ge[e] = Promise.all(
3990
+ t.map((n) => (es(e, n), n().then((i) => i.default || i)))
3991
+ ).then((n) => Zr(e, ...n));
3992
+ }
3993
+ const Fe = {};
3994
+ function Yr(e) {
3995
+ if (!Mt(e))
3996
+ return e in Fe ? Fe[e] : Promise.resolve();
3997
+ const t = ts(e);
3998
+ return Fe[e] = Promise.all(
4034
3999
  t.map(
4035
- ([r, n]) => so(r, n)
4000
+ ([r, n]) => rs(r, n)
4036
4001
  )
4037
4002
  ).then(() => {
4038
- if (jt(e))
4039
- return tn(e);
4040
- delete Ge[e];
4041
- }), Ge[e];
4003
+ if (Mt(e))
4004
+ return Yr(e);
4005
+ delete Fe[e];
4006
+ }), Fe[e];
4042
4007
  }
4043
- const ao = {
4008
+ const ns = {
4044
4009
  number: {
4045
4010
  scientific: { notation: "scientific" },
4046
4011
  engineering: { notation: "engineering" },
@@ -4069,181 +4034,181 @@ const ao = {
4069
4034
  timeZoneName: "short"
4070
4035
  }
4071
4036
  }
4072
- }, uo = {
4037
+ }, is = {
4073
4038
  fallbackLocale: null,
4074
4039
  loadingDelay: 200,
4075
- formats: ao,
4040
+ formats: ns,
4076
4041
  warnOnMissingMessages: !0,
4077
4042
  handleMissingMessage: void 0,
4078
4043
  ignoreTag: !0
4079
- }, lo = uo;
4080
- function Ce() {
4081
- return lo;
4082
- }
4083
- const St = ht(!1);
4084
- var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
4085
- for (var r in t || (t = {}))
4086
- po.call(t, r) && fr(e, r, t[r]);
4087
- if (hr)
4088
- for (var r of hr(t))
4089
- mo.call(t, r) && fr(e, r, t[r]);
4044
+ }, ss = is;
4045
+ function Ie() {
4046
+ return ss;
4047
+ }
4048
+ const vt = ct(!1);
4049
+ var os = Object.defineProperty, as = Object.defineProperties, us = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, ls = Object.prototype.hasOwnProperty, cs = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hs = (e, t) => {
4050
+ for (var r in t)
4051
+ ls.call(t, r) && ur(e, r, t[r]);
4052
+ if (ar)
4053
+ for (var r of ar(t))
4054
+ cs.call(t, r) && ur(e, r, t[r]);
4090
4055
  return e;
4091
- }, go = (e, t) => ho(e, fo(t));
4092
- let Gt;
4093
- const ut = ht(null);
4094
- function pr(e) {
4056
+ }, fs = (e, t) => as(e, us(t));
4057
+ let Rt;
4058
+ const at = ct(null);
4059
+ function lr(e) {
4095
4060
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4096
4061
  }
4097
- function dt(e, t = Ce().fallbackLocale) {
4098
- const r = pr(e);
4099
- return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
4062
+ function ft(e, t = Ie().fallbackLocale) {
4063
+ const r = lr(e);
4064
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
4100
4065
  }
4101
4066
  function ge() {
4102
- return Gt ?? void 0;
4067
+ return Rt ?? void 0;
4103
4068
  }
4104
- ut.subscribe((e) => {
4105
- Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4069
+ at.subscribe((e) => {
4070
+ Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4106
4071
  });
4107
- const yo = (e) => {
4108
- if (e && no(e) && jt(e)) {
4109
- const { loadingDelay: t } = Ce();
4072
+ const ds = (e) => {
4073
+ if (e && Ki(e) && Mt(e)) {
4074
+ const { loadingDelay: t } = Ie();
4110
4075
  let r;
4111
4076
  return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4112
- () => St.set(!0),
4077
+ () => vt.set(!0),
4113
4078
  t
4114
- ) : St.set(!0), tn(e).then(() => {
4115
- ut.set(e);
4079
+ ) : vt.set(!0), Yr(e).then(() => {
4080
+ at.set(e);
4116
4081
  }).finally(() => {
4117
- clearTimeout(r), St.set(!1);
4082
+ clearTimeout(r), vt.set(!1);
4118
4083
  });
4119
4084
  }
4120
- return ut.set(e);
4121
- }, Ne = go(bo({}, ut), {
4122
- set: yo
4123
- }), mt = (e) => {
4085
+ return at.set(e);
4086
+ }, Me = fs(hs({}, at), {
4087
+ set: ds
4088
+ }), dt = (e) => {
4124
4089
  const t = /* @__PURE__ */ Object.create(null);
4125
4090
  return (n) => {
4126
4091
  const i = JSON.stringify(n);
4127
4092
  return i in t ? t[i] : t[i] = e(n);
4128
4093
  };
4129
4094
  };
4130
- var vo = Object.defineProperty, lt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4095
+ var ps = Object.defineProperty, ut = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4131
4096
  for (var r in t || (t = {}))
4132
- rn.call(t, r) && dr(e, r, t[r]);
4133
- if (lt)
4134
- for (var r of lt(t))
4135
- nn.call(t, r) && dr(e, r, t[r]);
4097
+ qr.call(t, r) && cr(e, r, t[r]);
4098
+ if (ut)
4099
+ for (var r of ut(t))
4100
+ Kr.call(t, r) && cr(e, r, t[r]);
4136
4101
  return e;
4137
- }, Me = (e, t) => {
4102
+ }, Re = (e, t) => {
4138
4103
  var r = {};
4139
4104
  for (var n in e)
4140
- rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
- if (e != null && lt)
4142
- for (var n of lt(e))
4143
- t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4105
+ qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4106
+ if (e != null && ut)
4107
+ for (var n of ut(e))
4108
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4144
4109
  return r;
4145
4110
  };
4146
- const We = (e, t) => {
4147
- const { formats: r } = Ce();
4111
+ const Xe = (e, t) => {
4112
+ const { formats: r } = Ie();
4148
4113
  if (e in r && t in r[e])
4149
4114
  return r[e][t];
4150
4115
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4151
- }, _o = mt(
4116
+ }, ms = dt(
4152
4117
  (e) => {
4153
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4118
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4154
4119
  if (r == null)
4155
4120
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4156
- return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4121
+ return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
4157
4122
  }
4158
- ), Eo = mt(
4123
+ ), bs = dt(
4159
4124
  (e) => {
4160
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4125
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4161
4126
  if (r == null)
4162
4127
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4163
- return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4128
+ return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
4164
4129
  }
4165
- ), xo = mt(
4130
+ ), gs = dt(
4166
4131
  (e) => {
4167
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4132
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4168
4133
  if (r == null)
4169
4134
  throw new Error(
4170
4135
  '[svelte-i18n] A "locale" must be set to format time values'
4171
4136
  );
4172
- return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4137
+ return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
4173
4138
  }
4174
- ), So = (e = {}) => {
4139
+ ), ys = (e = {}) => {
4175
4140
  var t = e, {
4176
4141
  locale: r = ge()
4177
- } = t, n = Me(t, [
4142
+ } = t, n = Re(t, [
4178
4143
  "locale"
4179
4144
  ]);
4180
- return _o(Vt({ locale: r }, n));
4181
- }, To = (e = {}) => {
4145
+ return ms(Gt({ locale: r }, n));
4146
+ }, _s = (e = {}) => {
4182
4147
  var t = e, {
4183
4148
  locale: r = ge()
4184
- } = t, n = Me(t, [
4149
+ } = t, n = Re(t, [
4185
4150
  "locale"
4186
4151
  ]);
4187
- return Eo(Vt({ locale: r }, n));
4188
- }, wo = (e = {}) => {
4152
+ return bs(Gt({ locale: r }, n));
4153
+ }, vs = (e = {}) => {
4189
4154
  var t = e, {
4190
4155
  locale: r = ge()
4191
- } = t, n = Me(t, [
4156
+ } = t, n = Re(t, [
4192
4157
  "locale"
4193
4158
  ]);
4194
- return xo(Vt({ locale: r }, n));
4195
- }, Ho = mt(
4159
+ return gs(Gt({ locale: r }, n));
4160
+ }, Es = dt(
4196
4161
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4197
- (e, t = ge()) => new qi(e, t, Ce().formats, {
4198
- ignoreTag: Ce().ignoreTag
4162
+ (e, t = ge()) => new Ji(e, t, Ie().formats, {
4163
+ ignoreTag: Ie().ignoreTag
4199
4164
  })
4200
- ), Ao = (e, t = {}) => {
4201
- var r, n, i, o;
4202
- let s = t;
4203
- typeof e == "object" && (s = e, e = s.id);
4165
+ ), xs = (e, t = {}) => {
4166
+ var r, n, i, s;
4167
+ let o = t;
4168
+ typeof e == "object" && (o = e, e = o.id);
4204
4169
  const {
4205
4170
  values: a,
4206
4171
  locale: l = ge(),
4207
4172
  default: u
4208
- } = s;
4173
+ } = o;
4209
4174
  if (l == null)
4210
4175
  throw new Error(
4211
4176
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4212
4177
  );
4213
- let c = Yr(e, l);
4178
+ let c = zr(e, l);
4214
4179
  if (!c)
4215
- c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4180
+ c = (s = (i = (n = (r = Ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4216
4181
  else if (typeof c != "string")
4217
4182
  return console.warn(
4218
4183
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4219
4184
  ), c;
4220
4185
  if (!a)
4221
4186
  return c;
4222
- let p = c;
4187
+ let d = c;
4223
4188
  try {
4224
- p = Ho(c, l).format(a);
4189
+ d = Es(c, l).format(a);
4225
4190
  } catch (h) {
4226
4191
  h instanceof Error && console.warn(
4227
4192
  `[svelte-i18n] Message "${e}" has syntax error:`,
4228
4193
  h.message
4229
4194
  );
4230
4195
  }
4231
- return p;
4232
- }, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = ge()) => Yr(e, t);
4233
- Ie([Ne, Je], () => Ao);
4234
- Ie([Ne], () => Bo);
4235
- Ie([Ne], () => Po);
4236
- Ie([Ne], () => Oo);
4237
- Ie([Ne, Je], () => Lo);
4238
- window.emWidgets = { topic: Fn };
4239
- const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4240
- function Io(e, t) {
4196
+ return d;
4197
+ }, Ss = (e, t) => vs(t).format(e), Ts = (e, t) => _s(t).format(e), ws = (e, t) => ys(t).format(e), Hs = (e, t = ge()) => zr(e, t);
4198
+ Ne([Me, Je], () => xs);
4199
+ Ne([Me], () => Ss);
4200
+ Ne([Me], () => Ts);
4201
+ Ne([Me], () => ws);
4202
+ Ne([Me, Je], () => Hs);
4203
+ window.emWidgets = { topic: Gn };
4204
+ const As = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4205
+ function Bs(e, t) {
4241
4206
  if (e) {
4242
4207
  const r = document.createElement("style");
4243
4208
  r.innerHTML = t, e.appendChild(r);
4244
4209
  }
4245
4210
  }
4246
- function No(e, t) {
4211
+ function Ps(e, t) {
4247
4212
  const r = new URL(t);
4248
4213
  fetch(r.href).then((n) => n.text()).then((n) => {
4249
4214
  const i = document.createElement("style");
@@ -4252,7 +4217,7 @@ function No(e, t) {
4252
4217
  console.error("There was an error while trying to load client styling from URL", n);
4253
4218
  });
4254
4219
  }
4255
- function Mo(e, t, r) {
4220
+ function Ls(e, t, r) {
4256
4221
  if (window.emMessageBus) {
4257
4222
  const n = document.createElement("style");
4258
4223
  window.emMessageBus.subscribe(t, (i) => {
@@ -4260,13 +4225,13 @@ function Mo(e, t, r) {
4260
4225
  });
4261
4226
  }
4262
4227
  }
4263
- function mr(e, t) {
4264
- Kr(e, t);
4228
+ function hr(e, t) {
4229
+ Zr(e, t);
4265
4230
  }
4266
- function Ro(e) {
4267
- Ne.set(e);
4231
+ function Os(e) {
4232
+ Me.set(e);
4268
4233
  }
4269
- const br = {
4234
+ const fr = {
4270
4235
  en: {
4271
4236
  loadingText: "Loading, please wait..."
4272
4237
  },
@@ -4304,37 +4269,37 @@ const br = {
4304
4269
  loadingText: "Loading, please wait..."
4305
4270
  }
4306
4271
  };
4307
- function Uo(e) {
4308
- an(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4272
+ function Cs(e) {
4273
+ rn(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4309
4274
  }
4310
- function gr(e, t, r) {
4275
+ function dr(e, t, r) {
4311
4276
  const n = e.slice();
4312
4277
  return n[56] = t[r], n[58] = r, n;
4313
4278
  }
4314
- function Do(e) {
4315
- let t, r, n, i, o, s, a, l, u, c, p, h, g;
4279
+ function Is(e) {
4280
+ let t, r, n, i, s, o, a, l, u, c, d, h, g;
4316
4281
  function x(m, T) {
4317
4282
  return (
4318
4283
  /*tabletView*/
4319
- m[8] ? Go : $o
4284
+ m[8] ? Rs : Us
4320
4285
  );
4321
4286
  }
4322
- let y = x(e), v = y(e);
4287
+ let y = x(e), _ = y(e);
4323
4288
  return {
4324
4289
  c() {
4325
- t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
4326
- e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
4327
- e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
4290
+ t = b("div"), r = b("div"), n = b("div"), i = b("div"), s = C(), o = b("div"), _.c(), a = C(), l = b("div"), u = b("ui-image"), v(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
4291
+ e[9] + ")"), v(o, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
4292
+ e[14]) || L(u, "src", c), L(u, "alt", ""), v(l, "class", "title"), v(n, "class", d = "mainWrapper " + /*visualstructure*/
4328
4293
  e[0] + " " + /*mobileView*/
4329
4294
  (e[7] && !/*tabletView*/
4330
4295
  e[8] ? "mobile" : (
4331
4296
  /*tabletView*/
4332
4297
  e[8] ? "tablet" : ""
4333
4298
  ))), et(n, "background", "url(" + /*backgroundImg*/
4334
- e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
4299
+ e[13] + ")"), v(r, "class", "jackpotBanner"), v(t, "class", "");
4335
4300
  },
4336
4301
  m(m, T) {
4337
- $(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = fn(
4302
+ F(m, t, T), p(t, r), p(r, n), p(n, i), p(n, s), p(n, o), _.m(o, null), p(n, a), p(n, l), p(l, u), h || (g = un(
4338
4303
  r,
4339
4304
  "click",
4340
4305
  /*click_handler*/
@@ -4344,32 +4309,32 @@ function Do(e) {
4344
4309
  p(m, T) {
4345
4310
  T[0] & /*vendorIcon*/
4346
4311
  512 && et(i, "background-image", "url(" + /*vendorIcon*/
4347
- m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
4312
+ m[9] + ")"), y === (y = x(m)) && _ ? _.p(m, T) : (_.d(1), _ = y(m), _ && (_.c(), _.m(o, null))), T[0] & /*titleLogoImg*/
4348
4313
  16384 && !Q(u.src, c = /*titleLogoImg*/
4349
- m[14]) && P(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
4350
- 385 && p !== (p = "mainWrapper " + /*visualstructure*/
4314
+ m[14]) && L(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
4315
+ 385 && d !== (d = "mainWrapper " + /*visualstructure*/
4351
4316
  m[0] + " " + /*mobileView*/
4352
4317
  (m[7] && !/*tabletView*/
4353
4318
  m[8] ? "mobile" : (
4354
4319
  /*tabletView*/
4355
4320
  m[8] ? "tablet" : ""
4356
- ))) && _(n, "class", p), T[0] & /*backgroundImg*/
4321
+ ))) && v(n, "class", d), T[0] & /*backgroundImg*/
4357
4322
  8192 && et(n, "background", "url(" + /*backgroundImg*/
4358
4323
  m[13] + ")");
4359
4324
  },
4360
4325
  d(m) {
4361
- m && D(t), v.d(), h = !1, g();
4326
+ m && D(t), _.d(), h = !1, g();
4362
4327
  }
4363
4328
  };
4364
4329
  }
4365
- function ko(e) {
4330
+ function Ns(e) {
4366
4331
  let t;
4367
4332
  return {
4368
4333
  c() {
4369
- t = b("div"), _(t, "class", "LoadingSpinner");
4334
+ t = b("div"), v(t, "class", "LoadingSpinner");
4370
4335
  },
4371
4336
  m(r, n) {
4372
- $(r, t, n);
4337
+ F(r, t, n);
4373
4338
  },
4374
4339
  p: Z,
4375
4340
  d(r) {
@@ -4377,14 +4342,14 @@ function ko(e) {
4377
4342
  }
4378
4343
  };
4379
4344
  }
4380
- function jo(e) {
4345
+ function Ms(e) {
4381
4346
  let t;
4382
4347
  return {
4383
4348
  c() {
4384
4349
  t = b("p"), t.textContent = "500 Server error";
4385
4350
  },
4386
4351
  m(r, n) {
4387
- $(r, t, n);
4352
+ F(r, t, n);
4388
4353
  },
4389
4354
  p: Z,
4390
4355
  d(r) {
@@ -4392,11 +4357,11 @@ function jo(e) {
4392
4357
  }
4393
4358
  };
4394
4359
  }
4395
- function Go(e) {
4396
- let t, r, n, i, o, s, a, l = (
4360
+ function Rs(e) {
4361
+ let t, r, n, i, s, o, a, l = (
4397
4362
  /*formattedLabels*/
4398
4363
  e[11][0] + ""
4399
- ), u, c, p, h, g = (
4364
+ ), u, c, d, h, g = (
4400
4365
  /*realtimeupdate*/
4401
4366
  (e[2] === "true" ? (
4402
4367
  /*reversedJackpotValues*/
@@ -4405,10 +4370,10 @@ function Go(e) {
4405
4370
  /*formattedJackpotValues*/
4406
4371
  e[10][0]
4407
4372
  )) + ""
4408
- ), x, y, v, m, T, A, M, k, F, J = (
4373
+ ), x, y, _, m, T, B, M, k, $, J = (
4409
4374
  /*formattedLabels*/
4410
4375
  e[11][1] + ""
4411
- ), Re, ye, Y, me, he = (
4376
+ ), Ue, ye, Y, me, he = (
4412
4377
  /*realtimeupdate*/
4413
4378
  (e[2] === "true" ? (
4414
4379
  /*reversedJackpotValues*/
@@ -4417,7 +4382,7 @@ function Go(e) {
4417
4382
  /*formattedJackpotValues*/
4418
4383
  e[10][1]
4419
4384
  )) + ""
4420
- ), fe, ve, _e, ee, ne, ie, N, oe, Ue, pe, q = (
4385
+ ), fe, _e, ve, ee, re, ne, N, ie, De, de, q = (
4421
4386
  /*formattedLabels*/
4422
4387
  e[11][2] + ""
4423
4388
  ), se, Ze, K, Ee, xe = (
@@ -4429,10 +4394,10 @@ function Go(e) {
4429
4394
  /*formattedJackpotValues*/
4430
4395
  e[10][2]
4431
4396
  )) + ""
4432
- ), De, Qe, Ye, ae, ue, te, Se, ke, Te, be = (
4397
+ ), ke, Qe, Ye, oe, ae, te, Se, Ge, Te, be = (
4433
4398
  /*formattedLabels*/
4434
4399
  e[11][3] + ""
4435
- ), je, qe, le, f, H = (
4400
+ ), je, qe, ue, f, A = (
4436
4401
  /*realtimeupdate*/
4437
4402
  (e[2] === "true" ? (
4438
4403
  /*updatedJackpotValues*/
@@ -4441,28 +4406,28 @@ function Go(e) {
4441
4406
  /*formattedJackpotValues*/
4442
4407
  e[10][3]
4443
4408
  )) + ""
4444
- ), U, Wt, V = !/*currencylocale*/
4445
- e[3] && yr(e), W = !/*currencylocale*/
4446
- e[3] && vr(e), X = !/*currencylocale*/
4447
- e[3] && _r(e), z = !/*currencylocale*/
4448
- e[3] && Er(e);
4409
+ ), U, jt, V = !/*currencylocale*/
4410
+ e[3] && pr(e), W = !/*currencylocale*/
4411
+ e[3] && mr(e), X = !/*currencylocale*/
4412
+ e[3] && br(e), z = !/*currencylocale*/
4413
+ e[3] && gr(e);
4449
4414
  return {
4450
4415
  c() {
4451
- t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), p = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), A = b("ui-image"), k = C(), F = b("span"), Re = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), ve = C(), W && W.c(), _e = C(), ee = b("div"), ne = b("div"), ie = b("div"), N = b("ui-image"), Ue = C(), pe = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), De = R(xe), Qe = C(), X && X.c(), Ye = C(), ae = b("div"), ue = b("div"), te = b("ui-image"), ke = C(), Te = b("span"), je = R(be), qe = C(), le = b("span"), f = b("span"), U = R(H), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
4452
- e[12][0]) || P(i, "src", o), P(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, M = /*caticons*/
4453
- e[12][1]) || P(A, "src", M), P(A, "alt", ""), _(F, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), P(N, "class", "displayCardIcon"), Q(N.src, oe = /*caticons*/
4454
- e[12][2]) || P(N, "src", oe), P(N, "alt", ""), _(pe, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), P(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
4455
- e[12][3]) || P(te, "src", Se), P(te, "alt", ""), _(Te, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(ee, "class", "pairWrapper");
4416
+ t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), o = C(), a = b("span"), u = R(l), c = C(), d = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), _ = C(), m = b("div"), T = b("div"), B = b("ui-image"), k = C(), $ = b("span"), Ue = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), _e = C(), W && W.c(), ve = C(), ee = b("div"), re = b("div"), ne = b("div"), N = b("ui-image"), De = C(), de = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), ke = R(xe), Qe = C(), X && X.c(), Ye = C(), oe = b("div"), ae = b("div"), te = b("ui-image"), Ge = C(), Te = b("span"), je = R(be), qe = C(), ue = b("span"), f = b("span"), U = R(A), jt = C(), z && z.c(), L(i, "class", "displayCardIcon"), Q(i.src, s = /*caticons*/
4417
+ e[12][0]) || L(i, "src", s), L(i, "alt", ""), v(a, "class", "cardLabel"), v(n, "class", "iconWrapper"), v(h, "class", "jackpotValue"), v(d, "class", "cardTextWrapper"), v(r, "class", "displayCard"), L(B, "class", "displayCardIcon"), Q(B.src, M = /*caticons*/
4418
+ e[12][1]) || L(B, "src", M), L(B, "alt", ""), v($, "class", "cardLabel"), v(T, "class", "iconWrapper"), v(me, "class", "jackpotValue"), v(Y, "class", "cardTextWrapper"), v(m, "class", "displayCard"), v(t, "class", "pairWrapper"), L(N, "class", "displayCardIcon"), Q(N.src, ie = /*caticons*/
4419
+ e[12][2]) || L(N, "src", ie), L(N, "alt", ""), v(de, "class", "cardLabel"), v(ne, "class", "iconWrapper"), v(Ee, "class", "jackpotValue"), v(K, "class", "cardTextWrapper"), v(re, "class", "displayCard"), L(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
4420
+ e[12][3]) || L(te, "src", Se), L(te, "alt", ""), v(Te, "class", "cardLabel"), v(ae, "class", "iconWrapper"), v(f, "class", "jackpotValue"), v(ue, "class", "cardTextWrapper"), v(oe, "class", "displayCard"), v(ee, "class", "pairWrapper");
4456
4421
  },
4457
4422
  m(E, I) {
4458
- $(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, A), d(T, k), d(T, F), d(F, Re), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), $(E, _e, I), $(E, ee, I), d(ee, ne), d(ne, ie), d(ie, N), d(ie, Ue), d(ie, pe), d(pe, se), d(ne, Ze), d(ne, K), d(K, Ee), d(Ee, De), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, ae), d(ae, ue), d(ue, te), d(ue, ke), d(ue, Te), d(Te, je), d(ae, qe), d(ae, le), d(le, f), d(f, U), d(le, Wt), z && z.m(le, null);
4423
+ F(E, t, I), p(t, r), p(r, n), p(n, i), p(n, o), p(n, a), p(a, u), p(r, c), p(r, d), p(d, h), p(h, x), p(d, y), V && V.m(d, null), p(t, _), p(t, m), p(m, T), p(T, B), p(T, k), p(T, $), p($, Ue), p(m, ye), p(m, Y), p(Y, me), p(me, fe), p(Y, _e), W && W.m(Y, null), F(E, ve, I), F(E, ee, I), p(ee, re), p(re, ne), p(ne, N), p(ne, De), p(ne, de), p(de, se), p(re, Ze), p(re, K), p(K, Ee), p(Ee, ke), p(K, Qe), X && X.m(K, null), p(ee, Ye), p(ee, oe), p(oe, ae), p(ae, te), p(ae, Ge), p(ae, Te), p(Te, je), p(oe, qe), p(oe, ue), p(ue, f), p(f, U), p(ue, jt), z && z.m(ue, null);
4459
4424
  },
4460
4425
  p(E, I) {
4461
4426
  I[0] & /*caticons*/
4462
- 4096 && !Q(i.src, o = /*caticons*/
4463
- E[12][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
4427
+ 4096 && !Q(i.src, s = /*caticons*/
4428
+ E[12][0]) && L(i, "src", s), I[0] & /*formattedLabels*/
4464
4429
  2048 && l !== (l = /*formattedLabels*/
4465
- E[11][0] + "") && G(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4430
+ E[11][0] + "") && j(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4466
4431
  66564 && g !== (g = /*realtimeupdate*/
4467
4432
  (E[2] === "true" ? (
4468
4433
  /*reversedJackpotValues*/
@@ -4470,12 +4435,12 @@ function Go(e) {
4470
4435
  ) : (
4471
4436
  /*formattedJackpotValues*/
4472
4437
  E[10][0]
4473
- )) + "") && G(x, g), /*currencylocale*/
4474
- E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = yr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
4475
- 4096 && !Q(A.src, M = /*caticons*/
4476
- E[12][1]) && P(A, "src", M), I[0] & /*formattedLabels*/
4438
+ )) + "") && j(x, g), /*currencylocale*/
4439
+ E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = pr(E), V.c(), V.m(d, null)), I[0] & /*caticons*/
4440
+ 4096 && !Q(B.src, M = /*caticons*/
4441
+ E[12][1]) && L(B, "src", M), I[0] & /*formattedLabels*/
4477
4442
  2048 && J !== (J = /*formattedLabels*/
4478
- E[11][1] + "") && G(Re, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4443
+ E[11][1] + "") && j(Ue, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4479
4444
  66564 && he !== (he = /*realtimeupdate*/
4480
4445
  (E[2] === "true" ? (
4481
4446
  /*reversedJackpotValues*/
@@ -4483,12 +4448,12 @@ function Go(e) {
4483
4448
  ) : (
4484
4449
  /*formattedJackpotValues*/
4485
4450
  E[10][1]
4486
- )) + "") && G(fe, he), /*currencylocale*/
4487
- E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = vr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
4488
- 4096 && !Q(N.src, oe = /*caticons*/
4489
- E[12][2]) && P(N, "src", oe), I[0] & /*formattedLabels*/
4451
+ )) + "") && j(fe, he), /*currencylocale*/
4452
+ E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = mr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
4453
+ 4096 && !Q(N.src, ie = /*caticons*/
4454
+ E[12][2]) && L(N, "src", ie), I[0] & /*formattedLabels*/
4490
4455
  2048 && q !== (q = /*formattedLabels*/
4491
- E[11][2] + "") && G(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4456
+ E[11][2] + "") && j(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4492
4457
  1092 && xe !== (xe = /*realtimeupdate*/
4493
4458
  (E[2] === "true" ? (
4494
4459
  /*updatedJackpotValues*/
@@ -4496,76 +4461,76 @@ function Go(e) {
4496
4461
  ) : (
4497
4462
  /*formattedJackpotValues*/
4498
4463
  E[10][2]
4499
- )) + "") && G(De, xe), /*currencylocale*/
4500
- E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = _r(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
4464
+ )) + "") && j(ke, xe), /*currencylocale*/
4465
+ E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = br(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
4501
4466
  4096 && !Q(te.src, Se = /*caticons*/
4502
- E[12][3]) && P(te, "src", Se), I[0] & /*formattedLabels*/
4467
+ E[12][3]) && L(te, "src", Se), I[0] & /*formattedLabels*/
4503
4468
  2048 && be !== (be = /*formattedLabels*/
4504
- E[11][3] + "") && G(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4505
- 1092 && H !== (H = /*realtimeupdate*/
4469
+ E[11][3] + "") && j(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4470
+ 1092 && A !== (A = /*realtimeupdate*/
4506
4471
  (E[2] === "true" ? (
4507
4472
  /*updatedJackpotValues*/
4508
4473
  E[6][3]
4509
4474
  ) : (
4510
4475
  /*formattedJackpotValues*/
4511
4476
  E[10][3]
4512
- )) + "") && G(U, H), /*currencylocale*/
4513
- E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = Er(E), z.c(), z.m(le, null));
4477
+ )) + "") && j(U, A), /*currencylocale*/
4478
+ E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = gr(E), z.c(), z.m(ue, null));
4514
4479
  },
4515
4480
  d(E) {
4516
- E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
4481
+ E && (D(t), D(ve), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
4517
4482
  }
4518
4483
  };
4519
4484
  }
4520
- function $o(e) {
4521
- let t, r = Jt(Array(4)), n = [];
4485
+ function Us(e) {
4486
+ let t, r = Vt(Array(4)), n = [];
4522
4487
  for (let i = 0; i < r.length; i += 1)
4523
- n[i] = Sr(gr(e, r, i));
4488
+ n[i] = _r(dr(e, r, i));
4524
4489
  return {
4525
4490
  c() {
4526
4491
  for (let i = 0; i < n.length; i += 1)
4527
4492
  n[i].c();
4528
- t = hn();
4493
+ t = an();
4529
4494
  },
4530
- m(i, o) {
4531
- for (let s = 0; s < n.length; s += 1)
4532
- n[s] && n[s].m(i, o);
4533
- $(i, t, o);
4495
+ m(i, s) {
4496
+ for (let o = 0; o < n.length; o += 1)
4497
+ n[o] && n[o].m(i, s);
4498
+ F(i, t, s);
4534
4499
  },
4535
- p(i, o) {
4536
- if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
4500
+ p(i, s) {
4501
+ if (s[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
4537
4502
  72718) {
4538
- r = Jt(Array(4));
4539
- let s;
4540
- for (s = 0; s < r.length; s += 1) {
4541
- const a = gr(i, r, s);
4542
- n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t.parentNode, t));
4503
+ r = Vt(Array(4));
4504
+ let o;
4505
+ for (o = 0; o < r.length; o += 1) {
4506
+ const a = dr(i, r, o);
4507
+ n[o] ? n[o].p(a, s) : (n[o] = _r(a), n[o].c(), n[o].m(t.parentNode, t));
4543
4508
  }
4544
- for (; s < n.length; s += 1)
4545
- n[s].d(1);
4509
+ for (; o < n.length; o += 1)
4510
+ n[o].d(1);
4546
4511
  n.length = r.length;
4547
4512
  }
4548
4513
  },
4549
4514
  d(i) {
4550
- i && D(t), cn(n, i);
4515
+ i && D(t), on(n, i);
4551
4516
  }
4552
4517
  };
4553
4518
  }
4554
- function yr(e) {
4519
+ function pr(e) {
4555
4520
  let t, r;
4556
4521
  return {
4557
4522
  c() {
4558
4523
  t = b("span"), r = R(
4559
4524
  /*currency*/
4560
4525
  e[1]
4561
- ), _(t, "class", "jackpot-currency");
4526
+ ), v(t, "class", "jackpot-currency");
4562
4527
  },
4563
4528
  m(n, i) {
4564
- $(n, t, i), d(t, r);
4529
+ F(n, t, i), p(t, r);
4565
4530
  },
4566
4531
  p(n, i) {
4567
4532
  i[0] & /*currency*/
4568
- 2 && G(
4533
+ 2 && j(
4569
4534
  r,
4570
4535
  /*currency*/
4571
4536
  n[1]
@@ -4576,21 +4541,21 @@ function yr(e) {
4576
4541
  }
4577
4542
  };
4578
4543
  }
4579
- function vr(e) {
4544
+ function mr(e) {
4580
4545
  let t, r;
4581
4546
  return {
4582
4547
  c() {
4583
4548
  t = b("span"), r = R(
4584
4549
  /*currency*/
4585
4550
  e[1]
4586
- ), _(t, "class", "jackpot-currency");
4551
+ ), v(t, "class", "jackpot-currency");
4587
4552
  },
4588
4553
  m(n, i) {
4589
- $(n, t, i), d(t, r);
4554
+ F(n, t, i), p(t, r);
4590
4555
  },
4591
4556
  p(n, i) {
4592
4557
  i[0] & /*currency*/
4593
- 2 && G(
4558
+ 2 && j(
4594
4559
  r,
4595
4560
  /*currency*/
4596
4561
  n[1]
@@ -4601,21 +4566,21 @@ function vr(e) {
4601
4566
  }
4602
4567
  };
4603
4568
  }
4604
- function _r(e) {
4569
+ function br(e) {
4605
4570
  let t, r;
4606
4571
  return {
4607
4572
  c() {
4608
4573
  t = b("span"), r = R(
4609
4574
  /*currency*/
4610
4575
  e[1]
4611
- ), _(t, "class", "jackpot-currency");
4576
+ ), v(t, "class", "jackpot-currency");
4612
4577
  },
4613
4578
  m(n, i) {
4614
- $(n, t, i), d(t, r);
4579
+ F(n, t, i), p(t, r);
4615
4580
  },
4616
4581
  p(n, i) {
4617
4582
  i[0] & /*currency*/
4618
- 2 && G(
4583
+ 2 && j(
4619
4584
  r,
4620
4585
  /*currency*/
4621
4586
  n[1]
@@ -4626,21 +4591,21 @@ function _r(e) {
4626
4591
  }
4627
4592
  };
4628
4593
  }
4629
- function Er(e) {
4594
+ function gr(e) {
4630
4595
  let t, r;
4631
4596
  return {
4632
4597
  c() {
4633
4598
  t = b("span"), r = R(
4634
4599
  /*currency*/
4635
4600
  e[1]
4636
- ), _(t, "class", "jackpot-currency");
4601
+ ), v(t, "class", "jackpot-currency");
4637
4602
  },
4638
4603
  m(n, i) {
4639
- $(n, t, i), d(t, r);
4604
+ F(n, t, i), p(t, r);
4640
4605
  },
4641
4606
  p(n, i) {
4642
4607
  i[0] & /*currency*/
4643
- 2 && G(
4608
+ 2 && j(
4644
4609
  r,
4645
4610
  /*currency*/
4646
4611
  n[1]
@@ -4651,21 +4616,21 @@ function Er(e) {
4651
4616
  }
4652
4617
  };
4653
4618
  }
4654
- function xr(e) {
4619
+ function yr(e) {
4655
4620
  let t, r;
4656
4621
  return {
4657
4622
  c() {
4658
4623
  t = b("span"), r = R(
4659
4624
  /*currency*/
4660
4625
  e[1]
4661
- ), _(t, "class", "jackpot-currency");
4626
+ ), v(t, "class", "jackpot-currency");
4662
4627
  },
4663
4628
  m(n, i) {
4664
- $(n, t, i), d(t, r);
4629
+ F(n, t, i), p(t, r);
4665
4630
  },
4666
4631
  p(n, i) {
4667
4632
  i[0] & /*currency*/
4668
- 2 && G(
4633
+ 2 && j(
4669
4634
  r,
4670
4635
  /*currency*/
4671
4636
  n[1]
@@ -4676,14 +4641,14 @@ function xr(e) {
4676
4641
  }
4677
4642
  };
4678
4643
  }
4679
- function Sr(e) {
4680
- let t, r, n, i, o, s, a = (
4644
+ function _r(e) {
4645
+ let t, r, n, i, s, o, a = (
4681
4646
  /*formattedLabels*/
4682
4647
  e[11][
4683
4648
  /*i*/
4684
4649
  e[58]
4685
4650
  ] + ""
4686
- ), l, u, c, p, h = (
4651
+ ), l, u, c, d, h = (
4687
4652
  /*realtimeupdate*/
4688
4653
  (e[2] === "true" ? (
4689
4654
  /*reversedJackpotValues*/
@@ -4698,18 +4663,18 @@ function Sr(e) {
4698
4663
  e[58]
4699
4664
  ] ?? ""
4700
4665
  )) + ""
4701
- ), g, x, y, v = !/*currencylocale*/
4702
- e[3] && xr(e);
4666
+ ), g, x, y, _ = !/*currencylocale*/
4667
+ e[3] && yr(e);
4703
4668
  return {
4704
4669
  c() {
4705
- t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), p = b("span"), g = R(h), x = C(), v && v.c(), y = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
4670
+ t = b("div"), r = b("div"), n = b("ui-image"), s = C(), o = b("span"), l = R(a), u = C(), c = b("span"), d = b("span"), g = R(h), x = C(), _ && _.c(), y = C(), L(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
4706
4671
  e[12][
4707
4672
  /*i*/
4708
4673
  e[58]
4709
- ]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
4674
+ ]) || L(n, "src", i), L(n, "alt", ""), v(o, "class", "cardLabel"), v(r, "class", "iconWrapper"), v(d, "class", "jackpotValue"), v(c, "class", "cardTextWrapper"), v(t, "class", "displayCard");
4710
4675
  },
4711
4676
  m(m, T) {
4712
- $(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
4677
+ F(m, t, T), p(t, r), p(r, n), p(r, s), p(r, o), p(o, l), p(t, u), p(t, c), p(c, d), p(d, g), p(c, x), _ && _.m(c, null), p(t, y);
4713
4678
  },
4714
4679
  p(m, T) {
4715
4680
  T[0] & /*caticons*/
@@ -4717,12 +4682,12 @@ function Sr(e) {
4717
4682
  m[12][
4718
4683
  /*i*/
4719
4684
  m[58]
4720
- ]) && P(n, "src", i), T[0] & /*formattedLabels*/
4685
+ ]) && L(n, "src", i), T[0] & /*formattedLabels*/
4721
4686
  2048 && a !== (a = /*formattedLabels*/
4722
4687
  m[11][
4723
4688
  /*i*/
4724
4689
  m[58]
4725
- ] + "") && G(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4690
+ ] + "") && j(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4726
4691
  66564 && h !== (h = /*realtimeupdate*/
4727
4692
  (m[2] === "true" ? (
4728
4693
  /*reversedJackpotValues*/
@@ -4736,22 +4701,22 @@ function Sr(e) {
4736
4701
  /*i*/
4737
4702
  m[58]
4738
4703
  ] ?? ""
4739
- )) + "") && G(g, h), /*currencylocale*/
4740
- m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = xr(m), v.c(), v.m(c, null));
4704
+ )) + "") && j(g, h), /*currencylocale*/
4705
+ m[3] ? _ && (_.d(1), _ = null) : _ ? _.p(m, T) : (_ = yr(m), _.c(), _.m(c, null));
4741
4706
  },
4742
4707
  d(m) {
4743
- m && D(t), v && v.d();
4708
+ m && D(t), _ && _.d();
4744
4709
  }
4745
4710
  };
4746
4711
  }
4747
- function Fo(e) {
4712
+ function Ds(e) {
4748
4713
  let t;
4749
- function r(o, s) {
4714
+ function r(s, o) {
4750
4715
  return (
4751
4716
  /*hasErrors*/
4752
- o[15] ? jo : (
4717
+ s[15] ? Ms : (
4753
4718
  /*isLoading*/
4754
- o[5] ? ko : Do
4719
+ s[5] ? Ns : Is
4755
4720
  )
4756
4721
  );
4757
4722
  }
@@ -4760,45 +4725,45 @@ function Fo(e) {
4760
4725
  c() {
4761
4726
  t = b("div"), i.c();
4762
4727
  },
4763
- m(o, s) {
4764
- $(o, t, s), i.m(t, null), e[36](t);
4728
+ m(s, o) {
4729
+ F(s, t, o), i.m(t, null), e[36](t);
4765
4730
  },
4766
- p(o, s) {
4767
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4731
+ p(s, o) {
4732
+ n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4768
4733
  },
4769
4734
  i: Z,
4770
4735
  o: Z,
4771
- d(o) {
4772
- o && D(t), i.d(), e[36](null);
4736
+ d(s) {
4737
+ s && D(t), i.d(), e[36](null);
4773
4738
  }
4774
4739
  };
4775
4740
  }
4776
- function Vo(e, t, r) {
4777
- let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: A = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: F = "false" } = t, { currencylocale: J = "" } = t, Re = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], ne = "", ie = "", N, oe = !0, Ue = !1, pe, q = null, se = [];
4741
+ function ks(e, t, r) {
4742
+ let n, { visualstructure: i = "" } = t, { title: s = "" } = t, { caticon0: o = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: d = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: B = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: $ = "false" } = t, { currencylocale: J = "" } = t, Ue = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], _e = [], ve = [], ee = [], re = "", ne = "", N, ie = !0, De = !1, de, q = null, se = [];
4778
4743
  const Ze = () => {
4779
- fetch(T).then((H) => H.json()).then((H) => {
4780
- Object.keys(H).forEach((U) => {
4781
- mr(U, H[U]);
4744
+ fetch(T).then((A) => A.json()).then((A) => {
4745
+ Object.keys(A).forEach((U) => {
4746
+ hr(U, A[U]);
4782
4747
  });
4783
- }).catch((H) => {
4784
- console.log(H);
4748
+ }).catch((A) => {
4749
+ console.log(A);
4785
4750
  });
4786
4751
  };
4787
- Object.keys(br).forEach((f) => {
4788
- mr(f, br[f]);
4752
+ Object.keys(fr).forEach((f) => {
4753
+ hr(f, fr[f]);
4789
4754
  });
4790
4755
  const K = ["typeSpread", "typeLeft"], Ee = (f) => {
4791
- const H = f?.items[0]?.additionalData;
4792
- H && Object.values(H).forEach((U) => he.push(+U));
4756
+ const A = f?.items[0]?.additionalData;
4757
+ A && Object.values(A).forEach((U) => he.push(+U));
4793
4758
  }, xe = (f) => {
4794
4759
  r(9, me = f?.items[0]?.vendorLogo || "");
4795
- }, De = () => {
4796
- if (A && y && h) {
4797
- let f = new URL(`${A}/v1/casino/jackpots`);
4798
- f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((U) => {
4799
- r(5, oe = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
4760
+ }, ke = () => {
4761
+ if (B && y && h) {
4762
+ let f = new URL(`${B}/v1/casino/jackpots`);
4763
+ f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((A) => A.json().then((U) => {
4764
+ r(5, ie = !1), de = U, fe.includes(M) && (Ee(de), xe(de));
4800
4765
  }).catch((U) => {
4801
- r(15, Ue = !0), r(5, oe = !1), console.error(U);
4766
+ r(15, De = !0), r(5, ie = !1), console.error(U);
4802
4767
  }).finally(() => {
4803
4768
  Qe();
4804
4769
  }));
@@ -4807,114 +4772,114 @@ function Vo(e, t, r) {
4807
4772
  const f = N.getRootNode().host;
4808
4773
  f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
4809
4774
  }, Ye = () => {
4810
- let f = new URL(`${A}/v1/casino/jackpots/config`);
4811
- fetch(f.href).then((H) => H.json()).then((H) => {
4812
- r(34, fe = H.egtJackpotIds.map((U) => U));
4775
+ let f = new URL(`${B}/v1/casino/jackpots/config`);
4776
+ fetch(f.href).then((A) => A.json()).then((A) => {
4777
+ r(34, fe = A.egtJackpotIds.map((U) => U));
4813
4778
  });
4814
- }, ae = () => {
4815
- r(7, ye = Co(Re) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, ne = g && ye && !Y ? g : p), r(14, ie = x), r(12, ee = [s, a, l, u]);
4816
- }, ue = (f) => Intl.NumberFormat(J, {
4779
+ }, oe = () => {
4780
+ r(7, ye = As(Ue) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, _e = te(he)), _e.reverse()), r(11, ve = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, re = g && ye && !Y ? g : d), r(14, ne = x), r(12, ee = [o, a, l, u]);
4781
+ }, ae = (f) => Intl.NumberFormat(J, {
4817
4782
  minimumFractionDigits: 2,
4818
4783
  maximumFractionDigits: 2,
4819
4784
  style: "currency",
4820
4785
  currency: h
4821
- }).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((H) => ue(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Se = () => {
4786
+ }).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((A) => ae(A)) : f.map((A) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(A)), Se = () => {
4822
4787
  const f = window.innerHeight / window.innerWidth;
4823
4788
  return 0.75 < f && f < 1.6;
4824
- }, ke = () => {
4789
+ }, Ge = () => {
4825
4790
  window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
4826
4791
  context: "JackpotBanner",
4827
4792
  gameId: `${M}`
4828
4793
  });
4829
4794
  }, Te = () => {
4830
- Ro(y);
4795
+ Os(y);
4831
4796
  }, be = (f) => {
4832
- const H = JSON.parse(f.data);
4833
- if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === M) {
4834
- const U = Number(H.data.jackpotAlias.split("_")[1]) - 1;
4797
+ const A = JSON.parse(f.data);
4798
+ if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === M) {
4799
+ const U = Number(A.data.jackpotAlias.split("_")[1]) - 1;
4835
4800
  r(
4836
4801
  6,
4837
- se[U] = J ? ue(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
4802
+ se[U] = J ? ae(A.data.data[`${h}`].balance) : A.data.data[`${h}`].balance.toString(),
4838
4803
  se
4839
4804
  );
4840
4805
  }
4841
4806
  }, je = () => {
4842
- F === "true" && (ae(), r(6, se = ["", "", "", ""]), q = new EventSource(`${A}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
4807
+ $ === "true" && (oe(), r(6, se = ["", "", "", ""]), q = new EventSource(`${B}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
4843
4808
  };
4844
- mn(() => () => {
4845
- }), bn(() => {
4809
+ hn(() => () => {
4810
+ }), fn(() => {
4846
4811
  q && (q.removeEventListener("message", be), q.close(), q = null);
4847
4812
  });
4848
- const qe = () => ke();
4849
- function le(f) {
4850
- Tt[f ? "unshift" : "push"](() => {
4813
+ const qe = () => Ge();
4814
+ function ue(f) {
4815
+ Et[f ? "unshift" : "push"](() => {
4851
4816
  N = f, r(4, N);
4852
4817
  });
4853
4818
  }
4854
4819
  return e.$$set = (f) => {
4855
- "visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, A = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, F = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
4820
+ "visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, s = f.title), "caticon0" in f && r(19, o = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, d = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, _ = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, B = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, $ = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
4856
4821
  }, e.$$.update = () => {
4857
4822
  e.$$.dirty[1] & /*endpoint*/
4858
- 1 && A && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4859
- 268435472 && v && N && Io(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4860
- 536870928 && m && N && No(N, m), e.$$.dirty[0] & /*customStylingContainer*/
4823
+ 1 && B && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4824
+ 268435472 && _ && N && Bs(N, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4825
+ 536870928 && m && N && Ps(N, m), e.$$.dirty[0] & /*customStylingContainer*/
4861
4826
  16 | e.$$.dirty[1] & /*mbsource*/
4862
- 4 && k && N && Mo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
4827
+ 4 && k && N && Ls(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
4863
4828
  134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
4864
- 9 && A && y && h && fe.length > 0 && De(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4865
- 134217762 && h && y && !oe && ae(), e.$$.dirty[0] & /*lang*/
4829
+ 9 && B && y && h && fe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4830
+ 134217762 && h && y && !ie && oe(), e.$$.dirty[0] & /*lang*/
4866
4831
  134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
4867
4832
  1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
4868
- 4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
4833
+ 4 && $ && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
4869
4834
  64 && r(16, n = [...se].reverse());
4870
4835
  }, [
4871
4836
  i,
4872
4837
  h,
4873
- F,
4838
+ $,
4874
4839
  J,
4875
4840
  N,
4876
- oe,
4841
+ ie,
4877
4842
  se,
4878
4843
  ye,
4879
4844
  Y,
4880
4845
  me,
4881
- ve,
4882
4846
  _e,
4847
+ ve,
4883
4848
  ee,
4849
+ re,
4884
4850
  ne,
4885
- ie,
4886
- Ue,
4851
+ De,
4887
4852
  n,
4888
- ke,
4889
- o,
4853
+ Ge,
4890
4854
  s,
4855
+ o,
4891
4856
  a,
4892
4857
  l,
4893
4858
  u,
4894
4859
  c,
4895
- p,
4860
+ d,
4896
4861
  g,
4897
4862
  x,
4898
4863
  y,
4899
- v,
4864
+ _,
4900
4865
  m,
4901
4866
  T,
4902
- A,
4867
+ B,
4903
4868
  M,
4904
4869
  k,
4905
4870
  fe,
4906
4871
  qe,
4907
- le
4872
+ ue
4908
4873
  ];
4909
4874
  }
4910
- class Wo extends Bn {
4875
+ class Gs extends Tn {
4911
4876
  constructor(t) {
4912
- super(), Hn(
4877
+ super(), xn(
4913
4878
  this,
4914
4879
  t,
4915
- Vo,
4916
- Fo,
4917
- wr,
4880
+ ks,
4881
+ Ds,
4882
+ Er,
4918
4883
  {
4919
4884
  visualstructure: 0,
4920
4885
  title: 18,
@@ -4937,7 +4902,7 @@ class Wo extends Bn {
4937
4902
  realtimeupdate: 2,
4938
4903
  currencylocale: 3
4939
4904
  },
4940
- Uo,
4905
+ Cs,
4941
4906
  [-1, -1]
4942
4907
  );
4943
4908
  }
@@ -5062,7 +5027,7 @@ class Wo extends Bn {
5062
5027
  this.$$set({ currencylocale: t }), O();
5063
5028
  }
5064
5029
  }
5065
- An(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
5030
+ Sn(Gs, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
5066
5031
  export {
5067
- Wo as C
5032
+ Gs as C
5068
5033
  };