@everymatrix/player-account-vault 1.77.18 → 1.77.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Qr = Object.defineProperty, Yr = Object.defineProperties;
2
- var Jr = Object.getOwnPropertyDescriptors;
3
- var Dn = Object.getOwnPropertySymbols;
4
- var ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable;
5
- var zt = (e, t, n) => t in e ? Qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
1
+ var qr = Object.defineProperty, Kr = Object.defineProperties;
2
+ var Qr = Object.getOwnPropertyDescriptors;
3
+ var On = Object.getOwnPropertySymbols;
4
+ var Yr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
5
+ var Wt = (e, t, n) => t in e ? qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $e = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- ei.call(t, n) && zt(e, n, t[n]);
8
- if (Dn)
9
- for (var n of Dn(t))
10
- ti.call(t, n) && zt(e, n, t[n]);
7
+ Yr.call(t, n) && Wt(e, n, t[n]);
8
+ if (On)
9
+ for (var n of On(t))
10
+ Jr.call(t, n) && Wt(e, n, t[n]);
11
11
  return e;
12
- }, Zt = (e, t) => Yr(e, Jr(t));
13
- var ce = (e, t, n) => (zt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var qt = (e, t, n) => new Promise((r, i) => {
12
+ }, Xt = (e, t) => Kr(e, Qr(t));
13
+ var ce = (e, t, n) => (Wt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var zt = (e, t, n) => new Promise((r, i) => {
15
15
  var a = (l) => {
16
16
  try {
17
17
  s(n.next(l));
@@ -29,25 +29,25 @@ var qt = (e, t, n) => new Promise((r, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- function Er(e) {
32
+ function br(e) {
33
33
  return e();
34
34
  }
35
- function Mn() {
35
+ function Rn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Te(e) {
39
- e.forEach(Er);
38
+ function Ce(e) {
39
+ e.forEach(br);
40
40
  }
41
- function yt(e) {
41
+ function mt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function kt(e, t) {
44
+ function Dt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function ni(e) {
47
+ function ei(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function _r(e, ...t) {
50
+ function vr(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
@@ -56,24 +56,24 @@ function _r(e, ...t) {
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function ri(e) {
59
+ function ti(e) {
60
60
  let t;
61
- return _r(e, (n) => t = n)(), t;
61
+ return vr(e, (n) => t = n)(), t;
62
62
  }
63
- function ii(e) {
64
- return e && yt(e.destroy) ? e.destroy : N;
63
+ function ni(e) {
64
+ return e && mt(e.destroy) ? e.destroy : N;
65
65
  }
66
66
  function E(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Tn(e, t, n) {
70
- const r = ai(e);
69
+ function An(e, t, n) {
70
+ const r = ri(e);
71
71
  if (!r.getElementById(t)) {
72
72
  const i = A("style");
73
- i.id = t, i.textContent = n, oi(r, i);
73
+ i.id = t, i.textContent = n, ii(r, i);
74
74
  }
75
75
  }
76
- function ai(e) {
76
+ function ri(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function ai(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function oi(e, t) {
86
+ function ii(e, t) {
87
87
  return E(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,29 +96,29 @@ function H(e, t, n) {
96
96
  function B(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function xr(e, t) {
99
+ function Er(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
103
103
  function A(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function kn(e) {
106
+ function Dn(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
109
  function q(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function R() {
112
+ function D() {
113
113
  return q(" ");
114
114
  }
115
- function si() {
115
+ function ai() {
116
116
  return q("");
117
117
  }
118
118
  function ae(e, t, n, r) {
119
119
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
120
120
  }
121
- function li(e) {
121
+ function oi(e) {
122
122
  return function(t) {
123
123
  return t.stopPropagation(), e.call(this, t);
124
124
  };
@@ -126,23 +126,23 @@ function li(e) {
126
126
  function y(e, t, n) {
127
127
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
128
128
  }
129
- function Nt(e) {
129
+ function Lt(e) {
130
130
  return e === "" ? null : +e;
131
131
  }
132
- function ui(e) {
132
+ function si(e) {
133
133
  return Array.from(e.childNodes);
134
134
  }
135
135
  function oe(e, t) {
136
136
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
137
137
  t);
138
138
  }
139
- function Ct(e, t) {
139
+ function At(e, t) {
140
140
  e.value = t == null ? "" : t;
141
141
  }
142
142
  function he(e, t, n) {
143
143
  e.classList.toggle(t, !!n);
144
144
  }
145
- function ci(e) {
145
+ function li(e) {
146
146
  const t = {};
147
147
  return e.childNodes.forEach(
148
148
  /** @param {Element} node */
@@ -151,125 +151,125 @@ function ci(e) {
151
151
  }
152
152
  ), t;
153
153
  }
154
- let ft;
155
- function ht(e) {
156
- ft = e;
154
+ let ht;
155
+ function ct(e) {
156
+ ht = e;
157
157
  }
158
- function wr() {
159
- if (!ft)
158
+ function _r() {
159
+ if (!ht)
160
160
  throw new Error("Function called outside component initialization");
161
- return ft;
161
+ return ht;
162
162
  }
163
- function Ar(e) {
164
- wr().$$.on_mount.push(e);
163
+ function xr(e) {
164
+ _r().$$.on_mount.push(e);
165
165
  }
166
- function hi(e) {
167
- wr().$$.on_destroy.push(e);
166
+ function ui(e) {
167
+ _r().$$.on_destroy.push(e);
168
168
  }
169
- const ze = [], qe = [];
170
- let Ze = [];
171
- const ln = [], fi = /* @__PURE__ */ Promise.resolve();
172
- let un = !1;
173
- function pi() {
174
- un || (un = !0, fi.then($));
169
+ const Xe = [], Ze = [];
170
+ let ze = [];
171
+ const on = [], ci = /* @__PURE__ */ Promise.resolve();
172
+ let sn = !1;
173
+ function hi() {
174
+ sn || (sn = !0, ci.then($));
175
175
  }
176
- function cn(e) {
177
- Ze.push(e);
176
+ function ln(e) {
177
+ ze.push(e);
178
178
  }
179
- function Vn(e) {
180
- ln.push(e);
179
+ function Mn(e) {
180
+ on.push(e);
181
181
  }
182
- const Kt = /* @__PURE__ */ new Set();
183
- let We = 0;
182
+ const Zt = /* @__PURE__ */ new Set();
183
+ let je = 0;
184
184
  function $() {
185
- if (We !== 0)
185
+ if (je !== 0)
186
186
  return;
187
- const e = ft;
187
+ const e = ht;
188
188
  do {
189
189
  try {
190
- for (; We < ze.length; ) {
191
- const t = ze[We];
192
- We++, ht(t), gi(t.$$);
190
+ for (; je < Xe.length; ) {
191
+ const t = Xe[je];
192
+ je++, ct(t), fi(t.$$);
193
193
  }
194
194
  } catch (t) {
195
- throw ze.length = 0, We = 0, t;
195
+ throw Xe.length = 0, je = 0, t;
196
196
  }
197
- for (ht(null), ze.length = 0, We = 0; qe.length; )
198
- qe.pop()();
199
- for (let t = 0; t < Ze.length; t += 1) {
200
- const n = Ze[t];
201
- Kt.has(n) || (Kt.add(n), n());
197
+ for (ct(null), Xe.length = 0, je = 0; Ze.length; )
198
+ Ze.pop()();
199
+ for (let t = 0; t < ze.length; t += 1) {
200
+ const n = ze[t];
201
+ Zt.has(n) || (Zt.add(n), n());
202
202
  }
203
- Ze.length = 0;
204
- } while (ze.length);
205
- for (; ln.length; )
206
- ln.pop()();
207
- un = !1, Kt.clear(), ht(e);
203
+ ze.length = 0;
204
+ } while (Xe.length);
205
+ for (; on.length; )
206
+ on.pop()();
207
+ sn = !1, Zt.clear(), ct(e);
208
208
  }
209
- function gi(e) {
209
+ function fi(e) {
210
210
  if (e.fragment !== null) {
211
- e.update(), Te(e.before_update);
211
+ e.update(), Ce(e.before_update);
212
212
  const t = e.dirty;
213
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(cn);
213
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ln);
214
214
  }
215
215
  }
216
- function di(e) {
216
+ function pi(e) {
217
217
  const t = [], n = [];
218
- Ze.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ze = t;
218
+ ze.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), ze = t;
219
219
  }
220
- const Bt = /* @__PURE__ */ new Set();
221
- let Me;
222
- function ke() {
223
- Me = {
220
+ const St = /* @__PURE__ */ new Set();
221
+ let De;
222
+ function Me() {
223
+ De = {
224
224
  r: 0,
225
225
  c: [],
226
- p: Me
226
+ p: De
227
227
  // parent group
228
228
  };
229
229
  }
230
- function Ve() {
231
- Me.r || Te(Me.c), Me = Me.p;
230
+ function ke() {
231
+ De.r || Ce(De.c), De = De.p;
232
232
  }
233
233
  function j(e, t) {
234
- e && e.i && (Bt.delete(e), e.i(t));
234
+ e && e.i && (St.delete(e), e.i(t));
235
235
  }
236
236
  function Z(e, t, n, r) {
237
237
  if (e && e.o) {
238
- if (Bt.has(e))
238
+ if (St.has(e))
239
239
  return;
240
- Bt.add(e), Me.c.push(() => {
241
- Bt.delete(e), r && (n && e.d(1), r());
240
+ St.add(e), De.c.push(() => {
241
+ St.delete(e), r && (n && e.d(1), r());
242
242
  }), e.o(t);
243
243
  } else
244
244
  r && r();
245
245
  }
246
- function Ot(e) {
246
+ function Nt(e) {
247
247
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
248
248
  }
249
- function Un(e, t, n) {
249
+ function kn(e, t, n) {
250
250
  const r = e.$$.props[t];
251
251
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
252
252
  }
253
- function pt(e) {
253
+ function ft(e) {
254
254
  e && e.c();
255
255
  }
256
- function Ke(e, t, n) {
256
+ function qe(e, t, n) {
257
257
  const { fragment: r, after_update: i } = e.$$;
258
- r && r.m(t, n), cn(() => {
259
- const a = e.$$.on_mount.map(Er).filter(yt);
260
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Te(a), e.$$.on_mount = [];
261
- }), i.forEach(cn);
258
+ r && r.m(t, n), ln(() => {
259
+ const a = e.$$.on_mount.map(br).filter(mt);
260
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Ce(a), e.$$.on_mount = [];
261
+ }), i.forEach(ln);
262
262
  }
263
- function Qe(e, t) {
263
+ function Ke(e, t) {
264
264
  const n = e.$$;
265
- n.fragment !== null && (di(n.after_update), Te(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
265
+ n.fragment !== null && (pi(n.after_update), Ce(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
266
266
  }
267
- function mi(e, t) {
268
- e.$$.dirty[0] === -1 && (ze.push(e), pi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
+ function gi(e, t) {
268
+ e.$$.dirty[0] === -1 && (Xe.push(e), hi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
269
  }
270
- function Sn(e, t, n, r, i, a, o = null, s = [-1]) {
271
- const l = ft;
272
- ht(e);
270
+ function Cn(e, t, n, r, i, a, o = null, s = [-1]) {
271
+ const l = ht;
272
+ ct(e);
273
273
  const u = e.$$ = {
274
274
  fragment: null,
275
275
  ctx: [],
@@ -277,7 +277,7 @@ function Sn(e, t, n, r, i, a, o = null, s = [-1]) {
277
277
  props: a,
278
278
  update: N,
279
279
  not_equal: i,
280
- bound: Mn(),
280
+ bound: Rn(),
281
281
  // lifecycle
282
282
  on_mount: [],
283
283
  on_destroy: [],
@@ -286,7 +286,7 @@ function Sn(e, t, n, r, i, a, o = null, s = [-1]) {
286
286
  after_update: [],
287
287
  context: new Map(t.context || (l ? l.$$.context : [])),
288
288
  // everything else
289
- callbacks: Mn(),
289
+ callbacks: Rn(),
290
290
  dirty: s,
291
291
  skip_bound: !1,
292
292
  root: t.target || l.$$.root
@@ -295,19 +295,19 @@ function Sn(e, t, n, r, i, a, o = null, s = [-1]) {
295
295
  let c = !1;
296
296
  if (u.ctx = n ? n(e, t.props || {}, (f, h, ...g) => {
297
297
  const v = g.length ? g[0] : h;
298
- return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), c && mi(e, f)), h;
299
- }) : [], u.update(), c = !0, Te(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
298
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), c && gi(e, f)), h;
299
+ }) : [], u.update(), c = !0, Ce(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
- const f = ui(t.target);
301
+ const f = si(t.target);
302
302
  u.fragment && u.fragment.l(f), f.forEach(B);
303
303
  } else
304
304
  u.fragment && u.fragment.c();
305
- t.intro && j(e.$$.fragment), Ke(e, t.target, t.anchor), $();
305
+ t.intro && j(e.$$.fragment), qe(e, t.target, t.anchor), $();
306
306
  }
307
- ht(l);
307
+ ct(l);
308
308
  }
309
- let Cr;
310
- typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
309
+ let wr;
310
+ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
311
311
  constructor(t, n, r) {
312
312
  super();
313
313
  /** The Svelte component constructor */
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
344
344
  }
345
345
  }
346
346
  connectedCallback() {
347
- return qt(this, null, function* () {
347
+ return zt(this, null, function* () {
348
348
  if (this.$$cn = !0, !this.$$c) {
349
349
  let t = function(a) {
350
350
  return () => {
@@ -368,18 +368,18 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
368
368
  };
369
369
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
370
370
  return;
371
- const n = {}, r = ci(this);
371
+ const n = {}, r = li(this);
372
372
  for (const a of this.$$s)
373
373
  a in r && (n[a] = [t(a)]);
374
374
  for (const a of this.attributes) {
375
375
  const o = this.$$g_p(a.name);
376
- o in this.$$d || (this.$$d[o] = Ht(o, a.value, this.$$p_d, "toProp"));
376
+ o in this.$$d || (this.$$d[o] = Bt(o, a.value, this.$$p_d, "toProp"));
377
377
  }
378
378
  for (const a in this.$$p_d)
379
379
  !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
380
380
  this.$$c = new this.$$ctor({
381
381
  target: this.shadowRoot || this,
382
- props: Zt(je({}, this.$$d), {
382
+ props: Xt($e({}, this.$$d), {
383
383
  $$slots: n,
384
384
  $$scope: {
385
385
  ctx: []
@@ -390,7 +390,7 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
390
390
  this.$$r = !0;
391
391
  for (const a in this.$$p_d)
392
392
  if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
393
- const o = Ht(
393
+ const o = Bt(
394
394
  a,
395
395
  this.$$d[a],
396
396
  this.$$p_d,
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
414
414
  // and setting attributes through setAttribute etc, this is helpful
415
415
  attributeChangedCallback(t, n, r) {
416
416
  var i;
417
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ht(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
417
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Bt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
418
418
  }
419
419
  disconnectedCallback() {
420
420
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
427
427
  ) || t;
428
428
  }
429
429
  });
430
- function Ht(e, t, n, r) {
430
+ function Bt(e, t, n, r) {
431
431
  var a;
432
432
  const i = (a = n[e]) == null ? void 0 : a.type;
433
433
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -457,8 +457,8 @@ function Ht(e, t, n, r) {
457
457
  return t;
458
458
  }
459
459
  }
460
- function Bn(e, t, n, r, i, a) {
461
- let o = class extends Cr {
460
+ function Tn(e, t, n, r, i, a) {
461
+ let o = class extends wr {
462
462
  constructor() {
463
463
  super(e, n, i), this.$$p_d = t;
464
464
  }
@@ -475,7 +475,7 @@ function Bn(e, t, n, r, i, a) {
475
475
  },
476
476
  set(l) {
477
477
  var u;
478
- l = Ht(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
478
+ l = Bt(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
479
479
  }
480
480
  });
481
481
  }), r.forEach((s) => {
@@ -488,7 +488,7 @@ function Bn(e, t, n, r, i, a) {
488
488
  }), e.element = /** @type {any} */
489
489
  o, o;
490
490
  }
491
- class Hn {
491
+ class Sn {
492
492
  constructor() {
493
493
  /**
494
494
  * ### PRIVATE API
@@ -509,7 +509,7 @@ class Hn {
509
509
  }
510
510
  /** @returns {void} */
511
511
  $destroy() {
512
- Qe(this, 1), this.$destroy = N;
512
+ Ke(this, 1), this.$destroy = N;
513
513
  }
514
514
  /**
515
515
  * @template {Extract<keyof Events, string>} K
@@ -518,7 +518,7 @@ class Hn {
518
518
  * @returns {() => void}
519
519
  */
520
520
  $on(t, n) {
521
- if (!yt(n))
521
+ if (!mt(n))
522
522
  return N;
523
523
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
524
524
  return r.push(n), () => {
@@ -531,26 +531,26 @@ class Hn {
531
531
  * @returns {void}
532
532
  */
533
533
  $set(t) {
534
- this.$$set && !ni(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
534
+ this.$$set && !ei(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
535
535
  }
536
536
  }
537
- const yi = "4";
538
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yi);
537
+ const di = "4";
538
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
539
539
  function Pt(e, t) {
540
540
  var n;
541
541
  t === void 0 && (t = "0");
542
542
  var r = 0, i = -1;
543
- e[0] == "-" && (e = e.substring(1), hn(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), hn(t) || (r++, i = 2, t.length)), e = Q(e), t = Q(t), n = In(Q(e), Q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = Qt(e) : i === 2 && (t = Qt(t)));
544
- var a = Tr(e, t);
545
- return r ? r == 2 ? "-" + Q(a) : e.length < a.length ? Q(a.substring(1)) : "-" + Q(Qt(a)) : Q(a);
543
+ e[0] == "-" && (e = e.substring(1), un(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), un(t) || (r++, i = 2, t.length)), e = Q(e), t = Q(t), n = Bn(Q(e), Q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = qt(e) : i === 2 && (t = qt(t)));
544
+ var a = Ar(e, t);
545
+ return r ? r == 2 ? "-" + Q(a) : e.length < a.length ? Q(a.substring(1)) : "-" + Q(qt(a)) : Q(a);
546
546
  }
547
- function Qt(e) {
548
- if (hn(e))
547
+ function qt(e) {
548
+ if (un(e))
549
549
  return e;
550
550
  for (var t = "", n = e.length, r = e.split(".")[1], i = r ? r.length : 0, a = 0; a < n; a++)
551
551
  e[a] >= "0" && e[a] <= "9" ? t += 9 - parseInt(e[a]) : t += e[a];
552
552
  var o = i > 0 ? "0." + new Array(i).join("0") + "1" : "1";
553
- return Tr(t, o);
553
+ return Ar(t, o);
554
554
  }
555
555
  function Q(e) {
556
556
  var t = e.split(".");
@@ -558,13 +558,13 @@ function Q(e) {
558
558
  t[0] = t[0].substring(1);
559
559
  return t[0] + (t[1] ? "." + t[1] : "");
560
560
  }
561
- function In(e, t) {
561
+ function Bn(e, t) {
562
562
  var n = e.split("."), r = t.split("."), i = n[0].length, a = r[0].length;
563
563
  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];
564
564
  }
565
- function Tr(e, t) {
565
+ function Ar(e, t) {
566
566
  var n;
567
- n = In(e, t), e = n[0], t = n[1];
567
+ n = Bn(e, t), e = n[0], t = n[1];
568
568
  for (var r = "", i = 0, a = e.length - 1; a >= 0; a--) {
569
569
  if (e[a] === ".") {
570
570
  r = "." + r;
@@ -575,17 +575,17 @@ function Tr(e, t) {
575
575
  }
576
576
  return i ? i.toString() + r : r;
577
577
  }
578
- function hn(e) {
578
+ function un(e) {
579
579
  return /^0[0]*[.]{0,1}[0]*$/.test(e);
580
580
  }
581
- function Fn(e) {
581
+ function Vn(e) {
582
582
  return (typeof e == "number" || typeof e == "bigint") && (e = e.toString()), e[0] == "-" ? e.substring(1) : e;
583
583
  }
584
584
  var F;
585
585
  (function(e) {
586
586
  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";
587
587
  })(F || (F = {}));
588
- function gt(e, t, n) {
588
+ function pt(e, t, n) {
589
589
  if (t === void 0 && (t = 0), n === void 0 && (n = F.HALF_EVEN), n === F.UNNECESSARY)
590
590
  throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");
591
591
  (typeof e == "number" || typeof e == "bigint") && (e = e.toString());
@@ -596,10 +596,10 @@ function gt(e, t, n) {
596
596
  if (t = -t, a.length <= t)
597
597
  return "0";
598
598
  var s = a.substr(0, a.length - t);
599
- return e = s + "." + a.substr(a.length - t) + o, s = gt(e, 0, n), (r ? "-" : "") + s + new Array(t + 1).join("0");
599
+ return e = s + "." + a.substr(a.length - t) + o, s = pt(e, 0, n), (r ? "-" : "") + s + new Array(t + 1).join("0");
600
600
  }
601
601
  if (t == 0)
602
- return a.length, Gn(i[1], a, r, n) && (a = Yt(a)), (r && parseInt(a) ? "-" : "") + a;
602
+ return a.length, Un(i[1], a, r, n) && (a = Kt(a)), (r && parseInt(a) ? "-" : "") + a;
603
603
  if (i[1]) {
604
604
  if (i[1].length < t)
605
605
  return (r ? "-" : "") + a + "." + i[1] + new Array(t - i[1].length + 1).join("0");
@@ -607,9 +607,9 @@ function gt(e, t, n) {
607
607
  return (r ? "-" : "") + a + "." + new Array(t + 1).join("0");
608
608
  o = i[1].substring(0, t);
609
609
  var l = i[1].substring(t);
610
- return l && Gn(l, o, r, n) && (o = Yt(o), o.length > t) ? (r ? "-" : "") + Yt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
610
+ return l && Un(l, o, r, n) && (o = Kt(o), o.length > t) ? (r ? "-" : "") + Kt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
611
611
  }
612
- function Gn(e, t, n, r) {
612
+ function Un(e, t, n, r) {
613
613
  if (!e || e === new Array(e.length + 1).join("0") || r === F.DOWN || !n && r === F.FLOOR || n && r === F.CEILING)
614
614
  return !1;
615
615
  if (r === F.UP || n && r === F.FLOOR || !n && r === F.CEILING)
@@ -629,7 +629,7 @@ function Gn(e, t, n, r) {
629
629
  return parseInt(t[t.length - 1]) % 2 == 1;
630
630
  }
631
631
  }
632
- function Yt(e, t) {
632
+ function Kt(e, t) {
633
633
  t === void 0 && (t = 0), t || (t = 1), typeof e == "number" && e.toString();
634
634
  for (var n = e.length - 1, r = "", i = n; i >= 0; i--) {
635
635
  var a = parseInt(e[i]) + t;
@@ -646,7 +646,7 @@ function Pe(e) {
646
646
  e = e.substr(0, e.length - 1);
647
647
  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;
648
648
  }
649
- function fn(e, t) {
649
+ function cn(e, t) {
650
650
  e = e.toString(), t = t.toString();
651
651
  var n = 0;
652
652
  e[0] == "-" && (n++, e = e.substr(1)), t[0] == "-" && (n++, t = t.substr(1)), e = Pe(e), t = Pe(t);
@@ -666,12 +666,12 @@ function fn(e, t) {
666
666
  u[v] > -1 && u[v] < e.length && (g += parseInt(e[u[v]--]) * parseInt(t[v]));
667
667
  g += l, l = Math.floor(g / 10), f = g % 10 + f, c--;
668
668
  }
669
- return f = Pe(bi(f, a)), n == 1 && (f = "-" + f), f;
669
+ return f = Pe(mi(f, a)), n == 1 && (f = "-" + f), f;
670
670
  }
671
- function bi(e, t) {
671
+ function mi(e, t) {
672
672
  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));
673
673
  }
674
- function pn(e, t, n, r) {
674
+ function hn(e, t, n, r) {
675
675
  if (n === void 0 && (n = 8), r === void 0 && (r = F.HALF_EVEN), t == 0)
676
676
  throw new Error("Cannot divide by 0");
677
677
  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)
@@ -702,28 +702,28 @@ function pn(e, t, n, r) {
702
702
  f = Pt(f, "-" + t), g++;
703
703
  c += g, e ? (e[0] == "." && (c += ".", l++, e = e.substring(1)), f = f + e.substring(0, 1), e = e.substring(1)) : (l || (c += "."), l++, f = f + "0");
704
704
  }
705
- return (i == 1 ? "-" : "") + Q(gt(c, n - 2, r));
705
+ return (i == 1 ? "-" : "") + Q(pt(c, n - 2, r));
706
706
  }
707
- function gn(e, t) {
708
- return e = e.toString(), t = t.toString(), t = dn(t), Pt(e, t);
707
+ function fn(e, t) {
708
+ return e = e.toString(), t = t.toString(), t = pn(t), Pt(e, t);
709
709
  }
710
- function dn(e) {
710
+ function pn(e) {
711
711
  return e[0] == "-" ? e = e.substr(1) : e = "-" + e, e;
712
712
  }
713
- function $n(e, t) {
713
+ function Fn(e, t) {
714
714
  if (t == 0)
715
715
  throw new Error("Cannot divide by 0");
716
- e = e.toString(), t = t.toString(), jn(e), jn(t);
716
+ e = e.toString(), t = t.toString(), Gn(e), Gn(t);
717
717
  var n = "";
718
718
  e[0] == "-" && (n = "-", e = e.substr(1)), t[0] == "-" && (t = t.substr(1));
719
- var r = gn(e, fn(t, gt(pn(e, t), 0, F.FLOOR)));
719
+ var r = fn(e, cn(t, pt(hn(e, t), 0, F.FLOOR)));
720
720
  return n + r;
721
721
  }
722
- function jn(e) {
722
+ function Gn(e) {
723
723
  if (e.indexOf(".") != -1)
724
724
  throw new Error("Modulus of non-integers not supported");
725
725
  }
726
- function Wn(e, t) {
726
+ function $n(e, t) {
727
727
  var n, r, i = !1;
728
728
  if (n = [e, t].map(function(o) {
729
729
  return Pe(o);
@@ -731,14 +731,14 @@ function Wn(e, t) {
731
731
  return -1;
732
732
  if (e[0] != "-" && t[0] == "-")
733
733
  return 1;
734
- if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = In(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
734
+ if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = Bn(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
735
735
  return 0;
736
736
  for (var a = 0; a < e.length; a++)
737
737
  if (e[a] != t[a])
738
738
  return e[a] > t[a] ? i ? -1 : 1 : i ? 1 : -1;
739
739
  return 0;
740
740
  }
741
- var vi = (
741
+ var yi = (
742
742
  /** @class */
743
743
  function() {
744
744
  function e(t) {
@@ -776,15 +776,15 @@ var vi = (
776
776
  }, e.round = function(t, n, r) {
777
777
  if (n === void 0 && (n = 0), r === void 0 && (r = F.HALF_EVEN), t = e.validate(t), isNaN(n))
778
778
  throw Error("Precision is not a number: " + n);
779
- return gt(t, n, r);
779
+ return pt(t, n, r);
780
780
  }, e.prototype.round = function(t, n) {
781
781
  if (t === void 0 && (t = 0), n === void 0 && (n = F.HALF_EVEN), isNaN(t))
782
782
  throw Error("Precision is not a number: " + t);
783
- return new e(gt(this.value, t, n));
783
+ return new e(pt(this.value, t, n));
784
784
  }, e.abs = function(t) {
785
- return t = e.validate(t), Fn(t);
785
+ return t = e.validate(t), Vn(t);
786
786
  }, e.prototype.abs = function() {
787
- return new e(Fn(this.value));
787
+ return new e(Vn(this.value));
788
788
  }, e.floor = function(t) {
789
789
  return t = e.validate(t), t.indexOf(".") === -1 ? t : e.round(t, 0, F.FLOOR);
790
790
  }, e.prototype.floor = function() {
@@ -798,29 +798,29 @@ var vi = (
798
798
  }, e.prototype.add = function(t) {
799
799
  return new e(Pt(this.value, t.getValue()));
800
800
  }, e.subtract = function(t, n) {
801
- return t = e.validate(t), n = e.validate(n), gn(t, n);
801
+ return t = e.validate(t), n = e.validate(n), fn(t, n);
802
802
  }, e.prototype.subtract = function(t) {
803
- return new e(gn(this.value, t.getValue()));
803
+ return new e(fn(this.value, t.getValue()));
804
804
  }, e.multiply = function(t, n) {
805
- return t = e.validate(t), n = e.validate(n), fn(t, n);
805
+ return t = e.validate(t), n = e.validate(n), cn(t, n);
806
806
  }, e.prototype.multiply = function(t) {
807
- return new e(fn(this.value, t.getValue()));
807
+ return new e(cn(this.value, t.getValue()));
808
808
  }, e.divide = function(t, n, r, i) {
809
- return t = e.validate(t), n = e.validate(n), pn(t, n, r, i);
809
+ return t = e.validate(t), n = e.validate(n), hn(t, n, r, i);
810
810
  }, e.prototype.divide = function(t, n, r) {
811
- return new e(pn(this.value, t.getValue(), n, r));
811
+ return new e(hn(this.value, t.getValue(), n, r));
812
812
  }, e.modulus = function(t, n) {
813
- return t = e.validate(t), n = e.validate(n), $n(t, n);
813
+ return t = e.validate(t), n = e.validate(n), Fn(t, n);
814
814
  }, e.prototype.modulus = function(t) {
815
- return new e($n(this.value, t.getValue()));
815
+ return new e(Fn(this.value, t.getValue()));
816
816
  }, e.compareTo = function(t, n) {
817
- return t = e.validate(t), n = e.validate(n), Wn(t, n);
817
+ return t = e.validate(t), n = e.validate(n), $n(t, n);
818
818
  }, e.prototype.compareTo = function(t) {
819
- return Wn(this.value, t.getValue());
819
+ return $n(this.value, t.getValue());
820
820
  }, e.negate = function(t) {
821
- return t = e.validate(t), dn(t);
821
+ return t = e.validate(t), pn(t);
822
822
  }, e.prototype.negate = function() {
823
- return new e(dn(this.value));
823
+ return new e(pn(this.value));
824
824
  }, e.stripTrailingZero = function(t) {
825
825
  return t = e.validate(t), Pe(t);
826
826
  }, e.prototype.stripTrailingZero = function() {
@@ -828,24 +828,24 @@ var vi = (
828
828
  }, e.RoundingModes = F, e;
829
829
  }()
830
830
  );
831
- const Xe = [];
832
- function Ei(e, t) {
831
+ const We = [];
832
+ function bi(e, t) {
833
833
  return {
834
- subscribe: Vt(e, t).subscribe
834
+ subscribe: Mt(e, t).subscribe
835
835
  };
836
836
  }
837
- function Vt(e, t = N) {
837
+ function Mt(e, t = N) {
838
838
  let n;
839
839
  const r = /* @__PURE__ */ new Set();
840
840
  function i(s) {
841
- if (kt(e, s) && (e = s, n)) {
842
- const l = !Xe.length;
841
+ if (Dt(e, s) && (e = s, n)) {
842
+ const l = !We.length;
843
843
  for (const u of r)
844
- u[1](), Xe.push(u, e);
844
+ u[1](), We.push(u, e);
845
845
  if (l) {
846
- for (let u = 0; u < Xe.length; u += 2)
847
- Xe[u][0](Xe[u + 1]);
848
- Xe.length = 0;
846
+ for (let u = 0; u < We.length; u += 2)
847
+ We[u][0](We[u + 1]);
848
+ We.length = 0;
849
849
  }
850
850
  }
851
851
  }
@@ -860,12 +860,12 @@ function Vt(e, t = N) {
860
860
  }
861
861
  return { set: i, update: a, subscribe: o };
862
862
  }
863
- function nt(e, t, n) {
863
+ function tt(e, t, n) {
864
864
  const r = !Array.isArray(e), i = r ? [e] : e;
865
865
  if (!i.every(Boolean))
866
866
  throw new Error("derived() expects stores as input, got a falsy value");
867
867
  const a = t.length < 2;
868
- return Ei(n, (o, s) => {
868
+ return bi(n, (o, s) => {
869
869
  let l = !1;
870
870
  const u = [];
871
871
  let c = 0, f = N;
@@ -874,9 +874,9 @@ function nt(e, t, n) {
874
874
  return;
875
875
  f();
876
876
  const v = t(r ? u[0] : u, o, s);
877
- a ? o(v) : f = yt(v) ? v : N;
877
+ a ? o(v) : f = mt(v) ? v : N;
878
878
  }, g = i.map(
879
- (v, d) => _r(
879
+ (v, d) => vr(
880
880
  v,
881
881
  (_) => {
882
882
  u[d] = _, c &= ~(1 << d), l && h();
@@ -887,112 +887,126 @@ function nt(e, t, n) {
887
887
  )
888
888
  );
889
889
  return l = !0, h(), function() {
890
- Te(g), f(), l = !1;
890
+ Ce(g), f(), l = !1;
891
891
  };
892
892
  });
893
893
  }
894
- function _i(e) {
894
+ function vi(e) {
895
895
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
896
896
  }
897
- var xi = function(t) {
898
- return wi(t) && !Ai(t);
897
+ var Ei = function(t) {
898
+ return _i(t) && !xi(t);
899
899
  };
900
- function wi(e) {
900
+ function _i(e) {
901
901
  return !!e && typeof e == "object";
902
902
  }
903
- function Ai(e) {
903
+ function xi(e) {
904
904
  var t = Object.prototype.toString.call(e);
905
- return t === "[object RegExp]" || t === "[object Date]" || Si(e);
905
+ return t === "[object RegExp]" || t === "[object Date]" || Ci(e);
906
906
  }
907
- var Ci = typeof Symbol == "function" && Symbol.for, Ti = Ci ? Symbol.for("react.element") : 60103;
908
- function Si(e) {
909
- return e.$$typeof === Ti;
907
+ var wi = typeof Symbol == "function" && Symbol.for, Ai = wi ? Symbol.for("react.element") : 60103;
908
+ function Ci(e) {
909
+ return e.$$typeof === Ai;
910
910
  }
911
- function Bi(e) {
911
+ function Ti(e) {
912
912
  return Array.isArray(e) ? [] : {};
913
913
  }
914
- function dt(e, t) {
915
- return t.clone !== !1 && t.isMergeableObject(e) ? Ye(Bi(e), e, t) : e;
914
+ function gt(e, t) {
915
+ return t.clone !== !1 && t.isMergeableObject(e) ? Qe(Ti(e), e, t) : e;
916
916
  }
917
- function Hi(e, t, n) {
917
+ function Si(e, t, n) {
918
918
  return e.concat(t).map(function(r) {
919
- return dt(r, n);
919
+ return gt(r, n);
920
920
  });
921
921
  }
922
- function Ii(e, t) {
922
+ function Bi(e, t) {
923
923
  if (!t.customMerge)
924
- return Ye;
924
+ return Qe;
925
925
  var n = t.customMerge(e);
926
- return typeof n == "function" ? n : Ye;
926
+ return typeof n == "function" ? n : Qe;
927
927
  }
928
- function Li(e) {
928
+ function Hi(e) {
929
929
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
930
930
  return Object.propertyIsEnumerable.call(e, t);
931
931
  }) : [];
932
932
  }
933
- function Xn(e) {
934
- return Object.keys(e).concat(Li(e));
933
+ function jn(e) {
934
+ return Object.keys(e).concat(Hi(e));
935
935
  }
936
- function Sr(e, t) {
936
+ function Cr(e, t) {
937
937
  try {
938
938
  return t in e;
939
939
  } catch (n) {
940
940
  return !1;
941
941
  }
942
942
  }
943
- function Ni(e, t) {
944
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
943
+ function Ii(e, t) {
944
+ return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
945
945
  }
946
- function Oi(e, t, n) {
946
+ function Li(e, t, n) {
947
947
  var r = {};
948
- return n.isMergeableObject(e) && Xn(e).forEach(function(i) {
949
- r[i] = dt(e[i], n);
950
- }), Xn(t).forEach(function(i) {
951
- Ni(e, i) || (Sr(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ii(i, n)(e[i], t[i], n) : r[i] = dt(t[i], n));
948
+ return n.isMergeableObject(e) && jn(e).forEach(function(i) {
949
+ r[i] = gt(e[i], n);
950
+ }), jn(t).forEach(function(i) {
951
+ Ii(e, i) || (Cr(e, i) && n.isMergeableObject(t[i]) ? r[i] = Bi(i, n)(e[i], t[i], n) : r[i] = gt(t[i], n));
952
952
  }), r;
953
953
  }
954
- function Ye(e, t, n) {
955
- n = n || {}, n.arrayMerge = n.arrayMerge || Hi, n.isMergeableObject = n.isMergeableObject || xi, n.cloneUnlessOtherwiseSpecified = dt;
954
+ function Qe(e, t, n) {
955
+ n = n || {}, n.arrayMerge = n.arrayMerge || Si, n.isMergeableObject = n.isMergeableObject || Ei, n.cloneUnlessOtherwiseSpecified = gt;
956
956
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
957
- return a ? r ? n.arrayMerge(e, t, n) : Oi(e, t, n) : dt(t, n);
957
+ return a ? r ? n.arrayMerge(e, t, n) : Li(e, t, n) : gt(t, n);
958
958
  }
959
- Ye.all = function(t, n) {
959
+ Qe.all = function(t, n) {
960
960
  if (!Array.isArray(t))
961
961
  throw new Error("first argument should be an array");
962
962
  return t.reduce(function(r, i) {
963
- return Ye(r, i, n);
963
+ return Qe(r, i, n);
964
964
  }, {});
965
965
  };
966
- var Pi = Ye, Ri = Pi;
967
- const Di = /* @__PURE__ */ _i(Ri);
968
- var mn = function(e, t) {
969
- return mn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
966
+ var Ni = Qe, Pi = Ni;
967
+ const Oi = /* @__PURE__ */ vi(Pi);
968
+ /*! *****************************************************************************
969
+ Copyright (c) Microsoft Corporation.
970
+
971
+ Permission to use, copy, modify, and/or distribute this software for any
972
+ purpose with or without fee is hereby granted.
973
+
974
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
975
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
976
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
977
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
978
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
979
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
980
+ PERFORMANCE OF THIS SOFTWARE.
981
+ ***************************************************************************** */
982
+ var gn = function(e, t) {
983
+ return gn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
970
984
  n.__proto__ = r;
971
985
  } || function(n, r) {
972
986
  for (var i in r)
973
987
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
974
- }, mn(e, t);
988
+ }, gn(e, t);
975
989
  };
976
- function Ut(e, t) {
990
+ function kt(e, t) {
977
991
  if (typeof t != "function" && t !== null)
978
992
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
979
- mn(e, t);
993
+ gn(e, t);
980
994
  function n() {
981
995
  this.constructor = e;
982
996
  }
983
997
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
984
998
  }
985
- var be = function() {
986
- return be = Object.assign || function(t) {
999
+ var R = function() {
1000
+ return R = Object.assign || function(t) {
987
1001
  for (var n, r = 1, i = arguments.length; r < i; r++) {
988
1002
  n = arguments[r];
989
1003
  for (var a in n)
990
1004
  Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
991
1005
  }
992
1006
  return t;
993
- }, be.apply(this, arguments);
1007
+ }, R.apply(this, arguments);
994
1008
  };
995
- function Mi(e, t) {
1009
+ function Ri(e, t) {
996
1010
  var n = {};
997
1011
  for (var r in e)
998
1012
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1001,43 +1015,43 @@ function Mi(e, t) {
1001
1015
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
1002
1016
  return n;
1003
1017
  }
1004
- function Jt(e, t, n) {
1005
- if (n || arguments.length === 2)
1018
+ function Qt(e, t, n) {
1019
+ if (arguments.length === 2)
1006
1020
  for (var r = 0, i = t.length, a; r < i; r++)
1007
1021
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
1008
- return e.concat(a || Array.prototype.slice.call(t));
1022
+ return e.concat(a || t);
1009
1023
  }
1010
- function en(e, t) {
1011
- var n = t && t.cache ? t.cache : ji, r = t && t.serializer ? t.serializer : Gi, i = t && t.strategy ? t.strategy : Ui;
1024
+ function Yt(e, t) {
1025
+ var n = t && t.cache ? t.cache : Gi, r = t && t.serializer ? t.serializer : Ui, i = t && t.strategy ? t.strategy : ki;
1012
1026
  return i(e, {
1013
1027
  cache: n,
1014
1028
  serializer: r
1015
1029
  });
1016
1030
  }
1017
- function ki(e) {
1031
+ function Di(e) {
1018
1032
  return e == null || typeof e == "number" || typeof e == "boolean";
1019
1033
  }
1020
- function Vi(e, t, n, r) {
1021
- var i = ki(r) ? r : n(r), a = t.get(i);
1034
+ function Mi(e, t, n, r) {
1035
+ var i = Di(r) ? r : n(r), a = t.get(i);
1022
1036
  return typeof a == "undefined" && (a = e.call(this, r), t.set(i, a)), a;
1023
1037
  }
1024
- function Br(e, t, n) {
1038
+ function Tr(e, t, n) {
1025
1039
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
1026
1040
  return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
1027
1041
  }
1028
- function Hr(e, t, n, r, i) {
1042
+ function Sr(e, t, n, r, i) {
1029
1043
  return n.bind(t, e, r, i);
1030
1044
  }
1031
- function Ui(e, t) {
1032
- var n = e.length === 1 ? Vi : Br;
1033
- return Hr(e, this, n, t.cache.create(), t.serializer);
1045
+ function ki(e, t) {
1046
+ var n = e.length === 1 ? Mi : Tr;
1047
+ return Sr(e, this, n, t.cache.create(), t.serializer);
1034
1048
  }
1035
- function Fi(e, t) {
1036
- return Hr(e, this, Br, t.cache.create(), t.serializer);
1049
+ function Vi(e, t) {
1050
+ return Sr(e, this, Tr, t.cache.create(), t.serializer);
1037
1051
  }
1038
- var Gi = function() {
1052
+ var Ui = function() {
1039
1053
  return JSON.stringify(arguments);
1040
- }, $i = (
1054
+ }, Fi = (
1041
1055
  /** @class */
1042
1056
  function() {
1043
1057
  function e() {
@@ -1049,71 +1063,61 @@ var Gi = function() {
1049
1063
  this.cache[t] = n;
1050
1064
  }, e;
1051
1065
  }()
1052
- ), ji = {
1066
+ ), Gi = {
1053
1067
  create: function() {
1054
- return new $i();
1068
+ return new Fi();
1055
1069
  }
1056
- }, tn = {
1057
- variadic: Fi
1058
- }, Rt = function() {
1059
- return Rt = Object.assign || function(t) {
1060
- for (var n, r = 1, i = arguments.length; r < i; r++) {
1061
- n = arguments[r];
1062
- for (var a in n)
1063
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1064
- }
1065
- return t;
1066
- }, Rt.apply(this, arguments);
1067
- };
1068
- var L;
1070
+ }, Jt = {
1071
+ variadic: Vi
1072
+ }, L;
1069
1073
  (function(e) {
1070
1074
  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";
1071
1075
  })(L || (L = {}));
1072
- var V;
1076
+ var U;
1073
1077
  (function(e) {
1074
1078
  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";
1075
- })(V || (V = {}));
1076
- var Je;
1079
+ })(U || (U = {}));
1080
+ var Ye;
1077
1081
  (function(e) {
1078
1082
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1079
- })(Je || (Je = {}));
1080
- function zn(e) {
1081
- return e.type === V.literal;
1083
+ })(Ye || (Ye = {}));
1084
+ function Wn(e) {
1085
+ return e.type === U.literal;
1082
1086
  }
1083
- function Wi(e) {
1084
- return e.type === V.argument;
1087
+ function $i(e) {
1088
+ return e.type === U.argument;
1089
+ }
1090
+ function Br(e) {
1091
+ return e.type === U.number;
1092
+ }
1093
+ function Hr(e) {
1094
+ return e.type === U.date;
1085
1095
  }
1086
1096
  function Ir(e) {
1087
- return e.type === V.number;
1097
+ return e.type === U.time;
1088
1098
  }
1089
1099
  function Lr(e) {
1090
- return e.type === V.date;
1100
+ return e.type === U.select;
1091
1101
  }
1092
1102
  function Nr(e) {
1093
- return e.type === V.time;
1103
+ return e.type === U.plural;
1094
1104
  }
1095
- function Or(e) {
1096
- return e.type === V.select;
1105
+ function ji(e) {
1106
+ return e.type === U.pound;
1097
1107
  }
1098
1108
  function Pr(e) {
1099
- return e.type === V.plural;
1100
- }
1101
- function Xi(e) {
1102
- return e.type === V.pound;
1109
+ return e.type === U.tag;
1103
1110
  }
1104
- function Rr(e) {
1105
- return e.type === V.tag;
1106
- }
1107
- function Dr(e) {
1108
- return !!(e && typeof e == "object" && e.type === Je.number);
1111
+ function Or(e) {
1112
+ return !!(e && typeof e == "object" && e.type === Ye.number);
1109
1113
  }
1110
- function yn(e) {
1111
- return !!(e && typeof e == "object" && e.type === Je.dateTime);
1114
+ function dn(e) {
1115
+ return !!(e && typeof e == "object" && e.type === Ye.dateTime);
1112
1116
  }
1113
- var Mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zi = /(?:[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;
1114
- function Zi(e) {
1117
+ var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1118
+ function Xi(e) {
1115
1119
  var t = {};
1116
- return e.replace(zi, function(n) {
1120
+ return e.replace(Wi, function(n) {
1117
1121
  var r = n.length;
1118
1122
  switch (n[0]) {
1119
1123
  case "G":
@@ -1202,21 +1206,11 @@ function Zi(e) {
1202
1206
  return "";
1203
1207
  }), t;
1204
1208
  }
1205
- var U = function() {
1206
- return U = Object.assign || function(t) {
1207
- for (var n, r = 1, i = arguments.length; r < i; r++) {
1208
- n = arguments[r];
1209
- for (var a in n)
1210
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1211
- }
1212
- return t;
1213
- }, U.apply(this, arguments);
1214
- };
1215
- var qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1216
- function Ki(e) {
1209
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1210
+ function Zi(e) {
1217
1211
  if (e.length === 0)
1218
1212
  throw new Error("Number skeleton cannot be empty");
1219
- for (var t = e.split(qi).filter(function(h) {
1213
+ for (var t = e.split(zi).filter(function(h) {
1220
1214
  return h.length > 0;
1221
1215
  }), n = [], r = 0, i = t; r < i.length; r++) {
1222
1216
  var a = i[r], o = a.split("/");
@@ -1231,17 +1225,17 @@ function Ki(e) {
1231
1225
  }
1232
1226
  return n;
1233
1227
  }
1234
- function Qi(e) {
1228
+ function qi(e) {
1235
1229
  return e.replace(/^(.*?)-/, "");
1236
1230
  }
1237
- var Zn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Vr = /^(0+)$/;
1238
- function qn(e) {
1231
+ var Xn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, Ki = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
1232
+ function zn(e) {
1239
1233
  var t = {};
1240
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(n, r, i) {
1234
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, function(n, r, i) {
1241
1235
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1242
1236
  }), t;
1243
1237
  }
1244
- function Ur(e) {
1238
+ function kr(e) {
1245
1239
  switch (e) {
1246
1240
  case "sign-auto":
1247
1241
  return {
@@ -1281,7 +1275,7 @@ function Ur(e) {
1281
1275
  };
1282
1276
  }
1283
1277
  }
1284
- function Ji(e) {
1278
+ function Qi(e) {
1285
1279
  var t;
1286
1280
  if (e[0] === "E" && e[1] === "E" ? (t = {
1287
1281
  notation: "engineering"
@@ -1289,17 +1283,17 @@ function Ji(e) {
1289
1283
  notation: "scientific"
1290
1284
  }, e = e.slice(1)), t) {
1291
1285
  var n = e.slice(0, 2);
1292
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vr.test(e))
1286
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
1293
1287
  throw new Error("Malformed concise eng/scientific notation");
1294
1288
  t.minimumIntegerDigits = e.length;
1295
1289
  }
1296
1290
  return t;
1297
1291
  }
1298
- function Kn(e) {
1299
- var t = {}, n = Ur(e);
1292
+ function Zn(e) {
1293
+ var t = {}, n = kr(e);
1300
1294
  return n || t;
1301
1295
  }
1302
- function ea(e) {
1296
+ function Yi(e) {
1303
1297
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1304
1298
  var i = r[n];
1305
1299
  switch (i.stem) {
@@ -1323,7 +1317,7 @@ function ea(e) {
1323
1317
  continue;
1324
1318
  case "measure-unit":
1325
1319
  case "unit":
1326
- t.style = "unit", t.unit = Qi(i.options[0]);
1320
+ t.style = "unit", t.unit = qi(i.options[0]);
1327
1321
  continue;
1328
1322
  case "compact-short":
1329
1323
  case "K":
@@ -1334,13 +1328,13 @@ function ea(e) {
1334
1328
  t.notation = "compact", t.compactDisplay = "long";
1335
1329
  continue;
1336
1330
  case "scientific":
1337
- t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1338
- return U(U({}, l), Kn(u));
1331
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1332
+ return R(R({}, l), Zn(u));
1339
1333
  }, {}));
1340
1334
  continue;
1341
1335
  case "engineering":
1342
- t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1343
- return U(U({}, l), Kn(u));
1336
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1337
+ return R(R({}, l), Zn(u));
1344
1338
  }, {}));
1345
1339
  continue;
1346
1340
  case "notation-simple":
@@ -1385,7 +1379,7 @@ function ea(e) {
1385
1379
  case "integer-width":
1386
1380
  if (i.options.length > 1)
1387
1381
  throw new RangeError("integer-width stems only accept a single optional option");
1388
- i.options[0].replace(Yi, function(l, u, c, f, h, g) {
1382
+ i.options[0].replace(Ki, function(l, u, c, f, h, g) {
1389
1383
  if (u)
1390
1384
  t.minimumIntegerDigits = c.length;
1391
1385
  else {
@@ -1398,32 +1392,32 @@ function ea(e) {
1398
1392
  });
1399
1393
  continue;
1400
1394
  }
1401
- if (Vr.test(i.stem)) {
1395
+ if (Mr.test(i.stem)) {
1402
1396
  t.minimumIntegerDigits = i.stem.length;
1403
1397
  continue;
1404
1398
  }
1405
- if (Zn.test(i.stem)) {
1399
+ if (Xn.test(i.stem)) {
1406
1400
  if (i.options.length > 1)
1407
1401
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1408
- i.stem.replace(Zn, function(l, u, c, f, h, g) {
1402
+ i.stem.replace(Xn, function(l, u, c, f, h, g) {
1409
1403
  return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1410
1404
  });
1411
1405
  var a = i.options[0];
1412
- a === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = U(U({}, t), qn(a)));
1406
+ a === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = R(R({}, t), zn(a)));
1413
1407
  continue;
1414
1408
  }
1415
- if (kr.test(i.stem)) {
1416
- t = U(U({}, t), qn(i.stem));
1409
+ if (Dr.test(i.stem)) {
1410
+ t = R(R({}, t), zn(i.stem));
1417
1411
  continue;
1418
1412
  }
1419
- var o = Ur(i.stem);
1420
- o && (t = U(U({}, t), o));
1421
- var s = Ji(i.stem);
1422
- s && (t = U(U({}, t), s));
1413
+ var o = kr(i.stem);
1414
+ o && (t = R(R({}, t), o));
1415
+ var s = Qi(i.stem);
1416
+ s && (t = R(R({}, t), s));
1423
1417
  }
1424
1418
  return t;
1425
1419
  }
1426
- var Tt = {
1420
+ var Ct = {
1427
1421
  "001": [
1428
1422
  "H",
1429
1423
  "h"
@@ -2838,13 +2832,13 @@ var Tt = {
2838
2832
  "h"
2839
2833
  ]
2840
2834
  };
2841
- function ta(e, t) {
2835
+ function Ji(e, t) {
2842
2836
  for (var n = "", r = 0; r < e.length; r++) {
2843
2837
  var i = e.charAt(r);
2844
2838
  if (i === "j") {
2845
2839
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2846
2840
  a++, r++;
2847
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = na(t);
2841
+ var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = ea(t);
2848
2842
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2849
2843
  n += l;
2850
2844
  for (; o-- > 0; )
@@ -2854,7 +2848,7 @@ function ta(e, t) {
2854
2848
  }
2855
2849
  return n;
2856
2850
  }
2857
- function na(e) {
2851
+ function ea(e) {
2858
2852
  var t = e.hourCycle;
2859
2853
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2860
2854
  e.hourCycles && // @ts-ignore
@@ -2873,23 +2867,23 @@ function na(e) {
2873
2867
  }
2874
2868
  var n = e.language, r;
2875
2869
  n !== "root" && (r = e.maximize().region);
2876
- var i = Tt[r || ""] || Tt[n || ""] || Tt["".concat(n, "-001")] || Tt["001"];
2870
+ var i = Ct[r || ""] || Ct[n || ""] || Ct["".concat(n, "-001")] || Ct["001"];
2877
2871
  return i[0];
2878
2872
  }
2879
- var nn, ra = new RegExp("^".concat(Mr.source, "*")), ia = new RegExp("".concat(Mr.source, "*$"));
2880
- function O(e, t) {
2873
+ var en, ta = new RegExp("^".concat(Rr.source, "*")), na = new RegExp("".concat(Rr.source, "*$"));
2874
+ function P(e, t) {
2881
2875
  return { start: e, end: t };
2882
2876
  }
2883
- var aa = !!String.prototype.startsWith && "_a".startsWith("a", 1), oa = !!String.fromCodePoint, sa = !!Object.fromEntries, la = !!String.prototype.codePointAt, ua = !!String.prototype.trimStart, ca = !!String.prototype.trimEnd, ha = !!Number.isSafeInteger, fa = ha ? Number.isSafeInteger : function(e) {
2877
+ var ra = !!String.prototype.startsWith && "_a".startsWith("a", 1), ia = !!String.fromCodePoint, aa = !!Object.fromEntries, oa = !!String.prototype.codePointAt, sa = !!String.prototype.trimStart, la = !!String.prototype.trimEnd, ua = !!Number.isSafeInteger, ca = ua ? Number.isSafeInteger : function(e) {
2884
2878
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2885
- }, bn = !0;
2879
+ }, mn = !0;
2886
2880
  try {
2887
- var pa = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2888
- bn = ((nn = pa.exec("a")) === null || nn === void 0 ? void 0 : nn[0]) === "a";
2881
+ var ha = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2882
+ mn = ((en = ha.exec("a")) === null || en === void 0 ? void 0 : en[0]) === "a";
2889
2883
  } catch (e) {
2890
- bn = !1;
2884
+ mn = !1;
2891
2885
  }
2892
- var Qn = aa ? (
2886
+ var qn = ra ? (
2893
2887
  // Native
2894
2888
  function(t, n, r) {
2895
2889
  return t.startsWith(n, r);
@@ -2899,7 +2893,7 @@ var Qn = aa ? (
2899
2893
  function(t, n, r) {
2900
2894
  return t.slice(r, r + n.length) === n;
2901
2895
  }
2902
- ), vn = oa ? String.fromCodePoint : (
2896
+ ), yn = ia ? String.fromCodePoint : (
2903
2897
  // IE11
2904
2898
  function() {
2905
2899
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2911,9 +2905,9 @@ var Qn = aa ? (
2911
2905
  }
2912
2906
  return r;
2913
2907
  }
2914
- ), Yn = (
2908
+ ), Kn = (
2915
2909
  // native
2916
- sa ? Object.fromEntries : (
2910
+ aa ? Object.fromEntries : (
2917
2911
  // Ponyfill
2918
2912
  function(t) {
2919
2913
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2923,7 +2917,7 @@ var Qn = aa ? (
2923
2917
  return n;
2924
2918
  }
2925
2919
  )
2926
- ), Fr = la ? (
2920
+ ), Vr = oa ? (
2927
2921
  // Native
2928
2922
  function(t, n) {
2929
2923
  return t.codePointAt(n);
@@ -2937,7 +2931,7 @@ var Qn = aa ? (
2937
2931
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2938
2932
  }
2939
2933
  }
2940
- ), ga = ua ? (
2934
+ ), fa = sa ? (
2941
2935
  // Native
2942
2936
  function(t) {
2943
2937
  return t.trimStart();
@@ -2945,9 +2939,9 @@ var Qn = aa ? (
2945
2939
  ) : (
2946
2940
  // Ponyfill
2947
2941
  function(t) {
2948
- return t.replace(ra, "");
2942
+ return t.replace(ta, "");
2949
2943
  }
2950
- ), da = ca ? (
2944
+ ), pa = la ? (
2951
2945
  // Native
2952
2946
  function(t) {
2953
2947
  return t.trimEnd();
@@ -2955,32 +2949,32 @@ var Qn = aa ? (
2955
2949
  ) : (
2956
2950
  // Ponyfill
2957
2951
  function(t) {
2958
- return t.replace(ia, "");
2952
+ return t.replace(na, "");
2959
2953
  }
2960
2954
  );
2961
- function Gr(e, t) {
2955
+ function Ur(e, t) {
2962
2956
  return new RegExp(e, t);
2963
2957
  }
2964
- var En;
2965
- if (bn) {
2966
- var Jn = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2967
- En = function(t, n) {
2958
+ var bn;
2959
+ if (mn) {
2960
+ var Qn = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2961
+ bn = function(t, n) {
2968
2962
  var r;
2969
- Jn.lastIndex = n;
2970
- var i = Jn.exec(t);
2963
+ Qn.lastIndex = n;
2964
+ var i = Qn.exec(t);
2971
2965
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2972
2966
  };
2973
2967
  } else
2974
- En = function(t, n) {
2968
+ bn = function(t, n) {
2975
2969
  for (var r = []; ; ) {
2976
- var i = Fr(t, n);
2977
- if (i === void 0 || $r(i) || va(i))
2970
+ var i = Vr(t, n);
2971
+ if (i === void 0 || Fr(i) || ya(i))
2978
2972
  break;
2979
2973
  r.push(i), n += i >= 65536 ? 2 : 1;
2980
2974
  }
2981
- return vn.apply(void 0, r);
2975
+ return yn.apply(void 0, r);
2982
2976
  };
2983
- var ma = (
2977
+ var ga = (
2984
2978
  /** @class */
2985
2979
  function() {
2986
2980
  function e(t, n) {
@@ -3004,14 +2998,14 @@ var ma = (
3004
2998
  if (a === 35 && (n === "plural" || n === "selectordinal")) {
3005
2999
  var s = this.clonePosition();
3006
3000
  this.bump(), i.push({
3007
- type: V.pound,
3008
- location: O(s, this.clonePosition())
3001
+ type: U.pound,
3002
+ location: P(s, this.clonePosition())
3009
3003
  });
3010
3004
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
3011
3005
  if (r)
3012
3006
  break;
3013
- return this.error(L.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
3014
- } else if (a === 60 && !this.ignoreTag && _n(this.peek() || 0)) {
3007
+ return this.error(L.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
3008
+ } else if (a === 60 && !this.ignoreTag && vn(this.peek() || 0)) {
3015
3009
  var o = this.parseTag(t, n);
3016
3010
  if (o.err)
3017
3011
  return o;
@@ -3032,9 +3026,9 @@ var ma = (
3032
3026
  if (this.bumpSpace(), this.bumpIf("/>"))
3033
3027
  return {
3034
3028
  val: {
3035
- type: V.literal,
3029
+ type: U.literal,
3036
3030
  value: "<".concat(i, "/>"),
3037
- location: O(r, this.clonePosition())
3031
+ location: P(r, this.clonePosition())
3038
3032
  },
3039
3033
  err: null
3040
3034
  };
@@ -3044,25 +3038,25 @@ var ma = (
3044
3038
  return a;
3045
3039
  var o = a.val, s = this.clonePosition();
3046
3040
  if (this.bumpIf("</")) {
3047
- if (this.isEOF() || !_n(this.char()))
3048
- return this.error(L.INVALID_TAG, O(s, this.clonePosition()));
3041
+ if (this.isEOF() || !vn(this.char()))
3042
+ return this.error(L.INVALID_TAG, P(s, this.clonePosition()));
3049
3043
  var l = this.clonePosition(), u = this.parseTagName();
3050
- return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, O(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3044
+ return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, P(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3051
3045
  val: {
3052
- type: V.tag,
3046
+ type: U.tag,
3053
3047
  value: i,
3054
3048
  children: o,
3055
- location: O(r, this.clonePosition())
3049
+ location: P(r, this.clonePosition())
3056
3050
  },
3057
3051
  err: null
3058
- } : this.error(L.INVALID_TAG, O(s, this.clonePosition())));
3052
+ } : this.error(L.INVALID_TAG, P(s, this.clonePosition())));
3059
3053
  } else
3060
- return this.error(L.UNCLOSED_TAG, O(r, this.clonePosition()));
3054
+ return this.error(L.UNCLOSED_TAG, P(r, this.clonePosition()));
3061
3055
  } else
3062
- return this.error(L.INVALID_TAG, O(r, this.clonePosition()));
3056
+ return this.error(L.INVALID_TAG, P(r, this.clonePosition()));
3063
3057
  }, e.prototype.parseTagName = function() {
3064
3058
  var t = this.offset();
3065
- for (this.bump(); !this.isEOF() && ba(this.char()); )
3059
+ for (this.bump(); !this.isEOF() && ma(this.char()); )
3066
3060
  this.bump();
3067
3061
  return this.message.slice(t, this.offset());
3068
3062
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3084,14 +3078,14 @@ var ma = (
3084
3078
  }
3085
3079
  break;
3086
3080
  }
3087
- var l = O(r, this.clonePosition());
3081
+ var l = P(r, this.clonePosition());
3088
3082
  return {
3089
- val: { type: V.literal, value: i, location: l },
3083
+ val: { type: U.literal, value: i, location: l },
3090
3084
  err: null
3091
3085
  };
3092
3086
  }, e.prototype.tryParseLeftAngleBracket = function() {
3093
3087
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3094
- !ya(this.peek() || 0)) ? (this.bump(), "<") : null;
3088
+ !da(this.peek() || 0)) ? (this.bump(), "<") : null;
3095
3089
  }, e.prototype.tryParseQuote = function(t) {
3096
3090
  if (this.isEOF() || this.char() !== 39)
3097
3091
  return null;
@@ -3125,49 +3119,49 @@ var ma = (
3125
3119
  n.push(r);
3126
3120
  this.bump();
3127
3121
  }
3128
- return vn.apply(void 0, n);
3122
+ return yn.apply(void 0, n);
3129
3123
  }, e.prototype.tryParseUnquoted = function(t, n) {
3130
3124
  if (this.isEOF())
3131
3125
  return null;
3132
3126
  var r = this.char();
3133
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), vn(r));
3127
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), yn(r));
3134
3128
  }, e.prototype.parseArgument = function(t, n) {
3135
3129
  var r = this.clonePosition();
3136
3130
  if (this.bump(), this.bumpSpace(), this.isEOF())
3137
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
3131
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, P(r, this.clonePosition()));
3138
3132
  if (this.char() === 125)
3139
- return this.bump(), this.error(L.EMPTY_ARGUMENT, O(r, this.clonePosition()));
3133
+ return this.bump(), this.error(L.EMPTY_ARGUMENT, P(r, this.clonePosition()));
3140
3134
  var i = this.parseIdentifierIfPossible().value;
3141
3135
  if (!i)
3142
- return this.error(L.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
3136
+ return this.error(L.MALFORMED_ARGUMENT, P(r, this.clonePosition()));
3143
3137
  if (this.bumpSpace(), this.isEOF())
3144
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
3138
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, P(r, this.clonePosition()));
3145
3139
  switch (this.char()) {
3146
3140
  case 125:
3147
3141
  return this.bump(), {
3148
3142
  val: {
3149
- type: V.argument,
3143
+ type: U.argument,
3150
3144
  // value does not include the opening and closing braces.
3151
3145
  value: i,
3152
- location: O(r, this.clonePosition())
3146
+ location: P(r, this.clonePosition())
3153
3147
  },
3154
3148
  err: null
3155
3149
  };
3156
3150
  case 44:
3157
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3151
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, P(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3158
3152
  default:
3159
- return this.error(L.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
3153
+ return this.error(L.MALFORMED_ARGUMENT, P(r, this.clonePosition()));
3160
3154
  }
3161
3155
  }, e.prototype.parseIdentifierIfPossible = function() {
3162
- var t = this.clonePosition(), n = this.offset(), r = En(this.message, n), i = n + r.length;
3156
+ var t = this.clonePosition(), n = this.offset(), r = bn(this.message, n), i = n + r.length;
3163
3157
  this.bumpTo(i);
3164
- var a = this.clonePosition(), o = O(t, a);
3158
+ var a = this.clonePosition(), o = P(t, a);
3165
3159
  return { value: r, location: o };
3166
3160
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3167
3161
  var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3168
3162
  switch (s) {
3169
3163
  case "":
3170
- return this.error(L.EXPECT_ARGUMENT_TYPE, O(o, l));
3164
+ return this.error(L.EXPECT_ARGUMENT_TYPE, P(o, l));
3171
3165
  case "number":
3172
3166
  case "date":
3173
3167
  case "time": {
@@ -3178,44 +3172,44 @@ var ma = (
3178
3172
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3179
3173
  if (f.err)
3180
3174
  return f;
3181
- var h = da(f.val);
3175
+ var h = pa(f.val);
3182
3176
  if (h.length === 0)
3183
- return this.error(L.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
3184
- var g = O(c, this.clonePosition());
3177
+ return this.error(L.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
3178
+ var g = P(c, this.clonePosition());
3185
3179
  u = { style: h, styleLocation: g };
3186
3180
  }
3187
3181
  var v = this.tryParseArgumentClose(i);
3188
3182
  if (v.err)
3189
3183
  return v;
3190
- var d = O(i, this.clonePosition());
3191
- if (u && Qn(u == null ? void 0 : u.style, "::", 0)) {
3192
- var _ = ga(u.style.slice(2));
3184
+ var d = P(i, this.clonePosition());
3185
+ if (u && qn(u == null ? void 0 : u.style, "::", 0)) {
3186
+ var _ = fa(u.style.slice(2));
3193
3187
  if (s === "number") {
3194
3188
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3195
3189
  return f.err ? f : {
3196
- val: { type: V.number, value: r, location: d, style: f.val },
3190
+ val: { type: U.number, value: r, location: d, style: f.val },
3197
3191
  err: null
3198
3192
  };
3199
3193
  } else {
3200
3194
  if (_.length === 0)
3201
3195
  return this.error(L.EXPECT_DATE_TIME_SKELETON, d);
3202
3196
  var C = _;
3203
- this.locale && (C = ta(_, this.locale));
3197
+ this.locale && (C = Ji(_, this.locale));
3204
3198
  var h = {
3205
- type: Je.dateTime,
3199
+ type: Ye.dateTime,
3206
3200
  pattern: C,
3207
3201
  location: u.styleLocation,
3208
- parsedOptions: this.shouldParseSkeletons ? Zi(C) : {}
3209
- }, P = s === "date" ? V.date : V.time;
3202
+ parsedOptions: this.shouldParseSkeletons ? Xi(C) : {}
3203
+ }, O = s === "date" ? U.date : U.time;
3210
3204
  return {
3211
- val: { type: P, value: r, location: d, style: h },
3205
+ val: { type: O, value: r, location: d, style: h },
3212
3206
  err: null
3213
3207
  };
3214
3208
  }
3215
3209
  }
3216
3210
  return {
3217
3211
  val: {
3218
- type: s === "number" ? V.number : s === "date" ? V.date : V.time,
3212
+ type: s === "number" ? U.number : s === "date" ? U.date : U.time,
3219
3213
  value: r,
3220
3214
  location: d,
3221
3215
  style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
@@ -3228,50 +3222,50 @@ var ma = (
3228
3222
  case "select": {
3229
3223
  var b = this.clonePosition();
3230
3224
  if (this.bumpSpace(), !this.bumpIf(","))
3231
- return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, O(b, Rt({}, b)));
3225
+ return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, P(b, R({}, b)));
3232
3226
  this.bumpSpace();
3233
- var D = this.parseIdentifierIfPossible(), M = 0;
3234
- if (s !== "select" && D.value === "offset") {
3227
+ var M = this.parseIdentifierIfPossible(), k = 0;
3228
+ if (s !== "select" && M.value === "offset") {
3235
3229
  if (!this.bumpIf(":"))
3236
- return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
3230
+ return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
3237
3231
  this.bumpSpace();
3238
3232
  var f = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3239
3233
  if (f.err)
3240
3234
  return f;
3241
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = f.val;
3235
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = f.val;
3242
3236
  }
3243
- var X = this.tryParsePluralOrSelectOptions(t, s, n, D);
3237
+ var X = this.tryParsePluralOrSelectOptions(t, s, n, M);
3244
3238
  if (X.err)
3245
3239
  return X;
3246
3240
  var v = this.tryParseArgumentClose(i);
3247
3241
  if (v.err)
3248
3242
  return v;
3249
- var ve = O(i, this.clonePosition());
3243
+ var be = P(i, this.clonePosition());
3250
3244
  return s === "select" ? {
3251
3245
  val: {
3252
- type: V.select,
3246
+ type: U.select,
3253
3247
  value: r,
3254
- options: Yn(X.val),
3255
- location: ve
3248
+ options: Kn(X.val),
3249
+ location: be
3256
3250
  },
3257
3251
  err: null
3258
3252
  } : {
3259
3253
  val: {
3260
- type: V.plural,
3254
+ type: U.plural,
3261
3255
  value: r,
3262
- options: Yn(X.val),
3263
- offset: M,
3256
+ options: Kn(X.val),
3257
+ offset: k,
3264
3258
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3265
- location: ve
3259
+ location: be
3266
3260
  },
3267
3261
  err: null
3268
3262
  };
3269
3263
  }
3270
3264
  default:
3271
- return this.error(L.INVALID_ARGUMENT_TYPE, O(o, l));
3265
+ return this.error(L.INVALID_ARGUMENT_TYPE, P(o, l));
3272
3266
  }
3273
3267
  }, e.prototype.tryParseArgumentClose = function(t) {
3274
- return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3268
+ return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3275
3269
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3276
3270
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3277
3271
  var r = this.char();
@@ -3280,7 +3274,7 @@ var ma = (
3280
3274
  this.bump();
3281
3275
  var i = this.clonePosition();
3282
3276
  if (!this.bumpUntil("'"))
3283
- return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
3277
+ return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(i, this.clonePosition()));
3284
3278
  this.bump();
3285
3279
  break;
3286
3280
  }
@@ -3310,16 +3304,16 @@ var ma = (
3310
3304
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3311
3305
  var r = [];
3312
3306
  try {
3313
- r = Ki(t);
3307
+ r = Zi(t);
3314
3308
  } catch (i) {
3315
3309
  return this.error(L.INVALID_NUMBER_SKELETON, n);
3316
3310
  }
3317
3311
  return {
3318
3312
  val: {
3319
- type: Je.number,
3313
+ type: Ye.number,
3320
3314
  tokens: r,
3321
3315
  location: n,
3322
- parsedOptions: this.shouldParseSkeletons ? ea(r) : {}
3316
+ parsedOptions: this.shouldParseSkeletons ? Yi(r) : {}
3323
3317
  },
3324
3318
  err: null
3325
3319
  };
@@ -3331,7 +3325,7 @@ var ma = (
3331
3325
  var h = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
3332
3326
  if (h.err)
3333
3327
  return h;
3334
- c = O(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3328
+ c = P(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3335
3329
  } else
3336
3330
  break;
3337
3331
  }
@@ -3340,7 +3334,7 @@ var ma = (
3340
3334
  u === "other" && (o = !0), this.bumpSpace();
3341
3335
  var g = this.clonePosition();
3342
3336
  if (!this.bumpIf("{"))
3343
- return this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3337
+ return this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
3344
3338
  var v = this.parseMessage(t + 1, n, r);
3345
3339
  if (v.err)
3346
3340
  return v;
@@ -3351,11 +3345,11 @@ var ma = (
3351
3345
  u,
3352
3346
  {
3353
3347
  value: v.val,
3354
- location: O(g, this.clonePosition())
3348
+ location: P(g, this.clonePosition())
3355
3349
  }
3356
3350
  ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, c = a.location;
3357
3351
  }
3358
- return s.length === 0 ? this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(L.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3352
+ return s.length === 0 ? this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(L.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3359
3353
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3360
3354
  var r = 1, i = this.clonePosition();
3361
3355
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3366,8 +3360,8 @@ var ma = (
3366
3360
  else
3367
3361
  break;
3368
3362
  }
3369
- var l = O(i, this.clonePosition());
3370
- return a ? (o *= r, fa(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
3363
+ var l = P(i, this.clonePosition());
3364
+ return a ? (o *= r, ca(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
3371
3365
  }, e.prototype.offset = function() {
3372
3366
  return this.position.offset;
3373
3367
  }, e.prototype.isEOF = function() {
@@ -3382,7 +3376,7 @@ var ma = (
3382
3376
  var t = this.position.offset;
3383
3377
  if (t >= this.message.length)
3384
3378
  throw Error("out of bound");
3385
- var n = Fr(this.message, t);
3379
+ var n = Vr(this.message, t);
3386
3380
  if (n === void 0)
3387
3381
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3388
3382
  return n;
@@ -3401,7 +3395,7 @@ var ma = (
3401
3395
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3402
3396
  }
3403
3397
  }, e.prototype.bumpIf = function(t) {
3404
- if (Qn(this.message, t, this.offset())) {
3398
+ if (qn(this.message, t, this.offset())) {
3405
3399
  for (var n = 0; n < t.length; n++)
3406
3400
  this.bump();
3407
3401
  return !0;
@@ -3423,7 +3417,7 @@ var ma = (
3423
3417
  break;
3424
3418
  }
3425
3419
  }, e.prototype.bumpSpace = function() {
3426
- for (; !this.isEOF() && $r(this.char()); )
3420
+ for (; !this.isEOF() && Fr(this.char()); )
3427
3421
  this.bump();
3428
3422
  }, e.prototype.peek = function() {
3429
3423
  if (this.isEOF())
@@ -3433,47 +3427,47 @@ var ma = (
3433
3427
  }, e;
3434
3428
  }()
3435
3429
  );
3436
- function _n(e) {
3430
+ function vn(e) {
3437
3431
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3438
3432
  }
3439
- function ya(e) {
3440
- return _n(e) || e === 47;
3433
+ function da(e) {
3434
+ return vn(e) || e === 47;
3441
3435
  }
3442
- function ba(e) {
3436
+ function ma(e) {
3443
3437
  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;
3444
3438
  }
3445
- function $r(e) {
3439
+ function Fr(e) {
3446
3440
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3447
3441
  }
3448
- function va(e) {
3442
+ function ya(e) {
3449
3443
  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;
3450
3444
  }
3451
- function xn(e) {
3445
+ function En(e) {
3452
3446
  e.forEach(function(t) {
3453
- if (delete t.location, Or(t) || Pr(t))
3447
+ if (delete t.location, Lr(t) || Nr(t))
3454
3448
  for (var n in t.options)
3455
- delete t.options[n].location, xn(t.options[n].value);
3449
+ delete t.options[n].location, En(t.options[n].value);
3456
3450
  else
3457
- Ir(t) && Dr(t.style) || (Lr(t) || Nr(t)) && yn(t.style) ? delete t.style.location : Rr(t) && xn(t.children);
3451
+ Br(t) && Or(t.style) || (Hr(t) || Ir(t)) && dn(t.style) ? delete t.style.location : Pr(t) && En(t.children);
3458
3452
  });
3459
3453
  }
3460
- function Ea(e, t) {
3461
- t === void 0 && (t = {}), t = Rt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3462
- var n = new ma(e, t).parse();
3454
+ function ba(e, t) {
3455
+ t === void 0 && (t = {}), t = R({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3456
+ var n = new ga(e, t).parse();
3463
3457
  if (n.err) {
3464
3458
  var r = SyntaxError(L[n.err.kind]);
3465
3459
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3466
3460
  }
3467
- return t != null && t.captureLocation || xn(n.val), n.val;
3461
+ return t != null && t.captureLocation || En(n.val), n.val;
3468
3462
  }
3469
- var et;
3463
+ var Je;
3470
3464
  (function(e) {
3471
3465
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3472
- })(et || (et = {}));
3473
- var Ft = (
3466
+ })(Je || (Je = {}));
3467
+ var Vt = (
3474
3468
  /** @class */
3475
3469
  function(e) {
3476
- Ut(t, e);
3470
+ kt(t, e);
3477
3471
  function t(n, r, i) {
3478
3472
  var a = e.call(this, n) || this;
3479
3473
  return a.code = r, a.originalMessage = i, a;
@@ -3482,48 +3476,48 @@ var Ft = (
3482
3476
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3483
3477
  }, t;
3484
3478
  }(Error)
3485
- ), er = (
3479
+ ), Yn = (
3486
3480
  /** @class */
3487
3481
  function(e) {
3488
- Ut(t, e);
3482
+ kt(t, e);
3489
3483
  function t(n, r, i, a) {
3490
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), et.INVALID_VALUE, a) || this;
3484
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Je.INVALID_VALUE, a) || this;
3491
3485
  }
3492
3486
  return t;
3493
- }(Ft)
3494
- ), _a = (
3487
+ }(Vt)
3488
+ ), va = (
3495
3489
  /** @class */
3496
3490
  function(e) {
3497
- Ut(t, e);
3491
+ kt(t, e);
3498
3492
  function t(n, r, i) {
3499
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), et.INVALID_VALUE, i) || this;
3493
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Je.INVALID_VALUE, i) || this;
3500
3494
  }
3501
3495
  return t;
3502
- }(Ft)
3503
- ), xa = (
3496
+ }(Vt)
3497
+ ), Ea = (
3504
3498
  /** @class */
3505
3499
  function(e) {
3506
- Ut(t, e);
3500
+ kt(t, e);
3507
3501
  function t(n, r) {
3508
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), et.MISSING_VALUE, r) || this;
3502
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Je.MISSING_VALUE, r) || this;
3509
3503
  }
3510
3504
  return t;
3511
- }(Ft)
3505
+ }(Vt)
3512
3506
  ), te;
3513
3507
  (function(e) {
3514
3508
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3515
3509
  })(te || (te = {}));
3516
- function wa(e) {
3510
+ function _a(e) {
3517
3511
  return e.length < 2 ? e : e.reduce(function(t, n) {
3518
3512
  var r = t[t.length - 1];
3519
3513
  return !r || r.type !== te.literal || n.type !== te.literal ? t.push(n) : r.value += n.value, t;
3520
3514
  }, []);
3521
3515
  }
3522
- function Aa(e) {
3516
+ function xa(e) {
3523
3517
  return typeof e == "function";
3524
3518
  }
3525
- function It(e, t, n, r, i, a, o) {
3526
- if (e.length === 1 && zn(e[0]))
3519
+ function Ht(e, t, n, r, i, a, o) {
3520
+ if (e.length === 1 && Wn(e[0]))
3527
3521
  return [
3528
3522
  {
3529
3523
  type: te.literal,
@@ -3532,14 +3526,14 @@ function It(e, t, n, r, i, a, o) {
3532
3526
  ];
3533
3527
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3534
3528
  var c = u[l];
3535
- if (zn(c)) {
3529
+ if (Wn(c)) {
3536
3530
  s.push({
3537
3531
  type: te.literal,
3538
3532
  value: c.value
3539
3533
  });
3540
3534
  continue;
3541
3535
  }
3542
- if (Xi(c)) {
3536
+ if (ji(c)) {
3543
3537
  typeof a == "number" && s.push({
3544
3538
  type: te.literal,
3545
3539
  value: n.getNumberFormat(t).format(a)
@@ -3548,89 +3542,89 @@ function It(e, t, n, r, i, a, o) {
3548
3542
  }
3549
3543
  var f = c.value;
3550
3544
  if (!(i && f in i))
3551
- throw new xa(f, o);
3545
+ throw new Ea(f, o);
3552
3546
  var h = i[f];
3553
- if (Wi(c)) {
3547
+ if ($i(c)) {
3554
3548
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), s.push({
3555
3549
  type: typeof h == "string" ? te.literal : te.object,
3556
3550
  value: h
3557
3551
  });
3558
3552
  continue;
3559
3553
  }
3560
- if (Lr(c)) {
3561
- var g = typeof c.style == "string" ? r.date[c.style] : yn(c.style) ? c.style.parsedOptions : void 0;
3554
+ if (Hr(c)) {
3555
+ var g = typeof c.style == "string" ? r.date[c.style] : dn(c.style) ? c.style.parsedOptions : void 0;
3562
3556
  s.push({
3563
3557
  type: te.literal,
3564
3558
  value: n.getDateTimeFormat(t, g).format(h)
3565
3559
  });
3566
3560
  continue;
3567
3561
  }
3568
- if (Nr(c)) {
3569
- var g = typeof c.style == "string" ? r.time[c.style] : yn(c.style) ? c.style.parsedOptions : r.time.medium;
3562
+ if (Ir(c)) {
3563
+ var g = typeof c.style == "string" ? r.time[c.style] : dn(c.style) ? c.style.parsedOptions : r.time.medium;
3570
3564
  s.push({
3571
3565
  type: te.literal,
3572
3566
  value: n.getDateTimeFormat(t, g).format(h)
3573
3567
  });
3574
3568
  continue;
3575
3569
  }
3576
- if (Ir(c)) {
3577
- var g = typeof c.style == "string" ? r.number[c.style] : Dr(c.style) ? c.style.parsedOptions : void 0;
3570
+ if (Br(c)) {
3571
+ var g = typeof c.style == "string" ? r.number[c.style] : Or(c.style) ? c.style.parsedOptions : void 0;
3578
3572
  g && g.scale && (h = h * (g.scale || 1)), s.push({
3579
3573
  type: te.literal,
3580
3574
  value: n.getNumberFormat(t, g).format(h)
3581
3575
  });
3582
3576
  continue;
3583
3577
  }
3584
- if (Rr(c)) {
3578
+ if (Pr(c)) {
3585
3579
  var v = c.children, d = c.value, _ = i[d];
3586
- if (!Aa(_))
3587
- throw new _a(d, "function", o);
3588
- var C = It(v, t, n, r, i, a), P = _(C.map(function(M) {
3589
- return M.value;
3580
+ if (!xa(_))
3581
+ throw new va(d, "function", o);
3582
+ var C = Ht(v, t, n, r, i, a), O = _(C.map(function(k) {
3583
+ return k.value;
3590
3584
  }));
3591
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(M) {
3585
+ Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(k) {
3592
3586
  return {
3593
- type: typeof M == "string" ? te.literal : te.object,
3594
- value: M
3587
+ type: typeof k == "string" ? te.literal : te.object,
3588
+ value: k
3595
3589
  };
3596
3590
  }));
3597
3591
  }
3598
- if (Or(c)) {
3592
+ if (Lr(c)) {
3599
3593
  var b = c.options[h] || c.options.other;
3600
3594
  if (!b)
3601
- throw new er(c.value, h, Object.keys(c.options), o);
3602
- s.push.apply(s, It(b.value, t, n, r, i));
3595
+ throw new Yn(c.value, h, Object.keys(c.options), o);
3596
+ s.push.apply(s, Ht(b.value, t, n, r, i));
3603
3597
  continue;
3604
3598
  }
3605
- if (Pr(c)) {
3599
+ if (Nr(c)) {
3606
3600
  var b = c.options["=".concat(h)];
3607
3601
  if (!b) {
3608
3602
  if (!Intl.PluralRules)
3609
- throw new Ft(`Intl.PluralRules is not available in this environment.
3603
+ throw new Vt(`Intl.PluralRules is not available in this environment.
3610
3604
  Try polyfilling it using "@formatjs/intl-pluralrules"
3611
- `, et.MISSING_INTL_API, o);
3612
- var D = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3613
- b = c.options[D] || c.options.other;
3605
+ `, Je.MISSING_INTL_API, o);
3606
+ var M = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3607
+ b = c.options[M] || c.options.other;
3614
3608
  }
3615
3609
  if (!b)
3616
- throw new er(c.value, h, Object.keys(c.options), o);
3617
- s.push.apply(s, It(b.value, t, n, r, i, h - (c.offset || 0)));
3610
+ throw new Yn(c.value, h, Object.keys(c.options), o);
3611
+ s.push.apply(s, Ht(b.value, t, n, r, i, h - (c.offset || 0)));
3618
3612
  continue;
3619
3613
  }
3620
3614
  }
3621
- return wa(s);
3615
+ return _a(s);
3622
3616
  }
3623
- function Ca(e, t) {
3624
- return t ? be(be(be({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3625
- return n[r] = be(be({}, e[r]), t[r] || {}), n;
3617
+ function wa(e, t) {
3618
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3619
+ return n[r] = R(R({}, e[r]), t[r] || {}), n;
3626
3620
  }, {})) : e;
3627
3621
  }
3628
- function Ta(e, t) {
3622
+ function Aa(e, t) {
3629
3623
  return t ? Object.keys(e).reduce(function(n, r) {
3630
- return n[r] = Ca(e[r], t[r]), n;
3631
- }, be({}, e)) : e;
3624
+ return n[r] = wa(e[r], t[r]), n;
3625
+ }, R({}, e)) : e;
3632
3626
  }
3633
- function rn(e) {
3627
+ function tn(e) {
3634
3628
  return {
3635
3629
  create: function() {
3636
3630
  return {
@@ -3644,39 +3638,39 @@ function rn(e) {
3644
3638
  }
3645
3639
  };
3646
3640
  }
3647
- function Sa(e) {
3641
+ function Ca(e) {
3648
3642
  return e === void 0 && (e = {
3649
3643
  number: {},
3650
3644
  dateTime: {},
3651
3645
  pluralRules: {}
3652
3646
  }), {
3653
- getNumberFormat: en(function() {
3647
+ getNumberFormat: Yt(function() {
3654
3648
  for (var t, n = [], r = 0; r < arguments.length; r++)
3655
3649
  n[r] = arguments[r];
3656
- return new ((t = Intl.NumberFormat).bind.apply(t, Jt([void 0], n, !1)))();
3650
+ return new ((t = Intl.NumberFormat).bind.apply(t, Qt([void 0], n, !1)))();
3657
3651
  }, {
3658
- cache: rn(e.number),
3659
- strategy: tn.variadic
3652
+ cache: tn(e.number),
3653
+ strategy: Jt.variadic
3660
3654
  }),
3661
- getDateTimeFormat: en(function() {
3655
+ getDateTimeFormat: Yt(function() {
3662
3656
  for (var t, n = [], r = 0; r < arguments.length; r++)
3663
3657
  n[r] = arguments[r];
3664
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Jt([void 0], n, !1)))();
3658
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Qt([void 0], n, !1)))();
3665
3659
  }, {
3666
- cache: rn(e.dateTime),
3667
- strategy: tn.variadic
3660
+ cache: tn(e.dateTime),
3661
+ strategy: Jt.variadic
3668
3662
  }),
3669
- getPluralRules: en(function() {
3663
+ getPluralRules: Yt(function() {
3670
3664
  for (var t, n = [], r = 0; r < arguments.length; r++)
3671
3665
  n[r] = arguments[r];
3672
- return new ((t = Intl.PluralRules).bind.apply(t, Jt([void 0], n, !1)))();
3666
+ return new ((t = Intl.PluralRules).bind.apply(t, Qt([void 0], n, !1)))();
3673
3667
  }, {
3674
- cache: rn(e.pluralRules),
3675
- strategy: tn.variadic
3668
+ cache: tn(e.pluralRules),
3669
+ strategy: Jt.variadic
3676
3670
  })
3677
3671
  };
3678
3672
  }
3679
- var Ba = (
3673
+ var Ta = (
3680
3674
  /** @class */
3681
3675
  function() {
3682
3676
  function e(t, n, r, i) {
@@ -3695,7 +3689,7 @@ var Ba = (
3695
3689
  }, []);
3696
3690
  return c.length <= 1 ? c[0] || "" : c;
3697
3691
  }, this.formatToParts = function(l) {
3698
- return It(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3692
+ return Ht(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3699
3693
  }, this.resolvedOptions = function() {
3700
3694
  var l;
3701
3695
  return {
@@ -3708,13 +3702,13 @@ var Ba = (
3708
3702
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3709
3703
  var o = i || {};
3710
3704
  o.formatters;
3711
- var s = Mi(o, ["formatters"]);
3712
- this.ast = e.__parse(t, be(be({}, s), { locale: this.resolvedLocale }));
3705
+ var s = Ri(o, ["formatters"]);
3706
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
3713
3707
  } else
3714
3708
  this.ast = t;
3715
3709
  if (!Array.isArray(this.ast))
3716
3710
  throw new TypeError("A message must be provided as a String or AST.");
3717
- this.formats = Ta(e.formats, r), this.formatters = i && i.formatters || Sa(this.formatterCache);
3711
+ this.formats = Aa(e.formats, r), this.formatters = i && i.formatters || Ca(this.formatterCache);
3718
3712
  }
3719
3713
  return Object.defineProperty(e, "defaultLocale", {
3720
3714
  get: function() {
@@ -3727,7 +3721,7 @@ var Ba = (
3727
3721
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3728
3722
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3729
3723
  }
3730
- }, e.__parse = Ea, e.formats = {
3724
+ }, e.__parse = ba, e.formats = {
3731
3725
  number: {
3732
3726
  integer: {
3733
3727
  maximumFractionDigits: 0
@@ -3788,7 +3782,7 @@ var Ba = (
3788
3782
  }, e;
3789
3783
  }()
3790
3784
  );
3791
- function Ha(e, t) {
3785
+ function Sa(e, t) {
3792
3786
  if (t == null)
3793
3787
  return;
3794
3788
  if (t in e)
@@ -3809,92 +3803,92 @@ function Ha(e, t) {
3809
3803
  r = void 0;
3810
3804
  return r;
3811
3805
  }
3812
- const Re = {}, Ia = (e, t, n) => n && (t in Re || (Re[t] = {}), e in Re[t] || (Re[t][e] = n), n), jr = (e, t) => {
3806
+ const Oe = {}, Ba = (e, t, n) => n && (t in Oe || (Oe[t] = {}), e in Oe[t] || (Oe[t][e] = n), n), Gr = (e, t) => {
3813
3807
  if (t == null)
3814
3808
  return;
3815
- if (t in Re && e in Re[t])
3816
- return Re[t][e];
3817
- const n = Gt(t);
3809
+ if (t in Oe && e in Oe[t])
3810
+ return Oe[t][e];
3811
+ const n = Ut(t);
3818
3812
  for (let r = 0; r < n.length; r++) {
3819
- const i = n[r], a = Na(i, e);
3813
+ const i = n[r], a = Ia(i, e);
3820
3814
  if (a)
3821
- return Ia(e, t, a);
3815
+ return Ba(e, t, a);
3822
3816
  }
3823
3817
  };
3824
- let Ln;
3825
- const rt = Vt({});
3826
- function La(e) {
3827
- return Ln[e] || null;
3818
+ let Hn;
3819
+ const nt = Mt({});
3820
+ function Ha(e) {
3821
+ return Hn[e] || null;
3828
3822
  }
3829
- function Wr(e) {
3830
- return e in Ln;
3823
+ function $r(e) {
3824
+ return e in Hn;
3831
3825
  }
3832
- function Na(e, t) {
3833
- if (!Wr(e))
3826
+ function Ia(e, t) {
3827
+ if (!$r(e))
3834
3828
  return null;
3835
- const n = La(e);
3836
- return Ha(n, t);
3829
+ const n = Ha(e);
3830
+ return Sa(n, t);
3837
3831
  }
3838
- function Oa(e) {
3832
+ function La(e) {
3839
3833
  if (e == null)
3840
3834
  return;
3841
- const t = Gt(e);
3835
+ const t = Ut(e);
3842
3836
  for (let n = 0; n < t.length; n++) {
3843
3837
  const r = t[n];
3844
- if (Wr(r))
3838
+ if ($r(r))
3845
3839
  return r;
3846
3840
  }
3847
3841
  }
3848
- function Xr(e, ...t) {
3849
- delete Re[e], rt.update((n) => (n[e] = Di.all([n[e] || {}, ...t]), n));
3842
+ function jr(e, ...t) {
3843
+ delete Oe[e], nt.update((n) => (n[e] = Oi.all([n[e] || {}, ...t]), n));
3850
3844
  }
3851
- nt(
3852
- [rt],
3845
+ tt(
3846
+ [nt],
3853
3847
  ([e]) => Object.keys(e)
3854
3848
  );
3855
- rt.subscribe((e) => Ln = e);
3856
- const Lt = {};
3857
- function Pa(e, t) {
3858
- Lt[e].delete(t), Lt[e].size === 0 && delete Lt[e];
3849
+ nt.subscribe((e) => Hn = e);
3850
+ const It = {};
3851
+ function Na(e, t) {
3852
+ It[e].delete(t), It[e].size === 0 && delete It[e];
3859
3853
  }
3860
- function zr(e) {
3861
- return Lt[e];
3854
+ function Wr(e) {
3855
+ return It[e];
3862
3856
  }
3863
- function Ra(e) {
3864
- return Gt(e).map((t) => {
3865
- const n = zr(t);
3857
+ function Pa(e) {
3858
+ return Ut(e).map((t) => {
3859
+ const n = Wr(t);
3866
3860
  return [t, n ? [...n] : []];
3867
3861
  }).filter(([, t]) => t.length > 0);
3868
3862
  }
3869
- function wn(e) {
3870
- return e == null ? !1 : Gt(e).some(
3863
+ function _n(e) {
3864
+ return e == null ? !1 : Ut(e).some(
3871
3865
  (t) => {
3872
3866
  var n;
3873
- return (n = zr(t)) == null ? void 0 : n.size;
3867
+ return (n = Wr(t)) == null ? void 0 : n.size;
3874
3868
  }
3875
3869
  );
3876
3870
  }
3877
- function Da(e, t) {
3871
+ function Oa(e, t) {
3878
3872
  return Promise.all(
3879
- t.map((r) => (Pa(e, r), r().then((i) => i.default || i)))
3880
- ).then((r) => Xr(e, ...r));
3881
- }
3882
- const ct = {};
3883
- function Zr(e) {
3884
- if (!wn(e))
3885
- return e in ct ? ct[e] : Promise.resolve();
3886
- const t = Ra(e);
3887
- return ct[e] = Promise.all(
3873
+ t.map((r) => (Na(e, r), r().then((i) => i.default || i)))
3874
+ ).then((r) => jr(e, ...r));
3875
+ }
3876
+ const ut = {};
3877
+ function Xr(e) {
3878
+ if (!_n(e))
3879
+ return e in ut ? ut[e] : Promise.resolve();
3880
+ const t = Pa(e);
3881
+ return ut[e] = Promise.all(
3888
3882
  t.map(
3889
- ([n, r]) => Da(n, r)
3883
+ ([n, r]) => Oa(n, r)
3890
3884
  )
3891
3885
  ).then(() => {
3892
- if (wn(e))
3893
- return Zr(e);
3894
- delete ct[e];
3895
- }), ct[e];
3886
+ if (_n(e))
3887
+ return Xr(e);
3888
+ delete ut[e];
3889
+ }), ut[e];
3896
3890
  }
3897
- const Ma = {
3891
+ const Ra = {
3898
3892
  number: {
3899
3893
  scientific: { notation: "scientific" },
3900
3894
  engineering: { notation: "engineering" },
@@ -3923,150 +3917,150 @@ const Ma = {
3923
3917
  timeZoneName: "short"
3924
3918
  }
3925
3919
  }
3926
- }, ka = {
3920
+ }, Da = {
3927
3921
  fallbackLocale: null,
3928
3922
  loadingDelay: 200,
3929
- formats: Ma,
3923
+ formats: Ra,
3930
3924
  warnOnMissingMessages: !0,
3931
3925
  handleMissingMessage: void 0,
3932
3926
  ignoreTag: !0
3933
- }, Va = ka;
3934
- function tt() {
3935
- return Va;
3927
+ }, Ma = Da;
3928
+ function et() {
3929
+ return Ma;
3936
3930
  }
3937
- const an = Vt(!1);
3938
- var Ua = Object.defineProperty, Fa = Object.defineProperties, Ga = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, $a = Object.prototype.hasOwnProperty, ja = Object.prototype.propertyIsEnumerable, nr = (e, t, n) => t in e ? Ua(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Wa = (e, t) => {
3931
+ const nn = Mt(!1);
3932
+ var ka = Object.defineProperty, Va = Object.defineProperties, Ua = Object.getOwnPropertyDescriptors, Jn = Object.getOwnPropertySymbols, Fa = Object.prototype.hasOwnProperty, Ga = Object.prototype.propertyIsEnumerable, er = (e, t, n) => t in e ? ka(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $a = (e, t) => {
3939
3933
  for (var n in t || (t = {}))
3940
- $a.call(t, n) && nr(e, n, t[n]);
3941
- if (tr)
3942
- for (var n of tr(t))
3943
- ja.call(t, n) && nr(e, n, t[n]);
3934
+ Fa.call(t, n) && er(e, n, t[n]);
3935
+ if (Jn)
3936
+ for (var n of Jn(t))
3937
+ Ga.call(t, n) && er(e, n, t[n]);
3944
3938
  return e;
3945
- }, Xa = (e, t) => Fa(e, Ga(t));
3946
- let An;
3947
- const Dt = Vt(null);
3948
- function rr(e) {
3939
+ }, ja = (e, t) => Va(e, Ua(t));
3940
+ let xn;
3941
+ const Ot = Mt(null);
3942
+ function tr(e) {
3949
3943
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3950
3944
  }
3951
- function Gt(e, t = tt().fallbackLocale) {
3952
- const n = rr(e);
3953
- return t ? [.../* @__PURE__ */ new Set([...n, ...rr(t)])] : n;
3945
+ function Ut(e, t = et().fallbackLocale) {
3946
+ const n = tr(e);
3947
+ return t ? [.../* @__PURE__ */ new Set([...n, ...tr(t)])] : n;
3954
3948
  }
3955
- function Ue() {
3956
- return An != null ? An : void 0;
3949
+ function Ve() {
3950
+ return xn != null ? xn : void 0;
3957
3951
  }
3958
- Dt.subscribe((e) => {
3959
- An = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3952
+ Ot.subscribe((e) => {
3953
+ xn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3960
3954
  });
3961
- const za = (e) => {
3962
- if (e && Oa(e) && wn(e)) {
3963
- const { loadingDelay: t } = tt();
3955
+ const Wa = (e) => {
3956
+ if (e && La(e) && _n(e)) {
3957
+ const { loadingDelay: t } = et();
3964
3958
  let n;
3965
- return typeof window != "undefined" && Ue() != null && t ? n = window.setTimeout(
3966
- () => an.set(!0),
3959
+ return typeof window != "undefined" && Ve() != null && t ? n = window.setTimeout(
3960
+ () => nn.set(!0),
3967
3961
  t
3968
- ) : an.set(!0), Zr(e).then(() => {
3969
- Dt.set(e);
3962
+ ) : nn.set(!0), Xr(e).then(() => {
3963
+ Ot.set(e);
3970
3964
  }).finally(() => {
3971
- clearTimeout(n), an.set(!1);
3965
+ clearTimeout(n), nn.set(!1);
3972
3966
  });
3973
3967
  }
3974
- return Dt.set(e);
3975
- }, De = Xa(Wa({}, Dt), {
3976
- set: za
3977
- }), $t = (e) => {
3968
+ return Ot.set(e);
3969
+ }, Re = ja($a({}, Ot), {
3970
+ set: Wa
3971
+ }), Ft = (e) => {
3978
3972
  const t = /* @__PURE__ */ Object.create(null);
3979
3973
  return (r) => {
3980
3974
  const i = JSON.stringify(r);
3981
3975
  return i in t ? t[i] : t[i] = e(r);
3982
3976
  };
3983
3977
  };
3984
- var Za = Object.defineProperty, Mt = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, ir = (e, t, n) => t in e ? Za(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Nn = (e, t) => {
3978
+ var Xa = Object.defineProperty, Rt = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, nr = (e, t, n) => t in e ? Xa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, In = (e, t) => {
3985
3979
  for (var n in t || (t = {}))
3986
- qr.call(t, n) && ir(e, n, t[n]);
3987
- if (Mt)
3988
- for (var n of Mt(t))
3989
- Kr.call(t, n) && ir(e, n, t[n]);
3980
+ zr.call(t, n) && nr(e, n, t[n]);
3981
+ if (Rt)
3982
+ for (var n of Rt(t))
3983
+ Zr.call(t, n) && nr(e, n, t[n]);
3990
3984
  return e;
3991
- }, it = (e, t) => {
3985
+ }, rt = (e, t) => {
3992
3986
  var n = {};
3993
3987
  for (var r in e)
3994
- qr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3995
- if (e != null && Mt)
3996
- for (var r of Mt(e))
3997
- t.indexOf(r) < 0 && Kr.call(e, r) && (n[r] = e[r]);
3988
+ zr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3989
+ if (e != null && Rt)
3990
+ for (var r of Rt(e))
3991
+ t.indexOf(r) < 0 && Zr.call(e, r) && (n[r] = e[r]);
3998
3992
  return n;
3999
3993
  };
4000
- const mt = (e, t) => {
4001
- const { formats: n } = tt();
3994
+ const dt = (e, t) => {
3995
+ const { formats: n } = et();
4002
3996
  if (e in n && t in n[e])
4003
3997
  return n[e][t];
4004
3998
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4005
- }, qa = $t(
3999
+ }, za = Ft(
4006
4000
  (e) => {
4007
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
4001
+ var t = e, { locale: n, format: r } = t, i = rt(t, ["locale", "format"]);
4008
4002
  if (n == null)
4009
4003
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4010
- return r && (i = mt("number", r)), new Intl.NumberFormat(n, i);
4004
+ return r && (i = dt("number", r)), new Intl.NumberFormat(n, i);
4011
4005
  }
4012
- ), Ka = $t(
4006
+ ), Za = Ft(
4013
4007
  (e) => {
4014
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
4008
+ var t = e, { locale: n, format: r } = t, i = rt(t, ["locale", "format"]);
4015
4009
  if (n == null)
4016
4010
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4017
- return r ? i = mt("date", r) : Object.keys(i).length === 0 && (i = mt("date", "short")), new Intl.DateTimeFormat(n, i);
4011
+ return r ? i = dt("date", r) : Object.keys(i).length === 0 && (i = dt("date", "short")), new Intl.DateTimeFormat(n, i);
4018
4012
  }
4019
- ), Qa = $t(
4013
+ ), qa = Ft(
4020
4014
  (e) => {
4021
- var t = e, { locale: n, format: r } = t, i = it(t, ["locale", "format"]);
4015
+ var t = e, { locale: n, format: r } = t, i = rt(t, ["locale", "format"]);
4022
4016
  if (n == null)
4023
4017
  throw new Error(
4024
4018
  '[svelte-i18n] A "locale" must be set to format time values'
4025
4019
  );
4026
- return r ? i = mt("time", r) : Object.keys(i).length === 0 && (i = mt("time", "short")), new Intl.DateTimeFormat(n, i);
4020
+ return r ? i = dt("time", r) : Object.keys(i).length === 0 && (i = dt("time", "short")), new Intl.DateTimeFormat(n, i);
4027
4021
  }
4028
- ), Ya = (e = {}) => {
4022
+ ), Ka = (e = {}) => {
4029
4023
  var t = e, {
4030
- locale: n = Ue()
4031
- } = t, r = it(t, [
4024
+ locale: n = Ve()
4025
+ } = t, r = rt(t, [
4032
4026
  "locale"
4033
4027
  ]);
4034
- return qa(Nn({ locale: n }, r));
4035
- }, Ja = (e = {}) => {
4028
+ return za(In({ locale: n }, r));
4029
+ }, Qa = (e = {}) => {
4036
4030
  var t = e, {
4037
- locale: n = Ue()
4038
- } = t, r = it(t, [
4031
+ locale: n = Ve()
4032
+ } = t, r = rt(t, [
4039
4033
  "locale"
4040
4034
  ]);
4041
- return Ka(Nn({ locale: n }, r));
4042
- }, eo = (e = {}) => {
4035
+ return Za(In({ locale: n }, r));
4036
+ }, Ya = (e = {}) => {
4043
4037
  var t = e, {
4044
- locale: n = Ue()
4045
- } = t, r = it(t, [
4038
+ locale: n = Ve()
4039
+ } = t, r = rt(t, [
4046
4040
  "locale"
4047
4041
  ]);
4048
- return Qa(Nn({ locale: n }, r));
4049
- }, to = $t(
4042
+ return qa(In({ locale: n }, r));
4043
+ }, Ja = Ft(
4050
4044
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4051
- (e, t = Ue()) => new Ba(e, t, tt().formats, {
4052
- ignoreTag: tt().ignoreTag
4045
+ (e, t = Ve()) => new Ta(e, t, et().formats, {
4046
+ ignoreTag: et().ignoreTag
4053
4047
  })
4054
- ), no = (e, t = {}) => {
4048
+ ), eo = (e, t = {}) => {
4055
4049
  var n, r, i, a;
4056
4050
  let o = t;
4057
4051
  typeof e == "object" && (o = e, e = o.id);
4058
4052
  const {
4059
4053
  values: s,
4060
- locale: l = Ue(),
4054
+ locale: l = Ve(),
4061
4055
  default: u
4062
4056
  } = o;
4063
4057
  if (l == null)
4064
4058
  throw new Error(
4065
4059
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4066
4060
  );
4067
- let c = jr(e, l);
4061
+ let c = Gr(e, l);
4068
4062
  if (!c)
4069
- c = (a = (i = (r = (n = tt()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4063
+ c = (a = (i = (r = (n = et()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4070
4064
  else if (typeof c != "string")
4071
4065
  return console.warn(
4072
4066
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4075,7 +4069,7 @@ const mt = (e, t) => {
4075
4069
  return c;
4076
4070
  let f = c;
4077
4071
  try {
4078
- f = to(c, l).format(s);
4072
+ f = Ja(c, l).format(s);
4079
4073
  } catch (h) {
4080
4074
  h instanceof Error && console.warn(
4081
4075
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4083,23 +4077,23 @@ const mt = (e, t) => {
4083
4077
  );
4084
4078
  }
4085
4079
  return f;
4086
- }, ro = (e, t) => eo(t).format(e), io = (e, t) => Ja(t).format(e), ao = (e, t) => Ya(t).format(e), oo = (e, t = Ue()) => jr(e, t), so = nt([De, rt], () => no);
4087
- nt([De], () => ro);
4088
- nt([De], () => io);
4089
- nt([De], () => ao);
4090
- nt([De, rt], () => oo);
4091
- function lo({ withLocale: e, translations: t }) {
4092
- De.subscribe((n) => {
4093
- n == null && (rt.set(t), De.set(e));
4080
+ }, to = (e, t) => Ya(t).format(e), no = (e, t) => Qa(t).format(e), ro = (e, t) => Ka(t).format(e), io = (e, t = Ve()) => Gr(e, t), ao = tt([Re, nt], () => eo);
4081
+ tt([Re], () => to);
4082
+ tt([Re], () => no);
4083
+ tt([Re], () => ro);
4084
+ tt([Re, nt], () => io);
4085
+ function oo({ withLocale: e, translations: t }) {
4086
+ Re.subscribe((n) => {
4087
+ n == null && (nt.set(t), Re.set(e));
4094
4088
  });
4095
4089
  }
4096
- function ar(e, t) {
4097
- Xr(e, t);
4090
+ function rr(e, t) {
4091
+ jr(e, t);
4098
4092
  }
4099
- function uo(e) {
4100
- De.set(e);
4093
+ function so(e) {
4094
+ Re.set(e);
4101
4095
  }
4102
- const k = ri(so), or = {
4096
+ const V = ti(ao), ir = {
4103
4097
  en: {
4104
4098
  vaultExchange: "Vault Exchange",
4105
4099
  debitPlaceHolder: "Debit amount",
@@ -4208,7 +4202,7 @@ const k = ri(so), or = {
4208
4202
  10114: "Kullanıcı hesabı aktif değil.",
4209
4203
  10115: "İşlem niyeti bulunamadı."
4210
4204
  }
4211
- }, co = {
4205
+ }, lo = {
4212
4206
  "1INCH": "",
4213
4207
  AAVE: "",
4214
4208
  ADA: "₳",
@@ -4484,40 +4478,40 @@ const k = ri(so), or = {
4484
4478
  ZMK: "",
4485
4479
  ZMW: "",
4486
4480
  ZWD: "Z$"
4487
- }, ho = 6e3, fo = {
4481
+ }, uo = 6e3, co = {
4488
4482
  InvalidSession: "Invalid session"
4489
4483
  }, K = {
4490
4484
  BalanceError: "BalanceError",
4491
4485
  CheckWalletExchangeError: "CheckWalletExchangeError",
4492
4486
  WalletExchangeError: "WalletExchangeError",
4493
4487
  CurrenciesError: "CurrenciesError"
4494
- }, sr = {
4488
+ }, ar = {
4495
4489
  ResetVaultWidget: "ResetVaultWidget",
4496
4490
  CloseVaultWidget: "CloseVaultWidget"
4497
- }, on = {
4491
+ }, rn = {
4498
4492
  VaultWidgetReset: "VaultWidgetReset",
4499
4493
  VaultWidgetClosed: "VaultWidgetClosed",
4500
4494
  VaultDropdownToggled: "VaultDropdownToggled"
4501
- }, lr = {
4495
+ }, or = {
4502
4496
  Real: "Real",
4503
4497
  Vault: "Vault"
4504
- }, Ne = {
4498
+ }, Le = {
4505
4499
  success: "success",
4506
4500
  error: "error"
4507
- }, sn = String(Number.MAX_SAFE_INTEGER).length + 1, St = {
4501
+ }, an = String(Number.MAX_SAFE_INTEGER).length + 1, Tt = {
4508
4502
  ArrowDown: "ArrowDown",
4509
4503
  ArrowUp: "ArrowUp",
4510
4504
  Enter: "Enter",
4511
4505
  Escape: "Escape"
4512
- }, Oe = {
4506
+ }, Ne = {
4513
4507
  true: "true"
4514
- }, ur = {
4508
+ }, sr = {
4515
4509
  Fiat: "Fiat",
4516
4510
  CryptoCurrency: "CryptoCurrency"
4517
- }, po = {
4511
+ }, ho = {
4518
4512
  Credit: "Credit"
4519
4513
  };
4520
- function go(e, t) {
4514
+ function fo(e, t) {
4521
4515
  let n;
4522
4516
  return function(...r) {
4523
4517
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4525,14 +4519,14 @@ function go(e, t) {
4525
4519
  }, t);
4526
4520
  };
4527
4521
  }
4528
- const cr = (e, t = null, n = 2) => {
4522
+ const lr = (e, t = null, n = 2) => {
4529
4523
  try {
4530
4524
  return JSON.stringify(e, t, n);
4531
4525
  } catch (r) {
4532
4526
  return console.warn("Failed to stringify:", r), null;
4533
4527
  }
4534
4528
  };
4535
- function mo(e) {
4529
+ function po(e) {
4536
4530
  const t = (n) => {
4537
4531
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4538
4532
  };
@@ -4542,14 +4536,14 @@ function mo(e) {
4542
4536
  }
4543
4537
  };
4544
4538
  }
4545
- function yo(e) {
4546
- Tn(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)}");
4539
+ function go(e) {
4540
+ An(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)}");
4547
4541
  }
4548
- function hr(e, t, n) {
4542
+ function ur(e, t, n) {
4549
4543
  const r = e.slice();
4550
4544
  return r[16] = t[n], r[18] = n, r;
4551
4545
  }
4552
- function fr(e) {
4546
+ function cr(e) {
4553
4547
  var i;
4554
4548
  let t, n = (
4555
4549
  /*selected*/
@@ -4573,13 +4567,13 @@ function fr(e) {
4573
4567
  }
4574
4568
  };
4575
4569
  }
4576
- function pr(e) {
4577
- let t, n, r = Ot(
4570
+ function hr(e) {
4571
+ let t, n, r = Nt(
4578
4572
  /*options*/
4579
4573
  e[1]
4580
4574
  ), i = [];
4581
4575
  for (let a = 0; a < r.length; a += 1)
4582
- i[a] = gr(hr(e, r, a));
4576
+ i[a] = fr(ur(e, r, a));
4583
4577
  return {
4584
4578
  c() {
4585
4579
  t = A("div"), n = A("ul");
@@ -4596,14 +4590,14 @@ function pr(e) {
4596
4590
  p(a, o) {
4597
4591
  if (o & /*options, selected, activeIndex, handleChange*/
4598
4592
  547) {
4599
- r = Ot(
4593
+ r = Nt(
4600
4594
  /*options*/
4601
4595
  a[1]
4602
4596
  );
4603
4597
  let s;
4604
4598
  for (s = 0; s < r.length; s += 1) {
4605
- const l = hr(a, r, s);
4606
- i[s] ? i[s].p(l, o) : (i[s] = gr(l), i[s].c(), i[s].m(n, null));
4599
+ const l = ur(a, r, s);
4600
+ i[s] ? i[s].p(l, o) : (i[s] = fr(l), i[s].c(), i[s].m(n, null));
4607
4601
  }
4608
4602
  for (; s < i.length; s += 1)
4609
4603
  i[s].d(1);
@@ -4611,11 +4605,11 @@ function pr(e) {
4611
4605
  }
4612
4606
  },
4613
4607
  d(a) {
4614
- a && B(t), xr(i, a), e[14](null);
4608
+ a && B(t), Er(i, a), e[14](null);
4615
4609
  }
4616
4610
  };
4617
4611
  }
4618
- function gr(e) {
4612
+ function fr(e) {
4619
4613
  var h, g;
4620
4614
  let t, n, r = (
4621
4615
  /*option*/
@@ -4627,7 +4621,7 @@ function gr(e) {
4627
4621
  return {
4628
4622
  c() {
4629
4623
  var v, d, _, C;
4630
- t = A("li"), n = A("span"), i = q(r), a = R(), s = q(o), l = R(), y(n, "class", "symbol svelte-1g9pqha"), y(t, "role", "option"), y(t, "aria-selected", u = /*option*/
4624
+ t = A("li"), n = A("span"), i = q(r), a = D(), s = q(o), l = D(), y(n, "class", "symbol svelte-1g9pqha"), y(t, "role", "option"), y(t, "aria-selected", u = /*option*/
4631
4625
  ((v = e[16]) == null ? void 0 : v.currency) === /*selected*/
4632
4626
  ((d = e[0]) == null ? void 0 : d.currency) || /*index*/
4633
4627
  e[18] === /*activeIndex*/
@@ -4643,9 +4637,9 @@ function gr(e) {
4643
4637
  },
4644
4638
  m(v, d) {
4645
4639
  H(v, t, d), E(t, n), E(n, i), E(t, a), E(t, s), E(t, l), c || (f = [
4646
- ae(t, "keydown", vo),
4640
+ ae(t, "keydown", yo),
4647
4641
  ae(t, "click", function() {
4648
- yt(
4642
+ mt(
4649
4643
  /*handleChange*/
4650
4644
  e[9](
4651
4645
  /*option*/
@@ -4663,14 +4657,14 @@ function gr(e) {
4663
4657
  ], c = !0);
4664
4658
  },
4665
4659
  p(v, d) {
4666
- var _, C, P, b, D, M;
4660
+ var _, C, O, b, M, k;
4667
4661
  e = v, d & /*options*/
4668
4662
  2 && r !== (r = /*option*/
4669
4663
  ((_ = e[16]) == null ? void 0 : _.symbol) + "") && oe(i, r), d & /*options*/
4670
4664
  2 && o !== (o = /*option*/
4671
4665
  ((C = e[16]) == null ? void 0 : C.currency) + "") && oe(s, o), d & /*options, selected, activeIndex*/
4672
4666
  35 && u !== (u = /*option*/
4673
- ((P = e[16]) == null ? void 0 : P.currency) === /*selected*/
4667
+ ((O = e[16]) == null ? void 0 : O.currency) === /*selected*/
4674
4668
  ((b = e[0]) == null ? void 0 : b.currency) || /*index*/
4675
4669
  e[18] === /*activeIndex*/
4676
4670
  e[5]) && y(t, "aria-selected", u), d & /*options, selected, activeIndex*/
@@ -4678,18 +4672,18 @@ function gr(e) {
4678
4672
  t,
4679
4673
  "active",
4680
4674
  /*option*/
4681
- ((D = e[16]) == null ? void 0 : D.currency) === /*selected*/
4682
- ((M = e[0]) == null ? void 0 : M.currency) || /*index*/
4675
+ ((M = e[16]) == null ? void 0 : M.currency) === /*selected*/
4676
+ ((k = e[0]) == null ? void 0 : k.currency) || /*index*/
4683
4677
  e[18] === /*activeIndex*/
4684
4678
  e[5]
4685
4679
  );
4686
4680
  },
4687
4681
  d(v) {
4688
- v && B(t), c = !1, Te(f);
4682
+ v && B(t), c = !1, Ce(f);
4689
4683
  }
4690
4684
  };
4691
4685
  }
4692
- function bo(e) {
4686
+ function mo(e) {
4693
4687
  var v, d;
4694
4688
  let t, n, r, i, a = (
4695
4689
  /*selected*/
@@ -4698,14 +4692,14 @@ function bo(e) {
4698
4692
  ), o, s, l, u, c, f, h = (
4699
4693
  /*selected*/
4700
4694
  ((d = e[0]) == null ? void 0 : d.symbol) && /*withSymbol*/
4701
- e[3] === Oe.true && fr(e)
4695
+ e[3] === Ne.true && cr(e)
4702
4696
  ), g = (
4703
4697
  /*open*/
4704
- e[7] && pr(e)
4698
+ e[7] && hr(e)
4705
4699
  );
4706
4700
  return {
4707
4701
  c() {
4708
- t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = R(), o = q(a), s = R(), l = A("span"), l.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 = R(), g && g.c(), y(r, "class", "label svelte-1g9pqha"), y(l, "class", "arrow"), he(
4702
+ t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = D(), o = q(a), s = D(), l = A("span"), l.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 = D(), g && g.c(), y(r, "class", "label svelte-1g9pqha"), y(l, "class", "arrow"), he(
4709
4703
  l,
4710
4704
  "open",
4711
4705
  /*open*/
@@ -4726,11 +4720,11 @@ function bo(e) {
4726
4720
  /*handleKeyDown*/
4727
4721
  e[11]
4728
4722
  ),
4729
- ae(n, "click", li(
4723
+ ae(n, "click", oi(
4730
4724
  /*handleToggleDropdown*/
4731
4725
  e[8]
4732
4726
  )),
4733
- ii(mo.call(null, t)),
4727
+ ni(po.call(null, t)),
4734
4728
  ae(
4735
4729
  t,
4736
4730
  "outclick",
@@ -4740,10 +4734,10 @@ function bo(e) {
4740
4734
  ], c = !0);
4741
4735
  },
4742
4736
  p(_, [C]) {
4743
- var P, b;
4737
+ var O, b;
4744
4738
  /*selected*/
4745
- (P = _[0]) != null && P.symbol && /*withSymbol*/
4746
- _[3] === Oe.true ? h ? h.p(_, C) : (h = fr(_), h.c(), h.m(r, i)) : h && (h.d(1), h = null), C & /*selected, placeholder*/
4739
+ (O = _[0]) != null && O.symbol && /*withSymbol*/
4740
+ _[3] === Ne.true ? h ? h.p(_, C) : (h = cr(_), h.c(), h.m(r, i)) : h && (h.d(1), h = null), C & /*selected, placeholder*/
4747
4741
  5 && a !== (a = /*selected*/
4748
4742
  (((b = _[0]) == null ? void 0 : b.currency) || /*placeholder*/
4749
4743
  _[2]) + "") && oe(o, a), C & /*open*/
@@ -4761,37 +4755,37 @@ function bo(e) {
4761
4755
  ), C & /*disabled*/
4762
4756
  16 && (n.disabled = /*disabled*/
4763
4757
  _[4]), /*open*/
4764
- _[7] ? g ? g.p(_, C) : (g = pr(_), g.c(), g.m(t, null)) : g && (g.d(1), g = null);
4758
+ _[7] ? g ? g.p(_, C) : (g = hr(_), g.c(), g.m(t, null)) : g && (g.d(1), g = null);
4765
4759
  },
4766
4760
  i: N,
4767
4761
  o: N,
4768
4762
  d(_) {
4769
- _ && B(t), h && h.d(), g && g.d(), c = !1, Te(f);
4763
+ _ && B(t), h && h.d(), g && g.d(), c = !1, Ce(f);
4770
4764
  }
4771
4765
  };
4772
4766
  }
4773
- const vo = (e) => e.preventDefault();
4774
- function Eo(e, t, n) {
4775
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = k("select") } = t, { withSymbol: o = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4767
+ const yo = (e) => e.preventDefault();
4768
+ function bo(e, t, n) {
4769
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = V("select") } = t, { withSymbol: o = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4776
4770
  } } = t, c = -1, f, h = !1;
4777
4771
  const g = () => {
4778
4772
  r.length !== 0 && (n(7, h = !h), h && (n(5, c = r.findIndex((b) => (b == null ? void 0 : b.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4779
4773
  }, v = (b) => {
4780
4774
  b.detail !== s && h && n(7, h = !1);
4781
- }, d = (b, D) => () => {
4782
- n(7, h = !1), n(0, i = b), u && typeof u == "function" && u(b, D);
4775
+ }, d = (b, M) => () => {
4776
+ n(7, h = !1), n(0, i = b), u && typeof u == "function" && u(b, M);
4783
4777
  }, _ = () => {
4784
4778
  n(7, h = !1);
4785
4779
  }, C = (b) => {
4786
- h && (b.key === St.ArrowDown ? (b.preventDefault(), n(5, c = (c + 1) % r.length)) : b.key === St.ArrowUp ? (b.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : b.key === St.Enter ? (b.preventDefault(), d(i, c)()) : b.key === St.Escape && n(7, h = !1));
4780
+ h && (b.key === Tt.ArrowDown ? (b.preventDefault(), n(5, c = (c + 1) % r.length)) : b.key === Tt.ArrowUp ? (b.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : b.key === Tt.Enter ? (b.preventDefault(), d(i, c)()) : b.key === Tt.Escape && n(7, h = !1));
4787
4781
  };
4788
- Ar(() => {
4782
+ xr(() => {
4789
4783
  window.addEventListener("dropdown-opened", v);
4790
- }), hi(() => {
4784
+ }), ui(() => {
4791
4785
  window.removeEventListener("dropdown-opened", v);
4792
4786
  });
4793
- function P(b) {
4794
- qe[b ? "unshift" : "push"](() => {
4787
+ function O(b) {
4788
+ Ze[b ? "unshift" : "push"](() => {
4795
4789
  f = b, n(6, f);
4796
4790
  });
4797
4791
  }
@@ -4812,17 +4806,17 @@ function Eo(e, t, n) {
4812
4806
  C,
4813
4807
  s,
4814
4808
  u,
4815
- P
4809
+ O
4816
4810
  ];
4817
4811
  }
4818
- class Cn extends Hn {
4812
+ class wn extends Sn {
4819
4813
  constructor(t) {
4820
- super(), Sn(
4814
+ super(), Cn(
4821
4815
  this,
4822
4816
  t,
4823
- Eo,
4824
4817
  bo,
4825
- kt,
4818
+ mo,
4819
+ Dt,
4826
4820
  {
4827
4821
  options: 1,
4828
4822
  selected: 0,
@@ -4832,7 +4826,7 @@ class Cn extends Hn {
4832
4826
  disabled: 4,
4833
4827
  onChange: 13
4834
4828
  },
4835
- yo
4829
+ go
4836
4830
  );
4837
4831
  }
4838
4832
  get options() {
@@ -4878,15 +4872,15 @@ class Cn extends Hn {
4878
4872
  this.$$set({ onChange: t }), $();
4879
4873
  }
4880
4874
  }
4881
- Bn(Cn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4882
- function _o(e) {
4883
- Tn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4875
+ Tn(wn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4876
+ function vo(e) {
4877
+ An(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4884
4878
  }
4885
- function xo(e) {
4886
- let t, n, r = k("balanceUnavailable") + "", i;
4879
+ function Eo(e) {
4880
+ let t, n, r = V("balanceUnavailable") + "", i;
4887
4881
  return {
4888
4882
  c() {
4889
- t = A("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 = R(), i = q(r), y(t, "class", "warningIcon svelte-2fhtvy");
4883
+ t = A("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 = D(), i = q(r), y(t, "class", "warningIcon svelte-2fhtvy");
4890
4884
  },
4891
4885
  m(a, o) {
4892
4886
  H(a, t, o), H(a, n, o), H(a, i, o);
@@ -4899,20 +4893,20 @@ function xo(e) {
4899
4893
  }
4900
4894
  };
4901
4895
  }
4902
- class jt extends Hn {
4896
+ class Gt extends Sn {
4903
4897
  constructor(t) {
4904
- super(), Sn(this, t, null, xo, kt, {}, _o);
4898
+ super(), Cn(this, t, null, Eo, Dt, {}, vo);
4905
4899
  }
4906
4900
  }
4907
- Bn(jt, {}, [], [], !0);
4908
- function wo(e) {
4909
- Tn(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}');
4901
+ Tn(Gt, {}, [], [], !0);
4902
+ function _o(e) {
4903
+ An(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}');
4910
4904
  }
4911
- function dr(e, t, n) {
4905
+ function pr(e, t, n) {
4912
4906
  const r = e.slice();
4913
4907
  return r[62] = t[n], r;
4914
4908
  }
4915
- function mr(e) {
4909
+ function gr(e) {
4916
4910
  let t, n, r;
4917
4911
  return {
4918
4912
  c() {
@@ -4932,9 +4926,9 @@ function mr(e) {
4932
4926
  }
4933
4927
  };
4934
4928
  }
4935
- function yr(e) {
4929
+ function dr(e) {
4936
4930
  let t, n, r, i;
4937
- const a = [Co, Ao], o = [];
4931
+ const a = [wo, xo], o = [];
4938
4932
  function s(l, u) {
4939
4933
  return !/*isBalanceFetched*/
4940
4934
  l[16] || !/*isCurrenciesFetched*/
@@ -4942,16 +4936,16 @@ function yr(e) {
4942
4936
  }
4943
4937
  return t = s(e), n = o[t] = a[t](e), {
4944
4938
  c() {
4945
- n.c(), r = si();
4939
+ n.c(), r = ai();
4946
4940
  },
4947
4941
  m(l, u) {
4948
4942
  o[t].m(l, u), H(l, r, u), i = !0;
4949
4943
  },
4950
4944
  p(l, u) {
4951
4945
  let c = t;
4952
- t = s(l), t === c ? o[t].p(l, u) : (ke(), Z(o[c], 1, 1, () => {
4946
+ t = s(l), t === c ? o[t].p(l, u) : (Me(), Z(o[c], 1, 1, () => {
4953
4947
  o[c] = null;
4954
- }), Ve(), n = o[t], n ? n.p(l, u) : (n = o[t] = a[t](l), n.c()), j(n, 1), n.m(r.parentNode, r));
4948
+ }), ke(), n = o[t], n ? n.p(l, u) : (n = o[t] = a[t](l), n.c()), j(n, 1), n.m(r.parentNode, r));
4955
4949
  },
4956
4950
  i(l) {
4957
4951
  i || (j(n), i = !0);
@@ -4964,9 +4958,9 @@ function yr(e) {
4964
4958
  }
4965
4959
  };
4966
4960
  }
4967
- function Ao(e) {
4961
+ function xo(e) {
4968
4962
  let t, n, r, i;
4969
- const a = [So, To], o = [];
4963
+ const a = [Co, Ao], o = [];
4970
4964
  function s(l, u) {
4971
4965
  var c;
4972
4966
  return (
@@ -4983,9 +4977,9 @@ function Ao(e) {
4983
4977
  },
4984
4978
  p(l, u) {
4985
4979
  let c = n;
4986
- n = s(l), n === c ? o[n].p(l, u) : (ke(), Z(o[c], 1, 1, () => {
4980
+ n = s(l), n === c ? o[n].p(l, u) : (Me(), Z(o[c], 1, 1, () => {
4987
4981
  o[c] = null;
4988
- }), Ve(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), j(r, 1), r.m(t, null));
4982
+ }), ke(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), j(r, 1), r.m(t, null));
4989
4983
  },
4990
4984
  i(l) {
4991
4985
  i || (j(r), i = !0);
@@ -4998,7 +4992,7 @@ function Ao(e) {
4998
4992
  }
4999
4993
  };
5000
4994
  }
5001
- function Co(e) {
4995
+ function wo(e) {
5002
4996
  let t;
5003
4997
  return {
5004
4998
  c() {
@@ -5015,7 +5009,7 @@ function Co(e) {
5015
5009
  }
5016
5010
  };
5017
5011
  }
5018
- function To(e) {
5012
+ function Ao(e) {
5019
5013
  var l, u;
5020
5014
  let t, n, r = (
5021
5015
  /*playerBalance*/
@@ -5026,7 +5020,7 @@ function To(e) {
5026
5020
  ), s;
5027
5021
  return {
5028
5022
  c() {
5029
- t = A("span"), t.textContent = `${k("totalBalance")}`, n = R(), i = q(r), a = R(), s = q(o), y(t, "class", "totalAmount");
5023
+ t = A("span"), t.textContent = `${V("totalBalance")}`, n = D(), i = q(r), a = D(), s = q(o), y(t, "class", "totalAmount");
5030
5024
  },
5031
5025
  m(c, f) {
5032
5026
  H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
@@ -5046,14 +5040,14 @@ function To(e) {
5046
5040
  }
5047
5041
  };
5048
5042
  }
5049
- function So(e) {
5043
+ function Co(e) {
5050
5044
  let t, n;
5051
- return t = new jt({}), {
5045
+ return t = new Gt({}), {
5052
5046
  c() {
5053
- pt(t.$$.fragment);
5047
+ ft(t.$$.fragment);
5054
5048
  },
5055
5049
  m(r, i) {
5056
- Ke(t, r, i), n = !0;
5050
+ qe(t, r, i), n = !0;
5057
5051
  },
5058
5052
  p: N,
5059
5053
  i(r) {
@@ -5063,13 +5057,13 @@ function So(e) {
5063
5057
  Z(t.$$.fragment, r), n = !1;
5064
5058
  },
5065
5059
  d(r) {
5066
- Qe(t, r);
5060
+ Ke(t, r);
5067
5061
  }
5068
5062
  };
5069
5063
  }
5070
- function Bo(e) {
5064
+ function To(e) {
5071
5065
  let t, n, r, i, a, o, s, l, u;
5072
- const c = [Lo, Io], f = [];
5066
+ const c = [Ho, Bo], f = [];
5073
5067
  function h(g, v) {
5074
5068
  var d;
5075
5069
  return (
@@ -5082,7 +5076,7 @@ function Bo(e) {
5082
5076
  t = A("div"), n = A("p"), r = q(
5083
5077
  /*validationError*/
5084
5078
  e[13]
5085
- ), i = R(), a = A("div"), s.c(), y(n, "class", "validationError"), y(a, "class", "playerBalance amountContainer"), y(t, "class", l = "balanceContainer " + /*validationError*/
5079
+ ), i = D(), a = A("div"), s.c(), y(n, "class", "validationError"), y(a, "class", "playerBalance amountContainer"), y(t, "class", l = "balanceContainer " + /*validationError*/
5086
5080
  (e[13] ? "hasError" : ""));
5087
5081
  },
5088
5082
  m(g, v) {
@@ -5096,9 +5090,9 @@ function Bo(e) {
5096
5090
  g[13]
5097
5091
  );
5098
5092
  let d = o;
5099
- o = h(g), o === d ? f[o].p(g, v) : (ke(), Z(f[d], 1, 1, () => {
5093
+ o = h(g), o === d ? f[o].p(g, v) : (Me(), Z(f[d], 1, 1, () => {
5100
5094
  f[d] = null;
5101
- }), Ve(), s = f[o], s ? s.p(g, v) : (s = f[o] = c[o](g), s.c()), j(s, 1), s.m(a, null)), (!u || v[0] & /*validationError*/
5095
+ }), ke(), s = f[o], s ? s.p(g, v) : (s = f[o] = c[o](g), s.c()), j(s, 1), s.m(a, null)), (!u || v[0] & /*validationError*/
5102
5096
  8192 && l !== (l = "balanceContainer " + /*validationError*/
5103
5097
  (g[13] ? "hasError" : ""))) && y(t, "class", l);
5104
5098
  },
@@ -5113,7 +5107,7 @@ function Bo(e) {
5113
5107
  }
5114
5108
  };
5115
5109
  }
5116
- function Ho(e) {
5110
+ function So(e) {
5117
5111
  let t;
5118
5112
  return {
5119
5113
  c() {
@@ -5130,7 +5124,7 @@ function Ho(e) {
5130
5124
  }
5131
5125
  };
5132
5126
  }
5133
- function Io(e) {
5127
+ function Bo(e) {
5134
5128
  var l, u;
5135
5129
  let t, n, r = (
5136
5130
  /*selectedCurrencyFrom*/
@@ -5141,7 +5135,7 @@ function Io(e) {
5141
5135
  ), s;
5142
5136
  return {
5143
5137
  c() {
5144
- t = A("span"), t.textContent = `${k("currentBalance")}`, n = R(), i = q(r), a = R(), s = q(o), y(t, "class", "amount");
5138
+ t = A("span"), t.textContent = `${V("currentBalance")}`, n = D(), i = q(r), a = D(), s = q(o), y(t, "class", "amount");
5145
5139
  },
5146
5140
  m(c, f) {
5147
5141
  H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
@@ -5161,14 +5155,14 @@ function Io(e) {
5161
5155
  }
5162
5156
  };
5163
5157
  }
5164
- function Lo(e) {
5158
+ function Ho(e) {
5165
5159
  let t, n;
5166
- return t = new jt({}), {
5160
+ return t = new Gt({}), {
5167
5161
  c() {
5168
- pt(t.$$.fragment);
5162
+ ft(t.$$.fragment);
5169
5163
  },
5170
5164
  m(r, i) {
5171
- Ke(t, r, i), n = !0;
5165
+ qe(t, r, i), n = !0;
5172
5166
  },
5173
5167
  p: N,
5174
5168
  i(r) {
@@ -5178,13 +5172,13 @@ function Lo(e) {
5178
5172
  Z(t.$$.fragment, r), n = !1;
5179
5173
  },
5180
5174
  d(r) {
5181
- Qe(t, r);
5175
+ Ke(t, r);
5182
5176
  }
5183
5177
  };
5184
5178
  }
5185
- function No(e) {
5179
+ function Io(e) {
5186
5180
  let t, n, r, i;
5187
- const a = [Ro, Po], o = [];
5181
+ const a = [Po, No], o = [];
5188
5182
  function s(l, u) {
5189
5183
  var c;
5190
5184
  return (
@@ -5201,9 +5195,9 @@ function No(e) {
5201
5195
  },
5202
5196
  p(l, u) {
5203
5197
  let c = n;
5204
- n = s(l), n === c ? o[n].p(l, u) : (ke(), Z(o[c], 1, 1, () => {
5198
+ n = s(l), n === c ? o[n].p(l, u) : (Me(), Z(o[c], 1, 1, () => {
5205
5199
  o[c] = null;
5206
- }), Ve(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), j(r, 1), r.m(t, null));
5200
+ }), ke(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), j(r, 1), r.m(t, null));
5207
5201
  },
5208
5202
  i(l) {
5209
5203
  i || (j(r), i = !0);
@@ -5216,7 +5210,7 @@ function No(e) {
5216
5210
  }
5217
5211
  };
5218
5212
  }
5219
- function Oo(e) {
5213
+ function Lo(e) {
5220
5214
  let t;
5221
5215
  return {
5222
5216
  c() {
@@ -5233,7 +5227,7 @@ function Oo(e) {
5233
5227
  }
5234
5228
  };
5235
5229
  }
5236
- function Po(e) {
5230
+ function No(e) {
5237
5231
  var l, u;
5238
5232
  let t, n, r = (
5239
5233
  /*selectedCurrencyTo*/
@@ -5244,7 +5238,7 @@ function Po(e) {
5244
5238
  ), s;
5245
5239
  return {
5246
5240
  c() {
5247
- t = A("span"), t.textContent = `${k("currentBalance")}`, n = R(), i = q(r), a = R(), s = q(o), y(t, "class", "amount");
5241
+ t = A("span"), t.textContent = `${V("currentBalance")}`, n = D(), i = q(r), a = D(), s = q(o), y(t, "class", "amount");
5248
5242
  },
5249
5243
  m(c, f) {
5250
5244
  H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
@@ -5264,14 +5258,14 @@ function Po(e) {
5264
5258
  }
5265
5259
  };
5266
5260
  }
5267
- function Ro(e) {
5261
+ function Po(e) {
5268
5262
  let t, n;
5269
- return t = new jt({}), {
5263
+ return t = new Gt({}), {
5270
5264
  c() {
5271
- pt(t.$$.fragment);
5265
+ ft(t.$$.fragment);
5272
5266
  },
5273
5267
  m(r, i) {
5274
- Ke(t, r, i), n = !0;
5268
+ qe(t, r, i), n = !0;
5275
5269
  },
5276
5270
  p: N,
5277
5271
  i(r) {
@@ -5281,20 +5275,20 @@ function Ro(e) {
5281
5275
  Z(t.$$.fragment, r), n = !1;
5282
5276
  },
5283
5277
  d(r) {
5284
- Qe(t, r);
5278
+ Ke(t, r);
5285
5279
  }
5286
5280
  };
5287
5281
  }
5288
- function br(e) {
5289
- let t, n, r, i, a, o, s, l, u, c, f = Ot(
5282
+ function mr(e) {
5283
+ let t, n, r, i, a, o, s, l, u, c, f = Nt(
5290
5284
  /*dropDownVaults*/
5291
5285
  e[19]
5292
5286
  ), h = [];
5293
5287
  for (let g = 0; g < f.length; g += 1)
5294
- h[g] = vr(dr(e, f, g));
5288
+ h[g] = yr(pr(e, f, g));
5295
5289
  return {
5296
5290
  c() {
5297
- t = A("div"), n = A("button"), r = kn("svg"), i = kn("path"), o = R(), s = A("div");
5291
+ t = A("div"), n = A("button"), r = Dn("svg"), i = Dn("path"), o = D(), s = A("div");
5298
5292
  for (let g = 0; g < h.length; g += 1)
5299
5293
  h[g].c();
5300
5294
  y(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"), y(i, "fill", "currentColor"), y(r, "class", "vaultToggleIcon"), y(r, "width", "12"), y(r, "height", "7"), y(r, "viewBox", "0 0 12 7"), y(r, "fill", "currentColor"), y(r, "xmlns", "http://www.w3.org/2000/svg"), y(n, "type", "button"), y(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
@@ -5320,14 +5314,14 @@ function br(e) {
5320
5314
  (g[15] && /*dropDownVaults*/
5321
5315
  g[19].length > 0 ? "active" : "")) && y(n, "class", a), v[0] & /*dropDownVaults*/
5322
5316
  524288) {
5323
- f = Ot(
5317
+ f = Nt(
5324
5318
  /*dropDownVaults*/
5325
5319
  g[19]
5326
5320
  );
5327
5321
  let d;
5328
5322
  for (d = 0; d < f.length; d += 1) {
5329
- const _ = dr(g, f, d);
5330
- h[d] ? h[d].p(_, v) : (h[d] = vr(_), h[d].c(), h[d].m(s, null));
5323
+ const _ = pr(g, f, d);
5324
+ h[d] ? h[d].p(_, v) : (h[d] = yr(_), h[d].c(), h[d].m(s, null));
5331
5325
  }
5332
5326
  for (; d < h.length; d += 1)
5333
5327
  h[d].d(1);
@@ -5339,11 +5333,11 @@ function br(e) {
5339
5333
  g[19].length > 0 ? "expanded" : "")) && y(s, "class", l);
5340
5334
  },
5341
5335
  d(g) {
5342
- g && B(t), xr(h, g), u = !1, c();
5336
+ g && B(t), Er(h, g), u = !1, c();
5343
5337
  }
5344
5338
  };
5345
5339
  }
5346
- function vr(e) {
5340
+ function yr(e) {
5347
5341
  var c, f;
5348
5342
  let t, n, r = (
5349
5343
  /*vault*/
@@ -5354,7 +5348,7 @@ function vr(e) {
5354
5348
  ), l, u;
5355
5349
  return {
5356
5350
  c() {
5357
- t = A("div"), n = A("p"), i = q(r), a = R(), o = A("p"), l = q(s), u = R(), y(t, "class", "vaultItem");
5351
+ t = A("div"), n = A("p"), i = q(r), a = D(), o = A("p"), l = q(s), u = D(), y(t, "class", "vaultItem");
5358
5352
  },
5359
5353
  m(h, g) {
5360
5354
  H(h, t, g), E(t, n), E(n, i), E(t, a), E(t, o), E(o, l), E(t, u);
@@ -5372,7 +5366,7 @@ function vr(e) {
5372
5366
  }
5373
5367
  };
5374
5368
  }
5375
- function Do(e) {
5369
+ function Oo(e) {
5376
5370
  var r, i, a, o;
5377
5371
  let t = `${/*currentFee*/
5378
5372
  ((i = (r = e[11]) == null ? void 0 : r.fees[0]) == null ? void 0 : i.amount) || 0} ${/*currentFee*/
@@ -5396,8 +5390,8 @@ function Do(e) {
5396
5390
  }
5397
5391
  };
5398
5392
  }
5399
- function Mo(e) {
5400
- let t = k("feesUnavailable") + "", n;
5393
+ function Ro(e) {
5394
+ let t = V("feesUnavailable") + "", n;
5401
5395
  return {
5402
5396
  c() {
5403
5397
  n = q(t);
@@ -5411,22 +5405,22 @@ function Mo(e) {
5411
5405
  }
5412
5406
  };
5413
5407
  }
5414
- function ko(e) {
5408
+ function Do(e) {
5415
5409
  var W;
5416
- let t, n, r, i, a, o, s, l, u, c, f, h, g, v, d, _, C, P, b, D, M, X, ve, se, z, fe, Ee, ue, pe, Se, Y, ne, ge, at, Be, Fe, bt, Ge, ot, le, _e = k(
5410
+ let t, n, r, i, a, o, s, l, u, c, f, h, g, v, d, _, C, O, b, M, k, X, be, se, z, fe, ve, ue, pe, Te, Y, ne, ge, it, Se, Ue, yt, Fe, at, le, Ee = V(
5417
5411
  /*fetchResponse*/
5418
5412
  ((W = e[12]) == null ? void 0 : W.message) || ""
5419
- ) + "", He, xe, we, $e, re, Ie = k("exchange") + "", vt, Ae, ie, st, lt, J = (
5413
+ ) + "", Be, _e, xe, Ge, re, He = V("exchange") + "", bt, we, ie, ot, st, J = (
5420
5414
  /*showclosebutton*/
5421
- e[3] === Oe.true && mr(e)
5415
+ e[3] === Ne.true && gr(e)
5422
5416
  ), G = (
5423
5417
  /*showtotalbalance*/
5424
- e[2] === Oe.true && yr(e)
5418
+ e[2] === Ne.true && dr(e)
5425
5419
  );
5426
- function Wt(m) {
5420
+ function $t(m) {
5427
5421
  e[39](m);
5428
5422
  }
5429
- let Et = {
5423
+ let vt = {
5430
5424
  id: "senderSelect",
5431
5425
  withSymbol: (
5432
5426
  /*showcurrencysymbol*/
@@ -5445,19 +5439,19 @@ function ko(e) {
5445
5439
  )
5446
5440
  };
5447
5441
  /*selectedCurrencyFrom*/
5448
- e[5] !== void 0 && (Et.selected = /*selectedCurrencyFrom*/
5449
- e[5]), d = new Cn({ props: Et }), qe.push(() => Un(d, "selected", Wt));
5450
- const _t = [Ho, Bo], de = [];
5451
- function ut(m, S) {
5442
+ e[5] !== void 0 && (vt.selected = /*selectedCurrencyFrom*/
5443
+ e[5]), d = new wn({ props: vt }), Ze.push(() => kn(d, "selected", $t));
5444
+ const Et = [So, To], de = [];
5445
+ function lt(m, S) {
5452
5446
  return !/*isBalanceFetched*/
5453
5447
  m[16] || !/*isCurrenciesFetched*/
5454
5448
  m[17] ? 0 : 1;
5455
5449
  }
5456
- P = ut(e), b = de[P] = _t[P](e);
5457
- function Xt(m) {
5450
+ O = lt(e), b = de[O] = Et[O](e);
5451
+ function jt(m) {
5458
5452
  e[41](m);
5459
5453
  }
5460
- let xt = {
5454
+ let _t = {
5461
5455
  id: "destinationSelect",
5462
5456
  withSymbol: (
5463
5457
  /*showcurrencysymbol*/
@@ -5478,37 +5472,37 @@ function ko(e) {
5478
5472
  )
5479
5473
  };
5480
5474
  /*selectedCurrencyTo*/
5481
- e[6] !== void 0 && (xt.selected = /*selectedCurrencyTo*/
5482
- e[6]), ue = new Cn({ props: xt }), qe.push(() => Un(ue, "selected", Xt));
5483
- const wt = [Oo, No], me = [];
5484
- function At(m, S) {
5475
+ e[6] !== void 0 && (_t.selected = /*selectedCurrencyTo*/
5476
+ e[6]), ue = new wn({ props: _t }), Ze.push(() => kn(ue, "selected", jt));
5477
+ const xt = [Lo, Io], me = [];
5478
+ function wt(m, S) {
5485
5479
  return !/*isBalanceFetched*/
5486
5480
  m[16] || !/*isCurrenciesFetched*/
5487
5481
  m[17] ? 0 : 1;
5488
5482
  }
5489
- Y = At(e), ne = me[Y] = wt[Y](e);
5483
+ Y = wt(e), ne = me[Y] = xt[Y](e);
5490
5484
  let p = (
5491
5485
  /*showvaults*/
5492
- e[1] === Oe.true && br(e)
5486
+ e[1] === Ne.true && mr(e)
5493
5487
  );
5494
5488
  function w(m, S) {
5495
5489
  var ee;
5496
5490
  return (
5497
5491
  /*fetchResponse*/
5498
- ((ee = m[12]) == null ? void 0 : ee.source) === K.CheckWalletExchangeError ? Mo : Do
5492
+ ((ee = m[12]) == null ? void 0 : ee.source) === K.CheckWalletExchangeError ? Ro : Oo
5499
5493
  );
5500
5494
  }
5501
5495
  let I = w(e), x = I(e);
5502
5496
  return {
5503
5497
  c() {
5504
5498
  var m, S, ee;
5505
- t = A("div"), J && J.c(), n = R(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, a = R(), G && G.c(), o = R(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${k("exchangeFrom")}`, c = R(), f = A("div"), h = A("input"), v = R(), pt(d.$$.fragment), C = R(), b.c(), D = R(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ve = R(), se = A("div"), z = A("input"), Ee = R(), pt(ue.$$.fragment), Se = R(), ne.c(), ge = R(), p && p.c(), at = R(), Be = A("div"), Fe = A("span"), Fe.textContent = `${k("feesIncluded")}`, bt = R(), Ge = A("span"), x.c(), ot = R(), le = A("div"), He = R(), xe = A("div"), we = A("button"), we.textContent = `${k("reset")}`, $e = R(), re = A("button"), vt = q(Ie), y(i, "class", "headerTitle"), y(r, "class", "headerContainer"), y(u, "class", "exchangeHeader"), y(h, "id", "senderInput"), h.disabled = g = !/*session*/
5499
+ t = A("div"), J && J.c(), n = D(), r = A("div"), i = A("h1"), i.textContent = `${V("vaultExchange")}`, a = D(), G && G.c(), o = D(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${V("exchangeFrom")}`, c = D(), f = A("div"), h = A("input"), v = D(), ft(d.$$.fragment), C = D(), b.c(), M = D(), k = A("div"), X = A("p"), X.textContent = `${V("exchangeTo")}`, be = D(), se = A("div"), z = A("input"), ve = D(), ft(ue.$$.fragment), Te = D(), ne.c(), ge = D(), p && p.c(), it = D(), Se = A("div"), Ue = A("span"), Ue.textContent = `${V("feesIncluded")}`, yt = D(), Fe = A("span"), x.c(), at = D(), le = A("div"), Be = D(), _e = A("div"), xe = A("button"), xe.textContent = `${V("reset")}`, Ge = D(), re = A("button"), bt = q(He), y(i, "class", "headerTitle"), y(r, "class", "headerContainer"), y(u, "class", "exchangeHeader"), y(h, "id", "senderInput"), h.disabled = g = !/*session*/
5506
5500
  e[0] || !/*isBalanceFetched*/
5507
5501
  e[16] || !/*isCurrenciesFetched*/
5508
- e[17], y(h, "placeholder", k("debitPlaceHolder")), y(h, "class", "exchangeInput"), y(h, "type", "number"), y(h, "aria-label", "Enter exchange amount"), y(h, "inputmode", "decimal"), y(h, "step", "0.000000000000001"), y(h, "min", "0"), y(f, "class", "flexingContainerRow"), y(l, "class", "containerExchangeFrom exchangeContainer"), y(X, "class", "exchangeHeader"), y(z, "id", "destinationInput"), z.disabled = fe = !/*session*/
5502
+ e[17], y(h, "placeholder", V("debitPlaceHolder")), y(h, "class", "exchangeInput"), y(h, "type", "number"), y(h, "aria-label", "Enter exchange amount"), y(h, "inputmode", "decimal"), y(h, "step", "0.000000000000001"), y(h, "min", "0"), y(f, "class", "flexingContainerRow"), y(l, "class", "containerExchangeFrom exchangeContainer"), y(X, "class", "exchangeHeader"), y(z, "id", "destinationInput"), z.disabled = fe = !/*session*/
5509
5503
  e[0] || !/*isBalanceFetched*/
5510
5504
  e[16] || !/*isCurrenciesFetched*/
5511
- e[17], y(z, "placeholder", k("creditPlaceHolder")), y(z, "class", "exchangeInput"), y(z, "type", "number"), z.readOnly = !0, y(z, "min", "0"), y(se, "class", "flexingContainerRow"), y(M, "class", "containerExchangeTo exchangeContainer"), y(s, "class", "exchangesContainer"), y(Fe, "class", "feesLabel"), y(Be, "class", "feesContainer"), y(le, "class", "notificationsContainer"), he(
5505
+ e[17], y(z, "placeholder", V("creditPlaceHolder")), y(z, "class", "exchangeInput"), y(z, "type", "number"), z.readOnly = !0, y(z, "min", "0"), y(se, "class", "flexingContainerRow"), y(k, "class", "containerExchangeTo exchangeContainer"), y(s, "class", "exchangesContainer"), y(Ue, "class", "feesLabel"), y(Se, "class", "feesContainer"), y(le, "class", "notificationsContainer"), he(
5512
5506
  le,
5513
5507
  "error",
5514
5508
  /*fetchResponse*/
@@ -5518,7 +5512,7 @@ function ko(e) {
5518
5512
  "success",
5519
5513
  /*fetchResponse*/
5520
5514
  ((S = e[12]) == null ? void 0 : S.type) === "success"
5521
- ), y(we, "class", "resetButton"), y(we, "type", "button"), y(re, "type", "button"), y(re, "class", "exchangeButton"), re.disabled = Ae = /*isExchangeDisabled*/
5515
+ ), y(xe, "class", "resetButton"), y(xe, "type", "button"), y(re, "type", "button"), y(re, "class", "exchangeButton"), re.disabled = we = /*isExchangeDisabled*/
5522
5516
  e[14] || /*isExchangePending*/
5523
5517
  e[18] || /*inputExchangeFrom*/
5524
5518
  e[8] === 0 && !/*selectedCurrencyFrom*/
@@ -5533,18 +5527,18 @@ function ko(e) {
5533
5527
  "pending",
5534
5528
  /*isExchangePending*/
5535
5529
  e[18]
5536
- ), y(xe, "class", "actionsContainer"), y(t, "class", "playerAccountVault");
5530
+ ), y(_e, "class", "actionsContainer"), y(t, "class", "playerAccountVault");
5537
5531
  },
5538
5532
  m(m, S) {
5539
- H(m, t, S), J && J.m(t, null), E(t, n), E(t, r), E(r, i), E(r, a), G && G.m(r, null), E(t, o), E(t, s), E(s, l), E(l, u), E(l, c), E(l, f), E(f, h), Ct(
5533
+ H(m, t, S), J && J.m(t, null), E(t, n), E(t, r), E(r, i), E(r, a), G && G.m(r, null), E(t, o), E(t, s), E(s, l), E(l, u), E(l, c), E(l, f), E(f, h), At(
5540
5534
  h,
5541
5535
  /*inputExchangeFrom*/
5542
5536
  e[8]
5543
- ), E(f, v), Ke(d, f, null), E(l, C), de[P].m(l, null), E(s, D), E(s, M), E(M, X), E(M, ve), E(M, se), E(se, z), Ct(
5537
+ ), E(f, v), qe(d, f, null), E(l, C), de[O].m(l, null), E(s, M), E(s, k), E(k, X), E(k, be), E(k, se), E(se, z), At(
5544
5538
  z,
5545
5539
  /*inputExchangeTo*/
5546
5540
  e[9]
5547
- ), E(se, Ee), Ke(ue, se, null), E(M, Se), me[Y].m(M, null), E(t, ge), p && p.m(t, null), E(t, at), E(t, Be), E(Be, Fe), E(Be, bt), E(Be, Ge), x.m(Ge, null), E(t, ot), E(t, le), le.innerHTML = _e, E(t, He), E(t, xe), E(xe, we), E(xe, $e), E(xe, re), E(re, vt), e[42](t), ie = !0, st || (lt = [
5541
+ ), E(se, ve), qe(ue, se, null), E(k, Te), me[Y].m(k, null), E(t, ge), p && p.m(t, null), E(t, it), E(t, Se), E(Se, Ue), E(Se, yt), E(Se, Fe), x.m(Fe, null), E(t, at), E(t, le), le.innerHTML = Ee, E(t, Be), E(t, _e), E(_e, xe), E(_e, Ge), E(_e, re), E(re, bt), e[42](t), ie = !0, ot || (st = [
5548
5542
  ae(
5549
5543
  h,
5550
5544
  "input",
@@ -5576,7 +5570,7 @@ function ko(e) {
5576
5570
  e[40]
5577
5571
  ),
5578
5572
  ae(
5579
- we,
5573
+ xe,
5580
5574
  "click",
5581
5575
  /*handleResetToDefault*/
5582
5576
  e[24]
@@ -5587,22 +5581,22 @@ function ko(e) {
5587
5581
  /*handleExchange*/
5588
5582
  e[29]
5589
5583
  )
5590
- ], st = !0);
5584
+ ], ot = !0);
5591
5585
  },
5592
5586
  p(m, S) {
5593
- var Le, On, Pn, Rn;
5587
+ var Ie, Ln, Nn, Pn;
5594
5588
  /*showclosebutton*/
5595
- m[3] === Oe.true ? J ? J.p(m, S) : (J = mr(m), J.c(), J.m(t, n)) : J && (J.d(1), J = null), /*showtotalbalance*/
5596
- m[2] === Oe.true ? G ? (G.p(m, S), S[0] & /*showtotalbalance*/
5597
- 4 && j(G, 1)) : (G = yr(m), G.c(), j(G, 1), G.m(r, null)) : G && (ke(), Z(G, 1, 1, () => {
5589
+ m[3] === Ne.true ? J ? J.p(m, S) : (J = gr(m), J.c(), J.m(t, n)) : J && (J.d(1), J = null), /*showtotalbalance*/
5590
+ m[2] === Ne.true ? G ? (G.p(m, S), S[0] & /*showtotalbalance*/
5591
+ 4 && j(G, 1)) : (G = dr(m), G.c(), j(G, 1), G.m(r, null)) : G && (Me(), Z(G, 1, 1, () => {
5598
5592
  G = null;
5599
- }), Ve()), (!ie || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5593
+ }), ke()), (!ie || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5600
5594
  196609 && g !== (g = !/*session*/
5601
5595
  m[0] || !/*isBalanceFetched*/
5602
5596
  m[16] || !/*isCurrenciesFetched*/
5603
5597
  m[17])) && (h.disabled = g), S[0] & /*inputExchangeFrom*/
5604
- 256 && Nt(h.value) !== /*inputExchangeFrom*/
5605
- m[8] && Ct(
5598
+ 256 && Lt(h.value) !== /*inputExchangeFrom*/
5599
+ m[8] && At(
5606
5600
  h,
5607
5601
  /*inputExchangeFrom*/
5608
5602
  m[8]
@@ -5617,17 +5611,17 @@ function ko(e) {
5617
5611
  1048576 && (ee.options = /*optionsFrom*/
5618
5612
  m[20]), !_ && S[0] & /*selectedCurrencyFrom*/
5619
5613
  32 && (_ = !0, ee.selected = /*selectedCurrencyFrom*/
5620
- m[5], Vn(() => _ = !1)), d.$set(ee);
5621
- let ye = P;
5622
- P = ut(m), P === ye ? de[P].p(m, S) : (ke(), Z(de[ye], 1, 1, () => {
5614
+ m[5], Mn(() => _ = !1)), d.$set(ee);
5615
+ let ye = O;
5616
+ O = lt(m), O === ye ? de[O].p(m, S) : (Me(), Z(de[ye], 1, 1, () => {
5623
5617
  de[ye] = null;
5624
- }), Ve(), b = de[P], b ? b.p(m, S) : (b = de[P] = _t[P](m), b.c()), j(b, 1), b.m(l, null)), (!ie || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5618
+ }), ke(), b = de[O], b ? b.p(m, S) : (b = de[O] = Et[O](m), b.c()), j(b, 1), b.m(l, null)), (!ie || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5625
5619
  196609 && fe !== (fe = !/*session*/
5626
5620
  m[0] || !/*isBalanceFetched*/
5627
5621
  m[16] || !/*isCurrenciesFetched*/
5628
5622
  m[17])) && (z.disabled = fe), S[0] & /*inputExchangeTo*/
5629
- 512 && Nt(z.value) !== /*inputExchangeTo*/
5630
- m[9] && Ct(
5623
+ 512 && Lt(z.value) !== /*inputExchangeTo*/
5624
+ m[9] && At(
5631
5625
  z,
5632
5626
  /*inputExchangeTo*/
5633
5627
  m[9]
@@ -5644,33 +5638,33 @@ function ko(e) {
5644
5638
  2097152 && (T.options = /*optionsTo*/
5645
5639
  m[21]), !pe && S[0] & /*selectedCurrencyTo*/
5646
5640
  64 && (pe = !0, T.selected = /*selectedCurrencyTo*/
5647
- m[6], Vn(() => pe = !1)), ue.$set(T);
5648
- let Ce = Y;
5649
- Y = At(m), Y === Ce ? me[Y].p(m, S) : (ke(), Z(me[Ce], 1, 1, () => {
5650
- me[Ce] = null;
5651
- }), Ve(), ne = me[Y], ne ? ne.p(m, S) : (ne = me[Y] = wt[Y](m), ne.c()), j(ne, 1), ne.m(M, null)), /*showvaults*/
5652
- m[1] === Oe.true ? p ? p.p(m, S) : (p = br(m), p.c(), p.m(t, at)) : p && (p.d(1), p = null), I === (I = w(m)) && x ? x.p(m, S) : (x.d(1), x = I(m), x && (x.c(), x.m(Ge, null))), (!ie || S[0] & /*fetchResponse*/
5653
- 4096) && _e !== (_e = k(
5641
+ m[6], Mn(() => pe = !1)), ue.$set(T);
5642
+ let Ae = Y;
5643
+ Y = wt(m), Y === Ae ? me[Y].p(m, S) : (Me(), Z(me[Ae], 1, 1, () => {
5644
+ me[Ae] = null;
5645
+ }), ke(), ne = me[Y], ne ? ne.p(m, S) : (ne = me[Y] = xt[Y](m), ne.c()), j(ne, 1), ne.m(k, null)), /*showvaults*/
5646
+ m[1] === Ne.true ? p ? p.p(m, S) : (p = mr(m), p.c(), p.m(t, it)) : p && (p.d(1), p = null), I === (I = w(m)) && x ? x.p(m, S) : (x.d(1), x = I(m), x && (x.c(), x.m(Fe, null))), (!ie || S[0] & /*fetchResponse*/
5647
+ 4096) && Ee !== (Ee = V(
5654
5648
  /*fetchResponse*/
5655
- ((Le = m[12]) == null ? void 0 : Le.message) || ""
5656
- ) + "") && (le.innerHTML = _e), (!ie || S[0] & /*fetchResponse*/
5649
+ ((Ie = m[12]) == null ? void 0 : Ie.message) || ""
5650
+ ) + "") && (le.innerHTML = Ee), (!ie || S[0] & /*fetchResponse*/
5657
5651
  4096) && he(
5658
5652
  le,
5659
5653
  "error",
5660
5654
  /*fetchResponse*/
5661
- ((On = m[12]) == null ? void 0 : On.type) === "error"
5655
+ ((Ln = m[12]) == null ? void 0 : Ln.type) === "error"
5662
5656
  ), (!ie || S[0] & /*fetchResponse*/
5663
5657
  4096) && he(
5664
5658
  le,
5665
5659
  "success",
5666
5660
  /*fetchResponse*/
5667
- ((Pn = m[12]) == null ? void 0 : Pn.type) === "success"
5661
+ ((Nn = m[12]) == null ? void 0 : Nn.type) === "success"
5668
5662
  ), (!ie || S[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5669
- 278816 && Ae !== (Ae = /*isExchangeDisabled*/
5663
+ 278816 && we !== (we = /*isExchangeDisabled*/
5670
5664
  m[14] || /*isExchangePending*/
5671
5665
  m[18] || /*inputExchangeFrom*/
5672
5666
  m[8] === 0 && !/*selectedCurrencyFrom*/
5673
- ((Rn = m[5]) != null && Rn.amount))) && (re.disabled = Ae), (!ie || S[0] & /*isExchangeDisabled, isExchangePending*/
5667
+ ((Pn = m[5]) != null && Pn.amount))) && (re.disabled = we), (!ie || S[0] & /*isExchangeDisabled, isExchangePending*/
5674
5668
  278528) && he(
5675
5669
  re,
5676
5670
  "disabled",
@@ -5692,29 +5686,29 @@ function ko(e) {
5692
5686
  Z(G), Z(d.$$.fragment, m), Z(b), Z(ue.$$.fragment, m), Z(ne), ie = !1;
5693
5687
  },
5694
5688
  d(m) {
5695
- m && B(t), J && J.d(), G && G.d(), Qe(d), de[P].d(), Qe(ue), me[Y].d(), p && p.d(), x.d(), e[42](null), st = !1, Te(lt);
5689
+ m && B(t), J && J.d(), G && G.d(), Ke(d), de[O].d(), Ke(ue), me[Y].d(), p && p.d(), x.d(), e[42](null), ot = !1, Ce(st);
5696
5690
  }
5697
5691
  };
5698
5692
  }
5699
- function Vo(e, t, n) {
5700
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: v = "true" } = t, d = null, _ = null, C = 0, P = 0, b = 0, D = null, M = null, X = null, ve = "", se = !0, z = !1, fe = !1, Ee = !1, ue = !1, pe = [], Se = [], Y = [], ne = [], ge;
5701
- lo({ withLocale: "en", translations: {} }), Object.keys(or).forEach((p) => {
5702
- ar(p, or[p]);
5693
+ function Mo(e, t, n) {
5694
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: v = "true" } = t, d = null, _ = null, C = 0, O = 0, b = 0, M = null, k = null, X = null, be = "", se = !0, z = !1, fe = !1, ve = !1, ue = !1, pe = [], Te = [], Y = [], ne = [], ge;
5695
+ oo({ withLocale: "en", translations: {} }), Object.keys(ir).forEach((p) => {
5696
+ rr(p, ir[p]);
5703
5697
  });
5704
- const at = () => {
5705
- uo(o);
5706
- }, Be = () => {
5698
+ const it = () => {
5699
+ so(o);
5700
+ }, Se = () => {
5707
5701
  fetch(u).then((p) => p.json()).then((p) => {
5708
5702
  Object.keys(p).forEach((w) => {
5709
- ar(w, p[w]);
5703
+ rr(w, p[w]);
5710
5704
  });
5711
5705
  }).catch((p) => {
5712
5706
  console.error("There was a problem with the translations request.", p);
5713
5707
  });
5714
- }, Fe = () => {
5708
+ }, Ue = () => {
5715
5709
  let p = document.createElement("style");
5716
5710
  p.innerHTML = s, ge.appendChild(p);
5717
- }, bt = () => {
5711
+ }, yt = () => {
5718
5712
  let p, w = new URL(l), I = document.createElement("style");
5719
5713
  fetch(w.href).then((x) => x.text()).then((x) => {
5720
5714
  I.innerHTML = x, p && clearTimeout(p), p = setTimeout(
@@ -5724,59 +5718,59 @@ function Vo(e, t, n) {
5724
5718
  1
5725
5719
  );
5726
5720
  });
5727
- }, Ge = () => {
5728
- Se.length !== 0 && (n(15, z = !z), window.postMessage(
5721
+ }, Fe = () => {
5722
+ Te.length !== 0 && (n(15, z = !z), window.postMessage(
5729
5723
  {
5730
- type: on.VaultDropdownToggled,
5724
+ type: rn.VaultDropdownToggled,
5731
5725
  state: z
5732
5726
  },
5733
5727
  window.location.href
5734
5728
  ));
5735
- }, ot = () => {
5729
+ }, at = () => {
5736
5730
  window.postMessage(
5737
5731
  {
5738
- type: on.VaultWidgetClosed
5732
+ type: rn.VaultWidgetClosed
5739
5733
  },
5740
5734
  window.location.href
5741
5735
  );
5742
5736
  }, le = () => {
5743
- n(14, se = !0), He(), xe(), we(), $e(), window.postMessage({ type: on.VaultWidgetReset }, window.location.href);
5744
- }, _e = () => {
5737
+ n(14, se = !0), Be(), _e(), xe(), Ge(), window.postMessage({ type: rn.VaultWidgetReset }, window.location.href);
5738
+ }, Ee = () => {
5745
5739
  n(14, se = !0), n(9, b = 0);
5746
- }, He = () => {
5747
- n(11, M = null);
5748
- }, xe = () => {
5740
+ }, Be = () => {
5741
+ n(11, k = null);
5742
+ }, _e = () => {
5749
5743
  n(8, C = 0), n(9, b = 0);
5750
- }, we = () => {
5751
- n(13, ve = "");
5752
- }, $e = () => {
5744
+ }, xe = () => {
5745
+ n(13, be = "");
5746
+ }, Ge = () => {
5753
5747
  n(12, X = null);
5754
5748
  }, re = (p) => {
5755
- p && n(13, ve = p);
5756
- }, Ie = ({ type: p, message: w, source: I = "" }) => {
5749
+ p && n(13, be = p);
5750
+ }, He = ({ type: p, message: w, source: I = "" }) => {
5757
5751
  let x;
5758
5752
  switch (n(12, X = { message: w, source: I, type: p }), p) {
5759
- case Ne.error:
5753
+ case Le.error:
5760
5754
  n(14, se = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href);
5761
5755
  break;
5762
- case Ne.success:
5756
+ case Le.success:
5763
5757
  n(14, se = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5764
5758
  () => {
5765
- $e();
5759
+ Ge();
5766
5760
  },
5767
- ho
5761
+ uo
5768
5762
  );
5769
5763
  break;
5770
5764
  }
5771
- }, vt = () => new Promise((p, w) => {
5772
- const I = X == null ? void 0 : X.message.includes(fo.InvalidSession);
5773
- I && w(), isNaN(Number(C)) && (_e(), He(), w(k("invalidValue"))), C > (d == null ? void 0 : d.amount) && (_e(), He(), w(k("exceededValue"))), C === null && !I && (_e(), He(), w()), C === 0 && C === 0 && !I && (le(), w()), (!d || !_) && !I && w(), we(), p();
5774
- }), Ae = (p, w) => qt(this, null, function* () {
5765
+ }, bt = () => new Promise((p, w) => {
5766
+ const I = X == null ? void 0 : X.message.includes(co.InvalidSession);
5767
+ I && w(), isNaN(Number(C)) && (Ee(), Be(), w(V("invalidValue"))), C > (d == null ? void 0 : d.amount) && (Ee(), Be(), w(V("exceededValue"))), C === null && !I && (Ee(), Be(), w()), C === 0 && C === 0 && !I && (le(), w()), (!d || !_) && !I && w(), xe(), p();
5768
+ }), we = (p, w) => zt(this, null, function* () {
5775
5769
  var x, W;
5776
5770
  const I = yield p.json();
5777
- return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === K.CheckWalletExchangeError && _e(), !fe && w === K.BalanceError && (n(16, fe = !0), n(17, Ee = !0)), !Ee && w === K.CurrenciesError && n(17, Ee = !0), Ie({
5778
- type: Ne.error,
5779
- message: k((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || k((W = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : W.errorCode) || "generalError",
5771
+ return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === K.CheckWalletExchangeError && Ee(), !fe && w === K.BalanceError && (n(16, fe = !0), n(17, ve = !0)), !ve && w === K.CurrenciesError && n(17, ve = !0), He({
5772
+ type: Le.error,
5773
+ message: V((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || V((W = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : W.errorCode) || "generalError",
5780
5774
  source: w
5781
5775
  }));
5782
5776
  }), ie = () => new Promise((p, w) => {
@@ -5788,34 +5782,34 @@ function Vo(e, t, n) {
5788
5782
  "Content-Type": "application/json",
5789
5783
  Accept: "application/json"
5790
5784
  }
5791
- }).then((W) => Ae(W, K.CurrenciesError)).then((W) => {
5785
+ }).then((W) => we(W, K.CurrenciesError)).then((W) => {
5792
5786
  p(W == null ? void 0 : W.currencies);
5793
5787
  }).catch((W) => {
5794
- n(17, Ee = !0), console.error("There was an error on the allowed currencies request.", W), Ie({
5795
- type: Ne.error,
5796
- message: k("generalError"),
5788
+ n(17, ve = !0), console.error("There was an error on the allowed currencies request.", W), He({
5789
+ type: Le.error,
5790
+ message: V("generalError"),
5797
5791
  source: K.CurrenciesError
5798
5792
  }), w();
5799
5793
  }).finally(() => {
5800
- n(17, Ee = !0);
5794
+ n(17, ve = !0);
5801
5795
  });
5802
- }), st = ({ data: p, shouldUpdateSelectedCurrencies: w, allowed: I = [] }) => {
5796
+ }), ot = ({ data: p, shouldUpdateSelectedCurrencies: w, allowed: I = [] }) => {
5803
5797
  var ye;
5804
5798
  const { items: x = [], totalAmount: W = {}, totalRealAmount: m } = p || {};
5805
- n(10, D = Object.entries(m || W).map(([T = "", Ce = 0]) => ({ currency: T, amount: Ce }))[0]);
5799
+ n(10, M = Object.entries(m || W).map(([T = "", Ae = 0]) => ({ currency: T, amount: Ae }))[0]);
5806
5800
  let S = null;
5807
5801
  const ee = new Map(I.map((T) => [T.code, T]));
5808
5802
  for (const T of x)
5809
- if ((T == null ? void 0 : T.type) === lr.Real) {
5810
- const Ce = ee.get(T == null ? void 0 : T.currency);
5811
- if (Ce && Ce.code === (T == null ? void 0 : T.currency)) {
5812
- const Le = Zt(je(je({}, T), Ce), {
5813
- symbol: (ye = co[T == null ? void 0 : T.currency]) == null ? void 0 : ye[0]
5803
+ if ((T == null ? void 0 : T.type) === or.Real) {
5804
+ const Ae = ee.get(T == null ? void 0 : T.currency);
5805
+ if (Ae && Ae.code === (T == null ? void 0 : T.currency)) {
5806
+ const Ie = Xt($e($e({}, T), Ae), {
5807
+ symbol: (ye = lo[T == null ? void 0 : T.currency]) == null ? void 0 : ye[0]
5814
5808
  });
5815
- n(37, pe = [...pe, Le]), (T == null ? void 0 : T.currency) === (D == null ? void 0 : D.currency) && n(10, D = je(je({}, D), Le)), (T == null ? void 0 : T.currency) !== (D == null ? void 0 : D.currency) && (T == null ? void 0 : T.walletAccountType) === lr.Vault && n(19, Se = [...Se, Le]), w && (T == null ? void 0 : T.amount) > 0 && n(5, d = D != null && D.currency ? D : S), d && (d == null ? void 0 : d.currency) === (T == null ? void 0 : T.currency) && n(5, d = Le), _ && (_ == null ? void 0 : _.currency) === (T == null ? void 0 : T.currency) && n(6, _ = Le);
5809
+ n(37, pe = [...pe, Ie]), (T == null ? void 0 : T.currency) === (M == null ? void 0 : M.currency) && n(10, M = $e($e({}, M), Ie)), (T == null ? void 0 : T.currency) !== (M == null ? void 0 : M.currency) && (T == null ? void 0 : T.walletAccountType) === or.Vault && n(19, Te = [...Te, Ie]), w && (T == null ? void 0 : T.amount) > 0 && n(5, d = M != null && M.currency ? M : S), d && (d == null ? void 0 : d.currency) === (T == null ? void 0 : T.currency) && n(5, d = Ie), _ && (_ == null ? void 0 : _.currency) === (T == null ? void 0 : T.currency) && n(6, _ = Ie);
5816
5810
  }
5817
5811
  }
5818
- }, lt = (p = !0) => {
5812
+ }, st = (p = !0) => {
5819
5813
  const w = new URL(`${a}/v2/player/${i}/balance`);
5820
5814
  fetch(w, {
5821
5815
  method: "GET",
@@ -5824,25 +5818,25 @@ function Vo(e, t, n) {
5824
5818
  "Content-Type": "application/json",
5825
5819
  Accept: "application/json"
5826
5820
  }
5827
- }).then((x) => Ae(x, K.BalanceError)).then((x) => {
5821
+ }).then((x) => we(x, K.BalanceError)).then((x) => {
5828
5822
  x && ie().then((W) => {
5829
- n(37, pe = []), n(19, Se = []), st({
5823
+ n(37, pe = []), n(19, Te = []), ot({
5830
5824
  data: x,
5831
5825
  shouldUpdateSelectedCurrencies: p,
5832
5826
  allowed: W
5833
5827
  });
5834
5828
  });
5835
5829
  }).catch((x) => {
5836
- n(16, fe = !0), console.error("There was an error with the player balance request.", x), Ie({
5837
- type: Ne.error,
5838
- message: k("generalError"),
5830
+ n(16, fe = !0), console.error("There was an error with the player balance request.", x), He({
5831
+ type: Le.error,
5832
+ message: V("generalError"),
5839
5833
  source: K.BalanceError
5840
5834
  });
5841
5835
  }).finally(() => {
5842
5836
  n(16, fe = !0);
5843
5837
  });
5844
- }, G = go(() => {
5845
- vt().then(() => {
5838
+ }, G = fo(() => {
5839
+ bt().then(() => {
5846
5840
  const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), w = {
5847
5841
  userId: i,
5848
5842
  amount: C,
@@ -5857,40 +5851,40 @@ function Vo(e, t, n) {
5857
5851
  "Content-Type": "application/json",
5858
5852
  Accept: "application/json"
5859
5853
  },
5860
- body: cr(w)
5854
+ body: lr(w)
5861
5855
  };
5862
- fetch(p, I).then((x) => Ae(x, K.CheckWalletExchangeError)).then((x) => {
5856
+ fetch(p, I).then((x) => we(x, K.CheckWalletExchangeError)).then((x) => {
5863
5857
  var W, m, S;
5864
5858
  if (x) {
5865
- if ((X == null ? void 0 : X.source) === K.CheckWalletExchangeError && $e(), Array.isArray((W = x == null ? void 0 : x.fees) == null ? void 0 : W.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions)) {
5866
- const ee = ((m = x.walletActions.find((ye) => (ye == null ? void 0 : ye.directionName) === po.Credit)) == null ? void 0 : m.amount) || 0;
5867
- n(9, b = (S = new vi(ee)) == null ? void 0 : S.getValue());
5859
+ if ((X == null ? void 0 : X.source) === K.CheckWalletExchangeError && Ge(), Array.isArray((W = x == null ? void 0 : x.fees) == null ? void 0 : W.fees) && n(11, k = x.fees), Array.isArray(x == null ? void 0 : x.walletActions)) {
5860
+ const ee = ((m = x.walletActions.find((ye) => (ye == null ? void 0 : ye.directionName) === ho.Credit)) == null ? void 0 : m.amount) || 0;
5861
+ n(9, b = (S = new yi(ee)) == null ? void 0 : S.getValue());
5868
5862
  }
5869
5863
  C > 0 && b > 0 && (d != null && d.currency) && (_ != null && _.currency) && c && n(14, se = !1);
5870
5864
  }
5871
5865
  }).catch((x) => {
5872
- Ie({
5873
- type: Ne.error,
5874
- message: k("generalError"),
5866
+ He({
5867
+ type: Le.error,
5868
+ message: V("generalError"),
5875
5869
  source: K.CheckWalletExchangeError
5876
5870
  }), console.error("There was a problem with the wallet exchange request.", x);
5877
5871
  });
5878
5872
  }).catch((p) => {
5879
5873
  re(p);
5880
5874
  });
5881
- }, 500), Wt = (p) => {
5875
+ }, 500), $t = (p) => {
5882
5876
  const w = p.target.value, [I, x] = w.split(".");
5883
- !x && w.length >= sn && n(8, C = w.slice(0, sn)), x && (d == null ? void 0 : d.type) === ur.Fiat && (x.length <= (d == null ? void 0 : d.precision) ? (n(8, C = w), P = w) : n(8, C = P)), x && (d == null ? void 0 : d.type) === ur.CryptoCurrency && (w.length <= sn ? (n(8, C = w), P = w) : n(8, C = P)), G();
5884
- }, Et = (p) => {
5877
+ !x && w.length >= an && n(8, C = w.slice(0, an)), x && (d == null ? void 0 : d.type) === sr.Fiat && (x.length <= (d == null ? void 0 : d.precision) ? (n(8, C = w), O = w) : n(8, C = O)), x && (d == null ? void 0 : d.type) === sr.CryptoCurrency && (w.length <= an ? (n(8, C = w), O = w) : n(8, C = O)), G();
5878
+ }, vt = (p) => {
5885
5879
  const w = p.data;
5886
5880
  [">", "<", ","].includes(w) && p.preventDefault(), w && !w.match(/[\d.]/) && p.preventDefault(), w === "." && p.target.value.includes(".") && p.preventDefault();
5887
- }, _t = () => {
5881
+ }, Et = () => {
5888
5882
  C === 0 && n(8, C = null);
5889
5883
  }, de = () => {
5890
5884
  const p = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5891
5885
  n(18, ue = !0);
5892
5886
  const w = {
5893
- feeDetails: M,
5887
+ feeDetails: k,
5894
5888
  userId: i,
5895
5889
  amount: C,
5896
5890
  currency: d == null ? void 0 : d.currency,
@@ -5904,51 +5898,51 @@ function Vo(e, t, n) {
5904
5898
  "Content-Type": "application/json",
5905
5899
  Accept: "application/json"
5906
5900
  },
5907
- body: cr(w)
5901
+ body: lr(w)
5908
5902
  };
5909
- fetch(p, I).then((x) => Ae(x, K.WalletExchangeError)).then((x) => {
5910
- x && (Ie({
5911
- type: Ne.success,
5912
- message: k("exchangeSuccess"),
5903
+ fetch(p, I).then((x) => we(x, K.WalletExchangeError)).then((x) => {
5904
+ x && (He({
5905
+ type: Le.success,
5906
+ message: V("exchangeSuccess"),
5913
5907
  source: "ExchangeSuccess"
5914
- }), lt(!1));
5908
+ }), st(!1));
5915
5909
  }).catch((x) => {
5916
- Ie({
5917
- type: Ne.error,
5918
- message: k("generalError"),
5910
+ He({
5911
+ type: Le.error,
5912
+ message: V("generalError"),
5919
5913
  source: K.WalletExchangeError
5920
5914
  }), console.error("There was an error with the wallet exchange request.", x);
5921
5915
  }).finally(() => {
5922
- n(18, ue = !1), xe(), He();
5916
+ n(18, ue = !1), _e(), Be();
5923
5917
  });
5924
- }, ut = (p) => {
5918
+ }, lt = (p) => {
5925
5919
  const { data: { type: w } = {} } = p || {};
5926
5920
  switch (w) {
5927
- case sr.ResetVaultWidget:
5921
+ case ar.ResetVaultWidget:
5928
5922
  le();
5929
5923
  break;
5930
- case sr.CloseVaultWidget:
5931
- ot();
5924
+ case ar.CloseVaultWidget:
5925
+ at();
5932
5926
  break;
5933
5927
  }
5934
5928
  };
5935
- Ar(() => (window.addEventListener("message", ut), () => {
5936
- window.removeEventListener("message", ut);
5929
+ xr(() => (window.addEventListener("message", lt), () => {
5930
+ window.removeEventListener("message", lt);
5937
5931
  }));
5938
- function Xt() {
5939
- C = Nt(this.value), n(8, C);
5932
+ function jt() {
5933
+ C = Lt(this.value), n(8, C);
5940
5934
  }
5941
- function xt(p) {
5935
+ function _t(p) {
5942
5936
  d = p, n(5, d);
5943
5937
  }
5944
- function wt() {
5945
- b = Nt(this.value), n(9, b);
5938
+ function xt() {
5939
+ b = Lt(this.value), n(9, b);
5946
5940
  }
5947
5941
  function me(p) {
5948
5942
  _ = p, n(6, _);
5949
5943
  }
5950
- function At(p) {
5951
- qe[p ? "unshift" : "push"](() => {
5944
+ function wt(p) {
5945
+ Ze[p ? "unshift" : "push"](() => {
5952
5946
  ge = p, n(7, ge);
5953
5947
  });
5954
5948
  }
@@ -5956,14 +5950,14 @@ function Vo(e, t, n) {
5956
5950
  "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, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, c = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, g = p.showclosebutton), "showcurrencysymbol" in p && n(4, v = p.showcurrencysymbol);
5957
5951
  }, e.$$.update = () => {
5958
5952
  e.$$.dirty[1] & /*lang*/
5959
- 2 && o && at(), e.$$.dirty[0] & /*customStylingContainer*/
5953
+ 2 && o && it(), e.$$.dirty[0] & /*customStylingContainer*/
5960
5954
  128 | e.$$.dirty[1] & /*clientstyling*/
5961
- 4 && s && ge && Fe(), e.$$.dirty[0] & /*customStylingContainer*/
5955
+ 4 && s && ge && Ue(), e.$$.dirty[0] & /*customStylingContainer*/
5962
5956
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5963
- 8 && l && ge && bt(), e.$$.dirty[1] & /*translationurl*/
5964
- 16 && u && Be(), e.$$.dirty[0] & /*session, userid*/
5957
+ 8 && l && ge && yt(), e.$$.dirty[1] & /*translationurl*/
5958
+ 16 && u && Se(), e.$$.dirty[0] & /*session, userid*/
5965
5959
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5966
- 33 && r && i && a && c && lt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5960
+ 33 && r && i && a && c && st(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5967
5961
  64 | e.$$.dirty[1] & /*filteredBalances*/
5968
5962
  64 && n(20, Y = pe.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (_ == null ? void 0 : _.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5969
5963
  32 | e.$$.dirty[1] & /*filteredBalances*/
@@ -5979,25 +5973,25 @@ function Vo(e, t, n) {
5979
5973
  ge,
5980
5974
  C,
5981
5975
  b,
5982
- D,
5983
5976
  M,
5977
+ k,
5984
5978
  X,
5985
- ve,
5979
+ be,
5986
5980
  se,
5987
5981
  z,
5988
5982
  fe,
5989
- Ee,
5983
+ ve,
5990
5984
  ue,
5991
- Se,
5985
+ Te,
5992
5986
  Y,
5993
5987
  ne,
5994
- Ge,
5995
- ot,
5988
+ Fe,
5989
+ at,
5996
5990
  le,
5997
5991
  G,
5998
- Wt,
5992
+ $t,
5993
+ vt,
5999
5994
  Et,
6000
- _t,
6001
5995
  de,
6002
5996
  i,
6003
5997
  a,
@@ -6007,21 +6001,21 @@ function Vo(e, t, n) {
6007
6001
  u,
6008
6002
  c,
6009
6003
  pe,
6010
- Xt,
6004
+ jt,
6005
+ _t,
6011
6006
  xt,
6012
- wt,
6013
6007
  me,
6014
- At
6008
+ wt
6015
6009
  ];
6016
6010
  }
6017
- class Uo extends Hn {
6011
+ class ko extends Sn {
6018
6012
  constructor(t) {
6019
- super(), Sn(
6013
+ super(), Cn(
6020
6014
  this,
6021
6015
  t,
6022
- Vo,
6023
- ko,
6024
- kt,
6016
+ Mo,
6017
+ Do,
6018
+ Dt,
6025
6019
  {
6026
6020
  session: 0,
6027
6021
  userid: 30,
@@ -6036,7 +6030,7 @@ class Uo extends Hn {
6036
6030
  showclosebutton: 3,
6037
6031
  showcurrencysymbol: 4
6038
6032
  },
6039
- wo,
6033
+ _o,
6040
6034
  [-1, -1, -1]
6041
6035
  );
6042
6036
  }
@@ -6113,7 +6107,7 @@ class Uo extends Hn {
6113
6107
  this.$$set({ showcurrencysymbol: t }), $();
6114
6108
  }
6115
6109
  }
6116
- Bn(Uo, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6110
+ Tn(ko, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6117
6111
  export {
6118
- Uo as default
6112
+ ko as default
6119
6113
  };