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

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