@everymatrix/casino-most-played-section 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/CasinoFilter-BAdLTnAD.cjs +5 -0
  2. package/components/{CasinoFilter-BI27xzap.js → CasinoFilter-fbj0IAUu.js} +1008 -988
  3. package/components/{CasinoFilter-DFZ3WYCN.js → CasinoFilter-whrvW_Wr.js} +1041 -1021
  4. package/components/{CasinoGameThumbnail-B9ayiLVX.js → CasinoGameThumbnail-ByOsKdAz.js} +1192 -1197
  5. package/components/CasinoGameThumbnail-CC4Sp_8e.cjs +47 -0
  6. package/components/{CasinoGameThumbnail-DalrsvwA.js → CasinoGameThumbnail-DDm68IkO.js} +1193 -1198
  7. package/components/{CasinoGamesCategorySection-CX7b8KGX.js → CasinoGamesCategorySection-BRqdWRg5.js} +945 -919
  8. package/components/{CasinoGamesCategorySection-CDCimaA-.js → CasinoGamesCategorySection-CrUw-cLw.js} +855 -829
  9. package/components/CasinoGamesCategorySection-vJ4GHywW.cjs +1 -0
  10. package/components/{CasinoMostPlayedSection-ChLe2LA-.js → CasinoMostPlayedSection-BEBD5zQW.js} +192 -183
  11. package/components/{CasinoMostPlayedSection-D01DQAMD.js → CasinoMostPlayedSection-BII2-3JX.js} +192 -183
  12. package/components/CasinoMostPlayedSection-BtV5x3I6.cjs +1 -0
  13. package/components/CasinoSort-CkG6j04g.js +427 -0
  14. package/components/CasinoSort-DipisPF3.cjs +1 -0
  15. package/components/CasinoSort-Pgz0Acwm.js +428 -0
  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/components/CasinoFilter-DsPFGyLq.cjs +0 -5
  21. package/components/CasinoGameThumbnail-SsDw02qF.cjs +0 -47
  22. package/components/CasinoGamesCategorySection-CaE16Il2.cjs +0 -1
  23. package/components/CasinoMostPlayedSection-CxjLLmgE.cjs +0 -1
  24. package/components/CasinoSort-CEbh5FL7.cjs +0 -1
  25. package/components/CasinoSort-DHs5pqaK.js +0 -432
  26. package/components/CasinoSort-Dhqq-EhY.js +0 -431
