@everymatrix/casino-favorites-section 1.87.26 → 1.87.27

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 (29) hide show
  1. package/components/CasinoFavoritesSection-BfSDbfM0.cjs +3 -0
  2. package/components/{CasinoFavoritesSection-DDuAvc6Y.js → CasinoFavoritesSection-FlsVsLHY.js} +782 -753
  3. package/components/{CasinoFavoritesSection-C0BiG4De.js → CasinoFavoritesSection-Oi0rnafn.js} +759 -731
  4. package/components/CasinoFilter-CNcc2lJ8.cjs +1 -0
  5. package/components/CasinoFilter-CXp-Zshd.js +646 -0
  6. package/components/CasinoFilter-y5CBknUO.js +645 -0
  7. package/components/CasinoGameThumbnail-BtOAqqqJ.js +1831 -0
  8. package/components/CasinoGameThumbnail-DdB_aj8u.js +1847 -0
  9. package/components/CasinoGameThumbnail-y56OMaMA.cjs +38 -0
  10. package/components/CasinoGamesCategorySection-CE77UqlZ.js +6248 -0
  11. package/components/CasinoGamesCategorySection-D0-klIqM.cjs +25 -0
  12. package/components/CasinoGamesCategorySection-DTAqR94W.js +6280 -0
  13. package/components/{CasinoSort-BZv2SPft.js → CasinoSort-CEX4SToK.js} +112 -111
  14. package/components/{CasinoSort-CZx3iOfc.cjs → CasinoSort-QMe_DOcp.cjs} +1 -1
  15. package/components/{CasinoSort-DSRa4P-s.js → CasinoSort-gGAp-WFB.js} +100 -101
  16. package/es2015/casino-favorites-section.cjs +1 -1
  17. package/es2015/casino-favorites-section.js +1 -1
  18. package/esnext/casino-favorites-section.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFavoritesSection-nIdSraW4.cjs +0 -3
  21. package/components/CasinoFilter-ByAU_0b7.js +0 -1185
  22. package/components/CasinoFilter-D8gwSSCO.js +0 -1184
  23. package/components/CasinoFilter-DvfBwDnB.cjs +0 -16
  24. package/components/CasinoGameThumbnail-3lArHpJI.js +0 -4376
  25. package/components/CasinoGameThumbnail-8WwPBAK9.cjs +0 -47
  26. package/components/CasinoGameThumbnail-BtpCjxYS.js +0 -4360
  27. package/components/CasinoGamesCategorySection-Cjoeiofx.cjs +0 -1
  28. package/components/CasinoGamesCategorySection-Db11EW4j.js +0 -3186
  29. package/components/CasinoGamesCategorySection-MWgg6AM2.js +0 -3218
@@ -1,28 +1,28 @@
1
1
  function I() {
2
2
  }
