@everymatrix/player-account-balance-modal-nd 1.74.3 → 1.74.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.
@@ -1,75 +1,75 @@
1
- var Or = Object.defineProperty, Mr = Object.defineProperties;
2
- var Rr = Object.getOwnPropertyDescriptors;
3
- var mn = Object.getOwnPropertySymbols;
4
- var Lr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable;
5
- var Nt = Math.pow, Pt = (e, t, n) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, It = (e, t) => {
1
+ var Lr = Object.defineProperty, Pr = Object.defineProperties;
2
+ var Ir = Object.getOwnPropertyDescriptors;
3
+ var gn = Object.getOwnPropertySymbols;
4
+ var Nr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
+ var It = Math.pow, Pt = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Nt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Lr.call(t, n) && Pt(e, n, t[n]);
8
- if (mn)
9
- for (var n of mn(t))
10
- Pr.call(t, n) && Pt(e, n, t[n]);
7
+ Nr.call(t, n) && Pt(e, n, t[n]);
8
+ if (gn)
9
+ for (var n of gn(t))
10
+ Dr.call(t, n) && Pt(e, n, t[n]);
11
11
  return e;
12
- }, Dt = (e, t) => Mr(e, Rr(t));
13
- var ce = (e, t, n) => (Pt(e, typeof t != "symbol" ? t + "" : t, n), n);
12
+ }, Dt = (e, t) => Pr(e, Ir(t));
13
+ var he = (e, t, n) => (Pt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var Ut = (e, t, n) => new Promise((r, i) => {
15
- var o = (l) => {
15
+ var o = (u) => {
16
16
  try {
17
- s(n.next(l));
18
- } catch (u) {
19
- i(u);
17
+ a(n.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, a = (l) => {
21
+ }, s = (u) => {
22
22
  try {
23
- s(n.throw(l));
24
- } catch (u) {
25
- i(u);
23
+ a(n.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((n = n.apply(e, t)).next());
27
+ }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
- function he() {
30
+ function fe() {
31
31
  }
32
- function Wn(e) {
32
+ function qn(e) {
33
33
  return e();
34
34
  }
35
- function bn() {
35
+ function yn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function We(e) {
39
- e.forEach(Wn);
38
+ function ze(e) {
39
+ e.forEach(qn);
40
40
  }
41
- function cn(e) {
41
+ function hn(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Zn(e, t) {
44
+ function Yn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Nr(e) {
47
+ function Ur(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function qn(e, ...t) {
50
+ function Qn(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return he;
54
+ return fe;
55
55
  }
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function Ir(e, t, n) {
60
- e.$$.on_destroy.push(qn(t, n));
59
+ function Fr(e, t, n) {
60
+ e.$$.on_destroy.push(Qn(t, n));
61
61
  }
62
- function P(e, t) {
62
+ function I(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Dr(e, t, n) {
66
- const r = Ur(e);
65
+ function Gr(e, t, n) {
66
+ const r = jr(e);
67
67
  if (!r.getElementById(t)) {
68
68
  const i = j("style");
69
- i.id = t, i.textContent = n, Fr(r, i);
69
+ i.id = t, i.textContent = n, kr(r, i);
70
70
  }
71
71
  }
72
- function Ur(e) {
72
+ function jr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,52 +79,52 @@ function Ur(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Fr(e, t) {
83
- return P(
82
+ function kr(e, t) {
83
+ return I(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ge(e, t, n) {
89
+ function ye(e, t, n) {
90
90
  e.insertBefore(t, n || null);
91
91
  }
92
- function pe(e) {
92
+ function be(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Yn(e, t) {
95
+ function Jn(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
99
  function j(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function gn(e) {
102
+ function vn(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 Se() {
109
- return we(" ");
108
+ function Te() {
109
+ return Se(" ");
110
110
  }
111
- function Gr() {
112
- return we("");
111
+ function $r() {
112
+ return Se("");
113
113
  }
114
114
  function Et(e, t, n, r) {
115
115
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
- function M(e, t, n) {
117
+ function R(e, t, n) {
118
118
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
119
119
  }
120
- function jr(e) {
120
+ function Vr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function Re(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function kr(e) {
127
+ function Xr(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -137,144 +137,144 @@ let it;
137
137
  function rt(e) {
138
138
  it = e;
139
139
  }
140
- function $r() {
140
+ function zr() {
141
141
  if (!it)
142
142
  throw new Error("Function called outside component initialization");
143
143
  return it;
144
144
  }
145
- function Vr(e) {
146
- $r().$$.on_mount.push(e);
145
+ function Wr(e) {
146
+ zr().$$.on_mount.push(e);
147
147
  }
148
- const Ge = [], zt = [];
149
- let je = [];
150
- const yn = [], Xr = /* @__PURE__ */ Promise.resolve();
151
- let Wt = !1;
152
- function zr() {
153
- Wt || (Wt = !0, Xr.then(Q));
148
+ const Fe = [], Wt = [];
149
+ let Ge = [];
150
+ const En = [], Zr = /* @__PURE__ */ Promise.resolve();
151
+ let Zt = !1;
152
+ function qr() {
153
+ Zt || (Zt = !0, Zr.then(Y));
154
154
  }
155
- function Zt(e) {
156
- je.push(e);
155
+ function qt(e) {
156
+ Ge.push(e);
157
157
  }
158
158
  const Ft = /* @__PURE__ */ new Set();
159
- let Ue = 0;
160
- function Q() {
161
- if (Ue !== 0)
159
+ let De = 0;
160
+ function Y() {
161
+ if (De !== 0)
162
162
  return;
163
163
  const e = it;
164
164
  do {
165
165
  try {
166
- for (; Ue < Ge.length; ) {
167
- const t = Ge[Ue];
168
- Ue++, rt(t), Wr(t.$$);
166
+ for (; De < Fe.length; ) {
167
+ const t = Fe[De];
168
+ De++, rt(t), Yr(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw Ge.length = 0, Ue = 0, t;
171
+ throw Fe.length = 0, De = 0, t;
172
172
  }
173
- for (rt(null), Ge.length = 0, Ue = 0; zt.length; )
174
- zt.pop()();
175
- for (let t = 0; t < je.length; t += 1) {
176
- const n = je[t];
173
+ for (rt(null), Fe.length = 0, De = 0; Wt.length; )
174
+ Wt.pop()();
175
+ for (let t = 0; t < Ge.length; t += 1) {
176
+ const n = Ge[t];
177
177
  Ft.has(n) || (Ft.add(n), n());
178
178
  }
179
- je.length = 0;
180
- } while (Ge.length);
181
- for (; yn.length; )
182
- yn.pop()();
183
- Wt = !1, Ft.clear(), rt(e);
179
+ Ge.length = 0;
180
+ } while (Fe.length);
181
+ for (; En.length; )
182
+ En.pop()();
183
+ Zt = !1, Ft.clear(), rt(e);
184
184
  }
185
- function Wr(e) {
185
+ function Yr(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), We(e.before_update);
187
+ e.update(), ze(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Zt);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qt);
190
190
  }
191
191
  }
192
- function Zr(e) {
192
+ function Qr(e) {
193
193
  const t = [], n = [];
194
- je.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), je = t;
194
+ Ge.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ge = t;
195
195
  }
196
- const qr = /* @__PURE__ */ new Set();
197
- function Yr(e, t) {
198
- e && e.i && (qr.delete(e), e.i(t));
196
+ const Jr = /* @__PURE__ */ new Set();
197
+ function Kr(e, t) {
198
+ e && e.i && (Jr.delete(e), e.i(t));
199
199
  }
200
200
  function _t(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
- function Qr(e, t, n) {
203
+ function ei(e, t, n) {
204
204
  const { fragment: r, after_update: i } = e.$$;
205
- r && r.m(t, n), Zt(() => {
206
- const o = e.$$.on_mount.map(Wn).filter(cn);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : We(o), e.$$.on_mount = [];
208
- }), i.forEach(Zt);
205
+ r && r.m(t, n), qt(() => {
206
+ const o = e.$$.on_mount.map(qn).filter(hn);
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ze(o), e.$$.on_mount = [];
208
+ }), i.forEach(qt);
209
209
  }
210
- function Jr(e, t) {
210
+ function ti(e, t) {
211
211
  const n = e.$$;
212
- n.fragment !== null && (Zr(n.after_update), We(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
212
+ n.fragment !== null && (Qr(n.after_update), ze(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
213
213
  }
214
- function Kr(e, t) {
215
- e.$$.dirty[0] === -1 && (Ge.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function ni(e, t) {
215
+ e.$$.dirty[0] === -1 && (Fe.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
- function ei(e, t, n, r, i, o, a = null, s = [-1]) {
218
- const l = it;
217
+ function ri(e, t, n, r, i, o, s = null, a = [-1]) {
218
+ const u = it;
219
219
  rt(e);
220
- const u = e.$$ = {
220
+ const l = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
223
223
  // state
224
224
  props: o,
225
- update: he,
225
+ update: fe,
226
226
  not_equal: i,
227
- bound: bn(),
227
+ bound: yn(),
228
228
  // lifecycle
229
229
  on_mount: [],
230
230
  on_destroy: [],
231
231
  on_disconnect: [],
232
232
  before_update: [],
233
233
  after_update: [],
234
- context: new Map(t.context || (l ? l.$$.context : [])),
234
+ context: new Map(t.context || (u ? u.$$.context : [])),
235
235
  // everything else
236
- callbacks: bn(),
237
- dirty: s,
236
+ callbacks: yn(),
237
+ dirty: a,
238
238
  skip_bound: !1,
239
- root: t.target || l.$$.root
239
+ root: t.target || u.$$.root
240
240
  };
241
- a && a(u.root);
241
+ s && s(l.root);
242
242
  let f = !1;
243
- if (u.ctx = n(e, t.props || {}, (b, m, ...S) => {
244
- const E = S.length ? S[0] : m;
245
- return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), f && Kr(e, b)), m;
246
- }), u.update(), f = !0, We(u.before_update), u.fragment = r(u.ctx), t.target) {
243
+ if (l.ctx = n ? n(e, t.props || {}, (b, m, ...S) => {
244
+ const _ = S.length ? S[0] : m;
245
+ return l.ctx && i(l.ctx[b], l.ctx[b] = _) && (!l.skip_bound && l.bound[b] && l.bound[b](_), f && ni(e, b)), m;
246
+ }) : [], l.update(), f = !0, ze(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
- const b = jr(t.target);
249
- u.fragment && u.fragment.l(b), b.forEach(pe);
248
+ const b = Vr(t.target);
249
+ l.fragment && l.fragment.l(b), b.forEach(be);
250
250
  } else
251
- u.fragment && u.fragment.c();
252
- t.intro && Yr(e.$$.fragment), Qr(e, t.target, t.anchor), Q();
251
+ l.fragment && l.fragment.c();
252
+ t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), Y();
253
253
  }
254
- rt(l);
254
+ rt(u);
255
255
  }
256
- let Qn;
257
- typeof HTMLElement == "function" && (Qn = class extends HTMLElement {
256
+ let Kn;
257
+ typeof HTMLElement == "function" && (Kn = class extends HTMLElement {
258
258
  constructor(t, n, r) {
259
259
  super();
260
260
  /** The Svelte component constructor */
261
- ce(this, "$$ctor");
261
+ he(this, "$$ctor");
262
262
  /** Slots */
263
- ce(this, "$$s");
263
+ he(this, "$$s");
264
264
  /** The Svelte component instance */
265
- ce(this, "$$c");
265
+ he(this, "$$c");
266
266
  /** Whether or not the custom element is connected */
267
- ce(this, "$$cn", !1);
267
+ he(this, "$$cn", !1);
268
268
  /** Component props data */
269
- ce(this, "$$d", {});
269
+ he(this, "$$d", {});
270
270
  /** `true` if currently in the process of reflecting component props back to attributes */
271
- ce(this, "$$r", !1);
271
+ he(this, "$$r", !1);
272
272
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
273
- ce(this, "$$p_d", {});
273
+ he(this, "$$p_d", {});
274
274
  /** @type {Record<string, Function[]>} Event listeners */
275
- ce(this, "$$l", {});
275
+ he(this, "$$l", {});
276
276
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
277
- ce(this, "$$l_u", /* @__PURE__ */ new Map());
277
+ he(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) {
@@ -295,38 +295,38 @@ typeof HTMLElement == "function" && (Qn = class extends HTMLElement {
295
295
  if (this.$$cn = !0, !this.$$c) {
296
296
  let t = function(o) {
297
297
  return () => {
298
- let a;
298
+ let s;
299
299
  return {
300
300
  c: function() {
301
- a = j("slot"), o !== "default" && M(a, "name", o);
301
+ s = j("slot"), o !== "default" && R(s, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
305
305
  * @param {HTMLElement} [anchor]
306
306
  */
307
- m: function(u, f) {
308
- ge(u, a, f);
307
+ m: function(l, f) {
308
+ ye(l, s, f);
309
309
  },
310
- d: function(u) {
311
- u && pe(a);
310
+ d: function(l) {
311
+ l && be(s);
312
312
  }
313
313
  };
314
314
  };
315
315
  };
316
316
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
317
317
  return;
318
- const n = {}, r = kr(this);
318
+ const n = {}, r = Xr(this);
319
319
  for (const o of this.$$s)
320
320
  o in r && (n[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
322
- const a = this.$$g_p(o.name);
323
- a in this.$$d || (this.$$d[a] = bt(a, o.value, this.$$p_d, "toProp"));
322
+ const s = this.$$g_p(o.name);
323
+ s in this.$$d || (this.$$d[s] = bt(s, 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]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: Dt(It({}, this.$$d), {
329
+ props: Dt(Nt({}, this.$$d), {
330
330
  $$slots: n,
331
331
  $$scope: {
332
332
  ctx: []
@@ -337,21 +337,21 @@ typeof HTMLElement == "function" && (Qn = 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 = bt(
340
+ const s = bt(
341
341
  o,
342
342
  this.$$d[o],
343
343
  this.$$p_d,
344
344
  "toAttribute"
345
345
  );
346
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
346
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
347
347
  }
348
348
  this.$$r = !1;
349
349
  };
350
350
  this.$$c.$$.after_update.push(i), i();
351
351
  for (const o in this.$$l)
352
- for (const a of this.$$l[o]) {
353
- const s = this.$$c.$on(o, a);
354
- this.$$l_u.set(a, s);
352
+ for (const s of this.$$l[o]) {
353
+ const a = this.$$c.$on(o, s);
354
+ this.$$l_u.set(s, a);
355
355
  }
356
356
  this.$$l = {};
357
357
  }
@@ -404,38 +404,38 @@ function bt(e, t, n, r) {
404
404
  return t;
405
405
  }
406
406
  }
407
- function ti(e, t, n, r, i, o) {
408
- let a = class extends Qn {
407
+ function ii(e, t, n, r, i, o) {
408
+ let s = class extends Kn {
409
409
  constructor() {
410
410
  super(e, n, i), this.$$p_d = t;
411
411
  }
412
412
  static get observedAttributes() {
413
413
  return Object.keys(t).map(
414
- (s) => (t[s].attribute || s).toLowerCase()
414
+ (a) => (t[a].attribute || a).toLowerCase()
415
415
  );
416
416
  }
417
417
  };
418
- return Object.keys(t).forEach((s) => {
419
- Object.defineProperty(a.prototype, s, {
418
+ return Object.keys(t).forEach((a) => {
419
+ Object.defineProperty(s.prototype, a, {
420
420
  get() {
421
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
421
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
422
422
  },
423
- set(l) {
424
- var u;
425
- l = bt(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
423
+ set(u) {
424
+ var l;
425
+ u = bt(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
426
426
  }
427
427
  });
428
- }), r.forEach((s) => {
429
- Object.defineProperty(a.prototype, s, {
428
+ }), r.forEach((a) => {
429
+ Object.defineProperty(s.prototype, a, {
430
430
  get() {
431
- var l;
432
- return (l = this.$$c) == null ? void 0 : l[s];
431
+ var u;
432
+ return (u = this.$$c) == null ? void 0 : u[a];
433
433
  }
434
434
  });
435
435
  }), e.element = /** @type {any} */
436
- a, a;
436
+ s, s;
437
437
  }
438
- class ni {
438
+ class oi {
439
439
  constructor() {
440
440
  /**
441
441
  * ### PRIVATE API
@@ -444,7 +444,7 @@ class ni {
444
444
  *
445
445
  * @type {any}
446
446
  */
447
- ce(this, "$$");
447
+ he(this, "$$");
448
448
  /**
449
449
  * ### PRIVATE API
450
450
  *
@@ -452,11 +452,11 @@ class ni {
452
452
  *
453
453
  * @type {any}
454
454
  */
455
- ce(this, "$$set");
455
+ he(this, "$$set");
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Jr(this, 1), this.$destroy = he;
459
+ ti(this, 1), this.$destroy = fe;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,8 +465,8 @@ class ni {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, n) {
468
- if (!cn(n))
469
- return he;
468
+ if (!hn(n))
469
+ return fe;
470
470
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return r.push(n), () => {
472
472
  const i = r.indexOf(n);
@@ -478,18 +478,18 @@ class ni {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const ri = "4";
485
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
486
- function ii(e, t) {
484
+ const ai = "4";
485
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
486
+ function si(e, t) {
487
487
  if (e) {
488
488
  const n = document.createElement("style");
489
489
  n.innerHTML = t, e.appendChild(n);
490
490
  }
491
491
  }
492
- function oi(e, t) {
492
+ function li(e, t) {
493
493
  const n = new URL(t);
494
494
  fetch(n.href).then((r) => r.text()).then((r) => {
495
495
  const i = document.createElement("style");
@@ -498,7 +498,7 @@ function oi(e, t) {
498
498
  console.error("There was an error while trying to load client styling from URL", r);
499
499
  });
500
500
  }
501
- function ai(e, t, n) {
501
+ function ui(e, t, n) {
502
502
  if (window.emMessageBus) {
503
503
  const r = document.createElement("style");
504
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -506,144 +506,144 @@ function ai(e, t, n) {
506
506
  });
507
507
  }
508
508
  }
509
- const Fe = [];
510
- function si(e, t) {
509
+ const Ue = [];
510
+ function ci(e, t) {
511
511
  return {
512
512
  subscribe: St(e, t).subscribe
513
513
  };
514
514
  }
515
- function St(e, t = he) {
515
+ function St(e, t = fe) {
516
516
  let n;
517
517
  const r = /* @__PURE__ */ new Set();
518
- function i(s) {
519
- if (Zn(e, s) && (e = s, n)) {
520
- const l = !Fe.length;
521
- for (const u of r)
522
- u[1](), Fe.push(u, e);
523
- if (l) {
524
- for (let u = 0; u < Fe.length; u += 2)
525
- Fe[u][0](Fe[u + 1]);
526
- Fe.length = 0;
518
+ function i(a) {
519
+ if (Yn(e, a) && (e = a, n)) {
520
+ const u = !Ue.length;
521
+ for (const l of r)
522
+ l[1](), Ue.push(l, e);
523
+ if (u) {
524
+ for (let l = 0; l < Ue.length; l += 2)
525
+ Ue[l][0](Ue[l + 1]);
526
+ Ue.length = 0;
527
527
  }
528
528
  }
529
529
  }
530
- function o(s) {
531
- i(s(e));
530
+ function o(a) {
531
+ i(a(e));
532
532
  }
533
- function a(s, l = he) {
534
- const u = [s, l];
535
- return r.add(u), r.size === 1 && (n = t(i, o) || he), s(e), () => {
536
- r.delete(u), r.size === 0 && n && (n(), n = null);
533
+ function s(a, u = fe) {
534
+ const l = [a, u];
535
+ return r.add(l), r.size === 1 && (n = t(i, o) || fe), a(e), () => {
536
+ r.delete(l), r.size === 0 && n && (n(), n = null);
537
537
  };
538
538
  }
539
- return { set: i, update: o, subscribe: a };
539
+ return { set: i, update: o, subscribe: s };
540
540
  }
541
- function Ze(e, t, n) {
541
+ function We(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");
545
545
  const o = t.length < 2;
546
- return si(n, (a, s) => {
547
- let l = !1;
548
- const u = [];
549
- let f = 0, b = he;
546
+ return ci(n, (s, a) => {
547
+ let u = !1;
548
+ const l = [];
549
+ let f = 0, b = fe;
550
550
  const m = () => {
551
551
  if (f)
552
552
  return;
553
553
  b();
554
- const E = t(r ? u[0] : u, a, s);
555
- o ? a(E) : b = cn(E) ? E : he;
554
+ const _ = t(r ? l[0] : l, s, a);
555
+ o ? s(_) : b = hn(_) ? _ : fe;
556
556
  }, S = i.map(
557
- (E, A) => qn(
558
- E,
559
- (I) => {
560
- u[A] = I, f &= ~(1 << A), l && m();
557
+ (_, T) => Qn(
558
+ _,
559
+ (N) => {
560
+ l[T] = N, f &= ~(1 << T), u && m();
561
561
  },
562
562
  () => {
563
- f |= 1 << A;
563
+ f |= 1 << T;
564
564
  }
565
565
  )
566
566
  );
567
- return l = !0, m(), function() {
568
- We(S), b(), l = !1;
567
+ return u = !0, m(), function() {
568
+ ze(S), b(), u = !1;
569
569
  };
570
570
  });
571
571
  }
572
- var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
573
- function li(e) {
572
+ var hi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
573
+ function fi(e) {
574
574
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
575
575
  }
576
- var ci = function(t) {
577
- return hi(t) && !fi(t);
576
+ var di = function(t) {
577
+ return pi(t) && !mi(t);
578
578
  };
579
- function hi(e) {
579
+ function pi(e) {
580
580
  return !!e && typeof e == "object";
581
581
  }
582
- function fi(e) {
582
+ function mi(e) {
583
583
  var t = Object.prototype.toString.call(e);
584
- return t === "[object RegExp]" || t === "[object Date]" || mi(e);
584
+ return t === "[object RegExp]" || t === "[object Date]" || yi(e);
585
585
  }
586
- var di = typeof Symbol == "function" && Symbol.for, pi = di ? Symbol.for("react.element") : 60103;
587
- function mi(e) {
588
- return e.$$typeof === pi;
586
+ var bi = typeof Symbol == "function" && Symbol.for, gi = bi ? Symbol.for("react.element") : 60103;
587
+ function yi(e) {
588
+ return e.$$typeof === gi;
589
589
  }
590
- function bi(e) {
590
+ function vi(e) {
591
591
  return Array.isArray(e) ? [] : {};
592
592
  }
593
593
  function ot(e, t) {
594
- return t.clone !== !1 && t.isMergeableObject(e) ? $e(bi(e), e, t) : e;
594
+ return t.clone !== !1 && t.isMergeableObject(e) ? ke(vi(e), e, t) : e;
595
595
  }
596
- function gi(e, t, n) {
596
+ function Ei(e, t, n) {
597
597
  return e.concat(t).map(function(r) {
598
598
  return ot(r, n);
599
599
  });
600
600
  }
601
- function yi(e, t) {
601
+ function _i(e, t) {
602
602
  if (!t.customMerge)
603
- return $e;
603
+ return ke;
604
604
  var n = t.customMerge(e);
605
- return typeof n == "function" ? n : $e;
605
+ return typeof n == "function" ? n : ke;
606
606
  }
607
- function vi(e) {
607
+ function xi(e) {
608
608
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
609
609
  return Object.propertyIsEnumerable.call(e, t);
610
610
  }) : [];
611
611
  }
612
- function vn(e) {
613
- return Object.keys(e).concat(vi(e));
612
+ function _n(e) {
613
+ return Object.keys(e).concat(xi(e));
614
614
  }
615
- function Jn(e, t) {
615
+ function er(e, t) {
616
616
  try {
617
617
  return t in e;
618
618
  } catch (n) {
619
619
  return !1;
620
620
  }
621
621
  }
622
- function Ei(e, t) {
623
- return Jn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
622
+ function wi(e, t) {
623
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
624
624
  }
625
- function _i(e, t, n) {
625
+ function Si(e, t, n) {
626
626
  var r = {};
627
- return n.isMergeableObject(e) && vn(e).forEach(function(i) {
627
+ return n.isMergeableObject(e) && _n(e).forEach(function(i) {
628
628
  r[i] = ot(e[i], n);
629
- }), vn(t).forEach(function(i) {
630
- Ei(e, i) || (Jn(e, i) && n.isMergeableObject(t[i]) ? r[i] = yi(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
629
+ }), _n(t).forEach(function(i) {
630
+ wi(e, i) || (er(e, i) && n.isMergeableObject(t[i]) ? r[i] = _i(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
631
631
  }), r;
632
632
  }
633
- function $e(e, t, n) {
634
- n = n || {}, n.arrayMerge = n.arrayMerge || gi, n.isMergeableObject = n.isMergeableObject || ci, n.cloneUnlessOtherwiseSpecified = ot;
633
+ function ke(e, t, n) {
634
+ n = n || {}, n.arrayMerge = n.arrayMerge || Ei, n.isMergeableObject = n.isMergeableObject || di, n.cloneUnlessOtherwiseSpecified = ot;
635
635
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
636
- return o ? r ? n.arrayMerge(e, t, n) : _i(e, t, n) : ot(t, n);
636
+ return o ? r ? n.arrayMerge(e, t, n) : Si(e, t, n) : ot(t, n);
637
637
  }
638
- $e.all = function(t, n) {
638
+ ke.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 $e(r, i, n);
642
+ return ke(r, i, n);
643
643
  }, {});
644
644
  };
645
- var xi = $e, wi = xi;
646
- const Si = /* @__PURE__ */ li(wi);
645
+ var Ti = ke, Bi = Ti;
646
+ const Ai = /* @__PURE__ */ fi(Bi);
647
647
  /*! *****************************************************************************
648
648
  Copyright (c) Microsoft Corporation.
649
649
 
@@ -658,34 +658,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
658
658
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
659
659
  PERFORMANCE OF THIS SOFTWARE.
660
660
  ***************************************************************************** */
661
- var qt = function(e, t) {
662
- return qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
661
+ var Yt = function(e, t) {
662
+ return Yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
663
663
  n.__proto__ = r;
664
664
  } || function(n, r) {
665
665
  for (var i in r)
666
666
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
667
- }, qt(e, t);
667
+ }, Yt(e, t);
668
668
  };
669
- function Be(e, t) {
669
+ function Ae(e, t) {
670
670
  if (typeof t != "function" && t !== null)
671
671
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
672
- qt(e, t);
672
+ Yt(e, t);
673
673
  function n() {
674
674
  this.constructor = e;
675
675
  }
676
676
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
677
677
  }
678
- var L = function() {
679
- return L = Object.assign || function(t) {
678
+ var P = function() {
679
+ return P = Object.assign || function(t) {
680
680
  for (var n, r = 1, i = arguments.length; r < i; r++) {
681
681
  n = arguments[r];
682
682
  for (var o in n)
683
683
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
684
684
  }
685
685
  return t;
686
- }, L.apply(this, arguments);
686
+ }, P.apply(this, arguments);
687
687
  };
688
- function Ti(e, t) {
688
+ function Ci(e, t) {
689
689
  var n = {};
690
690
  for (var r in e)
691
691
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -694,7 +694,7 @@ function Ti(e, t) {
694
694
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
695
695
  return n;
696
696
  }
697
- function Yt(e) {
697
+ function Qt(e) {
698
698
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
699
699
  if (n)
700
700
  return n.call(e);
@@ -706,133 +706,131 @@ function Yt(e) {
706
706
  };
707
707
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
708
708
  }
709
- function Qt(e, t) {
709
+ function Jt(e, t) {
710
710
  var n = typeof Symbol == "function" && e[Symbol.iterator];
711
711
  if (!n)
712
712
  return e;
713
- var r = n.call(e), i, o = [], a;
713
+ var r = n.call(e), i, o = [], s;
714
714
  try {
715
715
  for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
716
716
  o.push(i.value);
717
- } catch (s) {
718
- a = { error: s };
717
+ } catch (a) {
718
+ s = { error: a };
719
719
  } finally {
720
720
  try {
721
721
  i && !i.done && (n = r.return) && n.call(r);
722
722
  } finally {
723
- if (a)
724
- throw a.error;
723
+ if (s)
724
+ throw s.error;
725
725
  }
726
726
  }
727
727
  return o;
728
728
  }
729
- function ke(e, t, n) {
729
+ function je(e, t, n) {
730
730
  if (n || arguments.length === 2)
731
731
  for (var r = 0, i = t.length, o; r < i; r++)
732
732
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
733
733
  return e.concat(o || t);
734
734
  }
735
735
  function Gt(e, t) {
736
- var n = t && t.cache ? t.cache : Ri, r = t && t.serializer ? t.serializer : Oi, i = t && t.strategy ? t.strategy : Ai;
736
+ var n = t && t.cache ? t.cache : Pi, r = t && t.serializer ? t.serializer : Li, i = t && t.strategy ? t.strategy : Oi;
737
737
  return i(e, {
738
738
  cache: n,
739
739
  serializer: r
740
740
  });
741
741
  }
742
- function Bi(e) {
742
+ function Hi(e) {
743
743
  return e == null || typeof e == "number" || typeof e == "boolean";
744
744
  }
745
- function Kn(e, t, n, r) {
746
- var i = Bi(r) ? r : n(r), o = t.get(i);
745
+ function tr(e, t, n, r) {
746
+ var i = Hi(r) ? r : n(r), o = t.get(i);
747
747
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
748
748
  }
749
- function er(e, t, n) {
749
+ function nr(e, t, n) {
750
750
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
751
751
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
752
752
  }
753
- function hn(e, t, n, r, i) {
753
+ function fn(e, t, n, r, i) {
754
754
  return n.bind(t, e, r, i);
755
755
  }
756
- function Ai(e, t) {
757
- var n = e.length === 1 ? Kn : er;
758
- return hn(e, this, n, t.cache.create(), t.serializer);
756
+ function Oi(e, t) {
757
+ var n = e.length === 1 ? tr : nr;
758
+ return fn(e, this, n, t.cache.create(), t.serializer);
759
759
  }
760
- function Ci(e, t) {
761
- return hn(e, this, er, t.cache.create(), t.serializer);
760
+ function Mi(e, t) {
761
+ return fn(e, this, nr, t.cache.create(), t.serializer);
762
762
  }
763
- function Hi(e, t) {
764
- return hn(e, this, Kn, t.cache.create(), t.serializer);
763
+ function Ri(e, t) {
764
+ return fn(e, this, tr, t.cache.create(), t.serializer);
765
765
  }
766
- var Oi = function() {
766
+ var Li = function() {
767
767
  return JSON.stringify(arguments);
768
- }, Mi = (
769
- /** @class */
770
- function() {
771
- function e() {
772
- this.cache = /* @__PURE__ */ Object.create(null);
773
- }
774
- return e.prototype.get = function(t) {
775
- return this.cache[t];
776
- }, e.prototype.set = function(t, n) {
777
- this.cache[t] = n;
778
- }, e;
779
- }()
780
- ), Ri = {
768
+ };
769
+ function dn() {
770
+ this.cache = /* @__PURE__ */ Object.create(null);
771
+ }
772
+ dn.prototype.get = function(e) {
773
+ return this.cache[e];
774
+ };
775
+ dn.prototype.set = function(e, t) {
776
+ this.cache[e] = t;
777
+ };
778
+ var Pi = {
781
779
  create: function() {
782
- return new Mi();
780
+ return new dn();
783
781
  }
784
782
  }, jt = {
785
- variadic: Ci,
786
- monadic: Hi
787
- }, H;
783
+ variadic: Mi,
784
+ monadic: Ri
785
+ }, O;
788
786
  (function(e) {
789
787
  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";
790
- })(H || (H = {}));
788
+ })(O || (O = {}));
791
789
  var G;
792
790
  (function(e) {
793
791
  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";
794
792
  })(G || (G = {}));
795
- var Ve;
793
+ var $e;
796
794
  (function(e) {
797
795
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
798
- })(Ve || (Ve = {}));
799
- function En(e) {
796
+ })($e || ($e = {}));
797
+ function xn(e) {
800
798
  return e.type === G.literal;
801
799
  }
802
- function Li(e) {
800
+ function Ii(e) {
803
801
  return e.type === G.argument;
804
802
  }
805
- function tr(e) {
803
+ function rr(e) {
806
804
  return e.type === G.number;
807
805
  }
808
- function nr(e) {
806
+ function ir(e) {
809
807
  return e.type === G.date;
810
808
  }
811
- function rr(e) {
809
+ function or(e) {
812
810
  return e.type === G.time;
813
811
  }
814
- function ir(e) {
812
+ function ar(e) {
815
813
  return e.type === G.select;
816
814
  }
817
- function or(e) {
815
+ function sr(e) {
818
816
  return e.type === G.plural;
819
817
  }
820
- function Pi(e) {
818
+ function Ni(e) {
821
819
  return e.type === G.pound;
822
820
  }
823
- function ar(e) {
821
+ function lr(e) {
824
822
  return e.type === G.tag;
825
823
  }
826
- function sr(e) {
827
- return !!(e && typeof e == "object" && e.type === Ve.number);
824
+ function ur(e) {
825
+ return !!(e && typeof e == "object" && e.type === $e.number);
828
826
  }
829
- function Jt(e) {
830
- return !!(e && typeof e == "object" && e.type === Ve.dateTime);
827
+ function Kt(e) {
828
+ return !!(e && typeof e == "object" && e.type === $e.dateTime);
831
829
  }
832
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[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;
833
- function Ii(e) {
830
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
831
+ function Ui(e) {
834
832
  var t = {};
835
- return e.replace(Ni, function(n) {
833
+ return e.replace(Di, function(n) {
836
834
  var r = n.length;
837
835
  switch (n[0]) {
838
836
  case "G":
@@ -921,36 +919,36 @@ function Ii(e) {
921
919
  return "";
922
920
  }), t;
923
921
  }
924
- var Di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
925
- function Ui(e) {
922
+ var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
923
+ function Gi(e) {
926
924
  if (e.length === 0)
927
925
  throw new Error("Number skeleton cannot be empty");
928
- for (var t = e.split(Di).filter(function(m) {
926
+ for (var t = e.split(Fi).filter(function(m) {
929
927
  return m.length > 0;
930
928
  }), n = [], r = 0, i = t; r < i.length; r++) {
931
- var o = i[r], a = o.split("/");
932
- if (a.length === 0)
929
+ var o = i[r], s = o.split("/");
930
+ if (s.length === 0)
933
931
  throw new Error("Invalid number skeleton");
934
- for (var s = a[0], l = a.slice(1), u = 0, f = l; u < f.length; u++) {
935
- var b = f[u];
932
+ for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
933
+ var b = f[l];
936
934
  if (b.length === 0)
937
935
  throw new Error("Invalid number skeleton");
938
936
  }
939
- n.push({ stem: s, options: l });
937
+ n.push({ stem: a, options: u });
940
938
  }
941
939
  return n;
942
940
  }
943
- function Fi(e) {
941
+ function ji(e) {
944
942
  return e.replace(/^(.*?)-/, "");
945
943
  }
946
- var _n = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Gi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
947
- function xn(e) {
944
+ var wn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
945
+ function Sn(e) {
948
946
  var t = {};
949
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(n, r, i) {
947
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(n, r, i) {
950
948
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
951
949
  }), t;
952
950
  }
953
- function hr(e) {
951
+ function dr(e) {
954
952
  switch (e) {
955
953
  case "sign-auto":
956
954
  return {
@@ -990,7 +988,7 @@ function hr(e) {
990
988
  };
991
989
  }
992
990
  }
993
- function ji(e) {
991
+ function $i(e) {
994
992
  var t;
995
993
  if (e[0] === "E" && e[1] === "E" ? (t = {
996
994
  notation: "engineering"
@@ -998,17 +996,17 @@ function ji(e) {
998
996
  notation: "scientific"
999
997
  }, e = e.slice(1)), t) {
1000
998
  var n = e.slice(0, 2);
1001
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
999
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1002
1000
  throw new Error("Malformed concise eng/scientific notation");
1003
1001
  t.minimumIntegerDigits = e.length;
1004
1002
  }
1005
1003
  return t;
1006
1004
  }
1007
- function wn(e) {
1008
- var t = {}, n = hr(e);
1005
+ function Tn(e) {
1006
+ var t = {}, n = dr(e);
1009
1007
  return n || t;
1010
1008
  }
1011
- function ki(e) {
1009
+ function Vi(e) {
1012
1010
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1013
1011
  var i = r[n];
1014
1012
  switch (i.stem) {
@@ -1032,7 +1030,7 @@ function ki(e) {
1032
1030
  continue;
1033
1031
  case "measure-unit":
1034
1032
  case "unit":
1035
- t.style = "unit", t.unit = Fi(i.options[0]);
1033
+ t.style = "unit", t.unit = ji(i.options[0]);
1036
1034
  continue;
1037
1035
  case "compact-short":
1038
1036
  case "K":
@@ -1043,13 +1041,13 @@ function ki(e) {
1043
1041
  t.notation = "compact", t.compactDisplay = "long";
1044
1042
  continue;
1045
1043
  case "scientific":
1046
- t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1047
- return L(L({}, l), wn(u));
1044
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1045
+ return P(P({}, u), Tn(l));
1048
1046
  }, {}));
1049
1047
  continue;
1050
1048
  case "engineering":
1051
- t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1052
- return L(L({}, l), wn(u));
1049
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1050
+ return P(P({}, u), Tn(l));
1053
1051
  }, {}));
1054
1052
  continue;
1055
1053
  case "notation-simple":
@@ -1094,8 +1092,8 @@ function ki(e) {
1094
1092
  case "integer-width":
1095
1093
  if (i.options.length > 1)
1096
1094
  throw new RangeError("integer-width stems only accept a single optional option");
1097
- i.options[0].replace(Gi, function(l, u, f, b, m, S) {
1098
- if (u)
1095
+ i.options[0].replace(ki, function(u, l, f, b, m, S) {
1096
+ if (l)
1099
1097
  t.minimumIntegerDigits = f.length;
1100
1098
  else {
1101
1099
  if (b && m)
@@ -1107,28 +1105,28 @@ function ki(e) {
1107
1105
  });
1108
1106
  continue;
1109
1107
  }
1110
- if (cr.test(i.stem)) {
1108
+ if (fr.test(i.stem)) {
1111
1109
  t.minimumIntegerDigits = i.stem.length;
1112
1110
  continue;
1113
1111
  }
1114
- if (_n.test(i.stem)) {
1112
+ if (wn.test(i.stem)) {
1115
1113
  if (i.options.length > 1)
1116
1114
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1117
- i.stem.replace(_n, function(l, u, f, b, m, S) {
1118
- return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && S ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1115
+ i.stem.replace(wn, function(u, l, f, b, m, S) {
1116
+ return f === "*" ? t.minimumFractionDigits = l.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && S ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + S.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1119
1117
  });
1120
1118
  var o = i.options[0];
1121
- o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), xn(o)));
1119
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Sn(o)));
1122
1120
  continue;
1123
1121
  }
1124
- if (lr.test(i.stem)) {
1125
- t = L(L({}, t), xn(i.stem));
1122
+ if (hr.test(i.stem)) {
1123
+ t = P(P({}, t), Sn(i.stem));
1126
1124
  continue;
1127
1125
  }
1128
- var a = hr(i.stem);
1129
- a && (t = L(L({}, t), a));
1130
- var s = ji(i.stem);
1131
- s && (t = L(L({}, t), s));
1126
+ var s = dr(i.stem);
1127
+ s && (t = P(P({}, t), s));
1128
+ var a = $i(i.stem);
1129
+ a && (t = P(P({}, t), a));
1132
1130
  }
1133
1131
  return t;
1134
1132
  }
@@ -2547,23 +2545,23 @@ var pt = {
2547
2545
  "h"
2548
2546
  ]
2549
2547
  };
2550
- function $i(e, t) {
2548
+ function Xi(e, t) {
2551
2549
  for (var n = "", r = 0; r < e.length; r++) {
2552
2550
  var i = e.charAt(r);
2553
2551
  if (i === "j") {
2554
2552
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2555
2553
  o++, r++;
2556
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vi(t);
2557
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2558
- n += l;
2559
- for (; a-- > 0; )
2560
- n = u + n;
2554
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = zi(t);
2555
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2556
+ n += u;
2557
+ for (; s-- > 0; )
2558
+ n = l + n;
2561
2559
  } else
2562
2560
  i === "J" ? n += "H" : n += i;
2563
2561
  }
2564
2562
  return n;
2565
2563
  }
2566
- function Vi(e) {
2564
+ function zi(e) {
2567
2565
  var t = e.hourCycle;
2568
2566
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2569
2567
  e.hourCycles && // @ts-ignore
@@ -2585,20 +2583,20 @@ function Vi(e) {
2585
2583
  var i = pt[r || ""] || pt[n || ""] || pt["".concat(n, "-001")] || pt["001"];
2586
2584
  return i[0];
2587
2585
  }
2588
- var kt, Xi = new RegExp("^".concat(ur.source, "*")), zi = new RegExp("".concat(ur.source, "*$"));
2589
- function O(e, t) {
2586
+ var kt, Wi = new RegExp("^".concat(cr.source, "*")), Zi = new RegExp("".concat(cr.source, "*$"));
2587
+ function M(e, t) {
2590
2588
  return { start: e, end: t };
2591
2589
  }
2592
- var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zi = !!String.fromCodePoint, qi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, eo = Ki ? Number.isSafeInteger : function(e) {
2590
+ var qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yi = !!String.fromCodePoint, Qi = !!Object.fromEntries, Ji = !!String.prototype.codePointAt, Ki = !!String.prototype.trimStart, eo = !!String.prototype.trimEnd, to = !!Number.isSafeInteger, no = to ? Number.isSafeInteger : function(e) {
2593
2591
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2594
- }, Kt = !0;
2592
+ }, en = !0;
2595
2593
  try {
2596
- var to = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
- Kt = ((kt = to.exec("a")) === null || kt === void 0 ? void 0 : kt[0]) === "a";
2594
+ var ro = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
+ en = ((kt = ro.exec("a")) === null || kt === void 0 ? void 0 : kt[0]) === "a";
2598
2596
  } catch (e) {
2599
- Kt = !1;
2597
+ en = !1;
2600
2598
  }
2601
- var Sn = Wi ? (
2599
+ var Bn = qi ? (
2602
2600
  // Native
2603
2601
  function(t, n, r) {
2604
2602
  return t.startsWith(n, r);
@@ -2608,31 +2606,31 @@ var Sn = Wi ? (
2608
2606
  function(t, n, r) {
2609
2607
  return t.slice(r, r + n.length) === n;
2610
2608
  }
2611
- ), en = Zi ? String.fromCodePoint : (
2609
+ ), tn = Yi ? String.fromCodePoint : (
2612
2610
  // IE11
2613
2611
  function() {
2614
2612
  for (var t = [], n = 0; n < arguments.length; n++)
2615
2613
  t[n] = arguments[n];
2616
- for (var r = "", i = t.length, o = 0, a; i > o; ) {
2617
- if (a = t[o++], a > 1114111)
2618
- throw RangeError(a + " is not a valid code point");
2619
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2614
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
2615
+ if (s = t[o++], s > 1114111)
2616
+ throw RangeError(s + " is not a valid code point");
2617
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2620
2618
  }
2621
2619
  return r;
2622
2620
  }
2623
- ), Tn = (
2621
+ ), An = (
2624
2622
  // native
2625
- qi ? Object.fromEntries : (
2623
+ Qi ? Object.fromEntries : (
2626
2624
  // Ponyfill
2627
2625
  function(t) {
2628
2626
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2629
- var o = i[r], a = o[0], s = o[1];
2630
- n[a] = s;
2627
+ var o = i[r], s = o[0], a = o[1];
2628
+ n[s] = a;
2631
2629
  }
2632
2630
  return n;
2633
2631
  }
2634
2632
  )
2635
- ), fr = Yi ? (
2633
+ ), pr = Ji ? (
2636
2634
  // Native
2637
2635
  function(t, n) {
2638
2636
  return t.codePointAt(n);
@@ -2646,7 +2644,7 @@ var Sn = Wi ? (
2646
2644
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2647
2645
  }
2648
2646
  }
2649
- ), no = Qi ? (
2647
+ ), io = Ki ? (
2650
2648
  // Native
2651
2649
  function(t) {
2652
2650
  return t.trimStart();
@@ -2654,9 +2652,9 @@ var Sn = Wi ? (
2654
2652
  ) : (
2655
2653
  // Ponyfill
2656
2654
  function(t) {
2657
- return t.replace(Xi, "");
2655
+ return t.replace(Wi, "");
2658
2656
  }
2659
- ), ro = Ji ? (
2657
+ ), oo = eo ? (
2660
2658
  // Native
2661
2659
  function(t) {
2662
2660
  return t.trimEnd();
@@ -2664,32 +2662,32 @@ var Sn = Wi ? (
2664
2662
  ) : (
2665
2663
  // Ponyfill
2666
2664
  function(t) {
2667
- return t.replace(zi, "");
2665
+ return t.replace(Zi, "");
2668
2666
  }
2669
2667
  );
2670
- function dr(e, t) {
2668
+ function mr(e, t) {
2671
2669
  return new RegExp(e, t);
2672
2670
  }
2673
- var tn;
2674
- if (Kt) {
2675
- var Bn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2676
- tn = function(t, n) {
2671
+ var nn;
2672
+ if (en) {
2673
+ var Cn = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2674
+ nn = function(t, n) {
2677
2675
  var r;
2678
- Bn.lastIndex = n;
2679
- var i = Bn.exec(t);
2676
+ Cn.lastIndex = n;
2677
+ var i = Cn.exec(t);
2680
2678
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2681
2679
  };
2682
2680
  } else
2683
- tn = function(t, n) {
2681
+ nn = function(t, n) {
2684
2682
  for (var r = []; ; ) {
2685
- var i = fr(t, n);
2686
- if (i === void 0 || pr(i) || so(i))
2683
+ var i = pr(t, n);
2684
+ if (i === void 0 || br(i) || uo(i))
2687
2685
  break;
2688
2686
  r.push(i), n += i >= 65536 ? 2 : 1;
2689
2687
  }
2690
- return en.apply(void 0, r);
2688
+ return tn.apply(void 0, r);
2691
2689
  };
2692
- var io = (
2690
+ var ao = (
2693
2691
  /** @class */
2694
2692
  function() {
2695
2693
  function e(t, n) {
@@ -2703,33 +2701,33 @@ var io = (
2703
2701
  for (var i = []; !this.isEOF(); ) {
2704
2702
  var o = this.char();
2705
2703
  if (o === 123) {
2706
- var a = this.parseArgument(t, r);
2707
- if (a.err)
2708
- return a;
2709
- i.push(a.val);
2704
+ var s = this.parseArgument(t, r);
2705
+ if (s.err)
2706
+ return s;
2707
+ i.push(s.val);
2710
2708
  } else {
2711
2709
  if (o === 125 && t > 0)
2712
2710
  break;
2713
2711
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2714
- var s = this.clonePosition();
2712
+ var a = this.clonePosition();
2715
2713
  this.bump(), i.push({
2716
2714
  type: G.pound,
2717
- location: O(s, this.clonePosition())
2715
+ location: M(a, this.clonePosition())
2718
2716
  });
2719
2717
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2720
2718
  if (r)
2721
2719
  break;
2722
- return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2723
- } else if (o === 60 && !this.ignoreTag && nn(this.peek() || 0)) {
2724
- var a = this.parseTag(t, n);
2725
- if (a.err)
2726
- return a;
2727
- i.push(a.val);
2720
+ return this.error(O.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2721
+ } else if (o === 60 && !this.ignoreTag && rn(this.peek() || 0)) {
2722
+ var s = this.parseTag(t, n);
2723
+ if (s.err)
2724
+ return s;
2725
+ i.push(s.val);
2728
2726
  } else {
2729
- var a = this.parseLiteral(t, n);
2730
- if (a.err)
2731
- return a;
2732
- i.push(a.val);
2727
+ var s = this.parseLiteral(t, n);
2728
+ if (s.err)
2729
+ return s;
2730
+ i.push(s.val);
2733
2731
  }
2734
2732
  }
2735
2733
  }
@@ -2743,7 +2741,7 @@ var io = (
2743
2741
  val: {
2744
2742
  type: G.literal,
2745
2743
  value: "<".concat(i, "/>"),
2746
- location: O(r, this.clonePosition())
2744
+ location: M(r, this.clonePosition())
2747
2745
  },
2748
2746
  err: null
2749
2747
  };
@@ -2751,27 +2749,27 @@ var io = (
2751
2749
  var o = this.parseMessage(t + 1, n, !0);
2752
2750
  if (o.err)
2753
2751
  return o;
2754
- var a = o.val, s = this.clonePosition();
2752
+ var s = o.val, a = this.clonePosition();
2755
2753
  if (this.bumpIf("</")) {
2756
- if (this.isEOF() || !nn(this.char()))
2757
- return this.error(H.INVALID_TAG, O(s, this.clonePosition()));
2758
- var l = this.clonePosition(), u = this.parseTagName();
2759
- return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, O(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2754
+ if (this.isEOF() || !rn(this.char()))
2755
+ return this.error(O.INVALID_TAG, M(a, this.clonePosition()));
2756
+ var u = this.clonePosition(), l = this.parseTagName();
2757
+ return i !== l ? this.error(O.UNMATCHED_CLOSING_TAG, M(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2760
2758
  val: {
2761
2759
  type: G.tag,
2762
2760
  value: i,
2763
- children: a,
2764
- location: O(r, this.clonePosition())
2761
+ children: s,
2762
+ location: M(r, this.clonePosition())
2765
2763
  },
2766
2764
  err: null
2767
- } : this.error(H.INVALID_TAG, O(s, this.clonePosition())));
2765
+ } : this.error(O.INVALID_TAG, M(a, this.clonePosition())));
2768
2766
  } else
2769
- return this.error(H.UNCLOSED_TAG, O(r, this.clonePosition()));
2767
+ return this.error(O.UNCLOSED_TAG, M(r, this.clonePosition()));
2770
2768
  } else
2771
- return this.error(H.INVALID_TAG, O(r, this.clonePosition()));
2769
+ return this.error(O.INVALID_TAG, M(r, this.clonePosition()));
2772
2770
  }, e.prototype.parseTagName = function() {
2773
2771
  var t = this.offset();
2774
- for (this.bump(); !this.isEOF() && ao(this.char()); )
2772
+ for (this.bump(); !this.isEOF() && lo(this.char()); )
2775
2773
  this.bump();
2776
2774
  return this.message.slice(t, this.offset());
2777
2775
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2781,26 +2779,26 @@ var io = (
2781
2779
  i += o;
2782
2780
  continue;
2783
2781
  }
2784
- var a = this.tryParseUnquoted(t, n);
2785
- if (a) {
2786
- i += a;
2787
- continue;
2788
- }
2789
- var s = this.tryParseLeftAngleBracket();
2782
+ var s = this.tryParseUnquoted(t, n);
2790
2783
  if (s) {
2791
2784
  i += s;
2792
2785
  continue;
2793
2786
  }
2787
+ var a = this.tryParseLeftAngleBracket();
2788
+ if (a) {
2789
+ i += a;
2790
+ continue;
2791
+ }
2794
2792
  break;
2795
2793
  }
2796
- var l = O(r, this.clonePosition());
2794
+ var u = M(r, this.clonePosition());
2797
2795
  return {
2798
- val: { type: G.literal, value: i, location: l },
2796
+ val: { type: G.literal, value: i, location: u },
2799
2797
  err: null
2800
2798
  };
2801
2799
  }, e.prototype.tryParseLeftAngleBracket = function() {
2802
2800
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2803
- !oo(this.peek() || 0)) ? (this.bump(), "<") : null;
2801
+ !so(this.peek() || 0)) ? (this.bump(), "<") : null;
2804
2802
  }, e.prototype.tryParseQuote = function(t) {
2805
2803
  if (this.isEOF() || this.char() !== 39)
2806
2804
  return null;
@@ -2834,23 +2832,23 @@ var io = (
2834
2832
  n.push(r);
2835
2833
  this.bump();
2836
2834
  }
2837
- return en.apply(void 0, n);
2835
+ return tn.apply(void 0, n);
2838
2836
  }, e.prototype.tryParseUnquoted = function(t, n) {
2839
2837
  if (this.isEOF())
2840
2838
  return null;
2841
2839
  var r = this.char();
2842
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), en(r));
2840
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), tn(r));
2843
2841
  }, e.prototype.parseArgument = function(t, n) {
2844
2842
  var r = this.clonePosition();
2845
2843
  if (this.bump(), this.bumpSpace(), this.isEOF())
2846
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2844
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2847
2845
  if (this.char() === 125)
2848
- return this.bump(), this.error(H.EMPTY_ARGUMENT, O(r, this.clonePosition()));
2846
+ return this.bump(), this.error(O.EMPTY_ARGUMENT, M(r, this.clonePosition()));
2849
2847
  var i = this.parseIdentifierIfPossible().value;
2850
2848
  if (!i)
2851
- return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2849
+ return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2852
2850
  if (this.bumpSpace(), this.isEOF())
2853
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2851
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2854
2852
  switch (this.char()) {
2855
2853
  case 125:
2856
2854
  return this.bump(), {
@@ -2858,76 +2856,76 @@ var io = (
2858
2856
  type: G.argument,
2859
2857
  // value does not include the opening and closing braces.
2860
2858
  value: i,
2861
- location: O(r, this.clonePosition())
2859
+ location: M(r, this.clonePosition())
2862
2860
  },
2863
2861
  err: null
2864
2862
  };
2865
2863
  case 44:
2866
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2864
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2867
2865
  default:
2868
- return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2866
+ return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2869
2867
  }
2870
2868
  }, e.prototype.parseIdentifierIfPossible = function() {
2871
- var t = this.clonePosition(), n = this.offset(), r = tn(this.message, n), i = n + r.length;
2869
+ var t = this.clonePosition(), n = this.offset(), r = nn(this.message, n), i = n + r.length;
2872
2870
  this.bumpTo(i);
2873
- var o = this.clonePosition(), a = O(t, o);
2874
- return { value: r, location: a };
2871
+ var o = this.clonePosition(), s = M(t, o);
2872
+ return { value: r, location: s };
2875
2873
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2876
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2877
- switch (s) {
2874
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2875
+ switch (a) {
2878
2876
  case "":
2879
- return this.error(H.EXPECT_ARGUMENT_TYPE, O(a, l));
2877
+ return this.error(O.EXPECT_ARGUMENT_TYPE, M(s, u));
2880
2878
  case "number":
2881
2879
  case "date":
2882
2880
  case "time": {
2883
2881
  this.bumpSpace();
2884
- var u = null;
2882
+ var l = null;
2885
2883
  if (this.bumpIf(",")) {
2886
2884
  this.bumpSpace();
2887
2885
  var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2888
2886
  if (b.err)
2889
2887
  return b;
2890
- var m = ro(b.val);
2888
+ var m = oo(b.val);
2891
2889
  if (m.length === 0)
2892
- return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2893
- var S = O(f, this.clonePosition());
2894
- u = { style: m, styleLocation: S };
2890
+ return this.error(O.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2891
+ var S = M(f, this.clonePosition());
2892
+ l = { style: m, styleLocation: S };
2895
2893
  }
2896
- var E = this.tryParseArgumentClose(i);
2897
- if (E.err)
2898
- return E;
2899
- var A = O(i, this.clonePosition());
2900
- if (u && Sn(u == null ? void 0 : u.style, "::", 0)) {
2901
- var I = no(u.style.slice(2));
2902
- if (s === "number") {
2903
- var b = this.parseNumberSkeletonFromString(I, u.styleLocation);
2894
+ var _ = this.tryParseArgumentClose(i);
2895
+ if (_.err)
2896
+ return _;
2897
+ var T = M(i, this.clonePosition());
2898
+ if (l && Bn(l == null ? void 0 : l.style, "::", 0)) {
2899
+ var N = io(l.style.slice(2));
2900
+ if (a === "number") {
2901
+ var b = this.parseNumberSkeletonFromString(N, l.styleLocation);
2904
2902
  return b.err ? b : {
2905
- val: { type: G.number, value: r, location: A, style: b.val },
2903
+ val: { type: G.number, value: r, location: T, style: b.val },
2906
2904
  err: null
2907
2905
  };
2908
2906
  } else {
2909
- if (I.length === 0)
2910
- return this.error(H.EXPECT_DATE_TIME_SKELETON, A);
2911
- var W = I;
2912
- this.locale && (W = $i(I, this.locale));
2907
+ if (N.length === 0)
2908
+ return this.error(O.EXPECT_DATE_TIME_SKELETON, T);
2909
+ var W = N;
2910
+ this.locale && (W = Xi(N, this.locale));
2913
2911
  var m = {
2914
- type: Ve.dateTime,
2912
+ type: $e.dateTime,
2915
2913
  pattern: W,
2916
- location: u.styleLocation,
2917
- parsedOptions: this.shouldParseSkeletons ? Ii(W) : {}
2918
- }, V = s === "date" ? G.date : G.time;
2914
+ location: l.styleLocation,
2915
+ parsedOptions: this.shouldParseSkeletons ? Ui(W) : {}
2916
+ }, V = a === "date" ? G.date : G.time;
2919
2917
  return {
2920
- val: { type: V, value: r, location: A, style: m },
2918
+ val: { type: V, value: r, location: T, style: m },
2921
2919
  err: null
2922
2920
  };
2923
2921
  }
2924
2922
  }
2925
2923
  return {
2926
2924
  val: {
2927
- type: s === "number" ? G.number : s === "date" ? G.date : G.time,
2925
+ type: a === "number" ? G.number : a === "date" ? G.date : G.time,
2928
2926
  value: r,
2929
- location: A,
2930
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2927
+ location: T,
2928
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2931
2929
  },
2932
2930
  err: null
2933
2931
  };
@@ -2935,52 +2933,52 @@ var io = (
2935
2933
  case "plural":
2936
2934
  case "selectordinal":
2937
2935
  case "select": {
2938
- var R = this.clonePosition();
2936
+ var L = this.clonePosition();
2939
2937
  if (this.bumpSpace(), !this.bumpIf(","))
2940
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(R, L({}, R)));
2938
+ return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, M(L, P({}, L)));
2941
2939
  this.bumpSpace();
2942
- var D = this.parseIdentifierIfPossible(), k = 0;
2943
- if (s !== "select" && D.value === "offset") {
2940
+ var U = this.parseIdentifierIfPossible(), Q = 0;
2941
+ if (a !== "select" && U.value === "offset") {
2944
2942
  if (!this.bumpIf(":"))
2945
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2943
+ return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2946
2944
  this.bumpSpace();
2947
- var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2945
+ var b = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2948
2946
  if (b.err)
2949
2947
  return b;
2950
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), k = b.val;
2948
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), Q = b.val;
2951
2949
  }
2952
- var oe = this.tryParsePluralOrSelectOptions(t, s, n, D);
2953
- if (oe.err)
2954
- return oe;
2955
- var E = this.tryParseArgumentClose(i);
2956
- if (E.err)
2957
- return E;
2958
- var Z = O(i, this.clonePosition());
2959
- return s === "select" ? {
2950
+ var Z = this.tryParsePluralOrSelectOptions(t, a, n, U);
2951
+ if (Z.err)
2952
+ return Z;
2953
+ var _ = this.tryParseArgumentClose(i);
2954
+ if (_.err)
2955
+ return _;
2956
+ var ee = M(i, this.clonePosition());
2957
+ return a === "select" ? {
2960
2958
  val: {
2961
2959
  type: G.select,
2962
2960
  value: r,
2963
- options: Tn(oe.val),
2964
- location: Z
2961
+ options: An(Z.val),
2962
+ location: ee
2965
2963
  },
2966
2964
  err: null
2967
2965
  } : {
2968
2966
  val: {
2969
2967
  type: G.plural,
2970
2968
  value: r,
2971
- options: Tn(oe.val),
2972
- offset: k,
2973
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2974
- location: Z
2969
+ options: An(Z.val),
2970
+ offset: Q,
2971
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2972
+ location: ee
2975
2973
  },
2976
2974
  err: null
2977
2975
  };
2978
2976
  }
2979
2977
  default:
2980
- return this.error(H.INVALID_ARGUMENT_TYPE, O(a, l));
2978
+ return this.error(O.INVALID_ARGUMENT_TYPE, M(s, u));
2981
2979
  }
2982
2980
  }, e.prototype.tryParseArgumentClose = function(t) {
2983
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2981
+ return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2984
2982
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2985
2983
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2986
2984
  var r = this.char();
@@ -2989,7 +2987,7 @@ var io = (
2989
2987
  this.bump();
2990
2988
  var i = this.clonePosition();
2991
2989
  if (!this.bumpUntil("'"))
2992
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2990
+ return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(i, this.clonePosition()));
2993
2991
  this.bump();
2994
2992
  break;
2995
2993
  }
@@ -3019,64 +3017,64 @@ var io = (
3019
3017
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3020
3018
  var r = [];
3021
3019
  try {
3022
- r = Ui(t);
3020
+ r = Gi(t);
3023
3021
  } catch (i) {
3024
- return this.error(H.INVALID_NUMBER_SKELETON, n);
3022
+ return this.error(O.INVALID_NUMBER_SKELETON, n);
3025
3023
  }
3026
3024
  return {
3027
3025
  val: {
3028
- type: Ve.number,
3026
+ type: $e.number,
3029
3027
  tokens: r,
3030
3028
  location: n,
3031
- parsedOptions: this.shouldParseSkeletons ? ki(r) : {}
3029
+ parsedOptions: this.shouldParseSkeletons ? Vi(r) : {}
3032
3030
  },
3033
3031
  err: null
3034
3032
  };
3035
3033
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3036
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
3037
- if (u.length === 0) {
3034
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
3035
+ if (l.length === 0) {
3038
3036
  var b = this.clonePosition();
3039
3037
  if (n !== "select" && this.bumpIf("=")) {
3040
- var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3038
+ var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
3041
3039
  if (m.err)
3042
3040
  return m;
3043
- f = O(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
3041
+ f = M(b, this.clonePosition()), l = this.message.slice(b.offset, this.offset());
3044
3042
  } else
3045
3043
  break;
3046
3044
  }
3047
- if (l.has(u))
3048
- return this.error(n === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3049
- u === "other" && (a = !0), this.bumpSpace();
3045
+ if (u.has(l))
3046
+ return this.error(n === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3047
+ l === "other" && (s = !0), this.bumpSpace();
3050
3048
  var S = this.clonePosition();
3051
3049
  if (!this.bumpIf("{"))
3052
- return this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3053
- var E = this.parseMessage(t + 1, n, r);
3054
- if (E.err)
3055
- return E;
3056
- var A = this.tryParseArgumentClose(S);
3057
- if (A.err)
3058
- return A;
3059
- s.push([
3060
- u,
3050
+ return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3051
+ var _ = this.parseMessage(t + 1, n, r);
3052
+ if (_.err)
3053
+ return _;
3054
+ var T = this.tryParseArgumentClose(S);
3055
+ if (T.err)
3056
+ return T;
3057
+ a.push([
3058
+ l,
3061
3059
  {
3062
- value: E.val,
3063
- location: O(S, this.clonePosition())
3060
+ value: _.val,
3061
+ location: M(S, this.clonePosition())
3064
3062
  }
3065
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3063
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3066
3064
  }
3067
- return s.length === 0 ? this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3065
+ return a.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(O.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3068
3066
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3069
3067
  var r = 1, i = this.clonePosition();
3070
3068
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3071
- for (var o = !1, a = 0; !this.isEOF(); ) {
3072
- var s = this.char();
3073
- if (s >= 48 && s <= 57)
3074
- o = !0, a = a * 10 + (s - 48), this.bump();
3069
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3070
+ var a = this.char();
3071
+ if (a >= 48 && a <= 57)
3072
+ o = !0, s = s * 10 + (a - 48), this.bump();
3075
3073
  else
3076
3074
  break;
3077
3075
  }
3078
- var l = O(i, this.clonePosition());
3079
- return o ? (a *= r, eo(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3076
+ var u = M(i, this.clonePosition());
3077
+ return o ? (s *= r, no(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3080
3078
  }, e.prototype.offset = function() {
3081
3079
  return this.position.offset;
3082
3080
  }, e.prototype.isEOF = function() {
@@ -3091,7 +3089,7 @@ var io = (
3091
3089
  var t = this.position.offset;
3092
3090
  if (t >= this.message.length)
3093
3091
  throw Error("out of bound");
3094
- var n = fr(this.message, t);
3092
+ var n = pr(this.message, t);
3095
3093
  if (n === void 0)
3096
3094
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3097
3095
  return n;
@@ -3110,7 +3108,7 @@ var io = (
3110
3108
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3111
3109
  }
3112
3110
  }, e.prototype.bumpIf = function(t) {
3113
- if (Sn(this.message, t, this.offset())) {
3111
+ if (Bn(this.message, t, this.offset())) {
3114
3112
  for (var n = 0; n < t.length; n++)
3115
3113
  this.bump();
3116
3114
  return !0;
@@ -3132,7 +3130,7 @@ var io = (
3132
3130
  break;
3133
3131
  }
3134
3132
  }, e.prototype.bumpSpace = function() {
3135
- for (; !this.isEOF() && pr(this.char()); )
3133
+ for (; !this.isEOF() && br(this.char()); )
3136
3134
  this.bump();
3137
3135
  }, e.prototype.peek = function() {
3138
3136
  if (this.isEOF())
@@ -3142,47 +3140,47 @@ var io = (
3142
3140
  }, e;
3143
3141
  }()
3144
3142
  );
3145
- function nn(e) {
3143
+ function rn(e) {
3146
3144
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3147
3145
  }
3148
- function oo(e) {
3149
- return nn(e) || e === 47;
3146
+ function so(e) {
3147
+ return rn(e) || e === 47;
3150
3148
  }
3151
- function ao(e) {
3149
+ function lo(e) {
3152
3150
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3153
3151
  }
3154
- function pr(e) {
3152
+ function br(e) {
3155
3153
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3156
3154
  }
3157
- function so(e) {
3155
+ function uo(e) {
3158
3156
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3159
3157
  }
3160
- function rn(e) {
3158
+ function on(e) {
3161
3159
  e.forEach(function(t) {
3162
- if (delete t.location, ir(t) || or(t))
3160
+ if (delete t.location, ar(t) || sr(t))
3163
3161
  for (var n in t.options)
3164
- delete t.options[n].location, rn(t.options[n].value);
3162
+ delete t.options[n].location, on(t.options[n].value);
3165
3163
  else
3166
- tr(t) && sr(t.style) || (nr(t) || rr(t)) && Jt(t.style) ? delete t.style.location : ar(t) && rn(t.children);
3164
+ rr(t) && ur(t.style) || (ir(t) || or(t)) && Kt(t.style) ? delete t.style.location : lr(t) && on(t.children);
3167
3165
  });
3168
3166
  }
3169
- function uo(e, t) {
3170
- t === void 0 && (t = {}), t = L({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3171
- var n = new io(e, t).parse();
3167
+ function co(e, t) {
3168
+ t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3169
+ var n = new ao(e, t).parse();
3172
3170
  if (n.err) {
3173
- var r = SyntaxError(H[n.err.kind]);
3171
+ var r = SyntaxError(O[n.err.kind]);
3174
3172
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3175
3173
  }
3176
- return t != null && t.captureLocation || rn(n.val), n.val;
3174
+ return t != null && t.captureLocation || on(n.val), n.val;
3177
3175
  }
3178
- var Xe;
3176
+ var Ve;
3179
3177
  (function(e) {
3180
3178
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3181
- })(Xe || (Xe = {}));
3179
+ })(Ve || (Ve = {}));
3182
3180
  var Tt = (
3183
3181
  /** @class */
3184
3182
  function(e) {
3185
- Be(t, e);
3183
+ Ae(t, e);
3186
3184
  function t(n, r, i) {
3187
3185
  var o = e.call(this, n) || this;
3188
3186
  return o.code = r, o.originalMessage = i, o;
@@ -3191,153 +3189,153 @@ var Tt = (
3191
3189
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3192
3190
  }, t;
3193
3191
  }(Error)
3194
- ), An = (
3192
+ ), Hn = (
3195
3193
  /** @class */
3196
3194
  function(e) {
3197
- Be(t, e);
3195
+ Ae(t, e);
3198
3196
  function t(n, r, i, o) {
3199
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Xe.INVALID_VALUE, o) || this;
3197
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ve.INVALID_VALUE, o) || this;
3200
3198
  }
3201
3199
  return t;
3202
3200
  }(Tt)
3203
- ), lo = (
3201
+ ), ho = (
3204
3202
  /** @class */
3205
3203
  function(e) {
3206
- Be(t, e);
3204
+ Ae(t, e);
3207
3205
  function t(n, r, i) {
3208
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Xe.INVALID_VALUE, i) || this;
3206
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ve.INVALID_VALUE, i) || this;
3209
3207
  }
3210
3208
  return t;
3211
3209
  }(Tt)
3212
- ), co = (
3210
+ ), fo = (
3213
3211
  /** @class */
3214
3212
  function(e) {
3215
- Be(t, e);
3213
+ Ae(t, e);
3216
3214
  function t(n, r) {
3217
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Xe.MISSING_VALUE, r) || this;
3215
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ve.MISSING_VALUE, r) || this;
3218
3216
  }
3219
3217
  return t;
3220
3218
  }(Tt)
3221
- ), ie;
3219
+ ), oe;
3222
3220
  (function(e) {
3223
3221
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3224
- })(ie || (ie = {}));
3225
- function ho(e) {
3222
+ })(oe || (oe = {}));
3223
+ function po(e) {
3226
3224
  return e.length < 2 ? e : e.reduce(function(t, n) {
3227
3225
  var r = t[t.length - 1];
3228
- return !r || r.type !== ie.literal || n.type !== ie.literal ? t.push(n) : r.value += n.value, t;
3226
+ return !r || r.type !== oe.literal || n.type !== oe.literal ? t.push(n) : r.value += n.value, t;
3229
3227
  }, []);
3230
3228
  }
3231
- function fo(e) {
3229
+ function mo(e) {
3232
3230
  return typeof e == "function";
3233
3231
  }
3234
- function gt(e, t, n, r, i, o, a) {
3235
- if (e.length === 1 && En(e[0]))
3232
+ function gt(e, t, n, r, i, o, s) {
3233
+ if (e.length === 1 && xn(e[0]))
3236
3234
  return [
3237
3235
  {
3238
- type: ie.literal,
3236
+ type: oe.literal,
3239
3237
  value: e[0].value
3240
3238
  }
3241
3239
  ];
3242
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3243
- var f = u[l];
3244
- if (En(f)) {
3245
- s.push({
3246
- type: ie.literal,
3240
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3241
+ var f = l[u];
3242
+ if (xn(f)) {
3243
+ a.push({
3244
+ type: oe.literal,
3247
3245
  value: f.value
3248
3246
  });
3249
3247
  continue;
3250
3248
  }
3251
- if (Pi(f)) {
3252
- typeof o == "number" && s.push({
3253
- type: ie.literal,
3249
+ if (Ni(f)) {
3250
+ typeof o == "number" && a.push({
3251
+ type: oe.literal,
3254
3252
  value: n.getNumberFormat(t).format(o)
3255
3253
  });
3256
3254
  continue;
3257
3255
  }
3258
3256
  var b = f.value;
3259
3257
  if (!(i && b in i))
3260
- throw new co(b, a);
3258
+ throw new fo(b, s);
3261
3259
  var m = i[b];
3262
- if (Li(f)) {
3263
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3264
- type: typeof m == "string" ? ie.literal : ie.object,
3260
+ if (Ii(f)) {
3261
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3262
+ type: typeof m == "string" ? oe.literal : oe.object,
3265
3263
  value: m
3266
3264
  });
3267
3265
  continue;
3268
3266
  }
3269
- if (nr(f)) {
3270
- var S = typeof f.style == "string" ? r.date[f.style] : Jt(f.style) ? f.style.parsedOptions : void 0;
3271
- s.push({
3272
- type: ie.literal,
3267
+ if (ir(f)) {
3268
+ var S = typeof f.style == "string" ? r.date[f.style] : Kt(f.style) ? f.style.parsedOptions : void 0;
3269
+ a.push({
3270
+ type: oe.literal,
3273
3271
  value: n.getDateTimeFormat(t, S).format(m)
3274
3272
  });
3275
3273
  continue;
3276
3274
  }
3277
- if (rr(f)) {
3278
- var S = typeof f.style == "string" ? r.time[f.style] : Jt(f.style) ? f.style.parsedOptions : r.time.medium;
3279
- s.push({
3280
- type: ie.literal,
3275
+ if (or(f)) {
3276
+ var S = typeof f.style == "string" ? r.time[f.style] : Kt(f.style) ? f.style.parsedOptions : r.time.medium;
3277
+ a.push({
3278
+ type: oe.literal,
3281
3279
  value: n.getDateTimeFormat(t, S).format(m)
3282
3280
  });
3283
3281
  continue;
3284
3282
  }
3285
- if (tr(f)) {
3286
- var S = typeof f.style == "string" ? r.number[f.style] : sr(f.style) ? f.style.parsedOptions : void 0;
3287
- S && S.scale && (m = m * (S.scale || 1)), s.push({
3288
- type: ie.literal,
3283
+ if (rr(f)) {
3284
+ var S = typeof f.style == "string" ? r.number[f.style] : ur(f.style) ? f.style.parsedOptions : void 0;
3285
+ S && S.scale && (m = m * (S.scale || 1)), a.push({
3286
+ type: oe.literal,
3289
3287
  value: n.getNumberFormat(t, S).format(m)
3290
3288
  });
3291
3289
  continue;
3292
3290
  }
3293
- if (ar(f)) {
3294
- var E = f.children, A = f.value, I = i[A];
3295
- if (!fo(I))
3296
- throw new lo(A, "function", a);
3297
- var W = gt(E, t, n, r, i, o), V = I(W.map(function(k) {
3298
- return k.value;
3291
+ if (lr(f)) {
3292
+ var _ = f.children, T = f.value, N = i[T];
3293
+ if (!mo(N))
3294
+ throw new ho(T, "function", s);
3295
+ var W = gt(_, t, n, r, i, o), V = N(W.map(function(Q) {
3296
+ return Q.value;
3299
3297
  }));
3300
- Array.isArray(V) || (V = [V]), s.push.apply(s, V.map(function(k) {
3298
+ Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(Q) {
3301
3299
  return {
3302
- type: typeof k == "string" ? ie.literal : ie.object,
3303
- value: k
3300
+ type: typeof Q == "string" ? oe.literal : oe.object,
3301
+ value: Q
3304
3302
  };
3305
3303
  }));
3306
3304
  }
3307
- if (ir(f)) {
3308
- var R = f.options[m] || f.options.other;
3309
- if (!R)
3310
- throw new An(f.value, m, Object.keys(f.options), a);
3311
- s.push.apply(s, gt(R.value, t, n, r, i));
3305
+ if (ar(f)) {
3306
+ var L = f.options[m] || f.options.other;
3307
+ if (!L)
3308
+ throw new Hn(f.value, m, Object.keys(f.options), s);
3309
+ a.push.apply(a, gt(L.value, t, n, r, i));
3312
3310
  continue;
3313
3311
  }
3314
- if (or(f)) {
3315
- var R = f.options["=".concat(m)];
3316
- if (!R) {
3312
+ if (sr(f)) {
3313
+ var L = f.options["=".concat(m)];
3314
+ if (!L) {
3317
3315
  if (!Intl.PluralRules)
3318
3316
  throw new Tt(`Intl.PluralRules is not available in this environment.
3319
3317
  Try polyfilling it using "@formatjs/intl-pluralrules"
3320
- `, Xe.MISSING_INTL_API, a);
3321
- var D = n.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3322
- R = f.options[D] || f.options.other;
3318
+ `, Ve.MISSING_INTL_API, s);
3319
+ var U = n.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3320
+ L = f.options[U] || f.options.other;
3323
3321
  }
3324
- if (!R)
3325
- throw new An(f.value, m, Object.keys(f.options), a);
3326
- s.push.apply(s, gt(R.value, t, n, r, i, m - (f.offset || 0)));
3322
+ if (!L)
3323
+ throw new Hn(f.value, m, Object.keys(f.options), s);
3324
+ a.push.apply(a, gt(L.value, t, n, r, i, m - (f.offset || 0)));
3327
3325
  continue;
3328
3326
  }
3329
3327
  }
3330
- return ho(s);
3328
+ return po(a);
3331
3329
  }
3332
- function po(e, t) {
3333
- return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3334
- return n[r] = L(L({}, e[r]), t[r] || {}), n;
3330
+ function bo(e, t) {
3331
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3332
+ return n[r] = P(P({}, e[r]), t[r] || {}), n;
3335
3333
  }, {})) : e;
3336
3334
  }
3337
- function mo(e, t) {
3335
+ function go(e, t) {
3338
3336
  return t ? Object.keys(e).reduce(function(n, r) {
3339
- return n[r] = po(e[r], t[r]), n;
3340
- }, L({}, e)) : e;
3337
+ return n[r] = bo(e[r], t[r]), n;
3338
+ }, P({}, e)) : e;
3341
3339
  }
3342
3340
  function $t(e) {
3343
3341
  return {
@@ -3353,7 +3351,7 @@ function $t(e) {
3353
3351
  }
3354
3352
  };
3355
3353
  }
3356
- function bo(e) {
3354
+ function yo(e) {
3357
3355
  return e === void 0 && (e = {
3358
3356
  number: {},
3359
3357
  dateTime: {},
@@ -3362,7 +3360,7 @@ function bo(e) {
3362
3360
  getNumberFormat: Gt(function() {
3363
3361
  for (var t, n = [], r = 0; r < arguments.length; r++)
3364
3362
  n[r] = arguments[r];
3365
- return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], n, !1)))();
3363
+ return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], n, !1)))();
3366
3364
  }, {
3367
3365
  cache: $t(e.number),
3368
3366
  strategy: jt.variadic
@@ -3370,7 +3368,7 @@ function bo(e) {
3370
3368
  getDateTimeFormat: Gt(function() {
3371
3369
  for (var t, n = [], r = 0; r < arguments.length; r++)
3372
3370
  n[r] = arguments[r];
3373
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], n, !1)))();
3371
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], n, !1)))();
3374
3372
  }, {
3375
3373
  cache: $t(e.dateTime),
3376
3374
  strategy: jt.variadic
@@ -3378,14 +3376,14 @@ function bo(e) {
3378
3376
  getPluralRules: Gt(function() {
3379
3377
  for (var t, n = [], r = 0; r < arguments.length; r++)
3380
3378
  n[r] = arguments[r];
3381
- return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], n, !1)))();
3379
+ return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], n, !1)))();
3382
3380
  }, {
3383
3381
  cache: $t(e.pluralRules),
3384
3382
  strategy: jt.variadic
3385
3383
  })
3386
3384
  };
3387
3385
  }
3388
- var go = (
3386
+ var vo = (
3389
3387
  /** @class */
3390
3388
  function() {
3391
3389
  function e(t, n, r, i) {
@@ -3395,35 +3393,35 @@ var go = (
3395
3393
  number: {},
3396
3394
  dateTime: {},
3397
3395
  pluralRules: {}
3398
- }, this.format = function(l) {
3399
- var u = o.formatToParts(l);
3400
- if (u.length === 1)
3401
- return u[0].value;
3402
- var f = u.reduce(function(b, m) {
3403
- return !b.length || m.type !== ie.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3396
+ }, this.format = function(u) {
3397
+ var l = o.formatToParts(u);
3398
+ if (l.length === 1)
3399
+ return l[0].value;
3400
+ var f = l.reduce(function(b, m) {
3401
+ return !b.length || m.type !== oe.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3404
3402
  }, []);
3405
3403
  return f.length <= 1 ? f[0] || "" : f;
3406
- }, this.formatToParts = function(l) {
3407
- return gt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3404
+ }, this.formatToParts = function(u) {
3405
+ return gt(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3408
3406
  }, this.resolvedOptions = function() {
3409
- var l;
3407
+ var u;
3410
3408
  return {
3411
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3409
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3412
3410
  };
3413
3411
  }, this.getAst = function() {
3414
3412
  return o.ast;
3415
3413
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3416
3414
  if (this.message = t, !e.__parse)
3417
3415
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3418
- var a = i || {};
3419
- a.formatters;
3420
- var s = Ti(a, ["formatters"]);
3421
- this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
3416
+ var s = i || {};
3417
+ s.formatters;
3418
+ var a = Ci(s, ["formatters"]);
3419
+ this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3422
3420
  } else
3423
3421
  this.ast = t;
3424
3422
  if (!Array.isArray(this.ast))
3425
3423
  throw new TypeError("A message must be provided as a String or AST.");
3426
- this.formats = mo(e.formats, r), this.formatters = i && i.formatters || bo(this.formatterCache);
3424
+ this.formats = go(e.formats, r), this.formatters = i && i.formatters || yo(this.formatterCache);
3427
3425
  }
3428
3426
  return Object.defineProperty(e, "defaultLocale", {
3429
3427
  get: function() {
@@ -3436,7 +3434,7 @@ var go = (
3436
3434
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3437
3435
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3438
3436
  }
3439
- }, e.__parse = uo, e.formats = {
3437
+ }, e.__parse = co, e.formats = {
3440
3438
  number: {
3441
3439
  integer: {
3442
3440
  maximumFractionDigits: 0
@@ -3497,7 +3495,7 @@ var go = (
3497
3495
  }, e;
3498
3496
  }()
3499
3497
  );
3500
- function yo(e, t) {
3498
+ function Eo(e, t) {
3501
3499
  if (t == null)
3502
3500
  return;
3503
3501
  if (t in e)
@@ -3518,92 +3516,92 @@ function yo(e, t) {
3518
3516
  r = void 0;
3519
3517
  return r;
3520
3518
  }
3521
- const He = {}, vo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), mr = (e, t) => {
3519
+ const Oe = {}, _o = (e, t, n) => n && (t in Oe || (Oe[t] = {}), e in Oe[t] || (Oe[t][e] = n), n), gr = (e, t) => {
3522
3520
  if (t == null)
3523
3521
  return;
3524
- if (t in He && e in He[t])
3525
- return He[t][e];
3522
+ if (t in Oe && e in Oe[t])
3523
+ return Oe[t][e];
3526
3524
  const n = Bt(t);
3527
3525
  for (let r = 0; r < n.length; r++) {
3528
- const i = n[r], o = _o(i, e);
3526
+ const i = n[r], o = wo(i, e);
3529
3527
  if (o)
3530
- return vo(e, t, o);
3528
+ return _o(e, t, o);
3531
3529
  }
3532
3530
  };
3533
- let fn;
3531
+ let pn;
3534
3532
  const st = St({});
3535
- function Eo(e) {
3536
- return fn[e] || null;
3533
+ function xo(e) {
3534
+ return pn[e] || null;
3537
3535
  }
3538
- function br(e) {
3539
- return e in fn;
3536
+ function yr(e) {
3537
+ return e in pn;
3540
3538
  }
3541
- function _o(e, t) {
3542
- if (!br(e))
3539
+ function wo(e, t) {
3540
+ if (!yr(e))
3543
3541
  return null;
3544
- const n = Eo(e);
3545
- return yo(n, t);
3542
+ const n = xo(e);
3543
+ return Eo(n, t);
3546
3544
  }
3547
- function xo(e) {
3545
+ function So(e) {
3548
3546
  if (e == null)
3549
3547
  return;
3550
3548
  const t = Bt(e);
3551
3549
  for (let n = 0; n < t.length; n++) {
3552
3550
  const r = t[n];
3553
- if (br(r))
3551
+ if (yr(r))
3554
3552
  return r;
3555
3553
  }
3556
3554
  }
3557
- function gr(e, ...t) {
3558
- delete He[e], st.update((n) => (n[e] = Si.all([n[e] || {}, ...t]), n));
3555
+ function vr(e, ...t) {
3556
+ delete Oe[e], st.update((n) => (n[e] = Ai.all([n[e] || {}, ...t]), n));
3559
3557
  }
3560
- Ze(
3558
+ We(
3561
3559
  [st],
3562
3560
  ([e]) => Object.keys(e)
3563
3561
  );
3564
- st.subscribe((e) => fn = e);
3562
+ st.subscribe((e) => pn = e);
3565
3563
  const yt = {};
3566
- function wo(e, t) {
3564
+ function To(e, t) {
3567
3565
  yt[e].delete(t), yt[e].size === 0 && delete yt[e];
3568
3566
  }
3569
- function yr(e) {
3567
+ function Er(e) {
3570
3568
  return yt[e];
3571
3569
  }
3572
- function So(e) {
3570
+ function Bo(e) {
3573
3571
  return Bt(e).map((t) => {
3574
- const n = yr(t);
3572
+ const n = Er(t);
3575
3573
  return [t, n ? [...n] : []];
3576
3574
  }).filter(([, t]) => t.length > 0);
3577
3575
  }
3578
- function on(e) {
3576
+ function an(e) {
3579
3577
  return e == null ? !1 : Bt(e).some(
3580
3578
  (t) => {
3581
3579
  var n;
3582
- return (n = yr(t)) == null ? void 0 : n.size;
3580
+ return (n = Er(t)) == null ? void 0 : n.size;
3583
3581
  }
3584
3582
  );
3585
3583
  }
3586
- function To(e, t) {
3584
+ function Ao(e, t) {
3587
3585
  return Promise.all(
3588
- t.map((r) => (wo(e, r), r().then((i) => i.default || i)))
3589
- ).then((r) => gr(e, ...r));
3586
+ t.map((r) => (To(e, r), r().then((i) => i.default || i)))
3587
+ ).then((r) => vr(e, ...r));
3590
3588
  }
3591
3589
  const nt = {};
3592
- function vr(e) {
3593
- if (!on(e))
3590
+ function _r(e) {
3591
+ if (!an(e))
3594
3592
  return e in nt ? nt[e] : Promise.resolve();
3595
- const t = So(e);
3593
+ const t = Bo(e);
3596
3594
  return nt[e] = Promise.all(
3597
3595
  t.map(
3598
- ([n, r]) => To(n, r)
3596
+ ([n, r]) => Ao(n, r)
3599
3597
  )
3600
3598
  ).then(() => {
3601
- if (on(e))
3602
- return vr(e);
3599
+ if (an(e))
3600
+ return _r(e);
3603
3601
  delete nt[e];
3604
3602
  }), nt[e];
3605
3603
  }
3606
- const Bo = {
3604
+ const Co = {
3607
3605
  number: {
3608
3606
  scientific: { notation: "scientific" },
3609
3607
  engineering: { notation: "engineering" },
@@ -3632,57 +3630,57 @@ const Bo = {
3632
3630
  timeZoneName: "short"
3633
3631
  }
3634
3632
  }
3635
- }, Ao = {
3633
+ }, Ho = {
3636
3634
  fallbackLocale: null,
3637
3635
  loadingDelay: 200,
3638
- formats: Bo,
3636
+ formats: Co,
3639
3637
  warnOnMissingMessages: !0,
3640
3638
  handleMissingMessage: void 0,
3641
3639
  ignoreTag: !0
3642
- }, Co = Ao;
3643
- function ze() {
3644
- return Co;
3640
+ }, Oo = Ho;
3641
+ function Xe() {
3642
+ return Oo;
3645
3643
  }
3646
3644
  const Vt = St(!1);
3647
- var Ho = Object.defineProperty, Oo = Object.defineProperties, Mo = Object.getOwnPropertyDescriptors, Cn = Object.getOwnPropertySymbols, Ro = Object.prototype.hasOwnProperty, Lo = Object.prototype.propertyIsEnumerable, Hn = (e, t, n) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t) => {
3648
- for (var n in t)
3649
- Ro.call(t, n) && Hn(e, n, t[n]);
3650
- if (Cn)
3651
- for (var n of Cn(t))
3652
- Lo.call(t, n) && Hn(e, n, t[n]);
3645
+ var Mo = Object.defineProperty, Ro = Object.defineProperties, Lo = Object.getOwnPropertyDescriptors, On = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, Mn = (e, t, n) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, No = (e, t) => {
3646
+ for (var n in t || (t = {}))
3647
+ Po.call(t, n) && Mn(e, n, t[n]);
3648
+ if (On)
3649
+ for (var n of On(t))
3650
+ Io.call(t, n) && Mn(e, n, t[n]);
3653
3651
  return e;
3654
- }, No = (e, t) => Oo(e, Mo(t));
3655
- let an;
3652
+ }, Do = (e, t) => Ro(e, Lo(t));
3653
+ let sn;
3656
3654
  const xt = St(null);
3657
- function On(e) {
3655
+ function Rn(e) {
3658
3656
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3659
3657
  }
3660
- function Bt(e, t = ze().fallbackLocale) {
3661
- const n = On(e);
3662
- return t ? [.../* @__PURE__ */ new Set([...n, ...On(t)])] : n;
3658
+ function Bt(e, t = Xe().fallbackLocale) {
3659
+ const n = Rn(e);
3660
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Rn(t)])] : n;
3663
3661
  }
3664
3662
  function Le() {
3665
- return an != null ? an : void 0;
3663
+ return sn != null ? sn : void 0;
3666
3664
  }
3667
3665
  xt.subscribe((e) => {
3668
- an = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3666
+ sn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3669
3667
  });
3670
- const Io = (e) => {
3671
- if (e && xo(e) && on(e)) {
3672
- const { loadingDelay: t } = ze();
3668
+ const Uo = (e) => {
3669
+ if (e && So(e) && an(e)) {
3670
+ const { loadingDelay: t } = Xe();
3673
3671
  let n;
3674
3672
  return typeof window != "undefined" && Le() != null && t ? n = window.setTimeout(
3675
3673
  () => Vt.set(!0),
3676
3674
  t
3677
- ) : Vt.set(!0), vr(e).then(() => {
3675
+ ) : Vt.set(!0), _r(e).then(() => {
3678
3676
  xt.set(e);
3679
3677
  }).finally(() => {
3680
3678
  clearTimeout(n), Vt.set(!1);
3681
3679
  });
3682
3680
  }
3683
3681
  return xt.set(e);
3684
- }, qe = No(Po({}, xt), {
3685
- set: Io
3682
+ }, Ze = Do(No({}, xt), {
3683
+ set: Uo
3686
3684
  }), At = (e) => {
3687
3685
  const t = /* @__PURE__ */ Object.create(null);
3688
3686
  return (r) => {
@@ -3690,101 +3688,101 @@ const Io = (e) => {
3690
3688
  return i in t ? t[i] : t[i] = e(r);
3691
3689
  };
3692
3690
  };
3693
- var Do = Object.defineProperty, wt = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Mn = (e, t, n) => t in e ? Do(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, dn = (e, t) => {
3691
+ var Fo = Object.defineProperty, wt = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Ln = (e, t, n) => t in e ? Fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mn = (e, t) => {
3694
3692
  for (var n in t || (t = {}))
3695
- Er.call(t, n) && Mn(e, n, t[n]);
3693
+ xr.call(t, n) && Ln(e, n, t[n]);
3696
3694
  if (wt)
3697
3695
  for (var n of wt(t))
3698
- _r.call(t, n) && Mn(e, n, t[n]);
3696
+ wr.call(t, n) && Ln(e, n, t[n]);
3699
3697
  return e;
3700
- }, Ye = (e, t) => {
3698
+ }, qe = (e, t) => {
3701
3699
  var n = {};
3702
3700
  for (var r in e)
3703
- Er.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3701
+ xr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3704
3702
  if (e != null && wt)
3705
3703
  for (var r of wt(e))
3706
- t.indexOf(r) < 0 && _r.call(e, r) && (n[r] = e[r]);
3704
+ t.indexOf(r) < 0 && wr.call(e, r) && (n[r] = e[r]);
3707
3705
  return n;
3708
3706
  };
3709
3707
  const at = (e, t) => {
3710
- const { formats: n } = ze();
3708
+ const { formats: n } = Xe();
3711
3709
  if (e in n && t in n[e])
3712
3710
  return n[e][t];
3713
3711
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3714
- }, Uo = At(
3712
+ }, Go = At(
3715
3713
  (e) => {
3716
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3714
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3717
3715
  if (n == null)
3718
3716
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3719
3717
  return r && (i = at("number", r)), new Intl.NumberFormat(n, i);
3720
3718
  }
3721
- ), Fo = At(
3719
+ ), jo = At(
3722
3720
  (e) => {
3723
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3721
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3724
3722
  if (n == null)
3725
3723
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3726
3724
  return r ? i = at("date", r) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(n, i);
3727
3725
  }
3728
- ), Go = At(
3726
+ ), ko = At(
3729
3727
  (e) => {
3730
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3728
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3731
3729
  if (n == null)
3732
3730
  throw new Error(
3733
3731
  '[svelte-i18n] A "locale" must be set to format time values'
3734
3732
  );
3735
3733
  return r ? i = at("time", r) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(n, i);
3736
3734
  }
3737
- ), jo = (e = {}) => {
3735
+ ), $o = (e = {}) => {
3738
3736
  var t = e, {
3739
3737
  locale: n = Le()
3740
- } = t, r = Ye(t, [
3738
+ } = t, r = qe(t, [
3741
3739
  "locale"
3742
3740
  ]);
3743
- return Uo(dn({ locale: n }, r));
3744
- }, ko = (e = {}) => {
3741
+ return Go(mn({ locale: n }, r));
3742
+ }, Vo = (e = {}) => {
3745
3743
  var t = e, {
3746
3744
  locale: n = Le()
3747
- } = t, r = Ye(t, [
3745
+ } = t, r = qe(t, [
3748
3746
  "locale"
3749
3747
  ]);
3750
- return Fo(dn({ locale: n }, r));
3751
- }, $o = (e = {}) => {
3748
+ return jo(mn({ locale: n }, r));
3749
+ }, Xo = (e = {}) => {
3752
3750
  var t = e, {
3753
3751
  locale: n = Le()
3754
- } = t, r = Ye(t, [
3752
+ } = t, r = qe(t, [
3755
3753
  "locale"
3756
3754
  ]);
3757
- return Go(dn({ locale: n }, r));
3758
- }, Vo = At(
3755
+ return ko(mn({ locale: n }, r));
3756
+ }, zo = At(
3759
3757
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3760
- (e, t = Le()) => new go(e, t, ze().formats, {
3761
- ignoreTag: ze().ignoreTag
3758
+ (e, t = Le()) => new vo(e, t, Xe().formats, {
3759
+ ignoreTag: Xe().ignoreTag
3762
3760
  })
3763
- ), Xo = (e, t = {}) => {
3761
+ ), Wo = (e, t = {}) => {
3764
3762
  var n, r, i, o;
3765
- let a = t;
3766
- typeof e == "object" && (a = e, e = a.id);
3763
+ let s = t;
3764
+ typeof e == "object" && (s = e, e = s.id);
3767
3765
  const {
3768
- values: s,
3769
- locale: l = Le(),
3770
- default: u
3771
- } = a;
3772
- if (l == null)
3766
+ values: a,
3767
+ locale: u = Le(),
3768
+ default: l
3769
+ } = s;
3770
+ if (u == null)
3773
3771
  throw new Error(
3774
3772
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3775
3773
  );
3776
- let f = mr(e, l);
3774
+ let f = gr(e, u);
3777
3775
  if (!f)
3778
- f = (o = (i = (r = (n = ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3776
+ f = (o = (i = (r = (n = Xe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3779
3777
  else if (typeof f != "string")
3780
3778
  return console.warn(
3781
3779
  `[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.`
3782
3780
  ), f;
3783
- if (!s)
3781
+ if (!a)
3784
3782
  return f;
3785
3783
  let b = f;
3786
3784
  try {
3787
- b = Vo(f, l).format(s);
3785
+ b = zo(f, u).format(a);
3788
3786
  } catch (m) {
3789
3787
  m instanceof Error && console.warn(
3790
3788
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3792,18 +3790,18 @@ const at = (e, t) => {
3792
3790
  );
3793
3791
  }
3794
3792
  return b;
3795
- }, zo = (e, t) => $o(t).format(e), Wo = (e, t) => ko(t).format(e), Zo = (e, t) => jo(t).format(e), qo = (e, t = Le()) => mr(e, t), Yo = Ze([qe, st], () => Xo);
3796
- Ze([qe], () => zo);
3797
- Ze([qe], () => Wo);
3798
- Ze([qe], () => Zo);
3799
- Ze([qe, st], () => qo);
3800
- function Rn(e, t) {
3801
- gr(e, t);
3802
- }
3803
- function Qo(e) {
3804
- qe.set(e);
3805
- }
3806
- const Ln = {
3793
+ }, Zo = (e, t) => Xo(t).format(e), qo = (e, t) => Vo(t).format(e), Yo = (e, t) => $o(t).format(e), Qo = (e, t = Le()) => gr(e, t), Jo = We([Ze, st], () => Wo);
3794
+ We([Ze], () => Zo);
3795
+ We([Ze], () => qo);
3796
+ We([Ze], () => Yo);
3797
+ We([Ze, st], () => Qo);
3798
+ function Pn(e, t) {
3799
+ vr(e, t);
3800
+ }
3801
+ function Ko(e) {
3802
+ Ze.set(e);
3803
+ }
3804
+ const In = {
3807
3805
  en: {
3808
3806
  Title: "Your Balance",
3809
3807
  Total: "Total Balance",
@@ -4003,7 +4001,7 @@ const Ln = {
4003
4001
  Loading: "Loading ..."
4004
4002
  }
4005
4003
  };
4006
- var sn = { exports: {} };
4004
+ var ln = { exports: {} };
4007
4005
  /** @license
4008
4006
  * eventsource.js
4009
4007
  * Available under MIT License (MIT)
@@ -4011,35 +4009,35 @@ var sn = { exports: {} };
4011
4009
  */
4012
4010
  (function(e, t) {
4013
4011
  (function(n) {
4014
- 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, b = n.fetch, m = n.Response, S = n.TextDecoder, E = n.TextEncoder, A = n.AbortController;
4015
- if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
4016
- u.readyState = "complete";
4017
- }, !1)), o == null && s != null && (o = function() {
4018
- return new s("Microsoft.XMLHTTP");
4012
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, s = n.XDomainRequest, a = n.ActiveXObject, u = n.EventSource, l = n.document, f = n.Promise, b = n.fetch, m = n.Response, S = n.TextDecoder, _ = n.TextEncoder, T = n.AbortController;
4013
+ if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(h) {
4014
+ l.readyState = "complete";
4015
+ }, !1)), o == null && a != null && (o = function() {
4016
+ return new a("Microsoft.XMLHTTP");
4019
4017
  }), Object.create == null && (Object.create = function(h) {
4020
4018
  function y() {
4021
4019
  }
4022
4020
  return y.prototype = h, new y();
4023
4021
  }), Date.now || (Date.now = function() {
4024
4022
  return (/* @__PURE__ */ new Date()).getTime();
4025
- }), A == null) {
4026
- var I = b;
4023
+ }), T == null) {
4024
+ var N = b;
4027
4025
  b = function(h, y) {
4028
- var _ = y.signal;
4029
- return I(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
4030
- var c = g.body.getReader();
4031
- return _._reader = c, _._aborted && _._reader.cancel(), {
4026
+ var w = y.signal;
4027
+ return N(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
4028
+ var C = g.body.getReader();
4029
+ return w._reader = C, w._aborted && w._reader.cancel(), {
4032
4030
  status: g.status,
4033
4031
  statusText: g.statusText,
4034
4032
  headers: g.headers,
4035
4033
  body: {
4036
4034
  getReader: function() {
4037
- return c;
4035
+ return C;
4038
4036
  }
4039
4037
  }
4040
4038
  };
4041
4039
  });
4042
- }, A = function() {
4040
+ }, T = function() {
4043
4041
  this.signal = {
4044
4042
  _reader: null,
4045
4043
  _aborted: !1
@@ -4052,116 +4050,116 @@ var sn = { exports: {} };
4052
4050
  this.bitsNeeded = 0, this.codePoint = 0;
4053
4051
  }
4054
4052
  W.prototype.decode = function(h) {
4055
- function y(C, v, B) {
4056
- if (B === 1)
4057
- return C >= 128 >> v && C << v <= 2047;
4058
- if (B === 2)
4059
- return C >= 2048 >> v && C << v <= 55295 || C >= 57344 >> v && C << v <= 65535;
4060
- if (B === 3)
4061
- return C >= 65536 >> v && C << v <= 1114111;
4053
+ function y(B, A, d) {
4054
+ if (d === 1)
4055
+ return B >= 128 >> A && B << A <= 2047;
4056
+ if (d === 2)
4057
+ return B >= 2048 >> A && B << A <= 55295 || B >= 57344 >> A && B << A <= 65535;
4058
+ if (d === 3)
4059
+ return B >= 65536 >> A && B << A <= 1114111;
4062
4060
  throw new Error();
4063
4061
  }
4064
- function _(C, v) {
4065
- if (C === 6 * 1)
4066
- return v >> 6 > 15 ? 3 : v > 31 ? 2 : 1;
4067
- if (C === 6 * 2)
4068
- return v > 15 ? 3 : 2;
4069
- if (C === 6 * 3)
4062
+ function w(B, A) {
4063
+ if (B === 6 * 1)
4064
+ return A >> 6 > 15 ? 3 : A > 31 ? 2 : 1;
4065
+ if (B === 6 * 2)
4066
+ return A > 15 ? 3 : 2;
4067
+ if (B === 6 * 3)
4070
4068
  return 3;
4071
4069
  throw new Error();
4072
4070
  }
4073
- for (var g = 65533, c = "", d = this.bitsNeeded, p = this.codePoint, x = 0; x < h.length; x += 1) {
4074
- var T = h[x];
4075
- d !== 0 && (T < 128 || T > 191 || !y(p << 6 | T & 63, d - 6, _(d, p))) && (d = 0, p = g, c += String.fromCharCode(p)), d === 0 ? (T >= 0 && T <= 127 ? (d = 0, p = T) : T >= 192 && T <= 223 ? (d = 6 * 1, p = T & 31) : T >= 224 && T <= 239 ? (d = 6 * 2, p = T & 15) : T >= 240 && T <= 247 ? (d = 6 * 3, p = T & 7) : (d = 0, p = g), d !== 0 && !y(p, d, _(d, p)) && (d = 0, p = g)) : (d -= 6, p = p << 6 | T & 63), d === 0 && (p <= 65535 ? c += String.fromCharCode(p) : (c += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), c += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4071
+ for (var g = 65533, C = "", c = this.bitsNeeded, p = this.codePoint, E = 0; E < h.length; E += 1) {
4072
+ var v = h[E];
4073
+ c !== 0 && (v < 128 || v > 191 || !y(p << 6 | v & 63, c - 6, w(c, p))) && (c = 0, p = g, C += String.fromCharCode(p)), c === 0 ? (v >= 0 && v <= 127 ? (c = 0, p = v) : v >= 192 && v <= 223 ? (c = 6 * 1, p = v & 31) : v >= 224 && v <= 239 ? (c = 6 * 2, p = v & 15) : v >= 240 && v <= 247 ? (c = 6 * 3, p = v & 7) : (c = 0, p = g), c !== 0 && !y(p, c, w(c, p)) && (c = 0, p = g)) : (c -= 6, p = p << 6 | v & 63), c === 0 && (p <= 65535 ? C += String.fromCharCode(p) : (C += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), C += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4076
4074
  }
4077
- return this.bitsNeeded = d, this.codePoint = p, c;
4075
+ return this.bitsNeeded = c, this.codePoint = p, C;
4078
4076
  };
4079
4077
  var V = function() {
4080
4078
  try {
4081
- return new S().decode(new E().encode("test"), { stream: !0 }) === "test";
4079
+ return new S().decode(new _().encode("test"), { stream: !0 }) === "test";
4082
4080
  } catch (h) {
4083
4081
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4084
4082
  }
4085
4083
  return !1;
4086
4084
  };
4087
- (S == null || E == null || !V()) && (S = W);
4088
- var R = function() {
4085
+ (S == null || _ == null || !V()) && (S = W);
4086
+ var L = function() {
4089
4087
  };
4090
- function D(h) {
4091
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = R, this.onload = R, this.onerror = R, this.onreadystatechange = R, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = R;
4088
+ function U(h) {
4089
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = L;
4092
4090
  }
4093
- D.prototype.open = function(h, y) {
4091
+ U.prototype.open = function(h, y) {
4094
4092
  this._abort(!0);
4095
- var _ = this, g = this._xhr, c = 1, d = 0;
4096
- this._abort = function(B) {
4097
- _._sendTimeout !== 0 && (i(_._sendTimeout), _._sendTimeout = 0), (c === 1 || c === 2 || c === 3) && (c = 4, g.onload = R, g.onerror = R, g.onabort = R, g.onprogress = R, g.onreadystatechange = R, g.abort(), d !== 0 && (i(d), d = 0), B || (_.readyState = 4, _.onabort(null), _.onreadystatechange())), c = 0;
4093
+ var w = this, g = this._xhr, C = 1, c = 0;
4094
+ this._abort = function(d) {
4095
+ w._sendTimeout !== 0 && (i(w._sendTimeout), w._sendTimeout = 0), (C === 1 || C === 2 || C === 3) && (C = 4, g.onload = L, g.onerror = L, g.onabort = L, g.onprogress = L, g.onreadystatechange = L, g.abort(), c !== 0 && (i(c), c = 0), d || (w.readyState = 4, w.onabort(null), w.onreadystatechange())), C = 0;
4098
4096
  };
4099
4097
  var p = function() {
4100
- if (c === 1) {
4101
- var B = 0, N = "", ee = void 0;
4098
+ if (C === 1) {
4099
+ var d = 0, H = "", J = void 0;
4102
4100
  if ("contentType" in g)
4103
- B = 200, N = "OK", ee = g.contentType;
4101
+ d = 200, H = "OK", J = g.contentType;
4104
4102
  else
4105
4103
  try {
4106
- B = g.status, N = g.statusText, ee = g.getResponseHeader("Content-Type");
4107
- } catch (Ce) {
4108
- B = 0, N = "", ee = void 0;
4104
+ d = g.status, H = g.statusText, J = g.getResponseHeader("Content-Type");
4105
+ } catch (pe) {
4106
+ d = 0, H = "", J = void 0;
4109
4107
  }
4110
- B !== 0 && (c = 2, _.readyState = 2, _.status = B, _.statusText = N, _._contentType = ee, _.onreadystatechange());
4108
+ d !== 0 && (C = 2, w.readyState = 2, w.status = d, w.statusText = H, w._contentType = J, w.onreadystatechange());
4111
4109
  }
4112
- }, x = function() {
4113
- if (p(), c === 2 || c === 3) {
4114
- c = 3;
4115
- var B = "";
4110
+ }, E = function() {
4111
+ if (p(), C === 2 || C === 3) {
4112
+ C = 3;
4113
+ var d = "";
4116
4114
  try {
4117
- B = g.responseText;
4118
- } catch (N) {
4115
+ d = g.responseText;
4116
+ } catch (H) {
4119
4117
  }
4120
- _.readyState = 3, _.responseText = B, _.onprogress();
4118
+ w.readyState = 3, w.responseText = d, w.onprogress();
4121
4119
  }
4122
- }, T = function(B, N) {
4123
- if ((N == null || N.preventDefault == null) && (N = {
4124
- preventDefault: R
4125
- }), x(), c === 1 || c === 2 || c === 3) {
4126
- if (c = 4, d !== 0 && (i(d), d = 0), _.readyState = 4, B === "load")
4127
- _.onload(N);
4128
- else if (B === "error")
4129
- _.onerror(N);
4130
- else if (B === "abort")
4131
- _.onabort(N);
4120
+ }, v = function(d, H) {
4121
+ if ((H == null || H.preventDefault == null) && (H = {
4122
+ preventDefault: L
4123
+ }), E(), C === 1 || C === 2 || C === 3) {
4124
+ if (C = 4, c !== 0 && (i(c), c = 0), w.readyState = 4, d === "load")
4125
+ w.onload(H);
4126
+ else if (d === "error")
4127
+ w.onerror(H);
4128
+ else if (d === "abort")
4129
+ w.onabort(H);
4132
4130
  else
4133
4131
  throw new TypeError();
4134
- _.onreadystatechange();
4132
+ w.onreadystatechange();
4135
4133
  }
4136
- }, C = function(B) {
4137
- g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && T(g.responseText === "" ? "error" : "load", B) : g.readyState === 3 ? "onprogress" in g || x() : g.readyState === 2 && p());
4138
- }, v = function() {
4139
- d = r(function() {
4140
- v();
4141
- }, 500), g.readyState === 3 && x();
4134
+ }, B = function(d) {
4135
+ g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && v(g.responseText === "" ? "error" : "load", d) : g.readyState === 3 ? "onprogress" in g || E() : g.readyState === 2 && p());
4136
+ }, A = function() {
4137
+ c = r(function() {
4138
+ A();
4139
+ }, 500), g.readyState === 3 && E();
4142
4140
  };
4143
- "onload" in g && (g.onload = function(B) {
4144
- T("load", B);
4145
- }), "onerror" in g && (g.onerror = function(B) {
4146
- T("error", B);
4147
- }), "onabort" in g && (g.onabort = function(B) {
4148
- T("abort", B);
4149
- }), "onprogress" in g && (g.onprogress = x), "onreadystatechange" in g && (g.onreadystatechange = function(B) {
4150
- C(B);
4151
- }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (d = r(function() {
4152
- v();
4141
+ "onload" in g && (g.onload = function(d) {
4142
+ v("load", d);
4143
+ }), "onerror" in g && (g.onerror = function(d) {
4144
+ v("error", d);
4145
+ }), "onabort" in g && (g.onabort = function(d) {
4146
+ v("abort", d);
4147
+ }), "onprogress" in g && (g.onprogress = E), "onreadystatechange" in g && (g.onreadystatechange = function(d) {
4148
+ B(d);
4149
+ }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (c = r(function() {
4150
+ A();
4153
4151
  }, 0));
4154
- }, D.prototype.abort = function() {
4152
+ }, U.prototype.abort = function() {
4155
4153
  this._abort(!1);
4156
- }, D.prototype.getResponseHeader = function(h) {
4154
+ }, U.prototype.getResponseHeader = function(h) {
4157
4155
  return this._contentType;
4158
- }, D.prototype.setRequestHeader = function(h, y) {
4159
- var _ = this._xhr;
4160
- "setRequestHeader" in _ && _.setRequestHeader(h, y);
4161
- }, D.prototype.getAllResponseHeaders = function() {
4156
+ }, U.prototype.setRequestHeader = function(h, y) {
4157
+ var w = this._xhr;
4158
+ "setRequestHeader" in w && w.setRequestHeader(h, y);
4159
+ }, U.prototype.getAllResponseHeaders = function() {
4162
4160
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4163
- }, D.prototype.send = function() {
4164
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4161
+ }, U.prototype.send = function() {
4162
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4165
4163
  var h = this;
4166
4164
  h._sendTimeout = r(function() {
4167
4165
  h._sendTimeout = 0, h.send();
@@ -4172,293 +4170,293 @@ var sn = { exports: {} };
4172
4170
  "withCredentials" in y && (y.withCredentials = this.withCredentials);
4173
4171
  try {
4174
4172
  y.send(void 0);
4175
- } catch (_) {
4176
- throw _;
4173
+ } catch (w) {
4174
+ throw w;
4177
4175
  }
4178
4176
  };
4179
- function k(h) {
4177
+ function Q(h) {
4180
4178
  return h.replace(/[A-Z]/g, function(y) {
4181
4179
  return String.fromCharCode(y.charCodeAt(0) + 32);
4182
4180
  });
4183
4181
  }
4184
- function oe(h) {
4185
- for (var y = /* @__PURE__ */ Object.create(null), _ = h.split(`\r
4186
- `), g = 0; g < _.length; g += 1) {
4187
- var c = _[g], d = c.split(": "), p = d.shift(), x = d.join(": ");
4188
- y[k(p)] = x;
4182
+ function Z(h) {
4183
+ for (var y = /* @__PURE__ */ Object.create(null), w = h.split(`\r
4184
+ `), g = 0; g < w.length; g += 1) {
4185
+ var C = w[g], c = C.split(": "), p = c.shift(), E = c.join(": ");
4186
+ y[Q(p)] = E;
4189
4187
  }
4190
4188
  this._map = y;
4191
4189
  }
4192
- oe.prototype.get = function(h) {
4193
- return this._map[k(h)];
4190
+ Z.prototype.get = function(h) {
4191
+ return this._map[Q(h)];
4194
4192
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4195
- function Z() {
4193
+ function ee() {
4196
4194
  }
4197
- Z.prototype.open = function(h, y, _, g, c, d, p) {
4198
- h.open("GET", c);
4199
- var x = 0;
4195
+ ee.prototype.open = function(h, y, w, g, C, c, p) {
4196
+ h.open("GET", C);
4197
+ var E = 0;
4200
4198
  h.onprogress = function() {
4201
- var C = h.responseText, v = C.slice(x);
4202
- x += v.length, _(v);
4203
- }, h.onerror = function(C) {
4204
- C.preventDefault(), g(new Error("NetworkError"));
4199
+ var B = h.responseText, A = B.slice(E);
4200
+ E += A.length, w(A);
4201
+ }, h.onerror = function(B) {
4202
+ B.preventDefault(), g(new Error("NetworkError"));
4205
4203
  }, h.onload = function() {
4206
4204
  g(null);
4207
4205
  }, h.onabort = function() {
4208
4206
  g(null);
4209
4207
  }, h.onreadystatechange = function() {
4210
4208
  if (h.readyState === o.HEADERS_RECEIVED) {
4211
- var C = h.status, v = h.statusText, B = h.getResponseHeader("Content-Type"), N = h.getAllResponseHeaders();
4212
- y(C, v, B, new oe(N));
4209
+ var B = h.status, A = h.statusText, d = h.getResponseHeader("Content-Type"), H = h.getAllResponseHeaders();
4210
+ y(B, A, d, new Z(H));
4213
4211
  }
4214
- }, h.withCredentials = d;
4215
- for (var T in p)
4216
- Object.prototype.hasOwnProperty.call(p, T) && h.setRequestHeader(T, p[T]);
4212
+ }, h.withCredentials = c;
4213
+ for (var v in p)
4214
+ Object.prototype.hasOwnProperty.call(p, v) && h.setRequestHeader(v, p[v]);
4217
4215
  return h.send(), h;
4218
4216
  };
4219
- function $(h) {
4217
+ function F(h) {
4220
4218
  this._headers = h;
4221
4219
  }
4222
- $.prototype.get = function(h) {
4220
+ F.prototype.get = function(h) {
4223
4221
  return this._headers.get(h);
4224
4222
  };
4225
- function U() {
4223
+ function D() {
4226
4224
  }
4227
- U.prototype.open = function(h, y, _, g, c, d, p) {
4228
- var x = null, T = new A(), C = T.signal, v = new S();
4229
- return b(c, {
4225
+ D.prototype.open = function(h, y, w, g, C, c, p) {
4226
+ var E = null, v = new T(), B = v.signal, A = new S();
4227
+ return b(C, {
4230
4228
  headers: p,
4231
- credentials: d ? "include" : "same-origin",
4232
- signal: C,
4229
+ credentials: c ? "include" : "same-origin",
4230
+ signal: B,
4233
4231
  cache: "no-store"
4234
- }).then(function(B) {
4235
- return x = B.body.getReader(), y(B.status, B.statusText, B.headers.get("Content-Type"), new $(B.headers)), new f(function(N, ee) {
4236
- var Ce = function() {
4237
- x.read().then(function(X) {
4238
- if (X.done)
4239
- N(void 0);
4232
+ }).then(function(d) {
4233
+ return E = d.body.getReader(), y(d.status, d.statusText, d.headers.get("Content-Type"), new F(d.headers)), new f(function(H, J) {
4234
+ var pe = function() {
4235
+ E.read().then(function(ne) {
4236
+ if (ne.done)
4237
+ H(void 0);
4240
4238
  else {
4241
- var te = v.decode(X.value, { stream: !0 });
4242
- _(te), Ce();
4239
+ var $ = A.decode(ne.value, { stream: !0 });
4240
+ w($), pe();
4243
4241
  }
4244
- }).catch(function(X) {
4245
- ee(X);
4242
+ }).catch(function(ne) {
4243
+ J(ne);
4246
4244
  });
4247
4245
  };
4248
- Ce();
4246
+ pe();
4249
4247
  });
4250
- }).catch(function(B) {
4251
- if (B.name !== "AbortError")
4252
- return B;
4253
- }).then(function(B) {
4254
- g(B);
4248
+ }).catch(function(d) {
4249
+ if (d.name !== "AbortError")
4250
+ return d;
4251
+ }).then(function(d) {
4252
+ g(d);
4255
4253
  }), {
4256
4254
  abort: function() {
4257
- x != null && x.cancel(), T.abort();
4255
+ E != null && E.cancel(), v.abort();
4258
4256
  }
4259
4257
  };
4260
4258
  };
4261
- function q() {
4259
+ function X() {
4262
4260
  this._listeners = /* @__PURE__ */ Object.create(null);
4263
4261
  }
4264
- function F(h) {
4262
+ function k(h) {
4265
4263
  r(function() {
4266
4264
  throw h;
4267
4265
  }, 0);
4268
4266
  }
4269
- q.prototype.dispatchEvent = function(h) {
4267
+ X.prototype.dispatchEvent = function(h) {
4270
4268
  h.target = this;
4271
4269
  var y = this._listeners[h.type];
4272
4270
  if (y != null)
4273
- for (var _ = y.length, g = 0; g < _; g += 1) {
4274
- var c = y[g];
4271
+ for (var w = y.length, g = 0; g < w; g += 1) {
4272
+ var C = y[g];
4275
4273
  try {
4276
- typeof c.handleEvent == "function" ? c.handleEvent(h) : c.call(this, h);
4277
- } catch (d) {
4278
- F(d);
4274
+ typeof C.handleEvent == "function" ? C.handleEvent(h) : C.call(this, h);
4275
+ } catch (c) {
4276
+ k(c);
4279
4277
  }
4280
4278
  }
4281
- }, q.prototype.addEventListener = function(h, y) {
4279
+ }, X.prototype.addEventListener = function(h, y) {
4282
4280
  h = String(h);
4283
- var _ = this._listeners, g = _[h];
4284
- g == null && (g = [], _[h] = g);
4285
- for (var c = !1, d = 0; d < g.length; d += 1)
4286
- g[d] === y && (c = !0);
4287
- c || g.push(y);
4288
- }, q.prototype.removeEventListener = function(h, y) {
4281
+ var w = this._listeners, g = w[h];
4282
+ g == null && (g = [], w[h] = g);
4283
+ for (var C = !1, c = 0; c < g.length; c += 1)
4284
+ g[c] === y && (C = !0);
4285
+ C || g.push(y);
4286
+ }, X.prototype.removeEventListener = function(h, y) {
4289
4287
  h = String(h);
4290
- var _ = this._listeners, g = _[h];
4288
+ var w = this._listeners, g = w[h];
4291
4289
  if (g != null) {
4292
- for (var c = [], d = 0; d < g.length; d += 1)
4293
- g[d] !== y && c.push(g[d]);
4294
- c.length === 0 ? delete _[h] : _[h] = c;
4290
+ for (var C = [], c = 0; c < g.length; c += 1)
4291
+ g[c] !== y && C.push(g[c]);
4292
+ C.length === 0 ? delete w[h] : w[h] = C;
4295
4293
  }
4296
4294
  };
4297
- function K(h) {
4295
+ function te(h) {
4298
4296
  this.type = h, this.target = void 0;
4299
4297
  }
4300
- function fe(h, y) {
4301
- K.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4298
+ function ve(h, y) {
4299
+ te.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4302
4300
  }
4303
- fe.prototype = Object.create(K.prototype);
4304
- function ye(h, y) {
4305
- K.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4301
+ ve.prototype = Object.create(te.prototype);
4302
+ function ce(h, y) {
4303
+ te.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4306
4304
  }
4307
- ye.prototype = Object.create(K.prototype);
4308
- function w(h, y) {
4309
- K.call(this, h), this.error = y.error;
4305
+ ce.prototype = Object.create(te.prototype);
4306
+ function Ce(h, y) {
4307
+ te.call(this, h), this.error = y.error;
4310
4308
  }
4311
- w.prototype = Object.create(K.prototype);
4312
- var ve = -1, me = 0, le = 1, Oe = 2, Qe = -1, be = 0, Je = 1, Pe = 2, ut = 3, Ht = /^text\/event\-stream(;.*)?$/i, Ke = 1e3, lt = 18e6, et = function(h, y) {
4313
- var _ = h == null ? y : parseInt(h, 10);
4314
- return _ !== _ && (_ = y), Ne(_);
4315
- }, Ne = function(h) {
4316
- return Math.min(Math.max(h, Ke), lt);
4317
- }, Ae = function(h, y, _) {
4309
+ Ce.prototype = Object.create(te.prototype);
4310
+ var x = -1, ae = 0, He = 1, de = 2, Ye = -1, ge = 0, Qe = 1, lt = 2, Je = 3, ut = /^text\/event\-stream(;.*)?$/i, Ht = 1e3, Ke = 18e6, Pe = function(h, y) {
4311
+ var w = h == null ? y : parseInt(h, 10);
4312
+ return w !== w && (w = y), et(w);
4313
+ }, et = function(h) {
4314
+ return Math.min(Math.max(h, Ht), Ke);
4315
+ }, Ee = function(h, y, w) {
4318
4316
  try {
4319
- typeof y == "function" && y.call(h, _);
4317
+ typeof y == "function" && y.call(h, w);
4320
4318
  } catch (g) {
4321
- F(g);
4319
+ k(g);
4322
4320
  }
4323
4321
  };
4324
- function ae(h, y) {
4325
- q.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, Mt(this, h, y);
4322
+ function se(h, y) {
4323
+ X.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, ct(this, h, y);
4326
4324
  }
4327
4325
  function Ot() {
4328
- return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4326
+ return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4329
4327
  }
4330
- var ct = b != null && m != null && "body" in m.prototype;
4331
- function Mt(h, y, _) {
4328
+ var Mt = b != null && m != null && "body" in m.prototype;
4329
+ function ct(h, y, w) {
4332
4330
  y = String(y);
4333
- var g = !!_.withCredentials, c = _.lastEventIdQueryParameterName || "lastEventId", d = Ne(1e3), p = et(_.heartbeatTimeout, 45e3), x = "", T = d, C = !1, v = 0, B = _.headers || {}, N = _.Transport, ee = ct && N == null ? void 0 : new D(N != null ? new N() : Ot()), Ce = N != null && typeof N != "string" ? new N() : ee == null ? new U() : new Z(), X = void 0, te = 0, de = ve, Ie = "", ft = "", Ee = "", dt = "", ne = be, Rt = 0, Me = 0, Cr = function(Y, z, se, ue) {
4334
- if (de === me)
4335
- if (Y === 200 && se != null && Ht.test(se)) {
4336
- de = le, C = Date.now(), T = d, h.readyState = le;
4337
- var re = new ye("open", {
4338
- status: Y,
4331
+ var g = !!w.withCredentials, C = w.lastEventIdQueryParameterName || "lastEventId", c = et(1e3), p = Pe(w.heartbeatTimeout, 45e3), E = "", v = c, B = !1, A = 0, d = w.headers || {}, H = w.Transport, J = Mt && H == null ? void 0 : new U(H != null ? new H() : Ot()), pe = H != null && typeof H != "string" ? new H() : J == null ? new D() : new ee(), ne = void 0, $ = 0, me = x, Ie = "", ft = "", _e = "", dt = "", re = ge, Rt = 0, Me = 0, Mr = function(q, z, le, ue) {
4332
+ if (me === ae)
4333
+ if (q === 200 && le != null && ut.test(le)) {
4334
+ me = He, B = Date.now(), v = c, h.readyState = He;
4335
+ var ie = new ce("open", {
4336
+ status: q,
4339
4337
  statusText: z,
4340
4338
  headers: ue
4341
4339
  });
4342
- h.dispatchEvent(re), Ae(h, h.onopen, re);
4340
+ h.dispatchEvent(ie), Ee(h, h.onopen, ie);
4343
4341
  } else {
4344
- var J = "";
4345
- Y !== 200 ? (z && (z = z.replace(/\s+/g, " ")), J = "EventSource's response has a status " + Y + " " + z + " that is not 200. Aborting the connection.") : J = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4346
- var re = new ye("error", {
4347
- status: Y,
4342
+ var K = "";
4343
+ q !== 200 ? (z && (z = z.replace(/\s+/g, " ")), K = "EventSource's response has a status " + q + " " + z + " that is not 200. Aborting the connection.") : K = "EventSource's response has a Content-Type specifying an unsupported type: " + (le == null ? "-" : le.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4344
+ var ie = new ce("error", {
4345
+ status: q,
4348
4346
  statusText: z,
4349
4347
  headers: ue
4350
4348
  });
4351
- h.dispatchEvent(re), Ae(h, h.onerror, re), console.error(J);
4349
+ h.dispatchEvent(ie), Ee(h, h.onerror, ie), console.error(K);
4352
4350
  }
4353
- }, Hr = function(Y) {
4354
- if (de === le) {
4355
- for (var z = -1, se = 0; se < Y.length; se += 1) {
4356
- var ue = Y.charCodeAt(se);
4357
- (ue === 10 || ue === 13) && (z = se);
4351
+ }, Rr = function(q) {
4352
+ if (me === He) {
4353
+ for (var z = -1, le = 0; le < q.length; le += 1) {
4354
+ var ue = q.charCodeAt(le);
4355
+ (ue === 10 || ue === 13) && (z = le);
4358
4356
  }
4359
- var re = (z !== -1 ? dt : "") + Y.slice(0, z + 1);
4360
- dt = (z === -1 ? dt : "") + Y.slice(z + 1), Y !== "" && (C = Date.now(), v += Y.length);
4361
- for (var J = 0; J < re.length; J += 1) {
4362
- var ue = re.charCodeAt(J);
4363
- if (ne === Qe && ue === 10)
4364
- ne = be;
4365
- else if (ne === Qe && (ne = be), ue === 13 || ue === 10) {
4366
- if (ne !== be) {
4367
- ne === Je && (Me = J + 1);
4368
- var _e = re.slice(Rt, Me - 1), xe = re.slice(Me + (Me < J && re.charCodeAt(Me) === 32 ? 1 : 0), J);
4369
- _e === "data" ? (Ie += `
4370
- `, Ie += xe) : _e === "id" ? ft = xe : _e === "event" ? Ee = xe : _e === "retry" ? (d = et(xe, d), T = d) : _e === "heartbeatTimeout" && (p = et(xe, p), te !== 0 && (i(te), te = r(function() {
4357
+ var ie = (z !== -1 ? dt : "") + q.slice(0, z + 1);
4358
+ dt = (z === -1 ? dt : "") + q.slice(z + 1), q !== "" && (B = Date.now(), A += q.length);
4359
+ for (var K = 0; K < ie.length; K += 1) {
4360
+ var ue = ie.charCodeAt(K);
4361
+ if (re === Ye && ue === 10)
4362
+ re = ge;
4363
+ else if (re === Ye && (re = ge), ue === 13 || ue === 10) {
4364
+ if (re !== ge) {
4365
+ re === Qe && (Me = K + 1);
4366
+ var xe = ie.slice(Rt, Me - 1), we = ie.slice(Me + (Me < K && ie.charCodeAt(Me) === 32 ? 1 : 0), K);
4367
+ xe === "data" ? (Ie += `
4368
+ `, Ie += we) : xe === "id" ? ft = we : xe === "event" ? _e = we : xe === "retry" ? (c = Pe(we, c), v = c) : xe === "heartbeatTimeout" && (p = Pe(we, p), $ !== 0 && (i($), $ = r(function() {
4371
4369
  tt();
4372
4370
  }, p)));
4373
4371
  }
4374
- if (ne === be) {
4372
+ if (re === ge) {
4375
4373
  if (Ie !== "") {
4376
- x = ft, Ee === "" && (Ee = "message");
4377
- var De = new fe(Ee, {
4374
+ E = ft, _e === "" && (_e = "message");
4375
+ var Ne = new ve(_e, {
4378
4376
  data: Ie.slice(1),
4379
4377
  lastEventId: ft
4380
4378
  });
4381
- if (h.dispatchEvent(De), Ee === "open" ? Ae(h, h.onopen, De) : Ee === "message" ? Ae(h, h.onmessage, De) : Ee === "error" && Ae(h, h.onerror, De), de === Oe)
4379
+ if (h.dispatchEvent(Ne), _e === "open" ? Ee(h, h.onopen, Ne) : _e === "message" ? Ee(h, h.onmessage, Ne) : _e === "error" && Ee(h, h.onerror, Ne), me === de)
4382
4380
  return;
4383
4381
  }
4384
- Ie = "", Ee = "";
4382
+ Ie = "", _e = "";
4385
4383
  }
4386
- ne = ue === 13 ? Qe : be;
4384
+ re = ue === 13 ? Ye : ge;
4387
4385
  } else
4388
- ne === be && (Rt = J, ne = Je), ne === Je ? ue === 58 && (Me = J + 1, ne = Pe) : ne === Pe && (ne = ut);
4386
+ re === ge && (Rt = K, re = Qe), re === Qe ? ue === 58 && (Me = K + 1, re = lt) : re === lt && (re = Je);
4389
4387
  }
4390
4388
  }
4391
- }, pn = function(Y) {
4392
- if (de === le || de === me) {
4393
- de = ve, te !== 0 && (i(te), te = 0), te = r(function() {
4389
+ }, bn = function(q) {
4390
+ if (me === He || me === ae) {
4391
+ me = x, $ !== 0 && (i($), $ = 0), $ = r(function() {
4394
4392
  tt();
4395
- }, T), T = Ne(Math.min(d * 16, T * 2)), h.readyState = me;
4396
- var z = new w("error", { error: Y });
4397
- h.dispatchEvent(z), Ae(h, h.onerror, z), Y != null && console.error(Y);
4393
+ }, v), v = et(Math.min(c * 16, v * 2)), h.readyState = ae;
4394
+ var z = new Ce("error", { error: q });
4395
+ h.dispatchEvent(z), Ee(h, h.onerror, z), q != null && console.error(q);
4398
4396
  }
4399
4397
  }, Lt = function() {
4400
- de = Oe, X != null && (X.abort(), X = void 0), te !== 0 && (i(te), te = 0), h.readyState = Oe;
4398
+ me = de, ne != null && (ne.abort(), ne = void 0), $ !== 0 && (i($), $ = 0), h.readyState = de;
4401
4399
  }, tt = function() {
4402
- if (te = 0, de !== ve) {
4403
- if (!C && X != null)
4404
- pn(new Error("No activity within " + p + " milliseconds. " + (de === me ? "No response received." : v + " chars received.") + " Reconnecting.")), X != null && (X.abort(), X = void 0);
4400
+ if ($ = 0, me !== x) {
4401
+ if (!B && ne != null)
4402
+ bn(new Error("No activity within " + p + " milliseconds. " + (me === ae ? "No response received." : A + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4405
4403
  else {
4406
- var Y = Math.max((C || Date.now()) + p - Date.now(), 1);
4407
- C = !1, te = r(function() {
4404
+ var q = Math.max((B || Date.now()) + p - Date.now(), 1);
4405
+ B = !1, $ = r(function() {
4408
4406
  tt();
4409
- }, Y);
4407
+ }, q);
4410
4408
  }
4411
4409
  return;
4412
4410
  }
4413
- C = !1, v = 0, te = r(function() {
4411
+ B = !1, A = 0, $ = r(function() {
4414
4412
  tt();
4415
- }, p), de = me, Ie = "", Ee = "", ft = x, dt = "", Rt = 0, Me = 0, ne = be;
4413
+ }, p), me = ae, Ie = "", _e = "", ft = E, dt = "", Rt = 0, Me = 0, re = ge;
4416
4414
  var z = y;
4417
- if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && x !== "") {
4418
- var se = y.indexOf("?");
4419
- z = se === -1 ? y : y.slice(0, se + 1) + y.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, De) {
4420
- return De === c ? "" : xe;
4421
- }), z += (y.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(x);
4415
+ if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && E !== "") {
4416
+ var le = y.indexOf("?");
4417
+ z = le === -1 ? y : y.slice(0, le + 1) + y.slice(le + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(we, Ne) {
4418
+ return Ne === C ? "" : we;
4419
+ }), z += (y.indexOf("?") === -1 ? "?" : "&") + C + "=" + encodeURIComponent(E);
4422
4420
  }
4423
- var ue = h.withCredentials, re = {};
4424
- re.Accept = "text/event-stream";
4425
- var J = h.headers;
4426
- if (J != null)
4427
- for (var _e in J)
4428
- Object.prototype.hasOwnProperty.call(J, _e) && (re[_e] = J[_e]);
4421
+ var ue = h.withCredentials, ie = {};
4422
+ ie.Accept = "text/event-stream";
4423
+ var K = h.headers;
4424
+ if (K != null)
4425
+ for (var xe in K)
4426
+ Object.prototype.hasOwnProperty.call(K, xe) && (ie[xe] = K[xe]);
4429
4427
  try {
4430
- X = Ce.open(ee, Cr, Hr, pn, z, ue, re);
4431
- } catch (xe) {
4432
- throw Lt(), xe;
4428
+ ne = pe.open(J, Mr, Rr, bn, z, ue, ie);
4429
+ } catch (we) {
4430
+ throw Lt(), we;
4433
4431
  }
4434
4432
  };
4435
- h.url = y, h.readyState = me, h.withCredentials = g, h.headers = B, h._close = Lt, tt();
4433
+ h.url = y, h.readyState = ae, h.withCredentials = g, h.headers = d, h._close = Lt, tt();
4436
4434
  }
4437
- ae.prototype = Object.create(q.prototype), ae.prototype.CONNECTING = me, ae.prototype.OPEN = le, ae.prototype.CLOSED = Oe, ae.prototype.close = function() {
4435
+ se.prototype = Object.create(X.prototype), se.prototype.CONNECTING = ae, se.prototype.OPEN = He, se.prototype.CLOSED = de, se.prototype.close = function() {
4438
4436
  this._close();
4439
- }, ae.CONNECTING = me, ae.OPEN = le, ae.CLOSED = Oe, ae.prototype.withCredentials = void 0;
4440
- var ht = l;
4441
- o != null && (l == null || !("withCredentials" in l.prototype)) && (ht = ae), function(h) {
4437
+ }, se.CONNECTING = ae, se.OPEN = He, se.CLOSED = de, se.prototype.withCredentials = void 0;
4438
+ var ht = u;
4439
+ o != null && (u == null || !("withCredentials" in u.prototype)) && (ht = se), function(h) {
4442
4440
  {
4443
4441
  var y = h(t);
4444
4442
  y !== void 0 && (e.exports = y);
4445
4443
  }
4446
4444
  }(function(h) {
4447
- h.EventSourcePolyfill = ae, h.NativeEventSource = l, h.EventSource = ht;
4445
+ h.EventSourcePolyfill = se, h.NativeEventSource = u, h.EventSource = ht;
4448
4446
  });
4449
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : ui : globalThis);
4450
- })(sn, sn.exports);
4451
- var Jo = sn.exports;
4452
- function Te(e) {
4447
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : hi : globalThis);
4448
+ })(ln, ln.exports);
4449
+ var ea = ln.exports;
4450
+ function Be(e) {
4453
4451
  return typeof e == "function";
4454
4452
  }
4455
- function xr(e) {
4453
+ function Sr(e) {
4456
4454
  var t = function(r) {
4457
4455
  Error.call(r), r.stack = new Error().stack;
4458
4456
  }, n = e(t);
4459
4457
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
4460
4458
  }
4461
- var Xt = xr(function(e) {
4459
+ var Xt = Sr(function(e) {
4462
4460
  return function(n) {
4463
4461
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
4464
4462
  ` + n.map(function(r, i) {
@@ -4481,47 +4479,47 @@ var Ct = function() {
4481
4479
  var t, n, r, i, o;
4482
4480
  if (!this.closed) {
4483
4481
  this.closed = !0;
4484
- var a = this._parentage;
4485
- if (a)
4486
- if (this._parentage = null, Array.isArray(a))
4482
+ var s = this._parentage;
4483
+ if (s)
4484
+ if (this._parentage = null, Array.isArray(s))
4487
4485
  try {
4488
- for (var s = Yt(a), l = s.next(); !l.done; l = s.next()) {
4489
- var u = l.value;
4490
- u.remove(this);
4486
+ for (var a = Qt(s), u = a.next(); !u.done; u = a.next()) {
4487
+ var l = u.value;
4488
+ l.remove(this);
4491
4489
  }
4492
- } catch (A) {
4493
- t = { error: A };
4490
+ } catch (T) {
4491
+ t = { error: T };
4494
4492
  } finally {
4495
4493
  try {
4496
- l && !l.done && (n = s.return) && n.call(s);
4494
+ u && !u.done && (n = a.return) && n.call(a);
4497
4495
  } finally {
4498
4496
  if (t)
4499
4497
  throw t.error;
4500
4498
  }
4501
4499
  }
4502
4500
  else
4503
- a.remove(this);
4501
+ s.remove(this);
4504
4502
  var f = this.initialTeardown;
4505
- if (Te(f))
4503
+ if (Be(f))
4506
4504
  try {
4507
4505
  f();
4508
- } catch (A) {
4509
- o = A instanceof Xt ? A.errors : [A];
4506
+ } catch (T) {
4507
+ o = T instanceof Xt ? T.errors : [T];
4510
4508
  }
4511
4509
  var b = this._finalizers;
4512
4510
  if (b) {
4513
4511
  this._finalizers = null;
4514
4512
  try {
4515
- for (var m = Yt(b), S = m.next(); !S.done; S = m.next()) {
4516
- var E = S.value;
4513
+ for (var m = Qt(b), S = m.next(); !S.done; S = m.next()) {
4514
+ var _ = S.value;
4517
4515
  try {
4518
- Pn(E);
4519
- } catch (A) {
4520
- o = o != null ? o : [], A instanceof Xt ? o = ke(ke([], Qt(o)), Qt(A.errors)) : o.push(A);
4516
+ Nn(_);
4517
+ } catch (T) {
4518
+ o = o != null ? o : [], T instanceof Xt ? o = je(je([], Jt(o)), Jt(T.errors)) : o.push(T);
4521
4519
  }
4522
4520
  }
4523
- } catch (A) {
4524
- r = { error: A };
4521
+ } catch (T) {
4522
+ r = { error: T };
4525
4523
  } finally {
4526
4524
  try {
4527
4525
  S && !S.done && (i = m.return) && i.call(m);
@@ -4538,7 +4536,7 @@ var Ct = function() {
4538
4536
  var n;
4539
4537
  if (t && t !== this)
4540
4538
  if (this.closed)
4541
- Pn(t);
4539
+ Nn(t);
4542
4540
  else {
4543
4541
  if (t instanceof e) {
4544
4542
  if (t.closed || t._hasParent(this))
@@ -4563,48 +4561,48 @@ var Ct = function() {
4563
4561
  var t = new e();
4564
4562
  return t.closed = !0, t;
4565
4563
  }(), e;
4566
- }(), wr = Ct.EMPTY;
4567
- function Sr(e) {
4568
- return e instanceof Ct || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
4564
+ }(), Tr = Ct.EMPTY;
4565
+ function Br(e) {
4566
+ return e instanceof Ct || e && "closed" in e && Be(e.remove) && Be(e.add) && Be(e.unsubscribe);
4569
4567
  }
4570
- function Pn(e) {
4571
- Te(e) ? e() : e.unsubscribe();
4568
+ function Nn(e) {
4569
+ Be(e) ? e() : e.unsubscribe();
4572
4570
  }
4573
- var Ko = {
4571
+ var Ar = {
4574
4572
  onUnhandledError: null,
4575
4573
  onStoppedNotification: null,
4576
4574
  Promise: void 0,
4577
4575
  useDeprecatedSynchronousErrorHandling: !1,
4578
4576
  useDeprecatedNextContext: !1
4579
- }, ea = {
4577
+ }, ta = {
4580
4578
  setTimeout: function(e, t) {
4581
4579
  for (var n = [], r = 2; r < arguments.length; r++)
4582
4580
  n[r - 2] = arguments[r];
4583
- return setTimeout.apply(void 0, ke([e, t], Qt(n)));
4581
+ return setTimeout.apply(void 0, je([e, t], Jt(n)));
4584
4582
  },
4585
4583
  clearTimeout: function(e) {
4586
4584
  return clearTimeout(e);
4587
4585
  },
4588
4586
  delegate: void 0
4589
4587
  };
4590
- function ta(e) {
4591
- ea.setTimeout(function() {
4588
+ function na(e) {
4589
+ ta.setTimeout(function() {
4592
4590
  throw e;
4593
4591
  });
4594
4592
  }
4595
- function Nn() {
4593
+ function Dn() {
4596
4594
  }
4597
4595
  function vt(e) {
4598
4596
  e();
4599
4597
  }
4600
- var Tr = function(e) {
4601
- Be(t, e);
4598
+ var Cr = function(e) {
4599
+ Ae(t, e);
4602
4600
  function t(n) {
4603
4601
  var r = e.call(this) || this;
4604
- return r.isStopped = !1, n ? (r.destination = n, Sr(n) && n.add(r)) : r.destination = ia, r;
4602
+ return r.isStopped = !1, n ? (r.destination = n, Br(n) && n.add(r)) : r.destination = aa, r;
4605
4603
  }
4606
4604
  return t.create = function(n, r, i) {
4607
- return new ln(n, r, i);
4605
+ return new cn(n, r, i);
4608
4606
  }, t.prototype.next = function(n) {
4609
4607
  this.isStopped || this._next(n);
4610
4608
  }, t.prototype.error = function(n) {
@@ -4628,7 +4626,11 @@ var Tr = function(e) {
4628
4626
  this.unsubscribe();
4629
4627
  }
4630
4628
  }, t;
4631
- }(Ct), na = function() {
4629
+ }(Ct), ra = Function.prototype.bind;
4630
+ function zt(e, t) {
4631
+ return ra.call(e, t);
4632
+ }
4633
+ var ia = function() {
4632
4634
  function e(t) {
4633
4635
  this.partialObserver = t;
4634
4636
  }
@@ -4659,43 +4661,55 @@ var Tr = function(e) {
4659
4661
  mt(n);
4660
4662
  }
4661
4663
  }, e;
4662
- }(), ln = function(e) {
4663
- Be(t, e);
4664
+ }(), cn = function(e) {
4665
+ Ae(t, e);
4664
4666
  function t(n, r, i) {
4665
- var o = e.call(this) || this, a;
4666
- return Te(n) || !n ? a = {
4667
- next: n != null ? n : void 0,
4668
- error: r != null ? r : void 0,
4669
- complete: i != null ? i : void 0
4670
- } : a = n, o.destination = new na(a), o;
4667
+ var o = e.call(this) || this, s;
4668
+ if (Be(n) || !n)
4669
+ s = {
4670
+ next: n != null ? n : void 0,
4671
+ error: r != null ? r : void 0,
4672
+ complete: i != null ? i : void 0
4673
+ };
4674
+ else {
4675
+ var a;
4676
+ o && Ar.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
4677
+ return o.unsubscribe();
4678
+ }, s = {
4679
+ next: n.next && zt(n.next, a),
4680
+ error: n.error && zt(n.error, a),
4681
+ complete: n.complete && zt(n.complete, a)
4682
+ }) : s = n;
4683
+ }
4684
+ return o.destination = new ia(s), o;
4671
4685
  }
4672
4686
  return t;
4673
- }(Tr);
4687
+ }(Cr);
4674
4688
  function mt(e) {
4675
- ta(e);
4689
+ na(e);
4676
4690
  }
4677
- function ra(e) {
4691
+ function oa(e) {
4678
4692
  throw e;
4679
4693
  }
4680
- var ia = {
4694
+ var aa = {
4681
4695
  closed: !0,
4682
- next: Nn,
4683
- error: ra,
4684
- complete: Nn
4685
- }, oa = function() {
4696
+ next: Dn,
4697
+ error: oa,
4698
+ complete: Dn
4699
+ }, sa = function() {
4686
4700
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4687
4701
  }();
4688
- function aa(e) {
4702
+ function la(e) {
4689
4703
  return e;
4690
4704
  }
4691
- function sa(e) {
4692
- return e.length === 0 ? aa : e.length === 1 ? e[0] : function(n) {
4705
+ function ua(e) {
4706
+ return e.length === 0 ? la : e.length === 1 ? e[0] : function(n) {
4693
4707
  return e.reduce(function(r, i) {
4694
4708
  return i(r);
4695
4709
  }, n);
4696
4710
  };
4697
4711
  }
4698
- var In = function() {
4712
+ var Un = function() {
4699
4713
  function e(t) {
4700
4714
  t && (this._subscribe = t);
4701
4715
  }
@@ -4703,10 +4717,10 @@ var In = function() {
4703
4717
  var n = new e();
4704
4718
  return n.source = this, n.operator = t, n;
4705
4719
  }, e.prototype.subscribe = function(t, n, r) {
4706
- var i = this, o = la(t) ? t : new ln(t, n, r);
4720
+ var i = this, o = ha(t) ? t : new cn(t, n, r);
4707
4721
  return vt(function() {
4708
- var a = i, s = a.operator, l = a.source;
4709
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4722
+ var s = i, a = s.operator, u = s.source;
4723
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4710
4724
  }), o;
4711
4725
  }, e.prototype._trySubscribe = function(t) {
4712
4726
  try {
@@ -4716,37 +4730,37 @@ var In = function() {
4716
4730
  }
4717
4731
  }, e.prototype.forEach = function(t, n) {
4718
4732
  var r = this;
4719
- return n = Dn(n), new n(function(i, o) {
4720
- var a = new ln({
4721
- next: function(s) {
4733
+ return n = Fn(n), new n(function(i, o) {
4734
+ var s = new cn({
4735
+ next: function(a) {
4722
4736
  try {
4723
- t(s);
4724
- } catch (l) {
4725
- o(l), a.unsubscribe();
4737
+ t(a);
4738
+ } catch (u) {
4739
+ o(u), s.unsubscribe();
4726
4740
  }
4727
4741
  },
4728
4742
  error: o,
4729
4743
  complete: i
4730
4744
  });
4731
- r.subscribe(a);
4745
+ r.subscribe(s);
4732
4746
  });
4733
4747
  }, e.prototype._subscribe = function(t) {
4734
4748
  var n;
4735
4749
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4736
- }, e.prototype[oa] = function() {
4750
+ }, e.prototype[sa] = function() {
4737
4751
  return this;
4738
4752
  }, e.prototype.pipe = function() {
4739
4753
  for (var t = [], n = 0; n < arguments.length; n++)
4740
4754
  t[n] = arguments[n];
4741
- return sa(t)(this);
4755
+ return ua(t)(this);
4742
4756
  }, e.prototype.toPromise = function(t) {
4743
4757
  var n = this;
4744
- return t = Dn(t), new t(function(r, i) {
4758
+ return t = Fn(t), new t(function(r, i) {
4745
4759
  var o;
4746
- n.subscribe(function(a) {
4747
- return o = a;
4748
- }, function(a) {
4749
- return i(a);
4760
+ n.subscribe(function(s) {
4761
+ return o = s;
4762
+ }, function(s) {
4763
+ return i(s);
4750
4764
  }, function() {
4751
4765
  return r(o);
4752
4766
  });
@@ -4755,32 +4769,32 @@ var In = function() {
4755
4769
  return new e(t);
4756
4770
  }, e;
4757
4771
  }();
4758
- function Dn(e) {
4772
+ function Fn(e) {
4759
4773
  var t;
4760
- return (t = e != null ? e : Ko.Promise) !== null && t !== void 0 ? t : Promise;
4774
+ return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
4761
4775
  }
4762
- function ua(e) {
4763
- return e && Te(e.next) && Te(e.error) && Te(e.complete);
4776
+ function ca(e) {
4777
+ return e && Be(e.next) && Be(e.error) && Be(e.complete);
4764
4778
  }
4765
- function la(e) {
4766
- return e && e instanceof Tr || ua(e) && Sr(e);
4779
+ function ha(e) {
4780
+ return e && e instanceof Cr || ca(e) && Br(e);
4767
4781
  }
4768
- var ca = xr(function(e) {
4782
+ var fa = Sr(function(e) {
4769
4783
  return function() {
4770
4784
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4771
4785
  };
4772
- }), Br = function(e) {
4773
- Be(t, e);
4786
+ }), Hr = function(e) {
4787
+ Ae(t, e);
4774
4788
  function t() {
4775
4789
  var n = e.call(this) || this;
4776
4790
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4777
4791
  }
4778
4792
  return t.prototype.lift = function(n) {
4779
- var r = new Un(this, this);
4793
+ var r = new Gn(this, this);
4780
4794
  return r.operator = n, r;
4781
4795
  }, t.prototype._throwIfClosed = function() {
4782
4796
  if (this.closed)
4783
- throw new ca();
4797
+ throw new fa();
4784
4798
  }, t.prototype.next = function(n) {
4785
4799
  var r = this;
4786
4800
  vt(function() {
@@ -4788,15 +4802,15 @@ var ca = xr(function(e) {
4788
4802
  if (r._throwIfClosed(), !r.isStopped) {
4789
4803
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
4790
4804
  try {
4791
- for (var a = Yt(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
4792
- var l = s.value;
4793
- l.next(n);
4805
+ for (var s = Qt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4806
+ var u = a.value;
4807
+ u.next(n);
4794
4808
  }
4795
- } catch (u) {
4796
- i = { error: u };
4809
+ } catch (l) {
4810
+ i = { error: l };
4797
4811
  } finally {
4798
4812
  try {
4799
- s && !s.done && (o = a.return) && o.call(a);
4813
+ a && !a.done && (o = s.return) && o.call(s);
4800
4814
  } finally {
4801
4815
  if (i)
4802
4816
  throw i.error;
@@ -4836,21 +4850,21 @@ var ca = xr(function(e) {
4836
4850
  }, t.prototype._subscribe = function(n) {
4837
4851
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4838
4852
  }, t.prototype._innerSubscribe = function(n) {
4839
- var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4840
- return o || a ? wr : (this.currentObservers = null, s.push(n), new Ct(function() {
4841
- r.currentObservers = null, un(s, n);
4853
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4854
+ return o || s ? Tr : (this.currentObservers = null, a.push(n), new Ct(function() {
4855
+ r.currentObservers = null, un(a, n);
4842
4856
  }));
4843
4857
  }, t.prototype._checkFinalizedStatuses = function(n) {
4844
- var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
4845
- i ? n.error(o) : a && n.complete();
4858
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
4859
+ i ? n.error(o) : s && n.complete();
4846
4860
  }, t.prototype.asObservable = function() {
4847
- var n = new In();
4861
+ var n = new Un();
4848
4862
  return n.source = this, n;
4849
4863
  }, t.create = function(n, r) {
4850
- return new Un(n, r);
4864
+ return new Gn(n, r);
4851
4865
  }, t;
4852
- }(In), Un = function(e) {
4853
- Be(t, e);
4866
+ }(Un), Gn = function(e) {
4867
+ Ae(t, e);
4854
4868
  function t(n, r) {
4855
4869
  var i = e.call(this) || this;
4856
4870
  return i.destination = n, i.source = r, i;
@@ -4866,58 +4880,58 @@ var ca = xr(function(e) {
4866
4880
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4867
4881
  }, t.prototype._subscribe = function(n) {
4868
4882
  var r, i;
4869
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : wr;
4883
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Tr;
4870
4884
  }, t;
4871
- }(Br), Ar = {
4885
+ }(Hr), Or = {
4872
4886
  now: function() {
4873
- return (Ar.delegate || Date).now();
4887
+ return (Or.delegate || Date).now();
4874
4888
  },
4875
4889
  delegate: void 0
4876
- }, ha = function(e) {
4877
- Be(t, e);
4890
+ }, da = function(e) {
4891
+ Ae(t, e);
4878
4892
  function t(n, r, i) {
4879
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Ar);
4893
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Or);
4880
4894
  var o = e.call(this) || this;
4881
4895
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
4882
4896
  }
4883
4897
  return t.prototype.next = function(n) {
4884
- var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, l = r._windowTime;
4885
- i || (o.push(n), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
4898
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4899
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4886
4900
  }, t.prototype._subscribe = function(n) {
4887
4901
  this._throwIfClosed(), this._trimBuffer();
4888
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !n.closed; l += o ? 1 : 2)
4889
- n.next(s[l]);
4902
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
4903
+ n.next(a[u]);
4890
4904
  return this._checkFinalizedStatuses(n), r;
4891
4905
  }, t.prototype._trimBuffer = function() {
4892
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
4893
- if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4894
- for (var l = i.now(), u = 0, f = 1; f < o.length && o[f] <= l; f += 2)
4895
- u = f;
4896
- u && o.splice(0, u + 1);
4906
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4907
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4908
+ for (var u = i.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
4909
+ l = f;
4910
+ l && o.splice(0, l + 1);
4897
4911
  }
4898
4912
  }, t;
4899
- }(Br);
4900
- const Fn = [], Gn = {}, fa = (e, t = 0) => {
4901
- if (Fn.indexOf(e) == -1) {
4902
- const n = new ha(t);
4903
- Gn[e] = n, Fn.push(e);
4913
+ }(Hr);
4914
+ const jn = [], kn = {}, pa = (e, t = 0) => {
4915
+ if (jn.indexOf(e) == -1) {
4916
+ const n = new da(t);
4917
+ kn[e] = n, jn.push(e);
4904
4918
  }
4905
- return Gn[e];
4919
+ return kn[e];
4906
4920
  };
4907
- window.emWidgets = { topic: fa };
4908
- const da = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4909
- function pa(e) {
4910
- Dr(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4921
+ window.emWidgets = { topic: pa };
4922
+ const ma = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4923
+ function ba(e) {
4924
+ Gr(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4911
4925
  }
4912
- function jn(e, t, n) {
4926
+ function $n(e, t, n) {
4913
4927
  const r = e.slice();
4914
4928
  return r[54] = t[n], r;
4915
4929
  }
4916
- function kn(e, t, n) {
4930
+ function Vn(e, t, n) {
4917
4931
  const r = e.slice();
4918
4932
  return r[57] = t[n], r;
4919
4933
  }
4920
- function ma(e) {
4934
+ function ga(e) {
4921
4935
  let t, n, r = (
4922
4936
  /*balances*/
4923
4937
  (e[1].Total ? (
@@ -4927,53 +4941,53 @@ function ma(e) {
4927
4941
  e[1].Total[0].amount
4928
4942
  )
4929
4943
  ) : "0") + ""
4930
- ), i, o, a, s, l, u, f, b, m, S, E = (
4944
+ ), i, o, s, a, u, l, f, b, m, S, _ = (
4931
4945
  /*showBalance*/
4932
- e[4] && $n(e)
4946
+ e[4] && Xn(e)
4933
4947
  );
4934
4948
  return {
4935
4949
  c() {
4936
- t = j("button"), n = j("p"), i = we(r), o = Se(), a = j("span"), s = gn("svg"), l = gn("path"), f = Se(), E && E.c(), b = Gr(), M(l, "id", "arrow"), M(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"), M(l, "transform", "translate(-274.511 -441.088)"), M(l, "fill", "#d1d1d1"), M(s, "xmlns", "http://www.w3.org/2000/svg"), M(s, "width", "14"), M(s, "height", "6.835"), M(s, "viewBox", "0 0 14 6.835"), M(a, "class", u = /*isModalDisplayed*/
4937
- e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
4950
+ t = j("button"), n = j("p"), i = Se(r), o = Te(), s = j("span"), a = vn("svg"), u = vn("path"), f = Te(), _ && _.c(), b = $r(), R(u, "id", "arrow"), R(u, "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"), R(u, "transform", "translate(-274.511 -441.088)"), R(u, "fill", "#d1d1d1"), R(a, "xmlns", "http://www.w3.org/2000/svg"), R(a, "width", "14"), R(a, "height", "6.835"), R(a, "viewBox", "0 0 14 6.835"), R(s, "class", l = /*isModalDisplayed*/
4951
+ e[3] ? "TriangleActive" : "TriangleInactive"), R(t, "class", "BalanceValue");
4938
4952
  },
4939
- m(A, I) {
4940
- ge(A, t, I), P(t, n), P(n, i), P(t, o), P(t, a), P(a, s), P(s, l), ge(A, f, I), E && E.m(A, I), ge(A, b, I), m || (S = Et(
4953
+ m(T, N) {
4954
+ ye(T, t, N), I(t, n), I(n, i), I(t, o), I(t, s), I(s, a), I(a, u), ye(T, f, N), _ && _.m(T, N), ye(T, b, N), m || (S = Et(
4941
4955
  t,
4942
4956
  "click",
4943
4957
  /*click_handler*/
4944
4958
  e[26]
4945
4959
  ), m = !0);
4946
4960
  },
4947
- p(A, I) {
4948
- I[0] & /*balances*/
4961
+ p(T, N) {
4962
+ N[0] & /*balances*/
4949
4963
  2 && r !== (r = /*balances*/
4950
- (A[1].Total ? (
4964
+ (T[1].Total ? (
4951
4965
  /*formatBalance*/
4952
- A[8](
4966
+ T[8](
4953
4967
  /*balances*/
4954
- A[1].Total[0].amount
4968
+ T[1].Total[0].amount
4955
4969
  )
4956
- ) : "0") + "") && Re(i, r), I[0] & /*isModalDisplayed*/
4957
- 8 && u !== (u = /*isModalDisplayed*/
4958
- A[3] ? "TriangleActive" : "TriangleInactive") && M(a, "class", u), /*showBalance*/
4959
- A[4] ? E ? E.p(A, I) : (E = $n(A), E.c(), E.m(b.parentNode, b)) : E && (E.d(1), E = null);
4970
+ ) : "0") + "") && Re(i, r), N[0] & /*isModalDisplayed*/
4971
+ 8 && l !== (l = /*isModalDisplayed*/
4972
+ T[3] ? "TriangleActive" : "TriangleInactive") && R(s, "class", l), /*showBalance*/
4973
+ T[4] ? _ ? _.p(T, N) : (_ = Xn(T), _.c(), _.m(b.parentNode, b)) : _ && (_.d(1), _ = null);
4960
4974
  },
4961
- d(A) {
4962
- A && (pe(t), pe(f), pe(b)), E && E.d(A), m = !1, S();
4975
+ d(T) {
4976
+ T && (be(t), be(f), be(b)), _ && _.d(T), m = !1, S();
4963
4977
  }
4964
4978
  };
4965
4979
  }
4966
- function ba(e) {
4980
+ function ya(e) {
4967
4981
  let t, n = (
4968
4982
  /*$_*/
4969
4983
  e[6]("Loading") + ""
4970
4984
  ), r;
4971
4985
  return {
4972
4986
  c() {
4973
- t = j("p"), r = we(n), M(t, "class", "Loading");
4987
+ t = j("p"), r = Se(n), R(t, "class", "Loading");
4974
4988
  },
4975
4989
  m(i, o) {
4976
- ge(i, t, o), P(t, r);
4990
+ ye(i, t, o), I(t, r);
4977
4991
  },
4978
4992
  p(i, o) {
4979
4993
  o[0] & /*$_*/
@@ -4981,39 +4995,39 @@ function ba(e) {
4981
4995
  i[6]("Loading") + "") && Re(r, n);
4982
4996
  },
4983
4997
  d(i) {
4984
- i && pe(t);
4998
+ i && be(t);
4985
4999
  }
4986
5000
  };
4987
5001
  }
4988
- function $n(e) {
4989
- let t, n, r, i, o, a, s, l, u = (
5002
+ function Xn(e) {
5003
+ let t, n, r, i, o, s, a, u, l = (
4990
5004
  /*$_*/
4991
5005
  e[6]("Title") + ""
4992
- ), f, b, m, S, E, A, I = (
5006
+ ), f, b, m, S, _, T, N = (
4993
5007
  /*$_*/
4994
5008
  e[6]("DepositButton") + ""
4995
- ), W, V, R, D, k, oe, Z = _t(Object.keys(
5009
+ ), W, V, L, U, Q, Z, ee = _t(Object.keys(
4996
5010
  /*balances*/
4997
5011
  e[1]
4998
- )), $ = [];
4999
- for (let U = 0; U < Z.length; U += 1)
5000
- $[U] = Xn(jn(e, Z, U));
5012
+ )), F = [];
5013
+ for (let D = 0; D < ee.length; D += 1)
5014
+ F[D] = Wn($n(e, ee, D));
5001
5015
  return {
5002
5016
  c() {
5003
- t = j("div"), n = j("button"), i = Se(), o = j("div"), a = j("div"), s = j("div"), l = j("p"), f = we(u), b = Se(), m = j("div");
5004
- for (let U = 0; U < $.length; U += 1)
5005
- $[U].c();
5006
- S = Se(), E = j("div"), A = j("button"), W = we(I), M(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5007
- (e[3] ? "Open" : "")), M(l, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(m, "class", "BalanceModalBody"), M(A, "class", "BalanceModalAction"), M(E, "class", "BalanceModalFooter"), M(a, "class", V = "ModalContent " + /*isModalDisplayed*/
5008
- (e[3] ? "Open" : "")), M(o, "class", R = "BalanceModal " + /*isModalDisplayed*/
5009
- (e[3] ? "Open" : "")), M(t, "class", D = "BalanceModalWrapper " + /*isModalDisplayed*/
5017
+ t = j("div"), n = j("button"), i = Te(), o = j("div"), s = j("div"), a = j("div"), u = j("p"), f = Se(l), b = Te(), m = j("div");
5018
+ for (let D = 0; D < F.length; D += 1)
5019
+ F[D].c();
5020
+ S = Te(), _ = j("div"), T = j("button"), W = Se(N), R(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5021
+ (e[3] ? "Open" : "")), R(u, "class", "BalanceModalTitle"), R(a, "class", "BalanceModalHeader"), R(m, "class", "BalanceModalBody"), R(T, "class", "BalanceModalAction"), R(_, "class", "BalanceModalFooter"), R(s, "class", V = "ModalContent " + /*isModalDisplayed*/
5022
+ (e[3] ? "Open" : "")), R(o, "class", L = "BalanceModal " + /*isModalDisplayed*/
5023
+ (e[3] ? "Open" : "")), R(t, "class", U = "BalanceModalWrapper " + /*isModalDisplayed*/
5010
5024
  (e[3] ? "Open" : ""));
5011
5025
  },
5012
- m(U, q) {
5013
- ge(U, t, q), P(t, n), P(t, i), P(t, o), P(o, a), P(a, s), P(s, l), P(l, f), P(a, b), P(a, m);
5014
- for (let F = 0; F < $.length; F += 1)
5015
- $[F] && $[F].m(m, null);
5016
- P(a, S), P(a, E), P(E, A), P(A, W), k || (oe = [
5026
+ m(D, X) {
5027
+ ye(D, t, X), I(t, n), I(t, i), I(t, o), I(o, s), I(s, a), I(a, u), I(u, f), I(s, b), I(s, m);
5028
+ for (let k = 0; k < F.length; k += 1)
5029
+ F[k] && F[k].m(m, null);
5030
+ I(s, S), I(s, _), I(_, T), I(T, W), Q || (Z = [
5017
5031
  Et(
5018
5032
  n,
5019
5033
  "click",
@@ -5021,56 +5035,56 @@ function $n(e) {
5021
5035
  e[27]
5022
5036
  ),
5023
5037
  Et(
5024
- A,
5038
+ T,
5025
5039
  "click",
5026
5040
  /*click_handler_2*/
5027
5041
  e[28]
5028
5042
  )
5029
- ], k = !0);
5043
+ ], Q = !0);
5030
5044
  },
5031
- p(U, q) {
5032
- if (q[0] & /*isModalDisplayed*/
5045
+ p(D, X) {
5046
+ if (X[0] & /*isModalDisplayed*/
5033
5047
  8 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
5034
- (U[3] ? "Open" : "")) && M(n, "class", r), q[0] & /*$_*/
5035
- 64 && u !== (u = /*$_*/
5036
- U[6]("Title") + "") && Re(f, u), q[0] & /*balances, formatBalance, $_*/
5048
+ (D[3] ? "Open" : "")) && R(n, "class", r), X[0] & /*$_*/
5049
+ 64 && l !== (l = /*$_*/
5050
+ D[6]("Title") + "") && Re(f, l), X[0] & /*balances, formatBalance, $_*/
5037
5051
  322) {
5038
- Z = _t(Object.keys(
5052
+ ee = _t(Object.keys(
5039
5053
  /*balances*/
5040
- U[1]
5054
+ D[1]
5041
5055
  ));
5042
- let F;
5043
- for (F = 0; F < Z.length; F += 1) {
5044
- const K = jn(U, Z, F);
5045
- $[F] ? $[F].p(K, q) : ($[F] = Xn(K), $[F].c(), $[F].m(m, null));
5056
+ let k;
5057
+ for (k = 0; k < ee.length; k += 1) {
5058
+ const te = $n(D, ee, k);
5059
+ F[k] ? F[k].p(te, X) : (F[k] = Wn(te), F[k].c(), F[k].m(m, null));
5046
5060
  }
5047
- for (; F < $.length; F += 1)
5048
- $[F].d(1);
5049
- $.length = Z.length;
5061
+ for (; k < F.length; k += 1)
5062
+ F[k].d(1);
5063
+ F.length = ee.length;
5050
5064
  }
5051
- q[0] & /*$_*/
5052
- 64 && I !== (I = /*$_*/
5053
- U[6]("DepositButton") + "") && Re(W, I), q[0] & /*isModalDisplayed*/
5065
+ X[0] & /*$_*/
5066
+ 64 && N !== (N = /*$_*/
5067
+ D[6]("DepositButton") + "") && Re(W, N), X[0] & /*isModalDisplayed*/
5054
5068
  8 && V !== (V = "ModalContent " + /*isModalDisplayed*/
5055
- (U[3] ? "Open" : "")) && M(a, "class", V), q[0] & /*isModalDisplayed*/
5056
- 8 && R !== (R = "BalanceModal " + /*isModalDisplayed*/
5057
- (U[3] ? "Open" : "")) && M(o, "class", R), q[0] & /*isModalDisplayed*/
5058
- 8 && D !== (D = "BalanceModalWrapper " + /*isModalDisplayed*/
5059
- (U[3] ? "Open" : "")) && M(t, "class", D);
5069
+ (D[3] ? "Open" : "")) && R(s, "class", V), X[0] & /*isModalDisplayed*/
5070
+ 8 && L !== (L = "BalanceModal " + /*isModalDisplayed*/
5071
+ (D[3] ? "Open" : "")) && R(o, "class", L), X[0] & /*isModalDisplayed*/
5072
+ 8 && U !== (U = "BalanceModalWrapper " + /*isModalDisplayed*/
5073
+ (D[3] ? "Open" : "")) && R(t, "class", U);
5060
5074
  },
5061
- d(U) {
5062
- U && pe(t), Yn($, U), k = !1, We(oe);
5075
+ d(D) {
5076
+ D && be(t), Jn(F, D), Q = !1, ze(Z);
5063
5077
  }
5064
5078
  };
5065
5079
  }
5066
- function Vn(e) {
5080
+ function zn(e) {
5067
5081
  let t, n, r = (
5068
5082
  /*$_*/
5069
5083
  e[6](
5070
5084
  /*k*/
5071
5085
  e[54]
5072
5086
  ) + ""
5073
- ), i, o, a = (
5087
+ ), i, o, s = (
5074
5088
  /*b*/
5075
5089
  (e[57].productType ? (
5076
5090
  /*$_*/
@@ -5079,7 +5093,7 @@ function Vn(e) {
5079
5093
  e[57].productType
5080
5094
  )
5081
5095
  ) : "") + ""
5082
- ), s, l, u, f, b = (
5096
+ ), a, u, l, f, b = (
5083
5097
  /*formatBalance*/
5084
5098
  e[8](
5085
5099
  /*b*/
@@ -5088,26 +5102,26 @@ function Vn(e) {
5088
5102
  ), m;
5089
5103
  return {
5090
5104
  c() {
5091
- t = j("div"), n = j("p"), i = we(r), o = Se(), s = we(a), l = Se(), u = j("p"), f = j("span"), m = we(b), M(n, "class", "BalanceModalText"), M(f, "class", "BalanceModalAmount"), M(u, "class", "BalanceModalValue"), M(t, "class", "BalanceModalRowLine");
5105
+ t = j("div"), n = j("p"), i = Se(r), o = Te(), a = Se(s), u = Te(), l = j("p"), f = j("span"), m = Se(b), R(n, "class", "BalanceModalText"), R(f, "class", "BalanceModalAmount"), R(l, "class", "BalanceModalValue"), R(t, "class", "BalanceModalRowLine");
5092
5106
  },
5093
- m(S, E) {
5094
- ge(S, t, E), P(t, n), P(n, i), P(n, o), P(n, s), P(t, l), P(t, u), P(u, f), P(f, m);
5107
+ m(S, _) {
5108
+ ye(S, t, _), I(t, n), I(n, i), I(n, o), I(n, a), I(t, u), I(t, l), I(l, f), I(f, m);
5095
5109
  },
5096
- p(S, E) {
5097
- E[0] & /*$_, balances*/
5110
+ p(S, _) {
5111
+ _[0] & /*$_, balances*/
5098
5112
  66 && r !== (r = /*$_*/
5099
5113
  S[6](
5100
5114
  /*k*/
5101
5115
  S[54]
5102
- ) + "") && Re(i, r), E[0] & /*balances, $_*/
5103
- 66 && a !== (a = /*b*/
5116
+ ) + "") && Re(i, r), _[0] & /*balances, $_*/
5117
+ 66 && s !== (s = /*b*/
5104
5118
  (S[57].productType ? (
5105
5119
  /*$_*/
5106
5120
  S[6](
5107
5121
  /*b*/
5108
5122
  S[57].productType
5109
5123
  )
5110
- ) : "") + "") && Re(s, a), E[0] & /*balances*/
5124
+ ) : "") + "") && Re(a, s), _[0] & /*balances*/
5111
5125
  2 && b !== (b = /*formatBalance*/
5112
5126
  S[8](
5113
5127
  /*b*/
@@ -5115,11 +5129,11 @@ function Vn(e) {
5115
5129
  ) + "") && Re(m, b);
5116
5130
  },
5117
5131
  d(S) {
5118
- S && pe(t);
5132
+ S && be(t);
5119
5133
  }
5120
5134
  };
5121
5135
  }
5122
- function Xn(e) {
5136
+ function Wn(e) {
5123
5137
  let t, n, r = _t(
5124
5138
  /*balances*/
5125
5139
  e[1][
@@ -5128,22 +5142,22 @@ function Xn(e) {
5128
5142
  ]
5129
5143
  ), i = [];
5130
5144
  for (let o = 0; o < r.length; o += 1)
5131
- i[o] = Vn(kn(e, r, o));
5145
+ i[o] = zn(Vn(e, r, o));
5132
5146
  return {
5133
5147
  c() {
5134
5148
  t = j("div");
5135
5149
  for (let o = 0; o < i.length; o += 1)
5136
5150
  i[o].c();
5137
- n = Se(), M(t, "class", "BalanceModalRowBoth");
5151
+ n = Te(), R(t, "class", "BalanceModalRowBoth");
5138
5152
  },
5139
- m(o, a) {
5140
- ge(o, t, a);
5141
- for (let s = 0; s < i.length; s += 1)
5142
- i[s] && i[s].m(t, null);
5143
- P(t, n);
5153
+ m(o, s) {
5154
+ ye(o, t, s);
5155
+ for (let a = 0; a < i.length; a += 1)
5156
+ i[a] && i[a].m(t, null);
5157
+ I(t, n);
5144
5158
  },
5145
- p(o, a) {
5146
- if (a[0] & /*formatBalance, balances, $_*/
5159
+ p(o, s) {
5160
+ if (s[0] & /*formatBalance, balances, $_*/
5147
5161
  322) {
5148
5162
  r = _t(
5149
5163
  /*balances*/
@@ -5152,83 +5166,83 @@ function Xn(e) {
5152
5166
  o[54]
5153
5167
  ]
5154
5168
  );
5155
- let s;
5156
- for (s = 0; s < r.length; s += 1) {
5157
- const l = kn(o, r, s);
5158
- i[s] ? i[s].p(l, a) : (i[s] = Vn(l), i[s].c(), i[s].m(t, n));
5169
+ let a;
5170
+ for (a = 0; a < r.length; a += 1) {
5171
+ const u = Vn(o, r, a);
5172
+ i[a] ? i[a].p(u, s) : (i[a] = zn(u), i[a].c(), i[a].m(t, n));
5159
5173
  }
5160
- for (; s < i.length; s += 1)
5161
- i[s].d(1);
5174
+ for (; a < i.length; a += 1)
5175
+ i[a].d(1);
5162
5176
  i.length = r.length;
5163
5177
  }
5164
5178
  },
5165
5179
  d(o) {
5166
- o && pe(t), Yn(i, o);
5180
+ o && be(t), Jn(i, o);
5167
5181
  }
5168
5182
  };
5169
5183
  }
5170
- function zn(e) {
5184
+ function Zn(e) {
5171
5185
  let t, n, r;
5172
5186
  return {
5173
5187
  c() {
5174
- t = j("button"), M(t, "class", "ShowBalanceModalOverlay");
5188
+ t = j("button"), R(t, "class", "ShowBalanceModalOverlay");
5175
5189
  },
5176
5190
  m(i, o) {
5177
- ge(i, t, o), n || (r = Et(
5191
+ ye(i, t, o), n || (r = Et(
5178
5192
  t,
5179
5193
  "click",
5180
5194
  /*click_handler_3*/
5181
5195
  e[29]
5182
5196
  ), n = !0);
5183
5197
  },
5184
- p: he,
5198
+ p: fe,
5185
5199
  d(i) {
5186
- i && pe(t), n = !1, r();
5200
+ i && be(t), n = !1, r();
5187
5201
  }
5188
5202
  };
5189
5203
  }
5190
- function ga(e) {
5204
+ function va(e) {
5191
5205
  let t, n, r, i;
5192
- function o(u, f) {
5206
+ function o(l, f) {
5193
5207
  return (
5194
5208
  /*isLoading*/
5195
- u[2] ? ba : ma
5209
+ l[2] ? ya : ga
5196
5210
  );
5197
5211
  }
5198
- let a = o(e), s = a(e), l = (
5212
+ let s = o(e), a = s(e), u = (
5199
5213
  /*showBalance*/
5200
- e[4] && zn(e)
5214
+ e[4] && Zn(e)
5201
5215
  );
5202
5216
  return {
5203
5217
  c() {
5204
- t = j("div"), n = j("div"), s.c(), i = Se(), l && l.c(), M(n, "class", r = "ShowBalance " + /*mobileView*/
5218
+ t = j("div"), n = j("div"), a.c(), i = Te(), u && u.c(), R(n, "class", r = "ShowBalance " + /*mobileView*/
5205
5219
  (e[5] ? "Mobile" : ""));
5206
5220
  },
5207
- m(u, f) {
5208
- ge(u, t, f), P(t, n), s.m(n, null), P(t, i), l && l.m(t, null), e[30](t);
5221
+ m(l, f) {
5222
+ ye(l, t, f), I(t, n), a.m(n, null), I(t, i), u && u.m(t, null), e[30](t);
5209
5223
  },
5210
- p(u, f) {
5211
- 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*/
5224
+ p(l, f) {
5225
+ s === (s = o(l)) && a ? a.p(l, f) : (a.d(1), a = s(l), a && (a.c(), a.m(n, null))), f[0] & /*mobileView*/
5212
5226
  32 && r !== (r = "ShowBalance " + /*mobileView*/
5213
- (u[5] ? "Mobile" : "")) && M(n, "class", r), /*showBalance*/
5214
- u[4] ? l ? l.p(u, f) : (l = zn(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5227
+ (l[5] ? "Mobile" : "")) && R(n, "class", r), /*showBalance*/
5228
+ l[4] ? u ? u.p(l, f) : (u = Zn(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
5215
5229
  },
5216
- i: he,
5217
- o: he,
5218
- d(u) {
5219
- u && pe(t), s.d(), l && l.d(), e[30](null);
5230
+ i: fe,
5231
+ o: fe,
5232
+ d(l) {
5233
+ l && be(t), a.d(), u && u.d(), e[30](null);
5220
5234
  }
5221
5235
  };
5222
5236
  }
5223
- function ya(e, t, n) {
5237
+ function Ea(e, t, n) {
5224
5238
  let r;
5225
- Ir(e, Yo, (c) => n(6, r = c));
5226
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: S = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencylocale: A = "en" } = t, { currencydisplay: I = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: R = "" } = t, D, k = !0, oe = !1, Z = !1, $ = !1, U = !1, q = window.navigator.userAgent, F, K = "", fe = [], ye;
5227
- const w = {}, ve = ["totalCashAmount", "totalRealAmount"], me = () => {
5228
- fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((d) => Rn(d, c[d]))).catch((c) => console.log(c));
5239
+ Fr(e, Jo, (c) => n(6, r = c));
5240
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: S = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { currencylocale: T = "en" } = t, { currencydisplay: N = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: L = "" } = t, U, Q, Z = !0, ee = !1, F = !1, D = !1, X = !1, k = window.navigator.userAgent, te, ve = "", ce = [], Ce;
5241
+ const x = {}, ae = ["totalCashAmount", "totalRealAmount"], He = () => {
5242
+ fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((p) => Pn(p, c[p]))).catch((c) => console.log(c));
5229
5243
  };
5230
- Object.keys(Ln).forEach((c) => Rn(c, Ln[c]));
5231
- const le = (c) => {
5244
+ Object.keys(In).forEach((c) => Pn(c, In[c]));
5245
+ const de = (c) => {
5232
5246
  switch (c) {
5233
5247
  case "balance":
5234
5248
  window.postMessage(
@@ -5237,10 +5251,10 @@ function ya(e, t, n) {
5237
5251
  status: "open"
5238
5252
  },
5239
5253
  window.location.href
5240
- ), n(4, $ = !0), setTimeout(() => n(3, oe = !0), 150);
5254
+ ), n(4, D = !0), setTimeout(() => n(3, ee = !0), 150);
5241
5255
  break;
5242
5256
  case "closebalance":
5243
- n(3, oe = !1), window.postMessage(
5257
+ n(3, ee = !1), window.postMessage(
5244
5258
  {
5245
5259
  type: "BalanceModalStatus",
5246
5260
  status: "close"
@@ -5248,114 +5262,114 @@ function ya(e, t, n) {
5248
5262
  window.location.href
5249
5263
  ), setTimeout(
5250
5264
  () => {
5251
- n(4, $ = !1);
5265
+ n(4, D = !1);
5252
5266
  },
5253
5267
  150
5254
5268
  );
5255
5269
  break;
5256
5270
  }
5257
- }, Oe = (c) => {
5258
- if (R)
5259
- return Qe(c);
5260
- const d = A || s, p = {
5271
+ }, Ye = (c) => {
5272
+ if (L)
5273
+ return ge(c);
5274
+ const p = T || a, E = {
5261
5275
  style: "currency",
5262
- currency: K,
5276
+ currency: ve,
5263
5277
  useGrouping: !0,
5264
- currencyDisplay: I || "code",
5278
+ currencyDisplay: N || "code",
5265
5279
  maximumFractionDigits: W === "" || isNaN(Number(W)) ? 2 : Number(W),
5266
5280
  minimumFractionDigits: V === "" || isNaN(Number(V)) ? 0 : Number(V)
5267
5281
  };
5268
- return new Intl.NumberFormat(d, p).format(c);
5269
- }, Qe = (c) => {
5270
- const d = [];
5271
- let p = "";
5272
- for (const x of R)
5273
- switch (x) {
5282
+ return new Intl.NumberFormat(p, E).format(c);
5283
+ }, ge = (c) => {
5284
+ const p = [];
5285
+ let E = "";
5286
+ for (const v of L)
5287
+ switch (v) {
5274
5288
  default:
5275
- p += x;
5289
+ E += v;
5276
5290
  break;
5277
5291
  case "{":
5278
- p && d.push(p), p = "";
5292
+ E && p.push(E), E = "";
5279
5293
  break;
5280
5294
  case "}":
5281
- const [T, C] = p.split("|");
5282
- if (p = "", T.toLowerCase() === "currency")
5283
- p = K;
5284
- else if (T.toLowerCase() === "amount") {
5285
- let v = ",", B = ".", N = 2;
5286
- C && (C[0] !== " " && (v = C[0]), C[1] !== " " && (B = C[1]), C[2] !== " " && !isNaN(Number(C[2])) && (N = Number(C[2])));
5287
- let [ee, Ce] = String(Math.floor(c * Nt(10, N)) / Nt(10, N)).split(".");
5288
- p += ee[0];
5289
- for (let X = 1; X < ee.length; ++X)
5290
- (ee.length - X) % 3 === 0 ? p += v + ee[X] : p += ee[X];
5291
- Ce && (p += B + Ce);
5295
+ const [B, A] = E.split("|");
5296
+ if (E = "", B.toLowerCase() === "currency")
5297
+ E = ve;
5298
+ else if (B.toLowerCase() === "amount") {
5299
+ let d = ",", H = ".", J = 2;
5300
+ A && (A[0] !== " " && (d = A[0]), A[1] !== " " && (H = A[1]), A[2] !== " " && !isNaN(Number(A[2])) && (J = Number(A[2])));
5301
+ let [pe, ne] = String(Math.floor(c * It(10, J)) / It(10, J)).split(".");
5302
+ E += pe[0];
5303
+ for (let $ = 1; $ < pe.length; ++$)
5304
+ (pe.length - $) % 3 === 0 ? E += d + pe[$] : E += pe[$];
5305
+ ne && (E += H + ne);
5292
5306
  }
5293
- p && d.push(p), p = "";
5307
+ E && p.push(E), E = "";
5294
5308
  break;
5295
5309
  }
5296
- return d.push(p), d.join("");
5297
- }, be = () => Ut(this, null, function* () {
5298
- var d, p, x;
5299
- n(2, k = !0);
5300
- const c = new URL(`${a}/v1/player/${i}/account`);
5310
+ return p.push(E), p.join("");
5311
+ }, Qe = () => Ut(this, null, function* () {
5312
+ var p, E, v;
5313
+ n(2, Z = !0);
5314
+ const c = new URL(`${s}/v1/player/${i}/account`);
5301
5315
  try {
5302
- const T = yield fetch(c, {
5316
+ const B = yield fetch(c, {
5303
5317
  method: "GET",
5304
5318
  headers: { "X-SessionID": o }
5305
- }), C = yield T.json();
5306
- if (T.ok)
5307
- window.postMessage({ type: "BalancedFetched" }, window.location.href), fe = C.items, K = (d = fe.find((v) => v.displayName === "Casino")) == null ? void 0 : d.currency, n(1, w.Total = [{ amount: C.totalAmount[K] }], w), n(
5319
+ }), A = yield B.json();
5320
+ if (B.ok)
5321
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), ce = A.items, ve = (p = ce.find((d) => d.displayName === "Casino")) == null ? void 0 : p.currency, n(1, x.Total = [{ amount: A.totalAmount[ve] }], x), n(
5308
5322
  1,
5309
- w.Real = [
5323
+ x.Real = [
5310
5324
  {
5311
- amount: (p = fe.find((v) => v.displayName === "Casino")) == null ? void 0 : p.balanceAmount
5325
+ amount: (E = ce.find((d) => d.displayName === "Casino")) == null ? void 0 : E.balanceAmount
5312
5326
  }
5313
5327
  ],
5314
- w
5328
+ x
5315
5329
  ), n(
5316
5330
  1,
5317
- w.Bonus = [
5331
+ x.Bonus = [
5318
5332
  {
5319
- amount: (x = fe.find((v) => v.displayName === "UBS")) == null ? void 0 : x.balanceAmount
5333
+ amount: (v = ce.find((d) => d.displayName === "UBS")) == null ? void 0 : v.balanceAmount
5320
5334
  }
5321
5335
  ],
5322
- w
5336
+ x
5323
5337
  );
5324
5338
  else
5325
5339
  throw new Error("Failed to fetch balance data !");
5326
- } catch (T) {
5327
- console.log("Balance error: ", T);
5340
+ } catch (B) {
5341
+ console.log("Balance error: ", B);
5328
5342
  } finally {
5329
- n(2, k = !1);
5343
+ n(2, Z = !1);
5330
5344
  }
5331
- }), Je = () => {
5332
- n(2, k = !0);
5333
- const c = new URL(`${a}/v2/player/${i}/balance`), d = new Headers();
5334
- d.append("X-SessionID", o), fetch(c, { method: "GET", headers: d }).then((x) => x.json()).then((x) => {
5335
- x[E] || n(10, E = ve[0]);
5336
- const T = x.items.find((v) => v.type === "Real" && v.walletAccountType === "Ordinary");
5337
- if (K = T.currency, Z = !!T.productType, n(1, w.Total = [{ amount: 0 }], w), n(1, w.Real = [], w), n(1, w.Bonus = [], w), n(1, w.Credit = [], w), !Z) {
5338
- ye = {
5345
+ }), lt = () => {
5346
+ n(2, Z = !0);
5347
+ const c = new URL(`${s}/v2/player/${i}/balance`), p = new Headers();
5348
+ p.append("X-SessionID", o), fetch(c, { method: "GET", headers: p }).then((v) => v.json()).then((v) => {
5349
+ v[_] || n(10, _ = ae[0]);
5350
+ const B = v.items.find((d) => d.type === "Real" && d.walletAccountType === "Ordinary");
5351
+ if (ve = B.currency, F = !!B.productType, n(1, x.Total = [{ amount: 0 }], x), n(1, x.Real = [], x), n(1, x.Bonus = [], x), n(1, x.Credit = [], x), !F) {
5352
+ Ce = {
5339
5353
  lastOrdinaryAfterAmount: 0,
5340
5354
  showCreditLineAfterAmount: !1
5341
- }, n(1, w.Total[0].amount = x[E][K], w);
5342
- for (const v of x.items)
5343
- switch (v.type) {
5355
+ }, n(1, x.Total[0].amount = v[_][ve], x);
5356
+ for (const d of v.items)
5357
+ switch (d.type) {
5344
5358
  case "Bonus":
5345
- w.Bonus.length === 0 ? w.Bonus.push({ amount: v.amount }) : n(1, w.Bonus[0].amount += v.amount, w);
5359
+ x.Bonus.length === 0 ? x.Bonus.push({ amount: d.amount }) : n(1, x.Bonus[0].amount += d.amount, x);
5346
5360
  break;
5347
5361
  case "Real":
5348
- if (v.creditLine && w.Credit.length === 0 && w.Credit.push({ amount: v.creditLine }), E === "totalRealAmount")
5362
+ if (d.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: d.creditLine }), _ === "totalRealAmount")
5349
5363
  continue;
5350
- w.Real.length === 0 ? w.Real.push({ amount: v.amount }) : n(1, w.Real[0].amount += v.amount, w);
5364
+ x.Real.length === 0 ? x.Real.push({ amount: d.amount }) : n(1, x.Real[0].amount += d.amount, x);
5351
5365
  break;
5352
5366
  }
5353
- for (const [v, B] of Object.entries(w))
5354
- B.length < 1 && delete w[v];
5355
- n(2, k = !1);
5367
+ for (const [d, H] of Object.entries(x))
5368
+ H.length < 1 && delete x[d];
5369
+ n(2, Z = !1);
5356
5370
  return;
5357
5371
  }
5358
- ye = {
5372
+ Ce = {
5359
5373
  Casino: {
5360
5374
  lastOrdinaryAfterAmount: 0,
5361
5375
  showCreditLineAfterAmount: !1
@@ -5365,202 +5379,202 @@ function ya(e, t, n) {
5365
5379
  showCreditLineAfterAmount: !1
5366
5380
  }
5367
5381
  };
5368
- let C = x.items;
5369
- S && S !== "All" && (C = x.items.filter((v) => v.productType === S));
5370
- for (const v of C) {
5371
- let B;
5372
- switch (v.type) {
5382
+ let A = v.items;
5383
+ S && S !== "All" && (A = v.items.filter((d) => d.productType === S));
5384
+ for (const d of A) {
5385
+ let H;
5386
+ switch (d.type) {
5373
5387
  case "Bonus":
5374
- B = w.Bonus.findIndex((N) => N.productType === v.productType), B > 0 ? n(1, w.Bonus[B].amount += v.amount, w) : w.Bonus.push({
5375
- amount: v.amount,
5376
- productType: v.productType
5388
+ H = x.Bonus.findIndex((J) => J.productType === d.productType), H > 0 ? n(1, x.Bonus[H].amount += d.amount, x) : x.Bonus.push({
5389
+ amount: d.amount,
5390
+ productType: d.productType
5377
5391
  });
5378
5392
  break;
5379
5393
  case "Real":
5380
- v.creditLine && w.Credit.push({
5381
- amount: v.creditLine,
5382
- productType: v.productType
5383
- }), B = w.Real.findIndex((N) => N.productType === v.productType), B > 0 ? n(1, w.Real[B].amount += v.amount, w) : w.Real.push({
5384
- amount: v.amount,
5385
- productType: v.productType
5394
+ d.creditLine && x.Credit.push({
5395
+ amount: d.creditLine,
5396
+ productType: d.productType
5397
+ }), H = x.Real.findIndex((J) => J.productType === d.productType), H > 0 ? n(1, x.Real[H].amount += d.amount, x) : x.Real.push({
5398
+ amount: d.amount,
5399
+ productType: d.productType
5386
5400
  });
5387
5401
  break;
5388
5402
  }
5389
5403
  }
5390
- lt();
5391
- for (const [v, B] of Object.entries(w))
5392
- B.length < 1 && delete w[v];
5393
- n(2, k = !1);
5394
- }).catch((x) => {
5395
- throw n(2, k = !1), console.log("Balance fetch error", x), new Error("Failed to fetch balance data!");
5404
+ Pe();
5405
+ for (const [d, H] of Object.entries(x))
5406
+ H.length < 1 && delete x[d];
5407
+ n(2, Z = !1);
5408
+ }).catch((v) => {
5409
+ throw n(2, Z = !1), console.log("Balance fetch error", v), new Error("Failed to fetch balance data!");
5396
5410
  });
5397
- }, Pe = () => {
5398
- if (F && F.close(), o.length < 1)
5411
+ }, Je = () => {
5412
+ if (te && te.close(), o.length < 1)
5399
5413
  return;
5400
- let c, d;
5414
+ let c, p;
5401
5415
  switch (m) {
5402
5416
  case "gm16":
5403
- c = new URL(`${a}/v2/player/${i}/information/updates`), d = (T) => et(T);
5417
+ c = new URL(`${s}/v2/player/${i}/information/updates`), p = (B) => et(B);
5404
5418
  break;
5405
5419
  case "gmcore":
5406
- c = new URL(`${a}/v1/player/${i}/balance/updates`), d = (T) => Ht(T);
5420
+ c = new URL(`${s}/v1/player/${i}/balance/updates`), p = (B) => Ht(B);
5407
5421
  break;
5408
5422
  }
5409
- const p = {
5423
+ const E = {
5410
5424
  accept: "text/event-stream",
5411
5425
  "X-SessionId": o
5412
- }, x = new Jo.EventSourcePolyfill(c, { headers: p });
5413
- F = x, x.addEventListener("message", d);
5426
+ }, v = new ea.EventSourcePolyfill(c, { headers: E });
5427
+ te = v, v.addEventListener("message", p);
5414
5428
  }, ut = (c) => {
5415
- let d;
5429
+ let p;
5416
5430
  try {
5417
- d = JSON.parse(c);
5418
- } catch (p) {
5419
- console.log("Balance stream failed: ", p);
5431
+ p = JSON.parse(c);
5432
+ } catch (E) {
5433
+ console.log("Balance stream failed: ", E);
5420
5434
  return;
5421
5435
  }
5422
- return d;
5436
+ return p;
5423
5437
  }, Ht = (c) => {
5424
- var T, C;
5425
- const d = ut(c.data);
5426
- if (!d) {
5427
- Pe();
5438
+ var B, A;
5439
+ const p = ut(c.data);
5440
+ if (!p) {
5441
+ Je();
5428
5442
  return;
5429
5443
  }
5430
- let p = "0";
5431
- const x = d.balanceChange;
5432
- fe = fe.map((v) => (x && x[v.id] && (v = Dt(It({}, v), {
5433
- balanceAmount: x[v.id].afterAmount
5434
- })), p = (parseFloat(v == null ? void 0 : v.balanceAmount) + parseFloat(p)).toString(), v)), n(1, w.Real = [{ amount: (T = fe[0]) == null ? void 0 : T.balanceAmount }], w), n(1, w.Bonus = [{ amount: (C = fe[1]) == null ? void 0 : C.balanceAmount }], w), n(1, w.Total = [{ amount: Number(p) }], w);
5435
- }, Ke = (c, d, p) => {
5436
- let x = null;
5437
- switch (p.walletAccountType) {
5444
+ let E = "0";
5445
+ const v = p.balanceChange;
5446
+ ce = ce.map((d) => (v && v[d.id] && (d = Dt(Nt({}, d), {
5447
+ balanceAmount: v[d.id].afterAmount
5448
+ })), E = (parseFloat(d == null ? void 0 : d.balanceAmount) + parseFloat(E)).toString(), d)), n(1, x.Real = [{ amount: (B = ce[0]) == null ? void 0 : B.balanceAmount }], x), n(1, x.Bonus = [{ amount: (A = ce[1]) == null ? void 0 : A.balanceAmount }], x), n(1, x.Total = [{ amount: Number(E) }], x);
5449
+ }, Ke = (c, p, E) => {
5450
+ let v = null;
5451
+ switch (E.walletAccountType) {
5438
5452
  case "Ordinary":
5439
- (p.afterAmount !== p.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = p.afterAmount, d.showCreditLineAfterAmount || (x = p.afterAmount));
5453
+ (E.afterAmount !== E.affectedAmount || p.lastOrdinaryAfterAmount === 0) && (p.lastOrdinaryAfterAmount = E.afterAmount, p.showCreditLineAfterAmount || (v = E.afterAmount));
5440
5454
  break;
5441
5455
  case "CreditLine":
5442
- p.afterAmount !== 0 ? (x = p.afterAmount, d.showCreditLineAfterAmount = !0) : (x = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
5456
+ E.afterAmount !== 0 ? (v = E.afterAmount, p.showCreditLineAfterAmount = !0) : (v = p.lastOrdinaryAfterAmount, p.showCreditLineAfterAmount = !1);
5443
5457
  break;
5444
5458
  default:
5445
- x = p.afterAmount;
5459
+ v = E.afterAmount;
5446
5460
  }
5447
- return x === null ? c : x;
5448
- }, lt = () => {
5449
- switch (E) {
5461
+ return v === null ? c : v;
5462
+ }, Pe = () => {
5463
+ switch (_) {
5450
5464
  case "totalCashAmount":
5451
5465
  let c = 0;
5452
- for (const p of ["Real", "Bonus"])
5453
- for (const x of w[p])
5454
- c += Math.max(x.amount, 0);
5455
- n(1, w.Total[0].amount = c, w);
5466
+ for (const E of ["Real", "Bonus"])
5467
+ for (const v of x[E])
5468
+ c += Math.max(v.amount, 0);
5469
+ n(1, x.Total[0].amount = c, x);
5456
5470
  break;
5457
5471
  case "totalRealAmount":
5458
- if (!Z)
5472
+ if (!F)
5459
5473
  return;
5460
- let d = 0;
5461
- for (const p of w.Real)
5462
- d += p.amount;
5463
- n(1, w.Total[0].amount = d, w);
5474
+ let p = 0;
5475
+ for (const E of x.Real)
5476
+ p += E.amount;
5477
+ n(1, x.Total[0].amount = p, x);
5464
5478
  }
5465
5479
  }, et = (c) => {
5466
- const d = ut(c.data);
5467
- if (!d) {
5468
- Pe();
5480
+ const p = ut(c.data);
5481
+ if (!p) {
5482
+ Je();
5469
5483
  return;
5470
5484
  }
5471
- if (Ae(d == null ? void 0 : d.type) || d.type !== "BALANCE_UPDATE_V2")
5485
+ if (se(p == null ? void 0 : p.type) || p.type !== "BALANCE_UPDATE_V2")
5472
5486
  return;
5473
- const p = d.body.balanceChange;
5474
- for (const [x, T] of Object.entries(p))
5475
- if (E === "totalRealAmount" && x === "Real" && !Z && n(1, w.Total[0].amount = Ke(w.Total[0].amount, ye, T), w), !!w[x])
5476
- for (const C of w[x]) {
5477
- if (!Z) {
5478
- C.amount = x === "Real" ? Ke(C.amount, ye, T) : T.afterAmount;
5487
+ const E = p.body.balanceChange;
5488
+ for (const [v, B] of Object.entries(E))
5489
+ if (_ === "totalRealAmount" && v === "Real" && !F && n(1, x.Total[0].amount = Ke(x.Total[0].amount, Ce, B), x), !!x[v])
5490
+ for (const A of x[v]) {
5491
+ if (!F) {
5492
+ A.amount = v === "Real" ? Ke(A.amount, Ce, B) : B.afterAmount;
5479
5493
  continue;
5480
5494
  }
5481
- T.productType === C.productType && (C.amount = x === "Real" ? Ke(C.amount, ye[C.productType], T) : T.afterAmount);
5495
+ B.productType === A.productType && (A.amount = v === "Real" ? Ke(A.amount, Ce[A.productType], B) : B.afterAmount);
5482
5496
  }
5483
- lt();
5484
- }, Ne = () => {
5485
- le("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5486
- }, Ae = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, ae = () => {
5487
- ve.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${ve}. Using default value ('${ve[0]}').`), n(10, E = ve[0]));
5488
- }, Ot = () => {
5489
- switch (Qo(s), ae(), m) {
5497
+ Pe();
5498
+ }, Ee = () => {
5499
+ de("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5500
+ }, se = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Ot = () => {
5501
+ ae.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ae}. Using default value ('${ae[0]}').`), n(10, _ = ae[0]));
5502
+ }, Mt = () => {
5503
+ switch (Ko(a), Ot(), m) {
5490
5504
  case "gmcore":
5491
- be();
5505
+ Qe();
5492
5506
  break;
5493
5507
  case "gm16":
5494
- Je();
5508
+ lt();
5495
5509
  break;
5496
5510
  default:
5497
5511
  throw Error(`Invalid apiversion attribute: ${m}`);
5498
5512
  }
5499
- }, ct = (c) => c.data && c.data.type === "LogoutSuccessfull" && F.close(), Mt = () => {
5513
+ }, ct = (c) => c.data && c.data.type === "LogoutSuccessfull" && te.close(), ht = () => {
5500
5514
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5501
5515
  };
5502
- Vr(() => (window.addEventListener("message", ct, !1), n(5, U = da(q)), () => {
5503
- window.removeEventListener("message", ct), F && F.close();
5516
+ Wr(() => (window.addEventListener("message", ct, !1), n(5, X = ma(k)), () => {
5517
+ window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", ct), te && te.close();
5504
5518
  }));
5505
- const ht = () => le("balance"), h = () => le("closebalance"), y = () => Ne(), _ = () => le("closebalance");
5506
- function g(c) {
5507
- zt[c ? "unshift" : "push"](() => {
5508
- D = c, n(0, D);
5519
+ const h = () => de("balance"), y = () => de("closebalance"), w = () => Ee(), g = () => de("closebalance");
5520
+ function C(c) {
5521
+ Wt[c ? "unshift" : "push"](() => {
5522
+ U = c, n(0, U);
5509
5523
  });
5510
5524
  }
5511
5525
  return e.$$set = (c) => {
5512
- "userid" in c && n(11, i = c.userid), "session" in c && n(12, o = c.session), "endpoint" in c && n(13, a = c.endpoint), "lang" in c && n(14, s = c.lang), "mbsource" in c && n(15, l = c.mbsource), "clientstyling" in c && n(16, u = c.clientstyling), "clientstylingurl" in c && n(17, f = c.clientstylingurl), "translationurl" in c && n(18, b = c.translationurl), "gmversion" in c && n(19, m = c.gmversion), "displaybalanceoption" in c && n(20, S = c.displaybalanceoption), "totalcalculationmode" in c && n(10, E = c.totalcalculationmode), "currencylocale" in c && n(21, A = c.currencylocale), "currencydisplay" in c && n(22, I = c.currencydisplay), "maximumfractiondigits" in c && n(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && n(24, V = c.minimumfractiondigits), "customdisplayformat" in c && n(25, R = c.customdisplayformat);
5526
+ "userid" in c && n(11, i = c.userid), "session" in c && n(12, o = c.session), "endpoint" in c && n(13, s = c.endpoint), "lang" in c && n(14, a = c.lang), "mbsource" in c && n(15, u = c.mbsource), "clientstyling" in c && n(16, l = c.clientstyling), "clientstylingurl" in c && n(17, f = c.clientstylingurl), "translationurl" in c && n(18, b = c.translationurl), "gmversion" in c && n(19, m = c.gmversion), "displaybalanceoption" in c && n(20, S = c.displaybalanceoption), "totalcalculationmode" in c && n(10, _ = c.totalcalculationmode), "currencylocale" in c && n(21, T = c.currencylocale), "currencydisplay" in c && n(22, N = c.currencydisplay), "maximumfractiondigits" in c && n(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && n(24, V = c.minimumfractiondigits), "customdisplayformat" in c && n(25, L = c.customdisplayformat);
5513
5527
  }, e.$$.update = () => {
5514
5528
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5515
- 1603584 && a && i && o && s && m && S && Ot(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5516
- 538624 && a && i && o && m && Pe(), e.$$.dirty[0] & /*translationurl*/
5517
- 262144 && b && me(), e.$$.dirty[0] & /*balances*/
5518
- 2 && w.Total && Mt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5519
- 65537 && u && D && ii(D, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5520
- 131073 && f && D && oi(D, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5521
- 32769 && l && D && ai(D, `${l}.Style`);
5529
+ 1603584 && s && i && o && a && m && S && Mt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5530
+ 538624 && s && i && o && m && Je(), e.$$.dirty[0] & /*translationurl*/
5531
+ 262144 && b && He(), e.$$.dirty[0] & /*balances*/
5532
+ 2 && x.Total && ht(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5533
+ 65537 && l && U && si(U, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5534
+ 131073 && f && U && li(U, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5535
+ 32769 && u && U && ui(U, `${u}.Style`);
5522
5536
  }, [
5523
- D,
5524
- w,
5525
- k,
5526
- oe,
5527
- $,
5528
5537
  U,
5538
+ x,
5539
+ Z,
5540
+ ee,
5541
+ D,
5542
+ X,
5529
5543
  r,
5530
- le,
5531
- Oe,
5532
- Ne,
5533
- E,
5544
+ de,
5545
+ Ye,
5546
+ Ee,
5547
+ _,
5534
5548
  i,
5535
5549
  o,
5536
- a,
5537
5550
  s,
5538
- l,
5551
+ a,
5539
5552
  u,
5553
+ l,
5540
5554
  f,
5541
5555
  b,
5542
5556
  m,
5543
5557
  S,
5544
- A,
5545
- I,
5558
+ T,
5559
+ N,
5546
5560
  W,
5547
5561
  V,
5548
- R,
5549
- ht,
5562
+ L,
5550
5563
  h,
5551
5564
  y,
5552
- _,
5553
- g
5565
+ w,
5566
+ g,
5567
+ C
5554
5568
  ];
5555
5569
  }
5556
- class va extends ni {
5570
+ class _a extends oi {
5557
5571
  constructor(t) {
5558
- super(), ei(
5572
+ super(), ri(
5559
5573
  this,
5560
5574
  t,
5561
- ya,
5562
- ga,
5563
- Zn,
5575
+ Ea,
5576
+ va,
5577
+ Yn,
5564
5578
  {
5565
5579
  userid: 11,
5566
5580
  session: 12,
@@ -5579,7 +5593,7 @@ class va extends ni {
5579
5593
  minimumfractiondigits: 24,
5580
5594
  customdisplayformat: 25
5581
5595
  },
5582
- pa,
5596
+ ba,
5583
5597
  [-1, -1]
5584
5598
  );
5585
5599
  }
@@ -5587,100 +5601,100 @@ class va extends ni {
5587
5601
  return this.$$.ctx[11];
5588
5602
  }
5589
5603
  set userid(t) {
5590
- this.$$set({ userid: t }), Q();
5604
+ this.$$set({ userid: t }), Y();
5591
5605
  }
5592
5606
  get session() {
5593
5607
  return this.$$.ctx[12];
5594
5608
  }
5595
5609
  set session(t) {
5596
- this.$$set({ session: t }), Q();
5610
+ this.$$set({ session: t }), Y();
5597
5611
  }
5598
5612
  get endpoint() {
5599
5613
  return this.$$.ctx[13];
5600
5614
  }
5601
5615
  set endpoint(t) {
5602
- this.$$set({ endpoint: t }), Q();
5616
+ this.$$set({ endpoint: t }), Y();
5603
5617
  }
5604
5618
  get lang() {
5605
5619
  return this.$$.ctx[14];
5606
5620
  }
5607
5621
  set lang(t) {
5608
- this.$$set({ lang: t }), Q();
5622
+ this.$$set({ lang: t }), Y();
5609
5623
  }
5610
5624
  get mbsource() {
5611
5625
  return this.$$.ctx[15];
5612
5626
  }
5613
5627
  set mbsource(t) {
5614
- this.$$set({ mbsource: t }), Q();
5628
+ this.$$set({ mbsource: t }), Y();
5615
5629
  }
5616
5630
  get clientstyling() {
5617
5631
  return this.$$.ctx[16];
5618
5632
  }
5619
5633
  set clientstyling(t) {
5620
- this.$$set({ clientstyling: t }), Q();
5634
+ this.$$set({ clientstyling: t }), Y();
5621
5635
  }
5622
5636
  get clientstylingurl() {
5623
5637
  return this.$$.ctx[17];
5624
5638
  }
5625
5639
  set clientstylingurl(t) {
5626
- this.$$set({ clientstylingurl: t }), Q();
5640
+ this.$$set({ clientstylingurl: t }), Y();
5627
5641
  }
5628
5642
  get translationurl() {
5629
5643
  return this.$$.ctx[18];
5630
5644
  }
5631
5645
  set translationurl(t) {
5632
- this.$$set({ translationurl: t }), Q();
5646
+ this.$$set({ translationurl: t }), Y();
5633
5647
  }
5634
5648
  get gmversion() {
5635
5649
  return this.$$.ctx[19];
5636
5650
  }
5637
5651
  set gmversion(t) {
5638
- this.$$set({ gmversion: t }), Q();
5652
+ this.$$set({ gmversion: t }), Y();
5639
5653
  }
5640
5654
  get displaybalanceoption() {
5641
5655
  return this.$$.ctx[20];
5642
5656
  }
5643
5657
  set displaybalanceoption(t) {
5644
- this.$$set({ displaybalanceoption: t }), Q();
5658
+ this.$$set({ displaybalanceoption: t }), Y();
5645
5659
  }
5646
5660
  get totalcalculationmode() {
5647
5661
  return this.$$.ctx[10];
5648
5662
  }
5649
5663
  set totalcalculationmode(t) {
5650
- this.$$set({ totalcalculationmode: t }), Q();
5664
+ this.$$set({ totalcalculationmode: t }), Y();
5651
5665
  }
5652
5666
  get currencylocale() {
5653
5667
  return this.$$.ctx[21];
5654
5668
  }
5655
5669
  set currencylocale(t) {
5656
- this.$$set({ currencylocale: t }), Q();
5670
+ this.$$set({ currencylocale: t }), Y();
5657
5671
  }
5658
5672
  get currencydisplay() {
5659
5673
  return this.$$.ctx[22];
5660
5674
  }
5661
5675
  set currencydisplay(t) {
5662
- this.$$set({ currencydisplay: t }), Q();
5676
+ this.$$set({ currencydisplay: t }), Y();
5663
5677
  }
5664
5678
  get maximumfractiondigits() {
5665
5679
  return this.$$.ctx[23];
5666
5680
  }
5667
5681
  set maximumfractiondigits(t) {
5668
- this.$$set({ maximumfractiondigits: t }), Q();
5682
+ this.$$set({ maximumfractiondigits: t }), Y();
5669
5683
  }
5670
5684
  get minimumfractiondigits() {
5671
5685
  return this.$$.ctx[24];
5672
5686
  }
5673
5687
  set minimumfractiondigits(t) {
5674
- this.$$set({ minimumfractiondigits: t }), Q();
5688
+ this.$$set({ minimumfractiondigits: t }), Y();
5675
5689
  }
5676
5690
  get customdisplayformat() {
5677
5691
  return this.$$.ctx[25];
5678
5692
  }
5679
5693
  set customdisplayformat(t) {
5680
- this.$$set({ customdisplayformat: t }), Q();
5694
+ this.$$set({ customdisplayformat: t }), Y();
5681
5695
  }
5682
5696
  }
5683
- ti(va, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5697
+ ii(_a, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5684
5698
  export {
5685
- va as default
5699
+ _a as default
5686
5700
  };