@everymatrix/player-transaction-history 1.74.3 → 1.74.5

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 hr = Object.defineProperty, lr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
3
- var et = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (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 (et)
9
- for (var r of et(t))
10
- dr.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
- }, rt = (e, t) => lr(e, fr(t));
12
+ }, it = (e, t) => pr(e, mr(t));
13
13
  var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var nt = (e, t, r) => new Promise((n, i) => {
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 nt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Pt(e) {
32
+ function It(e) {
33
33
  return e();
34
34
  }
35
- function it() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(Pt);
39
+ e.forEach(It);
40
40
  }
41
- function Qe(e) {
41
+ function qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ot(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 ot(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 It(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,20 +60,20 @@ function It(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(It(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 br(e, t, r) {
70
- const n = yr(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, gr(n, i);
73
+ i.id = t, i.textContent = r, Er(n, i);
74
74
  }
75
75
  }
76
- function yr(e) {
76
+ function _r(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function yr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function gr(e, t) {
86
+ function Er(e, t) {
87
87
  return x(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -105,23 +105,23 @@ function F(e) {
105
105
  function ne(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Ne() {
108
+ function Le() {
109
109
  return ne(" ");
110
110
  }
111
- function vr(e, t, r, n) {
111
+ function xr(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function E(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function _r(e) {
117
+ function Tr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function qe(e, t) {
120
+ function Je(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Er(e) {
124
+ function Hr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -134,22 +134,22 @@ let ie;
134
134
  function re(e) {
135
135
  ie = e;
136
136
  }
137
- function xr() {
137
+ function Sr() {
138
138
  if (!ie)
139
139
  throw new Error("Function called outside component initialization");
140
140
  return ie;
141
141
  }
142
- function Tr(e) {
143
- xr().$$.on_mount.push(e);
142
+ function wr(e) {
143
+ Sr().$$.on_mount.push(e);
144
144
  }
145
- const V = [], Le = [];
145
+ const V = [], Ce = [];
146
146
  let X = [];
147
- const st = [], Hr = /* @__PURE__ */ Promise.resolve();
148
- let Ce = !1;
149
- function Sr() {
150
- Ce || (Ce = !0, Hr.then(A));
147
+ const ut = [], Br = /* @__PURE__ */ Promise.resolve();
148
+ let Me = !1;
149
+ function Ar() {
150
+ Me || (Me = !0, Br.then(A));
151
151
  }
152
- function Me(e) {
152
+ function $e(e) {
153
153
  X.push(e);
154
154
  }
155
155
  const Se = /* @__PURE__ */ new Set();
@@ -162,53 +162,53 @@ function A() {
162
162
  try {
163
163
  for (; j < V.length; ) {
164
164
  const t = V[j];
165
- j++, re(t), wr(t.$$);
165
+ j++, re(t), Pr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw V.length = 0, j = 0, t;
169
169
  }
170
- for (re(null), V.length = 0, j = 0; Le.length; )
171
- Le.pop()();
170
+ for (re(null), V.length = 0, j = 0; Ce.length; )
171
+ Ce.pop()();
172
172
  for (let t = 0; t < X.length; t += 1) {
173
173
  const r = X[t];
174
174
  Se.has(r) || (Se.add(r), r());
175
175
  }
176
176
  X.length = 0;
177
177
  } while (V.length);
178
- for (; st.length; )
179
- st.pop()();
180
- Ce = !1, Se.clear(), re(e);
178
+ for (; ut.length; )
179
+ ut.pop()();
180
+ Me = !1, Se.clear(), re(e);
181
181
  }
182
- function wr(e) {
182
+ function Pr(e) {
183
183
  if (e.fragment !== null) {
184
184
  e.update(), ae(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
187
187
  }
188
188
  }
189
- function Br(e) {
189
+ function Or(e) {
190
190
  const t = [], r = [];
191
191
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
192
192
  }
193
- const Ar = /* @__PURE__ */ new Set();
194
- function Pr(e, t) {
195
- e && e.i && (Ar.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));
196
196
  }
197
- function Or(e, t, r) {
197
+ function Lr(e, t, r) {
198
198
  const { fragment: n, after_update: i } = e.$$;
199
- n && n.m(t, r), Me(() => {
200
- const o = e.$$.on_mount.map(Pt).filter(Qe);
199
+ n && n.m(t, r), $e(() => {
200
+ const o = e.$$.on_mount.map(It).filter(qe);
201
201
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
202
- }), i.forEach(Me);
202
+ }), i.forEach($e);
203
203
  }
204
- function Ir(e, t) {
204
+ function Cr(e, t) {
205
205
  const r = e.$$;
206
- r.fragment !== null && (Br(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 = []);
207
207
  }
208
- function Nr(e, t) {
209
- e.$$.dirty[0] === -1 && (V.push(e), Sr(), 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;
210
210
  }
211
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
211
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  const h = ie;
213
213
  re(e);
214
214
  const u = e.$$ = {
@@ -218,7 +218,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  props: o,
219
219
  update: B,
220
220
  not_equal: i,
221
- bound: it(),
221
+ bound: st(),
222
222
  // lifecycle
223
223
  on_mount: [],
224
224
  on_destroy: [],
@@ -227,28 +227,28 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  after_update: [],
228
228
  context: new Map(t.context || (h ? h.$$.context : [])),
229
229
  // everything else
230
- callbacks: it(),
230
+ callbacks: st(),
231
231
  dirty: a,
232
232
  skip_bound: !1,
233
233
  root: t.target || h.$$.root
234
234
  };
235
235
  s && s(u.root);
236
236
  let l = !1;
237
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
238
- const v = d.length ? d[0] : c;
239
- return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Nr(e, f)), c;
240
- }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
237
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
238
+ const v = p.length ? p[0] : 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;
240
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
241
241
  if (t.hydrate) {
242
- const f = _r(t.target);
243
- u.fragment && u.fragment.l(f), f.forEach(J);
242
+ const c = Tr(t.target);
243
+ u.fragment && u.fragment.l(c), c.forEach(J);
244
244
  } else
245
245
  u.fragment && u.fragment.c();
246
- t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), A();
246
+ t.intro && Nr(e.$$.fragment), Lr(e, t.target, t.anchor), A();
247
247
  }
248
248
  re(h);
249
249
  }
250
- let Nt;
251
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
250
+ let Ct;
251
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
252
252
  constructor(t, r, n) {
253
253
  super();
254
254
  /** The Svelte component constructor */
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
285
285
  }
286
286
  }
287
287
  connectedCallback() {
288
- return nt(this, null, function* () {
288
+ return ot(this, null, function* () {
289
289
  if (this.$$cn = !0, !this.$$c) {
290
290
  let t = function(o) {
291
291
  return () => {
@@ -309,18 +309,18 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
309
309
  };
310
310
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
311
311
  return;
312
- const r = {}, n = Er(this);
312
+ const r = {}, n = Hr(this);
313
313
  for (const o of this.$$s)
314
314
  o in n && (r[o] = [t(o)]);
315
315
  for (const o of this.attributes) {
316
316
  const s = this.$$g_p(o.name);
317
- s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
317
+ s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
318
318
  }
319
319
  for (const o in this.$$p_d)
320
320
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
321
321
  this.$$c = new this.$$ctor({
322
322
  target: this.shadowRoot || this,
323
- props: rt(tt({}, this.$$d), {
323
+ props: it(nt({}, this.$$d), {
324
324
  $$slots: r,
325
325
  $$scope: {
326
326
  ctx: []
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
331
331
  this.$$r = !0;
332
332
  for (const o in this.$$p_d)
333
333
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
334
- const s = de(
334
+ const s = pe(
335
335
  o,
336
336
  this.$$d[o],
337
337
  this.$$p_d,
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
355
355
  // and setting attributes through setAttribute etc, this is helpful
356
356
  attributeChangedCallback(t, r, n) {
357
357
  var i;
358
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
358
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
359
359
  }
360
360
  disconnectedCallback() {
361
361
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -368,7 +368,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
368
368
  ) || t;
369
369
  }
370
370
  });
371
- function de(e, t, r, n) {
371
+ function pe(e, t, r, n) {
372
372
  var o;
373
373
  const i = (o = r[e]) == null ? void 0 : o.type;
374
374
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -398,8 +398,8 @@ function de(e, t, r, n) {
398
398
  return t;
399
399
  }
400
400
  }
401
- function Cr(e, t, r, n, i, o) {
402
- let s = class extends Nt {
401
+ function Rr(e, t, r, n, i, o) {
402
+ let s = class extends Ct {
403
403
  constructor() {
404
404
  super(e, r, i), this.$$p_d = t;
405
405
  }
@@ -416,7 +416,7 @@ function Cr(e, t, r, n, i, o) {
416
416
  },
417
417
  set(h) {
418
418
  var u;
419
- h = de(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
419
+ h = pe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
420
420
  }
421
421
  });
422
422
  }), n.forEach((a) => {
@@ -429,7 +429,7 @@ function Cr(e, t, r, n, i, o) {
429
429
  }), e.element = /** @type {any} */
430
430
  s, s;
431
431
  }
432
- class Mr {
432
+ class Ur {
433
433
  constructor() {
434
434
  /**
435
435
  * ### PRIVATE API
@@ -450,7 +450,7 @@ class Mr {
450
450
  }
451
451
  /** @returns {void} */
452
452
  $destroy() {
453
- Ir(this, 1), this.$destroy = B;
453
+ Cr(this, 1), this.$destroy = B;
454
454
  }
455
455
  /**
456
456
  * @template {Extract<keyof Events, string>} K
@@ -459,7 +459,7 @@ class Mr {
459
459
  * @returns {() => void}
460
460
  */
461
461
  $on(t, r) {
462
- if (!Qe(r))
462
+ if (!qe(r))
463
463
  return B;
464
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
465
465
  return n.push(r), () => {
@@ -472,11 +472,11 @@ class Mr {
472
472
  * @returns {void}
473
473
  */
474
474
  $set(t) {
475
- 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);
476
476
  }
477
477
  }
478
- const $r = "4";
479
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
478
+ const Dr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
480
480
  /*! *****************************************************************************
481
481
  Copyright (c) Microsoft Corporation.
482
482
 
@@ -491,18 +491,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
491
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
492
  PERFORMANCE OF THIS SOFTWARE.
493
493
  ***************************************************************************** */
494
- var $e = function(e, t) {
495
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
+ var Re = function(e, t) {
495
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
496
496
  r.__proto__ = n;
497
497
  } || function(r, n) {
498
498
  for (var i in n)
499
499
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
500
- }, $e(e, t);
500
+ }, Re(e, t);
501
501
  };
502
502
  function L(e, t) {
503
503
  if (typeof t != "function" && t !== null)
504
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
505
- $e(e, t);
505
+ Re(e, t);
506
506
  function r() {
507
507
  this.constructor = e;
508
508
  }
@@ -518,7 +518,7 @@ var y = function() {
518
518
  return t;
519
519
  }, y.apply(this, arguments);
520
520
  };
521
- function Rr(e, t) {
521
+ function Gr(e, t) {
522
522
  var r = {};
523
523
  for (var n in e)
524
524
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -527,7 +527,7 @@ function Rr(e, t) {
527
527
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
528
528
  return r;
529
529
  }
530
- function Re(e) {
530
+ function Ue(e) {
531
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
532
532
  if (r)
533
533
  return r.call(e);
@@ -539,7 +539,7 @@ function Re(e) {
539
539
  };
540
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
541
541
  }
542
- function Ue(e, t) {
542
+ function De(e, t) {
543
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
544
544
  if (!r)
545
545
  return e;
@@ -568,13 +568,13 @@ function W(e, t, r) {
568
568
  function I(e) {
569
569
  return typeof e == "function";
570
570
  }
571
- function Lt(e) {
571
+ function Mt(e) {
572
572
  var t = function(n) {
573
573
  Error.call(n), n.stack = new Error().stack;
574
574
  }, r = e(t);
575
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
576
576
  }
577
- var we = Lt(function(e) {
577
+ var we = Mt(function(e) {
578
578
  return function(r) {
579
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
580
580
  ` + r.map(function(n, i) {
@@ -583,7 +583,7 @@ var we = Lt(function(e) {
583
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
584
584
  };
585
585
  });
586
- function De(e, t) {
586
+ function Ge(e, t) {
587
587
  if (e) {
588
588
  var r = e.indexOf(t);
589
589
  0 <= r && e.splice(r, 1);
@@ -601,12 +601,12 @@ var ve = function() {
601
601
  if (s)
602
602
  if (this._parentage = null, Array.isArray(s))
603
603
  try {
604
- 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()) {
605
605
  var u = h.value;
606
606
  u.remove(this);
607
607
  }
608
- } catch (p) {
609
- t = { error: p };
608
+ } catch (m) {
609
+ t = { error: m };
610
610
  } finally {
611
611
  try {
612
612
  h && !h.done && (r = a.return) && r.call(a);
@@ -621,26 +621,26 @@ var ve = function() {
621
621
  if (I(l))
622
622
  try {
623
623
  l();
624
- } catch (p) {
625
- o = p instanceof we ? p.errors : [p];
624
+ } catch (m) {
625
+ o = m instanceof we ? m.errors : [m];
626
626
  }
627
- var f = this._finalizers;
628
- if (f) {
627
+ var c = this._finalizers;
628
+ if (c) {
629
629
  this._finalizers = null;
630
630
  try {
631
- for (var c = Re(f), d = c.next(); !d.done; d = c.next()) {
632
- var v = d.value;
631
+ for (var f = Ue(c), p = f.next(); !p.done; p = f.next()) {
632
+ var v = p.value;
633
633
  try {
634
- at(v);
635
- } catch (p) {
636
- o = o != null ? o : [], p instanceof we ? o = W(W([], Ue(o)), Ue(p.errors)) : o.push(p);
634
+ ht(v);
635
+ } catch (m) {
636
+ o = o != null ? o : [], m instanceof we ? o = W(W([], De(o)), De(m.errors)) : o.push(m);
637
637
  }
638
638
  }
639
- } catch (p) {
640
- n = { error: p };
639
+ } catch (m) {
640
+ n = { error: m };
641
641
  } finally {
642
642
  try {
643
- d && !d.done && (i = c.return) && i.call(c);
643
+ p && !p.done && (i = f.return) && i.call(f);
644
644
  } finally {
645
645
  if (n)
646
646
  throw n.error;
@@ -654,7 +654,7 @@ var ve = function() {
654
654
  var r;
655
655
  if (t && t !== this)
656
656
  if (this.closed)
657
- at(t);
657
+ ht(t);
658
658
  else {
659
659
  if (t instanceof e) {
660
660
  if (t.closed || t._hasParent(this))
@@ -671,56 +671,56 @@ var ve = function() {
671
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
672
672
  }, e.prototype._removeParent = function(t) {
673
673
  var r = this._parentage;
674
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
675
675
  }, e.prototype.remove = function(t) {
676
676
  var r = this._finalizers;
677
- r && De(r, t), t instanceof e && t._removeParent(this);
677
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
678
678
  }, e.EMPTY = function() {
679
679
  var t = new e();
680
680
  return t.closed = !0, t;
681
681
  }(), e;
682
- }(), Ct = ve.EMPTY;
683
- function Mt(e) {
682
+ }(), $t = ve.EMPTY;
683
+ function Rt(e) {
684
684
  return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
685
685
  }
686
- function at(e) {
686
+ function ht(e) {
687
687
  I(e) ? e() : e.unsubscribe();
688
688
  }
689
- var Ur = {
689
+ var Ut = {
690
690
  onUnhandledError: null,
691
691
  onStoppedNotification: null,
692
692
  Promise: void 0,
693
693
  useDeprecatedSynchronousErrorHandling: !1,
694
694
  useDeprecatedNextContext: !1
695
- }, Dr = {
695
+ }, Fr = {
696
696
  setTimeout: function(e, t) {
697
697
  for (var r = [], n = 2; n < arguments.length; n++)
698
698
  r[n - 2] = arguments[n];
699
- return setTimeout.apply(void 0, W([e, t], Ue(r)));
699
+ return setTimeout.apply(void 0, W([e, t], De(r)));
700
700
  },
701
701
  clearTimeout: function(e) {
702
702
  return clearTimeout(e);
703
703
  },
704
704
  delegate: void 0
705
705
  };
706
- function Gr(e) {
707
- Dr.setTimeout(function() {
706
+ function jr(e) {
707
+ Fr.setTimeout(function() {
708
708
  throw e;
709
709
  });
710
710
  }
711
- function ut() {
711
+ function lt() {
712
712
  }
713
- function pe(e) {
713
+ function me(e) {
714
714
  e();
715
715
  }
716
- var $t = function(e) {
716
+ var Dt = function(e) {
717
717
  L(t, e);
718
718
  function t(r) {
719
719
  var n = e.call(this) || this;
720
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = kr, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Wr, n;
721
721
  }
722
722
  return t.create = function(r, n, i) {
723
- return new Ge(r, n, i);
723
+ return new Fe(r, n, i);
724
724
  }, t.prototype.next = function(r) {
725
725
  this.isStopped || this._next(r);
726
726
  }, t.prototype.error = function(r) {
@@ -744,7 +744,11 @@ var $t = function(e) {
744
744
  this.unsubscribe();
745
745
  }
746
746
  }, t;
747
- }(ve), Fr = function() {
747
+ }(ve), kr = Function.prototype.bind;
748
+ function Be(e, t) {
749
+ return kr.call(e, t);
750
+ }
751
+ var Vr = function() {
748
752
  function e(t) {
749
753
  this.partialObserver = t;
750
754
  }
@@ -754,7 +758,7 @@ var $t = function(e) {
754
758
  try {
755
759
  r.next(t);
756
760
  } catch (n) {
757
- fe(n);
761
+ ce(n);
758
762
  }
759
763
  }, e.prototype.error = function(t) {
760
764
  var r = this.partialObserver;
@@ -762,56 +766,68 @@ var $t = function(e) {
762
766
  try {
763
767
  r.error(t);
764
768
  } catch (n) {
765
- fe(n);
769
+ ce(n);
766
770
  }
767
771
  else
768
- fe(t);
772
+ ce(t);
769
773
  }, e.prototype.complete = function() {
770
774
  var t = this.partialObserver;
771
775
  if (t.complete)
772
776
  try {
773
777
  t.complete();
774
778
  } catch (r) {
775
- fe(r);
779
+ ce(r);
776
780
  }
777
781
  }, e;
778
- }(), Ge = function(e) {
782
+ }(), Fe = function(e) {
779
783
  L(t, e);
780
784
  function t(r, n, i) {
781
785
  var o = e.call(this) || this, s;
782
- return I(r) || !r ? s = {
783
- next: r != null ? r : void 0,
784
- error: n != null ? n : void 0,
785
- complete: i != null ? i : void 0
786
- } : s = r, o.destination = new Fr(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;
787
803
  }
788
804
  return t;
789
- }($t);
790
- function fe(e) {
791
- Gr(e);
805
+ }(Dt);
806
+ function ce(e) {
807
+ jr(e);
792
808
  }
793
- function jr(e) {
809
+ function Xr(e) {
794
810
  throw e;
795
811
  }
796
- var kr = {
812
+ var Wr = {
797
813
  closed: !0,
798
- next: ut,
799
- error: jr,
800
- complete: ut
801
- }, Vr = function() {
814
+ next: lt,
815
+ error: Xr,
816
+ complete: lt
817
+ }, zr = function() {
802
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
803
819
  }();
804
- function Xr(e) {
820
+ function Zr(e) {
805
821
  return e;
806
822
  }
807
- function Wr(e) {
808
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
823
+ function Qr(e) {
824
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
809
825
  return e.reduce(function(n, i) {
810
826
  return i(n);
811
827
  }, r);
812
828
  };
813
829
  }
814
- var ht = function() {
830
+ var ct = function() {
815
831
  function e(t) {
816
832
  t && (this._subscribe = t);
817
833
  }
@@ -819,8 +835,8 @@ var ht = function() {
819
835
  var r = new e();
820
836
  return r.source = this, r.operator = t, r;
821
837
  }, e.prototype.subscribe = function(t, r, n) {
822
- var i = this, o = Zr(t) ? t : new Ge(t, r, n);
823
- return pe(function() {
838
+ var i = this, o = Jr(t) ? t : new Fe(t, r, n);
839
+ return me(function() {
824
840
  var s = i, a = s.operator, h = s.source;
825
841
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
826
842
  }), o;
@@ -832,8 +848,8 @@ var ht = function() {
832
848
  }
833
849
  }, e.prototype.forEach = function(t, r) {
834
850
  var n = this;
835
- return r = lt(r), new r(function(i, o) {
836
- var s = new Ge({
851
+ return r = ft(r), new r(function(i, o) {
852
+ var s = new Fe({
837
853
  next: function(a) {
838
854
  try {
839
855
  t(a);
@@ -849,15 +865,15 @@ var ht = function() {
849
865
  }, e.prototype._subscribe = function(t) {
850
866
  var r;
851
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
852
- }, e.prototype[Vr] = function() {
868
+ }, e.prototype[zr] = function() {
853
869
  return this;
854
870
  }, e.prototype.pipe = function() {
855
871
  for (var t = [], r = 0; r < arguments.length; r++)
856
872
  t[r] = arguments[r];
857
- return Wr(t)(this);
873
+ return Qr(t)(this);
858
874
  }, e.prototype.toPromise = function(t) {
859
875
  var r = this;
860
- return t = lt(t), new t(function(n, i) {
876
+ return t = ft(t), new t(function(n, i) {
861
877
  var o;
862
878
  r.subscribe(function(s) {
863
879
  return o = s;
@@ -871,40 +887,40 @@ var ht = function() {
871
887
  return new e(t);
872
888
  }, e;
873
889
  }();
874
- function lt(e) {
890
+ function ft(e) {
875
891
  var t;
876
- return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
877
893
  }
878
- function zr(e) {
894
+ function qr(e) {
879
895
  return e && I(e.next) && I(e.error) && I(e.complete);
880
896
  }
881
- function Zr(e) {
882
- return e && e instanceof $t || zr(e) && Mt(e);
897
+ function Jr(e) {
898
+ return e && e instanceof Dt || qr(e) && Rt(e);
883
899
  }
884
- var Qr = Lt(function(e) {
900
+ var Yr = Mt(function(e) {
885
901
  return function() {
886
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
887
903
  };
888
- }), Rt = function(e) {
904
+ }), Gt = function(e) {
889
905
  L(t, e);
890
906
  function t() {
891
907
  var r = e.call(this) || this;
892
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
893
909
  }
894
910
  return t.prototype.lift = function(r) {
895
- var n = new ft(this, this);
911
+ var n = new pt(this, this);
896
912
  return n.operator = r, n;
897
913
  }, t.prototype._throwIfClosed = function() {
898
914
  if (this.closed)
899
- throw new Qr();
915
+ throw new Yr();
900
916
  }, t.prototype.next = function(r) {
901
917
  var n = this;
902
- pe(function() {
918
+ me(function() {
903
919
  var i, o;
904
920
  if (n._throwIfClosed(), !n.isStopped) {
905
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
906
922
  try {
907
- 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()) {
908
924
  var h = a.value;
909
925
  h.next(r);
910
926
  }
@@ -922,7 +938,7 @@ var Qr = Lt(function(e) {
922
938
  });
923
939
  }, t.prototype.error = function(r) {
924
940
  var n = this;
925
- pe(function() {
941
+ me(function() {
926
942
  if (n._throwIfClosed(), !n.isStopped) {
927
943
  n.hasError = n.isStopped = !0, n.thrownError = r;
928
944
  for (var i = n.observers; i.length; )
@@ -931,7 +947,7 @@ var Qr = Lt(function(e) {
931
947
  });
932
948
  }, t.prototype.complete = function() {
933
949
  var r = this;
934
- pe(function() {
950
+ me(function() {
935
951
  if (r._throwIfClosed(), !r.isStopped) {
936
952
  r.isStopped = !0;
937
953
  for (var n = r.observers; n.length; )
@@ -953,19 +969,19 @@ var Qr = Lt(function(e) {
953
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
954
970
  }, t.prototype._innerSubscribe = function(r) {
955
971
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
956
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new ve(function() {
957
- 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);
958
974
  }));
959
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
960
976
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
961
977
  i ? r.error(o) : s && r.complete();
962
978
  }, t.prototype.asObservable = function() {
963
- var r = new ht();
979
+ var r = new ct();
964
980
  return r.source = this, r;
965
981
  }, t.create = function(r, n) {
966
- return new ft(r, n);
982
+ return new pt(r, n);
967
983
  }, t;
968
- }(ht), ft = function(e) {
984
+ }(ct), pt = function(e) {
969
985
  L(t, e);
970
986
  function t(r, n) {
971
987
  var i = e.call(this) || this;
@@ -982,17 +998,17 @@ var Qr = Lt(function(e) {
982
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
983
999
  }, t.prototype._subscribe = function(r) {
984
1000
  var n, i;
985
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
986
1002
  }, t;
987
- }(Rt), Ut = {
1003
+ }(Gt), Ft = {
988
1004
  now: function() {
989
- return (Ut.delegate || Date).now();
1005
+ return (Ft.delegate || Date).now();
990
1006
  },
991
1007
  delegate: void 0
992
- }, qr = function(e) {
1008
+ }, Kr = function(e) {
993
1009
  L(t, e);
994
1010
  function t(r, n, i) {
995
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
996
1012
  var o = e.call(this) || this;
997
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;
998
1014
  }
@@ -1012,15 +1028,15 @@ var Qr = Lt(function(e) {
1012
1028
  u && o.splice(0, u + 1);
1013
1029
  }
1014
1030
  }, t;
1015
- }(Rt);
1016
- const ct = [], dt = {}, Jr = (e, t = 0) => {
1017
- if (ct.indexOf(e) == -1) {
1018
- const r = new qr(t);
1019
- dt[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);
1020
1036
  }
1021
1037
  return dt[e];
1022
1038
  }, k = [];
1023
- function Yr(e, t) {
1039
+ function tn(e, t) {
1024
1040
  return {
1025
1041
  subscribe: _e(e, t).subscribe
1026
1042
  };
@@ -1029,7 +1045,7 @@ function _e(e, t = B) {
1029
1045
  let r;
1030
1046
  const n = /* @__PURE__ */ new Set();
1031
1047
  function i(a) {
1032
- if (Ot(e, a) && (e = a, r)) {
1048
+ if (Nt(e, a) && (e = a, r)) {
1033
1049
  const h = !k.length;
1034
1050
  for (const u of n)
1035
1051
  u[1](), k.push(u, e);
@@ -1056,96 +1072,96 @@ function Y(e, t, r) {
1056
1072
  if (!i.every(Boolean))
1057
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1058
1074
  const o = t.length < 2;
1059
- return Yr(r, (s, a) => {
1075
+ return tn(r, (s, a) => {
1060
1076
  let h = !1;
1061
1077
  const u = [];
1062
- let l = 0, f = B;
1063
- const c = () => {
1078
+ let l = 0, c = B;
1079
+ const f = () => {
1064
1080
  if (l)
1065
1081
  return;
1066
- f();
1082
+ c();
1067
1083
  const v = t(n ? u[0] : u, s, a);
1068
- o ? s(v) : f = Qe(v) ? v : B;
1069
- }, d = i.map(
1070
- (v, p) => It(
1084
+ o ? s(v) : c = qe(v) ? v : B;
1085
+ }, p = i.map(
1086
+ (v, m) => Lt(
1071
1087
  v,
1072
1088
  (T) => {
1073
- u[p] = T, l &= ~(1 << p), h && c();
1089
+ u[m] = T, l &= ~(1 << m), h && f();
1074
1090
  },
1075
1091
  () => {
1076
- l |= 1 << p;
1092
+ l |= 1 << m;
1077
1093
  }
1078
1094
  )
1079
1095
  );
1080
- return h = !0, c(), function() {
1081
- ae(d), f(), h = !1;
1096
+ return h = !0, f(), function() {
1097
+ ae(p), c(), h = !1;
1082
1098
  };
1083
1099
  });
1084
1100
  }
1085
- function Kr(e) {
1086
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1101
+ function rn(e) {
1102
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1087
1103
  }
1088
- var en = function(t) {
1089
- return tn(t) && !rn(t);
1104
+ var nn = function(t) {
1105
+ return on(t) && !sn(t);
1090
1106
  };
1091
- function tn(e) {
1107
+ function on(e) {
1092
1108
  return !!e && typeof e == "object";
1093
1109
  }
1094
- function rn(e) {
1110
+ function sn(e) {
1095
1111
  var t = Object.prototype.toString.call(e);
1096
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1112
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1097
1113
  }
1098
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1099
- function sn(e) {
1100
- return e.$$typeof === on;
1114
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1115
+ function hn(e) {
1116
+ return e.$$typeof === un;
1101
1117
  }
1102
- function an(e) {
1118
+ function ln(e) {
1103
1119
  return Array.isArray(e) ? [] : {};
1104
1120
  }
1105
1121
  function oe(e, t) {
1106
- return t.clone !== !1 && t.isMergeableObject(e) ? z(an(e), e, t) : e;
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1107
1123
  }
1108
- function un(e, t, r) {
1124
+ function cn(e, t, r) {
1109
1125
  return e.concat(t).map(function(n) {
1110
1126
  return oe(n, r);
1111
1127
  });
1112
1128
  }
1113
- function hn(e, t) {
1129
+ function fn(e, t) {
1114
1130
  if (!t.customMerge)
1115
1131
  return z;
1116
1132
  var r = t.customMerge(e);
1117
1133
  return typeof r == "function" ? r : z;
1118
1134
  }
1119
- function ln(e) {
1135
+ function pn(e) {
1120
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1121
1137
  return Object.propertyIsEnumerable.call(e, t);
1122
1138
  }) : [];
1123
1139
  }
1124
- function pt(e) {
1125
- return Object.keys(e).concat(ln(e));
1140
+ function bt(e) {
1141
+ return Object.keys(e).concat(pn(e));
1126
1142
  }
1127
- function Dt(e, t) {
1143
+ function jt(e, t) {
1128
1144
  try {
1129
1145
  return t in e;
1130
1146
  } catch (r) {
1131
1147
  return !1;
1132
1148
  }
1133
1149
  }
1134
- function fn(e, t) {
1135
- return Dt(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));
1136
1152
  }
1137
- function cn(e, t, r) {
1153
+ function dn(e, t, r) {
1138
1154
  var n = {};
1139
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1155
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1140
1156
  n[i] = oe(e[i], r);
1141
- }), pt(t).forEach(function(i) {
1142
- fn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(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));
1143
1159
  }), n;
1144
1160
  }
1145
1161
  function z(e, t, r) {
1146
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = oe;
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = oe;
1147
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1148
- 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);
1149
1165
  }
1150
1166
  z.all = function(t, r) {
1151
1167
  if (!Array.isArray(t))
@@ -1154,64 +1170,62 @@ z.all = function(t, r) {
1154
1170
  return z(n, i, r);
1155
1171
  }, {});
1156
1172
  };
1157
- var dn = z, pn = dn;
1158
- const mn = /* @__PURE__ */ Kr(pn);
1159
- function Be(e, t) {
1160
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, 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;
1161
1177
  return i(e, {
1162
1178
  cache: r,
1163
1179
  serializer: n
1164
1180
  });
1165
1181
  }
1166
- function bn(e) {
1182
+ function vn(e) {
1167
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1168
1184
  }
1169
- function Gt(e, t, r, n) {
1170
- var i = bn(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);
1171
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1172
1188
  }
1173
- function Ft(e, t, r) {
1189
+ function Vt(e, t, r) {
1174
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1175
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1176
1192
  }
1177
- function Je(e, t, r, n, i) {
1193
+ function Ye(e, t, r, n, i) {
1178
1194
  return r.bind(t, e, n, i);
1179
1195
  }
1180
- function yn(e, t) {
1181
- var r = e.length === 1 ? Gt : Ft;
1182
- return Je(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);
1183
1199
  }
1184
- function gn(e, t) {
1185
- return Je(e, this, Ft, t.cache.create(), t.serializer);
1200
+ function En(e, t) {
1201
+ return Ye(e, this, Vt, t.cache.create(), t.serializer);
1186
1202
  }
1187
- function vn(e, t) {
1188
- return Je(e, this, Gt, t.cache.create(), t.serializer);
1203
+ function xn(e, t) {
1204
+ return Ye(e, this, kt, t.cache.create(), t.serializer);
1189
1205
  }
1190
- var _n = function() {
1206
+ var Tn = function() {
1191
1207
  return JSON.stringify(arguments);
1192
- }, En = (
1193
- /** @class */
1194
- function() {
1195
- function e() {
1196
- this.cache = /* @__PURE__ */ Object.create(null);
1197
- }
1198
- return e.prototype.get = function(t) {
1199
- return this.cache[t];
1200
- }, e.prototype.set = function(t, r) {
1201
- this.cache[t] = r;
1202
- }, e;
1203
- }()
1204
- ), xn = {
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 = {
1205
1219
  create: function() {
1206
- return new En();
1220
+ return new Ke();
1207
1221
  }
1208
- }, Ae = {
1209
- variadic: gn,
1210
- monadic: vn
1211
- }, m;
1222
+ }, Pe = {
1223
+ variadic: En,
1224
+ monadic: xn
1225
+ }, d;
1212
1226
  (function(e) {
1213
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";
1214
- })(m || (m = {}));
1228
+ })(d || (d = {}));
1215
1229
  var _;
1216
1230
  (function(e) {
1217
1231
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -1220,43 +1234,43 @@ var Z;
1220
1234
  (function(e) {
1221
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1222
1236
  })(Z || (Z = {}));
1223
- function mt(e) {
1237
+ function yt(e) {
1224
1238
  return e.type === _.literal;
1225
1239
  }
1226
- function Tn(e) {
1240
+ function Sn(e) {
1227
1241
  return e.type === _.argument;
1228
1242
  }
1229
- function jt(e) {
1243
+ function Xt(e) {
1230
1244
  return e.type === _.number;
1231
1245
  }
1232
- function kt(e) {
1246
+ function Wt(e) {
1233
1247
  return e.type === _.date;
1234
1248
  }
1235
- function Vt(e) {
1249
+ function zt(e) {
1236
1250
  return e.type === _.time;
1237
1251
  }
1238
- function Xt(e) {
1252
+ function Zt(e) {
1239
1253
  return e.type === _.select;
1240
1254
  }
1241
- function Wt(e) {
1255
+ function Qt(e) {
1242
1256
  return e.type === _.plural;
1243
1257
  }
1244
- function Hn(e) {
1258
+ function wn(e) {
1245
1259
  return e.type === _.pound;
1246
1260
  }
1247
- function zt(e) {
1261
+ function qt(e) {
1248
1262
  return e.type === _.tag;
1249
1263
  }
1250
- function Zt(e) {
1264
+ function Jt(e) {
1251
1265
  return !!(e && typeof e == "object" && e.type === Z.number);
1252
1266
  }
1253
- function Fe(e) {
1267
+ function je(e) {
1254
1268
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1255
1269
  }
1256
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1257
- function wn(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) {
1258
1272
  var t = {};
1259
- return e.replace(Sn, function(r) {
1273
+ return e.replace(Bn, function(r) {
1260
1274
  var n = r.length;
1261
1275
  switch (r[0]) {
1262
1276
  case "G":
@@ -1345,36 +1359,36 @@ function wn(e) {
1345
1359
  return "";
1346
1360
  }), t;
1347
1361
  }
1348
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1349
- function An(e) {
1362
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function On(e) {
1350
1364
  if (e.length === 0)
1351
1365
  throw new Error("Number skeleton cannot be empty");
1352
- for (var t = e.split(Bn).filter(function(c) {
1353
- return c.length > 0;
1366
+ for (var t = e.split(Pn).filter(function(f) {
1367
+ return f.length > 0;
1354
1368
  }), r = [], n = 0, i = t; n < i.length; n++) {
1355
1369
  var o = i[n], s = o.split("/");
1356
1370
  if (s.length === 0)
1357
1371
  throw new Error("Invalid number skeleton");
1358
1372
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1359
- var f = l[u];
1360
- if (f.length === 0)
1373
+ var c = l[u];
1374
+ if (c.length === 0)
1361
1375
  throw new Error("Invalid number skeleton");
1362
1376
  }
1363
1377
  r.push({ stem: a, options: h });
1364
1378
  }
1365
1379
  return r;
1366
1380
  }
1367
- function Pn(e) {
1381
+ function In(e) {
1368
1382
  return e.replace(/^(.*?)-/, "");
1369
1383
  }
1370
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1371
- function yt(e) {
1384
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1385
+ function vt(e) {
1372
1386
  var t = {};
1373
- 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) {
1374
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)), "";
1375
1389
  }), t;
1376
1390
  }
1377
- function Yt(e) {
1391
+ function tr(e) {
1378
1392
  switch (e) {
1379
1393
  case "sign-auto":
1380
1394
  return {
@@ -1414,7 +1428,7 @@ function Yt(e) {
1414
1428
  };
1415
1429
  }
1416
1430
  }
1417
- function In(e) {
1431
+ function Ln(e) {
1418
1432
  var t;
1419
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1420
1434
  notation: "engineering"
@@ -1422,17 +1436,17 @@ function In(e) {
1422
1436
  notation: "scientific"
1423
1437
  }, e = e.slice(1)), t) {
1424
1438
  var r = e.slice(0, 2);
1425
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1426
1440
  throw new Error("Malformed concise eng/scientific notation");
1427
1441
  t.minimumIntegerDigits = e.length;
1428
1442
  }
1429
1443
  return t;
1430
1444
  }
1431
- function gt(e) {
1432
- var t = {}, r = Yt(e);
1445
+ function _t(e) {
1446
+ var t = {}, r = tr(e);
1433
1447
  return r || t;
1434
1448
  }
1435
- function Nn(e) {
1449
+ function Cn(e) {
1436
1450
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1437
1451
  var i = n[r];
1438
1452
  switch (i.stem) {
@@ -1456,7 +1470,7 @@ function Nn(e) {
1456
1470
  continue;
1457
1471
  case "measure-unit":
1458
1472
  case "unit":
1459
- t.style = "unit", t.unit = Pn(i.options[0]);
1473
+ t.style = "unit", t.unit = In(i.options[0]);
1460
1474
  continue;
1461
1475
  case "compact-short":
1462
1476
  case "K":
@@ -1468,12 +1482,12 @@ function Nn(e) {
1468
1482
  continue;
1469
1483
  case "scientific":
1470
1484
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1471
- return y(y({}, h), gt(u));
1485
+ return y(y({}, h), _t(u));
1472
1486
  }, {}));
1473
1487
  continue;
1474
1488
  case "engineering":
1475
1489
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1476
- return y(y({}, h), gt(u));
1490
+ return y(y({}, h), _t(u));
1477
1491
  }, {}));
1478
1492
  continue;
1479
1493
  case "notation-simple":
@@ -1518,45 +1532,45 @@ function Nn(e) {
1518
1532
  case "integer-width":
1519
1533
  if (i.options.length > 1)
1520
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1521
- i.options[0].replace(On, function(h, u, l, f, c, d) {
1535
+ i.options[0].replace(Nn, function(h, u, l, c, f, p) {
1522
1536
  if (u)
1523
1537
  t.minimumIntegerDigits = l.length;
1524
1538
  else {
1525
- if (f && c)
1539
+ if (c && f)
1526
1540
  throw new Error("We currently do not support maximum integer digits");
1527
- if (d)
1541
+ if (p)
1528
1542
  throw new Error("We currently do not support exact integer digits");
1529
1543
  }
1530
1544
  return "";
1531
1545
  });
1532
1546
  continue;
1533
1547
  }
1534
- if (Jt.test(i.stem)) {
1548
+ if (er.test(i.stem)) {
1535
1549
  t.minimumIntegerDigits = i.stem.length;
1536
1550
  continue;
1537
1551
  }
1538
- if (bt.test(i.stem)) {
1552
+ if (gt.test(i.stem)) {
1539
1553
  if (i.options.length > 1)
1540
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1541
- i.stem.replace(bt, function(h, u, l, f, c, d) {
1542
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1555
+ i.stem.replace(gt, function(h, u, l, c, f, p) {
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), "";
1543
1557
  });
1544
1558
  var o = i.options[0];
1545
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1559
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), vt(o)));
1546
1560
  continue;
1547
1561
  }
1548
- if (qt.test(i.stem)) {
1549
- t = y(y({}, t), yt(i.stem));
1562
+ if (Kt.test(i.stem)) {
1563
+ t = y(y({}, t), vt(i.stem));
1550
1564
  continue;
1551
1565
  }
1552
- var s = Yt(i.stem);
1566
+ var s = tr(i.stem);
1553
1567
  s && (t = y(y({}, t), s));
1554
- var a = In(i.stem);
1568
+ var a = Ln(i.stem);
1555
1569
  a && (t = y(y({}, t), a));
1556
1570
  }
1557
1571
  return t;
1558
1572
  }
1559
- var ce = {
1573
+ var fe = {
1560
1574
  "001": [
1561
1575
  "H",
1562
1576
  "h"
@@ -2971,13 +2985,13 @@ var ce = {
2971
2985
  "h"
2972
2986
  ]
2973
2987
  };
2974
- function Ln(e, t) {
2988
+ function Mn(e, t) {
2975
2989
  for (var r = "", n = 0; n < e.length; n++) {
2976
2990
  var i = e.charAt(n);
2977
2991
  if (i === "j") {
2978
2992
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2979
2993
  o++, n++;
2980
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
2981
2995
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2982
2996
  r += h;
2983
2997
  for (; s-- > 0; )
@@ -2987,7 +3001,7 @@ function Ln(e, t) {
2987
3001
  }
2988
3002
  return r;
2989
3003
  }
2990
- function Cn(e) {
3004
+ function $n(e) {
2991
3005
  var t = e.hourCycle;
2992
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2993
3007
  e.hourCycles && // @ts-ignore
@@ -3006,23 +3020,23 @@ function Cn(e) {
3006
3020
  }
3007
3021
  var r = e.language, n;
3008
3022
  r !== "root" && (n = e.maximize().region);
3009
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3023
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3010
3024
  return i[0];
3011
3025
  }
3012
- var Pe, Mn = new RegExp("^".concat(Qt.source, "*")), $n = new RegExp("".concat(Qt.source, "*$"));
3026
+ var Oe, Rn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
3013
3027
  function b(e, t) {
3014
3028
  return { start: e, end: t };
3015
3029
  }
3016
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? 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) {
3017
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3018
- }, je = !0;
3032
+ }, ke = !0;
3019
3033
  try {
3020
- var Xn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3021
- je = ((Pe = Xn.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";
3022
3036
  } catch (e) {
3023
- je = !1;
3037
+ ke = !1;
3024
3038
  }
3025
- var vt = Rn ? (
3039
+ var Et = Dn ? (
3026
3040
  // Native
3027
3041
  function(t, r, n) {
3028
3042
  return t.startsWith(r, n);
@@ -3032,7 +3046,7 @@ var vt = Rn ? (
3032
3046
  function(t, r, n) {
3033
3047
  return t.slice(n, n + r.length) === r;
3034
3048
  }
3035
- ), ke = Un ? String.fromCodePoint : (
3049
+ ), Ve = Gn ? String.fromCodePoint : (
3036
3050
  // IE11
3037
3051
  function() {
3038
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3044,9 +3058,9 @@ var vt = Rn ? (
3044
3058
  }
3045
3059
  return n;
3046
3060
  }
3047
- ), _t = (
3061
+ ), xt = (
3048
3062
  // native
3049
- Dn ? Object.fromEntries : (
3063
+ Fn ? Object.fromEntries : (
3050
3064
  // Ponyfill
3051
3065
  function(t) {
3052
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3056,7 +3070,7 @@ var vt = Rn ? (
3056
3070
  return r;
3057
3071
  }
3058
3072
  )
3059
- ), Kt = Gn ? (
3073
+ ), rr = jn ? (
3060
3074
  // Native
3061
3075
  function(t, r) {
3062
3076
  return t.codePointAt(r);
@@ -3070,7 +3084,7 @@ var vt = Rn ? (
3070
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3071
3085
  }
3072
3086
  }
3073
- ), Wn = Fn ? (
3087
+ ), Zn = kn ? (
3074
3088
  // Native
3075
3089
  function(t) {
3076
3090
  return t.trimStart();
@@ -3078,9 +3092,9 @@ var vt = Rn ? (
3078
3092
  ) : (
3079
3093
  // Ponyfill
3080
3094
  function(t) {
3081
- return t.replace(Mn, "");
3095
+ return t.replace(Rn, "");
3082
3096
  }
3083
- ), zn = jn ? (
3097
+ ), Qn = Vn ? (
3084
3098
  // Native
3085
3099
  function(t) {
3086
3100
  return t.trimEnd();
@@ -3088,32 +3102,32 @@ var vt = Rn ? (
3088
3102
  ) : (
3089
3103
  // Ponyfill
3090
3104
  function(t) {
3091
- return t.replace($n, "");
3105
+ return t.replace(Un, "");
3092
3106
  }
3093
3107
  );
3094
- function er(e, t) {
3108
+ function nr(e, t) {
3095
3109
  return new RegExp(e, t);
3096
3110
  }
3097
- var Ve;
3098
- if (je) {
3099
- var Et = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
- 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) {
3101
3115
  var n;
3102
- Et.lastIndex = r;
3103
- var i = Et.exec(t);
3116
+ Tt.lastIndex = r;
3117
+ var i = Tt.exec(t);
3104
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3105
3119
  };
3106
3120
  } else
3107
- Ve = function(t, r) {
3121
+ Xe = function(t, r) {
3108
3122
  for (var n = []; ; ) {
3109
- var i = Kt(t, r);
3110
- if (i === void 0 || tr(i) || Jn(i))
3123
+ var i = rr(t, r);
3124
+ if (i === void 0 || ir(i) || Kn(i))
3111
3125
  break;
3112
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3113
3127
  }
3114
- return ke.apply(void 0, n);
3128
+ return Ve.apply(void 0, n);
3115
3129
  };
3116
- var Zn = (
3130
+ var qn = (
3117
3131
  /** @class */
3118
3132
  function() {
3119
3133
  function e(t, r) {
@@ -3143,8 +3157,8 @@ var Zn = (
3143
3157
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3144
3158
  if (n)
3145
3159
  break;
3146
- return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3147
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3160
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3161
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3148
3162
  var s = this.parseTag(t, r);
3149
3163
  if (s.err)
3150
3164
  return s;
@@ -3177,10 +3191,10 @@ var Zn = (
3177
3191
  return o;
3178
3192
  var s = o.val, a = this.clonePosition();
3179
3193
  if (this.bumpIf("</")) {
3180
- if (this.isEOF() || !Xe(this.char()))
3181
- return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3194
+ if (this.isEOF() || !We(this.char()))
3195
+ return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3182
3196
  var h = this.clonePosition(), u = this.parseTagName();
3183
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3184
3198
  val: {
3185
3199
  type: _.tag,
3186
3200
  value: i,
@@ -3188,14 +3202,14 @@ var Zn = (
3188
3202
  location: b(n, this.clonePosition())
3189
3203
  },
3190
3204
  err: null
3191
- } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3205
+ } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3192
3206
  } else
3193
- return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3207
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3194
3208
  } else
3195
- return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3209
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3196
3210
  }, e.prototype.parseTagName = function() {
3197
3211
  var t = this.offset();
3198
- for (this.bump(); !this.isEOF() && qn(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3199
3213
  this.bump();
3200
3214
  return this.message.slice(t, this.offset());
3201
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3224,7 +3238,7 @@ var Zn = (
3224
3238
  };
3225
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3226
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3227
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
3242
  }, e.prototype.tryParseQuote = function(t) {
3229
3243
  if (this.isEOF() || this.char() !== 39)
3230
3244
  return null;
@@ -3258,23 +3272,23 @@ var Zn = (
3258
3272
  r.push(n);
3259
3273
  this.bump();
3260
3274
  }
3261
- return ke.apply(void 0, r);
3275
+ return Ve.apply(void 0, r);
3262
3276
  }, e.prototype.tryParseUnquoted = function(t, r) {
3263
3277
  if (this.isEOF())
3264
3278
  return null;
3265
3279
  var n = this.char();
3266
- 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));
3267
3281
  }, e.prototype.parseArgument = function(t, r) {
3268
3282
  var n = this.clonePosition();
3269
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
3270
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3284
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3271
3285
  if (this.char() === 125)
3272
- return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3286
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3273
3287
  var i = this.parseIdentifierIfPossible().value;
3274
3288
  if (!i)
3275
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3289
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3276
3290
  if (this.bumpSpace(), this.isEOF())
3277
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3291
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3278
3292
  switch (this.char()) {
3279
3293
  case 125:
3280
3294
  return this.bump(), {
@@ -3287,12 +3301,12 @@ var Zn = (
3287
3301
  err: null
3288
3302
  };
3289
3303
  case 44:
3290
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3304
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3291
3305
  default:
3292
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3306
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3293
3307
  }
3294
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3295
- 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;
3296
3310
  this.bumpTo(i);
3297
3311
  var o = this.clonePosition(), s = b(t, o);
3298
3312
  return { value: n, location: s };
@@ -3300,7 +3314,7 @@ var Zn = (
3300
3314
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3301
3315
  switch (a) {
3302
3316
  case "":
3303
- return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3317
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3304
3318
  case "number":
3305
3319
  case "date":
3306
3320
  case "time": {
@@ -3308,40 +3322,40 @@ var Zn = (
3308
3322
  var u = null;
3309
3323
  if (this.bumpIf(",")) {
3310
3324
  this.bumpSpace();
3311
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3312
- if (f.err)
3313
- return f;
3314
- var c = zn(f.val);
3315
- if (c.length === 0)
3316
- return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3317
- var d = b(l, this.clonePosition());
3318
- u = { style: c, styleLocation: d };
3325
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3326
+ if (c.err)
3327
+ return c;
3328
+ var f = Qn(c.val);
3329
+ if (f.length === 0)
3330
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3331
+ var p = b(l, this.clonePosition());
3332
+ u = { style: f, styleLocation: p };
3319
3333
  }
3320
3334
  var v = this.tryParseArgumentClose(i);
3321
3335
  if (v.err)
3322
3336
  return v;
3323
- var p = b(i, this.clonePosition());
3324
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3325
- var T = Wn(u.style.slice(2));
3337
+ var m = b(i, this.clonePosition());
3338
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3339
+ var T = Zn(u.style.slice(2));
3326
3340
  if (a === "number") {
3327
- var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3328
- return f.err ? f : {
3329
- val: { type: _.number, value: n, location: p, style: f.val },
3341
+ var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3342
+ return c.err ? c : {
3343
+ val: { type: _.number, value: n, location: m, style: c.val },
3330
3344
  err: null
3331
3345
  };
3332
3346
  } else {
3333
3347
  if (T.length === 0)
3334
- return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
3348
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3335
3349
  var R = T;
3336
- this.locale && (R = Ln(T, this.locale));
3337
- var c = {
3350
+ this.locale && (R = Mn(T, this.locale));
3351
+ var f = {
3338
3352
  type: Z.dateTime,
3339
3353
  pattern: R,
3340
3354
  location: u.styleLocation,
3341
- parsedOptions: this.shouldParseSkeletons ? wn(R) : {}
3355
+ parsedOptions: this.shouldParseSkeletons ? An(R) : {}
3342
3356
  }, P = a === "date" ? _.date : _.time;
3343
3357
  return {
3344
- val: { type: P, value: n, location: p, style: c },
3358
+ val: { type: P, value: n, location: m, style: f },
3345
3359
  err: null
3346
3360
  };
3347
3361
  }
@@ -3350,7 +3364,7 @@ var Zn = (
3350
3364
  val: {
3351
3365
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3352
3366
  value: n,
3353
- location: p,
3367
+ location: m,
3354
3368
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3355
3369
  },
3356
3370
  err: null
@@ -3361,17 +3375,17 @@ var Zn = (
3361
3375
  case "select": {
3362
3376
  var S = this.clonePosition();
3363
3377
  if (this.bumpSpace(), !this.bumpIf(","))
3364
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3378
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3365
3379
  this.bumpSpace();
3366
3380
  var U = this.parseIdentifierIfPossible(), O = 0;
3367
3381
  if (a !== "select" && U.value === "offset") {
3368
3382
  if (!this.bumpIf(":"))
3369
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3383
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3370
3384
  this.bumpSpace();
3371
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3372
- if (f.err)
3373
- return f;
3374
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = f.val;
3385
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3386
+ if (c.err)
3387
+ return c;
3388
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
3375
3389
  }
3376
3390
  var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
3377
3391
  if (G.err)
@@ -3384,7 +3398,7 @@ var Zn = (
3384
3398
  val: {
3385
3399
  type: _.select,
3386
3400
  value: n,
3387
- options: _t(G.val),
3401
+ options: xt(G.val),
3388
3402
  location: g
3389
3403
  },
3390
3404
  err: null
@@ -3392,7 +3406,7 @@ var Zn = (
3392
3406
  val: {
3393
3407
  type: _.plural,
3394
3408
  value: n,
3395
- options: _t(G.val),
3409
+ options: xt(G.val),
3396
3410
  offset: O,
3397
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3398
3412
  location: g
@@ -3401,10 +3415,10 @@ var Zn = (
3401
3415
  };
3402
3416
  }
3403
3417
  default:
3404
- return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3418
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3405
3419
  }
3406
3420
  }, e.prototype.tryParseArgumentClose = function(t) {
3407
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3421
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3408
3422
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3409
3423
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3410
3424
  var n = this.char();
@@ -3413,7 +3427,7 @@ var Zn = (
3413
3427
  this.bump();
3414
3428
  var i = this.clonePosition();
3415
3429
  if (!this.bumpUntil("'"))
3416
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3430
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3417
3431
  this.bump();
3418
3432
  break;
3419
3433
  }
@@ -3443,52 +3457,52 @@ var Zn = (
3443
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3444
3458
  var n = [];
3445
3459
  try {
3446
- n = An(t);
3460
+ n = On(t);
3447
3461
  } catch (i) {
3448
- return this.error(m.INVALID_NUMBER_SKELETON, r);
3462
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3449
3463
  }
3450
3464
  return {
3451
3465
  val: {
3452
3466
  type: Z.number,
3453
3467
  tokens: n,
3454
3468
  location: r,
3455
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3456
3470
  },
3457
3471
  err: null
3458
3472
  };
3459
3473
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3460
3474
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3461
3475
  if (u.length === 0) {
3462
- var f = this.clonePosition();
3476
+ var c = this.clonePosition();
3463
3477
  if (r !== "select" && this.bumpIf("=")) {
3464
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3465
- if (c.err)
3466
- return c;
3467
- l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3478
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3479
+ if (f.err)
3480
+ return f;
3481
+ l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3468
3482
  } else
3469
3483
  break;
3470
3484
  }
3471
3485
  if (h.has(u))
3472
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3486
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3473
3487
  u === "other" && (s = !0), this.bumpSpace();
3474
- var d = this.clonePosition();
3488
+ var p = this.clonePosition();
3475
3489
  if (!this.bumpIf("{"))
3476
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3490
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3477
3491
  var v = this.parseMessage(t + 1, r, n);
3478
3492
  if (v.err)
3479
3493
  return v;
3480
- var p = this.tryParseArgumentClose(d);
3481
- if (p.err)
3482
- return p;
3494
+ var m = this.tryParseArgumentClose(p);
3495
+ if (m.err)
3496
+ return m;
3483
3497
  a.push([
3484
3498
  u,
3485
3499
  {
3486
3500
  value: v.val,
3487
- location: b(d, this.clonePosition())
3501
+ location: b(p, this.clonePosition())
3488
3502
  }
3489
3503
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3490
3504
  }
3491
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3492
3506
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3493
3507
  var n = 1, i = this.clonePosition();
3494
3508
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3500,7 +3514,7 @@ var Zn = (
3500
3514
  break;
3501
3515
  }
3502
3516
  var h = b(i, this.clonePosition());
3503
- return o ? (s *= n, Vn(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);
3504
3518
  }, e.prototype.offset = function() {
3505
3519
  return this.position.offset;
3506
3520
  }, e.prototype.isEOF = function() {
@@ -3515,7 +3529,7 @@ var Zn = (
3515
3529
  var t = this.position.offset;
3516
3530
  if (t >= this.message.length)
3517
3531
  throw Error("out of bound");
3518
- var r = Kt(this.message, t);
3532
+ var r = rr(this.message, t);
3519
3533
  if (r === void 0)
3520
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3521
3535
  return r;
@@ -3534,7 +3548,7 @@ var Zn = (
3534
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);
3535
3549
  }
3536
3550
  }, e.prototype.bumpIf = function(t) {
3537
- if (vt(this.message, t, this.offset())) {
3551
+ if (Et(this.message, t, this.offset())) {
3538
3552
  for (var r = 0; r < t.length; r++)
3539
3553
  this.bump();
3540
3554
  return !0;
@@ -3556,7 +3570,7 @@ var Zn = (
3556
3570
  break;
3557
3571
  }
3558
3572
  }, e.prototype.bumpSpace = function() {
3559
- for (; !this.isEOF() && tr(this.char()); )
3573
+ for (; !this.isEOF() && ir(this.char()); )
3560
3574
  this.bump();
3561
3575
  }, e.prototype.peek = function() {
3562
3576
  if (this.isEOF())
@@ -3566,38 +3580,38 @@ var Zn = (
3566
3580
  }, e;
3567
3581
  }()
3568
3582
  );
3569
- function Xe(e) {
3583
+ function We(e) {
3570
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3571
3585
  }
3572
- function Qn(e) {
3573
- return Xe(e) || e === 47;
3586
+ function Jn(e) {
3587
+ return We(e) || e === 47;
3574
3588
  }
3575
- function qn(e) {
3589
+ function Yn(e) {
3576
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;
3577
3591
  }
3578
- function tr(e) {
3592
+ function ir(e) {
3579
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3580
3594
  }
3581
- function Jn(e) {
3595
+ function Kn(e) {
3582
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;
3583
3597
  }
3584
- function We(e) {
3598
+ function ze(e) {
3585
3599
  e.forEach(function(t) {
3586
- if (delete t.location, Xt(t) || Wt(t))
3600
+ if (delete t.location, Zt(t) || Qt(t))
3587
3601
  for (var r in t.options)
3588
- delete t.options[r].location, We(t.options[r].value);
3602
+ delete t.options[r].location, ze(t.options[r].value);
3589
3603
  else
3590
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Fe(t.style) ? delete t.style.location : zt(t) && We(t.children);
3604
+ Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && je(t.style) ? delete t.style.location : qt(t) && ze(t.children);
3591
3605
  });
3592
3606
  }
3593
- function Yn(e, t) {
3607
+ function ei(e, t) {
3594
3608
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3595
- var r = new Zn(e, t).parse();
3609
+ var r = new qn(e, t).parse();
3596
3610
  if (r.err) {
3597
- var n = SyntaxError(m[r.err.kind]);
3611
+ var n = SyntaxError(d[r.err.kind]);
3598
3612
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3599
3613
  }
3600
- return t != null && t.captureLocation || We(r.val), r.val;
3614
+ return t != null && t.captureLocation || ze(r.val), r.val;
3601
3615
  }
3602
3616
  var Q;
3603
3617
  (function(e) {
@@ -3615,7 +3629,7 @@ var Ee = (
3615
3629
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3616
3630
  }, t;
3617
3631
  }(Error)
3618
- ), xt = (
3632
+ ), Ht = (
3619
3633
  /** @class */
3620
3634
  function(e) {
3621
3635
  L(t, e);
@@ -3624,7 +3638,7 @@ var Ee = (
3624
3638
  }
3625
3639
  return t;
3626
3640
  }(Ee)
3627
- ), Kn = (
3641
+ ), ti = (
3628
3642
  /** @class */
3629
3643
  function(e) {
3630
3644
  L(t, e);
@@ -3633,7 +3647,7 @@ var Ee = (
3633
3647
  }
3634
3648
  return t;
3635
3649
  }(Ee)
3636
- ), ei = (
3650
+ ), ri = (
3637
3651
  /** @class */
3638
3652
  function(e) {
3639
3653
  L(t, e);
@@ -3646,17 +3660,17 @@ var Ee = (
3646
3660
  (function(e) {
3647
3661
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3648
3662
  })(H || (H = {}));
3649
- function ti(e) {
3663
+ function ni(e) {
3650
3664
  return e.length < 2 ? e : e.reduce(function(t, r) {
3651
3665
  var n = t[t.length - 1];
3652
3666
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3653
3667
  }, []);
3654
3668
  }
3655
- function ri(e) {
3669
+ function ii(e) {
3656
3670
  return typeof e == "function";
3657
3671
  }
3658
- function me(e, t, r, n, i, o, s) {
3659
- if (e.length === 1 && mt(e[0]))
3672
+ function de(e, t, r, n, i, o, s) {
3673
+ if (e.length === 1 && yt(e[0]))
3660
3674
  return [
3661
3675
  {
3662
3676
  type: H.literal,
@@ -3665,60 +3679,60 @@ function me(e, t, r, n, i, o, s) {
3665
3679
  ];
3666
3680
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3667
3681
  var l = u[h];
3668
- if (mt(l)) {
3682
+ if (yt(l)) {
3669
3683
  a.push({
3670
3684
  type: H.literal,
3671
3685
  value: l.value
3672
3686
  });
3673
3687
  continue;
3674
3688
  }
3675
- if (Hn(l)) {
3689
+ if (wn(l)) {
3676
3690
  typeof o == "number" && a.push({
3677
3691
  type: H.literal,
3678
3692
  value: r.getNumberFormat(t).format(o)
3679
3693
  });
3680
3694
  continue;
3681
3695
  }
3682
- var f = l.value;
3683
- if (!(i && f in i))
3684
- throw new ei(f, s);
3685
- var c = i[f];
3686
- if (Tn(l)) {
3687
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3688
- type: typeof c == "string" ? H.literal : H.object,
3689
- value: c
3696
+ var c = l.value;
3697
+ if (!(i && c in i))
3698
+ throw new ri(c, s);
3699
+ var f = i[c];
3700
+ if (Sn(l)) {
3701
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3702
+ type: typeof f == "string" ? H.literal : H.object,
3703
+ value: f
3690
3704
  });
3691
3705
  continue;
3692
3706
  }
3693
- if (kt(l)) {
3694
- var d = 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;
3695
3709
  a.push({
3696
3710
  type: H.literal,
3697
- value: r.getDateTimeFormat(t, d).format(c)
3711
+ value: r.getDateTimeFormat(t, p).format(f)
3698
3712
  });
3699
3713
  continue;
3700
3714
  }
3701
- if (Vt(l)) {
3702
- var d = 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;
3703
3717
  a.push({
3704
3718
  type: H.literal,
3705
- value: r.getDateTimeFormat(t, d).format(c)
3719
+ value: r.getDateTimeFormat(t, p).format(f)
3706
3720
  });
3707
3721
  continue;
3708
3722
  }
3709
- if (jt(l)) {
3710
- var d = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3711
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3723
+ if (Xt(l)) {
3724
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3725
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3712
3726
  type: H.literal,
3713
- value: r.getNumberFormat(t, d).format(c)
3727
+ value: r.getNumberFormat(t, p).format(f)
3714
3728
  });
3715
3729
  continue;
3716
3730
  }
3717
- if (zt(l)) {
3718
- var v = l.children, p = l.value, T = i[p];
3719
- if (!ri(T))
3720
- throw new Kn(p, "function", s);
3721
- var R = me(v, t, r, n, i, o), P = T(R.map(function(O) {
3731
+ if (qt(l)) {
3732
+ var v = l.children, m = l.value, T = i[m];
3733
+ if (!ii(T))
3734
+ throw new ti(m, "function", s);
3735
+ var R = de(v, t, r, n, i, o), P = T(R.map(function(O) {
3722
3736
  return O.value;
3723
3737
  }));
3724
3738
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
@@ -3728,42 +3742,42 @@ function me(e, t, r, n, i, o, s) {
3728
3742
  };
3729
3743
  }));
3730
3744
  }
3731
- if (Xt(l)) {
3732
- var S = l.options[c] || l.options.other;
3745
+ if (Zt(l)) {
3746
+ var S = l.options[f] || l.options.other;
3733
3747
  if (!S)
3734
- throw new xt(l.value, c, Object.keys(l.options), s);
3735
- a.push.apply(a, me(S.value, t, r, n, i));
3748
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3749
+ a.push.apply(a, de(S.value, t, r, n, i));
3736
3750
  continue;
3737
3751
  }
3738
- if (Wt(l)) {
3739
- var S = l.options["=".concat(c)];
3752
+ if (Qt(l)) {
3753
+ var S = l.options["=".concat(f)];
3740
3754
  if (!S) {
3741
3755
  if (!Intl.PluralRules)
3742
3756
  throw new Ee(`Intl.PluralRules is not available in this environment.
3743
3757
  Try polyfilling it using "@formatjs/intl-pluralrules"
3744
3758
  `, Q.MISSING_INTL_API, s);
3745
- var U = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3759
+ var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3746
3760
  S = l.options[U] || l.options.other;
3747
3761
  }
3748
3762
  if (!S)
3749
- throw new xt(l.value, c, Object.keys(l.options), s);
3750
- a.push.apply(a, me(S.value, t, r, n, i, c - (l.offset || 0)));
3763
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3764
+ a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
3751
3765
  continue;
3752
3766
  }
3753
3767
  }
3754
- return ti(a);
3768
+ return ni(a);
3755
3769
  }
3756
- function ni(e, t) {
3770
+ function oi(e, t) {
3757
3771
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3758
3772
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3759
3773
  }, {})) : e;
3760
3774
  }
3761
- function ii(e, t) {
3775
+ function si(e, t) {
3762
3776
  return t ? Object.keys(e).reduce(function(r, n) {
3763
- return r[n] = ni(e[n], t[n]), r;
3777
+ return r[n] = oi(e[n], t[n]), r;
3764
3778
  }, y({}, e)) : e;
3765
3779
  }
3766
- function Oe(e) {
3780
+ function Ie(e) {
3767
3781
  return {
3768
3782
  create: function() {
3769
3783
  return {
@@ -3777,39 +3791,39 @@ function Oe(e) {
3777
3791
  }
3778
3792
  };
3779
3793
  }
3780
- function oi(e) {
3794
+ function ai(e) {
3781
3795
  return e === void 0 && (e = {
3782
3796
  number: {},
3783
3797
  dateTime: {},
3784
3798
  pluralRules: {}
3785
3799
  }), {
3786
- getNumberFormat: Be(function() {
3800
+ getNumberFormat: Ae(function() {
3787
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3802
  r[n] = arguments[n];
3789
3803
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3790
3804
  }, {
3791
- cache: Oe(e.number),
3792
- strategy: Ae.variadic
3805
+ cache: Ie(e.number),
3806
+ strategy: Pe.variadic
3793
3807
  }),
3794
- getDateTimeFormat: Be(function() {
3808
+ getDateTimeFormat: Ae(function() {
3795
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3810
  r[n] = arguments[n];
3797
3811
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3798
3812
  }, {
3799
- cache: Oe(e.dateTime),
3800
- strategy: Ae.variadic
3813
+ cache: Ie(e.dateTime),
3814
+ strategy: Pe.variadic
3801
3815
  }),
3802
- getPluralRules: Be(function() {
3816
+ getPluralRules: Ae(function() {
3803
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3818
  r[n] = arguments[n];
3805
3819
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3806
3820
  }, {
3807
- cache: Oe(e.pluralRules),
3808
- strategy: Ae.variadic
3821
+ cache: Ie(e.pluralRules),
3822
+ strategy: Pe.variadic
3809
3823
  })
3810
3824
  };
3811
3825
  }
3812
- var si = (
3826
+ var ui = (
3813
3827
  /** @class */
3814
3828
  function() {
3815
3829
  function e(t, r, n, i) {
@@ -3823,12 +3837,12 @@ var si = (
3823
3837
  var u = o.formatToParts(h);
3824
3838
  if (u.length === 1)
3825
3839
  return u[0].value;
3826
- var l = u.reduce(function(f, c) {
3827
- return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3840
+ var l = u.reduce(function(c, f) {
3841
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3828
3842
  }, []);
3829
3843
  return l.length <= 1 ? l[0] || "" : l;
3830
3844
  }, this.formatToParts = function(h) {
3831
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3845
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3832
3846
  }, this.resolvedOptions = function() {
3833
3847
  var h;
3834
3848
  return {
@@ -3841,13 +3855,13 @@ var si = (
3841
3855
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3842
3856
  var s = i || {};
3843
3857
  s.formatters;
3844
- var a = Rr(s, ["formatters"]);
3858
+ var a = Gr(s, ["formatters"]);
3845
3859
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3846
3860
  } else
3847
3861
  this.ast = t;
3848
3862
  if (!Array.isArray(this.ast))
3849
3863
  throw new TypeError("A message must be provided as a String or AST.");
3850
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3864
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3851
3865
  }
3852
3866
  return Object.defineProperty(e, "defaultLocale", {
3853
3867
  get: function() {
@@ -3860,7 +3874,7 @@ var si = (
3860
3874
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3861
3875
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3862
3876
  }
3863
- }, e.__parse = Yn, e.formats = {
3877
+ }, e.__parse = ei, e.formats = {
3864
3878
  number: {
3865
3879
  integer: {
3866
3880
  maximumFractionDigits: 0
@@ -3921,7 +3935,7 @@ var si = (
3921
3935
  }, e;
3922
3936
  }()
3923
3937
  );
3924
- function ai(e, t) {
3938
+ function hi(e, t) {
3925
3939
  if (t == null)
3926
3940
  return;
3927
3941
  if (t in e)
@@ -3942,92 +3956,92 @@ function ai(e, t) {
3942
3956
  n = void 0;
3943
3957
  return n;
3944
3958
  }
3945
- const $ = {}, ui = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3959
+ const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3946
3960
  if (t == null)
3947
3961
  return;
3948
3962
  if (t in $ && e in $[t])
3949
3963
  return $[t][e];
3950
3964
  const r = xe(t);
3951
3965
  for (let n = 0; n < r.length; n++) {
3952
- const i = r[n], o = li(i, e);
3966
+ const i = r[n], o = fi(i, e);
3953
3967
  if (o)
3954
- return ui(e, t, o);
3968
+ return li(e, t, o);
3955
3969
  }
3956
3970
  };
3957
- let Ye;
3971
+ let et;
3958
3972
  const he = _e({});
3959
- function hi(e) {
3960
- return Ye[e] || null;
3973
+ function ci(e) {
3974
+ return et[e] || null;
3961
3975
  }
3962
- function nr(e) {
3963
- return e in Ye;
3976
+ function sr(e) {
3977
+ return e in et;
3964
3978
  }
3965
- function li(e, t) {
3966
- if (!nr(e))
3979
+ function fi(e, t) {
3980
+ if (!sr(e))
3967
3981
  return null;
3968
- const r = hi(e);
3969
- return ai(r, t);
3982
+ const r = ci(e);
3983
+ return hi(r, t);
3970
3984
  }
3971
- function fi(e) {
3985
+ function pi(e) {
3972
3986
  if (e == null)
3973
3987
  return;
3974
3988
  const t = xe(e);
3975
3989
  for (let r = 0; r < t.length; r++) {
3976
3990
  const n = t[r];
3977
- if (nr(n))
3991
+ if (sr(n))
3978
3992
  return n;
3979
3993
  }
3980
3994
  }
3981
- function ir(e, ...t) {
3982
- 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));
3983
3997
  }
3984
3998
  Y(
3985
3999
  [he],
3986
4000
  ([e]) => Object.keys(e)
3987
4001
  );
3988
- he.subscribe((e) => Ye = e);
4002
+ he.subscribe((e) => et = e);
3989
4003
  const be = {};
3990
- function ci(e, t) {
4004
+ function mi(e, t) {
3991
4005
  be[e].delete(t), be[e].size === 0 && delete be[e];
3992
4006
  }
3993
- function or(e) {
4007
+ function ur(e) {
3994
4008
  return be[e];
3995
4009
  }
3996
4010
  function di(e) {
3997
4011
  return xe(e).map((t) => {
3998
- const r = or(t);
4012
+ const r = ur(t);
3999
4013
  return [t, r ? [...r] : []];
4000
4014
  }).filter(([, t]) => t.length > 0);
4001
4015
  }
4002
- function ze(e) {
4016
+ function Ze(e) {
4003
4017
  return e == null ? !1 : xe(e).some(
4004
4018
  (t) => {
4005
4019
  var r;
4006
- return (r = or(t)) == null ? void 0 : r.size;
4020
+ return (r = ur(t)) == null ? void 0 : r.size;
4007
4021
  }
4008
4022
  );
4009
4023
  }
4010
- function pi(e, t) {
4024
+ function bi(e, t) {
4011
4025
  return Promise.all(
4012
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
4013
- ).then((n) => ir(e, ...n));
4026
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4027
+ ).then((n) => ar(e, ...n));
4014
4028
  }
4015
4029
  const te = {};
4016
- function sr(e) {
4017
- if (!ze(e))
4030
+ function hr(e) {
4031
+ if (!Ze(e))
4018
4032
  return e in te ? te[e] : Promise.resolve();
4019
4033
  const t = di(e);
4020
4034
  return te[e] = Promise.all(
4021
4035
  t.map(
4022
- ([r, n]) => pi(r, n)
4036
+ ([r, n]) => bi(r, n)
4023
4037
  )
4024
4038
  ).then(() => {
4025
- if (ze(e))
4026
- return sr(e);
4039
+ if (Ze(e))
4040
+ return hr(e);
4027
4041
  delete te[e];
4028
4042
  }), te[e];
4029
4043
  }
4030
- const mi = {
4044
+ const yi = {
4031
4045
  number: {
4032
4046
  scientific: { notation: "scientific" },
4033
4047
  engineering: { notation: "engineering" },
@@ -4056,57 +4070,57 @@ const mi = {
4056
4070
  timeZoneName: "short"
4057
4071
  }
4058
4072
  }
4059
- }, bi = {
4073
+ }, gi = {
4060
4074
  fallbackLocale: null,
4061
4075
  loadingDelay: 200,
4062
- formats: mi,
4076
+ formats: yi,
4063
4077
  warnOnMissingMessages: !0,
4064
4078
  handleMissingMessage: void 0,
4065
4079
  ignoreTag: !0
4066
- }, yi = bi;
4080
+ }, vi = gi;
4067
4081
  function q() {
4068
- return yi;
4069
- }
4070
- const Ie = _e(!1);
4071
- var gi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4072
- for (var r in t)
4073
- Ei.call(t, r) && Ht(e, r, t[r]);
4074
- if (Tt)
4075
- for (var r of Tt(t))
4076
- xi.call(t, r) && Ht(e, r, t[r]);
4082
+ return vi;
4083
+ }
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) => {
4086
+ for (var r in t || (t = {}))
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]);
4077
4091
  return e;
4078
- }, Hi = (e, t) => vi(e, _i(t));
4079
- let Ze;
4092
+ }, wi = (e, t) => Ei(e, xi(t));
4093
+ let Qe;
4080
4094
  const ye = _e(null);
4081
- function St(e) {
4095
+ function Bt(e) {
4082
4096
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4083
4097
  }
4084
4098
  function xe(e, t = q().fallbackLocale) {
4085
- const r = St(e);
4086
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4099
+ const r = Bt(e);
4100
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4087
4101
  }
4088
4102
  function D() {
4089
- return Ze != null ? Ze : void 0;
4103
+ return Qe != null ? Qe : void 0;
4090
4104
  }
4091
4105
  ye.subscribe((e) => {
4092
- 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);
4093
4107
  });
4094
- const Si = (e) => {
4095
- if (e && fi(e) && ze(e)) {
4108
+ const Bi = (e) => {
4109
+ if (e && pi(e) && Ze(e)) {
4096
4110
  const { loadingDelay: t } = q();
4097
4111
  let r;
4098
4112
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4099
- () => Ie.set(!0),
4113
+ () => Ne.set(!0),
4100
4114
  t
4101
- ) : Ie.set(!0), sr(e).then(() => {
4115
+ ) : Ne.set(!0), hr(e).then(() => {
4102
4116
  ye.set(e);
4103
4117
  }).finally(() => {
4104
- clearTimeout(r), Ie.set(!1);
4118
+ clearTimeout(r), Ne.set(!1);
4105
4119
  });
4106
4120
  }
4107
4121
  return ye.set(e);
4108
- }, K = Hi(Ti({}, ye), {
4109
- set: Si
4122
+ }, K = wi(Si({}, ye), {
4123
+ set: Bi
4110
4124
  }), Te = (e) => {
4111
4125
  const t = /* @__PURE__ */ Object.create(null);
4112
4126
  return (n) => {
@@ -4114,20 +4128,20 @@ const Si = (e) => {
4114
4128
  return i in t ? t[i] : t[i] = e(n);
4115
4129
  };
4116
4130
  };
4117
- var wi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (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) => {
4118
4132
  for (var r in t || (t = {}))
4119
- ar.call(t, r) && wt(e, r, t[r]);
4133
+ lr.call(t, r) && At(e, r, t[r]);
4120
4134
  if (ge)
4121
4135
  for (var r of ge(t))
4122
- ur.call(t, r) && wt(e, r, t[r]);
4136
+ cr.call(t, r) && At(e, r, t[r]);
4123
4137
  return e;
4124
4138
  }, ee = (e, t) => {
4125
4139
  var r = {};
4126
4140
  for (var n in e)
4127
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
4142
  if (e != null && ge)
4129
4143
  for (var n of ge(e))
4130
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4144
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4131
4145
  return r;
4132
4146
  };
4133
4147
  const se = (e, t) => {
@@ -4135,21 +4149,21 @@ const se = (e, t) => {
4135
4149
  if (e in r && t in r[e])
4136
4150
  return r[e][t];
4137
4151
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4138
- }, Bi = Te(
4152
+ }, Pi = Te(
4139
4153
  (e) => {
4140
4154
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4141
4155
  if (r == null)
4142
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4143
4157
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4144
4158
  }
4145
- ), Ai = Te(
4159
+ ), Oi = Te(
4146
4160
  (e) => {
4147
4161
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4148
4162
  if (r == null)
4149
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4150
4164
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4151
4165
  }
4152
- ), Pi = Te(
4166
+ ), Ii = Te(
4153
4167
  (e) => {
4154
4168
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4155
4169
  if (r == null)
@@ -4158,33 +4172,33 @@ const se = (e, t) => {
4158
4172
  );
4159
4173
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4160
4174
  }
4161
- ), Oi = (e = {}) => {
4175
+ ), Ni = (e = {}) => {
4162
4176
  var t = e, {
4163
4177
  locale: r = D()
4164
4178
  } = t, n = ee(t, [
4165
4179
  "locale"
4166
4180
  ]);
4167
- return Bi(Ke({ locale: r }, n));
4168
- }, Ii = (e = {}) => {
4181
+ return Pi(tt({ locale: r }, n));
4182
+ }, Li = (e = {}) => {
4169
4183
  var t = e, {
4170
4184
  locale: r = D()
4171
4185
  } = t, n = ee(t, [
4172
4186
  "locale"
4173
4187
  ]);
4174
- return Ai(Ke({ locale: r }, n));
4175
- }, Ni = (e = {}) => {
4188
+ return Oi(tt({ locale: r }, n));
4189
+ }, Ci = (e = {}) => {
4176
4190
  var t = e, {
4177
4191
  locale: r = D()
4178
4192
  } = t, n = ee(t, [
4179
4193
  "locale"
4180
4194
  ]);
4181
- return Pi(Ke({ locale: r }, n));
4182
- }, Li = Te(
4195
+ return Ii(tt({ locale: r }, n));
4196
+ }, Mi = Te(
4183
4197
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4184
- (e, t = D()) => new si(e, t, q().formats, {
4198
+ (e, t = D()) => new ui(e, t, q().formats, {
4185
4199
  ignoreTag: q().ignoreTag
4186
4200
  })
4187
- ), Ci = (e, t = {}) => {
4201
+ ), $i = (e, t = {}) => {
4188
4202
  var r, n, i, o;
4189
4203
  let s = t;
4190
4204
  typeof e == "object" && (s = e, e = s.id);
@@ -4197,7 +4211,7 @@ const se = (e, t) => {
4197
4211
  throw new Error(
4198
4212
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4199
4213
  );
4200
- let l = rr(e, h);
4214
+ let l = or(e, h);
4201
4215
  if (!l)
4202
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;
4203
4217
  else if (typeof l != "string")
@@ -4206,30 +4220,30 @@ const se = (e, t) => {
4206
4220
  ), l;
4207
4221
  if (!a)
4208
4222
  return l;
4209
- let f = l;
4223
+ let c = l;
4210
4224
  try {
4211
- f = Li(l, h).format(a);
4212
- } catch (c) {
4213
- c instanceof Error && console.warn(
4225
+ c = Mi(l, h).format(a);
4226
+ } catch (f) {
4227
+ f instanceof Error && console.warn(
4214
4228
  `[svelte-i18n] Message "${e}" has syntax error:`,
4215
- c.message
4229
+ f.message
4216
4230
  );
4217
4231
  }
4218
- return f;
4219
- }, Mi = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t = D()) => rr(e, t), Di = Y([K, he], () => Ci);
4220
- Y([K], () => Mi);
4221
- Y([K], () => $i);
4232
+ return c;
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);
4222
4234
  Y([K], () => Ri);
4223
- Y([K, he], () => Ui);
4224
- window.emWidgets = { topic: Jr };
4225
- const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4226
- function Bt(e, t) {
4227
- ir(e, t);
4228
- }
4229
- function Fi(e) {
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) {
4230
4244
  K.set(e);
4231
4245
  }
4232
- const At = {
4246
+ const Ot = {
4233
4247
  en: {
4234
4248
  titleTransactionHistory: "Transaction History",
4235
4249
  loading: "Loading, please wait ..."
@@ -4271,13 +4285,13 @@ const At = {
4271
4285
  loading: "Loading, please wait ..."
4272
4286
  }
4273
4287
  };
4274
- function ji(e, t) {
4288
+ function Vi(e, t) {
4275
4289
  if (e) {
4276
4290
  const r = document.createElement("style");
4277
4291
  r.innerHTML = t, e.appendChild(r);
4278
4292
  }
4279
4293
  }
4280
- function ki(e, t) {
4294
+ function Xi(e, t) {
4281
4295
  const r = new URL(t);
4282
4296
  fetch(r.href).then((n) => n.text()).then((n) => {
4283
4297
  const i = document.createElement("style");
@@ -4286,7 +4300,7 @@ function ki(e, t) {
4286
4300
  console.error("There was an error while trying to load client styling from URL", n);
4287
4301
  });
4288
4302
  }
4289
- function Vi(e, t, r) {
4303
+ function Wi(e, t, r) {
4290
4304
  if (window.emMessageBus) {
4291
4305
  const n = document.createElement("style");
4292
4306
  window.emMessageBus.subscribe(t, (i) => {
@@ -4294,41 +4308,41 @@ function Vi(e, t, r) {
4294
4308
  });
4295
4309
  }
4296
4310
  }
4297
- function Xi(e) {
4298
- br(e, "svelte-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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}");
4299
4313
  }
4300
- function Wi(e) {
4301
- let t, r, n, i, o, s, a, h, u, l, f = (
4314
+ function Zi(e) {
4315
+ let t, r, n, i, o, s, a, h, u, l, c = (
4302
4316
  /*$_*/
4303
4317
  e[3]("titleTransactionHistory") + ""
4304
- ), c, d, v;
4318
+ ), f, p, v;
4305
4319
  return {
4306
4320
  c() {
4307
- 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"), c = ne(f), 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");
4308
4322
  },
4309
- m(p, T) {
4310
- ue(p, 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, c), d || (v = vr(
4323
+ m(m, T) {
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(
4311
4325
  t,
4312
4326
  "click",
4313
4327
  /*click_handler*/
4314
4328
  e[14]
4315
- ), d = !0);
4329
+ ), p = !0);
4316
4330
  },
4317
- p(p, T) {
4331
+ p(m, T) {
4318
4332
  T & /*$_*/
4319
- 8 && f !== (f = /*$_*/
4320
- p[3]("titleTransactionHistory") + "") && qe(c, f);
4333
+ 8 && c !== (c = /*$_*/
4334
+ m[3]("titleTransactionHistory") + "") && Je(f, c);
4321
4335
  },
4322
- d(p) {
4323
- p && J(t), d = !1, v();
4336
+ d(m) {
4337
+ m && J(t), p = !1, v();
4324
4338
  }
4325
4339
  };
4326
4340
  }
4327
- function zi(e) {
4341
+ function Qi(e) {
4328
4342
  let t, r, n;
4329
4343
  return {
4330
4344
  c() {
4331
- t = N("div"), r = N("iframe"), ot(r.src, n = /*iframeUrl*/
4345
+ t = N("div"), r = N("iframe"), at(r.src, n = /*iframeUrl*/
4332
4346
  e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
4333
4347
  },
4334
4348
  m(i, o) {
@@ -4336,7 +4350,7 @@ function zi(e) {
4336
4350
  },
4337
4351
  p(i, o) {
4338
4352
  o & /*iframeUrl*/
4339
- 4 && !ot(r.src, n = /*iframeUrl*/
4353
+ 4 && !at(r.src, n = /*iframeUrl*/
4340
4354
  i[2]) && E(r, "src", n);
4341
4355
  },
4342
4356
  d(i) {
@@ -4344,7 +4358,7 @@ function zi(e) {
4344
4358
  }
4345
4359
  };
4346
4360
  }
4347
- function Zi(e) {
4361
+ function qi(e) {
4348
4362
  let t, r = (
4349
4363
  /*$_*/
4350
4364
  e[3]("loading") + ""
@@ -4359,65 +4373,65 @@ function Zi(e) {
4359
4373
  p(i, o) {
4360
4374
  o & /*$_*/
4361
4375
  8 && r !== (r = /*$_*/
4362
- i[3]("loading") + "") && qe(n, r);
4376
+ i[3]("loading") + "") && Je(n, r);
4363
4377
  },
4364
4378
  d(i) {
4365
4379
  i && J(t);
4366
4380
  }
4367
4381
  };
4368
4382
  }
4369
- function Qi(e) {
4383
+ function Ji(e) {
4370
4384
  let t, r, n, i = (
4371
4385
  /*$_*/
4372
4386
  e[3]("titleTransactionHistory") + ""
4373
4387
  ), o, s, a = (
4374
4388
  /*isMobile*/
4375
- e[4] && Wi(e)
4389
+ e[4] && Zi(e)
4376
4390
  );
4377
- function h(f, c) {
4391
+ function h(c, f) {
4378
4392
  return (
4379
4393
  /*isLoading*/
4380
- f[1] ? Zi : zi
4394
+ c[1] ? qi : Qi
4381
4395
  );
4382
4396
  }
4383
4397
  let u = h(e), l = u(e);
4384
4398
  return {
4385
4399
  c() {
4386
- 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*/
4387
4401
  (e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
4388
4402
  (e[4] ? "TransactionHistoryWrapperMobile" : ""));
4389
4403
  },
4390
- m(f, c) {
4391
- ue(f, t, c), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[15](t);
4404
+ m(c, f) {
4405
+ ue(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[15](t);
4392
4406
  },
4393
- p(f, [c]) {
4407
+ p(c, [f]) {
4394
4408
  /*isMobile*/
4395
- f[4] && a.p(f, c), c & /*$_*/
4409
+ c[4] && a.p(c, f), f & /*$_*/
4396
4410
  8 && i !== (i = /*$_*/
4397
- f[3]("titleTransactionHistory") + "") && qe(o, i), u === (u = h(f)) && l ? l.p(f, c) : (l.d(1), l = u(f), 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)));
4398
4412
  },
4399
4413
  i: B,
4400
4414
  o: B,
4401
- d(f) {
4402
- f && J(t), a && a.d(), l.d(), e[15](null);
4415
+ d(c) {
4416
+ c && J(t), a && a.d(), l.d(), e[15](null);
4403
4417
  }
4404
4418
  };
4405
4419
  }
4406
- function qi(e, t, r) {
4420
+ function Yi(e, t, r) {
4407
4421
  let n;
4408
- mr(e, Di, (g) => r(3, n = g));
4409
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: f = "" } = t, c, d = window.navigator.userAgent, v = Gi(d) !== "PC", p = !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 = "";
4410
4424
  const R = () => {
4411
- fetch(f).then((C) => C.json()).then((C) => {
4425
+ fetch(c).then((C) => C.json()).then((C) => {
4412
4426
  Object.keys(C).forEach((M) => {
4413
- Bt(M, C[M]);
4427
+ Pt(M, C[M]);
4414
4428
  });
4415
4429
  }).catch((C) => {
4416
4430
  console.log(C);
4417
4431
  });
4418
4432
  };
4419
- Object.keys(At).forEach((g) => {
4420
- Bt(g, At[g]);
4433
+ Object.keys(Ot).forEach((g) => {
4434
+ Pt(g, Ot[g]);
4421
4435
  });
4422
4436
  const P = () => {
4423
4437
  window.postMessage(
@@ -4439,36 +4453,36 @@ function qi(e, t, r) {
4439
4453
  };
4440
4454
  fetch(g.href, C).then((M) => M.json()).then(
4441
4455
  (M) => {
4442
- r(1, p = !1), r(2, T = M.CashierUrl);
4456
+ r(1, m = !1), r(2, T = M.CashierUrl);
4443
4457
  },
4444
4458
  (M) => {
4445
4459
  console.error(M);
4446
4460
  }
4447
4461
  );
4448
4462
  }, U = () => {
4449
- Fi(a);
4463
+ ki(a);
4450
4464
  };
4451
- Tr(() => () => {
4465
+ wr(() => () => {
4452
4466
  });
4453
4467
  const O = () => P();
4454
4468
  function G(g) {
4455
- Le[g ? "unshift" : "push"](() => {
4456
- c = g, r(0, c);
4469
+ Ce[g ? "unshift" : "push"](() => {
4470
+ f = g, r(0, f);
4457
4471
  });
4458
4472
  }
4459
4473
  return e.$$set = (g) => {
4460
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "playerid" in g && r(8, s = g.playerid), "lang" in g && r(9, a = g.lang), "clientstyling" in g && r(10, h = g.clientstyling), "clientstylingurl" in g && r(11, u = g.clientstylingurl), "mbsource" in g && r(12, l = g.mbsource), "translationurl" in g && r(13, f = g.translationurl);
4474
+ "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "playerid" in g && r(8, s = g.playerid), "lang" in g && r(9, a = g.lang), "clientstyling" in g && r(10, h = g.clientstyling), "clientstylingurl" in g && r(11, u = g.clientstylingurl), "mbsource" in g && r(12, l = g.mbsource), "translationurl" in g && r(13, c = g.translationurl);
4461
4475
  }, e.$$.update = () => {
4462
4476
  e.$$.dirty & /*lang*/
4463
4477
  512 && a && U(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4464
4478
  960 && o && s && i && a && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4465
- 1025 && h && c && ji(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4466
- 2049 && u && c && ki(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4467
- 4097 && l && c && Vi(c, `${l}.Style`), e.$$.dirty & /*translationurl*/
4468
- 8192 && f && R();
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*/
4482
+ 8192 && c && R();
4469
4483
  }, [
4470
- c,
4471
- p,
4484
+ f,
4485
+ m,
4472
4486
  T,
4473
4487
  n,
4474
4488
  v,
@@ -4480,19 +4494,19 @@ function qi(e, t, r) {
4480
4494
  h,
4481
4495
  u,
4482
4496
  l,
4483
- f,
4497
+ c,
4484
4498
  O,
4485
4499
  G
4486
4500
  ];
4487
4501
  }
4488
- class Ji extends Mr {
4502
+ class Ki extends Ur {
4489
4503
  constructor(t) {
4490
- super(), Lr(
4504
+ super(), $r(
4491
4505
  this,
4492
4506
  t,
4493
- qi,
4494
- Qi,
4495
- Ot,
4507
+ Yi,
4508
+ Ji,
4509
+ Nt,
4496
4510
  {
4497
4511
  endpoint: 6,
4498
4512
  session: 7,
@@ -4503,7 +4517,7 @@ class Ji extends Mr {
4503
4517
  mbsource: 12,
4504
4518
  translationurl: 13
4505
4519
  },
4506
- Xi
4520
+ zi
4507
4521
  );
4508
4522
  }
4509
4523
  get endpoint() {
@@ -4555,7 +4569,7 @@ class Ji extends Mr {
4555
4569
  this.$$set({ translationurl: t }), A();
4556
4570
  }
4557
4571
  }
4558
- Cr(Ji, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4572
+ Rr(Ki, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4559
4573
  export {
4560
- Ji as default
4574
+ Ki as default
4561
4575
  };