3
- function nt(e) {
3
+ function it(e) {
4
4
  return e();
5
5
  }
6
- function Fe() {
6
+ function je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function W(e) {
10
- e.forEach(nt);
9
+ function z(e) {
10
+ e.forEach(it);
11
11
  }
12
- function $e(e) {
12
+ function Ue(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function it(e, t) {
15
+ function st(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let ie;
19
- function Jn(e, t) {
20
- return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
18
+ let se;
19
+ function ei(e, t) {
20
+ return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
21
21
  }
22
- function Mt(e) {
22
+ function Rt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function st(e, ...t) {
25
+ function ot(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function st(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Yn(e, t, r) {
35
- e.$$.on_destroy.push(st(t, r));
34
+ function ti(e, t, r) {
35
+ e.$$.on_destroy.push(ot(t, r));
36
36
  }
37
- function Rt(e, t) {
37
+ function $t(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function $t(e, t, r) {
41
- const n = Ut(e);
40
+ function Ut(e, t, r) {
41
+ const n = Dt(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = re("style");
44
- i.id = t, i.textContent = r, Dt(n, i);
43
+ const i = ne("style");
44
+ i.id = t, i.textContent = r, Gt(n, i);
45
45
  }
46
46
  }
47
- function Ut(e) {
47
+ function Dt(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,62 +54,62 @@ function Ut(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Dt(e, t) {
58
- return Rt(
57
+ function Gt(e, t) {
58
+ return $t(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ce(e, t, r) {
64
+ function me(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function te(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Kn(e, t) {
70
+ function ri(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function re(e) {
74
+ function ne(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Gt(e) {
77
+ function Ft(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function at(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function ei() {
83
+ function ni() {
84
84
  return at(" ");
85
85
  }
86
- function ti() {
86
+ function ii() {
87
87
  return at("");
88
88
  }
89
- function ri(e, t, r, n) {
89
+ function si(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function Ue(e, t, r) {
92
+ function De(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
95
  function g(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ue(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : De(e, t, r);
98
98
  }
99
- function Ft(e) {
99
+ function jt(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function ni(e, t) {
102
+ function oi(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function ii(e, t) {
106
+ function ai(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function si(e, t, r) {
109
+ function ui(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class ai {
112
+ class hi {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -140,10 +140,10 @@ class ai {
140
140
  * @returns {void}
141
141
  */
142
142
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = Gt(
143
+ this.e || (this.is_svg ? this.e = Ft(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
- ) : this.e = re(
146
+ ) : this.e = ne(
147
147
  /** @type {keyof HTMLElementTagNameMap} */
148
148
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
149
149
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -164,7 +164,7 @@ class ai {
164
164
  * @returns {void} */
165
165
  i(t) {
166
166
  for (let r = 0; r < this.n.length; r += 1)
167
- ce(this.t, this.n[r], t);
167
+ me(this.t, this.n[r], t);
168
168
  }
169
169
  /**
170
170
  * @param {string} html
@@ -176,10 +176,10 @@ class ai {
176
176
  /**
177
177
  * @returns {void} */
178
178
  d() {
179
- this.n.forEach(te);
179
+ this.n.forEach(re);
180
180
  }
181
181
  }
182
- function jt(e) {
182
+ function kt(e) {
183
183
  const t = {};
184
184
  return e.childNodes.forEach(
185
185
  /** @param {Element} node */
@@ -188,134 +188,134 @@ function jt(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let Y;
192
- function J(e) {
193
- Y = e;
191
+ let K;
192
+ function Y(e) {
193
+ K = e;
194
194
  }
195
- function ot() {
196
- if (!Y)
195
+ function ut() {
196
+ if (!K)
197
197
  throw new Error("Function called outside component initialization");
198
- return Y;
198
+ return K;
199
199
  }
200
- function kt(e) {
201
- ot().$$.on_mount.push(e);
200
+ function Vt(e) {
201
+ ut().$$.on_mount.push(e);
202
202
  }
203
- function oi(e) {
204
- ot().$$.on_destroy.push(e);
203
+ function li(e) {
204
+ ut().$$.on_destroy.push(e);
205
205
  }
206
- const G = [], Se = [];
207
- let F = [];
208
- const je = [], ut = /* @__PURE__ */ Promise.resolve();
206
+ const G = [], Ae = [];
207
+ let j = [];
208
+ const ke = [], ht = /* @__PURE__ */ Promise.resolve();
209
209
  let Be = !1;
210
- function ht() {
211
- Be || (Be = !0, ut.then(H));
210
+ function lt() {
211
+ Be || (Be = !0, ht.then(H));
212
212
  }
213
- function ui() {
214
- return ht(), ut;
213
+ function fi() {
214
+ return lt(), ht;
215
215
  }
216
- function Ae(e) {
217
- F.push(e);
216
+ function we(e) {
217
+ j.push(e);
218
218
  }
219
- const ye = /* @__PURE__ */ new Set();
219
+ const Ee = /* @__PURE__ */ new Set();
220
220
  let U = 0;
221
221
  function H() {
222
222
  if (U !== 0)
223
223
  return;
224
- const e = Y;
224
+ const e = K;
225
225
  do {
226
226
  try {
227
227
  for (; U < G.length; ) {
228
228
  const t = G[U];
229
- U++, J(t), Vt(t.$$);
229
+ U++, Y(t), Xt(t.$$);
230
230
  }
231
231
  } catch (t) {
232
232
  throw G.length = 0, U = 0, t;
233
233
  }
234
- for (J(null), G.length = 0, U = 0; Se.length; )
235
- Se.pop()();
236
- for (let t = 0; t < F.length; t += 1) {
237
- const r = F[t];
238
- ye.has(r) || (ye.add(r), r());
234
+ for (Y(null), G.length = 0, U = 0; Ae.length; )
235
+ Ae.pop()();
236
+ for (let t = 0; t < j.length; t += 1) {
237
+ const r = j[t];
238
+ Ee.has(r) || (Ee.add(r), r());
239
239
  }
240
- F.length = 0;
240
+ j.length = 0;
241
241
  } while (G.length);
242
- for (; je.length; )
243
- je.pop()();
244
- Be = !1, ye.clear(), J(e);
242
+ for (; ke.length; )
243
+ ke.pop()();
244
+ Be = !1, Ee.clear(), Y(e);
245
245
  }
246
- function Vt(e) {
246
+ function Xt(e) {
247
247
  if (e.fragment !== null) {
248
- e.update(), W(e.before_update);
248
+ e.update(), z(e.before_update);
249
249
  const t = e.dirty;
250
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
251
251
  }
252
252
  }
253
- function Xt(e) {
253
+ function Wt(e) {
254
254
  const t = [], r = [];
255
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
255
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
256
256
  }
257
- const Wt = /* @__PURE__ */ new Set();
258
- function lt(e, t) {
259
- e && e.i && (Wt.delete(e), e.i(t));
257
+ const zt = /* @__PURE__ */ new Set();
258
+ function ft(e, t) {
259
+ e && e.i && (zt.delete(e), e.i(t));
260
260
  }
261
- function hi(e) {
261
+ function ci(e) {
262
262
  return e?.length !== void 0 ? e : Array.from(e);
263
263
  }
264
- function li(e, t) {
264
+ function mi(e, t) {
265
265
  e.d(1), t.delete(e.key);
266
266
  }
267
- function fi(e, t, r, n, i, s, u, o, l, a, h, c) {
267
+ function gi(e, t, r, n, i, s, o, a, l, u, h, c) {
268
268
  let f = e.length, b = s.length, y = f;
269
269
  const x = {};
270
270
  for (; y--; )
271
271
  x[e[y].key] = y;
272
- const S = [], N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), B = [];
272
+ const S = [], P = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), T = [];
273
273
  for (y = b; y--; ) {
274
- const v = c(i, s, y), m = r(v);
275
- let L = u.get(m);
276
- L ? B.push(() => L.p(v, t)) : (L = a(m, v), L.c()), N.set(m, S[y] = L), m in x && P.set(m, Math.abs(y - x[m]));
274
+ const E = c(i, s, y), O = r(E);
275
+ let m = o.get(O);
276
+ m ? T.push(() => m.p(E, t)) : (m = u(O, E), m.c()), P.set(O, S[y] = m), O in x && w.set(O, Math.abs(y - x[O]));
277
277
  }
278
- const O = /* @__PURE__ */ new Set(), w = /* @__PURE__ */ new Set();
279
- function T(v) {
280
- lt(v, 1), v.m(o, h), u.set(v.key, v), h = v.first, b--;
278
+ const N = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
279
+ function L(E) {
280
+ ft(E, 1), E.m(a, h), o.set(E.key, E), h = E.first, b--;
281
281
  }
282
282
  for (; f && b; ) {
283
- const v = S[b - 1], m = e[f - 1], L = v.key, ne = m.key;
284
- v === m ? (h = v.first, f--, b--) : N.has(ne) ? !u.has(L) || O.has(L) ? T(v) : w.has(ne) ? f-- : P.get(L) > P.get(ne) ? (w.add(L), T(v)) : (O.add(ne), f--) : (l(m, u), f--);
283
+ const E = S[b - 1], O = e[f - 1], m = E.key, ie = O.key;
284
+ E === O ? (h = E.first, f--, b--) : P.has(ie) ? !o.has(m) || N.has(m) ? L(E) : B.has(ie) ? f-- : w.get(m) > w.get(ie) ? (B.add(m), L(E)) : (N.add(ie), f--) : (l(O, o), f--);
285
285
  }
286
286
  for (; f--; ) {
287
- const v = e[f];
288
- N.has(v.key) || l(v, u);
287
+ const E = e[f];
288
+ P.has(E.key) || l(E, o);
289
289
  }
290
290
  for (; b; )
291
- T(S[b - 1]);
292
- return W(B), S;
291
+ L(S[b - 1]);
292
+ return z(T), S;
293
293
  }
294
- function zt(e, t, r) {
294
+ function Zt(e, t, r) {
295
295
  const { fragment: n, after_update: i } = e.$$;
296
- n && n.m(t, r), Ae(() => {
297
- const s = e.$$.on_mount.map(nt).filter($e);
298
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
299
- }), i.forEach(Ae);
296
+ n && n.m(t, r), we(() => {
297
+ const s = e.$$.on_mount.map(it).filter(Ue);
298
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
299
+ }), i.forEach(we);
300
300
  }
301
- function Zt(e, t) {
301
+ function Qt(e, t) {
302
302
  const r = e.$$;
303
- r.fragment !== null && (Xt(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (Wt(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
304
304
  }
305
- function Qt(e, t) {
306
- e.$$.dirty[0] === -1 && (G.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
305
+ function qt(e, t) {
306
+ e.$$.dirty[0] === -1 && (G.push(e), lt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
307
  }
308
- function qt(e, t, r, n, i, s, u = null, o = [-1]) {
309
- const l = Y;
310
- J(e);
311
- const a = e.$$ = {
308
+ function Jt(e, t, r, n, i, s, o = null, a = [-1]) {
309
+ const l = K;
310
+ Y(e);
311
+ const u = e.$$ = {
312
312
  fragment: null,
313
313
  ctx: [],
314
314
  // state
315
315
  props: s,
316
316
  update: I,
317
317
  not_equal: i,
318
- bound: Fe(),
318
+ bound: je(),
319
319
  // lifecycle
320
320
  on_mount: [],
321
321
  on_destroy: [],
@@ -324,28 +324,28 @@ function qt(e, t, r, n, i, s, u = null, o = [-1]) {
324
324
  after_update: [],
325
325
  context: new Map(t.context || (l ? l.$$.context : [])),
326
326
  // everything else
327
- callbacks: Fe(),
328
- dirty: o,
327
+ callbacks: je(),
328
+ dirty: a,
329
329
  skip_bound: !1,
330
330
  root: t.target || l.$$.root
331
331
  };
332
- u && u(a.root);
332
+ o && o(u.root);
333
333
  let h = !1;
334
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
334
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
335
335
  const y = b.length ? b[0] : f;
336
- return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), h && Qt(e, c)), f;
337
- }) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
336
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && qt(e, c)), f;
337
+ }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
- const c = Ft(t.target);
340
- a.fragment && a.fragment.l(c), c.forEach(te);
339
+ const c = jt(t.target);
340
+ u.fragment && u.fragment.l(c), c.forEach(re);
341
341
  } else
342
- a.fragment && a.fragment.c();
343
- t.intro && lt(e.$$.fragment), zt(e, t.target, t.anchor), H();
342
+ u.fragment && u.fragment.c();
343
+ t.intro && ft(e.$$.fragment), Zt(e, t.target, t.anchor), H();
344
344
  }
345
- J(l);
345
+ Y(l);
346
346
  }
347
- let ft;
348
- typeof HTMLElement == "function" && (ft = class extends HTMLElement {
347
+ let ct;
348
+ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
349
349
  /** The Svelte component constructor */
350
350
  $$ctor;
351
351
  /** Slots */
@@ -387,24 +387,24 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
387
387
  let s;
388
388
  return {
389
389
  c: function() {
390
- s = re("slot"), i !== "default" && Ue(s, "name", i);
390
+ s = ne("slot"), i !== "default" && De(s, "name", i);
391
391
  },
392
392
  /**
393
393
  * @param {HTMLElement} target
394
394
  * @param {HTMLElement} [anchor]
395
395
  */
396
- m: function(l, a) {
397
- ce(l, s, a);
396
+ m: function(l, u) {
397
+ me(l, s, u);
398
398
  },
399
399
  d: function(l) {
400
- l && te(s);
400
+ l && re(s);
401
401
  }
402
402
  };
403
403
  };
404
404
  };
405
405
  if (await Promise.resolve(), !this.$$cn || this.$$c)
406
406
  return;
407
- const t = {}, r = jt(this);
407
+ const t = {}, r = kt(this);
408
408
  for (const i of this.$$s)
409
409
  i in r && (t[i] = [e(i)]);
410
410
  for (const i of this.attributes) {
@@ -440,8 +440,8 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
440
440
  this.$$c.$$.after_update.push(n), n();
441
441
  for (const i in this.$$l)
442
442
  for (const s of this.$$l[i]) {
443
- const u = this.$$c.$on(i, s);
444
- this.$$l_u.set(s, u);
443
+ const o = this.$$c.$on(i, s);
444
+ this.$$l_u.set(s, o);
445
445
  }
446
446
  this.$$l = {};
447
447
  }
@@ -491,36 +491,36 @@ function ae(e, t, r, n) {
491
491
  return t;
492
492
  }
493
493
  }
494
- function Jt(e, t, r, n, i, s) {
495
- let u = class extends ft {
494
+ function Yt(e, t, r, n, i, s) {
495
+ let o = class extends ct {
496
496
  constructor() {
497
497
  super(e, r, i), this.$$p_d = t;
498
498
  }
499
499
  static get observedAttributes() {
500
500
  return Object.keys(t).map(
501
- (o) => (t[o].attribute || o).toLowerCase()
501
+ (a) => (t[a].attribute || a).toLowerCase()
502
502
  );
503
503
  }
504
504
  };
505
- return Object.keys(t).forEach((o) => {
506
- Object.defineProperty(u.prototype, o, {
505
+ return Object.keys(t).forEach((a) => {
506
+ Object.defineProperty(o.prototype, a, {
507
507
  get() {
508
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
508
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
509
509
  },
510
510
  set(l) {
511
- l = ae(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
511
+ l = ae(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
512
512
  }
513
513
  });
514
- }), n.forEach((o) => {
515
- Object.defineProperty(u.prototype, o, {
514
+ }), n.forEach((a) => {
515
+ Object.defineProperty(o.prototype, a, {
516
516
  get() {
517
- return this.$$c?.[o];
517
+ return this.$$c?.[a];
518
518
  }
519
519
  });
520
520
  }), e.element = /** @type {any} */
521
- u, u;
521
+ o, o;
522
522
  }
523
- class Yt {
523
+ class Kt {
524
524
  /**
525
525
  * ### PRIVATE API
526
526
  *
@@ -539,7 +539,7 @@ class Yt {
539
539
  $$set = void 0;
540
540
  /** @returns {void} */
541
541
  $destroy() {
542
- Zt(this, 1), this.$destroy = I;
542
+ Qt(this, 1), this.$destroy = I;
543
543
  }
544
544
  /**
545
545
  * @template {Extract<keyof Events, string>} K
@@ -548,7 +548,7 @@ class Yt {
548
548
  * @returns {() => void}
549
549
  */
550
550
  $on(t, r) {
551
- if (!$e(r))
551
+ if (!Ue(r))
552
552
  return I;
553
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
554
554
  return n.push(r), () => {
@@ -561,63 +561,63 @@ class Yt {
561
561
  * @returns {void}
562
562
  */
563
563
  $set(t) {
564
- this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
564
+ this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
565
565
  }
566
566
  }
567
- const Kt = "4";
568
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
567
+ const er = "4";
568
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
569
569
  const D = [];
570
- function er(e, t) {
570
+ function tr(e, t) {
571
571
  return {
572
- subscribe: me(e, t).subscribe
572
+ subscribe: ge(e, t).subscribe
573
573
  };
574
574
  }
575
- function me(e, t = I) {
575
+ function ge(e, t = I) {
576
576
  let r;
577
577
  const n = /* @__PURE__ */ new Set();
578
- function i(o) {
579
- if (it(e, o) && (e = o, r)) {
578
+ function i(a) {
579
+ if (st(e, a) && (e = a, r)) {
580
580
  const l = !D.length;
581
- for (const a of n)
582
- a[1](), D.push(a, e);
581
+ for (const u of n)
582
+ u[1](), D.push(u, e);
583
583
  if (l) {
584
- for (let a = 0; a < D.length; a += 2)
585
- D[a][0](D[a + 1]);
584
+ for (let u = 0; u < D.length; u += 2)
585
+ D[u][0](D[u + 1]);
586
586
  D.length = 0;
587
587
  }
588
588
  }
589
589
  }
590
- function s(o) {
591
- i(o(e));
590
+ function s(a) {
591
+ i(a(e));
592
592
  }
593
- function u(o, l = I) {
594
- const a = [o, l];
595
- return n.add(a), n.size === 1 && (r = t(i, s) || I), o(e), () => {
596
- n.delete(a), n.size === 0 && r && (r(), r = null);
593
+ function o(a, l = I) {
594
+ const u = [a, l];
595
+ return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
596
+ n.delete(u), n.size === 0 && r && (r(), r = null);
597
597
  };
598
598
  }
599
- return { set: i, update: s, subscribe: u };
599
+ return { set: i, update: s, subscribe: o };
600
600
  }
601
- function z(e, t, r) {
601
+ function Z(e, t, r) {
602
602
  const n = !Array.isArray(e), i = n ? [e] : e;
603
603
  if (!i.every(Boolean))
604
604
  throw new Error("derived() expects stores as input, got a falsy value");
605
605
  const s = t.length < 2;
606
- return er(r, (u, o) => {
606
+ return tr(r, (o, a) => {
607
607
  let l = !1;
608
- const a = [];
608
+ const u = [];
609
609
  let h = 0, c = I;
610
610
  const f = () => {
611
611
  if (h)
612
612
  return;
613
613
  c();
614
- const y = t(n ? a[0] : a, u, o);
615
- s ? u(y) : c = $e(y) ? y : I;
614
+ const y = t(n ? u[0] : u, o, a);
615
+ s ? o(y) : c = Ue(y) ? y : I;
616
616
  }, b = i.map(
617
- (y, x) => st(
617
+ (y, x) => ot(
618
618
  y,
619
619
  (S) => {
620
- a[x] = S, h &= ~(1 << x), l && f();
620
+ u[x] = S, h &= ~(1 << x), l && f();
621
621
  },
622
622
  () => {
623
623
  h |= 1 << x;
@@ -625,96 +625,96 @@ function z(e, t, r) {
625
625
  )
626
626
  );
627
627
  return l = !0, f(), function() {
628
- W(b), c(), l = !1;
628
+ z(b), c(), l = !1;
629
629
  };
630
630
  });
631
631
  }
632
- function tr(e) {
632
+ function rr(e) {
633
633
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
634
634
  }
635
- var rr = function(t) {
636
- return nr(t) && !ir(t);
635
+ var nr = function(t) {
636
+ return ir(t) && !sr(t);
637
637
  };
638
- function nr(e) {
638
+ function ir(e) {
639
639
  return !!e && typeof e == "object";
640
640
  }
641
- function ir(e) {
641
+ function sr(e) {
642
642
  var t = Object.prototype.toString.call(e);
643
- return t === "[object RegExp]" || t === "[object Date]" || or(e);
643
+ return t === "[object RegExp]" || t === "[object Date]" || ur(e);
644
644
  }
645
- var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
646
- function or(e) {
645
+ var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
646
+ function ur(e) {
647
647
  return e.$$typeof === ar;
648
648
  }
649
- function ur(e) {
649
+ function hr(e) {
650
650
  return Array.isArray(e) ? [] : {};
651
651
  }
652
- function K(e, t) {
653
- return t.clone !== !1 && t.isMergeableObject(e) ? j(ur(e), e, t) : e;
652
+ function ee(e, t) {
653
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(hr(e), e, t) : e;
654
654
  }
655
- function hr(e, t, r) {
655
+ function lr(e, t, r) {
656
656
  return e.concat(t).map(function(n) {
657
- return K(n, r);
657
+ return ee(n, r);
658
658
  });
659
659
  }
660
- function lr(e, t) {
660
+ function fr(e, t) {
661
661
  if (!t.customMerge)
662
- return j;
662
+ return k;
663
663
  var r = t.customMerge(e);
664
- return typeof r == "function" ? r : j;
664
+ return typeof r == "function" ? r : k;
665
665
  }
666
- function fr(e) {
666
+ function cr(e) {
667
667
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
668
668
  return Object.propertyIsEnumerable.call(e, t);
669
669
  }) : [];
670
670
  }
671
- function ke(e) {
672
- return Object.keys(e).concat(fr(e));
671
+ function Ve(e) {
672
+ return Object.keys(e).concat(cr(e));
673
673
  }
674
- function ct(e, t) {
674
+ function mt(e, t) {
675
675
  try {
676
676
  return t in e;
677
677
  } catch {
678
678
  return !1;
679
679
  }
680
680
  }
681
- function cr(e, t) {
682
- return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
681
+ function mr(e, t) {
682
+ return mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
683
683
  }
684
- function mr(e, t, r) {
684
+ function gr(e, t, r) {
685
685
  var n = {};
686
- return r.isMergeableObject(e) && ke(e).forEach(function(i) {
687
- n[i] = K(e[i], r);
688
- }), ke(t).forEach(function(i) {
689
- cr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
686
+ return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
687
+ n[i] = ee(e[i], r);
688
+ }), Ve(t).forEach(function(i) {
689
+ mr(e, i) || (mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
690
690
  }), n;
691
691
  }
692
- function j(e, t, r) {
693
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = K;
692
+ function k(e, t, r) {
693
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = ee;
694
694
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
695
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : K(t, r);
695
+ return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : ee(t, r);
696
696
  }
697
- j.all = function(t, r) {
697
+ k.all = function(t, r) {
698
698
  if (!Array.isArray(t))
699
699
  throw new Error("first argument should be an array");
700
700
  return t.reduce(function(n, i) {
701
- return j(n, i, r);
701
+ return k(n, i, r);
702
702
  }, {});
703
703
  };
704
- var gr = j, dr = gr;
705
- const br = /* @__PURE__ */ tr(dr);
706
- var we = function(e, t) {
707
- return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
704
+ var dr = k, br = dr;
705
+ const pr = /* @__PURE__ */ rr(br);
706
+ var Pe = function(e, t) {
707
+ return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
708
708
  r.__proto__ = n;
709
709
  } || function(r, n) {
710
710
  for (var i in n)
711
711
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
712
- }, we(e, t);
712
+ }, Pe(e, t);
713
713
  };
714
- function ge(e, t) {
714
+ function de(e, t) {
715
715
  if (typeof t != "function" && t !== null)
716
716
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
717
- we(e, t);
717
+ Pe(e, t);
718
718
  function r() {
719
719
  this.constructor = e;
720
720
  }
@@ -730,7 +730,7 @@ var C = function() {
730
730
  return t;
731
731
  }, C.apply(this, arguments);
732
732
  };
733
- function pr(e, t) {
733
+ function yr(e, t) {
734
734
  var r = {};
735
735
  for (var n in e)
736
736
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -739,43 +739,43 @@ function pr(e, t) {
739
739
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
740
740
  return r;
741
741
  }
742
- function Ee(e, t, r) {
742
+ function _e(e, t, r) {
743
743
  if (r || arguments.length === 2)
744
744
  for (var n = 0, i = t.length, s; n < i; n++)
745
745
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
746
746
  return e.concat(s || Array.prototype.slice.call(t));
747
747
  }
748
748
  function ve(e, t) {
749
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : vr;
749
+ var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
750
750
  return i(e, {
751
751
  cache: r,
752
752
  serializer: n
753
753
  });
754
754
  }
755
- function yr(e) {
755
+ function Er(e) {
756
756
  return e == null || typeof e == "number" || typeof e == "boolean";
757
757
  }
758
- function Er(e, t, r, n) {
759
- var i = yr(n) ? n : r(n), s = t.get(i);
758
+ function _r(e, t, r, n) {
759
+ var i = Er(n) ? n : r(n), s = t.get(i);
760
760
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
761
761
  }
762
- function mt(e, t, r) {
762
+ function gt(e, t, r) {
763
763
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
764
764
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
765
765
  }
766
- function gt(e, t, r, n, i) {
766
+ function dt(e, t, r, n, i) {
767
767
  return r.bind(t, e, n, i);
768
768
  }
769
769
  function vr(e, t) {
770
- var r = e.length === 1 ? Er : mt;
771
- return gt(e, this, r, t.cache.create(), t.serializer);
770
+ var r = e.length === 1 ? _r : gt;
771
+ return dt(e, this, r, t.cache.create(), t.serializer);
772
772
  }
773
- function _r(e, t) {
774
- return gt(e, this, mt, t.cache.create(), t.serializer);
773
+ function xr(e, t) {
774
+ return dt(e, this, gt, t.cache.create(), t.serializer);
775
775
  }
776
- var xr = function() {
776
+ var Hr = function() {
777
777
  return JSON.stringify(arguments);
778
- }, Hr = (
778
+ }, Sr = (
779
779
  /** @class */
780
780
  function() {
781
781
  function e() {
@@ -789,69 +789,69 @@ var xr = function() {
789
789
  }()
790
790
  ), Tr = {
791
791
  create: function() {
792
- return new Hr();
792
+ return new Sr();
793
793
  }
794
- }, _e = {
795
- variadic: _r
796
- }, he = function() {
797
- return he = Object.assign || function(t) {
794
+ }, xe = {
795
+ variadic: xr
796
+ }, le = function() {
797
+ return le = Object.assign || function(t) {
798
798
  for (var r, n = 1, i = arguments.length; n < i; n++) {
799
799
  r = arguments[n];
800
800
  for (var s in r)
801
801
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
802
802
  }
803
803
  return t;
804
- }, he.apply(this, arguments);
804
+ }, le.apply(this, arguments);
805
805
  };
806
806
  var d;
807
807
  (function(e) {
808
808
  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";
809
809
  })(d || (d = {}));
810
- var E;
810
+ var _;
811
811
  (function(e) {
812
812
  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";
813
- })(E || (E = {}));
814
- var k;
813
+ })(_ || (_ = {}));
814
+ var V;
815
815
  (function(e) {
816
816
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
817
- })(k || (k = {}));
818
- function Ve(e) {
819
- return e.type === E.literal;
820
- }
821
- function Sr(e) {
822
- return e.type === E.argument;
817
+ })(V || (V = {}));
818
+ function Xe(e) {
819
+ return e.type === _.literal;
823
820
  }
824
- function dt(e) {
825
- return e.type === E.number;
821
+ function Ar(e) {
822
+ return e.type === _.argument;
826
823
  }
827
824
  function bt(e) {
828
- return e.type === E.date;
825
+ return e.type === _.number;
829
826
  }
830
827
  function pt(e) {
831
- return e.type === E.time;
828
+ return e.type === _.date;
832
829
  }
833
830
  function yt(e) {
834
- return e.type === E.select;
831
+ return e.type === _.time;
835
832
  }
836
833
  function Et(e) {
837
- return e.type === E.plural;
834
+ return e.type === _.select;
835
+ }
836
+ function _t(e) {
837
+ return e.type === _.plural;
838
838
  }
839
839
  function Br(e) {
840
- return e.type === E.pound;
840
+ return e.type === _.pound;
841
841
  }
842
842
  function vt(e) {
843
- return e.type === E.tag;
843
+ return e.type === _.tag;
844
844
  }
845
- function _t(e) {
846
- return !!(e && typeof e == "object" && e.type === k.number);
845
+ function xt(e) {
846
+ return !!(e && typeof e == "object" && e.type === V.number);
847
847
  }
848
- function Pe(e) {
849
- return !!(e && typeof e == "object" && e.type === k.dateTime);
848
+ function Oe(e) {
849
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
850
850
  }
851
- var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
852
- function wr(e) {
851
+ var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wr = /(?:[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;
852
+ function Pr(e) {
853
853
  var t = {};
854
- return e.replace(Ar, function(r) {
854
+ return e.replace(wr, function(r) {
855
855
  var n = r.length;
856
856
  switch (r[0]) {
857
857
  case "G":
@@ -940,46 +940,46 @@ function wr(e) {
940
940
  return "";
941
941
  }), t;
942
942
  }
943
- var _ = function() {
944
- return _ = Object.assign || function(t) {
943
+ var v = function() {
944
+ return v = Object.assign || function(t) {
945
945
  for (var r, n = 1, i = arguments.length; n < i; n++) {
946
946
  r = arguments[n];
947
947
  for (var s in r)
948
948
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
949
949
  }
950
950
  return t;
951
- }, _.apply(this, arguments);
951
+ }, v.apply(this, arguments);
952
952
  };
953
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
953
+ var Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
954
954
  function Nr(e) {
955
955
  if (e.length === 0)
956
956
  throw new Error("Number skeleton cannot be empty");
957
- for (var t = e.split(Pr).filter(function(f) {
957
+ for (var t = e.split(Or).filter(function(f) {
958
958
  return f.length > 0;
959
959
  }), r = [], n = 0, i = t; n < i.length; n++) {
960
- var s = i[n], u = s.split("/");
961
- if (u.length === 0)
960
+ var s = i[n], o = s.split("/");
961
+ if (o.length === 0)
962
962
  throw new Error("Invalid number skeleton");
963
- for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
964
- var c = h[a];
963
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
964
+ var c = h[u];
965
965
  if (c.length === 0)
966
966
  throw new Error("Invalid number skeleton");
967
967
  }
968
- r.push({ stem: o, options: l });
968
+ r.push({ stem: a, options: l });
969
969
  }
970
970
  return r;
971
971
  }
972
- function Or(e) {
972
+ function Ir(e) {
973
973
  return e.replace(/^(.*?)-/, "");
974
974
  }
975
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
976
- function We(e) {
975
+ var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
976
+ function ze(e) {
977
977
  var t = {};
978
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
978
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(St, function(r, n, i) {
979
979
  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)), "";
980
980
  }), t;
981
981
  }
982
- function St(e) {
982
+ function At(e) {
983
983
  switch (e) {
984
984
  case "sign-auto":
985
985
  return {
@@ -1019,7 +1019,7 @@ function St(e) {
1019
1019
  };
1020
1020
  }
1021
1021
  }
1022
- function Lr(e) {
1022
+ function Cr(e) {
1023
1023
  var t;
1024
1024
  if (e[0] === "E" && e[1] === "E" ? (t = {
1025
1025
  notation: "engineering"
@@ -1033,11 +1033,11 @@ function Lr(e) {
1033
1033
  }
1034
1034
  return t;
1035
1035
  }
1036
- function ze(e) {
1037
- var t = {}, r = St(e);
1036
+ function Ze(e) {
1037
+ var t = {}, r = At(e);
1038
1038
  return r || t;
1039
1039
  }
1040
- function Cr(e) {
1040
+ function Mr(e) {
1041
1041
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1042
1042
  var i = n[r];
1043
1043
  switch (i.stem) {
@@ -1061,7 +1061,7 @@ function Cr(e) {
1061
1061
  continue;
1062
1062
  case "measure-unit":
1063
1063
  case "unit":
1064
- t.style = "unit", t.unit = Or(i.options[0]);
1064
+ t.style = "unit", t.unit = Ir(i.options[0]);
1065
1065
  continue;
1066
1066
  case "compact-short":
1067
1067
  case "K":
@@ -1072,13 +1072,13 @@ function Cr(e) {
1072
1072
  t.notation = "compact", t.compactDisplay = "long";
1073
1073
  continue;
1074
1074
  case "scientific":
1075
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1076
- return _(_({}, l), ze(a));
1075
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1076
+ return v(v({}, l), Ze(u));
1077
1077
  }, {}));
1078
1078
  continue;
1079
1079
  case "engineering":
1080
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1081
- return _(_({}, l), ze(a));
1080
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1081
+ return v(v({}, l), Ze(u));
1082
1082
  }, {}));
1083
1083
  continue;
1084
1084
  case "notation-simple":
@@ -1123,8 +1123,8 @@ function Cr(e) {
1123
1123
  case "integer-width":
1124
1124
  if (i.options.length > 1)
1125
1125
  throw new RangeError("integer-width stems only accept a single optional option");
1126
- i.options[0].replace(Ir, function(l, a, h, c, f, b) {
1127
- if (a)
1126
+ i.options[0].replace(Lr, function(l, u, h, c, f, b) {
1127
+ if (u)
1128
1128
  t.minimumIntegerDigits = h.length;
1129
1129
  else {
1130
1130
  if (c && f)
@@ -1140,28 +1140,28 @@ function Cr(e) {
1140
1140
  t.minimumIntegerDigits = i.stem.length;
1141
1141
  continue;
1142
1142
  }
1143
- if (Xe.test(i.stem)) {
1143
+ if (We.test(i.stem)) {
1144
1144
  if (i.options.length > 1)
1145
1145
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1146
- i.stem.replace(Xe, function(l, a, h, c, f, b) {
1147
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1146
+ i.stem.replace(We, function(l, u, h, c, f, b) {
1147
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1148
1148
  });
1149
1149
  var s = i.options[0];
1150
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), We(s)));
1150
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ze(s)));
1151
1151
  continue;
1152
1152
  }
1153
- if (Ht.test(i.stem)) {
1154
- t = _(_({}, t), We(i.stem));
1153
+ if (St.test(i.stem)) {
1154
+ t = v(v({}, t), ze(i.stem));
1155
1155
  continue;
1156
1156
  }
1157
- var u = St(i.stem);
1158
- u && (t = _(_({}, t), u));
1159
- var o = Lr(i.stem);
1160
- o && (t = _(_({}, t), o));
1157
+ var o = At(i.stem);
1158
+ o && (t = v(v({}, t), o));
1159
+ var a = Cr(i.stem);
1160
+ a && (t = v(v({}, t), a));
1161
1161
  }
1162
1162
  return t;
1163
1163
  }
1164
- var se = {
1164
+ var oe = {
1165
1165
  "001": [
1166
1166
  "H",
1167
1167
  "h"
@@ -2576,23 +2576,23 @@ var se = {
2576
2576
  "h"
2577
2577
  ]
2578
2578
  };
2579
- function Mr(e, t) {
2579
+ function Rr(e, t) {
2580
2580
  for (var r = "", n = 0; n < e.length; n++) {
2581
2581
  var i = e.charAt(n);
2582
2582
  if (i === "j") {
2583
2583
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2584
2584
  s++, n++;
2585
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Rr(t);
2586
- for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2585
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $r(t);
2586
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2587
2587
  r += l;
2588
- for (; u-- > 0; )
2589
- r = a + r;
2588
+ for (; o-- > 0; )
2589
+ r = u + r;
2590
2590
  } else
2591
2591
  i === "J" ? r += "H" : r += i;
2592
2592
  }
2593
2593
  return r;
2594
2594
  }
2595
- function Rr(e) {
2595
+ function $r(e) {
2596
2596
  var t = e.hourCycle;
2597
2597
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2598
2598
  e.hourCycles && // @ts-ignore
@@ -2611,23 +2611,23 @@ function Rr(e) {
2611
2611
  }
2612
2612
  var r = e.language, n;
2613
2613
  r !== "root" && (n = e.maximize().region);
2614
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2614
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2615
2615
  return i[0];
2616
2616
  }
2617
- var xe, $r = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
2617
+ var He, Ur = new RegExp("^".concat(Ht.source, "*")), Dr = new RegExp("".concat(Ht.source, "*$"));
2618
2618
  function p(e, t) {
2619
2619
  return { start: e, end: t };
2620
2620
  }
2621
- var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, Wr = Xr ? Number.isSafeInteger : function(e) {
2621
+ var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, zr = Wr ? Number.isSafeInteger : function(e) {
2622
2622
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2623
2623
  }, Ne = !0;
2624
2624
  try {
2625
- var zr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- Ne = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2625
+ var Zr = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
+ Ne = ((He = Zr.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2627
2627
  } catch {
2628
2628
  Ne = !1;
2629
2629
  }
2630
- var Ze = Dr ? (
2630
+ var Qe = Gr ? (
2631
2631
  // Native
2632
2632
  function(t, r, n) {
2633
2633
  return t.startsWith(r, n);
@@ -2637,31 +2637,31 @@ var Ze = Dr ? (
2637
2637
  function(t, r, n) {
2638
2638
  return t.slice(n, n + r.length) === r;
2639
2639
  }
2640
- ), Oe = Gr ? String.fromCodePoint : (
2640
+ ), Ie = Fr ? String.fromCodePoint : (
2641
2641
  // IE11
2642
2642
  function() {
2643
2643
  for (var t = [], r = 0; r < arguments.length; r++)
2644
2644
  t[r] = arguments[r];
2645
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2646
- if (u = t[s++], u > 1114111)
2647
- throw RangeError(u + " is not a valid code point");
2648
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2645
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2646
+ if (o = t[s++], o > 1114111)
2647
+ throw RangeError(o + " is not a valid code point");
2648
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2649
2649
  }
2650
2650
  return n;
2651
2651
  }
2652
- ), Qe = (
2652
+ ), qe = (
2653
2653
  // native
2654
- Fr ? Object.fromEntries : (
2654
+ jr ? Object.fromEntries : (
2655
2655
  // Ponyfill
2656
2656
  function(t) {
2657
2657
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2658
- var s = i[n], u = s[0], o = s[1];
2659
- r[u] = o;
2658
+ var s = i[n], o = s[0], a = s[1];
2659
+ r[o] = a;
2660
2660
  }
2661
2661
  return r;
2662
2662
  }
2663
2663
  )
2664
- ), Bt = jr ? (
2664
+ ), Bt = kr ? (
2665
2665
  // Native
2666
2666
  function(t, r) {
2667
2667
  return t.codePointAt(r);
@@ -2675,7 +2675,7 @@ var Ze = Dr ? (
2675
2675
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2676
2676
  }
2677
2677
  }
2678
- ), Zr = kr ? (
2678
+ ), Qr = Vr ? (
2679
2679
  // Native
2680
2680
  function(t) {
2681
2681
  return t.trimStart();
@@ -2683,9 +2683,9 @@ var Ze = Dr ? (
2683
2683
  ) : (
2684
2684
  // Ponyfill
2685
2685
  function(t) {
2686
- return t.replace($r, "");
2686
+ return t.replace(Ur, "");
2687
2687
  }
2688
- ), Qr = Vr ? (
2688
+ ), qr = Xr ? (
2689
2689
  // Native
2690
2690
  function(t) {
2691
2691
  return t.trimEnd();
@@ -2693,32 +2693,32 @@ var Ze = Dr ? (
2693
2693
  ) : (
2694
2694
  // Ponyfill
2695
2695
  function(t) {
2696
- return t.replace(Ur, "");
2696
+ return t.replace(Dr, "");
2697
2697
  }
2698
2698
  );
2699
- function At(e, t) {
2699
+ function wt(e, t) {
2700
2700
  return new RegExp(e, t);
2701
2701
  }
2702
- var Ie;
2702
+ var Le;
2703
2703
  if (Ne) {
2704
- var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2705
- Ie = function(t, r) {
2704
+ var Je = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2705
+ Le = function(t, r) {
2706
2706
  var n;
2707
- qe.lastIndex = r;
2708
- var i = qe.exec(t);
2707
+ Je.lastIndex = r;
2708
+ var i = Je.exec(t);
2709
2709
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2710
2710
  };
2711
2711
  } else
2712
- Ie = function(t, r) {
2712
+ Le = function(t, r) {
2713
2713
  for (var n = []; ; ) {
2714
2714
  var i = Bt(t, r);
2715
- if (i === void 0 || wt(i) || Kr(i))
2715
+ if (i === void 0 || Pt(i) || en(i))
2716
2716
  break;
2717
2717
  n.push(i), r += i >= 65536 ? 2 : 1;
2718
2718
  }
2719
- return Oe.apply(void 0, n);
2719
+ return Ie.apply(void 0, n);
2720
2720
  };
2721
- var qr = (
2721
+ var Jr = (
2722
2722
  /** @class */
2723
2723
  function() {
2724
2724
  function e(t, r) {
@@ -2732,33 +2732,33 @@ var qr = (
2732
2732
  for (var i = []; !this.isEOF(); ) {
2733
2733
  var s = this.char();
2734
2734
  if (s === 123) {
2735
- var u = this.parseArgument(t, n);
2736
- if (u.err)
2737
- return u;
2738
- i.push(u.val);
2735
+ var o = this.parseArgument(t, n);
2736
+ if (o.err)
2737
+ return o;
2738
+ i.push(o.val);
2739
2739
  } else {
2740
2740
  if (s === 125 && t > 0)
2741
2741
  break;
2742
2742
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2743
- var o = this.clonePosition();
2743
+ var a = this.clonePosition();
2744
2744
  this.bump(), i.push({
2745
- type: E.pound,
2746
- location: p(o, this.clonePosition())
2745
+ type: _.pound,
2746
+ location: p(a, this.clonePosition())
2747
2747
  });
2748
2748
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2749
2749
  if (n)
2750
2750
  break;
2751
2751
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2752
- } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2753
- var u = this.parseTag(t, r);
2754
- if (u.err)
2755
- return u;
2756
- i.push(u.val);
2752
+ } else if (s === 60 && !this.ignoreTag && Ce(this.peek() || 0)) {
2753
+ var o = this.parseTag(t, r);
2754
+ if (o.err)
2755
+ return o;
2756
+ i.push(o.val);
2757
2757
  } else {
2758
- var u = this.parseLiteral(t, r);
2759
- if (u.err)
2760
- return u;
2761
- i.push(u.val);
2758
+ var o = this.parseLiteral(t, r);
2759
+ if (o.err)
2760
+ return o;
2761
+ i.push(o.val);
2762
2762
  }
2763
2763
  }
2764
2764
  }
@@ -2770,7 +2770,7 @@ var qr = (
2770
2770
  if (this.bumpSpace(), this.bumpIf("/>"))
2771
2771
  return {
2772
2772
  val: {
2773
- type: E.literal,
2773
+ type: _.literal,
2774
2774
  value: "<".concat(i, "/>"),
2775
2775
  location: p(n, this.clonePosition())
2776
2776
  },
@@ -2780,27 +2780,27 @@ var qr = (
2780
2780
  var s = this.parseMessage(t + 1, r, !0);
2781
2781
  if (s.err)
2782
2782
  return s;
2783
- var u = s.val, o = this.clonePosition();
2783
+ var o = s.val, a = this.clonePosition();
2784
2784
  if (this.bumpIf("</")) {
2785
- if (this.isEOF() || !Le(this.char()))
2786
- return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
2787
- var l = this.clonePosition(), a = this.parseTagName();
2788
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2785
+ if (this.isEOF() || !Ce(this.char()))
2786
+ return this.error(d.INVALID_TAG, p(a, this.clonePosition()));
2787
+ var l = this.clonePosition(), u = this.parseTagName();
2788
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2789
2789
  val: {
2790
- type: E.tag,
2790
+ type: _.tag,
2791
2791
  value: i,
2792
- children: u,
2792
+ children: o,
2793
2793
  location: p(n, this.clonePosition())
2794
2794
  },
2795
2795
  err: null
2796
- } : this.error(d.INVALID_TAG, p(o, this.clonePosition())));
2796
+ } : this.error(d.INVALID_TAG, p(a, this.clonePosition())));
2797
2797
  } else
2798
2798
  return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
2799
2799
  } else
2800
2800
  return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2801
2801
  }, e.prototype.parseTagName = function() {
2802
2802
  var t = this.offset();
2803
- for (this.bump(); !this.isEOF() && Yr(this.char()); )
2803
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2804
2804
  this.bump();
2805
2805
  return this.message.slice(t, this.offset());
2806
2806
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2810,26 +2810,26 @@ var qr = (
2810
2810
  i += s;
2811
2811
  continue;
2812
2812
  }
2813
- var u = this.tryParseUnquoted(t, r);
2814
- if (u) {
2815
- i += u;
2816
- continue;
2817
- }
2818
- var o = this.tryParseLeftAngleBracket();
2813
+ var o = this.tryParseUnquoted(t, r);
2819
2814
  if (o) {
2820
2815
  i += o;
2821
2816
  continue;
2822
2817
  }
2818
+ var a = this.tryParseLeftAngleBracket();
2819
+ if (a) {
2820
+ i += a;
2821
+ continue;
2822
+ }
2823
2823
  break;
2824
2824
  }
2825
2825
  var l = p(n, this.clonePosition());
2826
2826
  return {
2827
- val: { type: E.literal, value: i, location: l },
2827
+ val: { type: _.literal, value: i, location: l },
2828
2828
  err: null
2829
2829
  };
2830
2830
  }, e.prototype.tryParseLeftAngleBracket = function() {
2831
2831
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2832
- !Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
2832
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2833
2833
  }, e.prototype.tryParseQuote = function(t) {
2834
2834
  if (this.isEOF() || this.char() !== 39)
2835
2835
  return null;
@@ -2863,12 +2863,12 @@ var qr = (
2863
2863
  r.push(n);
2864
2864
  this.bump();
2865
2865
  }
2866
- return Oe.apply(void 0, r);
2866
+ return Ie.apply(void 0, r);
2867
2867
  }, e.prototype.tryParseUnquoted = function(t, r) {
2868
2868
  if (this.isEOF())
2869
2869
  return null;
2870
2870
  var n = this.char();
2871
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2871
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2872
2872
  }, e.prototype.parseArgument = function(t, r) {
2873
2873
  var n = this.clonePosition();
2874
2874
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2884,7 +2884,7 @@ var qr = (
2884
2884
  case 125:
2885
2885
  return this.bump(), {
2886
2886
  val: {
2887
- type: E.argument,
2887
+ type: _.argument,
2888
2888
  // value does not include the opening and closing braces.
2889
2889
  value: i,
2890
2890
  location: p(n, this.clonePosition())
@@ -2897,66 +2897,66 @@ var qr = (
2897
2897
  return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2898
2898
  }
2899
2899
  }, e.prototype.parseIdentifierIfPossible = function() {
2900
- var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2900
+ var t = this.clonePosition(), r = this.offset(), n = Le(this.message, r), i = r + n.length;
2901
2901
  this.bumpTo(i);
2902
- var s = this.clonePosition(), u = p(t, s);
2903
- return { value: n, location: u };
2902
+ var s = this.clonePosition(), o = p(t, s);
2903
+ return { value: n, location: o };
2904
2904
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2905
- var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2906
- switch (o) {
2905
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2906
+ switch (a) {
2907
2907
  case "":
2908
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(u, l));
2908
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
2909
2909
  case "number":
2910
2910
  case "date":
2911
2911
  case "time": {
2912
2912
  this.bumpSpace();
2913
- var a = null;
2913
+ var u = null;
2914
2914
  if (this.bumpIf(",")) {
2915
2915
  this.bumpSpace();
2916
2916
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2917
2917
  if (c.err)
2918
2918
  return c;
2919
- var f = Qr(c.val);
2919
+ var f = qr(c.val);
2920
2920
  if (f.length === 0)
2921
2921
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2922
2922
  var b = p(h, this.clonePosition());
2923
- a = { style: f, styleLocation: b };
2923
+ u = { style: f, styleLocation: b };
2924
2924
  }
2925
2925
  var y = this.tryParseArgumentClose(i);
2926
2926
  if (y.err)
2927
2927
  return y;
2928
2928
  var x = p(i, this.clonePosition());
2929
- if (a && Ze(a?.style, "::", 0)) {
2930
- var S = Zr(a.style.slice(2));
2931
- if (o === "number") {
2932
- var c = this.parseNumberSkeletonFromString(S, a.styleLocation);
2929
+ if (u && Qe(u?.style, "::", 0)) {
2930
+ var S = Qr(u.style.slice(2));
2931
+ if (a === "number") {
2932
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
2933
2933
  return c.err ? c : {
2934
- val: { type: E.number, value: n, location: x, style: c.val },
2934
+ val: { type: _.number, value: n, location: x, style: c.val },
2935
2935
  err: null
2936
2936
  };
2937
2937
  } else {
2938
2938
  if (S.length === 0)
2939
2939
  return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
2940
- var N = S;
2941
- this.locale && (N = Mr(S, this.locale));
2940
+ var P = S;
2941
+ this.locale && (P = Rr(S, this.locale));
2942
2942
  var f = {
2943
- type: k.dateTime,
2944
- pattern: N,
2945
- location: a.styleLocation,
2946
- parsedOptions: this.shouldParseSkeletons ? wr(N) : {}
2947
- }, P = o === "date" ? E.date : E.time;
2943
+ type: V.dateTime,
2944
+ pattern: P,
2945
+ location: u.styleLocation,
2946
+ parsedOptions: this.shouldParseSkeletons ? Pr(P) : {}
2947
+ }, w = a === "date" ? _.date : _.time;
2948
2948
  return {
2949
- val: { type: P, value: n, location: x, style: f },
2949
+ val: { type: w, value: n, location: x, style: f },
2950
2950
  err: null
2951
2951
  };
2952
2952
  }
2953
2953
  }
2954
2954
  return {
2955
2955
  val: {
2956
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2956
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
2957
2957
  value: n,
2958
2958
  location: x,
2959
- style: (s = a?.style) !== null && s !== void 0 ? s : null
2959
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2960
2960
  },
2961
2961
  err: null
2962
2962
  };
@@ -2964,49 +2964,49 @@ var qr = (
2964
2964
  case "plural":
2965
2965
  case "selectordinal":
2966
2966
  case "select": {
2967
- var B = this.clonePosition();
2967
+ var T = this.clonePosition();
2968
2968
  if (this.bumpSpace(), !this.bumpIf(","))
2969
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, he({}, B)));
2969
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(T, le({}, T)));
2970
2970
  this.bumpSpace();
2971
- var O = this.parseIdentifierIfPossible(), w = 0;
2972
- if (o !== "select" && O.value === "offset") {
2971
+ var N = this.parseIdentifierIfPossible(), B = 0;
2972
+ if (a !== "select" && N.value === "offset") {
2973
2973
  if (!this.bumpIf(":"))
2974
2974
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2975
2975
  this.bumpSpace();
2976
2976
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2977
2977
  if (c.err)
2978
2978
  return c;
2979
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
2979
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), B = c.val;
2980
2980
  }
2981
- var T = this.tryParsePluralOrSelectOptions(t, o, r, O);
2982
- if (T.err)
2983
- return T;
2981
+ var L = this.tryParsePluralOrSelectOptions(t, a, r, N);
2982
+ if (L.err)
2983
+ return L;
2984
2984
  var y = this.tryParseArgumentClose(i);
2985
2985
  if (y.err)
2986
2986
  return y;
2987
- var v = p(i, this.clonePosition());
2988
- return o === "select" ? {
2987
+ var E = p(i, this.clonePosition());
2988
+ return a === "select" ? {
2989
2989
  val: {
2990
- type: E.select,
2990
+ type: _.select,
2991
2991
  value: n,
2992
- options: Qe(T.val),
2993
- location: v
2992
+ options: qe(L.val),
2993
+ location: E
2994
2994
  },
2995
2995
  err: null
2996
2996
  } : {
2997
2997
  val: {
2998
- type: E.plural,
2998
+ type: _.plural,
2999
2999
  value: n,
3000
- options: Qe(T.val),
3001
- offset: w,
3002
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3003
- location: v
3000
+ options: qe(L.val),
3001
+ offset: B,
3002
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3003
+ location: E
3004
3004
  },
3005
3005
  err: null
3006
3006
  };
3007
3007
  }
3008
3008
  default:
3009
- return this.error(d.INVALID_ARGUMENT_TYPE, p(u, l));
3009
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
3010
3010
  }
3011
3011
  }, e.prototype.tryParseArgumentClose = function(t) {
3012
3012
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3054,28 +3054,28 @@ var qr = (
3054
3054
  }
3055
3055
  return {
3056
3056
  val: {
3057
- type: k.number,
3057
+ type: V.number,
3058
3058
  tokens: n,
3059
3059
  location: r,
3060
- parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
3060
+ parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
3061
3061
  },
3062
3062
  err: null
3063
3063
  };
3064
3064
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3065
- for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3066
- if (a.length === 0) {
3065
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3066
+ if (u.length === 0) {
3067
3067
  var c = this.clonePosition();
3068
3068
  if (r !== "select" && this.bumpIf("=")) {
3069
3069
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3070
3070
  if (f.err)
3071
3071
  return f;
3072
- h = p(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
3072
+ h = p(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3073
3073
  } else
3074
3074
  break;
3075
3075
  }
3076
- if (l.has(a))
3076
+ if (l.has(u))
3077
3077
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3078
- a === "other" && (u = !0), this.bumpSpace();
3078
+ u === "other" && (o = !0), this.bumpSpace();
3079
3079
  var b = this.clonePosition();
3080
3080
  if (!this.bumpIf("{"))
3081
3081
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
@@ -3085,27 +3085,27 @@ var qr = (
3085
3085
  var x = this.tryParseArgumentClose(b);
3086
3086
  if (x.err)
3087
3087
  return x;
3088
- o.push([
3089
- a,
3088
+ a.push([
3089
+ u,
3090
3090
  {
3091
3091
  value: y.val,
3092
3092
  location: p(b, this.clonePosition())
3093
3093
  }
3094
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3094
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3095
3095
  }
3096
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3096
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3097
3097
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3098
3098
  var n = 1, i = this.clonePosition();
3099
3099
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3100
- for (var s = !1, u = 0; !this.isEOF(); ) {
3101
- var o = this.char();
3102
- if (o >= 48 && o <= 57)
3103
- s = !0, u = u * 10 + (o - 48), this.bump();
3100
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3101
+ var a = this.char();
3102
+ if (a >= 48 && a <= 57)
3103
+ s = !0, o = o * 10 + (a - 48), this.bump();
3104
3104
  else
3105
3105
  break;
3106
3106
  }
3107
3107
  var l = p(i, this.clonePosition());
3108
- return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3108
+ return s ? (o *= n, zr(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3109
3109
  }, e.prototype.offset = function() {
3110
3110
  return this.position.offset;
3111
3111
  }, e.prototype.isEOF = function() {
@@ -3139,7 +3139,7 @@ var qr = (
3139
3139
  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);
3140
3140
  }
3141
3141
  }, e.prototype.bumpIf = function(t) {
3142
- if (Ze(this.message, t, this.offset())) {
3142
+ if (Qe(this.message, t, this.offset())) {
3143
3143
  for (var r = 0; r < t.length; r++)
3144
3144
  this.bump();
3145
3145
  return !0;
@@ -3161,7 +3161,7 @@ var qr = (
3161
3161
  break;
3162
3162
  }
3163
3163
  }, e.prototype.bumpSpace = function() {
3164
- for (; !this.isEOF() && wt(this.char()); )
3164
+ for (; !this.isEOF() && Pt(this.char()); )
3165
3165
  this.bump();
3166
3166
  }, e.prototype.peek = function() {
3167
3167
  if (this.isEOF())
@@ -3171,47 +3171,47 @@ var qr = (
3171
3171
  }, e;
3172
3172
  }()
3173
3173
  );
3174
- function Le(e) {
3174
+ function Ce(e) {
3175
3175
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3176
3176
  }
3177
- function Jr(e) {
3178
- return Le(e) || e === 47;
3179
- }
3180
3177
  function Yr(e) {
3178
+ return Ce(e) || e === 47;
3179
+ }
3180
+ function Kr(e) {
3181
3181
  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;
3182
3182
  }
3183
- function wt(e) {
3183
+ function Pt(e) {
3184
3184
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3185
3185
  }
3186
- function Kr(e) {
3186
+ function en(e) {
3187
3187
  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;
3188
3188
  }
3189
- function Ce(e) {
3189
+ function Me(e) {
3190
3190
  e.forEach(function(t) {
3191
- if (delete t.location, yt(t) || Et(t))
3191
+ if (delete t.location, Et(t) || _t(t))
3192
3192
  for (var r in t.options)
3193
- delete t.options[r].location, Ce(t.options[r].value);
3193
+ delete t.options[r].location, Me(t.options[r].value);
3194
3194
  else
3195
- dt(t) && _t(t.style) || (bt(t) || pt(t)) && Pe(t.style) ? delete t.style.location : vt(t) && Ce(t.children);
3195
+ bt(t) && xt(t.style) || (pt(t) || yt(t)) && Oe(t.style) ? delete t.style.location : vt(t) && Me(t.children);
3196
3196
  });
3197
3197
  }
3198
- function en(e, t) {
3199
- t === void 0 && (t = {}), t = he({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3200
- var r = new qr(e, t).parse();
3198
+ function tn(e, t) {
3199
+ t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3200
+ var r = new Jr(e, t).parse();
3201
3201
  if (r.err) {
3202
3202
  var n = SyntaxError(d[r.err.kind]);
3203
3203
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3204
3204
  }
3205
- return t?.captureLocation || Ce(r.val), r.val;
3205
+ return t?.captureLocation || Me(r.val), r.val;
3206
3206
  }
3207
- var V;
3207
+ var X;
3208
3208
  (function(e) {
3209
3209
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3210
- })(V || (V = {}));
3211
- var de = (
3210
+ })(X || (X = {}));
3211
+ var be = (
3212
3212
  /** @class */
3213
3213
  function(e) {
3214
- ge(t, e);
3214
+ de(t, e);
3215
3215
  function t(r, n, i) {
3216
3216
  var s = e.call(this, r) || this;
3217
3217
  return s.code = n, s.originalMessage = i, s;
@@ -3220,65 +3220,65 @@ var de = (
3220
3220
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3221
3221
  }, t;
3222
3222
  }(Error)
3223
- ), Je = (
3223
+ ), Ye = (
3224
3224
  /** @class */
3225
3225
  function(e) {
3226
- ge(t, e);
3226
+ de(t, e);
3227
3227
  function t(r, n, i, s) {
3228
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3228
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3229
3229
  }
3230
3230
  return t;
3231
- }(de)
3232
- ), tn = (
3231
+ }(be)
3232
+ ), rn = (
3233
3233
  /** @class */
3234
3234
  function(e) {
3235
- ge(t, e);
3235
+ de(t, e);
3236
3236
  function t(r, n, i) {
3237
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3237
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3238
3238
  }
3239
3239
  return t;
3240
- }(de)
3241
- ), rn = (
3240
+ }(be)
3241
+ ), nn = (
3242
3242
  /** @class */
3243
3243
  function(e) {
3244
- ge(t, e);
3244
+ de(t, e);
3245
3245
  function t(r, n) {
3246
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3246
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3247
3247
  }
3248
3248
  return t;
3249
- }(de)
3249
+ }(be)
3250
3250
  ), A;
3251
3251
  (function(e) {
3252
3252
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3253
3253
  })(A || (A = {}));
3254
- function nn(e) {
3254
+ function sn(e) {
3255
3255
  return e.length < 2 ? e : e.reduce(function(t, r) {
3256
3256
  var n = t[t.length - 1];
3257
3257
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3258
3258
  }, []);
3259
3259
  }
3260
- function sn(e) {
3260
+ function on(e) {
3261
3261
  return typeof e == "function";
3262
3262
  }
3263
- function oe(e, t, r, n, i, s, u) {
3264
- if (e.length === 1 && Ve(e[0]))
3263
+ function ue(e, t, r, n, i, s, o) {
3264
+ if (e.length === 1 && Xe(e[0]))
3265
3265
  return [
3266
3266
  {
3267
3267
  type: A.literal,
3268
3268
  value: e[0].value
3269
3269
  }
3270
3270
  ];
3271
- for (var o = [], l = 0, a = e; l < a.length; l++) {
3272
- var h = a[l];
3273
- if (Ve(h)) {
3274
- o.push({
3271
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3272
+ var h = u[l];
3273
+ if (Xe(h)) {
3274
+ a.push({
3275
3275
  type: A.literal,
3276
3276
  value: h.value
3277
3277
  });
3278
3278
  continue;
3279
3279
  }
3280
3280
  if (Br(h)) {
3281
- typeof s == "number" && o.push({
3281
+ typeof s == "number" && a.push({
3282
3282
  type: A.literal,
3283
3283
  value: r.getNumberFormat(t).format(s)
3284
3284
  });
@@ -3286,34 +3286,34 @@ function oe(e, t, r, n, i, s, u) {
3286
3286
  }
3287
3287
  var c = h.value;
3288
3288
  if (!(i && c in i))
3289
- throw new rn(c, u);
3289
+ throw new nn(c, o);
3290
3290
  var f = i[c];
3291
- if (Sr(h)) {
3292
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3291
+ if (Ar(h)) {
3292
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3293
3293
  type: typeof f == "string" ? A.literal : A.object,
3294
3294
  value: f
3295
3295
  });
3296
3296
  continue;
3297
3297
  }
3298
- if (bt(h)) {
3299
- var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3300
- o.push({
3298
+ if (pt(h)) {
3299
+ var b = typeof h.style == "string" ? n.date[h.style] : Oe(h.style) ? h.style.parsedOptions : void 0;
3300
+ a.push({
3301
3301
  type: A.literal,
3302
3302
  value: r.getDateTimeFormat(t, b).format(f)
3303
3303
  });
3304
3304
  continue;
3305
3305
  }
3306
- if (pt(h)) {
3307
- var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3308
- o.push({
3306
+ if (yt(h)) {
3307
+ var b = typeof h.style == "string" ? n.time[h.style] : Oe(h.style) ? h.style.parsedOptions : n.time.medium;
3308
+ a.push({
3309
3309
  type: A.literal,
3310
3310
  value: r.getDateTimeFormat(t, b).format(f)
3311
3311
  });
3312
3312
  continue;
3313
3313
  }
3314
- if (dt(h)) {
3315
- var b = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3316
- b && b.scale && (f = f * (b.scale || 1)), o.push({
3314
+ if (bt(h)) {
3315
+ var b = typeof h.style == "string" ? n.number[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
3316
+ b && b.scale && (f = f * (b.scale || 1)), a.push({
3317
3317
  type: A.literal,
3318
3318
  value: r.getNumberFormat(t, b).format(f)
3319
3319
  });
@@ -3321,54 +3321,54 @@ function oe(e, t, r, n, i, s, u) {
3321
3321
  }
3322
3322
  if (vt(h)) {
3323
3323
  var y = h.children, x = h.value, S = i[x];
3324
- if (!sn(S))
3325
- throw new tn(x, "function", u);
3326
- var N = oe(y, t, r, n, i, s), P = S(N.map(function(w) {
3327
- return w.value;
3324
+ if (!on(S))
3325
+ throw new rn(x, "function", o);
3326
+ var P = ue(y, t, r, n, i, s), w = S(P.map(function(B) {
3327
+ return B.value;
3328
3328
  }));
3329
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(w) {
3329
+ Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(B) {
3330
3330
  return {
3331
- type: typeof w == "string" ? A.literal : A.object,
3332
- value: w
3331
+ type: typeof B == "string" ? A.literal : A.object,
3332
+ value: B
3333
3333
  };
3334
3334
  }));
3335
3335
  }
3336
- if (yt(h)) {
3337
- var B = h.options[f] || h.options.other;
3338
- if (!B)
3339
- throw new Je(h.value, f, Object.keys(h.options), u);
3340
- o.push.apply(o, oe(B.value, t, r, n, i));
3336
+ if (Et(h)) {
3337
+ var T = h.options[f] || h.options.other;
3338
+ if (!T)
3339
+ throw new Ye(h.value, f, Object.keys(h.options), o);
3340
+ a.push.apply(a, ue(T.value, t, r, n, i));
3341
3341
  continue;
3342
3342
  }
3343
- if (Et(h)) {
3344
- var B = h.options["=".concat(f)];
3345
- if (!B) {
3343
+ if (_t(h)) {
3344
+ var T = h.options["=".concat(f)];
3345
+ if (!T) {
3346
3346
  if (!Intl.PluralRules)
3347
- throw new de(`Intl.PluralRules is not available in this environment.
3347
+ throw new be(`Intl.PluralRules is not available in this environment.
3348
3348
  Try polyfilling it using "@formatjs/intl-pluralrules"
3349
- `, V.MISSING_INTL_API, u);
3350
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3351
- B = h.options[O] || h.options.other;
3349
+ `, X.MISSING_INTL_API, o);
3350
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3351
+ T = h.options[N] || h.options.other;
3352
3352
  }
3353
- if (!B)
3354
- throw new Je(h.value, f, Object.keys(h.options), u);
3355
- o.push.apply(o, oe(B.value, t, r, n, i, f - (h.offset || 0)));
3353
+ if (!T)
3354
+ throw new Ye(h.value, f, Object.keys(h.options), o);
3355
+ a.push.apply(a, ue(T.value, t, r, n, i, f - (h.offset || 0)));
3356
3356
  continue;
3357
3357
  }
3358
3358
  }
3359
- return nn(o);
3359
+ return sn(a);
3360
3360
  }
3361
3361
  function an(e, t) {
3362
3362
  return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3363
3363
  return r[n] = C(C({}, e[n]), t[n] || {}), r;
3364
3364
  }, {})) : e;
3365
3365
  }
3366
- function on(e, t) {
3366
+ function un(e, t) {
3367
3367
  return t ? Object.keys(e).reduce(function(r, n) {
3368
3368
  return r[n] = an(e[n], t[n]), r;
3369
3369
  }, C({}, e)) : e;
3370
3370
  }
3371
- function He(e) {
3371
+ function Se(e) {
3372
3372
  return {
3373
3373
  create: function() {
3374
3374
  return {
@@ -3382,7 +3382,7 @@ function He(e) {
3382
3382
  }
3383
3383
  };
3384
3384
  }
3385
- function un(e) {
3385
+ function hn(e) {
3386
3386
  return e === void 0 && (e = {
3387
3387
  number: {},
3388
3388
  dateTime: {},
@@ -3391,30 +3391,30 @@ function un(e) {
3391
3391
  getNumberFormat: ve(function() {
3392
3392
  for (var t, r = [], n = 0; n < arguments.length; n++)
3393
3393
  r[n] = arguments[n];
3394
- return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3394
+ return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3395
3395
  }, {
3396
- cache: He(e.number),
3397
- strategy: _e.variadic
3396
+ cache: Se(e.number),
3397
+ strategy: xe.variadic
3398
3398
  }),
3399
3399
  getDateTimeFormat: ve(function() {
3400
3400
  for (var t, r = [], n = 0; n < arguments.length; n++)
3401
3401
  r[n] = arguments[n];
3402
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3402
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3403
3403
  }, {
3404
- cache: He(e.dateTime),
3405
- strategy: _e.variadic
3404
+ cache: Se(e.dateTime),
3405
+ strategy: xe.variadic
3406
3406
  }),
3407
3407
  getPluralRules: ve(function() {
3408
3408
  for (var t, r = [], n = 0; n < arguments.length; n++)
3409
3409
  r[n] = arguments[n];
3410
- return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3410
+ return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3411
3411
  }, {
3412
- cache: He(e.pluralRules),
3413
- strategy: _e.variadic
3412
+ cache: Se(e.pluralRules),
3413
+ strategy: xe.variadic
3414
3414
  })
3415
3415
  };
3416
3416
  }
3417
- var hn = (
3417
+ var ln = (
3418
3418
  /** @class */
3419
3419
  function() {
3420
3420
  function e(t, r, n, i) {
@@ -3425,15 +3425,15 @@ var hn = (
3425
3425
  dateTime: {},
3426
3426
  pluralRules: {}
3427
3427
  }, this.format = function(l) {
3428
- var a = s.formatToParts(l);
3429
- if (a.length === 1)
3430
- return a[0].value;
3431
- var h = a.reduce(function(c, f) {
3428
+ var u = s.formatToParts(l);
3429
+ if (u.length === 1)
3430
+ return u[0].value;
3431
+ var h = u.reduce(function(c, f) {
3432
3432
  return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3433
3433
  }, []);
3434
3434
  return h.length <= 1 ? h[0] || "" : h;
3435
3435
  }, this.formatToParts = function(l) {
3436
- return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3436
+ return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3437
3437
  }, this.resolvedOptions = function() {
3438
3438
  var l;
3439
3439
  return {
@@ -3444,15 +3444,15 @@ var hn = (
3444
3444
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3445
3445
  if (this.message = t, !e.__parse)
3446
3446
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3447
- var u = i || {};
3448
- u.formatters;
3449
- var o = pr(u, ["formatters"]);
3450
- this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
3447
+ var o = i || {};
3448
+ o.formatters;
3449
+ var a = yr(o, ["formatters"]);
3450
+ this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3451
3451
  } else
3452
3452
  this.ast = t;
3453
3453
  if (!Array.isArray(this.ast))
3454
3454
  throw new TypeError("A message must be provided as a String or AST.");
3455
- this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3455
+ this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3456
3456
  }
3457
3457
  return Object.defineProperty(e, "defaultLocale", {
3458
3458
  get: function() {
@@ -3465,7 +3465,7 @@ var hn = (
3465
3465
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3466
3466
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3467
3467
  }
3468
- }, e.__parse = en, e.formats = {
3468
+ }, e.__parse = tn, e.formats = {
3469
3469
  number: {
3470
3470
  integer: {
3471
3471
  maximumFractionDigits: 0
@@ -3526,7 +3526,7 @@ var hn = (
3526
3526
  }, e;
3527
3527
  }()
3528
3528
  );
3529
- function ln(e, t) {
3529
+ function fn(e, t) {
3530
3530
  if (t == null)
3531
3531
  return;
3532
3532
  if (t in e)
@@ -3547,92 +3547,92 @@ function ln(e, t) {
3547
3547
  n = void 0;
3548
3548
  return n;
3549
3549
  }
3550
- const M = {}, fn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Pt = (e, t) => {
3550
+ const M = {}, cn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Ot = (e, t) => {
3551
3551
  if (t == null)
3552
3552
  return;
3553
3553
  if (t in M && e in M[t])
3554
3554
  return M[t][e];
3555
- const r = be(t);
3555
+ const r = pe(t);
3556
3556
  for (let n = 0; n < r.length; n++) {
3557
- const i = r[n], s = mn(i, e);
3557
+ const i = r[n], s = gn(i, e);
3558
3558
  if (s)
3559
- return fn(e, t, s);
3559
+ return cn(e, t, s);
3560
3560
  }
3561
3561
  };
3562
- let De;
3563
- const Z = me({});
3564
- function cn(e) {
3565
- return De[e] || null;
3562
+ let Ge;
3563
+ const Q = ge({});
3564
+ function mn(e) {
3565
+ return Ge[e] || null;
3566
3566
  }
3567
3567
  function Nt(e) {
3568
- return e in De;
3568
+ return e in Ge;
3569
3569
  }
3570
- function mn(e, t) {
3570
+ function gn(e, t) {
3571
3571
  if (!Nt(e))
3572
3572
  return null;
3573
- const r = cn(e);
3574
- return ln(r, t);
3573
+ const r = mn(e);
3574
+ return fn(r, t);
3575
3575
  }
3576
- function gn(e) {
3576
+ function dn(e) {
3577
3577
  if (e == null)
3578
3578
  return;
3579
- const t = be(e);
3579
+ const t = pe(e);
3580
3580
  for (let r = 0; r < t.length; r++) {
3581
3581
  const n = t[r];
3582
3582
  if (Nt(n))
3583
3583
  return n;
3584
3584
  }
3585
3585
  }
3586
- function dn(e, ...t) {
3587
- delete M[e], Z.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
3586
+ function bn(e, ...t) {
3587
+ delete M[e], Q.update((r) => (r[e] = pr.all([r[e] || {}, ...t]), r));
3588
3588
  }
3589
- z(
3590
- [Z],
3589
+ Z(
3590
+ [Q],
3591
3591
  ([e]) => Object.keys(e)
3592
3592
  );
3593
- Z.subscribe((e) => De = e);
3594
- const ue = {};
3595
- function bn(e, t) {
3596
- ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3593
+ Q.subscribe((e) => Ge = e);
3594
+ const he = {};
3595
+ function pn(e, t) {
3596
+ he[e].delete(t), he[e].size === 0 && delete he[e];
3597
3597
  }
3598
- function Ot(e) {
3599
- return ue[e];
3598
+ function It(e) {
3599
+ return he[e];
3600
3600
  }
3601
- function pn(e) {
3602
- return be(e).map((t) => {
3603
- const r = Ot(t);
3601
+ function yn(e) {
3602
+ return pe(e).map((t) => {
3603
+ const r = It(t);
3604
3604
  return [t, r ? [...r] : []];
3605
3605
  }).filter(([, t]) => t.length > 0);
3606
3606
  }
3607
- function Me(e) {
3608
- return e == null ? !1 : be(e).some(
3607
+ function Re(e) {
3608
+ return e == null ? !1 : pe(e).some(
3609
3609
  (t) => {
3610
3610
  var r;
3611
- return (r = Ot(t)) == null ? void 0 : r.size;
3611
+ return (r = It(t)) == null ? void 0 : r.size;
3612
3612
  }
3613
3613
  );
3614
3614
  }
3615
- function yn(e, t) {
3615
+ function En(e, t) {
3616
3616
  return Promise.all(
3617
- t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
3618
- ).then((n) => dn(e, ...n));
3619
- }
3620
- const q = {};
3621
- function It(e) {
3622
- if (!Me(e))
3623
- return e in q ? q[e] : Promise.resolve();
3624
- const t = pn(e);
3625
- return q[e] = Promise.all(
3617
+ t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
3618
+ ).then((n) => bn(e, ...n));
3619
+ }
3620
+ const J = {};
3621
+ function Lt(e) {
3622
+ if (!Re(e))
3623
+ return e in J ? J[e] : Promise.resolve();
3624
+ const t = yn(e);
3625
+ return J[e] = Promise.all(
3626
3626
  t.map(
3627
- ([r, n]) => yn(r, n)
3627
+ ([r, n]) => En(r, n)
3628
3628
  )
3629
3629
  ).then(() => {
3630
- if (Me(e))
3631
- return It(e);
3632
- delete q[e];
3633
- }), q[e];
3630
+ if (Re(e))
3631
+ return Lt(e);
3632
+ delete J[e];
3633
+ }), J[e];
3634
3634
  }
3635
- const En = {
3635
+ const _n = {
3636
3636
  number: {
3637
3637
  scientific: { notation: "scientific" },
3638
3638
  engineering: { notation: "engineering" },
@@ -3664,156 +3664,156 @@ const En = {
3664
3664
  }, vn = {
3665
3665
  fallbackLocale: null,
3666
3666
  loadingDelay: 200,
3667
- formats: En,
3667
+ formats: _n,
3668
3668
  warnOnMissingMessages: !0,
3669
3669
  handleMissingMessage: void 0,
3670
3670
  ignoreTag: !0
3671
- }, _n = vn;
3672
- function X() {
3673
- return _n;
3671
+ }, xn = vn;
3672
+ function W() {
3673
+ return xn;
3674
3674
  }
3675
- const Te = me(!1);
3676
- var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3675
+ const Te = ge(!1);
3676
+ var Hn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wn = (e, t) => {
3677
3677
  for (var r in t || (t = {}))
3678
- Sn.call(t, r) && Ke(e, r, t[r]);
3679
- if (Ye)
3680
- for (var r of Ye(t))
3681
- Bn.call(t, r) && Ke(e, r, t[r]);
3678
+ An.call(t, r) && et(e, r, t[r]);
3679
+ if (Ke)
3680
+ for (var r of Ke(t))
3681
+ Bn.call(t, r) && et(e, r, t[r]);
3682
3682
  return e;
3683
- }, wn = (e, t) => Hn(e, Tn(t));
3684
- let Re;
3685
- const le = me(null);
3686
- function et(e) {
3683
+ }, Pn = (e, t) => Sn(e, Tn(t));
3684
+ let $e;
3685
+ const fe = ge(null);
3686
+ function tt(e) {
3687
3687
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3688
3688
  }
3689
- function be(e, t = X().fallbackLocale) {
3690
- const r = et(e);
3691
- return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3689
+ function pe(e, t = W().fallbackLocale) {
3690
+ const r = tt(e);
3691
+ return t ? [.../* @__PURE__ */ new Set([...r, ...tt(t)])] : r;
3692
3692
  }
3693
3693
  function $() {
3694
- return Re ?? void 0;
3694
+ return $e ?? void 0;
3695
3695
  }
3696
- le.subscribe((e) => {
3697
- Re = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3696
+ fe.subscribe((e) => {
3697
+ $e = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3698
3698
  });
3699
- const Pn = (e) => {
3700
- if (e && gn(e) && Me(e)) {
3701
- const { loadingDelay: t } = X();
3699
+ const On = (e) => {
3700
+ if (e && dn(e) && Re(e)) {
3701
+ const { loadingDelay: t } = W();
3702
3702
  let r;
3703
3703
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3704
3704
  () => Te.set(!0),
3705
3705
  t
3706
- ) : Te.set(!0), It(e).then(() => {
3707
- le.set(e);
3706
+ ) : Te.set(!0), Lt(e).then(() => {
3707
+ fe.set(e);
3708
3708
  }).finally(() => {
3709
3709
  clearTimeout(r), Te.set(!1);
3710
3710
  });
3711
3711
  }
3712
- return le.set(e);
3713
- }, R = wn(An({}, le), {
3714
- set: Pn
3715
- }), pe = (e) => {
3712
+ return fe.set(e);
3713
+ }, R = Pn(wn({}, fe), {
3714
+ set: On
3715
+ }), ye = (e) => {
3716
3716
  const t = /* @__PURE__ */ Object.create(null);
3717
3717
  return (n) => {
3718
3718
  const i = JSON.stringify(n);
3719
3719
  return i in t ? t[i] : t[i] = e(n);
3720
3720
  };
3721
3721
  };
3722
- var Nn = Object.defineProperty, fe = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3722
+ var Nn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Ct = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
3723
3723
  for (var r in t || (t = {}))
3724
- Lt.call(t, r) && tt(e, r, t[r]);
3725
- if (fe)
3726
- for (var r of fe(t))
3727
- Ct.call(t, r) && tt(e, r, t[r]);
3724
+ Ct.call(t, r) && rt(e, r, t[r]);
3725
+ if (ce)
3726
+ for (var r of ce(t))
3727
+ Mt.call(t, r) && rt(e, r, t[r]);
3728
3728
  return e;
3729
- }, Q = (e, t) => {
3729
+ }, q = (e, t) => {
3730
3730
  var r = {};
3731
3731
  for (var n in e)
3732
- Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
- if (e != null && fe)
3734
- for (var n of fe(e))
3735
- t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3732
+ Ct.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
+ if (e != null && ce)
3734
+ for (var n of ce(e))
3735
+ t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3736
3736
  return r;
3737
3737
  };
3738
- const ee = (e, t) => {
3739
- const { formats: r } = X();
3738
+ const te = (e, t) => {
3739
+ const { formats: r } = W();
3740
3740
  if (e in r && t in r[e])
3741
3741
  return r[e][t];
3742
3742
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3743
- }, On = pe(
3743
+ }, In = ye(
3744
3744
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3745
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3746
3746
  if (r == null)
3747
3747
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3748
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3748
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3749
3749
  }
3750
- ), In = pe(
3750
+ ), Ln = ye(
3751
3751
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3752
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3753
3753
  if (r == null)
3754
3754
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3755
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3755
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3756
3756
  }
3757
- ), Ln = pe(
3757
+ ), Cn = ye(
3758
3758
  (e) => {
3759
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3759
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3760
3760
  if (r == null)
3761
3761
  throw new Error(
3762
3762
  '[svelte-i18n] A "locale" must be set to format time values'
3763
3763
  );
3764
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3764
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3765
3765
  }
3766
- ), Cn = (e = {}) => {
3766
+ ), Mn = (e = {}) => {
3767
3767
  var t = e, {
3768
3768
  locale: r = $()
3769
- } = t, n = Q(t, [
3769
+ } = t, n = q(t, [
3770
3770
  "locale"
3771
3771
  ]);
3772
- return On(Ge({ locale: r }, n));
3773
- }, Mn = (e = {}) => {
3772
+ return In(Fe({ locale: r }, n));
3773
+ }, Rn = (e = {}) => {
3774
3774
  var t = e, {
3775
3775
  locale: r = $()
3776
- } = t, n = Q(t, [
3776
+ } = t, n = q(t, [
3777
3777
  "locale"
3778
3778
  ]);
3779
- return In(Ge({ locale: r }, n));
3780
- }, Rn = (e = {}) => {
3779
+ return Ln(Fe({ locale: r }, n));
3780
+ }, $n = (e = {}) => {
3781
3781
  var t = e, {
3782
3782
  locale: r = $()
3783
- } = t, n = Q(t, [
3783
+ } = t, n = q(t, [
3784
3784
  "locale"
3785
3785
  ]);
3786
- return Ln(Ge({ locale: r }, n));
3787
- }, $n = pe(
3786
+ return Cn(Fe({ locale: r }, n));
3787
+ }, Un = ye(
3788
3788
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3789
- (e, t = $()) => new hn(e, t, X().formats, {
3790
- ignoreTag: X().ignoreTag
3789
+ (e, t = $()) => new ln(e, t, W().formats, {
3790
+ ignoreTag: W().ignoreTag
3791
3791
  })
3792
- ), Un = (e, t = {}) => {
3792
+ ), Dn = (e, t = {}) => {
3793
3793
  var r, n, i, s;
3794
- let u = t;
3795
- typeof e == "object" && (u = e, e = u.id);
3794
+ let o = t;
3795
+ typeof e == "object" && (o = e, e = o.id);
3796
3796
  const {
3797
- values: o,
3797
+ values: a,
3798
3798
  locale: l = $(),
3799
- default: a
3800
- } = u;
3799
+ default: u
3800
+ } = o;
3801
3801
  if (l == null)
3802
3802
  throw new Error(
3803
3803
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3804
3804
  );
3805
- let h = Pt(e, l);
3805
+ let h = Ot(e, l);
3806
3806
  if (!h)
3807
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3807
+ h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3808
3808
  else if (typeof h != "string")
3809
3809
  return console.warn(
3810
3810
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3811
3811
  ), h;
3812
- if (!o)
3812
+ if (!a)
3813
3813
  return h;
3814
3814
  let c = h;
3815
3815
  try {
3816
- c = $n(h, l).format(o);
3816
+ c = Un(h, l).format(a);
3817
3817
  } catch (f) {
3818
3818
  f instanceof Error && console.warn(
3819
3819
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3821,23 +3821,24 @@ const ee = (e, t) => {
3821
3821
  );
3822
3822
  }
3823
3823
  return c;
3824
- }, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = $()) => Pt(e, t), ci = z([R, Z], () => Un);
3825
- z([R], () => Dn);
3826
- z([R], () => Gn);
3827
- z([R], () => Fn);
3828
- z([R, Z], () => jn);
3829
- function kn({ withLocale: e, translations: t }) {
3824
+ }, Gn = (e, t) => $n(t).format(e), Fn = (e, t) => Rn(t).format(e), jn = (e, t) => Mn(t).format(e), kn = (e, t = $()) => Ot(e, t), di = Z([R, Q], () => Dn);
3825
+ Z([R], () => Gn);
3826
+ Z([R], () => Fn);
3827
+ Z([R], () => jn);
3828
+ Z([R, Q], () => kn);
3829
+ function Vn({ withLocale: e, translations: t }) {
3830
3830
  R.subscribe((r) => {
3831
- r == null && (Z.set(t), R.set(e));
3831
+ r == null && (Q.set(t), R.set(e));
3832
3832
  });
3833
3833
  }
3834
- function Vn(e, t) {
3834
+ const F = "__WIDGET_GLOBAL_STYLE_CACHE__";
3835
+ function Xn(e, t) {
3835
3836
  if (e) {
3836
3837
  const r = document.createElement("style");
3837
3838
  r.innerHTML = t, e.appendChild(r);
3838
3839
  }
3839
3840
  }
3840
- function Xn(e, t) {
3841
+ function Wn(e, t) {
3841
3842
  if (!e || !t)
3842
3843
  return;
3843
3844
  const r = new URL(t);
@@ -3848,13 +3849,40 @@ function Xn(e, t) {
3848
3849
  console.error("There was an error while trying to load client styling from URL", n);
3849
3850
  });
3850
3851
  }
3851
- function Wn(e, t, r) {
3852
- if (window.emMessageBus) {
3853
- const n = document.createElement("style");
3854
- window.emMessageBus.subscribe(t, (i) => {
3855
- n.innerHTML = i, e && e.appendChild(n);
3852
+ function zn(e, t, r, n = !1) {
3853
+ if (!window.emMessageBus)
3854
+ return;
3855
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3856
+ return r = Zn(e, t), r;
3857
+ window[F] || (window[F] = {}), r = Qn(e, t);
3858
+ const s = r.unsubscribe.bind(r), o = () => {
3859
+ if (window[F][t]) {
3860
+ const a = window[F][t];
3861
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[F][t];
3862
+ }
3863
+ s();
3864
+ };
3865
+ return r.unsubscribe = o, r;
3866
+ }
3867
+ function Zn(e, t) {
3868
+ const r = document.createElement("style");
3869
+ return window.emMessageBus.subscribe(t, (n) => {
3870
+ e && (r.innerHTML = n, e.appendChild(r));
3871
+ });
3872
+ }
3873
+ function Qn(e, t) {
3874
+ return window.emMessageBus.subscribe(t, (r) => {
3875
+ if (!e)
3876
+ return;
3877
+ const n = e.getRootNode(), i = window[F];
3878
+ let s = i[t]?.sheet;
3879
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
3880
+ sheet: s,
3881
+ refCount: 1
3856
3882
  });
3857
- }
3883
+ const o = n.adoptedStyleSheets || [];
3884
+ o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
3885
+ });
3858
3886
  }
3859
3887
  if (typeof window < "u") {
3860
3888
  let e = function(t) {
@@ -3868,18 +3896,18 @@ if (typeof window < "u") {
3868
3896
  }
3869
3897
  };
3870
3898
  };
3871
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Db11EW4j.js").then(({ default: t }) => {
3899
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-CE77UqlZ.js").then((t) => t.C).then(({ default: t }) => {
3872
3900
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3873
3901
  });
3874
3902
  }
3875
- function zn(e) {
3876
- $t(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3903
+ function qn(e) {
3904
+ Ut(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3877
3905
  }
3878
- function rt(e) {
3906
+ function nt(e) {
3879
3907
  let t;
3880
3908
  return {
3881
3909
  c() {
3882
- t = re("casino-games-category-section"), g(
3910
+ t = ne("casino-games-category-section"), g(
3883
3911
  t,
3884
3912
  "session",
3885
3913
  /*session*/
@@ -3977,7 +4005,7 @@ function rt(e) {
3977
4005
  );
3978
4006
  },
3979
4007
  m(r, n) {
3980
- ce(r, t, n);
4008
+ me(r, t, n);
3981
4009
  },
3982
4010
  p(r, n) {
3983
4011
  n & /*session*/
@@ -4097,57 +4125,57 @@ function rt(e) {
4097
4125
  );
4098
4126
  },
4099
4127
  d(r) {
4100
- r && te(t);
4128
+ r && re(t);
4101
4129
  }
4102
4130
  };
4103
4131
  }
4104
- function Zn(e) {
4132
+ function Jn(e) {
4105
4133
  let t, r = (
4106
4134
  /*session*/
4107
- e[4] && rt(e)
4135
+ e[4] && nt(e)
4108
4136
  );
4109
4137
  return {
4110
4138
  c() {
4111
- t = re("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4139
+ t = ne("div"), r && r.c(), De(t, "class", "CasinoFavoritesSectionContainer");
4112
4140
  },
4113
4141
  m(n, i) {
4114
- ce(n, t, i), r && r.m(t, null), e[20](t);
4142
+ me(n, t, i), r && r.m(t, null), e[20](t);
4115
4143
  },
4116
4144
  p(n, [i]) {
4117
4145
  /*session*/
4118
- n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4146
+ n[4] ? r ? r.p(n, i) : (r = nt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4119
4147
  },
4120
4148
  i: I,
4121
4149
  o: I,
4122
4150
  d(n) {
4123
- n && te(t), r && r.d(), e[20](null);
4151
+ n && re(t), r && r.d(), e[20](null);
4124
4152
  }
4125
4153
  };
4126
4154
  }
4127
- function Qn(e, t, r) {
4128
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: x = "" } = t, { gamepagemodalurl: S = "false" } = t, { visiblegames: N = "" } = t, { favorites: P = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: O = "true" } = t, { mbsource: w } = t, T;
4129
- kn({ withLocale: "en", translations: {} }), kt(() => () => {
4155
+ function Yn(e, t, r) {
4156
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: a = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: x = "" } = t, { gamepagemodalurl: S = "false" } = t, { visiblegames: P = "" } = t, { favorites: w = "" } = t, { casinomygames: T = "false" } = t, { fetchviaevent: N = "true" } = t, { mbsource: B } = t, L, E;
4157
+ Vn({ withLocale: "en", translations: {} }), Vt(() => () => {
4130
4158
  });
4131
- function v(m) {
4132
- Se[m ? "unshift" : "push"](() => {
4133
- T = m, r(19, T);
4159
+ function O(m) {
4160
+ Ae[m ? "unshift" : "push"](() => {
4161
+ E = m, r(19, E);
4134
4162
  });
4135
4163
  }
4136
4164
  return e.$$set = (m) => {
4137
- "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, u = m.lang), "session" in m && r(4, o = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, a = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, f = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, y = m.integratedgameframedesktop), "showgamename" in m && r(12, x = m.showgamename), "gamepagemodalurl" in m && r(13, S = m.gamepagemodalurl), "visiblegames" in m && r(14, N = m.visiblegames), "favorites" in m && r(15, P = m.favorites), "casinomygames" in m && r(16, B = m.casinomygames), "fetchviaevent" in m && r(17, O = m.fetchviaevent), "mbsource" in m && r(18, w = m.mbsource);
4165
+ "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, o = m.lang), "session" in m && r(4, a = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, u = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, f = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, y = m.integratedgameframedesktop), "showgamename" in m && r(12, x = m.showgamename), "gamepagemodalurl" in m && r(13, S = m.gamepagemodalurl), "visiblegames" in m && r(14, P = m.visiblegames), "favorites" in m && r(15, w = m.favorites), "casinomygames" in m && r(16, T = m.casinomygames), "fetchviaevent" in m && r(17, N = m.fetchviaevent), "mbsource" in m && r(18, B = m.mbsource);
4138
4166
  }, e.$$.update = () => {
4139
4167
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4140
- 524352 && a && T && Vn(T, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4141
- 524416 && h && T && Xn(T, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4142
- 786432 && T && Wn(T, `${w}.Style`);
4168
+ 524352 && u && E && Xn(E, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4169
+ 524416 && h && E && Wn(E, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4170
+ 786432 && E && zn(E, `${B}.Style`, L);
4143
4171
  }, [
4144
4172
  n,
4145
4173
  i,
4146
4174
  s,
4147
- u,
4148
4175
  o,
4149
- l,
4150
4176
  a,
4177
+ l,
4178
+ u,
4151
4179
  h,
4152
4180
  c,
4153
4181
  f,
@@ -4155,23 +4183,23 @@ function Qn(e, t, r) {
4155
4183
  y,
4156
4184
  x,
4157
4185
  S,
4158
- N,
4159
4186
  P,
4160
- B,
4161
- O,
4162
4187
  w,
4163
4188
  T,
4164
- v
4189
+ N,
4190
+ B,
4191
+ E,
4192
+ O
4165
4193
  ];
4166
4194
  }
4167
- class qn extends Yt {
4195
+ class Kn extends Kt {
4168
4196
  constructor(t) {
4169
- super(), qt(
4197
+ super(), Jt(
4170
4198
  this,
4171
4199
  t,
4172
- Qn,
4173
- Zn,
4174
- it,
4200
+ Yn,
4201
+ Jn,
4202
+ st,
4175
4203
  {
4176
4204
  endpoint: 0,
4177
4205
  datasource: 1,
@@ -4193,7 +4221,7 @@ class qn extends Yt {
4193
4221
  fetchviaevent: 17,
4194
4222
  mbsource: 18
4195
4223
  },
4196
- zn
4224
+ qn
4197
4225
  );
4198
4226
  }
4199
4227
  get endpoint() {
@@ -4311,47 +4339,47 @@ class qn extends Yt {
4311
4339
  this.$$set({ mbsource: t }), H();
4312
4340
  }
4313
4341
  }
4314
- Jt(qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4342
+ Yt(Kn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4315
4343
  export {
4316
4344
  R as $,
4317
- Xn as A,
4318
- Wn as B,
4319
- Jt as C,
4320
- ci as D,
4321
- g as E,
4322
- si as F,
4323
- ti as G,
4324
- ai as H,
4325
- ui as I,
4326
- oi as J,
4327
- fi as K,
4328
- li as L,
4329
- qn as M,
4330
- Yt as S,
4331
- Z as a,
4332
- dn as b,
4333
- $t as c,
4334
- te as d,
4335
- ce as e,
4345
+ Ft as A,
4346
+ di as B,
4347
+ Xn as C,
4348
+ Wn as D,
4349
+ zn as E,
4350
+ ei as F,
4351
+ ui as G,
4352
+ hi as H,
4353
+ fi as I,
4354
+ Q as J,
4355
+ z as K,
4356
+ ai as L,
4357
+ Kn as M,
4358
+ Kt as S,
4359
+ bn as a,
4360
+ Ut as b,
4361
+ Yt as c,
4362
+ re as d,
4363
+ me as e,
4336
4364
  H as f,
4337
- re as g,
4338
- Yn as h,
4339
- qt as i,
4340
- Se as j,
4341
- Ue as k,
4342
- hi as l,
4343
- Kn as m,
4365
+ ne as g,
4366
+ De as h,
4367
+ Jt as i,
4368
+ ti as j,
4369
+ Vt as k,
4370
+ Ae as l,
4371
+ ii as m,
4344
4372
  I as n,
4345
- kt as o,
4346
- ni as p,
4347
- Rt as q,
4348
- W as r,
4349
- it as s,
4350
- ri as t,
4351
- Gt as u,
4352
- ei as v,
4353
- at as w,
4354
- ii as x,
4355
- Jn as y,
4356
- Vn as z
4373
+ li as o,
4374
+ $t as p,
4375
+ ni as q,
4376
+ oi as r,
4377
+ st as s,
4378
+ at as t,
4379
+ ci as u,
4380
+ gi as v,
4381
+ g as w,
4382
+ mi as x,
4383
+ ri as y,
4384
+ si as z
4357
4385
  };