@everymatrix/casino-most-played-section-nd 1.87.26 → 1.87.27

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 (30) hide show
  1. package/components/CasinoFilter-B3Jn-BGq.js +644 -0
  2. package/components/CasinoFilter-BEyLlRri.cjs +1 -0
  3. package/components/CasinoFilter-DHFpP9Nw.js +645 -0
  4. package/components/CasinoGameThumbnailNd-6hEd1R_n.js +1825 -0
  5. package/components/CasinoGameThumbnailNd-B9zeewBP.js +1841 -0
  6. package/components/CasinoGameThumbnailNd-BDVWXyiG.cjs +30 -0
  7. package/components/CasinoGamesCategorySectionNd-CE7LUO4f.js +4644 -0
  8. package/components/CasinoGamesCategorySectionNd-CXtV0EVC.cjs +1 -0
  9. package/components/CasinoGamesCategorySectionNd-DZ6vhOEX.js +4611 -0
  10. package/components/{CasinoFilter-Bewb2r1U.js → CasinoMostPlayedSectionNd-17r_oGlU.js} +1557 -1552
  11. package/components/{CasinoFilter-CfmNpR8n.js → CasinoMostPlayedSectionNd-BMYPzThn.js} +1634 -1625
  12. package/components/CasinoMostPlayedSectionNd-UwJ5kO22.cjs +18 -0
  13. package/components/{CasinoSort-Ble7RivW.js → CasinoSort-BE66A0EH.js} +99 -99
  14. package/components/CasinoSort-BjC9YIs-.cjs +1 -0
  15. package/components/{CasinoSort-mUx2YtqU.js → CasinoSort-WtLQQNgQ.js} +116 -116
  16. package/es2015/casino-most-played-section-nd.cjs +1 -1
  17. package/es2015/casino-most-played-section-nd.js +7 -7
  18. package/esnext/casino-most-played-section-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFilter-kyZEUL_7.cjs +0 -18
  21. package/components/CasinoGameThumbnailNd-BAsnH482.js +0 -3105
  22. package/components/CasinoGameThumbnailNd-BaaPJqHS.js +0 -3121
  23. package/components/CasinoGameThumbnailNd-BopLHbng.cjs +0 -30
  24. package/components/CasinoGamesCategorySectionNd-DfS_g-xr.js +0 -3370
  25. package/components/CasinoGamesCategorySectionNd-DiLjvbFK.cjs +0 -1
  26. package/components/CasinoGamesCategorySectionNd-DitreXUz.js +0 -3337
  27. package/components/CasinoMostPlayedSectionNd-CG9awB8W.js +0 -620
  28. package/components/CasinoMostPlayedSectionNd-Ch-W0Ug-.js +0 -620
  29. package/components/CasinoMostPlayedSectionNd-LT8G9T2M.cjs +0 -1
  30. package/components/CasinoSort-VNKspKX0.cjs +0 -1
