@everymatrix/player-account-balance-modal 1.74.1 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, lr = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var sn = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var Rt = Math.pow, Lt = (e, t, n) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Nt = (e, t) => {
1
+ var sr = Object.defineProperty, ur = Object.defineProperties;
2
+ var lr = Object.getOwnPropertyDescriptors;
3
+ var an = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
+ var Lt = Math.pow, Ht = (e, t, n) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ot = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- cr.call(t, n) && Lt(e, n, t[n]);
8
- if (sn)
9
- for (var n of sn(t))
10
- fr.call(t, n) && Lt(e, n, t[n]);
7
+ hr.call(t, n) && Ht(e, n, t[n]);
8
+ if (an)
9
+ for (var n of an(t))
10
+ cr.call(t, n) && Ht(e, n, t[n]);
11
11
  return e;
12
- }, Mt = (e, t) => lr(e, hr(t));
13
- var oe = (e, t, n) => (Lt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Pt = (e, t, n) => new Promise((r, i) => {
12
+ }, Rt = (e, t) => ur(e, lr(t));
13
+ var oe = (e, t, n) => (Ht(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Nt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (c) => {
16
16
  try {
17
17
  s(n.next(c));
@@ -32,22 +32,22 @@ function ae() {
32
32
  function Ln(e) {
33
33
  return e();
34
34
  }
35
- function un() {
35
+ function sn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ke(e) {
38
+ function je(e) {
39
39
  e.forEach(Ln);
40
40
  }
41
- function nn(e) {
41
+ function en(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rn(e, t) {
44
+ function On(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function fr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Nn(e, ...t) {
50
+ function Rn(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
@@ -56,20 +56,20 @@ function Nn(e, ...t) {
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function pr(e, t, n) {
60
- e.$$.on_destroy.push(Nn(t, n));
59
+ function dr(e, t, n) {
60
+ e.$$.on_destroy.push(Rn(t, n));
61
61
  }
62
- function M(e, t) {
62
+ function P(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function mr(e, t, n) {
66
- const r = gr(e);
65
+ function pr(e, t, n) {
66
+ const r = mr(e);
67
67
  if (!r.getElementById(t)) {
68
68
  const i = $("style");
69
- i.id = t, i.textContent = n, br(r, i);
69
+ i.id = t, i.textContent = n, gr(r, i);
70
70
  }
71
71
  }
72
- function gr(e) {
72
+ function mr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,49 +79,49 @@ function gr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function br(e, t) {
83
- return M(
82
+ function gr(e, t) {
83
+ return P(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function fe(e, t, n) {
89
+ function ce(e, t, n) {
90
90
  e.insertBefore(t, n || null);
91
91
  }
92
92
  function ue(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Mn(e, t) {
95
+ function Nn(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
99
  function $(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function Ee(e) {
102
+ function ve(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function xe() {
106
- return Ee(" ");
105
+ function Ee() {
106
+ return ve(" ");
107
107
  }
108
- function yr() {
109
- return Ee("");
108
+ function br() {
109
+ return ve("");
110
110
  }
111
- function dt(e, t, n, r) {
111
+ function ft(e, t, n, r) {
112
112
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
113
113
  }
114
114
  function Z(e, t, n) {
115
115
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
116
116
  }
117
- function vr(e) {
117
+ function yr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function He(e, t) {
120
+ function Ce(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Er(e) {
124
+ function vr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,90 +130,90 @@ function Er(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let tt;
134
- function et(e) {
135
- tt = e;
133
+ let et;
134
+ function Ke(e) {
135
+ et = e;
136
136
  }
137
- function xr() {
138
- if (!tt)
137
+ function Er() {
138
+ if (!et)
139
139
  throw new Error("Function called outside component initialization");
140
- return tt;
140
+ return et;
141
141
  }
142
- function _r(e) {
143
- xr().$$.on_mount.push(e);
142
+ function xr(e) {
143
+ Er().$$.on_mount.push(e);
144
144
  }
145
- const De = [], kt = [];
146
- let Fe = [];
147
- const ln = [], Tr = /* @__PURE__ */ Promise.resolve();
148
- let Vt = !1;
149
- function Br() {
150
- Vt || (Vt = !0, Tr.then(X));
145
+ const Ie = [], $t = [];
146
+ let De = [];
147
+ const un = [], _r = /* @__PURE__ */ Promise.resolve();
148
+ let jt = !1;
149
+ function Tr() {
150
+ jt || (jt = !0, _r.then(X));
151
151
  }
152
- function Xt(e) {
153
- Fe.push(e);
152
+ function kt(e) {
153
+ De.push(e);
154
154
  }
155
- const It = /* @__PURE__ */ new Set();
156
- let Pe = 0;
155
+ const Mt = /* @__PURE__ */ new Set();
156
+ let Me = 0;
157
157
  function X() {
158
- if (Pe !== 0)
158
+ if (Me !== 0)
159
159
  return;
160
- const e = tt;
160
+ const e = et;
161
161
  do {
162
162
  try {
163
- for (; Pe < De.length; ) {
164
- const t = De[Pe];
165
- Pe++, et(t), Sr(t.$$);
163
+ for (; Me < Ie.length; ) {
164
+ const t = Ie[Me];
165
+ Me++, Ke(t), Br(t.$$);
166
166
  }
167
167
  } catch (t) {
168
- throw De.length = 0, Pe = 0, t;
168
+ throw Ie.length = 0, Me = 0, t;
169
169
  }
170
- for (et(null), De.length = 0, Pe = 0; kt.length; )
171
- kt.pop()();
172
- for (let t = 0; t < Fe.length; t += 1) {
173
- const n = Fe[t];
174
- It.has(n) || (It.add(n), n());
170
+ for (Ke(null), Ie.length = 0, Me = 0; $t.length; )
171
+ $t.pop()();
172
+ for (let t = 0; t < De.length; t += 1) {
173
+ const n = De[t];
174
+ Mt.has(n) || (Mt.add(n), n());
175
175
  }
176
- Fe.length = 0;
177
- } while (De.length);
178
- for (; ln.length; )
179
- ln.pop()();
180
- Vt = !1, It.clear(), et(e);
176
+ De.length = 0;
177
+ } while (Ie.length);
178
+ for (; un.length; )
179
+ un.pop()();
180
+ jt = !1, Mt.clear(), Ke(e);
181
181
  }
182
- function Sr(e) {
182
+ function Br(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), ke(e.before_update);
184
+ e.update(), je(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(Xt);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(kt);
187
187
  }
188
188
  }
189
- function wr(e) {
189
+ function Sr(e) {
190
190
  const t = [], n = [];
191
- Fe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Fe = t;
191
+ De.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), De = t;
192
192
  }
193
- const Ar = /* @__PURE__ */ new Set();
194
- function Cr(e, t) {
195
- e && e.i && (Ar.delete(e), e.i(t));
193
+ const wr = /* @__PURE__ */ new Set();
194
+ function Ar(e, t) {
195
+ e && e.i && (wr.delete(e), e.i(t));
196
196
  }
197
- function pt(e) {
197
+ function dt(e) {
198
198
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
199
199
  }
200
- function Hr(e, t, n) {
200
+ function Cr(e, t, n) {
201
201
  const { fragment: r, after_update: i } = e.$$;
202
- r && r.m(t, n), Xt(() => {
203
- const o = e.$$.on_mount.map(Ln).filter(nn);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
205
- }), i.forEach(Xt);
202
+ r && r.m(t, n), kt(() => {
203
+ const o = e.$$.on_mount.map(Ln).filter(en);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : je(o), e.$$.on_mount = [];
205
+ }), i.forEach(kt);
206
206
  }
207
- function Or(e, t) {
207
+ function Hr(e, t) {
208
208
  const n = e.$$;
209
- n.fragment !== null && (wr(n.after_update), ke(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
209
+ n.fragment !== null && (Sr(n.after_update), je(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
210
210
  }
211
211
  function Lr(e, t) {
212
- e.$$.dirty[0] === -1 && (De.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ e.$$.dirty[0] === -1 && (Ie.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Rr(e, t, n, r, i, o, u = null, s = [-1]) {
215
- const c = tt;
216
- et(e);
214
+ function Or(e, t, n, r, i, o, u = null, s = [-1]) {
215
+ const c = et;
216
+ Ke(e);
217
217
  const l = e.$$ = {
218
218
  fragment: null,
219
219
  ctx: [],
@@ -221,7 +221,7 @@ function Rr(e, t, n, r, i, o, u = null, s = [-1]) {
221
221
  props: o,
222
222
  update: ae,
223
223
  not_equal: i,
224
- bound: un(),
224
+ bound: sn(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,28 +230,28 @@ function Rr(e, t, n, r, i, o, u = null, s = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (c ? c.$$.context : [])),
232
232
  // everything else
233
- callbacks: un(),
233
+ callbacks: sn(),
234
234
  dirty: s,
235
235
  skip_bound: !1,
236
236
  root: t.target || c.$$.root
237
237
  };
238
238
  u && u(l.root);
239
239
  let f = !1;
240
- if (l.ctx = n ? n(e, t.props || {}, (g, y, ...x) => {
240
+ if (l.ctx = n(e, t.props || {}, (g, y, ...x) => {
241
241
  const T = x.length ? x[0] : y;
242
242
  return l.ctx && i(l.ctx[g], l.ctx[g] = T) && (!l.skip_bound && l.bound[g] && l.bound[g](T), f && Lr(e, g)), y;
243
- }) : [], l.update(), f = !0, ke(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
243
+ }), l.update(), f = !0, je(l.before_update), l.fragment = r(l.ctx), t.target) {
244
244
  if (t.hydrate) {
245
- const g = vr(t.target);
245
+ const g = yr(t.target);
246
246
  l.fragment && l.fragment.l(g), g.forEach(ue);
247
247
  } else
248
248
  l.fragment && l.fragment.c();
249
- t.intro && Cr(e.$$.fragment), Hr(e, t.target, t.anchor), X();
249
+ t.intro && Ar(e.$$.fragment), Cr(e, t.target, t.anchor), X();
250
250
  }
251
- et(c);
251
+ Ke(c);
252
252
  }
253
- let Pn;
254
- typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
253
+ let Mn;
254
+ typeof HTMLElement == "function" && (Mn = class extends HTMLElement {
255
255
  constructor(t, n, r) {
256
256
  super();
257
257
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return Pt(this, null, function* () {
291
+ return Nt(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
304
  m: function(l, f) {
305
- fe(l, u, f);
305
+ ce(l, u, f);
306
306
  },
307
307
  d: function(l) {
308
308
  l && ue(u);
@@ -312,18 +312,18 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const n = {}, r = Er(this);
315
+ const n = {}, r = vr(this);
316
316
  for (const o of this.$$s)
317
317
  o in r && (n[o] = [t(o)]);
318
318
  for (const o of this.attributes) {
319
319
  const u = this.$$g_p(o.name);
320
- u in this.$$d || (this.$$d[u] = ht(u, o.value, this.$$p_d, "toProp"));
320
+ u in this.$$d || (this.$$d[u] = lt(u, o.value, this.$$p_d, "toProp"));
321
321
  }
322
322
  for (const o in this.$$p_d)
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: Mt(Nt({}, this.$$d), {
326
+ props: Rt(Ot({}, this.$$d), {
327
327
  $$slots: n,
328
328
  $$scope: {
329
329
  ctx: []
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
334
334
  this.$$r = !0;
335
335
  for (const o in this.$$p_d)
336
336
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
337
- const u = ht(
337
+ const u = lt(
338
338
  o,
339
339
  this.$$d[o],
340
340
  this.$$p_d,
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
358
358
  // and setting attributes through setAttribute etc, this is helpful
359
359
  attributeChangedCallback(t, n, r) {
360
360
  var i;
361
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ht(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
361
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = lt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
362
362
  }
363
363
  disconnectedCallback() {
364
364
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
371
371
  ) || t;
372
372
  }
373
373
  });
374
- function ht(e, t, n, r) {
374
+ function lt(e, t, n, r) {
375
375
  var o;
376
376
  const i = (o = n[e]) == null ? void 0 : o.type;
377
377
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -401,8 +401,8 @@ function ht(e, t, n, r) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function Nr(e, t, n, r, i, o) {
405
- let u = class extends Pn {
404
+ function Rr(e, t, n, r, i, o) {
405
+ let u = class extends Mn {
406
406
  constructor() {
407
407
  super(e, n, i), this.$$p_d = t;
408
408
  }
@@ -419,7 +419,7 @@ function Nr(e, t, n, r, i, o) {
419
419
  },
420
420
  set(c) {
421
421
  var l;
422
- c = ht(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
422
+ c = lt(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
423
423
  }
424
424
  });
425
425
  }), r.forEach((s) => {
@@ -432,7 +432,7 @@ function Nr(e, t, n, r, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  u, u;
434
434
  }
435
- class Mr {
435
+ class Nr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -453,7 +453,7 @@ class Mr {
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- Or(this, 1), this.$destroy = ae;
456
+ Hr(this, 1), this.$destroy = ae;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,7 +462,7 @@ class Mr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, n) {
465
- if (!nn(n))
465
+ if (!en(n))
466
466
  return ae;
467
467
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return r.push(n), () => {
@@ -475,18 +475,18 @@ class Mr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Pr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
483
- function Ir(e, t) {
481
+ const Mr = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
483
+ function Pr(e, t) {
484
484
  if (e) {
485
485
  const n = document.createElement("style");
486
486
  n.innerHTML = t, e.appendChild(n);
487
487
  }
488
488
  }
489
- function Dr(e, t) {
489
+ function Ir(e, t) {
490
490
  const n = new URL(t);
491
491
  fetch(n.href).then((r) => r.text()).then((r) => {
492
492
  const i = document.createElement("style");
@@ -495,7 +495,7 @@ function Dr(e, t) {
495
495
  console.error("There was an error while trying to load client styling from URL", r);
496
496
  });
497
497
  }
498
- function Fr(e, t, n) {
498
+ function Dr(e, t, n) {
499
499
  if (window.emMessageBus) {
500
500
  const r = document.createElement("style");
501
501
  window.emMessageBus.subscribe(t, (i) => {
@@ -503,24 +503,24 @@ function Fr(e, t, n) {
503
503
  });
504
504
  }
505
505
  }
506
- const Ie = [];
507
- function Ur(e, t) {
506
+ const Pe = [];
507
+ function Fr(e, t) {
508
508
  return {
509
- subscribe: yt(e, t).subscribe
509
+ subscribe: gt(e, t).subscribe
510
510
  };
511
511
  }
512
- function yt(e, t = ae) {
512
+ function gt(e, t = ae) {
513
513
  let n;
514
514
  const r = /* @__PURE__ */ new Set();
515
515
  function i(s) {
516
- if (Rn(e, s) && (e = s, n)) {
517
- const c = !Ie.length;
516
+ if (On(e, s) && (e = s, n)) {
517
+ const c = !Pe.length;
518
518
  for (const l of r)
519
- l[1](), Ie.push(l, e);
519
+ l[1](), Pe.push(l, e);
520
520
  if (c) {
521
- for (let l = 0; l < Ie.length; l += 2)
522
- Ie[l][0](Ie[l + 1]);
523
- Ie.length = 0;
521
+ for (let l = 0; l < Pe.length; l += 2)
522
+ Pe[l][0](Pe[l + 1]);
523
+ Pe.length = 0;
524
524
  }
525
525
  }
526
526
  }
@@ -535,12 +535,12 @@ function yt(e, t = ae) {
535
535
  }
536
536
  return { set: i, update: o, subscribe: u };
537
537
  }
538
- function Ve(e, t, n) {
538
+ function ke(e, t, n) {
539
539
  const r = !Array.isArray(e), i = r ? [e] : e;
540
540
  if (!i.every(Boolean))
541
541
  throw new Error("derived() expects stores as input, got a falsy value");
542
542
  const o = t.length < 2;
543
- return Ur(n, (u, s) => {
543
+ return Fr(n, (u, s) => {
544
544
  let c = !1;
545
545
  const l = [];
546
546
  let f = 0, g = ae;
@@ -549,126 +549,140 @@ function Ve(e, t, n) {
549
549
  return;
550
550
  g();
551
551
  const T = t(r ? l[0] : l, u, s);
552
- o ? u(T) : g = nn(T) ? T : ae;
552
+ o ? u(T) : g = en(T) ? T : ae;
553
553
  }, x = i.map(
554
- (T, P) => Nn(
554
+ (T, I) => Rn(
555
555
  T,
556
556
  (j) => {
557
- l[P] = j, f &= ~(1 << P), c && y();
557
+ l[I] = j, f &= ~(1 << I), c && y();
558
558
  },
559
559
  () => {
560
- f |= 1 << P;
560
+ f |= 1 << I;
561
561
  }
562
562
  )
563
563
  );
564
564
  return c = !0, y(), function() {
565
- ke(x), g(), c = !1;
565
+ je(x), g(), c = !1;
566
566
  };
567
567
  });
568
568
  }
569
- var Gr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
570
- function $r(e) {
569
+ var Ur = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
570
+ function Gr(e) {
571
571
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
572
  }
573
- var jr = function(t) {
574
- return kr(t) && !Vr(t);
573
+ var $r = function(t) {
574
+ return jr(t) && !kr(t);
575
575
  };
576
- function kr(e) {
576
+ function jr(e) {
577
577
  return !!e && typeof e == "object";
578
578
  }
579
- function Vr(e) {
579
+ function kr(e) {
580
580
  var t = Object.prototype.toString.call(e);
581
- return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
581
+ return t === "[object RegExp]" || t === "[object Date]" || zr(e);
582
582
  }
583
- var Xr = typeof Symbol == "function" && Symbol.for, zr = Xr ? Symbol.for("react.element") : 60103;
584
- function Wr(e) {
585
- return e.$$typeof === zr;
583
+ var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
584
+ function zr(e) {
585
+ return e.$$typeof === Xr;
586
586
  }
587
- function Zr(e) {
587
+ function Wr(e) {
588
588
  return Array.isArray(e) ? [] : {};
589
589
  }
590
- function nt(e, t) {
591
- return t.clone !== !1 && t.isMergeableObject(e) ? Ue(Zr(e), e, t) : e;
590
+ function tt(e, t) {
591
+ return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Wr(e), e, t) : e;
592
592
  }
593
- function qr(e, t, n) {
593
+ function Zr(e, t, n) {
594
594
  return e.concat(t).map(function(r) {
595
- return nt(r, n);
595
+ return tt(r, n);
596
596
  });
597
597
  }
598
- function Qr(e, t) {
598
+ function qr(e, t) {
599
599
  if (!t.customMerge)
600
- return Ue;
600
+ return Fe;
601
601
  var n = t.customMerge(e);
602
- return typeof n == "function" ? n : Ue;
602
+ return typeof n == "function" ? n : Fe;
603
603
  }
604
- function Jr(e) {
604
+ function Qr(e) {
605
605
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
606
606
  return Object.propertyIsEnumerable.call(e, t);
607
607
  }) : [];
608
608
  }
609
- function hn(e) {
610
- return Object.keys(e).concat(Jr(e));
609
+ function ln(e) {
610
+ return Object.keys(e).concat(Qr(e));
611
611
  }
612
- function In(e, t) {
612
+ function Pn(e, t) {
613
613
  try {
614
614
  return t in e;
615
615
  } catch (n) {
616
616
  return !1;
617
617
  }
618
618
  }
619
- function Yr(e, t) {
620
- return In(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
619
+ function Jr(e, t) {
620
+ return Pn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
621
  }
622
- function Kr(e, t, n) {
622
+ function Yr(e, t, n) {
623
623
  var r = {};
624
- return n.isMergeableObject(e) && hn(e).forEach(function(i) {
625
- r[i] = nt(e[i], n);
626
- }), hn(t).forEach(function(i) {
627
- Yr(e, i) || (In(e, i) && n.isMergeableObject(t[i]) ? r[i] = Qr(i, n)(e[i], t[i], n) : r[i] = nt(t[i], n));
624
+ return n.isMergeableObject(e) && ln(e).forEach(function(i) {
625
+ r[i] = tt(e[i], n);
626
+ }), ln(t).forEach(function(i) {
627
+ Jr(e, i) || (Pn(e, i) && n.isMergeableObject(t[i]) ? r[i] = qr(i, n)(e[i], t[i], n) : r[i] = tt(t[i], n));
628
628
  }), r;
629
629
  }
630
- function Ue(e, t, n) {
631
- n = n || {}, n.arrayMerge = n.arrayMerge || qr, n.isMergeableObject = n.isMergeableObject || jr, n.cloneUnlessOtherwiseSpecified = nt;
630
+ function Fe(e, t, n) {
631
+ n = n || {}, n.arrayMerge = n.arrayMerge || Zr, n.isMergeableObject = n.isMergeableObject || $r, n.cloneUnlessOtherwiseSpecified = tt;
632
632
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
633
- return o ? r ? n.arrayMerge(e, t, n) : Kr(e, t, n) : nt(t, n);
633
+ return o ? r ? n.arrayMerge(e, t, n) : Yr(e, t, n) : tt(t, n);
634
634
  }
635
- Ue.all = function(t, n) {
635
+ Fe.all = function(t, n) {
636
636
  if (!Array.isArray(t))
637
637
  throw new Error("first argument should be an array");
638
638
  return t.reduce(function(r, i) {
639
- return Ue(r, i, n);
639
+ return Fe(r, i, n);
640
640
  }, {});
641
641
  };
642
- var ei = Ue, ti = ei;
643
- const ni = /* @__PURE__ */ $r(ti);
644
- var zt = function(e, t) {
645
- return zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
642
+ var Kr = Fe, ei = Kr;
643
+ const ti = /* @__PURE__ */ Gr(ei);
644
+ /*! *****************************************************************************
645
+ Copyright (c) Microsoft Corporation.
646
+
647
+ Permission to use, copy, modify, and/or distribute this software for any
648
+ purpose with or without fee is hereby granted.
649
+
650
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
651
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
652
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
653
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
654
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
655
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
656
+ PERFORMANCE OF THIS SOFTWARE.
657
+ ***************************************************************************** */
658
+ var Vt = function(e, t) {
659
+ return Vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
646
660
  n.__proto__ = r;
647
661
  } || function(n, r) {
648
662
  for (var i in r)
649
663
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
650
- }, zt(e, t);
664
+ }, Vt(e, t);
651
665
  };
652
- function vt(e, t) {
666
+ function bt(e, t) {
653
667
  if (typeof t != "function" && t !== null)
654
668
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
655
- zt(e, t);
669
+ Vt(e, t);
656
670
  function n() {
657
671
  this.constructor = e;
658
672
  }
659
673
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
660
674
  }
661
- var ce = function() {
662
- return ce = Object.assign || function(t) {
675
+ var R = function() {
676
+ return R = Object.assign || function(t) {
663
677
  for (var n, r = 1, i = arguments.length; r < i; r++) {
664
678
  n = arguments[r];
665
679
  for (var o in n)
666
680
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
667
681
  }
668
682
  return t;
669
- }, ce.apply(this, arguments);
683
+ }, R.apply(this, arguments);
670
684
  };
671
- function ri(e, t) {
685
+ function ni(e, t) {
672
686
  var n = {};
673
687
  for (var r in e)
674
688
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -677,43 +691,46 @@ function ri(e, t) {
677
691
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
678
692
  return n;
679
693
  }
680
- function Dt(e, t, n) {
681
- if (n || arguments.length === 2)
694
+ function Pt(e, t, n) {
695
+ if (arguments.length === 2)
682
696
  for (var r = 0, i = t.length, o; r < i; r++)
683
697
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
684
- return e.concat(o || Array.prototype.slice.call(t));
698
+ return e.concat(o || t);
685
699
  }
686
- function Ft(e, t) {
687
- var n = t && t.cache ? t.cache : hi, r = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : ai;
700
+ function It(e, t) {
701
+ var n = t && t.cache ? t.cache : li, r = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ii;
688
702
  return i(e, {
689
703
  cache: n,
690
704
  serializer: r
691
705
  });
692
706
  }
693
- function ii(e) {
707
+ function ri(e) {
694
708
  return e == null || typeof e == "number" || typeof e == "boolean";
695
709
  }
696
- function oi(e, t, n, r) {
697
- var i = ii(r) ? r : n(r), o = t.get(i);
710
+ function In(e, t, n, r) {
711
+ var i = ri(r) ? r : n(r), o = t.get(i);
698
712
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
699
713
  }
700
714
  function Dn(e, t, n) {
701
715
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
702
716
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
703
717
  }
704
- function Fn(e, t, n, r, i) {
718
+ function tn(e, t, n, r, i) {
705
719
  return n.bind(t, e, r, i);
706
720
  }
707
- function ai(e, t) {
708
- var n = e.length === 1 ? oi : Dn;
709
- return Fn(e, this, n, t.cache.create(), t.serializer);
721
+ function ii(e, t) {
722
+ var n = e.length === 1 ? In : Dn;
723
+ return tn(e, this, n, t.cache.create(), t.serializer);
710
724
  }
711
- function si(e, t) {
712
- return Fn(e, this, Dn, t.cache.create(), t.serializer);
725
+ function oi(e, t) {
726
+ return tn(e, this, Dn, t.cache.create(), t.serializer);
727
+ }
728
+ function ai(e, t) {
729
+ return tn(e, this, In, t.cache.create(), t.serializer);
713
730
  }
714
- var ui = function() {
731
+ var si = function() {
715
732
  return JSON.stringify(arguments);
716
- }, li = (
733
+ }, ui = (
717
734
  /** @class */
718
735
  function() {
719
736
  function e() {
@@ -725,71 +742,62 @@ var ui = function() {
725
742
  this.cache[t] = n;
726
743
  }, e;
727
744
  }()
728
- ), hi = {
745
+ ), li = {
729
746
  create: function() {
730
- return new li();
747
+ return new ui();
731
748
  }
732
- }, Ut = {
733
- variadic: si
734
- }, mt = function() {
735
- return mt = Object.assign || function(t) {
736
- for (var n, r = 1, i = arguments.length; r < i; r++) {
737
- n = arguments[r];
738
- for (var o in n)
739
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
740
- }
741
- return t;
742
- }, mt.apply(this, arguments);
743
- };
744
- var C;
749
+ }, Dt = {
750
+ variadic: oi,
751
+ monadic: ai
752
+ }, C;
745
753
  (function(e) {
746
754
  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";
747
755
  })(C || (C = {}));
748
- var D;
756
+ var F;
749
757
  (function(e) {
750
758
  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";
751
- })(D || (D = {}));
752
- var Ge;
759
+ })(F || (F = {}));
760
+ var Ue;
753
761
  (function(e) {
754
762
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
755
- })(Ge || (Ge = {}));
756
- function cn(e) {
757
- return e.type === D.literal;
763
+ })(Ue || (Ue = {}));
764
+ function hn(e) {
765
+ return e.type === F.literal;
758
766
  }
759
- function ci(e) {
760
- return e.type === D.argument;
767
+ function hi(e) {
768
+ return e.type === F.argument;
769
+ }
770
+ function Fn(e) {
771
+ return e.type === F.number;
761
772
  }
762
773
  function Un(e) {
763
- return e.type === D.number;
774
+ return e.type === F.date;
764
775
  }
765
776
  function Gn(e) {
766
- return e.type === D.date;
777
+ return e.type === F.time;
767
778
  }
768
779
  function $n(e) {
769
- return e.type === D.time;
780
+ return e.type === F.select;
770
781
  }
771
782
  function jn(e) {
772
- return e.type === D.select;
783
+ return e.type === F.plural;
773
784
  }
774
- function kn(e) {
775
- return e.type === D.plural;
785
+ function ci(e) {
786
+ return e.type === F.pound;
776
787
  }
777
- function fi(e) {
778
- return e.type === D.pound;
788
+ function kn(e) {
789
+ return e.type === F.tag;
779
790
  }
780
791
  function Vn(e) {
781
- return e.type === D.tag;
782
- }
783
- function Xn(e) {
784
- return !!(e && typeof e == "object" && e.type === Ge.number);
792
+ return !!(e && typeof e == "object" && e.type === Ue.number);
785
793
  }
786
- function Wt(e) {
787
- return !!(e && typeof e == "object" && e.type === Ge.dateTime);
794
+ function Xt(e) {
795
+ return !!(e && typeof e == "object" && e.type === Ue.dateTime);
788
796
  }
789
- var zn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
790
- function pi(e) {
797
+ var Xn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
798
+ function di(e) {
791
799
  var t = {};
792
- return e.replace(di, function(n) {
800
+ return e.replace(fi, function(n) {
793
801
  var r = n.length;
794
802
  switch (n[0]) {
795
803
  case "G":
@@ -878,21 +886,11 @@ function pi(e) {
878
886
  return "";
879
887
  }), t;
880
888
  }
881
- var U = function() {
882
- return U = Object.assign || function(t) {
883
- for (var n, r = 1, i = arguments.length; r < i; r++) {
884
- n = arguments[r];
885
- for (var o in n)
886
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
887
- }
888
- return t;
889
- }, U.apply(this, arguments);
890
- };
891
- var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
- function gi(e) {
889
+ var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
890
+ function mi(e) {
893
891
  if (e.length === 0)
894
892
  throw new Error("Number skeleton cannot be empty");
895
- for (var t = e.split(mi).filter(function(y) {
893
+ for (var t = e.split(pi).filter(function(y) {
896
894
  return y.length > 0;
897
895
  }), n = [], r = 0, i = t; r < i.length; r++) {
898
896
  var o = i[r], u = o.split("/");
@@ -907,17 +905,17 @@ function gi(e) {
907
905
  }
908
906
  return n;
909
907
  }
910
- function bi(e) {
908
+ function gi(e) {
911
909
  return e.replace(/^(.*?)-/, "");
912
910
  }
913
- var fn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wn = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Zn = /^(0+)$/;
914
- function dn(e) {
911
+ var cn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zn = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Wn = /^(0+)$/;
912
+ function fn(e) {
915
913
  var t = {};
916
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wn, function(n, r, i) {
914
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zn, function(n, r, i) {
917
915
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
918
916
  }), t;
919
917
  }
920
- function qn(e) {
918
+ function Zn(e) {
921
919
  switch (e) {
922
920
  case "sign-auto":
923
921
  return {
@@ -957,7 +955,7 @@ function qn(e) {
957
955
  };
958
956
  }
959
957
  }
960
- function vi(e) {
958
+ function yi(e) {
961
959
  var t;
962
960
  if (e[0] === "E" && e[1] === "E" ? (t = {
963
961
  notation: "engineering"
@@ -965,17 +963,17 @@ function vi(e) {
965
963
  notation: "scientific"
966
964
  }, e = e.slice(1)), t) {
967
965
  var n = e.slice(0, 2);
968
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zn.test(e))
966
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wn.test(e))
969
967
  throw new Error("Malformed concise eng/scientific notation");
970
968
  t.minimumIntegerDigits = e.length;
971
969
  }
972
970
  return t;
973
971
  }
974
- function pn(e) {
975
- var t = {}, n = qn(e);
972
+ function dn(e) {
973
+ var t = {}, n = Zn(e);
976
974
  return n || t;
977
975
  }
978
- function Ei(e) {
976
+ function vi(e) {
979
977
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
980
978
  var i = r[n];
981
979
  switch (i.stem) {
@@ -999,7 +997,7 @@ function Ei(e) {
999
997
  continue;
1000
998
  case "measure-unit":
1001
999
  case "unit":
1002
- t.style = "unit", t.unit = bi(i.options[0]);
1000
+ t.style = "unit", t.unit = gi(i.options[0]);
1003
1001
  continue;
1004
1002
  case "compact-short":
1005
1003
  case "K":
@@ -1010,13 +1008,13 @@ function Ei(e) {
1010
1008
  t.notation = "compact", t.compactDisplay = "long";
1011
1009
  continue;
1012
1010
  case "scientific":
1013
- t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1014
- return U(U({}, c), pn(l));
1011
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1012
+ return R(R({}, c), dn(l));
1015
1013
  }, {}));
1016
1014
  continue;
1017
1015
  case "engineering":
1018
- t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1019
- return U(U({}, c), pn(l));
1016
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1017
+ return R(R({}, c), dn(l));
1020
1018
  }, {}));
1021
1019
  continue;
1022
1020
  case "notation-simple":
@@ -1061,7 +1059,7 @@ function Ei(e) {
1061
1059
  case "integer-width":
1062
1060
  if (i.options.length > 1)
1063
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1064
- i.options[0].replace(yi, function(c, l, f, g, y, x) {
1062
+ i.options[0].replace(bi, function(c, l, f, g, y, x) {
1065
1063
  if (l)
1066
1064
  t.minimumIntegerDigits = f.length;
1067
1065
  else {
@@ -1074,32 +1072,32 @@ function Ei(e) {
1074
1072
  });
1075
1073
  continue;
1076
1074
  }
1077
- if (Zn.test(i.stem)) {
1075
+ if (Wn.test(i.stem)) {
1078
1076
  t.minimumIntegerDigits = i.stem.length;
1079
1077
  continue;
1080
1078
  }
1081
- if (fn.test(i.stem)) {
1079
+ if (cn.test(i.stem)) {
1082
1080
  if (i.options.length > 1)
1083
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1084
- i.stem.replace(fn, function(c, l, f, g, y, x) {
1082
+ i.stem.replace(cn, function(c, l, f, g, y, x) {
1085
1083
  return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : y && x ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1086
1084
  });
1087
1085
  var o = i.options[0];
1088
- o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), dn(o)));
1086
+ o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), fn(o)));
1089
1087
  continue;
1090
1088
  }
1091
- if (Wn.test(i.stem)) {
1092
- t = U(U({}, t), dn(i.stem));
1089
+ if (zn.test(i.stem)) {
1090
+ t = R(R({}, t), fn(i.stem));
1093
1091
  continue;
1094
1092
  }
1095
- var u = qn(i.stem);
1096
- u && (t = U(U({}, t), u));
1097
- var s = vi(i.stem);
1098
- s && (t = U(U({}, t), s));
1093
+ var u = Zn(i.stem);
1094
+ u && (t = R(R({}, t), u));
1095
+ var s = yi(i.stem);
1096
+ s && (t = R(R({}, t), s));
1099
1097
  }
1100
1098
  return t;
1101
1099
  }
1102
- var lt = {
1100
+ var ut = {
1103
1101
  "001": [
1104
1102
  "H",
1105
1103
  "h"
@@ -2514,13 +2512,13 @@ var lt = {
2514
2512
  "h"
2515
2513
  ]
2516
2514
  };
2517
- function xi(e, t) {
2515
+ function Ei(e, t) {
2518
2516
  for (var n = "", r = 0; r < e.length; r++) {
2519
2517
  var i = e.charAt(r);
2520
2518
  if (i === "j") {
2521
2519
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2522
2520
  o++, r++;
2523
- var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = _i(t);
2521
+ var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = xi(t);
2524
2522
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2525
2523
  n += c;
2526
2524
  for (; u-- > 0; )
@@ -2530,7 +2528,7 @@ function xi(e, t) {
2530
2528
  }
2531
2529
  return n;
2532
2530
  }
2533
- function _i(e) {
2531
+ function xi(e) {
2534
2532
  var t = e.hourCycle;
2535
2533
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2536
2534
  e.hourCycles && // @ts-ignore
@@ -2549,23 +2547,23 @@ function _i(e) {
2549
2547
  }
2550
2548
  var n = e.language, r;
2551
2549
  n !== "root" && (r = e.maximize().region);
2552
- var i = lt[r || ""] || lt[n || ""] || lt["".concat(n, "-001")] || lt["001"];
2550
+ var i = ut[r || ""] || ut[n || ""] || ut["".concat(n, "-001")] || ut["001"];
2553
2551
  return i[0];
2554
2552
  }
2555
- var Gt, Ti = new RegExp("^".concat(zn.source, "*")), Bi = new RegExp("".concat(zn.source, "*$"));
2553
+ var Ft, _i = new RegExp("^".concat(Xn.source, "*")), Ti = new RegExp("".concat(Xn.source, "*$"));
2556
2554
  function H(e, t) {
2557
2555
  return { start: e, end: t };
2558
2556
  }
2559
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ri = Li ? Number.isSafeInteger : function(e) {
2557
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, wi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Oi = Li ? Number.isSafeInteger : function(e) {
2560
2558
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2561
- }, Zt = !0;
2559
+ }, zt = !0;
2562
2560
  try {
2563
- var Ni = Jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
- Zt = ((Gt = Ni.exec("a")) === null || Gt === void 0 ? void 0 : Gt[0]) === "a";
2561
+ var Ri = Qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2562
+ zt = ((Ft = Ri.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
2565
2563
  } catch (e) {
2566
- Zt = !1;
2564
+ zt = !1;
2567
2565
  }
2568
- var mn = Si ? (
2566
+ var pn = Bi ? (
2569
2567
  // Native
2570
2568
  function(t, n, r) {
2571
2569
  return t.startsWith(n, r);
@@ -2575,7 +2573,7 @@ var mn = Si ? (
2575
2573
  function(t, n, r) {
2576
2574
  return t.slice(r, r + n.length) === n;
2577
2575
  }
2578
- ), qt = wi ? String.fromCodePoint : (
2576
+ ), Wt = Si ? String.fromCodePoint : (
2579
2577
  // IE11
2580
2578
  function() {
2581
2579
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2587,9 +2585,9 @@ var mn = Si ? (
2587
2585
  }
2588
2586
  return r;
2589
2587
  }
2590
- ), gn = (
2588
+ ), mn = (
2591
2589
  // native
2592
- Ai ? Object.fromEntries : (
2590
+ wi ? Object.fromEntries : (
2593
2591
  // Ponyfill
2594
2592
  function(t) {
2595
2593
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2599,7 +2597,7 @@ var mn = Si ? (
2599
2597
  return n;
2600
2598
  }
2601
2599
  )
2602
- ), Qn = Ci ? (
2600
+ ), qn = Ai ? (
2603
2601
  // Native
2604
2602
  function(t, n) {
2605
2603
  return t.codePointAt(n);
@@ -2613,7 +2611,7 @@ var mn = Si ? (
2613
2611
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2614
2612
  }
2615
2613
  }
2616
- ), Mi = Hi ? (
2614
+ ), Ni = Ci ? (
2617
2615
  // Native
2618
2616
  function(t) {
2619
2617
  return t.trimStart();
@@ -2621,9 +2619,9 @@ var mn = Si ? (
2621
2619
  ) : (
2622
2620
  // Ponyfill
2623
2621
  function(t) {
2624
- return t.replace(Ti, "");
2622
+ return t.replace(_i, "");
2625
2623
  }
2626
- ), Pi = Oi ? (
2624
+ ), Mi = Hi ? (
2627
2625
  // Native
2628
2626
  function(t) {
2629
2627
  return t.trimEnd();
@@ -2631,32 +2629,32 @@ var mn = Si ? (
2631
2629
  ) : (
2632
2630
  // Ponyfill
2633
2631
  function(t) {
2634
- return t.replace(Bi, "");
2632
+ return t.replace(Ti, "");
2635
2633
  }
2636
2634
  );
2637
- function Jn(e, t) {
2635
+ function Qn(e, t) {
2638
2636
  return new RegExp(e, t);
2639
2637
  }
2640
- var Qt;
2641
- if (Zt) {
2642
- var bn = Jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
- Qt = function(t, n) {
2638
+ var Zt;
2639
+ if (zt) {
2640
+ var gn = Qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2641
+ Zt = function(t, n) {
2644
2642
  var r;
2645
- bn.lastIndex = n;
2646
- var i = bn.exec(t);
2643
+ gn.lastIndex = n;
2644
+ var i = gn.exec(t);
2647
2645
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2648
2646
  };
2649
2647
  } else
2650
- Qt = function(t, n) {
2648
+ Zt = function(t, n) {
2651
2649
  for (var r = []; ; ) {
2652
- var i = Qn(t, n);
2653
- if (i === void 0 || Yn(i) || Ui(i))
2650
+ var i = qn(t, n);
2651
+ if (i === void 0 || Jn(i) || Fi(i))
2654
2652
  break;
2655
2653
  r.push(i), n += i >= 65536 ? 2 : 1;
2656
2654
  }
2657
- return qt.apply(void 0, r);
2655
+ return Wt.apply(void 0, r);
2658
2656
  };
2659
- var Ii = (
2657
+ var Pi = (
2660
2658
  /** @class */
2661
2659
  function() {
2662
2660
  function e(t, n) {
@@ -2680,14 +2678,14 @@ var Ii = (
2680
2678
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2681
2679
  var s = this.clonePosition();
2682
2680
  this.bump(), i.push({
2683
- type: D.pound,
2681
+ type: F.pound,
2684
2682
  location: H(s, this.clonePosition())
2685
2683
  });
2686
2684
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2687
2685
  if (r)
2688
2686
  break;
2689
2687
  return this.error(C.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2690
- } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
2688
+ } else if (o === 60 && !this.ignoreTag && qt(this.peek() || 0)) {
2691
2689
  var u = this.parseTag(t, n);
2692
2690
  if (u.err)
2693
2691
  return u;
@@ -2708,7 +2706,7 @@ var Ii = (
2708
2706
  if (this.bumpSpace(), this.bumpIf("/>"))
2709
2707
  return {
2710
2708
  val: {
2711
- type: D.literal,
2709
+ type: F.literal,
2712
2710
  value: "<".concat(i, "/>"),
2713
2711
  location: H(r, this.clonePosition())
2714
2712
  },
@@ -2720,12 +2718,12 @@ var Ii = (
2720
2718
  return o;
2721
2719
  var u = o.val, s = this.clonePosition();
2722
2720
  if (this.bumpIf("</")) {
2723
- if (this.isEOF() || !Jt(this.char()))
2721
+ if (this.isEOF() || !qt(this.char()))
2724
2722
  return this.error(C.INVALID_TAG, H(s, this.clonePosition()));
2725
2723
  var c = this.clonePosition(), l = this.parseTagName();
2726
2724
  return i !== l ? this.error(C.UNMATCHED_CLOSING_TAG, H(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2727
2725
  val: {
2728
- type: D.tag,
2726
+ type: F.tag,
2729
2727
  value: i,
2730
2728
  children: u,
2731
2729
  location: H(r, this.clonePosition())
@@ -2738,7 +2736,7 @@ var Ii = (
2738
2736
  return this.error(C.INVALID_TAG, H(r, this.clonePosition()));
2739
2737
  }, e.prototype.parseTagName = function() {
2740
2738
  var t = this.offset();
2741
- for (this.bump(); !this.isEOF() && Fi(this.char()); )
2739
+ for (this.bump(); !this.isEOF() && Di(this.char()); )
2742
2740
  this.bump();
2743
2741
  return this.message.slice(t, this.offset());
2744
2742
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2762,12 +2760,12 @@ var Ii = (
2762
2760
  }
2763
2761
  var c = H(r, this.clonePosition());
2764
2762
  return {
2765
- val: { type: D.literal, value: i, location: c },
2763
+ val: { type: F.literal, value: i, location: c },
2766
2764
  err: null
2767
2765
  };
2768
2766
  }, e.prototype.tryParseLeftAngleBracket = function() {
2769
2767
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2770
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
2768
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2771
2769
  }, e.prototype.tryParseQuote = function(t) {
2772
2770
  if (this.isEOF() || this.char() !== 39)
2773
2771
  return null;
@@ -2801,12 +2799,12 @@ var Ii = (
2801
2799
  n.push(r);
2802
2800
  this.bump();
2803
2801
  }
2804
- return qt.apply(void 0, n);
2802
+ return Wt.apply(void 0, n);
2805
2803
  }, e.prototype.tryParseUnquoted = function(t, n) {
2806
2804
  if (this.isEOF())
2807
2805
  return null;
2808
2806
  var r = this.char();
2809
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qt(r));
2807
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Wt(r));
2810
2808
  }, e.prototype.parseArgument = function(t, n) {
2811
2809
  var r = this.clonePosition();
2812
2810
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2822,7 +2820,7 @@ var Ii = (
2822
2820
  case 125:
2823
2821
  return this.bump(), {
2824
2822
  val: {
2825
- type: D.argument,
2823
+ type: F.argument,
2826
2824
  // value does not include the opening and closing braces.
2827
2825
  value: i,
2828
2826
  location: H(r, this.clonePosition())
@@ -2835,7 +2833,7 @@ var Ii = (
2835
2833
  return this.error(C.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
2836
2834
  }
2837
2835
  }, e.prototype.parseIdentifierIfPossible = function() {
2838
- var t = this.clonePosition(), n = this.offset(), r = Qt(this.message, n), i = n + r.length;
2836
+ var t = this.clonePosition(), n = this.offset(), r = Zt(this.message, n), i = n + r.length;
2839
2837
  this.bumpTo(i);
2840
2838
  var o = this.clonePosition(), u = H(t, o);
2841
2839
  return { value: r, location: u };
@@ -2854,7 +2852,7 @@ var Ii = (
2854
2852
  var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2855
2853
  if (g.err)
2856
2854
  return g;
2857
- var y = Pi(g.val);
2855
+ var y = Mi(g.val);
2858
2856
  if (y.length === 0)
2859
2857
  return this.error(C.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2860
2858
  var x = H(f, this.clonePosition());
@@ -2863,37 +2861,37 @@ var Ii = (
2863
2861
  var T = this.tryParseArgumentClose(i);
2864
2862
  if (T.err)
2865
2863
  return T;
2866
- var P = H(i, this.clonePosition());
2867
- if (l && mn(l == null ? void 0 : l.style, "::", 0)) {
2868
- var j = Mi(l.style.slice(2));
2864
+ var I = H(i, this.clonePosition());
2865
+ if (l && pn(l == null ? void 0 : l.style, "::", 0)) {
2866
+ var j = Ni(l.style.slice(2));
2869
2867
  if (s === "number") {
2870
2868
  var g = this.parseNumberSkeletonFromString(j, l.styleLocation);
2871
2869
  return g.err ? g : {
2872
- val: { type: D.number, value: r, location: P, style: g.val },
2870
+ val: { type: F.number, value: r, location: I, style: g.val },
2873
2871
  err: null
2874
2872
  };
2875
2873
  } else {
2876
2874
  if (j.length === 0)
2877
- return this.error(C.EXPECT_DATE_TIME_SKELETON, P);
2875
+ return this.error(C.EXPECT_DATE_TIME_SKELETON, I);
2878
2876
  var z = j;
2879
- this.locale && (z = xi(j, this.locale));
2877
+ this.locale && (z = Ei(j, this.locale));
2880
2878
  var y = {
2881
- type: Ge.dateTime,
2879
+ type: Ue.dateTime,
2882
2880
  pattern: z,
2883
2881
  location: l.styleLocation,
2884
- parsedOptions: this.shouldParseSkeletons ? pi(z) : {}
2885
- }, G = s === "date" ? D.date : D.time;
2882
+ parsedOptions: this.shouldParseSkeletons ? di(z) : {}
2883
+ }, G = s === "date" ? F.date : F.time;
2886
2884
  return {
2887
- val: { type: G, value: r, location: P, style: y },
2885
+ val: { type: G, value: r, location: I, style: y },
2888
2886
  err: null
2889
2887
  };
2890
2888
  }
2891
2889
  }
2892
2890
  return {
2893
2891
  val: {
2894
- type: s === "number" ? D.number : s === "date" ? D.date : D.time,
2892
+ type: s === "number" ? F.number : s === "date" ? F.date : F.time,
2895
2893
  value: r,
2896
- location: P,
2894
+ location: I,
2897
2895
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2898
2896
  },
2899
2897
  err: null
@@ -2904,9 +2902,9 @@ var Ii = (
2904
2902
  case "select": {
2905
2903
  var B = this.clonePosition();
2906
2904
  if (this.bumpSpace(), !this.bumpIf(","))
2907
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, mt({}, B)));
2905
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, R({}, B)));
2908
2906
  this.bumpSpace();
2909
- var w = this.parseIdentifierIfPossible(), I = 0;
2907
+ var w = this.parseIdentifierIfPossible(), D = 0;
2910
2908
  if (s !== "select" && w.value === "offset") {
2911
2909
  if (!this.bumpIf(":"))
2912
2910
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
@@ -2914,29 +2912,29 @@ var Ii = (
2914
2912
  var g = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2915
2913
  if (g.err)
2916
2914
  return g;
2917
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), I = g.val;
2915
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), D = g.val;
2918
2916
  }
2919
- var R = this.tryParsePluralOrSelectOptions(t, s, n, w);
2920
- if (R.err)
2921
- return R;
2917
+ var N = this.tryParsePluralOrSelectOptions(t, s, n, w);
2918
+ if (N.err)
2919
+ return N;
2922
2920
  var T = this.tryParseArgumentClose(i);
2923
2921
  if (T.err)
2924
2922
  return T;
2925
2923
  var K = H(i, this.clonePosition());
2926
2924
  return s === "select" ? {
2927
2925
  val: {
2928
- type: D.select,
2926
+ type: F.select,
2929
2927
  value: r,
2930
- options: gn(R.val),
2928
+ options: mn(N.val),
2931
2929
  location: K
2932
2930
  },
2933
2931
  err: null
2934
2932
  } : {
2935
2933
  val: {
2936
- type: D.plural,
2934
+ type: F.plural,
2937
2935
  value: r,
2938
- options: gn(R.val),
2939
- offset: I,
2936
+ options: mn(N.val),
2937
+ offset: D,
2940
2938
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2941
2939
  location: K
2942
2940
  },
@@ -2986,16 +2984,16 @@ var Ii = (
2986
2984
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2987
2985
  var r = [];
2988
2986
  try {
2989
- r = gi(t);
2987
+ r = mi(t);
2990
2988
  } catch (i) {
2991
2989
  return this.error(C.INVALID_NUMBER_SKELETON, n);
2992
2990
  }
2993
2991
  return {
2994
2992
  val: {
2995
- type: Ge.number,
2993
+ type: Ue.number,
2996
2994
  tokens: r,
2997
2995
  location: n,
2998
- parsedOptions: this.shouldParseSkeletons ? Ei(r) : {}
2996
+ parsedOptions: this.shouldParseSkeletons ? vi(r) : {}
2999
2997
  },
3000
2998
  err: null
3001
2999
  };
@@ -3020,9 +3018,9 @@ var Ii = (
3020
3018
  var T = this.parseMessage(t + 1, n, r);
3021
3019
  if (T.err)
3022
3020
  return T;
3023
- var P = this.tryParseArgumentClose(x);
3024
- if (P.err)
3025
- return P;
3021
+ var I = this.tryParseArgumentClose(x);
3022
+ if (I.err)
3023
+ return I;
3026
3024
  s.push([
3027
3025
  l,
3028
3026
  {
@@ -3043,7 +3041,7 @@ var Ii = (
3043
3041
  break;
3044
3042
  }
3045
3043
  var c = H(i, this.clonePosition());
3046
- return o ? (u *= r, Ri(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
3044
+ return o ? (u *= r, Oi(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
3047
3045
  }, e.prototype.offset = function() {
3048
3046
  return this.position.offset;
3049
3047
  }, e.prototype.isEOF = function() {
@@ -3058,7 +3056,7 @@ var Ii = (
3058
3056
  var t = this.position.offset;
3059
3057
  if (t >= this.message.length)
3060
3058
  throw Error("out of bound");
3061
- var n = Qn(this.message, t);
3059
+ var n = qn(this.message, t);
3062
3060
  if (n === void 0)
3063
3061
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3064
3062
  return n;
@@ -3077,7 +3075,7 @@ var Ii = (
3077
3075
  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);
3078
3076
  }
3079
3077
  }, e.prototype.bumpIf = function(t) {
3080
- if (mn(this.message, t, this.offset())) {
3078
+ if (pn(this.message, t, this.offset())) {
3081
3079
  for (var n = 0; n < t.length; n++)
3082
3080
  this.bump();
3083
3081
  return !0;
@@ -3099,7 +3097,7 @@ var Ii = (
3099
3097
  break;
3100
3098
  }
3101
3099
  }, e.prototype.bumpSpace = function() {
3102
- for (; !this.isEOF() && Yn(this.char()); )
3100
+ for (; !this.isEOF() && Jn(this.char()); )
3103
3101
  this.bump();
3104
3102
  }, e.prototype.peek = function() {
3105
3103
  if (this.isEOF())
@@ -3109,47 +3107,47 @@ var Ii = (
3109
3107
  }, e;
3110
3108
  }()
3111
3109
  );
3112
- function Jt(e) {
3110
+ function qt(e) {
3113
3111
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3114
3112
  }
3115
- function Di(e) {
3116
- return Jt(e) || e === 47;
3113
+ function Ii(e) {
3114
+ return qt(e) || e === 47;
3117
3115
  }
3118
- function Fi(e) {
3116
+ function Di(e) {
3119
3117
  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;
3120
3118
  }
3121
- function Yn(e) {
3119
+ function Jn(e) {
3122
3120
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3123
3121
  }
3124
- function Ui(e) {
3122
+ function Fi(e) {
3125
3123
  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;
3126
3124
  }
3127
- function Yt(e) {
3125
+ function Qt(e) {
3128
3126
  e.forEach(function(t) {
3129
- if (delete t.location, jn(t) || kn(t))
3127
+ if (delete t.location, $n(t) || jn(t))
3130
3128
  for (var n in t.options)
3131
- delete t.options[n].location, Yt(t.options[n].value);
3129
+ delete t.options[n].location, Qt(t.options[n].value);
3132
3130
  else
3133
- Un(t) && Xn(t.style) || (Gn(t) || $n(t)) && Wt(t.style) ? delete t.style.location : Vn(t) && Yt(t.children);
3131
+ Fn(t) && Vn(t.style) || (Un(t) || Gn(t)) && Xt(t.style) ? delete t.style.location : kn(t) && Qt(t.children);
3134
3132
  });
3135
3133
  }
3136
- function Gi(e, t) {
3137
- t === void 0 && (t = {}), t = mt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3138
- var n = new Ii(e, t).parse();
3134
+ function Ui(e, t) {
3135
+ t === void 0 && (t = {}), t = R({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
+ var n = new Pi(e, t).parse();
3139
3137
  if (n.err) {
3140
3138
  var r = SyntaxError(C[n.err.kind]);
3141
3139
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3142
3140
  }
3143
- return t != null && t.captureLocation || Yt(n.val), n.val;
3141
+ return t != null && t.captureLocation || Qt(n.val), n.val;
3144
3142
  }
3145
- var $e;
3143
+ var Ge;
3146
3144
  (function(e) {
3147
3145
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3148
- })($e || ($e = {}));
3149
- var Et = (
3146
+ })(Ge || (Ge = {}));
3147
+ var yt = (
3150
3148
  /** @class */
3151
3149
  function(e) {
3152
- vt(t, e);
3150
+ bt(t, e);
3153
3151
  function t(n, r, i) {
3154
3152
  var o = e.call(this, n) || this;
3155
3153
  return o.code = r, o.originalMessage = i, o;
@@ -3158,48 +3156,48 @@ var Et = (
3158
3156
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3159
3157
  }, t;
3160
3158
  }(Error)
3161
- ), yn = (
3159
+ ), bn = (
3162
3160
  /** @class */
3163
3161
  function(e) {
3164
- vt(t, e);
3162
+ bt(t, e);
3165
3163
  function t(n, r, i, o) {
3166
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, o) || this;
3164
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
3167
3165
  }
3168
3166
  return t;
3169
- }(Et)
3170
- ), $i = (
3167
+ }(yt)
3168
+ ), Gi = (
3171
3169
  /** @class */
3172
3170
  function(e) {
3173
- vt(t, e);
3171
+ bt(t, e);
3174
3172
  function t(n, r, i) {
3175
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), $e.INVALID_VALUE, i) || this;
3173
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ge.INVALID_VALUE, i) || this;
3176
3174
  }
3177
3175
  return t;
3178
- }(Et)
3179
- ), ji = (
3176
+ }(yt)
3177
+ ), $i = (
3180
3178
  /** @class */
3181
3179
  function(e) {
3182
- vt(t, e);
3180
+ bt(t, e);
3183
3181
  function t(n, r) {
3184
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), $e.MISSING_VALUE, r) || this;
3182
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ge.MISSING_VALUE, r) || this;
3185
3183
  }
3186
3184
  return t;
3187
- }(Et)
3185
+ }(yt)
3188
3186
  ), Y;
3189
3187
  (function(e) {
3190
3188
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3191
3189
  })(Y || (Y = {}));
3192
- function ki(e) {
3190
+ function ji(e) {
3193
3191
  return e.length < 2 ? e : e.reduce(function(t, n) {
3194
3192
  var r = t[t.length - 1];
3195
3193
  return !r || r.type !== Y.literal || n.type !== Y.literal ? t.push(n) : r.value += n.value, t;
3196
3194
  }, []);
3197
3195
  }
3198
- function Vi(e) {
3196
+ function ki(e) {
3199
3197
  return typeof e == "function";
3200
3198
  }
3201
- function ct(e, t, n, r, i, o, u) {
3202
- if (e.length === 1 && cn(e[0]))
3199
+ function ht(e, t, n, r, i, o, u) {
3200
+ if (e.length === 1 && hn(e[0]))
3203
3201
  return [
3204
3202
  {
3205
3203
  type: Y.literal,
@@ -3208,14 +3206,14 @@ function ct(e, t, n, r, i, o, u) {
3208
3206
  ];
3209
3207
  for (var s = [], c = 0, l = e; c < l.length; c++) {
3210
3208
  var f = l[c];
3211
- if (cn(f)) {
3209
+ if (hn(f)) {
3212
3210
  s.push({
3213
3211
  type: Y.literal,
3214
3212
  value: f.value
3215
3213
  });
3216
3214
  continue;
3217
3215
  }
3218
- if (fi(f)) {
3216
+ if (ci(f)) {
3219
3217
  typeof o == "number" && s.push({
3220
3218
  type: Y.literal,
3221
3219
  value: n.getNumberFormat(t).format(o)
@@ -3224,89 +3222,89 @@ function ct(e, t, n, r, i, o, u) {
3224
3222
  }
3225
3223
  var g = f.value;
3226
3224
  if (!(i && g in i))
3227
- throw new ji(g, u);
3225
+ throw new $i(g, u);
3228
3226
  var y = i[g];
3229
- if (ci(f)) {
3227
+ if (hi(f)) {
3230
3228
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), s.push({
3231
3229
  type: typeof y == "string" ? Y.literal : Y.object,
3232
3230
  value: y
3233
3231
  });
3234
3232
  continue;
3235
3233
  }
3236
- if (Gn(f)) {
3237
- var x = typeof f.style == "string" ? r.date[f.style] : Wt(f.style) ? f.style.parsedOptions : void 0;
3234
+ if (Un(f)) {
3235
+ var x = typeof f.style == "string" ? r.date[f.style] : Xt(f.style) ? f.style.parsedOptions : void 0;
3238
3236
  s.push({
3239
3237
  type: Y.literal,
3240
3238
  value: n.getDateTimeFormat(t, x).format(y)
3241
3239
  });
3242
3240
  continue;
3243
3241
  }
3244
- if ($n(f)) {
3245
- var x = typeof f.style == "string" ? r.time[f.style] : Wt(f.style) ? f.style.parsedOptions : r.time.medium;
3242
+ if (Gn(f)) {
3243
+ var x = typeof f.style == "string" ? r.time[f.style] : Xt(f.style) ? f.style.parsedOptions : r.time.medium;
3246
3244
  s.push({
3247
3245
  type: Y.literal,
3248
3246
  value: n.getDateTimeFormat(t, x).format(y)
3249
3247
  });
3250
3248
  continue;
3251
3249
  }
3252
- if (Un(f)) {
3253
- var x = typeof f.style == "string" ? r.number[f.style] : Xn(f.style) ? f.style.parsedOptions : void 0;
3250
+ if (Fn(f)) {
3251
+ var x = typeof f.style == "string" ? r.number[f.style] : Vn(f.style) ? f.style.parsedOptions : void 0;
3254
3252
  x && x.scale && (y = y * (x.scale || 1)), s.push({
3255
3253
  type: Y.literal,
3256
3254
  value: n.getNumberFormat(t, x).format(y)
3257
3255
  });
3258
3256
  continue;
3259
3257
  }
3260
- if (Vn(f)) {
3261
- var T = f.children, P = f.value, j = i[P];
3262
- if (!Vi(j))
3263
- throw new $i(P, "function", u);
3264
- var z = ct(T, t, n, r, i, o), G = j(z.map(function(I) {
3265
- return I.value;
3258
+ if (kn(f)) {
3259
+ var T = f.children, I = f.value, j = i[I];
3260
+ if (!ki(j))
3261
+ throw new Gi(I, "function", u);
3262
+ var z = ht(T, t, n, r, i, o), G = j(z.map(function(D) {
3263
+ return D.value;
3266
3264
  }));
3267
- Array.isArray(G) || (G = [G]), s.push.apply(s, G.map(function(I) {
3265
+ Array.isArray(G) || (G = [G]), s.push.apply(s, G.map(function(D) {
3268
3266
  return {
3269
- type: typeof I == "string" ? Y.literal : Y.object,
3270
- value: I
3267
+ type: typeof D == "string" ? Y.literal : Y.object,
3268
+ value: D
3271
3269
  };
3272
3270
  }));
3273
3271
  }
3274
- if (jn(f)) {
3272
+ if ($n(f)) {
3275
3273
  var B = f.options[y] || f.options.other;
3276
3274
  if (!B)
3277
- throw new yn(f.value, y, Object.keys(f.options), u);
3278
- s.push.apply(s, ct(B.value, t, n, r, i));
3275
+ throw new bn(f.value, y, Object.keys(f.options), u);
3276
+ s.push.apply(s, ht(B.value, t, n, r, i));
3279
3277
  continue;
3280
3278
  }
3281
- if (kn(f)) {
3279
+ if (jn(f)) {
3282
3280
  var B = f.options["=".concat(y)];
3283
3281
  if (!B) {
3284
3282
  if (!Intl.PluralRules)
3285
- throw new Et(`Intl.PluralRules is not available in this environment.
3283
+ throw new yt(`Intl.PluralRules is not available in this environment.
3286
3284
  Try polyfilling it using "@formatjs/intl-pluralrules"
3287
- `, $e.MISSING_INTL_API, u);
3285
+ `, Ge.MISSING_INTL_API, u);
3288
3286
  var w = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3289
3287
  B = f.options[w] || f.options.other;
3290
3288
  }
3291
3289
  if (!B)
3292
- throw new yn(f.value, y, Object.keys(f.options), u);
3293
- s.push.apply(s, ct(B.value, t, n, r, i, y - (f.offset || 0)));
3290
+ throw new bn(f.value, y, Object.keys(f.options), u);
3291
+ s.push.apply(s, ht(B.value, t, n, r, i, y - (f.offset || 0)));
3294
3292
  continue;
3295
3293
  }
3296
3294
  }
3297
- return ki(s);
3295
+ return ji(s);
3298
3296
  }
3299
- function Xi(e, t) {
3300
- return t ? ce(ce(ce({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3301
- return n[r] = ce(ce({}, e[r]), t[r] || {}), n;
3297
+ function Vi(e, t) {
3298
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3299
+ return n[r] = R(R({}, e[r]), t[r] || {}), n;
3302
3300
  }, {})) : e;
3303
3301
  }
3304
- function zi(e, t) {
3302
+ function Xi(e, t) {
3305
3303
  return t ? Object.keys(e).reduce(function(n, r) {
3306
- return n[r] = Xi(e[r], t[r]), n;
3307
- }, ce({}, e)) : e;
3304
+ return n[r] = Vi(e[r], t[r]), n;
3305
+ }, R({}, e)) : e;
3308
3306
  }
3309
- function $t(e) {
3307
+ function Ut(e) {
3310
3308
  return {
3311
3309
  create: function() {
3312
3310
  return {
@@ -3320,39 +3318,39 @@ function $t(e) {
3320
3318
  }
3321
3319
  };
3322
3320
  }
3323
- function Wi(e) {
3321
+ function zi(e) {
3324
3322
  return e === void 0 && (e = {
3325
3323
  number: {},
3326
3324
  dateTime: {},
3327
3325
  pluralRules: {}
3328
3326
  }), {
3329
- getNumberFormat: Ft(function() {
3327
+ getNumberFormat: It(function() {
3330
3328
  for (var t, n = [], r = 0; r < arguments.length; r++)
3331
3329
  n[r] = arguments[r];
3332
- return new ((t = Intl.NumberFormat).bind.apply(t, Dt([void 0], n, !1)))();
3330
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pt([void 0], n, !1)))();
3333
3331
  }, {
3334
- cache: $t(e.number),
3335
- strategy: Ut.variadic
3332
+ cache: Ut(e.number),
3333
+ strategy: Dt.variadic
3336
3334
  }),
3337
- getDateTimeFormat: Ft(function() {
3335
+ getDateTimeFormat: It(function() {
3338
3336
  for (var t, n = [], r = 0; r < arguments.length; r++)
3339
3337
  n[r] = arguments[r];
3340
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Dt([void 0], n, !1)))();
3338
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pt([void 0], n, !1)))();
3341
3339
  }, {
3342
- cache: $t(e.dateTime),
3343
- strategy: Ut.variadic
3340
+ cache: Ut(e.dateTime),
3341
+ strategy: Dt.variadic
3344
3342
  }),
3345
- getPluralRules: Ft(function() {
3343
+ getPluralRules: It(function() {
3346
3344
  for (var t, n = [], r = 0; r < arguments.length; r++)
3347
3345
  n[r] = arguments[r];
3348
- return new ((t = Intl.PluralRules).bind.apply(t, Dt([void 0], n, !1)))();
3346
+ return new ((t = Intl.PluralRules).bind.apply(t, Pt([void 0], n, !1)))();
3349
3347
  }, {
3350
- cache: $t(e.pluralRules),
3351
- strategy: Ut.variadic
3348
+ cache: Ut(e.pluralRules),
3349
+ strategy: Dt.variadic
3352
3350
  })
3353
3351
  };
3354
3352
  }
3355
- var Zi = (
3353
+ var Wi = (
3356
3354
  /** @class */
3357
3355
  function() {
3358
3356
  function e(t, n, r, i) {
@@ -3371,7 +3369,7 @@ var Zi = (
3371
3369
  }, []);
3372
3370
  return f.length <= 1 ? f[0] || "" : f;
3373
3371
  }, this.formatToParts = function(c) {
3374
- return ct(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3372
+ return ht(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3375
3373
  }, this.resolvedOptions = function() {
3376
3374
  var c;
3377
3375
  return {
@@ -3384,13 +3382,13 @@ var Zi = (
3384
3382
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3385
3383
  var u = i || {};
3386
3384
  u.formatters;
3387
- var s = ri(u, ["formatters"]);
3388
- this.ast = e.__parse(t, ce(ce({}, s), { locale: this.resolvedLocale }));
3385
+ var s = ni(u, ["formatters"]);
3386
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
3389
3387
  } else
3390
3388
  this.ast = t;
3391
3389
  if (!Array.isArray(this.ast))
3392
3390
  throw new TypeError("A message must be provided as a String or AST.");
3393
- this.formats = zi(e.formats, r), this.formatters = i && i.formatters || Wi(this.formatterCache);
3391
+ this.formats = Xi(e.formats, r), this.formatters = i && i.formatters || zi(this.formatterCache);
3394
3392
  }
3395
3393
  return Object.defineProperty(e, "defaultLocale", {
3396
3394
  get: function() {
@@ -3403,7 +3401,7 @@ var Zi = (
3403
3401
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3404
3402
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3405
3403
  }
3406
- }, e.__parse = Gi, e.formats = {
3404
+ }, e.__parse = Ui, e.formats = {
3407
3405
  number: {
3408
3406
  integer: {
3409
3407
  maximumFractionDigits: 0
@@ -3464,7 +3462,7 @@ var Zi = (
3464
3462
  }, e;
3465
3463
  }()
3466
3464
  );
3467
- function qi(e, t) {
3465
+ function Zi(e, t) {
3468
3466
  if (t == null)
3469
3467
  return;
3470
3468
  if (t in e)
@@ -3485,92 +3483,92 @@ function qi(e, t) {
3485
3483
  r = void 0;
3486
3484
  return r;
3487
3485
  }
3488
- const we = {}, Qi = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = n), n), Kn = (e, t) => {
3486
+ const Se = {}, qi = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = n), n), Yn = (e, t) => {
3489
3487
  if (t == null)
3490
3488
  return;
3491
- if (t in we && e in we[t])
3492
- return we[t][e];
3493
- const n = xt(t);
3489
+ if (t in Se && e in Se[t])
3490
+ return Se[t][e];
3491
+ const n = vt(t);
3494
3492
  for (let r = 0; r < n.length; r++) {
3495
- const i = n[r], o = Yi(i, e);
3493
+ const i = n[r], o = Ji(i, e);
3496
3494
  if (o)
3497
- return Qi(e, t, o);
3495
+ return qi(e, t, o);
3498
3496
  }
3499
3497
  };
3500
- let rn;
3501
- const it = yt({});
3502
- function Ji(e) {
3503
- return rn[e] || null;
3498
+ let nn;
3499
+ const rt = gt({});
3500
+ function Qi(e) {
3501
+ return nn[e] || null;
3504
3502
  }
3505
- function er(e) {
3506
- return e in rn;
3503
+ function Kn(e) {
3504
+ return e in nn;
3507
3505
  }
3508
- function Yi(e, t) {
3509
- if (!er(e))
3506
+ function Ji(e, t) {
3507
+ if (!Kn(e))
3510
3508
  return null;
3511
- const n = Ji(e);
3512
- return qi(n, t);
3509
+ const n = Qi(e);
3510
+ return Zi(n, t);
3513
3511
  }
3514
- function Ki(e) {
3512
+ function Yi(e) {
3515
3513
  if (e == null)
3516
3514
  return;
3517
- const t = xt(e);
3515
+ const t = vt(e);
3518
3516
  for (let n = 0; n < t.length; n++) {
3519
3517
  const r = t[n];
3520
- if (er(r))
3518
+ if (Kn(r))
3521
3519
  return r;
3522
3520
  }
3523
3521
  }
3524
- function tr(e, ...t) {
3525
- delete we[e], it.update((n) => (n[e] = ni.all([n[e] || {}, ...t]), n));
3522
+ function er(e, ...t) {
3523
+ delete Se[e], rt.update((n) => (n[e] = ti.all([n[e] || {}, ...t]), n));
3526
3524
  }
3527
- Ve(
3528
- [it],
3525
+ ke(
3526
+ [rt],
3529
3527
  ([e]) => Object.keys(e)
3530
3528
  );
3531
- it.subscribe((e) => rn = e);
3532
- const ft = {};
3533
- function eo(e, t) {
3534
- ft[e].delete(t), ft[e].size === 0 && delete ft[e];
3529
+ rt.subscribe((e) => nn = e);
3530
+ const ct = {};
3531
+ function Ki(e, t) {
3532
+ ct[e].delete(t), ct[e].size === 0 && delete ct[e];
3535
3533
  }
3536
- function nr(e) {
3537
- return ft[e];
3534
+ function tr(e) {
3535
+ return ct[e];
3538
3536
  }
3539
- function to(e) {
3540
- return xt(e).map((t) => {
3541
- const n = nr(t);
3537
+ function eo(e) {
3538
+ return vt(e).map((t) => {
3539
+ const n = tr(t);
3542
3540
  return [t, n ? [...n] : []];
3543
3541
  }).filter(([, t]) => t.length > 0);
3544
3542
  }
3545
- function Kt(e) {
3546
- return e == null ? !1 : xt(e).some(
3543
+ function Jt(e) {
3544
+ return e == null ? !1 : vt(e).some(
3547
3545
  (t) => {
3548
3546
  var n;
3549
- return (n = nr(t)) == null ? void 0 : n.size;
3547
+ return (n = tr(t)) == null ? void 0 : n.size;
3550
3548
  }
3551
3549
  );
3552
3550
  }
3553
- function no(e, t) {
3551
+ function to(e, t) {
3554
3552
  return Promise.all(
3555
- t.map((r) => (eo(e, r), r().then((i) => i.default || i)))
3556
- ).then((r) => tr(e, ...r));
3557
- }
3558
- const Ke = {};
3559
- function rr(e) {
3560
- if (!Kt(e))
3561
- return e in Ke ? Ke[e] : Promise.resolve();
3562
- const t = to(e);
3563
- return Ke[e] = Promise.all(
3553
+ t.map((r) => (Ki(e, r), r().then((i) => i.default || i)))
3554
+ ).then((r) => er(e, ...r));
3555
+ }
3556
+ const Ye = {};
3557
+ function nr(e) {
3558
+ if (!Jt(e))
3559
+ return e in Ye ? Ye[e] : Promise.resolve();
3560
+ const t = eo(e);
3561
+ return Ye[e] = Promise.all(
3564
3562
  t.map(
3565
- ([n, r]) => no(n, r)
3563
+ ([n, r]) => to(n, r)
3566
3564
  )
3567
3565
  ).then(() => {
3568
- if (Kt(e))
3569
- return rr(e);
3570
- delete Ke[e];
3571
- }), Ke[e];
3566
+ if (Jt(e))
3567
+ return nr(e);
3568
+ delete Ye[e];
3569
+ }), Ye[e];
3572
3570
  }
3573
- const ro = {
3571
+ const no = {
3574
3572
  number: {
3575
3573
  scientific: { notation: "scientific" },
3576
3574
  engineering: { notation: "engineering" },
@@ -3599,150 +3597,150 @@ const ro = {
3599
3597
  timeZoneName: "short"
3600
3598
  }
3601
3599
  }
3602
- }, io = {
3600
+ }, ro = {
3603
3601
  fallbackLocale: null,
3604
3602
  loadingDelay: 200,
3605
- formats: ro,
3603
+ formats: no,
3606
3604
  warnOnMissingMessages: !0,
3607
3605
  handleMissingMessage: void 0,
3608
3606
  ignoreTag: !0
3609
- }, oo = io;
3610
- function je() {
3611
- return oo;
3612
- }
3613
- const jt = yt(!1);
3614
- var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, vn = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, En = (e, t, n) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, co = (e, t) => {
3615
- for (var n in t || (t = {}))
3616
- lo.call(t, n) && En(e, n, t[n]);
3617
- if (vn)
3618
- for (var n of vn(t))
3619
- ho.call(t, n) && En(e, n, t[n]);
3607
+ }, io = ro;
3608
+ function $e() {
3609
+ return io;
3610
+ }
3611
+ const Gt = gt(!1);
3612
+ var oo = Object.defineProperty, ao = Object.defineProperties, so = Object.getOwnPropertyDescriptors, yn = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ho = (e, t) => {
3613
+ for (var n in t)
3614
+ uo.call(t, n) && vn(e, n, t[n]);
3615
+ if (yn)
3616
+ for (var n of yn(t))
3617
+ lo.call(t, n) && vn(e, n, t[n]);
3620
3618
  return e;
3621
- }, fo = (e, t) => so(e, uo(t));
3622
- let en;
3623
- const gt = yt(null);
3624
- function xn(e) {
3619
+ }, co = (e, t) => ao(e, so(t));
3620
+ let Yt;
3621
+ const pt = gt(null);
3622
+ function En(e) {
3625
3623
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3626
3624
  }
3627
- function xt(e, t = je().fallbackLocale) {
3628
- const n = xn(e);
3629
- return t ? [.../* @__PURE__ */ new Set([...n, ...xn(t)])] : n;
3625
+ function vt(e, t = $e().fallbackLocale) {
3626
+ const n = En(e);
3627
+ return t ? [.../* @__PURE__ */ new Set([...n, ...En(t)])] : n;
3630
3628
  }
3631
- function Oe() {
3632
- return en != null ? en : void 0;
3629
+ function He() {
3630
+ return Yt != null ? Yt : void 0;
3633
3631
  }
3634
- gt.subscribe((e) => {
3635
- en = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3632
+ pt.subscribe((e) => {
3633
+ Yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3636
3634
  });
3637
- const po = (e) => {
3638
- if (e && Ki(e) && Kt(e)) {
3639
- const { loadingDelay: t } = je();
3635
+ const fo = (e) => {
3636
+ if (e && Yi(e) && Jt(e)) {
3637
+ const { loadingDelay: t } = $e();
3640
3638
  let n;
3641
- return typeof window != "undefined" && Oe() != null && t ? n = window.setTimeout(
3642
- () => jt.set(!0),
3639
+ return typeof window != "undefined" && He() != null && t ? n = window.setTimeout(
3640
+ () => Gt.set(!0),
3643
3641
  t
3644
- ) : jt.set(!0), rr(e).then(() => {
3645
- gt.set(e);
3642
+ ) : Gt.set(!0), nr(e).then(() => {
3643
+ pt.set(e);
3646
3644
  }).finally(() => {
3647
- clearTimeout(n), jt.set(!1);
3645
+ clearTimeout(n), Gt.set(!1);
3648
3646
  });
3649
3647
  }
3650
- return gt.set(e);
3651
- }, Xe = fo(co({}, gt), {
3652
- set: po
3653
- }), _t = (e) => {
3648
+ return pt.set(e);
3649
+ }, Ve = co(ho({}, pt), {
3650
+ set: fo
3651
+ }), Et = (e) => {
3654
3652
  const t = /* @__PURE__ */ Object.create(null);
3655
3653
  return (r) => {
3656
3654
  const i = JSON.stringify(r);
3657
3655
  return i in t ? t[i] : t[i] = e(r);
3658
3656
  };
3659
3657
  };
3660
- var mo = Object.defineProperty, bt = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, _n = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, on = (e, t) => {
3658
+ var po = Object.defineProperty, mt = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, rn = (e, t) => {
3661
3659
  for (var n in t || (t = {}))
3662
- ir.call(t, n) && _n(e, n, t[n]);
3663
- if (bt)
3664
- for (var n of bt(t))
3665
- or.call(t, n) && _n(e, n, t[n]);
3660
+ rr.call(t, n) && xn(e, n, t[n]);
3661
+ if (mt)
3662
+ for (var n of mt(t))
3663
+ ir.call(t, n) && xn(e, n, t[n]);
3666
3664
  return e;
3667
- }, ze = (e, t) => {
3665
+ }, Xe = (e, t) => {
3668
3666
  var n = {};
3669
3667
  for (var r in e)
3670
- ir.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3671
- if (e != null && bt)
3672
- for (var r of bt(e))
3673
- t.indexOf(r) < 0 && or.call(e, r) && (n[r] = e[r]);
3668
+ rr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3669
+ if (e != null && mt)
3670
+ for (var r of mt(e))
3671
+ t.indexOf(r) < 0 && ir.call(e, r) && (n[r] = e[r]);
3674
3672
  return n;
3675
3673
  };
3676
- const rt = (e, t) => {
3677
- const { formats: n } = je();
3674
+ const nt = (e, t) => {
3675
+ const { formats: n } = $e();
3678
3676
  if (e in n && t in n[e])
3679
3677
  return n[e][t];
3680
3678
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3681
- }, go = _t(
3679
+ }, mo = Et(
3682
3680
  (e) => {
3683
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3681
+ var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3684
3682
  if (n == null)
3685
3683
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3686
- return r && (i = rt("number", r)), new Intl.NumberFormat(n, i);
3684
+ return r && (i = nt("number", r)), new Intl.NumberFormat(n, i);
3687
3685
  }
3688
- ), bo = _t(
3686
+ ), go = Et(
3689
3687
  (e) => {
3690
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3688
+ var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3691
3689
  if (n == null)
3692
3690
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3693
- return r ? i = rt("date", r) : Object.keys(i).length === 0 && (i = rt("date", "short")), new Intl.DateTimeFormat(n, i);
3691
+ return r ? i = nt("date", r) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(n, i);
3694
3692
  }
3695
- ), yo = _t(
3693
+ ), bo = Et(
3696
3694
  (e) => {
3697
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3695
+ var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3698
3696
  if (n == null)
3699
3697
  throw new Error(
3700
3698
  '[svelte-i18n] A "locale" must be set to format time values'
3701
3699
  );
3702
- return r ? i = rt("time", r) : Object.keys(i).length === 0 && (i = rt("time", "short")), new Intl.DateTimeFormat(n, i);
3700
+ return r ? i = nt("time", r) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(n, i);
3703
3701
  }
3704
- ), vo = (e = {}) => {
3702
+ ), yo = (e = {}) => {
3705
3703
  var t = e, {
3706
- locale: n = Oe()
3707
- } = t, r = ze(t, [
3704
+ locale: n = He()
3705
+ } = t, r = Xe(t, [
3708
3706
  "locale"
3709
3707
  ]);
3710
- return go(on({ locale: n }, r));
3711
- }, Eo = (e = {}) => {
3708
+ return mo(rn({ locale: n }, r));
3709
+ }, vo = (e = {}) => {
3712
3710
  var t = e, {
3713
- locale: n = Oe()
3714
- } = t, r = ze(t, [
3711
+ locale: n = He()
3712
+ } = t, r = Xe(t, [
3715
3713
  "locale"
3716
3714
  ]);
3717
- return bo(on({ locale: n }, r));
3718
- }, xo = (e = {}) => {
3715
+ return go(rn({ locale: n }, r));
3716
+ }, Eo = (e = {}) => {
3719
3717
  var t = e, {
3720
- locale: n = Oe()
3721
- } = t, r = ze(t, [
3718
+ locale: n = He()
3719
+ } = t, r = Xe(t, [
3722
3720
  "locale"
3723
3721
  ]);
3724
- return yo(on({ locale: n }, r));
3725
- }, _o = _t(
3722
+ return bo(rn({ locale: n }, r));
3723
+ }, xo = Et(
3726
3724
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3727
- (e, t = Oe()) => new Zi(e, t, je().formats, {
3728
- ignoreTag: je().ignoreTag
3725
+ (e, t = He()) => new Wi(e, t, $e().formats, {
3726
+ ignoreTag: $e().ignoreTag
3729
3727
  })
3730
- ), To = (e, t = {}) => {
3728
+ ), _o = (e, t = {}) => {
3731
3729
  var n, r, i, o;
3732
3730
  let u = t;
3733
3731
  typeof e == "object" && (u = e, e = u.id);
3734
3732
  const {
3735
3733
  values: s,
3736
- locale: c = Oe(),
3734
+ locale: c = He(),
3737
3735
  default: l
3738
3736
  } = u;
3739
3737
  if (c == null)
3740
3738
  throw new Error(
3741
3739
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3742
3740
  );
3743
- let f = Kn(e, c);
3741
+ let f = Yn(e, c);
3744
3742
  if (!f)
3745
- f = (o = (i = (r = (n = je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3743
+ f = (o = (i = (r = (n = $e()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3746
3744
  else if (typeof f != "string")
3747
3745
  return console.warn(
3748
3746
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3751,7 +3749,7 @@ const rt = (e, t) => {
3751
3749
  return f;
3752
3750
  let g = f;
3753
3751
  try {
3754
- g = _o(f, c).format(s);
3752
+ g = xo(f, c).format(s);
3755
3753
  } catch (y) {
3756
3754
  y instanceof Error && console.warn(
3757
3755
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3759,18 +3757,18 @@ const rt = (e, t) => {
3759
3757
  );
3760
3758
  }
3761
3759
  return g;
3762
- }, Bo = (e, t) => xo(t).format(e), So = (e, t) => Eo(t).format(e), wo = (e, t) => vo(t).format(e), Ao = (e, t = Oe()) => Kn(e, t), Co = Ve([Xe, it], () => To);
3763
- Ve([Xe], () => Bo);
3764
- Ve([Xe], () => So);
3765
- Ve([Xe], () => wo);
3766
- Ve([Xe, it], () => Ao);
3767
- function Tn(e, t) {
3768
- tr(e, t);
3769
- }
3770
- function Ho(e) {
3771
- Xe.set(e);
3772
- }
3773
- const Bn = {
3760
+ }, To = (e, t) => Eo(t).format(e), Bo = (e, t) => vo(t).format(e), So = (e, t) => yo(t).format(e), wo = (e, t = He()) => Yn(e, t), Ao = ke([Ve, rt], () => _o);
3761
+ ke([Ve], () => To);
3762
+ ke([Ve], () => Bo);
3763
+ ke([Ve], () => So);
3764
+ ke([Ve, rt], () => wo);
3765
+ function _n(e, t) {
3766
+ er(e, t);
3767
+ }
3768
+ function Co(e) {
3769
+ Ve.set(e);
3770
+ }
3771
+ const Tn = {
3774
3772
  en: {
3775
3773
  Title: "Your Balance",
3776
3774
  Total: "Total Balance",
@@ -3970,7 +3968,7 @@ const Bn = {
3970
3968
  Loading: "Loading ..."
3971
3969
  }
3972
3970
  };
3973
- var tn = { exports: {} };
3971
+ var Kt = { exports: {} };
3974
3972
  /** @license
3975
3973
  * eventsource.js
3976
3974
  * Available under MIT License (MIT)
@@ -3978,7 +3976,7 @@ var tn = { exports: {} };
3978
3976
  */
3979
3977
  (function(e, t) {
3980
3978
  (function(n) {
3981
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject, c = n.EventSource, l = n.document, f = n.Promise, g = n.fetch, y = n.Response, x = n.TextDecoder, T = n.TextEncoder, P = n.AbortController;
3979
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject, c = n.EventSource, l = n.document, f = n.Promise, g = n.fetch, y = n.Response, x = n.TextDecoder, T = n.TextEncoder, I = n.AbortController;
3982
3980
  if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(a) {
3983
3981
  l.readyState = "complete";
3984
3982
  }, !1)), o == null && s != null && (o = function() {
@@ -3989,7 +3987,7 @@ var tn = { exports: {} };
3989
3987
  return h.prototype = a, new h();
3990
3988
  }), Date.now || (Date.now = function() {
3991
3989
  return (/* @__PURE__ */ new Date()).getTime();
3992
- }), P == null) {
3990
+ }), I == null) {
3993
3991
  var j = g;
3994
3992
  g = function(a, h) {
3995
3993
  var m = h.signal;
@@ -4006,7 +4004,7 @@ var tn = { exports: {} };
4006
4004
  }
4007
4005
  };
4008
4006
  });
4009
- }, P = function() {
4007
+ }, I = function() {
4010
4008
  this.signal = {
4011
4009
  _reader: null,
4012
4010
  _aborted: !1
@@ -4019,26 +4017,26 @@ var tn = { exports: {} };
4019
4017
  this.bitsNeeded = 0, this.codePoint = 0;
4020
4018
  }
4021
4019
  z.prototype.decode = function(a) {
4022
- function h(O, L, S) {
4020
+ function h(L, O, S) {
4023
4021
  if (S === 1)
4024
- return O >= 128 >> L && O << L <= 2047;
4022
+ return L >= 128 >> O && L << O <= 2047;
4025
4023
  if (S === 2)
4026
- return O >= 2048 >> L && O << L <= 55295 || O >= 57344 >> L && O << L <= 65535;
4024
+ return L >= 2048 >> O && L << O <= 55295 || L >= 57344 >> O && L << O <= 65535;
4027
4025
  if (S === 3)
4028
- return O >= 65536 >> L && O << L <= 1114111;
4026
+ return L >= 65536 >> O && L << O <= 1114111;
4029
4027
  throw new Error();
4030
4028
  }
4031
- function m(O, L) {
4032
- if (O === 6 * 1)
4033
- return L >> 6 > 15 ? 3 : L > 31 ? 2 : 1;
4034
- if (O === 6 * 2)
4035
- return L > 15 ? 3 : 2;
4036
- if (O === 6 * 3)
4029
+ function m(L, O) {
4030
+ if (L === 6 * 1)
4031
+ return O >> 6 > 15 ? 3 : O > 31 ? 2 : 1;
4032
+ if (L === 6 * 2)
4033
+ return O > 15 ? 3 : 2;
4034
+ if (L === 6 * 3)
4037
4035
  return 3;
4038
4036
  throw new Error();
4039
4037
  }
4040
- for (var d = 65533, v = "", p = this.bitsNeeded, _ = this.codePoint, N = 0; N < a.length; N += 1) {
4041
- var A = a[N];
4038
+ for (var d = 65533, v = "", p = this.bitsNeeded, _ = this.codePoint, M = 0; M < a.length; M += 1) {
4039
+ var A = a[M];
4042
4040
  p !== 0 && (A < 128 || A > 191 || !h(_ << 6 | A & 63, p - 6, m(p, _))) && (p = 0, _ = d, v += String.fromCharCode(_)), p === 0 ? (A >= 0 && A <= 127 ? (p = 0, _ = A) : A >= 192 && A <= 223 ? (p = 6 * 1, _ = A & 31) : A >= 224 && A <= 239 ? (p = 6 * 2, _ = A & 15) : A >= 240 && A <= 247 ? (p = 6 * 3, _ = A & 7) : (p = 0, _ = d), p !== 0 && !h(_, p, m(p, _)) && (p = 0, _ = d)) : (p -= 6, _ = _ << 6 | A & 63), p === 0 && (_ <= 65535 ? v += String.fromCharCode(_) : (v += String.fromCharCode(55296 + (_ - 65535 - 1 >> 10)), v += String.fromCharCode(56320 + (_ - 65535 - 1 & 1023))));
4043
4041
  }
4044
4042
  return this.bitsNeeded = p, this.codePoint = _, v;
@@ -4065,47 +4063,47 @@ var tn = { exports: {} };
4065
4063
  };
4066
4064
  var _ = function() {
4067
4065
  if (v === 1) {
4068
- var S = 0, F = "", ge = void 0;
4066
+ var S = 0, U = "", me = void 0;
4069
4067
  if ("contentType" in d)
4070
- S = 200, F = "OK", ge = d.contentType;
4068
+ S = 200, U = "OK", me = d.contentType;
4071
4069
  else
4072
4070
  try {
4073
- S = d.status, F = d.statusText, ge = d.getResponseHeader("Content-Type");
4074
- } catch (Je) {
4075
- S = 0, F = "", ge = void 0;
4071
+ S = d.status, U = d.statusText, me = d.getResponseHeader("Content-Type");
4072
+ } catch (Qe) {
4073
+ S = 0, U = "", me = void 0;
4076
4074
  }
4077
- S !== 0 && (v = 2, m.readyState = 2, m.status = S, m.statusText = F, m._contentType = ge, m.onreadystatechange());
4075
+ S !== 0 && (v = 2, m.readyState = 2, m.status = S, m.statusText = U, m._contentType = me, m.onreadystatechange());
4078
4076
  }
4079
- }, N = function() {
4077
+ }, M = function() {
4080
4078
  if (_(), v === 2 || v === 3) {
4081
4079
  v = 3;
4082
4080
  var S = "";
4083
4081
  try {
4084
4082
  S = d.responseText;
4085
- } catch (F) {
4083
+ } catch (U) {
4086
4084
  }
4087
4085
  m.readyState = 3, m.responseText = S, m.onprogress();
4088
4086
  }
4089
- }, A = function(S, F) {
4090
- if ((F == null || F.preventDefault == null) && (F = {
4087
+ }, A = function(S, U) {
4088
+ if ((U == null || U.preventDefault == null) && (U = {
4091
4089
  preventDefault: B
4092
- }), N(), v === 1 || v === 2 || v === 3) {
4090
+ }), M(), v === 1 || v === 2 || v === 3) {
4093
4091
  if (v = 4, p !== 0 && (i(p), p = 0), m.readyState = 4, S === "load")
4094
- m.onload(F);
4092
+ m.onload(U);
4095
4093
  else if (S === "error")
4096
- m.onerror(F);
4094
+ m.onerror(U);
4097
4095
  else if (S === "abort")
4098
- m.onabort(F);
4096
+ m.onabort(U);
4099
4097
  else
4100
4098
  throw new TypeError();
4101
4099
  m.onreadystatechange();
4102
4100
  }
4103
- }, O = function(S) {
4104
- d != null && (d.readyState === 4 ? (!("onload" in d) || !("onerror" in d) || !("onabort" in d)) && A(d.responseText === "" ? "error" : "load", S) : d.readyState === 3 ? "onprogress" in d || N() : d.readyState === 2 && _());
4105
- }, L = function() {
4101
+ }, L = function(S) {
4102
+ d != null && (d.readyState === 4 ? (!("onload" in d) || !("onerror" in d) || !("onabort" in d)) && A(d.responseText === "" ? "error" : "load", S) : d.readyState === 3 ? "onprogress" in d || M() : d.readyState === 2 && _());
4103
+ }, O = function() {
4106
4104
  p = r(function() {
4107
- L();
4108
- }, 500), d.readyState === 3 && N();
4105
+ O();
4106
+ }, 500), d.readyState === 3 && M();
4109
4107
  };
4110
4108
  "onload" in d && (d.onload = function(S) {
4111
4109
  A("load", S);
@@ -4113,10 +4111,10 @@ var tn = { exports: {} };
4113
4111
  A("error", S);
4114
4112
  }), "onabort" in d && (d.onabort = function(S) {
4115
4113
  A("abort", S);
4116
- }), "onprogress" in d && (d.onprogress = N), "onreadystatechange" in d && (d.onreadystatechange = function(S) {
4117
- O(S);
4114
+ }), "onprogress" in d && (d.onprogress = M), "onreadystatechange" in d && (d.onreadystatechange = function(S) {
4115
+ L(S);
4118
4116
  }), ("contentType" in d || !("ontimeout" in o.prototype)) && (h += (h.indexOf("?") === -1 ? "?" : "&") + "padding=true"), d.open(a, h, !0), "readyState" in d && (p = r(function() {
4119
- L();
4117
+ O();
4120
4118
  }, 0));
4121
4119
  }, w.prototype.abort = function() {
4122
4120
  this._abort(!1);
@@ -4143,76 +4141,76 @@ var tn = { exports: {} };
4143
4141
  throw m;
4144
4142
  }
4145
4143
  };
4146
- function I(a) {
4144
+ function D(a) {
4147
4145
  return a.replace(/[A-Z]/g, function(h) {
4148
4146
  return String.fromCharCode(h.charCodeAt(0) + 32);
4149
4147
  });
4150
4148
  }
4151
- function R(a) {
4149
+ function N(a) {
4152
4150
  for (var h = /* @__PURE__ */ Object.create(null), m = a.split(`\r
4153
4151
  `), d = 0; d < m.length; d += 1) {
4154
- var v = m[d], p = v.split(": "), _ = p.shift(), N = p.join(": ");
4155
- h[I(_)] = N;
4152
+ var v = m[d], p = v.split(": "), _ = p.shift(), M = p.join(": ");
4153
+ h[D(_)] = M;
4156
4154
  }
4157
4155
  this._map = h;
4158
4156
  }
4159
- R.prototype.get = function(a) {
4160
- return this._map[I(a)];
4157
+ N.prototype.get = function(a) {
4158
+ return this._map[D(a)];
4161
4159
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4162
4160
  function K() {
4163
4161
  }
4164
4162
  K.prototype.open = function(a, h, m, d, v, p, _) {
4165
4163
  a.open("GET", v);
4166
- var N = 0;
4164
+ var M = 0;
4167
4165
  a.onprogress = function() {
4168
- var O = a.responseText, L = O.slice(N);
4169
- N += L.length, m(L);
4170
- }, a.onerror = function(O) {
4171
- O.preventDefault(), d(new Error("NetworkError"));
4166
+ var L = a.responseText, O = L.slice(M);
4167
+ M += O.length, m(O);
4168
+ }, a.onerror = function(L) {
4169
+ L.preventDefault(), d(new Error("NetworkError"));
4172
4170
  }, a.onload = function() {
4173
4171
  d(null);
4174
4172
  }, a.onabort = function() {
4175
4173
  d(null);
4176
4174
  }, a.onreadystatechange = function() {
4177
4175
  if (a.readyState === o.HEADERS_RECEIVED) {
4178
- var O = a.status, L = a.statusText, S = a.getResponseHeader("Content-Type"), F = a.getAllResponseHeaders();
4179
- h(O, L, S, new R(F));
4176
+ var L = a.status, O = a.statusText, S = a.getResponseHeader("Content-Type"), U = a.getAllResponseHeaders();
4177
+ h(L, O, S, new N(U));
4180
4178
  }
4181
4179
  }, a.withCredentials = p;
4182
4180
  for (var A in _)
4183
4181
  Object.prototype.hasOwnProperty.call(_, A) && a.setRequestHeader(A, _[A]);
4184
4182
  return a.send(), a;
4185
4183
  };
4186
- function de(a) {
4184
+ function fe(a) {
4187
4185
  this._headers = a;
4188
4186
  }
4189
- de.prototype.get = function(a) {
4187
+ fe.prototype.get = function(a) {
4190
4188
  return this._headers.get(a);
4191
4189
  };
4192
- function pe() {
4190
+ function de() {
4193
4191
  }
4194
- pe.prototype.open = function(a, h, m, d, v, p, _) {
4195
- var N = null, A = new P(), O = A.signal, L = new x();
4192
+ de.prototype.open = function(a, h, m, d, v, p, _) {
4193
+ var M = null, A = new I(), L = A.signal, O = new x();
4196
4194
  return g(v, {
4197
4195
  headers: _,
4198
4196
  credentials: p ? "include" : "same-origin",
4199
- signal: O,
4197
+ signal: L,
4200
4198
  cache: "no-store"
4201
4199
  }).then(function(S) {
4202
- return N = S.body.getReader(), h(S.status, S.statusText, S.headers.get("Content-Type"), new de(S.headers)), new f(function(F, ge) {
4203
- var Je = function() {
4204
- N.read().then(function(ne) {
4200
+ return M = S.body.getReader(), h(S.status, S.statusText, S.headers.get("Content-Type"), new fe(S.headers)), new f(function(U, me) {
4201
+ var Qe = function() {
4202
+ M.read().then(function(ne) {
4205
4203
  if (ne.done)
4206
- F(void 0);
4204
+ U(void 0);
4207
4205
  else {
4208
- var q = L.decode(ne.value, { stream: !0 });
4209
- m(q), Je();
4206
+ var q = O.decode(ne.value, { stream: !0 });
4207
+ m(q), Qe();
4210
4208
  }
4211
4209
  }).catch(function(ne) {
4212
- ge(ne);
4210
+ me(ne);
4213
4211
  });
4214
4212
  };
4215
- Je();
4213
+ Qe();
4216
4214
  });
4217
4215
  }).catch(function(S) {
4218
4216
  if (S.name !== "AbortError")
@@ -4221,14 +4219,14 @@ var tn = { exports: {} };
4221
4219
  d(S);
4222
4220
  }), {
4223
4221
  abort: function() {
4224
- N != null && N.cancel(), A.abort();
4222
+ M != null && M.cancel(), A.abort();
4225
4223
  }
4226
4224
  };
4227
4225
  };
4228
4226
  function ee() {
4229
4227
  this._listeners = /* @__PURE__ */ Object.create(null);
4230
4228
  }
4231
- function _e(a) {
4229
+ function xe(a) {
4232
4230
  r(function() {
4233
4231
  throw a;
4234
4232
  }, 0);
@@ -4242,7 +4240,7 @@ var tn = { exports: {} };
4242
4240
  try {
4243
4241
  typeof v.handleEvent == "function" ? v.handleEvent(a) : v.call(this, a);
4244
4242
  } catch (p) {
4245
- _e(p);
4243
+ xe(p);
4246
4244
  }
4247
4245
  }
4248
4246
  }, ee.prototype.addEventListener = function(a, h) {
@@ -4264,146 +4262,146 @@ var tn = { exports: {} };
4264
4262
  function E(a) {
4265
4263
  this.type = a, this.target = void 0;
4266
4264
  }
4267
- function Te(a, h) {
4265
+ function _e(a, h) {
4268
4266
  E.call(this, a), this.data = h.data, this.lastEventId = h.lastEventId;
4269
4267
  }
4270
- Te.prototype = Object.create(E.prototype);
4271
- function We(a, h) {
4268
+ _e.prototype = Object.create(E.prototype);
4269
+ function ze(a, h) {
4272
4270
  E.call(this, a), this.status = h.status, this.statusText = h.statusText, this.headers = h.headers;
4273
4271
  }
4274
- We.prototype = Object.create(E.prototype);
4275
- function ot(a, h) {
4272
+ ze.prototype = Object.create(E.prototype);
4273
+ function it(a, h) {
4276
4274
  E.call(this, a), this.error = h.error;
4277
4275
  }
4278
- ot.prototype = Object.create(E.prototype);
4279
- var Ze = -1, le = 0, Be = 1, me = 2, Le = -1, he = 0, Ae = 1, qe = 2, Tt = 3, at = /^text\/event\-stream(;.*)?$/i, Bt = 1e3, St = 18e6, Qe = function(a, h) {
4276
+ it.prototype = Object.create(E.prototype);
4277
+ var We = -1, le = 0, Te = 1, pe = 2, Le = -1, he = 0, we = 1, Ze = 2, xt = 3, ot = /^text\/event\-stream(;.*)?$/i, _t = 1e3, Tt = 18e6, qe = function(a, h) {
4280
4278
  var m = a == null ? h : parseInt(a, 10);
4281
- return m !== m && (m = h), Re(m);
4282
- }, Re = function(a) {
4283
- return Math.min(Math.max(a, Bt), St);
4284
- }, Se = function(a, h, m) {
4279
+ return m !== m && (m = h), Oe(m);
4280
+ }, Oe = function(a) {
4281
+ return Math.min(Math.max(a, _t), Tt);
4282
+ }, Be = function(a, h, m) {
4285
4283
  try {
4286
4284
  typeof h == "function" && h.call(a, m);
4287
4285
  } catch (d) {
4288
- _e(d);
4286
+ xe(d);
4289
4287
  }
4290
4288
  };
4291
4289
  function te(a, h) {
4292
- ee.call(this), h = h || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ct(this, a, h);
4290
+ ee.call(this), h = h || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, wt(this, a, h);
4293
4291
  }
4294
- function wt() {
4292
+ function Bt() {
4295
4293
  return o != null && "withCredentials" in o.prototype || u == null ? new o() : new u();
4296
4294
  }
4297
- var At = g != null && y != null && "body" in y.prototype;
4298
- function Ct(a, h, m) {
4295
+ var St = g != null && y != null && "body" in y.prototype;
4296
+ function wt(a, h, m) {
4299
4297
  h = String(h);
4300
- var d = !!m.withCredentials, v = m.lastEventIdQueryParameterName || "lastEventId", p = Re(1e3), _ = Qe(m.heartbeatTimeout, 45e3), N = "", A = p, O = !1, L = 0, S = m.headers || {}, F = m.Transport, ge = At && F == null ? void 0 : new w(F != null ? new F() : wt()), Je = F != null && typeof F != "string" ? new F() : ge == null ? new pe() : new K(), ne = void 0, q = 0, se = Ze, Ne = "", st = "", be = "", ut = "", Q = he, Ht = 0, Ce = 0, ar = function(V, k, re, ie) {
4298
+ var d = !!m.withCredentials, v = m.lastEventIdQueryParameterName || "lastEventId", p = Oe(1e3), _ = qe(m.heartbeatTimeout, 45e3), M = "", A = p, L = !1, O = 0, S = m.headers || {}, U = m.Transport, me = St && U == null ? void 0 : new w(U != null ? new U() : Bt()), Qe = U != null && typeof U != "string" ? new U() : me == null ? new de() : new K(), ne = void 0, q = 0, se = We, Re = "", at = "", ge = "", st = "", Q = he, At = 0, Ae = 0, or = function(V, k, re, ie) {
4301
4299
  if (se === le)
4302
- if (V === 200 && re != null && at.test(re)) {
4303
- se = Be, O = Date.now(), A = p, a.readyState = Be;
4304
- var J = new We("open", {
4300
+ if (V === 200 && re != null && ot.test(re)) {
4301
+ se = Te, L = Date.now(), A = p, a.readyState = Te;
4302
+ var J = new ze("open", {
4305
4303
  status: V,
4306
4304
  statusText: k,
4307
4305
  headers: ie
4308
4306
  });
4309
- a.dispatchEvent(J), Se(a, a.onopen, J);
4307
+ a.dispatchEvent(J), Be(a, a.onopen, J);
4310
4308
  } else {
4311
4309
  var W = "";
4312
- V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), W = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : W = "EventSource's response has a Content-Type specifying an unsupported type: " + (re == null ? "-" : re.replace(/\s+/g, " ")) + ". Aborting the connection.", Ot();
4313
- var J = new We("error", {
4310
+ V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), W = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : W = "EventSource's response has a Content-Type specifying an unsupported type: " + (re == null ? "-" : re.replace(/\s+/g, " ")) + ". Aborting the connection.", Ct();
4311
+ var J = new ze("error", {
4314
4312
  status: V,
4315
4313
  statusText: k,
4316
4314
  headers: ie
4317
4315
  });
4318
- a.dispatchEvent(J), Se(a, a.onerror, J), console.error(W);
4316
+ a.dispatchEvent(J), Be(a, a.onerror, J), console.error(W);
4319
4317
  }
4320
- }, sr = function(V) {
4321
- if (se === Be) {
4318
+ }, ar = function(V) {
4319
+ if (se === Te) {
4322
4320
  for (var k = -1, re = 0; re < V.length; re += 1) {
4323
4321
  var ie = V.charCodeAt(re);
4324
4322
  (ie === 10 || ie === 13) && (k = re);
4325
4323
  }
4326
- var J = (k !== -1 ? ut : "") + V.slice(0, k + 1);
4327
- ut = (k === -1 ? ut : "") + V.slice(k + 1), V !== "" && (O = Date.now(), L += V.length);
4324
+ var J = (k !== -1 ? st : "") + V.slice(0, k + 1);
4325
+ st = (k === -1 ? st : "") + V.slice(k + 1), V !== "" && (L = Date.now(), O += V.length);
4328
4326
  for (var W = 0; W < J.length; W += 1) {
4329
4327
  var ie = J.charCodeAt(W);
4330
4328
  if (Q === Le && ie === 10)
4331
4329
  Q = he;
4332
4330
  else if (Q === Le && (Q = he), ie === 13 || ie === 10) {
4333
4331
  if (Q !== he) {
4334
- Q === Ae && (Ce = W + 1);
4335
- var ye = J.slice(Ht, Ce - 1), ve = J.slice(Ce + (Ce < W && J.charCodeAt(Ce) === 32 ? 1 : 0), W);
4336
- ye === "data" ? (Ne += `
4337
- `, Ne += ve) : ye === "id" ? st = ve : ye === "event" ? be = ve : ye === "retry" ? (p = Qe(ve, p), A = p) : ye === "heartbeatTimeout" && (_ = Qe(ve, _), q !== 0 && (i(q), q = r(function() {
4338
- Ye();
4332
+ Q === we && (Ae = W + 1);
4333
+ var be = J.slice(At, Ae - 1), ye = J.slice(Ae + (Ae < W && J.charCodeAt(Ae) === 32 ? 1 : 0), W);
4334
+ be === "data" ? (Re += `
4335
+ `, Re += ye) : be === "id" ? at = ye : be === "event" ? ge = ye : be === "retry" ? (p = qe(ye, p), A = p) : be === "heartbeatTimeout" && (_ = qe(ye, _), q !== 0 && (i(q), q = r(function() {
4336
+ Je();
4339
4337
  }, _)));
4340
4338
  }
4341
4339
  if (Q === he) {
4342
- if (Ne !== "") {
4343
- N = st, be === "" && (be = "message");
4344
- var Me = new Te(be, {
4345
- data: Ne.slice(1),
4346
- lastEventId: st
4340
+ if (Re !== "") {
4341
+ M = at, ge === "" && (ge = "message");
4342
+ var Ne = new _e(ge, {
4343
+ data: Re.slice(1),
4344
+ lastEventId: at
4347
4345
  });
4348
- if (a.dispatchEvent(Me), be === "open" ? Se(a, a.onopen, Me) : be === "message" ? Se(a, a.onmessage, Me) : be === "error" && Se(a, a.onerror, Me), se === me)
4346
+ if (a.dispatchEvent(Ne), ge === "open" ? Be(a, a.onopen, Ne) : ge === "message" ? Be(a, a.onmessage, Ne) : ge === "error" && Be(a, a.onerror, Ne), se === pe)
4349
4347
  return;
4350
4348
  }
4351
- Ne = "", be = "";
4349
+ Re = "", ge = "";
4352
4350
  }
4353
4351
  Q = ie === 13 ? Le : he;
4354
4352
  } else
4355
- Q === he && (Ht = W, Q = Ae), Q === Ae ? ie === 58 && (Ce = W + 1, Q = qe) : Q === qe && (Q = Tt);
4353
+ Q === he && (At = W, Q = we), Q === we ? ie === 58 && (Ae = W + 1, Q = Ze) : Q === Ze && (Q = xt);
4356
4354
  }
4357
4355
  }
4358
- }, an = function(V) {
4359
- if (se === Be || se === le) {
4360
- se = Ze, q !== 0 && (i(q), q = 0), q = r(function() {
4361
- Ye();
4362
- }, A), A = Re(Math.min(p * 16, A * 2)), a.readyState = le;
4363
- var k = new ot("error", { error: V });
4364
- a.dispatchEvent(k), Se(a, a.onerror, k), V != null && console.error(V);
4356
+ }, on = function(V) {
4357
+ if (se === Te || se === le) {
4358
+ se = We, q !== 0 && (i(q), q = 0), q = r(function() {
4359
+ Je();
4360
+ }, A), A = Oe(Math.min(p * 16, A * 2)), a.readyState = le;
4361
+ var k = new it("error", { error: V });
4362
+ a.dispatchEvent(k), Be(a, a.onerror, k), V != null && console.error(V);
4365
4363
  }
4366
- }, Ot = function() {
4367
- se = me, ne != null && (ne.abort(), ne = void 0), q !== 0 && (i(q), q = 0), a.readyState = me;
4368
- }, Ye = function() {
4369
- if (q = 0, se !== Ze) {
4370
- if (!O && ne != null)
4371
- an(new Error("No activity within " + _ + " milliseconds. " + (se === le ? "No response received." : L + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4364
+ }, Ct = function() {
4365
+ se = pe, ne != null && (ne.abort(), ne = void 0), q !== 0 && (i(q), q = 0), a.readyState = pe;
4366
+ }, Je = function() {
4367
+ if (q = 0, se !== We) {
4368
+ if (!L && ne != null)
4369
+ on(new Error("No activity within " + _ + " milliseconds. " + (se === le ? "No response received." : O + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4372
4370
  else {
4373
- var V = Math.max((O || Date.now()) + _ - Date.now(), 1);
4374
- O = !1, q = r(function() {
4375
- Ye();
4371
+ var V = Math.max((L || Date.now()) + _ - Date.now(), 1);
4372
+ L = !1, q = r(function() {
4373
+ Je();
4376
4374
  }, V);
4377
4375
  }
4378
4376
  return;
4379
4377
  }
4380
- O = !1, L = 0, q = r(function() {
4381
- Ye();
4382
- }, _), se = le, Ne = "", be = "", st = N, ut = "", Ht = 0, Ce = 0, Q = he;
4378
+ L = !1, O = 0, q = r(function() {
4379
+ Je();
4380
+ }, _), se = le, Re = "", ge = "", at = M, st = "", At = 0, Ae = 0, Q = he;
4383
4381
  var k = h;
4384
- if (h.slice(0, 5) !== "data:" && h.slice(0, 5) !== "blob:" && N !== "") {
4382
+ if (h.slice(0, 5) !== "data:" && h.slice(0, 5) !== "blob:" && M !== "") {
4385
4383
  var re = h.indexOf("?");
4386
- k = re === -1 ? h : h.slice(0, re + 1) + h.slice(re + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ve, Me) {
4387
- return Me === v ? "" : ve;
4388
- }), k += (h.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(N);
4384
+ k = re === -1 ? h : h.slice(0, re + 1) + h.slice(re + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Ne) {
4385
+ return Ne === v ? "" : ye;
4386
+ }), k += (h.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(M);
4389
4387
  }
4390
4388
  var ie = a.withCredentials, J = {};
4391
4389
  J.Accept = "text/event-stream";
4392
4390
  var W = a.headers;
4393
4391
  if (W != null)
4394
- for (var ye in W)
4395
- Object.prototype.hasOwnProperty.call(W, ye) && (J[ye] = W[ye]);
4392
+ for (var be in W)
4393
+ Object.prototype.hasOwnProperty.call(W, be) && (J[be] = W[be]);
4396
4394
  try {
4397
- ne = Je.open(ge, ar, sr, an, k, ie, J);
4398
- } catch (ve) {
4399
- throw Ot(), ve;
4395
+ ne = Qe.open(me, or, ar, on, k, ie, J);
4396
+ } catch (ye) {
4397
+ throw Ct(), ye;
4400
4398
  }
4401
4399
  };
4402
- a.url = h, a.readyState = le, a.withCredentials = d, a.headers = S, a._close = Ot, Ye();
4400
+ a.url = h, a.readyState = le, a.withCredentials = d, a.headers = S, a._close = Ct, Je();
4403
4401
  }
4404
- te.prototype = Object.create(ee.prototype), te.prototype.CONNECTING = le, te.prototype.OPEN = Be, te.prototype.CLOSED = me, te.prototype.close = function() {
4402
+ te.prototype = Object.create(ee.prototype), te.prototype.CONNECTING = le, te.prototype.OPEN = Te, te.prototype.CLOSED = pe, te.prototype.close = function() {
4405
4403
  this._close();
4406
- }, te.CONNECTING = le, te.OPEN = Be, te.CLOSED = me, te.prototype.withCredentials = void 0;
4404
+ }, te.CONNECTING = le, te.OPEN = Te, te.CLOSED = pe, te.prototype.withCredentials = void 0;
4407
4405
  var b = c;
4408
4406
  o != null && (c == null || !("withCredentials" in c.prototype)) && (b = te), function(a) {
4409
4407
  {
@@ -4413,21 +4411,21 @@ var tn = { exports: {} };
4413
4411
  }(function(a) {
4414
4412
  a.EventSourcePolyfill = te, a.NativeEventSource = c, a.EventSource = b;
4415
4413
  });
4416
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Gr : globalThis);
4417
- })(tn, tn.exports);
4418
- var Oo = tn.exports;
4414
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Ur : globalThis);
4415
+ })(Kt, Kt.exports);
4416
+ var Ho = Kt.exports;
4419
4417
  function Lo(e) {
4420
- mr(e, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
4418
+ pr(e, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
4421
4419
  }
4422
- function Sn(e, t, n) {
4420
+ function Bn(e, t, n) {
4423
4421
  const r = e.slice();
4424
4422
  return r[49] = t[n], r;
4425
4423
  }
4426
- function wn(e, t, n) {
4424
+ function Sn(e, t, n) {
4427
4425
  const r = e.slice();
4428
4426
  return r[52] = t[n], r;
4429
4427
  }
4430
- function Ro(e) {
4428
+ function Oo(e) {
4431
4429
  let t, n = (
4432
4430
  /*balances*/
4433
4431
  (e[3].Total ? (
@@ -4439,14 +4437,14 @@ function Ro(e) {
4439
4437
  ) : "0") + ""
4440
4438
  ), r, i, o, u, s, c, l, f = (
4441
4439
  /*isModalDisplayed*/
4442
- e[2] && An(e)
4440
+ e[2] && wn(e)
4443
4441
  );
4444
4442
  return {
4445
4443
  c() {
4446
- t = $("button"), r = Ee(n), i = xe(), o = $("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', u = xe(), f && f.c(), s = yr(), Z(t, "class", "BalanceValue");
4444
+ t = $("button"), r = ve(n), i = Ee(), o = $("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', u = Ee(), f && f.c(), s = br(), Z(t, "class", "BalanceValue");
4447
4445
  },
4448
4446
  m(g, y) {
4449
- fe(g, t, y), M(t, r), M(t, i), M(t, o), fe(g, u, y), f && f.m(g, y), fe(g, s, y), c || (l = dt(
4447
+ ce(g, t, y), P(t, r), P(t, i), P(t, o), ce(g, u, y), f && f.m(g, y), ce(g, s, y), c || (l = ft(
4450
4448
  t,
4451
4449
  "click",
4452
4450
  /*click_handler*/
@@ -4462,68 +4460,68 @@ function Ro(e) {
4462
4460
  /*balances*/
4463
4461
  g[3].Total[0].amount
4464
4462
  )
4465
- ) : "0") + "") && He(r, n), /*isModalDisplayed*/
4466
- g[2] ? f ? f.p(g, y) : (f = An(g), f.c(), f.m(s.parentNode, s)) : f && (f.d(1), f = null);
4463
+ ) : "0") + "") && Ce(r, n), /*isModalDisplayed*/
4464
+ g[2] ? f ? f.p(g, y) : (f = wn(g), f.c(), f.m(s.parentNode, s)) : f && (f.d(1), f = null);
4467
4465
  },
4468
4466
  d(g) {
4469
4467
  g && (ue(t), ue(u), ue(s)), f && f.d(g), c = !1, l();
4470
4468
  }
4471
4469
  };
4472
4470
  }
4473
- function No(e) {
4471
+ function Ro(e) {
4474
4472
  let t, n = (
4475
4473
  /*$_*/
4476
4474
  e[4]("Loading") + ""
4477
4475
  ), r;
4478
4476
  return {
4479
4477
  c() {
4480
- t = $("p"), r = Ee(n);
4478
+ t = $("p"), r = ve(n);
4481
4479
  },
4482
4480
  m(i, o) {
4483
- fe(i, t, o), M(t, r);
4481
+ ce(i, t, o), P(t, r);
4484
4482
  },
4485
4483
  p(i, o) {
4486
4484
  o[0] & /*$_*/
4487
4485
  16 && n !== (n = /*$_*/
4488
- i[4]("Loading") + "") && He(r, n);
4486
+ i[4]("Loading") + "") && Ce(r, n);
4489
4487
  },
4490
4488
  d(i) {
4491
4489
  i && ue(t);
4492
4490
  }
4493
4491
  };
4494
4492
  }
4495
- function An(e) {
4493
+ function wn(e) {
4496
4494
  let t, n, r, i, o, u, s = (
4497
4495
  /*$_*/
4498
4496
  e[4]("Title") + ""
4499
4497
  ), c, l, f, g, y, x, T = (
4500
4498
  /*$_*/
4501
4499
  e[4]("DepositButton") + ""
4502
- ), P, j, z, G = pt(Object.keys(
4500
+ ), I, j, z, G = dt(Object.keys(
4503
4501
  /*balances*/
4504
4502
  e[3]
4505
4503
  )), B = [];
4506
4504
  for (let w = 0; w < G.length; w += 1)
4507
- B[w] = Hn(Sn(e, G, w));
4505
+ B[w] = Cn(Bn(e, G, w));
4508
4506
  return {
4509
4507
  c() {
4510
- t = $("div"), n = $("button"), r = xe(), i = $("div"), o = $("div"), u = $("p"), c = Ee(s), l = xe(), f = $("div");
4508
+ t = $("div"), n = $("button"), r = Ee(), i = $("div"), o = $("div"), u = $("p"), c = ve(s), l = Ee(), f = $("div");
4511
4509
  for (let w = 0; w < B.length; w += 1)
4512
4510
  B[w].c();
4513
- g = xe(), y = $("div"), x = $("button"), P = Ee(T), Z(n, "class", "BalanceModalClose"), Z(u, "class", "BalanceModalTitle"), Z(o, "class", "BalanceModalHeader"), Z(f, "class", "BalanceModalBody"), Z(x, "class", "BalanceModalAction"), Z(y, "class", "BalanceModalFooter"), Z(i, "class", "BalanceModal"), Z(t, "class", "BalanceModalWrapper");
4511
+ g = Ee(), y = $("div"), x = $("button"), I = ve(T), Z(n, "class", "BalanceModalClose"), Z(u, "class", "BalanceModalTitle"), Z(o, "class", "BalanceModalHeader"), Z(f, "class", "BalanceModalBody"), Z(x, "class", "BalanceModalAction"), Z(y, "class", "BalanceModalFooter"), Z(i, "class", "BalanceModal"), Z(t, "class", "BalanceModalWrapper");
4514
4512
  },
4515
- m(w, I) {
4516
- fe(w, t, I), M(t, n), M(t, r), M(t, i), M(i, o), M(o, u), M(u, c), M(i, l), M(i, f);
4517
- for (let R = 0; R < B.length; R += 1)
4518
- B[R] && B[R].m(f, null);
4519
- M(i, g), M(i, y), M(y, x), M(x, P), j || (z = [
4520
- dt(
4513
+ m(w, D) {
4514
+ ce(w, t, D), P(t, n), P(t, r), P(t, i), P(i, o), P(o, u), P(u, c), P(i, l), P(i, f);
4515
+ for (let N = 0; N < B.length; N += 1)
4516
+ B[N] && B[N].m(f, null);
4517
+ P(i, g), P(i, y), P(y, x), P(x, I), j || (z = [
4518
+ ft(
4521
4519
  n,
4522
4520
  "click",
4523
4521
  /*click_handler_1*/
4524
4522
  e[24]
4525
4523
  ),
4526
- dt(
4524
+ ft(
4527
4525
  x,
4528
4526
  "click",
4529
4527
  /*click_handler_2*/
@@ -4531,34 +4529,34 @@ function An(e) {
4531
4529
  )
4532
4530
  ], j = !0);
4533
4531
  },
4534
- p(w, I) {
4535
- if (I[0] & /*$_*/
4532
+ p(w, D) {
4533
+ if (D[0] & /*$_*/
4536
4534
  16 && s !== (s = /*$_*/
4537
- w[4]("Title") + "") && He(c, s), I[0] & /*balances, formatBalance, $_*/
4535
+ w[4]("Title") + "") && Ce(c, s), D[0] & /*balances, formatBalance, $_*/
4538
4536
  56) {
4539
- G = pt(Object.keys(
4537
+ G = dt(Object.keys(
4540
4538
  /*balances*/
4541
4539
  w[3]
4542
4540
  ));
4543
- let R;
4544
- for (R = 0; R < G.length; R += 1) {
4545
- const K = Sn(w, G, R);
4546
- B[R] ? B[R].p(K, I) : (B[R] = Hn(K), B[R].c(), B[R].m(f, null));
4541
+ let N;
4542
+ for (N = 0; N < G.length; N += 1) {
4543
+ const K = Bn(w, G, N);
4544
+ B[N] ? B[N].p(K, D) : (B[N] = Cn(K), B[N].c(), B[N].m(f, null));
4547
4545
  }
4548
- for (; R < B.length; R += 1)
4549
- B[R].d(1);
4546
+ for (; N < B.length; N += 1)
4547
+ B[N].d(1);
4550
4548
  B.length = G.length;
4551
4549
  }
4552
- I[0] & /*$_*/
4550
+ D[0] & /*$_*/
4553
4551
  16 && T !== (T = /*$_*/
4554
- w[4]("DepositButton") + "") && He(P, T);
4552
+ w[4]("DepositButton") + "") && Ce(I, T);
4555
4553
  },
4556
4554
  d(w) {
4557
- w && ue(t), Mn(B, w), j = !1, ke(z);
4555
+ w && ue(t), Nn(B, w), j = !1, je(z);
4558
4556
  }
4559
4557
  };
4560
4558
  }
4561
- function Cn(e) {
4559
+ function An(e) {
4562
4560
  let t, n, r = (
4563
4561
  /*$_*/
4564
4562
  e[4](
@@ -4583,10 +4581,10 @@ function Cn(e) {
4583
4581
  ), y;
4584
4582
  return {
4585
4583
  c() {
4586
- t = $("div"), n = $("p"), i = Ee(r), o = xe(), s = Ee(u), c = xe(), l = $("p"), f = $("span"), y = Ee(g), Z(n, "class", "BalanceModalText"), Z(f, "class", "BalanceModalAmount"), Z(l, "class", "BalanceModalValue"), Z(t, "class", "BalanceModalRowLine");
4584
+ t = $("div"), n = $("p"), i = ve(r), o = Ee(), s = ve(u), c = Ee(), l = $("p"), f = $("span"), y = ve(g), Z(n, "class", "BalanceModalText"), Z(f, "class", "BalanceModalAmount"), Z(l, "class", "BalanceModalValue"), Z(t, "class", "BalanceModalRowLine");
4587
4585
  },
4588
4586
  m(x, T) {
4589
- fe(x, t, T), M(t, n), M(n, i), M(n, o), M(n, s), M(t, c), M(t, l), M(l, f), M(f, y);
4587
+ ce(x, t, T), P(t, n), P(n, i), P(n, o), P(n, s), P(t, c), P(t, l), P(l, f), P(f, y);
4590
4588
  },
4591
4589
  p(x, T) {
4592
4590
  T[0] & /*$_, balances*/
@@ -4594,7 +4592,7 @@ function Cn(e) {
4594
4592
  x[4](
4595
4593
  /*k*/
4596
4594
  x[49]
4597
- ) + "") && He(i, r), T[0] & /*balances, $_*/
4595
+ ) + "") && Ce(i, r), T[0] & /*balances, $_*/
4598
4596
  24 && u !== (u = /*b*/
4599
4597
  (x[52].productType ? (
4600
4598
  /*$_*/
@@ -4602,20 +4600,20 @@ function Cn(e) {
4602
4600
  /*b*/
4603
4601
  x[52].productType
4604
4602
  )
4605
- ) : "") + "") && He(s, u), T[0] & /*balances*/
4603
+ ) : "") + "") && Ce(s, u), T[0] & /*balances*/
4606
4604
  8 && g !== (g = /*formatBalance*/
4607
4605
  x[5](
4608
4606
  /*b*/
4609
4607
  x[52].amount
4610
- ) + "") && He(y, g);
4608
+ ) + "") && Ce(y, g);
4611
4609
  },
4612
4610
  d(x) {
4613
4611
  x && ue(t);
4614
4612
  }
4615
4613
  };
4616
4614
  }
4617
- function Hn(e) {
4618
- let t, n, r = pt(
4615
+ function Cn(e) {
4616
+ let t, n, r = dt(
4619
4617
  /*balances*/
4620
4618
  e[3][
4621
4619
  /*k*/
@@ -4623,24 +4621,24 @@ function Hn(e) {
4623
4621
  ]
4624
4622
  ), i = [];
4625
4623
  for (let o = 0; o < r.length; o += 1)
4626
- i[o] = Cn(wn(e, r, o));
4624
+ i[o] = An(Sn(e, r, o));
4627
4625
  return {
4628
4626
  c() {
4629
4627
  t = $("div");
4630
4628
  for (let o = 0; o < i.length; o += 1)
4631
4629
  i[o].c();
4632
- n = xe(), Z(t, "class", "BalanceModalRowBoth");
4630
+ n = Ee(), Z(t, "class", "BalanceModalRowBoth");
4633
4631
  },
4634
4632
  m(o, u) {
4635
- fe(o, t, u);
4633
+ ce(o, t, u);
4636
4634
  for (let s = 0; s < i.length; s += 1)
4637
4635
  i[s] && i[s].m(t, null);
4638
- M(t, n);
4636
+ P(t, n);
4639
4637
  },
4640
4638
  p(o, u) {
4641
4639
  if (u[0] & /*formatBalance, balances, $_*/
4642
4640
  56) {
4643
- r = pt(
4641
+ r = dt(
4644
4642
  /*balances*/
4645
4643
  o[3][
4646
4644
  /*k*/
@@ -4649,8 +4647,8 @@ function Hn(e) {
4649
4647
  );
4650
4648
  let s;
4651
4649
  for (s = 0; s < r.length; s += 1) {
4652
- const c = wn(o, r, s);
4653
- i[s] ? i[s].p(c, u) : (i[s] = Cn(c), i[s].c(), i[s].m(t, n));
4650
+ const c = Sn(o, r, s);
4651
+ i[s] ? i[s].p(c, u) : (i[s] = An(c), i[s].c(), i[s].m(t, n));
4654
4652
  }
4655
4653
  for (; s < i.length; s += 1)
4656
4654
  i[s].d(1);
@@ -4658,18 +4656,18 @@ function Hn(e) {
4658
4656
  }
4659
4657
  },
4660
4658
  d(o) {
4661
- o && ue(t), Mn(i, o);
4659
+ o && ue(t), Nn(i, o);
4662
4660
  }
4663
4661
  };
4664
4662
  }
4665
- function On(e) {
4663
+ function Hn(e) {
4666
4664
  let t, n, r;
4667
4665
  return {
4668
4666
  c() {
4669
4667
  t = $("button"), Z(t, "class", "ShowBalanceModalOverlay");
4670
4668
  },
4671
4669
  m(i, o) {
4672
- fe(i, t, o), n || (r = dt(
4670
+ ce(i, t, o), n || (r = ft(
4673
4671
  t,
4674
4672
  "click",
4675
4673
  /*click_handler_3*/
@@ -4682,28 +4680,28 @@ function On(e) {
4682
4680
  }
4683
4681
  };
4684
4682
  }
4685
- function Mo(e) {
4683
+ function No(e) {
4686
4684
  let t, n, r;
4687
4685
  function i(c, l) {
4688
4686
  return (
4689
4687
  /*isLoading*/
4690
- c[1] ? No : Ro
4688
+ c[1] ? Ro : Oo
4691
4689
  );
4692
4690
  }
4693
4691
  let o = i(e), u = o(e), s = (
4694
4692
  /*isModalDisplayed*/
4695
- e[2] && On(e)
4693
+ e[2] && Hn(e)
4696
4694
  );
4697
4695
  return {
4698
4696
  c() {
4699
- t = $("div"), n = $("div"), u.c(), r = xe(), s && s.c(), Z(n, "class", "ShowBalance");
4697
+ t = $("div"), n = $("div"), u.c(), r = Ee(), s && s.c(), Z(n, "class", "ShowBalance");
4700
4698
  },
4701
4699
  m(c, l) {
4702
- fe(c, t, l), M(t, n), u.m(n, null), M(t, r), s && s.m(t, null), e[27](t);
4700
+ ce(c, t, l), P(t, n), u.m(n, null), P(t, r), s && s.m(t, null), e[27](t);
4703
4701
  },
4704
4702
  p(c, l) {
4705
4703
  o === (o = i(c)) && u ? u.p(c, l) : (u.d(1), u = o(c), u && (u.c(), u.m(n, null))), /*isModalDisplayed*/
4706
- c[2] ? s ? s.p(c, l) : (s = On(c), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4704
+ c[2] ? s ? s.p(c, l) : (s = Hn(c), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4707
4705
  },
4708
4706
  i: ae,
4709
4707
  o: ae,
@@ -4712,27 +4710,27 @@ function Mo(e) {
4712
4710
  }
4713
4711
  };
4714
4712
  }
4715
- function Po(e, t, n) {
4713
+ function Mo(e, t, n) {
4716
4714
  let r;
4717
- pr(e, Co, (b) => n(4, r = b));
4718
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource: c } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: x = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencylocale: P = "en" } = t, { currencydisplay: j = "symbol" } = t, { maximumfractiondigits: z = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: B = "" } = t, w, I = !0, R = !1, K = !1, de, pe = "", ee = [], _e;
4719
- const E = {}, Te = ["totalCashAmount", "totalRealAmount"], We = () => {
4720
- fetch(g).then((b) => b.json()).then((b) => Object.keys(b).forEach((a) => Tn(a, b[a]))).catch((b) => console.log(b));
4715
+ dr(e, Ao, (b) => n(4, r = b));
4716
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource: c } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: x = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencylocale: I = "en" } = t, { currencydisplay: j = "symbol" } = t, { maximumfractiondigits: z = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: B = "" } = t, w, D = !0, N = !1, K = !1, fe, de = "", ee = [], xe;
4717
+ const E = {}, _e = ["totalCashAmount", "totalRealAmount"], ze = () => {
4718
+ fetch(g).then((b) => b.json()).then((b) => Object.keys(b).forEach((a) => _n(a, b[a]))).catch((b) => console.log(b));
4721
4719
  };
4722
- Object.keys(Bn).forEach((b) => Tn(b, Bn[b]));
4723
- const ot = (b) => {
4720
+ Object.keys(Tn).forEach((b) => _n(b, Tn[b]));
4721
+ const it = (b) => {
4724
4722
  if (B)
4725
- return Ze(b);
4726
- const a = P || s, h = {
4723
+ return We(b);
4724
+ const a = I || s, h = {
4727
4725
  style: "currency",
4728
- currency: pe,
4726
+ currency: de,
4729
4727
  useGrouping: !0,
4730
4728
  currencyDisplay: j || "code",
4731
4729
  maximumFractionDigits: z === "" || isNaN(Number(z)) ? 2 : Number(z),
4732
4730
  minimumFractionDigits: G === "" || isNaN(Number(G)) ? 0 : Number(G)
4733
4731
  };
4734
4732
  return new Intl.NumberFormat(a, h).format(b);
4735
- }, Ze = (b) => {
4733
+ }, We = (b) => {
4736
4734
  const a = [];
4737
4735
  let h = "";
4738
4736
  for (const m of B)
@@ -4746,23 +4744,23 @@ function Po(e, t, n) {
4746
4744
  case "}":
4747
4745
  const [d, v] = h.split("|");
4748
4746
  if (h = "", d.toLowerCase() === "currency")
4749
- h = pe;
4747
+ h = de;
4750
4748
  else if (d.toLowerCase() === "amount") {
4751
- let p = ",", _ = ".", N = 2;
4752
- v && (v[0] !== " " && (p = v[0]), v[1] !== " " && (_ = v[1]), v[2] !== " " && !isNaN(Number(v[2])) && (N = Number(v[2])));
4753
- let [A, O] = String(Math.floor(b * Rt(10, N)) / Rt(10, N)).split(".");
4749
+ let p = ",", _ = ".", M = 2;
4750
+ v && (v[0] !== " " && (p = v[0]), v[1] !== " " && (_ = v[1]), v[2] !== " " && !isNaN(Number(v[2])) && (M = Number(v[2])));
4751
+ let [A, L] = String(Math.floor(b * Lt(10, M)) / Lt(10, M)).split(".");
4754
4752
  h += A[0];
4755
- for (let L = 1; L < A.length; ++L)
4756
- (A.length - L) % 3 === 0 ? h += p + A[L] : h += A[L];
4757
- O && (h += _ + O);
4753
+ for (let O = 1; O < A.length; ++O)
4754
+ (A.length - O) % 3 === 0 ? h += p + A[O] : h += A[O];
4755
+ L && (h += _ + L);
4758
4756
  }
4759
4757
  h && a.push(h), h = "";
4760
4758
  break;
4761
4759
  }
4762
4760
  return a.push(h), a.join("");
4763
- }, le = () => Pt(this, null, function* () {
4761
+ }, le = () => Nt(this, null, function* () {
4764
4762
  var a, h, m;
4765
- n(1, I = !0);
4763
+ n(1, D = !0);
4766
4764
  const b = new URL(`${u}/v1/player/${i}/account`);
4767
4765
  try {
4768
4766
  const d = yield fetch(b, {
@@ -4770,7 +4768,7 @@ function Po(e, t, n) {
4770
4768
  headers: { "X-SessionID": o }
4771
4769
  }), v = yield d.json();
4772
4770
  if (d.ok)
4773
- ee = v.items, pe = (a = ee.find((p) => p.displayName === "Casino")) == null ? void 0 : a.currency, n(3, E.Total = [{ amount: v.totalAmount[pe] }], E), n(
4771
+ ee = v.items, de = (a = ee.find((p) => p.displayName === "Casino")) == null ? void 0 : a.currency, n(3, E.Total = [{ amount: v.totalAmount[de] }], E), n(
4774
4772
  3,
4775
4773
  E.Real = [
4776
4774
  {
@@ -4792,19 +4790,19 @@ function Po(e, t, n) {
4792
4790
  } catch (d) {
4793
4791
  console.log("Balance error: ", d);
4794
4792
  } finally {
4795
- n(1, I = !1);
4793
+ n(1, D = !1);
4796
4794
  }
4797
- }), Be = () => {
4798
- n(1, I = !0);
4795
+ }), Te = () => {
4796
+ n(1, D = !0);
4799
4797
  const b = new URL(`${u}/v2/player/${i}/balance`), a = new Headers();
4800
4798
  a.append("X-SessionID", o), fetch(b, { method: "GET", headers: a }).then((m) => m.json()).then((m) => {
4801
- m[T] || n(7, T = Te[0]);
4799
+ m[T] || n(7, T = _e[0]);
4802
4800
  const d = m.items.find((p) => p.type === "Real" && p.walletAccountType === "Ordinary");
4803
- if (pe = d.currency, K = !!d.productType, n(3, E.Total = [{ amount: 0 }], E), n(3, E.Real = [], E), n(3, E.Bonus = [], E), n(3, E.Credit = [], E), !K) {
4804
- _e = {
4801
+ if (de = d.currency, K = !!d.productType, n(3, E.Total = [{ amount: 0 }], E), n(3, E.Real = [], E), n(3, E.Bonus = [], E), n(3, E.Credit = [], E), !K) {
4802
+ xe = {
4805
4803
  lastOrdinaryAfterAmount: 0,
4806
4804
  showCreditLineAfterAmount: !1
4807
- }, n(3, E.Total[0].amount = m[T][pe], E);
4805
+ }, n(3, E.Total[0].amount = m[T][de], E);
4808
4806
  for (const p of m.items)
4809
4807
  switch (p.type) {
4810
4808
  case "Bonus":
@@ -4818,10 +4816,10 @@ function Po(e, t, n) {
4818
4816
  }
4819
4817
  for (const [p, _] of Object.entries(E))
4820
4818
  _.length < 1 && delete E[p];
4821
- n(1, I = !1);
4819
+ n(1, D = !1);
4822
4820
  return;
4823
4821
  }
4824
- _e = {
4822
+ xe = {
4825
4823
  Casino: {
4826
4824
  lastOrdinaryAfterAmount: 0,
4827
4825
  showCreditLineAfterAmount: !1
@@ -4837,7 +4835,7 @@ function Po(e, t, n) {
4837
4835
  let _;
4838
4836
  switch (p.type) {
4839
4837
  case "Bonus":
4840
- _ = E.Bonus.findIndex((N) => N.productType === p.productType), _ > 0 ? n(3, E.Bonus[_].amount += p.amount, E) : E.Bonus.push({
4838
+ _ = E.Bonus.findIndex((M) => M.productType === p.productType), _ > 0 ? n(3, E.Bonus[_].amount += p.amount, E) : E.Bonus.push({
4841
4839
  amount: p.amount,
4842
4840
  productType: p.productType
4843
4841
  });
@@ -4846,27 +4844,27 @@ function Po(e, t, n) {
4846
4844
  p.creditLine && E.Credit.push({
4847
4845
  amount: p.creditLine,
4848
4846
  productType: p.productType
4849
- }), _ = E.Real.findIndex((N) => N.productType === p.productType), _ > 0 ? n(3, E.Real[_].amount += p.amount, E) : E.Real.push({
4847
+ }), _ = E.Real.findIndex((M) => M.productType === p.productType), _ > 0 ? n(3, E.Real[_].amount += p.amount, E) : E.Real.push({
4850
4848
  amount: p.amount,
4851
4849
  productType: p.productType
4852
4850
  });
4853
4851
  break;
4854
4852
  }
4855
4853
  }
4856
- qe();
4854
+ Ze();
4857
4855
  for (const [p, _] of Object.entries(E))
4858
4856
  _.length < 1 && delete E[p];
4859
- n(1, I = !1);
4857
+ n(1, D = !1);
4860
4858
  }).catch(() => {
4861
- throw n(1, I = !1), new Error("Failed to fetch balance data !");
4859
+ throw n(1, D = !1), new Error("Failed to fetch balance data !");
4862
4860
  });
4863
- }, me = () => {
4864
- if (de && de.close(), o.length < 1)
4861
+ }, pe = () => {
4862
+ if (fe && fe.close(), o.length < 1)
4865
4863
  return;
4866
4864
  let b, a;
4867
4865
  switch (y) {
4868
4866
  case "gm16":
4869
- b = new URL(`${u}/v2/player/${i}/information/updates`), a = (d) => Tt(d);
4867
+ b = new URL(`${u}/v2/player/${i}/information/updates`), a = (d) => xt(d);
4870
4868
  break;
4871
4869
  case "gmcore":
4872
4870
  b = new URL(`${u}/v1/player/${i}/balance/updates`), a = (d) => he(d);
@@ -4875,8 +4873,8 @@ function Po(e, t, n) {
4875
4873
  const h = {
4876
4874
  accept: "text/event-stream",
4877
4875
  "X-SessionId": o
4878
- }, m = new Oo.EventSourcePolyfill(b, { headers: h });
4879
- de = m, m.addEventListener("message", a);
4876
+ }, m = new Ho.EventSourcePolyfill(b, { headers: h });
4877
+ fe = m, m.addEventListener("message", a);
4880
4878
  }, Le = (b) => {
4881
4879
  let a;
4882
4880
  try {
@@ -4890,15 +4888,15 @@ function Po(e, t, n) {
4890
4888
  var d, v;
4891
4889
  const a = Le(b.data);
4892
4890
  if (!a) {
4893
- me();
4891
+ pe();
4894
4892
  return;
4895
4893
  }
4896
4894
  let h = "0";
4897
4895
  const m = a.balanceChange;
4898
- ee = ee.map((p) => (m && m[p.id] && (p = Mt(Nt({}, p), {
4896
+ ee = ee.map((p) => (m && m[p.id] && (p = Rt(Ot({}, p), {
4899
4897
  balanceAmount: m[p.id].afterAmount
4900
4898
  })), h = (parseFloat(p == null ? void 0 : p.balanceAmount) + parseFloat(h)).toString(), p)), n(3, E.Real = [{ amount: (d = ee[0]) == null ? void 0 : d.balanceAmount }], E), n(3, E.Bonus = [{ amount: (v = ee[1]) == null ? void 0 : v.balanceAmount }], E), n(3, E.Total = [{ amount: Number(h) }], E);
4901
- }, Ae = (b, a, h) => {
4899
+ }, we = (b, a, h) => {
4902
4900
  let m = null;
4903
4901
  switch (h.walletAccountType) {
4904
4902
  case "Ordinary":
@@ -4911,7 +4909,7 @@ function Po(e, t, n) {
4911
4909
  m = h.afterAmount;
4912
4910
  }
4913
4911
  return m === null ? b : m;
4914
- }, qe = () => {
4912
+ }, Ze = () => {
4915
4913
  switch (T) {
4916
4914
  case "totalCashAmount":
4917
4915
  let b = 0;
@@ -4928,68 +4926,68 @@ function Po(e, t, n) {
4928
4926
  a += h.amount;
4929
4927
  n(3, E.Total[0].amount = a, E);
4930
4928
  }
4931
- }, Tt = (b) => {
4929
+ }, xt = (b) => {
4932
4930
  const a = Le(b.data);
4933
4931
  if (!a) {
4934
- me();
4932
+ pe();
4935
4933
  return;
4936
4934
  }
4937
- if (Bt(a == null ? void 0 : a.type) || a.type !== "BALANCE_UPDATE_V2")
4935
+ if (_t(a == null ? void 0 : a.type) || a.type !== "BALANCE_UPDATE_V2")
4938
4936
  return;
4939
4937
  const h = a.body.balanceChange;
4940
4938
  for (const [m, d] of Object.entries(h))
4941
- if (T === "totalRealAmount" && m === "Real" && !K && n(3, E.Total[0].amount = Ae(E.Total[0].amount, _e, d), E), !!E[m])
4939
+ if (T === "totalRealAmount" && m === "Real" && !K && n(3, E.Total[0].amount = we(E.Total[0].amount, xe, d), E), !!E[m])
4942
4940
  for (const v of E[m]) {
4943
4941
  if (!K) {
4944
- v.amount = m === "Real" ? Ae(v.amount, _e, d) : d.afterAmount;
4942
+ v.amount = m === "Real" ? we(v.amount, xe, d) : d.afterAmount;
4945
4943
  continue;
4946
4944
  }
4947
- d.productType === v.productType && (v.amount = m === "Real" ? Ae(v.amount, _e[v.productType], d) : d.afterAmount);
4945
+ d.productType === v.productType && (v.amount = m === "Real" ? we(v.amount, xe[v.productType], d) : d.afterAmount);
4948
4946
  }
4949
- qe();
4950
- }, at = () => {
4951
- n(2, R = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4952
- }, Bt = (b) => b === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, St = () => {
4953
- Te.includes(T) || (console.error(`Unsupported value ('${T}') for totalcalculationmode parameter. Only the following values are supported ${Te}. Using default value ('${Te[0]}').`), n(7, T = Te[0]));
4954
- }, Qe = () => {
4955
- switch (Ho(s), St(), y) {
4947
+ Ze();
4948
+ }, ot = () => {
4949
+ n(2, N = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4950
+ }, _t = (b) => b === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Tt = () => {
4951
+ _e.includes(T) || (console.error(`Unsupported value ('${T}') for totalcalculationmode parameter. Only the following values are supported ${_e}. Using default value ('${_e[0]}').`), n(7, T = _e[0]));
4952
+ }, qe = () => {
4953
+ switch (Co(s), Tt(), y) {
4956
4954
  case "gmcore":
4957
4955
  le();
4958
4956
  break;
4959
4957
  case "gm16":
4960
- Be();
4958
+ Te();
4961
4959
  break;
4962
4960
  default:
4963
4961
  throw Error(`Invalid apiversion attribute: ${y}`);
4964
4962
  }
4965
- }, Re = (b) => b.data && b.data.type === "LogoutSuccessfull" && de.close();
4966
- _r(() => (window.addEventListener("message", Re, !1), () => {
4967
- window.removeEventListener("message", Re), de && de.close();
4963
+ }, Oe = (b) => b.data && b.data.type === "LogoutSuccessfull" && fe.close();
4964
+ xr(() => (window.addEventListener("message", Oe, !1), () => {
4965
+ window.removeEventListener("message", Oe), fe && fe.close();
4968
4966
  }));
4969
- const Se = () => n(2, R = !0), te = () => n(2, R = !1), wt = () => at(), At = () => n(2, R = !1);
4970
- function Ct(b) {
4971
- kt[b ? "unshift" : "push"](() => {
4967
+ const Be = () => n(2, N = !0), te = () => n(2, N = !1), Bt = () => ot(), St = () => n(2, N = !1);
4968
+ function wt(b) {
4969
+ $t[b ? "unshift" : "push"](() => {
4972
4970
  w = b, n(0, w);
4973
4971
  });
4974
4972
  }
4975
4973
  return e.$$set = (b) => {
4976
- "userid" in b && n(8, i = b.userid), "session" in b && n(9, o = b.session), "endpoint" in b && n(10, u = b.endpoint), "lang" in b && n(11, s = b.lang), "mbsource" in b && n(12, c = b.mbsource), "clientstyling" in b && n(13, l = b.clientstyling), "clientstylingurl" in b && n(14, f = b.clientstylingurl), "translationurl" in b && n(15, g = b.translationurl), "gmversion" in b && n(16, y = b.gmversion), "displaybalanceoption" in b && n(17, x = b.displaybalanceoption), "totalcalculationmode" in b && n(7, T = b.totalcalculationmode), "currencylocale" in b && n(18, P = b.currencylocale), "currencydisplay" in b && n(19, j = b.currencydisplay), "maximumfractiondigits" in b && n(20, z = b.maximumfractiondigits), "minimumfractiondigits" in b && n(21, G = b.minimumfractiondigits), "customdisplayformat" in b && n(22, B = b.customdisplayformat);
4974
+ "userid" in b && n(8, i = b.userid), "session" in b && n(9, o = b.session), "endpoint" in b && n(10, u = b.endpoint), "lang" in b && n(11, s = b.lang), "mbsource" in b && n(12, c = b.mbsource), "clientstyling" in b && n(13, l = b.clientstyling), "clientstylingurl" in b && n(14, f = b.clientstylingurl), "translationurl" in b && n(15, g = b.translationurl), "gmversion" in b && n(16, y = b.gmversion), "displaybalanceoption" in b && n(17, x = b.displaybalanceoption), "totalcalculationmode" in b && n(7, T = b.totalcalculationmode), "currencylocale" in b && n(18, I = b.currencylocale), "currencydisplay" in b && n(19, j = b.currencydisplay), "maximumfractiondigits" in b && n(20, z = b.maximumfractiondigits), "minimumfractiondigits" in b && n(21, G = b.minimumfractiondigits), "customdisplayformat" in b && n(22, B = b.customdisplayformat);
4977
4975
  }, e.$$.update = () => {
4978
4976
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
4979
- 200448 && u && i && o && s && y && x && Qe(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
4980
- 67328 && u && i && o && y && me(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4981
- 8193 && l && w && Ir(w, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4982
- 16385 && f && w && Dr(w, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4983
- 4097 && w && Fr(w, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4984
- 32768 && g && We();
4977
+ 200448 && u && i && o && s && y && x && qe(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
4978
+ 67328 && u && i && o && y && pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4979
+ 8193 && l && w && Pr(w, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4980
+ 16385 && f && w && Ir(w, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4981
+ 4097 && w && Dr(w, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4982
+ 32768 && g && ze();
4985
4983
  }, [
4986
4984
  w,
4987
- I,
4988
- R,
4985
+ D,
4986
+ N,
4989
4987
  E,
4990
4988
  r,
4989
+ it,
4991
4990
  ot,
4992
- at,
4993
4991
  T,
4994
4992
  i,
4995
4993
  o,
@@ -5001,26 +4999,26 @@ function Po(e, t, n) {
5001
4999
  g,
5002
5000
  y,
5003
5001
  x,
5004
- P,
5002
+ I,
5005
5003
  j,
5006
5004
  z,
5007
5005
  G,
5008
5006
  B,
5009
- Se,
5007
+ Be,
5010
5008
  te,
5011
- wt,
5012
- At,
5013
- Ct
5009
+ Bt,
5010
+ St,
5011
+ wt
5014
5012
  ];
5015
5013
  }
5016
- class Io extends Mr {
5014
+ class Po extends Nr {
5017
5015
  constructor(t) {
5018
- super(), Rr(
5016
+ super(), Or(
5019
5017
  this,
5020
5018
  t,
5021
- Po,
5022
5019
  Mo,
5023
- Rn,
5020
+ No,
5021
+ On,
5024
5022
  {
5025
5023
  userid: 8,
5026
5024
  session: 9,
@@ -5140,7 +5138,7 @@ class Io extends Mr {
5140
5138
  this.$$set({ customdisplayformat: t }), X();
5141
5139
  }
5142
5140
  }
5143
- Nr(Io, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5141
+ Rr(Po, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5144
5142
  export {
5145
- Io as default
5143
+ Po as default
5146
5144
  };