@everymatrix/casino-tournaments-filter-controller 1.86.1 → 1.86.3

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