@everymatrix/player-bonus-card 1.77.25 → 1.77.26

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,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function _r(e) {
3
+ function yr(e) {
4
4
  return e();
5
5
  }
6
- function kt() {
6
+ function Lt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Re(e) {
10
- e.forEach(_r);
9
+ function Ne(e) {
10
+ e.forEach(yr);
11
11
  }
12
- function Nt(e) {
12
+ function At(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Er(e, t) {
15
+ function wr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Le;
19
- function $t(e, t) {
19
+ function Ut(e, t) {
20
20
  return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
21
21
  }
22
- function on(e) {
22
+ function nn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Tr(e, ...t) {
25
+ function _r(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Tr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function an(e, t, r) {
35
- e.$$.on_destroy.push(Tr(t, r));
34
+ function on(e, t, r) {
35
+ e.$$.on_destroy.push(_r(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function sn(e, t, r) {
41
- const n = un(e);
40
+ function an(e, t, r) {
41
+ const n = sn(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = x("style");
44
- i.id = t, i.textContent = r, ln(n, i);
43
+ const i = B("style");
44
+ i.id = t, i.textContent = r, un(n, i);
45
45
  }
46
46
  }
47
- function un(e) {
47
+ function sn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function un(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function ln(e, t) {
57
+ function un(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,10 +64,10 @@ function ln(e, t) {
64
64
  function ae(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function re(e) {
67
+ function te(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function x(e) {
70
+ function B(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function R(e) {
@@ -76,20 +76,20 @@ function R(e) {
76
76
  function D() {
77
77
  return R(" ");
78
78
  }
79
- function hn(e, t, r, n) {
79
+ function ln(e, t, r, n) {
80
80
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
81
81
  }
82
82
  function g(e, t, r) {
83
83
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
84
84
  }
85
- function cn(e) {
85
+ function hn(e) {
86
86
  return Array.from(e.childNodes);
87
87
  }
88
88
  function I(e, t) {
89
89
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
90
90
  t);
91
91
  }
92
- function fn(e) {
92
+ function cn(e) {
93
93
  const t = {};
94
94
  return e.childNodes.forEach(
95
95
  /** @param {Element} node */
@@ -98,87 +98,87 @@ function fn(e) {
98
98
  }
99
99
  ), t;
100
100
  }
101
- let Ae;
102
- function Pe(e) {
103
- Ae = e;
101
+ let He;
102
+ function Ae(e) {
103
+ He = e;
104
104
  }
105
- function dn() {
106
- if (!Ae)
105
+ function fn() {
106
+ if (!He)
107
107
  throw new Error("Function called outside component initialization");
108
- return Ae;
108
+ return He;
109
109
  }
110
- function mn(e) {
111
- dn().$$.on_mount.push(e);
110
+ function dn(e) {
111
+ fn().$$.on_mount.push(e);
112
112
  }
113
- const pe = [], pt = [];
113
+ const pe = [], mt = [];
114
114
  let ve = [];
115
- const Ft = [], bn = /* @__PURE__ */ Promise.resolve();
116
- let vt = !1;
117
- function pn() {
118
- vt || (vt = !0, bn.then(P));
115
+ const kt = [], mn = /* @__PURE__ */ Promise.resolve();
116
+ let bt = !1;
117
+ function bn() {
118
+ bt || (bt = !0, mn.then(O));
119
119
  }
120
- function gt(e) {
120
+ function pt(e) {
121
121
  ve.push(e);
122
122
  }
123
- const st = /* @__PURE__ */ new Set();
123
+ const ot = /* @__PURE__ */ new Set();
124
124
  let de = 0;
125
- function P() {
125
+ function O() {
126
126
  if (de !== 0)
127
127
  return;
128
- const e = Ae;
128
+ const e = He;
129
129
  do {
130
130
  try {
131
131
  for (; de < pe.length; ) {
132
132
  const t = pe[de];
133
- de++, Pe(t), vn(t.$$);
133
+ de++, Ae(t), pn(t.$$);
134
134
  }
135
135
  } catch (t) {
136
136
  throw pe.length = 0, de = 0, t;
137
137
  }
138
- for (Pe(null), pe.length = 0, de = 0; pt.length; )
139
- pt.pop()();
138
+ for (Ae(null), pe.length = 0, de = 0; mt.length; )
139
+ mt.pop()();
140
140
  for (let t = 0; t < ve.length; t += 1) {
141
141
  const r = ve[t];
142
- st.has(r) || (st.add(r), r());
142
+ ot.has(r) || (ot.add(r), r());
143
143
  }
144
144
  ve.length = 0;
145
145
  } while (pe.length);
146
- for (; Ft.length; )
147
- Ft.pop()();
148
- vt = !1, st.clear(), Pe(e);
146
+ for (; kt.length; )
147
+ kt.pop()();
148
+ bt = !1, ot.clear(), Ae(e);
149
149
  }
150
- function vn(e) {
150
+ function pn(e) {
151
151
  if (e.fragment !== null) {
152
- e.update(), Re(e.before_update);
152
+ e.update(), Ne(e.before_update);
153
153
  const t = e.dirty;
154
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
154
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pt);
155
155
  }
156
156
  }
157
- function gn(e) {
157
+ function vn(e) {
158
158
  const t = [], r = [];
159
159
  ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ve = t;
160
160
  }
161
- const yn = /* @__PURE__ */ new Set();
162
- function wn(e, t) {
163
- e && e.i && (yn.delete(e), e.i(t));
161
+ const gn = /* @__PURE__ */ new Set();
162
+ function yn(e, t) {
163
+ e && e.i && (gn.delete(e), e.i(t));
164
164
  }
165
- function _n(e, t, r) {
165
+ function wn(e, t, r) {
166
166
  const { fragment: n, after_update: i } = e.$$;
167
- n && n.m(t, r), gt(() => {
168
- const o = e.$$.on_mount.map(_r).filter(Nt);
169
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Re(o), e.$$.on_mount = [];
170
- }), i.forEach(gt);
167
+ n && n.m(t, r), pt(() => {
168
+ const o = e.$$.on_mount.map(yr).filter(At);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
170
+ }), i.forEach(pt);
171
171
  }
172
- function En(e, t) {
172
+ function _n(e, t) {
173
173
  const r = e.$$;
174
- r.fragment !== null && (gn(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (vn(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
175
175
  }
176
176
  function Tn(e, t) {
177
- e.$$.dirty[0] === -1 && (pe.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
+ e.$$.dirty[0] === -1 && (pe.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
178
  }
179
- function xn(e, t, r, n, i, o, a = null, s = [-1]) {
180
- const l = Ae;
181
- Pe(e);
179
+ function En(e, t, r, n, i, o, a = null, s = [-1]) {
180
+ const l = He;
181
+ Ae(e);
182
182
  const u = e.$$ = {
183
183
  fragment: null,
184
184
  ctx: [],
@@ -186,7 +186,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
186
186
  props: o,
187
187
  update: Z,
188
188
  not_equal: i,
189
- bound: kt(),
189
+ bound: Lt(),
190
190
  // lifecycle
191
191
  on_mount: [],
192
192
  on_destroy: [],
@@ -195,7 +195,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
195
195
  after_update: [],
196
196
  context: new Map(t.context || (l ? l.$$.context : [])),
197
197
  // everything else
198
- callbacks: kt(),
198
+ callbacks: Lt(),
199
199
  dirty: s,
200
200
  skip_bound: !1,
201
201
  root: t.target || l.$$.root
@@ -205,18 +205,18 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
205
205
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
206
206
  const p = d.length ? d[0] : c;
207
207
  return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Tn(e, f)), c;
208
- }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
+ }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
- const f = cn(t.target);
211
- u.fragment && u.fragment.l(f), f.forEach(re);
210
+ const f = hn(t.target);
211
+ u.fragment && u.fragment.l(f), f.forEach(te);
212
212
  } else
213
213
  u.fragment && u.fragment.c();
214
- t.intro && wn(e.$$.fragment), _n(e, t.target, t.anchor), P();
214
+ t.intro && yn(e.$$.fragment), wn(e, t.target, t.anchor), O();
215
215
  }
216
- Pe(l);
216
+ Ae(l);
217
217
  }
218
- let xr;
219
- typeof HTMLElement == "function" && (xr = class extends HTMLElement {
218
+ let Tr;
219
+ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
220
220
  /** The Svelte component constructor */
221
221
  $$ctor;
222
222
  /** Slots */
@@ -258,7 +258,7 @@ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
258
258
  let o;
259
259
  return {
260
260
  c: function() {
261
- o = x("slot"), i !== "default" && g(o, "name", i);
261
+ o = B("slot"), i !== "default" && g(o, "name", i);
262
262
  },
263
263
  /**
264
264
  * @param {HTMLElement} target
@@ -268,14 +268,14 @@ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
268
268
  ae(l, o, u);
269
269
  },
270
270
  d: function(l) {
271
- l && re(o);
271
+ l && te(o);
272
272
  }
273
273
  };
274
274
  };
275
275
  };
276
276
  if (await Promise.resolve(), !this.$$cn || this.$$c)
277
277
  return;
278
- const t = {}, r = fn(this);
278
+ const t = {}, r = cn(this);
279
279
  for (const i of this.$$s)
280
280
  i in r && (t[i] = [e(i)]);
281
281
  for (const i of this.attributes) {
@@ -362,8 +362,8 @@ function $e(e, t, r, n) {
362
362
  return t;
363
363
  }
364
364
  }
365
- function Bn(e, t, r, n, i, o) {
366
- let a = class extends xr {
365
+ function xn(e, t, r, n, i, o) {
366
+ let a = class extends Tr {
367
367
  constructor() {
368
368
  super(e, r, i), this.$$p_d = t;
369
369
  }
@@ -391,7 +391,7 @@ function Bn(e, t, r, n, i, o) {
391
391
  }), e.element = /** @type {any} */
392
392
  a, a;
393
393
  }
394
- class Sn {
394
+ class Bn {
395
395
  /**
396
396
  * ### PRIVATE API
397
397
  *
@@ -410,7 +410,7 @@ class Sn {
410
410
  $$set = void 0;
411
411
  /** @returns {void} */
412
412
  $destroy() {
413
- En(this, 1), this.$destroy = Z;
413
+ _n(this, 1), this.$destroy = Z;
414
414
  }
415
415
  /**
416
416
  * @template {Extract<keyof Events, string>} K
@@ -419,7 +419,7 @@ class Sn {
419
419
  * @returns {() => void}
420
420
  */
421
421
  $on(t, r) {
422
- if (!Nt(r))
422
+ if (!At(r))
423
423
  return Z;
424
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
425
425
  return n.push(r), () => {
@@ -432,11 +432,11 @@ class Sn {
432
432
  * @returns {void}
433
433
  */
434
434
  $set(t) {
435
- this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
436
436
  }
437
437
  }
438
- const Cn = "4";
439
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
438
+ const Sn = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
440
440
  /*! *****************************************************************************
441
441
  Copyright (c) Microsoft Corporation.
442
442
 
@@ -451,24 +451,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
451
451
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
452
452
  PERFORMANCE OF THIS SOFTWARE.
453
453
  ***************************************************************************** */
454
- var yt = function(e, t) {
455
- return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
454
+ var vt = function(e, t) {
455
+ return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
456
  r.__proto__ = n;
457
457
  } || function(r, n) {
458
458
  for (var i in n)
459
459
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
460
- }, yt(e, t);
460
+ }, vt(e, t);
461
461
  };
462
- function Ne(e, t) {
462
+ function re(e, t) {
463
463
  if (typeof t != "function" && t !== null)
464
464
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
465
- yt(e, t);
465
+ vt(e, t);
466
466
  function r() {
467
467
  this.constructor = e;
468
468
  }
469
469
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
470
470
  }
471
- function wt(e) {
471
+ var T = function() {
472
+ return T = Object.assign || function(t) {
473
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
474
+ r = arguments[n];
475
+ for (var o in r)
476
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
477
+ }
478
+ return t;
479
+ }, T.apply(this, arguments);
480
+ };
481
+ function Cn(e, t) {
482
+ var r = {};
483
+ for (var n in e)
484
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
485
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
486
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
487
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
488
+ return r;
489
+ }
490
+ function gt(e) {
472
491
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
473
492
  if (r)
474
493
  return r.call(e);
@@ -480,7 +499,7 @@ function wt(e) {
480
499
  };
481
500
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
482
501
  }
483
- function _t(e, t) {
502
+ function yt(e, t) {
484
503
  var r = typeof Symbol == "function" && e[Symbol.iterator];
485
504
  if (!r)
486
505
  return e;
@@ -500,22 +519,22 @@ function _t(e, t) {
500
519
  }
501
520
  return o;
502
521
  }
503
- function Et(e, t, r) {
504
- if (arguments.length === 2)
522
+ function ge(e, t, r) {
523
+ if (r || arguments.length === 2)
505
524
  for (var n = 0, i = t.length, o; n < i; n++)
506
525
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
507
526
  return e.concat(o || t);
508
527
  }
509
- function te(e) {
528
+ function ee(e) {
510
529
  return typeof e == "function";
511
530
  }
512
- function Br(e) {
531
+ function Er(e) {
513
532
  var t = function(n) {
514
533
  Error.call(n), n.stack = new Error().stack;
515
534
  }, r = e(t);
516
535
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
517
536
  }
518
- var ut = Br(function(e) {
537
+ var at = Er(function(e) {
519
538
  return function(r) {
520
539
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
521
540
  ` + r.map(function(n, i) {
@@ -524,13 +543,13 @@ var ut = Br(function(e) {
524
543
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
525
544
  };
526
545
  });
527
- function Tt(e, t) {
546
+ function wt(e, t) {
528
547
  if (e) {
529
548
  var r = e.indexOf(t);
530
549
  0 <= r && e.splice(r, 1);
531
550
  }
532
551
  }
533
- var Qe = function() {
552
+ var qe = function() {
534
553
  function e(t) {
535
554
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
536
555
  }
@@ -542,7 +561,7 @@ var Qe = function() {
542
561
  if (a)
543
562
  if (this._parentage = null, Array.isArray(a))
544
563
  try {
545
- for (var s = wt(a), l = s.next(); !l.done; l = s.next()) {
564
+ for (var s = gt(a), l = s.next(); !l.done; l = s.next()) {
546
565
  var u = l.value;
547
566
  u.remove(this);
548
567
  }
@@ -559,22 +578,22 @@ var Qe = function() {
559
578
  else
560
579
  a.remove(this);
561
580
  var h = this.initialTeardown;
562
- if (te(h))
581
+ if (ee(h))
563
582
  try {
564
583
  h();
565
584
  } catch (v) {
566
- o = v instanceof ut ? v.errors : [v];
585
+ o = v instanceof at ? v.errors : [v];
567
586
  }
568
587
  var f = this._finalizers;
569
588
  if (f) {
570
589
  this._finalizers = null;
571
590
  try {
572
- for (var c = wt(f), d = c.next(); !d.done; d = c.next()) {
591
+ for (var c = gt(f), d = c.next(); !d.done; d = c.next()) {
573
592
  var p = d.value;
574
593
  try {
575
- Gt(p);
594
+ $t(p);
576
595
  } catch (v) {
577
- o = o ?? [], v instanceof ut ? o = Et(Et([], _t(o)), _t(v.errors)) : o.push(v);
596
+ o = o ?? [], v instanceof at ? o = ge(ge([], yt(o)), yt(v.errors)) : o.push(v);
578
597
  }
579
598
  }
580
599
  } catch (v) {
@@ -589,13 +608,13 @@ var Qe = function() {
589
608
  }
590
609
  }
591
610
  if (o)
592
- throw new ut(o);
611
+ throw new at(o);
593
612
  }
594
613
  }, e.prototype.add = function(t) {
595
614
  var r;
596
615
  if (t && t !== this)
597
616
  if (this.closed)
598
- Gt(t);
617
+ $t(t);
599
618
  else {
600
619
  if (t instanceof e) {
601
620
  if (t.closed || t._hasParent(this))
@@ -612,52 +631,56 @@ var Qe = function() {
612
631
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
613
632
  }, e.prototype._removeParent = function(t) {
614
633
  var r = this._parentage;
615
- r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
634
+ r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
616
635
  }, e.prototype.remove = function(t) {
617
636
  var r = this._finalizers;
618
- r && Tt(r, t), t instanceof e && t._removeParent(this);
637
+ r && wt(r, t), t instanceof e && t._removeParent(this);
619
638
  }, e.EMPTY = function() {
620
639
  var t = new e();
621
640
  return t.closed = !0, t;
622
641
  }(), e;
623
- }(), Sr = Qe.EMPTY;
624
- function Cr(e) {
625
- return e instanceof Qe || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
642
+ }(), xr = qe.EMPTY;
643
+ function Br(e) {
644
+ return e instanceof qe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
626
645
  }
627
- function Gt(e) {
628
- te(e) ? e() : e.unsubscribe();
646
+ function $t(e) {
647
+ ee(e) ? e() : e.unsubscribe();
629
648
  }
630
- var On = {
631
- Promise: void 0
649
+ var Sr = {
650
+ onUnhandledError: null,
651
+ onStoppedNotification: null,
652
+ Promise: void 0,
653
+ useDeprecatedSynchronousErrorHandling: !1,
654
+ useDeprecatedNextContext: !1
632
655
  }, Pn = {
633
656
  setTimeout: function(e, t) {
634
657
  for (var r = [], n = 2; n < arguments.length; n++)
635
658
  r[n - 2] = arguments[n];
636
- return setTimeout.apply(void 0, Et([e, t], _t(r)));
659
+ return setTimeout.apply(void 0, ge([e, t], yt(r)));
637
660
  },
638
661
  clearTimeout: function(e) {
639
662
  return clearTimeout(e);
640
663
  },
641
664
  delegate: void 0
642
665
  };
643
- function An(e) {
666
+ function On(e) {
644
667
  Pn.setTimeout(function() {
645
668
  throw e;
646
669
  });
647
670
  }
648
- function jt() {
671
+ function Ft() {
649
672
  }
650
673
  function Fe(e) {
651
674
  e();
652
675
  }
653
- var Or = function(e) {
654
- Ne(t, e);
676
+ var Cr = function(e) {
677
+ re(t, e);
655
678
  function t(r) {
656
679
  var n = e.call(this) || this;
657
- return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = Rn, n;
680
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Rn, n;
658
681
  }
659
682
  return t.create = function(r, n, i) {
660
- return new xt(r, n, i);
683
+ return new _t(r, n, i);
661
684
  }, t.prototype.next = function(r) {
662
685
  this.isStopped || this._next(r);
663
686
  }, t.prototype.error = function(r) {
@@ -681,7 +704,11 @@ var Or = function(e) {
681
704
  this.unsubscribe();
682
705
  }
683
706
  }, t;
684
- }(Qe), Hn = function() {
707
+ }(qe), An = Function.prototype.bind;
708
+ function st(e, t) {
709
+ return An.call(e, t);
710
+ }
711
+ var Hn = function() {
685
712
  function e(t) {
686
713
  this.partialObserver = t;
687
714
  }
@@ -712,29 +739,41 @@ var Or = function(e) {
712
739
  Ue(r);
713
740
  }
714
741
  }, e;
715
- }(), xt = function(e) {
716
- Ne(t, e);
742
+ }(), _t = function(e) {
743
+ re(t, e);
717
744
  function t(r, n, i) {
718
745
  var o = e.call(this) || this, a;
719
- return te(r) || !r ? a = {
720
- next: r ?? void 0,
721
- error: n ?? void 0,
722
- complete: i ?? void 0
723
- } : a = r, o.destination = new Hn(a), o;
746
+ if (ee(r) || !r)
747
+ a = {
748
+ next: r ?? void 0,
749
+ error: n ?? void 0,
750
+ complete: i ?? void 0
751
+ };
752
+ else {
753
+ var s;
754
+ o && Sr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
755
+ return o.unsubscribe();
756
+ }, a = {
757
+ next: r.next && st(r.next, s),
758
+ error: r.error && st(r.error, s),
759
+ complete: r.complete && st(r.complete, s)
760
+ }) : a = r;
761
+ }
762
+ return o.destination = new Hn(a), o;
724
763
  }
725
764
  return t;
726
- }(Or);
765
+ }(Cr);
727
766
  function Ue(e) {
728
- An(e);
767
+ On(e);
729
768
  }
730
769
  function Mn(e) {
731
770
  throw e;
732
771
  }
733
772
  var Rn = {
734
773
  closed: !0,
735
- next: jt,
774
+ next: Ft,
736
775
  error: Mn,
737
- complete: jt
776
+ complete: Ft
738
777
  }, Nn = function() {
739
778
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
740
779
  }();
@@ -748,7 +787,7 @@ function In(e) {
748
787
  }, r);
749
788
  };
750
789
  }
751
- var Wt = function() {
790
+ var Gt = function() {
752
791
  function e(t) {
753
792
  t && (this._subscribe = t);
754
793
  }
@@ -756,7 +795,7 @@ var Wt = function() {
756
795
  var r = new e();
757
796
  return r.source = this, r.operator = t, r;
758
797
  }, e.prototype.subscribe = function(t, r, n) {
759
- var i = this, o = Un(t) ? t : new xt(t, r, n);
798
+ var i = this, o = Un(t) ? t : new _t(t, r, n);
760
799
  return Fe(function() {
761
800
  var a = i, s = a.operator, l = a.source;
762
801
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -769,8 +808,8 @@ var Wt = function() {
769
808
  }
770
809
  }, e.prototype.forEach = function(t, r) {
771
810
  var n = this;
772
- return r = Vt(r), new r(function(i, o) {
773
- var a = new xt({
811
+ return r = jt(r), new r(function(i, o) {
812
+ var a = new _t({
774
813
  next: function(s) {
775
814
  try {
776
815
  t(s);
@@ -794,7 +833,7 @@ var Wt = function() {
794
833
  return In(t)(this);
795
834
  }, e.prototype.toPromise = function(t) {
796
835
  var r = this;
797
- return t = Vt(t), new t(function(n, i) {
836
+ return t = jt(t), new t(function(n, i) {
798
837
  var o;
799
838
  r.subscribe(function(a) {
800
839
  return o = a;
@@ -808,28 +847,28 @@ var Wt = function() {
808
847
  return new e(t);
809
848
  }, e;
810
849
  }();
811
- function Vt(e) {
850
+ function jt(e) {
812
851
  var t;
813
- return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
852
+ return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
814
853
  }
815
854
  function Ln(e) {
816
- return e && te(e.next) && te(e.error) && te(e.complete);
855
+ return e && ee(e.next) && ee(e.error) && ee(e.complete);
817
856
  }
818
857
  function Un(e) {
819
- return e && e instanceof Or || Ln(e) && Cr(e);
858
+ return e && e instanceof Cr || Ln(e) && Br(e);
820
859
  }
821
- var kn = Br(function(e) {
860
+ var kn = Er(function(e) {
822
861
  return function() {
823
862
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
824
863
  };
825
864
  }), Pr = function(e) {
826
- Ne(t, e);
865
+ re(t, e);
827
866
  function t() {
828
867
  var r = e.call(this) || this;
829
868
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
830
869
  }
831
870
  return t.prototype.lift = function(r) {
832
- var n = new Yt(this, this);
871
+ var n = new Wt(this, this);
833
872
  return n.operator = r, n;
834
873
  }, t.prototype._throwIfClosed = function() {
835
874
  if (this.closed)
@@ -841,7 +880,7 @@ var kn = Br(function(e) {
841
880
  if (n._throwIfClosed(), !n.isStopped) {
842
881
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
843
882
  try {
844
- for (var a = wt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
883
+ for (var a = gt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
845
884
  var l = s.value;
846
885
  l.next(r);
847
886
  }
@@ -890,20 +929,20 @@ var kn = Br(function(e) {
890
929
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
891
930
  }, t.prototype._innerSubscribe = function(r) {
892
931
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
893
- return o || a ? Sr : (this.currentObservers = null, s.push(r), new Qe(function() {
894
- n.currentObservers = null, Tt(s, r);
932
+ return o || a ? xr : (this.currentObservers = null, s.push(r), new qe(function() {
933
+ n.currentObservers = null, wt(s, r);
895
934
  }));
896
935
  }, t.prototype._checkFinalizedStatuses = function(r) {
897
936
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
898
937
  i ? r.error(o) : a && r.complete();
899
938
  }, t.prototype.asObservable = function() {
900
- var r = new Wt();
939
+ var r = new Gt();
901
940
  return r.source = this, r;
902
941
  }, t.create = function(r, n) {
903
- return new Yt(r, n);
942
+ return new Wt(r, n);
904
943
  }, t;
905
- }(Wt), Yt = function(e) {
906
- Ne(t, e);
944
+ }(Gt), Wt = function(e) {
945
+ re(t, e);
907
946
  function t(r, n) {
908
947
  var i = e.call(this) || this;
909
948
  return i.destination = r, i.source = n, i;
@@ -919,17 +958,17 @@ var kn = Br(function(e) {
919
958
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
920
959
  }, t.prototype._subscribe = function(r) {
921
960
  var n, i;
922
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
961
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
923
962
  }, t;
924
- }(Pr), Ar = {
963
+ }(Pr), Or = {
925
964
  now: function() {
926
- return (Ar.delegate || Date).now();
965
+ return (Or.delegate || Date).now();
927
966
  },
928
967
  delegate: void 0
929
968
  }, $n = function(e) {
930
- Ne(t, e);
969
+ re(t, e);
931
970
  function t(r, n, i) {
932
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
971
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
933
972
  var o = e.call(this) || this;
934
973
  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;
935
974
  }
@@ -950,23 +989,23 @@ var kn = Br(function(e) {
950
989
  }
951
990
  }, t;
952
991
  }(Pr);
953
- const Xt = [], qt = {}, Fn = (e, t = 0) => {
954
- if (Xt.indexOf(e) == -1) {
992
+ const Vt = [], Yt = {}, Fn = (e, t = 0) => {
993
+ if (Vt.indexOf(e) == -1) {
955
994
  const r = new $n(t);
956
- qt[e] = r, Xt.push(e);
995
+ Yt[e] = r, Vt.push(e);
957
996
  }
958
- return qt[e];
997
+ return Yt[e];
959
998
  }, me = [];
960
999
  function Gn(e, t) {
961
1000
  return {
962
- subscribe: Ze(e, t).subscribe
1001
+ subscribe: Qe(e, t).subscribe
963
1002
  };
964
1003
  }
965
- function Ze(e, t = Z) {
1004
+ function Qe(e, t = Z) {
966
1005
  let r;
967
1006
  const n = /* @__PURE__ */ new Set();
968
1007
  function i(s) {
969
- if (Er(e, s) && (e = s, r)) {
1008
+ if (wr(e, s) && (e = s, r)) {
970
1009
  const l = !me.length;
971
1010
  for (const u of n)
972
1011
  u[1](), me.push(u, e);
@@ -1002,12 +1041,12 @@ function Ee(e, t, r) {
1002
1041
  return;
1003
1042
  f();
1004
1043
  const p = t(n ? u[0] : u, a, s);
1005
- o ? a(p) : f = Nt(p) ? p : Z;
1044
+ o ? a(p) : f = At(p) ? p : Z;
1006
1045
  }, d = i.map(
1007
- (p, v) => Tr(
1046
+ (p, v) => _r(
1008
1047
  p,
1009
- (B) => {
1010
- u[v] = B, h &= ~(1 << v), l && c();
1048
+ (S) => {
1049
+ u[v] = S, h &= ~(1 << v), l && c();
1011
1050
  },
1012
1051
  () => {
1013
1052
  h |= 1 << v;
@@ -1015,7 +1054,7 @@ function Ee(e, t, r) {
1015
1054
  )
1016
1055
  );
1017
1056
  return l = !0, c(), function() {
1018
- Re(d), f(), l = !1;
1057
+ Ne(d), f(), l = !1;
1019
1058
  };
1020
1059
  });
1021
1060
  }
@@ -1030,38 +1069,38 @@ function Vn(e) {
1030
1069
  }
1031
1070
  function Yn(e) {
1032
1071
  var t = Object.prototype.toString.call(e);
1033
- return t === "[object RegExp]" || t === "[object Date]" || zn(e);
1072
+ return t === "[object RegExp]" || t === "[object Date]" || qn(e);
1034
1073
  }
1035
- var Xn = typeof Symbol == "function" && Symbol.for, qn = Xn ? Symbol.for("react.element") : 60103;
1036
- function zn(e) {
1037
- return e.$$typeof === qn;
1074
+ var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
1075
+ function qn(e) {
1076
+ return e.$$typeof === zn;
1038
1077
  }
1039
1078
  function Qn(e) {
1040
1079
  return Array.isArray(e) ? [] : {};
1041
1080
  }
1042
- function He(e, t) {
1043
- return t.clone !== !1 && t.isMergeableObject(e) ? ge(Qn(e), e, t) : e;
1081
+ function Me(e, t) {
1082
+ return t.clone !== !1 && t.isMergeableObject(e) ? ye(Qn(e), e, t) : e;
1044
1083
  }
1045
1084
  function Zn(e, t, r) {
1046
1085
  return e.concat(t).map(function(n) {
1047
- return He(n, r);
1086
+ return Me(n, r);
1048
1087
  });
1049
1088
  }
1050
1089
  function Jn(e, t) {
1051
1090
  if (!t.customMerge)
1052
- return ge;
1091
+ return ye;
1053
1092
  var r = t.customMerge(e);
1054
- return typeof r == "function" ? r : ge;
1093
+ return typeof r == "function" ? r : ye;
1055
1094
  }
1056
1095
  function Kn(e) {
1057
1096
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1058
1097
  return Object.propertyIsEnumerable.call(e, t);
1059
1098
  }) : [];
1060
1099
  }
1061
- function zt(e) {
1100
+ function Xt(e) {
1062
1101
  return Object.keys(e).concat(Kn(e));
1063
1102
  }
1064
- function Hr(e, t) {
1103
+ function Ar(e, t) {
1065
1104
  try {
1066
1105
  return t in e;
1067
1106
  } catch {
@@ -1069,179 +1108,129 @@ function Hr(e, t) {
1069
1108
  }
1070
1109
  }
1071
1110
  function ei(e, t) {
1072
- return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1073
1112
  }
1074
1113
  function ti(e, t, r) {
1075
1114
  var n = {};
1076
- return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1077
- n[i] = He(e[i], r);
1078
- }), zt(t).forEach(function(i) {
1079
- ei(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1115
+ return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1116
+ n[i] = Me(e[i], r);
1117
+ }), Xt(t).forEach(function(i) {
1118
+ ei(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
1080
1119
  }), n;
1081
1120
  }
1082
- function ge(e, t, r) {
1083
- r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = He;
1121
+ function ye(e, t, r) {
1122
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = Me;
1084
1123
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1085
- return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : He(t, r);
1124
+ return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : Me(t, r);
1086
1125
  }
1087
- ge.all = function(t, r) {
1126
+ ye.all = function(t, r) {
1088
1127
  if (!Array.isArray(t))
1089
1128
  throw new Error("first argument should be an array");
1090
1129
  return t.reduce(function(n, i) {
1091
- return ge(n, i, r);
1130
+ return ye(n, i, r);
1092
1131
  }, {});
1093
1132
  };
1094
- var ri = ge, ni = ri;
1133
+ var ri = ye, ni = ri;
1095
1134
  const ii = /* @__PURE__ */ jn(ni);
1096
- var Bt = function(e, t) {
1097
- return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1098
- r.__proto__ = n;
1099
- } || function(r, n) {
1100
- for (var i in n)
1101
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1102
- }, Bt(e, t);
1103
- };
1104
- function Je(e, t) {
1105
- if (typeof t != "function" && t !== null)
1106
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1107
- Bt(e, t);
1108
- function r() {
1109
- this.constructor = e;
1110
- }
1111
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1112
- }
1113
- var J = function() {
1114
- return J = Object.assign || function(t) {
1115
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1116
- r = arguments[n];
1117
- for (var o in r)
1118
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1119
- }
1120
- return t;
1121
- }, J.apply(this, arguments);
1122
- };
1123
- function oi(e, t) {
1124
- var r = {};
1125
- for (var n in e)
1126
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1127
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1128
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1129
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1130
- return r;
1131
- }
1132
- function lt(e, t, r) {
1133
- if (r || arguments.length === 2)
1134
- for (var n = 0, i = t.length, o; n < i; n++)
1135
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1136
- return e.concat(o || Array.prototype.slice.call(t));
1137
- }
1138
- function ht(e, t) {
1139
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1135
+ function ut(e, t) {
1136
+ var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
1140
1137
  return i(e, {
1141
1138
  cache: r,
1142
1139
  serializer: n
1143
1140
  });
1144
1141
  }
1145
- function ai(e) {
1142
+ function oi(e) {
1146
1143
  return e == null || typeof e == "number" || typeof e == "boolean";
1147
1144
  }
1148
- function si(e, t, r, n) {
1149
- var i = ai(n) ? n : r(n), o = t.get(i);
1145
+ function Hr(e, t, r, n) {
1146
+ var i = oi(n) ? n : r(n), o = t.get(i);
1150
1147
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1151
1148
  }
1152
1149
  function Mr(e, t, r) {
1153
1150
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1154
1151
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1155
1152
  }
1156
- function Rr(e, t, r, n, i) {
1153
+ function Ht(e, t, r, n, i) {
1157
1154
  return r.bind(t, e, n, i);
1158
1155
  }
1159
- function ui(e, t) {
1160
- var r = e.length === 1 ? si : Mr;
1161
- return Rr(e, this, r, t.cache.create(), t.serializer);
1156
+ function ai(e, t) {
1157
+ var r = e.length === 1 ? Hr : Mr;
1158
+ return Ht(e, this, r, t.cache.create(), t.serializer);
1162
1159
  }
1163
- function li(e, t) {
1164
- return Rr(e, this, Mr, t.cache.create(), t.serializer);
1160
+ function si(e, t) {
1161
+ return Ht(e, this, Mr, t.cache.create(), t.serializer);
1165
1162
  }
1166
- var hi = function() {
1163
+ function ui(e, t) {
1164
+ return Ht(e, this, Hr, t.cache.create(), t.serializer);
1165
+ }
1166
+ var li = function() {
1167
1167
  return JSON.stringify(arguments);
1168
- }, ci = (
1169
- /** @class */
1170
- function() {
1171
- function e() {
1172
- this.cache = /* @__PURE__ */ Object.create(null);
1173
- }
1174
- return e.prototype.get = function(t) {
1175
- return this.cache[t];
1176
- }, e.prototype.set = function(t, r) {
1177
- this.cache[t] = r;
1178
- }, e;
1179
- }()
1180
- ), fi = {
1168
+ };
1169
+ function Mt() {
1170
+ this.cache = /* @__PURE__ */ Object.create(null);
1171
+ }
1172
+ Mt.prototype.get = function(e) {
1173
+ return this.cache[e];
1174
+ };
1175
+ Mt.prototype.set = function(e, t) {
1176
+ this.cache[e] = t;
1177
+ };
1178
+ var hi = {
1181
1179
  create: function() {
1182
- return new ci();
1180
+ return new Mt();
1183
1181
  }
1184
- }, ct = {
1185
- variadic: li
1186
- }, We = function() {
1187
- return We = Object.assign || function(t) {
1188
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1189
- r = arguments[n];
1190
- for (var o in r)
1191
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1192
- }
1193
- return t;
1194
- }, We.apply(this, arguments);
1195
- };
1196
- var w;
1182
+ }, lt = {
1183
+ variadic: si,
1184
+ monadic: ui
1185
+ }, w;
1197
1186
  (function(e) {
1198
1187
  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";
1199
1188
  })(w || (w = {}));
1200
- var S;
1189
+ var C;
1201
1190
  (function(e) {
1202
1191
  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";
1203
- })(S || (S = {}));
1204
- var ye;
1192
+ })(C || (C = {}));
1193
+ var we;
1205
1194
  (function(e) {
1206
1195
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1207
- })(ye || (ye = {}));
1208
- function Qt(e) {
1209
- return e.type === S.literal;
1196
+ })(we || (we = {}));
1197
+ function zt(e) {
1198
+ return e.type === C.literal;
1199
+ }
1200
+ function ci(e) {
1201
+ return e.type === C.argument;
1210
1202
  }
1211
- function di(e) {
1212
- return e.type === S.argument;
1203
+ function Rr(e) {
1204
+ return e.type === C.number;
1213
1205
  }
1214
1206
  function Nr(e) {
1215
- return e.type === S.number;
1207
+ return e.type === C.date;
1216
1208
  }
1217
1209
  function Dr(e) {
1218
- return e.type === S.date;
1210
+ return e.type === C.time;
1219
1211
  }
1220
1212
  function Ir(e) {
1221
- return e.type === S.time;
1213
+ return e.type === C.select;
1222
1214
  }
1223
1215
  function Lr(e) {
1224
- return e.type === S.select;
1216
+ return e.type === C.plural;
1225
1217
  }
1226
- function Ur(e) {
1227
- return e.type === S.plural;
1218
+ function fi(e) {
1219
+ return e.type === C.pound;
1228
1220
  }
1229
- function mi(e) {
1230
- return e.type === S.pound;
1221
+ function Ur(e) {
1222
+ return e.type === C.tag;
1231
1223
  }
1232
1224
  function kr(e) {
1233
- return e.type === S.tag;
1225
+ return !!(e && typeof e == "object" && e.type === we.number);
1234
1226
  }
1235
- function $r(e) {
1236
- return !!(e && typeof e == "object" && e.type === ye.number);
1237
- }
1238
- function St(e) {
1239
- return !!(e && typeof e == "object" && e.type === ye.dateTime);
1227
+ function Tt(e) {
1228
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
1240
1229
  }
1241
- var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1242
- function pi(e) {
1230
+ var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1231
+ function mi(e) {
1243
1232
  var t = {};
1244
- return e.replace(bi, function(r) {
1233
+ return e.replace(di, function(r) {
1245
1234
  var n = r.length;
1246
1235
  switch (r[0]) {
1247
1236
  case "G":
@@ -1330,21 +1319,11 @@ function pi(e) {
1330
1319
  return "";
1331
1320
  }), t;
1332
1321
  }
1333
- var C = function() {
1334
- return C = Object.assign || function(t) {
1335
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1336
- r = arguments[n];
1337
- for (var o in r)
1338
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1339
- }
1340
- return t;
1341
- }, C.apply(this, arguments);
1342
- };
1343
- var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
- function gi(e) {
1322
+ var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1323
+ function pi(e) {
1345
1324
  if (e.length === 0)
1346
1325
  throw new Error("Number skeleton cannot be empty");
1347
- for (var t = e.split(vi).filter(function(c) {
1326
+ for (var t = e.split(bi).filter(function(c) {
1348
1327
  return c.length > 0;
1349
1328
  }), r = [], n = 0, i = t; n < i.length; n++) {
1350
1329
  var o = i[n], a = o.split("/");
@@ -1359,17 +1338,17 @@ function gi(e) {
1359
1338
  }
1360
1339
  return r;
1361
1340
  }
1362
- function yi(e) {
1341
+ function vi(e) {
1363
1342
  return e.replace(/^(.*?)-/, "");
1364
1343
  }
1365
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1366
- function Jt(e) {
1344
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1345
+ function Qt(e) {
1367
1346
  var t = {};
1368
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1347
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1369
1348
  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)), "";
1370
1349
  }), t;
1371
1350
  }
1372
- function Wr(e) {
1351
+ function jr(e) {
1373
1352
  switch (e) {
1374
1353
  case "sign-auto":
1375
1354
  return {
@@ -1409,7 +1388,7 @@ function Wr(e) {
1409
1388
  };
1410
1389
  }
1411
1390
  }
1412
- function _i(e) {
1391
+ function yi(e) {
1413
1392
  var t;
1414
1393
  if (e[0] === "E" && e[1] === "E" ? (t = {
1415
1394
  notation: "engineering"
@@ -1417,17 +1396,17 @@ function _i(e) {
1417
1396
  notation: "scientific"
1418
1397
  }, e = e.slice(1)), t) {
1419
1398
  var r = e.slice(0, 2);
1420
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1399
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1421
1400
  throw new Error("Malformed concise eng/scientific notation");
1422
1401
  t.minimumIntegerDigits = e.length;
1423
1402
  }
1424
1403
  return t;
1425
1404
  }
1426
- function Kt(e) {
1427
- var t = {}, r = Wr(e);
1405
+ function Zt(e) {
1406
+ var t = {}, r = jr(e);
1428
1407
  return r || t;
1429
1408
  }
1430
- function Ei(e) {
1409
+ function wi(e) {
1431
1410
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1432
1411
  var i = n[r];
1433
1412
  switch (i.stem) {
@@ -1451,7 +1430,7 @@ function Ei(e) {
1451
1430
  continue;
1452
1431
  case "measure-unit":
1453
1432
  case "unit":
1454
- t.style = "unit", t.unit = yi(i.options[0]);
1433
+ t.style = "unit", t.unit = vi(i.options[0]);
1455
1434
  continue;
1456
1435
  case "compact-short":
1457
1436
  case "K":
@@ -1462,13 +1441,13 @@ function Ei(e) {
1462
1441
  t.notation = "compact", t.compactDisplay = "long";
1463
1442
  continue;
1464
1443
  case "scientific":
1465
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1466
- return C(C({}, l), Kt(u));
1444
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1445
+ return T(T({}, l), Zt(u));
1467
1446
  }, {}));
1468
1447
  continue;
1469
1448
  case "engineering":
1470
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1471
- return C(C({}, l), Kt(u));
1449
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1450
+ return T(T({}, l), Zt(u));
1472
1451
  }, {}));
1473
1452
  continue;
1474
1453
  case "notation-simple":
@@ -1513,7 +1492,7 @@ function Ei(e) {
1513
1492
  case "integer-width":
1514
1493
  if (i.options.length > 1)
1515
1494
  throw new RangeError("integer-width stems only accept a single optional option");
1516
- i.options[0].replace(wi, function(l, u, h, f, c, d) {
1495
+ i.options[0].replace(gi, function(l, u, h, f, c, d) {
1517
1496
  if (u)
1518
1497
  t.minimumIntegerDigits = h.length;
1519
1498
  else {
@@ -1526,28 +1505,28 @@ function Ei(e) {
1526
1505
  });
1527
1506
  continue;
1528
1507
  }
1529
- if (jr.test(i.stem)) {
1508
+ if (Gr.test(i.stem)) {
1530
1509
  t.minimumIntegerDigits = i.stem.length;
1531
1510
  continue;
1532
1511
  }
1533
- if (Zt.test(i.stem)) {
1512
+ if (qt.test(i.stem)) {
1534
1513
  if (i.options.length > 1)
1535
1514
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1536
- i.stem.replace(Zt, function(l, u, h, f, c, d) {
1515
+ i.stem.replace(qt, function(l, u, h, f, c, d) {
1537
1516
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1538
1517
  });
1539
1518
  var o = i.options[0];
1540
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Jt(o)));
1519
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Qt(o)));
1541
1520
  continue;
1542
1521
  }
1543
- if (Gr.test(i.stem)) {
1544
- t = C(C({}, t), Jt(i.stem));
1522
+ if (Fr.test(i.stem)) {
1523
+ t = T(T({}, t), Qt(i.stem));
1545
1524
  continue;
1546
1525
  }
1547
- var a = Wr(i.stem);
1548
- a && (t = C(C({}, t), a));
1549
- var s = _i(i.stem);
1550
- s && (t = C(C({}, t), s));
1526
+ var a = jr(i.stem);
1527
+ a && (t = T(T({}, t), a));
1528
+ var s = yi(i.stem);
1529
+ s && (t = T(T({}, t), s));
1551
1530
  }
1552
1531
  return t;
1553
1532
  }
@@ -2966,13 +2945,13 @@ var ke = {
2966
2945
  "h"
2967
2946
  ]
2968
2947
  };
2969
- function Ti(e, t) {
2948
+ function _i(e, t) {
2970
2949
  for (var r = "", n = 0; n < e.length; n++) {
2971
2950
  var i = e.charAt(n);
2972
2951
  if (i === "j") {
2973
2952
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2974
2953
  o++, n++;
2975
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xi(t);
2954
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
2976
2955
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2977
2956
  r += l;
2978
2957
  for (; a-- > 0; )
@@ -2982,7 +2961,7 @@ function Ti(e, t) {
2982
2961
  }
2983
2962
  return r;
2984
2963
  }
2985
- function xi(e) {
2964
+ function Ti(e) {
2986
2965
  var t = e.hourCycle;
2987
2966
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2988
2967
  e.hourCycles && // @ts-ignore
@@ -3004,20 +2983,20 @@ function xi(e) {
3004
2983
  var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
3005
2984
  return i[0];
3006
2985
  }
3007
- var ft, Bi = new RegExp("^".concat(Fr.source, "*")), Si = new RegExp("".concat(Fr.source, "*$"));
2986
+ var ht, Ei = new RegExp("^".concat($r.source, "*")), xi = new RegExp("".concat($r.source, "*$"));
3008
2987
  function _(e, t) {
3009
2988
  return { start: e, end: t };
3010
2989
  }
3011
- var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ni = Ri ? Number.isSafeInteger : function(e) {
2990
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ci = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Mi = Hi ? Number.isSafeInteger : function(e) {
3012
2991
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3013
- }, Ct = !0;
2992
+ }, Et = !0;
3014
2993
  try {
3015
- var Di = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
- Ct = ((ft = Di.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
2994
+ var Ri = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2995
+ Et = ((ht = Ri.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3017
2996
  } catch {
3018
- Ct = !1;
2997
+ Et = !1;
3019
2998
  }
3020
- var er = Ci ? (
2999
+ var Jt = Bi ? (
3021
3000
  // Native
3022
3001
  function(t, r, n) {
3023
3002
  return t.startsWith(r, n);
@@ -3027,7 +3006,7 @@ var er = Ci ? (
3027
3006
  function(t, r, n) {
3028
3007
  return t.slice(n, n + r.length) === r;
3029
3008
  }
3030
- ), Ot = Oi ? String.fromCodePoint : (
3009
+ ), xt = Si ? String.fromCodePoint : (
3031
3010
  // IE11
3032
3011
  function() {
3033
3012
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3039,9 +3018,9 @@ var er = Ci ? (
3039
3018
  }
3040
3019
  return n;
3041
3020
  }
3042
- ), tr = (
3021
+ ), Kt = (
3043
3022
  // native
3044
- Pi ? Object.fromEntries : (
3023
+ Ci ? Object.fromEntries : (
3045
3024
  // Ponyfill
3046
3025
  function(t) {
3047
3026
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3051,7 +3030,7 @@ var er = Ci ? (
3051
3030
  return r;
3052
3031
  }
3053
3032
  )
3054
- ), Vr = Ai ? (
3033
+ ), Wr = Pi ? (
3055
3034
  // Native
3056
3035
  function(t, r) {
3057
3036
  return t.codePointAt(r);
@@ -3065,7 +3044,7 @@ var er = Ci ? (
3065
3044
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3066
3045
  }
3067
3046
  }
3068
- ), Ii = Hi ? (
3047
+ ), Ni = Oi ? (
3069
3048
  // Native
3070
3049
  function(t) {
3071
3050
  return t.trimStart();
@@ -3073,9 +3052,9 @@ var er = Ci ? (
3073
3052
  ) : (
3074
3053
  // Ponyfill
3075
3054
  function(t) {
3076
- return t.replace(Bi, "");
3055
+ return t.replace(Ei, "");
3077
3056
  }
3078
- ), Li = Mi ? (
3057
+ ), Di = Ai ? (
3079
3058
  // Native
3080
3059
  function(t) {
3081
3060
  return t.trimEnd();
@@ -3083,32 +3062,32 @@ var er = Ci ? (
3083
3062
  ) : (
3084
3063
  // Ponyfill
3085
3064
  function(t) {
3086
- return t.replace(Si, "");
3065
+ return t.replace(xi, "");
3087
3066
  }
3088
3067
  );
3089
- function Yr(e, t) {
3068
+ function Vr(e, t) {
3090
3069
  return new RegExp(e, t);
3091
3070
  }
3092
- var Pt;
3093
- if (Ct) {
3094
- var rr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
- Pt = function(t, r) {
3071
+ var Bt;
3072
+ if (Et) {
3073
+ var er = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3074
+ Bt = function(t, r) {
3096
3075
  var n;
3097
- rr.lastIndex = r;
3098
- var i = rr.exec(t);
3076
+ er.lastIndex = r;
3077
+ var i = er.exec(t);
3099
3078
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3100
3079
  };
3101
3080
  } else
3102
- Pt = function(t, r) {
3081
+ Bt = function(t, r) {
3103
3082
  for (var n = []; ; ) {
3104
- var i = Vr(t, r);
3105
- if (i === void 0 || Xr(i) || Fi(i))
3083
+ var i = Wr(t, r);
3084
+ if (i === void 0 || Yr(i) || ki(i))
3106
3085
  break;
3107
3086
  n.push(i), r += i >= 65536 ? 2 : 1;
3108
3087
  }
3109
- return Ot.apply(void 0, n);
3088
+ return xt.apply(void 0, n);
3110
3089
  };
3111
- var Ui = (
3090
+ var Ii = (
3112
3091
  /** @class */
3113
3092
  function() {
3114
3093
  function e(t, r) {
@@ -3132,14 +3111,14 @@ var Ui = (
3132
3111
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3133
3112
  var s = this.clonePosition();
3134
3113
  this.bump(), i.push({
3135
- type: S.pound,
3114
+ type: C.pound,
3136
3115
  location: _(s, this.clonePosition())
3137
3116
  });
3138
3117
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3139
3118
  if (n)
3140
3119
  break;
3141
3120
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3142
- } else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3121
+ } else if (o === 60 && !this.ignoreTag && St(this.peek() || 0)) {
3143
3122
  var a = this.parseTag(t, r);
3144
3123
  if (a.err)
3145
3124
  return a;
@@ -3160,7 +3139,7 @@ var Ui = (
3160
3139
  if (this.bumpSpace(), this.bumpIf("/>"))
3161
3140
  return {
3162
3141
  val: {
3163
- type: S.literal,
3142
+ type: C.literal,
3164
3143
  value: "<".concat(i, "/>"),
3165
3144
  location: _(n, this.clonePosition())
3166
3145
  },
@@ -3172,12 +3151,12 @@ var Ui = (
3172
3151
  return o;
3173
3152
  var a = o.val, s = this.clonePosition();
3174
3153
  if (this.bumpIf("</")) {
3175
- if (this.isEOF() || !At(this.char()))
3154
+ if (this.isEOF() || !St(this.char()))
3176
3155
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3177
3156
  var l = this.clonePosition(), u = this.parseTagName();
3178
3157
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3179
3158
  val: {
3180
- type: S.tag,
3159
+ type: C.tag,
3181
3160
  value: i,
3182
3161
  children: a,
3183
3162
  location: _(n, this.clonePosition())
@@ -3190,7 +3169,7 @@ var Ui = (
3190
3169
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3191
3170
  }, e.prototype.parseTagName = function() {
3192
3171
  var t = this.offset();
3193
- for (this.bump(); !this.isEOF() && $i(this.char()); )
3172
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
3194
3173
  this.bump();
3195
3174
  return this.message.slice(t, this.offset());
3196
3175
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3214,12 +3193,12 @@ var Ui = (
3214
3193
  }
3215
3194
  var l = _(n, this.clonePosition());
3216
3195
  return {
3217
- val: { type: S.literal, value: i, location: l },
3196
+ val: { type: C.literal, value: i, location: l },
3218
3197
  err: null
3219
3198
  };
3220
3199
  }, e.prototype.tryParseLeftAngleBracket = function() {
3221
3200
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3222
- !ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3201
+ !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3223
3202
  }, e.prototype.tryParseQuote = function(t) {
3224
3203
  if (this.isEOF() || this.char() !== 39)
3225
3204
  return null;
@@ -3253,12 +3232,12 @@ var Ui = (
3253
3232
  r.push(n);
3254
3233
  this.bump();
3255
3234
  }
3256
- return Ot.apply(void 0, r);
3235
+ return xt.apply(void 0, r);
3257
3236
  }, e.prototype.tryParseUnquoted = function(t, r) {
3258
3237
  if (this.isEOF())
3259
3238
  return null;
3260
3239
  var n = this.char();
3261
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3240
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xt(n));
3262
3241
  }, e.prototype.parseArgument = function(t, r) {
3263
3242
  var n = this.clonePosition();
3264
3243
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3274,7 +3253,7 @@ var Ui = (
3274
3253
  case 125:
3275
3254
  return this.bump(), {
3276
3255
  val: {
3277
- type: S.argument,
3256
+ type: C.argument,
3278
3257
  // value does not include the opening and closing braces.
3279
3258
  value: i,
3280
3259
  location: _(n, this.clonePosition())
@@ -3287,7 +3266,7 @@ var Ui = (
3287
3266
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3288
3267
  }
3289
3268
  }, e.prototype.parseIdentifierIfPossible = function() {
3290
- var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
3269
+ var t = this.clonePosition(), r = this.offset(), n = Bt(this.message, r), i = r + n.length;
3291
3270
  this.bumpTo(i);
3292
3271
  var o = this.clonePosition(), a = _(t, o);
3293
3272
  return { value: n, location: a };
@@ -3306,7 +3285,7 @@ var Ui = (
3306
3285
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3307
3286
  if (f.err)
3308
3287
  return f;
3309
- var c = Li(f.val);
3288
+ var c = Di(f.val);
3310
3289
  if (c.length === 0)
3311
3290
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3312
3291
  var d = _(h, this.clonePosition());
@@ -3316,34 +3295,34 @@ var Ui = (
3316
3295
  if (p.err)
3317
3296
  return p;
3318
3297
  var v = _(i, this.clonePosition());
3319
- if (u && er(u?.style, "::", 0)) {
3320
- var B = Ii(u.style.slice(2));
3298
+ if (u && Jt(u?.style, "::", 0)) {
3299
+ var S = Ni(u.style.slice(2));
3321
3300
  if (s === "number") {
3322
- var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3301
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3323
3302
  return f.err ? f : {
3324
- val: { type: S.number, value: n, location: v, style: f.val },
3303
+ val: { type: C.number, value: n, location: v, style: f.val },
3325
3304
  err: null
3326
3305
  };
3327
3306
  } else {
3328
- if (B.length === 0)
3307
+ if (S.length === 0)
3329
3308
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
3330
- var L = B;
3331
- this.locale && (L = Ti(B, this.locale));
3309
+ var L = S;
3310
+ this.locale && (L = _i(S, this.locale));
3332
3311
  var c = {
3333
- type: ye.dateTime,
3312
+ type: we.dateTime,
3334
3313
  pattern: L,
3335
3314
  location: u.styleLocation,
3336
- parsedOptions: this.shouldParseSkeletons ? pi(L) : {}
3337
- }, O = s === "date" ? S.date : S.time;
3315
+ parsedOptions: this.shouldParseSkeletons ? mi(L) : {}
3316
+ }, P = s === "date" ? C.date : C.time;
3338
3317
  return {
3339
- val: { type: O, value: n, location: v, style: c },
3318
+ val: { type: P, value: n, location: v, style: c },
3340
3319
  err: null
3341
3320
  };
3342
3321
  }
3343
3322
  }
3344
3323
  return {
3345
3324
  val: {
3346
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3325
+ type: s === "number" ? C.number : s === "date" ? C.date : C.time,
3347
3326
  value: n,
3348
3327
  location: v,
3349
3328
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3356,7 +3335,7 @@ var Ui = (
3356
3335
  case "select": {
3357
3336
  var E = this.clonePosition();
3358
3337
  if (this.bumpSpace(), !this.bumpIf(","))
3359
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, We({}, E)));
3338
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, T({}, E)));
3360
3339
  this.bumpSpace();
3361
3340
  var U = this.parseIdentifierIfPossible(), A = 0;
3362
3341
  if (s !== "select" && U.value === "offset") {
@@ -3377,17 +3356,17 @@ var Ui = (
3377
3356
  var k = _(i, this.clonePosition());
3378
3357
  return s === "select" ? {
3379
3358
  val: {
3380
- type: S.select,
3359
+ type: C.select,
3381
3360
  value: n,
3382
- options: tr($.val),
3361
+ options: Kt($.val),
3383
3362
  location: k
3384
3363
  },
3385
3364
  err: null
3386
3365
  } : {
3387
3366
  val: {
3388
- type: S.plural,
3367
+ type: C.plural,
3389
3368
  value: n,
3390
- options: tr($.val),
3369
+ options: Kt($.val),
3391
3370
  offset: A,
3392
3371
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3393
3372
  location: k
@@ -3438,16 +3417,16 @@ var Ui = (
3438
3417
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3439
3418
  var n = [];
3440
3419
  try {
3441
- n = gi(t);
3420
+ n = pi(t);
3442
3421
  } catch {
3443
3422
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3444
3423
  }
3445
3424
  return {
3446
3425
  val: {
3447
- type: ye.number,
3426
+ type: we.number,
3448
3427
  tokens: n,
3449
3428
  location: r,
3450
- parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
3429
+ parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3451
3430
  },
3452
3431
  err: null
3453
3432
  };
@@ -3495,7 +3474,7 @@ var Ui = (
3495
3474
  break;
3496
3475
  }
3497
3476
  var l = _(i, this.clonePosition());
3498
- return o ? (a *= n, Ni(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3477
+ return o ? (a *= n, Mi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3499
3478
  }, e.prototype.offset = function() {
3500
3479
  return this.position.offset;
3501
3480
  }, e.prototype.isEOF = function() {
@@ -3510,7 +3489,7 @@ var Ui = (
3510
3489
  var t = this.position.offset;
3511
3490
  if (t >= this.message.length)
3512
3491
  throw Error("out of bound");
3513
- var r = Vr(this.message, t);
3492
+ var r = Wr(this.message, t);
3514
3493
  if (r === void 0)
3515
3494
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3516
3495
  return r;
@@ -3529,7 +3508,7 @@ var Ui = (
3529
3508
  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);
3530
3509
  }
3531
3510
  }, e.prototype.bumpIf = function(t) {
3532
- if (er(this.message, t, this.offset())) {
3511
+ if (Jt(this.message, t, this.offset())) {
3533
3512
  for (var r = 0; r < t.length; r++)
3534
3513
  this.bump();
3535
3514
  return !0;
@@ -3551,7 +3530,7 @@ var Ui = (
3551
3530
  break;
3552
3531
  }
3553
3532
  }, e.prototype.bumpSpace = function() {
3554
- for (; !this.isEOF() && Xr(this.char()); )
3533
+ for (; !this.isEOF() && Yr(this.char()); )
3555
3534
  this.bump();
3556
3535
  }, e.prototype.peek = function() {
3557
3536
  if (this.isEOF())
@@ -3561,47 +3540,47 @@ var Ui = (
3561
3540
  }, e;
3562
3541
  }()
3563
3542
  );
3564
- function At(e) {
3543
+ function St(e) {
3565
3544
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3566
3545
  }
3567
- function ki(e) {
3568
- return At(e) || e === 47;
3546
+ function Li(e) {
3547
+ return St(e) || e === 47;
3569
3548
  }
3570
- function $i(e) {
3549
+ function Ui(e) {
3571
3550
  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;
3572
3551
  }
3573
- function Xr(e) {
3552
+ function Yr(e) {
3574
3553
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3575
3554
  }
3576
- function Fi(e) {
3555
+ function ki(e) {
3577
3556
  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;
3578
3557
  }
3579
- function Ht(e) {
3558
+ function Ct(e) {
3580
3559
  e.forEach(function(t) {
3581
- if (delete t.location, Lr(t) || Ur(t))
3560
+ if (delete t.location, Ir(t) || Lr(t))
3582
3561
  for (var r in t.options)
3583
- delete t.options[r].location, Ht(t.options[r].value);
3562
+ delete t.options[r].location, Ct(t.options[r].value);
3584
3563
  else
3585
- Nr(t) && $r(t.style) || (Dr(t) || Ir(t)) && St(t.style) ? delete t.style.location : kr(t) && Ht(t.children);
3564
+ Rr(t) && kr(t.style) || (Nr(t) || Dr(t)) && Tt(t.style) ? delete t.style.location : Ur(t) && Ct(t.children);
3586
3565
  });
3587
3566
  }
3588
- function Gi(e, t) {
3589
- t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3590
- var r = new Ui(e, t).parse();
3567
+ function $i(e, t) {
3568
+ t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3569
+ var r = new Ii(e, t).parse();
3591
3570
  if (r.err) {
3592
3571
  var n = SyntaxError(w[r.err.kind]);
3593
3572
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3594
3573
  }
3595
- return t?.captureLocation || Ht(r.val), r.val;
3574
+ return t?.captureLocation || Ct(r.val), r.val;
3596
3575
  }
3597
- var we;
3576
+ var _e;
3598
3577
  (function(e) {
3599
3578
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3600
- })(we || (we = {}));
3601
- var Ke = (
3579
+ })(_e || (_e = {}));
3580
+ var Ze = (
3602
3581
  /** @class */
3603
3582
  function(e) {
3604
- Je(t, e);
3583
+ re(t, e);
3605
3584
  function t(r, n, i) {
3606
3585
  var o = e.call(this, r) || this;
3607
3586
  return o.code = n, o.originalMessage = i, o;
@@ -3610,48 +3589,48 @@ var Ke = (
3610
3589
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3611
3590
  }, t;
3612
3591
  }(Error)
3613
- ), nr = (
3592
+ ), tr = (
3614
3593
  /** @class */
3615
3594
  function(e) {
3616
- Je(t, e);
3595
+ re(t, e);
3617
3596
  function t(r, n, i, o) {
3618
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3597
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
3619
3598
  }
3620
3599
  return t;
3621
- }(Ke)
3622
- ), ji = (
3600
+ }(Ze)
3601
+ ), Fi = (
3623
3602
  /** @class */
3624
3603
  function(e) {
3625
- Je(t, e);
3604
+ re(t, e);
3626
3605
  function t(r, n, i) {
3627
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3606
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), _e.INVALID_VALUE, i) || this;
3628
3607
  }
3629
3608
  return t;
3630
- }(Ke)
3631
- ), Wi = (
3609
+ }(Ze)
3610
+ ), Gi = (
3632
3611
  /** @class */
3633
3612
  function(e) {
3634
- Je(t, e);
3613
+ re(t, e);
3635
3614
  function t(r, n) {
3636
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3615
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
3637
3616
  }
3638
3617
  return t;
3639
- }(Ke)
3618
+ }(Ze)
3640
3619
  ), F;
3641
3620
  (function(e) {
3642
3621
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3643
3622
  })(F || (F = {}));
3644
- function Vi(e) {
3623
+ function ji(e) {
3645
3624
  return e.length < 2 ? e : e.reduce(function(t, r) {
3646
3625
  var n = t[t.length - 1];
3647
3626
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3648
3627
  }, []);
3649
3628
  }
3650
- function Yi(e) {
3629
+ function Wi(e) {
3651
3630
  return typeof e == "function";
3652
3631
  }
3653
3632
  function Ge(e, t, r, n, i, o, a) {
3654
- if (e.length === 1 && Qt(e[0]))
3633
+ if (e.length === 1 && zt(e[0]))
3655
3634
  return [
3656
3635
  {
3657
3636
  type: F.literal,
@@ -3660,14 +3639,14 @@ function Ge(e, t, r, n, i, o, a) {
3660
3639
  ];
3661
3640
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3662
3641
  var h = u[l];
3663
- if (Qt(h)) {
3642
+ if (zt(h)) {
3664
3643
  s.push({
3665
3644
  type: F.literal,
3666
3645
  value: h.value
3667
3646
  });
3668
3647
  continue;
3669
3648
  }
3670
- if (mi(h)) {
3649
+ if (fi(h)) {
3671
3650
  typeof o == "number" && s.push({
3672
3651
  type: F.literal,
3673
3652
  value: r.getNumberFormat(t).format(o)
@@ -3676,89 +3655,89 @@ function Ge(e, t, r, n, i, o, a) {
3676
3655
  }
3677
3656
  var f = h.value;
3678
3657
  if (!(i && f in i))
3679
- throw new Wi(f, a);
3658
+ throw new Gi(f, a);
3680
3659
  var c = i[f];
3681
- if (di(h)) {
3660
+ if (ci(h)) {
3682
3661
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3683
3662
  type: typeof c == "string" ? F.literal : F.object,
3684
3663
  value: c
3685
3664
  });
3686
3665
  continue;
3687
3666
  }
3688
- if (Dr(h)) {
3689
- var d = typeof h.style == "string" ? n.date[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
3667
+ if (Nr(h)) {
3668
+ var d = typeof h.style == "string" ? n.date[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
3690
3669
  s.push({
3691
3670
  type: F.literal,
3692
3671
  value: r.getDateTimeFormat(t, d).format(c)
3693
3672
  });
3694
3673
  continue;
3695
3674
  }
3696
- if (Ir(h)) {
3697
- var d = typeof h.style == "string" ? n.time[h.style] : St(h.style) ? h.style.parsedOptions : n.time.medium;
3675
+ if (Dr(h)) {
3676
+ var d = typeof h.style == "string" ? n.time[h.style] : Tt(h.style) ? h.style.parsedOptions : n.time.medium;
3698
3677
  s.push({
3699
3678
  type: F.literal,
3700
3679
  value: r.getDateTimeFormat(t, d).format(c)
3701
3680
  });
3702
3681
  continue;
3703
3682
  }
3704
- if (Nr(h)) {
3705
- var d = typeof h.style == "string" ? n.number[h.style] : $r(h.style) ? h.style.parsedOptions : void 0;
3683
+ if (Rr(h)) {
3684
+ var d = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
3706
3685
  d && d.scale && (c = c * (d.scale || 1)), s.push({
3707
3686
  type: F.literal,
3708
3687
  value: r.getNumberFormat(t, d).format(c)
3709
3688
  });
3710
3689
  continue;
3711
3690
  }
3712
- if (kr(h)) {
3713
- var p = h.children, v = h.value, B = i[v];
3714
- if (!Yi(B))
3715
- throw new ji(v, "function", a);
3716
- var L = Ge(p, t, r, n, i, o), O = B(L.map(function(A) {
3691
+ if (Ur(h)) {
3692
+ var p = h.children, v = h.value, S = i[v];
3693
+ if (!Wi(S))
3694
+ throw new Fi(v, "function", a);
3695
+ var L = Ge(p, t, r, n, i, o), P = S(L.map(function(A) {
3717
3696
  return A.value;
3718
3697
  }));
3719
- Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(A) {
3698
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3720
3699
  return {
3721
3700
  type: typeof A == "string" ? F.literal : F.object,
3722
3701
  value: A
3723
3702
  };
3724
3703
  }));
3725
3704
  }
3726
- if (Lr(h)) {
3705
+ if (Ir(h)) {
3727
3706
  var E = h.options[c] || h.options.other;
3728
3707
  if (!E)
3729
- throw new nr(h.value, c, Object.keys(h.options), a);
3708
+ throw new tr(h.value, c, Object.keys(h.options), a);
3730
3709
  s.push.apply(s, Ge(E.value, t, r, n, i));
3731
3710
  continue;
3732
3711
  }
3733
- if (Ur(h)) {
3712
+ if (Lr(h)) {
3734
3713
  var E = h.options["=".concat(c)];
3735
3714
  if (!E) {
3736
3715
  if (!Intl.PluralRules)
3737
- throw new Ke(`Intl.PluralRules is not available in this environment.
3716
+ throw new Ze(`Intl.PluralRules is not available in this environment.
3738
3717
  Try polyfilling it using "@formatjs/intl-pluralrules"
3739
- `, we.MISSING_INTL_API, a);
3718
+ `, _e.MISSING_INTL_API, a);
3740
3719
  var U = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3741
3720
  E = h.options[U] || h.options.other;
3742
3721
  }
3743
3722
  if (!E)
3744
- throw new nr(h.value, c, Object.keys(h.options), a);
3723
+ throw new tr(h.value, c, Object.keys(h.options), a);
3745
3724
  s.push.apply(s, Ge(E.value, t, r, n, i, c - (h.offset || 0)));
3746
3725
  continue;
3747
3726
  }
3748
3727
  }
3749
- return Vi(s);
3728
+ return ji(s);
3750
3729
  }
3751
- function Xi(e, t) {
3752
- return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3753
- return r[n] = J(J({}, e[n]), t[n] || {}), r;
3730
+ function Vi(e, t) {
3731
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3732
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3754
3733
  }, {})) : e;
3755
3734
  }
3756
- function qi(e, t) {
3735
+ function Yi(e, t) {
3757
3736
  return t ? Object.keys(e).reduce(function(r, n) {
3758
- return r[n] = Xi(e[n], t[n]), r;
3759
- }, J({}, e)) : e;
3737
+ return r[n] = Vi(e[n], t[n]), r;
3738
+ }, T({}, e)) : e;
3760
3739
  }
3761
- function dt(e) {
3740
+ function ct(e) {
3762
3741
  return {
3763
3742
  create: function() {
3764
3743
  return {
@@ -3772,39 +3751,39 @@ function dt(e) {
3772
3751
  }
3773
3752
  };
3774
3753
  }
3775
- function zi(e) {
3754
+ function Xi(e) {
3776
3755
  return e === void 0 && (e = {
3777
3756
  number: {},
3778
3757
  dateTime: {},
3779
3758
  pluralRules: {}
3780
3759
  }), {
3781
- getNumberFormat: ht(function() {
3760
+ getNumberFormat: ut(function() {
3782
3761
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3762
  r[n] = arguments[n];
3784
- return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], r, !1)))();
3763
+ return new ((t = Intl.NumberFormat).bind.apply(t, ge([void 0], r, !1)))();
3785
3764
  }, {
3786
- cache: dt(e.number),
3787
- strategy: ct.variadic
3765
+ cache: ct(e.number),
3766
+ strategy: lt.variadic
3788
3767
  }),
3789
- getDateTimeFormat: ht(function() {
3768
+ getDateTimeFormat: ut(function() {
3790
3769
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3770
  r[n] = arguments[n];
3792
- return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], r, !1)))();
3771
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ge([void 0], r, !1)))();
3793
3772
  }, {
3794
- cache: dt(e.dateTime),
3795
- strategy: ct.variadic
3773
+ cache: ct(e.dateTime),
3774
+ strategy: lt.variadic
3796
3775
  }),
3797
- getPluralRules: ht(function() {
3776
+ getPluralRules: ut(function() {
3798
3777
  for (var t, r = [], n = 0; n < arguments.length; n++)
3799
3778
  r[n] = arguments[n];
3800
- return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], r, !1)))();
3779
+ return new ((t = Intl.PluralRules).bind.apply(t, ge([void 0], r, !1)))();
3801
3780
  }, {
3802
- cache: dt(e.pluralRules),
3803
- strategy: ct.variadic
3781
+ cache: ct(e.pluralRules),
3782
+ strategy: lt.variadic
3804
3783
  })
3805
3784
  };
3806
3785
  }
3807
- var Qi = (
3786
+ var zi = (
3808
3787
  /** @class */
3809
3788
  function() {
3810
3789
  function e(t, r, n, i) {
@@ -3836,13 +3815,13 @@ var Qi = (
3836
3815
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3837
3816
  var a = i || {};
3838
3817
  a.formatters;
3839
- var s = oi(a, ["formatters"]);
3840
- this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3818
+ var s = Cn(a, ["formatters"]);
3819
+ this.ast = e.__parse(t, T(T({}, s), { locale: this.resolvedLocale }));
3841
3820
  } else
3842
3821
  this.ast = t;
3843
3822
  if (!Array.isArray(this.ast))
3844
3823
  throw new TypeError("A message must be provided as a String or AST.");
3845
- this.formats = qi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3824
+ this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3846
3825
  }
3847
3826
  return Object.defineProperty(e, "defaultLocale", {
3848
3827
  get: function() {
@@ -3855,7 +3834,7 @@ var Qi = (
3855
3834
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3856
3835
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3857
3836
  }
3858
- }, e.__parse = Gi, e.formats = {
3837
+ }, e.__parse = $i, e.formats = {
3859
3838
  number: {
3860
3839
  integer: {
3861
3840
  maximumFractionDigits: 0
@@ -3916,7 +3895,7 @@ var Qi = (
3916
3895
  }, e;
3917
3896
  }()
3918
3897
  );
3919
- function Zi(e, t) {
3898
+ function qi(e, t) {
3920
3899
  if (t == null)
3921
3900
  return;
3922
3901
  if (t in e)
@@ -3937,92 +3916,92 @@ function Zi(e, t) {
3937
3916
  n = void 0;
3938
3917
  return n;
3939
3918
  }
3940
- const oe = {}, Ji = (e, t, r) => r && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = r), r), qr = (e, t) => {
3919
+ const oe = {}, Qi = (e, t, r) => r && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = r), r), Xr = (e, t) => {
3941
3920
  if (t == null)
3942
3921
  return;
3943
3922
  if (t in oe && e in oe[t])
3944
3923
  return oe[t][e];
3945
- const r = et(t);
3924
+ const r = Je(t);
3946
3925
  for (let n = 0; n < r.length; n++) {
3947
- const i = r[n], o = eo(i, e);
3926
+ const i = r[n], o = Ji(i, e);
3948
3927
  if (o)
3949
- return Ji(e, t, o);
3928
+ return Qi(e, t, o);
3950
3929
  }
3951
3930
  };
3952
- let Dt;
3953
- const De = Ze({});
3954
- function Ki(e) {
3955
- return Dt[e] || null;
3931
+ let Rt;
3932
+ const De = Qe({});
3933
+ function Zi(e) {
3934
+ return Rt[e] || null;
3956
3935
  }
3957
3936
  function zr(e) {
3958
- return e in Dt;
3937
+ return e in Rt;
3959
3938
  }
3960
- function eo(e, t) {
3939
+ function Ji(e, t) {
3961
3940
  if (!zr(e))
3962
3941
  return null;
3963
- const r = Ki(e);
3964
- return Zi(r, t);
3942
+ const r = Zi(e);
3943
+ return qi(r, t);
3965
3944
  }
3966
- function to(e) {
3945
+ function Ki(e) {
3967
3946
  if (e == null)
3968
3947
  return;
3969
- const t = et(e);
3948
+ const t = Je(e);
3970
3949
  for (let r = 0; r < t.length; r++) {
3971
3950
  const n = t[r];
3972
3951
  if (zr(n))
3973
3952
  return n;
3974
3953
  }
3975
3954
  }
3976
- function Qr(e, ...t) {
3955
+ function qr(e, ...t) {
3977
3956
  delete oe[e], De.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3978
3957
  }
3979
3958
  Ee(
3980
3959
  [De],
3981
3960
  ([e]) => Object.keys(e)
3982
3961
  );
3983
- De.subscribe((e) => Dt = e);
3962
+ De.subscribe((e) => Rt = e);
3984
3963
  const je = {};
3985
- function ro(e, t) {
3964
+ function eo(e, t) {
3986
3965
  je[e].delete(t), je[e].size === 0 && delete je[e];
3987
3966
  }
3988
- function Zr(e) {
3967
+ function Qr(e) {
3989
3968
  return je[e];
3990
3969
  }
3991
- function no(e) {
3992
- return et(e).map((t) => {
3993
- const r = Zr(t);
3970
+ function to(e) {
3971
+ return Je(e).map((t) => {
3972
+ const r = Qr(t);
3994
3973
  return [t, r ? [...r] : []];
3995
3974
  }).filter(([, t]) => t.length > 0);
3996
3975
  }
3997
- function Mt(e) {
3998
- return e == null ? !1 : et(e).some(
3976
+ function Pt(e) {
3977
+ return e == null ? !1 : Je(e).some(
3999
3978
  (t) => {
4000
3979
  var r;
4001
- return (r = Zr(t)) == null ? void 0 : r.size;
3980
+ return (r = Qr(t)) == null ? void 0 : r.size;
4002
3981
  }
4003
3982
  );
4004
3983
  }
4005
- function io(e, t) {
3984
+ function ro(e, t) {
4006
3985
  return Promise.all(
4007
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4008
- ).then((n) => Qr(e, ...n));
4009
- }
4010
- const Se = {};
4011
- function Jr(e) {
4012
- if (!Mt(e))
4013
- return e in Se ? Se[e] : Promise.resolve();
4014
- const t = no(e);
4015
- return Se[e] = Promise.all(
3986
+ t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
3987
+ ).then((n) => qr(e, ...n));
3988
+ }
3989
+ const Ce = {};
3990
+ function Zr(e) {
3991
+ if (!Pt(e))
3992
+ return e in Ce ? Ce[e] : Promise.resolve();
3993
+ const t = to(e);
3994
+ return Ce[e] = Promise.all(
4016
3995
  t.map(
4017
- ([r, n]) => io(r, n)
3996
+ ([r, n]) => ro(r, n)
4018
3997
  )
4019
3998
  ).then(() => {
4020
- if (Mt(e))
4021
- return Jr(e);
4022
- delete Se[e];
4023
- }), Se[e];
3999
+ if (Pt(e))
4000
+ return Zr(e);
4001
+ delete Ce[e];
4002
+ }), Ce[e];
4024
4003
  }
4025
- const oo = {
4004
+ const no = {
4026
4005
  number: {
4027
4006
  scientific: { notation: "scientific" },
4028
4007
  engineering: { notation: "engineering" },
@@ -4051,135 +4030,135 @@ const oo = {
4051
4030
  timeZoneName: "short"
4052
4031
  }
4053
4032
  }
4054
- }, ao = {
4033
+ }, io = {
4055
4034
  fallbackLocale: null,
4056
4035
  loadingDelay: 200,
4057
- formats: oo,
4036
+ formats: no,
4058
4037
  warnOnMissingMessages: !0,
4059
4038
  handleMissingMessage: void 0,
4060
4039
  ignoreTag: !0
4061
- }, so = ao;
4062
- function _e() {
4063
- return so;
4040
+ }, oo = io;
4041
+ function Te() {
4042
+ return oo;
4064
4043
  }
4065
- const mt = Ze(!1);
4066
- var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4044
+ const ft = Qe(!1);
4045
+ var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4067
4046
  for (var r in t || (t = {}))
4068
- co.call(t, r) && or(e, r, t[r]);
4069
- if (ir)
4070
- for (var r of ir(t))
4071
- fo.call(t, r) && or(e, r, t[r]);
4047
+ lo.call(t, r) && nr(e, r, t[r]);
4048
+ if (rr)
4049
+ for (var r of rr(t))
4050
+ ho.call(t, r) && nr(e, r, t[r]);
4072
4051
  return e;
4073
- }, bo = (e, t) => lo(e, ho(t));
4074
- let Rt;
4075
- const Ve = Ze(null);
4076
- function ar(e) {
4052
+ }, fo = (e, t) => so(e, uo(t));
4053
+ let Ot;
4054
+ const We = Qe(null);
4055
+ function ir(e) {
4077
4056
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4078
4057
  }
4079
- function et(e, t = _e().fallbackLocale) {
4080
- const r = ar(e);
4081
- return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4058
+ function Je(e, t = Te().fallbackLocale) {
4059
+ const r = ir(e);
4060
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4082
4061
  }
4083
4062
  function ce() {
4084
- return Rt ?? void 0;
4063
+ return Ot ?? void 0;
4085
4064
  }
4086
- Ve.subscribe((e) => {
4087
- Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4065
+ We.subscribe((e) => {
4066
+ Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4088
4067
  });
4089
- const po = (e) => {
4090
- if (e && to(e) && Mt(e)) {
4091
- const { loadingDelay: t } = _e();
4068
+ const mo = (e) => {
4069
+ if (e && Ki(e) && Pt(e)) {
4070
+ const { loadingDelay: t } = Te();
4092
4071
  let r;
4093
4072
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
4094
- () => mt.set(!0),
4073
+ () => ft.set(!0),
4095
4074
  t
4096
- ) : mt.set(!0), Jr(e).then(() => {
4097
- Ve.set(e);
4075
+ ) : ft.set(!0), Zr(e).then(() => {
4076
+ We.set(e);
4098
4077
  }).finally(() => {
4099
- clearTimeout(r), mt.set(!1);
4078
+ clearTimeout(r), ft.set(!1);
4100
4079
  });
4101
4080
  }
4102
- return Ve.set(e);
4103
- }, Te = bo(mo({}, Ve), {
4104
- set: po
4105
- }), tt = (e) => {
4081
+ return We.set(e);
4082
+ }, xe = fo(co({}, We), {
4083
+ set: mo
4084
+ }), Ke = (e) => {
4106
4085
  const t = /* @__PURE__ */ Object.create(null);
4107
4086
  return (n) => {
4108
4087
  const i = JSON.stringify(n);
4109
4088
  return i in t ? t[i] : t[i] = e(n);
4110
4089
  };
4111
4090
  };
4112
- var vo = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
4091
+ var bo = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4113
4092
  for (var r in t || (t = {}))
4114
- Kr.call(t, r) && sr(e, r, t[r]);
4115
- if (Ye)
4116
- for (var r of Ye(t))
4117
- en.call(t, r) && sr(e, r, t[r]);
4093
+ Jr.call(t, r) && or(e, r, t[r]);
4094
+ if (Ve)
4095
+ for (var r of Ve(t))
4096
+ Kr.call(t, r) && or(e, r, t[r]);
4118
4097
  return e;
4119
- }, xe = (e, t) => {
4098
+ }, Be = (e, t) => {
4120
4099
  var r = {};
4121
4100
  for (var n in e)
4122
- Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4123
- if (e != null && Ye)
4124
- for (var n of Ye(e))
4125
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4101
+ Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4102
+ if (e != null && Ve)
4103
+ for (var n of Ve(e))
4104
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4126
4105
  return r;
4127
4106
  };
4128
- const Me = (e, t) => {
4129
- const { formats: r } = _e();
4107
+ const Re = (e, t) => {
4108
+ const { formats: r } = Te();
4130
4109
  if (e in r && t in r[e])
4131
4110
  return r[e][t];
4132
4111
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4133
- }, go = tt(
4112
+ }, po = Ke(
4134
4113
  (e) => {
4135
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4114
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4136
4115
  if (r == null)
4137
4116
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4138
- return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4117
+ return n && (i = Re("number", n)), new Intl.NumberFormat(r, i);
4139
4118
  }
4140
- ), yo = tt(
4119
+ ), vo = Ke(
4141
4120
  (e) => {
4142
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4121
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4143
4122
  if (r == null)
4144
4123
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4145
- return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4124
+ return n ? i = Re("date", n) : Object.keys(i).length === 0 && (i = Re("date", "short")), new Intl.DateTimeFormat(r, i);
4146
4125
  }
4147
- ), wo = tt(
4126
+ ), go = Ke(
4148
4127
  (e) => {
4149
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4128
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4150
4129
  if (r == null)
4151
4130
  throw new Error(
4152
4131
  '[svelte-i18n] A "locale" must be set to format time values'
4153
4132
  );
4154
- return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4133
+ return n ? i = Re("time", n) : Object.keys(i).length === 0 && (i = Re("time", "short")), new Intl.DateTimeFormat(r, i);
4155
4134
  }
4156
- ), _o = (e = {}) => {
4135
+ ), yo = (e = {}) => {
4157
4136
  var t = e, {
4158
4137
  locale: r = ce()
4159
- } = t, n = xe(t, [
4138
+ } = t, n = Be(t, [
4160
4139
  "locale"
4161
4140
  ]);
4162
- return go(It({ locale: r }, n));
4163
- }, Eo = (e = {}) => {
4141
+ return po(Nt({ locale: r }, n));
4142
+ }, wo = (e = {}) => {
4164
4143
  var t = e, {
4165
4144
  locale: r = ce()
4166
- } = t, n = xe(t, [
4145
+ } = t, n = Be(t, [
4167
4146
  "locale"
4168
4147
  ]);
4169
- return yo(It({ locale: r }, n));
4170
- }, To = (e = {}) => {
4148
+ return vo(Nt({ locale: r }, n));
4149
+ }, _o = (e = {}) => {
4171
4150
  var t = e, {
4172
4151
  locale: r = ce()
4173
- } = t, n = xe(t, [
4152
+ } = t, n = Be(t, [
4174
4153
  "locale"
4175
4154
  ]);
4176
- return wo(It({ locale: r }, n));
4177
- }, xo = tt(
4155
+ return go(Nt({ locale: r }, n));
4156
+ }, To = Ke(
4178
4157
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4179
- (e, t = ce()) => new Qi(e, t, _e().formats, {
4180
- ignoreTag: _e().ignoreTag
4158
+ (e, t = ce()) => new zi(e, t, Te().formats, {
4159
+ ignoreTag: Te().ignoreTag
4181
4160
  })
4182
- ), Bo = (e, t = {}) => {
4161
+ ), Eo = (e, t = {}) => {
4183
4162
  var r, n, i, o;
4184
4163
  let a = t;
4185
4164
  typeof e == "object" && (a = e, e = a.id);
@@ -4192,9 +4171,9 @@ const Me = (e, t) => {
4192
4171
  throw new Error(
4193
4172
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4194
4173
  );
4195
- let h = qr(e, l);
4174
+ let h = Xr(e, l);
4196
4175
  if (!h)
4197
- h = (o = (i = (n = (r = _e()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4176
+ h = (o = (i = (n = (r = Te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4198
4177
  else if (typeof h != "string")
4199
4178
  return console.warn(
4200
4179
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4203,7 +4182,7 @@ const Me = (e, t) => {
4203
4182
  return h;
4204
4183
  let f = h;
4205
4184
  try {
4206
- f = xo(h, l).format(s);
4185
+ f = To(h, l).format(s);
4207
4186
  } catch (c) {
4208
4187
  c instanceof Error && console.warn(
4209
4188
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4211,20 +4190,20 @@ const Me = (e, t) => {
4211
4190
  );
4212
4191
  }
4213
4192
  return f;
4214
- }, So = (e, t) => To(t).format(e), Co = (e, t) => Eo(t).format(e), Oo = (e, t) => _o(t).format(e), Po = (e, t = ce()) => qr(e, t), Ao = Ee([Te, De], () => Bo);
4215
- Ee([Te], () => So);
4216
- Ee([Te], () => Co);
4217
- Ee([Te], () => Oo);
4218
- Ee([Te, De], () => Po);
4193
+ }, xo = (e, t) => _o(t).format(e), Bo = (e, t) => wo(t).format(e), So = (e, t) => yo(t).format(e), Co = (e, t = ce()) => Xr(e, t), Po = Ee([xe, De], () => Eo);
4194
+ Ee([xe], () => xo);
4195
+ Ee([xe], () => Bo);
4196
+ Ee([xe], () => So);
4197
+ Ee([xe, De], () => Co);
4219
4198
  window.emWidgets = { topic: Fn };
4220
- const Ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
- function ur(e, t) {
4222
- Qr(e, t);
4199
+ const Oo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4200
+ function ar(e, t) {
4201
+ qr(e, t);
4223
4202
  }
4224
- function Mo(e) {
4225
- Te.set(e);
4203
+ function Ao(e) {
4204
+ xe.set(e);
4226
4205
  }
4227
- const lr = {
4206
+ const sr = {
4228
4207
  en: {
4229
4208
  date: "Granted date:",
4230
4209
  bonusName: "Bonus Name",
@@ -4501,13 +4480,13 @@ const lr = {
4501
4480
  oddsBoost: "Odds Boost"
4502
4481
  }
4503
4482
  };
4504
- function Ro(e, t) {
4483
+ function Ho(e, t) {
4505
4484
  if (e) {
4506
4485
  const r = document.createElement("style");
4507
4486
  r.innerHTML = t, e.appendChild(r);
4508
4487
  }
4509
4488
  }
4510
- function No(e, t) {
4489
+ function Mo(e, t) {
4511
4490
  const r = new URL(t);
4512
4491
  fetch(r.href).then((n) => n.text()).then((n) => {
4513
4492
  const i = document.createElement("style");
@@ -4516,7 +4495,7 @@ function No(e, t) {
4516
4495
  console.error("There was an error while trying to load client styling from URL", n);
4517
4496
  });
4518
4497
  }
4519
- function Do(e, t, r) {
4498
+ function Ro(e, t, r) {
4520
4499
  if (window.emMessageBus) {
4521
4500
  const n = document.createElement("style");
4522
4501
  window.emMessageBus.subscribe(t, (i) => {
@@ -4524,13 +4503,13 @@ function Do(e, t, r) {
4524
4503
  });
4525
4504
  }
4526
4505
  }
4527
- function Xe(e) {
4506
+ function Ye(e) {
4528
4507
  "@babel/helpers - typeof";
4529
- return Xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4508
+ return Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4530
4509
  return typeof t;
4531
4510
  } : function(t) {
4532
4511
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4533
- }, Xe(e);
4512
+ }, Ye(e);
4534
4513
  }
4535
4514
  function he(e) {
4536
4515
  if (e === null || e === !0 || e === !1)
@@ -4542,110 +4521,110 @@ function G(e, t) {
4542
4521
  if (t.length < e)
4543
4522
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4544
4523
  }
4545
- function K(e) {
4524
+ function J(e) {
4546
4525
  G(1, arguments);
4547
4526
  var t = Object.prototype.toString.call(e);
4548
- return e instanceof Date || Xe(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4527
+ return e instanceof Date || Ye(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4549
4528
  }
4550
- function Io(e, t) {
4529
+ function No(e, t) {
4551
4530
  G(2, arguments);
4552
- var r = K(e).getTime(), n = he(t);
4531
+ var r = J(e).getTime(), n = he(t);
4553
4532
  return new Date(r + n);
4554
4533
  }
4555
- var Lo = {};
4556
- function rt() {
4557
- return Lo;
4534
+ var Do = {};
4535
+ function et() {
4536
+ return Do;
4558
4537
  }
4559
- function Uo(e) {
4538
+ function Io(e) {
4560
4539
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4561
4540
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4562
4541
  }
4563
- function ko(e) {
4564
- return G(1, arguments), e instanceof Date || Xe(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4542
+ function Lo(e) {
4543
+ return G(1, arguments), e instanceof Date || Ye(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4565
4544
  }
4566
- function $o(e) {
4567
- if (G(1, arguments), !ko(e) && typeof e != "number")
4545
+ function Uo(e) {
4546
+ if (G(1, arguments), !Lo(e) && typeof e != "number")
4568
4547
  return !1;
4569
- var t = K(e);
4548
+ var t = J(e);
4570
4549
  return !isNaN(Number(t));
4571
4550
  }
4572
- function Fo(e, t) {
4551
+ function ko(e, t) {
4573
4552
  G(2, arguments);
4574
4553
  var r = he(t);
4575
- return Io(e, -r);
4554
+ return No(e, -r);
4576
4555
  }
4577
- var Go = 864e5;
4578
- function jo(e) {
4556
+ var $o = 864e5;
4557
+ function Fo(e) {
4579
4558
  G(1, arguments);
4580
- var t = K(e), r = t.getTime();
4559
+ var t = J(e), r = t.getTime();
4581
4560
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4582
4561
  var n = t.getTime(), i = r - n;
4583
- return Math.floor(i / Go) + 1;
4562
+ return Math.floor(i / $o) + 1;
4584
4563
  }
4585
- function qe(e) {
4564
+ function Xe(e) {
4586
4565
  G(1, arguments);
4587
- var t = 1, r = K(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4566
+ var t = 1, r = J(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4588
4567
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4589
4568
  }
4590
- function tn(e) {
4569
+ function en(e) {
4591
4570
  G(1, arguments);
4592
- var t = K(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4571
+ var t = J(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4593
4572
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4594
- var i = qe(n), o = /* @__PURE__ */ new Date(0);
4573
+ var i = Xe(n), o = /* @__PURE__ */ new Date(0);
4595
4574
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4596
- var a = qe(o);
4575
+ var a = Xe(o);
4597
4576
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4598
4577
  }
4599
- function Wo(e) {
4578
+ function Go(e) {
4600
4579
  G(1, arguments);
4601
- var t = tn(e), r = /* @__PURE__ */ new Date(0);
4580
+ var t = en(e), r = /* @__PURE__ */ new Date(0);
4602
4581
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4603
- var n = qe(r);
4582
+ var n = Xe(r);
4604
4583
  return n;
4605
4584
  }
4606
- var Vo = 6048e5;
4607
- function Yo(e) {
4585
+ var jo = 6048e5;
4586
+ function Wo(e) {
4608
4587
  G(1, arguments);
4609
- var t = K(e), r = qe(t).getTime() - Wo(t).getTime();
4610
- return Math.round(r / Vo) + 1;
4588
+ var t = J(e), r = Xe(t).getTime() - Go(t).getTime();
4589
+ return Math.round(r / jo) + 1;
4611
4590
  }
4612
4591
  function ze(e, t) {
4613
4592
  var r, n, i, o, a, s, l, u;
4614
4593
  G(1, arguments);
4615
- var h = rt(), f = he((r = (n = (i = (o = t?.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : h.weekStartsOn) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4594
+ var h = et(), f = he((r = (n = (i = (o = t?.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : h.weekStartsOn) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4616
4595
  if (!(f >= 0 && f <= 6))
4617
4596
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4618
- var c = K(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4597
+ var c = J(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4619
4598
  return c.setUTCDate(c.getUTCDate() - p), c.setUTCHours(0, 0, 0, 0), c;
4620
4599
  }
4621
- function rn(e, t) {
4600
+ function tn(e, t) {
4622
4601
  var r, n, i, o, a, s, l, u;
4623
4602
  G(1, arguments);
4624
- var h = K(e), f = h.getUTCFullYear(), c = rt(), d = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4603
+ var h = J(e), f = h.getUTCFullYear(), c = et(), d = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4625
4604
  if (!(d >= 1 && d <= 7))
4626
4605
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4627
4606
  var p = /* @__PURE__ */ new Date(0);
4628
4607
  p.setUTCFullYear(f + 1, 0, d), p.setUTCHours(0, 0, 0, 0);
4629
- var v = ze(p, t), B = /* @__PURE__ */ new Date(0);
4630
- B.setUTCFullYear(f, 0, d), B.setUTCHours(0, 0, 0, 0);
4631
- var L = ze(B, t);
4608
+ var v = ze(p, t), S = /* @__PURE__ */ new Date(0);
4609
+ S.setUTCFullYear(f, 0, d), S.setUTCHours(0, 0, 0, 0);
4610
+ var L = ze(S, t);
4632
4611
  return h.getTime() >= v.getTime() ? f + 1 : h.getTime() >= L.getTime() ? f : f - 1;
4633
4612
  }
4634
- function Xo(e, t) {
4613
+ function Vo(e, t) {
4635
4614
  var r, n, i, o, a, s, l, u;
4636
4615
  G(1, arguments);
4637
- var h = rt(), f = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : h.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), c = rn(e, t), d = /* @__PURE__ */ new Date(0);
4616
+ var h = et(), f = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : h.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), c = tn(e, t), d = /* @__PURE__ */ new Date(0);
4638
4617
  d.setUTCFullYear(c, 0, f), d.setUTCHours(0, 0, 0, 0);
4639
4618
  var p = ze(d, t);
4640
4619
  return p;
4641
4620
  }
4642
- var qo = 6048e5;
4643
- function zo(e, t) {
4621
+ var Yo = 6048e5;
4622
+ function Xo(e, t) {
4644
4623
  G(1, arguments);
4645
- var r = K(e), n = ze(r, t).getTime() - Xo(r, t).getTime();
4646
- return Math.round(n / qo) + 1;
4624
+ var r = J(e), n = ze(r, t).getTime() - Vo(r, t).getTime();
4625
+ return Math.round(n / Yo) + 1;
4647
4626
  }
4648
- function T(e, t) {
4627
+ function x(e, t) {
4649
4628
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
4650
4629
  n = "0" + n;
4651
4630
  return r + n;
@@ -4654,16 +4633,16 @@ var ie = {
4654
4633
  // Year
4655
4634
  y: function(t, r) {
4656
4635
  var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
4657
- return T(r === "yy" ? i % 100 : i, r.length);
4636
+ return x(r === "yy" ? i % 100 : i, r.length);
4658
4637
  },
4659
4638
  // Month
4660
4639
  M: function(t, r) {
4661
4640
  var n = t.getUTCMonth();
4662
- return r === "M" ? String(n + 1) : T(n + 1, 2);
4641
+ return r === "M" ? String(n + 1) : x(n + 1, 2);
4663
4642
  },
4664
4643
  // Day of the month
4665
4644
  d: function(t, r) {
4666
- return T(t.getUTCDate(), r.length);
4645
+ return x(t.getUTCDate(), r.length);
4667
4646
  },
4668
4647
  // AM or PM
4669
4648
  a: function(t, r) {
@@ -4683,33 +4662,35 @@ var ie = {
4683
4662
  },
4684
4663
  // Hour [1-12]
4685
4664
  h: function(t, r) {
4686
- return T(t.getUTCHours() % 12 || 12, r.length);
4665
+ return x(t.getUTCHours() % 12 || 12, r.length);
4687
4666
  },
4688
4667
  // Hour [0-23]
4689
4668
  H: function(t, r) {
4690
- return T(t.getUTCHours(), r.length);
4669
+ return x(t.getUTCHours(), r.length);
4691
4670
  },
4692
4671
  // Minute
4693
4672
  m: function(t, r) {
4694
- return T(t.getUTCMinutes(), r.length);
4673
+ return x(t.getUTCMinutes(), r.length);
4695
4674
  },
4696
4675
  // Second
4697
4676
  s: function(t, r) {
4698
- return T(t.getUTCSeconds(), r.length);
4677
+ return x(t.getUTCSeconds(), r.length);
4699
4678
  },
4700
4679
  // Fraction of second
4701
4680
  S: function(t, r) {
4702
4681
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4703
- return T(o, r.length);
4682
+ return x(o, r.length);
4704
4683
  }
4705
4684
  }, be = {
4685
+ am: "am",
4686
+ pm: "pm",
4706
4687
  midnight: "midnight",
4707
4688
  noon: "noon",
4708
4689
  morning: "morning",
4709
4690
  afternoon: "afternoon",
4710
4691
  evening: "evening",
4711
4692
  night: "night"
4712
- }, Qo = {
4693
+ }, zo = {
4713
4694
  // Era
4714
4695
  G: function(t, r, n) {
4715
4696
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4743,19 +4724,19 @@ var ie = {
4743
4724
  },
4744
4725
  // Local week-numbering year
4745
4726
  Y: function(t, r, n, i) {
4746
- var o = rn(t, i), a = o > 0 ? o : 1 - o;
4727
+ var o = tn(t, i), a = o > 0 ? o : 1 - o;
4747
4728
  if (r === "YY") {
4748
4729
  var s = a % 100;
4749
- return T(s, 2);
4730
+ return x(s, 2);
4750
4731
  }
4751
4732
  return r === "Yo" ? n.ordinalNumber(a, {
4752
4733
  unit: "year"
4753
- }) : T(a, r.length);
4734
+ }) : x(a, r.length);
4754
4735
  },
4755
4736
  // ISO week-numbering year
4756
4737
  R: function(t, r) {
4757
- var n = tn(t);
4758
- return T(n, r.length);
4738
+ var n = en(t);
4739
+ return x(n, r.length);
4759
4740
  },
4760
4741
  // Extended year. This is a single number designating the year of this calendar system.
4761
4742
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -4768,7 +4749,7 @@ var ie = {
4768
4749
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
4769
4750
  u: function(t, r) {
4770
4751
  var n = t.getUTCFullYear();
4771
- return T(n, r.length);
4752
+ return x(n, r.length);
4772
4753
  },
4773
4754
  // Quarter
4774
4755
  Q: function(t, r, n) {
@@ -4777,7 +4758,7 @@ var ie = {
4777
4758
  case "Q":
4778
4759
  return String(i);
4779
4760
  case "QQ":
4780
- return T(i, 2);
4761
+ return x(i, 2);
4781
4762
  case "Qo":
4782
4763
  return n.ordinalNumber(i, {
4783
4764
  unit: "quarter"
@@ -4807,7 +4788,7 @@ var ie = {
4807
4788
  case "q":
4808
4789
  return String(i);
4809
4790
  case "qq":
4810
- return T(i, 2);
4791
+ return x(i, 2);
4811
4792
  case "qo":
4812
4793
  return n.ordinalNumber(i, {
4813
4794
  unit: "quarter"
@@ -4866,7 +4847,7 @@ var ie = {
4866
4847
  case "L":
4867
4848
  return String(i + 1);
4868
4849
  case "LL":
4869
- return T(i + 1, 2);
4850
+ return x(i + 1, 2);
4870
4851
  case "Lo":
4871
4852
  return n.ordinalNumber(i + 1, {
4872
4853
  unit: "month"
@@ -4891,17 +4872,17 @@ var ie = {
4891
4872
  },
4892
4873
  // Local week of year
4893
4874
  w: function(t, r, n, i) {
4894
- var o = zo(t, i);
4875
+ var o = Xo(t, i);
4895
4876
  return r === "wo" ? n.ordinalNumber(o, {
4896
4877
  unit: "week"
4897
- }) : T(o, r.length);
4878
+ }) : x(o, r.length);
4898
4879
  },
4899
4880
  // ISO week of year
4900
4881
  I: function(t, r, n) {
4901
- var i = Yo(t);
4882
+ var i = Wo(t);
4902
4883
  return r === "Io" ? n.ordinalNumber(i, {
4903
4884
  unit: "week"
4904
- }) : T(i, r.length);
4885
+ }) : x(i, r.length);
4905
4886
  },
4906
4887
  // Day of the month
4907
4888
  d: function(t, r, n) {
@@ -4911,10 +4892,10 @@ var ie = {
4911
4892
  },
4912
4893
  // Day of year
4913
4894
  D: function(t, r, n) {
4914
- var i = jo(t);
4895
+ var i = Fo(t);
4915
4896
  return r === "Do" ? n.ordinalNumber(i, {
4916
4897
  unit: "dayOfYear"
4917
- }) : T(i, r.length);
4898
+ }) : x(i, r.length);
4918
4899
  },
4919
4900
  // Day of week
4920
4901
  E: function(t, r, n) {
@@ -4952,7 +4933,7 @@ var ie = {
4952
4933
  case "e":
4953
4934
  return String(a);
4954
4935
  case "ee":
4955
- return T(a, 2);
4936
+ return x(a, 2);
4956
4937
  case "eo":
4957
4938
  return n.ordinalNumber(a, {
4958
4939
  unit: "day"
@@ -4987,7 +4968,7 @@ var ie = {
4987
4968
  case "c":
4988
4969
  return String(a);
4989
4970
  case "cc":
4990
- return T(a, r.length);
4971
+ return x(a, r.length);
4991
4972
  case "co":
4992
4973
  return n.ordinalNumber(a, {
4993
4974
  unit: "day"
@@ -5022,7 +5003,7 @@ var ie = {
5022
5003
  case "i":
5023
5004
  return String(o);
5024
5005
  case "ii":
5025
- return T(o, r.length);
5006
+ return x(o, r.length);
5026
5007
  case "io":
5027
5008
  return n.ordinalNumber(o, {
5028
5009
  unit: "day"
@@ -5151,14 +5132,14 @@ var ie = {
5151
5132
  var i = t.getUTCHours() % 12;
5152
5133
  return r === "Ko" ? n.ordinalNumber(i, {
5153
5134
  unit: "hour"
5154
- }) : T(i, r.length);
5135
+ }) : x(i, r.length);
5155
5136
  },
5156
5137
  // Hour [1-24]
5157
5138
  k: function(t, r, n) {
5158
5139
  var i = t.getUTCHours();
5159
5140
  return i === 0 && (i = 24), r === "ko" ? n.ordinalNumber(i, {
5160
5141
  unit: "hour"
5161
- }) : T(i, r.length);
5142
+ }) : x(i, r.length);
5162
5143
  },
5163
5144
  // Minute
5164
5145
  m: function(t, r, n) {
@@ -5183,7 +5164,7 @@ var ie = {
5183
5164
  return "Z";
5184
5165
  switch (r) {
5185
5166
  case "X":
5186
- return cr(a);
5167
+ return lr(a);
5187
5168
  case "XXXX":
5188
5169
  case "XX":
5189
5170
  return le(a);
@@ -5198,7 +5179,7 @@ var ie = {
5198
5179
  var o = i._originalDate || t, a = o.getTimezoneOffset();
5199
5180
  switch (r) {
5200
5181
  case "x":
5201
- return cr(a);
5182
+ return lr(a);
5202
5183
  case "xxxx":
5203
5184
  case "xx":
5204
5185
  return le(a);
@@ -5215,7 +5196,7 @@ var ie = {
5215
5196
  case "O":
5216
5197
  case "OO":
5217
5198
  case "OOO":
5218
- return "GMT" + hr(a, ":");
5199
+ return "GMT" + ur(a, ":");
5219
5200
  case "OOOO":
5220
5201
  default:
5221
5202
  return "GMT" + le(a, ":");
@@ -5228,7 +5209,7 @@ var ie = {
5228
5209
  case "z":
5229
5210
  case "zz":
5230
5211
  case "zzz":
5231
- return "GMT" + hr(a, ":");
5212
+ return "GMT" + ur(a, ":");
5232
5213
  case "zzzz":
5233
5214
  default:
5234
5215
  return "GMT" + le(a, ":");
@@ -5237,33 +5218,33 @@ var ie = {
5237
5218
  // Seconds timestamp
5238
5219
  t: function(t, r, n, i) {
5239
5220
  var o = i._originalDate || t, a = Math.floor(o.getTime() / 1e3);
5240
- return T(a, r.length);
5221
+ return x(a, r.length);
5241
5222
  },
5242
5223
  // Milliseconds timestamp
5243
5224
  T: function(t, r, n, i) {
5244
5225
  var o = i._originalDate || t, a = o.getTime();
5245
- return T(a, r.length);
5226
+ return x(a, r.length);
5246
5227
  }
5247
5228
  };
5248
- function hr(e, t) {
5229
+ function ur(e, t) {
5249
5230
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
5250
5231
  if (o === 0)
5251
5232
  return r + String(i);
5252
5233
  var a = t;
5253
- return r + String(i) + a + T(o, 2);
5234
+ return r + String(i) + a + x(o, 2);
5254
5235
  }
5255
- function cr(e, t) {
5236
+ function lr(e, t) {
5256
5237
  if (e % 60 === 0) {
5257
5238
  var r = e > 0 ? "-" : "+";
5258
- return r + T(Math.abs(e) / 60, 2);
5239
+ return r + x(Math.abs(e) / 60, 2);
5259
5240
  }
5260
5241
  return le(e, t);
5261
5242
  }
5262
5243
  function le(e, t) {
5263
- var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5244
+ var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = x(Math.floor(i / 60), 2), a = x(i % 60, 2);
5264
5245
  return n + o + r + a;
5265
5246
  }
5266
- var fr = function(t, r) {
5247
+ var hr = function(t, r) {
5267
5248
  switch (t) {
5268
5249
  case "P":
5269
5250
  return r.date({
@@ -5283,7 +5264,7 @@ var fr = function(t, r) {
5283
5264
  width: "full"
5284
5265
  });
5285
5266
  }
5286
- }, nn = function(t, r) {
5267
+ }, rn = function(t, r) {
5287
5268
  switch (t) {
5288
5269
  case "p":
5289
5270
  return r.time({
@@ -5303,10 +5284,10 @@ var fr = function(t, r) {
5303
5284
  width: "full"
5304
5285
  });
5305
5286
  }
5306
- }, Zo = function(t, r) {
5287
+ }, qo = function(t, r) {
5307
5288
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5308
5289
  if (!o)
5309
- return fr(t, r);
5290
+ return hr(t, r);
5310
5291
  var a;
5311
5292
  switch (i) {
5312
5293
  case "P":
@@ -5331,18 +5312,18 @@ var fr = function(t, r) {
5331
5312
  });
5332
5313
  break;
5333
5314
  }
5334
- return a.replace("{{date}}", fr(i, r)).replace("{{time}}", nn(o, r));
5335
- }, Jo = {
5336
- p: nn,
5337
- P: Zo
5338
- }, Ko = ["D", "DD"], ea = ["YY", "YYYY"];
5339
- function ta(e) {
5340
- return Ko.indexOf(e) !== -1;
5341
- }
5342
- function ra(e) {
5343
- return ea.indexOf(e) !== -1;
5344
- }
5345
- function dr(e, t, r) {
5315
+ return a.replace("{{date}}", hr(i, r)).replace("{{time}}", rn(o, r));
5316
+ }, Qo = {
5317
+ p: rn,
5318
+ P: qo
5319
+ }, Zo = ["D", "DD"], Jo = ["YY", "YYYY"];
5320
+ function Ko(e) {
5321
+ return Zo.indexOf(e) !== -1;
5322
+ }
5323
+ function ea(e) {
5324
+ return Jo.indexOf(e) !== -1;
5325
+ }
5326
+ function cr(e, t, r) {
5346
5327
  if (e === "YYYY")
5347
5328
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t, "`) for formatting years to the input `").concat(r, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
5348
5329
  if (e === "YY")
@@ -5352,7 +5333,7 @@ function dr(e, t, r) {
5352
5333
  if (e === "DD")
5353
5334
  throw new RangeError("Use `dd` instead of `DD` (in `".concat(t, "`) for formatting days of the month to the input `").concat(r, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
5354
5335
  }
5355
- var na = {
5336
+ var ta = {
5356
5337
  lessThanXSeconds: {
5357
5338
  one: "less than a second",
5358
5339
  other: "less than {{count}} seconds"
@@ -5414,55 +5395,55 @@ var na = {
5414
5395
  one: "almost 1 year",
5415
5396
  other: "almost {{count}} years"
5416
5397
  }
5417
- }, ia = function(t, r, n) {
5418
- var i, o = na[t];
5398
+ }, ra = function(t, r, n) {
5399
+ var i, o = ta[t];
5419
5400
  return typeof o == "string" ? i = o : r === 1 ? i = o.one : i = o.other.replace("{{count}}", r.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
5420
5401
  };
5421
- function bt(e) {
5402
+ function dt(e) {
5422
5403
  return function() {
5423
5404
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = t.width ? String(t.width) : e.defaultWidth, n = e.formats[r] || e.formats[e.defaultWidth];
5424
5405
  return n;
5425
5406
  };
5426
5407
  }
5427
- var oa = {
5408
+ var na = {
5428
5409
  full: "EEEE, MMMM do, y",
5429
5410
  long: "MMMM do, y",
5430
5411
  medium: "MMM d, y",
5431
5412
  short: "MM/dd/yyyy"
5432
- }, aa = {
5413
+ }, ia = {
5433
5414
  full: "h:mm:ss a zzzz",
5434
5415
  long: "h:mm:ss a z",
5435
5416
  medium: "h:mm:ss a",
5436
5417
  short: "h:mm a"
5437
- }, sa = {
5418
+ }, oa = {
5438
5419
  full: "{{date}} 'at' {{time}}",
5439
5420
  long: "{{date}} 'at' {{time}}",
5440
5421
  medium: "{{date}}, {{time}}",
5441
5422
  short: "{{date}}, {{time}}"
5442
- }, ua = {
5443
- date: bt({
5444
- formats: oa,
5423
+ }, aa = {
5424
+ date: dt({
5425
+ formats: na,
5445
5426
  defaultWidth: "full"
5446
5427
  }),
5447
- time: bt({
5448
- formats: aa,
5428
+ time: dt({
5429
+ formats: ia,
5449
5430
  defaultWidth: "full"
5450
5431
  }),
5451
- dateTime: bt({
5452
- formats: sa,
5432
+ dateTime: dt({
5433
+ formats: oa,
5453
5434
  defaultWidth: "full"
5454
5435
  })
5455
- }, la = {
5436
+ }, sa = {
5456
5437
  lastWeek: "'last' eeee 'at' p",
5457
5438
  yesterday: "'yesterday at' p",
5458
5439
  today: "'today at' p",
5459
5440
  tomorrow: "'tomorrow at' p",
5460
5441
  nextWeek: "eeee 'at' p",
5461
5442
  other: "P"
5462
- }, ha = function(t, r, n, i) {
5463
- return la[t];
5443
+ }, ua = function(t, r, n, i) {
5444
+ return sa[t];
5464
5445
  };
5465
- function Ce(e) {
5446
+ function Pe(e) {
5466
5447
  return function(t, r) {
5467
5448
  var n = r != null && r.context ? String(r.context) : "standalone", i;
5468
5449
  if (n === "formatting" && e.formattingValues) {
@@ -5476,24 +5457,24 @@ function Ce(e) {
5476
5457
  return i[u];
5477
5458
  };
5478
5459
  }
5479
- var ca = {
5460
+ var la = {
5480
5461
  narrow: ["B", "A"],
5481
5462
  abbreviated: ["BC", "AD"],
5482
5463
  wide: ["Before Christ", "Anno Domini"]
5483
- }, fa = {
5464
+ }, ha = {
5484
5465
  narrow: ["1", "2", "3", "4"],
5485
5466
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5486
5467
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5487
- }, da = {
5468
+ }, ca = {
5488
5469
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5489
5470
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5490
5471
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5491
- }, ma = {
5472
+ }, fa = {
5492
5473
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5493
5474
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5494
5475
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5495
5476
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5496
- }, ba = {
5477
+ }, da = {
5497
5478
  narrow: {
5498
5479
  am: "a",
5499
5480
  pm: "p",
@@ -5524,7 +5505,7 @@ var ca = {
5524
5505
  evening: "evening",
5525
5506
  night: "night"
5526
5507
  }
5527
- }, pa = {
5508
+ }, ma = {
5528
5509
  narrow: {
5529
5510
  am: "a",
5530
5511
  pm: "p",
@@ -5555,7 +5536,7 @@ var ca = {
5555
5536
  evening: "in the evening",
5556
5537
  night: "at night"
5557
5538
  }
5558
- }, va = function(t, r) {
5539
+ }, ba = function(t, r) {
5559
5540
  var n = Number(t), i = n % 100;
5560
5541
  if (i > 20 || i < 10)
5561
5542
  switch (i % 10) {
@@ -5567,31 +5548,31 @@ var ca = {
5567
5548
  return n + "rd";
5568
5549
  }
5569
5550
  return n + "th";
5570
- }, ga = {
5571
- ordinalNumber: va,
5572
- era: Ce({
5573
- values: ca,
5551
+ }, pa = {
5552
+ ordinalNumber: ba,
5553
+ era: Pe({
5554
+ values: la,
5574
5555
  defaultWidth: "wide"
5575
5556
  }),
5576
- quarter: Ce({
5577
- values: fa,
5557
+ quarter: Pe({
5558
+ values: ha,
5578
5559
  defaultWidth: "wide",
5579
5560
  argumentCallback: function(t) {
5580
5561
  return t - 1;
5581
5562
  }
5582
5563
  }),
5583
- month: Ce({
5584
- values: da,
5564
+ month: Pe({
5565
+ values: ca,
5585
5566
  defaultWidth: "wide"
5586
5567
  }),
5587
- day: Ce({
5588
- values: ma,
5568
+ day: Pe({
5569
+ values: fa,
5589
5570
  defaultWidth: "wide"
5590
5571
  }),
5591
- dayPeriod: Ce({
5592
- values: ba,
5572
+ dayPeriod: Pe({
5573
+ values: da,
5593
5574
  defaultWidth: "wide",
5594
- formattingValues: pa,
5575
+ formattingValues: ma,
5595
5576
  defaultFormattingWidth: "wide"
5596
5577
  })
5597
5578
  };
@@ -5600,9 +5581,9 @@ function Oe(e) {
5600
5581
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
5601
5582
  if (!o)
5602
5583
  return null;
5603
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? wa(s, function(f) {
5584
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? ga(s, function(f) {
5604
5585
  return f.test(a);
5605
- }) : ya(s, function(f) {
5586
+ }) : va(s, function(f) {
5606
5587
  return f.test(a);
5607
5588
  }), u;
5608
5589
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5613,17 +5594,17 @@ function Oe(e) {
5613
5594
  };
5614
5595
  };
5615
5596
  }
5616
- function ya(e, t) {
5597
+ function va(e, t) {
5617
5598
  for (var r in e)
5618
5599
  if (e.hasOwnProperty(r) && t(e[r]))
5619
5600
  return r;
5620
5601
  }
5621
- function wa(e, t) {
5602
+ function ga(e, t) {
5622
5603
  for (var r = 0; r < e.length; r++)
5623
5604
  if (t(e[r]))
5624
5605
  return r;
5625
5606
  }
5626
- function _a(e) {
5607
+ function ya(e) {
5627
5608
  return function(t) {
5628
5609
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5629
5610
  if (!n)
@@ -5640,37 +5621,37 @@ function _a(e) {
5640
5621
  };
5641
5622
  };
5642
5623
  }
5643
- var Ea = /^(\d+)(th|st|nd|rd)?/i, Ta = /\d+/i, xa = {
5624
+ var wa = /^(\d+)(th|st|nd|rd)?/i, _a = /\d+/i, Ta = {
5644
5625
  narrow: /^(b|a)/i,
5645
5626
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5646
5627
  wide: /^(before christ|before common era|anno domini|common era)/i
5647
- }, Ba = {
5628
+ }, Ea = {
5648
5629
  any: [/^b/i, /^(a|c)/i]
5649
- }, Sa = {
5630
+ }, xa = {
5650
5631
  narrow: /^[1234]/i,
5651
5632
  abbreviated: /^q[1234]/i,
5652
5633
  wide: /^[1234](th|st|nd|rd)? quarter/i
5653
- }, Ca = {
5634
+ }, Ba = {
5654
5635
  any: [/1/i, /2/i, /3/i, /4/i]
5655
- }, Oa = {
5636
+ }, Sa = {
5656
5637
  narrow: /^[jfmasond]/i,
5657
5638
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5658
5639
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5659
- }, Pa = {
5640
+ }, Ca = {
5660
5641
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
5661
5642
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
5662
- }, Aa = {
5643
+ }, Pa = {
5663
5644
  narrow: /^[smtwf]/i,
5664
5645
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5665
5646
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5666
5647
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5667
- }, Ha = {
5648
+ }, Oa = {
5668
5649
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5669
5650
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5670
- }, Ma = {
5651
+ }, Aa = {
5671
5652
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5672
5653
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5673
- }, Ra = {
5654
+ }, Ha = {
5674
5655
  any: {
5675
5656
  am: /^a/i,
5676
5657
  pm: /^p/i,
@@ -5681,114 +5662,114 @@ var Ea = /^(\d+)(th|st|nd|rd)?/i, Ta = /\d+/i, xa = {
5681
5662
  evening: /evening/i,
5682
5663
  night: /night/i
5683
5664
  }
5684
- }, Na = {
5685
- ordinalNumber: _a({
5686
- matchPattern: Ea,
5687
- parsePattern: Ta,
5665
+ }, Ma = {
5666
+ ordinalNumber: ya({
5667
+ matchPattern: wa,
5668
+ parsePattern: _a,
5688
5669
  valueCallback: function(t) {
5689
5670
  return parseInt(t, 10);
5690
5671
  }
5691
5672
  }),
5692
5673
  era: Oe({
5693
- matchPatterns: xa,
5674
+ matchPatterns: Ta,
5694
5675
  defaultMatchWidth: "wide",
5695
- parsePatterns: Ba,
5676
+ parsePatterns: Ea,
5696
5677
  defaultParseWidth: "any"
5697
5678
  }),
5698
5679
  quarter: Oe({
5699
- matchPatterns: Sa,
5680
+ matchPatterns: xa,
5700
5681
  defaultMatchWidth: "wide",
5701
- parsePatterns: Ca,
5682
+ parsePatterns: Ba,
5702
5683
  defaultParseWidth: "any",
5703
5684
  valueCallback: function(t) {
5704
5685
  return t + 1;
5705
5686
  }
5706
5687
  }),
5707
5688
  month: Oe({
5708
- matchPatterns: Oa,
5689
+ matchPatterns: Sa,
5709
5690
  defaultMatchWidth: "wide",
5710
- parsePatterns: Pa,
5691
+ parsePatterns: Ca,
5711
5692
  defaultParseWidth: "any"
5712
5693
  }),
5713
5694
  day: Oe({
5714
- matchPatterns: Aa,
5695
+ matchPatterns: Pa,
5715
5696
  defaultMatchWidth: "wide",
5716
- parsePatterns: Ha,
5697
+ parsePatterns: Oa,
5717
5698
  defaultParseWidth: "any"
5718
5699
  }),
5719
5700
  dayPeriod: Oe({
5720
- matchPatterns: Ma,
5701
+ matchPatterns: Aa,
5721
5702
  defaultMatchWidth: "any",
5722
- parsePatterns: Ra,
5703
+ parsePatterns: Ha,
5723
5704
  defaultParseWidth: "any"
5724
5705
  })
5725
- }, Da = {
5706
+ }, Ra = {
5726
5707
  code: "en-US",
5727
- formatDistance: ia,
5728
- formatLong: ua,
5729
- formatRelative: ha,
5730
- localize: ga,
5731
- match: Na,
5708
+ formatDistance: ra,
5709
+ formatLong: aa,
5710
+ formatRelative: ua,
5711
+ localize: pa,
5712
+ match: Ma,
5732
5713
  options: {
5733
5714
  weekStartsOn: 0,
5734
5715
  firstWeekContainsDate: 1
5735
5716
  }
5736
- }, Ia = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, La = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ua = /^'([^]*?)'?$/, ka = /''/g, $a = /[a-zA-Z]/;
5737
- function mr(e, t, r) {
5738
- var n, i, o, a, s, l, u, h, f, c, d, p, v, B;
5717
+ }, Na = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Da = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ia = /^'([^]*?)'?$/, La = /''/g, Ua = /[a-zA-Z]/;
5718
+ function fr(e, t, r) {
5719
+ var n, i, o, a, s, l, u, h, f, c, d, p, v, S;
5739
5720
  G(2, arguments);
5740
- var L = String(t), O = rt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : O.locale) !== null && n !== void 0 ? n : Da, U = he((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : O.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = O.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5721
+ var L = String(t), P = et(), E = (n = (i = void 0) !== null && i !== void 0 ? i : P.locale) !== null && n !== void 0 ? n : Ra, U = he((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : P.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = P.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5741
5722
  if (!(U >= 1 && U <= 7))
5742
5723
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5743
- var A = he((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : O.weekStartsOn) !== null && c !== void 0 ? c : (v = O.locale) === null || v === void 0 || (B = v.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && f !== void 0 ? f : 0);
5724
+ var A = he((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : P.weekStartsOn) !== null && c !== void 0 ? c : (v = P.locale) === null || v === void 0 || (S = v.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && f !== void 0 ? f : 0);
5744
5725
  if (!(A >= 0 && A <= 6))
5745
5726
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5746
5727
  if (!E.localize)
5747
5728
  throw new RangeError("locale must contain localize property");
5748
5729
  if (!E.formatLong)
5749
5730
  throw new RangeError("locale must contain formatLong property");
5750
- var $ = K(e);
5751
- if (!$o($))
5731
+ var $ = J(e);
5732
+ if (!Uo($))
5752
5733
  throw new RangeError("Invalid time value");
5753
- var k = Uo($), ne = Fo($, k), se = {
5734
+ var k = Io($), ne = ko($, k), se = {
5754
5735
  firstWeekContainsDate: U,
5755
5736
  weekStartsOn: A,
5756
5737
  locale: E,
5757
5738
  _originalDate: $
5758
- }, ee = L.match(La).map(function(H) {
5739
+ }, K = L.match(Da).map(function(H) {
5759
5740
  var N = H[0];
5760
5741
  if (N === "p" || N === "P") {
5761
- var z = Jo[N];
5762
- return z(H, E.formatLong);
5742
+ var q = Qo[N];
5743
+ return q(H, E.formatLong);
5763
5744
  }
5764
5745
  return H;
5765
- }).join("").match(Ia).map(function(H) {
5746
+ }).join("").match(Na).map(function(H) {
5766
5747
  if (H === "''")
5767
5748
  return "'";
5768
5749
  var N = H[0];
5769
5750
  if (N === "'")
5770
- return Fa(H);
5771
- var z = Qo[N];
5772
- if (z)
5773
- return ra(H) && dr(H, t, String(e)), ta(H) && dr(H, t, String(e)), z(ne, H, E.localize, se);
5774
- if (N.match($a))
5751
+ return ka(H);
5752
+ var q = zo[N];
5753
+ if (q)
5754
+ return ea(H) && cr(H, t, String(e)), Ko(H) && cr(H, t, String(e)), q(ne, H, E.localize, se);
5755
+ if (N.match(Ua))
5775
5756
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
5776
5757
  return H;
5777
5758
  }).join("");
5778
- return ee;
5759
+ return K;
5779
5760
  }
5780
- function Fa(e) {
5781
- var t = e.match(Ua);
5782
- return t ? t[1].replace(ka, "'") : e;
5761
+ function ka(e) {
5762
+ var t = e.match(Ia);
5763
+ return t ? t[1].replace(La, "'") : e;
5783
5764
  }
5784
- function Ga(e) {
5785
- sn(e, "svelte-15xuos2", ".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}");
5765
+ function $a(e) {
5766
+ an(e, "svelte-15xuos2", ".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}");
5786
5767
  }
5787
- function br(e) {
5768
+ function dr(e) {
5788
5769
  let t, r, n;
5789
5770
  return {
5790
5771
  c() {
5791
- t = x("div"), r = x("img"), g(r, "class", "BonusImage"), $t(r.src, n = /*termsandconditionsasset*/
5772
+ t = B("div"), r = B("img"), g(r, "class", "BonusImage"), Ut(r.src, n = /*termsandconditionsasset*/
5792
5773
  e[9]) || g(r, "src", n), g(
5793
5774
  r,
5794
5775
  "alt",
@@ -5801,7 +5782,7 @@ function br(e) {
5801
5782
  },
5802
5783
  p(i, o) {
5803
5784
  o & /*termsandconditionsasset*/
5804
- 512 && !$t(r.src, n = /*termsandconditionsasset*/
5785
+ 512 && !Ut(r.src, n = /*termsandconditionsasset*/
5805
5786
  i[9]) && g(r, "src", n), o & /*termsandconditionsdescription*/
5806
5787
  1024 && g(
5807
5788
  r,
@@ -5811,11 +5792,11 @@ function br(e) {
5811
5792
  );
5812
5793
  },
5813
5794
  d(i) {
5814
- i && re(t);
5795
+ i && te(t);
5815
5796
  }
5816
5797
  };
5817
5798
  }
5818
- function pr(e) {
5799
+ function mr(e) {
5819
5800
  let t, r, n = (
5820
5801
  /*$_*/
5821
5802
  e[16]("bonusAmount") + ""
@@ -5828,7 +5809,7 @@ function pr(e) {
5828
5809
  ), h, f;
5829
5810
  return {
5830
5811
  c() {
5831
- t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5812
+ t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5832
5813
  /*bonusamount*/
5833
5814
  e[4]
5834
5815
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5855,11 +5836,11 @@ function pr(e) {
5855
5836
  c[16]("bonusAmount")}`) && g(t, "class", f);
5856
5837
  },
5857
5838
  d(c) {
5858
- c && re(t);
5839
+ c && te(t);
5859
5840
  }
5860
5841
  };
5861
5842
  }
5862
- function vr(e) {
5843
+ function br(e) {
5863
5844
  let t, r, n = (
5864
5845
  /*$_*/
5865
5846
  e[16]("wageringAmount") + ""
@@ -5872,7 +5853,7 @@ function vr(e) {
5872
5853
  ), h, f;
5873
5854
  return {
5874
5855
  c() {
5875
- t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5856
+ t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5876
5857
  /*bonuswageringamount*/
5877
5858
  e[5]
5878
5859
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5901,11 +5882,11 @@ function vr(e) {
5901
5882
  c[3]}`) && g(t, "class", f);
5902
5883
  },
5903
5884
  d(c) {
5904
- c && re(t);
5885
+ c && te(t);
5905
5886
  }
5906
5887
  };
5907
5888
  }
5908
- function gr(e) {
5889
+ function pr(e) {
5909
5890
  let t, r, n = (
5910
5891
  /*$_*/
5911
5892
  e[16]("remainingBonus") + ""
@@ -5918,7 +5899,7 @@ function gr(e) {
5918
5899
  ), h, f;
5919
5900
  return {
5920
5901
  c() {
5921
- t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5902
+ t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5922
5903
  /*bonusremainingamount*/
5923
5904
  e[6]
5924
5905
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5945,18 +5926,18 @@ function gr(e) {
5945
5926
  c[16]("remainingBonus")}`) && g(t, "class", f);
5946
5927
  },
5947
5928
  d(c) {
5948
- c && re(t);
5929
+ c && te(t);
5949
5930
  }
5950
5931
  };
5951
5932
  }
5952
- function yr(e) {
5933
+ function vr(e) {
5953
5934
  let t, r, n = (
5954
5935
  /*$_*/
5955
5936
  e[16]("termsConditionsLink") + ""
5956
5937
  ), i, o;
5957
5938
  return {
5958
5939
  c() {
5959
- t = x("div"), r = x("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5940
+ t = B("div"), r = B("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5960
5941
  r,
5961
5942
  "href",
5962
5943
  /*termsandconditionsurl*/
@@ -5981,22 +5962,22 @@ function yr(e) {
5981
5962
  a[16]("termsConditionsLink")}`) && g(t, "class", o);
5982
5963
  },
5983
5964
  d(a) {
5984
- a && re(t);
5965
+ a && te(t);
5985
5966
  }
5986
5967
  };
5987
5968
  }
5988
- function wr(e) {
5969
+ function gr(e) {
5989
5970
  let t, r = (
5990
5971
  /*$_*/
5991
5972
  e[16]("forfeitBonusButton") + ""
5992
5973
  ), n, i, o;
5993
5974
  return {
5994
5975
  c() {
5995
- t = x("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
5976
+ t = B("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
5996
5977
  (e[17] ? "DeleteBonusMobile" : ""));
5997
5978
  },
5998
5979
  m(a, s) {
5999
- ae(a, t, s), m(t, n), i || (o = hn(
5980
+ ae(a, t, s), m(t, n), i || (o = ln(
6000
5981
  t,
6001
5982
  "click",
6002
5983
  /*deleteBonus*/
@@ -6009,15 +5990,15 @@ function wr(e) {
6009
5990
  a[16]("forfeitBonusButton") + "") && I(n, r);
6010
5991
  },
6011
5992
  d(a) {
6012
- a && re(t), i = !1, o();
5993
+ a && te(t), i = !1, o();
6013
5994
  }
6014
5995
  };
6015
5996
  }
6016
- function ja(e) {
5997
+ function Fa(e) {
6017
5998
  let t, r, n, i, o = (
6018
5999
  /*$_*/
6019
6000
  e[16]("date") + ""
6020
- ), a, s, l, u = mr(new Date(
6001
+ ), a, s, l, u = fr(new Date(
6021
6002
  /*bonusdate*/
6022
6003
  e[0]
6023
6004
  ), `${/*dateformat*/
@@ -6028,57 +6009,57 @@ function ja(e) {
6028
6009
  /*$_*/
6029
6010
  e[16](`${/*bonusstatus*/
6030
6011
  e[1]}`) + ""
6031
- ), p, v, B, L, O, E, U, A = (
6012
+ ), p, v, S, L, P, E, U, A = (
6032
6013
  /*$_*/
6033
6014
  e[16]("bonusName") + ""
6034
- ), $, k, ne, se, ee, H, N, z, fe = (
6015
+ ), $, k, ne, se, K, H, N, q, fe = (
6035
6016
  /*$_*/
6036
6017
  e[16]("bonusType") + ""
6037
- ), Be, b, Q, ue = (
6018
+ ), Se, b, Q, ue = (
6038
6019
  /*$_*/
6039
6020
  e[16](`${/*bonustype*/
6040
6021
  e[3]}`) + ""
6041
- ), nt, Ie, Lt, it, ot, at, Ut, j = (
6022
+ ), tt, Ie, Dt, rt, nt, it, It, j = (
6042
6023
  /*showBonusImage*/
6043
- e[15] === !0 && br(e)
6024
+ e[15] === !0 && dr(e)
6044
6025
  ), W = (
6045
6026
  /*bonusamount*/
6046
- e[4] && pr(e)
6027
+ e[4] && mr(e)
6047
6028
  ), V = (
6048
6029
  /*bonuswageringamount*/
6049
- e[5] && vr(e)
6030
+ e[5] && br(e)
6050
6031
  ), Y = (
6051
6032
  /*bonusremainingamount*/
6052
- e[6] && gr(e)
6033
+ e[6] && pr(e)
6053
6034
  ), X = (
6054
6035
  /*showtermsandconditions*/
6055
- e[14] && yr(e)
6056
- ), q = (
6036
+ e[14] && vr(e)
6037
+ ), z = (
6057
6038
  /*bonusstatus*/
6058
- e[1] === "active" && wr(e)
6039
+ e[1] === "active" && gr(e)
6059
6040
  );
6060
6041
  return {
6061
6042
  c() {
6062
- t = x("div"), r = x("div"), n = x("div"), i = x("p"), a = R(o), s = D(), l = x("span"), h = R(u), f = D(), c = x("p"), p = R(d), L = D(), j && j.c(), O = D(), E = x("div"), U = x("p"), $ = R(A), k = D(), ne = x("p"), se = R(
6043
+ t = B("div"), r = B("div"), n = B("div"), i = B("p"), a = R(o), s = D(), l = B("span"), h = R(u), f = D(), c = B("p"), p = R(d), L = D(), j && j.c(), P = D(), E = B("div"), U = B("p"), $ = R(A), k = D(), ne = B("p"), se = R(
6063
6044
  /*bonusname*/
6064
6045
  e[2]
6065
- ), H = D(), N = x("div"), z = x("p"), Be = R(fe), b = D(), Q = x("p"), nt = R(ue), Lt = D(), W && W.c(), it = D(), V && V.c(), ot = D(), Y && Y.c(), at = D(), X && X.c(), Ut = D(), q && q.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6046
+ ), H = D(), N = B("div"), q = B("p"), Se = R(fe), b = D(), Q = B("p"), tt = R(ue), Dt = D(), W && W.c(), rt = D(), V && V.c(), nt = D(), Y && Y.c(), it = D(), X && X.c(), It = D(), z && z.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6066
6047
  (e[1] === "active" || /*bonusstatus*/
6067
6048
  e[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6068
6049
  (e[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6069
- (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", B = `BonusCardRow Date ${/*$_*/
6070
- e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ne, "class", "BonusCardRowText"), g(E, "class", ee = `BonusCardRow ${/*$_*/
6071
- e[16]("bonusName")}`), g(z, "class", "BonusCardRowTitle"), g(Q, "class", "BonusCardRowText TextCapitalize"), g(N, "class", Ie = `BonusCardRow ${/*$_*/
6050
+ (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", S = `BonusCardRow Date ${/*$_*/
6051
+ e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ne, "class", "BonusCardRowText"), g(E, "class", K = `BonusCardRow ${/*$_*/
6052
+ e[16]("bonusName")}`), g(q, "class", "BonusCardRowTitle"), g(Q, "class", "BonusCardRowText TextCapitalize"), g(N, "class", Ie = `BonusCardRow ${/*$_*/
6072
6053
  e[16]("bonusType")}`), g(r, "class", "BonusCardInfo"), g(t, "class", "BonusCard");
6073
6054
  },
6074
6055
  m(y, M) {
6075
- ae(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, O), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ne), m(ne, se), m(r, H), m(r, N), m(N, z), m(z, Be), m(N, b), m(N, Q), m(Q, nt), m(r, Lt), W && W.m(r, null), m(r, it), V && V.m(r, null), m(r, ot), Y && Y.m(r, null), m(r, at), X && X.m(r, null), m(t, Ut), q && q.m(t, null), e[25](t);
6056
+ ae(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, P), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ne), m(ne, se), m(r, H), m(r, N), m(N, q), m(q, Se), m(N, b), m(N, Q), m(Q, tt), m(r, Dt), W && W.m(r, null), m(r, rt), V && V.m(r, null), m(r, nt), Y && Y.m(r, null), m(r, it), X && X.m(r, null), m(t, It), z && z.m(t, null), e[25](t);
6076
6057
  },
6077
6058
  p(y, [M]) {
6078
6059
  M & /*$_*/
6079
6060
  65536 && o !== (o = /*$_*/
6080
6061
  y[16]("date") + "") && I(a, o), M & /*bonusdate, dateformat*/
6081
- 4097 && u !== (u = mr(new Date(
6062
+ 4097 && u !== (u = fr(new Date(
6082
6063
  /*bonusdate*/
6083
6064
  y[0]
6084
6065
  ), `${/*dateformat*/
@@ -6094,9 +6075,9 @@ function ja(e) {
6094
6075
  y[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6095
6076
  (y[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6096
6077
  (y[1] === "forfeited" ? "StatusForfeited" : "")) && g(c, "class", v), M & /*$_*/
6097
- 65536 && B !== (B = `BonusCardRow Date ${/*$_*/
6098
- y[16]("date")}`) && g(n, "class", B), /*showBonusImage*/
6099
- y[15] === !0 ? j ? j.p(y, M) : (j = br(y), j.c(), j.m(r, O)) : j && (j.d(1), j = null), M & /*$_*/
6078
+ 65536 && S !== (S = `BonusCardRow Date ${/*$_*/
6079
+ y[16]("date")}`) && g(n, "class", S), /*showBonusImage*/
6080
+ y[15] === !0 ? j ? j.p(y, M) : (j = dr(y), j.c(), j.m(r, P)) : j && (j.d(1), j = null), M & /*$_*/
6100
6081
  65536 && A !== (A = /*$_*/
6101
6082
  y[16]("bonusName") + "") && I($, A), M & /*bonusname*/
6102
6083
  4 && I(
@@ -6104,67 +6085,67 @@ function ja(e) {
6104
6085
  /*bonusname*/
6105
6086
  y[2]
6106
6087
  ), M & /*$_*/
6107
- 65536 && ee !== (ee = `BonusCardRow ${/*$_*/
6108
- y[16]("bonusName")}`) && g(E, "class", ee), M & /*$_*/
6088
+ 65536 && K !== (K = `BonusCardRow ${/*$_*/
6089
+ y[16]("bonusName")}`) && g(E, "class", K), M & /*$_*/
6109
6090
  65536 && fe !== (fe = /*$_*/
6110
- y[16]("bonusType") + "") && I(Be, fe), M & /*$_, bonustype*/
6091
+ y[16]("bonusType") + "") && I(Se, fe), M & /*$_, bonustype*/
6111
6092
  65544 && ue !== (ue = /*$_*/
6112
6093
  y[16](`${/*bonustype*/
6113
- y[3]}`) + "") && I(nt, ue), M & /*$_*/
6094
+ y[3]}`) + "") && I(tt, ue), M & /*$_*/
6114
6095
  65536 && Ie !== (Ie = `BonusCardRow ${/*$_*/
6115
6096
  y[16]("bonusType")}`) && g(N, "class", Ie), /*bonusamount*/
6116
- y[4] ? W ? W.p(y, M) : (W = pr(y), W.c(), W.m(r, it)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6117
- y[5] ? V ? V.p(y, M) : (V = vr(y), V.c(), V.m(r, ot)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6118
- y[6] ? Y ? Y.p(y, M) : (Y = gr(y), Y.c(), Y.m(r, at)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6119
- y[14] ? X ? X.p(y, M) : (X = yr(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6120
- y[1] === "active" ? q ? q.p(y, M) : (q = wr(y), q.c(), q.m(t, null)) : q && (q.d(1), q = null);
6097
+ y[4] ? W ? W.p(y, M) : (W = mr(y), W.c(), W.m(r, rt)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6098
+ y[5] ? V ? V.p(y, M) : (V = br(y), V.c(), V.m(r, nt)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6099
+ y[6] ? Y ? Y.p(y, M) : (Y = pr(y), Y.c(), Y.m(r, it)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6100
+ y[14] ? X ? X.p(y, M) : (X = vr(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6101
+ y[1] === "active" ? z ? z.p(y, M) : (z = gr(y), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6121
6102
  },
6122
6103
  i: Z,
6123
6104
  o: Z,
6124
6105
  d(y) {
6125
- y && re(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), q && q.d(), e[25](null);
6106
+ y && te(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), z && z.d(), e[25](null);
6126
6107
  }
6127
6108
  };
6128
6109
  }
6129
- function Wa(e, t, r) {
6110
+ function Ga(e, t, r) {
6130
6111
  let n;
6131
- an(e, Ao, (b) => r(16, n = b));
6132
- let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: B } = t, { translationurl: L = "" } = t, { termsandconditionsurl: O = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ne = window.navigator.userAgent, se = Ho(ne) !== "PC", ee = !1, H = !0;
6112
+ on(e, Po, (b) => r(16, n = b));
6113
+ let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: S } = t, { translationurl: L = "" } = t, { termsandconditionsurl: P = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ne = window.navigator.userAgent, se = Oo(ne) !== "PC", K = !1, H = !0;
6133
6114
  const N = () => {
6134
6115
  fetch(L).then((Q) => Q.json()).then((Q) => {
6135
6116
  Object.keys(Q).forEach((ue) => {
6136
- ur(ue, Q[ue]);
6117
+ ar(ue, Q[ue]);
6137
6118
  });
6138
6119
  }).catch((Q) => {
6139
6120
  console.log(Q);
6140
6121
  });
6141
6122
  };
6142
- Object.keys(lr).forEach((b) => {
6143
- ur(b, lr[b]);
6123
+ Object.keys(sr).forEach((b) => {
6124
+ ar(b, sr[b]);
6144
6125
  });
6145
- const z = () => {
6126
+ const q = () => {
6146
6127
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: i }, window.location.href);
6147
6128
  }, fe = () => {
6148
- Mo(d);
6129
+ Ao(d);
6149
6130
  };
6150
- mn(() => () => {
6131
+ dn(() => () => {
6151
6132
  });
6152
- function Be(b) {
6153
- pt[b ? "unshift" : "push"](() => {
6133
+ function Se(b) {
6134
+ mt[b ? "unshift" : "push"](() => {
6154
6135
  k = b, r(13, k);
6155
6136
  });
6156
6137
  }
6157
6138
  return e.$$set = (b) => {
6158
- "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, B = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, O = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6139
+ "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, S = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, P = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6159
6140
  }, e.$$.update = () => {
6160
6141
  e.$$.dirty & /*lang*/
6161
6142
  1048576 && d && fe(), e.$$.dirty & /*clientstyling, customStylingContainer*/
6162
- 2105344 && p && k && Ro(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6163
- 4202496 && v && k && No(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6164
- 8396800 && B && k && Do(k, `${B}.Style`), e.$$.dirty & /*translationurl*/
6143
+ 2105344 && p && k && Ho(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6144
+ 4202496 && v && k && Mo(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6145
+ 8396800 && S && k && Ro(k, `${S}.Style`), e.$$.dirty & /*translationurl*/
6165
6146
  16777216 && L && N(), e.$$.dirty & /*termsandconditionsasset*/
6166
6147
  512 && r(15, H = !(E === null || E === "")), e.$$.dirty & /*termsandconditionsurl*/
6167
- 256 && r(14, ee = O !== null && O !== "");
6148
+ 256 && r(14, K = P !== null && P !== "");
6168
6149
  }, [
6169
6150
  o,
6170
6151
  a,
@@ -6174,34 +6155,34 @@ function Wa(e, t, r) {
6174
6155
  h,
6175
6156
  f,
6176
6157
  c,
6177
- O,
6158
+ P,
6178
6159
  E,
6179
6160
  U,
6180
6161
  A,
6181
6162
  $,
6182
6163
  k,
6183
- ee,
6164
+ K,
6184
6165
  H,
6185
6166
  n,
6186
6167
  se,
6187
- z,
6168
+ q,
6188
6169
  i,
6189
6170
  d,
6190
6171
  p,
6191
6172
  v,
6192
- B,
6173
+ S,
6193
6174
  L,
6194
- Be
6175
+ Se
6195
6176
  ];
6196
6177
  }
6197
- class Va extends Sn {
6178
+ class ja extends Bn {
6198
6179
  constructor(t) {
6199
- super(), xn(
6180
+ super(), En(
6200
6181
  this,
6201
6182
  t,
6202
- Wa,
6203
- ja,
6204
- Er,
6183
+ Ga,
6184
+ Fa,
6185
+ wr,
6205
6186
  {
6206
6187
  bonuswalletid: 19,
6207
6188
  bonusdate: 0,
@@ -6223,125 +6204,125 @@ class Va extends Sn {
6223
6204
  currencylocale: 11,
6224
6205
  dateformat: 12
6225
6206
  },
6226
- Ga
6207
+ $a
6227
6208
  );
6228
6209
  }
6229
6210
  get bonuswalletid() {
6230
6211
  return this.$$.ctx[19];
6231
6212
  }
6232
6213
  set bonuswalletid(t) {
6233
- this.$$set({ bonuswalletid: t }), P();
6214
+ this.$$set({ bonuswalletid: t }), O();
6234
6215
  }
6235
6216
  get bonusdate() {
6236
6217
  return this.$$.ctx[0];
6237
6218
  }
6238
6219
  set bonusdate(t) {
6239
- this.$$set({ bonusdate: t }), P();
6220
+ this.$$set({ bonusdate: t }), O();
6240
6221
  }
6241
6222
  get bonusstatus() {
6242
6223
  return this.$$.ctx[1];
6243
6224
  }
6244
6225
  set bonusstatus(t) {
6245
- this.$$set({ bonusstatus: t }), P();
6226
+ this.$$set({ bonusstatus: t }), O();
6246
6227
  }
6247
6228
  get bonusname() {
6248
6229
  return this.$$.ctx[2];
6249
6230
  }
6250
6231
  set bonusname(t) {
6251
- this.$$set({ bonusname: t }), P();
6232
+ this.$$set({ bonusname: t }), O();
6252
6233
  }
6253
6234
  get bonustype() {
6254
6235
  return this.$$.ctx[3];
6255
6236
  }
6256
6237
  set bonustype(t) {
6257
- this.$$set({ bonustype: t }), P();
6238
+ this.$$set({ bonustype: t }), O();
6258
6239
  }
6259
6240
  get bonusamount() {
6260
6241
  return this.$$.ctx[4];
6261
6242
  }
6262
6243
  set bonusamount(t) {
6263
- this.$$set({ bonusamount: t }), P();
6244
+ this.$$set({ bonusamount: t }), O();
6264
6245
  }
6265
6246
  get bonuswageringamount() {
6266
6247
  return this.$$.ctx[5];
6267
6248
  }
6268
6249
  set bonuswageringamount(t) {
6269
- this.$$set({ bonuswageringamount: t }), P();
6250
+ this.$$set({ bonuswageringamount: t }), O();
6270
6251
  }
6271
6252
  get bonusremainingamount() {
6272
6253
  return this.$$.ctx[6];
6273
6254
  }
6274
6255
  set bonusremainingamount(t) {
6275
- this.$$set({ bonusremainingamount: t }), P();
6256
+ this.$$set({ bonusremainingamount: t }), O();
6276
6257
  }
6277
6258
  get bonuscurrency() {
6278
6259
  return this.$$.ctx[7];
6279
6260
  }
6280
6261
  set bonuscurrency(t) {
6281
- this.$$set({ bonuscurrency: t }), P();
6262
+ this.$$set({ bonuscurrency: t }), O();
6282
6263
  }
6283
6264
  get lang() {
6284
6265
  return this.$$.ctx[20];
6285
6266
  }
6286
6267
  set lang(t) {
6287
- this.$$set({ lang: t }), P();
6268
+ this.$$set({ lang: t }), O();
6288
6269
  }
6289
6270
  get clientstyling() {
6290
6271
  return this.$$.ctx[21];
6291
6272
  }
6292
6273
  set clientstyling(t) {
6293
- this.$$set({ clientstyling: t }), P();
6274
+ this.$$set({ clientstyling: t }), O();
6294
6275
  }
6295
6276
  get clientstylingurl() {
6296
6277
  return this.$$.ctx[22];
6297
6278
  }
6298
6279
  set clientstylingurl(t) {
6299
- this.$$set({ clientstylingurl: t }), P();
6280
+ this.$$set({ clientstylingurl: t }), O();
6300
6281
  }
6301
6282
  get mbsource() {
6302
6283
  return this.$$.ctx[23];
6303
6284
  }
6304
6285
  set mbsource(t) {
6305
- this.$$set({ mbsource: t }), P();
6286
+ this.$$set({ mbsource: t }), O();
6306
6287
  }
6307
6288
  get translationurl() {
6308
6289
  return this.$$.ctx[24];
6309
6290
  }
6310
6291
  set translationurl(t) {
6311
- this.$$set({ translationurl: t }), P();
6292
+ this.$$set({ translationurl: t }), O();
6312
6293
  }
6313
6294
  get termsandconditionsurl() {
6314
6295
  return this.$$.ctx[8];
6315
6296
  }
6316
6297
  set termsandconditionsurl(t) {
6317
- this.$$set({ termsandconditionsurl: t }), P();
6298
+ this.$$set({ termsandconditionsurl: t }), O();
6318
6299
  }
6319
6300
  get termsandconditionsasset() {
6320
6301
  return this.$$.ctx[9];
6321
6302
  }
6322
6303
  set termsandconditionsasset(t) {
6323
- this.$$set({ termsandconditionsasset: t }), P();
6304
+ this.$$set({ termsandconditionsasset: t }), O();
6324
6305
  }
6325
6306
  get termsandconditionsdescription() {
6326
6307
  return this.$$.ctx[10];
6327
6308
  }
6328
6309
  set termsandconditionsdescription(t) {
6329
- this.$$set({ termsandconditionsdescription: t }), P();
6310
+ this.$$set({ termsandconditionsdescription: t }), O();
6330
6311
  }
6331
6312
  get currencylocale() {
6332
6313
  return this.$$.ctx[11];
6333
6314
  }
6334
6315
  set currencylocale(t) {
6335
- this.$$set({ currencylocale: t }), P();
6316
+ this.$$set({ currencylocale: t }), O();
6336
6317
  }
6337
6318
  get dateformat() {
6338
6319
  return this.$$.ctx[12];
6339
6320
  }
6340
6321
  set dateformat(t) {
6341
- this.$$set({ dateformat: t }), P();
6322
+ this.$$set({ dateformat: t }), O();
6342
6323
  }
6343
6324
  }
6344
- Bn(Va, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6325
+ xn(ja, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6345
6326
  export {
6346
- Va as P
6327
+ ja as P
6347
6328
  };