@everymatrix/casino-favorites-section 1.76.14 → 1.77.1

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