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