@everymatrix/player-bonus-card 1.87.26 → 1.87.27

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 K() {
2
2
  }
3
- function Sr(e) {
3
+ function Cr(e) {
4
4
  return e();
5
5
  }
6
- function jt() {
6
+ function Wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ke(e) {
10
- e.forEach(Sr);
9
+ function $e(e) {
10
+ e.forEach(Cr);
11
11
  }
12
- function kt(e) {
12
+ function Ft(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Cr(e, t) {
15
+ function Or(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let je;
19
- function Wt(e, t) {
20
- return e === t ? !0 : (je || (je = document.createElement("a")), je.href = t, e === je.href);
18
+ let Ve;
19
+ function Vt(e, t) {
20
+ return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
21
21
  }
22
- function hn(e) {
22
+ function fn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Or(e, ...t) {
25
+ function Pr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Or(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function fn(e, t, r) {
35
- e.$$.on_destroy.push(Or(t, r));
34
+ function cn(e, t, r) {
35
+ e.$$.on_destroy.push(Pr(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function cn(e, t, r) {
41
- const n = dn(e);
40
+ function dn(e, t, r) {
41
+ const n = mn(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = E("style");
44
- i.id = t, i.textContent = r, mn(n, i);
44
+ i.id = t, i.textContent = r, bn(n, i);
45
45
  }
46
46
  }
47
- function dn(e) {
47
+ function mn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,14 +54,14 @@ function dn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function mn(e, t) {
57
+ function bn(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function re(e, t, r) {
64
+ function ne(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function ee(e) {
@@ -76,20 +76,20 @@ function P(e) {
76
76
  function M() {
77
77
  return P(" ");
78
78
  }
79
- function bn(e, t, r, n) {
79
+ function pn(e, t, r, n) {
80
80
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
81
81
  }
82
82
  function p(e, t, r) {
83
83
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
84
84
  }
85
- function pn(e) {
85
+ function gn(e) {
86
86
  return Array.from(e.childNodes);
87
87
  }
88
88
  function R(e, t) {
89
89
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
90
90
  t);
91
91
  }
92
- function gn(e) {
92
+ function vn(e) {
93
93
  const t = {};
94
94
  return e.childNodes.forEach(
95
95
  /** @param {Element} node */
@@ -98,87 +98,87 @@ function gn(e) {
98
98
  }
99
99
  ), t;
100
100
  }
101
- let Ie;
102
- function De(e) {
103
- Ie = e;
101
+ let Ue;
102
+ function Le(e) {
103
+ Ue = e;
104
104
  }
105
- function vn() {
106
- if (!Ie)
105
+ function yn() {
106
+ if (!Ue)
107
107
  throw new Error("Function called outside component initialization");
108
- return Ie;
108
+ return Ue;
109
109
  }
110
- function yn(e) {
111
- vn().$$.on_mount.push(e);
110
+ function wn(e) {
111
+ yn().$$.on_mount.push(e);
112
112
  }
113
- const _e = [], _t = [];
114
- let Ee = [];
115
- const Vt = [], wn = /* @__PURE__ */ Promise.resolve();
116
- let Et = !1;
117
- function _n() {
118
- Et || (Et = !0, wn.then(C));
113
+ const Te = [], Et = [];
114
+ let Be = [];
115
+ const Yt = [], _n = /* @__PURE__ */ Promise.resolve();
116
+ let Tt = !1;
117
+ function En() {
118
+ Tt || (Tt = !0, _n.then(C));
119
119
  }
120
- function Tt(e) {
121
- Ee.push(e);
120
+ function xt(e) {
121
+ Be.push(e);
122
122
  }
123
- const ct = /* @__PURE__ */ new Set();
124
- let ve = 0;
123
+ const dt = /* @__PURE__ */ new Set();
124
+ let we = 0;
125
125
  function C() {
126
- if (ve !== 0)
126
+ if (we !== 0)
127
127
  return;
128
- const e = Ie;
128
+ const e = Ue;
129
129
  do {
130
130
  try {
131
- for (; ve < _e.length; ) {
132
- const t = _e[ve];
133
- ve++, De(t), En(t.$$);
131
+ for (; we < Te.length; ) {
132
+ const t = Te[we];
133
+ we++, Le(t), Tn(t.$$);
134
134
  }
135
135
  } catch (t) {
136
- throw _e.length = 0, ve = 0, t;
136
+ throw Te.length = 0, we = 0, t;
137
137
  }
138
- for (De(null), _e.length = 0, ve = 0; _t.length; )
139
- _t.pop()();
140
- for (let t = 0; t < Ee.length; t += 1) {
141
- const r = Ee[t];
142
- ct.has(r) || (ct.add(r), r());
138
+ for (Le(null), Te.length = 0, we = 0; Et.length; )
139
+ Et.pop()();
140
+ for (let t = 0; t < Be.length; t += 1) {
141
+ const r = Be[t];
142
+ dt.has(r) || (dt.add(r), r());
143
143
  }
144
- Ee.length = 0;
145
- } while (_e.length);
146
- for (; Vt.length; )
147
- Vt.pop()();
148
- Et = !1, ct.clear(), De(e);
144
+ Be.length = 0;
145
+ } while (Te.length);
146
+ for (; Yt.length; )
147
+ Yt.pop()();
148
+ Tt = !1, dt.clear(), Le(e);
149
149
  }
150
- function En(e) {
150
+ function Tn(e) {
151
151
  if (e.fragment !== null) {
152
- e.update(), ke(e.before_update);
152
+ e.update(), $e(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(Tt);
154
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
155
155
  }
156
156
  }
157
- function Tn(e) {
157
+ function xn(e) {
158
158
  const t = [], r = [];
159
- Ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ee = t;
159
+ Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
160
160
  }
161
- const xn = /* @__PURE__ */ new Set();
162
- function Bn(e, t) {
163
- e && e.i && (xn.delete(e), e.i(t));
161
+ const Bn = /* @__PURE__ */ new Set();
162
+ function Sn(e, t) {
163
+ e && e.i && (Bn.delete(e), e.i(t));
164
164
  }
165
- function Sn(e, t, r) {
165
+ function Cn(e, t, r) {
166
166
  const { fragment: n, after_update: i } = e.$$;
167
- n && n.m(t, r), Tt(() => {
168
- const o = e.$$.on_mount.map(Sr).filter(kt);
169
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
170
- }), i.forEach(Tt);
167
+ n && n.m(t, r), xt(() => {
168
+ const o = e.$$.on_mount.map(Cr).filter(Ft);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : $e(o), e.$$.on_mount = [];
170
+ }), i.forEach(xt);
171
171
  }
172
- function Cn(e, t) {
172
+ function On(e, t) {
173
173
  const r = e.$$;
174
- r.fragment !== null && (Tn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (xn(r.after_update), $e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
175
175
  }
176
- function On(e, t) {
177
- e.$$.dirty[0] === -1 && (_e.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
+ function Pn(e, t) {
177
+ e.$$.dirty[0] === -1 && (Te.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
178
  }
179
- function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
180
- const l = Ie;
181
- De(e);
179
+ function An(e, t, r, n, i, o, a = null, s = [-1]) {
180
+ const l = Ue;
181
+ Le(e);
182
182
  const u = e.$$ = {
183
183
  fragment: null,
184
184
  ctx: [],
@@ -186,7 +186,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
186
186
  props: o,
187
187
  update: K,
188
188
  not_equal: i,
189
- bound: jt(),
189
+ bound: Wt(),
190
190
  // lifecycle
191
191
  on_mount: [],
192
192
  on_destroy: [],
@@ -195,7 +195,7 @@ function Pn(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: jt(),
198
+ callbacks: Wt(),
199
199
  dirty: s,
200
200
  skip_bound: !1,
201
201
  root: t.target || l.$$.root
@@ -204,19 +204,19 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
204
204
  let h = !1;
205
205
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
206
206
  const v = d.length ? d[0] : f;
207
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && On(e, c)), f;
208
- }) : [], u.update(), h = !0, ke(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
207
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Pn(e, c)), f;
208
+ }) : [], u.update(), h = !0, $e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
- const c = pn(t.target);
210
+ const c = gn(t.target);
211
211
  u.fragment && u.fragment.l(c), c.forEach(ee);
212
212
  } else
213
213
  u.fragment && u.fragment.c();
214
- t.intro && Bn(e.$$.fragment), Sn(e, t.target, t.anchor), C();
214
+ t.intro && Sn(e.$$.fragment), Cn(e, t.target, t.anchor), C();
215
215
  }
216
- De(l);
216
+ Le(l);
217
217
  }
218
- let Pr;
219
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
218
+ let Ar;
219
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
220
220
  /** The Svelte component constructor */
221
221
  $$ctor;
222
222
  /** Slots */
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
265
265
  * @param {HTMLElement} [anchor]
266
266
  */
267
267
  m: function(l, u) {
268
- re(l, o, u);
268
+ ne(l, o, u);
269
269
  },
270
270
  d: function(l) {
271
271
  l && ee(o);
@@ -275,12 +275,12 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
275
275
  };
276
276
  if (await Promise.resolve(), !this.$$cn || this.$$c)
277
277
  return;
278
- const t = {}, r = gn(this);
278
+ const t = {}, r = vn(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) {
282
282
  const o = this.$$g_p(i.name);
283
- o in this.$$d || (this.$$d[o] = Ye(o, i.value, this.$$p_d, "toProp"));
283
+ o in this.$$d || (this.$$d[o] = qe(o, i.value, this.$$p_d, "toProp"));
284
284
  }
285
285
  for (const i in this.$$p_d)
286
286
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
298
298
  this.$$r = !0;
299
299
  for (const i in this.$$p_d)
300
300
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
301
- const o = Ye(
301
+ const o = qe(
302
302
  i,
303
303
  this.$$d[i],
304
304
  this.$$p_d,
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
320
320
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
321
321
  // and setting attributes through setAttribute etc, this is helpful
322
322
  attributeChangedCallback(e, t, r) {
323
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
323
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = qe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
324
324
  }
325
325
  disconnectedCallback() {
326
326
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -333,7 +333,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
333
333
  ) || e;
334
334
  }
335
335
  });
336
- function Ye(e, t, r, n) {
336
+ function qe(e, t, r, n) {
337
337
  const i = r[e]?.type;
338
338
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
339
339
  return t;
@@ -362,8 +362,8 @@ function Ye(e, t, r, n) {
362
362
  return t;
363
363
  }
364
364
  }
365
- function An(e, t, r, n, i, o) {
366
- let a = class extends Pr {
365
+ function Hn(e, t, r, n, i, o) {
366
+ let a = class extends Ar {
367
367
  constructor() {
368
368
  super(e, r, i), this.$$p_d = t;
369
369
  }
@@ -379,7 +379,7 @@ function An(e, t, r, n, i, o) {
379
379
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
380
380
  },
381
381
  set(l) {
382
- l = Ye(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
382
+ l = qe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
383
383
  }
384
384
  });
385
385
  }), n.forEach((s) => {
@@ -391,7 +391,7 @@ function An(e, t, r, n, i, o) {
391
391
  }), e.element = /** @type {any} */
392
392
  a, a;
393
393
  }
394
- class Hn {
394
+ class Mn {
395
395
  /**
396
396
  * ### PRIVATE API
397
397
  *
@@ -410,7 +410,7 @@ class Hn {
410
410
  $$set = void 0;
411
411
  /** @returns {void} */
412
412
  $destroy() {
413
- Cn(this, 1), this.$destroy = K;
413
+ On(this, 1), this.$destroy = K;
414
414
  }
415
415
  /**
416
416
  * @template {Extract<keyof Events, string>} K
@@ -419,7 +419,7 @@ class Hn {
419
419
  * @returns {() => void}
420
420
  */
421
421
  $on(t, r) {
422
- if (!kt(r))
422
+ if (!Ft(r))
423
423
  return K;
424
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
425
425
  return n.push(r), () => {
@@ -432,11 +432,11 @@ class Hn {
432
432
  * @returns {void}
433
433
  */
434
434
  $set(t) {
435
- this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !fn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
436
436
  }
437
437
  }
438
- const Mn = "4";
439
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
438
+ const Rn = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rn);
440
440
  /*! *****************************************************************************
441
441
  Copyright (c) Microsoft Corporation.
442
442
 
@@ -451,24 +451,24 @@ 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 xt = function(e, t) {
455
- return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
454
+ var Bt = function(e, t) {
455
+ return Bt = 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
- }, xt(e, t);
460
+ }, Bt(e, t);
461
461
  };
462
- function Fe(e, t) {
462
+ function Ge(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
- xt(e, t);
465
+ Bt(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 Bt(e) {
471
+ function St(e) {
472
472
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
473
473
  if (r)
474
474
  return r.call(e);
@@ -480,7 +480,7 @@ function Bt(e) {
480
480
  };
481
481
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
482
482
  }
483
- function St(e, t) {
483
+ function Ct(e, t) {
484
484
  var r = typeof Symbol == "function" && e[Symbol.iterator];
485
485
  if (!r)
486
486
  return e;
@@ -500,7 +500,7 @@ function St(e, t) {
500
500
  }
501
501
  return o;
502
502
  }
503
- function Ct(e, t, r) {
503
+ function Ot(e, t, r) {
504
504
  if (arguments.length === 2)
505
505
  for (var n = 0, i = t.length, o; n < i; n++)
506
506
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -509,13 +509,13 @@ function Ct(e, t, r) {
509
509
  function ae(e) {
510
510
  return typeof e == "function";
511
511
  }
512
- function Ar(e) {
512
+ function Hr(e) {
513
513
  var t = function(n) {
514
514
  Error.call(n), n.stack = new Error().stack;
515
515
  }, r = e(t);
516
516
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
517
517
  }
518
- var dt = Ar(function(e) {
518
+ var mt = Hr(function(e) {
519
519
  return function(r) {
520
520
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
521
521
  ` + r.map(function(n, i) {
@@ -524,13 +524,13 @@ var dt = Ar(function(e) {
524
524
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
525
525
  };
526
526
  });
527
- function Ot(e, t) {
527
+ function Pt(e, t) {
528
528
  if (e) {
529
529
  var r = e.indexOf(t);
530
530
  0 <= r && e.splice(r, 1);
531
531
  }
532
532
  }
533
- var rt = function() {
533
+ var it = function() {
534
534
  function e(t) {
535
535
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
536
536
  }
@@ -542,7 +542,7 @@ var rt = function() {
542
542
  if (a)
543
543
  if (this._parentage = null, Array.isArray(a))
544
544
  try {
545
- for (var s = Bt(a), l = s.next(); !l.done; l = s.next()) {
545
+ for (var s = St(a), l = s.next(); !l.done; l = s.next()) {
546
546
  var u = l.value;
547
547
  u.remove(this);
548
548
  }
@@ -563,18 +563,18 @@ var rt = function() {
563
563
  try {
564
564
  h();
565
565
  } catch (y) {
566
- o = y instanceof dt ? y.errors : [y];
566
+ o = y instanceof mt ? y.errors : [y];
567
567
  }
568
568
  var c = this._finalizers;
569
569
  if (c) {
570
570
  this._finalizers = null;
571
571
  try {
572
- for (var f = Bt(c), d = f.next(); !d.done; d = f.next()) {
572
+ for (var f = St(c), d = f.next(); !d.done; d = f.next()) {
573
573
  var v = d.value;
574
574
  try {
575
- Yt(v);
575
+ Xt(v);
576
576
  } catch (y) {
577
- o = o ?? [], y instanceof dt ? o = Ct(Ct([], St(o)), St(y.errors)) : o.push(y);
577
+ o = o ?? [], y instanceof mt ? o = Ot(Ot([], Ct(o)), Ct(y.errors)) : o.push(y);
578
578
  }
579
579
  }
580
580
  } catch (y) {
@@ -589,13 +589,13 @@ var rt = function() {
589
589
  }
590
590
  }
591
591
  if (o)
592
- throw new dt(o);
592
+ throw new mt(o);
593
593
  }
594
594
  }, e.prototype.add = function(t) {
595
595
  var r;
596
596
  if (t && t !== this)
597
597
  if (this.closed)
598
- Yt(t);
598
+ Xt(t);
599
599
  else {
600
600
  if (t instanceof e) {
601
601
  if (t.closed || t._hasParent(this))
@@ -612,52 +612,52 @@ var rt = function() {
612
612
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
613
613
  }, e.prototype._removeParent = function(t) {
614
614
  var r = this._parentage;
615
- r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
615
+ r === t ? this._parentage = null : Array.isArray(r) && Pt(r, t);
616
616
  }, e.prototype.remove = function(t) {
617
617
  var r = this._finalizers;
618
- r && Ot(r, t), t instanceof e && t._removeParent(this);
618
+ r && Pt(r, t), t instanceof e && t._removeParent(this);
619
619
  }, e.EMPTY = function() {
620
620
  var t = new e();
621
621
  return t.closed = !0, t;
622
622
  }(), e;
623
- }(), Hr = rt.EMPTY;
624
- function Mr(e) {
625
- return e instanceof rt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
623
+ }(), Mr = it.EMPTY;
624
+ function Rr(e) {
625
+ return e instanceof it || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
626
626
  }
627
- function Yt(e) {
627
+ function Xt(e) {
628
628
  ae(e) ? e() : e.unsubscribe();
629
629
  }
630
- var Rn = {
630
+ var Nn = {
631
631
  Promise: void 0
632
- }, Nn = {
632
+ }, Dn = {
633
633
  setTimeout: function(e, t) {
634
634
  for (var r = [], n = 2; n < arguments.length; n++)
635
635
  r[n - 2] = arguments[n];
636
- return setTimeout.apply(void 0, Ct([e, t], St(r)));
636
+ return setTimeout.apply(void 0, Ot([e, t], Ct(r)));
637
637
  },
638
638
  clearTimeout: function(e) {
639
639
  return clearTimeout(e);
640
640
  },
641
641
  delegate: void 0
642
642
  };
643
- function Dn(e) {
644
- Nn.setTimeout(function() {
643
+ function In(e) {
644
+ Dn.setTimeout(function() {
645
645
  throw e;
646
646
  });
647
647
  }
648
- function Xt() {
648
+ function qt() {
649
649
  }
650
- function Xe(e) {
650
+ function ze(e) {
651
651
  e();
652
652
  }
653
- var Rr = function(e) {
654
- Fe(t, e);
653
+ var Nr = function(e) {
654
+ Ge(t, e);
655
655
  function t(r) {
656
656
  var n = e.call(this) || this;
657
- return n.isStopped = !1, r ? (n.destination = r, Mr(r) && r.add(n)) : n.destination = Un, n;
657
+ return n.isStopped = !1, r ? (n.destination = r, Rr(r) && r.add(n)) : n.destination = kn, n;
658
658
  }
659
659
  return t.create = function(r, n, i) {
660
- return new Pt(r, n, i);
660
+ return new At(r, n, i);
661
661
  }, t.prototype.next = function(r) {
662
662
  this.isStopped || this._next(r);
663
663
  }, t.prototype.error = function(r) {
@@ -681,7 +681,7 @@ var Rr = function(e) {
681
681
  this.unsubscribe();
682
682
  }
683
683
  }, t;
684
- }(rt), In = function() {
684
+ }(it), Ln = function() {
685
685
  function e(t) {
686
686
  this.partialObserver = t;
687
687
  }
@@ -691,7 +691,7 @@ var Rr = function(e) {
691
691
  try {
692
692
  r.next(t);
693
693
  } catch (n) {
694
- We(n);
694
+ Ye(n);
695
695
  }
696
696
  }, e.prototype.error = function(t) {
697
697
  var r = this.partialObserver;
@@ -699,56 +699,56 @@ var Rr = function(e) {
699
699
  try {
700
700
  r.error(t);
701
701
  } catch (n) {
702
- We(n);
702
+ Ye(n);
703
703
  }
704
704
  else
705
- We(t);
705
+ Ye(t);
706
706
  }, e.prototype.complete = function() {
707
707
  var t = this.partialObserver;
708
708
  if (t.complete)
709
709
  try {
710
710
  t.complete();
711
711
  } catch (r) {
712
- We(r);
712
+ Ye(r);
713
713
  }
714
714
  }, e;
715
- }(), Pt = function(e) {
716
- Fe(t, e);
715
+ }(), At = function(e) {
716
+ Ge(t, e);
717
717
  function t(r, n, i) {
718
718
  var o = e.call(this) || this, a;
719
719
  return ae(r) || !r ? a = {
720
720
  next: r ?? void 0,
721
721
  error: n ?? void 0,
722
722
  complete: i ?? void 0
723
- } : a = r, o.destination = new In(a), o;
723
+ } : a = r, o.destination = new Ln(a), o;
724
724
  }
725
725
  return t;
726
- }(Rr);
727
- function We(e) {
728
- Dn(e);
726
+ }(Nr);
727
+ function Ye(e) {
728
+ In(e);
729
729
  }
730
- function Ln(e) {
730
+ function Un(e) {
731
731
  throw e;
732
732
  }
733
- var Un = {
733
+ var kn = {
734
734
  closed: !0,
735
- next: Xt,
736
- error: Ln,
737
- complete: Xt
738
- }, kn = function() {
735
+ next: qt,
736
+ error: Un,
737
+ complete: qt
738
+ }, Fn = function() {
739
739
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
740
740
  }();
741
- function Fn(e) {
741
+ function $n(e) {
742
742
  return e;
743
743
  }
744
- function $n(e) {
745
- return e.length === 0 ? Fn : e.length === 1 ? e[0] : function(r) {
744
+ function Gn(e) {
745
+ return e.length === 0 ? $n : e.length === 1 ? e[0] : function(r) {
746
746
  return e.reduce(function(n, i) {
747
747
  return i(n);
748
748
  }, r);
749
749
  };
750
750
  }
751
- var qt = function() {
751
+ var zt = function() {
752
752
  function e(t) {
753
753
  t && (this._subscribe = t);
754
754
  }
@@ -756,8 +756,8 @@ var qt = function() {
756
756
  var r = new e();
757
757
  return r.source = this, r.operator = t, r;
758
758
  }, e.prototype.subscribe = function(t, r, n) {
759
- var i = this, o = jn(t) ? t : new Pt(t, r, n);
760
- return Xe(function() {
759
+ var i = this, o = Wn(t) ? t : new At(t, r, n);
760
+ return ze(function() {
761
761
  var a = i, s = a.operator, l = a.source;
762
762
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
763
763
  }), o;
@@ -769,8 +769,8 @@ var qt = function() {
769
769
  }
770
770
  }, e.prototype.forEach = function(t, r) {
771
771
  var n = this;
772
- return r = zt(r), new r(function(i, o) {
773
- var a = new Pt({
772
+ return r = Qt(r), new r(function(i, o) {
773
+ var a = new At({
774
774
  next: function(s) {
775
775
  try {
776
776
  t(s);
@@ -786,15 +786,15 @@ var qt = function() {
786
786
  }, e.prototype._subscribe = function(t) {
787
787
  var r;
788
788
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
789
- }, e.prototype[kn] = function() {
789
+ }, e.prototype[Fn] = function() {
790
790
  return this;
791
791
  }, e.prototype.pipe = function() {
792
792
  for (var t = [], r = 0; r < arguments.length; r++)
793
793
  t[r] = arguments[r];
794
- return $n(t)(this);
794
+ return Gn(t)(this);
795
795
  }, e.prototype.toPromise = function(t) {
796
796
  var r = this;
797
- return t = zt(t), new t(function(n, i) {
797
+ return t = Qt(t), new t(function(n, i) {
798
798
  var o;
799
799
  r.subscribe(function(a) {
800
800
  return o = a;
@@ -808,40 +808,40 @@ var qt = function() {
808
808
  return new e(t);
809
809
  }, e;
810
810
  }();
811
- function zt(e) {
811
+ function Qt(e) {
812
812
  var t;
813
- return (t = e ?? Rn.Promise) !== null && t !== void 0 ? t : Promise;
813
+ return (t = e ?? Nn.Promise) !== null && t !== void 0 ? t : Promise;
814
814
  }
815
- function Gn(e) {
815
+ function jn(e) {
816
816
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
817
817
  }
818
- function jn(e) {
819
- return e && e instanceof Rr || Gn(e) && Mr(e);
818
+ function Wn(e) {
819
+ return e && e instanceof Nr || jn(e) && Rr(e);
820
820
  }
821
- var Wn = Ar(function(e) {
821
+ var Vn = Hr(function(e) {
822
822
  return function() {
823
823
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
824
824
  };
825
- }), Nr = function(e) {
826
- Fe(t, e);
825
+ }), Dr = function(e) {
826
+ Ge(t, e);
827
827
  function t() {
828
828
  var r = e.call(this) || this;
829
829
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
830
830
  }
831
831
  return t.prototype.lift = function(r) {
832
- var n = new Qt(this, this);
832
+ var n = new Zt(this, this);
833
833
  return n.operator = r, n;
834
834
  }, t.prototype._throwIfClosed = function() {
835
835
  if (this.closed)
836
- throw new Wn();
836
+ throw new Vn();
837
837
  }, t.prototype.next = function(r) {
838
838
  var n = this;
839
- Xe(function() {
839
+ ze(function() {
840
840
  var i, o;
841
841
  if (n._throwIfClosed(), !n.isStopped) {
842
842
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
843
843
  try {
844
- for (var a = Bt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
844
+ for (var a = St(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
845
845
  var l = s.value;
846
846
  l.next(r);
847
847
  }
@@ -859,7 +859,7 @@ var Wn = Ar(function(e) {
859
859
  });
860
860
  }, t.prototype.error = function(r) {
861
861
  var n = this;
862
- Xe(function() {
862
+ ze(function() {
863
863
  if (n._throwIfClosed(), !n.isStopped) {
864
864
  n.hasError = n.isStopped = !0, n.thrownError = r;
865
865
  for (var i = n.observers; i.length; )
@@ -868,7 +868,7 @@ var Wn = Ar(function(e) {
868
868
  });
869
869
  }, t.prototype.complete = function() {
870
870
  var r = this;
871
- Xe(function() {
871
+ ze(function() {
872
872
  if (r._throwIfClosed(), !r.isStopped) {
873
873
  r.isStopped = !0;
874
874
  for (var n = r.observers; n.length; )
@@ -890,20 +890,20 @@ var Wn = Ar(function(e) {
890
890
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
891
891
  }, t.prototype._innerSubscribe = function(r) {
892
892
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
893
- return o || a ? Hr : (this.currentObservers = null, s.push(r), new rt(function() {
894
- n.currentObservers = null, Ot(s, r);
893
+ return o || a ? Mr : (this.currentObservers = null, s.push(r), new it(function() {
894
+ n.currentObservers = null, Pt(s, r);
895
895
  }));
896
896
  }, t.prototype._checkFinalizedStatuses = function(r) {
897
897
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
898
898
  i ? r.error(o) : a && r.complete();
899
899
  }, t.prototype.asObservable = function() {
900
- var r = new qt();
900
+ var r = new zt();
901
901
  return r.source = this, r;
902
902
  }, t.create = function(r, n) {
903
- return new Qt(r, n);
903
+ return new Zt(r, n);
904
904
  }, t;
905
- }(qt), Qt = function(e) {
906
- Fe(t, e);
905
+ }(zt), Zt = function(e) {
906
+ Ge(t, e);
907
907
  function t(r, n) {
908
908
  var i = e.call(this) || this;
909
909
  return i.destination = r, i.source = n, i;
@@ -919,17 +919,17 @@ var Wn = Ar(function(e) {
919
919
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
920
920
  }, t.prototype._subscribe = function(r) {
921
921
  var n, i;
922
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
922
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
923
923
  }, t;
924
- }(Nr), Dr = {
924
+ }(Dr), Ir = {
925
925
  now: function() {
926
- return (Dr.delegate || Date).now();
926
+ return (Ir.delegate || Date).now();
927
927
  },
928
928
  delegate: void 0
929
- }, Vn = function(e) {
930
- Fe(t, e);
929
+ }, Yn = function(e) {
930
+ Ge(t, e);
931
931
  function t(r, n, i) {
932
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
932
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
933
933
  var o = e.call(this) || this;
934
934
  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
935
  }
@@ -949,31 +949,31 @@ var Wn = Ar(function(e) {
949
949
  u && o.splice(0, u + 1);
950
950
  }
951
951
  }, t;
952
- }(Nr);
953
- const Zt = [], Jt = {}, Yn = (e, t = 0) => {
954
- if (Zt.indexOf(e) == -1) {
955
- const r = new Vn(t);
956
- Jt[e] = r, Zt.push(e);
952
+ }(Dr);
953
+ const Jt = [], Kt = {}, Xn = (e, t = 0) => {
954
+ if (Jt.indexOf(e) == -1) {
955
+ const r = new Yn(t);
956
+ Kt[e] = r, Jt.push(e);
957
957
  }
958
- return Jt[e];
959
- }, ye = [];
960
- function Xn(e, t) {
958
+ return Kt[e];
959
+ }, _e = [];
960
+ function qn(e, t) {
961
961
  return {
962
- subscribe: nt(e, t).subscribe
962
+ subscribe: ot(e, t).subscribe
963
963
  };
964
964
  }
965
- function nt(e, t = K) {
965
+ function ot(e, t = K) {
966
966
  let r;
967
967
  const n = /* @__PURE__ */ new Set();
968
968
  function i(s) {
969
- if (Cr(e, s) && (e = s, r)) {
970
- const l = !ye.length;
969
+ if (Or(e, s) && (e = s, r)) {
970
+ const l = !_e.length;
971
971
  for (const u of n)
972
- u[1](), ye.push(u, e);
972
+ u[1](), _e.push(u, e);
973
973
  if (l) {
974
- for (let u = 0; u < ye.length; u += 2)
975
- ye[u][0](ye[u + 1]);
976
- ye.length = 0;
974
+ for (let u = 0; u < _e.length; u += 2)
975
+ _e[u][0](_e[u + 1]);
976
+ _e.length = 0;
977
977
  }
978
978
  }
979
979
  }
@@ -988,12 +988,12 @@ function nt(e, t = K) {
988
988
  }
989
989
  return { set: i, update: o, subscribe: a };
990
990
  }
991
- function Ce(e, t, r) {
991
+ function Ae(e, t, r) {
992
992
  const n = !Array.isArray(e), i = n ? [e] : e;
993
993
  if (!i.every(Boolean))
994
994
  throw new Error("derived() expects stores as input, got a falsy value");
995
995
  const o = t.length < 2;
996
- return Xn(r, (a, s) => {
996
+ return qn(r, (a, s) => {
997
997
  let l = !1;
998
998
  const u = [];
999
999
  let h = 0, c = K;
@@ -1002,9 +1002,9 @@ function Ce(e, t, r) {
1002
1002
  return;
1003
1003
  c();
1004
1004
  const v = t(n ? u[0] : u, a, s);
1005
- o ? a(v) : c = kt(v) ? v : K;
1005
+ o ? a(v) : c = Ft(v) ? v : K;
1006
1006
  }, d = i.map(
1007
- (v, y) => Or(
1007
+ (v, y) => Pr(
1008
1008
  v,
1009
1009
  (B) => {
1010
1010
  u[y] = B, h &= ~(1 << y), l && f();
@@ -1015,112 +1015,112 @@ function Ce(e, t, r) {
1015
1015
  )
1016
1016
  );
1017
1017
  return l = !0, f(), function() {
1018
- ke(d), c(), l = !1;
1018
+ $e(d), c(), l = !1;
1019
1019
  };
1020
1020
  });
1021
1021
  }
1022
- function qn(e) {
1022
+ function zn(e) {
1023
1023
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1024
1024
  }
1025
- var zn = function(t) {
1026
- return Qn(t) && !Zn(t);
1025
+ var Qn = function(t) {
1026
+ return Zn(t) && !Jn(t);
1027
1027
  };
1028
- function Qn(e) {
1028
+ function Zn(e) {
1029
1029
  return !!e && typeof e == "object";
1030
1030
  }
1031
- function Zn(e) {
1031
+ function Jn(e) {
1032
1032
  var t = Object.prototype.toString.call(e);
1033
- return t === "[object RegExp]" || t === "[object Date]" || ei(e);
1034
- }
1035
- var Jn = typeof Symbol == "function" && Symbol.for, Kn = Jn ? Symbol.for("react.element") : 60103;
1036
- function ei(e) {
1037
- return e.$$typeof === Kn;
1033
+ return t === "[object RegExp]" || t === "[object Date]" || ti(e);
1038
1034
  }
1035
+ var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
1039
1036
  function ti(e) {
1037
+ return e.$$typeof === ei;
1038
+ }
1039
+ function ri(e) {
1040
1040
  return Array.isArray(e) ? [] : {};
1041
1041
  }
1042
- function Le(e, t) {
1043
- return t.clone !== !1 && t.isMergeableObject(e) ? Te(ti(e), e, t) : e;
1042
+ function ke(e, t) {
1043
+ return t.clone !== !1 && t.isMergeableObject(e) ? Se(ri(e), e, t) : e;
1044
1044
  }
1045
- function ri(e, t, r) {
1045
+ function ni(e, t, r) {
1046
1046
  return e.concat(t).map(function(n) {
1047
- return Le(n, r);
1047
+ return ke(n, r);
1048
1048
  });
1049
1049
  }
1050
- function ni(e, t) {
1050
+ function ii(e, t) {
1051
1051
  if (!t.customMerge)
1052
- return Te;
1052
+ return Se;
1053
1053
  var r = t.customMerge(e);
1054
- return typeof r == "function" ? r : Te;
1054
+ return typeof r == "function" ? r : Se;
1055
1055
  }
1056
- function ii(e) {
1056
+ function oi(e) {
1057
1057
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1058
1058
  return Object.propertyIsEnumerable.call(e, t);
1059
1059
  }) : [];
1060
1060
  }
1061
- function Kt(e) {
1062
- return Object.keys(e).concat(ii(e));
1061
+ function er(e) {
1062
+ return Object.keys(e).concat(oi(e));
1063
1063
  }
1064
- function Ir(e, t) {
1064
+ function Lr(e, t) {
1065
1065
  try {
1066
1066
  return t in e;
1067
1067
  } catch {
1068
1068
  return !1;
1069
1069
  }
1070
1070
  }
1071
- function oi(e, t) {
1072
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1071
+ function ai(e, t) {
1072
+ return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1073
1073
  }
1074
- function ai(e, t, r) {
1074
+ function si(e, t, r) {
1075
1075
  var n = {};
1076
- return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1077
- n[i] = Le(e[i], r);
1078
- }), Kt(t).forEach(function(i) {
1079
- oi(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = Le(t[i], r));
1076
+ return r.isMergeableObject(e) && er(e).forEach(function(i) {
1077
+ n[i] = ke(e[i], r);
1078
+ }), er(t).forEach(function(i) {
1079
+ ai(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = ke(t[i], r));
1080
1080
  }), n;
1081
1081
  }
1082
- function Te(e, t, r) {
1083
- r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Le;
1082
+ function Se(e, t, r) {
1083
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = ke;
1084
1084
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1085
- return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : Le(t, r);
1085
+ return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : ke(t, r);
1086
1086
  }
1087
- Te.all = function(t, r) {
1087
+ Se.all = function(t, r) {
1088
1088
  if (!Array.isArray(t))
1089
1089
  throw new Error("first argument should be an array");
1090
1090
  return t.reduce(function(n, i) {
1091
- return Te(n, i, r);
1091
+ return Se(n, i, r);
1092
1092
  }, {});
1093
1093
  };
1094
- var si = Te, ui = si;
1095
- const li = /* @__PURE__ */ qn(ui);
1096
- var At = function(e, t) {
1097
- return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1094
+ var ui = Se, li = ui;
1095
+ const hi = /* @__PURE__ */ zn(li);
1096
+ var Ht = function(e, t) {
1097
+ return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1098
1098
  r.__proto__ = n;
1099
1099
  } || function(r, n) {
1100
1100
  for (var i in n)
1101
1101
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1102
- }, At(e, t);
1102
+ }, Ht(e, t);
1103
1103
  };
1104
- function it(e, t) {
1104
+ function at(e, t) {
1105
1105
  if (typeof t != "function" && t !== null)
1106
1106
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1107
- At(e, t);
1107
+ Ht(e, t);
1108
1108
  function r() {
1109
1109
  this.constructor = e;
1110
1110
  }
1111
1111
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1112
1112
  }
1113
- var te = function() {
1114
- return te = Object.assign || function(t) {
1113
+ var re = function() {
1114
+ return re = Object.assign || function(t) {
1115
1115
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1116
1116
  r = arguments[n];
1117
1117
  for (var o in r)
1118
1118
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1119
1119
  }
1120
1120
  return t;
1121
- }, te.apply(this, arguments);
1121
+ }, re.apply(this, arguments);
1122
1122
  };
1123
- function hi(e, t) {
1123
+ function fi(e, t) {
1124
1124
  var r = {};
1125
1125
  for (var n in e)
1126
1126
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1129,43 +1129,43 @@ function hi(e, t) {
1129
1129
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1130
1130
  return r;
1131
1131
  }
1132
- function mt(e, t, r) {
1132
+ function bt(e, t, r) {
1133
1133
  if (r || arguments.length === 2)
1134
1134
  for (var n = 0, i = t.length, o; n < i; n++)
1135
1135
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1136
1136
  return e.concat(o || Array.prototype.slice.call(t));
1137
1137
  }
1138
- function bt(e, t) {
1139
- var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : di;
1138
+ function pt(e, t) {
1139
+ var r = t && t.cache ? t.cache : vi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : mi;
1140
1140
  return i(e, {
1141
1141
  cache: r,
1142
1142
  serializer: n
1143
1143
  });
1144
1144
  }
1145
- function fi(e) {
1145
+ function ci(e) {
1146
1146
  return e == null || typeof e == "number" || typeof e == "boolean";
1147
1147
  }
1148
- function ci(e, t, r, n) {
1149
- var i = fi(n) ? n : r(n), o = t.get(i);
1148
+ function di(e, t, r, n) {
1149
+ var i = ci(n) ? n : r(n), o = t.get(i);
1150
1150
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1151
1151
  }
1152
- function Lr(e, t, r) {
1152
+ function Ur(e, t, r) {
1153
1153
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1154
1154
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1155
1155
  }
1156
- function Ur(e, t, r, n, i) {
1156
+ function kr(e, t, r, n, i) {
1157
1157
  return r.bind(t, e, n, i);
1158
1158
  }
1159
- function di(e, t) {
1160
- var r = e.length === 1 ? ci : Lr;
1161
- return Ur(e, this, r, t.cache.create(), t.serializer);
1162
- }
1163
1159
  function mi(e, t) {
1164
- return Ur(e, this, Lr, t.cache.create(), t.serializer);
1160
+ var r = e.length === 1 ? di : Ur;
1161
+ return kr(e, this, r, t.cache.create(), t.serializer);
1165
1162
  }
1166
- var bi = function() {
1163
+ function bi(e, t) {
1164
+ return kr(e, this, Ur, t.cache.create(), t.serializer);
1165
+ }
1166
+ var pi = function() {
1167
1167
  return JSON.stringify(arguments);
1168
- }, pi = (
1168
+ }, gi = (
1169
1169
  /** @class */
1170
1170
  function() {
1171
1171
  function e() {
@@ -1177,21 +1177,21 @@ var bi = function() {
1177
1177
  this.cache[t] = r;
1178
1178
  }, e;
1179
1179
  }()
1180
- ), gi = {
1180
+ ), vi = {
1181
1181
  create: function() {
1182
- return new pi();
1182
+ return new gi();
1183
1183
  }
1184
- }, pt = {
1185
- variadic: mi
1186
- }, Qe = function() {
1187
- return Qe = Object.assign || function(t) {
1184
+ }, gt = {
1185
+ variadic: bi
1186
+ }, Je = function() {
1187
+ return Je = Object.assign || function(t) {
1188
1188
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1189
1189
  r = arguments[n];
1190
1190
  for (var o in r)
1191
1191
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1192
1192
  }
1193
1193
  return t;
1194
- }, Qe.apply(this, arguments);
1194
+ }, Je.apply(this, arguments);
1195
1195
  };
1196
1196
  var w;
1197
1197
  (function(e) {
@@ -1201,47 +1201,47 @@ var O;
1201
1201
  (function(e) {
1202
1202
  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
1203
  })(O || (O = {}));
1204
- var xe;
1204
+ var Ce;
1205
1205
  (function(e) {
1206
1206
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1207
- })(xe || (xe = {}));
1208
- function er(e) {
1207
+ })(Ce || (Ce = {}));
1208
+ function tr(e) {
1209
1209
  return e.type === O.literal;
1210
1210
  }
1211
- function vi(e) {
1211
+ function yi(e) {
1212
1212
  return e.type === O.argument;
1213
1213
  }
1214
- function kr(e) {
1214
+ function Fr(e) {
1215
1215
  return e.type === O.number;
1216
1216
  }
1217
- function Fr(e) {
1217
+ function $r(e) {
1218
1218
  return e.type === O.date;
1219
1219
  }
1220
- function $r(e) {
1220
+ function Gr(e) {
1221
1221
  return e.type === O.time;
1222
1222
  }
1223
- function Gr(e) {
1223
+ function jr(e) {
1224
1224
  return e.type === O.select;
1225
1225
  }
1226
- function jr(e) {
1226
+ function Wr(e) {
1227
1227
  return e.type === O.plural;
1228
1228
  }
1229
- function yi(e) {
1229
+ function wi(e) {
1230
1230
  return e.type === O.pound;
1231
1231
  }
1232
- function Wr(e) {
1232
+ function Vr(e) {
1233
1233
  return e.type === O.tag;
1234
1234
  }
1235
- function Vr(e) {
1236
- return !!(e && typeof e == "object" && e.type === xe.number);
1235
+ function Yr(e) {
1236
+ return !!(e && typeof e == "object" && e.type === Ce.number);
1237
1237
  }
1238
- function Ht(e) {
1239
- return !!(e && typeof e == "object" && e.type === xe.dateTime);
1238
+ function Mt(e) {
1239
+ return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1240
1240
  }
1241
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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 _i(e) {
1241
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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 Ei(e) {
1243
1243
  var t = {};
1244
- return e.replace(wi, function(r) {
1244
+ return e.replace(_i, function(r) {
1245
1245
  var n = r.length;
1246
1246
  switch (r[0]) {
1247
1247
  case "G":
@@ -1340,11 +1340,11 @@ var H = function() {
1340
1340
  return t;
1341
1341
  }, H.apply(this, arguments);
1342
1342
  };
1343
- var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
- function Ti(e) {
1343
+ var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
+ function xi(e) {
1345
1345
  if (e.length === 0)
1346
1346
  throw new Error("Number skeleton cannot be empty");
1347
- for (var t = e.split(Ei).filter(function(f) {
1347
+ for (var t = e.split(Ti).filter(function(f) {
1348
1348
  return f.length > 0;
1349
1349
  }), r = [], n = 0, i = t; n < i.length; n++) {
1350
1350
  var o = i[n], a = o.split("/");
@@ -1359,17 +1359,17 @@ function Ti(e) {
1359
1359
  }
1360
1360
  return r;
1361
1361
  }
1362
- function xi(e) {
1362
+ function Bi(e) {
1363
1363
  return e.replace(/^(.*?)-/, "");
1364
1364
  }
1365
- var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1366
- function rr(e) {
1365
+ var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1366
+ function nr(e) {
1367
1367
  var t = {};
1368
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xr, function(r, n, i) {
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1369
1369
  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
1370
  }), t;
1371
1371
  }
1372
- function zr(e) {
1372
+ function Qr(e) {
1373
1373
  switch (e) {
1374
1374
  case "sign-auto":
1375
1375
  return {
@@ -1409,7 +1409,7 @@ function zr(e) {
1409
1409
  };
1410
1410
  }
1411
1411
  }
1412
- function Si(e) {
1412
+ function Ci(e) {
1413
1413
  var t;
1414
1414
  if (e[0] === "E" && e[1] === "E" ? (t = {
1415
1415
  notation: "engineering"
@@ -1417,17 +1417,17 @@ function Si(e) {
1417
1417
  notation: "scientific"
1418
1418
  }, e = e.slice(1)), t) {
1419
1419
  var r = e.slice(0, 2);
1420
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qr.test(e))
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1421
1421
  throw new Error("Malformed concise eng/scientific notation");
1422
1422
  t.minimumIntegerDigits = e.length;
1423
1423
  }
1424
1424
  return t;
1425
1425
  }
1426
- function nr(e) {
1427
- var t = {}, r = zr(e);
1426
+ function ir(e) {
1427
+ var t = {}, r = Qr(e);
1428
1428
  return r || t;
1429
1429
  }
1430
- function Ci(e) {
1430
+ function Oi(e) {
1431
1431
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1432
1432
  var i = n[r];
1433
1433
  switch (i.stem) {
@@ -1451,7 +1451,7 @@ function Ci(e) {
1451
1451
  continue;
1452
1452
  case "measure-unit":
1453
1453
  case "unit":
1454
- t.style = "unit", t.unit = xi(i.options[0]);
1454
+ t.style = "unit", t.unit = Bi(i.options[0]);
1455
1455
  continue;
1456
1456
  case "compact-short":
1457
1457
  case "K":
@@ -1463,12 +1463,12 @@ function Ci(e) {
1463
1463
  continue;
1464
1464
  case "scientific":
1465
1465
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1466
- return H(H({}, l), nr(u));
1466
+ return H(H({}, l), ir(u));
1467
1467
  }, {}));
1468
1468
  continue;
1469
1469
  case "engineering":
1470
1470
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1471
- return H(H({}, l), nr(u));
1471
+ return H(H({}, l), ir(u));
1472
1472
  }, {}));
1473
1473
  continue;
1474
1474
  case "notation-simple":
@@ -1513,7 +1513,7 @@ function Ci(e) {
1513
1513
  case "integer-width":
1514
1514
  if (i.options.length > 1)
1515
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1516
- i.options[0].replace(Bi, function(l, u, h, c, f, d) {
1516
+ i.options[0].replace(Si, function(l, u, h, c, f, d) {
1517
1517
  if (u)
1518
1518
  t.minimumIntegerDigits = h.length;
1519
1519
  else {
@@ -1526,32 +1526,32 @@ function Ci(e) {
1526
1526
  });
1527
1527
  continue;
1528
1528
  }
1529
- if (qr.test(i.stem)) {
1529
+ if (zr.test(i.stem)) {
1530
1530
  t.minimumIntegerDigits = i.stem.length;
1531
1531
  continue;
1532
1532
  }
1533
- if (tr.test(i.stem)) {
1533
+ if (rr.test(i.stem)) {
1534
1534
  if (i.options.length > 1)
1535
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1536
- i.stem.replace(tr, function(l, u, h, c, f, d) {
1536
+ i.stem.replace(rr, function(l, u, h, c, f, d) {
1537
1537
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1538
1538
  });
1539
1539
  var o = i.options[0];
1540
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), rr(o)));
1540
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), nr(o)));
1541
1541
  continue;
1542
1542
  }
1543
- if (Xr.test(i.stem)) {
1544
- t = H(H({}, t), rr(i.stem));
1543
+ if (qr.test(i.stem)) {
1544
+ t = H(H({}, t), nr(i.stem));
1545
1545
  continue;
1546
1546
  }
1547
- var a = zr(i.stem);
1547
+ var a = Qr(i.stem);
1548
1548
  a && (t = H(H({}, t), a));
1549
- var s = Si(i.stem);
1549
+ var s = Ci(i.stem);
1550
1550
  s && (t = H(H({}, t), s));
1551
1551
  }
1552
1552
  return t;
1553
1553
  }
1554
- var Ve = {
1554
+ var Xe = {
1555
1555
  "001": [
1556
1556
  "H",
1557
1557
  "h"
@@ -2966,13 +2966,13 @@ var Ve = {
2966
2966
  "h"
2967
2967
  ]
2968
2968
  };
2969
- function Oi(e, t) {
2969
+ function Pi(e, t) {
2970
2970
  for (var r = "", n = 0; n < e.length; n++) {
2971
2971
  var i = e.charAt(n);
2972
2972
  if (i === "j") {
2973
2973
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2974
2974
  o++, n++;
2975
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Pi(t);
2975
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
2976
2976
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2977
2977
  r += l;
2978
2978
  for (; a-- > 0; )
@@ -2982,7 +2982,7 @@ function Oi(e, t) {
2982
2982
  }
2983
2983
  return r;
2984
2984
  }
2985
- function Pi(e) {
2985
+ function Ai(e) {
2986
2986
  var t = e.hourCycle;
2987
2987
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2988
2988
  e.hourCycles && // @ts-ignore
@@ -3001,23 +3001,23 @@ function Pi(e) {
3001
3001
  }
3002
3002
  var r = e.language, n;
3003
3003
  r !== "root" && (n = e.maximize().region);
3004
- var i = Ve[n || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
3004
+ var i = Xe[n || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
3005
3005
  return i[0];
3006
3006
  }
3007
- var gt, Ai = new RegExp("^".concat(Yr.source, "*")), Hi = new RegExp("".concat(Yr.source, "*$"));
3007
+ var vt, Hi = new RegExp("^".concat(Xr.source, "*")), Mi = new RegExp("".concat(Xr.source, "*$"));
3008
3008
  function _(e, t) {
3009
3009
  return { start: e, end: t };
3010
3010
  }
3011
- var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ni = !!Object.fromEntries, Di = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, ki = Ui ? Number.isSafeInteger : function(e) {
3011
+ var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Di = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, ki = !!Number.isSafeInteger, Fi = ki ? Number.isSafeInteger : function(e) {
3012
3012
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3013
- }, Mt = !0;
3013
+ }, Rt = !0;
3014
3014
  try {
3015
- var Fi = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
- Mt = ((gt = Fi.exec("a")) === null || gt === void 0 ? void 0 : gt[0]) === "a";
3015
+ var $i = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
+ Rt = ((vt = $i.exec("a")) === null || vt === void 0 ? void 0 : vt[0]) === "a";
3017
3017
  } catch {
3018
- Mt = !1;
3018
+ Rt = !1;
3019
3019
  }
3020
- var ir = Mi ? (
3020
+ var or = Ri ? (
3021
3021
  // Native
3022
3022
  function(t, r, n) {
3023
3023
  return t.startsWith(r, n);
@@ -3027,7 +3027,7 @@ var ir = Mi ? (
3027
3027
  function(t, r, n) {
3028
3028
  return t.slice(n, n + r.length) === r;
3029
3029
  }
3030
- ), Rt = Ri ? String.fromCodePoint : (
3030
+ ), Nt = Ni ? String.fromCodePoint : (
3031
3031
  // IE11
3032
3032
  function() {
3033
3033
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3039,9 +3039,9 @@ var ir = Mi ? (
3039
3039
  }
3040
3040
  return n;
3041
3041
  }
3042
- ), or = (
3042
+ ), ar = (
3043
3043
  // native
3044
- Ni ? Object.fromEntries : (
3044
+ Di ? Object.fromEntries : (
3045
3045
  // Ponyfill
3046
3046
  function(t) {
3047
3047
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3051,7 +3051,7 @@ var ir = Mi ? (
3051
3051
  return r;
3052
3052
  }
3053
3053
  )
3054
- ), Qr = Di ? (
3054
+ ), Zr = Ii ? (
3055
3055
  // Native
3056
3056
  function(t, r) {
3057
3057
  return t.codePointAt(r);
@@ -3065,7 +3065,7 @@ var ir = Mi ? (
3065
3065
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3066
3066
  }
3067
3067
  }
3068
- ), $i = Ii ? (
3068
+ ), Gi = Li ? (
3069
3069
  // Native
3070
3070
  function(t) {
3071
3071
  return t.trimStart();
@@ -3073,9 +3073,9 @@ var ir = Mi ? (
3073
3073
  ) : (
3074
3074
  // Ponyfill
3075
3075
  function(t) {
3076
- return t.replace(Ai, "");
3076
+ return t.replace(Hi, "");
3077
3077
  }
3078
- ), Gi = Li ? (
3078
+ ), ji = Ui ? (
3079
3079
  // Native
3080
3080
  function(t) {
3081
3081
  return t.trimEnd();
@@ -3083,32 +3083,32 @@ var ir = Mi ? (
3083
3083
  ) : (
3084
3084
  // Ponyfill
3085
3085
  function(t) {
3086
- return t.replace(Hi, "");
3086
+ return t.replace(Mi, "");
3087
3087
  }
3088
3088
  );
3089
- function Zr(e, t) {
3089
+ function Jr(e, t) {
3090
3090
  return new RegExp(e, t);
3091
3091
  }
3092
- var Nt;
3093
- if (Mt) {
3094
- var ar = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
- Nt = function(t, r) {
3092
+ var Dt;
3093
+ if (Rt) {
3094
+ var sr = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
+ Dt = function(t, r) {
3096
3096
  var n;
3097
- ar.lastIndex = r;
3098
- var i = ar.exec(t);
3097
+ sr.lastIndex = r;
3098
+ var i = sr.exec(t);
3099
3099
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3100
3100
  };
3101
3101
  } else
3102
- Nt = function(t, r) {
3102
+ Dt = function(t, r) {
3103
3103
  for (var n = []; ; ) {
3104
- var i = Qr(t, r);
3105
- if (i === void 0 || Jr(i) || Yi(i))
3104
+ var i = Zr(t, r);
3105
+ if (i === void 0 || Kr(i) || Xi(i))
3106
3106
  break;
3107
3107
  n.push(i), r += i >= 65536 ? 2 : 1;
3108
3108
  }
3109
- return Rt.apply(void 0, n);
3109
+ return Nt.apply(void 0, n);
3110
3110
  };
3111
- var ji = (
3111
+ var Wi = (
3112
3112
  /** @class */
3113
3113
  function() {
3114
3114
  function e(t, r) {
@@ -3139,7 +3139,7 @@ var ji = (
3139
3139
  if (n)
3140
3140
  break;
3141
3141
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3142
- } else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
3142
+ } else if (o === 60 && !this.ignoreTag && It(this.peek() || 0)) {
3143
3143
  var a = this.parseTag(t, r);
3144
3144
  if (a.err)
3145
3145
  return a;
@@ -3172,7 +3172,7 @@ var ji = (
3172
3172
  return o;
3173
3173
  var a = o.val, s = this.clonePosition();
3174
3174
  if (this.bumpIf("</")) {
3175
- if (this.isEOF() || !Dt(this.char()))
3175
+ if (this.isEOF() || !It(this.char()))
3176
3176
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3177
3177
  var l = this.clonePosition(), u = this.parseTagName();
3178
3178
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3190,7 +3190,7 @@ var ji = (
3190
3190
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3191
3191
  }, e.prototype.parseTagName = function() {
3192
3192
  var t = this.offset();
3193
- for (this.bump(); !this.isEOF() && Vi(this.char()); )
3193
+ for (this.bump(); !this.isEOF() && Yi(this.char()); )
3194
3194
  this.bump();
3195
3195
  return this.message.slice(t, this.offset());
3196
3196
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3219,7 +3219,7 @@ var ji = (
3219
3219
  };
3220
3220
  }, e.prototype.tryParseLeftAngleBracket = function() {
3221
3221
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3222
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3222
+ !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3223
3223
  }, e.prototype.tryParseQuote = function(t) {
3224
3224
  if (this.isEOF() || this.char() !== 39)
3225
3225
  return null;
@@ -3253,12 +3253,12 @@ var ji = (
3253
3253
  r.push(n);
3254
3254
  this.bump();
3255
3255
  }
3256
- return Rt.apply(void 0, r);
3256
+ return Nt.apply(void 0, r);
3257
3257
  }, e.prototype.tryParseUnquoted = function(t, r) {
3258
3258
  if (this.isEOF())
3259
3259
  return null;
3260
3260
  var n = this.char();
3261
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
3261
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
3262
3262
  }, e.prototype.parseArgument = function(t, r) {
3263
3263
  var n = this.clonePosition();
3264
3264
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3287,7 +3287,7 @@ var ji = (
3287
3287
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3288
3288
  }
3289
3289
  }, e.prototype.parseIdentifierIfPossible = function() {
3290
- var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
3290
+ var t = this.clonePosition(), r = this.offset(), n = Dt(this.message, r), i = r + n.length;
3291
3291
  this.bumpTo(i);
3292
3292
  var o = this.clonePosition(), a = _(t, o);
3293
3293
  return { value: n, location: a };
@@ -3306,7 +3306,7 @@ var ji = (
3306
3306
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3307
3307
  if (c.err)
3308
3308
  return c;
3309
- var f = Gi(c.val);
3309
+ var f = ji(c.val);
3310
3310
  if (f.length === 0)
3311
3311
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3312
3312
  var d = _(h, this.clonePosition());
@@ -3316,8 +3316,8 @@ var ji = (
3316
3316
  if (v.err)
3317
3317
  return v;
3318
3318
  var y = _(i, this.clonePosition());
3319
- if (u && ir(u?.style, "::", 0)) {
3320
- var B = $i(u.style.slice(2));
3319
+ if (u && or(u?.style, "::", 0)) {
3320
+ var B = Gi(u.style.slice(2));
3321
3321
  if (s === "number") {
3322
3322
  var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
3323
3323
  return c.err ? c : {
@@ -3328,12 +3328,12 @@ var ji = (
3328
3328
  if (B.length === 0)
3329
3329
  return this.error(w.EXPECT_DATE_TIME_SKELETON, y);
3330
3330
  var U = B;
3331
- this.locale && (U = Oi(B, this.locale));
3331
+ this.locale && (U = Pi(B, this.locale));
3332
3332
  var f = {
3333
- type: xe.dateTime,
3333
+ type: Ce.dateTime,
3334
3334
  pattern: U,
3335
3335
  location: u.styleLocation,
3336
- parsedOptions: this.shouldParseSkeletons ? _i(U) : {}
3336
+ parsedOptions: this.shouldParseSkeletons ? Ei(U) : {}
3337
3337
  }, N = s === "date" ? O.date : O.time;
3338
3338
  return {
3339
3339
  val: { type: N, value: n, location: y, style: f },
@@ -3356,7 +3356,7 @@ var ji = (
3356
3356
  case "select": {
3357
3357
  var S = this.clonePosition();
3358
3358
  if (this.bumpSpace(), !this.bumpIf(","))
3359
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Qe({}, S)));
3359
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Je({}, S)));
3360
3360
  this.bumpSpace();
3361
3361
  var A = this.parseIdentifierIfPossible(), D = 0;
3362
3362
  if (s !== "select" && A.value === "offset") {
@@ -3379,7 +3379,7 @@ var ji = (
3379
3379
  val: {
3380
3380
  type: O.select,
3381
3381
  value: n,
3382
- options: or(L.val),
3382
+ options: ar(L.val),
3383
3383
  location: Z
3384
3384
  },
3385
3385
  err: null
@@ -3387,7 +3387,7 @@ var ji = (
3387
3387
  val: {
3388
3388
  type: O.plural,
3389
3389
  value: n,
3390
- options: or(L.val),
3390
+ options: ar(L.val),
3391
3391
  offset: D,
3392
3392
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3393
3393
  location: Z
@@ -3438,16 +3438,16 @@ var ji = (
3438
3438
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3439
3439
  var n = [];
3440
3440
  try {
3441
- n = Ti(t);
3441
+ n = xi(t);
3442
3442
  } catch {
3443
3443
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3444
3444
  }
3445
3445
  return {
3446
3446
  val: {
3447
- type: xe.number,
3447
+ type: Ce.number,
3448
3448
  tokens: n,
3449
3449
  location: r,
3450
- parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
3450
+ parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
3451
3451
  },
3452
3452
  err: null
3453
3453
  };
@@ -3495,7 +3495,7 @@ var ji = (
3495
3495
  break;
3496
3496
  }
3497
3497
  var l = _(i, this.clonePosition());
3498
- return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3498
+ return o ? (a *= n, Fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3499
3499
  }, e.prototype.offset = function() {
3500
3500
  return this.position.offset;
3501
3501
  }, e.prototype.isEOF = function() {
@@ -3510,7 +3510,7 @@ var ji = (
3510
3510
  var t = this.position.offset;
3511
3511
  if (t >= this.message.length)
3512
3512
  throw Error("out of bound");
3513
- var r = Qr(this.message, t);
3513
+ var r = Zr(this.message, t);
3514
3514
  if (r === void 0)
3515
3515
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3516
3516
  return r;
@@ -3529,7 +3529,7 @@ var ji = (
3529
3529
  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
3530
  }
3531
3531
  }, e.prototype.bumpIf = function(t) {
3532
- if (ir(this.message, t, this.offset())) {
3532
+ if (or(this.message, t, this.offset())) {
3533
3533
  for (var r = 0; r < t.length; r++)
3534
3534
  this.bump();
3535
3535
  return !0;
@@ -3551,7 +3551,7 @@ var ji = (
3551
3551
  break;
3552
3552
  }
3553
3553
  }, e.prototype.bumpSpace = function() {
3554
- for (; !this.isEOF() && Jr(this.char()); )
3554
+ for (; !this.isEOF() && Kr(this.char()); )
3555
3555
  this.bump();
3556
3556
  }, e.prototype.peek = function() {
3557
3557
  if (this.isEOF())
@@ -3561,47 +3561,47 @@ var ji = (
3561
3561
  }, e;
3562
3562
  }()
3563
3563
  );
3564
- function Dt(e) {
3564
+ function It(e) {
3565
3565
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3566
3566
  }
3567
- function Wi(e) {
3568
- return Dt(e) || e === 47;
3569
- }
3570
3567
  function Vi(e) {
3568
+ return It(e) || e === 47;
3569
+ }
3570
+ function Yi(e) {
3571
3571
  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
3572
  }
3573
- function Jr(e) {
3573
+ function Kr(e) {
3574
3574
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3575
3575
  }
3576
- function Yi(e) {
3576
+ function Xi(e) {
3577
3577
  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
3578
  }
3579
- function It(e) {
3579
+ function Lt(e) {
3580
3580
  e.forEach(function(t) {
3581
- if (delete t.location, Gr(t) || jr(t))
3581
+ if (delete t.location, jr(t) || Wr(t))
3582
3582
  for (var r in t.options)
3583
- delete t.options[r].location, It(t.options[r].value);
3583
+ delete t.options[r].location, Lt(t.options[r].value);
3584
3584
  else
3585
- kr(t) && Vr(t.style) || (Fr(t) || $r(t)) && Ht(t.style) ? delete t.style.location : Wr(t) && It(t.children);
3585
+ Fr(t) && Yr(t.style) || ($r(t) || Gr(t)) && Mt(t.style) ? delete t.style.location : Vr(t) && Lt(t.children);
3586
3586
  });
3587
3587
  }
3588
- function Xi(e, t) {
3589
- t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3590
- var r = new ji(e, t).parse();
3588
+ function qi(e, t) {
3589
+ t === void 0 && (t = {}), t = Je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3590
+ var r = new Wi(e, t).parse();
3591
3591
  if (r.err) {
3592
3592
  var n = SyntaxError(w[r.err.kind]);
3593
3593
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3594
3594
  }
3595
- return t?.captureLocation || It(r.val), r.val;
3595
+ return t?.captureLocation || Lt(r.val), r.val;
3596
3596
  }
3597
- var Be;
3597
+ var Oe;
3598
3598
  (function(e) {
3599
3599
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3600
- })(Be || (Be = {}));
3601
- var ot = (
3600
+ })(Oe || (Oe = {}));
3601
+ var st = (
3602
3602
  /** @class */
3603
3603
  function(e) {
3604
- it(t, e);
3604
+ at(t, e);
3605
3605
  function t(r, n, i) {
3606
3606
  var o = e.call(this, r) || this;
3607
3607
  return o.code = n, o.originalMessage = i, o;
@@ -3610,48 +3610,48 @@ var ot = (
3610
3610
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3611
3611
  }, t;
3612
3612
  }(Error)
3613
- ), sr = (
3613
+ ), ur = (
3614
3614
  /** @class */
3615
3615
  function(e) {
3616
- it(t, e);
3616
+ at(t, e);
3617
3617
  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('", "'), '"'), Be.INVALID_VALUE, o) || this;
3618
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
3619
3619
  }
3620
3620
  return t;
3621
- }(ot)
3622
- ), qi = (
3621
+ }(st)
3622
+ ), zi = (
3623
3623
  /** @class */
3624
3624
  function(e) {
3625
- it(t, e);
3625
+ at(t, e);
3626
3626
  function t(r, n, i) {
3627
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Be.INVALID_VALUE, i) || this;
3627
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
3628
3628
  }
3629
3629
  return t;
3630
- }(ot)
3631
- ), zi = (
3630
+ }(st)
3631
+ ), Qi = (
3632
3632
  /** @class */
3633
3633
  function(e) {
3634
- it(t, e);
3634
+ at(t, e);
3635
3635
  function t(r, n) {
3636
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Be.MISSING_VALUE, n) || this;
3636
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
3637
3637
  }
3638
3638
  return t;
3639
- }(ot)
3639
+ }(st)
3640
3640
  ), k;
3641
3641
  (function(e) {
3642
3642
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3643
3643
  })(k || (k = {}));
3644
- function Qi(e) {
3644
+ function Zi(e) {
3645
3645
  return e.length < 2 ? e : e.reduce(function(t, r) {
3646
3646
  var n = t[t.length - 1];
3647
3647
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3648
3648
  }, []);
3649
3649
  }
3650
- function Zi(e) {
3650
+ function Ji(e) {
3651
3651
  return typeof e == "function";
3652
3652
  }
3653
- function qe(e, t, r, n, i, o, a) {
3654
- if (e.length === 1 && er(e[0]))
3653
+ function Qe(e, t, r, n, i, o, a) {
3654
+ if (e.length === 1 && tr(e[0]))
3655
3655
  return [
3656
3656
  {
3657
3657
  type: k.literal,
@@ -3660,14 +3660,14 @@ function qe(e, t, r, n, i, o, a) {
3660
3660
  ];
3661
3661
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3662
3662
  var h = u[l];
3663
- if (er(h)) {
3663
+ if (tr(h)) {
3664
3664
  s.push({
3665
3665
  type: k.literal,
3666
3666
  value: h.value
3667
3667
  });
3668
3668
  continue;
3669
3669
  }
3670
- if (yi(h)) {
3670
+ if (wi(h)) {
3671
3671
  typeof o == "number" && s.push({
3672
3672
  type: k.literal,
3673
3673
  value: r.getNumberFormat(t).format(o)
@@ -3676,44 +3676,44 @@ function qe(e, t, r, n, i, o, a) {
3676
3676
  }
3677
3677
  var c = h.value;
3678
3678
  if (!(i && c in i))
3679
- throw new zi(c, a);
3679
+ throw new Qi(c, a);
3680
3680
  var f = i[c];
3681
- if (vi(h)) {
3681
+ if (yi(h)) {
3682
3682
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3683
3683
  type: typeof f == "string" ? k.literal : k.object,
3684
3684
  value: f
3685
3685
  });
3686
3686
  continue;
3687
3687
  }
3688
- if (Fr(h)) {
3689
- var d = typeof h.style == "string" ? n.date[h.style] : Ht(h.style) ? h.style.parsedOptions : void 0;
3688
+ if ($r(h)) {
3689
+ var d = typeof h.style == "string" ? n.date[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
3690
3690
  s.push({
3691
3691
  type: k.literal,
3692
3692
  value: r.getDateTimeFormat(t, d).format(f)
3693
3693
  });
3694
3694
  continue;
3695
3695
  }
3696
- if ($r(h)) {
3697
- var d = typeof h.style == "string" ? n.time[h.style] : Ht(h.style) ? h.style.parsedOptions : n.time.medium;
3696
+ if (Gr(h)) {
3697
+ var d = typeof h.style == "string" ? n.time[h.style] : Mt(h.style) ? h.style.parsedOptions : n.time.medium;
3698
3698
  s.push({
3699
3699
  type: k.literal,
3700
3700
  value: r.getDateTimeFormat(t, d).format(f)
3701
3701
  });
3702
3702
  continue;
3703
3703
  }
3704
- if (kr(h)) {
3705
- var d = typeof h.style == "string" ? n.number[h.style] : Vr(h.style) ? h.style.parsedOptions : void 0;
3704
+ if (Fr(h)) {
3705
+ var d = typeof h.style == "string" ? n.number[h.style] : Yr(h.style) ? h.style.parsedOptions : void 0;
3706
3706
  d && d.scale && (f = f * (d.scale || 1)), s.push({
3707
3707
  type: k.literal,
3708
3708
  value: r.getNumberFormat(t, d).format(f)
3709
3709
  });
3710
3710
  continue;
3711
3711
  }
3712
- if (Wr(h)) {
3712
+ if (Vr(h)) {
3713
3713
  var v = h.children, y = h.value, B = i[y];
3714
- if (!Zi(B))
3715
- throw new qi(y, "function", a);
3716
- var U = qe(v, t, r, n, i, o), N = B(U.map(function(D) {
3714
+ if (!Ji(B))
3715
+ throw new zi(y, "function", a);
3716
+ var U = Qe(v, t, r, n, i, o), N = B(U.map(function(D) {
3717
3717
  return D.value;
3718
3718
  }));
3719
3719
  Array.isArray(N) || (N = [N]), s.push.apply(s, N.map(function(D) {
@@ -3723,42 +3723,42 @@ function qe(e, t, r, n, i, o, a) {
3723
3723
  };
3724
3724
  }));
3725
3725
  }
3726
- if (Gr(h)) {
3726
+ if (jr(h)) {
3727
3727
  var S = h.options[f] || h.options.other;
3728
3728
  if (!S)
3729
- throw new sr(h.value, f, Object.keys(h.options), a);
3730
- s.push.apply(s, qe(S.value, t, r, n, i));
3729
+ throw new ur(h.value, f, Object.keys(h.options), a);
3730
+ s.push.apply(s, Qe(S.value, t, r, n, i));
3731
3731
  continue;
3732
3732
  }
3733
- if (jr(h)) {
3733
+ if (Wr(h)) {
3734
3734
  var S = h.options["=".concat(f)];
3735
3735
  if (!S) {
3736
3736
  if (!Intl.PluralRules)
3737
- throw new ot(`Intl.PluralRules is not available in this environment.
3737
+ throw new st(`Intl.PluralRules is not available in this environment.
3738
3738
  Try polyfilling it using "@formatjs/intl-pluralrules"
3739
- `, Be.MISSING_INTL_API, a);
3739
+ `, Oe.MISSING_INTL_API, a);
3740
3740
  var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3741
3741
  S = h.options[A] || h.options.other;
3742
3742
  }
3743
3743
  if (!S)
3744
- throw new sr(h.value, f, Object.keys(h.options), a);
3745
- s.push.apply(s, qe(S.value, t, r, n, i, f - (h.offset || 0)));
3744
+ throw new ur(h.value, f, Object.keys(h.options), a);
3745
+ s.push.apply(s, Qe(S.value, t, r, n, i, f - (h.offset || 0)));
3746
3746
  continue;
3747
3747
  }
3748
3748
  }
3749
- return Qi(s);
3749
+ return Zi(s);
3750
3750
  }
3751
- function Ji(e, t) {
3752
- return t ? te(te(te({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3753
- return r[n] = te(te({}, e[n]), t[n] || {}), r;
3751
+ function Ki(e, t) {
3752
+ return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3753
+ return r[n] = re(re({}, e[n]), t[n] || {}), r;
3754
3754
  }, {})) : e;
3755
3755
  }
3756
- function Ki(e, t) {
3756
+ function eo(e, t) {
3757
3757
  return t ? Object.keys(e).reduce(function(r, n) {
3758
- return r[n] = Ji(e[n], t[n]), r;
3759
- }, te({}, e)) : e;
3758
+ return r[n] = Ki(e[n], t[n]), r;
3759
+ }, re({}, e)) : e;
3760
3760
  }
3761
- function vt(e) {
3761
+ function yt(e) {
3762
3762
  return {
3763
3763
  create: function() {
3764
3764
  return {
@@ -3772,39 +3772,39 @@ function vt(e) {
3772
3772
  }
3773
3773
  };
3774
3774
  }
3775
- function eo(e) {
3775
+ function to(e) {
3776
3776
  return e === void 0 && (e = {
3777
3777
  number: {},
3778
3778
  dateTime: {},
3779
3779
  pluralRules: {}
3780
3780
  }), {
3781
- getNumberFormat: bt(function() {
3781
+ getNumberFormat: pt(function() {
3782
3782
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3783
  r[n] = arguments[n];
3784
- return new ((t = Intl.NumberFormat).bind.apply(t, mt([void 0], r, !1)))();
3784
+ return new ((t = Intl.NumberFormat).bind.apply(t, bt([void 0], r, !1)))();
3785
3785
  }, {
3786
- cache: vt(e.number),
3787
- strategy: pt.variadic
3786
+ cache: yt(e.number),
3787
+ strategy: gt.variadic
3788
3788
  }),
3789
- getDateTimeFormat: bt(function() {
3789
+ getDateTimeFormat: pt(function() {
3790
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3791
  r[n] = arguments[n];
3792
- return new ((t = Intl.DateTimeFormat).bind.apply(t, mt([void 0], r, !1)))();
3792
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, bt([void 0], r, !1)))();
3793
3793
  }, {
3794
- cache: vt(e.dateTime),
3795
- strategy: pt.variadic
3794
+ cache: yt(e.dateTime),
3795
+ strategy: gt.variadic
3796
3796
  }),
3797
- getPluralRules: bt(function() {
3797
+ getPluralRules: pt(function() {
3798
3798
  for (var t, r = [], n = 0; n < arguments.length; n++)
3799
3799
  r[n] = arguments[n];
3800
- return new ((t = Intl.PluralRules).bind.apply(t, mt([void 0], r, !1)))();
3800
+ return new ((t = Intl.PluralRules).bind.apply(t, bt([void 0], r, !1)))();
3801
3801
  }, {
3802
- cache: vt(e.pluralRules),
3803
- strategy: pt.variadic
3802
+ cache: yt(e.pluralRules),
3803
+ strategy: gt.variadic
3804
3804
  })
3805
3805
  };
3806
3806
  }
3807
- var to = (
3807
+ var ro = (
3808
3808
  /** @class */
3809
3809
  function() {
3810
3810
  function e(t, r, n, i) {
@@ -3823,7 +3823,7 @@ var to = (
3823
3823
  }, []);
3824
3824
  return h.length <= 1 ? h[0] || "" : h;
3825
3825
  }, this.formatToParts = function(l) {
3826
- return qe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3826
+ return Qe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3827
3827
  }, this.resolvedOptions = function() {
3828
3828
  var l;
3829
3829
  return {
@@ -3836,13 +3836,13 @@ var to = (
3836
3836
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3837
3837
  var a = i || {};
3838
3838
  a.formatters;
3839
- var s = hi(a, ["formatters"]);
3840
- this.ast = e.__parse(t, te(te({}, s), { locale: this.resolvedLocale }));
3839
+ var s = fi(a, ["formatters"]);
3840
+ this.ast = e.__parse(t, re(re({}, s), { locale: this.resolvedLocale }));
3841
3841
  } else
3842
3842
  this.ast = t;
3843
3843
  if (!Array.isArray(this.ast))
3844
3844
  throw new TypeError("A message must be provided as a String or AST.");
3845
- this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || eo(this.formatterCache);
3845
+ this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3846
3846
  }
3847
3847
  return Object.defineProperty(e, "defaultLocale", {
3848
3848
  get: function() {
@@ -3855,7 +3855,7 @@ var to = (
3855
3855
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3856
3856
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3857
3857
  }
3858
- }, e.__parse = Xi, e.formats = {
3858
+ }, e.__parse = qi, e.formats = {
3859
3859
  number: {
3860
3860
  integer: {
3861
3861
  maximumFractionDigits: 0
@@ -3916,7 +3916,7 @@ var to = (
3916
3916
  }, e;
3917
3917
  }()
3918
3918
  );
3919
- function ro(e, t) {
3919
+ function no(e, t) {
3920
3920
  if (t == null)
3921
3921
  return;
3922
3922
  if (t in e)
@@ -3937,92 +3937,92 @@ function ro(e, t) {
3937
3937
  n = void 0;
3938
3938
  return n;
3939
3939
  }
3940
- const ue = {}, no = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Kr = (e, t) => {
3940
+ const ue = {}, io = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), en = (e, t) => {
3941
3941
  if (t == null)
3942
3942
  return;
3943
3943
  if (t in ue && e in ue[t])
3944
3944
  return ue[t][e];
3945
- const r = at(t);
3945
+ const r = ut(t);
3946
3946
  for (let n = 0; n < r.length; n++) {
3947
- const i = r[n], o = oo(i, e);
3947
+ const i = r[n], o = ao(i, e);
3948
3948
  if (o)
3949
- return no(e, t, o);
3949
+ return io(e, t, o);
3950
3950
  }
3951
3951
  };
3952
- let Ft;
3953
- const $e = nt({});
3954
- function io(e) {
3955
- return Ft[e] || null;
3952
+ let $t;
3953
+ const je = ot({});
3954
+ function oo(e) {
3955
+ return $t[e] || null;
3956
3956
  }
3957
- function en(e) {
3958
- return e in Ft;
3957
+ function tn(e) {
3958
+ return e in $t;
3959
3959
  }
3960
- function oo(e, t) {
3961
- if (!en(e))
3960
+ function ao(e, t) {
3961
+ if (!tn(e))
3962
3962
  return null;
3963
- const r = io(e);
3964
- return ro(r, t);
3963
+ const r = oo(e);
3964
+ return no(r, t);
3965
3965
  }
3966
- function ao(e) {
3966
+ function so(e) {
3967
3967
  if (e == null)
3968
3968
  return;
3969
- const t = at(e);
3969
+ const t = ut(e);
3970
3970
  for (let r = 0; r < t.length; r++) {
3971
3971
  const n = t[r];
3972
- if (en(n))
3972
+ if (tn(n))
3973
3973
  return n;
3974
3974
  }
3975
3975
  }
3976
- function tn(e, ...t) {
3977
- delete ue[e], $e.update((r) => (r[e] = li.all([r[e] || {}, ...t]), r));
3976
+ function rn(e, ...t) {
3977
+ delete ue[e], je.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3978
3978
  }
3979
- Ce(
3980
- [$e],
3979
+ Ae(
3980
+ [je],
3981
3981
  ([e]) => Object.keys(e)
3982
3982
  );
3983
- $e.subscribe((e) => Ft = e);
3984
- const ze = {};
3985
- function so(e, t) {
3986
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3983
+ je.subscribe((e) => $t = e);
3984
+ const Ze = {};
3985
+ function uo(e, t) {
3986
+ Ze[e].delete(t), Ze[e].size === 0 && delete Ze[e];
3987
3987
  }
3988
- function rn(e) {
3989
- return ze[e];
3988
+ function nn(e) {
3989
+ return Ze[e];
3990
3990
  }
3991
- function uo(e) {
3992
- return at(e).map((t) => {
3993
- const r = rn(t);
3991
+ function lo(e) {
3992
+ return ut(e).map((t) => {
3993
+ const r = nn(t);
3994
3994
  return [t, r ? [...r] : []];
3995
3995
  }).filter(([, t]) => t.length > 0);
3996
3996
  }
3997
- function Lt(e) {
3998
- return e == null ? !1 : at(e).some(
3997
+ function Ut(e) {
3998
+ return e == null ? !1 : ut(e).some(
3999
3999
  (t) => {
4000
4000
  var r;
4001
- return (r = rn(t)) == null ? void 0 : r.size;
4001
+ return (r = nn(t)) == null ? void 0 : r.size;
4002
4002
  }
4003
4003
  );
4004
4004
  }
4005
- function lo(e, t) {
4005
+ function ho(e, t) {
4006
4006
  return Promise.all(
4007
- t.map((n) => (so(e, n), n().then((i) => i.default || i)))
4008
- ).then((n) => tn(e, ...n));
4009
- }
4010
- const Me = {};
4011
- function nn(e) {
4012
- if (!Lt(e))
4013
- return e in Me ? Me[e] : Promise.resolve();
4014
- const t = uo(e);
4015
- return Me[e] = Promise.all(
4007
+ t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
4008
+ ).then((n) => rn(e, ...n));
4009
+ }
4010
+ const Ne = {};
4011
+ function on(e) {
4012
+ if (!Ut(e))
4013
+ return e in Ne ? Ne[e] : Promise.resolve();
4014
+ const t = lo(e);
4015
+ return Ne[e] = Promise.all(
4016
4016
  t.map(
4017
- ([r, n]) => lo(r, n)
4017
+ ([r, n]) => ho(r, n)
4018
4018
  )
4019
4019
  ).then(() => {
4020
- if (Lt(e))
4021
- return nn(e);
4022
- delete Me[e];
4023
- }), Me[e];
4020
+ if (Ut(e))
4021
+ return on(e);
4022
+ delete Ne[e];
4023
+ }), Ne[e];
4024
4024
  }
4025
- const ho = {
4025
+ const fo = {
4026
4026
  number: {
4027
4027
  scientific: { notation: "scientific" },
4028
4028
  engineering: { notation: "engineering" },
@@ -4051,150 +4051,150 @@ const ho = {
4051
4051
  timeZoneName: "short"
4052
4052
  }
4053
4053
  }
4054
- }, fo = {
4054
+ }, co = {
4055
4055
  fallbackLocale: null,
4056
4056
  loadingDelay: 200,
4057
- formats: ho,
4057
+ formats: fo,
4058
4058
  warnOnMissingMessages: !0,
4059
4059
  handleMissingMessage: void 0,
4060
4060
  ignoreTag: !0
4061
- }, co = fo;
4062
- function Se() {
4063
- return co;
4061
+ }, mo = co;
4062
+ function Pe() {
4063
+ return mo;
4064
4064
  }
4065
- const yt = nt(!1);
4066
- var mo = Object.defineProperty, bo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4065
+ const wt = ot(!1);
4066
+ var bo = Object.defineProperty, po = Object.defineProperties, go = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, vo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
4067
4067
  for (var r in t || (t = {}))
4068
- go.call(t, r) && lr(e, r, t[r]);
4069
- if (ur)
4070
- for (var r of ur(t))
4071
- vo.call(t, r) && lr(e, r, t[r]);
4068
+ vo.call(t, r) && hr(e, r, t[r]);
4069
+ if (lr)
4070
+ for (var r of lr(t))
4071
+ yo.call(t, r) && hr(e, r, t[r]);
4072
4072
  return e;
4073
- }, wo = (e, t) => bo(e, po(t));
4074
- let Ut;
4075
- const Ze = nt(null);
4076
- function hr(e) {
4073
+ }, _o = (e, t) => po(e, go(t));
4074
+ let kt;
4075
+ const Ke = ot(null);
4076
+ function fr(e) {
4077
4077
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4078
4078
  }
4079
- function at(e, t = Se().fallbackLocale) {
4080
- const r = hr(e);
4081
- return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
4079
+ function ut(e, t = Pe().fallbackLocale) {
4080
+ const r = fr(e);
4081
+ return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
4082
4082
  }
4083
- function me() {
4084
- return Ut ?? void 0;
4083
+ function de() {
4084
+ return kt ?? void 0;
4085
4085
  }
4086
- Ze.subscribe((e) => {
4087
- Ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4086
+ Ke.subscribe((e) => {
4087
+ kt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4088
4088
  });
4089
- const _o = (e) => {
4090
- if (e && ao(e) && Lt(e)) {
4091
- const { loadingDelay: t } = Se();
4089
+ const Eo = (e) => {
4090
+ if (e && so(e) && Ut(e)) {
4091
+ const { loadingDelay: t } = Pe();
4092
4092
  let r;
4093
- return typeof window < "u" && me() != null && t ? r = window.setTimeout(
4094
- () => yt.set(!0),
4093
+ return typeof window < "u" && de() != null && t ? r = window.setTimeout(
4094
+ () => wt.set(!0),
4095
4095
  t
4096
- ) : yt.set(!0), nn(e).then(() => {
4097
- Ze.set(e);
4096
+ ) : wt.set(!0), on(e).then(() => {
4097
+ Ke.set(e);
4098
4098
  }).finally(() => {
4099
- clearTimeout(r), yt.set(!1);
4099
+ clearTimeout(r), wt.set(!1);
4100
4100
  });
4101
4101
  }
4102
- return Ze.set(e);
4103
- }, Oe = wo(yo({}, Ze), {
4104
- set: _o
4105
- }), st = (e) => {
4102
+ return Ke.set(e);
4103
+ }, He = _o(wo({}, Ke), {
4104
+ set: Eo
4105
+ }), lt = (e) => {
4106
4106
  const t = /* @__PURE__ */ Object.create(null);
4107
4107
  return (n) => {
4108
4108
  const i = JSON.stringify(n);
4109
4109
  return i in t ? t[i] : t[i] = e(n);
4110
4110
  };
4111
4111
  };
4112
- var Eo = Object.defineProperty, Je = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
4112
+ var To = Object.defineProperty, et = Object.getOwnPropertySymbols, an = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4113
4113
  for (var r in t || (t = {}))
4114
- on.call(t, r) && fr(e, r, t[r]);
4115
- if (Je)
4116
- for (var r of Je(t))
4117
- an.call(t, r) && fr(e, r, t[r]);
4114
+ an.call(t, r) && cr(e, r, t[r]);
4115
+ if (et)
4116
+ for (var r of et(t))
4117
+ sn.call(t, r) && cr(e, r, t[r]);
4118
4118
  return e;
4119
- }, Pe = (e, t) => {
4119
+ }, Me = (e, t) => {
4120
4120
  var r = {};
4121
4121
  for (var n in e)
4122
- on.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4123
- if (e != null && Je)
4124
- for (var n of Je(e))
4125
- t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4122
+ an.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4123
+ if (e != null && et)
4124
+ for (var n of et(e))
4125
+ t.indexOf(n) < 0 && sn.call(e, n) && (r[n] = e[n]);
4126
4126
  return r;
4127
4127
  };
4128
- const Ue = (e, t) => {
4129
- const { formats: r } = Se();
4128
+ const Fe = (e, t) => {
4129
+ const { formats: r } = Pe();
4130
4130
  if (e in r && t in r[e])
4131
4131
  return r[e][t];
4132
4132
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4133
- }, To = st(
4133
+ }, xo = lt(
4134
4134
  (e) => {
4135
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4135
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4136
4136
  if (r == null)
4137
4137
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4138
- return n && (i = Ue("number", n)), new Intl.NumberFormat(r, i);
4138
+ return n && (i = Fe("number", n)), new Intl.NumberFormat(r, i);
4139
4139
  }
4140
- ), xo = st(
4140
+ ), Bo = lt(
4141
4141
  (e) => {
4142
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4142
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4143
4143
  if (r == null)
4144
4144
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4145
- return n ? i = Ue("date", n) : Object.keys(i).length === 0 && (i = Ue("date", "short")), new Intl.DateTimeFormat(r, i);
4145
+ return n ? i = Fe("date", n) : Object.keys(i).length === 0 && (i = Fe("date", "short")), new Intl.DateTimeFormat(r, i);
4146
4146
  }
4147
- ), Bo = st(
4147
+ ), So = lt(
4148
4148
  (e) => {
4149
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4149
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4150
4150
  if (r == null)
4151
4151
  throw new Error(
4152
4152
  '[svelte-i18n] A "locale" must be set to format time values'
4153
4153
  );
4154
- return n ? i = Ue("time", n) : Object.keys(i).length === 0 && (i = Ue("time", "short")), new Intl.DateTimeFormat(r, i);
4154
+ return n ? i = Fe("time", n) : Object.keys(i).length === 0 && (i = Fe("time", "short")), new Intl.DateTimeFormat(r, i);
4155
4155
  }
4156
- ), So = (e = {}) => {
4156
+ ), Co = (e = {}) => {
4157
4157
  var t = e, {
4158
- locale: r = me()
4159
- } = t, n = Pe(t, [
4158
+ locale: r = de()
4159
+ } = t, n = Me(t, [
4160
4160
  "locale"
4161
4161
  ]);
4162
- return To($t({ locale: r }, n));
4163
- }, Co = (e = {}) => {
4162
+ return xo(Gt({ locale: r }, n));
4163
+ }, Oo = (e = {}) => {
4164
4164
  var t = e, {
4165
- locale: r = me()
4166
- } = t, n = Pe(t, [
4165
+ locale: r = de()
4166
+ } = t, n = Me(t, [
4167
4167
  "locale"
4168
4168
  ]);
4169
- return xo($t({ locale: r }, n));
4170
- }, Oo = (e = {}) => {
4169
+ return Bo(Gt({ locale: r }, n));
4170
+ }, Po = (e = {}) => {
4171
4171
  var t = e, {
4172
- locale: r = me()
4173
- } = t, n = Pe(t, [
4172
+ locale: r = de()
4173
+ } = t, n = Me(t, [
4174
4174
  "locale"
4175
4175
  ]);
4176
- return Bo($t({ locale: r }, n));
4177
- }, Po = st(
4176
+ return So(Gt({ locale: r }, n));
4177
+ }, Ao = lt(
4178
4178
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4179
- (e, t = me()) => new to(e, t, Se().formats, {
4180
- ignoreTag: Se().ignoreTag
4179
+ (e, t = de()) => new ro(e, t, Pe().formats, {
4180
+ ignoreTag: Pe().ignoreTag
4181
4181
  })
4182
- ), Ao = (e, t = {}) => {
4182
+ ), Ho = (e, t = {}) => {
4183
4183
  var r, n, i, o;
4184
4184
  let a = t;
4185
4185
  typeof e == "object" && (a = e, e = a.id);
4186
4186
  const {
4187
4187
  values: s,
4188
- locale: l = me(),
4188
+ locale: l = de(),
4189
4189
  default: u
4190
4190
  } = a;
4191
4191
  if (l == null)
4192
4192
  throw new Error(
4193
4193
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4194
4194
  );
4195
- let h = Kr(e, l);
4195
+ let h = en(e, l);
4196
4196
  if (!h)
4197
- h = (o = (i = (n = (r = Se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4197
+ h = (o = (i = (n = (r = Pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4198
4198
  else if (typeof h != "string")
4199
4199
  return console.warn(
4200
4200
  `[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 +4203,7 @@ const Ue = (e, t) => {
4203
4203
  return h;
4204
4204
  let c = h;
4205
4205
  try {
4206
- c = Po(h, l).format(s);
4206
+ c = Ao(h, l).format(s);
4207
4207
  } catch (f) {
4208
4208
  f instanceof Error && console.warn(
4209
4209
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4211,21 +4211,21 @@ const Ue = (e, t) => {
4211
4211
  );
4212
4212
  }
4213
4213
  return c;
4214
- }, Ho = (e, t) => Oo(t).format(e), Mo = (e, t) => Co(t).format(e), Ro = (e, t) => So(t).format(e), No = (e, t = me()) => Kr(e, t), Do = Ce([Oe, $e], () => Ao);
4215
- Ce([Oe], () => Ho);
4216
- Ce([Oe], () => Mo);
4217
- Ce([Oe], () => Ro);
4218
- Ce([Oe, $e], () => No);
4219
- window.emWidgets = { topic: Yn };
4220
- const Io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4214
+ }, Mo = (e, t) => Po(t).format(e), Ro = (e, t) => Oo(t).format(e), No = (e, t) => Co(t).format(e), Do = (e, t = de()) => en(e, t), Io = Ae([He, je], () => Ho);
4215
+ Ae([He], () => Mo);
4216
+ Ae([He], () => Ro);
4217
+ Ae([He], () => No);
4218
+ Ae([He, je], () => Do);
4219
+ window.emWidgets = { topic: Xn };
4220
+ const Lo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
4221
  String(Number.MAX_SAFE_INTEGER).length;
4222
- function cr(e, t) {
4223
- tn(e, t);
4222
+ function dr(e, t) {
4223
+ rn(e, t);
4224
4224
  }
4225
- function Lo(e) {
4226
- Oe.set(e);
4225
+ function Uo(e) {
4226
+ He.set(e);
4227
4227
  }
4228
- const dr = {
4228
+ const mr = {
4229
4229
  en: {
4230
4230
  date: "Granted date:",
4231
4231
  expirationDate: "Expiration Date",
@@ -4512,14 +4512,14 @@ const dr = {
4512
4512
  freeRound: "Free Round",
4513
4513
  oddsBoost: "Odds Boost"
4514
4514
  }
4515
- };
4516
- function Uo(e, t) {
4515
+ }, xe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4516
+ function ko(e, t) {
4517
4517
  if (e) {
4518
4518
  const r = document.createElement("style");
4519
4519
  r.innerHTML = t, e.appendChild(r);
4520
4520
  }
4521
4521
  }
4522
- function ko(e, t) {
4522
+ function Fo(e, t) {
4523
4523
  if (!e || !t)
4524
4524
  return;
4525
4525
  const r = new URL(t);
@@ -4530,23 +4530,50 @@ function ko(e, t) {
4530
4530
  console.error("There was an error while trying to load client styling from URL", n);
4531
4531
  });
4532
4532
  }
4533
- function Fo(e, t, r) {
4534
- if (window.emMessageBus) {
4535
- const n = document.createElement("style");
4536
- window.emMessageBus.subscribe(t, (i) => {
4537
- n.innerHTML = i, e && e.appendChild(n);
4533
+ function $o(e, t, r, n = !1) {
4534
+ if (!window.emMessageBus)
4535
+ return;
4536
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4537
+ return r = Go(e, t), r;
4538
+ window[xe] || (window[xe] = {}), r = jo(e, t);
4539
+ const o = r.unsubscribe.bind(r), a = () => {
4540
+ if (window[xe][t]) {
4541
+ const s = window[xe][t];
4542
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[xe][t];
4543
+ }
4544
+ o();
4545
+ };
4546
+ return r.unsubscribe = a, r;
4547
+ }
4548
+ function Go(e, t) {
4549
+ const r = document.createElement("style");
4550
+ return window.emMessageBus.subscribe(t, (n) => {
4551
+ e && (r.innerHTML = n, e.appendChild(r));
4552
+ });
4553
+ }
4554
+ function jo(e, t) {
4555
+ return window.emMessageBus.subscribe(t, (r) => {
4556
+ if (!e)
4557
+ return;
4558
+ const n = e.getRootNode(), i = window[xe];
4559
+ let o = i[t]?.sheet;
4560
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4561
+ sheet: o,
4562
+ refCount: 1
4538
4563
  });
4539
- }
4564
+ const a = n.adoptedStyleSheets || [];
4565
+ a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
4566
+ });
4540
4567
  }
4541
- function Ke(e) {
4568
+ function tt(e) {
4542
4569
  "@babel/helpers - typeof";
4543
- return Ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4570
+ return tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4544
4571
  return typeof t;
4545
4572
  } : function(t) {
4546
4573
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4547
- }, Ke(e);
4574
+ }, tt(e);
4548
4575
  }
4549
- function de(e) {
4576
+ function ce(e) {
4550
4577
  if (e === null || e === !0 || e === !1)
4551
4578
  return NaN;
4552
4579
  var t = Number(e);
@@ -4556,108 +4583,108 @@ function F(e, t) {
4556
4583
  if (t.length < e)
4557
4584
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4558
4585
  }
4559
- function ne(e) {
4586
+ function ie(e) {
4560
4587
  F(1, arguments);
4561
4588
  var t = Object.prototype.toString.call(e);
4562
- return e instanceof Date || Ke(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));
4589
+ return e instanceof Date || tt(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));
4563
4590
  }
4564
- function $o(e, t) {
4591
+ function Wo(e, t) {
4565
4592
  F(2, arguments);
4566
- var r = ne(e).getTime(), n = de(t);
4593
+ var r = ie(e).getTime(), n = ce(t);
4567
4594
  return new Date(r + n);
4568
4595
  }
4569
- var Go = {};
4570
- function ut() {
4571
- return Go;
4596
+ var Vo = {};
4597
+ function ht() {
4598
+ return Vo;
4572
4599
  }
4573
- function jo(e) {
4600
+ function Yo(e) {
4574
4601
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4575
4602
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4576
4603
  }
4577
- function Wo(e) {
4578
- return F(1, arguments), e instanceof Date || Ke(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4604
+ function Xo(e) {
4605
+ return F(1, arguments), e instanceof Date || tt(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4579
4606
  }
4580
- function Vo(e) {
4581
- if (F(1, arguments), !Wo(e) && typeof e != "number")
4607
+ function qo(e) {
4608
+ if (F(1, arguments), !Xo(e) && typeof e != "number")
4582
4609
  return !1;
4583
- var t = ne(e);
4610
+ var t = ie(e);
4584
4611
  return !isNaN(Number(t));
4585
4612
  }
4586
- function Yo(e, t) {
4613
+ function zo(e, t) {
4587
4614
  F(2, arguments);
4588
- var r = de(t);
4589
- return $o(e, -r);
4615
+ var r = ce(t);
4616
+ return Wo(e, -r);
4590
4617
  }
4591
- var Xo = 864e5;
4592
- function qo(e) {
4618
+ var Qo = 864e5;
4619
+ function Zo(e) {
4593
4620
  F(1, arguments);
4594
- var t = ne(e), r = t.getTime();
4621
+ var t = ie(e), r = t.getTime();
4595
4622
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4596
4623
  var n = t.getTime(), i = r - n;
4597
- return Math.floor(i / Xo) + 1;
4624
+ return Math.floor(i / Qo) + 1;
4598
4625
  }
4599
- function et(e) {
4626
+ function rt(e) {
4600
4627
  F(1, arguments);
4601
- var t = 1, r = ne(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4628
+ var t = 1, r = ie(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4602
4629
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4603
4630
  }
4604
- function sn(e) {
4631
+ function un(e) {
4605
4632
  F(1, arguments);
4606
- var t = ne(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4633
+ var t = ie(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4607
4634
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4608
- var i = et(n), o = /* @__PURE__ */ new Date(0);
4635
+ var i = rt(n), o = /* @__PURE__ */ new Date(0);
4609
4636
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4610
- var a = et(o);
4637
+ var a = rt(o);
4611
4638
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4612
4639
  }
4613
- function zo(e) {
4640
+ function Jo(e) {
4614
4641
  F(1, arguments);
4615
- var t = sn(e), r = /* @__PURE__ */ new Date(0);
4642
+ var t = un(e), r = /* @__PURE__ */ new Date(0);
4616
4643
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4617
- var n = et(r);
4644
+ var n = rt(r);
4618
4645
  return n;
4619
4646
  }
4620
- var Qo = 6048e5;
4621
- function Zo(e) {
4647
+ var Ko = 6048e5;
4648
+ function ea(e) {
4622
4649
  F(1, arguments);
4623
- var t = ne(e), r = et(t).getTime() - zo(t).getTime();
4624
- return Math.round(r / Qo) + 1;
4650
+ var t = ie(e), r = rt(t).getTime() - Jo(t).getTime();
4651
+ return Math.round(r / Ko) + 1;
4625
4652
  }
4626
- function tt(e, t) {
4653
+ function nt(e, t) {
4627
4654
  var r, n, i, o, a, s, l, u;
4628
4655
  F(1, arguments);
4629
- var h = ut(), c = de((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);
4656
+ var h = ht(), c = ce((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);
4630
4657
  if (!(c >= 0 && c <= 6))
4631
4658
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4632
- var f = ne(e), d = f.getUTCDay(), v = (d < c ? 7 : 0) + d - c;
4659
+ var f = ie(e), d = f.getUTCDay(), v = (d < c ? 7 : 0) + d - c;
4633
4660
  return f.setUTCDate(f.getUTCDate() - v), f.setUTCHours(0, 0, 0, 0), f;
4634
4661
  }
4635
- function un(e, t) {
4662
+ function ln(e, t) {
4636
4663
  var r, n, i, o, a, s, l, u;
4637
4664
  F(1, arguments);
4638
- var h = ne(e), c = h.getUTCFullYear(), f = ut(), d = de((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 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4665
+ var h = ie(e), c = h.getUTCFullYear(), f = ht(), d = ce((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 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4639
4666
  if (!(d >= 1 && d <= 7))
4640
4667
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4641
4668
  var v = /* @__PURE__ */ new Date(0);
4642
4669
  v.setUTCFullYear(c + 1, 0, d), v.setUTCHours(0, 0, 0, 0);
4643
- var y = tt(v, t), B = /* @__PURE__ */ new Date(0);
4670
+ var y = nt(v, t), B = /* @__PURE__ */ new Date(0);
4644
4671
  B.setUTCFullYear(c, 0, d), B.setUTCHours(0, 0, 0, 0);
4645
- var U = tt(B, t);
4672
+ var U = nt(B, t);
4646
4673
  return h.getTime() >= y.getTime() ? c + 1 : h.getTime() >= U.getTime() ? c : c - 1;
4647
4674
  }
4648
- function Jo(e, t) {
4675
+ function ta(e, t) {
4649
4676
  var r, n, i, o, a, s, l, u;
4650
4677
  F(1, arguments);
4651
- var h = ut(), c = de((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), f = un(e, t), d = /* @__PURE__ */ new Date(0);
4678
+ var h = ht(), c = ce((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), f = ln(e, t), d = /* @__PURE__ */ new Date(0);
4652
4679
  d.setUTCFullYear(f, 0, c), d.setUTCHours(0, 0, 0, 0);
4653
- var v = tt(d, t);
4680
+ var v = nt(d, t);
4654
4681
  return v;
4655
4682
  }
4656
- var Ko = 6048e5;
4657
- function ea(e, t) {
4683
+ var ra = 6048e5;
4684
+ function na(e, t) {
4658
4685
  F(1, arguments);
4659
- var r = ne(e), n = tt(r, t).getTime() - Jo(r, t).getTime();
4660
- return Math.round(n / Ko) + 1;
4686
+ var r = ie(e), n = nt(r, t).getTime() - ta(r, t).getTime();
4687
+ return Math.round(n / ra) + 1;
4661
4688
  }
4662
4689
  function T(e, t) {
4663
4690
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
@@ -4716,14 +4743,14 @@ var se = {
4716
4743
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4717
4744
  return T(o, r.length);
4718
4745
  }
4719
- }, we = {
4746
+ }, Ee = {
4720
4747
  midnight: "midnight",
4721
4748
  noon: "noon",
4722
4749
  morning: "morning",
4723
4750
  afternoon: "afternoon",
4724
4751
  evening: "evening",
4725
4752
  night: "night"
4726
- }, ta = {
4753
+ }, ia = {
4727
4754
  // Era
4728
4755
  G: function(t, r, n) {
4729
4756
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4757,7 +4784,7 @@ var se = {
4757
4784
  },
4758
4785
  // Local week-numbering year
4759
4786
  Y: function(t, r, n, i) {
4760
- var o = un(t, i), a = o > 0 ? o : 1 - o;
4787
+ var o = ln(t, i), a = o > 0 ? o : 1 - o;
4761
4788
  if (r === "YY") {
4762
4789
  var s = a % 100;
4763
4790
  return T(s, 2);
@@ -4768,7 +4795,7 @@ var se = {
4768
4795
  },
4769
4796
  // ISO week-numbering year
4770
4797
  R: function(t, r) {
4771
- var n = sn(t);
4798
+ var n = un(t);
4772
4799
  return T(n, r.length);
4773
4800
  },
4774
4801
  // Extended year. This is a single number designating the year of this calendar system.
@@ -4905,14 +4932,14 @@ var se = {
4905
4932
  },
4906
4933
  // Local week of year
4907
4934
  w: function(t, r, n, i) {
4908
- var o = ea(t, i);
4935
+ var o = na(t, i);
4909
4936
  return r === "wo" ? n.ordinalNumber(o, {
4910
4937
  unit: "week"
4911
4938
  }) : T(o, r.length);
4912
4939
  },
4913
4940
  // ISO week of year
4914
4941
  I: function(t, r, n) {
4915
- var i = Zo(t);
4942
+ var i = ea(t);
4916
4943
  return r === "Io" ? n.ordinalNumber(i, {
4917
4944
  unit: "week"
4918
4945
  }) : T(i, r.length);
@@ -4925,7 +4952,7 @@ var se = {
4925
4952
  },
4926
4953
  // Day of year
4927
4954
  D: function(t, r, n) {
4928
- var i = qo(t);
4955
+ var i = Zo(t);
4929
4956
  return r === "Do" ? n.ordinalNumber(i, {
4930
4957
  unit: "dayOfYear"
4931
4958
  }) : T(i, r.length);
@@ -5095,7 +5122,7 @@ var se = {
5095
5122
  // AM, PM, midnight, noon
5096
5123
  b: function(t, r, n) {
5097
5124
  var i = t.getUTCHours(), o;
5098
- switch (i === 12 ? o = we.noon : i === 0 ? o = we.midnight : o = i / 12 >= 1 ? "pm" : "am", r) {
5125
+ switch (i === 12 ? o = Ee.noon : i === 0 ? o = Ee.midnight : o = i / 12 >= 1 ? "pm" : "am", r) {
5099
5126
  case "b":
5100
5127
  case "bb":
5101
5128
  return n.dayPeriod(o, {
@@ -5123,7 +5150,7 @@ var se = {
5123
5150
  // in the morning, in the afternoon, in the evening, at night
5124
5151
  B: function(t, r, n) {
5125
5152
  var i = t.getUTCHours(), o;
5126
- switch (i >= 17 ? o = we.evening : i >= 12 ? o = we.afternoon : i >= 4 ? o = we.morning : o = we.night, r) {
5153
+ switch (i >= 17 ? o = Ee.evening : i >= 12 ? o = Ee.afternoon : i >= 4 ? o = Ee.morning : o = Ee.night, r) {
5127
5154
  case "B":
5128
5155
  case "BB":
5129
5156
  case "BBB":
@@ -5197,14 +5224,14 @@ var se = {
5197
5224
  return "Z";
5198
5225
  switch (r) {
5199
5226
  case "X":
5200
- return br(a);
5227
+ return pr(a);
5201
5228
  case "XXXX":
5202
5229
  case "XX":
5203
- return ce(a);
5230
+ return fe(a);
5204
5231
  case "XXXXX":
5205
5232
  case "XXX":
5206
5233
  default:
5207
- return ce(a, ":");
5234
+ return fe(a, ":");
5208
5235
  }
5209
5236
  },
5210
5237
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -5212,14 +5239,14 @@ var se = {
5212
5239
  var o = i._originalDate || t, a = o.getTimezoneOffset();
5213
5240
  switch (r) {
5214
5241
  case "x":
5215
- return br(a);
5242
+ return pr(a);
5216
5243
  case "xxxx":
5217
5244
  case "xx":
5218
- return ce(a);
5245
+ return fe(a);
5219
5246
  case "xxxxx":
5220
5247
  case "xxx":
5221
5248
  default:
5222
- return ce(a, ":");
5249
+ return fe(a, ":");
5223
5250
  }
5224
5251
  },
5225
5252
  // Timezone (GMT)
@@ -5229,10 +5256,10 @@ var se = {
5229
5256
  case "O":
5230
5257
  case "OO":
5231
5258
  case "OOO":
5232
- return "GMT" + mr(a, ":");
5259
+ return "GMT" + br(a, ":");
5233
5260
  case "OOOO":
5234
5261
  default:
5235
- return "GMT" + ce(a, ":");
5262
+ return "GMT" + fe(a, ":");
5236
5263
  }
5237
5264
  },
5238
5265
  // Timezone (specific non-location)
@@ -5242,10 +5269,10 @@ var se = {
5242
5269
  case "z":
5243
5270
  case "zz":
5244
5271
  case "zzz":
5245
- return "GMT" + mr(a, ":");
5272
+ return "GMT" + br(a, ":");
5246
5273
  case "zzzz":
5247
5274
  default:
5248
- return "GMT" + ce(a, ":");
5275
+ return "GMT" + fe(a, ":");
5249
5276
  }
5250
5277
  },
5251
5278
  // Seconds timestamp
@@ -5259,25 +5286,25 @@ var se = {
5259
5286
  return T(a, r.length);
5260
5287
  }
5261
5288
  };
5262
- function mr(e, t) {
5289
+ function br(e, t) {
5263
5290
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
5264
5291
  if (o === 0)
5265
5292
  return r + String(i);
5266
5293
  var a = t;
5267
5294
  return r + String(i) + a + T(o, 2);
5268
5295
  }
5269
- function br(e, t) {
5296
+ function pr(e, t) {
5270
5297
  if (e % 60 === 0) {
5271
5298
  var r = e > 0 ? "-" : "+";
5272
5299
  return r + T(Math.abs(e) / 60, 2);
5273
5300
  }
5274
- return ce(e, t);
5301
+ return fe(e, t);
5275
5302
  }
5276
- function ce(e, t) {
5303
+ function fe(e, t) {
5277
5304
  var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5278
5305
  return n + o + r + a;
5279
5306
  }
5280
- var pr = function(t, r) {
5307
+ var gr = function(t, r) {
5281
5308
  switch (t) {
5282
5309
  case "P":
5283
5310
  return r.date({
@@ -5297,7 +5324,7 @@ var pr = function(t, r) {
5297
5324
  width: "full"
5298
5325
  });
5299
5326
  }
5300
- }, ln = function(t, r) {
5327
+ }, hn = function(t, r) {
5301
5328
  switch (t) {
5302
5329
  case "p":
5303
5330
  return r.time({
@@ -5317,10 +5344,10 @@ var pr = function(t, r) {
5317
5344
  width: "full"
5318
5345
  });
5319
5346
  }
5320
- }, ra = function(t, r) {
5347
+ }, oa = function(t, r) {
5321
5348
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5322
5349
  if (!o)
5323
- return pr(t, r);
5350
+ return gr(t, r);
5324
5351
  var a;
5325
5352
  switch (i) {
5326
5353
  case "P":
@@ -5345,18 +5372,18 @@ var pr = function(t, r) {
5345
5372
  });
5346
5373
  break;
5347
5374
  }
5348
- return a.replace("{{date}}", pr(i, r)).replace("{{time}}", ln(o, r));
5349
- }, na = {
5350
- p: ln,
5351
- P: ra
5352
- }, ia = ["D", "DD"], oa = ["YY", "YYYY"];
5353
- function aa(e) {
5354
- return ia.indexOf(e) !== -1;
5355
- }
5356
- function sa(e) {
5357
- return oa.indexOf(e) !== -1;
5358
- }
5359
- function gr(e, t, r) {
5375
+ return a.replace("{{date}}", gr(i, r)).replace("{{time}}", hn(o, r));
5376
+ }, aa = {
5377
+ p: hn,
5378
+ P: oa
5379
+ }, sa = ["D", "DD"], ua = ["YY", "YYYY"];
5380
+ function la(e) {
5381
+ return sa.indexOf(e) !== -1;
5382
+ }
5383
+ function ha(e) {
5384
+ return ua.indexOf(e) !== -1;
5385
+ }
5386
+ function vr(e, t, r) {
5360
5387
  if (e === "YYYY")
5361
5388
  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"));
5362
5389
  if (e === "YY")
@@ -5366,7 +5393,7 @@ function gr(e, t, r) {
5366
5393
  if (e === "DD")
5367
5394
  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"));
5368
5395
  }
5369
- var ua = {
5396
+ var fa = {
5370
5397
  lessThanXSeconds: {
5371
5398
  one: "less than a second",
5372
5399
  other: "less than {{count}} seconds"
@@ -5428,55 +5455,55 @@ var ua = {
5428
5455
  one: "almost 1 year",
5429
5456
  other: "almost {{count}} years"
5430
5457
  }
5431
- }, la = function(t, r, n) {
5432
- var i, o = ua[t];
5458
+ }, ca = function(t, r, n) {
5459
+ var i, o = fa[t];
5433
5460
  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;
5434
5461
  };
5435
- function wt(e) {
5462
+ function _t(e) {
5436
5463
  return function() {
5437
5464
  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];
5438
5465
  return n;
5439
5466
  };
5440
5467
  }
5441
- var ha = {
5468
+ var da = {
5442
5469
  full: "EEEE, MMMM do, y",
5443
5470
  long: "MMMM do, y",
5444
5471
  medium: "MMM d, y",
5445
5472
  short: "MM/dd/yyyy"
5446
- }, fa = {
5473
+ }, ma = {
5447
5474
  full: "h:mm:ss a zzzz",
5448
5475
  long: "h:mm:ss a z",
5449
5476
  medium: "h:mm:ss a",
5450
5477
  short: "h:mm a"
5451
- }, ca = {
5478
+ }, ba = {
5452
5479
  full: "{{date}} 'at' {{time}}",
5453
5480
  long: "{{date}} 'at' {{time}}",
5454
5481
  medium: "{{date}}, {{time}}",
5455
5482
  short: "{{date}}, {{time}}"
5456
- }, da = {
5457
- date: wt({
5458
- formats: ha,
5483
+ }, pa = {
5484
+ date: _t({
5485
+ formats: da,
5459
5486
  defaultWidth: "full"
5460
5487
  }),
5461
- time: wt({
5462
- formats: fa,
5488
+ time: _t({
5489
+ formats: ma,
5463
5490
  defaultWidth: "full"
5464
5491
  }),
5465
- dateTime: wt({
5466
- formats: ca,
5492
+ dateTime: _t({
5493
+ formats: ba,
5467
5494
  defaultWidth: "full"
5468
5495
  })
5469
- }, ma = {
5496
+ }, ga = {
5470
5497
  lastWeek: "'last' eeee 'at' p",
5471
5498
  yesterday: "'yesterday at' p",
5472
5499
  today: "'today at' p",
5473
5500
  tomorrow: "'tomorrow at' p",
5474
5501
  nextWeek: "eeee 'at' p",
5475
5502
  other: "P"
5476
- }, ba = function(t, r, n, i) {
5477
- return ma[t];
5503
+ }, va = function(t, r, n, i) {
5504
+ return ga[t];
5478
5505
  };
5479
- function Re(e) {
5506
+ function De(e) {
5480
5507
  return function(t, r) {
5481
5508
  var n = r != null && r.context ? String(r.context) : "standalone", i;
5482
5509
  if (n === "formatting" && e.formattingValues) {
@@ -5490,24 +5517,24 @@ function Re(e) {
5490
5517
  return i[u];
5491
5518
  };
5492
5519
  }
5493
- var pa = {
5520
+ var ya = {
5494
5521
  narrow: ["B", "A"],
5495
5522
  abbreviated: ["BC", "AD"],
5496
5523
  wide: ["Before Christ", "Anno Domini"]
5497
- }, ga = {
5524
+ }, wa = {
5498
5525
  narrow: ["1", "2", "3", "4"],
5499
5526
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5500
5527
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5501
- }, va = {
5528
+ }, _a = {
5502
5529
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5503
5530
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5504
5531
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5505
- }, ya = {
5532
+ }, Ea = {
5506
5533
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5507
5534
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5508
5535
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5509
5536
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5510
- }, wa = {
5537
+ }, Ta = {
5511
5538
  narrow: {
5512
5539
  am: "a",
5513
5540
  pm: "p",
@@ -5538,7 +5565,7 @@ var pa = {
5538
5565
  evening: "evening",
5539
5566
  night: "night"
5540
5567
  }
5541
- }, _a = {
5568
+ }, xa = {
5542
5569
  narrow: {
5543
5570
  am: "a",
5544
5571
  pm: "p",
@@ -5569,7 +5596,7 @@ var pa = {
5569
5596
  evening: "in the evening",
5570
5597
  night: "at night"
5571
5598
  }
5572
- }, Ea = function(t, r) {
5599
+ }, Ba = function(t, r) {
5573
5600
  var n = Number(t), i = n % 100;
5574
5601
  if (i > 20 || i < 10)
5575
5602
  switch (i % 10) {
@@ -5581,42 +5608,42 @@ var pa = {
5581
5608
  return n + "rd";
5582
5609
  }
5583
5610
  return n + "th";
5584
- }, Ta = {
5585
- ordinalNumber: Ea,
5586
- era: Re({
5587
- values: pa,
5611
+ }, Sa = {
5612
+ ordinalNumber: Ba,
5613
+ era: De({
5614
+ values: ya,
5588
5615
  defaultWidth: "wide"
5589
5616
  }),
5590
- quarter: Re({
5591
- values: ga,
5617
+ quarter: De({
5618
+ values: wa,
5592
5619
  defaultWidth: "wide",
5593
5620
  argumentCallback: function(t) {
5594
5621
  return t - 1;
5595
5622
  }
5596
5623
  }),
5597
- month: Re({
5598
- values: va,
5624
+ month: De({
5625
+ values: _a,
5599
5626
  defaultWidth: "wide"
5600
5627
  }),
5601
- day: Re({
5602
- values: ya,
5628
+ day: De({
5629
+ values: Ea,
5603
5630
  defaultWidth: "wide"
5604
5631
  }),
5605
- dayPeriod: Re({
5606
- values: wa,
5632
+ dayPeriod: De({
5633
+ values: Ta,
5607
5634
  defaultWidth: "wide",
5608
- formattingValues: _a,
5635
+ formattingValues: xa,
5609
5636
  defaultFormattingWidth: "wide"
5610
5637
  })
5611
5638
  };
5612
- function Ne(e) {
5639
+ function Ie(e) {
5613
5640
  return function(t) {
5614
5641
  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);
5615
5642
  if (!o)
5616
5643
  return null;
5617
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Ba(s, function(c) {
5644
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Oa(s, function(c) {
5618
5645
  return c.test(a);
5619
- }) : xa(s, function(c) {
5646
+ }) : Ca(s, function(c) {
5620
5647
  return c.test(a);
5621
5648
  }), u;
5622
5649
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5627,17 +5654,17 @@ function Ne(e) {
5627
5654
  };
5628
5655
  };
5629
5656
  }
5630
- function xa(e, t) {
5657
+ function Ca(e, t) {
5631
5658
  for (var r in e)
5632
5659
  if (e.hasOwnProperty(r) && t(e[r]))
5633
5660
  return r;
5634
5661
  }
5635
- function Ba(e, t) {
5662
+ function Oa(e, t) {
5636
5663
  for (var r = 0; r < e.length; r++)
5637
5664
  if (t(e[r]))
5638
5665
  return r;
5639
5666
  }
5640
- function Sa(e) {
5667
+ function Pa(e) {
5641
5668
  return function(t) {
5642
5669
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5643
5670
  if (!n)
@@ -5654,37 +5681,37 @@ function Sa(e) {
5654
5681
  };
5655
5682
  };
5656
5683
  }
5657
- var Ca = /^(\d+)(th|st|nd|rd)?/i, Oa = /\d+/i, Pa = {
5684
+ var Aa = /^(\d+)(th|st|nd|rd)?/i, Ha = /\d+/i, Ma = {
5658
5685
  narrow: /^(b|a)/i,
5659
5686
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5660
5687
  wide: /^(before christ|before common era|anno domini|common era)/i
5661
- }, Aa = {
5688
+ }, Ra = {
5662
5689
  any: [/^b/i, /^(a|c)/i]
5663
- }, Ha = {
5690
+ }, Na = {
5664
5691
  narrow: /^[1234]/i,
5665
5692
  abbreviated: /^q[1234]/i,
5666
5693
  wide: /^[1234](th|st|nd|rd)? quarter/i
5667
- }, Ma = {
5694
+ }, Da = {
5668
5695
  any: [/1/i, /2/i, /3/i, /4/i]
5669
- }, Ra = {
5696
+ }, Ia = {
5670
5697
  narrow: /^[jfmasond]/i,
5671
5698
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5672
5699
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5673
- }, Na = {
5700
+ }, La = {
5674
5701
  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],
5675
5702
  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]
5676
- }, Da = {
5703
+ }, Ua = {
5677
5704
  narrow: /^[smtwf]/i,
5678
5705
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5679
5706
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5680
5707
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5681
- }, Ia = {
5708
+ }, ka = {
5682
5709
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5683
5710
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5684
- }, La = {
5711
+ }, Fa = {
5685
5712
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5686
5713
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5687
- }, Ua = {
5714
+ }, $a = {
5688
5715
  any: {
5689
5716
  am: /^a/i,
5690
5717
  pm: /^p/i,
@@ -5695,114 +5722,114 @@ var Ca = /^(\d+)(th|st|nd|rd)?/i, Oa = /\d+/i, Pa = {
5695
5722
  evening: /evening/i,
5696
5723
  night: /night/i
5697
5724
  }
5698
- }, ka = {
5699
- ordinalNumber: Sa({
5700
- matchPattern: Ca,
5701
- parsePattern: Oa,
5725
+ }, Ga = {
5726
+ ordinalNumber: Pa({
5727
+ matchPattern: Aa,
5728
+ parsePattern: Ha,
5702
5729
  valueCallback: function(t) {
5703
5730
  return parseInt(t, 10);
5704
5731
  }
5705
5732
  }),
5706
- era: Ne({
5707
- matchPatterns: Pa,
5733
+ era: Ie({
5734
+ matchPatterns: Ma,
5708
5735
  defaultMatchWidth: "wide",
5709
- parsePatterns: Aa,
5736
+ parsePatterns: Ra,
5710
5737
  defaultParseWidth: "any"
5711
5738
  }),
5712
- quarter: Ne({
5713
- matchPatterns: Ha,
5739
+ quarter: Ie({
5740
+ matchPatterns: Na,
5714
5741
  defaultMatchWidth: "wide",
5715
- parsePatterns: Ma,
5742
+ parsePatterns: Da,
5716
5743
  defaultParseWidth: "any",
5717
5744
  valueCallback: function(t) {
5718
5745
  return t + 1;
5719
5746
  }
5720
5747
  }),
5721
- month: Ne({
5722
- matchPatterns: Ra,
5748
+ month: Ie({
5749
+ matchPatterns: Ia,
5723
5750
  defaultMatchWidth: "wide",
5724
- parsePatterns: Na,
5751
+ parsePatterns: La,
5725
5752
  defaultParseWidth: "any"
5726
5753
  }),
5727
- day: Ne({
5728
- matchPatterns: Da,
5754
+ day: Ie({
5755
+ matchPatterns: Ua,
5729
5756
  defaultMatchWidth: "wide",
5730
- parsePatterns: Ia,
5757
+ parsePatterns: ka,
5731
5758
  defaultParseWidth: "any"
5732
5759
  }),
5733
- dayPeriod: Ne({
5734
- matchPatterns: La,
5760
+ dayPeriod: Ie({
5761
+ matchPatterns: Fa,
5735
5762
  defaultMatchWidth: "any",
5736
- parsePatterns: Ua,
5763
+ parsePatterns: $a,
5737
5764
  defaultParseWidth: "any"
5738
5765
  })
5739
- }, Fa = {
5766
+ }, ja = {
5740
5767
  code: "en-US",
5741
- formatDistance: la,
5742
- formatLong: da,
5743
- formatRelative: ba,
5744
- localize: Ta,
5745
- match: ka,
5768
+ formatDistance: ca,
5769
+ formatLong: pa,
5770
+ formatRelative: va,
5771
+ localize: Sa,
5772
+ match: Ga,
5746
5773
  options: {
5747
5774
  weekStartsOn: 0,
5748
5775
  firstWeekContainsDate: 1
5749
5776
  }
5750
- }, $a = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ga = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ja = /^'([^]*?)'?$/, Wa = /''/g, Va = /[a-zA-Z]/;
5751
- function Ya(e, t, r) {
5777
+ }, Wa = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Va = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ya = /^'([^]*?)'?$/, Xa = /''/g, qa = /[a-zA-Z]/;
5778
+ function za(e, t, r) {
5752
5779
  var n, i, o, a, s, l, u, h, c, f, d, v, y, B;
5753
5780
  F(2, arguments);
5754
- var U = String(t), N = ut(), S = (n = (i = void 0) !== null && i !== void 0 ? i : N.locale) !== null && n !== void 0 ? n : Fa, A = de((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : N.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = N.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5781
+ var U = String(t), N = ht(), S = (n = (i = void 0) !== null && i !== void 0 ? i : N.locale) !== null && n !== void 0 ? n : ja, A = ce((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : N.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = N.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5755
5782
  if (!(A >= 1 && A <= 7))
5756
5783
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5757
- var D = de((c = (f = (d = (v = void 0) !== null && v !== void 0 ? v : void 0) !== null && d !== void 0 ? d : N.weekStartsOn) !== null && f !== void 0 ? f : (y = N.locale) === null || y === void 0 || (B = y.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && c !== void 0 ? c : 0);
5784
+ var D = ce((c = (f = (d = (v = void 0) !== null && v !== void 0 ? v : void 0) !== null && d !== void 0 ? d : N.weekStartsOn) !== null && f !== void 0 ? f : (y = N.locale) === null || y === void 0 || (B = y.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && c !== void 0 ? c : 0);
5758
5785
  if (!(D >= 0 && D <= 6))
5759
5786
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5760
5787
  if (!S.localize)
5761
5788
  throw new RangeError("locale must contain localize property");
5762
5789
  if (!S.formatLong)
5763
5790
  throw new RangeError("locale must contain formatLong property");
5764
- var L = ne(e);
5765
- if (!Vo(L))
5791
+ var L = ie(e);
5792
+ if (!qo(L))
5766
5793
  throw new RangeError("Invalid time value");
5767
- var Z = jo(L), le = Yo(L, Z), J = {
5794
+ var Z = Yo(L), le = zo(L, Z), J = {
5768
5795
  firstWeekContainsDate: A,
5769
5796
  weekStartsOn: D,
5770
5797
  locale: S,
5771
5798
  _originalDate: L
5772
- }, ie = U.match(Ga).map(function(x) {
5799
+ }, oe = U.match(Va).map(function(x) {
5773
5800
  var Q = x[0];
5774
5801
  if (Q === "p" || Q === "P") {
5775
- var $ = na[Q];
5802
+ var $ = aa[Q];
5776
5803
  return $(x, S.formatLong);
5777
5804
  }
5778
5805
  return x;
5779
- }).join("").match($a).map(function(x) {
5806
+ }).join("").match(Wa).map(function(x) {
5780
5807
  if (x === "''")
5781
5808
  return "'";
5782
5809
  var Q = x[0];
5783
5810
  if (Q === "'")
5784
- return Xa(x);
5785
- var $ = ta[Q];
5811
+ return Qa(x);
5812
+ var $ = ia[Q];
5786
5813
  if ($)
5787
- return sa(x) && gr(x, t, String(e)), aa(x) && gr(x, t, String(e)), $(le, x, S.localize, J);
5788
- if (Q.match(Va))
5814
+ return ha(x) && vr(x, t, String(e)), la(x) && vr(x, t, String(e)), $(le, x, S.localize, J);
5815
+ if (Q.match(qa))
5789
5816
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + Q + "`");
5790
5817
  return x;
5791
5818
  }).join("");
5792
- return ie;
5819
+ return oe;
5793
5820
  }
5794
- function Xa(e) {
5795
- var t = e.match(ja);
5796
- return t ? t[1].replace(Wa, "'") : e;
5821
+ function Qa(e) {
5822
+ var t = e.match(Ya);
5823
+ return t ? t[1].replace(Xa, "'") : e;
5797
5824
  }
5798
- function qa(e) {
5799
- cn(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}");
5825
+ function Za(e) {
5826
+ dn(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}");
5800
5827
  }
5801
- function vr(e) {
5828
+ function yr(e) {
5802
5829
  let t, r, n;
5803
5830
  return {
5804
5831
  c() {
5805
- t = E("div"), r = E("img"), p(r, "class", "BonusImage"), Wt(r.src, n = /*termsandconditionsasset*/
5832
+ t = E("div"), r = E("img"), p(r, "class", "BonusImage"), Vt(r.src, n = /*termsandconditionsasset*/
5806
5833
  e[11]) || p(r, "src", n), p(
5807
5834
  r,
5808
5835
  "alt",
@@ -5811,11 +5838,11 @@ function vr(e) {
5811
5838
  ), p(t, "class", "BonusCardRow BonusCardRowRemovePadding");
5812
5839
  },
5813
5840
  m(i, o) {
5814
- re(i, t, o), m(t, r);
5841
+ ne(i, t, o), m(t, r);
5815
5842
  },
5816
5843
  p(i, o) {
5817
5844
  o[0] & /*termsandconditionsasset*/
5818
- 2048 && !Wt(r.src, n = /*termsandconditionsasset*/
5845
+ 2048 && !Vt(r.src, n = /*termsandconditionsasset*/
5819
5846
  i[11]) && p(r, "src", n), o[0] & /*termsandconditionsdescription*/
5820
5847
  4096 && p(
5821
5848
  r,
@@ -5829,7 +5856,7 @@ function vr(e) {
5829
5856
  }
5830
5857
  };
5831
5858
  }
5832
- function yr(e) {
5859
+ function wr(e) {
5833
5860
  let t, r, n = (
5834
5861
  /*$_*/
5835
5862
  e[18]("expirationDate") + ""
@@ -5846,7 +5873,7 @@ function yr(e) {
5846
5873
  e[18]("expirationDate")}`);
5847
5874
  },
5848
5875
  m(h, c) {
5849
- re(h, t, c), m(t, r), m(r, i), m(t, o), m(t, a), m(a, l);
5876
+ ne(h, t, c), m(t, r), m(r, i), m(t, o), m(t, a), m(a, l);
5850
5877
  },
5851
5878
  p(h, c) {
5852
5879
  c[0] & /*$_*/
@@ -5865,7 +5892,7 @@ function yr(e) {
5865
5892
  }
5866
5893
  };
5867
5894
  }
5868
- function wr(e) {
5895
+ function _r(e) {
5869
5896
  let t, r, n = (
5870
5897
  /*$_*/
5871
5898
  e[18]("bonusAmount") + ""
@@ -5885,7 +5912,7 @@ function wr(e) {
5885
5912
  e[18]("bonusAmount")}`);
5886
5913
  },
5887
5914
  m(f, d) {
5888
- re(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5915
+ ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5889
5916
  },
5890
5917
  p(f, d) {
5891
5918
  d[0] & /*$_*/
@@ -5909,7 +5936,7 @@ function wr(e) {
5909
5936
  }
5910
5937
  };
5911
5938
  }
5912
- function _r(e) {
5939
+ function Er(e) {
5913
5940
  let t, r, n = (
5914
5941
  /*$_*/
5915
5942
  e[18]("wageringAmount") + ""
@@ -5930,7 +5957,7 @@ function _r(e) {
5930
5957
  e[4]}`);
5931
5958
  },
5932
5959
  m(f, d) {
5933
- re(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5960
+ ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5934
5961
  },
5935
5962
  p(f, d) {
5936
5963
  d[0] & /*$_*/
@@ -5955,7 +5982,7 @@ function _r(e) {
5955
5982
  }
5956
5983
  };
5957
5984
  }
5958
- function Er(e) {
5985
+ function Tr(e) {
5959
5986
  let t, r, n = (
5960
5987
  /*$_*/
5961
5988
  e[18]("remainingBonus") + ""
@@ -5975,7 +6002,7 @@ function Er(e) {
5975
6002
  e[18]("remainingBonus")}`);
5976
6003
  },
5977
6004
  m(f, d) {
5978
- re(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
6005
+ ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5979
6006
  },
5980
6007
  p(f, d) {
5981
6008
  d[0] & /*$_*/
@@ -5999,7 +6026,7 @@ function Er(e) {
5999
6026
  }
6000
6027
  };
6001
6028
  }
6002
- function Tr(e) {
6029
+ function xr(e) {
6003
6030
  let t, r, n = (
6004
6031
  /*$_*/
6005
6032
  e[18]("freeSpins") + ""
@@ -6013,7 +6040,7 @@ function Tr(e) {
6013
6040
  e[18]("freeSpins")}`);
6014
6041
  },
6015
6042
  m(u, h) {
6016
- re(u, t, h), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s);
6043
+ ne(u, t, h), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s);
6017
6044
  },
6018
6045
  p(u, h) {
6019
6046
  h[0] & /*$_*/
@@ -6032,7 +6059,7 @@ function Tr(e) {
6032
6059
  }
6033
6060
  };
6034
6061
  }
6035
- function xr(e) {
6062
+ function Br(e) {
6036
6063
  let t, r, n = (
6037
6064
  /*$_*/
6038
6065
  e[18]("termsConditionsLink") + ""
@@ -6048,7 +6075,7 @@ function xr(e) {
6048
6075
  e[18]("termsConditionsLink")}`);
6049
6076
  },
6050
6077
  m(a, s) {
6051
- re(a, t, s), m(t, r), m(r, i);
6078
+ ne(a, t, s), m(t, r), m(r, i);
6052
6079
  },
6053
6080
  p(a, s) {
6054
6081
  s[0] & /*$_*/
@@ -6068,7 +6095,7 @@ function xr(e) {
6068
6095
  }
6069
6096
  };
6070
6097
  }
6071
- function Br(e) {
6098
+ function Sr(e) {
6072
6099
  let t, r = (
6073
6100
  /*$_*/
6074
6101
  e[18]("forfeitBonusButton") + ""
@@ -6079,7 +6106,7 @@ function Br(e) {
6079
6106
  (e[19] ? "DeleteBonusMobile" : ""));
6080
6107
  },
6081
6108
  m(a, s) {
6082
- re(a, t, s), m(t, n), i || (o = bn(
6109
+ ne(a, t, s), m(t, n), i || (o = pn(
6083
6110
  t,
6084
6111
  "click",
6085
6112
  /*deleteBonus*/
@@ -6096,7 +6123,7 @@ function Br(e) {
6096
6123
  }
6097
6124
  };
6098
6125
  }
6099
- function za(e) {
6126
+ function Ja(e) {
6100
6127
  let t, r, n, i, o = (
6101
6128
  /*$_*/
6102
6129
  e[18]("date") + ""
@@ -6113,55 +6140,55 @@ function za(e) {
6113
6140
  ), v, y, B, U, N, S, A, D, L = (
6114
6141
  /*$_*/
6115
6142
  e[18]("bonusName") + ""
6116
- ), Z, le, J, ie, x, Q, $, he, fe = (
6143
+ ), Z, le, J, oe, x, Q, $, me, he = (
6117
6144
  /*$_*/
6118
6145
  e[18]("bonusType") + ""
6119
- ), Ae, Ge, be, pe = (
6146
+ ), be, We, pe, ge = (
6120
6147
  /*$_*/
6121
6148
  e[18](`${/*bonustype*/
6122
6149
  e[4]}`) + ""
6123
- ), He, b, oe, ge, lt, ht, ft, Gt, G = (
6150
+ ), Re, ve, b, te, ye, ft, ct, jt, G = (
6124
6151
  /*showBonusImage*/
6125
- e[16] === !0 && vr(e)
6152
+ e[16] === !0 && yr(e)
6126
6153
  ), j = (
6127
6154
  /*bonusexpirationdate*/
6128
- e[1] && yr(e)
6155
+ e[1] && wr(e)
6129
6156
  ), W = (
6130
6157
  /*bonusamount*/
6131
- e[5] && wr(e)
6158
+ e[5] && _r(e)
6132
6159
  ), V = (
6133
6160
  /*bonuswageringamount*/
6134
6161
  e[6] && !/*isHiddenWageringBonus*/
6135
- e[17] && _r(e)
6162
+ e[17] && Er(e)
6136
6163
  ), Y = (
6137
6164
  /*bonusremainingamount*/
6138
- e[7] && Er(e)
6165
+ e[7] && Tr(e)
6139
6166
  ), X = (
6140
6167
  /*bonusfreespins*/
6141
- e[9] && Tr(e)
6168
+ e[9] && xr(e)
6142
6169
  ), q = (
6143
6170
  /*showtermsandconditions*/
6144
- e[15] && xr(e)
6171
+ e[15] && Br(e)
6145
6172
  ), z = (
6146
6173
  /*bonusstatus*/
6147
- e[2] === "active" && Br(e)
6174
+ e[2] === "active" && Sr(e)
6148
6175
  );
6149
6176
  return {
6150
6177
  c() {
6151
- t = E("div"), r = E("div"), n = E("div"), i = E("p"), a = P(o), s = M(), l = E("span"), h = P(u), c = M(), f = E("p"), v = P(d), U = M(), G && G.c(), N = M(), j && j.c(), S = M(), A = E("div"), D = E("p"), Z = P(L), le = M(), J = E("p"), ie = P(
6178
+ t = E("div"), r = E("div"), n = E("div"), i = E("p"), a = P(o), s = M(), l = E("span"), h = P(u), c = M(), f = E("p"), v = P(d), U = M(), G && G.c(), N = M(), j && j.c(), S = M(), A = E("div"), D = E("p"), Z = P(L), le = M(), J = E("p"), oe = P(
6152
6179
  /*bonusname*/
6153
6180
  e[3]
6154
- ), Q = M(), $ = E("div"), he = E("p"), Ae = P(fe), Ge = M(), be = E("p"), He = P(pe), oe = M(), W && W.c(), ge = M(), V && V.c(), lt = M(), Y && Y.c(), ht = M(), X && X.c(), ft = M(), q && q.c(), Gt = M(), z && z.c(), p(i, "class", "BonusCardRowTitle"), p(f, "class", y = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6181
+ ), Q = M(), $ = E("div"), me = E("p"), be = P(he), We = M(), pe = E("p"), Re = P(ge), b = M(), W && W.c(), te = M(), V && V.c(), ye = M(), Y && Y.c(), ft = M(), X && X.c(), ct = M(), q && q.c(), jt = M(), z && z.c(), p(i, "class", "BonusCardRowTitle"), p(f, "class", y = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6155
6182
  (e[2] === "active" || /*bonusstatus*/
6156
6183
  e[2] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6157
6184
  (e[2] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6158
6185
  (e[2] === "forfeited" ? "StatusForfeited" : "")), p(n, "class", B = `BonusCardRow Date ${/*$_*/
6159
6186
  e[18]("date")}`), p(D, "class", "BonusCardRowTitle"), p(J, "class", "BonusCardRowText"), p(A, "class", x = `BonusCardRow ${/*$_*/
6160
- e[18]("bonusName")}`), p(he, "class", "BonusCardRowTitle"), p(be, "class", "BonusCardRowText TextCapitalize"), p($, "class", b = `BonusCardRow ${/*$_*/
6187
+ e[18]("bonusName")}`), p(me, "class", "BonusCardRowTitle"), p(pe, "class", "BonusCardRowText TextCapitalize"), p($, "class", ve = `BonusCardRow ${/*$_*/
6161
6188
  e[18]("bonusType")}`), p(r, "class", "BonusCardInfo"), p(t, "class", "BonusCard");
6162
6189
  },
6163
6190
  m(g, I) {
6164
- re(g, t, I), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, c), m(n, f), m(f, v), m(r, U), G && G.m(r, null), m(r, N), j && j.m(r, null), m(r, S), m(r, A), m(A, D), m(D, Z), m(A, le), m(A, J), m(J, ie), m(r, Q), m(r, $), m($, he), m(he, Ae), m($, Ge), m($, be), m(be, He), m(r, oe), W && W.m(r, null), m(r, ge), V && V.m(r, null), m(r, lt), Y && Y.m(r, null), m(r, ht), X && X.m(r, null), m(r, ft), q && q.m(r, null), m(t, Gt), z && z.m(t, null), e[30](t);
6191
+ ne(g, t, I), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, c), m(n, f), m(f, v), m(r, U), G && G.m(r, null), m(r, N), j && j.m(r, null), m(r, S), m(r, A), m(A, D), m(D, Z), m(A, le), m(A, J), m(J, oe), m(r, Q), m(r, $), m($, me), m(me, be), m($, We), m($, pe), m(pe, Re), m(r, b), W && W.m(r, null), m(r, te), V && V.m(r, null), m(r, ye), Y && Y.m(r, null), m(r, ft), X && X.m(r, null), m(r, ct), q && q.m(r, null), m(t, jt), z && z.m(t, null), e[30](t);
6165
6192
  },
6166
6193
  p(g, I) {
6167
6194
  I[0] & /*$_*/
@@ -6182,31 +6209,31 @@ function za(e) {
6182
6209
  (g[2] === "forfeited" ? "StatusForfeited" : "")) && p(f, "class", y), I[0] & /*$_*/
6183
6210
  262144 && B !== (B = `BonusCardRow Date ${/*$_*/
6184
6211
  g[18]("date")}`) && p(n, "class", B), /*showBonusImage*/
6185
- g[16] === !0 ? G ? G.p(g, I) : (G = vr(g), G.c(), G.m(r, N)) : G && (G.d(1), G = null), /*bonusexpirationdate*/
6186
- g[1] ? j ? j.p(g, I) : (j = yr(g), j.c(), j.m(r, S)) : j && (j.d(1), j = null), I[0] & /*$_*/
6212
+ g[16] === !0 ? G ? G.p(g, I) : (G = yr(g), G.c(), G.m(r, N)) : G && (G.d(1), G = null), /*bonusexpirationdate*/
6213
+ g[1] ? j ? j.p(g, I) : (j = wr(g), j.c(), j.m(r, S)) : j && (j.d(1), j = null), I[0] & /*$_*/
6187
6214
  262144 && L !== (L = /*$_*/
6188
6215
  g[18]("bonusName") + "") && R(Z, L), I[0] & /*bonusname*/
6189
6216
  8 && R(
6190
- ie,
6217
+ oe,
6191
6218
  /*bonusname*/
6192
6219
  g[3]
6193
6220
  ), I[0] & /*$_*/
6194
6221
  262144 && x !== (x = `BonusCardRow ${/*$_*/
6195
6222
  g[18]("bonusName")}`) && p(A, "class", x), I[0] & /*$_*/
6196
- 262144 && fe !== (fe = /*$_*/
6197
- g[18]("bonusType") + "") && R(Ae, fe), I[0] & /*$_, bonustype*/
6198
- 262160 && pe !== (pe = /*$_*/
6223
+ 262144 && he !== (he = /*$_*/
6224
+ g[18]("bonusType") + "") && R(be, he), I[0] & /*$_, bonustype*/
6225
+ 262160 && ge !== (ge = /*$_*/
6199
6226
  g[18](`${/*bonustype*/
6200
- g[4]}`) + "") && R(He, pe), I[0] & /*$_*/
6201
- 262144 && b !== (b = `BonusCardRow ${/*$_*/
6202
- g[18]("bonusType")}`) && p($, "class", b), /*bonusamount*/
6203
- g[5] ? W ? W.p(g, I) : (W = wr(g), W.c(), W.m(r, ge)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6227
+ g[4]}`) + "") && R(Re, ge), I[0] & /*$_*/
6228
+ 262144 && ve !== (ve = `BonusCardRow ${/*$_*/
6229
+ g[18]("bonusType")}`) && p($, "class", ve), /*bonusamount*/
6230
+ g[5] ? W ? W.p(g, I) : (W = _r(g), W.c(), W.m(r, te)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6204
6231
  g[6] && !/*isHiddenWageringBonus*/
6205
- g[17] ? V ? V.p(g, I) : (V = _r(g), V.c(), V.m(r, lt)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6206
- g[7] ? Y ? Y.p(g, I) : (Y = Er(g), Y.c(), Y.m(r, ht)) : Y && (Y.d(1), Y = null), /*bonusfreespins*/
6207
- g[9] ? X ? X.p(g, I) : (X = Tr(g), X.c(), X.m(r, ft)) : X && (X.d(1), X = null), /*showtermsandconditions*/
6208
- g[15] ? q ? q.p(g, I) : (q = xr(g), q.c(), q.m(r, null)) : q && (q.d(1), q = null), /*bonusstatus*/
6209
- g[2] === "active" ? z ? z.p(g, I) : (z = Br(g), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6232
+ g[17] ? V ? V.p(g, I) : (V = Er(g), V.c(), V.m(r, ye)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6233
+ g[7] ? Y ? Y.p(g, I) : (Y = Tr(g), Y.c(), Y.m(r, ft)) : Y && (Y.d(1), Y = null), /*bonusfreespins*/
6234
+ g[9] ? X ? X.p(g, I) : (X = xr(g), X.c(), X.m(r, ct)) : X && (X.d(1), X = null), /*showtermsandconditions*/
6235
+ g[15] ? q ? q.p(g, I) : (q = Br(g), q.c(), q.m(r, null)) : q && (q.d(1), q = null), /*bonusstatus*/
6236
+ g[2] === "active" ? z ? z.p(g, I) : (z = Sr(g), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6210
6237
  },
6211
6238
  i: K,
6212
6239
  o: K,
@@ -6215,45 +6242,45 @@ function za(e) {
6215
6242
  }
6216
6243
  };
6217
6244
  }
6218
- function Qa(e, t, r) {
6245
+ function Ka(e, t, r) {
6219
6246
  let n, i;
6220
- fn(e, Do, (b) => r(18, i = b));
6221
- let { bonuswalletid: o = "" } = t, { bonusdate: a = "" } = t, { bonusexpirationdate: s = "" } = t, { bonusstatus: l = "" } = t, { bonusname: u = "" } = t, { bonustype: h = "" } = t, { bonusamount: c = "" } = t, { bonuswageringamount: f = "" } = t, { bonusremainingamount: d = "" } = t, { bonuscurrency: v = "" } = t, { bonusfreespins: y = "" } = t, { lang: B = "en" } = t, { clientstyling: U = "" } = t, { clientstylingurl: N = "" } = t, { mbsource: S } = t, { translationurl: A = "" } = t, { termsandconditionsurl: D = "" } = t, { termsandconditionsasset: L = "" } = t, { termsandconditionsdescription: Z = "" } = t, { currencylocale: le = "" } = t, { dateformat: J = "" } = t, { ishiddenwageringbonus: ie = "false" } = t, x, Q = window.navigator.userAgent, $ = Io(Q) !== "PC", he = !1, fe = !0;
6222
- const Ae = () => {
6223
- fetch(A).then((oe) => oe.json()).then((oe) => {
6224
- Object.keys(oe).forEach((ge) => {
6225
- cr(ge, oe[ge]);
6247
+ cn(e, Io, (b) => r(18, i = b));
6248
+ let { bonuswalletid: o = "" } = t, { bonusdate: a = "" } = t, { bonusexpirationdate: s = "" } = t, { bonusstatus: l = "" } = t, { bonusname: u = "" } = t, { bonustype: h = "" } = t, { bonusamount: c = "" } = t, { bonuswageringamount: f = "" } = t, { bonusremainingamount: d = "" } = t, { bonuscurrency: v = "" } = t, { bonusfreespins: y = "" } = t, { lang: B = "en" } = t, { clientstyling: U = "" } = t, { clientstylingurl: N = "" } = t, { mbsource: S } = t, { translationurl: A = "" } = t, { termsandconditionsurl: D = "" } = t, { termsandconditionsasset: L = "" } = t, { termsandconditionsdescription: Z = "" } = t, { currencylocale: le = "" } = t, { dateformat: J = "" } = t, { ishiddenwageringbonus: oe = "false" } = t, x, Q, $ = window.navigator.userAgent, me = Lo($) !== "PC", he = !1, be = !0;
6249
+ const We = () => {
6250
+ fetch(A).then((te) => te.json()).then((te) => {
6251
+ Object.keys(te).forEach((ye) => {
6252
+ dr(ye, te[ye]);
6226
6253
  });
6227
- }).catch((oe) => {
6228
- console.log(oe);
6254
+ }).catch((te) => {
6255
+ console.log(te);
6229
6256
  });
6230
6257
  };
6231
- Object.keys(dr).forEach((b) => {
6232
- cr(b, dr[b]);
6258
+ Object.keys(mr).forEach((b) => {
6259
+ dr(b, mr[b]);
6233
6260
  });
6234
- const Ge = () => {
6261
+ const pe = () => {
6235
6262
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: o }, window.location.href);
6236
- }, be = (b) => Ya(new Date(b), `${J || "dd/MM/yyyy"} h:mm a`), pe = () => {
6237
- Lo(B);
6263
+ }, ge = (b) => za(new Date(b), `${J || "dd/MM/yyyy"} h:mm a`), Re = () => {
6264
+ Uo(B);
6238
6265
  };
6239
- yn(() => () => {
6266
+ wn(() => () => {
6240
6267
  });
6241
- function He(b) {
6242
- _t[b ? "unshift" : "push"](() => {
6268
+ function ve(b) {
6269
+ Et[b ? "unshift" : "push"](() => {
6243
6270
  x = b, r(14, x);
6244
6271
  });
6245
6272
  }
6246
6273
  return e.$$set = (b) => {
6247
- "bonuswalletid" in b && r(22, o = b.bonuswalletid), "bonusdate" in b && r(0, a = b.bonusdate), "bonusexpirationdate" in b && r(1, s = b.bonusexpirationdate), "bonusstatus" in b && r(2, l = b.bonusstatus), "bonusname" in b && r(3, u = b.bonusname), "bonustype" in b && r(4, h = b.bonustype), "bonusamount" in b && r(5, c = b.bonusamount), "bonuswageringamount" in b && r(6, f = b.bonuswageringamount), "bonusremainingamount" in b && r(7, d = b.bonusremainingamount), "bonuscurrency" in b && r(8, v = b.bonuscurrency), "bonusfreespins" in b && r(9, y = b.bonusfreespins), "lang" in b && r(23, B = b.lang), "clientstyling" in b && r(24, U = b.clientstyling), "clientstylingurl" in b && r(25, N = b.clientstylingurl), "mbsource" in b && r(26, S = b.mbsource), "translationurl" in b && r(27, A = b.translationurl), "termsandconditionsurl" in b && r(10, D = b.termsandconditionsurl), "termsandconditionsasset" in b && r(11, L = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(12, Z = b.termsandconditionsdescription), "currencylocale" in b && r(13, le = b.currencylocale), "dateformat" in b && r(28, J = b.dateformat), "ishiddenwageringbonus" in b && r(29, ie = b.ishiddenwageringbonus);
6274
+ "bonuswalletid" in b && r(22, o = b.bonuswalletid), "bonusdate" in b && r(0, a = b.bonusdate), "bonusexpirationdate" in b && r(1, s = b.bonusexpirationdate), "bonusstatus" in b && r(2, l = b.bonusstatus), "bonusname" in b && r(3, u = b.bonusname), "bonustype" in b && r(4, h = b.bonustype), "bonusamount" in b && r(5, c = b.bonusamount), "bonuswageringamount" in b && r(6, f = b.bonuswageringamount), "bonusremainingamount" in b && r(7, d = b.bonusremainingamount), "bonuscurrency" in b && r(8, v = b.bonuscurrency), "bonusfreespins" in b && r(9, y = b.bonusfreespins), "lang" in b && r(23, B = b.lang), "clientstyling" in b && r(24, U = b.clientstyling), "clientstylingurl" in b && r(25, N = b.clientstylingurl), "mbsource" in b && r(26, S = b.mbsource), "translationurl" in b && r(27, A = b.translationurl), "termsandconditionsurl" in b && r(10, D = b.termsandconditionsurl), "termsandconditionsasset" in b && r(11, L = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(12, Z = b.termsandconditionsdescription), "currencylocale" in b && r(13, le = b.currencylocale), "dateformat" in b && r(28, J = b.dateformat), "ishiddenwageringbonus" in b && r(29, oe = b.ishiddenwageringbonus);
6248
6275
  }, e.$$.update = () => {
6249
6276
  e.$$.dirty[0] & /*lang*/
6250
- 8388608 && B && pe(), e.$$.dirty[0] & /*ishiddenwageringbonus*/
6251
- 536870912 && r(17, n = ie === "true"), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6252
- 16793600 && U && x && Uo(x, U), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6253
- 33570816 && N && x && ko(x, N), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6254
- 67125248 && S && x && Fo(x, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
6255
- 134217728 && A && Ae(), e.$$.dirty[0] & /*termsandconditionsasset*/
6256
- 2048 && r(16, fe = !(L === null || L === "")), e.$$.dirty[0] & /*termsandconditionsurl*/
6277
+ 8388608 && B && Re(), e.$$.dirty[0] & /*ishiddenwageringbonus*/
6278
+ 536870912 && r(17, n = oe === "true"), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6279
+ 16793600 && U && x && ko(x, U), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6280
+ 33570816 && N && x && Fo(x, N), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6281
+ 67125248 && S && x && $o(x, `${S}.Style`, Q), e.$$.dirty[0] & /*translationurl*/
6282
+ 134217728 && A && We(), e.$$.dirty[0] & /*termsandconditionsasset*/
6283
+ 2048 && r(16, be = !(L === null || L === "")), e.$$.dirty[0] & /*termsandconditionsurl*/
6257
6284
  1024 && r(15, he = D !== null && D !== "");
6258
6285
  }, [
6259
6286
  a,
@@ -6272,12 +6299,12 @@ function Qa(e, t, r) {
6272
6299
  le,
6273
6300
  x,
6274
6301
  he,
6275
- fe,
6302
+ be,
6276
6303
  n,
6277
6304
  i,
6278
- $,
6279
- Ge,
6280
- be,
6305
+ me,
6306
+ pe,
6307
+ ge,
6281
6308
  o,
6282
6309
  B,
6283
6310
  U,
@@ -6285,18 +6312,18 @@ function Qa(e, t, r) {
6285
6312
  S,
6286
6313
  A,
6287
6314
  J,
6288
- ie,
6289
- He
6315
+ oe,
6316
+ ve
6290
6317
  ];
6291
6318
  }
6292
- class Za extends Hn {
6319
+ class es extends Mn {
6293
6320
  constructor(t) {
6294
- super(), Pn(
6321
+ super(), An(
6295
6322
  this,
6296
6323
  t,
6297
- Qa,
6298
- za,
6299
- Cr,
6324
+ Ka,
6325
+ Ja,
6326
+ Or,
6300
6327
  {
6301
6328
  bonuswalletid: 22,
6302
6329
  bonusdate: 0,
@@ -6321,7 +6348,7 @@ class Za extends Hn {
6321
6348
  dateformat: 28,
6322
6349
  ishiddenwageringbonus: 29
6323
6350
  },
6324
- qa,
6351
+ Za,
6325
6352
  [-1, -1]
6326
6353
  );
6327
6354
  }
@@ -6458,7 +6485,7 @@ class Za extends Hn {
6458
6485
  this.$$set({ ishiddenwageringbonus: t }), C();
6459
6486
  }
6460
6487
  }
6461
- An(Za, { bonuswalletid: {}, bonusdate: {}, bonusexpirationdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, bonusfreespins: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
6488
+ Hn(es, { bonuswalletid: {}, bonusdate: {}, bonusexpirationdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, bonusfreespins: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
6462
6489
  export {
6463
- Za as P
6490
+ es as P
6464
6491
  };