@everymatrix/player-account-balance-modal-nd 1.83.2 → 1.83.4

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.
@@ -10,7 +10,7 @@ var Dt = Math.pow, It = (e, t, n) => t in e ? Nr(e, t, { enumerable: !0, configu
10
10
  Fr.call(t, n) && It(e, n, t[n]);
11
11
  return e;
12
12
  }, Ft = (e, t) => Ir(e, Dr(t));
13
- var me = (e, t, n) => (It(e, typeof t != "symbol" ? t + "" : t, n), n);
13
+ var pe = (e, t, n) => (It(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var Gt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -27,7 +27,7 @@ var Gt = (e, t, n) => new Promise((r, i) => {
27
27
  }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
28
  s((n = n.apply(e, t)).next());
29
29
  });
30
- function be() {
30
+ function me() {
31
31
  }
32
32
  function Jn(e) {
33
33
  return e();
@@ -35,7 +35,7 @@ function Jn(e) {
35
35
  function _n() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Xe(e) {
38
+ function Ze(e) {
39
39
  e.forEach(Jn);
40
40
  }
41
41
  function mn(e) {
@@ -51,7 +51,7 @@ function er(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return be;
54
+ return me;
55
55
  }
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
@@ -59,13 +59,13 @@ function er(e, ...t) {
59
59
  function jr(e, t, n) {
60
60
  e.$$.on_destroy.push(er(t, n));
61
61
  }
62
- function R(e, t) {
62
+ function P(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
65
  function kr(e, t, n) {
66
66
  const r = $r(e);
67
67
  if (!r.getElementById(t)) {
68
- const i = j("style");
68
+ const i = X("style");
69
69
  i.id = t, i.textContent = n, Vr(r, i);
70
70
  }
71
71
  }
@@ -80,7 +80,7 @@ function $r(e) {
80
80
  ) : e.ownerDocument;
81
81
  }
82
82
  function Vr(e, t) {
83
- return R(
83
+ return P(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
@@ -89,29 +89,29 @@ function Vr(e, t) {
89
89
  function ye(e, t, n) {
90
90
  e.insertBefore(t, n || null);
91
91
  }
92
- function ge(e) {
92
+ function be(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function tr(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
- function j(e) {
99
+ function X(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function En(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function we(e) {
105
+ function Se(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function xe() {
109
- return we(" ");
108
+ function we() {
109
+ return Se(" ");
110
110
  }
111
111
  function Xr() {
112
- return we("");
112
+ return Se("");
113
113
  }
114
- function rt(e, t, n, r) {
114
+ function it(e, t, n, r) {
115
115
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
117
  function L(e, t, n) {
@@ -120,7 +120,7 @@ function L(e, t, n) {
120
120
  function zr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
- function Le(e, t) {
123
+ function Re(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
@@ -133,96 +133,96 @@ function Wr(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let it;
137
- function nt(e) {
138
- it = e;
136
+ let ot;
137
+ function rt(e) {
138
+ ot = e;
139
139
  }
140
140
  function Zr() {
141
- if (!it)
141
+ if (!ot)
142
142
  throw new Error("Function called outside component initialization");
143
- return it;
143
+ return ot;
144
144
  }
145
145
  function qr(e) {
146
146
  Zr().$$.on_mount.push(e);
147
147
  }
148
- const Fe = [], qt = [];
149
- let Ge = [];
148
+ const ke = [], qt = [];
149
+ let $e = [];
150
150
  const xn = [], Yr = /* @__PURE__ */ Promise.resolve();
151
151
  let Yt = !1;
152
152
  function Qr() {
153
- Yt || (Yt = !0, Yr.then(Y));
153
+ Yt || (Yt = !0, Yr.then(Q));
154
154
  }
155
155
  function Qt(e) {
156
- Ge.push(e);
156
+ $e.push(e);
157
157
  }
158
158
  const jt = /* @__PURE__ */ new Set();
159
- let De = 0;
160
- function Y() {
161
- if (De !== 0)
159
+ let Ge = 0;
160
+ function Q() {
161
+ if (Ge !== 0)
162
162
  return;
163
- const e = it;
163
+ const e = ot;
164
164
  do {
165
165
  try {
166
- for (; De < Fe.length; ) {
167
- const t = Fe[De];
168
- De++, nt(t), Jr(t.$$);
166
+ for (; Ge < ke.length; ) {
167
+ const t = ke[Ge];
168
+ Ge++, rt(t), Jr(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw Fe.length = 0, De = 0, t;
171
+ throw ke.length = 0, Ge = 0, t;
172
172
  }
173
- for (nt(null), Fe.length = 0, De = 0; qt.length; )
173
+ for (rt(null), ke.length = 0, Ge = 0; qt.length; )
174
174
  qt.pop()();
175
- for (let t = 0; t < Ge.length; t += 1) {
176
- const n = Ge[t];
175
+ for (let t = 0; t < $e.length; t += 1) {
176
+ const n = $e[t];
177
177
  jt.has(n) || (jt.add(n), n());
178
178
  }
179
- Ge.length = 0;
180
- } while (Fe.length);
179
+ $e.length = 0;
180
+ } while (ke.length);
181
181
  for (; xn.length; )
182
182
  xn.pop()();
183
- Yt = !1, jt.clear(), nt(e);
183
+ Yt = !1, jt.clear(), rt(e);
184
184
  }
185
185
  function Jr(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), Xe(e.before_update);
187
+ e.update(), Ze(e.before_update);
188
188
  const t = e.dirty;
189
189
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qt);
190
190
  }
191
191
  }
192
192
  function Kr(e) {
193
193
  const t = [], n = [];
194
- Ge.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ge = t;
194
+ $e.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), $e = t;
195
195
  }
196
196
  const ei = /* @__PURE__ */ new Set();
197
197
  function ti(e, t) {
198
198
  e && e.i && (ei.delete(e), e.i(t));
199
199
  }
200
- function Et(e) {
200
+ function vt(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
203
  function ni(e, t, n) {
204
204
  const { fragment: r, after_update: i } = e.$$;
205
205
  r && r.m(t, n), Qt(() => {
206
206
  const o = e.$$.on_mount.map(Jn).filter(mn);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ze(o), e.$$.on_mount = [];
208
208
  }), i.forEach(Qt);
209
209
  }
210
210
  function ri(e, t) {
211
211
  const n = e.$$;
212
- n.fragment !== null && (Kr(n.after_update), Xe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
212
+ n.fragment !== null && (Kr(n.after_update), Ze(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
213
213
  }
214
214
  function ii(e, t) {
215
- e.$$.dirty[0] === -1 && (Fe.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ e.$$.dirty[0] === -1 && (ke.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
217
  function oi(e, t, n, r, i, o, a = null, s = [-1]) {
218
- const l = it;
219
- nt(e);
218
+ const l = ot;
219
+ rt(e);
220
220
  const u = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
223
223
  // state
224
224
  props: o,
225
- update: be,
225
+ update: me,
226
226
  not_equal: i,
227
227
  bound: _n(),
228
228
  // lifecycle
@@ -240,41 +240,41 @@ function oi(e, t, n, r, i, o, a = null, s = [-1]) {
240
240
  };
241
241
  a && a(u.root);
242
242
  let f = !1;
243
- if (u.ctx = n ? n(e, t.props || {}, (m, d, ...B) => {
244
- const x = B.length ? B[0] : d;
245
- return u.ctx && i(u.ctx[m], u.ctx[m] = x) && (!u.skip_bound && u.bound[m] && u.bound[m](x), f && ii(e, m)), d;
246
- }) : [], u.update(), f = !0, Xe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
243
+ if (u.ctx = n ? n(e, t.props || {}, (m, p, ...w) => {
244
+ const _ = w.length ? w[0] : p;
245
+ return u.ctx && i(u.ctx[m], u.ctx[m] = _) && (!u.skip_bound && u.bound[m] && u.bound[m](_), f && ii(e, m)), p;
246
+ }) : [], u.update(), f = !0, Ze(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
248
  const m = zr(t.target);
249
- u.fragment && u.fragment.l(m), m.forEach(ge);
249
+ u.fragment && u.fragment.l(m), m.forEach(be);
250
250
  } else
251
251
  u.fragment && u.fragment.c();
252
- t.intro && ti(e.$$.fragment), ni(e, t.target, t.anchor), Y();
252
+ t.intro && ti(e.$$.fragment), ni(e, t.target, t.anchor), Q();
253
253
  }
254
- nt(l);
254
+ rt(l);
255
255
  }
256
256
  let nr;
257
257
  typeof HTMLElement == "function" && (nr = class extends HTMLElement {
258
258
  constructor(t, n, r) {
259
259
  super();
260
260
  /** The Svelte component constructor */
261
- me(this, "$$ctor");
261
+ pe(this, "$$ctor");
262
262
  /** Slots */
263
- me(this, "$$s");
263
+ pe(this, "$$s");
264
264
  /** The Svelte component instance */
265
- me(this, "$$c");
265
+ pe(this, "$$c");
266
266
  /** Whether or not the custom element is connected */
267
- me(this, "$$cn", !1);
267
+ pe(this, "$$cn", !1);
268
268
  /** Component props data */
269
- me(this, "$$d", {});
269
+ pe(this, "$$d", {});
270
270
  /** `true` if currently in the process of reflecting component props back to attributes */
271
- me(this, "$$r", !1);
271
+ pe(this, "$$r", !1);
272
272
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
273
- me(this, "$$p_d", {});
273
+ pe(this, "$$p_d", {});
274
274
  /** @type {Record<string, Function[]>} Event listeners */
275
- me(this, "$$l", {});
275
+ pe(this, "$$l", {});
276
276
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
277
- me(this, "$$l_u", /* @__PURE__ */ new Map());
277
+ pe(this, "$$l_u", /* @__PURE__ */ new Map());
278
278
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
279
279
  }
280
280
  addEventListener(t, n, r) {
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
298
298
  let a;
299
299
  return {
300
300
  c: function() {
301
- a = j("slot"), o !== "default" && L(a, "name", o);
301
+ a = X("slot"), o !== "default" && L(a, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
308
308
  ye(u, a, f);
309
309
  },
310
310
  d: function(u) {
311
- u && ge(a);
311
+ u && be(a);
312
312
  }
313
313
  };
314
314
  };
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
320
320
  o in r && (n[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
322
322
  const a = this.$$g_p(o.name);
323
- a in this.$$d || (this.$$d[a] = gt(a, o.value, this.$$p_d, "toProp"));
323
+ a in this.$$d || (this.$$d[a] = mt(a, o.value, this.$$p_d, "toProp"));
324
324
  }
325
325
  for (const o in this.$$p_d)
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
337
337
  this.$$r = !0;
338
338
  for (const o in this.$$p_d)
339
339
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
340
- const a = gt(
340
+ const a = mt(
341
341
  o,
342
342
  this.$$d[o],
343
343
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
361
361
  // and setting attributes through setAttribute etc, this is helpful
362
362
  attributeChangedCallback(t, n, r) {
363
363
  var i;
364
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = gt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
364
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = mt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
374
374
  ) || t;
375
375
  }
376
376
  });
377
- function gt(e, t, n, r) {
377
+ function mt(e, t, n, r) {
378
378
  var o;
379
379
  const i = (o = n[e]) == null ? void 0 : o.type;
380
380
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -422,7 +422,7 @@ function ai(e, t, n, r, i, o) {
422
422
  },
423
423
  set(l) {
424
424
  var u;
425
- l = gt(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
425
+ l = mt(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
426
426
  }
427
427
  });
428
428
  }), r.forEach((s) => {
@@ -444,7 +444,7 @@ class si {
444
444
  *
445
445
  * @type {any}
446
446
  */
447
- me(this, "$$");
447
+ pe(this, "$$");
448
448
  /**
449
449
  * ### PRIVATE API
450
450
  *
@@ -452,11 +452,11 @@ class si {
452
452
  *
453
453
  * @type {any}
454
454
  */
455
- me(this, "$$set");
455
+ pe(this, "$$set");
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- ri(this, 1), this.$destroy = be;
459
+ ri(this, 1), this.$destroy = me;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -466,7 +466,7 @@ class si {
466
466
  */
467
467
  $on(t, n) {
468
468
  if (!mn(n))
469
- return be;
469
+ return me;
470
470
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return r.push(n), () => {
472
472
  const i = r.indexOf(n);
@@ -506,39 +506,39 @@ function hi(e, t, n) {
506
506
  });
507
507
  }
508
508
  }
509
- const Ue = [];
509
+ const je = [];
510
510
  function fi(e, t) {
511
511
  return {
512
- subscribe: Bt(e, t).subscribe
512
+ subscribe: wt(e, t).subscribe
513
513
  };
514
514
  }
515
- function Bt(e, t = be) {
515
+ function wt(e, t = me) {
516
516
  let n;
517
517
  const r = /* @__PURE__ */ new Set();
518
518
  function i(s) {
519
519
  if (Kn(e, s) && (e = s, n)) {
520
- const l = !Ue.length;
520
+ const l = !je.length;
521
521
  for (const u of r)
522
- u[1](), Ue.push(u, e);
522
+ u[1](), je.push(u, e);
523
523
  if (l) {
524
- for (let u = 0; u < Ue.length; u += 2)
525
- Ue[u][0](Ue[u + 1]);
526
- Ue.length = 0;
524
+ for (let u = 0; u < je.length; u += 2)
525
+ je[u][0](je[u + 1]);
526
+ je.length = 0;
527
527
  }
528
528
  }
529
529
  }
530
530
  function o(s) {
531
531
  i(s(e));
532
532
  }
533
- function a(s, l = be) {
533
+ function a(s, l = me) {
534
534
  const u = [s, l];
535
- return r.add(u), r.size === 1 && (n = t(i, o) || be), s(e), () => {
535
+ return r.add(u), r.size === 1 && (n = t(i, o) || me), s(e), () => {
536
536
  r.delete(u), r.size === 0 && n && (n(), n = null);
537
537
  };
538
538
  }
539
539
  return { set: i, update: o, subscribe: a };
540
540
  }
541
- function ze(e, t, n) {
541
+ function qe(e, t, n) {
542
542
  const r = !Array.isArray(e), i = r ? [e] : e;
543
543
  if (!i.every(Boolean))
544
544
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -546,26 +546,26 @@ function ze(e, t, n) {
546
546
  return fi(n, (a, s) => {
547
547
  let l = !1;
548
548
  const u = [];
549
- let f = 0, m = be;
550
- const d = () => {
549
+ let f = 0, m = me;
550
+ const p = () => {
551
551
  if (f)
552
552
  return;
553
553
  m();
554
- const x = t(r ? u[0] : u, a, s);
555
- o ? a(x) : m = mn(x) ? x : be;
556
- }, B = i.map(
557
- (x, T) => er(
558
- x,
559
- (I) => {
560
- u[T] = I, f &= ~(1 << T), l && d();
554
+ const _ = t(r ? u[0] : u, a, s);
555
+ o ? a(_) : m = mn(_) ? _ : me;
556
+ }, w = i.map(
557
+ (_, S) => er(
558
+ _,
559
+ (D) => {
560
+ u[S] = D, f &= ~(1 << S), l && p();
561
561
  },
562
562
  () => {
563
- f |= 1 << T;
563
+ f |= 1 << S;
564
564
  }
565
565
  )
566
566
  );
567
- return l = !0, d(), function() {
568
- Xe(B), m(), l = !1;
567
+ return l = !0, p(), function() {
568
+ Ze(w), m(), l = !1;
569
569
  };
570
570
  });
571
571
  }
@@ -590,19 +590,19 @@ function _i(e) {
590
590
  function Ei(e) {
591
591
  return Array.isArray(e) ? [] : {};
592
592
  }
593
- function ot(e, t) {
594
- return t.clone !== !1 && t.isMergeableObject(e) ? je(Ei(e), e, t) : e;
593
+ function at(e, t) {
594
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ve(Ei(e), e, t) : e;
595
595
  }
596
596
  function xi(e, t, n) {
597
597
  return e.concat(t).map(function(r) {
598
- return ot(r, n);
598
+ return at(r, n);
599
599
  });
600
600
  }
601
601
  function wi(e, t) {
602
602
  if (!t.customMerge)
603
- return je;
603
+ return Ve;
604
604
  var n = t.customMerge(e);
605
- return typeof n == "function" ? n : je;
605
+ return typeof n == "function" ? n : Ve;
606
606
  }
607
607
  function Si(e) {
608
608
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -625,24 +625,24 @@ function Bi(e, t) {
625
625
  function Ti(e, t, n) {
626
626
  var r = {};
627
627
  return n.isMergeableObject(e) && wn(e).forEach(function(i) {
628
- r[i] = ot(e[i], n);
628
+ r[i] = at(e[i], n);
629
629
  }), wn(t).forEach(function(i) {
630
- Bi(e, i) || (rr(e, i) && n.isMergeableObject(t[i]) ? r[i] = wi(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
630
+ Bi(e, i) || (rr(e, i) && n.isMergeableObject(t[i]) ? r[i] = wi(i, n)(e[i], t[i], n) : r[i] = at(t[i], n));
631
631
  }), r;
632
632
  }
633
- function je(e, t, n) {
634
- n = n || {}, n.arrayMerge = n.arrayMerge || xi, n.isMergeableObject = n.isMergeableObject || mi, n.cloneUnlessOtherwiseSpecified = ot;
633
+ function Ve(e, t, n) {
634
+ n = n || {}, n.arrayMerge = n.arrayMerge || xi, n.isMergeableObject = n.isMergeableObject || mi, n.cloneUnlessOtherwiseSpecified = at;
635
635
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
636
- return o ? r ? n.arrayMerge(e, t, n) : Ti(e, t, n) : ot(t, n);
636
+ return o ? r ? n.arrayMerge(e, t, n) : Ti(e, t, n) : at(t, n);
637
637
  }
638
- je.all = function(t, n) {
638
+ Ve.all = function(t, n) {
639
639
  if (!Array.isArray(t))
640
640
  throw new Error("first argument should be an array");
641
641
  return t.reduce(function(r, i) {
642
- return je(r, i, n);
642
+ return Ve(r, i, n);
643
643
  }, {});
644
644
  };
645
- var Ai = je, Ci = Ai;
645
+ var Ai = Ve, Ci = Ai;
646
646
  const Hi = /* @__PURE__ */ pi(Ci);
647
647
  var Jt = function(e, t) {
648
648
  return Jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
@@ -652,7 +652,7 @@ var Jt = function(e, t) {
652
652
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
653
653
  }, Jt(e, t);
654
654
  };
655
- function Tt(e, t) {
655
+ function St(e, t) {
656
656
  if (typeof t != "function" && t !== null)
657
657
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
658
658
  Jt(e, t);
@@ -661,15 +661,15 @@ function Tt(e, t) {
661
661
  }
662
662
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
663
663
  }
664
- var Ee = function() {
665
- return Ee = Object.assign || function(t) {
664
+ var xe = function() {
665
+ return xe = Object.assign || function(t) {
666
666
  for (var n, r = 1, i = arguments.length; r < i; r++) {
667
667
  n = arguments[r];
668
668
  for (var o in n)
669
669
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
670
670
  }
671
671
  return t;
672
- }, Ee.apply(this, arguments);
672
+ }, xe.apply(this, arguments);
673
673
  };
674
674
  function Oi(e, t) {
675
675
  var n = {};
@@ -734,60 +734,60 @@ var Ni = function() {
734
734
  }
735
735
  }, Vt = {
736
736
  variadic: Pi
737
- }, xt = function() {
738
- return xt = Object.assign || function(t) {
737
+ }, _t = function() {
738
+ return _t = Object.assign || function(t) {
739
739
  for (var n, r = 1, i = arguments.length; r < i; r++) {
740
740
  n = arguments[r];
741
741
  for (var o in n)
742
742
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
743
743
  }
744
744
  return t;
745
- }, xt.apply(this, arguments);
745
+ }, _t.apply(this, arguments);
746
746
  };
747
747
  var O;
748
748
  (function(e) {
749
749
  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";
750
750
  })(O || (O = {}));
751
- var G;
751
+ var V;
752
752
  (function(e) {
753
753
  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";
754
- })(G || (G = {}));
755
- var ke;
754
+ })(V || (V = {}));
755
+ var Xe;
756
756
  (function(e) {
757
757
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
758
- })(ke || (ke = {}));
758
+ })(Xe || (Xe = {}));
759
759
  function Sn(e) {
760
- return e.type === G.literal;
760
+ return e.type === V.literal;
761
761
  }
762
762
  function Ui(e) {
763
- return e.type === G.argument;
763
+ return e.type === V.argument;
764
764
  }
765
765
  function ar(e) {
766
- return e.type === G.number;
766
+ return e.type === V.number;
767
767
  }
768
768
  function sr(e) {
769
- return e.type === G.date;
769
+ return e.type === V.date;
770
770
  }
771
771
  function ur(e) {
772
- return e.type === G.time;
772
+ return e.type === V.time;
773
773
  }
774
774
  function lr(e) {
775
- return e.type === G.select;
775
+ return e.type === V.select;
776
776
  }
777
777
  function cr(e) {
778
- return e.type === G.plural;
778
+ return e.type === V.plural;
779
779
  }
780
780
  function Fi(e) {
781
- return e.type === G.pound;
781
+ return e.type === V.pound;
782
782
  }
783
783
  function hr(e) {
784
- return e.type === G.tag;
784
+ return e.type === V.tag;
785
785
  }
786
786
  function fr(e) {
787
- return !!(e && typeof e == "object" && e.type === ke.number);
787
+ return !!(e && typeof e == "object" && e.type === Xe.number);
788
788
  }
789
789
  function Kt(e) {
790
- return !!(e && typeof e == "object" && e.type === ke.dateTime);
790
+ return !!(e && typeof e == "object" && e.type === Xe.dateTime);
791
791
  }
792
792
  var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gi = /(?:[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;
793
793
  function ji(e) {
@@ -881,22 +881,22 @@ function ji(e) {
881
881
  return "";
882
882
  }), t;
883
883
  }
884
- var z = function() {
885
- return z = Object.assign || function(t) {
884
+ var W = function() {
885
+ return W = Object.assign || function(t) {
886
886
  for (var n, r = 1, i = arguments.length; r < i; r++) {
887
887
  n = arguments[r];
888
888
  for (var o in n)
889
889
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
890
890
  }
891
891
  return t;
892
- }, z.apply(this, arguments);
892
+ }, W.apply(this, arguments);
893
893
  };
894
894
  var ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
895
895
  function $i(e) {
896
896
  if (e.length === 0)
897
897
  throw new Error("Number skeleton cannot be empty");
898
- for (var t = e.split(ki).filter(function(d) {
899
- return d.length > 0;
898
+ for (var t = e.split(ki).filter(function(p) {
899
+ return p.length > 0;
900
900
  }), n = [], r = 0, i = t; r < i.length; r++) {
901
901
  var o = i[r], a = o.split("/");
902
902
  if (a.length === 0)
@@ -1013,13 +1013,13 @@ function Wi(e) {
1013
1013
  t.notation = "compact", t.compactDisplay = "long";
1014
1014
  continue;
1015
1015
  case "scientific":
1016
- t = z(z(z({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1017
- return z(z({}, l), An(u));
1016
+ t = W(W(W({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1017
+ return W(W({}, l), An(u));
1018
1018
  }, {}));
1019
1019
  continue;
1020
1020
  case "engineering":
1021
- t = z(z(z({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1022
- return z(z({}, l), An(u));
1021
+ t = W(W(W({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1022
+ return W(W({}, l), An(u));
1023
1023
  }, {}));
1024
1024
  continue;
1025
1025
  case "notation-simple":
@@ -1064,13 +1064,13 @@ function Wi(e) {
1064
1064
  case "integer-width":
1065
1065
  if (i.options.length > 1)
1066
1066
  throw new RangeError("integer-width stems only accept a single optional option");
1067
- i.options[0].replace(Xi, function(l, u, f, m, d, B) {
1067
+ i.options[0].replace(Xi, function(l, u, f, m, p, w) {
1068
1068
  if (u)
1069
1069
  t.minimumIntegerDigits = f.length;
1070
1070
  else {
1071
- if (m && d)
1071
+ if (m && p)
1072
1072
  throw new Error("We currently do not support maximum integer digits");
1073
- if (B)
1073
+ if (w)
1074
1074
  throw new Error("We currently do not support exact integer digits");
1075
1075
  }
1076
1076
  return "";
@@ -1084,25 +1084,25 @@ function Wi(e) {
1084
1084
  if (Bn.test(i.stem)) {
1085
1085
  if (i.options.length > 1)
1086
1086
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1087
- i.stem.replace(Bn, function(l, u, f, m, d, B) {
1088
- return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && B ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + B.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1087
+ i.stem.replace(Bn, function(l, u, f, m, p, w) {
1088
+ return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p && w ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + w.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1089
1089
  });
1090
1090
  var o = i.options[0];
1091
- o === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = z(z({}, t), Tn(o)));
1091
+ o === "w" ? t = W(W({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = W(W({}, t), Tn(o)));
1092
1092
  continue;
1093
1093
  }
1094
1094
  if (pr.test(i.stem)) {
1095
- t = z(z({}, t), Tn(i.stem));
1095
+ t = W(W({}, t), Tn(i.stem));
1096
1096
  continue;
1097
1097
  }
1098
1098
  var a = br(i.stem);
1099
- a && (t = z(z({}, t), a));
1099
+ a && (t = W(W({}, t), a));
1100
1100
  var s = zi(i.stem);
1101
- s && (t = z(z({}, t), s));
1101
+ s && (t = W(W({}, t), s));
1102
1102
  }
1103
1103
  return t;
1104
1104
  }
1105
- var mt = {
1105
+ var dt = {
1106
1106
  "001": [
1107
1107
  "H",
1108
1108
  "h"
@@ -2552,11 +2552,11 @@ function qi(e) {
2552
2552
  }
2553
2553
  var n = e.language, r;
2554
2554
  n !== "root" && (r = e.maximize().region);
2555
- var i = mt[r || ""] || mt[n || ""] || mt["".concat(n, "-001")] || mt["001"];
2555
+ var i = dt[r || ""] || dt[n || ""] || dt["".concat(n, "-001")] || dt["001"];
2556
2556
  return i[0];
2557
2557
  }
2558
2558
  var Xt, Yi = new RegExp("^".concat(dr.source, "*")), Qi = new RegExp("".concat(dr.source, "*$"));
2559
- function M(e, t) {
2559
+ function R(e, t) {
2560
2560
  return { start: e, end: t };
2561
2561
  }
2562
2562
  var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, eo = !!Object.fromEntries, to = !!String.prototype.codePointAt, no = !!String.prototype.trimStart, ro = !!String.prototype.trimEnd, io = !!Number.isSafeInteger, oo = io ? Number.isSafeInteger : function(e) {
@@ -2683,13 +2683,13 @@ var lo = (
2683
2683
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2684
2684
  var s = this.clonePosition();
2685
2685
  this.bump(), i.push({
2686
- type: G.pound,
2687
- location: M(s, this.clonePosition())
2686
+ type: V.pound,
2687
+ location: R(s, this.clonePosition())
2688
2688
  });
2689
2689
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2690
2690
  if (r)
2691
2691
  break;
2692
- return this.error(O.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2692
+ return this.error(O.UNMATCHED_CLOSING_TAG, R(this.clonePosition(), this.clonePosition()));
2693
2693
  } else if (o === 60 && !this.ignoreTag && rn(this.peek() || 0)) {
2694
2694
  var a = this.parseTag(t, n);
2695
2695
  if (a.err)
@@ -2711,9 +2711,9 @@ var lo = (
2711
2711
  if (this.bumpSpace(), this.bumpIf("/>"))
2712
2712
  return {
2713
2713
  val: {
2714
- type: G.literal,
2714
+ type: V.literal,
2715
2715
  value: "<".concat(i, "/>"),
2716
- location: M(r, this.clonePosition())
2716
+ location: R(r, this.clonePosition())
2717
2717
  },
2718
2718
  err: null
2719
2719
  };
@@ -2724,21 +2724,21 @@ var lo = (
2724
2724
  var a = o.val, s = this.clonePosition();
2725
2725
  if (this.bumpIf("</")) {
2726
2726
  if (this.isEOF() || !rn(this.char()))
2727
- return this.error(O.INVALID_TAG, M(s, this.clonePosition()));
2727
+ return this.error(O.INVALID_TAG, R(s, this.clonePosition()));
2728
2728
  var l = this.clonePosition(), u = this.parseTagName();
2729
- return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2729
+ return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, R(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2730
2730
  val: {
2731
- type: G.tag,
2731
+ type: V.tag,
2732
2732
  value: i,
2733
2733
  children: a,
2734
- location: M(r, this.clonePosition())
2734
+ location: R(r, this.clonePosition())
2735
2735
  },
2736
2736
  err: null
2737
- } : this.error(O.INVALID_TAG, M(s, this.clonePosition())));
2737
+ } : this.error(O.INVALID_TAG, R(s, this.clonePosition())));
2738
2738
  } else
2739
- return this.error(O.UNCLOSED_TAG, M(r, this.clonePosition()));
2739
+ return this.error(O.UNCLOSED_TAG, R(r, this.clonePosition()));
2740
2740
  } else
2741
- return this.error(O.INVALID_TAG, M(r, this.clonePosition()));
2741
+ return this.error(O.INVALID_TAG, R(r, this.clonePosition()));
2742
2742
  }, e.prototype.parseTagName = function() {
2743
2743
  var t = this.offset();
2744
2744
  for (this.bump(); !this.isEOF() && ho(this.char()); )
@@ -2763,9 +2763,9 @@ var lo = (
2763
2763
  }
2764
2764
  break;
2765
2765
  }
2766
- var l = M(r, this.clonePosition());
2766
+ var l = R(r, this.clonePosition());
2767
2767
  return {
2768
- val: { type: G.literal, value: i, location: l },
2768
+ val: { type: V.literal, value: i, location: l },
2769
2769
  err: null
2770
2770
  };
2771
2771
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2813,40 +2813,40 @@ var lo = (
2813
2813
  }, e.prototype.parseArgument = function(t, n) {
2814
2814
  var r = this.clonePosition();
2815
2815
  if (this.bump(), this.bumpSpace(), this.isEOF())
2816
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2816
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(r, this.clonePosition()));
2817
2817
  if (this.char() === 125)
2818
- return this.bump(), this.error(O.EMPTY_ARGUMENT, M(r, this.clonePosition()));
2818
+ return this.bump(), this.error(O.EMPTY_ARGUMENT, R(r, this.clonePosition()));
2819
2819
  var i = this.parseIdentifierIfPossible().value;
2820
2820
  if (!i)
2821
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2821
+ return this.error(O.MALFORMED_ARGUMENT, R(r, this.clonePosition()));
2822
2822
  if (this.bumpSpace(), this.isEOF())
2823
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2823
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(r, this.clonePosition()));
2824
2824
  switch (this.char()) {
2825
2825
  case 125:
2826
2826
  return this.bump(), {
2827
2827
  val: {
2828
- type: G.argument,
2828
+ type: V.argument,
2829
2829
  // value does not include the opening and closing braces.
2830
2830
  value: i,
2831
- location: M(r, this.clonePosition())
2831
+ location: R(r, this.clonePosition())
2832
2832
  },
2833
2833
  err: null
2834
2834
  };
2835
2835
  case 44:
2836
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2836
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2837
2837
  default:
2838
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2838
+ return this.error(O.MALFORMED_ARGUMENT, R(r, this.clonePosition()));
2839
2839
  }
2840
2840
  }, e.prototype.parseIdentifierIfPossible = function() {
2841
2841
  var t = this.clonePosition(), n = this.offset(), r = nn(this.message, n), i = n + r.length;
2842
2842
  this.bumpTo(i);
2843
- var o = this.clonePosition(), a = M(t, o);
2843
+ var o = this.clonePosition(), a = R(t, o);
2844
2844
  return { value: r, location: a };
2845
2845
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2846
2846
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2847
2847
  switch (s) {
2848
2848
  case "":
2849
- return this.error(O.EXPECT_ARGUMENT_TYPE, M(a, l));
2849
+ return this.error(O.EXPECT_ARGUMENT_TYPE, R(a, l));
2850
2850
  case "number":
2851
2851
  case "date":
2852
2852
  case "time": {
@@ -2857,46 +2857,46 @@ var lo = (
2857
2857
  var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2858
2858
  if (m.err)
2859
2859
  return m;
2860
- var d = uo(m.val);
2861
- if (d.length === 0)
2862
- return this.error(O.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2863
- var B = M(f, this.clonePosition());
2864
- u = { style: d, styleLocation: B };
2860
+ var p = uo(m.val);
2861
+ if (p.length === 0)
2862
+ return this.error(O.EXPECT_ARGUMENT_STYLE, R(this.clonePosition(), this.clonePosition()));
2863
+ var w = R(f, this.clonePosition());
2864
+ u = { style: p, styleLocation: w };
2865
2865
  }
2866
- var x = this.tryParseArgumentClose(i);
2867
- if (x.err)
2868
- return x;
2869
- var T = M(i, this.clonePosition());
2866
+ var _ = this.tryParseArgumentClose(i);
2867
+ if (_.err)
2868
+ return _;
2869
+ var S = R(i, this.clonePosition());
2870
2870
  if (u && Cn(u == null ? void 0 : u.style, "::", 0)) {
2871
- var I = so(u.style.slice(2));
2871
+ var D = so(u.style.slice(2));
2872
2872
  if (s === "number") {
2873
- var m = this.parseNumberSkeletonFromString(I, u.styleLocation);
2873
+ var m = this.parseNumberSkeletonFromString(D, u.styleLocation);
2874
2874
  return m.err ? m : {
2875
- val: { type: G.number, value: r, location: T, style: m.val },
2875
+ val: { type: V.number, value: r, location: S, style: m.val },
2876
2876
  err: null
2877
2877
  };
2878
2878
  } else {
2879
- if (I.length === 0)
2880
- return this.error(O.EXPECT_DATE_TIME_SKELETON, T);
2881
- var ne = I;
2882
- this.locale && (ne = Zi(I, this.locale));
2883
- var d = {
2884
- type: ke.dateTime,
2879
+ if (D.length === 0)
2880
+ return this.error(O.EXPECT_DATE_TIME_SKELETON, S);
2881
+ var ne = D;
2882
+ this.locale && (ne = Zi(D, this.locale));
2883
+ var p = {
2884
+ type: Xe.dateTime,
2885
2885
  pattern: ne,
2886
2886
  location: u.styleLocation,
2887
2887
  parsedOptions: this.shouldParseSkeletons ? ji(ne) : {}
2888
- }, K = s === "date" ? G.date : G.time;
2888
+ }, ie = s === "date" ? V.date : V.time;
2889
2889
  return {
2890
- val: { type: K, value: r, location: T, style: d },
2890
+ val: { type: ie, value: r, location: S, style: p },
2891
2891
  err: null
2892
2892
  };
2893
2893
  }
2894
2894
  }
2895
2895
  return {
2896
2896
  val: {
2897
- type: s === "number" ? G.number : s === "date" ? G.date : G.time,
2897
+ type: s === "number" ? V.number : s === "date" ? V.date : V.time,
2898
2898
  value: r,
2899
- location: T,
2899
+ location: S,
2900
2900
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2901
2901
  },
2902
2902
  err: null
@@ -2905,52 +2905,52 @@ var lo = (
2905
2905
  case "plural":
2906
2906
  case "selectordinal":
2907
2907
  case "select": {
2908
- var P = this.clonePosition();
2908
+ var N = this.clonePosition();
2909
2909
  if (this.bumpSpace(), !this.bumpIf(","))
2910
- return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, M(P, xt({}, P)));
2910
+ return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, R(N, _t({}, N)));
2911
2911
  this.bumpSpace();
2912
- var k = this.parseIdentifierIfPossible(), U = 0;
2913
- if (s !== "select" && k.value === "offset") {
2912
+ var j = this.parseIdentifierIfPossible(), q = 0;
2913
+ if (s !== "select" && j.value === "offset") {
2914
2914
  if (!this.bumpIf(":"))
2915
- return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2915
+ return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R(this.clonePosition(), this.clonePosition()));
2916
2916
  this.bumpSpace();
2917
2917
  var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2918
2918
  if (m.err)
2919
2919
  return m;
2920
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), U = m.val;
2920
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), q = m.val;
2921
2921
  }
2922
- var W = this.tryParsePluralOrSelectOptions(t, s, n, k);
2923
- if (W.err)
2924
- return W;
2925
- var x = this.tryParseArgumentClose(i);
2926
- if (x.err)
2927
- return x;
2928
- var de = M(i, this.clonePosition());
2922
+ var Z = this.tryParsePluralOrSelectOptions(t, s, n, j);
2923
+ if (Z.err)
2924
+ return Z;
2925
+ var _ = this.tryParseArgumentClose(i);
2926
+ if (_.err)
2927
+ return _;
2928
+ var re = R(i, this.clonePosition());
2929
2929
  return s === "select" ? {
2930
2930
  val: {
2931
- type: G.select,
2931
+ type: V.select,
2932
2932
  value: r,
2933
- options: Hn(W.val),
2934
- location: de
2933
+ options: Hn(Z.val),
2934
+ location: re
2935
2935
  },
2936
2936
  err: null
2937
2937
  } : {
2938
2938
  val: {
2939
- type: G.plural,
2939
+ type: V.plural,
2940
2940
  value: r,
2941
- options: Hn(W.val),
2942
- offset: U,
2941
+ options: Hn(Z.val),
2942
+ offset: q,
2943
2943
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2944
- location: de
2944
+ location: re
2945
2945
  },
2946
2946
  err: null
2947
2947
  };
2948
2948
  }
2949
2949
  default:
2950
- return this.error(O.INVALID_ARGUMENT_TYPE, M(a, l));
2950
+ return this.error(O.INVALID_ARGUMENT_TYPE, R(a, l));
2951
2951
  }
2952
2952
  }, e.prototype.tryParseArgumentClose = function(t) {
2953
- return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2953
+ return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2954
2954
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2955
2955
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2956
2956
  var r = this.char();
@@ -2959,7 +2959,7 @@ var lo = (
2959
2959
  this.bump();
2960
2960
  var i = this.clonePosition();
2961
2961
  if (!this.bumpUntil("'"))
2962
- return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(i, this.clonePosition()));
2962
+ return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, R(i, this.clonePosition()));
2963
2963
  this.bump();
2964
2964
  break;
2965
2965
  }
@@ -2995,7 +2995,7 @@ var lo = (
2995
2995
  }
2996
2996
  return {
2997
2997
  val: {
2998
- type: ke.number,
2998
+ type: Xe.number,
2999
2999
  tokens: r,
3000
3000
  location: n,
3001
3001
  parsedOptions: this.shouldParseSkeletons ? Wi(r) : {}
@@ -3007,34 +3007,34 @@ var lo = (
3007
3007
  if (u.length === 0) {
3008
3008
  var m = this.clonePosition();
3009
3009
  if (n !== "select" && this.bumpIf("=")) {
3010
- var d = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
3011
- if (d.err)
3012
- return d;
3013
- f = M(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3010
+ var p = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
3011
+ if (p.err)
3012
+ return p;
3013
+ f = R(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3014
3014
  } else
3015
3015
  break;
3016
3016
  }
3017
3017
  if (l.has(u))
3018
3018
  return this.error(n === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3019
3019
  u === "other" && (a = !0), this.bumpSpace();
3020
- var B = this.clonePosition();
3020
+ var w = this.clonePosition();
3021
3021
  if (!this.bumpIf("{"))
3022
- return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3023
- var x = this.parseMessage(t + 1, n, r);
3024
- if (x.err)
3025
- return x;
3026
- var T = this.tryParseArgumentClose(B);
3027
- if (T.err)
3028
- return T;
3022
+ return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, R(this.clonePosition(), this.clonePosition()));
3023
+ var _ = this.parseMessage(t + 1, n, r);
3024
+ if (_.err)
3025
+ return _;
3026
+ var S = this.tryParseArgumentClose(w);
3027
+ if (S.err)
3028
+ return S;
3029
3029
  s.push([
3030
3030
  u,
3031
3031
  {
3032
- value: x.val,
3033
- location: M(B, this.clonePosition())
3032
+ value: _.val,
3033
+ location: R(w, this.clonePosition())
3034
3034
  }
3035
3035
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3036
3036
  }
3037
- return s.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(O.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3037
+ return s.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, R(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(O.MISSING_OTHER_CLAUSE, R(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3038
3038
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3039
3039
  var r = 1, i = this.clonePosition();
3040
3040
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3045,7 +3045,7 @@ var lo = (
3045
3045
  else
3046
3046
  break;
3047
3047
  }
3048
- var l = M(i, this.clonePosition());
3048
+ var l = R(i, this.clonePosition());
3049
3049
  return o ? (a *= r, oo(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3050
3050
  }, e.prototype.offset = function() {
3051
3051
  return this.position.offset;
@@ -3137,7 +3137,7 @@ function on(e) {
3137
3137
  });
3138
3138
  }
3139
3139
  function po(e, t) {
3140
- t === void 0 && (t = {}), t = xt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3140
+ t === void 0 && (t = {}), t = _t({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3141
3141
  var n = new lo(e, t).parse();
3142
3142
  if (n.err) {
3143
3143
  var r = SyntaxError(O[n.err.kind]);
@@ -3145,14 +3145,14 @@ function po(e, t) {
3145
3145
  }
3146
3146
  return t != null && t.captureLocation || on(n.val), n.val;
3147
3147
  }
3148
- var $e;
3148
+ var ze;
3149
3149
  (function(e) {
3150
3150
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3151
- })($e || ($e = {}));
3152
- var At = (
3151
+ })(ze || (ze = {}));
3152
+ var Bt = (
3153
3153
  /** @class */
3154
3154
  function(e) {
3155
- Tt(t, e);
3155
+ St(t, e);
3156
3156
  function t(n, r, i) {
3157
3157
  var o = e.call(this, n) || this;
3158
3158
  return o.code = r, o.originalMessage = i, o;
@@ -3164,48 +3164,48 @@ var At = (
3164
3164
  ), Ln = (
3165
3165
  /** @class */
3166
3166
  function(e) {
3167
- Tt(t, e);
3167
+ St(t, e);
3168
3168
  function t(n, r, i, o) {
3169
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, o) || this;
3169
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ze.INVALID_VALUE, o) || this;
3170
3170
  }
3171
3171
  return t;
3172
- }(At)
3172
+ }(Bt)
3173
3173
  ), mo = (
3174
3174
  /** @class */
3175
3175
  function(e) {
3176
- Tt(t, e);
3176
+ St(t, e);
3177
3177
  function t(n, r, i) {
3178
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), $e.INVALID_VALUE, i) || this;
3178
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ze.INVALID_VALUE, i) || this;
3179
3179
  }
3180
3180
  return t;
3181
- }(At)
3181
+ }(Bt)
3182
3182
  ), bo = (
3183
3183
  /** @class */
3184
3184
  function(e) {
3185
- Tt(t, e);
3185
+ St(t, e);
3186
3186
  function t(n, r) {
3187
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), $e.MISSING_VALUE, r) || this;
3187
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ze.MISSING_VALUE, r) || this;
3188
3188
  }
3189
3189
  return t;
3190
- }(At)
3191
- ), se;
3190
+ }(Bt)
3191
+ ), ue;
3192
3192
  (function(e) {
3193
3193
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3194
- })(se || (se = {}));
3194
+ })(ue || (ue = {}));
3195
3195
  function go(e) {
3196
3196
  return e.length < 2 ? e : e.reduce(function(t, n) {
3197
3197
  var r = t[t.length - 1];
3198
- return !r || r.type !== se.literal || n.type !== se.literal ? t.push(n) : r.value += n.value, t;
3198
+ return !r || r.type !== ue.literal || n.type !== ue.literal ? t.push(n) : r.value += n.value, t;
3199
3199
  }, []);
3200
3200
  }
3201
3201
  function yo(e) {
3202
3202
  return typeof e == "function";
3203
3203
  }
3204
- function yt(e, t, n, r, i, o, a) {
3204
+ function bt(e, t, n, r, i, o, a) {
3205
3205
  if (e.length === 1 && Sn(e[0]))
3206
3206
  return [
3207
3207
  {
3208
- type: se.literal,
3208
+ type: ue.literal,
3209
3209
  value: e[0].value
3210
3210
  }
3211
3211
  ];
@@ -3213,14 +3213,14 @@ function yt(e, t, n, r, i, o, a) {
3213
3213
  var f = u[l];
3214
3214
  if (Sn(f)) {
3215
3215
  s.push({
3216
- type: se.literal,
3216
+ type: ue.literal,
3217
3217
  value: f.value
3218
3218
  });
3219
3219
  continue;
3220
3220
  }
3221
3221
  if (Fi(f)) {
3222
3222
  typeof o == "number" && s.push({
3223
- type: se.literal,
3223
+ type: ue.literal,
3224
3224
  value: n.getNumberFormat(t).format(o)
3225
3225
  });
3226
3226
  continue;
@@ -3228,86 +3228,86 @@ function yt(e, t, n, r, i, o, a) {
3228
3228
  var m = f.value;
3229
3229
  if (!(i && m in i))
3230
3230
  throw new bo(m, a);
3231
- var d = i[m];
3231
+ var p = i[m];
3232
3232
  if (Ui(f)) {
3233
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3234
- type: typeof d == "string" ? se.literal : se.object,
3235
- value: d
3233
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3234
+ type: typeof p == "string" ? ue.literal : ue.object,
3235
+ value: p
3236
3236
  });
3237
3237
  continue;
3238
3238
  }
3239
3239
  if (sr(f)) {
3240
- var B = typeof f.style == "string" ? r.date[f.style] : Kt(f.style) ? f.style.parsedOptions : void 0;
3240
+ var w = typeof f.style == "string" ? r.date[f.style] : Kt(f.style) ? f.style.parsedOptions : void 0;
3241
3241
  s.push({
3242
- type: se.literal,
3243
- value: n.getDateTimeFormat(t, B).format(d)
3242
+ type: ue.literal,
3243
+ value: n.getDateTimeFormat(t, w).format(p)
3244
3244
  });
3245
3245
  continue;
3246
3246
  }
3247
3247
  if (ur(f)) {
3248
- var B = typeof f.style == "string" ? r.time[f.style] : Kt(f.style) ? f.style.parsedOptions : r.time.medium;
3248
+ var w = typeof f.style == "string" ? r.time[f.style] : Kt(f.style) ? f.style.parsedOptions : r.time.medium;
3249
3249
  s.push({
3250
- type: se.literal,
3251
- value: n.getDateTimeFormat(t, B).format(d)
3250
+ type: ue.literal,
3251
+ value: n.getDateTimeFormat(t, w).format(p)
3252
3252
  });
3253
3253
  continue;
3254
3254
  }
3255
3255
  if (ar(f)) {
3256
- var B = typeof f.style == "string" ? r.number[f.style] : fr(f.style) ? f.style.parsedOptions : void 0;
3257
- B && B.scale && (d = d * (B.scale || 1)), s.push({
3258
- type: se.literal,
3259
- value: n.getNumberFormat(t, B).format(d)
3256
+ var w = typeof f.style == "string" ? r.number[f.style] : fr(f.style) ? f.style.parsedOptions : void 0;
3257
+ w && w.scale && (p = p * (w.scale || 1)), s.push({
3258
+ type: ue.literal,
3259
+ value: n.getNumberFormat(t, w).format(p)
3260
3260
  });
3261
3261
  continue;
3262
3262
  }
3263
3263
  if (hr(f)) {
3264
- var x = f.children, T = f.value, I = i[T];
3265
- if (!yo(I))
3266
- throw new mo(T, "function", a);
3267
- var ne = yt(x, t, n, r, i, o), K = I(ne.map(function(U) {
3268
- return U.value;
3264
+ var _ = f.children, S = f.value, D = i[S];
3265
+ if (!yo(D))
3266
+ throw new mo(S, "function", a);
3267
+ var ne = bt(_, t, n, r, i, o), ie = D(ne.map(function(q) {
3268
+ return q.value;
3269
3269
  }));
3270
- Array.isArray(K) || (K = [K]), s.push.apply(s, K.map(function(U) {
3270
+ Array.isArray(ie) || (ie = [ie]), s.push.apply(s, ie.map(function(q) {
3271
3271
  return {
3272
- type: typeof U == "string" ? se.literal : se.object,
3273
- value: U
3272
+ type: typeof q == "string" ? ue.literal : ue.object,
3273
+ value: q
3274
3274
  };
3275
3275
  }));
3276
3276
  }
3277
3277
  if (lr(f)) {
3278
- var P = f.options[d] || f.options.other;
3279
- if (!P)
3280
- throw new Ln(f.value, d, Object.keys(f.options), a);
3281
- s.push.apply(s, yt(P.value, t, n, r, i));
3278
+ var N = f.options[p] || f.options.other;
3279
+ if (!N)
3280
+ throw new Ln(f.value, p, Object.keys(f.options), a);
3281
+ s.push.apply(s, bt(N.value, t, n, r, i));
3282
3282
  continue;
3283
3283
  }
3284
3284
  if (cr(f)) {
3285
- var P = f.options["=".concat(d)];
3286
- if (!P) {
3285
+ var N = f.options["=".concat(p)];
3286
+ if (!N) {
3287
3287
  if (!Intl.PluralRules)
3288
- throw new At(`Intl.PluralRules is not available in this environment.
3288
+ throw new Bt(`Intl.PluralRules is not available in this environment.
3289
3289
  Try polyfilling it using "@formatjs/intl-pluralrules"
3290
- `, $e.MISSING_INTL_API, a);
3291
- var k = n.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3292
- P = f.options[k] || f.options.other;
3290
+ `, ze.MISSING_INTL_API, a);
3291
+ var j = n.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
3292
+ N = f.options[j] || f.options.other;
3293
3293
  }
3294
- if (!P)
3295
- throw new Ln(f.value, d, Object.keys(f.options), a);
3296
- s.push.apply(s, yt(P.value, t, n, r, i, d - (f.offset || 0)));
3294
+ if (!N)
3295
+ throw new Ln(f.value, p, Object.keys(f.options), a);
3296
+ s.push.apply(s, bt(N.value, t, n, r, i, p - (f.offset || 0)));
3297
3297
  continue;
3298
3298
  }
3299
3299
  }
3300
3300
  return go(s);
3301
3301
  }
3302
3302
  function vo(e, t) {
3303
- return t ? Ee(Ee(Ee({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3304
- return n[r] = Ee(Ee({}, e[r]), t[r] || {}), n;
3303
+ return t ? xe(xe(xe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3304
+ return n[r] = xe(xe({}, e[r]), t[r] || {}), n;
3305
3305
  }, {})) : e;
3306
3306
  }
3307
3307
  function _o(e, t) {
3308
3308
  return t ? Object.keys(e).reduce(function(n, r) {
3309
3309
  return n[r] = vo(e[r], t[r]), n;
3310
- }, Ee({}, e)) : e;
3310
+ }, xe({}, e)) : e;
3311
3311
  }
3312
3312
  function zt(e) {
3313
3313
  return {
@@ -3369,12 +3369,12 @@ var xo = (
3369
3369
  var u = o.formatToParts(l);
3370
3370
  if (u.length === 1)
3371
3371
  return u[0].value;
3372
- var f = u.reduce(function(m, d) {
3373
- return !m.length || d.type !== se.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
3372
+ var f = u.reduce(function(m, p) {
3373
+ return !m.length || p.type !== ue.literal || typeof m[m.length - 1] != "string" ? m.push(p.value) : m[m.length - 1] += p.value, m;
3374
3374
  }, []);
3375
3375
  return f.length <= 1 ? f[0] || "" : f;
3376
3376
  }, this.formatToParts = function(l) {
3377
- return yt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3377
+ return bt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3378
3378
  }, this.resolvedOptions = function() {
3379
3379
  var l;
3380
3380
  return {
@@ -3388,7 +3388,7 @@ var xo = (
3388
3388
  var a = i || {};
3389
3389
  a.formatters;
3390
3390
  var s = Oi(a, ["formatters"]);
3391
- this.ast = e.__parse(t, Ee(Ee({}, s), { locale: this.resolvedLocale }));
3391
+ this.ast = e.__parse(t, xe(xe({}, s), { locale: this.resolvedLocale }));
3392
3392
  } else
3393
3393
  this.ast = t;
3394
3394
  if (!Array.isArray(this.ast))
@@ -3488,12 +3488,12 @@ function wo(e, t) {
3488
3488
  r = void 0;
3489
3489
  return r;
3490
3490
  }
3491
- const Oe = {}, So = (e, t, n) => n && (t in Oe || (Oe[t] = {}), e in Oe[t] || (Oe[t][e] = n), n), _r = (e, t) => {
3491
+ const Me = {}, So = (e, t, n) => n && (t in Me || (Me[t] = {}), e in Me[t] || (Me[t][e] = n), n), _r = (e, t) => {
3492
3492
  if (t == null)
3493
3493
  return;
3494
- if (t in Oe && e in Oe[t])
3495
- return Oe[t][e];
3496
- const n = Ct(t);
3494
+ if (t in Me && e in Me[t])
3495
+ return Me[t][e];
3496
+ const n = Tt(t);
3497
3497
  for (let r = 0; r < n.length; r++) {
3498
3498
  const i = n[r], o = To(i, e);
3499
3499
  if (o)
@@ -3501,7 +3501,7 @@ const Oe = {}, So = (e, t, n) => n && (t in Oe || (Oe[t] = {}), e in Oe[t] || (O
3501
3501
  }
3502
3502
  };
3503
3503
  let bn;
3504
- const st = Bt({});
3504
+ const ut = wt({});
3505
3505
  function Bo(e) {
3506
3506
  return bn[e] || null;
3507
3507
  }
@@ -3517,7 +3517,7 @@ function To(e, t) {
3517
3517
  function Ao(e) {
3518
3518
  if (e == null)
3519
3519
  return;
3520
- const t = Ct(e);
3520
+ const t = Tt(e);
3521
3521
  for (let n = 0; n < t.length; n++) {
3522
3522
  const r = t[n];
3523
3523
  if (Er(r))
@@ -3525,28 +3525,28 @@ function Ao(e) {
3525
3525
  }
3526
3526
  }
3527
3527
  function xr(e, ...t) {
3528
- delete Oe[e], st.update((n) => (n[e] = Hi.all([n[e] || {}, ...t]), n));
3528
+ delete Me[e], ut.update((n) => (n[e] = Hi.all([n[e] || {}, ...t]), n));
3529
3529
  }
3530
- ze(
3531
- [st],
3530
+ qe(
3531
+ [ut],
3532
3532
  ([e]) => Object.keys(e)
3533
3533
  );
3534
- st.subscribe((e) => bn = e);
3535
- const vt = {};
3534
+ ut.subscribe((e) => bn = e);
3535
+ const gt = {};
3536
3536
  function Co(e, t) {
3537
- vt[e].delete(t), vt[e].size === 0 && delete vt[e];
3537
+ gt[e].delete(t), gt[e].size === 0 && delete gt[e];
3538
3538
  }
3539
3539
  function wr(e) {
3540
- return vt[e];
3540
+ return gt[e];
3541
3541
  }
3542
3542
  function Ho(e) {
3543
- return Ct(e).map((t) => {
3543
+ return Tt(e).map((t) => {
3544
3544
  const n = wr(t);
3545
3545
  return [t, n ? [...n] : []];
3546
3546
  }).filter(([, t]) => t.length > 0);
3547
3547
  }
3548
3548
  function an(e) {
3549
- return e == null ? !1 : Ct(e).some(
3549
+ return e == null ? !1 : Tt(e).some(
3550
3550
  (t) => {
3551
3551
  var n;
3552
3552
  return (n = wr(t)) == null ? void 0 : n.size;
@@ -3558,20 +3558,20 @@ function Oo(e, t) {
3558
3558
  t.map((r) => (Co(e, r), r().then((i) => i.default || i)))
3559
3559
  ).then((r) => xr(e, ...r));
3560
3560
  }
3561
- const tt = {};
3561
+ const nt = {};
3562
3562
  function Sr(e) {
3563
3563
  if (!an(e))
3564
- return e in tt ? tt[e] : Promise.resolve();
3564
+ return e in nt ? nt[e] : Promise.resolve();
3565
3565
  const t = Ho(e);
3566
- return tt[e] = Promise.all(
3566
+ return nt[e] = Promise.all(
3567
3567
  t.map(
3568
3568
  ([n, r]) => Oo(n, r)
3569
3569
  )
3570
3570
  ).then(() => {
3571
3571
  if (an(e))
3572
3572
  return Sr(e);
3573
- delete tt[e];
3574
- }), tt[e];
3573
+ delete nt[e];
3574
+ }), nt[e];
3575
3575
  }
3576
3576
  const Lo = {
3577
3577
  number: {
@@ -3610,10 +3610,10 @@ const Lo = {
3610
3610
  handleMissingMessage: void 0,
3611
3611
  ignoreTag: !0
3612
3612
  }, Ro = Mo;
3613
- function Ve() {
3613
+ function We() {
3614
3614
  return Ro;
3615
3615
  }
3616
- const Wt = Bt(!1);
3616
+ const Wt = wt(!1);
3617
3617
  var Po = Object.defineProperty, No = Object.defineProperties, Io = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, Do = Object.prototype.hasOwnProperty, Uo = Object.prototype.propertyIsEnumerable, Rn = (e, t, n) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Fo = (e, t) => {
3618
3618
  for (var n in t || (t = {}))
3619
3619
  Do.call(t, n) && Rn(e, n, t[n]);
@@ -3623,112 +3623,112 @@ var Po = Object.defineProperty, No = Object.defineProperties, Io = Object.getOwn
3623
3623
  return e;
3624
3624
  }, Go = (e, t) => No(e, Io(t));
3625
3625
  let sn;
3626
- const wt = Bt(null);
3626
+ const Et = wt(null);
3627
3627
  function Pn(e) {
3628
3628
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3629
3629
  }
3630
- function Ct(e, t = Ve().fallbackLocale) {
3630
+ function Tt(e, t = We().fallbackLocale) {
3631
3631
  const n = Pn(e);
3632
3632
  return t ? [.../* @__PURE__ */ new Set([...n, ...Pn(t)])] : n;
3633
3633
  }
3634
- function Re() {
3634
+ function De() {
3635
3635
  return sn != null ? sn : void 0;
3636
3636
  }
3637
- wt.subscribe((e) => {
3637
+ Et.subscribe((e) => {
3638
3638
  sn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3639
3639
  });
3640
3640
  const jo = (e) => {
3641
3641
  if (e && Ao(e) && an(e)) {
3642
- const { loadingDelay: t } = Ve();
3642
+ const { loadingDelay: t } = We();
3643
3643
  let n;
3644
- return typeof window != "undefined" && Re() != null && t ? n = window.setTimeout(
3644
+ return typeof window != "undefined" && De() != null && t ? n = window.setTimeout(
3645
3645
  () => Wt.set(!0),
3646
3646
  t
3647
3647
  ) : Wt.set(!0), Sr(e).then(() => {
3648
- wt.set(e);
3648
+ Et.set(e);
3649
3649
  }).finally(() => {
3650
3650
  clearTimeout(n), Wt.set(!1);
3651
3651
  });
3652
3652
  }
3653
- return wt.set(e);
3654
- }, We = Go(Fo({}, wt), {
3653
+ return Et.set(e);
3654
+ }, Ye = Go(Fo({}, Et), {
3655
3655
  set: jo
3656
- }), Ht = (e) => {
3656
+ }), At = (e) => {
3657
3657
  const t = /* @__PURE__ */ Object.create(null);
3658
3658
  return (r) => {
3659
3659
  const i = JSON.stringify(r);
3660
3660
  return i in t ? t[i] : t[i] = e(r);
3661
3661
  };
3662
3662
  };
3663
- var ko = Object.defineProperty, St = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Nn = (e, t, n) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gn = (e, t) => {
3663
+ var ko = Object.defineProperty, xt = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Nn = (e, t, n) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gn = (e, t) => {
3664
3664
  for (var n in t || (t = {}))
3665
3665
  Br.call(t, n) && Nn(e, n, t[n]);
3666
- if (St)
3667
- for (var n of St(t))
3666
+ if (xt)
3667
+ for (var n of xt(t))
3668
3668
  Tr.call(t, n) && Nn(e, n, t[n]);
3669
3669
  return e;
3670
- }, Ze = (e, t) => {
3670
+ }, Qe = (e, t) => {
3671
3671
  var n = {};
3672
3672
  for (var r in e)
3673
3673
  Br.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3674
- if (e != null && St)
3675
- for (var r of St(e))
3674
+ if (e != null && xt)
3675
+ for (var r of xt(e))
3676
3676
  t.indexOf(r) < 0 && Tr.call(e, r) && (n[r] = e[r]);
3677
3677
  return n;
3678
3678
  };
3679
- const at = (e, t) => {
3680
- const { formats: n } = Ve();
3679
+ const st = (e, t) => {
3680
+ const { formats: n } = We();
3681
3681
  if (e in n && t in n[e])
3682
3682
  return n[e][t];
3683
3683
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3684
- }, $o = Ht(
3684
+ }, $o = At(
3685
3685
  (e) => {
3686
- var t = e, { locale: n, format: r } = t, i = Ze(t, ["locale", "format"]);
3686
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3687
3687
  if (n == null)
3688
3688
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3689
- return r && (i = at("number", r)), new Intl.NumberFormat(n, i);
3689
+ return r && (i = st("number", r)), new Intl.NumberFormat(n, i);
3690
3690
  }
3691
- ), Vo = Ht(
3691
+ ), Vo = At(
3692
3692
  (e) => {
3693
- var t = e, { locale: n, format: r } = t, i = Ze(t, ["locale", "format"]);
3693
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3694
3694
  if (n == null)
3695
3695
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3696
- return r ? i = at("date", r) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(n, i);
3696
+ return r ? i = st("date", r) : Object.keys(i).length === 0 && (i = st("date", "short")), new Intl.DateTimeFormat(n, i);
3697
3697
  }
3698
- ), Xo = Ht(
3698
+ ), Xo = At(
3699
3699
  (e) => {
3700
- var t = e, { locale: n, format: r } = t, i = Ze(t, ["locale", "format"]);
3700
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3701
3701
  if (n == null)
3702
3702
  throw new Error(
3703
3703
  '[svelte-i18n] A "locale" must be set to format time values'
3704
3704
  );
3705
- return r ? i = at("time", r) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(n, i);
3705
+ return r ? i = st("time", r) : Object.keys(i).length === 0 && (i = st("time", "short")), new Intl.DateTimeFormat(n, i);
3706
3706
  }
3707
3707
  ), zo = (e = {}) => {
3708
3708
  var t = e, {
3709
- locale: n = Re()
3710
- } = t, r = Ze(t, [
3709
+ locale: n = De()
3710
+ } = t, r = Qe(t, [
3711
3711
  "locale"
3712
3712
  ]);
3713
3713
  return $o(gn({ locale: n }, r));
3714
3714
  }, Wo = (e = {}) => {
3715
3715
  var t = e, {
3716
- locale: n = Re()
3717
- } = t, r = Ze(t, [
3716
+ locale: n = De()
3717
+ } = t, r = Qe(t, [
3718
3718
  "locale"
3719
3719
  ]);
3720
3720
  return Vo(gn({ locale: n }, r));
3721
3721
  }, Zo = (e = {}) => {
3722
3722
  var t = e, {
3723
- locale: n = Re()
3724
- } = t, r = Ze(t, [
3723
+ locale: n = De()
3724
+ } = t, r = Qe(t, [
3725
3725
  "locale"
3726
3726
  ]);
3727
3727
  return Xo(gn({ locale: n }, r));
3728
- }, qo = Ht(
3728
+ }, qo = At(
3729
3729
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3730
- (e, t = Re()) => new xo(e, t, Ve().formats, {
3731
- ignoreTag: Ve().ignoreTag
3730
+ (e, t = De()) => new xo(e, t, We().formats, {
3731
+ ignoreTag: We().ignoreTag
3732
3732
  })
3733
3733
  ), Yo = (e, t = {}) => {
3734
3734
  var n, r, i, o;
@@ -3736,7 +3736,7 @@ const at = (e, t) => {
3736
3736
  typeof e == "object" && (a = e, e = a.id);
3737
3737
  const {
3738
3738
  values: s,
3739
- locale: l = Re(),
3739
+ locale: l = De(),
3740
3740
  default: u
3741
3741
  } = a;
3742
3742
  if (l == null)
@@ -3745,7 +3745,7 @@ const at = (e, t) => {
3745
3745
  );
3746
3746
  let f = _r(e, l);
3747
3747
  if (!f)
3748
- f = (o = (i = (r = (n = Ve()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3748
+ f = (o = (i = (r = (n = We()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3749
3749
  else if (typeof f != "string")
3750
3750
  return console.warn(
3751
3751
  `[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.`
@@ -3755,23 +3755,23 @@ const at = (e, t) => {
3755
3755
  let m = f;
3756
3756
  try {
3757
3757
  m = qo(f, l).format(s);
3758
- } catch (d) {
3759
- d instanceof Error && console.warn(
3758
+ } catch (p) {
3759
+ p instanceof Error && console.warn(
3760
3760
  `[svelte-i18n] Message "${e}" has syntax error:`,
3761
- d.message
3761
+ p.message
3762
3762
  );
3763
3763
  }
3764
3764
  return m;
3765
- }, Qo = (e, t) => Zo(t).format(e), Jo = (e, t) => Wo(t).format(e), Ko = (e, t) => zo(t).format(e), ea = (e, t = Re()) => _r(e, t), ta = ze([We, st], () => Yo);
3766
- ze([We], () => Qo);
3767
- ze([We], () => Jo);
3768
- ze([We], () => Ko);
3769
- ze([We, st], () => ea);
3765
+ }, Qo = (e, t) => Zo(t).format(e), Jo = (e, t) => Wo(t).format(e), Ko = (e, t) => zo(t).format(e), ea = (e, t = De()) => _r(e, t), ta = qe([Ye, ut], () => Yo);
3766
+ qe([Ye], () => Qo);
3767
+ qe([Ye], () => Jo);
3768
+ qe([Ye], () => Ko);
3769
+ qe([Ye, ut], () => ea);
3770
3770
  function In(e, t) {
3771
3771
  xr(e, t);
3772
3772
  }
3773
3773
  function na(e) {
3774
- We.set(e);
3774
+ Ye.set(e);
3775
3775
  }
3776
3776
  const Dn = {
3777
3777
  en: {
@@ -3999,35 +3999,35 @@ var un = { exports: {} };
3999
3999
  */
4000
4000
  (function(e, t) {
4001
4001
  (function(n) {
4002
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, a = n.XDomainRequest, s = n.ActiveXObject, l = n.EventSource, u = n.document, f = n.Promise, m = n.fetch, d = n.Response, B = n.TextDecoder, x = n.TextEncoder, T = n.AbortController;
4003
- if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(c) {
4002
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, a = n.XDomainRequest, s = n.ActiveXObject, l = n.EventSource, u = n.document, f = n.Promise, m = n.fetch, p = n.Response, w = n.TextDecoder, _ = n.TextEncoder, S = n.AbortController;
4003
+ if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
4004
4004
  u.readyState = "complete";
4005
4005
  }, !1)), o == null && s != null && (o = function() {
4006
4006
  return new s("Microsoft.XMLHTTP");
4007
- }), Object.create == null && (Object.create = function(c) {
4008
- function g() {
4007
+ }), Object.create == null && (Object.create = function(h) {
4008
+ function y() {
4009
4009
  }
4010
- return g.prototype = c, new g();
4010
+ return y.prototype = h, new y();
4011
4011
  }), Date.now || (Date.now = function() {
4012
4012
  return (/* @__PURE__ */ new Date()).getTime();
4013
- }), T == null) {
4014
- var I = m;
4015
- m = function(c, g) {
4016
- var S = g.signal;
4017
- return I(c, { headers: g.headers, credentials: g.credentials, cache: g.cache }).then(function(b) {
4018
- var H = b.body.getReader();
4019
- return S._reader = H, S._aborted && S._reader.cancel(), {
4013
+ }), S == null) {
4014
+ var D = m;
4015
+ m = function(h, y) {
4016
+ var x = y.signal;
4017
+ return D(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(b) {
4018
+ var C = b.body.getReader();
4019
+ return x._reader = C, x._aborted && x._reader.cancel(), {
4020
4020
  status: b.status,
4021
4021
  statusText: b.statusText,
4022
4022
  headers: b.headers,
4023
4023
  body: {
4024
4024
  getReader: function() {
4025
- return H;
4025
+ return C;
4026
4026
  }
4027
4027
  }
4028
4028
  };
4029
4029
  });
4030
- }, T = function() {
4030
+ }, S = function() {
4031
4031
  this.signal = {
4032
4032
  _reader: null,
4033
4033
  _aborted: !1
@@ -4039,400 +4039,400 @@ var un = { exports: {} };
4039
4039
  function ne() {
4040
4040
  this.bitsNeeded = 0, this.codePoint = 0;
4041
4041
  }
4042
- ne.prototype.decode = function(c) {
4043
- function g(_, C, E) {
4044
- if (E === 1)
4045
- return _ >= 128 >> C && _ << C <= 2047;
4046
- if (E === 2)
4047
- return _ >= 2048 >> C && _ << C <= 55295 || _ >= 57344 >> C && _ << C <= 65535;
4048
- if (E === 3)
4049
- return _ >= 65536 >> C && _ << C <= 1114111;
4042
+ ne.prototype.decode = function(h) {
4043
+ function y(g, v, d) {
4044
+ if (d === 1)
4045
+ return g >= 128 >> v && g << v <= 2047;
4046
+ if (d === 2)
4047
+ return g >= 2048 >> v && g << v <= 55295 || g >= 57344 >> v && g << v <= 65535;
4048
+ if (d === 3)
4049
+ return g >= 65536 >> v && g << v <= 1114111;
4050
4050
  throw new Error();
4051
4051
  }
4052
- function S(_, C) {
4053
- if (_ === 6 * 1)
4054
- return C >> 6 > 15 ? 3 : C > 31 ? 2 : 1;
4055
- if (_ === 6 * 2)
4056
- return C > 15 ? 3 : 2;
4057
- if (_ === 6 * 3)
4052
+ function x(g, v) {
4053
+ if (g === 6 * 1)
4054
+ return v >> 6 > 15 ? 3 : v > 31 ? 2 : 1;
4055
+ if (g === 6 * 2)
4056
+ return v > 15 ? 3 : 2;
4057
+ if (g === 6 * 3)
4058
4058
  return 3;
4059
4059
  throw new Error();
4060
4060
  }
4061
- for (var b = 65533, H = "", A = this.bitsNeeded, h = this.codePoint, v = 0; v < c.length; v += 1) {
4062
- var p = c[v];
4063
- A !== 0 && (p < 128 || p > 191 || !g(h << 6 | p & 63, A - 6, S(A, h))) && (A = 0, h = b, H += String.fromCharCode(h)), A === 0 ? (p >= 0 && p <= 127 ? (A = 0, h = p) : p >= 192 && p <= 223 ? (A = 6 * 1, h = p & 31) : p >= 224 && p <= 239 ? (A = 6 * 2, h = p & 15) : p >= 240 && p <= 247 ? (A = 6 * 3, h = p & 7) : (A = 0, h = b), A !== 0 && !g(h, A, S(A, h)) && (A = 0, h = b)) : (A -= 6, h = h << 6 | p & 63), A === 0 && (h <= 65535 ? H += String.fromCharCode(h) : (H += String.fromCharCode(55296 + (h - 65535 - 1 >> 10)), H += String.fromCharCode(56320 + (h - 65535 - 1 & 1023))));
4061
+ for (var b = 65533, C = "", B = this.bitsNeeded, H = this.codePoint, G = 0; G < h.length; G += 1) {
4062
+ var c = h[G];
4063
+ B !== 0 && (c < 128 || c > 191 || !y(H << 6 | c & 63, B - 6, x(B, H))) && (B = 0, H = b, C += String.fromCharCode(H)), B === 0 ? (c >= 0 && c <= 127 ? (B = 0, H = c) : c >= 192 && c <= 223 ? (B = 6 * 1, H = c & 31) : c >= 224 && c <= 239 ? (B = 6 * 2, H = c & 15) : c >= 240 && c <= 247 ? (B = 6 * 3, H = c & 7) : (B = 0, H = b), B !== 0 && !y(H, B, x(B, H)) && (B = 0, H = b)) : (B -= 6, H = H << 6 | c & 63), B === 0 && (H <= 65535 ? C += String.fromCharCode(H) : (C += String.fromCharCode(55296 + (H - 65535 - 1 >> 10)), C += String.fromCharCode(56320 + (H - 65535 - 1 & 1023))));
4064
4064
  }
4065
- return this.bitsNeeded = A, this.codePoint = h, H;
4065
+ return this.bitsNeeded = B, this.codePoint = H, C;
4066
4066
  };
4067
- var K = function() {
4067
+ var ie = function() {
4068
4068
  try {
4069
- return new B().decode(new x().encode("test"), { stream: !0 }) === "test";
4070
- } catch (c) {
4071
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4069
+ return new w().decode(new _().encode("test"), { stream: !0 }) === "test";
4070
+ } catch (h) {
4071
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4072
4072
  }
4073
4073
  return !1;
4074
4074
  };
4075
- (B == null || x == null || !K()) && (B = ne);
4076
- var P = function() {
4075
+ (w == null || _ == null || !ie()) && (w = ne);
4076
+ var N = function() {
4077
4077
  };
4078
- function k(c) {
4079
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = P, this.onload = P, this.onerror = P, this.onreadystatechange = P, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = P;
4078
+ function j(h) {
4079
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = N;
4080
4080
  }
4081
- k.prototype.open = function(c, g) {
4081
+ j.prototype.open = function(h, y) {
4082
4082
  this._abort(!0);
4083
- var S = this, b = this._xhr, H = 1, A = 0;
4084
- this._abort = function(E) {
4085
- S._sendTimeout !== 0 && (i(S._sendTimeout), S._sendTimeout = 0), (H === 1 || H === 2 || H === 3) && (H = 4, b.onload = P, b.onerror = P, b.onabort = P, b.onprogress = P, b.onreadystatechange = P, b.abort(), A !== 0 && (i(A), A = 0), E || (S.readyState = 4, S.onabort(null), S.onreadystatechange())), H = 0;
4083
+ var x = this, b = this._xhr, C = 1, B = 0;
4084
+ this._abort = function(d) {
4085
+ x._sendTimeout !== 0 && (i(x._sendTimeout), x._sendTimeout = 0), (C === 1 || C === 2 || C === 3) && (C = 4, b.onload = N, b.onerror = N, b.onabort = N, b.onprogress = N, b.onreadystatechange = N, b.abort(), B !== 0 && (i(B), B = 0), d || (x.readyState = 4, x.onabort(null), x.onreadystatechange())), C = 0;
4086
4086
  };
4087
- var h = function() {
4088
- if (H === 1) {
4089
- var E = 0, y = "", V = void 0;
4087
+ var H = function() {
4088
+ if (C === 1) {
4089
+ var d = 0, A = "", M = void 0;
4090
4090
  if ("contentType" in b)
4091
- E = 200, y = "OK", V = b.contentType;
4091
+ d = 200, A = "OK", M = b.contentType;
4092
4092
  else
4093
4093
  try {
4094
- E = b.status, y = b.statusText, V = b.getResponseHeader("Content-Type");
4095
- } catch (ce) {
4096
- E = 0, y = "", V = void 0;
4094
+ d = b.status, A = b.statusText, M = b.getResponseHeader("Content-Type");
4095
+ } catch (T) {
4096
+ d = 0, A = "", M = void 0;
4097
4097
  }
4098
- E !== 0 && (H = 2, S.readyState = 2, S.status = E, S.statusText = y, S._contentType = V, S.onreadystatechange());
4098
+ d !== 0 && (C = 2, x.readyState = 2, x.status = d, x.statusText = A, x._contentType = M, x.onreadystatechange());
4099
4099
  }
4100
- }, v = function() {
4101
- if (h(), H === 2 || H === 3) {
4102
- H = 3;
4103
- var E = "";
4100
+ }, G = function() {
4101
+ if (H(), C === 2 || C === 3) {
4102
+ C = 3;
4103
+ var d = "";
4104
4104
  try {
4105
- E = b.responseText;
4106
- } catch (y) {
4105
+ d = b.responseText;
4106
+ } catch (A) {
4107
4107
  }
4108
- S.readyState = 3, S.responseText = E, S.onprogress();
4108
+ x.readyState = 3, x.responseText = d, x.onprogress();
4109
4109
  }
4110
- }, p = function(E, y) {
4111
- if ((y == null || y.preventDefault == null) && (y = {
4112
- preventDefault: P
4113
- }), v(), H === 1 || H === 2 || H === 3) {
4114
- if (H = 4, A !== 0 && (i(A), A = 0), S.readyState = 4, E === "load")
4115
- S.onload(y);
4116
- else if (E === "error")
4117
- S.onerror(y);
4118
- else if (E === "abort")
4119
- S.onabort(y);
4110
+ }, c = function(d, A) {
4111
+ if ((A == null || A.preventDefault == null) && (A = {
4112
+ preventDefault: N
4113
+ }), G(), C === 1 || C === 2 || C === 3) {
4114
+ if (C = 4, B !== 0 && (i(B), B = 0), x.readyState = 4, d === "load")
4115
+ x.onload(A);
4116
+ else if (d === "error")
4117
+ x.onerror(A);
4118
+ else if (d === "abort")
4119
+ x.onabort(A);
4120
4120
  else
4121
4121
  throw new TypeError();
4122
- S.onreadystatechange();
4122
+ x.onreadystatechange();
4123
4123
  }
4124
- }, _ = function(E) {
4125
- b != null && (b.readyState === 4 ? (!("onload" in b) || !("onerror" in b) || !("onabort" in b)) && p(b.responseText === "" ? "error" : "load", E) : b.readyState === 3 ? "onprogress" in b || v() : b.readyState === 2 && h());
4126
- }, C = function() {
4127
- A = r(function() {
4128
- C();
4129
- }, 500), b.readyState === 3 && v();
4124
+ }, g = function(d) {
4125
+ b != null && (b.readyState === 4 ? (!("onload" in b) || !("onerror" in b) || !("onabort" in b)) && c(b.responseText === "" ? "error" : "load", d) : b.readyState === 3 ? "onprogress" in b || G() : b.readyState === 2 && H());
4126
+ }, v = function() {
4127
+ B = r(function() {
4128
+ v();
4129
+ }, 500), b.readyState === 3 && G();
4130
4130
  };
4131
- "onload" in b && (b.onload = function(E) {
4132
- p("load", E);
4133
- }), "onerror" in b && (b.onerror = function(E) {
4134
- p("error", E);
4135
- }), "onabort" in b && (b.onabort = function(E) {
4136
- p("abort", E);
4137
- }), "onprogress" in b && (b.onprogress = v), "onreadystatechange" in b && (b.onreadystatechange = function(E) {
4138
- _(E);
4139
- }), ("contentType" in b || !("ontimeout" in o.prototype)) && (g += (g.indexOf("?") === -1 ? "?" : "&") + "padding=true"), b.open(c, g, !0), "readyState" in b && (A = r(function() {
4140
- C();
4131
+ "onload" in b && (b.onload = function(d) {
4132
+ c("load", d);
4133
+ }), "onerror" in b && (b.onerror = function(d) {
4134
+ c("error", d);
4135
+ }), "onabort" in b && (b.onabort = function(d) {
4136
+ c("abort", d);
4137
+ }), "onprogress" in b && (b.onprogress = G), "onreadystatechange" in b && (b.onreadystatechange = function(d) {
4138
+ g(d);
4139
+ }), ("contentType" in b || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), b.open(h, y, !0), "readyState" in b && (B = r(function() {
4140
+ v();
4141
4141
  }, 0));
4142
- }, k.prototype.abort = function() {
4142
+ }, j.prototype.abort = function() {
4143
4143
  this._abort(!1);
4144
- }, k.prototype.getResponseHeader = function(c) {
4144
+ }, j.prototype.getResponseHeader = function(h) {
4145
4145
  return this._contentType;
4146
- }, k.prototype.setRequestHeader = function(c, g) {
4147
- var S = this._xhr;
4148
- "setRequestHeader" in S && S.setRequestHeader(c, g);
4149
- }, k.prototype.getAllResponseHeaders = function() {
4146
+ }, j.prototype.setRequestHeader = function(h, y) {
4147
+ var x = this._xhr;
4148
+ "setRequestHeader" in x && x.setRequestHeader(h, y);
4149
+ }, j.prototype.getAllResponseHeaders = function() {
4150
4150
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4151
- }, k.prototype.send = function() {
4151
+ }, j.prototype.send = function() {
4152
4152
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4153
- var c = this;
4154
- c._sendTimeout = r(function() {
4155
- c._sendTimeout = 0, c.send();
4153
+ var h = this;
4154
+ h._sendTimeout = r(function() {
4155
+ h._sendTimeout = 0, h.send();
4156
4156
  }, 4);
4157
4157
  return;
4158
4158
  }
4159
- var g = this._xhr;
4160
- "withCredentials" in g && (g.withCredentials = this.withCredentials);
4159
+ var y = this._xhr;
4160
+ "withCredentials" in y && (y.withCredentials = this.withCredentials);
4161
4161
  try {
4162
- g.send(void 0);
4163
- } catch (S) {
4164
- throw S;
4162
+ y.send(void 0);
4163
+ } catch (x) {
4164
+ throw x;
4165
4165
  }
4166
4166
  };
4167
- function U(c) {
4168
- return c.replace(/[A-Z]/g, function(g) {
4169
- return String.fromCharCode(g.charCodeAt(0) + 32);
4167
+ function q(h) {
4168
+ return h.replace(/[A-Z]/g, function(y) {
4169
+ return String.fromCharCode(y.charCodeAt(0) + 32);
4170
4170
  });
4171
4171
  }
4172
- function W(c) {
4173
- for (var g = /* @__PURE__ */ Object.create(null), S = c.split(`\r
4174
- `), b = 0; b < S.length; b += 1) {
4175
- var H = S[b], A = H.split(": "), h = A.shift(), v = A.join(": ");
4176
- g[U(h)] = v;
4172
+ function Z(h) {
4173
+ for (var y = /* @__PURE__ */ Object.create(null), x = h.split(`\r
4174
+ `), b = 0; b < x.length; b += 1) {
4175
+ var C = x[b], B = C.split(": "), H = B.shift(), G = B.join(": ");
4176
+ y[q(H)] = G;
4177
4177
  }
4178
- this._map = g;
4178
+ this._map = y;
4179
4179
  }
4180
- W.prototype.get = function(c) {
4181
- return this._map[U(c)];
4180
+ Z.prototype.get = function(h) {
4181
+ return this._map[q(h)];
4182
4182
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4183
- function de() {
4183
+ function re() {
4184
4184
  }
4185
- de.prototype.open = function(c, g, S, b, H, A, h) {
4186
- c.open("GET", H);
4187
- var v = 0;
4188
- c.onprogress = function() {
4189
- var _ = c.responseText, C = _.slice(v);
4190
- v += C.length, S(C);
4191
- }, c.onerror = function(_) {
4192
- _.preventDefault(), b(new Error("NetworkError"));
4193
- }, c.onload = function() {
4185
+ re.prototype.open = function(h, y, x, b, C, B, H) {
4186
+ h.open("GET", C);
4187
+ var G = 0;
4188
+ h.onprogress = function() {
4189
+ var g = h.responseText, v = g.slice(G);
4190
+ G += v.length, x(v);
4191
+ }, h.onerror = function(g) {
4192
+ g.preventDefault(), b(new Error("NetworkError"));
4193
+ }, h.onload = function() {
4194
4194
  b(null);
4195
- }, c.onabort = function() {
4195
+ }, h.onabort = function() {
4196
4196
  b(null);
4197
- }, c.onreadystatechange = function() {
4198
- if (c.readyState === o.HEADERS_RECEIVED) {
4199
- var _ = c.status, C = c.statusText, E = c.getResponseHeader("Content-Type"), y = c.getAllResponseHeaders();
4200
- g(_, C, E, new W(y));
4197
+ }, h.onreadystatechange = function() {
4198
+ if (h.readyState === o.HEADERS_RECEIVED) {
4199
+ var g = h.status, v = h.statusText, d = h.getResponseHeader("Content-Type"), A = h.getAllResponseHeaders();
4200
+ y(g, v, d, new Z(A));
4201
4201
  }
4202
- }, c.withCredentials = A;
4203
- for (var p in h)
4204
- Object.prototype.hasOwnProperty.call(h, p) && c.setRequestHeader(p, h[p]);
4205
- return c.send(), c;
4202
+ }, h.withCredentials = B;
4203
+ for (var c in H)
4204
+ Object.prototype.hasOwnProperty.call(H, c) && h.setRequestHeader(c, H[c]);
4205
+ return h.send(), h;
4206
4206
  };
4207
- function re(c) {
4208
- this._headers = c;
4207
+ function le(h) {
4208
+ this._headers = h;
4209
4209
  }
4210
- re.prototype.get = function(c) {
4211
- return this._headers.get(c);
4210
+ le.prototype.get = function(h) {
4211
+ return this._headers.get(h);
4212
4212
  };
4213
- function X() {
4213
+ function k() {
4214
4214
  }
4215
- X.prototype.open = function(c, g, S, b, H, A, h) {
4216
- var v = null, p = new T(), _ = p.signal, C = new B();
4217
- return m(H, {
4218
- headers: h,
4219
- credentials: A ? "include" : "same-origin",
4220
- signal: _,
4215
+ k.prototype.open = function(h, y, x, b, C, B, H) {
4216
+ var G = null, c = new S(), g = c.signal, v = new w();
4217
+ return m(C, {
4218
+ headers: H,
4219
+ credentials: B ? "include" : "same-origin",
4220
+ signal: g,
4221
4221
  cache: "no-store"
4222
- }).then(function(E) {
4223
- return v = E.body.getReader(), g(E.status, E.statusText, E.headers.get("Content-Type"), new re(E.headers)), new f(function(y, V) {
4224
- var ce = function() {
4225
- v.read().then(function(Z) {
4226
- if (Z.done)
4227
- y(void 0);
4222
+ }).then(function(d) {
4223
+ return G = d.body.getReader(), y(d.status, d.statusText, d.headers.get("Content-Type"), new le(d.headers)), new f(function(A, M) {
4224
+ var T = function() {
4225
+ G.read().then(function(F) {
4226
+ if (F.done)
4227
+ A(void 0);
4228
4228
  else {
4229
- var Q = C.decode(Z.value, { stream: !0 });
4230
- S(Q), ce();
4229
+ var z = v.decode(F.value, { stream: !0 });
4230
+ x(z), T();
4231
4231
  }
4232
- }).catch(function(Z) {
4233
- V(Z);
4232
+ }).catch(function(F) {
4233
+ M(F);
4234
4234
  });
4235
4235
  };
4236
- ce();
4236
+ T();
4237
4237
  });
4238
- }).catch(function(E) {
4239
- if (E.name !== "AbortError")
4240
- return E;
4241
- }).then(function(E) {
4242
- b(E);
4238
+ }).catch(function(d) {
4239
+ if (d.name !== "AbortError")
4240
+ return d;
4241
+ }).then(function(d) {
4242
+ b(d);
4243
4243
  }), {
4244
4244
  abort: function() {
4245
- v != null && v.cancel(), p.abort();
4245
+ G != null && G.cancel(), c.abort();
4246
4246
  }
4247
4247
  };
4248
4248
  };
4249
4249
  function $() {
4250
4250
  this._listeners = /* @__PURE__ */ Object.create(null);
4251
4251
  }
4252
- function N(c) {
4252
+ function I(h) {
4253
4253
  r(function() {
4254
- throw c;
4254
+ throw h;
4255
4255
  }, 0);
4256
4256
  }
4257
- $.prototype.dispatchEvent = function(c) {
4258
- c.target = this;
4259
- var g = this._listeners[c.type];
4260
- if (g != null)
4261
- for (var S = g.length, b = 0; b < S; b += 1) {
4262
- var H = g[b];
4257
+ $.prototype.dispatchEvent = function(h) {
4258
+ h.target = this;
4259
+ var y = this._listeners[h.type];
4260
+ if (y != null)
4261
+ for (var x = y.length, b = 0; b < x; b += 1) {
4262
+ var C = y[b];
4263
4263
  try {
4264
- typeof H.handleEvent == "function" ? H.handleEvent(c) : H.call(this, c);
4265
- } catch (A) {
4266
- N(A);
4264
+ typeof C.handleEvent == "function" ? C.handleEvent(h) : C.call(this, h);
4265
+ } catch (B) {
4266
+ I(B);
4267
4267
  }
4268
4268
  }
4269
- }, $.prototype.addEventListener = function(c, g) {
4270
- c = String(c);
4271
- var S = this._listeners, b = S[c];
4272
- b == null && (b = [], S[c] = b);
4273
- for (var H = !1, A = 0; A < b.length; A += 1)
4274
- b[A] === g && (H = !0);
4275
- H || b.push(g);
4276
- }, $.prototype.removeEventListener = function(c, g) {
4277
- c = String(c);
4278
- var S = this._listeners, b = S[c];
4269
+ }, $.prototype.addEventListener = function(h, y) {
4270
+ h = String(h);
4271
+ var x = this._listeners, b = x[h];
4272
+ b == null && (b = [], x[h] = b);
4273
+ for (var C = !1, B = 0; B < b.length; B += 1)
4274
+ b[B] === y && (C = !0);
4275
+ C || b.push(y);
4276
+ }, $.prototype.removeEventListener = function(h, y) {
4277
+ h = String(h);
4278
+ var x = this._listeners, b = x[h];
4279
4279
  if (b != null) {
4280
- for (var H = [], A = 0; A < b.length; A += 1)
4281
- b[A] !== g && H.push(b[A]);
4282
- H.length === 0 ? delete S[c] : S[c] = H;
4280
+ for (var C = [], B = 0; B < b.length; B += 1)
4281
+ b[B] !== y && C.push(b[B]);
4282
+ C.length === 0 ? delete x[h] : x[h] = C;
4283
4283
  }
4284
4284
  };
4285
- function F(c) {
4286
- this.type = c, this.target = void 0;
4285
+ function Y(h) {
4286
+ this.type = h, this.target = void 0;
4287
4287
  }
4288
- function D(c, g) {
4289
- F.call(this, c), this.data = g.data, this.lastEventId = g.lastEventId;
4288
+ function U(h, y) {
4289
+ Y.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4290
4290
  }
4291
- D.prototype = Object.create(F.prototype);
4292
- function ie(c, g) {
4293
- F.call(this, c), this.status = g.status, this.statusText = g.statusText, this.headers = g.headers;
4291
+ U.prototype = Object.create(Y.prototype);
4292
+ function ce(h, y) {
4293
+ Y.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4294
4294
  }
4295
- ie.prototype = Object.create(F.prototype);
4296
- function Ce(c, g) {
4297
- F.call(this, c), this.error = g.error;
4295
+ ce.prototype = Object.create(Y.prototype);
4296
+ function ge(h, y) {
4297
+ Y.call(this, h), this.error = y.error;
4298
4298
  }
4299
- Ce.prototype = Object.create(F.prototype);
4300
- var w = -1, ue = 0, He = 1, pe = 2, qe = -1, ve = 0, Ye = 1, lt = 2, Qe = 3, ct = /^text\/event\-stream(;.*)?$/i, Lt = 1e3, Je = 18e6, Pe = function(c, g) {
4301
- var S = c == null ? g : parseInt(c, 10);
4302
- return S !== S && (S = g), Ke(S);
4303
- }, Ke = function(c) {
4304
- return Math.min(Math.max(c, Lt), Je);
4305
- }, _e = function(c, g, S) {
4299
+ ge.prototype = Object.create(Y.prototype);
4300
+ var Be = -1, E = 0, de = 1, Pe = 2, ve = -1, _e = 0, Je = 1, ct = 2, Ht = 3, Ke = /^text\/event\-stream(;.*)?$/i, ht = 1e3, Ot = 18e6, Ne = function(h, y) {
4301
+ var x = h == null ? y : parseInt(h, 10);
4302
+ return x !== x && (x = y), Ue(x);
4303
+ }, Ue = function(h) {
4304
+ return Math.min(Math.max(h, ht), Ot);
4305
+ }, Le = function(h, y, x) {
4306
4306
  try {
4307
- typeof g == "function" && g.call(c, S);
4307
+ typeof y == "function" && y.call(h, x);
4308
4308
  } catch (b) {
4309
- N(b);
4309
+ I(b);
4310
4310
  }
4311
4311
  };
4312
- function le(c, g) {
4313
- $.call(this), g = g || {}, 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, ht(this, c, g);
4312
+ function oe(h, y) {
4313
+ $.call(this), y = y || {}, 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, Rt(this, h, y);
4314
4314
  }
4315
- function Mt() {
4315
+ function Lt() {
4316
4316
  return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4317
4317
  }
4318
- var Rt = m != null && d != null && "body" in d.prototype;
4319
- function ht(c, g, S) {
4320
- g = String(g);
4321
- var b = !!S.withCredentials, H = S.lastEventIdQueryParameterName || "lastEventId", A = Ke(1e3), h = Pe(S.heartbeatTimeout, 45e3), v = "", p = A, _ = !1, C = 0, E = S.headers || {}, y = S.Transport, V = Rt && y == null ? void 0 : new k(y != null ? new y() : Mt()), ce = y != null && typeof y != "string" ? new y() : V == null ? new X() : new de(), Z = void 0, Q = 0, ee = w, Ne = "", dt = "", Se = "", pt = "", oe = ve, Pt = 0, Me = 0, Rr = function(J, q, he, fe) {
4322
- if (ee === ue)
4323
- if (J === 200 && he != null && ct.test(he)) {
4324
- ee = He, _ = Date.now(), p = A, c.readyState = He;
4325
- var ae = new ie("open", {
4326
- status: J,
4327
- statusText: q,
4318
+ var Mt = m != null && p != null && "body" in p.prototype;
4319
+ function Rt(h, y, x) {
4320
+ y = String(y);
4321
+ var b = !!x.withCredentials, C = x.lastEventIdQueryParameterName || "lastEventId", B = Ue(1e3), H = Ne(x.heartbeatTimeout, 45e3), G = "", c = B, g = !1, v = 0, d = x.headers || {}, A = x.Transport, M = Mt && A == null ? void 0 : new j(A != null ? new A() : Lt()), T = A != null && typeof A != "string" ? new A() : M == null ? new k() : new re(), F = void 0, z = 0, ee = Be, Te = "", Ee = "", Ae = "", ft = "", ae = _e, Pt = 0, Ie = 0, Rr = function(K, J, he, fe) {
4322
+ if (ee === E)
4323
+ if (K === 200 && he != null && Ke.test(he)) {
4324
+ ee = de, g = Date.now(), c = B, h.readyState = de;
4325
+ var se = new ce("open", {
4326
+ status: K,
4327
+ statusText: J,
4328
4328
  headers: fe
4329
4329
  });
4330
- c.dispatchEvent(ae), _e(c, c.onopen, ae);
4330
+ h.dispatchEvent(se), Le(h, h.onopen, se);
4331
4331
  } else {
4332
4332
  var te = "";
4333
- J !== 200 ? (q && (q = q.replace(/\s+/g, " ")), te = "EventSource's response has a status " + J + " " + q + " that is not 200. Aborting the connection.") : te = "EventSource's response has a Content-Type specifying an unsupported type: " + (he == null ? "-" : he.replace(/\s+/g, " ")) + ". Aborting the connection.", Nt();
4334
- var ae = new ie("error", {
4335
- status: J,
4336
- statusText: q,
4333
+ K !== 200 ? (J && (J = J.replace(/\s+/g, " ")), te = "EventSource's response has a status " + K + " " + J + " that is not 200. Aborting the connection.") : te = "EventSource's response has a Content-Type specifying an unsupported type: " + (he == null ? "-" : he.replace(/\s+/g, " ")) + ". Aborting the connection.", Nt();
4334
+ var se = new ce("error", {
4335
+ status: K,
4336
+ statusText: J,
4337
4337
  headers: fe
4338
4338
  });
4339
- c.dispatchEvent(ae), _e(c, c.onerror, ae), console.error(te);
4339
+ h.dispatchEvent(se), Le(h, h.onerror, se), console.error(te);
4340
4340
  }
4341
- }, Pr = function(J) {
4342
- if (ee === He) {
4343
- for (var q = -1, he = 0; he < J.length; he += 1) {
4344
- var fe = J.charCodeAt(he);
4345
- (fe === 10 || fe === 13) && (q = he);
4341
+ }, Pr = function(K) {
4342
+ if (ee === de) {
4343
+ for (var J = -1, he = 0; he < K.length; he += 1) {
4344
+ var fe = K.charCodeAt(he);
4345
+ (fe === 10 || fe === 13) && (J = he);
4346
4346
  }
4347
- var ae = (q !== -1 ? pt : "") + J.slice(0, q + 1);
4348
- pt = (q === -1 ? pt : "") + J.slice(q + 1), J !== "" && (_ = Date.now(), C += J.length);
4349
- for (var te = 0; te < ae.length; te += 1) {
4350
- var fe = ae.charCodeAt(te);
4351
- if (oe === qe && fe === 10)
4352
- oe = ve;
4353
- else if (oe === qe && (oe = ve), fe === 13 || fe === 10) {
4354
- if (oe !== ve) {
4355
- oe === Ye && (Me = te + 1);
4356
- var Be = ae.slice(Pt, Me - 1), Te = ae.slice(Me + (Me < te && ae.charCodeAt(Me) === 32 ? 1 : 0), te);
4357
- Be === "data" ? (Ne += `
4358
- `, Ne += Te) : Be === "id" ? dt = Te : Be === "event" ? Se = Te : Be === "retry" ? (A = Pe(Te, A), p = A) : Be === "heartbeatTimeout" && (h = Pe(Te, h), Q !== 0 && (i(Q), Q = r(function() {
4359
- et();
4360
- }, h)));
4347
+ var se = (J !== -1 ? ft : "") + K.slice(0, J + 1);
4348
+ ft = (J === -1 ? ft : "") + K.slice(J + 1), K !== "" && (g = Date.now(), v += K.length);
4349
+ for (var te = 0; te < se.length; te += 1) {
4350
+ var fe = se.charCodeAt(te);
4351
+ if (ae === ve && fe === 10)
4352
+ ae = _e;
4353
+ else if (ae === ve && (ae = _e), fe === 13 || fe === 10) {
4354
+ if (ae !== _e) {
4355
+ ae === Je && (Ie = te + 1);
4356
+ var Ce = se.slice(Pt, Ie - 1), He = se.slice(Ie + (Ie < te && se.charCodeAt(Ie) === 32 ? 1 : 0), te);
4357
+ Ce === "data" ? (Te += `
4358
+ `, Te += He) : Ce === "id" ? Ee = He : Ce === "event" ? Ae = He : Ce === "retry" ? (B = Ne(He, B), c = B) : Ce === "heartbeatTimeout" && (H = Ne(He, H), z !== 0 && (i(z), z = r(function() {
4359
+ tt();
4360
+ }, H)));
4361
4361
  }
4362
- if (oe === ve) {
4363
- if (Ne !== "") {
4364
- v = dt, Se === "" && (Se = "message");
4365
- var Ie = new D(Se, {
4366
- data: Ne.slice(1),
4367
- lastEventId: dt
4362
+ if (ae === _e) {
4363
+ if (Te !== "") {
4364
+ G = Ee, Ae === "" && (Ae = "message");
4365
+ var Fe = new U(Ae, {
4366
+ data: Te.slice(1),
4367
+ lastEventId: Ee
4368
4368
  });
4369
- if (c.dispatchEvent(Ie), Se === "open" ? _e(c, c.onopen, Ie) : Se === "message" ? _e(c, c.onmessage, Ie) : Se === "error" && _e(c, c.onerror, Ie), ee === pe)
4369
+ if (h.dispatchEvent(Fe), Ae === "open" ? Le(h, h.onopen, Fe) : Ae === "message" ? Le(h, h.onmessage, Fe) : Ae === "error" && Le(h, h.onerror, Fe), ee === Pe)
4370
4370
  return;
4371
4371
  }
4372
- Ne = "", Se = "";
4372
+ Te = "", Ae = "";
4373
4373
  }
4374
- oe = fe === 13 ? qe : ve;
4374
+ ae = fe === 13 ? ve : _e;
4375
4375
  } else
4376
- oe === ve && (Pt = te, oe = Ye), oe === Ye ? fe === 58 && (Me = te + 1, oe = lt) : oe === lt && (oe = Qe);
4376
+ ae === _e && (Pt = te, ae = Je), ae === Je ? fe === 58 && (Ie = te + 1, ae = ct) : ae === ct && (ae = Ht);
4377
4377
  }
4378
4378
  }
4379
- }, yn = function(J) {
4380
- if (ee === He || ee === ue) {
4381
- ee = w, Q !== 0 && (i(Q), Q = 0), Q = r(function() {
4382
- et();
4383
- }, p), p = Ke(Math.min(A * 16, p * 2)), c.readyState = ue;
4384
- var q = new Ce("error", { error: J });
4385
- c.dispatchEvent(q), _e(c, c.onerror, q), J != null && console.error(J);
4379
+ }, yn = function(K) {
4380
+ if (ee === de || ee === E) {
4381
+ ee = Be, z !== 0 && (i(z), z = 0), z = r(function() {
4382
+ tt();
4383
+ }, c), c = Ue(Math.min(B * 16, c * 2)), h.readyState = E;
4384
+ var J = new ge("error", { error: K });
4385
+ h.dispatchEvent(J), Le(h, h.onerror, J), K != null && console.error(K);
4386
4386
  }
4387
4387
  }, Nt = function() {
4388
- ee = pe, Z != null && (Z.abort(), Z = void 0), Q !== 0 && (i(Q), Q = 0), c.readyState = pe;
4389
- }, et = function() {
4390
- if (Q = 0, ee !== w) {
4391
- if (!_ && Z != null)
4392
- yn(new Error("No activity within " + h + " milliseconds. " + (ee === ue ? "No response received." : C + " chars received.") + " Reconnecting.")), Z != null && (Z.abort(), Z = void 0);
4388
+ ee = Pe, F != null && (F.abort(), F = void 0), z !== 0 && (i(z), z = 0), h.readyState = Pe;
4389
+ }, tt = function() {
4390
+ if (z = 0, ee !== Be) {
4391
+ if (!g && F != null)
4392
+ yn(new Error("No activity within " + H + " milliseconds. " + (ee === E ? "No response received." : v + " chars received.") + " Reconnecting.")), F != null && (F.abort(), F = void 0);
4393
4393
  else {
4394
- var J = Math.max((_ || Date.now()) + h - Date.now(), 1);
4395
- _ = !1, Q = r(function() {
4396
- et();
4397
- }, J);
4394
+ var K = Math.max((g || Date.now()) + H - Date.now(), 1);
4395
+ g = !1, z = r(function() {
4396
+ tt();
4397
+ }, K);
4398
4398
  }
4399
4399
  return;
4400
4400
  }
4401
- _ = !1, C = 0, Q = r(function() {
4402
- et();
4403
- }, h), ee = ue, Ne = "", Se = "", dt = v, pt = "", Pt = 0, Me = 0, oe = ve;
4404
- var q = g;
4405
- if (g.slice(0, 5) !== "data:" && g.slice(0, 5) !== "blob:" && v !== "") {
4406
- var he = g.indexOf("?");
4407
- q = he === -1 ? g : g.slice(0, he + 1) + g.slice(he + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Te, Ie) {
4408
- return Ie === H ? "" : Te;
4409
- }), q += (g.indexOf("?") === -1 ? "?" : "&") + H + "=" + encodeURIComponent(v);
4401
+ g = !1, v = 0, z = r(function() {
4402
+ tt();
4403
+ }, H), ee = E, Te = "", Ae = "", Ee = G, ft = "", Pt = 0, Ie = 0, ae = _e;
4404
+ var J = y;
4405
+ if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && G !== "") {
4406
+ var he = y.indexOf("?");
4407
+ J = he === -1 ? y : y.slice(0, he + 1) + y.slice(he + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(He, Fe) {
4408
+ return Fe === C ? "" : He;
4409
+ }), J += (y.indexOf("?") === -1 ? "?" : "&") + C + "=" + encodeURIComponent(G);
4410
4410
  }
4411
- var fe = c.withCredentials, ae = {};
4412
- ae.Accept = "text/event-stream";
4413
- var te = c.headers;
4411
+ var fe = h.withCredentials, se = {};
4412
+ se.Accept = "text/event-stream";
4413
+ var te = h.headers;
4414
4414
  if (te != null)
4415
- for (var Be in te)
4416
- Object.prototype.hasOwnProperty.call(te, Be) && (ae[Be] = te[Be]);
4415
+ for (var Ce in te)
4416
+ Object.prototype.hasOwnProperty.call(te, Ce) && (se[Ce] = te[Ce]);
4417
4417
  try {
4418
- Z = ce.open(V, Rr, Pr, yn, q, fe, ae);
4419
- } catch (Te) {
4420
- throw Nt(), Te;
4418
+ F = T.open(M, Rr, Pr, yn, J, fe, se);
4419
+ } catch (He) {
4420
+ throw Nt(), He;
4421
4421
  }
4422
4422
  };
4423
- c.url = g, c.readyState = ue, c.withCredentials = b, c.headers = E, c._close = Nt, et();
4423
+ h.url = y, h.readyState = E, h.withCredentials = b, h.headers = d, h._close = Nt, tt();
4424
4424
  }
4425
- le.prototype = Object.create($.prototype), le.prototype.CONNECTING = ue, le.prototype.OPEN = He, le.prototype.CLOSED = pe, le.prototype.close = function() {
4425
+ oe.prototype = Object.create($.prototype), oe.prototype.CONNECTING = E, oe.prototype.OPEN = de, oe.prototype.CLOSED = Pe, oe.prototype.close = function() {
4426
4426
  this._close();
4427
- }, le.CONNECTING = ue, le.OPEN = He, le.CLOSED = pe, le.prototype.withCredentials = void 0;
4428
- var ft = l;
4429
- o != null && (l == null || !("withCredentials" in l.prototype)) && (ft = le), function(c) {
4427
+ }, oe.CONNECTING = E, oe.OPEN = de, oe.CLOSED = Pe, oe.prototype.withCredentials = void 0;
4428
+ var et = l;
4429
+ o != null && (l == null || !("withCredentials" in l.prototype)) && (et = oe), function(h) {
4430
4430
  {
4431
- var g = c(t);
4432
- g !== void 0 && (e.exports = g);
4431
+ var y = h(t);
4432
+ y !== void 0 && (e.exports = y);
4433
4433
  }
4434
- }(function(c) {
4435
- c.EventSourcePolyfill = le, c.NativeEventSource = l, c.EventSource = ft;
4434
+ }(function(h) {
4435
+ h.EventSourcePolyfill = oe, h.NativeEventSource = l, h.EventSource = et;
4436
4436
  });
4437
4437
  })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : di : globalThis);
4438
4438
  })(un, un.exports);
@@ -4459,7 +4459,7 @@ var ln = function(e, t) {
4459
4459
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
4460
4460
  }, ln(e, t);
4461
4461
  };
4462
- function ut(e, t) {
4462
+ function lt(e, t) {
4463
4463
  if (typeof t != "function" && t !== null)
4464
4464
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4465
4465
  ln(e, t);
@@ -4506,7 +4506,7 @@ function fn(e, t, n) {
4506
4506
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
4507
4507
  return e.concat(o || t);
4508
4508
  }
4509
- function Ae(e) {
4509
+ function Oe(e) {
4510
4510
  return typeof e == "function";
4511
4511
  }
4512
4512
  function Ar(e) {
@@ -4530,7 +4530,7 @@ function dn(e, t) {
4530
4530
  0 <= n && e.splice(n, 1);
4531
4531
  }
4532
4532
  }
4533
- var Ot = function() {
4533
+ var Ct = function() {
4534
4534
  function e(t) {
4535
4535
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4536
4536
  }
@@ -4546,8 +4546,8 @@ var Ot = function() {
4546
4546
  var u = l.value;
4547
4547
  u.remove(this);
4548
4548
  }
4549
- } catch (T) {
4550
- t = { error: T };
4549
+ } catch (S) {
4550
+ t = { error: S };
4551
4551
  } finally {
4552
4552
  try {
4553
4553
  l && !l.done && (n = s.return) && n.call(s);
@@ -4559,29 +4559,29 @@ var Ot = function() {
4559
4559
  else
4560
4560
  a.remove(this);
4561
4561
  var f = this.initialTeardown;
4562
- if (Ae(f))
4562
+ if (Oe(f))
4563
4563
  try {
4564
4564
  f();
4565
- } catch (T) {
4566
- o = T instanceof Zt ? T.errors : [T];
4565
+ } catch (S) {
4566
+ o = S instanceof Zt ? S.errors : [S];
4567
4567
  }
4568
4568
  var m = this._finalizers;
4569
4569
  if (m) {
4570
4570
  this._finalizers = null;
4571
4571
  try {
4572
- for (var d = cn(m), B = d.next(); !B.done; B = d.next()) {
4573
- var x = B.value;
4572
+ for (var p = cn(m), w = p.next(); !w.done; w = p.next()) {
4573
+ var _ = w.value;
4574
4574
  try {
4575
- Un(x);
4576
- } catch (T) {
4577
- o = o != null ? o : [], T instanceof Zt ? o = fn(fn([], hn(o)), hn(T.errors)) : o.push(T);
4575
+ Un(_);
4576
+ } catch (S) {
4577
+ o = o != null ? o : [], S instanceof Zt ? o = fn(fn([], hn(o)), hn(S.errors)) : o.push(S);
4578
4578
  }
4579
4579
  }
4580
- } catch (T) {
4581
- r = { error: T };
4580
+ } catch (S) {
4581
+ r = { error: S };
4582
4582
  } finally {
4583
4583
  try {
4584
- B && !B.done && (i = d.return) && i.call(d);
4584
+ w && !w.done && (i = p.return) && i.call(p);
4585
4585
  } finally {
4586
4586
  if (r)
4587
4587
  throw r.error;
@@ -4620,12 +4620,12 @@ var Ot = function() {
4620
4620
  var t = new e();
4621
4621
  return t.closed = !0, t;
4622
4622
  }(), e;
4623
- }(), Cr = Ot.EMPTY;
4623
+ }(), Cr = Ct.EMPTY;
4624
4624
  function Hr(e) {
4625
- return e instanceof Ot || e && "closed" in e && Ae(e.remove) && Ae(e.add) && Ae(e.unsubscribe);
4625
+ return e instanceof Ct || e && "closed" in e && Oe(e.remove) && Oe(e.add) && Oe(e.unsubscribe);
4626
4626
  }
4627
4627
  function Un(e) {
4628
- Ae(e) ? e() : e.unsubscribe();
4628
+ Oe(e) ? e() : e.unsubscribe();
4629
4629
  }
4630
4630
  var ia = {
4631
4631
  Promise: void 0
@@ -4647,11 +4647,11 @@ function aa(e) {
4647
4647
  }
4648
4648
  function Fn() {
4649
4649
  }
4650
- function _t(e) {
4650
+ function yt(e) {
4651
4651
  e();
4652
4652
  }
4653
4653
  var Or = function(e) {
4654
- ut(t, e);
4654
+ lt(t, e);
4655
4655
  function t(n) {
4656
4656
  var r = e.call(this) || this;
4657
4657
  return r.isStopped = !1, n ? (r.destination = n, Hr(n) && n.add(r)) : r.destination = la, r;
@@ -4681,7 +4681,7 @@ var Or = function(e) {
4681
4681
  this.unsubscribe();
4682
4682
  }
4683
4683
  }, t;
4684
- }(Ot), sa = function() {
4684
+ }(Ct), sa = function() {
4685
4685
  function e(t) {
4686
4686
  this.partialObserver = t;
4687
4687
  }
@@ -4691,7 +4691,7 @@ var Or = function(e) {
4691
4691
  try {
4692
4692
  n.next(t);
4693
4693
  } catch (r) {
4694
- bt(r);
4694
+ pt(r);
4695
4695
  }
4696
4696
  }, e.prototype.error = function(t) {
4697
4697
  var n = this.partialObserver;
@@ -4699,24 +4699,24 @@ var Or = function(e) {
4699
4699
  try {
4700
4700
  n.error(t);
4701
4701
  } catch (r) {
4702
- bt(r);
4702
+ pt(r);
4703
4703
  }
4704
4704
  else
4705
- bt(t);
4705
+ pt(t);
4706
4706
  }, e.prototype.complete = function() {
4707
4707
  var t = this.partialObserver;
4708
4708
  if (t.complete)
4709
4709
  try {
4710
4710
  t.complete();
4711
4711
  } catch (n) {
4712
- bt(n);
4712
+ pt(n);
4713
4713
  }
4714
4714
  }, e;
4715
4715
  }(), pn = function(e) {
4716
- ut(t, e);
4716
+ lt(t, e);
4717
4717
  function t(n, r, i) {
4718
4718
  var o = e.call(this) || this, a;
4719
- return Ae(n) || !n ? a = {
4719
+ return Oe(n) || !n ? a = {
4720
4720
  next: n != null ? n : void 0,
4721
4721
  error: r != null ? r : void 0,
4722
4722
  complete: i != null ? i : void 0
@@ -4724,7 +4724,7 @@ var Or = function(e) {
4724
4724
  }
4725
4725
  return t;
4726
4726
  }(Or);
4727
- function bt(e) {
4727
+ function pt(e) {
4728
4728
  aa(e);
4729
4729
  }
4730
4730
  function ua(e) {
@@ -4757,7 +4757,7 @@ var Gn = function() {
4757
4757
  return n.source = this, n.operator = t, n;
4758
4758
  }, e.prototype.subscribe = function(t, n, r) {
4759
4759
  var i = this, o = pa(t) ? t : new pn(t, n, r);
4760
- return _t(function() {
4760
+ return yt(function() {
4761
4761
  var a = i, s = a.operator, l = a.source;
4762
4762
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4763
4763
  }), o;
@@ -4813,7 +4813,7 @@ function jn(e) {
4813
4813
  return (t = e != null ? e : ia.Promise) !== null && t !== void 0 ? t : Promise;
4814
4814
  }
4815
4815
  function da(e) {
4816
- return e && Ae(e.next) && Ae(e.error) && Ae(e.complete);
4816
+ return e && Oe(e.next) && Oe(e.error) && Oe(e.complete);
4817
4817
  }
4818
4818
  function pa(e) {
4819
4819
  return e && e instanceof Or || da(e) && Hr(e);
@@ -4823,7 +4823,7 @@ var ma = Ar(function(e) {
4823
4823
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4824
4824
  };
4825
4825
  }), Lr = function(e) {
4826
- ut(t, e);
4826
+ lt(t, e);
4827
4827
  function t() {
4828
4828
  var n = e.call(this) || this;
4829
4829
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
@@ -4836,7 +4836,7 @@ var ma = Ar(function(e) {
4836
4836
  throw new ma();
4837
4837
  }, t.prototype.next = function(n) {
4838
4838
  var r = this;
4839
- _t(function() {
4839
+ yt(function() {
4840
4840
  var i, o;
4841
4841
  if (r._throwIfClosed(), !r.isStopped) {
4842
4842
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
@@ -4859,7 +4859,7 @@ var ma = Ar(function(e) {
4859
4859
  });
4860
4860
  }, t.prototype.error = function(n) {
4861
4861
  var r = this;
4862
- _t(function() {
4862
+ yt(function() {
4863
4863
  if (r._throwIfClosed(), !r.isStopped) {
4864
4864
  r.hasError = r.isStopped = !0, r.thrownError = n;
4865
4865
  for (var i = r.observers; i.length; )
@@ -4868,7 +4868,7 @@ var ma = Ar(function(e) {
4868
4868
  });
4869
4869
  }, t.prototype.complete = function() {
4870
4870
  var n = this;
4871
- _t(function() {
4871
+ yt(function() {
4872
4872
  if (n._throwIfClosed(), !n.isStopped) {
4873
4873
  n.isStopped = !0;
4874
4874
  for (var r = n.observers; r.length; )
@@ -4890,7 +4890,7 @@ var ma = Ar(function(e) {
4890
4890
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4891
4891
  }, t.prototype._innerSubscribe = function(n) {
4892
4892
  var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4893
- return o || a ? Cr : (this.currentObservers = null, s.push(n), new Ot(function() {
4893
+ return o || a ? Cr : (this.currentObservers = null, s.push(n), new Ct(function() {
4894
4894
  r.currentObservers = null, dn(s, n);
4895
4895
  }));
4896
4896
  }, t.prototype._checkFinalizedStatuses = function(n) {
@@ -4903,7 +4903,7 @@ var ma = Ar(function(e) {
4903
4903
  return new kn(n, r);
4904
4904
  }, t;
4905
4905
  }(Gn), kn = function(e) {
4906
- ut(t, e);
4906
+ lt(t, e);
4907
4907
  function t(n, r) {
4908
4908
  var i = e.call(this) || this;
4909
4909
  return i.destination = n, i.source = r, i;
@@ -4927,7 +4927,7 @@ var ma = Ar(function(e) {
4927
4927
  },
4928
4928
  delegate: void 0
4929
4929
  }, ba = function(e) {
4930
- ut(t, e);
4930
+ lt(t, e);
4931
4931
  function t(n, r, i) {
4932
4932
  n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Mr);
4933
4933
  var o = e.call(this) || this;
@@ -4964,11 +4964,11 @@ function va(e) {
4964
4964
  }
4965
4965
  function Xn(e, t, n) {
4966
4966
  const r = e.slice();
4967
- return r[56] = t[n], r;
4967
+ return r[58] = t[n], r;
4968
4968
  }
4969
4969
  function zn(e, t, n) {
4970
4970
  const r = e.slice();
4971
- return r[59] = t[n], r;
4971
+ return r[61] = t[n], r;
4972
4972
  }
4973
4973
  function _a(e) {
4974
4974
  let t, n, r = (
@@ -4980,39 +4980,39 @@ function _a(e) {
4980
4980
  e[2].Total[0].amount
4981
4981
  )
4982
4982
  ) : "0") + ""
4983
- ), i, o, a, s, l, u, f, m, d, B, x = (
4983
+ ), i, o, a, s, l, u, f, m, p, w, _ = (
4984
4984
  /*showBalance*/
4985
4985
  e[5] && Wn(e)
4986
4986
  );
4987
4987
  return {
4988
4988
  c() {
4989
- t = j("button"), n = j("p"), i = we(r), o = xe(), a = j("span"), s = En("svg"), l = En("path"), f = xe(), x && x.c(), m = Xr(), L(l, "id", "arrow"), L(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), L(l, "transform", "translate(-274.511 -441.088)"), L(l, "fill", "#d1d1d1"), L(s, "xmlns", "http://www.w3.org/2000/svg"), L(s, "width", "14"), L(s, "height", "6.835"), L(s, "viewBox", "0 0 14 6.835"), L(a, "class", u = /*isModalDisplayed*/
4989
+ t = X("button"), n = X("p"), i = Se(r), o = we(), a = X("span"), s = En("svg"), l = En("path"), f = we(), _ && _.c(), m = Xr(), L(l, "id", "arrow"), L(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), L(l, "transform", "translate(-274.511 -441.088)"), L(l, "fill", "#d1d1d1"), L(s, "xmlns", "http://www.w3.org/2000/svg"), L(s, "width", "14"), L(s, "height", "6.835"), L(s, "viewBox", "0 0 14 6.835"), L(a, "class", u = /*isModalDisplayed*/
4990
4990
  e[4] ? "TriangleActive" : "TriangleInactive"), L(t, "class", "BalanceValue");
4991
4991
  },
4992
- m(T, I) {
4993
- ye(T, t, I), R(t, n), R(n, i), R(t, o), R(t, a), R(a, s), R(s, l), ye(T, f, I), x && x.m(T, I), ye(T, m, I), d || (B = rt(
4992
+ m(S, D) {
4993
+ ye(S, t, D), P(t, n), P(n, i), P(t, o), P(t, a), P(a, s), P(s, l), ye(S, f, D), _ && _.m(S, D), ye(S, m, D), p || (w = it(
4994
4994
  t,
4995
4995
  "click",
4996
4996
  /*click_handler*/
4997
- e[27]
4998
- ), d = !0);
4997
+ e[29]
4998
+ ), p = !0);
4999
4999
  },
5000
- p(T, I) {
5001
- I[0] & /*balances*/
5000
+ p(S, D) {
5001
+ D[0] & /*balances*/
5002
5002
  4 && r !== (r = /*balances*/
5003
- (T[2].Total ? (
5003
+ (S[2].Total ? (
5004
5004
  /*formatBalance*/
5005
- T[9](
5005
+ S[9](
5006
5006
  /*balances*/
5007
- T[2].Total[0].amount
5007
+ S[2].Total[0].amount
5008
5008
  )
5009
- ) : "0") + "") && Le(i, r), I[0] & /*isModalDisplayed*/
5009
+ ) : "0") + "") && Re(i, r), D[0] & /*isModalDisplayed*/
5010
5010
  16 && u !== (u = /*isModalDisplayed*/
5011
- T[4] ? "TriangleActive" : "TriangleInactive") && L(a, "class", u), /*showBalance*/
5012
- T[5] ? x ? x.p(T, I) : (x = Wn(T), x.c(), x.m(m.parentNode, m)) : x && (x.d(1), x = null);
5011
+ S[4] ? "TriangleActive" : "TriangleInactive") && L(a, "class", u), /*showBalance*/
5012
+ S[5] ? _ ? _.p(S, D) : (_ = Wn(S), _.c(), _.m(m.parentNode, m)) : _ && (_.d(1), _ = null);
5013
5013
  },
5014
- d(T) {
5015
- T && (ge(t), ge(f), ge(m)), x && x.d(T), d = !1, B();
5014
+ d(S) {
5015
+ S && (be(t), be(f), be(m)), _ && _.d(S), p = !1, w();
5016
5016
  }
5017
5017
  };
5018
5018
  }
@@ -5023,18 +5023,18 @@ function Ea(e) {
5023
5023
  ), r;
5024
5024
  return {
5025
5025
  c() {
5026
- t = j("p"), r = we(n), L(t, "class", "Loading");
5026
+ t = X("p"), r = Se(n), L(t, "class", "Loading");
5027
5027
  },
5028
5028
  m(i, o) {
5029
- ye(i, t, o), R(t, r);
5029
+ ye(i, t, o), P(t, r);
5030
5030
  },
5031
5031
  p(i, o) {
5032
5032
  o[0] & /*$_*/
5033
5033
  128 && n !== (n = /*$_*/
5034
- i[7]("Loading") + "") && Le(r, n);
5034
+ i[7]("Loading") + "") && Re(r, n);
5035
5035
  },
5036
5036
  d(i) {
5037
- i && ge(t);
5037
+ i && be(t);
5038
5038
  }
5039
5039
  };
5040
5040
  }
@@ -5042,82 +5042,82 @@ function Wn(e) {
5042
5042
  let t, n, r, i, o, a, s, l, u = (
5043
5043
  /*$_*/
5044
5044
  e[7]("Title") + ""
5045
- ), f, m, d, B, x, T, I = (
5045
+ ), f, m, p, w, _, S, D = (
5046
5046
  /*$_*/
5047
5047
  e[7]("DepositButton") + ""
5048
- ), ne, K, P, k, U, W, de, re = Et(Object.keys(
5048
+ ), ne, ie, N, j, q, Z, re, le = vt(Object.keys(
5049
5049
  /*balances*/
5050
5050
  e[2]
5051
- )), X = [];
5052
- for (let N = 0; N < re.length; N += 1)
5053
- X[N] = qn(Xn(e, re, N));
5051
+ )), k = [];
5052
+ for (let I = 0; I < le.length; I += 1)
5053
+ k[I] = qn(Xn(e, le, I));
5054
5054
  let $ = (
5055
5055
  /*balancelimitsbutton*/
5056
5056
  e[0] === "true" && Yn(e)
5057
5057
  );
5058
5058
  return {
5059
5059
  c() {
5060
- t = j("div"), n = j("button"), i = xe(), o = j("div"), a = j("div"), s = j("div"), l = j("p"), f = we(u), m = xe(), d = j("div");
5061
- for (let N = 0; N < X.length; N += 1)
5062
- X[N].c();
5063
- B = xe(), x = j("div"), T = j("button"), ne = we(I), K = xe(), $ && $.c(), L(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5064
- (e[4] ? "Open" : "")), L(l, "class", "BalanceModalTitle"), L(s, "class", "BalanceModalHeader"), L(d, "class", "BalanceModalBody"), L(T, "class", "BalanceModalAction DepositButton"), L(x, "class", "BalanceModalFooter"), L(a, "class", P = "ModalContent " + /*isModalDisplayed*/
5065
- (e[4] ? "Open" : "")), L(o, "class", k = "BalanceModal " + /*isModalDisplayed*/
5066
- (e[4] ? "Open" : "")), L(t, "class", U = "BalanceModalWrapper " + /*isModalDisplayed*/
5060
+ t = X("div"), n = X("button"), i = we(), o = X("div"), a = X("div"), s = X("div"), l = X("p"), f = Se(u), m = we(), p = X("div");
5061
+ for (let I = 0; I < k.length; I += 1)
5062
+ k[I].c();
5063
+ w = we(), _ = X("div"), S = X("button"), ne = Se(D), ie = we(), $ && $.c(), L(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5064
+ (e[4] ? "Open" : "")), L(l, "class", "BalanceModalTitle"), L(s, "class", "BalanceModalHeader"), L(p, "class", "BalanceModalBody"), L(S, "class", "BalanceModalAction DepositButton"), L(_, "class", "BalanceModalFooter"), L(a, "class", N = "ModalContent " + /*isModalDisplayed*/
5065
+ (e[4] ? "Open" : "")), L(o, "class", j = "BalanceModal " + /*isModalDisplayed*/
5066
+ (e[4] ? "Open" : "")), L(t, "class", q = "BalanceModalWrapper " + /*isModalDisplayed*/
5067
5067
  (e[4] ? "Open" : ""));
5068
5068
  },
5069
- m(N, F) {
5070
- ye(N, t, F), R(t, n), R(t, i), R(t, o), R(o, a), R(a, s), R(s, l), R(l, f), R(a, m), R(a, d);
5071
- for (let D = 0; D < X.length; D += 1)
5072
- X[D] && X[D].m(d, null);
5073
- R(a, B), R(a, x), R(x, T), R(T, ne), R(x, K), $ && $.m(x, null), W || (de = [
5074
- rt(
5069
+ m(I, Y) {
5070
+ ye(I, t, Y), P(t, n), P(t, i), P(t, o), P(o, a), P(a, s), P(s, l), P(l, f), P(a, m), P(a, p);
5071
+ for (let U = 0; U < k.length; U += 1)
5072
+ k[U] && k[U].m(p, null);
5073
+ P(a, w), P(a, _), P(_, S), P(S, ne), P(_, ie), $ && $.m(_, null), Z || (re = [
5074
+ it(
5075
5075
  n,
5076
5076
  "click",
5077
5077
  /*click_handler_1*/
5078
- e[28]
5078
+ e[30]
5079
5079
  ),
5080
- rt(
5081
- T,
5080
+ it(
5081
+ S,
5082
5082
  "click",
5083
5083
  /*click_handler_2*/
5084
- e[29]
5084
+ e[31]
5085
5085
  )
5086
- ], W = !0);
5086
+ ], Z = !0);
5087
5087
  },
5088
- p(N, F) {
5089
- if (F[0] & /*isModalDisplayed*/
5088
+ p(I, Y) {
5089
+ if (Y[0] & /*isModalDisplayed*/
5090
5090
  16 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
5091
- (N[4] ? "Open" : "")) && L(n, "class", r), F[0] & /*$_*/
5091
+ (I[4] ? "Open" : "")) && L(n, "class", r), Y[0] & /*$_*/
5092
5092
  128 && u !== (u = /*$_*/
5093
- N[7]("Title") + "") && Le(f, u), F[0] & /*balances, formatBalance, $_*/
5094
- 644) {
5095
- re = Et(Object.keys(
5093
+ I[7]("Title") + "") && Re(f, u), Y[0] & /*balances, formatBalance, getProductType, $_*/
5094
+ 2692) {
5095
+ le = vt(Object.keys(
5096
5096
  /*balances*/
5097
- N[2]
5097
+ I[2]
5098
5098
  ));
5099
- let D;
5100
- for (D = 0; D < re.length; D += 1) {
5101
- const ie = Xn(N, re, D);
5102
- X[D] ? X[D].p(ie, F) : (X[D] = qn(ie), X[D].c(), X[D].m(d, null));
5099
+ let U;
5100
+ for (U = 0; U < le.length; U += 1) {
5101
+ const ce = Xn(I, le, U);
5102
+ k[U] ? k[U].p(ce, Y) : (k[U] = qn(ce), k[U].c(), k[U].m(p, null));
5103
5103
  }
5104
- for (; D < X.length; D += 1)
5105
- X[D].d(1);
5106
- X.length = re.length;
5104
+ for (; U < k.length; U += 1)
5105
+ k[U].d(1);
5106
+ k.length = le.length;
5107
5107
  }
5108
- F[0] & /*$_*/
5109
- 128 && I !== (I = /*$_*/
5110
- N[7]("DepositButton") + "") && Le(ne, I), /*balancelimitsbutton*/
5111
- N[0] === "true" ? $ ? $.p(N, F) : ($ = Yn(N), $.c(), $.m(x, null)) : $ && ($.d(1), $ = null), F[0] & /*isModalDisplayed*/
5112
- 16 && P !== (P = "ModalContent " + /*isModalDisplayed*/
5113
- (N[4] ? "Open" : "")) && L(a, "class", P), F[0] & /*isModalDisplayed*/
5114
- 16 && k !== (k = "BalanceModal " + /*isModalDisplayed*/
5115
- (N[4] ? "Open" : "")) && L(o, "class", k), F[0] & /*isModalDisplayed*/
5116
- 16 && U !== (U = "BalanceModalWrapper " + /*isModalDisplayed*/
5117
- (N[4] ? "Open" : "")) && L(t, "class", U);
5108
+ Y[0] & /*$_*/
5109
+ 128 && D !== (D = /*$_*/
5110
+ I[7]("DepositButton") + "") && Re(ne, D), /*balancelimitsbutton*/
5111
+ I[0] === "true" ? $ ? $.p(I, Y) : ($ = Yn(I), $.c(), $.m(_, null)) : $ && ($.d(1), $ = null), Y[0] & /*isModalDisplayed*/
5112
+ 16 && N !== (N = "ModalContent " + /*isModalDisplayed*/
5113
+ (I[4] ? "Open" : "")) && L(a, "class", N), Y[0] & /*isModalDisplayed*/
5114
+ 16 && j !== (j = "BalanceModal " + /*isModalDisplayed*/
5115
+ (I[4] ? "Open" : "")) && L(o, "class", j), Y[0] & /*isModalDisplayed*/
5116
+ 16 && q !== (q = "BalanceModalWrapper " + /*isModalDisplayed*/
5117
+ (I[4] ? "Open" : "")) && L(t, "class", q);
5118
5118
  },
5119
- d(N) {
5120
- N && ge(t), tr(X, N), $ && $.d(), W = !1, Xe(de);
5119
+ d(I) {
5120
+ I && be(t), tr(k, I), $ && $.d(), Z = !1, Ze(re);
5121
5121
  }
5122
5122
  };
5123
5123
  }
@@ -5126,88 +5126,82 @@ function Zn(e) {
5126
5126
  /*$_*/
5127
5127
  e[7](
5128
5128
  /*k*/
5129
- e[56]
5129
+ e[58]
5130
5130
  ) + ""
5131
5131
  ), i, o, a = (
5132
- /*b*/
5133
- (e[59].productType ? (
5134
- /*$_*/
5135
- e[7](
5136
- /*b*/
5137
- e[59].productType
5138
- )
5139
- ) : "") + ""
5132
+ /*getProductType*/
5133
+ e[11](
5134
+ /*balance*/
5135
+ e[61]
5136
+ ) + ""
5140
5137
  ), s, l, u, f, m = (
5141
5138
  /*formatBalance*/
5142
5139
  e[9](
5143
- /*b*/
5144
- e[59].amount
5140
+ /*balance*/
5141
+ e[61].amount
5145
5142
  ) + ""
5146
- ), d;
5143
+ ), p;
5147
5144
  return {
5148
5145
  c() {
5149
- t = j("div"), n = j("p"), i = we(r), o = xe(), s = we(a), l = xe(), u = j("p"), f = j("span"), d = we(m), L(n, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(u, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5146
+ t = X("div"), n = X("p"), i = Se(r), o = we(), s = Se(a), l = we(), u = X("p"), f = X("span"), p = Se(m), L(n, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(u, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5150
5147
  },
5151
- m(B, x) {
5152
- ye(B, t, x), R(t, n), R(n, i), R(n, o), R(n, s), R(t, l), R(t, u), R(u, f), R(f, d);
5148
+ m(w, _) {
5149
+ ye(w, t, _), P(t, n), P(n, i), P(n, o), P(n, s), P(t, l), P(t, u), P(u, f), P(f, p);
5153
5150
  },
5154
- p(B, x) {
5155
- x[0] & /*$_, balances*/
5151
+ p(w, _) {
5152
+ _[0] & /*$_, balances*/
5156
5153
  132 && r !== (r = /*$_*/
5157
- B[7](
5154
+ w[7](
5158
5155
  /*k*/
5159
- B[56]
5160
- ) + "") && Le(i, r), x[0] & /*balances, $_*/
5161
- 132 && a !== (a = /*b*/
5162
- (B[59].productType ? (
5163
- /*$_*/
5164
- B[7](
5165
- /*b*/
5166
- B[59].productType
5167
- )
5168
- ) : "") + "") && Le(s, a), x[0] & /*balances*/
5156
+ w[58]
5157
+ ) + "") && Re(i, r), _[0] & /*balances*/
5158
+ 4 && a !== (a = /*getProductType*/
5159
+ w[11](
5160
+ /*balance*/
5161
+ w[61]
5162
+ ) + "") && Re(s, a), _[0] & /*balances*/
5169
5163
  4 && m !== (m = /*formatBalance*/
5170
- B[9](
5171
- /*b*/
5172
- B[59].amount
5173
- ) + "") && Le(d, m);
5164
+ w[9](
5165
+ /*balance*/
5166
+ w[61].amount
5167
+ ) + "") && Re(p, m);
5174
5168
  },
5175
- d(B) {
5176
- B && ge(t);
5169
+ d(w) {
5170
+ w && be(t);
5177
5171
  }
5178
5172
  };
5179
5173
  }
5180
5174
  function qn(e) {
5181
- let t, n, r = Et(
5175
+ let t, n, r = vt(
5182
5176
  /*balances*/
5183
5177
  e[2][
5184
5178
  /*k*/
5185
- e[56]
5179
+ e[58]
5186
5180
  ]
5187
5181
  ), i = [];
5188
5182
  for (let o = 0; o < r.length; o += 1)
5189
5183
  i[o] = Zn(zn(e, r, o));
5190
5184
  return {
5191
5185
  c() {
5192
- t = j("div");
5186
+ t = X("div");
5193
5187
  for (let o = 0; o < i.length; o += 1)
5194
5188
  i[o].c();
5195
- n = xe(), L(t, "class", "BalanceModalRowBoth");
5189
+ n = we(), L(t, "class", "BalanceModalRowBoth");
5196
5190
  },
5197
5191
  m(o, a) {
5198
5192
  ye(o, t, a);
5199
5193
  for (let s = 0; s < i.length; s += 1)
5200
5194
  i[s] && i[s].m(t, null);
5201
- R(t, n);
5195
+ P(t, n);
5202
5196
  },
5203
5197
  p(o, a) {
5204
- if (a[0] & /*formatBalance, balances, $_*/
5205
- 644) {
5206
- r = Et(
5198
+ if (a[0] & /*formatBalance, balances, getProductType, $_*/
5199
+ 2692) {
5200
+ r = vt(
5207
5201
  /*balances*/
5208
5202
  o[2][
5209
5203
  /*k*/
5210
- o[56]
5204
+ o[58]
5211
5205
  ]
5212
5206
  );
5213
5207
  let s;
@@ -5221,7 +5215,7 @@ function qn(e) {
5221
5215
  }
5222
5216
  },
5223
5217
  d(o) {
5224
- o && ge(t), tr(i, o);
5218
+ o && be(t), tr(i, o);
5225
5219
  }
5226
5220
  };
5227
5221
  }
@@ -5232,23 +5226,23 @@ function Yn(e) {
5232
5226
  ), r, i, o;
5233
5227
  return {
5234
5228
  c() {
5235
- t = j("button"), r = we(n), L(t, "class", "BalanceModalAction LimitsButton");
5229
+ t = X("button"), r = Se(n), L(t, "class", "BalanceModalAction LimitsButton");
5236
5230
  },
5237
5231
  m(a, s) {
5238
- ye(a, t, s), R(t, r), i || (o = rt(
5232
+ ye(a, t, s), P(t, r), i || (o = it(
5239
5233
  t,
5240
5234
  "click",
5241
5235
  /*click_handler_3*/
5242
- e[30]
5236
+ e[32]
5243
5237
  ), i = !0);
5244
5238
  },
5245
5239
  p(a, s) {
5246
5240
  s[0] & /*$_*/
5247
5241
  128 && n !== (n = /*$_*/
5248
- a[7]("LimitsButton") + "") && Le(r, n);
5242
+ a[7]("LimitsButton") + "") && Re(r, n);
5249
5243
  },
5250
5244
  d(a) {
5251
- a && ge(t), i = !1, o();
5245
+ a && be(t), i = !1, o();
5252
5246
  }
5253
5247
  };
5254
5248
  }
@@ -5256,19 +5250,19 @@ function Qn(e) {
5256
5250
  let t, n, r;
5257
5251
  return {
5258
5252
  c() {
5259
- t = j("button"), L(t, "class", "ShowBalanceModalOverlay");
5253
+ t = X("button"), L(t, "class", "ShowBalanceModalOverlay");
5260
5254
  },
5261
5255
  m(i, o) {
5262
- ye(i, t, o), n || (r = rt(
5256
+ ye(i, t, o), n || (r = it(
5263
5257
  t,
5264
5258
  "click",
5265
5259
  /*click_handler_4*/
5266
- e[31]
5260
+ e[33]
5267
5261
  ), n = !0);
5268
5262
  },
5269
- p: be,
5263
+ p: me,
5270
5264
  d(i) {
5271
- i && ge(t), n = !1, r();
5265
+ i && be(t), n = !1, r();
5272
5266
  }
5273
5267
  };
5274
5268
  }
@@ -5286,11 +5280,11 @@ function xa(e) {
5286
5280
  );
5287
5281
  return {
5288
5282
  c() {
5289
- t = j("div"), n = j("div"), s.c(), i = xe(), l && l.c(), L(n, "class", r = "ShowBalance " + /*mobileView*/
5283
+ t = X("div"), n = X("div"), s.c(), i = we(), l && l.c(), L(n, "class", r = "ShowBalance " + /*mobileView*/
5290
5284
  (e[6] ? "Mobile" : ""));
5291
5285
  },
5292
5286
  m(u, f) {
5293
- ye(u, t, f), R(t, n), s.m(n, null), R(t, i), l && l.m(t, null), e[32](t);
5287
+ ye(u, t, f), P(t, n), s.m(n, null), P(t, i), l && l.m(t, null), e[34](t);
5294
5288
  },
5295
5289
  p(u, f) {
5296
5290
  a === (a = o(u)) && s ? s.p(u, f) : (s.d(1), s = a(u), s && (s.c(), s.m(n, null))), f[0] & /*mobileView*/
@@ -5298,23 +5292,23 @@ function xa(e) {
5298
5292
  (u[6] ? "Mobile" : "")) && L(n, "class", r), /*showBalance*/
5299
5293
  u[5] ? l ? l.p(u, f) : (l = Qn(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5300
5294
  },
5301
- i: be,
5302
- o: be,
5295
+ i: me,
5296
+ o: me,
5303
5297
  d(u) {
5304
- u && ge(t), s.d(), l && l.d(), e[32](null);
5298
+ u && be(t), s.d(), l && l.d(), e[34](null);
5305
5299
  }
5306
5300
  };
5307
5301
  }
5308
5302
  function wa(e, t, n) {
5309
5303
  let r;
5310
- jr(e, ta, (h) => n(7, r = h));
5311
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: x = "totalCashAmount" } = t, { balancelimitsbutton: T = "false" } = t, { currencylocale: I = "en" } = t, { currencydisplay: ne = "symbol" } = t, { maximumfractiondigits: K = "2" } = t, { minimumfractiondigits: P = "0" } = t, { customdisplayformat: k = "" } = t, U, W = !0, de = !1, re = !1, X = !1, $ = !1, N = window.navigator.userAgent, F, D = "", ie = [], Ce;
5312
- const w = {}, ue = ["totalCashAmount", "totalRealAmount"], He = () => {
5313
- fetch(m).then((h) => h.json()).then((h) => Object.keys(h).forEach((v) => In(v, h[v]))).catch((h) => console.log(h));
5304
+ jr(e, ta, (c) => n(7, r = c));
5305
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: p = "gm16" } = t, { displaybalanceoption: w = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { balancelimitsbutton: S = "false" } = t, { hideproducttype: D } = t, { currencylocale: ne = "en" } = t, { currencydisplay: ie = "symbol" } = t, { maximumfractiondigits: N = "2" } = t, { minimumfractiondigits: j = "0" } = t, { customdisplayformat: q = "" } = t, Z, re = !0, le = !1, k = !1, $ = !1, I = !1, Y = window.navigator.userAgent, U, ce = "", ge = [], Be;
5306
+ const E = {}, de = ["totalCashAmount", "totalRealAmount"], Pe = () => {
5307
+ fetch(m).then((c) => c.json()).then((c) => Object.keys(c).forEach((g) => In(g, c[g]))).catch((c) => console.log(c));
5314
5308
  };
5315
- Object.keys(Dn).forEach((h) => In(h, Dn[h]));
5316
- const pe = (h) => {
5317
- switch (h) {
5309
+ Object.keys(Dn).forEach((c) => In(c, Dn[c]));
5310
+ const ve = (c) => {
5311
+ switch (c) {
5318
5312
  case "balance":
5319
5313
  window.postMessage(
5320
5314
  {
@@ -5322,10 +5316,10 @@ function wa(e, t, n) {
5322
5316
  status: "open"
5323
5317
  },
5324
5318
  window.location.href
5325
- ), n(5, X = !0), setTimeout(() => n(4, de = !0), 150);
5319
+ ), n(5, $ = !0), setTimeout(() => n(4, le = !0), 150);
5326
5320
  break;
5327
5321
  case "closebalance":
5328
- n(4, de = !1), window.postMessage(
5322
+ n(4, le = !1), window.postMessage(
5329
5323
  {
5330
5324
  type: "BalanceModalStatus",
5331
5325
  status: "close"
@@ -5333,114 +5327,114 @@ function wa(e, t, n) {
5333
5327
  window.location.href
5334
5328
  ), setTimeout(
5335
5329
  () => {
5336
- n(5, X = !1);
5330
+ n(5, $ = !1);
5337
5331
  },
5338
5332
  150
5339
5333
  );
5340
5334
  break;
5341
5335
  }
5342
- }, qe = (h) => {
5343
- if (k)
5344
- return ve(h);
5345
- const v = I || s, p = {
5336
+ }, _e = (c) => {
5337
+ if (q)
5338
+ return Je(c);
5339
+ const g = ne || s, v = {
5346
5340
  style: "currency",
5347
- currency: D,
5341
+ currency: ce,
5348
5342
  useGrouping: !0,
5349
- currencyDisplay: ne || "code",
5350
- maximumFractionDigits: K === "" || isNaN(Number(K)) ? 2 : Number(K),
5351
- minimumFractionDigits: P === "" || isNaN(Number(P)) ? 0 : Number(P)
5343
+ currencyDisplay: ie || "code",
5344
+ maximumFractionDigits: N === "" || isNaN(Number(N)) ? 2 : Number(N),
5345
+ minimumFractionDigits: j === "" || isNaN(Number(j)) ? 0 : Number(j)
5352
5346
  };
5353
- return new Intl.NumberFormat(v, p).format(h);
5354
- }, ve = (h) => {
5355
- const v = [];
5356
- let p = "";
5357
- for (const _ of k)
5358
- switch (_) {
5347
+ return new Intl.NumberFormat(g, v).format(c);
5348
+ }, Je = (c) => {
5349
+ const g = [];
5350
+ let v = "";
5351
+ for (const d of q)
5352
+ switch (d) {
5359
5353
  default:
5360
- p += _;
5354
+ v += d;
5361
5355
  break;
5362
5356
  case "{":
5363
- p && v.push(p), p = "";
5357
+ v && g.push(v), v = "";
5364
5358
  break;
5365
5359
  case "}":
5366
- const [C, E] = p.split("|");
5367
- if (p = "", C.toLowerCase() === "currency")
5368
- p = D;
5369
- else if (C.toLowerCase() === "amount") {
5370
- let y = ",", V = ".", ce = 2;
5371
- E && (E[0] !== " " && (y = E[0]), E[1] !== " " && (V = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (ce = Number(E[2])));
5372
- let [Z, Q] = String(Math.floor(h * Dt(10, ce)) / Dt(10, ce)).split(".");
5373
- p += Z[0];
5374
- for (let ee = 1; ee < Z.length; ++ee)
5375
- (Z.length - ee) % 3 === 0 ? p += y + Z[ee] : p += Z[ee];
5376
- Q && (p += V + Q);
5360
+ const [A, M] = v.split("|");
5361
+ if (v = "", A.toLowerCase() === "currency")
5362
+ v = ce;
5363
+ else if (A.toLowerCase() === "amount") {
5364
+ let T = ",", F = ".", z = 2;
5365
+ M && (M[0] !== " " && (T = M[0]), M[1] !== " " && (F = M[1]), M[2] !== " " && !isNaN(Number(M[2])) && (z = Number(M[2])));
5366
+ let [ee, Te] = String(Math.floor(c * Dt(10, z)) / Dt(10, z)).split(".");
5367
+ v += ee[0];
5368
+ for (let Ee = 1; Ee < ee.length; ++Ee)
5369
+ (ee.length - Ee) % 3 === 0 ? v += T + ee[Ee] : v += ee[Ee];
5370
+ Te && (v += F + Te);
5377
5371
  }
5378
- p && v.push(p), p = "";
5372
+ v && g.push(v), v = "";
5379
5373
  break;
5380
5374
  }
5381
- return v.push(p), v.join("");
5382
- }, Ye = () => Gt(this, null, function* () {
5383
- var v, p, _;
5384
- n(3, W = !0);
5385
- const h = new URL(`${a}/v1/player/${i}/account`);
5375
+ return g.push(v), g.join("");
5376
+ }, ct = () => Gt(this, null, function* () {
5377
+ var g, v, d;
5378
+ n(3, re = !0);
5379
+ const c = new URL(`${a}/v1/player/${i}/account`);
5386
5380
  try {
5387
- const C = yield fetch(h, {
5381
+ const A = yield fetch(c, {
5388
5382
  method: "GET",
5389
5383
  headers: { "X-SessionID": o }
5390
- }), E = yield C.json();
5391
- if (C.ok)
5392
- window.postMessage({ type: "BalancedFetched" }, window.location.href), ie = E.items, D = (v = ie.find((y) => y.displayName === "Casino")) == null ? void 0 : v.currency, n(2, w.Total = [{ amount: E.totalAmount[D] }], w), n(
5384
+ }), M = yield A.json();
5385
+ if (A.ok)
5386
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), ge = M.items, ce = (g = ge.find((T) => T.displayName === "Casino")) == null ? void 0 : g.currency, n(2, E.Total = [{ amount: M.totalAmount[ce] }], E), n(
5393
5387
  2,
5394
- w.Real = [
5388
+ E.Real = [
5395
5389
  {
5396
- amount: (p = ie.find((y) => y.displayName === "Casino")) == null ? void 0 : p.balanceAmount
5390
+ amount: (v = ge.find((T) => T.displayName === "Casino")) == null ? void 0 : v.balanceAmount
5397
5391
  }
5398
5392
  ],
5399
- w
5393
+ E
5400
5394
  ), n(
5401
5395
  2,
5402
- w.Bonus = [
5396
+ E.Bonus = [
5403
5397
  {
5404
- amount: (_ = ie.find((y) => y.displayName === "UBS")) == null ? void 0 : _.balanceAmount
5398
+ amount: (d = ge.find((T) => T.displayName === "UBS")) == null ? void 0 : d.balanceAmount
5405
5399
  }
5406
5400
  ],
5407
- w
5401
+ E
5408
5402
  );
5409
5403
  else
5410
5404
  throw new Error("Failed to fetch balance data !");
5411
- } catch (C) {
5412
- console.log("Balance error: ", C);
5405
+ } catch (A) {
5406
+ console.log("Balance error: ", A);
5413
5407
  } finally {
5414
- n(3, W = !1);
5408
+ n(3, re = !1);
5415
5409
  }
5416
- }), lt = () => {
5417
- n(3, W = !0);
5418
- const h = new URL(`${a}/v2/player/${i}/balance`), v = new Headers();
5419
- v.append("X-SessionID", o), fetch(h, { method: "GET", headers: v }).then((_) => _.json()).then((_) => {
5420
- _[x] || n(11, x = ue[0]);
5421
- const C = _.items.find((y) => y.type === "Real" && y.walletAccountType === "Ordinary");
5422
- if (D = C.currency, re = !!C.productType, n(2, w.Total = [{ amount: 0 }], w), n(2, w.Real = [], w), n(2, w.Bonus = [], w), n(2, w.Credit = [], w), !re) {
5423
- Ce = {
5410
+ }), Ht = () => {
5411
+ n(3, re = !0);
5412
+ const c = new URL(`${a}/v2/player/${i}/balance`), g = new Headers();
5413
+ g.append("X-SessionID", o), fetch(c, { method: "GET", headers: g }).then((d) => d.json()).then((d) => {
5414
+ d[_] || n(12, _ = de[0]);
5415
+ const A = d.items.find((T) => T.type === "Real" && T.walletAccountType === "Ordinary");
5416
+ if (ce = A.currency, k = !!A.productType, n(2, E.Total = [{ amount: 0 }], E), n(2, E.Real = [], E), n(2, E.Bonus = [], E), n(2, E.Credit = [], E), !k) {
5417
+ Be = {
5424
5418
  lastOrdinaryAfterAmount: 0,
5425
5419
  showCreditLineAfterAmount: !1
5426
- }, n(2, w.Total[0].amount = _[x][D], w);
5427
- for (const y of _.items)
5428
- switch (y.type) {
5420
+ }, n(2, E.Total[0].amount = d[_][ce], E);
5421
+ for (const T of d.items)
5422
+ switch (T.type) {
5429
5423
  case "Bonus":
5430
- w.Bonus.length === 0 ? w.Bonus.push({ amount: y.amount }) : n(2, w.Bonus[0].amount += y.amount, w);
5424
+ E.Bonus.length === 0 ? E.Bonus.push({ amount: T.amount }) : n(2, E.Bonus[0].amount += T.amount, E);
5431
5425
  break;
5432
5426
  case "Real":
5433
- if (y.creditLine && w.Credit.length === 0 && w.Credit.push({ amount: y.creditLine }), x === "totalRealAmount")
5427
+ if (T.creditLine && E.Credit.length === 0 && E.Credit.push({ amount: T.creditLine }), _ === "totalRealAmount")
5434
5428
  continue;
5435
- w.Real.length === 0 ? w.Real.push({ amount: y.amount }) : n(2, w.Real[0].amount += y.amount, w);
5429
+ E.Real.length === 0 ? E.Real.push({ amount: T.amount }) : n(2, E.Real[0].amount += T.amount, E);
5436
5430
  break;
5437
5431
  }
5438
- for (const [y, V] of Object.entries(w))
5439
- V.length < 1 && delete w[y];
5440
- n(3, W = !1);
5432
+ for (const [T, F] of Object.entries(E))
5433
+ F.length < 1 && delete E[T];
5434
+ n(3, re = !1);
5441
5435
  return;
5442
5436
  }
5443
- Ce = {
5437
+ Be = {
5444
5438
  Casino: {
5445
5439
  lastOrdinaryAfterAmount: 0,
5446
5440
  showCreditLineAfterAmount: !1
@@ -5450,124 +5444,124 @@ function wa(e, t, n) {
5450
5444
  showCreditLineAfterAmount: !1
5451
5445
  }
5452
5446
  };
5453
- let E = _.items;
5454
- B && B !== "All" && (E = _.items.filter((y) => y.productType === B));
5455
- for (const y of E) {
5456
- let V;
5457
- switch (y.type) {
5447
+ let M = d.items;
5448
+ w && w !== "All" && (M = d.items.filter((T) => T.productType === w));
5449
+ for (const T of M) {
5450
+ let F;
5451
+ switch (T.type) {
5458
5452
  case "Bonus":
5459
- V = w.Bonus.findIndex((ce) => ce.productType === y.productType), V > 0 ? n(2, w.Bonus[V].amount += y.amount, w) : w.Bonus.push({
5460
- amount: y.amount,
5461
- productType: y.productType
5453
+ F = E.Bonus.findIndex((z) => z.productType === T.productType), F > 0 ? n(2, E.Bonus[F].amount += T.amount, E) : E.Bonus.push({
5454
+ amount: T.amount,
5455
+ productType: T.productType
5462
5456
  });
5463
5457
  break;
5464
5458
  case "Real":
5465
- y.creditLine && w.Credit.push({
5466
- amount: y.creditLine,
5467
- productType: y.productType
5468
- }), V = w.Real.findIndex((ce) => ce.productType === y.productType), V > 0 ? n(2, w.Real[V].amount += y.amount, w) : w.Real.push({
5469
- amount: y.amount,
5470
- productType: y.productType
5459
+ T.creditLine && E.Credit.push({
5460
+ amount: T.creditLine,
5461
+ productType: T.productType
5462
+ }), F = E.Real.findIndex((z) => z.productType === T.productType), F > 0 ? n(2, E.Real[F].amount += T.amount, E) : E.Real.push({
5463
+ amount: T.amount,
5464
+ productType: T.productType
5471
5465
  });
5472
5466
  break;
5473
5467
  }
5474
5468
  }
5475
- Pe();
5476
- for (const [y, V] of Object.entries(w))
5477
- V.length < 1 && delete w[y];
5478
- n(3, W = !1);
5479
- }).catch((_) => {
5480
- throw n(3, W = !1), console.log("Balance fetch error", _), new Error("Failed to fetch balance data!");
5469
+ Ue();
5470
+ for (const [T, F] of Object.entries(E))
5471
+ F.length < 1 && delete E[T];
5472
+ n(3, re = !1);
5473
+ }).catch((d) => {
5474
+ throw n(3, re = !1), console.log("Balance fetch error", d), new Error("Failed to fetch balance data!");
5481
5475
  });
5482
- }, Qe = () => {
5483
- if (F && F.close(), o.length < 1)
5476
+ }, Ke = () => {
5477
+ if (U && U.close(), o.length < 1)
5484
5478
  return;
5485
- let h, v;
5486
- switch (d) {
5479
+ let c, g;
5480
+ switch (p) {
5487
5481
  case "gm16":
5488
- h = new URL(`${a}/v2/player/${i}/information/updates`), v = (C) => Ke(C);
5482
+ c = new URL(`${a}/v2/player/${i}/information/updates`), g = (A) => Le(A);
5489
5483
  break;
5490
5484
  case "gmcore":
5491
- h = new URL(`${a}/v1/player/${i}/balance/updates`), v = (C) => Lt(C);
5485
+ c = new URL(`${a}/v1/player/${i}/balance/updates`), g = (A) => Ot(A);
5492
5486
  break;
5493
5487
  }
5494
- const p = {
5488
+ const v = {
5495
5489
  accept: "text/event-stream",
5496
5490
  "X-SessionId": o
5497
- }, _ = new ra.EventSourcePolyfill(h, { headers: p });
5498
- F = _, _.addEventListener("message", v);
5499
- }, ct = (h) => {
5500
- let v;
5491
+ }, d = new ra.EventSourcePolyfill(c, { headers: v });
5492
+ U = d, d.addEventListener("message", g);
5493
+ }, ht = (c) => {
5494
+ let g;
5501
5495
  try {
5502
- v = JSON.parse(h);
5503
- } catch (p) {
5504
- console.log("Balance stream failed: ", p);
5496
+ g = JSON.parse(c);
5497
+ } catch (v) {
5498
+ console.log("Balance stream failed: ", v);
5505
5499
  return;
5506
5500
  }
5507
- return v;
5508
- }, Lt = (h) => {
5509
- var C, E;
5510
- const v = ct(h.data);
5511
- if (!v) {
5512
- Qe();
5501
+ return g;
5502
+ }, Ot = (c) => {
5503
+ var A, M;
5504
+ const g = ht(c.data);
5505
+ if (!g) {
5506
+ Ke();
5513
5507
  return;
5514
5508
  }
5515
- let p = "0";
5516
- const _ = v.balanceChange;
5517
- ie = ie.map((y) => (_ && _[y.id] && (y = Ft(Ut({}, y), {
5518
- balanceAmount: _[y.id].afterAmount
5519
- })), p = (parseFloat(y == null ? void 0 : y.balanceAmount) + parseFloat(p)).toString(), y)), n(2, w.Real = [{ amount: (C = ie[0]) == null ? void 0 : C.balanceAmount }], w), n(2, w.Bonus = [{ amount: (E = ie[1]) == null ? void 0 : E.balanceAmount }], w), n(2, w.Total = [{ amount: Number(p) }], w);
5520
- }, Je = (h, v, p) => {
5521
- let _ = null;
5522
- switch (p.walletAccountType) {
5509
+ let v = "0";
5510
+ const d = g.balanceChange;
5511
+ ge = ge.map((T) => (d && d[T.id] && (T = Ft(Ut({}, T), {
5512
+ balanceAmount: d[T.id].afterAmount
5513
+ })), v = (parseFloat(T == null ? void 0 : T.balanceAmount) + parseFloat(v)).toString(), T)), n(2, E.Real = [{ amount: (A = ge[0]) == null ? void 0 : A.balanceAmount }], E), n(2, E.Bonus = [{ amount: (M = ge[1]) == null ? void 0 : M.balanceAmount }], E), n(2, E.Total = [{ amount: Number(v) }], E);
5514
+ }, Ne = (c, g, v) => {
5515
+ let d = null;
5516
+ switch (v.walletAccountType) {
5523
5517
  case "Ordinary":
5524
- (p.afterAmount !== p.affectedAmount || v.lastOrdinaryAfterAmount === 0) && (v.lastOrdinaryAfterAmount = p.afterAmount, v.showCreditLineAfterAmount || (_ = p.afterAmount));
5518
+ (v.afterAmount !== v.affectedAmount || g.lastOrdinaryAfterAmount === 0) && (g.lastOrdinaryAfterAmount = v.afterAmount, g.showCreditLineAfterAmount || (d = v.afterAmount));
5525
5519
  break;
5526
5520
  case "CreditLine":
5527
- p.afterAmount !== 0 ? (_ = p.afterAmount, v.showCreditLineAfterAmount = !0) : (_ = v.lastOrdinaryAfterAmount, v.showCreditLineAfterAmount = !1);
5521
+ v.afterAmount !== 0 ? (d = v.afterAmount, g.showCreditLineAfterAmount = !0) : (d = g.lastOrdinaryAfterAmount, g.showCreditLineAfterAmount = !1);
5528
5522
  break;
5529
5523
  default:
5530
- _ = p.afterAmount;
5524
+ d = v.afterAmount;
5531
5525
  }
5532
- return _ === null ? h : _;
5533
- }, Pe = () => {
5534
- switch (x) {
5526
+ return d === null ? c : d;
5527
+ }, Ue = () => {
5528
+ switch (_) {
5535
5529
  case "totalCashAmount":
5536
- let h = 0;
5537
- for (const p of ["Real", "Bonus"])
5538
- for (const _ of w[p])
5539
- h += Math.max(_.amount, 0);
5540
- n(2, w.Total[0].amount = h, w);
5530
+ let c = 0;
5531
+ for (const v of ["Real", "Bonus"])
5532
+ for (const d of E[v])
5533
+ c += Math.max(d.amount, 0);
5534
+ n(2, E.Total[0].amount = c, E);
5541
5535
  break;
5542
5536
  case "totalRealAmount":
5543
- if (!re)
5537
+ if (!k)
5544
5538
  return;
5545
- let v = 0;
5546
- for (const p of w.Real)
5547
- v += p.amount;
5548
- n(2, w.Total[0].amount = v, w);
5539
+ let g = 0;
5540
+ for (const v of E.Real)
5541
+ g += v.amount;
5542
+ n(2, E.Total[0].amount = g, E);
5549
5543
  }
5550
- }, Ke = (h) => {
5551
- const v = ct(h.data);
5552
- if (!v) {
5553
- Qe();
5544
+ }, Le = (c) => {
5545
+ const g = ht(c.data);
5546
+ if (!g) {
5547
+ Ke();
5554
5548
  return;
5555
5549
  }
5556
- if (le(v == null ? void 0 : v.type) || v.type !== "BALANCE_UPDATE_V2")
5550
+ if (Lt(g == null ? void 0 : g.type) || g.type !== "BALANCE_UPDATE_V2")
5557
5551
  return;
5558
- const p = v.body.balanceChange;
5559
- for (const [_, C] of Object.entries(p))
5560
- if (x === "totalRealAmount" && _ === "Real" && !re && n(2, w.Total[0].amount = Je(w.Total[0].amount, Ce, C), w), !!w[_])
5561
- for (const E of w[_]) {
5562
- if (!re) {
5563
- E.amount = _ === "Real" ? Je(E.amount, Ce, C) : C.afterAmount;
5552
+ const v = g.body.balanceChange;
5553
+ for (const [d, A] of Object.entries(v))
5554
+ if (_ === "totalRealAmount" && d === "Real" && !k && n(2, E.Total[0].amount = Ne(E.Total[0].amount, Be, A), E), !!E[d])
5555
+ for (const M of E[d]) {
5556
+ if (!k) {
5557
+ M.amount = d === "Real" ? Ne(M.amount, Be, A) : A.afterAmount;
5564
5558
  continue;
5565
5559
  }
5566
- C.productType === E.productType && (E.amount = _ === "Real" ? Je(E.amount, Ce[E.productType], C) : C.afterAmount);
5560
+ A.productType === M.productType && (M.amount = d === "Real" ? Ne(M.amount, Be[M.productType], A) : A.afterAmount);
5567
5561
  }
5568
- Pe();
5569
- }, _e = (h) => {
5570
- switch (pe("closebalance"), h) {
5562
+ Ue();
5563
+ }, oe = (c) => {
5564
+ switch (ve("closebalance"), c) {
5571
5565
  case "deposit":
5572
5566
  window.postMessage({ type: "GoToDeposit" }, window.location.href);
5573
5567
  break;
@@ -5576,65 +5570,69 @@ function wa(e, t, n) {
5576
5570
  break;
5577
5571
  }
5578
5572
  typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5579
- }, le = (h) => h === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Mt = () => {
5580
- ue.includes(x) || (console.error(`Unsupported value ('${x}') for totalcalculationmode parameter. Only the following values are supported ${ue}. Using default value ('${ue[0]}').`), n(11, x = ue[0]));
5573
+ }, Lt = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Mt = () => {
5574
+ de.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`), n(12, _ = de[0]));
5581
5575
  }, Rt = () => {
5582
- switch (na(s), Mt(), d) {
5576
+ switch (na(s), Mt(), p) {
5583
5577
  case "gmcore":
5584
- Ye();
5578
+ ct();
5585
5579
  break;
5586
5580
  case "gm16":
5587
- lt();
5581
+ Ht();
5588
5582
  break;
5589
5583
  default:
5590
- throw Error(`Invalid apiversion attribute: ${d}`);
5584
+ throw Error(`Invalid apiversion attribute: ${p}`);
5591
5585
  }
5592
- }, ht = (h) => {
5593
- const { data: { type: v } = {} } = h || {};
5594
- switch (v) {
5586
+ }, et = (c) => {
5587
+ const { data: { type: g } = {} } = c || {};
5588
+ switch (g) {
5595
5589
  case "LogoutSuccessfull":
5596
- F.close();
5590
+ U.close();
5597
5591
  break;
5598
5592
  case "CloseBalance":
5599
- pe("closebalance");
5593
+ ve("closebalance");
5600
5594
  break;
5601
5595
  }
5602
- }, ft = () => {
5596
+ }, h = () => {
5603
5597
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5598
+ }, y = (c) => {
5599
+ const g = D.split(",").map((v) => v.trim());
5600
+ return !c.productType || g.includes(c.productType) ? "" : r(c.productType);
5604
5601
  };
5605
- qr(() => (window.addEventListener("message", ht, !1), n(6, $ = ya(N)), () => {
5606
- window.removeEventListener("message", ht), F && F.close();
5602
+ qr(() => (window.addEventListener("message", et, !1), n(6, I = ya(Y)), () => {
5603
+ window.removeEventListener("message", et), U && U.close();
5607
5604
  }));
5608
- const c = () => pe("balance"), g = () => pe("closebalance"), S = () => _e("deposit"), b = () => _e("limits"), H = () => pe("closebalance");
5609
- function A(h) {
5610
- qt[h ? "unshift" : "push"](() => {
5611
- U = h, n(1, U);
5605
+ const x = () => ve("balance"), b = () => ve("closebalance"), C = () => oe("deposit"), B = () => oe("limits"), H = () => ve("closebalance");
5606
+ function G(c) {
5607
+ qt[c ? "unshift" : "push"](() => {
5608
+ Z = c, n(1, Z);
5612
5609
  });
5613
5610
  }
5614
- return e.$$set = (h) => {
5615
- "userid" in h && n(12, i = h.userid), "session" in h && n(13, o = h.session), "endpoint" in h && n(14, a = h.endpoint), "lang" in h && n(15, s = h.lang), "mbsource" in h && n(16, l = h.mbsource), "clientstyling" in h && n(17, u = h.clientstyling), "clientstylingurl" in h && n(18, f = h.clientstylingurl), "translationurl" in h && n(19, m = h.translationurl), "gmversion" in h && n(20, d = h.gmversion), "displaybalanceoption" in h && n(21, B = h.displaybalanceoption), "totalcalculationmode" in h && n(11, x = h.totalcalculationmode), "balancelimitsbutton" in h && n(0, T = h.balancelimitsbutton), "currencylocale" in h && n(22, I = h.currencylocale), "currencydisplay" in h && n(23, ne = h.currencydisplay), "maximumfractiondigits" in h && n(24, K = h.maximumfractiondigits), "minimumfractiondigits" in h && n(25, P = h.minimumfractiondigits), "customdisplayformat" in h && n(26, k = h.customdisplayformat);
5611
+ return e.$$set = (c) => {
5612
+ "userid" in c && n(13, i = c.userid), "session" in c && n(14, o = c.session), "endpoint" in c && n(15, a = c.endpoint), "lang" in c && n(16, s = c.lang), "mbsource" in c && n(17, l = c.mbsource), "clientstyling" in c && n(18, u = c.clientstyling), "clientstylingurl" in c && n(19, f = c.clientstylingurl), "translationurl" in c && n(20, m = c.translationurl), "gmversion" in c && n(21, p = c.gmversion), "displaybalanceoption" in c && n(22, w = c.displaybalanceoption), "totalcalculationmode" in c && n(12, _ = c.totalcalculationmode), "balancelimitsbutton" in c && n(0, S = c.balancelimitsbutton), "hideproducttype" in c && n(23, D = c.hideproducttype), "currencylocale" in c && n(24, ne = c.currencylocale), "currencydisplay" in c && n(25, ie = c.currencydisplay), "maximumfractiondigits" in c && n(26, N = c.maximumfractiondigits), "minimumfractiondigits" in c && n(27, j = c.minimumfractiondigits), "customdisplayformat" in c && n(28, q = c.customdisplayformat);
5616
5613
  }, e.$$.update = () => {
5617
5614
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5618
- 3207168 && a && i && o && s && d && B && Rt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5619
- 1077248 && a && i && o && d && Qe(), e.$$.dirty[0] & /*translationurl*/
5620
- 524288 && m && He(), e.$$.dirty[0] & /*balances*/
5621
- 4 && w.Total && ft(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5622
- 131074 && u && U && li(U, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5623
- 262146 && f && U && ci(U, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5624
- 65538 && l && U && hi(U, `${l}.Style`);
5615
+ 6414336 && a && i && o && s && p && w && Rt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5616
+ 2154496 && a && i && o && p && Ke(), e.$$.dirty[0] & /*translationurl*/
5617
+ 1048576 && m && Pe(), e.$$.dirty[0] & /*balances*/
5618
+ 4 && E.Total && h(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5619
+ 262146 && u && Z && li(Z, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5620
+ 524290 && f && Z && ci(Z, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5621
+ 131074 && l && Z && hi(Z, `${l}.Style`);
5625
5622
  }, [
5626
- T,
5627
- U,
5628
- w,
5629
- W,
5630
- de,
5631
- X,
5623
+ S,
5624
+ Z,
5625
+ E,
5626
+ re,
5627
+ le,
5632
5628
  $,
5629
+ I,
5633
5630
  r,
5634
- pe,
5635
- qe,
5631
+ ve,
5636
5632
  _e,
5637
- x,
5633
+ oe,
5634
+ y,
5635
+ _,
5638
5636
  i,
5639
5637
  o,
5640
5638
  a,
@@ -5643,19 +5641,20 @@ function wa(e, t, n) {
5643
5641
  u,
5644
5642
  f,
5645
5643
  m,
5646
- d,
5647
- B,
5648
- I,
5644
+ p,
5645
+ w,
5646
+ D,
5649
5647
  ne,
5650
- K,
5651
- P,
5652
- k,
5653
- c,
5654
- g,
5655
- S,
5648
+ ie,
5649
+ N,
5650
+ j,
5651
+ q,
5652
+ x,
5656
5653
  b,
5654
+ C,
5655
+ B,
5657
5656
  H,
5658
- A
5657
+ G
5659
5658
  ];
5660
5659
  }
5661
5660
  class Sa extends si {
@@ -5667,132 +5666,139 @@ class Sa extends si {
5667
5666
  xa,
5668
5667
  Kn,
5669
5668
  {
5670
- userid: 12,
5671
- session: 13,
5672
- endpoint: 14,
5673
- lang: 15,
5674
- mbsource: 16,
5675
- clientstyling: 17,
5676
- clientstylingurl: 18,
5677
- translationurl: 19,
5678
- gmversion: 20,
5679
- displaybalanceoption: 21,
5680
- totalcalculationmode: 11,
5669
+ userid: 13,
5670
+ session: 14,
5671
+ endpoint: 15,
5672
+ lang: 16,
5673
+ mbsource: 17,
5674
+ clientstyling: 18,
5675
+ clientstylingurl: 19,
5676
+ translationurl: 20,
5677
+ gmversion: 21,
5678
+ displaybalanceoption: 22,
5679
+ totalcalculationmode: 12,
5681
5680
  balancelimitsbutton: 0,
5682
- currencylocale: 22,
5683
- currencydisplay: 23,
5684
- maximumfractiondigits: 24,
5685
- minimumfractiondigits: 25,
5686
- customdisplayformat: 26
5681
+ hideproducttype: 23,
5682
+ currencylocale: 24,
5683
+ currencydisplay: 25,
5684
+ maximumfractiondigits: 26,
5685
+ minimumfractiondigits: 27,
5686
+ customdisplayformat: 28
5687
5687
  },
5688
5688
  va,
5689
- [-1, -1]
5689
+ [-1, -1, -1]
5690
5690
  );
5691
5691
  }
5692
5692
  get userid() {
5693
- return this.$$.ctx[12];
5693
+ return this.$$.ctx[13];
5694
5694
  }
5695
5695
  set userid(t) {
5696
- this.$$set({ userid: t }), Y();
5696
+ this.$$set({ userid: t }), Q();
5697
5697
  }
5698
5698
  get session() {
5699
- return this.$$.ctx[13];
5699
+ return this.$$.ctx[14];
5700
5700
  }
5701
5701
  set session(t) {
5702
- this.$$set({ session: t }), Y();
5702
+ this.$$set({ session: t }), Q();
5703
5703
  }
5704
5704
  get endpoint() {
5705
- return this.$$.ctx[14];
5705
+ return this.$$.ctx[15];
5706
5706
  }
5707
5707
  set endpoint(t) {
5708
- this.$$set({ endpoint: t }), Y();
5708
+ this.$$set({ endpoint: t }), Q();
5709
5709
  }
5710
5710
  get lang() {
5711
- return this.$$.ctx[15];
5711
+ return this.$$.ctx[16];
5712
5712
  }
5713
5713
  set lang(t) {
5714
- this.$$set({ lang: t }), Y();
5714
+ this.$$set({ lang: t }), Q();
5715
5715
  }
5716
5716
  get mbsource() {
5717
- return this.$$.ctx[16];
5717
+ return this.$$.ctx[17];
5718
5718
  }
5719
5719
  set mbsource(t) {
5720
- this.$$set({ mbsource: t }), Y();
5720
+ this.$$set({ mbsource: t }), Q();
5721
5721
  }
5722
5722
  get clientstyling() {
5723
- return this.$$.ctx[17];
5723
+ return this.$$.ctx[18];
5724
5724
  }
5725
5725
  set clientstyling(t) {
5726
- this.$$set({ clientstyling: t }), Y();
5726
+ this.$$set({ clientstyling: t }), Q();
5727
5727
  }
5728
5728
  get clientstylingurl() {
5729
- return this.$$.ctx[18];
5729
+ return this.$$.ctx[19];
5730
5730
  }
5731
5731
  set clientstylingurl(t) {
5732
- this.$$set({ clientstylingurl: t }), Y();
5732
+ this.$$set({ clientstylingurl: t }), Q();
5733
5733
  }
5734
5734
  get translationurl() {
5735
- return this.$$.ctx[19];
5735
+ return this.$$.ctx[20];
5736
5736
  }
5737
5737
  set translationurl(t) {
5738
- this.$$set({ translationurl: t }), Y();
5738
+ this.$$set({ translationurl: t }), Q();
5739
5739
  }
5740
5740
  get gmversion() {
5741
- return this.$$.ctx[20];
5741
+ return this.$$.ctx[21];
5742
5742
  }
5743
5743
  set gmversion(t) {
5744
- this.$$set({ gmversion: t }), Y();
5744
+ this.$$set({ gmversion: t }), Q();
5745
5745
  }
5746
5746
  get displaybalanceoption() {
5747
- return this.$$.ctx[21];
5747
+ return this.$$.ctx[22];
5748
5748
  }
5749
5749
  set displaybalanceoption(t) {
5750
- this.$$set({ displaybalanceoption: t }), Y();
5750
+ this.$$set({ displaybalanceoption: t }), Q();
5751
5751
  }
5752
5752
  get totalcalculationmode() {
5753
- return this.$$.ctx[11];
5753
+ return this.$$.ctx[12];
5754
5754
  }
5755
5755
  set totalcalculationmode(t) {
5756
- this.$$set({ totalcalculationmode: t }), Y();
5756
+ this.$$set({ totalcalculationmode: t }), Q();
5757
5757
  }
5758
5758
  get balancelimitsbutton() {
5759
5759
  return this.$$.ctx[0];
5760
5760
  }
5761
5761
  set balancelimitsbutton(t) {
5762
- this.$$set({ balancelimitsbutton: t }), Y();
5762
+ this.$$set({ balancelimitsbutton: t }), Q();
5763
+ }
5764
+ get hideproducttype() {
5765
+ return this.$$.ctx[23];
5766
+ }
5767
+ set hideproducttype(t) {
5768
+ this.$$set({ hideproducttype: t }), Q();
5763
5769
  }
5764
5770
  get currencylocale() {
5765
- return this.$$.ctx[22];
5771
+ return this.$$.ctx[24];
5766
5772
  }
5767
5773
  set currencylocale(t) {
5768
- this.$$set({ currencylocale: t }), Y();
5774
+ this.$$set({ currencylocale: t }), Q();
5769
5775
  }
5770
5776
  get currencydisplay() {
5771
- return this.$$.ctx[23];
5777
+ return this.$$.ctx[25];
5772
5778
  }
5773
5779
  set currencydisplay(t) {
5774
- this.$$set({ currencydisplay: t }), Y();
5780
+ this.$$set({ currencydisplay: t }), Q();
5775
5781
  }
5776
5782
  get maximumfractiondigits() {
5777
- return this.$$.ctx[24];
5783
+ return this.$$.ctx[26];
5778
5784
  }
5779
5785
  set maximumfractiondigits(t) {
5780
- this.$$set({ maximumfractiondigits: t }), Y();
5786
+ this.$$set({ maximumfractiondigits: t }), Q();
5781
5787
  }
5782
5788
  get minimumfractiondigits() {
5783
- return this.$$.ctx[25];
5789
+ return this.$$.ctx[27];
5784
5790
  }
5785
5791
  set minimumfractiondigits(t) {
5786
- this.$$set({ minimumfractiondigits: t }), Y();
5792
+ this.$$set({ minimumfractiondigits: t }), Q();
5787
5793
  }
5788
5794
  get customdisplayformat() {
5789
- return this.$$.ctx[26];
5795
+ return this.$$.ctx[28];
5790
5796
  }
5791
5797
  set customdisplayformat(t) {
5792
- this.$$set({ customdisplayformat: t }), Y();
5798
+ this.$$set({ customdisplayformat: t }), Q();
5793
5799
  }
5794
5800
  }
5795
- ai(Sa, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, balancelimitsbutton: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5801
+ ai(Sa, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, balancelimitsbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5796
5802
  export {
5797
5803
  Sa as default
5798
5804
  };