@everymatrix/casino-games-category-section-nd 1.52.6 → 1.53.10

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.
@@ -1,79 +1,50 @@
1
- var Gr = Object.defineProperty, kr = Object.defineProperties;
2
- var jr = Object.getOwnPropertyDescriptors;
3
- var wt = Object.getOwnPropertySymbols;
4
- var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Vr.call(t, r) && We(e, r, t[r]);
8
- if (wt)
9
- for (var r of wt(t))
10
- Xr.call(t, r) && We(e, r, t[r]);
11
- return e;
12
- }, Tt = (e, t) => kr(e, jr(t));
13
- var R = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ht = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
16
- try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function k() {
1
+ function G() {
31
2
  }
32
- function rr(e) {
3
+ function zt(e) {
33
4
  return e();
34
5
  }
35
- function At() {
6
+ function yt() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function K(e) {
39
- e.forEach(rr);
9
+ function Y(e) {
10
+ e.forEach(zt);
40
11
  }
41
- function gt(e) {
12
+ function pt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function nr(e, t) {
15
+ function Zt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let Be;
48
- function Pt(e, t) {
49
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
18
+ let Fe;
19
+ function vt(e, t) {
20
+ return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
50
21
  }
51
- function Wr(e) {
22
+ function Br(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function ir(e, ...t) {
25
+ function Jt(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
58
- return k;
29
+ return G;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function zr(e, t, r) {
64
- e.$$.on_destroy.push(ir(t, r));
34
+ function Or(e, t, r) {
35
+ e.$$.on_destroy.push(Jt(t, r));
65
36
  }
66
37
  function v(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function Zr(e, t, r) {
70
- const n = Jr(e);
40
+ function Ir(e, t, r) {
41
+ const n = Lr(e);
71
42
  if (!n.getElementById(t)) {
72
43
  const i = F("style");
73
- i.id = t, i.textContent = r, Qr(n, i);
44
+ i.id = t, i.textContent = r, Nr(n, i);
74
45
  }
75
46
  }
76
- function Jr(e) {
47
+ function Lr(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,79 +53,79 @@ function Jr(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function Qr(e, t) {
56
+ function Nr(e, t) {
86
57
  return v(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function W(e, t, r) {
63
+ function X(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function j(e) {
66
+ function k(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function qr(e, t) {
69
+ function Mr(e, t) {
99
70
  for (let r = 0; r < e.length; r += 1)
100
71
  e[r] && e[r].d(t);
101
72
  }
102
73
  function F(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function we(e) {
76
+ function Ee(e) {
106
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
78
  }
108
- function G(e) {
79
+ function U(e) {
109
80
  return document.createTextNode(e);
110
81
  }
111
- function X() {
112
- return G(" ");
82
+ function V() {
83
+ return U(" ");
113
84
  }
114
- function Po() {
115
- return G("");
85
+ function fo() {
86
+ return U("");
116
87
  }
117
- function De(e, t, r, n) {
88
+ function Re(e, t, r, n) {
118
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
90
  }
120
91
  function g(e, t, r) {
121
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
93
  }
123
- function Co(e, t, r) {
94
+ function po(e, t, r) {
124
95
  const n = t.toLowerCase();
125
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
126
97
  }
127
- function Yr(e) {
98
+ function Rr(e) {
128
99
  return Array.from(e.childNodes);
129
100
  }
130
- function Y(e, t) {
101
+ function q(e, t) {
131
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
103
  t);
133
104
  }
134
- function Ct(e, t) {
135
- e.value = t == null ? "" : t;
105
+ function _t(e, t) {
106
+ e.value = t ?? "";
136
107
  }
137
- function Fo(e, t, r, n) {
108
+ function mo(e, t, r, n) {
138
109
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
139
110
  }
140
- function Bo(e, t, r) {
111
+ function bo(e, t, r) {
141
112
  e.classList.toggle(t, !!r);
142
113
  }
143
- class Io {
114
+ class go {
115
+ /**
116
+ * @private
117
+ * @default false
118
+ */
119
+ is_svg = !1;
120
+ /** parent for creating node */
121
+ e = void 0;
122
+ /** html tag nodes */
123
+ n = void 0;
124
+ /** target */
125
+ t = void 0;
126
+ /** anchor */
127
+ a = void 0;
144
128
  constructor(t = !1) {
145
- /**
146
- * @private
147
- * @default false
148
- */
149
- R(this, "is_svg", !1);
150
- /** parent for creating node */
151
- R(this, "e");
152
- /** html tag nodes */
153
- R(this, "n");
154
- /** target */
155
- R(this, "t");
156
- /** anchor */
157
- R(this, "a");
158
129
  this.is_svg = t, this.e = this.n = null;
159
130
  }
160
131
  /**
@@ -171,7 +142,7 @@ class Io {
171
142
  * @returns {void}
172
143
  */
173
144
  m(t, r, n = null) {
174
- this.e || (this.is_svg ? this.e = we(
145
+ this.e || (this.is_svg ? this.e = Ee(
175
146
  /** @type {keyof SVGElementTagNameMap} */
176
147
  r.nodeName
177
148
  ) : this.e = F(
@@ -195,7 +166,7 @@ class Io {
195
166
  * @returns {void} */
196
167
  i(t) {
197
168
  for (let r = 0; r < this.n.length; r += 1)
198
- W(this.t, this.n[r], t);
169
+ X(this.t, this.n[r], t);
199
170
  }
200
171
  /**
201
172
  * @param {string} html
@@ -207,10 +178,10 @@ class Io {
207
178
  /**
208
179
  * @returns {void} */
209
180
  d() {
210
- this.n.forEach(j);
181
+ this.n.forEach(k);
211
182
  }
212
183
  }
213
- function Kr(e) {
184
+ function Dr(e) {
214
185
  const t = {};
215
186
  return e.childNodes.forEach(
216
187
  /** @param {Element} node */
@@ -219,279 +190,275 @@ function Kr(e) {
219
190
  }
220
191
  ), t;
221
192
  }
222
- let Te;
223
- function Se(e) {
224
- Te = e;
193
+ let Se;
194
+ function we(e) {
195
+ Se = e;
225
196
  }
226
- function en() {
227
- if (!Te) throw new Error("Function called outside component initialization");
228
- return Te;
197
+ function $r() {
198
+ if (!Se) throw new Error("Function called outside component initialization");
199
+ return Se;
229
200
  }
230
- function tn(e) {
231
- en().$$.on_mount.push(e);
201
+ function Ur(e) {
202
+ $r().$$.on_mount.push(e);
232
203
  }
233
- const fe = [], tt = [];
234
- let pe = [];
235
- const Ft = [], or = /* @__PURE__ */ Promise.resolve();
236
- let rt = !1;
237
- function sr() {
238
- rt || (rt = !0, or.then(U));
204
+ const ce = [], Ye = [];
205
+ let fe = [];
206
+ const xt = [], Qt = /* @__PURE__ */ Promise.resolve();
207
+ let Ke = !1;
208
+ function qt() {
209
+ Ke || (Ke = !0, Qt.then($));
239
210
  }
240
- function Oo() {
241
- return sr(), or;
211
+ function yo() {
212
+ return qt(), Qt;
242
213
  }
243
- function nt(e) {
244
- pe.push(e);
214
+ function et(e) {
215
+ fe.push(e);
245
216
  }
246
- const ze = /* @__PURE__ */ new Set();
247
- let he = 0;
248
- function U() {
249
- if (he !== 0)
217
+ const Xe = /* @__PURE__ */ new Set();
218
+ let ue = 0;
219
+ function $() {
220
+ if (ue !== 0)
250
221
  return;
251
- const e = Te;
222
+ const e = Se;
252
223
  do {
253
224
  try {
254
- for (; he < fe.length; ) {
255
- const t = fe[he];
256
- he++, Se(t), rn(t.$$);
225
+ for (; ue < ce.length; ) {
226
+ const t = ce[ue];
227
+ ue++, we(t), Gr(t.$$);
257
228
  }
258
229
  } catch (t) {
259
- throw fe.length = 0, he = 0, t;
230
+ throw ce.length = 0, ue = 0, t;
260
231
  }
261
- for (Se(null), fe.length = 0, he = 0; tt.length; ) tt.pop()();
262
- for (let t = 0; t < pe.length; t += 1) {
263
- const r = pe[t];
264
- ze.has(r) || (ze.add(r), r());
232
+ for (we(null), ce.length = 0, ue = 0; Ye.length; ) Ye.pop()();
233
+ for (let t = 0; t < fe.length; t += 1) {
234
+ const r = fe[t];
235
+ Xe.has(r) || (Xe.add(r), r());
265
236
  }
266
- pe.length = 0;
267
- } while (fe.length);
268
- for (; Ft.length; )
269
- Ft.pop()();
270
- rt = !1, ze.clear(), Se(e);
237
+ fe.length = 0;
238
+ } while (ce.length);
239
+ for (; xt.length; )
240
+ xt.pop()();
241
+ Ke = !1, Xe.clear(), we(e);
271
242
  }
272
- function rn(e) {
243
+ function Gr(e) {
273
244
  if (e.fragment !== null) {
274
- e.update(), K(e.before_update);
245
+ e.update(), Y(e.before_update);
275
246
  const t = e.dirty;
276
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
247
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
277
248
  }
278
249
  }
279
- function nn(e) {
250
+ function kr(e) {
280
251
  const t = [], r = [];
281
- pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
252
+ fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
282
253
  }
283
- const on = /* @__PURE__ */ new Set();
284
- function ar(e, t) {
285
- e && e.i && (on.delete(e), e.i(t));
254
+ const jr = /* @__PURE__ */ new Set();
255
+ function Yt(e, t) {
256
+ e && e.i && (jr.delete(e), e.i(t));
286
257
  }
287
- function Bt(e) {
288
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
258
+ function Et(e) {
259
+ return e?.length !== void 0 ? e : Array.from(e);
289
260
  }
290
- function Lo(e, t) {
261
+ function vo(e, t) {
291
262
  e.d(1), t.delete(e.key);
292
263
  }
293
- function No(e, t, r, n, i, o, s, a, u, l, h, p) {
264
+ function _o(e, t, r, n, i, o, s, a, h, l, u, d) {
294
265
  let c = e.length, m = o.length, b = c;
295
266
  const _ = {};
296
267
  for (; b--; ) _[e[b].key] = b;
297
268
  const T = [], y = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), E = [];
298
269
  for (b = m; b--; ) {
299
- const P = p(i, o, b), O = r(P);
300
- let M = s.get(O);
301
- M ? E.push(() => M.p(P, t)) : (M = l(O, P), M.c()), y.set(O, T[b] = M), O in _ && H.set(O, Math.abs(b - _[O]));
270
+ const A = d(i, o, b), I = r(A);
271
+ let M = s.get(I);
272
+ M ? E.push(() => M.p(A, t)) : (M = l(I, A), M.c()), y.set(I, T[b] = M), I in _ && H.set(I, Math.abs(b - _[I]));
302
273
  }
303
274
  const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
304
- function I(P) {
305
- ar(P, 1), P.m(a, h), s.set(P.key, P), h = P.first, m--;
275
+ function O(A) {
276
+ Yt(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
306
277
  }
307
278
  for (; c && m; ) {
308
- const P = T[m - 1], O = e[c - 1], M = P.key, z = O.key;
309
- P === O ? (h = P.first, c--, m--) : y.has(z) ? !s.has(M) || N.has(M) ? I(P) : L.has(z) ? c-- : H.get(M) > H.get(z) ? (L.add(M), I(P)) : (N.add(z), c--) : (u(O, s), c--);
279
+ const A = T[m - 1], I = e[c - 1], M = A.key, W = I.key;
280
+ A === I ? (u = A.first, c--, m--) : y.has(W) ? !s.has(M) || N.has(M) ? O(A) : L.has(W) ? c-- : H.get(M) > H.get(W) ? (L.add(M), O(A)) : (N.add(W), c--) : (h(I, s), c--);
310
281
  }
311
282
  for (; c--; ) {
312
- const P = e[c];
313
- y.has(P.key) || u(P, s);
283
+ const A = e[c];
284
+ y.has(A.key) || h(A, s);
314
285
  }
315
- for (; m; ) I(T[m - 1]);
316
- return K(E), T;
286
+ for (; m; ) O(T[m - 1]);
287
+ return Y(E), T;
317
288
  }
318
- function sn(e, t, r) {
289
+ function Vr(e, t, r) {
319
290
  const { fragment: n, after_update: i } = e.$$;
320
- n && n.m(t, r), nt(() => {
321
- const o = e.$$.on_mount.map(rr).filter(gt);
322
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
323
- }), i.forEach(nt);
291
+ n && n.m(t, r), et(() => {
292
+ const o = e.$$.on_mount.map(zt).filter(pt);
293
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
294
+ }), i.forEach(et);
324
295
  }
325
- function an(e, t) {
296
+ function Xr(e, t) {
326
297
  const r = e.$$;
327
- r.fragment !== null && (nn(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
298
+ r.fragment !== null && (kr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
328
299
  }
329
- function ln(e, t) {
330
- e.$$.dirty[0] === -1 && (fe.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
300
+ function Wr(e, t) {
301
+ e.$$.dirty[0] === -1 && (ce.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
331
302
  }
332
- function un(e, t, r, n, i, o, s = null, a = [-1]) {
333
- const u = Te;
334
- Se(e);
303
+ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
304
+ const h = Se;
305
+ we(e);
335
306
  const l = e.$$ = {
336
307
  fragment: null,
337
308
  ctx: [],
338
309
  // state
339
310
  props: o,
340
- update: k,
311
+ update: G,
341
312
  not_equal: i,
342
- bound: At(),
313
+ bound: yt(),
343
314
  // lifecycle
344
315
  on_mount: [],
345
316
  on_destroy: [],
346
317
  on_disconnect: [],
347
318
  before_update: [],
348
319
  after_update: [],
349
- context: new Map(t.context || (u ? u.$$.context : [])),
320
+ context: new Map(t.context || (h ? h.$$.context : [])),
350
321
  // everything else
351
- callbacks: At(),
322
+ callbacks: yt(),
352
323
  dirty: a,
353
324
  skip_bound: !1,
354
- root: t.target || u.$$.root
325
+ root: t.target || h.$$.root
355
326
  };
356
327
  s && s(l.root);
357
- let h = !1;
358
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
328
+ let u = !1;
329
+ if (l.ctx = r ? r(e, t.props || {}, (d, c, ...m) => {
359
330
  const b = m.length ? m[0] : c;
360
- return l.ctx && i(l.ctx[p], l.ctx[p] = b) && (!l.skip_bound && l.bound[p] && l.bound[p](b), h && ln(e, p)), c;
361
- }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
331
+ return l.ctx && i(l.ctx[d], l.ctx[d] = b) && (!l.skip_bound && l.bound[d] && l.bound[d](b), u && Wr(e, d)), c;
332
+ }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
362
333
  if (t.hydrate) {
363
- const p = Yr(t.target);
364
- l.fragment && l.fragment.l(p), p.forEach(j);
334
+ const d = Rr(t.target);
335
+ l.fragment && l.fragment.l(d), d.forEach(k);
365
336
  } else
366
337
  l.fragment && l.fragment.c();
367
- t.intro && ar(e.$$.fragment), sn(e, t.target, t.anchor), U();
338
+ t.intro && Yt(e.$$.fragment), Vr(e, t.target, t.anchor), $();
368
339
  }
369
- Se(u);
370
- }
371
- let lr;
372
- typeof HTMLElement == "function" && (lr = class extends HTMLElement {
373
- constructor(t, r, n) {
374
- super();
375
- /** The Svelte component constructor */
376
- R(this, "$$ctor");
377
- /** Slots */
378
- R(this, "$$s");
379
- /** The Svelte component instance */
380
- R(this, "$$c");
381
- /** Whether or not the custom element is connected */
382
- R(this, "$$cn", !1);
383
- /** Component props data */
384
- R(this, "$$d", {});
385
- /** `true` if currently in the process of reflecting component props back to attributes */
386
- R(this, "$$r", !1);
387
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
388
- R(this, "$$p_d", {});
389
- /** @type {Record<string, Function[]>} Event listeners */
390
- R(this, "$$l", {});
391
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
392
- R(this, "$$l_u", /* @__PURE__ */ new Map());
393
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
340
+ we(h);
341
+ }
342
+ let Kt;
343
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
344
+ /** The Svelte component constructor */
345
+ $$ctor;
346
+ /** Slots */
347
+ $$s;
348
+ /** The Svelte component instance */
349
+ $$c;
350
+ /** Whether or not the custom element is connected */
351
+ $$cn = !1;
352
+ /** Component props data */
353
+ $$d = {};
354
+ /** `true` if currently in the process of reflecting component props back to attributes */
355
+ $$r = !1;
356
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
357
+ $$p_d = {};
358
+ /** @type {Record<string, Function[]>} Event listeners */
359
+ $$l = {};
360
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
361
+ $$l_u = /* @__PURE__ */ new Map();
362
+ constructor(e, t, r) {
363
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
394
364
  }
395
- addEventListener(t, r, n) {
396
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
397
- const i = this.$$c.$on(t, r);
398
- this.$$l_u.set(r, i);
365
+ addEventListener(e, t, r) {
366
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
367
+ const n = this.$$c.$on(e, t);
368
+ this.$$l_u.set(t, n);
399
369
  }
400
- super.addEventListener(t, r, n);
370
+ super.addEventListener(e, t, r);
401
371
  }
402
- removeEventListener(t, r, n) {
403
- if (super.removeEventListener(t, r, n), this.$$c) {
404
- const i = this.$$l_u.get(r);
405
- i && (i(), this.$$l_u.delete(r));
372
+ removeEventListener(e, t, r) {
373
+ if (super.removeEventListener(e, t, r), this.$$c) {
374
+ const n = this.$$l_u.get(t);
375
+ n && (n(), this.$$l_u.delete(t));
406
376
  }
407
377
  }
408
- connectedCallback() {
409
- return Ht(this, null, function* () {
410
- if (this.$$cn = !0, !this.$$c) {
411
- let t = function(o) {
412
- return () => {
413
- let s;
414
- return {
415
- c: function() {
416
- s = F("slot"), o !== "default" && g(s, "name", o);
417
- },
418
- /**
419
- * @param {HTMLElement} target
420
- * @param {HTMLElement} [anchor]
421
- */
422
- m: function(l, h) {
423
- W(l, s, h);
424
- },
425
- d: function(l) {
426
- l && j(s);
427
- }
428
- };
378
+ async connectedCallback() {
379
+ if (this.$$cn = !0, !this.$$c) {
380
+ let e = function(i) {
381
+ return () => {
382
+ let o;
383
+ return {
384
+ c: function() {
385
+ o = F("slot"), i !== "default" && g(o, "name", i);
386
+ },
387
+ /**
388
+ * @param {HTMLElement} target
389
+ * @param {HTMLElement} [anchor]
390
+ */
391
+ m: function(h, l) {
392
+ X(h, o, l);
393
+ },
394
+ d: function(h) {
395
+ h && k(o);
396
+ }
429
397
  };
430
398
  };
431
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
432
- return;
433
- const r = {}, n = Kr(this);
434
- for (const o of this.$$s)
435
- o in n && (r[o] = [t(o)]);
436
- for (const o of this.attributes) {
437
- const s = this.$$g_p(o.name);
438
- s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
399
+ };
400
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
401
+ return;
402
+ const t = {}, r = Dr(this);
403
+ for (const i of this.$$s)
404
+ i in r && (t[i] = [e(i)]);
405
+ for (const i of this.attributes) {
406
+ const o = this.$$g_p(i.name);
407
+ o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
408
+ }
409
+ for (const i in this.$$p_d)
410
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
411
+ this.$$c = new this.$$ctor({
412
+ target: this.shadowRoot || this,
413
+ props: {
414
+ ...this.$$d,
415
+ $$slots: t,
416
+ $$scope: {
417
+ ctx: []
418
+ }
439
419
  }
440
- for (const o in this.$$p_d)
441
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
442
- this.$$c = new this.$$ctor({
443
- target: this.shadowRoot || this,
444
- props: Tt(St({}, this.$$d), {
445
- $$slots: r,
446
- $$scope: {
447
- ctx: []
448
- }
449
- })
450
- });
451
- const i = () => {
452
- this.$$r = !0;
453
- for (const o in this.$$p_d)
454
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
455
- const s = Le(
456
- o,
457
- this.$$d[o],
458
- this.$$p_d,
459
- "toAttribute"
460
- );
461
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
462
- }
463
- this.$$r = !1;
464
- };
465
- this.$$c.$$.after_update.push(i), i();
466
- for (const o in this.$$l)
467
- for (const s of this.$$l[o]) {
468
- const a = this.$$c.$on(o, s);
469
- this.$$l_u.set(s, a);
420
+ });
421
+ const n = () => {
422
+ this.$$r = !0;
423
+ for (const i in this.$$p_d)
424
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
425
+ const o = Ie(
426
+ i,
427
+ this.$$d[i],
428
+ this.$$p_d,
429
+ "toAttribute"
430
+ );
431
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
470
432
  }
471
- this.$$l = {};
472
- }
473
- });
433
+ this.$$r = !1;
434
+ };
435
+ this.$$c.$$.after_update.push(n), n();
436
+ for (const i in this.$$l)
437
+ for (const o of this.$$l[i]) {
438
+ const s = this.$$c.$on(i, o);
439
+ this.$$l_u.set(o, s);
440
+ }
441
+ this.$$l = {};
442
+ }
474
443
  }
475
444
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
476
445
  // and setting attributes through setAttribute etc, this is helpful
477
- attributeChangedCallback(t, r, n) {
478
- var i;
479
- 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] }));
446
+ attributeChangedCallback(e, t, r) {
447
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
480
448
  }
481
449
  disconnectedCallback() {
482
450
  this.$$cn = !1, Promise.resolve().then(() => {
483
451
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
484
452
  });
485
453
  }
486
- $$g_p(t) {
454
+ $$g_p(e) {
487
455
  return Object.keys(this.$$p_d).find(
488
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
489
- ) || t;
456
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
457
+ ) || e;
490
458
  }
491
459
  });
492
- function Le(e, t, r, n) {
493
- var o;
494
- const i = (o = r[e]) == null ? void 0 : o.type;
460
+ function Ie(e, t, r, n) {
461
+ const i = r[e]?.type;
495
462
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
496
463
  return t;
497
464
  if (n === "toAttribute")
@@ -502,7 +469,7 @@ function Le(e, t, r, n) {
502
469
  case "Boolean":
503
470
  return t ? "" : null;
504
471
  case "Number":
505
- return t == null ? null : t;
472
+ return t ?? null;
506
473
  default:
507
474
  return t;
508
475
  }
@@ -519,8 +486,8 @@ function Le(e, t, r, n) {
519
486
  return t;
520
487
  }
521
488
  }
522
- function hn(e, t, r, n, i, o) {
523
- let s = class extends lr {
489
+ function Zr(e, t, r, n, i, o) {
490
+ let s = class extends Kt {
524
491
  constructor() {
525
492
  super(e, r, i), this.$$p_d = t;
526
493
  }
@@ -535,43 +502,39 @@ function hn(e, t, r, n, i, o) {
535
502
  get() {
536
503
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
537
504
  },
538
- set(u) {
539
- var l;
540
- u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
505
+ set(h) {
506
+ h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
541
507
  }
542
508
  });
543
509
  }), n.forEach((a) => {
544
510
  Object.defineProperty(s.prototype, a, {
545
511
  get() {
546
- var u;
547
- return (u = this.$$c) == null ? void 0 : u[a];
512
+ return this.$$c?.[a];
548
513
  }
549
514
  });
550
515
  }), e.element = /** @type {any} */
551
516
  s, s;
552
517
  }
553
- class cn {
554
- constructor() {
555
- /**
556
- * ### PRIVATE API
557
- *
558
- * Do not use, may change at any time
559
- *
560
- * @type {any}
561
- */
562
- R(this, "$$");
563
- /**
564
- * ### PRIVATE API
565
- *
566
- * Do not use, may change at any time
567
- *
568
- * @type {any}
569
- */
570
- R(this, "$$set");
571
- }
518
+ class Jr {
519
+ /**
520
+ * ### PRIVATE API
521
+ *
522
+ * Do not use, may change at any time
523
+ *
524
+ * @type {any}
525
+ */
526
+ $$ = void 0;
527
+ /**
528
+ * ### PRIVATE API
529
+ *
530
+ * Do not use, may change at any time
531
+ *
532
+ * @type {any}
533
+ */
534
+ $$set = void 0;
572
535
  /** @returns {void} */
573
536
  $destroy() {
574
- an(this, 1), this.$destroy = k;
537
+ Xr(this, 1), this.$destroy = G;
575
538
  }
576
539
  /**
577
540
  * @template {Extract<keyof Events, string>} K
@@ -580,8 +543,8 @@ class cn {
580
543
  * @returns {() => void}
581
544
  */
582
545
  $on(t, r) {
583
- if (!gt(r))
584
- return k;
546
+ if (!pt(r))
547
+ return G;
585
548
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
586
549
  return n.push(r), () => {
587
550
  const i = n.indexOf(r);
@@ -593,22 +556,22 @@ class cn {
593
556
  * @returns {void}
594
557
  */
595
558
  $set(t) {
596
- this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
559
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
597
560
  }
598
561
  }
599
- const fn = "4";
600
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
601
- var it = function(e, t) {
602
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
562
+ const Qr = "4";
563
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
564
+ var tt = function(e, t) {
565
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
603
566
  r.__proto__ = n;
604
567
  } || function(r, n) {
605
568
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
606
- }, it(e, t);
569
+ }, tt(e, t);
607
570
  };
608
- function J(e, t) {
571
+ function Z(e, t) {
609
572
  if (typeof t != "function" && t !== null)
610
573
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
611
- it(e, t);
574
+ tt(e, t);
612
575
  function r() {
613
576
  this.constructor = e;
614
577
  }
@@ -623,7 +586,7 @@ var S = function() {
623
586
  return t;
624
587
  }, S.apply(this, arguments);
625
588
  };
626
- function pn(e, t) {
589
+ function qr(e, t) {
627
590
  var r = {};
628
591
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
629
592
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -631,7 +594,7 @@ function pn(e, t) {
631
594
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
632
595
  return r;
633
596
  }
634
- function ot(e) {
597
+ function rt(e) {
635
598
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
636
599
  if (r) return r.call(e);
637
600
  if (e && typeof e.length == "number") return {
@@ -641,7 +604,7 @@ function ot(e) {
641
604
  };
642
605
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
643
606
  }
644
- function st(e, t) {
607
+ function nt(e, t) {
645
608
  var r = typeof Symbol == "function" && e[Symbol.iterator];
646
609
  if (!r) return e;
647
610
  var n = r.call(e), i, o = [], s;
@@ -663,16 +626,16 @@ function de(e, t, r) {
663
626
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
664
627
  return e.concat(o || Array.prototype.slice.call(t));
665
628
  }
666
- function Z(e) {
629
+ function z(e) {
667
630
  return typeof e == "function";
668
631
  }
669
- function ur(e) {
632
+ function er(e) {
670
633
  var t = function(n) {
671
634
  Error.call(n), n.stack = new Error().stack;
672
635
  }, r = e(t);
673
636
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
674
637
  }
675
- var Ze = ur(function(e) {
638
+ var We = er(function(e) {
676
639
  return function(r) {
677
640
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
678
641
  ` + r.map(function(n, i) {
@@ -681,13 +644,13 @@ var Ze = ur(function(e) {
681
644
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
682
645
  };
683
646
  });
684
- function at(e, t) {
647
+ function it(e, t) {
685
648
  if (e) {
686
649
  var r = e.indexOf(t);
687
650
  0 <= r && e.splice(r, 1);
688
651
  }
689
652
  }
690
- var Ge = function() {
653
+ var Ue = function() {
691
654
  function e(t) {
692
655
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
693
656
  }
@@ -699,38 +662,38 @@ var Ge = function() {
699
662
  if (s)
700
663
  if (this._parentage = null, Array.isArray(s))
701
664
  try {
702
- for (var a = ot(s), u = a.next(); !u.done; u = a.next()) {
703
- var l = u.value;
665
+ for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
666
+ var l = h.value;
704
667
  l.remove(this);
705
668
  }
706
669
  } catch (_) {
707
670
  t = { error: _ };
708
671
  } finally {
709
672
  try {
710
- u && !u.done && (r = a.return) && r.call(a);
673
+ h && !h.done && (r = a.return) && r.call(a);
711
674
  } finally {
712
675
  if (t) throw t.error;
713
676
  }
714
677
  }
715
678
  else
716
679
  s.remove(this);
717
- var h = this.initialTeardown;
718
- if (Z(h))
680
+ var u = this.initialTeardown;
681
+ if (z(u))
719
682
  try {
720
- h();
683
+ u();
721
684
  } catch (_) {
722
- o = _ instanceof Ze ? _.errors : [_];
685
+ o = _ instanceof We ? _.errors : [_];
723
686
  }
724
- var p = this._finalizers;
725
- if (p) {
687
+ var d = this._finalizers;
688
+ if (d) {
726
689
  this._finalizers = null;
727
690
  try {
728
- for (var c = ot(p), m = c.next(); !m.done; m = c.next()) {
691
+ for (var c = rt(d), m = c.next(); !m.done; m = c.next()) {
729
692
  var b = m.value;
730
693
  try {
731
- It(b);
694
+ wt(b);
732
695
  } catch (_) {
733
- o = o != null ? o : [], _ instanceof Ze ? o = de(de([], st(o)), st(_.errors)) : o.push(_);
696
+ o = o ?? [], _ instanceof We ? o = de(de([], nt(o)), nt(_.errors)) : o.push(_);
734
697
  }
735
698
  }
736
699
  } catch (_) {
@@ -744,13 +707,13 @@ var Ge = function() {
744
707
  }
745
708
  }
746
709
  if (o)
747
- throw new Ze(o);
710
+ throw new We(o);
748
711
  }
749
712
  }, e.prototype.add = function(t) {
750
713
  var r;
751
714
  if (t && t !== this)
752
715
  if (this.closed)
753
- It(t);
716
+ wt(t);
754
717
  else {
755
718
  if (t instanceof e) {
756
719
  if (t.closed || t._hasParent(this))
@@ -767,56 +730,56 @@ var Ge = function() {
767
730
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
768
731
  }, e.prototype._removeParent = function(t) {
769
732
  var r = this._parentage;
770
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
733
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
771
734
  }, e.prototype.remove = function(t) {
772
735
  var r = this._finalizers;
773
- r && at(r, t), t instanceof e && t._removeParent(this);
736
+ r && it(r, t), t instanceof e && t._removeParent(this);
774
737
  }, e.EMPTY = function() {
775
738
  var t = new e();
776
739
  return t.closed = !0, t;
777
740
  }(), e;
778
- }(), hr = Ge.EMPTY;
779
- function cr(e) {
780
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
741
+ }(), tr = Ue.EMPTY;
742
+ function rr(e) {
743
+ return e instanceof Ue || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
781
744
  }
782
- function It(e) {
783
- Z(e) ? e() : e.unsubscribe();
745
+ function wt(e) {
746
+ z(e) ? e() : e.unsubscribe();
784
747
  }
785
- var fr = {
748
+ var Yr = {
786
749
  onUnhandledError: null,
787
750
  onStoppedNotification: null,
788
751
  Promise: void 0,
789
752
  useDeprecatedSynchronousErrorHandling: !1,
790
753
  useDeprecatedNextContext: !1
791
- }, dn = {
754
+ }, Kr = {
792
755
  setTimeout: function(e, t) {
793
756
  for (var r = [], n = 2; n < arguments.length; n++)
794
757
  r[n - 2] = arguments[n];
795
- return setTimeout.apply(void 0, de([e, t], st(r)));
758
+ return setTimeout.apply(void 0, de([e, t], nt(r)));
796
759
  },
797
760
  clearTimeout: function(e) {
798
761
  return clearTimeout(e);
799
762
  },
800
763
  delegate: void 0
801
764
  };
802
- function mn(e) {
803
- dn.setTimeout(function() {
765
+ function en(e) {
766
+ Kr.setTimeout(function() {
804
767
  throw e;
805
768
  });
806
769
  }
807
- function Ot() {
770
+ function St() {
808
771
  }
809
- function Ne(e) {
772
+ function Le(e) {
810
773
  e();
811
774
  }
812
- var pr = function(e) {
813
- J(t, e);
775
+ var nr = function(e) {
776
+ Z(t, e);
814
777
  function t(r) {
815
778
  var n = e.call(this) || this;
816
- return n.isStopped = !1, r ? (n.destination = r, cr(r) && r.add(n)) : n.destination = vn, n;
779
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = nn, n;
817
780
  }
818
781
  return t.create = function(r, n, i) {
819
- return new lt(r, n, i);
782
+ return new ot(r, n, i);
820
783
  }, t.prototype.next = function(r) {
821
784
  this.isStopped || this._next(r);
822
785
  }, t.prototype.error = function(r) {
@@ -840,11 +803,7 @@ var pr = function(e) {
840
803
  this.unsubscribe();
841
804
  }
842
805
  }, t;
843
- }(Ge), bn = Function.prototype.bind;
844
- function Je(e, t) {
845
- return bn.call(e, t);
846
- }
847
- var gn = function() {
806
+ }(Ue), tn = function() {
848
807
  function e(t) {
849
808
  this.partialObserver = t;
850
809
  }
@@ -854,7 +813,7 @@ var gn = function() {
854
813
  try {
855
814
  r.next(t);
856
815
  } catch (n) {
857
- Ie(n);
816
+ Be(n);
858
817
  }
859
818
  }, e.prototype.error = function(t) {
860
819
  var r = this.partialObserver;
@@ -862,68 +821,56 @@ var gn = function() {
862
821
  try {
863
822
  r.error(t);
864
823
  } catch (n) {
865
- Ie(n);
824
+ Be(n);
866
825
  }
867
826
  else
868
- Ie(t);
827
+ Be(t);
869
828
  }, e.prototype.complete = function() {
870
829
  var t = this.partialObserver;
871
830
  if (t.complete)
872
831
  try {
873
832
  t.complete();
874
833
  } catch (r) {
875
- Ie(r);
834
+ Be(r);
876
835
  }
877
836
  }, e;
878
- }(), lt = function(e) {
879
- J(t, e);
837
+ }(), ot = function(e) {
838
+ Z(t, e);
880
839
  function t(r, n, i) {
881
840
  var o = e.call(this) || this, s;
882
- if (Z(r) || !r)
883
- s = {
884
- next: r != null ? r : void 0,
885
- error: n != null ? n : void 0,
886
- complete: i != null ? i : void 0
887
- };
888
- else {
889
- var a;
890
- o && fr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
891
- return o.unsubscribe();
892
- }, s = {
893
- next: r.next && Je(r.next, a),
894
- error: r.error && Je(r.error, a),
895
- complete: r.complete && Je(r.complete, a)
896
- }) : s = r;
897
- }
898
- return o.destination = new gn(s), o;
841
+ return z(r) || !r ? s = {
842
+ next: r ?? void 0,
843
+ error: n ?? void 0,
844
+ complete: i ?? void 0
845
+ } : s = r, o.destination = new tn(s), o;
899
846
  }
900
847
  return t;
901
- }(pr);
902
- function Ie(e) {
903
- mn(e);
848
+ }(nr);
849
+ function Be(e) {
850
+ en(e);
904
851
  }
905
- function yn(e) {
852
+ function rn(e) {
906
853
  throw e;
907
854
  }
908
- var vn = {
855
+ var nn = {
909
856
  closed: !0,
910
- next: Ot,
911
- error: yn,
912
- complete: Ot
913
- }, _n = function() {
857
+ next: St,
858
+ error: rn,
859
+ complete: St
860
+ }, on = function() {
914
861
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
915
862
  }();
916
- function xn(e) {
863
+ function sn(e) {
917
864
  return e;
918
865
  }
919
- function En(e) {
920
- return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
866
+ function an(e) {
867
+ return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
921
868
  return e.reduce(function(n, i) {
922
869
  return i(n);
923
870
  }, r);
924
871
  };
925
872
  }
926
- var Lt = function() {
873
+ var Tt = function() {
927
874
  function e(t) {
928
875
  t && (this._subscribe = t);
929
876
  }
@@ -931,10 +878,10 @@ var Lt = function() {
931
878
  var r = new e();
932
879
  return r.source = this, r.operator = t, r;
933
880
  }, e.prototype.subscribe = function(t, r, n) {
934
- var i = this, o = Sn(t) ? t : new lt(t, r, n);
935
- return Ne(function() {
936
- var s = i, a = s.operator, u = s.source;
937
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
881
+ var i = this, o = un(t) ? t : new ot(t, r, n);
882
+ return Le(function() {
883
+ var s = i, a = s.operator, h = s.source;
884
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
938
885
  }), o;
939
886
  }, e.prototype._trySubscribe = function(t) {
940
887
  try {
@@ -944,13 +891,13 @@ var Lt = function() {
944
891
  }
945
892
  }, e.prototype.forEach = function(t, r) {
946
893
  var n = this;
947
- return r = Nt(r), new r(function(i, o) {
948
- var s = new lt({
894
+ return r = Ht(r), new r(function(i, o) {
895
+ var s = new ot({
949
896
  next: function(a) {
950
897
  try {
951
898
  t(a);
952
- } catch (u) {
953
- o(u), s.unsubscribe();
899
+ } catch (h) {
900
+ o(h), s.unsubscribe();
954
901
  }
955
902
  },
956
903
  error: o,
@@ -961,15 +908,15 @@ var Lt = function() {
961
908
  }, e.prototype._subscribe = function(t) {
962
909
  var r;
963
910
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
964
- }, e.prototype[_n] = function() {
911
+ }, e.prototype[on] = function() {
965
912
  return this;
966
913
  }, e.prototype.pipe = function() {
967
914
  for (var t = [], r = 0; r < arguments.length; r++)
968
915
  t[r] = arguments[r];
969
- return En(t)(this);
916
+ return an(t)(this);
970
917
  }, e.prototype.toPromise = function(t) {
971
918
  var r = this;
972
- return t = Nt(t), new t(function(n, i) {
919
+ return t = Ht(t), new t(function(n, i) {
973
920
  var o;
974
921
  r.subscribe(function(s) {
975
922
  return o = s;
@@ -983,42 +930,42 @@ var Lt = function() {
983
930
  return new e(t);
984
931
  }, e;
985
932
  }();
986
- function Nt(e) {
933
+ function Ht(e) {
987
934
  var t;
988
- return (t = e != null ? e : fr.Promise) !== null && t !== void 0 ? t : Promise;
935
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
989
936
  }
990
- function wn(e) {
991
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
937
+ function ln(e) {
938
+ return e && z(e.next) && z(e.error) && z(e.complete);
992
939
  }
993
- function Sn(e) {
994
- return e && e instanceof pr || wn(e) && cr(e);
940
+ function un(e) {
941
+ return e && e instanceof nr || ln(e) && rr(e);
995
942
  }
996
- var Tn = ur(function(e) {
943
+ var hn = er(function(e) {
997
944
  return function() {
998
945
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
999
946
  };
1000
- }), dr = function(e) {
1001
- J(t, e);
947
+ }), ir = function(e) {
948
+ Z(t, e);
1002
949
  function t() {
1003
950
  var r = e.call(this) || this;
1004
951
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1005
952
  }
1006
953
  return t.prototype.lift = function(r) {
1007
- var n = new Mt(this, this);
954
+ var n = new Pt(this, this);
1008
955
  return n.operator = r, n;
1009
956
  }, t.prototype._throwIfClosed = function() {
1010
957
  if (this.closed)
1011
- throw new Tn();
958
+ throw new hn();
1012
959
  }, t.prototype.next = function(r) {
1013
960
  var n = this;
1014
- Ne(function() {
961
+ Le(function() {
1015
962
  var i, o;
1016
963
  if (n._throwIfClosed(), !n.isStopped) {
1017
964
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1018
965
  try {
1019
- for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1020
- var u = a.value;
1021
- u.next(r);
966
+ for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
967
+ var h = a.value;
968
+ h.next(r);
1022
969
  }
1023
970
  } catch (l) {
1024
971
  i = { error: l };
@@ -1033,7 +980,7 @@ var Tn = ur(function(e) {
1033
980
  });
1034
981
  }, t.prototype.error = function(r) {
1035
982
  var n = this;
1036
- Ne(function() {
983
+ Le(function() {
1037
984
  if (n._throwIfClosed(), !n.isStopped) {
1038
985
  n.hasError = n.isStopped = !0, n.thrownError = r;
1039
986
  for (var i = n.observers; i.length; )
@@ -1042,7 +989,7 @@ var Tn = ur(function(e) {
1042
989
  });
1043
990
  }, t.prototype.complete = function() {
1044
991
  var r = this;
1045
- Ne(function() {
992
+ Le(function() {
1046
993
  if (r._throwIfClosed(), !r.isStopped) {
1047
994
  r.isStopped = !0;
1048
995
  for (var n = r.observers; n.length; )
@@ -1064,20 +1011,20 @@ var Tn = ur(function(e) {
1064
1011
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1065
1012
  }, t.prototype._innerSubscribe = function(r) {
1066
1013
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1067
- return o || s ? hr : (this.currentObservers = null, a.push(r), new Ge(function() {
1068
- n.currentObservers = null, at(a, r);
1014
+ return o || s ? tr : (this.currentObservers = null, a.push(r), new Ue(function() {
1015
+ n.currentObservers = null, it(a, r);
1069
1016
  }));
1070
1017
  }, t.prototype._checkFinalizedStatuses = function(r) {
1071
1018
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1072
1019
  i ? r.error(o) : s && r.complete();
1073
1020
  }, t.prototype.asObservable = function() {
1074
- var r = new Lt();
1021
+ var r = new Tt();
1075
1022
  return r.source = this, r;
1076
1023
  }, t.create = function(r, n) {
1077
- return new Mt(r, n);
1024
+ return new Pt(r, n);
1078
1025
  }, t;
1079
- }(Lt), Mt = function(e) {
1080
- J(t, e);
1026
+ }(Tt), Pt = function(e) {
1027
+ Z(t, e);
1081
1028
  function t(r, n) {
1082
1029
  var i = e.call(this) || this;
1083
1030
  return i.destination = r, i.source = n, i;
@@ -1093,230 +1040,232 @@ var Tn = ur(function(e) {
1093
1040
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1094
1041
  }, t.prototype._subscribe = function(r) {
1095
1042
  var n, i;
1096
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : hr;
1043
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1097
1044
  }, t;
1098
- }(dr), mr = {
1045
+ }(ir), or = {
1099
1046
  now: function() {
1100
- return (mr.delegate || Date).now();
1047
+ return (or.delegate || Date).now();
1101
1048
  },
1102
1049
  delegate: void 0
1103
- }, Hn = function(e) {
1104
- J(t, e);
1050
+ }, cn = function(e) {
1051
+ Z(t, e);
1105
1052
  function t(r, n, i) {
1106
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
1053
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1107
1054
  var o = e.call(this) || this;
1108
1055
  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;
1109
1056
  }
1110
1057
  return t.prototype.next = function(r) {
1111
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1112
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1058
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1059
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1113
1060
  }, t.prototype._subscribe = function(r) {
1114
1061
  this._throwIfClosed(), this._trimBuffer();
1115
- 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)
1116
- r.next(a[u]);
1062
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1063
+ r.next(a[h]);
1117
1064
  return this._checkFinalizedStatuses(r), n;
1118
1065
  }, t.prototype._trimBuffer = function() {
1119
1066
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1120
1067
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1121
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1122
- l = h;
1068
+ for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1069
+ l = u;
1123
1070
  l && o.splice(0, l + 1);
1124
1071
  }
1125
1072
  }, t;
1126
- }(dr);
1127
- const Rt = [], Dt = {}, An = (e, t = 0) => {
1128
- if (Rt.indexOf(e) == -1) {
1129
- const r = new Hn(t);
1130
- Dt[e] = r, Rt.push(e);
1073
+ }(ir);
1074
+ const At = [], Ct = {}, fn = (e, t = 0) => {
1075
+ if (At.indexOf(e) == -1) {
1076
+ const r = new cn(t);
1077
+ Ct[e] = r, At.push(e);
1131
1078
  }
1132
- return Dt[e];
1133
- }, ce = [];
1134
- function Pn(e, t) {
1079
+ return Ct[e];
1080
+ }, he = [];
1081
+ function dn(e, t) {
1135
1082
  return {
1136
- subscribe: ke(e, t).subscribe
1083
+ subscribe: Ge(e, t).subscribe
1137
1084
  };
1138
1085
  }
1139
- function ke(e, t = k) {
1086
+ function Ge(e, t = G) {
1140
1087
  let r;
1141
1088
  const n = /* @__PURE__ */ new Set();
1142
1089
  function i(a) {
1143
- if (nr(e, a) && (e = a, r)) {
1144
- const u = !ce.length;
1090
+ if (Zt(e, a) && (e = a, r)) {
1091
+ const h = !he.length;
1145
1092
  for (const l of n)
1146
- l[1](), ce.push(l, e);
1147
- if (u) {
1148
- for (let l = 0; l < ce.length; l += 2)
1149
- ce[l][0](ce[l + 1]);
1150
- ce.length = 0;
1093
+ l[1](), he.push(l, e);
1094
+ if (h) {
1095
+ for (let l = 0; l < he.length; l += 2)
1096
+ he[l][0](he[l + 1]);
1097
+ he.length = 0;
1151
1098
  }
1152
1099
  }
1153
1100
  }
1154
1101
  function o(a) {
1155
1102
  i(a(e));
1156
1103
  }
1157
- function s(a, u = k) {
1158
- const l = [a, u];
1159
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1104
+ function s(a, h = G) {
1105
+ const l = [a, h];
1106
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1160
1107
  n.delete(l), n.size === 0 && r && (r(), r = null);
1161
1108
  };
1162
1109
  }
1163
1110
  return { set: i, update: o, subscribe: s };
1164
1111
  }
1165
- function ve(e, t, r) {
1112
+ function ye(e, t, r) {
1166
1113
  const n = !Array.isArray(e), i = n ? [e] : e;
1167
1114
  if (!i.every(Boolean))
1168
1115
  throw new Error("derived() expects stores as input, got a falsy value");
1169
1116
  const o = t.length < 2;
1170
- return Pn(r, (s, a) => {
1171
- let u = !1;
1117
+ return dn(r, (s, a) => {
1118
+ let h = !1;
1172
1119
  const l = [];
1173
- let h = 0, p = k;
1120
+ let u = 0, d = G;
1174
1121
  const c = () => {
1175
- if (h)
1122
+ if (u)
1176
1123
  return;
1177
- p();
1124
+ d();
1178
1125
  const b = t(n ? l[0] : l, s, a);
1179
- o ? s(b) : p = gt(b) ? b : k;
1126
+ o ? s(b) : d = pt(b) ? b : G;
1180
1127
  }, m = i.map(
1181
- (b, _) => ir(
1128
+ (b, _) => Jt(
1182
1129
  b,
1183
1130
  (T) => {
1184
- l[_] = T, h &= ~(1 << _), u && c();
1131
+ l[_] = T, u &= ~(1 << _), h && c();
1185
1132
  },
1186
1133
  () => {
1187
- h |= 1 << _;
1134
+ u |= 1 << _;
1188
1135
  }
1189
1136
  )
1190
1137
  );
1191
- return u = !0, c(), function() {
1192
- K(m), p(), u = !1;
1138
+ return h = !0, c(), function() {
1139
+ Y(m), d(), h = !1;
1193
1140
  };
1194
1141
  });
1195
1142
  }
1196
- function Cn(e) {
1197
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1143
+ function pn(e) {
1144
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1198
1145
  }
1199
- var Fn = function(t) {
1200
- return Bn(t) && !In(t);
1146
+ var mn = function(t) {
1147
+ return bn(t) && !gn(t);
1201
1148
  };
1202
- function Bn(e) {
1149
+ function bn(e) {
1203
1150
  return !!e && typeof e == "object";
1204
1151
  }
1205
- function In(e) {
1152
+ function gn(e) {
1206
1153
  var t = Object.prototype.toString.call(e);
1207
- return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1154
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1208
1155
  }
1209
- var On = typeof Symbol == "function" && Symbol.for, Ln = On ? Symbol.for("react.element") : 60103;
1210
- function Nn(e) {
1211
- return e.$$typeof === Ln;
1156
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
1157
+ function _n(e) {
1158
+ return e.$$typeof === vn;
1212
1159
  }
1213
- function Mn(e) {
1160
+ function xn(e) {
1214
1161
  return Array.isArray(e) ? [] : {};
1215
1162
  }
1216
- function He(e, t) {
1217
- return t.clone !== !1 && t.isMergeableObject(e) ? me(Mn(e), e, t) : e;
1163
+ function Te(e, t) {
1164
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(xn(e), e, t) : e;
1218
1165
  }
1219
- function Rn(e, t, r) {
1166
+ function En(e, t, r) {
1220
1167
  return e.concat(t).map(function(n) {
1221
- return He(n, r);
1168
+ return Te(n, r);
1222
1169
  });
1223
1170
  }
1224
- function Dn(e, t) {
1171
+ function wn(e, t) {
1225
1172
  if (!t.customMerge)
1226
- return me;
1173
+ return pe;
1227
1174
  var r = t.customMerge(e);
1228
- return typeof r == "function" ? r : me;
1175
+ return typeof r == "function" ? r : pe;
1229
1176
  }
1230
- function $n(e) {
1177
+ function Sn(e) {
1231
1178
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1232
1179
  return Object.propertyIsEnumerable.call(e, t);
1233
1180
  }) : [];
1234
1181
  }
1235
- function $t(e) {
1236
- return Object.keys(e).concat($n(e));
1182
+ function Ft(e) {
1183
+ return Object.keys(e).concat(Sn(e));
1237
1184
  }
1238
- function br(e, t) {
1185
+ function sr(e, t) {
1239
1186
  try {
1240
1187
  return t in e;
1241
- } catch (r) {
1188
+ } catch {
1242
1189
  return !1;
1243
1190
  }
1244
1191
  }
1245
- function Un(e, t) {
1246
- return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1192
+ function Tn(e, t) {
1193
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1247
1194
  }
1248
- function Gn(e, t, r) {
1195
+ function Hn(e, t, r) {
1249
1196
  var n = {};
1250
- return r.isMergeableObject(e) && $t(e).forEach(function(i) {
1251
- n[i] = He(e[i], r);
1252
- }), $t(t).forEach(function(i) {
1253
- Un(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1197
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1198
+ n[i] = Te(e[i], r);
1199
+ }), Ft(t).forEach(function(i) {
1200
+ Tn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1254
1201
  }), n;
1255
1202
  }
1256
- function me(e, t, r) {
1257
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = He;
1203
+ function pe(e, t, r) {
1204
+ r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = Te;
1258
1205
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1259
- return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : He(t, r);
1206
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : Te(t, r);
1260
1207
  }
1261
- me.all = function(t, r) {
1208
+ pe.all = function(t, r) {
1262
1209
  if (!Array.isArray(t))
1263
1210
  throw new Error("first argument should be an array");
1264
1211
  return t.reduce(function(n, i) {
1265
- return me(n, i, r);
1212
+ return pe(n, i, r);
1266
1213
  }, {});
1267
1214
  };
1268
- var kn = me, jn = kn;
1269
- const Vn = /* @__PURE__ */ Cn(jn);
1270
- function Qe(e, t) {
1271
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Wn;
1215
+ var Pn = pe, An = Pn;
1216
+ const Cn = /* @__PURE__ */ pn(An);
1217
+ function ze(e, t) {
1218
+ var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Bn;
1272
1219
  return i(e, {
1273
1220
  cache: r,
1274
1221
  serializer: n
1275
1222
  });
1276
1223
  }
1277
- function Xn(e) {
1224
+ function Fn(e) {
1278
1225
  return e == null || typeof e == "number" || typeof e == "boolean";
1279
1226
  }
1280
- function gr(e, t, r, n) {
1281
- var i = Xn(n) ? n : r(n), o = t.get(i);
1282
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1227
+ function ar(e, t, r, n) {
1228
+ var i = Fn(n) ? n : r(n), o = t.get(i);
1229
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1283
1230
  }
1284
- function yr(e, t, r) {
1231
+ function lr(e, t, r) {
1285
1232
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1286
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1233
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1287
1234
  }
1288
- function yt(e, t, r, n, i) {
1235
+ function mt(e, t, r, n, i) {
1289
1236
  return r.bind(t, e, n, i);
1290
1237
  }
1291
- function Wn(e, t) {
1292
- var r = e.length === 1 ? gr : yr;
1293
- return yt(e, this, r, t.cache.create(), t.serializer);
1238
+ function Bn(e, t) {
1239
+ var r = e.length === 1 ? ar : lr;
1240
+ return mt(e, this, r, t.cache.create(), t.serializer);
1294
1241
  }
1295
- function zn(e, t) {
1296
- return yt(e, this, yr, t.cache.create(), t.serializer);
1242
+ function On(e, t) {
1243
+ return mt(e, this, lr, t.cache.create(), t.serializer);
1297
1244
  }
1298
- function Zn(e, t) {
1299
- return yt(e, this, gr, t.cache.create(), t.serializer);
1245
+ function In(e, t) {
1246
+ return mt(e, this, ar, t.cache.create(), t.serializer);
1300
1247
  }
1301
- var Jn = function() {
1248
+ var Ln = function() {
1302
1249
  return JSON.stringify(arguments);
1303
- };
1304
- function vt() {
1305
- this.cache = /* @__PURE__ */ Object.create(null);
1306
- }
1307
- vt.prototype.get = function(e) {
1308
- return this.cache[e];
1309
- };
1310
- vt.prototype.set = function(e, t) {
1311
- this.cache[e] = t;
1312
- };
1313
- var Qn = {
1250
+ }, Nn = (
1251
+ /** @class */
1252
+ function() {
1253
+ function e() {
1254
+ this.cache = /* @__PURE__ */ Object.create(null);
1255
+ }
1256
+ return e.prototype.get = function(t) {
1257
+ return this.cache[t];
1258
+ }, e.prototype.set = function(t, r) {
1259
+ this.cache[t] = r;
1260
+ }, e;
1261
+ }()
1262
+ ), Mn = {
1314
1263
  create: function() {
1315
- return new vt();
1264
+ return new Nn();
1316
1265
  }
1317
- }, qe = {
1318
- variadic: zn,
1319
- monadic: Zn
1266
+ }, Ze = {
1267
+ variadic: On,
1268
+ monadic: In
1320
1269
  }, x;
1321
1270
  (function(e) {
1322
1271
  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";
@@ -1325,47 +1274,47 @@ var B;
1325
1274
  (function(e) {
1326
1275
  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";
1327
1276
  })(B || (B = {}));
1328
- var be;
1277
+ var me;
1329
1278
  (function(e) {
1330
1279
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1331
- })(be || (be = {}));
1332
- function Ut(e) {
1280
+ })(me || (me = {}));
1281
+ function Bt(e) {
1333
1282
  return e.type === B.literal;
1334
1283
  }
1335
- function qn(e) {
1284
+ function Rn(e) {
1336
1285
  return e.type === B.argument;
1337
1286
  }
1338
- function vr(e) {
1287
+ function ur(e) {
1339
1288
  return e.type === B.number;
1340
1289
  }
1341
- function _r(e) {
1290
+ function hr(e) {
1342
1291
  return e.type === B.date;
1343
1292
  }
1344
- function xr(e) {
1293
+ function cr(e) {
1345
1294
  return e.type === B.time;
1346
1295
  }
1347
- function Er(e) {
1296
+ function fr(e) {
1348
1297
  return e.type === B.select;
1349
1298
  }
1350
- function wr(e) {
1299
+ function dr(e) {
1351
1300
  return e.type === B.plural;
1352
1301
  }
1353
- function Yn(e) {
1302
+ function Dn(e) {
1354
1303
  return e.type === B.pound;
1355
1304
  }
1356
- function Sr(e) {
1305
+ function pr(e) {
1357
1306
  return e.type === B.tag;
1358
1307
  }
1359
- function Tr(e) {
1360
- return !!(e && typeof e == "object" && e.type === be.number);
1308
+ function mr(e) {
1309
+ return !!(e && typeof e == "object" && e.type === me.number);
1361
1310
  }
1362
- function ut(e) {
1363
- return !!(e && typeof e == "object" && e.type === be.dateTime);
1311
+ function st(e) {
1312
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1364
1313
  }
1365
- var Hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1366
- function ei(e) {
1314
+ var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1315
+ function Un(e) {
1367
1316
  var t = {};
1368
- return e.replace(Kn, function(r) {
1317
+ return e.replace($n, function(r) {
1369
1318
  var n = r.length;
1370
1319
  switch (r[0]) {
1371
1320
  case "G":
@@ -1454,36 +1403,36 @@ function ei(e) {
1454
1403
  return "";
1455
1404
  }), t;
1456
1405
  }
1457
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1458
- function ri(e) {
1406
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1407
+ function kn(e) {
1459
1408
  if (e.length === 0)
1460
1409
  throw new Error("Number skeleton cannot be empty");
1461
- for (var t = e.split(ti).filter(function(c) {
1410
+ for (var t = e.split(Gn).filter(function(c) {
1462
1411
  return c.length > 0;
1463
1412
  }), r = [], n = 0, i = t; n < i.length; n++) {
1464
1413
  var o = i[n], s = o.split("/");
1465
1414
  if (s.length === 0)
1466
1415
  throw new Error("Invalid number skeleton");
1467
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1468
- var p = h[l];
1469
- if (p.length === 0)
1416
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1417
+ var d = u[l];
1418
+ if (d.length === 0)
1470
1419
  throw new Error("Invalid number skeleton");
1471
1420
  }
1472
- r.push({ stem: a, options: u });
1421
+ r.push({ stem: a, options: h });
1473
1422
  }
1474
1423
  return r;
1475
1424
  }
1476
- function ni(e) {
1425
+ function jn(e) {
1477
1426
  return e.replace(/^(.*?)-/, "");
1478
1427
  }
1479
- var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ar = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
1480
- function kt(e) {
1428
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1429
+ function It(e) {
1481
1430
  var t = {};
1482
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ar, function(r, n, i) {
1431
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1483
1432
  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)), "";
1484
1433
  }), t;
1485
1434
  }
1486
- function Cr(e) {
1435
+ function vr(e) {
1487
1436
  switch (e) {
1488
1437
  case "sign-auto":
1489
1438
  return {
@@ -1523,7 +1472,7 @@ function Cr(e) {
1523
1472
  };
1524
1473
  }
1525
1474
  }
1526
- function oi(e) {
1475
+ function Xn(e) {
1527
1476
  var t;
1528
1477
  if (e[0] === "E" && e[1] === "E" ? (t = {
1529
1478
  notation: "engineering"
@@ -1531,17 +1480,17 @@ function oi(e) {
1531
1480
  notation: "scientific"
1532
1481
  }, e = e.slice(1)), t) {
1533
1482
  var r = e.slice(0, 2);
1534
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
1483
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1535
1484
  throw new Error("Malformed concise eng/scientific notation");
1536
1485
  t.minimumIntegerDigits = e.length;
1537
1486
  }
1538
1487
  return t;
1539
1488
  }
1540
- function jt(e) {
1541
- var t = {}, r = Cr(e);
1489
+ function Lt(e) {
1490
+ var t = {}, r = vr(e);
1542
1491
  return r || t;
1543
1492
  }
1544
- function si(e) {
1493
+ function Wn(e) {
1545
1494
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1546
1495
  var i = n[r];
1547
1496
  switch (i.stem) {
@@ -1565,7 +1514,7 @@ function si(e) {
1565
1514
  continue;
1566
1515
  case "measure-unit":
1567
1516
  case "unit":
1568
- t.style = "unit", t.unit = ni(i.options[0]);
1517
+ t.style = "unit", t.unit = jn(i.options[0]);
1569
1518
  continue;
1570
1519
  case "compact-short":
1571
1520
  case "K":
@@ -1576,13 +1525,13 @@ function si(e) {
1576
1525
  t.notation = "compact", t.compactDisplay = "long";
1577
1526
  continue;
1578
1527
  case "scientific":
1579
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1580
- return S(S({}, u), jt(l));
1528
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1529
+ return S(S({}, h), Lt(l));
1581
1530
  }, {}));
1582
1531
  continue;
1583
1532
  case "engineering":
1584
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1585
- return S(S({}, u), jt(l));
1533
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1534
+ return S(S({}, h), Lt(l));
1586
1535
  }, {}));
1587
1536
  continue;
1588
1537
  case "notation-simple":
@@ -1627,11 +1576,11 @@ function si(e) {
1627
1576
  case "integer-width":
1628
1577
  if (i.options.length > 1)
1629
1578
  throw new RangeError("integer-width stems only accept a single optional option");
1630
- i.options[0].replace(ii, function(u, l, h, p, c, m) {
1579
+ i.options[0].replace(Vn, function(h, l, u, d, c, m) {
1631
1580
  if (l)
1632
- t.minimumIntegerDigits = h.length;
1581
+ t.minimumIntegerDigits = u.length;
1633
1582
  else {
1634
- if (p && c)
1583
+ if (d && c)
1635
1584
  throw new Error("We currently do not support maximum integer digits");
1636
1585
  if (m)
1637
1586
  throw new Error("We currently do not support exact integer digits");
@@ -1640,27 +1589,27 @@ function si(e) {
1640
1589
  });
1641
1590
  continue;
1642
1591
  }
1643
- if (Pr.test(i.stem)) {
1592
+ if (yr.test(i.stem)) {
1644
1593
  t.minimumIntegerDigits = i.stem.length;
1645
1594
  continue;
1646
1595
  }
1647
- if (Gt.test(i.stem)) {
1596
+ if (Ot.test(i.stem)) {
1648
1597
  if (i.options.length > 1)
1649
1598
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1650
- i.stem.replace(Gt, function(u, l, h, p, c, m) {
1651
- 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), "";
1599
+ i.stem.replace(Ot, function(h, l, u, d, c, m) {
1600
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1652
1601
  });
1653
1602
  var o = i.options[0];
1654
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), kt(o)));
1603
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), It(o)));
1655
1604
  continue;
1656
1605
  }
1657
- if (Ar.test(i.stem)) {
1658
- t = S(S({}, t), kt(i.stem));
1606
+ if (gr.test(i.stem)) {
1607
+ t = S(S({}, t), It(i.stem));
1659
1608
  continue;
1660
1609
  }
1661
- var s = Cr(i.stem);
1610
+ var s = vr(i.stem);
1662
1611
  s && (t = S(S({}, t), s));
1663
- var a = oi(i.stem);
1612
+ var a = Xn(i.stem);
1664
1613
  a && (t = S(S({}, t), a));
1665
1614
  }
1666
1615
  return t;
@@ -3080,22 +3029,22 @@ var Oe = {
3080
3029
  "h"
3081
3030
  ]
3082
3031
  };
3083
- function ai(e, t) {
3032
+ function zn(e, t) {
3084
3033
  for (var r = "", n = 0; n < e.length; n++) {
3085
3034
  var i = e.charAt(n);
3086
3035
  if (i === "j") {
3087
3036
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3088
3037
  o++, n++;
3089
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = li(t);
3038
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Zn(t);
3090
3039
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3091
- r += u;
3040
+ r += h;
3092
3041
  for (; s-- > 0; )
3093
3042
  r = l + r;
3094
3043
  } else i === "J" ? r += "H" : r += i;
3095
3044
  }
3096
3045
  return r;
3097
3046
  }
3098
- function li(e) {
3047
+ function Zn(e) {
3099
3048
  var t = e.hourCycle;
3100
3049
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3101
3050
  e.hourCycles && // @ts-ignore
@@ -3117,20 +3066,20 @@ function li(e) {
3117
3066
  var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3118
3067
  return i[0];
3119
3068
  }
3120
- var Ye, ui = new RegExp("^".concat(Hr.source, "*")), hi = new RegExp("".concat(Hr.source, "*$"));
3069
+ var Je, Jn = new RegExp("^".concat(br.source, "*")), Qn = new RegExp("".concat(br.source, "*$"));
3121
3070
  function w(e, t) {
3122
3071
  return { start: e, end: t };
3123
3072
  }
3124
- var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, pi = !!Object.fromEntries, di = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3073
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3125
3074
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3126
- }, ht = !0;
3075
+ }, at = !0;
3127
3076
  try {
3128
- var vi = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3129
- ht = ((Ye = vi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3130
- } catch (e) {
3131
- ht = !1;
3077
+ var oi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3078
+ at = ((Je = oi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3079
+ } catch {
3080
+ at = !1;
3132
3081
  }
3133
- var Vt = ci ? (
3082
+ var Nt = qn ? (
3134
3083
  // Native
3135
3084
  function(t, r, n) {
3136
3085
  return t.startsWith(r, n);
@@ -3140,7 +3089,7 @@ var Vt = ci ? (
3140
3089
  function(t, r, n) {
3141
3090
  return t.slice(n, n + r.length) === r;
3142
3091
  }
3143
- ), ct = fi ? String.fromCodePoint : (
3092
+ ), lt = Yn ? String.fromCodePoint : (
3144
3093
  // IE11
3145
3094
  function() {
3146
3095
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3152,9 +3101,9 @@ var Vt = ci ? (
3152
3101
  }
3153
3102
  return n;
3154
3103
  }
3155
- ), Xt = (
3104
+ ), Mt = (
3156
3105
  // native
3157
- pi ? Object.fromEntries : (
3106
+ Kn ? Object.fromEntries : (
3158
3107
  // Ponyfill
3159
3108
  function(t) {
3160
3109
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3164,7 +3113,7 @@ var Vt = ci ? (
3164
3113
  return r;
3165
3114
  }
3166
3115
  )
3167
- ), Fr = di ? (
3116
+ ), _r = ei ? (
3168
3117
  // Native
3169
3118
  function(t, r) {
3170
3119
  return t.codePointAt(r);
@@ -3178,7 +3127,7 @@ var Vt = ci ? (
3178
3127
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3179
3128
  }
3180
3129
  }
3181
- ), _i = mi ? (
3130
+ ), si = ti ? (
3182
3131
  // Native
3183
3132
  function(t) {
3184
3133
  return t.trimStart();
@@ -3186,9 +3135,9 @@ var Vt = ci ? (
3186
3135
  ) : (
3187
3136
  // Ponyfill
3188
3137
  function(t) {
3189
- return t.replace(ui, "");
3138
+ return t.replace(Jn, "");
3190
3139
  }
3191
- ), xi = bi ? (
3140
+ ), ai = ri ? (
3192
3141
  // Native
3193
3142
  function(t) {
3194
3143
  return t.trimEnd();
@@ -3196,32 +3145,32 @@ var Vt = ci ? (
3196
3145
  ) : (
3197
3146
  // Ponyfill
3198
3147
  function(t) {
3199
- return t.replace(hi, "");
3148
+ return t.replace(Qn, "");
3200
3149
  }
3201
3150
  );
3202
- function Br(e, t) {
3151
+ function xr(e, t) {
3203
3152
  return new RegExp(e, t);
3204
3153
  }
3205
- var ft;
3206
- if (ht) {
3207
- var Wt = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3208
- ft = function(t, r) {
3154
+ var ut;
3155
+ if (at) {
3156
+ var Rt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3157
+ ut = function(t, r) {
3209
3158
  var n;
3210
- Wt.lastIndex = r;
3211
- var i = Wt.exec(t);
3159
+ Rt.lastIndex = r;
3160
+ var i = Rt.exec(t);
3212
3161
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3213
3162
  };
3214
3163
  } else
3215
- ft = function(t, r) {
3164
+ ut = function(t, r) {
3216
3165
  for (var n = []; ; ) {
3217
- var i = Fr(t, r);
3218
- if (i === void 0 || Ir(i) || Ti(i))
3166
+ var i = _r(t, r);
3167
+ if (i === void 0 || Er(i) || ci(i))
3219
3168
  break;
3220
3169
  n.push(i), r += i >= 65536 ? 2 : 1;
3221
3170
  }
3222
- return ct.apply(void 0, n);
3171
+ return lt.apply(void 0, n);
3223
3172
  };
3224
- var Ei = (
3173
+ var li = (
3225
3174
  /** @class */
3226
3175
  function() {
3227
3176
  function e(t, r) {
@@ -3252,7 +3201,7 @@ var Ei = (
3252
3201
  if (n)
3253
3202
  break;
3254
3203
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3255
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3204
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3256
3205
  var s = this.parseTag(t, r);
3257
3206
  if (s.err)
3258
3207
  return s;
@@ -3285,10 +3234,10 @@ var Ei = (
3285
3234
  return o;
3286
3235
  var s = o.val, a = this.clonePosition();
3287
3236
  if (this.bumpIf("</")) {
3288
- if (this.isEOF() || !pt(this.char()))
3237
+ if (this.isEOF() || !ht(this.char()))
3289
3238
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3290
- var u = this.clonePosition(), l = this.parseTagName();
3291
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3239
+ var h = this.clonePosition(), l = this.parseTagName();
3240
+ return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3292
3241
  val: {
3293
3242
  type: B.tag,
3294
3243
  value: i,
@@ -3303,7 +3252,7 @@ var Ei = (
3303
3252
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3304
3253
  }, e.prototype.parseTagName = function() {
3305
3254
  var t = this.offset();
3306
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3255
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3307
3256
  this.bump();
3308
3257
  return this.message.slice(t, this.offset());
3309
3258
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3325,14 +3274,14 @@ var Ei = (
3325
3274
  }
3326
3275
  break;
3327
3276
  }
3328
- var u = w(n, this.clonePosition());
3277
+ var h = w(n, this.clonePosition());
3329
3278
  return {
3330
- val: { type: B.literal, value: i, location: u },
3279
+ val: { type: B.literal, value: i, location: h },
3331
3280
  err: null
3332
3281
  };
3333
3282
  }, e.prototype.tryParseLeftAngleBracket = function() {
3334
3283
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3335
- !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3284
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3336
3285
  }, e.prototype.tryParseQuote = function(t) {
3337
3286
  if (this.isEOF() || this.char() !== 39)
3338
3287
  return null;
@@ -3366,12 +3315,12 @@ var Ei = (
3366
3315
  r.push(n);
3367
3316
  this.bump();
3368
3317
  }
3369
- return ct.apply(void 0, r);
3318
+ return lt.apply(void 0, r);
3370
3319
  }, e.prototype.tryParseUnquoted = function(t, r) {
3371
3320
  if (this.isEOF())
3372
3321
  return null;
3373
3322
  var n = this.char();
3374
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
3323
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3375
3324
  }, e.prototype.parseArgument = function(t, r) {
3376
3325
  var n = this.clonePosition();
3377
3326
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3400,15 +3349,15 @@ var Ei = (
3400
3349
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3401
3350
  }
3402
3351
  }, e.prototype.parseIdentifierIfPossible = function() {
3403
- var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
3352
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3404
3353
  this.bumpTo(i);
3405
3354
  var o = this.clonePosition(), s = w(t, o);
3406
3355
  return { value: n, location: s };
3407
3356
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3408
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3357
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3409
3358
  switch (a) {
3410
3359
  case "":
3411
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
3360
+ return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, h));
3412
3361
  case "number":
3413
3362
  case "date":
3414
3363
  case "time": {
@@ -3416,37 +3365,37 @@ var Ei = (
3416
3365
  var l = null;
3417
3366
  if (this.bumpIf(",")) {
3418
3367
  this.bumpSpace();
3419
- var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3420
- if (p.err)
3421
- return p;
3422
- var c = xi(p.val);
3368
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3369
+ if (d.err)
3370
+ return d;
3371
+ var c = ai(d.val);
3423
3372
  if (c.length === 0)
3424
3373
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3425
- var m = w(h, this.clonePosition());
3374
+ var m = w(u, this.clonePosition());
3426
3375
  l = { style: c, styleLocation: m };
3427
3376
  }
3428
3377
  var b = this.tryParseArgumentClose(i);
3429
3378
  if (b.err)
3430
3379
  return b;
3431
3380
  var _ = w(i, this.clonePosition());
3432
- if (l && Vt(l == null ? void 0 : l.style, "::", 0)) {
3433
- var T = _i(l.style.slice(2));
3381
+ if (l && Nt(l?.style, "::", 0)) {
3382
+ var T = si(l.style.slice(2));
3434
3383
  if (a === "number") {
3435
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3436
- return p.err ? p : {
3437
- val: { type: B.number, value: n, location: _, style: p.val },
3384
+ var d = this.parseNumberSkeletonFromString(T, l.styleLocation);
3385
+ return d.err ? d : {
3386
+ val: { type: B.number, value: n, location: _, style: d.val },
3438
3387
  err: null
3439
3388
  };
3440
3389
  } else {
3441
3390
  if (T.length === 0)
3442
3391
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3443
3392
  var y = T;
3444
- this.locale && (y = ai(T, this.locale));
3393
+ this.locale && (y = zn(T, this.locale));
3445
3394
  var c = {
3446
- type: be.dateTime,
3395
+ type: me.dateTime,
3447
3396
  pattern: y,
3448
3397
  location: l.styleLocation,
3449
- parsedOptions: this.shouldParseSkeletons ? ei(y) : {}
3398
+ parsedOptions: this.shouldParseSkeletons ? Un(y) : {}
3450
3399
  }, H = a === "date" ? B.date : B.time;
3451
3400
  return {
3452
3401
  val: { type: H, value: n, location: _, style: c },
@@ -3459,7 +3408,7 @@ var Ei = (
3459
3408
  type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3460
3409
  value: n,
3461
3410
  location: _,
3462
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3411
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3463
3412
  },
3464
3413
  err: null
3465
3414
  };
@@ -3476,40 +3425,40 @@ var Ei = (
3476
3425
  if (!this.bumpIf(":"))
3477
3426
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3478
3427
  this.bumpSpace();
3479
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3480
- if (p.err)
3481
- return p;
3482
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = p.val;
3428
+ var d = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3429
+ if (d.err)
3430
+ return d;
3431
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = d.val;
3483
3432
  }
3484
- var I = this.tryParsePluralOrSelectOptions(t, a, r, N);
3485
- if (I.err)
3486
- return I;
3433
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
3434
+ if (O.err)
3435
+ return O;
3487
3436
  var b = this.tryParseArgumentClose(i);
3488
3437
  if (b.err)
3489
3438
  return b;
3490
- var P = w(i, this.clonePosition());
3439
+ var A = w(i, this.clonePosition());
3491
3440
  return a === "select" ? {
3492
3441
  val: {
3493
3442
  type: B.select,
3494
3443
  value: n,
3495
- options: Xt(I.val),
3496
- location: P
3444
+ options: Mt(O.val),
3445
+ location: A
3497
3446
  },
3498
3447
  err: null
3499
3448
  } : {
3500
3449
  val: {
3501
3450
  type: B.plural,
3502
3451
  value: n,
3503
- options: Xt(I.val),
3452
+ options: Mt(O.val),
3504
3453
  offset: L,
3505
3454
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3506
- location: P
3455
+ location: A
3507
3456
  },
3508
3457
  err: null
3509
3458
  };
3510
3459
  }
3511
3460
  default:
3512
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, u));
3461
+ return this.error(x.INVALID_ARGUMENT_TYPE, w(s, h));
3513
3462
  }
3514
3463
  }, e.prototype.tryParseArgumentClose = function(t) {
3515
3464
  return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3551,33 +3500,33 @@ var Ei = (
3551
3500
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3552
3501
  var n = [];
3553
3502
  try {
3554
- n = ri(t);
3555
- } catch (i) {
3503
+ n = kn(t);
3504
+ } catch {
3556
3505
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3557
3506
  }
3558
3507
  return {
3559
3508
  val: {
3560
- type: be.number,
3509
+ type: me.number,
3561
3510
  tokens: n,
3562
3511
  location: r,
3563
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3512
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3564
3513
  },
3565
3514
  err: null
3566
3515
  };
3567
3516
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3568
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3517
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3569
3518
  if (l.length === 0) {
3570
- var p = this.clonePosition();
3519
+ var d = this.clonePosition();
3571
3520
  if (r !== "select" && this.bumpIf("=")) {
3572
3521
  var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3573
3522
  if (c.err)
3574
3523
  return c;
3575
- h = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3524
+ u = w(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3576
3525
  } else
3577
3526
  break;
3578
3527
  }
3579
- if (u.has(l))
3580
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3528
+ if (h.has(l))
3529
+ return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3581
3530
  l === "other" && (s = !0), this.bumpSpace();
3582
3531
  var m = this.clonePosition();
3583
3532
  if (!this.bumpIf("{"))
@@ -3594,7 +3543,7 @@ var Ei = (
3594
3543
  value: b.val,
3595
3544
  location: w(m, this.clonePosition())
3596
3545
  }
3597
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3546
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3598
3547
  }
3599
3548
  return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3600
3549
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3607,8 +3556,8 @@ var Ei = (
3607
3556
  else
3608
3557
  break;
3609
3558
  }
3610
- var u = w(i, this.clonePosition());
3611
- return o ? (s *= n, yi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3559
+ var h = w(i, this.clonePosition());
3560
+ return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3612
3561
  }, e.prototype.offset = function() {
3613
3562
  return this.position.offset;
3614
3563
  }, e.prototype.isEOF = function() {
@@ -3623,7 +3572,7 @@ var Ei = (
3623
3572
  var t = this.position.offset;
3624
3573
  if (t >= this.message.length)
3625
3574
  throw Error("out of bound");
3626
- var r = Fr(this.message, t);
3575
+ var r = _r(this.message, t);
3627
3576
  if (r === void 0)
3628
3577
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3629
3578
  return r;
@@ -3642,7 +3591,7 @@ var Ei = (
3642
3591
  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);
3643
3592
  }
3644
3593
  }, e.prototype.bumpIf = function(t) {
3645
- if (Vt(this.message, t, this.offset())) {
3594
+ if (Nt(this.message, t, this.offset())) {
3646
3595
  for (var r = 0; r < t.length; r++)
3647
3596
  this.bump();
3648
3597
  return !0;
@@ -3664,56 +3613,56 @@ var Ei = (
3664
3613
  break;
3665
3614
  }
3666
3615
  }, e.prototype.bumpSpace = function() {
3667
- for (; !this.isEOF() && Ir(this.char()); )
3616
+ for (; !this.isEOF() && Er(this.char()); )
3668
3617
  this.bump();
3669
3618
  }, e.prototype.peek = function() {
3670
3619
  if (this.isEOF())
3671
3620
  return null;
3672
3621
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3673
- return n != null ? n : null;
3622
+ return n ?? null;
3674
3623
  }, e;
3675
3624
  }()
3676
3625
  );
3677
- function pt(e) {
3626
+ function ht(e) {
3678
3627
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3679
3628
  }
3680
- function wi(e) {
3681
- return pt(e) || e === 47;
3629
+ function ui(e) {
3630
+ return ht(e) || e === 47;
3682
3631
  }
3683
- function Si(e) {
3632
+ function hi(e) {
3684
3633
  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;
3685
3634
  }
3686
- function Ir(e) {
3635
+ function Er(e) {
3687
3636
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3688
3637
  }
3689
- function Ti(e) {
3638
+ function ci(e) {
3690
3639
  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;
3691
3640
  }
3692
- function dt(e) {
3641
+ function ct(e) {
3693
3642
  e.forEach(function(t) {
3694
- if (delete t.location, Er(t) || wr(t))
3643
+ if (delete t.location, fr(t) || dr(t))
3695
3644
  for (var r in t.options)
3696
- delete t.options[r].location, dt(t.options[r].value);
3697
- else vr(t) && Tr(t.style) || (_r(t) || xr(t)) && ut(t.style) ? delete t.style.location : Sr(t) && dt(t.children);
3645
+ delete t.options[r].location, ct(t.options[r].value);
3646
+ else ur(t) && mr(t.style) || (hr(t) || cr(t)) && st(t.style) ? delete t.style.location : pr(t) && ct(t.children);
3698
3647
  });
3699
3648
  }
3700
- function Hi(e, t) {
3649
+ function fi(e, t) {
3701
3650
  t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3702
- var r = new Ei(e, t).parse();
3651
+ var r = new li(e, t).parse();
3703
3652
  if (r.err) {
3704
3653
  var n = SyntaxError(x[r.err.kind]);
3705
3654
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3706
3655
  }
3707
- return t != null && t.captureLocation || dt(r.val), r.val;
3656
+ return t?.captureLocation || ct(r.val), r.val;
3708
3657
  }
3709
- var ge;
3658
+ var be;
3710
3659
  (function(e) {
3711
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3712
- })(ge || (ge = {}));
3713
- var je = (
3661
+ })(be || (be = {}));
3662
+ var ke = (
3714
3663
  /** @class */
3715
3664
  function(e) {
3716
- J(t, e);
3665
+ Z(t, e);
3717
3666
  function t(r, n, i) {
3718
3667
  var o = e.call(this, r) || this;
3719
3668
  return o.code = n, o.originalMessage = i, o;
@@ -3722,155 +3671,155 @@ var je = (
3722
3671
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3723
3672
  }, t;
3724
3673
  }(Error)
3725
- ), zt = (
3674
+ ), Dt = (
3726
3675
  /** @class */
3727
3676
  function(e) {
3728
- J(t, e);
3677
+ Z(t, e);
3729
3678
  function t(r, n, i, o) {
3730
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ge.INVALID_VALUE, o) || this;
3679
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3731
3680
  }
3732
3681
  return t;
3733
- }(je)
3734
- ), Ai = (
3682
+ }(ke)
3683
+ ), di = (
3735
3684
  /** @class */
3736
3685
  function(e) {
3737
- J(t, e);
3686
+ Z(t, e);
3738
3687
  function t(r, n, i) {
3739
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ge.INVALID_VALUE, i) || this;
3688
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3740
3689
  }
3741
3690
  return t;
3742
- }(je)
3743
- ), Pi = (
3691
+ }(ke)
3692
+ ), pi = (
3744
3693
  /** @class */
3745
3694
  function(e) {
3746
- J(t, e);
3695
+ Z(t, e);
3747
3696
  function t(r, n) {
3748
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ge.MISSING_VALUE, n) || this;
3697
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3749
3698
  }
3750
3699
  return t;
3751
- }(je)
3752
- ), D;
3700
+ }(ke)
3701
+ ), R;
3753
3702
  (function(e) {
3754
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3755
- })(D || (D = {}));
3756
- function Ci(e) {
3704
+ })(R || (R = {}));
3705
+ function mi(e) {
3757
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3758
3707
  var n = t[t.length - 1];
3759
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3708
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3760
3709
  }, []);
3761
3710
  }
3762
- function Fi(e) {
3711
+ function bi(e) {
3763
3712
  return typeof e == "function";
3764
3713
  }
3765
- function Me(e, t, r, n, i, o, s) {
3766
- if (e.length === 1 && Ut(e[0]))
3714
+ function Ne(e, t, r, n, i, o, s) {
3715
+ if (e.length === 1 && Bt(e[0]))
3767
3716
  return [
3768
3717
  {
3769
- type: D.literal,
3718
+ type: R.literal,
3770
3719
  value: e[0].value
3771
3720
  }
3772
3721
  ];
3773
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3774
- var h = l[u];
3775
- if (Ut(h)) {
3722
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3723
+ var u = l[h];
3724
+ if (Bt(u)) {
3776
3725
  a.push({
3777
- type: D.literal,
3778
- value: h.value
3726
+ type: R.literal,
3727
+ value: u.value
3779
3728
  });
3780
3729
  continue;
3781
3730
  }
3782
- if (Yn(h)) {
3731
+ if (Dn(u)) {
3783
3732
  typeof o == "number" && a.push({
3784
- type: D.literal,
3733
+ type: R.literal,
3785
3734
  value: r.getNumberFormat(t).format(o)
3786
3735
  });
3787
3736
  continue;
3788
3737
  }
3789
- var p = h.value;
3790
- if (!(i && p in i))
3791
- throw new Pi(p, s);
3792
- var c = i[p];
3793
- if (qn(h)) {
3738
+ var d = u.value;
3739
+ if (!(i && d in i))
3740
+ throw new pi(d, s);
3741
+ var c = i[d];
3742
+ if (Rn(u)) {
3794
3743
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3795
- type: typeof c == "string" ? D.literal : D.object,
3744
+ type: typeof c == "string" ? R.literal : R.object,
3796
3745
  value: c
3797
3746
  });
3798
3747
  continue;
3799
3748
  }
3800
- if (_r(h)) {
3801
- var m = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
3749
+ if (hr(u)) {
3750
+ var m = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
3802
3751
  a.push({
3803
- type: D.literal,
3752
+ type: R.literal,
3804
3753
  value: r.getDateTimeFormat(t, m).format(c)
3805
3754
  });
3806
3755
  continue;
3807
3756
  }
3808
- if (xr(h)) {
3809
- var m = typeof h.style == "string" ? n.time[h.style] : ut(h.style) ? h.style.parsedOptions : n.time.medium;
3757
+ if (cr(u)) {
3758
+ var m = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
3810
3759
  a.push({
3811
- type: D.literal,
3760
+ type: R.literal,
3812
3761
  value: r.getDateTimeFormat(t, m).format(c)
3813
3762
  });
3814
3763
  continue;
3815
3764
  }
3816
- if (vr(h)) {
3817
- var m = typeof h.style == "string" ? n.number[h.style] : Tr(h.style) ? h.style.parsedOptions : void 0;
3765
+ if (ur(u)) {
3766
+ var m = typeof u.style == "string" ? n.number[u.style] : mr(u.style) ? u.style.parsedOptions : void 0;
3818
3767
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3819
- type: D.literal,
3768
+ type: R.literal,
3820
3769
  value: r.getNumberFormat(t, m).format(c)
3821
3770
  });
3822
3771
  continue;
3823
3772
  }
3824
- if (Sr(h)) {
3825
- var b = h.children, _ = h.value, T = i[_];
3826
- if (!Fi(T))
3827
- throw new Ai(_, "function", s);
3828
- var y = Me(b, t, r, n, i, o), H = T(y.map(function(L) {
3773
+ if (pr(u)) {
3774
+ var b = u.children, _ = u.value, T = i[_];
3775
+ if (!bi(T))
3776
+ throw new di(_, "function", s);
3777
+ var y = Ne(b, t, r, n, i, o), H = T(y.map(function(L) {
3829
3778
  return L.value;
3830
3779
  }));
3831
3780
  Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
3832
3781
  return {
3833
- type: typeof L == "string" ? D.literal : D.object,
3782
+ type: typeof L == "string" ? R.literal : R.object,
3834
3783
  value: L
3835
3784
  };
3836
3785
  }));
3837
3786
  }
3838
- if (Er(h)) {
3839
- var E = h.options[c] || h.options.other;
3787
+ if (fr(u)) {
3788
+ var E = u.options[c] || u.options.other;
3840
3789
  if (!E)
3841
- throw new zt(h.value, c, Object.keys(h.options), s);
3842
- a.push.apply(a, Me(E.value, t, r, n, i));
3790
+ throw new Dt(u.value, c, Object.keys(u.options), s);
3791
+ a.push.apply(a, Ne(E.value, t, r, n, i));
3843
3792
  continue;
3844
3793
  }
3845
- if (wr(h)) {
3846
- var E = h.options["=".concat(c)];
3794
+ if (dr(u)) {
3795
+ var E = u.options["=".concat(c)];
3847
3796
  if (!E) {
3848
3797
  if (!Intl.PluralRules)
3849
- throw new je(`Intl.PluralRules is not available in this environment.
3798
+ throw new ke(`Intl.PluralRules is not available in this environment.
3850
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3851
- `, ge.MISSING_INTL_API, s);
3852
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3853
- E = h.options[N] || h.options.other;
3800
+ `, be.MISSING_INTL_API, s);
3801
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3802
+ E = u.options[N] || u.options.other;
3854
3803
  }
3855
3804
  if (!E)
3856
- throw new zt(h.value, c, Object.keys(h.options), s);
3857
- a.push.apply(a, Me(E.value, t, r, n, i, c - (h.offset || 0)));
3805
+ throw new Dt(u.value, c, Object.keys(u.options), s);
3806
+ a.push.apply(a, Ne(E.value, t, r, n, i, c - (u.offset || 0)));
3858
3807
  continue;
3859
3808
  }
3860
3809
  }
3861
- return Ci(a);
3810
+ return mi(a);
3862
3811
  }
3863
- function Bi(e, t) {
3812
+ function gi(e, t) {
3864
3813
  return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3865
3814
  return r[n] = S(S({}, e[n]), t[n] || {}), r;
3866
3815
  }, {})) : e;
3867
3816
  }
3868
- function Ii(e, t) {
3817
+ function yi(e, t) {
3869
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3870
- return r[n] = Bi(e[n], t[n]), r;
3819
+ return r[n] = gi(e[n], t[n]), r;
3871
3820
  }, S({}, e)) : e;
3872
3821
  }
3873
- function Ke(e) {
3822
+ function Qe(e) {
3874
3823
  return {
3875
3824
  create: function() {
3876
3825
  return {
@@ -3884,39 +3833,39 @@ function Ke(e) {
3884
3833
  }
3885
3834
  };
3886
3835
  }
3887
- function Oi(e) {
3836
+ function vi(e) {
3888
3837
  return e === void 0 && (e = {
3889
3838
  number: {},
3890
3839
  dateTime: {},
3891
3840
  pluralRules: {}
3892
3841
  }), {
3893
- getNumberFormat: Qe(function() {
3842
+ getNumberFormat: ze(function() {
3894
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3895
3844
  r[n] = arguments[n];
3896
3845
  return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3897
3846
  }, {
3898
- cache: Ke(e.number),
3899
- strategy: qe.variadic
3847
+ cache: Qe(e.number),
3848
+ strategy: Ze.variadic
3900
3849
  }),
3901
- getDateTimeFormat: Qe(function() {
3850
+ getDateTimeFormat: ze(function() {
3902
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3903
3852
  r[n] = arguments[n];
3904
3853
  return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3905
3854
  }, {
3906
- cache: Ke(e.dateTime),
3907
- strategy: qe.variadic
3855
+ cache: Qe(e.dateTime),
3856
+ strategy: Ze.variadic
3908
3857
  }),
3909
- getPluralRules: Qe(function() {
3858
+ getPluralRules: ze(function() {
3910
3859
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
3860
  r[n] = arguments[n];
3912
3861
  return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3913
3862
  }, {
3914
- cache: Ke(e.pluralRules),
3915
- strategy: qe.variadic
3863
+ cache: Qe(e.pluralRules),
3864
+ strategy: Ze.variadic
3916
3865
  })
3917
3866
  };
3918
3867
  }
3919
- var Li = (
3868
+ var _i = (
3920
3869
  /** @class */
3921
3870
  function() {
3922
3871
  function e(t, r, n, i) {
@@ -3926,20 +3875,20 @@ var Li = (
3926
3875
  number: {},
3927
3876
  dateTime: {},
3928
3877
  pluralRules: {}
3929
- }, this.format = function(u) {
3930
- var l = o.formatToParts(u);
3878
+ }, this.format = function(h) {
3879
+ var l = o.formatToParts(h);
3931
3880
  if (l.length === 1)
3932
3881
  return l[0].value;
3933
- var h = l.reduce(function(p, c) {
3934
- return !p.length || c.type !== D.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3882
+ var u = l.reduce(function(d, c) {
3883
+ return !d.length || c.type !== R.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3935
3884
  }, []);
3936
- return h.length <= 1 ? h[0] || "" : h;
3937
- }, this.formatToParts = function(u) {
3938
- return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3885
+ return u.length <= 1 ? u[0] || "" : u;
3886
+ }, this.formatToParts = function(h) {
3887
+ return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3939
3888
  }, this.resolvedOptions = function() {
3940
- var u;
3889
+ var h;
3941
3890
  return {
3942
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3891
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3943
3892
  };
3944
3893
  }, this.getAst = function() {
3945
3894
  return o.ast;
@@ -3948,13 +3897,13 @@ var Li = (
3948
3897
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3949
3898
  var s = i || {};
3950
3899
  s.formatters;
3951
- var a = pn(s, ["formatters"]);
3900
+ var a = qr(s, ["formatters"]);
3952
3901
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3953
3902
  } else
3954
3903
  this.ast = t;
3955
3904
  if (!Array.isArray(this.ast))
3956
3905
  throw new TypeError("A message must be provided as a String or AST.");
3957
- this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3906
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3958
3907
  }
3959
3908
  return Object.defineProperty(e, "defaultLocale", {
3960
3909
  get: function() {
@@ -3963,11 +3912,11 @@ var Li = (
3963
3912
  enumerable: !1,
3964
3913
  configurable: !0
3965
3914
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3966
- if (typeof Intl.Locale != "undefined") {
3915
+ if (!(typeof Intl.Locale > "u")) {
3967
3916
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3968
3917
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3969
3918
  }
3970
- }, e.__parse = Hi, e.formats = {
3919
+ }, e.__parse = fi, e.formats = {
3971
3920
  number: {
3972
3921
  integer: {
3973
3922
  maximumFractionDigits: 0
@@ -4028,7 +3977,7 @@ var Li = (
4028
3977
  }, e;
4029
3978
  }()
4030
3979
  );
4031
- function Ni(e, t) {
3980
+ function xi(e, t) {
4032
3981
  if (t == null)
4033
3982
  return;
4034
3983
  if (t in e)
@@ -4049,92 +3998,92 @@ function Ni(e, t) {
4049
3998
  n = void 0;
4050
3999
  return n;
4051
4000
  }
4052
- const q = {}, Mi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Or = (e, t) => {
4001
+ const Q = {}, Ei = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), wr = (e, t) => {
4053
4002
  if (t == null)
4054
4003
  return;
4055
- if (t in q && e in q[t])
4056
- return q[t][e];
4057
- const r = Ve(t);
4004
+ if (t in Q && e in Q[t])
4005
+ return Q[t][e];
4006
+ const r = je(t);
4058
4007
  for (let n = 0; n < r.length; n++) {
4059
- const i = r[n], o = Di(i, e);
4008
+ const i = r[n], o = Si(i, e);
4060
4009
  if (o)
4061
- return Mi(e, t, o);
4010
+ return Ei(e, t, o);
4062
4011
  }
4063
4012
  };
4064
- let _t;
4065
- const _e = ke({});
4066
- function Ri(e) {
4067
- return _t[e] || null;
4013
+ let bt;
4014
+ const ve = Ge({});
4015
+ function wi(e) {
4016
+ return bt[e] || null;
4068
4017
  }
4069
- function Lr(e) {
4070
- return e in _t;
4018
+ function Sr(e) {
4019
+ return e in bt;
4071
4020
  }
4072
- function Di(e, t) {
4073
- if (!Lr(e))
4021
+ function Si(e, t) {
4022
+ if (!Sr(e))
4074
4023
  return null;
4075
- const r = Ri(e);
4076
- return Ni(r, t);
4024
+ const r = wi(e);
4025
+ return xi(r, t);
4077
4026
  }
4078
- function $i(e) {
4027
+ function Ti(e) {
4079
4028
  if (e == null)
4080
4029
  return;
4081
- const t = Ve(e);
4030
+ const t = je(e);
4082
4031
  for (let r = 0; r < t.length; r++) {
4083
4032
  const n = t[r];
4084
- if (Lr(n))
4033
+ if (Sr(n))
4085
4034
  return n;
4086
4035
  }
4087
4036
  }
4088
- function Nr(e, ...t) {
4089
- delete q[e], _e.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4037
+ function Tr(e, ...t) {
4038
+ delete Q[e], ve.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4090
4039
  }
4091
- ve(
4092
- [_e],
4040
+ ye(
4041
+ [ve],
4093
4042
  ([e]) => Object.keys(e)
4094
4043
  );
4095
- _e.subscribe((e) => _t = e);
4096
- const Re = {};
4097
- function Ui(e, t) {
4098
- Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4044
+ ve.subscribe((e) => bt = e);
4045
+ const Me = {};
4046
+ function Hi(e, t) {
4047
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4099
4048
  }
4100
- function Mr(e) {
4101
- return Re[e];
4049
+ function Hr(e) {
4050
+ return Me[e];
4102
4051
  }
4103
- function Gi(e) {
4104
- return Ve(e).map((t) => {
4105
- const r = Mr(t);
4052
+ function Pi(e) {
4053
+ return je(e).map((t) => {
4054
+ const r = Hr(t);
4106
4055
  return [t, r ? [...r] : []];
4107
4056
  }).filter(([, t]) => t.length > 0);
4108
4057
  }
4109
- function mt(e) {
4110
- return e == null ? !1 : Ve(e).some(
4058
+ function ft(e) {
4059
+ return e == null ? !1 : je(e).some(
4111
4060
  (t) => {
4112
4061
  var r;
4113
- return (r = Mr(t)) == null ? void 0 : r.size;
4062
+ return (r = Hr(t)) == null ? void 0 : r.size;
4114
4063
  }
4115
4064
  );
4116
4065
  }
4117
- function ki(e, t) {
4066
+ function Ai(e, t) {
4118
4067
  return Promise.all(
4119
- t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4120
- ).then((n) => Nr(e, ...n));
4121
- }
4122
- const Ee = {};
4123
- function Rr(e) {
4124
- if (!mt(e))
4125
- return e in Ee ? Ee[e] : Promise.resolve();
4126
- const t = Gi(e);
4127
- return Ee[e] = Promise.all(
4068
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4069
+ ).then((n) => Tr(e, ...n));
4070
+ }
4071
+ const xe = {};
4072
+ function Pr(e) {
4073
+ if (!ft(e))
4074
+ return e in xe ? xe[e] : Promise.resolve();
4075
+ const t = Pi(e);
4076
+ return xe[e] = Promise.all(
4128
4077
  t.map(
4129
- ([r, n]) => ki(r, n)
4078
+ ([r, n]) => Ai(r, n)
4130
4079
  )
4131
4080
  ).then(() => {
4132
- if (mt(e))
4133
- return Rr(e);
4134
- delete Ee[e];
4135
- }), Ee[e];
4081
+ if (ft(e))
4082
+ return Pr(e);
4083
+ delete xe[e];
4084
+ }), xe[e];
4136
4085
  }
4137
- const ji = {
4086
+ const Ci = {
4138
4087
  number: {
4139
4088
  scientific: { notation: "scientific" },
4140
4089
  engineering: { notation: "engineering" },
@@ -4163,176 +4112,176 @@ const ji = {
4163
4112
  timeZoneName: "short"
4164
4113
  }
4165
4114
  }
4166
- }, Vi = {
4115
+ }, Fi = {
4167
4116
  fallbackLocale: null,
4168
4117
  loadingDelay: 200,
4169
- formats: ji,
4118
+ formats: Ci,
4170
4119
  warnOnMissingMessages: !0,
4171
4120
  handleMissingMessage: void 0,
4172
4121
  ignoreTag: !0
4173
- }, Xi = Vi;
4174
- function ye() {
4175
- return Xi;
4176
- }
4177
- const et = ke(!1);
4178
- var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4179
- for (var r in t || (t = {}))
4180
- Ji.call(t, r) && Jt(e, r, t[r]);
4181
- if (Zt)
4182
- for (var r of Zt(t))
4183
- Qi.call(t, r) && Jt(e, r, t[r]);
4122
+ }, Bi = Fi;
4123
+ function ge() {
4124
+ return Bi;
4125
+ }
4126
+ const qe = Ge(!1);
4127
+ var Oi = Object.defineProperty, Ii = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4128
+ for (var r in t)
4129
+ Ni.call(t, r) && Ut(e, r, t[r]);
4130
+ if ($t)
4131
+ for (var r of $t(t))
4132
+ Mi.call(t, r) && Ut(e, r, t[r]);
4184
4133
  return e;
4185
- }, Yi = (e, t) => zi(e, Zi(t));
4186
- let bt;
4187
- const $e = ke(null);
4188
- function Qt(e) {
4134
+ }, Di = (e, t) => Ii(e, Li(t));
4135
+ let dt;
4136
+ const De = Ge(null);
4137
+ function Gt(e) {
4189
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4190
4139
  }
4191
- function Ve(e, t = ye().fallbackLocale) {
4192
- const r = Qt(e);
4193
- return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4140
+ function je(e, t = ge().fallbackLocale) {
4141
+ const r = Gt(e);
4142
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4194
4143
  }
4195
- function ne() {
4196
- return bt != null ? bt : void 0;
4144
+ function re() {
4145
+ return dt ?? void 0;
4197
4146
  }
4198
- $e.subscribe((e) => {
4199
- bt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4147
+ De.subscribe((e) => {
4148
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4200
4149
  });
4201
- const Ki = (e) => {
4202
- if (e && $i(e) && mt(e)) {
4203
- const { loadingDelay: t } = ye();
4150
+ const $i = (e) => {
4151
+ if (e && Ti(e) && ft(e)) {
4152
+ const { loadingDelay: t } = ge();
4204
4153
  let r;
4205
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4206
- () => et.set(!0),
4154
+ return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4155
+ () => qe.set(!0),
4207
4156
  t
4208
- ) : et.set(!0), Rr(e).then(() => {
4209
- $e.set(e);
4157
+ ) : qe.set(!0), Pr(e).then(() => {
4158
+ De.set(e);
4210
4159
  }).finally(() => {
4211
- clearTimeout(r), et.set(!1);
4160
+ clearTimeout(r), qe.set(!1);
4212
4161
  });
4213
4162
  }
4214
- return $e.set(e);
4215
- }, re = Yi(qi({}, $e), {
4216
- set: Ki
4217
- }), Xe = (e) => {
4163
+ return De.set(e);
4164
+ }, te = Di(Ri({}, De), {
4165
+ set: $i
4166
+ }), Ve = (e) => {
4218
4167
  const t = /* @__PURE__ */ Object.create(null);
4219
4168
  return (n) => {
4220
4169
  const i = JSON.stringify(n);
4221
4170
  return i in t ? t[i] : t[i] = e(n);
4222
4171
  };
4223
4172
  };
4224
- var eo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4173
+ var Ui = Object.defineProperty, $e = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4225
4174
  for (var r in t || (t = {}))
4226
- Dr.call(t, r) && qt(e, r, t[r]);
4227
- if (Ue)
4228
- for (var r of Ue(t))
4229
- $r.call(t, r) && qt(e, r, t[r]);
4175
+ Ar.call(t, r) && kt(e, r, t[r]);
4176
+ if ($e)
4177
+ for (var r of $e(t))
4178
+ Cr.call(t, r) && kt(e, r, t[r]);
4230
4179
  return e;
4231
- }, xe = (e, t) => {
4180
+ }, _e = (e, t) => {
4232
4181
  var r = {};
4233
4182
  for (var n in e)
4234
- Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4235
- if (e != null && Ue)
4236
- for (var n of Ue(e))
4237
- t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
4183
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
+ if (e != null && $e)
4185
+ for (var n of $e(e))
4186
+ t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4238
4187
  return r;
4239
4188
  };
4240
- const Ae = (e, t) => {
4241
- const { formats: r } = ye();
4189
+ const He = (e, t) => {
4190
+ const { formats: r } = ge();
4242
4191
  if (e in r && t in r[e])
4243
4192
  return r[e][t];
4244
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4245
- }, to = Xe(
4194
+ }, Gi = Ve(
4246
4195
  (e) => {
4247
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4248
4197
  if (r == null)
4249
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4250
- return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4199
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4251
4200
  }
4252
- ), ro = Xe(
4201
+ ), ki = Ve(
4253
4202
  (e) => {
4254
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4255
4204
  if (r == null)
4256
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4257
- return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4206
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4258
4207
  }
4259
- ), no = Xe(
4208
+ ), ji = Ve(
4260
4209
  (e) => {
4261
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4210
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4262
4211
  if (r == null)
4263
4212
  throw new Error(
4264
4213
  '[svelte-i18n] A "locale" must be set to format time values'
4265
4214
  );
4266
- return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4267
4216
  }
4268
- ), io = (e = {}) => {
4217
+ ), Vi = (e = {}) => {
4269
4218
  var t = e, {
4270
- locale: r = ne()
4271
- } = t, n = xe(t, [
4219
+ locale: r = re()
4220
+ } = t, n = _e(t, [
4272
4221
  "locale"
4273
4222
  ]);
4274
- return to(xt({ locale: r }, n));
4275
- }, oo = (e = {}) => {
4223
+ return Gi(gt({ locale: r }, n));
4224
+ }, Xi = (e = {}) => {
4276
4225
  var t = e, {
4277
- locale: r = ne()
4278
- } = t, n = xe(t, [
4226
+ locale: r = re()
4227
+ } = t, n = _e(t, [
4279
4228
  "locale"
4280
4229
  ]);
4281
- return ro(xt({ locale: r }, n));
4282
- }, so = (e = {}) => {
4230
+ return ki(gt({ locale: r }, n));
4231
+ }, Wi = (e = {}) => {
4283
4232
  var t = e, {
4284
- locale: r = ne()
4285
- } = t, n = xe(t, [
4233
+ locale: r = re()
4234
+ } = t, n = _e(t, [
4286
4235
  "locale"
4287
4236
  ]);
4288
- return no(xt({ locale: r }, n));
4289
- }, ao = Xe(
4237
+ return ji(gt({ locale: r }, n));
4238
+ }, zi = Ve(
4290
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4291
- (e, t = ne()) => new Li(e, t, ye().formats, {
4292
- ignoreTag: ye().ignoreTag
4240
+ (e, t = re()) => new _i(e, t, ge().formats, {
4241
+ ignoreTag: ge().ignoreTag
4293
4242
  })
4294
- ), lo = (e, t = {}) => {
4243
+ ), Zi = (e, t = {}) => {
4295
4244
  var r, n, i, o;
4296
4245
  let s = t;
4297
4246
  typeof e == "object" && (s = e, e = s.id);
4298
4247
  const {
4299
4248
  values: a,
4300
- locale: u = ne(),
4249
+ locale: h = re(),
4301
4250
  default: l
4302
4251
  } = s;
4303
- if (u == null)
4252
+ if (h == null)
4304
4253
  throw new Error(
4305
4254
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4306
4255
  );
4307
- let h = Or(e, u);
4308
- if (!h)
4309
- h = (o = (i = (n = (r = ye()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4310
- else if (typeof h != "string")
4256
+ let u = wr(e, h);
4257
+ if (!u)
4258
+ u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4259
+ else if (typeof u != "string")
4311
4260
  return console.warn(
4312
- `[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.`
4313
- ), h;
4261
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4262
+ ), u;
4314
4263
  if (!a)
4315
- return h;
4316
- let p = h;
4264
+ return u;
4265
+ let d = u;
4317
4266
  try {
4318
- p = ao(h, u).format(a);
4267
+ d = zi(u, h).format(a);
4319
4268
  } catch (c) {
4320
4269
  c instanceof Error && console.warn(
4321
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
4322
4271
  c.message
4323
4272
  );
4324
4273
  }
4325
- return p;
4326
- }, uo = (e, t) => so(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = ne()) => Or(e, t), po = ve([re, _e], () => lo);
4327
- ve([re], () => uo);
4328
- ve([re], () => ho);
4329
- ve([re], () => co);
4330
- ve([re, _e], () => fo);
4331
- window.emWidgets = { topic: An };
4332
- const mo = (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)), bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4333
- function Mo(e, t) {
4274
+ return d;
4275
+ }, Ji = (e, t) => Wi(t).format(e), Qi = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = re()) => wr(e, t), Ki = ye([te, ve], () => Zi);
4276
+ ye([te], () => Ji);
4277
+ ye([te], () => Qi);
4278
+ ye([te], () => qi);
4279
+ ye([te, ve], () => Yi);
4280
+ window.emWidgets = { topic: fn };
4281
+ const eo = (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)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
+ function xo(e, t) {
4334
4283
  const r = window.navigator.userAgent;
4335
- return mo(r) ? t = e.filter((n) => {
4284
+ return eo(r) ? t = e.filter((n) => {
4336
4285
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4337
4286
  return n;
4338
4287
  }) : t = e.filter((n) => {
@@ -4340,15 +4289,15 @@ function Mo(e, t) {
4340
4289
  return n;
4341
4290
  }), t;
4342
4291
  }
4343
- function go({ withLocale: e, translations: t }) {
4344
- re.subscribe((r) => {
4345
- r == null && (_e.set(t), re.set(e));
4292
+ function ro({ withLocale: e, translations: t }) {
4293
+ te.subscribe((r) => {
4294
+ r == null && (ve.set(t), te.set(e));
4346
4295
  });
4347
4296
  }
4348
- function Yt(e, t) {
4349
- Nr(e, t);
4297
+ function jt(e, t) {
4298
+ Tr(e, t);
4350
4299
  }
4351
- const Kt = {
4300
+ const Vt = {
4352
4301
  en: {
4353
4302
  providers: "Providers:",
4354
4303
  filterby: "Filter by:",
@@ -4458,230 +4407,230 @@ const Kt = {
4458
4407
  clear: "Clear all"
4459
4408
  }
4460
4409
  };
4461
- function yo(e) {
4462
- Zr(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4410
+ function no(e) {
4411
+ Ir(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4463
4412
  }
4464
- function er(e, t, r) {
4413
+ function Xt(e, t, r) {
4465
4414
  const n = e.slice();
4466
4415
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4467
4416
  }
4468
- function vo(e) {
4469
- let t, r, n, i, o, s, a, u, l = (
4417
+ function io(e) {
4418
+ let t, r, n, i, o, s, a, h, l = (
4470
4419
  /*$_*/
4471
4420
  e[11]("filterby") + ""
4472
- ), h, p, c, m, b = (
4421
+ ), u, d, c, m, b = (
4473
4422
  /*$_*/
4474
4423
  e[11]("providers") + ""
4475
- ), _, T, y, H, E, N, L, I, P, O, M, z, V, ie = (
4424
+ ), _, T, y, H, E, N, L, O, A, I, M, W, j, ne = (
4476
4425
  /*$_*/
4477
4426
  e[11]("clear") + ""
4478
- ), oe, ee, se, te, ae, Pe;
4479
- function Ce(d, C) {
4427
+ ), ie, K, oe, ee, se, Pe;
4428
+ function Ae(p, C) {
4480
4429
  return (
4481
4430
  /*fullSelection*/
4482
- d[7] ? Eo : xo
4431
+ p[7] ? ao : so
4483
4432
  );
4484
4433
  }
4485
- let le = Ce(e), $ = le(e), Q = Bt(
4434
+ let ae = Ae(e), D = ae(e), J = Et(
4486
4435
  /*vendorArray*/
4487
4436
  e[5]
4488
4437
  ), f = [];
4489
- for (let d = 0; d < Q.length; d += 1)
4490
- f[d] = tr(er(e, Q, d));
4438
+ for (let p = 0; p < J.length; p += 1)
4439
+ f[p] = Wt(Xt(e, J, p));
4491
4440
  return {
4492
4441
  c() {
4493
- t = F("div"), r = F("div"), n = F("div"), i = we("svg"), o = we("path"), s = X(), a = F("div"), u = F("span"), h = G(l), p = X(), c = F("div"), m = F("span"), _ = G(b), T = X(), $.c(), y = X(), H = F("span"), E = we("svg"), N = we("path"), P = X(), O = F("div"), M = F("ul");
4494
- for (let d = 0; d < f.length; d += 1)
4495
- f[d].c();
4496
- z = X(), V = F("button"), oe = G(ie), 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(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
4497
- (e[4] ? "TriangleActive" : "")), g(r, "class", I = "FilterSelector " + /*isFilterActive*/
4498
- (e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
4442
+ t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = F("div"), h = F("span"), u = U(l), d = V(), c = F("div"), m = F("span"), _ = U(b), T = V(), D.c(), y = V(), H = F("span"), E = Ee("svg"), N = Ee("path"), A = V(), I = F("div"), M = F("ul");
4443
+ for (let p = 0; p < f.length; p += 1)
4444
+ f[p].c();
4445
+ W = V(), j = F("button"), ie = U(ne), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
4446
+ (e[4] ? "TriangleActive" : "")), g(r, "class", O = "FilterSelector " + /*isFilterActive*/
4447
+ (e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4499
4448
  e[7] && /*selectedVendorArray*/
4500
4449
  e[6].length != /*vendorArray*/
4501
- e[5].length, g(O, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
4502
- (e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
4450
+ e[5].length, g(I, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4451
+ (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4503
4452
  (e[0] == "true" && /*addsortingselector*/
4504
4453
  e[1] == "true" ? "FilerContainerSplit" : ""));
4505
4454
  },
4506
- m(d, C) {
4507
- W(d, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, p), v(a, c), v(c, m), v(m, _), v(c, T), $.m(c, null), v(r, y), v(r, H), v(H, E), v(E, N), v(t, P), v(t, O), v(O, M);
4508
- for (let A = 0; A < f.length; A += 1)
4509
- f[A] && f[A].m(M, null);
4510
- v(O, z), v(O, V), v(V, oe), ae || (Pe = [
4511
- De(
4455
+ m(p, C) {
4456
+ X(p, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, c), v(c, m), v(m, _), v(c, T), D.m(c, null), v(r, y), v(r, H), v(H, E), v(E, N), v(t, A), v(t, I), v(I, M);
4457
+ for (let P = 0; P < f.length; P += 1)
4458
+ f[P] && f[P].m(M, null);
4459
+ v(I, W), v(I, j), v(j, ie), se || (Pe = [
4460
+ Re(
4512
4461
  r,
4513
4462
  "click",
4514
4463
  /*click_handler*/
4515
4464
  e[22]
4516
4465
  ),
4517
- De(
4518
- V,
4466
+ Re(
4467
+ j,
4519
4468
  "click",
4520
4469
  /*click_handler_2*/
4521
4470
  e[25]
4522
4471
  )
4523
- ], ae = !0);
4472
+ ], se = !0);
4524
4473
  },
4525
- p(d, C) {
4474
+ p(p, C) {
4526
4475
  if (C[0] & /*$_*/
4527
4476
  2048 && l !== (l = /*$_*/
4528
- d[11]("filterby") + "") && Y(h, l), C[0] & /*$_*/
4477
+ p[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4529
4478
  2048 && b !== (b = /*$_*/
4530
- d[11]("providers") + "") && Y(_, b), le === (le = Ce(d)) && $ ? $.p(d, C) : ($.d(1), $ = le(d), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
4479
+ p[11]("providers") + "") && q(_, b), ae === (ae = Ae(p)) && D ? D.p(p, C) : (D.d(1), D = ae(p), D && (D.c(), D.m(c, null))), C[0] & /*isFilterActive*/
4531
4480
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4532
- (d[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
4533
- 16 && I !== (I = "FilterSelector " + /*isFilterActive*/
4534
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", I), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4481
+ (p[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
4482
+ 16 && O !== (O = "FilterSelector " + /*isFilterActive*/
4483
+ (p[4] ? "FilterSelectorOpen" : "")) && g(r, "class", O), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4535
4484
  8228) {
4536
- Q = Bt(
4485
+ J = Et(
4537
4486
  /*vendorArray*/
4538
- d[5]
4487
+ p[5]
4539
4488
  );
4540
- let A;
4541
- for (A = 0; A < Q.length; A += 1) {
4542
- const ue = er(d, Q, A);
4543
- f[A] ? f[A].p(ue, C) : (f[A] = tr(ue), f[A].c(), f[A].m(M, null));
4489
+ let P;
4490
+ for (P = 0; P < J.length; P += 1) {
4491
+ const le = Xt(p, J, P);
4492
+ f[P] ? f[P].p(le, C) : (f[P] = Wt(le), f[P].c(), f[P].m(M, null));
4544
4493
  }
4545
- for (; A < f.length; A += 1)
4546
- f[A].d(1);
4547
- f.length = Q.length;
4494
+ for (; P < f.length; P += 1)
4495
+ f[P].d(1);
4496
+ f.length = J.length;
4548
4497
  }
4549
4498
  C[0] & /*$_*/
4550
- 2048 && ie !== (ie = /*$_*/
4551
- d[11]("clear") + "") && Y(oe, ie), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4552
- 224 && ee !== (ee = /*fullSelection*/
4553
- d[7] && /*selectedVendorArray*/
4554
- d[6].length != /*vendorArray*/
4555
- d[5].length) && (V.disabled = ee), C[0] & /*isFilterActive*/
4556
- 16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
4557
- (d[4] ? "FilterOpen" : "")) && g(O, "class", se), C[0] & /*addfilterselector, addsortingselector*/
4558
- 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4559
- (d[0] == "true" && /*addsortingselector*/
4560
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
4499
+ 2048 && ne !== (ne = /*$_*/
4500
+ p[11]("clear") + "") && q(ie, ne), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4501
+ 224 && K !== (K = /*fullSelection*/
4502
+ p[7] && /*selectedVendorArray*/
4503
+ p[6].length != /*vendorArray*/
4504
+ p[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4505
+ 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4506
+ (p[4] ? "FilterOpen" : "")) && g(I, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4507
+ 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4508
+ (p[0] == "true" && /*addsortingselector*/
4509
+ p[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4561
4510
  },
4562
- d(d) {
4563
- d && j(t), $.d(), qr(f, d), ae = !1, K(Pe);
4511
+ d(p) {
4512
+ p && k(t), D.d(), Mr(f, p), se = !1, Y(Pe);
4564
4513
  }
4565
4514
  };
4566
4515
  }
4567
- function _o(e) {
4516
+ function oo(e) {
4568
4517
  let t, r = (
4569
4518
  /*$_*/
4570
4519
  e[11]("500") + ""
4571
4520
  ), n;
4572
4521
  return {
4573
4522
  c() {
4574
- t = F("p"), n = G(r), g(t, "class", "SearchLoading");
4523
+ t = F("p"), n = U(r), g(t, "class", "SearchLoading");
4575
4524
  },
4576
4525
  m(i, o) {
4577
- W(i, t, o), v(t, n);
4526
+ X(i, t, o), v(t, n);
4578
4527
  },
4579
4528
  p(i, o) {
4580
4529
  o[0] & /*$_*/
4581
4530
  2048 && r !== (r = /*$_*/
4582
- i[11]("500") + "") && Y(n, r);
4531
+ i[11]("500") + "") && q(n, r);
4583
4532
  },
4584
4533
  d(i) {
4585
- i && j(t);
4534
+ i && k(t);
4586
4535
  }
4587
4536
  };
4588
4537
  }
4589
- function xo(e) {
4538
+ function so(e) {
4590
4539
  let t, r;
4591
4540
  return {
4592
4541
  c() {
4593
- t = F("span"), r = G(
4542
+ t = F("span"), r = U(
4594
4543
  /*selectionNumber*/
4595
4544
  e[8]
4596
4545
  ), g(t, "class", "FilterCounter");
4597
4546
  },
4598
4547
  m(n, i) {
4599
- W(n, t, i), v(t, r);
4548
+ X(n, t, i), v(t, r);
4600
4549
  },
4601
4550
  p(n, i) {
4602
4551
  i[0] & /*selectionNumber*/
4603
- 256 && Y(
4552
+ 256 && q(
4604
4553
  r,
4605
4554
  /*selectionNumber*/
4606
4555
  n[8]
4607
4556
  );
4608
4557
  },
4609
4558
  d(n) {
4610
- n && j(t);
4559
+ n && k(t);
4611
4560
  }
4612
4561
  };
4613
4562
  }
4614
- function Eo(e) {
4563
+ function ao(e) {
4615
4564
  let t, r = (
4616
4565
  /*$_*/
4617
4566
  e[11]("all") + ""
4618
4567
  ), n;
4619
4568
  return {
4620
4569
  c() {
4621
- t = F("span"), n = G(r), g(t, "class", "FilterCounter");
4570
+ t = F("span"), n = U(r), g(t, "class", "FilterCounter");
4622
4571
  },
4623
4572
  m(i, o) {
4624
- W(i, t, o), v(t, n);
4573
+ X(i, t, o), v(t, n);
4625
4574
  },
4626
4575
  p(i, o) {
4627
4576
  o[0] & /*$_*/
4628
4577
  2048 && r !== (r = /*$_*/
4629
- i[11]("all") + "") && Y(n, r);
4578
+ i[11]("all") + "") && q(n, r);
4630
4579
  },
4631
4580
  d(i) {
4632
- i && j(t);
4581
+ i && k(t);
4633
4582
  }
4634
4583
  };
4635
4584
  }
4636
- function wo(e) {
4585
+ function lo(e) {
4637
4586
  let t, r;
4638
4587
  return {
4639
4588
  c() {
4640
- t = F("img"), Pt(t.src, r = /*vendor*/
4589
+ t = F("img"), vt(t.src, r = /*vendor*/
4641
4590
  e[36].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4642
4591
  },
4643
4592
  m(n, i) {
4644
- W(n, t, i);
4593
+ X(n, t, i);
4645
4594
  },
4646
4595
  p(n, i) {
4647
4596
  i[0] & /*vendorArray*/
4648
- 32 && !Pt(t.src, r = /*vendor*/
4597
+ 32 && !vt(t.src, r = /*vendor*/
4649
4598
  n[36].logo) && g(t, "src", r);
4650
4599
  },
4651
4600
  d(n) {
4652
- n && j(t);
4601
+ n && k(t);
4653
4602
  }
4654
4603
  };
4655
4604
  }
4656
- function So(e) {
4605
+ function uo(e) {
4657
4606
  let t, r, n = (
4658
4607
  /*vendor*/
4659
4608
  e[36].name + ""
4660
- ), i, o, s, a, u = (
4609
+ ), i, o, s, a, h = (
4661
4610
  /*vendor*/
4662
4611
  e[36].games.count + ""
4663
- ), l, h;
4612
+ ), l, u;
4664
4613
  return {
4665
4614
  c() {
4666
- t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4615
+ t = F("div"), r = F("span"), i = U(n), o = V(), s = F("span"), a = U("("), l = U(h), u = U(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4667
4616
  },
4668
- m(p, c) {
4669
- W(p, t, c), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
4617
+ m(d, c) {
4618
+ X(d, t, c), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, u);
4670
4619
  },
4671
- p(p, c) {
4620
+ p(d, c) {
4672
4621
  c[0] & /*vendorArray*/
4673
4622
  32 && n !== (n = /*vendor*/
4674
- p[36].name + "") && Y(i, n), c[0] & /*vendorArray*/
4675
- 32 && u !== (u = /*vendor*/
4676
- p[36].games.count + "") && Y(l, u);
4623
+ d[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4624
+ 32 && h !== (h = /*vendor*/
4625
+ d[36].games.count + "") && q(l, h);
4677
4626
  },
4678
- d(p) {
4679
- p && j(t);
4627
+ d(d) {
4628
+ d && k(t);
4680
4629
  }
4681
4630
  };
4682
4631
  }
4683
- function tr(e) {
4684
- let t, r, n, i, o, s, a, u, l, h, p, c;
4632
+ function Wt(e) {
4633
+ let t, r, n, i, o, s, a, h, l, u, d, c;
4685
4634
  function m() {
4686
4635
  e[23].call(
4687
4636
  n,
@@ -4704,52 +4653,52 @@ function tr(e) {
4704
4653
  if (
4705
4654
  /*filterbylogo*/
4706
4655
  H[2] === "false"
4707
- ) return So;
4656
+ ) return uo;
4708
4657
  if (
4709
4658
  /*filterbylogo*/
4710
4659
  H[2] === "true"
4711
- ) return wo;
4660
+ ) return lo;
4712
4661
  }
4713
4662
  let T = _(e), y = T && T(e);
4714
4663
  return {
4715
4664
  c() {
4716
- t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), y && y.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4717
- e[36].name, Ct(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4718
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4665
+ t = F("li"), r = F("label"), n = F("input"), o = V(), s = F("span"), a = V(), y && y.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4666
+ e[36].name, _t(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4667
+ (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4719
4668
  e[36].name;
4720
4669
  },
4721
4670
  m(H, E) {
4722
- W(H, t, E), v(t, r), v(r, n), n.checked = /*vendor*/
4723
- e[36].isFilterSelected, v(r, o), v(r, s), v(r, a), y && y.m(r, null), v(t, u), p || (c = [
4724
- De(n, "change", m),
4725
- De(n, "click", b)
4726
- ], p = !0);
4671
+ X(H, t, E), v(t, r), v(r, n), n.checked = /*vendor*/
4672
+ e[36].isFilterSelected, v(r, o), v(r, s), v(r, a), y && y.m(r, null), v(t, h), d || (c = [
4673
+ Re(n, "change", m),
4674
+ Re(n, "click", b)
4675
+ ], d = !0);
4727
4676
  },
4728
4677
  p(H, E) {
4729
4678
  e = H, E[0] & /*vendorArray*/
4730
4679
  32 && i !== (i = /*vendor*/
4731
- e[36].name) && (n.__value = i, Ct(n, n.__value)), E[0] & /*vendorArray*/
4680
+ e[36].name) && (n.__value = i, _t(n, n.__value)), E[0] & /*vendorArray*/
4732
4681
  32 && (n.checked = /*vendor*/
4733
4682
  e[36].isFilterSelected), T === (T = _(e)) && y ? y.p(e, E) : (y && y.d(1), y = T && T(e), y && (y.c(), y.m(r, null))), E[0] & /*filterbylogo*/
4734
4683
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4735
4684
  (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), E[0] & /*vendorArray*/
4736
- 32 && h !== (h = /*vendor*/
4737
- e[36].name) && (t.value = h);
4685
+ 32 && u !== (u = /*vendor*/
4686
+ e[36].name) && (t.value = u);
4738
4687
  },
4739
4688
  d(H) {
4740
- H && j(t), y && y.d(), p = !1, K(c);
4689
+ H && k(t), y && y.d(), d = !1, Y(c);
4741
4690
  }
4742
4691
  };
4743
4692
  }
4744
- function To(e) {
4693
+ function ho(e) {
4745
4694
  let t;
4746
4695
  function r(o, s) {
4747
4696
  if (
4748
4697
  /*hasErrors*/
4749
4698
  o[10]
4750
- ) return _o;
4699
+ ) return oo;
4751
4700
  if (!/*isLoading*/
4752
- o[9]) return vo;
4701
+ o[9]) return io;
4753
4702
  }
4754
4703
  let n = r(e), i = n && n(e);
4755
4704
  return {
@@ -4757,141 +4706,140 @@ function To(e) {
4757
4706
  t = F("div"), i && i.c();
4758
4707
  },
4759
4708
  m(o, s) {
4760
- W(o, t, s), i && i.m(t, null), e[26](t);
4709
+ X(o, t, s), i && i.m(t, null), e[26](t);
4761
4710
  },
4762
4711
  p(o, s) {
4763
4712
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4764
4713
  },
4765
- i: k,
4766
- o: k,
4714
+ i: G,
4715
+ o: G,
4767
4716
  d(o) {
4768
- o && j(t), i && i.d(), e[26](null);
4717
+ o && k(t), i && i.d(), e[26](null);
4769
4718
  }
4770
4719
  };
4771
4720
  }
4772
- function Ho(e, t, r) {
4721
+ function co(e, t, r) {
4773
4722
  let n;
4774
- zr(e, po, (f) => r(11, n = f));
4775
- 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, b = !1, _ = window.navigator.userAgent, T = [], y = [], H = {}, E = !1, N = 0, L = !0, I, P = !1;
4776
- go({ withLocale: "en", translations: {} });
4777
- const O = () => {
4778
- fetch(a).then((d) => d.json()).then((d) => {
4779
- Object.keys(d).forEach((C) => {
4780
- Yt(C, d[C]);
4723
+ Or(e, Ki, (f) => r(11, n = f));
4724
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, b = !1, _ = window.navigator.userAgent, T = [], y = [], H = {}, E = !1, N = 0, L = !0, O, A = !1;
4725
+ ro({ withLocale: "en", translations: {} });
4726
+ const I = () => {
4727
+ fetch(a).then((p) => p.json()).then((p) => {
4728
+ Object.keys(p).forEach((C) => {
4729
+ jt(C, p[C]);
4781
4730
  });
4782
- }).catch((d) => {
4783
- console.log(d);
4731
+ }).catch((p) => {
4732
+ console.log(p);
4784
4733
  });
4785
4734
  };
4786
- Object.keys(Kt).forEach((f) => {
4787
- Yt(f, Kt[f]);
4735
+ Object.keys(Vt).forEach((f) => {
4736
+ jt(f, Vt[f]);
4788
4737
  });
4789
4738
  const M = () => {
4790
4739
  let f = document.createElement("style");
4791
- f.innerHTML = u, I.appendChild(f);
4792
- }, z = () => {
4740
+ f.innerHTML = h, O.appendChild(f);
4741
+ }, W = () => {
4793
4742
  let f = document.createElement("style");
4794
- fetch(new URL(l)).then((d) => d.text()).then((d) => {
4795
- f.innerHTML = d, setTimeout(
4743
+ fetch(new URL(l)).then((p) => p.text()).then((p) => {
4744
+ f.innerHTML = p, setTimeout(
4796
4745
  () => {
4797
- I.appendChild(f);
4746
+ O.appendChild(f);
4798
4747
  },
4799
4748
  1
4800
4749
  );
4801
4750
  });
4802
4751
  };
4803
- H[h] && (H = { [h]: [] });
4804
- const V = () => {
4752
+ H[u] && (H = { [u]: [] });
4753
+ const j = () => {
4805
4754
  r(4, b = !b), window.postMessage({ type: "FilterOpened" }, window.location.href);
4806
- }, ie = (f) => (r(9, L = !0), new Promise((d, C) => {
4807
- fetch(f).then((A) => A.json()).then((A) => {
4808
- A = A.items, d(A.items), r(6, y = []);
4809
- let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4810
- A.forEach((Fe) => {
4811
- var Et;
4812
- ue || (ue = { currentCategoryId: [] }), ((Et = ue[h]) == null ? void 0 : Et.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, y.push(Fe)) : Fe.isFilterSelected = !1;
4813
- }), r(5, T = A), ee();
4814
- }).catch((A) => {
4815
- console.error(A), r(10, P = !0), C(A);
4755
+ }, ne = (f) => (r(9, L = !0), new Promise((p, C) => {
4756
+ fetch(f).then((P) => P.json()).then((P) => {
4757
+ P = P.items, p(P.items), r(6, y = []);
4758
+ let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4759
+ P.forEach((Ce) => {
4760
+ le || (le = { currentCategoryId: [] }), le[u]?.indexOf(Ce.id) >= 0 ? (Ce.isFilterSelected = !0, y.push(Ce)) : Ce.isFilterSelected = !1;
4761
+ }), r(5, T = P), K();
4762
+ }).catch((P) => {
4763
+ console.error(P), r(10, A = !0), C(P);
4816
4764
  }).finally(() => {
4817
4765
  r(9, L = !1);
4818
4766
  });
4819
- })), oe = (f) => {
4820
- let d = localStorage.getItem("vendorFiltersByCategory");
4821
- f.isFilterSelected = !f.isFilterSelected, !y.length || y.filter((C) => C.name === f.name).length == 0 ? y.push(f) : r(6, y = y.filter((C) => C.name !== f.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4822
- [h]: y.map((C) => C.id)
4823
- })) : (d = JSON.parse(d), d[h] = y.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4824
- }, ee = () => {
4767
+ })), ie = (f) => {
4768
+ let p = localStorage.getItem("vendorFiltersByCategory");
4769
+ f.isFilterSelected = !f.isFilterSelected, !y.length || y.filter((C) => C.name === f.name).length == 0 ? y.push(f) : r(6, y = y.filter((C) => C.name !== f.name)), p == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4770
+ [u]: y.map((C) => C.id)
4771
+ })) : (p = JSON.parse(p), p[u] = y.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4772
+ }, K = () => {
4825
4773
  r(7, E = y.length === T.length || y.length == 0), r(8, N = y.length);
4826
- }, se = () => {
4774
+ }, oe = () => {
4827
4775
  const f = new URL(`${i}/v1/casino/vendors`);
4828
- r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", bo(_)), (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})`), ie(f);
4829
- }, te = () => {
4776
+ r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", to(_)), (u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`), ne(f);
4777
+ }, ee = () => {
4830
4778
  r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4831
- [h]: y.map((f) => f.id)
4779
+ [u]: y.map((f) => f.id)
4832
4780
  })), T.forEach((f) => f.isFilterSelected = !1), r(5, T), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, E = !0), r(4, b = !1);
4833
- }, ae = (f) => {
4781
+ }, se = (f) => {
4834
4782
  f.data.type == "SortingOpened" && r(4, b = !1);
4835
4783
  };
4836
- tn(() => (window.addEventListener("message", ae, !1), () => {
4837
- window.removeEventListener("message", ae);
4784
+ Ur(() => (window.addEventListener("message", se, !1), () => {
4785
+ window.removeEventListener("message", se);
4838
4786
  }));
4839
- const Pe = () => V();
4840
- function Ce(f, d) {
4841
- f[d].isFilterSelected = this.checked, r(5, T);
4787
+ const Pe = () => j();
4788
+ function Ae(f, p) {
4789
+ f[p].isFilterSelected = this.checked, r(5, T);
4842
4790
  }
4843
- const le = (f) => oe(f), $ = () => te();
4844
- function Q(f) {
4845
- tt[f ? "unshift" : "push"](() => {
4846
- I = f, r(3, I);
4791
+ const ae = (f) => ie(f), D = () => ee();
4792
+ function J(f) {
4793
+ Ye[f ? "unshift" : "push"](() => {
4794
+ O = f, r(3, O);
4847
4795
  });
4848
4796
  }
4849
4797
  return e.$$set = (f) => {
4850
- "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);
4798
+ "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, d = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo);
4851
4799
  }, e.$$.update = () => {
4852
4800
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4853
- 2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4854
- 524296 && u && I && M(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4855
- 1048584 && l && I && z(), e.$$.dirty[0] & /*translationurl*/
4856
- 262144 && a && O();
4801
+ 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4802
+ 524296 && h && O && M(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4803
+ 1048584 && l && O && W(), e.$$.dirty[0] & /*translationurl*/
4804
+ 262144 && a && I();
4857
4805
  }, [
4858
- p,
4806
+ d,
4859
4807
  c,
4860
4808
  m,
4861
- I,
4809
+ O,
4862
4810
  b,
4863
4811
  T,
4864
4812
  y,
4865
4813
  E,
4866
4814
  N,
4867
4815
  L,
4868
- P,
4816
+ A,
4869
4817
  n,
4870
- V,
4871
- oe,
4872
- te,
4818
+ j,
4819
+ ie,
4820
+ ee,
4873
4821
  i,
4874
4822
  o,
4875
4823
  s,
4876
4824
  a,
4877
- u,
4878
- l,
4879
4825
  h,
4826
+ l,
4827
+ u,
4880
4828
  Pe,
4881
- Ce,
4882
- le,
4883
- $,
4884
- Q
4829
+ Ae,
4830
+ ae,
4831
+ D,
4832
+ J
4885
4833
  ];
4886
4834
  }
4887
- class Ur extends cn {
4835
+ class Fr extends Jr {
4888
4836
  constructor(t) {
4889
- super(), un(
4837
+ super(), zr(
4890
4838
  this,
4891
4839
  t,
4892
- Ho,
4893
- To,
4894
- nr,
4840
+ co,
4841
+ ho,
4842
+ Zt,
4895
4843
  {
4896
4844
  endpoint: 15,
4897
4845
  datasource: 16,
@@ -4904,7 +4852,7 @@ class Ur extends cn {
4904
4852
  addsortingselector: 1,
4905
4853
  filterbylogo: 2
4906
4854
  },
4907
- yo,
4855
+ no,
4908
4856
  [-1, -1]
4909
4857
  );
4910
4858
  }
@@ -4912,106 +4860,106 @@ class Ur extends cn {
4912
4860
  return this.$$.ctx[15];
4913
4861
  }
4914
4862
  set endpoint(t) {
4915
- this.$$set({ endpoint: t }), U();
4863
+ this.$$set({ endpoint: t }), $();
4916
4864
  }
4917
4865
  get datasource() {
4918
4866
  return this.$$.ctx[16];
4919
4867
  }
4920
4868
  set datasource(t) {
4921
- this.$$set({ datasource: t }), U();
4869
+ this.$$set({ datasource: t }), $();
4922
4870
  }
4923
4871
  get lang() {
4924
4872
  return this.$$.ctx[17];
4925
4873
  }
4926
4874
  set lang(t) {
4927
- this.$$set({ lang: t }), U();
4875
+ this.$$set({ lang: t }), $();
4928
4876
  }
4929
4877
  get translationurl() {
4930
4878
  return this.$$.ctx[18];
4931
4879
  }
4932
4880
  set translationurl(t) {
4933
- this.$$set({ translationurl: t }), U();
4881
+ this.$$set({ translationurl: t }), $();
4934
4882
  }
4935
4883
  get clientstyling() {
4936
4884
  return this.$$.ctx[19];
4937
4885
  }
4938
4886
  set clientstyling(t) {
4939
- this.$$set({ clientstyling: t }), U();
4887
+ this.$$set({ clientstyling: t }), $();
4940
4888
  }
4941
4889
  get clientstylingurl() {
4942
4890
  return this.$$.ctx[20];
4943
4891
  }
4944
4892
  set clientstylingurl(t) {
4945
- this.$$set({ clientstylingurl: t }), U();
4893
+ this.$$set({ clientstylingurl: t }), $();
4946
4894
  }
4947
4895
  get categoryid() {
4948
4896
  return this.$$.ctx[21];
4949
4897
  }
4950
4898
  set categoryid(t) {
4951
- this.$$set({ categoryid: t }), U();
4899
+ this.$$set({ categoryid: t }), $();
4952
4900
  }
4953
4901
  get addfilterselector() {
4954
4902
  return this.$$.ctx[0];
4955
4903
  }
4956
4904
  set addfilterselector(t) {
4957
- this.$$set({ addfilterselector: t }), U();
4905
+ this.$$set({ addfilterselector: t }), $();
4958
4906
  }
4959
4907
  get addsortingselector() {
4960
4908
  return this.$$.ctx[1];
4961
4909
  }
4962
4910
  set addsortingselector(t) {
4963
- this.$$set({ addsortingselector: t }), U();
4911
+ this.$$set({ addsortingselector: t }), $();
4964
4912
  }
4965
4913
  get filterbylogo() {
4966
4914
  return this.$$.ctx[2];
4967
4915
  }
4968
4916
  set filterbylogo(t) {
4969
- this.$$set({ filterbylogo: t }), U();
4917
+ this.$$set({ filterbylogo: t }), $();
4970
4918
  }
4971
4919
  }
4972
- hn(Ur, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4973
- const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4920
+ Zr(Fr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4921
+ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4974
4922
  __proto__: null,
4975
- default: Ur
4923
+ default: Fr
4976
4924
  }, Symbol.toStringTag, { value: "Module" }));
4977
4925
  export {
4978
- re as $,
4979
- qr as A,
4980
- Fo as B,
4981
- po as C,
4982
- Oo as D,
4983
- Mo as E,
4984
- No as F,
4985
- Co as G,
4986
- Io as H,
4987
- Lo as I,
4988
- _e as J,
4989
- Ro as K,
4990
- cn as S,
4991
- Nr as a,
4992
- Zr as b,
4993
- hn as c,
4994
- X as d,
4926
+ te as $,
4927
+ Mr as A,
4928
+ mo as B,
4929
+ Ki as C,
4930
+ yo as D,
4931
+ xo as E,
4932
+ _o as F,
4933
+ po as G,
4934
+ go as H,
4935
+ vo as I,
4936
+ ve as J,
4937
+ Eo as K,
4938
+ Jr as S,
4939
+ Tr as a,
4940
+ Ir as b,
4941
+ Zr as c,
4942
+ V as d,
4995
4943
  F as e,
4996
- U as f,
4997
- Pt as g,
4944
+ $ as f,
4945
+ vt as g,
4998
4946
  g as h,
4999
- un as i,
5000
- W as j,
4947
+ zr as i,
4948
+ X as j,
5001
4949
  v as k,
5002
- j as l,
5003
- zr as m,
5004
- k as n,
5005
- tn as o,
5006
- mo as p,
5007
- G as q,
5008
- De as r,
5009
- nr as s,
5010
- Bo as t,
5011
- Y as u,
5012
- Po as v,
5013
- bo as w,
5014
- tt as x,
5015
- we as y,
5016
- Bt as z
4950
+ k as l,
4951
+ Or as m,
4952
+ G as n,
4953
+ Ur as o,
4954
+ eo as p,
4955
+ U as q,
4956
+ Re as r,
4957
+ Zt as s,
4958
+ bo as t,
4959
+ q as u,
4960
+ fo as v,
4961
+ to as w,
4962
+ Ye as x,
4963
+ Ee as y,
4964
+ Et as z
5017
4965
  };