@everymatrix/casino-last-played-section 1.74.3 → 1.74.5

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