@everymatrix/casino-tournaments-filter-controller 1.75.0 → 1.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function O() {
1
+ function P() {
2
2
  }
3
- function Mt(e) {
3
+ function Lt(e) {
4
4
  return e();
5
5
  }
6
- function Ke() {
6
+ function tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Mt);
9
+ function oe(e) {
10
+ e.forEach(Lt);
11
11
  }
12
- function Ze(e) {
12
+ function qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Nt(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function mr(e) {
18
+ function dr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Lt(e, ...t) {
21
+ function $t(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return O;
25
+ return P;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function dr(e, t, r) {
31
- e.$$.on_destroy.push(Lt(t, r));
30
+ function br(e, t, r) {
31
+ e.$$.on_destroy.push($t(t, r));
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function br(e, t, r) {
37
- const n = gr(e);
36
+ function gr(e, t, r) {
37
+ const n = yr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = N("style");
40
- i.id = t, i.textContent = r, yr(n, i);
39
+ const i = L("style");
40
+ i.id = t, i.textContent = r, vr(n, i);
41
41
  }
42
42
  }
43
- function gr(e) {
43
+ function yr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,27 +50,27 @@ function gr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function yr(e, t) {
53
+ function vr(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function R(e, t, r) {
60
+ function $(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function I(e) {
63
+ function N(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function vr(e, t) {
66
+ function _r(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
70
- function N(e) {
70
+ function L(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function et(e) {
73
+ function rt(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
76
  function G(e) {
@@ -79,20 +79,20 @@ function G(e) {
79
79
  function X() {
80
80
  return G(" ");
81
81
  }
82
- function _r(e, t, r, n) {
82
+ function Er(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function S(e, t, r) {
85
+ function x(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function Er(e) {
88
+ function xr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function ae(e, t) {
91
+ function se(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function xr(e) {
95
+ function Sr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -101,98 +101,98 @@ function xr(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let ne;
105
- function re(e) {
106
- ne = e;
104
+ let re;
105
+ function te(e) {
106
+ re = e;
107
107
  }
108
- function Sr() {
109
- if (!ne)
108
+ function Tr() {
109
+ if (!re)
110
110
  throw new Error("Function called outside component initialization");
111
- return ne;
111
+ return re;
112
112
  }
113
- function Tr(e) {
114
- Sr().$$.on_mount.push(e);
113
+ function wr(e) {
114
+ Tr().$$.on_mount.push(e);
115
115
  }
116
- const z = [], Ie = [];
116
+ const z = [], Me = [];
117
117
  let W = [];
118
- const tt = [], wr = /* @__PURE__ */ Promise.resolve();
119
- let Me = !1;
120
- function Hr() {
121
- Me || (Me = !0, wr.then(U));
118
+ const nt = [], Hr = /* @__PURE__ */ Promise.resolve();
119
+ let Le = !1;
120
+ function Ar() {
121
+ Le || (Le = !0, Hr.then(U));
122
122
  }
123
- function Ne(e) {
123
+ function Re(e) {
124
124
  W.push(e);
125
125
  }
126
- const Te = /* @__PURE__ */ new Set();
126
+ const He = /* @__PURE__ */ new Set();
127
127
  let k = 0;
128
128
  function U() {
129
129
  if (k !== 0)
130
130
  return;
131
- const e = ne;
131
+ const e = re;
132
132
  do {
133
133
  try {
134
134
  for (; k < z.length; ) {
135
135
  const t = z[k];
136
- k++, re(t), Ar(t.$$);
136
+ k++, te(t), Br(t.$$);
137
137
  }
138
138
  } catch (t) {
139
139
  throw z.length = 0, k = 0, t;
140
140
  }
141
- for (re(null), z.length = 0, k = 0; Ie.length; )
142
- Ie.pop()();
141
+ for (te(null), z.length = 0, k = 0; Me.length; )
142
+ Me.pop()();
143
143
  for (let t = 0; t < W.length; t += 1) {
144
144
  const r = W[t];
145
- Te.has(r) || (Te.add(r), r());
145
+ He.has(r) || (He.add(r), r());
146
146
  }
147
147
  W.length = 0;
148
148
  } while (z.length);
149
- for (; tt.length; )
150
- tt.pop()();
151
- Me = !1, Te.clear(), re(e);
149
+ for (; nt.length; )
150
+ nt.pop()();
151
+ Le = !1, He.clear(), te(e);
152
152
  }
153
- function Ar(e) {
153
+ function Br(e) {
154
154
  if (e.fragment !== null) {
155
- e.update(), se(e.before_update);
155
+ e.update(), oe(e.before_update);
156
156
  const t = e.dirty;
157
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
157
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
158
158
  }
159
159
  }
160
- function Br(e) {
160
+ function Or(e) {
161
161
  const t = [], r = [];
162
162
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
163
163
  }
164
164
  const Pr = /* @__PURE__ */ new Set();
165
- function Or(e, t) {
165
+ function Cr(e, t) {
166
166
  e && e.i && (Pr.delete(e), e.i(t));
167
167
  }
168
- function rt(e) {
168
+ function it(e) {
169
169
  return e?.length !== void 0 ? e : Array.from(e);
170
170
  }
171
- function Cr(e, t, r) {
171
+ function Ir(e, t, r) {
172
172
  const { fragment: n, after_update: i } = e.$$;
173
- n && n.m(t, r), Ne(() => {
174
- const o = e.$$.on_mount.map(Mt).filter(Ze);
175
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
176
- }), i.forEach(Ne);
173
+ n && n.m(t, r), Re(() => {
174
+ const o = e.$$.on_mount.map(Lt).filter(qe);
175
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
176
+ }), i.forEach(Re);
177
177
  }
178
- function Ir(e, t) {
178
+ function Nr(e, t) {
179
179
  const r = e.$$;
180
- r.fragment !== null && (Br(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
+ r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
181
  }
182
182
  function Mr(e, t) {
183
- e.$$.dirty[0] === -1 && (z.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ e.$$.dirty[0] === -1 && (z.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
184
184
  }
185
- function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
186
- const h = ne;
187
- re(e);
185
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
186
+ const h = re;
187
+ te(e);
188
188
  const u = e.$$ = {
189
189
  fragment: null,
190
190
  ctx: [],
191
191
  // state
192
192
  props: o,
193
- update: O,
193
+ update: P,
194
194
  not_equal: i,
195
- bound: Ke(),
195
+ bound: tt(),
196
196
  // lifecycle
197
197
  on_mount: [],
198
198
  on_destroy: [],
@@ -201,28 +201,28 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
201
201
  after_update: [],
202
202
  context: new Map(t.context || (h ? h.$$.context : [])),
203
203
  // everything else
204
- callbacks: Ke(),
205
- dirty: s,
204
+ callbacks: tt(),
205
+ dirty: a,
206
206
  skip_bound: !1,
207
207
  root: t.target || h.$$.root
208
208
  };
209
- a && a(u.root);
209
+ s && s(u.root);
210
210
  let l = !1;
211
211
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
212
212
  const m = p.length ? p[0] : f;
213
213
  return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Mr(e, c)), f;
214
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
215
215
  if (t.hydrate) {
216
- const c = Er(t.target);
217
- u.fragment && u.fragment.l(c), c.forEach(I);
216
+ const c = xr(t.target);
217
+ u.fragment && u.fragment.l(c), c.forEach(N);
218
218
  } else
219
219
  u.fragment && u.fragment.c();
220
- t.intro && Or(e.$$.fragment), Cr(e, t.target, t.anchor), U();
220
+ t.intro && Cr(e.$$.fragment), Ir(e, t.target, t.anchor), U();
221
221
  }
222
- re(h);
222
+ te(h);
223
223
  }
224
- let Rt;
225
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
224
+ let Ft;
225
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
226
226
  /** The Svelte component constructor */
227
227
  $$ctor;
228
228
  /** Slots */
@@ -264,24 +264,24 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
264
264
  let o;
265
265
  return {
266
266
  c: function() {
267
- o = N("slot"), i !== "default" && S(o, "name", i);
267
+ o = L("slot"), i !== "default" && x(o, "name", i);
268
268
  },
269
269
  /**
270
270
  * @param {HTMLElement} target
271
271
  * @param {HTMLElement} [anchor]
272
272
  */
273
273
  m: function(h, u) {
274
- R(h, o, u);
274
+ $(h, o, u);
275
275
  },
276
276
  d: function(h) {
277
- h && I(o);
277
+ h && N(o);
278
278
  }
279
279
  };
280
280
  };
281
281
  };
282
282
  if (await Promise.resolve(), !this.$$cn || this.$$c)
283
283
  return;
284
- const t = {}, r = xr(this);
284
+ const t = {}, r = Sr(this);
285
285
  for (const i of this.$$s)
286
286
  i in r && (t[i] = [e(i)]);
287
287
  for (const i of this.attributes) {
@@ -317,8 +317,8 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
317
317
  this.$$c.$$.after_update.push(n), n();
318
318
  for (const i in this.$$l)
319
319
  for (const o of this.$$l[i]) {
320
- const a = this.$$c.$on(i, o);
321
- this.$$l_u.set(o, a);
320
+ const s = this.$$c.$on(i, o);
321
+ this.$$l_u.set(o, s);
322
322
  }
323
323
  this.$$l = {};
324
324
  }
@@ -368,36 +368,36 @@ function pe(e, t, r, n) {
368
368
  return t;
369
369
  }
370
370
  }
371
- function Lr(e, t, r, n, i, o) {
372
- let a = class extends Rt {
371
+ function Rr(e, t, r, n, i, o) {
372
+ let s = class extends Ft {
373
373
  constructor() {
374
374
  super(e, r, i), this.$$p_d = t;
375
375
  }
376
376
  static get observedAttributes() {
377
377
  return Object.keys(t).map(
378
- (s) => (t[s].attribute || s).toLowerCase()
378
+ (a) => (t[a].attribute || a).toLowerCase()
379
379
  );
380
380
  }
381
381
  };
382
- return Object.keys(t).forEach((s) => {
383
- Object.defineProperty(a.prototype, s, {
382
+ return Object.keys(t).forEach((a) => {
383
+ Object.defineProperty(s.prototype, a, {
384
384
  get() {
385
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
385
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
386
386
  },
387
387
  set(h) {
388
- h = pe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
388
+ h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
389
389
  }
390
390
  });
391
- }), n.forEach((s) => {
392
- Object.defineProperty(a.prototype, s, {
391
+ }), n.forEach((a) => {
392
+ Object.defineProperty(s.prototype, a, {
393
393
  get() {
394
- return this.$$c?.[s];
394
+ return this.$$c?.[a];
395
395
  }
396
396
  });
397
397
  }), e.element = /** @type {any} */
398
- a, a;
398
+ s, s;
399
399
  }
400
- class Rr {
400
+ class $r {
401
401
  /**
402
402
  * ### PRIVATE API
403
403
  *
@@ -416,7 +416,7 @@ class Rr {
416
416
  $$set = void 0;
417
417
  /** @returns {void} */
418
418
  $destroy() {
419
- Ir(this, 1), this.$destroy = O;
419
+ Nr(this, 1), this.$destroy = P;
420
420
  }
421
421
  /**
422
422
  * @template {Extract<keyof Events, string>} K
@@ -425,8 +425,8 @@ class Rr {
425
425
  * @returns {() => void}
426
426
  */
427
427
  $on(t, r) {
428
- if (!Ze(r))
429
- return O;
428
+ if (!qe(r))
429
+ return P;
430
430
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
431
431
  return n.push(r), () => {
432
432
  const i = n.indexOf(r);
@@ -438,7 +438,7 @@ class Rr {
438
438
  * @returns {void}
439
439
  */
440
440
  $set(t) {
441
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
442
  }
443
443
  }
444
444
  const Fr = "4";
@@ -457,43 +457,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
457
457
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
458
458
  PERFORMANCE OF THIS SOFTWARE.
459
459
  ***************************************************************************** */
460
- var Le = function(e, t) {
461
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
460
+ var $e = function(e, t) {
461
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
462
462
  r.__proto__ = n;
463
463
  } || function(r, n) {
464
464
  for (var i in n)
465
465
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
466
- }, Le(e, t);
466
+ }, $e(e, t);
467
467
  };
468
- function F(e, t) {
468
+ function ae(e, t) {
469
469
  if (typeof t != "function" && t !== null)
470
470
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
471
- Le(e, t);
471
+ $e(e, t);
472
472
  function r() {
473
473
  this.constructor = e;
474
474
  }
475
475
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
476
476
  }
477
- var v = function() {
478
- return v = Object.assign || function(t) {
479
- for (var r, n = 1, i = arguments.length; n < i; n++) {
480
- r = arguments[n];
481
- for (var o in r)
482
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
483
- }
484
- return t;
485
- }, v.apply(this, arguments);
486
- };
487
- function $r(e, t) {
488
- var r = {};
489
- for (var n in e)
490
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
491
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
492
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
493
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
494
- return r;
495
- }
496
- function Re(e) {
477
+ function Fe(e) {
497
478
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
498
479
  if (r)
499
480
  return r.call(e);
@@ -505,42 +486,42 @@ function Re(e) {
505
486
  };
506
487
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
507
488
  }
508
- function Fe(e, t) {
489
+ function Ue(e, t) {
509
490
  var r = typeof Symbol == "function" && e[Symbol.iterator];
510
491
  if (!r)
511
492
  return e;
512
- var n = r.call(e), i, o = [], a;
493
+ var n = r.call(e), i, o = [], s;
513
494
  try {
514
495
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
515
496
  o.push(i.value);
516
- } catch (s) {
517
- a = { error: s };
497
+ } catch (a) {
498
+ s = { error: a };
518
499
  } finally {
519
500
  try {
520
501
  i && !i.done && (r = n.return) && r.call(n);
521
502
  } finally {
522
- if (a)
523
- throw a.error;
503
+ if (s)
504
+ throw s.error;
524
505
  }
525
506
  }
526
507
  return o;
527
508
  }
528
- function Z(e, t, r) {
529
- if (r || arguments.length === 2)
509
+ function De(e, t, r) {
510
+ if (arguments.length === 2)
530
511
  for (var n = 0, i = t.length, o; n < i; n++)
531
512
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
532
513
  return e.concat(o || t);
533
514
  }
534
- function L(e) {
515
+ function R(e) {
535
516
  return typeof e == "function";
536
517
  }
537
- function Ft(e) {
518
+ function Ut(e) {
538
519
  var t = function(n) {
539
520
  Error.call(n), n.stack = new Error().stack;
540
521
  }, r = e(t);
541
522
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
523
  }
543
- var we = Ft(function(e) {
524
+ var Ae = Ut(function(e) {
544
525
  return function(r) {
545
526
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
527
  ` + r.map(function(n, i) {
@@ -549,13 +530,13 @@ var we = Ft(function(e) {
549
530
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
550
531
  };
551
532
  });
552
- function $e(e, t) {
533
+ function Ge(e, t) {
553
534
  if (e) {
554
535
  var r = e.indexOf(t);
555
536
  0 <= r && e.splice(r, 1);
556
537
  }
557
538
  }
558
- var ve = function() {
539
+ var _e = function() {
559
540
  function e(t) {
560
541
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
561
542
  }
@@ -563,11 +544,11 @@ var ve = function() {
563
544
  var t, r, n, i, o;
564
545
  if (!this.closed) {
565
546
  this.closed = !0;
566
- var a = this._parentage;
567
- if (a)
568
- if (this._parentage = null, Array.isArray(a))
547
+ var s = this._parentage;
548
+ if (s)
549
+ if (this._parentage = null, Array.isArray(s))
569
550
  try {
570
- for (var s = Re(a), h = s.next(); !h.done; h = s.next()) {
551
+ for (var a = Fe(s), h = a.next(); !h.done; h = a.next()) {
571
552
  var u = h.value;
572
553
  u.remove(this);
573
554
  }
@@ -575,31 +556,31 @@ var ve = function() {
575
556
  t = { error: d };
576
557
  } finally {
577
558
  try {
578
- h && !h.done && (r = s.return) && r.call(s);
559
+ h && !h.done && (r = a.return) && r.call(a);
579
560
  } finally {
580
561
  if (t)
581
562
  throw t.error;
582
563
  }
583
564
  }
584
565
  else
585
- a.remove(this);
566
+ s.remove(this);
586
567
  var l = this.initialTeardown;
587
- if (L(l))
568
+ if (R(l))
588
569
  try {
589
570
  l();
590
571
  } catch (d) {
591
- o = d instanceof we ? d.errors : [d];
572
+ o = d instanceof Ae ? d.errors : [d];
592
573
  }
593
574
  var c = this._finalizers;
594
575
  if (c) {
595
576
  this._finalizers = null;
596
577
  try {
597
- for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
578
+ for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
598
579
  var m = p.value;
599
580
  try {
600
- nt(m);
581
+ ot(m);
601
582
  } catch (d) {
602
- o = o ?? [], d instanceof we ? o = Z(Z([], Fe(o)), Fe(d.errors)) : o.push(d);
583
+ o = o ?? [], d instanceof Ae ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
603
584
  }
604
585
  }
605
586
  } catch (d) {
@@ -614,13 +595,13 @@ var ve = function() {
614
595
  }
615
596
  }
616
597
  if (o)
617
- throw new we(o);
598
+ throw new Ae(o);
618
599
  }
619
600
  }, e.prototype.add = function(t) {
620
601
  var r;
621
602
  if (t && t !== this)
622
603
  if (this.closed)
623
- nt(t);
604
+ ot(t);
624
605
  else {
625
606
  if (t instanceof e) {
626
607
  if (t.closed || t._hasParent(this))
@@ -637,56 +618,52 @@ var ve = function() {
637
618
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
638
619
  }, e.prototype._removeParent = function(t) {
639
620
  var r = this._parentage;
640
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
621
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
641
622
  }, e.prototype.remove = function(t) {
642
623
  var r = this._finalizers;
643
- r && $e(r, t), t instanceof e && t._removeParent(this);
624
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
644
625
  }, e.EMPTY = function() {
645
626
  var t = new e();
646
627
  return t.closed = !0, t;
647
628
  }(), e;
648
- }(), $t = ve.EMPTY;
649
- function Ut(e) {
650
- return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
651
- }
652
- function nt(e) {
653
- L(e) ? e() : e.unsubscribe();
654
- }
655
- var Dt = {
656
- onUnhandledError: null,
657
- onStoppedNotification: null,
658
- Promise: void 0,
659
- useDeprecatedSynchronousErrorHandling: !1,
660
- useDeprecatedNextContext: !1
661
- }, Ur = {
629
+ }(), Dt = _e.EMPTY;
630
+ function Gt(e) {
631
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
632
+ }
633
+ function ot(e) {
634
+ R(e) ? e() : e.unsubscribe();
635
+ }
636
+ var Ur = {
637
+ Promise: void 0
638
+ }, Dr = {
662
639
  setTimeout: function(e, t) {
663
640
  for (var r = [], n = 2; n < arguments.length; n++)
664
641
  r[n - 2] = arguments[n];
665
- return setTimeout.apply(void 0, Z([e, t], Fe(r)));
642
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
666
643
  },
667
644
  clearTimeout: function(e) {
668
645
  return clearTimeout(e);
669
646
  },
670
647
  delegate: void 0
671
648
  };
672
- function Dr(e) {
673
- Ur.setTimeout(function() {
649
+ function Gr(e) {
650
+ Dr.setTimeout(function() {
674
651
  throw e;
675
652
  });
676
653
  }
677
- function it() {
654
+ function st() {
678
655
  }
679
656
  function me(e) {
680
657
  e();
681
658
  }
682
- var Gt = function(e) {
683
- F(t, e);
659
+ var jt = function(e) {
660
+ ae(t, e);
684
661
  function t(r) {
685
662
  var n = e.call(this) || this;
686
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Vr, n;
663
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Vr, n;
687
664
  }
688
665
  return t.create = function(r, n, i) {
689
- return new Ue(r, n, i);
666
+ return new je(r, n, i);
690
667
  }, t.prototype.next = function(r) {
691
668
  this.isStopped || this._next(r);
692
669
  }, t.prototype.error = function(r) {
@@ -710,11 +687,7 @@ var Gt = function(e) {
710
687
  this.unsubscribe();
711
688
  }
712
689
  }, t;
713
- }(ve), Gr = Function.prototype.bind;
714
- function He(e, t) {
715
- return Gr.call(e, t);
716
- }
717
- var jr = function() {
690
+ }(_e), jr = function() {
718
691
  function e(t) {
719
692
  this.partialObserver = t;
720
693
  }
@@ -745,41 +718,29 @@ var jr = function() {
745
718
  fe(r);
746
719
  }
747
720
  }, e;
748
- }(), Ue = function(e) {
749
- F(t, e);
721
+ }(), je = function(e) {
722
+ ae(t, e);
750
723
  function t(r, n, i) {
751
- var o = e.call(this) || this, a;
752
- if (L(r) || !r)
753
- a = {
754
- next: r ?? void 0,
755
- error: n ?? void 0,
756
- complete: i ?? void 0
757
- };
758
- else {
759
- var s;
760
- o && Dt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
761
- return o.unsubscribe();
762
- }, a = {
763
- next: r.next && He(r.next, s),
764
- error: r.error && He(r.error, s),
765
- complete: r.complete && He(r.complete, s)
766
- }) : a = r;
767
- }
768
- return o.destination = new jr(a), o;
724
+ var o = e.call(this) || this, s;
725
+ return R(r) || !r ? s = {
726
+ next: r ?? void 0,
727
+ error: n ?? void 0,
728
+ complete: i ?? void 0
729
+ } : s = r, o.destination = new jr(s), o;
769
730
  }
770
731
  return t;
771
- }(Gt);
732
+ }(jt);
772
733
  function fe(e) {
773
- Dr(e);
734
+ Gr(e);
774
735
  }
775
736
  function kr(e) {
776
737
  throw e;
777
738
  }
778
739
  var Vr = {
779
740
  closed: !0,
780
- next: it,
741
+ next: st,
781
742
  error: kr,
782
- complete: it
743
+ complete: st
783
744
  }, Xr = function() {
784
745
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
746
  }();
@@ -793,7 +754,7 @@ function Wr(e) {
793
754
  }, r);
794
755
  };
795
756
  }
796
- var ot = function() {
757
+ var at = function() {
797
758
  function e(t) {
798
759
  t && (this._subscribe = t);
799
760
  }
@@ -801,10 +762,10 @@ var ot = function() {
801
762
  var r = new e();
802
763
  return r.source = this, r.operator = t, r;
803
764
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = Qr(t) ? t : new Ue(t, r, n);
765
+ var i = this, o = Qr(t) ? t : new je(t, r, n);
805
766
  return me(function() {
806
- var a = i, s = a.operator, h = a.source;
807
- o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
767
+ var s = i, a = s.operator, h = s.source;
768
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
808
769
  }), o;
809
770
  }, e.prototype._trySubscribe = function(t) {
810
771
  try {
@@ -814,19 +775,19 @@ var ot = function() {
814
775
  }
815
776
  }, e.prototype.forEach = function(t, r) {
816
777
  var n = this;
817
- return r = st(r), new r(function(i, o) {
818
- var a = new Ue({
819
- next: function(s) {
778
+ return r = ut(r), new r(function(i, o) {
779
+ var s = new je({
780
+ next: function(a) {
820
781
  try {
821
- t(s);
782
+ t(a);
822
783
  } catch (h) {
823
- o(h), a.unsubscribe();
784
+ o(h), s.unsubscribe();
824
785
  }
825
786
  },
826
787
  error: o,
827
788
  complete: i
828
789
  });
829
- n.subscribe(a);
790
+ n.subscribe(s);
830
791
  });
831
792
  }, e.prototype._subscribe = function(t) {
832
793
  var r;
@@ -839,12 +800,12 @@ var ot = function() {
839
800
  return Wr(t)(this);
840
801
  }, e.prototype.toPromise = function(t) {
841
802
  var r = this;
842
- return t = st(t), new t(function(n, i) {
803
+ return t = ut(t), new t(function(n, i) {
843
804
  var o;
844
- r.subscribe(function(a) {
845
- return o = a;
846
- }, function(a) {
847
- return i(a);
805
+ r.subscribe(function(s) {
806
+ return o = s;
807
+ }, function(s) {
808
+ return i(s);
848
809
  }, function() {
849
810
  return n(o);
850
811
  });
@@ -853,28 +814,28 @@ var ot = function() {
853
814
  return new e(t);
854
815
  }, e;
855
816
  }();
856
- function st(e) {
817
+ function ut(e) {
857
818
  var t;
858
- return (t = e ?? Dt.Promise) !== null && t !== void 0 ? t : Promise;
819
+ return (t = e ?? Ur.Promise) !== null && t !== void 0 ? t : Promise;
859
820
  }
860
821
  function Zr(e) {
861
- return e && L(e.next) && L(e.error) && L(e.complete);
822
+ return e && R(e.next) && R(e.error) && R(e.complete);
862
823
  }
863
824
  function Qr(e) {
864
- return e && e instanceof Gt || Zr(e) && Ut(e);
825
+ return e && e instanceof jt || Zr(e) && Gt(e);
865
826
  }
866
- var Jr = Ft(function(e) {
827
+ var Jr = Ut(function(e) {
867
828
  return function() {
868
829
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
830
  };
870
- }), jt = function(e) {
871
- F(t, e);
831
+ }), kt = function(e) {
832
+ ae(t, e);
872
833
  function t() {
873
834
  var r = e.call(this) || this;
874
835
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
836
  }
876
837
  return t.prototype.lift = function(r) {
877
- var n = new at(this, this);
838
+ var n = new lt(this, this);
878
839
  return n.operator = r, n;
879
840
  }, t.prototype._throwIfClosed = function() {
880
841
  if (this.closed)
@@ -886,15 +847,15 @@ var Jr = Ft(function(e) {
886
847
  if (n._throwIfClosed(), !n.isStopped) {
887
848
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
888
849
  try {
889
- for (var a = Re(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
890
- var h = s.value;
850
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
851
+ var h = a.value;
891
852
  h.next(r);
892
853
  }
893
854
  } catch (u) {
894
855
  i = { error: u };
895
856
  } finally {
896
857
  try {
897
- s && !s.done && (o = a.return) && o.call(a);
858
+ a && !a.done && (o = s.return) && o.call(s);
898
859
  } finally {
899
860
  if (i)
900
861
  throw i.error;
@@ -934,21 +895,21 @@ var Jr = Ft(function(e) {
934
895
  }, t.prototype._subscribe = function(r) {
935
896
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
936
897
  }, t.prototype._innerSubscribe = function(r) {
937
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
938
- return o || a ? $t : (this.currentObservers = null, s.push(r), new ve(function() {
939
- n.currentObservers = null, $e(s, r);
898
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
899
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new _e(function() {
900
+ n.currentObservers = null, Ge(a, r);
940
901
  }));
941
902
  }, t.prototype._checkFinalizedStatuses = function(r) {
942
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
943
- i ? r.error(o) : a && r.complete();
903
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
904
+ i ? r.error(o) : s && r.complete();
944
905
  }, t.prototype.asObservable = function() {
945
- var r = new ot();
906
+ var r = new at();
946
907
  return r.source = this, r;
947
908
  }, t.create = function(r, n) {
948
- return new at(r, n);
909
+ return new lt(r, n);
949
910
  }, t;
950
- }(ot), at = function(e) {
951
- F(t, e);
911
+ }(at), lt = function(e) {
912
+ ae(t, e);
952
913
  function t(r, n) {
953
914
  var i = e.call(this) || this;
954
915
  return i.destination = r, i.source = n, i;
@@ -964,54 +925,54 @@ var Jr = Ft(function(e) {
964
925
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
965
926
  }, t.prototype._subscribe = function(r) {
966
927
  var n, i;
967
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
928
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
968
929
  }, t;
969
- }(jt), kt = {
930
+ }(kt), Vt = {
970
931
  now: function() {
971
- return (kt.delegate || Date).now();
932
+ return (Vt.delegate || Date).now();
972
933
  },
973
934
  delegate: void 0
974
935
  }, Yr = function(e) {
975
- F(t, e);
936
+ ae(t, e);
976
937
  function t(r, n, i) {
977
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
938
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
978
939
  var o = e.call(this) || this;
979
940
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
980
941
  }
981
942
  return t.prototype.next = function(r) {
982
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
983
- i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
943
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
944
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
984
945
  }, t.prototype._subscribe = function(r) {
985
946
  this._throwIfClosed(), this._trimBuffer();
986
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
987
- r.next(s[h]);
947
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
948
+ r.next(a[h]);
988
949
  return this._checkFinalizedStatuses(r), n;
989
950
  }, t.prototype._trimBuffer = function() {
990
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
991
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
951
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
952
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
992
953
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
993
954
  u = l;
994
955
  u && o.splice(0, u + 1);
995
956
  }
996
957
  }, t;
997
- }(jt);
998
- const ut = [], lt = {}, qr = (e, t = 0) => {
999
- if (ut.indexOf(e) == -1) {
958
+ }(kt);
959
+ const ht = [], ft = {}, qr = (e, t = 0) => {
960
+ if (ht.indexOf(e) == -1) {
1000
961
  const r = new Yr(t);
1001
- lt[e] = r, ut.push(e);
962
+ ft[e] = r, ht.push(e);
1002
963
  }
1003
- return lt[e];
964
+ return ft[e];
1004
965
  }, V = [];
1005
966
  function Kr(e, t) {
1006
967
  return {
1007
- subscribe: _e(e, t).subscribe
968
+ subscribe: Ee(e, t).subscribe
1008
969
  };
1009
970
  }
1010
- function _e(e, t = O) {
971
+ function Ee(e, t = P) {
1011
972
  let r;
1012
973
  const n = /* @__PURE__ */ new Set();
1013
- function i(s) {
1014
- if (Nt(e, s) && (e = s, r)) {
974
+ function i(a) {
975
+ if (Rt(e, a) && (e = a, r)) {
1015
976
  const h = !V.length;
1016
977
  for (const u of n)
1017
978
  u[1](), V.push(u, e);
@@ -1022,37 +983,37 @@ function _e(e, t = O) {
1022
983
  }
1023
984
  }
1024
985
  }
1025
- function o(s) {
1026
- i(s(e));
986
+ function o(a) {
987
+ i(a(e));
1027
988
  }
1028
- function a(s, h = O) {
1029
- const u = [s, h];
1030
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
989
+ function s(a, h = P) {
990
+ const u = [a, h];
991
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1031
992
  n.delete(u), n.size === 0 && r && (r(), r = null);
1032
993
  };
1033
994
  }
1034
- return { set: i, update: o, subscribe: a };
995
+ return { set: i, update: o, subscribe: s };
1035
996
  }
1036
- function K(e, t, r) {
997
+ function q(e, t, r) {
1037
998
  const n = !Array.isArray(e), i = n ? [e] : e;
1038
999
  if (!i.every(Boolean))
1039
1000
  throw new Error("derived() expects stores as input, got a falsy value");
1040
1001
  const o = t.length < 2;
1041
- return Kr(r, (a, s) => {
1002
+ return Kr(r, (s, a) => {
1042
1003
  let h = !1;
1043
1004
  const u = [];
1044
- let l = 0, c = O;
1005
+ let l = 0, c = P;
1045
1006
  const f = () => {
1046
1007
  if (l)
1047
1008
  return;
1048
1009
  c();
1049
- const m = t(n ? u[0] : u, a, s);
1050
- o ? a(m) : c = Ze(m) ? m : O;
1010
+ const m = t(n ? u[0] : u, s, a);
1011
+ o ? s(m) : c = qe(m) ? m : P;
1051
1012
  }, p = i.map(
1052
- (m, d) => Lt(
1013
+ (m, d) => $t(
1053
1014
  m,
1054
- (_) => {
1055
- u[d] = _, l &= ~(1 << d), h && f();
1015
+ (v) => {
1016
+ u[d] = v, l &= ~(1 << d), h && f();
1056
1017
  },
1057
1018
  () => {
1058
1019
  l |= 1 << d;
@@ -1060,7 +1021,7 @@ function K(e, t, r) {
1060
1021
  )
1061
1022
  );
1062
1023
  return h = !0, f(), function() {
1063
- se(p), c(), h = !1;
1024
+ oe(p), c(), h = !1;
1064
1025
  };
1065
1026
  });
1066
1027
  }
@@ -1084,29 +1045,29 @@ function an(e) {
1084
1045
  function un(e) {
1085
1046
  return Array.isArray(e) ? [] : {};
1086
1047
  }
1087
- function ie(e, t) {
1088
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(un(e), e, t) : e;
1048
+ function ne(e, t) {
1049
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(un(e), e, t) : e;
1089
1050
  }
1090
1051
  function ln(e, t, r) {
1091
1052
  return e.concat(t).map(function(n) {
1092
- return ie(n, r);
1053
+ return ne(n, r);
1093
1054
  });
1094
1055
  }
1095
1056
  function hn(e, t) {
1096
1057
  if (!t.customMerge)
1097
- return Q;
1058
+ return Z;
1098
1059
  var r = t.customMerge(e);
1099
- return typeof r == "function" ? r : Q;
1060
+ return typeof r == "function" ? r : Z;
1100
1061
  }
1101
1062
  function fn(e) {
1102
1063
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1103
1064
  return Object.propertyIsEnumerable.call(e, t);
1104
1065
  }) : [];
1105
1066
  }
1106
- function ht(e) {
1067
+ function ct(e) {
1107
1068
  return Object.keys(e).concat(fn(e));
1108
1069
  }
1109
- function Vt(e, t) {
1070
+ function Xt(e, t) {
1110
1071
  try {
1111
1072
  return t in e;
1112
1073
  } catch {
@@ -1114,129 +1075,179 @@ function Vt(e, t) {
1114
1075
  }
1115
1076
  }
1116
1077
  function cn(e, t) {
1117
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1118
1079
  }
1119
1080
  function pn(e, t, r) {
1120
1081
  var n = {};
1121
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1122
- n[i] = ie(e[i], r);
1123
- }), ht(t).forEach(function(i) {
1124
- cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1082
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1083
+ n[i] = ne(e[i], r);
1084
+ }), ct(t).forEach(function(i) {
1085
+ cn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1125
1086
  }), n;
1126
1087
  }
1127
- function Q(e, t, r) {
1128
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ie;
1088
+ function Z(e, t, r) {
1089
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ne;
1129
1090
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1130
- return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ie(t, r);
1091
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ne(t, r);
1131
1092
  }
1132
- Q.all = function(t, r) {
1093
+ Z.all = function(t, r) {
1133
1094
  if (!Array.isArray(t))
1134
1095
  throw new Error("first argument should be an array");
1135
1096
  return t.reduce(function(n, i) {
1136
- return Q(n, i, r);
1097
+ return Z(n, i, r);
1137
1098
  }, {});
1138
1099
  };
1139
- var mn = Q, dn = mn;
1100
+ var mn = Z, dn = mn;
1140
1101
  const bn = /* @__PURE__ */ en(dn);
1141
- function Ae(e, t) {
1142
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1102
+ var ke = function(e, t) {
1103
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1104
+ r.__proto__ = n;
1105
+ } || function(r, n) {
1106
+ for (var i in n)
1107
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1108
+ }, ke(e, t);
1109
+ };
1110
+ function xe(e, t) {
1111
+ if (typeof t != "function" && t !== null)
1112
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1113
+ ke(e, t);
1114
+ function r() {
1115
+ this.constructor = e;
1116
+ }
1117
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1118
+ }
1119
+ var I = function() {
1120
+ return I = Object.assign || function(t) {
1121
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1122
+ r = arguments[n];
1123
+ for (var o in r)
1124
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1125
+ }
1126
+ return t;
1127
+ }, I.apply(this, arguments);
1128
+ };
1129
+ function gn(e, t) {
1130
+ var r = {};
1131
+ for (var n in e)
1132
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1133
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1134
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1135
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1136
+ return r;
1137
+ }
1138
+ function Be(e, t, r) {
1139
+ if (r || arguments.length === 2)
1140
+ for (var n = 0, i = t.length, o; n < i; n++)
1141
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1142
+ return e.concat(o || Array.prototype.slice.call(t));
1143
+ }
1144
+ function Oe(e, t) {
1145
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : _n;
1143
1146
  return i(e, {
1144
1147
  cache: r,
1145
1148
  serializer: n
1146
1149
  });
1147
1150
  }
1148
- function gn(e) {
1151
+ function yn(e) {
1149
1152
  return e == null || typeof e == "number" || typeof e == "boolean";
1150
1153
  }
1151
- function Xt(e, t, r, n) {
1152
- var i = gn(n) ? n : r(n), o = t.get(i);
1154
+ function vn(e, t, r, n) {
1155
+ var i = yn(n) ? n : r(n), o = t.get(i);
1153
1156
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1154
1157
  }
1155
1158
  function zt(e, t, r) {
1156
1159
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1157
1160
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1158
1161
  }
1159
- function Qe(e, t, r, n, i) {
1162
+ function Wt(e, t, r, n, i) {
1160
1163
  return r.bind(t, e, n, i);
1161
1164
  }
1162
- function yn(e, t) {
1163
- var r = e.length === 1 ? Xt : zt;
1164
- return Qe(e, this, r, t.cache.create(), t.serializer);
1165
- }
1166
- function vn(e, t) {
1167
- return Qe(e, this, zt, t.cache.create(), t.serializer);
1168
- }
1169
1165
  function _n(e, t) {
1170
- return Qe(e, this, Xt, t.cache.create(), t.serializer);
1166
+ var r = e.length === 1 ? vn : zt;
1167
+ return Wt(e, this, r, t.cache.create(), t.serializer);
1171
1168
  }
1172
- var En = function() {
1173
- return JSON.stringify(arguments);
1174
- };
1175
- function Je() {
1176
- this.cache = /* @__PURE__ */ Object.create(null);
1169
+ function En(e, t) {
1170
+ return Wt(e, this, zt, t.cache.create(), t.serializer);
1177
1171
  }
1178
- Je.prototype.get = function(e) {
1179
- return this.cache[e];
1180
- };
1181
- Je.prototype.set = function(e, t) {
1182
- this.cache[e] = t;
1183
- };
1184
- var xn = {
1172
+ var xn = function() {
1173
+ return JSON.stringify(arguments);
1174
+ }, Sn = (
1175
+ /** @class */
1176
+ function() {
1177
+ function e() {
1178
+ this.cache = /* @__PURE__ */ Object.create(null);
1179
+ }
1180
+ return e.prototype.get = function(t) {
1181
+ return this.cache[t];
1182
+ }, e.prototype.set = function(t, r) {
1183
+ this.cache[t] = r;
1184
+ }, e;
1185
+ }()
1186
+ ), Tn = {
1185
1187
  create: function() {
1186
- return new Je();
1188
+ return new Sn();
1187
1189
  }
1188
- }, Be = {
1189
- variadic: vn,
1190
- monadic: _n
1191
- }, b;
1190
+ }, Pe = {
1191
+ variadic: En
1192
+ }, ge = function() {
1193
+ return ge = Object.assign || function(t) {
1194
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1195
+ r = arguments[n];
1196
+ for (var o in r)
1197
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1198
+ }
1199
+ return t;
1200
+ }, ge.apply(this, arguments);
1201
+ };
1202
+ var b;
1192
1203
  (function(e) {
1193
1204
  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";
1194
1205
  })(b || (b = {}));
1195
- var E;
1206
+ var _;
1196
1207
  (function(e) {
1197
1208
  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";
1198
- })(E || (E = {}));
1199
- var J;
1209
+ })(_ || (_ = {}));
1210
+ var Q;
1200
1211
  (function(e) {
1201
1212
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1202
- })(J || (J = {}));
1203
- function ft(e) {
1204
- return e.type === E.literal;
1205
- }
1206
- function Sn(e) {
1207
- return e.type === E.argument;
1213
+ })(Q || (Q = {}));
1214
+ function pt(e) {
1215
+ return e.type === _.literal;
1208
1216
  }
1209
- function Wt(e) {
1210
- return e.type === E.number;
1217
+ function wn(e) {
1218
+ return e.type === _.argument;
1211
1219
  }
1212
1220
  function Zt(e) {
1213
- return e.type === E.date;
1221
+ return e.type === _.number;
1214
1222
  }
1215
1223
  function Qt(e) {
1216
- return e.type === E.time;
1224
+ return e.type === _.date;
1217
1225
  }
1218
1226
  function Jt(e) {
1219
- return e.type === E.select;
1227
+ return e.type === _.time;
1220
1228
  }
1221
1229
  function Yt(e) {
1222
- return e.type === E.plural;
1223
- }
1224
- function Tn(e) {
1225
- return e.type === E.pound;
1230
+ return e.type === _.select;
1226
1231
  }
1227
1232
  function qt(e) {
1228
- return e.type === E.tag;
1233
+ return e.type === _.plural;
1234
+ }
1235
+ function Hn(e) {
1236
+ return e.type === _.pound;
1229
1237
  }
1230
1238
  function Kt(e) {
1231
- return !!(e && typeof e == "object" && e.type === J.number);
1239
+ return e.type === _.tag;
1232
1240
  }
1233
- function De(e) {
1234
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1241
+ function er(e) {
1242
+ return !!(e && typeof e == "object" && e.type === Q.number);
1235
1243
  }
1236
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1237
- function Hn(e) {
1244
+ function Ve(e) {
1245
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1246
+ }
1247
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1248
+ function Bn(e) {
1238
1249
  var t = {};
1239
- return e.replace(wn, function(r) {
1250
+ return e.replace(An, function(r) {
1240
1251
  var n = r.length;
1241
1252
  switch (r[0]) {
1242
1253
  case "G":
@@ -1325,36 +1336,46 @@ function Hn(e) {
1325
1336
  return "";
1326
1337
  }), t;
1327
1338
  }
1328
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1329
- function Bn(e) {
1339
+ var S = function() {
1340
+ return S = Object.assign || function(t) {
1341
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1342
+ r = arguments[n];
1343
+ for (var o in r)
1344
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1345
+ }
1346
+ return t;
1347
+ }, S.apply(this, arguments);
1348
+ };
1349
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1350
+ function Pn(e) {
1330
1351
  if (e.length === 0)
1331
1352
  throw new Error("Number skeleton cannot be empty");
1332
- for (var t = e.split(An).filter(function(f) {
1353
+ for (var t = e.split(On).filter(function(f) {
1333
1354
  return f.length > 0;
1334
1355
  }), r = [], n = 0, i = t; n < i.length; n++) {
1335
- var o = i[n], a = o.split("/");
1336
- if (a.length === 0)
1356
+ var o = i[n], s = o.split("/");
1357
+ if (s.length === 0)
1337
1358
  throw new Error("Invalid number skeleton");
1338
- for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1359
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1339
1360
  var c = l[u];
1340
1361
  if (c.length === 0)
1341
1362
  throw new Error("Invalid number skeleton");
1342
1363
  }
1343
- r.push({ stem: s, options: h });
1364
+ r.push({ stem: a, options: h });
1344
1365
  }
1345
1366
  return r;
1346
1367
  }
1347
- function Pn(e) {
1368
+ function Cn(e) {
1348
1369
  return e.replace(/^(.*?)-/, "");
1349
1370
  }
1350
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1351
- function pt(e) {
1371
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1372
+ function dt(e) {
1352
1373
  var t = {};
1353
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1374
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1354
1375
  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)), "";
1355
1376
  }), t;
1356
1377
  }
1357
- function nr(e) {
1378
+ function ir(e) {
1358
1379
  switch (e) {
1359
1380
  case "sign-auto":
1360
1381
  return {
@@ -1394,7 +1415,7 @@ function nr(e) {
1394
1415
  };
1395
1416
  }
1396
1417
  }
1397
- function Cn(e) {
1418
+ function Nn(e) {
1398
1419
  var t;
1399
1420
  if (e[0] === "E" && e[1] === "E" ? (t = {
1400
1421
  notation: "engineering"
@@ -1402,17 +1423,17 @@ function Cn(e) {
1402
1423
  notation: "scientific"
1403
1424
  }, e = e.slice(1)), t) {
1404
1425
  var r = e.slice(0, 2);
1405
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1426
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1406
1427
  throw new Error("Malformed concise eng/scientific notation");
1407
1428
  t.minimumIntegerDigits = e.length;
1408
1429
  }
1409
1430
  return t;
1410
1431
  }
1411
- function mt(e) {
1412
- var t = {}, r = nr(e);
1432
+ function bt(e) {
1433
+ var t = {}, r = ir(e);
1413
1434
  return r || t;
1414
1435
  }
1415
- function In(e) {
1436
+ function Mn(e) {
1416
1437
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1417
1438
  var i = n[r];
1418
1439
  switch (i.stem) {
@@ -1436,7 +1457,7 @@ function In(e) {
1436
1457
  continue;
1437
1458
  case "measure-unit":
1438
1459
  case "unit":
1439
- t.style = "unit", t.unit = Pn(i.options[0]);
1460
+ t.style = "unit", t.unit = Cn(i.options[0]);
1440
1461
  continue;
1441
1462
  case "compact-short":
1442
1463
  case "K":
@@ -1447,13 +1468,13 @@ function In(e) {
1447
1468
  t.notation = "compact", t.compactDisplay = "long";
1448
1469
  continue;
1449
1470
  case "scientific":
1450
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1451
- return v(v({}, h), mt(u));
1471
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1472
+ return S(S({}, h), bt(u));
1452
1473
  }, {}));
1453
1474
  continue;
1454
1475
  case "engineering":
1455
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1456
- return v(v({}, h), mt(u));
1476
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1477
+ return S(S({}, h), bt(u));
1457
1478
  }, {}));
1458
1479
  continue;
1459
1480
  case "notation-simple":
@@ -1498,7 +1519,7 @@ function In(e) {
1498
1519
  case "integer-width":
1499
1520
  if (i.options.length > 1)
1500
1521
  throw new RangeError("integer-width stems only accept a single optional option");
1501
- i.options[0].replace(On, function(h, u, l, c, f, p) {
1522
+ i.options[0].replace(In, function(h, u, l, c, f, p) {
1502
1523
  if (u)
1503
1524
  t.minimumIntegerDigits = l.length;
1504
1525
  else {
@@ -1511,28 +1532,28 @@ function In(e) {
1511
1532
  });
1512
1533
  continue;
1513
1534
  }
1514
- if (rr.test(i.stem)) {
1535
+ if (nr.test(i.stem)) {
1515
1536
  t.minimumIntegerDigits = i.stem.length;
1516
1537
  continue;
1517
1538
  }
1518
- if (ct.test(i.stem)) {
1539
+ if (mt.test(i.stem)) {
1519
1540
  if (i.options.length > 1)
1520
1541
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1521
- i.stem.replace(ct, function(h, u, l, c, f, p) {
1542
+ i.stem.replace(mt, function(h, u, l, c, f, p) {
1522
1543
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1523
1544
  });
1524
1545
  var o = i.options[0];
1525
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), pt(o)));
1546
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), dt(o)));
1526
1547
  continue;
1527
1548
  }
1528
- if (tr.test(i.stem)) {
1529
- t = v(v({}, t), pt(i.stem));
1549
+ if (rr.test(i.stem)) {
1550
+ t = S(S({}, t), dt(i.stem));
1530
1551
  continue;
1531
1552
  }
1532
- var a = nr(i.stem);
1533
- a && (t = v(v({}, t), a));
1534
- var s = Cn(i.stem);
1535
- s && (t = v(v({}, t), s));
1553
+ var s = ir(i.stem);
1554
+ s && (t = S(S({}, t), s));
1555
+ var a = Nn(i.stem);
1556
+ a && (t = S(S({}, t), a));
1536
1557
  }
1537
1558
  return t;
1538
1559
  }
@@ -2951,23 +2972,23 @@ var ce = {
2951
2972
  "h"
2952
2973
  ]
2953
2974
  };
2954
- function Mn(e, t) {
2975
+ function Ln(e, t) {
2955
2976
  for (var r = "", n = 0; n < e.length; n++) {
2956
2977
  var i = e.charAt(n);
2957
2978
  if (i === "j") {
2958
2979
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2959
2980
  o++, n++;
2960
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2961
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2981
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
2982
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2962
2983
  r += h;
2963
- for (; a-- > 0; )
2984
+ for (; s-- > 0; )
2964
2985
  r = u + r;
2965
2986
  } else
2966
2987
  i === "J" ? r += "H" : r += i;
2967
2988
  }
2968
2989
  return r;
2969
2990
  }
2970
- function Nn(e) {
2991
+ function Rn(e) {
2971
2992
  var t = e.hourCycle;
2972
2993
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2973
2994
  e.hourCycles && // @ts-ignore
@@ -2989,20 +3010,20 @@ function Nn(e) {
2989
3010
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2990
3011
  return i[0];
2991
3012
  }
2992
- var Pe, Ln = new RegExp("^".concat(er.source, "*")), Rn = new RegExp("".concat(er.source, "*$"));
3013
+ var Ce, $n = new RegExp("^".concat(tr.source, "*")), Fn = new RegExp("".concat(tr.source, "*$"));
2993
3014
  function g(e, t) {
2994
3015
  return { start: e, end: t };
2995
3016
  }
2996
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3017
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
2997
3018
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, Ge = !0;
3019
+ }, Xe = !0;
2999
3020
  try {
3000
- var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- Ge = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3021
+ var Wn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
+ Xe = ((Ce = Wn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3002
3023
  } catch {
3003
- Ge = !1;
3024
+ Xe = !1;
3004
3025
  }
3005
- var dt = Fn ? (
3026
+ var gt = Un ? (
3006
3027
  // Native
3007
3028
  function(t, r, n) {
3008
3029
  return t.startsWith(r, n);
@@ -3012,31 +3033,31 @@ var dt = Fn ? (
3012
3033
  function(t, r, n) {
3013
3034
  return t.slice(n, n + r.length) === r;
3014
3035
  }
3015
- ), je = $n ? String.fromCodePoint : (
3036
+ ), ze = Dn ? String.fromCodePoint : (
3016
3037
  // IE11
3017
3038
  function() {
3018
3039
  for (var t = [], r = 0; r < arguments.length; r++)
3019
3040
  t[r] = arguments[r];
3020
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3021
- if (a = t[o++], a > 1114111)
3022
- throw RangeError(a + " is not a valid code point");
3023
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3041
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3042
+ if (s = t[o++], s > 1114111)
3043
+ throw RangeError(s + " is not a valid code point");
3044
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3024
3045
  }
3025
3046
  return n;
3026
3047
  }
3027
- ), bt = (
3048
+ ), yt = (
3028
3049
  // native
3029
- Un ? Object.fromEntries : (
3050
+ Gn ? Object.fromEntries : (
3030
3051
  // Ponyfill
3031
3052
  function(t) {
3032
3053
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3033
- var o = i[n], a = o[0], s = o[1];
3034
- r[a] = s;
3054
+ var o = i[n], s = o[0], a = o[1];
3055
+ r[s] = a;
3035
3056
  }
3036
3057
  return r;
3037
3058
  }
3038
3059
  )
3039
- ), ir = Dn ? (
3060
+ ), or = jn ? (
3040
3061
  // Native
3041
3062
  function(t, r) {
3042
3063
  return t.codePointAt(r);
@@ -3050,7 +3071,7 @@ var dt = Fn ? (
3050
3071
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3051
3072
  }
3052
3073
  }
3053
- ), zn = Gn ? (
3074
+ ), Zn = kn ? (
3054
3075
  // Native
3055
3076
  function(t) {
3056
3077
  return t.trimStart();
@@ -3058,9 +3079,9 @@ var dt = Fn ? (
3058
3079
  ) : (
3059
3080
  // Ponyfill
3060
3081
  function(t) {
3061
- return t.replace(Ln, "");
3082
+ return t.replace($n, "");
3062
3083
  }
3063
- ), Wn = jn ? (
3084
+ ), Qn = Vn ? (
3064
3085
  // Native
3065
3086
  function(t) {
3066
3087
  return t.trimEnd();
@@ -3068,32 +3089,32 @@ var dt = Fn ? (
3068
3089
  ) : (
3069
3090
  // Ponyfill
3070
3091
  function(t) {
3071
- return t.replace(Rn, "");
3092
+ return t.replace(Fn, "");
3072
3093
  }
3073
3094
  );
3074
- function or(e, t) {
3095
+ function sr(e, t) {
3075
3096
  return new RegExp(e, t);
3076
3097
  }
3077
- var ke;
3078
- if (Ge) {
3079
- var gt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- ke = function(t, r) {
3098
+ var We;
3099
+ if (Xe) {
3100
+ var vt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
+ We = function(t, r) {
3081
3102
  var n;
3082
- gt.lastIndex = r;
3083
- var i = gt.exec(t);
3103
+ vt.lastIndex = r;
3104
+ var i = vt.exec(t);
3084
3105
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3085
3106
  };
3086
3107
  } else
3087
- ke = function(t, r) {
3108
+ We = function(t, r) {
3088
3109
  for (var n = []; ; ) {
3089
- var i = ir(t, r);
3090
- if (i === void 0 || sr(i) || Yn(i))
3110
+ var i = or(t, r);
3111
+ if (i === void 0 || ar(i) || Kn(i))
3091
3112
  break;
3092
3113
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3114
  }
3094
- return je.apply(void 0, n);
3115
+ return ze.apply(void 0, n);
3095
3116
  };
3096
- var Zn = (
3117
+ var Jn = (
3097
3118
  /** @class */
3098
3119
  function() {
3099
3120
  function e(t, r) {
@@ -3107,33 +3128,33 @@ var Zn = (
3107
3128
  for (var i = []; !this.isEOF(); ) {
3108
3129
  var o = this.char();
3109
3130
  if (o === 123) {
3110
- var a = this.parseArgument(t, n);
3111
- if (a.err)
3112
- return a;
3113
- i.push(a.val);
3131
+ var s = this.parseArgument(t, n);
3132
+ if (s.err)
3133
+ return s;
3134
+ i.push(s.val);
3114
3135
  } else {
3115
3136
  if (o === 125 && t > 0)
3116
3137
  break;
3117
3138
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3118
- var s = this.clonePosition();
3139
+ var a = this.clonePosition();
3119
3140
  this.bump(), i.push({
3120
- type: E.pound,
3121
- location: g(s, this.clonePosition())
3141
+ type: _.pound,
3142
+ location: g(a, this.clonePosition())
3122
3143
  });
3123
3144
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3124
3145
  if (n)
3125
3146
  break;
3126
3147
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3128
- var a = this.parseTag(t, r);
3129
- if (a.err)
3130
- return a;
3131
- i.push(a.val);
3148
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3149
+ var s = this.parseTag(t, r);
3150
+ if (s.err)
3151
+ return s;
3152
+ i.push(s.val);
3132
3153
  } else {
3133
- var a = this.parseLiteral(t, r);
3134
- if (a.err)
3135
- return a;
3136
- i.push(a.val);
3154
+ var s = this.parseLiteral(t, r);
3155
+ if (s.err)
3156
+ return s;
3157
+ i.push(s.val);
3137
3158
  }
3138
3159
  }
3139
3160
  }
@@ -3145,7 +3166,7 @@ var Zn = (
3145
3166
  if (this.bumpSpace(), this.bumpIf("/>"))
3146
3167
  return {
3147
3168
  val: {
3148
- type: E.literal,
3169
+ type: _.literal,
3149
3170
  value: "<".concat(i, "/>"),
3150
3171
  location: g(n, this.clonePosition())
3151
3172
  },
@@ -3155,27 +3176,27 @@ var Zn = (
3155
3176
  var o = this.parseMessage(t + 1, r, !0);
3156
3177
  if (o.err)
3157
3178
  return o;
3158
- var a = o.val, s = this.clonePosition();
3179
+ var s = o.val, a = this.clonePosition();
3159
3180
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !Ve(this.char()))
3161
- return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3181
+ if (this.isEOF() || !Ze(this.char()))
3182
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3162
3183
  var h = this.clonePosition(), u = this.parseTagName();
3163
3184
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3185
  val: {
3165
- type: E.tag,
3186
+ type: _.tag,
3166
3187
  value: i,
3167
- children: a,
3188
+ children: s,
3168
3189
  location: g(n, this.clonePosition())
3169
3190
  },
3170
3191
  err: null
3171
- } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3192
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3172
3193
  } else
3173
3194
  return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3174
3195
  } else
3175
3196
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3176
3197
  }, e.prototype.parseTagName = function() {
3177
3198
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3199
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3179
3200
  this.bump();
3180
3201
  return this.message.slice(t, this.offset());
3181
3202
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3185,26 +3206,26 @@ var Zn = (
3185
3206
  i += o;
3186
3207
  continue;
3187
3208
  }
3188
- var a = this.tryParseUnquoted(t, r);
3189
- if (a) {
3190
- i += a;
3191
- continue;
3192
- }
3193
- var s = this.tryParseLeftAngleBracket();
3209
+ var s = this.tryParseUnquoted(t, r);
3194
3210
  if (s) {
3195
3211
  i += s;
3196
3212
  continue;
3197
3213
  }
3214
+ var a = this.tryParseLeftAngleBracket();
3215
+ if (a) {
3216
+ i += a;
3217
+ continue;
3218
+ }
3198
3219
  break;
3199
3220
  }
3200
3221
  var h = g(n, this.clonePosition());
3201
3222
  return {
3202
- val: { type: E.literal, value: i, location: h },
3223
+ val: { type: _.literal, value: i, location: h },
3203
3224
  err: null
3204
3225
  };
3205
3226
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3227
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3229
  }, e.prototype.tryParseQuote = function(t) {
3209
3230
  if (this.isEOF() || this.char() !== 39)
3210
3231
  return null;
@@ -3238,12 +3259,12 @@ var Zn = (
3238
3259
  r.push(n);
3239
3260
  this.bump();
3240
3261
  }
3241
- return je.apply(void 0, r);
3262
+ return ze.apply(void 0, r);
3242
3263
  }, e.prototype.tryParseUnquoted = function(t, r) {
3243
3264
  if (this.isEOF())
3244
3265
  return null;
3245
3266
  var n = this.char();
3246
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3267
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3247
3268
  }, e.prototype.parseArgument = function(t, r) {
3248
3269
  var n = this.clonePosition();
3249
3270
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3259,7 +3280,7 @@ var Zn = (
3259
3280
  case 125:
3260
3281
  return this.bump(), {
3261
3282
  val: {
3262
- type: E.argument,
3283
+ type: _.argument,
3263
3284
  // value does not include the opening and closing braces.
3264
3285
  value: i,
3265
3286
  location: g(n, this.clonePosition())
@@ -3272,15 +3293,15 @@ var Zn = (
3272
3293
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3273
3294
  }
3274
3295
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3296
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3276
3297
  this.bumpTo(i);
3277
- var o = this.clonePosition(), a = g(t, o);
3278
- return { value: n, location: a };
3298
+ var o = this.clonePosition(), s = g(t, o);
3299
+ return { value: n, location: s };
3279
3300
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3280
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
- switch (s) {
3301
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3302
+ switch (a) {
3282
3303
  case "":
3283
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3304
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3284
3305
  case "number":
3285
3306
  case "date":
3286
3307
  case "time": {
@@ -3291,7 +3312,7 @@ var Zn = (
3291
3312
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3292
3313
  if (c.err)
3293
3314
  return c;
3294
- var f = Wn(c.val);
3315
+ var f = Qn(c.val);
3295
3316
  if (f.length === 0)
3296
3317
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3297
3318
  var p = g(l, this.clonePosition());
@@ -3301,25 +3322,25 @@ var Zn = (
3301
3322
  if (m.err)
3302
3323
  return m;
3303
3324
  var d = g(i, this.clonePosition());
3304
- if (u && dt(u?.style, "::", 0)) {
3305
- var _ = zn(u.style.slice(2));
3306
- if (s === "number") {
3307
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3325
+ if (u && gt(u?.style, "::", 0)) {
3326
+ var v = Zn(u.style.slice(2));
3327
+ if (a === "number") {
3328
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3308
3329
  return c.err ? c : {
3309
- val: { type: E.number, value: n, location: d, style: c.val },
3330
+ val: { type: _.number, value: n, location: d, style: c.val },
3310
3331
  err: null
3311
3332
  };
3312
3333
  } else {
3313
- if (_.length === 0)
3334
+ if (v.length === 0)
3314
3335
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3315
- var x = _;
3316
- this.locale && (x = Mn(_, this.locale));
3336
+ var E = v;
3337
+ this.locale && (E = Ln(v, this.locale));
3317
3338
  var f = {
3318
- type: J.dateTime,
3319
- pattern: x,
3339
+ type: Q.dateTime,
3340
+ pattern: E,
3320
3341
  location: u.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? Hn(x) : {}
3322
- }, C = s === "date" ? E.date : E.time;
3342
+ parsedOptions: this.shouldParseSkeletons ? Bn(E) : {}
3343
+ }, C = a === "date" ? _.date : _.time;
3323
3344
  return {
3324
3345
  val: { type: C, value: n, location: d, style: f },
3325
3346
  err: null
@@ -3328,7 +3349,7 @@ var Zn = (
3328
3349
  }
3329
3350
  return {
3330
3351
  val: {
3331
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3352
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3332
3353
  value: n,
3333
3354
  location: d,
3334
3355
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3341,10 +3362,10 @@ var Zn = (
3341
3362
  case "select": {
3342
3363
  var T = this.clonePosition();
3343
3364
  if (this.bumpSpace(), !this.bumpIf(","))
3344
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3365
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3345
3366
  this.bumpSpace();
3346
3367
  var H = this.parseIdentifierIfPossible(), M = 0;
3347
- if (s !== "select" && H.value === "offset") {
3368
+ if (a !== "select" && H.value === "offset") {
3348
3369
  if (!this.bumpIf(":"))
3349
3370
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3350
3371
  this.bumpSpace();
@@ -3353,35 +3374,35 @@ var Zn = (
3353
3374
  return c;
3354
3375
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), M = c.val;
3355
3376
  }
3356
- var y = this.tryParsePluralOrSelectOptions(t, s, r, H);
3377
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, H);
3357
3378
  if (y.err)
3358
3379
  return y;
3359
3380
  var m = this.tryParseArgumentClose(i);
3360
3381
  if (m.err)
3361
3382
  return m;
3362
3383
  var w = g(i, this.clonePosition());
3363
- return s === "select" ? {
3384
+ return a === "select" ? {
3364
3385
  val: {
3365
- type: E.select,
3386
+ type: _.select,
3366
3387
  value: n,
3367
- options: bt(y.val),
3388
+ options: yt(y.val),
3368
3389
  location: w
3369
3390
  },
3370
3391
  err: null
3371
3392
  } : {
3372
3393
  val: {
3373
- type: E.plural,
3394
+ type: _.plural,
3374
3395
  value: n,
3375
- options: bt(y.val),
3396
+ options: yt(y.val),
3376
3397
  offset: M,
3377
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3398
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
3399
  location: w
3379
3400
  },
3380
3401
  err: null
3381
3402
  };
3382
3403
  }
3383
3404
  default:
3384
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3405
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3385
3406
  }
3386
3407
  }, e.prototype.tryParseArgumentClose = function(t) {
3387
3408
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3423,21 +3444,21 @@ var Zn = (
3423
3444
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3424
3445
  var n = [];
3425
3446
  try {
3426
- n = Bn(t);
3447
+ n = Pn(t);
3427
3448
  } catch {
3428
3449
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3429
3450
  }
3430
3451
  return {
3431
3452
  val: {
3432
- type: J.number,
3453
+ type: Q.number,
3433
3454
  tokens: n,
3434
3455
  location: r,
3435
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3456
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3436
3457
  },
3437
3458
  err: null
3438
3459
  };
3439
3460
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3440
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3461
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3441
3462
  if (u.length === 0) {
3442
3463
  var c = this.clonePosition();
3443
3464
  if (r !== "select" && this.bumpIf("=")) {
@@ -3450,7 +3471,7 @@ var Zn = (
3450
3471
  }
3451
3472
  if (h.has(u))
3452
3473
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3453
- u === "other" && (a = !0), this.bumpSpace();
3474
+ u === "other" && (s = !0), this.bumpSpace();
3454
3475
  var p = this.clonePosition();
3455
3476
  if (!this.bumpIf("{"))
3456
3477
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
@@ -3460,7 +3481,7 @@ var Zn = (
3460
3481
  var d = this.tryParseArgumentClose(p);
3461
3482
  if (d.err)
3462
3483
  return d;
3463
- s.push([
3484
+ a.push([
3464
3485
  u,
3465
3486
  {
3466
3487
  value: m.val,
@@ -3468,19 +3489,19 @@ var Zn = (
3468
3489
  }
3469
3490
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3470
3491
  }
3471
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3492
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3493
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3473
3494
  var n = 1, i = this.clonePosition();
3474
3495
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3475
- for (var o = !1, a = 0; !this.isEOF(); ) {
3476
- var s = this.char();
3477
- if (s >= 48 && s <= 57)
3478
- o = !0, a = a * 10 + (s - 48), this.bump();
3496
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3497
+ var a = this.char();
3498
+ if (a >= 48 && a <= 57)
3499
+ o = !0, s = s * 10 + (a - 48), this.bump();
3479
3500
  else
3480
3501
  break;
3481
3502
  }
3482
3503
  var h = g(i, this.clonePosition());
3483
- return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3504
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3484
3505
  }, e.prototype.offset = function() {
3485
3506
  return this.position.offset;
3486
3507
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3516,7 @@ var Zn = (
3495
3516
  var t = this.position.offset;
3496
3517
  if (t >= this.message.length)
3497
3518
  throw Error("out of bound");
3498
- var r = ir(this.message, t);
3519
+ var r = or(this.message, t);
3499
3520
  if (r === void 0)
3500
3521
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3522
  return r;
@@ -3514,7 +3535,7 @@ var Zn = (
3514
3535
  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);
3515
3536
  }
3516
3537
  }, e.prototype.bumpIf = function(t) {
3517
- if (dt(this.message, t, this.offset())) {
3538
+ if (gt(this.message, t, this.offset())) {
3518
3539
  for (var r = 0; r < t.length; r++)
3519
3540
  this.bump();
3520
3541
  return !0;
@@ -3536,7 +3557,7 @@ var Zn = (
3536
3557
  break;
3537
3558
  }
3538
3559
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && sr(this.char()); )
3560
+ for (; !this.isEOF() && ar(this.char()); )
3540
3561
  this.bump();
3541
3562
  }, e.prototype.peek = function() {
3542
3563
  if (this.isEOF())
@@ -3546,47 +3567,47 @@ var Zn = (
3546
3567
  }, e;
3547
3568
  }()
3548
3569
  );
3549
- function Ve(e) {
3570
+ function Ze(e) {
3550
3571
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3572
  }
3552
- function Qn(e) {
3553
- return Ve(e) || e === 47;
3573
+ function Yn(e) {
3574
+ return Ze(e) || e === 47;
3554
3575
  }
3555
- function Jn(e) {
3576
+ function qn(e) {
3556
3577
  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;
3557
3578
  }
3558
- function sr(e) {
3579
+ function ar(e) {
3559
3580
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3581
  }
3561
- function Yn(e) {
3582
+ function Kn(e) {
3562
3583
  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;
3563
3584
  }
3564
- function Xe(e) {
3585
+ function Qe(e) {
3565
3586
  e.forEach(function(t) {
3566
- if (delete t.location, Jt(t) || Yt(t))
3587
+ if (delete t.location, Yt(t) || qt(t))
3567
3588
  for (var r in t.options)
3568
- delete t.options[r].location, Xe(t.options[r].value);
3589
+ delete t.options[r].location, Qe(t.options[r].value);
3569
3590
  else
3570
- Wt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && De(t.style) ? delete t.style.location : qt(t) && Xe(t.children);
3591
+ Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3571
3592
  });
3572
3593
  }
3573
- function qn(e, t) {
3574
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3575
- var r = new Zn(e, t).parse();
3594
+ function ei(e, t) {
3595
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3596
+ var r = new Jn(e, t).parse();
3576
3597
  if (r.err) {
3577
3598
  var n = SyntaxError(b[r.err.kind]);
3578
3599
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3579
3600
  }
3580
- return t?.captureLocation || Xe(r.val), r.val;
3601
+ return t?.captureLocation || Qe(r.val), r.val;
3581
3602
  }
3582
- var Y;
3603
+ var J;
3583
3604
  (function(e) {
3584
3605
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3585
- })(Y || (Y = {}));
3586
- var Ee = (
3606
+ })(J || (J = {}));
3607
+ var Se = (
3587
3608
  /** @class */
3588
3609
  function(e) {
3589
- F(t, e);
3610
+ xe(t, e);
3590
3611
  function t(r, n, i) {
3591
3612
  var o = e.call(this, r) || this;
3592
3613
  return o.code = n, o.originalMessage = i, o;
@@ -3595,65 +3616,65 @@ var Ee = (
3595
3616
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3596
3617
  }, t;
3597
3618
  }(Error)
3598
- ), yt = (
3619
+ ), _t = (
3599
3620
  /** @class */
3600
3621
  function(e) {
3601
- F(t, e);
3622
+ xe(t, e);
3602
3623
  function t(r, n, i, o) {
3603
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3624
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3604
3625
  }
3605
3626
  return t;
3606
- }(Ee)
3607
- ), Kn = (
3627
+ }(Se)
3628
+ ), ti = (
3608
3629
  /** @class */
3609
3630
  function(e) {
3610
- F(t, e);
3631
+ xe(t, e);
3611
3632
  function t(r, n, i) {
3612
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3633
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3613
3634
  }
3614
3635
  return t;
3615
- }(Ee)
3616
- ), ei = (
3636
+ }(Se)
3637
+ ), ri = (
3617
3638
  /** @class */
3618
3639
  function(e) {
3619
- F(t, e);
3640
+ xe(t, e);
3620
3641
  function t(r, n) {
3621
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3642
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3622
3643
  }
3623
3644
  return t;
3624
- }(Ee)
3645
+ }(Se)
3625
3646
  ), A;
3626
3647
  (function(e) {
3627
3648
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3628
3649
  })(A || (A = {}));
3629
- function ti(e) {
3650
+ function ni(e) {
3630
3651
  return e.length < 2 ? e : e.reduce(function(t, r) {
3631
3652
  var n = t[t.length - 1];
3632
3653
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3633
3654
  }, []);
3634
3655
  }
3635
- function ri(e) {
3656
+ function ii(e) {
3636
3657
  return typeof e == "function";
3637
3658
  }
3638
- function de(e, t, r, n, i, o, a) {
3639
- if (e.length === 1 && ft(e[0]))
3659
+ function de(e, t, r, n, i, o, s) {
3660
+ if (e.length === 1 && pt(e[0]))
3640
3661
  return [
3641
3662
  {
3642
3663
  type: A.literal,
3643
3664
  value: e[0].value
3644
3665
  }
3645
3666
  ];
3646
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3667
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3647
3668
  var l = u[h];
3648
- if (ft(l)) {
3649
- s.push({
3669
+ if (pt(l)) {
3670
+ a.push({
3650
3671
  type: A.literal,
3651
3672
  value: l.value
3652
3673
  });
3653
3674
  continue;
3654
3675
  }
3655
- if (Tn(l)) {
3656
- typeof o == "number" && s.push({
3676
+ if (Hn(l)) {
3677
+ typeof o == "number" && a.push({
3657
3678
  type: A.literal,
3658
3679
  value: r.getNumberFormat(t).format(o)
3659
3680
  });
@@ -3661,89 +3682,89 @@ function de(e, t, r, n, i, o, a) {
3661
3682
  }
3662
3683
  var c = l.value;
3663
3684
  if (!(i && c in i))
3664
- throw new ei(c, a);
3685
+ throw new ri(c, s);
3665
3686
  var f = i[c];
3666
- if (Sn(l)) {
3667
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3687
+ if (wn(l)) {
3688
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3668
3689
  type: typeof f == "string" ? A.literal : A.object,
3669
3690
  value: f
3670
3691
  });
3671
3692
  continue;
3672
3693
  }
3673
- if (Zt(l)) {
3674
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3675
- s.push({
3694
+ if (Qt(l)) {
3695
+ var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3696
+ a.push({
3676
3697
  type: A.literal,
3677
3698
  value: r.getDateTimeFormat(t, p).format(f)
3678
3699
  });
3679
3700
  continue;
3680
3701
  }
3681
- if (Qt(l)) {
3682
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3683
- s.push({
3702
+ if (Jt(l)) {
3703
+ var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3704
+ a.push({
3684
3705
  type: A.literal,
3685
3706
  value: r.getDateTimeFormat(t, p).format(f)
3686
3707
  });
3687
3708
  continue;
3688
3709
  }
3689
- if (Wt(l)) {
3690
- var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3691
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3710
+ if (Zt(l)) {
3711
+ var p = typeof l.style == "string" ? n.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3712
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3692
3713
  type: A.literal,
3693
3714
  value: r.getNumberFormat(t, p).format(f)
3694
3715
  });
3695
3716
  continue;
3696
3717
  }
3697
- if (qt(l)) {
3698
- var m = l.children, d = l.value, _ = i[d];
3699
- if (!ri(_))
3700
- throw new Kn(d, "function", a);
3701
- var x = de(m, t, r, n, i, o), C = _(x.map(function(M) {
3718
+ if (Kt(l)) {
3719
+ var m = l.children, d = l.value, v = i[d];
3720
+ if (!ii(v))
3721
+ throw new ti(d, "function", s);
3722
+ var E = de(m, t, r, n, i, o), C = v(E.map(function(M) {
3702
3723
  return M.value;
3703
3724
  }));
3704
- Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(M) {
3725
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(M) {
3705
3726
  return {
3706
3727
  type: typeof M == "string" ? A.literal : A.object,
3707
3728
  value: M
3708
3729
  };
3709
3730
  }));
3710
3731
  }
3711
- if (Jt(l)) {
3732
+ if (Yt(l)) {
3712
3733
  var T = l.options[f] || l.options.other;
3713
3734
  if (!T)
3714
- throw new yt(l.value, f, Object.keys(l.options), a);
3715
- s.push.apply(s, de(T.value, t, r, n, i));
3735
+ throw new _t(l.value, f, Object.keys(l.options), s);
3736
+ a.push.apply(a, de(T.value, t, r, n, i));
3716
3737
  continue;
3717
3738
  }
3718
- if (Yt(l)) {
3739
+ if (qt(l)) {
3719
3740
  var T = l.options["=".concat(f)];
3720
3741
  if (!T) {
3721
3742
  if (!Intl.PluralRules)
3722
- throw new Ee(`Intl.PluralRules is not available in this environment.
3743
+ throw new Se(`Intl.PluralRules is not available in this environment.
3723
3744
  Try polyfilling it using "@formatjs/intl-pluralrules"
3724
- `, Y.MISSING_INTL_API, a);
3745
+ `, J.MISSING_INTL_API, s);
3725
3746
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3726
3747
  T = l.options[H] || l.options.other;
3727
3748
  }
3728
3749
  if (!T)
3729
- throw new yt(l.value, f, Object.keys(l.options), a);
3730
- s.push.apply(s, de(T.value, t, r, n, i, f - (l.offset || 0)));
3750
+ throw new _t(l.value, f, Object.keys(l.options), s);
3751
+ a.push.apply(a, de(T.value, t, r, n, i, f - (l.offset || 0)));
3731
3752
  continue;
3732
3753
  }
3733
3754
  }
3734
- return ti(s);
3755
+ return ni(a);
3735
3756
  }
3736
- function ni(e, t) {
3737
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3738
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3757
+ function oi(e, t) {
3758
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3759
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3739
3760
  }, {})) : e;
3740
3761
  }
3741
- function ii(e, t) {
3762
+ function si(e, t) {
3742
3763
  return t ? Object.keys(e).reduce(function(r, n) {
3743
- return r[n] = ni(e[n], t[n]), r;
3744
- }, v({}, e)) : e;
3764
+ return r[n] = oi(e[n], t[n]), r;
3765
+ }, I({}, e)) : e;
3745
3766
  }
3746
- function Oe(e) {
3767
+ function Ie(e) {
3747
3768
  return {
3748
3769
  create: function() {
3749
3770
  return {
@@ -3757,39 +3778,39 @@ function Oe(e) {
3757
3778
  }
3758
3779
  };
3759
3780
  }
3760
- function oi(e) {
3781
+ function ai(e) {
3761
3782
  return e === void 0 && (e = {
3762
3783
  number: {},
3763
3784
  dateTime: {},
3764
3785
  pluralRules: {}
3765
3786
  }), {
3766
- getNumberFormat: Ae(function() {
3787
+ getNumberFormat: Oe(function() {
3767
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3768
3789
  r[n] = arguments[n];
3769
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3790
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3770
3791
  }, {
3771
- cache: Oe(e.number),
3772
- strategy: Be.variadic
3792
+ cache: Ie(e.number),
3793
+ strategy: Pe.variadic
3773
3794
  }),
3774
- getDateTimeFormat: Ae(function() {
3795
+ getDateTimeFormat: Oe(function() {
3775
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3797
  r[n] = arguments[n];
3777
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3798
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3778
3799
  }, {
3779
- cache: Oe(e.dateTime),
3780
- strategy: Be.variadic
3800
+ cache: Ie(e.dateTime),
3801
+ strategy: Pe.variadic
3781
3802
  }),
3782
- getPluralRules: Ae(function() {
3803
+ getPluralRules: Oe(function() {
3783
3804
  for (var t, r = [], n = 0; n < arguments.length; n++)
3784
3805
  r[n] = arguments[n];
3785
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3806
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3786
3807
  }, {
3787
- cache: Oe(e.pluralRules),
3788
- strategy: Be.variadic
3808
+ cache: Ie(e.pluralRules),
3809
+ strategy: Pe.variadic
3789
3810
  })
3790
3811
  };
3791
3812
  }
3792
- var si = (
3813
+ var ui = (
3793
3814
  /** @class */
3794
3815
  function() {
3795
3816
  function e(t, r, n, i) {
@@ -3819,15 +3840,15 @@ var si = (
3819
3840
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3820
3841
  if (this.message = t, !e.__parse)
3821
3842
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3822
- var a = i || {};
3823
- a.formatters;
3824
- var s = $r(a, ["formatters"]);
3825
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3843
+ var s = i || {};
3844
+ s.formatters;
3845
+ var a = gn(s, ["formatters"]);
3846
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3826
3847
  } else
3827
3848
  this.ast = t;
3828
3849
  if (!Array.isArray(this.ast))
3829
3850
  throw new TypeError("A message must be provided as a String or AST.");
3830
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3851
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3831
3852
  }
3832
3853
  return Object.defineProperty(e, "defaultLocale", {
3833
3854
  get: function() {
@@ -3840,7 +3861,7 @@ var si = (
3840
3861
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3841
3862
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3842
3863
  }
3843
- }, e.__parse = qn, e.formats = {
3864
+ }, e.__parse = ei, e.formats = {
3844
3865
  number: {
3845
3866
  integer: {
3846
3867
  maximumFractionDigits: 0
@@ -3901,7 +3922,7 @@ var si = (
3901
3922
  }, e;
3902
3923
  }()
3903
3924
  );
3904
- function ai(e, t) {
3925
+ function li(e, t) {
3905
3926
  if (t == null)
3906
3927
  return;
3907
3928
  if (t in e)
@@ -3922,92 +3943,92 @@ function ai(e, t) {
3922
3943
  n = void 0;
3923
3944
  return n;
3924
3945
  }
3925
- const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ar = (e, t) => {
3946
+ const D = {}, hi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ur = (e, t) => {
3926
3947
  if (t == null)
3927
3948
  return;
3928
3949
  if (t in D && e in D[t])
3929
3950
  return D[t][e];
3930
- const r = xe(t);
3951
+ const r = Te(t);
3931
3952
  for (let n = 0; n < r.length; n++) {
3932
- const i = r[n], o = hi(i, e);
3953
+ const i = r[n], o = ci(i, e);
3933
3954
  if (o)
3934
- return ui(e, t, o);
3955
+ return hi(e, t, o);
3935
3956
  }
3936
3957
  };
3937
- let Ye;
3938
- const ue = _e({});
3939
- function li(e) {
3940
- return Ye[e] || null;
3958
+ let Ke;
3959
+ const ue = Ee({});
3960
+ function fi(e) {
3961
+ return Ke[e] || null;
3941
3962
  }
3942
- function ur(e) {
3943
- return e in Ye;
3963
+ function lr(e) {
3964
+ return e in Ke;
3944
3965
  }
3945
- function hi(e, t) {
3946
- if (!ur(e))
3966
+ function ci(e, t) {
3967
+ if (!lr(e))
3947
3968
  return null;
3948
- const r = li(e);
3949
- return ai(r, t);
3969
+ const r = fi(e);
3970
+ return li(r, t);
3950
3971
  }
3951
- function fi(e) {
3972
+ function pi(e) {
3952
3973
  if (e == null)
3953
3974
  return;
3954
- const t = xe(e);
3975
+ const t = Te(e);
3955
3976
  for (let r = 0; r < t.length; r++) {
3956
3977
  const n = t[r];
3957
- if (ur(n))
3978
+ if (lr(n))
3958
3979
  return n;
3959
3980
  }
3960
3981
  }
3961
- function lr(e, ...t) {
3982
+ function hr(e, ...t) {
3962
3983
  delete D[e], ue.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3963
3984
  }
3964
- K(
3985
+ q(
3965
3986
  [ue],
3966
3987
  ([e]) => Object.keys(e)
3967
3988
  );
3968
- ue.subscribe((e) => Ye = e);
3989
+ ue.subscribe((e) => Ke = e);
3969
3990
  const be = {};
3970
- function ci(e, t) {
3991
+ function mi(e, t) {
3971
3992
  be[e].delete(t), be[e].size === 0 && delete be[e];
3972
3993
  }
3973
- function hr(e) {
3994
+ function fr(e) {
3974
3995
  return be[e];
3975
3996
  }
3976
- function pi(e) {
3977
- return xe(e).map((t) => {
3978
- const r = hr(t);
3997
+ function di(e) {
3998
+ return Te(e).map((t) => {
3999
+ const r = fr(t);
3979
4000
  return [t, r ? [...r] : []];
3980
4001
  }).filter(([, t]) => t.length > 0);
3981
4002
  }
3982
- function ze(e) {
3983
- return e == null ? !1 : xe(e).some(
4003
+ function Je(e) {
4004
+ return e == null ? !1 : Te(e).some(
3984
4005
  (t) => {
3985
4006
  var r;
3986
- return (r = hr(t)) == null ? void 0 : r.size;
4007
+ return (r = fr(t)) == null ? void 0 : r.size;
3987
4008
  }
3988
4009
  );
3989
4010
  }
3990
- function mi(e, t) {
4011
+ function bi(e, t) {
3991
4012
  return Promise.all(
3992
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3993
- ).then((n) => lr(e, ...n));
3994
- }
3995
- const te = {};
3996
- function fr(e) {
3997
- if (!ze(e))
3998
- return e in te ? te[e] : Promise.resolve();
3999
- const t = pi(e);
4000
- return te[e] = Promise.all(
4013
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4014
+ ).then((n) => hr(e, ...n));
4015
+ }
4016
+ const ee = {};
4017
+ function cr(e) {
4018
+ if (!Je(e))
4019
+ return e in ee ? ee[e] : Promise.resolve();
4020
+ const t = di(e);
4021
+ return ee[e] = Promise.all(
4001
4022
  t.map(
4002
- ([r, n]) => mi(r, n)
4023
+ ([r, n]) => bi(r, n)
4003
4024
  )
4004
4025
  ).then(() => {
4005
- if (ze(e))
4006
- return fr(e);
4007
- delete te[e];
4008
- }), te[e];
4026
+ if (Je(e))
4027
+ return cr(e);
4028
+ delete ee[e];
4029
+ }), ee[e];
4009
4030
  }
4010
- const di = {
4031
+ const gi = {
4011
4032
  number: {
4012
4033
  scientific: { notation: "scientific" },
4013
4034
  engineering: { notation: "engineering" },
@@ -4036,159 +4057,159 @@ const di = {
4036
4057
  timeZoneName: "short"
4037
4058
  }
4038
4059
  }
4039
- }, bi = {
4060
+ }, yi = {
4040
4061
  fallbackLocale: null,
4041
4062
  loadingDelay: 200,
4042
- formats: di,
4063
+ formats: gi,
4043
4064
  warnOnMissingMessages: !0,
4044
4065
  handleMissingMessage: void 0,
4045
4066
  ignoreTag: !0
4046
- }, gi = bi;
4047
- function q() {
4048
- return gi;
4067
+ }, vi = yi;
4068
+ function Y() {
4069
+ return vi;
4049
4070
  }
4050
- const Ce = _e(!1);
4051
- var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4071
+ const Ne = Ee(!1);
4072
+ var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4052
4073
  for (var r in t || (t = {}))
4053
- Ei.call(t, r) && _t(e, r, t[r]);
4054
- if (vt)
4055
- for (var r of vt(t))
4056
- xi.call(t, r) && _t(e, r, t[r]);
4074
+ Si.call(t, r) && xt(e, r, t[r]);
4075
+ if (Et)
4076
+ for (var r of Et(t))
4077
+ Ti.call(t, r) && xt(e, r, t[r]);
4057
4078
  return e;
4058
- }, Ti = (e, t) => vi(e, _i(t));
4059
- let We;
4060
- const ge = _e(null);
4061
- function Et(e) {
4079
+ }, Hi = (e, t) => Ei(e, xi(t));
4080
+ let Ye;
4081
+ const ye = Ee(null);
4082
+ function St(e) {
4062
4083
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4063
4084
  }
4064
- function xe(e, t = q().fallbackLocale) {
4065
- const r = Et(e);
4066
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4085
+ function Te(e, t = Y().fallbackLocale) {
4086
+ const r = St(e);
4087
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4067
4088
  }
4068
4089
  function j() {
4069
- return We ?? void 0;
4090
+ return Ye ?? void 0;
4070
4091
  }
4071
- ge.subscribe((e) => {
4072
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4092
+ ye.subscribe((e) => {
4093
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4073
4094
  });
4074
- const wi = (e) => {
4075
- if (e && fi(e) && ze(e)) {
4076
- const { loadingDelay: t } = q();
4095
+ const Ai = (e) => {
4096
+ if (e && pi(e) && Je(e)) {
4097
+ const { loadingDelay: t } = Y();
4077
4098
  let r;
4078
4099
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4079
- () => Ce.set(!0),
4100
+ () => Ne.set(!0),
4080
4101
  t
4081
- ) : Ce.set(!0), fr(e).then(() => {
4082
- ge.set(e);
4102
+ ) : Ne.set(!0), cr(e).then(() => {
4103
+ ye.set(e);
4083
4104
  }).finally(() => {
4084
- clearTimeout(r), Ce.set(!1);
4105
+ clearTimeout(r), Ne.set(!1);
4085
4106
  });
4086
4107
  }
4087
- return ge.set(e);
4088
- }, le = Ti(Si({}, ge), {
4089
- set: wi
4090
- }), Se = (e) => {
4108
+ return ye.set(e);
4109
+ }, le = Hi(wi({}, ye), {
4110
+ set: Ai
4111
+ }), we = (e) => {
4091
4112
  const t = /* @__PURE__ */ Object.create(null);
4092
4113
  return (n) => {
4093
4114
  const i = JSON.stringify(n);
4094
4115
  return i in t ? t[i] : t[i] = e(n);
4095
4116
  };
4096
4117
  };
4097
- var Hi = Object.defineProperty, ye = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4118
+ var Bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4098
4119
  for (var r in t || (t = {}))
4099
- cr.call(t, r) && xt(e, r, t[r]);
4100
- if (ye)
4101
- for (var r of ye(t))
4102
- pr.call(t, r) && xt(e, r, t[r]);
4120
+ pr.call(t, r) && Tt(e, r, t[r]);
4121
+ if (ve)
4122
+ for (var r of ve(t))
4123
+ mr.call(t, r) && Tt(e, r, t[r]);
4103
4124
  return e;
4104
- }, ee = (e, t) => {
4125
+ }, K = (e, t) => {
4105
4126
  var r = {};
4106
4127
  for (var n in e)
4107
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4108
- if (e != null && ye)
4109
- for (var n of ye(e))
4110
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4128
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4129
+ if (e != null && ve)
4130
+ for (var n of ve(e))
4131
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4111
4132
  return r;
4112
4133
  };
4113
- const oe = (e, t) => {
4114
- const { formats: r } = q();
4134
+ const ie = (e, t) => {
4135
+ const { formats: r } = Y();
4115
4136
  if (e in r && t in r[e])
4116
4137
  return r[e][t];
4117
4138
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4118
- }, Ai = Se(
4139
+ }, Oi = we(
4119
4140
  (e) => {
4120
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4121
4142
  if (r == null)
4122
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4123
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4144
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4124
4145
  }
4125
- ), Bi = Se(
4146
+ ), Pi = we(
4126
4147
  (e) => {
4127
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4128
4149
  if (r == null)
4129
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4130
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4151
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4131
4152
  }
4132
- ), Pi = Se(
4153
+ ), Ci = we(
4133
4154
  (e) => {
4134
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4155
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4135
4156
  if (r == null)
4136
4157
  throw new Error(
4137
4158
  '[svelte-i18n] A "locale" must be set to format time values'
4138
4159
  );
4139
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4140
4161
  }
4141
- ), Oi = (e = {}) => {
4162
+ ), Ii = (e = {}) => {
4142
4163
  var t = e, {
4143
4164
  locale: r = j()
4144
- } = t, n = ee(t, [
4165
+ } = t, n = K(t, [
4145
4166
  "locale"
4146
4167
  ]);
4147
- return Ai(qe({ locale: r }, n));
4148
- }, Ci = (e = {}) => {
4168
+ return Oi(et({ locale: r }, n));
4169
+ }, Ni = (e = {}) => {
4149
4170
  var t = e, {
4150
4171
  locale: r = j()
4151
- } = t, n = ee(t, [
4172
+ } = t, n = K(t, [
4152
4173
  "locale"
4153
4174
  ]);
4154
- return Bi(qe({ locale: r }, n));
4155
- }, Ii = (e = {}) => {
4175
+ return Pi(et({ locale: r }, n));
4176
+ }, Mi = (e = {}) => {
4156
4177
  var t = e, {
4157
4178
  locale: r = j()
4158
- } = t, n = ee(t, [
4179
+ } = t, n = K(t, [
4159
4180
  "locale"
4160
4181
  ]);
4161
- return Pi(qe({ locale: r }, n));
4162
- }, Mi = Se(
4182
+ return Ci(et({ locale: r }, n));
4183
+ }, Li = we(
4163
4184
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4164
- (e, t = j()) => new si(e, t, q().formats, {
4165
- ignoreTag: q().ignoreTag
4185
+ (e, t = j()) => new ui(e, t, Y().formats, {
4186
+ ignoreTag: Y().ignoreTag
4166
4187
  })
4167
- ), Ni = (e, t = {}) => {
4188
+ ), Ri = (e, t = {}) => {
4168
4189
  var r, n, i, o;
4169
- let a = t;
4170
- typeof e == "object" && (a = e, e = a.id);
4190
+ let s = t;
4191
+ typeof e == "object" && (s = e, e = s.id);
4171
4192
  const {
4172
- values: s,
4193
+ values: a,
4173
4194
  locale: h = j(),
4174
4195
  default: u
4175
- } = a;
4196
+ } = s;
4176
4197
  if (h == null)
4177
4198
  throw new Error(
4178
4199
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4179
4200
  );
4180
- let l = ar(e, h);
4201
+ let l = ur(e, h);
4181
4202
  if (!l)
4182
- l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4203
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4183
4204
  else if (typeof l != "string")
4184
4205
  return console.warn(
4185
4206
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4186
4207
  ), l;
4187
- if (!s)
4208
+ if (!a)
4188
4209
  return l;
4189
4210
  let c = l;
4190
4211
  try {
4191
- c = Mi(l, h).format(s);
4212
+ c = Li(l, h).format(a);
4192
4213
  } catch (f) {
4193
4214
  f instanceof Error && console.warn(
4194
4215
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4196,17 +4217,17 @@ const oe = (e, t) => {
4196
4217
  );
4197
4218
  }
4198
4219
  return c;
4199
- }, Li = (e, t) => Ii(t).format(e), Ri = (e, t) => Ci(t).format(e), Fi = (e, t) => Oi(t).format(e), $i = (e, t = j()) => ar(e, t), Ui = K([le, ue], () => Ni);
4200
- K([le], () => Li);
4201
- K([le], () => Ri);
4202
- K([le], () => Fi);
4203
- K([le, ue], () => $i);
4220
+ }, $i = (e, t) => Mi(t).format(e), Fi = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = j()) => ur(e, t), Gi = q([le, ue], () => Ri);
4221
+ q([le], () => $i);
4222
+ q([le], () => Fi);
4223
+ q([le], () => Ui);
4224
+ q([le, ue], () => Di);
4204
4225
  window.emWidgets = { topic: qr };
4205
- const P = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4206
- function St(e, t) {
4207
- lr(e, t);
4226
+ const O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4227
+ function wt(e, t) {
4228
+ hr(e, t);
4208
4229
  }
4209
- const Tt = {
4230
+ const Ht = {
4210
4231
  en: {
4211
4232
  tournaments: "Tournaments",
4212
4233
  all: "All",
@@ -4285,13 +4306,13 @@ const Tt = {
4285
4306
  finished: "Finished"
4286
4307
  }
4287
4308
  };
4288
- function Di(e, t) {
4309
+ function ji(e, t) {
4289
4310
  if (e) {
4290
4311
  const r = document.createElement("style");
4291
4312
  r.innerHTML = t, e.appendChild(r);
4292
4313
  }
4293
4314
  }
4294
- function Gi(e, t) {
4315
+ function ki(e, t) {
4295
4316
  const r = new URL(t);
4296
4317
  fetch(r.href).then((n) => n.text()).then((n) => {
4297
4318
  const i = document.createElement("style");
@@ -4300,7 +4321,7 @@ function Gi(e, t) {
4300
4321
  console.error("There was an error while trying to load client styling from URL", n);
4301
4322
  });
4302
4323
  }
4303
- function ji(e, t, r) {
4324
+ function Vi(e, t, r) {
4304
4325
  if (window.emMessageBus) {
4305
4326
  const n = document.createElement("style");
4306
4327
  window.emMessageBus.subscribe(t, (i) => {
@@ -4308,60 +4329,60 @@ function ji(e, t, r) {
4308
4329
  });
4309
4330
  }
4310
4331
  }
4311
- function ki(e) {
4312
- br(e, "svelte-f5g69n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4332
+ function Xi(e) {
4333
+ gr(e, "svelte-f5g69n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4313
4334
  }
4314
- function wt(e, t, r) {
4335
+ function At(e, t, r) {
4315
4336
  const n = e.slice();
4316
4337
  return n[21] = t[r], n[23] = r, n;
4317
4338
  }
4318
- function Ht(e) {
4339
+ function Bt(e) {
4319
4340
  let t, r, n = (
4320
4341
  /*$_*/
4321
4342
  e[4]("tournaments") + ""
4322
- ), i, o, a, s, h = rt(
4343
+ ), i, o, s, a, h = it(
4323
4344
  /*filterItems*/
4324
4345
  e[1]
4325
4346
  ), u = [];
4326
4347
  for (let l = 0; l < h.length; l += 1)
4327
- u[l] = It(wt(e, h, l));
4348
+ u[l] = Mt(At(e, h, l));
4328
4349
  return {
4329
4350
  c() {
4330
- t = N("ul"), r = N("li"), i = G(n), o = G(":"), a = X(), s = N("ul");
4351
+ t = L("ul"), r = L("li"), i = G(n), o = G(":"), s = X(), a = L("ul");
4331
4352
  for (let l = 0; l < u.length; l += 1)
4332
4353
  u[l].c();
4333
- S(r, "class", "FiltersTitle " + (P(
4354
+ x(r, "class", "FiltersTitle " + (O(
4334
4355
  /*userAgent*/
4335
4356
  e[5]
4336
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", "FiltersTitle " + (P(
4357
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4337
4358
  /*userAgent*/
4338
4359
  e[5]
4339
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersList " + (P(
4360
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4340
4361
  /*userAgent*/
4341
4362
  e[5]
4342
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersList " + (P(
4363
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4343
4364
  /*userAgent*/
4344
4365
  e[5]
4345
4366
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4346
4367
  },
4347
4368
  m(l, c) {
4348
- R(l, t, c), B(t, r), B(r, i), B(r, o), B(t, a), B(t, s);
4369
+ $(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4349
4370
  for (let f = 0; f < u.length; f += 1)
4350
- u[f] && u[f].m(s, null);
4371
+ u[f] && u[f].m(a, null);
4351
4372
  },
4352
4373
  p(l, c) {
4353
4374
  if (c & /*$_*/
4354
4375
  16 && n !== (n = /*$_*/
4355
- l[4]("tournaments") + "") && ae(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4376
+ l[4]("tournaments") + "") && se(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4356
4377
  126) {
4357
- h = rt(
4378
+ h = it(
4358
4379
  /*filterItems*/
4359
4380
  l[1]
4360
4381
  );
4361
4382
  let f;
4362
4383
  for (f = 0; f < h.length; f += 1) {
4363
- const p = wt(l, h, f);
4364
- u[f] ? u[f].p(p, c) : (u[f] = It(p), u[f].c(), u[f].m(s, null));
4384
+ const p = At(l, h, f);
4385
+ u[f] ? u[f].p(p, c) : (u[f] = Mt(p), u[f].c(), u[f].m(a, null));
4365
4386
  }
4366
4387
  for (; f < u.length; f += 1)
4367
4388
  u[f].d(1);
@@ -4369,25 +4390,25 @@ function Ht(e) {
4369
4390
  }
4370
4391
  },
4371
4392
  d(l) {
4372
- l && I(t), vr(u, l);
4393
+ l && N(t), _r(u, l);
4373
4394
  }
4374
4395
  };
4375
4396
  }
4376
- function At(e) {
4397
+ function Ot(e) {
4377
4398
  let t, r;
4378
4399
  return {
4379
4400
  c() {
4380
- t = et("svg"), r = et("path"), S(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), S(t, "xmlns", "http://www.w3.org/2000/svg"), S(t, "width", "16"), S(t, "height", "16"), S(t, "fill", "currentColor"), S(t, "class", "bi bi-check"), S(t, "part", "bi bi-check"), S(t, "viewBox", "0 0 16 16");
4401
+ t = rt("svg"), r = rt("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4381
4402
  },
4382
4403
  m(n, i) {
4383
- R(n, t, i), B(t, r);
4404
+ $(n, t, i), B(t, r);
4384
4405
  },
4385
4406
  d(n) {
4386
- n && I(t);
4407
+ n && N(t);
4387
4408
  }
4388
4409
  };
4389
4410
  }
4390
- function Bt(e) {
4411
+ function Pt(e) {
4391
4412
  let t = (
4392
4413
  /*$_*/
4393
4414
  e[4]("scheduled") + ""
@@ -4397,19 +4418,19 @@ function Bt(e) {
4397
4418
  r = G(t);
4398
4419
  },
4399
4420
  m(n, i) {
4400
- R(n, r, i);
4421
+ $(n, r, i);
4401
4422
  },
4402
4423
  p(n, i) {
4403
4424
  i & /*$_*/
4404
4425
  16 && t !== (t = /*$_*/
4405
- n[4]("scheduled") + "") && ae(r, t);
4426
+ n[4]("scheduled") + "") && se(r, t);
4406
4427
  },
4407
4428
  d(n) {
4408
- n && I(r);
4429
+ n && N(r);
4409
4430
  }
4410
4431
  };
4411
4432
  }
4412
- function Pt(e) {
4433
+ function Ct(e) {
4413
4434
  let t = (
4414
4435
  /*$_*/
4415
4436
  e[4]("ongoing") + ""
@@ -4419,19 +4440,19 @@ function Pt(e) {
4419
4440
  r = G(t);
4420
4441
  },
4421
4442
  m(n, i) {
4422
- R(n, r, i);
4443
+ $(n, r, i);
4423
4444
  },
4424
4445
  p(n, i) {
4425
4446
  i & /*$_*/
4426
4447
  16 && t !== (t = /*$_*/
4427
- n[4]("ongoing") + "") && ae(r, t);
4448
+ n[4]("ongoing") + "") && se(r, t);
4428
4449
  },
4429
4450
  d(n) {
4430
- n && I(r);
4451
+ n && N(r);
4431
4452
  }
4432
4453
  };
4433
4454
  }
4434
- function Ot(e) {
4455
+ function It(e) {
4435
4456
  let t = (
4436
4457
  /*$_*/
4437
4458
  e[4]("finished") + ""
@@ -4441,19 +4462,19 @@ function Ot(e) {
4441
4462
  r = G(t);
4442
4463
  },
4443
4464
  m(n, i) {
4444
- R(n, r, i);
4465
+ $(n, r, i);
4445
4466
  },
4446
4467
  p(n, i) {
4447
4468
  i & /*$_*/
4448
4469
  16 && t !== (t = /*$_*/
4449
- n[4]("finished") + "") && ae(r, t);
4470
+ n[4]("finished") + "") && se(r, t);
4450
4471
  },
4451
4472
  d(n) {
4452
- n && I(r);
4473
+ n && N(r);
4453
4474
  }
4454
4475
  };
4455
4476
  }
4456
- function Ct(e) {
4477
+ function Nt(e) {
4457
4478
  let t = (
4458
4479
  /*$_*/
4459
4480
  e[4]("all") + ""
@@ -4463,39 +4484,39 @@ function Ct(e) {
4463
4484
  r = G(t);
4464
4485
  },
4465
4486
  m(n, i) {
4466
- R(n, r, i);
4487
+ $(n, r, i);
4467
4488
  },
4468
4489
  p(n, i) {
4469
4490
  i & /*$_*/
4470
4491
  16 && t !== (t = /*$_*/
4471
- n[4]("all") + "") && ae(r, t);
4492
+ n[4]("all") + "") && se(r, t);
4472
4493
  },
4473
4494
  d(n) {
4474
- n && I(r);
4495
+ n && N(r);
4475
4496
  }
4476
4497
  };
4477
4498
  }
4478
- function It(e) {
4479
- let t, r, n, i, o, a, s, h, u, l, c, f, p = (
4499
+ function Mt(e) {
4500
+ let t, r, n, i, o, s, a, h, u, l, c, f, p = (
4480
4501
  /*activeIndexes*/
4481
4502
  (e[2][
4482
4503
  /*index*/
4483
4504
  e[23]
4484
4505
  ] == 1 || /*allActive*/
4485
4506
  e[3] && /*index*/
4486
- e[23] == 0) && At()
4507
+ e[23] == 0) && Ot()
4487
4508
  ), m = (
4488
4509
  /*filter*/
4489
- e[21] == "Scheduled" && Bt(e)
4510
+ e[21] == "Scheduled" && Pt(e)
4490
4511
  ), d = (
4491
4512
  /*filter*/
4492
- e[21] == "Ongoing" && Pt(e)
4493
- ), _ = (
4513
+ e[21] == "Ongoing" && Ct(e)
4514
+ ), v = (
4494
4515
  /*filter*/
4495
- e[21] == "Finished" && Ot(e)
4496
- ), x = (
4516
+ e[21] == "Finished" && It(e)
4517
+ ), E = (
4497
4518
  /*filter*/
4498
- e[21] == "All" && Ct(e)
4519
+ e[21] == "All" && Nt(e)
4499
4520
  );
4500
4521
  function C() {
4501
4522
  return (
@@ -4510,34 +4531,34 @@ function It(e) {
4510
4531
  }
4511
4532
  return {
4512
4533
  c() {
4513
- t = N("li"), r = N("button"), p && p.c(), n = X(), i = N("div"), m && m.c(), o = X(), d && d.c(), a = X(), _ && _.c(), s = X(), x && x.c(), l = X(), S(i, "class", "FilterButton " + (P(
4534
+ t = L("li"), r = L("button"), p && p.c(), n = X(), i = L("div"), m && m.c(), o = X(), d && d.c(), s = X(), v && v.c(), a = X(), E && E.c(), l = X(), x(i, "class", "FilterButton " + (O(
4514
4535
  /*userAgent*/
4515
4536
  e[5]
4516
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(i, "part", "FilterButton " + (P(
4537
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4517
4538
  /*userAgent*/
4518
4539
  e[5]
4519
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "class", h = /*activeIndexes*/
4540
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", h = /*activeIndexes*/
4520
4541
  (e[2][
4521
4542
  /*index*/
4522
4543
  e[23]
4523
4544
  ] == 1 || /*allActive*/
4524
4545
  e[3] && /*index*/
4525
- e[23] == 0 ? "Active" : "") + " " + (P(
4546
+ e[23] == 0 ? "Active" : "") + " " + (O(
4526
4547
  /*userAgent*/
4527
4548
  e[5]
4528
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", u = /*activeIndexes*/
4549
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4529
4550
  (e[2][
4530
4551
  /*index*/
4531
4552
  e[23]
4532
4553
  ] == 1 || /*allActive*/
4533
4554
  e[3] && /*index*/
4534
- e[23] == 0 ? "Active" : "") + " " + (P(
4555
+ e[23] == 0 ? "Active" : "") + " " + (O(
4535
4556
  /*userAgent*/
4536
4557
  e[5]
4537
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersItem"), S(t, "part", "FiltersItem");
4558
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4538
4559
  },
4539
4560
  m(T, H) {
4540
- R(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, a), _ && _.m(i, null), B(i, s), x && x.m(i, null), B(t, l), c || (f = _r(t, "click", C), c = !0);
4561
+ $(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), v && v.m(i, null), B(i, a), E && E.m(i, null), B(t, l), c || (f = Er(t, "click", C), c = !0);
4541
4562
  },
4542
4563
  p(T, H) {
4543
4564
  e = T, /*activeIndexes*/
@@ -4546,83 +4567,83 @@ function It(e) {
4546
4567
  e[23]
4547
4568
  ] == 1 || /*allActive*/
4548
4569
  e[3] && /*index*/
4549
- e[23] == 0 ? p || (p = At(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4550
- e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Bt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4551
- e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Pt(e), d.c(), d.m(i, a)) : d && (d.d(1), d = null), /*filter*/
4552
- e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Ot(e), _.c(), _.m(i, s)) : _ && (_.d(1), _ = null), /*filter*/
4553
- e[21] == "All" ? x ? x.p(e, H) : (x = Ct(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4570
+ e[23] == 0 ? p || (p = Ot(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4571
+ e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Pt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4572
+ e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Ct(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4573
+ e[21] == "Finished" ? v ? v.p(e, H) : (v = It(e), v.c(), v.m(i, a)) : v && (v.d(1), v = null), /*filter*/
4574
+ e[21] == "All" ? E ? E.p(e, H) : (E = Nt(e), E.c(), E.m(i, null)) : E && (E.d(1), E = null), H & /*activeIndexes, allActive*/
4554
4575
  12 && h !== (h = /*activeIndexes*/
4555
4576
  (e[2][
4556
4577
  /*index*/
4557
4578
  e[23]
4558
4579
  ] == 1 || /*allActive*/
4559
4580
  e[3] && /*index*/
4560
- e[23] == 0 ? "Active" : "") + " " + (P(
4581
+ e[23] == 0 ? "Active" : "") + " " + (O(
4561
4582
  /*userAgent*/
4562
4583
  e[5]
4563
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "class", h), H & /*activeIndexes, allActive*/
4584
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", h), H & /*activeIndexes, allActive*/
4564
4585
  12 && u !== (u = /*activeIndexes*/
4565
4586
  (e[2][
4566
4587
  /*index*/
4567
4588
  e[23]
4568
4589
  ] == 1 || /*allActive*/
4569
4590
  e[3] && /*index*/
4570
- e[23] == 0 ? "Active" : "") + " " + (P(
4591
+ e[23] == 0 ? "Active" : "") + " " + (O(
4571
4592
  /*userAgent*/
4572
4593
  e[5]
4573
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "part", u);
4594
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4574
4595
  },
4575
4596
  d(T) {
4576
- T && I(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), x && x.d(), c = !1, f();
4597
+ T && N(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), E && E.d(), c = !1, f();
4577
4598
  }
4578
4599
  };
4579
4600
  }
4580
- function Vi(e) {
4601
+ function zi(e) {
4581
4602
  let t, r = (
4582
4603
  /*filterItems*/
4583
- e[1].length > 0 && Ht(e)
4604
+ e[1].length > 0 && Bt(e)
4584
4605
  );
4585
4606
  return {
4586
4607
  c() {
4587
- t = N("div"), r && r.c(), S(t, "class", "FiltersController " + (P(
4608
+ t = L("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4588
4609
  /*userAgent*/
4589
4610
  e[5]
4590
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersController " + (P(
4611
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4591
4612
  /*userAgent*/
4592
4613
  e[5]
4593
4614
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4594
4615
  },
4595
4616
  m(n, i) {
4596
- R(n, t, i), r && r.m(t, null), e[14](t);
4617
+ $(n, t, i), r && r.m(t, null), e[14](t);
4597
4618
  },
4598
4619
  p(n, [i]) {
4599
4620
  /*filterItems*/
4600
- n[1].length > 0 ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4621
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4601
4622
  },
4602
- i: O,
4603
- o: O,
4623
+ i: P,
4624
+ o: P,
4604
4625
  d(n) {
4605
- n && I(t), r && r.d(), e[14](null);
4626
+ n && N(t), r && r.d(), e[14](null);
4606
4627
  }
4607
4628
  };
4608
4629
  }
4609
- function Xi(e, t, r) {
4630
+ function Wi(e, t, r) {
4610
4631
  let n;
4611
- dr(e, Ui, (y) => r(4, n = y));
4612
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4613
- const _ = () => {
4614
- fetch(a).then((w) => w.json()).then((w) => {
4615
- Object.keys(w).forEach(($) => {
4616
- St($, w[$]);
4632
+ br(e, Gi, (y) => r(4, n = y));
4633
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4634
+ const v = () => {
4635
+ fetch(s).then((w) => w.json()).then((w) => {
4636
+ Object.keys(w).forEach((F) => {
4637
+ wt(F, w[F]);
4617
4638
  });
4618
4639
  }).catch((w) => {
4619
4640
  console.log(w);
4620
4641
  });
4621
4642
  };
4622
- Object.keys(Tt).forEach((y) => {
4623
- St(y, Tt[y]);
4643
+ Object.keys(Ht).forEach((y) => {
4644
+ wt(y, Ht[y]);
4624
4645
  });
4625
- const x = (y, w) => {
4646
+ const E = (y, w) => {
4626
4647
  if (w == 0)
4627
4648
  r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4628
4649
  {
@@ -4640,13 +4661,13 @@ function Xi(e, t, r) {
4640
4661
  window.location.href
4641
4662
  );
4642
4663
  else {
4643
- let $ = [];
4664
+ let F = [];
4644
4665
  for (let he = 0; he < c.length; he++)
4645
- p[he] == 1 && $.push(c[he]);
4666
+ p[he] == 1 && F.push(c[he]);
4646
4667
  window.postMessage(
4647
4668
  {
4648
4669
  type: "TournamentsFiltersSelected",
4649
- filters: $
4670
+ filters: F
4650
4671
  },
4651
4672
  window.location.href
4652
4673
  );
@@ -4656,28 +4677,28 @@ function Xi(e, t, r) {
4656
4677
  }, T = () => {
4657
4678
  let y = o.split(",");
4658
4679
  r(2, p = new Array(f)), y.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), y.forEach((w) => {
4659
- let $ = c.indexOf(w);
4660
- $ > 0 && r(2, p[$] = 1, p);
4680
+ let F = c.indexOf(w);
4681
+ F > 0 && r(2, p[F] = 1, p);
4661
4682
  }));
4662
4683
  };
4663
- Tr(() => () => {
4684
+ wr(() => () => {
4664
4685
  });
4665
- const H = (y, w) => x(y, w);
4686
+ const H = (y, w) => E(y, w);
4666
4687
  function M(y) {
4667
- Ie[y ? "unshift" : "push"](() => {
4688
+ Me[y ? "unshift" : "push"](() => {
4668
4689
  l = y, r(0, l);
4669
4690
  });
4670
4691
  }
4671
4692
  return e.$$set = (y) => {
4672
- "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, a = y.translationurl), "clientstyling" in y && r(10, s = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4693
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4673
4694
  }, e.$$.update = () => {
4674
4695
  e.$$.dirty & /*translationurl*/
4675
- 512 && a && _(), e.$$.dirty & /*filters*/
4696
+ 512 && s && v(), e.$$.dirty & /*filters*/
4676
4697
  128 && i && C(), e.$$.dirty & /*activefilters*/
4677
4698
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4678
- 1025 && s && l && Di(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4679
- 2049 && h && l && Gi(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4680
- 4097 && u && l && ji(l, `${u}.Style`);
4699
+ 1025 && a && l && ji(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4700
+ 2049 && h && l && ki(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4701
+ 4097 && u && l && Vi(l, `${u}.Style`);
4681
4702
  }, [
4682
4703
  l,
4683
4704
  c,
@@ -4685,25 +4706,25 @@ function Xi(e, t, r) {
4685
4706
  m,
4686
4707
  n,
4687
4708
  d,
4688
- x,
4709
+ E,
4689
4710
  i,
4690
4711
  o,
4691
- a,
4692
4712
  s,
4713
+ a,
4693
4714
  h,
4694
4715
  u,
4695
4716
  H,
4696
4717
  M
4697
4718
  ];
4698
4719
  }
4699
- class zi extends Rr {
4720
+ class Zi extends $r {
4700
4721
  constructor(t) {
4701
- super(), Nr(
4722
+ super(), Lr(
4702
4723
  this,
4703
4724
  t,
4704
- Xi,
4705
- Vi,
4706
- Nt,
4725
+ Wi,
4726
+ zi,
4727
+ Rt,
4707
4728
  {
4708
4729
  filters: 7,
4709
4730
  activefilters: 8,
@@ -4712,7 +4733,7 @@ class zi extends Rr {
4712
4733
  clientstylingurl: 11,
4713
4734
  mbsource: 12
4714
4735
  },
4715
- ki
4736
+ Xi
4716
4737
  );
4717
4738
  }
4718
4739
  get filters() {
@@ -4752,7 +4773,7 @@ class zi extends Rr {
4752
4773
  this.$$set({ mbsource: t }), U();
4753
4774
  }
4754
4775
  }
4755
- Lr(zi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4776
+ Rr(Zi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4756
4777
  export {
4757
- zi as C
4778
+ Zi as C
4758
4779
  };