@@ -1,50 +1,50 @@
1
- function G() {
1
+ function M() {
2
2
  }
3
- function qt(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function Et() {
6
+ function dt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function q(e) {
10
- e.forEach(qt);
9
+ function te(e) {
10
+ e.forEach(Rt);
11
11
  }
12
- function vt(e) {
12
+ function ot(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Yt(e, t) {
15
+ function Gt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Fe;
19
- function wt(e, t) {
20
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
18
+ let ge;
19
+ function ms(e, t) {
20
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
21
21
  }
22
- function Rr(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Kt(e, ...t) {
25
+ function Ut(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return G;
29
+ return M;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(Kt(t, r));
34
+ function Ar(e, t, r) {
35
+ e.$$.on_destroy.push(Ut(t, r));
36
36
  }
37
- function _(e, t) {
37
+ function at(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Ur(e, t, r) {
41
- const n = Dr(e);
40
+ function Br(e, t, r) {
41
+ const n = Or(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = B("style");
44
- i.id = t, i.textContent = r, Gr(n, i);
43
+ const i = j("style");
44
+ i.id = t, i.textContent = r, Nr(n, i);
45
45
  }
46
46
  }
47
- function Dr(e) {
47
+ function Or(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,65 +54,65 @@ function Dr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Gr(e, t) {
58
- return _(
57
+ function Nr(e, t) {
58
+ return at(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function W(e, t, r) {
64
+ function me(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function k(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function kr(e, t) {
70
+ function ds(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 B(e) {
74
+ function j(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function xe(e) {
77
+ function Cr(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function D(e) {
80
+ function ut(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function V() {
84
- return D(" ");
83
+ function ps() {
84
+ return ut(" ");
85
85
  }
86
- function xo() {
87
- return D("");
86
+ function bs() {
87
+ return ut("");
88
88
  }
89
- function Re(e, t, r, n) {
89
+ function gs(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 he(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function Eo(e, t, r) {
95
+ function p(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 : he(e, t, r);
98
98
  }
99
- function jr(e) {
99
+ function Lr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function te(e, t) {
102
+ function Ir(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function St(e, t) {
106
+ function ys(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function wo(e, t, r, n) {
109
+ function vs(e, t, r, n) {
110
110
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
- function So(e, t, r) {
112
+ function _s(e, t, r) {
113
113
  e.classList.toggle(t, !!r);
114
114
  }
115
- class To {
115
+ class Es {
116
116
  /**
117
117
  * @private
118
118
  * @default false
@@ -143,10 +143,10 @@ class To {
143
143
  * @returns {void}
144
144
  */
145
145
  m(t, r, n = null) {
146
- this.e || (this.is_svg ? this.e = xe(
146
+ this.e || (this.is_svg ? this.e = Cr(
147
147
  /** @type {keyof SVGElementTagNameMap} */
148
148
  r.nodeName
149
- ) : this.e = B(
149
+ ) : this.e = j(
150
150
  /** @type {keyof HTMLElementTagNameMap} */
151
151
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
152
152
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -167,7 +167,7 @@ class To {
167
167
  * @returns {void} */
168
168
  i(t) {
169
169
  for (let r = 0; r < this.n.length; r += 1)
170
- W(this.t, this.n[r], t);
170
+ me(this.t, this.n[r], t);
171
171
  }
172
172
  /**
173
173
  * @param {string} html
@@ -179,10 +179,10 @@ class To {
179
179
  /**
180
180
  * @returns {void} */
181
181
  d() {
182
- this.n.forEach(k);
182
+ this.n.forEach(re);
183
183
  }
184
184
  }
185
- function Vr(e) {
185
+ function Mr(e) {
186
186
  const t = {};
187
187
  return e.childNodes.forEach(
188
188
  /** @param {Element} node */
@@ -191,134 +191,134 @@ function Vr(e) {
191
191
  }
192
192
  ), t;
193
193
  }
194
- let we;
195
- function Ee(e) {
196
- we = e;
194
+ let le;
195
+ function ue(e) {
196
+ le = e;
197
197
  }
198
- function er() {
199
- if (!we)
198
+ function $t() {
199
+ if (!le)
200
200
  throw new Error("Function called outside component initialization");
201
- return we;
201
+ return le;
202
202
  }
203
- function Xr(e) {
204
- er().$$.on_mount.push(e);
203
+ function Rr(e) {
204
+ $t().$$.on_mount.push(e);
205
205
  }
206
- function Ho(e) {
207
- er().$$.on_destroy.push(e);
206
+ function xs(e) {
207
+ $t().$$.on_destroy.push(e);
208
208
  }
209
- const ce = [], tt = [];
210
- let fe = [];
211
- const Tt = [], tr = /* @__PURE__ */ Promise.resolve();
212
- let rt = !1;
213
- function rr() {
214
- rt || (rt = !0, tr.then($));
209
+ const Z = [], je = [];
210
+ let J = [];
211
+ const pt = [], Dt = /* @__PURE__ */ Promise.resolve();
212
+ let ke = !1;
213
+ function Ft() {
214
+ ke || (ke = !0, Dt.then(S));
215
215
  }
216
- function Ao() {
217
- return rr(), tr;
216
+ function Ss() {
217
+ return Ft(), Dt;
218
218
  }
219
- function nt(e) {
220
- fe.push(e);
219
+ function Ve(e) {
220
+ J.push(e);
221
221
  }
222
- const ze = /* @__PURE__ */ new Set();
223
- let ue = 0;
224
- function $() {
225
- if (ue !== 0)
222
+ const Ie = /* @__PURE__ */ new Set();
223
+ let W = 0;
224
+ function S() {
225
+ if (W !== 0)
226
226
  return;
227
- const e = we;
227
+ const e = le;
228
228
  do {
229
229
  try {
230
- for (; ue < ce.length; ) {
231
- const t = ce[ue];
232
- ue++, Ee(t), Wr(t.$$);
230
+ for (; W < Z.length; ) {
231
+ const t = Z[W];
232
+ W++, ue(t), Gr(t.$$);
233
233
  }
234
234
  } catch (t) {
235
- throw ce.length = 0, ue = 0, t;
235
+ throw Z.length = 0, W = 0, t;
236
236
  }
237
- for (Ee(null), ce.length = 0, ue = 0; tt.length; )
238
- tt.pop()();
239
- for (let t = 0; t < fe.length; t += 1) {
240
- const r = fe[t];
241
- ze.has(r) || (ze.add(r), r());
237
+ for (ue(null), Z.length = 0, W = 0; je.length; )
238
+ je.pop()();
239
+ for (let t = 0; t < J.length; t += 1) {
240
+ const r = J[t];
241
+ Ie.has(r) || (Ie.add(r), r());
242
242
  }
243
- fe.length = 0;
244
- } while (ce.length);
245
- for (; Tt.length; )
246
- Tt.pop()();
247
- rt = !1, ze.clear(), Ee(e);
243
+ J.length = 0;
244
+ } while (Z.length);
245
+ for (; pt.length; )
246
+ pt.pop()();
247
+ ke = !1, Ie.clear(), ue(e);
248
248
  }
249
- function Wr(e) {
249
+ function Gr(e) {
250
250
  if (e.fragment !== null) {
251
- e.update(), q(e.before_update);
251
+ e.update(), te(e.before_update);
252
252
  const t = e.dirty;
253
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
253
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
254
254
  }
255
255
  }
256
- function zr(e) {
256
+ function Ur(e) {
257
257
  const t = [], r = [];
258
- fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
258
+ J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
259
259
  }
260
- const Zr = /* @__PURE__ */ new Set();
261
- function nr(e, t) {
262
- e && e.i && (Zr.delete(e), e.i(t));
260
+ const $r = /* @__PURE__ */ new Set();
261
+ function jt(e, t) {
262
+ e && e.i && ($r.delete(e), e.i(t));
263
263
  }
264
- function Ht(e) {
264
+ function ws(e) {
265
265
  return e?.length !== void 0 ? e : Array.from(e);
266
266
  }
267
- function Po(e, t) {
267
+ function Ts(e, t) {
268
268
  e.d(1), t.delete(e.key);
269
269
  }
270
- function Bo(e, t, r, n, i, o, s, a, h, l, u, p) {
271
- let c = e.length, m = o.length, v = c;
272
- const y = {};
273
- for (; v--; )
274
- y[e[v].key] = v;
275
- const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
276
- for (v = m; v--; ) {
277
- const A = p(i, o, v), P = r(A);
278
- let N = s.get(P);
279
- N ? b.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, T[v] = N), P in y && S.set(P, Math.abs(v - y[P]));
270
+ function Hs(e, t, r, n, i, s, o, a, h, u, l, m) {
271
+ let c = e.length, d = s.length, b = c;
272
+ const v = {};
273
+ for (; b--; )
274
+ v[e[b].key] = b;
275
+ const T = [], C = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), H = [];
276
+ for (b = d; b--; ) {
277
+ const _ = m(i, s, b), N = r(_);
278
+ let I = o.get(N);
279
+ I ? H.push(() => I.p(_, t)) : (I = u(N, _), I.c()), C.set(N, T[b] = I), N in v && A.set(N, Math.abs(b - v[N]));
280
280
  }
281
- const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
282
- function M(A) {
283
- nr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
281
+ const B = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
282
+ function L(_) {
283
+ jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
284
284
  }
285
- for (; c && m; ) {
286
- const A = T[m - 1], P = e[c - 1], N = A.key, z = P.key;
287
- A === P ? (u = A.first, c--, m--) : H.has(z) ? !s.has(N) || I.has(N) ? M(A) : L.has(z) ? c-- : S.get(N) > S.get(z) ? (L.add(N), M(A)) : (I.add(z), c--) : (h(P, s), c--);
285
+ for (; c && d; ) {
286
+ const _ = T[d - 1], N = e[c - 1], I = _.key, V = N.key;
287
+ _ === N ? (l = _.first, c--, d--) : C.has(V) ? !o.has(I) || B.has(I) ? L(_) : O.has(V) ? c-- : A.get(I) > A.get(V) ? (O.add(I), L(_)) : (B.add(V), c--) : (h(N, o), c--);
288
288
  }
289
289
  for (; c--; ) {
290
- const A = e[c];
291
- H.has(A.key) || h(A, s);
290
+ const _ = e[c];
291
+ C.has(_.key) || h(_, o);
292
292
  }
293
- for (; m; )
294
- M(T[m - 1]);
295
- return q(b), T;
293
+ for (; d; )
294
+ L(T[d - 1]);
295
+ return te(H), T;
296
296
  }
297
- function Jr(e, t, r) {
297
+ function Dr(e, t, r) {
298
298
  const { fragment: n, after_update: i } = e.$$;
299
- n && n.m(t, r), nt(() => {
300
- const o = e.$$.on_mount.map(qt).filter(vt);
301
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
302
- }), i.forEach(nt);
299
+ n && n.m(t, r), Ve(() => {
300
+ const s = e.$$.on_mount.map(Rt).filter(ot);
301
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
302
+ }), i.forEach(Ve);
303
303
  }
304
- function Qr(e, t) {
304
+ function Fr(e, t) {
305
305
  const r = e.$$;
306
- r.fragment !== null && (zr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
306
+ r.fragment !== null && (Ur(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
307
307
  }
308
- function qr(e, t) {
309
- e.$$.dirty[0] === -1 && (ce.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
308
+ function jr(e, t) {
309
+ e.$$.dirty[0] === -1 && (Z.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
310
310
  }
311
- function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
312
- const h = we;
313
- Ee(e);
314
- const l = e.$$ = {
311
+ function kr(e, t, r, n, i, s, o = null, a = [-1]) {
312
+ const h = le;
313
+ ue(e);
314
+ const u = e.$$ = {
315
315
  fragment: null,
316
316
  ctx: [],
317
317
  // state
318
- props: o,
319
- update: G,
318
+ props: s,
319
+ update: M,
320
320
  not_equal: i,
321
- bound: Et(),
321
+ bound: dt(),
322
322
  // lifecycle
323
323
  on_mount: [],
324
324
  on_destroy: [],
@@ -327,28 +327,28 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
327
327
  after_update: [],
328
328
  context: new Map(t.context || (h ? h.$$.context : [])),
329
329
  // everything else
330
- callbacks: Et(),
330
+ callbacks: dt(),
331
331
  dirty: a,
332
332
  skip_bound: !1,
333
333
  root: t.target || h.$$.root
334
334
  };
335
- s && s(l.root);
336
- let u = !1;
337
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
338
- const v = m.length ? m[0] : c;
339
- return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), u && qr(e, p)), c;
340
- }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
335
+ o && o(u.root);
336
+ let l = !1;
337
+ if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
338
+ const b = d.length ? d[0] : c;
339
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && jr(e, m)), c;
340
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
341
341
  if (t.hydrate) {
342
- const p = jr(t.target);
343
- l.fragment && l.fragment.l(p), p.forEach(k);
342
+ const m = Lr(t.target);
343
+ u.fragment && u.fragment.l(m), m.forEach(re);
344
344
  } else
345
- l.fragment && l.fragment.c();
346
- t.intro && nr(e.$$.fragment), Jr(e, t.target, t.anchor), $();
345
+ u.fragment && u.fragment.c();
346
+ t.intro && jt(e.$$.fragment), Dr(e, t.target, t.anchor), S();
347
347
  }
348
- Ee(h);
348
+ ue(h);
349
349
  }
350
- let ir;
351
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
350
+ let kt;
351
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
352
352
  /** The Svelte component constructor */
353
353
  $$ctor;
354
354
  /** Slots */
@@ -387,32 +387,32 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
387
387
  if (this.$$cn = !0, !this.$$c) {
388
388
  let e = function(i) {
389
389
  return () => {
390
- let o;
390
+ let s;
391
391
  return {
392
392
  c: function() {
393
- o = B("slot"), i !== "default" && g(o, "name", i);
393
+ s = j("slot"), i !== "default" && he(s, "name", i);
394
394
  },
395
395
  /**
396
396
  * @param {HTMLElement} target
397
397
  * @param {HTMLElement} [anchor]
398
398
  */
399
- m: function(h, l) {
400
- W(h, o, l);
399
+ m: function(h, u) {
400
+ me(h, s, u);
401
401
  },
402
402
  d: function(h) {
403
- h && k(o);
403
+ h && re(s);
404
404
  }
405
405
  };
406
406
  };
407
407
  };
408
408
  if (await Promise.resolve(), !this.$$cn || this.$$c)
409
409
  return;
410
- const t = {}, r = Vr(this);
410
+ const t = {}, r = Mr(this);
411
411
  for (const i of this.$$s)
412
412
  i in r && (t[i] = [e(i)]);
413
413
  for (const i of this.attributes) {
414
- const o = this.$$g_p(i.name);
415
- o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
414
+ const s = this.$$g_p(i.name);
415
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
416
416
  }
417
417
  for (const i in this.$$p_d)
418
418
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -430,21 +430,21 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
430
430
  this.$$r = !0;
431
431
  for (const i in this.$$p_d)
432
432
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
433
- const o = Ie(
433
+ const s = _e(
434
434
  i,
435
435
  this.$$d[i],
436
436
  this.$$p_d,
437
437
  "toAttribute"
438
438
  );
439
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
439
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
440
440
  }
441
441
  this.$$r = !1;
442
442
  };
443
443
  this.$$c.$$.after_update.push(n), n();
444
444
  for (const i in this.$$l)
445
- for (const o of this.$$l[i]) {
446
- const s = this.$$c.$on(i, o);
447
- this.$$l_u.set(o, s);
445
+ for (const s of this.$$l[i]) {
446
+ const o = this.$$c.$on(i, s);
447
+ this.$$l_u.set(s, o);
448
448
  }
449
449
  this.$$l = {};
450
450
  }
@@ -452,7 +452,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
452
452
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
453
453
  // and setting attributes through setAttribute etc, this is helpful
454
454
  attributeChangedCallback(e, t, r) {
455
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
455
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
456
456
  }
457
457
  disconnectedCallback() {
458
458
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -465,7 +465,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
465
465
  ) || e;
466
466
  }
467
467
  });
468
- function Ie(e, t, r, n) {
468
+ function _e(e, t, r, n) {
469
469
  const i = r[e]?.type;
470
470
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
471
471
  return t;
@@ -494,8 +494,8 @@ function Ie(e, t, r, n) {
494
494
  return t;
495
495
  }
496
496
  }
497
- function Kr(e, t, r, n, i, o) {
498
- let s = class extends ir {
497
+ function Vr(e, t, r, n, i, s) {
498
+ let o = class extends kt {
499
499
  constructor() {
500
500
  super(e, r, i), this.$$p_d = t;
501
501
  }
@@ -506,24 +506,24 @@ function Kr(e, t, r, n, i, o) {
506
506
  }
507
507
  };
508
508
  return Object.keys(t).forEach((a) => {
509
- Object.defineProperty(s.prototype, a, {
509
+ Object.defineProperty(o.prototype, a, {
510
510
  get() {
511
511
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
512
512
  },
513
513
  set(h) {
514
- h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
514
+ h = _e(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
515
515
  }
516
516
  });
517
517
  }), n.forEach((a) => {
518
- Object.defineProperty(s.prototype, a, {
518
+ Object.defineProperty(o.prototype, a, {
519
519
  get() {
520
520
  return this.$$c?.[a];
521
521
  }
522
522
  });
523
523
  }), e.element = /** @type {any} */
524
- s, s;
524
+ o, o;
525
525
  }
526
- class en {
526
+ class Xr {
527
527
  /**
528
528
  * ### PRIVATE API
529
529
  *
@@ -542,7 +542,7 @@ class en {
542
542
  $$set = void 0;
543
543
  /** @returns {void} */
544
544
  $destroy() {
545
- Qr(this, 1), this.$destroy = G;
545
+ Fr(this, 1), this.$destroy = M;
546
546
  }
547
547
  /**
548
548
  * @template {Extract<keyof Events, string>} K
@@ -551,8 +551,8 @@ class en {
551
551
  * @returns {() => void}
552
552
  */
553
553
  $on(t, r) {
554
- if (!vt(r))
555
- return G;
554
+ if (!ot(r))
555
+ return M;
556
556
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
557
557
  return n.push(r), () => {
558
558
  const i = n.indexOf(r);
@@ -564,11 +564,11 @@ class en {
564
564
  * @returns {void}
565
565
  */
566
566
  $set(t) {
567
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
567
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
568
568
  }
569
569
  }
570
- const tn = "4";
571
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
570
+ const Wr = "4";
571
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
572
572
  /*! *****************************************************************************
573
573
  Copyright (c) Microsoft Corporation.
574
574
 
@@ -583,24 +583,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
583
583
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
584
584
  PERFORMANCE OF THIS SOFTWARE.
585
585
  ***************************************************************************** */
586
- var it = function(e, t) {
587
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
586
+ var Xe = function(e, t) {
587
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
588
588
  r.__proto__ = n;
589
589
  } || function(r, n) {
590
590
  for (var i in n)
591
591
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
592
- }, it(e, t);
592
+ }, Xe(e, t);
593
593
  };
594
- function He(e, t) {
594
+ function de(e, t) {
595
595
  if (typeof t != "function" && t !== null)
596
596
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
597
- it(e, t);
597
+ Xe(e, t);
598
598
  function r() {
599
599
  this.constructor = e;
600
600
  }
601
601
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
602
602
  }
603
- function ot(e) {
603
+ function We(e) {
604
604
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
605
605
  if (r)
606
606
  return r.call(e);
@@ -612,42 +612,42 @@ function ot(e) {
612
612
  };
613
613
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
614
614
  }
615
- function st(e, t) {
615
+ function ze(e, t) {
616
616
  var r = typeof Symbol == "function" && e[Symbol.iterator];
617
617
  if (!r)
618
618
  return e;
619
- var n = r.call(e), i, o = [], s;
619
+ var n = r.call(e), i, s = [], o;
620
620
  try {
621
621
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
622
- o.push(i.value);
622
+ s.push(i.value);
623
623
  } catch (a) {
624
- s = { error: a };
624
+ o = { error: a };
625
625
  } finally {
626
626
  try {
627
627
  i && !i.done && (r = n.return) && r.call(n);
628
628
  } finally {
629
- if (s)
630
- throw s.error;
629
+ if (o)
630
+ throw o.error;
631
631
  }
632
632
  }
633
- return o;
633
+ return s;
634
634
  }
635
- function at(e, t, r) {
635
+ function Ze(e, t, r) {
636
636
  if (arguments.length === 2)
637
- for (var n = 0, i = t.length, o; n < i; n++)
638
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
639
- return e.concat(o || t);
637
+ for (var n = 0, i = t.length, s; n < i; n++)
638
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
639
+ return e.concat(s || t);
640
640
  }
641
- function Z(e) {
641
+ function D(e) {
642
642
  return typeof e == "function";
643
643
  }
644
- function or(e) {
644
+ function Vt(e) {
645
645
  var t = function(n) {
646
646
  Error.call(n), n.stack = new Error().stack;
647
647
  }, r = e(t);
648
648
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
649
649
  }
650
- var Ze = or(function(e) {
650
+ var Me = Vt(function(e) {
651
651
  return function(r) {
652
652
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
653
653
  ` + r.map(function(n, i) {
@@ -656,30 +656,30 @@ var Ze = or(function(e) {
656
656
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
657
657
  };
658
658
  });
659
- function lt(e, t) {
659
+ function Qe(e, t) {
660
660
  if (e) {
661
661
  var r = e.indexOf(t);
662
662
  0 <= r && e.splice(r, 1);
663
663
  }
664
664
  }
665
- var Ge = function() {
665
+ var Pe = function() {
666
666
  function e(t) {
667
667
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
668
668
  }
669
669
  return e.prototype.unsubscribe = function() {
670
- var t, r, n, i, o;
670
+ var t, r, n, i, s;
671
671
  if (!this.closed) {
672
672
  this.closed = !0;
673
- var s = this._parentage;
674
- if (s)
675
- if (this._parentage = null, Array.isArray(s))
673
+ var o = this._parentage;
674
+ if (o)
675
+ if (this._parentage = null, Array.isArray(o))
676
676
  try {
677
- for (var a = ot(s), h = a.next(); !h.done; h = a.next()) {
678
- var l = h.value;
679
- l.remove(this);
677
+ for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
678
+ var u = h.value;
679
+ u.remove(this);
680
680
  }
681
- } catch (y) {
682
- t = { error: y };
681
+ } catch (v) {
682
+ t = { error: v };
683
683
  } finally {
684
684
  try {
685
685
  h && !h.done && (r = a.return) && r.call(a);
@@ -689,45 +689,45 @@ var Ge = function() {
689
689
  }
690
690
  }
691
691
  else
692
- s.remove(this);
693
- var u = this.initialTeardown;
694
- if (Z(u))
692
+ o.remove(this);
693
+ var l = this.initialTeardown;
694
+ if (D(l))
695
695
  try {
696
- u();
697
- } catch (y) {
698
- o = y instanceof Ze ? y.errors : [y];
696
+ l();
697
+ } catch (v) {
698
+ s = v instanceof Me ? v.errors : [v];
699
699
  }
700
- var p = this._finalizers;
701
- if (p) {
700
+ var m = this._finalizers;
701
+ if (m) {
702
702
  this._finalizers = null;
703
703
  try {
704
- for (var c = ot(p), m = c.next(); !m.done; m = c.next()) {
705
- var v = m.value;
704
+ for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
705
+ var b = d.value;
706
706
  try {
707
- At(v);
708
- } catch (y) {
709
- o = o ?? [], y instanceof Ze ? o = at(at([], st(o)), st(y.errors)) : o.push(y);
707
+ bt(b);
708
+ } catch (v) {
709
+ s = s ?? [], v instanceof Me ? s = Ze(Ze([], ze(s)), ze(v.errors)) : s.push(v);
710
710
  }
711
711
  }
712
- } catch (y) {
713
- n = { error: y };
712
+ } catch (v) {
713
+ n = { error: v };
714
714
  } finally {
715
715
  try {
716
- m && !m.done && (i = c.return) && i.call(c);
716
+ d && !d.done && (i = c.return) && i.call(c);
717
717
  } finally {
718
718
  if (n)
719
719
  throw n.error;
720
720
  }
721
721
  }
722
722
  }
723
- if (o)
724
- throw new Ze(o);
723
+ if (s)
724
+ throw new Me(s);
725
725
  }
726
726
  }, e.prototype.add = function(t) {
727
727
  var r;
728
728
  if (t && t !== this)
729
729
  if (this.closed)
730
- At(t);
730
+ bt(t);
731
731
  else {
732
732
  if (t instanceof e) {
733
733
  if (t.closed || t._hasParent(this))
@@ -744,52 +744,52 @@ var Ge = function() {
744
744
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
745
745
  }, e.prototype._removeParent = function(t) {
746
746
  var r = this._parentage;
747
- r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
747
+ r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
748
748
  }, e.prototype.remove = function(t) {
749
749
  var r = this._finalizers;
750
- r && lt(r, t), t instanceof e && t._removeParent(this);
750
+ r && Qe(r, t), t instanceof e && t._removeParent(this);
751
751
  }, e.EMPTY = function() {
752
752
  var t = new e();
753
753
  return t.closed = !0, t;
754
754
  }(), e;
755
- }(), sr = Ge.EMPTY;
756
- function ar(e) {
757
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
755
+ }(), Xt = Pe.EMPTY;
756
+ function Wt(e) {
757
+ return e instanceof Pe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
758
758
  }
759
- function At(e) {
760
- Z(e) ? e() : e.unsubscribe();
759
+ function bt(e) {
760
+ D(e) ? e() : e.unsubscribe();
761
761
  }
762
- var rn = {
762
+ var zr = {
763
763
  Promise: void 0
764
- }, nn = {
764
+ }, Zr = {
765
765
  setTimeout: function(e, t) {
766
766
  for (var r = [], n = 2; n < arguments.length; n++)
767
767
  r[n - 2] = arguments[n];
768
- return setTimeout.apply(void 0, at([e, t], st(r)));
768
+ return setTimeout.apply(void 0, Ze([e, t], ze(r)));
769
769
  },
770
770
  clearTimeout: function(e) {
771
771
  return clearTimeout(e);
772
772
  },
773
773
  delegate: void 0
774
774
  };
775
- function on(e) {
776
- nn.setTimeout(function() {
775
+ function Qr(e) {
776
+ Zr.setTimeout(function() {
777
777
  throw e;
778
778
  });
779
779
  }
780
- function Pt() {
780
+ function gt() {
781
781
  }
782
- function Le(e) {
782
+ function Ee(e) {
783
783
  e();
784
784
  }
785
- var lr = function(e) {
786
- He(t, e);
785
+ var zt = function(e) {
786
+ de(t, e);
787
787
  function t(r) {
788
788
  var n = e.call(this) || this;
789
- return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = ln, n;
789
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = qr, n;
790
790
  }
791
791
  return t.create = function(r, n, i) {
792
- return new ut(r, n, i);
792
+ return new Je(r, n, i);
793
793
  }, t.prototype.next = function(r) {
794
794
  this.isStopped || this._next(r);
795
795
  }, t.prototype.error = function(r) {
@@ -813,7 +813,7 @@ var lr = function(e) {
813
813
  this.unsubscribe();
814
814
  }
815
815
  }, t;
816
- }(Ge), sn = function() {
816
+ }(Pe), Jr = function() {
817
817
  function e(t) {
818
818
  this.partialObserver = t;
819
819
  }
@@ -823,7 +823,7 @@ var lr = function(e) {
823
823
  try {
824
824
  r.next(t);
825
825
  } catch (n) {
826
- Ce(n);
826
+ ye(n);
827
827
  }
828
828
  }, e.prototype.error = function(t) {
829
829
  var r = this.partialObserver;
@@ -831,56 +831,56 @@ var lr = function(e) {
831
831
  try {
832
832
  r.error(t);
833
833
  } catch (n) {
834
- Ce(n);
834
+ ye(n);
835
835
  }
836
836
  else
837
- Ce(t);
837
+ ye(t);
838
838
  }, e.prototype.complete = function() {
839
839
  var t = this.partialObserver;
840
840
  if (t.complete)
841
841
  try {
842
842
  t.complete();
843
843
  } catch (r) {
844
- Ce(r);
844
+ ye(r);
845
845
  }
846
846
  }, e;
847
- }(), ut = function(e) {
848
- He(t, e);
847
+ }(), Je = function(e) {
848
+ de(t, e);
849
849
  function t(r, n, i) {
850
- var o = e.call(this) || this, s;
851
- return Z(r) || !r ? s = {
850
+ var s = e.call(this) || this, o;
851
+ return D(r) || !r ? o = {
852
852
  next: r ?? void 0,
853
853
  error: n ?? void 0,
854
854
  complete: i ?? void 0
855
- } : s = r, o.destination = new sn(s), o;
855
+ } : o = r, s.destination = new Jr(o), s;
856
856
  }
857
857
  return t;
858
- }(lr);
859
- function Ce(e) {
860
- on(e);
858
+ }(zt);
859
+ function ye(e) {
860
+ Qr(e);
861
861
  }
862
- function an(e) {
862
+ function Yr(e) {
863
863
  throw e;
864
864
  }
865
- var ln = {
865
+ var qr = {
866
866
  closed: !0,
867
- next: Pt,
868
- error: an,
869
- complete: Pt
870
- }, un = function() {
867
+ next: gt,
868
+ error: Yr,
869
+ complete: gt
870
+ }, Kr = function() {
871
871
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
872
872
  }();
873
- function hn(e) {
873
+ function en(e) {
874
874
  return e;
875
875
  }
876
- function cn(e) {
877
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
876
+ function tn(e) {
877
+ return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
878
878
  return e.reduce(function(n, i) {
879
879
  return i(n);
880
880
  }, r);
881
881
  };
882
882
  }
883
- var Bt = function() {
883
+ var yt = function() {
884
884
  function e(t) {
885
885
  t && (this._subscribe = t);
886
886
  }
@@ -888,11 +888,11 @@ var Bt = function() {
888
888
  var r = new e();
889
889
  return r.source = this, r.operator = t, r;
890
890
  }, e.prototype.subscribe = function(t, r, n) {
891
- var i = this, o = pn(t) ? t : new ut(t, r, n);
892
- return Le(function() {
893
- var s = i, a = s.operator, h = s.source;
894
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
895
- }), o;
891
+ var i = this, s = nn(t) ? t : new Je(t, r, n);
892
+ return Ee(function() {
893
+ var o = i, a = o.operator, h = o.source;
894
+ s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
895
+ }), s;
896
896
  }, e.prototype._trySubscribe = function(t) {
897
897
  try {
898
898
  return this._subscribe(t);
@@ -901,87 +901,87 @@ var Bt = function() {
901
901
  }
902
902
  }, e.prototype.forEach = function(t, r) {
903
903
  var n = this;
904
- return r = Ft(r), new r(function(i, o) {
905
- var s = new ut({
904
+ return r = vt(r), new r(function(i, s) {
905
+ var o = new Je({
906
906
  next: function(a) {
907
907
  try {
908
908
  t(a);
909
909
  } catch (h) {
910
- o(h), s.unsubscribe();
910
+ s(h), o.unsubscribe();
911
911
  }
912
912
  },
913
- error: o,
913
+ error: s,
914
914
  complete: i
915
915
  });
916
- n.subscribe(s);
916
+ n.subscribe(o);
917
917
  });
918
918
  }, e.prototype._subscribe = function(t) {
919
919
  var r;
920
920
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
921
- }, e.prototype[un] = function() {
921
+ }, e.prototype[Kr] = function() {
922
922
  return this;
923
923
  }, e.prototype.pipe = function() {
924
924
  for (var t = [], r = 0; r < arguments.length; r++)
925
925
  t[r] = arguments[r];
926
- return cn(t)(this);
926
+ return tn(t)(this);
927
927
  }, e.prototype.toPromise = function(t) {
928
928
  var r = this;
929
- return t = Ft(t), new t(function(n, i) {
930
- var o;
931
- r.subscribe(function(s) {
932
- return o = s;
933
- }, function(s) {
934
- return i(s);
929
+ return t = vt(t), new t(function(n, i) {
930
+ var s;
931
+ r.subscribe(function(o) {
932
+ return s = o;
933
+ }, function(o) {
934
+ return i(o);
935
935
  }, function() {
936
- return n(o);
936
+ return n(s);
937
937
  });
938
938
  });
939
939
  }, e.create = function(t) {
940
940
  return new e(t);
941
941
  }, e;
942
942
  }();
943
- function Ft(e) {
943
+ function vt(e) {
944
944
  var t;
945
- return (t = e ?? rn.Promise) !== null && t !== void 0 ? t : Promise;
945
+ return (t = e ?? zr.Promise) !== null && t !== void 0 ? t : Promise;
946
946
  }
947
- function fn(e) {
948
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
947
+ function rn(e) {
948
+ return e && D(e.next) && D(e.error) && D(e.complete);
949
949
  }
950
- function pn(e) {
951
- return e && e instanceof lr || fn(e) && ar(e);
950
+ function nn(e) {
951
+ return e && e instanceof zt || rn(e) && Wt(e);
952
952
  }
953
- var dn = or(function(e) {
953
+ var sn = Vt(function(e) {
954
954
  return function() {
955
955
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
956
956
  };
957
- }), ur = function(e) {
958
- He(t, e);
957
+ }), Zt = function(e) {
958
+ de(t, e);
959
959
  function t() {
960
960
  var r = e.call(this) || this;
961
961
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
962
962
  }
963
963
  return t.prototype.lift = function(r) {
964
- var n = new Ct(this, this);
964
+ var n = new _t(this, this);
965
965
  return n.operator = r, n;
966
966
  }, t.prototype._throwIfClosed = function() {
967
967
  if (this.closed)
968
- throw new dn();
968
+ throw new sn();
969
969
  }, t.prototype.next = function(r) {
970
970
  var n = this;
971
- Le(function() {
972
- var i, o;
971
+ Ee(function() {
972
+ var i, s;
973
973
  if (n._throwIfClosed(), !n.isStopped) {
974
974
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
975
975
  try {
976
- for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
+ for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
977
977
  var h = a.value;
978
978
  h.next(r);
979
979
  }
980
- } catch (l) {
981
- i = { error: l };
980
+ } catch (u) {
981
+ i = { error: u };
982
982
  } finally {
983
983
  try {
984
- a && !a.done && (o = s.return) && o.call(s);
984
+ a && !a.done && (s = o.return) && s.call(o);
985
985
  } finally {
986
986
  if (i)
987
987
  throw i.error;
@@ -991,7 +991,7 @@ var dn = or(function(e) {
991
991
  });
992
992
  }, t.prototype.error = function(r) {
993
993
  var n = this;
994
- Le(function() {
994
+ Ee(function() {
995
995
  if (n._throwIfClosed(), !n.isStopped) {
996
996
  n.hasError = n.isStopped = !0, n.thrownError = r;
997
997
  for (var i = n.observers; i.length; )
@@ -1000,7 +1000,7 @@ var dn = or(function(e) {
1000
1000
  });
1001
1001
  }, t.prototype.complete = function() {
1002
1002
  var r = this;
1003
- Le(function() {
1003
+ Ee(function() {
1004
1004
  if (r._throwIfClosed(), !r.isStopped) {
1005
1005
  r.isStopped = !0;
1006
1006
  for (var n = r.observers; n.length; )
@@ -1021,21 +1021,21 @@ var dn = or(function(e) {
1021
1021
  }, t.prototype._subscribe = function(r) {
1022
1022
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1023
1023
  }, t.prototype._innerSubscribe = function(r) {
1024
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1025
- return o || s ? sr : (this.currentObservers = null, a.push(r), new Ge(function() {
1026
- n.currentObservers = null, lt(a, r);
1024
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1025
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new Pe(function() {
1026
+ n.currentObservers = null, Qe(a, r);
1027
1027
  }));
1028
1028
  }, t.prototype._checkFinalizedStatuses = function(r) {
1029
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1030
- i ? r.error(o) : s && r.complete();
1029
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1030
+ i ? r.error(s) : o && r.complete();
1031
1031
  }, t.prototype.asObservable = function() {
1032
- var r = new Bt();
1032
+ var r = new yt();
1033
1033
  return r.source = this, r;
1034
1034
  }, t.create = function(r, n) {
1035
- return new Ct(r, n);
1035
+ return new _t(r, n);
1036
1036
  }, t;
1037
- }(Bt), Ct = function(e) {
1038
- He(t, e);
1037
+ }(yt), _t = function(e) {
1038
+ de(t, e);
1039
1039
  function t(r, n) {
1040
1040
  var i = e.call(this) || this;
1041
1041
  return i.destination = r, i.source = n, i;
@@ -1051,208 +1051,208 @@ var dn = or(function(e) {
1051
1051
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1052
1052
  }, t.prototype._subscribe = function(r) {
1053
1053
  var n, i;
1054
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
1054
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1055
1055
  }, t;
1056
- }(ur), hr = {
1056
+ }(Zt), Qt = {
1057
1057
  now: function() {
1058
- return (hr.delegate || Date).now();
1058
+ return (Qt.delegate || Date).now();
1059
1059
  },
1060
1060
  delegate: void 0
1061
- }, mn = function(e) {
1062
- He(t, e);
1061
+ }, on = function(e) {
1062
+ de(t, e);
1063
1063
  function t(r, n, i) {
1064
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1065
- var o = e.call(this) || this;
1066
- 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;
1064
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1065
+ var s = e.call(this) || this;
1066
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1067
1067
  }
1068
1068
  return t.prototype.next = function(r) {
1069
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1070
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1069
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1070
+ i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1071
1071
  }, t.prototype._subscribe = function(r) {
1072
1072
  this._throwIfClosed(), this._trimBuffer();
1073
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1073
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
1074
1074
  r.next(a[h]);
1075
1075
  return this._checkFinalizedStatuses(r), n;
1076
1076
  }, t.prototype._trimBuffer = function() {
1077
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1078
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1079
- for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1080
- l = u;
1081
- l && o.splice(0, l + 1);
1077
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1078
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1079
+ for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
1080
+ u = l;
1081
+ u && s.splice(0, u + 1);
1082
1082
  }
1083
1083
  }, t;
1084
- }(ur);
1085
- const Ot = [], It = {}, bn = (e, t = 0) => {
1086
- if (Ot.indexOf(e) == -1) {
1087
- const r = new mn(t);
1088
- It[e] = r, Ot.push(e);
1084
+ }(Zt);
1085
+ const Et = [], xt = {}, an = (e, t = 0) => {
1086
+ if (Et.indexOf(e) == -1) {
1087
+ const r = new on(t);
1088
+ xt[e] = r, Et.push(e);
1089
1089
  }
1090
- return It[e];
1091
- }, he = [];
1092
- function gn(e, t) {
1090
+ return xt[e];
1091
+ }, z = [];
1092
+ function un(e, t) {
1093
1093
  return {
1094
- subscribe: ke(e, t).subscribe
1094
+ subscribe: Ae(e, t).subscribe
1095
1095
  };
1096
1096
  }
1097
- function ke(e, t = G) {
1097
+ function Ae(e, t = M) {
1098
1098
  let r;
1099
1099
  const n = /* @__PURE__ */ new Set();
1100
1100
  function i(a) {
1101
- if (Yt(e, a) && (e = a, r)) {
1102
- const h = !he.length;
1103
- for (const l of n)
1104
- l[1](), he.push(l, e);
1101
+ if (Gt(e, a) && (e = a, r)) {
1102
+ const h = !z.length;
1103
+ for (const u of n)
1104
+ u[1](), z.push(u, e);
1105
1105
  if (h) {
1106
- for (let l = 0; l < he.length; l += 2)
1107
- he[l][0](he[l + 1]);
1108
- he.length = 0;
1106
+ for (let u = 0; u < z.length; u += 2)
1107
+ z[u][0](z[u + 1]);
1108
+ z.length = 0;
1109
1109
  }
1110
1110
  }
1111
1111
  }
1112
- function o(a) {
1112
+ function s(a) {
1113
1113
  i(a(e));
1114
1114
  }
1115
- function s(a, h = G) {
1116
- const l = [a, h];
1117
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1118
- n.delete(l), n.size === 0 && r && (r(), r = null);
1115
+ function o(a, h = M) {
1116
+ const u = [a, h];
1117
+ return n.add(u), n.size === 1 && (r = t(i, s) || M), a(e), () => {
1118
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1119
1119
  };
1120
1120
  }
1121
- return { set: i, update: o, subscribe: s };
1121
+ return { set: i, update: s, subscribe: o };
1122
1122
  }
1123
- function ge(e, t, r) {
1123
+ function ne(e, t, r) {
1124
1124
  const n = !Array.isArray(e), i = n ? [e] : e;
1125
1125
  if (!i.every(Boolean))
1126
1126
  throw new Error("derived() expects stores as input, got a falsy value");
1127
- const o = t.length < 2;
1128
- return gn(r, (s, a) => {
1127
+ const s = t.length < 2;
1128
+ return un(r, (o, a) => {
1129
1129
  let h = !1;
1130
- const l = [];
1131
- let u = 0, p = G;
1130
+ const u = [];
1131
+ let l = 0, m = M;
1132
1132
  const c = () => {
1133
- if (u)
1133
+ if (l)
1134
1134
  return;
1135
- p();
1136
- const v = t(n ? l[0] : l, s, a);
1137
- o ? s(v) : p = vt(v) ? v : G;
1138
- }, m = i.map(
1139
- (v, y) => Kt(
1140
- v,
1135
+ m();
1136
+ const b = t(n ? u[0] : u, o, a);
1137
+ s ? o(b) : m = ot(b) ? b : M;
1138
+ }, d = i.map(
1139
+ (b, v) => Ut(
1140
+ b,
1141
1141
  (T) => {
1142
- l[y] = T, u &= ~(1 << y), h && c();
1142
+ u[v] = T, l &= ~(1 << v), h && c();
1143
1143
  },
1144
1144
  () => {
1145
- u |= 1 << y;
1145
+ l |= 1 << v;
1146
1146
  }
1147
1147
  )
1148
1148
  );
1149
1149
  return h = !0, c(), function() {
1150
- q(m), p(), h = !1;
1150
+ te(d), m(), h = !1;
1151
1151
  };
1152
1152
  });
1153
1153
  }
1154
- function yn(e) {
1154
+ function hn(e) {
1155
1155
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1156
1156
  }
1157
- var vn = function(t) {
1158
- return _n(t) && !xn(t);
1157
+ var ln = function(t) {
1158
+ return cn(t) && !fn(t);
1159
1159
  };
1160
- function _n(e) {
1160
+ function cn(e) {
1161
1161
  return !!e && typeof e == "object";
1162
1162
  }
1163
- function xn(e) {
1163
+ function fn(e) {
1164
1164
  var t = Object.prototype.toString.call(e);
1165
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1165
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1166
1166
  }
1167
- var En = typeof Symbol == "function" && Symbol.for, wn = En ? Symbol.for("react.element") : 60103;
1168
- function Sn(e) {
1169
- return e.$$typeof === wn;
1167
+ var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
1168
+ function pn(e) {
1169
+ return e.$$typeof === dn;
1170
1170
  }
1171
- function Tn(e) {
1171
+ function bn(e) {
1172
1172
  return Array.isArray(e) ? [] : {};
1173
1173
  }
1174
- function Se(e, t) {
1175
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Tn(e), e, t) : e;
1174
+ function ce(e, t) {
1175
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(bn(e), e, t) : e;
1176
1176
  }
1177
- function Hn(e, t, r) {
1177
+ function gn(e, t, r) {
1178
1178
  return e.concat(t).map(function(n) {
1179
- return Se(n, r);
1179
+ return ce(n, r);
1180
1180
  });
1181
1181
  }
1182
- function An(e, t) {
1182
+ function yn(e, t) {
1183
1183
  if (!t.customMerge)
1184
- return pe;
1184
+ return Y;
1185
1185
  var r = t.customMerge(e);
1186
- return typeof r == "function" ? r : pe;
1186
+ return typeof r == "function" ? r : Y;
1187
1187
  }
1188
- function Pn(e) {
1188
+ function vn(e) {
1189
1189
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1190
1190
  return Object.propertyIsEnumerable.call(e, t);
1191
1191
  }) : [];
1192
1192
  }
1193
- function Lt(e) {
1194
- return Object.keys(e).concat(Pn(e));
1193
+ function St(e) {
1194
+ return Object.keys(e).concat(vn(e));
1195
1195
  }
1196
- function cr(e, t) {
1196
+ function Jt(e, t) {
1197
1197
  try {
1198
1198
  return t in e;
1199
1199
  } catch {
1200
1200
  return !1;
1201
1201
  }
1202
1202
  }
1203
- function Bn(e, t) {
1204
- return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1203
+ function _n(e, t) {
1204
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1205
1205
  }
1206
- function Fn(e, t, r) {
1206
+ function En(e, t, r) {
1207
1207
  var n = {};
1208
- return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1209
- n[i] = Se(e[i], r);
1210
- }), Lt(t).forEach(function(i) {
1211
- Bn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1208
+ return r.isMergeableObject(e) && St(e).forEach(function(i) {
1209
+ n[i] = ce(e[i], r);
1210
+ }), St(t).forEach(function(i) {
1211
+ _n(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1212
1212
  }), n;
1213
1213
  }
1214
- function pe(e, t, r) {
1215
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = Se;
1216
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1217
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Se(t, r);
1214
+ function Y(e, t, r) {
1215
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ce;
1216
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1217
+ return s ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ce(t, r);
1218
1218
  }
1219
- pe.all = function(t, r) {
1219
+ Y.all = function(t, r) {
1220
1220
  if (!Array.isArray(t))
1221
1221
  throw new Error("first argument should be an array");
1222
1222
  return t.reduce(function(n, i) {
1223
- return pe(n, i, r);
1223
+ return Y(n, i, r);
1224
1224
  }, {});
1225
1225
  };
1226
- var Cn = pe, On = Cn;
1227
- const In = /* @__PURE__ */ yn(On);
1228
- var ht = function(e, t) {
1229
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1226
+ var xn = Y, Sn = xn;
1227
+ const wn = /* @__PURE__ */ hn(Sn);
1228
+ var Ye = function(e, t) {
1229
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1230
1230
  r.__proto__ = n;
1231
1231
  } || function(r, n) {
1232
1232
  for (var i in n)
1233
1233
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1234
- }, ht(e, t);
1234
+ }, Ye(e, t);
1235
1235
  };
1236
- function je(e, t) {
1236
+ function Be(e, t) {
1237
1237
  if (typeof t != "function" && t !== null)
1238
1238
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1239
- ht(e, t);
1239
+ Ye(e, t);
1240
1240
  function r() {
1241
1241
  this.constructor = e;
1242
1242
  }
1243
1243
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1244
1244
  }
1245
- var X = function() {
1246
- return X = Object.assign || function(t) {
1245
+ var R = function() {
1246
+ return R = Object.assign || function(t) {
1247
1247
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1248
1248
  r = arguments[n];
1249
- for (var o in r)
1250
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1249
+ for (var s in r)
1250
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1251
1251
  }
1252
1252
  return t;
1253
- }, X.apply(this, arguments);
1253
+ }, R.apply(this, arguments);
1254
1254
  };
1255
- function Ln(e, t) {
1255
+ function Tn(e, t) {
1256
1256
  var r = {};
1257
1257
  for (var n in e)
1258
1258
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1261,43 +1261,43 @@ function Ln(e, t) {
1261
1261
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1262
1262
  return r;
1263
1263
  }
1264
- function Je(e, t, r) {
1264
+ function Re(e, t, r) {
1265
1265
  if (r || arguments.length === 2)
1266
- for (var n = 0, i = t.length, o; n < i; n++)
1267
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1268
- return e.concat(o || Array.prototype.slice.call(t));
1266
+ for (var n = 0, i = t.length, s; n < i; n++)
1267
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1268
+ return e.concat(s || Array.prototype.slice.call(t));
1269
1269
  }
1270
- function Qe(e, t) {
1271
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1270
+ function Ge(e, t) {
1271
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : An;
1272
1272
  return i(e, {
1273
1273
  cache: r,
1274
1274
  serializer: n
1275
1275
  });
1276
1276
  }
1277
- function Nn(e) {
1277
+ function Hn(e) {
1278
1278
  return e == null || typeof e == "number" || typeof e == "boolean";
1279
1279
  }
1280
- function Mn(e, t, r, n) {
1281
- var i = Nn(n) ? n : r(n), o = t.get(i);
1282
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1280
+ function Pn(e, t, r, n) {
1281
+ var i = Hn(n) ? n : r(n), s = t.get(i);
1282
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1283
1283
  }
1284
- function fr(e, t, r) {
1285
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1286
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1284
+ function Yt(e, t, r) {
1285
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1286
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1287
1287
  }
1288
- function pr(e, t, r, n, i) {
1288
+ function qt(e, t, r, n, i) {
1289
1289
  return r.bind(t, e, n, i);
1290
1290
  }
1291
- function Rn(e, t) {
1292
- var r = e.length === 1 ? Mn : fr;
1293
- return pr(e, this, r, t.cache.create(), t.serializer);
1291
+ function An(e, t) {
1292
+ var r = e.length === 1 ? Pn : Yt;
1293
+ return qt(e, this, r, t.cache.create(), t.serializer);
1294
1294
  }
1295
- function $n(e, t) {
1296
- return pr(e, this, fr, t.cache.create(), t.serializer);
1295
+ function Bn(e, t) {
1296
+ return qt(e, this, Yt, t.cache.create(), t.serializer);
1297
1297
  }
1298
- var Un = function() {
1298
+ var On = function() {
1299
1299
  return JSON.stringify(arguments);
1300
- }, Dn = (
1300
+ }, Nn = (
1301
1301
  /** @class */
1302
1302
  function() {
1303
1303
  function e() {
@@ -1309,71 +1309,71 @@ var Un = function() {
1309
1309
  this.cache[t] = r;
1310
1310
  }, e;
1311
1311
  }()
1312
- ), Gn = {
1312
+ ), Cn = {
1313
1313
  create: function() {
1314
- return new Dn();
1314
+ return new Nn();
1315
1315
  }
1316
- }, qe = {
1317
- variadic: $n
1318
- }, $e = function() {
1319
- return $e = Object.assign || function(t) {
1316
+ }, Ue = {
1317
+ variadic: Bn
1318
+ }, we = function() {
1319
+ return we = Object.assign || function(t) {
1320
1320
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1321
1321
  r = arguments[n];
1322
- for (var o in r)
1323
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1322
+ for (var s in r)
1323
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1324
1324
  }
1325
1325
  return t;
1326
- }, $e.apply(this, arguments);
1326
+ }, we.apply(this, arguments);
1327
1327
  };
1328
- var E;
1328
+ var g;
1329
1329
  (function(e) {
1330
1330
  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";
1331
- })(E || (E = {}));
1332
- var F;
1331
+ })(g || (g = {}));
1332
+ var E;
1333
1333
  (function(e) {
1334
1334
  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";
1335
- })(F || (F = {}));
1336
- var de;
1335
+ })(E || (E = {}));
1336
+ var q;
1337
1337
  (function(e) {
1338
1338
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1339
- })(de || (de = {}));
1340
- function Nt(e) {
1341
- return e.type === F.literal;
1339
+ })(q || (q = {}));
1340
+ function wt(e) {
1341
+ return e.type === E.literal;
1342
1342
  }
1343
- function kn(e) {
1344
- return e.type === F.argument;
1343
+ function Ln(e) {
1344
+ return e.type === E.argument;
1345
1345
  }
1346
- function dr(e) {
1347
- return e.type === F.number;
1346
+ function Kt(e) {
1347
+ return e.type === E.number;
1348
1348
  }
1349
- function mr(e) {
1350
- return e.type === F.date;
1349
+ function er(e) {
1350
+ return e.type === E.date;
1351
1351
  }
1352
- function br(e) {
1353
- return e.type === F.time;
1352
+ function tr(e) {
1353
+ return e.type === E.time;
1354
1354
  }
1355
- function gr(e) {
1356
- return e.type === F.select;
1355
+ function rr(e) {
1356
+ return e.type === E.select;
1357
1357
  }
1358
- function yr(e) {
1359
- return e.type === F.plural;
1358
+ function nr(e) {
1359
+ return e.type === E.plural;
1360
1360
  }
1361
- function jn(e) {
1362
- return e.type === F.pound;
1361
+ function In(e) {
1362
+ return e.type === E.pound;
1363
1363
  }
1364
- function vr(e) {
1365
- return e.type === F.tag;
1364
+ function ir(e) {
1365
+ return e.type === E.tag;
1366
1366
  }
1367
- function _r(e) {
1368
- return !!(e && typeof e == "object" && e.type === de.number);
1367
+ function sr(e) {
1368
+ return !!(e && typeof e == "object" && e.type === q.number);
1369
1369
  }
1370
- function ct(e) {
1371
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1370
+ function qe(e) {
1371
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1372
1372
  }
1373
- var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1374
- function Xn(e) {
1373
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
1374
+ function Rn(e) {
1375
1375
  var t = {};
1376
- return e.replace(Vn, function(r) {
1376
+ return e.replace(Mn, function(r) {
1377
1377
  var n = r.length;
1378
1378
  switch (r[0]) {
1379
1379
  case "G":
@@ -1462,46 +1462,46 @@ function Xn(e) {
1462
1462
  return "";
1463
1463
  }), t;
1464
1464
  }
1465
- var O = function() {
1466
- return O = Object.assign || function(t) {
1465
+ var w = function() {
1466
+ return w = Object.assign || function(t) {
1467
1467
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1468
1468
  r = arguments[n];
1469
- for (var o in r)
1470
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1469
+ for (var s in r)
1470
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1471
1471
  }
1472
1472
  return t;
1473
- }, O.apply(this, arguments);
1473
+ }, w.apply(this, arguments);
1474
1474
  };
1475
- var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1476
- function zn(e) {
1475
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1476
+ function Un(e) {
1477
1477
  if (e.length === 0)
1478
1478
  throw new Error("Number skeleton cannot be empty");
1479
- for (var t = e.split(Wn).filter(function(c) {
1479
+ for (var t = e.split(Gn).filter(function(c) {
1480
1480
  return c.length > 0;
1481
1481
  }), r = [], n = 0, i = t; n < i.length; n++) {
1482
- var o = i[n], s = o.split("/");
1483
- if (s.length === 0)
1482
+ var s = i[n], o = s.split("/");
1483
+ if (o.length === 0)
1484
1484
  throw new Error("Invalid number skeleton");
1485
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1486
- var p = u[l];
1487
- if (p.length === 0)
1485
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1486
+ var m = l[u];
1487
+ if (m.length === 0)
1488
1488
  throw new Error("Invalid number skeleton");
1489
1489
  }
1490
1490
  r.push({ stem: a, options: h });
1491
1491
  }
1492
1492
  return r;
1493
1493
  }
1494
- function Zn(e) {
1494
+ function $n(e) {
1495
1495
  return e.replace(/^(.*?)-/, "");
1496
1496
  }
1497
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1498
- function Rt(e) {
1497
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1498
+ function Ht(e) {
1499
1499
  var t = {};
1500
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1500
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1501
1501
  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)), "";
1502
1502
  }), t;
1503
1503
  }
1504
- function Sr(e) {
1504
+ function hr(e) {
1505
1505
  switch (e) {
1506
1506
  case "sign-auto":
1507
1507
  return {
@@ -1541,7 +1541,7 @@ function Sr(e) {
1541
1541
  };
1542
1542
  }
1543
1543
  }
1544
- function Qn(e) {
1544
+ function Fn(e) {
1545
1545
  var t;
1546
1546
  if (e[0] === "E" && e[1] === "E" ? (t = {
1547
1547
  notation: "engineering"
@@ -1549,17 +1549,17 @@ function Qn(e) {
1549
1549
  notation: "scientific"
1550
1550
  }, e = e.slice(1)), t) {
1551
1551
  var r = e.slice(0, 2);
1552
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
1552
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1553
1553
  throw new Error("Malformed concise eng/scientific notation");
1554
1554
  t.minimumIntegerDigits = e.length;
1555
1555
  }
1556
1556
  return t;
1557
1557
  }
1558
- function $t(e) {
1559
- var t = {}, r = Sr(e);
1558
+ function Pt(e) {
1559
+ var t = {}, r = hr(e);
1560
1560
  return r || t;
1561
1561
  }
1562
- function qn(e) {
1562
+ function jn(e) {
1563
1563
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1564
1564
  var i = n[r];
1565
1565
  switch (i.stem) {
@@ -1583,7 +1583,7 @@ function qn(e) {
1583
1583
  continue;
1584
1584
  case "measure-unit":
1585
1585
  case "unit":
1586
- t.style = "unit", t.unit = Zn(i.options[0]);
1586
+ t.style = "unit", t.unit = $n(i.options[0]);
1587
1587
  continue;
1588
1588
  case "compact-short":
1589
1589
  case "K":
@@ -1594,13 +1594,13 @@ function qn(e) {
1594
1594
  t.notation = "compact", t.compactDisplay = "long";
1595
1595
  continue;
1596
1596
  case "scientific":
1597
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1598
- return O(O({}, h), $t(l));
1597
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1598
+ return w(w({}, h), Pt(u));
1599
1599
  }, {}));
1600
1600
  continue;
1601
1601
  case "engineering":
1602
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1603
- return O(O({}, h), $t(l));
1602
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1603
+ return w(w({}, h), Pt(u));
1604
1604
  }, {}));
1605
1605
  continue;
1606
1606
  case "notation-simple":
@@ -1645,45 +1645,45 @@ function qn(e) {
1645
1645
  case "integer-width":
1646
1646
  if (i.options.length > 1)
1647
1647
  throw new RangeError("integer-width stems only accept a single optional option");
1648
- i.options[0].replace(Jn, function(h, l, u, p, c, m) {
1649
- if (l)
1650
- t.minimumIntegerDigits = u.length;
1648
+ i.options[0].replace(Dn, function(h, u, l, m, c, d) {
1649
+ if (u)
1650
+ t.minimumIntegerDigits = l.length;
1651
1651
  else {
1652
- if (p && c)
1652
+ if (m && c)
1653
1653
  throw new Error("We currently do not support maximum integer digits");
1654
- if (m)
1654
+ if (d)
1655
1655
  throw new Error("We currently do not support exact integer digits");
1656
1656
  }
1657
1657
  return "";
1658
1658
  });
1659
1659
  continue;
1660
1660
  }
1661
- if (wr.test(i.stem)) {
1661
+ if (ur.test(i.stem)) {
1662
1662
  t.minimumIntegerDigits = i.stem.length;
1663
1663
  continue;
1664
1664
  }
1665
- if (Mt.test(i.stem)) {
1665
+ if (Tt.test(i.stem)) {
1666
1666
  if (i.options.length > 1)
1667
1667
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1668
- i.stem.replace(Mt, function(h, l, u, p, c, m) {
1669
- return u === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1668
+ i.stem.replace(Tt, function(h, u, l, m, c, d) {
1669
+ return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1670
1670
  });
1671
- var o = i.options[0];
1672
- o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Rt(o)));
1671
+ var s = i.options[0];
1672
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Ht(s)));
1673
1673
  continue;
1674
1674
  }
1675
- if (Er.test(i.stem)) {
1676
- t = O(O({}, t), Rt(i.stem));
1675
+ if (ar.test(i.stem)) {
1676
+ t = w(w({}, t), Ht(i.stem));
1677
1677
  continue;
1678
1678
  }
1679
- var s = Sr(i.stem);
1680
- s && (t = O(O({}, t), s));
1681
- var a = Qn(i.stem);
1682
- a && (t = O(O({}, t), a));
1679
+ var o = hr(i.stem);
1680
+ o && (t = w(w({}, t), o));
1681
+ var a = Fn(i.stem);
1682
+ a && (t = w(w({}, t), a));
1683
1683
  }
1684
1684
  return t;
1685
1685
  }
1686
- var Oe = {
1686
+ var ve = {
1687
1687
  "001": [
1688
1688
  "H",
1689
1689
  "h"
@@ -3098,23 +3098,23 @@ var Oe = {
3098
3098
  "h"
3099
3099
  ]
3100
3100
  };
3101
- function Yn(e, t) {
3101
+ function kn(e, t) {
3102
3102
  for (var r = "", n = 0; n < e.length; n++) {
3103
3103
  var i = e.charAt(n);
3104
3104
  if (i === "j") {
3105
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3106
- o++, n++;
3107
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Kn(t);
3108
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3105
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3106
+ s++, n++;
3107
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Vn(t);
3108
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3109
3109
  r += h;
3110
- for (; s-- > 0; )
3111
- r = l + r;
3110
+ for (; o-- > 0; )
3111
+ r = u + r;
3112
3112
  } else
3113
3113
  i === "J" ? r += "H" : r += i;
3114
3114
  }
3115
3115
  return r;
3116
3116
  }
3117
- function Kn(e) {
3117
+ function Vn(e) {
3118
3118
  var t = e.hourCycle;
3119
3119
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3120
3120
  e.hourCycles && // @ts-ignore
@@ -3133,23 +3133,23 @@ function Kn(e) {
3133
3133
  }
3134
3134
  var r = e.language, n;
3135
3135
  r !== "root" && (n = e.maximize().region);
3136
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3136
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3137
3137
  return i[0];
3138
3138
  }
3139
- var Ye, ei = new RegExp("^".concat(xr.source, "*")), ti = new RegExp("".concat(xr.source, "*$"));
3140
- function w(e, t) {
3139
+ var $e, Xn = new RegExp("^".concat(or.source, "*")), Wn = new RegExp("".concat(or.source, "*$"));
3140
+ function y(e, t) {
3141
3141
  return { start: e, end: t };
3142
3142
  }
3143
- var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
3143
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
3144
3144
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3145
- }, ft = !0;
3145
+ }, Ke = !0;
3146
3146
  try {
3147
- var hi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3148
- ft = ((Ye = hi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3147
+ var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3148
+ Ke = (($e = ti.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3149
3149
  } catch {
3150
- ft = !1;
3150
+ Ke = !1;
3151
3151
  }
3152
- var Ut = ri ? (
3152
+ var At = zn ? (
3153
3153
  // Native
3154
3154
  function(t, r, n) {
3155
3155
  return t.startsWith(r, n);
@@ -3159,31 +3159,31 @@ var Ut = ri ? (
3159
3159
  function(t, r, n) {
3160
3160
  return t.slice(n, n + r.length) === r;
3161
3161
  }
3162
- ), pt = ni ? String.fromCodePoint : (
3162
+ ), et = Zn ? String.fromCodePoint : (
3163
3163
  // IE11
3164
3164
  function() {
3165
3165
  for (var t = [], r = 0; r < arguments.length; r++)
3166
3166
  t[r] = arguments[r];
3167
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3168
- if (s = t[o++], s > 1114111)
3169
- throw RangeError(s + " is not a valid code point");
3170
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3167
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3168
+ if (o = t[s++], o > 1114111)
3169
+ throw RangeError(o + " is not a valid code point");
3170
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3171
3171
  }
3172
3172
  return n;
3173
3173
  }
3174
- ), Dt = (
3174
+ ), Bt = (
3175
3175
  // native
3176
- ii ? Object.fromEntries : (
3176
+ Qn ? Object.fromEntries : (
3177
3177
  // Ponyfill
3178
3178
  function(t) {
3179
3179
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3180
- var o = i[n], s = o[0], a = o[1];
3181
- r[s] = a;
3180
+ var s = i[n], o = s[0], a = s[1];
3181
+ r[o] = a;
3182
3182
  }
3183
3183
  return r;
3184
3184
  }
3185
3185
  )
3186
- ), Tr = oi ? (
3186
+ ), lr = Jn ? (
3187
3187
  // Native
3188
3188
  function(t, r) {
3189
3189
  return t.codePointAt(r);
@@ -3193,11 +3193,11 @@ var Ut = ri ? (
3193
3193
  function(t, r) {
3194
3194
  var n = t.length;
3195
3195
  if (!(r < 0 || r >= n)) {
3196
- var i = t.charCodeAt(r), o;
3197
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3196
+ var i = t.charCodeAt(r), s;
3197
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3198
3198
  }
3199
3199
  }
3200
- ), ci = si ? (
3200
+ ), ri = Yn ? (
3201
3201
  // Native
3202
3202
  function(t) {
3203
3203
  return t.trimStart();
@@ -3205,9 +3205,9 @@ var Ut = ri ? (
3205
3205
  ) : (
3206
3206
  // Ponyfill
3207
3207
  function(t) {
3208
- return t.replace(ei, "");
3208
+ return t.replace(Xn, "");
3209
3209
  }
3210
- ), fi = ai ? (
3210
+ ), ni = qn ? (
3211
3211
  // Native
3212
3212
  function(t) {
3213
3213
  return t.trimEnd();
@@ -3215,32 +3215,32 @@ var Ut = ri ? (
3215
3215
  ) : (
3216
3216
  // Ponyfill
3217
3217
  function(t) {
3218
- return t.replace(ti, "");
3218
+ return t.replace(Wn, "");
3219
3219
  }
3220
3220
  );
3221
- function Hr(e, t) {
3221
+ function cr(e, t) {
3222
3222
  return new RegExp(e, t);
3223
3223
  }
3224
- var dt;
3225
- if (ft) {
3226
- var Gt = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3227
- dt = function(t, r) {
3224
+ var tt;
3225
+ if (Ke) {
3226
+ var Ot = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3227
+ tt = function(t, r) {
3228
3228
  var n;
3229
- Gt.lastIndex = r;
3230
- var i = Gt.exec(t);
3229
+ Ot.lastIndex = r;
3230
+ var i = Ot.exec(t);
3231
3231
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3232
3232
  };
3233
3233
  } else
3234
- dt = function(t, r) {
3234
+ tt = function(t, r) {
3235
3235
  for (var n = []; ; ) {
3236
- var i = Tr(t, r);
3237
- if (i === void 0 || Ar(i) || bi(i))
3236
+ var i = lr(t, r);
3237
+ if (i === void 0 || fr(i) || ai(i))
3238
3238
  break;
3239
3239
  n.push(i), r += i >= 65536 ? 2 : 1;
3240
3240
  }
3241
- return pt.apply(void 0, n);
3241
+ return et.apply(void 0, n);
3242
3242
  };
3243
- var pi = (
3243
+ var ii = (
3244
3244
  /** @class */
3245
3245
  function() {
3246
3246
  function e(t, r) {
@@ -3252,35 +3252,35 @@ var pi = (
3252
3252
  return this.parseMessage(0, "", !1);
3253
3253
  }, e.prototype.parseMessage = function(t, r, n) {
3254
3254
  for (var i = []; !this.isEOF(); ) {
3255
- var o = this.char();
3256
- if (o === 123) {
3257
- var s = this.parseArgument(t, n);
3258
- if (s.err)
3259
- return s;
3260
- i.push(s.val);
3255
+ var s = this.char();
3256
+ if (s === 123) {
3257
+ var o = this.parseArgument(t, n);
3258
+ if (o.err)
3259
+ return o;
3260
+ i.push(o.val);
3261
3261
  } else {
3262
- if (o === 125 && t > 0)
3262
+ if (s === 125 && t > 0)
3263
3263
  break;
3264
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3264
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3265
3265
  var a = this.clonePosition();
3266
3266
  this.bump(), i.push({
3267
- type: F.pound,
3268
- location: w(a, this.clonePosition())
3267
+ type: E.pound,
3268
+ location: y(a, this.clonePosition())
3269
3269
  });
3270
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3270
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3271
3271
  if (n)
3272
3272
  break;
3273
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3274
- } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3275
- var s = this.parseTag(t, r);
3276
- if (s.err)
3277
- return s;
3278
- i.push(s.val);
3273
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3274
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3275
+ var o = this.parseTag(t, r);
3276
+ if (o.err)
3277
+ return o;
3278
+ i.push(o.val);
3279
3279
  } else {
3280
- var s = this.parseLiteral(t, r);
3281
- if (s.err)
3282
- return s;
3283
- i.push(s.val);
3280
+ var o = this.parseLiteral(t, r);
3281
+ if (o.err)
3282
+ return o;
3283
+ i.push(o.val);
3284
3284
  }
3285
3285
  }
3286
3286
  }
@@ -3292,51 +3292,51 @@ var pi = (
3292
3292
  if (this.bumpSpace(), this.bumpIf("/>"))
3293
3293
  return {
3294
3294
  val: {
3295
- type: F.literal,
3295
+ type: E.literal,
3296
3296
  value: "<".concat(i, "/>"),
3297
- location: w(n, this.clonePosition())
3297
+ location: y(n, this.clonePosition())
3298
3298
  },
3299
3299
  err: null
3300
3300
  };
3301
3301
  if (this.bumpIf(">")) {
3302
- var o = this.parseMessage(t + 1, r, !0);
3303
- if (o.err)
3304
- return o;
3305
- var s = o.val, a = this.clonePosition();
3302
+ var s = this.parseMessage(t + 1, r, !0);
3303
+ if (s.err)
3304
+ return s;
3305
+ var o = s.val, a = this.clonePosition();
3306
3306
  if (this.bumpIf("</")) {
3307
- if (this.isEOF() || !mt(this.char()))
3308
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3309
- var h = this.clonePosition(), l = this.parseTagName();
3310
- return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
+ if (this.isEOF() || !rt(this.char()))
3308
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3309
+ var h = this.clonePosition(), u = this.parseTagName();
3310
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3311
3311
  val: {
3312
- type: F.tag,
3312
+ type: E.tag,
3313
3313
  value: i,
3314
- children: s,
3315
- location: w(n, this.clonePosition())
3314
+ children: o,
3315
+ location: y(n, this.clonePosition())
3316
3316
  },
3317
3317
  err: null
3318
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3318
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
3319
3319
  } else
3320
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3320
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3321
3321
  } else
3322
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3322
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3323
3323
  }, e.prototype.parseTagName = function() {
3324
3324
  var t = this.offset();
3325
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3325
+ for (this.bump(); !this.isEOF() && oi(this.char()); )
3326
3326
  this.bump();
3327
3327
  return this.message.slice(t, this.offset());
3328
3328
  }, e.prototype.parseLiteral = function(t, r) {
3329
3329
  for (var n = this.clonePosition(), i = ""; ; ) {
3330
- var o = this.tryParseQuote(r);
3331
- if (o) {
3332
- i += o;
3333
- continue;
3334
- }
3335
- var s = this.tryParseUnquoted(t, r);
3330
+ var s = this.tryParseQuote(r);
3336
3331
  if (s) {
3337
3332
  i += s;
3338
3333
  continue;
3339
3334
  }
3335
+ var o = this.tryParseUnquoted(t, r);
3336
+ if (o) {
3337
+ i += o;
3338
+ continue;
3339
+ }
3340
3340
  var a = this.tryParseLeftAngleBracket();
3341
3341
  if (a) {
3342
3342
  i += a;
@@ -3344,14 +3344,14 @@ var pi = (
3344
3344
  }
3345
3345
  break;
3346
3346
  }
3347
- var h = w(n, this.clonePosition());
3347
+ var h = y(n, this.clonePosition());
3348
3348
  return {
3349
- val: { type: F.literal, value: i, location: h },
3349
+ val: { type: E.literal, value: i, location: h },
3350
3350
  err: null
3351
3351
  };
3352
3352
  }, e.prototype.tryParseLeftAngleBracket = function() {
3353
3353
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3354
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3354
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3355
3355
  }, e.prototype.tryParseQuote = function(t) {
3356
3356
  if (this.isEOF() || this.char() !== 39)
3357
3357
  return null;
@@ -3385,100 +3385,100 @@ var pi = (
3385
3385
  r.push(n);
3386
3386
  this.bump();
3387
3387
  }
3388
- return pt.apply(void 0, r);
3388
+ return et.apply(void 0, r);
3389
3389
  }, e.prototype.tryParseUnquoted = function(t, r) {
3390
3390
  if (this.isEOF())
3391
3391
  return null;
3392
3392
  var n = this.char();
3393
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3393
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3394
3394
  }, e.prototype.parseArgument = function(t, r) {
3395
3395
  var n = this.clonePosition();
3396
3396
  if (this.bump(), this.bumpSpace(), this.isEOF())
3397
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3397
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3398
3398
  if (this.char() === 125)
3399
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3399
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3400
3400
  var i = this.parseIdentifierIfPossible().value;
3401
3401
  if (!i)
3402
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3402
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3403
3403
  if (this.bumpSpace(), this.isEOF())
3404
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3404
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3405
3405
  switch (this.char()) {
3406
3406
  case 125:
3407
3407
  return this.bump(), {
3408
3408
  val: {
3409
- type: F.argument,
3409
+ type: E.argument,
3410
3410
  // value does not include the opening and closing braces.
3411
3411
  value: i,
3412
- location: w(n, this.clonePosition())
3412
+ location: y(n, this.clonePosition())
3413
3413
  },
3414
3414
  err: null
3415
3415
  };
3416
3416
  case 44:
3417
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3417
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3418
3418
  default:
3419
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3419
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3420
3420
  }
3421
3421
  }, e.prototype.parseIdentifierIfPossible = function() {
3422
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3422
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3423
3423
  this.bumpTo(i);
3424
- var o = this.clonePosition(), s = w(t, o);
3425
- return { value: n, location: s };
3424
+ var s = this.clonePosition(), o = y(t, s);
3425
+ return { value: n, location: o };
3426
3426
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3427
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3427
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3428
3428
  switch (a) {
3429
3429
  case "":
3430
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, h));
3430
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
3431
3431
  case "number":
3432
3432
  case "date":
3433
3433
  case "time": {
3434
3434
  this.bumpSpace();
3435
- var l = null;
3435
+ var u = null;
3436
3436
  if (this.bumpIf(",")) {
3437
3437
  this.bumpSpace();
3438
- var u = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3439
- if (p.err)
3440
- return p;
3441
- var c = fi(p.val);
3438
+ var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3439
+ if (m.err)
3440
+ return m;
3441
+ var c = ni(m.val);
3442
3442
  if (c.length === 0)
3443
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3444
- var m = w(u, this.clonePosition());
3445
- l = { style: c, styleLocation: m };
3443
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3444
+ var d = y(l, this.clonePosition());
3445
+ u = { style: c, styleLocation: d };
3446
3446
  }
3447
- var v = this.tryParseArgumentClose(i);
3448
- if (v.err)
3449
- return v;
3450
- var y = w(i, this.clonePosition());
3451
- if (l && Ut(l?.style, "::", 0)) {
3452
- var T = ci(l.style.slice(2));
3447
+ var b = this.tryParseArgumentClose(i);
3448
+ if (b.err)
3449
+ return b;
3450
+ var v = y(i, this.clonePosition());
3451
+ if (u && At(u?.style, "::", 0)) {
3452
+ var T = ri(u.style.slice(2));
3453
3453
  if (a === "number") {
3454
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3455
- return p.err ? p : {
3456
- val: { type: F.number, value: n, location: y, style: p.val },
3454
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3455
+ return m.err ? m : {
3456
+ val: { type: E.number, value: n, location: v, style: m.val },
3457
3457
  err: null
3458
3458
  };
3459
3459
  } else {
3460
3460
  if (T.length === 0)
3461
- return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3462
- var H = T;
3463
- this.locale && (H = Yn(T, this.locale));
3461
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
3462
+ var C = T;
3463
+ this.locale && (C = kn(T, this.locale));
3464
3464
  var c = {
3465
- type: de.dateTime,
3466
- pattern: H,
3467
- location: l.styleLocation,
3468
- parsedOptions: this.shouldParseSkeletons ? Xn(H) : {}
3469
- }, S = a === "date" ? F.date : F.time;
3465
+ type: q.dateTime,
3466
+ pattern: C,
3467
+ location: u.styleLocation,
3468
+ parsedOptions: this.shouldParseSkeletons ? Rn(C) : {}
3469
+ }, A = a === "date" ? E.date : E.time;
3470
3470
  return {
3471
- val: { type: S, value: n, location: y, style: c },
3471
+ val: { type: A, value: n, location: v, style: c },
3472
3472
  err: null
3473
3473
  };
3474
3474
  }
3475
3475
  }
3476
3476
  return {
3477
3477
  val: {
3478
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3478
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3479
3479
  value: n,
3480
- location: y,
3481
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3480
+ location: v,
3481
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3482
3482
  },
3483
3483
  err: null
3484
3484
  };
@@ -3486,52 +3486,52 @@ var pi = (
3486
3486
  case "plural":
3487
3487
  case "selectordinal":
3488
3488
  case "select": {
3489
- var b = this.clonePosition();
3489
+ var H = this.clonePosition();
3490
3490
  if (this.bumpSpace(), !this.bumpIf(","))
3491
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
3491
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, we({}, H)));
3492
3492
  this.bumpSpace();
3493
- var I = this.parseIdentifierIfPossible(), L = 0;
3494
- if (a !== "select" && I.value === "offset") {
3493
+ var B = this.parseIdentifierIfPossible(), O = 0;
3494
+ if (a !== "select" && B.value === "offset") {
3495
3495
  if (!this.bumpIf(":"))
3496
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3496
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3497
3497
  this.bumpSpace();
3498
- var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3499
- if (p.err)
3500
- return p;
3501
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
3498
+ var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3499
+ if (m.err)
3500
+ return m;
3501
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), O = m.val;
3502
3502
  }
3503
- var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3504
- if (M.err)
3505
- return M;
3506
- var v = this.tryParseArgumentClose(i);
3507
- if (v.err)
3508
- return v;
3509
- var A = w(i, this.clonePosition());
3503
+ var L = this.tryParsePluralOrSelectOptions(t, a, r, B);
3504
+ if (L.err)
3505
+ return L;
3506
+ var b = this.tryParseArgumentClose(i);
3507
+ if (b.err)
3508
+ return b;
3509
+ var _ = y(i, this.clonePosition());
3510
3510
  return a === "select" ? {
3511
3511
  val: {
3512
- type: F.select,
3512
+ type: E.select,
3513
3513
  value: n,
3514
- options: Dt(M.val),
3515
- location: A
3514
+ options: Bt(L.val),
3515
+ location: _
3516
3516
  },
3517
3517
  err: null
3518
3518
  } : {
3519
3519
  val: {
3520
- type: F.plural,
3520
+ type: E.plural,
3521
3521
  value: n,
3522
- options: Dt(M.val),
3523
- offset: L,
3522
+ options: Bt(L.val),
3523
+ offset: O,
3524
3524
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3525
- location: A
3525
+ location: _
3526
3526
  },
3527
3527
  err: null
3528
3528
  };
3529
3529
  }
3530
3530
  default:
3531
- return this.error(E.INVALID_ARGUMENT_TYPE, w(s, h));
3531
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
3532
3532
  }
3533
3533
  }, e.prototype.tryParseArgumentClose = function(t) {
3534
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3534
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3535
3535
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3536
3536
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3537
3537
  var n = this.char();
@@ -3540,7 +3540,7 @@ var pi = (
3540
3540
  this.bump();
3541
3541
  var i = this.clonePosition();
3542
3542
  if (!this.bumpUntil("'"))
3543
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3543
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3544
3544
  this.bump();
3545
3545
  break;
3546
3546
  }
@@ -3570,64 +3570,64 @@ var pi = (
3570
3570
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3571
3571
  var n = [];
3572
3572
  try {
3573
- n = zn(t);
3573
+ n = Un(t);
3574
3574
  } catch {
3575
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3575
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3576
3576
  }
3577
3577
  return {
3578
3578
  val: {
3579
- type: de.number,
3579
+ type: q.number,
3580
3580
  tokens: n,
3581
3581
  location: r,
3582
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3582
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3583
3583
  },
3584
3584
  err: null
3585
3585
  };
3586
3586
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3587
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3588
- if (l.length === 0) {
3589
- var p = this.clonePosition();
3587
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3588
+ if (u.length === 0) {
3589
+ var m = this.clonePosition();
3590
3590
  if (r !== "select" && this.bumpIf("=")) {
3591
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3591
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3592
3592
  if (c.err)
3593
3593
  return c;
3594
- u = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3594
+ l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3595
3595
  } else
3596
3596
  break;
3597
3597
  }
3598
- if (h.has(l))
3599
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3600
- l === "other" && (s = !0), this.bumpSpace();
3601
- var m = this.clonePosition();
3598
+ if (h.has(u))
3599
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3600
+ u === "other" && (o = !0), this.bumpSpace();
3601
+ var d = this.clonePosition();
3602
3602
  if (!this.bumpIf("{"))
3603
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3604
- var v = this.parseMessage(t + 1, r, n);
3603
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3604
+ var b = this.parseMessage(t + 1, r, n);
3605
+ if (b.err)
3606
+ return b;
3607
+ var v = this.tryParseArgumentClose(d);
3605
3608
  if (v.err)
3606
3609
  return v;
3607
- var y = this.tryParseArgumentClose(m);
3608
- if (y.err)
3609
- return y;
3610
3610
  a.push([
3611
- l,
3611
+ u,
3612
3612
  {
3613
- value: v.val,
3614
- location: w(m, this.clonePosition())
3613
+ value: b.val,
3614
+ location: y(d, this.clonePosition())
3615
3615
  }
3616
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3616
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3617
3617
  }
3618
- 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 };
3618
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3619
3619
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3620
3620
  var n = 1, i = this.clonePosition();
3621
3621
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3622
- for (var o = !1, s = 0; !this.isEOF(); ) {
3622
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3623
3623
  var a = this.char();
3624
3624
  if (a >= 48 && a <= 57)
3625
- o = !0, s = s * 10 + (a - 48), this.bump();
3625
+ s = !0, o = o * 10 + (a - 48), this.bump();
3626
3626
  else
3627
3627
  break;
3628
3628
  }
3629
- var h = w(i, this.clonePosition());
3630
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3629
+ var h = y(i, this.clonePosition());
3630
+ return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3631
3631
  }, e.prototype.offset = function() {
3632
3632
  return this.position.offset;
3633
3633
  }, e.prototype.isEOF = function() {
@@ -3642,7 +3642,7 @@ var pi = (
3642
3642
  var t = this.position.offset;
3643
3643
  if (t >= this.message.length)
3644
3644
  throw Error("out of bound");
3645
- var r = Tr(this.message, t);
3645
+ var r = lr(this.message, t);
3646
3646
  if (r === void 0)
3647
3647
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3648
3648
  return r;
@@ -3661,7 +3661,7 @@ var pi = (
3661
3661
  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);
3662
3662
  }
3663
3663
  }, e.prototype.bumpIf = function(t) {
3664
- if (Ut(this.message, t, this.offset())) {
3664
+ if (At(this.message, t, this.offset())) {
3665
3665
  for (var r = 0; r < t.length; r++)
3666
3666
  this.bump();
3667
3667
  return !0;
@@ -3683,7 +3683,7 @@ var pi = (
3683
3683
  break;
3684
3684
  }
3685
3685
  }, e.prototype.bumpSpace = function() {
3686
- for (; !this.isEOF() && Ar(this.char()); )
3686
+ for (; !this.isEOF() && fr(this.char()); )
3687
3687
  this.bump();
3688
3688
  }, e.prototype.peek = function() {
3689
3689
  if (this.isEOF())
@@ -3693,204 +3693,204 @@ var pi = (
3693
3693
  }, e;
3694
3694
  }()
3695
3695
  );
3696
- function mt(e) {
3696
+ function rt(e) {
3697
3697
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3698
3698
  }
3699
- function di(e) {
3700
- return mt(e) || e === 47;
3699
+ function si(e) {
3700
+ return rt(e) || e === 47;
3701
3701
  }
3702
- function mi(e) {
3702
+ function oi(e) {
3703
3703
  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;
3704
3704
  }
3705
- function Ar(e) {
3705
+ function fr(e) {
3706
3706
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3707
3707
  }
3708
- function bi(e) {
3708
+ function ai(e) {
3709
3709
  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;
3710
3710
  }
3711
- function bt(e) {
3711
+ function nt(e) {
3712
3712
  e.forEach(function(t) {
3713
- if (delete t.location, gr(t) || yr(t))
3713
+ if (delete t.location, rr(t) || nr(t))
3714
3714
  for (var r in t.options)
3715
- delete t.options[r].location, bt(t.options[r].value);
3715
+ delete t.options[r].location, nt(t.options[r].value);
3716
3716
  else
3717
- dr(t) && _r(t.style) || (mr(t) || br(t)) && ct(t.style) ? delete t.style.location : vr(t) && bt(t.children);
3717
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && qe(t.style) ? delete t.style.location : ir(t) && nt(t.children);
3718
3718
  });
3719
3719
  }
3720
- function gi(e, t) {
3721
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3722
- var r = new pi(e, t).parse();
3720
+ function ui(e, t) {
3721
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3722
+ var r = new ii(e, t).parse();
3723
3723
  if (r.err) {
3724
- var n = SyntaxError(E[r.err.kind]);
3724
+ var n = SyntaxError(g[r.err.kind]);
3725
3725
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3726
3726
  }
3727
- return t?.captureLocation || bt(r.val), r.val;
3727
+ return t?.captureLocation || nt(r.val), r.val;
3728
3728
  }
3729
- var me;
3729
+ var K;
3730
3730
  (function(e) {
3731
3731
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3732
- })(me || (me = {}));
3733
- var Ve = (
3732
+ })(K || (K = {}));
3733
+ var Oe = (
3734
3734
  /** @class */
3735
3735
  function(e) {
3736
- je(t, e);
3736
+ Be(t, e);
3737
3737
  function t(r, n, i) {
3738
- var o = e.call(this, r) || this;
3739
- return o.code = n, o.originalMessage = i, o;
3738
+ var s = e.call(this, r) || this;
3739
+ return s.code = n, s.originalMessage = i, s;
3740
3740
  }
3741
3741
  return t.prototype.toString = function() {
3742
3742
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3743
3743
  }, t;
3744
3744
  }(Error)
3745
- ), kt = (
3745
+ ), Nt = (
3746
3746
  /** @class */
3747
3747
  function(e) {
3748
- je(t, e);
3749
- function t(r, n, i, o) {
3750
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3748
+ Be(t, e);
3749
+ function t(r, n, i, s) {
3750
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3751
3751
  }
3752
3752
  return t;
3753
- }(Ve)
3754
- ), yi = (
3753
+ }(Oe)
3754
+ ), hi = (
3755
3755
  /** @class */
3756
3756
  function(e) {
3757
- je(t, e);
3757
+ Be(t, e);
3758
3758
  function t(r, n, i) {
3759
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3759
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3760
3760
  }
3761
3761
  return t;
3762
- }(Ve)
3763
- ), vi = (
3762
+ }(Oe)
3763
+ ), li = (
3764
3764
  /** @class */
3765
3765
  function(e) {
3766
- je(t, e);
3766
+ Be(t, e);
3767
3767
  function t(r, n) {
3768
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3768
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3769
3769
  }
3770
3770
  return t;
3771
- }(Ve)
3772
- ), R;
3771
+ }(Oe)
3772
+ ), P;
3773
3773
  (function(e) {
3774
3774
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3775
- })(R || (R = {}));
3776
- function _i(e) {
3775
+ })(P || (P = {}));
3776
+ function ci(e) {
3777
3777
  return e.length < 2 ? e : e.reduce(function(t, r) {
3778
3778
  var n = t[t.length - 1];
3779
- return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3779
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3780
3780
  }, []);
3781
3781
  }
3782
- function xi(e) {
3782
+ function fi(e) {
3783
3783
  return typeof e == "function";
3784
3784
  }
3785
- function Ne(e, t, r, n, i, o, s) {
3786
- if (e.length === 1 && Nt(e[0]))
3785
+ function xe(e, t, r, n, i, s, o) {
3786
+ if (e.length === 1 && wt(e[0]))
3787
3787
  return [
3788
3788
  {
3789
- type: R.literal,
3789
+ type: P.literal,
3790
3790
  value: e[0].value
3791
3791
  }
3792
3792
  ];
3793
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3794
- var u = l[h];
3795
- if (Nt(u)) {
3793
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3794
+ var l = u[h];
3795
+ if (wt(l)) {
3796
3796
  a.push({
3797
- type: R.literal,
3798
- value: u.value
3797
+ type: P.literal,
3798
+ value: l.value
3799
3799
  });
3800
3800
  continue;
3801
3801
  }
3802
- if (jn(u)) {
3803
- typeof o == "number" && a.push({
3804
- type: R.literal,
3805
- value: r.getNumberFormat(t).format(o)
3802
+ if (In(l)) {
3803
+ typeof s == "number" && a.push({
3804
+ type: P.literal,
3805
+ value: r.getNumberFormat(t).format(s)
3806
3806
  });
3807
3807
  continue;
3808
3808
  }
3809
- var p = u.value;
3810
- if (!(i && p in i))
3811
- throw new vi(p, s);
3812
- var c = i[p];
3813
- if (kn(u)) {
3809
+ var m = l.value;
3810
+ if (!(i && m in i))
3811
+ throw new li(m, o);
3812
+ var c = i[m];
3813
+ if (Ln(l)) {
3814
3814
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3815
- type: typeof c == "string" ? R.literal : R.object,
3815
+ type: typeof c == "string" ? P.literal : P.object,
3816
3816
  value: c
3817
3817
  });
3818
3818
  continue;
3819
3819
  }
3820
- if (mr(u)) {
3821
- var m = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
3820
+ if (er(l)) {
3821
+ var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3822
3822
  a.push({
3823
- type: R.literal,
3824
- value: r.getDateTimeFormat(t, m).format(c)
3823
+ type: P.literal,
3824
+ value: r.getDateTimeFormat(t, d).format(c)
3825
3825
  });
3826
3826
  continue;
3827
3827
  }
3828
- if (br(u)) {
3829
- var m = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
3828
+ if (tr(l)) {
3829
+ var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
3830
3830
  a.push({
3831
- type: R.literal,
3832
- value: r.getDateTimeFormat(t, m).format(c)
3831
+ type: P.literal,
3832
+ value: r.getDateTimeFormat(t, d).format(c)
3833
3833
  });
3834
3834
  continue;
3835
3835
  }
3836
- if (dr(u)) {
3837
- var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3838
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3839
- type: R.literal,
3840
- value: r.getNumberFormat(t, m).format(c)
3836
+ if (Kt(l)) {
3837
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3838
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3839
+ type: P.literal,
3840
+ value: r.getNumberFormat(t, d).format(c)
3841
3841
  });
3842
3842
  continue;
3843
3843
  }
3844
- if (vr(u)) {
3845
- var v = u.children, y = u.value, T = i[y];
3846
- if (!xi(T))
3847
- throw new yi(y, "function", s);
3848
- var H = Ne(v, t, r, n, i, o), S = T(H.map(function(L) {
3849
- return L.value;
3844
+ if (ir(l)) {
3845
+ var b = l.children, v = l.value, T = i[v];
3846
+ if (!fi(T))
3847
+ throw new hi(v, "function", o);
3848
+ var C = xe(b, t, r, n, i, s), A = T(C.map(function(O) {
3849
+ return O.value;
3850
3850
  }));
3851
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3851
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(O) {
3852
3852
  return {
3853
- type: typeof L == "string" ? R.literal : R.object,
3854
- value: L
3853
+ type: typeof O == "string" ? P.literal : P.object,
3854
+ value: O
3855
3855
  };
3856
3856
  }));
3857
3857
  }
3858
- if (gr(u)) {
3859
- var b = u.options[c] || u.options.other;
3860
- if (!b)
3861
- throw new kt(u.value, c, Object.keys(u.options), s);
3862
- a.push.apply(a, Ne(b.value, t, r, n, i));
3858
+ if (rr(l)) {
3859
+ var H = l.options[c] || l.options.other;
3860
+ if (!H)
3861
+ throw new Nt(l.value, c, Object.keys(l.options), o);
3862
+ a.push.apply(a, xe(H.value, t, r, n, i));
3863
3863
  continue;
3864
3864
  }
3865
- if (yr(u)) {
3866
- var b = u.options["=".concat(c)];
3867
- if (!b) {
3865
+ if (nr(l)) {
3866
+ var H = l.options["=".concat(c)];
3867
+ if (!H) {
3868
3868
  if (!Intl.PluralRules)
3869
- throw new Ve(`Intl.PluralRules is not available in this environment.
3869
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3870
3870
  Try polyfilling it using "@formatjs/intl-pluralrules"
3871
- `, me.MISSING_INTL_API, s);
3872
- var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3873
- b = u.options[I] || u.options.other;
3871
+ `, K.MISSING_INTL_API, o);
3872
+ var B = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3873
+ H = l.options[B] || l.options.other;
3874
3874
  }
3875
- if (!b)
3876
- throw new kt(u.value, c, Object.keys(u.options), s);
3877
- a.push.apply(a, Ne(b.value, t, r, n, i, c - (u.offset || 0)));
3875
+ if (!H)
3876
+ throw new Nt(l.value, c, Object.keys(l.options), o);
3877
+ a.push.apply(a, xe(H.value, t, r, n, i, c - (l.offset || 0)));
3878
3878
  continue;
3879
3879
  }
3880
3880
  }
3881
- return _i(a);
3881
+ return ci(a);
3882
3882
  }
3883
- function Ei(e, t) {
3884
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3885
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3883
+ function mi(e, t) {
3884
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3885
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3886
3886
  }, {})) : e;
3887
3887
  }
3888
- function wi(e, t) {
3888
+ function di(e, t) {
3889
3889
  return t ? Object.keys(e).reduce(function(r, n) {
3890
- return r[n] = Ei(e[n], t[n]), r;
3891
- }, X({}, e)) : e;
3890
+ return r[n] = mi(e[n], t[n]), r;
3891
+ }, R({}, e)) : e;
3892
3892
  }
3893
- function Ke(e) {
3893
+ function De(e) {
3894
3894
  return {
3895
3895
  create: function() {
3896
3896
  return {
@@ -3904,77 +3904,77 @@ function Ke(e) {
3904
3904
  }
3905
3905
  };
3906
3906
  }
3907
- function Si(e) {
3907
+ function pi(e) {
3908
3908
  return e === void 0 && (e = {
3909
3909
  number: {},
3910
3910
  dateTime: {},
3911
3911
  pluralRules: {}
3912
3912
  }), {
3913
- getNumberFormat: Qe(function() {
3913
+ getNumberFormat: Ge(function() {
3914
3914
  for (var t, r = [], n = 0; n < arguments.length; n++)
3915
3915
  r[n] = arguments[n];
3916
- return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
3916
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3917
3917
  }, {
3918
- cache: Ke(e.number),
3919
- strategy: qe.variadic
3918
+ cache: De(e.number),
3919
+ strategy: Ue.variadic
3920
3920
  }),
3921
- getDateTimeFormat: Qe(function() {
3921
+ getDateTimeFormat: Ge(function() {
3922
3922
  for (var t, r = [], n = 0; n < arguments.length; n++)
3923
3923
  r[n] = arguments[n];
3924
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
3924
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3925
3925
  }, {
3926
- cache: Ke(e.dateTime),
3927
- strategy: qe.variadic
3926
+ cache: De(e.dateTime),
3927
+ strategy: Ue.variadic
3928
3928
  }),
3929
- getPluralRules: Qe(function() {
3929
+ getPluralRules: Ge(function() {
3930
3930
  for (var t, r = [], n = 0; n < arguments.length; n++)
3931
3931
  r[n] = arguments[n];
3932
- return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
3932
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3933
3933
  }, {
3934
- cache: Ke(e.pluralRules),
3935
- strategy: qe.variadic
3934
+ cache: De(e.pluralRules),
3935
+ strategy: Ue.variadic
3936
3936
  })
3937
3937
  };
3938
3938
  }
3939
- var Ti = (
3939
+ var bi = (
3940
3940
  /** @class */
3941
3941
  function() {
3942
3942
  function e(t, r, n, i) {
3943
3943
  r === void 0 && (r = e.defaultLocale);
3944
- var o = this;
3944
+ var s = this;
3945
3945
  if (this.formatterCache = {
3946
3946
  number: {},
3947
3947
  dateTime: {},
3948
3948
  pluralRules: {}
3949
3949
  }, this.format = function(h) {
3950
- var l = o.formatToParts(h);
3951
- if (l.length === 1)
3952
- return l[0].value;
3953
- var u = l.reduce(function(p, c) {
3954
- return !p.length || c.type !== R.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3950
+ var u = s.formatToParts(h);
3951
+ if (u.length === 1)
3952
+ return u[0].value;
3953
+ var l = u.reduce(function(m, c) {
3954
+ return !m.length || c.type !== P.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3955
3955
  }, []);
3956
- return u.length <= 1 ? u[0] || "" : u;
3956
+ return l.length <= 1 ? l[0] || "" : l;
3957
3957
  }, this.formatToParts = function(h) {
3958
- return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3958
+ return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3959
3959
  }, this.resolvedOptions = function() {
3960
3960
  var h;
3961
3961
  return {
3962
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3962
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3963
3963
  };
3964
3964
  }, this.getAst = function() {
3965
- return o.ast;
3965
+ return s.ast;
3966
3966
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3967
3967
  if (this.message = t, !e.__parse)
3968
3968
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3969
- var s = i || {};
3970
- s.formatters;
3971
- var a = Ln(s, ["formatters"]);
3972
- this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
3969
+ var o = i || {};
3970
+ o.formatters;
3971
+ var a = Tn(o, ["formatters"]);
3972
+ this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3973
3973
  } else
3974
3974
  this.ast = t;
3975
3975
  if (!Array.isArray(this.ast))
3976
3976
  throw new TypeError("A message must be provided as a String or AST.");
3977
- this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3977
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3978
3978
  }
3979
3979
  return Object.defineProperty(e, "defaultLocale", {
3980
3980
  get: function() {
@@ -3987,7 +3987,7 @@ var Ti = (
3987
3987
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3988
3988
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3989
3989
  }
3990
- }, e.__parse = gi, e.formats = {
3990
+ }, e.__parse = ui, e.formats = {
3991
3991
  number: {
3992
3992
  integer: {
3993
3993
  maximumFractionDigits: 0
@@ -4048,7 +4048,7 @@ var Ti = (
4048
4048
  }, e;
4049
4049
  }()
4050
4050
  );
4051
- function Hi(e, t) {
4051
+ function gi(e, t) {
4052
4052
  if (t == null)
4053
4053
  return;
4054
4054
  if (t in e)
@@ -4058,9 +4058,9 @@ function Hi(e, t) {
4058
4058
  for (let i = 0; i < r.length; i++)
4059
4059
  if (typeof n == "object") {
4060
4060
  if (i > 0) {
4061
- const o = r.slice(i, r.length).join(".");
4062
- if (o in n) {
4063
- n = n[o];
4061
+ const s = r.slice(i, r.length).join(".");
4062
+ if (s in n) {
4063
+ n = n[s];
4064
4064
  break;
4065
4065
  }
4066
4066
  }
@@ -4069,92 +4069,92 @@ function Hi(e, t) {
4069
4069
  n = void 0;
4070
4070
  return n;
4071
4071
  }
4072
- const Q = {}, Ai = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
4072
+ const F = {}, yi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), mr = (e, t) => {
4073
4073
  if (t == null)
4074
4074
  return;
4075
- if (t in Q && e in Q[t])
4076
- return Q[t][e];
4077
- const r = Xe(t);
4075
+ if (t in F && e in F[t])
4076
+ return F[t][e];
4077
+ const r = Ne(t);
4078
4078
  for (let n = 0; n < r.length; n++) {
4079
- const i = r[n], o = Bi(i, e);
4080
- if (o)
4081
- return Ai(e, t, o);
4079
+ const i = r[n], s = _i(i, e);
4080
+ if (s)
4081
+ return yi(e, t, s);
4082
4082
  }
4083
4083
  };
4084
- let _t;
4085
- const ye = ke({});
4086
- function Pi(e) {
4087
- return _t[e] || null;
4084
+ let ht;
4085
+ const pe = Ae({});
4086
+ function vi(e) {
4087
+ return ht[e] || null;
4088
4088
  }
4089
- function Br(e) {
4090
- return e in _t;
4089
+ function dr(e) {
4090
+ return e in ht;
4091
4091
  }
4092
- function Bi(e, t) {
4093
- if (!Br(e))
4092
+ function _i(e, t) {
4093
+ if (!dr(e))
4094
4094
  return null;
4095
- const r = Pi(e);
4096
- return Hi(r, t);
4095
+ const r = vi(e);
4096
+ return gi(r, t);
4097
4097
  }
4098
- function Fi(e) {
4098
+ function Ei(e) {
4099
4099
  if (e == null)
4100
4100
  return;
4101
- const t = Xe(e);
4101
+ const t = Ne(e);
4102
4102
  for (let r = 0; r < t.length; r++) {
4103
4103
  const n = t[r];
4104
- if (Br(n))
4104
+ if (dr(n))
4105
4105
  return n;
4106
4106
  }
4107
4107
  }
4108
- function Fr(e, ...t) {
4109
- delete Q[e], ye.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4108
+ function pr(e, ...t) {
4109
+ delete F[e], pe.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
4110
4110
  }
4111
- ge(
4112
- [ye],
4111
+ ne(
4112
+ [pe],
4113
4113
  ([e]) => Object.keys(e)
4114
4114
  );
4115
- ye.subscribe((e) => _t = e);
4116
- const Me = {};
4117
- function Ci(e, t) {
4118
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4115
+ pe.subscribe((e) => ht = e);
4116
+ const Se = {};
4117
+ function xi(e, t) {
4118
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4119
4119
  }
4120
- function Cr(e) {
4121
- return Me[e];
4120
+ function br(e) {
4121
+ return Se[e];
4122
4122
  }
4123
- function Oi(e) {
4124
- return Xe(e).map((t) => {
4125
- const r = Cr(t);
4123
+ function Si(e) {
4124
+ return Ne(e).map((t) => {
4125
+ const r = br(t);
4126
4126
  return [t, r ? [...r] : []];
4127
4127
  }).filter(([, t]) => t.length > 0);
4128
4128
  }
4129
- function gt(e) {
4130
- return e == null ? !1 : Xe(e).some(
4129
+ function it(e) {
4130
+ return e == null ? !1 : Ne(e).some(
4131
4131
  (t) => {
4132
4132
  var r;
4133
- return (r = Cr(t)) == null ? void 0 : r.size;
4133
+ return (r = br(t)) == null ? void 0 : r.size;
4134
4134
  }
4135
4135
  );
4136
4136
  }
4137
- function Ii(e, t) {
4137
+ function wi(e, t) {
4138
4138
  return Promise.all(
4139
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4140
- ).then((n) => Fr(e, ...n));
4139
+ t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
4140
+ ).then((n) => pr(e, ...n));
4141
4141
  }
4142
- const _e = {};
4143
- function Or(e) {
4144
- if (!gt(e))
4145
- return e in _e ? _e[e] : Promise.resolve();
4146
- const t = Oi(e);
4147
- return _e[e] = Promise.all(
4142
+ const ae = {};
4143
+ function gr(e) {
4144
+ if (!it(e))
4145
+ return e in ae ? ae[e] : Promise.resolve();
4146
+ const t = Si(e);
4147
+ return ae[e] = Promise.all(
4148
4148
  t.map(
4149
- ([r, n]) => Ii(r, n)
4149
+ ([r, n]) => wi(r, n)
4150
4150
  )
4151
4151
  ).then(() => {
4152
- if (gt(e))
4153
- return Or(e);
4154
- delete _e[e];
4155
- }), _e[e];
4152
+ if (it(e))
4153
+ return gr(e);
4154
+ delete ae[e];
4155
+ }), ae[e];
4156
4156
  }
4157
- const Li = {
4157
+ const Ti = {
4158
4158
  number: {
4159
4159
  scientific: { notation: "scientific" },
4160
4160
  engineering: { notation: "engineering" },
@@ -4183,176 +4183,176 @@ const Li = {
4183
4183
  timeZoneName: "short"
4184
4184
  }
4185
4185
  }
4186
- }, Ni = {
4186
+ }, Hi = {
4187
4187
  fallbackLocale: null,
4188
4188
  loadingDelay: 200,
4189
- formats: Li,
4189
+ formats: Ti,
4190
4190
  warnOnMissingMessages: !0,
4191
4191
  handleMissingMessage: void 0,
4192
4192
  ignoreTag: !0
4193
- }, Mi = Ni;
4194
- function be() {
4195
- return Mi;
4193
+ }, Pi = Hi;
4194
+ function ee() {
4195
+ return Pi;
4196
4196
  }
4197
- const et = ke(!1);
4198
- var Ri = Object.defineProperty, $i = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
4197
+ const Fe = Ae(!1);
4198
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
4199
4199
  for (var r in t || (t = {}))
4200
- Di.call(t, r) && Vt(e, r, t[r]);
4201
- if (jt)
4202
- for (var r of jt(t))
4203
- Gi.call(t, r) && Vt(e, r, t[r]);
4200
+ Ni.call(t, r) && Lt(e, r, t[r]);
4201
+ if (Ct)
4202
+ for (var r of Ct(t))
4203
+ Ci.call(t, r) && Lt(e, r, t[r]);
4204
4204
  return e;
4205
- }, ji = (e, t) => $i(e, Ui(t));
4206
- let yt;
4207
- const Ue = ke(null);
4208
- function Xt(e) {
4205
+ }, Ii = (e, t) => Bi(e, Oi(t));
4206
+ let st;
4207
+ const Te = Ae(null);
4208
+ function It(e) {
4209
4209
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4210
4210
  }
4211
- function Xe(e, t = be().fallbackLocale) {
4212
- const r = Xt(e);
4213
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4211
+ function Ne(e, t = ee().fallbackLocale) {
4212
+ const r = It(e);
4213
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4214
4214
  }
4215
- function ne() {
4216
- return yt ?? void 0;
4215
+ function k() {
4216
+ return st ?? void 0;
4217
4217
  }
4218
- Ue.subscribe((e) => {
4219
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4218
+ Te.subscribe((e) => {
4219
+ st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4220
4220
  });
4221
- const Vi = (e) => {
4222
- if (e && Fi(e) && gt(e)) {
4223
- const { loadingDelay: t } = be();
4221
+ const Mi = (e) => {
4222
+ if (e && Ei(e) && it(e)) {
4223
+ const { loadingDelay: t } = ee();
4224
4224
  let r;
4225
- return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
4226
- () => et.set(!0),
4225
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
4226
+ () => Fe.set(!0),
4227
4227
  t
4228
- ) : et.set(!0), Or(e).then(() => {
4229
- Ue.set(e);
4228
+ ) : Fe.set(!0), gr(e).then(() => {
4229
+ Te.set(e);
4230
4230
  }).finally(() => {
4231
- clearTimeout(r), et.set(!1);
4231
+ clearTimeout(r), Fe.set(!1);
4232
4232
  });
4233
4233
  }
4234
- return Ue.set(e);
4235
- }, re = ji(ki({}, Ue), {
4236
- set: Vi
4237
- }), We = (e) => {
4234
+ return Te.set(e);
4235
+ }, ie = Ii(Li({}, Te), {
4236
+ set: Mi
4237
+ }), Ce = (e) => {
4238
4238
  const t = /* @__PURE__ */ Object.create(null);
4239
4239
  return (n) => {
4240
4240
  const i = JSON.stringify(n);
4241
4241
  return i in t ? t[i] : t[i] = e(n);
4242
4242
  };
4243
4243
  };
4244
- var Xi = Object.defineProperty, De = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4244
+ var Ri = Object.defineProperty, He = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4245
4245
  for (var r in t || (t = {}))
4246
- Ir.call(t, r) && Wt(e, r, t[r]);
4247
- if (De)
4248
- for (var r of De(t))
4249
- Lr.call(t, r) && Wt(e, r, t[r]);
4246
+ yr.call(t, r) && Mt(e, r, t[r]);
4247
+ if (He)
4248
+ for (var r of He(t))
4249
+ vr.call(t, r) && Mt(e, r, t[r]);
4250
4250
  return e;
4251
- }, ve = (e, t) => {
4251
+ }, se = (e, t) => {
4252
4252
  var r = {};
4253
4253
  for (var n in e)
4254
- Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4255
- if (e != null && De)
4256
- for (var n of De(e))
4257
- t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4254
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4255
+ if (e != null && He)
4256
+ for (var n of He(e))
4257
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4258
4258
  return r;
4259
4259
  };
4260
- const Te = (e, t) => {
4261
- const { formats: r } = be();
4260
+ const fe = (e, t) => {
4261
+ const { formats: r } = ee();
4262
4262
  if (e in r && t in r[e])
4263
4263
  return r[e][t];
4264
4264
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4265
- }, Wi = We(
4265
+ }, Gi = Ce(
4266
4266
  (e) => {
4267
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4267
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4268
4268
  if (r == null)
4269
4269
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4270
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4270
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4271
4271
  }
4272
- ), zi = We(
4272
+ ), Ui = Ce(
4273
4273
  (e) => {
4274
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4274
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4275
4275
  if (r == null)
4276
4276
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4277
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4277
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4278
4278
  }
4279
- ), Zi = We(
4279
+ ), $i = Ce(
4280
4280
  (e) => {
4281
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4281
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4282
4282
  if (r == null)
4283
4283
  throw new Error(
4284
4284
  '[svelte-i18n] A "locale" must be set to format time values'
4285
4285
  );
4286
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4286
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4287
4287
  }
4288
- ), Ji = (e = {}) => {
4288
+ ), Di = (e = {}) => {
4289
4289
  var t = e, {
4290
- locale: r = ne()
4291
- } = t, n = ve(t, [
4290
+ locale: r = k()
4291
+ } = t, n = se(t, [
4292
4292
  "locale"
4293
4293
  ]);
4294
- return Wi(xt({ locale: r }, n));
4295
- }, Qi = (e = {}) => {
4294
+ return Gi(lt({ locale: r }, n));
4295
+ }, Fi = (e = {}) => {
4296
4296
  var t = e, {
4297
- locale: r = ne()
4298
- } = t, n = ve(t, [
4297
+ locale: r = k()
4298
+ } = t, n = se(t, [
4299
4299
  "locale"
4300
4300
  ]);
4301
- return zi(xt({ locale: r }, n));
4302
- }, qi = (e = {}) => {
4301
+ return Ui(lt({ locale: r }, n));
4302
+ }, ji = (e = {}) => {
4303
4303
  var t = e, {
4304
- locale: r = ne()
4305
- } = t, n = ve(t, [
4304
+ locale: r = k()
4305
+ } = t, n = se(t, [
4306
4306
  "locale"
4307
4307
  ]);
4308
- return Zi(xt({ locale: r }, n));
4309
- }, Yi = We(
4308
+ return $i(lt({ locale: r }, n));
4309
+ }, ki = Ce(
4310
4310
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4311
- (e, t = ne()) => new Ti(e, t, be().formats, {
4312
- ignoreTag: be().ignoreTag
4311
+ (e, t = k()) => new bi(e, t, ee().formats, {
4312
+ ignoreTag: ee().ignoreTag
4313
4313
  })
4314
- ), Ki = (e, t = {}) => {
4315
- var r, n, i, o;
4316
- let s = t;
4317
- typeof e == "object" && (s = e, e = s.id);
4314
+ ), Vi = (e, t = {}) => {
4315
+ var r, n, i, s;
4316
+ let o = t;
4317
+ typeof e == "object" && (o = e, e = o.id);
4318
4318
  const {
4319
4319
  values: a,
4320
- locale: h = ne(),
4321
- default: l
4322
- } = s;
4320
+ locale: h = k(),
4321
+ default: u
4322
+ } = o;
4323
4323
  if (h == null)
4324
4324
  throw new Error(
4325
4325
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4326
4326
  );
4327
- let u = Pr(e, h);
4328
- if (!u)
4329
- u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4330
- else if (typeof u != "string")
4327
+ let l = mr(e, h);
4328
+ if (!l)
4329
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4330
+ else if (typeof l != "string")
4331
4331
  return console.warn(
4332
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4333
- ), u;
4332
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4333
+ ), l;
4334
4334
  if (!a)
4335
- return u;
4336
- let p = u;
4335
+ return l;
4336
+ let m = l;
4337
4337
  try {
4338
- p = Yi(u, h).format(a);
4338
+ m = ki(l, h).format(a);
4339
4339
  } catch (c) {
4340
4340
  c instanceof Error && console.warn(
4341
4341
  `[svelte-i18n] Message "${e}" has syntax error:`,
4342
4342
  c.message
4343
4343
  );
4344
4344
  }
4345
- return p;
4346
- }, eo = (e, t) => qi(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t = ne()) => Pr(e, t), io = ge([re, ye], () => Ki);
4347
- ge([re], () => eo);
4348
- ge([re], () => to);
4349
- ge([re], () => ro);
4350
- ge([re, ye], () => no);
4351
- window.emWidgets = { topic: bn };
4352
- const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), so = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4353
- function Fo(e, t) {
4345
+ return m;
4346
+ }, Xi = (e, t) => ji(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => mr(e, t), Qi = ne([ie, pe], () => Vi);
4347
+ ne([ie], () => Xi);
4348
+ ne([ie], () => Wi);
4349
+ ne([ie], () => zi);
4350
+ ne([ie, pe], () => Zi);
4351
+ window.emWidgets = { topic: an };
4352
+ const Ji = (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)), Yi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4353
+ function Ps(e, t) {
4354
4354
  const r = window.navigator.userAgent;
4355
- return oo(r) ? t = e.filter((n) => {
4355
+ return Ji(r) ? t = e.filter((n) => {
4356
4356
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4357
4357
  return n;
4358
4358
  }) : t = e.filter((n) => {
@@ -4361,13 +4361,20 @@ function Fo(e, t) {
4361
4361
  }), t;
4362
4362
  }
4363
4363
  String(Number.MAX_SAFE_INTEGER).length;
4364
- function ao(e, t) {
4364
+ function qi(e, t) {
4365
+ pr(e, t);
4366
+ }
4367
+ function Ki(e) {
4368
+ ie.set(e);
4369
+ }
4370
+ const Q = "__WIDGET_GLOBAL_STYLE_CACHE__";
4371
+ function es(e, t) {
4365
4372
  if (e) {
4366
4373
  const r = document.createElement("style");
4367
4374
  r.innerHTML = t, e.appendChild(r);
4368
4375
  }
4369
4376
  }
4370
- function lo(e, t) {
4377
+ function ts(e, t) {
4371
4378
  if (!e || !t)
4372
4379
  return;
4373
4380
  const r = new URL(t);
@@ -4378,700 +4385,698 @@ function lo(e, t) {
4378
4385
  console.error("There was an error while trying to load client styling from URL", n);
4379
4386
  });
4380
4387
  }
4381
- function uo(e, t, r) {
4382
- if (window.emMessageBus) {
4383
- const n = document.createElement("style");
4384
- window.emMessageBus.subscribe(t, (i) => {
4385
- n.innerHTML = i, e && e.appendChild(n);
4386
- });
4387
- }
4388
+ function rs(e, t, r, n = !1) {
4389
+ if (!window.emMessageBus)
4390
+ return;
4391
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4392
+ return r = ns(e, t), r;
4393
+ window[Q] || (window[Q] = {}), r = is(e, t);
4394
+ const s = r.unsubscribe.bind(r), o = () => {
4395
+ if (window[Q][t]) {
4396
+ const a = window[Q][t];
4397
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Q][t];
4398
+ }
4399
+ s();
4400
+ };
4401
+ return r.unsubscribe = o, r;
4388
4402
  }
4389
- function ho({ withLocale: e, translations: t }) {
4390
- re.subscribe((r) => {
4391
- r == null && (ye.set(t), re.set(e));
4403
+ function ns(e, t) {
4404
+ const r = document.createElement("style");
4405
+ return window.emMessageBus.subscribe(t, (n) => {
4406
+ e && (r.innerHTML = n, e.appendChild(r));
4392
4407
  });
4393
4408
  }
4394
- function zt(e, t) {
4395
- Fr(e, t);
4409
+ function is(e, t) {
4410
+ return window.emMessageBus.subscribe(t, (r) => {
4411
+ if (!e)
4412
+ return;
4413
+ const n = e.getRootNode(), i = window[Q];
4414
+ let s = i[t]?.sheet;
4415
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
4416
+ sheet: s,
4417
+ refCount: 1
4418
+ });
4419
+ const o = n.adoptedStyleSheets || [];
4420
+ o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
4421
+ });
4396
4422
  }
4397
- const Zt = {
4423
+ const ss = {
4398
4424
  en: {
4399
- providers: "Providers:",
4400
- filterby: "Filter by:",
4401
- all: "All",
4402
- clear: "Clear all"
4425
+ noGames: "No games in most played"
4403
4426
  },
4404
- zh: {
4405
- providers: "Providers:",
4406
- filterby: "Filter by",
4407
- all: "all",
4408
- clear: "Clear all"
4427
+ "zh-hk": {
4428
+ noGames: "No games in most played"
4409
4429
  },
4410
4430
  de: {
4411
- providers: "Providers:",
4412
- filterby: "Filter by:",
4413
- all: "all",
4414
- clear: "Clear all"
4431
+ noGames: "No games in most played"
4415
4432
  },
4416
4433
  it: {
4417
- providers: "Providers:",
4418
- filterby: "Filter by:",
4419
- all: "all",
4420
- clear: "Clear all"
4434
+ noGames: "No games in most played"
4421
4435
  },
4422
4436
  fr: {
4423
- providers: "Providers:",
4424
- filterby: "Filter by:",
4425
- all: "all",
4426
- clear: "Clear all"
4437
+ noGames: "No games in most played"
4427
4438
  },
4428
4439
  es: {
4429
- providers: "Proveedores:",
4430
- filterby: "Filtrar Por:",
4431
- all: "Todos",
4432
- clear: "Limpiar todos"
4440
+ noGames: "No hay juegos en más jugados."
4433
4441
  },
4434
4442
  tr: {
4435
- providers: "Sağlayıcılar:",
4436
- filterby: "Filtrele:",
4437
- all: "Hepsi",
4438
- clear: "Tümünü Temizle"
4443
+ noGames: "En çok oynananlarda oyun yok"
4439
4444
  },
4440
4445
  ru: {
4441
- providers: "Providers:",
4442
- filterby: "Filter by:",
4443
- all: "all",
4444
- clear: "Clear all"
4446
+ noGames: "No games in most played"
4445
4447
  },
4446
4448
  ro: {
4447
- providers: "Providers:",
4448
- filterby: "Filter by:",
4449
- all: "all",
4450
- clear: "Clear all"
4449
+ noGames: "No games in most played"
4451
4450
  },
4452
4451
  hr: {
4453
- providers: "Brendovi igara",
4454
- filterby: "Filtrirati po:",
4455
- all: "Sve",
4456
- clear: "Očisti sve"
4452
+ noGames: "Nema igara u najigranijim"
4457
4453
  },
4458
4454
  hu: {
4459
- providers: "Providers:",
4460
- filterby: "Filter by:",
4461
- all: "all",
4462
- clear: "Clear all"
4455
+ noGames: "No games in most played"
4463
4456
  },
4464
4457
  pl: {
4465
- providers: "Providers:",
4466
- filterby: "Filter by:",
4467
- all: "all",
4468
- clear: "Clear all"
4458
+ noGames: "No games in most played"
4469
4459
  },
4470
4460
  pt: {
4471
- providers: "Providers:",
4472
- filterby: "Filter by:",
4473
- all: "all",
4474
- clear: "Clear all"
4461
+ noGames: "No games in most played"
4475
4462
  },
4476
4463
  sl: {
4477
- providers: "Providers:",
4478
- filterby: "Filter by:",
4479
- all: "all",
4480
- clear: "Clear all"
4464
+ noGames: "No games in most played"
4481
4465
  },
4482
4466
  sr: {
4483
- providers: "Providers:",
4484
- filterby: "Filter by:",
4485
- all: "all",
4486
- clear: "Clear all"
4467
+ noGames: "No games in most played"
4487
4468
  },
4488
4469
  "pt-br": {
4489
- providers: "Provedores:",
4490
- filterby: "Filtrar por",
4491
- all: "Tudo",
4492
- clear: "Apagar tudo"
4470
+ noGames: "Não há jogos nos mais jogados"
4493
4471
  },
4494
4472
  "es-mx": {
4495
- providers: "Proveedores:",
4496
- filterby: "Filtrar por",
4497
- all: "Todo",
4498
- clear: "Borrar todo"
4473
+ noGames: "No hay juegos en los más jugados"
4499
4474
  },
4500
4475
  "en-us": {
4501
- providers: "Providers:",
4502
- filterby: "Filter by:",
4503
- all: "All",
4504
- clear: "Clear all"
4476
+ noGames: "No games in most played"
4505
4477
  }
4506
4478
  };
4507
- function co(e) {
4508
- 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%}}');
4509
- }
4510
- function Jt(e, t, r) {
4511
- const n = e.slice();
4512
- return n[37] = t[r], n[38] = t, n[39] = r, n;
4513
- }
4514
- function fo(e) {
4515
- let t, r, n, i, o, s, a, h, l = (
4516
- /*$_*/
4517
- e[11]("filterby") + ""
4518
- ), u, p, c, m, v = (
4519
- /*$_*/
4520
- e[11]("providers") + ""
4521
- ), y, T, H, S, b, I, L, M, A, P, N, z, j, Y = (
4522
- /*$_*/
4523
- e[11]("clear") + ""
4524
- ), ie, K, oe, ee, se, Ae;
4525
- function Pe(d, C) {
4526
- return (
4527
- /*fullSelection*/
4528
- d[7] ? bo : mo
4529
- );
4530
- }
4531
- let ae = Pe(e), U = ae(e), J = Ht(
4532
- /*vendorArray*/
4533
- e[5]
4534
- ), f = [];
4535
- for (let d = 0; d < J.length; d += 1)
4536
- f[d] = Qt(Jt(e, J, d));
4537
- return {
4538
- c() {
4539
- t = B("div"), r = B("div"), n = B("div"), i = xe("svg"), o = xe("path"), s = V(), a = B("div"), h = B("span"), u = D(l), p = V(), c = B("div"), m = B("span"), y = D(v), T = V(), U.c(), H = V(), S = B("span"), b = xe("svg"), I = xe("path"), A = V(), P = B("div"), N = B("ul");
4540
- for (let d = 0; d < f.length; d += 1)
4541
- f[d].c();
4542
- z = V(), j = B("button"), ie = D(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*/
4543
- (e[4] ? "TriangleActive" : "")), g(r, "class", M = "FilterSelector " + /*isFilterActive*/
4544
- (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4545
- e[7] && /*selectedVendorArray*/
4546
- e[6].length != /*vendorArray*/
4547
- e[5].length, g(P, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4548
- (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4549
- (e[0] == "true" && /*addsortingselector*/
4550
- e[1] == "true" ? "FilerContainerSplit" : ""));
4551
- },
4552
- m(d, C) {
4553
- W(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
4554
- for (let x = 0; x < f.length; x += 1)
4555
- f[x] && f[x].m(N, null);
4556
- _(P, z), _(P, j), _(j, ie), se || (Ae = [
4557
- Re(
4558
- r,
4559
- "click",
4560
- /*click_handler*/
4561
- e[24]
4562
- ),
4563
- Re(
4564
- j,
4565
- "click",
4566
- /*click_handler_2*/
4567
- e[27]
4568
- )
4569
- ], se = !0);
4570
- },
4571
- p(d, C) {
4572
- if (C[0] & /*$_*/
4573
- 2048 && l !== (l = /*$_*/
4574
- d[11]("filterby") + "") && te(u, l), C[0] & /*$_*/
4575
- 2048 && v !== (v = /*$_*/
4576
- d[11]("providers") + "") && te(y, v), ae === (ae = Pe(d)) && U ? U.p(d, C) : (U.d(1), U = ae(d), U && (U.c(), U.m(c, null))), C[0] & /*isFilterActive*/
4577
- 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4578
- (d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
4579
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4580
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", M), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4581
- 8228) {
4582
- J = Ht(
4583
- /*vendorArray*/
4584
- d[5]
4585
- );
4586
- let x;
4587
- for (x = 0; x < J.length; x += 1) {
4588
- const le = Jt(d, J, x);
4589
- f[x] ? f[x].p(le, C) : (f[x] = Qt(le), f[x].c(), f[x].m(N, null));
4590
- }
4591
- for (; x < f.length; x += 1)
4592
- f[x].d(1);
4593
- f.length = J.length;
4479
+ if (typeof window < "u") {
4480
+ let e = function(t) {
4481
+ return function(...r) {
4482
+ try {
4483
+ return t.apply(this, r);
4484
+ } catch (n) {
4485
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4486
+ return !1;
4487
+ throw n;
4594
4488
  }
4595
- C[0] & /*$_*/
4596
- 2048 && Y !== (Y = /*$_*/
4597
- d[11]("clear") + "") && te(ie, Y), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4598
- 224 && K !== (K = /*fullSelection*/
4599
- d[7] && /*selectedVendorArray*/
4600
- d[6].length != /*vendorArray*/
4601
- d[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4602
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4603
- (d[4] ? "FilterOpen" : "")) && g(P, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4604
- 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4605
- (d[0] == "true" && /*addsortingselector*/
4606
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4607
- },
4608
- d(d) {
4609
- d && k(t), U.d(), kr(f, d), se = !1, q(Ae);
4610
- }
4489
+ };
4611
4490
  };
4491
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-DZ6vhOEX.js").then((t) => t.C).then(({ default: t }) => {
4492
+ !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
4493
+ });
4612
4494
  }
4613
- function po(e) {
4614
- let t, r = (
4615
- /*$_*/
4616
- e[11]("500") + ""
4617
- );
4618
- return {
4619
- c() {
4620
- t = B("p"), g(t, "class", "SearchLoading");
4621
- },
4622
- m(n, i) {
4623
- W(n, t, i), t.innerHTML = r;
4624
- },
4625
- p(n, i) {
4626
- i[0] & /*$_*/
4627
- 2048 && r !== (r = /*$_*/
4628
- n[11]("500") + "") && (t.innerHTML = r);
4629
- },
4630
- d(n) {
4631
- n && k(t);
4632
- }
4633
- };
4495
+ function os(e, t, r) {
4496
+ return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
4634
4497
  }
4635
- function mo(e) {
4636
- let t, r;
4498
+ function as(e) {
4499
+ Br(e, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
4500
+ }
4501
+ function us(e) {
4502
+ let t;
4637
4503
  return {
4638
4504
  c() {
4639
- t = B("span"), r = D(
4640
- /*selectionNumber*/
4505
+ t = j("casino-games-category-section-nd"), p(
4506
+ t,
4507
+ "session",
4508
+ /*session*/
4509
+ e[4]
4510
+ ), p(
4511
+ t,
4512
+ "userid",
4513
+ /*userid*/
4514
+ e[5]
4515
+ ), p(
4516
+ t,
4517
+ "endpoint",
4518
+ /*endpoint*/
4519
+ e[0]
4520
+ ), p(
4521
+ t,
4522
+ "datasource",
4523
+ /*datasource*/
4524
+ e[1]
4525
+ ), p(
4526
+ t,
4527
+ "lang",
4528
+ /*lang*/
4529
+ e[3]
4530
+ ), p(
4531
+ t,
4532
+ "currency",
4533
+ /*currency*/
4534
+ e[2]
4535
+ ), p(
4536
+ t,
4537
+ "favorites",
4538
+ /*favorites*/
4539
+ e[15]
4540
+ ), p(
4541
+ t,
4542
+ "fetchviaevent",
4543
+ /*fetchviaevent*/
4544
+ e[18]
4545
+ ), p(t, "categoryid", "MOSTPLAYED"), p(t, "categoryindex", "1"), p(t, "categorygames", "9"), p(t, "class", "CategoryContainer"), p(
4546
+ t,
4547
+ "showgamename",
4548
+ /*showgamename*/
4549
+ e[13]
4550
+ ), p(
4551
+ t,
4552
+ "clientstyling",
4553
+ /*clientstyling*/
4554
+ e[7]
4555
+ ), p(
4556
+ t,
4557
+ "clientstylingurl",
4558
+ /*clientstylingurl*/
4641
4559
  e[8]
4642
- ), g(t, "class", "FilterCounter");
4560
+ ), p(
4561
+ t,
4562
+ "translationurl",
4563
+ /*translationurl*/
4564
+ e[16]
4565
+ ), p(
4566
+ t,
4567
+ "livecasino",
4568
+ /*livecasino*/
4569
+ e[9]
4570
+ ), p(
4571
+ t,
4572
+ "visiblegames",
4573
+ /*visiblegames*/
4574
+ e[14]
4575
+ ), p(
4576
+ t,
4577
+ "gamepagemodalurl",
4578
+ /*gamepagemodalurl*/
4579
+ e[12]
4580
+ ), p(
4581
+ t,
4582
+ "integratedgameframedesktop",
4583
+ /*integratedgameframedesktop*/
4584
+ e[11]
4585
+ ), p(
4586
+ t,
4587
+ "integratedgameframemobile",
4588
+ /*integratedgameframemobile*/
4589
+ e[10]
4590
+ ), p(
4591
+ t,
4592
+ "casinomygames",
4593
+ /*casinomygames*/
4594
+ e[17]
4595
+ ), p(
4596
+ t,
4597
+ "mbsource",
4598
+ /*mbsource*/
4599
+ e[6]
4600
+ );
4643
4601
  },
4644
- m(n, i) {
4645
- W(n, t, i), _(t, r);
4602
+ m(r, n) {
4603
+ me(r, t, n);
4646
4604
  },
4647
- p(n, i) {
4648
- i[0] & /*selectionNumber*/
4649
- 256 && te(
4650
- r,
4651
- /*selectionNumber*/
4652
- n[8]
4605
+ p(r, n) {
4606
+ n[0] & /*session*/
4607
+ 16 && p(
4608
+ t,
4609
+ "session",
4610
+ /*session*/
4611
+ r[4]
4612
+ ), n[0] & /*userid*/
4613
+ 32 && p(
4614
+ t,
4615
+ "userid",
4616
+ /*userid*/
4617
+ r[5]
4618
+ ), n[0] & /*endpoint*/
4619
+ 1 && p(
4620
+ t,
4621
+ "endpoint",
4622
+ /*endpoint*/
4623
+ r[0]
4624
+ ), n[0] & /*datasource*/
4625
+ 2 && p(
4626
+ t,
4627
+ "datasource",
4628
+ /*datasource*/
4629
+ r[1]
4630
+ ), n[0] & /*lang*/
4631
+ 8 && p(
4632
+ t,
4633
+ "lang",
4634
+ /*lang*/
4635
+ r[3]
4636
+ ), n[0] & /*currency*/
4637
+ 4 && p(
4638
+ t,
4639
+ "currency",
4640
+ /*currency*/
4641
+ r[2]
4642
+ ), n[0] & /*favorites*/
4643
+ 32768 && p(
4644
+ t,
4645
+ "favorites",
4646
+ /*favorites*/
4647
+ r[15]
4648
+ ), n[0] & /*fetchviaevent*/
4649
+ 262144 && p(
4650
+ t,
4651
+ "fetchviaevent",
4652
+ /*fetchviaevent*/
4653
+ r[18]
4654
+ ), n[0] & /*showgamename*/
4655
+ 8192 && p(
4656
+ t,
4657
+ "showgamename",
4658
+ /*showgamename*/
4659
+ r[13]
4660
+ ), n[0] & /*clientstyling*/
4661
+ 128 && p(
4662
+ t,
4663
+ "clientstyling",
4664
+ /*clientstyling*/
4665
+ r[7]
4666
+ ), n[0] & /*clientstylingurl*/
4667
+ 256 && p(
4668
+ t,
4669
+ "clientstylingurl",
4670
+ /*clientstylingurl*/
4671
+ r[8]
4672
+ ), n[0] & /*translationurl*/
4673
+ 65536 && p(
4674
+ t,
4675
+ "translationurl",
4676
+ /*translationurl*/
4677
+ r[16]
4678
+ ), n[0] & /*livecasino*/
4679
+ 512 && p(
4680
+ t,
4681
+ "livecasino",
4682
+ /*livecasino*/
4683
+ r[9]
4684
+ ), n[0] & /*visiblegames*/
4685
+ 16384 && p(
4686
+ t,
4687
+ "visiblegames",
4688
+ /*visiblegames*/
4689
+ r[14]
4690
+ ), n[0] & /*gamepagemodalurl*/
4691
+ 4096 && p(
4692
+ t,
4693
+ "gamepagemodalurl",
4694
+ /*gamepagemodalurl*/
4695
+ r[12]
4696
+ ), n[0] & /*integratedgameframedesktop*/
4697
+ 2048 && p(
4698
+ t,
4699
+ "integratedgameframedesktop",
4700
+ /*integratedgameframedesktop*/
4701
+ r[11]
4702
+ ), n[0] & /*integratedgameframemobile*/
4703
+ 1024 && p(
4704
+ t,
4705
+ "integratedgameframemobile",
4706
+ /*integratedgameframemobile*/
4707
+ r[10]
4708
+ ), n[0] & /*casinomygames*/
4709
+ 131072 && p(
4710
+ t,
4711
+ "casinomygames",
4712
+ /*casinomygames*/
4713
+ r[17]
4714
+ ), n[0] & /*mbsource*/
4715
+ 64 && p(
4716
+ t,
4717
+ "mbsource",
4718
+ /*mbsource*/
4719
+ r[6]
4653
4720
  );
4654
4721
  },
4655
- d(n) {
4656
- n && k(t);
4722
+ d(r) {
4723
+ r && re(t);
4657
4724
  }
4658
4725
  };
4659
4726
  }
4660
- function bo(e) {
4727
+ function hs(e) {
4661
4728
  let t, r = (
4662
4729
  /*$_*/
4663
- e[11]("all") + ""
4730
+ e[21]("noGames") + ""
4664
4731
  ), n;
4665
4732
  return {
4666
4733
  c() {
4667
- t = B("span"), n = D(r), g(t, "class", "FilterCounter");
4734
+ t = j("p"), n = ut(r), he(t, "class", "SearchLoading");
4668
4735
  },
4669
- m(i, o) {
4670
- W(i, t, o), _(t, n);
4736
+ m(i, s) {
4737
+ me(i, t, s), at(t, n);
4671
4738
  },
4672
- p(i, o) {
4673
- o[0] & /*$_*/
4674
- 2048 && r !== (r = /*$_*/
4675
- i[11]("all") + "") && te(n, r);
4739
+ p(i, s) {
4740
+ s[0] & /*$_*/
4741
+ 2097152 && r !== (r = /*$_*/
4742
+ i[21]("noGames") + "") && Ir(n, r);
4676
4743
  },
4677
4744
  d(i) {
4678
- i && k(t);
4745
+ i && re(t);
4679
4746
  }
4680
4747
  };
4681
4748
  }
4682
- function go(e) {
4749
+ function ls(e) {
4683
4750
  let t, r;
4684
- return {
4685
- c() {
4686
- t = B("img"), wt(t.src, r = /*vendor*/
4687
- e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4688
- },
4689
- m(n, i) {
4690
- W(n, t, i);
4691
- },
4692
- p(n, i) {
4693
- i[0] & /*vendorArray*/
4694
- 32 && !wt(t.src, r = /*vendor*/
4695
- n[37].logo) && g(t, "src", r);
4696
- },
4697
- d(n) {
4698
- n && k(t);
4699
- }
4700
- };
4701
- }
4702
- function yo(e) {
4703
- let t, r, n = (
4704
- /*vendor*/
4705
- e[37].name + ""
4706
- ), i, o, s, a, h = (
4707
- /*vendor*/
4708
- e[37].games.total + ""
4709
- ), l, u;
4710
- return {
4711
- c() {
4712
- t = B("div"), r = B("span"), i = D(n), o = V(), s = B("span"), a = D("("), l = D(h), u = D(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4713
- },
4714
- m(p, c) {
4715
- W(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4716
- },
4717
- p(p, c) {
4718
- c[0] & /*vendorArray*/
4719
- 32 && n !== (n = /*vendor*/
4720
- p[37].name + "") && te(i, n), c[0] & /*vendorArray*/
4721
- 32 && h !== (h = /*vendor*/
4722
- p[37].games.total + "") && te(l, h);
4723
- },
4724
- d(p) {
4725
- p && k(t);
4726
- }
4727
- };
4728
- }
4729
- function Qt(e) {
4730
- let t, r, n, i, o, s, a, h, l, u, p, c;
4731
- function m() {
4732
- e[25].call(
4733
- n,
4734
- /*each_value*/
4735
- e[38],
4736
- /*vendor_index*/
4737
- e[39]
4738
- );
4739
- }
4740
- function v() {
4751
+ function n(o, a) {
4741
4752
  return (
4742
- /*click_handler_1*/
4743
- e[26](
4744
- /*vendor*/
4745
- e[37]
4746
- )
4753
+ /*mostPlayedEmpty*/
4754
+ o[20] ? hs : us
4747
4755
  );
4748
4756
  }
4749
- function y(S, b) {
4750
- if (
4751
- /*filterbylogo*/
4752
- S[2] === "false"
4753
- )
4754
- return yo;
4755
- if (
4756
- /*filterbylogo*/
4757
- S[2] === "true"
4758
- )
4759
- return go;
4760
- }
4761
- let T = y(e), H = T && T(e);
4757
+ let i = n(e), s = i(e);
4762
4758
  return {
4763
4759
  c() {
4764
- t = B("li"), r = B("label"), n = B("input"), o = V(), s = B("span"), a = V(), H && H.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4765
- e[37].name, St(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4766
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4767
- e[37].name;
4760
+ t = j("div"), r = j("div"), s.c(), he(r, "class", "casino-most-played-section"), he(t, "class", "CasinoGamesCategorySectionContainer");
4768
4761
  },
4769
- m(S, b) {
4770
- W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4771
- e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, h), p || (c = [
4772
- Re(n, "change", m),
4773
- Re(n, "click", v)
4774
- ], p = !0);
4762
+ m(o, a) {
4763
+ me(o, t, a), at(t, r), s.m(r, null), e[24](t);
4775
4764
  },
4776
- p(S, b) {
4777
- e = S, b[0] & /*vendorArray*/
4778
- 32 && i !== (i = /*vendor*/
4779
- e[37].name) && (n.__value = i, St(n, n.__value)), b[0] & /*vendorArray*/
4780
- 32 && (n.checked = /*vendor*/
4781
- e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4782
- 4 && l !== (l = "FilterItem " + /*filterbylogo*/
4783
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4784
- 32 && u !== (u = /*vendor*/
4785
- e[37].name) && (t.value = u);
4765
+ p(o, a) {
4766
+ i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
4786
4767
  },
4787
- d(S) {
4788
- S && k(t), H && H.d(), p = !1, q(c);
4789
- }
4790
- };
4791
- }
4792
- function vo(e) {
4793
- let t;
4794
- function r(o, s) {
4795
- if (
4796
- /*hasErrors*/
4797
- o[10]
4798
- )
4799
- return po;
4800
- if (!/*isLoading*/
4801
- o[9])
4802
- return fo;
4803
- }
4804
- let n = r(e), i = n && n(e);
4805
- return {
4806
- c() {
4807
- t = B("div"), i && i.c();
4808
- },
4809
- m(o, s) {
4810
- W(o, t, s), i && i.m(t, null), e[28](t);
4811
- },
4812
- p(o, s) {
4813
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4814
- },
4815
- i: G,
4816
- o: G,
4768
+ i: M,
4769
+ o: M,
4817
4770
  d(o) {
4818
- o && k(t), i && i.d(), e[28](null);
4771
+ o && re(t), s.d(), e[24](null);
4819
4772
  }
4820
4773
  };
4821
4774
  }
4822
- function _o(e, t, r) {
4775
+ function cs(e, t, r) {
4823
4776
  let n;
4824
- $r(e, io, (f) => r(11, n = f));
4825
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, M = 0, A = !0, P, N = !1;
4826
- ho({ withLocale: "en", translations: {} });
4827
- const z = () => {
4828
- fetch(a).then((d) => d.json()).then((d) => {
4829
- Object.keys(d).forEach((C) => {
4830
- zt(C, d[C]);
4831
- });
4832
- }).catch((d) => {
4833
- console.log(d);
4777
+ Ar(e, Qi, (f) => r(21, n = f));
4778
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { currency: o = "" } = t, { lang: a = "" } = t, { session: h = "" } = t, { userid: u = "" } = t, { mbsource: l } = t, { clientstyling: m = "" } = t, { clientstylingurl: c = "" } = t, { livecasino: d = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: v = "false" } = t, { gamepagemodalurl: T = "false" } = t, { showgamename: C = "" } = t, { visiblegames: A } = t, { favorites: H = "" } = t, { translationurl: B = "" } = t, { casinomygames: O = "false" } = t, { mostplayedperiod: L = "Last30Days" } = t, { mostplayedrounds: _ = "10" } = t, { fetchviaevent: N = "true" } = t, I = window.navigator.userAgent, V;
4779
+ const Le = (f) => {
4780
+ Object.keys(f).forEach((x) => {
4781
+ qi(x, f[x]);
4834
4782
  });
4835
- };
4836
- Object.keys(Zt).forEach((f) => {
4837
- zt(f, Zt[f]);
4838
- }), I[u] && (I = { [u]: [] });
4839
- const j = () => {
4840
- r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4841
- }, Y = (f) => (r(9, A = !0), new Promise((d, C) => {
4842
- fetch(f).then((x) => x.json()).then((x) => {
4843
- x = x.items, d(x.items), r(6, b = []);
4844
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4845
- const Mr = y === "true" ? "*" : u;
4846
- x.forEach((Be) => {
4847
- le || (le = { currentCategoryId: [] }), le[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, b.push(Be)) : Be.isFilterSelected = !1;
4848
- }), r(5, S = x), K();
4783
+ }, _r = () => {
4784
+ fetch(B).then((x) => x.json()).then((x) => {
4785
+ Le(x);
4849
4786
  }).catch((x) => {
4850
- console.error(x), r(10, N = !0), C(x);
4851
- }).finally(() => {
4852
- r(9, A = !1);
4787
+ console.log(x);
4853
4788
  });
4854
- })), ie = (f) => {
4855
- let d = localStorage.getItem("vendorFiltersByCategory");
4856
- 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));
4857
- const C = y === "true" ? "*" : u;
4858
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4859
- [C]: b.map((x) => x.id)
4860
- })) : (d = JSON.parse(d), d[C] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4861
- }, K = () => {
4862
- r(7, L = b.length === S.length || b.length == 0), r(8, M = b.length);
4863
- }, oe = () => {
4864
- if (S.length && y === "true")
4865
- return;
4866
- const f = new URL(`${i}/v1/casino/vendors`);
4867
- r(4, T = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", so(H)), y === "true" || ((u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`)), Y(f);
4868
- }, ee = () => {
4869
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4870
- [y === "true" ? "*" : u]: b.map((f) => f.id)
4871
- })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4872
- }, se = (f) => {
4873
- f.data.type == "SortingOpened" && r(4, T = !1);
4874
4789
  };
4875
- Xr(() => (window.addEventListener("message", se, !1), () => {
4876
- window.removeEventListener("message", se);
4877
- }));
4878
- const Ae = () => j();
4879
- function Pe(f, d) {
4880
- f[d].isFilterSelected = this.checked, r(5, S);
4881
- }
4882
- const ae = (f) => ie(f), U = () => ee();
4883
- function J(f) {
4884
- tt[f ? "unshift" : "push"](() => {
4885
- P = f, r(3, P);
4790
+ Le(ss);
4791
+ let be = [], ct, ft = !1, G, Er;
4792
+ const xr = (f) => {
4793
+ let x = new URL(`${i}/v1/player/${u}/games/most-played`);
4794
+ f.limit && x.searchParams.append("limit", f.limit), f.order && x.searchParams.append("order", f.order), x.searchParams.append("expand", "games"), x.searchParams.append("period", L);
4795
+ let X = f.device;
4796
+ return X ? X === "PC" ? x.searchParams.append("device", "Desktop") : x.searchParams.append("device", "Mobile") : x.searchParams.append("device", "All"), f.rounds && x.searchParams.append("rounds", f.rounds), ct = d ? x : x.href, new Promise((U, oe) => {
4797
+ fetch(ct).then(($) => $.json()).then(($) => {
4798
+ $.items = $.items.filter((Hr) => {
4799
+ let mt = !0;
4800
+ return Hr.gameCode == "OddsMatrix2" && ($.count--, mt = !1), mt;
4801
+ }), U($);
4802
+ }).catch(($) => {
4803
+ console.error($), oe($);
4804
+ });
4805
+ });
4806
+ }, Sr = () => {
4807
+ xr({
4808
+ limit: 100,
4809
+ device: Yi(I),
4810
+ rounds: _
4811
+ }).then((f) => {
4812
+ if (f.count > 0) {
4813
+ let x = [];
4814
+ f.items.forEach((X) => {
4815
+ let U = new URL(`${i}/v1/casino/games/${X.gameId}`);
4816
+ U.searchParams.append("datasource", s), d ? x.push(fetch(U.href).then((oe) => oe.json())) : x.push(fetch(U.href).then((oe) => oe.json()));
4817
+ }), Promise.all(x).then((X) => {
4818
+ be = X.filter((U) => !("error" in U)).map((U) => U[0]), O === "true" && (be = be.slice(0, JSON.parse(A))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: be }, window.location.href);
4819
+ });
4820
+ } else
4821
+ r(20, ft = !0);
4822
+ });
4823
+ }, wr = () => {
4824
+ Ki(a);
4825
+ };
4826
+ Rr(() => () => {
4827
+ });
4828
+ function Tr(f) {
4829
+ je[f ? "unshift" : "push"](() => {
4830
+ G = f, r(19, G);
4886
4831
  });
4887
4832
  }
4888
4833
  return e.$$set = (f) => {
4889
- "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
4834
+ "endpoint" in f && r(0, i = f.endpoint), "datasource" in f && r(1, s = f.datasource), "currency" in f && r(2, o = f.currency), "lang" in f && r(3, a = f.lang), "session" in f && r(4, h = f.session), "userid" in f && r(5, u = f.userid), "mbsource" in f && r(6, l = f.mbsource), "clientstyling" in f && r(7, m = f.clientstyling), "clientstylingurl" in f && r(8, c = f.clientstylingurl), "livecasino" in f && r(9, d = f.livecasino), "integratedgameframemobile" in f && r(10, b = f.integratedgameframemobile), "integratedgameframedesktop" in f && r(11, v = f.integratedgameframedesktop), "gamepagemodalurl" in f && r(12, T = f.gamepagemodalurl), "showgamename" in f && r(13, C = f.showgamename), "visiblegames" in f && r(14, A = f.visiblegames), "favorites" in f && r(15, H = f.favorites), "translationurl" in f && r(16, B = f.translationurl), "casinomygames" in f && r(17, O = f.casinomygames), "mostplayedperiod" in f && r(22, L = f.mostplayedperiod), "mostplayedrounds" in f && r(23, _ = f.mostplayedrounds), "fetchviaevent" in f && r(18, N = f.fetchviaevent);
4890
4835
  }, e.$$.update = () => {
4891
- e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4892
- 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4893
- 524296 && h && P && ao(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4894
- 1048584 && l && P && lo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4895
- 4194312 && P && uo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4896
- 262144 && a && z();
4836
+ e.$$.dirty[0] & /*endpoint, userid, lang*/
4837
+ 41 && i && u && a && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4838
+ 524416 && m && G && es(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4839
+ 524544 && c && G && ts(G, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4840
+ 524352 && l && G && rs(G, `${l}.Style`, Er), e.$$.dirty[0] & /*mbsource, translationurl*/
4841
+ 65600 && l && !B && os(`${l}.Translation`, V, Le), e.$$.dirty[0] & /*translationurl*/
4842
+ 65536 && B && _r(), e.$$.dirty[0] & /*lang*/
4843
+ 8 && a && wr();
4897
4844
  }, [
4898
- p,
4899
- c,
4900
- m,
4901
- P,
4902
- T,
4903
- S,
4904
- b,
4905
- L,
4906
- M,
4907
- A,
4908
- N,
4909
- n,
4910
- j,
4911
- ie,
4912
- ee,
4913
4845
  i,
4914
- o,
4915
4846
  s,
4847
+ o,
4916
4848
  a,
4917
4849
  h,
4918
- l,
4919
4850
  u,
4851
+ l,
4852
+ m,
4853
+ c,
4854
+ d,
4855
+ b,
4920
4856
  v,
4921
- y,
4922
- Ae,
4923
- Pe,
4924
- ae,
4925
- U,
4926
- J
4857
+ T,
4858
+ C,
4859
+ A,
4860
+ H,
4861
+ B,
4862
+ O,
4863
+ N,
4864
+ G,
4865
+ ft,
4866
+ n,
4867
+ L,
4868
+ _,
4869
+ Tr
4927
4870
  ];
4928
4871
  }
4929
- class Nr extends en {
4872
+ class fs extends Xr {
4930
4873
  constructor(t) {
4931
- super(), Yr(
4874
+ super(), kr(
4932
4875
  this,
4933
4876
  t,
4934
- _o,
4935
- vo,
4936
- Yt,
4877
+ cs,
4878
+ ls,
4879
+ Gt,
4937
4880
  {
4938
- endpoint: 15,
4939
- datasource: 16,
4940
- lang: 17,
4941
- translationurl: 18,
4942
- clientstyling: 19,
4943
- clientstylingurl: 20,
4944
- categoryid: 21,
4945
- addfilterselector: 0,
4946
- addsortingselector: 1,
4947
- filterbylogo: 2,
4948
- mbsource: 22,
4949
- usesinglevendorfilter: 23
4881
+ endpoint: 0,
4882
+ datasource: 1,
4883
+ currency: 2,
4884
+ lang: 3,
4885
+ session: 4,
4886
+ userid: 5,
4887
+ mbsource: 6,
4888
+ clientstyling: 7,
4889
+ clientstylingurl: 8,
4890
+ livecasino: 9,
4891
+ integratedgameframemobile: 10,
4892
+ integratedgameframedesktop: 11,
4893
+ gamepagemodalurl: 12,
4894
+ showgamename: 13,
4895
+ visiblegames: 14,
4896
+ favorites: 15,
4897
+ translationurl: 16,
4898
+ casinomygames: 17,
4899
+ mostplayedperiod: 22,
4900
+ mostplayedrounds: 23,
4901
+ fetchviaevent: 18
4950
4902
  },
4951
- co,
4903
+ as,
4952
4904
  [-1, -1]
4953
4905
  );
4954
4906
  }
4955
4907
  get endpoint() {
4956
- return this.$$.ctx[15];
4908
+ return this.$$.ctx[0];
4957
4909
  }
4958
4910
  set endpoint(t) {
4959
- this.$$set({ endpoint: t }), $();
4911
+ this.$$set({ endpoint: t }), S();
4960
4912
  }
4961
4913
  get datasource() {
4962
- return this.$$.ctx[16];
4914
+ return this.$$.ctx[1];
4963
4915
  }
4964
4916
  set datasource(t) {
4965
- this.$$set({ datasource: t }), $();
4917
+ this.$$set({ datasource: t }), S();
4918
+ }
4919
+ get currency() {
4920
+ return this.$$.ctx[2];
4921
+ }
4922
+ set currency(t) {
4923
+ this.$$set({ currency: t }), S();
4966
4924
  }
4967
4925
  get lang() {
4968
- return this.$$.ctx[17];
4926
+ return this.$$.ctx[3];
4969
4927
  }
4970
4928
  set lang(t) {
4971
- this.$$set({ lang: t }), $();
4929
+ this.$$set({ lang: t }), S();
4972
4930
  }
4973
- get translationurl() {
4974
- return this.$$.ctx[18];
4931
+ get session() {
4932
+ return this.$$.ctx[4];
4975
4933
  }
4976
- set translationurl(t) {
4977
- this.$$set({ translationurl: t }), $();
4934
+ set session(t) {
4935
+ this.$$set({ session: t }), S();
4936
+ }
4937
+ get userid() {
4938
+ return this.$$.ctx[5];
4939
+ }
4940
+ set userid(t) {
4941
+ this.$$set({ userid: t }), S();
4942
+ }
4943
+ get mbsource() {
4944
+ return this.$$.ctx[6];
4945
+ }
4946
+ set mbsource(t) {
4947
+ this.$$set({ mbsource: t }), S();
4978
4948
  }
4979
4949
  get clientstyling() {
4980
- return this.$$.ctx[19];
4950
+ return this.$$.ctx[7];
4981
4951
  }
4982
4952
  set clientstyling(t) {
4983
- this.$$set({ clientstyling: t }), $();
4953
+ this.$$set({ clientstyling: t }), S();
4984
4954
  }
4985
4955
  get clientstylingurl() {
4986
- return this.$$.ctx[20];
4956
+ return this.$$.ctx[8];
4987
4957
  }
4988
4958
  set clientstylingurl(t) {
4989
- this.$$set({ clientstylingurl: t }), $();
4959
+ this.$$set({ clientstylingurl: t }), S();
4990
4960
  }
4991
- get categoryid() {
4992
- return this.$$.ctx[21];
4961
+ get livecasino() {
4962
+ return this.$$.ctx[9];
4993
4963
  }
4994
- set categoryid(t) {
4995
- this.$$set({ categoryid: t }), $();
4964
+ set livecasino(t) {
4965
+ this.$$set({ livecasino: t }), S();
4996
4966
  }
4997
- get addfilterselector() {
4998
- return this.$$.ctx[0];
4967
+ get integratedgameframemobile() {
4968
+ return this.$$.ctx[10];
4999
4969
  }
5000
- set addfilterselector(t) {
5001
- this.$$set({ addfilterselector: t }), $();
4970
+ set integratedgameframemobile(t) {
4971
+ this.$$set({ integratedgameframemobile: t }), S();
5002
4972
  }
5003
- get addsortingselector() {
5004
- return this.$$.ctx[1];
4973
+ get integratedgameframedesktop() {
4974
+ return this.$$.ctx[11];
5005
4975
  }
5006
- set addsortingselector(t) {
5007
- this.$$set({ addsortingselector: t }), $();
4976
+ set integratedgameframedesktop(t) {
4977
+ this.$$set({ integratedgameframedesktop: t }), S();
5008
4978
  }
5009
- get filterbylogo() {
5010
- return this.$$.ctx[2];
4979
+ get gamepagemodalurl() {
4980
+ return this.$$.ctx[12];
5011
4981
  }
5012
- set filterbylogo(t) {
5013
- this.$$set({ filterbylogo: t }), $();
4982
+ set gamepagemodalurl(t) {
4983
+ this.$$set({ gamepagemodalurl: t }), S();
5014
4984
  }
5015
- get mbsource() {
4985
+ get showgamename() {
4986
+ return this.$$.ctx[13];
4987
+ }
4988
+ set showgamename(t) {
4989
+ this.$$set({ showgamename: t }), S();
4990
+ }
4991
+ get visiblegames() {
4992
+ return this.$$.ctx[14];
4993
+ }
4994
+ set visiblegames(t) {
4995
+ this.$$set({ visiblegames: t }), S();
4996
+ }
4997
+ get favorites() {
4998
+ return this.$$.ctx[15];
4999
+ }
5000
+ set favorites(t) {
5001
+ this.$$set({ favorites: t }), S();
5002
+ }
5003
+ get translationurl() {
5004
+ return this.$$.ctx[16];
5005
+ }
5006
+ set translationurl(t) {
5007
+ this.$$set({ translationurl: t }), S();
5008
+ }
5009
+ get casinomygames() {
5010
+ return this.$$.ctx[17];
5011
+ }
5012
+ set casinomygames(t) {
5013
+ this.$$set({ casinomygames: t }), S();
5014
+ }
5015
+ get mostplayedperiod() {
5016
5016
  return this.$$.ctx[22];
5017
5017
  }
5018
- set mbsource(t) {
5019
- this.$$set({ mbsource: t }), $();
5018
+ set mostplayedperiod(t) {
5019
+ this.$$set({ mostplayedperiod: t }), S();
5020
5020
  }
5021
- get usesinglevendorfilter() {
5021
+ get mostplayedrounds() {
5022
5022
  return this.$$.ctx[23];
5023
5023
  }
5024
- set usesinglevendorfilter(t) {
5025
- this.$$set({ usesinglevendorfilter: t }), $();
5024
+ set mostplayedrounds(t) {
5025
+ this.$$set({ mostplayedrounds: t }), S();
5026
+ }
5027
+ get fetchviaevent() {
5028
+ return this.$$.ctx[18];
5029
+ }
5030
+ set fetchviaevent(t) {
5031
+ this.$$set({ fetchviaevent: t }), S();
5026
5032
  }
5027
5033
  }
5028
- Kr(Nr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5029
- const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5030
- __proto__: null,
5031
- default: Nr
5032
- }, Symbol.toStringTag, { value: "Module" }));
5034
+ Vr(fs, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
5033
5035
  export {
5034
- re as $,
5035
- Ht as A,
5036
- kr as B,
5037
- Ao as C,
5038
- ao as D,
5039
- lo as E,
5040
- uo as F,
5041
- Kr as G,
5042
- To as H,
5043
- io as I,
5044
- Ho as J,
5045
- Fo as K,
5046
- Bo as L,
5047
- Po as M,
5048
- ye as N,
5049
- Co as O,
5050
- en as S,
5051
- Fr as a,
5052
- Ur as b,
5053
- wt as c,
5054
- k as d,
5055
- Eo as e,
5056
- $ as f,
5057
- g,
5058
- oo as h,
5059
- Yr as i,
5060
- W as j,
5061
- _ as k,
5062
- B as l,
5063
- V as m,
5064
- G as n,
5065
- $r as o,
5066
- Xr as p,
5067
- te as q,
5068
- Re as r,
5069
- Yt as s,
5070
- So as t,
5071
- D as u,
5072
- xo as v,
5073
- so as w,
5074
- tt as x,
5075
- xe as y,
5076
- wo as z
5036
+ ie as $,
5037
+ p as A,
5038
+ Ts as B,
5039
+ ds as C,
5040
+ ms as D,
5041
+ gs as E,
5042
+ Cr as F,
5043
+ Qi as G,
5044
+ es as H,
5045
+ ts as I,
5046
+ rs as J,
5047
+ _s as K,
5048
+ Es as L,
5049
+ vs as M,
5050
+ Ss as N,
5051
+ pe as O,
5052
+ te as P,
5053
+ ys as Q,
5054
+ fs as R,
5055
+ Xr as S,
5056
+ pr as a,
5057
+ Br as b,
5058
+ Vr as c,
5059
+ re as d,
5060
+ me as e,
5061
+ S as f,
5062
+ j as g,
5063
+ he as h,
5064
+ kr as i,
5065
+ Ar as j,
5066
+ Rr as k,
5067
+ os as l,
5068
+ je as m,
5069
+ M as n,
5070
+ xs as o,
5071
+ Ps as p,
5072
+ bs as q,
5073
+ at as r,
5074
+ Gt as s,
5075
+ ps as t,
5076
+ Ji as u,
5077
+ Yi as v,
5078
+ Ir as w,
5079
+ ut as x,
5080
+ ws as y,
5081
+ Hs as z
5077
5082
  };