@everymatrix/casino-favorites-section-nd 1.74.0 → 1.74.2

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 (37) hide show
  1. package/components/{CasinoFavoritesSectionNd-wlqLtBmT.js → CasinoFavoritesSectionNd-BoB2Fh92.js} +1053 -1021
  2. package/components/CasinoFavoritesSectionNd-Dn78u7YE.cjs +16 -0
  3. package/components/{CasinoFavoritesSectionNd-Bs8oVFTY.js → CasinoFavoritesSectionNd-f6o7XtDW.js} +1054 -1022
  4. package/components/CasinoFilter-CsLNOIHw.cjs +3 -0
  5. package/components/{CasinoFilter-ndLGiEEr.js → CasinoFilter-D68KeDy6.js} +368 -418
  6. package/components/{CasinoFilter-CkYKOL1E.js → CasinoFilter-D928l56k.js} +394 -442
  7. package/components/{CasinoGameThumbnailNd-BEsv42Bm.js → CasinoGameThumbnailNd-5vR7bdal.js} +66 -64
  8. package/components/{CasinoGameThumbnailNd-CZZdZz2R.js → CasinoGameThumbnailNd-BH2Mj55D.js} +66 -64
  9. package/components/CasinoGameThumbnailNd-D53HFPCw.cjs +30 -0
  10. package/components/{CasinoGamesCategorySectionNd-DswGDv0Y.js → CasinoGamesCategorySectionNd-D2iAhLZL.js} +114 -114
  11. package/components/{CasinoGamesCategorySectionNd-BUAEajz3.js → CasinoGamesCategorySectionNd-DVwcv9K0.js} +144 -144
  12. package/components/{CasinoGamesCategorySectionNd-D0qVJ_5P.cjs → CasinoGamesCategorySectionNd-Dobay4vS.cjs} +1 -1
  13. package/components/{CasinoSort-Cpj0VLE1.js → CasinoSort-9kBqfZKQ.js} +108 -109
  14. package/components/{CasinoSort-BuLsdE0v.js → CasinoSort-CfyJMP11.js} +117 -116
  15. package/components/{CasinoSort-DOFJ6usS.cjs → CasinoSort-Dxg-kEzK.cjs} +1 -1
  16. package/es2015/casino-favorites-section-nd.cjs +1 -1
  17. package/es2015/casino-favorites-section-nd.js +1 -1
  18. package/esnext/casino-favorites-section-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  21. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  22. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  23. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  24. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  25. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  29. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  30. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  31. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
  32. package/components/CasinoFavoritesSectionNd-CT01JC-U.cjs +0 -3
  33. package/components/CasinoFilter-DRKY8ePe.cjs +0 -16
  34. package/components/CasinoGameThumbnailNd-QHLF1RLc.cjs +0 -30
  35. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  36. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  37. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -1,47 +1,47 @@
1
1
  function N() {
2
2
  }
