@everymatrix/player-account-balance-modal-nd 1.89.0 → 1.89.1

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.
@@ -9,9 +9,9 @@ var kt = Math.pow, Gt = (e, t, n) => t in e ? Dr(e, t, { enumerable: !0, configu
9
9
  for (var n of xn(t))
10
10
  kr.call(t, n) && Gt(e, n, t[n]);
11
11
  return e;
12
- }, $t = (e, t) => Ur(e, Fr(t));
13
- var _e = (e, t, n) => (Gt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Vt = (e, t, n) => new Promise((r, i) => {
12
+ }, Vt = (e, t) => Ur(e, Fr(t));
13
+ var xe = (e, t, n) => (Gt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var $t = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  s(n.next(u));
@@ -27,15 +27,15 @@ var Vt = (e, t, n) => new Promise((r, i) => {
27
27
  }, s = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, a);
28
28
  s((n = n.apply(e, t)).next());
29
29
  });
30
- function Ee() {
30
+ function we() {
31
31
  }
32
32
  function nr(e) {
33
33
  return e();
34
34
  }
35
- function Bn() {
35
+ function wn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function tt(e) {
38
+ function rt(e) {
39
39
  e.forEach(nr);
40
40
  }
41
41
  function vn(e) {
@@ -51,21 +51,21 @@ function ir(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return Ee;
54
+ return we;
55
55
  }
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function $r(e, t, n) {
59
+ function Vr(e, t, n) {
60
60
  e.$$.on_destroy.push(ir(t, n));
61
61
  }
62
- function M(e, t) {
62
+ function R(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Vr(e, t, n) {
65
+ function $r(e, t, n) {
66
66
  const r = Xr(e);
67
67
  if (!r.getElementById(t)) {
68
- const i = X("style");
68
+ const i = z("style");
69
69
  i.id = t, i.textContent = n, zr(r, i);
70
70
  }
71
71
  }
@@ -80,13 +80,13 @@ function Xr(e) {
80
80
  ) : e.ownerDocument;
81
81
  }
82
82
  function zr(e, t) {
83
- return M(
83
+ return R(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function xe(e, t, n) {
89
+ function Be(e, t, n) {
90
90
  e.insertBefore(t, n || null);
91
91
  }
92
92
  function ve(e) {
@@ -96,22 +96,22 @@ function or(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
- function X(e) {
99
+ function z(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function wn(e) {
102
+ function Bn(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function Te(e) {
105
+ function Ce(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Se() {
109
- return Te(" ");
108
+ function Ae() {
109
+ return Ce(" ");
110
110
  }
111
111
  function Wr() {
112
- return Te("");
112
+ return Ce("");
113
113
  }
114
- function Ye(e, t, n, r) {
114
+ function Je(e, t, n, r) {
115
115
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
117
  function L(e, t, n) {
@@ -120,7 +120,7 @@ function L(e, t, n) {
120
120
  function Zr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
- function Ie(e, t) {
123
+ function Ne(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
@@ -133,98 +133,98 @@ function qr(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let dt;
137
- function ft(e) {
138
- dt = e;
136
+ let pt;
137
+ function dt(e) {
138
+ pt = e;
139
139
  }
140
140
  function Yr() {
141
- if (!dt)
141
+ if (!pt)
142
142
  throw new Error("Function called outside component initialization");
143
- return dt;
143
+ return pt;
144
144
  }
145
145
  function Qr(e) {
146
146
  Yr().$$.on_mount.push(e);
147
147
  }
148
- const We = [], Kt = [];
149
- let qe = [];
148
+ const qe = [], Kt = [];
149
+ let Qe = [];
150
150
  const Sn = [], Jr = /* @__PURE__ */ Promise.resolve();
151
151
  let en = !1;
152
152
  function Kr() {
153
- en || (en = !0, Jr.then(Y));
153
+ en || (en = !0, Jr.then(Z));
154
154
  }
155
155
  function tn(e) {
156
- qe.push(e);
156
+ Qe.push(e);
157
157
  }
158
158
  const Xt = /* @__PURE__ */ new Set();
159
- let Xe = 0;
160
- function Y() {
161
- if (Xe !== 0)
159
+ let We = 0;
160
+ function Z() {
161
+ if (We !== 0)
162
162
  return;
163
- const e = dt;
163
+ const e = pt;
164
164
  do {
165
165
  try {
166
- for (; Xe < We.length; ) {
167
- const t = We[Xe];
168
- Xe++, ft(t), ei(t.$$);
166
+ for (; We < qe.length; ) {
167
+ const t = qe[We];
168
+ We++, dt(t), ei(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw We.length = 0, Xe = 0, t;
171
+ throw qe.length = 0, We = 0, t;
172
172
  }
173
- for (ft(null), We.length = 0, Xe = 0; Kt.length; )
173
+ for (dt(null), qe.length = 0, We = 0; Kt.length; )
174
174
  Kt.pop()();
175
- for (let t = 0; t < qe.length; t += 1) {
176
- const n = qe[t];
175
+ for (let t = 0; t < Qe.length; t += 1) {
176
+ const n = Qe[t];
177
177
  Xt.has(n) || (Xt.add(n), n());
178
178
  }
179
- qe.length = 0;
180
- } while (We.length);
179
+ Qe.length = 0;
180
+ } while (qe.length);
181
181
  for (; Sn.length; )
182
182
  Sn.pop()();
183
- en = !1, Xt.clear(), ft(e);
183
+ en = !1, Xt.clear(), dt(e);
184
184
  }
185
185
  function ei(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), tt(e.before_update);
187
+ e.update(), rt(e.before_update);
188
188
  const t = e.dirty;
189
189
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tn);
190
190
  }
191
191
  }
192
192
  function ti(e) {
193
193
  const t = [], n = [];
194
- qe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), qe = t;
194
+ Qe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Qe = t;
195
195
  }
196
196
  const ni = /* @__PURE__ */ new Set();
197
197
  function ri(e, t) {
198
198
  e && e.i && (ni.delete(e), e.i(t));
199
199
  }
200
- function Tt(e) {
200
+ function At(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
203
  function ii(e, t, n) {
204
204
  const { fragment: r, after_update: i } = e.$$;
205
205
  r && r.m(t, n), tn(() => {
206
206
  const o = e.$$.on_mount.map(nr).filter(vn);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : tt(o), e.$$.on_mount = [];
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : rt(o), e.$$.on_mount = [];
208
208
  }), i.forEach(tn);
209
209
  }
210
210
  function oi(e, t) {
211
211
  const n = e.$$;
212
- n.fragment !== null && (ti(n.after_update), tt(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
212
+ n.fragment !== null && (ti(n.after_update), rt(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
213
213
  }
214
214
  function ai(e, t) {
215
- e.$$.dirty[0] === -1 && (We.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ e.$$.dirty[0] === -1 && (qe.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
217
  function si(e, t, n, r, i, o, a = null, s = [-1]) {
218
- const u = dt;
219
- ft(e);
218
+ const u = pt;
219
+ dt(e);
220
220
  const l = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
223
223
  // state
224
224
  props: o,
225
- update: Ee,
225
+ update: we,
226
226
  not_equal: i,
227
- bound: Bn(),
227
+ bound: wn(),
228
228
  // lifecycle
229
229
  on_mount: [],
230
230
  on_destroy: [],
@@ -233,48 +233,48 @@ function si(e, t, n, r, i, o, a = null, s = [-1]) {
233
233
  after_update: [],
234
234
  context: new Map(t.context || (u ? u.$$.context : [])),
235
235
  // everything else
236
- callbacks: Bn(),
236
+ callbacks: wn(),
237
237
  dirty: s,
238
238
  skip_bound: !1,
239
239
  root: t.target || u.$$.root
240
240
  };
241
241
  a && a(l.root);
242
- let h = !1;
243
- if (l.ctx = n ? n(e, t.props || {}, (m, d, ...g) => {
244
- const y = g.length ? g[0] : d;
245
- return l.ctx && i(l.ctx[m], l.ctx[m] = y) && (!l.skip_bound && l.bound[m] && l.bound[m](y), h && ai(e, m)), d;
246
- }) : [], l.update(), h = !0, tt(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
242
+ let f = !1;
243
+ if (l.ctx = n ? n(e, t.props || {}, (g, d, ...y) => {
244
+ const v = y.length ? y[0] : d;
245
+ return l.ctx && i(l.ctx[g], l.ctx[g] = v) && (!l.skip_bound && l.bound[g] && l.bound[g](v), f && ai(e, g)), d;
246
+ }) : [], l.update(), f = !0, rt(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
- const m = Zr(t.target);
249
- l.fragment && l.fragment.l(m), m.forEach(ve);
248
+ const g = Zr(t.target);
249
+ l.fragment && l.fragment.l(g), g.forEach(ve);
250
250
  } else
251
251
  l.fragment && l.fragment.c();
252
- t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), Y();
252
+ t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), Z();
253
253
  }
254
- ft(u);
254
+ dt(u);
255
255
  }
256
256
  let ar;
257
257
  typeof HTMLElement == "function" && (ar = class extends HTMLElement {
258
258
  constructor(t, n, r) {
259
259
  super();
260
260
  /** The Svelte component constructor */
261
- _e(this, "$$ctor");
261
+ xe(this, "$$ctor");
262
262
  /** Slots */
263
- _e(this, "$$s");
263
+ xe(this, "$$s");
264
264
  /** The Svelte component instance */
265
- _e(this, "$$c");
265
+ xe(this, "$$c");
266
266
  /** Whether or not the custom element is connected */
267
- _e(this, "$$cn", !1);
267
+ xe(this, "$$cn", !1);
268
268
  /** Component props data */
269
- _e(this, "$$d", {});
269
+ xe(this, "$$d", {});
270
270
  /** `true` if currently in the process of reflecting component props back to attributes */
271
- _e(this, "$$r", !1);
271
+ xe(this, "$$r", !1);
272
272
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
273
- _e(this, "$$p_d", {});
273
+ xe(this, "$$p_d", {});
274
274
  /** @type {Record<string, Function[]>} Event listeners */
275
- _e(this, "$$l", {});
275
+ xe(this, "$$l", {});
276
276
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
277
- _e(this, "$$l_u", /* @__PURE__ */ new Map());
277
+ xe(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) {
@@ -291,21 +291,21 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
291
291
  }
292
292
  }
293
293
  connectedCallback() {
294
- return Vt(this, null, function* () {
294
+ return $t(this, null, function* () {
295
295
  if (this.$$cn = !0, !this.$$c) {
296
296
  let t = function(o) {
297
297
  return () => {
298
298
  let a;
299
299
  return {
300
300
  c: function() {
301
- a = X("slot"), o !== "default" && L(a, "name", o);
301
+ a = z("slot"), o !== "default" && L(a, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
305
305
  * @param {HTMLElement} [anchor]
306
306
  */
307
- m: function(l, h) {
308
- xe(l, a, h);
307
+ m: function(l, f) {
308
+ Be(l, a, f);
309
309
  },
310
310
  d: function(l) {
311
311
  l && ve(a);
@@ -320,13 +320,13 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
320
320
  o in r && (n[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
322
322
  const a = this.$$g_p(o.name);
323
- a in this.$$d || (this.$$d[a] = xt(a, o.value, this.$$p_d, "toProp"));
323
+ a in this.$$d || (this.$$d[a] = wt(a, o.value, this.$$p_d, "toProp"));
324
324
  }
325
325
  for (const o in this.$$p_d)
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: $t(jt({}, this.$$d), {
329
+ props: Vt(jt({}, this.$$d), {
330
330
  $$slots: n,
331
331
  $$scope: {
332
332
  ctx: []
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (ar = 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 = xt(
340
+ const a = wt(
341
341
  o,
342
342
  this.$$d[o],
343
343
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
361
361
  // and setting attributes through setAttribute etc, this is helpful
362
362
  attributeChangedCallback(t, n, r) {
363
363
  var i;
364
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = xt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
364
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = wt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
374
374
  ) || t;
375
375
  }
376
376
  });
377
- function xt(e, t, n, r) {
377
+ function wt(e, t, n, r) {
378
378
  var o;
379
379
  const i = (o = n[e]) == null ? void 0 : o.type;
380
380
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -422,7 +422,7 @@ function ui(e, t, n, r, i, o) {
422
422
  },
423
423
  set(u) {
424
424
  var l;
425
- u = xt(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
425
+ u = wt(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
426
426
  }
427
427
  });
428
428
  }), r.forEach((s) => {
@@ -444,7 +444,7 @@ class li {
444
444
  *
445
445
  * @type {any}
446
446
  */
447
- _e(this, "$$");
447
+ xe(this, "$$");
448
448
  /**
449
449
  * ### PRIVATE API
450
450
  *
@@ -452,11 +452,11 @@ class li {
452
452
  *
453
453
  * @type {any}
454
454
  */
455
- _e(this, "$$set");
455
+ xe(this, "$$set");
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- oi(this, 1), this.$destroy = Ee;
459
+ oi(this, 1), this.$destroy = we;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -466,7 +466,7 @@ class li {
466
466
  */
467
467
  $on(t, n) {
468
468
  if (!vn(n))
469
- return Ee;
469
+ return we;
470
470
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return r.push(n), () => {
472
472
  const i = r.indexOf(n);
@@ -483,7 +483,7 @@ class li {
483
483
  }
484
484
  const ci = "4";
485
485
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
486
- const Ze = "__WIDGET_GLOBAL_STYLE_CACHE__";
486
+ const Ye = "__WIDGET_GLOBAL_STYLE_CACHE__";
487
487
  function hi(e, t) {
488
488
  if (e) {
489
489
  const n = document.createElement("style");
@@ -506,11 +506,11 @@ function di(e, t, n, r = !1) {
506
506
  return;
507
507
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
508
508
  return n = pi(e, t), n;
509
- window[Ze] || (window[Ze] = {}), n = mi(e, t);
509
+ window[Ye] || (window[Ye] = {}), n = mi(e, t);
510
510
  const o = n.unsubscribe.bind(n), a = () => {
511
- if (window[Ze][t]) {
512
- const s = window[Ze][t];
513
- s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Ze][t];
511
+ if (window[Ye][t]) {
512
+ const s = window[Ye][t];
513
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Ye][t];
514
514
  }
515
515
  o();
516
516
  };
@@ -526,7 +526,7 @@ function mi(e, t) {
526
526
  return window.emMessageBus.subscribe(t, (n) => {
527
527
  if (!e)
528
528
  return;
529
- const r = e.getRootNode(), i = window[Ze];
529
+ const r = e.getRootNode(), i = window[Ye];
530
530
  let o = i[t] && i[t].sheet;
531
531
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(n), i[t] = {
532
532
  sheet: o,
@@ -536,39 +536,39 @@ function mi(e, t) {
536
536
  a.includes(o) || (r.adoptedStyleSheets = [...a, o]);
537
537
  });
538
538
  }
539
- const ze = [];
539
+ const Ze = [];
540
540
  function bi(e, t) {
541
541
  return {
542
542
  subscribe: Ot(e, t).subscribe
543
543
  };
544
544
  }
545
- function Ot(e, t = Ee) {
545
+ function Ot(e, t = we) {
546
546
  let n;
547
547
  const r = /* @__PURE__ */ new Set();
548
548
  function i(s) {
549
549
  if (rr(e, s) && (e = s, n)) {
550
- const u = !ze.length;
550
+ const u = !Ze.length;
551
551
  for (const l of r)
552
- l[1](), ze.push(l, e);
552
+ l[1](), Ze.push(l, e);
553
553
  if (u) {
554
- for (let l = 0; l < ze.length; l += 2)
555
- ze[l][0](ze[l + 1]);
556
- ze.length = 0;
554
+ for (let l = 0; l < Ze.length; l += 2)
555
+ Ze[l][0](Ze[l + 1]);
556
+ Ze.length = 0;
557
557
  }
558
558
  }
559
559
  }
560
560
  function o(s) {
561
561
  i(s(e));
562
562
  }
563
- function a(s, u = Ee) {
563
+ function a(s, u = we) {
564
564
  const l = [s, u];
565
- return r.add(l), r.size === 1 && (n = t(i, o) || Ee), s(e), () => {
565
+ return r.add(l), r.size === 1 && (n = t(i, o) || we), s(e), () => {
566
566
  r.delete(l), r.size === 0 && n && (n(), n = null);
567
567
  };
568
568
  }
569
569
  return { set: i, update: o, subscribe: a };
570
570
  }
571
- function nt(e, t, n) {
571
+ function it(e, t, n) {
572
572
  const r = !Array.isArray(e), i = r ? [e] : e;
573
573
  if (!i.every(Boolean))
574
574
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -576,26 +576,26 @@ function nt(e, t, n) {
576
576
  return bi(n, (a, s) => {
577
577
  let u = !1;
578
578
  const l = [];
579
- let h = 0, m = Ee;
579
+ let f = 0, g = we;
580
580
  const d = () => {
581
- if (h)
581
+ if (f)
582
582
  return;
583
- m();
584
- const y = t(r ? l[0] : l, a, s);
585
- o ? a(y) : m = vn(y) ? y : Ee;
586
- }, g = i.map(
587
- (y, T) => ir(
588
- y,
589
- (te) => {
590
- l[T] = te, h &= ~(1 << T), u && d();
583
+ g();
584
+ const v = t(r ? l[0] : l, a, s);
585
+ o ? a(v) : g = vn(v) ? v : we;
586
+ }, y = i.map(
587
+ (v, S) => ir(
588
+ v,
589
+ (K) => {
590
+ l[S] = K, f &= ~(1 << S), u && d();
591
591
  },
592
592
  () => {
593
- h |= 1 << T;
593
+ f |= 1 << S;
594
594
  }
595
595
  )
596
596
  );
597
597
  return u = !0, d(), function() {
598
- tt(g), m(), u = !1;
598
+ rt(y), g(), u = !1;
599
599
  };
600
600
  });
601
601
  }
@@ -611,28 +611,28 @@ function _i(e) {
611
611
  }
612
612
  function Ei(e) {
613
613
  var t = Object.prototype.toString.call(e);
614
- return t === "[object RegExp]" || t === "[object Date]" || wi(e);
614
+ return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
615
615
  }
616
- var xi = typeof Symbol == "function" && Symbol.for, Bi = xi ? Symbol.for("react.element") : 60103;
617
- function wi(e) {
618
- return e.$$typeof === Bi;
616
+ var xi = typeof Symbol == "function" && Symbol.for, wi = xi ? Symbol.for("react.element") : 60103;
617
+ function Bi(e) {
618
+ return e.$$typeof === wi;
619
619
  }
620
620
  function Si(e) {
621
621
  return Array.isArray(e) ? [] : {};
622
622
  }
623
- function pt(e, t) {
624
- return t.clone !== !1 && t.isMergeableObject(e) ? Qe(Si(e), e, t) : e;
623
+ function mt(e, t) {
624
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ke(Si(e), e, t) : e;
625
625
  }
626
626
  function Ti(e, t, n) {
627
627
  return e.concat(t).map(function(r) {
628
- return pt(r, n);
628
+ return mt(r, n);
629
629
  });
630
630
  }
631
631
  function Ai(e, t) {
632
632
  if (!t.customMerge)
633
- return Qe;
633
+ return Ke;
634
634
  var n = t.customMerge(e);
635
- return typeof n == "function" ? n : Qe;
635
+ return typeof n == "function" ? n : Ke;
636
636
  }
637
637
  function Ci(e) {
638
638
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -652,27 +652,27 @@ function sr(e, t) {
652
652
  function Hi(e, t) {
653
653
  return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
654
654
  }
655
- function Oi(e, t, n) {
655
+ function Li(e, t, n) {
656
656
  var r = {};
657
657
  return n.isMergeableObject(e) && Tn(e).forEach(function(i) {
658
- r[i] = pt(e[i], n);
658
+ r[i] = mt(e[i], n);
659
659
  }), Tn(t).forEach(function(i) {
660
- Hi(e, i) || (sr(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ai(i, n)(e[i], t[i], n) : r[i] = pt(t[i], n));
660
+ Hi(e, i) || (sr(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ai(i, n)(e[i], t[i], n) : r[i] = mt(t[i], n));
661
661
  }), r;
662
662
  }
663
- function Qe(e, t, n) {
664
- n = n || {}, n.arrayMerge = n.arrayMerge || Ti, n.isMergeableObject = n.isMergeableObject || vi, n.cloneUnlessOtherwiseSpecified = pt;
663
+ function Ke(e, t, n) {
664
+ n = n || {}, n.arrayMerge = n.arrayMerge || Ti, n.isMergeableObject = n.isMergeableObject || vi, n.cloneUnlessOtherwiseSpecified = mt;
665
665
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
666
- return o ? r ? n.arrayMerge(e, t, n) : Oi(e, t, n) : pt(t, n);
666
+ return o ? r ? n.arrayMerge(e, t, n) : Li(e, t, n) : mt(t, n);
667
667
  }
668
- Qe.all = function(t, n) {
668
+ Ke.all = function(t, n) {
669
669
  if (!Array.isArray(t))
670
670
  throw new Error("first argument should be an array");
671
671
  return t.reduce(function(r, i) {
672
- return Qe(r, i, n);
672
+ return Ke(r, i, n);
673
673
  }, {});
674
674
  };
675
- var Li = Qe, Ri = Li;
675
+ var Oi = Ke, Ri = Oi;
676
676
  const Mi = /* @__PURE__ */ yi(Ri);
677
677
  var nn = function(e, t) {
678
678
  return nn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
@@ -682,7 +682,7 @@ var nn = function(e, t) {
682
682
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
683
683
  }, nn(e, t);
684
684
  };
685
- function Lt(e, t) {
685
+ function Rt(e, t) {
686
686
  if (typeof t != "function" && t !== null)
687
687
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
688
688
  nn(e, t);
@@ -691,15 +691,15 @@ function Lt(e, t) {
691
691
  }
692
692
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
693
693
  }
694
- var Ce = function() {
695
- return Ce = Object.assign || function(t) {
694
+ var Oe = function() {
695
+ return Oe = Object.assign || function(t) {
696
696
  for (var n, r = 1, i = arguments.length; r < i; r++) {
697
697
  n = arguments[r];
698
698
  for (var o in n)
699
699
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
700
700
  }
701
701
  return t;
702
- }, Ce.apply(this, arguments);
702
+ }, Oe.apply(this, arguments);
703
703
  };
704
704
  function Pi(e, t) {
705
705
  var n = {};
@@ -764,65 +764,65 @@ var Fi = function() {
764
764
  }
765
765
  }, Zt = {
766
766
  variadic: Ui
767
- }, At = function() {
768
- return At = Object.assign || function(t) {
767
+ }, Ct = function() {
768
+ return Ct = Object.assign || function(t) {
769
769
  for (var n, r = 1, i = arguments.length; r < i; r++) {
770
770
  n = arguments[r];
771
771
  for (var o in n)
772
772
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
773
773
  }
774
774
  return t;
775
- }, At.apply(this, arguments);
775
+ }, Ct.apply(this, arguments);
776
776
  };
777
777
  var P;
778
778
  (function(e) {
779
779
  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";
780
780
  })(P || (P = {}));
781
- var z;
781
+ var q;
782
782
  (function(e) {
783
783
  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";
784
- })(z || (z = {}));
785
- var Je;
784
+ })(q || (q = {}));
785
+ var et;
786
786
  (function(e) {
787
787
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
788
- })(Je || (Je = {}));
788
+ })(et || (et = {}));
789
789
  function An(e) {
790
- return e.type === z.literal;
790
+ return e.type === q.literal;
791
791
  }
792
792
  function ji(e) {
793
- return e.type === z.argument;
793
+ return e.type === q.argument;
794
794
  }
795
795
  function cr(e) {
796
- return e.type === z.number;
796
+ return e.type === q.number;
797
797
  }
798
798
  function hr(e) {
799
- return e.type === z.date;
799
+ return e.type === q.date;
800
800
  }
801
801
  function fr(e) {
802
- return e.type === z.time;
802
+ return e.type === q.time;
803
803
  }
804
804
  function dr(e) {
805
- return e.type === z.select;
805
+ return e.type === q.select;
806
806
  }
807
807
  function pr(e) {
808
- return e.type === z.plural;
808
+ return e.type === q.plural;
809
809
  }
810
- function $i(e) {
811
- return e.type === z.pound;
810
+ function Vi(e) {
811
+ return e.type === q.pound;
812
812
  }
813
813
  function mr(e) {
814
- return e.type === z.tag;
814
+ return e.type === q.tag;
815
815
  }
816
816
  function br(e) {
817
- return !!(e && typeof e == "object" && e.type === Je.number);
817
+ return !!(e && typeof e == "object" && e.type === et.number);
818
818
  }
819
819
  function rn(e) {
820
- return !!(e && typeof e == "object" && e.type === Je.dateTime);
820
+ return !!(e && typeof e == "object" && e.type === et.dateTime);
821
821
  }
822
- var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[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;
822
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $i = /(?:[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;
823
823
  function Xi(e) {
824
824
  var t = {};
825
- return e.replace(Vi, function(n) {
825
+ return e.replace($i, function(n) {
826
826
  var r = n.length;
827
827
  switch (n[0]) {
828
828
  case "G":
@@ -911,15 +911,15 @@ function Xi(e) {
911
911
  return "";
912
912
  }), t;
913
913
  }
914
- var K = function() {
915
- return K = Object.assign || function(t) {
914
+ var J = function() {
915
+ return J = Object.assign || function(t) {
916
916
  for (var n, r = 1, i = arguments.length; r < i; r++) {
917
917
  n = arguments[r];
918
918
  for (var o in n)
919
919
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
920
920
  }
921
921
  return t;
922
- }, K.apply(this, arguments);
922
+ }, J.apply(this, arguments);
923
923
  };
924
924
  var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
925
925
  function Wi(e) {
@@ -931,9 +931,9 @@ function Wi(e) {
931
931
  var o = i[r], a = o.split("/");
932
932
  if (a.length === 0)
933
933
  throw new Error("Invalid number skeleton");
934
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
935
- var m = h[l];
936
- if (m.length === 0)
934
+ for (var s = a[0], u = a.slice(1), l = 0, f = u; l < f.length; l++) {
935
+ var g = f[l];
936
+ if (g.length === 0)
937
937
  throw new Error("Invalid number skeleton");
938
938
  }
939
939
  n.push({ stem: s, options: u });
@@ -1004,7 +1004,7 @@ function Yi(e) {
1004
1004
  }
1005
1005
  return t;
1006
1006
  }
1007
- function On(e) {
1007
+ function Ln(e) {
1008
1008
  var t = {}, n = _r(e);
1009
1009
  return n || t;
1010
1010
  }
@@ -1043,13 +1043,13 @@ function Qi(e) {
1043
1043
  t.notation = "compact", t.compactDisplay = "long";
1044
1044
  continue;
1045
1045
  case "scientific":
1046
- t = K(K(K({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1047
- return K(K({}, u), On(l));
1046
+ t = J(J(J({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1047
+ return J(J({}, u), Ln(l));
1048
1048
  }, {}));
1049
1049
  continue;
1050
1050
  case "engineering":
1051
- t = K(K(K({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1052
- return K(K({}, u), On(l));
1051
+ t = J(J(J({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1052
+ return J(J({}, u), Ln(l));
1053
1053
  }, {}));
1054
1054
  continue;
1055
1055
  case "notation-simple":
@@ -1094,13 +1094,13 @@ function Qi(e) {
1094
1094
  case "integer-width":
1095
1095
  if (i.options.length > 1)
1096
1096
  throw new RangeError("integer-width stems only accept a single optional option");
1097
- i.options[0].replace(qi, function(u, l, h, m, d, g) {
1097
+ i.options[0].replace(qi, function(u, l, f, g, d, y) {
1098
1098
  if (l)
1099
- t.minimumIntegerDigits = h.length;
1099
+ t.minimumIntegerDigits = f.length;
1100
1100
  else {
1101
- if (m && d)
1101
+ if (g && d)
1102
1102
  throw new Error("We currently do not support maximum integer digits");
1103
- if (g)
1103
+ if (y)
1104
1104
  throw new Error("We currently do not support exact integer digits");
1105
1105
  }
1106
1106
  return "";
@@ -1114,25 +1114,25 @@ function Qi(e) {
1114
1114
  if (Cn.test(i.stem)) {
1115
1115
  if (i.options.length > 1)
1116
1116
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1117
- i.stem.replace(Cn, function(u, l, h, m, d, g) {
1118
- return h === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1117
+ i.stem.replace(Cn, function(u, l, f, g, d, y) {
1118
+ return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1119
1119
  });
1120
1120
  var o = i.options[0];
1121
- o === "w" ? t = K(K({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = K(K({}, t), Hn(o)));
1121
+ o === "w" ? t = J(J({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = J(J({}, t), Hn(o)));
1122
1122
  continue;
1123
1123
  }
1124
1124
  if (yr.test(i.stem)) {
1125
- t = K(K({}, t), Hn(i.stem));
1125
+ t = J(J({}, t), Hn(i.stem));
1126
1126
  continue;
1127
1127
  }
1128
1128
  var a = _r(i.stem);
1129
- a && (t = K(K({}, t), a));
1129
+ a && (t = J(J({}, t), a));
1130
1130
  var s = Yi(i.stem);
1131
- s && (t = K(K({}, t), s));
1131
+ s && (t = J(J({}, t), s));
1132
1132
  }
1133
1133
  return t;
1134
1134
  }
1135
- var _t = {
1135
+ var Et = {
1136
1136
  "001": [
1137
1137
  "H",
1138
1138
  "h"
@@ -2582,11 +2582,11 @@ function Ki(e) {
2582
2582
  }
2583
2583
  var n = e.language, r;
2584
2584
  n !== "root" && (r = e.maximize().region);
2585
- var i = _t[r || ""] || _t[n || ""] || _t["".concat(n, "-001")] || _t["001"];
2585
+ var i = Et[r || ""] || Et[n || ""] || Et["".concat(n, "-001")] || Et["001"];
2586
2586
  return i[0];
2587
2587
  }
2588
2588
  var qt, eo = new RegExp("^".concat(gr.source, "*")), to = new RegExp("".concat(gr.source, "*$"));
2589
- function N(e, t) {
2589
+ function I(e, t) {
2590
2590
  return { start: e, end: t };
2591
2591
  }
2592
2592
  var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), ro = !!String.fromCodePoint, io = !!Object.fromEntries, oo = !!String.prototype.codePointAt, ao = !!String.prototype.trimStart, so = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
@@ -2598,7 +2598,7 @@ try {
2598
2598
  } catch (e) {
2599
2599
  on = !1;
2600
2600
  }
2601
- var Ln = no ? (
2601
+ var On = no ? (
2602
2602
  // Native
2603
2603
  function(t, n, r) {
2604
2604
  return t.startsWith(n, r);
@@ -2683,7 +2683,7 @@ if (on) {
2683
2683
  sn = function(t, n) {
2684
2684
  for (var r = []; ; ) {
2685
2685
  var i = Er(t, n);
2686
- if (i === void 0 || Br(i) || go(i))
2686
+ if (i === void 0 || wr(i) || go(i))
2687
2687
  break;
2688
2688
  r.push(i), n += i >= 65536 ? 2 : 1;
2689
2689
  }
@@ -2713,13 +2713,13 @@ var po = (
2713
2713
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2714
2714
  var s = this.clonePosition();
2715
2715
  this.bump(), i.push({
2716
- type: z.pound,
2717
- location: N(s, this.clonePosition())
2716
+ type: q.pound,
2717
+ location: I(s, this.clonePosition())
2718
2718
  });
2719
2719
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2720
2720
  if (r)
2721
2721
  break;
2722
- return this.error(P.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2722
+ return this.error(P.UNMATCHED_CLOSING_TAG, I(this.clonePosition(), this.clonePosition()));
2723
2723
  } else if (o === 60 && !this.ignoreTag && un(this.peek() || 0)) {
2724
2724
  var a = this.parseTag(t, n);
2725
2725
  if (a.err)
@@ -2741,9 +2741,9 @@ var po = (
2741
2741
  if (this.bumpSpace(), this.bumpIf("/>"))
2742
2742
  return {
2743
2743
  val: {
2744
- type: z.literal,
2744
+ type: q.literal,
2745
2745
  value: "<".concat(i, "/>"),
2746
- location: N(r, this.clonePosition())
2746
+ location: I(r, this.clonePosition())
2747
2747
  },
2748
2748
  err: null
2749
2749
  };
@@ -2754,21 +2754,21 @@ var po = (
2754
2754
  var a = o.val, s = this.clonePosition();
2755
2755
  if (this.bumpIf("</")) {
2756
2756
  if (this.isEOF() || !un(this.char()))
2757
- return this.error(P.INVALID_TAG, N(s, this.clonePosition()));
2757
+ return this.error(P.INVALID_TAG, I(s, this.clonePosition()));
2758
2758
  var u = this.clonePosition(), l = this.parseTagName();
2759
- return i !== l ? this.error(P.UNMATCHED_CLOSING_TAG, N(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2759
+ return i !== l ? this.error(P.UNMATCHED_CLOSING_TAG, I(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2760
2760
  val: {
2761
- type: z.tag,
2761
+ type: q.tag,
2762
2762
  value: i,
2763
2763
  children: a,
2764
- location: N(r, this.clonePosition())
2764
+ location: I(r, this.clonePosition())
2765
2765
  },
2766
2766
  err: null
2767
- } : this.error(P.INVALID_TAG, N(s, this.clonePosition())));
2767
+ } : this.error(P.INVALID_TAG, I(s, this.clonePosition())));
2768
2768
  } else
2769
- return this.error(P.UNCLOSED_TAG, N(r, this.clonePosition()));
2769
+ return this.error(P.UNCLOSED_TAG, I(r, this.clonePosition()));
2770
2770
  } else
2771
- return this.error(P.INVALID_TAG, N(r, this.clonePosition()));
2771
+ return this.error(P.INVALID_TAG, I(r, this.clonePosition()));
2772
2772
  }, e.prototype.parseTagName = function() {
2773
2773
  var t = this.offset();
2774
2774
  for (this.bump(); !this.isEOF() && bo(this.char()); )
@@ -2793,9 +2793,9 @@ var po = (
2793
2793
  }
2794
2794
  break;
2795
2795
  }
2796
- var u = N(r, this.clonePosition());
2796
+ var u = I(r, this.clonePosition());
2797
2797
  return {
2798
- val: { type: z.literal, value: i, location: u },
2798
+ val: { type: q.literal, value: i, location: u },
2799
2799
  err: null
2800
2800
  };
2801
2801
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2843,40 +2843,40 @@ var po = (
2843
2843
  }, e.prototype.parseArgument = function(t, n) {
2844
2844
  var r = this.clonePosition();
2845
2845
  if (this.bump(), this.bumpSpace(), this.isEOF())
2846
- return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2846
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, I(r, this.clonePosition()));
2847
2847
  if (this.char() === 125)
2848
- return this.bump(), this.error(P.EMPTY_ARGUMENT, N(r, this.clonePosition()));
2848
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, I(r, this.clonePosition()));
2849
2849
  var i = this.parseIdentifierIfPossible().value;
2850
2850
  if (!i)
2851
- return this.error(P.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2851
+ return this.error(P.MALFORMED_ARGUMENT, I(r, this.clonePosition()));
2852
2852
  if (this.bumpSpace(), this.isEOF())
2853
- return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2853
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, I(r, this.clonePosition()));
2854
2854
  switch (this.char()) {
2855
2855
  case 125:
2856
2856
  return this.bump(), {
2857
2857
  val: {
2858
- type: z.argument,
2858
+ type: q.argument,
2859
2859
  // value does not include the opening and closing braces.
2860
2860
  value: i,
2861
- location: N(r, this.clonePosition())
2861
+ location: I(r, this.clonePosition())
2862
2862
  },
2863
2863
  err: null
2864
2864
  };
2865
2865
  case 44:
2866
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2866
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, I(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2867
2867
  default:
2868
- return this.error(P.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2868
+ return this.error(P.MALFORMED_ARGUMENT, I(r, this.clonePosition()));
2869
2869
  }
2870
2870
  }, e.prototype.parseIdentifierIfPossible = function() {
2871
2871
  var t = this.clonePosition(), n = this.offset(), r = sn(this.message, n), i = n + r.length;
2872
2872
  this.bumpTo(i);
2873
- var o = this.clonePosition(), a = N(t, o);
2873
+ var o = this.clonePosition(), a = I(t, o);
2874
2874
  return { value: r, location: a };
2875
2875
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2876
2876
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2877
2877
  switch (s) {
2878
2878
  case "":
2879
- return this.error(P.EXPECT_ARGUMENT_TYPE, N(a, u));
2879
+ return this.error(P.EXPECT_ARGUMENT_TYPE, I(a, u));
2880
2880
  case "number":
2881
2881
  case "date":
2882
2882
  case "time": {
@@ -2884,49 +2884,49 @@ var po = (
2884
2884
  var l = null;
2885
2885
  if (this.bumpIf(",")) {
2886
2886
  this.bumpSpace();
2887
- var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2888
- if (m.err)
2889
- return m;
2890
- var d = fo(m.val);
2887
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2888
+ if (g.err)
2889
+ return g;
2890
+ var d = fo(g.val);
2891
2891
  if (d.length === 0)
2892
- return this.error(P.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2893
- var g = N(h, this.clonePosition());
2894
- l = { style: d, styleLocation: g };
2892
+ return this.error(P.EXPECT_ARGUMENT_STYLE, I(this.clonePosition(), this.clonePosition()));
2893
+ var y = I(f, this.clonePosition());
2894
+ l = { style: d, styleLocation: y };
2895
2895
  }
2896
- var y = this.tryParseArgumentClose(i);
2897
- if (y.err)
2898
- return y;
2899
- var T = N(i, this.clonePosition());
2900
- if (l && Ln(l == null ? void 0 : l.style, "::", 0)) {
2901
- var te = ho(l.style.slice(2));
2896
+ var v = this.tryParseArgumentClose(i);
2897
+ if (v.err)
2898
+ return v;
2899
+ var S = I(i, this.clonePosition());
2900
+ if (l && On(l == null ? void 0 : l.style, "::", 0)) {
2901
+ var K = ho(l.style.slice(2));
2902
2902
  if (s === "number") {
2903
- var m = this.parseNumberSkeletonFromString(te, l.styleLocation);
2904
- return m.err ? m : {
2905
- val: { type: z.number, value: r, location: T, style: m.val },
2903
+ var g = this.parseNumberSkeletonFromString(K, l.styleLocation);
2904
+ return g.err ? g : {
2905
+ val: { type: q.number, value: r, location: S, style: g.val },
2906
2906
  err: null
2907
2907
  };
2908
2908
  } else {
2909
- if (te.length === 0)
2910
- return this.error(P.EXPECT_DATE_TIME_SKELETON, T);
2911
- var ue = te;
2912
- this.locale && (ue = Ji(te, this.locale));
2909
+ if (K.length === 0)
2910
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, S);
2911
+ var ae = K;
2912
+ this.locale && (ae = Ji(K, this.locale));
2913
2913
  var d = {
2914
- type: Je.dateTime,
2915
- pattern: ue,
2914
+ type: et.dateTime,
2915
+ pattern: ae,
2916
2916
  location: l.styleLocation,
2917
- parsedOptions: this.shouldParseSkeletons ? Xi(ue) : {}
2918
- }, le = s === "date" ? z.date : z.time;
2917
+ parsedOptions: this.shouldParseSkeletons ? Xi(ae) : {}
2918
+ }, se = s === "date" ? q.date : q.time;
2919
2919
  return {
2920
- val: { type: le, value: r, location: T, style: d },
2920
+ val: { type: se, value: r, location: S, style: d },
2921
2921
  err: null
2922
2922
  };
2923
2923
  }
2924
2924
  }
2925
2925
  return {
2926
2926
  val: {
2927
- type: s === "number" ? z.number : s === "date" ? z.date : z.time,
2927
+ type: s === "number" ? q.number : s === "date" ? q.date : q.time,
2928
2928
  value: r,
2929
- location: T,
2929
+ location: S,
2930
2930
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2931
2931
  },
2932
2932
  err: null
@@ -2935,52 +2935,52 @@ var po = (
2935
2935
  case "plural":
2936
2936
  case "selectordinal":
2937
2937
  case "select": {
2938
- var U = this.clonePosition();
2938
+ var D = this.clonePosition();
2939
2939
  if (this.bumpSpace(), !this.bumpIf(","))
2940
- return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, N(U, At({}, U)));
2940
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, I(D, Ct({}, D)));
2941
2941
  this.bumpSpace();
2942
- var Q = this.parseIdentifierIfPossible(), J = 0;
2943
- if (s !== "select" && Q.value === "offset") {
2942
+ var Y = this.parseIdentifierIfPossible(), ee = 0;
2943
+ if (s !== "select" && Y.value === "offset") {
2944
2944
  if (!this.bumpIf(":"))
2945
- return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2945
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, I(this.clonePosition(), this.clonePosition()));
2946
2946
  this.bumpSpace();
2947
- var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2948
- if (m.err)
2949
- return m;
2950
- this.bumpSpace(), Q = this.parseIdentifierIfPossible(), J = m.val;
2947
+ var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2948
+ if (g.err)
2949
+ return g;
2950
+ this.bumpSpace(), Y = this.parseIdentifierIfPossible(), ee = g.val;
2951
2951
  }
2952
- var ie = this.tryParsePluralOrSelectOptions(t, s, n, Q);
2953
- if (ie.err)
2954
- return ie;
2955
- var y = this.tryParseArgumentClose(i);
2956
- if (y.err)
2957
- return y;
2958
- var de = N(i, this.clonePosition());
2952
+ var te = this.tryParsePluralOrSelectOptions(t, s, n, Y);
2953
+ if (te.err)
2954
+ return te;
2955
+ var v = this.tryParseArgumentClose(i);
2956
+ if (v.err)
2957
+ return v;
2958
+ var ue = I(i, this.clonePosition());
2959
2959
  return s === "select" ? {
2960
2960
  val: {
2961
- type: z.select,
2961
+ type: q.select,
2962
2962
  value: r,
2963
- options: Rn(ie.val),
2964
- location: de
2963
+ options: Rn(te.val),
2964
+ location: ue
2965
2965
  },
2966
2966
  err: null
2967
2967
  } : {
2968
2968
  val: {
2969
- type: z.plural,
2969
+ type: q.plural,
2970
2970
  value: r,
2971
- options: Rn(ie.val),
2972
- offset: J,
2971
+ options: Rn(te.val),
2972
+ offset: ee,
2973
2973
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2974
- location: de
2974
+ location: ue
2975
2975
  },
2976
2976
  err: null
2977
2977
  };
2978
2978
  }
2979
2979
  default:
2980
- return this.error(P.INVALID_ARGUMENT_TYPE, N(a, u));
2980
+ return this.error(P.INVALID_ARGUMENT_TYPE, I(a, u));
2981
2981
  }
2982
2982
  }, e.prototype.tryParseArgumentClose = function(t) {
2983
- return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2983
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, I(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2984
2984
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2985
2985
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2986
2986
  var r = this.char();
@@ -2989,7 +2989,7 @@ var po = (
2989
2989
  this.bump();
2990
2990
  var i = this.clonePosition();
2991
2991
  if (!this.bumpUntil("'"))
2992
- return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2992
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, I(i, this.clonePosition()));
2993
2993
  this.bump();
2994
2994
  break;
2995
2995
  }
@@ -3025,7 +3025,7 @@ var po = (
3025
3025
  }
3026
3026
  return {
3027
3027
  val: {
3028
- type: Je.number,
3028
+ type: et.number,
3029
3029
  tokens: r,
3030
3030
  location: n,
3031
3031
  parsedOptions: this.shouldParseSkeletons ? Qi(r) : {}
@@ -3033,38 +3033,38 @@ var po = (
3033
3033
  err: null
3034
3034
  };
3035
3035
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3036
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3036
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
3037
3037
  if (l.length === 0) {
3038
- var m = this.clonePosition();
3038
+ var g = this.clonePosition();
3039
3039
  if (n !== "select" && this.bumpIf("=")) {
3040
3040
  var d = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3041
3041
  if (d.err)
3042
3042
  return d;
3043
- h = N(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3043
+ f = I(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
3044
3044
  } else
3045
3045
  break;
3046
3046
  }
3047
3047
  if (u.has(l))
3048
- return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3048
+ return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3049
3049
  l === "other" && (a = !0), this.bumpSpace();
3050
- var g = this.clonePosition();
3050
+ var y = this.clonePosition();
3051
3051
  if (!this.bumpIf("{"))
3052
- return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
3053
- var y = this.parseMessage(t + 1, n, r);
3054
- if (y.err)
3055
- return y;
3056
- var T = this.tryParseArgumentClose(g);
3057
- if (T.err)
3058
- return T;
3052
+ return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, I(this.clonePosition(), this.clonePosition()));
3053
+ var v = this.parseMessage(t + 1, n, r);
3054
+ if (v.err)
3055
+ return v;
3056
+ var S = this.tryParseArgumentClose(y);
3057
+ if (S.err)
3058
+ return S;
3059
3059
  s.push([
3060
3060
  l,
3061
3061
  {
3062
- value: y.val,
3063
- location: N(g, this.clonePosition())
3062
+ value: v.val,
3063
+ location: I(y, this.clonePosition())
3064
3064
  }
3065
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3065
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3066
3066
  }
3067
- return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3067
+ return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, I(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, I(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3068
3068
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3069
3069
  var r = 1, i = this.clonePosition();
3070
3070
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3075,7 +3075,7 @@ var po = (
3075
3075
  else
3076
3076
  break;
3077
3077
  }
3078
- var u = N(i, this.clonePosition());
3078
+ var u = I(i, this.clonePosition());
3079
3079
  return o ? (a *= r, lo(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
3080
3080
  }, e.prototype.offset = function() {
3081
3081
  return this.position.offset;
@@ -3110,7 +3110,7 @@ var po = (
3110
3110
  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
3111
  }
3112
3112
  }, e.prototype.bumpIf = function(t) {
3113
- if (Ln(this.message, t, this.offset())) {
3113
+ if (On(this.message, t, this.offset())) {
3114
3114
  for (var n = 0; n < t.length; n++)
3115
3115
  this.bump();
3116
3116
  return !0;
@@ -3132,7 +3132,7 @@ var po = (
3132
3132
  break;
3133
3133
  }
3134
3134
  }, e.prototype.bumpSpace = function() {
3135
- for (; !this.isEOF() && Br(this.char()); )
3135
+ for (; !this.isEOF() && wr(this.char()); )
3136
3136
  this.bump();
3137
3137
  }, e.prototype.peek = function() {
3138
3138
  if (this.isEOF())
@@ -3151,7 +3151,7 @@ function mo(e) {
3151
3151
  function bo(e) {
3152
3152
  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
3153
  }
3154
- function Br(e) {
3154
+ function wr(e) {
3155
3155
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3156
3156
  }
3157
3157
  function go(e) {
@@ -3167,7 +3167,7 @@ function ln(e) {
3167
3167
  });
3168
3168
  }
3169
3169
  function yo(e, t) {
3170
- t === void 0 && (t = {}), t = At({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
+ t === void 0 && (t = {}), t = Ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3171
3171
  var n = new po(e, t).parse();
3172
3172
  if (n.err) {
3173
3173
  var r = SyntaxError(P[n.err.kind]);
@@ -3175,14 +3175,14 @@ function yo(e, t) {
3175
3175
  }
3176
3176
  return t != null && t.captureLocation || ln(n.val), n.val;
3177
3177
  }
3178
- var Ke;
3178
+ var tt;
3179
3179
  (function(e) {
3180
3180
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3181
- })(Ke || (Ke = {}));
3182
- var Rt = (
3181
+ })(tt || (tt = {}));
3182
+ var Mt = (
3183
3183
  /** @class */
3184
3184
  function(e) {
3185
- Lt(t, e);
3185
+ Rt(t, e);
3186
3186
  function t(n, r, i) {
3187
3187
  var o = e.call(this, n) || this;
3188
3188
  return o.code = r, o.originalMessage = i, o;
@@ -3194,38 +3194,38 @@ var Rt = (
3194
3194
  ), Pn = (
3195
3195
  /** @class */
3196
3196
  function(e) {
3197
- Lt(t, e);
3197
+ Rt(t, e);
3198
3198
  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('", "'), '"'), Ke.INVALID_VALUE, o) || this;
3199
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), tt.INVALID_VALUE, o) || this;
3200
3200
  }
3201
3201
  return t;
3202
- }(Rt)
3202
+ }(Mt)
3203
3203
  ), vo = (
3204
3204
  /** @class */
3205
3205
  function(e) {
3206
- Lt(t, e);
3206
+ Rt(t, e);
3207
3207
  function t(n, r, i) {
3208
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ke.INVALID_VALUE, i) || this;
3208
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), tt.INVALID_VALUE, i) || this;
3209
3209
  }
3210
3210
  return t;
3211
- }(Rt)
3211
+ }(Mt)
3212
3212
  ), _o = (
3213
3213
  /** @class */
3214
3214
  function(e) {
3215
- Lt(t, e);
3215
+ Rt(t, e);
3216
3216
  function t(n, r) {
3217
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ke.MISSING_VALUE, r) || this;
3217
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), tt.MISSING_VALUE, r) || this;
3218
3218
  }
3219
3219
  return t;
3220
- }(Rt)
3221
- ), fe;
3220
+ }(Mt)
3221
+ ), he;
3222
3222
  (function(e) {
3223
3223
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3224
- })(fe || (fe = {}));
3224
+ })(he || (he = {}));
3225
3225
  function Eo(e) {
3226
3226
  return e.length < 2 ? e : e.reduce(function(t, n) {
3227
3227
  var r = t[t.length - 1];
3228
- return !r || r.type !== fe.literal || n.type !== fe.literal ? t.push(n) : r.value += n.value, t;
3228
+ return !r || r.type !== he.literal || n.type !== he.literal ? t.push(n) : r.value += n.value, t;
3229
3229
  }, []);
3230
3230
  }
3231
3231
  function xo(e) {
@@ -3235,109 +3235,109 @@ function Bt(e, t, n, r, i, o, a) {
3235
3235
  if (e.length === 1 && An(e[0]))
3236
3236
  return [
3237
3237
  {
3238
- type: fe.literal,
3238
+ type: he.literal,
3239
3239
  value: e[0].value
3240
3240
  }
3241
3241
  ];
3242
3242
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3243
- var h = l[u];
3244
- if (An(h)) {
3243
+ var f = l[u];
3244
+ if (An(f)) {
3245
3245
  s.push({
3246
- type: fe.literal,
3247
- value: h.value
3246
+ type: he.literal,
3247
+ value: f.value
3248
3248
  });
3249
3249
  continue;
3250
3250
  }
3251
- if ($i(h)) {
3251
+ if (Vi(f)) {
3252
3252
  typeof o == "number" && s.push({
3253
- type: fe.literal,
3253
+ type: he.literal,
3254
3254
  value: n.getNumberFormat(t).format(o)
3255
3255
  });
3256
3256
  continue;
3257
3257
  }
3258
- var m = h.value;
3259
- if (!(i && m in i))
3260
- throw new _o(m, a);
3261
- var d = i[m];
3262
- if (ji(h)) {
3258
+ var g = f.value;
3259
+ if (!(i && g in i))
3260
+ throw new _o(g, a);
3261
+ var d = i[g];
3262
+ if (ji(f)) {
3263
3263
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3264
- type: typeof d == "string" ? fe.literal : fe.object,
3264
+ type: typeof d == "string" ? he.literal : he.object,
3265
3265
  value: d
3266
3266
  });
3267
3267
  continue;
3268
3268
  }
3269
- if (hr(h)) {
3270
- var g = typeof h.style == "string" ? r.date[h.style] : rn(h.style) ? h.style.parsedOptions : void 0;
3269
+ if (hr(f)) {
3270
+ var y = typeof f.style == "string" ? r.date[f.style] : rn(f.style) ? f.style.parsedOptions : void 0;
3271
3271
  s.push({
3272
- type: fe.literal,
3273
- value: n.getDateTimeFormat(t, g).format(d)
3272
+ type: he.literal,
3273
+ value: n.getDateTimeFormat(t, y).format(d)
3274
3274
  });
3275
3275
  continue;
3276
3276
  }
3277
- if (fr(h)) {
3278
- var g = typeof h.style == "string" ? r.time[h.style] : rn(h.style) ? h.style.parsedOptions : r.time.medium;
3277
+ if (fr(f)) {
3278
+ var y = typeof f.style == "string" ? r.time[f.style] : rn(f.style) ? f.style.parsedOptions : r.time.medium;
3279
3279
  s.push({
3280
- type: fe.literal,
3281
- value: n.getDateTimeFormat(t, g).format(d)
3280
+ type: he.literal,
3281
+ value: n.getDateTimeFormat(t, y).format(d)
3282
3282
  });
3283
3283
  continue;
3284
3284
  }
3285
- if (cr(h)) {
3286
- var g = typeof h.style == "string" ? r.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
3287
- g && g.scale && (d = d * (g.scale || 1)), s.push({
3288
- type: fe.literal,
3289
- value: n.getNumberFormat(t, g).format(d)
3285
+ if (cr(f)) {
3286
+ var y = typeof f.style == "string" ? r.number[f.style] : br(f.style) ? f.style.parsedOptions : void 0;
3287
+ y && y.scale && (d = d * (y.scale || 1)), s.push({
3288
+ type: he.literal,
3289
+ value: n.getNumberFormat(t, y).format(d)
3290
3290
  });
3291
3291
  continue;
3292
3292
  }
3293
- if (mr(h)) {
3294
- var y = h.children, T = h.value, te = i[T];
3295
- if (!xo(te))
3296
- throw new vo(T, "function", a);
3297
- var ue = Bt(y, t, n, r, i, o), le = te(ue.map(function(J) {
3298
- return J.value;
3293
+ if (mr(f)) {
3294
+ var v = f.children, S = f.value, K = i[S];
3295
+ if (!xo(K))
3296
+ throw new vo(S, "function", a);
3297
+ var ae = Bt(v, t, n, r, i, o), se = K(ae.map(function(ee) {
3298
+ return ee.value;
3299
3299
  }));
3300
- Array.isArray(le) || (le = [le]), s.push.apply(s, le.map(function(J) {
3300
+ Array.isArray(se) || (se = [se]), s.push.apply(s, se.map(function(ee) {
3301
3301
  return {
3302
- type: typeof J == "string" ? fe.literal : fe.object,
3303
- value: J
3302
+ type: typeof ee == "string" ? he.literal : he.object,
3303
+ value: ee
3304
3304
  };
3305
3305
  }));
3306
3306
  }
3307
- if (dr(h)) {
3308
- var U = h.options[d] || h.options.other;
3309
- if (!U)
3310
- throw new Pn(h.value, d, Object.keys(h.options), a);
3311
- s.push.apply(s, Bt(U.value, t, n, r, i));
3307
+ if (dr(f)) {
3308
+ var D = f.options[d] || f.options.other;
3309
+ if (!D)
3310
+ throw new Pn(f.value, d, Object.keys(f.options), a);
3311
+ s.push.apply(s, Bt(D.value, t, n, r, i));
3312
3312
  continue;
3313
3313
  }
3314
- if (pr(h)) {
3315
- var U = h.options["=".concat(d)];
3316
- if (!U) {
3314
+ if (pr(f)) {
3315
+ var D = f.options["=".concat(d)];
3316
+ if (!D) {
3317
3317
  if (!Intl.PluralRules)
3318
- throw new Rt(`Intl.PluralRules is not available in this environment.
3318
+ throw new Mt(`Intl.PluralRules is not available in this environment.
3319
3319
  Try polyfilling it using "@formatjs/intl-pluralrules"
3320
- `, Ke.MISSING_INTL_API, a);
3321
- var Q = n.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3322
- U = h.options[Q] || h.options.other;
3320
+ `, tt.MISSING_INTL_API, a);
3321
+ var Y = n.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3322
+ D = f.options[Y] || f.options.other;
3323
3323
  }
3324
- if (!U)
3325
- throw new Pn(h.value, d, Object.keys(h.options), a);
3326
- s.push.apply(s, Bt(U.value, t, n, r, i, d - (h.offset || 0)));
3324
+ if (!D)
3325
+ throw new Pn(f.value, d, Object.keys(f.options), a);
3326
+ s.push.apply(s, Bt(D.value, t, n, r, i, d - (f.offset || 0)));
3327
3327
  continue;
3328
3328
  }
3329
3329
  }
3330
3330
  return Eo(s);
3331
3331
  }
3332
- function Bo(e, t) {
3333
- return t ? Ce(Ce(Ce({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3334
- return n[r] = Ce(Ce({}, e[r]), t[r] || {}), n;
3332
+ function wo(e, t) {
3333
+ return t ? Oe(Oe(Oe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3334
+ return n[r] = Oe(Oe({}, e[r]), t[r] || {}), n;
3335
3335
  }, {})) : e;
3336
3336
  }
3337
- function wo(e, t) {
3337
+ function Bo(e, t) {
3338
3338
  return t ? Object.keys(e).reduce(function(n, r) {
3339
- return n[r] = Bo(e[r], t[r]), n;
3340
- }, Ce({}, e)) : e;
3339
+ return n[r] = wo(e[r], t[r]), n;
3340
+ }, Oe({}, e)) : e;
3341
3341
  }
3342
3342
  function Yt(e) {
3343
3343
  return {
@@ -3399,10 +3399,10 @@ var To = (
3399
3399
  var l = o.formatToParts(u);
3400
3400
  if (l.length === 1)
3401
3401
  return l[0].value;
3402
- var h = l.reduce(function(m, d) {
3403
- return !m.length || d.type !== fe.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
3402
+ var f = l.reduce(function(g, d) {
3403
+ return !g.length || d.type !== he.literal || typeof g[g.length - 1] != "string" ? g.push(d.value) : g[g.length - 1] += d.value, g;
3404
3404
  }, []);
3405
- return h.length <= 1 ? h[0] || "" : h;
3405
+ return f.length <= 1 ? f[0] || "" : f;
3406
3406
  }, this.formatToParts = function(u) {
3407
3407
  return Bt(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3408
3408
  }, this.resolvedOptions = function() {
@@ -3418,12 +3418,12 @@ var To = (
3418
3418
  var a = i || {};
3419
3419
  a.formatters;
3420
3420
  var s = Pi(a, ["formatters"]);
3421
- this.ast = e.__parse(t, Ce(Ce({}, s), { locale: this.resolvedLocale }));
3421
+ this.ast = e.__parse(t, Oe(Oe({}, s), { locale: this.resolvedLocale }));
3422
3422
  } else
3423
3423
  this.ast = t;
3424
3424
  if (!Array.isArray(this.ast))
3425
3425
  throw new TypeError("A message must be provided as a String or AST.");
3426
- this.formats = wo(e.formats, r), this.formatters = i && i.formatters || So(this.formatterCache);
3426
+ this.formats = Bo(e.formats, r), this.formatters = i && i.formatters || So(this.formatterCache);
3427
3427
  }
3428
3428
  return Object.defineProperty(e, "defaultLocale", {
3429
3429
  get: function() {
@@ -3518,36 +3518,36 @@ function Ao(e, t) {
3518
3518
  r = void 0;
3519
3519
  return r;
3520
3520
  }
3521
- const ke = {}, Co = (e, t, n) => n && (t in ke || (ke[t] = {}), e in ke[t] || (ke[t][e] = n), n), wr = (e, t) => {
3521
+ const Fe = {}, Co = (e, t, n) => n && (t in Fe || (Fe[t] = {}), e in Fe[t] || (Fe[t][e] = n), n), Br = (e, t) => {
3522
3522
  if (t == null)
3523
3523
  return;
3524
- if (t in ke && e in ke[t])
3525
- return ke[t][e];
3526
- const n = Mt(t);
3524
+ if (t in Fe && e in Fe[t])
3525
+ return Fe[t][e];
3526
+ const n = Pt(t);
3527
3527
  for (let r = 0; r < n.length; r++) {
3528
- const i = n[r], o = Oo(i, e);
3528
+ const i = n[r], o = Lo(i, e);
3529
3529
  if (o)
3530
3530
  return Co(e, t, o);
3531
3531
  }
3532
3532
  };
3533
3533
  let _n;
3534
- const bt = Ot({});
3534
+ const gt = Ot({});
3535
3535
  function Ho(e) {
3536
3536
  return _n[e] || null;
3537
3537
  }
3538
3538
  function Sr(e) {
3539
3539
  return e in _n;
3540
3540
  }
3541
- function Oo(e, t) {
3541
+ function Lo(e, t) {
3542
3542
  if (!Sr(e))
3543
3543
  return null;
3544
3544
  const n = Ho(e);
3545
3545
  return Ao(n, t);
3546
3546
  }
3547
- function Lo(e) {
3547
+ function Oo(e) {
3548
3548
  if (e == null)
3549
3549
  return;
3550
- const t = Mt(e);
3550
+ const t = Pt(e);
3551
3551
  for (let n = 0; n < t.length; n++) {
3552
3552
  const r = t[n];
3553
3553
  if (Sr(r))
@@ -3555,28 +3555,28 @@ function Lo(e) {
3555
3555
  }
3556
3556
  }
3557
3557
  function Tr(e, ...t) {
3558
- delete ke[e], bt.update((n) => (n[e] = Mi.all([n[e] || {}, ...t]), n));
3558
+ delete Fe[e], gt.update((n) => (n[e] = Mi.all([n[e] || {}, ...t]), n));
3559
3559
  }
3560
- nt(
3561
- [bt],
3560
+ it(
3561
+ [gt],
3562
3562
  ([e]) => Object.keys(e)
3563
3563
  );
3564
- bt.subscribe((e) => _n = e);
3565
- const wt = {};
3564
+ gt.subscribe((e) => _n = e);
3565
+ const St = {};
3566
3566
  function Ro(e, t) {
3567
- wt[e].delete(t), wt[e].size === 0 && delete wt[e];
3567
+ St[e].delete(t), St[e].size === 0 && delete St[e];
3568
3568
  }
3569
3569
  function Ar(e) {
3570
- return wt[e];
3570
+ return St[e];
3571
3571
  }
3572
3572
  function Mo(e) {
3573
- return Mt(e).map((t) => {
3573
+ return Pt(e).map((t) => {
3574
3574
  const n = Ar(t);
3575
3575
  return [t, n ? [...n] : []];
3576
3576
  }).filter(([, t]) => t.length > 0);
3577
3577
  }
3578
3578
  function cn(e) {
3579
- return e == null ? !1 : Mt(e).some(
3579
+ return e == null ? !1 : Pt(e).some(
3580
3580
  (t) => {
3581
3581
  var n;
3582
3582
  return (n = Ar(t)) == null ? void 0 : n.size;
@@ -3588,20 +3588,20 @@ function Po(e, t) {
3588
3588
  t.map((r) => (Ro(e, r), r().then((i) => i.default || i)))
3589
3589
  ).then((r) => Tr(e, ...r));
3590
3590
  }
3591
- const ht = {};
3591
+ const ft = {};
3592
3592
  function Cr(e) {
3593
3593
  if (!cn(e))
3594
- return e in ht ? ht[e] : Promise.resolve();
3594
+ return e in ft ? ft[e] : Promise.resolve();
3595
3595
  const t = Mo(e);
3596
- return ht[e] = Promise.all(
3596
+ return ft[e] = Promise.all(
3597
3597
  t.map(
3598
3598
  ([n, r]) => Po(n, r)
3599
3599
  )
3600
3600
  ).then(() => {
3601
3601
  if (cn(e))
3602
3602
  return Cr(e);
3603
- delete ht[e];
3604
- }), ht[e];
3603
+ delete ft[e];
3604
+ }), ft[e];
3605
3605
  }
3606
3606
  const No = {
3607
3607
  number: {
@@ -3640,125 +3640,125 @@ const No = {
3640
3640
  handleMissingMessage: void 0,
3641
3641
  ignoreTag: !0
3642
3642
  }, Do = Io;
3643
- function et() {
3643
+ function nt() {
3644
3644
  return Do;
3645
3645
  }
3646
3646
  const Qt = Ot(!1);
3647
- var Uo = Object.defineProperty, Fo = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, In = (e, t, n) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $o = (e, t) => {
3647
+ var Uo = Object.defineProperty, Fo = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, In = (e, t, n) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vo = (e, t) => {
3648
3648
  for (var n in t || (t = {}))
3649
3649
  ko.call(t, n) && In(e, n, t[n]);
3650
3650
  if (Nn)
3651
3651
  for (var n of Nn(t))
3652
3652
  jo.call(t, n) && In(e, n, t[n]);
3653
3653
  return e;
3654
- }, Vo = (e, t) => Fo(e, Go(t));
3654
+ }, $o = (e, t) => Fo(e, Go(t));
3655
3655
  let hn;
3656
- const Ct = Ot(null);
3656
+ const Ht = Ot(null);
3657
3657
  function Dn(e) {
3658
3658
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3659
3659
  }
3660
- function Mt(e, t = et().fallbackLocale) {
3660
+ function Pt(e, t = nt().fallbackLocale) {
3661
3661
  const n = Dn(e);
3662
3662
  return t ? [.../* @__PURE__ */ new Set([...n, ...Dn(t)])] : n;
3663
3663
  }
3664
3664
  function je() {
3665
3665
  return hn != null ? hn : void 0;
3666
3666
  }
3667
- Ct.subscribe((e) => {
3667
+ Ht.subscribe((e) => {
3668
3668
  hn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3669
3669
  });
3670
3670
  const Xo = (e) => {
3671
- if (e && Lo(e) && cn(e)) {
3672
- const { loadingDelay: t } = et();
3671
+ if (e && Oo(e) && cn(e)) {
3672
+ const { loadingDelay: t } = nt();
3673
3673
  let n;
3674
3674
  return typeof window != "undefined" && je() != null && t ? n = window.setTimeout(
3675
3675
  () => Qt.set(!0),
3676
3676
  t
3677
3677
  ) : Qt.set(!0), Cr(e).then(() => {
3678
- Ct.set(e);
3678
+ Ht.set(e);
3679
3679
  }).finally(() => {
3680
3680
  clearTimeout(n), Qt.set(!1);
3681
3681
  });
3682
3682
  }
3683
- return Ct.set(e);
3684
- }, rt = Vo($o({}, Ct), {
3683
+ return Ht.set(e);
3684
+ }, ot = $o(Vo({}, Ht), {
3685
3685
  set: Xo
3686
- }), Pt = (e) => {
3686
+ }), Nt = (e) => {
3687
3687
  const t = /* @__PURE__ */ Object.create(null);
3688
3688
  return (r) => {
3689
3689
  const i = JSON.stringify(r);
3690
3690
  return i in t ? t[i] : t[i] = e(r);
3691
3691
  };
3692
3692
  };
3693
- var zo = Object.defineProperty, Ht = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Un = (e, t, n) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, En = (e, t) => {
3693
+ var zo = Object.defineProperty, Lt = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Un = (e, t, n) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, En = (e, t) => {
3694
3694
  for (var n in t || (t = {}))
3695
3695
  Hr.call(t, n) && Un(e, n, t[n]);
3696
- if (Ht)
3697
- for (var n of Ht(t))
3698
- Or.call(t, n) && Un(e, n, t[n]);
3696
+ if (Lt)
3697
+ for (var n of Lt(t))
3698
+ Lr.call(t, n) && Un(e, n, t[n]);
3699
3699
  return e;
3700
- }, it = (e, t) => {
3700
+ }, at = (e, t) => {
3701
3701
  var n = {};
3702
3702
  for (var r in e)
3703
3703
  Hr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3704
- if (e != null && Ht)
3705
- for (var r of Ht(e))
3706
- t.indexOf(r) < 0 && Or.call(e, r) && (n[r] = e[r]);
3704
+ if (e != null && Lt)
3705
+ for (var r of Lt(e))
3706
+ t.indexOf(r) < 0 && Lr.call(e, r) && (n[r] = e[r]);
3707
3707
  return n;
3708
3708
  };
3709
- const mt = (e, t) => {
3710
- const { formats: n } = et();
3709
+ const bt = (e, t) => {
3710
+ const { formats: n } = nt();
3711
3711
  if (e in n && t in n[e])
3712
3712
  return n[e][t];
3713
3713
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3714
- }, Wo = Pt(
3714
+ }, Wo = Nt(
3715
3715
  (e) => {
3716
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
3716
+ var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3717
3717
  if (n == null)
3718
3718
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3719
- return r && (i = mt("number", r)), new Intl.NumberFormat(n, i);
3719
+ return r && (i = bt("number", r)), new Intl.NumberFormat(n, i);
3720
3720
  }
3721
- ), Zo = Pt(
3721
+ ), Zo = Nt(
3722
3722
  (e) => {
3723
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
3723
+ var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3724
3724
  if (n == null)
3725
3725
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3726
- return r ? i = mt("date", r) : Object.keys(i).length === 0 && (i = mt("date", "short")), new Intl.DateTimeFormat(n, i);
3726
+ return r ? i = bt("date", r) : Object.keys(i).length === 0 && (i = bt("date", "short")), new Intl.DateTimeFormat(n, i);
3727
3727
  }
3728
- ), qo = Pt(
3728
+ ), qo = Nt(
3729
3729
  (e) => {
3730
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
3730
+ var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3731
3731
  if (n == null)
3732
3732
  throw new Error(
3733
3733
  '[svelte-i18n] A "locale" must be set to format time values'
3734
3734
  );
3735
- return r ? i = mt("time", r) : Object.keys(i).length === 0 && (i = mt("time", "short")), new Intl.DateTimeFormat(n, i);
3735
+ return r ? i = bt("time", r) : Object.keys(i).length === 0 && (i = bt("time", "short")), new Intl.DateTimeFormat(n, i);
3736
3736
  }
3737
3737
  ), Yo = (e = {}) => {
3738
3738
  var t = e, {
3739
3739
  locale: n = je()
3740
- } = t, r = it(t, [
3740
+ } = t, r = at(t, [
3741
3741
  "locale"
3742
3742
  ]);
3743
3743
  return Wo(En({ locale: n }, r));
3744
3744
  }, Qo = (e = {}) => {
3745
3745
  var t = e, {
3746
3746
  locale: n = je()
3747
- } = t, r = it(t, [
3747
+ } = t, r = at(t, [
3748
3748
  "locale"
3749
3749
  ]);
3750
3750
  return Zo(En({ locale: n }, r));
3751
3751
  }, Jo = (e = {}) => {
3752
3752
  var t = e, {
3753
3753
  locale: n = je()
3754
- } = t, r = it(t, [
3754
+ } = t, r = at(t, [
3755
3755
  "locale"
3756
3756
  ]);
3757
3757
  return qo(En({ locale: n }, r));
3758
- }, Ko = Pt(
3758
+ }, Ko = Nt(
3759
3759
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3760
- (e, t = je()) => new To(e, t, et().formats, {
3761
- ignoreTag: et().ignoreTag
3760
+ (e, t = je()) => new To(e, t, nt().formats, {
3761
+ ignoreTag: nt().ignoreTag
3762
3762
  })
3763
3763
  ), ea = (e, t = {}) => {
3764
3764
  var n, r, i, o;
@@ -3773,35 +3773,35 @@ const mt = (e, t) => {
3773
3773
  throw new Error(
3774
3774
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3775
3775
  );
3776
- let h = wr(e, u);
3777
- if (!h)
3778
- h = (o = (i = (r = (n = et()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3779
- else if (typeof h != "string")
3776
+ let f = Br(e, u);
3777
+ if (!f)
3778
+ f = (o = (i = (r = (n = nt()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3779
+ else if (typeof f != "string")
3780
3780
  return console.warn(
3781
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3782
- ), h;
3781
+ `[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
+ ), f;
3783
3783
  if (!s)
3784
- return h;
3785
- let m = h;
3784
+ return f;
3785
+ let g = f;
3786
3786
  try {
3787
- m = Ko(h, u).format(s);
3787
+ g = Ko(f, u).format(s);
3788
3788
  } catch (d) {
3789
3789
  d instanceof Error && console.warn(
3790
3790
  `[svelte-i18n] Message "${e}" has syntax error:`,
3791
3791
  d.message
3792
3792
  );
3793
3793
  }
3794
- return m;
3795
- }, ta = (e, t) => Jo(t).format(e), na = (e, t) => Qo(t).format(e), ra = (e, t) => Yo(t).format(e), ia = (e, t = je()) => wr(e, t), oa = nt([rt, bt], () => ea);
3796
- nt([rt], () => ta);
3797
- nt([rt], () => na);
3798
- nt([rt], () => ra);
3799
- nt([rt, bt], () => ia);
3794
+ return g;
3795
+ }, ta = (e, t) => Jo(t).format(e), na = (e, t) => Qo(t).format(e), ra = (e, t) => Yo(t).format(e), ia = (e, t = je()) => Br(e, t), oa = it([ot, gt], () => ea);
3796
+ it([ot], () => ta);
3797
+ it([ot], () => na);
3798
+ it([ot], () => ra);
3799
+ it([ot, gt], () => ia);
3800
3800
  function Fn(e, t) {
3801
3801
  Tr(e, t);
3802
3802
  }
3803
3803
  function aa(e) {
3804
- rt.set(e);
3804
+ ot.set(e);
3805
3805
  }
3806
3806
  const Gn = {
3807
3807
  en: {
@@ -4047,27 +4047,27 @@ var fn = { exports: {} };
4047
4047
  */
4048
4048
  (function(e, t) {
4049
4049
  (function(n) {
4050
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, a = n.XDomainRequest, s = n.ActiveXObject, u = n.EventSource, l = n.document, h = n.Promise, m = n.fetch, d = n.Response, g = n.TextDecoder, y = n.TextEncoder, T = n.AbortController;
4050
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, a = n.XDomainRequest, s = n.ActiveXObject, u = n.EventSource, l = n.document, f = n.Promise, g = n.fetch, d = n.Response, y = n.TextDecoder, v = n.TextEncoder, S = n.AbortController;
4051
4051
  if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(c) {
4052
4052
  l.readyState = "complete";
4053
4053
  }, !1)), o == null && s != null && (o = function() {
4054
4054
  return new s("Microsoft.XMLHTTP");
4055
4055
  }), Object.create == null && (Object.create = function(c) {
4056
- function b() {
4056
+ function p() {
4057
4057
  }
4058
- return b.prototype = c, new b();
4058
+ return p.prototype = c, new p();
4059
4059
  }), Date.now || (Date.now = function() {
4060
4060
  return (/* @__PURE__ */ new Date()).getTime();
4061
- }), T == null) {
4062
- var te = m;
4063
- m = function(c, b) {
4064
- var _ = b.signal;
4065
- return te(c, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4066
- var A = p.body.getReader();
4067
- return _._reader = A, _._aborted && _._reader.cancel(), {
4068
- status: p.status,
4069
- statusText: p.statusText,
4070
- headers: p.headers,
4061
+ }), S == null) {
4062
+ var K = g;
4063
+ g = function(c, p) {
4064
+ var E = p.signal;
4065
+ return K(c, { headers: p.headers, credentials: p.credentials, cache: p.cache }).then(function(b) {
4066
+ var A = b.body.getReader();
4067
+ return E._reader = A, E._aborted && E._reader.cancel(), {
4068
+ status: b.status,
4069
+ statusText: b.statusText,
4070
+ headers: b.headers,
4071
4071
  body: {
4072
4072
  getReader: function() {
4073
4073
  return A;
@@ -4075,7 +4075,7 @@ var fn = { exports: {} };
4075
4075
  }
4076
4076
  };
4077
4077
  });
4078
- }, T = function() {
4078
+ }, S = function() {
4079
4079
  this.signal = {
4080
4080
  _reader: null,
4081
4081
  _aborted: !1
@@ -4084,119 +4084,119 @@ var fn = { exports: {} };
4084
4084
  };
4085
4085
  };
4086
4086
  }
4087
- function ue() {
4087
+ function ae() {
4088
4088
  this.bitsNeeded = 0, this.codePoint = 0;
4089
4089
  }
4090
- ue.prototype.decode = function(c) {
4091
- function b(I, G, C) {
4090
+ ae.prototype.decode = function(c) {
4091
+ function p(G, V, C) {
4092
4092
  if (C === 1)
4093
- return I >= 128 >> G && I << G <= 2047;
4093
+ return G >= 128 >> V && G << V <= 2047;
4094
4094
  if (C === 2)
4095
- return I >= 2048 >> G && I << G <= 55295 || I >= 57344 >> G && I << G <= 65535;
4095
+ return G >= 2048 >> V && G << V <= 55295 || G >= 57344 >> V && G << V <= 65535;
4096
4096
  if (C === 3)
4097
- return I >= 65536 >> G && I << G <= 1114111;
4097
+ return G >= 65536 >> V && G << V <= 1114111;
4098
4098
  throw new Error();
4099
4099
  }
4100
- function _(I, G) {
4101
- if (I === 6 * 1)
4102
- return G >> 6 > 15 ? 3 : G > 31 ? 2 : 1;
4103
- if (I === 6 * 2)
4104
- return G > 15 ? 3 : 2;
4105
- if (I === 6 * 3)
4100
+ function E(G, V) {
4101
+ if (G === 6 * 1)
4102
+ return V >> 6 > 15 ? 3 : V > 31 ? 2 : 1;
4103
+ if (G === 6 * 2)
4104
+ return V > 15 ? 3 : 2;
4105
+ if (G === 6 * 3)
4106
4106
  return 3;
4107
4107
  throw new Error();
4108
4108
  }
4109
- for (var p = 65533, A = "", w = this.bitsNeeded, H = this.codePoint, $ = 0; $ < c.length; $ += 1) {
4110
- var R = c[$];
4111
- w !== 0 && (R < 128 || R > 191 || !b(H << 6 | R & 63, w - 6, _(w, H))) && (w = 0, H = p, A += String.fromCharCode(H)), w === 0 ? (R >= 0 && R <= 127 ? (w = 0, H = R) : R >= 192 && R <= 223 ? (w = 6 * 1, H = R & 31) : R >= 224 && R <= 239 ? (w = 6 * 2, H = R & 15) : R >= 240 && R <= 247 ? (w = 6 * 3, H = R & 7) : (w = 0, H = p), w !== 0 && !b(H, w, _(w, H)) && (w = 0, H = p)) : (w -= 6, H = H << 6 | R & 63), w === 0 && (H <= 65535 ? A += String.fromCharCode(H) : (A += String.fromCharCode(55296 + (H - 65535 - 1 >> 10)), A += String.fromCharCode(56320 + (H - 65535 - 1 & 1023))));
4109
+ for (var b = 65533, A = "", B = this.bitsNeeded, H = this.codePoint, $ = 0; $ < c.length; $ += 1) {
4110
+ var O = c[$];
4111
+ B !== 0 && (O < 128 || O > 191 || !p(H << 6 | O & 63, B - 6, E(B, H))) && (B = 0, H = b, A += String.fromCharCode(H)), B === 0 ? (O >= 0 && O <= 127 ? (B = 0, H = O) : O >= 192 && O <= 223 ? (B = 6 * 1, H = O & 31) : O >= 224 && O <= 239 ? (B = 6 * 2, H = O & 15) : O >= 240 && O <= 247 ? (B = 6 * 3, H = O & 7) : (B = 0, H = b), B !== 0 && !p(H, B, E(B, H)) && (B = 0, H = b)) : (B -= 6, H = H << 6 | O & 63), B === 0 && (H <= 65535 ? A += String.fromCharCode(H) : (A += String.fromCharCode(55296 + (H - 65535 - 1 >> 10)), A += String.fromCharCode(56320 + (H - 65535 - 1 & 1023))));
4112
4112
  }
4113
- return this.bitsNeeded = w, this.codePoint = H, A;
4113
+ return this.bitsNeeded = B, this.codePoint = H, A;
4114
4114
  };
4115
- var le = function() {
4115
+ var se = function() {
4116
4116
  try {
4117
- return new g().decode(new y().encode("test"), { stream: !0 }) === "test";
4117
+ return new y().decode(new v().encode("test"), { stream: !0 }) === "test";
4118
4118
  } catch (c) {
4119
4119
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4120
4120
  }
4121
4121
  return !1;
4122
4122
  };
4123
- (g == null || y == null || !le()) && (g = ue);
4124
- var U = function() {
4123
+ (y == null || v == null || !se()) && (y = ae);
4124
+ var D = function() {
4125
4125
  };
4126
- function Q(c) {
4127
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = U, this.onload = U, this.onerror = U, this.onreadystatechange = U, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = U;
4126
+ function Y(c) {
4127
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = D, this.onload = D, this.onerror = D, this.onreadystatechange = D, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = D;
4128
4128
  }
4129
- Q.prototype.open = function(c, b) {
4129
+ Y.prototype.open = function(c, p) {
4130
4130
  this._abort(!0);
4131
- var _ = this, p = this._xhr, A = 1, w = 0;
4131
+ var E = this, b = this._xhr, A = 1, B = 0;
4132
4132
  this._abort = function(C) {
4133
- _._sendTimeout !== 0 && (i(_._sendTimeout), _._sendTimeout = 0), (A === 1 || A === 2 || A === 3) && (A = 4, p.onload = U, p.onerror = U, p.onabort = U, p.onprogress = U, p.onreadystatechange = U, p.abort(), w !== 0 && (i(w), w = 0), C || (_.readyState = 4, _.onabort(null), _.onreadystatechange())), A = 0;
4133
+ E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (A === 1 || A === 2 || A === 3) && (A = 4, b.onload = D, b.onerror = D, b.onabort = D, b.onprogress = D, b.onreadystatechange = D, b.abort(), B !== 0 && (i(B), B = 0), C || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), A = 0;
4134
4134
  };
4135
4135
  var H = function() {
4136
4136
  if (A === 1) {
4137
- var C = 0, V = "", we = void 0;
4138
- if ("contentType" in p)
4139
- C = 200, V = "OK", we = p.contentType;
4137
+ var C = 0, X = "", Se = void 0;
4138
+ if ("contentType" in b)
4139
+ C = 200, X = "OK", Se = b.contentType;
4140
4140
  else
4141
4141
  try {
4142
- C = p.status, V = p.statusText, we = p.getResponseHeader("Content-Type");
4143
- } catch (f) {
4144
- C = 0, V = "", we = void 0;
4142
+ C = b.status, X = b.statusText, Se = b.getResponseHeader("Content-Type");
4143
+ } catch (ke) {
4144
+ C = 0, X = "", Se = void 0;
4145
4145
  }
4146
- C !== 0 && (A = 2, _.readyState = 2, _.status = C, _.statusText = V, _._contentType = we, _.onreadystatechange());
4146
+ C !== 0 && (A = 2, E.readyState = 2, E.status = C, E.statusText = X, E._contentType = Se, E.onreadystatechange());
4147
4147
  }
4148
4148
  }, $ = function() {
4149
4149
  if (H(), A === 2 || A === 3) {
4150
4150
  A = 3;
4151
4151
  var C = "";
4152
4152
  try {
4153
- C = p.responseText;
4154
- } catch (V) {
4153
+ C = b.responseText;
4154
+ } catch (X) {
4155
4155
  }
4156
- _.readyState = 3, _.responseText = C, _.onprogress();
4156
+ E.readyState = 3, E.responseText = C, E.onprogress();
4157
4157
  }
4158
- }, R = function(C, V) {
4159
- if ((V == null || V.preventDefault == null) && (V = {
4160
- preventDefault: U
4158
+ }, O = function(C, X) {
4159
+ if ((X == null || X.preventDefault == null) && (X = {
4160
+ preventDefault: D
4161
4161
  }), $(), A === 1 || A === 2 || A === 3) {
4162
- if (A = 4, w !== 0 && (i(w), w = 0), _.readyState = 4, C === "load")
4163
- _.onload(V);
4162
+ if (A = 4, B !== 0 && (i(B), B = 0), E.readyState = 4, C === "load")
4163
+ E.onload(X);
4164
4164
  else if (C === "error")
4165
- _.onerror(V);
4165
+ E.onerror(X);
4166
4166
  else if (C === "abort")
4167
- _.onabort(V);
4167
+ E.onabort(X);
4168
4168
  else
4169
4169
  throw new TypeError();
4170
- _.onreadystatechange();
4170
+ E.onreadystatechange();
4171
4171
  }
4172
- }, I = function(C) {
4173
- p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && R(p.responseText === "" ? "error" : "load", C) : p.readyState === 3 ? "onprogress" in p || $() : p.readyState === 2 && H());
4174
- }, G = function() {
4175
- w = r(function() {
4176
- G();
4177
- }, 500), p.readyState === 3 && $();
4172
+ }, G = function(C) {
4173
+ b != null && (b.readyState === 4 ? (!("onload" in b) || !("onerror" in b) || !("onabort" in b)) && O(b.responseText === "" ? "error" : "load", C) : b.readyState === 3 ? "onprogress" in b || $() : b.readyState === 2 && H());
4174
+ }, V = function() {
4175
+ B = r(function() {
4176
+ V();
4177
+ }, 500), b.readyState === 3 && $();
4178
4178
  };
4179
- "onload" in p && (p.onload = function(C) {
4180
- R("load", C);
4181
- }), "onerror" in p && (p.onerror = function(C) {
4182
- R("error", C);
4183
- }), "onabort" in p && (p.onabort = function(C) {
4184
- R("abort", C);
4185
- }), "onprogress" in p && (p.onprogress = $), "onreadystatechange" in p && (p.onreadystatechange = function(C) {
4186
- I(C);
4187
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(c, b, !0), "readyState" in p && (w = r(function() {
4188
- G();
4179
+ "onload" in b && (b.onload = function(C) {
4180
+ O("load", C);
4181
+ }), "onerror" in b && (b.onerror = function(C) {
4182
+ O("error", C);
4183
+ }), "onabort" in b && (b.onabort = function(C) {
4184
+ O("abort", C);
4185
+ }), "onprogress" in b && (b.onprogress = $), "onreadystatechange" in b && (b.onreadystatechange = function(C) {
4186
+ G(C);
4187
+ }), ("contentType" in b || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), b.open(c, p, !0), "readyState" in b && (B = r(function() {
4188
+ V();
4189
4189
  }, 0));
4190
- }, Q.prototype.abort = function() {
4190
+ }, Y.prototype.abort = function() {
4191
4191
  this._abort(!1);
4192
- }, Q.prototype.getResponseHeader = function(c) {
4192
+ }, Y.prototype.getResponseHeader = function(c) {
4193
4193
  return this._contentType;
4194
- }, Q.prototype.setRequestHeader = function(c, b) {
4195
- var _ = this._xhr;
4196
- "setRequestHeader" in _ && _.setRequestHeader(c, b);
4197
- }, Q.prototype.getAllResponseHeaders = function() {
4194
+ }, Y.prototype.setRequestHeader = function(c, p) {
4195
+ var E = this._xhr;
4196
+ "setRequestHeader" in E && E.setRequestHeader(c, p);
4197
+ }, Y.prototype.getAllResponseHeaders = function() {
4198
4198
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4199
- }, Q.prototype.send = function() {
4199
+ }, Y.prototype.send = function() {
4200
4200
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4201
4201
  var c = this;
4202
4202
  c._sendTimeout = r(function() {
@@ -4204,52 +4204,52 @@ var fn = { exports: {} };
4204
4204
  }, 4);
4205
4205
  return;
4206
4206
  }
4207
- var b = this._xhr;
4208
- "withCredentials" in b && (b.withCredentials = this.withCredentials);
4207
+ var p = this._xhr;
4208
+ "withCredentials" in p && (p.withCredentials = this.withCredentials);
4209
4209
  try {
4210
- b.send(void 0);
4211
- } catch (_) {
4212
- throw _;
4210
+ p.send(void 0);
4211
+ } catch (E) {
4212
+ throw E;
4213
4213
  }
4214
4214
  };
4215
- function J(c) {
4216
- return c.replace(/[A-Z]/g, function(b) {
4217
- return String.fromCharCode(b.charCodeAt(0) + 32);
4215
+ function ee(c) {
4216
+ return c.replace(/[A-Z]/g, function(p) {
4217
+ return String.fromCharCode(p.charCodeAt(0) + 32);
4218
4218
  });
4219
4219
  }
4220
- function ie(c) {
4221
- for (var b = /* @__PURE__ */ Object.create(null), _ = c.split(`\r
4222
- `), p = 0; p < _.length; p += 1) {
4223
- var A = _[p], w = A.split(": "), H = w.shift(), $ = w.join(": ");
4224
- b[J(H)] = $;
4220
+ function te(c) {
4221
+ for (var p = /* @__PURE__ */ Object.create(null), E = c.split(`\r
4222
+ `), b = 0; b < E.length; b += 1) {
4223
+ var A = E[b], B = A.split(": "), H = B.shift(), $ = B.join(": ");
4224
+ p[ee(H)] = $;
4225
4225
  }
4226
- this._map = b;
4226
+ this._map = p;
4227
4227
  }
4228
- ie.prototype.get = function(c) {
4229
- return this._map[J(c)];
4228
+ te.prototype.get = function(c) {
4229
+ return this._map[ee(c)];
4230
4230
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4231
- function de() {
4231
+ function ue() {
4232
4232
  }
4233
- de.prototype.open = function(c, b, _, p, A, w, H) {
4233
+ ue.prototype.open = function(c, p, E, b, A, B, H) {
4234
4234
  c.open("GET", A);
4235
4235
  var $ = 0;
4236
4236
  c.onprogress = function() {
4237
- var I = c.responseText, G = I.slice($);
4238
- $ += G.length, _(G);
4239
- }, c.onerror = function(I) {
4240
- I.preventDefault(), p(new Error("NetworkError"));
4237
+ var G = c.responseText, V = G.slice($);
4238
+ $ += V.length, E(V);
4239
+ }, c.onerror = function(G) {
4240
+ G.preventDefault(), b(new Error("NetworkError"));
4241
4241
  }, c.onload = function() {
4242
- p(null);
4242
+ b(null);
4243
4243
  }, c.onabort = function() {
4244
- p(null);
4244
+ b(null);
4245
4245
  }, c.onreadystatechange = function() {
4246
4246
  if (c.readyState === o.HEADERS_RECEIVED) {
4247
- var I = c.status, G = c.statusText, C = c.getResponseHeader("Content-Type"), V = c.getAllResponseHeaders();
4248
- b(I, G, C, new ie(V));
4247
+ var G = c.status, V = c.statusText, C = c.getResponseHeader("Content-Type"), X = c.getAllResponseHeaders();
4248
+ p(G, V, C, new te(X));
4249
4249
  }
4250
- }, c.withCredentials = w;
4251
- for (var R in H)
4252
- Object.prototype.hasOwnProperty.call(H, R) && c.setRequestHeader(R, H[R]);
4250
+ }, c.withCredentials = B;
4251
+ for (var O in H)
4252
+ Object.prototype.hasOwnProperty.call(H, O) && c.setRequestHeader(O, H[O]);
4253
4253
  return c.send(), c;
4254
4254
  };
4255
4255
  function He(c) {
@@ -4258,229 +4258,229 @@ var fn = { exports: {} };
4258
4258
  He.prototype.get = function(c) {
4259
4259
  return this._headers.get(c);
4260
4260
  };
4261
- function ne() {
4261
+ function de() {
4262
4262
  }
4263
- ne.prototype.open = function(c, b, _, p, A, w, H) {
4264
- var $ = null, R = new T(), I = R.signal, G = new g();
4265
- return m(A, {
4263
+ de.prototype.open = function(c, p, E, b, A, B, H) {
4264
+ var $ = null, O = new S(), G = O.signal, V = new y();
4265
+ return g(A, {
4266
4266
  headers: H,
4267
- credentials: w ? "include" : "same-origin",
4268
- signal: I,
4267
+ credentials: B ? "include" : "same-origin",
4268
+ signal: G,
4269
4269
  cache: "no-store"
4270
4270
  }).then(function(C) {
4271
- return $ = C.body.getReader(), b(C.status, C.statusText, C.headers.get("Content-Type"), new He(C.headers)), new h(function(V, we) {
4272
- var f = function() {
4273
- $.read().then(function(x) {
4274
- if (x.done)
4275
- V(void 0);
4271
+ return $ = C.body.getReader(), p(C.status, C.statusText, C.headers.get("Content-Type"), new He(C.headers)), new f(function(X, Se) {
4272
+ var ke = function() {
4273
+ $.read().then(function(h) {
4274
+ if (h.done)
4275
+ X(void 0);
4276
4276
  else {
4277
- var E = G.decode(x.value, { stream: !0 });
4278
- _(E), f();
4277
+ var x = V.decode(h.value, { stream: !0 });
4278
+ E(x), ke();
4279
4279
  }
4280
- }).catch(function(x) {
4281
- we(x);
4280
+ }).catch(function(h) {
4281
+ Se(h);
4282
4282
  });
4283
4283
  };
4284
- f();
4284
+ ke();
4285
4285
  });
4286
4286
  }).catch(function(C) {
4287
4287
  if (C.name !== "AbortError")
4288
4288
  return C;
4289
4289
  }).then(function(C) {
4290
- p(C);
4290
+ b(C);
4291
4291
  }), {
4292
4292
  abort: function() {
4293
- $ != null && $.cancel(), R.abort();
4293
+ $ != null && $.cancel(), O.abort();
4294
4294
  }
4295
4295
  };
4296
4296
  };
4297
- function W() {
4297
+ function F() {
4298
4298
  this._listeners = /* @__PURE__ */ Object.create(null);
4299
4299
  }
4300
- function k(c) {
4300
+ function ne(c) {
4301
4301
  r(function() {
4302
4302
  throw c;
4303
4303
  }, 0);
4304
4304
  }
4305
- W.prototype.dispatchEvent = function(c) {
4305
+ F.prototype.dispatchEvent = function(c) {
4306
4306
  c.target = this;
4307
- var b = this._listeners[c.type];
4308
- if (b != null)
4309
- for (var _ = b.length, p = 0; p < _; p += 1) {
4310
- var A = b[p];
4307
+ var p = this._listeners[c.type];
4308
+ if (p != null)
4309
+ for (var E = p.length, b = 0; b < E; b += 1) {
4310
+ var A = p[b];
4311
4311
  try {
4312
4312
  typeof A.handleEvent == "function" ? A.handleEvent(c) : A.call(this, c);
4313
- } catch (w) {
4314
- k(w);
4313
+ } catch (B) {
4314
+ ne(B);
4315
4315
  }
4316
4316
  }
4317
- }, W.prototype.addEventListener = function(c, b) {
4317
+ }, F.prototype.addEventListener = function(c, p) {
4318
4318
  c = String(c);
4319
- var _ = this._listeners, p = _[c];
4320
- p == null && (p = [], _[c] = p);
4321
- for (var A = !1, w = 0; w < p.length; w += 1)
4322
- p[w] === b && (A = !0);
4323
- A || p.push(b);
4324
- }, W.prototype.removeEventListener = function(c, b) {
4319
+ var E = this._listeners, b = E[c];
4320
+ b == null && (b = [], E[c] = b);
4321
+ for (var A = !1, B = 0; B < b.length; B += 1)
4322
+ b[B] === p && (A = !0);
4323
+ A || b.push(p);
4324
+ }, F.prototype.removeEventListener = function(c, p) {
4325
4325
  c = String(c);
4326
- var _ = this._listeners, p = _[c];
4327
- if (p != null) {
4328
- for (var A = [], w = 0; w < p.length; w += 1)
4329
- p[w] !== b && A.push(p[w]);
4330
- A.length === 0 ? delete _[c] : _[c] = A;
4326
+ var E = this._listeners, b = E[c];
4327
+ if (b != null) {
4328
+ for (var A = [], B = 0; B < b.length; B += 1)
4329
+ b[B] !== p && A.push(b[B]);
4330
+ A.length === 0 ? delete E[c] : E[c] = A;
4331
4331
  }
4332
4332
  };
4333
- function j(c) {
4333
+ function k(c) {
4334
4334
  this.type = c, this.target = void 0;
4335
4335
  }
4336
- function O(c, b) {
4337
- j.call(this, c), this.data = b.data, this.lastEventId = b.lastEventId;
4336
+ function M(c, p) {
4337
+ k.call(this, c), this.data = p.data, this.lastEventId = p.lastEventId;
4338
4338
  }
4339
- O.prototype = Object.create(j.prototype);
4340
- function ee(c, b) {
4341
- j.call(this, c), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4339
+ M.prototype = Object.create(k.prototype);
4340
+ function Q(c, p) {
4341
+ k.call(this, c), this.status = p.status, this.statusText = p.statusText, this.headers = p.headers;
4342
4342
  }
4343
- ee.prototype = Object.create(j.prototype);
4344
- function Z(c, b) {
4345
- j.call(this, c), this.error = b.error;
4343
+ Q.prototype = Object.create(k.prototype);
4344
+ function W(c, p) {
4345
+ k.call(this, c), this.error = p.error;
4346
4346
  }
4347
- Z.prototype = Object.create(j.prototype);
4348
- var Ue = -1, ce = 0, be = 1, pe = 2, Oe = -1, Be = 0, v = 1, Fe = 2, It = 3, Ge = /^text\/event\-stream(;.*)?$/i, ot = 1e3, Dt = 18e6, at = function(c, b) {
4349
- var _ = c == null ? b : parseInt(c, 10);
4350
- return _ !== _ && (_ = b), st(_);
4351
- }, st = function(c) {
4352
- return Math.min(Math.max(c, ot), Dt);
4353
- }, Ae = function(c, b, _) {
4347
+ W.prototype = Object.create(k.prototype);
4348
+ var Re = -1, Le = 0, pe = 1, _e = 2, Ee = -1, fe = 0, Ve = 1, m = 2, Ge = 3, Dt = /^text\/event\-stream(;.*)?$/i, De = 1e3, st = 18e6, ut = function(c, p) {
4349
+ var E = c == null ? p : parseInt(c, 10);
4350
+ return E !== E && (E = p), lt(E);
4351
+ }, lt = function(c) {
4352
+ return Math.min(Math.max(c, De), st);
4353
+ }, Ue = function(c, p, E) {
4354
4354
  try {
4355
- typeof b == "function" && b.call(c, _);
4356
- } catch (p) {
4357
- k(p);
4355
+ typeof p == "function" && p.call(c, E);
4356
+ } catch (b) {
4357
+ ne(b);
4358
4358
  }
4359
4359
  };
4360
- function me(c, b) {
4361
- W.call(this), b = b || {}, 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, yt(this, c, b);
4360
+ function le(c, p) {
4361
+ F.call(this), p = p || {}, 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, c, p);
4362
4362
  }
4363
- function Ut() {
4363
+ function vt() {
4364
4364
  return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4365
4365
  }
4366
- var ut = m != null && d != null && "body" in d.prototype;
4367
- function yt(c, b, _) {
4368
- b = String(b);
4369
- var p = !!_.withCredentials, A = _.lastEventIdQueryParameterName || "lastEventId", w = st(1e3), H = at(_.heartbeatTimeout, 45e3), $ = "", R = w, I = !1, G = 0, C = _.headers || {}, V = _.Transport, we = ut && V == null ? void 0 : new Q(V != null ? new V() : Ut()), f = V != null && typeof V != "string" ? new V() : we == null ? new ne() : new de(), x = void 0, E = 0, S = Ue, D = "", F = "", B = "", oe = "", q = Be, Le = 0, Re = 0, $e = function(ae, re, ge, ye) {
4370
- if (S === ce)
4371
- if (ae === 200 && ge != null && Ge.test(ge)) {
4372
- S = be, I = Date.now(), R = w, c.readyState = be;
4373
- var he = new ee("open", {
4374
- status: ae,
4366
+ var Ut = g != null && d != null && "body" in d.prototype;
4367
+ function ct(c, p, E) {
4368
+ p = String(p);
4369
+ var b = !!E.withCredentials, A = E.lastEventIdQueryParameterName || "lastEventId", B = lt(1e3), H = ut(E.heartbeatTimeout, 45e3), $ = "", O = B, G = !1, V = 0, C = E.headers || {}, X = E.Transport, Se = Ut && X == null ? void 0 : new Y(X != null ? new X() : vt()), ke = X != null && typeof X != "string" ? new X() : Se == null ? new de() : new ue(), h = void 0, x = 0, w = Re, T = "", j = "", N = "", _ = "", U = fe, me = 0, be = 0, Ft = function(ie, re, ge, ye) {
4370
+ if (w === Le)
4371
+ if (ie === 200 && ge != null && Dt.test(ge)) {
4372
+ w = pe, G = Date.now(), O = B, c.readyState = pe;
4373
+ var ce = new Q("open", {
4374
+ status: ie,
4375
4375
  statusText: re,
4376
4376
  headers: ye
4377
4377
  });
4378
- c.dispatchEvent(he), Ae(c, c.onopen, he);
4378
+ c.dispatchEvent(ce), Ue(c, c.onopen, ce);
4379
4379
  } else {
4380
- var se = "";
4381
- ae !== 200 ? (re && (re = re.replace(/\s+/g, " ")), se = "EventSource's response has a status " + ae + " " + re + " that is not 200. Aborting the connection.") : se = "EventSource's response has a Content-Type specifying an unsupported type: " + (ge == null ? "-" : ge.replace(/\s+/g, " ")) + ". Aborting the connection.", Me();
4382
- var he = new ee("error", {
4383
- status: ae,
4380
+ var oe = "";
4381
+ ie !== 200 ? (re && (re = re.replace(/\s+/g, " ")), oe = "EventSource's response has a status " + ie + " " + re + " that is not 200. Aborting the connection.") : oe = "EventSource's response has a Content-Type specifying an unsupported type: " + (ge == null ? "-" : ge.replace(/\s+/g, " ")) + ". Aborting the connection.", Xe();
4382
+ var ce = new Q("error", {
4383
+ status: ie,
4384
4384
  statusText: re,
4385
4385
  headers: ye
4386
4386
  });
4387
- c.dispatchEvent(he), Ae(c, c.onerror, he), console.error(se);
4387
+ c.dispatchEvent(ce), Ue(c, c.onerror, ce), console.error(oe);
4388
4388
  }
4389
- }, Ft = function(ae) {
4390
- if (S === be) {
4391
- for (var re = -1, ge = 0; ge < ae.length; ge += 1) {
4392
- var ye = ae.charCodeAt(ge);
4389
+ }, $e = function(ie) {
4390
+ if (w === pe) {
4391
+ for (var re = -1, ge = 0; ge < ie.length; ge += 1) {
4392
+ var ye = ie.charCodeAt(ge);
4393
4393
  (ye === 10 || ye === 13) && (re = ge);
4394
4394
  }
4395
- var he = (re !== -1 ? oe : "") + ae.slice(0, re + 1);
4396
- oe = (re === -1 ? oe : "") + ae.slice(re + 1), ae !== "" && (I = Date.now(), G += ae.length);
4397
- for (var se = 0; se < he.length; se += 1) {
4398
- var ye = he.charCodeAt(se);
4399
- if (q === Oe && ye === 10)
4400
- q = Be;
4401
- else if (q === Oe && (q = Be), ye === 13 || ye === 10) {
4402
- if (q !== Be) {
4403
- q === v && (Re = se + 1);
4404
- var Pe = he.slice(Le, Re - 1), Ne = he.slice(Re + (Re < se && he.charCodeAt(Re) === 32 ? 1 : 0), se);
4405
- Pe === "data" ? (D += `
4406
- `, D += Ne) : Pe === "id" ? F = Ne : Pe === "event" ? B = Ne : Pe === "retry" ? (w = at(Ne, w), R = w) : Pe === "heartbeatTimeout" && (H = at(Ne, H), E !== 0 && (i(E), E = r(function() {
4407
- ct();
4395
+ var ce = (re !== -1 ? _ : "") + ie.slice(0, re + 1);
4396
+ _ = (re === -1 ? _ : "") + ie.slice(re + 1), ie !== "" && (G = Date.now(), V += ie.length);
4397
+ for (var oe = 0; oe < ce.length; oe += 1) {
4398
+ var ye = ce.charCodeAt(oe);
4399
+ if (U === Ee && ye === 10)
4400
+ U = fe;
4401
+ else if (U === Ee && (U = fe), ye === 13 || ye === 10) {
4402
+ if (U !== fe) {
4403
+ U === Ve && (be = oe + 1);
4404
+ var Me = ce.slice(me, be - 1), Pe = ce.slice(be + (be < oe && ce.charCodeAt(be) === 32 ? 1 : 0), oe);
4405
+ Me === "data" ? (T += `
4406
+ `, T += Pe) : Me === "id" ? j = Pe : Me === "event" ? N = Pe : Me === "retry" ? (B = ut(Pe, B), O = B) : Me === "heartbeatTimeout" && (H = ut(Pe, H), x !== 0 && (i(x), x = r(function() {
4407
+ Te();
4408
4408
  }, H)));
4409
4409
  }
4410
- if (q === Be) {
4411
- if (D !== "") {
4412
- $ = F, B === "" && (B = "message");
4413
- var Ve = new O(B, {
4414
- data: D.slice(1),
4415
- lastEventId: F
4410
+ if (U === fe) {
4411
+ if (T !== "") {
4412
+ $ = j, N === "" && (N = "message");
4413
+ var ze = new M(N, {
4414
+ data: T.slice(1),
4415
+ lastEventId: j
4416
4416
  });
4417
- if (c.dispatchEvent(Ve), B === "open" ? Ae(c, c.onopen, Ve) : B === "message" ? Ae(c, c.onmessage, Ve) : B === "error" && Ae(c, c.onerror, Ve), S === pe)
4417
+ if (c.dispatchEvent(ze), N === "open" ? Ue(c, c.onopen, ze) : N === "message" ? Ue(c, c.onmessage, ze) : N === "error" && Ue(c, c.onerror, ze), w === _e)
4418
4418
  return;
4419
4419
  }
4420
- D = "", B = "";
4420
+ T = "", N = "";
4421
4421
  }
4422
- q = ye === 13 ? Oe : Be;
4422
+ U = ye === 13 ? Ee : fe;
4423
4423
  } else
4424
- q === Be && (Le = se, q = v), q === v ? ye === 58 && (Re = se + 1, q = Fe) : q === Fe && (q = It);
4424
+ U === fe && (me = oe, U = Ve), U === Ve ? ye === 58 && (be = oe + 1, U = m) : U === m && (U = Ge);
4425
4425
  }
4426
4426
  }
4427
- }, lt = function(ae) {
4428
- if (S === be || S === ce) {
4429
- S = Ue, E !== 0 && (i(E), E = 0), E = r(function() {
4430
- ct();
4431
- }, R), R = st(Math.min(w * 16, R * 2)), c.readyState = ce;
4432
- var re = new Z("error", { error: ae });
4433
- c.dispatchEvent(re), Ae(c, c.onerror, re), ae != null && console.error(ae);
4427
+ }, _t = function(ie) {
4428
+ if (w === pe || w === Le) {
4429
+ w = Re, x !== 0 && (i(x), x = 0), x = r(function() {
4430
+ Te();
4431
+ }, O), O = lt(Math.min(B * 16, O * 2)), c.readyState = Le;
4432
+ var re = new W("error", { error: ie });
4433
+ c.dispatchEvent(re), Ue(c, c.onerror, re), ie != null && console.error(ie);
4434
4434
  }
4435
- }, Me = function() {
4436
- S = pe, x != null && (x.abort(), x = void 0), E !== 0 && (i(E), E = 0), c.readyState = pe;
4437
- }, ct = function() {
4438
- if (E = 0, S !== Ue) {
4439
- if (!I && x != null)
4440
- lt(new Error("No activity within " + H + " milliseconds. " + (S === ce ? "No response received." : G + " chars received.") + " Reconnecting.")), x != null && (x.abort(), x = void 0);
4435
+ }, Xe = function() {
4436
+ w = _e, h != null && (h.abort(), h = void 0), x !== 0 && (i(x), x = 0), c.readyState = _e;
4437
+ }, Te = function() {
4438
+ if (x = 0, w !== Re) {
4439
+ if (!G && h != null)
4440
+ _t(new Error("No activity within " + H + " milliseconds. " + (w === Le ? "No response received." : V + " chars received.") + " Reconnecting.")), h != null && (h.abort(), h = void 0);
4441
4441
  else {
4442
- var ae = Math.max((I || Date.now()) + H - Date.now(), 1);
4443
- I = !1, E = r(function() {
4444
- ct();
4445
- }, ae);
4442
+ var ie = Math.max((G || Date.now()) + H - Date.now(), 1);
4443
+ G = !1, x = r(function() {
4444
+ Te();
4445
+ }, ie);
4446
4446
  }
4447
4447
  return;
4448
4448
  }
4449
- I = !1, G = 0, E = r(function() {
4450
- ct();
4451
- }, H), S = ce, D = "", B = "", F = $, oe = "", Le = 0, Re = 0, q = Be;
4452
- var re = b;
4453
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && $ !== "") {
4454
- var ge = b.indexOf("?");
4455
- re = ge === -1 ? b : b.slice(0, ge + 1) + b.slice(ge + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ne, Ve) {
4456
- return Ve === A ? "" : Ne;
4457
- }), re += (b.indexOf("?") === -1 ? "?" : "&") + A + "=" + encodeURIComponent($);
4449
+ G = !1, V = 0, x = r(function() {
4450
+ Te();
4451
+ }, H), w = Le, T = "", N = "", j = $, _ = "", me = 0, be = 0, U = fe;
4452
+ var re = p;
4453
+ if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && $ !== "") {
4454
+ var ge = p.indexOf("?");
4455
+ re = ge === -1 ? p : p.slice(0, ge + 1) + p.slice(ge + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Pe, ze) {
4456
+ return ze === A ? "" : Pe;
4457
+ }), re += (p.indexOf("?") === -1 ? "?" : "&") + A + "=" + encodeURIComponent($);
4458
4458
  }
4459
- var ye = c.withCredentials, he = {};
4460
- he.Accept = "text/event-stream";
4461
- var se = c.headers;
4462
- if (se != null)
4463
- for (var Pe in se)
4464
- Object.prototype.hasOwnProperty.call(se, Pe) && (he[Pe] = se[Pe]);
4459
+ var ye = c.withCredentials, ce = {};
4460
+ ce.Accept = "text/event-stream";
4461
+ var oe = c.headers;
4462
+ if (oe != null)
4463
+ for (var Me in oe)
4464
+ Object.prototype.hasOwnProperty.call(oe, Me) && (ce[Me] = oe[Me]);
4465
4465
  try {
4466
- x = f.open(we, $e, Ft, lt, re, ye, he);
4467
- } catch (Ne) {
4468
- throw Me(), Ne;
4466
+ h = ke.open(Se, Ft, $e, _t, re, ye, ce);
4467
+ } catch (Pe) {
4468
+ throw Xe(), Pe;
4469
4469
  }
4470
4470
  };
4471
- c.url = b, c.readyState = ce, c.withCredentials = p, c.headers = C, c._close = Me, ct();
4471
+ c.url = p, c.readyState = Le, c.withCredentials = b, c.headers = C, c._close = Xe, Te();
4472
4472
  }
4473
- me.prototype = Object.create(W.prototype), me.prototype.CONNECTING = ce, me.prototype.OPEN = be, me.prototype.CLOSED = pe, me.prototype.close = function() {
4473
+ le.prototype = Object.create(F.prototype), le.prototype.CONNECTING = Le, le.prototype.OPEN = pe, le.prototype.CLOSED = _e, le.prototype.close = function() {
4474
4474
  this._close();
4475
- }, me.CONNECTING = ce, me.OPEN = be, me.CLOSED = pe, me.prototype.withCredentials = void 0;
4476
- var vt = u;
4477
- o != null && (u == null || !("withCredentials" in u.prototype)) && (vt = me), function(c) {
4475
+ }, le.CONNECTING = Le, le.OPEN = pe, le.CLOSED = _e, le.prototype.withCredentials = void 0;
4476
+ var ht = u;
4477
+ o != null && (u == null || !("withCredentials" in u.prototype)) && (ht = le), function(c) {
4478
4478
  {
4479
- var b = c(t);
4480
- b !== void 0 && (e.exports = b);
4479
+ var p = c(t);
4480
+ p !== void 0 && (e.exports = p);
4481
4481
  }
4482
4482
  }(function(c) {
4483
- c.EventSourcePolyfill = me, c.NativeEventSource = u, c.EventSource = vt;
4483
+ c.EventSourcePolyfill = le, c.NativeEventSource = u, c.EventSource = ht;
4484
4484
  });
4485
4485
  })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : gi : globalThis);
4486
4486
  })(fn, fn.exports);
@@ -4507,7 +4507,7 @@ var dn = function(e, t) {
4507
4507
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
4508
4508
  }, dn(e, t);
4509
4509
  };
4510
- function gt(e, t) {
4510
+ function yt(e, t) {
4511
4511
  if (typeof t != "function" && t !== null)
4512
4512
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4513
4513
  dn(e, t);
@@ -4554,16 +4554,16 @@ function bn(e, t, n) {
4554
4554
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
4555
4555
  return e.concat(o || t);
4556
4556
  }
4557
- function De(e) {
4557
+ function Ie(e) {
4558
4558
  return typeof e == "function";
4559
4559
  }
4560
- function Lr(e) {
4560
+ function Or(e) {
4561
4561
  var t = function(r) {
4562
4562
  Error.call(r), r.stack = new Error().stack;
4563
4563
  }, n = e(t);
4564
4564
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
4565
4565
  }
4566
- var Jt = Lr(function(e) {
4566
+ var Jt = Or(function(e) {
4567
4567
  return function(n) {
4568
4568
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
4569
4569
  ` + n.map(function(r, i) {
@@ -4578,7 +4578,7 @@ function gn(e, t) {
4578
4578
  0 <= n && e.splice(n, 1);
4579
4579
  }
4580
4580
  }
4581
- var Nt = function() {
4581
+ var It = function() {
4582
4582
  function e(t) {
4583
4583
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4584
4584
  }
@@ -4594,8 +4594,8 @@ var Nt = function() {
4594
4594
  var l = u.value;
4595
4595
  l.remove(this);
4596
4596
  }
4597
- } catch (T) {
4598
- t = { error: T };
4597
+ } catch (S) {
4598
+ t = { error: S };
4599
4599
  } finally {
4600
4600
  try {
4601
4601
  u && !u.done && (n = s.return) && n.call(s);
@@ -4606,30 +4606,30 @@ var Nt = function() {
4606
4606
  }
4607
4607
  else
4608
4608
  a.remove(this);
4609
- var h = this.initialTeardown;
4610
- if (De(h))
4609
+ var f = this.initialTeardown;
4610
+ if (Ie(f))
4611
4611
  try {
4612
- h();
4613
- } catch (T) {
4614
- o = T instanceof Jt ? T.errors : [T];
4612
+ f();
4613
+ } catch (S) {
4614
+ o = S instanceof Jt ? S.errors : [S];
4615
4615
  }
4616
- var m = this._finalizers;
4617
- if (m) {
4616
+ var g = this._finalizers;
4617
+ if (g) {
4618
4618
  this._finalizers = null;
4619
4619
  try {
4620
- for (var d = pn(m), g = d.next(); !g.done; g = d.next()) {
4621
- var y = g.value;
4620
+ for (var d = pn(g), y = d.next(); !y.done; y = d.next()) {
4621
+ var v = y.value;
4622
4622
  try {
4623
- kn(y);
4624
- } catch (T) {
4625
- o = o != null ? o : [], T instanceof Jt ? o = bn(bn([], mn(o)), mn(T.errors)) : o.push(T);
4623
+ kn(v);
4624
+ } catch (S) {
4625
+ o = o != null ? o : [], S instanceof Jt ? o = bn(bn([], mn(o)), mn(S.errors)) : o.push(S);
4626
4626
  }
4627
4627
  }
4628
- } catch (T) {
4629
- r = { error: T };
4628
+ } catch (S) {
4629
+ r = { error: S };
4630
4630
  } finally {
4631
4631
  try {
4632
- g && !g.done && (i = d.return) && i.call(d);
4632
+ y && !y.done && (i = d.return) && i.call(d);
4633
4633
  } finally {
4634
4634
  if (r)
4635
4635
  throw r.error;
@@ -4668,12 +4668,12 @@ var Nt = function() {
4668
4668
  var t = new e();
4669
4669
  return t.closed = !0, t;
4670
4670
  }(), e;
4671
- }(), Rr = Nt.EMPTY;
4671
+ }(), Rr = It.EMPTY;
4672
4672
  function Mr(e) {
4673
- return e instanceof Nt || e && "closed" in e && De(e.remove) && De(e.add) && De(e.unsubscribe);
4673
+ return e instanceof It || e && "closed" in e && Ie(e.remove) && Ie(e.add) && Ie(e.unsubscribe);
4674
4674
  }
4675
4675
  function kn(e) {
4676
- De(e) ? e() : e.unsubscribe();
4676
+ Ie(e) ? e() : e.unsubscribe();
4677
4677
  }
4678
4678
  var ua = {
4679
4679
  Promise: void 0
@@ -4695,11 +4695,11 @@ function ca(e) {
4695
4695
  }
4696
4696
  function jn() {
4697
4697
  }
4698
- function St(e) {
4698
+ function Tt(e) {
4699
4699
  e();
4700
4700
  }
4701
4701
  var Pr = function(e) {
4702
- gt(t, e);
4702
+ yt(t, e);
4703
4703
  function t(n) {
4704
4704
  var r = e.call(this) || this;
4705
4705
  return r.isStopped = !1, n ? (r.destination = n, Mr(n) && n.add(r)) : r.destination = da, r;
@@ -4729,7 +4729,7 @@ var Pr = function(e) {
4729
4729
  this.unsubscribe();
4730
4730
  }
4731
4731
  }, t;
4732
- }(Nt), ha = function() {
4732
+ }(It), ha = function() {
4733
4733
  function e(t) {
4734
4734
  this.partialObserver = t;
4735
4735
  }
@@ -4739,7 +4739,7 @@ var Pr = function(e) {
4739
4739
  try {
4740
4740
  n.next(t);
4741
4741
  } catch (r) {
4742
- Et(r);
4742
+ xt(r);
4743
4743
  }
4744
4744
  }, e.prototype.error = function(t) {
4745
4745
  var n = this.partialObserver;
@@ -4747,24 +4747,24 @@ var Pr = function(e) {
4747
4747
  try {
4748
4748
  n.error(t);
4749
4749
  } catch (r) {
4750
- Et(r);
4750
+ xt(r);
4751
4751
  }
4752
4752
  else
4753
- Et(t);
4753
+ xt(t);
4754
4754
  }, e.prototype.complete = function() {
4755
4755
  var t = this.partialObserver;
4756
4756
  if (t.complete)
4757
4757
  try {
4758
4758
  t.complete();
4759
4759
  } catch (n) {
4760
- Et(n);
4760
+ xt(n);
4761
4761
  }
4762
4762
  }, e;
4763
4763
  }(), yn = function(e) {
4764
- gt(t, e);
4764
+ yt(t, e);
4765
4765
  function t(n, r, i) {
4766
4766
  var o = e.call(this) || this, a;
4767
- return De(n) || !n ? a = {
4767
+ return Ie(n) || !n ? a = {
4768
4768
  next: n != null ? n : void 0,
4769
4769
  error: r != null ? r : void 0,
4770
4770
  complete: i != null ? i : void 0
@@ -4772,7 +4772,7 @@ var Pr = function(e) {
4772
4772
  }
4773
4773
  return t;
4774
4774
  }(Pr);
4775
- function Et(e) {
4775
+ function xt(e) {
4776
4776
  ca(e);
4777
4777
  }
4778
4778
  function fa(e) {
@@ -4796,7 +4796,7 @@ function ba(e) {
4796
4796
  }, n);
4797
4797
  };
4798
4798
  }
4799
- var $n = function() {
4799
+ var Vn = function() {
4800
4800
  function e(t) {
4801
4801
  t && (this._subscribe = t);
4802
4802
  }
@@ -4805,7 +4805,7 @@ var $n = function() {
4805
4805
  return n.source = this, n.operator = t, n;
4806
4806
  }, e.prototype.subscribe = function(t, n, r) {
4807
4807
  var i = this, o = ya(t) ? t : new yn(t, n, r);
4808
- return St(function() {
4808
+ return Tt(function() {
4809
4809
  var a = i, s = a.operator, u = a.source;
4810
4810
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4811
4811
  }), o;
@@ -4817,7 +4817,7 @@ var $n = function() {
4817
4817
  }
4818
4818
  }, e.prototype.forEach = function(t, n) {
4819
4819
  var r = this;
4820
- return n = Vn(n), new n(function(i, o) {
4820
+ return n = $n(n), new n(function(i, o) {
4821
4821
  var a = new yn({
4822
4822
  next: function(s) {
4823
4823
  try {
@@ -4842,7 +4842,7 @@ var $n = function() {
4842
4842
  return ba(t)(this);
4843
4843
  }, e.prototype.toPromise = function(t) {
4844
4844
  var n = this;
4845
- return t = Vn(t), new t(function(r, i) {
4845
+ return t = $n(t), new t(function(r, i) {
4846
4846
  var o;
4847
4847
  n.subscribe(function(a) {
4848
4848
  return o = a;
@@ -4856,22 +4856,22 @@ var $n = function() {
4856
4856
  return new e(t);
4857
4857
  }, e;
4858
4858
  }();
4859
- function Vn(e) {
4859
+ function $n(e) {
4860
4860
  var t;
4861
4861
  return (t = e != null ? e : ua.Promise) !== null && t !== void 0 ? t : Promise;
4862
4862
  }
4863
4863
  function ga(e) {
4864
- return e && De(e.next) && De(e.error) && De(e.complete);
4864
+ return e && Ie(e.next) && Ie(e.error) && Ie(e.complete);
4865
4865
  }
4866
4866
  function ya(e) {
4867
4867
  return e && e instanceof Pr || ga(e) && Mr(e);
4868
4868
  }
4869
- var va = Lr(function(e) {
4869
+ var va = Or(function(e) {
4870
4870
  return function() {
4871
4871
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4872
4872
  };
4873
4873
  }), Nr = function(e) {
4874
- gt(t, e);
4874
+ yt(t, e);
4875
4875
  function t() {
4876
4876
  var n = e.call(this) || this;
4877
4877
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
@@ -4884,7 +4884,7 @@ var va = Lr(function(e) {
4884
4884
  throw new va();
4885
4885
  }, t.prototype.next = function(n) {
4886
4886
  var r = this;
4887
- St(function() {
4887
+ Tt(function() {
4888
4888
  var i, o;
4889
4889
  if (r._throwIfClosed(), !r.isStopped) {
4890
4890
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
@@ -4907,7 +4907,7 @@ var va = Lr(function(e) {
4907
4907
  });
4908
4908
  }, t.prototype.error = function(n) {
4909
4909
  var r = this;
4910
- St(function() {
4910
+ Tt(function() {
4911
4911
  if (r._throwIfClosed(), !r.isStopped) {
4912
4912
  r.hasError = r.isStopped = !0, r.thrownError = n;
4913
4913
  for (var i = r.observers; i.length; )
@@ -4916,7 +4916,7 @@ var va = Lr(function(e) {
4916
4916
  });
4917
4917
  }, t.prototype.complete = function() {
4918
4918
  var n = this;
4919
- St(function() {
4919
+ Tt(function() {
4920
4920
  if (n._throwIfClosed(), !n.isStopped) {
4921
4921
  n.isStopped = !0;
4922
4922
  for (var r = n.observers; r.length; )
@@ -4938,20 +4938,20 @@ var va = Lr(function(e) {
4938
4938
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4939
4939
  }, t.prototype._innerSubscribe = function(n) {
4940
4940
  var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4941
- return o || a ? Rr : (this.currentObservers = null, s.push(n), new Nt(function() {
4941
+ return o || a ? Rr : (this.currentObservers = null, s.push(n), new It(function() {
4942
4942
  r.currentObservers = null, gn(s, n);
4943
4943
  }));
4944
4944
  }, t.prototype._checkFinalizedStatuses = function(n) {
4945
4945
  var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
4946
4946
  i ? n.error(o) : a && n.complete();
4947
4947
  }, t.prototype.asObservable = function() {
4948
- var n = new $n();
4948
+ var n = new Vn();
4949
4949
  return n.source = this, n;
4950
4950
  }, t.create = function(n, r) {
4951
4951
  return new Xn(n, r);
4952
4952
  }, t;
4953
- }($n), Xn = function(e) {
4954
- gt(t, e);
4953
+ }(Vn), Xn = function(e) {
4954
+ yt(t, e);
4955
4955
  function t(n, r) {
4956
4956
  var i = e.call(this) || this;
4957
4957
  return i.destination = n, i.source = r, i;
@@ -4975,7 +4975,7 @@ var va = Lr(function(e) {
4975
4975
  },
4976
4976
  delegate: void 0
4977
4977
  }, _a = function(e) {
4978
- gt(t, e);
4978
+ yt(t, e);
4979
4979
  function t(n, r, i) {
4980
4980
  n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Ir);
4981
4981
  var o = e.call(this) || this;
@@ -4992,8 +4992,8 @@ var va = Lr(function(e) {
4992
4992
  }, t.prototype._trimBuffer = function() {
4993
4993
  var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
4994
4994
  if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4995
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4996
- l = h;
4995
+ for (var u = i.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
4996
+ l = f;
4997
4997
  l && o.splice(0, l + 1);
4998
4998
  }
4999
4999
  }, t;
@@ -5008,51 +5008,51 @@ const zn = [], Wn = {}, Ea = (e, t = 0) => {
5008
5008
  window.emWidgets = { topic: Ea };
5009
5009
  const xa = (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));
5010
5010
  String(Number.MAX_SAFE_INTEGER).length;
5011
- function Ba(e) {
5012
- Vr(e, "svelte-15fwckg", '*,*::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;gap:5px}.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}');
5011
+ function wa(e) {
5012
+ $r(e, "svelte-15fwckg", '*,*::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;gap:5px}.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}');
5013
5013
  }
5014
5014
  function Zn(e, t, n) {
5015
5015
  const r = e.slice();
5016
- return r[63] = t[n], r;
5016
+ return r[64] = t[n], r;
5017
5017
  }
5018
5018
  function qn(e, t, n) {
5019
5019
  const r = e.slice();
5020
- return r[66] = t[n], r;
5020
+ return r[67] = t[n], r;
5021
5021
  }
5022
- function wa(e) {
5023
- let t, n, r, i, o, a, s, u, l, h, m, d, g = (
5022
+ function Ba(e) {
5023
+ let t, n, r, i, o, a, s, u, l, f, g, d, y = (
5024
5024
  /*showBalance*/
5025
5025
  e[6] && Yn(e)
5026
5026
  );
5027
5027
  return {
5028
5028
  c() {
5029
- t = X("button"), n = X("p"), r = Te(
5029
+ t = z("button"), n = z("p"), r = Ce(
5030
5030
  /*displayBalance*/
5031
5031
  e[8]
5032
- ), i = Se(), o = X("span"), a = wn("svg"), s = wn("path"), l = Se(), g && g.c(), h = Wr(), L(s, "id", "arrow"), L(s, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), L(s, "transform", "translate(-274.511 -441.088)"), L(s, "fill", "#d1d1d1"), L(a, "xmlns", "http://www.w3.org/2000/svg"), L(a, "width", "14"), L(a, "height", "6.835"), L(a, "viewBox", "0 0 14 6.835"), L(o, "class", u = /*isModalDisplayed*/
5032
+ ), i = Ae(), o = z("span"), a = Bn("svg"), s = Bn("path"), l = Ae(), y && y.c(), f = Wr(), L(s, "id", "arrow"), L(s, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), L(s, "transform", "translate(-274.511 -441.088)"), L(s, "fill", "#d1d1d1"), L(a, "xmlns", "http://www.w3.org/2000/svg"), L(a, "width", "14"), L(a, "height", "6.835"), L(a, "viewBox", "0 0 14 6.835"), L(o, "class", u = /*isModalDisplayed*/
5033
5033
  e[5] ? "TriangleActive" : "TriangleInactive"), L(t, "class", "BalanceValue");
5034
5034
  },
5035
- m(y, T) {
5036
- xe(y, t, T), M(t, n), M(n, r), M(t, i), M(t, o), M(o, a), M(a, s), xe(y, l, T), g && g.m(y, T), xe(y, h, T), m || (d = Ye(
5035
+ m(v, S) {
5036
+ Be(v, t, S), R(t, n), R(n, r), R(t, i), R(t, o), R(o, a), R(a, s), Be(v, l, S), y && y.m(v, S), Be(v, f, S), g || (d = Je(
5037
5037
  t,
5038
5038
  "click",
5039
5039
  /*click_handler*/
5040
- e[33]
5041
- ), m = !0);
5040
+ e[34]
5041
+ ), g = !0);
5042
5042
  },
5043
- p(y, T) {
5044
- T[0] & /*displayBalance*/
5045
- 256 && Ie(
5043
+ p(v, S) {
5044
+ S[0] & /*displayBalance*/
5045
+ 256 && Ne(
5046
5046
  r,
5047
5047
  /*displayBalance*/
5048
- y[8]
5049
- ), T[0] & /*isModalDisplayed*/
5048
+ v[8]
5049
+ ), S[0] & /*isModalDisplayed*/
5050
5050
  32 && u !== (u = /*isModalDisplayed*/
5051
- y[5] ? "TriangleActive" : "TriangleInactive") && L(o, "class", u), /*showBalance*/
5052
- y[6] ? g ? g.p(y, T) : (g = Yn(y), g.c(), g.m(h.parentNode, h)) : g && (g.d(1), g = null);
5051
+ v[5] ? "TriangleActive" : "TriangleInactive") && L(o, "class", u), /*showBalance*/
5052
+ v[6] ? y ? y.p(v, S) : (y = Yn(v), y.c(), y.m(f.parentNode, f)) : y && (y.d(1), y = null);
5053
5053
  },
5054
- d(y) {
5055
- y && (ve(t), ve(l), ve(h)), g && g.d(y), m = !1, d();
5054
+ d(v) {
5055
+ v && (ve(t), ve(l), ve(f)), y && y.d(v), g = !1, d();
5056
5056
  }
5057
5057
  };
5058
5058
  }
@@ -5063,15 +5063,15 @@ function Sa(e) {
5063
5063
  ), r;
5064
5064
  return {
5065
5065
  c() {
5066
- t = X("p"), r = Te(n), L(t, "class", "Loading");
5066
+ t = z("p"), r = Ce(n), L(t, "class", "Loading");
5067
5067
  },
5068
5068
  m(i, o) {
5069
- xe(i, t, o), M(t, r);
5069
+ Be(i, t, o), R(t, r);
5070
5070
  },
5071
5071
  p(i, o) {
5072
5072
  o[0] & /*$_*/
5073
5073
  512 && n !== (n = /*$_*/
5074
- i[9]("Loading") + "") && Ie(r, n);
5074
+ i[9]("Loading") + "") && Ne(r, n);
5075
5075
  },
5076
5076
  d(i) {
5077
5077
  i && ve(t);
@@ -5082,86 +5082,86 @@ function Yn(e) {
5082
5082
  let t, n, r, i, o, a, s, u, l = (
5083
5083
  /*$_*/
5084
5084
  e[9]("Title") + ""
5085
- ), h, m, d, g, y, T, te = (
5085
+ ), f, g, d, y, v, S, K = (
5086
5086
  /*$_*/
5087
5087
  e[9]("DepositButton") + ""
5088
- ), ue, le, U, Q, J, ie, de, He, ne = Tt(Object.keys(
5088
+ ), ae, se, D, Y, ee, te, ue, He, de = At(Object.keys(
5089
5089
  /*balances*/
5090
5090
  e[3]
5091
- )), W = [];
5092
- for (let O = 0; O < ne.length; O += 1)
5093
- W[O] = Jn(Zn(e, ne, O));
5094
- let k = (
5091
+ )), F = [];
5092
+ for (let M = 0; M < de.length; M += 1)
5093
+ F[M] = Jn(Zn(e, de, M));
5094
+ let ne = (
5095
5095
  /*balancelimitsbutton*/
5096
5096
  e[0] === "true" && Kn(e)
5097
- ), j = (
5097
+ ), k = (
5098
5098
  /*activebonusesbutton*/
5099
5099
  e[1] === "true" && er(e)
5100
5100
  );
5101
5101
  return {
5102
5102
  c() {
5103
- t = X("div"), n = X("button"), i = Se(), o = X("div"), a = X("div"), s = X("div"), u = X("p"), h = Te(l), m = Se(), d = X("div");
5104
- for (let O = 0; O < W.length; O += 1)
5105
- W[O].c();
5106
- g = Se(), y = X("div"), T = X("button"), ue = Te(te), le = Se(), k && k.c(), U = Se(), j && j.c(), L(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5107
- (e[5] ? "Open" : "")), L(u, "class", "BalanceModalTitle"), L(s, "class", "BalanceModalHeader"), L(d, "class", "BalanceModalBody"), L(T, "class", "BalanceModalAction DepositButton"), L(y, "class", "BalanceModalFooter"), L(a, "class", Q = "ModalContent " + /*isModalDisplayed*/
5108
- (e[5] ? "Open" : "")), L(o, "class", J = "BalanceModal " + /*isModalDisplayed*/
5109
- (e[5] ? "Open" : "")), L(t, "class", ie = "BalanceModalWrapper " + /*isModalDisplayed*/
5103
+ t = z("div"), n = z("button"), i = Ae(), o = z("div"), a = z("div"), s = z("div"), u = z("p"), f = Ce(l), g = Ae(), d = z("div");
5104
+ for (let M = 0; M < F.length; M += 1)
5105
+ F[M].c();
5106
+ y = Ae(), v = z("div"), S = z("button"), ae = Ce(K), se = Ae(), ne && ne.c(), D = Ae(), k && k.c(), L(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5107
+ (e[5] ? "Open" : "")), L(u, "class", "BalanceModalTitle"), L(s, "class", "BalanceModalHeader"), L(d, "class", "BalanceModalBody"), L(S, "class", "BalanceModalAction DepositButton"), L(v, "class", "BalanceModalFooter"), L(a, "class", Y = "ModalContent " + /*isModalDisplayed*/
5108
+ (e[5] ? "Open" : "")), L(o, "class", ee = "BalanceModal " + /*isModalDisplayed*/
5109
+ (e[5] ? "Open" : "")), L(t, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
5110
5110
  (e[5] ? "Open" : ""));
5111
5111
  },
5112
- m(O, ee) {
5113
- xe(O, t, ee), M(t, n), M(t, i), M(t, o), M(o, a), M(a, s), M(s, u), M(u, h), M(a, m), M(a, d);
5114
- for (let Z = 0; Z < W.length; Z += 1)
5115
- W[Z] && W[Z].m(d, null);
5116
- M(a, g), M(a, y), M(y, T), M(T, ue), M(y, le), k && k.m(y, null), M(y, U), j && j.m(y, null), de || (He = [
5117
- Ye(
5112
+ m(M, Q) {
5113
+ Be(M, t, Q), R(t, n), R(t, i), R(t, o), R(o, a), R(a, s), R(s, u), R(u, f), R(a, g), R(a, d);
5114
+ for (let W = 0; W < F.length; W += 1)
5115
+ F[W] && F[W].m(d, null);
5116
+ R(a, y), R(a, v), R(v, S), R(S, ae), R(v, se), ne && ne.m(v, null), R(v, D), k && k.m(v, null), ue || (He = [
5117
+ Je(
5118
5118
  n,
5119
5119
  "click",
5120
5120
  /*click_handler_1*/
5121
- e[34]
5121
+ e[35]
5122
5122
  ),
5123
- Ye(
5124
- T,
5123
+ Je(
5124
+ S,
5125
5125
  "click",
5126
5126
  /*click_handler_2*/
5127
- e[35]
5127
+ e[36]
5128
5128
  )
5129
- ], de = !0);
5129
+ ], ue = !0);
5130
5130
  },
5131
- p(O, ee) {
5132
- if (ee[0] & /*isModalDisplayed*/
5131
+ p(M, Q) {
5132
+ if (Q[0] & /*isModalDisplayed*/
5133
5133
  32 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
5134
- (O[5] ? "Open" : "")) && L(n, "class", r), ee[0] & /*$_*/
5134
+ (M[5] ? "Open" : "")) && L(n, "class", r), Q[0] & /*$_*/
5135
5135
  512 && l !== (l = /*$_*/
5136
- O[9]("Title") + "") && Ie(h, l), ee[0] & /*balances, formatBalance, getProductType, $_*/
5136
+ M[9]("Title") + "") && Ne(f, l), Q[0] & /*balances, formatBalance, getProductType, $_*/
5137
5137
  10760) {
5138
- ne = Tt(Object.keys(
5138
+ de = At(Object.keys(
5139
5139
  /*balances*/
5140
- O[3]
5140
+ M[3]
5141
5141
  ));
5142
- let Z;
5143
- for (Z = 0; Z < ne.length; Z += 1) {
5144
- const Ue = Zn(O, ne, Z);
5145
- W[Z] ? W[Z].p(Ue, ee) : (W[Z] = Jn(Ue), W[Z].c(), W[Z].m(d, null));
5142
+ let W;
5143
+ for (W = 0; W < de.length; W += 1) {
5144
+ const Re = Zn(M, de, W);
5145
+ F[W] ? F[W].p(Re, Q) : (F[W] = Jn(Re), F[W].c(), F[W].m(d, null));
5146
5146
  }
5147
- for (; Z < W.length; Z += 1)
5148
- W[Z].d(1);
5149
- W.length = ne.length;
5147
+ for (; W < F.length; W += 1)
5148
+ F[W].d(1);
5149
+ F.length = de.length;
5150
5150
  }
5151
- ee[0] & /*$_*/
5152
- 512 && te !== (te = /*$_*/
5153
- O[9]("DepositButton") + "") && Ie(ue, te), /*balancelimitsbutton*/
5154
- O[0] === "true" ? k ? k.p(O, ee) : (k = Kn(O), k.c(), k.m(y, U)) : k && (k.d(1), k = null), /*activebonusesbutton*/
5155
- O[1] === "true" ? j ? j.p(O, ee) : (j = er(O), j.c(), j.m(y, null)) : j && (j.d(1), j = null), ee[0] & /*isModalDisplayed*/
5156
- 32 && Q !== (Q = "ModalContent " + /*isModalDisplayed*/
5157
- (O[5] ? "Open" : "")) && L(a, "class", Q), ee[0] & /*isModalDisplayed*/
5158
- 32 && J !== (J = "BalanceModal " + /*isModalDisplayed*/
5159
- (O[5] ? "Open" : "")) && L(o, "class", J), ee[0] & /*isModalDisplayed*/
5160
- 32 && ie !== (ie = "BalanceModalWrapper " + /*isModalDisplayed*/
5161
- (O[5] ? "Open" : "")) && L(t, "class", ie);
5151
+ Q[0] & /*$_*/
5152
+ 512 && K !== (K = /*$_*/
5153
+ M[9]("DepositButton") + "") && Ne(ae, K), /*balancelimitsbutton*/
5154
+ M[0] === "true" ? ne ? ne.p(M, Q) : (ne = Kn(M), ne.c(), ne.m(v, D)) : ne && (ne.d(1), ne = null), /*activebonusesbutton*/
5155
+ M[1] === "true" ? k ? k.p(M, Q) : (k = er(M), k.c(), k.m(v, null)) : k && (k.d(1), k = null), Q[0] & /*isModalDisplayed*/
5156
+ 32 && Y !== (Y = "ModalContent " + /*isModalDisplayed*/
5157
+ (M[5] ? "Open" : "")) && L(a, "class", Y), Q[0] & /*isModalDisplayed*/
5158
+ 32 && ee !== (ee = "BalanceModal " + /*isModalDisplayed*/
5159
+ (M[5] ? "Open" : "")) && L(o, "class", ee), Q[0] & /*isModalDisplayed*/
5160
+ 32 && te !== (te = "BalanceModalWrapper " + /*isModalDisplayed*/
5161
+ (M[5] ? "Open" : "")) && L(t, "class", te);
5162
5162
  },
5163
- d(O) {
5164
- O && ve(t), or(W, O), k && k.d(), j && j.d(), de = !1, tt(He);
5163
+ d(M) {
5164
+ M && ve(t), or(F, M), ne && ne.d(), k && k.d(), ue = !1, rt(He);
5165
5165
  }
5166
5166
  };
5167
5167
  }
@@ -5170,83 +5170,83 @@ function Qn(e) {
5170
5170
  /*$_*/
5171
5171
  e[9](
5172
5172
  /*k*/
5173
- e[63]
5173
+ e[64]
5174
5174
  ) + ""
5175
5175
  ), i, o, a = (
5176
5176
  /*getProductType*/
5177
5177
  e[13](
5178
5178
  /*balance*/
5179
- e[66]
5179
+ e[67]
5180
5180
  ) + ""
5181
- ), s, u, l, h, m = (
5181
+ ), s, u, l, f, g = (
5182
5182
  /*formatBalance*/
5183
5183
  e[11](
5184
5184
  /*balance*/
5185
- e[66].amount
5185
+ e[67].amount
5186
5186
  ) + ""
5187
5187
  ), d;
5188
5188
  return {
5189
5189
  c() {
5190
- t = X("div"), n = X("p"), i = Te(r), o = Se(), s = Te(a), u = Se(), l = X("p"), h = X("span"), d = Te(m), L(n, "class", "BalanceModalText"), L(h, "class", "BalanceModalAmount"), L(l, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5190
+ t = z("div"), n = z("p"), i = Ce(r), o = Ae(), s = Ce(a), u = Ae(), l = z("p"), f = z("span"), d = Ce(g), L(n, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(l, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5191
5191
  },
5192
- m(g, y) {
5193
- xe(g, t, y), M(t, n), M(n, i), M(n, o), M(n, s), M(t, u), M(t, l), M(l, h), M(h, d);
5192
+ m(y, v) {
5193
+ Be(y, t, v), R(t, n), R(n, i), R(n, o), R(n, s), R(t, u), R(t, l), R(l, f), R(f, d);
5194
5194
  },
5195
- p(g, y) {
5196
- y[0] & /*$_, balances*/
5195
+ p(y, v) {
5196
+ v[0] & /*$_, balances*/
5197
5197
  520 && r !== (r = /*$_*/
5198
- g[9](
5198
+ y[9](
5199
5199
  /*k*/
5200
- g[63]
5201
- ) + "") && Ie(i, r), y[0] & /*balances*/
5200
+ y[64]
5201
+ ) + "") && Ne(i, r), v[0] & /*balances*/
5202
5202
  8 && a !== (a = /*getProductType*/
5203
- g[13](
5203
+ y[13](
5204
5204
  /*balance*/
5205
- g[66]
5206
- ) + "") && Ie(s, a), y[0] & /*balances*/
5207
- 8 && m !== (m = /*formatBalance*/
5208
- g[11](
5205
+ y[67]
5206
+ ) + "") && Ne(s, a), v[0] & /*balances*/
5207
+ 8 && g !== (g = /*formatBalance*/
5208
+ y[11](
5209
5209
  /*balance*/
5210
- g[66].amount
5211
- ) + "") && Ie(d, m);
5210
+ y[67].amount
5211
+ ) + "") && Ne(d, g);
5212
5212
  },
5213
- d(g) {
5214
- g && ve(t);
5213
+ d(y) {
5214
+ y && ve(t);
5215
5215
  }
5216
5216
  };
5217
5217
  }
5218
5218
  function Jn(e) {
5219
- let t, n, r, i = Tt(
5219
+ let t, n, r, i = At(
5220
5220
  /*balances*/
5221
5221
  e[3][
5222
5222
  /*k*/
5223
- e[63]
5223
+ e[64]
5224
5224
  ]
5225
5225
  ), o = [];
5226
5226
  for (let a = 0; a < i.length; a += 1)
5227
5227
  o[a] = Qn(qn(e, i, a));
5228
5228
  return {
5229
5229
  c() {
5230
- t = X("div");
5230
+ t = z("div");
5231
5231
  for (let a = 0; a < o.length; a += 1)
5232
5232
  o[a].c();
5233
- n = Se(), L(t, "class", r = "BalanceModalRowBoth " + /*k*/
5234
- e[63]);
5233
+ n = Ae(), L(t, "class", r = "BalanceModalRowBoth " + /*k*/
5234
+ e[64]);
5235
5235
  },
5236
5236
  m(a, s) {
5237
- xe(a, t, s);
5237
+ Be(a, t, s);
5238
5238
  for (let u = 0; u < o.length; u += 1)
5239
5239
  o[u] && o[u].m(t, null);
5240
- M(t, n);
5240
+ R(t, n);
5241
5241
  },
5242
5242
  p(a, s) {
5243
5243
  if (s[0] & /*formatBalance, balances, getProductType, $_*/
5244
5244
  10760) {
5245
- i = Tt(
5245
+ i = At(
5246
5246
  /*balances*/
5247
5247
  a[3][
5248
5248
  /*k*/
5249
- a[63]
5249
+ a[64]
5250
5250
  ]
5251
5251
  );
5252
5252
  let u;
@@ -5260,7 +5260,7 @@ function Jn(e) {
5260
5260
  }
5261
5261
  s[0] & /*balances*/
5262
5262
  8 && r !== (r = "BalanceModalRowBoth " + /*k*/
5263
- a[63]) && L(t, "class", r);
5263
+ a[64]) && L(t, "class", r);
5264
5264
  },
5265
5265
  d(a) {
5266
5266
  a && ve(t), or(o, a);
@@ -5274,20 +5274,20 @@ function Kn(e) {
5274
5274
  ), r, i, o;
5275
5275
  return {
5276
5276
  c() {
5277
- t = X("button"), r = Te(n), L(t, "class", "BalanceModalAction LimitsButton");
5277
+ t = z("button"), r = Ce(n), L(t, "class", "BalanceModalAction LimitsButton");
5278
5278
  },
5279
5279
  m(a, s) {
5280
- xe(a, t, s), M(t, r), i || (o = Ye(
5280
+ Be(a, t, s), R(t, r), i || (o = Je(
5281
5281
  t,
5282
5282
  "click",
5283
5283
  /*click_handler_3*/
5284
- e[36]
5284
+ e[37]
5285
5285
  ), i = !0);
5286
5286
  },
5287
5287
  p(a, s) {
5288
5288
  s[0] & /*$_*/
5289
5289
  512 && n !== (n = /*$_*/
5290
- a[9]("LimitsButton") + "") && Ie(r, n);
5290
+ a[9]("LimitsButton") + "") && Ne(r, n);
5291
5291
  },
5292
5292
  d(a) {
5293
5293
  a && ve(t), i = !1, o();
@@ -5301,20 +5301,20 @@ function er(e) {
5301
5301
  ), r, i, o;
5302
5302
  return {
5303
5303
  c() {
5304
- t = X("button"), r = Te(n), L(t, "class", "BalanceModalAction ActiveBonusesButton");
5304
+ t = z("button"), r = Ce(n), L(t, "class", "BalanceModalAction ActiveBonusesButton");
5305
5305
  },
5306
5306
  m(a, s) {
5307
- xe(a, t, s), M(t, r), i || (o = Ye(
5307
+ Be(a, t, s), R(t, r), i || (o = Je(
5308
5308
  t,
5309
5309
  "click",
5310
5310
  /*click_handler_4*/
5311
- e[37]
5311
+ e[38]
5312
5312
  ), i = !0);
5313
5313
  },
5314
5314
  p(a, s) {
5315
5315
  s[0] & /*$_*/
5316
5316
  512 && n !== (n = /*$_*/
5317
- a[9]("ActiveBonusesButton") + "") && Ie(r, n);
5317
+ a[9]("ActiveBonusesButton") + "") && Ne(r, n);
5318
5318
  },
5319
5319
  d(a) {
5320
5320
  a && ve(t), i = !1, o();
@@ -5325,17 +5325,17 @@ function tr(e) {
5325
5325
  let t, n, r;
5326
5326
  return {
5327
5327
  c() {
5328
- t = X("button"), L(t, "class", "ShowBalanceModalOverlay");
5328
+ t = z("button"), L(t, "class", "ShowBalanceModalOverlay");
5329
5329
  },
5330
5330
  m(i, o) {
5331
- xe(i, t, o), n || (r = Ye(
5331
+ Be(i, t, o), n || (r = Je(
5332
5332
  t,
5333
5333
  "click",
5334
5334
  /*click_handler_5*/
5335
- e[38]
5335
+ e[39]
5336
5336
  ), n = !0);
5337
5337
  },
5338
- p: Ee,
5338
+ p: we,
5339
5339
  d(i) {
5340
5340
  i && ve(t), n = !1, r();
5341
5341
  }
@@ -5343,10 +5343,10 @@ function tr(e) {
5343
5343
  }
5344
5344
  function Ta(e) {
5345
5345
  let t, n, r, i;
5346
- function o(l, h) {
5346
+ function o(l, f) {
5347
5347
  return (
5348
5348
  /*isLoading*/
5349
- l[4] ? Sa : wa
5349
+ l[4] ? Sa : Ba
5350
5350
  );
5351
5351
  }
5352
5352
  let a = o(e), s = a(e), u = (
@@ -5355,35 +5355,35 @@ function Ta(e) {
5355
5355
  );
5356
5356
  return {
5357
5357
  c() {
5358
- t = X("div"), n = X("div"), s.c(), i = Se(), u && u.c(), L(n, "class", r = "ShowBalance " + /*mobileView*/
5358
+ t = z("div"), n = z("div"), s.c(), i = Ae(), u && u.c(), L(n, "class", r = "ShowBalance " + /*mobileView*/
5359
5359
  (e[7] ? "Mobile" : ""));
5360
5360
  },
5361
- m(l, h) {
5362
- xe(l, t, h), M(t, n), s.m(n, null), M(t, i), u && u.m(t, null), e[39](t);
5361
+ m(l, f) {
5362
+ Be(l, t, f), R(t, n), s.m(n, null), R(t, i), u && u.m(t, null), e[40](t);
5363
5363
  },
5364
- p(l, h) {
5365
- a === (a = o(l)) && s ? s.p(l, h) : (s.d(1), s = a(l), s && (s.c(), s.m(n, null))), h[0] & /*mobileView*/
5364
+ p(l, f) {
5365
+ a === (a = o(l)) && s ? s.p(l, f) : (s.d(1), s = a(l), s && (s.c(), s.m(n, null))), f[0] & /*mobileView*/
5366
5366
  128 && r !== (r = "ShowBalance " + /*mobileView*/
5367
5367
  (l[7] ? "Mobile" : "")) && L(n, "class", r), /*showBalance*/
5368
- l[6] ? u ? u.p(l, h) : (u = tr(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
5368
+ l[6] ? u ? u.p(l, f) : (u = tr(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
5369
5369
  },
5370
- i: Ee,
5371
- o: Ee,
5370
+ i: we,
5371
+ o: we,
5372
5372
  d(l) {
5373
- l && ve(t), s.d(), u && u.d(), e[39](null);
5373
+ l && ve(t), s.d(), u && u.d(), e[40](null);
5374
5374
  }
5375
5375
  };
5376
5376
  }
5377
5377
  function Aa(e, t, n) {
5378
5378
  let r;
5379
- $r(e, oa, (f) => n(9, r = f));
5380
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: g = "All" } = t, { totalcalculationmode: y = "totalCashAmount" } = t, { primarybalancemode: T } = t, { balancelimitsbutton: te = "false" } = t, { activebonusesbutton: ue = "false" } = t, { hideproducttype: le = "" } = t, { currencylocale: U = "en" } = t, { currencydisplay: Q = "symbol" } = t, { maximumfractiondigits: J = "2" } = t, { minimumfractiondigits: ie = "0" } = t, { customdisplayformat: de = "" } = t, { alwaysshowdecimals: He = "true" } = t, ne, W, k = !0, j = !1, O = !1, ee = !1, Z = !1, Ue = window.navigator.userAgent, ce, be = "", pe = [], Oe, Be = "0";
5381
- const v = {}, Fe = ["totalCashAmount", "totalRealAmount"], It = () => {
5382
- fetch(m).then((f) => f.json()).then((f) => Object.keys(f).forEach((x) => Fn(x, f[x]))).catch((f) => console.log(f));
5379
+ Vr(e, oa, (h) => n(9, r = h));
5380
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: y = "All" } = t, { totalcalculationmode: v = "totalCashAmount" } = t, { primarybalancemode: S } = t, { balancelimitsbutton: K = "false" } = t, { activebonusesbutton: ae = "false" } = t, { hideproducttype: se = "" } = t, { shownegativebalance: D = "false" } = t, { currencylocale: Y = "en" } = t, { currencydisplay: ee = "symbol" } = t, { maximumfractiondigits: te = "2" } = t, { minimumfractiondigits: ue = "0" } = t, { customdisplayformat: He = "" } = t, { alwaysshowdecimals: de = "true" } = t, F, ne, k = !0, M = !1, Q = !1, W = !1, Re = !1, Le = window.navigator.userAgent, pe, _e = "", Ee = [], fe, Ve = "0";
5381
+ const m = {}, Ge = ["totalCashAmount", "totalRealAmount"], Dt = () => {
5382
+ fetch(g).then((h) => h.json()).then((h) => Object.keys(h).forEach((x) => Fn(x, h[x]))).catch((h) => console.log(h));
5383
5383
  };
5384
- Object.keys(Gn).forEach((f) => Fn(f, Gn[f]));
5385
- const Ge = (f) => {
5386
- switch (f) {
5384
+ Object.keys(Gn).forEach((h) => Fn(h, Gn[h]));
5385
+ const De = (h) => {
5386
+ switch (h) {
5387
5387
  case "balance":
5388
5388
  window.postMessage(
5389
5389
  {
@@ -5391,10 +5391,10 @@ function Aa(e, t, n) {
5391
5391
  status: "open"
5392
5392
  },
5393
5393
  window.location.href
5394
- ), n(6, ee = !0), setTimeout(() => n(5, j = !0), 150);
5394
+ ), n(6, W = !0), setTimeout(() => n(5, M = !0), 150);
5395
5395
  break;
5396
5396
  case "closebalance":
5397
- n(5, j = !1), window.postMessage(
5397
+ n(5, M = !1), window.postMessage(
5398
5398
  {
5399
5399
  type: "BalanceModalStatus",
5400
5400
  status: "close"
@@ -5402,120 +5402,125 @@ function Aa(e, t, n) {
5402
5402
  window.location.href
5403
5403
  ), setTimeout(
5404
5404
  () => {
5405
- n(6, ee = !1);
5405
+ n(6, W = !1);
5406
5406
  },
5407
5407
  150
5408
5408
  );
5409
5409
  break;
5410
5410
  }
5411
- }, ot = (f) => {
5412
- if (de)
5413
- return Dt(f);
5414
- const x = U || s, E = {
5411
+ }, st = (h) => {
5412
+ if (He)
5413
+ return ut(h);
5414
+ const x = Y || s, w = {
5415
5415
  style: "currency",
5416
- currency: be,
5416
+ currency: _e,
5417
5417
  useGrouping: !0,
5418
- currencyDisplay: Q || "code",
5419
- maximumFractionDigits: J === "" || isNaN(Number(J)) ? 2 : Number(J),
5420
- minimumFractionDigits: ie === "" || isNaN(Number(ie)) ? 0 : Number(ie)
5418
+ currencyDisplay: ee || "code",
5419
+ maximumFractionDigits: te === "" || isNaN(Number(te)) ? 2 : Number(te),
5420
+ minimumFractionDigits: ue === "" || isNaN(Number(ue)) ? 0 : Number(ue)
5421
5421
  };
5422
- return new Intl.NumberFormat(x, E).format(f);
5423
- }, Dt = (f) => {
5422
+ return new Intl.NumberFormat(x, w).format(h);
5423
+ }, ut = (h) => {
5424
5424
  const x = [];
5425
- let E = "";
5426
- for (const S of de)
5427
- switch (S) {
5425
+ let w = "";
5426
+ for (const T of He)
5427
+ switch (T) {
5428
5428
  default:
5429
- E += S;
5429
+ w += T;
5430
5430
  break;
5431
5431
  case "{":
5432
- E && x.push(E), E = "";
5432
+ w && x.push(w), w = "";
5433
5433
  break;
5434
5434
  case "}":
5435
- const [D, F] = E.split("|");
5436
- if (E = "", D.toLowerCase() === "currency")
5437
- E = be;
5438
- else if (D.toLowerCase() === "amount") {
5439
- let B = ",", oe = ".", q = 2;
5440
- F && (F[0] !== " " && (B = F[0]), F[1] !== " " && (oe = F[1]), F[2] !== " " && !isNaN(Number(F[2])) && (q = Number(F[2])));
5441
- let [Le, Re] = String(Math.floor(f * kt(10, q)) / kt(10, q)).split(".");
5442
- E += Le[0];
5443
- for (let Me = 1; Me < Le.length; ++Me)
5444
- (Le.length - Me) % 3 === 0 ? E += B + Le[Me] : E += Le[Me];
5445
- let $e = Re || "";
5446
- const Ft = He === "true", lt = Number(J);
5447
- if (Ft)
5448
- $e = $e.padEnd(lt || 2, "0").substring(0, lt);
5435
+ const [j, N] = w.split("|");
5436
+ if (w = "", j.toLowerCase() === "currency")
5437
+ w = _e;
5438
+ else if (j.toLowerCase() === "amount") {
5439
+ let _ = ",", U = ".", me = 2;
5440
+ N && (N[0] !== " " && (_ = N[0]), N[1] !== " " && (U = N[1]), N[2] !== " " && !isNaN(Number(N[2])) && (me = Number(N[2])));
5441
+ let [be, Ft] = String(Math.floor(h * kt(10, me)) / kt(10, me)).split(".");
5442
+ w += be[0];
5443
+ for (let Te = 1; Te < be.length; ++Te)
5444
+ (be.length - Te) % 3 === 0 ? w += _ + be[Te] : w += be[Te];
5445
+ let $e = Ft || "";
5446
+ const _t = de === "true", Xe = Number(te);
5447
+ if (_t)
5448
+ $e = $e.padEnd(Xe || 2, "0").substring(0, Xe);
5449
5449
  else if (!$e)
5450
5450
  break;
5451
- E += oe + $e;
5451
+ w += U + $e;
5452
5452
  }
5453
- E && x.push(E), E = "";
5453
+ w && x.push(w), w = "";
5454
5454
  break;
5455
5455
  }
5456
- return x.push(E), x.join("");
5457
- }, at = () => Vt(this, null, function* () {
5458
- var x, E, S;
5456
+ return x.push(w), x.join("");
5457
+ }, lt = () => $t(this, null, function* () {
5458
+ var x, w, T;
5459
5459
  n(4, k = !0);
5460
- const f = new URL(`${a}/v1/player/${i}/account`);
5460
+ const h = new URL(`${a}/v1/player/${i}/account`);
5461
5461
  try {
5462
- const D = yield fetch(f, {
5462
+ const j = yield fetch(h, {
5463
5463
  method: "GET",
5464
5464
  headers: { "X-SessionID": o }
5465
- }), F = yield D.json();
5466
- if (D.ok)
5467
- window.postMessage({ type: "BalancedFetched" }, window.location.href), pe = F.items, be = (x = pe.find((B) => B.displayName === "Casino")) == null ? void 0 : x.currency, n(3, v.Total = [{ amount: F.totalAmount[be] }], v), n(
5465
+ }), N = yield j.json();
5466
+ if (j.ok)
5467
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), Ee = N.items, _e = (x = Ee.find((_) => _.displayName === "Casino")) == null ? void 0 : x.currency, n(3, m.Total = [{ amount: N.totalAmount[_e] }], m), n(
5468
5468
  3,
5469
- v.Real = [
5469
+ m.Real = [
5470
5470
  {
5471
- amount: (E = pe.find((B) => B.displayName === "Casino")) == null ? void 0 : E.balanceAmount
5471
+ amount: (w = Ee.find((_) => _.displayName === "Casino")) == null ? void 0 : w.balanceAmount
5472
5472
  }
5473
5473
  ],
5474
- v
5474
+ m
5475
5475
  ), n(
5476
5476
  3,
5477
- v.Bonus = [
5477
+ m.Bonus = [
5478
5478
  {
5479
- amount: (S = pe.find((B) => B.displayName === "UBS")) == null ? void 0 : S.balanceAmount
5479
+ amount: (T = Ee.find((_) => _.displayName === "UBS")) == null ? void 0 : T.balanceAmount
5480
5480
  }
5481
5481
  ],
5482
- v
5482
+ m
5483
5483
  );
5484
5484
  else
5485
5485
  throw new Error("Failed to fetch balance data !");
5486
- } catch (D) {
5487
- console.log("Balance error: ", D);
5486
+ } catch (j) {
5487
+ console.log("Balance error: ", j);
5488
5488
  } finally {
5489
5489
  n(4, k = !1);
5490
5490
  }
5491
- }), st = () => {
5491
+ }), Ue = () => {
5492
5492
  n(4, k = !0);
5493
- const f = new URL(`${a}/v2/player/${i}/balance`), x = new Headers();
5494
- x.append("X-SessionID", o), fetch(f, { method: "GET", headers: x }).then((S) => S.json()).then((S) => {
5495
- S[y] || n(14, y = Fe[0]);
5496
- const D = S.items.find((B) => B.type === "Real" && B.walletAccountType === "Ordinary");
5497
- if (be = D.currency, O = !!D.productType, n(3, v.Total = [{ amount: 0 }], v), n(3, v.Real = [], v), n(3, v.Bonus = [], v), n(3, v.Credit = [], v), !O) {
5498
- Oe = {
5493
+ const h = new URL(`${a}/v2/player/${i}/balance`), x = new Headers();
5494
+ x.append("X-SessionID", o), fetch(h, { method: "GET", headers: x }).then((T) => T.json()).then((T) => {
5495
+ T[v] || n(14, v = Ge[0]);
5496
+ const j = T.items.find((_) => _.type === "Real" && _.walletAccountType === "Ordinary");
5497
+ if (_e = j.currency, Q = !!j.productType, n(3, m.Total = [{ amount: 0 }], m), n(3, m.Real = [], m), n(3, m.Bonus = [], m), n(3, m.Credit = [], m), !Q) {
5498
+ fe = {
5499
5499
  lastOrdinaryAfterAmount: 0,
5500
5500
  showCreditLineAfterAmount: !1
5501
- }, n(3, v.Total[0].amount = S[y][be], v);
5502
- for (const B of S.items)
5503
- switch (B.type) {
5501
+ }, n(3, m.Total[0].amount = T[v][_e], m);
5502
+ for (const _ of T.items)
5503
+ switch (_.type) {
5504
5504
  case "Bonus":
5505
- v.Bonus.length === 0 ? v.Bonus.push({ amount: B.amount }) : n(3, v.Bonus[0].amount += B.amount, v);
5505
+ m.Bonus.length === 0 ? m.Bonus.push({ amount: _.amount }) : n(3, m.Bonus[0].amount += _.amount, m);
5506
5506
  break;
5507
5507
  case "Real":
5508
- if (B.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: B.creditLine }), y === "totalRealAmount")
5508
+ if (_.creditLine && m.Credit.length === 0 && m.Credit.push({ amount: _.creditLine }), v === "totalRealAmount")
5509
5509
  continue;
5510
- v.Real.length === 0 ? v.Real.push({ amount: B.amount }) : n(3, v.Real[0].amount += B.amount, v);
5510
+ m.Real.length === 0 ? m.Real.push({ amount: _.amount }) : n(3, m.Real[0].amount += _.amount, m);
5511
+ break;
5512
+ case "RealNegativeRemainder":
5513
+ if (_.type === "RealNegativeRemainder" && D !== "true" || (_.creditLine && m.Credit.length === 0 && m.Credit.push({ amount: _.creditLine }), v === "totalRealAmount"))
5514
+ continue;
5515
+ m.Real.length === 0 ? m.Real.push({ amount: _.amount }) : n(3, m.Real[0].amount += _.amount, m);
5511
5516
  break;
5512
5517
  }
5513
- for (const [B, oe] of Object.entries(v))
5514
- oe.length < 1 && delete v[B];
5518
+ for (const [_, U] of Object.entries(m))
5519
+ U.length < 1 && delete m[_];
5515
5520
  n(4, k = !1);
5516
5521
  return;
5517
5522
  }
5518
- Oe = {
5523
+ fe = {
5519
5524
  Casino: {
5520
5525
  lastOrdinaryAfterAmount: 0,
5521
5526
  showCreditLineAfterAmount: !1
@@ -5525,124 +5530,135 @@ function Aa(e, t, n) {
5525
5530
  showCreditLineAfterAmount: !1
5526
5531
  }
5527
5532
  };
5528
- let F = S.items;
5529
- g && g !== "All" && (F = S.items.filter((B) => B.productType === g));
5530
- for (const B of F) {
5531
- let oe;
5532
- switch (B.type) {
5533
+ let N = T.items;
5534
+ y && y !== "All" && (N = T.items.filter((_) => _.productType === y));
5535
+ for (const _ of N) {
5536
+ let U;
5537
+ switch (_.type) {
5533
5538
  case "Bonus":
5534
- oe = v.Bonus.findIndex((q) => q.productType === B.productType), oe > 0 ? n(3, v.Bonus[oe].amount += B.amount, v) : v.Bonus.push({
5535
- amount: B.amount,
5536
- productType: B.productType
5539
+ U = m.Bonus.findIndex((me) => me.productType === _.productType), U > 0 ? n(3, m.Bonus[U].amount += _.amount, m) : m.Bonus.push({
5540
+ amount: _.amount,
5541
+ productType: _.productType
5537
5542
  });
5538
5543
  break;
5539
5544
  case "Real":
5540
- B.creditLine && v.Credit.push({
5541
- amount: B.creditLine,
5542
- productType: B.productType
5543
- }), oe = v.Real.findIndex((q) => q.productType === B.productType), oe > 0 ? n(3, v.Real[oe].amount += B.amount, v) : v.Real.push({
5544
- amount: B.amount,
5545
- productType: B.productType
5545
+ _.creditLine && m.Credit.push({
5546
+ amount: _.creditLine,
5547
+ productType: _.productType
5548
+ }), U = m.Real.findIndex((me) => me.productType === _.productType), U > 0 ? n(3, m.Real[U].amount += _.amount, m) : m.Real.push({
5549
+ amount: _.amount,
5550
+ productType: _.productType
5551
+ });
5552
+ break;
5553
+ case "RealNegativeRemainder":
5554
+ if (_.type === "RealNegativeRemainder" && D !== "true")
5555
+ continue;
5556
+ _.creditLine && m.Credit.push({
5557
+ amount: _.creditLine,
5558
+ productType: _.productType
5559
+ }), U = m.Real.findIndex((me) => me.productType === _.productType), U >= 0 ? n(3, m.Real[U].amount += _.amount, m) : m.Real.push({
5560
+ amount: _.amount,
5561
+ productType: _.productType
5546
5562
  });
5547
5563
  break;
5548
5564
  }
5549
5565
  }
5550
- yt();
5551
- for (const [B, oe] of Object.entries(v))
5552
- oe.length < 1 && delete v[B];
5553
- window.postMessage({ type: "playerBalanceInfo", balance: S }, window.location.href), n(4, k = !1);
5554
- }).catch((S) => {
5555
- throw n(4, k = !1), console.log("Balance fetch error", S), new Error("Failed to fetch balance data!");
5566
+ ht();
5567
+ for (const [_, U] of Object.entries(m))
5568
+ U.length < 1 && delete m[_];
5569
+ window.postMessage({ type: "playerBalanceInfo", balance: T }, window.location.href), n(4, k = !1);
5570
+ }).catch((T) => {
5571
+ throw n(4, k = !1), console.log("Balance fetch error", T), new Error("Failed to fetch balance data!");
5556
5572
  });
5557
- }, Ae = () => {
5558
- if (ce && ce.close(), o.length < 1)
5573
+ }, le = () => {
5574
+ if (pe && pe.close(), o.length < 1)
5559
5575
  return;
5560
- let f, x;
5576
+ let h, x;
5561
5577
  switch (d) {
5562
5578
  case "gm16":
5563
- f = new URL(`${a}/v2/player/${i}/information/updates`), x = (D) => vt(D);
5579
+ h = new URL(`${a}/v2/player/${i}/information/updates`), x = (j) => c(j);
5564
5580
  break;
5565
5581
  case "gmcore":
5566
- f = new URL(`${a}/v1/player/${i}/balance/updates`), x = (D) => Ut(D);
5582
+ h = new URL(`${a}/v1/player/${i}/balance/updates`), x = (j) => Ut(j);
5567
5583
  break;
5568
5584
  }
5569
- const E = {
5585
+ const w = {
5570
5586
  accept: "text/event-stream",
5571
5587
  "X-SessionId": o
5572
- }, S = new sa.EventSourcePolyfill(f, { headers: E });
5573
- ce = S, S.addEventListener("message", x);
5574
- }, me = (f) => {
5588
+ }, T = new sa.EventSourcePolyfill(h, { headers: w });
5589
+ pe = T, T.addEventListener("message", x);
5590
+ }, vt = (h) => {
5575
5591
  let x;
5576
5592
  try {
5577
- x = JSON.parse(f);
5578
- } catch (E) {
5579
- console.log("Balance stream failed: ", E);
5593
+ x = JSON.parse(h);
5594
+ } catch (w) {
5595
+ console.log("Balance stream failed: ", w);
5580
5596
  return;
5581
5597
  }
5582
5598
  return x;
5583
- }, Ut = (f) => {
5584
- var D, F;
5585
- const x = me(f.data);
5599
+ }, Ut = (h) => {
5600
+ var j, N;
5601
+ const x = vt(h.data);
5586
5602
  if (!x) {
5587
- Ae();
5603
+ le();
5588
5604
  return;
5589
5605
  }
5590
- let E = "0";
5591
- const S = x.balanceChange;
5592
- pe = pe.map((B) => (S && S[B.id] && (B = $t(jt({}, B), {
5593
- balanceAmount: S[B.id].afterAmount
5594
- })), E = (parseFloat(B == null ? void 0 : B.balanceAmount) + parseFloat(E)).toString(), B)), n(3, v.Real = [{ amount: (D = pe[0]) == null ? void 0 : D.balanceAmount }], v), n(3, v.Bonus = [{ amount: (F = pe[1]) == null ? void 0 : F.balanceAmount }], v), n(3, v.Total = [{ amount: Number(E) }], v);
5595
- }, ut = (f, x, E) => {
5596
- let S = null;
5597
- switch (E.walletAccountType) {
5606
+ let w = "0";
5607
+ const T = x.balanceChange;
5608
+ Ee = Ee.map((_) => (T && T[_.id] && (_ = Vt(jt({}, _), {
5609
+ balanceAmount: T[_.id].afterAmount
5610
+ })), w = (parseFloat(_ == null ? void 0 : _.balanceAmount) + parseFloat(w)).toString(), _)), n(3, m.Real = [{ amount: (j = Ee[0]) == null ? void 0 : j.balanceAmount }], m), n(3, m.Bonus = [{ amount: (N = Ee[1]) == null ? void 0 : N.balanceAmount }], m), n(3, m.Total = [{ amount: Number(w) }], m);
5611
+ }, ct = (h, x, w) => {
5612
+ let T = null;
5613
+ switch (w.walletAccountType) {
5598
5614
  case "Ordinary":
5599
- (E.afterAmount !== E.affectedAmount || x.lastOrdinaryAfterAmount === 0) && (x.lastOrdinaryAfterAmount = E.afterAmount, x.showCreditLineAfterAmount || (S = E.afterAmount));
5615
+ (w.afterAmount !== w.affectedAmount || x.lastOrdinaryAfterAmount === 0) && (x.lastOrdinaryAfterAmount = w.afterAmount, x.showCreditLineAfterAmount || (T = w.afterAmount));
5600
5616
  break;
5601
5617
  case "CreditLine":
5602
- E.afterAmount !== 0 ? (S = E.afterAmount, x.showCreditLineAfterAmount = !0) : (S = x.lastOrdinaryAfterAmount, x.showCreditLineAfterAmount = !1);
5618
+ w.afterAmount !== 0 ? (T = w.afterAmount, x.showCreditLineAfterAmount = !0) : (T = x.lastOrdinaryAfterAmount, x.showCreditLineAfterAmount = !1);
5603
5619
  break;
5604
5620
  default:
5605
- S = E.afterAmount;
5621
+ T = w.afterAmount;
5606
5622
  }
5607
- return S === null ? f : S;
5608
- }, yt = () => {
5609
- switch (y) {
5623
+ return T === null ? h : T;
5624
+ }, ht = () => {
5625
+ switch (v) {
5610
5626
  case "totalCashAmount":
5611
- let f = 0;
5612
- for (const E of ["Real", "Bonus"])
5613
- for (const S of v[E])
5614
- f += Math.max(S.amount, 0);
5615
- n(3, v.Total[0].amount = f, v);
5627
+ let h = 0;
5628
+ for (const w of ["Real", "Bonus"])
5629
+ for (const T of m[w])
5630
+ D === "true" ? h += T.amount : h += Math.max(T.amount, 0);
5631
+ n(3, m.Total[0].amount = h, m);
5616
5632
  break;
5617
5633
  case "totalRealAmount":
5618
- if (!O)
5634
+ if (!Q)
5619
5635
  return;
5620
5636
  let x = 0;
5621
- for (const E of v.Real)
5622
- x += E.amount;
5623
- n(3, v.Total[0].amount = x, v);
5637
+ for (const w of m.Real)
5638
+ x += w.amount;
5639
+ n(3, m.Total[0].amount = x, m);
5624
5640
  }
5625
- }, vt = (f) => {
5626
- const x = me(f.data);
5641
+ }, c = (h) => {
5642
+ const x = vt(h.data);
5627
5643
  if (!x) {
5628
- Ae();
5644
+ le();
5629
5645
  return;
5630
5646
  }
5631
- if (b(x == null ? void 0 : x.type) || x.type !== "BALANCE_UPDATE_V2")
5647
+ if (E(x == null ? void 0 : x.type) || x.type !== "BALANCE_UPDATE_V2")
5632
5648
  return;
5633
- const E = x.body.balanceChange;
5634
- for (const [S, D] of Object.entries(E))
5635
- if (y === "totalRealAmount" && S === "Real" && !O && n(3, v.Total[0].amount = ut(v.Total[0].amount, Oe, D), v), !!v[S])
5636
- for (const F of v[S]) {
5637
- if (!O) {
5638
- F.amount = S === "Real" ? ut(F.amount, Oe, D) : D.afterAmount;
5649
+ const w = x.body.balanceChange;
5650
+ for (const [T, j] of Object.entries(w))
5651
+ if (v === "totalRealAmount" && T === "Real" && !Q && n(3, m.Total[0].amount = ct(m.Total[0].amount, fe, j), m), !!m[T])
5652
+ for (const N of m[T]) {
5653
+ if (!Q) {
5654
+ N.amount = T === "Real" ? ct(N.amount, fe, j) : j.afterAmount;
5639
5655
  continue;
5640
5656
  }
5641
- D.productType === F.productType && (F.amount = S === "Real" ? ut(F.amount, Oe[F.productType], D) : D.afterAmount);
5657
+ j.productType === N.productType && (N.amount = T === "Real" ? ct(N.amount, fe[N.productType], j) : j.afterAmount);
5642
5658
  }
5643
- yt();
5644
- }, c = (f) => {
5645
- switch (Ge("closebalance"), f) {
5659
+ ht();
5660
+ }, p = (h) => {
5661
+ switch (De("closebalance"), h) {
5646
5662
  case "deposit":
5647
5663
  window.postMessage({ type: "GoToDeposit" }, window.location.href);
5648
5664
  break;
@@ -5654,104 +5670,105 @@ function Aa(e, t, n) {
5654
5670
  break;
5655
5671
  }
5656
5672
  typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5657
- }, b = (f) => f === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, _ = () => {
5658
- Fe.includes(y) || (console.error(`Unsupported value ('${y}') for totalcalculationmode parameter. Only the following values are supported ${Fe}. Using default value ('${Fe[0]}').`), n(14, y = Fe[0]));
5659
- }, p = () => {
5660
- switch (aa(s), _(), d) {
5673
+ }, E = (h) => h === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, b = () => {
5674
+ Ge.includes(v) || (console.error(`Unsupported value ('${v}') for totalcalculationmode parameter. Only the following values are supported ${Ge}. Using default value ('${Ge[0]}').`), n(14, v = Ge[0]));
5675
+ }, A = () => {
5676
+ switch (aa(s), b(), d) {
5661
5677
  case "gmcore":
5662
- at();
5678
+ lt();
5663
5679
  break;
5664
5680
  case "gm16":
5665
- st();
5681
+ Ue();
5666
5682
  break;
5667
5683
  default:
5668
5684
  throw Error(`Invalid apiversion attribute: ${d}`);
5669
5685
  }
5670
- }, A = (f) => {
5671
- const { data: { type: x } = {} } = f || {};
5686
+ }, B = (h) => {
5687
+ const { data: { type: x } = {} } = h || {};
5672
5688
  switch (x) {
5673
5689
  case "LogoutSuccessfull":
5674
- ce.close();
5690
+ pe.close();
5675
5691
  break;
5676
5692
  case "CloseBalance":
5677
- Ge("closebalance");
5693
+ De("closebalance");
5678
5694
  break;
5679
5695
  }
5680
- }, w = () => {
5696
+ }, H = () => {
5681
5697
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5682
- }, H = (f) => {
5683
- const x = le.split(",").map((E) => E.trim());
5684
- return !f.productType || x.includes(f.productType) ? "" : r(f.productType);
5698
+ }, $ = (h) => {
5699
+ const x = se.split(",").map((w) => w.trim());
5700
+ return !h.productType || x.includes(h.productType) ? "" : r(h.productType);
5685
5701
  };
5686
- Qr(() => (window.addEventListener("message", A, !1), n(7, Z = xa(Ue)), () => {
5687
- window.removeEventListener("message", A), ce && ce.close();
5702
+ Qr(() => (window.addEventListener("message", B, !1), n(7, Re = xa(Le)), () => {
5703
+ window.removeEventListener("message", B), pe && pe.close();
5688
5704
  }));
5689
- const $ = () => Ge("balance"), R = () => Ge("closebalance"), I = () => c("deposit"), G = () => c("limits"), C = () => c("activebonuses"), V = () => Ge("closebalance");
5690
- function we(f) {
5691
- Kt[f ? "unshift" : "push"](() => {
5692
- ne = f, n(2, ne);
5705
+ const O = () => De("balance"), G = () => De("closebalance"), V = () => p("deposit"), C = () => p("limits"), X = () => p("activebonuses"), Se = () => De("closebalance");
5706
+ function ke(h) {
5707
+ Kt[h ? "unshift" : "push"](() => {
5708
+ F = h, n(2, F);
5693
5709
  });
5694
5710
  }
5695
- return e.$$set = (f) => {
5696
- "userid" in f && n(15, i = f.userid), "session" in f && n(16, o = f.session), "endpoint" in f && n(17, a = f.endpoint), "lang" in f && n(18, s = f.lang), "mbsource" in f && n(19, u = f.mbsource), "clientstyling" in f && n(20, l = f.clientstyling), "clientstylingurl" in f && n(21, h = f.clientstylingurl), "translationurl" in f && n(22, m = f.translationurl), "gmversion" in f && n(23, d = f.gmversion), "displaybalanceoption" in f && n(24, g = f.displaybalanceoption), "totalcalculationmode" in f && n(14, y = f.totalcalculationmode), "primarybalancemode" in f && n(25, T = f.primarybalancemode), "balancelimitsbutton" in f && n(0, te = f.balancelimitsbutton), "activebonusesbutton" in f && n(1, ue = f.activebonusesbutton), "hideproducttype" in f && n(26, le = f.hideproducttype), "currencylocale" in f && n(27, U = f.currencylocale), "currencydisplay" in f && n(28, Q = f.currencydisplay), "maximumfractiondigits" in f && n(29, J = f.maximumfractiondigits), "minimumfractiondigits" in f && n(30, ie = f.minimumfractiondigits), "customdisplayformat" in f && n(31, de = f.customdisplayformat), "alwaysshowdecimals" in f && n(32, He = f.alwaysshowdecimals);
5711
+ return e.$$set = (h) => {
5712
+ "userid" in h && n(15, i = h.userid), "session" in h && n(16, o = h.session), "endpoint" in h && n(17, a = h.endpoint), "lang" in h && n(18, s = h.lang), "mbsource" in h && n(19, u = h.mbsource), "clientstyling" in h && n(20, l = h.clientstyling), "clientstylingurl" in h && n(21, f = h.clientstylingurl), "translationurl" in h && n(22, g = h.translationurl), "gmversion" in h && n(23, d = h.gmversion), "displaybalanceoption" in h && n(24, y = h.displaybalanceoption), "totalcalculationmode" in h && n(14, v = h.totalcalculationmode), "primarybalancemode" in h && n(25, S = h.primarybalancemode), "balancelimitsbutton" in h && n(0, K = h.balancelimitsbutton), "activebonusesbutton" in h && n(1, ae = h.activebonusesbutton), "hideproducttype" in h && n(26, se = h.hideproducttype), "shownegativebalance" in h && n(27, D = h.shownegativebalance), "currencylocale" in h && n(28, Y = h.currencylocale), "currencydisplay" in h && n(29, ee = h.currencydisplay), "maximumfractiondigits" in h && n(30, te = h.maximumfractiondigits), "minimumfractiondigits" in h && n(31, ue = h.minimumfractiondigits), "customdisplayformat" in h && n(32, He = h.customdisplayformat), "alwaysshowdecimals" in h && n(33, de = h.alwaysshowdecimals);
5697
5713
  }, e.$$.update = () => {
5698
5714
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5699
- 25657344 && a && i && o && s && d && g && p(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5700
- 8617984 && a && i && o && d && Ae(), e.$$.dirty[0] & /*translationurl*/
5701
- 4194304 && m && It(), e.$$.dirty[0] & /*balances*/
5702
- 8 && v.Total && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5703
- 1048580 && l && ne && hi(ne, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5704
- 2097156 && h && ne && fi(ne, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5705
- 524292 && u && ne && di(ne, `${u}.Style`, W), e.$$.dirty[0] & /*primarybalancemode, balances*/
5706
- 33554440 && n(8, Be = (() => {
5707
- switch (T) {
5715
+ 25657344 && a && i && o && s && d && y && A(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5716
+ 8617984 && a && i && o && d && le(), e.$$.dirty[0] & /*translationurl*/
5717
+ 4194304 && g && Dt(), e.$$.dirty[0] & /*balances*/
5718
+ 8 && m.Total && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5719
+ 1048580 && l && F && hi(F, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5720
+ 2097156 && f && F && fi(F, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5721
+ 524292 && u && F && di(F, `${u}.Style`, ne), e.$$.dirty[0] & /*primarybalancemode, balances*/
5722
+ 33554440 && n(8, Ve = (() => {
5723
+ switch (S) {
5708
5724
  case "Real":
5709
- return v.Real ? ot(v.Real[0].amount) : "0";
5725
+ return m.Real ? st(m.Real[0].amount) : "0";
5710
5726
  default:
5711
- return v.Total ? ot(v.Total[0].amount) : "0";
5727
+ return m.Total ? st(m.Total[0].amount) : "0";
5712
5728
  }
5713
5729
  })());
5714
5730
  }, [
5715
- te,
5716
- ue,
5717
- ne,
5718
- v,
5731
+ K,
5732
+ ae,
5733
+ F,
5734
+ m,
5719
5735
  k,
5720
- j,
5721
- ee,
5722
- Z,
5723
- Be,
5736
+ M,
5737
+ W,
5738
+ Re,
5739
+ Ve,
5724
5740
  r,
5725
- Ge,
5726
- ot,
5727
- c,
5728
- H,
5729
- y,
5741
+ De,
5742
+ st,
5743
+ p,
5744
+ $,
5745
+ v,
5730
5746
  i,
5731
5747
  o,
5732
5748
  a,
5733
5749
  s,
5734
5750
  u,
5735
5751
  l,
5736
- h,
5737
- m,
5738
- d,
5752
+ f,
5739
5753
  g,
5740
- T,
5741
- le,
5742
- U,
5743
- Q,
5744
- J,
5745
- ie,
5746
- de,
5754
+ d,
5755
+ y,
5756
+ S,
5757
+ se,
5758
+ D,
5759
+ Y,
5760
+ ee,
5761
+ te,
5762
+ ue,
5747
5763
  He,
5748
- $,
5749
- R,
5750
- I,
5764
+ de,
5765
+ O,
5751
5766
  G,
5752
- C,
5753
5767
  V,
5754
- we
5768
+ C,
5769
+ X,
5770
+ Se,
5771
+ ke
5755
5772
  ];
5756
5773
  }
5757
5774
  class Ca extends li {
@@ -5778,14 +5795,15 @@ class Ca extends li {
5778
5795
  balancelimitsbutton: 0,
5779
5796
  activebonusesbutton: 1,
5780
5797
  hideproducttype: 26,
5781
- currencylocale: 27,
5782
- currencydisplay: 28,
5783
- maximumfractiondigits: 29,
5784
- minimumfractiondigits: 30,
5785
- customdisplayformat: 31,
5786
- alwaysshowdecimals: 32
5798
+ shownegativebalance: 27,
5799
+ currencylocale: 28,
5800
+ currencydisplay: 29,
5801
+ maximumfractiondigits: 30,
5802
+ minimumfractiondigits: 31,
5803
+ customdisplayformat: 32,
5804
+ alwaysshowdecimals: 33
5787
5805
  },
5788
- Ba,
5806
+ wa,
5789
5807
  [-1, -1, -1]
5790
5808
  );
5791
5809
  }
@@ -5793,130 +5811,136 @@ class Ca extends li {
5793
5811
  return this.$$.ctx[15];
5794
5812
  }
5795
5813
  set userid(t) {
5796
- this.$$set({ userid: t }), Y();
5814
+ this.$$set({ userid: t }), Z();
5797
5815
  }
5798
5816
  get session() {
5799
5817
  return this.$$.ctx[16];
5800
5818
  }
5801
5819
  set session(t) {
5802
- this.$$set({ session: t }), Y();
5820
+ this.$$set({ session: t }), Z();
5803
5821
  }
5804
5822
  get endpoint() {
5805
5823
  return this.$$.ctx[17];
5806
5824
  }
5807
5825
  set endpoint(t) {
5808
- this.$$set({ endpoint: t }), Y();
5826
+ this.$$set({ endpoint: t }), Z();
5809
5827
  }
5810
5828
  get lang() {
5811
5829
  return this.$$.ctx[18];
5812
5830
  }
5813
5831
  set lang(t) {
5814
- this.$$set({ lang: t }), Y();
5832
+ this.$$set({ lang: t }), Z();
5815
5833
  }
5816
5834
  get mbsource() {
5817
5835
  return this.$$.ctx[19];
5818
5836
  }
5819
5837
  set mbsource(t) {
5820
- this.$$set({ mbsource: t }), Y();
5838
+ this.$$set({ mbsource: t }), Z();
5821
5839
  }
5822
5840
  get clientstyling() {
5823
5841
  return this.$$.ctx[20];
5824
5842
  }
5825
5843
  set clientstyling(t) {
5826
- this.$$set({ clientstyling: t }), Y();
5844
+ this.$$set({ clientstyling: t }), Z();
5827
5845
  }
5828
5846
  get clientstylingurl() {
5829
5847
  return this.$$.ctx[21];
5830
5848
  }
5831
5849
  set clientstylingurl(t) {
5832
- this.$$set({ clientstylingurl: t }), Y();
5850
+ this.$$set({ clientstylingurl: t }), Z();
5833
5851
  }
5834
5852
  get translationurl() {
5835
5853
  return this.$$.ctx[22];
5836
5854
  }
5837
5855
  set translationurl(t) {
5838
- this.$$set({ translationurl: t }), Y();
5856
+ this.$$set({ translationurl: t }), Z();
5839
5857
  }
5840
5858
  get gmversion() {
5841
5859
  return this.$$.ctx[23];
5842
5860
  }
5843
5861
  set gmversion(t) {
5844
- this.$$set({ gmversion: t }), Y();
5862
+ this.$$set({ gmversion: t }), Z();
5845
5863
  }
5846
5864
  get displaybalanceoption() {
5847
5865
  return this.$$.ctx[24];
5848
5866
  }
5849
5867
  set displaybalanceoption(t) {
5850
- this.$$set({ displaybalanceoption: t }), Y();
5868
+ this.$$set({ displaybalanceoption: t }), Z();
5851
5869
  }
5852
5870
  get totalcalculationmode() {
5853
5871
  return this.$$.ctx[14];
5854
5872
  }
5855
5873
  set totalcalculationmode(t) {
5856
- this.$$set({ totalcalculationmode: t }), Y();
5874
+ this.$$set({ totalcalculationmode: t }), Z();
5857
5875
  }
5858
5876
  get primarybalancemode() {
5859
5877
  return this.$$.ctx[25];
5860
5878
  }
5861
5879
  set primarybalancemode(t) {
5862
- this.$$set({ primarybalancemode: t }), Y();
5880
+ this.$$set({ primarybalancemode: t }), Z();
5863
5881
  }
5864
5882
  get balancelimitsbutton() {
5865
5883
  return this.$$.ctx[0];
5866
5884
  }
5867
5885
  set balancelimitsbutton(t) {
5868
- this.$$set({ balancelimitsbutton: t }), Y();
5886
+ this.$$set({ balancelimitsbutton: t }), Z();
5869
5887
  }
5870
5888
  get activebonusesbutton() {
5871
5889
  return this.$$.ctx[1];
5872
5890
  }
5873
5891
  set activebonusesbutton(t) {
5874
- this.$$set({ activebonusesbutton: t }), Y();
5892
+ this.$$set({ activebonusesbutton: t }), Z();
5875
5893
  }
5876
5894
  get hideproducttype() {
5877
5895
  return this.$$.ctx[26];
5878
5896
  }
5879
5897
  set hideproducttype(t) {
5880
- this.$$set({ hideproducttype: t }), Y();
5898
+ this.$$set({ hideproducttype: t }), Z();
5881
5899
  }
5882
- get currencylocale() {
5900
+ get shownegativebalance() {
5883
5901
  return this.$$.ctx[27];
5884
5902
  }
5903
+ set shownegativebalance(t) {
5904
+ this.$$set({ shownegativebalance: t }), Z();
5905
+ }
5906
+ get currencylocale() {
5907
+ return this.$$.ctx[28];
5908
+ }
5885
5909
  set currencylocale(t) {
5886
- this.$$set({ currencylocale: t }), Y();
5910
+ this.$$set({ currencylocale: t }), Z();
5887
5911
  }
5888
5912
  get currencydisplay() {
5889
- return this.$$.ctx[28];
5913
+ return this.$$.ctx[29];
5890
5914
  }
5891
5915
  set currencydisplay(t) {
5892
- this.$$set({ currencydisplay: t }), Y();
5916
+ this.$$set({ currencydisplay: t }), Z();
5893
5917
  }
5894
5918
  get maximumfractiondigits() {
5895
- return this.$$.ctx[29];
5919
+ return this.$$.ctx[30];
5896
5920
  }
5897
5921
  set maximumfractiondigits(t) {
5898
- this.$$set({ maximumfractiondigits: t }), Y();
5922
+ this.$$set({ maximumfractiondigits: t }), Z();
5899
5923
  }
5900
5924
  get minimumfractiondigits() {
5901
- return this.$$.ctx[30];
5925
+ return this.$$.ctx[31];
5902
5926
  }
5903
5927
  set minimumfractiondigits(t) {
5904
- this.$$set({ minimumfractiondigits: t }), Y();
5928
+ this.$$set({ minimumfractiondigits: t }), Z();
5905
5929
  }
5906
5930
  get customdisplayformat() {
5907
- return this.$$.ctx[31];
5931
+ return this.$$.ctx[32];
5908
5932
  }
5909
5933
  set customdisplayformat(t) {
5910
- this.$$set({ customdisplayformat: t }), Y();
5934
+ this.$$set({ customdisplayformat: t }), Z();
5911
5935
  }
5912
5936
  get alwaysshowdecimals() {
5913
- return this.$$.ctx[32];
5937
+ return this.$$.ctx[33];
5914
5938
  }
5915
5939
  set alwaysshowdecimals(t) {
5916
- this.$$set({ alwaysshowdecimals: t }), Y();
5940
+ this.$$set({ alwaysshowdecimals: t }), Z();
5917
5941
  }
5918
5942
  }
5919
- ui(Ca, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, activebonusesbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {}, alwaysshowdecimals: {} }, [], [], !0);
5943
+ ui(Ca, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, activebonusesbutton: {}, hideproducttype: {}, shownegativebalance: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {}, alwaysshowdecimals: {} }, [], [], !0);
5920
5944
  export {
5921
5945
  Ca as default
5922
5946
  };