@everymatrix/player-transaction-history 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, hr = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var fr = Object.defineProperty, pr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- cr.call(t, r) && He(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- fr.call(t, r) && He(e, r, t[r]);
7
+ dr.call(t, r) && He(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ br.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => hr(e, lr(t));
13
- var w = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
12
+ }, it = (e, t) => pr(e, mr(t));
13
+ var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var rt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function B() {
31
31
  }
32
- function At(e) {
32
+ function It(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(At);
39
+ e.forEach(It);
40
40
  }
41
- function qe(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Pt(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
- function it(e, t) {
48
+ function at(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function pr(e) {
51
+ function yr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ot(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,21 +60,22 @@ function Ot(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function mr(e, t, r) {
64
- e.$$.on_destroy.push(Ot(t, r));
63
+ function gr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function x(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function dr(e, t, r) {
70
- const n = br(e);
69
+ function vr(e, t, r) {
70
+ const n = _r(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = N("style");
73
- i.id = t, i.textContent = r, yr(n, i);
73
+ i.id = t, i.textContent = r, Er(n, i);
74
74
  }
75
75
  }
76
- function br(e) {
77
- if (!e) return document;
76
+ function _r(e) {
77
+ if (!e)
78
+ return document;
78
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
80
  return t && /** @type {ShadowRoot} */
80
81
  t.host ? (
@@ -82,7 +83,7 @@ function br(e) {
82
83
  t
83
84
  ) : e.ownerDocument;
84
85
  }
85
- function yr(e, t) {
86
+ function Er(e, t) {
86
87
  return x(
87
88
  /** @type {Document} */
88
89
  e.head || e,
@@ -104,23 +105,23 @@ function F(e) {
104
105
  function ne(e) {
105
106
  return document.createTextNode(e);
106
107
  }
107
- function Ne() {
108
+ function Le() {
108
109
  return ne(" ");
109
110
  }
110
- function gr(e, t, r, n) {
111
+ function xr(e, t, r, n) {
111
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
113
  }
113
114
  function E(e, t, r) {
114
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
116
  }
116
- function vr(e) {
117
+ function Tr(e) {
117
118
  return Array.from(e.childNodes);
118
119
  }
119
- function Qe(e, t) {
120
+ function Je(e, t) {
120
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
121
122
  t);
122
123
  }
123
- function _r(e) {
124
+ function Hr(e) {
124
125
  const t = {};
125
126
  return e.childNodes.forEach(
126
127
  /** @param {Element} node */
@@ -133,21 +134,22 @@ let ie;
133
134
  function re(e) {
134
135
  ie = e;
135
136
  }
136
- function Er() {
137
- if (!ie) throw new Error("Function called outside component initialization");
137
+ function Sr() {
138
+ if (!ie)
139
+ throw new Error("Function called outside component initialization");
138
140
  return ie;
139
141
  }
140
- function xr(e) {
141
- Er().$$.on_mount.push(e);
142
+ function wr(e) {
143
+ Sr().$$.on_mount.push(e);
142
144
  }
143
- const V = [], Le = [];
145
+ const V = [], Ce = [];
144
146
  let X = [];
145
- const ot = [], Tr = /* @__PURE__ */ Promise.resolve();
146
- let Ce = !1;
147
- function Hr() {
148
- Ce || (Ce = !0, Tr.then(A));
147
+ const ut = [], Br = /* @__PURE__ */ Promise.resolve();
148
+ let Me = !1;
149
+ function Ar() {
150
+ Me || (Me = !0, Br.then(A));
149
151
  }
150
- function Me(e) {
152
+ function $e(e) {
151
153
  X.push(e);
152
154
  }
153
155
  const Se = /* @__PURE__ */ new Set();
@@ -160,52 +162,53 @@ function A() {
160
162
  try {
161
163
  for (; j < V.length; ) {
162
164
  const t = V[j];
163
- j++, re(t), Sr(t.$$);
165
+ j++, re(t), Pr(t.$$);
164
166
  }
165
167
  } catch (t) {
166
168
  throw V.length = 0, j = 0, t;
167
169
  }
168
- for (re(null), V.length = 0, j = 0; Le.length; ) Le.pop()();
170
+ for (re(null), V.length = 0, j = 0; Ce.length; )
171
+ Ce.pop()();
169
172
  for (let t = 0; t < X.length; t += 1) {
170
173
  const r = X[t];
171
174
  Se.has(r) || (Se.add(r), r());
172
175
  }
173
176
  X.length = 0;
174
177
  } while (V.length);
175
- for (; ot.length; )
176
- ot.pop()();
177
- Ce = !1, Se.clear(), re(e);
178
+ for (; ut.length; )
179
+ ut.pop()();
180
+ Me = !1, Se.clear(), re(e);
178
181
  }
179
- function Sr(e) {
182
+ function Pr(e) {
180
183
  if (e.fragment !== null) {
181
184
  e.update(), ae(e.before_update);
182
185
  const t = e.dirty;
183
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
184
187
  }
185
188
  }
186
- function wr(e) {
189
+ function Or(e) {
187
190
  const t = [], r = [];
188
191
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
189
192
  }
190
- const Br = /* @__PURE__ */ new Set();
191
- function Ar(e, t) {
192
- e && e.i && (Br.delete(e), e.i(t));
193
+ const Ir = /* @__PURE__ */ new Set();
194
+ function Nr(e, t) {
195
+ e && e.i && (Ir.delete(e), e.i(t));
193
196
  }
194
- function Pr(e, t, r) {
197
+ function Lr(e, t, r) {
195
198
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), Me(() => {
197
- const o = e.$$.on_mount.map(At).filter(qe);
199
+ n && n.m(t, r), $e(() => {
200
+ const o = e.$$.on_mount.map(It).filter(Qe);
198
201
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
199
- }), i.forEach(Me);
202
+ }), i.forEach($e);
200
203
  }
201
- function Or(e, t) {
204
+ function Cr(e, t) {
202
205
  const r = e.$$;
203
- r.fragment !== null && (wr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ r.fragment !== null && (Or(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
207
  }
205
- function Ir(e, t) {
206
- e.$$.dirty[0] === -1 && (V.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Mr(e, t) {
209
+ e.$$.dirty[0] === -1 && (V.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
210
  }
208
- function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
211
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
209
212
  const h = ie;
210
213
  re(e);
211
214
  const u = e.$$ = {
@@ -215,7 +218,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
215
218
  props: o,
216
219
  update: B,
217
220
  not_equal: i,
218
- bound: nt(),
221
+ bound: st(),
219
222
  // lifecycle
220
223
  on_mount: [],
221
224
  on_destroy: [],
@@ -224,7 +227,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
224
227
  after_update: [],
225
228
  context: new Map(t.context || (h ? h.$$.context : [])),
226
229
  // everything else
227
- callbacks: nt(),
230
+ callbacks: st(),
228
231
  dirty: a,
229
232
  skip_bound: !1,
230
233
  root: t.target || h.$$.root
@@ -233,19 +236,19 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
233
236
  let l = !1;
234
237
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
235
238
  const v = p.length ? p[0] : f;
236
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Ir(e, c)), f;
239
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Mr(e, c)), f;
237
240
  }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
241
  if (t.hydrate) {
239
- const c = vr(t.target);
242
+ const c = Tr(t.target);
240
243
  u.fragment && u.fragment.l(c), c.forEach(J);
241
244
  } else
242
245
  u.fragment && u.fragment.c();
243
- t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), A();
246
+ t.intro && Nr(e.$$.fragment), Lr(e, t.target, t.anchor), A();
244
247
  }
245
248
  re(h);
246
249
  }
247
- let It;
248
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
250
+ let Ct;
251
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
249
252
  constructor(t, r, n) {
250
253
  super();
251
254
  /** The Svelte component constructor */
@@ -282,7 +285,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
282
285
  }
283
286
  }
284
287
  connectedCallback() {
285
- return rt(this, null, function* () {
288
+ return ot(this, null, function* () {
286
289
  if (this.$$cn = !0, !this.$$c) {
287
290
  let t = function(o) {
288
291
  return () => {
@@ -306,7 +309,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
306
309
  };
307
310
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
311
  return;
309
- const r = {}, n = _r(this);
312
+ const r = {}, n = Hr(this);
310
313
  for (const o of this.$$s)
311
314
  o in n && (r[o] = [t(o)]);
312
315
  for (const o of this.attributes) {
@@ -317,7 +320,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
317
320
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
318
321
  this.$$c = new this.$$ctor({
319
322
  target: this.shadowRoot || this,
320
- props: tt(et({}, this.$$d), {
323
+ props: it(nt({}, this.$$d), {
321
324
  $$slots: r,
322
325
  $$scope: {
323
326
  ctx: []
@@ -395,8 +398,8 @@ function pe(e, t, r, n) {
395
398
  return t;
396
399
  }
397
400
  }
398
- function Lr(e, t, r, n, i, o) {
399
- let s = class extends It {
401
+ function Rr(e, t, r, n, i, o) {
402
+ let s = class extends Ct {
400
403
  constructor() {
401
404
  super(e, r, i), this.$$p_d = t;
402
405
  }
@@ -426,7 +429,7 @@ function Lr(e, t, r, n, i, o) {
426
429
  }), e.element = /** @type {any} */
427
430
  s, s;
428
431
  }
429
- class Cr {
432
+ class Ur {
430
433
  constructor() {
431
434
  /**
432
435
  * ### PRIVATE API
@@ -447,7 +450,7 @@ class Cr {
447
450
  }
448
451
  /** @returns {void} */
449
452
  $destroy() {
450
- Or(this, 1), this.$destroy = B;
453
+ Cr(this, 1), this.$destroy = B;
451
454
  }
452
455
  /**
453
456
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +459,7 @@ class Cr {
456
459
  * @returns {() => void}
457
460
  */
458
461
  $on(t, r) {
459
- if (!qe(r))
462
+ if (!Qe(r))
460
463
  return B;
461
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
465
  return n.push(r), () => {
@@ -469,22 +472,37 @@ class Cr {
469
472
  * @returns {void}
470
473
  */
471
474
  $set(t) {
472
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
476
  }
474
477
  }
475
- const Mr = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
477
- var $e = function(e, t) {
478
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
478
+ const Dr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
480
+ /*! *****************************************************************************
481
+ Copyright (c) Microsoft Corporation.
482
+
483
+ Permission to use, copy, modify, and/or distribute this software for any
484
+ purpose with or without fee is hereby granted.
485
+
486
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
487
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
488
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
489
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
490
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
+ PERFORMANCE OF THIS SOFTWARE.
493
+ ***************************************************************************** */
494
+ var Re = function(e, t) {
495
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
479
496
  r.__proto__ = n;
480
497
  } || function(r, n) {
481
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
482
- }, $e(e, t);
498
+ for (var i in n)
499
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
500
+ }, Re(e, t);
483
501
  };
484
502
  function L(e, t) {
485
503
  if (typeof t != "function" && t !== null)
486
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
487
- $e(e, t);
505
+ Re(e, t);
488
506
  function r() {
489
507
  this.constructor = e;
490
508
  }
@@ -494,61 +512,69 @@ var y = function() {
494
512
  return y = Object.assign || function(t) {
495
513
  for (var r, n = 1, i = arguments.length; n < i; n++) {
496
514
  r = arguments[n];
497
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
515
+ for (var o in r)
516
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
498
517
  }
499
518
  return t;
500
519
  }, y.apply(this, arguments);
501
520
  };
502
- function $r(e, t) {
521
+ function Gr(e, t) {
503
522
  var r = {};
504
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
523
+ for (var n in e)
524
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
505
525
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
506
526
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
507
527
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
508
528
  return r;
509
529
  }
510
- function Re(e) {
530
+ function Ue(e) {
511
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
512
- if (r) return r.call(e);
513
- if (e && typeof e.length == "number") return {
514
- next: function() {
515
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
516
- }
517
- };
532
+ if (r)
533
+ return r.call(e);
534
+ if (e && typeof e.length == "number")
535
+ return {
536
+ next: function() {
537
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
538
+ }
539
+ };
518
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
519
541
  }
520
- function Ue(e, t) {
542
+ function De(e, t) {
521
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
522
- if (!r) return e;
544
+ if (!r)
545
+ return e;
523
546
  var n = r.call(e), i, o = [], s;
524
547
  try {
525
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
548
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
549
+ o.push(i.value);
526
550
  } catch (a) {
527
551
  s = { error: a };
528
552
  } finally {
529
553
  try {
530
554
  i && !i.done && (r = n.return) && r.call(n);
531
555
  } finally {
532
- if (s) throw s.error;
556
+ if (s)
557
+ throw s.error;
533
558
  }
534
559
  }
535
560
  return o;
536
561
  }
537
562
  function W(e, t, r) {
538
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
539
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
540
- return e.concat(o || Array.prototype.slice.call(t));
563
+ if (r || arguments.length === 2)
564
+ for (var n = 0, i = t.length, o; n < i; n++)
565
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
566
+ return e.concat(o || t);
541
567
  }
542
568
  function I(e) {
543
569
  return typeof e == "function";
544
570
  }
545
- function Nt(e) {
571
+ function Mt(e) {
546
572
  var t = function(n) {
547
573
  Error.call(n), n.stack = new Error().stack;
548
574
  }, r = e(t);
549
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
550
576
  }
551
- var we = Nt(function(e) {
577
+ var we = Mt(function(e) {
552
578
  return function(r) {
553
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
554
580
  ` + r.map(function(n, i) {
@@ -557,7 +583,7 @@ var we = Nt(function(e) {
557
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
558
584
  };
559
585
  });
560
- function De(e, t) {
586
+ function Ge(e, t) {
561
587
  if (e) {
562
588
  var r = e.indexOf(t);
563
589
  0 <= r && e.splice(r, 1);
@@ -575,7 +601,7 @@ var ve = function() {
575
601
  if (s)
576
602
  if (this._parentage = null, Array.isArray(s))
577
603
  try {
578
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
604
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
579
605
  var u = h.value;
580
606
  u.remove(this);
581
607
  }
@@ -585,7 +611,8 @@ var ve = function() {
585
611
  try {
586
612
  h && !h.done && (r = a.return) && r.call(a);
587
613
  } finally {
588
- if (t) throw t.error;
614
+ if (t)
615
+ throw t.error;
589
616
  }
590
617
  }
591
618
  else
@@ -601,12 +628,12 @@ var ve = function() {
601
628
  if (c) {
602
629
  this._finalizers = null;
603
630
  try {
604
- for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
631
+ for (var f = Ue(c), p = f.next(); !p.done; p = f.next()) {
605
632
  var v = p.value;
606
633
  try {
607
- st(v);
634
+ ht(v);
608
635
  } catch (m) {
609
- o = o != null ? o : [], m instanceof we ? o = W(W([], Ue(o)), Ue(m.errors)) : o.push(m);
636
+ o = o != null ? o : [], m instanceof we ? o = W(W([], De(o)), De(m.errors)) : o.push(m);
610
637
  }
611
638
  }
612
639
  } catch (m) {
@@ -615,7 +642,8 @@ var ve = function() {
615
642
  try {
616
643
  p && !p.done && (i = f.return) && i.call(f);
617
644
  } finally {
618
- if (n) throw n.error;
645
+ if (n)
646
+ throw n.error;
619
647
  }
620
648
  }
621
649
  }
@@ -626,7 +654,7 @@ var ve = function() {
626
654
  var r;
627
655
  if (t && t !== this)
628
656
  if (this.closed)
629
- st(t);
657
+ ht(t);
630
658
  else {
631
659
  if (t instanceof e) {
632
660
  if (t.closed || t._hasParent(this))
@@ -643,52 +671,56 @@ var ve = function() {
643
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
644
672
  }, e.prototype._removeParent = function(t) {
645
673
  var r = this._parentage;
646
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
647
675
  }, e.prototype.remove = function(t) {
648
676
  var r = this._finalizers;
649
- r && De(r, t), t instanceof e && t._removeParent(this);
677
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
650
678
  }, e.EMPTY = function() {
651
679
  var t = new e();
652
680
  return t.closed = !0, t;
653
681
  }(), e;
654
- }(), Lt = ve.EMPTY;
655
- function Ct(e) {
682
+ }(), $t = ve.EMPTY;
683
+ function Rt(e) {
656
684
  return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
657
685
  }
658
- function st(e) {
686
+ function ht(e) {
659
687
  I(e) ? e() : e.unsubscribe();
660
688
  }
661
- var Rr = {
662
- Promise: void 0
663
- }, Ur = {
689
+ var Ut = {
690
+ onUnhandledError: null,
691
+ onStoppedNotification: null,
692
+ Promise: void 0,
693
+ useDeprecatedSynchronousErrorHandling: !1,
694
+ useDeprecatedNextContext: !1
695
+ }, Fr = {
664
696
  setTimeout: function(e, t) {
665
697
  for (var r = [], n = 2; n < arguments.length; n++)
666
698
  r[n - 2] = arguments[n];
667
- return setTimeout.apply(void 0, W([e, t], Ue(r)));
699
+ return setTimeout.apply(void 0, W([e, t], De(r)));
668
700
  },
669
701
  clearTimeout: function(e) {
670
702
  return clearTimeout(e);
671
703
  },
672
704
  delegate: void 0
673
705
  };
674
- function Dr(e) {
675
- Ur.setTimeout(function() {
706
+ function jr(e) {
707
+ Fr.setTimeout(function() {
676
708
  throw e;
677
709
  });
678
710
  }
679
- function at() {
711
+ function lt() {
680
712
  }
681
713
  function me(e) {
682
714
  e();
683
715
  }
684
- var Mt = function(e) {
716
+ var Dt = function(e) {
685
717
  L(t, e);
686
718
  function t(r) {
687
719
  var n = e.call(this) || this;
688
- return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = jr, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Wr, n;
689
721
  }
690
722
  return t.create = function(r, n, i) {
691
- return new Ge(r, n, i);
723
+ return new Fe(r, n, i);
692
724
  }, t.prototype.next = function(r) {
693
725
  this.isStopped || this._next(r);
694
726
  }, t.prototype.error = function(r) {
@@ -712,7 +744,11 @@ var Mt = function(e) {
712
744
  this.unsubscribe();
713
745
  }
714
746
  }, t;
715
- }(ve), Gr = function() {
747
+ }(ve), kr = Function.prototype.bind;
748
+ function Be(e, t) {
749
+ return kr.call(e, t);
750
+ }
751
+ var Vr = function() {
716
752
  function e(t) {
717
753
  this.partialObserver = t;
718
754
  }
@@ -743,43 +779,55 @@ var Mt = function(e) {
743
779
  ce(r);
744
780
  }
745
781
  }, e;
746
- }(), Ge = function(e) {
782
+ }(), Fe = function(e) {
747
783
  L(t, e);
748
784
  function t(r, n, i) {
749
785
  var o = e.call(this) || this, s;
750
- return I(r) || !r ? s = {
751
- next: r != null ? r : void 0,
752
- error: n != null ? n : void 0,
753
- complete: i != null ? i : void 0
754
- } : s = r, o.destination = new Gr(s), o;
786
+ if (I(r) || !r)
787
+ s = {
788
+ next: r != null ? r : void 0,
789
+ error: n != null ? n : void 0,
790
+ complete: i != null ? i : void 0
791
+ };
792
+ else {
793
+ var a;
794
+ o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
795
+ return o.unsubscribe();
796
+ }, s = {
797
+ next: r.next && Be(r.next, a),
798
+ error: r.error && Be(r.error, a),
799
+ complete: r.complete && Be(r.complete, a)
800
+ }) : s = r;
801
+ }
802
+ return o.destination = new Vr(s), o;
755
803
  }
756
804
  return t;
757
- }(Mt);
805
+ }(Dt);
758
806
  function ce(e) {
759
- Dr(e);
807
+ jr(e);
760
808
  }
761
- function Fr(e) {
809
+ function Xr(e) {
762
810
  throw e;
763
811
  }
764
- var jr = {
812
+ var Wr = {
765
813
  closed: !0,
766
- next: at,
767
- error: Fr,
768
- complete: at
769
- }, kr = function() {
814
+ next: lt,
815
+ error: Xr,
816
+ complete: lt
817
+ }, zr = function() {
770
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
771
819
  }();
772
- function Vr(e) {
820
+ function Zr(e) {
773
821
  return e;
774
822
  }
775
- function Xr(e) {
776
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
823
+ function qr(e) {
824
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
777
825
  return e.reduce(function(n, i) {
778
826
  return i(n);
779
827
  }, r);
780
828
  };
781
829
  }
782
- var ut = function() {
830
+ var ct = function() {
783
831
  function e(t) {
784
832
  t && (this._subscribe = t);
785
833
  }
@@ -787,7 +835,7 @@ var ut = function() {
787
835
  var r = new e();
788
836
  return r.source = this, r.operator = t, r;
789
837
  }, e.prototype.subscribe = function(t, r, n) {
790
- var i = this, o = zr(t) ? t : new Ge(t, r, n);
838
+ var i = this, o = Jr(t) ? t : new Fe(t, r, n);
791
839
  return me(function() {
792
840
  var s = i, a = s.operator, h = s.source;
793
841
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -800,8 +848,8 @@ var ut = function() {
800
848
  }
801
849
  }, e.prototype.forEach = function(t, r) {
802
850
  var n = this;
803
- return r = ht(r), new r(function(i, o) {
804
- var s = new Ge({
851
+ return r = ft(r), new r(function(i, o) {
852
+ var s = new Fe({
805
853
  next: function(a) {
806
854
  try {
807
855
  t(a);
@@ -817,15 +865,15 @@ var ut = function() {
817
865
  }, e.prototype._subscribe = function(t) {
818
866
  var r;
819
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
820
- }, e.prototype[kr] = function() {
868
+ }, e.prototype[zr] = function() {
821
869
  return this;
822
870
  }, e.prototype.pipe = function() {
823
871
  for (var t = [], r = 0; r < arguments.length; r++)
824
872
  t[r] = arguments[r];
825
- return Xr(t)(this);
873
+ return qr(t)(this);
826
874
  }, e.prototype.toPromise = function(t) {
827
875
  var r = this;
828
- return t = ht(t), new t(function(n, i) {
876
+ return t = ft(t), new t(function(n, i) {
829
877
  var o;
830
878
  r.subscribe(function(s) {
831
879
  return o = s;
@@ -839,32 +887,32 @@ var ut = function() {
839
887
  return new e(t);
840
888
  }, e;
841
889
  }();
842
- function ht(e) {
890
+ function ft(e) {
843
891
  var t;
844
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
845
893
  }
846
- function Wr(e) {
894
+ function Qr(e) {
847
895
  return e && I(e.next) && I(e.error) && I(e.complete);
848
896
  }
849
- function zr(e) {
850
- return e && e instanceof Mt || Wr(e) && Ct(e);
897
+ function Jr(e) {
898
+ return e && e instanceof Dt || Qr(e) && Rt(e);
851
899
  }
852
- var Zr = Nt(function(e) {
900
+ var Yr = Mt(function(e) {
853
901
  return function() {
854
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
855
903
  };
856
- }), $t = function(e) {
904
+ }), Gt = function(e) {
857
905
  L(t, e);
858
906
  function t() {
859
907
  var r = e.call(this) || this;
860
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
861
909
  }
862
910
  return t.prototype.lift = function(r) {
863
- var n = new lt(this, this);
911
+ var n = new pt(this, this);
864
912
  return n.operator = r, n;
865
913
  }, t.prototype._throwIfClosed = function() {
866
914
  if (this.closed)
867
- throw new Zr();
915
+ throw new Yr();
868
916
  }, t.prototype.next = function(r) {
869
917
  var n = this;
870
918
  me(function() {
@@ -872,7 +920,7 @@ var Zr = Nt(function(e) {
872
920
  if (n._throwIfClosed(), !n.isStopped) {
873
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
874
922
  try {
875
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
876
924
  var h = a.value;
877
925
  h.next(r);
878
926
  }
@@ -882,7 +930,8 @@ var Zr = Nt(function(e) {
882
930
  try {
883
931
  a && !a.done && (o = s.return) && o.call(s);
884
932
  } finally {
885
- if (i) throw i.error;
933
+ if (i)
934
+ throw i.error;
886
935
  }
887
936
  }
888
937
  }
@@ -920,19 +969,19 @@ var Zr = Nt(function(e) {
920
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
921
970
  }, t.prototype._innerSubscribe = function(r) {
922
971
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
923
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ve(function() {
924
- n.currentObservers = null, De(a, r);
972
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
973
+ n.currentObservers = null, Ge(a, r);
925
974
  }));
926
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
927
976
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
928
977
  i ? r.error(o) : s && r.complete();
929
978
  }, t.prototype.asObservable = function() {
930
- var r = new ut();
979
+ var r = new ct();
931
980
  return r.source = this, r;
932
981
  }, t.create = function(r, n) {
933
- return new lt(r, n);
982
+ return new pt(r, n);
934
983
  }, t;
935
- }(ut), lt = function(e) {
984
+ }(ct), pt = function(e) {
936
985
  L(t, e);
937
986
  function t(r, n) {
938
987
  var i = e.call(this) || this;
@@ -949,17 +998,17 @@ var Zr = Nt(function(e) {
949
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
950
999
  }, t.prototype._subscribe = function(r) {
951
1000
  var n, i;
952
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
953
1002
  }, t;
954
- }($t), Rt = {
1003
+ }(Gt), Ft = {
955
1004
  now: function() {
956
- return (Rt.delegate || Date).now();
1005
+ return (Ft.delegate || Date).now();
957
1006
  },
958
1007
  delegate: void 0
959
- }, qr = function(e) {
1008
+ }, Kr = function(e) {
960
1009
  L(t, e);
961
1010
  function t(r, n, i) {
962
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
963
1012
  var o = e.call(this) || this;
964
1013
  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;
965
1014
  }
@@ -979,15 +1028,15 @@ var Zr = Nt(function(e) {
979
1028
  u && o.splice(0, u + 1);
980
1029
  }
981
1030
  }, t;
982
- }($t);
983
- const ct = [], ft = {}, Qr = (e, t = 0) => {
984
- if (ct.indexOf(e) == -1) {
985
- const r = new qr(t);
986
- ft[e] = r, ct.push(e);
1031
+ }(Gt);
1032
+ const mt = [], dt = {}, en = (e, t = 0) => {
1033
+ if (mt.indexOf(e) == -1) {
1034
+ const r = new Kr(t);
1035
+ dt[e] = r, mt.push(e);
987
1036
  }
988
- return ft[e];
1037
+ return dt[e];
989
1038
  }, k = [];
990
- function Jr(e, t) {
1039
+ function tn(e, t) {
991
1040
  return {
992
1041
  subscribe: _e(e, t).subscribe
993
1042
  };
@@ -996,7 +1045,7 @@ function _e(e, t = B) {
996
1045
  let r;
997
1046
  const n = /* @__PURE__ */ new Set();
998
1047
  function i(a) {
999
- if (Pt(e, a) && (e = a, r)) {
1048
+ if (Nt(e, a) && (e = a, r)) {
1000
1049
  const h = !k.length;
1001
1050
  for (const u of n)
1002
1051
  u[1](), k.push(u, e);
@@ -1023,7 +1072,7 @@ function Y(e, t, r) {
1023
1072
  if (!i.every(Boolean))
1024
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1025
1074
  const o = t.length < 2;
1026
- return Jr(r, (s, a) => {
1075
+ return tn(r, (s, a) => {
1027
1076
  let h = !1;
1028
1077
  const u = [];
1029
1078
  let l = 0, c = B;
@@ -1032,9 +1081,9 @@ function Y(e, t, r) {
1032
1081
  return;
1033
1082
  c();
1034
1083
  const v = t(n ? u[0] : u, s, a);
1035
- o ? s(v) : c = qe(v) ? v : B;
1084
+ o ? s(v) : c = Qe(v) ? v : B;
1036
1085
  }, p = i.map(
1037
- (v, m) => Ot(
1086
+ (v, m) => Lt(
1038
1087
  v,
1039
1088
  (T) => {
1040
1089
  u[m] = T, l &= ~(1 << m), h && f();
@@ -1049,70 +1098,70 @@ function Y(e, t, r) {
1049
1098
  };
1050
1099
  });
1051
1100
  }
1052
- function Yr(e) {
1101
+ function rn(e) {
1053
1102
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1054
1103
  }
1055
- var Kr = function(t) {
1056
- return en(t) && !tn(t);
1104
+ var nn = function(t) {
1105
+ return on(t) && !sn(t);
1057
1106
  };
1058
- function en(e) {
1107
+ function on(e) {
1059
1108
  return !!e && typeof e == "object";
1060
1109
  }
1061
- function tn(e) {
1110
+ function sn(e) {
1062
1111
  var t = Object.prototype.toString.call(e);
1063
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1112
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1064
1113
  }
1065
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1066
- function on(e) {
1067
- return e.$$typeof === nn;
1114
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1115
+ function hn(e) {
1116
+ return e.$$typeof === un;
1068
1117
  }
1069
- function sn(e) {
1118
+ function ln(e) {
1070
1119
  return Array.isArray(e) ? [] : {};
1071
1120
  }
1072
1121
  function oe(e, t) {
1073
- return t.clone !== !1 && t.isMergeableObject(e) ? z(sn(e), e, t) : e;
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1074
1123
  }
1075
- function an(e, t, r) {
1124
+ function cn(e, t, r) {
1076
1125
  return e.concat(t).map(function(n) {
1077
1126
  return oe(n, r);
1078
1127
  });
1079
1128
  }
1080
- function un(e, t) {
1129
+ function fn(e, t) {
1081
1130
  if (!t.customMerge)
1082
1131
  return z;
1083
1132
  var r = t.customMerge(e);
1084
1133
  return typeof r == "function" ? r : z;
1085
1134
  }
1086
- function hn(e) {
1135
+ function pn(e) {
1087
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1088
1137
  return Object.propertyIsEnumerable.call(e, t);
1089
1138
  }) : [];
1090
1139
  }
1091
- function pt(e) {
1092
- return Object.keys(e).concat(hn(e));
1140
+ function bt(e) {
1141
+ return Object.keys(e).concat(pn(e));
1093
1142
  }
1094
- function Ut(e, t) {
1143
+ function jt(e, t) {
1095
1144
  try {
1096
1145
  return t in e;
1097
1146
  } catch (r) {
1098
1147
  return !1;
1099
1148
  }
1100
1149
  }
1101
- function ln(e, t) {
1102
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function mn(e, t) {
1151
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
1152
  }
1104
- function cn(e, t, r) {
1153
+ function dn(e, t, r) {
1105
1154
  var n = {};
1106
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1155
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1107
1156
  n[i] = oe(e[i], r);
1108
- }), pt(t).forEach(function(i) {
1109
- ln(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1157
+ }), bt(t).forEach(function(i) {
1158
+ mn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1110
1159
  }), n;
1111
1160
  }
1112
1161
  function z(e, t, r) {
1113
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = oe;
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = oe;
1114
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1115
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : oe(t, r);
1164
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : oe(t, r);
1116
1165
  }
1117
1166
  z.all = function(t, r) {
1118
1167
  if (!Array.isArray(t))
@@ -1121,56 +1170,58 @@ z.all = function(t, r) {
1121
1170
  return z(n, i, r);
1122
1171
  }, {});
1123
1172
  };
1124
- var fn = z, pn = fn;
1125
- const mn = /* @__PURE__ */ Yr(pn);
1126
- function Be(e, t) {
1127
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : yn;
1173
+ var bn = z, yn = bn;
1174
+ const gn = /* @__PURE__ */ rn(yn);
1175
+ function Ae(e, t) {
1176
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : _n;
1128
1177
  return i(e, {
1129
1178
  cache: r,
1130
1179
  serializer: n
1131
1180
  });
1132
1181
  }
1133
- function dn(e) {
1182
+ function vn(e) {
1134
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1135
1184
  }
1136
- function bn(e, t, r, n) {
1137
- var i = dn(n) ? n : r(n), o = t.get(i);
1185
+ function kt(e, t, r, n) {
1186
+ var i = vn(n) ? n : r(n), o = t.get(i);
1138
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1139
1188
  }
1140
- function Dt(e, t, r) {
1189
+ function Vt(e, t, r) {
1141
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1142
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1143
1192
  }
1144
- function Gt(e, t, r, n, i) {
1193
+ function Ye(e, t, r, n, i) {
1145
1194
  return r.bind(t, e, n, i);
1146
1195
  }
1147
- function yn(e, t) {
1148
- var r = e.length === 1 ? bn : Dt;
1149
- return Gt(e, this, r, t.cache.create(), t.serializer);
1196
+ function _n(e, t) {
1197
+ var r = e.length === 1 ? kt : Vt;
1198
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1199
+ }
1200
+ function En(e, t) {
1201
+ return Ye(e, this, Vt, t.cache.create(), t.serializer);
1150
1202
  }
1151
- function gn(e, t) {
1152
- return Gt(e, this, Dt, t.cache.create(), t.serializer);
1203
+ function xn(e, t) {
1204
+ return Ye(e, this, kt, t.cache.create(), t.serializer);
1153
1205
  }
1154
- var vn = function() {
1206
+ var Tn = function() {
1155
1207
  return JSON.stringify(arguments);
1156
- }, _n = (
1157
- /** @class */
1158
- function() {
1159
- function e() {
1160
- this.cache = /* @__PURE__ */ Object.create(null);
1161
- }
1162
- return e.prototype.get = function(t) {
1163
- return this.cache[t];
1164
- }, e.prototype.set = function(t, r) {
1165
- this.cache[t] = r;
1166
- }, e;
1167
- }()
1168
- ), En = {
1208
+ };
1209
+ function Ke() {
1210
+ this.cache = /* @__PURE__ */ Object.create(null);
1211
+ }
1212
+ Ke.prototype.get = function(e) {
1213
+ return this.cache[e];
1214
+ };
1215
+ Ke.prototype.set = function(e, t) {
1216
+ this.cache[e] = t;
1217
+ };
1218
+ var Hn = {
1169
1219
  create: function() {
1170
- return new _n();
1220
+ return new Ke();
1171
1221
  }
1172
- }, Ae = {
1173
- variadic: gn
1222
+ }, Pe = {
1223
+ variadic: En,
1224
+ monadic: xn
1174
1225
  }, d;
1175
1226
  (function(e) {
1176
1227
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1183,43 +1234,43 @@ var Z;
1183
1234
  (function(e) {
1184
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1185
1236
  })(Z || (Z = {}));
1186
- function mt(e) {
1237
+ function yt(e) {
1187
1238
  return e.type === _.literal;
1188
1239
  }
1189
- function xn(e) {
1240
+ function Sn(e) {
1190
1241
  return e.type === _.argument;
1191
1242
  }
1192
- function Ft(e) {
1243
+ function Xt(e) {
1193
1244
  return e.type === _.number;
1194
1245
  }
1195
- function jt(e) {
1246
+ function Wt(e) {
1196
1247
  return e.type === _.date;
1197
1248
  }
1198
- function kt(e) {
1249
+ function zt(e) {
1199
1250
  return e.type === _.time;
1200
1251
  }
1201
- function Vt(e) {
1252
+ function Zt(e) {
1202
1253
  return e.type === _.select;
1203
1254
  }
1204
- function Xt(e) {
1255
+ function qt(e) {
1205
1256
  return e.type === _.plural;
1206
1257
  }
1207
- function Tn(e) {
1258
+ function wn(e) {
1208
1259
  return e.type === _.pound;
1209
1260
  }
1210
- function Wt(e) {
1261
+ function Qt(e) {
1211
1262
  return e.type === _.tag;
1212
1263
  }
1213
- function zt(e) {
1264
+ function Jt(e) {
1214
1265
  return !!(e && typeof e == "object" && e.type === Z.number);
1215
1266
  }
1216
- function Fe(e) {
1267
+ function je(e) {
1217
1268
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1218
1269
  }
1219
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1220
- function Sn(e) {
1270
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1271
+ function An(e) {
1221
1272
  var t = {};
1222
- return e.replace(Hn, function(r) {
1273
+ return e.replace(Bn, function(r) {
1223
1274
  var n = r.length;
1224
1275
  switch (r[0]) {
1225
1276
  case "G":
@@ -1308,11 +1359,11 @@ function Sn(e) {
1308
1359
  return "";
1309
1360
  }), t;
1310
1361
  }
1311
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1312
- function Bn(e) {
1362
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function On(e) {
1313
1364
  if (e.length === 0)
1314
1365
  throw new Error("Number skeleton cannot be empty");
1315
- for (var t = e.split(wn).filter(function(f) {
1366
+ for (var t = e.split(Pn).filter(function(f) {
1316
1367
  return f.length > 0;
1317
1368
  }), r = [], n = 0, i = t; n < i.length; n++) {
1318
1369
  var o = i[n], s = o.split("/");
@@ -1327,17 +1378,17 @@ function Bn(e) {
1327
1378
  }
1328
1379
  return r;
1329
1380
  }
1330
- function An(e) {
1381
+ function In(e) {
1331
1382
  return e.replace(/^(.*?)-/, "");
1332
1383
  }
1333
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1334
- function bt(e) {
1384
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1385
+ function vt(e) {
1335
1386
  var t = {};
1336
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1387
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1337
1388
  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)), "";
1338
1389
  }), t;
1339
1390
  }
1340
- function Jt(e) {
1391
+ function tr(e) {
1341
1392
  switch (e) {
1342
1393
  case "sign-auto":
1343
1394
  return {
@@ -1377,7 +1428,7 @@ function Jt(e) {
1377
1428
  };
1378
1429
  }
1379
1430
  }
1380
- function On(e) {
1431
+ function Ln(e) {
1381
1432
  var t;
1382
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1383
1434
  notation: "engineering"
@@ -1385,17 +1436,17 @@ function On(e) {
1385
1436
  notation: "scientific"
1386
1437
  }, e = e.slice(1)), t) {
1387
1438
  var r = e.slice(0, 2);
1388
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1389
1440
  throw new Error("Malformed concise eng/scientific notation");
1390
1441
  t.minimumIntegerDigits = e.length;
1391
1442
  }
1392
1443
  return t;
1393
1444
  }
1394
- function yt(e) {
1395
- var t = {}, r = Jt(e);
1445
+ function _t(e) {
1446
+ var t = {}, r = tr(e);
1396
1447
  return r || t;
1397
1448
  }
1398
- function In(e) {
1449
+ function Cn(e) {
1399
1450
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1400
1451
  var i = n[r];
1401
1452
  switch (i.stem) {
@@ -1419,7 +1470,7 @@ function In(e) {
1419
1470
  continue;
1420
1471
  case "measure-unit":
1421
1472
  case "unit":
1422
- t.style = "unit", t.unit = An(i.options[0]);
1473
+ t.style = "unit", t.unit = In(i.options[0]);
1423
1474
  continue;
1424
1475
  case "compact-short":
1425
1476
  case "K":
@@ -1431,12 +1482,12 @@ function In(e) {
1431
1482
  continue;
1432
1483
  case "scientific":
1433
1484
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1434
- return y(y({}, h), yt(u));
1485
+ return y(y({}, h), _t(u));
1435
1486
  }, {}));
1436
1487
  continue;
1437
1488
  case "engineering":
1438
1489
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1439
- return y(y({}, h), yt(u));
1490
+ return y(y({}, h), _t(u));
1440
1491
  }, {}));
1441
1492
  continue;
1442
1493
  case "notation-simple":
@@ -1481,7 +1532,7 @@ function In(e) {
1481
1532
  case "integer-width":
1482
1533
  if (i.options.length > 1)
1483
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1484
- i.options[0].replace(Pn, function(h, u, l, c, f, p) {
1535
+ i.options[0].replace(Nn, function(h, u, l, c, f, p) {
1485
1536
  if (u)
1486
1537
  t.minimumIntegerDigits = l.length;
1487
1538
  else {
@@ -1494,27 +1545,27 @@ function In(e) {
1494
1545
  });
1495
1546
  continue;
1496
1547
  }
1497
- if (Qt.test(i.stem)) {
1548
+ if (er.test(i.stem)) {
1498
1549
  t.minimumIntegerDigits = i.stem.length;
1499
1550
  continue;
1500
1551
  }
1501
- if (dt.test(i.stem)) {
1552
+ if (gt.test(i.stem)) {
1502
1553
  if (i.options.length > 1)
1503
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1504
- i.stem.replace(dt, function(h, u, l, c, f, p) {
1555
+ i.stem.replace(gt, function(h, u, l, c, f, p) {
1505
1556
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1506
1557
  });
1507
1558
  var o = i.options[0];
1508
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), bt(o)));
1559
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), vt(o)));
1509
1560
  continue;
1510
1561
  }
1511
- if (qt.test(i.stem)) {
1512
- t = y(y({}, t), bt(i.stem));
1562
+ if (Kt.test(i.stem)) {
1563
+ t = y(y({}, t), vt(i.stem));
1513
1564
  continue;
1514
1565
  }
1515
- var s = Jt(i.stem);
1566
+ var s = tr(i.stem);
1516
1567
  s && (t = y(y({}, t), s));
1517
- var a = On(i.stem);
1568
+ var a = Ln(i.stem);
1518
1569
  a && (t = y(y({}, t), a));
1519
1570
  }
1520
1571
  return t;
@@ -2934,22 +2985,23 @@ var fe = {
2934
2985
  "h"
2935
2986
  ]
2936
2987
  };
2937
- function Nn(e, t) {
2988
+ function Mn(e, t) {
2938
2989
  for (var r = "", n = 0; n < e.length; n++) {
2939
2990
  var i = e.charAt(n);
2940
2991
  if (i === "j") {
2941
2992
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2942
2993
  o++, n++;
2943
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ln(t);
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
2944
2995
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2945
2996
  r += h;
2946
2997
  for (; s-- > 0; )
2947
2998
  r = u + r;
2948
- } else i === "J" ? r += "H" : r += i;
2999
+ } else
3000
+ i === "J" ? r += "H" : r += i;
2949
3001
  }
2950
3002
  return r;
2951
3003
  }
2952
- function Ln(e) {
3004
+ function $n(e) {
2953
3005
  var t = e.hourCycle;
2954
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2955
3007
  e.hourCycles && // @ts-ignore
@@ -2971,20 +3023,20 @@ function Ln(e) {
2971
3023
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2972
3024
  return i[0];
2973
3025
  }
2974
- var Pe, Cn = new RegExp("^".concat(Zt.source, "*")), Mn = new RegExp("".concat(Zt.source, "*$"));
3026
+ var Oe, Rn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
2975
3027
  function b(e, t) {
2976
3028
  return { start: e, end: t };
2977
3029
  }
2978
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3030
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
2979
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2980
- }, je = !0;
3032
+ }, ke = !0;
2981
3033
  try {
2982
- var Vn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2983
- je = ((Pe = Vn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3034
+ var zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
+ ke = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2984
3036
  } catch (e) {
2985
- je = !1;
3037
+ ke = !1;
2986
3038
  }
2987
- var gt = $n ? (
3039
+ var Et = Dn ? (
2988
3040
  // Native
2989
3041
  function(t, r, n) {
2990
3042
  return t.startsWith(r, n);
@@ -2994,7 +3046,7 @@ var gt = $n ? (
2994
3046
  function(t, r, n) {
2995
3047
  return t.slice(n, n + r.length) === r;
2996
3048
  }
2997
- ), ke = Rn ? String.fromCodePoint : (
3049
+ ), Ve = Gn ? String.fromCodePoint : (
2998
3050
  // IE11
2999
3051
  function() {
3000
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3006,9 +3058,9 @@ var gt = $n ? (
3006
3058
  }
3007
3059
  return n;
3008
3060
  }
3009
- ), vt = (
3061
+ ), xt = (
3010
3062
  // native
3011
- Un ? Object.fromEntries : (
3063
+ Fn ? Object.fromEntries : (
3012
3064
  // Ponyfill
3013
3065
  function(t) {
3014
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3018,7 +3070,7 @@ var gt = $n ? (
3018
3070
  return r;
3019
3071
  }
3020
3072
  )
3021
- ), Yt = Dn ? (
3073
+ ), rr = jn ? (
3022
3074
  // Native
3023
3075
  function(t, r) {
3024
3076
  return t.codePointAt(r);
@@ -3032,7 +3084,7 @@ var gt = $n ? (
3032
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3033
3085
  }
3034
3086
  }
3035
- ), Xn = Gn ? (
3087
+ ), Zn = kn ? (
3036
3088
  // Native
3037
3089
  function(t) {
3038
3090
  return t.trimStart();
@@ -3040,9 +3092,9 @@ var gt = $n ? (
3040
3092
  ) : (
3041
3093
  // Ponyfill
3042
3094
  function(t) {
3043
- return t.replace(Cn, "");
3095
+ return t.replace(Rn, "");
3044
3096
  }
3045
- ), Wn = Fn ? (
3097
+ ), qn = Vn ? (
3046
3098
  // Native
3047
3099
  function(t) {
3048
3100
  return t.trimEnd();
@@ -3050,32 +3102,32 @@ var gt = $n ? (
3050
3102
  ) : (
3051
3103
  // Ponyfill
3052
3104
  function(t) {
3053
- return t.replace(Mn, "");
3105
+ return t.replace(Un, "");
3054
3106
  }
3055
3107
  );
3056
- function Kt(e, t) {
3108
+ function nr(e, t) {
3057
3109
  return new RegExp(e, t);
3058
3110
  }
3059
- var Ve;
3060
- if (je) {
3061
- var _t = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3062
- Ve = function(t, r) {
3111
+ var Xe;
3112
+ if (ke) {
3113
+ var Tt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ Xe = function(t, r) {
3063
3115
  var n;
3064
- _t.lastIndex = r;
3065
- var i = _t.exec(t);
3116
+ Tt.lastIndex = r;
3117
+ var i = Tt.exec(t);
3066
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3067
3119
  };
3068
3120
  } else
3069
- Ve = function(t, r) {
3121
+ Xe = function(t, r) {
3070
3122
  for (var n = []; ; ) {
3071
- var i = Yt(t, r);
3072
- if (i === void 0 || er(i) || Qn(i))
3123
+ var i = rr(t, r);
3124
+ if (i === void 0 || ir(i) || Kn(i))
3073
3125
  break;
3074
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3075
3127
  }
3076
- return ke.apply(void 0, n);
3128
+ return Ve.apply(void 0, n);
3077
3129
  };
3078
- var zn = (
3130
+ var Qn = (
3079
3131
  /** @class */
3080
3132
  function() {
3081
3133
  function e(t, r) {
@@ -3106,7 +3158,7 @@ var zn = (
3106
3158
  if (n)
3107
3159
  break;
3108
3160
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3109
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3161
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3110
3162
  var s = this.parseTag(t, r);
3111
3163
  if (s.err)
3112
3164
  return s;
@@ -3139,7 +3191,7 @@ var zn = (
3139
3191
  return o;
3140
3192
  var s = o.val, a = this.clonePosition();
3141
3193
  if (this.bumpIf("</")) {
3142
- if (this.isEOF() || !Xe(this.char()))
3194
+ if (this.isEOF() || !We(this.char()))
3143
3195
  return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3144
3196
  var h = this.clonePosition(), u = this.parseTagName();
3145
3197
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3157,7 +3209,7 @@ var zn = (
3157
3209
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3158
3210
  }, e.prototype.parseTagName = function() {
3159
3211
  var t = this.offset();
3160
- for (this.bump(); !this.isEOF() && qn(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3161
3213
  this.bump();
3162
3214
  return this.message.slice(t, this.offset());
3163
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3186,7 +3238,7 @@ var zn = (
3186
3238
  };
3187
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3188
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3189
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3190
3242
  }, e.prototype.tryParseQuote = function(t) {
3191
3243
  if (this.isEOF() || this.char() !== 39)
3192
3244
  return null;
@@ -3220,12 +3272,12 @@ var zn = (
3220
3272
  r.push(n);
3221
3273
  this.bump();
3222
3274
  }
3223
- return ke.apply(void 0, r);
3275
+ return Ve.apply(void 0, r);
3224
3276
  }, e.prototype.tryParseUnquoted = function(t, r) {
3225
3277
  if (this.isEOF())
3226
3278
  return null;
3227
3279
  var n = this.char();
3228
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3280
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3229
3281
  }, e.prototype.parseArgument = function(t, r) {
3230
3282
  var n = this.clonePosition();
3231
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3254,7 +3306,7 @@ var zn = (
3254
3306
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3255
3307
  }
3256
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3257
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3309
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3258
3310
  this.bumpTo(i);
3259
3311
  var o = this.clonePosition(), s = b(t, o);
3260
3312
  return { value: n, location: s };
@@ -3273,7 +3325,7 @@ var zn = (
3273
3325
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3274
3326
  if (c.err)
3275
3327
  return c;
3276
- var f = Wn(c.val);
3328
+ var f = qn(c.val);
3277
3329
  if (f.length === 0)
3278
3330
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3279
3331
  var p = b(l, this.clonePosition());
@@ -3283,8 +3335,8 @@ var zn = (
3283
3335
  if (v.err)
3284
3336
  return v;
3285
3337
  var m = b(i, this.clonePosition());
3286
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3287
- var T = Xn(u.style.slice(2));
3338
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3339
+ var T = Zn(u.style.slice(2));
3288
3340
  if (a === "number") {
3289
3341
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3290
3342
  return c.err ? c : {
@@ -3295,12 +3347,12 @@ var zn = (
3295
3347
  if (T.length === 0)
3296
3348
  return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3297
3349
  var R = T;
3298
- this.locale && (R = Nn(T, this.locale));
3350
+ this.locale && (R = Mn(T, this.locale));
3299
3351
  var f = {
3300
3352
  type: Z.dateTime,
3301
3353
  pattern: R,
3302
3354
  location: u.styleLocation,
3303
- parsedOptions: this.shouldParseSkeletons ? Sn(R) : {}
3355
+ parsedOptions: this.shouldParseSkeletons ? An(R) : {}
3304
3356
  }, P = a === "date" ? _.date : _.time;
3305
3357
  return {
3306
3358
  val: { type: P, value: n, location: m, style: f },
@@ -3346,7 +3398,7 @@ var zn = (
3346
3398
  val: {
3347
3399
  type: _.select,
3348
3400
  value: n,
3349
- options: vt(G.val),
3401
+ options: xt(G.val),
3350
3402
  location: g
3351
3403
  },
3352
3404
  err: null
@@ -3354,7 +3406,7 @@ var zn = (
3354
3406
  val: {
3355
3407
  type: _.plural,
3356
3408
  value: n,
3357
- options: vt(G.val),
3409
+ options: xt(G.val),
3358
3410
  offset: O,
3359
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3360
3412
  location: g
@@ -3405,7 +3457,7 @@ var zn = (
3405
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3406
3458
  var n = [];
3407
3459
  try {
3408
- n = Bn(t);
3460
+ n = On(t);
3409
3461
  } catch (i) {
3410
3462
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3411
3463
  }
@@ -3414,7 +3466,7 @@ var zn = (
3414
3466
  type: Z.number,
3415
3467
  tokens: n,
3416
3468
  location: r,
3417
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3418
3470
  },
3419
3471
  err: null
3420
3472
  };
@@ -3462,7 +3514,7 @@ var zn = (
3462
3514
  break;
3463
3515
  }
3464
3516
  var h = b(i, this.clonePosition());
3465
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3517
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3466
3518
  }, e.prototype.offset = function() {
3467
3519
  return this.position.offset;
3468
3520
  }, e.prototype.isEOF = function() {
@@ -3477,7 +3529,7 @@ var zn = (
3477
3529
  var t = this.position.offset;
3478
3530
  if (t >= this.message.length)
3479
3531
  throw Error("out of bound");
3480
- var r = Yt(this.message, t);
3532
+ var r = rr(this.message, t);
3481
3533
  if (r === void 0)
3482
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3483
3535
  return r;
@@ -3496,7 +3548,7 @@ var zn = (
3496
3548
  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);
3497
3549
  }
3498
3550
  }, e.prototype.bumpIf = function(t) {
3499
- if (gt(this.message, t, this.offset())) {
3551
+ if (Et(this.message, t, this.offset())) {
3500
3552
  for (var r = 0; r < t.length; r++)
3501
3553
  this.bump();
3502
3554
  return !0;
@@ -3518,7 +3570,7 @@ var zn = (
3518
3570
  break;
3519
3571
  }
3520
3572
  }, e.prototype.bumpSpace = function() {
3521
- for (; !this.isEOF() && er(this.char()); )
3573
+ for (; !this.isEOF() && ir(this.char()); )
3522
3574
  this.bump();
3523
3575
  }, e.prototype.peek = function() {
3524
3576
  if (this.isEOF())
@@ -3528,37 +3580,38 @@ var zn = (
3528
3580
  }, e;
3529
3581
  }()
3530
3582
  );
3531
- function Xe(e) {
3583
+ function We(e) {
3532
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3533
3585
  }
3534
- function Zn(e) {
3535
- return Xe(e) || e === 47;
3586
+ function Jn(e) {
3587
+ return We(e) || e === 47;
3536
3588
  }
3537
- function qn(e) {
3589
+ function Yn(e) {
3538
3590
  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;
3539
3591
  }
3540
- function er(e) {
3592
+ function ir(e) {
3541
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3542
3594
  }
3543
- function Qn(e) {
3595
+ function Kn(e) {
3544
3596
  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;
3545
3597
  }
3546
- function We(e) {
3598
+ function ze(e) {
3547
3599
  e.forEach(function(t) {
3548
- if (delete t.location, Vt(t) || Xt(t))
3600
+ if (delete t.location, Zt(t) || qt(t))
3549
3601
  for (var r in t.options)
3550
- delete t.options[r].location, We(t.options[r].value);
3551
- else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Fe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
3602
+ delete t.options[r].location, ze(t.options[r].value);
3603
+ else
3604
+ Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && je(t.style) ? delete t.style.location : Qt(t) && ze(t.children);
3552
3605
  });
3553
3606
  }
3554
- function Jn(e, t) {
3607
+ function ei(e, t) {
3555
3608
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3556
- var r = new zn(e, t).parse();
3609
+ var r = new Qn(e, t).parse();
3557
3610
  if (r.err) {
3558
3611
  var n = SyntaxError(d[r.err.kind]);
3559
3612
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3560
3613
  }
3561
- return t != null && t.captureLocation || We(r.val), r.val;
3614
+ return t != null && t.captureLocation || ze(r.val), r.val;
3562
3615
  }
3563
3616
  var q;
3564
3617
  (function(e) {
@@ -3576,7 +3629,7 @@ var Ee = (
3576
3629
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3577
3630
  }, t;
3578
3631
  }(Error)
3579
- ), Et = (
3632
+ ), Ht = (
3580
3633
  /** @class */
3581
3634
  function(e) {
3582
3635
  L(t, e);
@@ -3585,7 +3638,7 @@ var Ee = (
3585
3638
  }
3586
3639
  return t;
3587
3640
  }(Ee)
3588
- ), Yn = (
3641
+ ), ti = (
3589
3642
  /** @class */
3590
3643
  function(e) {
3591
3644
  L(t, e);
@@ -3594,7 +3647,7 @@ var Ee = (
3594
3647
  }
3595
3648
  return t;
3596
3649
  }(Ee)
3597
- ), Kn = (
3650
+ ), ri = (
3598
3651
  /** @class */
3599
3652
  function(e) {
3600
3653
  L(t, e);
@@ -3607,17 +3660,17 @@ var Ee = (
3607
3660
  (function(e) {
3608
3661
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3609
3662
  })(H || (H = {}));
3610
- function ei(e) {
3663
+ function ni(e) {
3611
3664
  return e.length < 2 ? e : e.reduce(function(t, r) {
3612
3665
  var n = t[t.length - 1];
3613
3666
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3614
3667
  }, []);
3615
3668
  }
3616
- function ti(e) {
3669
+ function ii(e) {
3617
3670
  return typeof e == "function";
3618
3671
  }
3619
3672
  function de(e, t, r, n, i, o, s) {
3620
- if (e.length === 1 && mt(e[0]))
3673
+ if (e.length === 1 && yt(e[0]))
3621
3674
  return [
3622
3675
  {
3623
3676
  type: H.literal,
@@ -3626,14 +3679,14 @@ function de(e, t, r, n, i, o, s) {
3626
3679
  ];
3627
3680
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3628
3681
  var l = u[h];
3629
- if (mt(l)) {
3682
+ if (yt(l)) {
3630
3683
  a.push({
3631
3684
  type: H.literal,
3632
3685
  value: l.value
3633
3686
  });
3634
3687
  continue;
3635
3688
  }
3636
- if (Tn(l)) {
3689
+ if (wn(l)) {
3637
3690
  typeof o == "number" && a.push({
3638
3691
  type: H.literal,
3639
3692
  value: r.getNumberFormat(t).format(o)
@@ -3642,43 +3695,43 @@ function de(e, t, r, n, i, o, s) {
3642
3695
  }
3643
3696
  var c = l.value;
3644
3697
  if (!(i && c in i))
3645
- throw new Kn(c, s);
3698
+ throw new ri(c, s);
3646
3699
  var f = i[c];
3647
- if (xn(l)) {
3700
+ if (Sn(l)) {
3648
3701
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3649
3702
  type: typeof f == "string" ? H.literal : H.object,
3650
3703
  value: f
3651
3704
  });
3652
3705
  continue;
3653
3706
  }
3654
- if (jt(l)) {
3655
- var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3707
+ if (Wt(l)) {
3708
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3656
3709
  a.push({
3657
3710
  type: H.literal,
3658
3711
  value: r.getDateTimeFormat(t, p).format(f)
3659
3712
  });
3660
3713
  continue;
3661
3714
  }
3662
- if (kt(l)) {
3663
- var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3715
+ if (zt(l)) {
3716
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3664
3717
  a.push({
3665
3718
  type: H.literal,
3666
3719
  value: r.getDateTimeFormat(t, p).format(f)
3667
3720
  });
3668
3721
  continue;
3669
3722
  }
3670
- if (Ft(l)) {
3671
- var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3723
+ if (Xt(l)) {
3724
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3672
3725
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3673
3726
  type: H.literal,
3674
3727
  value: r.getNumberFormat(t, p).format(f)
3675
3728
  });
3676
3729
  continue;
3677
3730
  }
3678
- if (Wt(l)) {
3731
+ if (Qt(l)) {
3679
3732
  var v = l.children, m = l.value, T = i[m];
3680
- if (!ti(T))
3681
- throw new Yn(m, "function", s);
3733
+ if (!ii(T))
3734
+ throw new ti(m, "function", s);
3682
3735
  var R = de(v, t, r, n, i, o), P = T(R.map(function(O) {
3683
3736
  return O.value;
3684
3737
  }));
@@ -3689,14 +3742,14 @@ function de(e, t, r, n, i, o, s) {
3689
3742
  };
3690
3743
  }));
3691
3744
  }
3692
- if (Vt(l)) {
3745
+ if (Zt(l)) {
3693
3746
  var S = l.options[f] || l.options.other;
3694
3747
  if (!S)
3695
- throw new Et(l.value, f, Object.keys(l.options), s);
3748
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3696
3749
  a.push.apply(a, de(S.value, t, r, n, i));
3697
3750
  continue;
3698
3751
  }
3699
- if (Xt(l)) {
3752
+ if (qt(l)) {
3700
3753
  var S = l.options["=".concat(f)];
3701
3754
  if (!S) {
3702
3755
  if (!Intl.PluralRules)
@@ -3707,24 +3760,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3707
3760
  S = l.options[U] || l.options.other;
3708
3761
  }
3709
3762
  if (!S)
3710
- throw new Et(l.value, f, Object.keys(l.options), s);
3763
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3711
3764
  a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
3712
3765
  continue;
3713
3766
  }
3714
3767
  }
3715
- return ei(a);
3768
+ return ni(a);
3716
3769
  }
3717
- function ri(e, t) {
3770
+ function oi(e, t) {
3718
3771
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3719
3772
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3720
3773
  }, {})) : e;
3721
3774
  }
3722
- function ni(e, t) {
3775
+ function si(e, t) {
3723
3776
  return t ? Object.keys(e).reduce(function(r, n) {
3724
- return r[n] = ri(e[n], t[n]), r;
3777
+ return r[n] = oi(e[n], t[n]), r;
3725
3778
  }, y({}, e)) : e;
3726
3779
  }
3727
- function Oe(e) {
3780
+ function Ie(e) {
3728
3781
  return {
3729
3782
  create: function() {
3730
3783
  return {
@@ -3738,39 +3791,39 @@ function Oe(e) {
3738
3791
  }
3739
3792
  };
3740
3793
  }
3741
- function ii(e) {
3794
+ function ai(e) {
3742
3795
  return e === void 0 && (e = {
3743
3796
  number: {},
3744
3797
  dateTime: {},
3745
3798
  pluralRules: {}
3746
3799
  }), {
3747
- getNumberFormat: Be(function() {
3800
+ getNumberFormat: Ae(function() {
3748
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3749
3802
  r[n] = arguments[n];
3750
3803
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3751
3804
  }, {
3752
- cache: Oe(e.number),
3753
- strategy: Ae.variadic
3805
+ cache: Ie(e.number),
3806
+ strategy: Pe.variadic
3754
3807
  }),
3755
- getDateTimeFormat: Be(function() {
3808
+ getDateTimeFormat: Ae(function() {
3756
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3810
  r[n] = arguments[n];
3758
3811
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3759
3812
  }, {
3760
- cache: Oe(e.dateTime),
3761
- strategy: Ae.variadic
3813
+ cache: Ie(e.dateTime),
3814
+ strategy: Pe.variadic
3762
3815
  }),
3763
- getPluralRules: Be(function() {
3816
+ getPluralRules: Ae(function() {
3764
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3818
  r[n] = arguments[n];
3766
3819
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3767
3820
  }, {
3768
- cache: Oe(e.pluralRules),
3769
- strategy: Ae.variadic
3821
+ cache: Ie(e.pluralRules),
3822
+ strategy: Pe.variadic
3770
3823
  })
3771
3824
  };
3772
3825
  }
3773
- var oi = (
3826
+ var ui = (
3774
3827
  /** @class */
3775
3828
  function() {
3776
3829
  function e(t, r, n, i) {
@@ -3802,13 +3855,13 @@ var oi = (
3802
3855
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3803
3856
  var s = i || {};
3804
3857
  s.formatters;
3805
- var a = $r(s, ["formatters"]);
3858
+ var a = Gr(s, ["formatters"]);
3806
3859
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3807
3860
  } else
3808
3861
  this.ast = t;
3809
3862
  if (!Array.isArray(this.ast))
3810
3863
  throw new TypeError("A message must be provided as a String or AST.");
3811
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3864
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3812
3865
  }
3813
3866
  return Object.defineProperty(e, "defaultLocale", {
3814
3867
  get: function() {
@@ -3821,7 +3874,7 @@ var oi = (
3821
3874
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3822
3875
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3823
3876
  }
3824
- }, e.__parse = Jn, e.formats = {
3877
+ }, e.__parse = ei, e.formats = {
3825
3878
  number: {
3826
3879
  integer: {
3827
3880
  maximumFractionDigits: 0
@@ -3882,7 +3935,7 @@ var oi = (
3882
3935
  }, e;
3883
3936
  }()
3884
3937
  );
3885
- function si(e, t) {
3938
+ function hi(e, t) {
3886
3939
  if (t == null)
3887
3940
  return;
3888
3941
  if (t in e)
@@ -3903,92 +3956,92 @@ function si(e, t) {
3903
3956
  n = void 0;
3904
3957
  return n;
3905
3958
  }
3906
- const $ = {}, ai = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
3959
+ const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3907
3960
  if (t == null)
3908
3961
  return;
3909
3962
  if (t in $ && e in $[t])
3910
3963
  return $[t][e];
3911
3964
  const r = xe(t);
3912
3965
  for (let n = 0; n < r.length; n++) {
3913
- const i = r[n], o = hi(i, e);
3966
+ const i = r[n], o = fi(i, e);
3914
3967
  if (o)
3915
- return ai(e, t, o);
3968
+ return li(e, t, o);
3916
3969
  }
3917
3970
  };
3918
- let Je;
3971
+ let et;
3919
3972
  const he = _e({});
3920
- function ui(e) {
3921
- return Je[e] || null;
3973
+ function ci(e) {
3974
+ return et[e] || null;
3922
3975
  }
3923
- function rr(e) {
3924
- return e in Je;
3976
+ function sr(e) {
3977
+ return e in et;
3925
3978
  }
3926
- function hi(e, t) {
3927
- if (!rr(e))
3979
+ function fi(e, t) {
3980
+ if (!sr(e))
3928
3981
  return null;
3929
- const r = ui(e);
3930
- return si(r, t);
3982
+ const r = ci(e);
3983
+ return hi(r, t);
3931
3984
  }
3932
- function li(e) {
3985
+ function pi(e) {
3933
3986
  if (e == null)
3934
3987
  return;
3935
3988
  const t = xe(e);
3936
3989
  for (let r = 0; r < t.length; r++) {
3937
3990
  const n = t[r];
3938
- if (rr(n))
3991
+ if (sr(n))
3939
3992
  return n;
3940
3993
  }
3941
3994
  }
3942
- function nr(e, ...t) {
3943
- delete $[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3995
+ function ar(e, ...t) {
3996
+ delete $[e], he.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3944
3997
  }
3945
3998
  Y(
3946
3999
  [he],
3947
4000
  ([e]) => Object.keys(e)
3948
4001
  );
3949
- he.subscribe((e) => Je = e);
4002
+ he.subscribe((e) => et = e);
3950
4003
  const be = {};
3951
- function ci(e, t) {
4004
+ function mi(e, t) {
3952
4005
  be[e].delete(t), be[e].size === 0 && delete be[e];
3953
4006
  }
3954
- function ir(e) {
4007
+ function ur(e) {
3955
4008
  return be[e];
3956
4009
  }
3957
- function fi(e) {
4010
+ function di(e) {
3958
4011
  return xe(e).map((t) => {
3959
- const r = ir(t);
4012
+ const r = ur(t);
3960
4013
  return [t, r ? [...r] : []];
3961
4014
  }).filter(([, t]) => t.length > 0);
3962
4015
  }
3963
- function ze(e) {
4016
+ function Ze(e) {
3964
4017
  return e == null ? !1 : xe(e).some(
3965
4018
  (t) => {
3966
4019
  var r;
3967
- return (r = ir(t)) == null ? void 0 : r.size;
4020
+ return (r = ur(t)) == null ? void 0 : r.size;
3968
4021
  }
3969
4022
  );
3970
4023
  }
3971
- function pi(e, t) {
4024
+ function bi(e, t) {
3972
4025
  return Promise.all(
3973
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3974
- ).then((n) => nr(e, ...n));
4026
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4027
+ ).then((n) => ar(e, ...n));
3975
4028
  }
3976
4029
  const te = {};
3977
- function or(e) {
3978
- if (!ze(e))
4030
+ function hr(e) {
4031
+ if (!Ze(e))
3979
4032
  return e in te ? te[e] : Promise.resolve();
3980
- const t = fi(e);
4033
+ const t = di(e);
3981
4034
  return te[e] = Promise.all(
3982
4035
  t.map(
3983
- ([r, n]) => pi(r, n)
4036
+ ([r, n]) => bi(r, n)
3984
4037
  )
3985
4038
  ).then(() => {
3986
- if (ze(e))
3987
- return or(e);
4039
+ if (Ze(e))
4040
+ return hr(e);
3988
4041
  delete te[e];
3989
4042
  }), te[e];
3990
4043
  }
3991
- const mi = {
4044
+ const yi = {
3992
4045
  number: {
3993
4046
  scientific: { notation: "scientific" },
3994
4047
  engineering: { notation: "engineering" },
@@ -4017,57 +4070,57 @@ const mi = {
4017
4070
  timeZoneName: "short"
4018
4071
  }
4019
4072
  }
4020
- }, di = {
4073
+ }, gi = {
4021
4074
  fallbackLocale: null,
4022
4075
  loadingDelay: 200,
4023
- formats: mi,
4076
+ formats: yi,
4024
4077
  warnOnMissingMessages: !0,
4025
4078
  handleMissingMessage: void 0,
4026
4079
  ignoreTag: !0
4027
- }, bi = di;
4080
+ }, vi = gi;
4028
4081
  function Q() {
4029
- return bi;
4082
+ return vi;
4030
4083
  }
4031
- const Ie = _e(!1);
4032
- var yi = Object.defineProperty, gi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4084
+ const Ne = _e(!1);
4085
+ var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4033
4086
  for (var r in t || (t = {}))
4034
- _i.call(t, r) && Tt(e, r, t[r]);
4035
- if (xt)
4036
- for (var r of xt(t))
4037
- Ei.call(t, r) && Tt(e, r, t[r]);
4087
+ Ti.call(t, r) && wt(e, r, t[r]);
4088
+ if (St)
4089
+ for (var r of St(t))
4090
+ Hi.call(t, r) && wt(e, r, t[r]);
4038
4091
  return e;
4039
- }, Ti = (e, t) => gi(e, vi(t));
4040
- let Ze;
4092
+ }, wi = (e, t) => Ei(e, xi(t));
4093
+ let qe;
4041
4094
  const ye = _e(null);
4042
- function Ht(e) {
4095
+ function Bt(e) {
4043
4096
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4044
4097
  }
4045
4098
  function xe(e, t = Q().fallbackLocale) {
4046
- const r = Ht(e);
4047
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4099
+ const r = Bt(e);
4100
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4048
4101
  }
4049
4102
  function D() {
4050
- return Ze != null ? Ze : void 0;
4103
+ return qe != null ? qe : void 0;
4051
4104
  }
4052
4105
  ye.subscribe((e) => {
4053
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4106
+ qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4054
4107
  });
4055
- const Hi = (e) => {
4056
- if (e && li(e) && ze(e)) {
4108
+ const Bi = (e) => {
4109
+ if (e && pi(e) && Ze(e)) {
4057
4110
  const { loadingDelay: t } = Q();
4058
4111
  let r;
4059
4112
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4060
- () => Ie.set(!0),
4113
+ () => Ne.set(!0),
4061
4114
  t
4062
- ) : Ie.set(!0), or(e).then(() => {
4115
+ ) : Ne.set(!0), hr(e).then(() => {
4063
4116
  ye.set(e);
4064
4117
  }).finally(() => {
4065
- clearTimeout(r), Ie.set(!1);
4118
+ clearTimeout(r), Ne.set(!1);
4066
4119
  });
4067
4120
  }
4068
4121
  return ye.set(e);
4069
- }, K = Ti(xi({}, ye), {
4070
- set: Hi
4122
+ }, K = wi(Si({}, ye), {
4123
+ set: Bi
4071
4124
  }), Te = (e) => {
4072
4125
  const t = /* @__PURE__ */ Object.create(null);
4073
4126
  return (n) => {
@@ -4075,20 +4128,20 @@ const Hi = (e) => {
4075
4128
  return i in t ? t[i] : t[i] = e(n);
4076
4129
  };
4077
4130
  };
4078
- var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4131
+ var Ai = Object.defineProperty, ge = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4079
4132
  for (var r in t || (t = {}))
4080
- sr.call(t, r) && St(e, r, t[r]);
4133
+ lr.call(t, r) && At(e, r, t[r]);
4081
4134
  if (ge)
4082
4135
  for (var r of ge(t))
4083
- ar.call(t, r) && St(e, r, t[r]);
4136
+ cr.call(t, r) && At(e, r, t[r]);
4084
4137
  return e;
4085
4138
  }, ee = (e, t) => {
4086
4139
  var r = {};
4087
4140
  for (var n in e)
4088
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4089
4142
  if (e != null && ge)
4090
4143
  for (var n of ge(e))
4091
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4144
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4092
4145
  return r;
4093
4146
  };
4094
4147
  const se = (e, t) => {
@@ -4096,21 +4149,21 @@ const se = (e, t) => {
4096
4149
  if (e in r && t in r[e])
4097
4150
  return r[e][t];
4098
4151
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4099
- }, wi = Te(
4152
+ }, Pi = Te(
4100
4153
  (e) => {
4101
4154
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4102
4155
  if (r == null)
4103
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4104
4157
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4105
4158
  }
4106
- ), Bi = Te(
4159
+ ), Oi = Te(
4107
4160
  (e) => {
4108
4161
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4109
4162
  if (r == null)
4110
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4111
4164
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4112
4165
  }
4113
- ), Ai = Te(
4166
+ ), Ii = Te(
4114
4167
  (e) => {
4115
4168
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4116
4169
  if (r == null)
@@ -4119,33 +4172,33 @@ const se = (e, t) => {
4119
4172
  );
4120
4173
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4121
4174
  }
4122
- ), Pi = (e = {}) => {
4175
+ ), Ni = (e = {}) => {
4123
4176
  var t = e, {
4124
4177
  locale: r = D()
4125
4178
  } = t, n = ee(t, [
4126
4179
  "locale"
4127
4180
  ]);
4128
- return wi(Ye({ locale: r }, n));
4129
- }, Oi = (e = {}) => {
4181
+ return Pi(tt({ locale: r }, n));
4182
+ }, Li = (e = {}) => {
4130
4183
  var t = e, {
4131
4184
  locale: r = D()
4132
4185
  } = t, n = ee(t, [
4133
4186
  "locale"
4134
4187
  ]);
4135
- return Bi(Ye({ locale: r }, n));
4136
- }, Ii = (e = {}) => {
4188
+ return Oi(tt({ locale: r }, n));
4189
+ }, Ci = (e = {}) => {
4137
4190
  var t = e, {
4138
4191
  locale: r = D()
4139
4192
  } = t, n = ee(t, [
4140
4193
  "locale"
4141
4194
  ]);
4142
- return Ai(Ye({ locale: r }, n));
4143
- }, Ni = Te(
4195
+ return Ii(tt({ locale: r }, n));
4196
+ }, Mi = Te(
4144
4197
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4145
- (e, t = D()) => new oi(e, t, Q().formats, {
4198
+ (e, t = D()) => new ui(e, t, Q().formats, {
4146
4199
  ignoreTag: Q().ignoreTag
4147
4200
  })
4148
- ), Li = (e, t = {}) => {
4201
+ ), $i = (e, t = {}) => {
4149
4202
  var r, n, i, o;
4150
4203
  let s = t;
4151
4204
  typeof e == "object" && (s = e, e = s.id);
@@ -4158,7 +4211,7 @@ const se = (e, t) => {
4158
4211
  throw new Error(
4159
4212
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4160
4213
  );
4161
- let l = tr(e, h);
4214
+ let l = or(e, h);
4162
4215
  if (!l)
4163
4216
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4164
4217
  else if (typeof l != "string")
@@ -4169,7 +4222,7 @@ const se = (e, t) => {
4169
4222
  return l;
4170
4223
  let c = l;
4171
4224
  try {
4172
- c = Ni(l, h).format(a);
4225
+ c = Mi(l, h).format(a);
4173
4226
  } catch (f) {
4174
4227
  f instanceof Error && console.warn(
4175
4228
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4177,20 +4230,20 @@ const se = (e, t) => {
4177
4230
  );
4178
4231
  }
4179
4232
  return c;
4180
- }, Ci = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = D()) => tr(e, t), Ui = Y([K, he], () => Li);
4181
- Y([K], () => Ci);
4182
- Y([K], () => Mi);
4183
- Y([K], () => $i);
4184
- Y([K, he], () => Ri);
4185
- window.emWidgets = { topic: Qr };
4186
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4187
- function wt(e, t) {
4188
- nr(e, t);
4189
- }
4190
- function Gi(e) {
4233
+ }, Ri = (e, t) => Ci(t).format(e), Ui = (e, t) => Li(t).format(e), Di = (e, t) => Ni(t).format(e), Gi = (e, t = D()) => or(e, t), Fi = Y([K, he], () => $i);
4234
+ Y([K], () => Ri);
4235
+ Y([K], () => Ui);
4236
+ Y([K], () => Di);
4237
+ Y([K, he], () => Gi);
4238
+ window.emWidgets = { topic: en };
4239
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4240
+ function Pt(e, t) {
4241
+ ar(e, t);
4242
+ }
4243
+ function ki(e) {
4191
4244
  K.set(e);
4192
4245
  }
4193
- const Bt = {
4246
+ const Ot = {
4194
4247
  en: {
4195
4248
  titleTransactionHistory: "Transaction History",
4196
4249
  loading: "Loading, please wait ..."
@@ -4232,13 +4285,13 @@ const Bt = {
4232
4285
  loading: "Loading, please wait ..."
4233
4286
  }
4234
4287
  };
4235
- function Fi(e, t) {
4288
+ function Vi(e, t) {
4236
4289
  if (e) {
4237
4290
  const r = document.createElement("style");
4238
4291
  r.innerHTML = t, e.appendChild(r);
4239
4292
  }
4240
4293
  }
4241
- function ji(e, t) {
4294
+ function Xi(e, t) {
4242
4295
  const r = new URL(t);
4243
4296
  fetch(r.href).then((n) => n.text()).then((n) => {
4244
4297
  const i = document.createElement("style");
@@ -4247,7 +4300,7 @@ function ji(e, t) {
4247
4300
  console.error("There was an error while trying to load client styling from URL", n);
4248
4301
  });
4249
4302
  }
4250
- function ki(e, t, r) {
4303
+ function Wi(e, t, r) {
4251
4304
  if (window.emMessageBus) {
4252
4305
  const n = document.createElement("style");
4253
4306
  window.emMessageBus.subscribe(t, (i) => {
@@ -4255,20 +4308,20 @@ function ki(e, t, r) {
4255
4308
  });
4256
4309
  }
4257
4310
  }
4258
- function Vi(e) {
4259
- dr(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4311
+ function zi(e) {
4312
+ vr(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4260
4313
  }
4261
- function Xi(e) {
4314
+ function Zi(e) {
4262
4315
  let t, r, n, i, o, s, a, h, u, l, c = (
4263
4316
  /*$_*/
4264
4317
  e[3]("titleTransactionHistory") + ""
4265
4318
  ), f, p, v;
4266
4319
  return {
4267
4320
  c() {
4268
- t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Ne(), l = N("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4321
+ t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = N("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4269
4322
  },
4270
4323
  m(m, T) {
4271
- ue(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = gr(
4324
+ ue(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = xr(
4272
4325
  t,
4273
4326
  "click",
4274
4327
  /*click_handler*/
@@ -4278,18 +4331,18 @@ function Xi(e) {
4278
4331
  p(m, T) {
4279
4332
  T & /*$_*/
4280
4333
  8 && c !== (c = /*$_*/
4281
- m[3]("titleTransactionHistory") + "") && Qe(f, c);
4334
+ m[3]("titleTransactionHistory") + "") && Je(f, c);
4282
4335
  },
4283
4336
  d(m) {
4284
4337
  m && J(t), p = !1, v();
4285
4338
  }
4286
4339
  };
4287
4340
  }
4288
- function Wi(e) {
4341
+ function qi(e) {
4289
4342
  let t, r, n;
4290
4343
  return {
4291
4344
  c() {
4292
- t = N("div"), r = N("iframe"), it(r.src, n = /*iframeUrl*/
4345
+ t = N("div"), r = N("iframe"), at(r.src, n = /*iframeUrl*/
4293
4346
  e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
4294
4347
  },
4295
4348
  m(i, o) {
@@ -4297,7 +4350,7 @@ function Wi(e) {
4297
4350
  },
4298
4351
  p(i, o) {
4299
4352
  o & /*iframeUrl*/
4300
- 4 && !it(r.src, n = /*iframeUrl*/
4353
+ 4 && !at(r.src, n = /*iframeUrl*/
4301
4354
  i[2]) && E(r, "src", n);
4302
4355
  },
4303
4356
  d(i) {
@@ -4305,7 +4358,7 @@ function Wi(e) {
4305
4358
  }
4306
4359
  };
4307
4360
  }
4308
- function zi(e) {
4361
+ function Qi(e) {
4309
4362
  let t, r = (
4310
4363
  /*$_*/
4311
4364
  e[3]("loading") + ""
@@ -4320,31 +4373,31 @@ function zi(e) {
4320
4373
  p(i, o) {
4321
4374
  o & /*$_*/
4322
4375
  8 && r !== (r = /*$_*/
4323
- i[3]("loading") + "") && Qe(n, r);
4376
+ i[3]("loading") + "") && Je(n, r);
4324
4377
  },
4325
4378
  d(i) {
4326
4379
  i && J(t);
4327
4380
  }
4328
4381
  };
4329
4382
  }
4330
- function Zi(e) {
4383
+ function Ji(e) {
4331
4384
  let t, r, n, i = (
4332
4385
  /*$_*/
4333
4386
  e[3]("titleTransactionHistory") + ""
4334
4387
  ), o, s, a = (
4335
4388
  /*isMobile*/
4336
- e[4] && Xi(e)
4389
+ e[4] && Zi(e)
4337
4390
  );
4338
4391
  function h(c, f) {
4339
4392
  return (
4340
4393
  /*isLoading*/
4341
- c[1] ? zi : Wi
4394
+ c[1] ? Qi : qi
4342
4395
  );
4343
4396
  }
4344
4397
  let u = h(e), l = u(e);
4345
4398
  return {
4346
4399
  c() {
4347
- t = N("div"), a && a.c(), r = Ne(), n = N("h2"), o = ne(i), s = Ne(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4400
+ t = N("div"), a && a.c(), r = Le(), n = N("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4348
4401
  (e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
4349
4402
  (e[4] ? "TransactionHistoryWrapperMobile" : ""));
4350
4403
  },
@@ -4355,7 +4408,7 @@ function Zi(e) {
4355
4408
  /*isMobile*/
4356
4409
  c[4] && a.p(c, f), f & /*$_*/
4357
4410
  8 && i !== (i = /*$_*/
4358
- c[3]("titleTransactionHistory") + "") && Qe(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4411
+ c[3]("titleTransactionHistory") + "") && Je(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4359
4412
  },
4360
4413
  i: B,
4361
4414
  o: B,
@@ -4364,21 +4417,21 @@ function Zi(e) {
4364
4417
  }
4365
4418
  };
4366
4419
  }
4367
- function qi(e, t, r) {
4420
+ function Yi(e, t, r) {
4368
4421
  let n;
4369
- mr(e, Ui, (g) => r(3, n = g));
4370
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, v = Di(p) !== "PC", m = !0, T = "";
4422
+ gr(e, Fi, (g) => r(3, n = g));
4423
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, v = ji(p) !== "PC", m = !0, T = "";
4371
4424
  const R = () => {
4372
4425
  fetch(c).then((C) => C.json()).then((C) => {
4373
4426
  Object.keys(C).forEach((M) => {
4374
- wt(M, C[M]);
4427
+ Pt(M, C[M]);
4375
4428
  });
4376
4429
  }).catch((C) => {
4377
4430
  console.log(C);
4378
4431
  });
4379
4432
  };
4380
- Object.keys(Bt).forEach((g) => {
4381
- wt(g, Bt[g]);
4433
+ Object.keys(Ot).forEach((g) => {
4434
+ Pt(g, Ot[g]);
4382
4435
  });
4383
4436
  const P = () => {
4384
4437
  window.postMessage(
@@ -4407,13 +4460,13 @@ function qi(e, t, r) {
4407
4460
  }
4408
4461
  );
4409
4462
  }, U = () => {
4410
- Gi(a);
4463
+ ki(a);
4411
4464
  };
4412
- xr(() => () => {
4465
+ wr(() => () => {
4413
4466
  });
4414
4467
  const O = () => P();
4415
4468
  function G(g) {
4416
- Le[g ? "unshift" : "push"](() => {
4469
+ Ce[g ? "unshift" : "push"](() => {
4417
4470
  f = g, r(0, f);
4418
4471
  });
4419
4472
  }
@@ -4423,9 +4476,9 @@ function qi(e, t, r) {
4423
4476
  e.$$.dirty & /*lang*/
4424
4477
  512 && a && U(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4425
4478
  960 && o && s && i && a && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4426
- 1025 && h && f && Fi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4427
- 2049 && u && f && ji(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4428
- 4097 && l && f && ki(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4479
+ 1025 && h && f && Vi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4480
+ 2049 && u && f && Xi(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4481
+ 4097 && l && f && Wi(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4429
4482
  8192 && c && R();
4430
4483
  }, [
4431
4484
  f,
@@ -4446,14 +4499,14 @@ function qi(e, t, r) {
4446
4499
  G
4447
4500
  ];
4448
4501
  }
4449
- class Qi extends Cr {
4502
+ class Ki extends Ur {
4450
4503
  constructor(t) {
4451
- super(), Nr(
4504
+ super(), $r(
4452
4505
  this,
4453
4506
  t,
4454
- qi,
4455
- Zi,
4456
- Pt,
4507
+ Yi,
4508
+ Ji,
4509
+ Nt,
4457
4510
  {
4458
4511
  endpoint: 6,
4459
4512
  session: 7,
@@ -4464,7 +4517,7 @@ class Qi extends Cr {
4464
4517
  mbsource: 12,
4465
4518
  translationurl: 13
4466
4519
  },
4467
- Vi
4520
+ zi
4468
4521
  );
4469
4522
  }
4470
4523
  get endpoint() {
@@ -4516,7 +4569,7 @@ class Qi extends Cr {
4516
4569
  this.$$set({ translationurl: t }), A();
4517
4570
  }
4518
4571
  }
4519
- Lr(Qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4572
+ Rr(Ki, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4520
4573
  export {
4521
- Qi as default
4574
+ Ki as default
4522
4575
  };