@everymatrix/casino-tournaments-filter-controller 1.86.4 → 1.86.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var _r = Object.defineProperty, Er = Object.defineProperties;
2
- var xr = Object.getOwnPropertyDescriptors;
3
- var tt = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
1
+ var Er = Object.defineProperty, xr = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Tr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && we(e, r, t[r]);
8
- if (tt)
9
- for (var r of tt(t))
10
- Tr.call(t, r) && we(e, r, t[r]);
7
+ Tr.call(t, r) && Ae(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ wr.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => Er(e, xr(t));
13
- var P = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var it = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => xr(e, Sr(t));
13
+ var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var it = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function C() {
31
31
  }
32
- function Ut(e) {
32
+ function Gt(e) {
33
33
  return e();
34
34
  }
35
- function ot() {
35
+ function at() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ae(e) {
39
- e.forEach(Ut);
38
+ function se(e) {
39
+ e.forEach(Gt);
40
40
  }
41
- function Je(e) {
41
+ function et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Dt(e, t) {
44
+ function jt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function wr(e) {
47
+ function Hr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Gt(e, ...t) {
50
+ function kt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Gt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Hr(e, t, r) {
60
- e.$$.on_destroy.push(Gt(t, r));
59
+ function Ar(e, t, r) {
60
+ e.$$.on_destroy.push(kt(t, r));
61
61
  }
62
62
  function B(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Ar(e, t, r) {
66
- const n = Br(e);
65
+ function Br(e, t, r) {
66
+ const n = Or(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = L("style");
68
+ const i = R("style");
69
69
  i.id = t, i.textContent = r, Pr(n, i);
70
70
  }
71
71
  }
72
- function Br(e) {
72
+ function Or(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -92,14 +92,14 @@ function F(e, t, r) {
92
92
  function M(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Or(e, t) {
95
+ function Cr(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
- function L(e) {
99
+ function R(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function st(e) {
102
+ function ut(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function j(e) {
@@ -108,16 +108,16 @@ function j(e) {
108
108
  function z() {
109
109
  return j(" ");
110
110
  }
111
- function Cr(e, t, r, n) {
111
+ function Ir(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
- function S(e, t, r) {
114
+ function x(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Ir(e) {
117
+ function Nr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function ue(e, t) {
120
+ function ae(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
@@ -130,90 +130,90 @@ function Mr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let ie;
134
- function ne(e) {
135
- ie = e;
133
+ let ne;
134
+ function re(e) {
135
+ ne = e;
136
136
  }
137
- function Nr() {
138
- if (!ie)
137
+ function Lr() {
138
+ if (!ne)
139
139
  throw new Error("Function called outside component initialization");
140
- return ie;
140
+ return ne;
141
141
  }
142
- function Lr(e) {
143
- Nr().$$.on_mount.push(e);
142
+ function Rr(e) {
143
+ Lr().$$.on_mount.push(e);
144
144
  }
145
- const W = [], Ne = [];
145
+ const W = [], Re = [];
146
146
  let Z = [];
147
- const at = [], Rr = /* @__PURE__ */ Promise.resolve();
148
- let Le = !1;
147
+ const lt = [], $r = /* @__PURE__ */ Promise.resolve();
148
+ let $e = !1;
149
149
  function Fr() {
150
- Le || (Le = !0, Rr.then(D));
150
+ $e || ($e = !0, $r.then(D));
151
151
  }
152
- function Re(e) {
152
+ function Fe(e) {
153
153
  Z.push(e);
154
154
  }
155
- const He = /* @__PURE__ */ new Set();
155
+ const Be = /* @__PURE__ */ new Set();
156
156
  let V = 0;
157
157
  function D() {
158
158
  if (V !== 0)
159
159
  return;
160
- const e = ie;
160
+ const e = ne;
161
161
  do {
162
162
  try {
163
163
  for (; V < W.length; ) {
164
164
  const t = W[V];
165
- V++, ne(t), $r(t.$$);
165
+ V++, re(t), Ur(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw W.length = 0, V = 0, t;
169
169
  }
170
- for (ne(null), W.length = 0, V = 0; Ne.length; )
171
- Ne.pop()();
170
+ for (re(null), W.length = 0, V = 0; Re.length; )
171
+ Re.pop()();
172
172
  for (let t = 0; t < Z.length; t += 1) {
173
173
  const r = Z[t];
174
- He.has(r) || (He.add(r), r());
174
+ Be.has(r) || (Be.add(r), r());
175
175
  }
176
176
  Z.length = 0;
177
177
  } while (W.length);
178
- for (; at.length; )
179
- at.pop()();
180
- Le = !1, He.clear(), ne(e);
178
+ for (; lt.length; )
179
+ lt.pop()();
180
+ $e = !1, Be.clear(), re(e);
181
181
  }
182
- function $r(e) {
182
+ function Ur(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), ae(e.before_update);
184
+ e.update(), se(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
187
187
  }
188
188
  }
189
- function Ur(e) {
189
+ function Dr(e) {
190
190
  const t = [], r = [];
191
191
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
192
192
  }
193
- const Dr = /* @__PURE__ */ new Set();
194
- function Gr(e, t) {
195
- e && e.i && (Dr.delete(e), e.i(t));
193
+ const Gr = /* @__PURE__ */ new Set();
194
+ function jr(e, t) {
195
+ e && e.i && (Gr.delete(e), e.i(t));
196
196
  }
197
- function ut(e) {
197
+ function ht(e) {
198
198
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
199
199
  }
200
- function jr(e, t, r) {
200
+ function kr(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
- n && n.m(t, r), Re(() => {
203
- const o = e.$$.on_mount.map(Ut).filter(Je);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
205
- }), i.forEach(Re);
202
+ n && n.m(t, r), Fe(() => {
203
+ const o = e.$$.on_mount.map(Gt).filter(et);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
205
+ }), i.forEach(Fe);
206
206
  }
207
- function kr(e, t) {
207
+ function Vr(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (Ur(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (Dr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function Vr(e, t) {
211
+ function Xr(e, t) {
212
212
  e.$$.dirty[0] === -1 && (W.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
215
- const h = ie;
216
- ne(e);
214
+ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
215
+ const h = ne;
216
+ re(e);
217
217
  const u = e.$$ = {
218
218
  fragment: null,
219
219
  ctx: [],
@@ -221,7 +221,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  props: o,
222
222
  update: C,
223
223
  not_equal: i,
224
- bound: ot(),
224
+ bound: at(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,7 +230,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (h ? h.$$.context : [])),
232
232
  // everything else
233
- callbacks: ot(),
233
+ callbacks: at(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || h.$$.root
@@ -239,39 +239,39 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
239
239
  let l = !1;
240
240
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
241
241
  const m = p.length ? p[0] : f;
242
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Vr(e, c)), f;
243
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
242
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Xr(e, c)), f;
243
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const c = Ir(t.target);
245
+ const c = Nr(t.target);
246
246
  u.fragment && u.fragment.l(c), c.forEach(M);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), D();
249
+ t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), D();
250
250
  }
251
- ne(h);
251
+ re(h);
252
252
  }
253
- let jt;
254
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
253
+ let Vt;
254
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
255
255
  constructor(t, r, n) {
256
256
  super();
257
257
  /** The Svelte component constructor */
258
- P(this, "$$ctor");
258
+ O(this, "$$ctor");
259
259
  /** Slots */
260
- P(this, "$$s");
260
+ O(this, "$$s");
261
261
  /** The Svelte component instance */
262
- P(this, "$$c");
262
+ O(this, "$$c");
263
263
  /** Whether or not the custom element is connected */
264
- P(this, "$$cn", !1);
264
+ O(this, "$$cn", !1);
265
265
  /** Component props data */
266
- P(this, "$$d", {});
266
+ O(this, "$$d", {});
267
267
  /** `true` if currently in the process of reflecting component props back to attributes */
268
- P(this, "$$r", !1);
268
+ O(this, "$$r", !1);
269
269
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
270
- P(this, "$$p_d", {});
270
+ O(this, "$$p_d", {});
271
271
  /** @type {Record<string, Function[]>} Event listeners */
272
- P(this, "$$l", {});
272
+ O(this, "$$l", {});
273
273
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
274
- P(this, "$$l_u", /* @__PURE__ */ new Map());
274
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
275
275
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
276
276
  }
277
277
  addEventListener(t, r, n) {
@@ -288,14 +288,14 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return it(this, null, function* () {
291
+ return st(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
295
295
  let s;
296
296
  return {
297
297
  c: function() {
298
- s = L("slot"), o !== "default" && S(s, "name", o);
298
+ s = R("slot"), o !== "default" && x(s, "name", o);
299
299
  },
300
300
  /**
301
301
  * @param {HTMLElement} target
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: nt(rt({}, this.$$d), {
326
+ props: ot(it({}, this.$$d), {
327
327
  $$slots: r,
328
328
  $$scope: {
329
329
  ctx: []
@@ -401,8 +401,8 @@ function me(e, t, r, n) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function zr(e, t, r, n, i, o) {
405
- let s = class extends jt {
404
+ function Wr(e, t, r, n, i, o) {
405
+ let s = class extends Vt {
406
406
  constructor() {
407
407
  super(e, r, i), this.$$p_d = t;
408
408
  }
@@ -432,7 +432,7 @@ function zr(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class Wr {
435
+ class Zr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -441,7 +441,7 @@ class Wr {
441
441
  *
442
442
  * @type {any}
443
443
  */
444
- P(this, "$$");
444
+ O(this, "$$");
445
445
  /**
446
446
  * ### PRIVATE API
447
447
  *
@@ -449,11 +449,11 @@ class Wr {
449
449
  *
450
450
  * @type {any}
451
451
  */
452
- P(this, "$$set");
452
+ O(this, "$$set");
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- kr(this, 1), this.$destroy = C;
456
+ Vr(this, 1), this.$destroy = C;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,7 +462,7 @@ class Wr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, r) {
465
- if (!Je(r))
465
+ if (!et(r))
466
466
  return C;
467
467
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return n.push(r), () => {
@@ -475,11 +475,11 @@ class Wr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Zr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
481
+ const Qr = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
483
483
  /*! *****************************************************************************
484
484
  Copyright (c) Microsoft Corporation.
485
485
 
@@ -494,43 +494,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
494
494
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
495
495
  PERFORMANCE OF THIS SOFTWARE.
496
496
  ***************************************************************************** */
497
- var Fe = function(e, t) {
498
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
+ var Ue = function(e, t) {
498
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
499
499
  r.__proto__ = n;
500
500
  } || function(r, n) {
501
501
  for (var i in n)
502
502
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
503
- }, Fe(e, t);
503
+ }, Ue(e, t);
504
504
  };
505
- function $(e, t) {
505
+ function ue(e, t) {
506
506
  if (typeof t != "function" && t !== null)
507
507
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
508
- Fe(e, t);
508
+ Ue(e, t);
509
509
  function r() {
510
510
  this.constructor = e;
511
511
  }
512
512
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
513
513
  }
514
- var y = function() {
515
- return y = Object.assign || function(t) {
516
- for (var r, n = 1, i = arguments.length; n < i; n++) {
517
- r = arguments[n];
518
- for (var o in r)
519
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
520
- }
521
- return t;
522
- }, y.apply(this, arguments);
523
- };
524
- function Qr(e, t) {
525
- var r = {};
526
- for (var n in e)
527
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
528
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
529
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
530
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
531
- return r;
532
- }
533
- function $e(e) {
514
+ function De(e) {
534
515
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
535
516
  if (r)
536
517
  return r.call(e);
@@ -542,7 +523,7 @@ function $e(e) {
542
523
  };
543
524
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
544
525
  }
545
- function Ue(e, t) {
526
+ function Ge(e, t) {
546
527
  var r = typeof Symbol == "function" && e[Symbol.iterator];
547
528
  if (!r)
548
529
  return e;
@@ -562,22 +543,22 @@ function Ue(e, t) {
562
543
  }
563
544
  return o;
564
545
  }
565
- function Q(e, t, r) {
566
- if (r || arguments.length === 2)
546
+ function je(e, t, r) {
547
+ if (arguments.length === 2)
567
548
  for (var n = 0, i = t.length, o; n < i; n++)
568
549
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
569
550
  return e.concat(o || t);
570
551
  }
571
- function R(e) {
552
+ function $(e) {
572
553
  return typeof e == "function";
573
554
  }
574
- function kt(e) {
555
+ function Xt(e) {
575
556
  var t = function(n) {
576
557
  Error.call(n), n.stack = new Error().stack;
577
558
  }, r = e(t);
578
559
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
579
560
  }
580
- var Ae = kt(function(e) {
561
+ var Oe = Xt(function(e) {
581
562
  return function(r) {
582
563
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
583
564
  ` + r.map(function(n, i) {
@@ -586,13 +567,13 @@ var Ae = kt(function(e) {
586
567
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
587
568
  };
588
569
  });
589
- function De(e, t) {
570
+ function ke(e, t) {
590
571
  if (e) {
591
572
  var r = e.indexOf(t);
592
573
  0 <= r && e.splice(r, 1);
593
574
  }
594
575
  }
595
- var _e = function() {
576
+ var Ee = function() {
596
577
  function e(t) {
597
578
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
598
579
  }
@@ -604,7 +585,7 @@ var _e = function() {
604
585
  if (s)
605
586
  if (this._parentage = null, Array.isArray(s))
606
587
  try {
607
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
588
+ for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
608
589
  var u = h.value;
609
590
  u.remove(this);
610
591
  }
@@ -621,22 +602,22 @@ var _e = function() {
621
602
  else
622
603
  s.remove(this);
623
604
  var l = this.initialTeardown;
624
- if (R(l))
605
+ if ($(l))
625
606
  try {
626
607
  l();
627
608
  } catch (d) {
628
- o = d instanceof Ae ? d.errors : [d];
609
+ o = d instanceof Oe ? d.errors : [d];
629
610
  }
630
611
  var c = this._finalizers;
631
612
  if (c) {
632
613
  this._finalizers = null;
633
614
  try {
634
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
615
+ for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
635
616
  var m = p.value;
636
617
  try {
637
- lt(m);
618
+ ft(m);
638
619
  } catch (d) {
639
- o = o != null ? o : [], d instanceof Ae ? o = Q(Q([], Ue(o)), Ue(d.errors)) : o.push(d);
620
+ o = o != null ? o : [], d instanceof Oe ? o = je(je([], Ge(o)), Ge(d.errors)) : o.push(d);
640
621
  }
641
622
  }
642
623
  } catch (d) {
@@ -651,13 +632,13 @@ var _e = function() {
651
632
  }
652
633
  }
653
634
  if (o)
654
- throw new Ae(o);
635
+ throw new Oe(o);
655
636
  }
656
637
  }, e.prototype.add = function(t) {
657
638
  var r;
658
639
  if (t && t !== this)
659
640
  if (this.closed)
660
- lt(t);
641
+ ft(t);
661
642
  else {
662
643
  if (t instanceof e) {
663
644
  if (t.closed || t._hasParent(this))
@@ -674,56 +655,52 @@ var _e = function() {
674
655
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
675
656
  }, e.prototype._removeParent = function(t) {
676
657
  var r = this._parentage;
677
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
658
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
678
659
  }, e.prototype.remove = function(t) {
679
660
  var r = this._finalizers;
680
- r && De(r, t), t instanceof e && t._removeParent(this);
661
+ r && ke(r, t), t instanceof e && t._removeParent(this);
681
662
  }, e.EMPTY = function() {
682
663
  var t = new e();
683
664
  return t.closed = !0, t;
684
665
  }(), e;
685
- }(), Vt = _e.EMPTY;
686
- function Xt(e) {
687
- return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
688
- }
689
- function lt(e) {
690
- R(e) ? e() : e.unsubscribe();
691
- }
692
- var zt = {
693
- onUnhandledError: null,
694
- onStoppedNotification: null,
695
- Promise: void 0,
696
- useDeprecatedSynchronousErrorHandling: !1,
697
- useDeprecatedNextContext: !1
698
- }, Jr = {
666
+ }(), zt = Ee.EMPTY;
667
+ function Wt(e) {
668
+ return e instanceof Ee || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
669
+ }
670
+ function ft(e) {
671
+ $(e) ? e() : e.unsubscribe();
672
+ }
673
+ var Jr = {
674
+ Promise: void 0
675
+ }, Yr = {
699
676
  setTimeout: function(e, t) {
700
677
  for (var r = [], n = 2; n < arguments.length; n++)
701
678
  r[n - 2] = arguments[n];
702
- return setTimeout.apply(void 0, Q([e, t], Ue(r)));
679
+ return setTimeout.apply(void 0, je([e, t], Ge(r)));
703
680
  },
704
681
  clearTimeout: function(e) {
705
682
  return clearTimeout(e);
706
683
  },
707
684
  delegate: void 0
708
685
  };
709
- function Yr(e) {
710
- Jr.setTimeout(function() {
686
+ function qr(e) {
687
+ Yr.setTimeout(function() {
711
688
  throw e;
712
689
  });
713
690
  }
714
- function ht() {
691
+ function ct() {
715
692
  }
716
693
  function de(e) {
717
694
  e();
718
695
  }
719
- var Wt = function(e) {
720
- $(t, e);
696
+ var Zt = function(e) {
697
+ ue(t, e);
721
698
  function t(r) {
722
699
  var n = e.call(this) || this;
723
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = tn, n;
700
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
724
701
  }
725
702
  return t.create = function(r, n, i) {
726
- return new Ge(r, n, i);
703
+ return new Ve(r, n, i);
727
704
  }, t.prototype.next = function(r) {
728
705
  this.isStopped || this._next(r);
729
706
  }, t.prototype.error = function(r) {
@@ -747,11 +724,7 @@ var Wt = function(e) {
747
724
  this.unsubscribe();
748
725
  }
749
726
  }, t;
750
- }(_e), qr = Function.prototype.bind;
751
- function Be(e, t) {
752
- return qr.call(e, t);
753
- }
754
- var Kr = function() {
727
+ }(Ee), Kr = function() {
755
728
  function e(t) {
756
729
  this.partialObserver = t;
757
730
  }
@@ -782,41 +755,29 @@ var Kr = function() {
782
755
  ce(r);
783
756
  }
784
757
  }, e;
785
- }(), Ge = function(e) {
786
- $(t, e);
758
+ }(), Ve = function(e) {
759
+ ue(t, e);
787
760
  function t(r, n, i) {
788
761
  var o = e.call(this) || this, s;
789
- if (R(r) || !r)
790
- s = {
791
- next: r != null ? r : void 0,
792
- error: n != null ? n : void 0,
793
- complete: i != null ? i : void 0
794
- };
795
- else {
796
- var a;
797
- o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
798
- return o.unsubscribe();
799
- }, s = {
800
- next: r.next && Be(r.next, a),
801
- error: r.error && Be(r.error, a),
802
- complete: r.complete && Be(r.complete, a)
803
- }) : s = r;
804
- }
805
- return o.destination = new Kr(s), o;
762
+ return $(r) || !r ? s = {
763
+ next: r != null ? r : void 0,
764
+ error: n != null ? n : void 0,
765
+ complete: i != null ? i : void 0
766
+ } : s = r, o.destination = new Kr(s), o;
806
767
  }
807
768
  return t;
808
- }(Wt);
769
+ }(Zt);
809
770
  function ce(e) {
810
- Yr(e);
771
+ qr(e);
811
772
  }
812
773
  function en(e) {
813
774
  throw e;
814
775
  }
815
776
  var tn = {
816
777
  closed: !0,
817
- next: ht,
778
+ next: ct,
818
779
  error: en,
819
- complete: ht
780
+ complete: ct
820
781
  }, rn = function() {
821
782
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
783
  }();
@@ -830,7 +791,7 @@ function on(e) {
830
791
  }, r);
831
792
  };
832
793
  }
833
- var ft = function() {
794
+ var pt = function() {
834
795
  function e(t) {
835
796
  t && (this._subscribe = t);
836
797
  }
@@ -838,7 +799,7 @@ var ft = function() {
838
799
  var r = new e();
839
800
  return r.source = this, r.operator = t, r;
840
801
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = an(t) ? t : new Ge(t, r, n);
802
+ var i = this, o = an(t) ? t : new Ve(t, r, n);
842
803
  return de(function() {
843
804
  var s = i, a = s.operator, h = s.source;
844
805
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -851,8 +812,8 @@ var ft = function() {
851
812
  }
852
813
  }, e.prototype.forEach = function(t, r) {
853
814
  var n = this;
854
- return r = ct(r), new r(function(i, o) {
855
- var s = new Ge({
815
+ return r = mt(r), new r(function(i, o) {
816
+ var s = new Ve({
856
817
  next: function(a) {
857
818
  try {
858
819
  t(a);
@@ -876,7 +837,7 @@ var ft = function() {
876
837
  return on(t)(this);
877
838
  }, e.prototype.toPromise = function(t) {
878
839
  var r = this;
879
- return t = ct(t), new t(function(n, i) {
840
+ return t = mt(t), new t(function(n, i) {
880
841
  var o;
881
842
  r.subscribe(function(s) {
882
843
  return o = s;
@@ -890,28 +851,28 @@ var ft = function() {
890
851
  return new e(t);
891
852
  }, e;
892
853
  }();
893
- function ct(e) {
854
+ function mt(e) {
894
855
  var t;
895
- return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
856
+ return (t = e != null ? e : Jr.Promise) !== null && t !== void 0 ? t : Promise;
896
857
  }
897
858
  function sn(e) {
898
- return e && R(e.next) && R(e.error) && R(e.complete);
859
+ return e && $(e.next) && $(e.error) && $(e.complete);
899
860
  }
900
861
  function an(e) {
901
- return e && e instanceof Wt || sn(e) && Xt(e);
862
+ return e && e instanceof Zt || sn(e) && Wt(e);
902
863
  }
903
- var un = kt(function(e) {
864
+ var un = Xt(function(e) {
904
865
  return function() {
905
866
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
867
  };
907
- }), Zt = function(e) {
908
- $(t, e);
868
+ }), Qt = function(e) {
869
+ ue(t, e);
909
870
  function t() {
910
871
  var r = e.call(this) || this;
911
872
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
873
  }
913
874
  return t.prototype.lift = function(r) {
914
- var n = new pt(this, this);
875
+ var n = new dt(this, this);
915
876
  return n.operator = r, n;
916
877
  }, t.prototype._throwIfClosed = function() {
917
878
  if (this.closed)
@@ -923,7 +884,7 @@ var un = kt(function(e) {
923
884
  if (n._throwIfClosed(), !n.isStopped) {
924
885
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
886
  try {
926
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
887
+ for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
888
  var h = a.value;
928
889
  h.next(r);
929
890
  }
@@ -972,20 +933,20 @@ var un = kt(function(e) {
972
933
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
934
  }, t.prototype._innerSubscribe = function(r) {
974
935
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Vt : (this.currentObservers = null, a.push(r), new _e(function() {
976
- n.currentObservers = null, De(a, r);
936
+ return o || s ? zt : (this.currentObservers = null, a.push(r), new Ee(function() {
937
+ n.currentObservers = null, ke(a, r);
977
938
  }));
978
939
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
940
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
941
  i ? r.error(o) : s && r.complete();
981
942
  }, t.prototype.asObservable = function() {
982
- var r = new ft();
943
+ var r = new pt();
983
944
  return r.source = this, r;
984
945
  }, t.create = function(r, n) {
985
- return new pt(r, n);
946
+ return new dt(r, n);
986
947
  }, t;
987
- }(ft), pt = function(e) {
988
- $(t, e);
948
+ }(pt), dt = function(e) {
949
+ ue(t, e);
989
950
  function t(r, n) {
990
951
  var i = e.call(this) || this;
991
952
  return i.destination = r, i.source = n, i;
@@ -1001,17 +962,17 @@ var un = kt(function(e) {
1001
962
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
963
  }, t.prototype._subscribe = function(r) {
1003
964
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
965
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1005
966
  }, t;
1006
- }(Zt), Qt = {
967
+ }(Qt), Jt = {
1007
968
  now: function() {
1008
- return (Qt.delegate || Date).now();
969
+ return (Jt.delegate || Date).now();
1009
970
  },
1010
971
  delegate: void 0
1011
972
  }, ln = function(e) {
1012
- $(t, e);
973
+ ue(t, e);
1013
974
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
975
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1015
976
  var o = e.call(this) || this;
1016
977
  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;
1017
978
  }
@@ -1031,24 +992,24 @@ var un = kt(function(e) {
1031
992
  u && o.splice(0, u + 1);
1032
993
  }
1033
994
  }, t;
1034
- }(Zt);
1035
- const mt = [], dt = {}, hn = (e, t = 0) => {
1036
- if (mt.indexOf(e) == -1) {
995
+ }(Qt);
996
+ const bt = [], gt = {}, hn = (e, t = 0) => {
997
+ if (bt.indexOf(e) == -1) {
1037
998
  const r = new ln(t);
1038
- dt[e] = r, mt.push(e);
999
+ gt[e] = r, bt.push(e);
1039
1000
  }
1040
- return dt[e];
1001
+ return gt[e];
1041
1002
  }, X = [];
1042
1003
  function fn(e, t) {
1043
1004
  return {
1044
- subscribe: Ee(e, t).subscribe
1005
+ subscribe: xe(e, t).subscribe
1045
1006
  };
1046
1007
  }
1047
- function Ee(e, t = C) {
1008
+ function xe(e, t = C) {
1048
1009
  let r;
1049
1010
  const n = /* @__PURE__ */ new Set();
1050
1011
  function i(a) {
1051
- if (Dt(e, a) && (e = a, r)) {
1012
+ if (jt(e, a) && (e = a, r)) {
1052
1013
  const h = !X.length;
1053
1014
  for (const u of n)
1054
1015
  u[1](), X.push(u, e);
@@ -1070,7 +1031,7 @@ function Ee(e, t = C) {
1070
1031
  }
1071
1032
  return { set: i, update: o, subscribe: s };
1072
1033
  }
1073
- function ee(e, t, r) {
1034
+ function K(e, t, r) {
1074
1035
  const n = !Array.isArray(e), i = n ? [e] : e;
1075
1036
  if (!i.every(Boolean))
1076
1037
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1084,12 +1045,12 @@ function ee(e, t, r) {
1084
1045
  return;
1085
1046
  c();
1086
1047
  const m = t(n ? u[0] : u, s, a);
1087
- o ? s(m) : c = Je(m) ? m : C;
1048
+ o ? s(m) : c = et(m) ? m : C;
1088
1049
  }, p = i.map(
1089
- (m, d) => Gt(
1050
+ (m, d) => kt(
1090
1051
  m,
1091
- (_) => {
1092
- u[d] = _, l &= ~(1 << d), h && f();
1052
+ (y) => {
1053
+ u[d] = y, l &= ~(1 << d), h && f();
1093
1054
  },
1094
1055
  () => {
1095
1056
  l |= 1 << d;
@@ -1097,7 +1058,7 @@ function ee(e, t, r) {
1097
1058
  )
1098
1059
  );
1099
1060
  return h = !0, f(), function() {
1100
- ae(p), c(), h = !1;
1061
+ se(p), c(), h = !1;
1101
1062
  };
1102
1063
  });
1103
1064
  }
@@ -1121,29 +1082,29 @@ function vn(e) {
1121
1082
  function yn(e) {
1122
1083
  return Array.isArray(e) ? [] : {};
1123
1084
  }
1124
- function oe(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? J(yn(e), e, t) : e;
1085
+ function ie(e, t) {
1086
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(yn(e), e, t) : e;
1126
1087
  }
1127
1088
  function _n(e, t, r) {
1128
1089
  return e.concat(t).map(function(n) {
1129
- return oe(n, r);
1090
+ return ie(n, r);
1130
1091
  });
1131
1092
  }
1132
1093
  function En(e, t) {
1133
1094
  if (!t.customMerge)
1134
- return J;
1095
+ return Q;
1135
1096
  var r = t.customMerge(e);
1136
- return typeof r == "function" ? r : J;
1097
+ return typeof r == "function" ? r : Q;
1137
1098
  }
1138
1099
  function xn(e) {
1139
1100
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1101
  return Object.propertyIsEnumerable.call(e, t);
1141
1102
  }) : [];
1142
1103
  }
1143
- function bt(e) {
1104
+ function vt(e) {
1144
1105
  return Object.keys(e).concat(xn(e));
1145
1106
  }
1146
- function Jt(e, t) {
1107
+ function Yt(e, t) {
1147
1108
  try {
1148
1109
  return t in e;
1149
1110
  } catch (r) {
@@ -1151,129 +1112,179 @@ function Jt(e, t) {
1151
1112
  }
1152
1113
  }
1153
1114
  function Sn(e, t) {
1154
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1115
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1116
  }
1156
1117
  function Tn(e, t, r) {
1157
1118
  var n = {};
1158
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1159
- n[i] = oe(e[i], r);
1160
- }), bt(t).forEach(function(i) {
1161
- Sn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1119
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1120
+ n[i] = ie(e[i], r);
1121
+ }), vt(t).forEach(function(i) {
1122
+ Sn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1162
1123
  }), n;
1163
1124
  }
1164
- function J(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = oe;
1125
+ function Q(e, t, r) {
1126
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ie;
1166
1127
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : oe(t, r);
1128
+ return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : ie(t, r);
1168
1129
  }
1169
- J.all = function(t, r) {
1130
+ Q.all = function(t, r) {
1170
1131
  if (!Array.isArray(t))
1171
1132
  throw new Error("first argument should be an array");
1172
1133
  return t.reduce(function(n, i) {
1173
- return J(n, i, r);
1134
+ return Q(n, i, r);
1174
1135
  }, {});
1175
1136
  };
1176
- var wn = J, Hn = wn;
1137
+ var wn = Q, Hn = wn;
1177
1138
  const An = /* @__PURE__ */ cn(Hn);
1178
- function Pe(e, t) {
1179
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Pn;
1139
+ var Xe = function(e, t) {
1140
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1141
+ r.__proto__ = n;
1142
+ } || function(r, n) {
1143
+ for (var i in n)
1144
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1145
+ }, Xe(e, t);
1146
+ };
1147
+ function Se(e, t) {
1148
+ if (typeof t != "function" && t !== null)
1149
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1150
+ Xe(e, t);
1151
+ function r() {
1152
+ this.constructor = e;
1153
+ }
1154
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1155
+ }
1156
+ var N = function() {
1157
+ return N = Object.assign || function(t) {
1158
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1159
+ r = arguments[n];
1160
+ for (var o in r)
1161
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1162
+ }
1163
+ return t;
1164
+ }, N.apply(this, arguments);
1165
+ };
1166
+ function Bn(e, t) {
1167
+ var r = {};
1168
+ for (var n in e)
1169
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1170
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1171
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1172
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1173
+ return r;
1174
+ }
1175
+ function Pe(e, t, r) {
1176
+ if (r || arguments.length === 2)
1177
+ for (var n = 0, i = t.length, o; n < i; n++)
1178
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1179
+ return e.concat(o || Array.prototype.slice.call(t));
1180
+ }
1181
+ function Ce(e, t) {
1182
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Cn;
1180
1183
  return i(e, {
1181
1184
  cache: r,
1182
1185
  serializer: n
1183
1186
  });
1184
1187
  }
1185
- function Bn(e) {
1188
+ function On(e) {
1186
1189
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1190
  }
1188
- function Yt(e, t, r, n) {
1189
- var i = Bn(n) ? n : r(n), o = t.get(i);
1191
+ function Pn(e, t, r, n) {
1192
+ var i = On(n) ? n : r(n), o = t.get(i);
1190
1193
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1194
  }
1192
1195
  function qt(e, t, r) {
1193
1196
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1197
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1198
  }
1196
- function Ye(e, t, r, n, i) {
1199
+ function Kt(e, t, r, n, i) {
1197
1200
  return r.bind(t, e, n, i);
1198
1201
  }
1199
- function Pn(e, t) {
1200
- var r = e.length === 1 ? Yt : qt;
1201
- return Ye(e, this, r, t.cache.create(), t.serializer);
1202
- }
1203
- function On(e, t) {
1204
- return Ye(e, this, qt, t.cache.create(), t.serializer);
1205
- }
1206
1202
  function Cn(e, t) {
1207
- return Ye(e, this, Yt, t.cache.create(), t.serializer);
1203
+ var r = e.length === 1 ? Pn : qt;
1204
+ return Kt(e, this, r, t.cache.create(), t.serializer);
1208
1205
  }
1209
- var In = function() {
1210
- return JSON.stringify(arguments);
1211
- };
1212
- function qe() {
1213
- this.cache = /* @__PURE__ */ Object.create(null);
1206
+ function In(e, t) {
1207
+ return Kt(e, this, qt, t.cache.create(), t.serializer);
1214
1208
  }
1215
- qe.prototype.get = function(e) {
1216
- return this.cache[e];
1217
- };
1218
- qe.prototype.set = function(e, t) {
1219
- this.cache[e] = t;
1220
- };
1221
- var Mn = {
1209
+ var Nn = function() {
1210
+ return JSON.stringify(arguments);
1211
+ }, Mn = (
1212
+ /** @class */
1213
+ function() {
1214
+ function e() {
1215
+ this.cache = /* @__PURE__ */ Object.create(null);
1216
+ }
1217
+ return e.prototype.get = function(t) {
1218
+ return this.cache[t];
1219
+ }, e.prototype.set = function(t, r) {
1220
+ this.cache[t] = r;
1221
+ }, e;
1222
+ }()
1223
+ ), Ln = {
1222
1224
  create: function() {
1223
- return new qe();
1225
+ return new Mn();
1224
1226
  }
1225
- }, Oe = {
1226
- variadic: On,
1227
- monadic: Cn
1228
- }, b;
1227
+ }, Ie = {
1228
+ variadic: In
1229
+ }, ve = function() {
1230
+ return ve = Object.assign || function(t) {
1231
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1232
+ r = arguments[n];
1233
+ for (var o in r)
1234
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1235
+ }
1236
+ return t;
1237
+ }, ve.apply(this, arguments);
1238
+ };
1239
+ var b;
1229
1240
  (function(e) {
1230
1241
  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";
1231
1242
  })(b || (b = {}));
1232
- var E;
1243
+ var _;
1233
1244
  (function(e) {
1234
1245
  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";
1235
- })(E || (E = {}));
1236
- var Y;
1246
+ })(_ || (_ = {}));
1247
+ var J;
1237
1248
  (function(e) {
1238
1249
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1239
- })(Y || (Y = {}));
1240
- function gt(e) {
1241
- return e.type === E.literal;
1242
- }
1243
- function Nn(e) {
1244
- return e.type === E.argument;
1250
+ })(J || (J = {}));
1251
+ function yt(e) {
1252
+ return e.type === _.literal;
1245
1253
  }
1246
- function Kt(e) {
1247
- return e.type === E.number;
1254
+ function Rn(e) {
1255
+ return e.type === _.argument;
1248
1256
  }
1249
1257
  function er(e) {
1250
- return e.type === E.date;
1258
+ return e.type === _.number;
1251
1259
  }
1252
1260
  function tr(e) {
1253
- return e.type === E.time;
1261
+ return e.type === _.date;
1254
1262
  }
1255
1263
  function rr(e) {
1256
- return e.type === E.select;
1264
+ return e.type === _.time;
1257
1265
  }
1258
1266
  function nr(e) {
1259
- return e.type === E.plural;
1260
- }
1261
- function Ln(e) {
1262
- return e.type === E.pound;
1267
+ return e.type === _.select;
1263
1268
  }
1264
1269
  function ir(e) {
1265
- return e.type === E.tag;
1270
+ return e.type === _.plural;
1271
+ }
1272
+ function $n(e) {
1273
+ return e.type === _.pound;
1266
1274
  }
1267
1275
  function or(e) {
1268
- return !!(e && typeof e == "object" && e.type === Y.number);
1276
+ return e.type === _.tag;
1277
+ }
1278
+ function sr(e) {
1279
+ return !!(e && typeof e == "object" && e.type === J.number);
1269
1280
  }
1270
- function je(e) {
1271
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1281
+ function ze(e) {
1282
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1272
1283
  }
1273
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1274
- function Fn(e) {
1284
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
1285
+ function Un(e) {
1275
1286
  var t = {};
1276
- return e.replace(Rn, function(r) {
1287
+ return e.replace(Fn, function(r) {
1277
1288
  var n = r.length;
1278
1289
  switch (r[0]) {
1279
1290
  case "G":
@@ -1362,11 +1373,21 @@ function Fn(e) {
1362
1373
  return "";
1363
1374
  }), t;
1364
1375
  }
1365
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1366
- function Un(e) {
1376
+ var S = function() {
1377
+ return S = Object.assign || function(t) {
1378
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1379
+ r = arguments[n];
1380
+ for (var o in r)
1381
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1382
+ }
1383
+ return t;
1384
+ }, S.apply(this, arguments);
1385
+ };
1386
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1387
+ function Gn(e) {
1367
1388
  if (e.length === 0)
1368
1389
  throw new Error("Number skeleton cannot be empty");
1369
- for (var t = e.split($n).filter(function(f) {
1390
+ for (var t = e.split(Dn).filter(function(f) {
1370
1391
  return f.length > 0;
1371
1392
  }), r = [], n = 0, i = t; n < i.length; n++) {
1372
1393
  var o = i[n], s = o.split("/");
@@ -1381,17 +1402,17 @@ function Un(e) {
1381
1402
  }
1382
1403
  return r;
1383
1404
  }
1384
- function Dn(e) {
1405
+ function jn(e) {
1385
1406
  return e.replace(/^(.*?)-/, "");
1386
1407
  }
1387
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1388
- function yt(e) {
1408
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1409
+ function Et(e) {
1389
1410
  var t = {};
1390
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1411
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1391
1412
  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)), "";
1392
1413
  }), t;
1393
1414
  }
1394
- function lr(e) {
1415
+ function hr(e) {
1395
1416
  switch (e) {
1396
1417
  case "sign-auto":
1397
1418
  return {
@@ -1431,7 +1452,7 @@ function lr(e) {
1431
1452
  };
1432
1453
  }
1433
1454
  }
1434
- function jn(e) {
1455
+ function Vn(e) {
1435
1456
  var t;
1436
1457
  if (e[0] === "E" && e[1] === "E" ? (t = {
1437
1458
  notation: "engineering"
@@ -1439,17 +1460,17 @@ function jn(e) {
1439
1460
  notation: "scientific"
1440
1461
  }, e = e.slice(1)), t) {
1441
1462
  var r = e.slice(0, 2);
1442
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1463
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1443
1464
  throw new Error("Malformed concise eng/scientific notation");
1444
1465
  t.minimumIntegerDigits = e.length;
1445
1466
  }
1446
1467
  return t;
1447
1468
  }
1448
- function _t(e) {
1449
- var t = {}, r = lr(e);
1469
+ function xt(e) {
1470
+ var t = {}, r = hr(e);
1450
1471
  return r || t;
1451
1472
  }
1452
- function kn(e) {
1473
+ function Xn(e) {
1453
1474
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1454
1475
  var i = n[r];
1455
1476
  switch (i.stem) {
@@ -1473,7 +1494,7 @@ function kn(e) {
1473
1494
  continue;
1474
1495
  case "measure-unit":
1475
1496
  case "unit":
1476
- t.style = "unit", t.unit = Dn(i.options[0]);
1497
+ t.style = "unit", t.unit = jn(i.options[0]);
1477
1498
  continue;
1478
1499
  case "compact-short":
1479
1500
  case "K":
@@ -1484,13 +1505,13 @@ function kn(e) {
1484
1505
  t.notation = "compact", t.compactDisplay = "long";
1485
1506
  continue;
1486
1507
  case "scientific":
1487
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1488
- return y(y({}, h), _t(u));
1508
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1509
+ return S(S({}, h), xt(u));
1489
1510
  }, {}));
1490
1511
  continue;
1491
1512
  case "engineering":
1492
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1493
- return y(y({}, h), _t(u));
1513
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1514
+ return S(S({}, h), xt(u));
1494
1515
  }, {}));
1495
1516
  continue;
1496
1517
  case "notation-simple":
@@ -1535,7 +1556,7 @@ function kn(e) {
1535
1556
  case "integer-width":
1536
1557
  if (i.options.length > 1)
1537
1558
  throw new RangeError("integer-width stems only accept a single optional option");
1538
- i.options[0].replace(Gn, function(h, u, l, c, f, p) {
1559
+ i.options[0].replace(kn, function(h, u, l, c, f, p) {
1539
1560
  if (u)
1540
1561
  t.minimumIntegerDigits = l.length;
1541
1562
  else {
@@ -1548,28 +1569,28 @@ function kn(e) {
1548
1569
  });
1549
1570
  continue;
1550
1571
  }
1551
- if (ur.test(i.stem)) {
1572
+ if (lr.test(i.stem)) {
1552
1573
  t.minimumIntegerDigits = i.stem.length;
1553
1574
  continue;
1554
1575
  }
1555
- if (vt.test(i.stem)) {
1576
+ if (_t.test(i.stem)) {
1556
1577
  if (i.options.length > 1)
1557
1578
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1558
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1579
+ i.stem.replace(_t, function(h, u, l, c, f, p) {
1559
1580
  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), "";
1560
1581
  });
1561
1582
  var o = i.options[0];
1562
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1583
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Et(o)));
1563
1584
  continue;
1564
1585
  }
1565
- if (ar.test(i.stem)) {
1566
- t = y(y({}, t), yt(i.stem));
1586
+ if (ur.test(i.stem)) {
1587
+ t = S(S({}, t), Et(i.stem));
1567
1588
  continue;
1568
1589
  }
1569
- var s = lr(i.stem);
1570
- s && (t = y(y({}, t), s));
1571
- var a = jn(i.stem);
1572
- a && (t = y(y({}, t), a));
1590
+ var s = hr(i.stem);
1591
+ s && (t = S(S({}, t), s));
1592
+ var a = Vn(i.stem);
1593
+ a && (t = S(S({}, t), a));
1573
1594
  }
1574
1595
  return t;
1575
1596
  }
@@ -2988,13 +3009,13 @@ var pe = {
2988
3009
  "h"
2989
3010
  ]
2990
3011
  };
2991
- function Vn(e, t) {
3012
+ function zn(e, t) {
2992
3013
  for (var r = "", n = 0; n < e.length; n++) {
2993
3014
  var i = e.charAt(n);
2994
3015
  if (i === "j") {
2995
3016
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2996
3017
  o++, n++;
2997
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Xn(t);
3018
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Wn(t);
2998
3019
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2999
3020
  r += h;
3000
3021
  for (; s-- > 0; )
@@ -3004,7 +3025,7 @@ function Vn(e, t) {
3004
3025
  }
3005
3026
  return r;
3006
3027
  }
3007
- function Xn(e) {
3028
+ function Wn(e) {
3008
3029
  var t = e.hourCycle;
3009
3030
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3010
3031
  e.hourCycles && // @ts-ignore
@@ -3026,20 +3047,20 @@ function Xn(e) {
3026
3047
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3027
3048
  return i[0];
3028
3049
  }
3029
- var Ce, zn = new RegExp("^".concat(sr.source, "*")), Wn = new RegExp("".concat(sr.source, "*$"));
3050
+ var Ne, Zn = new RegExp("^".concat(ar.source, "*")), Qn = new RegExp("".concat(ar.source, "*$"));
3030
3051
  function g(e, t) {
3031
3052
  return { start: e, end: t };
3032
3053
  }
3033
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3054
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3034
3055
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3035
- }, ke = !0;
3056
+ }, We = !0;
3036
3057
  try {
3037
- var ri = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
- ke = ((Ce = ri.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3058
+ var ii = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
+ We = ((Ne = ii.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3039
3060
  } catch (e) {
3040
- ke = !1;
3061
+ We = !1;
3041
3062
  }
3042
- var Et = Zn ? (
3063
+ var St = Jn ? (
3043
3064
  // Native
3044
3065
  function(t, r, n) {
3045
3066
  return t.startsWith(r, n);
@@ -3049,7 +3070,7 @@ var Et = Zn ? (
3049
3070
  function(t, r, n) {
3050
3071
  return t.slice(n, n + r.length) === r;
3051
3072
  }
3052
- ), Ve = Qn ? String.fromCodePoint : (
3073
+ ), Ze = Yn ? String.fromCodePoint : (
3053
3074
  // IE11
3054
3075
  function() {
3055
3076
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3061,9 +3082,9 @@ var Et = Zn ? (
3061
3082
  }
3062
3083
  return n;
3063
3084
  }
3064
- ), xt = (
3085
+ ), Tt = (
3065
3086
  // native
3066
- Jn ? Object.fromEntries : (
3087
+ qn ? Object.fromEntries : (
3067
3088
  // Ponyfill
3068
3089
  function(t) {
3069
3090
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3073,7 +3094,7 @@ var Et = Zn ? (
3073
3094
  return r;
3074
3095
  }
3075
3096
  )
3076
- ), hr = Yn ? (
3097
+ ), fr = Kn ? (
3077
3098
  // Native
3078
3099
  function(t, r) {
3079
3100
  return t.codePointAt(r);
@@ -3087,7 +3108,7 @@ var Et = Zn ? (
3087
3108
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3088
3109
  }
3089
3110
  }
3090
- ), ni = qn ? (
3111
+ ), oi = ei ? (
3091
3112
  // Native
3092
3113
  function(t) {
3093
3114
  return t.trimStart();
@@ -3095,9 +3116,9 @@ var Et = Zn ? (
3095
3116
  ) : (
3096
3117
  // Ponyfill
3097
3118
  function(t) {
3098
- return t.replace(zn, "");
3119
+ return t.replace(Zn, "");
3099
3120
  }
3100
- ), ii = Kn ? (
3121
+ ), si = ti ? (
3101
3122
  // Native
3102
3123
  function(t) {
3103
3124
  return t.trimEnd();
@@ -3105,32 +3126,32 @@ var Et = Zn ? (
3105
3126
  ) : (
3106
3127
  // Ponyfill
3107
3128
  function(t) {
3108
- return t.replace(Wn, "");
3129
+ return t.replace(Qn, "");
3109
3130
  }
3110
3131
  );
3111
- function fr(e, t) {
3132
+ function cr(e, t) {
3112
3133
  return new RegExp(e, t);
3113
3134
  }
3114
- var Xe;
3115
- if (ke) {
3116
- var St = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3117
- Xe = function(t, r) {
3135
+ var Qe;
3136
+ if (We) {
3137
+ var wt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3138
+ Qe = function(t, r) {
3118
3139
  var n;
3119
- St.lastIndex = r;
3120
- var i = St.exec(t);
3140
+ wt.lastIndex = r;
3141
+ var i = wt.exec(t);
3121
3142
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3122
3143
  };
3123
3144
  } else
3124
- Xe = function(t, r) {
3145
+ Qe = function(t, r) {
3125
3146
  for (var n = []; ; ) {
3126
- var i = hr(t, r);
3127
- if (i === void 0 || cr(i) || ui(i))
3147
+ var i = fr(t, r);
3148
+ if (i === void 0 || pr(i) || hi(i))
3128
3149
  break;
3129
3150
  n.push(i), r += i >= 65536 ? 2 : 1;
3130
3151
  }
3131
- return Ve.apply(void 0, n);
3152
+ return Ze.apply(void 0, n);
3132
3153
  };
3133
- var oi = (
3154
+ var ai = (
3134
3155
  /** @class */
3135
3156
  function() {
3136
3157
  function e(t, r) {
@@ -3154,14 +3175,14 @@ var oi = (
3154
3175
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3155
3176
  var a = this.clonePosition();
3156
3177
  this.bump(), i.push({
3157
- type: E.pound,
3178
+ type: _.pound,
3158
3179
  location: g(a, this.clonePosition())
3159
3180
  });
3160
3181
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3161
3182
  if (n)
3162
3183
  break;
3163
3184
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3164
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3185
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3165
3186
  var s = this.parseTag(t, r);
3166
3187
  if (s.err)
3167
3188
  return s;
@@ -3182,7 +3203,7 @@ var oi = (
3182
3203
  if (this.bumpSpace(), this.bumpIf("/>"))
3183
3204
  return {
3184
3205
  val: {
3185
- type: E.literal,
3206
+ type: _.literal,
3186
3207
  value: "<".concat(i, "/>"),
3187
3208
  location: g(n, this.clonePosition())
3188
3209
  },
@@ -3194,12 +3215,12 @@ var oi = (
3194
3215
  return o;
3195
3216
  var s = o.val, a = this.clonePosition();
3196
3217
  if (this.bumpIf("</")) {
3197
- if (this.isEOF() || !ze(this.char()))
3218
+ if (this.isEOF() || !Je(this.char()))
3198
3219
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3199
3220
  var h = this.clonePosition(), u = this.parseTagName();
3200
3221
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3201
3222
  val: {
3202
- type: E.tag,
3223
+ type: _.tag,
3203
3224
  value: i,
3204
3225
  children: s,
3205
3226
  location: g(n, this.clonePosition())
@@ -3212,7 +3233,7 @@ var oi = (
3212
3233
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3213
3234
  }, e.prototype.parseTagName = function() {
3214
3235
  var t = this.offset();
3215
- for (this.bump(); !this.isEOF() && ai(this.char()); )
3236
+ for (this.bump(); !this.isEOF() && li(this.char()); )
3216
3237
  this.bump();
3217
3238
  return this.message.slice(t, this.offset());
3218
3239
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3236,12 +3257,12 @@ var oi = (
3236
3257
  }
3237
3258
  var h = g(n, this.clonePosition());
3238
3259
  return {
3239
- val: { type: E.literal, value: i, location: h },
3260
+ val: { type: _.literal, value: i, location: h },
3240
3261
  err: null
3241
3262
  };
3242
3263
  }, e.prototype.tryParseLeftAngleBracket = function() {
3243
3264
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3244
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3265
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3245
3266
  }, e.prototype.tryParseQuote = function(t) {
3246
3267
  if (this.isEOF() || this.char() !== 39)
3247
3268
  return null;
@@ -3275,12 +3296,12 @@ var oi = (
3275
3296
  r.push(n);
3276
3297
  this.bump();
3277
3298
  }
3278
- return Ve.apply(void 0, r);
3299
+ return Ze.apply(void 0, r);
3279
3300
  }, e.prototype.tryParseUnquoted = function(t, r) {
3280
3301
  if (this.isEOF())
3281
3302
  return null;
3282
3303
  var n = this.char();
3283
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3304
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3284
3305
  }, e.prototype.parseArgument = function(t, r) {
3285
3306
  var n = this.clonePosition();
3286
3307
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3296,7 +3317,7 @@ var oi = (
3296
3317
  case 125:
3297
3318
  return this.bump(), {
3298
3319
  val: {
3299
- type: E.argument,
3320
+ type: _.argument,
3300
3321
  // value does not include the opening and closing braces.
3301
3322
  value: i,
3302
3323
  location: g(n, this.clonePosition())
@@ -3309,7 +3330,7 @@ var oi = (
3309
3330
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3310
3331
  }
3311
3332
  }, e.prototype.parseIdentifierIfPossible = function() {
3312
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3333
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3313
3334
  this.bumpTo(i);
3314
3335
  var o = this.clonePosition(), s = g(t, o);
3315
3336
  return { value: n, location: s };
@@ -3328,7 +3349,7 @@ var oi = (
3328
3349
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3329
3350
  if (c.err)
3330
3351
  return c;
3331
- var f = ii(c.val);
3352
+ var f = si(c.val);
3332
3353
  if (f.length === 0)
3333
3354
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3334
3355
  var p = g(l, this.clonePosition());
@@ -3338,25 +3359,25 @@ var oi = (
3338
3359
  if (m.err)
3339
3360
  return m;
3340
3361
  var d = g(i, this.clonePosition());
3341
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3342
- var _ = ni(u.style.slice(2));
3362
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3363
+ var y = oi(u.style.slice(2));
3343
3364
  if (a === "number") {
3344
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3365
+ var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
3345
3366
  return c.err ? c : {
3346
- val: { type: E.number, value: n, location: d, style: c.val },
3367
+ val: { type: _.number, value: n, location: d, style: c.val },
3347
3368
  err: null
3348
3369
  };
3349
3370
  } else {
3350
- if (_.length === 0)
3371
+ if (y.length === 0)
3351
3372
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3352
- var x = _;
3353
- this.locale && (x = Vn(_, this.locale));
3373
+ var E = y;
3374
+ this.locale && (E = zn(y, this.locale));
3354
3375
  var f = {
3355
- type: Y.dateTime,
3356
- pattern: x,
3376
+ type: J.dateTime,
3377
+ pattern: E,
3357
3378
  location: u.styleLocation,
3358
- parsedOptions: this.shouldParseSkeletons ? Fn(x) : {}
3359
- }, I = a === "date" ? E.date : E.time;
3379
+ parsedOptions: this.shouldParseSkeletons ? Un(E) : {}
3380
+ }, I = a === "date" ? _.date : _.time;
3360
3381
  return {
3361
3382
  val: { type: I, value: n, location: d, style: f },
3362
3383
  err: null
@@ -3365,7 +3386,7 @@ var oi = (
3365
3386
  }
3366
3387
  return {
3367
3388
  val: {
3368
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3389
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3369
3390
  value: n,
3370
3391
  location: d,
3371
3392
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3378,9 +3399,9 @@ var oi = (
3378
3399
  case "select": {
3379
3400
  var T = this.clonePosition();
3380
3401
  if (this.bumpSpace(), !this.bumpIf(","))
3381
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3402
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ve({}, T)));
3382
3403
  this.bumpSpace();
3383
- var H = this.parseIdentifierIfPossible(), N = 0;
3404
+ var H = this.parseIdentifierIfPossible(), L = 0;
3384
3405
  if (a !== "select" && H.value === "offset") {
3385
3406
  if (!this.bumpIf(":"))
3386
3407
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3388,7 +3409,7 @@ var oi = (
3388
3409
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3389
3410
  if (c.err)
3390
3411
  return c;
3391
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), N = c.val;
3412
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = c.val;
3392
3413
  }
3393
3414
  var v = this.tryParsePluralOrSelectOptions(t, a, r, H);
3394
3415
  if (v.err)
@@ -3399,18 +3420,18 @@ var oi = (
3399
3420
  var w = g(i, this.clonePosition());
3400
3421
  return a === "select" ? {
3401
3422
  val: {
3402
- type: E.select,
3423
+ type: _.select,
3403
3424
  value: n,
3404
- options: xt(v.val),
3425
+ options: Tt(v.val),
3405
3426
  location: w
3406
3427
  },
3407
3428
  err: null
3408
3429
  } : {
3409
3430
  val: {
3410
- type: E.plural,
3431
+ type: _.plural,
3411
3432
  value: n,
3412
- options: xt(v.val),
3413
- offset: N,
3433
+ options: Tt(v.val),
3434
+ offset: L,
3414
3435
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3415
3436
  location: w
3416
3437
  },
@@ -3460,16 +3481,16 @@ var oi = (
3460
3481
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3461
3482
  var n = [];
3462
3483
  try {
3463
- n = Un(t);
3484
+ n = Gn(t);
3464
3485
  } catch (i) {
3465
3486
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3466
3487
  }
3467
3488
  return {
3468
3489
  val: {
3469
- type: Y.number,
3490
+ type: J.number,
3470
3491
  tokens: n,
3471
3492
  location: r,
3472
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3493
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3473
3494
  },
3474
3495
  err: null
3475
3496
  };
@@ -3517,7 +3538,7 @@ var oi = (
3517
3538
  break;
3518
3539
  }
3519
3540
  var h = g(i, this.clonePosition());
3520
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3541
+ return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3521
3542
  }, e.prototype.offset = function() {
3522
3543
  return this.position.offset;
3523
3544
  }, e.prototype.isEOF = function() {
@@ -3532,7 +3553,7 @@ var oi = (
3532
3553
  var t = this.position.offset;
3533
3554
  if (t >= this.message.length)
3534
3555
  throw Error("out of bound");
3535
- var r = hr(this.message, t);
3556
+ var r = fr(this.message, t);
3536
3557
  if (r === void 0)
3537
3558
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3538
3559
  return r;
@@ -3551,7 +3572,7 @@ var oi = (
3551
3572
  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);
3552
3573
  }
3553
3574
  }, e.prototype.bumpIf = function(t) {
3554
- if (Et(this.message, t, this.offset())) {
3575
+ if (St(this.message, t, this.offset())) {
3555
3576
  for (var r = 0; r < t.length; r++)
3556
3577
  this.bump();
3557
3578
  return !0;
@@ -3573,7 +3594,7 @@ var oi = (
3573
3594
  break;
3574
3595
  }
3575
3596
  }, e.prototype.bumpSpace = function() {
3576
- for (; !this.isEOF() && cr(this.char()); )
3597
+ for (; !this.isEOF() && pr(this.char()); )
3577
3598
  this.bump();
3578
3599
  }, e.prototype.peek = function() {
3579
3600
  if (this.isEOF())
@@ -3583,47 +3604,47 @@ var oi = (
3583
3604
  }, e;
3584
3605
  }()
3585
3606
  );
3586
- function ze(e) {
3607
+ function Je(e) {
3587
3608
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3588
3609
  }
3589
- function si(e) {
3590
- return ze(e) || e === 47;
3610
+ function ui(e) {
3611
+ return Je(e) || e === 47;
3591
3612
  }
3592
- function ai(e) {
3613
+ function li(e) {
3593
3614
  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;
3594
3615
  }
3595
- function cr(e) {
3616
+ function pr(e) {
3596
3617
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3597
3618
  }
3598
- function ui(e) {
3619
+ function hi(e) {
3599
3620
  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;
3600
3621
  }
3601
- function We(e) {
3622
+ function Ye(e) {
3602
3623
  e.forEach(function(t) {
3603
- if (delete t.location, rr(t) || nr(t))
3624
+ if (delete t.location, nr(t) || ir(t))
3604
3625
  for (var r in t.options)
3605
- delete t.options[r].location, We(t.options[r].value);
3626
+ delete t.options[r].location, Ye(t.options[r].value);
3606
3627
  else
3607
- Kt(t) && or(t.style) || (er(t) || tr(t)) && je(t.style) ? delete t.style.location : ir(t) && We(t.children);
3628
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && ze(t.style) ? delete t.style.location : or(t) && Ye(t.children);
3608
3629
  });
3609
3630
  }
3610
- function li(e, t) {
3611
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3612
- var r = new oi(e, t).parse();
3631
+ function fi(e, t) {
3632
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3633
+ var r = new ai(e, t).parse();
3613
3634
  if (r.err) {
3614
3635
  var n = SyntaxError(b[r.err.kind]);
3615
3636
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3616
3637
  }
3617
- return t != null && t.captureLocation || We(r.val), r.val;
3638
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3618
3639
  }
3619
- var q;
3640
+ var Y;
3620
3641
  (function(e) {
3621
3642
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3622
- })(q || (q = {}));
3623
- var xe = (
3643
+ })(Y || (Y = {}));
3644
+ var Te = (
3624
3645
  /** @class */
3625
3646
  function(e) {
3626
- $(t, e);
3647
+ Se(t, e);
3627
3648
  function t(r, n, i) {
3628
3649
  var o = e.call(this, r) || this;
3629
3650
  return o.code = n, o.originalMessage = i, o;
@@ -3632,48 +3653,48 @@ var xe = (
3632
3653
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3633
3654
  }, t;
3634
3655
  }(Error)
3635
- ), Tt = (
3656
+ ), Ht = (
3636
3657
  /** @class */
3637
3658
  function(e) {
3638
- $(t, e);
3659
+ Se(t, e);
3639
3660
  function t(r, n, i, o) {
3640
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3661
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3641
3662
  }
3642
3663
  return t;
3643
- }(xe)
3644
- ), hi = (
3664
+ }(Te)
3665
+ ), ci = (
3645
3666
  /** @class */
3646
3667
  function(e) {
3647
- $(t, e);
3668
+ Se(t, e);
3648
3669
  function t(r, n, i) {
3649
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3670
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3650
3671
  }
3651
3672
  return t;
3652
- }(xe)
3653
- ), fi = (
3673
+ }(Te)
3674
+ ), pi = (
3654
3675
  /** @class */
3655
3676
  function(e) {
3656
- $(t, e);
3677
+ Se(t, e);
3657
3678
  function t(r, n) {
3658
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3679
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3659
3680
  }
3660
3681
  return t;
3661
- }(xe)
3682
+ }(Te)
3662
3683
  ), A;
3663
3684
  (function(e) {
3664
3685
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3665
3686
  })(A || (A = {}));
3666
- function ci(e) {
3687
+ function mi(e) {
3667
3688
  return e.length < 2 ? e : e.reduce(function(t, r) {
3668
3689
  var n = t[t.length - 1];
3669
3690
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3670
3691
  }, []);
3671
3692
  }
3672
- function pi(e) {
3693
+ function di(e) {
3673
3694
  return typeof e == "function";
3674
3695
  }
3675
3696
  function be(e, t, r, n, i, o, s) {
3676
- if (e.length === 1 && gt(e[0]))
3697
+ if (e.length === 1 && yt(e[0]))
3677
3698
  return [
3678
3699
  {
3679
3700
  type: A.literal,
@@ -3682,14 +3703,14 @@ function be(e, t, r, n, i, o, s) {
3682
3703
  ];
3683
3704
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3684
3705
  var l = u[h];
3685
- if (gt(l)) {
3706
+ if (yt(l)) {
3686
3707
  a.push({
3687
3708
  type: A.literal,
3688
3709
  value: l.value
3689
3710
  });
3690
3711
  continue;
3691
3712
  }
3692
- if (Ln(l)) {
3713
+ if ($n(l)) {
3693
3714
  typeof o == "number" && a.push({
3694
3715
  type: A.literal,
3695
3716
  value: r.getNumberFormat(t).format(o)
@@ -3698,89 +3719,89 @@ function be(e, t, r, n, i, o, s) {
3698
3719
  }
3699
3720
  var c = l.value;
3700
3721
  if (!(i && c in i))
3701
- throw new fi(c, s);
3722
+ throw new pi(c, s);
3702
3723
  var f = i[c];
3703
- if (Nn(l)) {
3724
+ if (Rn(l)) {
3704
3725
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3705
3726
  type: typeof f == "string" ? A.literal : A.object,
3706
3727
  value: f
3707
3728
  });
3708
3729
  continue;
3709
3730
  }
3710
- if (er(l)) {
3711
- var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3731
+ if (tr(l)) {
3732
+ var p = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3712
3733
  a.push({
3713
3734
  type: A.literal,
3714
3735
  value: r.getDateTimeFormat(t, p).format(f)
3715
3736
  });
3716
3737
  continue;
3717
3738
  }
3718
- if (tr(l)) {
3719
- var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3739
+ if (rr(l)) {
3740
+ var p = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3720
3741
  a.push({
3721
3742
  type: A.literal,
3722
3743
  value: r.getDateTimeFormat(t, p).format(f)
3723
3744
  });
3724
3745
  continue;
3725
3746
  }
3726
- if (Kt(l)) {
3727
- var p = typeof l.style == "string" ? n.number[l.style] : or(l.style) ? l.style.parsedOptions : void 0;
3747
+ if (er(l)) {
3748
+ var p = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3728
3749
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3729
3750
  type: A.literal,
3730
3751
  value: r.getNumberFormat(t, p).format(f)
3731
3752
  });
3732
3753
  continue;
3733
3754
  }
3734
- if (ir(l)) {
3735
- var m = l.children, d = l.value, _ = i[d];
3736
- if (!pi(_))
3737
- throw new hi(d, "function", s);
3738
- var x = be(m, t, r, n, i, o), I = _(x.map(function(N) {
3739
- return N.value;
3755
+ if (or(l)) {
3756
+ var m = l.children, d = l.value, y = i[d];
3757
+ if (!di(y))
3758
+ throw new ci(d, "function", s);
3759
+ var E = be(m, t, r, n, i, o), I = y(E.map(function(L) {
3760
+ return L.value;
3740
3761
  }));
3741
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
3762
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(L) {
3742
3763
  return {
3743
- type: typeof N == "string" ? A.literal : A.object,
3744
- value: N
3764
+ type: typeof L == "string" ? A.literal : A.object,
3765
+ value: L
3745
3766
  };
3746
3767
  }));
3747
3768
  }
3748
- if (rr(l)) {
3769
+ if (nr(l)) {
3749
3770
  var T = l.options[f] || l.options.other;
3750
3771
  if (!T)
3751
- throw new Tt(l.value, f, Object.keys(l.options), s);
3772
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3752
3773
  a.push.apply(a, be(T.value, t, r, n, i));
3753
3774
  continue;
3754
3775
  }
3755
- if (nr(l)) {
3776
+ if (ir(l)) {
3756
3777
  var T = l.options["=".concat(f)];
3757
3778
  if (!T) {
3758
3779
  if (!Intl.PluralRules)
3759
- throw new xe(`Intl.PluralRules is not available in this environment.
3780
+ throw new Te(`Intl.PluralRules is not available in this environment.
3760
3781
  Try polyfilling it using "@formatjs/intl-pluralrules"
3761
- `, q.MISSING_INTL_API, s);
3782
+ `, Y.MISSING_INTL_API, s);
3762
3783
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3763
3784
  T = l.options[H] || l.options.other;
3764
3785
  }
3765
3786
  if (!T)
3766
- throw new Tt(l.value, f, Object.keys(l.options), s);
3787
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3767
3788
  a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3768
3789
  continue;
3769
3790
  }
3770
3791
  }
3771
- return ci(a);
3792
+ return mi(a);
3772
3793
  }
3773
- function mi(e, t) {
3774
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3775
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3794
+ function bi(e, t) {
3795
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3796
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
3776
3797
  }, {})) : e;
3777
3798
  }
3778
- function di(e, t) {
3799
+ function gi(e, t) {
3779
3800
  return t ? Object.keys(e).reduce(function(r, n) {
3780
- return r[n] = mi(e[n], t[n]), r;
3781
- }, y({}, e)) : e;
3801
+ return r[n] = bi(e[n], t[n]), r;
3802
+ }, N({}, e)) : e;
3782
3803
  }
3783
- function Ie(e) {
3804
+ function Me(e) {
3784
3805
  return {
3785
3806
  create: function() {
3786
3807
  return {
@@ -3794,39 +3815,39 @@ function Ie(e) {
3794
3815
  }
3795
3816
  };
3796
3817
  }
3797
- function bi(e) {
3818
+ function vi(e) {
3798
3819
  return e === void 0 && (e = {
3799
3820
  number: {},
3800
3821
  dateTime: {},
3801
3822
  pluralRules: {}
3802
3823
  }), {
3803
- getNumberFormat: Pe(function() {
3824
+ getNumberFormat: Ce(function() {
3804
3825
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3826
  r[n] = arguments[n];
3806
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3827
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3807
3828
  }, {
3808
- cache: Ie(e.number),
3809
- strategy: Oe.variadic
3829
+ cache: Me(e.number),
3830
+ strategy: Ie.variadic
3810
3831
  }),
3811
- getDateTimeFormat: Pe(function() {
3832
+ getDateTimeFormat: Ce(function() {
3812
3833
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3834
  r[n] = arguments[n];
3814
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3835
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3815
3836
  }, {
3816
- cache: Ie(e.dateTime),
3817
- strategy: Oe.variadic
3837
+ cache: Me(e.dateTime),
3838
+ strategy: Ie.variadic
3818
3839
  }),
3819
- getPluralRules: Pe(function() {
3840
+ getPluralRules: Ce(function() {
3820
3841
  for (var t, r = [], n = 0; n < arguments.length; n++)
3821
3842
  r[n] = arguments[n];
3822
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3843
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3823
3844
  }, {
3824
- cache: Ie(e.pluralRules),
3825
- strategy: Oe.variadic
3845
+ cache: Me(e.pluralRules),
3846
+ strategy: Ie.variadic
3826
3847
  })
3827
3848
  };
3828
3849
  }
3829
- var gi = (
3850
+ var yi = (
3830
3851
  /** @class */
3831
3852
  function() {
3832
3853
  function e(t, r, n, i) {
@@ -3858,13 +3879,13 @@ var gi = (
3858
3879
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3859
3880
  var s = i || {};
3860
3881
  s.formatters;
3861
- var a = Qr(s, ["formatters"]);
3862
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3882
+ var a = Bn(s, ["formatters"]);
3883
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3863
3884
  } else
3864
3885
  this.ast = t;
3865
3886
  if (!Array.isArray(this.ast))
3866
3887
  throw new TypeError("A message must be provided as a String or AST.");
3867
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3888
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3868
3889
  }
3869
3890
  return Object.defineProperty(e, "defaultLocale", {
3870
3891
  get: function() {
@@ -3877,7 +3898,7 @@ var gi = (
3877
3898
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3878
3899
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3879
3900
  }
3880
- }, e.__parse = li, e.formats = {
3901
+ }, e.__parse = fi, e.formats = {
3881
3902
  number: {
3882
3903
  integer: {
3883
3904
  maximumFractionDigits: 0
@@ -3938,7 +3959,7 @@ var gi = (
3938
3959
  }, e;
3939
3960
  }()
3940
3961
  );
3941
- function vi(e, t) {
3962
+ function _i(e, t) {
3942
3963
  if (t == null)
3943
3964
  return;
3944
3965
  if (t in e)
@@ -3959,92 +3980,92 @@ function vi(e, t) {
3959
3980
  n = void 0;
3960
3981
  return n;
3961
3982
  }
3962
- const G = {}, yi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), pr = (e, t) => {
3983
+ const G = {}, Ei = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), mr = (e, t) => {
3963
3984
  if (t == null)
3964
3985
  return;
3965
3986
  if (t in G && e in G[t])
3966
3987
  return G[t][e];
3967
- const r = Se(t);
3988
+ const r = we(t);
3968
3989
  for (let n = 0; n < r.length; n++) {
3969
- const i = r[n], o = Ei(i, e);
3990
+ const i = r[n], o = Si(i, e);
3970
3991
  if (o)
3971
- return yi(e, t, o);
3992
+ return Ei(e, t, o);
3972
3993
  }
3973
3994
  };
3974
- let Ke;
3975
- const le = Ee({});
3976
- function _i(e) {
3977
- return Ke[e] || null;
3995
+ let tt;
3996
+ const le = xe({});
3997
+ function xi(e) {
3998
+ return tt[e] || null;
3978
3999
  }
3979
- function mr(e) {
3980
- return e in Ke;
4000
+ function dr(e) {
4001
+ return e in tt;
3981
4002
  }
3982
- function Ei(e, t) {
3983
- if (!mr(e))
4003
+ function Si(e, t) {
4004
+ if (!dr(e))
3984
4005
  return null;
3985
- const r = _i(e);
3986
- return vi(r, t);
4006
+ const r = xi(e);
4007
+ return _i(r, t);
3987
4008
  }
3988
- function xi(e) {
4009
+ function Ti(e) {
3989
4010
  if (e == null)
3990
4011
  return;
3991
- const t = Se(e);
4012
+ const t = we(e);
3992
4013
  for (let r = 0; r < t.length; r++) {
3993
4014
  const n = t[r];
3994
- if (mr(n))
4015
+ if (dr(n))
3995
4016
  return n;
3996
4017
  }
3997
4018
  }
3998
- function dr(e, ...t) {
4019
+ function br(e, ...t) {
3999
4020
  delete G[e], le.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4000
4021
  }
4001
- ee(
4022
+ K(
4002
4023
  [le],
4003
4024
  ([e]) => Object.keys(e)
4004
4025
  );
4005
- le.subscribe((e) => Ke = e);
4026
+ le.subscribe((e) => tt = e);
4006
4027
  const ge = {};
4007
- function Si(e, t) {
4028
+ function wi(e, t) {
4008
4029
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4009
4030
  }
4010
- function br(e) {
4031
+ function gr(e) {
4011
4032
  return ge[e];
4012
4033
  }
4013
- function Ti(e) {
4014
- return Se(e).map((t) => {
4015
- const r = br(t);
4034
+ function Hi(e) {
4035
+ return we(e).map((t) => {
4036
+ const r = gr(t);
4016
4037
  return [t, r ? [...r] : []];
4017
4038
  }).filter(([, t]) => t.length > 0);
4018
4039
  }
4019
- function Ze(e) {
4020
- return e == null ? !1 : Se(e).some(
4040
+ function qe(e) {
4041
+ return e == null ? !1 : we(e).some(
4021
4042
  (t) => {
4022
4043
  var r;
4023
- return (r = br(t)) == null ? void 0 : r.size;
4044
+ return (r = gr(t)) == null ? void 0 : r.size;
4024
4045
  }
4025
4046
  );
4026
4047
  }
4027
- function wi(e, t) {
4048
+ function Ai(e, t) {
4028
4049
  return Promise.all(
4029
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4030
- ).then((n) => dr(e, ...n));
4031
- }
4032
- const re = {};
4033
- function gr(e) {
4034
- if (!Ze(e))
4035
- return e in re ? re[e] : Promise.resolve();
4036
- const t = Ti(e);
4037
- return re[e] = Promise.all(
4050
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4051
+ ).then((n) => br(e, ...n));
4052
+ }
4053
+ const te = {};
4054
+ function vr(e) {
4055
+ if (!qe(e))
4056
+ return e in te ? te[e] : Promise.resolve();
4057
+ const t = Hi(e);
4058
+ return te[e] = Promise.all(
4038
4059
  t.map(
4039
- ([r, n]) => wi(r, n)
4060
+ ([r, n]) => Ai(r, n)
4040
4061
  )
4041
4062
  ).then(() => {
4042
- if (Ze(e))
4043
- return gr(e);
4044
- delete re[e];
4045
- }), re[e];
4063
+ if (qe(e))
4064
+ return vr(e);
4065
+ delete te[e];
4066
+ }), te[e];
4046
4067
  }
4047
- const Hi = {
4068
+ const Bi = {
4048
4069
  number: {
4049
4070
  scientific: { notation: "scientific" },
4050
4071
  engineering: { notation: "engineering" },
@@ -4073,135 +4094,135 @@ const Hi = {
4073
4094
  timeZoneName: "short"
4074
4095
  }
4075
4096
  }
4076
- }, Ai = {
4097
+ }, Oi = {
4077
4098
  fallbackLocale: null,
4078
4099
  loadingDelay: 200,
4079
- formats: Hi,
4100
+ formats: Bi,
4080
4101
  warnOnMissingMessages: !0,
4081
4102
  handleMissingMessage: void 0,
4082
4103
  ignoreTag: !0
4083
- }, Bi = Ai;
4084
- function K() {
4085
- return Bi;
4104
+ }, Pi = Oi;
4105
+ function q() {
4106
+ return Pi;
4086
4107
  }
4087
- const Me = Ee(!1);
4088
- var Pi = Object.defineProperty, Oi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4108
+ const Le = xe(!1);
4109
+ var Ci = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4089
4110
  for (var r in t || (t = {}))
4090
- Ii.call(t, r) && Ht(e, r, t[r]);
4091
- if (wt)
4092
- for (var r of wt(t))
4093
- Mi.call(t, r) && Ht(e, r, t[r]);
4111
+ Mi.call(t, r) && Bt(e, r, t[r]);
4112
+ if (At)
4113
+ for (var r of At(t))
4114
+ Li.call(t, r) && Bt(e, r, t[r]);
4094
4115
  return e;
4095
- }, Li = (e, t) => Oi(e, Ci(t));
4096
- let Qe;
4097
- const ve = Ee(null);
4098
- function At(e) {
4116
+ }, $i = (e, t) => Ii(e, Ni(t));
4117
+ let Ke;
4118
+ const ye = xe(null);
4119
+ function Ot(e) {
4099
4120
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4100
4121
  }
4101
- function Se(e, t = K().fallbackLocale) {
4102
- const r = At(e);
4103
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4122
+ function we(e, t = q().fallbackLocale) {
4123
+ const r = Ot(e);
4124
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4104
4125
  }
4105
4126
  function k() {
4106
- return Qe != null ? Qe : void 0;
4127
+ return Ke != null ? Ke : void 0;
4107
4128
  }
4108
- ve.subscribe((e) => {
4109
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4129
+ ye.subscribe((e) => {
4130
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4110
4131
  });
4111
- const Ri = (e) => {
4112
- if (e && xi(e) && Ze(e)) {
4113
- const { loadingDelay: t } = K();
4132
+ const Fi = (e) => {
4133
+ if (e && Ti(e) && qe(e)) {
4134
+ const { loadingDelay: t } = q();
4114
4135
  let r;
4115
4136
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4116
- () => Me.set(!0),
4137
+ () => Le.set(!0),
4117
4138
  t
4118
- ) : Me.set(!0), gr(e).then(() => {
4119
- ve.set(e);
4139
+ ) : Le.set(!0), vr(e).then(() => {
4140
+ ye.set(e);
4120
4141
  }).finally(() => {
4121
- clearTimeout(r), Me.set(!1);
4142
+ clearTimeout(r), Le.set(!1);
4122
4143
  });
4123
4144
  }
4124
- return ve.set(e);
4125
- }, he = Li(Ni({}, ve), {
4126
- set: Ri
4127
- }), Te = (e) => {
4145
+ return ye.set(e);
4146
+ }, he = $i(Ri({}, ye), {
4147
+ set: Fi
4148
+ }), He = (e) => {
4128
4149
  const t = /* @__PURE__ */ Object.create(null);
4129
4150
  return (n) => {
4130
4151
  const i = JSON.stringify(n);
4131
4152
  return i in t ? t[i] : t[i] = e(n);
4132
4153
  };
4133
4154
  };
4134
- var Fi = Object.defineProperty, ye = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4155
+ var Ui = Object.defineProperty, _e = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4135
4156
  for (var r in t || (t = {}))
4136
- vr.call(t, r) && Bt(e, r, t[r]);
4137
- if (ye)
4138
- for (var r of ye(t))
4139
- yr.call(t, r) && Bt(e, r, t[r]);
4157
+ yr.call(t, r) && Pt(e, r, t[r]);
4158
+ if (_e)
4159
+ for (var r of _e(t))
4160
+ _r.call(t, r) && Pt(e, r, t[r]);
4140
4161
  return e;
4141
- }, te = (e, t) => {
4162
+ }, ee = (e, t) => {
4142
4163
  var r = {};
4143
4164
  for (var n in e)
4144
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4145
- if (e != null && ye)
4146
- for (var n of ye(e))
4147
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4165
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4166
+ if (e != null && _e)
4167
+ for (var n of _e(e))
4168
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4148
4169
  return r;
4149
4170
  };
4150
- const se = (e, t) => {
4151
- const { formats: r } = K();
4171
+ const oe = (e, t) => {
4172
+ const { formats: r } = q();
4152
4173
  if (e in r && t in r[e])
4153
4174
  return r[e][t];
4154
4175
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4155
- }, $i = Te(
4176
+ }, Di = He(
4156
4177
  (e) => {
4157
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4178
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4158
4179
  if (r == null)
4159
4180
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4160
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4181
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4161
4182
  }
4162
- ), Ui = Te(
4183
+ ), Gi = He(
4163
4184
  (e) => {
4164
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4165
4186
  if (r == null)
4166
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4167
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4188
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4168
4189
  }
4169
- ), Di = Te(
4190
+ ), ji = He(
4170
4191
  (e) => {
4171
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4172
4193
  if (r == null)
4173
4194
  throw new Error(
4174
4195
  '[svelte-i18n] A "locale" must be set to format time values'
4175
4196
  );
4176
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4197
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4177
4198
  }
4178
- ), Gi = (e = {}) => {
4199
+ ), ki = (e = {}) => {
4179
4200
  var t = e, {
4180
4201
  locale: r = k()
4181
- } = t, n = te(t, [
4202
+ } = t, n = ee(t, [
4182
4203
  "locale"
4183
4204
  ]);
4184
- return $i(et({ locale: r }, n));
4185
- }, ji = (e = {}) => {
4205
+ return Di(rt({ locale: r }, n));
4206
+ }, Vi = (e = {}) => {
4186
4207
  var t = e, {
4187
4208
  locale: r = k()
4188
- } = t, n = te(t, [
4209
+ } = t, n = ee(t, [
4189
4210
  "locale"
4190
4211
  ]);
4191
- return Ui(et({ locale: r }, n));
4192
- }, ki = (e = {}) => {
4212
+ return Gi(rt({ locale: r }, n));
4213
+ }, Xi = (e = {}) => {
4193
4214
  var t = e, {
4194
4215
  locale: r = k()
4195
- } = t, n = te(t, [
4216
+ } = t, n = ee(t, [
4196
4217
  "locale"
4197
4218
  ]);
4198
- return Di(et({ locale: r }, n));
4199
- }, Vi = Te(
4219
+ return ji(rt({ locale: r }, n));
4220
+ }, zi = He(
4200
4221
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4201
- (e, t = k()) => new gi(e, t, K().formats, {
4202
- ignoreTag: K().ignoreTag
4222
+ (e, t = k()) => new yi(e, t, q().formats, {
4223
+ ignoreTag: q().ignoreTag
4203
4224
  })
4204
- ), Xi = (e, t = {}) => {
4225
+ ), Wi = (e, t = {}) => {
4205
4226
  var r, n, i, o;
4206
4227
  let s = t;
4207
4228
  typeof e == "object" && (s = e, e = s.id);
@@ -4214,9 +4235,9 @@ const se = (e, t) => {
4214
4235
  throw new Error(
4215
4236
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4216
4237
  );
4217
- let l = pr(e, h);
4238
+ let l = mr(e, h);
4218
4239
  if (!l)
4219
- l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4240
+ 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;
4220
4241
  else if (typeof l != "string")
4221
4242
  return console.warn(
4222
4243
  `[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.`
@@ -4225,7 +4246,7 @@ const se = (e, t) => {
4225
4246
  return l;
4226
4247
  let c = l;
4227
4248
  try {
4228
- c = Vi(l, h).format(a);
4249
+ c = zi(l, h).format(a);
4229
4250
  } catch (f) {
4230
4251
  f instanceof Error && console.warn(
4231
4252
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4233,18 +4254,18 @@ const se = (e, t) => {
4233
4254
  );
4234
4255
  }
4235
4256
  return c;
4236
- }, zi = (e, t) => ki(t).format(e), Wi = (e, t) => ji(t).format(e), Zi = (e, t) => Gi(t).format(e), Qi = (e, t = k()) => pr(e, t), Ji = ee([he, le], () => Xi);
4237
- ee([he], () => zi);
4238
- ee([he], () => Wi);
4239
- ee([he], () => Zi);
4240
- ee([he, le], () => Qi);
4257
+ }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), Yi = (e, t = k()) => mr(e, t), qi = K([he, le], () => Wi);
4258
+ K([he], () => Zi);
4259
+ K([he], () => Qi);
4260
+ K([he], () => Ji);
4261
+ K([he, le], () => Yi);
4241
4262
  window.emWidgets = { topic: hn };
4242
- 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));
4263
+ 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));
4243
4264
  String(Number.MAX_SAFE_INTEGER).length;
4244
- function Pt(e, t) {
4245
- dr(e, t);
4265
+ function Ct(e, t) {
4266
+ br(e, t);
4246
4267
  }
4247
- const Ot = {
4268
+ const It = {
4248
4269
  en: {
4249
4270
  tournaments: "Tournaments",
4250
4271
  all: "All",
@@ -4323,13 +4344,13 @@ const Ot = {
4323
4344
  finished: "Finished"
4324
4345
  }
4325
4346
  };
4326
- function Yi(e, t) {
4347
+ function Ki(e, t) {
4327
4348
  if (e) {
4328
4349
  const r = document.createElement("style");
4329
4350
  r.innerHTML = t, e.appendChild(r);
4330
4351
  }
4331
4352
  }
4332
- function qi(e, t) {
4353
+ function eo(e, t) {
4333
4354
  if (!e || !t)
4334
4355
  return;
4335
4356
  const r = new URL(t);
@@ -4340,7 +4361,7 @@ function qi(e, t) {
4340
4361
  console.error("There was an error while trying to load client styling from URL", n);
4341
4362
  });
4342
4363
  }
4343
- function Ki(e, t, r) {
4364
+ function to(e, t, r) {
4344
4365
  if (window.emMessageBus) {
4345
4366
  const n = document.createElement("style");
4346
4367
  window.emMessageBus.subscribe(t, (i) => {
@@ -4348,38 +4369,38 @@ function Ki(e, t, r) {
4348
4369
  });
4349
4370
  }
4350
4371
  }
4351
- function eo(e) {
4352
- Ar(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)}");
4372
+ function ro(e) {
4373
+ 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)}");
4353
4374
  }
4354
- function Ct(e, t, r) {
4375
+ function Nt(e, t, r) {
4355
4376
  const n = e.slice();
4356
4377
  return n[21] = t[r], n[23] = r, n;
4357
4378
  }
4358
- function It(e) {
4379
+ function Mt(e) {
4359
4380
  let t, r, n = (
4360
4381
  /*$_*/
4361
4382
  e[4]("tournaments") + ""
4362
- ), i, o, s, a, h = ut(
4383
+ ), i, o, s, a, h = ht(
4363
4384
  /*filterItems*/
4364
4385
  e[1]
4365
4386
  ), u = [];
4366
4387
  for (let l = 0; l < h.length; l += 1)
4367
- u[l] = $t(Ct(e, h, l));
4388
+ u[l] = Dt(Nt(e, h, l));
4368
4389
  return {
4369
4390
  c() {
4370
- t = L("ul"), r = L("li"), i = j(n), o = j(":"), s = z(), a = L("ul");
4391
+ t = R("ul"), r = R("li"), i = j(n), o = j(":"), s = z(), a = R("ul");
4371
4392
  for (let l = 0; l < u.length; l += 1)
4372
4393
  u[l].c();
4373
- S(r, "class", "FiltersTitle " + (O(
4394
+ x(r, "class", "FiltersTitle " + (P(
4374
4395
  /*userAgent*/
4375
4396
  e[5]
4376
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", "FiltersTitle " + (O(
4397
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (P(
4377
4398
  /*userAgent*/
4378
4399
  e[5]
4379
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersList " + (O(
4400
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (P(
4380
4401
  /*userAgent*/
4381
4402
  e[5]
4382
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersList " + (O(
4403
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (P(
4383
4404
  /*userAgent*/
4384
4405
  e[5]
4385
4406
  ) ? "MobileClass" : "Non-MobileClass/empty"));
@@ -4392,16 +4413,16 @@ function It(e) {
4392
4413
  p(l, c) {
4393
4414
  if (c & /*$_*/
4394
4415
  16 && n !== (n = /*$_*/
4395
- l[4]("tournaments") + "") && ue(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4416
+ l[4]("tournaments") + "") && ae(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4396
4417
  126) {
4397
- h = ut(
4418
+ h = ht(
4398
4419
  /*filterItems*/
4399
4420
  l[1]
4400
4421
  );
4401
4422
  let f;
4402
4423
  for (f = 0; f < h.length; f += 1) {
4403
- const p = Ct(l, h, f);
4404
- u[f] ? u[f].p(p, c) : (u[f] = $t(p), u[f].c(), u[f].m(a, null));
4424
+ const p = Nt(l, h, f);
4425
+ u[f] ? u[f].p(p, c) : (u[f] = Dt(p), u[f].c(), u[f].m(a, null));
4405
4426
  }
4406
4427
  for (; f < u.length; f += 1)
4407
4428
  u[f].d(1);
@@ -4409,15 +4430,15 @@ function It(e) {
4409
4430
  }
4410
4431
  },
4411
4432
  d(l) {
4412
- l && M(t), Or(u, l);
4433
+ l && M(t), Cr(u, l);
4413
4434
  }
4414
4435
  };
4415
4436
  }
4416
- function Mt(e) {
4437
+ function Lt(e) {
4417
4438
  let t, r;
4418
4439
  return {
4419
4440
  c() {
4420
- t = st("svg"), r = st("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");
4441
+ t = ut("svg"), r = ut("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");
4421
4442
  },
4422
4443
  m(n, i) {
4423
4444
  F(n, t, i), B(t, r);
@@ -4427,7 +4448,7 @@ function Mt(e) {
4427
4448
  }
4428
4449
  };
4429
4450
  }
4430
- function Nt(e) {
4451
+ function Rt(e) {
4431
4452
  let t = (
4432
4453
  /*$_*/
4433
4454
  e[4]("scheduled") + ""
@@ -4442,14 +4463,14 @@ function Nt(e) {
4442
4463
  p(n, i) {
4443
4464
  i & /*$_*/
4444
4465
  16 && t !== (t = /*$_*/
4445
- n[4]("scheduled") + "") && ue(r, t);
4466
+ n[4]("scheduled") + "") && ae(r, t);
4446
4467
  },
4447
4468
  d(n) {
4448
4469
  n && M(r);
4449
4470
  }
4450
4471
  };
4451
4472
  }
4452
- function Lt(e) {
4473
+ function $t(e) {
4453
4474
  let t = (
4454
4475
  /*$_*/
4455
4476
  e[4]("ongoing") + ""
@@ -4464,14 +4485,14 @@ function Lt(e) {
4464
4485
  p(n, i) {
4465
4486
  i & /*$_*/
4466
4487
  16 && t !== (t = /*$_*/
4467
- n[4]("ongoing") + "") && ue(r, t);
4488
+ n[4]("ongoing") + "") && ae(r, t);
4468
4489
  },
4469
4490
  d(n) {
4470
4491
  n && M(r);
4471
4492
  }
4472
4493
  };
4473
4494
  }
4474
- function Rt(e) {
4495
+ function Ft(e) {
4475
4496
  let t = (
4476
4497
  /*$_*/
4477
4498
  e[4]("finished") + ""
@@ -4486,14 +4507,14 @@ function Rt(e) {
4486
4507
  p(n, i) {
4487
4508
  i & /*$_*/
4488
4509
  16 && t !== (t = /*$_*/
4489
- n[4]("finished") + "") && ue(r, t);
4510
+ n[4]("finished") + "") && ae(r, t);
4490
4511
  },
4491
4512
  d(n) {
4492
4513
  n && M(r);
4493
4514
  }
4494
4515
  };
4495
4516
  }
4496
- function Ft(e) {
4517
+ function Ut(e) {
4497
4518
  let t = (
4498
4519
  /*$_*/
4499
4520
  e[4]("all") + ""
@@ -4508,14 +4529,14 @@ function Ft(e) {
4508
4529
  p(n, i) {
4509
4530
  i & /*$_*/
4510
4531
  16 && t !== (t = /*$_*/
4511
- n[4]("all") + "") && ue(r, t);
4532
+ n[4]("all") + "") && ae(r, t);
4512
4533
  },
4513
4534
  d(n) {
4514
4535
  n && M(r);
4515
4536
  }
4516
4537
  };
4517
4538
  }
4518
- function $t(e) {
4539
+ function Dt(e) {
4519
4540
  let t, r, n, i, o, s, a, h, u, l, c, f, p = (
4520
4541
  /*activeIndexes*/
4521
4542
  (e[2][
@@ -4523,19 +4544,19 @@ function $t(e) {
4523
4544
  e[23]
4524
4545
  ] == 1 || /*allActive*/
4525
4546
  e[3] && /*index*/
4526
- e[23] == 0) && Mt()
4547
+ e[23] == 0) && Lt()
4527
4548
  ), m = (
4528
4549
  /*filter*/
4529
- e[21] == "Scheduled" && Nt(e)
4550
+ e[21] == "Scheduled" && Rt(e)
4530
4551
  ), d = (
4531
4552
  /*filter*/
4532
- e[21] == "Ongoing" && Lt(e)
4533
- ), _ = (
4553
+ e[21] == "Ongoing" && $t(e)
4554
+ ), y = (
4534
4555
  /*filter*/
4535
- e[21] == "Finished" && Rt(e)
4536
- ), x = (
4556
+ e[21] == "Finished" && Ft(e)
4557
+ ), E = (
4537
4558
  /*filter*/
4538
- e[21] == "All" && Ft(e)
4559
+ e[21] == "All" && Ut(e)
4539
4560
  );
4540
4561
  function I() {
4541
4562
  return (
@@ -4550,34 +4571,34 @@ function $t(e) {
4550
4571
  }
4551
4572
  return {
4552
4573
  c() {
4553
- t = L("li"), r = L("button"), p && p.c(), n = z(), i = L("div"), m && m.c(), o = z(), d && d.c(), s = z(), _ && _.c(), a = z(), x && x.c(), l = z(), S(i, "class", "FilterButton " + (O(
4574
+ t = R("li"), r = R("button"), p && p.c(), n = z(), i = R("div"), m && m.c(), o = z(), d && d.c(), s = z(), y && y.c(), a = z(), E && E.c(), l = z(), x(i, "class", "FilterButton " + (P(
4554
4575
  /*userAgent*/
4555
4576
  e[5]
4556
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(i, "part", "FilterButton " + (O(
4577
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (P(
4557
4578
  /*userAgent*/
4558
4579
  e[5]
4559
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "class", h = /*activeIndexes*/
4580
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", h = /*activeIndexes*/
4560
4581
  (e[2][
4561
4582
  /*index*/
4562
4583
  e[23]
4563
4584
  ] == 1 || /*allActive*/
4564
4585
  e[3] && /*index*/
4565
- e[23] == 0 ? "Active" : "") + " " + (O(
4586
+ e[23] == 0 ? "Active" : "") + " " + (P(
4566
4587
  /*userAgent*/
4567
4588
  e[5]
4568
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", u = /*activeIndexes*/
4589
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4569
4590
  (e[2][
4570
4591
  /*index*/
4571
4592
  e[23]
4572
4593
  ] == 1 || /*allActive*/
4573
4594
  e[3] && /*index*/
4574
- e[23] == 0 ? "Active" : "") + " " + (O(
4595
+ e[23] == 0 ? "Active" : "") + " " + (P(
4575
4596
  /*userAgent*/
4576
4597
  e[5]
4577
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersItem"), S(t, "part", "FiltersItem");
4598
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4578
4599
  },
4579
4600
  m(T, H) {
4580
- F(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), _ && _.m(i, null), B(i, a), x && x.m(i, null), B(t, l), c || (f = Cr(t, "click", I), c = !0);
4601
+ F(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), y && y.m(i, null), B(i, a), E && E.m(i, null), B(t, l), c || (f = Ir(t, "click", I), c = !0);
4581
4602
  },
4582
4603
  p(T, H) {
4583
4604
  e = T, /*activeIndexes*/
@@ -4586,48 +4607,48 @@ function $t(e) {
4586
4607
  e[23]
4587
4608
  ] == 1 || /*allActive*/
4588
4609
  e[3] && /*index*/
4589
- e[23] == 0 ? p || (p = Mt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4590
- e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Nt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4591
- e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Lt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4592
- e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Rt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4593
- e[21] == "All" ? x ? x.p(e, H) : (x = Ft(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4610
+ e[23] == 0 ? p || (p = Lt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4611
+ e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Rt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4612
+ e[21] == "Ongoing" ? d ? d.p(e, H) : (d = $t(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4613
+ e[21] == "Finished" ? y ? y.p(e, H) : (y = Ft(e), y.c(), y.m(i, a)) : y && (y.d(1), y = null), /*filter*/
4614
+ e[21] == "All" ? E ? E.p(e, H) : (E = Ut(e), E.c(), E.m(i, null)) : E && (E.d(1), E = null), H & /*activeIndexes, allActive*/
4594
4615
  12 && h !== (h = /*activeIndexes*/
4595
4616
  (e[2][
4596
4617
  /*index*/
4597
4618
  e[23]
4598
4619
  ] == 1 || /*allActive*/
4599
4620
  e[3] && /*index*/
4600
- e[23] == 0 ? "Active" : "") + " " + (O(
4621
+ e[23] == 0 ? "Active" : "") + " " + (P(
4601
4622
  /*userAgent*/
4602
4623
  e[5]
4603
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "class", h), H & /*activeIndexes, allActive*/
4624
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", h), H & /*activeIndexes, allActive*/
4604
4625
  12 && u !== (u = /*activeIndexes*/
4605
4626
  (e[2][
4606
4627
  /*index*/
4607
4628
  e[23]
4608
4629
  ] == 1 || /*allActive*/
4609
4630
  e[3] && /*index*/
4610
- e[23] == 0 ? "Active" : "") + " " + (O(
4631
+ e[23] == 0 ? "Active" : "") + " " + (P(
4611
4632
  /*userAgent*/
4612
4633
  e[5]
4613
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "part", u);
4634
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4614
4635
  },
4615
4636
  d(T) {
4616
- T && M(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), x && x.d(), c = !1, f();
4637
+ T && M(t), p && p.d(), m && m.d(), d && d.d(), y && y.d(), E && E.d(), c = !1, f();
4617
4638
  }
4618
4639
  };
4619
4640
  }
4620
- function to(e) {
4641
+ function no(e) {
4621
4642
  let t, r = (
4622
4643
  /*filterItems*/
4623
- e[1].length > 0 && It(e)
4644
+ e[1].length > 0 && Mt(e)
4624
4645
  );
4625
4646
  return {
4626
4647
  c() {
4627
- t = L("div"), r && r.c(), S(t, "class", "FiltersController " + (O(
4648
+ t = R("div"), r && r.c(), x(t, "class", "FiltersController " + (P(
4628
4649
  /*userAgent*/
4629
4650
  e[5]
4630
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersController " + (O(
4651
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (P(
4631
4652
  /*userAgent*/
4632
4653
  e[5]
4633
4654
  ) ? "MobileClass" : "Non-MobileClass/empty"));
@@ -4637,7 +4658,7 @@ function to(e) {
4637
4658
  },
4638
4659
  p(n, [i]) {
4639
4660
  /*filterItems*/
4640
- n[1].length > 0 ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4661
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4641
4662
  },
4642
4663
  i: C,
4643
4664
  o: C,
@@ -4646,23 +4667,23 @@ function to(e) {
4646
4667
  }
4647
4668
  };
4648
4669
  }
4649
- function ro(e, t, r) {
4670
+ function io(e, t, r) {
4650
4671
  let n;
4651
- Hr(e, Ji, (v) => r(4, n = v));
4672
+ Ar(e, qi, (v) => r(4, n = v));
4652
4673
  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;
4653
- const _ = () => {
4674
+ const y = () => {
4654
4675
  fetch(s).then((w) => w.json()).then((w) => {
4655
4676
  Object.keys(w).forEach((U) => {
4656
- Pt(U, w[U]);
4677
+ Ct(U, w[U]);
4657
4678
  });
4658
4679
  }).catch((w) => {
4659
4680
  console.log(w);
4660
4681
  });
4661
4682
  };
4662
- Object.keys(Ot).forEach((v) => {
4663
- Pt(v, Ot[v]);
4683
+ Object.keys(It).forEach((v) => {
4684
+ Ct(v, It[v]);
4664
4685
  });
4665
- const x = (v, w) => {
4686
+ const E = (v, w) => {
4666
4687
  if (w == 0)
4667
4688
  r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4668
4689
  {
@@ -4700,11 +4721,11 @@ function ro(e, t, r) {
4700
4721
  U > 0 && r(2, p[U] = 1, p);
4701
4722
  }));
4702
4723
  };
4703
- Lr(() => () => {
4724
+ Rr(() => () => {
4704
4725
  });
4705
- const H = (v, w) => x(v, w);
4706
- function N(v) {
4707
- Ne[v ? "unshift" : "push"](() => {
4726
+ const H = (v, w) => E(v, w);
4727
+ function L(v) {
4728
+ Re[v ? "unshift" : "push"](() => {
4708
4729
  l = v, r(0, l);
4709
4730
  });
4710
4731
  }
@@ -4712,12 +4733,12 @@ function ro(e, t, r) {
4712
4733
  "filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, s = v.translationurl), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource);
4713
4734
  }, e.$$.update = () => {
4714
4735
  e.$$.dirty & /*translationurl*/
4715
- 512 && s && _(), e.$$.dirty & /*filters*/
4736
+ 512 && s && y(), e.$$.dirty & /*filters*/
4716
4737
  128 && i && I(), e.$$.dirty & /*activefilters*/
4717
4738
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4718
- 1025 && a && l && Yi(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4719
- 2049 && h && l && qi(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4720
- 4097 && u && l && Ki(l, `${u}.Style`);
4739
+ 1025 && a && l && Ki(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4740
+ 2049 && h && l && eo(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4741
+ 4097 && u && l && to(l, `${u}.Style`);
4721
4742
  }, [
4722
4743
  l,
4723
4744
  c,
@@ -4725,7 +4746,7 @@ function ro(e, t, r) {
4725
4746
  m,
4726
4747
  n,
4727
4748
  d,
4728
- x,
4749
+ E,
4729
4750
  i,
4730
4751
  o,
4731
4752
  s,
@@ -4733,17 +4754,17 @@ function ro(e, t, r) {
4733
4754
  h,
4734
4755
  u,
4735
4756
  H,
4736
- N
4757
+ L
4737
4758
  ];
4738
4759
  }
4739
- class no extends Wr {
4760
+ class oo extends Zr {
4740
4761
  constructor(t) {
4741
- super(), Xr(
4762
+ super(), zr(
4742
4763
  this,
4743
4764
  t,
4744
- ro,
4745
- to,
4746
- Dt,
4765
+ io,
4766
+ no,
4767
+ jt,
4747
4768
  {
4748
4769
  filters: 7,
4749
4770
  activefilters: 8,
@@ -4752,7 +4773,7 @@ class no extends Wr {
4752
4773
  clientstylingurl: 11,
4753
4774
  mbsource: 12
4754
4775
  },
4755
- eo
4776
+ ro
4756
4777
  );
4757
4778
  }
4758
4779
  get filters() {
@@ -4792,7 +4813,7 @@ class no extends Wr {
4792
4813
  this.$$set({ mbsource: t }), D();
4793
4814
  }
4794
4815
  }
4795
- zr(no, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4816
+ Wr(oo, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4796
4817
  export {
4797
- no as default
4818
+ oo as default
4798
4819
  };