@everymatrix/player-account-balance-modal 1.77.20 → 1.77.22

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