@@ -1,50 +1,50 @@
1
- function G() {
1
+ function k() {
2
2
  }
3
- function Wt(e) {
3
+ function Xt(e) {
4
4
  return e();
5
5
  }
6
- function gt() {
6
+ function bt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Y(e) {
10
- e.forEach(Wt);
10
+ e.forEach(Xt);
11
11
  }
12
12
  function dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function zt(e, t) {
15
+ function Wt(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 vt(e, t) {
19
+ function gt(e, t) {
20
20
  return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
22
  function Fr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Zt(e, ...t) {
25
+ function zt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return G;
29
+ return k;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Br(e, t, r) {
35
- e.$$.on_destroy.push(Zt(t, r));
34
+ function Cr(e, t, r) {
35
+ e.$$.on_destroy.push(zt(t, r));
36
36
  }
37
- function y(e, t) {
37
+ function _(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Or(e, t, r) {
41
- const n = Ir(e);
40
+ function Br(e, t, r) {
41
+ const n = Or(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = F("style");
44
- i.id = t, i.textContent = r, Lr(n, i);
44
+ i.id = t, i.textContent = r, Ir(n, i);
45
45
  }
46
46
  }
47
- function Ir(e) {
47
+ function Or(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,20 +53,20 @@ function Ir(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Lr(e, t) {
57
- return y(
56
+ function Ir(e, t) {
57
+ return _(
58
58
  /** @type {Document} */
59
59
  e.head || e,
60
60
  t
61
61
  ), t.sheet;
62
62
  }
63
- function X(e, t, r) {
63
+ function W(e, t, r) {
64
64
  e.insertBefore(t, r || null);
65
65
  }
66
- function k(e) {
66
+ function j(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Nr(e, t) {
69
+ function Lr(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
@@ -76,39 +76,39 @@ function F(e) {
76
76
  function Ee(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
- function U(e) {
79
+ function G(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function V() {
83
- return U(" ");
82
+ function X() {
83
+ return G(" ");
84
84
  }
85
- function co() {
86
- return U("");
85
+ function po() {
86
+ return G("");
87
87
  }
88
- function Re(e, t, r, n) {
88
+ function Me(e, t, r, n) {
89
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
90
90
  }
91
- function g(e, t, r) {
91
+ function m(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function fo(e, t, r) {
94
+ function mo(e, t, r) {
95
95
  const n = t.toLowerCase();
96
- 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);
96
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
97
97
  }
98
- function Mr(e) {
98
+ function Nr(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
101
  function q(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
- function yt(e, t) {
105
+ function vt(e, t) {
106
106
  e.value = t ?? "";
107
107
  }
108
- function po(e, t, r) {
108
+ function bo(e, t, r) {
109
109
  e.classList.toggle(t, !!r);
110
110
  }
111
- class mo {
111
+ class go {
112
112
  /**
113
113
  * @private
114
114
  * @default false
@@ -163,7 +163,7 @@ class mo {
163
163
  * @returns {void} */
164
164
  i(t) {
165
165
  for (let r = 0; r < this.n.length; r += 1)
166
- X(this.t, this.n[r], t);
166
+ W(this.t, this.n[r], t);
167
167
  }
168
168
  /**
169
169
  * @param {string} html
@@ -175,10 +175,10 @@ class mo {
175
175
  /**
176
176
  * @returns {void} */
177
177
  d() {
178
- this.n.forEach(k);
178
+ this.n.forEach(j);
179
179
  }
180
180
  }
181
- function Rr(e) {
181
+ function Mr(e) {
182
182
  const t = {};
183
183
  return e.childNodes.forEach(
184
184
  /** @param {Element} node */
@@ -191,113 +191,113 @@ let Se;
191
191
  function we(e) {
192
192
  Se = e;
193
193
  }
194
- function $r() {
194
+ function Rr() {
195
195
  if (!Se) throw new Error("Function called outside component initialization");
196
196
  return Se;
197
197
  }
198
198
  function Dr(e) {
199
- $r().$$.on_mount.push(e);
199
+ Rr().$$.on_mount.push(e);
200
200
  }
201
- const ce = [], Ye = [];
202
- let fe = [];
203
- const _t = [], Jt = /* @__PURE__ */ Promise.resolve();
204
- let Ke = !1;
205
- function Qt() {
206
- Ke || (Ke = !0, Jt.then(D));
201
+ const he = [], qe = [];
202
+ let ce = [];
203
+ const yt = [], Zt = /* @__PURE__ */ Promise.resolve();
204
+ let Ye = !1;
205
+ function Jt() {
206
+ Ye || (Ye = !0, Zt.then(U));
207
207
  }
208
- function bo() {
209
- return Qt(), Jt;
208
+ function vo() {
209
+ return Jt(), Zt;
210
210
  }
211
- function et(e) {
212
- fe.push(e);
211
+ function Ke(e) {
212
+ ce.push(e);
213
213
  }
214
- const Xe = /* @__PURE__ */ new Set();
215
- let ue = 0;
216
- function D() {
217
- if (ue !== 0)
214
+ const Ve = /* @__PURE__ */ new Set();
215
+ let le = 0;
216
+ function U() {
217
+ if (le !== 0)
218
218
  return;
219
219
  const e = Se;
220
220
  do {
221
221
  try {
222
- for (; ue < ce.length; ) {
223
- const t = ce[ue];
224
- ue++, we(t), Ur(t.$$);
222
+ for (; le < he.length; ) {
223
+ const t = he[le];
224
+ le++, we(t), Ur(t.$$);
225
225
  }
226
226
  } catch (t) {
227
- throw ce.length = 0, ue = 0, t;
227
+ throw he.length = 0, le = 0, t;
228
228
  }
229
- for (we(null), ce.length = 0, ue = 0; Ye.length; ) Ye.pop()();
230
- for (let t = 0; t < fe.length; t += 1) {
231
- const r = fe[t];
232
- Xe.has(r) || (Xe.add(r), r());
229
+ for (we(null), he.length = 0, le = 0; qe.length; ) qe.pop()();
230
+ for (let t = 0; t < ce.length; t += 1) {
231
+ const r = ce[t];
232
+ Ve.has(r) || (Ve.add(r), r());
233
233
  }
234
- fe.length = 0;
235
- } while (ce.length);
236
- for (; _t.length; )
237
- _t.pop()();
238
- Ke = !1, Xe.clear(), we(e);
234
+ ce.length = 0;
235
+ } while (he.length);
236
+ for (; yt.length; )
237
+ yt.pop()();
238
+ Ye = !1, Ve.clear(), we(e);
239
239
  }
240
240
  function Ur(e) {
241
241
  if (e.fragment !== null) {
242
242
  e.update(), Y(e.before_update);
243
243
  const t = e.dirty;
244
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
244
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
245
245
  }
246
246
  }
247
- function Gr(e) {
247
+ function $r(e) {
248
248
  const t = [], r = [];
249
- fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
249
+ ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
250
250
  }
251
- const kr = /* @__PURE__ */ new Set();
252
- function qt(e, t) {
253
- e && e.i && (kr.delete(e), e.i(t));
251
+ const Gr = /* @__PURE__ */ new Set();
252
+ function Qt(e, t) {
253
+ e && e.i && (Gr.delete(e), e.i(t));
254
254
  }
255
- function xt(e) {
255
+ function _t(e) {
256
256
  return e?.length !== void 0 ? e : Array.from(e);
257
257
  }
258
- function go(e, t) {
258
+ function yo(e, t) {
259
259
  e.d(1), t.delete(e.key);
260
260
  }
261
- function vo(e, t, r, n, i, o, s, a, h, l, u, p) {
262
- let c = e.length, m = o.length, b = c;
263
- const _ = {};
264
- for (; b--; ) _[e[b].key] = b;
265
- const T = [], v = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), E = [];
266
- for (b = m; b--; ) {
267
- const P = p(i, o, b), I = r(P);
268
- let M = s.get(I);
269
- M ? E.push(() => M.p(P, t)) : (M = l(I, P), M.c()), v.set(I, T[b] = M), I in _ && H.set(I, Math.abs(b - _[I]));
261
+ function _o(e, t, r, n, i, o, s, a, h, l, u, f) {
262
+ let c = e.length, p = o.length, v = c;
263
+ const g = {};
264
+ for (; v--; ) g[e[v].key] = v;
265
+ const P = [], w = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), x = [];
266
+ for (v = p; v--; ) {
267
+ const S = f(i, o, v), O = r(S);
268
+ let M = s.get(O);
269
+ M ? x.push(() => M.p(S, t)) : (M = l(O, S), M.c()), w.set(O, P[v] = M), O in g && y.set(O, Math.abs(v - g[O]));
270
270
  }
271
- const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
272
- function O(P) {
273
- qt(P, 1), P.m(a, u), s.set(P.key, P), u = P.first, m--;
271
+ const L = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
272
+ function R(S) {
273
+ Qt(S, 1), S.m(a, u), s.set(S.key, S), u = S.first, p--;
274
274
  }
275
- for (; c && m; ) {
276
- const P = T[m - 1], I = e[c - 1], M = P.key, W = I.key;
277
- P === I ? (u = P.first, c--, m--) : v.has(W) ? !s.has(M) || N.has(M) ? O(P) : L.has(W) ? c-- : H.get(M) > H.get(W) ? (L.add(M), O(P)) : (N.add(W), c--) : (h(I, s), c--);
275
+ for (; c && p; ) {
276
+ const S = P[p - 1], O = e[c - 1], M = S.key, V = O.key;
277
+ S === O ? (u = S.first, c--, p--) : w.has(V) ? !s.has(M) || L.has(M) ? R(S) : N.has(V) ? c-- : y.get(M) > y.get(V) ? (N.add(M), R(S)) : (L.add(V), c--) : (h(O, s), c--);
278
278
  }
279
279
  for (; c--; ) {
280
- const P = e[c];
281
- v.has(P.key) || h(P, s);
280
+ const S = e[c];
281
+ w.has(S.key) || h(S, s);
282
282
  }
283
- for (; m; ) O(T[m - 1]);
284
- return Y(E), T;
283
+ for (; p; ) R(P[p - 1]);
284
+ return Y(x), P;
285
285
  }
286
- function jr(e, t, r) {
286
+ function kr(e, t, r) {
287
287
  const { fragment: n, after_update: i } = e.$$;
288
- n && n.m(t, r), et(() => {
289
- const o = e.$$.on_mount.map(Wt).filter(dt);
288
+ n && n.m(t, r), Ke(() => {
289
+ const o = e.$$.on_mount.map(Xt).filter(dt);
290
290
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
291
- }), i.forEach(et);
291
+ }), i.forEach(Ke);
292
292
  }
293
- function Vr(e, t) {
293
+ function jr(e, t) {
294
294
  const r = e.$$;
295
- r.fragment !== null && (Gr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
295
+ r.fragment !== null && ($r(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
296
296
  }
297
- function Xr(e, t) {
298
- e.$$.dirty[0] === -1 && (ce.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
+ function Vr(e, t) {
298
+ e.$$.dirty[0] === -1 && (he.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
299
299
  }
300
- function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
300
+ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
301
301
  const h = Se;
302
302
  we(e);
303
303
  const l = e.$$ = {
@@ -305,9 +305,9 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
305
305
  ctx: [],
306
306
  // state
307
307
  props: o,
308
- update: G,
308
+ update: k,
309
309
  not_equal: i,
310
- bound: gt(),
310
+ bound: bt(),
311
311
  // lifecycle
312
312
  on_mount: [],
313
313
  on_destroy: [],
@@ -316,28 +316,28 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
316
316
  after_update: [],
317
317
  context: new Map(t.context || (h ? h.$$.context : [])),
318
318
  // everything else
319
- callbacks: gt(),
319
+ callbacks: bt(),
320
320
  dirty: a,
321
321
  skip_bound: !1,
322
322
  root: t.target || h.$$.root
323
323
  };
324
324
  s && s(l.root);
325
325
  let u = !1;
326
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
327
- const b = m.length ? m[0] : c;
328
- return l.ctx && i(l.ctx[p], l.ctx[p] = b) && (!l.skip_bound && l.bound[p] && l.bound[p](b), u && Xr(e, p)), c;
326
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
327
+ const v = p.length ? p[0] : c;
328
+ return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Vr(e, f)), c;
329
329
  }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
330
330
  if (t.hydrate) {
331
- const p = Mr(t.target);
332
- l.fragment && l.fragment.l(p), p.forEach(k);
331
+ const f = Nr(t.target);
332
+ l.fragment && l.fragment.l(f), f.forEach(j);
333
333
  } else
334
334
  l.fragment && l.fragment.c();
335
- t.intro && qt(e.$$.fragment), jr(e, t.target, t.anchor), D();
335
+ t.intro && Qt(e.$$.fragment), kr(e, t.target, t.anchor), U();
336
336
  }
337
337
  we(h);
338
338
  }
339
- let Yt;
340
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
339
+ let qt;
340
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
341
341
  /** The Svelte component constructor */
342
342
  $$ctor;
343
343
  /** Slots */
@@ -379,29 +379,29 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
379
379
  let o;
380
380
  return {
381
381
  c: function() {
382
- o = F("slot"), i !== "default" && g(o, "name", i);
382
+ o = F("slot"), i !== "default" && m(o, "name", i);
383
383
  },
384
384
  /**
385
385
  * @param {HTMLElement} target
386
386
  * @param {HTMLElement} [anchor]
387
387
  */
388
388
  m: function(h, l) {
389
- X(h, o, l);
389
+ W(h, o, l);
390
390
  },
391
391
  d: function(h) {
392
- h && k(o);
392
+ h && j(o);
393
393
  }
394
394
  };
395
395
  };
396
396
  };
397
397
  if (await Promise.resolve(), !this.$$cn || this.$$c)
398
398
  return;
399
- const t = {}, r = Rr(this);
399
+ const t = {}, r = Mr(this);
400
400
  for (const i of this.$$s)
401
401
  i in r && (t[i] = [e(i)]);
402
402
  for (const i of this.attributes) {
403
403
  const o = this.$$g_p(i.name);
404
- o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
404
+ o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
405
405
  }
406
406
  for (const i in this.$$p_d)
407
407
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -419,7 +419,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
419
419
  this.$$r = !0;
420
420
  for (const i in this.$$p_d)
421
421
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
422
- const o = Ie(
422
+ const o = Oe(
423
423
  i,
424
424
  this.$$d[i],
425
425
  this.$$p_d,
@@ -441,7 +441,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
441
441
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
442
442
  // and setting attributes through setAttribute etc, this is helpful
443
443
  attributeChangedCallback(e, t, r) {
444
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
444
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
445
445
  }
446
446
  disconnectedCallback() {
447
447
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -454,7 +454,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
454
454
  ) || e;
455
455
  }
456
456
  });
457
- function Ie(e, t, r, n) {
457
+ function Oe(e, t, r, n) {
458
458
  const i = r[e]?.type;
459
459
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
460
460
  return t;
@@ -483,8 +483,8 @@ function Ie(e, t, r, n) {
483
483
  return t;
484
484
  }
485
485
  }
486
- function zr(e, t, r, n, i, o) {
487
- let s = class extends Yt {
486
+ function Wr(e, t, r, n, i, o) {
487
+ let s = class extends qt {
488
488
  constructor() {
489
489
  super(e, r, i), this.$$p_d = t;
490
490
  }
@@ -500,7 +500,7 @@ function zr(e, t, r, n, i, o) {
500
500
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
501
501
  },
502
502
  set(h) {
503
- h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
503
+ h = Oe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
504
504
  }
505
505
  });
506
506
  }), n.forEach((a) => {
@@ -512,7 +512,7 @@ function zr(e, t, r, n, i, o) {
512
512
  }), e.element = /** @type {any} */
513
513
  s, s;
514
514
  }
515
- class Zr {
515
+ class zr {
516
516
  /**
517
517
  * ### PRIVATE API
518
518
  *
@@ -531,7 +531,7 @@ class Zr {
531
531
  $$set = void 0;
532
532
  /** @returns {void} */
533
533
  $destroy() {
534
- Vr(this, 1), this.$destroy = G;
534
+ jr(this, 1), this.$destroy = k;
535
535
  }
536
536
  /**
537
537
  * @template {Extract<keyof Events, string>} K
@@ -541,7 +541,7 @@ class Zr {
541
541
  */
542
542
  $on(t, r) {
543
543
  if (!dt(r))
544
- return G;
544
+ return k;
545
545
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
546
546
  return n.push(r), () => {
547
547
  const i = n.indexOf(r);
@@ -556,34 +556,34 @@ class Zr {
556
556
  this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
557
557
  }
558
558
  }
559
- const Jr = "4";
560
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
561
- var tt = function(e, t) {
562
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
559
+ const Zr = "4";
560
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
561
+ var et = function(e, t) {
562
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
563
563
  r.__proto__ = n;
564
564
  } || function(r, n) {
565
565
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
566
- }, tt(e, t);
566
+ }, et(e, t);
567
567
  };
568
- function Z(e, t) {
568
+ function J(e, t) {
569
569
  if (typeof t != "function" && t !== null)
570
570
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
571
- tt(e, t);
571
+ et(e, t);
572
572
  function r() {
573
573
  this.constructor = e;
574
574
  }
575
575
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
576
576
  }
577
- var S = function() {
578
- return S = Object.assign || function(t) {
577
+ var A = function() {
578
+ return A = Object.assign || function(t) {
579
579
  for (var r, n = 1, i = arguments.length; n < i; n++) {
580
580
  r = arguments[n];
581
581
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
582
582
  }
583
583
  return t;
584
- }, S.apply(this, arguments);
584
+ }, A.apply(this, arguments);
585
585
  };
586
- function Qr(e, t) {
586
+ function Jr(e, t) {
587
587
  var r = {};
588
588
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
589
589
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -591,7 +591,7 @@ function Qr(e, t) {
591
591
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
592
592
  return r;
593
593
  }
594
- function rt(e) {
594
+ function tt(e) {
595
595
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
596
596
  if (r) return r.call(e);
597
597
  if (e && typeof e.length == "number") return {
@@ -601,7 +601,7 @@ function rt(e) {
601
601
  };
602
602
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
603
603
  }
604
- function nt(e, t) {
604
+ function rt(e, t) {
605
605
  var r = typeof Symbol == "function" && e[Symbol.iterator];
606
606
  if (!r) return e;
607
607
  var n = r.call(e), i, o = [], s;
@@ -618,21 +618,21 @@ function nt(e, t) {
618
618
  }
619
619
  return o;
620
620
  }
621
- function pe(e, t, r) {
621
+ function fe(e, t, r) {
622
622
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
623
623
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
624
624
  return e.concat(o || Array.prototype.slice.call(t));
625
625
  }
626
- function z(e) {
626
+ function Z(e) {
627
627
  return typeof e == "function";
628
628
  }
629
- function Kt(e) {
629
+ function Yt(e) {
630
630
  var t = function(n) {
631
631
  Error.call(n), n.stack = new Error().stack;
632
632
  }, r = e(t);
633
633
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
634
634
  }
635
- var We = Kt(function(e) {
635
+ var Xe = Yt(function(e) {
636
636
  return function(r) {
637
637
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
638
638
  ` + r.map(function(n, i) {
@@ -641,7 +641,7 @@ var We = Kt(function(e) {
641
641
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
642
642
  };
643
643
  });
644
- function it(e, t) {
644
+ function nt(e, t) {
645
645
  if (e) {
646
646
  var r = e.indexOf(t);
647
647
  0 <= r && e.splice(r, 1);
@@ -659,12 +659,12 @@ var Ue = function() {
659
659
  if (s)
660
660
  if (this._parentage = null, Array.isArray(s))
661
661
  try {
662
- for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
662
+ for (var a = tt(s), h = a.next(); !h.done; h = a.next()) {
663
663
  var l = h.value;
664
664
  l.remove(this);
665
665
  }
666
- } catch (_) {
667
- t = { error: _ };
666
+ } catch (g) {
667
+ t = { error: g };
668
668
  } finally {
669
669
  try {
670
670
  h && !h.done && (r = a.return) && r.call(a);
@@ -675,42 +675,42 @@ var Ue = function() {
675
675
  else
676
676
  s.remove(this);
677
677
  var u = this.initialTeardown;
678
- if (z(u))
678
+ if (Z(u))
679
679
  try {
680
680
  u();
681
- } catch (_) {
682
- o = _ instanceof We ? _.errors : [_];
681
+ } catch (g) {
682
+ o = g instanceof Xe ? g.errors : [g];
683
683
  }
684
- var p = this._finalizers;
685
- if (p) {
684
+ var f = this._finalizers;
685
+ if (f) {
686
686
  this._finalizers = null;
687
687
  try {
688
- for (var c = rt(p), m = c.next(); !m.done; m = c.next()) {
689
- var b = m.value;
688
+ for (var c = tt(f), p = c.next(); !p.done; p = c.next()) {
689
+ var v = p.value;
690
690
  try {
691
- Et(b);
692
- } catch (_) {
693
- o = o ?? [], _ instanceof We ? o = pe(pe([], nt(o)), nt(_.errors)) : o.push(_);
691
+ xt(v);
692
+ } catch (g) {
693
+ o = o ?? [], g instanceof Xe ? o = fe(fe([], rt(o)), rt(g.errors)) : o.push(g);
694
694
  }
695
695
  }
696
- } catch (_) {
697
- n = { error: _ };
696
+ } catch (g) {
697
+ n = { error: g };
698
698
  } finally {
699
699
  try {
700
- m && !m.done && (i = c.return) && i.call(c);
700
+ p && !p.done && (i = c.return) && i.call(c);
701
701
  } finally {
702
702
  if (n) throw n.error;
703
703
  }
704
704
  }
705
705
  }
706
706
  if (o)
707
- throw new We(o);
707
+ throw new Xe(o);
708
708
  }
709
709
  }, e.prototype.add = function(t) {
710
710
  var r;
711
711
  if (t && t !== this)
712
712
  if (this.closed)
713
- Et(t);
713
+ xt(t);
714
714
  else {
715
715
  if (t instanceof e) {
716
716
  if (t.closed || t._hasParent(this))
@@ -727,52 +727,52 @@ var Ue = function() {
727
727
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
728
728
  }, e.prototype._removeParent = function(t) {
729
729
  var r = this._parentage;
730
- r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
730
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
731
731
  }, e.prototype.remove = function(t) {
732
732
  var r = this._finalizers;
733
- r && it(r, t), t instanceof e && t._removeParent(this);
733
+ r && nt(r, t), t instanceof e && t._removeParent(this);
734
734
  }, e.EMPTY = function() {
735
735
  var t = new e();
736
736
  return t.closed = !0, t;
737
737
  }(), e;
738
- }(), er = Ue.EMPTY;
739
- function tr(e) {
740
- return e instanceof Ue || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
738
+ }(), Kt = Ue.EMPTY;
739
+ function er(e) {
740
+ return e instanceof Ue || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
741
741
  }
742
- function Et(e) {
743
- z(e) ? e() : e.unsubscribe();
742
+ function xt(e) {
743
+ Z(e) ? e() : e.unsubscribe();
744
744
  }
745
- var qr = {
745
+ var Qr = {
746
746
  Promise: void 0
747
- }, Yr = {
747
+ }, qr = {
748
748
  setTimeout: function(e, t) {
749
749
  for (var r = [], n = 2; n < arguments.length; n++)
750
750
  r[n - 2] = arguments[n];
751
- return setTimeout.apply(void 0, pe([e, t], nt(r)));
751
+ return setTimeout.apply(void 0, fe([e, t], rt(r)));
752
752
  },
753
753
  clearTimeout: function(e) {
754
754
  return clearTimeout(e);
755
755
  },
756
756
  delegate: void 0
757
757
  };
758
- function Kr(e) {
759
- Yr.setTimeout(function() {
758
+ function Yr(e) {
759
+ qr.setTimeout(function() {
760
760
  throw e;
761
761
  });
762
762
  }
763
- function wt() {
763
+ function Et() {
764
764
  }
765
- function Le(e) {
765
+ function Ie(e) {
766
766
  e();
767
767
  }
768
- var rr = function(e) {
769
- Z(t, e);
768
+ var tr = function(e) {
769
+ J(t, e);
770
770
  function t(r) {
771
771
  var n = e.call(this) || this;
772
- return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = rn, n;
772
+ return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = tn, n;
773
773
  }
774
774
  return t.create = function(r, n, i) {
775
- return new ot(r, n, i);
775
+ return new it(r, n, i);
776
776
  }, t.prototype.next = function(r) {
777
777
  this.isStopped || this._next(r);
778
778
  }, t.prototype.error = function(r) {
@@ -796,7 +796,7 @@ var rr = function(e) {
796
796
  this.unsubscribe();
797
797
  }
798
798
  }, t;
799
- }(Ue), en = function() {
799
+ }(Ue), Kr = function() {
800
800
  function e(t) {
801
801
  this.partialObserver = t;
802
802
  }
@@ -806,7 +806,7 @@ var rr = function(e) {
806
806
  try {
807
807
  r.next(t);
808
808
  } catch (n) {
809
- Be(n);
809
+ Ce(n);
810
810
  }
811
811
  }, e.prototype.error = function(t) {
812
812
  var r = this.partialObserver;
@@ -814,56 +814,56 @@ var rr = function(e) {
814
814
  try {
815
815
  r.error(t);
816
816
  } catch (n) {
817
- Be(n);
817
+ Ce(n);
818
818
  }
819
819
  else
820
- Be(t);
820
+ Ce(t);
821
821
  }, e.prototype.complete = function() {
822
822
  var t = this.partialObserver;
823
823
  if (t.complete)
824
824
  try {
825
825
  t.complete();
826
826
  } catch (r) {
827
- Be(r);
827
+ Ce(r);
828
828
  }
829
829
  }, e;
830
- }(), ot = function(e) {
831
- Z(t, e);
830
+ }(), it = function(e) {
831
+ J(t, e);
832
832
  function t(r, n, i) {
833
833
  var o = e.call(this) || this, s;
834
- return z(r) || !r ? s = {
834
+ return Z(r) || !r ? s = {
835
835
  next: r ?? void 0,
836
836
  error: n ?? void 0,
837
837
  complete: i ?? void 0
838
- } : s = r, o.destination = new en(s), o;
838
+ } : s = r, o.destination = new Kr(s), o;
839
839
  }
840
840
  return t;
841
- }(rr);
842
- function Be(e) {
843
- Kr(e);
841
+ }(tr);
842
+ function Ce(e) {
843
+ Yr(e);
844
844
  }
845
- function tn(e) {
845
+ function en(e) {
846
846
  throw e;
847
847
  }
848
- var rn = {
848
+ var tn = {
849
849
  closed: !0,
850
- next: wt,
851
- error: tn,
852
- complete: wt
853
- }, nn = function() {
850
+ next: Et,
851
+ error: en,
852
+ complete: Et
853
+ }, rn = function() {
854
854
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
855
855
  }();
856
- function on(e) {
856
+ function nn(e) {
857
857
  return e;
858
858
  }
859
- function sn(e) {
860
- return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
859
+ function on(e) {
860
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
861
861
  return e.reduce(function(n, i) {
862
862
  return i(n);
863
863
  }, r);
864
864
  };
865
865
  }
866
- var St = function() {
866
+ var wt = function() {
867
867
  function e(t) {
868
868
  t && (this._subscribe = t);
869
869
  }
@@ -871,8 +871,8 @@ var St = function() {
871
871
  var r = new e();
872
872
  return r.source = this, r.operator = t, r;
873
873
  }, e.prototype.subscribe = function(t, r, n) {
874
- var i = this, o = ln(t) ? t : new ot(t, r, n);
875
- return Le(function() {
874
+ var i = this, o = an(t) ? t : new it(t, r, n);
875
+ return Ie(function() {
876
876
  var s = i, a = s.operator, h = s.source;
877
877
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
878
878
  }), o;
@@ -884,8 +884,8 @@ var St = function() {
884
884
  }
885
885
  }, e.prototype.forEach = function(t, r) {
886
886
  var n = this;
887
- return r = Tt(r), new r(function(i, o) {
888
- var s = new ot({
887
+ return r = St(r), new r(function(i, o) {
888
+ var s = new it({
889
889
  next: function(a) {
890
890
  try {
891
891
  t(a);
@@ -901,15 +901,15 @@ var St = function() {
901
901
  }, e.prototype._subscribe = function(t) {
902
902
  var r;
903
903
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
904
- }, e.prototype[nn] = function() {
904
+ }, e.prototype[rn] = function() {
905
905
  return this;
906
906
  }, e.prototype.pipe = function() {
907
907
  for (var t = [], r = 0; r < arguments.length; r++)
908
908
  t[r] = arguments[r];
909
- return sn(t)(this);
909
+ return on(t)(this);
910
910
  }, e.prototype.toPromise = function(t) {
911
911
  var r = this;
912
- return t = Tt(t), new t(function(n, i) {
912
+ return t = St(t), new t(function(n, i) {
913
913
  var o;
914
914
  r.subscribe(function(s) {
915
915
  return o = s;
@@ -923,40 +923,40 @@ var St = function() {
923
923
  return new e(t);
924
924
  }, e;
925
925
  }();
926
- function Tt(e) {
926
+ function St(e) {
927
927
  var t;
928
- return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
928
+ return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
929
929
  }
930
- function an(e) {
931
- return e && z(e.next) && z(e.error) && z(e.complete);
930
+ function sn(e) {
931
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
932
932
  }
933
- function ln(e) {
934
- return e && e instanceof rr || an(e) && tr(e);
933
+ function an(e) {
934
+ return e && e instanceof tr || sn(e) && er(e);
935
935
  }
936
- var un = Kt(function(e) {
936
+ var ln = Yt(function(e) {
937
937
  return function() {
938
938
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
939
939
  };
940
- }), nr = function(e) {
941
- Z(t, e);
940
+ }), rr = function(e) {
941
+ J(t, e);
942
942
  function t() {
943
943
  var r = e.call(this) || this;
944
944
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
945
945
  }
946
946
  return t.prototype.lift = function(r) {
947
- var n = new Ht(this, this);
947
+ var n = new Tt(this, this);
948
948
  return n.operator = r, n;
949
949
  }, t.prototype._throwIfClosed = function() {
950
950
  if (this.closed)
951
- throw new un();
951
+ throw new ln();
952
952
  }, t.prototype.next = function(r) {
953
953
  var n = this;
954
- Le(function() {
954
+ Ie(function() {
955
955
  var i, o;
956
956
  if (n._throwIfClosed(), !n.isStopped) {
957
957
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
958
958
  try {
959
- for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
959
+ for (var s = tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
960
960
  var h = a.value;
961
961
  h.next(r);
962
962
  }
@@ -973,7 +973,7 @@ var un = Kt(function(e) {
973
973
  });
974
974
  }, t.prototype.error = function(r) {
975
975
  var n = this;
976
- Le(function() {
976
+ Ie(function() {
977
977
  if (n._throwIfClosed(), !n.isStopped) {
978
978
  n.hasError = n.isStopped = !0, n.thrownError = r;
979
979
  for (var i = n.observers; i.length; )
@@ -982,7 +982,7 @@ var un = Kt(function(e) {
982
982
  });
983
983
  }, t.prototype.complete = function() {
984
984
  var r = this;
985
- Le(function() {
985
+ Ie(function() {
986
986
  if (r._throwIfClosed(), !r.isStopped) {
987
987
  r.isStopped = !0;
988
988
  for (var n = r.observers; n.length; )
@@ -1004,20 +1004,20 @@ var un = Kt(function(e) {
1004
1004
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1005
1005
  }, t.prototype._innerSubscribe = function(r) {
1006
1006
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1007
- return o || s ? er : (this.currentObservers = null, a.push(r), new Ue(function() {
1008
- n.currentObservers = null, it(a, r);
1007
+ return o || s ? Kt : (this.currentObservers = null, a.push(r), new Ue(function() {
1008
+ n.currentObservers = null, nt(a, r);
1009
1009
  }));
1010
1010
  }, t.prototype._checkFinalizedStatuses = function(r) {
1011
1011
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1012
1012
  i ? r.error(o) : s && r.complete();
1013
1013
  }, t.prototype.asObservable = function() {
1014
- var r = new St();
1014
+ var r = new wt();
1015
1015
  return r.source = this, r;
1016
1016
  }, t.create = function(r, n) {
1017
- return new Ht(r, n);
1017
+ return new Tt(r, n);
1018
1018
  }, t;
1019
- }(St), Ht = function(e) {
1020
- Z(t, e);
1019
+ }(wt), Tt = function(e) {
1020
+ J(t, e);
1021
1021
  function t(r, n) {
1022
1022
  var i = e.call(this) || this;
1023
1023
  return i.destination = r, i.source = n, i;
@@ -1033,17 +1033,17 @@ var un = Kt(function(e) {
1033
1033
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1034
1034
  }, t.prototype._subscribe = function(r) {
1035
1035
  var n, i;
1036
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1036
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
1037
1037
  }, t;
1038
- }(nr), ir = {
1038
+ }(rr), nr = {
1039
1039
  now: function() {
1040
- return (ir.delegate || Date).now();
1040
+ return (nr.delegate || Date).now();
1041
1041
  },
1042
1042
  delegate: void 0
1043
- }, hn = function(e) {
1044
- Z(t, e);
1043
+ }, un = function(e) {
1044
+ J(t, e);
1045
1045
  function t(r, n, i) {
1046
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
1046
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1047
1047
  var o = e.call(this) || this;
1048
1048
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1049
1049
  }
@@ -1063,140 +1063,140 @@ var un = Kt(function(e) {
1063
1063
  l && o.splice(0, l + 1);
1064
1064
  }
1065
1065
  }, t;
1066
- }(nr);
1067
- const At = [], Pt = {}, cn = (e, t = 0) => {
1068
- if (At.indexOf(e) == -1) {
1069
- const r = new hn(t);
1070
- Pt[e] = r, At.push(e);
1066
+ }(rr);
1067
+ const Ht = [], At = {}, hn = (e, t = 0) => {
1068
+ if (Ht.indexOf(e) == -1) {
1069
+ const r = new un(t);
1070
+ At[e] = r, Ht.push(e);
1071
1071
  }
1072
- return Pt[e];
1073
- }, he = [];
1074
- function fn(e, t) {
1072
+ return At[e];
1073
+ }, ue = [];
1074
+ function cn(e, t) {
1075
1075
  return {
1076
- subscribe: Ge(e, t).subscribe
1076
+ subscribe: $e(e, t).subscribe
1077
1077
  };
1078
1078
  }
1079
- function Ge(e, t = G) {
1079
+ function $e(e, t = k) {
1080
1080
  let r;
1081
1081
  const n = /* @__PURE__ */ new Set();
1082
1082
  function i(a) {
1083
- if (zt(e, a) && (e = a, r)) {
1084
- const h = !he.length;
1083
+ if (Wt(e, a) && (e = a, r)) {
1084
+ const h = !ue.length;
1085
1085
  for (const l of n)
1086
- l[1](), he.push(l, e);
1086
+ l[1](), ue.push(l, e);
1087
1087
  if (h) {
1088
- for (let l = 0; l < he.length; l += 2)
1089
- he[l][0](he[l + 1]);
1090
- he.length = 0;
1088
+ for (let l = 0; l < ue.length; l += 2)
1089
+ ue[l][0](ue[l + 1]);
1090
+ ue.length = 0;
1091
1091
  }
1092
1092
  }
1093
1093
  }
1094
1094
  function o(a) {
1095
1095
  i(a(e));
1096
1096
  }
1097
- function s(a, h = G) {
1097
+ function s(a, h = k) {
1098
1098
  const l = [a, h];
1099
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1099
+ return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1100
1100
  n.delete(l), n.size === 0 && r && (r(), r = null);
1101
1101
  };
1102
1102
  }
1103
1103
  return { set: i, update: o, subscribe: s };
1104
1104
  }
1105
- function ve(e, t, r) {
1105
+ function ge(e, t, r) {
1106
1106
  const n = !Array.isArray(e), i = n ? [e] : e;
1107
1107
  if (!i.every(Boolean))
1108
1108
  throw new Error("derived() expects stores as input, got a falsy value");
1109
1109
  const o = t.length < 2;
1110
- return fn(r, (s, a) => {
1110
+ return cn(r, (s, a) => {
1111
1111
  let h = !1;
1112
1112
  const l = [];
1113
- let u = 0, p = G;
1113
+ let u = 0, f = k;
1114
1114
  const c = () => {
1115
1115
  if (u)
1116
1116
  return;
1117
- p();
1118
- const b = t(n ? l[0] : l, s, a);
1119
- o ? s(b) : p = dt(b) ? b : G;
1120
- }, m = i.map(
1121
- (b, _) => Zt(
1122
- b,
1123
- (T) => {
1124
- l[_] = T, u &= ~(1 << _), h && c();
1117
+ f();
1118
+ const v = t(n ? l[0] : l, s, a);
1119
+ o ? s(v) : f = dt(v) ? v : k;
1120
+ }, p = i.map(
1121
+ (v, g) => zt(
1122
+ v,
1123
+ (P) => {
1124
+ l[g] = P, u &= ~(1 << g), h && c();
1125
1125
  },
1126
1126
  () => {
1127
- u |= 1 << _;
1127
+ u |= 1 << g;
1128
1128
  }
1129
1129
  )
1130
1130
  );
1131
1131
  return h = !0, c(), function() {
1132
- Y(m), p(), h = !1;
1132
+ Y(p), f(), h = !1;
1133
1133
  };
1134
1134
  });
1135
1135
  }
1136
- function pn(e) {
1136
+ function fn(e) {
1137
1137
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1138
1138
  }
1139
1139
  var dn = function(t) {
1140
- return mn(t) && !bn(t);
1140
+ return pn(t) && !mn(t);
1141
1141
  };
1142
- function mn(e) {
1142
+ function pn(e) {
1143
1143
  return !!e && typeof e == "object";
1144
1144
  }
1145
- function bn(e) {
1145
+ function mn(e) {
1146
1146
  var t = Object.prototype.toString.call(e);
1147
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1147
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1148
1148
  }
1149
- var gn = typeof Symbol == "function" && Symbol.for, vn = gn ? Symbol.for("react.element") : 60103;
1150
- function yn(e) {
1151
- return e.$$typeof === vn;
1149
+ var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1150
+ function vn(e) {
1151
+ return e.$$typeof === gn;
1152
1152
  }
1153
- function _n(e) {
1153
+ function yn(e) {
1154
1154
  return Array.isArray(e) ? [] : {};
1155
1155
  }
1156
1156
  function Te(e, t) {
1157
- return t.clone !== !1 && t.isMergeableObject(e) ? de(_n(e), e, t) : e;
1157
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(yn(e), e, t) : e;
1158
1158
  }
1159
- function xn(e, t, r) {
1159
+ function _n(e, t, r) {
1160
1160
  return e.concat(t).map(function(n) {
1161
1161
  return Te(n, r);
1162
1162
  });
1163
1163
  }
1164
- function En(e, t) {
1164
+ function xn(e, t) {
1165
1165
  if (!t.customMerge)
1166
1166
  return de;
1167
1167
  var r = t.customMerge(e);
1168
1168
  return typeof r == "function" ? r : de;
1169
1169
  }
1170
- function wn(e) {
1170
+ function En(e) {
1171
1171
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1172
1172
  return Object.propertyIsEnumerable.call(e, t);
1173
1173
  }) : [];
1174
1174
  }
1175
- function Ct(e) {
1176
- return Object.keys(e).concat(wn(e));
1175
+ function Pt(e) {
1176
+ return Object.keys(e).concat(En(e));
1177
1177
  }
1178
- function or(e, t) {
1178
+ function ir(e, t) {
1179
1179
  try {
1180
1180
  return t in e;
1181
1181
  } catch {
1182
1182
  return !1;
1183
1183
  }
1184
1184
  }
1185
- function Sn(e, t) {
1186
- return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1185
+ function wn(e, t) {
1186
+ return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1187
1187
  }
1188
- function Tn(e, t, r) {
1188
+ function Sn(e, t, r) {
1189
1189
  var n = {};
1190
- return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1190
+ return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1191
1191
  n[i] = Te(e[i], r);
1192
- }), Ct(t).forEach(function(i) {
1193
- Sn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1192
+ }), Pt(t).forEach(function(i) {
1193
+ wn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1194
1194
  }), n;
1195
1195
  }
1196
1196
  function de(e, t, r) {
1197
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = Te;
1197
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = Te;
1198
1198
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1199
- return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : Te(t, r);
1199
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : Te(t, r);
1200
1200
  }
1201
1201
  de.all = function(t, r) {
1202
1202
  if (!Array.isArray(t))
@@ -1205,39 +1205,39 @@ de.all = function(t, r) {
1205
1205
  return de(n, i, r);
1206
1206
  }, {});
1207
1207
  };
1208
- var Hn = de, An = Hn;
1209
- const Pn = /* @__PURE__ */ pn(An);
1210
- function ze(e, t) {
1211
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Bn;
1208
+ var Tn = de, Hn = Tn;
1209
+ const An = /* @__PURE__ */ fn(Hn);
1210
+ function We(e, t) {
1211
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Cn;
1212
1212
  return i(e, {
1213
1213
  cache: r,
1214
1214
  serializer: n
1215
1215
  });
1216
1216
  }
1217
- function Cn(e) {
1217
+ function Pn(e) {
1218
1218
  return e == null || typeof e == "number" || typeof e == "boolean";
1219
1219
  }
1220
1220
  function Fn(e, t, r, n) {
1221
- var i = Cn(n) ? n : r(n), o = t.get(i);
1221
+ var i = Pn(n) ? n : r(n), o = t.get(i);
1222
1222
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1223
1223
  }
1224
- function sr(e, t, r) {
1224
+ function or(e, t, r) {
1225
1225
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1226
1226
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1227
1227
  }
1228
- function ar(e, t, r, n, i) {
1228
+ function sr(e, t, r, n, i) {
1229
1229
  return r.bind(t, e, n, i);
1230
1230
  }
1231
- function Bn(e, t) {
1232
- var r = e.length === 1 ? Fn : sr;
1233
- return ar(e, this, r, t.cache.create(), t.serializer);
1231
+ function Cn(e, t) {
1232
+ var r = e.length === 1 ? Fn : or;
1233
+ return sr(e, this, r, t.cache.create(), t.serializer);
1234
1234
  }
1235
- function On(e, t) {
1236
- return ar(e, this, sr, t.cache.create(), t.serializer);
1235
+ function Bn(e, t) {
1236
+ return sr(e, this, or, t.cache.create(), t.serializer);
1237
1237
  }
1238
- var In = function() {
1238
+ var On = function() {
1239
1239
  return JSON.stringify(arguments);
1240
- }, Ln = (
1240
+ }, In = (
1241
1241
  /** @class */
1242
1242
  function() {
1243
1243
  function e() {
@@ -1249,61 +1249,61 @@ var In = function() {
1249
1249
  this.cache[t] = r;
1250
1250
  }, e;
1251
1251
  }()
1252
- ), Nn = {
1252
+ ), Ln = {
1253
1253
  create: function() {
1254
- return new Ln();
1254
+ return new In();
1255
1255
  }
1256
- }, Ze = {
1257
- variadic: On
1258
- }, x;
1256
+ }, ze = {
1257
+ variadic: Bn
1258
+ }, E;
1259
1259
  (function(e) {
1260
1260
  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";
1261
- })(x || (x = {}));
1261
+ })(E || (E = {}));
1262
1262
  var B;
1263
1263
  (function(e) {
1264
1264
  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";
1265
1265
  })(B || (B = {}));
1266
- var me;
1266
+ var pe;
1267
1267
  (function(e) {
1268
1268
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1269
- })(me || (me = {}));
1269
+ })(pe || (pe = {}));
1270
1270
  function Ft(e) {
1271
1271
  return e.type === B.literal;
1272
1272
  }
1273
- function Mn(e) {
1273
+ function Nn(e) {
1274
1274
  return e.type === B.argument;
1275
1275
  }
1276
- function lr(e) {
1276
+ function ar(e) {
1277
1277
  return e.type === B.number;
1278
1278
  }
1279
- function ur(e) {
1279
+ function lr(e) {
1280
1280
  return e.type === B.date;
1281
1281
  }
1282
- function hr(e) {
1282
+ function ur(e) {
1283
1283
  return e.type === B.time;
1284
1284
  }
1285
- function cr(e) {
1285
+ function hr(e) {
1286
1286
  return e.type === B.select;
1287
1287
  }
1288
- function fr(e) {
1288
+ function cr(e) {
1289
1289
  return e.type === B.plural;
1290
1290
  }
1291
- function Rn(e) {
1291
+ function Mn(e) {
1292
1292
  return e.type === B.pound;
1293
1293
  }
1294
- function pr(e) {
1294
+ function fr(e) {
1295
1295
  return e.type === B.tag;
1296
1296
  }
1297
1297
  function dr(e) {
1298
- return !!(e && typeof e == "object" && e.type === me.number);
1298
+ return !!(e && typeof e == "object" && e.type === pe.number);
1299
1299
  }
1300
- function st(e) {
1301
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1300
+ function ot(e) {
1301
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1302
1302
  }
1303
- var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
1303
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1304
1304
  function Dn(e) {
1305
1305
  var t = {};
1306
- return e.replace($n, function(r) {
1306
+ return e.replace(Rn, function(r) {
1307
1307
  var n = r.length;
1308
1308
  switch (r[0]) {
1309
1309
  case "G":
@@ -1393,7 +1393,7 @@ function Dn(e) {
1393
1393
  }), t;
1394
1394
  }
1395
1395
  var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1396
- function Gn(e) {
1396
+ function $n(e) {
1397
1397
  if (e.length === 0)
1398
1398
  throw new Error("Number skeleton cannot be empty");
1399
1399
  for (var t = e.split(Un).filter(function(c) {
@@ -1403,25 +1403,25 @@ function Gn(e) {
1403
1403
  if (s.length === 0)
1404
1404
  throw new Error("Invalid number skeleton");
1405
1405
  for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1406
- var p = u[l];
1407
- if (p.length === 0)
1406
+ var f = u[l];
1407
+ if (f.length === 0)
1408
1408
  throw new Error("Invalid number skeleton");
1409
1409
  }
1410
1410
  r.push({ stem: a, options: h });
1411
1411
  }
1412
1412
  return r;
1413
1413
  }
1414
- function kn(e) {
1414
+ function Gn(e) {
1415
1415
  return e.replace(/^(.*?)-/, "");
1416
1416
  }
1417
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1418
- function Ot(e) {
1417
+ var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1418
+ function Bt(e) {
1419
1419
  var t = {};
1420
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
1420
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1421
1421
  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)), "";
1422
1422
  }), t;
1423
1423
  }
1424
- function vr(e) {
1424
+ function gr(e) {
1425
1425
  switch (e) {
1426
1426
  case "sign-auto":
1427
1427
  return {
@@ -1461,7 +1461,7 @@ function vr(e) {
1461
1461
  };
1462
1462
  }
1463
1463
  }
1464
- function Vn(e) {
1464
+ function jn(e) {
1465
1465
  var t;
1466
1466
  if (e[0] === "E" && e[1] === "E" ? (t = {
1467
1467
  notation: "engineering"
@@ -1469,17 +1469,17 @@ function Vn(e) {
1469
1469
  notation: "scientific"
1470
1470
  }, e = e.slice(1)), t) {
1471
1471
  var r = e.slice(0, 2);
1472
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
1472
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1473
1473
  throw new Error("Malformed concise eng/scientific notation");
1474
1474
  t.minimumIntegerDigits = e.length;
1475
1475
  }
1476
1476
  return t;
1477
1477
  }
1478
- function It(e) {
1479
- var t = {}, r = vr(e);
1478
+ function Ot(e) {
1479
+ var t = {}, r = gr(e);
1480
1480
  return r || t;
1481
1481
  }
1482
- function Xn(e) {
1482
+ function Vn(e) {
1483
1483
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1484
1484
  var i = n[r];
1485
1485
  switch (i.stem) {
@@ -1503,7 +1503,7 @@ function Xn(e) {
1503
1503
  continue;
1504
1504
  case "measure-unit":
1505
1505
  case "unit":
1506
- t.style = "unit", t.unit = kn(i.options[0]);
1506
+ t.style = "unit", t.unit = Gn(i.options[0]);
1507
1507
  continue;
1508
1508
  case "compact-short":
1509
1509
  case "K":
@@ -1514,13 +1514,13 @@ function Xn(e) {
1514
1514
  t.notation = "compact", t.compactDisplay = "long";
1515
1515
  continue;
1516
1516
  case "scientific":
1517
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1518
- return S(S({}, h), It(l));
1517
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1518
+ return A(A({}, h), Ot(l));
1519
1519
  }, {}));
1520
1520
  continue;
1521
1521
  case "engineering":
1522
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1523
- return S(S({}, h), It(l));
1522
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1523
+ return A(A({}, h), Ot(l));
1524
1524
  }, {}));
1525
1525
  continue;
1526
1526
  case "notation-simple":
@@ -1565,45 +1565,45 @@ function Xn(e) {
1565
1565
  case "integer-width":
1566
1566
  if (i.options.length > 1)
1567
1567
  throw new RangeError("integer-width stems only accept a single optional option");
1568
- i.options[0].replace(jn, function(h, l, u, p, c, m) {
1568
+ i.options[0].replace(kn, function(h, l, u, f, c, p) {
1569
1569
  if (l)
1570
1570
  t.minimumIntegerDigits = u.length;
1571
1571
  else {
1572
- if (p && c)
1572
+ if (f && c)
1573
1573
  throw new Error("We currently do not support maximum integer digits");
1574
- if (m)
1574
+ if (p)
1575
1575
  throw new Error("We currently do not support exact integer digits");
1576
1576
  }
1577
1577
  return "";
1578
1578
  });
1579
1579
  continue;
1580
1580
  }
1581
- if (gr.test(i.stem)) {
1581
+ if (br.test(i.stem)) {
1582
1582
  t.minimumIntegerDigits = i.stem.length;
1583
1583
  continue;
1584
1584
  }
1585
- if (Bt.test(i.stem)) {
1585
+ if (Ct.test(i.stem)) {
1586
1586
  if (i.options.length > 1)
1587
1587
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1588
- i.stem.replace(Bt, function(h, l, u, p, c, m) {
1589
- 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), "";
1588
+ i.stem.replace(Ct, function(h, l, u, f, c, p) {
1589
+ return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1590
1590
  });
1591
1591
  var o = i.options[0];
1592
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1592
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Bt(o)));
1593
1593
  continue;
1594
1594
  }
1595
- if (br.test(i.stem)) {
1596
- t = S(S({}, t), Ot(i.stem));
1595
+ if (mr.test(i.stem)) {
1596
+ t = A(A({}, t), Bt(i.stem));
1597
1597
  continue;
1598
1598
  }
1599
- var s = vr(i.stem);
1600
- s && (t = S(S({}, t), s));
1601
- var a = Vn(i.stem);
1602
- a && (t = S(S({}, t), a));
1599
+ var s = gr(i.stem);
1600
+ s && (t = A(A({}, t), s));
1601
+ var a = jn(i.stem);
1602
+ a && (t = A(A({}, t), a));
1603
1603
  }
1604
1604
  return t;
1605
1605
  }
1606
- var Oe = {
1606
+ var Be = {
1607
1607
  "001": [
1608
1608
  "H",
1609
1609
  "h"
@@ -3018,13 +3018,13 @@ var Oe = {
3018
3018
  "h"
3019
3019
  ]
3020
3020
  };
3021
- function Wn(e, t) {
3021
+ function Xn(e, t) {
3022
3022
  for (var r = "", n = 0; n < e.length; n++) {
3023
3023
  var i = e.charAt(n);
3024
3024
  if (i === "j") {
3025
3025
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3026
3026
  o++, n++;
3027
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = zn(t);
3027
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Wn(t);
3028
3028
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3029
3029
  r += h;
3030
3030
  for (; s-- > 0; )
@@ -3033,7 +3033,7 @@ function Wn(e, t) {
3033
3033
  }
3034
3034
  return r;
3035
3035
  }
3036
- function zn(e) {
3036
+ function Wn(e) {
3037
3037
  var t = e.hourCycle;
3038
3038
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3039
3039
  e.hourCycles && // @ts-ignore
@@ -3052,23 +3052,23 @@ function zn(e) {
3052
3052
  }
3053
3053
  var r = e.language, n;
3054
3054
  r !== "root" && (n = e.maximize().region);
3055
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3055
+ var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3056
3056
  return i[0];
3057
3057
  }
3058
- var Je, Zn = new RegExp("^".concat(mr.source, "*")), Jn = new RegExp("".concat(mr.source, "*$"));
3059
- function w(e, t) {
3058
+ var Ze, zn = new RegExp("^".concat(pr.source, "*")), Zn = new RegExp("".concat(pr.source, "*$"));
3059
+ function T(e, t) {
3060
3060
  return { start: e, end: t };
3061
3061
  }
3062
- var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3062
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3063
3063
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3064
- }, at = !0;
3064
+ }, st = !0;
3065
3065
  try {
3066
- var ii = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3067
- at = ((Je = ii.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3066
+ var ni = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3067
+ st = ((Ze = ni.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3068
3068
  } catch {
3069
- at = !1;
3069
+ st = !1;
3070
3070
  }
3071
- var Lt = Qn ? (
3071
+ var It = Jn ? (
3072
3072
  // Native
3073
3073
  function(t, r, n) {
3074
3074
  return t.startsWith(r, n);
@@ -3078,7 +3078,7 @@ var Lt = Qn ? (
3078
3078
  function(t, r, n) {
3079
3079
  return t.slice(n, n + r.length) === r;
3080
3080
  }
3081
- ), lt = qn ? String.fromCodePoint : (
3081
+ ), at = Qn ? String.fromCodePoint : (
3082
3082
  // IE11
3083
3083
  function() {
3084
3084
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3090,9 +3090,9 @@ var Lt = Qn ? (
3090
3090
  }
3091
3091
  return n;
3092
3092
  }
3093
- ), Nt = (
3093
+ ), Lt = (
3094
3094
  // native
3095
- Yn ? Object.fromEntries : (
3095
+ qn ? Object.fromEntries : (
3096
3096
  // Ponyfill
3097
3097
  function(t) {
3098
3098
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3102,7 +3102,7 @@ var Lt = Qn ? (
3102
3102
  return r;
3103
3103
  }
3104
3104
  )
3105
- ), yr = Kn ? (
3105
+ ), vr = Yn ? (
3106
3106
  // Native
3107
3107
  function(t, r) {
3108
3108
  return t.codePointAt(r);
@@ -3116,7 +3116,7 @@ var Lt = Qn ? (
3116
3116
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3117
3117
  }
3118
3118
  }
3119
- ), oi = ei ? (
3119
+ ), ii = Kn ? (
3120
3120
  // Native
3121
3121
  function(t) {
3122
3122
  return t.trimStart();
@@ -3124,9 +3124,9 @@ var Lt = Qn ? (
3124
3124
  ) : (
3125
3125
  // Ponyfill
3126
3126
  function(t) {
3127
- return t.replace(Zn, "");
3127
+ return t.replace(zn, "");
3128
3128
  }
3129
- ), si = ti ? (
3129
+ ), oi = ei ? (
3130
3130
  // Native
3131
3131
  function(t) {
3132
3132
  return t.trimEnd();
@@ -3134,32 +3134,32 @@ var Lt = Qn ? (
3134
3134
  ) : (
3135
3135
  // Ponyfill
3136
3136
  function(t) {
3137
- return t.replace(Jn, "");
3137
+ return t.replace(Zn, "");
3138
3138
  }
3139
3139
  );
3140
- function _r(e, t) {
3140
+ function yr(e, t) {
3141
3141
  return new RegExp(e, t);
3142
3142
  }
3143
- var ut;
3144
- if (at) {
3145
- var Mt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3146
- ut = function(t, r) {
3143
+ var lt;
3144
+ if (st) {
3145
+ var Nt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3146
+ lt = function(t, r) {
3147
3147
  var n;
3148
- Mt.lastIndex = r;
3149
- var i = Mt.exec(t);
3148
+ Nt.lastIndex = r;
3149
+ var i = Nt.exec(t);
3150
3150
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3151
3151
  };
3152
3152
  } else
3153
- ut = function(t, r) {
3153
+ lt = function(t, r) {
3154
3154
  for (var n = []; ; ) {
3155
- var i = yr(t, r);
3156
- if (i === void 0 || xr(i) || hi(i))
3155
+ var i = vr(t, r);
3156
+ if (i === void 0 || _r(i) || ui(i))
3157
3157
  break;
3158
3158
  n.push(i), r += i >= 65536 ? 2 : 1;
3159
3159
  }
3160
- return lt.apply(void 0, n);
3160
+ return at.apply(void 0, n);
3161
3161
  };
3162
- var ai = (
3162
+ var si = (
3163
3163
  /** @class */
3164
3164
  function() {
3165
3165
  function e(t, r) {
@@ -3184,13 +3184,13 @@ var ai = (
3184
3184
  var a = this.clonePosition();
3185
3185
  this.bump(), i.push({
3186
3186
  type: B.pound,
3187
- location: w(a, this.clonePosition())
3187
+ location: T(a, this.clonePosition())
3188
3188
  });
3189
3189
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3190
3190
  if (n)
3191
3191
  break;
3192
- return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3193
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3192
+ return this.error(E.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3193
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3194
3194
  var s = this.parseTag(t, r);
3195
3195
  if (s.err)
3196
3196
  return s;
@@ -3213,7 +3213,7 @@ var ai = (
3213
3213
  val: {
3214
3214
  type: B.literal,
3215
3215
  value: "<".concat(i, "/>"),
3216
- location: w(n, this.clonePosition())
3216
+ location: T(n, this.clonePosition())
3217
3217
  },
3218
3218
  err: null
3219
3219
  };
@@ -3223,25 +3223,25 @@ var ai = (
3223
3223
  return o;
3224
3224
  var s = o.val, a = this.clonePosition();
3225
3225
  if (this.bumpIf("</")) {
3226
- if (this.isEOF() || !ht(this.char()))
3227
- return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3226
+ if (this.isEOF() || !ut(this.char()))
3227
+ return this.error(E.INVALID_TAG, T(a, this.clonePosition()));
3228
3228
  var h = this.clonePosition(), l = this.parseTagName();
3229
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3229
+ return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, T(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3230
3230
  val: {
3231
3231
  type: B.tag,
3232
3232
  value: i,
3233
3233
  children: s,
3234
- location: w(n, this.clonePosition())
3234
+ location: T(n, this.clonePosition())
3235
3235
  },
3236
3236
  err: null
3237
- } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3237
+ } : this.error(E.INVALID_TAG, T(a, this.clonePosition())));
3238
3238
  } else
3239
- return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3239
+ return this.error(E.UNCLOSED_TAG, T(n, this.clonePosition()));
3240
3240
  } else
3241
- return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3241
+ return this.error(E.INVALID_TAG, T(n, this.clonePosition()));
3242
3242
  }, e.prototype.parseTagName = function() {
3243
3243
  var t = this.offset();
3244
- for (this.bump(); !this.isEOF() && ui(this.char()); )
3244
+ for (this.bump(); !this.isEOF() && li(this.char()); )
3245
3245
  this.bump();
3246
3246
  return this.message.slice(t, this.offset());
3247
3247
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3263,14 +3263,14 @@ var ai = (
3263
3263
  }
3264
3264
  break;
3265
3265
  }
3266
- var h = w(n, this.clonePosition());
3266
+ var h = T(n, this.clonePosition());
3267
3267
  return {
3268
3268
  val: { type: B.literal, value: i, location: h },
3269
3269
  err: null
3270
3270
  };
3271
3271
  }, e.prototype.tryParseLeftAngleBracket = function() {
3272
3272
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3273
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3273
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3274
3274
  }, e.prototype.tryParseQuote = function(t) {
3275
3275
  if (this.isEOF() || this.char() !== 39)
3276
3276
  return null;
@@ -3304,23 +3304,23 @@ var ai = (
3304
3304
  r.push(n);
3305
3305
  this.bump();
3306
3306
  }
3307
- return lt.apply(void 0, r);
3307
+ return at.apply(void 0, r);
3308
3308
  }, e.prototype.tryParseUnquoted = function(t, r) {
3309
3309
  if (this.isEOF())
3310
3310
  return null;
3311
3311
  var n = this.char();
3312
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3312
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3313
3313
  }, e.prototype.parseArgument = function(t, r) {
3314
3314
  var n = this.clonePosition();
3315
3315
  if (this.bump(), this.bumpSpace(), this.isEOF())
3316
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3316
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3317
3317
  if (this.char() === 125)
3318
- return this.bump(), this.error(x.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3318
+ return this.bump(), this.error(E.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3319
3319
  var i = this.parseIdentifierIfPossible().value;
3320
3320
  if (!i)
3321
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3321
+ return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3322
3322
  if (this.bumpSpace(), this.isEOF())
3323
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3323
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3324
3324
  switch (this.char()) {
3325
3325
  case 125:
3326
3326
  return this.bump(), {
@@ -3328,25 +3328,25 @@ var ai = (
3328
3328
  type: B.argument,
3329
3329
  // value does not include the opening and closing braces.
3330
3330
  value: i,
3331
- location: w(n, this.clonePosition())
3331
+ location: T(n, this.clonePosition())
3332
3332
  },
3333
3333
  err: null
3334
3334
  };
3335
3335
  case 44:
3336
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3336
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3337
3337
  default:
3338
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3338
+ return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3339
3339
  }
3340
3340
  }, e.prototype.parseIdentifierIfPossible = function() {
3341
- var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3341
+ var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
3342
3342
  this.bumpTo(i);
3343
- var o = this.clonePosition(), s = w(t, o);
3343
+ var o = this.clonePosition(), s = T(t, o);
3344
3344
  return { value: n, location: s };
3345
3345
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3346
3346
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3347
3347
  switch (a) {
3348
3348
  case "":
3349
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, h));
3349
+ return this.error(E.EXPECT_ARGUMENT_TYPE, T(s, h));
3350
3350
  case "number":
3351
3351
  case "date":
3352
3352
  case "time": {
@@ -3354,40 +3354,40 @@ var ai = (
3354
3354
  var l = null;
3355
3355
  if (this.bumpIf(",")) {
3356
3356
  this.bumpSpace();
3357
- var u = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3358
- if (p.err)
3359
- return p;
3360
- var c = si(p.val);
3357
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3358
+ if (f.err)
3359
+ return f;
3360
+ var c = oi(f.val);
3361
3361
  if (c.length === 0)
3362
- return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3363
- var m = w(u, this.clonePosition());
3364
- l = { style: c, styleLocation: m };
3362
+ return this.error(E.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3363
+ var p = T(u, this.clonePosition());
3364
+ l = { style: c, styleLocation: p };
3365
3365
  }
3366
- var b = this.tryParseArgumentClose(i);
3367
- if (b.err)
3368
- return b;
3369
- var _ = w(i, this.clonePosition());
3370
- if (l && Lt(l?.style, "::", 0)) {
3371
- var T = oi(l.style.slice(2));
3366
+ var v = this.tryParseArgumentClose(i);
3367
+ if (v.err)
3368
+ return v;
3369
+ var g = T(i, this.clonePosition());
3370
+ if (l && It(l?.style, "::", 0)) {
3371
+ var P = ii(l.style.slice(2));
3372
3372
  if (a === "number") {
3373
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3374
- return p.err ? p : {
3375
- val: { type: B.number, value: n, location: _, style: p.val },
3373
+ var f = this.parseNumberSkeletonFromString(P, l.styleLocation);
3374
+ return f.err ? f : {
3375
+ val: { type: B.number, value: n, location: g, style: f.val },
3376
3376
  err: null
3377
3377
  };
3378
3378
  } else {
3379
- if (T.length === 0)
3380
- return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3381
- var v = T;
3382
- this.locale && (v = Wn(T, this.locale));
3379
+ if (P.length === 0)
3380
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, g);
3381
+ var w = P;
3382
+ this.locale && (w = Xn(P, this.locale));
3383
3383
  var c = {
3384
- type: me.dateTime,
3385
- pattern: v,
3384
+ type: pe.dateTime,
3385
+ pattern: w,
3386
3386
  location: l.styleLocation,
3387
- parsedOptions: this.shouldParseSkeletons ? Dn(v) : {}
3388
- }, H = a === "date" ? B.date : B.time;
3387
+ parsedOptions: this.shouldParseSkeletons ? Dn(w) : {}
3388
+ }, y = a === "date" ? B.date : B.time;
3389
3389
  return {
3390
- val: { type: H, value: n, location: _, style: c },
3390
+ val: { type: y, value: n, location: g, style: c },
3391
3391
  err: null
3392
3392
  };
3393
3393
  }
@@ -3396,7 +3396,7 @@ var ai = (
3396
3396
  val: {
3397
3397
  type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3398
3398
  value: n,
3399
- location: _,
3399
+ location: g,
3400
3400
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3401
3401
  },
3402
3402
  err: null
@@ -3405,52 +3405,52 @@ var ai = (
3405
3405
  case "plural":
3406
3406
  case "selectordinal":
3407
3407
  case "select": {
3408
- var E = this.clonePosition();
3408
+ var x = this.clonePosition();
3409
3409
  if (this.bumpSpace(), !this.bumpIf(","))
3410
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(E, S({}, E)));
3410
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(x, A({}, x)));
3411
3411
  this.bumpSpace();
3412
- var N = this.parseIdentifierIfPossible(), L = 0;
3413
- if (a !== "select" && N.value === "offset") {
3412
+ var L = this.parseIdentifierIfPossible(), N = 0;
3413
+ if (a !== "select" && L.value === "offset") {
3414
3414
  if (!this.bumpIf(":"))
3415
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3415
+ return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3416
3416
  this.bumpSpace();
3417
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3418
- if (p.err)
3419
- return p;
3420
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = p.val;
3417
+ var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3418
+ if (f.err)
3419
+ return f;
3420
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = f.val;
3421
3421
  }
3422
- var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
3423
- if (O.err)
3424
- return O;
3425
- var b = this.tryParseArgumentClose(i);
3426
- if (b.err)
3427
- return b;
3428
- var P = w(i, this.clonePosition());
3422
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
3423
+ if (R.err)
3424
+ return R;
3425
+ var v = this.tryParseArgumentClose(i);
3426
+ if (v.err)
3427
+ return v;
3428
+ var S = T(i, this.clonePosition());
3429
3429
  return a === "select" ? {
3430
3430
  val: {
3431
3431
  type: B.select,
3432
3432
  value: n,
3433
- options: Nt(O.val),
3434
- location: P
3433
+ options: Lt(R.val),
3434
+ location: S
3435
3435
  },
3436
3436
  err: null
3437
3437
  } : {
3438
3438
  val: {
3439
3439
  type: B.plural,
3440
3440
  value: n,
3441
- options: Nt(O.val),
3442
- offset: L,
3441
+ options: Lt(R.val),
3442
+ offset: N,
3443
3443
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3444
- location: P
3444
+ location: S
3445
3445
  },
3446
3446
  err: null
3447
3447
  };
3448
3448
  }
3449
3449
  default:
3450
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, h));
3450
+ return this.error(E.INVALID_ARGUMENT_TYPE, T(s, h));
3451
3451
  }
3452
3452
  }, e.prototype.tryParseArgumentClose = function(t) {
3453
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3453
+ return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3454
3454
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3455
3455
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3456
3456
  var n = this.char();
@@ -3459,7 +3459,7 @@ var ai = (
3459
3459
  this.bump();
3460
3460
  var i = this.clonePosition();
3461
3461
  if (!this.bumpUntil("'"))
3462
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3462
+ return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3463
3463
  this.bump();
3464
3464
  break;
3465
3465
  }
@@ -3489,52 +3489,52 @@ var ai = (
3489
3489
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3490
3490
  var n = [];
3491
3491
  try {
3492
- n = Gn(t);
3492
+ n = $n(t);
3493
3493
  } catch {
3494
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3494
+ return this.error(E.INVALID_NUMBER_SKELETON, r);
3495
3495
  }
3496
3496
  return {
3497
3497
  val: {
3498
- type: me.number,
3498
+ type: pe.number,
3499
3499
  tokens: n,
3500
3500
  location: r,
3501
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3501
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3502
3502
  },
3503
3503
  err: null
3504
3504
  };
3505
3505
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3506
3506
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3507
3507
  if (l.length === 0) {
3508
- var p = this.clonePosition();
3508
+ var f = this.clonePosition();
3509
3509
  if (r !== "select" && this.bumpIf("=")) {
3510
- var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3510
+ var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3511
3511
  if (c.err)
3512
3512
  return c;
3513
- u = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3513
+ u = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3514
3514
  } else
3515
3515
  break;
3516
3516
  }
3517
3517
  if (h.has(l))
3518
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3518
+ return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3519
3519
  l === "other" && (s = !0), this.bumpSpace();
3520
- var m = this.clonePosition();
3520
+ var p = this.clonePosition();
3521
3521
  if (!this.bumpIf("{"))
3522
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3523
- var b = this.parseMessage(t + 1, r, n);
3524
- if (b.err)
3525
- return b;
3526
- var _ = this.tryParseArgumentClose(m);
3527
- if (_.err)
3528
- return _;
3522
+ return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3523
+ var v = this.parseMessage(t + 1, r, n);
3524
+ if (v.err)
3525
+ return v;
3526
+ var g = this.tryParseArgumentClose(p);
3527
+ if (g.err)
3528
+ return g;
3529
3529
  a.push([
3530
3530
  l,
3531
3531
  {
3532
- value: b.val,
3533
- location: w(m, this.clonePosition())
3532
+ value: v.val,
3533
+ location: T(p, this.clonePosition())
3534
3534
  }
3535
3535
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3536
3536
  }
3537
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3537
+ return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3538
3538
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3539
3539
  var n = 1, i = this.clonePosition();
3540
3540
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3545,8 +3545,8 @@ var ai = (
3545
3545
  else
3546
3546
  break;
3547
3547
  }
3548
- var h = w(i, this.clonePosition());
3549
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3548
+ var h = T(i, this.clonePosition());
3549
+ return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3550
3550
  }, e.prototype.offset = function() {
3551
3551
  return this.position.offset;
3552
3552
  }, e.prototype.isEOF = function() {
@@ -3561,7 +3561,7 @@ var ai = (
3561
3561
  var t = this.position.offset;
3562
3562
  if (t >= this.message.length)
3563
3563
  throw Error("out of bound");
3564
- var r = yr(this.message, t);
3564
+ var r = vr(this.message, t);
3565
3565
  if (r === void 0)
3566
3566
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3567
3567
  return r;
@@ -3580,7 +3580,7 @@ var ai = (
3580
3580
  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);
3581
3581
  }
3582
3582
  }, e.prototype.bumpIf = function(t) {
3583
- if (Lt(this.message, t, this.offset())) {
3583
+ if (It(this.message, t, this.offset())) {
3584
3584
  for (var r = 0; r < t.length; r++)
3585
3585
  this.bump();
3586
3586
  return !0;
@@ -3602,7 +3602,7 @@ var ai = (
3602
3602
  break;
3603
3603
  }
3604
3604
  }, e.prototype.bumpSpace = function() {
3605
- for (; !this.isEOF() && xr(this.char()); )
3605
+ for (; !this.isEOF() && _r(this.char()); )
3606
3606
  this.bump();
3607
3607
  }, e.prototype.peek = function() {
3608
3608
  if (this.isEOF())
@@ -3612,46 +3612,46 @@ var ai = (
3612
3612
  }, e;
3613
3613
  }()
3614
3614
  );
3615
- function ht(e) {
3615
+ function ut(e) {
3616
3616
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3617
3617
  }
3618
- function li(e) {
3619
- return ht(e) || e === 47;
3618
+ function ai(e) {
3619
+ return ut(e) || e === 47;
3620
3620
  }
3621
- function ui(e) {
3621
+ function li(e) {
3622
3622
  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;
3623
3623
  }
3624
- function xr(e) {
3624
+ function _r(e) {
3625
3625
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3626
3626
  }
3627
- function hi(e) {
3627
+ function ui(e) {
3628
3628
  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;
3629
3629
  }
3630
- function ct(e) {
3630
+ function ht(e) {
3631
3631
  e.forEach(function(t) {
3632
- if (delete t.location, cr(t) || fr(t))
3632
+ if (delete t.location, hr(t) || cr(t))
3633
3633
  for (var r in t.options)
3634
- delete t.options[r].location, ct(t.options[r].value);
3635
- else lr(t) && dr(t.style) || (ur(t) || hr(t)) && st(t.style) ? delete t.style.location : pr(t) && ct(t.children);
3634
+ delete t.options[r].location, ht(t.options[r].value);
3635
+ else ar(t) && dr(t.style) || (lr(t) || ur(t)) && ot(t.style) ? delete t.style.location : fr(t) && ht(t.children);
3636
3636
  });
3637
3637
  }
3638
- function ci(e, t) {
3639
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
- var r = new ai(e, t).parse();
3638
+ function hi(e, t) {
3639
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
+ var r = new si(e, t).parse();
3641
3641
  if (r.err) {
3642
- var n = SyntaxError(x[r.err.kind]);
3642
+ var n = SyntaxError(E[r.err.kind]);
3643
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3644
3644
  }
3645
- return t?.captureLocation || ct(r.val), r.val;
3645
+ return t?.captureLocation || ht(r.val), r.val;
3646
3646
  }
3647
- var be;
3647
+ var me;
3648
3648
  (function(e) {
3649
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3650
- })(be || (be = {}));
3651
- var ke = (
3650
+ })(me || (me = {}));
3651
+ var Ge = (
3652
3652
  /** @class */
3653
3653
  function(e) {
3654
- Z(t, e);
3654
+ J(t, e);
3655
3655
  function t(r, n, i) {
3656
3656
  var o = e.call(this, r) || this;
3657
3657
  return o.code = n, o.originalMessage = i, o;
@@ -3660,51 +3660,51 @@ var ke = (
3660
3660
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3661
3661
  }, t;
3662
3662
  }(Error)
3663
- ), Rt = (
3663
+ ), Mt = (
3664
3664
  /** @class */
3665
3665
  function(e) {
3666
- Z(t, e);
3666
+ J(t, e);
3667
3667
  function t(r, n, i, o) {
3668
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3668
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3669
3669
  }
3670
3670
  return t;
3671
- }(ke)
3672
- ), fi = (
3671
+ }(Ge)
3672
+ ), ci = (
3673
3673
  /** @class */
3674
3674
  function(e) {
3675
- Z(t, e);
3675
+ J(t, e);
3676
3676
  function t(r, n, i) {
3677
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3677
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3678
3678
  }
3679
3679
  return t;
3680
- }(ke)
3681
- ), pi = (
3680
+ }(Ge)
3681
+ ), fi = (
3682
3682
  /** @class */
3683
3683
  function(e) {
3684
- Z(t, e);
3684
+ J(t, e);
3685
3685
  function t(r, n) {
3686
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3686
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3687
3687
  }
3688
3688
  return t;
3689
- }(ke)
3690
- ), R;
3689
+ }(Ge)
3690
+ ), D;
3691
3691
  (function(e) {
3692
3692
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3693
- })(R || (R = {}));
3693
+ })(D || (D = {}));
3694
3694
  function di(e) {
3695
3695
  return e.length < 2 ? e : e.reduce(function(t, r) {
3696
3696
  var n = t[t.length - 1];
3697
- return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3697
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3698
3698
  }, []);
3699
3699
  }
3700
- function mi(e) {
3700
+ function pi(e) {
3701
3701
  return typeof e == "function";
3702
3702
  }
3703
- function Ne(e, t, r, n, i, o, s) {
3703
+ function Le(e, t, r, n, i, o, s) {
3704
3704
  if (e.length === 1 && Ft(e[0]))
3705
3705
  return [
3706
3706
  {
3707
- type: R.literal,
3707
+ type: D.literal,
3708
3708
  value: e[0].value
3709
3709
  }
3710
3710
  ];
@@ -3712,103 +3712,103 @@ function Ne(e, t, r, n, i, o, s) {
3712
3712
  var u = l[h];
3713
3713
  if (Ft(u)) {
3714
3714
  a.push({
3715
- type: R.literal,
3715
+ type: D.literal,
3716
3716
  value: u.value
3717
3717
  });
3718
3718
  continue;
3719
3719
  }
3720
- if (Rn(u)) {
3720
+ if (Mn(u)) {
3721
3721
  typeof o == "number" && a.push({
3722
- type: R.literal,
3722
+ type: D.literal,
3723
3723
  value: r.getNumberFormat(t).format(o)
3724
3724
  });
3725
3725
  continue;
3726
3726
  }
3727
- var p = u.value;
3728
- if (!(i && p in i))
3729
- throw new pi(p, s);
3730
- var c = i[p];
3731
- if (Mn(u)) {
3727
+ var f = u.value;
3728
+ if (!(i && f in i))
3729
+ throw new fi(f, s);
3730
+ var c = i[f];
3731
+ if (Nn(u)) {
3732
3732
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3733
- type: typeof c == "string" ? R.literal : R.object,
3733
+ type: typeof c == "string" ? D.literal : D.object,
3734
3734
  value: c
3735
3735
  });
3736
3736
  continue;
3737
3737
  }
3738
- if (ur(u)) {
3739
- var m = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
3738
+ if (lr(u)) {
3739
+ var p = typeof u.style == "string" ? n.date[u.style] : ot(u.style) ? u.style.parsedOptions : void 0;
3740
3740
  a.push({
3741
- type: R.literal,
3742
- value: r.getDateTimeFormat(t, m).format(c)
3741
+ type: D.literal,
3742
+ value: r.getDateTimeFormat(t, p).format(c)
3743
3743
  });
3744
3744
  continue;
3745
3745
  }
3746
- if (hr(u)) {
3747
- var m = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
3746
+ if (ur(u)) {
3747
+ var p = typeof u.style == "string" ? n.time[u.style] : ot(u.style) ? u.style.parsedOptions : n.time.medium;
3748
3748
  a.push({
3749
- type: R.literal,
3750
- value: r.getDateTimeFormat(t, m).format(c)
3749
+ type: D.literal,
3750
+ value: r.getDateTimeFormat(t, p).format(c)
3751
3751
  });
3752
3752
  continue;
3753
3753
  }
3754
- if (lr(u)) {
3755
- var m = typeof u.style == "string" ? n.number[u.style] : dr(u.style) ? u.style.parsedOptions : void 0;
3756
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3757
- type: R.literal,
3758
- value: r.getNumberFormat(t, m).format(c)
3754
+ if (ar(u)) {
3755
+ var p = typeof u.style == "string" ? n.number[u.style] : dr(u.style) ? u.style.parsedOptions : void 0;
3756
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3757
+ type: D.literal,
3758
+ value: r.getNumberFormat(t, p).format(c)
3759
3759
  });
3760
3760
  continue;
3761
3761
  }
3762
- if (pr(u)) {
3763
- var b = u.children, _ = u.value, T = i[_];
3764
- if (!mi(T))
3765
- throw new fi(_, "function", s);
3766
- var v = Ne(b, t, r, n, i, o), H = T(v.map(function(L) {
3767
- return L.value;
3762
+ if (fr(u)) {
3763
+ var v = u.children, g = u.value, P = i[g];
3764
+ if (!pi(P))
3765
+ throw new ci(g, "function", s);
3766
+ var w = Le(v, t, r, n, i, o), y = P(w.map(function(N) {
3767
+ return N.value;
3768
3768
  }));
3769
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
3769
+ Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(N) {
3770
3770
  return {
3771
- type: typeof L == "string" ? R.literal : R.object,
3772
- value: L
3771
+ type: typeof N == "string" ? D.literal : D.object,
3772
+ value: N
3773
3773
  };
3774
3774
  }));
3775
3775
  }
3776
- if (cr(u)) {
3777
- var E = u.options[c] || u.options.other;
3778
- if (!E)
3779
- throw new Rt(u.value, c, Object.keys(u.options), s);
3780
- a.push.apply(a, Ne(E.value, t, r, n, i));
3776
+ if (hr(u)) {
3777
+ var x = u.options[c] || u.options.other;
3778
+ if (!x)
3779
+ throw new Mt(u.value, c, Object.keys(u.options), s);
3780
+ a.push.apply(a, Le(x.value, t, r, n, i));
3781
3781
  continue;
3782
3782
  }
3783
- if (fr(u)) {
3784
- var E = u.options["=".concat(c)];
3785
- if (!E) {
3783
+ if (cr(u)) {
3784
+ var x = u.options["=".concat(c)];
3785
+ if (!x) {
3786
3786
  if (!Intl.PluralRules)
3787
- throw new ke(`Intl.PluralRules is not available in this environment.
3787
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3788
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3789
- `, be.MISSING_INTL_API, s);
3790
- var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3791
- E = u.options[N] || u.options.other;
3789
+ `, me.MISSING_INTL_API, s);
3790
+ var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3791
+ x = u.options[L] || u.options.other;
3792
3792
  }
3793
- if (!E)
3794
- throw new Rt(u.value, c, Object.keys(u.options), s);
3795
- a.push.apply(a, Ne(E.value, t, r, n, i, c - (u.offset || 0)));
3793
+ if (!x)
3794
+ throw new Mt(u.value, c, Object.keys(u.options), s);
3795
+ a.push.apply(a, Le(x.value, t, r, n, i, c - (u.offset || 0)));
3796
3796
  continue;
3797
3797
  }
3798
3798
  }
3799
3799
  return di(a);
3800
3800
  }
3801
- function bi(e, t) {
3802
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3801
+ function mi(e, t) {
3802
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3804
3804
  }, {})) : e;
3805
3805
  }
3806
- function gi(e, t) {
3806
+ function bi(e, t) {
3807
3807
  return t ? Object.keys(e).reduce(function(r, n) {
3808
- return r[n] = bi(e[n], t[n]), r;
3809
- }, S({}, e)) : e;
3808
+ return r[n] = mi(e[n], t[n]), r;
3809
+ }, A({}, e)) : e;
3810
3810
  }
3811
- function Qe(e) {
3811
+ function Je(e) {
3812
3812
  return {
3813
3813
  create: function() {
3814
3814
  return {
@@ -3822,39 +3822,39 @@ function Qe(e) {
3822
3822
  }
3823
3823
  };
3824
3824
  }
3825
- function vi(e) {
3825
+ function gi(e) {
3826
3826
  return e === void 0 && (e = {
3827
3827
  number: {},
3828
3828
  dateTime: {},
3829
3829
  pluralRules: {}
3830
3830
  }), {
3831
- getNumberFormat: ze(function() {
3831
+ getNumberFormat: We(function() {
3832
3832
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3833
  r[n] = arguments[n];
3834
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3834
+ return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3835
3835
  }, {
3836
- cache: Qe(e.number),
3837
- strategy: Ze.variadic
3836
+ cache: Je(e.number),
3837
+ strategy: ze.variadic
3838
3838
  }),
3839
- getDateTimeFormat: ze(function() {
3839
+ getDateTimeFormat: We(function() {
3840
3840
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3841
  r[n] = arguments[n];
3842
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3842
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3843
3843
  }, {
3844
- cache: Qe(e.dateTime),
3845
- strategy: Ze.variadic
3844
+ cache: Je(e.dateTime),
3845
+ strategy: ze.variadic
3846
3846
  }),
3847
- getPluralRules: ze(function() {
3847
+ getPluralRules: We(function() {
3848
3848
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3849
  r[n] = arguments[n];
3850
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3850
+ return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3851
3851
  }, {
3852
- cache: Qe(e.pluralRules),
3853
- strategy: Ze.variadic
3852
+ cache: Je(e.pluralRules),
3853
+ strategy: ze.variadic
3854
3854
  })
3855
3855
  };
3856
3856
  }
3857
- var yi = (
3857
+ var vi = (
3858
3858
  /** @class */
3859
3859
  function() {
3860
3860
  function e(t, r, n, i) {
@@ -3868,12 +3868,12 @@ var yi = (
3868
3868
  var l = o.formatToParts(h);
3869
3869
  if (l.length === 1)
3870
3870
  return l[0].value;
3871
- var u = l.reduce(function(p, c) {
3872
- return !p.length || c.type !== R.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3871
+ var u = l.reduce(function(f, c) {
3872
+ return !f.length || c.type !== D.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3873
3873
  }, []);
3874
3874
  return u.length <= 1 ? u[0] || "" : u;
3875
3875
  }, this.formatToParts = function(h) {
3876
- return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3876
+ return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3877
3877
  }, this.resolvedOptions = function() {
3878
3878
  var h;
3879
3879
  return {
@@ -3886,13 +3886,13 @@ var yi = (
3886
3886
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3887
3887
  var s = i || {};
3888
3888
  s.formatters;
3889
- var a = Qr(s, ["formatters"]);
3890
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3889
+ var a = Jr(s, ["formatters"]);
3890
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3891
3891
  } else
3892
3892
  this.ast = t;
3893
3893
  if (!Array.isArray(this.ast))
3894
3894
  throw new TypeError("A message must be provided as a String or AST.");
3895
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3895
+ this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3896
3896
  }
3897
3897
  return Object.defineProperty(e, "defaultLocale", {
3898
3898
  get: function() {
@@ -3905,7 +3905,7 @@ var yi = (
3905
3905
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3906
3906
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3907
3907
  }
3908
- }, e.__parse = ci, e.formats = {
3908
+ }, e.__parse = hi, e.formats = {
3909
3909
  number: {
3910
3910
  integer: {
3911
3911
  maximumFractionDigits: 0
@@ -3966,7 +3966,7 @@ var yi = (
3966
3966
  }, e;
3967
3967
  }()
3968
3968
  );
3969
- function _i(e, t) {
3969
+ function yi(e, t) {
3970
3970
  if (t == null)
3971
3971
  return;
3972
3972
  if (t in e)
@@ -3987,92 +3987,92 @@ function _i(e, t) {
3987
3987
  n = void 0;
3988
3988
  return n;
3989
3989
  }
3990
- const Q = {}, xi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Er = (e, t) => {
3990
+ const Q = {}, _i = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), xr = (e, t) => {
3991
3991
  if (t == null)
3992
3992
  return;
3993
3993
  if (t in Q && e in Q[t])
3994
3994
  return Q[t][e];
3995
- const r = je(t);
3995
+ const r = ke(t);
3996
3996
  for (let n = 0; n < r.length; n++) {
3997
- const i = r[n], o = wi(i, e);
3997
+ const i = r[n], o = Ei(i, e);
3998
3998
  if (o)
3999
- return xi(e, t, o);
3999
+ return _i(e, t, o);
4000
4000
  }
4001
4001
  };
4002
- let mt;
4003
- const ye = Ge({});
4004
- function Ei(e) {
4005
- return mt[e] || null;
4002
+ let pt;
4003
+ const ve = $e({});
4004
+ function xi(e) {
4005
+ return pt[e] || null;
4006
4006
  }
4007
- function wr(e) {
4008
- return e in mt;
4007
+ function Er(e) {
4008
+ return e in pt;
4009
4009
  }
4010
- function wi(e, t) {
4011
- if (!wr(e))
4010
+ function Ei(e, t) {
4011
+ if (!Er(e))
4012
4012
  return null;
4013
- const r = Ei(e);
4014
- return _i(r, t);
4013
+ const r = xi(e);
4014
+ return yi(r, t);
4015
4015
  }
4016
- function Si(e) {
4016
+ function wi(e) {
4017
4017
  if (e == null)
4018
4018
  return;
4019
- const t = je(e);
4019
+ const t = ke(e);
4020
4020
  for (let r = 0; r < t.length; r++) {
4021
4021
  const n = t[r];
4022
- if (wr(n))
4022
+ if (Er(n))
4023
4023
  return n;
4024
4024
  }
4025
4025
  }
4026
- function Sr(e, ...t) {
4027
- delete Q[e], ye.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4026
+ function wr(e, ...t) {
4027
+ delete Q[e], ve.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4028
4028
  }
4029
- ve(
4030
- [ye],
4029
+ ge(
4030
+ [ve],
4031
4031
  ([e]) => Object.keys(e)
4032
4032
  );
4033
- ye.subscribe((e) => mt = e);
4034
- const Me = {};
4035
- function Ti(e, t) {
4036
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4033
+ ve.subscribe((e) => pt = e);
4034
+ const Ne = {};
4035
+ function Si(e, t) {
4036
+ Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
4037
4037
  }
4038
- function Tr(e) {
4039
- return Me[e];
4038
+ function Sr(e) {
4039
+ return Ne[e];
4040
4040
  }
4041
- function Hi(e) {
4042
- return je(e).map((t) => {
4043
- const r = Tr(t);
4041
+ function Ti(e) {
4042
+ return ke(e).map((t) => {
4043
+ const r = Sr(t);
4044
4044
  return [t, r ? [...r] : []];
4045
4045
  }).filter(([, t]) => t.length > 0);
4046
4046
  }
4047
- function ft(e) {
4048
- return e == null ? !1 : je(e).some(
4047
+ function ct(e) {
4048
+ return e == null ? !1 : ke(e).some(
4049
4049
  (t) => {
4050
4050
  var r;
4051
- return (r = Tr(t)) == null ? void 0 : r.size;
4051
+ return (r = Sr(t)) == null ? void 0 : r.size;
4052
4052
  }
4053
4053
  );
4054
4054
  }
4055
- function Ai(e, t) {
4055
+ function Hi(e, t) {
4056
4056
  return Promise.all(
4057
- t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
4058
- ).then((n) => Sr(e, ...n));
4057
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4058
+ ).then((n) => wr(e, ...n));
4059
4059
  }
4060
4060
  const xe = {};
4061
- function Hr(e) {
4062
- if (!ft(e))
4061
+ function Tr(e) {
4062
+ if (!ct(e))
4063
4063
  return e in xe ? xe[e] : Promise.resolve();
4064
- const t = Hi(e);
4064
+ const t = Ti(e);
4065
4065
  return xe[e] = Promise.all(
4066
4066
  t.map(
4067
- ([r, n]) => Ai(r, n)
4067
+ ([r, n]) => Hi(r, n)
4068
4068
  )
4069
4069
  ).then(() => {
4070
- if (ft(e))
4071
- return Hr(e);
4070
+ if (ct(e))
4071
+ return Tr(e);
4072
4072
  delete xe[e];
4073
4073
  }), xe[e];
4074
4074
  }
4075
- const Pi = {
4075
+ const Ai = {
4076
4076
  number: {
4077
4077
  scientific: { notation: "scientific" },
4078
4078
  engineering: { notation: "engineering" },
@@ -4101,176 +4101,176 @@ const Pi = {
4101
4101
  timeZoneName: "short"
4102
4102
  }
4103
4103
  }
4104
- }, Ci = {
4104
+ }, Pi = {
4105
4105
  fallbackLocale: null,
4106
4106
  loadingDelay: 200,
4107
- formats: Pi,
4107
+ formats: Ai,
4108
4108
  warnOnMissingMessages: !0,
4109
4109
  handleMissingMessage: void 0,
4110
4110
  ignoreTag: !0
4111
- }, Fi = Ci;
4112
- function ge() {
4111
+ }, Fi = Pi;
4112
+ function be() {
4113
4113
  return Fi;
4114
4114
  }
4115
- const qe = Ge(!1);
4116
- var Bi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4115
+ const Qe = $e(!1);
4116
+ var Ci = Object.defineProperty, Bi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4117
4117
  for (var r in t || (t = {}))
4118
- Li.call(t, r) && Dt(e, r, t[r]);
4119
- if ($t)
4120
- for (var r of $t(t))
4121
- Ni.call(t, r) && Dt(e, r, t[r]);
4118
+ Ii.call(t, r) && Dt(e, r, t[r]);
4119
+ if (Rt)
4120
+ for (var r of Rt(t))
4121
+ Li.call(t, r) && Dt(e, r, t[r]);
4122
4122
  return e;
4123
- }, Ri = (e, t) => Oi(e, Ii(t));
4124
- let pt;
4125
- const $e = Ge(null);
4123
+ }, Mi = (e, t) => Bi(e, Oi(t));
4124
+ let ft;
4125
+ const Re = $e(null);
4126
4126
  function Ut(e) {
4127
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4128
4128
  }
4129
- function je(e, t = ge().fallbackLocale) {
4129
+ function ke(e, t = be().fallbackLocale) {
4130
4130
  const r = Ut(e);
4131
4131
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4132
4132
  }
4133
- function re() {
4134
- return pt ?? void 0;
4133
+ function ie() {
4134
+ return ft ?? void 0;
4135
4135
  }
4136
- $e.subscribe((e) => {
4137
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4136
+ Re.subscribe((e) => {
4137
+ ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4138
4138
  });
4139
- const $i = (e) => {
4140
- if (e && Si(e) && ft(e)) {
4141
- const { loadingDelay: t } = ge();
4139
+ const Ri = (e) => {
4140
+ if (e && wi(e) && ct(e)) {
4141
+ const { loadingDelay: t } = be();
4142
4142
  let r;
4143
- return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4144
- () => qe.set(!0),
4143
+ return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
4144
+ () => Qe.set(!0),
4145
4145
  t
4146
- ) : qe.set(!0), Hr(e).then(() => {
4147
- $e.set(e);
4146
+ ) : Qe.set(!0), Tr(e).then(() => {
4147
+ Re.set(e);
4148
4148
  }).finally(() => {
4149
- clearTimeout(r), qe.set(!1);
4149
+ clearTimeout(r), Qe.set(!1);
4150
4150
  });
4151
4151
  }
4152
- return $e.set(e);
4153
- }, te = Ri(Mi({}, $e), {
4154
- set: $i
4155
- }), Ve = (e) => {
4152
+ return Re.set(e);
4153
+ }, ne = Mi(Ni({}, Re), {
4154
+ set: Ri
4155
+ }), je = (e) => {
4156
4156
  const t = /* @__PURE__ */ Object.create(null);
4157
4157
  return (n) => {
4158
4158
  const i = JSON.stringify(n);
4159
4159
  return i in t ? t[i] : t[i] = e(n);
4160
4160
  };
4161
4161
  };
4162
- var Di = Object.defineProperty, De = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4162
+ var Di = Object.defineProperty, De = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4163
4163
  for (var r in t || (t = {}))
4164
- Ar.call(t, r) && Gt(e, r, t[r]);
4164
+ Hr.call(t, r) && $t(e, r, t[r]);
4165
4165
  if (De)
4166
4166
  for (var r of De(t))
4167
- Pr.call(t, r) && Gt(e, r, t[r]);
4167
+ Ar.call(t, r) && $t(e, r, t[r]);
4168
4168
  return e;
4169
- }, _e = (e, t) => {
4169
+ }, ye = (e, t) => {
4170
4170
  var r = {};
4171
4171
  for (var n in e)
4172
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4172
+ Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
4173
  if (e != null && De)
4174
4174
  for (var n of De(e))
4175
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4175
+ t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
4176
4176
  return r;
4177
4177
  };
4178
4178
  const He = (e, t) => {
4179
- const { formats: r } = ge();
4179
+ const { formats: r } = be();
4180
4180
  if (e in r && t in r[e])
4181
4181
  return r[e][t];
4182
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4183
- }, Ui = Ve(
4183
+ }, Ui = je(
4184
4184
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4186
4186
  if (r == null)
4187
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4188
4188
  return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4189
4189
  }
4190
- ), Gi = Ve(
4190
+ ), $i = je(
4191
4191
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4193
4193
  if (r == null)
4194
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4195
4195
  return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4196
4196
  }
4197
- ), ki = Ve(
4197
+ ), Gi = je(
4198
4198
  (e) => {
4199
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4200
4200
  if (r == null)
4201
4201
  throw new Error(
4202
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4203
4203
  );
4204
4204
  return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4205
4205
  }
4206
- ), ji = (e = {}) => {
4206
+ ), ki = (e = {}) => {
4207
4207
  var t = e, {
4208
- locale: r = re()
4209
- } = t, n = _e(t, [
4208
+ locale: r = ie()
4209
+ } = t, n = ye(t, [
4210
4210
  "locale"
4211
4211
  ]);
4212
- return Ui(bt({ locale: r }, n));
4213
- }, Vi = (e = {}) => {
4212
+ return Ui(mt({ locale: r }, n));
4213
+ }, ji = (e = {}) => {
4214
4214
  var t = e, {
4215
- locale: r = re()
4216
- } = t, n = _e(t, [
4215
+ locale: r = ie()
4216
+ } = t, n = ye(t, [
4217
4217
  "locale"
4218
4218
  ]);
4219
- return Gi(bt({ locale: r }, n));
4220
- }, Xi = (e = {}) => {
4219
+ return $i(mt({ locale: r }, n));
4220
+ }, Vi = (e = {}) => {
4221
4221
  var t = e, {
4222
- locale: r = re()
4223
- } = t, n = _e(t, [
4222
+ locale: r = ie()
4223
+ } = t, n = ye(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
- return ki(bt({ locale: r }, n));
4227
- }, Wi = Ve(
4226
+ return Gi(mt({ locale: r }, n));
4227
+ }, Xi = je(
4228
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4229
- (e, t = re()) => new yi(e, t, ge().formats, {
4230
- ignoreTag: ge().ignoreTag
4229
+ (e, t = ie()) => new vi(e, t, be().formats, {
4230
+ ignoreTag: be().ignoreTag
4231
4231
  })
4232
- ), zi = (e, t = {}) => {
4232
+ ), Wi = (e, t = {}) => {
4233
4233
  var r, n, i, o;
4234
4234
  let s = t;
4235
4235
  typeof e == "object" && (s = e, e = s.id);
4236
4236
  const {
4237
4237
  values: a,
4238
- locale: h = re(),
4238
+ locale: h = ie(),
4239
4239
  default: l
4240
4240
  } = s;
4241
4241
  if (h == null)
4242
4242
  throw new Error(
4243
4243
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4244
4244
  );
4245
- let u = Er(e, h);
4245
+ let u = xr(e, h);
4246
4246
  if (!u)
4247
- 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;
4247
+ 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;
4248
4248
  else if (typeof u != "string")
4249
4249
  return console.warn(
4250
4250
  `[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.`
4251
4251
  ), u;
4252
4252
  if (!a)
4253
4253
  return u;
4254
- let p = u;
4254
+ let f = u;
4255
4255
  try {
4256
- p = Wi(u, h).format(a);
4256
+ f = Xi(u, h).format(a);
4257
4257
  } catch (c) {
4258
4258
  c instanceof Error && console.warn(
4259
4259
  `[svelte-i18n] Message "${e}" has syntax error:`,
4260
4260
  c.message
4261
4261
  );
4262
4262
  }
4263
- return p;
4264
- }, Zi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Qi = (e, t) => ji(t).format(e), qi = (e, t = re()) => Er(e, t), Yi = ve([te, ye], () => zi);
4265
- ve([te], () => Zi);
4266
- ve([te], () => Ji);
4267
- ve([te], () => Qi);
4268
- ve([te, ye], () => qi);
4269
- window.emWidgets = { topic: cn };
4270
- const Ki = (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)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
- function yo(e, t) {
4263
+ return f;
4264
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Ji = (e, t) => ki(t).format(e), Qi = (e, t = ie()) => xr(e, t), qi = ge([ne, ve], () => Wi);
4265
+ ge([ne], () => zi);
4266
+ ge([ne], () => Zi);
4267
+ ge([ne], () => Ji);
4268
+ ge([ne, ve], () => Qi);
4269
+ window.emWidgets = { topic: hn };
4270
+ const Yi = (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)), Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
+ function xo(e, t) {
4272
4272
  const r = window.navigator.userAgent;
4273
- return Ki(r) ? t = e.filter((n) => {
4273
+ return Yi(r) ? t = e.filter((n) => {
4274
4274
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4275
4275
  return n;
4276
4276
  }) : t = e.filter((n) => {
@@ -4278,15 +4278,38 @@ function yo(e, t) {
4278
4278
  return n;
4279
4279
  }), t;
4280
4280
  }
4281
- function to({ withLocale: e, translations: t }) {
4282
- te.subscribe((r) => {
4283
- r == null && (ye.set(t), te.set(e));
4281
+ function eo(e, t) {
4282
+ if (e) {
4283
+ const r = document.createElement("style");
4284
+ r.innerHTML = t, e.appendChild(r);
4285
+ }
4286
+ }
4287
+ function to(e, t) {
4288
+ const r = new URL(t);
4289
+ fetch(r.href).then((n) => n.text()).then((n) => {
4290
+ const i = document.createElement("style");
4291
+ i.innerHTML = n, e && e.appendChild(i);
4292
+ }).catch((n) => {
4293
+ console.error("There was an error while trying to load client styling from URL", n);
4294
+ });
4295
+ }
4296
+ function ro(e, t, r) {
4297
+ if (window.emMessageBus) {
4298
+ const n = document.createElement("style");
4299
+ window.emMessageBus.subscribe(t, (i) => {
4300
+ n.innerHTML = i, e && e.appendChild(n);
4301
+ });
4302
+ }
4303
+ }
4304
+ function no({ withLocale: e, translations: t }) {
4305
+ ne.subscribe((r) => {
4306
+ r == null && (ve.set(t), ne.set(e));
4284
4307
  });
4285
4308
  }
4286
- function kt(e, t) {
4287
- Sr(e, t);
4309
+ function Gt(e, t) {
4310
+ wr(e, t);
4288
4311
  }
4289
- const jt = {
4312
+ const kt = {
4290
4313
  en: {
4291
4314
  providers: "Providers:",
4292
4315
  filterby: "Filter by:",
@@ -4396,123 +4419,123 @@ const jt = {
4396
4419
  clear: "Clear all"
4397
4420
  }
4398
4421
  };
4399
- function ro(e) {
4400
- Or(e, "svelte-1v7rv6n", ':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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%}}');
4422
+ function io(e) {
4423
+ Br(e, "svelte-1v7rv6n", ':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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%}}');
4401
4424
  }
4402
- function Vt(e, t, r) {
4425
+ function jt(e, t, r) {
4403
4426
  const n = e.slice();
4404
4427
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4405
4428
  }
4406
- function no(e) {
4429
+ function oo(e) {
4407
4430
  let t, r, n, i, o, s, a, h, l = (
4408
4431
  /*$_*/
4409
4432
  e[11]("filterby") + ""
4410
- ), u, p, c, m, b = (
4433
+ ), u, f, c, p, v = (
4411
4434
  /*$_*/
4412
4435
  e[11]("providers") + ""
4413
- ), _, T, v, H, E, N, L, O, P, I, M, W, j, ne = (
4436
+ ), g, P, w, y, x, L, N, R, S, O, M, V, z, K = (
4414
4437
  /*$_*/
4415
4438
  e[11]("clear") + ""
4416
- ), ie, K, oe, ee, se, Ae;
4417
- function Pe(d, C) {
4439
+ ), oe, se, ee, te, _e, Ae;
4440
+ function Pe(b, C) {
4418
4441
  return (
4419
4442
  /*fullSelection*/
4420
- d[7] ? so : oo
4443
+ b[7] ? lo : ao
4421
4444
  );
4422
4445
  }
4423
- let ae = Pe(e), $ = ae(e), J = xt(
4446
+ let ae = Pe(e), $ = ae(e), d = _t(
4424
4447
  /*vendorArray*/
4425
4448
  e[5]
4426
- ), f = [];
4427
- for (let d = 0; d < J.length; d += 1)
4428
- f[d] = Xt(Vt(e, J, d));
4449
+ ), H = [];
4450
+ for (let b = 0; b < d.length; b += 1)
4451
+ H[b] = Vt(jt(e, d, b));
4429
4452
  return {
4430
4453
  c() {
4431
- t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = F("div"), h = F("span"), u = U(l), p = V(), c = F("div"), m = F("span"), _ = U(b), T = V(), $.c(), v = V(), H = F("span"), E = Ee("svg"), N = Ee("path"), P = V(), I = F("div"), M = F("ul");
4432
- for (let d = 0; d < f.length; d += 1)
4433
- f[d].c();
4434
- W = V(), j = F("button"), ie = U(ne), 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(N, "id", "arrow"), g(N, "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(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
4435
- (e[4] ? "TriangleActive" : "")), g(r, "class", O = "FilterSelector " + /*isFilterActive*/
4436
- (e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4454
+ t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = F("div"), h = F("span"), u = G(l), f = X(), c = F("div"), p = F("span"), g = G(v), P = X(), $.c(), w = X(), y = F("span"), x = Ee("svg"), L = Ee("path"), S = X(), O = F("div"), M = F("ul");
4455
+ for (let b = 0; b < H.length; b += 1)
4456
+ H[b].c();
4457
+ V = X(), z = F("button"), oe = G(K), m(o, "id", "noun_filter_736223"), m(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"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(h, "class", "FilterName"), m(c, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(L, "id", "arrow"), m(L, "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"), m(L, "transform", "translate(-274.511 -441.088)"), m(L, "fill", "#d1d1d1"), m(x, "xmlns", "http://www.w3.org/2000/svg"), m(x, "width", "14"), m(x, "height", "6.835"), m(x, "viewBox", "0 0 14 6.835"), m(y, "class", N = "TriangleInactive " + /*isFilterActive*/
4458
+ (e[4] ? "TriangleActive" : "")), m(r, "class", R = "FilterSelector " + /*isFilterActive*/
4459
+ (e[4] ? "FilterSelectorOpen" : "")), m(M, "class", "FilterDropdown"), m(z, "class", "ClearFilters"), z.disabled = se = /*fullSelection*/
4437
4460
  e[7] && /*selectedVendorArray*/
4438
4461
  e[6].length != /*vendorArray*/
4439
- e[5].length, g(I, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4440
- (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4462
+ e[5].length, m(O, "class", ee = "FilterDropdownContainer " + /*isFilterActive*/
4463
+ (e[4] ? "FilterOpen" : "")), m(t, "class", te = "FilterContainer " + /*addfilterselector*/
4441
4464
  (e[0] == "true" && /*addsortingselector*/
4442
4465
  e[1] == "true" ? "FilerContainerSplit" : ""));
4443
4466
  },
4444
- m(d, C) {
4445
- X(d, t, C), y(t, r), y(r, n), y(n, i), y(i, o), y(n, s), y(n, a), y(a, h), y(h, u), y(a, p), y(a, c), y(c, m), y(m, _), y(c, T), $.m(c, null), y(r, v), y(r, H), y(H, E), y(E, N), y(t, P), y(t, I), y(I, M);
4446
- for (let A = 0; A < f.length; A += 1)
4447
- f[A] && f[A].m(M, null);
4448
- y(I, W), y(I, j), y(j, ie), se || (Ae = [
4449
- Re(
4467
+ m(b, C) {
4468
+ W(b, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, f), _(a, c), _(c, p), _(p, g), _(c, P), $.m(c, null), _(r, w), _(r, y), _(y, x), _(x, L), _(t, S), _(t, O), _(O, M);
4469
+ for (let I = 0; I < H.length; I += 1)
4470
+ H[I] && H[I].m(M, null);
4471
+ _(O, V), _(O, z), _(z, oe), _e || (Ae = [
4472
+ Me(
4450
4473
  r,
4451
4474
  "click",
4452
4475
  /*click_handler*/
4453
- e[22]
4476
+ e[23]
4454
4477
  ),
4455
- Re(
4456
- j,
4478
+ Me(
4479
+ z,
4457
4480
  "click",
4458
4481
  /*click_handler_2*/
4459
- e[25]
4482
+ e[26]
4460
4483
  )
4461
- ], se = !0);
4484
+ ], _e = !0);
4462
4485
  },
4463
- p(d, C) {
4486
+ p(b, C) {
4464
4487
  if (C[0] & /*$_*/
4465
4488
  2048 && l !== (l = /*$_*/
4466
- d[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4467
- 2048 && b !== (b = /*$_*/
4468
- d[11]("providers") + "") && q(_, b), ae === (ae = Pe(d)) && $ ? $.p(d, C) : ($.d(1), $ = ae(d), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
4469
- 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4470
- (d[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
4471
- 16 && O !== (O = "FilterSelector " + /*isFilterActive*/
4472
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", O), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4489
+ b[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4490
+ 2048 && v !== (v = /*$_*/
4491
+ b[11]("providers") + "") && q(g, v), ae === (ae = Pe(b)) && $ ? $.p(b, C) : ($.d(1), $ = ae(b), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
4492
+ 16 && N !== (N = "TriangleInactive " + /*isFilterActive*/
4493
+ (b[4] ? "TriangleActive" : "")) && m(y, "class", N), C[0] & /*isFilterActive*/
4494
+ 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4495
+ (b[4] ? "FilterSelectorOpen" : "")) && m(r, "class", R), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4473
4496
  8228) {
4474
- J = xt(
4497
+ d = _t(
4475
4498
  /*vendorArray*/
4476
- d[5]
4499
+ b[5]
4477
4500
  );
4478
- let A;
4479
- for (A = 0; A < J.length; A += 1) {
4480
- const le = Vt(d, J, A);
4481
- f[A] ? f[A].p(le, C) : (f[A] = Xt(le), f[A].c(), f[A].m(M, null));
4501
+ let I;
4502
+ for (I = 0; I < d.length; I += 1) {
4503
+ const re = jt(b, d, I);
4504
+ H[I] ? H[I].p(re, C) : (H[I] = Vt(re), H[I].c(), H[I].m(M, null));
4482
4505
  }
4483
- for (; A < f.length; A += 1)
4484
- f[A].d(1);
4485
- f.length = J.length;
4506
+ for (; I < H.length; I += 1)
4507
+ H[I].d(1);
4508
+ H.length = d.length;
4486
4509
  }
4487
4510
  C[0] & /*$_*/
4488
- 2048 && ne !== (ne = /*$_*/
4489
- d[11]("clear") + "") && q(ie, ne), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4490
- 224 && K !== (K = /*fullSelection*/
4491
- d[7] && /*selectedVendorArray*/
4492
- d[6].length != /*vendorArray*/
4493
- d[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4494
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4495
- (d[4] ? "FilterOpen" : "")) && g(I, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4496
- 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4497
- (d[0] == "true" && /*addsortingselector*/
4498
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4511
+ 2048 && K !== (K = /*$_*/
4512
+ b[11]("clear") + "") && q(oe, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4513
+ 224 && se !== (se = /*fullSelection*/
4514
+ b[7] && /*selectedVendorArray*/
4515
+ b[6].length != /*vendorArray*/
4516
+ b[5].length) && (z.disabled = se), C[0] & /*isFilterActive*/
4517
+ 16 && ee !== (ee = "FilterDropdownContainer " + /*isFilterActive*/
4518
+ (b[4] ? "FilterOpen" : "")) && m(O, "class", ee), C[0] & /*addfilterselector, addsortingselector*/
4519
+ 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4520
+ (b[0] == "true" && /*addsortingselector*/
4521
+ b[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", te);
4499
4522
  },
4500
- d(d) {
4501
- d && k(t), $.d(), Nr(f, d), se = !1, Y(Ae);
4523
+ d(b) {
4524
+ b && j(t), $.d(), Lr(H, b), _e = !1, Y(Ae);
4502
4525
  }
4503
4526
  };
4504
4527
  }
4505
- function io(e) {
4528
+ function so(e) {
4506
4529
  let t, r = (
4507
4530
  /*$_*/
4508
4531
  e[11]("500") + ""
4509
4532
  ), n;
4510
4533
  return {
4511
4534
  c() {
4512
- t = F("p"), n = U(r), g(t, "class", "SearchLoading");
4535
+ t = F("p"), n = G(r), m(t, "class", "SearchLoading");
4513
4536
  },
4514
4537
  m(i, o) {
4515
- X(i, t, o), y(t, n);
4538
+ W(i, t, o), _(t, n);
4516
4539
  },
4517
4540
  p(i, o) {
4518
4541
  o[0] & /*$_*/
@@ -4520,21 +4543,21 @@ function io(e) {
4520
4543
  i[11]("500") + "") && q(n, r);
4521
4544
  },
4522
4545
  d(i) {
4523
- i && k(t);
4546
+ i && j(t);
4524
4547
  }
4525
4548
  };
4526
4549
  }
4527
- function oo(e) {
4550
+ function ao(e) {
4528
4551
  let t, r;
4529
4552
  return {
4530
4553
  c() {
4531
- t = F("span"), r = U(
4554
+ t = F("span"), r = G(
4532
4555
  /*selectionNumber*/
4533
4556
  e[8]
4534
- ), g(t, "class", "FilterCounter");
4557
+ ), m(t, "class", "FilterCounter");
4535
4558
  },
4536
4559
  m(n, i) {
4537
- X(n, t, i), y(t, r);
4560
+ W(n, t, i), _(t, r);
4538
4561
  },
4539
4562
  p(n, i) {
4540
4563
  i[0] & /*selectionNumber*/
@@ -4545,21 +4568,21 @@ function oo(e) {
4545
4568
  );
4546
4569
  },
4547
4570
  d(n) {
4548
- n && k(t);
4571
+ n && j(t);
4549
4572
  }
4550
4573
  };
4551
4574
  }
4552
- function so(e) {
4575
+ function lo(e) {
4553
4576
  let t, r = (
4554
4577
  /*$_*/
4555
4578
  e[11]("all") + ""
4556
4579
  ), n;
4557
4580
  return {
4558
4581
  c() {
4559
- t = F("span"), n = U(r), g(t, "class", "FilterCounter");
4582
+ t = F("span"), n = G(r), m(t, "class", "FilterCounter");
4560
4583
  },
4561
4584
  m(i, o) {
4562
- X(i, t, o), y(t, n);
4585
+ W(i, t, o), _(t, n);
4563
4586
  },
4564
4587
  p(i, o) {
4565
4588
  o[0] & /*$_*/
@@ -4567,31 +4590,31 @@ function so(e) {
4567
4590
  i[11]("all") + "") && q(n, r);
4568
4591
  },
4569
4592
  d(i) {
4570
- i && k(t);
4593
+ i && j(t);
4571
4594
  }
4572
4595
  };
4573
4596
  }
4574
- function ao(e) {
4597
+ function uo(e) {
4575
4598
  let t, r;
4576
4599
  return {
4577
4600
  c() {
4578
- t = F("img"), vt(t.src, r = /*vendor*/
4579
- e[36].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4601
+ t = F("img"), gt(t.src, r = /*vendor*/
4602
+ e[36].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4580
4603
  },
4581
4604
  m(n, i) {
4582
- X(n, t, i);
4605
+ W(n, t, i);
4583
4606
  },
4584
4607
  p(n, i) {
4585
4608
  i[0] & /*vendorArray*/
4586
- 32 && !vt(t.src, r = /*vendor*/
4587
- n[36].logo) && g(t, "src", r);
4609
+ 32 && !gt(t.src, r = /*vendor*/
4610
+ n[36].logo) && m(t, "src", r);
4588
4611
  },
4589
4612
  d(n) {
4590
- n && k(t);
4613
+ n && j(t);
4591
4614
  }
4592
4615
  };
4593
4616
  }
4594
- function lo(e) {
4617
+ function ho(e) {
4595
4618
  let t, r, n = (
4596
4619
  /*vendor*/
4597
4620
  e[36].name + ""
@@ -4601,27 +4624,27 @@ function lo(e) {
4601
4624
  ), l, u;
4602
4625
  return {
4603
4626
  c() {
4604
- t = F("div"), r = F("span"), i = U(n), o = V(), s = F("span"), a = U("("), l = U(h), u = U(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4627
+ t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(h), u = G(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4605
4628
  },
4606
- m(p, c) {
4607
- X(p, t, c), y(t, r), y(r, i), y(t, o), y(t, s), y(s, a), y(s, l), y(s, u);
4629
+ m(f, c) {
4630
+ W(f, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4608
4631
  },
4609
- p(p, c) {
4632
+ p(f, c) {
4610
4633
  c[0] & /*vendorArray*/
4611
4634
  32 && n !== (n = /*vendor*/
4612
- p[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4635
+ f[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4613
4636
  32 && h !== (h = /*vendor*/
4614
- p[36].games.count + "") && q(l, h);
4637
+ f[36].games.count + "") && q(l, h);
4615
4638
  },
4616
- d(p) {
4617
- p && k(t);
4639
+ d(f) {
4640
+ f && j(t);
4618
4641
  }
4619
4642
  };
4620
4643
  }
4621
- function Xt(e) {
4622
- let t, r, n, i, o, s, a, h, l, u, p, c;
4623
- function m() {
4624
- e[23].call(
4644
+ function Vt(e) {
4645
+ let t, r, n, i, o, s, a, h, l, u, f, c;
4646
+ function p() {
4647
+ e[24].call(
4625
4648
  n,
4626
4649
  /*each_value*/
4627
4650
  e[37],
@@ -4629,65 +4652,65 @@ function Xt(e) {
4629
4652
  e[38]
4630
4653
  );
4631
4654
  }
4632
- function b() {
4655
+ function v() {
4633
4656
  return (
4634
4657
  /*click_handler_1*/
4635
- e[24](
4658
+ e[25](
4636
4659
  /*vendor*/
4637
4660
  e[36]
4638
4661
  )
4639
4662
  );
4640
4663
  }
4641
- function _(H, E) {
4664
+ function g(y, x) {
4642
4665
  if (
4643
4666
  /*filterbylogo*/
4644
- H[2] === "false"
4645
- ) return lo;
4667
+ y[2] === "false"
4668
+ ) return ho;
4646
4669
  if (
4647
4670
  /*filterbylogo*/
4648
- H[2] === "true"
4649
- ) return ao;
4671
+ y[2] === "true"
4672
+ ) return uo;
4650
4673
  }
4651
- let T = _(e), v = T && T(e);
4674
+ let P = g(e), w = P && P(e);
4652
4675
  return {
4653
4676
  c() {
4654
- t = F("li"), r = F("label"), n = F("input"), o = V(), s = F("span"), a = V(), v && v.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4655
- e[36].name, yt(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4677
+ t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), w && w.c(), h = X(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4678
+ e[36].name, vt(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4656
4679
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4657
4680
  e[36].name;
4658
4681
  },
4659
- m(H, E) {
4660
- X(H, t, E), y(t, r), y(r, n), n.checked = /*vendor*/
4661
- e[36].isFilterSelected, y(r, o), y(r, s), y(r, a), v && v.m(r, null), y(t, h), p || (c = [
4662
- Re(n, "change", m),
4663
- Re(n, "click", b)
4664
- ], p = !0);
4682
+ m(y, x) {
4683
+ W(y, t, x), _(t, r), _(r, n), n.checked = /*vendor*/
4684
+ e[36].isFilterSelected, _(r, o), _(r, s), _(r, a), w && w.m(r, null), _(t, h), f || (c = [
4685
+ Me(n, "change", p),
4686
+ Me(n, "click", v)
4687
+ ], f = !0);
4665
4688
  },
4666
- p(H, E) {
4667
- e = H, E[0] & /*vendorArray*/
4689
+ p(y, x) {
4690
+ e = y, x[0] & /*vendorArray*/
4668
4691
  32 && i !== (i = /*vendor*/
4669
- e[36].name) && (n.__value = i, yt(n, n.__value)), E[0] & /*vendorArray*/
4692
+ e[36].name) && (n.__value = i, vt(n, n.__value)), x[0] & /*vendorArray*/
4670
4693
  32 && (n.checked = /*vendor*/
4671
- e[36].isFilterSelected), T === (T = _(e)) && v ? v.p(e, E) : (v && v.d(1), v = T && T(e), v && (v.c(), v.m(r, null))), E[0] & /*filterbylogo*/
4694
+ e[36].isFilterSelected), P === (P = g(e)) && w ? w.p(e, x) : (w && w.d(1), w = P && P(e), w && (w.c(), w.m(r, null))), x[0] & /*filterbylogo*/
4672
4695
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4673
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), E[0] & /*vendorArray*/
4696
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), x[0] & /*vendorArray*/
4674
4697
  32 && u !== (u = /*vendor*/
4675
4698
  e[36].name) && (t.value = u);
4676
4699
  },
4677
- d(H) {
4678
- H && k(t), v && v.d(), p = !1, Y(c);
4700
+ d(y) {
4701
+ y && j(t), w && w.d(), f = !1, Y(c);
4679
4702
  }
4680
4703
  };
4681
4704
  }
4682
- function uo(e) {
4705
+ function co(e) {
4683
4706
  let t;
4684
4707
  function r(o, s) {
4685
4708
  if (
4686
4709
  /*hasErrors*/
4687
4710
  o[10]
4688
- ) return io;
4711
+ ) return so;
4689
4712
  if (!/*isLoading*/
4690
- o[9]) return no;
4713
+ o[9]) return oo;
4691
4714
  }
4692
4715
  let n = r(e), i = n && n(e);
4693
4716
  return {
@@ -4695,117 +4718,103 @@ function uo(e) {
4695
4718
  t = F("div"), i && i.c();
4696
4719
  },
4697
4720
  m(o, s) {
4698
- X(o, t, s), i && i.m(t, null), e[26](t);
4721
+ W(o, t, s), i && i.m(t, null), e[27](t);
4699
4722
  },
4700
4723
  p(o, s) {
4701
4724
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4702
4725
  },
4703
- i: G,
4704
- o: G,
4726
+ i: k,
4727
+ o: k,
4705
4728
  d(o) {
4706
- o && k(t), i && i.d(), e[26](null);
4729
+ o && j(t), i && i.d(), e[27](null);
4707
4730
  }
4708
4731
  };
4709
4732
  }
4710
- function ho(e, t, r) {
4733
+ function fo(e, t, r) {
4711
4734
  let n;
4712
- Br(e, Yi, (f) => r(11, n = f));
4713
- 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, b = !1, _ = window.navigator.userAgent, T = [], v = [], H = {}, E = !1, N = 0, L = !0, O, P = !1;
4714
- to({ withLocale: "en", translations: {} });
4715
- const I = () => {
4716
- fetch(a).then((d) => d.json()).then((d) => {
4717
- Object.keys(d).forEach((C) => {
4718
- kt(C, d[C]);
4719
- });
4720
- }).catch((d) => {
4721
- console.log(d);
4722
- });
4723
- };
4724
- Object.keys(jt).forEach((f) => {
4725
- kt(f, jt[f]);
4726
- });
4735
+ Cr(e, qi, (d) => r(11, n = d));
4736
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: f = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: v } = t, g = !1, P = window.navigator.userAgent, w = [], y = [], x = {}, L = !1, N = 0, R = !0, S, O = !1;
4737
+ no({ withLocale: "en", translations: {} });
4727
4738
  const M = () => {
4728
- let f = document.createElement("style");
4729
- f.innerHTML = h, O.appendChild(f);
4730
- }, W = () => {
4731
- let f = document.createElement("style");
4732
- fetch(new URL(l)).then((d) => d.text()).then((d) => {
4733
- f.innerHTML = d, setTimeout(
4734
- () => {
4735
- O.appendChild(f);
4736
- },
4737
- 1
4738
- );
4739
+ fetch(a).then((H) => H.json()).then((H) => {
4740
+ Object.keys(H).forEach((b) => {
4741
+ Gt(b, H[b]);
4742
+ });
4743
+ }).catch((H) => {
4744
+ console.log(H);
4739
4745
  });
4740
4746
  };
4741
- H[u] && (H = { [u]: [] });
4742
- const j = () => {
4743
- r(4, b = !b), window.postMessage({ type: "FilterOpened" }, window.location.href);
4744
- }, ne = (f) => (r(9, L = !0), new Promise((d, C) => {
4745
- fetch(f).then((A) => A.json()).then((A) => {
4746
- A = A.items, d(A.items), r(6, v = []);
4747
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4748
- A.forEach((Ce) => {
4749
- le || (le = { currentCategoryId: [] }), le[u]?.indexOf(Ce.id) >= 0 ? (Ce.isFilterSelected = !0, v.push(Ce)) : Ce.isFilterSelected = !1;
4750
- }), r(5, T = A), K();
4751
- }).catch((A) => {
4752
- console.error(A), r(10, P = !0), C(A);
4747
+ Object.keys(kt).forEach((d) => {
4748
+ Gt(d, kt[d]);
4749
+ }), x[u] && (x = { [u]: [] });
4750
+ const V = () => {
4751
+ r(4, g = !g), window.postMessage({ type: "FilterOpened" }, window.location.href);
4752
+ }, z = (d) => (r(9, R = !0), new Promise((H, b) => {
4753
+ fetch(d).then((C) => C.json()).then((C) => {
4754
+ C = C.items, H(C.items), r(6, y = []);
4755
+ let I = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4756
+ C.forEach((re) => {
4757
+ I || (I = { currentCategoryId: [] }), I[u]?.indexOf(re.id) >= 0 ? (re.isFilterSelected = !0, y.push(re)) : re.isFilterSelected = !1;
4758
+ }), r(5, w = C), oe();
4759
+ }).catch((C) => {
4760
+ console.error(C), r(10, O = !0), b(C);
4753
4761
  }).finally(() => {
4754
- r(9, L = !1);
4762
+ r(9, R = !1);
4755
4763
  });
4756
- })), ie = (f) => {
4757
- let d = localStorage.getItem("vendorFiltersByCategory");
4758
- f.isFilterSelected = !f.isFilterSelected, !v.length || v.filter((C) => C.name === f.name).length == 0 ? v.push(f) : r(6, v = v.filter((C) => C.name !== f.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4759
- [u]: v.map((C) => C.id)
4760
- })) : (d = JSON.parse(d), d[u] = v.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4761
- }, K = () => {
4762
- r(7, E = v.length === T.length || v.length == 0), r(8, N = v.length);
4764
+ })), K = (d) => {
4765
+ let H = localStorage.getItem("vendorFiltersByCategory");
4766
+ d.isFilterSelected = !d.isFilterSelected, !y.length || y.filter((b) => b.name === d.name).length == 0 ? y.push(d) : r(6, y = y.filter((b) => b.name !== d.name)), H == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4767
+ [u]: y.map((b) => b.id)
4768
+ })) : (H = JSON.parse(H), H[u] = y.map((b) => b.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), oe();
4763
4769
  }, oe = () => {
4764
- const f = new URL(`${i}/v1/casino/vendors`);
4765
- r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", eo(_)), (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})`), ne(f);
4770
+ r(7, L = y.length === w.length || y.length == 0), r(8, N = y.length);
4771
+ }, se = () => {
4772
+ const d = new URL(`${i}/v1/casino/vendors`);
4773
+ r(4, g = !1), d.searchParams.append("fields", "id,name,logo,subVendors,games"), d.searchParams.append("language", s), d.searchParams.append("datasource", o), d.searchParams.append("platform", Ki(P)), (u.match(/\$/g) || []).length > 1 ? (d.searchParams.append("filter", `games(subGroups=${u})`), d.searchParams.append("subVendors", `games(subGroups=${u})`)) : d.searchParams.append("filter", `games(groups=${u})`), z(d);
4766
4774
  }, ee = () => {
4767
- r(6, v = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4768
- [u]: v.map((f) => f.id)
4769
- })), T.forEach((f) => f.isFilterSelected = !1), r(5, T), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, E = !0), r(4, b = !1);
4770
- }, se = (f) => {
4771
- f.data.type == "SortingOpened" && r(4, b = !1);
4775
+ r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4776
+ [u]: y.map((d) => d.id)
4777
+ })), w.forEach((d) => d.isFilterSelected = !1), r(5, w), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, g = !1);
4778
+ }, te = (d) => {
4779
+ d.data.type == "SortingOpened" && r(4, g = !1);
4772
4780
  };
4773
- Dr(() => (window.addEventListener("message", se, !1), () => {
4774
- window.removeEventListener("message", se);
4781
+ Dr(() => (window.addEventListener("message", te, !1), () => {
4782
+ window.removeEventListener("message", te);
4775
4783
  }));
4776
- const Ae = () => j();
4777
- function Pe(f, d) {
4778
- f[d].isFilterSelected = this.checked, r(5, T);
4784
+ const _e = () => V();
4785
+ function Ae(d, H) {
4786
+ d[H].isFilterSelected = this.checked, r(5, w);
4779
4787
  }
4780
- const ae = (f) => ie(f), $ = () => ee();
4781
- function J(f) {
4782
- Ye[f ? "unshift" : "push"](() => {
4783
- O = f, r(3, O);
4788
+ const Pe = (d) => K(d), ae = () => ee();
4789
+ function $(d) {
4790
+ qe[d ? "unshift" : "push"](() => {
4791
+ S = d, r(3, S);
4784
4792
  });
4785
4793
  }
4786
- return e.$$set = (f) => {
4787
- "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);
4794
+ return e.$$set = (d) => {
4795
+ "endpoint" in d && r(15, i = d.endpoint), "datasource" in d && r(16, o = d.datasource), "lang" in d && r(17, s = d.lang), "translationurl" in d && r(18, a = d.translationurl), "clientstyling" in d && r(19, h = d.clientstyling), "clientstylingurl" in d && r(20, l = d.clientstylingurl), "categoryid" in d && r(21, u = d.categoryid), "addfilterselector" in d && r(0, f = d.addfilterselector), "addsortingselector" in d && r(1, c = d.addsortingselector), "filterbylogo" in d && r(2, p = d.filterbylogo), "mbsource" in d && r(22, v = d.mbsource);
4788
4796
  }, e.$$.update = () => {
4789
4797
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4790
- 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4791
- 524296 && h && O && M(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4792
- 1048584 && l && O && W(), e.$$.dirty[0] & /*translationurl*/
4793
- 262144 && a && I();
4798
+ 2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4799
+ 524296 && h && S && eo(S, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4800
+ 1048584 && l && S && to(S, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4801
+ 4194312 && S && ro(S, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4802
+ 262144 && a && M();
4794
4803
  }, [
4795
- p,
4804
+ f,
4796
4805
  c,
4797
- m,
4798
- O,
4799
- b,
4800
- T,
4801
- v,
4802
- E,
4803
- N,
4806
+ p,
4807
+ S,
4808
+ g,
4809
+ w,
4810
+ y,
4804
4811
  L,
4805
- P,
4812
+ N,
4813
+ R,
4814
+ O,
4806
4815
  n,
4807
- j,
4808
- ie,
4816
+ V,
4817
+ K,
4809
4818
  ee,
4810
4819
  i,
4811
4820
  o,
@@ -4814,21 +4823,22 @@ function ho(e, t, r) {
4814
4823
  h,
4815
4824
  l,
4816
4825
  u,
4826
+ v,
4827
+ _e,
4817
4828
  Ae,
4818
4829
  Pe,
4819
4830
  ae,
4820
- $,
4821
- J
4831
+ $
4822
4832
  ];
4823
4833
  }
4824
- class Cr extends Zr {
4834
+ class Pr extends zr {
4825
4835
  constructor(t) {
4826
- super(), Wr(
4836
+ super(), Xr(
4827
4837
  this,
4828
4838
  t,
4829
- ho,
4830
- uo,
4831
- zt,
4839
+ fo,
4840
+ co,
4841
+ Wt,
4832
4842
  {
4833
4843
  endpoint: 15,
4834
4844
  datasource: 16,
@@ -4839,9 +4849,10 @@ class Cr extends Zr {
4839
4849
  categoryid: 21,
4840
4850
  addfilterselector: 0,
4841
4851
  addsortingselector: 1,
4842
- filterbylogo: 2
4852
+ filterbylogo: 2,
4853
+ mbsource: 22
4843
4854
  },
4844
- ro,
4855
+ io,
4845
4856
  [-1, -1]
4846
4857
  );
4847
4858
  }
@@ -4849,105 +4860,114 @@ class Cr extends Zr {
4849
4860
  return this.$$.ctx[15];
4850
4861
  }
4851
4862
  set endpoint(t) {
4852
- this.$$set({ endpoint: t }), D();
4863
+ this.$$set({ endpoint: t }), U();
4853
4864
  }
4854
4865
  get datasource() {
4855
4866
  return this.$$.ctx[16];
4856
4867
  }
4857
4868
  set datasource(t) {
4858
- this.$$set({ datasource: t }), D();
4869
+ this.$$set({ datasource: t }), U();
4859
4870
  }
4860
4871
  get lang() {
4861
4872
  return this.$$.ctx[17];
4862
4873
  }
4863
4874
  set lang(t) {
4864
- this.$$set({ lang: t }), D();
4875
+ this.$$set({ lang: t }), U();
4865
4876
  }
4866
4877
  get translationurl() {
4867
4878
  return this.$$.ctx[18];
4868
4879
  }
4869
4880
  set translationurl(t) {
4870
- this.$$set({ translationurl: t }), D();
4881
+ this.$$set({ translationurl: t }), U();
4871
4882
  }
4872
4883
  get clientstyling() {
4873
4884
  return this.$$.ctx[19];
4874
4885
  }
4875
4886
  set clientstyling(t) {
4876
- this.$$set({ clientstyling: t }), D();
4887
+ this.$$set({ clientstyling: t }), U();
4877
4888
  }
4878
4889
  get clientstylingurl() {
4879
4890
  return this.$$.ctx[20];
4880
4891
  }
4881
4892
  set clientstylingurl(t) {
4882
- this.$$set({ clientstylingurl: t }), D();
4893
+ this.$$set({ clientstylingurl: t }), U();
4883
4894
  }
4884
4895
  get categoryid() {
4885
4896
  return this.$$.ctx[21];
4886
4897
  }
4887
4898
  set categoryid(t) {
4888
- this.$$set({ categoryid: t }), D();
4899
+ this.$$set({ categoryid: t }), U();
4889
4900
  }
4890
4901
  get addfilterselector() {
4891
4902
  return this.$$.ctx[0];
4892
4903
  }
4893
4904
  set addfilterselector(t) {
4894
- this.$$set({ addfilterselector: t }), D();
4905
+ this.$$set({ addfilterselector: t }), U();
4895
4906
  }
4896
4907
  get addsortingselector() {
4897
4908
  return this.$$.ctx[1];
4898
4909
  }
4899
4910
  set addsortingselector(t) {
4900
- this.$$set({ addsortingselector: t }), D();
4911
+ this.$$set({ addsortingselector: t }), U();
4901
4912
  }
4902
4913
  get filterbylogo() {
4903
4914
  return this.$$.ctx[2];
4904
4915
  }
4905
4916
  set filterbylogo(t) {
4906
- this.$$set({ filterbylogo: t }), D();
4917
+ this.$$set({ filterbylogo: t }), U();
4918
+ }
4919
+ get mbsource() {
4920
+ return this.$$.ctx[22];
4921
+ }
4922
+ set mbsource(t) {
4923
+ this.$$set({ mbsource: t }), U();
4907
4924
  }
4908
4925
  }
4909
- zr(Cr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4910
- const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4926
+ Wr(Pr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
4927
+ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4911
4928
  __proto__: null,
4912
- default: Cr
4929
+ default: Pr
4913
4930
  }, Symbol.toStringTag, { value: "Module" }));
4914
4931
  export {
4915
- te as $,
4932
+ ne as $,
4916
4933
  Ee as A,
4917
- zr as B,
4918
- Yi as C,
4919
- yo as D,
4920
- vo as E,
4921
- fo as F,
4922
- go as G,
4923
- mo as H,
4924
- ye as I,
4925
- _o as J,
4926
- Zr as S,
4927
- Sr as a,
4928
- Or as b,
4929
- vt as c,
4930
- k as d,
4931
- g as e,
4932
- D as f,
4934
+ eo as B,
4935
+ to as C,
4936
+ ro as D,
4937
+ Wr as E,
4938
+ qi as F,
4939
+ xo as G,
4940
+ go as H,
4941
+ _o as I,
4942
+ mo as J,
4943
+ yo as K,
4944
+ ve as L,
4945
+ Eo as M,
4946
+ zr as S,
4947
+ wr as a,
4948
+ Br as b,
4949
+ gt as c,
4950
+ j as d,
4951
+ m as e,
4952
+ U as f,
4933
4953
  q as g,
4934
- X as h,
4935
- Wr as i,
4936
- y as j,
4954
+ W as h,
4955
+ Xr as i,
4956
+ _ as j,
4937
4957
  F as k,
4938
- V as l,
4939
- U as m,
4940
- G as n,
4941
- Br as o,
4958
+ X as l,
4959
+ G as m,
4960
+ k as n,
4961
+ Cr as o,
4942
4962
  Dr as p,
4943
- Re as q,
4944
- co as r,
4945
- zt as s,
4946
- po as t,
4947
- Ki as u,
4948
- eo as v,
4949
- Ye as w,
4950
- xt as x,
4951
- Nr as y,
4952
- bo as z
4963
+ Me as q,
4964
+ po as r,
4965
+ Wt as s,
4966
+ bo as t,
4967
+ Yi as u,
4968
+ Ki as v,
4969
+ qe as w,
4970
+ _t as x,
4971
+ Lr as y,
4972
+ vo as z
4953
4973
  };