3
- function nt(e) {
3
+ function rt(e) {
4
4
  return e();
5
5
  }
6
6
  function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function W(e) {
10
- e.forEach(nt);
9
+ function X(e) {
10
+ e.forEach(rt);
11
11
  }
12
- function $e(e) {
12
+ function Me(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function it(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 re;
19
+ function qr(e, t) {
20
+ return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
21
21
  }
22
22
  function Mt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function st(e, ...t) {
26
26
  if (e == null) {
27
- for (const n of t)
28
- n(void 0);
27
+ for (const r of t)
28
+ r(void 0);
29
29
  return N;
30
30
  }
31
- const r = e.subscribe(...t);
32
- return r.unsubscribe ? () => r.unsubscribe() : r;
31
+ const n = e.subscribe(...t);
32
+ return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function Yn(e, t, r) {
35
- e.$$.on_destroy.push(st(t, r));
34
+ function Jr(e, t, n) {
35
+ e.$$.on_destroy.push(st(t, n));
36
36
  }
37
37
  function Rt(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function $t(e, t, r) {
41
- const n = Ut(e);
42
- if (!n.getElementById(t)) {
43
- const i = re("style");
44
- i.id = t, i.textContent = r, Dt(n, i);
40
+ function $t(e, t, n) {
41
+ const r = Ut(e);
42
+ if (!r.getElementById(t)) {
43
+ const i = te("style");
44
+ i.id = t, i.textContent = n, Dt(r, i);
45
45
  }
46
46
  }
47
47
  function Ut(e) {
@@ -61,40 +61,40 @@ function Dt(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ce(e, t, r) {
65
- e.insertBefore(t, r || null);
64
+ function le(e, t, n) {
65
+ e.insertBefore(t, n || null);
66
66
  }
67
- function te(e) {
67
+ function ee(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Kn(e, t) {
71
- for (let r = 0; r < e.length; r += 1)
72
- e[r] && e[r].d(t);
70
+ function Yr(e, t) {
71
+ for (let n = 0; n < e.length; n += 1)
72
+ e[n] && e[n].d(t);
73
73
  }
74
- function re(e) {
74
+ function te(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function Gt(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function ot(e) {
80
+ function at(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function ei() {
84
- return ot(" ");
83
+ function Kr() {
84
+ return at(" ");
85
85
  }
86
- function ti() {
87
- return ot("");
86
+ function ei() {
87
+ return at("");
88
88
  }
89
- function ri(e, t, r, n) {
90
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
+ function ti(e, t, n, r) {
90
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
- function Ue(e, t, r) {
93
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
+ function Re(e, t, n) {
93
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
94
94
  }
95
- function g(e, t, r) {
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);
95
+ function g(e, t, n) {
96
+ const r = t.toLowerCase();
97
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
98
98
  }
99
99
  function Ft(e) {
100
100
  return Array.from(e.childNodes);
@@ -103,14 +103,14 @@ function ni(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 ri(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function si(e, t, r, n) {
110
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
109
+ function ii(e, t, n, r) {
110
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
111
111
  }
112
- function oi(e, t, r) {
113
- e.classList.toggle(t, !!r);
112
+ function si(e, t, n) {
113
+ e.classList.toggle(t, !!n);
114
114
  }
115
115
  class ai {
116
116
  /**
@@ -142,17 +142,17 @@ class ai {
142
142
  * @param {HTMLElement | SVGElement} anchor
143
143
  * @returns {void}
144
144
  */
145
- m(t, r, n = null) {
145
+ m(t, n, r = null) {
146
146
  this.e || (this.is_svg ? this.e = Gt(
147
147
  /** @type {keyof SVGElementTagNameMap} */
148
- r.nodeName
149
- ) : this.e = re(
148
+ n.nodeName
149
+ ) : this.e = te(
150
150
  /** @type {keyof HTMLElementTagNameMap} */
151
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
152
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
151
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
152
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
153
153
  /** @type {HTMLTemplateElement} */
154
- r.content
155
- ), this.c(t)), this.i(n);
154
+ n.content
155
+ ), this.c(t)), this.i(r);
156
156
  }
157
157
  /**
158
158
  * @param {string} html
@@ -166,8 +166,8 @@ class ai {
166
166
  /**
167
167
  * @returns {void} */
168
168
  i(t) {
169
- for (let r = 0; r < this.n.length; r += 1)
170
- ce(this.t, this.n[r], t);
169
+ for (let n = 0; n < this.n.length; n += 1)
170
+ le(this.t, this.n[n], t);
171
171
  }
172
172
  /**
173
173
  * @param {string} html
@@ -179,139 +179,139 @@ class ai {
179
179
  /**
180
180
  * @returns {void} */
181
181
  d() {
182
- this.n.forEach(te);
182
+ this.n.forEach(ee);
183
183
  }
184
184
  }
185
185
  function jt(e) {
186
186
  const t = {};
187
187
  return e.childNodes.forEach(
188
188
  /** @param {Element} node */
189
- (r) => {
190
- t[r.slot || "default"] = !0;
189
+ (n) => {
190
+ t[n.slot || "default"] = !0;
191
191
  }
192
192
  ), t;
193
193
  }
194
- let Y;
195
- function J(e) {
196
- Y = e;
194
+ let J;
195
+ function q(e) {
196
+ J = e;
197
197
  }
198
- function at() {
199
- if (!Y)
198
+ function ot() {
199
+ if (!J)
200
200
  throw new Error("Function called outside component initialization");
201
- return Y;
201
+ return J;
202
202
  }
203
203
  function kt(e) {
204
- at().$$.on_mount.push(e);
204
+ ot().$$.on_mount.push(e);
205
205
  }
206
- function ui(e) {
207
- at().$$.on_destroy.push(e);
206
+ function oi(e) {
207
+ ot().$$.on_destroy.push(e);
208
208
  }
209
- const G = [], Se = [];
210
- let F = [];
209
+ const D = [], He = [];
210
+ let G = [];
211
211
  const je = [], ut = /* @__PURE__ */ Promise.resolve();
212
- let Be = !1;
212
+ let Te = !1;
213
213
  function ht() {
214
- Be || (Be = !0, ut.then(H));
214
+ Te || (Te = !0, ut.then(H));
215
215
  }
216
- function hi() {
216
+ function ui() {
217
217
  return ht(), ut;
218
218
  }
219
- function Ae(e) {
220
- F.push(e);
219
+ function Se(e) {
220
+ G.push(e);
221
221
  }
222
- const ye = /* @__PURE__ */ new Set();
223
- let U = 0;
222
+ const be = /* @__PURE__ */ new Set();
223
+ let $ = 0;
224
224
  function H() {
225
- if (U !== 0)
225
+ if ($ !== 0)
226
226
  return;
227
- const e = Y;
227
+ const e = J;
228
228
  do {
229
229
  try {
230
- for (; U < G.length; ) {
231
- const t = G[U];
232
- U++, J(t), Vt(t.$$);
230
+ for (; $ < D.length; ) {
231
+ const t = D[$];
232
+ $++, q(t), Vt(t.$$);
233
233
  }
234
234
  } catch (t) {
235
- throw G.length = 0, U = 0, t;
235
+ throw D.length = 0, $ = 0, t;
236
236
  }
237
- for (J(null), G.length = 0, U = 0; Se.length; )
238
- Se.pop()();
239
- for (let t = 0; t < F.length; t += 1) {
240
- const r = F[t];
241
- ye.has(r) || (ye.add(r), r());
237
+ for (q(null), D.length = 0, $ = 0; He.length; )
238
+ He.pop()();
239
+ for (let t = 0; t < G.length; t += 1) {
240
+ const n = G[t];
241
+ be.has(n) || (be.add(n), n());
242
242
  }
243
- F.length = 0;
244
- } while (G.length);
243
+ G.length = 0;
244
+ } while (D.length);
245
245
  for (; je.length; )
246
246
  je.pop()();
247
- Be = !1, ye.clear(), J(e);
247
+ Te = !1, be.clear(), q(e);
248
248
  }
249
249
  function Vt(e) {
250
250
  if (e.fragment !== null) {
251
- e.update(), W(e.before_update);
251
+ e.update(), X(e.before_update);
252
252
  const t = e.dirty;
253
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
253
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
254
254
  }
255
255
  }
256
256
  function Xt(e) {
257
- const t = [], r = [];
258
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
257
+ const t = [], n = [];
258
+ G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
259
259
  }
260
- const Wt = /* @__PURE__ */ new Set();
260
+ const zt = /* @__PURE__ */ new Set();
261
261
  function lt(e, t) {
262
- e && e.i && (Wt.delete(e), e.i(t));
262
+ e && e.i && (zt.delete(e), e.i(t));
263
263
  }
264
- function li(e) {
264
+ function hi(e) {
265
265
  return e?.length !== void 0 ? e : Array.from(e);
266
266
  }
267
- function fi(e, t) {
267
+ function li(e, t) {
268
268
  e.d(1), t.delete(e.key);
269
269
  }
270
- function ci(e, t, r, n, i, s, u, a, l, o, h, m) {
270
+ function fi(e, t, n, r, i, s, a, o, l, u, h, m) {
271
271
  let f = e.length, b = s.length, y = f;
272
272
  const _ = {};
273
273
  for (; y--; )
274
274
  _[e[y].key] = y;
275
275
  const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
276
276
  for (y = b; y--; ) {
277
- const c = m(i, s, y), I = r(c);
278
- let L = u.get(I);
279
- L ? S.push(() => L.p(c, t)) : (L = o(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
277
+ const c = m(i, s, y), I = n(c);
278
+ let L = a.get(I);
279
+ L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
280
280
  }
281
281
  const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
282
282
  function O(c) {
283
- lt(c, 1), c.m(a, h), u.set(c.key, c), h = c.first, b--;
283
+ lt(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
284
284
  }
285
285
  for (; f && b; ) {
286
286
  const c = T[b - 1], I = e[f - 1], L = c.key, ne = I.key;
287
- c === I ? (h = c.first, f--, b--) : w.has(ne) ? !u.has(L) || P.has(L) ? O(c) : x.has(ne) ? f-- : A.get(L) > A.get(ne) ? (x.add(L), O(c)) : (P.add(ne), f--) : (l(I, u), f--);
287
+ c === I ? (h = c.first, f--, b--) : w.has(ne) ? !a.has(L) || P.has(L) ? O(c) : x.has(ne) ? f-- : A.get(L) > A.get(ne) ? (x.add(L), O(c)) : (P.add(ne), f--) : (l(I, a), f--);
288
288
  }
289
289
  for (; f--; ) {
290
290
  const c = e[f];
291
- w.has(c.key) || l(c, u);
291
+ w.has(c.key) || l(c, a);
292
292
  }
293
293
  for (; b; )
294
294
  O(T[b - 1]);
295
- return W(S), T;
295
+ return X(S), T;
296
296
  }
297
- function zt(e, t, r) {
298
- const { fragment: n, after_update: i } = e.$$;
299
- n && n.m(t, r), Ae(() => {
300
- const s = e.$$.on_mount.map(nt).filter($e);
301
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
302
- }), i.forEach(Ae);
297
+ function Wt(e, t, n) {
298
+ const { fragment: r, after_update: i } = e.$$;
299
+ r && r.m(t, n), Se(() => {
300
+ const s = e.$$.on_mount.map(rt).filter(Me);
301
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
302
+ }), i.forEach(Se);
303
303
  }
304
304
  function Zt(e, t) {
305
- const r = e.$$;
306
- 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 = []);
305
+ const n = e.$$;
306
+ n.fragment !== null && (Xt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
307
307
  }
308
308
  function Qt(e, t) {
309
- e.$$.dirty[0] === -1 && (G.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
309
+ e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
310
310
  }
311
- function qt(e, t, r, n, i, s, u = null, a = [-1]) {
312
- const l = Y;
313
- J(e);
314
- const o = e.$$ = {
311
+ function qt(e, t, n, r, i, s, a = null, o = [-1]) {
312
+ const l = J;
313
+ q(e);
314
+ const u = e.$$ = {
315
315
  fragment: null,
316
316
  ctx: [],
317
317
  // state
@@ -328,24 +328,24 @@ function qt(e, t, r, n, i, s, u = null, a = [-1]) {
328
328
  context: new Map(t.context || (l ? l.$$.context : [])),
329
329
  // everything else
330
330
  callbacks: Fe(),
331
- dirty: a,
331
+ dirty: o,
332
332
  skip_bound: !1,
333
333
  root: t.target || l.$$.root
334
334
  };
335
- u && u(o.root);
335
+ a && a(u.root);
336
336
  let h = !1;
337
- if (o.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
337
+ if (u.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
338
338
  const y = b.length ? b[0] : f;
339
- return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && Qt(e, m)), f;
340
- }) : [], o.update(), h = !0, W(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
339
+ return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
340
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
341
341
  if (t.hydrate) {
342
342
  const m = Ft(t.target);
343
- o.fragment && o.fragment.l(m), m.forEach(te);
343
+ u.fragment && u.fragment.l(m), m.forEach(ee);
344
344
  } else
345
- o.fragment && o.fragment.c();
346
- t.intro && lt(e.$$.fragment), zt(e, t.target, t.anchor), H();
345
+ u.fragment && u.fragment.c();
346
+ t.intro && lt(e.$$.fragment), Wt(e, t.target, t.anchor), H();
347
347
  }
348
- J(l);
348
+ q(l);
349
349
  }
350
350
  let ft;
351
351
  typeof HTMLElement == "function" && (ft = class extends HTMLElement {
@@ -367,20 +367,20 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
367
367
  $$l = {};
368
368
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
369
369
  $$l_u = /* @__PURE__ */ new Map();
370
- constructor(e, t, r) {
371
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
370
+ constructor(e, t, n) {
371
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
372
372
  }
373
- addEventListener(e, t, r) {
373
+ addEventListener(e, t, n) {
374
374
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
375
- const n = this.$$c.$on(e, t);
376
- this.$$l_u.set(t, n);
375
+ const r = this.$$c.$on(e, t);
376
+ this.$$l_u.set(t, r);
377
377
  }
378
- super.addEventListener(e, t, r);
378
+ super.addEventListener(e, t, n);
379
379
  }
380
- removeEventListener(e, t, r) {
381
- if (super.removeEventListener(e, t, r), this.$$c) {
382
- const n = this.$$l_u.get(t);
383
- n && (n(), this.$$l_u.delete(t));
380
+ removeEventListener(e, t, n) {
381
+ if (super.removeEventListener(e, t, n), this.$$c) {
382
+ const r = this.$$l_u.get(t);
383
+ r && (r(), this.$$l_u.delete(t));
384
384
  }
385
385
  }
386
386
  async connectedCallback() {
@@ -390,29 +390,29 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
390
390
  let s;
391
391
  return {
392
392
  c: function() {
393
- s = re("slot"), i !== "default" && Ue(s, "name", i);
393
+ s = te("slot"), i !== "default" && Re(s, "name", i);
394
394
  },
395
395
  /**
396
396
  * @param {HTMLElement} target
397
397
  * @param {HTMLElement} [anchor]
398
398
  */
399
- m: function(l, o) {
400
- ce(l, s, o);
399
+ m: function(l, u) {
400
+ le(l, s, u);
401
401
  },
402
402
  d: function(l) {
403
- l && te(s);
403
+ l && ee(s);
404
404
  }
405
405
  };
406
406
  };
407
407
  };
408
408
  if (await Promise.resolve(), !this.$$cn || this.$$c)
409
409
  return;
410
- const t = {}, r = jt(this);
410
+ const t = {}, n = jt(this);
411
411
  for (const i of this.$$s)
412
- i in r && (t[i] = [e(i)]);
412
+ i in n && (t[i] = [e(i)]);
413
413
  for (const i of this.attributes) {
414
414
  const s = this.$$g_p(i.name);
415
- s in this.$$d || (this.$$d[s] = oe(s, i.value, this.$$p_d, "toProp"));
415
+ s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
416
416
  }
417
417
  for (const i in this.$$p_d)
418
418
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -426,11 +426,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
426
426
  }
427
427
  }
428
428
  });
429
- const n = () => {
429
+ const r = () => {
430
430
  this.$$r = !0;
431
431
  for (const i in this.$$p_d)
432
432
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
433
- const s = oe(
433
+ const s = se(
434
434
  i,
435
435
  this.$$d[i],
436
436
  this.$$p_d,
@@ -440,19 +440,19 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
440
440
  }
441
441
  this.$$r = !1;
442
442
  };
443
- this.$$c.$$.after_update.push(n), n();
443
+ this.$$c.$$.after_update.push(r), r();
444
444
  for (const i in this.$$l)
445
445
  for (const s of this.$$l[i]) {
446
- const u = this.$$c.$on(i, s);
447
- this.$$l_u.set(s, u);
446
+ const a = this.$$c.$on(i, s);
447
+ this.$$l_u.set(s, a);
448
448
  }
449
449
  this.$$l = {};
450
450
  }
451
451
  }
452
452
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
453
453
  // and setting attributes through setAttribute etc, this is helpful
454
- attributeChangedCallback(e, t, r) {
455
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
454
+ attributeChangedCallback(e, t, n) {
455
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
456
456
  }
457
457
  disconnectedCallback() {
458
458
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -465,11 +465,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
465
465
  ) || e;
466
466
  }
467
467
  });
468
- function oe(e, t, r, n) {
469
- const i = r[e]?.type;
470
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
468
+ function se(e, t, n, r) {
469
+ const i = n[e]?.type;
470
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
471
471
  return t;
472
- if (n === "toAttribute")
472
+ if (r === "toAttribute")
473
473
  switch (i) {
474
474
  case "Object":
475
475
  case "Array":
@@ -494,34 +494,34 @@ function oe(e, t, r, n) {
494
494
  return t;
495
495
  }
496
496
  }
497
- function Jt(e, t, r, n, i, s) {
498
- let u = class extends ft {
497
+ function Jt(e, t, n, r, i, s) {
498
+ let a = class extends ft {
499
499
  constructor() {
500
- super(e, r, i), this.$$p_d = t;
500
+ super(e, n, i), this.$$p_d = t;
501
501
  }
502
502
  static get observedAttributes() {
503
503
  return Object.keys(t).map(
504
- (a) => (t[a].attribute || a).toLowerCase()
504
+ (o) => (t[o].attribute || o).toLowerCase()
505
505
  );
506
506
  }
507
507
  };
508
- return Object.keys(t).forEach((a) => {
509
- Object.defineProperty(u.prototype, a, {
508
+ return Object.keys(t).forEach((o) => {
509
+ Object.defineProperty(a.prototype, o, {
510
510
  get() {
511
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
511
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
512
512
  },
513
513
  set(l) {
514
- l = oe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
514
+ l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
515
515
  }
516
516
  });
517
- }), n.forEach((a) => {
518
- Object.defineProperty(u.prototype, a, {
517
+ }), r.forEach((o) => {
518
+ Object.defineProperty(a.prototype, o, {
519
519
  get() {
520
- return this.$$c?.[a];
520
+ return this.$$c?.[o];
521
521
  }
522
522
  });
523
523
  }), e.element = /** @type {any} */
524
- u, u;
524
+ a, a;
525
525
  }
526
526
  class Yt {
527
527
  /**
@@ -550,13 +550,13 @@ class Yt {
550
550
  * @param {((e: Events[K]) => void) | null | undefined} callback
551
551
  * @returns {() => void}
552
552
  */
553
- $on(t, r) {
554
- if (!$e(r))
553
+ $on(t, n) {
554
+ if (!Me(n))
555
555
  return N;
556
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
557
- return n.push(r), () => {
558
- const i = n.indexOf(r);
559
- i !== -1 && n.splice(i, 1);
556
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
557
+ return r.push(n), () => {
558
+ const i = r.indexOf(n);
559
+ i !== -1 && r.splice(i, 1);
560
560
  };
561
561
  }
562
562
  /**
@@ -569,58 +569,58 @@ class Yt {
569
569
  }
570
570
  const Kt = "4";
571
571
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
572
- const D = [];
573
- function er(e, t) {
572
+ const U = [];
573
+ function en(e, t) {
574
574
  return {
575
- subscribe: me(e, t).subscribe
575
+ subscribe: fe(e, t).subscribe
576
576
  };
577
577
  }
578
- function me(e, t = N) {
579
- let r;
580
- const n = /* @__PURE__ */ new Set();
581
- function i(a) {
582
- if (it(e, a) && (e = a, r)) {
583
- const l = !D.length;
584
- for (const o of n)
585
- o[1](), D.push(o, e);
578
+ function fe(e, t = N) {
579
+ let n;
580
+ const r = /* @__PURE__ */ new Set();
581
+ function i(o) {
582
+ if (it(e, o) && (e = o, n)) {
583
+ const l = !U.length;
584
+ for (const u of r)
585
+ u[1](), U.push(u, e);
586
586
  if (l) {
587
- for (let o = 0; o < D.length; o += 2)
588
- D[o][0](D[o + 1]);
589
- D.length = 0;
587
+ for (let u = 0; u < U.length; u += 2)
588
+ U[u][0](U[u + 1]);
589
+ U.length = 0;
590
590
  }
591
591
  }
592
592
  }
593
- function s(a) {
594
- i(a(e));
593
+ function s(o) {
594
+ i(o(e));
595
595
  }
596
- function u(a, l = N) {
597
- const o = [a, l];
598
- return n.add(o), n.size === 1 && (r = t(i, s) || N), a(e), () => {
599
- n.delete(o), n.size === 0 && r && (r(), r = null);
596
+ function a(o, l = N) {
597
+ const u = [o, l];
598
+ return r.add(u), r.size === 1 && (n = t(i, s) || N), o(e), () => {
599
+ r.delete(u), r.size === 0 && n && (n(), n = null);
600
600
  };
601
601
  }
602
- return { set: i, update: s, subscribe: u };
602
+ return { set: i, update: s, subscribe: a };
603
603
  }
604
- function z(e, t, r) {
605
- const n = !Array.isArray(e), i = n ? [e] : e;
604
+ function z(e, t, n) {
605
+ const r = !Array.isArray(e), i = r ? [e] : e;
606
606
  if (!i.every(Boolean))
607
607
  throw new Error("derived() expects stores as input, got a falsy value");
608
608
  const s = t.length < 2;
609
- return er(r, (u, a) => {
609
+ return en(n, (a, o) => {
610
610
  let l = !1;
611
- const o = [];
611
+ const u = [];
612
612
  let h = 0, m = N;
613
613
  const f = () => {
614
614
  if (h)
615
615
  return;
616
616
  m();
617
- const y = t(n ? o[0] : o, u, a);
618
- s ? u(y) : m = $e(y) ? y : N;
617
+ const y = t(r ? u[0] : u, a, o);
618
+ s ? a(y) : m = Me(y) ? y : N;
619
619
  }, b = i.map(
620
620
  (y, _) => st(
621
621
  y,
622
622
  (T) => {
623
- o[_] = T, h &= ~(1 << _), l && f();
623
+ u[_] = T, h &= ~(1 << _), l && f();
624
624
  },
625
625
  () => {
626
626
  h |= 1 << _;
@@ -628,51 +628,51 @@ function z(e, t, r) {
628
628
  )
629
629
  );
630
630
  return l = !0, f(), function() {
631
- W(b), m(), l = !1;
631
+ X(b), m(), l = !1;
632
632
  };
633
633
  });
634
634
  }
635
- function tr(e) {
635
+ function tn(e) {
636
636
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
637
637
  }
638
- var rr = function(t) {
639
- return nr(t) && !ir(t);
638
+ var nn = function(t) {
639
+ return rn(t) && !sn(t);
640
640
  };
641
- function nr(e) {
641
+ function rn(e) {
642
642
  return !!e && typeof e == "object";
643
643
  }
644
- function ir(e) {
644
+ function sn(e) {
645
645
  var t = Object.prototype.toString.call(e);
646
- return t === "[object RegExp]" || t === "[object Date]" || ar(e);
646
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
647
647
  }
648
- var sr = typeof Symbol == "function" && Symbol.for, or = sr ? Symbol.for("react.element") : 60103;
649
- function ar(e) {
650
- return e.$$typeof === or;
648
+ var an = typeof Symbol == "function" && Symbol.for, on = an ? Symbol.for("react.element") : 60103;
649
+ function un(e) {
650
+ return e.$$typeof === on;
651
651
  }
652
- function ur(e) {
652
+ function hn(e) {
653
653
  return Array.isArray(e) ? [] : {};
654
654
  }
655
- function K(e, t) {
656
- return t.clone !== !1 && t.isMergeableObject(e) ? j(ur(e), e, t) : e;
655
+ function Y(e, t) {
656
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(hn(e), e, t) : e;
657
657
  }
658
- function hr(e, t, r) {
659
- return e.concat(t).map(function(n) {
660
- return K(n, r);
658
+ function ln(e, t, n) {
659
+ return e.concat(t).map(function(r) {
660
+ return Y(r, n);
661
661
  });
662
662
  }
663
- function lr(e, t) {
663
+ function fn(e, t) {
664
664
  if (!t.customMerge)
665
- return j;
666
- var r = t.customMerge(e);
667
- return typeof r == "function" ? r : j;
665
+ return F;
666
+ var n = t.customMerge(e);
667
+ return typeof n == "function" ? n : F;
668
668
  }
669
- function fr(e) {
669
+ function cn(e) {
670
670
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
671
671
  return Object.propertyIsEnumerable.call(e, t);
672
672
  }) : [];
673
673
  }
674
674
  function ke(e) {
675
- return Object.keys(e).concat(fr(e));
675
+ return Object.keys(e).concat(cn(e));
676
676
  }
677
677
  function ct(e, t) {
678
678
  try {
@@ -681,187 +681,225 @@ function ct(e, t) {
681
681
  return !1;
682
682
  }
683
683
  }
684
- function cr(e, t) {
684
+ function mn(e, t) {
685
685
  return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
686
686
  }
687
- function mr(e, t, r) {
688
- var n = {};
689
- return r.isMergeableObject(e) && ke(e).forEach(function(i) {
690
- n[i] = K(e[i], r);
687
+ function gn(e, t, n) {
688
+ var r = {};
689
+ return n.isMergeableObject(e) && ke(e).forEach(function(i) {
690
+ r[i] = Y(e[i], n);
691
691
  }), ke(t).forEach(function(i) {
692
- 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));
693
- }), n;
692
+ mn(e, i) || (ct(e, i) && n.isMergeableObject(t[i]) ? r[i] = fn(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
693
+ }), r;
694
694
  }
695
- function j(e, t, r) {
696
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = K;
697
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
698
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : K(t, r);
695
+ function F(e, t, n) {
696
+ n = n || {}, n.arrayMerge = n.arrayMerge || ln, n.isMergeableObject = n.isMergeableObject || nn, n.cloneUnlessOtherwiseSpecified = Y;
697
+ var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
698
+ return s ? r ? n.arrayMerge(e, t, n) : gn(e, t, n) : Y(t, n);
699
699
  }
700
- j.all = function(t, r) {
700
+ F.all = function(t, n) {
701
701
  if (!Array.isArray(t))
702
702
  throw new Error("first argument should be an array");
703
- return t.reduce(function(n, i) {
704
- return j(n, i, r);
703
+ return t.reduce(function(r, i) {
704
+ return F(r, i, n);
705
705
  }, {});
706
706
  };
707
- var gr = j, dr = gr;
708
- const br = /* @__PURE__ */ tr(dr);
709
- var we = function(e, t) {
710
- return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
711
- r.__proto__ = n;
712
- } || function(r, n) {
713
- for (var i in n)
714
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
715
- }, we(e, t);
707
+ var dn = F, bn = dn;
708
+ const pn = /* @__PURE__ */ tn(bn);
709
+ /*! *****************************************************************************
710
+ Copyright (c) Microsoft Corporation.
711
+
712
+ Permission to use, copy, modify, and/or distribute this software for any
713
+ purpose with or without fee is hereby granted.
714
+
715
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
716
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
717
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
718
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
719
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
720
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
721
+ PERFORMANCE OF THIS SOFTWARE.
722
+ ***************************************************************************** */
723
+ var Be = function(e, t) {
724
+ return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
725
+ n.__proto__ = r;
726
+ } || function(n, r) {
727
+ for (var i in r)
728
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
729
+ }, Be(e, t);
716
730
  };
717
- function ge(e, t) {
731
+ function ce(e, t) {
718
732
  if (typeof t != "function" && t !== null)
719
733
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
720
- we(e, t);
721
- function r() {
734
+ Be(e, t);
735
+ function n() {
722
736
  this.constructor = e;
723
737
  }
724
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
725
- }
726
- var C = function() {
727
- return C = Object.assign || function(t) {
728
- for (var r, n = 1, i = arguments.length; n < i; n++) {
729
- r = arguments[n];
730
- for (var s in r)
731
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
738
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
739
+ }
740
+ var E = function() {
741
+ return E = Object.assign || function(t) {
742
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
743
+ n = arguments[r];
744
+ for (var s in n)
745
+ Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
732
746
  }
733
747
  return t;
734
- }, C.apply(this, arguments);
748
+ }, E.apply(this, arguments);
735
749
  };
736
- function pr(e, t) {
737
- var r = {};
738
- for (var n in e)
739
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
750
+ function yn(e, t) {
751
+ var n = {};
752
+ for (var r in e)
753
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
740
754
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
741
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
742
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
743
- return r;
755
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
756
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
757
+ return n;
744
758
  }
745
- function Ee(e, t, r) {
746
- if (r || arguments.length === 2)
747
- for (var n = 0, i = t.length, s; n < i; n++)
748
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
749
- return e.concat(s || Array.prototype.slice.call(t));
759
+ function ci(e) {
760
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
761
+ if (n)
762
+ return n.call(e);
763
+ if (e && typeof e.length == "number")
764
+ return {
765
+ next: function() {
766
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
767
+ }
768
+ };
769
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
750
770
  }
751
- function ve(e, t) {
752
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : vr;
771
+ function mi(e, t) {
772
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
773
+ if (!n)
774
+ return e;
775
+ var r = n.call(e), i, s = [], a;
776
+ try {
777
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
778
+ s.push(i.value);
779
+ } catch (o) {
780
+ a = { error: o };
781
+ } finally {
782
+ try {
783
+ i && !i.done && (n = r.return) && n.call(r);
784
+ } finally {
785
+ if (a)
786
+ throw a.error;
787
+ }
788
+ }
789
+ return s;
790
+ }
791
+ function pe(e, t, n) {
792
+ if (n || arguments.length === 2)
793
+ for (var r = 0, i = t.length, s; r < i; r++)
794
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
795
+ return e.concat(s || t);
796
+ }
797
+ function ye(e, t) {
798
+ var n = t && t.cache ? t.cache : Tn, r = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : vn;
753
799
  return i(e, {
754
- cache: r,
755
- serializer: n
800
+ cache: n,
801
+ serializer: r
756
802
  });
757
803
  }
758
- function yr(e) {
804
+ function En(e) {
759
805
  return e == null || typeof e == "number" || typeof e == "boolean";
760
806
  }
761
- function Er(e, t, r, n) {
762
- var i = yr(n) ? n : r(n), s = t.get(i);
763
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
807
+ function mt(e, t, n, r) {
808
+ var i = En(r) ? r : n(r), s = t.get(i);
809
+ return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
810
+ }
811
+ function gt(e, t, n) {
812
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
813
+ return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
764
814
  }
765
- function mt(e, t, r) {
766
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
767
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
815
+ function $e(e, t, n, r, i) {
816
+ return n.bind(t, e, r, i);
768
817
  }
769
- function gt(e, t, r, n, i) {
770
- return r.bind(t, e, n, i);
818
+ function vn(e, t) {
819
+ var n = e.length === 1 ? mt : gt;
820
+ return $e(e, this, n, t.cache.create(), t.serializer);
771
821
  }
772
- function vr(e, t) {
773
- var r = e.length === 1 ? Er : mt;
774
- return gt(e, this, r, t.cache.create(), t.serializer);
822
+ function _n(e, t) {
823
+ return $e(e, this, gt, t.cache.create(), t.serializer);
775
824
  }
776
- function _r(e, t) {
777
- return gt(e, this, mt, t.cache.create(), t.serializer);
825
+ function xn(e, t) {
826
+ return $e(e, this, mt, t.cache.create(), t.serializer);
778
827
  }
779
- var xr = function() {
828
+ var Hn = function() {
780
829
  return JSON.stringify(arguments);
781
- }, Hr = (
782
- /** @class */
783
- function() {
784
- function e() {
785
- this.cache = /* @__PURE__ */ Object.create(null);
786
- }
787
- return e.prototype.get = function(t) {
788
- return this.cache[t];
789
- }, e.prototype.set = function(t, r) {
790
- this.cache[t] = r;
791
- }, e;
792
- }()
793
- ), Tr = {
830
+ };
831
+ function Ue() {
832
+ this.cache = /* @__PURE__ */ Object.create(null);
833
+ }
834
+ Ue.prototype.get = function(e) {
835
+ return this.cache[e];
836
+ };
837
+ Ue.prototype.set = function(e, t) {
838
+ this.cache[e] = t;
839
+ };
840
+ var Tn = {
794
841
  create: function() {
795
- return new Hr();
842
+ return new Ue();
796
843
  }
797
- }, _e = {
798
- variadic: _r
799
- }, he = function() {
800
- return he = Object.assign || function(t) {
801
- for (var r, n = 1, i = arguments.length; n < i; n++) {
802
- r = arguments[n];
803
- for (var s in r)
804
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
805
- }
806
- return t;
807
- }, he.apply(this, arguments);
808
- };
809
- var d;
844
+ }, Ee = {
845
+ variadic: _n,
846
+ monadic: xn
847
+ }, d;
810
848
  (function(e) {
811
849
  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";
812
850
  })(d || (d = {}));
813
- var E;
851
+ var v;
814
852
  (function(e) {
815
853
  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";
816
- })(E || (E = {}));
817
- var k;
854
+ })(v || (v = {}));
855
+ var j;
818
856
  (function(e) {
819
857
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
820
- })(k || (k = {}));
858
+ })(j || (j = {}));
821
859
  function Ve(e) {
822
- return e.type === E.literal;
860
+ return e.type === v.literal;
823
861
  }
824
- function Sr(e) {
825
- return e.type === E.argument;
862
+ function Sn(e) {
863
+ return e.type === v.argument;
826
864
  }
827
865
  function dt(e) {
828
- return e.type === E.number;
866
+ return e.type === v.number;
829
867
  }
830
868
  function bt(e) {
831
- return e.type === E.date;
869
+ return e.type === v.date;
832
870
  }
833
871
  function pt(e) {
834
- return e.type === E.time;
872
+ return e.type === v.time;
835
873
  }
836
874
  function yt(e) {
837
- return e.type === E.select;
875
+ return e.type === v.select;
838
876
  }
839
877
  function Et(e) {
840
- return e.type === E.plural;
878
+ return e.type === v.plural;
841
879
  }
842
- function Br(e) {
843
- return e.type === E.pound;
880
+ function Bn(e) {
881
+ return e.type === v.pound;
844
882
  }
845
883
  function vt(e) {
846
- return e.type === E.tag;
884
+ return e.type === v.tag;
847
885
  }
848
886
  function _t(e) {
849
- return !!(e && typeof e == "object" && e.type === k.number);
887
+ return !!(e && typeof e == "object" && e.type === j.number);
850
888
  }
851
- function Pe(e) {
852
- return !!(e && typeof e == "object" && e.type === k.dateTime);
889
+ function Ae(e) {
890
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
853
891
  }
854
- 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;
855
- function wr(e) {
892
+ var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
893
+ function wn(e) {
856
894
  var t = {};
857
- return e.replace(Ar, function(r) {
858
- var n = r.length;
859
- switch (r[0]) {
895
+ return e.replace(An, function(n) {
896
+ var r = n.length;
897
+ switch (n[0]) {
860
898
  case "G":
861
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
899
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
862
900
  break;
863
901
  case "y":
864
- t.year = n === 2 ? "2-digit" : "numeric";
902
+ t.year = r === 2 ? "2-digit" : "numeric";
865
903
  break;
866
904
  case "Y":
867
905
  case "u":
@@ -873,30 +911,30 @@ function wr(e) {
873
911
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
874
912
  case "M":
875
913
  case "L":
876
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
914
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
877
915
  break;
878
916
  case "w":
879
917
  case "W":
880
918
  throw new RangeError("`w/W` (week) patterns are not supported");
881
919
  case "d":
882
- t.day = ["numeric", "2-digit"][n - 1];
920
+ t.day = ["numeric", "2-digit"][r - 1];
883
921
  break;
884
922
  case "D":
885
923
  case "F":
886
924
  case "g":
887
925
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
888
926
  case "E":
889
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
927
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
890
928
  break;
891
929
  case "e":
892
- if (n < 4)
930
+ if (r < 4)
893
931
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
894
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
932
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
895
933
  break;
896
934
  case "c":
897
- if (n < 4)
935
+ if (r < 4)
898
936
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
899
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
937
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
900
938
  break;
901
939
  case "a":
902
940
  t.hour12 = !0;
@@ -905,32 +943,32 @@ function wr(e) {
905
943
  case "B":
906
944
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
907
945
  case "h":
908
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
946
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
909
947
  break;
910
948
  case "H":
911
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
949
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
912
950
  break;
913
951
  case "K":
914
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
952
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
915
953
  break;
916
954
  case "k":
917
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
955
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
918
956
  break;
919
957
  case "j":
920
958
  case "J":
921
959
  case "C":
922
960
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
923
961
  case "m":
924
- t.minute = ["numeric", "2-digit"][n - 1];
962
+ t.minute = ["numeric", "2-digit"][r - 1];
925
963
  break;
926
964
  case "s":
927
- t.second = ["numeric", "2-digit"][n - 1];
965
+ t.second = ["numeric", "2-digit"][r - 1];
928
966
  break;
929
967
  case "S":
930
968
  case "A":
931
969
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
932
970
  case "z":
933
- t.timeZoneName = n < 4 ? "short" : "long";
971
+ t.timeZoneName = r < 4 ? "short" : "long";
934
972
  break;
935
973
  case "Z":
936
974
  case "O":
@@ -943,43 +981,33 @@ function wr(e) {
943
981
  return "";
944
982
  }), t;
945
983
  }
946
- var v = function() {
947
- return v = Object.assign || function(t) {
948
- for (var r, n = 1, i = arguments.length; n < i; n++) {
949
- r = arguments[n];
950
- for (var s in r)
951
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
952
- }
953
- return t;
954
- }, v.apply(this, arguments);
955
- };
956
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
957
- function Nr(e) {
984
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
985
+ function Nn(e) {
958
986
  if (e.length === 0)
959
987
  throw new Error("Number skeleton cannot be empty");
960
- for (var t = e.split(Pr).filter(function(f) {
988
+ for (var t = e.split(Pn).filter(function(f) {
961
989
  return f.length > 0;
962
- }), r = [], n = 0, i = t; n < i.length; n++) {
963
- var s = i[n], u = s.split("/");
964
- if (u.length === 0)
990
+ }), n = [], r = 0, i = t; r < i.length; r++) {
991
+ var s = i[r], a = s.split("/");
992
+ if (a.length === 0)
965
993
  throw new Error("Invalid number skeleton");
966
- for (var a = u[0], l = u.slice(1), o = 0, h = l; o < h.length; o++) {
967
- var m = h[o];
994
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
995
+ var m = h[u];
968
996
  if (m.length === 0)
969
997
  throw new Error("Invalid number skeleton");
970
998
  }
971
- r.push({ stem: a, options: l });
999
+ n.push({ stem: o, options: l });
972
1000
  }
973
- return r;
1001
+ return n;
974
1002
  }
975
- function Or(e) {
1003
+ function On(e) {
976
1004
  return e.replace(/^(.*?)-/, "");
977
1005
  }
978
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
979
- function We(e) {
1006
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
1007
+ function ze(e) {
980
1008
  var t = {};
981
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
982
- 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)), "";
1009
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(n, r, i) {
1010
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
983
1011
  }), t;
984
1012
  }
985
1013
  function St(e) {
@@ -1022,27 +1050,27 @@ function St(e) {
1022
1050
  };
1023
1051
  }
1024
1052
  }
1025
- function Lr(e) {
1053
+ function Ln(e) {
1026
1054
  var t;
1027
1055
  if (e[0] === "E" && e[1] === "E" ? (t = {
1028
1056
  notation: "engineering"
1029
1057
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1030
1058
  notation: "scientific"
1031
1059
  }, e = e.slice(1)), t) {
1032
- var r = e.slice(0, 2);
1033
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
1060
+ var n = e.slice(0, 2);
1061
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
1034
1062
  throw new Error("Malformed concise eng/scientific notation");
1035
1063
  t.minimumIntegerDigits = e.length;
1036
1064
  }
1037
1065
  return t;
1038
1066
  }
1039
- function ze(e) {
1040
- var t = {}, r = St(e);
1041
- return r || t;
1067
+ function We(e) {
1068
+ var t = {}, n = St(e);
1069
+ return n || t;
1042
1070
  }
1043
- function Cr(e) {
1044
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1045
- var i = n[r];
1071
+ function Cn(e) {
1072
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1073
+ var i = r[n];
1046
1074
  switch (i.stem) {
1047
1075
  case "percent":
1048
1076
  case "%":
@@ -1064,7 +1092,7 @@ function Cr(e) {
1064
1092
  continue;
1065
1093
  case "measure-unit":
1066
1094
  case "unit":
1067
- t.style = "unit", t.unit = Or(i.options[0]);
1095
+ t.style = "unit", t.unit = On(i.options[0]);
1068
1096
  continue;
1069
1097
  case "compact-short":
1070
1098
  case "K":
@@ -1075,13 +1103,13 @@ function Cr(e) {
1075
1103
  t.notation = "compact", t.compactDisplay = "long";
1076
1104
  continue;
1077
1105
  case "scientific":
1078
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1079
- return v(v({}, l), ze(o));
1106
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1107
+ return E(E({}, l), We(u));
1080
1108
  }, {}));
1081
1109
  continue;
1082
1110
  case "engineering":
1083
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1084
- return v(v({}, l), ze(o));
1111
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1112
+ return E(E({}, l), We(u));
1085
1113
  }, {}));
1086
1114
  continue;
1087
1115
  case "notation-simple":
@@ -1126,8 +1154,8 @@ function Cr(e) {
1126
1154
  case "integer-width":
1127
1155
  if (i.options.length > 1)
1128
1156
  throw new RangeError("integer-width stems only accept a single optional option");
1129
- i.options[0].replace(Ir, function(l, o, h, m, f, b) {
1130
- if (o)
1157
+ i.options[0].replace(In, function(l, u, h, m, f, b) {
1158
+ if (u)
1131
1159
  t.minimumIntegerDigits = h.length;
1132
1160
  else {
1133
1161
  if (m && f)
@@ -1146,25 +1174,25 @@ function Cr(e) {
1146
1174
  if (Xe.test(i.stem)) {
1147
1175
  if (i.options.length > 1)
1148
1176
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1149
- i.stem.replace(Xe, function(l, o, h, m, f, b) {
1150
- return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1177
+ i.stem.replace(Xe, function(l, u, h, m, f, b) {
1178
+ return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1151
1179
  });
1152
1180
  var s = i.options[0];
1153
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), We(s)));
1181
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
1154
1182
  continue;
1155
1183
  }
1156
1184
  if (Ht.test(i.stem)) {
1157
- t = v(v({}, t), We(i.stem));
1185
+ t = E(E({}, t), ze(i.stem));
1158
1186
  continue;
1159
1187
  }
1160
- var u = St(i.stem);
1161
- u && (t = v(v({}, t), u));
1162
- var a = Lr(i.stem);
1163
- a && (t = v(v({}, t), a));
1188
+ var a = St(i.stem);
1189
+ a && (t = E(E({}, t), a));
1190
+ var o = Ln(i.stem);
1191
+ o && (t = E(E({}, t), o));
1164
1192
  }
1165
1193
  return t;
1166
1194
  }
1167
- var se = {
1195
+ var ie = {
1168
1196
  "001": [
1169
1197
  "H",
1170
1198
  "h"
@@ -2579,23 +2607,23 @@ var se = {
2579
2607
  "h"
2580
2608
  ]
2581
2609
  };
2582
- function Mr(e, t) {
2583
- for (var r = "", n = 0; n < e.length; n++) {
2584
- var i = e.charAt(n);
2610
+ function Mn(e, t) {
2611
+ for (var n = "", r = 0; r < e.length; r++) {
2612
+ var i = e.charAt(r);
2585
2613
  if (i === "j") {
2586
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2587
- s++, n++;
2588
- var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Rr(t);
2589
- for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2590
- r += l;
2591
- for (; u-- > 0; )
2592
- r = o + r;
2614
+ for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2615
+ s++, r++;
2616
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rn(t);
2617
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2618
+ n += l;
2619
+ for (; a-- > 0; )
2620
+ n = u + n;
2593
2621
  } else
2594
- i === "J" ? r += "H" : r += i;
2622
+ i === "J" ? n += "H" : n += i;
2595
2623
  }
2596
- return r;
2624
+ return n;
2597
2625
  }
2598
- function Rr(e) {
2626
+ function Rn(e) {
2599
2627
  var t = e.hourCycle;
2600
2628
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2601
2629
  e.hourCycles && // @ts-ignore
@@ -2612,73 +2640,73 @@ function Rr(e) {
2612
2640
  default:
2613
2641
  throw new Error("Invalid hourCycle");
2614
2642
  }
2615
- var r = e.language, n;
2616
- r !== "root" && (n = e.maximize().region);
2617
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2643
+ var n = e.language, r;
2644
+ n !== "root" && (r = e.maximize().region);
2645
+ var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
2618
2646
  return i[0];
2619
2647
  }
2620
- var xe, $r = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
2648
+ var ve, $n = new RegExp("^".concat(xt.source, "*")), Un = new RegExp("".concat(xt.source, "*$"));
2621
2649
  function p(e, t) {
2622
2650
  return { start: e, end: t };
2623
2651
  }
2624
- 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) {
2652
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
2625
2653
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2626
- }, Ne = !0;
2654
+ }, we = !0;
2627
2655
  try {
2628
- var zr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2629
- Ne = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2656
+ var Wn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2657
+ we = ((ve = Wn.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2630
2658
  } catch {
2631
- Ne = !1;
2659
+ we = !1;
2632
2660
  }
2633
- var Ze = Dr ? (
2661
+ var Ze = Dn ? (
2634
2662
  // Native
2635
- function(t, r, n) {
2636
- return t.startsWith(r, n);
2663
+ function(t, n, r) {
2664
+ return t.startsWith(n, r);
2637
2665
  }
2638
2666
  ) : (
2639
2667
  // For IE11
2640
- function(t, r, n) {
2641
- return t.slice(n, n + r.length) === r;
2668
+ function(t, n, r) {
2669
+ return t.slice(r, r + n.length) === n;
2642
2670
  }
2643
- ), Oe = Gr ? String.fromCodePoint : (
2671
+ ), Pe = Gn ? String.fromCodePoint : (
2644
2672
  // IE11
2645
2673
  function() {
2646
- for (var t = [], r = 0; r < arguments.length; r++)
2647
- t[r] = arguments[r];
2648
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2649
- if (u = t[s++], u > 1114111)
2650
- throw RangeError(u + " is not a valid code point");
2651
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2674
+ for (var t = [], n = 0; n < arguments.length; n++)
2675
+ t[n] = arguments[n];
2676
+ for (var r = "", i = t.length, s = 0, a; i > s; ) {
2677
+ if (a = t[s++], a > 1114111)
2678
+ throw RangeError(a + " is not a valid code point");
2679
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2652
2680
  }
2653
- return n;
2681
+ return r;
2654
2682
  }
2655
2683
  ), Qe = (
2656
2684
  // native
2657
- Fr ? Object.fromEntries : (
2685
+ Fn ? Object.fromEntries : (
2658
2686
  // Ponyfill
2659
2687
  function(t) {
2660
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2661
- var s = i[n], u = s[0], a = s[1];
2662
- r[u] = a;
2688
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2689
+ var s = i[r], a = s[0], o = s[1];
2690
+ n[a] = o;
2663
2691
  }
2664
- return r;
2692
+ return n;
2665
2693
  }
2666
2694
  )
2667
- ), Bt = jr ? (
2695
+ ), Bt = jn ? (
2668
2696
  // Native
2669
- function(t, r) {
2670
- return t.codePointAt(r);
2697
+ function(t, n) {
2698
+ return t.codePointAt(n);
2671
2699
  }
2672
2700
  ) : (
2673
2701
  // IE 11
2674
- function(t, r) {
2675
- var n = t.length;
2676
- if (!(r < 0 || r >= n)) {
2677
- var i = t.charCodeAt(r), s;
2678
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2702
+ function(t, n) {
2703
+ var r = t.length;
2704
+ if (!(n < 0 || n >= r)) {
2705
+ var i = t.charCodeAt(n), s;
2706
+ return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2679
2707
  }
2680
2708
  }
2681
- ), Zr = kr ? (
2709
+ ), Zn = kn ? (
2682
2710
  // Native
2683
2711
  function(t) {
2684
2712
  return t.trimStart();
@@ -2686,9 +2714,9 @@ var Ze = Dr ? (
2686
2714
  ) : (
2687
2715
  // Ponyfill
2688
2716
  function(t) {
2689
- return t.replace($r, "");
2717
+ return t.replace($n, "");
2690
2718
  }
2691
- ), Qr = Vr ? (
2719
+ ), Qn = Vn ? (
2692
2720
  // Native
2693
2721
  function(t) {
2694
2722
  return t.trimEnd();
@@ -2696,143 +2724,143 @@ var Ze = Dr ? (
2696
2724
  ) : (
2697
2725
  // Ponyfill
2698
2726
  function(t) {
2699
- return t.replace(Ur, "");
2727
+ return t.replace(Un, "");
2700
2728
  }
2701
2729
  );
2702
2730
  function At(e, t) {
2703
2731
  return new RegExp(e, t);
2704
2732
  }
2705
- var Ie;
2706
- if (Ne) {
2733
+ var Ne;
2734
+ if (we) {
2707
2735
  var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2708
- Ie = function(t, r) {
2709
- var n;
2710
- qe.lastIndex = r;
2736
+ Ne = function(t, n) {
2737
+ var r;
2738
+ qe.lastIndex = n;
2711
2739
  var i = qe.exec(t);
2712
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2740
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2713
2741
  };
2714
2742
  } else
2715
- Ie = function(t, r) {
2716
- for (var n = []; ; ) {
2717
- var i = Bt(t, r);
2718
- if (i === void 0 || wt(i) || Kr(i))
2743
+ Ne = function(t, n) {
2744
+ for (var r = []; ; ) {
2745
+ var i = Bt(t, n);
2746
+ if (i === void 0 || wt(i) || Kn(i))
2719
2747
  break;
2720
- n.push(i), r += i >= 65536 ? 2 : 1;
2748
+ r.push(i), n += i >= 65536 ? 2 : 1;
2721
2749
  }
2722
- return Oe.apply(void 0, n);
2750
+ return Pe.apply(void 0, r);
2723
2751
  };
2724
- var qr = (
2752
+ var qn = (
2725
2753
  /** @class */
2726
2754
  function() {
2727
- function e(t, r) {
2728
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2755
+ function e(t, n) {
2756
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2729
2757
  }
2730
2758
  return e.prototype.parse = function() {
2731
2759
  if (this.offset() !== 0)
2732
2760
  throw Error("parser can only be used once");
2733
2761
  return this.parseMessage(0, "", !1);
2734
- }, e.prototype.parseMessage = function(t, r, n) {
2762
+ }, e.prototype.parseMessage = function(t, n, r) {
2735
2763
  for (var i = []; !this.isEOF(); ) {
2736
2764
  var s = this.char();
2737
2765
  if (s === 123) {
2738
- var u = this.parseArgument(t, n);
2739
- if (u.err)
2740
- return u;
2741
- i.push(u.val);
2766
+ var a = this.parseArgument(t, r);
2767
+ if (a.err)
2768
+ return a;
2769
+ i.push(a.val);
2742
2770
  } else {
2743
2771
  if (s === 125 && t > 0)
2744
2772
  break;
2745
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2746
- var a = this.clonePosition();
2773
+ if (s === 35 && (n === "plural" || n === "selectordinal")) {
2774
+ var o = this.clonePosition();
2747
2775
  this.bump(), i.push({
2748
- type: E.pound,
2749
- location: p(a, this.clonePosition())
2776
+ type: v.pound,
2777
+ location: p(o, this.clonePosition())
2750
2778
  });
2751
2779
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2752
- if (n)
2780
+ if (r)
2753
2781
  break;
2754
2782
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2755
- } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2756
- var u = this.parseTag(t, r);
2757
- if (u.err)
2758
- return u;
2759
- i.push(u.val);
2783
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2784
+ var a = this.parseTag(t, n);
2785
+ if (a.err)
2786
+ return a;
2787
+ i.push(a.val);
2760
2788
  } else {
2761
- var u = this.parseLiteral(t, r);
2762
- if (u.err)
2763
- return u;
2764
- i.push(u.val);
2789
+ var a = this.parseLiteral(t, n);
2790
+ if (a.err)
2791
+ return a;
2792
+ i.push(a.val);
2765
2793
  }
2766
2794
  }
2767
2795
  }
2768
2796
  return { val: i, err: null };
2769
- }, e.prototype.parseTag = function(t, r) {
2770
- var n = this.clonePosition();
2797
+ }, e.prototype.parseTag = function(t, n) {
2798
+ var r = this.clonePosition();
2771
2799
  this.bump();
2772
2800
  var i = this.parseTagName();
2773
2801
  if (this.bumpSpace(), this.bumpIf("/>"))
2774
2802
  return {
2775
2803
  val: {
2776
- type: E.literal,
2804
+ type: v.literal,
2777
2805
  value: "<".concat(i, "/>"),
2778
- location: p(n, this.clonePosition())
2806
+ location: p(r, this.clonePosition())
2779
2807
  },
2780
2808
  err: null
2781
2809
  };
2782
2810
  if (this.bumpIf(">")) {
2783
- var s = this.parseMessage(t + 1, r, !0);
2811
+ var s = this.parseMessage(t + 1, n, !0);
2784
2812
  if (s.err)
2785
2813
  return s;
2786
- var u = s.val, a = this.clonePosition();
2814
+ var a = s.val, o = this.clonePosition();
2787
2815
  if (this.bumpIf("</")) {
2788
- if (this.isEOF() || !Le(this.char()))
2789
- return this.error(d.INVALID_TAG, p(a, this.clonePosition()));
2790
- var l = this.clonePosition(), o = this.parseTagName();
2791
- return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2816
+ if (this.isEOF() || !Oe(this.char()))
2817
+ return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
2818
+ var l = this.clonePosition(), u = this.parseTagName();
2819
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2792
2820
  val: {
2793
- type: E.tag,
2821
+ type: v.tag,
2794
2822
  value: i,
2795
- children: u,
2796
- location: p(n, this.clonePosition())
2823
+ children: a,
2824
+ location: p(r, this.clonePosition())
2797
2825
  },
2798
2826
  err: null
2799
- } : this.error(d.INVALID_TAG, p(a, this.clonePosition())));
2827
+ } : this.error(d.INVALID_TAG, p(o, this.clonePosition())));
2800
2828
  } else
2801
- return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
2829
+ return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
2802
2830
  } else
2803
- return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2831
+ return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
2804
2832
  }, e.prototype.parseTagName = function() {
2805
2833
  var t = this.offset();
2806
- for (this.bump(); !this.isEOF() && Yr(this.char()); )
2834
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
2807
2835
  this.bump();
2808
2836
  return this.message.slice(t, this.offset());
2809
- }, e.prototype.parseLiteral = function(t, r) {
2810
- for (var n = this.clonePosition(), i = ""; ; ) {
2811
- var s = this.tryParseQuote(r);
2837
+ }, e.prototype.parseLiteral = function(t, n) {
2838
+ for (var r = this.clonePosition(), i = ""; ; ) {
2839
+ var s = this.tryParseQuote(n);
2812
2840
  if (s) {
2813
2841
  i += s;
2814
2842
  continue;
2815
2843
  }
2816
- var u = this.tryParseUnquoted(t, r);
2817
- if (u) {
2818
- i += u;
2819
- continue;
2820
- }
2821
- var a = this.tryParseLeftAngleBracket();
2844
+ var a = this.tryParseUnquoted(t, n);
2822
2845
  if (a) {
2823
2846
  i += a;
2824
2847
  continue;
2825
2848
  }
2849
+ var o = this.tryParseLeftAngleBracket();
2850
+ if (o) {
2851
+ i += o;
2852
+ continue;
2853
+ }
2826
2854
  break;
2827
2855
  }
2828
- var l = p(n, this.clonePosition());
2856
+ var l = p(r, this.clonePosition());
2829
2857
  return {
2830
- val: { type: E.literal, value: i, location: l },
2858
+ val: { type: v.literal, value: i, location: l },
2831
2859
  err: null
2832
2860
  };
2833
2861
  }, e.prototype.tryParseLeftAngleBracket = function() {
2834
2862
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2835
- !Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
2863
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
2836
2864
  }, e.prototype.tryParseQuote = function(t) {
2837
2865
  if (this.isEOF() || this.char() !== 39)
2838
2866
  return null;
@@ -2852,114 +2880,114 @@ var qr = (
2852
2880
  return null;
2853
2881
  }
2854
2882
  this.bump();
2855
- var r = [this.char()];
2883
+ var n = [this.char()];
2856
2884
  for (this.bump(); !this.isEOF(); ) {
2857
- var n = this.char();
2858
- if (n === 39)
2885
+ var r = this.char();
2886
+ if (r === 39)
2859
2887
  if (this.peek() === 39)
2860
- r.push(39), this.bump();
2888
+ n.push(39), this.bump();
2861
2889
  else {
2862
2890
  this.bump();
2863
2891
  break;
2864
2892
  }
2865
2893
  else
2866
- r.push(n);
2894
+ n.push(r);
2867
2895
  this.bump();
2868
2896
  }
2869
- return Oe.apply(void 0, r);
2870
- }, e.prototype.tryParseUnquoted = function(t, r) {
2897
+ return Pe.apply(void 0, n);
2898
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2871
2899
  if (this.isEOF())
2872
2900
  return null;
2873
- var n = this.char();
2874
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2875
- }, e.prototype.parseArgument = function(t, r) {
2876
- var n = this.clonePosition();
2901
+ var r = this.char();
2902
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Pe(r));
2903
+ }, e.prototype.parseArgument = function(t, n) {
2904
+ var r = this.clonePosition();
2877
2905
  if (this.bump(), this.bumpSpace(), this.isEOF())
2878
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2906
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2879
2907
  if (this.char() === 125)
2880
- return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
2908
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
2881
2909
  var i = this.parseIdentifierIfPossible().value;
2882
2910
  if (!i)
2883
- return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2911
+ return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2884
2912
  if (this.bumpSpace(), this.isEOF())
2885
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2913
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2886
2914
  switch (this.char()) {
2887
2915
  case 125:
2888
2916
  return this.bump(), {
2889
2917
  val: {
2890
- type: E.argument,
2918
+ type: v.argument,
2891
2919
  // value does not include the opening and closing braces.
2892
2920
  value: i,
2893
- location: p(n, this.clonePosition())
2921
+ location: p(r, this.clonePosition())
2894
2922
  },
2895
2923
  err: null
2896
2924
  };
2897
2925
  case 44:
2898
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2926
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2899
2927
  default:
2900
- return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2928
+ return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2901
2929
  }
2902
2930
  }, e.prototype.parseIdentifierIfPossible = function() {
2903
- var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2931
+ var t = this.clonePosition(), n = this.offset(), r = Ne(this.message, n), i = n + r.length;
2904
2932
  this.bumpTo(i);
2905
- var s = this.clonePosition(), u = p(t, s);
2906
- return { value: n, location: u };
2907
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2908
- var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2909
- switch (a) {
2933
+ var s = this.clonePosition(), a = p(t, s);
2934
+ return { value: r, location: a };
2935
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2936
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2937
+ switch (o) {
2910
2938
  case "":
2911
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(u, l));
2939
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
2912
2940
  case "number":
2913
2941
  case "date":
2914
2942
  case "time": {
2915
2943
  this.bumpSpace();
2916
- var o = null;
2944
+ var u = null;
2917
2945
  if (this.bumpIf(",")) {
2918
2946
  this.bumpSpace();
2919
2947
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2920
2948
  if (m.err)
2921
2949
  return m;
2922
- var f = Qr(m.val);
2950
+ var f = Qn(m.val);
2923
2951
  if (f.length === 0)
2924
2952
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2925
2953
  var b = p(h, this.clonePosition());
2926
- o = { style: f, styleLocation: b };
2954
+ u = { style: f, styleLocation: b };
2927
2955
  }
2928
2956
  var y = this.tryParseArgumentClose(i);
2929
2957
  if (y.err)
2930
2958
  return y;
2931
2959
  var _ = p(i, this.clonePosition());
2932
- if (o && Ze(o?.style, "::", 0)) {
2933
- var T = Zr(o.style.slice(2));
2934
- if (a === "number") {
2935
- var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
2960
+ if (u && Ze(u?.style, "::", 0)) {
2961
+ var T = Zn(u.style.slice(2));
2962
+ if (o === "number") {
2963
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
2936
2964
  return m.err ? m : {
2937
- val: { type: E.number, value: n, location: _, style: m.val },
2965
+ val: { type: v.number, value: r, location: _, style: m.val },
2938
2966
  err: null
2939
2967
  };
2940
2968
  } else {
2941
2969
  if (T.length === 0)
2942
2970
  return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2943
2971
  var w = T;
2944
- this.locale && (w = Mr(T, this.locale));
2972
+ this.locale && (w = Mn(T, this.locale));
2945
2973
  var f = {
2946
- type: k.dateTime,
2974
+ type: j.dateTime,
2947
2975
  pattern: w,
2948
- location: o.styleLocation,
2949
- parsedOptions: this.shouldParseSkeletons ? wr(w) : {}
2950
- }, A = a === "date" ? E.date : E.time;
2976
+ location: u.styleLocation,
2977
+ parsedOptions: this.shouldParseSkeletons ? wn(w) : {}
2978
+ }, A = o === "date" ? v.date : v.time;
2951
2979
  return {
2952
- val: { type: A, value: n, location: _, style: f },
2980
+ val: { type: A, value: r, location: _, style: f },
2953
2981
  err: null
2954
2982
  };
2955
2983
  }
2956
2984
  }
2957
2985
  return {
2958
2986
  val: {
2959
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2960
- value: n,
2987
+ type: o === "number" ? v.number : o === "date" ? v.date : v.time,
2988
+ value: r,
2961
2989
  location: _,
2962
- style: (s = o?.style) !== null && s !== void 0 ? s : null
2990
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2963
2991
  },
2964
2992
  err: null
2965
2993
  };
@@ -2969,10 +2997,10 @@ var qr = (
2969
2997
  case "select": {
2970
2998
  var S = this.clonePosition();
2971
2999
  if (this.bumpSpace(), !this.bumpIf(","))
2972
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, he({}, S)));
3000
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
2973
3001
  this.bumpSpace();
2974
3002
  var P = this.parseIdentifierIfPossible(), x = 0;
2975
- if (a !== "select" && P.value === "offset") {
3003
+ if (o !== "select" && P.value === "offset") {
2976
3004
  if (!this.bumpIf(":"))
2977
3005
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2978
3006
  this.bumpSpace();
@@ -2981,42 +3009,42 @@ var qr = (
2981
3009
  return m;
2982
3010
  this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
2983
3011
  }
2984
- var O = this.tryParsePluralOrSelectOptions(t, a, r, P);
3012
+ var O = this.tryParsePluralOrSelectOptions(t, o, n, P);
2985
3013
  if (O.err)
2986
3014
  return O;
2987
3015
  var y = this.tryParseArgumentClose(i);
2988
3016
  if (y.err)
2989
3017
  return y;
2990
3018
  var c = p(i, this.clonePosition());
2991
- return a === "select" ? {
3019
+ return o === "select" ? {
2992
3020
  val: {
2993
- type: E.select,
2994
- value: n,
3021
+ type: v.select,
3022
+ value: r,
2995
3023
  options: Qe(O.val),
2996
3024
  location: c
2997
3025
  },
2998
3026
  err: null
2999
3027
  } : {
3000
3028
  val: {
3001
- type: E.plural,
3002
- value: n,
3029
+ type: v.plural,
3030
+ value: r,
3003
3031
  options: Qe(O.val),
3004
3032
  offset: x,
3005
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3033
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3006
3034
  location: c
3007
3035
  },
3008
3036
  err: null
3009
3037
  };
3010
3038
  }
3011
3039
  default:
3012
- return this.error(d.INVALID_ARGUMENT_TYPE, p(u, l));
3040
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
3013
3041
  }
3014
3042
  }, e.prototype.tryParseArgumentClose = function(t) {
3015
3043
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3016
3044
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3017
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3018
- var n = this.char();
3019
- switch (n) {
3045
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3046
+ var r = this.char();
3047
+ switch (r) {
3020
3048
  case 39: {
3021
3049
  this.bump();
3022
3050
  var i = this.clonePosition();
@@ -3034,7 +3062,7 @@ var qr = (
3034
3062
  t -= 1;
3035
3063
  else
3036
3064
  return {
3037
- val: this.message.slice(r.offset, this.offset()),
3065
+ val: this.message.slice(n.offset, this.offset()),
3038
3066
  err: null
3039
3067
  };
3040
3068
  break;
@@ -3045,70 +3073,70 @@ var qr = (
3045
3073
  }
3046
3074
  }
3047
3075
  return {
3048
- val: this.message.slice(r.offset, this.offset()),
3076
+ val: this.message.slice(n.offset, this.offset()),
3049
3077
  err: null
3050
3078
  };
3051
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3052
- var n = [];
3079
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3080
+ var r = [];
3053
3081
  try {
3054
- n = Nr(t);
3082
+ r = Nn(t);
3055
3083
  } catch {
3056
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3084
+ return this.error(d.INVALID_NUMBER_SKELETON, n);
3057
3085
  }
3058
3086
  return {
3059
3087
  val: {
3060
- type: k.number,
3061
- tokens: n,
3062
- location: r,
3063
- parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
3088
+ type: j.number,
3089
+ tokens: r,
3090
+ location: n,
3091
+ parsedOptions: this.shouldParseSkeletons ? Cn(r) : {}
3064
3092
  },
3065
3093
  err: null
3066
3094
  };
3067
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3068
- for (var s, u = !1, a = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
3069
- if (o.length === 0) {
3095
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3096
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3097
+ if (u.length === 0) {
3070
3098
  var m = this.clonePosition();
3071
- if (r !== "select" && this.bumpIf("=")) {
3099
+ if (n !== "select" && this.bumpIf("=")) {
3072
3100
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3073
3101
  if (f.err)
3074
3102
  return f;
3075
- h = p(m, this.clonePosition()), o = this.message.slice(m.offset, this.offset());
3103
+ h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3076
3104
  } else
3077
3105
  break;
3078
3106
  }
3079
- if (l.has(o))
3080
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3081
- o === "other" && (u = !0), this.bumpSpace();
3107
+ if (l.has(u))
3108
+ return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3109
+ u === "other" && (a = !0), this.bumpSpace();
3082
3110
  var b = this.clonePosition();
3083
3111
  if (!this.bumpIf("{"))
3084
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3085
- var y = this.parseMessage(t + 1, r, n);
3112
+ return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3113
+ var y = this.parseMessage(t + 1, n, r);
3086
3114
  if (y.err)
3087
3115
  return y;
3088
3116
  var _ = this.tryParseArgumentClose(b);
3089
3117
  if (_.err)
3090
3118
  return _;
3091
- a.push([
3092
- o,
3119
+ o.push([
3120
+ u,
3093
3121
  {
3094
3122
  value: y.val,
3095
3123
  location: p(b, this.clonePosition())
3096
3124
  }
3097
- ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3125
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3098
3126
  }
3099
- 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 && !u ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3100
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3101
- var n = 1, i = this.clonePosition();
3102
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3103
- for (var s = !1, u = 0; !this.isEOF(); ) {
3104
- var a = this.char();
3105
- if (a >= 48 && a <= 57)
3106
- s = !0, u = u * 10 + (a - 48), this.bump();
3127
+ return o.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3128
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3129
+ var r = 1, i = this.clonePosition();
3130
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3131
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3132
+ var o = this.char();
3133
+ if (o >= 48 && o <= 57)
3134
+ s = !0, a = a * 10 + (o - 48), this.bump();
3107
3135
  else
3108
3136
  break;
3109
3137
  }
3110
3138
  var l = p(i, this.clonePosition());
3111
- return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3139
+ return s ? (a *= r, zn(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3112
3140
  }, e.prototype.offset = function() {
3113
3141
  return this.position.offset;
3114
3142
  }, e.prototype.isEOF = function() {
@@ -3123,17 +3151,17 @@ var qr = (
3123
3151
  var t = this.position.offset;
3124
3152
  if (t >= this.message.length)
3125
3153
  throw Error("out of bound");
3126
- var r = Bt(this.message, t);
3127
- if (r === void 0)
3154
+ var n = Bt(this.message, t);
3155
+ if (n === void 0)
3128
3156
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3129
- return r;
3130
- }, e.prototype.error = function(t, r) {
3157
+ return n;
3158
+ }, e.prototype.error = function(t, n) {
3131
3159
  return {
3132
3160
  val: null,
3133
3161
  err: {
3134
3162
  kind: t,
3135
3163
  message: this.message,
3136
- location: r
3164
+ location: n
3137
3165
  }
3138
3166
  };
3139
3167
  }, e.prototype.bump = function() {
@@ -3143,22 +3171,22 @@ var qr = (
3143
3171
  }
3144
3172
  }, e.prototype.bumpIf = function(t) {
3145
3173
  if (Ze(this.message, t, this.offset())) {
3146
- for (var r = 0; r < t.length; r++)
3174
+ for (var n = 0; n < t.length; n++)
3147
3175
  this.bump();
3148
3176
  return !0;
3149
3177
  }
3150
3178
  return !1;
3151
3179
  }, e.prototype.bumpUntil = function(t) {
3152
- var r = this.offset(), n = this.message.indexOf(t, r);
3153
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3180
+ var n = this.offset(), r = this.message.indexOf(t, n);
3181
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3154
3182
  }, e.prototype.bumpTo = function(t) {
3155
3183
  if (this.offset() > t)
3156
3184
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3157
3185
  for (t = Math.min(t, this.message.length); ; ) {
3158
- var r = this.offset();
3159
- if (r === t)
3186
+ var n = this.offset();
3187
+ if (n === t)
3160
3188
  break;
3161
- if (r > t)
3189
+ if (n > t)
3162
3190
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3163
3191
  if (this.bump(), this.isEOF())
3164
3192
  break;
@@ -3169,55 +3197,55 @@ var qr = (
3169
3197
  }, e.prototype.peek = function() {
3170
3198
  if (this.isEOF())
3171
3199
  return null;
3172
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3173
- return n ?? null;
3200
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3201
+ return r ?? null;
3174
3202
  }, e;
3175
3203
  }()
3176
3204
  );
3177
- function Le(e) {
3205
+ function Oe(e) {
3178
3206
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3179
3207
  }
3180
- function Jr(e) {
3181
- return Le(e) || e === 47;
3208
+ function Jn(e) {
3209
+ return Oe(e) || e === 47;
3182
3210
  }
3183
- function Yr(e) {
3211
+ function Yn(e) {
3184
3212
  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;
3185
3213
  }
3186
3214
  function wt(e) {
3187
3215
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3188
3216
  }
3189
- function Kr(e) {
3217
+ function Kn(e) {
3190
3218
  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;
3191
3219
  }
3192
- function Ce(e) {
3220
+ function Ie(e) {
3193
3221
  e.forEach(function(t) {
3194
3222
  if (delete t.location, yt(t) || Et(t))
3195
- for (var r in t.options)
3196
- delete t.options[r].location, Ce(t.options[r].value);
3223
+ for (var n in t.options)
3224
+ delete t.options[n].location, Ie(t.options[n].value);
3197
3225
  else
3198
- dt(t) && _t(t.style) || (bt(t) || pt(t)) && Pe(t.style) ? delete t.style.location : vt(t) && Ce(t.children);
3226
+ dt(t) && _t(t.style) || (bt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : vt(t) && Ie(t.children);
3199
3227
  });
3200
3228
  }
3201
- function en(e, t) {
3202
- t === void 0 && (t = {}), t = he({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3203
- var r = new qr(e, t).parse();
3204
- if (r.err) {
3205
- var n = SyntaxError(d[r.err.kind]);
3206
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3229
+ function er(e, t) {
3230
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3231
+ var n = new qn(e, t).parse();
3232
+ if (n.err) {
3233
+ var r = SyntaxError(d[n.err.kind]);
3234
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3207
3235
  }
3208
- return t?.captureLocation || Ce(r.val), r.val;
3236
+ return t?.captureLocation || Ie(n.val), n.val;
3209
3237
  }
3210
- var V;
3238
+ var k;
3211
3239
  (function(e) {
3212
3240
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3213
- })(V || (V = {}));
3214
- var de = (
3241
+ })(k || (k = {}));
3242
+ var me = (
3215
3243
  /** @class */
3216
3244
  function(e) {
3217
- ge(t, e);
3218
- function t(r, n, i) {
3219
- var s = e.call(this, r) || this;
3220
- return s.code = n, s.originalMessage = i, s;
3245
+ ce(t, e);
3246
+ function t(n, r, i) {
3247
+ var s = e.call(this, n) || this;
3248
+ return s.code = r, s.originalMessage = i, s;
3221
3249
  }
3222
3250
  return t.prototype.toString = function() {
3223
3251
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3226,44 +3254,44 @@ var de = (
3226
3254
  ), Je = (
3227
3255
  /** @class */
3228
3256
  function(e) {
3229
- ge(t, e);
3230
- function t(r, n, i, s) {
3231
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3257
+ ce(t, e);
3258
+ function t(n, r, i, s) {
3259
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3232
3260
  }
3233
3261
  return t;
3234
- }(de)
3235
- ), tn = (
3262
+ }(me)
3263
+ ), tr = (
3236
3264
  /** @class */
3237
3265
  function(e) {
3238
- ge(t, e);
3239
- function t(r, n, i) {
3240
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3266
+ ce(t, e);
3267
+ function t(n, r, i) {
3268
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), k.INVALID_VALUE, i) || this;
3241
3269
  }
3242
3270
  return t;
3243
- }(de)
3244
- ), rn = (
3271
+ }(me)
3272
+ ), nr = (
3245
3273
  /** @class */
3246
3274
  function(e) {
3247
- ge(t, e);
3248
- function t(r, n) {
3249
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3275
+ ce(t, e);
3276
+ function t(n, r) {
3277
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), k.MISSING_VALUE, r) || this;
3250
3278
  }
3251
3279
  return t;
3252
- }(de)
3280
+ }(me)
3253
3281
  ), B;
3254
3282
  (function(e) {
3255
3283
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3256
3284
  })(B || (B = {}));
3257
- function nn(e) {
3258
- return e.length < 2 ? e : e.reduce(function(t, r) {
3259
- var n = t[t.length - 1];
3260
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3285
+ function rr(e) {
3286
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3287
+ var r = t[t.length - 1];
3288
+ return !r || r.type !== B.literal || n.type !== B.literal ? t.push(n) : r.value += n.value, t;
3261
3289
  }, []);
3262
3290
  }
3263
- function sn(e) {
3291
+ function ir(e) {
3264
3292
  return typeof e == "function";
3265
3293
  }
3266
- function ae(e, t, r, n, i, s, u) {
3294
+ function ae(e, t, n, r, i, s, a) {
3267
3295
  if (e.length === 1 && Ve(e[0]))
3268
3296
  return [
3269
3297
  {
@@ -3271,65 +3299,65 @@ function ae(e, t, r, n, i, s, u) {
3271
3299
  value: e[0].value
3272
3300
  }
3273
3301
  ];
3274
- for (var a = [], l = 0, o = e; l < o.length; l++) {
3275
- var h = o[l];
3302
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3303
+ var h = u[l];
3276
3304
  if (Ve(h)) {
3277
- a.push({
3305
+ o.push({
3278
3306
  type: B.literal,
3279
3307
  value: h.value
3280
3308
  });
3281
3309
  continue;
3282
3310
  }
3283
- if (Br(h)) {
3284
- typeof s == "number" && a.push({
3311
+ if (Bn(h)) {
3312
+ typeof s == "number" && o.push({
3285
3313
  type: B.literal,
3286
- value: r.getNumberFormat(t).format(s)
3314
+ value: n.getNumberFormat(t).format(s)
3287
3315
  });
3288
3316
  continue;
3289
3317
  }
3290
3318
  var m = h.value;
3291
3319
  if (!(i && m in i))
3292
- throw new rn(m, u);
3320
+ throw new nr(m, a);
3293
3321
  var f = i[m];
3294
- if (Sr(h)) {
3295
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3322
+ if (Sn(h)) {
3323
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3296
3324
  type: typeof f == "string" ? B.literal : B.object,
3297
3325
  value: f
3298
3326
  });
3299
3327
  continue;
3300
3328
  }
3301
3329
  if (bt(h)) {
3302
- var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3303
- a.push({
3330
+ var b = typeof h.style == "string" ? r.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3331
+ o.push({
3304
3332
  type: B.literal,
3305
- value: r.getDateTimeFormat(t, b).format(f)
3333
+ value: n.getDateTimeFormat(t, b).format(f)
3306
3334
  });
3307
3335
  continue;
3308
3336
  }
3309
3337
  if (pt(h)) {
3310
- var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3311
- a.push({
3338
+ var b = typeof h.style == "string" ? r.time[h.style] : Ae(h.style) ? h.style.parsedOptions : r.time.medium;
3339
+ o.push({
3312
3340
  type: B.literal,
3313
- value: r.getDateTimeFormat(t, b).format(f)
3341
+ value: n.getDateTimeFormat(t, b).format(f)
3314
3342
  });
3315
3343
  continue;
3316
3344
  }
3317
3345
  if (dt(h)) {
3318
- var b = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3319
- b && b.scale && (f = f * (b.scale || 1)), a.push({
3346
+ var b = typeof h.style == "string" ? r.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3347
+ b && b.scale && (f = f * (b.scale || 1)), o.push({
3320
3348
  type: B.literal,
3321
- value: r.getNumberFormat(t, b).format(f)
3349
+ value: n.getNumberFormat(t, b).format(f)
3322
3350
  });
3323
3351
  continue;
3324
3352
  }
3325
3353
  if (vt(h)) {
3326
3354
  var y = h.children, _ = h.value, T = i[_];
3327
- if (!sn(T))
3328
- throw new tn(_, "function", u);
3329
- var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
3355
+ if (!ir(T))
3356
+ throw new tr(_, "function", a);
3357
+ var w = ae(y, t, n, r, i, s), A = T(w.map(function(x) {
3330
3358
  return x.value;
3331
3359
  }));
3332
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(x) {
3360
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
3333
3361
  return {
3334
3362
  type: typeof x == "string" ? B.literal : B.object,
3335
3363
  value: x
@@ -3339,99 +3367,99 @@ function ae(e, t, r, n, i, s, u) {
3339
3367
  if (yt(h)) {
3340
3368
  var S = h.options[f] || h.options.other;
3341
3369
  if (!S)
3342
- throw new Je(h.value, f, Object.keys(h.options), u);
3343
- a.push.apply(a, ae(S.value, t, r, n, i));
3370
+ throw new Je(h.value, f, Object.keys(h.options), a);
3371
+ o.push.apply(o, ae(S.value, t, n, r, i));
3344
3372
  continue;
3345
3373
  }
3346
3374
  if (Et(h)) {
3347
3375
  var S = h.options["=".concat(f)];
3348
3376
  if (!S) {
3349
3377
  if (!Intl.PluralRules)
3350
- throw new de(`Intl.PluralRules is not available in this environment.
3378
+ throw new me(`Intl.PluralRules is not available in this environment.
3351
3379
  Try polyfilling it using "@formatjs/intl-pluralrules"
3352
- `, V.MISSING_INTL_API, u);
3353
- var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3380
+ `, k.MISSING_INTL_API, a);
3381
+ var P = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3354
3382
  S = h.options[P] || h.options.other;
3355
3383
  }
3356
3384
  if (!S)
3357
- throw new Je(h.value, f, Object.keys(h.options), u);
3358
- a.push.apply(a, ae(S.value, t, r, n, i, f - (h.offset || 0)));
3385
+ throw new Je(h.value, f, Object.keys(h.options), a);
3386
+ o.push.apply(o, ae(S.value, t, n, r, i, f - (h.offset || 0)));
3359
3387
  continue;
3360
3388
  }
3361
3389
  }
3362
- return nn(a);
3390
+ return rr(o);
3363
3391
  }
3364
- function on(e, t) {
3365
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3366
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3392
+ function sr(e, t) {
3393
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3394
+ return n[r] = E(E({}, e[r]), t[r] || {}), n;
3367
3395
  }, {})) : e;
3368
3396
  }
3369
- function an(e, t) {
3370
- return t ? Object.keys(e).reduce(function(r, n) {
3371
- return r[n] = on(e[n], t[n]), r;
3372
- }, C({}, e)) : e;
3397
+ function ar(e, t) {
3398
+ return t ? Object.keys(e).reduce(function(n, r) {
3399
+ return n[r] = sr(e[r], t[r]), n;
3400
+ }, E({}, e)) : e;
3373
3401
  }
3374
- function He(e) {
3402
+ function _e(e) {
3375
3403
  return {
3376
3404
  create: function() {
3377
3405
  return {
3378
3406
  get: function(t) {
3379
3407
  return e[t];
3380
3408
  },
3381
- set: function(t, r) {
3382
- e[t] = r;
3409
+ set: function(t, n) {
3410
+ e[t] = n;
3383
3411
  }
3384
3412
  };
3385
3413
  }
3386
3414
  };
3387
3415
  }
3388
- function un(e) {
3416
+ function or(e) {
3389
3417
  return e === void 0 && (e = {
3390
3418
  number: {},
3391
3419
  dateTime: {},
3392
3420
  pluralRules: {}
3393
3421
  }), {
3394
- getNumberFormat: ve(function() {
3395
- for (var t, r = [], n = 0; n < arguments.length; n++)
3396
- r[n] = arguments[n];
3397
- return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3422
+ getNumberFormat: ye(function() {
3423
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3424
+ n[r] = arguments[r];
3425
+ return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], n, !1)))();
3398
3426
  }, {
3399
- cache: He(e.number),
3400
- strategy: _e.variadic
3427
+ cache: _e(e.number),
3428
+ strategy: Ee.variadic
3401
3429
  }),
3402
- getDateTimeFormat: ve(function() {
3403
- for (var t, r = [], n = 0; n < arguments.length; n++)
3404
- r[n] = arguments[n];
3405
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3430
+ getDateTimeFormat: ye(function() {
3431
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3432
+ n[r] = arguments[r];
3433
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], n, !1)))();
3406
3434
  }, {
3407
- cache: He(e.dateTime),
3408
- strategy: _e.variadic
3435
+ cache: _e(e.dateTime),
3436
+ strategy: Ee.variadic
3409
3437
  }),
3410
- getPluralRules: ve(function() {
3411
- for (var t, r = [], n = 0; n < arguments.length; n++)
3412
- r[n] = arguments[n];
3413
- return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3438
+ getPluralRules: ye(function() {
3439
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3440
+ n[r] = arguments[r];
3441
+ return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], n, !1)))();
3414
3442
  }, {
3415
- cache: He(e.pluralRules),
3416
- strategy: _e.variadic
3443
+ cache: _e(e.pluralRules),
3444
+ strategy: Ee.variadic
3417
3445
  })
3418
3446
  };
3419
3447
  }
3420
- var hn = (
3448
+ var ur = (
3421
3449
  /** @class */
3422
3450
  function() {
3423
- function e(t, r, n, i) {
3424
- r === void 0 && (r = e.defaultLocale);
3451
+ function e(t, n, r, i) {
3452
+ n === void 0 && (n = e.defaultLocale);
3425
3453
  var s = this;
3426
3454
  if (this.formatterCache = {
3427
3455
  number: {},
3428
3456
  dateTime: {},
3429
3457
  pluralRules: {}
3430
3458
  }, this.format = function(l) {
3431
- var o = s.formatToParts(l);
3432
- if (o.length === 1)
3433
- return o[0].value;
3434
- var h = o.reduce(function(m, f) {
3459
+ var u = s.formatToParts(l);
3460
+ if (u.length === 1)
3461
+ return u[0].value;
3462
+ var h = u.reduce(function(m, f) {
3435
3463
  return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3436
3464
  }, []);
3437
3465
  return h.length <= 1 ? h[0] || "" : h;
@@ -3444,18 +3472,18 @@ var hn = (
3444
3472
  };
3445
3473
  }, this.getAst = function() {
3446
3474
  return s.ast;
3447
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3475
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3448
3476
  if (this.message = t, !e.__parse)
3449
3477
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3450
- var u = i || {};
3451
- u.formatters;
3452
- var a = pr(u, ["formatters"]);
3453
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3478
+ var a = i || {};
3479
+ a.formatters;
3480
+ var o = yn(a, ["formatters"]);
3481
+ this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3454
3482
  } else
3455
3483
  this.ast = t;
3456
3484
  if (!Array.isArray(this.ast))
3457
3485
  throw new TypeError("A message must be provided as a String or AST.");
3458
- this.formats = an(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3486
+ this.formats = ar(e.formats, r), this.formatters = i && i.formatters || or(this.formatterCache);
3459
3487
  }
3460
3488
  return Object.defineProperty(e, "defaultLocale", {
3461
3489
  get: function() {
@@ -3465,10 +3493,10 @@ var hn = (
3465
3493
  configurable: !0
3466
3494
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3467
3495
  if (!(typeof Intl.Locale > "u")) {
3468
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3469
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3496
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3497
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3470
3498
  }
3471
- }, e.__parse = en, e.formats = {
3499
+ }, e.__parse = er, e.formats = {
3472
3500
  number: {
3473
3501
  integer: {
3474
3502
  maximumFractionDigits: 0
@@ -3529,113 +3557,113 @@ var hn = (
3529
3557
  }, e;
3530
3558
  }()
3531
3559
  );
3532
- function ln(e, t) {
3560
+ function hr(e, t) {
3533
3561
  if (t == null)
3534
3562
  return;
3535
3563
  if (t in e)
3536
3564
  return e[t];
3537
- const r = t.split(".");
3538
- let n = e;
3539
- for (let i = 0; i < r.length; i++)
3540
- if (typeof n == "object") {
3565
+ const n = t.split(".");
3566
+ let r = e;
3567
+ for (let i = 0; i < n.length; i++)
3568
+ if (typeof r == "object") {
3541
3569
  if (i > 0) {
3542
- const s = r.slice(i, r.length).join(".");
3543
- if (s in n) {
3544
- n = n[s];
3570
+ const s = n.slice(i, n.length).join(".");
3571
+ if (s in r) {
3572
+ r = r[s];
3545
3573
  break;
3546
3574
  }
3547
3575
  }
3548
- n = n[r[i]];
3576
+ r = r[n[i]];
3549
3577
  } else
3550
- n = void 0;
3551
- return n;
3578
+ r = void 0;
3579
+ return r;
3552
3580
  }
3553
- const M = {}, fn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Pt = (e, t) => {
3581
+ const C = {}, lr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), Pt = (e, t) => {
3554
3582
  if (t == null)
3555
3583
  return;
3556
- if (t in M && e in M[t])
3557
- return M[t][e];
3558
- const r = be(t);
3559
- for (let n = 0; n < r.length; n++) {
3560
- const i = r[n], s = mn(i, e);
3584
+ if (t in C && e in C[t])
3585
+ return C[t][e];
3586
+ const n = ge(t);
3587
+ for (let r = 0; r < n.length; r++) {
3588
+ const i = n[r], s = cr(i, e);
3561
3589
  if (s)
3562
- return fn(e, t, s);
3590
+ return lr(e, t, s);
3563
3591
  }
3564
3592
  };
3565
3593
  let De;
3566
- const Z = me({});
3567
- function cn(e) {
3594
+ const W = fe({});
3595
+ function fr(e) {
3568
3596
  return De[e] || null;
3569
3597
  }
3570
3598
  function Nt(e) {
3571
3599
  return e in De;
3572
3600
  }
3573
- function mn(e, t) {
3601
+ function cr(e, t) {
3574
3602
  if (!Nt(e))
3575
3603
  return null;
3576
- const r = cn(e);
3577
- return ln(r, t);
3604
+ const n = fr(e);
3605
+ return hr(n, t);
3578
3606
  }
3579
- function gn(e) {
3607
+ function mr(e) {
3580
3608
  if (e == null)
3581
3609
  return;
3582
- const t = be(e);
3583
- for (let r = 0; r < t.length; r++) {
3584
- const n = t[r];
3585
- if (Nt(n))
3586
- return n;
3610
+ const t = ge(e);
3611
+ for (let n = 0; n < t.length; n++) {
3612
+ const r = t[n];
3613
+ if (Nt(r))
3614
+ return r;
3587
3615
  }
3588
3616
  }
3589
- function dn(e, ...t) {
3590
- delete M[e], Z.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
3617
+ function gr(e, ...t) {
3618
+ delete C[e], W.update((n) => (n[e] = pn.all([n[e] || {}, ...t]), n));
3591
3619
  }
3592
3620
  z(
3593
- [Z],
3621
+ [W],
3594
3622
  ([e]) => Object.keys(e)
3595
3623
  );
3596
- Z.subscribe((e) => De = e);
3597
- const ue = {};
3598
- function bn(e, t) {
3599
- ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3624
+ W.subscribe((e) => De = e);
3625
+ const oe = {};
3626
+ function dr(e, t) {
3627
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3600
3628
  }
3601
3629
  function Ot(e) {
3602
- return ue[e];
3630
+ return oe[e];
3603
3631
  }
3604
- function pn(e) {
3605
- return be(e).map((t) => {
3606
- const r = Ot(t);
3607
- return [t, r ? [...r] : []];
3632
+ function br(e) {
3633
+ return ge(e).map((t) => {
3634
+ const n = Ot(t);
3635
+ return [t, n ? [...n] : []];
3608
3636
  }).filter(([, t]) => t.length > 0);
3609
3637
  }
3610
- function Me(e) {
3611
- return e == null ? !1 : be(e).some(
3638
+ function Le(e) {
3639
+ return e == null ? !1 : ge(e).some(
3612
3640
  (t) => {
3613
- var r;
3614
- return (r = Ot(t)) == null ? void 0 : r.size;
3641
+ var n;
3642
+ return (n = Ot(t)) == null ? void 0 : n.size;
3615
3643
  }
3616
3644
  );
3617
3645
  }
3618
- function yn(e, t) {
3646
+ function pr(e, t) {
3619
3647
  return Promise.all(
3620
- t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
3621
- ).then((n) => dn(e, ...n));
3648
+ t.map((r) => (dr(e, r), r().then((i) => i.default || i)))
3649
+ ).then((r) => gr(e, ...r));
3622
3650
  }
3623
- const q = {};
3651
+ const Q = {};
3624
3652
  function It(e) {
3625
- if (!Me(e))
3626
- return e in q ? q[e] : Promise.resolve();
3627
- const t = pn(e);
3628
- return q[e] = Promise.all(
3653
+ if (!Le(e))
3654
+ return e in Q ? Q[e] : Promise.resolve();
3655
+ const t = br(e);
3656
+ return Q[e] = Promise.all(
3629
3657
  t.map(
3630
- ([r, n]) => yn(r, n)
3658
+ ([n, r]) => pr(n, r)
3631
3659
  )
3632
3660
  ).then(() => {
3633
- if (Me(e))
3661
+ if (Le(e))
3634
3662
  return It(e);
3635
- delete q[e];
3636
- }), q[e];
3663
+ delete Q[e];
3664
+ }), Q[e];
3637
3665
  }
3638
- const En = {
3666
+ const yr = {
3639
3667
  number: {
3640
3668
  scientific: { notation: "scientific" },
3641
3669
  engineering: { notation: "engineering" },
@@ -3664,159 +3692,159 @@ const En = {
3664
3692
  timeZoneName: "short"
3665
3693
  }
3666
3694
  }
3667
- }, vn = {
3695
+ }, Er = {
3668
3696
  fallbackLocale: null,
3669
3697
  loadingDelay: 200,
3670
- formats: En,
3698
+ formats: yr,
3671
3699
  warnOnMissingMessages: !0,
3672
3700
  handleMissingMessage: void 0,
3673
3701
  ignoreTag: !0
3674
- }, _n = vn;
3675
- function X() {
3676
- return _n;
3677
- }
3678
- const Te = me(!1);
3679
- 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) => {
3680
- for (var r in t || (t = {}))
3681
- Sn.call(t, r) && Ke(e, r, t[r]);
3702
+ }, vr = Er;
3703
+ function V() {
3704
+ return vr;
3705
+ }
3706
+ const xe = fe(!1);
3707
+ var _r = Object.defineProperty, xr = Object.defineProperties, Hr = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ke = (e, t, n) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Br = (e, t) => {
3708
+ for (var n in t || (t = {}))
3709
+ Tr.call(t, n) && Ke(e, n, t[n]);
3682
3710
  if (Ye)
3683
- for (var r of Ye(t))
3684
- Bn.call(t, r) && Ke(e, r, t[r]);
3711
+ for (var n of Ye(t))
3712
+ Sr.call(t, n) && Ke(e, n, t[n]);
3685
3713
  return e;
3686
- }, wn = (e, t) => Hn(e, Tn(t));
3687
- let Re;
3688
- const le = me(null);
3714
+ }, Ar = (e, t) => xr(e, Hr(t));
3715
+ let Ce;
3716
+ const ue = fe(null);
3689
3717
  function et(e) {
3690
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3718
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3691
3719
  }
3692
- function be(e, t = X().fallbackLocale) {
3693
- const r = et(e);
3694
- return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3720
+ function ge(e, t = V().fallbackLocale) {
3721
+ const n = et(e);
3722
+ return t ? [.../* @__PURE__ */ new Set([...n, ...et(t)])] : n;
3695
3723
  }
3696
- function $() {
3697
- return Re ?? void 0;
3724
+ function R() {
3725
+ return Ce ?? void 0;
3698
3726
  }
3699
- le.subscribe((e) => {
3700
- Re = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3727
+ ue.subscribe((e) => {
3728
+ Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3701
3729
  });
3702
- const Pn = (e) => {
3703
- if (e && gn(e) && Me(e)) {
3704
- const { loadingDelay: t } = X();
3705
- let r;
3706
- return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3707
- () => Te.set(!0),
3730
+ const wr = (e) => {
3731
+ if (e && mr(e) && Le(e)) {
3732
+ const { loadingDelay: t } = V();
3733
+ let n;
3734
+ return typeof window < "u" && R() != null && t ? n = window.setTimeout(
3735
+ () => xe.set(!0),
3708
3736
  t
3709
- ) : Te.set(!0), It(e).then(() => {
3710
- le.set(e);
3737
+ ) : xe.set(!0), It(e).then(() => {
3738
+ ue.set(e);
3711
3739
  }).finally(() => {
3712
- clearTimeout(r), Te.set(!1);
3740
+ clearTimeout(n), xe.set(!1);
3713
3741
  });
3714
3742
  }
3715
- return le.set(e);
3716
- }, R = wn(An({}, le), {
3717
- set: Pn
3718
- }), pe = (e) => {
3743
+ return ue.set(e);
3744
+ }, M = Ar(Br({}, ue), {
3745
+ set: wr
3746
+ }), de = (e) => {
3719
3747
  const t = /* @__PURE__ */ Object.create(null);
3720
- return (n) => {
3721
- const i = JSON.stringify(n);
3722
- return i in t ? t[i] : t[i] = e(n);
3748
+ return (r) => {
3749
+ const i = JSON.stringify(r);
3750
+ return i in t ? t[i] : t[i] = e(r);
3723
3751
  };
3724
3752
  };
3725
- 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) => {
3726
- for (var r in t || (t = {}))
3727
- Lt.call(t, r) && tt(e, r, t[r]);
3728
- if (fe)
3729
- for (var r of fe(t))
3730
- Ct.call(t, r) && tt(e, r, t[r]);
3753
+ var Pr = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
3754
+ for (var n in t || (t = {}))
3755
+ Lt.call(t, n) && tt(e, n, t[n]);
3756
+ if (he)
3757
+ for (var n of he(t))
3758
+ Ct.call(t, n) && tt(e, n, t[n]);
3731
3759
  return e;
3732
- }, Q = (e, t) => {
3733
- var r = {};
3734
- for (var n in e)
3735
- Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3736
- if (e != null && fe)
3737
- for (var n of fe(e))
3738
- t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3739
- return r;
3760
+ }, Z = (e, t) => {
3761
+ var n = {};
3762
+ for (var r in e)
3763
+ Lt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3764
+ if (e != null && he)
3765
+ for (var r of he(e))
3766
+ t.indexOf(r) < 0 && Ct.call(e, r) && (n[r] = e[r]);
3767
+ return n;
3740
3768
  };
3741
- const ee = (e, t) => {
3742
- const { formats: r } = X();
3743
- if (e in r && t in r[e])
3744
- return r[e][t];
3769
+ const K = (e, t) => {
3770
+ const { formats: n } = V();
3771
+ if (e in n && t in n[e])
3772
+ return n[e][t];
3745
3773
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3746
- }, On = pe(
3774
+ }, Nr = de(
3747
3775
  (e) => {
3748
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3749
- if (r == null)
3776
+ var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3777
+ if (n == null)
3750
3778
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3751
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3779
+ return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
3752
3780
  }
3753
- ), In = pe(
3781
+ ), Or = de(
3754
3782
  (e) => {
3755
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3756
- if (r == null)
3783
+ var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3784
+ if (n == null)
3757
3785
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3758
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3786
+ return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
3759
3787
  }
3760
- ), Ln = pe(
3788
+ ), Ir = de(
3761
3789
  (e) => {
3762
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3763
- if (r == null)
3790
+ var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3791
+ if (n == null)
3764
3792
  throw new Error(
3765
3793
  '[svelte-i18n] A "locale" must be set to format time values'
3766
3794
  );
3767
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3795
+ return r ? i = K("time", r) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(n, i);
3768
3796
  }
3769
- ), Cn = (e = {}) => {
3797
+ ), Lr = (e = {}) => {
3770
3798
  var t = e, {
3771
- locale: r = $()
3772
- } = t, n = Q(t, [
3799
+ locale: n = R()
3800
+ } = t, r = Z(t, [
3773
3801
  "locale"
3774
3802
  ]);
3775
- return On(Ge({ locale: r }, n));
3776
- }, Mn = (e = {}) => {
3803
+ return Nr(Ge({ locale: n }, r));
3804
+ }, Cr = (e = {}) => {
3777
3805
  var t = e, {
3778
- locale: r = $()
3779
- } = t, n = Q(t, [
3806
+ locale: n = R()
3807
+ } = t, r = Z(t, [
3780
3808
  "locale"
3781
3809
  ]);
3782
- return In(Ge({ locale: r }, n));
3783
- }, Rn = (e = {}) => {
3810
+ return Or(Ge({ locale: n }, r));
3811
+ }, Mr = (e = {}) => {
3784
3812
  var t = e, {
3785
- locale: r = $()
3786
- } = t, n = Q(t, [
3813
+ locale: n = R()
3814
+ } = t, r = Z(t, [
3787
3815
  "locale"
3788
3816
  ]);
3789
- return Ln(Ge({ locale: r }, n));
3790
- }, $n = pe(
3817
+ return Ir(Ge({ locale: n }, r));
3818
+ }, Rr = de(
3791
3819
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3792
- (e, t = $()) => new hn(e, t, X().formats, {
3793
- ignoreTag: X().ignoreTag
3820
+ (e, t = R()) => new ur(e, t, V().formats, {
3821
+ ignoreTag: V().ignoreTag
3794
3822
  })
3795
- ), Un = (e, t = {}) => {
3796
- var r, n, i, s;
3797
- let u = t;
3798
- typeof e == "object" && (u = e, e = u.id);
3823
+ ), $r = (e, t = {}) => {
3824
+ var n, r, i, s;
3825
+ let a = t;
3826
+ typeof e == "object" && (a = e, e = a.id);
3799
3827
  const {
3800
- values: a,
3801
- locale: l = $(),
3802
- default: o
3803
- } = u;
3828
+ values: o,
3829
+ locale: l = R(),
3830
+ default: u
3831
+ } = a;
3804
3832
  if (l == null)
3805
3833
  throw new Error(
3806
3834
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3807
3835
  );
3808
3836
  let h = Pt(e, l);
3809
3837
  if (!h)
3810
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3838
+ h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3811
3839
  else if (typeof h != "string")
3812
3840
  return console.warn(
3813
3841
  `[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.`
3814
3842
  ), h;
3815
- if (!a)
3843
+ if (!o)
3816
3844
  return h;
3817
3845
  let m = h;
3818
3846
  try {
3819
- m = $n(h, l).format(a);
3847
+ m = Rr(h, l).format(o);
3820
3848
  } catch (f) {
3821
3849
  f instanceof Error && console.warn(
3822
3850
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3824,63 +3852,63 @@ const ee = (e, t) => {
3824
3852
  );
3825
3853
  }
3826
3854
  return m;
3827
- }, 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), mi = z([R, Z], () => Un);
3828
- z([R], () => Dn);
3829
- z([R], () => Gn);
3830
- z([R], () => Fn);
3831
- z([R, Z], () => jn);
3832
- function kn({ withLocale: e, translations: t }) {
3833
- R.subscribe((r) => {
3834
- r == null && (Z.set(t), R.set(e));
3855
+ }, Ur = (e, t) => Mr(t).format(e), Dr = (e, t) => Cr(t).format(e), Gr = (e, t) => Lr(t).format(e), Fr = (e, t = R()) => Pt(e, t), gi = z([M, W], () => $r);
3856
+ z([M], () => Ur);
3857
+ z([M], () => Dr);
3858
+ z([M], () => Gr);
3859
+ z([M, W], () => Fr);
3860
+ function jr({ withLocale: e, translations: t }) {
3861
+ M.subscribe((n) => {
3862
+ n == null && (W.set(t), M.set(e));
3835
3863
  });
3836
3864
  }
3837
- function Vn(e, t) {
3865
+ function kr(e, t) {
3838
3866
  if (e) {
3839
- const r = document.createElement("style");
3840
- r.innerHTML = t, e.appendChild(r);
3867
+ const n = document.createElement("style");
3868
+ n.innerHTML = t, e.appendChild(n);
3841
3869
  }
3842
3870
  }
3843
- function Xn(e, t) {
3844
- const r = new URL(t);
3845
- fetch(r.href).then((n) => n.text()).then((n) => {
3871
+ function Vr(e, t) {
3872
+ const n = new URL(t);
3873
+ fetch(n.href).then((r) => r.text()).then((r) => {
3846
3874
  const i = document.createElement("style");
3847
- i.innerHTML = n, e && e.appendChild(i);
3848
- }).catch((n) => {
3849
- console.error("There was an error while trying to load client styling from URL", n);
3875
+ i.innerHTML = r, e && e.appendChild(i);
3876
+ }).catch((r) => {
3877
+ console.error("There was an error while trying to load client styling from URL", r);
3850
3878
  });
3851
3879
  }
3852
- function Wn(e, t, r) {
3880
+ function Xr(e, t, n) {
3853
3881
  if (window.emMessageBus) {
3854
- const n = document.createElement("style");
3882
+ const r = document.createElement("style");
3855
3883
  window.emMessageBus.subscribe(t, (i) => {
3856
- n.innerHTML = i, e && e.appendChild(n);
3884
+ r.innerHTML = i, e && e.appendChild(r);
3857
3885
  });
3858
3886
  }
3859
3887
  }
3860
3888
  if (typeof window < "u") {
3861
3889
  let e = function(t) {
3862
- return function(...r) {
3890
+ return function(...n) {
3863
3891
  try {
3864
- return t.apply(this, r);
3865
- } catch (n) {
3866
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3892
+ return t.apply(this, n);
3893
+ } catch (r) {
3894
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3867
3895
  return !1;
3868
- throw n;
3896
+ throw r;
3869
3897
  }
3870
3898
  };
3871
3899
  };
3872
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-DswGDv0Y.js").then(({ default: t }) => {
3900
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-D2iAhLZL.js").then(({ default: t }) => {
3873
3901
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
3874
3902
  });
3875
3903
  }
3876
- function zn(e) {
3904
+ function zr(e) {
3877
3905
  $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))}");
3878
3906
  }
3879
- function rt(e) {
3907
+ function nt(e) {
3880
3908
  let t;
3881
3909
  return {
3882
3910
  c() {
3883
- t = re("casino-games-category-section-nd"), g(
3911
+ t = te("casino-games-category-section-nd"), g(
3884
3912
  t,
3885
3913
  "session",
3886
3914
  /*session*/
@@ -3972,172 +4000,172 @@ function rt(e) {
3972
4000
  e[6]
3973
4001
  );
3974
4002
  },
3975
- m(r, n) {
3976
- ce(r, t, n);
4003
+ m(n, r) {
4004
+ le(n, t, r);
3977
4005
  },
3978
- p(r, n) {
3979
- n & /*session*/
4006
+ p(n, r) {
4007
+ r & /*session*/
3980
4008
  16 && g(
3981
4009
  t,
3982
4010
  "session",
3983
4011
  /*session*/
3984
- r[4]
3985
- ), n & /*userid*/
4012
+ n[4]
4013
+ ), r & /*userid*/
3986
4014
  32 && g(
3987
4015
  t,
3988
4016
  "userid",
3989
4017
  /*userid*/
3990
- r[5]
3991
- ), n & /*endpoint*/
4018
+ n[5]
4019
+ ), r & /*endpoint*/
3992
4020
  1 && g(
3993
4021
  t,
3994
4022
  "endpoint",
3995
4023
  /*endpoint*/
3996
- r[0]
3997
- ), n & /*datasource*/
4024
+ n[0]
4025
+ ), r & /*datasource*/
3998
4026
  2 && g(
3999
4027
  t,
4000
4028
  "datasource",
4001
4029
  /*datasource*/
4002
- r[1]
4003
- ), n & /*lang*/
4030
+ n[1]
4031
+ ), r & /*lang*/
4004
4032
  8 && g(
4005
4033
  t,
4006
4034
  "lang",
4007
4035
  /*lang*/
4008
- r[3]
4009
- ), n & /*currency*/
4036
+ n[3]
4037
+ ), r & /*currency*/
4010
4038
  4 && g(
4011
4039
  t,
4012
4040
  "currency",
4013
4041
  /*currency*/
4014
- r[2]
4015
- ), n & /*favorites*/
4042
+ n[2]
4043
+ ), r & /*favorites*/
4016
4044
  32768 && g(
4017
4045
  t,
4018
4046
  "favorites",
4019
4047
  /*favorites*/
4020
- r[15]
4021
- ), n & /*fetchviaevent*/
4048
+ n[15]
4049
+ ), r & /*fetchviaevent*/
4022
4050
  131072 && g(
4023
4051
  t,
4024
4052
  "fetchviaevent",
4025
4053
  /*fetchviaevent*/
4026
- r[17]
4027
- ), n & /*showgamename*/
4054
+ n[17]
4055
+ ), r & /*showgamename*/
4028
4056
  4096 && g(
4029
4057
  t,
4030
4058
  "showgamename",
4031
4059
  /*showgamename*/
4032
- r[12]
4033
- ), n & /*clientstyling*/
4060
+ n[12]
4061
+ ), r & /*clientstyling*/
4034
4062
  128 && g(
4035
4063
  t,
4036
4064
  "clientstyling",
4037
4065
  /*clientstyling*/
4038
- r[7]
4039
- ), n & /*clientstylingurl*/
4066
+ n[7]
4067
+ ), r & /*clientstylingurl*/
4040
4068
  256 && g(
4041
4069
  t,
4042
4070
  "clientstylingurl",
4043
4071
  /*clientstylingurl*/
4044
- r[8]
4045
- ), n & /*livecasino*/
4072
+ n[8]
4073
+ ), r & /*livecasino*/
4046
4074
  512 && g(
4047
4075
  t,
4048
4076
  "livecasino",
4049
4077
  /*livecasino*/
4050
- r[9]
4051
- ), n & /*visiblegames*/
4078
+ n[9]
4079
+ ), r & /*visiblegames*/
4052
4080
  16384 && g(
4053
4081
  t,
4054
4082
  "visiblegames",
4055
4083
  /*visiblegames*/
4056
- r[14]
4057
- ), n & /*gamepagemodalurl*/
4084
+ n[14]
4085
+ ), r & /*gamepagemodalurl*/
4058
4086
  8192 && g(
4059
4087
  t,
4060
4088
  "gamepagemodalurl",
4061
4089
  /*gamepagemodalurl*/
4062
- r[13]
4063
- ), n & /*integratedgameframedesktop*/
4090
+ n[13]
4091
+ ), r & /*integratedgameframedesktop*/
4064
4092
  2048 && g(
4065
4093
  t,
4066
4094
  "integratedgameframedesktop",
4067
4095
  /*integratedgameframedesktop*/
4068
- r[11]
4069
- ), n & /*integratedgameframemobile*/
4096
+ n[11]
4097
+ ), r & /*integratedgameframemobile*/
4070
4098
  1024 && g(
4071
4099
  t,
4072
4100
  "integratedgameframemobile",
4073
4101
  /*integratedgameframemobile*/
4074
- r[10]
4075
- ), n & /*casinomygames*/
4102
+ n[10]
4103
+ ), r & /*casinomygames*/
4076
4104
  65536 && g(
4077
4105
  t,
4078
4106
  "casinomygames",
4079
4107
  /*casinomygames*/
4080
- r[16]
4081
- ), n & /*mbsource*/
4108
+ n[16]
4109
+ ), r & /*mbsource*/
4082
4110
  64 && g(
4083
4111
  t,
4084
4112
  "mbsource",
4085
4113
  /*mbsource*/
4086
- r[6]
4114
+ n[6]
4087
4115
  );
4088
4116
  },
4089
- d(r) {
4090
- r && te(t);
4117
+ d(n) {
4118
+ n && ee(t);
4091
4119
  }
4092
4120
  };
4093
4121
  }
4094
- function Zn(e) {
4095
- let t, r = (
4122
+ function Wr(e) {
4123
+ let t, n = (
4096
4124
  /*session*/
4097
- e[4] && rt(e)
4125
+ e[4] && nt(e)
4098
4126
  );
4099
4127
  return {
4100
4128
  c() {
4101
- t = re("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4129
+ t = te("div"), n && n.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
4102
4130
  },
4103
- m(n, i) {
4104
- ce(n, t, i), r && r.m(t, null), e[19](t);
4131
+ m(r, i) {
4132
+ le(r, t, i), n && n.m(t, null), e[19](t);
4105
4133
  },
4106
- p(n, [i]) {
4134
+ p(r, [i]) {
4107
4135
  /*session*/
4108
- n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4136
+ r[4] ? n ? n.p(r, i) : (n = nt(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
4109
4137
  },
4110
4138
  i: N,
4111
4139
  o: N,
4112
- d(n) {
4113
- n && te(t), r && r.d(), e[19](null);
4140
+ d(r) {
4141
+ r && ee(t), n && n.d(), e[19](null);
4114
4142
  }
4115
4143
  };
4116
4144
  }
4117
- function Qn(e, t, r) {
4118
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { session: a = "" } = t, { userid: l = "" } = t, { mbsource: o } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: w = "" } = t, { favorites: A = "" } = t, { casinomygames: S = "false" } = t, { fetchviaevent: P = "true" } = t, x;
4119
- kn({ withLocale: "en", translations: {} }), kt(() => () => {
4145
+ function Zr(e, t, n) {
4146
+ let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: w = "" } = t, { favorites: A = "" } = t, { casinomygames: S = "false" } = t, { fetchviaevent: P = "true" } = t, x;
4147
+ jr({ withLocale: "en", translations: {} }), kt(() => () => {
4120
4148
  });
4121
4149
  function O(c) {
4122
- Se[c ? "unshift" : "push"](() => {
4123
- x = c, r(18, x);
4150
+ He[c ? "unshift" : "push"](() => {
4151
+ x = c, n(18, x);
4124
4152
  });
4125
4153
  }
4126
4154
  return e.$$set = (c) => {
4127
- "endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, u = c.lang), "session" in c && r(4, a = c.session), "userid" in c && r(5, l = c.userid), "mbsource" in c && r(6, o = c.mbsource), "clientstyling" in c && r(7, h = c.clientstyling), "clientstylingurl" in c && r(8, m = c.clientstylingurl), "livecasino" in c && r(9, f = c.livecasino), "integratedgameframemobile" in c && r(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(11, y = c.integratedgameframedesktop), "showgamename" in c && r(12, _ = c.showgamename), "gamepagemodalurl" in c && r(13, T = c.gamepagemodalurl), "visiblegames" in c && r(14, w = c.visiblegames), "favorites" in c && r(15, A = c.favorites), "casinomygames" in c && r(16, S = c.casinomygames), "fetchviaevent" in c && r(17, P = c.fetchviaevent);
4155
+ "endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, o = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, u = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12, _ = c.showgamename), "gamepagemodalurl" in c && n(13, T = c.gamepagemodalurl), "visiblegames" in c && n(14, w = c.visiblegames), "favorites" in c && n(15, A = c.favorites), "casinomygames" in c && n(16, S = c.casinomygames), "fetchviaevent" in c && n(17, P = c.fetchviaevent);
4128
4156
  }, e.$$.update = () => {
4129
4157
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4130
- 262272 && h && x && Vn(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4131
- 262400 && m && x && Xn(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4132
- 262208 && o && x && Wn(x, `${o}.Style`);
4158
+ 262272 && h && x && kr(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4159
+ 262400 && m && x && Vr(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4160
+ 262208 && u && x && Xr(x, `${u}.Style`);
4133
4161
  }, [
4134
- n,
4162
+ r,
4135
4163
  i,
4136
4164
  s,
4137
- u,
4138
4165
  a,
4139
- l,
4140
4166
  o,
4167
+ l,
4168
+ u,
4141
4169
  h,
4142
4170
  m,
4143
4171
  f,
@@ -4153,13 +4181,13 @@ function Qn(e, t, r) {
4153
4181
  O
4154
4182
  ];
4155
4183
  }
4156
- class qn extends Yt {
4184
+ class Qr extends Yt {
4157
4185
  constructor(t) {
4158
4186
  super(), qt(
4159
4187
  this,
4160
4188
  t,
4161
- Qn,
4162
- Zn,
4189
+ Zr,
4190
+ Wr,
4163
4191
  it,
4164
4192
  {
4165
4193
  endpoint: 0,
@@ -4181,7 +4209,7 @@ class qn extends Yt {
4181
4209
  casinomygames: 16,
4182
4210
  fetchviaevent: 17
4183
4211
  },
4184
- zn
4212
+ zr
4185
4213
  );
4186
4214
  }
4187
4215
  get endpoint() {
@@ -4293,48 +4321,52 @@ class qn extends Yt {
4293
4321
  this.$$set({ fetchviaevent: t }), H();
4294
4322
  }
4295
4323
  }
4296
- Jt(qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4324
+ Jt(Qr, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4297
4325
  export {
4298
- R as $,
4299
- Xn as A,
4300
- Wn as B,
4301
- Jt as C,
4302
- mi as D,
4303
- g as E,
4304
- oi as F,
4305
- ti as G,
4306
- ai as H,
4326
+ M as $,
4327
+ ti as A,
4328
+ ni as B,
4329
+ Yr as C,
4330
+ X as D,
4331
+ ri as E,
4332
+ gi as F,
4333
+ qr as G,
4334
+ g as H,
4307
4335
  si as I,
4308
- hi as J,
4309
- ui as K,
4310
- ci as L,
4311
- fi as M,
4312
- qn as N,
4336
+ ei as J,
4337
+ ai as K,
4338
+ ii as L,
4339
+ ui as M,
4340
+ oi as N,
4341
+ fi as O,
4342
+ li as P,
4343
+ Qr as Q,
4313
4344
  Yt as S,
4314
- Z as a,
4315
- dn as b,
4316
- $t as c,
4317
- te as d,
4318
- ce as e,
4345
+ ci as _,
4346
+ pe as a,
4347
+ mi as b,
4348
+ ce as c,
4349
+ W as d,
4350
+ gr as e,
4319
4351
  H as f,
4320
- re as g,
4321
- Yn as h,
4352
+ Jt as g,
4353
+ $t as h,
4322
4354
  qt as i,
4323
- Se as j,
4324
- Ue as k,
4325
- li as l,
4326
- Kn as m,
4355
+ te as j,
4356
+ le as k,
4357
+ ee as l,
4358
+ Jr as m,
4327
4359
  N as n,
4328
4360
  kt as o,
4329
- ni as p,
4330
- Rt as q,
4331
- W as r,
4361
+ Vr as p,
4362
+ He as q,
4363
+ kr as r,
4332
4364
  it as s,
4333
- ri as t,
4334
- Gt as u,
4335
- ei as v,
4336
- ot as w,
4337
- ii as x,
4338
- Jn as y,
4339
- Vn as z
4365
+ Xr as t,
4366
+ hi as u,
4367
+ Gt as v,
4368
+ Kr as w,
4369
+ at as x,
4370
+ Re as y,
4371
+ Rt as z
4340
4372
  };