@everymatrix/casino-most-played-section 1.65.0 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/components/{CasinoFilter-Bq-C8l-M.js → CasinoFilter-CZl1cztJ.js} +1011 -990
  2. package/components/CasinoFilter-WNFrQkQJ.cjs +18 -0
  3. package/components/{CasinoFilter-B0BNJSQ7.js → CasinoFilter-fITDy2f1.js} +1058 -1037
  4. package/components/{CasinoGameThumbnail-u9uUP8Ap.js → CasinoGameThumbnail-BS8fymkb.js} +1257 -1273
  5. package/components/{CasinoGameThumbnail-CS5quFo9.js → CasinoGameThumbnail-BaX6mLdw.js} +792 -776
  6. package/components/CasinoGameThumbnail-CYDuVrC6.cjs +47 -0
  7. package/components/{CasinoGamesCategorySection-D9pb3mdE.js → CasinoGamesCategorySection-BDUHWpRS.js} +270 -270
  8. package/components/{CasinoGamesCategorySection-DtYLJAx6.js → CasinoGamesCategorySection-CpdlukEH.js} +272 -272
  9. package/components/{CasinoGamesCategorySection-B76Sqh0d.cjs → CasinoGamesCategorySection-DBm-ji0G.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-CPnZa2j7.js → CasinoMostPlayedSection-8q-NPg0k.js} +30 -30
  11. package/components/{CasinoMostPlayedSection-Ba-gbihQ.js → CasinoMostPlayedSection-D6rDt08U.js} +47 -47
  12. package/components/{CasinoMostPlayedSection-DbcSt0kT.cjs → CasinoMostPlayedSection-cdDHGqS9.cjs} +1 -1
  13. package/components/{CasinoSort-B_UCr0wP.js → CasinoSort-C9ECfUlx.js} +113 -114
  14. package/components/{CasinoSort-Bw1iiWod.cjs → CasinoSort-C_DOIYQz.cjs} +1 -1
  15. package/components/{CasinoSort-TeOrbNuA.js → CasinoSort-b4vaEPet.js} +108 -107
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  21. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  22. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  23. package/stencil/{ui-image-DzutkFSv.cjs → ui-image-CMb1eK44.cjs} +1 -1
  24. package/stencil/{ui-image-BmTbGz5h.js → ui-image-CQQDA5b0.js} +1 -1
  25. package/stencil/{ui-image-CFddgpOe.js → ui-image-CmwNU-jf.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  29. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-B56t6kXT.js} +2 -2
  30. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-BncuYpLi.js} +2 -2
  31. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  32. package/components/CasinoFilter-tW53xiI-.cjs +0 -18
  33. package/components/CasinoGameThumbnail-AqOuE0gT.cjs +0 -47
  34. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  35. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  36. package/stencil/index-97d17652-mbOyENH9.js +0 -542
