@everymatrix/casino-filter 1.62.0 → 1.62.2

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,17 +1,17 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var kr = Object.getOwnPropertyDescriptors;
1
+ var Ur = Object.defineProperty, $r = Object.defineProperties;
2
+ var Gr = Object.getOwnPropertyDescriptors;
3
3
  var Tt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var ze = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4
+ var kr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
+ var Ze = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- jr.call(t, r) && ze(e, r, t[r]);
7
+ kr.call(t, r) && Ze(e, r, t[r]);
8
8
  if (Tt)
9
9
  for (var r of Tt(t))
10
- Vr.call(t, r) && ze(e, r, t[r]);
10
+ jr.call(t, r) && Ze(e, r, t[r]);
11
11
  return e;
12
- }, At = (e, t) => Gr(e, kr(t));
13
- var U = (e, t, r) => (ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ft = (e, t, r) => new Promise((n, i) => {
12
+ }, At = (e, t) => $r(e, Gr(t));
13
+ var D = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Pt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,54 +27,53 @@ var Ft = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-Bi4jDe3D.js";
31
- function G() {
30
+ function $() {
32
31
  }
33
32
  function ir(e) {
34
33
  return e();
35
34
  }
36
- function Bt() {
35
+ function Ft() {
37
36
  return /* @__PURE__ */ Object.create(null);
38
37
  }
39
- function ne(e) {
38
+ function re(e) {
40
39
  e.forEach(ir);
41
40
  }
42
- function yt(e) {
41
+ function xt(e) {
43
42
  return typeof e == "function";
44
43
  }
45
44
  function or(e, t) {
46
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
46
  }
48
- let Pe;
49
- function Pt(e, t) {
50
- return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
47
+ let Be;
48
+ function Bt(e, t) {
49
+ return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
51
50
  }
52
- function Xr(e) {
51
+ function Vr(e) {
53
52
  return Object.keys(e).length === 0;
54
53
  }
55
54
  function sr(e, ...t) {
56
55
  if (e == null) {
57
56
  for (const n of t)
58
57
  n(void 0);
59
- return G;
58
+ return $;
60
59
  }
61
60
  const r = e.subscribe(...t);
62
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
62
  }
64
- function Wr(e, t, r) {
63
+ function Xr(e, t, r) {
65
64
  e.$$.on_destroy.push(sr(t, r));
66
65
  }
67
- function g(e, t) {
66
+ function v(e, t) {
68
67
  e.appendChild(t);
69
68
  }
70
- function zr(e, t, r) {
71
- const n = Zr(e);
69
+ function Wr(e, t, r) {
70
+ const n = zr(e);
72
71
  if (!n.getElementById(t)) {
73
- const i = F("style");
74
- i.id = t, i.textContent = r, Jr(n, i);
72
+ const i = A("style");
73
+ i.id = t, i.textContent = r, Zr(n, i);
75
74
  }
76
75
  }
77
- function Zr(e) {
76
+ function zr(e) {
78
77
  if (!e)
79
78
  return document;
80
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,8 +83,8 @@ function Zr(e) {
84
83
  t
85
84
  ) : e.ownerDocument;
86
85
  }
87
- function Jr(e, t) {
88
- return g(
86
+ function Zr(e, t) {
87
+ return v(
89
88
  /** @type {Document} */
90
89
  e.head || e,
91
90
  t
@@ -94,24 +93,24 @@ function Jr(e, t) {
94
93
  function z(e, t, r) {
95
94
  e.insertBefore(t, r || null);
96
95
  }
97
- function j(e) {
96
+ function V(e) {
98
97
  e.parentNode && e.parentNode.removeChild(e);
99
98
  }
100
- function Qr(e, t) {
99
+ function Jr(e, t) {
101
100
  for (let r = 0; r < e.length; r += 1)
102
101
  e[r] && e[r].d(t);
103
102
  }
104
- function F(e) {
103
+ function A(e) {
105
104
  return document.createElement(e);
106
105
  }
107
106
  function Ce(e) {
108
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
109
108
  }
110
- function $(e) {
109
+ function U(e) {
111
110
  return document.createTextNode(e);
112
111
  }
113
112
  function k() {
114
- return $(" ");
113
+ return U(" ");
115
114
  }
116
115
  function De(e, t, r, n) {
117
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -119,21 +118,17 @@ function De(e, t, r, n) {
119
118
  function m(e, t, r) {
120
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
120
  }
122
- function Ze(e, t, r) {
123
- const n = t.toLowerCase();
124
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
125
- }
126
- function qr(e) {
121
+ function Qr(e) {
127
122
  return Array.from(e.childNodes);
128
123
  }
129
- function Y(e, t) {
124
+ function q(e, t) {
130
125
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
126
  t);
132
127
  }
133
128
  function Ct(e, t) {
134
129
  e.value = t == null ? "" : t;
135
130
  }
136
- function Yr(e) {
131
+ function qr(e) {
137
132
  const t = {};
138
133
  return e.childNodes.forEach(
139
134
  /** @param {Element} node */
@@ -142,44 +137,44 @@ function Yr(e) {
142
137
  }
143
138
  ), t;
144
139
  }
145
- let Te;
146
- function Se(e) {
147
- Te = e;
140
+ let Ee;
141
+ function xe(e) {
142
+ Ee = e;
148
143
  }
149
- function Kr() {
150
- if (!Te)
144
+ function Yr() {
145
+ if (!Ee)
151
146
  throw new Error("Function called outside component initialization");
152
- return Te;
147
+ return Ee;
153
148
  }
154
- function en(e) {
155
- Kr().$$.on_mount.push(e);
149
+ function Kr(e) {
150
+ Yr().$$.on_mount.push(e);
156
151
  }
157
152
  const ce = [], nt = [];
158
153
  let fe = [];
159
- const It = [], tn = /* @__PURE__ */ Promise.resolve();
154
+ const Ot = [], en = /* @__PURE__ */ Promise.resolve();
160
155
  let it = !1;
161
- function rn() {
162
- it || (it = !0, tn.then(M));
156
+ function tn() {
157
+ it || (it = !0, en.then(N));
163
158
  }
164
159
  function ot(e) {
165
160
  fe.push(e);
166
161
  }
167
162
  const Je = /* @__PURE__ */ new Set();
168
163
  let ue = 0;
169
- function M() {
164
+ function N() {
170
165
  if (ue !== 0)
171
166
  return;
172
- const e = Te;
167
+ const e = Ee;
173
168
  do {
174
169
  try {
175
170
  for (; ue < ce.length; ) {
176
171
  const t = ce[ue];
177
- ue++, Se(t), nn(t.$$);
172
+ ue++, xe(t), rn(t.$$);
178
173
  }
179
174
  } catch (t) {
180
175
  throw ce.length = 0, ue = 0, t;
181
176
  }
182
- for (Se(null), ce.length = 0, ue = 0; nt.length; )
177
+ for (xe(null), ce.length = 0, ue = 0; nt.length; )
183
178
  nt.pop()();
184
179
  for (let t = 0; t < fe.length; t += 1) {
185
180
  const r = fe[t];
@@ -187,53 +182,53 @@ function M() {
187
182
  }
188
183
  fe.length = 0;
189
184
  } while (ce.length);
190
- for (; It.length; )
191
- It.pop()();
192
- it = !1, Je.clear(), Se(e);
185
+ for (; Ot.length; )
186
+ Ot.pop()();
187
+ it = !1, Je.clear(), xe(e);
193
188
  }
194
- function nn(e) {
189
+ function rn(e) {
195
190
  if (e.fragment !== null) {
196
- e.update(), ne(e.before_update);
191
+ e.update(), re(e.before_update);
197
192
  const t = e.dirty;
198
193
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
199
194
  }
200
195
  }
201
- function on(e) {
196
+ function nn(e) {
202
197
  const t = [], r = [];
203
198
  fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
204
199
  }
205
- const sn = /* @__PURE__ */ new Set();
206
- function an(e, t) {
207
- e && e.i && (sn.delete(e), e.i(t));
200
+ const on = /* @__PURE__ */ new Set();
201
+ function sn(e, t) {
202
+ e && e.i && (on.delete(e), e.i(t));
208
203
  }
209
- function Ot(e) {
204
+ function It(e) {
210
205
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
211
206
  }
212
- function ln(e, t, r) {
207
+ function an(e, t, r) {
213
208
  const { fragment: n, after_update: i } = e.$$;
214
209
  n && n.m(t, r), ot(() => {
215
- const o = e.$$.on_mount.map(ir).filter(yt);
216
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
210
+ const o = e.$$.on_mount.map(ir).filter(xt);
211
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
217
212
  }), i.forEach(ot);
218
213
  }
219
- function un(e, t) {
214
+ function ln(e, t) {
220
215
  const r = e.$$;
221
- r.fragment !== null && (on(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (nn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
222
217
  }
223
- function hn(e, t) {
224
- e.$$.dirty[0] === -1 && (ce.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ function un(e, t) {
219
+ e.$$.dirty[0] === -1 && (ce.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
220
  }
226
- function cn(e, t, r, n, i, o, s = null, a = [-1]) {
227
- const u = Te;
228
- Se(e);
221
+ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ const u = Ee;
223
+ xe(e);
229
224
  const l = e.$$ = {
230
225
  fragment: null,
231
226
  ctx: [],
232
227
  // state
233
228
  props: o,
234
- update: G,
229
+ update: $,
235
230
  not_equal: i,
236
- bound: Bt(),
231
+ bound: Ft(),
237
232
  // lifecycle
238
233
  on_mount: [],
239
234
  on_destroy: [],
@@ -242,48 +237,48 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
242
237
  after_update: [],
243
238
  context: new Map(t.context || (u ? u.$$.context : [])),
244
239
  // everything else
245
- callbacks: Bt(),
240
+ callbacks: Ft(),
246
241
  dirty: a,
247
242
  skip_bound: !1,
248
243
  root: t.target || u.$$.root
249
244
  };
250
245
  s && s(l.root);
251
246
  let h = !1;
252
- if (l.ctx = r ? r(e, t.props || {}, (p, f, ...v) => {
253
- const _ = v.length ? v[0] : f;
254
- return l.ctx && i(l.ctx[p], l.ctx[p] = _) && (!l.skip_bound && l.bound[p] && l.bound[p](_), h && hn(e, p)), f;
255
- }) : [], l.update(), h = !0, ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
247
+ if (l.ctx = r ? r(e, t.props || {}, (p, f, ...y) => {
248
+ const E = y.length ? y[0] : f;
249
+ return l.ctx && i(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), h && un(e, p)), f;
250
+ }) : [], l.update(), h = !0, re(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
256
251
  if (t.hydrate) {
257
- const p = qr(t.target);
258
- l.fragment && l.fragment.l(p), p.forEach(j);
252
+ const p = Qr(t.target);
253
+ l.fragment && l.fragment.l(p), p.forEach(V);
259
254
  } else
260
255
  l.fragment && l.fragment.c();
261
- t.intro && an(e.$$.fragment), ln(e, t.target, t.anchor), M();
256
+ t.intro && sn(e.$$.fragment), an(e, t.target, t.anchor), N();
262
257
  }
263
- Se(u);
258
+ xe(u);
264
259
  }
265
260
  let ar;
266
261
  typeof HTMLElement == "function" && (ar = class extends HTMLElement {
267
262
  constructor(t, r, n) {
268
263
  super();
269
264
  /** The Svelte component constructor */
270
- U(this, "$$ctor");
265
+ D(this, "$$ctor");
271
266
  /** Slots */
272
- U(this, "$$s");
267
+ D(this, "$$s");
273
268
  /** The Svelte component instance */
274
- U(this, "$$c");
269
+ D(this, "$$c");
275
270
  /** Whether or not the custom element is connected */
276
- U(this, "$$cn", !1);
271
+ D(this, "$$cn", !1);
277
272
  /** Component props data */
278
- U(this, "$$d", {});
273
+ D(this, "$$d", {});
279
274
  /** `true` if currently in the process of reflecting component props back to attributes */
280
- U(this, "$$r", !1);
275
+ D(this, "$$r", !1);
281
276
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
282
- U(this, "$$p_d", {});
277
+ D(this, "$$p_d", {});
283
278
  /** @type {Record<string, Function[]>} Event listeners */
284
- U(this, "$$l", {});
279
+ D(this, "$$l", {});
285
280
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
286
- U(this, "$$l_u", /* @__PURE__ */ new Map());
281
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
287
282
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
288
283
  }
289
284
  addEventListener(t, r, n) {
@@ -300,14 +295,14 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
300
295
  }
301
296
  }
302
297
  connectedCallback() {
303
- return Ft(this, null, function* () {
298
+ return Pt(this, null, function* () {
304
299
  if (this.$$cn = !0, !this.$$c) {
305
300
  let t = function(o) {
306
301
  return () => {
307
302
  let s;
308
303
  return {
309
304
  c: function() {
310
- s = F("slot"), o !== "default" && m(s, "name", o);
305
+ s = A("slot"), o !== "default" && m(s, "name", o);
311
306
  },
312
307
  /**
313
308
  * @param {HTMLElement} target
@@ -317,14 +312,14 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
317
312
  z(l, s, h);
318
313
  },
319
314
  d: function(l) {
320
- l && j(s);
315
+ l && V(s);
321
316
  }
322
317
  };
323
318
  };
324
319
  };
325
320
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
326
321
  return;
327
- const r = {}, n = Yr(this);
322
+ const r = {}, n = qr(this);
328
323
  for (const o of this.$$s)
329
324
  o in n && (r[o] = [t(o)]);
330
325
  for (const o of this.attributes) {
@@ -413,7 +408,7 @@ function Le(e, t, r, n) {
413
408
  return t;
414
409
  }
415
410
  }
416
- function fn(e, t, r, n, i, o) {
411
+ function cn(e, t, r, n, i, o) {
417
412
  let s = class extends ar {
418
413
  constructor() {
419
414
  super(e, r, i), this.$$p_d = t;
@@ -444,7 +439,7 @@ function fn(e, t, r, n, i, o) {
444
439
  }), e.element = /** @type {any} */
445
440
  s, s;
446
441
  }
447
- class pn {
442
+ class fn {
448
443
  constructor() {
449
444
  /**
450
445
  * ### PRIVATE API
@@ -453,7 +448,7 @@ class pn {
453
448
  *
454
449
  * @type {any}
455
450
  */
456
- U(this, "$$");
451
+ D(this, "$$");
457
452
  /**
458
453
  * ### PRIVATE API
459
454
  *
@@ -461,11 +456,11 @@ class pn {
461
456
  *
462
457
  * @type {any}
463
458
  */
464
- U(this, "$$set");
459
+ D(this, "$$set");
465
460
  }
466
461
  /** @returns {void} */
467
462
  $destroy() {
468
- un(this, 1), this.$destroy = G;
463
+ ln(this, 1), this.$destroy = $;
469
464
  }
470
465
  /**
471
466
  * @template {Extract<keyof Events, string>} K
@@ -474,8 +469,8 @@ class pn {
474
469
  * @returns {() => void}
475
470
  */
476
471
  $on(t, r) {
477
- if (!yt(r))
478
- return G;
472
+ if (!xt(r))
473
+ return $;
479
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
480
475
  return n.push(r), () => {
481
476
  const i = n.indexOf(r);
@@ -487,11 +482,11 @@ class pn {
487
482
  * @returns {void}
488
483
  */
489
484
  $set(t) {
490
- this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
+ this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
486
  }
492
487
  }
493
- const dn = "4";
494
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
488
+ const pn = "4";
489
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
495
490
  /*! *****************************************************************************
496
491
  Copyright (c) Microsoft Corporation.
497
492
 
@@ -514,7 +509,7 @@ var st = function(e, t) {
514
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
515
510
  }, st(e, t);
516
511
  };
517
- function Z(e, t) {
512
+ function Te(e, t) {
518
513
  if (typeof t != "function" && t !== null)
519
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
520
515
  st(e, t);
@@ -523,25 +518,6 @@ function Z(e, t) {
523
518
  }
524
519
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
525
520
  }
526
- var E = function() {
527
- return E = Object.assign || function(t) {
528
- for (var r, n = 1, i = arguments.length; n < i; n++) {
529
- r = arguments[n];
530
- for (var o in r)
531
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
532
- }
533
- return t;
534
- }, E.apply(this, arguments);
535
- };
536
- function mn(e, t) {
537
- var r = {};
538
- for (var n in e)
539
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
540
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
541
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
542
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
543
- return r;
544
- }
545
521
  function at(e) {
546
522
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
547
523
  if (r)
@@ -574,8 +550,8 @@ function lt(e, t) {
574
550
  }
575
551
  return o;
576
552
  }
577
- function pe(e, t, r) {
578
- if (r || arguments.length === 2)
553
+ function ut(e, t, r) {
554
+ if (arguments.length === 2)
579
555
  for (var n = 0, i = t.length, o; n < i; n++)
580
556
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
581
557
  return e.concat(o || t);
@@ -598,13 +574,13 @@ var Qe = lr(function(e) {
598
574
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
599
575
  };
600
576
  });
601
- function ut(e, t) {
577
+ function ht(e, t) {
602
578
  if (e) {
603
579
  var r = e.indexOf(t);
604
580
  0 <= r && e.splice(r, 1);
605
581
  }
606
582
  }
607
- var Ge = function() {
583
+ var ke = function() {
608
584
  function e(t) {
609
585
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
610
586
  }
@@ -620,8 +596,8 @@ var Ge = function() {
620
596
  var l = u.value;
621
597
  l.remove(this);
622
598
  }
623
- } catch (b) {
624
- t = { error: b };
599
+ } catch (g) {
600
+ t = { error: g };
625
601
  } finally {
626
602
  try {
627
603
  u && !u.done && (r = a.return) && r.call(a);
@@ -636,26 +612,26 @@ var Ge = function() {
636
612
  if (W(h))
637
613
  try {
638
614
  h();
639
- } catch (b) {
640
- o = b instanceof Qe ? b.errors : [b];
615
+ } catch (g) {
616
+ o = g instanceof Qe ? g.errors : [g];
641
617
  }
642
618
  var p = this._finalizers;
643
619
  if (p) {
644
620
  this._finalizers = null;
645
621
  try {
646
- for (var f = at(p), v = f.next(); !v.done; v = f.next()) {
647
- var _ = v.value;
622
+ for (var f = at(p), y = f.next(); !y.done; y = f.next()) {
623
+ var E = y.value;
648
624
  try {
649
- Lt(_);
650
- } catch (b) {
651
- o = o != null ? o : [], b instanceof Qe ? o = pe(pe([], lt(o)), lt(b.errors)) : o.push(b);
625
+ Lt(E);
626
+ } catch (g) {
627
+ o = o != null ? o : [], g instanceof Qe ? o = ut(ut([], lt(o)), lt(g.errors)) : o.push(g);
652
628
  }
653
629
  }
654
- } catch (b) {
655
- n = { error: b };
630
+ } catch (g) {
631
+ n = { error: g };
656
632
  } finally {
657
633
  try {
658
- v && !v.done && (i = f.return) && i.call(f);
634
+ y && !y.done && (i = f.return) && i.call(f);
659
635
  } finally {
660
636
  if (n)
661
637
  throw n.error;
@@ -686,40 +662,36 @@ var Ge = function() {
686
662
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
687
663
  }, e.prototype._removeParent = function(t) {
688
664
  var r = this._parentage;
689
- r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
665
+ r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
690
666
  }, e.prototype.remove = function(t) {
691
667
  var r = this._finalizers;
692
- r && ut(r, t), t instanceof e && t._removeParent(this);
668
+ r && ht(r, t), t instanceof e && t._removeParent(this);
693
669
  }, e.EMPTY = function() {
694
670
  var t = new e();
695
671
  return t.closed = !0, t;
696
672
  }(), e;
697
- }(), ur = Ge.EMPTY;
673
+ }(), ur = ke.EMPTY;
698
674
  function hr(e) {
699
- return e instanceof Ge || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
675
+ return e instanceof ke || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
700
676
  }
701
677
  function Lt(e) {
702
678
  W(e) ? e() : e.unsubscribe();
703
679
  }
704
- var cr = {
705
- onUnhandledError: null,
706
- onStoppedNotification: null,
707
- Promise: void 0,
708
- useDeprecatedSynchronousErrorHandling: !1,
709
- useDeprecatedNextContext: !1
710
- }, bn = {
680
+ var dn = {
681
+ Promise: void 0
682
+ }, mn = {
711
683
  setTimeout: function(e, t) {
712
684
  for (var r = [], n = 2; n < arguments.length; n++)
713
685
  r[n - 2] = arguments[n];
714
- return setTimeout.apply(void 0, pe([e, t], lt(r)));
686
+ return setTimeout.apply(void 0, ut([e, t], lt(r)));
715
687
  },
716
688
  clearTimeout: function(e) {
717
689
  return clearTimeout(e);
718
690
  },
719
691
  delegate: void 0
720
692
  };
721
- function gn(e) {
722
- bn.setTimeout(function() {
693
+ function bn(e) {
694
+ mn.setTimeout(function() {
723
695
  throw e;
724
696
  });
725
697
  }
@@ -728,14 +700,14 @@ function Nt() {
728
700
  function Ne(e) {
729
701
  e();
730
702
  }
731
- var fr = function(e) {
732
- Z(t, e);
703
+ var cr = function(e) {
704
+ Te(t, e);
733
705
  function t(r) {
734
706
  var n = e.call(this) || this;
735
- return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = xn, n;
707
+ return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = yn, n;
736
708
  }
737
709
  return t.create = function(r, n, i) {
738
- return new ht(r, n, i);
710
+ return new ct(r, n, i);
739
711
  }, t.prototype.next = function(r) {
740
712
  this.isStopped || this._next(r);
741
713
  }, t.prototype.error = function(r) {
@@ -759,11 +731,7 @@ var fr = function(e) {
759
731
  this.unsubscribe();
760
732
  }
761
733
  }, t;
762
- }(Ge), vn = Function.prototype.bind;
763
- function qe(e, t) {
764
- return vn.call(e, t);
765
- }
766
- var yn = function() {
734
+ }(ke), gn = function() {
767
735
  function e(t) {
768
736
  this.partialObserver = t;
769
737
  }
@@ -773,7 +741,7 @@ var yn = function() {
773
741
  try {
774
742
  r.next(t);
775
743
  } catch (n) {
776
- Ie(n);
744
+ Oe(n);
777
745
  }
778
746
  }, e.prototype.error = function(t) {
779
747
  var r = this.partialObserver;
@@ -781,62 +749,50 @@ var yn = function() {
781
749
  try {
782
750
  r.error(t);
783
751
  } catch (n) {
784
- Ie(n);
752
+ Oe(n);
785
753
  }
786
754
  else
787
- Ie(t);
755
+ Oe(t);
788
756
  }, e.prototype.complete = function() {
789
757
  var t = this.partialObserver;
790
758
  if (t.complete)
791
759
  try {
792
760
  t.complete();
793
761
  } catch (r) {
794
- Ie(r);
762
+ Oe(r);
795
763
  }
796
764
  }, e;
797
- }(), ht = function(e) {
798
- Z(t, e);
765
+ }(), ct = function(e) {
766
+ Te(t, e);
799
767
  function t(r, n, i) {
800
768
  var o = e.call(this) || this, s;
801
- if (W(r) || !r)
802
- s = {
803
- next: r != null ? r : void 0,
804
- error: n != null ? n : void 0,
805
- complete: i != null ? i : void 0
806
- };
807
- else {
808
- var a;
809
- o && cr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
810
- return o.unsubscribe();
811
- }, s = {
812
- next: r.next && qe(r.next, a),
813
- error: r.error && qe(r.error, a),
814
- complete: r.complete && qe(r.complete, a)
815
- }) : s = r;
816
- }
817
- return o.destination = new yn(s), o;
769
+ return W(r) || !r ? s = {
770
+ next: r != null ? r : void 0,
771
+ error: n != null ? n : void 0,
772
+ complete: i != null ? i : void 0
773
+ } : s = r, o.destination = new gn(s), o;
818
774
  }
819
775
  return t;
820
- }(fr);
821
- function Ie(e) {
822
- gn(e);
776
+ }(cr);
777
+ function Oe(e) {
778
+ bn(e);
823
779
  }
824
- function _n(e) {
780
+ function vn(e) {
825
781
  throw e;
826
782
  }
827
- var xn = {
783
+ var yn = {
828
784
  closed: !0,
829
785
  next: Nt,
830
- error: _n,
786
+ error: vn,
831
787
  complete: Nt
832
- }, En = function() {
788
+ }, _n = function() {
833
789
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
834
790
  }();
835
- function wn(e) {
791
+ function xn(e) {
836
792
  return e;
837
793
  }
838
- function Sn(e) {
839
- return e.length === 0 ? wn : e.length === 1 ? e[0] : function(r) {
794
+ function En(e) {
795
+ return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
840
796
  return e.reduce(function(n, i) {
841
797
  return i(n);
842
798
  }, r);
@@ -850,7 +806,7 @@ var Mt = function() {
850
806
  var r = new e();
851
807
  return r.source = this, r.operator = t, r;
852
808
  }, e.prototype.subscribe = function(t, r, n) {
853
- var i = this, o = Hn(t) ? t : new ht(t, r, n);
809
+ var i = this, o = wn(t) ? t : new ct(t, r, n);
854
810
  return Ne(function() {
855
811
  var s = i, a = s.operator, u = s.source;
856
812
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -864,7 +820,7 @@ var Mt = function() {
864
820
  }, e.prototype.forEach = function(t, r) {
865
821
  var n = this;
866
822
  return r = Rt(r), new r(function(i, o) {
867
- var s = new ht({
823
+ var s = new ct({
868
824
  next: function(a) {
869
825
  try {
870
826
  t(a);
@@ -880,12 +836,12 @@ var Mt = function() {
880
836
  }, e.prototype._subscribe = function(t) {
881
837
  var r;
882
838
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
883
- }, e.prototype[En] = function() {
839
+ }, e.prototype[_n] = function() {
884
840
  return this;
885
841
  }, e.prototype.pipe = function() {
886
842
  for (var t = [], r = 0; r < arguments.length; r++)
887
843
  t[r] = arguments[r];
888
- return Sn(t)(this);
844
+ return En(t)(this);
889
845
  }, e.prototype.toPromise = function(t) {
890
846
  var r = this;
891
847
  return t = Rt(t), new t(function(n, i) {
@@ -904,20 +860,20 @@ var Mt = function() {
904
860
  }();
905
861
  function Rt(e) {
906
862
  var t;
907
- return (t = e != null ? e : cr.Promise) !== null && t !== void 0 ? t : Promise;
863
+ return (t = e != null ? e : dn.Promise) !== null && t !== void 0 ? t : Promise;
908
864
  }
909
- function Tn(e) {
865
+ function Sn(e) {
910
866
  return e && W(e.next) && W(e.error) && W(e.complete);
911
867
  }
912
- function Hn(e) {
913
- return e && e instanceof fr || Tn(e) && hr(e);
868
+ function wn(e) {
869
+ return e && e instanceof cr || Sn(e) && hr(e);
914
870
  }
915
- var An = lr(function(e) {
871
+ var Tn = lr(function(e) {
916
872
  return function() {
917
873
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
918
874
  };
919
- }), pr = function(e) {
920
- Z(t, e);
875
+ }), fr = function(e) {
876
+ Te(t, e);
921
877
  function t() {
922
878
  var r = e.call(this) || this;
923
879
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -927,7 +883,7 @@ var An = lr(function(e) {
927
883
  return n.operator = r, n;
928
884
  }, t.prototype._throwIfClosed = function() {
929
885
  if (this.closed)
930
- throw new An();
886
+ throw new Tn();
931
887
  }, t.prototype.next = function(r) {
932
888
  var n = this;
933
889
  Ne(function() {
@@ -984,8 +940,8 @@ var An = lr(function(e) {
984
940
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
985
941
  }, t.prototype._innerSubscribe = function(r) {
986
942
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
987
- return o || s ? ur : (this.currentObservers = null, a.push(r), new Ge(function() {
988
- n.currentObservers = null, ut(a, r);
943
+ return o || s ? ur : (this.currentObservers = null, a.push(r), new ke(function() {
944
+ n.currentObservers = null, ht(a, r);
989
945
  }));
990
946
  }, t.prototype._checkFinalizedStatuses = function(r) {
991
947
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -997,7 +953,7 @@ var An = lr(function(e) {
997
953
  return new Dt(r, n);
998
954
  }, t;
999
955
  }(Mt), Dt = function(e) {
1000
- Z(t, e);
956
+ Te(t, e);
1001
957
  function t(r, n) {
1002
958
  var i = e.call(this) || this;
1003
959
  return i.destination = r, i.source = n, i;
@@ -1015,15 +971,15 @@ var An = lr(function(e) {
1015
971
  var n, i;
1016
972
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
1017
973
  }, t;
1018
- }(pr), dr = {
974
+ }(fr), pr = {
1019
975
  now: function() {
1020
- return (dr.delegate || Date).now();
976
+ return (pr.delegate || Date).now();
1021
977
  },
1022
978
  delegate: void 0
1023
- }, Fn = function(e) {
1024
- Z(t, e);
979
+ }, Hn = function(e) {
980
+ Te(t, e);
1025
981
  function t(r, n, i) {
1026
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
982
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = pr);
1027
983
  var o = e.call(this) || this;
1028
984
  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;
1029
985
  }
@@ -1043,20 +999,20 @@ var An = lr(function(e) {
1043
999
  l && o.splice(0, l + 1);
1044
1000
  }
1045
1001
  }, t;
1046
- }(pr);
1047
- const Ut = [], $t = {}, Bn = (e, t = 0) => {
1002
+ }(fr);
1003
+ const Ut = [], $t = {}, An = (e, t = 0) => {
1048
1004
  if (Ut.indexOf(e) == -1) {
1049
- const r = new Fn(t);
1005
+ const r = new Hn(t);
1050
1006
  $t[e] = r, Ut.push(e);
1051
1007
  }
1052
1008
  return $t[e];
1053
1009
  }, he = [];
1054
1010
  function Pn(e, t) {
1055
1011
  return {
1056
- subscribe: ke(e, t).subscribe
1012
+ subscribe: je(e, t).subscribe
1057
1013
  };
1058
1014
  }
1059
- function ke(e, t = G) {
1015
+ function je(e, t = $) {
1060
1016
  let r;
1061
1017
  const n = /* @__PURE__ */ new Set();
1062
1018
  function i(a) {
@@ -1074,15 +1030,15 @@ function ke(e, t = G) {
1074
1030
  function o(a) {
1075
1031
  i(a(e));
1076
1032
  }
1077
- function s(a, u = G) {
1033
+ function s(a, u = $) {
1078
1034
  const l = [a, u];
1079
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1035
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
1080
1036
  n.delete(l), n.size === 0 && r && (r(), r = null);
1081
1037
  };
1082
1038
  }
1083
1039
  return { set: i, update: o, subscribe: s };
1084
1040
  }
1085
- function ve(e, t, r) {
1041
+ function ge(e, t, r) {
1086
1042
  const n = !Array.isArray(e), i = n ? [e] : e;
1087
1043
  if (!i.every(Boolean))
1088
1044
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1090,199 +1046,249 @@ function ve(e, t, r) {
1090
1046
  return Pn(r, (s, a) => {
1091
1047
  let u = !1;
1092
1048
  const l = [];
1093
- let h = 0, p = G;
1049
+ let h = 0, p = $;
1094
1050
  const f = () => {
1095
1051
  if (h)
1096
1052
  return;
1097
1053
  p();
1098
- const _ = t(n ? l[0] : l, s, a);
1099
- o ? s(_) : p = yt(_) ? _ : G;
1100
- }, v = i.map(
1101
- (_, b) => sr(
1102
- _,
1054
+ const E = t(n ? l[0] : l, s, a);
1055
+ o ? s(E) : p = xt(E) ? E : $;
1056
+ }, y = i.map(
1057
+ (E, g) => sr(
1058
+ E,
1103
1059
  (T) => {
1104
- l[b] = T, h &= ~(1 << b), u && f();
1060
+ l[g] = T, h &= ~(1 << g), u && f();
1105
1061
  },
1106
1062
  () => {
1107
- h |= 1 << b;
1063
+ h |= 1 << g;
1108
1064
  }
1109
1065
  )
1110
1066
  );
1111
1067
  return u = !0, f(), function() {
1112
- ne(v), p(), u = !1;
1068
+ re(y), p(), u = !1;
1113
1069
  };
1114
1070
  });
1115
1071
  }
1116
- function Cn(e) {
1072
+ function Fn(e) {
1117
1073
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1118
1074
  }
1119
- var In = function(t) {
1120
- return On(t) && !Ln(t);
1075
+ var Bn = function(t) {
1076
+ return Cn(t) && !On(t);
1121
1077
  };
1122
- function On(e) {
1078
+ function Cn(e) {
1123
1079
  return !!e && typeof e == "object";
1124
1080
  }
1125
- function Ln(e) {
1081
+ function On(e) {
1126
1082
  var t = Object.prototype.toString.call(e);
1127
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1083
+ return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1128
1084
  }
1129
- var Nn = typeof Symbol == "function" && Symbol.for, Mn = Nn ? Symbol.for("react.element") : 60103;
1130
- function Rn(e) {
1131
- return e.$$typeof === Mn;
1085
+ var In = typeof Symbol == "function" && Symbol.for, Ln = In ? Symbol.for("react.element") : 60103;
1086
+ function Nn(e) {
1087
+ return e.$$typeof === Ln;
1132
1088
  }
1133
- function Dn(e) {
1089
+ function Mn(e) {
1134
1090
  return Array.isArray(e) ? [] : {};
1135
1091
  }
1136
- function He(e, t) {
1137
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Dn(e), e, t) : e;
1092
+ function Se(e, t) {
1093
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(Mn(e), e, t) : e;
1138
1094
  }
1139
- function Un(e, t, r) {
1095
+ function Rn(e, t, r) {
1140
1096
  return e.concat(t).map(function(n) {
1141
- return He(n, r);
1097
+ return Se(n, r);
1142
1098
  });
1143
1099
  }
1144
- function $n(e, t) {
1100
+ function Dn(e, t) {
1145
1101
  if (!t.customMerge)
1146
- return de;
1102
+ return pe;
1147
1103
  var r = t.customMerge(e);
1148
- return typeof r == "function" ? r : de;
1104
+ return typeof r == "function" ? r : pe;
1149
1105
  }
1150
- function Gn(e) {
1106
+ function Un(e) {
1151
1107
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1152
1108
  return Object.propertyIsEnumerable.call(e, t);
1153
1109
  }) : [];
1154
1110
  }
1155
1111
  function Gt(e) {
1156
- return Object.keys(e).concat(Gn(e));
1112
+ return Object.keys(e).concat(Un(e));
1157
1113
  }
1158
- function mr(e, t) {
1114
+ function dr(e, t) {
1159
1115
  try {
1160
1116
  return t in e;
1161
1117
  } catch (r) {
1162
1118
  return !1;
1163
1119
  }
1164
1120
  }
1165
- function kn(e, t) {
1166
- return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1121
+ function $n(e, t) {
1122
+ return dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1167
1123
  }
1168
- function jn(e, t, r) {
1124
+ function Gn(e, t, r) {
1169
1125
  var n = {};
1170
1126
  return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
1171
- n[i] = He(e[i], r);
1127
+ n[i] = Se(e[i], r);
1172
1128
  }), Gt(t).forEach(function(i) {
1173
- kn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1129
+ $n(e, i) || (dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1174
1130
  }), n;
1175
1131
  }
1176
- function de(e, t, r) {
1177
- r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = He;
1132
+ function pe(e, t, r) {
1133
+ r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = Se;
1178
1134
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1179
- return o ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : He(t, r);
1135
+ return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : Se(t, r);
1180
1136
  }
1181
- de.all = function(t, r) {
1137
+ pe.all = function(t, r) {
1182
1138
  if (!Array.isArray(t))
1183
1139
  throw new Error("first argument should be an array");
1184
1140
  return t.reduce(function(n, i) {
1185
- return de(n, i, r);
1141
+ return pe(n, i, r);
1186
1142
  }, {});
1187
1143
  };
1188
- var Vn = de, Xn = Vn;
1189
- const Wn = /* @__PURE__ */ Cn(Xn);
1144
+ var kn = pe, jn = kn;
1145
+ const Vn = /* @__PURE__ */ Fn(jn);
1146
+ var ft = function(e, t) {
1147
+ return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1148
+ r.__proto__ = n;
1149
+ } || function(r, n) {
1150
+ for (var i in n)
1151
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1152
+ }, ft(e, t);
1153
+ };
1154
+ function Ve(e, t) {
1155
+ if (typeof t != "function" && t !== null)
1156
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1157
+ ft(e, t);
1158
+ function r() {
1159
+ this.constructor = e;
1160
+ }
1161
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1162
+ }
1163
+ var j = function() {
1164
+ return j = Object.assign || function(t) {
1165
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1166
+ r = arguments[n];
1167
+ for (var o in r)
1168
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1169
+ }
1170
+ return t;
1171
+ }, j.apply(this, arguments);
1172
+ };
1173
+ function Xn(e, t) {
1174
+ var r = {};
1175
+ for (var n in e)
1176
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1177
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1178
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1179
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1180
+ return r;
1181
+ }
1182
+ function qe(e, t, r) {
1183
+ if (r || arguments.length === 2)
1184
+ for (var n = 0, i = t.length, o; n < i; n++)
1185
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1186
+ return e.concat(o || Array.prototype.slice.call(t));
1187
+ }
1190
1188
  function Ye(e, t) {
1191
- var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1189
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : Zn;
1192
1190
  return i(e, {
1193
1191
  cache: r,
1194
1192
  serializer: n
1195
1193
  });
1196
1194
  }
1197
- function zn(e) {
1195
+ function Wn(e) {
1198
1196
  return e == null || typeof e == "number" || typeof e == "boolean";
1199
1197
  }
1200
- function br(e, t, r, n) {
1201
- var i = zn(n) ? n : r(n), o = t.get(i);
1198
+ function zn(e, t, r, n) {
1199
+ var i = Wn(n) ? n : r(n), o = t.get(i);
1202
1200
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1203
1201
  }
1204
- function gr(e, t, r) {
1202
+ function mr(e, t, r) {
1205
1203
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1206
1204
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1207
1205
  }
1208
- function _t(e, t, r, n, i) {
1206
+ function br(e, t, r, n, i) {
1209
1207
  return r.bind(t, e, n, i);
1210
1208
  }
1211
1209
  function Zn(e, t) {
1212
- var r = e.length === 1 ? br : gr;
1213
- return _t(e, this, r, t.cache.create(), t.serializer);
1210
+ var r = e.length === 1 ? zn : mr;
1211
+ return br(e, this, r, t.cache.create(), t.serializer);
1214
1212
  }
1215
1213
  function Jn(e, t) {
1216
- return _t(e, this, gr, t.cache.create(), t.serializer);
1214
+ return br(e, this, mr, t.cache.create(), t.serializer);
1217
1215
  }
1218
- function Qn(e, t) {
1219
- return _t(e, this, br, t.cache.create(), t.serializer);
1220
- }
1221
- var qn = function() {
1216
+ var Qn = function() {
1222
1217
  return JSON.stringify(arguments);
1223
- };
1224
- function xt() {
1225
- this.cache = /* @__PURE__ */ Object.create(null);
1226
- }
1227
- xt.prototype.get = function(e) {
1228
- return this.cache[e];
1229
- };
1230
- xt.prototype.set = function(e, t) {
1231
- this.cache[e] = t;
1232
- };
1233
- var Yn = {
1218
+ }, qn = (
1219
+ /** @class */
1220
+ function() {
1221
+ function e() {
1222
+ this.cache = /* @__PURE__ */ Object.create(null);
1223
+ }
1224
+ return e.prototype.get = function(t) {
1225
+ return this.cache[t];
1226
+ }, e.prototype.set = function(t, r) {
1227
+ this.cache[t] = r;
1228
+ }, e;
1229
+ }()
1230
+ ), Yn = {
1234
1231
  create: function() {
1235
- return new xt();
1232
+ return new qn();
1236
1233
  }
1237
1234
  }, Ke = {
1238
- variadic: Jn,
1239
- monadic: Qn
1240
- }, y;
1235
+ variadic: Jn
1236
+ }, Ue = function() {
1237
+ return Ue = Object.assign || function(t) {
1238
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
+ r = arguments[n];
1240
+ for (var o in r)
1241
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
+ }
1243
+ return t;
1244
+ }, Ue.apply(this, arguments);
1245
+ };
1246
+ var x;
1241
1247
  (function(e) {
1242
1248
  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";
1243
- })(y || (y = {}));
1244
- var B;
1249
+ })(x || (x = {}));
1250
+ var P;
1245
1251
  (function(e) {
1246
1252
  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";
1247
- })(B || (B = {}));
1248
- var me;
1253
+ })(P || (P = {}));
1254
+ var de;
1249
1255
  (function(e) {
1250
1256
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1251
- })(me || (me = {}));
1257
+ })(de || (de = {}));
1252
1258
  function kt(e) {
1253
- return e.type === B.literal;
1259
+ return e.type === P.literal;
1254
1260
  }
1255
1261
  function Kn(e) {
1256
- return e.type === B.argument;
1262
+ return e.type === P.argument;
1263
+ }
1264
+ function gr(e) {
1265
+ return e.type === P.number;
1257
1266
  }
1258
1267
  function vr(e) {
1259
- return e.type === B.number;
1268
+ return e.type === P.date;
1260
1269
  }
1261
1270
  function yr(e) {
1262
- return e.type === B.date;
1271
+ return e.type === P.time;
1263
1272
  }
1264
1273
  function _r(e) {
1265
- return e.type === B.time;
1274
+ return e.type === P.select;
1266
1275
  }
1267
1276
  function xr(e) {
1268
- return e.type === B.select;
1269
- }
1270
- function Er(e) {
1271
- return e.type === B.plural;
1277
+ return e.type === P.plural;
1272
1278
  }
1273
1279
  function ei(e) {
1274
- return e.type === B.pound;
1280
+ return e.type === P.pound;
1275
1281
  }
1276
- function wr(e) {
1277
- return e.type === B.tag;
1282
+ function Er(e) {
1283
+ return e.type === P.tag;
1278
1284
  }
1279
1285
  function Sr(e) {
1280
- return !!(e && typeof e == "object" && e.type === me.number);
1286
+ return !!(e && typeof e == "object" && e.type === de.number);
1281
1287
  }
1282
- function ct(e) {
1283
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1288
+ function pt(e) {
1289
+ return !!(e && typeof e == "object" && e.type === de.dateTime);
1284
1290
  }
1285
- var Tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
1291
+ var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
1286
1292
  function ri(e) {
1287
1293
  var t = {};
1288
1294
  return e.replace(ti, function(r) {
@@ -1374,6 +1380,16 @@ function ri(e) {
1374
1380
  return "";
1375
1381
  }), t;
1376
1382
  }
1383
+ var B = function() {
1384
+ return B = Object.assign || function(t) {
1385
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1386
+ r = arguments[n];
1387
+ for (var o in r)
1388
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1389
+ }
1390
+ return t;
1391
+ }, B.apply(this, arguments);
1392
+ };
1377
1393
  var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1378
1394
  function ii(e) {
1379
1395
  if (e.length === 0)
@@ -1396,14 +1412,14 @@ function ii(e) {
1396
1412
  function oi(e) {
1397
1413
  return e.replace(/^(.*?)-/, "");
1398
1414
  }
1399
- var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Ar = /^(0+)$/;
1415
+ var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1400
1416
  function Vt(e) {
1401
1417
  var t = {};
1402
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, i) {
1418
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1403
1419
  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)), "";
1404
1420
  }), t;
1405
1421
  }
1406
- function Fr(e) {
1422
+ function Ar(e) {
1407
1423
  switch (e) {
1408
1424
  case "sign-auto":
1409
1425
  return {
@@ -1451,14 +1467,14 @@ function ai(e) {
1451
1467
  notation: "scientific"
1452
1468
  }, e = e.slice(1)), t) {
1453
1469
  var r = e.slice(0, 2);
1454
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ar.test(e))
1470
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1455
1471
  throw new Error("Malformed concise eng/scientific notation");
1456
1472
  t.minimumIntegerDigits = e.length;
1457
1473
  }
1458
1474
  return t;
1459
1475
  }
1460
1476
  function Xt(e) {
1461
- var t = {}, r = Fr(e);
1477
+ var t = {}, r = Ar(e);
1462
1478
  return r || t;
1463
1479
  }
1464
1480
  function li(e) {
@@ -1496,13 +1512,13 @@ function li(e) {
1496
1512
  t.notation = "compact", t.compactDisplay = "long";
1497
1513
  continue;
1498
1514
  case "scientific":
1499
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1500
- return E(E({}, u), Xt(l));
1515
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1516
+ return B(B({}, u), Xt(l));
1501
1517
  }, {}));
1502
1518
  continue;
1503
1519
  case "engineering":
1504
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1505
- return E(E({}, u), Xt(l));
1520
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1521
+ return B(B({}, u), Xt(l));
1506
1522
  }, {}));
1507
1523
  continue;
1508
1524
  case "notation-simple":
@@ -1547,45 +1563,45 @@ function li(e) {
1547
1563
  case "integer-width":
1548
1564
  if (i.options.length > 1)
1549
1565
  throw new RangeError("integer-width stems only accept a single optional option");
1550
- i.options[0].replace(si, function(u, l, h, p, f, v) {
1566
+ i.options[0].replace(si, function(u, l, h, p, f, y) {
1551
1567
  if (l)
1552
1568
  t.minimumIntegerDigits = h.length;
1553
1569
  else {
1554
1570
  if (p && f)
1555
1571
  throw new Error("We currently do not support maximum integer digits");
1556
- if (v)
1572
+ if (y)
1557
1573
  throw new Error("We currently do not support exact integer digits");
1558
1574
  }
1559
1575
  return "";
1560
1576
  });
1561
1577
  continue;
1562
1578
  }
1563
- if (Ar.test(i.stem)) {
1579
+ if (Hr.test(i.stem)) {
1564
1580
  t.minimumIntegerDigits = i.stem.length;
1565
1581
  continue;
1566
1582
  }
1567
1583
  if (jt.test(i.stem)) {
1568
1584
  if (i.options.length > 1)
1569
1585
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1570
- i.stem.replace(jt, function(u, l, h, p, f, v) {
1571
- return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1586
+ i.stem.replace(jt, function(u, l, h, p, f, y) {
1587
+ return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1572
1588
  });
1573
1589
  var o = i.options[0];
1574
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Vt(o)));
1590
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), Vt(o)));
1575
1591
  continue;
1576
1592
  }
1577
- if (Hr.test(i.stem)) {
1578
- t = E(E({}, t), Vt(i.stem));
1593
+ if (Tr.test(i.stem)) {
1594
+ t = B(B({}, t), Vt(i.stem));
1579
1595
  continue;
1580
1596
  }
1581
- var s = Fr(i.stem);
1582
- s && (t = E(E({}, t), s));
1597
+ var s = Ar(i.stem);
1598
+ s && (t = B(B({}, t), s));
1583
1599
  var a = ai(i.stem);
1584
- a && (t = E(E({}, t), a));
1600
+ a && (t = B(B({}, t), a));
1585
1601
  }
1586
1602
  return t;
1587
1603
  }
1588
- var Oe = {
1604
+ var Ie = {
1589
1605
  "001": [
1590
1606
  "H",
1591
1607
  "h"
@@ -3035,21 +3051,21 @@ function hi(e) {
3035
3051
  }
3036
3052
  var r = e.language, n;
3037
3053
  r !== "root" && (n = e.maximize().region);
3038
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3054
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3039
3055
  return i[0];
3040
3056
  }
3041
- var et, ci = new RegExp("^".concat(Tr.source, "*")), fi = new RegExp("".concat(Tr.source, "*$"));
3042
- function x(e, t) {
3057
+ var et, ci = new RegExp("^".concat(wr.source, "*")), fi = new RegExp("".concat(wr.source, "*$"));
3058
+ function S(e, t) {
3043
3059
  return { start: e, end: t };
3044
3060
  }
3045
3061
  var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, _i = yi ? Number.isSafeInteger : function(e) {
3046
3062
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3047
- }, ft = !0;
3063
+ }, dt = !0;
3048
3064
  try {
3049
- var xi = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3050
- ft = ((et = xi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3065
+ var xi = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
+ dt = ((et = xi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3051
3067
  } catch (e) {
3052
- ft = !1;
3068
+ dt = !1;
3053
3069
  }
3054
3070
  var Wt = pi ? (
3055
3071
  // Native
@@ -3061,7 +3077,7 @@ var Wt = pi ? (
3061
3077
  function(t, r, n) {
3062
3078
  return t.slice(n, n + r.length) === r;
3063
3079
  }
3064
- ), pt = di ? String.fromCodePoint : (
3080
+ ), mt = di ? String.fromCodePoint : (
3065
3081
  // IE11
3066
3082
  function() {
3067
3083
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3085,7 +3101,7 @@ var Wt = pi ? (
3085
3101
  return r;
3086
3102
  }
3087
3103
  )
3088
- ), Br = bi ? (
3104
+ ), Pr = bi ? (
3089
3105
  // Native
3090
3106
  function(t, r) {
3091
3107
  return t.codePointAt(r);
@@ -3109,7 +3125,7 @@ var Wt = pi ? (
3109
3125
  function(t) {
3110
3126
  return t.replace(ci, "");
3111
3127
  }
3112
- ), wi = vi ? (
3128
+ ), Si = vi ? (
3113
3129
  // Native
3114
3130
  function(t) {
3115
3131
  return t.trimEnd();
@@ -3120,29 +3136,29 @@ var Wt = pi ? (
3120
3136
  return t.replace(fi, "");
3121
3137
  }
3122
3138
  );
3123
- function Pr(e, t) {
3139
+ function Fr(e, t) {
3124
3140
  return new RegExp(e, t);
3125
3141
  }
3126
- var dt;
3127
- if (ft) {
3128
- var Zt = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3129
- dt = function(t, r) {
3142
+ var bt;
3143
+ if (dt) {
3144
+ var Zt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
+ bt = function(t, r) {
3130
3146
  var n;
3131
3147
  Zt.lastIndex = r;
3132
3148
  var i = Zt.exec(t);
3133
3149
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3134
3150
  };
3135
3151
  } else
3136
- dt = function(t, r) {
3152
+ bt = function(t, r) {
3137
3153
  for (var n = []; ; ) {
3138
- var i = Br(t, r);
3139
- if (i === void 0 || Cr(i) || Ai(i))
3154
+ var i = Pr(t, r);
3155
+ if (i === void 0 || Br(i) || Ai(i))
3140
3156
  break;
3141
3157
  n.push(i), r += i >= 65536 ? 2 : 1;
3142
3158
  }
3143
- return pt.apply(void 0, n);
3159
+ return mt.apply(void 0, n);
3144
3160
  };
3145
- var Si = (
3161
+ var wi = (
3146
3162
  /** @class */
3147
3163
  function() {
3148
3164
  function e(t, r) {
@@ -3166,14 +3182,14 @@ var Si = (
3166
3182
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3167
3183
  var a = this.clonePosition();
3168
3184
  this.bump(), i.push({
3169
- type: B.pound,
3170
- location: x(a, this.clonePosition())
3185
+ type: P.pound,
3186
+ location: S(a, this.clonePosition())
3171
3187
  });
3172
3188
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3173
3189
  if (n)
3174
3190
  break;
3175
- return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3176
- } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3191
+ return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3192
+ } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3177
3193
  var s = this.parseTag(t, r);
3178
3194
  if (s.err)
3179
3195
  return s;
@@ -3194,9 +3210,9 @@ var Si = (
3194
3210
  if (this.bumpSpace(), this.bumpIf("/>"))
3195
3211
  return {
3196
3212
  val: {
3197
- type: B.literal,
3213
+ type: P.literal,
3198
3214
  value: "<".concat(i, "/>"),
3199
- location: x(n, this.clonePosition())
3215
+ location: S(n, this.clonePosition())
3200
3216
  },
3201
3217
  err: null
3202
3218
  };
@@ -3206,22 +3222,22 @@ var Si = (
3206
3222
  return o;
3207
3223
  var s = o.val, a = this.clonePosition();
3208
3224
  if (this.bumpIf("</")) {
3209
- if (this.isEOF() || !mt(this.char()))
3210
- return this.error(y.INVALID_TAG, x(a, this.clonePosition()));
3225
+ if (this.isEOF() || !gt(this.char()))
3226
+ return this.error(x.INVALID_TAG, S(a, this.clonePosition()));
3211
3227
  var u = this.clonePosition(), l = this.parseTagName();
3212
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3228
+ return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3213
3229
  val: {
3214
- type: B.tag,
3230
+ type: P.tag,
3215
3231
  value: i,
3216
3232
  children: s,
3217
- location: x(n, this.clonePosition())
3233
+ location: S(n, this.clonePosition())
3218
3234
  },
3219
3235
  err: null
3220
- } : this.error(y.INVALID_TAG, x(a, this.clonePosition())));
3236
+ } : this.error(x.INVALID_TAG, S(a, this.clonePosition())));
3221
3237
  } else
3222
- return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
3238
+ return this.error(x.UNCLOSED_TAG, S(n, this.clonePosition()));
3223
3239
  } else
3224
- return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
3240
+ return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
3225
3241
  }, e.prototype.parseTagName = function() {
3226
3242
  var t = this.offset();
3227
3243
  for (this.bump(); !this.isEOF() && Hi(this.char()); )
@@ -3246,9 +3262,9 @@ var Si = (
3246
3262
  }
3247
3263
  break;
3248
3264
  }
3249
- var u = x(n, this.clonePosition());
3265
+ var u = S(n, this.clonePosition());
3250
3266
  return {
3251
- val: { type: B.literal, value: i, location: u },
3267
+ val: { type: P.literal, value: i, location: u },
3252
3268
  err: null
3253
3269
  };
3254
3270
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3287,49 +3303,49 @@ var Si = (
3287
3303
  r.push(n);
3288
3304
  this.bump();
3289
3305
  }
3290
- return pt.apply(void 0, r);
3306
+ return mt.apply(void 0, r);
3291
3307
  }, e.prototype.tryParseUnquoted = function(t, r) {
3292
3308
  if (this.isEOF())
3293
3309
  return null;
3294
3310
  var n = this.char();
3295
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3311
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3296
3312
  }, e.prototype.parseArgument = function(t, r) {
3297
3313
  var n = this.clonePosition();
3298
3314
  if (this.bump(), this.bumpSpace(), this.isEOF())
3299
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3315
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3300
3316
  if (this.char() === 125)
3301
- return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3317
+ return this.bump(), this.error(x.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3302
3318
  var i = this.parseIdentifierIfPossible().value;
3303
3319
  if (!i)
3304
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3320
+ return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3305
3321
  if (this.bumpSpace(), this.isEOF())
3306
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3322
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3307
3323
  switch (this.char()) {
3308
3324
  case 125:
3309
3325
  return this.bump(), {
3310
3326
  val: {
3311
- type: B.argument,
3327
+ type: P.argument,
3312
3328
  // value does not include the opening and closing braces.
3313
3329
  value: i,
3314
- location: x(n, this.clonePosition())
3330
+ location: S(n, this.clonePosition())
3315
3331
  },
3316
3332
  err: null
3317
3333
  };
3318
3334
  case 44:
3319
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3335
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3320
3336
  default:
3321
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3337
+ return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3322
3338
  }
3323
3339
  }, e.prototype.parseIdentifierIfPossible = function() {
3324
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3340
+ var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3325
3341
  this.bumpTo(i);
3326
- var o = this.clonePosition(), s = x(t, o);
3342
+ var o = this.clonePosition(), s = S(t, o);
3327
3343
  return { value: n, location: s };
3328
3344
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3329
3345
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3330
3346
  switch (a) {
3331
3347
  case "":
3332
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, u));
3348
+ return this.error(x.EXPECT_ARGUMENT_TYPE, S(s, u));
3333
3349
  case "number":
3334
3350
  case "date":
3335
3351
  case "time": {
@@ -3340,46 +3356,46 @@ var Si = (
3340
3356
  var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3341
3357
  if (p.err)
3342
3358
  return p;
3343
- var f = wi(p.val);
3359
+ var f = Si(p.val);
3344
3360
  if (f.length === 0)
3345
- return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3346
- var v = x(h, this.clonePosition());
3347
- l = { style: f, styleLocation: v };
3361
+ return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3362
+ var y = S(h, this.clonePosition());
3363
+ l = { style: f, styleLocation: y };
3348
3364
  }
3349
- var _ = this.tryParseArgumentClose(i);
3350
- if (_.err)
3351
- return _;
3352
- var b = x(i, this.clonePosition());
3365
+ var E = this.tryParseArgumentClose(i);
3366
+ if (E.err)
3367
+ return E;
3368
+ var g = S(i, this.clonePosition());
3353
3369
  if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
3354
3370
  var T = Ei(l.style.slice(2));
3355
3371
  if (a === "number") {
3356
3372
  var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3357
3373
  return p.err ? p : {
3358
- val: { type: B.number, value: n, location: b, style: p.val },
3374
+ val: { type: P.number, value: n, location: g, style: p.val },
3359
3375
  err: null
3360
3376
  };
3361
3377
  } else {
3362
3378
  if (T.length === 0)
3363
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3379
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, g);
3364
3380
  var H = T;
3365
3381
  this.locale && (H = ui(T, this.locale));
3366
3382
  var f = {
3367
- type: me.dateTime,
3383
+ type: de.dateTime,
3368
3384
  pattern: H,
3369
3385
  location: l.styleLocation,
3370
3386
  parsedOptions: this.shouldParseSkeletons ? ri(H) : {}
3371
- }, S = a === "date" ? B.date : B.time;
3387
+ }, w = a === "date" ? P.date : P.time;
3372
3388
  return {
3373
- val: { type: S, value: n, location: b, style: f },
3389
+ val: { type: w, value: n, location: g, style: f },
3374
3390
  err: null
3375
3391
  };
3376
3392
  }
3377
3393
  }
3378
3394
  return {
3379
3395
  val: {
3380
- type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3396
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3381
3397
  value: n,
3382
- location: b,
3398
+ location: g,
3383
3399
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3384
3400
  },
3385
3401
  err: null
@@ -3388,52 +3404,52 @@ var Si = (
3388
3404
  case "plural":
3389
3405
  case "selectordinal":
3390
3406
  case "select": {
3391
- var d = this.clonePosition();
3407
+ var b = this.clonePosition();
3392
3408
  if (this.bumpSpace(), !this.bumpIf(","))
3393
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(d, E({}, d)));
3409
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(b, Ue({}, b)));
3394
3410
  this.bumpSpace();
3395
- var C = this.parseIdentifierIfPossible(), L = 0;
3411
+ var C = this.parseIdentifierIfPossible(), I = 0;
3396
3412
  if (a !== "select" && C.value === "offset") {
3397
3413
  if (!this.bumpIf(":"))
3398
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3414
+ return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3399
3415
  this.bumpSpace();
3400
- var p = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3416
+ var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3401
3417
  if (p.err)
3402
3418
  return p;
3403
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), L = p.val;
3419
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), I = p.val;
3404
3420
  }
3405
- var R = this.tryParsePluralOrSelectOptions(t, a, r, C);
3406
- if (R.err)
3407
- return R;
3408
- var _ = this.tryParseArgumentClose(i);
3409
- if (_.err)
3410
- return _;
3411
- var V = x(i, this.clonePosition());
3421
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, C);
3422
+ if (M.err)
3423
+ return M;
3424
+ var E = this.tryParseArgumentClose(i);
3425
+ if (E.err)
3426
+ return E;
3427
+ var X = S(i, this.clonePosition());
3412
3428
  return a === "select" ? {
3413
3429
  val: {
3414
- type: B.select,
3430
+ type: P.select,
3415
3431
  value: n,
3416
- options: zt(R.val),
3417
- location: V
3432
+ options: zt(M.val),
3433
+ location: X
3418
3434
  },
3419
3435
  err: null
3420
3436
  } : {
3421
3437
  val: {
3422
- type: B.plural,
3438
+ type: P.plural,
3423
3439
  value: n,
3424
- options: zt(R.val),
3425
- offset: L,
3440
+ options: zt(M.val),
3441
+ offset: I,
3426
3442
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3427
- location: V
3443
+ location: X
3428
3444
  },
3429
3445
  err: null
3430
3446
  };
3431
3447
  }
3432
3448
  default:
3433
- return this.error(y.INVALID_ARGUMENT_TYPE, x(s, u));
3449
+ return this.error(x.INVALID_ARGUMENT_TYPE, S(s, u));
3434
3450
  }
3435
3451
  }, e.prototype.tryParseArgumentClose = function(t) {
3436
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3452
+ return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3437
3453
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3438
3454
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3439
3455
  var n = this.char();
@@ -3442,7 +3458,7 @@ var Si = (
3442
3458
  this.bump();
3443
3459
  var i = this.clonePosition();
3444
3460
  if (!this.bumpUntil("'"))
3445
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3461
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3446
3462
  this.bump();
3447
3463
  break;
3448
3464
  }
@@ -3474,11 +3490,11 @@ var Si = (
3474
3490
  try {
3475
3491
  n = ii(t);
3476
3492
  } catch (i) {
3477
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3493
+ return this.error(x.INVALID_NUMBER_SKELETON, r);
3478
3494
  }
3479
3495
  return {
3480
3496
  val: {
3481
- type: me.number,
3497
+ type: de.number,
3482
3498
  tokens: n,
3483
3499
  location: r,
3484
3500
  parsedOptions: this.shouldParseSkeletons ? li(n) : {}
@@ -3490,34 +3506,34 @@ var Si = (
3490
3506
  if (l.length === 0) {
3491
3507
  var p = this.clonePosition();
3492
3508
  if (r !== "select" && this.bumpIf("=")) {
3493
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3509
+ var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3494
3510
  if (f.err)
3495
3511
  return f;
3496
- h = x(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3512
+ h = S(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3497
3513
  } else
3498
3514
  break;
3499
3515
  }
3500
3516
  if (u.has(l))
3501
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3517
+ return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3502
3518
  l === "other" && (s = !0), this.bumpSpace();
3503
- var v = this.clonePosition();
3519
+ var y = this.clonePosition();
3504
3520
  if (!this.bumpIf("{"))
3505
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3506
- var _ = this.parseMessage(t + 1, r, n);
3507
- if (_.err)
3508
- return _;
3509
- var b = this.tryParseArgumentClose(v);
3510
- if (b.err)
3511
- return b;
3521
+ return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3522
+ var E = this.parseMessage(t + 1, r, n);
3523
+ if (E.err)
3524
+ return E;
3525
+ var g = this.tryParseArgumentClose(y);
3526
+ if (g.err)
3527
+ return g;
3512
3528
  a.push([
3513
3529
  l,
3514
3530
  {
3515
- value: _.val,
3516
- location: x(v, this.clonePosition())
3531
+ value: E.val,
3532
+ location: S(y, this.clonePosition())
3517
3533
  }
3518
3534
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3519
3535
  }
3520
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3536
+ return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3521
3537
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3522
3538
  var n = 1, i = this.clonePosition();
3523
3539
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3528,7 +3544,7 @@ var Si = (
3528
3544
  else
3529
3545
  break;
3530
3546
  }
3531
- var u = x(i, this.clonePosition());
3547
+ var u = S(i, this.clonePosition());
3532
3548
  return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3533
3549
  }, e.prototype.offset = function() {
3534
3550
  return this.position.offset;
@@ -3544,7 +3560,7 @@ var Si = (
3544
3560
  var t = this.position.offset;
3545
3561
  if (t >= this.message.length)
3546
3562
  throw Error("out of bound");
3547
- var r = Br(this.message, t);
3563
+ var r = Pr(this.message, t);
3548
3564
  if (r === void 0)
3549
3565
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3550
3566
  return r;
@@ -3585,7 +3601,7 @@ var Si = (
3585
3601
  break;
3586
3602
  }
3587
3603
  }, e.prototype.bumpSpace = function() {
3588
- for (; !this.isEOF() && Cr(this.char()); )
3604
+ for (; !this.isEOF() && Br(this.char()); )
3589
3605
  this.bump();
3590
3606
  }, e.prototype.peek = function() {
3591
3607
  if (this.isEOF())
@@ -3595,47 +3611,47 @@ var Si = (
3595
3611
  }, e;
3596
3612
  }()
3597
3613
  );
3598
- function mt(e) {
3614
+ function gt(e) {
3599
3615
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3600
3616
  }
3601
3617
  function Ti(e) {
3602
- return mt(e) || e === 47;
3618
+ return gt(e) || e === 47;
3603
3619
  }
3604
3620
  function Hi(e) {
3605
3621
  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;
3606
3622
  }
3607
- function Cr(e) {
3623
+ function Br(e) {
3608
3624
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3609
3625
  }
3610
3626
  function Ai(e) {
3611
3627
  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;
3612
3628
  }
3613
- function bt(e) {
3629
+ function vt(e) {
3614
3630
  e.forEach(function(t) {
3615
- if (delete t.location, xr(t) || Er(t))
3631
+ if (delete t.location, _r(t) || xr(t))
3616
3632
  for (var r in t.options)
3617
- delete t.options[r].location, bt(t.options[r].value);
3633
+ delete t.options[r].location, vt(t.options[r].value);
3618
3634
  else
3619
- vr(t) && Sr(t.style) || (yr(t) || _r(t)) && ct(t.style) ? delete t.style.location : wr(t) && bt(t.children);
3635
+ gr(t) && Sr(t.style) || (vr(t) || yr(t)) && pt(t.style) ? delete t.style.location : Er(t) && vt(t.children);
3620
3636
  });
3621
3637
  }
3622
- function Fi(e, t) {
3623
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3624
- var r = new Si(e, t).parse();
3638
+ function Pi(e, t) {
3639
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
+ var r = new wi(e, t).parse();
3625
3641
  if (r.err) {
3626
- var n = SyntaxError(y[r.err.kind]);
3642
+ var n = SyntaxError(x[r.err.kind]);
3627
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3628
3644
  }
3629
- return t != null && t.captureLocation || bt(r.val), r.val;
3645
+ return t != null && t.captureLocation || vt(r.val), r.val;
3630
3646
  }
3631
- var be;
3647
+ var me;
3632
3648
  (function(e) {
3633
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3634
- })(be || (be = {}));
3635
- var je = (
3650
+ })(me || (me = {}));
3651
+ var Xe = (
3636
3652
  /** @class */
3637
3653
  function(e) {
3638
- Z(t, e);
3654
+ Ve(t, e);
3639
3655
  function t(r, n, i) {
3640
3656
  var o = e.call(this, r) || this;
3641
3657
  return o.code = n, o.originalMessage = i, o;
@@ -3647,48 +3663,48 @@ var je = (
3647
3663
  ), Jt = (
3648
3664
  /** @class */
3649
3665
  function(e) {
3650
- Z(t, e);
3666
+ Ve(t, e);
3651
3667
  function t(r, n, i, o) {
3652
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3668
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3653
3669
  }
3654
3670
  return t;
3655
- }(je)
3656
- ), Bi = (
3671
+ }(Xe)
3672
+ ), Fi = (
3657
3673
  /** @class */
3658
3674
  function(e) {
3659
- Z(t, e);
3675
+ Ve(t, e);
3660
3676
  function t(r, n, i) {
3661
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3677
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3662
3678
  }
3663
3679
  return t;
3664
- }(je)
3665
- ), Pi = (
3680
+ }(Xe)
3681
+ ), Bi = (
3666
3682
  /** @class */
3667
3683
  function(e) {
3668
- Z(t, e);
3684
+ Ve(t, e);
3669
3685
  function t(r, n) {
3670
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3686
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3671
3687
  }
3672
3688
  return t;
3673
- }(je)
3674
- ), N;
3689
+ }(Xe)
3690
+ ), L;
3675
3691
  (function(e) {
3676
3692
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3677
- })(N || (N = {}));
3693
+ })(L || (L = {}));
3678
3694
  function Ci(e) {
3679
3695
  return e.length < 2 ? e : e.reduce(function(t, r) {
3680
3696
  var n = t[t.length - 1];
3681
- return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3697
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3682
3698
  }, []);
3683
3699
  }
3684
- function Ii(e) {
3700
+ function Oi(e) {
3685
3701
  return typeof e == "function";
3686
3702
  }
3687
3703
  function Me(e, t, r, n, i, o, s) {
3688
3704
  if (e.length === 1 && kt(e[0]))
3689
3705
  return [
3690
3706
  {
3691
- type: N.literal,
3707
+ type: L.literal,
3692
3708
  value: e[0].value
3693
3709
  }
3694
3710
  ];
@@ -3696,101 +3712,101 @@ function Me(e, t, r, n, i, o, s) {
3696
3712
  var h = l[u];
3697
3713
  if (kt(h)) {
3698
3714
  a.push({
3699
- type: N.literal,
3715
+ type: L.literal,
3700
3716
  value: h.value
3701
3717
  });
3702
3718
  continue;
3703
3719
  }
3704
3720
  if (ei(h)) {
3705
3721
  typeof o == "number" && a.push({
3706
- type: N.literal,
3722
+ type: L.literal,
3707
3723
  value: r.getNumberFormat(t).format(o)
3708
3724
  });
3709
3725
  continue;
3710
3726
  }
3711
3727
  var p = h.value;
3712
3728
  if (!(i && p in i))
3713
- throw new Pi(p, s);
3729
+ throw new Bi(p, s);
3714
3730
  var f = i[p];
3715
3731
  if (Kn(h)) {
3716
3732
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3717
- type: typeof f == "string" ? N.literal : N.object,
3733
+ type: typeof f == "string" ? L.literal : L.object,
3718
3734
  value: f
3719
3735
  });
3720
3736
  continue;
3721
3737
  }
3722
- if (yr(h)) {
3723
- var v = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3738
+ if (vr(h)) {
3739
+ var y = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3724
3740
  a.push({
3725
- type: N.literal,
3726
- value: r.getDateTimeFormat(t, v).format(f)
3741
+ type: L.literal,
3742
+ value: r.getDateTimeFormat(t, y).format(f)
3727
3743
  });
3728
3744
  continue;
3729
3745
  }
3730
- if (_r(h)) {
3731
- var v = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3746
+ if (yr(h)) {
3747
+ var y = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3732
3748
  a.push({
3733
- type: N.literal,
3734
- value: r.getDateTimeFormat(t, v).format(f)
3749
+ type: L.literal,
3750
+ value: r.getDateTimeFormat(t, y).format(f)
3735
3751
  });
3736
3752
  continue;
3737
3753
  }
3738
- if (vr(h)) {
3739
- var v = typeof h.style == "string" ? n.number[h.style] : Sr(h.style) ? h.style.parsedOptions : void 0;
3740
- v && v.scale && (f = f * (v.scale || 1)), a.push({
3741
- type: N.literal,
3742
- value: r.getNumberFormat(t, v).format(f)
3754
+ if (gr(h)) {
3755
+ var y = typeof h.style == "string" ? n.number[h.style] : Sr(h.style) ? h.style.parsedOptions : void 0;
3756
+ y && y.scale && (f = f * (y.scale || 1)), a.push({
3757
+ type: L.literal,
3758
+ value: r.getNumberFormat(t, y).format(f)
3743
3759
  });
3744
3760
  continue;
3745
3761
  }
3746
- if (wr(h)) {
3747
- var _ = h.children, b = h.value, T = i[b];
3748
- if (!Ii(T))
3749
- throw new Bi(b, "function", s);
3750
- var H = Me(_, t, r, n, i, o), S = T(H.map(function(L) {
3751
- return L.value;
3762
+ if (Er(h)) {
3763
+ var E = h.children, g = h.value, T = i[g];
3764
+ if (!Oi(T))
3765
+ throw new Fi(g, "function", s);
3766
+ var H = Me(E, t, r, n, i, o), w = T(H.map(function(I) {
3767
+ return I.value;
3752
3768
  }));
3753
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3769
+ Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(I) {
3754
3770
  return {
3755
- type: typeof L == "string" ? N.literal : N.object,
3756
- value: L
3771
+ type: typeof I == "string" ? L.literal : L.object,
3772
+ value: I
3757
3773
  };
3758
3774
  }));
3759
3775
  }
3760
- if (xr(h)) {
3761
- var d = h.options[f] || h.options.other;
3762
- if (!d)
3776
+ if (_r(h)) {
3777
+ var b = h.options[f] || h.options.other;
3778
+ if (!b)
3763
3779
  throw new Jt(h.value, f, Object.keys(h.options), s);
3764
- a.push.apply(a, Me(d.value, t, r, n, i));
3780
+ a.push.apply(a, Me(b.value, t, r, n, i));
3765
3781
  continue;
3766
3782
  }
3767
- if (Er(h)) {
3768
- var d = h.options["=".concat(f)];
3769
- if (!d) {
3783
+ if (xr(h)) {
3784
+ var b = h.options["=".concat(f)];
3785
+ if (!b) {
3770
3786
  if (!Intl.PluralRules)
3771
- throw new je(`Intl.PluralRules is not available in this environment.
3787
+ throw new Xe(`Intl.PluralRules is not available in this environment.
3772
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3773
- `, be.MISSING_INTL_API, s);
3789
+ `, me.MISSING_INTL_API, s);
3774
3790
  var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3775
- d = h.options[C] || h.options.other;
3791
+ b = h.options[C] || h.options.other;
3776
3792
  }
3777
- if (!d)
3793
+ if (!b)
3778
3794
  throw new Jt(h.value, f, Object.keys(h.options), s);
3779
- a.push.apply(a, Me(d.value, t, r, n, i, f - (h.offset || 0)));
3795
+ a.push.apply(a, Me(b.value, t, r, n, i, f - (h.offset || 0)));
3780
3796
  continue;
3781
3797
  }
3782
3798
  }
3783
3799
  return Ci(a);
3784
3800
  }
3785
- function Oi(e, t) {
3786
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3787
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3801
+ function Ii(e, t) {
3802
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3788
3804
  }, {})) : e;
3789
3805
  }
3790
3806
  function Li(e, t) {
3791
3807
  return t ? Object.keys(e).reduce(function(r, n) {
3792
- return r[n] = Oi(e[n], t[n]), r;
3793
- }, E({}, e)) : e;
3808
+ return r[n] = Ii(e[n], t[n]), r;
3809
+ }, j({}, e)) : e;
3794
3810
  }
3795
3811
  function tt(e) {
3796
3812
  return {
@@ -3815,7 +3831,7 @@ function Ni(e) {
3815
3831
  getNumberFormat: Ye(function() {
3816
3832
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3833
  r[n] = arguments[n];
3818
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3834
+ return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3819
3835
  }, {
3820
3836
  cache: tt(e.number),
3821
3837
  strategy: Ke.variadic
@@ -3823,7 +3839,7 @@ function Ni(e) {
3823
3839
  getDateTimeFormat: Ye(function() {
3824
3840
  for (var t, r = [], n = 0; n < arguments.length; n++)
3825
3841
  r[n] = arguments[n];
3826
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3842
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3827
3843
  }, {
3828
3844
  cache: tt(e.dateTime),
3829
3845
  strategy: Ke.variadic
@@ -3831,7 +3847,7 @@ function Ni(e) {
3831
3847
  getPluralRules: Ye(function() {
3832
3848
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3849
  r[n] = arguments[n];
3834
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3850
+ return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3835
3851
  }, {
3836
3852
  cache: tt(e.pluralRules),
3837
3853
  strategy: Ke.variadic
@@ -3853,7 +3869,7 @@ var Mi = (
3853
3869
  if (l.length === 1)
3854
3870
  return l[0].value;
3855
3871
  var h = l.reduce(function(p, f) {
3856
- return !p.length || f.type !== N.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3872
+ return !p.length || f.type !== L.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3857
3873
  }, []);
3858
3874
  return h.length <= 1 ? h[0] || "" : h;
3859
3875
  }, this.formatToParts = function(u) {
@@ -3870,8 +3886,8 @@ var Mi = (
3870
3886
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3871
3887
  var s = i || {};
3872
3888
  s.formatters;
3873
- var a = mn(s, ["formatters"]);
3874
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3889
+ var a = Xn(s, ["formatters"]);
3890
+ this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3875
3891
  } else
3876
3892
  this.ast = t;
3877
3893
  if (!Array.isArray(this.ast))
@@ -3889,7 +3905,7 @@ var Mi = (
3889
3905
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3890
3906
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3891
3907
  }
3892
- }, e.__parse = Fi, e.formats = {
3908
+ }, e.__parse = Pi, e.formats = {
3893
3909
  number: {
3894
3910
  integer: {
3895
3911
  maximumFractionDigits: 0
@@ -3971,12 +3987,12 @@ function Ri(e, t) {
3971
3987
  n = void 0;
3972
3988
  return n;
3973
3989
  }
3974
- const q = {}, Di = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Ir = (e, t) => {
3990
+ const Q = {}, Di = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Cr = (e, t) => {
3975
3991
  if (t == null)
3976
3992
  return;
3977
- if (t in q && e in q[t])
3978
- return q[t][e];
3979
- const r = Ve(t);
3993
+ if (t in Q && e in Q[t])
3994
+ return Q[t][e];
3995
+ const r = We(t);
3980
3996
  for (let n = 0; n < r.length; n++) {
3981
3997
  const i = r[n], o = $i(i, e);
3982
3998
  if (o)
@@ -3984,7 +4000,7 @@ const q = {}, Di = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][
3984
4000
  }
3985
4001
  };
3986
4002
  let Et;
3987
- const ye = ke({});
4003
+ const ve = je({});
3988
4004
  function Ui(e) {
3989
4005
  return Et[e] || null;
3990
4006
  }
@@ -4000,61 +4016,61 @@ function $i(e, t) {
4000
4016
  function Gi(e) {
4001
4017
  if (e == null)
4002
4018
  return;
4003
- const t = Ve(e);
4019
+ const t = We(e);
4004
4020
  for (let r = 0; r < t.length; r++) {
4005
4021
  const n = t[r];
4006
4022
  if (Or(n))
4007
4023
  return n;
4008
4024
  }
4009
4025
  }
4010
- function Lr(e, ...t) {
4011
- delete q[e], ye.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4026
+ function Ir(e, ...t) {
4027
+ delete Q[e], ve.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4012
4028
  }
4013
- ve(
4014
- [ye],
4029
+ ge(
4030
+ [ve],
4015
4031
  ([e]) => Object.keys(e)
4016
4032
  );
4017
- ye.subscribe((e) => Et = e);
4033
+ ve.subscribe((e) => Et = e);
4018
4034
  const Re = {};
4019
4035
  function ki(e, t) {
4020
4036
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4021
4037
  }
4022
- function Nr(e) {
4038
+ function Lr(e) {
4023
4039
  return Re[e];
4024
4040
  }
4025
4041
  function ji(e) {
4026
- return Ve(e).map((t) => {
4027
- const r = Nr(t);
4042
+ return We(e).map((t) => {
4043
+ const r = Lr(t);
4028
4044
  return [t, r ? [...r] : []];
4029
4045
  }).filter(([, t]) => t.length > 0);
4030
4046
  }
4031
- function gt(e) {
4032
- return e == null ? !1 : Ve(e).some(
4047
+ function yt(e) {
4048
+ return e == null ? !1 : We(e).some(
4033
4049
  (t) => {
4034
4050
  var r;
4035
- return (r = Nr(t)) == null ? void 0 : r.size;
4051
+ return (r = Lr(t)) == null ? void 0 : r.size;
4036
4052
  }
4037
4053
  );
4038
4054
  }
4039
4055
  function Vi(e, t) {
4040
4056
  return Promise.all(
4041
4057
  t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4042
- ).then((n) => Lr(e, ...n));
4058
+ ).then((n) => Ir(e, ...n));
4043
4059
  }
4044
- const we = {};
4045
- function Mr(e) {
4046
- if (!gt(e))
4047
- return e in we ? we[e] : Promise.resolve();
4060
+ const _e = {};
4061
+ function Nr(e) {
4062
+ if (!yt(e))
4063
+ return e in _e ? _e[e] : Promise.resolve();
4048
4064
  const t = ji(e);
4049
- return we[e] = Promise.all(
4065
+ return _e[e] = Promise.all(
4050
4066
  t.map(
4051
4067
  ([r, n]) => Vi(r, n)
4052
4068
  )
4053
4069
  ).then(() => {
4054
- if (gt(e))
4055
- return Mr(e);
4056
- delete we[e];
4057
- }), we[e];
4070
+ if (yt(e))
4071
+ return Nr(e);
4072
+ delete _e[e];
4073
+ }), _e[e];
4058
4074
  }
4059
4075
  const Xi = {
4060
4076
  number: {
@@ -4093,10 +4109,10 @@ const Xi = {
4093
4109
  handleMissingMessage: void 0,
4094
4110
  ignoreTag: !0
4095
4111
  }, zi = Wi;
4096
- function ge() {
4112
+ function be() {
4097
4113
  return zi;
4098
4114
  }
4099
- const rt = ke(!1);
4115
+ const rt = je(!1);
4100
4116
  var Zi = Object.defineProperty, Ji = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4101
4117
  for (var r in t || (t = {}))
4102
4118
  qi.call(t, r) && qt(e, r, t[r]);
@@ -4105,113 +4121,113 @@ var Zi = Object.defineProperty, Ji = Object.defineProperties, Qi = Object.getOwn
4105
4121
  Yi.call(t, r) && qt(e, r, t[r]);
4106
4122
  return e;
4107
4123
  }, eo = (e, t) => Ji(e, Qi(t));
4108
- let vt;
4109
- const Ue = ke(null);
4124
+ let _t;
4125
+ const $e = je(null);
4110
4126
  function Yt(e) {
4111
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4112
4128
  }
4113
- function Ve(e, t = ge().fallbackLocale) {
4129
+ function We(e, t = be().fallbackLocale) {
4114
4130
  const r = Yt(e);
4115
4131
  return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
4116
4132
  }
4117
- function ie() {
4118
- return vt != null ? vt : void 0;
4133
+ function ne() {
4134
+ return _t != null ? _t : void 0;
4119
4135
  }
4120
- Ue.subscribe((e) => {
4121
- vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4136
+ $e.subscribe((e) => {
4137
+ _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4122
4138
  });
4123
4139
  const to = (e) => {
4124
- if (e && Gi(e) && gt(e)) {
4125
- const { loadingDelay: t } = ge();
4140
+ if (e && Gi(e) && yt(e)) {
4141
+ const { loadingDelay: t } = be();
4126
4142
  let r;
4127
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4143
+ return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4128
4144
  () => rt.set(!0),
4129
4145
  t
4130
- ) : rt.set(!0), Mr(e).then(() => {
4131
- Ue.set(e);
4146
+ ) : rt.set(!0), Nr(e).then(() => {
4147
+ $e.set(e);
4132
4148
  }).finally(() => {
4133
4149
  clearTimeout(r), rt.set(!1);
4134
4150
  });
4135
4151
  }
4136
- return Ue.set(e);
4137
- }, re = eo(Ki({}, Ue), {
4152
+ return $e.set(e);
4153
+ }, te = eo(Ki({}, $e), {
4138
4154
  set: to
4139
- }), Xe = (e) => {
4155
+ }), ze = (e) => {
4140
4156
  const t = /* @__PURE__ */ Object.create(null);
4141
4157
  return (n) => {
4142
4158
  const i = JSON.stringify(n);
4143
4159
  return i in t ? t[i] : t[i] = e(n);
4144
4160
  };
4145
4161
  };
4146
- var ro = Object.defineProperty, $e = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4162
+ var ro = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
4147
4163
  for (var r in t || (t = {}))
4148
- Rr.call(t, r) && Kt(e, r, t[r]);
4149
- if ($e)
4150
- for (var r of $e(t))
4151
- Dr.call(t, r) && Kt(e, r, t[r]);
4164
+ Mr.call(t, r) && Kt(e, r, t[r]);
4165
+ if (Ge)
4166
+ for (var r of Ge(t))
4167
+ Rr.call(t, r) && Kt(e, r, t[r]);
4152
4168
  return e;
4153
- }, _e = (e, t) => {
4169
+ }, ye = (e, t) => {
4154
4170
  var r = {};
4155
4171
  for (var n in e)
4156
- Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4157
- if (e != null && $e)
4158
- for (var n of $e(e))
4159
- t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
4172
+ Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
+ if (e != null && Ge)
4174
+ for (var n of Ge(e))
4175
+ t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
4160
4176
  return r;
4161
4177
  };
4162
- const Ae = (e, t) => {
4163
- const { formats: r } = ge();
4178
+ const we = (e, t) => {
4179
+ const { formats: r } = be();
4164
4180
  if (e in r && t in r[e])
4165
4181
  return r[e][t];
4166
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4167
- }, no = Xe(
4183
+ }, no = ze(
4168
4184
  (e) => {
4169
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4170
4186
  if (r == null)
4171
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4172
- return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4188
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
4173
4189
  }
4174
- ), io = Xe(
4190
+ ), io = ze(
4175
4191
  (e) => {
4176
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4177
4193
  if (r == null)
4178
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4179
- return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
4180
4196
  }
4181
- ), oo = Xe(
4197
+ ), oo = ze(
4182
4198
  (e) => {
4183
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4184
4200
  if (r == null)
4185
4201
  throw new Error(
4186
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4187
4203
  );
4188
- return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
4189
4205
  }
4190
4206
  ), so = (e = {}) => {
4191
4207
  var t = e, {
4192
- locale: r = ie()
4193
- } = t, n = _e(t, [
4208
+ locale: r = ne()
4209
+ } = t, n = ye(t, [
4194
4210
  "locale"
4195
4211
  ]);
4196
- return no(wt({ locale: r }, n));
4212
+ return no(St({ locale: r }, n));
4197
4213
  }, ao = (e = {}) => {
4198
4214
  var t = e, {
4199
- locale: r = ie()
4200
- } = t, n = _e(t, [
4215
+ locale: r = ne()
4216
+ } = t, n = ye(t, [
4201
4217
  "locale"
4202
4218
  ]);
4203
- return io(wt({ locale: r }, n));
4219
+ return io(St({ locale: r }, n));
4204
4220
  }, lo = (e = {}) => {
4205
4221
  var t = e, {
4206
- locale: r = ie()
4207
- } = t, n = _e(t, [
4222
+ locale: r = ne()
4223
+ } = t, n = ye(t, [
4208
4224
  "locale"
4209
4225
  ]);
4210
- return oo(wt({ locale: r }, n));
4211
- }, uo = Xe(
4226
+ return oo(St({ locale: r }, n));
4227
+ }, uo = ze(
4212
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4213
- (e, t = ie()) => new Mi(e, t, ge().formats, {
4214
- ignoreTag: ge().ignoreTag
4229
+ (e, t = ne()) => new Mi(e, t, be().formats, {
4230
+ ignoreTag: be().ignoreTag
4215
4231
  })
4216
4232
  ), ho = (e, t = {}) => {
4217
4233
  var r, n, i, o;
@@ -4219,16 +4235,16 @@ const Ae = (e, t) => {
4219
4235
  typeof e == "object" && (s = e, e = s.id);
4220
4236
  const {
4221
4237
  values: a,
4222
- locale: u = ie(),
4238
+ locale: u = ne(),
4223
4239
  default: l
4224
4240
  } = s;
4225
4241
  if (u == null)
4226
4242
  throw new Error(
4227
4243
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4228
4244
  );
4229
- let h = Ir(e, u);
4245
+ let h = Cr(e, u);
4230
4246
  if (!h)
4231
- h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4247
+ h = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4232
4248
  else if (typeof h != "string")
4233
4249
  return console.warn(
4234
4250
  `[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.`
@@ -4245,12 +4261,12 @@ const Ae = (e, t) => {
4245
4261
  );
4246
4262
  }
4247
4263
  return p;
4248
- }, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = ie()) => Ir(e, t), bo = ve([re, ye], () => ho);
4249
- ve([re], () => co);
4250
- ve([re], () => fo);
4251
- ve([re], () => po);
4252
- ve([re, ye], () => mo);
4253
- window.emWidgets = { topic: Bn };
4264
+ }, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = ne()) => Cr(e, t), bo = ge([te, ve], () => ho);
4265
+ ge([te], () => co);
4266
+ ge([te], () => fo);
4267
+ ge([te], () => po);
4268
+ ge([te, ve], () => mo);
4269
+ window.emWidgets = { topic: An };
4254
4270
  const go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4255
4271
  function vo(e, t) {
4256
4272
  if (e) {
@@ -4276,12 +4292,12 @@ function _o(e, t, r) {
4276
4292
  }
4277
4293
  }
4278
4294
  function xo({ withLocale: e, translations: t }) {
4279
- re.subscribe((r) => {
4280
- r == null && (ye.set(t), re.set(e));
4295
+ te.subscribe((r) => {
4296
+ r == null && (ve.set(t), te.set(e));
4281
4297
  });
4282
4298
  }
4283
4299
  function er(e, t) {
4284
- Lr(e, t);
4300
+ Ir(e, t);
4285
4301
  }
4286
4302
  const tr = {
4287
4303
  en: {
@@ -4394,55 +4410,55 @@ const tr = {
4394
4410
  }
4395
4411
  };
4396
4412
  function Eo(e) {
4397
- zr(e, "svelte-1o2ogwk", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #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 ui-image 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%}}');
4413
+ Wr(e, "svelte-15yj9h0", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #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%}}');
4398
4414
  }
4399
4415
  function rr(e, t, r) {
4400
4416
  const n = e.slice();
4401
4417
  return n[37] = t[r], n[38] = t, n[39] = r, n;
4402
4418
  }
4403
- function wo(e) {
4419
+ function So(e) {
4404
4420
  let t, r, n, i, o, s, a, u, l = (
4405
4421
  /*$_*/
4406
4422
  e[11]("filterby") + ""
4407
- ), h, p, f, v, _ = (
4423
+ ), h, p, f, y, E = (
4408
4424
  /*$_*/
4409
4425
  e[11]("providers") + ""
4410
- ), b, T, H, S, d, C, L, R, V, I, J, xe, X, K = (
4426
+ ), g, T, H, w, b, C, I, M, X, O, Z, He, G, Y = (
4411
4427
  /*$_*/
4412
4428
  e[11]("clear") + ""
4413
- ), oe, ee, te, se, ae, Ee;
4414
- function Fe(c, w) {
4429
+ ), ie, K, oe, ee, se, Ae;
4430
+ function Pe(d, F) {
4415
4431
  return (
4416
4432
  /*fullSelection*/
4417
- c[7] ? Ho : To
4433
+ d[7] ? Ho : To
4418
4434
  );
4419
4435
  }
4420
- let le = Fe(e), D = le(e), Q = Ot(
4436
+ let ae = Pe(e), R = ae(e), J = It(
4421
4437
  /*vendorArray*/
4422
4438
  e[5]
4423
- ), O = [];
4424
- for (let c = 0; c < Q.length; c += 1)
4425
- O[c] = nr(rr(e, Q, c));
4439
+ ), c = [];
4440
+ for (let d = 0; d < J.length; d += 1)
4441
+ c[d] = nr(rr(e, J, d));
4426
4442
  return {
4427
4443
  c() {
4428
- t = F("div"), r = F("div"), n = F("div"), i = Ce("svg"), o = Ce("path"), s = k(), a = F("div"), u = F("span"), h = $(l), p = k(), f = F("div"), v = F("span"), b = $(_), T = k(), D.c(), H = k(), S = F("span"), d = Ce("svg"), C = Ce("path"), V = k(), I = F("div"), J = F("ul");
4429
- for (let c = 0; c < O.length; c += 1)
4430
- O[c].c();
4431
- xe = k(), X = F("button"), oe = $(K), m(o, "id", "noun_filter_736223"), m(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"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(u, "class", "FilterName"), m(f, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(C, "id", "arrow"), m(C, "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"), m(C, "transform", "translate(-274.511 -441.088)"), m(C, "fill", "#d1d1d1"), m(d, "xmlns", "http://www.w3.org/2000/svg"), m(d, "width", "14"), m(d, "height", "6.835"), m(d, "viewBox", "0 0 14 6.835"), m(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4432
- (e[4] ? "TriangleActive" : "")), m(r, "class", R = "FilterSelector " + /*isFilterActive*/
4433
- (e[4] ? "FilterSelectorOpen" : "")), m(J, "class", "FilterDropdown"), m(X, "class", "ClearFilters"), X.disabled = ee = /*fullSelection*/
4444
+ t = A("div"), r = A("div"), n = A("div"), i = Ce("svg"), o = Ce("path"), s = k(), a = A("div"), u = A("span"), h = U(l), p = k(), f = A("div"), y = A("span"), g = U(E), T = k(), R.c(), H = k(), w = A("span"), b = Ce("svg"), C = Ce("path"), X = k(), O = A("div"), Z = A("ul");
4445
+ for (let d = 0; d < c.length; d += 1)
4446
+ c[d].c();
4447
+ He = k(), G = A("button"), ie = U(Y), m(o, "id", "noun_filter_736223"), m(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"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(u, "class", "FilterName"), m(f, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(C, "id", "arrow"), m(C, "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"), m(C, "transform", "translate(-274.511 -441.088)"), m(C, "fill", "#d1d1d1"), m(b, "xmlns", "http://www.w3.org/2000/svg"), m(b, "width", "14"), m(b, "height", "6.835"), m(b, "viewBox", "0 0 14 6.835"), m(w, "class", I = "TriangleInactive " + /*isFilterActive*/
4448
+ (e[4] ? "TriangleActive" : "")), m(r, "class", M = "FilterSelector " + /*isFilterActive*/
4449
+ (e[4] ? "FilterSelectorOpen" : "")), m(Z, "class", "FilterDropdown"), m(G, "class", "ClearFilters"), G.disabled = K = /*fullSelection*/
4434
4450
  e[7] && /*selectedVendorArray*/
4435
4451
  e[6].length != /*vendorArray*/
4436
- e[5].length, m(I, "class", te = "FilterDropdownContainer " + /*isFilterActive*/
4437
- (e[4] ? "FilterOpen" : "")), m(t, "class", se = "FilterContainer " + /*addfilterselector*/
4452
+ e[5].length, m(O, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4453
+ (e[4] ? "FilterOpen" : "")), m(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4438
4454
  (e[0] == "true" && /*addsortingselector*/
4439
4455
  e[1] == "true" ? "FilerContainerSplit" : ""));
4440
4456
  },
4441
- m(c, w) {
4442
- z(c, t, w), g(t, r), g(r, n), g(n, i), g(i, o), g(n, s), g(n, a), g(a, u), g(u, h), g(a, p), g(a, f), g(f, v), g(v, b), g(f, T), D.m(f, null), g(r, H), g(r, S), g(S, d), g(d, C), g(t, V), g(t, I), g(I, J);
4443
- for (let A = 0; A < O.length; A += 1)
4444
- O[A] && O[A].m(J, null);
4445
- g(I, xe), g(I, X), g(X, oe), ae || (Ee = [
4457
+ m(d, F) {
4458
+ z(d, t, F), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, p), v(a, f), v(f, y), v(y, g), v(f, T), R.m(f, null), v(r, H), v(r, w), v(w, b), v(b, C), v(t, X), v(t, O), v(O, Z);
4459
+ for (let _ = 0; _ < c.length; _ += 1)
4460
+ c[_] && c[_].m(Z, null);
4461
+ v(O, He), v(O, G), v(G, ie), se || (Ae = [
4446
4462
  De(
4447
4463
  r,
4448
4464
  "click",
@@ -4450,74 +4466,74 @@ function wo(e) {
4450
4466
  e[24]
4451
4467
  ),
4452
4468
  De(
4453
- X,
4469
+ G,
4454
4470
  "click",
4455
4471
  /*click_handler_2*/
4456
4472
  e[27]
4457
4473
  )
4458
- ], ae = !0);
4474
+ ], se = !0);
4459
4475
  },
4460
- p(c, w) {
4461
- if (w[0] & /*$_*/
4476
+ p(d, F) {
4477
+ if (F[0] & /*$_*/
4462
4478
  2048 && l !== (l = /*$_*/
4463
- c[11]("filterby") + "") && Y(h, l), w[0] & /*$_*/
4464
- 2048 && _ !== (_ = /*$_*/
4465
- c[11]("providers") + "") && Y(b, _), le === (le = Fe(c)) && D ? D.p(c, w) : (D.d(1), D = le(c), D && (D.c(), D.m(f, null))), w[0] & /*isFilterActive*/
4466
- 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4467
- (c[4] ? "TriangleActive" : "")) && m(S, "class", L), w[0] & /*isFilterActive*/
4468
- 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4469
- (c[4] ? "FilterSelectorOpen" : "")) && m(r, "class", R), w[0] & /*filterbylogo, vendorArray, filterByVendors*/
4479
+ d[11]("filterby") + "") && q(h, l), F[0] & /*$_*/
4480
+ 2048 && E !== (E = /*$_*/
4481
+ d[11]("providers") + "") && q(g, E), ae === (ae = Pe(d)) && R ? R.p(d, F) : (R.d(1), R = ae(d), R && (R.c(), R.m(f, null))), F[0] & /*isFilterActive*/
4482
+ 16 && I !== (I = "TriangleInactive " + /*isFilterActive*/
4483
+ (d[4] ? "TriangleActive" : "")) && m(w, "class", I), F[0] & /*isFilterActive*/
4484
+ 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4485
+ (d[4] ? "FilterSelectorOpen" : "")) && m(r, "class", M), F[0] & /*filterbylogo, vendorArray, filterByVendors*/
4470
4486
  8228) {
4471
- Q = Ot(
4487
+ J = It(
4472
4488
  /*vendorArray*/
4473
- c[5]
4489
+ d[5]
4474
4490
  );
4475
- let A;
4476
- for (A = 0; A < Q.length; A += 1) {
4477
- const P = rr(c, Q, A);
4478
- O[A] ? O[A].p(P, w) : (O[A] = nr(P), O[A].c(), O[A].m(J, null));
4491
+ let _;
4492
+ for (_ = 0; _ < J.length; _ += 1) {
4493
+ const le = rr(d, J, _);
4494
+ c[_] ? c[_].p(le, F) : (c[_] = nr(le), c[_].c(), c[_].m(Z, null));
4479
4495
  }
4480
- for (; A < O.length; A += 1)
4481
- O[A].d(1);
4482
- O.length = Q.length;
4496
+ for (; _ < c.length; _ += 1)
4497
+ c[_].d(1);
4498
+ c.length = J.length;
4483
4499
  }
4484
- w[0] & /*$_*/
4485
- 2048 && K !== (K = /*$_*/
4486
- c[11]("clear") + "") && Y(oe, K), w[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4487
- 224 && ee !== (ee = /*fullSelection*/
4488
- c[7] && /*selectedVendorArray*/
4489
- c[6].length != /*vendorArray*/
4490
- c[5].length) && (X.disabled = ee), w[0] & /*isFilterActive*/
4491
- 16 && te !== (te = "FilterDropdownContainer " + /*isFilterActive*/
4492
- (c[4] ? "FilterOpen" : "")) && m(I, "class", te), w[0] & /*addfilterselector, addsortingselector*/
4493
- 3 && se !== (se = "FilterContainer " + /*addfilterselector*/
4494
- (c[0] == "true" && /*addsortingselector*/
4495
- c[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", se);
4500
+ F[0] & /*$_*/
4501
+ 2048 && Y !== (Y = /*$_*/
4502
+ d[11]("clear") + "") && q(ie, Y), F[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4503
+ 224 && K !== (K = /*fullSelection*/
4504
+ d[7] && /*selectedVendorArray*/
4505
+ d[6].length != /*vendorArray*/
4506
+ d[5].length) && (G.disabled = K), F[0] & /*isFilterActive*/
4507
+ 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4508
+ (d[4] ? "FilterOpen" : "")) && m(O, "class", oe), F[0] & /*addfilterselector, addsortingselector*/
4509
+ 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4510
+ (d[0] == "true" && /*addsortingselector*/
4511
+ d[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", ee);
4496
4512
  },
4497
- d(c) {
4498
- c && j(t), D.d(), Qr(O, c), ae = !1, ne(Ee);
4513
+ d(d) {
4514
+ d && V(t), R.d(), Jr(c, d), se = !1, re(Ae);
4499
4515
  }
4500
4516
  };
4501
4517
  }
4502
- function So(e) {
4518
+ function wo(e) {
4503
4519
  let t, r = (
4504
4520
  /*$_*/
4505
4521
  e[11]("500") + ""
4506
4522
  ), n;
4507
4523
  return {
4508
4524
  c() {
4509
- t = F("p"), n = $(r), m(t, "class", "SearchLoading");
4525
+ t = A("p"), n = U(r), m(t, "class", "SearchLoading");
4510
4526
  },
4511
4527
  m(i, o) {
4512
- z(i, t, o), g(t, n);
4528
+ z(i, t, o), v(t, n);
4513
4529
  },
4514
4530
  p(i, o) {
4515
4531
  o[0] & /*$_*/
4516
4532
  2048 && r !== (r = /*$_*/
4517
- i[11]("500") + "") && Y(n, r);
4533
+ i[11]("500") + "") && q(n, r);
4518
4534
  },
4519
4535
  d(i) {
4520
- i && j(t);
4536
+ i && V(t);
4521
4537
  }
4522
4538
  };
4523
4539
  }
@@ -4525,24 +4541,24 @@ function To(e) {
4525
4541
  let t, r;
4526
4542
  return {
4527
4543
  c() {
4528
- t = F("span"), r = $(
4544
+ t = A("span"), r = U(
4529
4545
  /*selectionNumber*/
4530
4546
  e[8]
4531
4547
  ), m(t, "class", "FilterCounter");
4532
4548
  },
4533
4549
  m(n, i) {
4534
- z(n, t, i), g(t, r);
4550
+ z(n, t, i), v(t, r);
4535
4551
  },
4536
4552
  p(n, i) {
4537
4553
  i[0] & /*selectionNumber*/
4538
- 256 && Y(
4554
+ 256 && q(
4539
4555
  r,
4540
4556
  /*selectionNumber*/
4541
4557
  n[8]
4542
4558
  );
4543
4559
  },
4544
4560
  d(n) {
4545
- n && j(t);
4561
+ n && V(t);
4546
4562
  }
4547
4563
  };
4548
4564
  }
@@ -4553,18 +4569,18 @@ function Ho(e) {
4553
4569
  ), n;
4554
4570
  return {
4555
4571
  c() {
4556
- t = F("span"), n = $(r), m(t, "class", "FilterCounter");
4572
+ t = A("span"), n = U(r), m(t, "class", "FilterCounter");
4557
4573
  },
4558
4574
  m(i, o) {
4559
- z(i, t, o), g(t, n);
4575
+ z(i, t, o), v(t, n);
4560
4576
  },
4561
4577
  p(i, o) {
4562
4578
  o[0] & /*$_*/
4563
4579
  2048 && r !== (r = /*$_*/
4564
- i[11]("all") + "") && Y(n, r);
4580
+ i[11]("all") + "") && q(n, r);
4565
4581
  },
4566
4582
  d(i) {
4567
- i && j(t);
4583
+ i && V(t);
4568
4584
  }
4569
4585
  };
4570
4586
  }
@@ -4572,23 +4588,23 @@ function Ao(e) {
4572
4588
  let t, r;
4573
4589
  return {
4574
4590
  c() {
4575
- t = F("ui-image"), Pt(t.src, r = /*vendor*/
4576
- e[37].logo) || Ze(t, "src", r), Ze(t, "alt", "vendor logo");
4591
+ t = A("img"), Bt(t.src, r = /*vendor*/
4592
+ e[37].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4577
4593
  },
4578
4594
  m(n, i) {
4579
4595
  z(n, t, i);
4580
4596
  },
4581
4597
  p(n, i) {
4582
4598
  i[0] & /*vendorArray*/
4583
- 32 && !Pt(t.src, r = /*vendor*/
4584
- n[37].logo) && Ze(t, "src", r);
4599
+ 32 && !Bt(t.src, r = /*vendor*/
4600
+ n[37].logo) && m(t, "src", r);
4585
4601
  },
4586
4602
  d(n) {
4587
- n && j(t);
4603
+ n && V(t);
4588
4604
  }
4589
4605
  };
4590
4606
  }
4591
- function Fo(e) {
4607
+ function Po(e) {
4592
4608
  let t, r, n = (
4593
4609
  /*vendor*/
4594
4610
  e[37].name + ""
@@ -4598,26 +4614,26 @@ function Fo(e) {
4598
4614
  ), l, h;
4599
4615
  return {
4600
4616
  c() {
4601
- t = F("div"), r = F("span"), i = $(n), o = k(), s = F("span"), a = $("("), l = $(u), h = $(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4617
+ t = A("div"), r = A("span"), i = U(n), o = k(), s = A("span"), a = U("("), l = U(u), h = U(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4602
4618
  },
4603
4619
  m(p, f) {
4604
- z(p, t, f), g(t, r), g(r, i), g(t, o), g(t, s), g(s, a), g(s, l), g(s, h);
4620
+ z(p, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
4605
4621
  },
4606
4622
  p(p, f) {
4607
4623
  f[0] & /*vendorArray*/
4608
4624
  32 && n !== (n = /*vendor*/
4609
- p[37].name + "") && Y(i, n), f[0] & /*vendorArray*/
4625
+ p[37].name + "") && q(i, n), f[0] & /*vendorArray*/
4610
4626
  32 && u !== (u = /*vendor*/
4611
- p[37].games.total + "") && Y(l, u);
4627
+ p[37].games.total + "") && q(l, u);
4612
4628
  },
4613
4629
  d(p) {
4614
- p && j(t);
4630
+ p && V(t);
4615
4631
  }
4616
4632
  };
4617
4633
  }
4618
4634
  function nr(e) {
4619
4635
  let t, r, n, i, o, s, a, u, l, h, p, f;
4620
- function v() {
4636
+ function y() {
4621
4637
  e[25].call(
4622
4638
  n,
4623
4639
  /*each_value*/
@@ -4626,7 +4642,7 @@ function nr(e) {
4626
4642
  e[39]
4627
4643
  );
4628
4644
  }
4629
- function _() {
4645
+ function E() {
4630
4646
  return (
4631
4647
  /*click_handler_1*/
4632
4648
  e[26](
@@ -4635,65 +4651,65 @@ function nr(e) {
4635
4651
  )
4636
4652
  );
4637
4653
  }
4638
- function b(S, d) {
4654
+ function g(w, b) {
4639
4655
  if (
4640
4656
  /*filterbylogo*/
4641
- S[2] === "false"
4657
+ w[2] === "false"
4642
4658
  )
4643
- return Fo;
4659
+ return Po;
4644
4660
  if (
4645
4661
  /*filterbylogo*/
4646
- S[2] === "true"
4662
+ w[2] === "true"
4647
4663
  )
4648
4664
  return Ao;
4649
4665
  }
4650
- let T = b(e), H = T && T(e);
4666
+ let T = g(e), H = T && T(e);
4651
4667
  return {
4652
4668
  c() {
4653
- t = F("li"), r = F("label"), n = F("input"), o = k(), s = F("span"), a = k(), H && H.c(), u = k(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4669
+ t = A("li"), r = A("label"), n = A("input"), o = k(), s = A("span"), a = k(), H && H.c(), u = k(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4654
4670
  e[37].name, Ct(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4655
4671
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4656
4672
  e[37].name;
4657
4673
  },
4658
- m(S, d) {
4659
- z(S, t, d), g(t, r), g(r, n), n.checked = /*vendor*/
4660
- e[37].isFilterSelected, g(r, o), g(r, s), g(r, a), H && H.m(r, null), g(t, u), p || (f = [
4661
- De(n, "change", v),
4662
- De(n, "click", _)
4674
+ m(w, b) {
4675
+ z(w, t, b), v(t, r), v(r, n), n.checked = /*vendor*/
4676
+ e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, u), p || (f = [
4677
+ De(n, "change", y),
4678
+ De(n, "click", E)
4663
4679
  ], p = !0);
4664
4680
  },
4665
- p(S, d) {
4666
- e = S, d[0] & /*vendorArray*/
4681
+ p(w, b) {
4682
+ e = w, b[0] & /*vendorArray*/
4667
4683
  32 && i !== (i = /*vendor*/
4668
- e[37].name) && (n.__value = i, Ct(n, n.__value)), d[0] & /*vendorArray*/
4684
+ e[37].name) && (n.__value = i, Ct(n, n.__value)), b[0] & /*vendorArray*/
4669
4685
  32 && (n.checked = /*vendor*/
4670
- e[37].isFilterSelected), T === (T = b(e)) && H ? H.p(e, d) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), d[0] & /*filterbylogo*/
4686
+ e[37].isFilterSelected), T === (T = g(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4671
4687
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4672
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), d[0] & /*vendorArray*/
4688
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), b[0] & /*vendorArray*/
4673
4689
  32 && h !== (h = /*vendor*/
4674
4690
  e[37].name) && (t.value = h);
4675
4691
  },
4676
- d(S) {
4677
- S && j(t), H && H.d(), p = !1, ne(f);
4692
+ d(w) {
4693
+ w && V(t), H && H.d(), p = !1, re(f);
4678
4694
  }
4679
4695
  };
4680
4696
  }
4681
- function Bo(e) {
4697
+ function Fo(e) {
4682
4698
  let t;
4683
4699
  function r(o, s) {
4684
4700
  if (
4685
4701
  /*hasErrors*/
4686
4702
  o[10]
4687
4703
  )
4688
- return So;
4704
+ return wo;
4689
4705
  if (!/*isLoading*/
4690
4706
  o[9])
4691
- return wo;
4707
+ return So;
4692
4708
  }
4693
4709
  let n = r(e), i = n && n(e);
4694
4710
  return {
4695
4711
  c() {
4696
- t = F("div"), i && i.c();
4712
+ t = A("div"), i && i.c();
4697
4713
  },
4698
4714
  m(o, s) {
4699
4715
  z(o, t, s), i && i.m(t, null), e[28](t);
@@ -4701,105 +4717,105 @@ function Bo(e) {
4701
4717
  p(o, s) {
4702
4718
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4703
4719
  },
4704
- i: G,
4705
- o: G,
4720
+ i: $,
4721
+ o: $,
4706
4722
  d(o) {
4707
- o && j(t), i && i.d(), e[28](null);
4723
+ o && V(t), i && i.d(), e[28](null);
4708
4724
  }
4709
4725
  };
4710
4726
  }
4711
- function Po(e, t, r) {
4727
+ function Bo(e, t, r) {
4712
4728
  let n;
4713
- Wr(e, bo, (c) => r(11, n = c));
4714
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: v = "false" } = t, { mbsource: _ } = t, { usesinglevendorfilter: b = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], d = [], C = {}, L = !1, R = 0, V = !0, I, J = !1, xe;
4729
+ Xr(e, bo, (c) => r(11, n = c));
4730
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: y = "false" } = t, { mbsource: E } = t, { usesinglevendorfilter: g = "false" } = t, T = !1, H = window.navigator.userAgent, w = [], b = [], C = {}, I = !1, M = 0, X = !0, O, Z = !1;
4715
4731
  xo({ withLocale: "en", translations: {} });
4716
- const X = () => {
4717
- fetch(a).then((w) => w.json()).then((w) => {
4718
- Object.keys(w).forEach((A) => {
4719
- er(A, w[A]);
4732
+ const He = () => {
4733
+ fetch(a).then((d) => d.json()).then((d) => {
4734
+ Object.keys(d).forEach((F) => {
4735
+ er(F, d[F]);
4720
4736
  });
4721
- }).catch((w) => {
4722
- console.log(w);
4737
+ }).catch((d) => {
4738
+ console.log(d);
4723
4739
  });
4724
4740
  };
4725
4741
  Object.keys(tr).forEach((c) => {
4726
4742
  er(c, tr[c]);
4727
4743
  }), C[h] && (C = { [h]: [] });
4728
- const K = () => {
4744
+ const G = () => {
4729
4745
  r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4730
- }, oe = (c) => (r(9, V = !0), new Promise((w, A) => {
4731
- fetch(c).then((P) => P.json()).then((P) => {
4732
- P = P.items, w(P.items), r(6, d = []);
4733
- let We = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4734
- const Ur = b === "true" ? "*" : h;
4735
- P.forEach((Be) => {
4736
- var St;
4737
- We || (We = { currentCategoryId: [] }), ((St = We[Ur]) == null ? void 0 : St.indexOf(Be.id)) >= 0 ? (Be.isFilterSelected = !0, d.push(Be)) : Be.isFilterSelected = !1;
4738
- }), r(5, S = P), te();
4739
- }).catch((P) => {
4740
- console.error(P), r(10, J = !0), A(P);
4746
+ }, Y = (c) => (r(9, X = !0), new Promise((d, F) => {
4747
+ fetch(c).then((_) => _.json()).then((_) => {
4748
+ _ = _.items, d(_.items), r(6, b = []);
4749
+ let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4750
+ const Dr = g === "true" ? "*" : h;
4751
+ _.forEach((Fe) => {
4752
+ var wt;
4753
+ le || (le = { currentCategoryId: [] }), ((wt = le[Dr]) == null ? void 0 : wt.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, b.push(Fe)) : Fe.isFilterSelected = !1;
4754
+ }), r(5, w = _), K();
4755
+ }).catch((_) => {
4756
+ console.error(_), r(10, Z = !0), F(_);
4741
4757
  }).finally(() => {
4742
- r(9, V = !1);
4758
+ r(9, X = !1);
4743
4759
  });
4744
- })), ee = (c) => {
4745
- let w = localStorage.getItem("vendorFiltersByCategory");
4746
- c.isFilterSelected = !c.isFilterSelected, !d.length || d.filter((P) => P.name === c.name).length == 0 ? d.push(c) : r(6, d = d.filter((P) => P.name !== c.name));
4747
- const A = b === "true" ? "*" : h;
4748
- w == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4749
- [A]: d.map((P) => P.id)
4750
- })) : (w = JSON.parse(w), w[A] = d.map((P) => P.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(w))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), te();
4751
- }, te = () => {
4752
- r(7, L = d.length === S.length || d.length == 0), r(8, R = d.length);
4753
- }, se = () => {
4754
- if (S.length && b === "true")
4760
+ })), ie = (c) => {
4761
+ let d = localStorage.getItem("vendorFiltersByCategory");
4762
+ c.isFilterSelected = !c.isFilterSelected, !b.length || b.filter((_) => _.name === c.name).length == 0 ? b.push(c) : r(6, b = b.filter((_) => _.name !== c.name));
4763
+ const F = g === "true" ? "*" : h;
4764
+ d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4765
+ [F]: b.map((_) => _.id)
4766
+ })) : (d = JSON.parse(d), d[F] = b.map((_) => _.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4767
+ }, K = () => {
4768
+ r(7, I = b.length === w.length || b.length == 0), r(8, M = b.length);
4769
+ }, oe = () => {
4770
+ if (w.length && g === "true")
4755
4771
  return;
4756
4772
  const c = new URL(`${i}/v1/casino/vendors`);
4757
- r(4, T = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", go(H)), b === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), oe(c);
4758
- }, ae = () => {
4759
- r(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4760
- [b === "true" ? "*" : h]: d.map((c) => c.id)
4761
- })), S.forEach((c) => c.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4762
- }, Ee = (c) => {
4773
+ r(4, T = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", go(H)), g === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), Y(c);
4774
+ }, ee = () => {
4775
+ r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4776
+ [g === "true" ? "*" : h]: b.map((c) => c.id)
4777
+ })), w.forEach((c) => c.isFilterSelected = !1), r(5, w), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, I = !0), r(4, T = !1);
4778
+ }, se = (c) => {
4763
4779
  c.data.type == "SortingOpened" && r(4, T = !1);
4764
4780
  };
4765
- en(() => (window.addEventListener("message", Ee, !1), () => {
4766
- window.emMessageBus != null && xe && xe.unsubscribe(), window.removeEventListener("message", Ee);
4781
+ Kr(() => (window.addEventListener("message", se, !1), () => {
4782
+ window.removeEventListener("message", se);
4767
4783
  }));
4768
- const Fe = () => K();
4769
- function le(c, w) {
4770
- c[w].isFilterSelected = this.checked, r(5, S);
4784
+ const Ae = () => G();
4785
+ function Pe(c, d) {
4786
+ c[d].isFilterSelected = this.checked, r(5, w);
4771
4787
  }
4772
- const D = (c) => ee(c), Q = () => ae();
4773
- function O(c) {
4788
+ const ae = (c) => ie(c), R = () => ee();
4789
+ function J(c) {
4774
4790
  nt[c ? "unshift" : "push"](() => {
4775
- I = c, r(3, I);
4791
+ O = c, r(3, O);
4776
4792
  });
4777
4793
  }
4778
4794
  return e.$$set = (c) => {
4779
- "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, v = c.filterbylogo), "mbsource" in c && r(22, _ = c.mbsource), "usesinglevendorfilter" in c && r(23, b = c.usesinglevendorfilter);
4795
+ "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, y = c.filterbylogo), "mbsource" in c && r(22, E = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
4780
4796
  }, e.$$.update = () => {
4781
4797
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4782
- 2195460 && i && o && h && v && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4783
- 524296 && u && I && vo(I, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4784
- 1048584 && l && I && yo(I, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4785
- 4194312 && I && _o(I, `${_}.Style`), e.$$.dirty[0] & /*translationurl*/
4786
- 262144 && a && X();
4798
+ 2195460 && i && o && h && y && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4799
+ 524296 && u && O && vo(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4800
+ 1048584 && l && O && yo(O, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4801
+ 4194312 && O && _o(O, `${E}.Style`), e.$$.dirty[0] & /*translationurl*/
4802
+ 262144 && a && He();
4787
4803
  }, [
4788
4804
  p,
4789
4805
  f,
4790
- v,
4791
- I,
4806
+ y,
4807
+ O,
4792
4808
  T,
4793
- S,
4794
- d,
4795
- L,
4796
- R,
4797
- V,
4798
- J,
4809
+ w,
4810
+ b,
4811
+ I,
4812
+ M,
4813
+ X,
4814
+ Z,
4799
4815
  n,
4800
- K,
4816
+ G,
4817
+ ie,
4801
4818
  ee,
4802
- ae,
4803
4819
  i,
4804
4820
  o,
4805
4821
  s,
@@ -4807,22 +4823,22 @@ function Po(e, t, r) {
4807
4823
  u,
4808
4824
  l,
4809
4825
  h,
4810
- _,
4811
- b,
4812
- Fe,
4813
- le,
4814
- D,
4815
- Q,
4816
- O
4826
+ E,
4827
+ g,
4828
+ Ae,
4829
+ Pe,
4830
+ ae,
4831
+ R,
4832
+ J
4817
4833
  ];
4818
4834
  }
4819
- class Co extends pn {
4835
+ class Co extends fn {
4820
4836
  constructor(t) {
4821
- super(), cn(
4837
+ super(), hn(
4822
4838
  this,
4823
4839
  t,
4824
- Po,
4825
4840
  Bo,
4841
+ Fo,
4826
4842
  or,
4827
4843
  {
4828
4844
  endpoint: 15,
@@ -4846,76 +4862,76 @@ class Co extends pn {
4846
4862
  return this.$$.ctx[15];
4847
4863
  }
4848
4864
  set endpoint(t) {
4849
- this.$$set({ endpoint: t }), M();
4865
+ this.$$set({ endpoint: t }), N();
4850
4866
  }
4851
4867
  get datasource() {
4852
4868
  return this.$$.ctx[16];
4853
4869
  }
4854
4870
  set datasource(t) {
4855
- this.$$set({ datasource: t }), M();
4871
+ this.$$set({ datasource: t }), N();
4856
4872
  }
4857
4873
  get lang() {
4858
4874
  return this.$$.ctx[17];
4859
4875
  }
4860
4876
  set lang(t) {
4861
- this.$$set({ lang: t }), M();
4877
+ this.$$set({ lang: t }), N();
4862
4878
  }
4863
4879
  get translationurl() {
4864
4880
  return this.$$.ctx[18];
4865
4881
  }
4866
4882
  set translationurl(t) {
4867
- this.$$set({ translationurl: t }), M();
4883
+ this.$$set({ translationurl: t }), N();
4868
4884
  }
4869
4885
  get clientstyling() {
4870
4886
  return this.$$.ctx[19];
4871
4887
  }
4872
4888
  set clientstyling(t) {
4873
- this.$$set({ clientstyling: t }), M();
4889
+ this.$$set({ clientstyling: t }), N();
4874
4890
  }
4875
4891
  get clientstylingurl() {
4876
4892
  return this.$$.ctx[20];
4877
4893
  }
4878
4894
  set clientstylingurl(t) {
4879
- this.$$set({ clientstylingurl: t }), M();
4895
+ this.$$set({ clientstylingurl: t }), N();
4880
4896
  }
4881
4897
  get categoryid() {
4882
4898
  return this.$$.ctx[21];
4883
4899
  }
4884
4900
  set categoryid(t) {
4885
- this.$$set({ categoryid: t }), M();
4901
+ this.$$set({ categoryid: t }), N();
4886
4902
  }
4887
4903
  get addfilterselector() {
4888
4904
  return this.$$.ctx[0];
4889
4905
  }
4890
4906
  set addfilterselector(t) {
4891
- this.$$set({ addfilterselector: t }), M();
4907
+ this.$$set({ addfilterselector: t }), N();
4892
4908
  }
4893
4909
  get addsortingselector() {
4894
4910
  return this.$$.ctx[1];
4895
4911
  }
4896
4912
  set addsortingselector(t) {
4897
- this.$$set({ addsortingselector: t }), M();
4913
+ this.$$set({ addsortingselector: t }), N();
4898
4914
  }
4899
4915
  get filterbylogo() {
4900
4916
  return this.$$.ctx[2];
4901
4917
  }
4902
4918
  set filterbylogo(t) {
4903
- this.$$set({ filterbylogo: t }), M();
4919
+ this.$$set({ filterbylogo: t }), N();
4904
4920
  }
4905
4921
  get mbsource() {
4906
4922
  return this.$$.ctx[22];
4907
4923
  }
4908
4924
  set mbsource(t) {
4909
- this.$$set({ mbsource: t }), M();
4925
+ this.$$set({ mbsource: t }), N();
4910
4926
  }
4911
4927
  get usesinglevendorfilter() {
4912
4928
  return this.$$.ctx[23];
4913
4929
  }
4914
4930
  set usesinglevendorfilter(t) {
4915
- this.$$set({ usesinglevendorfilter: t }), M();
4931
+ this.$$set({ usesinglevendorfilter: t }), N();
4916
4932
  }
4917
4933
  }
4918
- fn(Co, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
4934
+ cn(Co, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
4919
4935
  export {
4920
4936
  Co as default
4921
4937
  };