@everymatrix/casino-most-played-section-nd 1.87.25 → 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,79 +1,79 @@
1
- var Vr = Object.defineProperty, Xr = Object.defineProperties;
2
- var Wr = Object.getOwnPropertyDescriptors;
3
- var Tt = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
- var Ze = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
1
+ var Ir = Object.defineProperty, Mr = Object.defineProperties;
2
+ var Rr = Object.getOwnPropertyDescriptors;
3
+ var bt = Object.getOwnPropertySymbols;
4
+ var Gr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Ze(e, r, t[r]);
8
- if (Tt)
9
- for (var r of Tt(t))
10
- Zr.call(t, r) && Ze(e, r, t[r]);
7
+ Gr.call(t, r) && Me(e, r, t[r]);
8
+ if (bt)
9
+ for (var r of bt(t))
10
+ Ur.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, At = (e, t) => Xr(e, Wr(t));
13
- var M = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Pt = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
12
+ }, yt = (e, t) => Mr(e, Rr(t));
13
+ var H = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var vt = (e, t, r) => new Promise((n, i) => {
15
+ var s = (h) => {
16
16
  try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
17
+ a(r.next(h));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, s = (u) => {
21
+ }, o = (h) => {
22
22
  try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
23
+ a(r.throw(h));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function k() {
30
+ function R() {
31
31
  }
32
- function ir(e) {
32
+ function jt(e) {
33
33
  return e();
34
34
  }
35
- function Bt() {
35
+ function _t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Y(e) {
39
- e.forEach(ir);
38
+ function re(e) {
39
+ e.forEach(jt);
40
40
  }
41
- function xt(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function or(e, t) {
44
+ function kt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Ce;
48
- function Ft(e, t) {
49
- return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
47
+ let ye;
48
+ function Ts(e, t) {
49
+ return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
50
50
  }
51
- function Jr(e) {
51
+ function $r(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function sr(e, ...t) {
54
+ function Vt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return k;
58
+ return R;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Qr(e, t, r) {
64
- e.$$.on_destroy.push(sr(t, r));
63
+ function Dr(e, t, r) {
64
+ e.$$.on_destroy.push(Vt(t, r));
65
65
  }
66
- function _(e, t) {
66
+ function ht(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function qr(e, t, r) {
70
- const n = Yr(e);
69
+ function Fr(e, t, r) {
70
+ const n = jr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = B("style");
73
- i.id = t, i.textContent = r, Kr(n, i);
72
+ const i = k("style");
73
+ i.id = t, i.textContent = r, kr(n, i);
74
74
  }
75
75
  }
76
- function Yr(e) {
76
+ function jr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,79 +83,79 @@ function Yr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Kr(e, t) {
87
- return _(
86
+ function kr(e, t) {
87
+ return ht(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function z(e, t, r) {
93
+ function de(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function j(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function en(e, t) {
99
+ function Hs(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function B(e) {
103
+ function k(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Ee(e) {
106
+ function Vr(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function G(e) {
109
+ function lt(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function X() {
113
- return G(" ");
112
+ function Ps() {
113
+ return lt(" ");
114
114
  }
115
- function Lo() {
116
- return G("");
115
+ function As() {
116
+ return lt("");
117
117
  }
118
- function $e(e, t, r, n) {
118
+ function Bs(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function g(e, t, r) {
121
+ function le(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
- function No(e, t, r) {
124
+ function p(e, t, r) {
125
125
  const n = t.toLowerCase();
126
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
126
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : le(e, t, r);
127
127
  }
128
- function tn(e) {
128
+ function Xr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function re(e, t) {
131
+ function Wr(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Ct(e, t) {
135
+ function Os(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function Mo(e, t, r, n) {
138
+ function Ns(e, t, r, n) {
139
139
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
140
140
  }
141
- function Ro(e, t, r) {
141
+ function Cs(e, t, r) {
142
142
  e.classList.toggle(t, !!r);
143
143
  }
144
- class $o {
144
+ class Ls {
145
145
  constructor(t = !1) {
146
146
  /**
147
147
  * @private
148
148
  * @default false
149
149
  */
150
- M(this, "is_svg", !1);
150
+ H(this, "is_svg", !1);
151
151
  /** parent for creating node */
152
- M(this, "e");
152
+ H(this, "e");
153
153
  /** html tag nodes */
154
- M(this, "n");
154
+ H(this, "n");
155
155
  /** target */
156
- M(this, "t");
156
+ H(this, "t");
157
157
  /** anchor */
158
- M(this, "a");
158
+ H(this, "a");
159
159
  this.is_svg = t, this.e = this.n = null;
160
160
  }
161
161
  /**
@@ -172,10 +172,10 @@ class $o {
172
172
  * @returns {void}
173
173
  */
174
174
  m(t, r, n = null) {
175
- this.e || (this.is_svg ? this.e = Ee(
175
+ this.e || (this.is_svg ? this.e = Vr(
176
176
  /** @type {keyof SVGElementTagNameMap} */
177
177
  r.nodeName
178
- ) : this.e = B(
178
+ ) : this.e = k(
179
179
  /** @type {keyof HTMLElementTagNameMap} */
180
180
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
181
181
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -196,7 +196,7 @@ class $o {
196
196
  * @returns {void} */
197
197
  i(t) {
198
198
  for (let r = 0; r < this.n.length; r += 1)
199
- z(this.t, this.n[r], t);
199
+ de(this.t, this.n[r], t);
200
200
  }
201
201
  /**
202
202
  * @param {string} html
@@ -208,10 +208,10 @@ class $o {
208
208
  /**
209
209
  * @returns {void} */
210
210
  d() {
211
- this.n.forEach(j);
211
+ this.n.forEach(ne);
212
212
  }
213
213
  }
214
- function rn(e) {
214
+ function zr(e) {
215
215
  const t = {};
216
216
  return e.childNodes.forEach(
217
217
  /** @param {Element} node */
@@ -220,184 +220,184 @@ function rn(e) {
220
220
  }
221
221
  ), t;
222
222
  }
223
- let Se;
224
- function we(e) {
225
- Se = e;
223
+ let ce;
224
+ function he(e) {
225
+ ce = e;
226
226
  }
227
- function ar() {
228
- if (!Se)
227
+ function Xt() {
228
+ if (!ce)
229
229
  throw new Error("Function called outside component initialization");
230
- return Se;
230
+ return ce;
231
231
  }
232
- function nn(e) {
233
- ar().$$.on_mount.push(e);
232
+ function Zr(e) {
233
+ Xt().$$.on_mount.push(e);
234
234
  }
235
- function Uo(e) {
236
- ar().$$.on_destroy.push(e);
235
+ function Is(e) {
236
+ Xt().$$.on_destroy.push(e);
237
237
  }
238
- const fe = [], nt = [];
239
- let pe = [];
240
- const Ot = [], lr = /* @__PURE__ */ Promise.resolve();
241
- let it = !1;
242
- function ur() {
243
- it || (it = !0, lr.then(U));
238
+ const Q = [], Ve = [];
239
+ let Y = [];
240
+ const Et = [], Wt = /* @__PURE__ */ Promise.resolve();
241
+ let Xe = !1;
242
+ function zt() {
243
+ Xe || (Xe = !0, Wt.then(S));
244
244
  }
245
- function Do() {
246
- return ur(), lr;
245
+ function Ms() {
246
+ return zt(), Wt;
247
247
  }
248
- function ot(e) {
249
- pe.push(e);
248
+ function We(e) {
249
+ Y.push(e);
250
250
  }
251
- const Je = /* @__PURE__ */ new Set();
252
- let he = 0;
253
- function U() {
254
- if (he !== 0)
251
+ const Re = /* @__PURE__ */ new Set();
252
+ let z = 0;
253
+ function S() {
254
+ if (z !== 0)
255
255
  return;
256
- const e = Se;
256
+ const e = ce;
257
257
  do {
258
258
  try {
259
- for (; he < fe.length; ) {
260
- const t = fe[he];
261
- he++, we(t), on(t.$$);
259
+ for (; z < Q.length; ) {
260
+ const t = Q[z];
261
+ z++, he(t), Qr(t.$$);
262
262
  }
263
263
  } catch (t) {
264
- throw fe.length = 0, he = 0, t;
264
+ throw Q.length = 0, z = 0, t;
265
265
  }
266
- for (we(null), fe.length = 0, he = 0; nt.length; )
267
- nt.pop()();
268
- for (let t = 0; t < pe.length; t += 1) {
269
- const r = pe[t];
270
- Je.has(r) || (Je.add(r), r());
266
+ for (he(null), Q.length = 0, z = 0; Ve.length; )
267
+ Ve.pop()();
268
+ for (let t = 0; t < Y.length; t += 1) {
269
+ const r = Y[t];
270
+ Re.has(r) || (Re.add(r), r());
271
271
  }
272
- pe.length = 0;
273
- } while (fe.length);
274
- for (; Ot.length; )
275
- Ot.pop()();
276
- it = !1, Je.clear(), we(e);
272
+ Y.length = 0;
273
+ } while (Q.length);
274
+ for (; Et.length; )
275
+ Et.pop()();
276
+ Xe = !1, Re.clear(), he(e);
277
277
  }
278
- function on(e) {
278
+ function Qr(e) {
279
279
  if (e.fragment !== null) {
280
- e.update(), Y(e.before_update);
280
+ e.update(), re(e.before_update);
281
281
  const t = e.dirty;
282
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
282
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
283
283
  }
284
284
  }
285
- function sn(e) {
285
+ function Jr(e) {
286
286
  const t = [], r = [];
287
- pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
287
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
288
288
  }
289
- const an = /* @__PURE__ */ new Set();
290
- function hr(e, t) {
291
- e && e.i && (an.delete(e), e.i(t));
289
+ const Yr = /* @__PURE__ */ new Set();
290
+ function Zt(e, t) {
291
+ e && e.i && (Yr.delete(e), e.i(t));
292
292
  }
293
- function It(e) {
293
+ function Rs(e) {
294
294
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
295
295
  }
296
- function Go(e, t) {
296
+ function Gs(e, t) {
297
297
  e.d(1), t.delete(e.key);
298
298
  }
299
- function ko(e, t, r, n, i, o, s, a, u, l, h, p) {
300
- let c = e.length, m = o.length, v = c;
301
- const y = {};
302
- for (; v--; )
303
- y[e[v].key] = v;
304
- const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
305
- for (v = m; v--; ) {
306
- const A = p(i, o, v), P = r(A);
307
- let N = s.get(P);
308
- 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]));
299
+ function Us(e, t, r, n, i, s, o, a, h, u, l, m) {
300
+ let c = e.length, d = s.length, b = c;
301
+ const v = {};
302
+ for (; b--; )
303
+ v[e[b].key] = b;
304
+ const T = [], L = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), P = [];
305
+ for (b = d; b--; ) {
306
+ const _ = m(i, s, b), C = r(_);
307
+ let M = o.get(C);
308
+ M ? P.push(() => M.p(_, t)) : (M = u(C, _), M.c()), L.set(C, T[b] = M), C in v && B.set(C, Math.abs(b - v[C]));
309
309
  }
310
- const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
311
- function R(A) {
312
- hr(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, m--;
310
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
311
+ function I(_) {
312
+ Zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
313
313
  }
314
- for (; c && m; ) {
315
- const A = T[m - 1], P = e[c - 1], N = A.key, Z = P.key;
316
- A === P ? (h = A.first, c--, m--) : H.has(Z) ? !s.has(N) || I.has(N) ? R(A) : L.has(Z) ? c-- : S.get(N) > S.get(Z) ? (L.add(N), R(A)) : (I.add(Z), c--) : (u(P, s), c--);
314
+ for (; c && d; ) {
315
+ const _ = T[d - 1], C = e[c - 1], M = _.key, X = C.key;
316
+ _ === C ? (l = _.first, c--, d--) : L.has(X) ? !o.has(M) || O.has(M) ? I(_) : N.has(X) ? c-- : B.get(M) > B.get(X) ? (N.add(M), I(_)) : (O.add(X), c--) : (h(C, o), c--);
317
317
  }
318
318
  for (; c--; ) {
319
- const A = e[c];
320
- H.has(A.key) || u(A, s);
319
+ const _ = e[c];
320
+ L.has(_.key) || h(_, o);
321
321
  }
322
- for (; m; )
323
- R(T[m - 1]);
324
- return Y(b), T;
322
+ for (; d; )
323
+ I(T[d - 1]);
324
+ return re(P), T;
325
325
  }
326
- function ln(e, t, r) {
326
+ function qr(e, t, r) {
327
327
  const { fragment: n, after_update: i } = e.$$;
328
- n && n.m(t, r), ot(() => {
329
- const o = e.$$.on_mount.map(ir).filter(xt);
330
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
331
- }), i.forEach(ot);
328
+ n && n.m(t, r), We(() => {
329
+ const s = e.$$.on_mount.map(jt).filter(ut);
330
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
331
+ }), i.forEach(We);
332
332
  }
333
- function un(e, t) {
333
+ function Kr(e, t) {
334
334
  const r = e.$$;
335
- r.fragment !== null && (sn(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
335
+ r.fragment !== null && (Jr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
336
336
  }
337
- function hn(e, t) {
338
- e.$$.dirty[0] === -1 && (fe.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
337
+ function en(e, t) {
338
+ e.$$.dirty[0] === -1 && (Q.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
339
339
  }
340
- function cn(e, t, r, n, i, o, s = null, a = [-1]) {
341
- const u = Se;
342
- we(e);
343
- const l = e.$$ = {
340
+ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
341
+ const h = ce;
342
+ he(e);
343
+ const u = e.$$ = {
344
344
  fragment: null,
345
345
  ctx: [],
346
346
  // state
347
- props: o,
348
- update: k,
347
+ props: s,
348
+ update: R,
349
349
  not_equal: i,
350
- bound: Bt(),
350
+ bound: _t(),
351
351
  // lifecycle
352
352
  on_mount: [],
353
353
  on_destroy: [],
354
354
  on_disconnect: [],
355
355
  before_update: [],
356
356
  after_update: [],
357
- context: new Map(t.context || (u ? u.$$.context : [])),
357
+ context: new Map(t.context || (h ? h.$$.context : [])),
358
358
  // everything else
359
- callbacks: Bt(),
359
+ callbacks: _t(),
360
360
  dirty: a,
361
361
  skip_bound: !1,
362
- root: t.target || u.$$.root
362
+ root: t.target || h.$$.root
363
363
  };
364
- s && s(l.root);
365
- let h = !1;
366
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
367
- const v = m.length ? m[0] : c;
368
- return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), h && hn(e, p)), c;
369
- }) : [], l.update(), h = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
364
+ o && o(u.root);
365
+ let l = !1;
366
+ if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
367
+ const b = d.length ? d[0] : c;
368
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && en(e, m)), c;
369
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
370
370
  if (t.hydrate) {
371
- const p = tn(t.target);
372
- l.fragment && l.fragment.l(p), p.forEach(j);
371
+ const m = Xr(t.target);
372
+ u.fragment && u.fragment.l(m), m.forEach(ne);
373
373
  } else
374
- l.fragment && l.fragment.c();
375
- t.intro && hr(e.$$.fragment), ln(e, t.target, t.anchor), U();
374
+ u.fragment && u.fragment.c();
375
+ t.intro && Zt(e.$$.fragment), qr(e, t.target, t.anchor), S();
376
376
  }
377
- we(u);
377
+ he(h);
378
378
  }
379
- let cr;
380
- typeof HTMLElement == "function" && (cr = class extends HTMLElement {
379
+ let Qt;
380
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
381
381
  constructor(t, r, n) {
382
382
  super();
383
383
  /** The Svelte component constructor */
384
- M(this, "$$ctor");
384
+ H(this, "$$ctor");
385
385
  /** Slots */
386
- M(this, "$$s");
386
+ H(this, "$$s");
387
387
  /** The Svelte component instance */
388
- M(this, "$$c");
388
+ H(this, "$$c");
389
389
  /** Whether or not the custom element is connected */
390
- M(this, "$$cn", !1);
390
+ H(this, "$$cn", !1);
391
391
  /** Component props data */
392
- M(this, "$$d", {});
392
+ H(this, "$$d", {});
393
393
  /** `true` if currently in the process of reflecting component props back to attributes */
394
- M(this, "$$r", !1);
394
+ H(this, "$$r", !1);
395
395
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
396
- M(this, "$$p_d", {});
396
+ H(this, "$$p_d", {});
397
397
  /** @type {Record<string, Function[]>} Event listeners */
398
- M(this, "$$l", {});
398
+ H(this, "$$l", {});
399
399
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
400
- M(this, "$$l_u", /* @__PURE__ */ new Map());
400
+ H(this, "$$l_u", /* @__PURE__ */ new Map());
401
401
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
402
402
  }
403
403
  addEventListener(t, r, n) {
@@ -414,42 +414,42 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
414
414
  }
415
415
  }
416
416
  connectedCallback() {
417
- return Pt(this, null, function* () {
417
+ return vt(this, null, function* () {
418
418
  if (this.$$cn = !0, !this.$$c) {
419
- let t = function(o) {
419
+ let t = function(s) {
420
420
  return () => {
421
- let s;
421
+ let o;
422
422
  return {
423
423
  c: function() {
424
- s = B("slot"), o !== "default" && g(s, "name", o);
424
+ o = k("slot"), s !== "default" && le(o, "name", s);
425
425
  },
426
426
  /**
427
427
  * @param {HTMLElement} target
428
428
  * @param {HTMLElement} [anchor]
429
429
  */
430
- m: function(l, h) {
431
- z(l, s, h);
430
+ m: function(u, l) {
431
+ de(u, o, l);
432
432
  },
433
- d: function(l) {
434
- l && j(s);
433
+ d: function(u) {
434
+ u && ne(o);
435
435
  }
436
436
  };
437
437
  };
438
438
  };
439
439
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
440
440
  return;
441
- const r = {}, n = rn(this);
442
- for (const o of this.$$s)
443
- o in n && (r[o] = [t(o)]);
444
- for (const o of this.attributes) {
445
- const s = this.$$g_p(o.name);
446
- s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
441
+ const r = {}, n = zr(this);
442
+ for (const s of this.$$s)
443
+ s in n && (r[s] = [t(s)]);
444
+ for (const s of this.attributes) {
445
+ const o = this.$$g_p(s.name);
446
+ o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
447
447
  }
448
- for (const o in this.$$p_d)
449
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
448
+ for (const s in this.$$p_d)
449
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
450
450
  this.$$c = new this.$$ctor({
451
451
  target: this.shadowRoot || this,
452
- props: At(Ht({}, this.$$d), {
452
+ props: yt(gt({}, this.$$d), {
453
453
  $$slots: r,
454
454
  $$scope: {
455
455
  ctx: []
@@ -458,23 +458,23 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
458
458
  });
459
459
  const i = () => {
460
460
  this.$$r = !0;
461
- for (const o in this.$$p_d)
462
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
463
- const s = Le(
464
- o,
465
- this.$$d[o],
461
+ for (const s in this.$$p_d)
462
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
463
+ const o = Ee(
464
+ s,
465
+ this.$$d[s],
466
466
  this.$$p_d,
467
467
  "toAttribute"
468
468
  );
469
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
469
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
470
470
  }
471
471
  this.$$r = !1;
472
472
  };
473
473
  this.$$c.$$.after_update.push(i), i();
474
- for (const o in this.$$l)
475
- for (const s of this.$$l[o]) {
476
- const a = this.$$c.$on(o, s);
477
- this.$$l_u.set(s, a);
474
+ for (const s in this.$$l)
475
+ for (const o of this.$$l[s]) {
476
+ const a = this.$$c.$on(s, o);
477
+ this.$$l_u.set(o, a);
478
478
  }
479
479
  this.$$l = {};
480
480
  }
@@ -484,7 +484,7 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
484
484
  // and setting attributes through setAttribute etc, this is helpful
485
485
  attributeChangedCallback(t, r, n) {
486
486
  var i;
487
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
487
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
488
488
  }
489
489
  disconnectedCallback() {
490
490
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -497,9 +497,9 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
497
497
  ) || t;
498
498
  }
499
499
  });
500
- function Le(e, t, r, n) {
501
- var o;
502
- const i = (o = r[e]) == null ? void 0 : o.type;
500
+ function Ee(e, t, r, n) {
501
+ var s;
502
+ const i = (s = r[e]) == null ? void 0 : s.type;
503
503
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
504
504
  return t;
505
505
  if (n === "toAttribute")
@@ -527,8 +527,8 @@ function Le(e, t, r, n) {
527
527
  return t;
528
528
  }
529
529
  }
530
- function fn(e, t, r, n, i, o) {
531
- let s = class extends cr {
530
+ function rn(e, t, r, n, i, s) {
531
+ let o = class extends Qt {
532
532
  constructor() {
533
533
  super(e, r, i), this.$$p_d = t;
534
534
  }
@@ -539,26 +539,26 @@ function fn(e, t, r, n, i, o) {
539
539
  }
540
540
  };
541
541
  return Object.keys(t).forEach((a) => {
542
- Object.defineProperty(s.prototype, a, {
542
+ Object.defineProperty(o.prototype, a, {
543
543
  get() {
544
544
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
545
545
  },
546
- set(u) {
547
- var l;
548
- u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
546
+ set(h) {
547
+ var u;
548
+ h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
549
549
  }
550
550
  });
551
551
  }), n.forEach((a) => {
552
- Object.defineProperty(s.prototype, a, {
552
+ Object.defineProperty(o.prototype, a, {
553
553
  get() {
554
- var u;
555
- return (u = this.$$c) == null ? void 0 : u[a];
554
+ var h;
555
+ return (h = this.$$c) == null ? void 0 : h[a];
556
556
  }
557
557
  });
558
558
  }), e.element = /** @type {any} */
559
- s, s;
559
+ o, o;
560
560
  }
561
- class pn {
561
+ class nn {
562
562
  constructor() {
563
563
  /**
564
564
  * ### PRIVATE API
@@ -567,7 +567,7 @@ class pn {
567
567
  *
568
568
  * @type {any}
569
569
  */
570
- M(this, "$$");
570
+ H(this, "$$");
571
571
  /**
572
572
  * ### PRIVATE API
573
573
  *
@@ -575,11 +575,11 @@ class pn {
575
575
  *
576
576
  * @type {any}
577
577
  */
578
- M(this, "$$set");
578
+ H(this, "$$set");
579
579
  }
580
580
  /** @returns {void} */
581
581
  $destroy() {
582
- un(this, 1), this.$destroy = k;
582
+ Kr(this, 1), this.$destroy = R;
583
583
  }
584
584
  /**
585
585
  * @template {Extract<keyof Events, string>} K
@@ -588,8 +588,8 @@ class pn {
588
588
  * @returns {() => void}
589
589
  */
590
590
  $on(t, r) {
591
- if (!xt(r))
592
- return k;
591
+ if (!ut(r))
592
+ return R;
593
593
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
594
594
  return n.push(r), () => {
595
595
  const i = n.indexOf(r);
@@ -601,11 +601,11 @@ class pn {
601
601
  * @returns {void}
602
602
  */
603
603
  $set(t) {
604
- this.$$set && !Jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
604
+ this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
605
605
  }
606
606
  }
607
- const dn = "4";
608
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
607
+ const sn = "4";
608
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
609
609
  /*! *****************************************************************************
610
610
  Copyright (c) Microsoft Corporation.
611
611
 
@@ -620,24 +620,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
620
620
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
621
621
  PERFORMANCE OF THIS SOFTWARE.
622
622
  ***************************************************************************** */
623
- var st = function(e, t) {
624
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
623
+ var ze = function(e, t) {
624
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
625
625
  r.__proto__ = n;
626
626
  } || function(r, n) {
627
627
  for (var i in n)
628
628
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
629
- }, st(e, t);
629
+ }, ze(e, t);
630
630
  };
631
- function Ae(e, t) {
631
+ function pe(e, t) {
632
632
  if (typeof t != "function" && t !== null)
633
633
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
634
- st(e, t);
634
+ ze(e, t);
635
635
  function r() {
636
636
  this.constructor = e;
637
637
  }
638
638
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
639
639
  }
640
- function at(e) {
640
+ function Ze(e) {
641
641
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
642
642
  if (r)
643
643
  return r.call(e);
@@ -649,42 +649,42 @@ function at(e) {
649
649
  };
650
650
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
651
651
  }
652
- function lt(e, t) {
652
+ function Qe(e, t) {
653
653
  var r = typeof Symbol == "function" && e[Symbol.iterator];
654
654
  if (!r)
655
655
  return e;
656
- var n = r.call(e), i, o = [], s;
656
+ var n = r.call(e), i, s = [], o;
657
657
  try {
658
658
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
659
- o.push(i.value);
659
+ s.push(i.value);
660
660
  } catch (a) {
661
- s = { error: a };
661
+ o = { error: a };
662
662
  } finally {
663
663
  try {
664
664
  i && !i.done && (r = n.return) && r.call(n);
665
665
  } finally {
666
- if (s)
667
- throw s.error;
666
+ if (o)
667
+ throw o.error;
668
668
  }
669
669
  }
670
- return o;
670
+ return s;
671
671
  }
672
- function ut(e, t, r) {
672
+ function Je(e, t, r) {
673
673
  if (arguments.length === 2)
674
- for (var n = 0, i = t.length, o; n < i; n++)
675
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
676
- return e.concat(o || t);
674
+ for (var n = 0, i = t.length, s; n < i; n++)
675
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
676
+ return e.concat(s || t);
677
677
  }
678
- function J(e) {
678
+ function F(e) {
679
679
  return typeof e == "function";
680
680
  }
681
- function fr(e) {
681
+ function Jt(e) {
682
682
  var t = function(n) {
683
683
  Error.call(n), n.stack = new Error().stack;
684
684
  }, r = e(t);
685
685
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
686
686
  }
687
- var Qe = fr(function(e) {
687
+ var Ge = Jt(function(e) {
688
688
  return function(r) {
689
689
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
690
690
  ` + r.map(function(n, i) {
@@ -693,78 +693,78 @@ var Qe = fr(function(e) {
693
693
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
694
694
  };
695
695
  });
696
- function ht(e, t) {
696
+ function Ye(e, t) {
697
697
  if (e) {
698
698
  var r = e.indexOf(t);
699
699
  0 <= r && e.splice(r, 1);
700
700
  }
701
701
  }
702
- var ke = function() {
702
+ var Ae = function() {
703
703
  function e(t) {
704
704
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
705
705
  }
706
706
  return e.prototype.unsubscribe = function() {
707
- var t, r, n, i, o;
707
+ var t, r, n, i, s;
708
708
  if (!this.closed) {
709
709
  this.closed = !0;
710
- var s = this._parentage;
711
- if (s)
712
- if (this._parentage = null, Array.isArray(s))
710
+ var o = this._parentage;
711
+ if (o)
712
+ if (this._parentage = null, Array.isArray(o))
713
713
  try {
714
- for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
715
- var l = u.value;
716
- l.remove(this);
714
+ for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
715
+ var u = h.value;
716
+ u.remove(this);
717
717
  }
718
- } catch (y) {
719
- t = { error: y };
718
+ } catch (v) {
719
+ t = { error: v };
720
720
  } finally {
721
721
  try {
722
- u && !u.done && (r = a.return) && r.call(a);
722
+ h && !h.done && (r = a.return) && r.call(a);
723
723
  } finally {
724
724
  if (t)
725
725
  throw t.error;
726
726
  }
727
727
  }
728
728
  else
729
- s.remove(this);
730
- var h = this.initialTeardown;
731
- if (J(h))
729
+ o.remove(this);
730
+ var l = this.initialTeardown;
731
+ if (F(l))
732
732
  try {
733
- h();
734
- } catch (y) {
735
- o = y instanceof Qe ? y.errors : [y];
733
+ l();
734
+ } catch (v) {
735
+ s = v instanceof Ge ? v.errors : [v];
736
736
  }
737
- var p = this._finalizers;
738
- if (p) {
737
+ var m = this._finalizers;
738
+ if (m) {
739
739
  this._finalizers = null;
740
740
  try {
741
- for (var c = at(p), m = c.next(); !m.done; m = c.next()) {
742
- var v = m.value;
741
+ for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
742
+ var b = d.value;
743
743
  try {
744
- Lt(v);
745
- } catch (y) {
746
- o = o != null ? o : [], y instanceof Qe ? o = ut(ut([], lt(o)), lt(y.errors)) : o.push(y);
744
+ xt(b);
745
+ } catch (v) {
746
+ s = s != null ? s : [], v instanceof Ge ? s = Je(Je([], Qe(s)), Qe(v.errors)) : s.push(v);
747
747
  }
748
748
  }
749
- } catch (y) {
750
- n = { error: y };
749
+ } catch (v) {
750
+ n = { error: v };
751
751
  } finally {
752
752
  try {
753
- m && !m.done && (i = c.return) && i.call(c);
753
+ d && !d.done && (i = c.return) && i.call(c);
754
754
  } finally {
755
755
  if (n)
756
756
  throw n.error;
757
757
  }
758
758
  }
759
759
  }
760
- if (o)
761
- throw new Qe(o);
760
+ if (s)
761
+ throw new Ge(s);
762
762
  }
763
763
  }, e.prototype.add = function(t) {
764
764
  var r;
765
765
  if (t && t !== this)
766
766
  if (this.closed)
767
- Lt(t);
767
+ xt(t);
768
768
  else {
769
769
  if (t instanceof e) {
770
770
  if (t.closed || t._hasParent(this))
@@ -781,52 +781,52 @@ var ke = function() {
781
781
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
782
782
  }, e.prototype._removeParent = function(t) {
783
783
  var r = this._parentage;
784
- r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
784
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
785
785
  }, e.prototype.remove = function(t) {
786
786
  var r = this._finalizers;
787
- r && ht(r, t), t instanceof e && t._removeParent(this);
787
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
788
788
  }, e.EMPTY = function() {
789
789
  var t = new e();
790
790
  return t.closed = !0, t;
791
791
  }(), e;
792
- }(), pr = ke.EMPTY;
793
- function dr(e) {
794
- return e instanceof ke || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
792
+ }(), Yt = Ae.EMPTY;
793
+ function qt(e) {
794
+ return e instanceof Ae || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
795
795
  }
796
- function Lt(e) {
797
- J(e) ? e() : e.unsubscribe();
796
+ function xt(e) {
797
+ F(e) ? e() : e.unsubscribe();
798
798
  }
799
- var mn = {
799
+ var on = {
800
800
  Promise: void 0
801
- }, bn = {
801
+ }, an = {
802
802
  setTimeout: function(e, t) {
803
803
  for (var r = [], n = 2; n < arguments.length; n++)
804
804
  r[n - 2] = arguments[n];
805
- return setTimeout.apply(void 0, ut([e, t], lt(r)));
805
+ return setTimeout.apply(void 0, Je([e, t], Qe(r)));
806
806
  },
807
807
  clearTimeout: function(e) {
808
808
  return clearTimeout(e);
809
809
  },
810
810
  delegate: void 0
811
811
  };
812
- function gn(e) {
813
- bn.setTimeout(function() {
812
+ function un(e) {
813
+ an.setTimeout(function() {
814
814
  throw e;
815
815
  });
816
816
  }
817
- function Nt() {
817
+ function St() {
818
818
  }
819
- function Ne(e) {
819
+ function xe(e) {
820
820
  e();
821
821
  }
822
- var mr = function(e) {
823
- Ae(t, e);
822
+ var Kt = function(e) {
823
+ pe(t, e);
824
824
  function t(r) {
825
825
  var n = e.call(this) || this;
826
- return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = _n, n;
826
+ return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = cn, n;
827
827
  }
828
828
  return t.create = function(r, n, i) {
829
- return new ct(r, n, i);
829
+ return new qe(r, n, i);
830
830
  }, t.prototype.next = function(r) {
831
831
  this.isStopped || this._next(r);
832
832
  }, t.prototype.error = function(r) {
@@ -850,7 +850,7 @@ var mr = function(e) {
850
850
  this.unsubscribe();
851
851
  }
852
852
  }, t;
853
- }(ke), yn = function() {
853
+ }(Ae), hn = function() {
854
854
  function e(t) {
855
855
  this.partialObserver = t;
856
856
  }
@@ -860,7 +860,7 @@ var mr = function(e) {
860
860
  try {
861
861
  r.next(t);
862
862
  } catch (n) {
863
- Oe(n);
863
+ ve(n);
864
864
  }
865
865
  }, e.prototype.error = function(t) {
866
866
  var r = this.partialObserver;
@@ -868,56 +868,56 @@ var mr = function(e) {
868
868
  try {
869
869
  r.error(t);
870
870
  } catch (n) {
871
- Oe(n);
871
+ ve(n);
872
872
  }
873
873
  else
874
- Oe(t);
874
+ ve(t);
875
875
  }, e.prototype.complete = function() {
876
876
  var t = this.partialObserver;
877
877
  if (t.complete)
878
878
  try {
879
879
  t.complete();
880
880
  } catch (r) {
881
- Oe(r);
881
+ ve(r);
882
882
  }
883
883
  }, e;
884
- }(), ct = function(e) {
885
- Ae(t, e);
884
+ }(), qe = function(e) {
885
+ pe(t, e);
886
886
  function t(r, n, i) {
887
- var o = e.call(this) || this, s;
888
- return J(r) || !r ? s = {
887
+ var s = e.call(this) || this, o;
888
+ return F(r) || !r ? o = {
889
889
  next: r != null ? r : void 0,
890
890
  error: n != null ? n : void 0,
891
891
  complete: i != null ? i : void 0
892
- } : s = r, o.destination = new yn(s), o;
892
+ } : o = r, s.destination = new hn(o), s;
893
893
  }
894
894
  return t;
895
- }(mr);
896
- function Oe(e) {
897
- gn(e);
895
+ }(Kt);
896
+ function ve(e) {
897
+ un(e);
898
898
  }
899
- function vn(e) {
899
+ function ln(e) {
900
900
  throw e;
901
901
  }
902
- var _n = {
902
+ var cn = {
903
903
  closed: !0,
904
- next: Nt,
905
- error: vn,
906
- complete: Nt
907
- }, xn = function() {
904
+ next: St,
905
+ error: ln,
906
+ complete: St
907
+ }, fn = function() {
908
908
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
909
909
  }();
910
- function En(e) {
910
+ function mn(e) {
911
911
  return e;
912
912
  }
913
- function wn(e) {
914
- return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
913
+ function dn(e) {
914
+ return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
915
915
  return e.reduce(function(n, i) {
916
916
  return i(n);
917
917
  }, r);
918
918
  };
919
919
  }
920
- var Mt = function() {
920
+ var wt = function() {
921
921
  function e(t) {
922
922
  t && (this._subscribe = t);
923
923
  }
@@ -925,11 +925,11 @@ var Mt = function() {
925
925
  var r = new e();
926
926
  return r.source = this, r.operator = t, r;
927
927
  }, e.prototype.subscribe = function(t, r, n) {
928
- var i = this, o = Tn(t) ? t : new ct(t, r, n);
929
- return Ne(function() {
930
- var s = i, a = s.operator, u = s.source;
931
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
932
- }), o;
928
+ var i = this, s = bn(t) ? t : new qe(t, r, n);
929
+ return xe(function() {
930
+ var o = i, a = o.operator, h = o.source;
931
+ s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
932
+ }), s;
933
933
  }, e.prototype._trySubscribe = function(t) {
934
934
  try {
935
935
  return this._subscribe(t);
@@ -938,87 +938,87 @@ var Mt = function() {
938
938
  }
939
939
  }, e.prototype.forEach = function(t, r) {
940
940
  var n = this;
941
- return r = Rt(r), new r(function(i, o) {
942
- var s = new ct({
941
+ return r = Tt(r), new r(function(i, s) {
942
+ var o = new qe({
943
943
  next: function(a) {
944
944
  try {
945
945
  t(a);
946
- } catch (u) {
947
- o(u), s.unsubscribe();
946
+ } catch (h) {
947
+ s(h), o.unsubscribe();
948
948
  }
949
949
  },
950
- error: o,
950
+ error: s,
951
951
  complete: i
952
952
  });
953
- n.subscribe(s);
953
+ n.subscribe(o);
954
954
  });
955
955
  }, e.prototype._subscribe = function(t) {
956
956
  var r;
957
957
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
958
- }, e.prototype[xn] = function() {
958
+ }, e.prototype[fn] = function() {
959
959
  return this;
960
960
  }, e.prototype.pipe = function() {
961
961
  for (var t = [], r = 0; r < arguments.length; r++)
962
962
  t[r] = arguments[r];
963
- return wn(t)(this);
963
+ return dn(t)(this);
964
964
  }, e.prototype.toPromise = function(t) {
965
965
  var r = this;
966
- return t = Rt(t), new t(function(n, i) {
967
- var o;
968
- r.subscribe(function(s) {
969
- return o = s;
970
- }, function(s) {
971
- return i(s);
966
+ return t = Tt(t), new t(function(n, i) {
967
+ var s;
968
+ r.subscribe(function(o) {
969
+ return s = o;
970
+ }, function(o) {
971
+ return i(o);
972
972
  }, function() {
973
- return n(o);
973
+ return n(s);
974
974
  });
975
975
  });
976
976
  }, e.create = function(t) {
977
977
  return new e(t);
978
978
  }, e;
979
979
  }();
980
- function Rt(e) {
980
+ function Tt(e) {
981
981
  var t;
982
- return (t = e != null ? e : mn.Promise) !== null && t !== void 0 ? t : Promise;
982
+ return (t = e != null ? e : on.Promise) !== null && t !== void 0 ? t : Promise;
983
983
  }
984
- function Sn(e) {
985
- return e && J(e.next) && J(e.error) && J(e.complete);
984
+ function pn(e) {
985
+ return e && F(e.next) && F(e.error) && F(e.complete);
986
986
  }
987
- function Tn(e) {
988
- return e && e instanceof mr || Sn(e) && dr(e);
987
+ function bn(e) {
988
+ return e && e instanceof Kt || pn(e) && qt(e);
989
989
  }
990
- var Hn = fr(function(e) {
990
+ var gn = Jt(function(e) {
991
991
  return function() {
992
992
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
993
993
  };
994
- }), br = function(e) {
995
- Ae(t, e);
994
+ }), er = function(e) {
995
+ pe(t, e);
996
996
  function t() {
997
997
  var r = e.call(this) || this;
998
998
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
999
999
  }
1000
1000
  return t.prototype.lift = function(r) {
1001
- var n = new $t(this, this);
1001
+ var n = new Ht(this, this);
1002
1002
  return n.operator = r, n;
1003
1003
  }, t.prototype._throwIfClosed = function() {
1004
1004
  if (this.closed)
1005
- throw new Hn();
1005
+ throw new gn();
1006
1006
  }, t.prototype.next = function(r) {
1007
1007
  var n = this;
1008
- Ne(function() {
1009
- var i, o;
1008
+ xe(function() {
1009
+ var i, s;
1010
1010
  if (n._throwIfClosed(), !n.isStopped) {
1011
1011
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1012
1012
  try {
1013
- for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1014
- var u = a.value;
1015
- u.next(r);
1013
+ for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
1014
+ var h = a.value;
1015
+ h.next(r);
1016
1016
  }
1017
- } catch (l) {
1018
- i = { error: l };
1017
+ } catch (u) {
1018
+ i = { error: u };
1019
1019
  } finally {
1020
1020
  try {
1021
- a && !a.done && (o = s.return) && o.call(s);
1021
+ a && !a.done && (s = o.return) && s.call(o);
1022
1022
  } finally {
1023
1023
  if (i)
1024
1024
  throw i.error;
@@ -1028,7 +1028,7 @@ var Hn = fr(function(e) {
1028
1028
  });
1029
1029
  }, t.prototype.error = function(r) {
1030
1030
  var n = this;
1031
- Ne(function() {
1031
+ xe(function() {
1032
1032
  if (n._throwIfClosed(), !n.isStopped) {
1033
1033
  n.hasError = n.isStopped = !0, n.thrownError = r;
1034
1034
  for (var i = n.observers; i.length; )
@@ -1037,7 +1037,7 @@ var Hn = fr(function(e) {
1037
1037
  });
1038
1038
  }, t.prototype.complete = function() {
1039
1039
  var r = this;
1040
- Ne(function() {
1040
+ xe(function() {
1041
1041
  if (r._throwIfClosed(), !r.isStopped) {
1042
1042
  r.isStopped = !0;
1043
1043
  for (var n = r.observers; n.length; )
@@ -1058,21 +1058,21 @@ var Hn = fr(function(e) {
1058
1058
  }, t.prototype._subscribe = function(r) {
1059
1059
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1060
1060
  }, t.prototype._innerSubscribe = function(r) {
1061
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1062
- return o || s ? pr : (this.currentObservers = null, a.push(r), new ke(function() {
1063
- n.currentObservers = null, ht(a, r);
1061
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1062
+ return s || o ? Yt : (this.currentObservers = null, a.push(r), new Ae(function() {
1063
+ n.currentObservers = null, Ye(a, r);
1064
1064
  }));
1065
1065
  }, t.prototype._checkFinalizedStatuses = function(r) {
1066
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1067
- i ? r.error(o) : s && r.complete();
1066
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1067
+ i ? r.error(s) : o && r.complete();
1068
1068
  }, t.prototype.asObservable = function() {
1069
- var r = new Mt();
1069
+ var r = new wt();
1070
1070
  return r.source = this, r;
1071
1071
  }, t.create = function(r, n) {
1072
- return new $t(r, n);
1072
+ return new Ht(r, n);
1073
1073
  }, t;
1074
- }(Mt), $t = function(e) {
1075
- Ae(t, e);
1074
+ }(wt), Ht = function(e) {
1075
+ pe(t, e);
1076
1076
  function t(r, n) {
1077
1077
  var i = e.call(this) || this;
1078
1078
  return i.destination = r, i.source = n, i;
@@ -1088,208 +1088,208 @@ var Hn = fr(function(e) {
1088
1088
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1089
1089
  }, t.prototype._subscribe = function(r) {
1090
1090
  var n, i;
1091
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
1091
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1092
1092
  }, t;
1093
- }(br), gr = {
1093
+ }(er), tr = {
1094
1094
  now: function() {
1095
- return (gr.delegate || Date).now();
1095
+ return (tr.delegate || Date).now();
1096
1096
  },
1097
1097
  delegate: void 0
1098
- }, An = function(e) {
1099
- Ae(t, e);
1098
+ }, yn = function(e) {
1099
+ pe(t, e);
1100
1100
  function t(r, n, i) {
1101
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = gr);
1102
- var o = e.call(this) || this;
1103
- 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;
1101
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1102
+ var s = e.call(this) || this;
1103
+ 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;
1104
1104
  }
1105
1105
  return t.prototype.next = function(r) {
1106
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1107
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1106
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1107
+ i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1108
1108
  }, t.prototype._subscribe = function(r) {
1109
1109
  this._throwIfClosed(), this._trimBuffer();
1110
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1111
- r.next(a[u]);
1110
+ 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)
1111
+ r.next(a[h]);
1112
1112
  return this._checkFinalizedStatuses(r), n;
1113
1113
  }, t.prototype._trimBuffer = function() {
1114
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1115
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1116
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1117
- l = h;
1118
- l && o.splice(0, l + 1);
1114
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1115
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1116
+ for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
1117
+ u = l;
1118
+ u && s.splice(0, u + 1);
1119
1119
  }
1120
1120
  }, t;
1121
- }(br);
1122
- const Ut = [], Dt = {}, Pn = (e, t = 0) => {
1123
- if (Ut.indexOf(e) == -1) {
1124
- const r = new An(t);
1125
- Dt[e] = r, Ut.push(e);
1121
+ }(er);
1122
+ const Pt = [], At = {}, vn = (e, t = 0) => {
1123
+ if (Pt.indexOf(e) == -1) {
1124
+ const r = new yn(t);
1125
+ At[e] = r, Pt.push(e);
1126
1126
  }
1127
- return Dt[e];
1128
- }, ce = [];
1129
- function Bn(e, t) {
1127
+ return At[e];
1128
+ }, Z = [];
1129
+ function _n(e, t) {
1130
1130
  return {
1131
- subscribe: je(e, t).subscribe
1131
+ subscribe: Be(e, t).subscribe
1132
1132
  };
1133
1133
  }
1134
- function je(e, t = k) {
1134
+ function Be(e, t = R) {
1135
1135
  let r;
1136
1136
  const n = /* @__PURE__ */ new Set();
1137
1137
  function i(a) {
1138
- if (or(e, a) && (e = a, r)) {
1139
- const u = !ce.length;
1140
- for (const l of n)
1141
- l[1](), ce.push(l, e);
1142
- if (u) {
1143
- for (let l = 0; l < ce.length; l += 2)
1144
- ce[l][0](ce[l + 1]);
1145
- ce.length = 0;
1138
+ if (kt(e, a) && (e = a, r)) {
1139
+ const h = !Z.length;
1140
+ for (const u of n)
1141
+ u[1](), Z.push(u, e);
1142
+ if (h) {
1143
+ for (let u = 0; u < Z.length; u += 2)
1144
+ Z[u][0](Z[u + 1]);
1145
+ Z.length = 0;
1146
1146
  }
1147
1147
  }
1148
1148
  }
1149
- function o(a) {
1149
+ function s(a) {
1150
1150
  i(a(e));
1151
1151
  }
1152
- function s(a, u = k) {
1153
- const l = [a, u];
1154
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1155
- n.delete(l), n.size === 0 && r && (r(), r = null);
1152
+ function o(a, h = R) {
1153
+ const u = [a, h];
1154
+ return n.add(u), n.size === 1 && (r = t(i, s) || R), a(e), () => {
1155
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1156
1156
  };
1157
1157
  }
1158
- return { set: i, update: o, subscribe: s };
1158
+ return { set: i, update: s, subscribe: o };
1159
1159
  }
1160
- function ye(e, t, r) {
1160
+ function ie(e, t, r) {
1161
1161
  const n = !Array.isArray(e), i = n ? [e] : e;
1162
1162
  if (!i.every(Boolean))
1163
1163
  throw new Error("derived() expects stores as input, got a falsy value");
1164
- const o = t.length < 2;
1165
- return Bn(r, (s, a) => {
1166
- let u = !1;
1167
- const l = [];
1168
- let h = 0, p = k;
1164
+ const s = t.length < 2;
1165
+ return _n(r, (o, a) => {
1166
+ let h = !1;
1167
+ const u = [];
1168
+ let l = 0, m = R;
1169
1169
  const c = () => {
1170
- if (h)
1170
+ if (l)
1171
1171
  return;
1172
- p();
1173
- const v = t(n ? l[0] : l, s, a);
1174
- o ? s(v) : p = xt(v) ? v : k;
1175
- }, m = i.map(
1176
- (v, y) => sr(
1177
- v,
1172
+ m();
1173
+ const b = t(n ? u[0] : u, o, a);
1174
+ s ? o(b) : m = ut(b) ? b : R;
1175
+ }, d = i.map(
1176
+ (b, v) => Vt(
1177
+ b,
1178
1178
  (T) => {
1179
- l[y] = T, h &= ~(1 << y), u && c();
1179
+ u[v] = T, l &= ~(1 << v), h && c();
1180
1180
  },
1181
1181
  () => {
1182
- h |= 1 << y;
1182
+ l |= 1 << v;
1183
1183
  }
1184
1184
  )
1185
1185
  );
1186
- return u = !0, c(), function() {
1187
- Y(m), p(), u = !1;
1186
+ return h = !0, c(), function() {
1187
+ re(d), m(), h = !1;
1188
1188
  };
1189
1189
  });
1190
1190
  }
1191
- function Fn(e) {
1191
+ function En(e) {
1192
1192
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1193
1193
  }
1194
- var Cn = function(t) {
1195
- return On(t) && !In(t);
1194
+ var xn = function(t) {
1195
+ return Sn(t) && !wn(t);
1196
1196
  };
1197
- function On(e) {
1197
+ function Sn(e) {
1198
1198
  return !!e && typeof e == "object";
1199
1199
  }
1200
- function In(e) {
1200
+ function wn(e) {
1201
1201
  var t = Object.prototype.toString.call(e);
1202
- return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1202
+ return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
1203
1203
  }
1204
- var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
1205
- function Mn(e) {
1206
- return e.$$typeof === Nn;
1204
+ var Tn = typeof Symbol == "function" && Symbol.for, Hn = Tn ? Symbol.for("react.element") : 60103;
1205
+ function Pn(e) {
1206
+ return e.$$typeof === Hn;
1207
1207
  }
1208
- function Rn(e) {
1208
+ function An(e) {
1209
1209
  return Array.isArray(e) ? [] : {};
1210
1210
  }
1211
- function Te(e, t) {
1212
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Rn(e), e, t) : e;
1211
+ function fe(e, t) {
1212
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(An(e), e, t) : e;
1213
1213
  }
1214
- function $n(e, t, r) {
1214
+ function Bn(e, t, r) {
1215
1215
  return e.concat(t).map(function(n) {
1216
- return Te(n, r);
1216
+ return fe(n, r);
1217
1217
  });
1218
1218
  }
1219
- function Un(e, t) {
1219
+ function On(e, t) {
1220
1220
  if (!t.customMerge)
1221
- return de;
1221
+ return q;
1222
1222
  var r = t.customMerge(e);
1223
- return typeof r == "function" ? r : de;
1223
+ return typeof r == "function" ? r : q;
1224
1224
  }
1225
- function Dn(e) {
1225
+ function Nn(e) {
1226
1226
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1227
1227
  return Object.propertyIsEnumerable.call(e, t);
1228
1228
  }) : [];
1229
1229
  }
1230
- function Gt(e) {
1231
- return Object.keys(e).concat(Dn(e));
1230
+ function Bt(e) {
1231
+ return Object.keys(e).concat(Nn(e));
1232
1232
  }
1233
- function yr(e, t) {
1233
+ function rr(e, t) {
1234
1234
  try {
1235
1235
  return t in e;
1236
1236
  } catch (r) {
1237
1237
  return !1;
1238
1238
  }
1239
1239
  }
1240
- function Gn(e, t) {
1241
- return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1240
+ function Cn(e, t) {
1241
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1242
1242
  }
1243
- function kn(e, t, r) {
1243
+ function Ln(e, t, r) {
1244
1244
  var n = {};
1245
- return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
1246
- n[i] = Te(e[i], r);
1247
- }), Gt(t).forEach(function(i) {
1248
- Gn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1245
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1246
+ n[i] = fe(e[i], r);
1247
+ }), Bt(t).forEach(function(i) {
1248
+ Cn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1249
1249
  }), n;
1250
1250
  }
1251
- function de(e, t, r) {
1252
- r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = Te;
1253
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1254
- return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : Te(t, r);
1251
+ function q(e, t, r) {
1252
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = fe;
1253
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1254
+ return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : fe(t, r);
1255
1255
  }
1256
- de.all = function(t, r) {
1256
+ q.all = function(t, r) {
1257
1257
  if (!Array.isArray(t))
1258
1258
  throw new Error("first argument should be an array");
1259
1259
  return t.reduce(function(n, i) {
1260
- return de(n, i, r);
1260
+ return q(n, i, r);
1261
1261
  }, {});
1262
1262
  };
1263
- var jn = de, Vn = jn;
1264
- const Xn = /* @__PURE__ */ Fn(Vn);
1265
- var ft = function(e, t) {
1266
- return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1263
+ var In = q, Mn = In;
1264
+ const Rn = /* @__PURE__ */ En(Mn);
1265
+ var Ke = function(e, t) {
1266
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1267
1267
  r.__proto__ = n;
1268
1268
  } || function(r, n) {
1269
1269
  for (var i in n)
1270
1270
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1271
- }, ft(e, t);
1271
+ }, Ke(e, t);
1272
1272
  };
1273
- function Ve(e, t) {
1273
+ function Oe(e, t) {
1274
1274
  if (typeof t != "function" && t !== null)
1275
1275
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1276
- ft(e, t);
1276
+ Ke(e, t);
1277
1277
  function r() {
1278
1278
  this.constructor = e;
1279
1279
  }
1280
1280
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1281
1281
  }
1282
- var W = function() {
1283
- return W = Object.assign || function(t) {
1282
+ var G = function() {
1283
+ return G = Object.assign || function(t) {
1284
1284
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1285
1285
  r = arguments[n];
1286
- for (var o in r)
1287
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1286
+ for (var s in r)
1287
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1288
1288
  }
1289
1289
  return t;
1290
- }, W.apply(this, arguments);
1290
+ }, G.apply(this, arguments);
1291
1291
  };
1292
- function Wn(e, t) {
1292
+ function Gn(e, t) {
1293
1293
  var r = {};
1294
1294
  for (var n in e)
1295
1295
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1298,43 +1298,43 @@ function Wn(e, t) {
1298
1298
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1299
1299
  return r;
1300
1300
  }
1301
- function qe(e, t, r) {
1301
+ function Ue(e, t, r) {
1302
1302
  if (r || arguments.length === 2)
1303
- for (var n = 0, i = t.length, o; n < i; n++)
1304
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1305
- return e.concat(o || Array.prototype.slice.call(t));
1303
+ for (var n = 0, i = t.length, s; n < i; n++)
1304
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1305
+ return e.concat(s || Array.prototype.slice.call(t));
1306
1306
  }
1307
- function Ye(e, t) {
1308
- var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Jn;
1307
+ function $e(e, t) {
1308
+ var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Dn;
1309
1309
  return i(e, {
1310
1310
  cache: r,
1311
1311
  serializer: n
1312
1312
  });
1313
1313
  }
1314
- function zn(e) {
1314
+ function Un(e) {
1315
1315
  return e == null || typeof e == "number" || typeof e == "boolean";
1316
1316
  }
1317
- function Zn(e, t, r, n) {
1318
- var i = zn(n) ? n : r(n), o = t.get(i);
1319
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1317
+ function $n(e, t, r, n) {
1318
+ var i = Un(n) ? n : r(n), s = t.get(i);
1319
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1320
1320
  }
1321
- function vr(e, t, r) {
1322
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1323
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1321
+ function nr(e, t, r) {
1322
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1323
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1324
1324
  }
1325
- function _r(e, t, r, n, i) {
1325
+ function ir(e, t, r, n, i) {
1326
1326
  return r.bind(t, e, n, i);
1327
1327
  }
1328
- function Jn(e, t) {
1329
- var r = e.length === 1 ? Zn : vr;
1330
- return _r(e, this, r, t.cache.create(), t.serializer);
1328
+ function Dn(e, t) {
1329
+ var r = e.length === 1 ? $n : nr;
1330
+ return ir(e, this, r, t.cache.create(), t.serializer);
1331
1331
  }
1332
- function Qn(e, t) {
1333
- return _r(e, this, vr, t.cache.create(), t.serializer);
1332
+ function Fn(e, t) {
1333
+ return ir(e, this, nr, t.cache.create(), t.serializer);
1334
1334
  }
1335
- var qn = function() {
1335
+ var jn = function() {
1336
1336
  return JSON.stringify(arguments);
1337
- }, Yn = (
1337
+ }, kn = (
1338
1338
  /** @class */
1339
1339
  function() {
1340
1340
  function e() {
@@ -1346,71 +1346,71 @@ var qn = function() {
1346
1346
  this.cache[t] = r;
1347
1347
  }, e;
1348
1348
  }()
1349
- ), Kn = {
1349
+ ), Vn = {
1350
1350
  create: function() {
1351
- return new Yn();
1351
+ return new kn();
1352
1352
  }
1353
- }, Ke = {
1354
- variadic: Qn
1355
- }, Ue = function() {
1356
- return Ue = Object.assign || function(t) {
1353
+ }, De = {
1354
+ variadic: Fn
1355
+ }, Te = function() {
1356
+ return Te = Object.assign || function(t) {
1357
1357
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1358
1358
  r = arguments[n];
1359
- for (var o in r)
1360
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1359
+ for (var s in r)
1360
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1361
1361
  }
1362
1362
  return t;
1363
- }, Ue.apply(this, arguments);
1363
+ }, Te.apply(this, arguments);
1364
1364
  };
1365
- var E;
1365
+ var g;
1366
1366
  (function(e) {
1367
1367
  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";
1368
- })(E || (E = {}));
1369
- var F;
1368
+ })(g || (g = {}));
1369
+ var E;
1370
1370
  (function(e) {
1371
1371
  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";
1372
- })(F || (F = {}));
1373
- var me;
1372
+ })(E || (E = {}));
1373
+ var K;
1374
1374
  (function(e) {
1375
1375
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1376
- })(me || (me = {}));
1377
- function kt(e) {
1378
- return e.type === F.literal;
1376
+ })(K || (K = {}));
1377
+ function Ot(e) {
1378
+ return e.type === E.literal;
1379
1379
  }
1380
- function ei(e) {
1381
- return e.type === F.argument;
1380
+ function Xn(e) {
1381
+ return e.type === E.argument;
1382
1382
  }
1383
- function xr(e) {
1384
- return e.type === F.number;
1383
+ function sr(e) {
1384
+ return e.type === E.number;
1385
1385
  }
1386
- function Er(e) {
1387
- return e.type === F.date;
1386
+ function or(e) {
1387
+ return e.type === E.date;
1388
1388
  }
1389
- function wr(e) {
1390
- return e.type === F.time;
1389
+ function ar(e) {
1390
+ return e.type === E.time;
1391
1391
  }
1392
- function Sr(e) {
1393
- return e.type === F.select;
1392
+ function ur(e) {
1393
+ return e.type === E.select;
1394
1394
  }
1395
- function Tr(e) {
1396
- return e.type === F.plural;
1395
+ function hr(e) {
1396
+ return e.type === E.plural;
1397
1397
  }
1398
- function ti(e) {
1399
- return e.type === F.pound;
1398
+ function Wn(e) {
1399
+ return e.type === E.pound;
1400
1400
  }
1401
- function Hr(e) {
1402
- return e.type === F.tag;
1401
+ function lr(e) {
1402
+ return e.type === E.tag;
1403
1403
  }
1404
- function Ar(e) {
1405
- return !!(e && typeof e == "object" && e.type === me.number);
1404
+ function cr(e) {
1405
+ return !!(e && typeof e == "object" && e.type === K.number);
1406
1406
  }
1407
- function pt(e) {
1408
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1407
+ function et(e) {
1408
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1409
1409
  }
1410
- var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
1411
- function ni(e) {
1410
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
1411
+ function Zn(e) {
1412
1412
  var t = {};
1413
- return e.replace(ri, function(r) {
1413
+ return e.replace(zn, function(r) {
1414
1414
  var n = r.length;
1415
1415
  switch (r[0]) {
1416
1416
  case "G":
@@ -1499,46 +1499,46 @@ function ni(e) {
1499
1499
  return "";
1500
1500
  }), t;
1501
1501
  }
1502
- var O = function() {
1503
- return O = Object.assign || function(t) {
1502
+ var w = function() {
1503
+ return w = Object.assign || function(t) {
1504
1504
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1505
1505
  r = arguments[n];
1506
- for (var o in r)
1507
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1506
+ for (var s in r)
1507
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1508
1508
  }
1509
1509
  return t;
1510
- }, O.apply(this, arguments);
1510
+ }, w.apply(this, arguments);
1511
1511
  };
1512
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1513
- function oi(e) {
1512
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1513
+ function Jn(e) {
1514
1514
  if (e.length === 0)
1515
1515
  throw new Error("Number skeleton cannot be empty");
1516
- for (var t = e.split(ii).filter(function(c) {
1516
+ for (var t = e.split(Qn).filter(function(c) {
1517
1517
  return c.length > 0;
1518
1518
  }), r = [], n = 0, i = t; n < i.length; n++) {
1519
- var o = i[n], s = o.split("/");
1520
- if (s.length === 0)
1519
+ var s = i[n], o = s.split("/");
1520
+ if (o.length === 0)
1521
1521
  throw new Error("Invalid number skeleton");
1522
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1523
- var p = h[l];
1524
- if (p.length === 0)
1522
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1523
+ var m = l[u];
1524
+ if (m.length === 0)
1525
1525
  throw new Error("Invalid number skeleton");
1526
1526
  }
1527
- r.push({ stem: a, options: u });
1527
+ r.push({ stem: a, options: h });
1528
1528
  }
1529
1529
  return r;
1530
1530
  }
1531
- function si(e) {
1531
+ function Yn(e) {
1532
1532
  return e.replace(/^(.*?)-/, "");
1533
1533
  }
1534
- var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1535
- function Vt(e) {
1534
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1535
+ function Ct(e) {
1536
1536
  var t = {};
1537
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(r, n, i) {
1537
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1538
1538
  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)), "";
1539
1539
  }), t;
1540
1540
  }
1541
- function Cr(e) {
1541
+ function pr(e) {
1542
1542
  switch (e) {
1543
1543
  case "sign-auto":
1544
1544
  return {
@@ -1578,7 +1578,7 @@ function Cr(e) {
1578
1578
  };
1579
1579
  }
1580
1580
  }
1581
- function li(e) {
1581
+ function Kn(e) {
1582
1582
  var t;
1583
1583
  if (e[0] === "E" && e[1] === "E" ? (t = {
1584
1584
  notation: "engineering"
@@ -1586,17 +1586,17 @@ function li(e) {
1586
1586
  notation: "scientific"
1587
1587
  }, e = e.slice(1)), t) {
1588
1588
  var r = e.slice(0, 2);
1589
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1589
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1590
1590
  throw new Error("Malformed concise eng/scientific notation");
1591
1591
  t.minimumIntegerDigits = e.length;
1592
1592
  }
1593
1593
  return t;
1594
1594
  }
1595
- function Xt(e) {
1596
- var t = {}, r = Cr(e);
1595
+ function Lt(e) {
1596
+ var t = {}, r = pr(e);
1597
1597
  return r || t;
1598
1598
  }
1599
- function ui(e) {
1599
+ function ei(e) {
1600
1600
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1601
1601
  var i = n[r];
1602
1602
  switch (i.stem) {
@@ -1620,7 +1620,7 @@ function ui(e) {
1620
1620
  continue;
1621
1621
  case "measure-unit":
1622
1622
  case "unit":
1623
- t.style = "unit", t.unit = si(i.options[0]);
1623
+ t.style = "unit", t.unit = Yn(i.options[0]);
1624
1624
  continue;
1625
1625
  case "compact-short":
1626
1626
  case "K":
@@ -1631,13 +1631,13 @@ function ui(e) {
1631
1631
  t.notation = "compact", t.compactDisplay = "long";
1632
1632
  continue;
1633
1633
  case "scientific":
1634
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1635
- return O(O({}, u), Xt(l));
1634
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1635
+ return w(w({}, h), Lt(u));
1636
1636
  }, {}));
1637
1637
  continue;
1638
1638
  case "engineering":
1639
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1640
- return O(O({}, u), Xt(l));
1639
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1640
+ return w(w({}, h), Lt(u));
1641
1641
  }, {}));
1642
1642
  continue;
1643
1643
  case "notation-simple":
@@ -1682,45 +1682,45 @@ function ui(e) {
1682
1682
  case "integer-width":
1683
1683
  if (i.options.length > 1)
1684
1684
  throw new RangeError("integer-width stems only accept a single optional option");
1685
- i.options[0].replace(ai, function(u, l, h, p, c, m) {
1686
- if (l)
1687
- t.minimumIntegerDigits = h.length;
1685
+ i.options[0].replace(qn, function(h, u, l, m, c, d) {
1686
+ if (u)
1687
+ t.minimumIntegerDigits = l.length;
1688
1688
  else {
1689
- if (p && c)
1689
+ if (m && c)
1690
1690
  throw new Error("We currently do not support maximum integer digits");
1691
- if (m)
1691
+ if (d)
1692
1692
  throw new Error("We currently do not support exact integer digits");
1693
1693
  }
1694
1694
  return "";
1695
1695
  });
1696
1696
  continue;
1697
1697
  }
1698
- if (Fr.test(i.stem)) {
1698
+ if (dr.test(i.stem)) {
1699
1699
  t.minimumIntegerDigits = i.stem.length;
1700
1700
  continue;
1701
1701
  }
1702
- if (jt.test(i.stem)) {
1702
+ if (Nt.test(i.stem)) {
1703
1703
  if (i.options.length > 1)
1704
1704
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1705
- i.stem.replace(jt, function(u, l, h, p, c, m) {
1706
- return h === "*" ? 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), "";
1705
+ i.stem.replace(Nt, function(h, u, l, m, c, d) {
1706
+ 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), "";
1707
1707
  });
1708
- var o = i.options[0];
1709
- o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Vt(o)));
1708
+ var s = i.options[0];
1709
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Ct(s)));
1710
1710
  continue;
1711
1711
  }
1712
- if (Br.test(i.stem)) {
1713
- t = O(O({}, t), Vt(i.stem));
1712
+ if (mr.test(i.stem)) {
1713
+ t = w(w({}, t), Ct(i.stem));
1714
1714
  continue;
1715
1715
  }
1716
- var s = Cr(i.stem);
1717
- s && (t = O(O({}, t), s));
1718
- var a = li(i.stem);
1719
- a && (t = O(O({}, t), a));
1716
+ var o = pr(i.stem);
1717
+ o && (t = w(w({}, t), o));
1718
+ var a = Kn(i.stem);
1719
+ a && (t = w(w({}, t), a));
1720
1720
  }
1721
1721
  return t;
1722
1722
  }
1723
- var Ie = {
1723
+ var _e = {
1724
1724
  "001": [
1725
1725
  "H",
1726
1726
  "h"
@@ -3135,23 +3135,23 @@ var Ie = {
3135
3135
  "h"
3136
3136
  ]
3137
3137
  };
3138
- function hi(e, t) {
3138
+ function ti(e, t) {
3139
3139
  for (var r = "", n = 0; n < e.length; n++) {
3140
3140
  var i = e.charAt(n);
3141
3141
  if (i === "j") {
3142
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3143
- o++, n++;
3144
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ci(t);
3145
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3146
- r += u;
3147
- for (; s-- > 0; )
3148
- r = l + r;
3142
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3143
+ s++, n++;
3144
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ri(t);
3145
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3146
+ r += h;
3147
+ for (; o-- > 0; )
3148
+ r = u + r;
3149
3149
  } else
3150
3150
  i === "J" ? r += "H" : r += i;
3151
3151
  }
3152
3152
  return r;
3153
3153
  }
3154
- function ci(e) {
3154
+ function ri(e) {
3155
3155
  var t = e.hourCycle;
3156
3156
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3157
3157
  e.hourCycles && // @ts-ignore
@@ -3170,23 +3170,23 @@ function ci(e) {
3170
3170
  }
3171
3171
  var r = e.language, n;
3172
3172
  r !== "root" && (n = e.maximize().region);
3173
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3173
+ var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3174
3174
  return i[0];
3175
3175
  }
3176
- var et, fi = new RegExp("^".concat(Pr.source, "*")), pi = new RegExp("".concat(Pr.source, "*$"));
3177
- function w(e, t) {
3176
+ var Fe, ni = new RegExp("^".concat(fr.source, "*")), ii = new RegExp("".concat(fr.source, "*$"));
3177
+ function y(e, t) {
3178
3178
  return { start: e, end: t };
3179
3179
  }
3180
- var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, xi = _i ? Number.isSafeInteger : function(e) {
3180
+ var si = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, hi = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
3181
3181
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3182
- }, dt = !0;
3182
+ }, tt = !0;
3183
3183
  try {
3184
- var Ei = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3185
- dt = ((et = Ei.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3184
+ var mi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3185
+ tt = ((Fe = mi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3186
3186
  } catch (e) {
3187
- dt = !1;
3187
+ tt = !1;
3188
3188
  }
3189
- var Wt = di ? (
3189
+ var It = si ? (
3190
3190
  // Native
3191
3191
  function(t, r, n) {
3192
3192
  return t.startsWith(r, n);
@@ -3196,31 +3196,31 @@ var Wt = di ? (
3196
3196
  function(t, r, n) {
3197
3197
  return t.slice(n, n + r.length) === r;
3198
3198
  }
3199
- ), mt = mi ? String.fromCodePoint : (
3199
+ ), rt = oi ? String.fromCodePoint : (
3200
3200
  // IE11
3201
3201
  function() {
3202
3202
  for (var t = [], r = 0; r < arguments.length; r++)
3203
3203
  t[r] = arguments[r];
3204
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3205
- if (s = t[o++], s > 1114111)
3206
- throw RangeError(s + " is not a valid code point");
3207
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3204
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3205
+ if (o = t[s++], o > 1114111)
3206
+ throw RangeError(o + " is not a valid code point");
3207
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3208
3208
  }
3209
3209
  return n;
3210
3210
  }
3211
- ), zt = (
3211
+ ), Mt = (
3212
3212
  // native
3213
- bi ? Object.fromEntries : (
3213
+ ai ? Object.fromEntries : (
3214
3214
  // Ponyfill
3215
3215
  function(t) {
3216
3216
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3217
- var o = i[n], s = o[0], a = o[1];
3218
- r[s] = a;
3217
+ var s = i[n], o = s[0], a = s[1];
3218
+ r[o] = a;
3219
3219
  }
3220
3220
  return r;
3221
3221
  }
3222
3222
  )
3223
- ), Or = gi ? (
3223
+ ), br = ui ? (
3224
3224
  // Native
3225
3225
  function(t, r) {
3226
3226
  return t.codePointAt(r);
@@ -3230,11 +3230,11 @@ var Wt = di ? (
3230
3230
  function(t, r) {
3231
3231
  var n = t.length;
3232
3232
  if (!(r < 0 || r >= n)) {
3233
- var i = t.charCodeAt(r), o;
3234
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3233
+ var i = t.charCodeAt(r), s;
3234
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3235
3235
  }
3236
3236
  }
3237
- ), wi = yi ? (
3237
+ ), di = hi ? (
3238
3238
  // Native
3239
3239
  function(t) {
3240
3240
  return t.trimStart();
@@ -3242,9 +3242,9 @@ var Wt = di ? (
3242
3242
  ) : (
3243
3243
  // Ponyfill
3244
3244
  function(t) {
3245
- return t.replace(fi, "");
3245
+ return t.replace(ni, "");
3246
3246
  }
3247
- ), Si = vi ? (
3247
+ ), pi = li ? (
3248
3248
  // Native
3249
3249
  function(t) {
3250
3250
  return t.trimEnd();
@@ -3252,32 +3252,32 @@ var Wt = di ? (
3252
3252
  ) : (
3253
3253
  // Ponyfill
3254
3254
  function(t) {
3255
- return t.replace(pi, "");
3255
+ return t.replace(ii, "");
3256
3256
  }
3257
3257
  );
3258
- function Ir(e, t) {
3258
+ function gr(e, t) {
3259
3259
  return new RegExp(e, t);
3260
3260
  }
3261
- var bt;
3262
- if (dt) {
3263
- var Zt = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3264
- bt = function(t, r) {
3261
+ var nt;
3262
+ if (tt) {
3263
+ var Rt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3264
+ nt = function(t, r) {
3265
3265
  var n;
3266
- Zt.lastIndex = r;
3267
- var i = Zt.exec(t);
3266
+ Rt.lastIndex = r;
3267
+ var i = Rt.exec(t);
3268
3268
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3269
3269
  };
3270
3270
  } else
3271
- bt = function(t, r) {
3271
+ nt = function(t, r) {
3272
3272
  for (var n = []; ; ) {
3273
- var i = Or(t, r);
3274
- if (i === void 0 || Lr(i) || Pi(i))
3273
+ var i = br(t, r);
3274
+ if (i === void 0 || yr(i) || vi(i))
3275
3275
  break;
3276
3276
  n.push(i), r += i >= 65536 ? 2 : 1;
3277
3277
  }
3278
- return mt.apply(void 0, n);
3278
+ return rt.apply(void 0, n);
3279
3279
  };
3280
- var Ti = (
3280
+ var bi = (
3281
3281
  /** @class */
3282
3282
  function() {
3283
3283
  function e(t, r) {
@@ -3289,35 +3289,35 @@ var Ti = (
3289
3289
  return this.parseMessage(0, "", !1);
3290
3290
  }, e.prototype.parseMessage = function(t, r, n) {
3291
3291
  for (var i = []; !this.isEOF(); ) {
3292
- var o = this.char();
3293
- if (o === 123) {
3294
- var s = this.parseArgument(t, n);
3295
- if (s.err)
3296
- return s;
3297
- i.push(s.val);
3292
+ var s = this.char();
3293
+ if (s === 123) {
3294
+ var o = this.parseArgument(t, n);
3295
+ if (o.err)
3296
+ return o;
3297
+ i.push(o.val);
3298
3298
  } else {
3299
- if (o === 125 && t > 0)
3299
+ if (s === 125 && t > 0)
3300
3300
  break;
3301
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3301
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3302
3302
  var a = this.clonePosition();
3303
3303
  this.bump(), i.push({
3304
- type: F.pound,
3305
- location: w(a, this.clonePosition())
3304
+ type: E.pound,
3305
+ location: y(a, this.clonePosition())
3306
3306
  });
3307
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3307
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3308
3308
  if (n)
3309
3309
  break;
3310
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3311
- } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3312
- var s = this.parseTag(t, r);
3313
- if (s.err)
3314
- return s;
3315
- i.push(s.val);
3310
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3311
+ } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3312
+ var o = this.parseTag(t, r);
3313
+ if (o.err)
3314
+ return o;
3315
+ i.push(o.val);
3316
3316
  } else {
3317
- var s = this.parseLiteral(t, r);
3318
- if (s.err)
3319
- return s;
3320
- i.push(s.val);
3317
+ var o = this.parseLiteral(t, r);
3318
+ if (o.err)
3319
+ return o;
3320
+ i.push(o.val);
3321
3321
  }
3322
3322
  }
3323
3323
  }
@@ -3329,51 +3329,51 @@ var Ti = (
3329
3329
  if (this.bumpSpace(), this.bumpIf("/>"))
3330
3330
  return {
3331
3331
  val: {
3332
- type: F.literal,
3332
+ type: E.literal,
3333
3333
  value: "<".concat(i, "/>"),
3334
- location: w(n, this.clonePosition())
3334
+ location: y(n, this.clonePosition())
3335
3335
  },
3336
3336
  err: null
3337
3337
  };
3338
3338
  if (this.bumpIf(">")) {
3339
- var o = this.parseMessage(t + 1, r, !0);
3340
- if (o.err)
3341
- return o;
3342
- var s = o.val, a = this.clonePosition();
3339
+ var s = this.parseMessage(t + 1, r, !0);
3340
+ if (s.err)
3341
+ return s;
3342
+ var o = s.val, a = this.clonePosition();
3343
3343
  if (this.bumpIf("</")) {
3344
- if (this.isEOF() || !gt(this.char()))
3345
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3346
- var u = this.clonePosition(), l = this.parseTagName();
3347
- return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3344
+ if (this.isEOF() || !it(this.char()))
3345
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3346
+ var h = this.clonePosition(), u = this.parseTagName();
3347
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3348
3348
  val: {
3349
- type: F.tag,
3349
+ type: E.tag,
3350
3350
  value: i,
3351
- children: s,
3352
- location: w(n, this.clonePosition())
3351
+ children: o,
3352
+ location: y(n, this.clonePosition())
3353
3353
  },
3354
3354
  err: null
3355
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3355
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
3356
3356
  } else
3357
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3357
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3358
3358
  } else
3359
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3359
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3360
3360
  }, e.prototype.parseTagName = function() {
3361
3361
  var t = this.offset();
3362
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3362
+ for (this.bump(); !this.isEOF() && yi(this.char()); )
3363
3363
  this.bump();
3364
3364
  return this.message.slice(t, this.offset());
3365
3365
  }, e.prototype.parseLiteral = function(t, r) {
3366
3366
  for (var n = this.clonePosition(), i = ""; ; ) {
3367
- var o = this.tryParseQuote(r);
3368
- if (o) {
3369
- i += o;
3370
- continue;
3371
- }
3372
- var s = this.tryParseUnquoted(t, r);
3367
+ var s = this.tryParseQuote(r);
3373
3368
  if (s) {
3374
3369
  i += s;
3375
3370
  continue;
3376
3371
  }
3372
+ var o = this.tryParseUnquoted(t, r);
3373
+ if (o) {
3374
+ i += o;
3375
+ continue;
3376
+ }
3377
3377
  var a = this.tryParseLeftAngleBracket();
3378
3378
  if (a) {
3379
3379
  i += a;
@@ -3381,14 +3381,14 @@ var Ti = (
3381
3381
  }
3382
3382
  break;
3383
3383
  }
3384
- var u = w(n, this.clonePosition());
3384
+ var h = y(n, this.clonePosition());
3385
3385
  return {
3386
- val: { type: F.literal, value: i, location: u },
3386
+ val: { type: E.literal, value: i, location: h },
3387
3387
  err: null
3388
3388
  };
3389
3389
  }, e.prototype.tryParseLeftAngleBracket = function() {
3390
3390
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3391
- !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3391
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3392
3392
  }, e.prototype.tryParseQuote = function(t) {
3393
3393
  if (this.isEOF() || this.char() !== 39)
3394
3394
  return null;
@@ -3422,100 +3422,100 @@ var Ti = (
3422
3422
  r.push(n);
3423
3423
  this.bump();
3424
3424
  }
3425
- return mt.apply(void 0, r);
3425
+ return rt.apply(void 0, r);
3426
3426
  }, e.prototype.tryParseUnquoted = function(t, r) {
3427
3427
  if (this.isEOF())
3428
3428
  return null;
3429
3429
  var n = this.char();
3430
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3430
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3431
3431
  }, e.prototype.parseArgument = function(t, r) {
3432
3432
  var n = this.clonePosition();
3433
3433
  if (this.bump(), this.bumpSpace(), this.isEOF())
3434
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3434
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3435
3435
  if (this.char() === 125)
3436
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3436
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3437
3437
  var i = this.parseIdentifierIfPossible().value;
3438
3438
  if (!i)
3439
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3439
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3440
3440
  if (this.bumpSpace(), this.isEOF())
3441
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3441
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3442
3442
  switch (this.char()) {
3443
3443
  case 125:
3444
3444
  return this.bump(), {
3445
3445
  val: {
3446
- type: F.argument,
3446
+ type: E.argument,
3447
3447
  // value does not include the opening and closing braces.
3448
3448
  value: i,
3449
- location: w(n, this.clonePosition())
3449
+ location: y(n, this.clonePosition())
3450
3450
  },
3451
3451
  err: null
3452
3452
  };
3453
3453
  case 44:
3454
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3454
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3455
3455
  default:
3456
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3456
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3457
3457
  }
3458
3458
  }, e.prototype.parseIdentifierIfPossible = function() {
3459
- var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3459
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3460
3460
  this.bumpTo(i);
3461
- var o = this.clonePosition(), s = w(t, o);
3462
- return { value: n, location: s };
3461
+ var s = this.clonePosition(), o = y(t, s);
3462
+ return { value: n, location: o };
3463
3463
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3464
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3464
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3465
3465
  switch (a) {
3466
3466
  case "":
3467
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, u));
3467
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
3468
3468
  case "number":
3469
3469
  case "date":
3470
3470
  case "time": {
3471
3471
  this.bumpSpace();
3472
- var l = null;
3472
+ var u = null;
3473
3473
  if (this.bumpIf(",")) {
3474
3474
  this.bumpSpace();
3475
- var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3476
- if (p.err)
3477
- return p;
3478
- var c = Si(p.val);
3475
+ var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3476
+ if (m.err)
3477
+ return m;
3478
+ var c = pi(m.val);
3479
3479
  if (c.length === 0)
3480
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3481
- var m = w(h, this.clonePosition());
3482
- l = { style: c, styleLocation: m };
3480
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3481
+ var d = y(l, this.clonePosition());
3482
+ u = { style: c, styleLocation: d };
3483
3483
  }
3484
- var v = this.tryParseArgumentClose(i);
3485
- if (v.err)
3486
- return v;
3487
- var y = w(i, this.clonePosition());
3488
- if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
3489
- var T = wi(l.style.slice(2));
3484
+ var b = this.tryParseArgumentClose(i);
3485
+ if (b.err)
3486
+ return b;
3487
+ var v = y(i, this.clonePosition());
3488
+ if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3489
+ var T = di(u.style.slice(2));
3490
3490
  if (a === "number") {
3491
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3492
- return p.err ? p : {
3493
- val: { type: F.number, value: n, location: y, style: p.val },
3491
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3492
+ return m.err ? m : {
3493
+ val: { type: E.number, value: n, location: v, style: m.val },
3494
3494
  err: null
3495
3495
  };
3496
3496
  } else {
3497
3497
  if (T.length === 0)
3498
- return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3499
- var H = T;
3500
- this.locale && (H = hi(T, this.locale));
3498
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
3499
+ var L = T;
3500
+ this.locale && (L = ti(T, this.locale));
3501
3501
  var c = {
3502
- type: me.dateTime,
3503
- pattern: H,
3504
- location: l.styleLocation,
3505
- parsedOptions: this.shouldParseSkeletons ? ni(H) : {}
3506
- }, S = a === "date" ? F.date : F.time;
3502
+ type: K.dateTime,
3503
+ pattern: L,
3504
+ location: u.styleLocation,
3505
+ parsedOptions: this.shouldParseSkeletons ? Zn(L) : {}
3506
+ }, B = a === "date" ? E.date : E.time;
3507
3507
  return {
3508
- val: { type: S, value: n, location: y, style: c },
3508
+ val: { type: B, value: n, location: v, style: c },
3509
3509
  err: null
3510
3510
  };
3511
3511
  }
3512
3512
  }
3513
3513
  return {
3514
3514
  val: {
3515
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3515
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3516
3516
  value: n,
3517
- location: y,
3518
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3517
+ location: v,
3518
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3519
3519
  },
3520
3520
  err: null
3521
3521
  };
@@ -3523,52 +3523,52 @@ var Ti = (
3523
3523
  case "plural":
3524
3524
  case "selectordinal":
3525
3525
  case "select": {
3526
- var b = this.clonePosition();
3526
+ var P = this.clonePosition();
3527
3527
  if (this.bumpSpace(), !this.bumpIf(","))
3528
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, Ue({}, b)));
3528
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(P, Te({}, P)));
3529
3529
  this.bumpSpace();
3530
- var I = this.parseIdentifierIfPossible(), L = 0;
3531
- if (a !== "select" && I.value === "offset") {
3530
+ var O = this.parseIdentifierIfPossible(), N = 0;
3531
+ if (a !== "select" && O.value === "offset") {
3532
3532
  if (!this.bumpIf(":"))
3533
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3533
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3534
3534
  this.bumpSpace();
3535
- var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3536
- if (p.err)
3537
- return p;
3538
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
3535
+ var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3536
+ if (m.err)
3537
+ return m;
3538
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
3539
3539
  }
3540
- var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
3541
- if (R.err)
3542
- return R;
3543
- var v = this.tryParseArgumentClose(i);
3544
- if (v.err)
3545
- return v;
3546
- var A = w(i, this.clonePosition());
3540
+ var I = this.tryParsePluralOrSelectOptions(t, a, r, O);
3541
+ if (I.err)
3542
+ return I;
3543
+ var b = this.tryParseArgumentClose(i);
3544
+ if (b.err)
3545
+ return b;
3546
+ var _ = y(i, this.clonePosition());
3547
3547
  return a === "select" ? {
3548
3548
  val: {
3549
- type: F.select,
3549
+ type: E.select,
3550
3550
  value: n,
3551
- options: zt(R.val),
3552
- location: A
3551
+ options: Mt(I.val),
3552
+ location: _
3553
3553
  },
3554
3554
  err: null
3555
3555
  } : {
3556
3556
  val: {
3557
- type: F.plural,
3557
+ type: E.plural,
3558
3558
  value: n,
3559
- options: zt(R.val),
3560
- offset: L,
3559
+ options: Mt(I.val),
3560
+ offset: N,
3561
3561
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3562
- location: A
3562
+ location: _
3563
3563
  },
3564
3564
  err: null
3565
3565
  };
3566
3566
  }
3567
3567
  default:
3568
- return this.error(E.INVALID_ARGUMENT_TYPE, w(s, u));
3568
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
3569
3569
  }
3570
3570
  }, e.prototype.tryParseArgumentClose = function(t) {
3571
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3571
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3572
3572
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3573
3573
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3574
3574
  var n = this.char();
@@ -3577,7 +3577,7 @@ var Ti = (
3577
3577
  this.bump();
3578
3578
  var i = this.clonePosition();
3579
3579
  if (!this.bumpUntil("'"))
3580
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3580
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3581
3581
  this.bump();
3582
3582
  break;
3583
3583
  }
@@ -3607,64 +3607,64 @@ var Ti = (
3607
3607
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3608
3608
  var n = [];
3609
3609
  try {
3610
- n = oi(t);
3610
+ n = Jn(t);
3611
3611
  } catch (i) {
3612
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3612
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3613
3613
  }
3614
3614
  return {
3615
3615
  val: {
3616
- type: me.number,
3616
+ type: K.number,
3617
3617
  tokens: n,
3618
3618
  location: r,
3619
- parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
3619
+ parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3620
3620
  },
3621
3621
  err: null
3622
3622
  };
3623
3623
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3624
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3625
- if (l.length === 0) {
3626
- var p = this.clonePosition();
3624
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3625
+ if (u.length === 0) {
3626
+ var m = this.clonePosition();
3627
3627
  if (r !== "select" && this.bumpIf("=")) {
3628
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3628
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3629
3629
  if (c.err)
3630
3630
  return c;
3631
- h = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3631
+ l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3632
3632
  } else
3633
3633
  break;
3634
3634
  }
3635
- if (u.has(l))
3636
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3637
- l === "other" && (s = !0), this.bumpSpace();
3638
- var m = this.clonePosition();
3635
+ if (h.has(u))
3636
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3637
+ u === "other" && (o = !0), this.bumpSpace();
3638
+ var d = this.clonePosition();
3639
3639
  if (!this.bumpIf("{"))
3640
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3641
- var v = this.parseMessage(t + 1, r, n);
3640
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3641
+ var b = this.parseMessage(t + 1, r, n);
3642
+ if (b.err)
3643
+ return b;
3644
+ var v = this.tryParseArgumentClose(d);
3642
3645
  if (v.err)
3643
3646
  return v;
3644
- var y = this.tryParseArgumentClose(m);
3645
- if (y.err)
3646
- return y;
3647
3647
  a.push([
3648
- l,
3648
+ u,
3649
3649
  {
3650
- value: v.val,
3651
- location: w(m, this.clonePosition())
3650
+ value: b.val,
3651
+ location: y(d, this.clonePosition())
3652
3652
  }
3653
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3653
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3654
3654
  }
3655
- 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 };
3655
+ 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 };
3656
3656
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3657
3657
  var n = 1, i = this.clonePosition();
3658
3658
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3659
- for (var o = !1, s = 0; !this.isEOF(); ) {
3659
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3660
3660
  var a = this.char();
3661
3661
  if (a >= 48 && a <= 57)
3662
- o = !0, s = s * 10 + (a - 48), this.bump();
3662
+ s = !0, o = o * 10 + (a - 48), this.bump();
3663
3663
  else
3664
3664
  break;
3665
3665
  }
3666
- var u = w(i, this.clonePosition());
3667
- return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3666
+ var h = y(i, this.clonePosition());
3667
+ return s ? (o *= n, fi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3668
3668
  }, e.prototype.offset = function() {
3669
3669
  return this.position.offset;
3670
3670
  }, e.prototype.isEOF = function() {
@@ -3679,7 +3679,7 @@ var Ti = (
3679
3679
  var t = this.position.offset;
3680
3680
  if (t >= this.message.length)
3681
3681
  throw Error("out of bound");
3682
- var r = Or(this.message, t);
3682
+ var r = br(this.message, t);
3683
3683
  if (r === void 0)
3684
3684
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3685
3685
  return r;
@@ -3698,7 +3698,7 @@ var Ti = (
3698
3698
  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);
3699
3699
  }
3700
3700
  }, e.prototype.bumpIf = function(t) {
3701
- if (Wt(this.message, t, this.offset())) {
3701
+ if (It(this.message, t, this.offset())) {
3702
3702
  for (var r = 0; r < t.length; r++)
3703
3703
  this.bump();
3704
3704
  return !0;
@@ -3720,7 +3720,7 @@ var Ti = (
3720
3720
  break;
3721
3721
  }
3722
3722
  }, e.prototype.bumpSpace = function() {
3723
- for (; !this.isEOF() && Lr(this.char()); )
3723
+ for (; !this.isEOF() && yr(this.char()); )
3724
3724
  this.bump();
3725
3725
  }, e.prototype.peek = function() {
3726
3726
  if (this.isEOF())
@@ -3730,204 +3730,204 @@ var Ti = (
3730
3730
  }, e;
3731
3731
  }()
3732
3732
  );
3733
- function gt(e) {
3733
+ function it(e) {
3734
3734
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3735
3735
  }
3736
- function Hi(e) {
3737
- return gt(e) || e === 47;
3736
+ function gi(e) {
3737
+ return it(e) || e === 47;
3738
3738
  }
3739
- function Ai(e) {
3739
+ function yi(e) {
3740
3740
  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;
3741
3741
  }
3742
- function Lr(e) {
3742
+ function yr(e) {
3743
3743
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3744
3744
  }
3745
- function Pi(e) {
3745
+ function vi(e) {
3746
3746
  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;
3747
3747
  }
3748
- function yt(e) {
3748
+ function st(e) {
3749
3749
  e.forEach(function(t) {
3750
- if (delete t.location, Sr(t) || Tr(t))
3750
+ if (delete t.location, ur(t) || hr(t))
3751
3751
  for (var r in t.options)
3752
- delete t.options[r].location, yt(t.options[r].value);
3752
+ delete t.options[r].location, st(t.options[r].value);
3753
3753
  else
3754
- xr(t) && Ar(t.style) || (Er(t) || wr(t)) && pt(t.style) ? delete t.style.location : Hr(t) && yt(t.children);
3754
+ sr(t) && cr(t.style) || (or(t) || ar(t)) && et(t.style) ? delete t.style.location : lr(t) && st(t.children);
3755
3755
  });
3756
3756
  }
3757
- function Bi(e, t) {
3758
- t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3759
- var r = new Ti(e, t).parse();
3757
+ function _i(e, t) {
3758
+ t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3759
+ var r = new bi(e, t).parse();
3760
3760
  if (r.err) {
3761
- var n = SyntaxError(E[r.err.kind]);
3761
+ var n = SyntaxError(g[r.err.kind]);
3762
3762
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3763
3763
  }
3764
- return t != null && t.captureLocation || yt(r.val), r.val;
3764
+ return t != null && t.captureLocation || st(r.val), r.val;
3765
3765
  }
3766
- var be;
3766
+ var ee;
3767
3767
  (function(e) {
3768
3768
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3769
- })(be || (be = {}));
3770
- var Xe = (
3769
+ })(ee || (ee = {}));
3770
+ var Ne = (
3771
3771
  /** @class */
3772
3772
  function(e) {
3773
- Ve(t, e);
3773
+ Oe(t, e);
3774
3774
  function t(r, n, i) {
3775
- var o = e.call(this, r) || this;
3776
- return o.code = n, o.originalMessage = i, o;
3775
+ var s = e.call(this, r) || this;
3776
+ return s.code = n, s.originalMessage = i, s;
3777
3777
  }
3778
3778
  return t.prototype.toString = function() {
3779
3779
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3780
3780
  }, t;
3781
3781
  }(Error)
3782
- ), Jt = (
3782
+ ), Gt = (
3783
3783
  /** @class */
3784
3784
  function(e) {
3785
- Ve(t, e);
3786
- function t(r, n, i, o) {
3787
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3785
+ Oe(t, e);
3786
+ function t(r, n, i, s) {
3787
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3788
3788
  }
3789
3789
  return t;
3790
- }(Xe)
3791
- ), Fi = (
3790
+ }(Ne)
3791
+ ), Ei = (
3792
3792
  /** @class */
3793
3793
  function(e) {
3794
- Ve(t, e);
3794
+ Oe(t, e);
3795
3795
  function t(r, n, i) {
3796
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3796
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3797
3797
  }
3798
3798
  return t;
3799
- }(Xe)
3800
- ), Ci = (
3799
+ }(Ne)
3800
+ ), xi = (
3801
3801
  /** @class */
3802
3802
  function(e) {
3803
- Ve(t, e);
3803
+ Oe(t, e);
3804
3804
  function t(r, n) {
3805
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3805
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3806
3806
  }
3807
3807
  return t;
3808
- }(Xe)
3809
- ), $;
3808
+ }(Ne)
3809
+ ), A;
3810
3810
  (function(e) {
3811
3811
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3812
- })($ || ($ = {}));
3813
- function Oi(e) {
3812
+ })(A || (A = {}));
3813
+ function Si(e) {
3814
3814
  return e.length < 2 ? e : e.reduce(function(t, r) {
3815
3815
  var n = t[t.length - 1];
3816
- return !n || n.type !== $.literal || r.type !== $.literal ? t.push(r) : n.value += r.value, t;
3816
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3817
3817
  }, []);
3818
3818
  }
3819
- function Ii(e) {
3819
+ function wi(e) {
3820
3820
  return typeof e == "function";
3821
3821
  }
3822
- function Me(e, t, r, n, i, o, s) {
3823
- if (e.length === 1 && kt(e[0]))
3822
+ function Se(e, t, r, n, i, s, o) {
3823
+ if (e.length === 1 && Ot(e[0]))
3824
3824
  return [
3825
3825
  {
3826
- type: $.literal,
3826
+ type: A.literal,
3827
3827
  value: e[0].value
3828
3828
  }
3829
3829
  ];
3830
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3831
- var h = l[u];
3832
- if (kt(h)) {
3830
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3831
+ var l = u[h];
3832
+ if (Ot(l)) {
3833
3833
  a.push({
3834
- type: $.literal,
3835
- value: h.value
3834
+ type: A.literal,
3835
+ value: l.value
3836
3836
  });
3837
3837
  continue;
3838
3838
  }
3839
- if (ti(h)) {
3840
- typeof o == "number" && a.push({
3841
- type: $.literal,
3842
- value: r.getNumberFormat(t).format(o)
3839
+ if (Wn(l)) {
3840
+ typeof s == "number" && a.push({
3841
+ type: A.literal,
3842
+ value: r.getNumberFormat(t).format(s)
3843
3843
  });
3844
3844
  continue;
3845
3845
  }
3846
- var p = h.value;
3847
- if (!(i && p in i))
3848
- throw new Ci(p, s);
3849
- var c = i[p];
3850
- if (ei(h)) {
3846
+ var m = l.value;
3847
+ if (!(i && m in i))
3848
+ throw new xi(m, o);
3849
+ var c = i[m];
3850
+ if (Xn(l)) {
3851
3851
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3852
- type: typeof c == "string" ? $.literal : $.object,
3852
+ type: typeof c == "string" ? A.literal : A.object,
3853
3853
  value: c
3854
3854
  });
3855
3855
  continue;
3856
3856
  }
3857
- if (Er(h)) {
3858
- var m = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3857
+ if (or(l)) {
3858
+ var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3859
3859
  a.push({
3860
- type: $.literal,
3861
- value: r.getDateTimeFormat(t, m).format(c)
3860
+ type: A.literal,
3861
+ value: r.getDateTimeFormat(t, d).format(c)
3862
3862
  });
3863
3863
  continue;
3864
3864
  }
3865
- if (wr(h)) {
3866
- var m = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3865
+ if (ar(l)) {
3866
+ var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3867
3867
  a.push({
3868
- type: $.literal,
3869
- value: r.getDateTimeFormat(t, m).format(c)
3868
+ type: A.literal,
3869
+ value: r.getDateTimeFormat(t, d).format(c)
3870
3870
  });
3871
3871
  continue;
3872
3872
  }
3873
- if (xr(h)) {
3874
- var m = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3875
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3876
- type: $.literal,
3877
- value: r.getNumberFormat(t, m).format(c)
3873
+ if (sr(l)) {
3874
+ var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3875
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3876
+ type: A.literal,
3877
+ value: r.getNumberFormat(t, d).format(c)
3878
3878
  });
3879
3879
  continue;
3880
3880
  }
3881
- if (Hr(h)) {
3882
- var v = h.children, y = h.value, T = i[y];
3883
- if (!Ii(T))
3884
- throw new Fi(y, "function", s);
3885
- var H = Me(v, t, r, n, i, o), S = T(H.map(function(L) {
3886
- return L.value;
3881
+ if (lr(l)) {
3882
+ var b = l.children, v = l.value, T = i[v];
3883
+ if (!wi(T))
3884
+ throw new Ei(v, "function", o);
3885
+ var L = Se(b, t, r, n, i, s), B = T(L.map(function(N) {
3886
+ return N.value;
3887
3887
  }));
3888
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3888
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(N) {
3889
3889
  return {
3890
- type: typeof L == "string" ? $.literal : $.object,
3891
- value: L
3890
+ type: typeof N == "string" ? A.literal : A.object,
3891
+ value: N
3892
3892
  };
3893
3893
  }));
3894
3894
  }
3895
- if (Sr(h)) {
3896
- var b = h.options[c] || h.options.other;
3897
- if (!b)
3898
- throw new Jt(h.value, c, Object.keys(h.options), s);
3899
- a.push.apply(a, Me(b.value, t, r, n, i));
3895
+ if (ur(l)) {
3896
+ var P = l.options[c] || l.options.other;
3897
+ if (!P)
3898
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3899
+ a.push.apply(a, Se(P.value, t, r, n, i));
3900
3900
  continue;
3901
3901
  }
3902
- if (Tr(h)) {
3903
- var b = h.options["=".concat(c)];
3904
- if (!b) {
3902
+ if (hr(l)) {
3903
+ var P = l.options["=".concat(c)];
3904
+ if (!P) {
3905
3905
  if (!Intl.PluralRules)
3906
- throw new Xe(`Intl.PluralRules is not available in this environment.
3906
+ throw new Ne(`Intl.PluralRules is not available in this environment.
3907
3907
  Try polyfilling it using "@formatjs/intl-pluralrules"
3908
- `, be.MISSING_INTL_API, s);
3909
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3910
- b = h.options[I] || h.options.other;
3908
+ `, ee.MISSING_INTL_API, o);
3909
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3910
+ P = l.options[O] || l.options.other;
3911
3911
  }
3912
- if (!b)
3913
- throw new Jt(h.value, c, Object.keys(h.options), s);
3914
- a.push.apply(a, Me(b.value, t, r, n, i, c - (h.offset || 0)));
3912
+ if (!P)
3913
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3914
+ a.push.apply(a, Se(P.value, t, r, n, i, c - (l.offset || 0)));
3915
3915
  continue;
3916
3916
  }
3917
3917
  }
3918
- return Oi(a);
3918
+ return Si(a);
3919
3919
  }
3920
- function Li(e, t) {
3921
- return t ? W(W(W({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3922
- return r[n] = W(W({}, e[n]), t[n] || {}), r;
3920
+ function Ti(e, t) {
3921
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3922
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3923
3923
  }, {})) : e;
3924
3924
  }
3925
- function Ni(e, t) {
3925
+ function Hi(e, t) {
3926
3926
  return t ? Object.keys(e).reduce(function(r, n) {
3927
- return r[n] = Li(e[n], t[n]), r;
3928
- }, W({}, e)) : e;
3927
+ return r[n] = Ti(e[n], t[n]), r;
3928
+ }, G({}, e)) : e;
3929
3929
  }
3930
- function tt(e) {
3930
+ function je(e) {
3931
3931
  return {
3932
3932
  create: function() {
3933
3933
  return {
@@ -3941,77 +3941,77 @@ function tt(e) {
3941
3941
  }
3942
3942
  };
3943
3943
  }
3944
- function Mi(e) {
3944
+ function Pi(e) {
3945
3945
  return e === void 0 && (e = {
3946
3946
  number: {},
3947
3947
  dateTime: {},
3948
3948
  pluralRules: {}
3949
3949
  }), {
3950
- getNumberFormat: Ye(function() {
3950
+ getNumberFormat: $e(function() {
3951
3951
  for (var t, r = [], n = 0; n < arguments.length; n++)
3952
3952
  r[n] = arguments[n];
3953
- return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3953
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3954
3954
  }, {
3955
- cache: tt(e.number),
3956
- strategy: Ke.variadic
3955
+ cache: je(e.number),
3956
+ strategy: De.variadic
3957
3957
  }),
3958
- getDateTimeFormat: Ye(function() {
3958
+ getDateTimeFormat: $e(function() {
3959
3959
  for (var t, r = [], n = 0; n < arguments.length; n++)
3960
3960
  r[n] = arguments[n];
3961
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3961
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3962
3962
  }, {
3963
- cache: tt(e.dateTime),
3964
- strategy: Ke.variadic
3963
+ cache: je(e.dateTime),
3964
+ strategy: De.variadic
3965
3965
  }),
3966
- getPluralRules: Ye(function() {
3966
+ getPluralRules: $e(function() {
3967
3967
  for (var t, r = [], n = 0; n < arguments.length; n++)
3968
3968
  r[n] = arguments[n];
3969
- return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3969
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3970
3970
  }, {
3971
- cache: tt(e.pluralRules),
3972
- strategy: Ke.variadic
3971
+ cache: je(e.pluralRules),
3972
+ strategy: De.variadic
3973
3973
  })
3974
3974
  };
3975
3975
  }
3976
- var Ri = (
3976
+ var Ai = (
3977
3977
  /** @class */
3978
3978
  function() {
3979
3979
  function e(t, r, n, i) {
3980
3980
  r === void 0 && (r = e.defaultLocale);
3981
- var o = this;
3981
+ var s = this;
3982
3982
  if (this.formatterCache = {
3983
3983
  number: {},
3984
3984
  dateTime: {},
3985
3985
  pluralRules: {}
3986
- }, this.format = function(u) {
3987
- var l = o.formatToParts(u);
3988
- if (l.length === 1)
3989
- return l[0].value;
3990
- var h = l.reduce(function(p, c) {
3991
- return !p.length || c.type !== $.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3986
+ }, this.format = function(h) {
3987
+ var u = s.formatToParts(h);
3988
+ if (u.length === 1)
3989
+ return u[0].value;
3990
+ var l = u.reduce(function(m, c) {
3991
+ return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3992
3992
  }, []);
3993
- return h.length <= 1 ? h[0] || "" : h;
3994
- }, this.formatToParts = function(u) {
3995
- return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3993
+ return l.length <= 1 ? l[0] || "" : l;
3994
+ }, this.formatToParts = function(h) {
3995
+ return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3996
3996
  }, this.resolvedOptions = function() {
3997
- var u;
3997
+ var h;
3998
3998
  return {
3999
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3999
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4000
4000
  };
4001
4001
  }, this.getAst = function() {
4002
- return o.ast;
4002
+ return s.ast;
4003
4003
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4004
4004
  if (this.message = t, !e.__parse)
4005
4005
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4006
- var s = i || {};
4007
- s.formatters;
4008
- var a = Wn(s, ["formatters"]);
4009
- this.ast = e.__parse(t, W(W({}, a), { locale: this.resolvedLocale }));
4006
+ var o = i || {};
4007
+ o.formatters;
4008
+ var a = Gn(o, ["formatters"]);
4009
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
4010
4010
  } else
4011
4011
  this.ast = t;
4012
4012
  if (!Array.isArray(this.ast))
4013
4013
  throw new TypeError("A message must be provided as a String or AST.");
4014
- this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
4014
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
4015
4015
  }
4016
4016
  return Object.defineProperty(e, "defaultLocale", {
4017
4017
  get: function() {
@@ -4024,7 +4024,7 @@ var Ri = (
4024
4024
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4025
4025
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4026
4026
  }
4027
- }, e.__parse = Bi, e.formats = {
4027
+ }, e.__parse = _i, e.formats = {
4028
4028
  number: {
4029
4029
  integer: {
4030
4030
  maximumFractionDigits: 0
@@ -4085,7 +4085,7 @@ var Ri = (
4085
4085
  }, e;
4086
4086
  }()
4087
4087
  );
4088
- function $i(e, t) {
4088
+ function Bi(e, t) {
4089
4089
  if (t == null)
4090
4090
  return;
4091
4091
  if (t in e)
@@ -4095,9 +4095,9 @@ function $i(e, t) {
4095
4095
  for (let i = 0; i < r.length; i++)
4096
4096
  if (typeof n == "object") {
4097
4097
  if (i > 0) {
4098
- const o = r.slice(i, r.length).join(".");
4099
- if (o in n) {
4100
- n = n[o];
4098
+ const s = r.slice(i, r.length).join(".");
4099
+ if (s in n) {
4100
+ n = n[s];
4101
4101
  break;
4102
4102
  }
4103
4103
  }
@@ -4106,92 +4106,92 @@ function $i(e, t) {
4106
4106
  n = void 0;
4107
4107
  return n;
4108
4108
  }
4109
- const q = {}, Ui = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Nr = (e, t) => {
4109
+ const j = {}, Oi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4110
4110
  if (t == null)
4111
4111
  return;
4112
- if (t in q && e in q[t])
4113
- return q[t][e];
4114
- const r = We(t);
4112
+ if (t in j && e in j[t])
4113
+ return j[t][e];
4114
+ const r = Ce(t);
4115
4115
  for (let n = 0; n < r.length; n++) {
4116
- const i = r[n], o = Gi(i, e);
4117
- if (o)
4118
- return Ui(e, t, o);
4116
+ const i = r[n], s = Ci(i, e);
4117
+ if (s)
4118
+ return Oi(e, t, s);
4119
4119
  }
4120
4120
  };
4121
- let Et;
4122
- const ve = je({});
4123
- function Di(e) {
4124
- return Et[e] || null;
4121
+ let ct;
4122
+ const be = Be({});
4123
+ function Ni(e) {
4124
+ return ct[e] || null;
4125
4125
  }
4126
- function Mr(e) {
4127
- return e in Et;
4126
+ function _r(e) {
4127
+ return e in ct;
4128
4128
  }
4129
- function Gi(e, t) {
4130
- if (!Mr(e))
4129
+ function Ci(e, t) {
4130
+ if (!_r(e))
4131
4131
  return null;
4132
- const r = Di(e);
4133
- return $i(r, t);
4132
+ const r = Ni(e);
4133
+ return Bi(r, t);
4134
4134
  }
4135
- function ki(e) {
4135
+ function Li(e) {
4136
4136
  if (e == null)
4137
4137
  return;
4138
- const t = We(e);
4138
+ const t = Ce(e);
4139
4139
  for (let r = 0; r < t.length; r++) {
4140
4140
  const n = t[r];
4141
- if (Mr(n))
4141
+ if (_r(n))
4142
4142
  return n;
4143
4143
  }
4144
4144
  }
4145
- function Rr(e, ...t) {
4146
- delete q[e], ve.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
4145
+ function Er(e, ...t) {
4146
+ delete j[e], be.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
4147
4147
  }
4148
- ye(
4149
- [ve],
4148
+ ie(
4149
+ [be],
4150
4150
  ([e]) => Object.keys(e)
4151
4151
  );
4152
- ve.subscribe((e) => Et = e);
4153
- const Re = {};
4154
- function ji(e, t) {
4155
- Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4152
+ be.subscribe((e) => ct = e);
4153
+ const we = {};
4154
+ function Ii(e, t) {
4155
+ we[e].delete(t), we[e].size === 0 && delete we[e];
4156
4156
  }
4157
- function $r(e) {
4158
- return Re[e];
4157
+ function xr(e) {
4158
+ return we[e];
4159
4159
  }
4160
- function Vi(e) {
4161
- return We(e).map((t) => {
4162
- const r = $r(t);
4160
+ function Mi(e) {
4161
+ return Ce(e).map((t) => {
4162
+ const r = xr(t);
4163
4163
  return [t, r ? [...r] : []];
4164
4164
  }).filter(([, t]) => t.length > 0);
4165
4165
  }
4166
- function vt(e) {
4167
- return e == null ? !1 : We(e).some(
4166
+ function ot(e) {
4167
+ return e == null ? !1 : Ce(e).some(
4168
4168
  (t) => {
4169
4169
  var r;
4170
- return (r = $r(t)) == null ? void 0 : r.size;
4170
+ return (r = xr(t)) == null ? void 0 : r.size;
4171
4171
  }
4172
4172
  );
4173
4173
  }
4174
- function Xi(e, t) {
4174
+ function Ri(e, t) {
4175
4175
  return Promise.all(
4176
- t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
4177
- ).then((n) => Rr(e, ...n));
4178
- }
4179
- const xe = {};
4180
- function Ur(e) {
4181
- if (!vt(e))
4182
- return e in xe ? xe[e] : Promise.resolve();
4183
- const t = Vi(e);
4184
- return xe[e] = Promise.all(
4176
+ t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
4177
+ ).then((n) => Er(e, ...n));
4178
+ }
4179
+ const ue = {};
4180
+ function Sr(e) {
4181
+ if (!ot(e))
4182
+ return e in ue ? ue[e] : Promise.resolve();
4183
+ const t = Mi(e);
4184
+ return ue[e] = Promise.all(
4185
4185
  t.map(
4186
- ([r, n]) => Xi(r, n)
4186
+ ([r, n]) => Ri(r, n)
4187
4187
  )
4188
4188
  ).then(() => {
4189
- if (vt(e))
4190
- return Ur(e);
4191
- delete xe[e];
4192
- }), xe[e];
4189
+ if (ot(e))
4190
+ return Sr(e);
4191
+ delete ue[e];
4192
+ }), ue[e];
4193
4193
  }
4194
- const Wi = {
4194
+ const Gi = {
4195
4195
  number: {
4196
4196
  scientific: { notation: "scientific" },
4197
4197
  engineering: { notation: "engineering" },
@@ -4220,176 +4220,176 @@ const Wi = {
4220
4220
  timeZoneName: "short"
4221
4221
  }
4222
4222
  }
4223
- }, zi = {
4223
+ }, Ui = {
4224
4224
  fallbackLocale: null,
4225
4225
  loadingDelay: 200,
4226
- formats: Wi,
4226
+ formats: Gi,
4227
4227
  warnOnMissingMessages: !0,
4228
4228
  handleMissingMessage: void 0,
4229
4229
  ignoreTag: !0
4230
- }, Zi = zi;
4231
- function ge() {
4232
- return Zi;
4230
+ }, $i = Ui;
4231
+ function te() {
4232
+ return $i;
4233
4233
  }
4234
- const rt = je(!1);
4235
- var Ji = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4234
+ const ke = Be(!1);
4235
+ var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
4236
4236
  for (var r in t || (t = {}))
4237
- Yi.call(t, r) && qt(e, r, t[r]);
4238
- if (Qt)
4239
- for (var r of Qt(t))
4240
- Ki.call(t, r) && qt(e, r, t[r]);
4237
+ ki.call(t, r) && $t(e, r, t[r]);
4238
+ if (Ut)
4239
+ for (var r of Ut(t))
4240
+ Vi.call(t, r) && $t(e, r, t[r]);
4241
4241
  return e;
4242
- }, to = (e, t) => Qi(e, qi(t));
4243
- let _t;
4244
- const De = je(null);
4245
- function Yt(e) {
4242
+ }, Wi = (e, t) => Fi(e, ji(t));
4243
+ let at;
4244
+ const He = Be(null);
4245
+ function Dt(e) {
4246
4246
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4247
4247
  }
4248
- function We(e, t = ge().fallbackLocale) {
4249
- const r = Yt(e);
4250
- return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
4248
+ function Ce(e, t = te().fallbackLocale) {
4249
+ const r = Dt(e);
4250
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4251
4251
  }
4252
- function ie() {
4253
- return _t != null ? _t : void 0;
4252
+ function V() {
4253
+ return at != null ? at : void 0;
4254
4254
  }
4255
- De.subscribe((e) => {
4256
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4255
+ He.subscribe((e) => {
4256
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4257
4257
  });
4258
- const ro = (e) => {
4259
- if (e && ki(e) && vt(e)) {
4260
- const { loadingDelay: t } = ge();
4258
+ const zi = (e) => {
4259
+ if (e && Li(e) && ot(e)) {
4260
+ const { loadingDelay: t } = te();
4261
4261
  let r;
4262
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4263
- () => rt.set(!0),
4262
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
4263
+ () => ke.set(!0),
4264
4264
  t
4265
- ) : rt.set(!0), Ur(e).then(() => {
4266
- De.set(e);
4265
+ ) : ke.set(!0), Sr(e).then(() => {
4266
+ He.set(e);
4267
4267
  }).finally(() => {
4268
- clearTimeout(r), rt.set(!1);
4268
+ clearTimeout(r), ke.set(!1);
4269
4269
  });
4270
4270
  }
4271
- return De.set(e);
4272
- }, ne = to(eo({}, De), {
4273
- set: ro
4274
- }), ze = (e) => {
4271
+ return He.set(e);
4272
+ }, se = Wi(Xi({}, He), {
4273
+ set: zi
4274
+ }), Le = (e) => {
4275
4275
  const t = /* @__PURE__ */ Object.create(null);
4276
4276
  return (n) => {
4277
4277
  const i = JSON.stringify(n);
4278
4278
  return i in t ? t[i] : t[i] = e(n);
4279
4279
  };
4280
4280
  };
4281
- var no = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4281
+ var Zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4282
4282
  for (var r in t || (t = {}))
4283
- Dr.call(t, r) && Kt(e, r, t[r]);
4284
- if (Ge)
4285
- for (var r of Ge(t))
4286
- Gr.call(t, r) && Kt(e, r, t[r]);
4283
+ wr.call(t, r) && Ft(e, r, t[r]);
4284
+ if (Pe)
4285
+ for (var r of Pe(t))
4286
+ Tr.call(t, r) && Ft(e, r, t[r]);
4287
4287
  return e;
4288
- }, _e = (e, t) => {
4288
+ }, oe = (e, t) => {
4289
4289
  var r = {};
4290
4290
  for (var n in e)
4291
- Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4292
- if (e != null && Ge)
4293
- for (var n of Ge(e))
4294
- t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
4291
+ wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4292
+ if (e != null && Pe)
4293
+ for (var n of Pe(e))
4294
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4295
4295
  return r;
4296
4296
  };
4297
- const He = (e, t) => {
4298
- const { formats: r } = ge();
4297
+ const me = (e, t) => {
4298
+ const { formats: r } = te();
4299
4299
  if (e in r && t in r[e])
4300
4300
  return r[e][t];
4301
4301
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4302
- }, io = ze(
4302
+ }, Qi = Le(
4303
4303
  (e) => {
4304
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4304
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4305
4305
  if (r == null)
4306
4306
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4307
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4307
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
4308
4308
  }
4309
- ), oo = ze(
4309
+ ), Ji = Le(
4310
4310
  (e) => {
4311
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4311
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4312
4312
  if (r == null)
4313
4313
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4314
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4314
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
4315
4315
  }
4316
- ), so = ze(
4316
+ ), Yi = Le(
4317
4317
  (e) => {
4318
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4318
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4319
4319
  if (r == null)
4320
4320
  throw new Error(
4321
4321
  '[svelte-i18n] A "locale" must be set to format time values'
4322
4322
  );
4323
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4323
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
4324
4324
  }
4325
- ), ao = (e = {}) => {
4325
+ ), qi = (e = {}) => {
4326
4326
  var t = e, {
4327
- locale: r = ie()
4328
- } = t, n = _e(t, [
4327
+ locale: r = V()
4328
+ } = t, n = oe(t, [
4329
4329
  "locale"
4330
4330
  ]);
4331
- return io(wt({ locale: r }, n));
4332
- }, lo = (e = {}) => {
4331
+ return Qi(ft({ locale: r }, n));
4332
+ }, Ki = (e = {}) => {
4333
4333
  var t = e, {
4334
- locale: r = ie()
4335
- } = t, n = _e(t, [
4334
+ locale: r = V()
4335
+ } = t, n = oe(t, [
4336
4336
  "locale"
4337
4337
  ]);
4338
- return oo(wt({ locale: r }, n));
4339
- }, uo = (e = {}) => {
4338
+ return Ji(ft({ locale: r }, n));
4339
+ }, es = (e = {}) => {
4340
4340
  var t = e, {
4341
- locale: r = ie()
4342
- } = t, n = _e(t, [
4341
+ locale: r = V()
4342
+ } = t, n = oe(t, [
4343
4343
  "locale"
4344
4344
  ]);
4345
- return so(wt({ locale: r }, n));
4346
- }, ho = ze(
4345
+ return Yi(ft({ locale: r }, n));
4346
+ }, ts = Le(
4347
4347
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4348
- (e, t = ie()) => new Ri(e, t, ge().formats, {
4349
- ignoreTag: ge().ignoreTag
4348
+ (e, t = V()) => new Ai(e, t, te().formats, {
4349
+ ignoreTag: te().ignoreTag
4350
4350
  })
4351
- ), co = (e, t = {}) => {
4352
- var r, n, i, o;
4353
- let s = t;
4354
- typeof e == "object" && (s = e, e = s.id);
4351
+ ), rs = (e, t = {}) => {
4352
+ var r, n, i, s;
4353
+ let o = t;
4354
+ typeof e == "object" && (o = e, e = o.id);
4355
4355
  const {
4356
4356
  values: a,
4357
- locale: u = ie(),
4358
- default: l
4359
- } = s;
4360
- if (u == null)
4357
+ locale: h = V(),
4358
+ default: u
4359
+ } = o;
4360
+ if (h == null)
4361
4361
  throw new Error(
4362
4362
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4363
4363
  );
4364
- let h = Nr(e, u);
4365
- if (!h)
4366
- h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4367
- else if (typeof h != "string")
4364
+ let l = vr(e, h);
4365
+ if (!l)
4366
+ l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4367
+ else if (typeof l != "string")
4368
4368
  return console.warn(
4369
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4370
- ), h;
4369
+ `[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.`
4370
+ ), l;
4371
4371
  if (!a)
4372
- return h;
4373
- let p = h;
4372
+ return l;
4373
+ let m = l;
4374
4374
  try {
4375
- p = ho(h, u).format(a);
4375
+ m = ts(l, h).format(a);
4376
4376
  } catch (c) {
4377
4377
  c instanceof Error && console.warn(
4378
4378
  `[svelte-i18n] Message "${e}" has syntax error:`,
4379
4379
  c.message
4380
4380
  );
4381
4381
  }
4382
- return p;
4383
- }, fo = (e, t) => uo(t).format(e), po = (e, t) => lo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = ie()) => Nr(e, t), go = ye([ne, ve], () => co);
4384
- ye([ne], () => fo);
4385
- ye([ne], () => po);
4386
- ye([ne], () => mo);
4387
- ye([ne, ve], () => bo);
4388
- window.emWidgets = { topic: Pn };
4389
- const yo = (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)), vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4390
- function jo(e, t) {
4382
+ return m;
4383
+ }, ns = (e, t) => es(t).format(e), is = (e, t) => Ki(t).format(e), ss = (e, t) => qi(t).format(e), os = (e, t = V()) => vr(e, t), as = ie([se, be], () => rs);
4384
+ ie([se], () => ns);
4385
+ ie([se], () => is);
4386
+ ie([se], () => ss);
4387
+ ie([se, be], () => os);
4388
+ window.emWidgets = { topic: vn };
4389
+ const us = (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)), hs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4390
+ function $s(e, t) {
4391
4391
  const r = window.navigator.userAgent;
4392
- return yo(r) ? t = e.filter((n) => {
4392
+ return us(r) ? t = e.filter((n) => {
4393
4393
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4394
4394
  return n;
4395
4395
  }) : t = e.filter((n) => {
@@ -4398,13 +4398,20 @@ function jo(e, t) {
4398
4398
  }), t;
4399
4399
  }
4400
4400
  String(Number.MAX_SAFE_INTEGER).length;
4401
- function _o(e, t) {
4401
+ function ls(e, t) {
4402
+ Er(e, t);
4403
+ }
4404
+ function cs(e) {
4405
+ se.set(e);
4406
+ }
4407
+ const J = "__WIDGET_GLOBAL_STYLE_CACHE__";
4408
+ function fs(e, t) {
4402
4409
  if (e) {
4403
4410
  const r = document.createElement("style");
4404
4411
  r.innerHTML = t, e.appendChild(r);
4405
4412
  }
4406
4413
  }
4407
- function xo(e, t) {
4414
+ function ms(e, t) {
4408
4415
  if (!e || !t)
4409
4416
  return;
4410
4417
  const r = new URL(t);
@@ -4415,701 +4422,703 @@ function xo(e, t) {
4415
4422
  console.error("There was an error while trying to load client styling from URL", n);
4416
4423
  });
4417
4424
  }
4418
- function Eo(e, t, r) {
4419
- if (window.emMessageBus) {
4420
- const n = document.createElement("style");
4421
- window.emMessageBus.subscribe(t, (i) => {
4422
- n.innerHTML = i, e && e.appendChild(n);
4423
- });
4424
- }
4425
+ function ds(e, t, r, n = !1) {
4426
+ if (!window.emMessageBus)
4427
+ return;
4428
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4429
+ return r = ps(e, t), r;
4430
+ window[J] || (window[J] = {}), r = bs(e, t);
4431
+ const s = r.unsubscribe.bind(r), o = () => {
4432
+ if (window[J][t]) {
4433
+ const a = window[J][t];
4434
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[J][t];
4435
+ }
4436
+ s();
4437
+ };
4438
+ return r.unsubscribe = o, r;
4425
4439
  }
4426
- function wo({ withLocale: e, translations: t }) {
4427
- ne.subscribe((r) => {
4428
- r == null && (ve.set(t), ne.set(e));
4440
+ function ps(e, t) {
4441
+ const r = document.createElement("style");
4442
+ return window.emMessageBus.subscribe(t, (n) => {
4443
+ e && (r.innerHTML = n, e.appendChild(r));
4429
4444
  });
4430
4445
  }
4431
- function er(e, t) {
4432
- Rr(e, t);
4446
+ function bs(e, t) {
4447
+ return window.emMessageBus.subscribe(t, (r) => {
4448
+ var a;
4449
+ if (!e)
4450
+ return;
4451
+ const n = e.getRootNode(), i = window[J];
4452
+ let s = (a = i[t]) == null ? void 0 : a.sheet;
4453
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
4454
+ sheet: s,
4455
+ refCount: 1
4456
+ });
4457
+ const o = n.adoptedStyleSheets || [];
4458
+ o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
4459
+ });
4433
4460
  }
4434
- const tr = {
4461
+ const gs = {
4435
4462
  en: {
4436
- providers: "Providers:",
4437
- filterby: "Filter by:",
4438
- all: "All",
4439
- clear: "Clear all"
4463
+ noGames: "No games in most played"
4440
4464
  },
4441
- zh: {
4442
- providers: "Providers:",
4443
- filterby: "Filter by",
4444
- all: "all",
4445
- clear: "Clear all"
4465
+ "zh-hk": {
4466
+ noGames: "No games in most played"
4446
4467
  },
4447
4468
  de: {
4448
- providers: "Providers:",
4449
- filterby: "Filter by:",
4450
- all: "all",
4451
- clear: "Clear all"
4469
+ noGames: "No games in most played"
4452
4470
  },
4453
4471
  it: {
4454
- providers: "Providers:",
4455
- filterby: "Filter by:",
4456
- all: "all",
4457
- clear: "Clear all"
4472
+ noGames: "No games in most played"
4458
4473
  },
4459
4474
  fr: {
4460
- providers: "Providers:",
4461
- filterby: "Filter by:",
4462
- all: "all",
4463
- clear: "Clear all"
4475
+ noGames: "No games in most played"
4464
4476
  },
4465
4477
  es: {
4466
- providers: "Proveedores:",
4467
- filterby: "Filtrar Por:",
4468
- all: "Todos",
4469
- clear: "Limpiar todos"
4478
+ noGames: "No hay juegos en más jugados."
4470
4479
  },
4471
4480
  tr: {
4472
- providers: "Sağlayıcılar:",
4473
- filterby: "Filtrele:",
4474
- all: "Hepsi",
4475
- clear: "Tümünü Temizle"
4481
+ noGames: "En çok oynananlarda oyun yok"
4476
4482
  },
4477
4483
  ru: {
4478
- providers: "Providers:",
4479
- filterby: "Filter by:",
4480
- all: "all",
4481
- clear: "Clear all"
4484
+ noGames: "No games in most played"
4482
4485
  },
4483
4486
  ro: {
4484
- providers: "Providers:",
4485
- filterby: "Filter by:",
4486
- all: "all",
4487
- clear: "Clear all"
4487
+ noGames: "No games in most played"
4488
4488
  },
4489
4489
  hr: {
4490
- providers: "Brendovi igara",
4491
- filterby: "Filtrirati po:",
4492
- all: "Sve",
4493
- clear: "Očisti sve"
4490
+ noGames: "Nema igara u najigranijim"
4494
4491
  },
4495
4492
  hu: {
4496
- providers: "Providers:",
4497
- filterby: "Filter by:",
4498
- all: "all",
4499
- clear: "Clear all"
4493
+ noGames: "No games in most played"
4500
4494
  },
4501
4495
  pl: {
4502
- providers: "Providers:",
4503
- filterby: "Filter by:",
4504
- all: "all",
4505
- clear: "Clear all"
4496
+ noGames: "No games in most played"
4506
4497
  },
4507
4498
  pt: {
4508
- providers: "Providers:",
4509
- filterby: "Filter by:",
4510
- all: "all",
4511
- clear: "Clear all"
4499
+ noGames: "No games in most played"
4512
4500
  },
4513
4501
  sl: {
4514
- providers: "Providers:",
4515
- filterby: "Filter by:",
4516
- all: "all",
4517
- clear: "Clear all"
4502
+ noGames: "No games in most played"
4518
4503
  },
4519
4504
  sr: {
4520
- providers: "Providers:",
4521
- filterby: "Filter by:",
4522
- all: "all",
4523
- clear: "Clear all"
4505
+ noGames: "No games in most played"
4524
4506
  },
4525
4507
  "pt-br": {
4526
- providers: "Provedores:",
4527
- filterby: "Filtrar por",
4528
- all: "Tudo",
4529
- clear: "Apagar tudo"
4508
+ noGames: "Não há jogos nos mais jogados"
4530
4509
  },
4531
4510
  "es-mx": {
4532
- providers: "Proveedores:",
4533
- filterby: "Filtrar por",
4534
- all: "Todo",
4535
- clear: "Borrar todo"
4511
+ noGames: "No hay juegos en los más jugados"
4536
4512
  },
4537
4513
  "en-us": {
4538
- providers: "Providers:",
4539
- filterby: "Filter by:",
4540
- all: "All",
4541
- clear: "Clear all"
4514
+ noGames: "No games in most played"
4542
4515
  }
4543
4516
  };
4544
- function So(e) {
4545
- qr(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%}}');
4546
- }
4547
- function rr(e, t, r) {
4548
- const n = e.slice();
4549
- return n[37] = t[r], n[38] = t, n[39] = r, n;
4550
- }
4551
- function To(e) {
4552
- let t, r, n, i, o, s, a, u, l = (
4553
- /*$_*/
4554
- e[11]("filterby") + ""
4555
- ), h, p, c, m, v = (
4556
- /*$_*/
4557
- e[11]("providers") + ""
4558
- ), y, T, H, S, b, I, L, R, A, P, N, Z, V, K = (
4559
- /*$_*/
4560
- e[11]("clear") + ""
4561
- ), oe, ee, se, te, ae, Pe;
4562
- function Be(d, C) {
4563
- return (
4564
- /*fullSelection*/
4565
- d[7] ? Po : Ao
4566
- );
4567
- }
4568
- let le = Be(e), D = le(e), Q = It(
4569
- /*vendorArray*/
4570
- e[5]
4571
- ), f = [];
4572
- for (let d = 0; d < Q.length; d += 1)
4573
- f[d] = nr(rr(e, Q, d));
4574
- return {
4575
- c() {
4576
- t = B("div"), r = B("div"), n = B("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = B("div"), u = B("span"), h = G(l), p = X(), c = B("div"), m = B("span"), y = G(v), T = X(), D.c(), H = X(), S = B("span"), b = Ee("svg"), I = Ee("path"), A = X(), P = B("div"), N = B("ul");
4577
- for (let d = 0; d < f.length; d += 1)
4578
- f[d].c();
4579
- Z = X(), V = B("button"), oe = G(K), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "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*/
4580
- (e[4] ? "TriangleActive" : "")), g(r, "class", R = "FilterSelector " + /*isFilterActive*/
4581
- (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
4582
- e[7] && /*selectedVendorArray*/
4583
- e[6].length != /*vendorArray*/
4584
- e[5].length, g(P, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
4585
- (e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
4586
- (e[0] == "true" && /*addsortingselector*/
4587
- e[1] == "true" ? "FilerContainerSplit" : ""));
4588
- },
4589
- m(d, C) {
4590
- z(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, u), _(u, h), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), D.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
4591
- for (let x = 0; x < f.length; x += 1)
4592
- f[x] && f[x].m(N, null);
4593
- _(P, Z), _(P, V), _(V, oe), ae || (Pe = [
4594
- $e(
4595
- r,
4596
- "click",
4597
- /*click_handler*/
4598
- e[24]
4599
- ),
4600
- $e(
4601
- V,
4602
- "click",
4603
- /*click_handler_2*/
4604
- e[27]
4605
- )
4606
- ], ae = !0);
4607
- },
4608
- p(d, C) {
4609
- if (C[0] & /*$_*/
4610
- 2048 && l !== (l = /*$_*/
4611
- d[11]("filterby") + "") && re(h, l), C[0] & /*$_*/
4612
- 2048 && v !== (v = /*$_*/
4613
- d[11]("providers") + "") && re(y, v), le === (le = Be(d)) && D ? D.p(d, C) : (D.d(1), D = le(d), D && (D.c(), D.m(c, null))), C[0] & /*isFilterActive*/
4614
- 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4615
- (d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
4616
- 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4617
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", R), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4618
- 8228) {
4619
- Q = It(
4620
- /*vendorArray*/
4621
- d[5]
4622
- );
4623
- let x;
4624
- for (x = 0; x < Q.length; x += 1) {
4625
- const ue = rr(d, Q, x);
4626
- f[x] ? f[x].p(ue, C) : (f[x] = nr(ue), f[x].c(), f[x].m(N, null));
4627
- }
4628
- for (; x < f.length; x += 1)
4629
- f[x].d(1);
4630
- f.length = Q.length;
4517
+ if (typeof window != "undefined") {
4518
+ let e = function(t) {
4519
+ return function(...r) {
4520
+ try {
4521
+ return t.apply(this, r);
4522
+ } catch (n) {
4523
+ 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"))
4524
+ return !1;
4525
+ throw n;
4631
4526
  }
4632
- C[0] & /*$_*/
4633
- 2048 && K !== (K = /*$_*/
4634
- d[11]("clear") + "") && re(oe, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4635
- 224 && ee !== (ee = /*fullSelection*/
4636
- d[7] && /*selectedVendorArray*/
4637
- d[6].length != /*vendorArray*/
4638
- d[5].length) && (V.disabled = ee), C[0] & /*isFilterActive*/
4639
- 16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
4640
- (d[4] ? "FilterOpen" : "")) && g(P, "class", se), C[0] & /*addfilterselector, addsortingselector*/
4641
- 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4642
- (d[0] == "true" && /*addsortingselector*/
4643
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
4644
- },
4645
- d(d) {
4646
- d && j(t), D.d(), en(f, d), ae = !1, Y(Pe);
4647
- }
4527
+ };
4648
4528
  };
4529
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-CE7LUO4f.js").then((t) => t.C).then(({ default: t }) => {
4530
+ !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
4531
+ });
4649
4532
  }
4650
- function Ho(e) {
4651
- let t, r = (
4652
- /*$_*/
4653
- e[11]("500") + ""
4654
- );
4655
- return {
4656
- c() {
4657
- t = B("p"), g(t, "class", "SearchLoading");
4658
- },
4659
- m(n, i) {
4660
- z(n, t, i), t.innerHTML = r;
4661
- },
4662
- p(n, i) {
4663
- i[0] & /*$_*/
4664
- 2048 && r !== (r = /*$_*/
4665
- n[11]("500") + "") && (t.innerHTML = r);
4666
- },
4667
- d(n) {
4668
- n && j(t);
4669
- }
4670
- };
4533
+ function ys(e, t, r) {
4534
+ return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
4671
4535
  }
4672
- function Ao(e) {
4673
- let t, r;
4536
+ function vs(e) {
4537
+ Fr(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))}");
4538
+ }
4539
+ function _s(e) {
4540
+ let t;
4674
4541
  return {
4675
4542
  c() {
4676
- t = B("span"), r = G(
4677
- /*selectionNumber*/
4543
+ t = k("casino-games-category-section-nd"), p(
4544
+ t,
4545
+ "session",
4546
+ /*session*/
4547
+ e[4]
4548
+ ), p(
4549
+ t,
4550
+ "userid",
4551
+ /*userid*/
4552
+ e[5]
4553
+ ), p(
4554
+ t,
4555
+ "endpoint",
4556
+ /*endpoint*/
4557
+ e[0]
4558
+ ), p(
4559
+ t,
4560
+ "datasource",
4561
+ /*datasource*/
4562
+ e[1]
4563
+ ), p(
4564
+ t,
4565
+ "lang",
4566
+ /*lang*/
4567
+ e[3]
4568
+ ), p(
4569
+ t,
4570
+ "currency",
4571
+ /*currency*/
4572
+ e[2]
4573
+ ), p(
4574
+ t,
4575
+ "favorites",
4576
+ /*favorites*/
4577
+ e[15]
4578
+ ), p(
4579
+ t,
4580
+ "fetchviaevent",
4581
+ /*fetchviaevent*/
4582
+ e[18]
4583
+ ), p(t, "categoryid", "MOSTPLAYED"), p(t, "categoryindex", "1"), p(t, "categorygames", "9"), p(t, "class", "CategoryContainer"), p(
4584
+ t,
4585
+ "showgamename",
4586
+ /*showgamename*/
4587
+ e[13]
4588
+ ), p(
4589
+ t,
4590
+ "clientstyling",
4591
+ /*clientstyling*/
4592
+ e[7]
4593
+ ), p(
4594
+ t,
4595
+ "clientstylingurl",
4596
+ /*clientstylingurl*/
4678
4597
  e[8]
4679
- ), g(t, "class", "FilterCounter");
4598
+ ), p(
4599
+ t,
4600
+ "translationurl",
4601
+ /*translationurl*/
4602
+ e[16]
4603
+ ), p(
4604
+ t,
4605
+ "livecasino",
4606
+ /*livecasino*/
4607
+ e[9]
4608
+ ), p(
4609
+ t,
4610
+ "visiblegames",
4611
+ /*visiblegames*/
4612
+ e[14]
4613
+ ), p(
4614
+ t,
4615
+ "gamepagemodalurl",
4616
+ /*gamepagemodalurl*/
4617
+ e[12]
4618
+ ), p(
4619
+ t,
4620
+ "integratedgameframedesktop",
4621
+ /*integratedgameframedesktop*/
4622
+ e[11]
4623
+ ), p(
4624
+ t,
4625
+ "integratedgameframemobile",
4626
+ /*integratedgameframemobile*/
4627
+ e[10]
4628
+ ), p(
4629
+ t,
4630
+ "casinomygames",
4631
+ /*casinomygames*/
4632
+ e[17]
4633
+ ), p(
4634
+ t,
4635
+ "mbsource",
4636
+ /*mbsource*/
4637
+ e[6]
4638
+ );
4680
4639
  },
4681
- m(n, i) {
4682
- z(n, t, i), _(t, r);
4640
+ m(r, n) {
4641
+ de(r, t, n);
4683
4642
  },
4684
- p(n, i) {
4685
- i[0] & /*selectionNumber*/
4686
- 256 && re(
4687
- r,
4688
- /*selectionNumber*/
4689
- n[8]
4643
+ p(r, n) {
4644
+ n[0] & /*session*/
4645
+ 16 && p(
4646
+ t,
4647
+ "session",
4648
+ /*session*/
4649
+ r[4]
4650
+ ), n[0] & /*userid*/
4651
+ 32 && p(
4652
+ t,
4653
+ "userid",
4654
+ /*userid*/
4655
+ r[5]
4656
+ ), n[0] & /*endpoint*/
4657
+ 1 && p(
4658
+ t,
4659
+ "endpoint",
4660
+ /*endpoint*/
4661
+ r[0]
4662
+ ), n[0] & /*datasource*/
4663
+ 2 && p(
4664
+ t,
4665
+ "datasource",
4666
+ /*datasource*/
4667
+ r[1]
4668
+ ), n[0] & /*lang*/
4669
+ 8 && p(
4670
+ t,
4671
+ "lang",
4672
+ /*lang*/
4673
+ r[3]
4674
+ ), n[0] & /*currency*/
4675
+ 4 && p(
4676
+ t,
4677
+ "currency",
4678
+ /*currency*/
4679
+ r[2]
4680
+ ), n[0] & /*favorites*/
4681
+ 32768 && p(
4682
+ t,
4683
+ "favorites",
4684
+ /*favorites*/
4685
+ r[15]
4686
+ ), n[0] & /*fetchviaevent*/
4687
+ 262144 && p(
4688
+ t,
4689
+ "fetchviaevent",
4690
+ /*fetchviaevent*/
4691
+ r[18]
4692
+ ), n[0] & /*showgamename*/
4693
+ 8192 && p(
4694
+ t,
4695
+ "showgamename",
4696
+ /*showgamename*/
4697
+ r[13]
4698
+ ), n[0] & /*clientstyling*/
4699
+ 128 && p(
4700
+ t,
4701
+ "clientstyling",
4702
+ /*clientstyling*/
4703
+ r[7]
4704
+ ), n[0] & /*clientstylingurl*/
4705
+ 256 && p(
4706
+ t,
4707
+ "clientstylingurl",
4708
+ /*clientstylingurl*/
4709
+ r[8]
4710
+ ), n[0] & /*translationurl*/
4711
+ 65536 && p(
4712
+ t,
4713
+ "translationurl",
4714
+ /*translationurl*/
4715
+ r[16]
4716
+ ), n[0] & /*livecasino*/
4717
+ 512 && p(
4718
+ t,
4719
+ "livecasino",
4720
+ /*livecasino*/
4721
+ r[9]
4722
+ ), n[0] & /*visiblegames*/
4723
+ 16384 && p(
4724
+ t,
4725
+ "visiblegames",
4726
+ /*visiblegames*/
4727
+ r[14]
4728
+ ), n[0] & /*gamepagemodalurl*/
4729
+ 4096 && p(
4730
+ t,
4731
+ "gamepagemodalurl",
4732
+ /*gamepagemodalurl*/
4733
+ r[12]
4734
+ ), n[0] & /*integratedgameframedesktop*/
4735
+ 2048 && p(
4736
+ t,
4737
+ "integratedgameframedesktop",
4738
+ /*integratedgameframedesktop*/
4739
+ r[11]
4740
+ ), n[0] & /*integratedgameframemobile*/
4741
+ 1024 && p(
4742
+ t,
4743
+ "integratedgameframemobile",
4744
+ /*integratedgameframemobile*/
4745
+ r[10]
4746
+ ), n[0] & /*casinomygames*/
4747
+ 131072 && p(
4748
+ t,
4749
+ "casinomygames",
4750
+ /*casinomygames*/
4751
+ r[17]
4752
+ ), n[0] & /*mbsource*/
4753
+ 64 && p(
4754
+ t,
4755
+ "mbsource",
4756
+ /*mbsource*/
4757
+ r[6]
4690
4758
  );
4691
4759
  },
4692
- d(n) {
4693
- n && j(t);
4760
+ d(r) {
4761
+ r && ne(t);
4694
4762
  }
4695
4763
  };
4696
4764
  }
4697
- function Po(e) {
4765
+ function Es(e) {
4698
4766
  let t, r = (
4699
4767
  /*$_*/
4700
- e[11]("all") + ""
4768
+ e[21]("noGames") + ""
4701
4769
  ), n;
4702
4770
  return {
4703
4771
  c() {
4704
- t = B("span"), n = G(r), g(t, "class", "FilterCounter");
4772
+ t = k("p"), n = lt(r), le(t, "class", "SearchLoading");
4705
4773
  },
4706
- m(i, o) {
4707
- z(i, t, o), _(t, n);
4774
+ m(i, s) {
4775
+ de(i, t, s), ht(t, n);
4708
4776
  },
4709
- p(i, o) {
4710
- o[0] & /*$_*/
4711
- 2048 && r !== (r = /*$_*/
4712
- i[11]("all") + "") && re(n, r);
4777
+ p(i, s) {
4778
+ s[0] & /*$_*/
4779
+ 2097152 && r !== (r = /*$_*/
4780
+ i[21]("noGames") + "") && Wr(n, r);
4713
4781
  },
4714
4782
  d(i) {
4715
- i && j(t);
4783
+ i && ne(t);
4716
4784
  }
4717
4785
  };
4718
4786
  }
4719
- function Bo(e) {
4787
+ function xs(e) {
4720
4788
  let t, r;
4721
- return {
4722
- c() {
4723
- t = B("img"), Ft(t.src, r = /*vendor*/
4724
- e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4725
- },
4726
- m(n, i) {
4727
- z(n, t, i);
4728
- },
4729
- p(n, i) {
4730
- i[0] & /*vendorArray*/
4731
- 32 && !Ft(t.src, r = /*vendor*/
4732
- n[37].logo) && g(t, "src", r);
4733
- },
4734
- d(n) {
4735
- n && j(t);
4736
- }
4737
- };
4738
- }
4739
- function Fo(e) {
4740
- let t, r, n = (
4741
- /*vendor*/
4742
- e[37].name + ""
4743
- ), i, o, s, a, u = (
4744
- /*vendor*/
4745
- e[37].games.total + ""
4746
- ), l, h;
4747
- return {
4748
- c() {
4749
- t = B("div"), r = B("span"), i = G(n), o = X(), s = B("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4750
- },
4751
- m(p, c) {
4752
- z(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, h);
4753
- },
4754
- p(p, c) {
4755
- c[0] & /*vendorArray*/
4756
- 32 && n !== (n = /*vendor*/
4757
- p[37].name + "") && re(i, n), c[0] & /*vendorArray*/
4758
- 32 && u !== (u = /*vendor*/
4759
- p[37].games.total + "") && re(l, u);
4760
- },
4761
- d(p) {
4762
- p && j(t);
4763
- }
4764
- };
4765
- }
4766
- function nr(e) {
4767
- let t, r, n, i, o, s, a, u, l, h, p, c;
4768
- function m() {
4769
- e[25].call(
4770
- n,
4771
- /*each_value*/
4772
- e[38],
4773
- /*vendor_index*/
4774
- e[39]
4775
- );
4776
- }
4777
- function v() {
4789
+ function n(o, a) {
4778
4790
  return (
4779
- /*click_handler_1*/
4780
- e[26](
4781
- /*vendor*/
4782
- e[37]
4783
- )
4791
+ /*mostPlayedEmpty*/
4792
+ o[20] ? Es : _s
4784
4793
  );
4785
4794
  }
4786
- function y(S, b) {
4787
- if (
4788
- /*filterbylogo*/
4789
- S[2] === "false"
4790
- )
4791
- return Fo;
4792
- if (
4793
- /*filterbylogo*/
4794
- S[2] === "true"
4795
- )
4796
- return Bo;
4797
- }
4798
- let T = y(e), H = T && T(e);
4795
+ let i = n(e), s = i(e);
4799
4796
  return {
4800
4797
  c() {
4801
- t = B("li"), r = B("label"), n = B("input"), o = X(), s = B("span"), a = X(), H && H.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4802
- e[37].name, Ct(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4803
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4804
- e[37].name;
4798
+ t = k("div"), r = k("div"), s.c(), le(r, "class", "casino-most-played-section"), le(t, "class", "CasinoGamesCategorySectionContainer");
4805
4799
  },
4806
- m(S, b) {
4807
- z(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4808
- e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, u), p || (c = [
4809
- $e(n, "change", m),
4810
- $e(n, "click", v)
4811
- ], p = !0);
4800
+ m(o, a) {
4801
+ de(o, t, a), ht(t, r), s.m(r, null), e[24](t);
4812
4802
  },
4813
- p(S, b) {
4814
- e = S, b[0] & /*vendorArray*/
4815
- 32 && i !== (i = /*vendor*/
4816
- e[37].name) && (n.__value = i, Ct(n, n.__value)), b[0] & /*vendorArray*/
4817
- 32 && (n.checked = /*vendor*/
4818
- 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*/
4819
- 4 && l !== (l = "FilterItem " + /*filterbylogo*/
4820
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4821
- 32 && h !== (h = /*vendor*/
4822
- e[37].name) && (t.value = h);
4803
+ p(o, a) {
4804
+ i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
4823
4805
  },
4824
- d(S) {
4825
- S && j(t), H && H.d(), p = !1, Y(c);
4826
- }
4827
- };
4828
- }
4829
- function Co(e) {
4830
- let t;
4831
- function r(o, s) {
4832
- if (
4833
- /*hasErrors*/
4834
- o[10]
4835
- )
4836
- return Ho;
4837
- if (!/*isLoading*/
4838
- o[9])
4839
- return To;
4840
- }
4841
- let n = r(e), i = n && n(e);
4842
- return {
4843
- c() {
4844
- t = B("div"), i && i.c();
4845
- },
4846
- m(o, s) {
4847
- z(o, t, s), i && i.m(t, null), e[28](t);
4848
- },
4849
- p(o, s) {
4850
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4851
- },
4852
- i: k,
4853
- o: k,
4806
+ i: R,
4807
+ o: R,
4854
4808
  d(o) {
4855
- o && j(t), i && i.d(), e[28](null);
4809
+ o && ne(t), s.d(), e[24](null);
4856
4810
  }
4857
4811
  };
4858
4812
  }
4859
- function Oo(e, t, r) {
4813
+ function Ss(e, t, r) {
4860
4814
  let n;
4861
- Qr(e, go, (f) => r(11, n = f));
4862
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = 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, R = 0, A = !0, P, N = !1;
4863
- wo({ withLocale: "en", translations: {} });
4864
- const Z = () => {
4865
- fetch(a).then((d) => d.json()).then((d) => {
4866
- Object.keys(d).forEach((C) => {
4867
- er(C, d[C]);
4868
- });
4869
- }).catch((d) => {
4870
- console.log(d);
4815
+ Dr(e, as, (f) => r(21, n = f));
4816
+ 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: L = "" } = t, { visiblegames: B } = t, { favorites: P = "" } = t, { translationurl: O = "" } = t, { casinomygames: N = "false" } = t, { mostplayedperiod: I = "Last30Days" } = t, { mostplayedrounds: _ = "10" } = t, { fetchviaevent: C = "true" } = t, M = window.navigator.userAgent, X;
4817
+ const Ie = (f) => {
4818
+ Object.keys(f).forEach((x) => {
4819
+ ls(x, f[x]);
4871
4820
  });
4872
- };
4873
- Object.keys(tr).forEach((f) => {
4874
- er(f, tr[f]);
4875
- }), I[h] && (I = { [h]: [] });
4876
- const V = () => {
4877
- r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4878
- }, K = (f) => (r(9, A = !0), new Promise((d, C) => {
4879
- fetch(f).then((x) => x.json()).then((x) => {
4880
- x = x.items, d(x.items), r(6, b = []);
4881
- let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4882
- const jr = y === "true" ? "*" : h;
4883
- x.forEach((Fe) => {
4884
- var St;
4885
- ue || (ue = { currentCategoryId: [] }), ((St = ue[jr]) == null ? void 0 : St.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, b.push(Fe)) : Fe.isFilterSelected = !1;
4886
- }), r(5, S = x), ee();
4821
+ }, Pr = () => {
4822
+ fetch(O).then((x) => x.json()).then((x) => {
4823
+ Ie(x);
4887
4824
  }).catch((x) => {
4888
- console.error(x), r(10, N = !0), C(x);
4889
- }).finally(() => {
4890
- r(9, A = !1);
4825
+ console.log(x);
4891
4826
  });
4892
- })), oe = (f) => {
4893
- let d = localStorage.getItem("vendorFiltersByCategory");
4894
- 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));
4895
- const C = y === "true" ? "*" : h;
4896
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4897
- [C]: b.map((x) => x.id)
4898
- })) : (d = JSON.parse(d), d[C] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4899
- }, ee = () => {
4900
- r(7, L = b.length === S.length || b.length == 0), r(8, R = b.length);
4901
- }, se = () => {
4902
- if (S.length && y === "true")
4903
- return;
4904
- const f = new URL(`${i}/v1/casino/vendors`);
4905
- 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", vo(H)), y === "true" || ((h.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${h})`), f.searchParams.append("subVendors", `games(subGroups=${h})`)) : f.searchParams.append("filter", `games(groups=${h})`)), K(f);
4906
- }, te = () => {
4907
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4908
- [y === "true" ? "*" : h]: b.map((f) => f.id)
4909
- })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4910
- }, ae = (f) => {
4911
- f.data.type == "SortingOpened" && r(4, T = !1);
4912
4827
  };
4913
- nn(() => (window.addEventListener("message", ae, !1), () => {
4914
- window.removeEventListener("message", ae);
4915
- }));
4916
- const Pe = () => V();
4917
- function Be(f, d) {
4918
- f[d].isFilterSelected = this.checked, r(5, S);
4919
- }
4920
- const le = (f) => oe(f), D = () => te();
4921
- function Q(f) {
4922
- nt[f ? "unshift" : "push"](() => {
4923
- P = f, r(3, P);
4828
+ Ie(gs);
4829
+ let ge = [], mt, dt = !1, U, Ar;
4830
+ const Br = (f) => {
4831
+ let x = new URL(`${i}/v1/player/${u}/games/most-played`);
4832
+ 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", I);
4833
+ let W = f.device;
4834
+ return W ? W === "PC" ? x.searchParams.append("device", "Desktop") : x.searchParams.append("device", "Mobile") : x.searchParams.append("device", "All"), f.rounds && x.searchParams.append("rounds", f.rounds), mt = d ? x : x.href, new Promise(($, ae) => {
4835
+ fetch(mt).then((D) => D.json()).then((D) => {
4836
+ D.items = D.items.filter((Lr) => {
4837
+ let pt = !0;
4838
+ return Lr.gameCode == "OddsMatrix2" && (D.count--, pt = !1), pt;
4839
+ }), $(D);
4840
+ }).catch((D) => {
4841
+ console.error(D), ae(D);
4842
+ });
4843
+ });
4844
+ }, Or = () => {
4845
+ Br({
4846
+ limit: 100,
4847
+ device: hs(M),
4848
+ rounds: _
4849
+ }).then((f) => {
4850
+ if (f.count > 0) {
4851
+ let x = [];
4852
+ f.items.forEach((W) => {
4853
+ let $ = new URL(`${i}/v1/casino/games/${W.gameId}`);
4854
+ $.searchParams.append("datasource", s), d ? x.push(fetch($.href).then((ae) => ae.json())) : x.push(fetch($.href).then((ae) => ae.json()));
4855
+ }), Promise.all(x).then((W) => {
4856
+ ge = W.filter(($) => !("error" in $)).map(($) => $[0]), N === "true" && (ge = ge.slice(0, JSON.parse(B))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: ge }, window.location.href);
4857
+ });
4858
+ } else
4859
+ r(20, dt = !0);
4860
+ });
4861
+ }, Nr = () => {
4862
+ cs(a);
4863
+ };
4864
+ Zr(() => () => {
4865
+ });
4866
+ function Cr(f) {
4867
+ Ve[f ? "unshift" : "push"](() => {
4868
+ U = f, r(19, U);
4924
4869
  });
4925
4870
  }
4926
4871
  return e.$$set = (f) => {
4927
- "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, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = 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);
4872
+ "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, L = f.showgamename), "visiblegames" in f && r(14, B = f.visiblegames), "favorites" in f && r(15, P = f.favorites), "translationurl" in f && r(16, O = f.translationurl), "casinomygames" in f && r(17, N = f.casinomygames), "mostplayedperiod" in f && r(22, I = f.mostplayedperiod), "mostplayedrounds" in f && r(23, _ = f.mostplayedrounds), "fetchviaevent" in f && r(18, C = f.fetchviaevent);
4928
4873
  }, e.$$.update = () => {
4929
- e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4930
- 2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4931
- 524296 && u && P && _o(P, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4932
- 1048584 && l && P && xo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4933
- 4194312 && P && Eo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4934
- 262144 && a && Z();
4874
+ e.$$.dirty[0] & /*endpoint, userid, lang*/
4875
+ 41 && i && u && a && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4876
+ 524416 && m && U && fs(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4877
+ 524544 && c && U && ms(U, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4878
+ 524352 && l && U && ds(U, `${l}.Style`, Ar), e.$$.dirty[0] & /*mbsource, translationurl*/
4879
+ 65600 && l && !O && ys(`${l}.Translation`, X, Ie), e.$$.dirty[0] & /*translationurl*/
4880
+ 65536 && O && Pr(), e.$$.dirty[0] & /*lang*/
4881
+ 8 && a && Nr();
4935
4882
  }, [
4936
- p,
4937
- c,
4938
- m,
4939
- P,
4940
- T,
4941
- S,
4942
- b,
4943
- L,
4944
- R,
4945
- A,
4946
- N,
4947
- n,
4948
- V,
4949
- oe,
4950
- te,
4951
4883
  i,
4952
- o,
4953
4884
  s,
4885
+ o,
4954
4886
  a,
4887
+ h,
4955
4888
  u,
4956
4889
  l,
4957
- h,
4890
+ m,
4891
+ c,
4892
+ d,
4893
+ b,
4958
4894
  v,
4959
- y,
4960
- Pe,
4961
- Be,
4962
- le,
4963
- D,
4964
- Q
4895
+ T,
4896
+ L,
4897
+ B,
4898
+ P,
4899
+ O,
4900
+ N,
4901
+ C,
4902
+ U,
4903
+ dt,
4904
+ n,
4905
+ I,
4906
+ _,
4907
+ Cr
4965
4908
  ];
4966
4909
  }
4967
- class kr extends pn {
4910
+ class Hr extends nn {
4968
4911
  constructor(t) {
4969
- super(), cn(
4912
+ super(), tn(
4970
4913
  this,
4971
4914
  t,
4972
- Oo,
4973
- Co,
4974
- or,
4915
+ Ss,
4916
+ xs,
4917
+ kt,
4975
4918
  {
4976
- endpoint: 15,
4977
- datasource: 16,
4978
- lang: 17,
4979
- translationurl: 18,
4980
- clientstyling: 19,
4981
- clientstylingurl: 20,
4982
- categoryid: 21,
4983
- addfilterselector: 0,
4984
- addsortingselector: 1,
4985
- filterbylogo: 2,
4986
- mbsource: 22,
4987
- usesinglevendorfilter: 23
4919
+ endpoint: 0,
4920
+ datasource: 1,
4921
+ currency: 2,
4922
+ lang: 3,
4923
+ session: 4,
4924
+ userid: 5,
4925
+ mbsource: 6,
4926
+ clientstyling: 7,
4927
+ clientstylingurl: 8,
4928
+ livecasino: 9,
4929
+ integratedgameframemobile: 10,
4930
+ integratedgameframedesktop: 11,
4931
+ gamepagemodalurl: 12,
4932
+ showgamename: 13,
4933
+ visiblegames: 14,
4934
+ favorites: 15,
4935
+ translationurl: 16,
4936
+ casinomygames: 17,
4937
+ mostplayedperiod: 22,
4938
+ mostplayedrounds: 23,
4939
+ fetchviaevent: 18
4988
4940
  },
4989
- So,
4941
+ vs,
4990
4942
  [-1, -1]
4991
4943
  );
4992
4944
  }
4993
4945
  get endpoint() {
4994
- return this.$$.ctx[15];
4946
+ return this.$$.ctx[0];
4995
4947
  }
4996
4948
  set endpoint(t) {
4997
- this.$$set({ endpoint: t }), U();
4949
+ this.$$set({ endpoint: t }), S();
4998
4950
  }
4999
4951
  get datasource() {
5000
- return this.$$.ctx[16];
4952
+ return this.$$.ctx[1];
5001
4953
  }
5002
4954
  set datasource(t) {
5003
- this.$$set({ datasource: t }), U();
4955
+ this.$$set({ datasource: t }), S();
4956
+ }
4957
+ get currency() {
4958
+ return this.$$.ctx[2];
4959
+ }
4960
+ set currency(t) {
4961
+ this.$$set({ currency: t }), S();
5004
4962
  }
5005
4963
  get lang() {
5006
- return this.$$.ctx[17];
4964
+ return this.$$.ctx[3];
5007
4965
  }
5008
4966
  set lang(t) {
5009
- this.$$set({ lang: t }), U();
4967
+ this.$$set({ lang: t }), S();
5010
4968
  }
5011
- get translationurl() {
5012
- return this.$$.ctx[18];
4969
+ get session() {
4970
+ return this.$$.ctx[4];
5013
4971
  }
5014
- set translationurl(t) {
5015
- this.$$set({ translationurl: t }), U();
4972
+ set session(t) {
4973
+ this.$$set({ session: t }), S();
4974
+ }
4975
+ get userid() {
4976
+ return this.$$.ctx[5];
4977
+ }
4978
+ set userid(t) {
4979
+ this.$$set({ userid: t }), S();
4980
+ }
4981
+ get mbsource() {
4982
+ return this.$$.ctx[6];
4983
+ }
4984
+ set mbsource(t) {
4985
+ this.$$set({ mbsource: t }), S();
5016
4986
  }
5017
4987
  get clientstyling() {
5018
- return this.$$.ctx[19];
4988
+ return this.$$.ctx[7];
5019
4989
  }
5020
4990
  set clientstyling(t) {
5021
- this.$$set({ clientstyling: t }), U();
4991
+ this.$$set({ clientstyling: t }), S();
5022
4992
  }
5023
4993
  get clientstylingurl() {
5024
- return this.$$.ctx[20];
4994
+ return this.$$.ctx[8];
5025
4995
  }
5026
4996
  set clientstylingurl(t) {
5027
- this.$$set({ clientstylingurl: t }), U();
4997
+ this.$$set({ clientstylingurl: t }), S();
5028
4998
  }
5029
- get categoryid() {
5030
- return this.$$.ctx[21];
4999
+ get livecasino() {
5000
+ return this.$$.ctx[9];
5031
5001
  }
5032
- set categoryid(t) {
5033
- this.$$set({ categoryid: t }), U();
5002
+ set livecasino(t) {
5003
+ this.$$set({ livecasino: t }), S();
5034
5004
  }
5035
- get addfilterselector() {
5036
- return this.$$.ctx[0];
5005
+ get integratedgameframemobile() {
5006
+ return this.$$.ctx[10];
5037
5007
  }
5038
- set addfilterselector(t) {
5039
- this.$$set({ addfilterselector: t }), U();
5008
+ set integratedgameframemobile(t) {
5009
+ this.$$set({ integratedgameframemobile: t }), S();
5040
5010
  }
5041
- get addsortingselector() {
5042
- return this.$$.ctx[1];
5011
+ get integratedgameframedesktop() {
5012
+ return this.$$.ctx[11];
5043
5013
  }
5044
- set addsortingselector(t) {
5045
- this.$$set({ addsortingselector: t }), U();
5014
+ set integratedgameframedesktop(t) {
5015
+ this.$$set({ integratedgameframedesktop: t }), S();
5046
5016
  }
5047
- get filterbylogo() {
5048
- return this.$$.ctx[2];
5017
+ get gamepagemodalurl() {
5018
+ return this.$$.ctx[12];
5049
5019
  }
5050
- set filterbylogo(t) {
5051
- this.$$set({ filterbylogo: t }), U();
5020
+ set gamepagemodalurl(t) {
5021
+ this.$$set({ gamepagemodalurl: t }), S();
5052
5022
  }
5053
- get mbsource() {
5023
+ get showgamename() {
5024
+ return this.$$.ctx[13];
5025
+ }
5026
+ set showgamename(t) {
5027
+ this.$$set({ showgamename: t }), S();
5028
+ }
5029
+ get visiblegames() {
5030
+ return this.$$.ctx[14];
5031
+ }
5032
+ set visiblegames(t) {
5033
+ this.$$set({ visiblegames: t }), S();
5034
+ }
5035
+ get favorites() {
5036
+ return this.$$.ctx[15];
5037
+ }
5038
+ set favorites(t) {
5039
+ this.$$set({ favorites: t }), S();
5040
+ }
5041
+ get translationurl() {
5042
+ return this.$$.ctx[16];
5043
+ }
5044
+ set translationurl(t) {
5045
+ this.$$set({ translationurl: t }), S();
5046
+ }
5047
+ get casinomygames() {
5048
+ return this.$$.ctx[17];
5049
+ }
5050
+ set casinomygames(t) {
5051
+ this.$$set({ casinomygames: t }), S();
5052
+ }
5053
+ get mostplayedperiod() {
5054
5054
  return this.$$.ctx[22];
5055
5055
  }
5056
- set mbsource(t) {
5057
- this.$$set({ mbsource: t }), U();
5056
+ set mostplayedperiod(t) {
5057
+ this.$$set({ mostplayedperiod: t }), S();
5058
5058
  }
5059
- get usesinglevendorfilter() {
5059
+ get mostplayedrounds() {
5060
5060
  return this.$$.ctx[23];
5061
5061
  }
5062
- set usesinglevendorfilter(t) {
5063
- this.$$set({ usesinglevendorfilter: t }), U();
5062
+ set mostplayedrounds(t) {
5063
+ this.$$set({ mostplayedrounds: t }), S();
5064
+ }
5065
+ get fetchviaevent() {
5066
+ return this.$$.ctx[18];
5067
+ }
5068
+ set fetchviaevent(t) {
5069
+ this.$$set({ fetchviaevent: t }), S();
5064
5070
  }
5065
5071
  }
5066
- fn(kr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5067
- const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5072
+ rn(Hr, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
5073
+ const Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5068
5074
  __proto__: null,
5069
- default: kr
5075
+ default: Hr
5070
5076
  }, Symbol.toStringTag, { value: "Module" }));
5071
5077
  export {
5072
- ne as $,
5073
- It as A,
5074
- en as B,
5075
- Do as C,
5076
- _o as D,
5077
- xo as E,
5078
- Eo as F,
5079
- fn as G,
5080
- $o as H,
5081
- go as I,
5082
- Uo as J,
5083
- jo as K,
5084
- ko as L,
5085
- Go as M,
5086
- ve as N,
5087
- Vo as O,
5088
- pn as S,
5089
- Rr as a,
5090
- qr as b,
5091
- Ft as c,
5092
- j as d,
5093
- No as e,
5094
- U as f,
5095
- g,
5096
- yo as h,
5097
- cn as i,
5098
- z as j,
5099
- _ as k,
5100
- B as l,
5101
- X as m,
5102
- k as n,
5103
- Qr as o,
5104
- nn as p,
5105
- re as q,
5106
- $e as r,
5107
- or as s,
5108
- Ro as t,
5109
- G as u,
5110
- Lo as v,
5111
- vo as w,
5112
- nt as x,
5113
- Ee as y,
5114
- Mo as z
5078
+ se as $,
5079
+ Gs as A,
5080
+ Hs as B,
5081
+ Ts as C,
5082
+ Bs as D,
5083
+ Vr as E,
5084
+ fs as F,
5085
+ ms as G,
5086
+ ds as H,
5087
+ rn as I,
5088
+ as as J,
5089
+ Cs as K,
5090
+ Ls as L,
5091
+ Ns as M,
5092
+ Ms as N,
5093
+ be as O,
5094
+ re as P,
5095
+ Os as Q,
5096
+ Ds as R,
5097
+ nn as S,
5098
+ Er as a,
5099
+ Fr as b,
5100
+ de as c,
5101
+ ne as d,
5102
+ k as e,
5103
+ S as f,
5104
+ le as g,
5105
+ Dr as h,
5106
+ tn as i,
5107
+ Zr as j,
5108
+ ys as k,
5109
+ Ve as l,
5110
+ As as m,
5111
+ R as n,
5112
+ Is as o,
5113
+ $s as p,
5114
+ ht as q,
5115
+ Ps as r,
5116
+ kt as s,
5117
+ us as t,
5118
+ hs as u,
5119
+ Wr as v,
5120
+ lt as w,
5121
+ Rs as x,
5122
+ Us as y,
5123
+ p as z
5115
5124
  };