@everymatrix/casino-favorites-section 1.60.2 → 1.61.0

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