@everymatrix/player-account-vault 1.77.24 → 1.77.26

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.
@@ -6,13 +6,13 @@ function cr(e) {
6
6
  function Sn() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function xe(e) {
9
+ function _e(e) {
10
10
  e.forEach(cr);
11
11
  }
12
- function gt(e) {
12
+ function pt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Rt(e, t) {
15
+ function Pt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  function Ur(e) {
@@ -32,12 +32,12 @@ function Gr(e) {
32
32
  return hr(e, (n) => t = n)(), t;
33
33
  }
34
34
  function $r(e) {
35
- return e && gt(e.destroy) ? e.destroy : B;
35
+ return e && pt(e.destroy) ? e.destroy : B;
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function En(e, t, n) {
40
+ function bn(e, t, n) {
41
41
  const r = jr(e);
42
42
  if (!r.getElementById(t)) {
43
43
  const i = w("style");
@@ -80,7 +80,7 @@ function Bn(e) {
80
80
  function z(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function I() {
83
+ function L() {
84
84
  return z(" ");
85
85
  }
86
86
  function Xr() {
@@ -97,7 +97,7 @@ function zr(e) {
97
97
  function m(e, t, n) {
98
98
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
99
99
  }
100
- function Ht(e) {
100
+ function Bt(e) {
101
101
  return e === "" ? null : +e;
102
102
  }
103
103
  function Zr(e) {
@@ -107,7 +107,7 @@ function ie(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function xt(e, t) {
110
+ function _t(e, t) {
111
111
  e.value = t ?? "";
112
112
  }
113
113
  function le(e, t, n) {
@@ -122,14 +122,14 @@ function qr(e) {
122
122
  }
123
123
  ), t;
124
124
  }
125
- let ut;
126
- function lt(e) {
127
- ut = e;
125
+ let lt;
126
+ function st(e) {
127
+ lt = e;
128
128
  }
129
129
  function pr() {
130
- if (!ut)
130
+ if (!lt)
131
131
  throw new Error("Function called outside component initialization");
132
- return ut;
132
+ return lt;
133
133
  }
134
134
  function gr(e) {
135
135
  pr().$$.on_mount.push(e);
@@ -137,110 +137,110 @@ function gr(e) {
137
137
  function Kr(e) {
138
138
  pr().$$.on_destroy.push(e);
139
139
  }
140
- const Ge = [], je = [];
141
- let $e = [];
142
- const tn = [], Qr = /* @__PURE__ */ Promise.resolve();
143
- let nn = !1;
140
+ const Ue = [], $e = [];
141
+ let Ge = [];
142
+ const Jt = [], Qr = /* @__PURE__ */ Promise.resolve();
143
+ let en = !1;
144
144
  function Yr() {
145
- nn || (nn = !0, Qr.then(G));
145
+ en || (en = !0, Qr.then(G));
146
146
  }
147
- function rn(e) {
148
- $e.push(e);
147
+ function tn(e) {
148
+ Ge.push(e);
149
149
  }
150
150
  function Hn(e) {
151
- tn.push(e);
151
+ Jt.push(e);
152
152
  }
153
- const jt = /* @__PURE__ */ new Set();
154
- let Ve = 0;
153
+ const Gt = /* @__PURE__ */ new Set();
154
+ let Fe = 0;
155
155
  function G() {
156
- if (Ve !== 0)
156
+ if (Fe !== 0)
157
157
  return;
158
- const e = ut;
158
+ const e = lt;
159
159
  do {
160
160
  try {
161
- for (; Ve < Ge.length; ) {
162
- const t = Ge[Ve];
163
- Ve++, lt(t), Jr(t.$$);
161
+ for (; Fe < Ue.length; ) {
162
+ const t = Ue[Fe];
163
+ Fe++, st(t), Jr(t.$$);
164
164
  }
165
165
  } catch (t) {
166
- throw Ge.length = 0, Ve = 0, t;
166
+ throw Ue.length = 0, Fe = 0, t;
167
167
  }
168
- for (lt(null), Ge.length = 0, Ve = 0; je.length; )
169
- je.pop()();
170
- for (let t = 0; t < $e.length; t += 1) {
171
- const n = $e[t];
172
- jt.has(n) || (jt.add(n), n());
168
+ for (st(null), Ue.length = 0, Fe = 0; $e.length; )
169
+ $e.pop()();
170
+ for (let t = 0; t < Ge.length; t += 1) {
171
+ const n = Ge[t];
172
+ Gt.has(n) || (Gt.add(n), n());
173
173
  }
174
- $e.length = 0;
175
- } while (Ge.length);
176
- for (; tn.length; )
177
- tn.pop()();
178
- nn = !1, jt.clear(), lt(e);
174
+ Ge.length = 0;
175
+ } while (Ue.length);
176
+ for (; Jt.length; )
177
+ Jt.pop()();
178
+ en = !1, Gt.clear(), st(e);
179
179
  }
180
180
  function Jr(e) {
181
181
  if (e.fragment !== null) {
182
- e.update(), xe(e.before_update);
182
+ e.update(), _e(e.before_update);
183
183
  const t = e.dirty;
184
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rn);
184
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tn);
185
185
  }
186
186
  }
187
187
  function ei(e) {
188
188
  const t = [], n = [];
189
- $e.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), $e = t;
189
+ Ge.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ge = t;
190
190
  }
191
- const Ct = /* @__PURE__ */ new Set();
192
- let Pe;
193
- function Oe() {
194
- Pe = {
191
+ const At = /* @__PURE__ */ new Set();
192
+ let Ne;
193
+ function Pe() {
194
+ Ne = {
195
195
  r: 0,
196
196
  c: [],
197
- p: Pe
197
+ p: Ne
198
198
  // parent group
199
199
  };
200
200
  }
201
- function Re() {
202
- Pe.r || xe(Pe.c), Pe = Pe.p;
201
+ function Oe() {
202
+ Ne.r || _e(Ne.c), Ne = Ne.p;
203
203
  }
204
204
  function $(e, t) {
205
- e && e.i && (Ct.delete(e), e.i(t));
205
+ e && e.i && (At.delete(e), e.i(t));
206
206
  }
207
207
  function X(e, t, n, r) {
208
208
  if (e && e.o) {
209
- if (Ct.has(e))
209
+ if (At.has(e))
210
210
  return;
211
- Ct.add(e), Pe.c.push(() => {
212
- Ct.delete(e), r && (n && e.d(1), r());
211
+ At.add(e), Ne.c.push(() => {
212
+ At.delete(e), r && (n && e.d(1), r());
213
213
  }), e.o(t);
214
214
  } else
215
215
  r && r();
216
216
  }
217
- function It(e) {
217
+ function Ht(e) {
218
218
  return e?.length !== void 0 ? e : Array.from(e);
219
219
  }
220
220
  function In(e, t, n) {
221
221
  const r = e.$$.props[t];
222
222
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
223
223
  }
224
- function ct(e) {
224
+ function ut(e) {
225
225
  e && e.c();
226
226
  }
227
- function We(e, t, n) {
227
+ function je(e, t, n) {
228
228
  const { fragment: r, after_update: i } = e.$$;
229
- r && r.m(t, n), rn(() => {
230
- const a = e.$$.on_mount.map(cr).filter(gt);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : xe(a), e.$$.on_mount = [];
232
- }), i.forEach(rn);
229
+ r && r.m(t, n), tn(() => {
230
+ const a = e.$$.on_mount.map(cr).filter(pt);
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : _e(a), e.$$.on_mount = [];
232
+ }), i.forEach(tn);
233
233
  }
234
- function Xe(e, t) {
234
+ function We(e, t) {
235
235
  const n = e.$$;
236
- n.fragment !== null && (ei(n.after_update), xe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
236
+ n.fragment !== null && (ei(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
237
237
  }
238
238
  function ti(e, t) {
239
- e.$$.dirty[0] === -1 && (Ge.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
+ e.$$.dirty[0] === -1 && (Ue.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
- function _n(e, t, n, r, i, a, o = null, l = [-1]) {
242
- const s = ut;
243
- lt(e);
241
+ function vn(e, t, n, r, i, a, o = null, l = [-1]) {
242
+ const s = lt;
243
+ st(e);
244
244
  const u = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
@@ -267,15 +267,15 @@ function _n(e, t, n, r, i, a, o = null, l = [-1]) {
267
267
  if (u.ctx = n ? n(e, t.props || {}, (f, c, ...g) => {
268
268
  const b = g.length ? g[0] : c;
269
269
  return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && ti(e, f)), c;
270
- }) : [], u.update(), h = !0, xe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
270
+ }) : [], u.update(), h = !0, _e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
272
  const f = Zr(t.target);
273
273
  u.fragment && u.fragment.l(f), f.forEach(A);
274
274
  } else
275
275
  u.fragment && u.fragment.c();
276
- t.intro && $(e.$$.fragment), We(e, t.target, t.anchor), G();
276
+ t.intro && $(e.$$.fragment), je(e, t.target, t.anchor), G();
277
277
  }
278
- lt(s);
278
+ st(s);
279
279
  }
280
280
  let dr;
281
281
  typeof HTMLElement == "function" && (dr = class extends HTMLElement {
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
342
342
  i in n && (t[i] = [e(i)]);
343
343
  for (const i of this.attributes) {
344
344
  const a = this.$$g_p(i.name);
345
- a in this.$$d || (this.$$d[a] = Tt(a, i.value, this.$$p_d, "toProp"));
345
+ a in this.$$d || (this.$$d[a] = Ct(a, i.value, this.$$p_d, "toProp"));
346
346
  }
347
347
  for (const i in this.$$p_d)
348
348
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const i in this.$$p_d)
362
362
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
363
- const a = Tt(
363
+ const a = Ct(
364
364
  i,
365
365
  this.$$d[i],
366
366
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
382
382
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
383
383
  // and setting attributes through setAttribute etc, this is helpful
384
384
  attributeChangedCallback(e, t, n) {
385
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Tt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ct(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
395
395
  ) || e;
396
396
  }
397
397
  });
398
- function Tt(e, t, n, r) {
398
+ function Ct(e, t, n, r) {
399
399
  const i = n[e]?.type;
400
400
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
401
401
  return t;
@@ -424,7 +424,7 @@ function Tt(e, t, n, r) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function xn(e, t, n, r, i, a) {
427
+ function En(e, t, n, r, i, a) {
428
428
  let o = class extends dr {
429
429
  constructor() {
430
430
  super(e, n, i), this.$$p_d = t;
@@ -441,7 +441,7 @@ function xn(e, t, n, r, i, a) {
441
441
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
442
442
  },
443
443
  set(s) {
444
- s = Tt(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
444
+ s = Ct(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
445
445
  }
446
446
  });
447
447
  }), r.forEach((l) => {
@@ -453,7 +453,7 @@ function xn(e, t, n, r, i, a) {
453
453
  }), e.element = /** @type {any} */
454
454
  o, o;
455
455
  }
456
- class wn {
456
+ class _n {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -472,7 +472,7 @@ class wn {
472
472
  $$set = void 0;
473
473
  /** @returns {void} */
474
474
  $destroy() {
475
- Xe(this, 1), this.$destroy = B;
475
+ We(this, 1), this.$destroy = B;
476
476
  }
477
477
  /**
478
478
  * @template {Extract<keyof Events, string>} K
@@ -481,7 +481,7 @@ class wn {
481
481
  * @returns {() => void}
482
482
  */
483
483
  $on(t, n) {
484
- if (!gt(n))
484
+ if (!pt(n))
485
485
  return B;
486
486
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
487
487
  return r.push(n), () => {
@@ -499,16 +499,16 @@ class wn {
499
499
  }
500
500
  const ni = "4";
501
501
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ni);
502
- function Lt(e, t) {
502
+ function It(e, t) {
503
503
  var n;
504
504
  t === void 0 && (t = "0");
505
505
  var r = 0, i = -1;
506
- e[0] == "-" && (e = e.substring(1), an(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), an(t) || (r++, i = 2, t.length)), e = q(e), t = q(t), n = An(q(e), q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = Wt(e) : i === 2 && (t = Wt(t)));
506
+ e[0] == "-" && (e = e.substring(1), nn(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), nn(t) || (r++, i = 2, t.length)), e = q(e), t = q(t), n = xn(q(e), q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = $t(e) : i === 2 && (t = $t(t)));
507
507
  var a = mr(e, t);
508
- return r ? r == 2 ? "-" + q(a) : e.length < a.length ? q(a.substring(1)) : "-" + q(Wt(a)) : q(a);
508
+ return r ? r == 2 ? "-" + q(a) : e.length < a.length ? q(a.substring(1)) : "-" + q($t(a)) : q(a);
509
509
  }
510
- function Wt(e) {
511
- if (an(e))
510
+ function $t(e) {
511
+ if (nn(e))
512
512
  return e;
513
513
  for (var t = "", n = e.length, r = e.split(".")[1], i = r ? r.length : 0, a = 0; a < n; a++)
514
514
  e[a] >= "0" && e[a] <= "9" ? t += 9 - parseInt(e[a]) : t += e[a];
@@ -521,13 +521,13 @@ function q(e) {
521
521
  t[0] = t[0].substring(1);
522
522
  return t[0] + (t[1] ? "." + t[1] : "");
523
523
  }
524
- function An(e, t) {
524
+ function xn(e, t) {
525
525
  var n = e.split("."), r = t.split("."), i = n[0].length, a = r[0].length;
526
526
  return i > a ? r[0] = new Array(Math.abs(i - a) + 1).join("0") + (r[0] ? r[0] : "") : n[0] = new Array(Math.abs(i - a) + 1).join("0") + (n[0] ? n[0] : ""), i = n[1] ? n[1].length : 0, a = r[1] ? r[1].length : 0, (i || a) && (i > a ? r[1] = (r[1] ? r[1] : "") + new Array(Math.abs(i - a) + 1).join("0") : n[1] = (n[1] ? n[1] : "") + new Array(Math.abs(i - a) + 1).join("0")), e = n[0] + (n[1] ? "." + n[1] : ""), t = r[0] + (r[1] ? "." + r[1] : ""), [e, t];
527
527
  }
528
528
  function mr(e, t) {
529
529
  var n;
530
- n = An(e, t), e = n[0], t = n[1];
530
+ n = xn(e, t), e = n[0], t = n[1];
531
531
  for (var r = "", i = 0, a = e.length - 1; a >= 0; a--) {
532
532
  if (e[a] === ".") {
533
533
  r = "." + r;
@@ -538,7 +538,7 @@ function mr(e, t) {
538
538
  }
539
539
  return i ? i.toString() + r : r;
540
540
  }
541
- function an(e) {
541
+ function nn(e) {
542
542
  return /^0[0]*[.]{0,1}[0]*$/.test(e);
543
543
  }
544
544
  function Ln(e) {
@@ -548,7 +548,7 @@ var V;
548
548
  (function(e) {
549
549
  e[e.CEILING = 0] = "CEILING", e[e.DOWN = 1] = "DOWN", e[e.FLOOR = 2] = "FLOOR", e[e.HALF_DOWN = 3] = "HALF_DOWN", e[e.HALF_EVEN = 4] = "HALF_EVEN", e[e.HALF_UP = 5] = "HALF_UP", e[e.UNNECESSARY = 6] = "UNNECESSARY", e[e.UP = 7] = "UP";
550
550
  })(V || (V = {}));
551
- function ht(e, t, n) {
551
+ function ct(e, t, n) {
552
552
  if (t === void 0 && (t = 0), n === void 0 && (n = V.HALF_EVEN), n === V.UNNECESSARY)
553
553
  throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");
554
554
  (typeof e == "number" || typeof e == "bigint") && (e = e.toString());
@@ -559,10 +559,10 @@ function ht(e, t, n) {
559
559
  if (t = -t, a.length <= t)
560
560
  return "0";
561
561
  var l = a.substr(0, a.length - t);
562
- return e = l + "." + a.substr(a.length - t) + o, l = ht(e, 0, n), (r ? "-" : "") + l + new Array(t + 1).join("0");
562
+ return e = l + "." + a.substr(a.length - t) + o, l = ct(e, 0, n), (r ? "-" : "") + l + new Array(t + 1).join("0");
563
563
  }
564
564
  if (t == 0)
565
- return a.length, Nn(i[1], a, r, n) && (a = Xt(a)), (r && parseInt(a) ? "-" : "") + a;
565
+ return a.length, Nn(i[1], a, r, n) && (a = jt(a)), (r && parseInt(a) ? "-" : "") + a;
566
566
  if (i[1]) {
567
567
  if (i[1].length < t)
568
568
  return (r ? "-" : "") + a + "." + i[1] + new Array(t - i[1].length + 1).join("0");
@@ -570,7 +570,7 @@ function ht(e, t, n) {
570
570
  return (r ? "-" : "") + a + "." + new Array(t + 1).join("0");
571
571
  o = i[1].substring(0, t);
572
572
  var s = i[1].substring(t);
573
- return s && Nn(s, o, r, n) && (o = Xt(o), o.length > t) ? (r ? "-" : "") + Xt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
573
+ return s && Nn(s, o, r, n) && (o = jt(o), o.length > t) ? (r ? "-" : "") + jt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
574
574
  }
575
575
  function Nn(e, t, n, r) {
576
576
  if (!e || e === new Array(e.length + 1).join("0") || r === V.DOWN || !n && r === V.FLOOR || n && r === V.CEILING)
@@ -592,7 +592,7 @@ function Nn(e, t, n, r) {
592
592
  return parseInt(t[t.length - 1]) % 2 == 1;
593
593
  }
594
594
  }
595
- function Xt(e, t) {
595
+ function jt(e, t) {
596
596
  t === void 0 && (t = 0), t || (t = 1), typeof e == "number" && e.toString();
597
597
  for (var n = e.length - 1, r = "", i = n; i >= 0; i--) {
598
598
  var a = parseInt(e[i]) + t;
@@ -600,7 +600,7 @@ function Xt(e, t) {
600
600
  }
601
601
  return t && (r += t), r.split("").reverse().join("");
602
602
  }
603
- function He(e) {
603
+ function Be(e) {
604
604
  var t = e[0] === "-";
605
605
  for (t && (e = e.substr(1)); e[0] == "0"; )
606
606
  e = e.substr(1);
@@ -609,14 +609,14 @@ function He(e) {
609
609
  e = e.substr(0, e.length - 1);
610
610
  return e == "" || e == "." ? e = "0" : e[e.length - 1] == "." && (e = e.substr(0, e.length - 1)), e[0] == "." && (e = "0" + e), t && e != "0" && (e = "-" + e), e;
611
611
  }
612
- function on(e, t) {
612
+ function rn(e, t) {
613
613
  e = e.toString(), t = t.toString();
614
614
  var n = 0;
615
- e[0] == "-" && (n++, e = e.substr(1)), t[0] == "-" && (n++, t = t.substr(1)), e = He(e), t = He(t);
615
+ e[0] == "-" && (n++, e = e.substr(1)), t[0] == "-" && (n++, t = t.substr(1)), e = Be(e), t = Be(t);
616
616
  var r = 0, i = 0;
617
617
  e.indexOf(".") != -1 && (r = e.length - e.indexOf(".") - 1), t.indexOf(".") != -1 && (i = t.length - t.indexOf(".") - 1);
618
618
  var a = r + i;
619
- if (e = He(e.replace(".", "")), t = He(t.replace(".", "")), e.length < t.length) {
619
+ if (e = Be(e.replace(".", "")), t = Be(t.replace(".", "")), e.length < t.length) {
620
620
  var o = e;
621
621
  e = t, t = o;
622
622
  }
@@ -629,12 +629,12 @@ function on(e, t) {
629
629
  u[b] > -1 && u[b] < e.length && (g += parseInt(e[u[b]--]) * parseInt(t[b]));
630
630
  g += s, s = Math.floor(g / 10), f = g % 10 + f, h--;
631
631
  }
632
- return f = He(ri(f, a)), n == 1 && (f = "-" + f), f;
632
+ return f = Be(ri(f, a)), n == 1 && (f = "-" + f), f;
633
633
  }
634
634
  function ri(e, t) {
635
635
  return t == 0 ? e : (e = t >= e.length ? new Array(t - e.length + 1).join("0") + e : e, e.substr(0, e.length - t) + "." + e.substr(e.length - t, t));
636
636
  }
637
- function sn(e, t, n, r) {
637
+ function an(e, t, n, r) {
638
638
  if (n === void 0 && (n = 8), r === void 0 && (r = V.HALF_EVEN), t == 0)
639
639
  throw new Error("Cannot divide by 0");
640
640
  if (e = e.toString(), t = t.toString(), e = e.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), t = t.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), e == 0)
@@ -662,15 +662,15 @@ function sn(e, t, n, r) {
662
662
  }
663
663
  for (n = n + 2; s <= n; ) {
664
664
  for (var g = 0; parseInt(f) >= parseInt(t); )
665
- f = Lt(f, "-" + t), g++;
665
+ f = It(f, "-" + t), g++;
666
666
  h += g, e ? (e[0] == "." && (h += ".", s++, e = e.substring(1)), f = f + e.substring(0, 1), e = e.substring(1)) : (s || (h += "."), s++, f = f + "0");
667
667
  }
668
- return (i == 1 ? "-" : "") + q(ht(h, n - 2, r));
668
+ return (i == 1 ? "-" : "") + q(ct(h, n - 2, r));
669
669
  }
670
- function ln(e, t) {
671
- return e = e.toString(), t = t.toString(), t = un(t), Lt(e, t);
670
+ function on(e, t) {
671
+ return e = e.toString(), t = t.toString(), t = sn(t), It(e, t);
672
672
  }
673
- function un(e) {
673
+ function sn(e) {
674
674
  return e[0] == "-" ? e = e.substr(1) : e = "-" + e, e;
675
675
  }
676
676
  function Pn(e, t) {
@@ -679,7 +679,7 @@ function Pn(e, t) {
679
679
  e = e.toString(), t = t.toString(), On(e), On(t);
680
680
  var n = "";
681
681
  e[0] == "-" && (n = "-", e = e.substr(1)), t[0] == "-" && (t = t.substr(1));
682
- var r = ln(e, on(t, ht(sn(e, t), 0, V.FLOOR)));
682
+ var r = on(e, rn(t, ct(an(e, t), 0, V.FLOOR)));
683
683
  return n + r;
684
684
  }
685
685
  function On(e) {
@@ -689,12 +689,12 @@ function On(e) {
689
689
  function Rn(e, t) {
690
690
  var n, r, i = !1;
691
691
  if (n = [e, t].map(function(o) {
692
- return He(o);
692
+ return Be(o);
693
693
  }), e = n[0], t = n[1], e[0] == "-" && t[0] != "-")
694
694
  return -1;
695
695
  if (e[0] != "-" && t[0] == "-")
696
696
  return 1;
697
- if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = An(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
697
+ if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = xn(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
698
698
  return 0;
699
699
  for (var a = 0; a < e.length; a++)
700
700
  if (e[a] != t[a])
@@ -739,11 +739,11 @@ var ii = (
739
739
  }, e.round = function(t, n, r) {
740
740
  if (n === void 0 && (n = 0), r === void 0 && (r = V.HALF_EVEN), t = e.validate(t), isNaN(n))
741
741
  throw Error("Precision is not a number: " + n);
742
- return ht(t, n, r);
742
+ return ct(t, n, r);
743
743
  }, e.prototype.round = function(t, n) {
744
744
  if (t === void 0 && (t = 0), n === void 0 && (n = V.HALF_EVEN), isNaN(t))
745
745
  throw Error("Precision is not a number: " + t);
746
- return new e(ht(this.value, t, n));
746
+ return new e(ct(this.value, t, n));
747
747
  }, e.abs = function(t) {
748
748
  return t = e.validate(t), Ln(t);
749
749
  }, e.prototype.abs = function() {
@@ -757,21 +757,21 @@ var ii = (
757
757
  }, e.prototype.ceil = function() {
758
758
  return this.value.indexOf(".") === -1 ? new e(this.value) : new e(this.value).round(0, V.CEILING);
759
759
  }, e.add = function(t, n) {
760
- return t = e.validate(t), n = e.validate(n), Lt(t, n);
760
+ return t = e.validate(t), n = e.validate(n), It(t, n);
761
761
  }, e.prototype.add = function(t) {
762
- return new e(Lt(this.value, t.getValue()));
762
+ return new e(It(this.value, t.getValue()));
763
763
  }, e.subtract = function(t, n) {
764
- return t = e.validate(t), n = e.validate(n), ln(t, n);
764
+ return t = e.validate(t), n = e.validate(n), on(t, n);
765
765
  }, e.prototype.subtract = function(t) {
766
- return new e(ln(this.value, t.getValue()));
766
+ return new e(on(this.value, t.getValue()));
767
767
  }, e.multiply = function(t, n) {
768
- return t = e.validate(t), n = e.validate(n), on(t, n);
768
+ return t = e.validate(t), n = e.validate(n), rn(t, n);
769
769
  }, e.prototype.multiply = function(t) {
770
- return new e(on(this.value, t.getValue()));
770
+ return new e(rn(this.value, t.getValue()));
771
771
  }, e.divide = function(t, n, r, i) {
772
- return t = e.validate(t), n = e.validate(n), sn(t, n, r, i);
772
+ return t = e.validate(t), n = e.validate(n), an(t, n, r, i);
773
773
  }, e.prototype.divide = function(t, n, r) {
774
- return new e(sn(this.value, t.getValue(), n, r));
774
+ return new e(an(this.value, t.getValue(), n, r));
775
775
  }, e.modulus = function(t, n) {
776
776
  return t = e.validate(t), n = e.validate(n), Pn(t, n);
777
777
  }, e.prototype.modulus = function(t) {
@@ -781,34 +781,34 @@ var ii = (
781
781
  }, e.prototype.compareTo = function(t) {
782
782
  return Rn(this.value, t.getValue());
783
783
  }, e.negate = function(t) {
784
- return t = e.validate(t), un(t);
784
+ return t = e.validate(t), sn(t);
785
785
  }, e.prototype.negate = function() {
786
- return new e(un(this.value));
786
+ return new e(sn(this.value));
787
787
  }, e.stripTrailingZero = function(t) {
788
- return t = e.validate(t), He(t);
788
+ return t = e.validate(t), Be(t);
789
789
  }, e.prototype.stripTrailingZero = function() {
790
- return new e(He(this.value));
790
+ return new e(Be(this.value));
791
791
  }, e.RoundingModes = V, e;
792
792
  }()
793
793
  );
794
- const Ue = [];
794
+ const Ve = [];
795
795
  function ai(e, t) {
796
796
  return {
797
- subscribe: Dt(e, t).subscribe
797
+ subscribe: Ot(e, t).subscribe
798
798
  };
799
799
  }
800
- function Dt(e, t = B) {
800
+ function Ot(e, t = B) {
801
801
  let n;
802
802
  const r = /* @__PURE__ */ new Set();
803
803
  function i(l) {
804
- if (Rt(e, l) && (e = l, n)) {
805
- const s = !Ue.length;
804
+ if (Pt(e, l) && (e = l, n)) {
805
+ const s = !Ve.length;
806
806
  for (const u of r)
807
- u[1](), Ue.push(u, e);
807
+ u[1](), Ve.push(u, e);
808
808
  if (s) {
809
- for (let u = 0; u < Ue.length; u += 2)
810
- Ue[u][0](Ue[u + 1]);
811
- Ue.length = 0;
809
+ for (let u = 0; u < Ve.length; u += 2)
810
+ Ve[u][0](Ve[u + 1]);
811
+ Ve.length = 0;
812
812
  }
813
813
  }
814
814
  }
@@ -823,7 +823,7 @@ function Dt(e, t = B) {
823
823
  }
824
824
  return { set: i, update: a, subscribe: o };
825
825
  }
826
- function Qe(e, t, n) {
826
+ function Ke(e, t, n) {
827
827
  const r = !Array.isArray(e), i = r ? [e] : e;
828
828
  if (!i.every(Boolean))
829
829
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -837,12 +837,12 @@ function Qe(e, t, n) {
837
837
  return;
838
838
  f();
839
839
  const b = t(r ? u[0] : u, o, l);
840
- a ? o(b) : f = gt(b) ? b : B;
840
+ a ? o(b) : f = pt(b) ? b : B;
841
841
  }, g = i.map(
842
842
  (b, y) => hr(
843
843
  b,
844
- (N) => {
845
- u[y] = N, h &= ~(1 << y), s && c();
844
+ (P) => {
845
+ u[y] = P, h &= ~(1 << y), s && c();
846
846
  },
847
847
  () => {
848
848
  h |= 1 << y;
@@ -850,7 +850,7 @@ function Qe(e, t, n) {
850
850
  )
851
851
  );
852
852
  return s = !0, c(), function() {
853
- xe(g), f(), s = !1;
853
+ _e(g), f(), s = !1;
854
854
  };
855
855
  });
856
856
  }
@@ -874,19 +874,19 @@ function fi(e) {
874
874
  function pi(e) {
875
875
  return Array.isArray(e) ? [] : {};
876
876
  }
877
- function ft(e, t) {
878
- return t.clone !== !1 && t.isMergeableObject(e) ? ze(pi(e), e, t) : e;
877
+ function ht(e, t) {
878
+ return t.clone !== !1 && t.isMergeableObject(e) ? Xe(pi(e), e, t) : e;
879
879
  }
880
880
  function gi(e, t, n) {
881
881
  return e.concat(t).map(function(r) {
882
- return ft(r, n);
882
+ return ht(r, n);
883
883
  });
884
884
  }
885
885
  function di(e, t) {
886
886
  if (!t.customMerge)
887
- return ze;
887
+ return Xe;
888
888
  var n = t.customMerge(e);
889
- return typeof n == "function" ? n : ze;
889
+ return typeof n == "function" ? n : Xe;
890
890
  }
891
891
  function mi(e) {
892
892
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -909,51 +909,65 @@ function yi(e, t) {
909
909
  function bi(e, t, n) {
910
910
  var r = {};
911
911
  return n.isMergeableObject(e) && Dn(e).forEach(function(i) {
912
- r[i] = ft(e[i], n);
912
+ r[i] = ht(e[i], n);
913
913
  }), Dn(t).forEach(function(i) {
914
- yi(e, i) || (yr(e, i) && n.isMergeableObject(t[i]) ? r[i] = di(i, n)(e[i], t[i], n) : r[i] = ft(t[i], n));
914
+ yi(e, i) || (yr(e, i) && n.isMergeableObject(t[i]) ? r[i] = di(i, n)(e[i], t[i], n) : r[i] = ht(t[i], n));
915
915
  }), r;
916
916
  }
917
- function ze(e, t, n) {
918
- n = n || {}, n.arrayMerge = n.arrayMerge || gi, n.isMergeableObject = n.isMergeableObject || si, n.cloneUnlessOtherwiseSpecified = ft;
917
+ function Xe(e, t, n) {
918
+ n = n || {}, n.arrayMerge = n.arrayMerge || gi, n.isMergeableObject = n.isMergeableObject || si, n.cloneUnlessOtherwiseSpecified = ht;
919
919
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
920
- return a ? r ? n.arrayMerge(e, t, n) : bi(e, t, n) : ft(t, n);
920
+ return a ? r ? n.arrayMerge(e, t, n) : bi(e, t, n) : ht(t, n);
921
921
  }
922
- ze.all = function(t, n) {
922
+ Xe.all = function(t, n) {
923
923
  if (!Array.isArray(t))
924
924
  throw new Error("first argument should be an array");
925
925
  return t.reduce(function(r, i) {
926
- return ze(r, i, n);
926
+ return Xe(r, i, n);
927
927
  }, {});
928
928
  };
929
- var vi = ze, Ei = vi;
929
+ var vi = Xe, Ei = vi;
930
930
  const _i = /* @__PURE__ */ oi(Ei);
931
- var cn = function(e, t) {
932
- return cn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
931
+ /*! *****************************************************************************
932
+ Copyright (c) Microsoft Corporation.
933
+
934
+ Permission to use, copy, modify, and/or distribute this software for any
935
+ purpose with or without fee is hereby granted.
936
+
937
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
938
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
939
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
940
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
941
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
942
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
943
+ PERFORMANCE OF THIS SOFTWARE.
944
+ ***************************************************************************** */
945
+ var ln = function(e, t) {
946
+ return ln = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
933
947
  n.__proto__ = r;
934
948
  } || function(n, r) {
935
949
  for (var i in r)
936
950
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
937
- }, cn(e, t);
951
+ }, ln(e, t);
938
952
  };
939
- function kt(e, t) {
953
+ function Rt(e, t) {
940
954
  if (typeof t != "function" && t !== null)
941
955
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
942
- cn(e, t);
956
+ ln(e, t);
943
957
  function n() {
944
958
  this.constructor = e;
945
959
  }
946
960
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
947
961
  }
948
- var ge = function() {
949
- return ge = Object.assign || function(t) {
962
+ var I = function() {
963
+ return I = Object.assign || function(t) {
950
964
  for (var n, r = 1, i = arguments.length; r < i; r++) {
951
965
  n = arguments[r];
952
966
  for (var a in n)
953
967
  Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
954
968
  }
955
969
  return t;
956
- }, ge.apply(this, arguments);
970
+ }, I.apply(this, arguments);
957
971
  };
958
972
  function xi(e, t) {
959
973
  var n = {};
@@ -964,14 +978,14 @@ function xi(e, t) {
964
978
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
965
979
  return n;
966
980
  }
967
- function zt(e, t, n) {
968
- if (n || arguments.length === 2)
981
+ function Wt(e, t, n) {
982
+ if (arguments.length === 2)
969
983
  for (var r = 0, i = t.length, a; r < i; r++)
970
984
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
971
- return e.concat(a || Array.prototype.slice.call(t));
985
+ return e.concat(a || t);
972
986
  }
973
- function Zt(e, t) {
974
- var n = t && t.cache ? t.cache : Hi, r = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ci;
987
+ function Xt(e, t) {
988
+ var n = t && t.cache ? t.cache : Bi, r = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ai;
975
989
  return i(e, {
976
990
  cache: n,
977
991
  serializer: r
@@ -980,103 +994,95 @@ function Zt(e, t) {
980
994
  function wi(e) {
981
995
  return e == null || typeof e == "number" || typeof e == "boolean";
982
996
  }
983
- function Ai(e, t, n, r) {
997
+ function br(e, t, n, r) {
984
998
  var i = wi(r) ? r : n(r), a = t.get(i);
985
999
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
986
1000
  }
987
- function br(e, t, n) {
1001
+ function vr(e, t, n) {
988
1002
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
989
1003
  return typeof a > "u" && (a = e.apply(this, r), t.set(i, a)), a;
990
1004
  }
991
- function vr(e, t, n, r, i) {
1005
+ function wn(e, t, n, r, i) {
992
1006
  return n.bind(t, e, r, i);
993
1007
  }
1008
+ function Ai(e, t) {
1009
+ var n = e.length === 1 ? br : vr;
1010
+ return wn(e, this, n, t.cache.create(), t.serializer);
1011
+ }
994
1012
  function Ci(e, t) {
995
- var n = e.length === 1 ? Ai : br;
996
- return vr(e, this, n, t.cache.create(), t.serializer);
1013
+ return wn(e, this, vr, t.cache.create(), t.serializer);
997
1014
  }
998
1015
  function Ti(e, t) {
999
- return vr(e, this, br, t.cache.create(), t.serializer);
1016
+ return wn(e, this, br, t.cache.create(), t.serializer);
1000
1017
  }
1001
1018
  var Si = function() {
1002
1019
  return JSON.stringify(arguments);
1003
- }, Bi = (
1004
- /** @class */
1005
- function() {
1006
- function e() {
1007
- this.cache = /* @__PURE__ */ Object.create(null);
1008
- }
1009
- return e.prototype.get = function(t) {
1010
- return this.cache[t];
1011
- }, e.prototype.set = function(t, n) {
1012
- this.cache[t] = n;
1013
- }, e;
1014
- }()
1015
- ), Hi = {
1020
+ };
1021
+ function An() {
1022
+ this.cache = /* @__PURE__ */ Object.create(null);
1023
+ }
1024
+ An.prototype.get = function(e) {
1025
+ return this.cache[e];
1026
+ };
1027
+ An.prototype.set = function(e, t) {
1028
+ this.cache[e] = t;
1029
+ };
1030
+ var Bi = {
1016
1031
  create: function() {
1017
- return new Bi();
1032
+ return new An();
1018
1033
  }
1019
- }, qt = {
1020
- variadic: Ti
1021
- }, Nt = function() {
1022
- return Nt = Object.assign || function(t) {
1023
- for (var n, r = 1, i = arguments.length; r < i; r++) {
1024
- n = arguments[r];
1025
- for (var a in n)
1026
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1027
- }
1028
- return t;
1029
- }, Nt.apply(this, arguments);
1030
- };
1031
- var S;
1034
+ }, zt = {
1035
+ variadic: Ci,
1036
+ monadic: Ti
1037
+ }, S;
1032
1038
  (function(e) {
1033
1039
  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";
1034
1040
  })(S || (S = {}));
1035
- var D;
1041
+ var k;
1036
1042
  (function(e) {
1037
1043
  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";
1038
- })(D || (D = {}));
1039
- var Ze;
1044
+ })(k || (k = {}));
1045
+ var ze;
1040
1046
  (function(e) {
1041
1047
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1042
- })(Ze || (Ze = {}));
1048
+ })(ze || (ze = {}));
1043
1049
  function kn(e) {
1044
- return e.type === D.literal;
1050
+ return e.type === k.literal;
1045
1051
  }
1046
- function Ii(e) {
1047
- return e.type === D.argument;
1052
+ function Hi(e) {
1053
+ return e.type === k.argument;
1048
1054
  }
1049
1055
  function Er(e) {
1050
- return e.type === D.number;
1056
+ return e.type === k.number;
1051
1057
  }
1052
1058
  function _r(e) {
1053
- return e.type === D.date;
1059
+ return e.type === k.date;
1054
1060
  }
1055
1061
  function xr(e) {
1056
- return e.type === D.time;
1062
+ return e.type === k.time;
1057
1063
  }
1058
1064
  function wr(e) {
1059
- return e.type === D.select;
1065
+ return e.type === k.select;
1060
1066
  }
1061
1067
  function Ar(e) {
1062
- return e.type === D.plural;
1068
+ return e.type === k.plural;
1063
1069
  }
1064
- function Li(e) {
1065
- return e.type === D.pound;
1070
+ function Ii(e) {
1071
+ return e.type === k.pound;
1066
1072
  }
1067
1073
  function Cr(e) {
1068
- return e.type === D.tag;
1074
+ return e.type === k.tag;
1069
1075
  }
1070
1076
  function Tr(e) {
1071
- return !!(e && typeof e == "object" && e.type === Ze.number);
1077
+ return !!(e && typeof e == "object" && e.type === ze.number);
1072
1078
  }
1073
- function hn(e) {
1074
- return !!(e && typeof e == "object" && e.type === Ze.dateTime);
1079
+ function un(e) {
1080
+ return !!(e && typeof e == "object" && e.type === ze.dateTime);
1075
1081
  }
1076
- var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1077
- function Pi(e) {
1082
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Li = /(?:[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;
1083
+ function Ni(e) {
1078
1084
  var t = {};
1079
- return e.replace(Ni, function(n) {
1085
+ return e.replace(Li, function(n) {
1080
1086
  var r = n.length;
1081
1087
  switch (n[0]) {
1082
1088
  case "G":
@@ -1165,21 +1171,11 @@ function Pi(e) {
1165
1171
  return "";
1166
1172
  }), t;
1167
1173
  }
1168
- var F = function() {
1169
- return F = Object.assign || function(t) {
1170
- for (var n, r = 1, i = arguments.length; r < i; r++) {
1171
- n = arguments[r];
1172
- for (var a in n)
1173
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1174
- }
1175
- return t;
1176
- }, F.apply(this, arguments);
1177
- };
1178
- var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1179
- function Ri(e) {
1174
+ var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1175
+ function Oi(e) {
1180
1176
  if (e.length === 0)
1181
1177
  throw new Error("Number skeleton cannot be empty");
1182
- for (var t = e.split(Oi).filter(function(c) {
1178
+ for (var t = e.split(Pi).filter(function(c) {
1183
1179
  return c.length > 0;
1184
1180
  }), n = [], r = 0, i = t; r < i.length; r++) {
1185
1181
  var a = i[r], o = a.split("/");
@@ -1194,10 +1190,10 @@ function Ri(e) {
1194
1190
  }
1195
1191
  return n;
1196
1192
  }
1197
- function Di(e) {
1193
+ function Ri(e) {
1198
1194
  return e.replace(/^(.*?)-/, "");
1199
1195
  }
1200
- var Mn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1196
+ var Mn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, Di = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1201
1197
  function Fn(e) {
1202
1198
  var t = {};
1203
1199
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(n, r, i) {
@@ -1244,7 +1240,7 @@ function Ir(e) {
1244
1240
  };
1245
1241
  }
1246
1242
  }
1247
- function Mi(e) {
1243
+ function ki(e) {
1248
1244
  var t;
1249
1245
  if (e[0] === "E" && e[1] === "E" ? (t = {
1250
1246
  notation: "engineering"
@@ -1262,7 +1258,7 @@ function Vn(e) {
1262
1258
  var t = {}, n = Ir(e);
1263
1259
  return n || t;
1264
1260
  }
1265
- function Fi(e) {
1261
+ function Mi(e) {
1266
1262
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1267
1263
  var i = r[n];
1268
1264
  switch (i.stem) {
@@ -1286,7 +1282,7 @@ function Fi(e) {
1286
1282
  continue;
1287
1283
  case "measure-unit":
1288
1284
  case "unit":
1289
- t.style = "unit", t.unit = Di(i.options[0]);
1285
+ t.style = "unit", t.unit = Ri(i.options[0]);
1290
1286
  continue;
1291
1287
  case "compact-short":
1292
1288
  case "K":
@@ -1297,13 +1293,13 @@ function Fi(e) {
1297
1293
  t.notation = "compact", t.compactDisplay = "long";
1298
1294
  continue;
1299
1295
  case "scientific":
1300
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(s, u) {
1301
- return F(F({}, s), Vn(u));
1296
+ t = I(I(I({}, t), { notation: "scientific" }), i.options.reduce(function(s, u) {
1297
+ return I(I({}, s), Vn(u));
1302
1298
  }, {}));
1303
1299
  continue;
1304
1300
  case "engineering":
1305
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(s, u) {
1306
- return F(F({}, s), Vn(u));
1301
+ t = I(I(I({}, t), { notation: "engineering" }), i.options.reduce(function(s, u) {
1302
+ return I(I({}, s), Vn(u));
1307
1303
  }, {}));
1308
1304
  continue;
1309
1305
  case "notation-simple":
@@ -1348,7 +1344,7 @@ function Fi(e) {
1348
1344
  case "integer-width":
1349
1345
  if (i.options.length > 1)
1350
1346
  throw new RangeError("integer-width stems only accept a single optional option");
1351
- i.options[0].replace(ki, function(s, u, h, f, c, g) {
1347
+ i.options[0].replace(Di, function(s, u, h, f, c, g) {
1352
1348
  if (u)
1353
1349
  t.minimumIntegerDigits = h.length;
1354
1350
  else {
@@ -1372,21 +1368,21 @@ function Fi(e) {
1372
1368
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1373
1369
  });
1374
1370
  var a = i.options[0];
1375
- a === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = F(F({}, t), Fn(a)));
1371
+ a === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = I(I({}, t), Fn(a)));
1376
1372
  continue;
1377
1373
  }
1378
1374
  if (Br.test(i.stem)) {
1379
- t = F(F({}, t), Fn(i.stem));
1375
+ t = I(I({}, t), Fn(i.stem));
1380
1376
  continue;
1381
1377
  }
1382
1378
  var o = Ir(i.stem);
1383
- o && (t = F(F({}, t), o));
1384
- var l = Mi(i.stem);
1385
- l && (t = F(F({}, t), l));
1379
+ o && (t = I(I({}, t), o));
1380
+ var l = ki(i.stem);
1381
+ l && (t = I(I({}, t), l));
1386
1382
  }
1387
1383
  return t;
1388
1384
  }
1389
- var wt = {
1385
+ var xt = {
1390
1386
  "001": [
1391
1387
  "H",
1392
1388
  "h"
@@ -2801,13 +2797,13 @@ var wt = {
2801
2797
  "h"
2802
2798
  ]
2803
2799
  };
2804
- function Vi(e, t) {
2800
+ function Fi(e, t) {
2805
2801
  for (var n = "", r = 0; r < e.length; r++) {
2806
2802
  var i = e.charAt(r);
2807
2803
  if (i === "j") {
2808
2804
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2809
2805
  a++, r++;
2810
- var o = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), s = "a", u = Ui(t);
2806
+ var o = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), s = "a", u = Vi(t);
2811
2807
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2812
2808
  n += s;
2813
2809
  for (; o-- > 0; )
@@ -2817,7 +2813,7 @@ function Vi(e, t) {
2817
2813
  }
2818
2814
  return n;
2819
2815
  }
2820
- function Ui(e) {
2816
+ function Vi(e) {
2821
2817
  var t = e.hourCycle;
2822
2818
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2823
2819
  e.hourCycles && // @ts-ignore
@@ -2836,23 +2832,23 @@ function Ui(e) {
2836
2832
  }
2837
2833
  var n = e.language, r;
2838
2834
  n !== "root" && (r = e.maximize().region);
2839
- var i = wt[r || ""] || wt[n || ""] || wt["".concat(n, "-001")] || wt["001"];
2835
+ var i = xt[r || ""] || xt[n || ""] || xt["".concat(n, "-001")] || xt["001"];
2840
2836
  return i[0];
2841
2837
  }
2842
- var Kt, Gi = new RegExp("^".concat(Sr.source, "*")), $i = new RegExp("".concat(Sr.source, "*$"));
2838
+ var Zt, Ui = new RegExp("^".concat(Sr.source, "*")), Gi = new RegExp("".concat(Sr.source, "*$"));
2843
2839
  function H(e, t) {
2844
2840
  return { start: e, end: t };
2845
2841
  }
2846
- var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, Xi = !!Object.fromEntries, zi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, Qi = Ki ? Number.isSafeInteger : function(e) {
2842
+ var $i = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, Wi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Ki = qi ? Number.isSafeInteger : function(e) {
2847
2843
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2848
- }, fn = !0;
2844
+ }, cn = !0;
2849
2845
  try {
2850
- var Yi = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2851
- fn = ((Kt = Yi.exec("a")) === null || Kt === void 0 ? void 0 : Kt[0]) === "a";
2846
+ var Qi = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2847
+ cn = ((Zt = Qi.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
2852
2848
  } catch {
2853
- fn = !1;
2849
+ cn = !1;
2854
2850
  }
2855
- var Un = ji ? (
2851
+ var Un = $i ? (
2856
2852
  // Native
2857
2853
  function(t, n, r) {
2858
2854
  return t.startsWith(n, r);
@@ -2862,7 +2858,7 @@ var Un = ji ? (
2862
2858
  function(t, n, r) {
2863
2859
  return t.slice(r, r + n.length) === n;
2864
2860
  }
2865
- ), pn = Wi ? String.fromCodePoint : (
2861
+ ), hn = ji ? String.fromCodePoint : (
2866
2862
  // IE11
2867
2863
  function() {
2868
2864
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2876,7 +2872,7 @@ var Un = ji ? (
2876
2872
  }
2877
2873
  ), Gn = (
2878
2874
  // native
2879
- Xi ? Object.fromEntries : (
2875
+ Wi ? Object.fromEntries : (
2880
2876
  // Ponyfill
2881
2877
  function(t) {
2882
2878
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2886,7 +2882,7 @@ var Un = ji ? (
2886
2882
  return n;
2887
2883
  }
2888
2884
  )
2889
- ), Lr = zi ? (
2885
+ ), Lr = Xi ? (
2890
2886
  // Native
2891
2887
  function(t, n) {
2892
2888
  return t.codePointAt(n);
@@ -2900,7 +2896,7 @@ var Un = ji ? (
2900
2896
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2901
2897
  }
2902
2898
  }
2903
- ), Ji = Zi ? (
2899
+ ), Yi = zi ? (
2904
2900
  // Native
2905
2901
  function(t) {
2906
2902
  return t.trimStart();
@@ -2908,9 +2904,9 @@ var Un = ji ? (
2908
2904
  ) : (
2909
2905
  // Ponyfill
2910
2906
  function(t) {
2911
- return t.replace(Gi, "");
2907
+ return t.replace(Ui, "");
2912
2908
  }
2913
- ), ea = qi ? (
2909
+ ), Ji = Zi ? (
2914
2910
  // Native
2915
2911
  function(t) {
2916
2912
  return t.trimEnd();
@@ -2918,32 +2914,32 @@ var Un = ji ? (
2918
2914
  ) : (
2919
2915
  // Ponyfill
2920
2916
  function(t) {
2921
- return t.replace($i, "");
2917
+ return t.replace(Gi, "");
2922
2918
  }
2923
2919
  );
2924
2920
  function Nr(e, t) {
2925
2921
  return new RegExp(e, t);
2926
2922
  }
2927
- var gn;
2928
- if (fn) {
2923
+ var fn;
2924
+ if (cn) {
2929
2925
  var $n = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2930
- gn = function(t, n) {
2926
+ fn = function(t, n) {
2931
2927
  var r;
2932
2928
  $n.lastIndex = n;
2933
2929
  var i = $n.exec(t);
2934
2930
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2935
2931
  };
2936
2932
  } else
2937
- gn = function(t, n) {
2933
+ fn = function(t, n) {
2938
2934
  for (var r = []; ; ) {
2939
2935
  var i = Lr(t, n);
2940
- if (i === void 0 || Pr(i) || ia(i))
2936
+ if (i === void 0 || Pr(i) || ra(i))
2941
2937
  break;
2942
2938
  r.push(i), n += i >= 65536 ? 2 : 1;
2943
2939
  }
2944
- return pn.apply(void 0, r);
2940
+ return hn.apply(void 0, r);
2945
2941
  };
2946
- var ta = (
2942
+ var ea = (
2947
2943
  /** @class */
2948
2944
  function() {
2949
2945
  function e(t, n) {
@@ -2967,14 +2963,14 @@ var ta = (
2967
2963
  if (a === 35 && (n === "plural" || n === "selectordinal")) {
2968
2964
  var l = this.clonePosition();
2969
2965
  this.bump(), i.push({
2970
- type: D.pound,
2966
+ type: k.pound,
2971
2967
  location: H(l, this.clonePosition())
2972
2968
  });
2973
2969
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2974
2970
  if (r)
2975
2971
  break;
2976
2972
  return this.error(S.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2977
- } else if (a === 60 && !this.ignoreTag && dn(this.peek() || 0)) {
2973
+ } else if (a === 60 && !this.ignoreTag && pn(this.peek() || 0)) {
2978
2974
  var o = this.parseTag(t, n);
2979
2975
  if (o.err)
2980
2976
  return o;
@@ -2995,7 +2991,7 @@ var ta = (
2995
2991
  if (this.bumpSpace(), this.bumpIf("/>"))
2996
2992
  return {
2997
2993
  val: {
2998
- type: D.literal,
2994
+ type: k.literal,
2999
2995
  value: "<".concat(i, "/>"),
3000
2996
  location: H(r, this.clonePosition())
3001
2997
  },
@@ -3007,12 +3003,12 @@ var ta = (
3007
3003
  return a;
3008
3004
  var o = a.val, l = this.clonePosition();
3009
3005
  if (this.bumpIf("</")) {
3010
- if (this.isEOF() || !dn(this.char()))
3006
+ if (this.isEOF() || !pn(this.char()))
3011
3007
  return this.error(S.INVALID_TAG, H(l, this.clonePosition()));
3012
3008
  var s = this.clonePosition(), u = this.parseTagName();
3013
3009
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, H(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3014
3010
  val: {
3015
- type: D.tag,
3011
+ type: k.tag,
3016
3012
  value: i,
3017
3013
  children: o,
3018
3014
  location: H(r, this.clonePosition())
@@ -3025,7 +3021,7 @@ var ta = (
3025
3021
  return this.error(S.INVALID_TAG, H(r, this.clonePosition()));
3026
3022
  }, e.prototype.parseTagName = function() {
3027
3023
  var t = this.offset();
3028
- for (this.bump(); !this.isEOF() && ra(this.char()); )
3024
+ for (this.bump(); !this.isEOF() && na(this.char()); )
3029
3025
  this.bump();
3030
3026
  return this.message.slice(t, this.offset());
3031
3027
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3049,12 +3045,12 @@ var ta = (
3049
3045
  }
3050
3046
  var s = H(r, this.clonePosition());
3051
3047
  return {
3052
- val: { type: D.literal, value: i, location: s },
3048
+ val: { type: k.literal, value: i, location: s },
3053
3049
  err: null
3054
3050
  };
3055
3051
  }, e.prototype.tryParseLeftAngleBracket = function() {
3056
3052
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3057
- !na(this.peek() || 0)) ? (this.bump(), "<") : null;
3053
+ !ta(this.peek() || 0)) ? (this.bump(), "<") : null;
3058
3054
  }, e.prototype.tryParseQuote = function(t) {
3059
3055
  if (this.isEOF() || this.char() !== 39)
3060
3056
  return null;
@@ -3088,12 +3084,12 @@ var ta = (
3088
3084
  n.push(r);
3089
3085
  this.bump();
3090
3086
  }
3091
- return pn.apply(void 0, n);
3087
+ return hn.apply(void 0, n);
3092
3088
  }, e.prototype.tryParseUnquoted = function(t, n) {
3093
3089
  if (this.isEOF())
3094
3090
  return null;
3095
3091
  var r = this.char();
3096
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), pn(r));
3092
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), hn(r));
3097
3093
  }, e.prototype.parseArgument = function(t, n) {
3098
3094
  var r = this.clonePosition();
3099
3095
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3109,7 +3105,7 @@ var ta = (
3109
3105
  case 125:
3110
3106
  return this.bump(), {
3111
3107
  val: {
3112
- type: D.argument,
3108
+ type: k.argument,
3113
3109
  // value does not include the opening and closing braces.
3114
3110
  value: i,
3115
3111
  location: H(r, this.clonePosition())
@@ -3122,7 +3118,7 @@ var ta = (
3122
3118
  return this.error(S.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
3123
3119
  }
3124
3120
  }, e.prototype.parseIdentifierIfPossible = function() {
3125
- var t = this.clonePosition(), n = this.offset(), r = gn(this.message, n), i = n + r.length;
3121
+ var t = this.clonePosition(), n = this.offset(), r = fn(this.message, n), i = n + r.length;
3126
3122
  this.bumpTo(i);
3127
3123
  var a = this.clonePosition(), o = H(t, a);
3128
3124
  return { value: r, location: o };
@@ -3141,7 +3137,7 @@ var ta = (
3141
3137
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3142
3138
  if (f.err)
3143
3139
  return f;
3144
- var c = ea(f.val);
3140
+ var c = Ji(f.val);
3145
3141
  if (c.length === 0)
3146
3142
  return this.error(S.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3147
3143
  var g = H(h, this.clonePosition());
@@ -3152,33 +3148,33 @@ var ta = (
3152
3148
  return b;
3153
3149
  var y = H(i, this.clonePosition());
3154
3150
  if (u && Un(u?.style, "::", 0)) {
3155
- var N = Ji(u.style.slice(2));
3151
+ var P = Yi(u.style.slice(2));
3156
3152
  if (l === "number") {
3157
- var f = this.parseNumberSkeletonFromString(N, u.styleLocation);
3153
+ var f = this.parseNumberSkeletonFromString(P, u.styleLocation);
3158
3154
  return f.err ? f : {
3159
- val: { type: D.number, value: r, location: y, style: f.val },
3155
+ val: { type: k.number, value: r, location: y, style: f.val },
3160
3156
  err: null
3161
3157
  };
3162
3158
  } else {
3163
- if (N.length === 0)
3159
+ if (P.length === 0)
3164
3160
  return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
3165
- var P = N;
3166
- this.locale && (P = Vi(N, this.locale));
3161
+ var O = P;
3162
+ this.locale && (O = Fi(P, this.locale));
3167
3163
  var c = {
3168
- type: Ze.dateTime,
3169
- pattern: P,
3164
+ type: ze.dateTime,
3165
+ pattern: O,
3170
3166
  location: u.styleLocation,
3171
- parsedOptions: this.shouldParseSkeletons ? Pi(P) : {}
3172
- }, O = l === "date" ? D.date : D.time;
3167
+ parsedOptions: this.shouldParseSkeletons ? Ni(O) : {}
3168
+ }, R = l === "date" ? k.date : k.time;
3173
3169
  return {
3174
- val: { type: O, value: r, location: y, style: c },
3170
+ val: { type: R, value: r, location: y, style: c },
3175
3171
  err: null
3176
3172
  };
3177
3173
  }
3178
3174
  }
3179
3175
  return {
3180
3176
  val: {
3181
- type: l === "number" ? D.number : l === "date" ? D.date : D.time,
3177
+ type: l === "number" ? k.number : l === "date" ? k.date : k.time,
3182
3178
  value: r,
3183
3179
  location: y,
3184
3180
  style: (a = u?.style) !== null && a !== void 0 ? a : null
@@ -3191,9 +3187,9 @@ var ta = (
3191
3187
  case "select": {
3192
3188
  var E = this.clonePosition();
3193
3189
  if (this.bumpSpace(), !this.bumpIf(","))
3194
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(E, Nt({}, E)));
3190
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(E, I({}, E)));
3195
3191
  this.bumpSpace();
3196
- var j = this.parseIdentifierIfPossible(), k = 0;
3192
+ var j = this.parseIdentifierIfPossible(), M = 0;
3197
3193
  if (l !== "select" && j.value === "offset") {
3198
3194
  if (!this.bumpIf(":"))
3199
3195
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
@@ -3201,7 +3197,7 @@ var ta = (
3201
3197
  var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3202
3198
  if (f.err)
3203
3199
  return f;
3204
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), k = f.val;
3200
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), M = f.val;
3205
3201
  }
3206
3202
  var K = this.tryParsePluralOrSelectOptions(t, l, n, j);
3207
3203
  if (K.err)
@@ -3209,23 +3205,23 @@ var ta = (
3209
3205
  var b = this.tryParseArgumentClose(i);
3210
3206
  if (b.err)
3211
3207
  return b;
3212
- var de = H(i, this.clonePosition());
3208
+ var ge = H(i, this.clonePosition());
3213
3209
  return l === "select" ? {
3214
3210
  val: {
3215
- type: D.select,
3211
+ type: k.select,
3216
3212
  value: r,
3217
3213
  options: Gn(K.val),
3218
- location: de
3214
+ location: ge
3219
3215
  },
3220
3216
  err: null
3221
3217
  } : {
3222
3218
  val: {
3223
- type: D.plural,
3219
+ type: k.plural,
3224
3220
  value: r,
3225
3221
  options: Gn(K.val),
3226
- offset: k,
3222
+ offset: M,
3227
3223
  pluralType: l === "plural" ? "cardinal" : "ordinal",
3228
- location: de
3224
+ location: ge
3229
3225
  },
3230
3226
  err: null
3231
3227
  };
@@ -3273,16 +3269,16 @@ var ta = (
3273
3269
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3274
3270
  var r = [];
3275
3271
  try {
3276
- r = Ri(t);
3272
+ r = Oi(t);
3277
3273
  } catch {
3278
3274
  return this.error(S.INVALID_NUMBER_SKELETON, n);
3279
3275
  }
3280
3276
  return {
3281
3277
  val: {
3282
- type: Ze.number,
3278
+ type: ze.number,
3283
3279
  tokens: r,
3284
3280
  location: n,
3285
- parsedOptions: this.shouldParseSkeletons ? Fi(r) : {}
3281
+ parsedOptions: this.shouldParseSkeletons ? Mi(r) : {}
3286
3282
  },
3287
3283
  err: null
3288
3284
  };
@@ -3330,7 +3326,7 @@ var ta = (
3330
3326
  break;
3331
3327
  }
3332
3328
  var s = H(i, this.clonePosition());
3333
- return a ? (o *= r, Qi(o) ? { val: o, err: null } : this.error(n, s)) : this.error(t, s);
3329
+ return a ? (o *= r, Ki(o) ? { val: o, err: null } : this.error(n, s)) : this.error(t, s);
3334
3330
  }, e.prototype.offset = function() {
3335
3331
  return this.position.offset;
3336
3332
  }, e.prototype.isEOF = function() {
@@ -3396,47 +3392,47 @@ var ta = (
3396
3392
  }, e;
3397
3393
  }()
3398
3394
  );
3399
- function dn(e) {
3395
+ function pn(e) {
3400
3396
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3401
3397
  }
3402
- function na(e) {
3403
- return dn(e) || e === 47;
3398
+ function ta(e) {
3399
+ return pn(e) || e === 47;
3404
3400
  }
3405
- function ra(e) {
3401
+ function na(e) {
3406
3402
  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;
3407
3403
  }
3408
3404
  function Pr(e) {
3409
3405
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3410
3406
  }
3411
- function ia(e) {
3407
+ function ra(e) {
3412
3408
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3413
3409
  }
3414
- function mn(e) {
3410
+ function gn(e) {
3415
3411
  e.forEach(function(t) {
3416
3412
  if (delete t.location, wr(t) || Ar(t))
3417
3413
  for (var n in t.options)
3418
- delete t.options[n].location, mn(t.options[n].value);
3414
+ delete t.options[n].location, gn(t.options[n].value);
3419
3415
  else
3420
- Er(t) && Tr(t.style) || (_r(t) || xr(t)) && hn(t.style) ? delete t.style.location : Cr(t) && mn(t.children);
3416
+ Er(t) && Tr(t.style) || (_r(t) || xr(t)) && un(t.style) ? delete t.style.location : Cr(t) && gn(t.children);
3421
3417
  });
3422
3418
  }
3423
- function aa(e, t) {
3424
- t === void 0 && (t = {}), t = Nt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3425
- var n = new ta(e, t).parse();
3419
+ function ia(e, t) {
3420
+ t === void 0 && (t = {}), t = I({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3421
+ var n = new ea(e, t).parse();
3426
3422
  if (n.err) {
3427
3423
  var r = SyntaxError(S[n.err.kind]);
3428
3424
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3429
3425
  }
3430
- return t?.captureLocation || mn(n.val), n.val;
3426
+ return t?.captureLocation || gn(n.val), n.val;
3431
3427
  }
3432
- var qe;
3428
+ var Ze;
3433
3429
  (function(e) {
3434
3430
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3435
- })(qe || (qe = {}));
3436
- var Mt = (
3431
+ })(Ze || (Ze = {}));
3432
+ var Dt = (
3437
3433
  /** @class */
3438
3434
  function(e) {
3439
- kt(t, e);
3435
+ Rt(t, e);
3440
3436
  function t(n, r, i) {
3441
3437
  var a = e.call(this, n) || this;
3442
3438
  return a.code = r, a.originalMessage = i, a;
@@ -3448,44 +3444,44 @@ var Mt = (
3448
3444
  ), jn = (
3449
3445
  /** @class */
3450
3446
  function(e) {
3451
- kt(t, e);
3447
+ Rt(t, e);
3452
3448
  function t(n, r, i, a) {
3453
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), qe.INVALID_VALUE, a) || this;
3449
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ze.INVALID_VALUE, a) || this;
3454
3450
  }
3455
3451
  return t;
3456
- }(Mt)
3457
- ), oa = (
3452
+ }(Dt)
3453
+ ), aa = (
3458
3454
  /** @class */
3459
3455
  function(e) {
3460
- kt(t, e);
3456
+ Rt(t, e);
3461
3457
  function t(n, r, i) {
3462
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), qe.INVALID_VALUE, i) || this;
3458
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ze.INVALID_VALUE, i) || this;
3463
3459
  }
3464
3460
  return t;
3465
- }(Mt)
3466
- ), sa = (
3461
+ }(Dt)
3462
+ ), oa = (
3467
3463
  /** @class */
3468
3464
  function(e) {
3469
- kt(t, e);
3465
+ Rt(t, e);
3470
3466
  function t(n, r) {
3471
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), qe.MISSING_VALUE, r) || this;
3467
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ze.MISSING_VALUE, r) || this;
3472
3468
  }
3473
3469
  return t;
3474
- }(Mt)
3470
+ }(Dt)
3475
3471
  ), J;
3476
3472
  (function(e) {
3477
3473
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3478
3474
  })(J || (J = {}));
3479
- function la(e) {
3475
+ function sa(e) {
3480
3476
  return e.length < 2 ? e : e.reduce(function(t, n) {
3481
3477
  var r = t[t.length - 1];
3482
3478
  return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3483
3479
  }, []);
3484
3480
  }
3485
- function ua(e) {
3481
+ function la(e) {
3486
3482
  return typeof e == "function";
3487
3483
  }
3488
- function St(e, t, n, r, i, a, o) {
3484
+ function Tt(e, t, n, r, i, a, o) {
3489
3485
  if (e.length === 1 && kn(e[0]))
3490
3486
  return [
3491
3487
  {
@@ -3502,7 +3498,7 @@ function St(e, t, n, r, i, a, o) {
3502
3498
  });
3503
3499
  continue;
3504
3500
  }
3505
- if (Li(h)) {
3501
+ if (Ii(h)) {
3506
3502
  typeof a == "number" && l.push({
3507
3503
  type: J.literal,
3508
3504
  value: n.getNumberFormat(t).format(a)
@@ -3511,9 +3507,9 @@ function St(e, t, n, r, i, a, o) {
3511
3507
  }
3512
3508
  var f = h.value;
3513
3509
  if (!(i && f in i))
3514
- throw new sa(f, o);
3510
+ throw new oa(f, o);
3515
3511
  var c = i[f];
3516
- if (Ii(h)) {
3512
+ if (Hi(h)) {
3517
3513
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), l.push({
3518
3514
  type: typeof c == "string" ? J.literal : J.object,
3519
3515
  value: c
@@ -3521,7 +3517,7 @@ function St(e, t, n, r, i, a, o) {
3521
3517
  continue;
3522
3518
  }
3523
3519
  if (_r(h)) {
3524
- var g = typeof h.style == "string" ? r.date[h.style] : hn(h.style) ? h.style.parsedOptions : void 0;
3520
+ var g = typeof h.style == "string" ? r.date[h.style] : un(h.style) ? h.style.parsedOptions : void 0;
3525
3521
  l.push({
3526
3522
  type: J.literal,
3527
3523
  value: n.getDateTimeFormat(t, g).format(c)
@@ -3529,7 +3525,7 @@ function St(e, t, n, r, i, a, o) {
3529
3525
  continue;
3530
3526
  }
3531
3527
  if (xr(h)) {
3532
- var g = typeof h.style == "string" ? r.time[h.style] : hn(h.style) ? h.style.parsedOptions : r.time.medium;
3528
+ var g = typeof h.style == "string" ? r.time[h.style] : un(h.style) ? h.style.parsedOptions : r.time.medium;
3533
3529
  l.push({
3534
3530
  type: J.literal,
3535
3531
  value: n.getDateTimeFormat(t, g).format(c)
@@ -3545,16 +3541,16 @@ function St(e, t, n, r, i, a, o) {
3545
3541
  continue;
3546
3542
  }
3547
3543
  if (Cr(h)) {
3548
- var b = h.children, y = h.value, N = i[y];
3549
- if (!ua(N))
3550
- throw new oa(y, "function", o);
3551
- var P = St(b, t, n, r, i, a), O = N(P.map(function(k) {
3552
- return k.value;
3544
+ var b = h.children, y = h.value, P = i[y];
3545
+ if (!la(P))
3546
+ throw new aa(y, "function", o);
3547
+ var O = Tt(b, t, n, r, i, a), R = P(O.map(function(M) {
3548
+ return M.value;
3553
3549
  }));
3554
- Array.isArray(O) || (O = [O]), l.push.apply(l, O.map(function(k) {
3550
+ Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(M) {
3555
3551
  return {
3556
- type: typeof k == "string" ? J.literal : J.object,
3557
- value: k
3552
+ type: typeof M == "string" ? J.literal : J.object,
3553
+ value: M
3558
3554
  };
3559
3555
  }));
3560
3556
  }
@@ -3562,38 +3558,38 @@ function St(e, t, n, r, i, a, o) {
3562
3558
  var E = h.options[c] || h.options.other;
3563
3559
  if (!E)
3564
3560
  throw new jn(h.value, c, Object.keys(h.options), o);
3565
- l.push.apply(l, St(E.value, t, n, r, i));
3561
+ l.push.apply(l, Tt(E.value, t, n, r, i));
3566
3562
  continue;
3567
3563
  }
3568
3564
  if (Ar(h)) {
3569
3565
  var E = h.options["=".concat(c)];
3570
3566
  if (!E) {
3571
3567
  if (!Intl.PluralRules)
3572
- throw new Mt(`Intl.PluralRules is not available in this environment.
3568
+ throw new Dt(`Intl.PluralRules is not available in this environment.
3573
3569
  Try polyfilling it using "@formatjs/intl-pluralrules"
3574
- `, qe.MISSING_INTL_API, o);
3570
+ `, Ze.MISSING_INTL_API, o);
3575
3571
  var j = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3576
3572
  E = h.options[j] || h.options.other;
3577
3573
  }
3578
3574
  if (!E)
3579
3575
  throw new jn(h.value, c, Object.keys(h.options), o);
3580
- l.push.apply(l, St(E.value, t, n, r, i, c - (h.offset || 0)));
3576
+ l.push.apply(l, Tt(E.value, t, n, r, i, c - (h.offset || 0)));
3581
3577
  continue;
3582
3578
  }
3583
3579
  }
3584
- return la(l);
3580
+ return sa(l);
3585
3581
  }
3586
- function ca(e, t) {
3587
- return t ? ge(ge(ge({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3588
- return n[r] = ge(ge({}, e[r]), t[r] || {}), n;
3582
+ function ua(e, t) {
3583
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3584
+ return n[r] = I(I({}, e[r]), t[r] || {}), n;
3589
3585
  }, {})) : e;
3590
3586
  }
3591
- function ha(e, t) {
3587
+ function ca(e, t) {
3592
3588
  return t ? Object.keys(e).reduce(function(n, r) {
3593
- return n[r] = ca(e[r], t[r]), n;
3594
- }, ge({}, e)) : e;
3589
+ return n[r] = ua(e[r], t[r]), n;
3590
+ }, I({}, e)) : e;
3595
3591
  }
3596
- function Qt(e) {
3592
+ function qt(e) {
3597
3593
  return {
3598
3594
  create: function() {
3599
3595
  return {
@@ -3607,39 +3603,39 @@ function Qt(e) {
3607
3603
  }
3608
3604
  };
3609
3605
  }
3610
- function fa(e) {
3606
+ function ha(e) {
3611
3607
  return e === void 0 && (e = {
3612
3608
  number: {},
3613
3609
  dateTime: {},
3614
3610
  pluralRules: {}
3615
3611
  }), {
3616
- getNumberFormat: Zt(function() {
3612
+ getNumberFormat: Xt(function() {
3617
3613
  for (var t, n = [], r = 0; r < arguments.length; r++)
3618
3614
  n[r] = arguments[r];
3619
- return new ((t = Intl.NumberFormat).bind.apply(t, zt([void 0], n, !1)))();
3615
+ return new ((t = Intl.NumberFormat).bind.apply(t, Wt([void 0], n, !1)))();
3620
3616
  }, {
3621
- cache: Qt(e.number),
3622
- strategy: qt.variadic
3617
+ cache: qt(e.number),
3618
+ strategy: zt.variadic
3623
3619
  }),
3624
- getDateTimeFormat: Zt(function() {
3620
+ getDateTimeFormat: Xt(function() {
3625
3621
  for (var t, n = [], r = 0; r < arguments.length; r++)
3626
3622
  n[r] = arguments[r];
3627
- return new ((t = Intl.DateTimeFormat).bind.apply(t, zt([void 0], n, !1)))();
3623
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Wt([void 0], n, !1)))();
3628
3624
  }, {
3629
- cache: Qt(e.dateTime),
3630
- strategy: qt.variadic
3625
+ cache: qt(e.dateTime),
3626
+ strategy: zt.variadic
3631
3627
  }),
3632
- getPluralRules: Zt(function() {
3628
+ getPluralRules: Xt(function() {
3633
3629
  for (var t, n = [], r = 0; r < arguments.length; r++)
3634
3630
  n[r] = arguments[r];
3635
- return new ((t = Intl.PluralRules).bind.apply(t, zt([void 0], n, !1)))();
3631
+ return new ((t = Intl.PluralRules).bind.apply(t, Wt([void 0], n, !1)))();
3636
3632
  }, {
3637
- cache: Qt(e.pluralRules),
3638
- strategy: qt.variadic
3633
+ cache: qt(e.pluralRules),
3634
+ strategy: zt.variadic
3639
3635
  })
3640
3636
  };
3641
3637
  }
3642
- var pa = (
3638
+ var fa = (
3643
3639
  /** @class */
3644
3640
  function() {
3645
3641
  function e(t, n, r, i) {
@@ -3658,7 +3654,7 @@ var pa = (
3658
3654
  }, []);
3659
3655
  return h.length <= 1 ? h[0] || "" : h;
3660
3656
  }, this.formatToParts = function(s) {
3661
- return St(a.ast, a.locales, a.formatters, a.formats, s, void 0, a.message);
3657
+ return Tt(a.ast, a.locales, a.formatters, a.formats, s, void 0, a.message);
3662
3658
  }, this.resolvedOptions = function() {
3663
3659
  var s;
3664
3660
  return {
@@ -3672,12 +3668,12 @@ var pa = (
3672
3668
  var o = i || {};
3673
3669
  o.formatters;
3674
3670
  var l = xi(o, ["formatters"]);
3675
- this.ast = e.__parse(t, ge(ge({}, l), { locale: this.resolvedLocale }));
3671
+ this.ast = e.__parse(t, I(I({}, l), { locale: this.resolvedLocale }));
3676
3672
  } else
3677
3673
  this.ast = t;
3678
3674
  if (!Array.isArray(this.ast))
3679
3675
  throw new TypeError("A message must be provided as a String or AST.");
3680
- this.formats = ha(e.formats, r), this.formatters = i && i.formatters || fa(this.formatterCache);
3676
+ this.formats = ca(e.formats, r), this.formatters = i && i.formatters || ha(this.formatterCache);
3681
3677
  }
3682
3678
  return Object.defineProperty(e, "defaultLocale", {
3683
3679
  get: function() {
@@ -3690,7 +3686,7 @@ var pa = (
3690
3686
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3691
3687
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3692
3688
  }
3693
- }, e.__parse = aa, e.formats = {
3689
+ }, e.__parse = ia, e.formats = {
3694
3690
  number: {
3695
3691
  integer: {
3696
3692
  maximumFractionDigits: 0
@@ -3751,7 +3747,7 @@ var pa = (
3751
3747
  }, e;
3752
3748
  }()
3753
3749
  );
3754
- function ga(e, t) {
3750
+ function pa(e, t) {
3755
3751
  if (t == null)
3756
3752
  return;
3757
3753
  if (t in e)
@@ -3772,36 +3768,36 @@ function ga(e, t) {
3772
3768
  r = void 0;
3773
3769
  return r;
3774
3770
  }
3775
- const Ie = {}, da = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Or = (e, t) => {
3771
+ const He = {}, ga = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), Or = (e, t) => {
3776
3772
  if (t == null)
3777
3773
  return;
3778
- if (t in Ie && e in Ie[t])
3779
- return Ie[t][e];
3780
- const n = Ft(t);
3774
+ if (t in He && e in He[t])
3775
+ return He[t][e];
3776
+ const n = kt(t);
3781
3777
  for (let r = 0; r < n.length; r++) {
3782
- const i = n[r], a = ya(i, e);
3778
+ const i = n[r], a = ma(i, e);
3783
3779
  if (a)
3784
- return da(e, t, a);
3780
+ return ga(e, t, a);
3785
3781
  }
3786
3782
  };
3787
3783
  let Cn;
3788
- const Ye = Dt({});
3789
- function ma(e) {
3784
+ const Qe = Ot({});
3785
+ function da(e) {
3790
3786
  return Cn[e] || null;
3791
3787
  }
3792
3788
  function Rr(e) {
3793
3789
  return e in Cn;
3794
3790
  }
3795
- function ya(e, t) {
3791
+ function ma(e, t) {
3796
3792
  if (!Rr(e))
3797
3793
  return null;
3798
- const n = ma(e);
3799
- return ga(n, t);
3794
+ const n = da(e);
3795
+ return pa(n, t);
3800
3796
  }
3801
- function ba(e) {
3797
+ function ya(e) {
3802
3798
  if (e == null)
3803
3799
  return;
3804
- const t = Ft(e);
3800
+ const t = kt(e);
3805
3801
  for (let n = 0; n < t.length; n++) {
3806
3802
  const r = t[n];
3807
3803
  if (Rr(r))
@@ -3809,55 +3805,55 @@ function ba(e) {
3809
3805
  }
3810
3806
  }
3811
3807
  function Dr(e, ...t) {
3812
- delete Ie[e], Ye.update((n) => (n[e] = _i.all([n[e] || {}, ...t]), n));
3808
+ delete He[e], Qe.update((n) => (n[e] = _i.all([n[e] || {}, ...t]), n));
3813
3809
  }
3814
- Qe(
3815
- [Ye],
3810
+ Ke(
3811
+ [Qe],
3816
3812
  ([e]) => Object.keys(e)
3817
3813
  );
3818
- Ye.subscribe((e) => Cn = e);
3819
- const Bt = {};
3820
- function va(e, t) {
3821
- Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
3814
+ Qe.subscribe((e) => Cn = e);
3815
+ const St = {};
3816
+ function ba(e, t) {
3817
+ St[e].delete(t), St[e].size === 0 && delete St[e];
3822
3818
  }
3823
3819
  function kr(e) {
3824
- return Bt[e];
3820
+ return St[e];
3825
3821
  }
3826
- function Ea(e) {
3827
- return Ft(e).map((t) => {
3822
+ function va(e) {
3823
+ return kt(e).map((t) => {
3828
3824
  const n = kr(t);
3829
3825
  return [t, n ? [...n] : []];
3830
3826
  }).filter(([, t]) => t.length > 0);
3831
3827
  }
3832
- function yn(e) {
3833
- return e == null ? !1 : Ft(e).some(
3828
+ function dn(e) {
3829
+ return e == null ? !1 : kt(e).some(
3834
3830
  (t) => {
3835
3831
  var n;
3836
3832
  return (n = kr(t)) == null ? void 0 : n.size;
3837
3833
  }
3838
3834
  );
3839
3835
  }
3840
- function _a(e, t) {
3836
+ function Ea(e, t) {
3841
3837
  return Promise.all(
3842
- t.map((r) => (va(e, r), r().then((i) => i.default || i)))
3838
+ t.map((r) => (ba(e, r), r().then((i) => i.default || i)))
3843
3839
  ).then((r) => Dr(e, ...r));
3844
3840
  }
3845
- const st = {};
3841
+ const ot = {};
3846
3842
  function Mr(e) {
3847
- if (!yn(e))
3848
- return e in st ? st[e] : Promise.resolve();
3849
- const t = Ea(e);
3850
- return st[e] = Promise.all(
3843
+ if (!dn(e))
3844
+ return e in ot ? ot[e] : Promise.resolve();
3845
+ const t = va(e);
3846
+ return ot[e] = Promise.all(
3851
3847
  t.map(
3852
- ([n, r]) => _a(n, r)
3848
+ ([n, r]) => Ea(n, r)
3853
3849
  )
3854
3850
  ).then(() => {
3855
- if (yn(e))
3851
+ if (dn(e))
3856
3852
  return Mr(e);
3857
- delete st[e];
3858
- }), st[e];
3853
+ delete ot[e];
3854
+ }), ot[e];
3859
3855
  }
3860
- const xa = {
3856
+ const _a = {
3861
3857
  number: {
3862
3858
  scientific: { notation: "scientific" },
3863
3859
  engineering: { notation: "engineering" },
@@ -3886,141 +3882,141 @@ const xa = {
3886
3882
  timeZoneName: "short"
3887
3883
  }
3888
3884
  }
3889
- }, wa = {
3885
+ }, xa = {
3890
3886
  fallbackLocale: null,
3891
3887
  loadingDelay: 200,
3892
- formats: xa,
3888
+ formats: _a,
3893
3889
  warnOnMissingMessages: !0,
3894
3890
  handleMissingMessage: void 0,
3895
3891
  ignoreTag: !0
3896
- }, Aa = wa;
3897
- function Ke() {
3898
- return Aa;
3892
+ }, wa = xa;
3893
+ function qe() {
3894
+ return wa;
3899
3895
  }
3900
- const Yt = Dt(!1);
3901
- var Ca = Object.defineProperty, Ta = Object.defineProperties, Sa = Object.getOwnPropertyDescriptors, Wn = Object.getOwnPropertySymbols, Ba = Object.prototype.hasOwnProperty, Ha = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? Ca(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ia = (e, t) => {
3896
+ const Kt = Ot(!1);
3897
+ var Aa = Object.defineProperty, Ca = Object.defineProperties, Ta = Object.getOwnPropertyDescriptors, Wn = Object.getOwnPropertySymbols, Sa = Object.prototype.hasOwnProperty, Ba = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? Aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ha = (e, t) => {
3902
3898
  for (var n in t || (t = {}))
3903
- Ba.call(t, n) && Xn(e, n, t[n]);
3899
+ Sa.call(t, n) && Xn(e, n, t[n]);
3904
3900
  if (Wn)
3905
3901
  for (var n of Wn(t))
3906
- Ha.call(t, n) && Xn(e, n, t[n]);
3902
+ Ba.call(t, n) && Xn(e, n, t[n]);
3907
3903
  return e;
3908
- }, La = (e, t) => Ta(e, Sa(t));
3909
- let bn;
3910
- const Pt = Dt(null);
3904
+ }, Ia = (e, t) => Ca(e, Ta(t));
3905
+ let mn;
3906
+ const Lt = Ot(null);
3911
3907
  function zn(e) {
3912
3908
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3913
3909
  }
3914
- function Ft(e, t = Ke().fallbackLocale) {
3910
+ function kt(e, t = qe().fallbackLocale) {
3915
3911
  const n = zn(e);
3916
3912
  return t ? [.../* @__PURE__ */ new Set([...n, ...zn(t)])] : n;
3917
3913
  }
3918
- function De() {
3919
- return bn ?? void 0;
3914
+ function Re() {
3915
+ return mn ?? void 0;
3920
3916
  }
3921
- Pt.subscribe((e) => {
3922
- bn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3917
+ Lt.subscribe((e) => {
3918
+ mn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3923
3919
  });
3924
- const Na = (e) => {
3925
- if (e && ba(e) && yn(e)) {
3926
- const { loadingDelay: t } = Ke();
3920
+ const La = (e) => {
3921
+ if (e && ya(e) && dn(e)) {
3922
+ const { loadingDelay: t } = qe();
3927
3923
  let n;
3928
- return typeof window < "u" && De() != null && t ? n = window.setTimeout(
3929
- () => Yt.set(!0),
3924
+ return typeof window < "u" && Re() != null && t ? n = window.setTimeout(
3925
+ () => Kt.set(!0),
3930
3926
  t
3931
- ) : Yt.set(!0), Mr(e).then(() => {
3932
- Pt.set(e);
3927
+ ) : Kt.set(!0), Mr(e).then(() => {
3928
+ Lt.set(e);
3933
3929
  }).finally(() => {
3934
- clearTimeout(n), Yt.set(!1);
3930
+ clearTimeout(n), Kt.set(!1);
3935
3931
  });
3936
3932
  }
3937
- return Pt.set(e);
3938
- }, Le = La(Ia({}, Pt), {
3939
- set: Na
3940
- }), Vt = (e) => {
3933
+ return Lt.set(e);
3934
+ }, Ie = Ia(Ha({}, Lt), {
3935
+ set: La
3936
+ }), Mt = (e) => {
3941
3937
  const t = /* @__PURE__ */ Object.create(null);
3942
3938
  return (r) => {
3943
3939
  const i = JSON.stringify(r);
3944
3940
  return i in t ? t[i] : t[i] = e(r);
3945
3941
  };
3946
3942
  };
3947
- var Pa = Object.defineProperty, Ot = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, Zn = (e, t, n) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
3943
+ var Na = Object.defineProperty, Nt = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, Zn = (e, t, n) => t in e ? Na(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
3948
3944
  for (var n in t || (t = {}))
3949
3945
  Fr.call(t, n) && Zn(e, n, t[n]);
3950
- if (Ot)
3951
- for (var n of Ot(t))
3946
+ if (Nt)
3947
+ for (var n of Nt(t))
3952
3948
  Vr.call(t, n) && Zn(e, n, t[n]);
3953
3949
  return e;
3954
- }, Je = (e, t) => {
3950
+ }, Ye = (e, t) => {
3955
3951
  var n = {};
3956
3952
  for (var r in e)
3957
3953
  Fr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3958
- if (e != null && Ot)
3959
- for (var r of Ot(e))
3954
+ if (e != null && Nt)
3955
+ for (var r of Nt(e))
3960
3956
  t.indexOf(r) < 0 && Vr.call(e, r) && (n[r] = e[r]);
3961
3957
  return n;
3962
3958
  };
3963
- const pt = (e, t) => {
3964
- const { formats: n } = Ke();
3959
+ const ft = (e, t) => {
3960
+ const { formats: n } = qe();
3965
3961
  if (e in n && t in n[e])
3966
3962
  return n[e][t];
3967
3963
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3968
- }, Oa = Vt(
3964
+ }, Pa = Mt(
3969
3965
  (e) => {
3970
- var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3966
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3971
3967
  if (n == null)
3972
3968
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3973
- return r && (i = pt("number", r)), new Intl.NumberFormat(n, i);
3969
+ return r && (i = ft("number", r)), new Intl.NumberFormat(n, i);
3974
3970
  }
3975
- ), Ra = Vt(
3971
+ ), Oa = Mt(
3976
3972
  (e) => {
3977
- var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3973
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3978
3974
  if (n == null)
3979
3975
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3980
- return r ? i = pt("date", r) : Object.keys(i).length === 0 && (i = pt("date", "short")), new Intl.DateTimeFormat(n, i);
3976
+ return r ? i = ft("date", r) : Object.keys(i).length === 0 && (i = ft("date", "short")), new Intl.DateTimeFormat(n, i);
3981
3977
  }
3982
- ), Da = Vt(
3978
+ ), Ra = Mt(
3983
3979
  (e) => {
3984
- var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3980
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3985
3981
  if (n == null)
3986
3982
  throw new Error(
3987
3983
  '[svelte-i18n] A "locale" must be set to format time values'
3988
3984
  );
3989
- return r ? i = pt("time", r) : Object.keys(i).length === 0 && (i = pt("time", "short")), new Intl.DateTimeFormat(n, i);
3985
+ return r ? i = ft("time", r) : Object.keys(i).length === 0 && (i = ft("time", "short")), new Intl.DateTimeFormat(n, i);
3990
3986
  }
3991
- ), ka = (e = {}) => {
3987
+ ), Da = (e = {}) => {
3992
3988
  var t = e, {
3993
- locale: n = De()
3994
- } = t, r = Je(t, [
3989
+ locale: n = Re()
3990
+ } = t, r = Ye(t, [
3995
3991
  "locale"
3996
3992
  ]);
3997
- return Oa(Tn({ locale: n }, r));
3998
- }, Ma = (e = {}) => {
3993
+ return Pa(Tn({ locale: n }, r));
3994
+ }, ka = (e = {}) => {
3999
3995
  var t = e, {
4000
- locale: n = De()
4001
- } = t, r = Je(t, [
3996
+ locale: n = Re()
3997
+ } = t, r = Ye(t, [
4002
3998
  "locale"
4003
3999
  ]);
4004
- return Ra(Tn({ locale: n }, r));
4005
- }, Fa = (e = {}) => {
4000
+ return Oa(Tn({ locale: n }, r));
4001
+ }, Ma = (e = {}) => {
4006
4002
  var t = e, {
4007
- locale: n = De()
4008
- } = t, r = Je(t, [
4003
+ locale: n = Re()
4004
+ } = t, r = Ye(t, [
4009
4005
  "locale"
4010
4006
  ]);
4011
- return Da(Tn({ locale: n }, r));
4012
- }, Va = Vt(
4007
+ return Ra(Tn({ locale: n }, r));
4008
+ }, Fa = Mt(
4013
4009
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4014
- (e, t = De()) => new pa(e, t, Ke().formats, {
4015
- ignoreTag: Ke().ignoreTag
4010
+ (e, t = Re()) => new fa(e, t, qe().formats, {
4011
+ ignoreTag: qe().ignoreTag
4016
4012
  })
4017
- ), Ua = (e, t = {}) => {
4013
+ ), Va = (e, t = {}) => {
4018
4014
  var n, r, i, a;
4019
4015
  let o = t;
4020
4016
  typeof e == "object" && (o = e, e = o.id);
4021
4017
  const {
4022
4018
  values: l,
4023
- locale: s = De(),
4019
+ locale: s = Re(),
4024
4020
  default: u
4025
4021
  } = o;
4026
4022
  if (s == null)
@@ -4029,7 +4025,7 @@ const pt = (e, t) => {
4029
4025
  );
4030
4026
  let h = Or(e, s);
4031
4027
  if (!h)
4032
- h = (a = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4028
+ h = (a = (i = (r = (n = qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4033
4029
  else if (typeof h != "string")
4034
4030
  return console.warn(
4035
4031
  `[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.`
@@ -4038,7 +4034,7 @@ const pt = (e, t) => {
4038
4034
  return h;
4039
4035
  let f = h;
4040
4036
  try {
4041
- f = Va(h, s).format(l);
4037
+ f = Fa(h, s).format(l);
4042
4038
  } catch (c) {
4043
4039
  c instanceof Error && console.warn(
4044
4040
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4046,23 +4042,23 @@ const pt = (e, t) => {
4046
4042
  );
4047
4043
  }
4048
4044
  return f;
4049
- }, Ga = (e, t) => Fa(t).format(e), $a = (e, t) => Ma(t).format(e), ja = (e, t) => ka(t).format(e), Wa = (e, t = De()) => Or(e, t), Xa = Qe([Le, Ye], () => Ua);
4050
- Qe([Le], () => Ga);
4051
- Qe([Le], () => $a);
4052
- Qe([Le], () => ja);
4053
- Qe([Le, Ye], () => Wa);
4054
- function za({ withLocale: e, translations: t }) {
4055
- Le.subscribe((n) => {
4056
- n == null && (Ye.set(t), Le.set(e));
4045
+ }, Ua = (e, t) => Ma(t).format(e), Ga = (e, t) => ka(t).format(e), $a = (e, t) => Da(t).format(e), ja = (e, t = Re()) => Or(e, t), Wa = Ke([Ie, Qe], () => Va);
4046
+ Ke([Ie], () => Ua);
4047
+ Ke([Ie], () => Ga);
4048
+ Ke([Ie], () => $a);
4049
+ Ke([Ie, Qe], () => ja);
4050
+ function Xa({ withLocale: e, translations: t }) {
4051
+ Ie.subscribe((n) => {
4052
+ n == null && (Qe.set(t), Ie.set(e));
4057
4053
  });
4058
4054
  }
4059
4055
  function qn(e, t) {
4060
4056
  Dr(e, t);
4061
4057
  }
4062
- function Za(e) {
4063
- Le.set(e);
4058
+ function za(e) {
4059
+ Ie.set(e);
4064
4060
  }
4065
- const R = Gr(Xa), Kn = {
4061
+ const D = Gr(Wa), Kn = {
4066
4062
  en: {
4067
4063
  vaultExchange: "Vault Exchange",
4068
4064
  debitPlaceHolder: "Debit amount",
@@ -4171,7 +4167,7 @@ const R = Gr(Xa), Kn = {
4171
4167
  10114: "Kullanıcı hesabı aktif değil.",
4172
4168
  10115: "İşlem niyeti bulunamadı."
4173
4169
  }
4174
- }, qa = {
4170
+ }, Za = {
4175
4171
  "1INCH": "",
4176
4172
  AAVE: "",
4177
4173
  ADA: "₳",
@@ -4447,40 +4443,42 @@ const R = Gr(Xa), Kn = {
4447
4443
  ZMK: "",
4448
4444
  ZMW: "",
4449
4445
  ZWD: "Z$"
4450
- }, Ka = 6e3, Qa = {
4446
+ }, qa = 6e3, Ka = {
4451
4447
  InvalidSession: "Invalid session"
4452
4448
  }, Z = {
4453
4449
  BalanceError: "BalanceError",
4454
4450
  CheckWalletExchangeError: "CheckWalletExchangeError",
4455
4451
  WalletExchangeError: "WalletExchangeError",
4452
+ ExchangeSuccess: "ExchangeSuccess",
4456
4453
  CurrenciesError: "CurrenciesError"
4457
4454
  }, Qn = {
4458
4455
  ResetVaultWidget: "ResetVaultWidget",
4459
4456
  CloseVaultWidget: "CloseVaultWidget"
4460
- }, Jt = {
4457
+ }, Qt = {
4461
4458
  VaultWidgetReset: "VaultWidgetReset",
4462
4459
  VaultWidgetClosed: "VaultWidgetClosed",
4463
4460
  VaultDropdownToggled: "VaultDropdownToggled"
4464
4461
  }, Yn = {
4465
4462
  Real: "Real",
4466
4463
  Vault: "Vault"
4467
- }, Se = {
4464
+ }, Te = {
4468
4465
  success: "success",
4469
4466
  error: "error"
4470
- }, en = String(Number.MAX_SAFE_INTEGER).length + 1, At = {
4467
+ }, Yt = String(Number.MAX_SAFE_INTEGER).length + 1, wt = {
4471
4468
  ArrowDown: "ArrowDown",
4472
4469
  ArrowUp: "ArrowUp",
4473
4470
  Enter: "Enter",
4474
4471
  Escape: "Escape"
4475
- }, Be = {
4476
- true: "true"
4472
+ }, Se = {
4473
+ true: "true",
4474
+ false: "false"
4477
4475
  }, Jn = {
4478
4476
  Fiat: "Fiat",
4479
4477
  CryptoCurrency: "CryptoCurrency"
4480
- }, Ya = {
4478
+ }, Qa = {
4481
4479
  Credit: "Credit"
4482
4480
  };
4483
- function Ja(e, t) {
4481
+ function Ya(e, t) {
4484
4482
  let n;
4485
4483
  return function(...r) {
4486
4484
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4495,7 +4493,7 @@ const er = (e, t = null, n = 2) => {
4495
4493
  return console.warn("Failed to stringify:", r), null;
4496
4494
  }
4497
4495
  };
4498
- function eo(e) {
4496
+ function Ja(e) {
4499
4497
  const t = (n) => {
4500
4498
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4501
4499
  };
@@ -4505,8 +4503,8 @@ function eo(e) {
4505
4503
  }
4506
4504
  };
4507
4505
  }
4508
- function to(e) {
4509
- En(e, "svelte-1g9pqha", ".selectWrapper.svelte-1g9pqha.svelte-1g9pqha{position:relative;min-width:96px;font-family:inherit;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px)}.selectButton.svelte-1g9pqha.svelte-1g9pqha{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;display:flex;align-items:center;justify-content:space-between;color:var(--emw--select-typography, #595959);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));padding:0 var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px);font-family:inherit}.selectButton.svelte-1g9pqha.svelte-1g9pqha:focus-visible{outline:none}.label.svelte-1g9pqha.svelte-1g9pqha{display:flex;align-items:center}.selectDropdownWrapper.svelte-1g9pqha.svelte-1g9pqha{position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;z-index:100;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px)}.selectDropdown.svelte-1g9pqha.svelte-1g9pqha{display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha{height:24px;flex:0 0 24px;display:flex;align-items:center;;;padding:0 var(--emw--spacing-small, 10px);cursor:pointer;transition:all 0.3s ease}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha:hover,.selectDropdown.svelte-1g9pqha li.active.svelte-1g9pqha{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-1g9pqha.svelte-1g9pqha{display:inline-flex;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw--symbol-background, #595959);font-size:var(--emw--font-size-small, 12px);color:var(--emw--symbol-typography, #fff)}");
4506
+ function eo(e) {
4507
+ bn(e, "svelte-1g9pqha", ".selectWrapper.svelte-1g9pqha.svelte-1g9pqha{position:relative;min-width:96px;font-family:inherit;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px)}.selectButton.svelte-1g9pqha.svelte-1g9pqha{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;display:flex;align-items:center;justify-content:space-between;color:var(--emw--select-typography, #595959);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));padding:0 var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px);font-family:inherit}.selectButton.svelte-1g9pqha.svelte-1g9pqha:focus-visible{outline:none}.label.svelte-1g9pqha.svelte-1g9pqha{display:flex;align-items:center}.selectDropdownWrapper.svelte-1g9pqha.svelte-1g9pqha{position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;z-index:100;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px)}.selectDropdown.svelte-1g9pqha.svelte-1g9pqha{display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha{height:24px;flex:0 0 24px;display:flex;align-items:center;;;padding:0 var(--emw--spacing-small, 10px);cursor:pointer;transition:all 0.3s ease}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha:hover,.selectDropdown.svelte-1g9pqha li.active.svelte-1g9pqha{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-1g9pqha.svelte-1g9pqha{display:inline-flex;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw--symbol-background, #595959);font-size:var(--emw--font-size-small, 12px);color:var(--emw--symbol-typography, #fff)}");
4510
4508
  }
4511
4509
  function tr(e, t, n) {
4512
4510
  const r = e.slice();
@@ -4535,7 +4533,7 @@ function nr(e) {
4535
4533
  };
4536
4534
  }
4537
4535
  function rr(e) {
4538
- let t, n, r = It(
4536
+ let t, n, r = Ht(
4539
4537
  /*options*/
4540
4538
  e[1]
4541
4539
  ), i = [];
@@ -4557,7 +4555,7 @@ function rr(e) {
4557
4555
  p(a, o) {
4558
4556
  if (o & /*options, selected, activeIndex, handleChange*/
4559
4557
  547) {
4560
- r = It(
4558
+ r = Ht(
4561
4559
  /*options*/
4562
4560
  a[1]
4563
4561
  );
@@ -4586,7 +4584,7 @@ function ir(e) {
4586
4584
  ), l, s, u, h, f;
4587
4585
  return {
4588
4586
  c() {
4589
- t = w("li"), n = w("span"), i = z(r), a = I(), l = z(o), s = I(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4587
+ t = w("li"), n = w("span"), i = z(r), a = L(), l = z(o), s = L(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4590
4588
  e[16]?.currency === /*selected*/
4591
4589
  e[0]?.currency || /*index*/
4592
4590
  e[18] === /*activeIndex*/
@@ -4602,9 +4600,9 @@ function ir(e) {
4602
4600
  },
4603
4601
  m(c, g) {
4604
4602
  T(c, t, g), v(t, n), v(n, i), v(t, a), v(t, l), v(t, s), h || (f = [
4605
- re(t, "keydown", ro),
4603
+ re(t, "keydown", no),
4606
4604
  re(t, "click", function() {
4607
- gt(
4605
+ pt(
4608
4606
  /*handleChange*/
4609
4607
  e[9](
4610
4608
  /*option*/
@@ -4643,11 +4641,11 @@ function ir(e) {
4643
4641
  );
4644
4642
  },
4645
4643
  d(c) {
4646
- c && A(t), h = !1, xe(f);
4644
+ c && A(t), h = !1, _e(f);
4647
4645
  }
4648
4646
  };
4649
4647
  }
4650
- function no(e) {
4648
+ function to(e) {
4651
4649
  let t, n, r, i, a = (
4652
4650
  /*selected*/
4653
4651
  (e[0]?.currency || /*placeholder*/
@@ -4655,14 +4653,14 @@ function no(e) {
4655
4653
  ), o, l, s, u, h, f, c = (
4656
4654
  /*selected*/
4657
4655
  e[0]?.symbol && /*withSymbol*/
4658
- e[3] === Be.true && nr(e)
4656
+ e[3] === Se.true && nr(e)
4659
4657
  ), g = (
4660
4658
  /*open*/
4661
4659
  e[7] && rr(e)
4662
4660
  );
4663
4661
  return {
4664
4662
  c() {
4665
- t = w("div"), n = w("button"), r = w("span"), c && c.c(), i = I(), o = z(a), l = I(), s = w("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = I(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4663
+ t = w("div"), n = w("button"), r = w("span"), c && c.c(), i = L(), o = z(a), l = L(), s = w("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = L(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4666
4664
  s,
4667
4665
  "open",
4668
4666
  /*open*/
@@ -4687,7 +4685,7 @@ function no(e) {
4687
4685
  /*handleToggleDropdown*/
4688
4686
  e[8]
4689
4687
  )),
4690
- $r(eo.call(null, t)),
4688
+ $r(Ja.call(null, t)),
4691
4689
  re(
4692
4690
  t,
4693
4691
  "outclick",
@@ -4699,7 +4697,7 @@ function no(e) {
4699
4697
  p(b, [y]) {
4700
4698
  /*selected*/
4701
4699
  b[0]?.symbol && /*withSymbol*/
4702
- b[3] === Be.true ? c ? c.p(b, y) : (c = nr(b), c.c(), c.m(r, i)) : c && (c.d(1), c = null), y & /*selected, placeholder*/
4700
+ b[3] === Se.true ? c ? c.p(b, y) : (c = nr(b), c.c(), c.m(r, i)) : c && (c.d(1), c = null), y & /*selected, placeholder*/
4703
4701
  5 && a !== (a = /*selected*/
4704
4702
  (b[0]?.currency || /*placeholder*/
4705
4703
  b[2]) + "") && ie(o, a), y & /*open*/
@@ -4722,13 +4720,13 @@ function no(e) {
4722
4720
  i: B,
4723
4721
  o: B,
4724
4722
  d(b) {
4725
- b && A(t), c && c.d(), g && g.d(), h = !1, xe(f);
4723
+ b && A(t), c && c.d(), g && g.d(), h = !1, _e(f);
4726
4724
  }
4727
4725
  };
4728
4726
  }
4729
- const ro = (e) => e.preventDefault();
4730
- function io(e, t, n) {
4731
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = R("select") } = t, { withSymbol: o = "true" } = t, { id: l } = t, { disabled: s = !1 } = t, { onChange: u = () => {
4727
+ const no = (e) => e.preventDefault();
4728
+ function ro(e, t, n) {
4729
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = D("select") } = t, { withSymbol: o = "true" } = t, { id: l } = t, { disabled: s = !1 } = t, { onChange: u = () => {
4732
4730
  } } = t, h = -1, f, c = !1;
4733
4731
  const g = () => {
4734
4732
  r.length !== 0 && (n(7, c = !c), c && (n(5, h = r.findIndex((E) => E?.currency === i?.currency)), setTimeout(() => f?.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: l }))));
@@ -4736,18 +4734,18 @@ function io(e, t, n) {
4736
4734
  E.detail !== l && c && n(7, c = !1);
4737
4735
  }, y = (E, j) => () => {
4738
4736
  n(7, c = !1), n(0, i = E), u && typeof u == "function" && u(E, j);
4739
- }, N = () => {
4737
+ }, P = () => {
4740
4738
  n(7, c = !1);
4741
- }, P = (E) => {
4742
- c && (E.key === At.ArrowDown ? (E.preventDefault(), n(5, h = (h + 1) % r.length)) : E.key === At.ArrowUp ? (E.preventDefault(), n(5, h = (h - 1 + r.length) % r.length)) : E.key === At.Enter ? (E.preventDefault(), y(i, h)()) : E.key === At.Escape && n(7, c = !1));
4739
+ }, O = (E) => {
4740
+ c && (E.key === wt.ArrowDown ? (E.preventDefault(), n(5, h = (h + 1) % r.length)) : E.key === wt.ArrowUp ? (E.preventDefault(), n(5, h = (h - 1 + r.length) % r.length)) : E.key === wt.Enter ? (E.preventDefault(), y(i, h)()) : E.key === wt.Escape && n(7, c = !1));
4743
4741
  };
4744
4742
  gr(() => {
4745
4743
  window.addEventListener("dropdown-opened", b);
4746
4744
  }), Kr(() => {
4747
4745
  window.removeEventListener("dropdown-opened", b);
4748
4746
  });
4749
- function O(E) {
4750
- je[E ? "unshift" : "push"](() => {
4747
+ function R(E) {
4748
+ $e[E ? "unshift" : "push"](() => {
4751
4749
  f = E, n(6, f);
4752
4750
  });
4753
4751
  }
@@ -4764,21 +4762,21 @@ function io(e, t, n) {
4764
4762
  c,
4765
4763
  g,
4766
4764
  y,
4767
- N,
4768
4765
  P,
4766
+ O,
4769
4767
  l,
4770
4768
  u,
4771
- O
4769
+ R
4772
4770
  ];
4773
4771
  }
4774
- class vn extends wn {
4772
+ class yn extends _n {
4775
4773
  constructor(t) {
4776
- super(), _n(
4774
+ super(), vn(
4777
4775
  this,
4778
4776
  t,
4779
- io,
4780
- no,
4781
- Rt,
4777
+ ro,
4778
+ to,
4779
+ Pt,
4782
4780
  {
4783
4781
  options: 1,
4784
4782
  selected: 0,
@@ -4788,7 +4786,7 @@ class vn extends wn {
4788
4786
  disabled: 4,
4789
4787
  onChange: 13
4790
4788
  },
4791
- to
4789
+ eo
4792
4790
  );
4793
4791
  }
4794
4792
  get options() {
@@ -4834,15 +4832,15 @@ class vn extends wn {
4834
4832
  this.$$set({ onChange: t }), G();
4835
4833
  }
4836
4834
  }
4837
- xn(vn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4838
- function ao(e) {
4839
- En(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4835
+ En(yn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4836
+ function io(e) {
4837
+ bn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4840
4838
  }
4841
- function oo(e) {
4842
- let t, n, r = R("balanceUnavailable") + "", i;
4839
+ function ao(e) {
4840
+ let t, n, r = D("balanceUnavailable") + "", i;
4843
4841
  return {
4844
4842
  c() {
4845
- t = w("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = I(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4843
+ t = w("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = L(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4846
4844
  },
4847
4845
  m(a, o) {
4848
4846
  T(a, t, o), T(a, n, o), T(a, i, o);
@@ -4855,14 +4853,14 @@ function oo(e) {
4855
4853
  }
4856
4854
  };
4857
4855
  }
4858
- class Ut extends wn {
4856
+ class Ft extends _n {
4859
4857
  constructor(t) {
4860
- super(), _n(this, t, null, oo, Rt, {}, ao);
4858
+ super(), vn(this, t, null, ao, Pt, {}, io);
4861
4859
  }
4862
4860
  }
4863
- xn(Ut, {}, [], [], !0);
4864
- function so(e) {
4865
- En(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
4861
+ En(Ft, {}, [], [], !0);
4862
+ function oo(e) {
4863
+ bn(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
4866
4864
  }
4867
4865
  function ar(e, t, n) {
4868
4866
  const r = e.slice();
@@ -4890,7 +4888,7 @@ function or(e) {
4890
4888
  }
4891
4889
  function sr(e) {
4892
4890
  let t, n, r, i;
4893
- const a = [uo, lo], o = [];
4891
+ const a = [lo, so], o = [];
4894
4892
  function l(s, u) {
4895
4893
  return !/*isBalanceFetched*/
4896
4894
  s[16] || !/*isCurrenciesFetched*/
@@ -4905,9 +4903,9 @@ function sr(e) {
4905
4903
  },
4906
4904
  p(s, u) {
4907
4905
  let h = t;
4908
- t = l(s), t === h ? o[t].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
4906
+ t = l(s), t === h ? o[t].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
4909
4907
  o[h] = null;
4910
- }), Re(), n = o[t], n ? n.p(s, u) : (n = o[t] = a[t](s), n.c()), $(n, 1), n.m(r.parentNode, r));
4908
+ }), Oe(), n = o[t], n ? n.p(s, u) : (n = o[t] = a[t](s), n.c()), $(n, 1), n.m(r.parentNode, r));
4911
4909
  },
4912
4910
  i(s) {
4913
4911
  i || ($(n), i = !0);
@@ -4920,9 +4918,9 @@ function sr(e) {
4920
4918
  }
4921
4919
  };
4922
4920
  }
4923
- function lo(e) {
4921
+ function so(e) {
4924
4922
  let t, n, r, i;
4925
- const a = [ho, co], o = [];
4923
+ const a = [co, uo], o = [];
4926
4924
  function l(s, u) {
4927
4925
  return (
4928
4926
  /*fetchResponse*/
@@ -4938,9 +4936,9 @@ function lo(e) {
4938
4936
  },
4939
4937
  p(s, u) {
4940
4938
  let h = n;
4941
- n = l(s), n === h ? o[n].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
4939
+ n = l(s), n === h ? o[n].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
4942
4940
  o[h] = null;
4943
- }), Re(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
4941
+ }), Oe(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
4944
4942
  },
4945
4943
  i(s) {
4946
4944
  i || ($(r), i = !0);
@@ -4953,7 +4951,7 @@ function lo(e) {
4953
4951
  }
4954
4952
  };
4955
4953
  }
4956
- function uo(e) {
4954
+ function lo(e) {
4957
4955
  let t;
4958
4956
  return {
4959
4957
  c() {
@@ -4970,7 +4968,7 @@ function uo(e) {
4970
4968
  }
4971
4969
  };
4972
4970
  }
4973
- function co(e) {
4971
+ function uo(e) {
4974
4972
  let t, n, r = (
4975
4973
  /*playerBalance*/
4976
4974
  (e[10]?.amount || 0) + ""
@@ -4980,7 +4978,7 @@ function co(e) {
4980
4978
  ), l;
4981
4979
  return {
4982
4980
  c() {
4983
- t = w("span"), t.textContent = `${R("totalBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "totalAmount");
4981
+ t = w("span"), t.textContent = `${D("totalBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "totalAmount");
4984
4982
  },
4985
4983
  m(s, u) {
4986
4984
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -4999,14 +4997,14 @@ function co(e) {
4999
4997
  }
5000
4998
  };
5001
4999
  }
5002
- function ho(e) {
5000
+ function co(e) {
5003
5001
  let t, n;
5004
- return t = new Ut({}), {
5002
+ return t = new Ft({}), {
5005
5003
  c() {
5006
- ct(t.$$.fragment);
5004
+ ut(t.$$.fragment);
5007
5005
  },
5008
5006
  m(r, i) {
5009
- We(t, r, i), n = !0;
5007
+ je(t, r, i), n = !0;
5010
5008
  },
5011
5009
  p: B,
5012
5010
  i(r) {
@@ -5016,13 +5014,13 @@ function ho(e) {
5016
5014
  X(t.$$.fragment, r), n = !1;
5017
5015
  },
5018
5016
  d(r) {
5019
- Xe(t, r);
5017
+ We(t, r);
5020
5018
  }
5021
5019
  };
5022
5020
  }
5023
- function fo(e) {
5021
+ function ho(e) {
5024
5022
  let t, n, r, i, a, o, l, s, u;
5025
- const h = [mo, go], f = [];
5023
+ const h = [go, po], f = [];
5026
5024
  function c(g, b) {
5027
5025
  return (
5028
5026
  /*fetchResponse*/
@@ -5034,7 +5032,7 @@ function fo(e) {
5034
5032
  t = w("div"), n = w("p"), r = z(
5035
5033
  /*validationError*/
5036
5034
  e[13]
5037
- ), i = I(), a = w("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5035
+ ), i = L(), a = w("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5038
5036
  (e[13] ? "hasError" : ""));
5039
5037
  },
5040
5038
  m(g, b) {
@@ -5048,9 +5046,9 @@ function fo(e) {
5048
5046
  g[13]
5049
5047
  );
5050
5048
  let y = o;
5051
- o = c(g), o === y ? f[o].p(g, b) : (Oe(), X(f[y], 1, 1, () => {
5049
+ o = c(g), o === y ? f[o].p(g, b) : (Pe(), X(f[y], 1, 1, () => {
5052
5050
  f[y] = null;
5053
- }), Re(), l = f[o], l ? l.p(g, b) : (l = f[o] = h[o](g), l.c()), $(l, 1), l.m(a, null)), (!u || b[0] & /*validationError*/
5051
+ }), Oe(), l = f[o], l ? l.p(g, b) : (l = f[o] = h[o](g), l.c()), $(l, 1), l.m(a, null)), (!u || b[0] & /*validationError*/
5054
5052
  8192 && s !== (s = "balanceContainer " + /*validationError*/
5055
5053
  (g[13] ? "hasError" : ""))) && m(t, "class", s);
5056
5054
  },
@@ -5065,7 +5063,7 @@ function fo(e) {
5065
5063
  }
5066
5064
  };
5067
5065
  }
5068
- function po(e) {
5066
+ function fo(e) {
5069
5067
  let t;
5070
5068
  return {
5071
5069
  c() {
@@ -5082,7 +5080,7 @@ function po(e) {
5082
5080
  }
5083
5081
  };
5084
5082
  }
5085
- function go(e) {
5083
+ function po(e) {
5086
5084
  let t, n, r = (
5087
5085
  /*selectedCurrencyFrom*/
5088
5086
  (e[5]?.amount || 0) + ""
@@ -5092,7 +5090,7 @@ function go(e) {
5092
5090
  ), l;
5093
5091
  return {
5094
5092
  c() {
5095
- t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5093
+ t = w("span"), t.textContent = `${D("currentBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "amount");
5096
5094
  },
5097
5095
  m(s, u) {
5098
5096
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5111,14 +5109,14 @@ function go(e) {
5111
5109
  }
5112
5110
  };
5113
5111
  }
5114
- function mo(e) {
5112
+ function go(e) {
5115
5113
  let t, n;
5116
- return t = new Ut({}), {
5114
+ return t = new Ft({}), {
5117
5115
  c() {
5118
- ct(t.$$.fragment);
5116
+ ut(t.$$.fragment);
5119
5117
  },
5120
5118
  m(r, i) {
5121
- We(t, r, i), n = !0;
5119
+ je(t, r, i), n = !0;
5122
5120
  },
5123
5121
  p: B,
5124
5122
  i(r) {
@@ -5128,13 +5126,13 @@ function mo(e) {
5128
5126
  X(t.$$.fragment, r), n = !1;
5129
5127
  },
5130
5128
  d(r) {
5131
- Xe(t, r);
5129
+ We(t, r);
5132
5130
  }
5133
5131
  };
5134
5132
  }
5135
- function yo(e) {
5133
+ function mo(e) {
5136
5134
  let t, n, r, i;
5137
- const a = [Eo, vo], o = [];
5135
+ const a = [vo, bo], o = [];
5138
5136
  function l(s, u) {
5139
5137
  return (
5140
5138
  /*fetchResponse*/
@@ -5150,9 +5148,9 @@ function yo(e) {
5150
5148
  },
5151
5149
  p(s, u) {
5152
5150
  let h = n;
5153
- n = l(s), n === h ? o[n].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
5151
+ n = l(s), n === h ? o[n].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
5154
5152
  o[h] = null;
5155
- }), Re(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
5153
+ }), Oe(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
5156
5154
  },
5157
5155
  i(s) {
5158
5156
  i || ($(r), i = !0);
@@ -5165,7 +5163,7 @@ function yo(e) {
5165
5163
  }
5166
5164
  };
5167
5165
  }
5168
- function bo(e) {
5166
+ function yo(e) {
5169
5167
  let t;
5170
5168
  return {
5171
5169
  c() {
@@ -5182,7 +5180,7 @@ function bo(e) {
5182
5180
  }
5183
5181
  };
5184
5182
  }
5185
- function vo(e) {
5183
+ function bo(e) {
5186
5184
  let t, n, r = (
5187
5185
  /*selectedCurrencyTo*/
5188
5186
  (e[6]?.amount || 0) + ""
@@ -5192,7 +5190,7 @@ function vo(e) {
5192
5190
  ), l;
5193
5191
  return {
5194
5192
  c() {
5195
- t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5193
+ t = w("span"), t.textContent = `${D("currentBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "amount");
5196
5194
  },
5197
5195
  m(s, u) {
5198
5196
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5211,14 +5209,14 @@ function vo(e) {
5211
5209
  }
5212
5210
  };
5213
5211
  }
5214
- function Eo(e) {
5212
+ function vo(e) {
5215
5213
  let t, n;
5216
- return t = new Ut({}), {
5214
+ return t = new Ft({}), {
5217
5215
  c() {
5218
- ct(t.$$.fragment);
5216
+ ut(t.$$.fragment);
5219
5217
  },
5220
5218
  m(r, i) {
5221
- We(t, r, i), n = !0;
5219
+ je(t, r, i), n = !0;
5222
5220
  },
5223
5221
  p: B,
5224
5222
  i(r) {
@@ -5228,12 +5226,12 @@ function Eo(e) {
5228
5226
  X(t.$$.fragment, r), n = !1;
5229
5227
  },
5230
5228
  d(r) {
5231
- Xe(t, r);
5229
+ We(t, r);
5232
5230
  }
5233
5231
  };
5234
5232
  }
5235
5233
  function lr(e) {
5236
- let t, n, r, i, a, o, l, s, u, h, f = It(
5234
+ let t, n, r, i, a, o, l, s, u, h, f = Ht(
5237
5235
  /*dropDownVaults*/
5238
5236
  e[19]
5239
5237
  ), c = [];
@@ -5241,7 +5239,7 @@ function lr(e) {
5241
5239
  c[g] = ur(ar(e, f, g));
5242
5240
  return {
5243
5241
  c() {
5244
- t = w("div"), n = w("button"), r = Bn("svg"), i = Bn("path"), o = I(), l = w("div");
5242
+ t = w("div"), n = w("button"), r = Bn("svg"), i = Bn("path"), o = L(), l = w("div");
5245
5243
  for (let g = 0; g < c.length; g += 1)
5246
5244
  c[g].c();
5247
5245
  m(i, "d", "M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z"), m(i, "fill", "currentColor"), m(r, "class", "vaultToggleIcon"), m(r, "width", "12"), m(r, "height", "7"), m(r, "viewBox", "0 0 12 7"), m(r, "fill", "currentColor"), m(r, "xmlns", "http://www.w3.org/2000/svg"), m(n, "type", "button"), m(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
@@ -5267,14 +5265,14 @@ function lr(e) {
5267
5265
  (g[15] && /*dropDownVaults*/
5268
5266
  g[19].length > 0 ? "active" : "")) && m(n, "class", a), b[0] & /*dropDownVaults*/
5269
5267
  524288) {
5270
- f = It(
5268
+ f = Ht(
5271
5269
  /*dropDownVaults*/
5272
5270
  g[19]
5273
5271
  );
5274
5272
  let y;
5275
5273
  for (y = 0; y < f.length; y += 1) {
5276
- const N = ar(g, f, y);
5277
- c[y] ? c[y].p(N, b) : (c[y] = ur(N), c[y].c(), c[y].m(l, null));
5274
+ const P = ar(g, f, y);
5275
+ c[y] ? c[y].p(P, b) : (c[y] = ur(P), c[y].c(), c[y].m(l, null));
5278
5276
  }
5279
5277
  for (; y < c.length; y += 1)
5280
5278
  c[y].d(1);
@@ -5300,7 +5298,7 @@ function ur(e) {
5300
5298
  ), s, u;
5301
5299
  return {
5302
5300
  c() {
5303
- t = w("div"), n = w("p"), i = z(r), a = I(), o = w("p"), s = z(l), u = I(), m(t, "class", "vaultItem");
5301
+ t = w("div"), n = w("p"), i = z(r), a = L(), o = w("p"), s = z(l), u = L(), m(t, "class", "vaultItem");
5304
5302
  },
5305
5303
  m(h, f) {
5306
5304
  T(h, t, f), v(t, n), v(n, i), v(t, a), v(t, o), v(o, s), v(t, u);
@@ -5317,7 +5315,7 @@ function ur(e) {
5317
5315
  }
5318
5316
  };
5319
5317
  }
5320
- function _o(e) {
5318
+ function Eo(e) {
5321
5319
  let t = `${/*currentFee*/
5322
5320
  e[11]?.fees[0]?.amount || 0} ${/*currentFee*/
5323
5321
  e[11]?.fees[0]?.currency || ""}`, n;
@@ -5339,8 +5337,8 @@ function _o(e) {
5339
5337
  }
5340
5338
  };
5341
5339
  }
5342
- function xo(e) {
5343
- let t = R("feesUnavailable") + "", n;
5340
+ function _o(e) {
5341
+ let t = D("feesUnavailable") + "", n;
5344
5342
  return {
5345
5343
  c() {
5346
5344
  n = z(t);
@@ -5354,21 +5352,21 @@ function xo(e) {
5354
5352
  }
5355
5353
  };
5356
5354
  }
5357
- function wo(e) {
5358
- let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, N, P, O, E, j, k, K, de, ae, W, ue, me, se, ce, we, Q, ee, he, et, Ae, ke, dt, Me, tt, oe, ye = R(
5355
+ function xo(e) {
5356
+ let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, P, O, R, E, j, M, K, ge, ae, W, ue, de, se, ce, xe, Q, ee, he, Je, we, De, gt, ke, et, oe, me = D(
5359
5357
  /*fetchResponse*/
5360
5358
  e[12]?.message || ""
5361
- ) + "", Ce, be, ve, Fe, te, Te = R("exchange") + "", mt, Ee, ne, nt, rt, Y = (
5359
+ ) + "", Ae, ye, be, Me, te, Ce = D("exchange") + "", dt, ve, ne, tt, nt, Y = (
5362
5360
  /*showclosebutton*/
5363
- e[3] === Be.true && or(e)
5361
+ e[3] === Se.true && or(e)
5364
5362
  ), U = (
5365
5363
  /*showtotalbalance*/
5366
- e[2] === Be.true && sr(e)
5364
+ e[2] === Se.true && sr(e)
5367
5365
  );
5368
- function Gt(d) {
5366
+ function Vt(d) {
5369
5367
  e[39](d);
5370
5368
  }
5371
- let yt = {
5369
+ let mt = {
5372
5370
  id: "senderSelect",
5373
5371
  withSymbol: (
5374
5372
  /*showcurrencysymbol*/
@@ -5387,19 +5385,19 @@ function wo(e) {
5387
5385
  )
5388
5386
  };
5389
5387
  /*selectedCurrencyFrom*/
5390
- e[5] !== void 0 && (yt.selected = /*selectedCurrencyFrom*/
5391
- e[5]), y = new vn({ props: yt }), je.push(() => In(y, "selected", Gt));
5392
- const bt = [po, fo], fe = [];
5393
- function it(d, C) {
5388
+ e[5] !== void 0 && (mt.selected = /*selectedCurrencyFrom*/
5389
+ e[5]), y = new yn({ props: mt }), $e.push(() => In(y, "selected", Vt));
5390
+ const yt = [fo, ho], fe = [];
5391
+ function rt(d, C) {
5394
5392
  return !/*isBalanceFetched*/
5395
5393
  d[16] || !/*isCurrenciesFetched*/
5396
5394
  d[17] ? 0 : 1;
5397
5395
  }
5398
- O = it(e), E = fe[O] = bt[O](e);
5399
- function $t(d) {
5396
+ R = rt(e), E = fe[R] = yt[R](e);
5397
+ function Ut(d) {
5400
5398
  e[41](d);
5401
5399
  }
5402
- let vt = {
5400
+ let bt = {
5403
5401
  id: "destinationSelect",
5404
5402
  withSymbol: (
5405
5403
  /*showcurrencysymbol*/
@@ -5420,35 +5418,35 @@ function wo(e) {
5420
5418
  )
5421
5419
  };
5422
5420
  /*selectedCurrencyTo*/
5423
- e[6] !== void 0 && (vt.selected = /*selectedCurrencyTo*/
5424
- e[6]), se = new vn({ props: vt }), je.push(() => In(se, "selected", $t));
5425
- const Et = [bo, yo], pe = [];
5426
- function _t(d, C) {
5421
+ e[6] !== void 0 && (bt.selected = /*selectedCurrencyTo*/
5422
+ e[6]), se = new yn({ props: bt }), $e.push(() => In(se, "selected", Ut));
5423
+ const vt = [yo, mo], pe = [];
5424
+ function Et(d, C) {
5427
5425
  return !/*isBalanceFetched*/
5428
5426
  d[16] || !/*isCurrenciesFetched*/
5429
5427
  d[17] ? 0 : 1;
5430
5428
  }
5431
- Q = _t(e), ee = pe[Q] = Et[Q](e);
5429
+ Q = Et(e), ee = pe[Q] = vt[Q](e);
5432
5430
  let p = (
5433
5431
  /*showvaults*/
5434
- e[1] === Be.true && lr(e)
5432
+ e[1] === Se.true && lr(e)
5435
5433
  );
5436
5434
  function _(d, C) {
5437
5435
  return (
5438
5436
  /*fetchResponse*/
5439
- d[12]?.source === Z.CheckWalletExchangeError ? xo : _o
5437
+ d[12]?.source === Z.CheckWalletExchangeError ? _o : Eo
5440
5438
  );
5441
5439
  }
5442
- let L = _(e), x = L(e);
5440
+ let N = _(e), x = N(e);
5443
5441
  return {
5444
5442
  c() {
5445
- t = w("div"), Y && Y.c(), n = I(), r = w("div"), i = w("h1"), i.textContent = `${R("vaultExchange")}`, a = I(), U && U.c(), o = I(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${R("exchangeFrom")}`, h = I(), f = w("div"), c = w("input"), b = I(), ct(y.$$.fragment), P = I(), E.c(), j = I(), k = w("div"), K = w("p"), K.textContent = `${R("exchangeTo")}`, de = I(), ae = w("div"), W = w("input"), me = I(), ct(se.$$.fragment), we = I(), ee.c(), he = I(), p && p.c(), et = I(), Ae = w("div"), ke = w("span"), ke.textContent = `${R("feesIncluded")}`, dt = I(), Me = w("span"), x.c(), tt = I(), oe = w("div"), Ce = I(), be = w("div"), ve = w("button"), ve.textContent = `${R("reset")}`, Fe = I(), te = w("button"), mt = z(Te), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5443
+ t = w("div"), Y && Y.c(), n = L(), r = w("div"), i = w("h1"), i.textContent = `${D("vaultExchange")}`, a = L(), U && U.c(), o = L(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${D("exchangeFrom")}`, h = L(), f = w("div"), c = w("input"), b = L(), ut(y.$$.fragment), O = L(), E.c(), j = L(), M = w("div"), K = w("p"), K.textContent = `${D("exchangeTo")}`, ge = L(), ae = w("div"), W = w("input"), de = L(), ut(se.$$.fragment), xe = L(), ee.c(), he = L(), p && p.c(), Je = L(), we = w("div"), De = w("span"), De.textContent = `${D("feesIncluded")}`, gt = L(), ke = w("span"), x.c(), et = L(), oe = w("div"), Ae = L(), ye = w("div"), be = w("button"), be.textContent = `${D("reset")}`, Me = L(), te = w("button"), dt = z(Ce), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5446
5444
  e[0] || !/*isBalanceFetched*/
5447
5445
  e[16] || !/*isCurrenciesFetched*/
5448
- e[17], m(c, "placeholder", R("debitPlaceHolder")), m(c, "class", "exchangeInput"), m(c, "type", "number"), m(c, "aria-label", "Enter exchange amount"), m(c, "inputmode", "decimal"), m(c, "step", "0.000000000000001"), m(c, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(K, "class", "exchangeHeader"), m(W, "id", "destinationInput"), W.disabled = ue = !/*session*/
5446
+ e[17], m(c, "placeholder", D("debitPlaceHolder")), m(c, "class", "exchangeInput"), m(c, "type", "number"), m(c, "aria-label", "Enter exchange amount"), m(c, "inputmode", "decimal"), m(c, "step", "0.000000000000001"), m(c, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(K, "class", "exchangeHeader"), m(W, "id", "destinationInput"), W.disabled = ue = !/*session*/
5449
5447
  e[0] || !/*isBalanceFetched*/
5450
5448
  e[16] || !/*isCurrenciesFetched*/
5451
- e[17], m(W, "placeholder", R("creditPlaceHolder")), m(W, "class", "exchangeInput"), m(W, "type", "number"), W.readOnly = !0, m(W, "min", "0"), m(ae, "class", "flexingContainerRow"), m(k, "class", "containerExchangeTo exchangeContainer"), m(l, "class", "exchangesContainer"), m(ke, "class", "feesLabel"), m(Ae, "class", "feesContainer"), m(oe, "class", "notificationsContainer"), le(
5449
+ e[17], m(W, "placeholder", D("creditPlaceHolder")), m(W, "class", "exchangeInput"), m(W, "type", "number"), W.readOnly = !0, m(W, "min", "0"), m(ae, "class", "flexingContainerRow"), m(M, "class", "containerExchangeTo exchangeContainer"), m(l, "class", "exchangesContainer"), m(De, "class", "feesLabel"), m(we, "class", "feesContainer"), m(oe, "class", "notificationsContainer"), le(
5452
5450
  oe,
5453
5451
  "error",
5454
5452
  /*fetchResponse*/
@@ -5458,7 +5456,7 @@ function wo(e) {
5458
5456
  "success",
5459
5457
  /*fetchResponse*/
5460
5458
  e[12]?.type === "success"
5461
- ), m(ve, "class", "resetButton"), m(ve, "type", "button"), m(te, "type", "button"), m(te, "class", "exchangeButton"), te.disabled = Ee = /*isExchangeDisabled*/
5459
+ ), m(be, "class", "resetButton"), m(be, "type", "button"), m(te, "type", "button"), m(te, "class", "exchangeButton"), te.disabled = ve = /*isExchangeDisabled*/
5462
5460
  e[14] || /*isExchangePending*/
5463
5461
  e[18] || /*inputExchangeFrom*/
5464
5462
  e[8] === 0 && !/*selectedCurrencyFrom*/
@@ -5473,18 +5471,18 @@ function wo(e) {
5473
5471
  "pending",
5474
5472
  /*isExchangePending*/
5475
5473
  e[18]
5476
- ), m(be, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
5474
+ ), m(ye, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
5477
5475
  },
5478
5476
  m(d, C) {
5479
- T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), xt(
5477
+ T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), _t(
5480
5478
  c,
5481
5479
  /*inputExchangeFrom*/
5482
5480
  e[8]
5483
- ), v(f, b), We(y, f, null), v(s, P), fe[O].m(s, null), v(l, j), v(l, k), v(k, K), v(k, de), v(k, ae), v(ae, W), xt(
5481
+ ), v(f, b), je(y, f, null), v(s, O), fe[R].m(s, null), v(l, j), v(l, M), v(M, K), v(M, ge), v(M, ae), v(ae, W), _t(
5484
5482
  W,
5485
5483
  /*inputExchangeTo*/
5486
5484
  e[9]
5487
- ), v(ae, me), We(se, ae, null), v(k, we), pe[Q].m(k, null), v(t, he), p && p.m(t, null), v(t, et), v(t, Ae), v(Ae, ke), v(Ae, dt), v(Ae, Me), x.m(Me, null), v(t, tt), v(t, oe), oe.innerHTML = ye, v(t, Ce), v(t, be), v(be, ve), v(be, Fe), v(be, te), v(te, mt), e[42](t), ne = !0, nt || (rt = [
5485
+ ), v(ae, de), je(se, ae, null), v(M, xe), pe[Q].m(M, null), v(t, he), p && p.m(t, null), v(t, Je), v(t, we), v(we, De), v(we, gt), v(we, ke), x.m(ke, null), v(t, et), v(t, oe), oe.innerHTML = me, v(t, Ae), v(t, ye), v(ye, be), v(ye, Me), v(ye, te), v(te, dt), e[42](t), ne = !0, tt || (nt = [
5488
5486
  re(
5489
5487
  c,
5490
5488
  "input",
@@ -5516,7 +5514,7 @@ function wo(e) {
5516
5514
  e[40]
5517
5515
  ),
5518
5516
  re(
5519
- ve,
5517
+ be,
5520
5518
  "click",
5521
5519
  /*handleResetToDefault*/
5522
5520
  e[24]
@@ -5527,72 +5525,72 @@ function wo(e) {
5527
5525
  /*handleExchange*/
5528
5526
  e[29]
5529
5527
  )
5530
- ], nt = !0);
5528
+ ], tt = !0);
5531
5529
  },
5532
5530
  p(d, C) {
5533
5531
  /*showclosebutton*/
5534
- d[3] === Be.true ? Y ? Y.p(d, C) : (Y = or(d), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5535
- d[2] === Be.true ? U ? (U.p(d, C), C[0] & /*showtotalbalance*/
5536
- 4 && $(U, 1)) : (U = sr(d), U.c(), $(U, 1), U.m(r, null)) : U && (Oe(), X(U, 1, 1, () => {
5532
+ d[3] === Se.true ? Y ? Y.p(d, C) : (Y = or(d), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5533
+ d[2] === Se.true ? U ? (U.p(d, C), C[0] & /*showtotalbalance*/
5534
+ 4 && $(U, 1)) : (U = sr(d), U.c(), $(U, 1), U.m(r, null)) : U && (Pe(), X(U, 1, 1, () => {
5537
5535
  U = null;
5538
- }), Re()), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5536
+ }), Oe()), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5539
5537
  196609 && g !== (g = !/*session*/
5540
5538
  d[0] || !/*isBalanceFetched*/
5541
5539
  d[16] || !/*isCurrenciesFetched*/
5542
5540
  d[17])) && (c.disabled = g), C[0] & /*inputExchangeFrom*/
5543
- 256 && Ht(c.value) !== /*inputExchangeFrom*/
5544
- d[8] && xt(
5541
+ 256 && Bt(c.value) !== /*inputExchangeFrom*/
5542
+ d[8] && _t(
5545
5543
  c,
5546
5544
  /*inputExchangeFrom*/
5547
5545
  d[8]
5548
5546
  );
5549
- const Ne = {};
5547
+ const Le = {};
5550
5548
  C[0] & /*showcurrencysymbol*/
5551
- 16 && (Ne.withSymbol = /*showcurrencysymbol*/
5549
+ 16 && (Le.withSymbol = /*showcurrencysymbol*/
5552
5550
  d[4]), C[0] & /*isBalanceFetched, isCurrenciesFetched*/
5553
- 196608 && (Ne.disabled = !/*isBalanceFetched*/
5551
+ 196608 && (Le.disabled = !/*isBalanceFetched*/
5554
5552
  d[16] || !/*isCurrenciesFetched*/
5555
5553
  d[17]), C[0] & /*optionsFrom*/
5556
- 1048576 && (Ne.options = /*optionsFrom*/
5557
- d[20]), !N && C[0] & /*selectedCurrencyFrom*/
5558
- 32 && (N = !0, Ne.selected = /*selectedCurrencyFrom*/
5559
- d[5], Hn(() => N = !1)), y.$set(Ne);
5560
- let at = O;
5561
- O = it(d), O === at ? fe[O].p(d, C) : (Oe(), X(fe[at], 1, 1, () => {
5562
- fe[at] = null;
5563
- }), Re(), E = fe[O], E ? E.p(d, C) : (E = fe[O] = bt[O](d), E.c()), $(E, 1), E.m(s, null)), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5554
+ 1048576 && (Le.options = /*optionsFrom*/
5555
+ d[20]), !P && C[0] & /*selectedCurrencyFrom*/
5556
+ 32 && (P = !0, Le.selected = /*selectedCurrencyFrom*/
5557
+ d[5], Hn(() => P = !1)), y.$set(Le);
5558
+ let it = R;
5559
+ R = rt(d), R === it ? fe[R].p(d, C) : (Pe(), X(fe[it], 1, 1, () => {
5560
+ fe[it] = null;
5561
+ }), Oe(), E = fe[R], E ? E.p(d, C) : (E = fe[R] = yt[R](d), E.c()), $(E, 1), E.m(s, null)), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5564
5562
  196609 && ue !== (ue = !/*session*/
5565
5563
  d[0] || !/*isBalanceFetched*/
5566
5564
  d[16] || !/*isCurrenciesFetched*/
5567
5565
  d[17])) && (W.disabled = ue), C[0] & /*inputExchangeTo*/
5568
- 512 && Ht(W.value) !== /*inputExchangeTo*/
5569
- d[9] && xt(
5566
+ 512 && Bt(W.value) !== /*inputExchangeTo*/
5567
+ d[9] && _t(
5570
5568
  W,
5571
5569
  /*inputExchangeTo*/
5572
5570
  d[9]
5573
5571
  );
5574
- const M = {};
5572
+ const F = {};
5575
5573
  C[0] & /*showcurrencysymbol*/
5576
- 16 && (M.withSymbol = /*showcurrencysymbol*/
5574
+ 16 && (F.withSymbol = /*showcurrencysymbol*/
5577
5575
  d[4]), C[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
5578
- 204801 && (M.disabled = !/*session*/
5576
+ 204801 && (F.disabled = !/*session*/
5579
5577
  d[0] || !!/*validationError*/
5580
5578
  d[13] || !/*isBalanceFetched*/
5581
5579
  d[16] || !/*isCurrenciesFetched*/
5582
5580
  d[17]), C[0] & /*optionsTo*/
5583
- 2097152 && (M.options = /*optionsTo*/
5581
+ 2097152 && (F.options = /*optionsTo*/
5584
5582
  d[21]), !ce && C[0] & /*selectedCurrencyTo*/
5585
- 64 && (ce = !0, M.selected = /*selectedCurrencyTo*/
5586
- d[6], Hn(() => ce = !1)), se.$set(M);
5587
- let _e = Q;
5588
- Q = _t(d), Q === _e ? pe[Q].p(d, C) : (Oe(), X(pe[_e], 1, 1, () => {
5589
- pe[_e] = null;
5590
- }), Re(), ee = pe[Q], ee ? ee.p(d, C) : (ee = pe[Q] = Et[Q](d), ee.c()), $(ee, 1), ee.m(k, null)), /*showvaults*/
5591
- d[1] === Be.true ? p ? p.p(d, C) : (p = lr(d), p.c(), p.m(t, et)) : p && (p.d(1), p = null), L === (L = _(d)) && x ? x.p(d, C) : (x.d(1), x = L(d), x && (x.c(), x.m(Me, null))), (!ne || C[0] & /*fetchResponse*/
5592
- 4096) && ye !== (ye = R(
5583
+ 64 && (ce = !0, F.selected = /*selectedCurrencyTo*/
5584
+ d[6], Hn(() => ce = !1)), se.$set(F);
5585
+ let Ee = Q;
5586
+ Q = Et(d), Q === Ee ? pe[Q].p(d, C) : (Pe(), X(pe[Ee], 1, 1, () => {
5587
+ pe[Ee] = null;
5588
+ }), Oe(), ee = pe[Q], ee ? ee.p(d, C) : (ee = pe[Q] = vt[Q](d), ee.c()), $(ee, 1), ee.m(M, null)), /*showvaults*/
5589
+ d[1] === Se.true ? p ? p.p(d, C) : (p = lr(d), p.c(), p.m(t, Je)) : p && (p.d(1), p = null), N === (N = _(d)) && x ? x.p(d, C) : (x.d(1), x = N(d), x && (x.c(), x.m(ke, null))), (!ne || C[0] & /*fetchResponse*/
5590
+ 4096) && me !== (me = D(
5593
5591
  /*fetchResponse*/
5594
5592
  d[12]?.message || ""
5595
- ) + "") && (oe.innerHTML = ye), (!ne || C[0] & /*fetchResponse*/
5593
+ ) + "") && (oe.innerHTML = me), (!ne || C[0] & /*fetchResponse*/
5596
5594
  4096) && le(
5597
5595
  oe,
5598
5596
  "error",
@@ -5605,11 +5603,11 @@ function wo(e) {
5605
5603
  /*fetchResponse*/
5606
5604
  d[12]?.type === "success"
5607
5605
  ), (!ne || C[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5608
- 278816 && Ee !== (Ee = /*isExchangeDisabled*/
5606
+ 278816 && ve !== (ve = /*isExchangeDisabled*/
5609
5607
  d[14] || /*isExchangePending*/
5610
5608
  d[18] || /*inputExchangeFrom*/
5611
5609
  d[8] === 0 && !/*selectedCurrencyFrom*/
5612
- d[5]?.amount)) && (te.disabled = Ee), (!ne || C[0] & /*isExchangeDisabled, isExchangePending*/
5610
+ d[5]?.amount)) && (te.disabled = ve), (!ne || C[0] & /*isExchangeDisabled, isExchangePending*/
5613
5611
  278528) && le(
5614
5612
  te,
5615
5613
  "disabled",
@@ -5631,18 +5629,18 @@ function wo(e) {
5631
5629
  X(U), X(y.$$.fragment, d), X(E), X(se.$$.fragment, d), X(ee), ne = !1;
5632
5630
  },
5633
5631
  d(d) {
5634
- d && A(t), Y && Y.d(), U && U.d(), Xe(y), fe[O].d(), Xe(se), pe[Q].d(), p && p.d(), x.d(), e[42](null), nt = !1, xe(rt);
5632
+ d && A(t), Y && Y.d(), U && U.d(), We(y), fe[R].d(), We(se), pe[Q].d(), p && p.d(), x.d(), e[42](null), tt = !1, _e(nt);
5635
5633
  }
5636
5634
  };
5637
5635
  }
5638
- function Ao(e, t, n) {
5639
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, N = null, P = 0, O = 0, E = 0, j = null, k = null, K = null, de = "", ae = !0, W = !1, ue = !1, me = !1, se = !1, ce = [], we = [], Q = [], ee = [], he;
5640
- za({ withLocale: "en", translations: {} }), Object.keys(Kn).forEach((p) => {
5636
+ function wo(e, t, n) {
5637
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, P = null, O = 0, R = 0, E = 0, j = null, M = null, K = null, ge = "", ae = !0, W = !1, ue = !1, de = !1, se = !1, ce = [], xe = [], Q = [], ee = [], he;
5638
+ Xa({ withLocale: "en", translations: {} }), Object.keys(Kn).forEach((p) => {
5641
5639
  qn(p, Kn[p]);
5642
5640
  });
5643
- const et = () => {
5644
- Za(o);
5645
- }, Ae = () => {
5641
+ const Je = () => {
5642
+ za(o);
5643
+ }, we = () => {
5646
5644
  fetch(u).then((p) => p.json()).then((p) => {
5647
5645
  Object.keys(p).forEach((_) => {
5648
5646
  qn(_, p[_]);
@@ -5650,111 +5648,111 @@ function Ao(e, t, n) {
5650
5648
  }).catch((p) => {
5651
5649
  console.error("There was a problem with the translations request.", p);
5652
5650
  });
5653
- }, ke = () => {
5651
+ }, De = () => {
5654
5652
  let p = document.createElement("style");
5655
5653
  p.innerHTML = l, he.appendChild(p);
5656
- }, dt = () => {
5657
- let p, _ = new URL(s), L = document.createElement("style");
5654
+ }, gt = () => {
5655
+ let p, _ = new URL(s), N = document.createElement("style");
5658
5656
  fetch(_.href).then((x) => x.text()).then((x) => {
5659
- L.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5657
+ N.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5660
5658
  () => {
5661
- he.appendChild(L);
5659
+ he.appendChild(N);
5662
5660
  },
5663
5661
  1
5664
5662
  );
5665
5663
  });
5666
- }, Me = () => {
5667
- we.length !== 0 && (n(15, W = !W), window.postMessage(
5664
+ }, ke = () => {
5665
+ xe.length !== 0 && (n(15, W = !W), window.postMessage(
5668
5666
  {
5669
- type: Jt.VaultDropdownToggled,
5667
+ type: Qt.VaultDropdownToggled,
5670
5668
  state: W
5671
5669
  },
5672
5670
  window.location.href
5673
5671
  ));
5674
- }, tt = () => {
5672
+ }, et = () => {
5675
5673
  window.postMessage(
5676
5674
  {
5677
- type: Jt.VaultWidgetClosed
5675
+ type: Qt.VaultWidgetClosed
5678
5676
  },
5679
5677
  window.location.href
5680
5678
  );
5681
5679
  }, oe = () => {
5682
- n(14, ae = !0), Ce(), be(), ve(), Fe(), window.postMessage({ type: Jt.VaultWidgetReset }, window.location.href);
5683
- }, ye = () => {
5680
+ n(14, ae = !0), Ae(), ye(), be(), Me(), window.postMessage({ type: Qt.VaultWidgetReset }, window.location.href);
5681
+ }, me = () => {
5684
5682
  n(14, ae = !0), n(9, E = 0);
5685
- }, Ce = () => {
5686
- n(11, k = null);
5683
+ }, Ae = () => {
5684
+ n(11, M = null);
5685
+ }, ye = () => {
5686
+ n(8, O = 0), n(9, E = 0);
5687
5687
  }, be = () => {
5688
- n(8, P = 0), n(9, E = 0);
5689
- }, ve = () => {
5690
- n(13, de = "");
5691
- }, Fe = () => {
5688
+ n(13, ge = "");
5689
+ }, Me = () => {
5692
5690
  n(12, K = null);
5693
5691
  }, te = (p) => {
5694
- p && n(13, de = p);
5695
- }, Te = ({ type: p, message: _, source: L = "" }) => {
5692
+ p && n(13, ge = p);
5693
+ }, Ce = ({ type: p, message: _, source: N = "" }) => {
5696
5694
  let x;
5697
- switch (n(12, K = { message: _, source: L, type: p }), p) {
5698
- case Se.error:
5699
- n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href);
5695
+ switch (n(12, K = { message: _, source: N, type: p }), p) {
5696
+ case Te.error:
5697
+ n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href);
5700
5698
  break;
5701
- case Se.success:
5702
- n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5699
+ case Te.success:
5700
+ n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5703
5701
  () => {
5704
- Fe();
5702
+ Me();
5705
5703
  },
5706
- Ka
5704
+ qa
5707
5705
  );
5708
5706
  break;
5709
5707
  }
5710
- }, mt = () => new Promise((p, _) => {
5711
- const L = K?.message.includes(Qa.InvalidSession);
5712
- L && _(), isNaN(Number(P)) && (ye(), Ce(), _(R("invalidValue"))), P > y?.amount && (ye(), Ce(), _(R("exceededValue"))), P === null && !L && (ye(), Ce(), _()), P === 0 && P === 0 && !L && (oe(), _()), (!y || !N) && !L && _(), ve(), p();
5713
- }), Ee = async (p, _) => {
5714
- const L = await p.json();
5715
- return p?.status >= 200 && p?.status < 400 ? L : (_ === Z.CheckWalletExchangeError && ye(), !ue && _ === Z.BalanceError && (n(16, ue = !0), n(17, me = !0)), !me && _ === Z.CurrenciesError && n(17, me = !0), Te({
5716
- type: Se.error,
5717
- message: R(L?.thirdPartyResponse?.code) || R(L?.thirdPartyResponse?.errorCode) || "generalError",
5708
+ }, dt = () => new Promise((p, _) => {
5709
+ const N = K?.message.includes(Ka.InvalidSession);
5710
+ N && _(), isNaN(Number(O)) && (me(), Ae(), _(D("invalidValue"))), O > y?.amount && (me(), Ae(), _(D("exceededValue"))), O === null && !N && (me(), Ae(), _()), O === 0 && O === 0 && !N && (oe(), _()), (!y || !P) && !N && _(), be(), p();
5711
+ }), ve = async (p, _) => {
5712
+ const N = await p.json();
5713
+ return p?.status >= 200 && p?.status < 400 ? N : (_ === Z.CheckWalletExchangeError && me(), !ue && _ === Z.BalanceError && (n(16, ue = !0), n(17, de = !0)), !de && _ === Z.CurrenciesError && n(17, de = !0), Ce({
5714
+ type: Te.error,
5715
+ message: D(N?.thirdPartyResponse?.code) || D(N?.thirdPartyResponse?.errorCode) || "generalError",
5718
5716
  source: _
5719
5717
  }));
5720
5718
  }, ne = () => new Promise((p, _) => {
5721
- const L = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5722
- fetch(L, {
5719
+ const N = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5720
+ fetch(N, {
5723
5721
  method: "GET",
5724
5722
  headers: {
5725
5723
  "X-SessionId": r,
5726
5724
  "Content-Type": "application/json",
5727
5725
  Accept: "application/json"
5728
5726
  }
5729
- }).then((d) => Ee(d, Z.CurrenciesError)).then((d) => {
5727
+ }).then((d) => ve(d, Z.CurrenciesError)).then((d) => {
5730
5728
  p(d?.currencies);
5731
5729
  }).catch((d) => {
5732
- n(17, me = !0), console.error("There was an error on the allowed currencies request.", d), Te({
5733
- type: Se.error,
5734
- message: R("generalError"),
5730
+ n(17, de = !0), console.error("There was an error on the allowed currencies request.", d), Ce({
5731
+ type: Te.error,
5732
+ message: D("generalError"),
5735
5733
  source: Z.CurrenciesError
5736
5734
  }), _();
5737
5735
  }).finally(() => {
5738
- n(17, me = !0);
5736
+ n(17, de = !0);
5739
5737
  });
5740
- }), nt = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: L = [] }) => {
5738
+ }), tt = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: N = [] }) => {
5741
5739
  const { items: x = [], totalAmount: d = {}, totalRealAmount: C } = p || {};
5742
- n(10, j = Object.entries(C || d).map(([M = "", _e = 0]) => ({ currency: M, amount: _e }))[0]);
5743
- let Ne = null;
5744
- const at = new Map(L.map((M) => [M.code, M]));
5745
- for (const M of x)
5746
- if (M?.type === Yn.Real) {
5747
- const _e = at.get(M?.currency);
5748
- if (_e && _e.code === M?.currency) {
5749
- const ot = {
5750
- ...M,
5751
- ..._e,
5752
- symbol: qa[M?.currency]?.[0]
5740
+ n(10, j = Object.entries(C || d).map(([F = "", Ee = 0]) => ({ currency: F, amount: Ee }))[0]);
5741
+ let Le = null;
5742
+ const it = new Map(N.map((F) => [F.code, F]));
5743
+ for (const F of x)
5744
+ if (F?.type === Yn.Real) {
5745
+ const Ee = it.get(F?.currency);
5746
+ if (Ee && Ee.code === F?.currency) {
5747
+ const at = {
5748
+ ...F,
5749
+ ...Ee,
5750
+ symbol: Za[F?.currency]?.[0]
5753
5751
  };
5754
- n(37, ce = [...ce, ot]), M?.currency === j?.currency && n(10, j = { ...j, ...ot }), M?.currency !== j?.currency && M?.walletAccountType === Yn.Vault && n(19, we = [...we, ot]), _ && M?.amount > 0 && n(5, y = j?.currency ? j : Ne), y && y?.currency === M?.currency && n(5, y = ot), N && N?.currency === M?.currency && n(6, N = ot);
5752
+ n(37, ce = [...ce, at]), F?.currency === j?.currency && n(10, j = { ...j, ...at }), F?.currency !== j?.currency && F?.walletAccountType === Yn.Vault && n(19, xe = [...xe, at]), _ && F?.amount > 0 && n(5, y = j?.currency ? j : Le), y && y?.currency === F?.currency && n(5, y = at), P && P?.currency === F?.currency && n(6, P = at);
5755
5753
  }
5756
5754
  }
5757
- }, rt = (p = !0) => {
5755
+ }, nt = (p = !0) => {
5758
5756
  const _ = new URL(`${a}/v2/player/${i}/balance`);
5759
5757
  fetch(_, {
5760
5758
  method: "GET",
@@ -5763,33 +5761,33 @@ function Ao(e, t, n) {
5763
5761
  "Content-Type": "application/json",
5764
5762
  Accept: "application/json"
5765
5763
  }
5766
- }).then((x) => Ee(x, Z.BalanceError)).then((x) => {
5764
+ }).then((x) => ve(x, Z.BalanceError)).then((x) => {
5767
5765
  x && ne().then((d) => {
5768
- n(37, ce = []), n(19, we = []), nt({
5766
+ n(37, ce = []), n(19, xe = []), tt({
5769
5767
  data: x,
5770
5768
  shouldUpdateSelectedCurrencies: p,
5771
5769
  allowed: d
5772
5770
  });
5773
5771
  });
5774
5772
  }).catch((x) => {
5775
- n(16, ue = !0), console.error("There was an error with the player balance request.", x), Te({
5776
- type: Se.error,
5777
- message: R("generalError"),
5773
+ n(16, ue = !0), console.error("There was an error with the player balance request.", x), Ce({
5774
+ type: Te.error,
5775
+ message: D("generalError"),
5778
5776
  source: Z.BalanceError
5779
5777
  });
5780
5778
  }).finally(() => {
5781
5779
  n(16, ue = !0);
5782
5780
  });
5783
- }, U = Ja(() => {
5784
- mt().then(() => {
5781
+ }, U = Ya(() => {
5782
+ dt().then(() => {
5785
5783
  const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), _ = {
5786
5784
  userId: i,
5787
- amount: P,
5785
+ amount: O,
5788
5786
  currency: y?.currency,
5789
5787
  fromCurrency: y?.currency,
5790
- toCurrency: N?.currency,
5788
+ toCurrency: P?.currency,
5791
5789
  payload: { PlayerCurrency: h }
5792
- }, L = {
5790
+ }, N = {
5793
5791
  method: "POST",
5794
5792
  headers: {
5795
5793
  "X-SessionId": r,
@@ -5798,44 +5796,44 @@ function Ao(e, t, n) {
5798
5796
  },
5799
5797
  body: er(_)
5800
5798
  };
5801
- fetch(p, L).then((x) => Ee(x, Z.CheckWalletExchangeError)).then((x) => {
5799
+ fetch(p, N).then((x) => ve(x, Z.CheckWalletExchangeError)).then((x) => {
5802
5800
  if (x) {
5803
- if (K?.source === Z.CheckWalletExchangeError && Fe(), Array.isArray(x?.fees?.fees) && n(11, k = x.fees), Array.isArray(x?.walletActions)) {
5804
- const d = x.walletActions.find((C) => C?.directionName === Ya.Credit)?.amount || 0;
5801
+ if (K?.source === Z.CheckWalletExchangeError && Me(), Array.isArray(x?.fees?.fees) && n(11, M = x.fees), Array.isArray(x?.walletActions)) {
5802
+ const d = x.walletActions.find((C) => C?.directionName === Qa.Credit)?.amount || 0;
5805
5803
  n(9, E = new ii(d)?.getValue());
5806
5804
  }
5807
- P > 0 && E > 0 && y?.currency && N?.currency && h && n(14, ae = !1);
5805
+ O > 0 && E > 0 && y?.currency && P?.currency && h && n(14, ae = !1);
5808
5806
  }
5809
5807
  }).catch((x) => {
5810
- Te({
5811
- type: Se.error,
5812
- message: R("generalError"),
5808
+ Ce({
5809
+ type: Te.error,
5810
+ message: D("generalError"),
5813
5811
  source: Z.CheckWalletExchangeError
5814
5812
  }), console.error("There was a problem with the wallet exchange request.", x);
5815
5813
  });
5816
5814
  }).catch((p) => {
5817
5815
  te(p);
5818
5816
  });
5819
- }, 500), Gt = (p) => {
5820
- const _ = p.target.value, [L, x] = _.split(".");
5821
- !x && _.length >= en && n(8, P = _.slice(0, en)), x && y?.type === Jn.Fiat && (x.length <= y?.precision ? (n(8, P = _), O = _) : n(8, P = O)), x && y?.type === Jn.CryptoCurrency && (_.length <= en ? (n(8, P = _), O = _) : n(8, P = O)), U();
5822
- }, yt = (p) => {
5817
+ }, 500), Vt = (p) => {
5818
+ const _ = p.target.value, [N, x] = _.split(".");
5819
+ !x && _.length >= Yt && n(8, O = _.slice(0, Yt)), x && y?.type === Jn.Fiat && (x.length <= y?.precision ? (n(8, O = _), R = _) : n(8, O = R)), x && y?.type === Jn.CryptoCurrency && (_.length <= Yt ? (n(8, O = _), R = _) : n(8, O = R)), U();
5820
+ }, mt = (p) => {
5823
5821
  const _ = p.data;
5824
5822
  [">", "<", ","].includes(_) && p.preventDefault(), _ && !_.match(/[\d.]/) && p.preventDefault(), _ === "." && p.target.value.includes(".") && p.preventDefault();
5825
- }, bt = () => {
5826
- P === 0 && n(8, P = null);
5823
+ }, yt = () => {
5824
+ O === 0 && n(8, O = null);
5827
5825
  }, fe = () => {
5828
5826
  const p = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5829
5827
  n(18, se = !0);
5830
5828
  const _ = {
5831
- feeDetails: k,
5829
+ feeDetails: M,
5832
5830
  userId: i,
5833
- amount: P,
5831
+ amount: O,
5834
5832
  currency: y?.currency,
5835
5833
  fromCurrency: y?.currency,
5836
- toCurrency: N?.currency,
5834
+ toCurrency: P?.currency,
5837
5835
  payload: { PlayerCurrency: h }
5838
- }, L = {
5836
+ }, N = {
5839
5837
  method: "PUT",
5840
5838
  headers: {
5841
5839
  "X-SessionId": r,
@@ -5844,49 +5842,49 @@ function Ao(e, t, n) {
5844
5842
  },
5845
5843
  body: er(_)
5846
5844
  };
5847
- fetch(p, L).then((x) => Ee(x, Z.WalletExchangeError)).then((x) => {
5848
- x && (Te({
5849
- type: Se.success,
5850
- message: R("exchangeSuccess"),
5845
+ fetch(p, N).then((x) => ve(x, Z.WalletExchangeError)).then((x) => {
5846
+ x && (Ce({
5847
+ type: Te.success,
5848
+ message: D("exchangeSuccess"),
5851
5849
  source: "ExchangeSuccess"
5852
- }), rt(!1));
5850
+ }), nt(!1));
5853
5851
  }).catch((x) => {
5854
- Te({
5855
- type: Se.error,
5856
- message: R("generalError"),
5852
+ Ce({
5853
+ type: Te.error,
5854
+ message: D("generalError"),
5857
5855
  source: Z.WalletExchangeError
5858
5856
  }), console.error("There was an error with the wallet exchange request.", x);
5859
5857
  }).finally(() => {
5860
- n(18, se = !1), be(), Ce();
5858
+ n(18, se = !1), ye(), Ae();
5861
5859
  });
5862
- }, it = (p) => {
5860
+ }, rt = (p) => {
5863
5861
  const { data: { type: _ } = {} } = p || {};
5864
5862
  switch (_) {
5865
5863
  case Qn.ResetVaultWidget:
5866
5864
  oe();
5867
5865
  break;
5868
5866
  case Qn.CloseVaultWidget:
5869
- tt();
5867
+ et();
5870
5868
  break;
5871
5869
  }
5872
5870
  };
5873
- gr(() => (window.addEventListener("message", it), () => {
5874
- window.removeEventListener("message", it);
5871
+ gr(() => (window.addEventListener("message", rt), () => {
5872
+ window.removeEventListener("message", rt);
5875
5873
  }));
5876
- function $t() {
5877
- P = Ht(this.value), n(8, P);
5874
+ function Ut() {
5875
+ O = Bt(this.value), n(8, O);
5878
5876
  }
5879
- function vt(p) {
5877
+ function bt(p) {
5880
5878
  y = p, n(5, y);
5881
5879
  }
5882
- function Et() {
5883
- E = Ht(this.value), n(9, E);
5880
+ function vt() {
5881
+ E = Bt(this.value), n(9, E);
5884
5882
  }
5885
5883
  function pe(p) {
5886
- N = p, n(6, N);
5884
+ P = p, n(6, P);
5887
5885
  }
5888
- function _t(p) {
5889
- je[p ? "unshift" : "push"](() => {
5886
+ function Et(p) {
5887
+ $e[p ? "unshift" : "push"](() => {
5890
5888
  he = p, n(7, he);
5891
5889
  });
5892
5890
  }
@@ -5894,16 +5892,16 @@ function Ao(e, t, n) {
5894
5892
  "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, a = p.endpoint), "lang" in p && n(32, o = p.lang), "clientstyling" in p && n(33, l = p.clientstyling), "clientstylingurl" in p && n(34, s = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, h = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, c = p.showtotalbalance), "showclosebutton" in p && n(3, g = p.showclosebutton), "showcurrencysymbol" in p && n(4, b = p.showcurrencysymbol);
5895
5893
  }, e.$$.update = () => {
5896
5894
  e.$$.dirty[1] & /*lang*/
5897
- 2 && o && et(), e.$$.dirty[0] & /*customStylingContainer*/
5895
+ 2 && o && Je(), e.$$.dirty[0] & /*customStylingContainer*/
5898
5896
  128 | e.$$.dirty[1] & /*clientstyling*/
5899
- 4 && l && he && ke(), e.$$.dirty[0] & /*customStylingContainer*/
5897
+ 4 && l && he && De(), e.$$.dirty[0] & /*customStylingContainer*/
5900
5898
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5901
- 8 && s && he && dt(), e.$$.dirty[1] & /*translationurl*/
5902
- 16 && u && Ae(), e.$$.dirty[0] & /*session, userid*/
5899
+ 8 && s && he && gt(), e.$$.dirty[1] & /*translationurl*/
5900
+ 16 && u && we(), e.$$.dirty[0] & /*session, userid*/
5903
5901
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5904
- 33 && r && i && a && h && rt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5902
+ 33 && r && i && a && h && nt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5905
5903
  64 | e.$$.dirty[1] & /*filteredBalances*/
5906
- 64 && n(20, Q = ce.filter((p) => p?.amount > 0 && p?.currency !== N?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5904
+ 64 && n(20, Q = ce.filter((p) => p?.amount > 0 && p?.currency !== P?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5907
5905
  32 | e.$$.dirty[1] & /*filteredBalances*/
5908
5906
  64 && n(21, ee = ce.filter((p) => y?.currency !== p?.currency));
5909
5907
  }, [
@@ -5913,29 +5911,29 @@ function Ao(e, t, n) {
5913
5911
  g,
5914
5912
  b,
5915
5913
  y,
5916
- N,
5917
- he,
5918
5914
  P,
5915
+ he,
5916
+ O,
5919
5917
  E,
5920
5918
  j,
5921
- k,
5919
+ M,
5922
5920
  K,
5923
- de,
5921
+ ge,
5924
5922
  ae,
5925
5923
  W,
5926
5924
  ue,
5927
- me,
5925
+ de,
5928
5926
  se,
5929
- we,
5927
+ xe,
5930
5928
  Q,
5931
5929
  ee,
5932
- Me,
5933
- tt,
5930
+ ke,
5931
+ et,
5934
5932
  oe,
5935
5933
  U,
5936
- Gt,
5934
+ Vt,
5935
+ mt,
5937
5936
  yt,
5938
- bt,
5939
5937
  fe,
5940
5938
  i,
5941
5939
  a,
@@ -5945,21 +5943,21 @@ function Ao(e, t, n) {
5945
5943
  u,
5946
5944
  h,
5947
5945
  ce,
5948
- $t,
5946
+ Ut,
5947
+ bt,
5949
5948
  vt,
5950
- Et,
5951
5949
  pe,
5952
- _t
5950
+ Et
5953
5951
  ];
5954
5952
  }
5955
- class Co extends wn {
5953
+ class Ao extends _n {
5956
5954
  constructor(t) {
5957
- super(), _n(
5955
+ super(), vn(
5958
5956
  this,
5959
5957
  t,
5960
- Ao,
5961
5958
  wo,
5962
- Rt,
5959
+ xo,
5960
+ Pt,
5963
5961
  {
5964
5962
  session: 0,
5965
5963
  userid: 30,
@@ -5974,7 +5972,7 @@ class Co extends wn {
5974
5972
  showclosebutton: 3,
5975
5973
  showcurrencysymbol: 4
5976
5974
  },
5977
- so,
5975
+ oo,
5978
5976
  [-1, -1, -1]
5979
5977
  );
5980
5978
  }
@@ -6051,7 +6049,7 @@ class Co extends wn {
6051
6049
  this.$$set({ showcurrencysymbol: t }), G();
6052
6050
  }
6053
6051
  }
6054
- xn(Co, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6052
+ En(Ao, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6055
6053
  export {
6056
- Co as P
6054
+ Ao as P
6057
6055
  };