@everymatrix/casino-most-played-section 1.54.0 → 1.54.4

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