@everymatrix/casino-tournaments-thumbnail-games 0.0.7 → 0.1.0

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.
Files changed (21) hide show
  1. package/components/{CasinoTournamentsThumbnailGames-qERu7xEo.js → CasinoTournamentsThumbnailGames-BOE6ogwO.js} +854 -840
  2. package/components/CasinoTournamentsThumbnailGames-DSdwZGDn.cjs +18 -0
  3. package/components/{CasinoTournamentsThumbnailGames-C3rwWvE4.js → CasinoTournamentsThumbnailGames-LxO5LKBn.js} +883 -869
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  9. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  10. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  11. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
  12. package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
  13. package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  17. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  18. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  19. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-CTgxFFRo.cjs +0 -18
  21. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-CYuYAlOX.js";
1
+ import "../stencil/ui-image-BW8AeEVd.js";
2
2
  function I() {
3
3
  }
4
- function Pt(e) {
4
+ function It(e) {
5
5
  return e();
6
6
  }
7
- function Ye() {
7
+ function et() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function se(e) {
11
- e.forEach(Pt);
10
+ function oe(e) {
11
+ e.forEach(It);
12
12
  }
13
13
  function ye(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Ot(e, t) {
16
+ function Nt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let ae;
20
- function Ke(e, t) {
20
+ function tt(e, t) {
21
21
  return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
22
22
  }
23
- function hr(e) {
23
+ function fr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function It(e, ...t) {
26
+ function Lt(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function It(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function lr(e, t, r) {
36
- e.$$.on_destroy.push(It(t, r));
35
+ function pr(e, t, r) {
36
+ e.$$.on_destroy.push(Lt(t, r));
37
37
  }
38
38
  function B(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function fr(e, t, r) {
42
- const n = cr(e);
41
+ function mr(e, t, r) {
42
+ const n = dr(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = P("style");
45
- i.id = t, i.textContent = r, pr(n, i);
45
+ i.id = t, i.textContent = r, br(n, i);
46
46
  }
47
47
  }
48
- function cr(e) {
48
+ function dr(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,33 +55,33 @@ function cr(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function pr(e, t) {
58
+ function br(e, t) {
59
59
  return B(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function oe(e, t, r) {
65
+ function se(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
68
  function Q(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function et(e, t) {
71
+ function rt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
75
  function P(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function me(e) {
78
+ function de(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
81
  function te() {
82
- return me(" ");
82
+ return de(" ");
83
83
  }
84
- function dr(e, t, r, n) {
84
+ function gr(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
87
  function H(e, t, r) {
@@ -91,14 +91,14 @@ function w(e, t, r) {
91
91
  const n = t.toLowerCase();
92
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 : H(e, t, r);
93
93
  }
94
- function mr(e) {
94
+ function yr(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function Ie(e, t) {
97
+ function Ne(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function br(e) {
101
+ function vr(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -111,22 +111,22 @@ let re;
111
111
  function ee(e) {
112
112
  re = e;
113
113
  }
114
- function gr() {
114
+ function _r() {
115
115
  if (!re)
116
116
  throw new Error("Function called outside component initialization");
117
117
  return re;
118
118
  }
119
- function yr(e) {
120
- gr().$$.on_mount.push(e);
119
+ function Er(e) {
120
+ _r().$$.on_mount.push(e);
121
121
  }
122
- const j = [], Ne = [];
122
+ const j = [], Le = [];
123
123
  let k = [];
124
- const tt = [], _r = /* @__PURE__ */ Promise.resolve();
125
- let Le = !1;
126
- function vr() {
127
- Le || (Le = !0, _r.then(G));
124
+ const nt = [], xr = /* @__PURE__ */ Promise.resolve();
125
+ let Ce = !1;
126
+ function Tr() {
127
+ Ce || (Ce = !0, xr.then(G));
128
128
  }
129
- function Ce(e) {
129
+ function Me(e) {
130
130
  k.push(e);
131
131
  }
132
132
  const Se = /* @__PURE__ */ new Set();
@@ -139,66 +139,66 @@ function G() {
139
139
  try {
140
140
  for (; D < j.length; ) {
141
141
  const t = j[D];
142
- D++, ee(t), Er(t.$$);
142
+ D++, ee(t), Sr(t.$$);
143
143
  }
144
144
  } catch (t) {
145
145
  throw j.length = 0, D = 0, t;
146
146
  }
147
- for (ee(null), j.length = 0, D = 0; Ne.length; )
148
- Ne.pop()();
147
+ for (ee(null), j.length = 0, D = 0; Le.length; )
148
+ Le.pop()();
149
149
  for (let t = 0; t < k.length; t += 1) {
150
150
  const r = k[t];
151
151
  Se.has(r) || (Se.add(r), r());
152
152
  }
153
153
  k.length = 0;
154
154
  } while (j.length);
155
- for (; tt.length; )
156
- tt.pop()();
157
- Le = !1, Se.clear(), ee(e);
155
+ for (; nt.length; )
156
+ nt.pop()();
157
+ Ce = !1, Se.clear(), ee(e);
158
158
  }
159
- function Er(e) {
159
+ function Sr(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), se(e.before_update);
161
+ e.update(), oe(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
164
164
  }
165
165
  }
166
- function xr(e) {
166
+ function wr(e) {
167
167
  const t = [], r = [];
168
168
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
169
169
  }
170
- const Tr = /* @__PURE__ */ new Set();
171
- function Sr(e, t) {
172
- e && e.i && (Tr.delete(e), e.i(t));
170
+ const Hr = /* @__PURE__ */ new Set();
171
+ function Br(e, t) {
172
+ e && e.i && (Hr.delete(e), e.i(t));
173
173
  }
174
174
  function ue(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function wr(e, t, r) {
177
+ function Ar(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
- n && n.m(t, r), Ce(() => {
180
- const s = e.$$.on_mount.map(Pt).filter(ye);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
182
- }), i.forEach(Ce);
179
+ n && n.m(t, r), Me(() => {
180
+ const o = e.$$.on_mount.map(It).filter(ye);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
182
+ }), i.forEach(Me);
183
183
  }
184
- function Hr(e, t) {
184
+ function Pr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (xr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (wr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function Br(e, t) {
189
- e.$$.dirty[0] === -1 && (j.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function Or(e, t) {
189
+ e.$$.dirty[0] === -1 && (j.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function Ar(e, t, r, n, i, s, o = null, a = [-1]) {
191
+ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
192
192
  const h = re;
193
193
  ee(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
197
197
  // state
198
- props: s,
198
+ props: o,
199
199
  update: I,
200
200
  not_equal: i,
201
- bound: Ye(),
201
+ bound: et(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,28 +207,28 @@ function Ar(e, t, r, n, i, s, o = null, a = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (h ? h.$$.context : [])),
209
209
  // everything else
210
- callbacks: Ye(),
210
+ callbacks: et(),
211
211
  dirty: a,
212
212
  skip_bound: !1,
213
213
  root: t.target || h.$$.root
214
214
  };
215
- o && o(u.root);
215
+ s && s(u.root);
216
216
  let l = !1;
217
- if (u.ctx = r(e, t.props || {}, (f, c, ...p) => {
218
- const d = p.length ? p[0] : c;
219
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Br(e, f)), c;
220
- }), u.update(), l = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
217
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
218
+ const m = p.length ? p[0] : f;
219
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Or(e, c)), f;
220
+ }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const f = mr(t.target);
223
- u.fragment && u.fragment.l(f), f.forEach(Q);
222
+ const c = yr(t.target);
223
+ u.fragment && u.fragment.l(c), c.forEach(Q);
224
224
  } else
225
225
  u.fragment && u.fragment.c();
226
- t.intro && Sr(e.$$.fragment), wr(e, t.target, t.anchor), G();
226
+ t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), G();
227
227
  }
228
228
  ee(h);
229
229
  }
230
- let Nt;
231
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
230
+ let Ct;
231
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -267,32 +267,32 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
267
267
  if (this.$$cn = !0, !this.$$c) {
268
268
  let e = function(i) {
269
269
  return () => {
270
- let s;
270
+ let o;
271
271
  return {
272
272
  c: function() {
273
- s = P("slot"), i !== "default" && H(s, "name", i);
273
+ o = P("slot"), i !== "default" && H(o, "name", i);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
277
277
  * @param {HTMLElement} [anchor]
278
278
  */
279
279
  m: function(h, u) {
280
- oe(h, s, u);
280
+ se(h, o, u);
281
281
  },
282
282
  d: function(h) {
283
- h && Q(s);
283
+ h && Q(o);
284
284
  }
285
285
  };
286
286
  };
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = br(this);
290
+ const t = {}, r = vr(this);
291
291
  for (const i of this.$$s)
292
292
  i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
294
- const s = this.$$g_p(i.name);
295
- s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
294
+ const o = this.$$g_p(i.name);
295
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -310,21 +310,21 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const s = fe(
313
+ const o = ce(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
317
317
  "toAttribute"
318
318
  );
319
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
319
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
320
320
  }
321
321
  this.$$r = !1;
322
322
  };
323
323
  this.$$c.$$.after_update.push(n), n();
324
324
  for (const i in this.$$l)
325
- for (const s of this.$$l[i]) {
326
- const o = this.$$c.$on(i, s);
327
- this.$$l_u.set(s, o);
325
+ for (const o of this.$$l[i]) {
326
+ const s = this.$$c.$on(i, o);
327
+ this.$$l_u.set(o, s);
328
328
  }
329
329
  this.$$l = {};
330
330
  }
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
334
  attributeChangedCallback(e, t, r) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function fe(e, t, r, n) {
348
+ function ce(e, t, r, n) {
349
349
  const i = r[e]?.type;
350
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
@@ -374,8 +374,8 @@ function fe(e, t, r, n) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function Pr(e, t, r, n, i, s) {
378
- let o = class extends Nt {
377
+ function Nr(e, t, r, n, i, o) {
378
+ let s = class extends Ct {
379
379
  constructor() {
380
380
  super(e, r, i), this.$$p_d = t;
381
381
  }
@@ -386,24 +386,24 @@ function Pr(e, t, r, n, i, s) {
386
386
  }
387
387
  };
388
388
  return Object.keys(t).forEach((a) => {
389
- Object.defineProperty(o.prototype, a, {
389
+ Object.defineProperty(s.prototype, a, {
390
390
  get() {
391
391
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
392
392
  },
393
393
  set(h) {
394
- h = fe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
394
+ h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
395
395
  }
396
396
  });
397
397
  }), n.forEach((a) => {
398
- Object.defineProperty(o.prototype, a, {
398
+ Object.defineProperty(s.prototype, a, {
399
399
  get() {
400
400
  return this.$$c?.[a];
401
401
  }
402
402
  });
403
403
  }), e.element = /** @type {any} */
404
- o, o;
404
+ s, s;
405
405
  }
406
- class Or {
406
+ class Lr {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class Or {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- Hr(this, 1), this.$destroy = I;
425
+ Pr(this, 1), this.$destroy = I;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -444,18 +444,18 @@ class Or {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const Ir = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
452
- function Nr(e, t) {
450
+ const Cr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
452
+ function Mr(e, t) {
453
453
  if (e) {
454
454
  const r = document.createElement("style");
455
455
  r.innerHTML = t, e.appendChild(r);
456
456
  }
457
457
  }
458
- function Lr(e, t) {
458
+ function $r(e, t) {
459
459
  const r = new URL(t);
460
460
  fetch(r.href).then((n) => n.text()).then((n) => {
461
461
  const i = document.createElement("style");
@@ -464,7 +464,7 @@ function Lr(e, t) {
464
464
  console.error("There was an error while trying to load client styling from URL", n);
465
465
  });
466
466
  }
467
- function Cr(e, t, r) {
467
+ function Rr(e, t, r) {
468
468
  if (window.emMessageBus) {
469
469
  const n = document.createElement("style");
470
470
  window.emMessageBus.subscribe(t, (i) => {
@@ -486,18 +486,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
486
486
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
487
487
  PERFORMANCE OF THIS SOFTWARE.
488
488
  ***************************************************************************** */
489
- var Me = function(e, t) {
490
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
+ var $e = function(e, t) {
490
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
491
491
  r.__proto__ = n;
492
492
  } || function(r, n) {
493
493
  for (var i in n)
494
494
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
495
- }, Me(e, t);
495
+ }, $e(e, t);
496
496
  };
497
497
  function C(e, t) {
498
498
  if (typeof t != "function" && t !== null)
499
499
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
500
- Me(e, t);
500
+ $e(e, t);
501
501
  function r() {
502
502
  this.constructor = e;
503
503
  }
@@ -507,13 +507,13 @@ var E = function() {
507
507
  return E = Object.assign || function(t) {
508
508
  for (var r, n = 1, i = arguments.length; n < i; n++) {
509
509
  r = arguments[n];
510
- for (var s in r)
511
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
510
+ for (var o in r)
511
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
512
512
  }
513
513
  return t;
514
514
  }, E.apply(this, arguments);
515
515
  };
516
- function Mr(e, t) {
516
+ function Gr(e, t) {
517
517
  var r = {};
518
518
  for (var n in e)
519
519
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -522,7 +522,7 @@ function Mr(e, t) {
522
522
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
523
523
  return r;
524
524
  }
525
- function $e(e) {
525
+ function Re(e) {
526
526
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
527
527
  if (r)
528
528
  return r.call(e);
@@ -534,42 +534,42 @@ function $e(e) {
534
534
  };
535
535
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
536
536
  }
537
- function Re(e, t) {
537
+ function Ge(e, t) {
538
538
  var r = typeof Symbol == "function" && e[Symbol.iterator];
539
539
  if (!r)
540
540
  return e;
541
- var n = r.call(e), i, s = [], o;
541
+ var n = r.call(e), i, o = [], s;
542
542
  try {
543
543
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
544
- s.push(i.value);
544
+ o.push(i.value);
545
545
  } catch (a) {
546
- o = { error: a };
546
+ s = { error: a };
547
547
  } finally {
548
548
  try {
549
549
  i && !i.done && (r = n.return) && r.call(n);
550
550
  } finally {
551
- if (o)
552
- throw o.error;
551
+ if (s)
552
+ throw s.error;
553
553
  }
554
554
  }
555
- return s;
555
+ return o;
556
556
  }
557
557
  function V(e, t, r) {
558
558
  if (r || arguments.length === 2)
559
- for (var n = 0, i = t.length, s; n < i; n++)
560
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
561
- return e.concat(s || t);
559
+ for (var n = 0, i = t.length, o; n < i; n++)
560
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
561
+ return e.concat(o || t);
562
562
  }
563
563
  function L(e) {
564
564
  return typeof e == "function";
565
565
  }
566
- function Lt(e) {
566
+ function Mt(e) {
567
567
  var t = function(n) {
568
568
  Error.call(n), n.stack = new Error().stack;
569
569
  }, r = e(t);
570
570
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
571
571
  }
572
- var we = Lt(function(e) {
572
+ var we = Mt(function(e) {
573
573
  return function(r) {
574
574
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
575
575
  ` + r.map(function(n, i) {
@@ -578,25 +578,25 @@ var we = Lt(function(e) {
578
578
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
579
579
  };
580
580
  });
581
- function Ge(e, t) {
581
+ function Ue(e, t) {
582
582
  if (e) {
583
583
  var r = e.indexOf(t);
584
584
  0 <= r && e.splice(r, 1);
585
585
  }
586
586
  }
587
- var _e = function() {
587
+ var ve = function() {
588
588
  function e(t) {
589
589
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
590
590
  }
591
591
  return e.prototype.unsubscribe = function() {
592
- var t, r, n, i, s;
592
+ var t, r, n, i, o;
593
593
  if (!this.closed) {
594
594
  this.closed = !0;
595
- var o = this._parentage;
596
- if (o)
597
- if (this._parentage = null, Array.isArray(o))
595
+ var s = this._parentage;
596
+ if (s)
597
+ if (this._parentage = null, Array.isArray(s))
598
598
  try {
599
- for (var a = $e(o), h = a.next(); !h.done; h = a.next()) {
599
+ for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
600
600
  var u = h.value;
601
601
  u.remove(this);
602
602
  }
@@ -611,45 +611,45 @@ var _e = function() {
611
611
  }
612
612
  }
613
613
  else
614
- o.remove(this);
614
+ s.remove(this);
615
615
  var l = this.initialTeardown;
616
616
  if (L(l))
617
617
  try {
618
618
  l();
619
619
  } catch (g) {
620
- s = g instanceof we ? g.errors : [g];
620
+ o = g instanceof we ? g.errors : [g];
621
621
  }
622
- var f = this._finalizers;
623
- if (f) {
622
+ var c = this._finalizers;
623
+ if (c) {
624
624
  this._finalizers = null;
625
625
  try {
626
- for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
627
- var d = p.value;
626
+ for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
627
+ var m = p.value;
628
628
  try {
629
- rt(d);
629
+ it(m);
630
630
  } catch (g) {
631
- s = s ?? [], g instanceof we ? s = V(V([], Re(s)), Re(g.errors)) : s.push(g);
631
+ o = o ?? [], g instanceof we ? o = V(V([], Ge(o)), Ge(g.errors)) : o.push(g);
632
632
  }
633
633
  }
634
634
  } catch (g) {
635
635
  n = { error: g };
636
636
  } finally {
637
637
  try {
638
- p && !p.done && (i = c.return) && i.call(c);
638
+ p && !p.done && (i = f.return) && i.call(f);
639
639
  } finally {
640
640
  if (n)
641
641
  throw n.error;
642
642
  }
643
643
  }
644
644
  }
645
- if (s)
646
- throw new we(s);
645
+ if (o)
646
+ throw new we(o);
647
647
  }
648
648
  }, e.prototype.add = function(t) {
649
649
  var r;
650
650
  if (t && t !== this)
651
651
  if (this.closed)
652
- rt(t);
652
+ it(t);
653
653
  else {
654
654
  if (t instanceof e) {
655
655
  if (t.closed || t._hasParent(this))
@@ -666,56 +666,56 @@ var _e = function() {
666
666
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
667
667
  }, e.prototype._removeParent = function(t) {
668
668
  var r = this._parentage;
669
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
669
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
670
670
  }, e.prototype.remove = function(t) {
671
671
  var r = this._finalizers;
672
- r && Ge(r, t), t instanceof e && t._removeParent(this);
672
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
673
673
  }, e.EMPTY = function() {
674
674
  var t = new e();
675
675
  return t.closed = !0, t;
676
676
  }(), e;
677
- }(), Ct = _e.EMPTY;
678
- function Mt(e) {
679
- return e instanceof _e || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
677
+ }(), $t = ve.EMPTY;
678
+ function Rt(e) {
679
+ return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
680
680
  }
681
- function rt(e) {
681
+ function it(e) {
682
682
  L(e) ? e() : e.unsubscribe();
683
683
  }
684
- var $r = {
684
+ var Gt = {
685
685
  onUnhandledError: null,
686
686
  onStoppedNotification: null,
687
687
  Promise: void 0,
688
688
  useDeprecatedSynchronousErrorHandling: !1,
689
689
  useDeprecatedNextContext: !1
690
- }, Rr = {
690
+ }, Ur = {
691
691
  setTimeout: function(e, t) {
692
692
  for (var r = [], n = 2; n < arguments.length; n++)
693
693
  r[n - 2] = arguments[n];
694
- return setTimeout.apply(void 0, V([e, t], Re(r)));
694
+ return setTimeout.apply(void 0, V([e, t], Ge(r)));
695
695
  },
696
696
  clearTimeout: function(e) {
697
697
  return clearTimeout(e);
698
698
  },
699
699
  delegate: void 0
700
700
  };
701
- function Gr(e) {
702
- Rr.setTimeout(function() {
701
+ function Dr(e) {
702
+ Ur.setTimeout(function() {
703
703
  throw e;
704
704
  });
705
705
  }
706
- function nt() {
706
+ function ot() {
707
707
  }
708
- function ce(e) {
708
+ function fe(e) {
709
709
  e();
710
710
  }
711
- var $t = function(e) {
711
+ var Ut = function(e) {
712
712
  C(t, e);
713
713
  function t(r) {
714
714
  var n = e.call(this) || this;
715
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Fr, n;
715
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Vr, n;
716
716
  }
717
717
  return t.create = function(r, n, i) {
718
- return new Ue(r, n, i);
718
+ return new De(r, n, i);
719
719
  }, t.prototype.next = function(r) {
720
720
  this.isStopped || this._next(r);
721
721
  }, t.prototype.error = function(r) {
@@ -739,7 +739,11 @@ var $t = function(e) {
739
739
  this.unsubscribe();
740
740
  }
741
741
  }, t;
742
- }(_e), Ur = function() {
742
+ }(ve), Fr = Function.prototype.bind;
743
+ function He(e, t) {
744
+ return Fr.call(e, t);
745
+ }
746
+ var jr = function() {
743
747
  function e(t) {
744
748
  this.partialObserver = t;
745
749
  }
@@ -770,43 +774,55 @@ var $t = function(e) {
770
774
  he(r);
771
775
  }
772
776
  }, e;
773
- }(), Ue = function(e) {
777
+ }(), De = function(e) {
774
778
  C(t, e);
775
779
  function t(r, n, i) {
776
- var s = e.call(this) || this, o;
777
- return L(r) || !r ? o = {
778
- next: r ?? void 0,
779
- error: n ?? void 0,
780
- complete: i ?? void 0
781
- } : o = r, s.destination = new Ur(o), s;
780
+ var o = e.call(this) || this, s;
781
+ if (L(r) || !r)
782
+ s = {
783
+ next: r ?? void 0,
784
+ error: n ?? void 0,
785
+ complete: i ?? void 0
786
+ };
787
+ else {
788
+ var a;
789
+ o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
790
+ return o.unsubscribe();
791
+ }, s = {
792
+ next: r.next && He(r.next, a),
793
+ error: r.error && He(r.error, a),
794
+ complete: r.complete && He(r.complete, a)
795
+ }) : s = r;
796
+ }
797
+ return o.destination = new jr(s), o;
782
798
  }
783
799
  return t;
784
- }($t);
800
+ }(Ut);
785
801
  function he(e) {
786
- Gr(e);
802
+ Dr(e);
787
803
  }
788
- function Dr(e) {
804
+ function kr(e) {
789
805
  throw e;
790
806
  }
791
- var Fr = {
807
+ var Vr = {
792
808
  closed: !0,
793
- next: nt,
794
- error: Dr,
795
- complete: nt
796
- }, jr = function() {
809
+ next: ot,
810
+ error: kr,
811
+ complete: ot
812
+ }, Xr = function() {
797
813
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
798
814
  }();
799
- function kr(e) {
815
+ function Wr(e) {
800
816
  return e;
801
817
  }
802
- function Vr(e) {
803
- return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
818
+ function zr(e) {
819
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
804
820
  return e.reduce(function(n, i) {
805
821
  return i(n);
806
822
  }, r);
807
823
  };
808
824
  }
809
- var it = function() {
825
+ var st = function() {
810
826
  function e(t) {
811
827
  t && (this._subscribe = t);
812
828
  }
@@ -814,11 +830,11 @@ var it = function() {
814
830
  var r = new e();
815
831
  return r.source = this, r.operator = t, r;
816
832
  }, e.prototype.subscribe = function(t, r, n) {
817
- var i = this, s = Wr(t) ? t : new Ue(t, r, n);
818
- return ce(function() {
819
- var o = i, a = o.operator, h = o.source;
820
- s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
821
- }), s;
833
+ var i = this, o = Qr(t) ? t : new De(t, r, n);
834
+ return fe(function() {
835
+ var s = i, a = s.operator, h = s.source;
836
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
837
+ }), o;
822
838
  }, e.prototype._trySubscribe = function(t) {
823
839
  try {
824
840
  return this._subscribe(t);
@@ -827,79 +843,79 @@ var it = function() {
827
843
  }
828
844
  }, e.prototype.forEach = function(t, r) {
829
845
  var n = this;
830
- return r = st(r), new r(function(i, s) {
831
- var o = new Ue({
846
+ return r = at(r), new r(function(i, o) {
847
+ var s = new De({
832
848
  next: function(a) {
833
849
  try {
834
850
  t(a);
835
851
  } catch (h) {
836
- s(h), o.unsubscribe();
852
+ o(h), s.unsubscribe();
837
853
  }
838
854
  },
839
- error: s,
855
+ error: o,
840
856
  complete: i
841
857
  });
842
- n.subscribe(o);
858
+ n.subscribe(s);
843
859
  });
844
860
  }, e.prototype._subscribe = function(t) {
845
861
  var r;
846
862
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
847
- }, e.prototype[jr] = function() {
863
+ }, e.prototype[Xr] = function() {
848
864
  return this;
849
865
  }, e.prototype.pipe = function() {
850
866
  for (var t = [], r = 0; r < arguments.length; r++)
851
867
  t[r] = arguments[r];
852
- return Vr(t)(this);
868
+ return zr(t)(this);
853
869
  }, e.prototype.toPromise = function(t) {
854
870
  var r = this;
855
- return t = st(t), new t(function(n, i) {
856
- var s;
857
- r.subscribe(function(o) {
858
- return s = o;
859
- }, function(o) {
860
- return i(o);
871
+ return t = at(t), new t(function(n, i) {
872
+ var o;
873
+ r.subscribe(function(s) {
874
+ return o = s;
875
+ }, function(s) {
876
+ return i(s);
861
877
  }, function() {
862
- return n(s);
878
+ return n(o);
863
879
  });
864
880
  });
865
881
  }, e.create = function(t) {
866
882
  return new e(t);
867
883
  }, e;
868
884
  }();
869
- function st(e) {
885
+ function at(e) {
870
886
  var t;
871
- return (t = e ?? $r.Promise) !== null && t !== void 0 ? t : Promise;
887
+ return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
872
888
  }
873
- function Xr(e) {
889
+ function Zr(e) {
874
890
  return e && L(e.next) && L(e.error) && L(e.complete);
875
891
  }
876
- function Wr(e) {
877
- return e && e instanceof $t || Xr(e) && Mt(e);
892
+ function Qr(e) {
893
+ return e && e instanceof Ut || Zr(e) && Rt(e);
878
894
  }
879
- var zr = Lt(function(e) {
895
+ var Jr = Mt(function(e) {
880
896
  return function() {
881
897
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
882
898
  };
883
- }), Rt = function(e) {
899
+ }), Dt = function(e) {
884
900
  C(t, e);
885
901
  function t() {
886
902
  var r = e.call(this) || this;
887
903
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
888
904
  }
889
905
  return t.prototype.lift = function(r) {
890
- var n = new ot(this, this);
906
+ var n = new ut(this, this);
891
907
  return n.operator = r, n;
892
908
  }, t.prototype._throwIfClosed = function() {
893
909
  if (this.closed)
894
- throw new zr();
910
+ throw new Jr();
895
911
  }, t.prototype.next = function(r) {
896
912
  var n = this;
897
- ce(function() {
898
- var i, s;
913
+ fe(function() {
914
+ var i, o;
899
915
  if (n._throwIfClosed(), !n.isStopped) {
900
916
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
901
917
  try {
902
- for (var o = $e(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
918
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
903
919
  var h = a.value;
904
920
  h.next(r);
905
921
  }
@@ -907,7 +923,7 @@ var zr = Lt(function(e) {
907
923
  i = { error: u };
908
924
  } finally {
909
925
  try {
910
- a && !a.done && (s = o.return) && s.call(o);
926
+ a && !a.done && (o = s.return) && o.call(s);
911
927
  } finally {
912
928
  if (i)
913
929
  throw i.error;
@@ -917,7 +933,7 @@ var zr = Lt(function(e) {
917
933
  });
918
934
  }, t.prototype.error = function(r) {
919
935
  var n = this;
920
- ce(function() {
936
+ fe(function() {
921
937
  if (n._throwIfClosed(), !n.isStopped) {
922
938
  n.hasError = n.isStopped = !0, n.thrownError = r;
923
939
  for (var i = n.observers; i.length; )
@@ -926,7 +942,7 @@ var zr = Lt(function(e) {
926
942
  });
927
943
  }, t.prototype.complete = function() {
928
944
  var r = this;
929
- ce(function() {
945
+ fe(function() {
930
946
  if (r._throwIfClosed(), !r.isStopped) {
931
947
  r.isStopped = !0;
932
948
  for (var n = r.observers; n.length; )
@@ -947,20 +963,20 @@ var zr = Lt(function(e) {
947
963
  }, t.prototype._subscribe = function(r) {
948
964
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
949
965
  }, t.prototype._innerSubscribe = function(r) {
950
- var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
951
- return s || o ? Ct : (this.currentObservers = null, a.push(r), new _e(function() {
952
- n.currentObservers = null, Ge(a, r);
966
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
967
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
968
+ n.currentObservers = null, Ue(a, r);
953
969
  }));
954
970
  }, t.prototype._checkFinalizedStatuses = function(r) {
955
- var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
956
- i ? r.error(s) : o && r.complete();
971
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
972
+ i ? r.error(o) : s && r.complete();
957
973
  }, t.prototype.asObservable = function() {
958
- var r = new it();
974
+ var r = new st();
959
975
  return r.source = this, r;
960
976
  }, t.create = function(r, n) {
961
- return new ot(r, n);
977
+ return new ut(r, n);
962
978
  }, t;
963
- }(it), ot = function(e) {
979
+ }(st), ut = function(e) {
964
980
  C(t, e);
965
981
  function t(r, n) {
966
982
  var i = e.call(this) || this;
@@ -977,54 +993,54 @@ var zr = Lt(function(e) {
977
993
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
978
994
  }, t.prototype._subscribe = function(r) {
979
995
  var n, i;
980
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
996
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
981
997
  }, t;
982
- }(Rt), Gt = {
998
+ }(Dt), Ft = {
983
999
  now: function() {
984
- return (Gt.delegate || Date).now();
1000
+ return (Ft.delegate || Date).now();
985
1001
  },
986
1002
  delegate: void 0
987
- }, Zr = function(e) {
1003
+ }, qr = function(e) {
988
1004
  C(t, e);
989
1005
  function t(r, n, i) {
990
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
991
- var s = e.call(this) || this;
992
- 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;
1006
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1007
+ var o = e.call(this) || this;
1008
+ 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;
993
1009
  }
994
1010
  return t.prototype.next = function(r) {
995
- var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
996
- i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1011
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1012
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
997
1013
  }, t.prototype._subscribe = function(r) {
998
1014
  this._throwIfClosed(), this._trimBuffer();
999
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
1015
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1000
1016
  r.next(a[h]);
1001
1017
  return this._checkFinalizedStatuses(r), n;
1002
1018
  }, t.prototype._trimBuffer = function() {
1003
- var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1004
- if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1005
- for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
1019
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1020
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1021
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1006
1022
  u = l;
1007
- u && s.splice(0, u + 1);
1023
+ u && o.splice(0, u + 1);
1008
1024
  }
1009
1025
  }, t;
1010
- }(Rt);
1011
- const at = [], ut = {}, Qr = (e, t = 0) => {
1012
- if (at.indexOf(e) == -1) {
1013
- const r = new Zr(t);
1014
- ut[e] = r, at.push(e);
1026
+ }(Dt);
1027
+ const ht = [], lt = {}, Yr = (e, t = 0) => {
1028
+ if (ht.indexOf(e) == -1) {
1029
+ const r = new qr(t);
1030
+ lt[e] = r, ht.push(e);
1015
1031
  }
1016
- return ut[e];
1032
+ return lt[e];
1017
1033
  }, F = [];
1018
- function Jr(e, t) {
1034
+ function Kr(e, t) {
1019
1035
  return {
1020
- subscribe: ve(e, t).subscribe
1036
+ subscribe: _e(e, t).subscribe
1021
1037
  };
1022
1038
  }
1023
- function ve(e, t = I) {
1039
+ function _e(e, t = I) {
1024
1040
  let r;
1025
1041
  const n = /* @__PURE__ */ new Set();
1026
1042
  function i(a) {
1027
- if (Ot(e, a) && (e = a, r)) {
1043
+ if (Nt(e, a) && (e = a, r)) {
1028
1044
  const h = !F.length;
1029
1045
  for (const u of n)
1030
1046
  u[1](), F.push(u, e);
@@ -1035,112 +1051,112 @@ function ve(e, t = I) {
1035
1051
  }
1036
1052
  }
1037
1053
  }
1038
- function s(a) {
1054
+ function o(a) {
1039
1055
  i(a(e));
1040
1056
  }
1041
- function o(a, h = I) {
1057
+ function s(a, h = I) {
1042
1058
  const u = [a, h];
1043
- return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
1059
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1044
1060
  n.delete(u), n.size === 0 && r && (r(), r = null);
1045
1061
  };
1046
1062
  }
1047
- return { set: i, update: s, subscribe: o };
1063
+ return { set: i, update: o, subscribe: s };
1048
1064
  }
1049
1065
  function J(e, t, r) {
1050
1066
  const n = !Array.isArray(e), i = n ? [e] : e;
1051
1067
  if (!i.every(Boolean))
1052
1068
  throw new Error("derived() expects stores as input, got a falsy value");
1053
- const s = t.length < 2;
1054
- return Jr(r, (o, a) => {
1069
+ const o = t.length < 2;
1070
+ return Kr(r, (s, a) => {
1055
1071
  let h = !1;
1056
1072
  const u = [];
1057
- let l = 0, f = I;
1058
- const c = () => {
1073
+ let l = 0, c = I;
1074
+ const f = () => {
1059
1075
  if (l)
1060
1076
  return;
1061
- f();
1062
- const d = t(n ? u[0] : u, o, a);
1063
- s ? o(d) : f = ye(d) ? d : I;
1077
+ c();
1078
+ const m = t(n ? u[0] : u, s, a);
1079
+ o ? s(m) : c = ye(m) ? m : I;
1064
1080
  }, p = i.map(
1065
- (d, g) => It(
1066
- d,
1067
- (m) => {
1068
- u[g] = m, l &= ~(1 << g), h && c();
1081
+ (m, g) => Lt(
1082
+ m,
1083
+ (d) => {
1084
+ u[g] = d, l &= ~(1 << g), h && f();
1069
1085
  },
1070
1086
  () => {
1071
1087
  l |= 1 << g;
1072
1088
  }
1073
1089
  )
1074
1090
  );
1075
- return h = !0, c(), function() {
1076
- se(p), f(), h = !1;
1091
+ return h = !0, f(), function() {
1092
+ oe(p), c(), h = !1;
1077
1093
  };
1078
1094
  });
1079
1095
  }
1080
- function qr(e) {
1081
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1096
+ function en(e) {
1097
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1082
1098
  }
1083
- var Yr = function(t) {
1084
- return Kr(t) && !en(t);
1099
+ var tn = function(t) {
1100
+ return rn(t) && !nn(t);
1085
1101
  };
1086
- function Kr(e) {
1102
+ function rn(e) {
1087
1103
  return !!e && typeof e == "object";
1088
1104
  }
1089
- function en(e) {
1105
+ function nn(e) {
1090
1106
  var t = Object.prototype.toString.call(e);
1091
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1107
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1092
1108
  }
1093
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1094
- function nn(e) {
1095
- return e.$$typeof === rn;
1109
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1110
+ function an(e) {
1111
+ return e.$$typeof === sn;
1096
1112
  }
1097
- function sn(e) {
1113
+ function un(e) {
1098
1114
  return Array.isArray(e) ? [] : {};
1099
1115
  }
1100
1116
  function ne(e, t) {
1101
- return t.clone !== !1 && t.isMergeableObject(e) ? X(sn(e), e, t) : e;
1117
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(un(e), e, t) : e;
1102
1118
  }
1103
- function on(e, t, r) {
1119
+ function hn(e, t, r) {
1104
1120
  return e.concat(t).map(function(n) {
1105
1121
  return ne(n, r);
1106
1122
  });
1107
1123
  }
1108
- function an(e, t) {
1124
+ function ln(e, t) {
1109
1125
  if (!t.customMerge)
1110
1126
  return X;
1111
1127
  var r = t.customMerge(e);
1112
1128
  return typeof r == "function" ? r : X;
1113
1129
  }
1114
- function un(e) {
1130
+ function cn(e) {
1115
1131
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1116
1132
  return Object.propertyIsEnumerable.call(e, t);
1117
1133
  }) : [];
1118
1134
  }
1119
- function ht(e) {
1120
- return Object.keys(e).concat(un(e));
1135
+ function ct(e) {
1136
+ return Object.keys(e).concat(cn(e));
1121
1137
  }
1122
- function Ut(e, t) {
1138
+ function jt(e, t) {
1123
1139
  try {
1124
1140
  return t in e;
1125
1141
  } catch {
1126
1142
  return !1;
1127
1143
  }
1128
1144
  }
1129
- function hn(e, t) {
1130
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1145
+ function fn(e, t) {
1146
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1131
1147
  }
1132
- function ln(e, t, r) {
1148
+ function pn(e, t, r) {
1133
1149
  var n = {};
1134
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1150
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1135
1151
  n[i] = ne(e[i], r);
1136
- }), ht(t).forEach(function(i) {
1137
- hn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1152
+ }), ct(t).forEach(function(i) {
1153
+ fn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1138
1154
  }), n;
1139
1155
  }
1140
1156
  function X(e, t, r) {
1141
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ne;
1142
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1143
- return s ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ne(t, r);
1157
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ne;
1158
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1159
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ne(t, r);
1144
1160
  }
1145
1161
  X.all = function(t, r) {
1146
1162
  if (!Array.isArray(t))
@@ -1149,64 +1165,62 @@ X.all = function(t, r) {
1149
1165
  return X(n, i, r);
1150
1166
  }, {});
1151
1167
  };
1152
- var fn = X, cn = fn;
1153
- const pn = /* @__PURE__ */ qr(cn);
1154
- function He(e, t) {
1155
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : mn;
1168
+ var mn = X, dn = mn;
1169
+ const bn = /* @__PURE__ */ en(dn);
1170
+ function Be(e, t) {
1171
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1156
1172
  return i(e, {
1157
1173
  cache: r,
1158
1174
  serializer: n
1159
1175
  });
1160
1176
  }
1161
- function dn(e) {
1177
+ function gn(e) {
1162
1178
  return e == null || typeof e == "number" || typeof e == "boolean";
1163
1179
  }
1164
- function Dt(e, t, r, n) {
1165
- var i = dn(n) ? n : r(n), s = t.get(i);
1166
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1180
+ function kt(e, t, r, n) {
1181
+ var i = gn(n) ? n : r(n), o = t.get(i);
1182
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1167
1183
  }
1168
- function Ft(e, t, r) {
1169
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1170
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1184
+ function Vt(e, t, r) {
1185
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1186
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1171
1187
  }
1172
- function Qe(e, t, r, n, i) {
1188
+ function Je(e, t, r, n, i) {
1173
1189
  return r.bind(t, e, n, i);
1174
1190
  }
1175
- function mn(e, t) {
1176
- var r = e.length === 1 ? Dt : Ft;
1177
- return Qe(e, this, r, t.cache.create(), t.serializer);
1191
+ function yn(e, t) {
1192
+ var r = e.length === 1 ? kt : Vt;
1193
+ return Je(e, this, r, t.cache.create(), t.serializer);
1178
1194
  }
1179
- function bn(e, t) {
1180
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1195
+ function vn(e, t) {
1196
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1181
1197
  }
1182
- function gn(e, t) {
1183
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1198
+ function _n(e, t) {
1199
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1184
1200
  }
1185
- var yn = function() {
1201
+ var En = function() {
1186
1202
  return JSON.stringify(arguments);
1187
- }, _n = (
1188
- /** @class */
1189
- function() {
1190
- function e() {
1191
- this.cache = /* @__PURE__ */ Object.create(null);
1192
- }
1193
- return e.prototype.get = function(t) {
1194
- return this.cache[t];
1195
- }, e.prototype.set = function(t, r) {
1196
- this.cache[t] = r;
1197
- }, e;
1198
- }()
1199
- ), vn = {
1203
+ };
1204
+ function qe() {
1205
+ this.cache = /* @__PURE__ */ Object.create(null);
1206
+ }
1207
+ qe.prototype.get = function(e) {
1208
+ return this.cache[e];
1209
+ };
1210
+ qe.prototype.set = function(e, t) {
1211
+ this.cache[e] = t;
1212
+ };
1213
+ var xn = {
1200
1214
  create: function() {
1201
- return new _n();
1215
+ return new qe();
1202
1216
  }
1203
- }, Be = {
1204
- variadic: bn,
1205
- monadic: gn
1206
- }, _;
1217
+ }, Ae = {
1218
+ variadic: vn,
1219
+ monadic: _n
1220
+ }, v;
1207
1221
  (function(e) {
1208
1222
  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";
1209
- })(_ || (_ = {}));
1223
+ })(v || (v = {}));
1210
1224
  var x;
1211
1225
  (function(e) {
1212
1226
  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";
@@ -1215,43 +1229,43 @@ var W;
1215
1229
  (function(e) {
1216
1230
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1217
1231
  })(W || (W = {}));
1218
- function lt(e) {
1232
+ function ft(e) {
1219
1233
  return e.type === x.literal;
1220
1234
  }
1221
- function En(e) {
1235
+ function Tn(e) {
1222
1236
  return e.type === x.argument;
1223
1237
  }
1224
- function jt(e) {
1238
+ function Xt(e) {
1225
1239
  return e.type === x.number;
1226
1240
  }
1227
- function kt(e) {
1241
+ function Wt(e) {
1228
1242
  return e.type === x.date;
1229
1243
  }
1230
- function Vt(e) {
1244
+ function zt(e) {
1231
1245
  return e.type === x.time;
1232
1246
  }
1233
- function Xt(e) {
1247
+ function Zt(e) {
1234
1248
  return e.type === x.select;
1235
1249
  }
1236
- function Wt(e) {
1250
+ function Qt(e) {
1237
1251
  return e.type === x.plural;
1238
1252
  }
1239
- function xn(e) {
1253
+ function Sn(e) {
1240
1254
  return e.type === x.pound;
1241
1255
  }
1242
- function zt(e) {
1256
+ function Jt(e) {
1243
1257
  return e.type === x.tag;
1244
1258
  }
1245
- function Zt(e) {
1259
+ function qt(e) {
1246
1260
  return !!(e && typeof e == "object" && e.type === W.number);
1247
1261
  }
1248
- function De(e) {
1262
+ function Fe(e) {
1249
1263
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1250
1264
  }
1251
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1252
- function Sn(e) {
1265
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1266
+ function Hn(e) {
1253
1267
  var t = {};
1254
- return e.replace(Tn, function(r) {
1268
+ return e.replace(wn, function(r) {
1255
1269
  var n = r.length;
1256
1270
  switch (r[0]) {
1257
1271
  case "G":
@@ -1340,36 +1354,36 @@ function Sn(e) {
1340
1354
  return "";
1341
1355
  }), t;
1342
1356
  }
1343
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
- function Hn(e) {
1357
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1358
+ function An(e) {
1345
1359
  if (e.length === 0)
1346
1360
  throw new Error("Number skeleton cannot be empty");
1347
- for (var t = e.split(wn).filter(function(c) {
1348
- return c.length > 0;
1361
+ for (var t = e.split(Bn).filter(function(f) {
1362
+ return f.length > 0;
1349
1363
  }), r = [], n = 0, i = t; n < i.length; n++) {
1350
- var s = i[n], o = s.split("/");
1351
- if (o.length === 0)
1364
+ var o = i[n], s = o.split("/");
1365
+ if (s.length === 0)
1352
1366
  throw new Error("Invalid number skeleton");
1353
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1354
- var f = l[u];
1355
- if (f.length === 0)
1367
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1368
+ var c = l[u];
1369
+ if (c.length === 0)
1356
1370
  throw new Error("Invalid number skeleton");
1357
1371
  }
1358
1372
  r.push({ stem: a, options: h });
1359
1373
  }
1360
1374
  return r;
1361
1375
  }
1362
- function Bn(e) {
1376
+ function Pn(e) {
1363
1377
  return e.replace(/^(.*?)-/, "");
1364
1378
  }
1365
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1366
- function ct(e) {
1379
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1380
+ function mt(e) {
1367
1381
  var t = {};
1368
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1382
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1369
1383
  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)), "";
1370
1384
  }), t;
1371
1385
  }
1372
- function Yt(e) {
1386
+ function tr(e) {
1373
1387
  switch (e) {
1374
1388
  case "sign-auto":
1375
1389
  return {
@@ -1409,7 +1423,7 @@ function Yt(e) {
1409
1423
  };
1410
1424
  }
1411
1425
  }
1412
- function Pn(e) {
1426
+ function In(e) {
1413
1427
  var t;
1414
1428
  if (e[0] === "E" && e[1] === "E" ? (t = {
1415
1429
  notation: "engineering"
@@ -1417,17 +1431,17 @@ function Pn(e) {
1417
1431
  notation: "scientific"
1418
1432
  }, e = e.slice(1)), t) {
1419
1433
  var r = e.slice(0, 2);
1420
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1434
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1421
1435
  throw new Error("Malformed concise eng/scientific notation");
1422
1436
  t.minimumIntegerDigits = e.length;
1423
1437
  }
1424
1438
  return t;
1425
1439
  }
1426
- function pt(e) {
1427
- var t = {}, r = Yt(e);
1440
+ function dt(e) {
1441
+ var t = {}, r = tr(e);
1428
1442
  return r || t;
1429
1443
  }
1430
- function On(e) {
1444
+ function Nn(e) {
1431
1445
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1432
1446
  var i = n[r];
1433
1447
  switch (i.stem) {
@@ -1451,7 +1465,7 @@ function On(e) {
1451
1465
  continue;
1452
1466
  case "measure-unit":
1453
1467
  case "unit":
1454
- t.style = "unit", t.unit = Bn(i.options[0]);
1468
+ t.style = "unit", t.unit = Pn(i.options[0]);
1455
1469
  continue;
1456
1470
  case "compact-short":
1457
1471
  case "K":
@@ -1463,12 +1477,12 @@ function On(e) {
1463
1477
  continue;
1464
1478
  case "scientific":
1465
1479
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1466
- return E(E({}, h), pt(u));
1480
+ return E(E({}, h), dt(u));
1467
1481
  }, {}));
1468
1482
  continue;
1469
1483
  case "engineering":
1470
1484
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1471
- return E(E({}, h), pt(u));
1485
+ return E(E({}, h), dt(u));
1472
1486
  }, {}));
1473
1487
  continue;
1474
1488
  case "notation-simple":
@@ -1513,11 +1527,11 @@ function On(e) {
1513
1527
  case "integer-width":
1514
1528
  if (i.options.length > 1)
1515
1529
  throw new RangeError("integer-width stems only accept a single optional option");
1516
- i.options[0].replace(An, function(h, u, l, f, c, p) {
1530
+ i.options[0].replace(On, function(h, u, l, c, f, p) {
1517
1531
  if (u)
1518
1532
  t.minimumIntegerDigits = l.length;
1519
1533
  else {
1520
- if (f && c)
1534
+ if (c && f)
1521
1535
  throw new Error("We currently do not support maximum integer digits");
1522
1536
  if (p)
1523
1537
  throw new Error("We currently do not support exact integer digits");
@@ -1526,27 +1540,27 @@ function On(e) {
1526
1540
  });
1527
1541
  continue;
1528
1542
  }
1529
- if (qt.test(i.stem)) {
1543
+ if (er.test(i.stem)) {
1530
1544
  t.minimumIntegerDigits = i.stem.length;
1531
1545
  continue;
1532
1546
  }
1533
- if (ft.test(i.stem)) {
1547
+ if (pt.test(i.stem)) {
1534
1548
  if (i.options.length > 1)
1535
1549
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1536
- i.stem.replace(ft, function(h, u, l, f, c, p) {
1537
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1550
+ i.stem.replace(pt, function(h, u, l, c, f, p) {
1551
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1538
1552
  });
1539
- var s = i.options[0];
1540
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ct(s)));
1553
+ var o = i.options[0];
1554
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), mt(o)));
1541
1555
  continue;
1542
1556
  }
1543
- if (Jt.test(i.stem)) {
1544
- t = E(E({}, t), ct(i.stem));
1557
+ if (Kt.test(i.stem)) {
1558
+ t = E(E({}, t), mt(i.stem));
1545
1559
  continue;
1546
1560
  }
1547
- var o = Yt(i.stem);
1548
- o && (t = E(E({}, t), o));
1549
- var a = Pn(i.stem);
1561
+ var s = tr(i.stem);
1562
+ s && (t = E(E({}, t), s));
1563
+ var a = In(i.stem);
1550
1564
  a && (t = E(E({}, t), a));
1551
1565
  }
1552
1566
  return t;
@@ -2966,23 +2980,23 @@ var le = {
2966
2980
  "h"
2967
2981
  ]
2968
2982
  };
2969
- function In(e, t) {
2983
+ function Ln(e, t) {
2970
2984
  for (var r = "", n = 0; n < e.length; n++) {
2971
2985
  var i = e.charAt(n);
2972
2986
  if (i === "j") {
2973
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2974
- s++, n++;
2975
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Nn(t);
2987
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2988
+ o++, n++;
2989
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2976
2990
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2977
2991
  r += h;
2978
- for (; o-- > 0; )
2992
+ for (; s-- > 0; )
2979
2993
  r = u + r;
2980
2994
  } else
2981
2995
  i === "J" ? r += "H" : r += i;
2982
2996
  }
2983
2997
  return r;
2984
2998
  }
2985
- function Nn(e) {
2999
+ function Cn(e) {
2986
3000
  var t = e.hourCycle;
2987
3001
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2988
3002
  e.hourCycles && // @ts-ignore
@@ -3004,20 +3018,20 @@ function Nn(e) {
3004
3018
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3005
3019
  return i[0];
3006
3020
  }
3007
- var Ae, Ln = new RegExp("^".concat(Qt.source, "*")), Cn = new RegExp("".concat(Qt.source, "*$"));
3008
- function v(e, t) {
3021
+ var Pe, Mn = new RegExp("^".concat(Yt.source, "*")), $n = new RegExp("".concat(Yt.source, "*$"));
3022
+ function _(e, t) {
3009
3023
  return { start: e, end: t };
3010
3024
  }
3011
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3025
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3012
3026
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3013
- }, Fe = !0;
3027
+ }, je = !0;
3014
3028
  try {
3015
- var kn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
- Fe = ((Ae = kn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3029
+ var Xn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3030
+ je = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3017
3031
  } catch {
3018
- Fe = !1;
3032
+ je = !1;
3019
3033
  }
3020
- var dt = Mn ? (
3034
+ var bt = Rn ? (
3021
3035
  // Native
3022
3036
  function(t, r, n) {
3023
3037
  return t.startsWith(r, n);
@@ -3027,31 +3041,31 @@ var dt = Mn ? (
3027
3041
  function(t, r, n) {
3028
3042
  return t.slice(n, n + r.length) === r;
3029
3043
  }
3030
- ), je = $n ? String.fromCodePoint : (
3044
+ ), ke = Gn ? String.fromCodePoint : (
3031
3045
  // IE11
3032
3046
  function() {
3033
3047
  for (var t = [], r = 0; r < arguments.length; r++)
3034
3048
  t[r] = arguments[r];
3035
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
3036
- if (o = t[s++], o > 1114111)
3037
- throw RangeError(o + " is not a valid code point");
3038
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3049
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3050
+ if (s = t[o++], s > 1114111)
3051
+ throw RangeError(s + " is not a valid code point");
3052
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3039
3053
  }
3040
3054
  return n;
3041
3055
  }
3042
- ), mt = (
3056
+ ), gt = (
3043
3057
  // native
3044
- Rn ? Object.fromEntries : (
3058
+ Un ? Object.fromEntries : (
3045
3059
  // Ponyfill
3046
3060
  function(t) {
3047
3061
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3048
- var s = i[n], o = s[0], a = s[1];
3049
- r[o] = a;
3062
+ var o = i[n], s = o[0], a = o[1];
3063
+ r[s] = a;
3050
3064
  }
3051
3065
  return r;
3052
3066
  }
3053
3067
  )
3054
- ), Kt = Gn ? (
3068
+ ), rr = Dn ? (
3055
3069
  // Native
3056
3070
  function(t, r) {
3057
3071
  return t.codePointAt(r);
@@ -3061,11 +3075,11 @@ var dt = Mn ? (
3061
3075
  function(t, r) {
3062
3076
  var n = t.length;
3063
3077
  if (!(r < 0 || r >= n)) {
3064
- var i = t.charCodeAt(r), s;
3065
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3078
+ var i = t.charCodeAt(r), o;
3079
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3066
3080
  }
3067
3081
  }
3068
- ), Vn = Un ? (
3082
+ ), Wn = Fn ? (
3069
3083
  // Native
3070
3084
  function(t) {
3071
3085
  return t.trimStart();
@@ -3073,9 +3087,9 @@ var dt = Mn ? (
3073
3087
  ) : (
3074
3088
  // Ponyfill
3075
3089
  function(t) {
3076
- return t.replace(Ln, "");
3090
+ return t.replace(Mn, "");
3077
3091
  }
3078
- ), Xn = Dn ? (
3092
+ ), zn = jn ? (
3079
3093
  // Native
3080
3094
  function(t) {
3081
3095
  return t.trimEnd();
@@ -3083,32 +3097,32 @@ var dt = Mn ? (
3083
3097
  ) : (
3084
3098
  // Ponyfill
3085
3099
  function(t) {
3086
- return t.replace(Cn, "");
3100
+ return t.replace($n, "");
3087
3101
  }
3088
3102
  );
3089
- function er(e, t) {
3103
+ function nr(e, t) {
3090
3104
  return new RegExp(e, t);
3091
3105
  }
3092
- var ke;
3093
- if (Fe) {
3094
- var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
- ke = function(t, r) {
3106
+ var Ve;
3107
+ if (je) {
3108
+ var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ Ve = function(t, r) {
3096
3110
  var n;
3097
- bt.lastIndex = r;
3098
- var i = bt.exec(t);
3111
+ yt.lastIndex = r;
3112
+ var i = yt.exec(t);
3099
3113
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3100
3114
  };
3101
3115
  } else
3102
- ke = function(t, r) {
3116
+ Ve = function(t, r) {
3103
3117
  for (var n = []; ; ) {
3104
- var i = Kt(t, r);
3105
- if (i === void 0 || tr(i) || Qn(i))
3118
+ var i = rr(t, r);
3119
+ if (i === void 0 || ir(i) || qn(i))
3106
3120
  break;
3107
3121
  n.push(i), r += i >= 65536 ? 2 : 1;
3108
3122
  }
3109
- return je.apply(void 0, n);
3123
+ return ke.apply(void 0, n);
3110
3124
  };
3111
- var Wn = (
3125
+ var Zn = (
3112
3126
  /** @class */
3113
3127
  function() {
3114
3128
  function e(t, r) {
@@ -3120,35 +3134,35 @@ var Wn = (
3120
3134
  return this.parseMessage(0, "", !1);
3121
3135
  }, e.prototype.parseMessage = function(t, r, n) {
3122
3136
  for (var i = []; !this.isEOF(); ) {
3123
- var s = this.char();
3124
- if (s === 123) {
3125
- var o = this.parseArgument(t, n);
3126
- if (o.err)
3127
- return o;
3128
- i.push(o.val);
3137
+ var o = this.char();
3138
+ if (o === 123) {
3139
+ var s = this.parseArgument(t, n);
3140
+ if (s.err)
3141
+ return s;
3142
+ i.push(s.val);
3129
3143
  } else {
3130
- if (s === 125 && t > 0)
3144
+ if (o === 125 && t > 0)
3131
3145
  break;
3132
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3146
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3133
3147
  var a = this.clonePosition();
3134
3148
  this.bump(), i.push({
3135
3149
  type: x.pound,
3136
- location: v(a, this.clonePosition())
3150
+ location: _(a, this.clonePosition())
3137
3151
  });
3138
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3152
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3139
3153
  if (n)
3140
3154
  break;
3141
- return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3142
- } else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3143
- var o = this.parseTag(t, r);
3144
- if (o.err)
3145
- return o;
3146
- i.push(o.val);
3155
+ return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3156
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3157
+ var s = this.parseTag(t, r);
3158
+ if (s.err)
3159
+ return s;
3160
+ i.push(s.val);
3147
3161
  } else {
3148
- var o = this.parseLiteral(t, r);
3149
- if (o.err)
3150
- return o;
3151
- i.push(o.val);
3162
+ var s = this.parseLiteral(t, r);
3163
+ if (s.err)
3164
+ return s;
3165
+ i.push(s.val);
3152
3166
  }
3153
3167
  }
3154
3168
  }
@@ -3162,49 +3176,49 @@ var Wn = (
3162
3176
  val: {
3163
3177
  type: x.literal,
3164
3178
  value: "<".concat(i, "/>"),
3165
- location: v(n, this.clonePosition())
3179
+ location: _(n, this.clonePosition())
3166
3180
  },
3167
3181
  err: null
3168
3182
  };
3169
3183
  if (this.bumpIf(">")) {
3170
- var s = this.parseMessage(t + 1, r, !0);
3171
- if (s.err)
3172
- return s;
3173
- var o = s.val, a = this.clonePosition();
3184
+ var o = this.parseMessage(t + 1, r, !0);
3185
+ if (o.err)
3186
+ return o;
3187
+ var s = o.val, a = this.clonePosition();
3174
3188
  if (this.bumpIf("</")) {
3175
- if (this.isEOF() || !Ve(this.char()))
3176
- return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
3189
+ if (this.isEOF() || !Xe(this.char()))
3190
+ return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3177
3191
  var h = this.clonePosition(), u = this.parseTagName();
3178
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3192
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3179
3193
  val: {
3180
3194
  type: x.tag,
3181
3195
  value: i,
3182
- children: o,
3183
- location: v(n, this.clonePosition())
3196
+ children: s,
3197
+ location: _(n, this.clonePosition())
3184
3198
  },
3185
3199
  err: null
3186
- } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
3200
+ } : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
3187
3201
  } else
3188
- return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
3202
+ return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
3189
3203
  } else
3190
- return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
3204
+ return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3191
3205
  }, e.prototype.parseTagName = function() {
3192
3206
  var t = this.offset();
3193
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3207
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3194
3208
  this.bump();
3195
3209
  return this.message.slice(t, this.offset());
3196
3210
  }, e.prototype.parseLiteral = function(t, r) {
3197
3211
  for (var n = this.clonePosition(), i = ""; ; ) {
3198
- var s = this.tryParseQuote(r);
3199
- if (s) {
3200
- i += s;
3201
- continue;
3202
- }
3203
- var o = this.tryParseUnquoted(t, r);
3212
+ var o = this.tryParseQuote(r);
3204
3213
  if (o) {
3205
3214
  i += o;
3206
3215
  continue;
3207
3216
  }
3217
+ var s = this.tryParseUnquoted(t, r);
3218
+ if (s) {
3219
+ i += s;
3220
+ continue;
3221
+ }
3208
3222
  var a = this.tryParseLeftAngleBracket();
3209
3223
  if (a) {
3210
3224
  i += a;
@@ -3212,14 +3226,14 @@ var Wn = (
3212
3226
  }
3213
3227
  break;
3214
3228
  }
3215
- var h = v(n, this.clonePosition());
3229
+ var h = _(n, this.clonePosition());
3216
3230
  return {
3217
3231
  val: { type: x.literal, value: i, location: h },
3218
3232
  err: null
3219
3233
  };
3220
3234
  }, e.prototype.tryParseLeftAngleBracket = function() {
3221
3235
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3222
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3236
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3223
3237
  }, e.prototype.tryParseQuote = function(t) {
3224
3238
  if (this.isEOF() || this.char() !== 39)
3225
3239
  return null;
@@ -3253,23 +3267,23 @@ var Wn = (
3253
3267
  r.push(n);
3254
3268
  this.bump();
3255
3269
  }
3256
- return je.apply(void 0, r);
3270
+ return ke.apply(void 0, r);
3257
3271
  }, e.prototype.tryParseUnquoted = function(t, r) {
3258
3272
  if (this.isEOF())
3259
3273
  return null;
3260
3274
  var n = this.char();
3261
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3275
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3262
3276
  }, e.prototype.parseArgument = function(t, r) {
3263
3277
  var n = this.clonePosition();
3264
3278
  if (this.bump(), this.bumpSpace(), this.isEOF())
3265
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3279
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3266
3280
  if (this.char() === 125)
3267
- return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3281
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3268
3282
  var i = this.parseIdentifierIfPossible().value;
3269
3283
  if (!i)
3270
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3284
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3271
3285
  if (this.bumpSpace(), this.isEOF())
3272
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3286
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3273
3287
  switch (this.char()) {
3274
3288
  case 125:
3275
3289
  return this.bump(), {
@@ -3277,25 +3291,25 @@ var Wn = (
3277
3291
  type: x.argument,
3278
3292
  // value does not include the opening and closing braces.
3279
3293
  value: i,
3280
- location: v(n, this.clonePosition())
3294
+ location: _(n, this.clonePosition())
3281
3295
  },
3282
3296
  err: null
3283
3297
  };
3284
3298
  case 44:
3285
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3299
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3286
3300
  default:
3287
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3301
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3288
3302
  }
3289
3303
  }, e.prototype.parseIdentifierIfPossible = function() {
3290
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3304
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3291
3305
  this.bumpTo(i);
3292
- var s = this.clonePosition(), o = v(t, s);
3293
- return { value: n, location: o };
3306
+ var o = this.clonePosition(), s = _(t, o);
3307
+ return { value: n, location: s };
3294
3308
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3295
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3309
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3296
3310
  switch (a) {
3297
3311
  case "":
3298
- return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, h));
3312
+ return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, h));
3299
3313
  case "number":
3300
3314
  case "date":
3301
3315
  case "time": {
@@ -3303,40 +3317,40 @@ var Wn = (
3303
3317
  var u = null;
3304
3318
  if (this.bumpIf(",")) {
3305
3319
  this.bumpSpace();
3306
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3307
- if (f.err)
3308
- return f;
3309
- var c = Xn(f.val);
3310
- if (c.length === 0)
3311
- return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3312
- var p = v(l, this.clonePosition());
3313
- u = { style: c, styleLocation: p };
3320
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3321
+ if (c.err)
3322
+ return c;
3323
+ var f = zn(c.val);
3324
+ if (f.length === 0)
3325
+ return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3326
+ var p = _(l, this.clonePosition());
3327
+ u = { style: f, styleLocation: p };
3314
3328
  }
3315
- var d = this.tryParseArgumentClose(i);
3316
- if (d.err)
3317
- return d;
3318
- var g = v(i, this.clonePosition());
3319
- if (u && dt(u?.style, "::", 0)) {
3320
- var m = Vn(u.style.slice(2));
3329
+ var m = this.tryParseArgumentClose(i);
3330
+ if (m.err)
3331
+ return m;
3332
+ var g = _(i, this.clonePosition());
3333
+ if (u && bt(u?.style, "::", 0)) {
3334
+ var d = Wn(u.style.slice(2));
3321
3335
  if (a === "number") {
3322
- var f = this.parseNumberSkeletonFromString(m, u.styleLocation);
3323
- return f.err ? f : {
3324
- val: { type: x.number, value: n, location: g, style: f.val },
3336
+ var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
3337
+ return c.err ? c : {
3338
+ val: { type: x.number, value: n, location: g, style: c.val },
3325
3339
  err: null
3326
3340
  };
3327
3341
  } else {
3328
- if (m.length === 0)
3329
- return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3330
- var S = m;
3331
- this.locale && (S = In(m, this.locale));
3332
- var c = {
3342
+ if (d.length === 0)
3343
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
3344
+ var S = d;
3345
+ this.locale && (S = Ln(d, this.locale));
3346
+ var f = {
3333
3347
  type: W.dateTime,
3334
3348
  pattern: S,
3335
3349
  location: u.styleLocation,
3336
- parsedOptions: this.shouldParseSkeletons ? Sn(S) : {}
3350
+ parsedOptions: this.shouldParseSkeletons ? Hn(S) : {}
3337
3351
  }, y = a === "date" ? x.date : x.time;
3338
3352
  return {
3339
- val: { type: y, value: n, location: g, style: c },
3353
+ val: { type: y, value: n, location: g, style: f },
3340
3354
  err: null
3341
3355
  };
3342
3356
  }
@@ -3346,7 +3360,7 @@ var Wn = (
3346
3360
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3347
3361
  value: n,
3348
3362
  location: g,
3349
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3363
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3350
3364
  },
3351
3365
  err: null
3352
3366
  };
@@ -3356,30 +3370,30 @@ var Wn = (
3356
3370
  case "select": {
3357
3371
  var T = this.clonePosition();
3358
3372
  if (this.bumpSpace(), !this.bumpIf(","))
3359
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, E({}, T)));
3373
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, E({}, T)));
3360
3374
  this.bumpSpace();
3361
3375
  var M = this.parseIdentifierIfPossible(), N = 0;
3362
3376
  if (a !== "select" && M.value === "offset") {
3363
3377
  if (!this.bumpIf(":"))
3364
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3378
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3365
3379
  this.bumpSpace();
3366
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3367
- if (f.err)
3368
- return f;
3369
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = f.val;
3380
+ var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3381
+ if (c.err)
3382
+ return c;
3383
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
3370
3384
  }
3371
3385
  var b = this.tryParsePluralOrSelectOptions(t, a, r, M);
3372
3386
  if (b.err)
3373
3387
  return b;
3374
- var d = this.tryParseArgumentClose(i);
3375
- if (d.err)
3376
- return d;
3377
- var O = v(i, this.clonePosition());
3388
+ var m = this.tryParseArgumentClose(i);
3389
+ if (m.err)
3390
+ return m;
3391
+ var O = _(i, this.clonePosition());
3378
3392
  return a === "select" ? {
3379
3393
  val: {
3380
3394
  type: x.select,
3381
3395
  value: n,
3382
- options: mt(b.val),
3396
+ options: gt(b.val),
3383
3397
  location: O
3384
3398
  },
3385
3399
  err: null
@@ -3387,7 +3401,7 @@ var Wn = (
3387
3401
  val: {
3388
3402
  type: x.plural,
3389
3403
  value: n,
3390
- options: mt(b.val),
3404
+ options: gt(b.val),
3391
3405
  offset: N,
3392
3406
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3393
3407
  location: O
@@ -3396,10 +3410,10 @@ var Wn = (
3396
3410
  };
3397
3411
  }
3398
3412
  default:
3399
- return this.error(_.INVALID_ARGUMENT_TYPE, v(o, h));
3413
+ return this.error(v.INVALID_ARGUMENT_TYPE, _(s, h));
3400
3414
  }
3401
3415
  }, e.prototype.tryParseArgumentClose = function(t) {
3402
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3416
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3403
3417
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3404
3418
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3405
3419
  var n = this.char();
@@ -3408,7 +3422,7 @@ var Wn = (
3408
3422
  this.bump();
3409
3423
  var i = this.clonePosition();
3410
3424
  if (!this.bumpUntil("'"))
3411
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3425
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3412
3426
  this.bump();
3413
3427
  break;
3414
3428
  }
@@ -3438,64 +3452,64 @@ var Wn = (
3438
3452
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3439
3453
  var n = [];
3440
3454
  try {
3441
- n = Hn(t);
3455
+ n = An(t);
3442
3456
  } catch {
3443
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3457
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
3444
3458
  }
3445
3459
  return {
3446
3460
  val: {
3447
3461
  type: W.number,
3448
3462
  tokens: n,
3449
3463
  location: r,
3450
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3464
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3451
3465
  },
3452
3466
  err: null
3453
3467
  };
3454
3468
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3455
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3469
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3456
3470
  if (u.length === 0) {
3457
- var f = this.clonePosition();
3471
+ var c = this.clonePosition();
3458
3472
  if (r !== "select" && this.bumpIf("=")) {
3459
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3460
- if (c.err)
3461
- return c;
3462
- l = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3473
+ var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3474
+ if (f.err)
3475
+ return f;
3476
+ l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3463
3477
  } else
3464
3478
  break;
3465
3479
  }
3466
3480
  if (h.has(u))
3467
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3468
- u === "other" && (o = !0), this.bumpSpace();
3481
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3482
+ u === "other" && (s = !0), this.bumpSpace();
3469
3483
  var p = this.clonePosition();
3470
3484
  if (!this.bumpIf("{"))
3471
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3472
- var d = this.parseMessage(t + 1, r, n);
3473
- if (d.err)
3474
- return d;
3485
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3486
+ var m = this.parseMessage(t + 1, r, n);
3487
+ if (m.err)
3488
+ return m;
3475
3489
  var g = this.tryParseArgumentClose(p);
3476
3490
  if (g.err)
3477
3491
  return g;
3478
3492
  a.push([
3479
3493
  u,
3480
3494
  {
3481
- value: d.val,
3482
- location: v(p, this.clonePosition())
3495
+ value: m.val,
3496
+ location: _(p, this.clonePosition())
3483
3497
  }
3484
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3498
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3485
3499
  }
3486
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3500
+ return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3487
3501
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3488
3502
  var n = 1, i = this.clonePosition();
3489
3503
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3490
- for (var s = !1, o = 0; !this.isEOF(); ) {
3504
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3491
3505
  var a = this.char();
3492
3506
  if (a >= 48 && a <= 57)
3493
- s = !0, o = o * 10 + (a - 48), this.bump();
3507
+ o = !0, s = s * 10 + (a - 48), this.bump();
3494
3508
  else
3495
3509
  break;
3496
3510
  }
3497
- var h = v(i, this.clonePosition());
3498
- return s ? (o *= n, jn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3511
+ var h = _(i, this.clonePosition());
3512
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3499
3513
  }, e.prototype.offset = function() {
3500
3514
  return this.position.offset;
3501
3515
  }, e.prototype.isEOF = function() {
@@ -3510,7 +3524,7 @@ var Wn = (
3510
3524
  var t = this.position.offset;
3511
3525
  if (t >= this.message.length)
3512
3526
  throw Error("out of bound");
3513
- var r = Kt(this.message, t);
3527
+ var r = rr(this.message, t);
3514
3528
  if (r === void 0)
3515
3529
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3516
3530
  return r;
@@ -3529,7 +3543,7 @@ var Wn = (
3529
3543
  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);
3530
3544
  }
3531
3545
  }, e.prototype.bumpIf = function(t) {
3532
- if (dt(this.message, t, this.offset())) {
3546
+ if (bt(this.message, t, this.offset())) {
3533
3547
  for (var r = 0; r < t.length; r++)
3534
3548
  this.bump();
3535
3549
  return !0;
@@ -3551,7 +3565,7 @@ var Wn = (
3551
3565
  break;
3552
3566
  }
3553
3567
  }, e.prototype.bumpSpace = function() {
3554
- for (; !this.isEOF() && tr(this.char()); )
3568
+ for (; !this.isEOF() && ir(this.char()); )
3555
3569
  this.bump();
3556
3570
  }, e.prototype.peek = function() {
3557
3571
  if (this.isEOF())
@@ -3561,38 +3575,38 @@ var Wn = (
3561
3575
  }, e;
3562
3576
  }()
3563
3577
  );
3564
- function Ve(e) {
3578
+ function Xe(e) {
3565
3579
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3566
3580
  }
3567
- function zn(e) {
3568
- return Ve(e) || e === 47;
3581
+ function Qn(e) {
3582
+ return Xe(e) || e === 47;
3569
3583
  }
3570
- function Zn(e) {
3584
+ function Jn(e) {
3571
3585
  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;
3572
3586
  }
3573
- function tr(e) {
3587
+ function ir(e) {
3574
3588
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3575
3589
  }
3576
- function Qn(e) {
3590
+ function qn(e) {
3577
3591
  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;
3578
3592
  }
3579
- function Xe(e) {
3593
+ function We(e) {
3580
3594
  e.forEach(function(t) {
3581
- if (delete t.location, Xt(t) || Wt(t))
3595
+ if (delete t.location, Zt(t) || Qt(t))
3582
3596
  for (var r in t.options)
3583
- delete t.options[r].location, Xe(t.options[r].value);
3597
+ delete t.options[r].location, We(t.options[r].value);
3584
3598
  else
3585
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : zt(t) && Xe(t.children);
3599
+ Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && We(t.children);
3586
3600
  });
3587
3601
  }
3588
- function Jn(e, t) {
3602
+ function Yn(e, t) {
3589
3603
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3590
- var r = new Wn(e, t).parse();
3604
+ var r = new Zn(e, t).parse();
3591
3605
  if (r.err) {
3592
- var n = SyntaxError(_[r.err.kind]);
3606
+ var n = SyntaxError(v[r.err.kind]);
3593
3607
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3594
3608
  }
3595
- return t?.captureLocation || Xe(r.val), r.val;
3609
+ return t?.captureLocation || We(r.val), r.val;
3596
3610
  }
3597
3611
  var z;
3598
3612
  (function(e) {
@@ -3603,23 +3617,23 @@ var Ee = (
3603
3617
  function(e) {
3604
3618
  C(t, e);
3605
3619
  function t(r, n, i) {
3606
- var s = e.call(this, r) || this;
3607
- return s.code = n, s.originalMessage = i, s;
3620
+ var o = e.call(this, r) || this;
3621
+ return o.code = n, o.originalMessage = i, o;
3608
3622
  }
3609
3623
  return t.prototype.toString = function() {
3610
3624
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3611
3625
  }, t;
3612
3626
  }(Error)
3613
- ), gt = (
3627
+ ), vt = (
3614
3628
  /** @class */
3615
3629
  function(e) {
3616
3630
  C(t, e);
3617
- function t(r, n, i, s) {
3618
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, s) || this;
3631
+ function t(r, n, i, o) {
3632
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3619
3633
  }
3620
3634
  return t;
3621
3635
  }(Ee)
3622
- ), qn = (
3636
+ ), Kn = (
3623
3637
  /** @class */
3624
3638
  function(e) {
3625
3639
  C(t, e);
@@ -3628,7 +3642,7 @@ var Ee = (
3628
3642
  }
3629
3643
  return t;
3630
3644
  }(Ee)
3631
- ), Yn = (
3645
+ ), ei = (
3632
3646
  /** @class */
3633
3647
  function(e) {
3634
3648
  C(t, e);
@@ -3641,17 +3655,17 @@ var Ee = (
3641
3655
  (function(e) {
3642
3656
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3643
3657
  })(A || (A = {}));
3644
- function Kn(e) {
3658
+ function ti(e) {
3645
3659
  return e.length < 2 ? e : e.reduce(function(t, r) {
3646
3660
  var n = t[t.length - 1];
3647
3661
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3648
3662
  }, []);
3649
3663
  }
3650
- function ei(e) {
3664
+ function ri(e) {
3651
3665
  return typeof e == "function";
3652
3666
  }
3653
- function pe(e, t, r, n, i, s, o) {
3654
- if (e.length === 1 && lt(e[0]))
3667
+ function pe(e, t, r, n, i, o, s) {
3668
+ if (e.length === 1 && ft(e[0]))
3655
3669
  return [
3656
3670
  {
3657
3671
  type: A.literal,
@@ -3660,60 +3674,60 @@ function pe(e, t, r, n, i, s, o) {
3660
3674
  ];
3661
3675
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3662
3676
  var l = u[h];
3663
- if (lt(l)) {
3677
+ if (ft(l)) {
3664
3678
  a.push({
3665
3679
  type: A.literal,
3666
3680
  value: l.value
3667
3681
  });
3668
3682
  continue;
3669
3683
  }
3670
- if (xn(l)) {
3671
- typeof s == "number" && a.push({
3684
+ if (Sn(l)) {
3685
+ typeof o == "number" && a.push({
3672
3686
  type: A.literal,
3673
- value: r.getNumberFormat(t).format(s)
3687
+ value: r.getNumberFormat(t).format(o)
3674
3688
  });
3675
3689
  continue;
3676
3690
  }
3677
- var f = l.value;
3678
- if (!(i && f in i))
3679
- throw new Yn(f, o);
3680
- var c = i[f];
3681
- if (En(l)) {
3682
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3683
- type: typeof c == "string" ? A.literal : A.object,
3684
- value: c
3691
+ var c = l.value;
3692
+ if (!(i && c in i))
3693
+ throw new ei(c, s);
3694
+ var f = i[c];
3695
+ if (Tn(l)) {
3696
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3697
+ type: typeof f == "string" ? A.literal : A.object,
3698
+ value: f
3685
3699
  });
3686
3700
  continue;
3687
3701
  }
3688
- if (kt(l)) {
3689
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3702
+ if (Wt(l)) {
3703
+ var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3690
3704
  a.push({
3691
3705
  type: A.literal,
3692
- value: r.getDateTimeFormat(t, p).format(c)
3706
+ value: r.getDateTimeFormat(t, p).format(f)
3693
3707
  });
3694
3708
  continue;
3695
3709
  }
3696
- if (Vt(l)) {
3697
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3710
+ if (zt(l)) {
3711
+ var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3698
3712
  a.push({
3699
3713
  type: A.literal,
3700
- value: r.getDateTimeFormat(t, p).format(c)
3714
+ value: r.getDateTimeFormat(t, p).format(f)
3701
3715
  });
3702
3716
  continue;
3703
3717
  }
3704
- if (jt(l)) {
3705
- var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3706
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3718
+ if (Xt(l)) {
3719
+ var p = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3720
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3707
3721
  type: A.literal,
3708
- value: r.getNumberFormat(t, p).format(c)
3722
+ value: r.getNumberFormat(t, p).format(f)
3709
3723
  });
3710
3724
  continue;
3711
3725
  }
3712
- if (zt(l)) {
3713
- var d = l.children, g = l.value, m = i[g];
3714
- if (!ei(m))
3715
- throw new qn(g, "function", o);
3716
- var S = pe(d, t, r, n, i, s), y = m(S.map(function(N) {
3726
+ if (Jt(l)) {
3727
+ var m = l.children, g = l.value, d = i[g];
3728
+ if (!ri(d))
3729
+ throw new Kn(g, "function", s);
3730
+ var S = pe(m, t, r, n, i, o), y = d(S.map(function(N) {
3717
3731
  return N.value;
3718
3732
  }));
3719
3733
  Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(N) {
@@ -3723,42 +3737,42 @@ function pe(e, t, r, n, i, s, o) {
3723
3737
  };
3724
3738
  }));
3725
3739
  }
3726
- if (Xt(l)) {
3727
- var T = l.options[c] || l.options.other;
3740
+ if (Zt(l)) {
3741
+ var T = l.options[f] || l.options.other;
3728
3742
  if (!T)
3729
- throw new gt(l.value, c, Object.keys(l.options), o);
3743
+ throw new vt(l.value, f, Object.keys(l.options), s);
3730
3744
  a.push.apply(a, pe(T.value, t, r, n, i));
3731
3745
  continue;
3732
3746
  }
3733
- if (Wt(l)) {
3734
- var T = l.options["=".concat(c)];
3747
+ if (Qt(l)) {
3748
+ var T = l.options["=".concat(f)];
3735
3749
  if (!T) {
3736
3750
  if (!Intl.PluralRules)
3737
3751
  throw new Ee(`Intl.PluralRules is not available in this environment.
3738
3752
  Try polyfilling it using "@formatjs/intl-pluralrules"
3739
- `, z.MISSING_INTL_API, o);
3740
- var M = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3753
+ `, z.MISSING_INTL_API, s);
3754
+ var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3741
3755
  T = l.options[M] || l.options.other;
3742
3756
  }
3743
3757
  if (!T)
3744
- throw new gt(l.value, c, Object.keys(l.options), o);
3745
- a.push.apply(a, pe(T.value, t, r, n, i, c - (l.offset || 0)));
3758
+ throw new vt(l.value, f, Object.keys(l.options), s);
3759
+ a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
3746
3760
  continue;
3747
3761
  }
3748
3762
  }
3749
- return Kn(a);
3763
+ return ti(a);
3750
3764
  }
3751
- function ti(e, t) {
3765
+ function ni(e, t) {
3752
3766
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3753
3767
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3754
3768
  }, {})) : e;
3755
3769
  }
3756
- function ri(e, t) {
3770
+ function ii(e, t) {
3757
3771
  return t ? Object.keys(e).reduce(function(r, n) {
3758
- return r[n] = ti(e[n], t[n]), r;
3772
+ return r[n] = ni(e[n], t[n]), r;
3759
3773
  }, E({}, e)) : e;
3760
3774
  }
3761
- function Pe(e) {
3775
+ function Oe(e) {
3762
3776
  return {
3763
3777
  create: function() {
3764
3778
  return {
@@ -3772,77 +3786,77 @@ function Pe(e) {
3772
3786
  }
3773
3787
  };
3774
3788
  }
3775
- function ni(e) {
3789
+ function oi(e) {
3776
3790
  return e === void 0 && (e = {
3777
3791
  number: {},
3778
3792
  dateTime: {},
3779
3793
  pluralRules: {}
3780
3794
  }), {
3781
- getNumberFormat: He(function() {
3795
+ getNumberFormat: Be(function() {
3782
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3797
  r[n] = arguments[n];
3784
3798
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3785
3799
  }, {
3786
- cache: Pe(e.number),
3787
- strategy: Be.variadic
3800
+ cache: Oe(e.number),
3801
+ strategy: Ae.variadic
3788
3802
  }),
3789
- getDateTimeFormat: He(function() {
3803
+ getDateTimeFormat: Be(function() {
3790
3804
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3805
  r[n] = arguments[n];
3792
3806
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3793
3807
  }, {
3794
- cache: Pe(e.dateTime),
3795
- strategy: Be.variadic
3808
+ cache: Oe(e.dateTime),
3809
+ strategy: Ae.variadic
3796
3810
  }),
3797
- getPluralRules: He(function() {
3811
+ getPluralRules: Be(function() {
3798
3812
  for (var t, r = [], n = 0; n < arguments.length; n++)
3799
3813
  r[n] = arguments[n];
3800
3814
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3801
3815
  }, {
3802
- cache: Pe(e.pluralRules),
3803
- strategy: Be.variadic
3816
+ cache: Oe(e.pluralRules),
3817
+ strategy: Ae.variadic
3804
3818
  })
3805
3819
  };
3806
3820
  }
3807
- var ii = (
3821
+ var si = (
3808
3822
  /** @class */
3809
3823
  function() {
3810
3824
  function e(t, r, n, i) {
3811
3825
  r === void 0 && (r = e.defaultLocale);
3812
- var s = this;
3826
+ var o = this;
3813
3827
  if (this.formatterCache = {
3814
3828
  number: {},
3815
3829
  dateTime: {},
3816
3830
  pluralRules: {}
3817
3831
  }, this.format = function(h) {
3818
- var u = s.formatToParts(h);
3832
+ var u = o.formatToParts(h);
3819
3833
  if (u.length === 1)
3820
3834
  return u[0].value;
3821
- var l = u.reduce(function(f, c) {
3822
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3835
+ var l = u.reduce(function(c, f) {
3836
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3823
3837
  }, []);
3824
3838
  return l.length <= 1 ? l[0] || "" : l;
3825
3839
  }, this.formatToParts = function(h) {
3826
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3840
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3827
3841
  }, this.resolvedOptions = function() {
3828
3842
  var h;
3829
3843
  return {
3830
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3844
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3831
3845
  };
3832
3846
  }, this.getAst = function() {
3833
- return s.ast;
3847
+ return o.ast;
3834
3848
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3835
3849
  if (this.message = t, !e.__parse)
3836
3850
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3837
- var o = i || {};
3838
- o.formatters;
3839
- var a = Mr(o, ["formatters"]);
3851
+ var s = i || {};
3852
+ s.formatters;
3853
+ var a = Gr(s, ["formatters"]);
3840
3854
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3841
3855
  } else
3842
3856
  this.ast = t;
3843
3857
  if (!Array.isArray(this.ast))
3844
3858
  throw new TypeError("A message must be provided as a String or AST.");
3845
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3859
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3846
3860
  }
3847
3861
  return Object.defineProperty(e, "defaultLocale", {
3848
3862
  get: function() {
@@ -3855,7 +3869,7 @@ var ii = (
3855
3869
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3856
3870
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3857
3871
  }
3858
- }, e.__parse = Jn, e.formats = {
3872
+ }, e.__parse = Yn, e.formats = {
3859
3873
  number: {
3860
3874
  integer: {
3861
3875
  maximumFractionDigits: 0
@@ -3916,7 +3930,7 @@ var ii = (
3916
3930
  }, e;
3917
3931
  }()
3918
3932
  );
3919
- function si(e, t) {
3933
+ function ai(e, t) {
3920
3934
  if (t == null)
3921
3935
  return;
3922
3936
  if (t in e)
@@ -3926,9 +3940,9 @@ function si(e, t) {
3926
3940
  for (let i = 0; i < r.length; i++)
3927
3941
  if (typeof n == "object") {
3928
3942
  if (i > 0) {
3929
- const s = r.slice(i, r.length).join(".");
3930
- if (s in n) {
3931
- n = n[s];
3943
+ const o = r.slice(i, r.length).join(".");
3944
+ if (o in n) {
3945
+ n = n[o];
3932
3946
  break;
3933
3947
  }
3934
3948
  }
@@ -3937,92 +3951,92 @@ function si(e, t) {
3937
3951
  n = void 0;
3938
3952
  return n;
3939
3953
  }
3940
- const $ = {}, oi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3954
+ const $ = {}, ui = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3941
3955
  if (t == null)
3942
3956
  return;
3943
3957
  if (t in $ && e in $[t])
3944
3958
  return $[t][e];
3945
3959
  const r = xe(t);
3946
3960
  for (let n = 0; n < r.length; n++) {
3947
- const i = r[n], s = ui(i, e);
3948
- if (s)
3949
- return oi(e, t, s);
3961
+ const i = r[n], o = li(i, e);
3962
+ if (o)
3963
+ return ui(e, t, o);
3950
3964
  }
3951
3965
  };
3952
- let Je;
3953
- const q = ve({});
3954
- function ai(e) {
3955
- return Je[e] || null;
3966
+ let Ye;
3967
+ const q = _e({});
3968
+ function hi(e) {
3969
+ return Ye[e] || null;
3956
3970
  }
3957
- function nr(e) {
3958
- return e in Je;
3971
+ function sr(e) {
3972
+ return e in Ye;
3959
3973
  }
3960
- function ui(e, t) {
3961
- if (!nr(e))
3974
+ function li(e, t) {
3975
+ if (!sr(e))
3962
3976
  return null;
3963
- const r = ai(e);
3964
- return si(r, t);
3977
+ const r = hi(e);
3978
+ return ai(r, t);
3965
3979
  }
3966
- function hi(e) {
3980
+ function ci(e) {
3967
3981
  if (e == null)
3968
3982
  return;
3969
3983
  const t = xe(e);
3970
3984
  for (let r = 0; r < t.length; r++) {
3971
3985
  const n = t[r];
3972
- if (nr(n))
3986
+ if (sr(n))
3973
3987
  return n;
3974
3988
  }
3975
3989
  }
3976
- function ir(e, ...t) {
3977
- delete $[e], q.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3990
+ function ar(e, ...t) {
3991
+ delete $[e], q.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3978
3992
  }
3979
3993
  J(
3980
3994
  [q],
3981
3995
  ([e]) => Object.keys(e)
3982
3996
  );
3983
- q.subscribe((e) => Je = e);
3984
- const de = {};
3985
- function li(e, t) {
3986
- de[e].delete(t), de[e].size === 0 && delete de[e];
3997
+ q.subscribe((e) => Ye = e);
3998
+ const me = {};
3999
+ function fi(e, t) {
4000
+ me[e].delete(t), me[e].size === 0 && delete me[e];
3987
4001
  }
3988
- function sr(e) {
3989
- return de[e];
4002
+ function ur(e) {
4003
+ return me[e];
3990
4004
  }
3991
- function fi(e) {
4005
+ function pi(e) {
3992
4006
  return xe(e).map((t) => {
3993
- const r = sr(t);
4007
+ const r = ur(t);
3994
4008
  return [t, r ? [...r] : []];
3995
4009
  }).filter(([, t]) => t.length > 0);
3996
4010
  }
3997
- function We(e) {
4011
+ function ze(e) {
3998
4012
  return e == null ? !1 : xe(e).some(
3999
4013
  (t) => {
4000
4014
  var r;
4001
- return (r = sr(t)) == null ? void 0 : r.size;
4015
+ return (r = ur(t)) == null ? void 0 : r.size;
4002
4016
  }
4003
4017
  );
4004
4018
  }
4005
- function ci(e, t) {
4019
+ function mi(e, t) {
4006
4020
  return Promise.all(
4007
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4008
- ).then((n) => ir(e, ...n));
4021
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4022
+ ).then((n) => ar(e, ...n));
4009
4023
  }
4010
4024
  const K = {};
4011
- function or(e) {
4012
- if (!We(e))
4025
+ function hr(e) {
4026
+ if (!ze(e))
4013
4027
  return e in K ? K[e] : Promise.resolve();
4014
- const t = fi(e);
4028
+ const t = pi(e);
4015
4029
  return K[e] = Promise.all(
4016
4030
  t.map(
4017
- ([r, n]) => ci(r, n)
4031
+ ([r, n]) => mi(r, n)
4018
4032
  )
4019
4033
  ).then(() => {
4020
- if (We(e))
4021
- return or(e);
4034
+ if (ze(e))
4035
+ return hr(e);
4022
4036
  delete K[e];
4023
4037
  }), K[e];
4024
4038
  }
4025
- const pi = {
4039
+ const di = {
4026
4040
  number: {
4027
4041
  scientific: { notation: "scientific" },
4028
4042
  engineering: { notation: "engineering" },
@@ -4051,57 +4065,57 @@ const pi = {
4051
4065
  timeZoneName: "short"
4052
4066
  }
4053
4067
  }
4054
- }, di = {
4068
+ }, bi = {
4055
4069
  fallbackLocale: null,
4056
4070
  loadingDelay: 200,
4057
- formats: pi,
4071
+ formats: di,
4058
4072
  warnOnMissingMessages: !0,
4059
4073
  handleMissingMessage: void 0,
4060
4074
  ignoreTag: !0
4061
- }, mi = di;
4075
+ }, gi = bi;
4062
4076
  function Z() {
4063
- return mi;
4064
- }
4065
- const Oe = ve(!1);
4066
- var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4067
- for (var r in t)
4068
- _i.call(t, r) && _t(e, r, t[r]);
4069
- if (yt)
4070
- for (var r of yt(t))
4071
- vi.call(t, r) && _t(e, r, t[r]);
4077
+ return gi;
4078
+ }
4079
+ const Ie = _e(!1);
4080
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4081
+ for (var r in t || (t = {}))
4082
+ Ei.call(t, r) && Et(e, r, t[r]);
4083
+ if (_t)
4084
+ for (var r of _t(t))
4085
+ xi.call(t, r) && Et(e, r, t[r]);
4072
4086
  return e;
4073
- }, xi = (e, t) => gi(e, yi(t));
4074
- let ze;
4075
- const be = ve(null);
4076
- function vt(e) {
4087
+ }, Si = (e, t) => vi(e, _i(t));
4088
+ let Ze;
4089
+ const be = _e(null);
4090
+ function xt(e) {
4077
4091
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4078
4092
  }
4079
4093
  function xe(e, t = Z().fallbackLocale) {
4080
- const r = vt(e);
4081
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4094
+ const r = xt(e);
4095
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4082
4096
  }
4083
4097
  function U() {
4084
- return ze ?? void 0;
4098
+ return Ze ?? void 0;
4085
4099
  }
4086
4100
  be.subscribe((e) => {
4087
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4088
4102
  });
4089
- const Ti = (e) => {
4090
- if (e && hi(e) && We(e)) {
4103
+ const wi = (e) => {
4104
+ if (e && ci(e) && ze(e)) {
4091
4105
  const { loadingDelay: t } = Z();
4092
4106
  let r;
4093
4107
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4094
- () => Oe.set(!0),
4108
+ () => Ie.set(!0),
4095
4109
  t
4096
- ) : Oe.set(!0), or(e).then(() => {
4110
+ ) : Ie.set(!0), hr(e).then(() => {
4097
4111
  be.set(e);
4098
4112
  }).finally(() => {
4099
- clearTimeout(r), Oe.set(!1);
4113
+ clearTimeout(r), Ie.set(!1);
4100
4114
  });
4101
4115
  }
4102
4116
  return be.set(e);
4103
- }, R = xi(Ei({}, be), {
4104
- set: Ti
4117
+ }, R = Si(Ti({}, be), {
4118
+ set: wi
4105
4119
  }), Te = (e) => {
4106
4120
  const t = /* @__PURE__ */ Object.create(null);
4107
4121
  return (n) => {
@@ -4109,20 +4123,20 @@ const Ti = (e) => {
4109
4123
  return i in t ? t[i] : t[i] = e(n);
4110
4124
  };
4111
4125
  };
4112
- var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4126
+ var Hi = Object.defineProperty, ge = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4113
4127
  for (var r in t || (t = {}))
4114
- ar.call(t, r) && Et(e, r, t[r]);
4128
+ lr.call(t, r) && Tt(e, r, t[r]);
4115
4129
  if (ge)
4116
4130
  for (var r of ge(t))
4117
- ur.call(t, r) && Et(e, r, t[r]);
4131
+ cr.call(t, r) && Tt(e, r, t[r]);
4118
4132
  return e;
4119
4133
  }, Y = (e, t) => {
4120
4134
  var r = {};
4121
4135
  for (var n in e)
4122
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4123
4137
  if (e != null && ge)
4124
4138
  for (var n of ge(e))
4125
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4139
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4126
4140
  return r;
4127
4141
  };
4128
4142
  const ie = (e, t) => {
@@ -4130,21 +4144,21 @@ const ie = (e, t) => {
4130
4144
  if (e in r && t in r[e])
4131
4145
  return r[e][t];
4132
4146
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4133
- }, wi = Te(
4147
+ }, Bi = Te(
4134
4148
  (e) => {
4135
4149
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4136
4150
  if (r == null)
4137
4151
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4138
4152
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4139
4153
  }
4140
- ), Hi = Te(
4154
+ ), Ai = Te(
4141
4155
  (e) => {
4142
4156
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4143
4157
  if (r == null)
4144
4158
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4145
4159
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4146
4160
  }
4147
- ), Bi = Te(
4161
+ ), Pi = Te(
4148
4162
  (e) => {
4149
4163
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4150
4164
  if (r == null)
@@ -4153,83 +4167,83 @@ const ie = (e, t) => {
4153
4167
  );
4154
4168
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4155
4169
  }
4156
- ), Ai = (e = {}) => {
4170
+ ), Oi = (e = {}) => {
4157
4171
  var t = e, {
4158
4172
  locale: r = U()
4159
4173
  } = t, n = Y(t, [
4160
4174
  "locale"
4161
4175
  ]);
4162
- return wi(qe({ locale: r }, n));
4163
- }, Pi = (e = {}) => {
4176
+ return Bi(Ke({ locale: r }, n));
4177
+ }, Ii = (e = {}) => {
4164
4178
  var t = e, {
4165
4179
  locale: r = U()
4166
4180
  } = t, n = Y(t, [
4167
4181
  "locale"
4168
4182
  ]);
4169
- return Hi(qe({ locale: r }, n));
4170
- }, Oi = (e = {}) => {
4183
+ return Ai(Ke({ locale: r }, n));
4184
+ }, Ni = (e = {}) => {
4171
4185
  var t = e, {
4172
4186
  locale: r = U()
4173
4187
  } = t, n = Y(t, [
4174
4188
  "locale"
4175
4189
  ]);
4176
- return Bi(qe({ locale: r }, n));
4177
- }, Ii = Te(
4190
+ return Pi(Ke({ locale: r }, n));
4191
+ }, Li = Te(
4178
4192
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4179
- (e, t = U()) => new ii(e, t, Z().formats, {
4193
+ (e, t = U()) => new si(e, t, Z().formats, {
4180
4194
  ignoreTag: Z().ignoreTag
4181
4195
  })
4182
- ), Ni = (e, t = {}) => {
4183
- var r, n, i, s;
4184
- let o = t;
4185
- typeof e == "object" && (o = e, e = o.id);
4196
+ ), Ci = (e, t = {}) => {
4197
+ var r, n, i, o;
4198
+ let s = t;
4199
+ typeof e == "object" && (s = e, e = s.id);
4186
4200
  const {
4187
4201
  values: a,
4188
4202
  locale: h = U(),
4189
4203
  default: u
4190
- } = o;
4204
+ } = s;
4191
4205
  if (h == null)
4192
4206
  throw new Error(
4193
4207
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4194
4208
  );
4195
- let l = rr(e, h);
4209
+ let l = or(e, h);
4196
4210
  if (!l)
4197
- l = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4211
+ l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4198
4212
  else if (typeof l != "string")
4199
4213
  return console.warn(
4200
4214
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4201
4215
  ), l;
4202
4216
  if (!a)
4203
4217
  return l;
4204
- let f = l;
4218
+ let c = l;
4205
4219
  try {
4206
- f = Ii(l, h).format(a);
4207
- } catch (c) {
4208
- c instanceof Error && console.warn(
4220
+ c = Li(l, h).format(a);
4221
+ } catch (f) {
4222
+ f instanceof Error && console.warn(
4209
4223
  `[svelte-i18n] Message "${e}" has syntax error:`,
4210
- c.message
4224
+ f.message
4211
4225
  );
4212
4226
  }
4213
- return f;
4214
- }, Li = (e, t) => Oi(t).format(e), Ci = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), $i = (e, t = U()) => rr(e, t), Ri = J([R, q], () => Ni);
4215
- J([R], () => Li);
4216
- J([R], () => Ci);
4227
+ return c;
4228
+ }, Mi = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Gi = (e, t = U()) => or(e, t), Ui = J([R, q], () => Ci);
4217
4229
  J([R], () => Mi);
4218
- J([R, q], () => $i);
4219
- window.emWidgets = { topic: Qr };
4220
- const Gi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4221
- function Ui({ withLocale: e, translations: t }) {
4230
+ J([R], () => $i);
4231
+ J([R], () => Ri);
4232
+ J([R, q], () => Gi);
4233
+ window.emWidgets = { topic: Yr };
4234
+ const Di = (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));
4235
+ function Fi({ withLocale: e, translations: t }) {
4222
4236
  R.subscribe((r) => {
4223
4237
  r == null && (q.set(t), R.set(e));
4224
4238
  });
4225
4239
  }
4226
- function xt(e, t) {
4227
- ir(e, t);
4240
+ function St(e, t) {
4241
+ ar(e, t);
4228
4242
  }
4229
- function Di(e) {
4243
+ function ji(e) {
4230
4244
  R.set(e);
4231
4245
  }
4232
- const Tt = {
4246
+ const wt = {
4233
4247
  en: {
4234
4248
  loading: "Loading, please wait ...",
4235
4249
  playNow: "Play Now",
@@ -4238,22 +4252,22 @@ const Tt = {
4238
4252
  contribution: "Contribution"
4239
4253
  }
4240
4254
  };
4241
- function Fi(e) {
4242
- fr(e, "svelte-1wi4vit", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4255
+ function ki(e) {
4256
+ mr(e, "svelte-1wi4vit", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4243
4257
  }
4244
- function St(e, t, r) {
4258
+ function Ht(e, t, r) {
4245
4259
  const n = e.slice();
4246
4260
  return n[20] = t[r], n;
4247
4261
  }
4248
- function wt(e, t, r) {
4262
+ function Bt(e, t, r) {
4249
4263
  const n = e.slice();
4250
4264
  return n[20] = t[r], n;
4251
4265
  }
4252
- function Ht(e) {
4266
+ function At(e) {
4253
4267
  let t, r;
4254
4268
  return {
4255
4269
  c() {
4256
- t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Ze), w(
4270
+ t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Qe), w(
4257
4271
  r,
4258
4272
  "clientstyling",
4259
4273
  /*clientstyling*/
@@ -4271,7 +4285,7 @@ function Ht(e) {
4271
4285
  ), H(t, "class", "GamesTabNav");
4272
4286
  },
4273
4287
  m(n, i) {
4274
- oe(n, t, i), B(t, r);
4288
+ se(n, t, i), B(t, r);
4275
4289
  },
4276
4290
  p(n, i) {
4277
4291
  i & /*clientstyling*/
@@ -4299,20 +4313,20 @@ function Ht(e) {
4299
4313
  }
4300
4314
  };
4301
4315
  }
4302
- function Bt(e) {
4316
+ function Pt(e) {
4303
4317
  let t, r, n = (
4304
4318
  /*$_*/
4305
4319
  e[8]("playNow") + ""
4306
- ), i, s, o, a, h, u, l, f, c;
4320
+ ), i, o, s, a, h, u, l, c, f;
4307
4321
  return {
4308
4322
  c() {
4309
- t = P("div"), r = P("span"), i = me(n), s = te(), o = P("ui-image"), l = te(), H(r, "class", "PlayNowButton"), Ke(o.src, a = /*item*/
4310
- e[20].thumbnail) || w(o, "src", a), w(o, "width", "132px"), w(o, "height", "100px"), w(o, "alt", h = /*item*/
4311
- e[20].name), w(o, "title", u = /*item*/
4323
+ t = P("div"), r = P("span"), i = de(n), o = te(), s = P("ui-image"), l = te(), H(r, "class", "PlayNowButton"), tt(s.src, a = /*item*/
4324
+ e[20].thumbnail) || w(s, "src", a), w(s, "width", "132px"), w(s, "height", "100px"), w(s, "alt", h = /*item*/
4325
+ e[20].name), w(s, "title", u = /*item*/
4312
4326
  e[20].name), H(t, "class", "item"), H(t, "role", "button"), H(t, "tabindex", "0");
4313
4327
  },
4314
- m(p, d) {
4315
- oe(p, t, d), B(t, r), B(r, i), B(t, s), B(t, o), B(t, l), f || (c = dr(t, "click", function() {
4328
+ m(p, m) {
4329
+ se(p, t, m), B(t, r), B(r, i), B(t, o), B(t, s), B(t, l), c || (f = gr(t, "click", function() {
4316
4330
  ye(
4317
4331
  /*gameClicked*/
4318
4332
  e[10](
@@ -4323,160 +4337,160 @@ function Bt(e) {
4323
4337
  /*item*/
4324
4338
  e[20]
4325
4339
  ).apply(this, arguments);
4326
- }), f = !0);
4340
+ }), c = !0);
4327
4341
  },
4328
- p(p, d) {
4329
- e = p, d & /*$_*/
4342
+ p(p, m) {
4343
+ e = p, m & /*$_*/
4330
4344
  256 && n !== (n = /*$_*/
4331
- e[8]("playNow") + "") && Ie(i, n), d & /*casinoGames*/
4332
- 128 && !Ke(o.src, a = /*item*/
4333
- e[20].thumbnail) && w(o, "src", a), d & /*casinoGames*/
4345
+ e[8]("playNow") + "") && Ne(i, n), m & /*casinoGames*/
4346
+ 128 && !tt(s.src, a = /*item*/
4347
+ e[20].thumbnail) && w(s, "src", a), m & /*casinoGames*/
4334
4348
  128 && h !== (h = /*item*/
4335
- e[20].name) && w(o, "alt", h), d & /*casinoGames*/
4349
+ e[20].name) && w(s, "alt", h), m & /*casinoGames*/
4336
4350
  128 && u !== (u = /*item*/
4337
- e[20].name) && w(o, "title", u);
4351
+ e[20].name) && w(s, "title", u);
4338
4352
  },
4339
4353
  d(p) {
4340
- p && Q(t), f = !1, c();
4354
+ p && Q(t), c = !1, f();
4341
4355
  }
4342
4356
  };
4343
4357
  }
4344
- function At(e) {
4358
+ function Ot(e) {
4345
4359
  let t, r = (
4346
4360
  /*item*/
4347
4361
  e[20].rule + ""
4348
- ), n, i, s = (
4362
+ ), n, i, o = (
4349
4363
  /*$_*/
4350
4364
  e[8]("contribution") + ""
4351
- ), o;
4365
+ ), s;
4352
4366
  return {
4353
4367
  c() {
4354
- t = P("li"), n = me(r), i = te(), o = me(s), H(t, "part", "li"), H(t, "class", "Market");
4368
+ t = P("li"), n = de(r), i = te(), s = de(o), H(t, "part", "li"), H(t, "class", "Market");
4355
4369
  },
4356
4370
  m(a, h) {
4357
- oe(a, t, h), B(t, n), B(t, i), B(t, o);
4371
+ se(a, t, h), B(t, n), B(t, i), B(t, s);
4358
4372
  },
4359
4373
  p(a, h) {
4360
4374
  h & /*sportsRules*/
4361
4375
  64 && r !== (r = /*item*/
4362
- a[20].rule + "") && Ie(n, r), h & /*$_*/
4363
- 256 && s !== (s = /*$_*/
4364
- a[8]("contribution") + "") && Ie(o, s);
4376
+ a[20].rule + "") && Ne(n, r), h & /*$_*/
4377
+ 256 && o !== (o = /*$_*/
4378
+ a[8]("contribution") + "") && Ne(s, o);
4365
4379
  },
4366
4380
  d(a) {
4367
4381
  a && Q(t);
4368
4382
  }
4369
4383
  };
4370
4384
  }
4371
- function ji(e) {
4372
- let t, r, n, i, s, o, a, h, u, l, f = (
4385
+ function Vi(e) {
4386
+ let t, r, n, i, o, s, a, h, u, l, c = (
4373
4387
  /*tournamentdetails*/
4374
4388
  e[3] && /*tournamentdetails*/
4375
4389
  e[3].wallet?.sports && /*tournamentdetails*/
4376
- e[3].wallet?.casino && Ht(e)
4377
- ), c = ue(
4390
+ e[3].wallet?.casino && At(e)
4391
+ ), f = ue(
4378
4392
  /*casinoGames*/
4379
4393
  e[7]
4380
4394
  ), p = [];
4381
- for (let m = 0; m < c.length; m += 1)
4382
- p[m] = Bt(wt(e, c, m));
4383
- let d = ue(
4395
+ for (let d = 0; d < f.length; d += 1)
4396
+ p[d] = Pt(Bt(e, f, d));
4397
+ let m = ue(
4384
4398
  /*sportsRules*/
4385
4399
  e[6]
4386
4400
  ), g = [];
4387
- for (let m = 0; m < d.length; m += 1)
4388
- g[m] = At(St(e, d, m));
4401
+ for (let d = 0; d < m.length; d += 1)
4402
+ g[d] = Ot(Ht(e, m, d));
4389
4403
  return {
4390
4404
  c() {
4391
- t = P("div"), f && f.c(), r = te(), n = P("div"), i = P("div"), s = P("div");
4392
- for (let m = 0; m < p.length; m += 1)
4393
- p[m].c();
4405
+ t = P("div"), c && c.c(), r = te(), n = P("div"), i = P("div"), o = P("div");
4406
+ for (let d = 0; d < p.length; d += 1)
4407
+ p[d].c();
4394
4408
  a = te(), h = P("div"), u = P("ul");
4395
- for (let m = 0; m < g.length; m += 1)
4396
- g[m].c();
4397
- H(s, "class", "GameList items"), H(i, "class", o = "TabContent GamesContent " + /*activeTab*/
4409
+ for (let d = 0; d < g.length; d += 1)
4410
+ g[d].c();
4411
+ H(o, "class", "GameList items"), H(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4398
4412
  (e[5] != "casino" ? "hidden" : "")), H(u, "class", "SportsPage"), H(h, "class", l = "TabContent GamesContent " + /*activeTab*/
4399
- (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", Gi(
4413
+ (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", Di(
4400
4414
  /*userAgent*/
4401
4415
  e[9]
4402
4416
  ) ? "MobileClass" : "");
4403
4417
  },
4404
- m(m, S) {
4405
- oe(m, t, S), f && f.m(t, null), B(t, r), B(t, n), B(n, i), B(i, s);
4418
+ m(d, S) {
4419
+ se(d, t, S), c && c.m(t, null), B(t, r), B(t, n), B(n, i), B(i, o);
4406
4420
  for (let y = 0; y < p.length; y += 1)
4407
- p[y] && p[y].m(s, null);
4421
+ p[y] && p[y].m(o, null);
4408
4422
  B(n, a), B(n, h), B(h, u);
4409
4423
  for (let y = 0; y < g.length; y += 1)
4410
4424
  g[y] && g[y].m(u, null);
4411
4425
  e[13](t);
4412
4426
  },
4413
- p(m, [S]) {
4427
+ p(d, [S]) {
4414
4428
  if (/*tournamentdetails*/
4415
- m[3] && /*tournamentdetails*/
4416
- m[3].wallet?.sports && /*tournamentdetails*/
4417
- m[3].wallet?.casino ? f ? f.p(m, S) : (f = Ht(m), f.c(), f.m(t, r)) : f && (f.d(1), f = null), S & /*gameClicked, casinoGames, $_*/
4429
+ d[3] && /*tournamentdetails*/
4430
+ d[3].wallet?.sports && /*tournamentdetails*/
4431
+ d[3].wallet?.casino ? c ? c.p(d, S) : (c = At(d), c.c(), c.m(t, r)) : c && (c.d(1), c = null), S & /*gameClicked, casinoGames, $_*/
4418
4432
  1408) {
4419
- c = ue(
4433
+ f = ue(
4420
4434
  /*casinoGames*/
4421
- m[7]
4435
+ d[7]
4422
4436
  );
4423
4437
  let y;
4424
- for (y = 0; y < c.length; y += 1) {
4425
- const T = wt(m, c, y);
4426
- p[y] ? p[y].p(T, S) : (p[y] = Bt(T), p[y].c(), p[y].m(s, null));
4438
+ for (y = 0; y < f.length; y += 1) {
4439
+ const T = Bt(d, f, y);
4440
+ p[y] ? p[y].p(T, S) : (p[y] = Pt(T), p[y].c(), p[y].m(o, null));
4427
4441
  }
4428
4442
  for (; y < p.length; y += 1)
4429
4443
  p[y].d(1);
4430
- p.length = c.length;
4444
+ p.length = f.length;
4431
4445
  }
4432
4446
  if (S & /*activeTab*/
4433
- 32 && o !== (o = "TabContent GamesContent " + /*activeTab*/
4434
- (m[5] != "casino" ? "hidden" : "")) && H(i, "class", o), S & /*$_, sportsRules*/
4447
+ 32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
4448
+ (d[5] != "casino" ? "hidden" : "")) && H(i, "class", s), S & /*$_, sportsRules*/
4435
4449
  320) {
4436
- d = ue(
4450
+ m = ue(
4437
4451
  /*sportsRules*/
4438
- m[6]
4452
+ d[6]
4439
4453
  );
4440
4454
  let y;
4441
- for (y = 0; y < d.length; y += 1) {
4442
- const T = St(m, d, y);
4443
- g[y] ? g[y].p(T, S) : (g[y] = At(T), g[y].c(), g[y].m(u, null));
4455
+ for (y = 0; y < m.length; y += 1) {
4456
+ const T = Ht(d, m, y);
4457
+ g[y] ? g[y].p(T, S) : (g[y] = Ot(T), g[y].c(), g[y].m(u, null));
4444
4458
  }
4445
4459
  for (; y < g.length; y += 1)
4446
4460
  g[y].d(1);
4447
- g.length = d.length;
4461
+ g.length = m.length;
4448
4462
  }
4449
4463
  S & /*activeTab*/
4450
4464
  32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
4451
- (m[5] != "sports" ? "hidden" : "")) && H(h, "class", l);
4465
+ (d[5] != "sports" ? "hidden" : "")) && H(h, "class", l);
4452
4466
  },
4453
4467
  i: I,
4454
4468
  o: I,
4455
- d(m) {
4456
- m && Q(t), f && f.d(), et(p, m), et(g, m), e[13](null);
4469
+ d(d) {
4470
+ d && Q(t), c && c.d(), rt(p, d), rt(g, d), e[13](null);
4457
4471
  }
4458
4472
  };
4459
4473
  }
4460
- let Ze = "gameTab";
4461
- function ki(e, t, r) {
4474
+ let Qe = "gameTab";
4475
+ function Xi(e, t, r) {
4462
4476
  let n;
4463
- lr(e, Ri, (b) => r(8, n = b));
4464
- let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: o } = t, { translationurl: a } = t, { lang: h = "en" } = t, u = "casino", l = [], f = [], c, p = window.navigator.userAgent, d;
4465
- Ui({ withLocale: "en", translations: {} });
4477
+ pr(e, Ui, (b) => r(8, n = b));
4478
+ let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: h = "en" } = t, u = "casino", l = [], c = [], f, p = window.navigator.userAgent, m;
4479
+ Fi({ withLocale: "en", translations: {} });
4466
4480
  const g = () => {
4467
4481
  fetch(a).then((b) => b.json()).then((b) => {
4468
4482
  Object.keys(b).forEach((O) => {
4469
- xt(O, b[O]);
4483
+ St(O, b[O]);
4470
4484
  });
4471
4485
  }).catch((b) => {
4472
4486
  console.log(b);
4473
4487
  });
4474
4488
  };
4475
- Object.keys(Tt).forEach((b) => {
4476
- xt(b, Tt[b]);
4489
+ Object.keys(wt).forEach((b) => {
4490
+ St(b, wt[b]);
4477
4491
  });
4478
- const m = () => {
4479
- Di(h), setTimeout(
4492
+ const d = () => {
4493
+ ji(h), setTimeout(
4480
4494
  () => {
4481
4495
  S();
4482
4496
  },
@@ -4504,10 +4518,10 @@ function ki(e, t, r) {
4504
4518
  window.location.href
4505
4519
  );
4506
4520
  }, T = () => {
4507
- r(7, f = c.games?.items || []);
4508
- const b = c.metadata?.sports?.rules;
4521
+ r(7, c = f.games?.items || []);
4522
+ const b = f.metadata?.sports?.rules;
4509
4523
  if (b) {
4510
- r(5, u = c.wallet.casino ? "casino" : "sports");
4524
+ r(5, u = f.wallet.casino ? "casino" : "sports");
4511
4525
  try {
4512
4526
  const O = JSON.parse(b);
4513
4527
  r(6, l = O[h] || O["*"]);
@@ -4521,52 +4535,52 @@ function ki(e, t, r) {
4521
4535
  const O = b.data.tid || "";
4522
4536
  switch (b.data.type) {
4523
4537
  case "TournamentsTabSwitch":
4524
- O === Ze && r(5, u = b.data.tab);
4538
+ O === Qe && r(5, u = b.data.tab);
4525
4539
  break;
4526
4540
  case "TournamentsTabListenerLoaded":
4527
4541
  S();
4528
4542
  break;
4529
4543
  case "TournamentsGamesUpdate":
4530
- r(3, c = b.data.details), T();
4544
+ r(3, f = b.data.details), T();
4531
4545
  break;
4532
4546
  default:
4533
4547
  console.warn(`Unhandled message type: ${b.data.type}`);
4534
4548
  break;
4535
4549
  }
4536
4550
  };
4537
- yr(() => (window.postMessage(
4551
+ Er(() => (window.postMessage(
4538
4552
  {
4539
4553
  type: "TournamentsGamesListenerLoaded",
4540
- gamesTabTid: Ze
4554
+ gamesTabTid: Qe
4541
4555
  },
4542
4556
  window.location.href
4543
4557
  ), window.addEventListener("message", M, !1), () => {
4544
4558
  window.removeEventListener("message", M);
4545
4559
  }));
4546
4560
  function N(b) {
4547
- Ne[b ? "unshift" : "push"](() => {
4548
- d = b, r(4, d);
4561
+ Le[b ? "unshift" : "push"](() => {
4562
+ m = b, r(4, m);
4549
4563
  });
4550
4564
  }
4551
4565
  return e.$$set = (b) => {
4552
- "clientstyling" in b && r(0, i = b.clientstyling), "clientstylingurl" in b && r(1, s = b.clientstylingurl), "mbsource" in b && r(2, o = b.mbsource), "translationurl" in b && r(11, a = b.translationurl), "lang" in b && r(12, h = b.lang);
4566
+ "clientstyling" in b && r(0, i = b.clientstyling), "clientstylingurl" in b && r(1, o = b.clientstylingurl), "mbsource" in b && r(2, s = b.mbsource), "translationurl" in b && r(11, a = b.translationurl), "lang" in b && r(12, h = b.lang);
4553
4567
  }, e.$$.update = () => {
4554
4568
  e.$$.dirty & /*tournamentdetails*/
4555
- 8 && c && T(), e.$$.dirty & /*lang*/
4556
- 4096 && h && m(), e.$$.dirty & /*translationurl*/
4569
+ 8 && f && T(), e.$$.dirty & /*lang*/
4570
+ 4096 && h && d(), e.$$.dirty & /*translationurl*/
4557
4571
  2048 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4558
- 17 && i && d && Nr(d, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4559
- 18 && s && d && Lr(d, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4560
- 20 && o && d && Cr(d, `${o}.Style`);
4572
+ 17 && i && m && Mr(m, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4573
+ 18 && o && m && $r(m, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4574
+ 20 && s && m && Rr(m, `${s}.Style`);
4561
4575
  }, [
4562
4576
  i,
4563
- s,
4564
4577
  o,
4565
- c,
4566
- d,
4578
+ s,
4579
+ f,
4580
+ m,
4567
4581
  u,
4568
4582
  l,
4569
- f,
4583
+ c,
4570
4584
  n,
4571
4585
  p,
4572
4586
  y,
@@ -4575,14 +4589,14 @@ function ki(e, t, r) {
4575
4589
  N
4576
4590
  ];
4577
4591
  }
4578
- class Vi extends Or {
4592
+ class Wi extends Lr {
4579
4593
  constructor(t) {
4580
- super(), Ar(
4594
+ super(), Ir(
4581
4595
  this,
4582
4596
  t,
4583
- ki,
4584
- ji,
4585
- Ot,
4597
+ Xi,
4598
+ Vi,
4599
+ Nt,
4586
4600
  {
4587
4601
  clientstyling: 0,
4588
4602
  clientstylingurl: 1,
@@ -4590,7 +4604,7 @@ class Vi extends Or {
4590
4604
  translationurl: 11,
4591
4605
  lang: 12
4592
4606
  },
4593
- Fi
4607
+ ki
4594
4608
  );
4595
4609
  }
4596
4610
  get clientstyling() {
@@ -4624,7 +4638,7 @@ class Vi extends Or {
4624
4638
  this.$$set({ lang: t }), G();
4625
4639
  }
4626
4640
  }
4627
- Pr(Vi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4641
+ Nr(Wi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4628
4642
  export {
4629
- Vi as C
4643
+ Wi as C
4630
4644
  };