@@ -1,50 +1,50 @@
1
- function k() {
1
+ function G() {
2
2
  }
3
- function Qt(e) {
3
+ function qt(e) {
4
4
  return e();
5
5
  }
6
- function xt() {
6
+ function Et() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(Qt);
9
+ function Y(e) {
10
+ e.forEach(qt);
11
11
  }
12
- function bt(e) {
12
+ function vt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function qt(e, t) {
15
+ function Yt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Fe;
19
- function Et(e, t) {
19
+ function wt(e, t) {
20
20
  return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
22
  function Rr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Yt(e, ...t) {
25
+ function Kt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return k;
29
+ return G;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Dr(e, t, r) {
35
- e.$$.on_destroy.push(Yt(t, r));
34
+ function $r(e, t, r) {
35
+ e.$$.on_destroy.push(Kt(t, r));
36
36
  }
37
- function v(e, t) {
37
+ function _(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
40
  function Ur(e, t, r) {
41
- const n = $r(e);
41
+ const n = Dr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = B("style");
44
44
  i.id = t, i.textContent = r, Gr(n, i);
45
45
  }
46
46
  }
47
- function $r(e) {
47
+ function Dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,7 +55,7 @@ function $r(e) {
55
55
  ) : e.ownerDocument;
56
56
  }
57
57
  function Gr(e, t) {
58
- return v(
58
+ return _(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
@@ -64,7 +64,7 @@ function Gr(e, t) {
64
64
  function W(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function j(e) {
67
+ function k(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function kr(e, t) {
@@ -74,42 +74,42 @@ function kr(e, t) {
74
74
  function B(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function we(e) {
77
+ function xe(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function G(e) {
80
+ function D(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function X() {
84
- return G(" ");
83
+ function V() {
84
+ return D(" ");
85
85
  }
86
- function _o() {
87
- return G("");
86
+ function xo() {
87
+ return D("");
88
88
  }
89
89
  function Re(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function b(e, t, r) {
92
+ function g(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function xo(e, t, r) {
95
+ function Eo(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
98
98
  }
99
99
  function jr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function Y(e, t) {
102
+ function q(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function wt(e, t) {
106
+ function St(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function Eo(e, t, r) {
109
+ function wo(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class wo {
112
+ class So {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -140,7 +140,7 @@ class wo {
140
140
  * @returns {void}
141
141
  */
142
142
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = we(
143
+ this.e || (this.is_svg ? this.e = xe(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
146
  ) : this.e = B(
@@ -176,7 +176,7 @@ class wo {
176
176
  /**
177
177
  * @returns {void} */
178
178
  d() {
179
- this.n.forEach(j);
179
+ this.n.forEach(k);
180
180
  }
181
181
  }
182
182
  function Vr(e) {
@@ -188,66 +188,66 @@ function Vr(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let Te;
192
- function Se(e) {
193
- Te = e;
191
+ let we;
192
+ function Ee(e) {
193
+ we = e;
194
194
  }
195
- function Kt() {
196
- if (!Te)
195
+ function er() {
196
+ if (!we)
197
197
  throw new Error("Function called outside component initialization");
198
- return Te;
198
+ return we;
199
199
  }
200
200
  function Xr(e) {
201
- Kt().$$.on_mount.push(e);
201
+ er().$$.on_mount.push(e);
202
202
  }
203
- function So(e) {
204
- Kt().$$.on_destroy.push(e);
203
+ function To(e) {
204
+ er().$$.on_destroy.push(e);
205
205
  }
206
- const ce = [], et = [];
206
+ const ce = [], tt = [];
207
207
  let fe = [];
208
- const St = [], er = /* @__PURE__ */ Promise.resolve();
209
- let tt = !1;
210
- function tr() {
211
- tt || (tt = !0, er.then(U));
208
+ const Tt = [], tr = /* @__PURE__ */ Promise.resolve();
209
+ let rt = !1;
210
+ function rr() {
211
+ rt || (rt = !0, tr.then($));
212
212
  }
213
- function To() {
214
- return tr(), er;
213
+ function Ho() {
214
+ return rr(), tr;
215
215
  }
216
- function rt(e) {
216
+ function nt(e) {
217
217
  fe.push(e);
218
218
  }
219
- const We = /* @__PURE__ */ new Set();
219
+ const ze = /* @__PURE__ */ new Set();
220
220
  let ue = 0;
221
- function U() {
221
+ function $() {
222
222
  if (ue !== 0)
223
223
  return;
224
- const e = Te;
224
+ const e = we;
225
225
  do {
226
226
  try {
227
227
  for (; ue < ce.length; ) {
228
228
  const t = ce[ue];
229
- ue++, Se(t), Wr(t.$$);
229
+ ue++, Ee(t), Wr(t.$$);
230
230
  }
231
231
  } catch (t) {
232
232
  throw ce.length = 0, ue = 0, t;
233
233
  }
234
- for (Se(null), ce.length = 0, ue = 0; et.length; )
235
- et.pop()();
234
+ for (Ee(null), ce.length = 0, ue = 0; tt.length; )
235
+ tt.pop()();
236
236
  for (let t = 0; t < fe.length; t += 1) {
237
237
  const r = fe[t];
238
- We.has(r) || (We.add(r), r());
238
+ ze.has(r) || (ze.add(r), r());
239
239
  }
240
240
  fe.length = 0;
241
241
  } while (ce.length);
242
- for (; St.length; )
243
- St.pop()();
244
- tt = !1, We.clear(), Se(e);
242
+ for (; Tt.length; )
243
+ Tt.pop()();
244
+ rt = !1, ze.clear(), Ee(e);
245
245
  }
246
246
  function Wr(e) {
247
247
  if (e.fragment !== null) {
248
- e.update(), K(e.before_update);
248
+ e.update(), Y(e.before_update);
249
249
  const t = e.dirty;
250
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
251
251
  }
252
252
  }
253
253
  function zr(e) {
@@ -255,67 +255,67 @@ function zr(e) {
255
255
  fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
256
256
  }
257
257
  const Zr = /* @__PURE__ */ new Set();
258
- function rr(e, t) {
258
+ function nr(e, t) {
259
259
  e && e.i && (Zr.delete(e), e.i(t));
260
260
  }
261
- function Tt(e) {
261
+ function Ht(e) {
262
262
  return e?.length !== void 0 ? e : Array.from(e);
263
263
  }
264
- function Ho(e, t) {
264
+ function Ao(e, t) {
265
265
  e.d(1), t.delete(e.key);
266
266
  }
267
- function Ao(e, t, r, n, i, o, s, a, h, l, u, d) {
268
- let f = e.length, p = o.length, y = f;
269
- const g = {};
270
- for (; y--; )
271
- g[e[y].key] = y;
272
- const S = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), m = [];
273
- for (y = p; y--; ) {
274
- const A = d(i, o, y), P = r(A);
267
+ function Po(e, t, r, n, i, o, s, a, h, l, u, p) {
268
+ let c = e.length, m = o.length, v = c;
269
+ const y = {};
270
+ for (; v--; )
271
+ y[e[v].key] = v;
272
+ const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
273
+ for (v = m; v--; ) {
274
+ const A = p(i, o, v), P = r(A);
275
275
  let N = s.get(P);
276
- N ? m.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, S[y] = N), P in g && E.set(P, Math.abs(y - g[P]));
276
+ N ? b.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, T[v] = N), P in y && S.set(P, Math.abs(v - y[P]));
277
277
  }
278
- const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
279
- function R(A) {
280
- rr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, p--;
278
+ const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
279
+ function M(A) {
280
+ nr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
281
281
  }
282
- for (; f && p; ) {
283
- const A = S[p - 1], P = e[f - 1], N = A.key, V = P.key;
284
- A === P ? (u = A.first, f--, p--) : H.has(V) ? !s.has(N) || O.has(N) ? R(A) : L.has(V) ? f-- : E.get(N) > E.get(V) ? (L.add(N), R(A)) : (O.add(V), f--) : (h(P, s), f--);
282
+ for (; c && m; ) {
283
+ const A = T[m - 1], P = e[c - 1], N = A.key, z = P.key;
284
+ A === P ? (u = A.first, c--, m--) : H.has(z) ? !s.has(N) || I.has(N) ? M(A) : L.has(z) ? c-- : S.get(N) > S.get(z) ? (L.add(N), M(A)) : (I.add(z), c--) : (h(P, s), c--);
285
285
  }
286
- for (; f--; ) {
287
- const A = e[f];
286
+ for (; c--; ) {
287
+ const A = e[c];
288
288
  H.has(A.key) || h(A, s);
289
289
  }
290
- for (; p; )
291
- R(S[p - 1]);
292
- return K(m), S;
290
+ for (; m; )
291
+ M(T[m - 1]);
292
+ return Y(b), T;
293
293
  }
294
294
  function Jr(e, t, r) {
295
295
  const { fragment: n, after_update: i } = e.$$;
296
- n && n.m(t, r), rt(() => {
297
- const o = e.$$.on_mount.map(Qt).filter(bt);
298
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
299
- }), i.forEach(rt);
296
+ n && n.m(t, r), nt(() => {
297
+ const o = e.$$.on_mount.map(qt).filter(vt);
298
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
299
+ }), i.forEach(nt);
300
300
  }
301
301
  function Qr(e, t) {
302
302
  const r = e.$$;
303
- r.fragment !== null && (zr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (zr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
304
304
  }
305
305
  function qr(e, t) {
306
- e.$$.dirty[0] === -1 && (ce.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
306
+ e.$$.dirty[0] === -1 && (ce.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
307
  }
308
308
  function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
309
- const h = Te;
310
- Se(e);
309
+ const h = we;
310
+ Ee(e);
311
311
  const l = e.$$ = {
312
312
  fragment: null,
313
313
  ctx: [],
314
314
  // state
315
315
  props: o,
316
- update: k,
316
+ update: G,
317
317
  not_equal: i,
318
- bound: xt(),
318
+ bound: Et(),
319
319
  // lifecycle
320
320
  on_mount: [],
321
321
  on_destroy: [],
@@ -324,28 +324,28 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
324
324
  after_update: [],
325
325
  context: new Map(t.context || (h ? h.$$.context : [])),
326
326
  // everything else
327
- callbacks: xt(),
327
+ callbacks: Et(),
328
328
  dirty: a,
329
329
  skip_bound: !1,
330
330
  root: t.target || h.$$.root
331
331
  };
332
332
  s && s(l.root);
333
333
  let u = !1;
334
- if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
335
- const y = p.length ? p[0] : f;
336
- return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), u && qr(e, d)), f;
337
- }) : [], l.update(), u = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
334
+ if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
335
+ const v = m.length ? m[0] : c;
336
+ return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), u && qr(e, p)), c;
337
+ }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
- const d = jr(t.target);
340
- l.fragment && l.fragment.l(d), d.forEach(j);
339
+ const p = jr(t.target);
340
+ l.fragment && l.fragment.l(p), p.forEach(k);
341
341
  } else
342
342
  l.fragment && l.fragment.c();
343
- t.intro && rr(e.$$.fragment), Jr(e, t.target, t.anchor), U();
343
+ t.intro && nr(e.$$.fragment), Jr(e, t.target, t.anchor), $();
344
344
  }
345
- Se(h);
345
+ Ee(h);
346
346
  }
347
- let nr;
348
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
347
+ let ir;
348
+ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
349
349
  /** The Svelte component constructor */
350
350
  $$ctor;
351
351
  /** Slots */
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
387
387
  let o;
388
388
  return {
389
389
  c: function() {
390
- o = B("slot"), i !== "default" && b(o, "name", i);
390
+ o = B("slot"), i !== "default" && g(o, "name", i);
391
391
  },
392
392
  /**
393
393
  * @param {HTMLElement} target
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
397
397
  W(h, o, l);
398
398
  },
399
399
  d: function(h) {
400
- h && j(o);
400
+ h && k(o);
401
401
  }
402
402
  };
403
403
  };
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
409
409
  i in r && (t[i] = [e(i)]);
410
410
  for (const i of this.attributes) {
411
411
  const o = this.$$g_p(i.name);
412
- o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
412
+ o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
413
413
  }
414
414
  for (const i in this.$$p_d)
415
415
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
427
427
  this.$$r = !0;
428
428
  for (const i in this.$$p_d)
429
429
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
430
- const o = Oe(
430
+ const o = Ie(
431
431
  i,
432
432
  this.$$d[i],
433
433
  this.$$p_d,
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
449
449
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
450
450
  // and setting attributes through setAttribute etc, this is helpful
451
451
  attributeChangedCallback(e, t, r) {
452
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
452
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
453
453
  }
454
454
  disconnectedCallback() {
455
455
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
462
462
  ) || e;
463
463
  }
464
464
  });
465
- function Oe(e, t, r, n) {
465
+ function Ie(e, t, r, n) {
466
466
  const i = r[e]?.type;
467
467
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
468
468
  return t;
@@ -492,7 +492,7 @@ function Oe(e, t, r, n) {
492
492
  }
493
493
  }
494
494
  function Kr(e, t, r, n, i, o) {
495
- let s = class extends nr {
495
+ let s = class extends ir {
496
496
  constructor() {
497
497
  super(e, r, i), this.$$p_d = t;
498
498
  }
@@ -508,7 +508,7 @@ function Kr(e, t, r, n, i, o) {
508
508
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
509
509
  },
510
510
  set(h) {
511
- h = Oe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
511
+ h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
512
512
  }
513
513
  });
514
514
  }), n.forEach((a) => {
@@ -539,7 +539,7 @@ class en {
539
539
  $$set = void 0;
540
540
  /** @returns {void} */
541
541
  $destroy() {
542
- Qr(this, 1), this.$destroy = k;
542
+ Qr(this, 1), this.$destroy = G;
543
543
  }
544
544
  /**
545
545
  * @template {Extract<keyof Events, string>} K
@@ -548,8 +548,8 @@ class en {
548
548
  * @returns {() => void}
549
549
  */
550
550
  $on(t, r) {
551
- if (!bt(r))
552
- return k;
551
+ if (!vt(r))
552
+ return G;
553
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
554
554
  return n.push(r), () => {
555
555
  const i = n.indexOf(r);
@@ -580,43 +580,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
580
580
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
581
581
  PERFORMANCE OF THIS SOFTWARE.
582
582
  ***************************************************************************** */
583
- var nt = function(e, t) {
584
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
583
+ var it = function(e, t) {
584
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
585
  r.__proto__ = n;
586
586
  } || function(r, n) {
587
587
  for (var i in n)
588
588
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
589
- }, nt(e, t);
589
+ }, it(e, t);
590
590
  };
591
- function J(e, t) {
591
+ function He(e, t) {
592
592
  if (typeof t != "function" && t !== null)
593
593
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
594
- nt(e, t);
594
+ it(e, t);
595
595
  function r() {
596
596
  this.constructor = e;
597
597
  }
598
598
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
599
599
  }
600
- var w = function() {
601
- return w = Object.assign || function(t) {
602
- for (var r, n = 1, i = arguments.length; n < i; n++) {
603
- r = arguments[n];
604
- for (var o in r)
605
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
606
- }
607
- return t;
608
- }, w.apply(this, arguments);
609
- };
610
- function rn(e, t) {
611
- var r = {};
612
- for (var n in e)
613
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
614
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
615
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
616
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
617
- return r;
618
- }
619
- function it(e) {
600
+ function ot(e) {
620
601
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
621
602
  if (r)
622
603
  return r.call(e);
@@ -628,7 +609,7 @@ function it(e) {
628
609
  };
629
610
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
630
611
  }
631
- function ot(e, t) {
612
+ function st(e, t) {
632
613
  var r = typeof Symbol == "function" && e[Symbol.iterator];
633
614
  if (!r)
634
615
  return e;
@@ -648,8 +629,8 @@ function ot(e, t) {
648
629
  }
649
630
  return o;
650
631
  }
651
- function de(e, t, r) {
652
- if (r || arguments.length === 2)
632
+ function at(e, t, r) {
633
+ if (arguments.length === 2)
653
634
  for (var n = 0, i = t.length, o; n < i; n++)
654
635
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
655
636
  return e.concat(o || t);
@@ -657,13 +638,13 @@ function de(e, t, r) {
657
638
  function Z(e) {
658
639
  return typeof e == "function";
659
640
  }
660
- function ir(e) {
641
+ function or(e) {
661
642
  var t = function(n) {
662
643
  Error.call(n), n.stack = new Error().stack;
663
644
  }, r = e(t);
664
645
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
665
646
  }
666
- var ze = ir(function(e) {
647
+ var Ze = or(function(e) {
667
648
  return function(r) {
668
649
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
669
650
  ` + r.map(function(n, i) {
@@ -672,13 +653,13 @@ var ze = ir(function(e) {
672
653
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
673
654
  };
674
655
  });
675
- function st(e, t) {
656
+ function lt(e, t) {
676
657
  if (e) {
677
658
  var r = e.indexOf(t);
678
659
  0 <= r && e.splice(r, 1);
679
660
  }
680
661
  }
681
- var $e = function() {
662
+ var Ge = function() {
682
663
  function e(t) {
683
664
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
684
665
  }
@@ -690,12 +671,12 @@ var $e = function() {
690
671
  if (s)
691
672
  if (this._parentage = null, Array.isArray(s))
692
673
  try {
693
- for (var a = it(s), h = a.next(); !h.done; h = a.next()) {
674
+ for (var a = ot(s), h = a.next(); !h.done; h = a.next()) {
694
675
  var l = h.value;
695
676
  l.remove(this);
696
677
  }
697
- } catch (g) {
698
- t = { error: g };
678
+ } catch (y) {
679
+ t = { error: y };
699
680
  } finally {
700
681
  try {
701
682
  h && !h.done && (r = a.return) && r.call(a);
@@ -710,26 +691,26 @@ var $e = function() {
710
691
  if (Z(u))
711
692
  try {
712
693
  u();
713
- } catch (g) {
714
- o = g instanceof ze ? g.errors : [g];
694
+ } catch (y) {
695
+ o = y instanceof Ze ? y.errors : [y];
715
696
  }
716
- var d = this._finalizers;
717
- if (d) {
697
+ var p = this._finalizers;
698
+ if (p) {
718
699
  this._finalizers = null;
719
700
  try {
720
- for (var f = it(d), p = f.next(); !p.done; p = f.next()) {
721
- var y = p.value;
701
+ for (var c = ot(p), m = c.next(); !m.done; m = c.next()) {
702
+ var v = m.value;
722
703
  try {
723
- Ht(y);
724
- } catch (g) {
725
- o = o ?? [], g instanceof ze ? o = de(de([], ot(o)), ot(g.errors)) : o.push(g);
704
+ At(v);
705
+ } catch (y) {
706
+ o = o ?? [], y instanceof Ze ? o = at(at([], st(o)), st(y.errors)) : o.push(y);
726
707
  }
727
708
  }
728
- } catch (g) {
729
- n = { error: g };
709
+ } catch (y) {
710
+ n = { error: y };
730
711
  } finally {
731
712
  try {
732
- p && !p.done && (i = f.return) && i.call(f);
713
+ m && !m.done && (i = c.return) && i.call(c);
733
714
  } finally {
734
715
  if (n)
735
716
  throw n.error;
@@ -737,13 +718,13 @@ var $e = function() {
737
718
  }
738
719
  }
739
720
  if (o)
740
- throw new ze(o);
721
+ throw new Ze(o);
741
722
  }
742
723
  }, e.prototype.add = function(t) {
743
724
  var r;
744
725
  if (t && t !== this)
745
726
  if (this.closed)
746
- Ht(t);
727
+ At(t);
747
728
  else {
748
729
  if (t instanceof e) {
749
730
  if (t.closed || t._hasParent(this))
@@ -760,32 +741,28 @@ var $e = function() {
760
741
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
761
742
  }, e.prototype._removeParent = function(t) {
762
743
  var r = this._parentage;
763
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
744
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
764
745
  }, e.prototype.remove = function(t) {
765
746
  var r = this._finalizers;
766
- r && st(r, t), t instanceof e && t._removeParent(this);
747
+ r && lt(r, t), t instanceof e && t._removeParent(this);
767
748
  }, e.EMPTY = function() {
768
749
  var t = new e();
769
750
  return t.closed = !0, t;
770
751
  }(), e;
771
- }(), or = $e.EMPTY;
772
- function sr(e) {
773
- return e instanceof $e || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
752
+ }(), sr = Ge.EMPTY;
753
+ function ar(e) {
754
+ return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
774
755
  }
775
- function Ht(e) {
756
+ function At(e) {
776
757
  Z(e) ? e() : e.unsubscribe();
777
758
  }
778
- var ar = {
779
- onUnhandledError: null,
780
- onStoppedNotification: null,
781
- Promise: void 0,
782
- useDeprecatedSynchronousErrorHandling: !1,
783
- useDeprecatedNextContext: !1
759
+ var rn = {
760
+ Promise: void 0
784
761
  }, nn = {
785
762
  setTimeout: function(e, t) {
786
763
  for (var r = [], n = 2; n < arguments.length; n++)
787
764
  r[n - 2] = arguments[n];
788
- return setTimeout.apply(void 0, de([e, t], ot(r)));
765
+ return setTimeout.apply(void 0, at([e, t], st(r)));
789
766
  },
790
767
  clearTimeout: function(e) {
791
768
  return clearTimeout(e);
@@ -797,19 +774,19 @@ function on(e) {
797
774
  throw e;
798
775
  });
799
776
  }
800
- function At() {
777
+ function Pt() {
801
778
  }
802
779
  function Le(e) {
803
780
  e();
804
781
  }
805
782
  var lr = function(e) {
806
- J(t, e);
783
+ He(t, e);
807
784
  function t(r) {
808
785
  var n = e.call(this) || this;
809
- return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = un, n;
786
+ return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = ln, n;
810
787
  }
811
788
  return t.create = function(r, n, i) {
812
- return new at(r, n, i);
789
+ return new ut(r, n, i);
813
790
  }, t.prototype.next = function(r) {
814
791
  this.isStopped || this._next(r);
815
792
  }, t.prototype.error = function(r) {
@@ -833,11 +810,7 @@ var lr = function(e) {
833
810
  this.unsubscribe();
834
811
  }
835
812
  }, t;
836
- }($e), sn = Function.prototype.bind;
837
- function Ze(e, t) {
838
- return sn.call(e, t);
839
- }
840
- var an = function() {
813
+ }(Ge), sn = function() {
841
814
  function e(t) {
842
815
  this.partialObserver = t;
843
816
  }
@@ -868,55 +841,43 @@ var an = function() {
868
841
  Ce(r);
869
842
  }
870
843
  }, e;
871
- }(), at = function(e) {
872
- J(t, e);
844
+ }(), ut = function(e) {
845
+ He(t, e);
873
846
  function t(r, n, i) {
874
847
  var o = e.call(this) || this, s;
875
- if (Z(r) || !r)
876
- s = {
877
- next: r ?? void 0,
878
- error: n ?? void 0,
879
- complete: i ?? void 0
880
- };
881
- else {
882
- var a;
883
- o && ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
884
- return o.unsubscribe();
885
- }, s = {
886
- next: r.next && Ze(r.next, a),
887
- error: r.error && Ze(r.error, a),
888
- complete: r.complete && Ze(r.complete, a)
889
- }) : s = r;
890
- }
891
- return o.destination = new an(s), o;
848
+ return Z(r) || !r ? s = {
849
+ next: r ?? void 0,
850
+ error: n ?? void 0,
851
+ complete: i ?? void 0
852
+ } : s = r, o.destination = new sn(s), o;
892
853
  }
893
854
  return t;
894
855
  }(lr);
895
856
  function Ce(e) {
896
857
  on(e);
897
858
  }
898
- function ln(e) {
859
+ function an(e) {
899
860
  throw e;
900
861
  }
901
- var un = {
862
+ var ln = {
902
863
  closed: !0,
903
- next: At,
904
- error: ln,
905
- complete: At
906
- }, hn = function() {
864
+ next: Pt,
865
+ error: an,
866
+ complete: Pt
867
+ }, un = function() {
907
868
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
908
869
  }();
909
- function cn(e) {
870
+ function hn(e) {
910
871
  return e;
911
872
  }
912
- function fn(e) {
913
- return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
873
+ function cn(e) {
874
+ return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
914
875
  return e.reduce(function(n, i) {
915
876
  return i(n);
916
877
  }, r);
917
878
  };
918
879
  }
919
- var Pt = function() {
880
+ var Bt = function() {
920
881
  function e(t) {
921
882
  t && (this._subscribe = t);
922
883
  }
@@ -924,7 +885,7 @@ var Pt = function() {
924
885
  var r = new e();
925
886
  return r.source = this, r.operator = t, r;
926
887
  }, e.prototype.subscribe = function(t, r, n) {
927
- var i = this, o = pn(t) ? t : new at(t, r, n);
888
+ var i = this, o = pn(t) ? t : new ut(t, r, n);
928
889
  return Le(function() {
929
890
  var s = i, a = s.operator, h = s.source;
930
891
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -937,8 +898,8 @@ var Pt = function() {
937
898
  }
938
899
  }, e.prototype.forEach = function(t, r) {
939
900
  var n = this;
940
- return r = Bt(r), new r(function(i, o) {
941
- var s = new at({
901
+ return r = Ft(r), new r(function(i, o) {
902
+ var s = new ut({
942
903
  next: function(a) {
943
904
  try {
944
905
  t(a);
@@ -954,15 +915,15 @@ var Pt = function() {
954
915
  }, e.prototype._subscribe = function(t) {
955
916
  var r;
956
917
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
957
- }, e.prototype[hn] = function() {
918
+ }, e.prototype[un] = function() {
958
919
  return this;
959
920
  }, e.prototype.pipe = function() {
960
921
  for (var t = [], r = 0; r < arguments.length; r++)
961
922
  t[r] = arguments[r];
962
- return fn(t)(this);
923
+ return cn(t)(this);
963
924
  }, e.prototype.toPromise = function(t) {
964
925
  var r = this;
965
- return t = Bt(t), new t(function(n, i) {
926
+ return t = Ft(t), new t(function(n, i) {
966
927
  var o;
967
928
  r.subscribe(function(s) {
968
929
  return o = s;
@@ -976,32 +937,32 @@ var Pt = function() {
976
937
  return new e(t);
977
938
  }, e;
978
939
  }();
979
- function Bt(e) {
940
+ function Ft(e) {
980
941
  var t;
981
- return (t = e ?? ar.Promise) !== null && t !== void 0 ? t : Promise;
942
+ return (t = e ?? rn.Promise) !== null && t !== void 0 ? t : Promise;
982
943
  }
983
- function dn(e) {
944
+ function fn(e) {
984
945
  return e && Z(e.next) && Z(e.error) && Z(e.complete);
985
946
  }
986
947
  function pn(e) {
987
- return e && e instanceof lr || dn(e) && sr(e);
948
+ return e && e instanceof lr || fn(e) && ar(e);
988
949
  }
989
- var mn = ir(function(e) {
950
+ var dn = or(function(e) {
990
951
  return function() {
991
952
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
992
953
  };
993
954
  }), ur = function(e) {
994
- J(t, e);
955
+ He(t, e);
995
956
  function t() {
996
957
  var r = e.call(this) || this;
997
958
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
998
959
  }
999
960
  return t.prototype.lift = function(r) {
1000
- var n = new Ft(this, this);
961
+ var n = new Ct(this, this);
1001
962
  return n.operator = r, n;
1002
963
  }, t.prototype._throwIfClosed = function() {
1003
964
  if (this.closed)
1004
- throw new mn();
965
+ throw new dn();
1005
966
  }, t.prototype.next = function(r) {
1006
967
  var n = this;
1007
968
  Le(function() {
@@ -1009,7 +970,7 @@ var mn = ir(function(e) {
1009
970
  if (n._throwIfClosed(), !n.isStopped) {
1010
971
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1011
972
  try {
1012
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
973
+ for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1013
974
  var h = a.value;
1014
975
  h.next(r);
1015
976
  }
@@ -1058,20 +1019,20 @@ var mn = ir(function(e) {
1058
1019
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1059
1020
  }, t.prototype._innerSubscribe = function(r) {
1060
1021
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1061
- return o || s ? or : (this.currentObservers = null, a.push(r), new $e(function() {
1062
- n.currentObservers = null, st(a, r);
1022
+ return o || s ? sr : (this.currentObservers = null, a.push(r), new Ge(function() {
1023
+ n.currentObservers = null, lt(a, r);
1063
1024
  }));
1064
1025
  }, t.prototype._checkFinalizedStatuses = function(r) {
1065
1026
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1066
1027
  i ? r.error(o) : s && r.complete();
1067
1028
  }, t.prototype.asObservable = function() {
1068
- var r = new Pt();
1029
+ var r = new Bt();
1069
1030
  return r.source = this, r;
1070
1031
  }, t.create = function(r, n) {
1071
- return new Ft(r, n);
1032
+ return new Ct(r, n);
1072
1033
  }, t;
1073
- }(Pt), Ft = function(e) {
1074
- J(t, e);
1034
+ }(Bt), Ct = function(e) {
1035
+ He(t, e);
1075
1036
  function t(r, n) {
1076
1037
  var i = e.call(this) || this;
1077
1038
  return i.destination = r, i.source = n, i;
@@ -1087,15 +1048,15 @@ var mn = ir(function(e) {
1087
1048
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1088
1049
  }, t.prototype._subscribe = function(r) {
1089
1050
  var n, i;
1090
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
1051
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
1091
1052
  }, t;
1092
1053
  }(ur), hr = {
1093
1054
  now: function() {
1094
1055
  return (hr.delegate || Date).now();
1095
1056
  },
1096
1057
  delegate: void 0
1097
- }, bn = function(e) {
1098
- J(t, e);
1058
+ }, mn = function(e) {
1059
+ He(t, e);
1099
1060
  function t(r, n, i) {
1100
1061
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1101
1062
  var o = e.call(this) || this;
@@ -1118,23 +1079,23 @@ var mn = ir(function(e) {
1118
1079
  }
1119
1080
  }, t;
1120
1081
  }(ur);
1121
- const Ct = [], It = {}, gn = (e, t = 0) => {
1122
- if (Ct.indexOf(e) == -1) {
1123
- const r = new bn(t);
1124
- It[e] = r, Ct.push(e);
1082
+ const Ot = [], It = {}, bn = (e, t = 0) => {
1083
+ if (Ot.indexOf(e) == -1) {
1084
+ const r = new mn(t);
1085
+ It[e] = r, Ot.push(e);
1125
1086
  }
1126
1087
  return It[e];
1127
1088
  }, he = [];
1128
- function yn(e, t) {
1089
+ function gn(e, t) {
1129
1090
  return {
1130
- subscribe: Ge(e, t).subscribe
1091
+ subscribe: ke(e, t).subscribe
1131
1092
  };
1132
1093
  }
1133
- function Ge(e, t = k) {
1094
+ function ke(e, t = G) {
1134
1095
  let r;
1135
1096
  const n = /* @__PURE__ */ new Set();
1136
1097
  function i(a) {
1137
- if (qt(e, a) && (e = a, r)) {
1098
+ if (Yt(e, a) && (e = a, r)) {
1138
1099
  const h = !he.length;
1139
1100
  for (const l of n)
1140
1101
  l[1](), he.push(l, e);
@@ -1148,86 +1109,86 @@ function Ge(e, t = k) {
1148
1109
  function o(a) {
1149
1110
  i(a(e));
1150
1111
  }
1151
- function s(a, h = k) {
1112
+ function s(a, h = G) {
1152
1113
  const l = [a, h];
1153
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1114
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1154
1115
  n.delete(l), n.size === 0 && r && (r(), r = null);
1155
1116
  };
1156
1117
  }
1157
1118
  return { set: i, update: o, subscribe: s };
1158
1119
  }
1159
- function ye(e, t, r) {
1120
+ function ge(e, t, r) {
1160
1121
  const n = !Array.isArray(e), i = n ? [e] : e;
1161
1122
  if (!i.every(Boolean))
1162
1123
  throw new Error("derived() expects stores as input, got a falsy value");
1163
1124
  const o = t.length < 2;
1164
- return yn(r, (s, a) => {
1125
+ return gn(r, (s, a) => {
1165
1126
  let h = !1;
1166
1127
  const l = [];
1167
- let u = 0, d = k;
1168
- const f = () => {
1128
+ let u = 0, p = G;
1129
+ const c = () => {
1169
1130
  if (u)
1170
1131
  return;
1171
- d();
1172
- const y = t(n ? l[0] : l, s, a);
1173
- o ? s(y) : d = bt(y) ? y : k;
1174
- }, p = i.map(
1175
- (y, g) => Yt(
1176
- y,
1177
- (S) => {
1178
- l[g] = S, u &= ~(1 << g), h && f();
1132
+ p();
1133
+ const v = t(n ? l[0] : l, s, a);
1134
+ o ? s(v) : p = vt(v) ? v : G;
1135
+ }, m = i.map(
1136
+ (v, y) => Kt(
1137
+ v,
1138
+ (T) => {
1139
+ l[y] = T, u &= ~(1 << y), h && c();
1179
1140
  },
1180
1141
  () => {
1181
- u |= 1 << g;
1142
+ u |= 1 << y;
1182
1143
  }
1183
1144
  )
1184
1145
  );
1185
- return h = !0, f(), function() {
1186
- K(p), d(), h = !1;
1146
+ return h = !0, c(), function() {
1147
+ Y(m), p(), h = !1;
1187
1148
  };
1188
1149
  });
1189
1150
  }
1190
- function vn(e) {
1151
+ function yn(e) {
1191
1152
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1192
1153
  }
1193
- var _n = function(t) {
1194
- return xn(t) && !En(t);
1154
+ var vn = function(t) {
1155
+ return _n(t) && !xn(t);
1195
1156
  };
1196
- function xn(e) {
1157
+ function _n(e) {
1197
1158
  return !!e && typeof e == "object";
1198
1159
  }
1199
- function En(e) {
1160
+ function xn(e) {
1200
1161
  var t = Object.prototype.toString.call(e);
1201
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1162
+ return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1202
1163
  }
1203
- var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
1204
- function Tn(e) {
1205
- return e.$$typeof === Sn;
1164
+ var En = typeof Symbol == "function" && Symbol.for, wn = En ? Symbol.for("react.element") : 60103;
1165
+ function Sn(e) {
1166
+ return e.$$typeof === wn;
1206
1167
  }
1207
- function Hn(e) {
1168
+ function Tn(e) {
1208
1169
  return Array.isArray(e) ? [] : {};
1209
1170
  }
1210
- function He(e, t) {
1211
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Hn(e), e, t) : e;
1171
+ function Se(e, t) {
1172
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(Tn(e), e, t) : e;
1212
1173
  }
1213
- function An(e, t, r) {
1174
+ function Hn(e, t, r) {
1214
1175
  return e.concat(t).map(function(n) {
1215
- return He(n, r);
1176
+ return Se(n, r);
1216
1177
  });
1217
1178
  }
1218
- function Pn(e, t) {
1179
+ function An(e, t) {
1219
1180
  if (!t.customMerge)
1220
1181
  return pe;
1221
1182
  var r = t.customMerge(e);
1222
1183
  return typeof r == "function" ? r : pe;
1223
1184
  }
1224
- function Bn(e) {
1185
+ function Pn(e) {
1225
1186
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1226
1187
  return Object.propertyIsEnumerable.call(e, t);
1227
1188
  }) : [];
1228
1189
  }
1229
- function Ot(e) {
1230
- return Object.keys(e).concat(Bn(e));
1190
+ function Lt(e) {
1191
+ return Object.keys(e).concat(Pn(e));
1231
1192
  }
1232
1193
  function cr(e, t) {
1233
1194
  try {
@@ -1236,21 +1197,21 @@ function cr(e, t) {
1236
1197
  return !1;
1237
1198
  }
1238
1199
  }
1239
- function Fn(e, t) {
1200
+ function Bn(e, t) {
1240
1201
  return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1241
1202
  }
1242
- function Cn(e, t, r) {
1203
+ function Fn(e, t, r) {
1243
1204
  var n = {};
1244
- return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1245
- n[i] = He(e[i], r);
1246
- }), Ot(t).forEach(function(i) {
1247
- Fn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1205
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1206
+ n[i] = Se(e[i], r);
1207
+ }), Lt(t).forEach(function(i) {
1208
+ Bn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1248
1209
  }), n;
1249
1210
  }
1250
1211
  function pe(e, t, r) {
1251
- r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = He;
1212
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = Se;
1252
1213
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1253
- return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : He(t, r);
1214
+ return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Se(t, r);
1254
1215
  }
1255
1216
  pe.all = function(t, r) {
1256
1217
  if (!Array.isArray(t))
@@ -1259,10 +1220,52 @@ pe.all = function(t, r) {
1259
1220
  return pe(n, i, r);
1260
1221
  }, {});
1261
1222
  };
1262
- var In = pe, On = In;
1263
- const Ln = /* @__PURE__ */ vn(On);
1264
- function Je(e, t) {
1265
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Mn;
1223
+ var Cn = pe, On = Cn;
1224
+ const In = /* @__PURE__ */ yn(On);
1225
+ var ht = function(e, t) {
1226
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1227
+ r.__proto__ = n;
1228
+ } || function(r, n) {
1229
+ for (var i in n)
1230
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1231
+ }, ht(e, t);
1232
+ };
1233
+ function je(e, t) {
1234
+ if (typeof t != "function" && t !== null)
1235
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1236
+ ht(e, t);
1237
+ function r() {
1238
+ this.constructor = e;
1239
+ }
1240
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1241
+ }
1242
+ var X = function() {
1243
+ return X = Object.assign || function(t) {
1244
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
+ r = arguments[n];
1246
+ for (var o in r)
1247
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1248
+ }
1249
+ return t;
1250
+ }, X.apply(this, arguments);
1251
+ };
1252
+ function Ln(e, t) {
1253
+ var r = {};
1254
+ for (var n in e)
1255
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1256
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1257
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1258
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1259
+ return r;
1260
+ }
1261
+ function Je(e, t, r) {
1262
+ if (r || arguments.length === 2)
1263
+ for (var n = 0, i = t.length, o; n < i; n++)
1264
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1265
+ return e.concat(o || Array.prototype.slice.call(t));
1266
+ }
1267
+ function Qe(e, t) {
1268
+ var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1266
1269
  return i(e, {
1267
1270
  cache: r,
1268
1271
  serializer: n
@@ -1271,95 +1274,103 @@ function Je(e, t) {
1271
1274
  function Nn(e) {
1272
1275
  return e == null || typeof e == "number" || typeof e == "boolean";
1273
1276
  }
1274
- function fr(e, t, r, n) {
1277
+ function Mn(e, t, r, n) {
1275
1278
  var i = Nn(n) ? n : r(n), o = t.get(i);
1276
1279
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1277
1280
  }
1278
- function dr(e, t, r) {
1281
+ function fr(e, t, r) {
1279
1282
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1280
1283
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1281
1284
  }
1282
- function gt(e, t, r, n, i) {
1285
+ function pr(e, t, r, n, i) {
1283
1286
  return r.bind(t, e, n, i);
1284
1287
  }
1285
- function Mn(e, t) {
1286
- var r = e.length === 1 ? fr : dr;
1287
- return gt(e, this, r, t.cache.create(), t.serializer);
1288
- }
1289
1288
  function Rn(e, t) {
1290
- return gt(e, this, dr, t.cache.create(), t.serializer);
1289
+ var r = e.length === 1 ? Mn : fr;
1290
+ return pr(e, this, r, t.cache.create(), t.serializer);
1291
1291
  }
1292
- function Dn(e, t) {
1293
- return gt(e, this, fr, t.cache.create(), t.serializer);
1292
+ function $n(e, t) {
1293
+ return pr(e, this, fr, t.cache.create(), t.serializer);
1294
1294
  }
1295
1295
  var Un = function() {
1296
1296
  return JSON.stringify(arguments);
1297
- };
1298
- function yt() {
1299
- this.cache = /* @__PURE__ */ Object.create(null);
1300
- }
1301
- yt.prototype.get = function(e) {
1302
- return this.cache[e];
1303
- };
1304
- yt.prototype.set = function(e, t) {
1305
- this.cache[e] = t;
1306
- };
1307
- var $n = {
1297
+ }, Dn = (
1298
+ /** @class */
1299
+ function() {
1300
+ function e() {
1301
+ this.cache = /* @__PURE__ */ Object.create(null);
1302
+ }
1303
+ return e.prototype.get = function(t) {
1304
+ return this.cache[t];
1305
+ }, e.prototype.set = function(t, r) {
1306
+ this.cache[t] = r;
1307
+ }, e;
1308
+ }()
1309
+ ), Gn = {
1308
1310
  create: function() {
1309
- return new yt();
1311
+ return new Dn();
1310
1312
  }
1311
- }, Qe = {
1312
- variadic: Rn,
1313
- monadic: Dn
1314
- }, _;
1313
+ }, qe = {
1314
+ variadic: $n
1315
+ }, $e = function() {
1316
+ return $e = Object.assign || function(t) {
1317
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1318
+ r = arguments[n];
1319
+ for (var o in r)
1320
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1321
+ }
1322
+ return t;
1323
+ }, $e.apply(this, arguments);
1324
+ };
1325
+ var E;
1315
1326
  (function(e) {
1316
1327
  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";
1317
- })(_ || (_ = {}));
1318
- var C;
1328
+ })(E || (E = {}));
1329
+ var F;
1319
1330
  (function(e) {
1320
1331
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1321
- })(C || (C = {}));
1322
- var me;
1332
+ })(F || (F = {}));
1333
+ var de;
1323
1334
  (function(e) {
1324
1335
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1325
- })(me || (me = {}));
1326
- function Lt(e) {
1327
- return e.type === C.literal;
1336
+ })(de || (de = {}));
1337
+ function Nt(e) {
1338
+ return e.type === F.literal;
1328
1339
  }
1329
- function Gn(e) {
1330
- return e.type === C.argument;
1340
+ function kn(e) {
1341
+ return e.type === F.argument;
1331
1342
  }
1332
- function pr(e) {
1333
- return e.type === C.number;
1343
+ function dr(e) {
1344
+ return e.type === F.number;
1334
1345
  }
1335
1346
  function mr(e) {
1336
- return e.type === C.date;
1347
+ return e.type === F.date;
1337
1348
  }
1338
1349
  function br(e) {
1339
- return e.type === C.time;
1350
+ return e.type === F.time;
1340
1351
  }
1341
1352
  function gr(e) {
1342
- return e.type === C.select;
1353
+ return e.type === F.select;
1343
1354
  }
1344
1355
  function yr(e) {
1345
- return e.type === C.plural;
1356
+ return e.type === F.plural;
1346
1357
  }
1347
- function kn(e) {
1348
- return e.type === C.pound;
1358
+ function jn(e) {
1359
+ return e.type === F.pound;
1349
1360
  }
1350
1361
  function vr(e) {
1351
- return e.type === C.tag;
1362
+ return e.type === F.tag;
1352
1363
  }
1353
1364
  function _r(e) {
1354
- return !!(e && typeof e == "object" && e.type === me.number);
1365
+ return !!(e && typeof e == "object" && e.type === de.number);
1355
1366
  }
1356
- function lt(e) {
1357
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1367
+ function ct(e) {
1368
+ return !!(e && typeof e == "object" && e.type === de.dateTime);
1358
1369
  }
1359
- var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1360
- function Vn(e) {
1370
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
1371
+ function Xn(e) {
1361
1372
  var t = {};
1362
- return e.replace(jn, function(r) {
1373
+ return e.replace(Vn, function(r) {
1363
1374
  var n = r.length;
1364
1375
  switch (r[0]) {
1365
1376
  case "G":
@@ -1448,30 +1459,40 @@ function Vn(e) {
1448
1459
  return "";
1449
1460
  }), t;
1450
1461
  }
1451
- var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1452
- function Wn(e) {
1462
+ var O = function() {
1463
+ return O = Object.assign || function(t) {
1464
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1465
+ r = arguments[n];
1466
+ for (var o in r)
1467
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1468
+ }
1469
+ return t;
1470
+ }, O.apply(this, arguments);
1471
+ };
1472
+ var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1473
+ function zn(e) {
1453
1474
  if (e.length === 0)
1454
1475
  throw new Error("Number skeleton cannot be empty");
1455
- for (var t = e.split(Xn).filter(function(f) {
1456
- return f.length > 0;
1476
+ for (var t = e.split(Wn).filter(function(c) {
1477
+ return c.length > 0;
1457
1478
  }), r = [], n = 0, i = t; n < i.length; n++) {
1458
1479
  var o = i[n], s = o.split("/");
1459
1480
  if (s.length === 0)
1460
1481
  throw new Error("Invalid number skeleton");
1461
1482
  for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1462
- var d = u[l];
1463
- if (d.length === 0)
1483
+ var p = u[l];
1484
+ if (p.length === 0)
1464
1485
  throw new Error("Invalid number skeleton");
1465
1486
  }
1466
1487
  r.push({ stem: a, options: h });
1467
1488
  }
1468
1489
  return r;
1469
1490
  }
1470
- function zn(e) {
1491
+ function Zn(e) {
1471
1492
  return e.replace(/^(.*?)-/, "");
1472
1493
  }
1473
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1474
- function Mt(e) {
1494
+ var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1495
+ function Rt(e) {
1475
1496
  var t = {};
1476
1497
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1477
1498
  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)), "";
@@ -1517,7 +1538,7 @@ function Sr(e) {
1517
1538
  };
1518
1539
  }
1519
1540
  }
1520
- function Jn(e) {
1541
+ function Qn(e) {
1521
1542
  var t;
1522
1543
  if (e[0] === "E" && e[1] === "E" ? (t = {
1523
1544
  notation: "engineering"
@@ -1531,11 +1552,11 @@ function Jn(e) {
1531
1552
  }
1532
1553
  return t;
1533
1554
  }
1534
- function Rt(e) {
1555
+ function $t(e) {
1535
1556
  var t = {}, r = Sr(e);
1536
1557
  return r || t;
1537
1558
  }
1538
- function Qn(e) {
1559
+ function qn(e) {
1539
1560
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1540
1561
  var i = n[r];
1541
1562
  switch (i.stem) {
@@ -1559,7 +1580,7 @@ function Qn(e) {
1559
1580
  continue;
1560
1581
  case "measure-unit":
1561
1582
  case "unit":
1562
- t.style = "unit", t.unit = zn(i.options[0]);
1583
+ t.style = "unit", t.unit = Zn(i.options[0]);
1563
1584
  continue;
1564
1585
  case "compact-short":
1565
1586
  case "K":
@@ -1570,13 +1591,13 @@ function Qn(e) {
1570
1591
  t.notation = "compact", t.compactDisplay = "long";
1571
1592
  continue;
1572
1593
  case "scientific":
1573
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1574
- return w(w({}, h), Rt(l));
1594
+ t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1595
+ return O(O({}, h), $t(l));
1575
1596
  }, {}));
1576
1597
  continue;
1577
1598
  case "engineering":
1578
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1579
- return w(w({}, h), Rt(l));
1599
+ t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1600
+ return O(O({}, h), $t(l));
1580
1601
  }, {}));
1581
1602
  continue;
1582
1603
  case "notation-simple":
@@ -1621,13 +1642,13 @@ function Qn(e) {
1621
1642
  case "integer-width":
1622
1643
  if (i.options.length > 1)
1623
1644
  throw new RangeError("integer-width stems only accept a single optional option");
1624
- i.options[0].replace(Zn, function(h, l, u, d, f, p) {
1645
+ i.options[0].replace(Jn, function(h, l, u, p, c, m) {
1625
1646
  if (l)
1626
1647
  t.minimumIntegerDigits = u.length;
1627
1648
  else {
1628
- if (d && f)
1649
+ if (p && c)
1629
1650
  throw new Error("We currently do not support maximum integer digits");
1630
- if (p)
1651
+ if (m)
1631
1652
  throw new Error("We currently do not support exact integer digits");
1632
1653
  }
1633
1654
  return "";
@@ -1638,28 +1659,28 @@ function Qn(e) {
1638
1659
  t.minimumIntegerDigits = i.stem.length;
1639
1660
  continue;
1640
1661
  }
1641
- if (Nt.test(i.stem)) {
1662
+ if (Mt.test(i.stem)) {
1642
1663
  if (i.options.length > 1)
1643
1664
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1644
- i.stem.replace(Nt, function(h, l, u, d, f, p) {
1645
- return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1665
+ i.stem.replace(Mt, function(h, l, u, p, c, m) {
1666
+ return u === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1646
1667
  });
1647
1668
  var o = i.options[0];
1648
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
1669
+ o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Rt(o)));
1649
1670
  continue;
1650
1671
  }
1651
1672
  if (Er.test(i.stem)) {
1652
- t = w(w({}, t), Mt(i.stem));
1673
+ t = O(O({}, t), Rt(i.stem));
1653
1674
  continue;
1654
1675
  }
1655
1676
  var s = Sr(i.stem);
1656
- s && (t = w(w({}, t), s));
1657
- var a = Jn(i.stem);
1658
- a && (t = w(w({}, t), a));
1677
+ s && (t = O(O({}, t), s));
1678
+ var a = Qn(i.stem);
1679
+ a && (t = O(O({}, t), a));
1659
1680
  }
1660
1681
  return t;
1661
1682
  }
1662
- var Ie = {
1683
+ var Oe = {
1663
1684
  "001": [
1664
1685
  "H",
1665
1686
  "h"
@@ -3074,13 +3095,13 @@ var Ie = {
3074
3095
  "h"
3075
3096
  ]
3076
3097
  };
3077
- function qn(e, t) {
3098
+ function Yn(e, t) {
3078
3099
  for (var r = "", n = 0; n < e.length; n++) {
3079
3100
  var i = e.charAt(n);
3080
3101
  if (i === "j") {
3081
3102
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3082
3103
  o++, n++;
3083
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Yn(t);
3104
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Kn(t);
3084
3105
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3085
3106
  r += h;
3086
3107
  for (; s-- > 0; )
@@ -3090,7 +3111,7 @@ function qn(e, t) {
3090
3111
  }
3091
3112
  return r;
3092
3113
  }
3093
- function Yn(e) {
3114
+ function Kn(e) {
3094
3115
  var t = e.hourCycle;
3095
3116
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3096
3117
  e.hourCycles && // @ts-ignore
@@ -3109,23 +3130,23 @@ function Yn(e) {
3109
3130
  }
3110
3131
  var r = e.language, n;
3111
3132
  r !== "root" && (n = e.maximize().region);
3112
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3133
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3113
3134
  return i[0];
3114
3135
  }
3115
- var qe, Kn = new RegExp("^".concat(xr.source, "*")), ei = new RegExp("".concat(xr.source, "*$"));
3116
- function x(e, t) {
3136
+ var Ye, ei = new RegExp("^".concat(xr.source, "*")), ti = new RegExp("".concat(xr.source, "*$"));
3137
+ function w(e, t) {
3117
3138
  return { start: e, end: t };
3118
3139
  }
3119
- var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, li = ai ? Number.isSafeInteger : function(e) {
3140
+ var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
3120
3141
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3121
- }, ut = !0;
3142
+ }, ft = !0;
3122
3143
  try {
3123
- var ui = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3124
- ut = ((qe = ui.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3144
+ var hi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
+ ft = ((Ye = hi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3125
3146
  } catch {
3126
- ut = !1;
3147
+ ft = !1;
3127
3148
  }
3128
- var Dt = ti ? (
3149
+ var Ut = ri ? (
3129
3150
  // Native
3130
3151
  function(t, r, n) {
3131
3152
  return t.startsWith(r, n);
@@ -3135,7 +3156,7 @@ var Dt = ti ? (
3135
3156
  function(t, r, n) {
3136
3157
  return t.slice(n, n + r.length) === r;
3137
3158
  }
3138
- ), ht = ri ? String.fromCodePoint : (
3159
+ ), pt = ni ? String.fromCodePoint : (
3139
3160
  // IE11
3140
3161
  function() {
3141
3162
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3147,9 +3168,9 @@ var Dt = ti ? (
3147
3168
  }
3148
3169
  return n;
3149
3170
  }
3150
- ), Ut = (
3171
+ ), Dt = (
3151
3172
  // native
3152
- ni ? Object.fromEntries : (
3173
+ ii ? Object.fromEntries : (
3153
3174
  // Ponyfill
3154
3175
  function(t) {
3155
3176
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3159,7 +3180,7 @@ var Dt = ti ? (
3159
3180
  return r;
3160
3181
  }
3161
3182
  )
3162
- ), Tr = ii ? (
3183
+ ), Tr = oi ? (
3163
3184
  // Native
3164
3185
  function(t, r) {
3165
3186
  return t.codePointAt(r);
@@ -3173,7 +3194,7 @@ var Dt = ti ? (
3173
3194
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3174
3195
  }
3175
3196
  }
3176
- ), hi = oi ? (
3197
+ ), ci = si ? (
3177
3198
  // Native
3178
3199
  function(t) {
3179
3200
  return t.trimStart();
@@ -3181,9 +3202,9 @@ var Dt = ti ? (
3181
3202
  ) : (
3182
3203
  // Ponyfill
3183
3204
  function(t) {
3184
- return t.replace(Kn, "");
3205
+ return t.replace(ei, "");
3185
3206
  }
3186
- ), ci = si ? (
3207
+ ), fi = ai ? (
3187
3208
  // Native
3188
3209
  function(t) {
3189
3210
  return t.trimEnd();
@@ -3191,32 +3212,32 @@ var Dt = ti ? (
3191
3212
  ) : (
3192
3213
  // Ponyfill
3193
3214
  function(t) {
3194
- return t.replace(ei, "");
3215
+ return t.replace(ti, "");
3195
3216
  }
3196
3217
  );
3197
3218
  function Hr(e, t) {
3198
3219
  return new RegExp(e, t);
3199
3220
  }
3200
- var ct;
3201
- if (ut) {
3202
- var $t = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3203
- ct = function(t, r) {
3221
+ var dt;
3222
+ if (ft) {
3223
+ var Gt = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3224
+ dt = function(t, r) {
3204
3225
  var n;
3205
- $t.lastIndex = r;
3206
- var i = $t.exec(t);
3226
+ Gt.lastIndex = r;
3227
+ var i = Gt.exec(t);
3207
3228
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3208
3229
  };
3209
3230
  } else
3210
- ct = function(t, r) {
3231
+ dt = function(t, r) {
3211
3232
  for (var n = []; ; ) {
3212
3233
  var i = Tr(t, r);
3213
- if (i === void 0 || Ar(i) || mi(i))
3234
+ if (i === void 0 || Ar(i) || bi(i))
3214
3235
  break;
3215
3236
  n.push(i), r += i >= 65536 ? 2 : 1;
3216
3237
  }
3217
- return ht.apply(void 0, n);
3238
+ return pt.apply(void 0, n);
3218
3239
  };
3219
- var fi = (
3240
+ var pi = (
3220
3241
  /** @class */
3221
3242
  function() {
3222
3243
  function e(t, r) {
@@ -3240,14 +3261,14 @@ var fi = (
3240
3261
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3241
3262
  var a = this.clonePosition();
3242
3263
  this.bump(), i.push({
3243
- type: C.pound,
3244
- location: x(a, this.clonePosition())
3264
+ type: F.pound,
3265
+ location: w(a, this.clonePosition())
3245
3266
  });
3246
3267
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3247
3268
  if (n)
3248
3269
  break;
3249
- return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3250
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3270
+ return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3271
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3251
3272
  var s = this.parseTag(t, r);
3252
3273
  if (s.err)
3253
3274
  return s;
@@ -3268,9 +3289,9 @@ var fi = (
3268
3289
  if (this.bumpSpace(), this.bumpIf("/>"))
3269
3290
  return {
3270
3291
  val: {
3271
- type: C.literal,
3292
+ type: F.literal,
3272
3293
  value: "<".concat(i, "/>"),
3273
- location: x(n, this.clonePosition())
3294
+ location: w(n, this.clonePosition())
3274
3295
  },
3275
3296
  err: null
3276
3297
  };
@@ -3280,25 +3301,25 @@ var fi = (
3280
3301
  return o;
3281
3302
  var s = o.val, a = this.clonePosition();
3282
3303
  if (this.bumpIf("</")) {
3283
- if (this.isEOF() || !ft(this.char()))
3284
- return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
3304
+ if (this.isEOF() || !mt(this.char()))
3305
+ return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3285
3306
  var h = this.clonePosition(), l = this.parseTagName();
3286
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
+ return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3287
3308
  val: {
3288
- type: C.tag,
3309
+ type: F.tag,
3289
3310
  value: i,
3290
3311
  children: s,
3291
- location: x(n, this.clonePosition())
3312
+ location: w(n, this.clonePosition())
3292
3313
  },
3293
3314
  err: null
3294
- } : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
3315
+ } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3295
3316
  } else
3296
- return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
3317
+ return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3297
3318
  } else
3298
- return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3319
+ return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3299
3320
  }, e.prototype.parseTagName = function() {
3300
3321
  var t = this.offset();
3301
- for (this.bump(); !this.isEOF() && pi(this.char()); )
3322
+ for (this.bump(); !this.isEOF() && mi(this.char()); )
3302
3323
  this.bump();
3303
3324
  return this.message.slice(t, this.offset());
3304
3325
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3320,9 +3341,9 @@ var fi = (
3320
3341
  }
3321
3342
  break;
3322
3343
  }
3323
- var h = x(n, this.clonePosition());
3344
+ var h = w(n, this.clonePosition());
3324
3345
  return {
3325
- val: { type: C.literal, value: i, location: h },
3346
+ val: { type: F.literal, value: i, location: h },
3326
3347
  err: null
3327
3348
  };
3328
3349
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3361,49 +3382,49 @@ var fi = (
3361
3382
  r.push(n);
3362
3383
  this.bump();
3363
3384
  }
3364
- return ht.apply(void 0, r);
3385
+ return pt.apply(void 0, r);
3365
3386
  }, e.prototype.tryParseUnquoted = function(t, r) {
3366
3387
  if (this.isEOF())
3367
3388
  return null;
3368
3389
  var n = this.char();
3369
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3390
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3370
3391
  }, e.prototype.parseArgument = function(t, r) {
3371
3392
  var n = this.clonePosition();
3372
3393
  if (this.bump(), this.bumpSpace(), this.isEOF())
3373
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3394
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3374
3395
  if (this.char() === 125)
3375
- return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3396
+ return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3376
3397
  var i = this.parseIdentifierIfPossible().value;
3377
3398
  if (!i)
3378
- return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3399
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3379
3400
  if (this.bumpSpace(), this.isEOF())
3380
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3401
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3381
3402
  switch (this.char()) {
3382
3403
  case 125:
3383
3404
  return this.bump(), {
3384
3405
  val: {
3385
- type: C.argument,
3406
+ type: F.argument,
3386
3407
  // value does not include the opening and closing braces.
3387
3408
  value: i,
3388
- location: x(n, this.clonePosition())
3409
+ location: w(n, this.clonePosition())
3389
3410
  },
3390
3411
  err: null
3391
3412
  };
3392
3413
  case 44:
3393
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3414
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3394
3415
  default:
3395
- return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3416
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3396
3417
  }
3397
3418
  }, e.prototype.parseIdentifierIfPossible = function() {
3398
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3419
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3399
3420
  this.bumpTo(i);
3400
- var o = this.clonePosition(), s = x(t, o);
3421
+ var o = this.clonePosition(), s = w(t, o);
3401
3422
  return { value: n, location: s };
3402
3423
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3403
3424
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3404
3425
  switch (a) {
3405
3426
  case "":
3406
- return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, h));
3427
+ return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, h));
3407
3428
  case "number":
3408
3429
  case "date":
3409
3430
  case "time": {
@@ -3411,49 +3432,49 @@ var fi = (
3411
3432
  var l = null;
3412
3433
  if (this.bumpIf(",")) {
3413
3434
  this.bumpSpace();
3414
- var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3415
- if (d.err)
3416
- return d;
3417
- var f = ci(d.val);
3418
- if (f.length === 0)
3419
- return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3420
- var p = x(u, this.clonePosition());
3421
- l = { style: f, styleLocation: p };
3435
+ var u = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3436
+ if (p.err)
3437
+ return p;
3438
+ var c = fi(p.val);
3439
+ if (c.length === 0)
3440
+ return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3441
+ var m = w(u, this.clonePosition());
3442
+ l = { style: c, styleLocation: m };
3422
3443
  }
3423
- var y = this.tryParseArgumentClose(i);
3424
- if (y.err)
3425
- return y;
3426
- var g = x(i, this.clonePosition());
3427
- if (l && Dt(l?.style, "::", 0)) {
3428
- var S = hi(l.style.slice(2));
3444
+ var v = this.tryParseArgumentClose(i);
3445
+ if (v.err)
3446
+ return v;
3447
+ var y = w(i, this.clonePosition());
3448
+ if (l && Ut(l?.style, "::", 0)) {
3449
+ var T = ci(l.style.slice(2));
3429
3450
  if (a === "number") {
3430
- var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
3431
- return d.err ? d : {
3432
- val: { type: C.number, value: n, location: g, style: d.val },
3451
+ var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3452
+ return p.err ? p : {
3453
+ val: { type: F.number, value: n, location: y, style: p.val },
3433
3454
  err: null
3434
3455
  };
3435
3456
  } else {
3436
- if (S.length === 0)
3437
- return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3438
- var H = S;
3439
- this.locale && (H = qn(S, this.locale));
3440
- var f = {
3441
- type: me.dateTime,
3457
+ if (T.length === 0)
3458
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3459
+ var H = T;
3460
+ this.locale && (H = Yn(T, this.locale));
3461
+ var c = {
3462
+ type: de.dateTime,
3442
3463
  pattern: H,
3443
3464
  location: l.styleLocation,
3444
- parsedOptions: this.shouldParseSkeletons ? Vn(H) : {}
3445
- }, E = a === "date" ? C.date : C.time;
3465
+ parsedOptions: this.shouldParseSkeletons ? Xn(H) : {}
3466
+ }, S = a === "date" ? F.date : F.time;
3446
3467
  return {
3447
- val: { type: E, value: n, location: g, style: f },
3468
+ val: { type: S, value: n, location: y, style: c },
3448
3469
  err: null
3449
3470
  };
3450
3471
  }
3451
3472
  }
3452
3473
  return {
3453
3474
  val: {
3454
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3475
+ type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3455
3476
  value: n,
3456
- location: g,
3477
+ location: y,
3457
3478
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3458
3479
  },
3459
3480
  err: null
@@ -3462,40 +3483,40 @@ var fi = (
3462
3483
  case "plural":
3463
3484
  case "selectordinal":
3464
3485
  case "select": {
3465
- var m = this.clonePosition();
3486
+ var b = this.clonePosition();
3466
3487
  if (this.bumpSpace(), !this.bumpIf(","))
3467
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, w({}, m)));
3488
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
3468
3489
  this.bumpSpace();
3469
- var O = this.parseIdentifierIfPossible(), L = 0;
3470
- if (a !== "select" && O.value === "offset") {
3490
+ var I = this.parseIdentifierIfPossible(), L = 0;
3491
+ if (a !== "select" && I.value === "offset") {
3471
3492
  if (!this.bumpIf(":"))
3472
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3493
+ return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3473
3494
  this.bumpSpace();
3474
- var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3475
- if (d.err)
3476
- return d;
3477
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = d.val;
3495
+ var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3496
+ if (p.err)
3497
+ return p;
3498
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
3478
3499
  }
3479
- var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3480
- if (R.err)
3481
- return R;
3482
- var y = this.tryParseArgumentClose(i);
3483
- if (y.err)
3484
- return y;
3485
- var A = x(i, this.clonePosition());
3500
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3501
+ if (M.err)
3502
+ return M;
3503
+ var v = this.tryParseArgumentClose(i);
3504
+ if (v.err)
3505
+ return v;
3506
+ var A = w(i, this.clonePosition());
3486
3507
  return a === "select" ? {
3487
3508
  val: {
3488
- type: C.select,
3509
+ type: F.select,
3489
3510
  value: n,
3490
- options: Ut(R.val),
3511
+ options: Dt(M.val),
3491
3512
  location: A
3492
3513
  },
3493
3514
  err: null
3494
3515
  } : {
3495
3516
  val: {
3496
- type: C.plural,
3517
+ type: F.plural,
3497
3518
  value: n,
3498
- options: Ut(R.val),
3519
+ options: Dt(M.val),
3499
3520
  offset: L,
3500
3521
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3501
3522
  location: A
@@ -3504,10 +3525,10 @@ var fi = (
3504
3525
  };
3505
3526
  }
3506
3527
  default:
3507
- return this.error(_.INVALID_ARGUMENT_TYPE, x(s, h));
3528
+ return this.error(E.INVALID_ARGUMENT_TYPE, w(s, h));
3508
3529
  }
3509
3530
  }, e.prototype.tryParseArgumentClose = function(t) {
3510
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3531
+ return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3511
3532
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3512
3533
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3513
3534
  var n = this.char();
@@ -3516,7 +3537,7 @@ var fi = (
3516
3537
  this.bump();
3517
3538
  var i = this.clonePosition();
3518
3539
  if (!this.bumpUntil("'"))
3519
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3540
+ return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3520
3541
  this.bump();
3521
3542
  break;
3522
3543
  }
@@ -3546,52 +3567,52 @@ var fi = (
3546
3567
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3547
3568
  var n = [];
3548
3569
  try {
3549
- n = Wn(t);
3570
+ n = zn(t);
3550
3571
  } catch {
3551
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3572
+ return this.error(E.INVALID_NUMBER_SKELETON, r);
3552
3573
  }
3553
3574
  return {
3554
3575
  val: {
3555
- type: me.number,
3576
+ type: de.number,
3556
3577
  tokens: n,
3557
3578
  location: r,
3558
- parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3579
+ parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3559
3580
  },
3560
3581
  err: null
3561
3582
  };
3562
3583
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3563
3584
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3564
3585
  if (l.length === 0) {
3565
- var d = this.clonePosition();
3586
+ var p = this.clonePosition();
3566
3587
  if (r !== "select" && this.bumpIf("=")) {
3567
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3568
- if (f.err)
3569
- return f;
3570
- u = x(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3588
+ var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3589
+ if (c.err)
3590
+ return c;
3591
+ u = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3571
3592
  } else
3572
3593
  break;
3573
3594
  }
3574
3595
  if (h.has(l))
3575
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3596
+ return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3576
3597
  l === "other" && (s = !0), this.bumpSpace();
3577
- var p = this.clonePosition();
3598
+ var m = this.clonePosition();
3578
3599
  if (!this.bumpIf("{"))
3579
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3580
- var y = this.parseMessage(t + 1, r, n);
3600
+ return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3601
+ var v = this.parseMessage(t + 1, r, n);
3602
+ if (v.err)
3603
+ return v;
3604
+ var y = this.tryParseArgumentClose(m);
3581
3605
  if (y.err)
3582
3606
  return y;
3583
- var g = this.tryParseArgumentClose(p);
3584
- if (g.err)
3585
- return g;
3586
3607
  a.push([
3587
3608
  l,
3588
3609
  {
3589
- value: y.val,
3590
- location: x(p, this.clonePosition())
3610
+ value: v.val,
3611
+ location: w(m, this.clonePosition())
3591
3612
  }
3592
3613
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3593
3614
  }
3594
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3615
+ return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3595
3616
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3596
3617
  var n = 1, i = this.clonePosition();
3597
3618
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3602,8 +3623,8 @@ var fi = (
3602
3623
  else
3603
3624
  break;
3604
3625
  }
3605
- var h = x(i, this.clonePosition());
3606
- return o ? (s *= n, li(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3626
+ var h = w(i, this.clonePosition());
3627
+ return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3607
3628
  }, e.prototype.offset = function() {
3608
3629
  return this.position.offset;
3609
3630
  }, e.prototype.isEOF = function() {
@@ -3637,7 +3658,7 @@ var fi = (
3637
3658
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3638
3659
  }
3639
3660
  }, e.prototype.bumpIf = function(t) {
3640
- if (Dt(this.message, t, this.offset())) {
3661
+ if (Ut(this.message, t, this.offset())) {
3641
3662
  for (var r = 0; r < t.length; r++)
3642
3663
  this.bump();
3643
3664
  return !0;
@@ -3669,47 +3690,47 @@ var fi = (
3669
3690
  }, e;
3670
3691
  }()
3671
3692
  );
3672
- function ft(e) {
3693
+ function mt(e) {
3673
3694
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3674
3695
  }
3675
3696
  function di(e) {
3676
- return ft(e) || e === 47;
3697
+ return mt(e) || e === 47;
3677
3698
  }
3678
- function pi(e) {
3699
+ function mi(e) {
3679
3700
  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;
3680
3701
  }
3681
3702
  function Ar(e) {
3682
3703
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3683
3704
  }
3684
- function mi(e) {
3705
+ function bi(e) {
3685
3706
  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;
3686
3707
  }
3687
- function dt(e) {
3708
+ function bt(e) {
3688
3709
  e.forEach(function(t) {
3689
3710
  if (delete t.location, gr(t) || yr(t))
3690
3711
  for (var r in t.options)
3691
- delete t.options[r].location, dt(t.options[r].value);
3712
+ delete t.options[r].location, bt(t.options[r].value);
3692
3713
  else
3693
- pr(t) && _r(t.style) || (mr(t) || br(t)) && lt(t.style) ? delete t.style.location : vr(t) && dt(t.children);
3714
+ dr(t) && _r(t.style) || (mr(t) || br(t)) && ct(t.style) ? delete t.style.location : vr(t) && bt(t.children);
3694
3715
  });
3695
3716
  }
3696
- function bi(e, t) {
3697
- t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3698
- var r = new fi(e, t).parse();
3717
+ function gi(e, t) {
3718
+ t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3719
+ var r = new pi(e, t).parse();
3699
3720
  if (r.err) {
3700
- var n = SyntaxError(_[r.err.kind]);
3721
+ var n = SyntaxError(E[r.err.kind]);
3701
3722
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3702
3723
  }
3703
- return t?.captureLocation || dt(r.val), r.val;
3724
+ return t?.captureLocation || bt(r.val), r.val;
3704
3725
  }
3705
- var be;
3726
+ var me;
3706
3727
  (function(e) {
3707
3728
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3708
- })(be || (be = {}));
3709
- var ke = (
3729
+ })(me || (me = {}));
3730
+ var Ve = (
3710
3731
  /** @class */
3711
3732
  function(e) {
3712
- J(t, e);
3733
+ je(t, e);
3713
3734
  function t(r, n, i) {
3714
3735
  var o = e.call(this, r) || this;
3715
3736
  return o.code = n, o.originalMessage = i, o;
@@ -3718,155 +3739,155 @@ var ke = (
3718
3739
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3719
3740
  }, t;
3720
3741
  }(Error)
3721
- ), Gt = (
3742
+ ), kt = (
3722
3743
  /** @class */
3723
3744
  function(e) {
3724
- J(t, e);
3745
+ je(t, e);
3725
3746
  function t(r, n, i, o) {
3726
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3747
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3727
3748
  }
3728
3749
  return t;
3729
- }(ke)
3730
- ), gi = (
3750
+ }(Ve)
3751
+ ), yi = (
3731
3752
  /** @class */
3732
3753
  function(e) {
3733
- J(t, e);
3754
+ je(t, e);
3734
3755
  function t(r, n, i) {
3735
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3756
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3736
3757
  }
3737
3758
  return t;
3738
- }(ke)
3739
- ), yi = (
3759
+ }(Ve)
3760
+ ), vi = (
3740
3761
  /** @class */
3741
3762
  function(e) {
3742
- J(t, e);
3763
+ je(t, e);
3743
3764
  function t(r, n) {
3744
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3765
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3745
3766
  }
3746
3767
  return t;
3747
- }(ke)
3748
- ), D;
3768
+ }(Ve)
3769
+ ), R;
3749
3770
  (function(e) {
3750
3771
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3751
- })(D || (D = {}));
3752
- function vi(e) {
3772
+ })(R || (R = {}));
3773
+ function _i(e) {
3753
3774
  return e.length < 2 ? e : e.reduce(function(t, r) {
3754
3775
  var n = t[t.length - 1];
3755
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3776
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3756
3777
  }, []);
3757
3778
  }
3758
- function _i(e) {
3779
+ function xi(e) {
3759
3780
  return typeof e == "function";
3760
3781
  }
3761
3782
  function Ne(e, t, r, n, i, o, s) {
3762
- if (e.length === 1 && Lt(e[0]))
3783
+ if (e.length === 1 && Nt(e[0]))
3763
3784
  return [
3764
3785
  {
3765
- type: D.literal,
3786
+ type: R.literal,
3766
3787
  value: e[0].value
3767
3788
  }
3768
3789
  ];
3769
3790
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3770
3791
  var u = l[h];
3771
- if (Lt(u)) {
3792
+ if (Nt(u)) {
3772
3793
  a.push({
3773
- type: D.literal,
3794
+ type: R.literal,
3774
3795
  value: u.value
3775
3796
  });
3776
3797
  continue;
3777
3798
  }
3778
- if (kn(u)) {
3799
+ if (jn(u)) {
3779
3800
  typeof o == "number" && a.push({
3780
- type: D.literal,
3801
+ type: R.literal,
3781
3802
  value: r.getNumberFormat(t).format(o)
3782
3803
  });
3783
3804
  continue;
3784
3805
  }
3785
- var d = u.value;
3786
- if (!(i && d in i))
3787
- throw new yi(d, s);
3788
- var f = i[d];
3789
- if (Gn(u)) {
3790
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3791
- type: typeof f == "string" ? D.literal : D.object,
3792
- value: f
3806
+ var p = u.value;
3807
+ if (!(i && p in i))
3808
+ throw new vi(p, s);
3809
+ var c = i[p];
3810
+ if (kn(u)) {
3811
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3812
+ type: typeof c == "string" ? R.literal : R.object,
3813
+ value: c
3793
3814
  });
3794
3815
  continue;
3795
3816
  }
3796
3817
  if (mr(u)) {
3797
- var p = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3818
+ var m = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
3798
3819
  a.push({
3799
- type: D.literal,
3800
- value: r.getDateTimeFormat(t, p).format(f)
3820
+ type: R.literal,
3821
+ value: r.getDateTimeFormat(t, m).format(c)
3801
3822
  });
3802
3823
  continue;
3803
3824
  }
3804
3825
  if (br(u)) {
3805
- var p = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3826
+ var m = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
3806
3827
  a.push({
3807
- type: D.literal,
3808
- value: r.getDateTimeFormat(t, p).format(f)
3828
+ type: R.literal,
3829
+ value: r.getDateTimeFormat(t, m).format(c)
3809
3830
  });
3810
3831
  continue;
3811
3832
  }
3812
- if (pr(u)) {
3813
- var p = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3814
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3815
- type: D.literal,
3816
- value: r.getNumberFormat(t, p).format(f)
3833
+ if (dr(u)) {
3834
+ var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3835
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3836
+ type: R.literal,
3837
+ value: r.getNumberFormat(t, m).format(c)
3817
3838
  });
3818
3839
  continue;
3819
3840
  }
3820
3841
  if (vr(u)) {
3821
- var y = u.children, g = u.value, S = i[g];
3822
- if (!_i(S))
3823
- throw new gi(g, "function", s);
3824
- var H = Ne(y, t, r, n, i, o), E = S(H.map(function(L) {
3842
+ var v = u.children, y = u.value, T = i[y];
3843
+ if (!xi(T))
3844
+ throw new yi(y, "function", s);
3845
+ var H = Ne(v, t, r, n, i, o), S = T(H.map(function(L) {
3825
3846
  return L.value;
3826
3847
  }));
3827
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3848
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3828
3849
  return {
3829
- type: typeof L == "string" ? D.literal : D.object,
3850
+ type: typeof L == "string" ? R.literal : R.object,
3830
3851
  value: L
3831
3852
  };
3832
3853
  }));
3833
3854
  }
3834
3855
  if (gr(u)) {
3835
- var m = u.options[f] || u.options.other;
3836
- if (!m)
3837
- throw new Gt(u.value, f, Object.keys(u.options), s);
3838
- a.push.apply(a, Ne(m.value, t, r, n, i));
3856
+ var b = u.options[c] || u.options.other;
3857
+ if (!b)
3858
+ throw new kt(u.value, c, Object.keys(u.options), s);
3859
+ a.push.apply(a, Ne(b.value, t, r, n, i));
3839
3860
  continue;
3840
3861
  }
3841
3862
  if (yr(u)) {
3842
- var m = u.options["=".concat(f)];
3843
- if (!m) {
3863
+ var b = u.options["=".concat(c)];
3864
+ if (!b) {
3844
3865
  if (!Intl.PluralRules)
3845
- throw new ke(`Intl.PluralRules is not available in this environment.
3866
+ throw new Ve(`Intl.PluralRules is not available in this environment.
3846
3867
  Try polyfilling it using "@formatjs/intl-pluralrules"
3847
- `, be.MISSING_INTL_API, s);
3848
- var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3849
- m = u.options[O] || u.options.other;
3868
+ `, me.MISSING_INTL_API, s);
3869
+ var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3870
+ b = u.options[I] || u.options.other;
3850
3871
  }
3851
- if (!m)
3852
- throw new Gt(u.value, f, Object.keys(u.options), s);
3853
- a.push.apply(a, Ne(m.value, t, r, n, i, f - (u.offset || 0)));
3872
+ if (!b)
3873
+ throw new kt(u.value, c, Object.keys(u.options), s);
3874
+ a.push.apply(a, Ne(b.value, t, r, n, i, c - (u.offset || 0)));
3854
3875
  continue;
3855
3876
  }
3856
3877
  }
3857
- return vi(a);
3878
+ return _i(a);
3858
3879
  }
3859
- function xi(e, t) {
3860
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3861
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3880
+ function Ei(e, t) {
3881
+ return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3882
+ return r[n] = X(X({}, e[n]), t[n] || {}), r;
3862
3883
  }, {})) : e;
3863
3884
  }
3864
- function Ei(e, t) {
3885
+ function wi(e, t) {
3865
3886
  return t ? Object.keys(e).reduce(function(r, n) {
3866
- return r[n] = xi(e[n], t[n]), r;
3867
- }, w({}, e)) : e;
3887
+ return r[n] = Ei(e[n], t[n]), r;
3888
+ }, X({}, e)) : e;
3868
3889
  }
3869
- function Ye(e) {
3890
+ function Ke(e) {
3870
3891
  return {
3871
3892
  create: function() {
3872
3893
  return {
@@ -3880,39 +3901,39 @@ function Ye(e) {
3880
3901
  }
3881
3902
  };
3882
3903
  }
3883
- function wi(e) {
3904
+ function Si(e) {
3884
3905
  return e === void 0 && (e = {
3885
3906
  number: {},
3886
3907
  dateTime: {},
3887
3908
  pluralRules: {}
3888
3909
  }), {
3889
- getNumberFormat: Je(function() {
3910
+ getNumberFormat: Qe(function() {
3890
3911
  for (var t, r = [], n = 0; n < arguments.length; n++)
3891
3912
  r[n] = arguments[n];
3892
- return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3913
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
3893
3914
  }, {
3894
- cache: Ye(e.number),
3895
- strategy: Qe.variadic
3915
+ cache: Ke(e.number),
3916
+ strategy: qe.variadic
3896
3917
  }),
3897
- getDateTimeFormat: Je(function() {
3918
+ getDateTimeFormat: Qe(function() {
3898
3919
  for (var t, r = [], n = 0; n < arguments.length; n++)
3899
3920
  r[n] = arguments[n];
3900
- return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3921
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
3901
3922
  }, {
3902
- cache: Ye(e.dateTime),
3903
- strategy: Qe.variadic
3923
+ cache: Ke(e.dateTime),
3924
+ strategy: qe.variadic
3904
3925
  }),
3905
- getPluralRules: Je(function() {
3926
+ getPluralRules: Qe(function() {
3906
3927
  for (var t, r = [], n = 0; n < arguments.length; n++)
3907
3928
  r[n] = arguments[n];
3908
- return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3929
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
3909
3930
  }, {
3910
- cache: Ye(e.pluralRules),
3911
- strategy: Qe.variadic
3931
+ cache: Ke(e.pluralRules),
3932
+ strategy: qe.variadic
3912
3933
  })
3913
3934
  };
3914
3935
  }
3915
- var Si = (
3936
+ var Ti = (
3916
3937
  /** @class */
3917
3938
  function() {
3918
3939
  function e(t, r, n, i) {
@@ -3926,8 +3947,8 @@ var Si = (
3926
3947
  var l = o.formatToParts(h);
3927
3948
  if (l.length === 1)
3928
3949
  return l[0].value;
3929
- var u = l.reduce(function(d, f) {
3930
- return !d.length || f.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3950
+ var u = l.reduce(function(p, c) {
3951
+ return !p.length || c.type !== R.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3931
3952
  }, []);
3932
3953
  return u.length <= 1 ? u[0] || "" : u;
3933
3954
  }, this.formatToParts = function(h) {
@@ -3944,13 +3965,13 @@ var Si = (
3944
3965
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3945
3966
  var s = i || {};
3946
3967
  s.formatters;
3947
- var a = rn(s, ["formatters"]);
3948
- this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3968
+ var a = Ln(s, ["formatters"]);
3969
+ this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
3949
3970
  } else
3950
3971
  this.ast = t;
3951
3972
  if (!Array.isArray(this.ast))
3952
3973
  throw new TypeError("A message must be provided as a String or AST.");
3953
- this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
3974
+ this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3954
3975
  }
3955
3976
  return Object.defineProperty(e, "defaultLocale", {
3956
3977
  get: function() {
@@ -3963,7 +3984,7 @@ var Si = (
3963
3984
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3964
3985
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3965
3986
  }
3966
- }, e.__parse = bi, e.formats = {
3987
+ }, e.__parse = gi, e.formats = {
3967
3988
  number: {
3968
3989
  integer: {
3969
3990
  maximumFractionDigits: 0
@@ -4024,7 +4045,7 @@ var Si = (
4024
4045
  }, e;
4025
4046
  }()
4026
4047
  );
4027
- function Ti(e, t) {
4048
+ function Hi(e, t) {
4028
4049
  if (t == null)
4029
4050
  return;
4030
4051
  if (t in e)
@@ -4045,36 +4066,36 @@ function Ti(e, t) {
4045
4066
  n = void 0;
4046
4067
  return n;
4047
4068
  }
4048
- const q = {}, Hi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Pr = (e, t) => {
4069
+ const Q = {}, Ai = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
4049
4070
  if (t == null)
4050
4071
  return;
4051
- if (t in q && e in q[t])
4052
- return q[t][e];
4053
- const r = je(t);
4072
+ if (t in Q && e in Q[t])
4073
+ return Q[t][e];
4074
+ const r = Xe(t);
4054
4075
  for (let n = 0; n < r.length; n++) {
4055
- const i = r[n], o = Pi(i, e);
4076
+ const i = r[n], o = Bi(i, e);
4056
4077
  if (o)
4057
- return Hi(e, t, o);
4078
+ return Ai(e, t, o);
4058
4079
  }
4059
4080
  };
4060
- let vt;
4061
- const ve = Ge({});
4062
- function Ai(e) {
4063
- return vt[e] || null;
4081
+ let _t;
4082
+ const ye = ke({});
4083
+ function Pi(e) {
4084
+ return _t[e] || null;
4064
4085
  }
4065
4086
  function Br(e) {
4066
- return e in vt;
4087
+ return e in _t;
4067
4088
  }
4068
- function Pi(e, t) {
4089
+ function Bi(e, t) {
4069
4090
  if (!Br(e))
4070
4091
  return null;
4071
- const r = Ai(e);
4072
- return Ti(r, t);
4092
+ const r = Pi(e);
4093
+ return Hi(r, t);
4073
4094
  }
4074
- function Bi(e) {
4095
+ function Fi(e) {
4075
4096
  if (e == null)
4076
4097
  return;
4077
- const t = je(e);
4098
+ const t = Xe(e);
4078
4099
  for (let r = 0; r < t.length; r++) {
4079
4100
  const n = t[r];
4080
4101
  if (Br(n))
@@ -4082,28 +4103,28 @@ function Bi(e) {
4082
4103
  }
4083
4104
  }
4084
4105
  function Fr(e, ...t) {
4085
- delete q[e], ve.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
4106
+ delete Q[e], ye.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4086
4107
  }
4087
- ye(
4088
- [ve],
4108
+ ge(
4109
+ [ye],
4089
4110
  ([e]) => Object.keys(e)
4090
4111
  );
4091
- ve.subscribe((e) => vt = e);
4112
+ ye.subscribe((e) => _t = e);
4092
4113
  const Me = {};
4093
- function Fi(e, t) {
4114
+ function Ci(e, t) {
4094
4115
  Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4095
4116
  }
4096
4117
  function Cr(e) {
4097
4118
  return Me[e];
4098
4119
  }
4099
- function Ci(e) {
4100
- return je(e).map((t) => {
4120
+ function Oi(e) {
4121
+ return Xe(e).map((t) => {
4101
4122
  const r = Cr(t);
4102
4123
  return [t, r ? [...r] : []];
4103
4124
  }).filter(([, t]) => t.length > 0);
4104
4125
  }
4105
- function pt(e) {
4106
- return e == null ? !1 : je(e).some(
4126
+ function gt(e) {
4127
+ return e == null ? !1 : Xe(e).some(
4107
4128
  (t) => {
4108
4129
  var r;
4109
4130
  return (r = Cr(t)) == null ? void 0 : r.size;
@@ -4112,25 +4133,25 @@ function pt(e) {
4112
4133
  }
4113
4134
  function Ii(e, t) {
4114
4135
  return Promise.all(
4115
- t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4136
+ t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4116
4137
  ).then((n) => Fr(e, ...n));
4117
4138
  }
4118
- const Ee = {};
4119
- function Ir(e) {
4120
- if (!pt(e))
4121
- return e in Ee ? Ee[e] : Promise.resolve();
4122
- const t = Ci(e);
4123
- return Ee[e] = Promise.all(
4139
+ const _e = {};
4140
+ function Or(e) {
4141
+ if (!gt(e))
4142
+ return e in _e ? _e[e] : Promise.resolve();
4143
+ const t = Oi(e);
4144
+ return _e[e] = Promise.all(
4124
4145
  t.map(
4125
4146
  ([r, n]) => Ii(r, n)
4126
4147
  )
4127
4148
  ).then(() => {
4128
- if (pt(e))
4129
- return Ir(e);
4130
- delete Ee[e];
4131
- }), Ee[e];
4149
+ if (gt(e))
4150
+ return Or(e);
4151
+ delete _e[e];
4152
+ }), _e[e];
4132
4153
  }
4133
- const Oi = {
4154
+ const Li = {
4134
4155
  number: {
4135
4156
  scientific: { notation: "scientific" },
4136
4157
  engineering: { notation: "engineering" },
@@ -4159,141 +4180,141 @@ const Oi = {
4159
4180
  timeZoneName: "short"
4160
4181
  }
4161
4182
  }
4162
- }, Li = {
4183
+ }, Ni = {
4163
4184
  fallbackLocale: null,
4164
4185
  loadingDelay: 200,
4165
- formats: Oi,
4186
+ formats: Li,
4166
4187
  warnOnMissingMessages: !0,
4167
4188
  handleMissingMessage: void 0,
4168
4189
  ignoreTag: !0
4169
- }, Ni = Li;
4170
- function ge() {
4171
- return Ni;
4190
+ }, Mi = Ni;
4191
+ function be() {
4192
+ return Mi;
4172
4193
  }
4173
- const Ke = Ge(!1);
4174
- var Mi = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4194
+ const et = ke(!1);
4195
+ var Ri = Object.defineProperty, $i = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
4175
4196
  for (var r in t || (t = {}))
4176
- Ui.call(t, r) && jt(e, r, t[r]);
4177
- if (kt)
4178
- for (var r of kt(t))
4179
- $i.call(t, r) && jt(e, r, t[r]);
4197
+ Di.call(t, r) && Vt(e, r, t[r]);
4198
+ if (jt)
4199
+ for (var r of jt(t))
4200
+ Gi.call(t, r) && Vt(e, r, t[r]);
4180
4201
  return e;
4181
- }, ki = (e, t) => Ri(e, Di(t));
4182
- let mt;
4183
- const De = Ge(null);
4184
- function Vt(e) {
4202
+ }, ji = (e, t) => $i(e, Ui(t));
4203
+ let yt;
4204
+ const Ue = ke(null);
4205
+ function Xt(e) {
4185
4206
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4186
4207
  }
4187
- function je(e, t = ge().fallbackLocale) {
4188
- const r = Vt(e);
4189
- return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4208
+ function Xe(e, t = be().fallbackLocale) {
4209
+ const r = Xt(e);
4210
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4190
4211
  }
4191
- function ie() {
4192
- return mt ?? void 0;
4212
+ function ne() {
4213
+ return yt ?? void 0;
4193
4214
  }
4194
- De.subscribe((e) => {
4195
- mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4215
+ Ue.subscribe((e) => {
4216
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4196
4217
  });
4197
- const ji = (e) => {
4198
- if (e && Bi(e) && pt(e)) {
4199
- const { loadingDelay: t } = ge();
4218
+ const Vi = (e) => {
4219
+ if (e && Fi(e) && gt(e)) {
4220
+ const { loadingDelay: t } = be();
4200
4221
  let r;
4201
- return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
4202
- () => Ke.set(!0),
4222
+ return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
4223
+ () => et.set(!0),
4203
4224
  t
4204
- ) : Ke.set(!0), Ir(e).then(() => {
4205
- De.set(e);
4225
+ ) : et.set(!0), Or(e).then(() => {
4226
+ Ue.set(e);
4206
4227
  }).finally(() => {
4207
- clearTimeout(r), Ke.set(!1);
4228
+ clearTimeout(r), et.set(!1);
4208
4229
  });
4209
4230
  }
4210
- return De.set(e);
4211
- }, ne = ki(Gi({}, De), {
4212
- set: ji
4213
- }), Ve = (e) => {
4231
+ return Ue.set(e);
4232
+ }, re = ji(ki({}, Ue), {
4233
+ set: Vi
4234
+ }), We = (e) => {
4214
4235
  const t = /* @__PURE__ */ Object.create(null);
4215
4236
  return (n) => {
4216
4237
  const i = JSON.stringify(n);
4217
4238
  return i in t ? t[i] : t[i] = e(n);
4218
4239
  };
4219
4240
  };
4220
- var Vi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4241
+ var Xi = Object.defineProperty, De = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4221
4242
  for (var r in t || (t = {}))
4222
- Or.call(t, r) && Xt(e, r, t[r]);
4223
- if (Ue)
4224
- for (var r of Ue(t))
4225
- Lr.call(t, r) && Xt(e, r, t[r]);
4243
+ Ir.call(t, r) && Wt(e, r, t[r]);
4244
+ if (De)
4245
+ for (var r of De(t))
4246
+ Lr.call(t, r) && Wt(e, r, t[r]);
4226
4247
  return e;
4227
- }, _e = (e, t) => {
4248
+ }, ve = (e, t) => {
4228
4249
  var r = {};
4229
4250
  for (var n in e)
4230
- Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4231
- if (e != null && Ue)
4232
- for (var n of Ue(e))
4251
+ Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4252
+ if (e != null && De)
4253
+ for (var n of De(e))
4233
4254
  t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4234
4255
  return r;
4235
4256
  };
4236
- const Ae = (e, t) => {
4237
- const { formats: r } = ge();
4257
+ const Te = (e, t) => {
4258
+ const { formats: r } = be();
4238
4259
  if (e in r && t in r[e])
4239
4260
  return r[e][t];
4240
4261
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4241
- }, Xi = Ve(
4262
+ }, Wi = We(
4242
4263
  (e) => {
4243
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4264
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4244
4265
  if (r == null)
4245
4266
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4246
- return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4267
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4247
4268
  }
4248
- ), Wi = Ve(
4269
+ ), zi = We(
4249
4270
  (e) => {
4250
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4271
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4251
4272
  if (r == null)
4252
4273
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4253
- return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4274
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4254
4275
  }
4255
- ), zi = Ve(
4276
+ ), Zi = We(
4256
4277
  (e) => {
4257
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4278
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4258
4279
  if (r == null)
4259
4280
  throw new Error(
4260
4281
  '[svelte-i18n] A "locale" must be set to format time values'
4261
4282
  );
4262
- return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4283
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4263
4284
  }
4264
- ), Zi = (e = {}) => {
4285
+ ), Ji = (e = {}) => {
4265
4286
  var t = e, {
4266
- locale: r = ie()
4267
- } = t, n = _e(t, [
4287
+ locale: r = ne()
4288
+ } = t, n = ve(t, [
4268
4289
  "locale"
4269
4290
  ]);
4270
- return Xi(_t({ locale: r }, n));
4271
- }, Ji = (e = {}) => {
4291
+ return Wi(xt({ locale: r }, n));
4292
+ }, Qi = (e = {}) => {
4272
4293
  var t = e, {
4273
- locale: r = ie()
4274
- } = t, n = _e(t, [
4294
+ locale: r = ne()
4295
+ } = t, n = ve(t, [
4275
4296
  "locale"
4276
4297
  ]);
4277
- return Wi(_t({ locale: r }, n));
4278
- }, Qi = (e = {}) => {
4298
+ return zi(xt({ locale: r }, n));
4299
+ }, qi = (e = {}) => {
4279
4300
  var t = e, {
4280
- locale: r = ie()
4281
- } = t, n = _e(t, [
4301
+ locale: r = ne()
4302
+ } = t, n = ve(t, [
4282
4303
  "locale"
4283
4304
  ]);
4284
- return zi(_t({ locale: r }, n));
4285
- }, qi = Ve(
4305
+ return Zi(xt({ locale: r }, n));
4306
+ }, Yi = We(
4286
4307
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4287
- (e, t = ie()) => new Si(e, t, ge().formats, {
4288
- ignoreTag: ge().ignoreTag
4308
+ (e, t = ne()) => new Ti(e, t, be().formats, {
4309
+ ignoreTag: be().ignoreTag
4289
4310
  })
4290
- ), Yi = (e, t = {}) => {
4311
+ ), Ki = (e, t = {}) => {
4291
4312
  var r, n, i, o;
4292
4313
  let s = t;
4293
4314
  typeof e == "object" && (s = e, e = s.id);
4294
4315
  const {
4295
4316
  values: a,
4296
- locale: h = ie(),
4317
+ locale: h = ne(),
4297
4318
  default: l
4298
4319
  } = s;
4299
4320
  if (h == null)
@@ -4302,33 +4323,33 @@ const Ae = (e, t) => {
4302
4323
  );
4303
4324
  let u = Pr(e, h);
4304
4325
  if (!u)
4305
- u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4326
+ u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4306
4327
  else if (typeof u != "string")
4307
4328
  return console.warn(
4308
4329
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4309
4330
  ), u;
4310
4331
  if (!a)
4311
4332
  return u;
4312
- let d = u;
4333
+ let p = u;
4313
4334
  try {
4314
- d = qi(u, h).format(a);
4315
- } catch (f) {
4316
- f instanceof Error && console.warn(
4335
+ p = Yi(u, h).format(a);
4336
+ } catch (c) {
4337
+ c instanceof Error && console.warn(
4317
4338
  `[svelte-i18n] Message "${e}" has syntax error:`,
4318
- f.message
4339
+ c.message
4319
4340
  );
4320
4341
  }
4321
- return d;
4322
- }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Ji(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = ie()) => Pr(e, t), no = ye([ne, ve], () => Yi);
4323
- ye([ne], () => Ki);
4324
- ye([ne], () => eo);
4325
- ye([ne], () => to);
4326
- ye([ne, ve], () => ro);
4327
- window.emWidgets = { topic: gn };
4328
- const io = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), oo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4329
- function Po(e, t) {
4342
+ return p;
4343
+ }, eo = (e, t) => qi(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t = ne()) => Pr(e, t), io = ge([re, ye], () => Ki);
4344
+ ge([re], () => eo);
4345
+ ge([re], () => to);
4346
+ ge([re], () => ro);
4347
+ ge([re, ye], () => no);
4348
+ window.emWidgets = { topic: bn };
4349
+ const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), so = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4350
+ function Bo(e, t) {
4330
4351
  const r = window.navigator.userAgent;
4331
- return io(r) ? t = e.filter((n) => {
4352
+ return oo(r) ? t = e.filter((n) => {
4332
4353
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4333
4354
  return n;
4334
4355
  }) : t = e.filter((n) => {
@@ -4336,13 +4357,13 @@ function Po(e, t) {
4336
4357
  return n;
4337
4358
  }), t;
4338
4359
  }
4339
- function so(e, t) {
4360
+ function ao(e, t) {
4340
4361
  if (e) {
4341
4362
  const r = document.createElement("style");
4342
4363
  r.innerHTML = t, e.appendChild(r);
4343
4364
  }
4344
4365
  }
4345
- function ao(e, t) {
4366
+ function lo(e, t) {
4346
4367
  const r = new URL(t);
4347
4368
  fetch(r.href).then((n) => n.text()).then((n) => {
4348
4369
  const i = document.createElement("style");
@@ -4351,7 +4372,7 @@ function ao(e, t) {
4351
4372
  console.error("There was an error while trying to load client styling from URL", n);
4352
4373
  });
4353
4374
  }
4354
- function lo(e, t, r) {
4375
+ function uo(e, t, r) {
4355
4376
  if (window.emMessageBus) {
4356
4377
  const n = document.createElement("style");
4357
4378
  window.emMessageBus.subscribe(t, (i) => {
@@ -4359,15 +4380,15 @@ function lo(e, t, r) {
4359
4380
  });
4360
4381
  }
4361
4382
  }
4362
- function uo({ withLocale: e, translations: t }) {
4363
- ne.subscribe((r) => {
4364
- r == null && (ve.set(t), ne.set(e));
4383
+ function ho({ withLocale: e, translations: t }) {
4384
+ re.subscribe((r) => {
4385
+ r == null && (ye.set(t), re.set(e));
4365
4386
  });
4366
4387
  }
4367
- function Wt(e, t) {
4388
+ function zt(e, t) {
4368
4389
  Fr(e, t);
4369
4390
  }
4370
- const zt = {
4391
+ const Zt = {
4371
4392
  en: {
4372
4393
  providers: "Providers:",
4373
4394
  filterby: "Filter by:",
@@ -4477,56 +4498,56 @@ const zt = {
4477
4498
  clear: "Clear all"
4478
4499
  }
4479
4500
  };
4480
- function ho(e) {
4501
+ function co(e) {
4481
4502
  Ur(e, "svelte-1rlsu2u", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4482
4503
  }
4483
- function Zt(e, t, r) {
4504
+ function Jt(e, t, r) {
4484
4505
  const n = e.slice();
4485
4506
  return n[37] = t[r], n[38] = t, n[39] = r, n;
4486
4507
  }
4487
- function co(e) {
4508
+ function fo(e) {
4488
4509
  let t, r, n, i, o, s, a, h, l = (
4489
4510
  /*$_*/
4490
4511
  e[11]("filterby") + ""
4491
- ), u, d, f, p, y = (
4512
+ ), u, p, c, m, v = (
4492
4513
  /*$_*/
4493
4514
  e[11]("providers") + ""
4494
- ), g, S, H, E, m, O, L, R, A, P, N, V, z, ee = (
4515
+ ), y, T, H, S, b, I, L, M, A, P, N, z, j, K = (
4495
4516
  /*$_*/
4496
4517
  e[11]("clear") + ""
4497
- ), oe, te, re, se, ae, xe;
4498
- function Pe(c, T) {
4518
+ ), ie, ee, oe, te, se, Ae;
4519
+ function Pe(d, C) {
4499
4520
  return (
4500
4521
  /*fullSelection*/
4501
- c[7] ? mo : po
4522
+ d[7] ? bo : mo
4502
4523
  );
4503
4524
  }
4504
- let le = Pe(e), $ = le(e), Q = Tt(
4525
+ let ae = Pe(e), U = ae(e), J = Ht(
4505
4526
  /*vendorArray*/
4506
4527
  e[5]
4507
- ), M = [];
4508
- for (let c = 0; c < Q.length; c += 1)
4509
- M[c] = Jt(Zt(e, Q, c));
4528
+ ), f = [];
4529
+ for (let d = 0; d < J.length; d += 1)
4530
+ f[d] = Qt(Jt(e, J, d));
4510
4531
  return {
4511
4532
  c() {
4512
- t = B("div"), r = B("div"), n = B("div"), i = we("svg"), o = we("path"), s = X(), a = B("div"), h = B("span"), u = G(l), d = X(), f = B("div"), p = B("span"), g = G(y), S = X(), $.c(), H = X(), E = B("span"), m = we("svg"), O = we("path"), A = X(), P = B("div"), N = B("ul");
4513
- for (let c = 0; c < M.length; c += 1)
4514
- M[c].c();
4515
- V = X(), z = B("button"), oe = G(ee), b(o, "id", "noun_filter_736223"), b(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), b(o, "transform", "translate(-5 -6.2)"), b(o, "fill", "#fff"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "width", "16"), b(i, "height", "16"), b(i, "viewBox", "0 0 16 16"), b(h, "class", "FilterName"), b(f, "class", "FilterValueContainer"), b(a, "class", "FilterTextContainer"), b(n, "class", "FilterMainArea"), b(O, "id", "arrow"), b(O, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), b(O, "transform", "translate(-274.511 -441.088)"), b(O, "fill", "#d1d1d1"), b(m, "xmlns", "http://www.w3.org/2000/svg"), b(m, "width", "14"), b(m, "height", "6.835"), b(m, "viewBox", "0 0 14 6.835"), b(E, "class", L = "TriangleInactive " + /*isFilterActive*/
4516
- (e[4] ? "TriangleActive" : "")), b(r, "class", R = "FilterSelector " + /*isFilterActive*/
4517
- (e[4] ? "FilterSelectorOpen" : "")), b(N, "class", "FilterDropdown"), b(z, "class", "ClearFilters"), z.disabled = te = /*fullSelection*/
4533
+ t = B("div"), r = B("div"), n = B("div"), i = xe("svg"), o = xe("path"), s = V(), a = B("div"), h = B("span"), u = D(l), p = V(), c = B("div"), m = B("span"), y = D(v), T = V(), U.c(), H = V(), S = B("span"), b = xe("svg"), I = xe("path"), A = V(), P = B("div"), N = B("ul");
4534
+ for (let d = 0; d < f.length; d += 1)
4535
+ f[d].c();
4536
+ z = V(), j = B("button"), ie = D(K), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4537
+ (e[4] ? "TriangleActive" : "")), g(r, "class", M = "FilterSelector " + /*isFilterActive*/
4538
+ (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = ee = /*fullSelection*/
4518
4539
  e[7] && /*selectedVendorArray*/
4519
4540
  e[6].length != /*vendorArray*/
4520
- e[5].length, b(P, "class", re = "FilterDropdownContainer " + /*isFilterActive*/
4521
- (e[4] ? "FilterOpen" : "")), b(t, "class", se = "FilterContainer " + /*addfilterselector*/
4541
+ e[5].length, g(P, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4542
+ (e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
4522
4543
  (e[0] == "true" && /*addsortingselector*/
4523
4544
  e[1] == "true" ? "FilerContainerSplit" : ""));
4524
4545
  },
4525
- m(c, T) {
4526
- W(c, t, T), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, f), v(f, p), v(p, g), v(f, S), $.m(f, null), v(r, H), v(r, E), v(E, m), v(m, O), v(t, A), v(t, P), v(P, N);
4527
- for (let F = 0; F < M.length; F += 1)
4528
- M[F] && M[F].m(N, null);
4529
- v(P, V), v(P, z), v(z, oe), ae || (xe = [
4546
+ m(d, C) {
4547
+ W(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
4548
+ for (let x = 0; x < f.length; x += 1)
4549
+ f[x] && f[x].m(N, null);
4550
+ _(P, z), _(P, j), _(j, ie), se || (Ae = [
4530
4551
  Re(
4531
4552
  r,
4532
4553
  "click",
@@ -4534,145 +4555,145 @@ function co(e) {
4534
4555
  e[24]
4535
4556
  ),
4536
4557
  Re(
4537
- z,
4558
+ j,
4538
4559
  "click",
4539
4560
  /*click_handler_2*/
4540
4561
  e[27]
4541
4562
  )
4542
- ], ae = !0);
4563
+ ], se = !0);
4543
4564
  },
4544
- p(c, T) {
4545
- if (T[0] & /*$_*/
4565
+ p(d, C) {
4566
+ if (C[0] & /*$_*/
4546
4567
  2048 && l !== (l = /*$_*/
4547
- c[11]("filterby") + "") && Y(u, l), T[0] & /*$_*/
4548
- 2048 && y !== (y = /*$_*/
4549
- c[11]("providers") + "") && Y(g, y), le === (le = Pe(c)) && $ ? $.p(c, T) : ($.d(1), $ = le(c), $ && ($.c(), $.m(f, null))), T[0] & /*isFilterActive*/
4568
+ d[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4569
+ 2048 && v !== (v = /*$_*/
4570
+ d[11]("providers") + "") && q(y, v), ae === (ae = Pe(d)) && U ? U.p(d, C) : (U.d(1), U = ae(d), U && (U.c(), U.m(c, null))), C[0] & /*isFilterActive*/
4550
4571
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4551
- (c[4] ? "TriangleActive" : "")) && b(E, "class", L), T[0] & /*isFilterActive*/
4552
- 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4553
- (c[4] ? "FilterSelectorOpen" : "")) && b(r, "class", R), T[0] & /*filterbylogo, vendorArray, filterByVendors*/
4572
+ (d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
4573
+ 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4574
+ (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", M), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4554
4575
  8228) {
4555
- Q = Tt(
4576
+ J = Ht(
4556
4577
  /*vendorArray*/
4557
- c[5]
4578
+ d[5]
4558
4579
  );
4559
- let F;
4560
- for (F = 0; F < Q.length; F += 1) {
4561
- const I = Zt(c, Q, F);
4562
- M[F] ? M[F].p(I, T) : (M[F] = Jt(I), M[F].c(), M[F].m(N, null));
4580
+ let x;
4581
+ for (x = 0; x < J.length; x += 1) {
4582
+ const le = Jt(d, J, x);
4583
+ f[x] ? f[x].p(le, C) : (f[x] = Qt(le), f[x].c(), f[x].m(N, null));
4563
4584
  }
4564
- for (; F < M.length; F += 1)
4565
- M[F].d(1);
4566
- M.length = Q.length;
4585
+ for (; x < f.length; x += 1)
4586
+ f[x].d(1);
4587
+ f.length = J.length;
4567
4588
  }
4568
- T[0] & /*$_*/
4569
- 2048 && ee !== (ee = /*$_*/
4570
- c[11]("clear") + "") && Y(oe, ee), T[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4571
- 224 && te !== (te = /*fullSelection*/
4572
- c[7] && /*selectedVendorArray*/
4573
- c[6].length != /*vendorArray*/
4574
- c[5].length) && (z.disabled = te), T[0] & /*isFilterActive*/
4575
- 16 && re !== (re = "FilterDropdownContainer " + /*isFilterActive*/
4576
- (c[4] ? "FilterOpen" : "")) && b(P, "class", re), T[0] & /*addfilterselector, addsortingselector*/
4577
- 3 && se !== (se = "FilterContainer " + /*addfilterselector*/
4578
- (c[0] == "true" && /*addsortingselector*/
4579
- c[1] == "true" ? "FilerContainerSplit" : "")) && b(t, "class", se);
4589
+ C[0] & /*$_*/
4590
+ 2048 && K !== (K = /*$_*/
4591
+ d[11]("clear") + "") && q(ie, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4592
+ 224 && ee !== (ee = /*fullSelection*/
4593
+ d[7] && /*selectedVendorArray*/
4594
+ d[6].length != /*vendorArray*/
4595
+ d[5].length) && (j.disabled = ee), C[0] & /*isFilterActive*/
4596
+ 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4597
+ (d[4] ? "FilterOpen" : "")) && g(P, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4598
+ 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4599
+ (d[0] == "true" && /*addsortingselector*/
4600
+ d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
4580
4601
  },
4581
- d(c) {
4582
- c && j(t), $.d(), kr(M, c), ae = !1, K(xe);
4602
+ d(d) {
4603
+ d && k(t), U.d(), kr(f, d), se = !1, Y(Ae);
4583
4604
  }
4584
4605
  };
4585
4606
  }
4586
- function fo(e) {
4607
+ function po(e) {
4587
4608
  let t, r = (
4588
4609
  /*$_*/
4589
4610
  e[11]("500") + ""
4590
4611
  ), n;
4591
4612
  return {
4592
4613
  c() {
4593
- t = B("p"), n = G(r), b(t, "class", "SearchLoading");
4614
+ t = B("p"), n = D(r), g(t, "class", "SearchLoading");
4594
4615
  },
4595
4616
  m(i, o) {
4596
- W(i, t, o), v(t, n);
4617
+ W(i, t, o), _(t, n);
4597
4618
  },
4598
4619
  p(i, o) {
4599
4620
  o[0] & /*$_*/
4600
4621
  2048 && r !== (r = /*$_*/
4601
- i[11]("500") + "") && Y(n, r);
4622
+ i[11]("500") + "") && q(n, r);
4602
4623
  },
4603
4624
  d(i) {
4604
- i && j(t);
4625
+ i && k(t);
4605
4626
  }
4606
4627
  };
4607
4628
  }
4608
- function po(e) {
4629
+ function mo(e) {
4609
4630
  let t, r;
4610
4631
  return {
4611
4632
  c() {
4612
- t = B("span"), r = G(
4633
+ t = B("span"), r = D(
4613
4634
  /*selectionNumber*/
4614
4635
  e[8]
4615
- ), b(t, "class", "FilterCounter");
4636
+ ), g(t, "class", "FilterCounter");
4616
4637
  },
4617
4638
  m(n, i) {
4618
- W(n, t, i), v(t, r);
4639
+ W(n, t, i), _(t, r);
4619
4640
  },
4620
4641
  p(n, i) {
4621
4642
  i[0] & /*selectionNumber*/
4622
- 256 && Y(
4643
+ 256 && q(
4623
4644
  r,
4624
4645
  /*selectionNumber*/
4625
4646
  n[8]
4626
4647
  );
4627
4648
  },
4628
4649
  d(n) {
4629
- n && j(t);
4650
+ n && k(t);
4630
4651
  }
4631
4652
  };
4632
4653
  }
4633
- function mo(e) {
4654
+ function bo(e) {
4634
4655
  let t, r = (
4635
4656
  /*$_*/
4636
4657
  e[11]("all") + ""
4637
4658
  ), n;
4638
4659
  return {
4639
4660
  c() {
4640
- t = B("span"), n = G(r), b(t, "class", "FilterCounter");
4661
+ t = B("span"), n = D(r), g(t, "class", "FilterCounter");
4641
4662
  },
4642
4663
  m(i, o) {
4643
- W(i, t, o), v(t, n);
4664
+ W(i, t, o), _(t, n);
4644
4665
  },
4645
4666
  p(i, o) {
4646
4667
  o[0] & /*$_*/
4647
4668
  2048 && r !== (r = /*$_*/
4648
- i[11]("all") + "") && Y(n, r);
4669
+ i[11]("all") + "") && q(n, r);
4649
4670
  },
4650
4671
  d(i) {
4651
- i && j(t);
4672
+ i && k(t);
4652
4673
  }
4653
4674
  };
4654
4675
  }
4655
- function bo(e) {
4676
+ function go(e) {
4656
4677
  let t, r;
4657
4678
  return {
4658
4679
  c() {
4659
- t = B("img"), Et(t.src, r = /*vendor*/
4660
- e[37].logo) || b(t, "src", r), b(t, "alt", "vendor logo");
4680
+ t = B("img"), wt(t.src, r = /*vendor*/
4681
+ e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4661
4682
  },
4662
4683
  m(n, i) {
4663
4684
  W(n, t, i);
4664
4685
  },
4665
4686
  p(n, i) {
4666
4687
  i[0] & /*vendorArray*/
4667
- 32 && !Et(t.src, r = /*vendor*/
4668
- n[37].logo) && b(t, "src", r);
4688
+ 32 && !wt(t.src, r = /*vendor*/
4689
+ n[37].logo) && g(t, "src", r);
4669
4690
  },
4670
4691
  d(n) {
4671
- n && j(t);
4692
+ n && k(t);
4672
4693
  }
4673
4694
  };
4674
4695
  }
4675
- function go(e) {
4696
+ function yo(e) {
4676
4697
  let t, r, n = (
4677
4698
  /*vendor*/
4678
4699
  e[37].name + ""
@@ -4682,26 +4703,26 @@ function go(e) {
4682
4703
  ), l, u;
4683
4704
  return {
4684
4705
  c() {
4685
- t = B("div"), r = B("span"), i = G(n), o = X(), s = B("span"), a = G("("), l = G(h), u = G(")"), b(r, "class", "VendorName"), b(t, "class", "FilterItemLabel");
4706
+ t = B("div"), r = B("span"), i = D(n), o = V(), s = B("span"), a = D("("), l = D(h), u = D(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4686
4707
  },
4687
- m(d, f) {
4688
- W(d, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, u);
4708
+ m(p, c) {
4709
+ W(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4689
4710
  },
4690
- p(d, f) {
4691
- f[0] & /*vendorArray*/
4711
+ p(p, c) {
4712
+ c[0] & /*vendorArray*/
4692
4713
  32 && n !== (n = /*vendor*/
4693
- d[37].name + "") && Y(i, n), f[0] & /*vendorArray*/
4714
+ p[37].name + "") && q(i, n), c[0] & /*vendorArray*/
4694
4715
  32 && h !== (h = /*vendor*/
4695
- d[37].games.total + "") && Y(l, h);
4716
+ p[37].games.total + "") && q(l, h);
4696
4717
  },
4697
- d(d) {
4698
- d && j(t);
4718
+ d(p) {
4719
+ p && k(t);
4699
4720
  }
4700
4721
  };
4701
4722
  }
4702
- function Jt(e) {
4703
- let t, r, n, i, o, s, a, h, l, u, d, f;
4704
- function p() {
4723
+ function Qt(e) {
4724
+ let t, r, n, i, o, s, a, h, l, u, p, c;
4725
+ function m() {
4705
4726
  e[25].call(
4706
4727
  n,
4707
4728
  /*each_value*/
@@ -4710,7 +4731,7 @@ function Jt(e) {
4710
4731
  e[39]
4711
4732
  );
4712
4733
  }
4713
- function y() {
4734
+ function v() {
4714
4735
  return (
4715
4736
  /*click_handler_1*/
4716
4737
  e[26](
@@ -4719,60 +4740,60 @@ function Jt(e) {
4719
4740
  )
4720
4741
  );
4721
4742
  }
4722
- function g(E, m) {
4743
+ function y(S, b) {
4723
4744
  if (
4724
4745
  /*filterbylogo*/
4725
- E[2] === "false"
4746
+ S[2] === "false"
4726
4747
  )
4727
- return go;
4748
+ return yo;
4728
4749
  if (
4729
4750
  /*filterbylogo*/
4730
- E[2] === "true"
4751
+ S[2] === "true"
4731
4752
  )
4732
- return bo;
4753
+ return go;
4733
4754
  }
4734
- let S = g(e), H = S && S(e);
4755
+ let T = y(e), H = T && T(e);
4735
4756
  return {
4736
4757
  c() {
4737
- t = B("li"), r = B("label"), n = B("input"), o = X(), s = B("span"), a = X(), H && H.c(), h = X(), b(n, "type", "checkbox"), b(n, "name", "checkbox"), n.__value = i = /*vendor*/
4738
- e[37].name, wt(n, n.__value), b(s, "class", "FiltersCheckmark"), b(r, "class", "FilterLabel"), b(t, "class", l = "FilterItem " + /*filterbylogo*/
4758
+ t = B("li"), r = B("label"), n = B("input"), o = V(), s = B("span"), a = V(), H && H.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4759
+ e[37].name, St(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4739
4760
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4740
4761
  e[37].name;
4741
4762
  },
4742
- m(E, m) {
4743
- W(E, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
4744
- e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, h), d || (f = [
4745
- Re(n, "change", p),
4746
- Re(n, "click", y)
4747
- ], d = !0);
4763
+ m(S, b) {
4764
+ W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4765
+ e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, h), p || (c = [
4766
+ Re(n, "change", m),
4767
+ Re(n, "click", v)
4768
+ ], p = !0);
4748
4769
  },
4749
- p(E, m) {
4750
- e = E, m[0] & /*vendorArray*/
4770
+ p(S, b) {
4771
+ e = S, b[0] & /*vendorArray*/
4751
4772
  32 && i !== (i = /*vendor*/
4752
- e[37].name) && (n.__value = i, wt(n, n.__value)), m[0] & /*vendorArray*/
4773
+ e[37].name) && (n.__value = i, St(n, n.__value)), b[0] & /*vendorArray*/
4753
4774
  32 && (n.checked = /*vendor*/
4754
- e[37].isFilterSelected), S === (S = g(e)) && H ? H.p(e, m) : (H && H.d(1), H = S && S(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
4775
+ e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4755
4776
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4756
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && b(t, "class", l), m[0] & /*vendorArray*/
4777
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4757
4778
  32 && u !== (u = /*vendor*/
4758
4779
  e[37].name) && (t.value = u);
4759
4780
  },
4760
- d(E) {
4761
- E && j(t), H && H.d(), d = !1, K(f);
4781
+ d(S) {
4782
+ S && k(t), H && H.d(), p = !1, Y(c);
4762
4783
  }
4763
4784
  };
4764
4785
  }
4765
- function yo(e) {
4786
+ function vo(e) {
4766
4787
  let t;
4767
4788
  function r(o, s) {
4768
4789
  if (
4769
4790
  /*hasErrors*/
4770
4791
  o[10]
4771
4792
  )
4772
- return fo;
4793
+ return po;
4773
4794
  if (!/*isLoading*/
4774
4795
  o[9])
4775
- return co;
4796
+ return fo;
4776
4797
  }
4777
4798
  let n = r(e), i = n && n(e);
4778
4799
  return {
@@ -4785,104 +4806,104 @@ function yo(e) {
4785
4806
  p(o, s) {
4786
4807
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4787
4808
  },
4788
- i: k,
4789
- o: k,
4809
+ i: G,
4810
+ o: G,
4790
4811
  d(o) {
4791
- o && j(t), i && i.d(), e[28](null);
4812
+ o && k(t), i && i.d(), e[28](null);
4792
4813
  }
4793
4814
  };
4794
4815
  }
4795
- function vo(e, t, r) {
4816
+ function _o(e, t, r) {
4796
4817
  let n;
4797
- Dr(e, no, (c) => r(11, n = c));
4798
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: y } = t, { usesinglevendorfilter: g = "false" } = t, S = !1, H = window.navigator.userAgent, E = [], m = [], O = {}, L = !1, R = 0, A = !0, P, N = !1, V;
4799
- uo({ withLocale: "en", translations: {} });
4818
+ $r(e, io, (f) => r(11, n = f));
4819
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, M = 0, A = !0, P, N = !1;
4820
+ ho({ withLocale: "en", translations: {} });
4800
4821
  const z = () => {
4801
- fetch(a).then((T) => T.json()).then((T) => {
4802
- Object.keys(T).forEach((F) => {
4803
- Wt(F, T[F]);
4822
+ fetch(a).then((d) => d.json()).then((d) => {
4823
+ Object.keys(d).forEach((C) => {
4824
+ zt(C, d[C]);
4804
4825
  });
4805
- }).catch((T) => {
4806
- console.log(T);
4826
+ }).catch((d) => {
4827
+ console.log(d);
4807
4828
  });
4808
4829
  };
4809
- Object.keys(zt).forEach((c) => {
4810
- Wt(c, zt[c]);
4811
- }), O[u] && (O = { [u]: [] });
4812
- const ee = () => {
4813
- r(4, S = !S), window.postMessage({ type: "FilterOpened" }, window.location.href);
4814
- }, oe = (c) => (r(9, A = !0), new Promise((T, F) => {
4815
- fetch(c).then((I) => I.json()).then((I) => {
4816
- I = I.items, T(I.items), r(6, m = []);
4817
- let Xe = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4818
- const Mr = g === "true" ? "*" : u;
4819
- I.forEach((Be) => {
4820
- Xe || (Xe = { currentCategoryId: [] }), Xe[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, m.push(Be)) : Be.isFilterSelected = !1;
4821
- }), r(5, E = I), re();
4822
- }).catch((I) => {
4823
- console.error(I), r(10, N = !0), F(I);
4830
+ Object.keys(Zt).forEach((f) => {
4831
+ zt(f, Zt[f]);
4832
+ }), I[u] && (I = { [u]: [] });
4833
+ const j = () => {
4834
+ r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4835
+ }, K = (f) => (r(9, A = !0), new Promise((d, C) => {
4836
+ fetch(f).then((x) => x.json()).then((x) => {
4837
+ x = x.items, d(x.items), r(6, b = []);
4838
+ let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4839
+ const Mr = y === "true" ? "*" : u;
4840
+ x.forEach((Be) => {
4841
+ le || (le = { currentCategoryId: [] }), le[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, b.push(Be)) : Be.isFilterSelected = !1;
4842
+ }), r(5, S = x), ee();
4843
+ }).catch((x) => {
4844
+ console.error(x), r(10, N = !0), C(x);
4824
4845
  }).finally(() => {
4825
4846
  r(9, A = !1);
4826
4847
  });
4827
- })), te = (c) => {
4828
- let T = localStorage.getItem("vendorFiltersByCategory");
4829
- c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((I) => I.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((I) => I.name !== c.name));
4830
- const F = g === "true" ? "*" : u;
4831
- T == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4832
- [F]: m.map((I) => I.id)
4833
- })) : (T = JSON.parse(T), T[F] = m.map((I) => I.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), re();
4834
- }, re = () => {
4835
- r(7, L = m.length === E.length || m.length == 0), r(8, R = m.length);
4836
- }, se = () => {
4837
- if (E.length && g === "true")
4848
+ })), ie = (f) => {
4849
+ let d = localStorage.getItem("vendorFiltersByCategory");
4850
+ f.isFilterSelected = !f.isFilterSelected, !b.length || b.filter((x) => x.name === f.name).length == 0 ? b.push(f) : r(6, b = b.filter((x) => x.name !== f.name));
4851
+ const C = y === "true" ? "*" : u;
4852
+ d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4853
+ [C]: b.map((x) => x.id)
4854
+ })) : (d = JSON.parse(d), d[C] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4855
+ }, ee = () => {
4856
+ r(7, L = b.length === S.length || b.length == 0), r(8, M = b.length);
4857
+ }, oe = () => {
4858
+ if (S.length && y === "true")
4838
4859
  return;
4839
- const c = new URL(`${i}/v1/casino/vendors`);
4840
- r(4, S = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", oo(H)), g === "true" || ((u.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${u})`), c.searchParams.append("subVendors", `games(subGroups=${u})`)) : c.searchParams.append("filter", `games(groups=${u})`)), oe(c);
4841
- }, ae = () => {
4842
- r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4843
- [g === "true" ? "*" : u]: m.map((c) => c.id)
4844
- })), E.forEach((c) => c.isFilterSelected = !1), r(5, E), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, S = !1);
4845
- }, xe = (c) => {
4846
- c.data.type == "SortingOpened" && r(4, S = !1);
4860
+ const f = new URL(`${i}/v1/casino/vendors`);
4861
+ r(4, T = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", so(H)), y === "true" || ((u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`)), K(f);
4862
+ }, te = () => {
4863
+ r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4864
+ [y === "true" ? "*" : u]: b.map((f) => f.id)
4865
+ })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4866
+ }, se = (f) => {
4867
+ f.data.type == "SortingOpened" && r(4, T = !1);
4847
4868
  };
4848
- Xr(() => (window.addEventListener("message", xe, !1), () => {
4849
- window.emMessageBus != null && V && V.unsubscribe(), window.removeEventListener("message", xe);
4869
+ Xr(() => (window.addEventListener("message", se, !1), () => {
4870
+ window.removeEventListener("message", se);
4850
4871
  }));
4851
- const Pe = () => ee();
4852
- function le(c, T) {
4853
- c[T].isFilterSelected = this.checked, r(5, E);
4872
+ const Ae = () => j();
4873
+ function Pe(f, d) {
4874
+ f[d].isFilterSelected = this.checked, r(5, S);
4854
4875
  }
4855
- const $ = (c) => te(c), Q = () => ae();
4856
- function M(c) {
4857
- et[c ? "unshift" : "push"](() => {
4858
- P = c, r(3, P);
4876
+ const ae = (f) => ie(f), U = () => te();
4877
+ function J(f) {
4878
+ tt[f ? "unshift" : "push"](() => {
4879
+ P = f, r(3, P);
4859
4880
  });
4860
4881
  }
4861
- return e.$$set = (c) => {
4862
- "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, h = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, u = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, p = c.filterbylogo), "mbsource" in c && r(22, y = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
4882
+ return e.$$set = (f) => {
4883
+ "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
4863
4884
  }, e.$$.update = () => {
4864
4885
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4865
- 2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4866
- 524296 && h && P && so(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4867
- 1048584 && l && P && ao(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4868
- 4194312 && P && lo(P, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
4886
+ 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4887
+ 524296 && h && P && ao(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4888
+ 1048584 && l && P && lo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4889
+ 4194312 && P && uo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4869
4890
  262144 && a && z();
4870
4891
  }, [
4871
- d,
4872
- f,
4873
4892
  p,
4893
+ c,
4894
+ m,
4874
4895
  P,
4896
+ T,
4875
4897
  S,
4876
- E,
4877
- m,
4898
+ b,
4878
4899
  L,
4879
- R,
4900
+ M,
4880
4901
  A,
4881
4902
  N,
4882
4903
  n,
4883
- ee,
4904
+ j,
4905
+ ie,
4884
4906
  te,
4885
- ae,
4886
4907
  i,
4887
4908
  o,
4888
4909
  s,
@@ -4890,13 +4911,13 @@ function vo(e, t, r) {
4890
4911
  h,
4891
4912
  l,
4892
4913
  u,
4914
+ v,
4893
4915
  y,
4894
- g,
4916
+ Ae,
4895
4917
  Pe,
4896
- le,
4897
- $,
4898
- Q,
4899
- M
4918
+ ae,
4919
+ U,
4920
+ J
4900
4921
  ];
4901
4922
  }
4902
4923
  class Nr extends en {
@@ -4904,9 +4925,9 @@ class Nr extends en {
4904
4925
  super(), Yr(
4905
4926
  this,
4906
4927
  t,
4928
+ _o,
4907
4929
  vo,
4908
- yo,
4909
- qt,
4930
+ Yt,
4910
4931
  {
4911
4932
  endpoint: 15,
4912
4933
  datasource: 16,
@@ -4921,7 +4942,7 @@ class Nr extends en {
4921
4942
  mbsource: 22,
4922
4943
  usesinglevendorfilter: 23
4923
4944
  },
4924
- ho,
4945
+ co,
4925
4946
  [-1, -1]
4926
4947
  );
4927
4948
  }
@@ -4929,121 +4950,121 @@ class Nr extends en {
4929
4950
  return this.$$.ctx[15];
4930
4951
  }
4931
4952
  set endpoint(t) {
4932
- this.$$set({ endpoint: t }), U();
4953
+ this.$$set({ endpoint: t }), $();
4933
4954
  }
4934
4955
  get datasource() {
4935
4956
  return this.$$.ctx[16];
4936
4957
  }
4937
4958
  set datasource(t) {
4938
- this.$$set({ datasource: t }), U();
4959
+ this.$$set({ datasource: t }), $();
4939
4960
  }
4940
4961
  get lang() {
4941
4962
  return this.$$.ctx[17];
4942
4963
  }
4943
4964
  set lang(t) {
4944
- this.$$set({ lang: t }), U();
4965
+ this.$$set({ lang: t }), $();
4945
4966
  }
4946
4967
  get translationurl() {
4947
4968
  return this.$$.ctx[18];
4948
4969
  }
4949
4970
  set translationurl(t) {
4950
- this.$$set({ translationurl: t }), U();
4971
+ this.$$set({ translationurl: t }), $();
4951
4972
  }
4952
4973
  get clientstyling() {
4953
4974
  return this.$$.ctx[19];
4954
4975
  }
4955
4976
  set clientstyling(t) {
4956
- this.$$set({ clientstyling: t }), U();
4977
+ this.$$set({ clientstyling: t }), $();
4957
4978
  }
4958
4979
  get clientstylingurl() {
4959
4980
  return this.$$.ctx[20];
4960
4981
  }
4961
4982
  set clientstylingurl(t) {
4962
- this.$$set({ clientstylingurl: t }), U();
4983
+ this.$$set({ clientstylingurl: t }), $();
4963
4984
  }
4964
4985
  get categoryid() {
4965
4986
  return this.$$.ctx[21];
4966
4987
  }
4967
4988
  set categoryid(t) {
4968
- this.$$set({ categoryid: t }), U();
4989
+ this.$$set({ categoryid: t }), $();
4969
4990
  }
4970
4991
  get addfilterselector() {
4971
4992
  return this.$$.ctx[0];
4972
4993
  }
4973
4994
  set addfilterselector(t) {
4974
- this.$$set({ addfilterselector: t }), U();
4995
+ this.$$set({ addfilterselector: t }), $();
4975
4996
  }
4976
4997
  get addsortingselector() {
4977
4998
  return this.$$.ctx[1];
4978
4999
  }
4979
5000
  set addsortingselector(t) {
4980
- this.$$set({ addsortingselector: t }), U();
5001
+ this.$$set({ addsortingselector: t }), $();
4981
5002
  }
4982
5003
  get filterbylogo() {
4983
5004
  return this.$$.ctx[2];
4984
5005
  }
4985
5006
  set filterbylogo(t) {
4986
- this.$$set({ filterbylogo: t }), U();
5007
+ this.$$set({ filterbylogo: t }), $();
4987
5008
  }
4988
5009
  get mbsource() {
4989
5010
  return this.$$.ctx[22];
4990
5011
  }
4991
5012
  set mbsource(t) {
4992
- this.$$set({ mbsource: t }), U();
5013
+ this.$$set({ mbsource: t }), $();
4993
5014
  }
4994
5015
  get usesinglevendorfilter() {
4995
5016
  return this.$$.ctx[23];
4996
5017
  }
4997
5018
  set usesinglevendorfilter(t) {
4998
- this.$$set({ usesinglevendorfilter: t }), U();
5019
+ this.$$set({ usesinglevendorfilter: t }), $();
4999
5020
  }
5000
5021
  }
5001
5022
  Kr(Nr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5002
- const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5023
+ const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5003
5024
  __proto__: null,
5004
5025
  default: Nr
5005
5026
  }, Symbol.toStringTag, { value: "Module" }));
5006
5027
  export {
5007
- ne as $,
5008
- so as A,
5009
- lo as B,
5010
- Tt as C,
5011
- kr as D,
5012
- no as E,
5013
- To as F,
5014
- we as G,
5015
- wo as H,
5016
- So as I,
5017
- Po as J,
5018
- Ao as K,
5019
- Ho as L,
5020
- ve as M,
5021
- Bo as N,
5028
+ re as $,
5029
+ Ho as A,
5030
+ xe as B,
5031
+ ao as C,
5032
+ lo as D,
5033
+ uo as E,
5034
+ Kr as F,
5035
+ io as G,
5036
+ So as H,
5037
+ To as I,
5038
+ Bo as J,
5039
+ Po as K,
5040
+ Ao as L,
5041
+ ye as M,
5042
+ Fo as N,
5022
5043
  en as S,
5023
5044
  Fr as a,
5024
5045
  Ur as b,
5025
- Kr as c,
5026
- X as d,
5027
- B as e,
5028
- U as f,
5029
- Et as g,
5030
- xo as h,
5046
+ wt as c,
5047
+ k as d,
5048
+ Eo as e,
5049
+ $ as f,
5050
+ q as g,
5051
+ g as h,
5031
5052
  Yr as i,
5032
- b as j,
5033
- Eo as k,
5034
- W as l,
5035
- v as m,
5036
- Y as n,
5037
- k as o,
5038
- j as p,
5039
- Dr as q,
5040
- Xr as r,
5041
- qt as s,
5042
- G as t,
5043
- ao as u,
5044
- Re as v,
5045
- _o as w,
5046
- io as x,
5047
- oo as y,
5048
- et as z
5053
+ W as j,
5054
+ _ as k,
5055
+ B as l,
5056
+ V as m,
5057
+ G as n,
5058
+ D as o,
5059
+ $r as p,
5060
+ Xr as q,
5061
+ Re as r,
5062
+ Yt as s,
5063
+ wo as t,
5064
+ xo as u,
5065
+ oo as v,
5066
+ so as w,
5067
+ tt as x,
5068
+ Ht as y,
5069
+ kr as z
5049
5070
  };