@everymatrix/player-account-vault 0.19.7 → 0.19.8

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,52 +1,50 @@
1
- import { C as nn } from "./custom-select-BNvUE8tq.js";
2
- import { B as qt } from "./balance-error-CE_1OErX.js";
3
- function H() {
1
+ function B() {
4
2
  }
5
- function Ln(e) {
3
+ function $n(e) {
6
4
  return e();
7
5
  }
8
- function rn() {
6
+ function hn() {
9
7
  return /* @__PURE__ */ Object.create(null);
10
8
  }
11
- function Ne(e) {
12
- e.forEach(Ln);
9
+ function _e(e) {
10
+ e.forEach($n);
13
11
  }
14
- function Tt(e) {
12
+ function lt(e) {
15
13
  return typeof e == "function";
16
14
  }
17
- function On(e, t) {
15
+ function St(e, t) {
18
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
17
  }
20
- function lr(e) {
18
+ function yr(e) {
21
19
  return Object.keys(e).length === 0;
22
20
  }
23
- function Rn(e, ...t) {
21
+ function jn(e, ...t) {
24
22
  if (e == null) {
25
23
  for (const r of t)
26
24
  r(void 0);
27
- return H;
25
+ return B;
28
26
  }
29
27
  const n = e.subscribe(...t);
30
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
31
29
  }
32
- function ur(e) {
30
+ function vr(e) {
33
31
  let t;
34
- return Rn(e, (n) => t = n)(), t;
32
+ return jn(e, (n) => t = n)(), t;
35
33
  }
36
- function $a(e) {
37
- return e && Tt(e.destroy) ? e.destroy : H;
34
+ function _r(e) {
35
+ return e && lt(e.destroy) ? e.destroy : B;
38
36
  }
39
- function E(e, t) {
37
+ function y(e, t) {
40
38
  e.appendChild(t);
41
39
  }
42
- function cr(e, t, n) {
43
- const r = hr(e);
40
+ function an(e, t, n) {
41
+ const r = Er(e);
44
42
  if (!r.getElementById(t)) {
45
43
  const i = x("style");
46
- i.id = t, i.textContent = n, fr(r, i);
44
+ i.id = t, i.textContent = n, xr(r, i);
47
45
  }
48
46
  }
49
- function hr(e) {
47
+ function Er(e) {
50
48
  if (!e)
51
49
  return document;
52
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -56,66 +54,66 @@ function hr(e) {
56
54
  t
57
55
  ) : e.ownerDocument;
58
56
  }
59
- function fr(e, t) {
60
- return E(
57
+ function xr(e, t) {
58
+ return y(
61
59
  /** @type {Document} */
62
60
  e.head || e,
63
61
  t
64
62
  ), t.sheet;
65
63
  }
66
- function S(e, t, n) {
64
+ function C(e, t, n) {
67
65
  e.insertBefore(t, n || null);
68
66
  }
69
- function B(e) {
67
+ function A(e) {
70
68
  e.parentNode && e.parentNode.removeChild(e);
71
69
  }
72
- function dr(e, t) {
70
+ function Xn(e, t) {
73
71
  for (let n = 0; n < e.length; n += 1)
74
72
  e[n] && e[n].d(t);
75
73
  }
76
74
  function x(e) {
77
75
  return document.createElement(e);
78
76
  }
79
- function an(e) {
77
+ function fn(e) {
80
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
81
79
  }
82
- function q(e) {
80
+ function W(e) {
83
81
  return document.createTextNode(e);
84
82
  }
85
- function L() {
86
- return q(" ");
83
+ function P() {
84
+ return W(" ");
87
85
  }
88
- function Mn() {
89
- return q("");
86
+ function Wn() {
87
+ return W("");
90
88
  }
91
- function Ae(e, t, n, r) {
89
+ function re(e, t, n, r) {
92
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
93
91
  }
94
- function Ga(e) {
92
+ function wr(e) {
95
93
  return function(t) {
96
94
  return t.stopPropagation(), e.call(this, t);
97
95
  };
98
96
  }
99
- function b(e, t, n) {
97
+ function m(e, t, n) {
100
98
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
101
99
  }
102
- function vt(e) {
100
+ function wt(e) {
103
101
  return e === "" ? null : +e;
104
102
  }
105
- function pr(e) {
103
+ function Ar(e) {
106
104
  return Array.from(e.childNodes);
107
105
  }
108
- function de(e, t) {
106
+ function ee(e, t) {
109
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
110
108
  t);
111
109
  }
112
- function mt(e, t) {
110
+ function gt(e, t) {
113
111
  e.value = t ?? "";
114
112
  }
115
- function xe(e, t, n) {
113
+ function oe(e, t, n) {
116
114
  e.classList.toggle(t, !!n);
117
115
  }
118
- function mr(e) {
116
+ function Cr(e) {
119
117
  const t = {};
120
118
  return e.childNodes.forEach(
121
119
  /** @param {Element} node */
@@ -124,99 +122,99 @@ function mr(e) {
124
122
  }
125
123
  ), t;
126
124
  }
127
- let rt;
128
- function nt(e) {
129
- rt = e;
125
+ let it;
126
+ function rt(e) {
127
+ it = e;
130
128
  }
131
- function gr() {
132
- if (!rt)
129
+ function Tr() {
130
+ if (!it)
133
131
  throw new Error("Function called outside component initialization");
134
- return rt;
132
+ return it;
135
133
  }
136
- function br(e) {
137
- gr().$$.on_mount.push(e);
134
+ function Br(e) {
135
+ Tr().$$.on_mount.push(e);
138
136
  }
139
- const Ue = [], it = [];
137
+ const Ue = [], Ge = [];
140
138
  let Ve = [];
141
- const Vt = [], yr = /* @__PURE__ */ Promise.resolve();
142
- let $t = !1;
143
- function Er() {
144
- $t || ($t = !0, yr.then(J));
139
+ const Xt = [], Sr = /* @__PURE__ */ Promise.resolve();
140
+ let Wt = !1;
141
+ function Hr() {
142
+ Wt || (Wt = !0, Sr.then(j));
145
143
  }
146
- function Gt(e) {
144
+ function zt(e) {
147
145
  Ve.push(e);
148
146
  }
149
- function on(e) {
150
- Vt.push(e);
147
+ function dn(e) {
148
+ Xt.push(e);
151
149
  }
152
- const Lt = /* @__PURE__ */ new Set();
153
- let ke = 0;
154
- function J() {
155
- if (ke !== 0)
150
+ const Dt = /* @__PURE__ */ new Set();
151
+ let Me = 0;
152
+ function j() {
153
+ if (Me !== 0)
156
154
  return;
157
- const e = rt;
155
+ const e = it;
158
156
  do {
159
157
  try {
160
- for (; ke < Ue.length; ) {
161
- const t = Ue[ke];
162
- ke++, nt(t), _r(t.$$);
158
+ for (; Me < Ue.length; ) {
159
+ const t = Ue[Me];
160
+ Me++, rt(t), Pr(t.$$);
163
161
  }
164
162
  } catch (t) {
165
- throw Ue.length = 0, ke = 0, t;
163
+ throw Ue.length = 0, Me = 0, t;
166
164
  }
167
- for (nt(null), Ue.length = 0, ke = 0; it.length; )
168
- it.pop()();
165
+ for (rt(null), Ue.length = 0, Me = 0; Ge.length; )
166
+ Ge.pop()();
169
167
  for (let t = 0; t < Ve.length; t += 1) {
170
168
  const n = Ve[t];
171
- Lt.has(n) || (Lt.add(n), n());
169
+ Dt.has(n) || (Dt.add(n), n());
172
170
  }
173
171
  Ve.length = 0;
174
172
  } while (Ue.length);
175
- for (; Vt.length; )
176
- Vt.pop()();
177
- $t = !1, Lt.clear(), nt(e);
173
+ for (; Xt.length; )
174
+ Xt.pop()();
175
+ Wt = !1, Dt.clear(), rt(e);
178
176
  }
179
- function _r(e) {
177
+ function Pr(e) {
180
178
  if (e.fragment !== null) {
181
- e.update(), Ne(e.before_update);
179
+ e.update(), _e(e.before_update);
182
180
  const t = e.dirty;
183
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Gt);
181
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(zt);
184
182
  }
185
183
  }
186
- function vr(e) {
184
+ function Ir(e) {
187
185
  const t = [], n = [];
188
186
  Ve.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ve = t;
189
187
  }
190
- const bt = /* @__PURE__ */ new Set();
191
- let Ie;
192
- function Ce() {
193
- Ie = {
188
+ const vt = /* @__PURE__ */ new Set();
189
+ let Le;
190
+ function Be() {
191
+ Le = {
194
192
  r: 0,
195
193
  c: [],
196
- p: Ie
194
+ p: Le
197
195
  // parent group
198
196
  };
199
197
  }
200
- function Be() {
201
- Ie.r || Ne(Ie.c), Ie = Ie.p;
198
+ function Se() {
199
+ Le.r || _e(Le.c), Le = Le.p;
202
200
  }
203
201
  function M(e, t) {
204
- e && e.i && (bt.delete(e), e.i(t));
202
+ e && e.i && (vt.delete(e), e.i(t));
205
203
  }
206
- function $(e, t, n, r) {
204
+ function G(e, t, n, r) {
207
205
  if (e && e.o) {
208
- if (bt.has(e))
206
+ if (vt.has(e))
209
207
  return;
210
- bt.add(e), Ie.c.push(() => {
211
- bt.delete(e), r && (n && e.d(1), r());
208
+ vt.add(e), Le.c.push(() => {
209
+ vt.delete(e), r && (n && e.d(1), r());
212
210
  }), e.o(t);
213
211
  } else
214
212
  r && r();
215
213
  }
216
- function sn(e) {
214
+ function At(e) {
217
215
  return e?.length !== void 0 ? e : Array.from(e);
218
216
  }
219
- function ln(e, t, n) {
217
+ function pn(e, t, n) {
220
218
  const r = e.$$.props[t];
221
219
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
222
220
  }
@@ -225,59 +223,59 @@ function at(e) {
225
223
  }
226
224
  function $e(e, t, n) {
227
225
  const { fragment: r, after_update: i } = e.$$;
228
- r && r.m(t, n), Gt(() => {
229
- const a = e.$$.on_mount.map(Ln).filter(Tt);
230
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Ne(a), e.$$.on_mount = [];
231
- }), i.forEach(Gt);
226
+ r && r.m(t, n), zt(() => {
227
+ const a = e.$$.on_mount.map($n).filter(lt);
228
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : _e(a), e.$$.on_mount = [];
229
+ }), i.forEach(zt);
232
230
  }
233
- function Ge(e, t) {
231
+ function je(e, t) {
234
232
  const n = e.$$;
235
- n.fragment !== null && (vr(n.after_update), Ne(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
233
+ n.fragment !== null && (Ir(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
236
234
  }
237
- function xr(e, t) {
238
- e.$$.dirty[0] === -1 && (Ue.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
235
+ function Lr(e, t) {
236
+ e.$$.dirty[0] === -1 && (Ue.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
237
  }
240
- function wr(e, t, n, r, i, a, l = null, u = [-1]) {
241
- const o = rt;
242
- nt(e);
243
- const s = e.$$ = {
238
+ function on(e, t, n, r, i, a, o = null, u = [-1]) {
239
+ const s = it;
240
+ rt(e);
241
+ const l = e.$$ = {
244
242
  fragment: null,
245
243
  ctx: [],
246
244
  // state
247
245
  props: a,
248
- update: H,
246
+ update: B,
249
247
  not_equal: i,
250
- bound: rn(),
248
+ bound: hn(),
251
249
  // lifecycle
252
250
  on_mount: [],
253
251
  on_destroy: [],
254
252
  on_disconnect: [],
255
253
  before_update: [],
256
254
  after_update: [],
257
- context: new Map(t.context || (o ? o.$$.context : [])),
255
+ context: new Map(t.context || (s ? s.$$.context : [])),
258
256
  // everything else
259
- callbacks: rn(),
257
+ callbacks: hn(),
260
258
  dirty: u,
261
259
  skip_bound: !1,
262
- root: t.target || o.$$.root
260
+ root: t.target || s.$$.root
263
261
  };
264
- l && l(s.root);
262
+ o && o(l.root);
265
263
  let c = !1;
266
- if (s.ctx = n ? n(e, t.props || {}, (d, f, ...m) => {
267
- const _ = m.length ? m[0] : f;
268
- return s.ctx && i(s.ctx[d], s.ctx[d] = _) && (!s.skip_bound && s.bound[d] && s.bound[d](_), c && xr(e, d)), f;
269
- }) : [], s.update(), c = !0, Ne(s.before_update), s.fragment = r ? r(s.ctx) : !1, t.target) {
264
+ if (l.ctx = n ? n(e, t.props || {}, (f, h, ...d) => {
265
+ const v = d.length ? d[0] : h;
266
+ return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), c && Lr(e, f)), h;
267
+ }) : [], l.update(), c = !0, _e(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
270
268
  if (t.hydrate) {
271
- const d = pr(t.target);
272
- s.fragment && s.fragment.l(d), d.forEach(B);
269
+ const f = Ar(t.target);
270
+ l.fragment && l.fragment.l(f), f.forEach(A);
273
271
  } else
274
- s.fragment && s.fragment.c();
275
- t.intro && M(e.$$.fragment), $e(e, t.target, t.anchor), J();
272
+ l.fragment && l.fragment.c();
273
+ t.intro && M(e.$$.fragment), $e(e, t.target, t.anchor), j();
276
274
  }
277
- nt(o);
275
+ rt(s);
278
276
  }
279
- let Dn;
280
- typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
277
+ let zn;
278
+ typeof HTMLElement == "function" && (zn = class extends HTMLElement {
281
279
  /** The Svelte component constructor */
282
280
  $$ctor;
283
281
  /** Slots */
@@ -319,29 +317,29 @@ typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
319
317
  let a;
320
318
  return {
321
319
  c: function() {
322
- a = x("slot"), i !== "default" && b(a, "name", i);
320
+ a = x("slot"), i !== "default" && m(a, "name", i);
323
321
  },
324
322
  /**
325
323
  * @param {HTMLElement} target
326
324
  * @param {HTMLElement} [anchor]
327
325
  */
328
- m: function(o, s) {
329
- S(o, a, s);
326
+ m: function(s, l) {
327
+ C(s, a, l);
330
328
  },
331
- d: function(o) {
332
- o && B(a);
329
+ d: function(s) {
330
+ s && A(a);
333
331
  }
334
332
  };
335
333
  };
336
334
  };
337
335
  if (await Promise.resolve(), !this.$$cn || this.$$c)
338
336
  return;
339
- const t = {}, n = mr(this);
337
+ const t = {}, n = Cr(this);
340
338
  for (const i of this.$$s)
341
339
  i in n && (t[i] = [e(i)]);
342
340
  for (const i of this.attributes) {
343
341
  const a = this.$$g_p(i.name);
344
- a in this.$$d || (this.$$d[a] = yt(a, i.value, this.$$p_d, "toProp"));
342
+ a in this.$$d || (this.$$d[a] = _t(a, i.value, this.$$p_d, "toProp"));
345
343
  }
346
344
  for (const i in this.$$p_d)
347
345
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -359,7 +357,7 @@ typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
359
357
  this.$$r = !0;
360
358
  for (const i in this.$$p_d)
361
359
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
362
- const a = yt(
360
+ const a = _t(
363
361
  i,
364
362
  this.$$d[i],
365
363
  this.$$p_d,
@@ -372,8 +370,8 @@ typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
372
370
  this.$$c.$$.after_update.push(r), r();
373
371
  for (const i in this.$$l)
374
372
  for (const a of this.$$l[i]) {
375
- const l = this.$$c.$on(i, a);
376
- this.$$l_u.set(a, l);
373
+ const o = this.$$c.$on(i, a);
374
+ this.$$l_u.set(a, o);
377
375
  }
378
376
  this.$$l = {};
379
377
  }
@@ -381,7 +379,7 @@ typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
381
379
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
382
380
  // and setting attributes through setAttribute etc, this is helpful
383
381
  attributeChangedCallback(e, t, n) {
384
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = yt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
382
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _t(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
383
  }
386
384
  disconnectedCallback() {
387
385
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -394,7 +392,7 @@ typeof HTMLElement == "function" && (Dn = class extends HTMLElement {
394
392
  ) || e;
395
393
  }
396
394
  });
397
- function yt(e, t, n, r) {
395
+ function _t(e, t, n, r) {
398
396
  const i = n[e]?.type;
399
397
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
400
398
  return t;
@@ -423,8 +421,8 @@ function yt(e, t, n, r) {
423
421
  return t;
424
422
  }
425
423
  }
426
- function Ar(e, t, n, r, i, a) {
427
- let l = class extends Dn {
424
+ function sn(e, t, n, r, i, a) {
425
+ let o = class extends zn {
428
426
  constructor() {
429
427
  super(e, n, i), this.$$p_d = t;
430
428
  }
@@ -435,24 +433,24 @@ function Ar(e, t, n, r, i, a) {
435
433
  }
436
434
  };
437
435
  return Object.keys(t).forEach((u) => {
438
- Object.defineProperty(l.prototype, u, {
436
+ Object.defineProperty(o.prototype, u, {
439
437
  get() {
440
438
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
441
439
  },
442
- set(o) {
443
- o = yt(u, o, t), this.$$d[u] = o, this.$$c?.$set({ [u]: o });
440
+ set(s) {
441
+ s = _t(u, s, t), this.$$d[u] = s, this.$$c?.$set({ [u]: s });
444
442
  }
445
443
  });
446
444
  }), r.forEach((u) => {
447
- Object.defineProperty(l.prototype, u, {
445
+ Object.defineProperty(o.prototype, u, {
448
446
  get() {
449
447
  return this.$$c?.[u];
450
448
  }
451
449
  });
452
450
  }), e.element = /** @type {any} */
453
- l, l;
451
+ o, o;
454
452
  }
455
- class Tr {
453
+ class ln {
456
454
  /**
457
455
  * ### PRIVATE API
458
456
  *
@@ -471,7 +469,7 @@ class Tr {
471
469
  $$set = void 0;
472
470
  /** @returns {void} */
473
471
  $destroy() {
474
- Ge(this, 1), this.$destroy = H;
472
+ je(this, 1), this.$destroy = B;
475
473
  }
476
474
  /**
477
475
  * @template {Extract<keyof Events, string>} K
@@ -480,8 +478,8 @@ class Tr {
480
478
  * @returns {() => void}
481
479
  */
482
480
  $on(t, n) {
483
- if (!Tt(n))
484
- return H;
481
+ if (!lt(n))
482
+ return B;
485
483
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
486
484
  return r.push(n), () => {
487
485
  const i = r.indexOf(n);
@@ -493,28 +491,28 @@ class Tr {
493
491
  * @returns {void}
494
492
  */
495
493
  $set(t) {
496
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
494
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
497
495
  }
498
496
  }
499
- const Cr = "4";
500
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
497
+ const Nr = "4";
498
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
501
499
  const Fe = [];
502
- function Br(e, t) {
500
+ function Or(e, t) {
503
501
  return {
504
- subscribe: Ct(e, t).subscribe
502
+ subscribe: Ht(e, t).subscribe
505
503
  };
506
504
  }
507
- function Ct(e, t = H) {
505
+ function Ht(e, t = B) {
508
506
  let n;
509
507
  const r = /* @__PURE__ */ new Set();
510
508
  function i(u) {
511
- if (On(e, u) && (e = u, n)) {
512
- const o = !Fe.length;
513
- for (const s of r)
514
- s[1](), Fe.push(s, e);
515
- if (o) {
516
- for (let s = 0; s < Fe.length; s += 2)
517
- Fe[s][0](Fe[s + 1]);
509
+ if (St(e, u) && (e = u, n)) {
510
+ const s = !Fe.length;
511
+ for (const l of r)
512
+ l[1](), Fe.push(l, e);
513
+ if (s) {
514
+ for (let l = 0; l < Fe.length; l += 2)
515
+ Fe[l][0](Fe[l + 1]);
518
516
  Fe.length = 0;
519
517
  }
520
518
  }
@@ -522,147 +520,147 @@ function Ct(e, t = H) {
522
520
  function a(u) {
523
521
  i(u(e));
524
522
  }
525
- function l(u, o = H) {
526
- const s = [u, o];
527
- return r.add(s), r.size === 1 && (n = t(i, a) || H), u(e), () => {
528
- r.delete(s), r.size === 0 && n && (n(), n = null);
523
+ function o(u, s = B) {
524
+ const l = [u, s];
525
+ return r.add(l), r.size === 1 && (n = t(i, a) || B), u(e), () => {
526
+ r.delete(l), r.size === 0 && n && (n(), n = null);
529
527
  };
530
528
  }
531
- return { set: i, update: a, subscribe: l };
529
+ return { set: i, update: a, subscribe: o };
532
530
  }
533
- function Ze(e, t, n) {
531
+ function Qe(e, t, n) {
534
532
  const r = !Array.isArray(e), i = r ? [e] : e;
535
533
  if (!i.every(Boolean))
536
534
  throw new Error("derived() expects stores as input, got a falsy value");
537
535
  const a = t.length < 2;
538
- return Br(n, (l, u) => {
539
- let o = !1;
540
- const s = [];
541
- let c = 0, d = H;
542
- const f = () => {
536
+ return Or(n, (o, u) => {
537
+ let s = !1;
538
+ const l = [];
539
+ let c = 0, f = B;
540
+ const h = () => {
543
541
  if (c)
544
542
  return;
545
- d();
546
- const _ = t(r ? s[0] : s, l, u);
547
- a ? l(_) : d = Tt(_) ? _ : H;
548
- }, m = i.map(
549
- (_, g) => Rn(
550
- _,
551
- (I) => {
552
- s[g] = I, c &= ~(1 << g), o && f();
543
+ f();
544
+ const v = t(r ? l[0] : l, o, u);
545
+ a ? o(v) : f = lt(v) ? v : B;
546
+ }, d = i.map(
547
+ (v, b) => jn(
548
+ v,
549
+ (L) => {
550
+ l[b] = L, c &= ~(1 << b), s && h();
553
551
  },
554
552
  () => {
555
- c |= 1 << g;
553
+ c |= 1 << b;
556
554
  }
557
555
  )
558
556
  );
559
- return o = !0, f(), function() {
560
- Ne(m), d(), o = !1;
557
+ return s = !0, h(), function() {
558
+ _e(d), f(), s = !1;
561
559
  };
562
560
  });
563
561
  }
564
- function Sr(e) {
562
+ function Rr(e) {
565
563
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
566
564
  }
567
- var Hr = function(t) {
568
- return Pr(t) && !Ir(t);
565
+ var kr = function(t) {
566
+ return Dr(t) && !Mr(t);
569
567
  };
570
- function Pr(e) {
568
+ function Dr(e) {
571
569
  return !!e && typeof e == "object";
572
570
  }
573
- function Ir(e) {
571
+ function Mr(e) {
574
572
  var t = Object.prototype.toString.call(e);
575
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
573
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
576
574
  }
577
- var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
578
- function Or(e) {
579
- return e.$$typeof === Lr;
575
+ var Fr = typeof Symbol == "function" && Symbol.for, Ur = Fr ? Symbol.for("react.element") : 60103;
576
+ function Vr(e) {
577
+ return e.$$typeof === Ur;
580
578
  }
581
- function Rr(e) {
579
+ function Gr(e) {
582
580
  return Array.isArray(e) ? [] : {};
583
581
  }
584
582
  function ot(e, t) {
585
- return t.clone !== !1 && t.isMergeableObject(e) ? je(Rr(e), e, t) : e;
583
+ return t.clone !== !1 && t.isMergeableObject(e) ? Xe(Gr(e), e, t) : e;
586
584
  }
587
- function Mr(e, t, n) {
585
+ function $r(e, t, n) {
588
586
  return e.concat(t).map(function(r) {
589
587
  return ot(r, n);
590
588
  });
591
589
  }
592
- function Dr(e, t) {
590
+ function jr(e, t) {
593
591
  if (!t.customMerge)
594
- return je;
592
+ return Xe;
595
593
  var n = t.customMerge(e);
596
- return typeof n == "function" ? n : je;
594
+ return typeof n == "function" ? n : Xe;
597
595
  }
598
- function kr(e) {
596
+ function Xr(e) {
599
597
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
600
598
  return Object.propertyIsEnumerable.call(e, t);
601
599
  }) : [];
602
600
  }
603
- function un(e) {
604
- return Object.keys(e).concat(kr(e));
601
+ function mn(e) {
602
+ return Object.keys(e).concat(Xr(e));
605
603
  }
606
- function kn(e, t) {
604
+ function Zn(e, t) {
607
605
  try {
608
606
  return t in e;
609
607
  } catch {
610
608
  return !1;
611
609
  }
612
610
  }
613
- function Fr(e, t) {
614
- return kn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
611
+ function Wr(e, t) {
612
+ return Zn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
615
613
  }
616
- function Ur(e, t, n) {
614
+ function zr(e, t, n) {
617
615
  var r = {};
618
- return n.isMergeableObject(e) && un(e).forEach(function(i) {
616
+ return n.isMergeableObject(e) && mn(e).forEach(function(i) {
619
617
  r[i] = ot(e[i], n);
620
- }), un(t).forEach(function(i) {
621
- Fr(e, i) || (kn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Dr(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
618
+ }), mn(t).forEach(function(i) {
619
+ Wr(e, i) || (Zn(e, i) && n.isMergeableObject(t[i]) ? r[i] = jr(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
622
620
  }), r;
623
621
  }
624
- function je(e, t, n) {
625
- n = n || {}, n.arrayMerge = n.arrayMerge || Mr, n.isMergeableObject = n.isMergeableObject || Hr, n.cloneUnlessOtherwiseSpecified = ot;
622
+ function Xe(e, t, n) {
623
+ n = n || {}, n.arrayMerge = n.arrayMerge || $r, n.isMergeableObject = n.isMergeableObject || kr, n.cloneUnlessOtherwiseSpecified = ot;
626
624
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
627
- return a ? r ? n.arrayMerge(e, t, n) : Ur(e, t, n) : ot(t, n);
625
+ return a ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : ot(t, n);
628
626
  }
629
- je.all = function(t, n) {
627
+ Xe.all = function(t, n) {
630
628
  if (!Array.isArray(t))
631
629
  throw new Error("first argument should be an array");
632
630
  return t.reduce(function(r, i) {
633
- return je(r, i, n);
631
+ return Xe(r, i, n);
634
632
  }, {});
635
633
  };
636
- var Vr = je, $r = Vr;
637
- const Gr = /* @__PURE__ */ Sr($r);
638
- var jt = function(e, t) {
639
- return jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
634
+ var Zr = Xe, Qr = Zr;
635
+ const Kr = /* @__PURE__ */ Rr(Qr);
636
+ var Zt = function(e, t) {
637
+ return Zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
640
638
  n.__proto__ = r;
641
639
  } || function(n, r) {
642
640
  for (var i in r)
643
641
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
644
- }, jt(e, t);
642
+ }, Zt(e, t);
645
643
  };
646
- function Bt(e, t) {
644
+ function Pt(e, t) {
647
645
  if (typeof t != "function" && t !== null)
648
646
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
649
- jt(e, t);
647
+ Zt(e, t);
650
648
  function n() {
651
649
  this.constructor = e;
652
650
  }
653
651
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
654
652
  }
655
- var fe = function() {
656
- return fe = Object.assign || function(t) {
653
+ var me = function() {
654
+ return me = Object.assign || function(t) {
657
655
  for (var n, r = 1, i = arguments.length; r < i; r++) {
658
656
  n = arguments[r];
659
657
  for (var a in n)
660
658
  Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
661
659
  }
662
660
  return t;
663
- }, fe.apply(this, arguments);
661
+ }, me.apply(this, arguments);
664
662
  };
665
- function jr(e, t) {
663
+ function Yr(e, t) {
666
664
  var n = {};
667
665
  for (var r in e)
668
666
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -671,43 +669,43 @@ function jr(e, t) {
671
669
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
672
670
  return n;
673
671
  }
674
- function Ot(e, t, n) {
672
+ function Mt(e, t, n) {
675
673
  if (n || arguments.length === 2)
676
674
  for (var r = 0, i = t.length, a; r < i; r++)
677
675
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
678
676
  return e.concat(a || Array.prototype.slice.call(t));
679
677
  }
680
- function Rt(e, t) {
681
- var n = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : zr;
678
+ function Ft(e, t) {
679
+ var n = t && t.cache ? t.cache : ii, r = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ei;
682
680
  return i(e, {
683
681
  cache: n,
684
682
  serializer: r
685
683
  });
686
684
  }
687
- function Xr(e) {
685
+ function Jr(e) {
688
686
  return e == null || typeof e == "number" || typeof e == "boolean";
689
687
  }
690
- function Wr(e, t, n, r) {
691
- var i = Xr(r) ? r : n(r), a = t.get(i);
688
+ function qr(e, t, n, r) {
689
+ var i = Jr(r) ? r : n(r), a = t.get(i);
692
690
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
693
691
  }
694
- function Fn(e, t, n) {
692
+ function Qn(e, t, n) {
695
693
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
696
694
  return typeof a > "u" && (a = e.apply(this, r), t.set(i, a)), a;
697
695
  }
698
- function Un(e, t, n, r, i) {
696
+ function Kn(e, t, n, r, i) {
699
697
  return n.bind(t, e, r, i);
700
698
  }
701
- function zr(e, t) {
702
- var n = e.length === 1 ? Wr : Fn;
703
- return Un(e, this, n, t.cache.create(), t.serializer);
699
+ function ei(e, t) {
700
+ var n = e.length === 1 ? qr : Qn;
701
+ return Kn(e, this, n, t.cache.create(), t.serializer);
704
702
  }
705
- function Zr(e, t) {
706
- return Un(e, this, Fn, t.cache.create(), t.serializer);
703
+ function ti(e, t) {
704
+ return Kn(e, this, Qn, t.cache.create(), t.serializer);
707
705
  }
708
- var Qr = function() {
706
+ var ni = function() {
709
707
  return JSON.stringify(arguments);
710
- }, Kr = (
708
+ }, ri = (
711
709
  /** @class */
712
710
  function() {
713
711
  function e() {
@@ -719,71 +717,71 @@ var Qr = function() {
719
717
  this.cache[t] = n;
720
718
  }, e;
721
719
  }()
722
- ), Yr = {
720
+ ), ii = {
723
721
  create: function() {
724
- return new Kr();
722
+ return new ri();
725
723
  }
726
- }, Mt = {
727
- variadic: Zr
728
- }, xt = function() {
729
- return xt = Object.assign || function(t) {
724
+ }, Ut = {
725
+ variadic: ti
726
+ }, Ct = function() {
727
+ return Ct = Object.assign || function(t) {
730
728
  for (var n, r = 1, i = arguments.length; r < i; r++) {
731
729
  n = arguments[r];
732
730
  for (var a in n)
733
731
  Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
734
732
  }
735
733
  return t;
736
- }, xt.apply(this, arguments);
734
+ }, Ct.apply(this, arguments);
737
735
  };
738
- var w;
736
+ var T;
739
737
  (function(e) {
740
738
  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";
741
- })(w || (w = {}));
742
- var R;
739
+ })(T || (T = {}));
740
+ var D;
743
741
  (function(e) {
744
742
  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";
745
- })(R || (R = {}));
746
- var Xe;
743
+ })(D || (D = {}));
744
+ var We;
747
745
  (function(e) {
748
746
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
749
- })(Xe || (Xe = {}));
750
- function cn(e) {
751
- return e.type === R.literal;
747
+ })(We || (We = {}));
748
+ function gn(e) {
749
+ return e.type === D.literal;
752
750
  }
753
- function Jr(e) {
754
- return e.type === R.argument;
751
+ function ai(e) {
752
+ return e.type === D.argument;
755
753
  }
756
- function Vn(e) {
757
- return e.type === R.number;
754
+ function Yn(e) {
755
+ return e.type === D.number;
758
756
  }
759
- function $n(e) {
760
- return e.type === R.date;
757
+ function Jn(e) {
758
+ return e.type === D.date;
761
759
  }
762
- function Gn(e) {
763
- return e.type === R.time;
760
+ function qn(e) {
761
+ return e.type === D.time;
764
762
  }
765
- function jn(e) {
766
- return e.type === R.select;
763
+ function er(e) {
764
+ return e.type === D.select;
767
765
  }
768
- function Xn(e) {
769
- return e.type === R.plural;
766
+ function tr(e) {
767
+ return e.type === D.plural;
770
768
  }
771
- function qr(e) {
772
- return e.type === R.pound;
769
+ function oi(e) {
770
+ return e.type === D.pound;
773
771
  }
774
- function Wn(e) {
775
- return e.type === R.tag;
772
+ function nr(e) {
773
+ return e.type === D.tag;
776
774
  }
777
- function zn(e) {
778
- return !!(e && typeof e == "object" && e.type === Xe.number);
775
+ function rr(e) {
776
+ return !!(e && typeof e == "object" && e.type === We.number);
779
777
  }
780
- function Xt(e) {
781
- return !!(e && typeof e == "object" && e.type === Xe.dateTime);
778
+ function Qt(e) {
779
+ return !!(e && typeof e == "object" && e.type === We.dateTime);
782
780
  }
783
- var Zn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
784
- function ti(e) {
781
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
782
+ function li(e) {
785
783
  var t = {};
786
- return e.replace(ei, function(n) {
784
+ return e.replace(si, function(n) {
787
785
  var r = n.length;
788
786
  switch (n[0]) {
789
787
  case "G":
@@ -882,36 +880,36 @@ var U = function() {
882
880
  return t;
883
881
  }, U.apply(this, arguments);
884
882
  };
885
- var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
886
- function ri(e) {
883
+ var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
884
+ function ci(e) {
887
885
  if (e.length === 0)
888
886
  throw new Error("Number skeleton cannot be empty");
889
- for (var t = e.split(ni).filter(function(f) {
890
- return f.length > 0;
887
+ for (var t = e.split(ui).filter(function(h) {
888
+ return h.length > 0;
891
889
  }), n = [], r = 0, i = t; r < i.length; r++) {
892
- var a = i[r], l = a.split("/");
893
- if (l.length === 0)
890
+ var a = i[r], o = a.split("/");
891
+ if (o.length === 0)
894
892
  throw new Error("Invalid number skeleton");
895
- for (var u = l[0], o = l.slice(1), s = 0, c = o; s < c.length; s++) {
896
- var d = c[s];
897
- if (d.length === 0)
893
+ for (var u = o[0], s = o.slice(1), l = 0, c = s; l < c.length; l++) {
894
+ var f = c[l];
895
+ if (f.length === 0)
898
896
  throw new Error("Invalid number skeleton");
899
897
  }
900
- n.push({ stem: u, options: o });
898
+ n.push({ stem: u, options: s });
901
899
  }
902
900
  return n;
903
901
  }
904
- function ii(e) {
902
+ function hi(e) {
905
903
  return e.replace(/^(.*?)-/, "");
906
904
  }
907
- var hn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qn = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Kn = /^(0+)$/;
908
- function fn(e) {
905
+ var bn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
906
+ function yn(e) {
909
907
  var t = {};
910
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qn, function(n, r, i) {
908
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(n, r, i) {
911
909
  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)), "";
912
910
  }), t;
913
911
  }
914
- function Yn(e) {
912
+ function sr(e) {
915
913
  switch (e) {
916
914
  case "sign-auto":
917
915
  return {
@@ -951,7 +949,7 @@ function Yn(e) {
951
949
  };
952
950
  }
953
951
  }
954
- function oi(e) {
952
+ function di(e) {
955
953
  var t;
956
954
  if (e[0] === "E" && e[1] === "E" ? (t = {
957
955
  notation: "engineering"
@@ -959,17 +957,17 @@ function oi(e) {
959
957
  notation: "scientific"
960
958
  }, e = e.slice(1)), t) {
961
959
  var n = e.slice(0, 2);
962
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kn.test(e))
960
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
963
961
  throw new Error("Malformed concise eng/scientific notation");
964
962
  t.minimumIntegerDigits = e.length;
965
963
  }
966
964
  return t;
967
965
  }
968
- function dn(e) {
969
- var t = {}, n = Yn(e);
966
+ function vn(e) {
967
+ var t = {}, n = sr(e);
970
968
  return n || t;
971
969
  }
972
- function si(e) {
970
+ function pi(e) {
973
971
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
974
972
  var i = r[n];
975
973
  switch (i.stem) {
@@ -993,7 +991,7 @@ function si(e) {
993
991
  continue;
994
992
  case "measure-unit":
995
993
  case "unit":
996
- t.style = "unit", t.unit = ii(i.options[0]);
994
+ t.style = "unit", t.unit = hi(i.options[0]);
997
995
  continue;
998
996
  case "compact-short":
999
997
  case "K":
@@ -1004,13 +1002,13 @@ function si(e) {
1004
1002
  t.notation = "compact", t.compactDisplay = "long";
1005
1003
  continue;
1006
1004
  case "scientific":
1007
- t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(o, s) {
1008
- return U(U({}, o), dn(s));
1005
+ t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(s, l) {
1006
+ return U(U({}, s), vn(l));
1009
1007
  }, {}));
1010
1008
  continue;
1011
1009
  case "engineering":
1012
- t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(o, s) {
1013
- return U(U({}, o), dn(s));
1010
+ t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(s, l) {
1011
+ return U(U({}, s), vn(l));
1014
1012
  }, {}));
1015
1013
  continue;
1016
1014
  case "notation-simple":
@@ -1055,45 +1053,45 @@ function si(e) {
1055
1053
  case "integer-width":
1056
1054
  if (i.options.length > 1)
1057
1055
  throw new RangeError("integer-width stems only accept a single optional option");
1058
- i.options[0].replace(ai, function(o, s, c, d, f, m) {
1059
- if (s)
1056
+ i.options[0].replace(fi, function(s, l, c, f, h, d) {
1057
+ if (l)
1060
1058
  t.minimumIntegerDigits = c.length;
1061
1059
  else {
1062
- if (d && f)
1060
+ if (f && h)
1063
1061
  throw new Error("We currently do not support maximum integer digits");
1064
- if (m)
1062
+ if (d)
1065
1063
  throw new Error("We currently do not support exact integer digits");
1066
1064
  }
1067
1065
  return "";
1068
1066
  });
1069
1067
  continue;
1070
1068
  }
1071
- if (Kn.test(i.stem)) {
1069
+ if (or.test(i.stem)) {
1072
1070
  t.minimumIntegerDigits = i.stem.length;
1073
1071
  continue;
1074
1072
  }
1075
- if (hn.test(i.stem)) {
1073
+ if (bn.test(i.stem)) {
1076
1074
  if (i.options.length > 1)
1077
1075
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1078
- i.stem.replace(hn, function(o, s, c, d, f, m) {
1079
- return c === "*" ? t.minimumFractionDigits = s.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1076
+ i.stem.replace(bn, function(s, l, c, f, h, d) {
1077
+ return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1080
1078
  });
1081
1079
  var a = i.options[0];
1082
- a === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = U(U({}, t), fn(a)));
1080
+ a === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = U(U({}, t), yn(a)));
1083
1081
  continue;
1084
1082
  }
1085
- if (Qn.test(i.stem)) {
1086
- t = U(U({}, t), fn(i.stem));
1083
+ if (ar.test(i.stem)) {
1084
+ t = U(U({}, t), yn(i.stem));
1087
1085
  continue;
1088
1086
  }
1089
- var l = Yn(i.stem);
1090
- l && (t = U(U({}, t), l));
1091
- var u = oi(i.stem);
1087
+ var o = sr(i.stem);
1088
+ o && (t = U(U({}, t), o));
1089
+ var u = di(i.stem);
1092
1090
  u && (t = U(U({}, t), u));
1093
1091
  }
1094
1092
  return t;
1095
1093
  }
1096
- var gt = {
1094
+ var bt = {
1097
1095
  "001": [
1098
1096
  "H",
1099
1097
  "h"
@@ -2508,23 +2506,23 @@ var gt = {
2508
2506
  "h"
2509
2507
  ]
2510
2508
  };
2511
- function li(e, t) {
2509
+ function mi(e, t) {
2512
2510
  for (var n = "", r = 0; r < e.length; r++) {
2513
2511
  var i = e.charAt(r);
2514
2512
  if (i === "j") {
2515
2513
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2516
2514
  a++, r++;
2517
- var l = 1 + (a & 1), u = a < 2 ? 1 : 3 + (a >> 1), o = "a", s = ui(t);
2518
- for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
2519
- n += o;
2520
- for (; l-- > 0; )
2521
- n = s + n;
2515
+ var o = 1 + (a & 1), u = a < 2 ? 1 : 3 + (a >> 1), s = "a", l = gi(t);
2516
+ for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2517
+ n += s;
2518
+ for (; o-- > 0; )
2519
+ n = l + n;
2522
2520
  } else
2523
2521
  i === "J" ? n += "H" : n += i;
2524
2522
  }
2525
2523
  return n;
2526
2524
  }
2527
- function ui(e) {
2525
+ function gi(e) {
2528
2526
  var t = e.hourCycle;
2529
2527
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2530
2528
  e.hourCycles && // @ts-ignore
@@ -2543,23 +2541,23 @@ function ui(e) {
2543
2541
  }
2544
2542
  var n = e.language, r;
2545
2543
  n !== "root" && (r = e.maximize().region);
2546
- var i = gt[r || ""] || gt[n || ""] || gt["".concat(n, "-001")] || gt["001"];
2544
+ var i = bt[r || ""] || bt[n || ""] || bt["".concat(n, "-001")] || bt["001"];
2547
2545
  return i[0];
2548
2546
  }
2549
- var Dt, ci = new RegExp("^".concat(Zn.source, "*")), hi = new RegExp("".concat(Zn.source, "*$"));
2550
- function T(e, t) {
2547
+ var Vt, bi = new RegExp("^".concat(ir.source, "*")), yi = new RegExp("".concat(ir.source, "*$"));
2548
+ function H(e, t) {
2551
2549
  return { start: e, end: t };
2552
2550
  }
2553
- var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, pi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, Ei = yi ? Number.isSafeInteger : function(e) {
2551
+ var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, Ei = !!Object.fromEntries, xi = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Ti = Ci ? Number.isSafeInteger : function(e) {
2554
2552
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2555
- }, Wt = !0;
2553
+ }, Kt = !0;
2556
2554
  try {
2557
- var _i = qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2558
- Wt = ((Dt = _i.exec("a")) === null || Dt === void 0 ? void 0 : Dt[0]) === "a";
2555
+ var Bi = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2556
+ Kt = ((Vt = Bi.exec("a")) === null || Vt === void 0 ? void 0 : Vt[0]) === "a";
2559
2557
  } catch {
2560
- Wt = !1;
2558
+ Kt = !1;
2561
2559
  }
2562
- var pn = fi ? (
2560
+ var _n = vi ? (
2563
2561
  // Native
2564
2562
  function(t, n, r) {
2565
2563
  return t.startsWith(n, r);
@@ -2569,31 +2567,31 @@ var pn = fi ? (
2569
2567
  function(t, n, r) {
2570
2568
  return t.slice(r, r + n.length) === n;
2571
2569
  }
2572
- ), zt = di ? String.fromCodePoint : (
2570
+ ), Yt = _i ? String.fromCodePoint : (
2573
2571
  // IE11
2574
2572
  function() {
2575
2573
  for (var t = [], n = 0; n < arguments.length; n++)
2576
2574
  t[n] = arguments[n];
2577
- for (var r = "", i = t.length, a = 0, l; i > a; ) {
2578
- if (l = t[a++], l > 1114111)
2579
- throw RangeError(l + " is not a valid code point");
2580
- r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
2575
+ for (var r = "", i = t.length, a = 0, o; i > a; ) {
2576
+ if (o = t[a++], o > 1114111)
2577
+ throw RangeError(o + " is not a valid code point");
2578
+ r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2581
2579
  }
2582
2580
  return r;
2583
2581
  }
2584
- ), mn = (
2582
+ ), En = (
2585
2583
  // native
2586
- pi ? Object.fromEntries : (
2584
+ Ei ? Object.fromEntries : (
2587
2585
  // Ponyfill
2588
2586
  function(t) {
2589
2587
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2590
- var a = i[r], l = a[0], u = a[1];
2591
- n[l] = u;
2588
+ var a = i[r], o = a[0], u = a[1];
2589
+ n[o] = u;
2592
2590
  }
2593
2591
  return n;
2594
2592
  }
2595
2593
  )
2596
- ), Jn = mi ? (
2594
+ ), lr = xi ? (
2597
2595
  // Native
2598
2596
  function(t, n) {
2599
2597
  return t.codePointAt(n);
@@ -2607,7 +2605,7 @@ var pn = fi ? (
2607
2605
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2608
2606
  }
2609
2607
  }
2610
- ), vi = gi ? (
2608
+ ), Si = wi ? (
2611
2609
  // Native
2612
2610
  function(t) {
2613
2611
  return t.trimStart();
@@ -2615,9 +2613,9 @@ var pn = fi ? (
2615
2613
  ) : (
2616
2614
  // Ponyfill
2617
2615
  function(t) {
2618
- return t.replace(ci, "");
2616
+ return t.replace(bi, "");
2619
2617
  }
2620
- ), xi = bi ? (
2618
+ ), Hi = Ai ? (
2621
2619
  // Native
2622
2620
  function(t) {
2623
2621
  return t.trimEnd();
@@ -2625,32 +2623,32 @@ var pn = fi ? (
2625
2623
  ) : (
2626
2624
  // Ponyfill
2627
2625
  function(t) {
2628
- return t.replace(hi, "");
2626
+ return t.replace(yi, "");
2629
2627
  }
2630
2628
  );
2631
- function qn(e, t) {
2629
+ function ur(e, t) {
2632
2630
  return new RegExp(e, t);
2633
2631
  }
2634
- var Zt;
2635
- if (Wt) {
2636
- var gn = qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2637
- Zt = function(t, n) {
2632
+ var Jt;
2633
+ if (Kt) {
2634
+ var xn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2635
+ Jt = function(t, n) {
2638
2636
  var r;
2639
- gn.lastIndex = n;
2640
- var i = gn.exec(t);
2637
+ xn.lastIndex = n;
2638
+ var i = xn.exec(t);
2641
2639
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2642
2640
  };
2643
2641
  } else
2644
- Zt = function(t, n) {
2642
+ Jt = function(t, n) {
2645
2643
  for (var r = []; ; ) {
2646
- var i = Jn(t, n);
2647
- if (i === void 0 || er(i) || Ci(i))
2644
+ var i = lr(t, n);
2645
+ if (i === void 0 || cr(i) || Ni(i))
2648
2646
  break;
2649
2647
  r.push(i), n += i >= 65536 ? 2 : 1;
2650
2648
  }
2651
- return zt.apply(void 0, r);
2649
+ return Yt.apply(void 0, r);
2652
2650
  };
2653
- var wi = (
2651
+ var Pi = (
2654
2652
  /** @class */
2655
2653
  function() {
2656
2654
  function e(t, n) {
@@ -2664,33 +2662,33 @@ var wi = (
2664
2662
  for (var i = []; !this.isEOF(); ) {
2665
2663
  var a = this.char();
2666
2664
  if (a === 123) {
2667
- var l = this.parseArgument(t, r);
2668
- if (l.err)
2669
- return l;
2670
- i.push(l.val);
2665
+ var o = this.parseArgument(t, r);
2666
+ if (o.err)
2667
+ return o;
2668
+ i.push(o.val);
2671
2669
  } else {
2672
2670
  if (a === 125 && t > 0)
2673
2671
  break;
2674
2672
  if (a === 35 && (n === "plural" || n === "selectordinal")) {
2675
2673
  var u = this.clonePosition();
2676
2674
  this.bump(), i.push({
2677
- type: R.pound,
2678
- location: T(u, this.clonePosition())
2675
+ type: D.pound,
2676
+ location: H(u, this.clonePosition())
2679
2677
  });
2680
2678
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2681
2679
  if (r)
2682
2680
  break;
2683
- return this.error(w.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2684
- } else if (a === 60 && !this.ignoreTag && Qt(this.peek() || 0)) {
2685
- var l = this.parseTag(t, n);
2686
- if (l.err)
2687
- return l;
2688
- i.push(l.val);
2681
+ return this.error(T.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2682
+ } else if (a === 60 && !this.ignoreTag && qt(this.peek() || 0)) {
2683
+ var o = this.parseTag(t, n);
2684
+ if (o.err)
2685
+ return o;
2686
+ i.push(o.val);
2689
2687
  } else {
2690
- var l = this.parseLiteral(t, n);
2691
- if (l.err)
2692
- return l;
2693
- i.push(l.val);
2688
+ var o = this.parseLiteral(t, n);
2689
+ if (o.err)
2690
+ return o;
2691
+ i.push(o.val);
2694
2692
  }
2695
2693
  }
2696
2694
  }
@@ -2702,9 +2700,9 @@ var wi = (
2702
2700
  if (this.bumpSpace(), this.bumpIf("/>"))
2703
2701
  return {
2704
2702
  val: {
2705
- type: R.literal,
2703
+ type: D.literal,
2706
2704
  value: "<".concat(i, "/>"),
2707
- location: T(r, this.clonePosition())
2705
+ location: H(r, this.clonePosition())
2708
2706
  },
2709
2707
  err: null
2710
2708
  };
@@ -2712,27 +2710,27 @@ var wi = (
2712
2710
  var a = this.parseMessage(t + 1, n, !0);
2713
2711
  if (a.err)
2714
2712
  return a;
2715
- var l = a.val, u = this.clonePosition();
2713
+ var o = a.val, u = this.clonePosition();
2716
2714
  if (this.bumpIf("</")) {
2717
- if (this.isEOF() || !Qt(this.char()))
2718
- return this.error(w.INVALID_TAG, T(u, this.clonePosition()));
2719
- var o = this.clonePosition(), s = this.parseTagName();
2720
- return i !== s ? this.error(w.UNMATCHED_CLOSING_TAG, T(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2715
+ if (this.isEOF() || !qt(this.char()))
2716
+ return this.error(T.INVALID_TAG, H(u, this.clonePosition()));
2717
+ var s = this.clonePosition(), l = this.parseTagName();
2718
+ return i !== l ? this.error(T.UNMATCHED_CLOSING_TAG, H(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2721
2719
  val: {
2722
- type: R.tag,
2720
+ type: D.tag,
2723
2721
  value: i,
2724
- children: l,
2725
- location: T(r, this.clonePosition())
2722
+ children: o,
2723
+ location: H(r, this.clonePosition())
2726
2724
  },
2727
2725
  err: null
2728
- } : this.error(w.INVALID_TAG, T(u, this.clonePosition())));
2726
+ } : this.error(T.INVALID_TAG, H(u, this.clonePosition())));
2729
2727
  } else
2730
- return this.error(w.UNCLOSED_TAG, T(r, this.clonePosition()));
2728
+ return this.error(T.UNCLOSED_TAG, H(r, this.clonePosition()));
2731
2729
  } else
2732
- return this.error(w.INVALID_TAG, T(r, this.clonePosition()));
2730
+ return this.error(T.INVALID_TAG, H(r, this.clonePosition()));
2733
2731
  }, e.prototype.parseTagName = function() {
2734
2732
  var t = this.offset();
2735
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
2733
+ for (this.bump(); !this.isEOF() && Li(this.char()); )
2736
2734
  this.bump();
2737
2735
  return this.message.slice(t, this.offset());
2738
2736
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2742,9 +2740,9 @@ var wi = (
2742
2740
  i += a;
2743
2741
  continue;
2744
2742
  }
2745
- var l = this.tryParseUnquoted(t, n);
2746
- if (l) {
2747
- i += l;
2743
+ var o = this.tryParseUnquoted(t, n);
2744
+ if (o) {
2745
+ i += o;
2748
2746
  continue;
2749
2747
  }
2750
2748
  var u = this.tryParseLeftAngleBracket();
@@ -2754,14 +2752,14 @@ var wi = (
2754
2752
  }
2755
2753
  break;
2756
2754
  }
2757
- var o = T(r, this.clonePosition());
2755
+ var s = H(r, this.clonePosition());
2758
2756
  return {
2759
- val: { type: R.literal, value: i, location: o },
2757
+ val: { type: D.literal, value: i, location: s },
2760
2758
  err: null
2761
2759
  };
2762
2760
  }, e.prototype.tryParseLeftAngleBracket = function() {
2763
2761
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2764
- !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
2762
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2765
2763
  }, e.prototype.tryParseQuote = function(t) {
2766
2764
  if (this.isEOF() || this.char() !== 39)
2767
2765
  return null;
@@ -2795,100 +2793,100 @@ var wi = (
2795
2793
  n.push(r);
2796
2794
  this.bump();
2797
2795
  }
2798
- return zt.apply(void 0, n);
2796
+ return Yt.apply(void 0, n);
2799
2797
  }, e.prototype.tryParseUnquoted = function(t, n) {
2800
2798
  if (this.isEOF())
2801
2799
  return null;
2802
2800
  var r = this.char();
2803
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), zt(r));
2801
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Yt(r));
2804
2802
  }, e.prototype.parseArgument = function(t, n) {
2805
2803
  var r = this.clonePosition();
2806
2804
  if (this.bump(), this.bumpSpace(), this.isEOF())
2807
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2805
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
2808
2806
  if (this.char() === 125)
2809
- return this.bump(), this.error(w.EMPTY_ARGUMENT, T(r, this.clonePosition()));
2807
+ return this.bump(), this.error(T.EMPTY_ARGUMENT, H(r, this.clonePosition()));
2810
2808
  var i = this.parseIdentifierIfPossible().value;
2811
2809
  if (!i)
2812
- return this.error(w.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2810
+ return this.error(T.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
2813
2811
  if (this.bumpSpace(), this.isEOF())
2814
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2812
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
2815
2813
  switch (this.char()) {
2816
2814
  case 125:
2817
2815
  return this.bump(), {
2818
2816
  val: {
2819
- type: R.argument,
2817
+ type: D.argument,
2820
2818
  // value does not include the opening and closing braces.
2821
2819
  value: i,
2822
- location: T(r, this.clonePosition())
2820
+ location: H(r, this.clonePosition())
2823
2821
  },
2824
2822
  err: null
2825
2823
  };
2826
2824
  case 44:
2827
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2825
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2828
2826
  default:
2829
- return this.error(w.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2827
+ return this.error(T.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
2830
2828
  }
2831
2829
  }, e.prototype.parseIdentifierIfPossible = function() {
2832
- var t = this.clonePosition(), n = this.offset(), r = Zt(this.message, n), i = n + r.length;
2830
+ var t = this.clonePosition(), n = this.offset(), r = Jt(this.message, n), i = n + r.length;
2833
2831
  this.bumpTo(i);
2834
- var a = this.clonePosition(), l = T(t, a);
2835
- return { value: r, location: l };
2832
+ var a = this.clonePosition(), o = H(t, a);
2833
+ return { value: r, location: o };
2836
2834
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2837
- var a, l = this.clonePosition(), u = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2835
+ var a, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, s = this.clonePosition();
2838
2836
  switch (u) {
2839
2837
  case "":
2840
- return this.error(w.EXPECT_ARGUMENT_TYPE, T(l, o));
2838
+ return this.error(T.EXPECT_ARGUMENT_TYPE, H(o, s));
2841
2839
  case "number":
2842
2840
  case "date":
2843
2841
  case "time": {
2844
2842
  this.bumpSpace();
2845
- var s = null;
2843
+ var l = null;
2846
2844
  if (this.bumpIf(",")) {
2847
2845
  this.bumpSpace();
2848
- var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2849
- if (d.err)
2850
- return d;
2851
- var f = xi(d.val);
2852
- if (f.length === 0)
2853
- return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2854
- var m = T(c, this.clonePosition());
2855
- s = { style: f, styleLocation: m };
2846
+ var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2847
+ if (f.err)
2848
+ return f;
2849
+ var h = Hi(f.val);
2850
+ if (h.length === 0)
2851
+ return this.error(T.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2852
+ var d = H(c, this.clonePosition());
2853
+ l = { style: h, styleLocation: d };
2856
2854
  }
2857
- var _ = this.tryParseArgumentClose(i);
2858
- if (_.err)
2859
- return _;
2860
- var g = T(i, this.clonePosition());
2861
- if (s && pn(s?.style, "::", 0)) {
2862
- var I = vi(s.style.slice(2));
2855
+ var v = this.tryParseArgumentClose(i);
2856
+ if (v.err)
2857
+ return v;
2858
+ var b = H(i, this.clonePosition());
2859
+ if (l && _n(l?.style, "::", 0)) {
2860
+ var L = Si(l.style.slice(2));
2863
2861
  if (u === "number") {
2864
- var d = this.parseNumberSkeletonFromString(I, s.styleLocation);
2865
- return d.err ? d : {
2866
- val: { type: R.number, value: r, location: g, style: d.val },
2862
+ var f = this.parseNumberSkeletonFromString(L, l.styleLocation);
2863
+ return f.err ? f : {
2864
+ val: { type: D.number, value: r, location: b, style: f.val },
2867
2865
  err: null
2868
2866
  };
2869
2867
  } else {
2870
- if (I.length === 0)
2871
- return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2872
- var D = I;
2873
- this.locale && (D = li(I, this.locale));
2874
- var f = {
2875
- type: Xe.dateTime,
2876
- pattern: D,
2877
- location: s.styleLocation,
2878
- parsedOptions: this.shouldParseSkeletons ? ti(D) : {}
2879
- }, N = u === "date" ? R.date : R.time;
2868
+ if (L.length === 0)
2869
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
2870
+ var E = L;
2871
+ this.locale && (E = mi(L, this.locale));
2872
+ var h = {
2873
+ type: We.dateTime,
2874
+ pattern: E,
2875
+ location: l.styleLocation,
2876
+ parsedOptions: this.shouldParseSkeletons ? li(E) : {}
2877
+ }, O = u === "date" ? D.date : D.time;
2880
2878
  return {
2881
- val: { type: N, value: r, location: g, style: f },
2879
+ val: { type: O, value: r, location: b, style: h },
2882
2880
  err: null
2883
2881
  };
2884
2882
  }
2885
2883
  }
2886
2884
  return {
2887
2885
  val: {
2888
- type: u === "number" ? R.number : u === "date" ? R.date : R.time,
2886
+ type: u === "number" ? D.number : u === "date" ? D.date : D.time,
2889
2887
  value: r,
2890
- location: g,
2891
- style: (a = s?.style) !== null && a !== void 0 ? a : null
2888
+ location: b,
2889
+ style: (a = l?.style) !== null && a !== void 0 ? a : null
2892
2890
  },
2893
2891
  err: null
2894
2892
  };
@@ -2896,52 +2894,52 @@ var wi = (
2896
2894
  case "plural":
2897
2895
  case "selectordinal":
2898
2896
  case "select": {
2899
- var C = this.clonePosition();
2897
+ var I = this.clonePosition();
2900
2898
  if (this.bumpSpace(), !this.bumpIf(","))
2901
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(C, xt({}, C)));
2899
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, H(I, Ct({}, I)));
2902
2900
  this.bumpSpace();
2903
- var ne = this.parseIdentifierIfPossible(), k = 0;
2904
- if (u !== "select" && ne.value === "offset") {
2901
+ var ie = this.parseIdentifierIfPossible(), F = 0;
2902
+ if (u !== "select" && ie.value === "offset") {
2905
2903
  if (!this.bumpIf(":"))
2906
- return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2904
+ return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2907
2905
  this.bumpSpace();
2908
- var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2909
- if (d.err)
2910
- return d;
2911
- this.bumpSpace(), ne = this.parseIdentifierIfPossible(), k = d.val;
2906
+ var f = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2907
+ if (f.err)
2908
+ return f;
2909
+ this.bumpSpace(), ie = this.parseIdentifierIfPossible(), F = f.val;
2912
2910
  }
2913
- var ee = this.tryParsePluralOrSelectOptions(t, u, n, ne);
2914
- if (ee.err)
2915
- return ee;
2916
- var _ = this.tryParseArgumentClose(i);
2917
- if (_.err)
2918
- return _;
2919
- var re = T(i, this.clonePosition());
2911
+ var te = this.tryParsePluralOrSelectOptions(t, u, n, ie);
2912
+ if (te.err)
2913
+ return te;
2914
+ var v = this.tryParseArgumentClose(i);
2915
+ if (v.err)
2916
+ return v;
2917
+ var ae = H(i, this.clonePosition());
2920
2918
  return u === "select" ? {
2921
2919
  val: {
2922
- type: R.select,
2920
+ type: D.select,
2923
2921
  value: r,
2924
- options: mn(ee.val),
2925
- location: re
2922
+ options: En(te.val),
2923
+ location: ae
2926
2924
  },
2927
2925
  err: null
2928
2926
  } : {
2929
2927
  val: {
2930
- type: R.plural,
2928
+ type: D.plural,
2931
2929
  value: r,
2932
- options: mn(ee.val),
2933
- offset: k,
2930
+ options: En(te.val),
2931
+ offset: F,
2934
2932
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2935
- location: re
2933
+ location: ae
2936
2934
  },
2937
2935
  err: null
2938
2936
  };
2939
2937
  }
2940
2938
  default:
2941
- return this.error(w.INVALID_ARGUMENT_TYPE, T(l, o));
2939
+ return this.error(T.INVALID_ARGUMENT_TYPE, H(o, s));
2942
2940
  }
2943
2941
  }, e.prototype.tryParseArgumentClose = function(t) {
2944
- return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2942
+ return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2945
2943
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2946
2944
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2947
2945
  var r = this.char();
@@ -2950,7 +2948,7 @@ var wi = (
2950
2948
  this.bump();
2951
2949
  var i = this.clonePosition();
2952
2950
  if (!this.bumpUntil("'"))
2953
- return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
2951
+ return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
2954
2952
  this.bump();
2955
2953
  break;
2956
2954
  }
@@ -2980,64 +2978,64 @@ var wi = (
2980
2978
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2981
2979
  var r = [];
2982
2980
  try {
2983
- r = ri(t);
2981
+ r = ci(t);
2984
2982
  } catch {
2985
- return this.error(w.INVALID_NUMBER_SKELETON, n);
2983
+ return this.error(T.INVALID_NUMBER_SKELETON, n);
2986
2984
  }
2987
2985
  return {
2988
2986
  val: {
2989
- type: Xe.number,
2987
+ type: We.number,
2990
2988
  tokens: r,
2991
2989
  location: n,
2992
- parsedOptions: this.shouldParseSkeletons ? si(r) : {}
2990
+ parsedOptions: this.shouldParseSkeletons ? pi(r) : {}
2993
2991
  },
2994
2992
  err: null
2995
2993
  };
2996
2994
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2997
- for (var a, l = !1, u = [], o = /* @__PURE__ */ new Set(), s = i.value, c = i.location; ; ) {
2998
- if (s.length === 0) {
2999
- var d = this.clonePosition();
2995
+ for (var a, o = !1, u = [], s = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2996
+ if (l.length === 0) {
2997
+ var f = this.clonePosition();
3000
2998
  if (n !== "select" && this.bumpIf("=")) {
3001
- var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3002
- if (f.err)
3003
- return f;
3004
- c = T(d, this.clonePosition()), s = this.message.slice(d.offset, this.offset());
2999
+ var h = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3000
+ if (h.err)
3001
+ return h;
3002
+ c = H(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3005
3003
  } else
3006
3004
  break;
3007
3005
  }
3008
- if (o.has(s))
3009
- return this.error(n === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3010
- s === "other" && (l = !0), this.bumpSpace();
3011
- var m = this.clonePosition();
3006
+ if (s.has(l))
3007
+ return this.error(n === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3008
+ l === "other" && (o = !0), this.bumpSpace();
3009
+ var d = this.clonePosition();
3012
3010
  if (!this.bumpIf("{"))
3013
- return this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3014
- var _ = this.parseMessage(t + 1, n, r);
3015
- if (_.err)
3016
- return _;
3017
- var g = this.tryParseArgumentClose(m);
3018
- if (g.err)
3019
- return g;
3011
+ return this.error(n === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3012
+ var v = this.parseMessage(t + 1, n, r);
3013
+ if (v.err)
3014
+ return v;
3015
+ var b = this.tryParseArgumentClose(d);
3016
+ if (b.err)
3017
+ return b;
3020
3018
  u.push([
3021
- s,
3019
+ l,
3022
3020
  {
3023
- value: _.val,
3024
- location: T(m, this.clonePosition())
3021
+ value: v.val,
3022
+ location: H(d, this.clonePosition())
3025
3023
  }
3026
- ]), o.add(s), this.bumpSpace(), a = this.parseIdentifierIfPossible(), s = a.value, c = a.location;
3024
+ ]), s.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
3027
3025
  }
3028
- return u.length === 0 ? this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(w.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3026
+ return u.length === 0 ? this.error(n === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3029
3027
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3030
3028
  var r = 1, i = this.clonePosition();
3031
3029
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3032
- for (var a = !1, l = 0; !this.isEOF(); ) {
3030
+ for (var a = !1, o = 0; !this.isEOF(); ) {
3033
3031
  var u = this.char();
3034
3032
  if (u >= 48 && u <= 57)
3035
- a = !0, l = l * 10 + (u - 48), this.bump();
3033
+ a = !0, o = o * 10 + (u - 48), this.bump();
3036
3034
  else
3037
3035
  break;
3038
3036
  }
3039
- var o = T(i, this.clonePosition());
3040
- return a ? (l *= r, Ei(l) ? { val: l, err: null } : this.error(n, o)) : this.error(t, o);
3037
+ var s = H(i, this.clonePosition());
3038
+ return a ? (o *= r, Ti(o) ? { val: o, err: null } : this.error(n, s)) : this.error(t, s);
3041
3039
  }, e.prototype.offset = function() {
3042
3040
  return this.position.offset;
3043
3041
  }, e.prototype.isEOF = function() {
@@ -3052,7 +3050,7 @@ var wi = (
3052
3050
  var t = this.position.offset;
3053
3051
  if (t >= this.message.length)
3054
3052
  throw Error("out of bound");
3055
- var n = Jn(this.message, t);
3053
+ var n = lr(this.message, t);
3056
3054
  if (n === void 0)
3057
3055
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3058
3056
  return n;
@@ -3071,7 +3069,7 @@ var wi = (
3071
3069
  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);
3072
3070
  }
3073
3071
  }, e.prototype.bumpIf = function(t) {
3074
- if (pn(this.message, t, this.offset())) {
3072
+ if (_n(this.message, t, this.offset())) {
3075
3073
  for (var n = 0; n < t.length; n++)
3076
3074
  this.bump();
3077
3075
  return !0;
@@ -3093,7 +3091,7 @@ var wi = (
3093
3091
  break;
3094
3092
  }
3095
3093
  }, e.prototype.bumpSpace = function() {
3096
- for (; !this.isEOF() && er(this.char()); )
3094
+ for (; !this.isEOF() && cr(this.char()); )
3097
3095
  this.bump();
3098
3096
  }, e.prototype.peek = function() {
3099
3097
  if (this.isEOF())
@@ -3103,47 +3101,47 @@ var wi = (
3103
3101
  }, e;
3104
3102
  }()
3105
3103
  );
3106
- function Qt(e) {
3104
+ function qt(e) {
3107
3105
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3108
3106
  }
3109
- function Ai(e) {
3110
- return Qt(e) || e === 47;
3107
+ function Ii(e) {
3108
+ return qt(e) || e === 47;
3111
3109
  }
3112
- function Ti(e) {
3110
+ function Li(e) {
3113
3111
  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;
3114
3112
  }
3115
- function er(e) {
3113
+ function cr(e) {
3116
3114
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3117
3115
  }
3118
- function Ci(e) {
3116
+ function Ni(e) {
3119
3117
  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;
3120
3118
  }
3121
- function Kt(e) {
3119
+ function en(e) {
3122
3120
  e.forEach(function(t) {
3123
- if (delete t.location, jn(t) || Xn(t))
3121
+ if (delete t.location, er(t) || tr(t))
3124
3122
  for (var n in t.options)
3125
- delete t.options[n].location, Kt(t.options[n].value);
3123
+ delete t.options[n].location, en(t.options[n].value);
3126
3124
  else
3127
- Vn(t) && zn(t.style) || ($n(t) || Gn(t)) && Xt(t.style) ? delete t.style.location : Wn(t) && Kt(t.children);
3125
+ Yn(t) && rr(t.style) || (Jn(t) || qn(t)) && Qt(t.style) ? delete t.style.location : nr(t) && en(t.children);
3128
3126
  });
3129
3127
  }
3130
- function Bi(e, t) {
3131
- t === void 0 && (t = {}), t = xt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3132
- var n = new wi(e, t).parse();
3128
+ function Oi(e, t) {
3129
+ t === void 0 && (t = {}), t = Ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3130
+ var n = new Pi(e, t).parse();
3133
3131
  if (n.err) {
3134
- var r = SyntaxError(w[n.err.kind]);
3132
+ var r = SyntaxError(T[n.err.kind]);
3135
3133
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3136
3134
  }
3137
- return t?.captureLocation || Kt(n.val), n.val;
3135
+ return t?.captureLocation || en(n.val), n.val;
3138
3136
  }
3139
- var We;
3137
+ var ze;
3140
3138
  (function(e) {
3141
3139
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3142
- })(We || (We = {}));
3143
- var St = (
3140
+ })(ze || (ze = {}));
3141
+ var It = (
3144
3142
  /** @class */
3145
3143
  function(e) {
3146
- Bt(t, e);
3144
+ Pt(t, e);
3147
3145
  function t(n, r, i) {
3148
3146
  var a = e.call(this, n) || this;
3149
3147
  return a.code = r, a.originalMessage = i, a;
@@ -3152,155 +3150,155 @@ var St = (
3152
3150
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3153
3151
  }, t;
3154
3152
  }(Error)
3155
- ), bn = (
3153
+ ), wn = (
3156
3154
  /** @class */
3157
3155
  function(e) {
3158
- Bt(t, e);
3156
+ Pt(t, e);
3159
3157
  function t(n, r, i, a) {
3160
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), We.INVALID_VALUE, a) || this;
3158
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ze.INVALID_VALUE, a) || this;
3161
3159
  }
3162
3160
  return t;
3163
- }(St)
3164
- ), Si = (
3161
+ }(It)
3162
+ ), Ri = (
3165
3163
  /** @class */
3166
3164
  function(e) {
3167
- Bt(t, e);
3165
+ Pt(t, e);
3168
3166
  function t(n, r, i) {
3169
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), We.INVALID_VALUE, i) || this;
3167
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ze.INVALID_VALUE, i) || this;
3170
3168
  }
3171
3169
  return t;
3172
- }(St)
3173
- ), Hi = (
3170
+ }(It)
3171
+ ), ki = (
3174
3172
  /** @class */
3175
3173
  function(e) {
3176
- Bt(t, e);
3174
+ Pt(t, e);
3177
3175
  function t(n, r) {
3178
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), We.MISSING_VALUE, r) || this;
3176
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ze.MISSING_VALUE, r) || this;
3179
3177
  }
3180
3178
  return t;
3181
- }(St)
3182
- ), Z;
3179
+ }(It)
3180
+ ), K;
3183
3181
  (function(e) {
3184
3182
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3185
- })(Z || (Z = {}));
3186
- function Pi(e) {
3183
+ })(K || (K = {}));
3184
+ function Di(e) {
3187
3185
  return e.length < 2 ? e : e.reduce(function(t, n) {
3188
3186
  var r = t[t.length - 1];
3189
- return !r || r.type !== Z.literal || n.type !== Z.literal ? t.push(n) : r.value += n.value, t;
3187
+ return !r || r.type !== K.literal || n.type !== K.literal ? t.push(n) : r.value += n.value, t;
3190
3188
  }, []);
3191
3189
  }
3192
- function Ii(e) {
3190
+ function Mi(e) {
3193
3191
  return typeof e == "function";
3194
3192
  }
3195
- function Et(e, t, n, r, i, a, l) {
3196
- if (e.length === 1 && cn(e[0]))
3193
+ function Et(e, t, n, r, i, a, o) {
3194
+ if (e.length === 1 && gn(e[0]))
3197
3195
  return [
3198
3196
  {
3199
- type: Z.literal,
3197
+ type: K.literal,
3200
3198
  value: e[0].value
3201
3199
  }
3202
3200
  ];
3203
- for (var u = [], o = 0, s = e; o < s.length; o++) {
3204
- var c = s[o];
3205
- if (cn(c)) {
3201
+ for (var u = [], s = 0, l = e; s < l.length; s++) {
3202
+ var c = l[s];
3203
+ if (gn(c)) {
3206
3204
  u.push({
3207
- type: Z.literal,
3205
+ type: K.literal,
3208
3206
  value: c.value
3209
3207
  });
3210
3208
  continue;
3211
3209
  }
3212
- if (qr(c)) {
3210
+ if (oi(c)) {
3213
3211
  typeof a == "number" && u.push({
3214
- type: Z.literal,
3212
+ type: K.literal,
3215
3213
  value: n.getNumberFormat(t).format(a)
3216
3214
  });
3217
3215
  continue;
3218
3216
  }
3219
- var d = c.value;
3220
- if (!(i && d in i))
3221
- throw new Hi(d, l);
3222
- var f = i[d];
3223
- if (Jr(c)) {
3224
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3225
- type: typeof f == "string" ? Z.literal : Z.object,
3226
- value: f
3217
+ var f = c.value;
3218
+ if (!(i && f in i))
3219
+ throw new ki(f, o);
3220
+ var h = i[f];
3221
+ if (ai(c)) {
3222
+ (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), u.push({
3223
+ type: typeof h == "string" ? K.literal : K.object,
3224
+ value: h
3227
3225
  });
3228
3226
  continue;
3229
3227
  }
3230
- if ($n(c)) {
3231
- var m = typeof c.style == "string" ? r.date[c.style] : Xt(c.style) ? c.style.parsedOptions : void 0;
3228
+ if (Jn(c)) {
3229
+ var d = typeof c.style == "string" ? r.date[c.style] : Qt(c.style) ? c.style.parsedOptions : void 0;
3232
3230
  u.push({
3233
- type: Z.literal,
3234
- value: n.getDateTimeFormat(t, m).format(f)
3231
+ type: K.literal,
3232
+ value: n.getDateTimeFormat(t, d).format(h)
3235
3233
  });
3236
3234
  continue;
3237
3235
  }
3238
- if (Gn(c)) {
3239
- var m = typeof c.style == "string" ? r.time[c.style] : Xt(c.style) ? c.style.parsedOptions : r.time.medium;
3236
+ if (qn(c)) {
3237
+ var d = typeof c.style == "string" ? r.time[c.style] : Qt(c.style) ? c.style.parsedOptions : r.time.medium;
3240
3238
  u.push({
3241
- type: Z.literal,
3242
- value: n.getDateTimeFormat(t, m).format(f)
3239
+ type: K.literal,
3240
+ value: n.getDateTimeFormat(t, d).format(h)
3243
3241
  });
3244
3242
  continue;
3245
3243
  }
3246
- if (Vn(c)) {
3247
- var m = typeof c.style == "string" ? r.number[c.style] : zn(c.style) ? c.style.parsedOptions : void 0;
3248
- m && m.scale && (f = f * (m.scale || 1)), u.push({
3249
- type: Z.literal,
3250
- value: n.getNumberFormat(t, m).format(f)
3244
+ if (Yn(c)) {
3245
+ var d = typeof c.style == "string" ? r.number[c.style] : rr(c.style) ? c.style.parsedOptions : void 0;
3246
+ d && d.scale && (h = h * (d.scale || 1)), u.push({
3247
+ type: K.literal,
3248
+ value: n.getNumberFormat(t, d).format(h)
3251
3249
  });
3252
3250
  continue;
3253
3251
  }
3254
- if (Wn(c)) {
3255
- var _ = c.children, g = c.value, I = i[g];
3256
- if (!Ii(I))
3257
- throw new Si(g, "function", l);
3258
- var D = Et(_, t, n, r, i, a), N = I(D.map(function(k) {
3259
- return k.value;
3252
+ if (nr(c)) {
3253
+ var v = c.children, b = c.value, L = i[b];
3254
+ if (!Mi(L))
3255
+ throw new Ri(b, "function", o);
3256
+ var E = Et(v, t, n, r, i, a), O = L(E.map(function(F) {
3257
+ return F.value;
3260
3258
  }));
3261
- Array.isArray(N) || (N = [N]), u.push.apply(u, N.map(function(k) {
3259
+ Array.isArray(O) || (O = [O]), u.push.apply(u, O.map(function(F) {
3262
3260
  return {
3263
- type: typeof k == "string" ? Z.literal : Z.object,
3264
- value: k
3261
+ type: typeof F == "string" ? K.literal : K.object,
3262
+ value: F
3265
3263
  };
3266
3264
  }));
3267
3265
  }
3268
- if (jn(c)) {
3269
- var C = c.options[f] || c.options.other;
3270
- if (!C)
3271
- throw new bn(c.value, f, Object.keys(c.options), l);
3272
- u.push.apply(u, Et(C.value, t, n, r, i));
3266
+ if (er(c)) {
3267
+ var I = c.options[h] || c.options.other;
3268
+ if (!I)
3269
+ throw new wn(c.value, h, Object.keys(c.options), o);
3270
+ u.push.apply(u, Et(I.value, t, n, r, i));
3273
3271
  continue;
3274
3272
  }
3275
- if (Xn(c)) {
3276
- var C = c.options["=".concat(f)];
3277
- if (!C) {
3273
+ if (tr(c)) {
3274
+ var I = c.options["=".concat(h)];
3275
+ if (!I) {
3278
3276
  if (!Intl.PluralRules)
3279
- throw new St(`Intl.PluralRules is not available in this environment.
3277
+ throw new It(`Intl.PluralRules is not available in this environment.
3280
3278
  Try polyfilling it using "@formatjs/intl-pluralrules"
3281
- `, We.MISSING_INTL_API, l);
3282
- var ne = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3283
- C = c.options[ne] || c.options.other;
3279
+ `, ze.MISSING_INTL_API, o);
3280
+ var ie = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3281
+ I = c.options[ie] || c.options.other;
3284
3282
  }
3285
- if (!C)
3286
- throw new bn(c.value, f, Object.keys(c.options), l);
3287
- u.push.apply(u, Et(C.value, t, n, r, i, f - (c.offset || 0)));
3283
+ if (!I)
3284
+ throw new wn(c.value, h, Object.keys(c.options), o);
3285
+ u.push.apply(u, Et(I.value, t, n, r, i, h - (c.offset || 0)));
3288
3286
  continue;
3289
3287
  }
3290
3288
  }
3291
- return Pi(u);
3289
+ return Di(u);
3292
3290
  }
3293
- function Ni(e, t) {
3294
- return t ? fe(fe(fe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3295
- return n[r] = fe(fe({}, e[r]), t[r] || {}), n;
3291
+ function Fi(e, t) {
3292
+ return t ? me(me(me({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3293
+ return n[r] = me(me({}, e[r]), t[r] || {}), n;
3296
3294
  }, {})) : e;
3297
3295
  }
3298
- function Li(e, t) {
3296
+ function Ui(e, t) {
3299
3297
  return t ? Object.keys(e).reduce(function(n, r) {
3300
- return n[r] = Ni(e[r], t[r]), n;
3301
- }, fe({}, e)) : e;
3298
+ return n[r] = Fi(e[r], t[r]), n;
3299
+ }, me({}, e)) : e;
3302
3300
  }
3303
- function kt(e) {
3301
+ function Gt(e) {
3304
3302
  return {
3305
3303
  create: function() {
3306
3304
  return {
@@ -3314,39 +3312,39 @@ function kt(e) {
3314
3312
  }
3315
3313
  };
3316
3314
  }
3317
- function Oi(e) {
3315
+ function Vi(e) {
3318
3316
  return e === void 0 && (e = {
3319
3317
  number: {},
3320
3318
  dateTime: {},
3321
3319
  pluralRules: {}
3322
3320
  }), {
3323
- getNumberFormat: Rt(function() {
3321
+ getNumberFormat: Ft(function() {
3324
3322
  for (var t, n = [], r = 0; r < arguments.length; r++)
3325
3323
  n[r] = arguments[r];
3326
- return new ((t = Intl.NumberFormat).bind.apply(t, Ot([void 0], n, !1)))();
3324
+ return new ((t = Intl.NumberFormat).bind.apply(t, Mt([void 0], n, !1)))();
3327
3325
  }, {
3328
- cache: kt(e.number),
3329
- strategy: Mt.variadic
3326
+ cache: Gt(e.number),
3327
+ strategy: Ut.variadic
3330
3328
  }),
3331
- getDateTimeFormat: Rt(function() {
3329
+ getDateTimeFormat: Ft(function() {
3332
3330
  for (var t, n = [], r = 0; r < arguments.length; r++)
3333
3331
  n[r] = arguments[r];
3334
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ot([void 0], n, !1)))();
3332
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Mt([void 0], n, !1)))();
3335
3333
  }, {
3336
- cache: kt(e.dateTime),
3337
- strategy: Mt.variadic
3334
+ cache: Gt(e.dateTime),
3335
+ strategy: Ut.variadic
3338
3336
  }),
3339
- getPluralRules: Rt(function() {
3337
+ getPluralRules: Ft(function() {
3340
3338
  for (var t, n = [], r = 0; r < arguments.length; r++)
3341
3339
  n[r] = arguments[r];
3342
- return new ((t = Intl.PluralRules).bind.apply(t, Ot([void 0], n, !1)))();
3340
+ return new ((t = Intl.PluralRules).bind.apply(t, Mt([void 0], n, !1)))();
3343
3341
  }, {
3344
- cache: kt(e.pluralRules),
3345
- strategy: Mt.variadic
3342
+ cache: Gt(e.pluralRules),
3343
+ strategy: Ut.variadic
3346
3344
  })
3347
3345
  };
3348
3346
  }
3349
- var Ri = (
3347
+ var Gi = (
3350
3348
  /** @class */
3351
3349
  function() {
3352
3350
  function e(t, n, r, i) {
@@ -3356,35 +3354,35 @@ var Ri = (
3356
3354
  number: {},
3357
3355
  dateTime: {},
3358
3356
  pluralRules: {}
3359
- }, this.format = function(o) {
3360
- var s = a.formatToParts(o);
3361
- if (s.length === 1)
3362
- return s[0].value;
3363
- var c = s.reduce(function(d, f) {
3364
- return !d.length || f.type !== Z.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3357
+ }, this.format = function(s) {
3358
+ var l = a.formatToParts(s);
3359
+ if (l.length === 1)
3360
+ return l[0].value;
3361
+ var c = l.reduce(function(f, h) {
3362
+ return !f.length || h.type !== K.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3365
3363
  }, []);
3366
3364
  return c.length <= 1 ? c[0] || "" : c;
3367
- }, this.formatToParts = function(o) {
3368
- return Et(a.ast, a.locales, a.formatters, a.formats, o, void 0, a.message);
3365
+ }, this.formatToParts = function(s) {
3366
+ return Et(a.ast, a.locales, a.formatters, a.formats, s, void 0, a.message);
3369
3367
  }, this.resolvedOptions = function() {
3370
- var o;
3368
+ var s;
3371
3369
  return {
3372
- locale: ((o = a.resolvedLocale) === null || o === void 0 ? void 0 : o.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3370
+ locale: ((s = a.resolvedLocale) === null || s === void 0 ? void 0 : s.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3373
3371
  };
3374
3372
  }, this.getAst = function() {
3375
3373
  return a.ast;
3376
3374
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3377
3375
  if (this.message = t, !e.__parse)
3378
3376
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3379
- var l = i || {};
3380
- l.formatters;
3381
- var u = jr(l, ["formatters"]);
3382
- this.ast = e.__parse(t, fe(fe({}, u), { locale: this.resolvedLocale }));
3377
+ var o = i || {};
3378
+ o.formatters;
3379
+ var u = Yr(o, ["formatters"]);
3380
+ this.ast = e.__parse(t, me(me({}, u), { locale: this.resolvedLocale }));
3383
3381
  } else
3384
3382
  this.ast = t;
3385
3383
  if (!Array.isArray(this.ast))
3386
3384
  throw new TypeError("A message must be provided as a String or AST.");
3387
- this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Oi(this.formatterCache);
3385
+ this.formats = Ui(e.formats, r), this.formatters = i && i.formatters || Vi(this.formatterCache);
3388
3386
  }
3389
3387
  return Object.defineProperty(e, "defaultLocale", {
3390
3388
  get: function() {
@@ -3397,7 +3395,7 @@ var Ri = (
3397
3395
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3398
3396
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3399
3397
  }
3400
- }, e.__parse = Bi, e.formats = {
3398
+ }, e.__parse = Oi, e.formats = {
3401
3399
  number: {
3402
3400
  integer: {
3403
3401
  maximumFractionDigits: 0
@@ -3458,7 +3456,7 @@ var Ri = (
3458
3456
  }, e;
3459
3457
  }()
3460
3458
  );
3461
- function Mi(e, t) {
3459
+ function $i(e, t) {
3462
3460
  if (t == null)
3463
3461
  return;
3464
3462
  if (t in e)
@@ -3479,92 +3477,92 @@ function Mi(e, t) {
3479
3477
  r = void 0;
3480
3478
  return r;
3481
3479
  }
3482
- const Te = {}, Di = (e, t, n) => n && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = n), n), tr = (e, t) => {
3480
+ const Te = {}, ji = (e, t, n) => n && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = n), n), hr = (e, t) => {
3483
3481
  if (t == null)
3484
3482
  return;
3485
3483
  if (t in Te && e in Te[t])
3486
3484
  return Te[t][e];
3487
- const n = Ht(t);
3485
+ const n = Lt(t);
3488
3486
  for (let r = 0; r < n.length; r++) {
3489
- const i = n[r], a = Fi(i, e);
3487
+ const i = n[r], a = Wi(i, e);
3490
3488
  if (a)
3491
- return Di(e, t, a);
3489
+ return ji(e, t, a);
3492
3490
  }
3493
3491
  };
3494
- let en;
3495
- const Qe = Ct({});
3496
- function ki(e) {
3497
- return en[e] || null;
3492
+ let un;
3493
+ const Ke = Ht({});
3494
+ function Xi(e) {
3495
+ return un[e] || null;
3498
3496
  }
3499
- function nr(e) {
3500
- return e in en;
3497
+ function fr(e) {
3498
+ return e in un;
3501
3499
  }
3502
- function Fi(e, t) {
3503
- if (!nr(e))
3500
+ function Wi(e, t) {
3501
+ if (!fr(e))
3504
3502
  return null;
3505
- const n = ki(e);
3506
- return Mi(n, t);
3503
+ const n = Xi(e);
3504
+ return $i(n, t);
3507
3505
  }
3508
- function Ui(e) {
3506
+ function zi(e) {
3509
3507
  if (e == null)
3510
3508
  return;
3511
- const t = Ht(e);
3509
+ const t = Lt(e);
3512
3510
  for (let n = 0; n < t.length; n++) {
3513
3511
  const r = t[n];
3514
- if (nr(r))
3512
+ if (fr(r))
3515
3513
  return r;
3516
3514
  }
3517
3515
  }
3518
- function rr(e, ...t) {
3519
- delete Te[e], Qe.update((n) => (n[e] = Gr.all([n[e] || {}, ...t]), n));
3516
+ function dr(e, ...t) {
3517
+ delete Te[e], Ke.update((n) => (n[e] = Kr.all([n[e] || {}, ...t]), n));
3520
3518
  }
3521
- Ze(
3522
- [Qe],
3519
+ Qe(
3520
+ [Ke],
3523
3521
  ([e]) => Object.keys(e)
3524
3522
  );
3525
- Qe.subscribe((e) => en = e);
3526
- const _t = {};
3527
- function Vi(e, t) {
3528
- _t[e].delete(t), _t[e].size === 0 && delete _t[e];
3523
+ Ke.subscribe((e) => un = e);
3524
+ const xt = {};
3525
+ function Zi(e, t) {
3526
+ xt[e].delete(t), xt[e].size === 0 && delete xt[e];
3529
3527
  }
3530
- function ir(e) {
3531
- return _t[e];
3528
+ function pr(e) {
3529
+ return xt[e];
3532
3530
  }
3533
- function $i(e) {
3534
- return Ht(e).map((t) => {
3535
- const n = ir(t);
3531
+ function Qi(e) {
3532
+ return Lt(e).map((t) => {
3533
+ const n = pr(t);
3536
3534
  return [t, n ? [...n] : []];
3537
3535
  }).filter(([, t]) => t.length > 0);
3538
3536
  }
3539
- function Yt(e) {
3540
- return e == null ? !1 : Ht(e).some(
3537
+ function tn(e) {
3538
+ return e == null ? !1 : Lt(e).some(
3541
3539
  (t) => {
3542
3540
  var n;
3543
- return (n = ir(t)) == null ? void 0 : n.size;
3541
+ return (n = pr(t)) == null ? void 0 : n.size;
3544
3542
  }
3545
3543
  );
3546
3544
  }
3547
- function Gi(e, t) {
3545
+ function Ki(e, t) {
3548
3546
  return Promise.all(
3549
- t.map((r) => (Vi(e, r), r().then((i) => i.default || i)))
3550
- ).then((r) => rr(e, ...r));
3551
- }
3552
- const tt = {};
3553
- function ar(e) {
3554
- if (!Yt(e))
3555
- return e in tt ? tt[e] : Promise.resolve();
3556
- const t = $i(e);
3557
- return tt[e] = Promise.all(
3547
+ t.map((r) => (Zi(e, r), r().then((i) => i.default || i)))
3548
+ ).then((r) => dr(e, ...r));
3549
+ }
3550
+ const nt = {};
3551
+ function mr(e) {
3552
+ if (!tn(e))
3553
+ return e in nt ? nt[e] : Promise.resolve();
3554
+ const t = Qi(e);
3555
+ return nt[e] = Promise.all(
3558
3556
  t.map(
3559
- ([n, r]) => Gi(n, r)
3557
+ ([n, r]) => Ki(n, r)
3560
3558
  )
3561
3559
  ).then(() => {
3562
- if (Yt(e))
3563
- return ar(e);
3564
- delete tt[e];
3565
- }), tt[e];
3560
+ if (tn(e))
3561
+ return mr(e);
3562
+ delete nt[e];
3563
+ }), nt[e];
3566
3564
  }
3567
- const ji = {
3565
+ const Yi = {
3568
3566
  number: {
3569
3567
  scientific: { notation: "scientific" },
3570
3568
  engineering: { notation: "engineering" },
@@ -3593,183 +3591,183 @@ const ji = {
3593
3591
  timeZoneName: "short"
3594
3592
  }
3595
3593
  }
3596
- }, Xi = {
3594
+ }, Ji = {
3597
3595
  fallbackLocale: null,
3598
3596
  loadingDelay: 200,
3599
- formats: ji,
3597
+ formats: Yi,
3600
3598
  warnOnMissingMessages: !0,
3601
3599
  handleMissingMessage: void 0,
3602
3600
  ignoreTag: !0
3603
- }, Wi = Xi;
3604
- function ze() {
3605
- return Wi;
3601
+ }, qi = Ji;
3602
+ function Ze() {
3603
+ return qi;
3606
3604
  }
3607
- const Ft = Ct(!1);
3608
- var zi = Object.defineProperty, Zi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, yn = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, En = (e, t, n) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ji = (e, t) => {
3605
+ const $t = Ht(!1);
3606
+ var ea = Object.defineProperty, ta = Object.defineProperties, na = Object.getOwnPropertyDescriptors, An = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, ia = Object.prototype.propertyIsEnumerable, Cn = (e, t, n) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, aa = (e, t) => {
3609
3607
  for (var n in t || (t = {}))
3610
- Ki.call(t, n) && En(e, n, t[n]);
3611
- if (yn)
3612
- for (var n of yn(t))
3613
- Yi.call(t, n) && En(e, n, t[n]);
3608
+ ra.call(t, n) && Cn(e, n, t[n]);
3609
+ if (An)
3610
+ for (var n of An(t))
3611
+ ia.call(t, n) && Cn(e, n, t[n]);
3614
3612
  return e;
3615
- }, qi = (e, t) => Zi(e, Qi(t));
3616
- let Jt;
3617
- const wt = Ct(null);
3618
- function _n(e) {
3613
+ }, oa = (e, t) => ta(e, na(t));
3614
+ let nn;
3615
+ const Tt = Ht(null);
3616
+ function Tn(e) {
3619
3617
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3620
3618
  }
3621
- function Ht(e, t = ze().fallbackLocale) {
3622
- const n = _n(e);
3623
- return t ? [.../* @__PURE__ */ new Set([...n, ..._n(t)])] : n;
3619
+ function Lt(e, t = Ze().fallbackLocale) {
3620
+ const n = Tn(e);
3621
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Tn(t)])] : n;
3624
3622
  }
3625
- function Le() {
3626
- return Jt ?? void 0;
3623
+ function Ne() {
3624
+ return nn ?? void 0;
3627
3625
  }
3628
- wt.subscribe((e) => {
3629
- Jt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3626
+ Tt.subscribe((e) => {
3627
+ nn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3630
3628
  });
3631
- const ea = (e) => {
3632
- if (e && Ui(e) && Yt(e)) {
3633
- const { loadingDelay: t } = ze();
3629
+ const sa = (e) => {
3630
+ if (e && zi(e) && tn(e)) {
3631
+ const { loadingDelay: t } = Ze();
3634
3632
  let n;
3635
- return typeof window < "u" && Le() != null && t ? n = window.setTimeout(
3636
- () => Ft.set(!0),
3633
+ return typeof window < "u" && Ne() != null && t ? n = window.setTimeout(
3634
+ () => $t.set(!0),
3637
3635
  t
3638
- ) : Ft.set(!0), ar(e).then(() => {
3639
- wt.set(e);
3636
+ ) : $t.set(!0), mr(e).then(() => {
3637
+ Tt.set(e);
3640
3638
  }).finally(() => {
3641
- clearTimeout(n), Ft.set(!1);
3639
+ clearTimeout(n), $t.set(!1);
3642
3640
  });
3643
3641
  }
3644
- return wt.set(e);
3645
- }, Se = qi(Ji({}, wt), {
3646
- set: ea
3647
- }), Pt = (e) => {
3642
+ return Tt.set(e);
3643
+ }, He = oa(aa({}, Tt), {
3644
+ set: sa
3645
+ }), Nt = (e) => {
3648
3646
  const t = /* @__PURE__ */ Object.create(null);
3649
3647
  return (r) => {
3650
3648
  const i = JSON.stringify(r);
3651
3649
  return i in t ? t[i] : t[i] = e(r);
3652
3650
  };
3653
3651
  };
3654
- var ta = Object.defineProperty, At = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, tn = (e, t) => {
3652
+ var la = Object.defineProperty, Bt = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Bn = (e, t, n) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, cn = (e, t) => {
3655
3653
  for (var n in t || (t = {}))
3656
- or.call(t, n) && vn(e, n, t[n]);
3657
- if (At)
3658
- for (var n of At(t))
3659
- sr.call(t, n) && vn(e, n, t[n]);
3654
+ gr.call(t, n) && Bn(e, n, t[n]);
3655
+ if (Bt)
3656
+ for (var n of Bt(t))
3657
+ br.call(t, n) && Bn(e, n, t[n]);
3660
3658
  return e;
3661
- }, Ke = (e, t) => {
3659
+ }, Ye = (e, t) => {
3662
3660
  var n = {};
3663
3661
  for (var r in e)
3664
- or.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3665
- if (e != null && At)
3666
- for (var r of At(e))
3667
- t.indexOf(r) < 0 && sr.call(e, r) && (n[r] = e[r]);
3662
+ gr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3663
+ if (e != null && Bt)
3664
+ for (var r of Bt(e))
3665
+ t.indexOf(r) < 0 && br.call(e, r) && (n[r] = e[r]);
3668
3666
  return n;
3669
3667
  };
3670
3668
  const st = (e, t) => {
3671
- const { formats: n } = ze();
3669
+ const { formats: n } = Ze();
3672
3670
  if (e in n && t in n[e])
3673
3671
  return n[e][t];
3674
3672
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3675
- }, na = Pt(
3673
+ }, ua = Nt(
3676
3674
  (e) => {
3677
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3675
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3678
3676
  if (n == null)
3679
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3680
3678
  return r && (i = st("number", r)), new Intl.NumberFormat(n, i);
3681
3679
  }
3682
- ), ra = Pt(
3680
+ ), ca = Nt(
3683
3681
  (e) => {
3684
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3682
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3685
3683
  if (n == null)
3686
3684
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3687
3685
  return r ? i = st("date", r) : Object.keys(i).length === 0 && (i = st("date", "short")), new Intl.DateTimeFormat(n, i);
3688
3686
  }
3689
- ), ia = Pt(
3687
+ ), ha = Nt(
3690
3688
  (e) => {
3691
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3689
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3692
3690
  if (n == null)
3693
3691
  throw new Error(
3694
3692
  '[svelte-i18n] A "locale" must be set to format time values'
3695
3693
  );
3696
3694
  return r ? i = st("time", r) : Object.keys(i).length === 0 && (i = st("time", "short")), new Intl.DateTimeFormat(n, i);
3697
3695
  }
3698
- ), aa = (e = {}) => {
3696
+ ), fa = (e = {}) => {
3699
3697
  var t = e, {
3700
- locale: n = Le()
3701
- } = t, r = Ke(t, [
3698
+ locale: n = Ne()
3699
+ } = t, r = Ye(t, [
3702
3700
  "locale"
3703
3701
  ]);
3704
- return na(tn({ locale: n }, r));
3705
- }, oa = (e = {}) => {
3702
+ return ua(cn({ locale: n }, r));
3703
+ }, da = (e = {}) => {
3706
3704
  var t = e, {
3707
- locale: n = Le()
3708
- } = t, r = Ke(t, [
3705
+ locale: n = Ne()
3706
+ } = t, r = Ye(t, [
3709
3707
  "locale"
3710
3708
  ]);
3711
- return ra(tn({ locale: n }, r));
3712
- }, sa = (e = {}) => {
3709
+ return ca(cn({ locale: n }, r));
3710
+ }, pa = (e = {}) => {
3713
3711
  var t = e, {
3714
- locale: n = Le()
3715
- } = t, r = Ke(t, [
3712
+ locale: n = Ne()
3713
+ } = t, r = Ye(t, [
3716
3714
  "locale"
3717
3715
  ]);
3718
- return ia(tn({ locale: n }, r));
3719
- }, la = Pt(
3716
+ return ha(cn({ locale: n }, r));
3717
+ }, ma = Nt(
3720
3718
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3721
- (e, t = Le()) => new Ri(e, t, ze().formats, {
3722
- ignoreTag: ze().ignoreTag
3719
+ (e, t = Ne()) => new Gi(e, t, Ze().formats, {
3720
+ ignoreTag: Ze().ignoreTag
3723
3721
  })
3724
- ), ua = (e, t = {}) => {
3722
+ ), ga = (e, t = {}) => {
3725
3723
  var n, r, i, a;
3726
- let l = t;
3727
- typeof e == "object" && (l = e, e = l.id);
3724
+ let o = t;
3725
+ typeof e == "object" && (o = e, e = o.id);
3728
3726
  const {
3729
3727
  values: u,
3730
- locale: o = Le(),
3731
- default: s
3732
- } = l;
3733
- if (o == null)
3728
+ locale: s = Ne(),
3729
+ default: l
3730
+ } = o;
3731
+ if (s == null)
3734
3732
  throw new Error(
3735
3733
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3736
3734
  );
3737
- let c = tr(e, o);
3735
+ let c = hr(e, s);
3738
3736
  if (!c)
3739
- c = (a = (i = (r = (n = ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: o, id: e, defaultValue: s })) != null ? i : s) != null ? a : e;
3737
+ c = (a = (i = (r = (n = Ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3740
3738
  else if (typeof c != "string")
3741
3739
  return console.warn(
3742
3740
  `[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.`
3743
3741
  ), c;
3744
3742
  if (!u)
3745
3743
  return c;
3746
- let d = c;
3744
+ let f = c;
3747
3745
  try {
3748
- d = la(c, o).format(u);
3749
- } catch (f) {
3750
- f instanceof Error && console.warn(
3746
+ f = ma(c, s).format(u);
3747
+ } catch (h) {
3748
+ h instanceof Error && console.warn(
3751
3749
  `[svelte-i18n] Message "${e}" has syntax error:`,
3752
- f.message
3750
+ h.message
3753
3751
  );
3754
3752
  }
3755
- return d;
3756
- }, ca = (e, t) => sa(t).format(e), ha = (e, t) => oa(t).format(e), fa = (e, t) => aa(t).format(e), da = (e, t = Le()) => tr(e, t), pa = Ze([Se, Qe], () => ua);
3757
- Ze([Se], () => ca);
3758
- Ze([Se], () => ha);
3759
- Ze([Se], () => fa);
3760
- Ze([Se, Qe], () => da);
3761
- function ma({ withLocale: e, translations: t }) {
3762
- Se.subscribe((n) => {
3763
- n == null && (Qe.set(t), Se.set(e));
3753
+ return f;
3754
+ }, ba = (e, t) => pa(t).format(e), ya = (e, t) => da(t).format(e), va = (e, t) => fa(t).format(e), _a = (e, t = Ne()) => hr(e, t), Ea = Qe([He, Ke], () => ga);
3755
+ Qe([He], () => ba);
3756
+ Qe([He], () => ya);
3757
+ Qe([He], () => va);
3758
+ Qe([He, Ke], () => _a);
3759
+ function xa({ withLocale: e, translations: t }) {
3760
+ He.subscribe((n) => {
3761
+ n == null && (Ke.set(t), He.set(e));
3764
3762
  });
3765
3763
  }
3766
- function xn(e, t) {
3767
- rr(e, t);
3764
+ function Sn(e, t) {
3765
+ dr(e, t);
3768
3766
  }
3769
- function ga(e) {
3770
- Se.set(e);
3767
+ function wa(e) {
3768
+ He.set(e);
3771
3769
  }
3772
- const F = ur(pa), wn = {
3770
+ const R = vr(Ea), Hn = {
3773
3771
  en: {
3774
3772
  vaultExchange: "Vault Exchange",
3775
3773
  debitPlaceHolder: "Debit amount",
@@ -3876,7 +3874,7 @@ const F = ur(pa), wn = {
3876
3874
  10114: "Kullanıcı hesabı aktif değil.",
3877
3875
  10115: "İşlem niyeti bulunamadı."
3878
3876
  }
3879
- }, ba = {
3877
+ }, Aa = {
3880
3878
  "1INCH": "",
3881
3879
  AAVE: "",
3882
3880
  ADA: "₳",
@@ -4152,33 +4150,33 @@ const F = ur(pa), wn = {
4152
4150
  ZMK: "",
4153
4151
  ZMW: "",
4154
4152
  ZWD: "Z$"
4155
- }, ya = 6e3, Ea = {
4153
+ }, Ca = 6e3, Ta = {
4156
4154
  InvalidSession: "Invalid session"
4157
- }, X = {
4155
+ }, z = {
4158
4156
  BalanceError: "BalanceError",
4159
4157
  CheckWalletExchangeError: "CheckWalletExchangeError",
4160
4158
  WalletExchangeError: "WalletExchangeError",
4161
4159
  CurrenciesError: "CurrenciesError"
4162
- }, An = {
4160
+ }, Pn = {
4163
4161
  ResetVaultWidget: "ResetVaultWidget",
4164
4162
  CloseVaultWidget: "CloseVaultWidget"
4165
- }, Ut = {
4163
+ }, jt = {
4166
4164
  VaultWidgetReset: "VaultWidgetReset",
4167
4165
  VaultWidgetClosed: "VaultWidgetClosed",
4168
4166
  VaultDropdownToggled: "VaultDropdownToggled"
4169
- }, Tn = {
4167
+ }, In = {
4170
4168
  Real: "Real",
4171
4169
  Vault: "Vault"
4172
- }, we = {
4170
+ }, Ce = {
4173
4171
  success: "success",
4174
4172
  error: "error"
4175
- }, _a = String(Number.MAX_SAFE_INTEGER) + 1, ja = {
4173
+ }, Ba = String(Number.MAX_SAFE_INTEGER) + 1, yt = {
4176
4174
  ArrowDown: "ArrowDown",
4177
4175
  ArrowUp: "ArrowUp",
4178
4176
  Enter: "Enter",
4179
4177
  Escape: "Escape"
4180
4178
  };
4181
- function va(e, t) {
4179
+ function Sa(e, t) {
4182
4180
  let n;
4183
4181
  return function(...r) {
4184
4182
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4186,14 +4184,14 @@ function va(e, t) {
4186
4184
  }, t);
4187
4185
  };
4188
4186
  }
4189
- const Cn = (e, t = null, n = 2) => {
4187
+ const Ln = (e, t = null, n = 2) => {
4190
4188
  try {
4191
4189
  return JSON.stringify(e, t, n);
4192
4190
  } catch (r) {
4193
4191
  return console.warn("Failed to stringify:", r), null;
4194
4192
  }
4195
4193
  };
4196
- function Xa(e) {
4194
+ function Ha(e) {
4197
4195
  const t = (n) => {
4198
4196
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4199
4197
  };
@@ -4203,28 +4201,369 @@ function Xa(e) {
4203
4201
  }
4204
4202
  };
4205
4203
  }
4206
- function xa(e) {
4207
- cr(e, "svelte-vp2pzr", '@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, var(--emw--color-gray-450, #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}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.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, var(--emw--color-red, #ed0909))}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, var(--emw--color-red, #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, var(--emw--color-red, #FF2424))}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, var(--emw--color-primary, #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--font-size-small, 12px);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, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--typography, var(--emw--color-gray-450, #595959));border:2px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, var(--emw--color-gray-450, #595959))}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, var(--emw--color-gray-450, #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}');
4204
+ function Pa(e) {
4205
+ an(e, "svelte-1fe9nk9", ".selectWrapper.svelte-1fe9nk9.svelte-1fe9nk9{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-1fe9nk9.svelte-1fe9nk9{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;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));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}.label.svelte-1fe9nk9.svelte-1fe9nk9{display:flex;align-items:center}.selectDropdown.svelte-1fe9nk9.svelte-1fe9nk9{position:absolute;top:calc(100% + 2px);left:0;right:0;display:flex;flex-direction:column;gap:4px;max-height:200px;overflow-y:auto;scrollbar-width:thin;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-1fe9nk9 li.svelte-1fe9nk9{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-1fe9nk9 li.svelte-1fe9nk9:hover,.selectDropdown.svelte-1fe9nk9 li.active.svelte-1fe9nk9{background:var(--emw--selected-option, var(--emw-w-color-gray-150, #f0f0f0))}.symbol.svelte-1fe9nk9.svelte-1fe9nk9{display:inline-flex;width:1rem;height:1rem;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw-typography, var(--emw-w-color-gray-450, #595959));font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--color-white, #fff))}");
4208
4206
  }
4209
- function Bn(e, t, n) {
4207
+ function Nn(e, t, n) {
4208
+ const r = e.slice();
4209
+ return r[14] = t[n], r[16] = n, r;
4210
+ }
4211
+ function On(e) {
4212
+ let t, n = (
4213
+ /*selected*/
4214
+ (e[0]?.symbol || "") + ""
4215
+ ), r;
4216
+ return {
4217
+ c() {
4218
+ t = x("span"), r = W(n), m(t, "class", "symbol svelte-1fe9nk9");
4219
+ },
4220
+ m(i, a) {
4221
+ C(i, t, a), y(t, r);
4222
+ },
4223
+ p(i, a) {
4224
+ a & /*selected*/
4225
+ 1 && n !== (n = /*selected*/
4226
+ (i[0]?.symbol || "") + "") && ee(r, n);
4227
+ },
4228
+ d(i) {
4229
+ i && A(t);
4230
+ }
4231
+ };
4232
+ }
4233
+ function Rn(e) {
4234
+ let t, n = At(
4235
+ /*options*/
4236
+ e[1]
4237
+ ), r = [];
4238
+ for (let i = 0; i < n.length; i += 1)
4239
+ r[i] = kn(Nn(e, n, i));
4240
+ return {
4241
+ c() {
4242
+ t = x("ul");
4243
+ for (let i = 0; i < r.length; i += 1)
4244
+ r[i].c();
4245
+ m(t, "class", "selectDropdown svelte-1fe9nk9");
4246
+ },
4247
+ m(i, a) {
4248
+ C(i, t, a);
4249
+ for (let o = 0; o < r.length; o += 1)
4250
+ r[o] && r[o].m(t, null);
4251
+ e[13](t);
4252
+ },
4253
+ p(i, a) {
4254
+ if (a & /*options, selected, activeIndex, handleChange*/
4255
+ 547) {
4256
+ n = At(
4257
+ /*options*/
4258
+ i[1]
4259
+ );
4260
+ let o;
4261
+ for (o = 0; o < n.length; o += 1) {
4262
+ const u = Nn(i, n, o);
4263
+ r[o] ? r[o].p(u, a) : (r[o] = kn(u), r[o].c(), r[o].m(t, null));
4264
+ }
4265
+ for (; o < r.length; o += 1)
4266
+ r[o].d(1);
4267
+ r.length = n.length;
4268
+ }
4269
+ },
4270
+ d(i) {
4271
+ i && A(t), Xn(r, i), e[13](null);
4272
+ }
4273
+ };
4274
+ }
4275
+ function kn(e) {
4276
+ let t, n, r = (
4277
+ /*option*/
4278
+ e[14]?.symbol + ""
4279
+ ), i, a, o = (
4280
+ /*option*/
4281
+ e[14]?.currency + ""
4282
+ ), u, s, l, c, f;
4283
+ return {
4284
+ c() {
4285
+ t = x("li"), n = x("span"), i = W(r), a = P(), u = W(o), s = P(), m(n, "class", "symbol svelte-1fe9nk9"), m(t, "role", "option"), m(t, "aria-selected", l = /*option*/
4286
+ e[14]?.currency === /*selected*/
4287
+ e[0]?.currency || /*index*/
4288
+ e[16] === /*activeIndex*/
4289
+ e[5]), m(t, "class", "svelte-1fe9nk9"), oe(
4290
+ t,
4291
+ "active",
4292
+ /*option*/
4293
+ e[14]?.currency === /*selected*/
4294
+ e[0]?.currency || /*index*/
4295
+ e[16] === /*activeIndex*/
4296
+ e[5]
4297
+ );
4298
+ },
4299
+ m(h, d) {
4300
+ C(h, t, d), y(t, n), y(n, i), y(t, a), y(t, u), y(t, s), c || (f = [
4301
+ re(t, "keydown", La),
4302
+ re(t, "click", function() {
4303
+ lt(
4304
+ /*handleChange*/
4305
+ e[9](
4306
+ /*option*/
4307
+ e[14],
4308
+ /*index*/
4309
+ e[16]
4310
+ )
4311
+ ) && e[9](
4312
+ /*option*/
4313
+ e[14],
4314
+ /*index*/
4315
+ e[16]
4316
+ ).apply(this, arguments);
4317
+ })
4318
+ ], c = !0);
4319
+ },
4320
+ p(h, d) {
4321
+ e = h, d & /*options*/
4322
+ 2 && r !== (r = /*option*/
4323
+ e[14]?.symbol + "") && ee(i, r), d & /*options*/
4324
+ 2 && o !== (o = /*option*/
4325
+ e[14]?.currency + "") && ee(u, o), d & /*options, selected, activeIndex*/
4326
+ 35 && l !== (l = /*option*/
4327
+ e[14]?.currency === /*selected*/
4328
+ e[0]?.currency || /*index*/
4329
+ e[16] === /*activeIndex*/
4330
+ e[5]) && m(t, "aria-selected", l), d & /*options, selected, activeIndex*/
4331
+ 35 && oe(
4332
+ t,
4333
+ "active",
4334
+ /*option*/
4335
+ e[14]?.currency === /*selected*/
4336
+ e[0]?.currency || /*index*/
4337
+ e[16] === /*activeIndex*/
4338
+ e[5]
4339
+ );
4340
+ },
4341
+ d(h) {
4342
+ h && A(t), c = !1, _e(f);
4343
+ }
4344
+ };
4345
+ }
4346
+ function Ia(e) {
4347
+ let t, n, r, i, a = (
4348
+ /*selected*/
4349
+ (e[0]?.currency || /*placeholder*/
4350
+ e[2]) + ""
4351
+ ), o, u, s, l, c, f, h = (
4352
+ /*selected*/
4353
+ e[0]?.symbol && /*withSymbol*/
4354
+ e[4] && On(e)
4355
+ ), d = (
4356
+ /*open*/
4357
+ e[7] && Rn(e)
4358
+ );
4359
+ return {
4360
+ c() {
4361
+ t = x("div"), n = x("button"), r = x("span"), h && h.c(), i = P(), o = W(a), u = P(), s = x("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', l = P(), d && d.c(), m(r, "class", "label svelte-1fe9nk9"), m(s, "class", "arrow"), oe(
4362
+ s,
4363
+ "open",
4364
+ /*open*/
4365
+ e[7]
4366
+ ), m(n, "class", "selectButton svelte-1fe9nk9"), m(n, "aria-haspopup", "listbox"), m(
4367
+ n,
4368
+ "aria-expanded",
4369
+ /*open*/
4370
+ e[7]
4371
+ ), m(n, "aria-controls", "custom-select"), m(n, "tabindex", "0"), n.disabled = /*disabled*/
4372
+ e[3], m(t, "class", "selectWrapper svelte-1fe9nk9");
4373
+ },
4374
+ m(v, b) {
4375
+ C(v, t, b), y(t, n), y(n, r), h && h.m(r, null), y(r, i), y(r, o), y(n, u), y(n, s), y(t, l), d && d.m(t, null), c || (f = [
4376
+ re(
4377
+ n,
4378
+ "keydown",
4379
+ /*handleKeyDown*/
4380
+ e[11]
4381
+ ),
4382
+ re(n, "click", wr(
4383
+ /*handleToggleDropdown*/
4384
+ e[8]
4385
+ )),
4386
+ _r(Ha.call(null, t)),
4387
+ re(
4388
+ t,
4389
+ "outclick",
4390
+ /*handleOutClick*/
4391
+ e[10]
4392
+ )
4393
+ ], c = !0);
4394
+ },
4395
+ p(v, [b]) {
4396
+ /*selected*/
4397
+ v[0]?.symbol && /*withSymbol*/
4398
+ v[4] ? h ? h.p(v, b) : (h = On(v), h.c(), h.m(r, i)) : h && (h.d(1), h = null), b & /*selected, placeholder*/
4399
+ 5 && a !== (a = /*selected*/
4400
+ (v[0]?.currency || /*placeholder*/
4401
+ v[2]) + "") && ee(o, a), b & /*open*/
4402
+ 128 && oe(
4403
+ s,
4404
+ "open",
4405
+ /*open*/
4406
+ v[7]
4407
+ ), b & /*open*/
4408
+ 128 && m(
4409
+ n,
4410
+ "aria-expanded",
4411
+ /*open*/
4412
+ v[7]
4413
+ ), b & /*disabled*/
4414
+ 8 && (n.disabled = /*disabled*/
4415
+ v[3]), /*open*/
4416
+ v[7] ? d ? d.p(v, b) : (d = Rn(v), d.c(), d.m(t, null)) : d && (d.d(1), d = null);
4417
+ },
4418
+ i: B,
4419
+ o: B,
4420
+ d(v) {
4421
+ v && A(t), h && h.d(), d && d.d(), c = !1, _e(f);
4422
+ }
4423
+ };
4424
+ }
4425
+ const La = (e) => e.preventDefault();
4426
+ function Na(e, t, n) {
4427
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = R("select") } = t, { disabled: o = !1 } = t, { withSymbol: u = !0 } = t, { onChange: s = () => {
4428
+ } } = t, l = -1, c, f = !1;
4429
+ const h = () => {
4430
+ r.length !== 0 && (n(7, f = !f), f && (n(5, l = r.findIndex((E) => E?.currency === i?.currency)), setTimeout(() => c?.focus(), 0)));
4431
+ }, d = (E, O) => () => {
4432
+ n(7, f = !1), n(0, i = E), s && typeof s == "function" && s(E, O);
4433
+ }, v = () => {
4434
+ n(7, f = !1);
4435
+ }, b = (E) => {
4436
+ f && (E.key === yt.ArrowDown ? (E.preventDefault(), n(5, l = (l + 1) % r.length)) : E.key === yt.ArrowUp ? (E.preventDefault(), n(5, l = (l - 1 + r.length) % r.length)) : E.key === yt.Enter ? (E.preventDefault(), d(i, l)()) : E.key === yt.Escape && n(7, f = !1));
4437
+ };
4438
+ function L(E) {
4439
+ Ge[E ? "unshift" : "push"](() => {
4440
+ c = E, n(6, c);
4441
+ });
4442
+ }
4443
+ return e.$$set = (E) => {
4444
+ "options" in E && n(1, r = E.options), "selected" in E && n(0, i = E.selected), "placeholder" in E && n(2, a = E.placeholder), "disabled" in E && n(3, o = E.disabled), "withSymbol" in E && n(4, u = E.withSymbol), "onChange" in E && n(12, s = E.onChange);
4445
+ }, [
4446
+ i,
4447
+ r,
4448
+ a,
4449
+ o,
4450
+ u,
4451
+ l,
4452
+ c,
4453
+ f,
4454
+ h,
4455
+ d,
4456
+ v,
4457
+ b,
4458
+ s,
4459
+ L
4460
+ ];
4461
+ }
4462
+ class rn extends ln {
4463
+ constructor(t) {
4464
+ super(), on(
4465
+ this,
4466
+ t,
4467
+ Na,
4468
+ Ia,
4469
+ St,
4470
+ {
4471
+ options: 1,
4472
+ selected: 0,
4473
+ placeholder: 2,
4474
+ disabled: 3,
4475
+ withSymbol: 4,
4476
+ onChange: 12
4477
+ },
4478
+ Pa
4479
+ );
4480
+ }
4481
+ get options() {
4482
+ return this.$$.ctx[1];
4483
+ }
4484
+ set options(t) {
4485
+ this.$$set({ options: t }), j();
4486
+ }
4487
+ get selected() {
4488
+ return this.$$.ctx[0];
4489
+ }
4490
+ set selected(t) {
4491
+ this.$$set({ selected: t }), j();
4492
+ }
4493
+ get placeholder() {
4494
+ return this.$$.ctx[2];
4495
+ }
4496
+ set placeholder(t) {
4497
+ this.$$set({ placeholder: t }), j();
4498
+ }
4499
+ get disabled() {
4500
+ return this.$$.ctx[3];
4501
+ }
4502
+ set disabled(t) {
4503
+ this.$$set({ disabled: t }), j();
4504
+ }
4505
+ get withSymbol() {
4506
+ return this.$$.ctx[4];
4507
+ }
4508
+ set withSymbol(t) {
4509
+ this.$$set({ withSymbol: t }), j();
4510
+ }
4511
+ get onChange() {
4512
+ return this.$$.ctx[12];
4513
+ }
4514
+ set onChange(t) {
4515
+ this.$$set({ onChange: t }), j();
4516
+ }
4517
+ }
4518
+ sn(rn, { options: {}, selected: {}, placeholder: {}, disabled: { type: "Boolean" }, withSymbol: { type: "Boolean" }, onChange: {} }, [], [], !0);
4519
+ function Oa(e) {
4520
+ an(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4521
+ }
4522
+ function Ra(e) {
4523
+ let t, n, r = R("balanceUnavailable") + "", i;
4524
+ return {
4525
+ c() {
4526
+ t = x("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 = P(), i = W(r), m(t, "class", "warningIcon svelte-2fhtvy");
4527
+ },
4528
+ m(a, o) {
4529
+ C(a, t, o), C(a, n, o), C(a, i, o);
4530
+ },
4531
+ p: B,
4532
+ i: B,
4533
+ o: B,
4534
+ d(a) {
4535
+ a && (A(t), A(n), A(i));
4536
+ }
4537
+ };
4538
+ }
4539
+ class Ot extends ln {
4540
+ constructor(t) {
4541
+ super(), on(this, t, null, Ra, St, {}, Oa);
4542
+ }
4543
+ }
4544
+ sn(Ot, {}, [], [], !0);
4545
+ function ka(e) {
4546
+ an(e, "svelte-vp2pzr", '@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, var(--emw--color-gray-450, #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}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.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, var(--emw--color-red, #ed0909))}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, var(--emw--color-red, #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, var(--emw--color-red, #FF2424))}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, var(--emw--color-primary, #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--font-size-small, 12px);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, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--typography, var(--emw--color-gray-450, #595959));border:2px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, var(--emw--color-gray-450, #595959))}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, var(--emw--color-gray-450, #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}');
4547
+ }
4548
+ function Dn(e, t, n) {
4210
4549
  const r = e.slice();
4211
4550
  return r[61] = t[n], r;
4212
4551
  }
4213
- function Sn(e) {
4214
- let t, n, r, i, a, l, u, o, s, c, d, f, m, _, g, I, D, N, C, ne, k, ee, re, ie, j, le, Oe, ae, ue, ye, W, Q, ce, Ye, Ee, Re, lt, Me, Je, te, _e = F(
4552
+ function Mn(e) {
4553
+ let t, n, r, i, a, o, u, s, l, c, f, h, d, v, b, L, E, O, I, ie, F, te, ae, se, X, he, Oe, le, fe, Ee, Z, Y, de, Je, xe, Re, ut, ke, qe, ne, we = R(
4215
4554
  /*fetchResponse*/
4216
4555
  e[12]?.message || ""
4217
- ) + "", He, pe, me, De, K, ve = F("exchange") + "", ut, ge, Y, qe, et, z = (
4556
+ ) + "", Pe, ge, be, De, J, Ae = R("exchange") + "", ct, ye, q, et, tt, Q = (
4218
4557
  /*showclosebutton*/
4219
- e[3] && Hn(e)
4558
+ e[3] && Fn(e)
4220
4559
  ), V = (
4221
4560
  /*showtotalbalance*/
4222
- e[2] && Pn(e)
4561
+ e[2] && Un(e)
4223
4562
  );
4224
- function It(p) {
4225
- e[39](p);
4563
+ function Rt(g) {
4564
+ e[39](g);
4226
4565
  }
4227
- let ct = {
4566
+ let ht = {
4228
4567
  withSymbol: (
4229
4568
  /*showcurrencysymbol*/
4230
4569
  e[4]
@@ -4242,19 +4581,19 @@ function Sn(e) {
4242
4581
  )
4243
4582
  };
4244
4583
  /*selectedCurrencyFrom*/
4245
- e[5] !== void 0 && (ct.selected = /*selectedCurrencyFrom*/
4246
- e[5]), g = new nn({ props: ct }), it.push(() => ln(g, "selected", It));
4247
- const ht = [Sa, Ba], oe = [];
4248
- function ft(p, A) {
4584
+ e[5] !== void 0 && (ht.selected = /*selectedCurrencyFrom*/
4585
+ e[5]), b = new rn({ props: ht }), Ge.push(() => pn(b, "selected", Rt));
4586
+ const ft = [Ga, Va], ue = [];
4587
+ function dt(g, S) {
4249
4588
  return !/*isBalanceFetched*/
4250
- p[16] || !/*isCurrenciesFetched*/
4251
- p[17] ? 0 : 1;
4589
+ g[16] || !/*isCurrenciesFetched*/
4590
+ g[17] ? 0 : 1;
4252
4591
  }
4253
- N = ft(e), C = oe[N] = ht[N](e);
4254
- function Nt(p) {
4255
- e[41](p);
4592
+ O = dt(e), I = ue[O] = ft[O](e);
4593
+ function kt(g) {
4594
+ e[41](g);
4256
4595
  }
4257
- let dt = {
4596
+ let pt = {
4258
4597
  withSymbol: (
4259
4598
  /*showcurrencysymbol*/
4260
4599
  e[4]
@@ -4274,1051 +4613,1051 @@ function Sn(e) {
4274
4613
  )
4275
4614
  };
4276
4615
  /*selectedCurrencyTo*/
4277
- e[6] !== void 0 && (dt.selected = /*selectedCurrencyTo*/
4278
- e[6]), ae = new nn({ props: dt }), it.push(() => ln(ae, "selected", Nt));
4279
- const pt = [Na, Ia], he = [];
4280
- function h(p, A) {
4616
+ e[6] !== void 0 && (pt.selected = /*selectedCurrencyTo*/
4617
+ e[6]), le = new rn({ props: pt }), Ge.push(() => pn(le, "selected", kt));
4618
+ const mt = [Wa, Xa], pe = [];
4619
+ function p(g, S) {
4281
4620
  return !/*isBalanceFetched*/
4282
- p[16] || !/*isCurrenciesFetched*/
4283
- p[17] ? 0 : 1;
4621
+ g[16] || !/*isCurrenciesFetched*/
4622
+ g[17] ? 0 : 1;
4284
4623
  }
4285
- W = h(e), Q = he[W] = pt[W](e);
4286
- let y = (
4624
+ Z = p(e), Y = pe[Z] = mt[Z](e);
4625
+ let _ = (
4287
4626
  /*showvaults*/
4288
- e[1] && In(e)
4627
+ e[1] && Vn(e)
4289
4628
  );
4290
- function P(p, A) {
4629
+ function N(g, S) {
4291
4630
  return (
4292
4631
  /*fetchResponse*/
4293
- p[12]?.source === X.CheckWalletExchangeError ? Ma : Ra
4632
+ g[12]?.source === z.CheckWalletExchangeError ? Ka : Qa
4294
4633
  );
4295
4634
  }
4296
- let v = P(e), O = v(e);
4635
+ let w = N(e), k = w(e);
4297
4636
  return {
4298
4637
  c() {
4299
- t = x("div"), z && z.c(), n = L(), r = x("div"), i = x("h1"), i.textContent = `${F("vaultExchange")}`, a = L(), V && V.c(), l = L(), u = x("div"), o = x("div"), s = x("p"), s.textContent = `${F("exchangeFrom")}`, c = L(), d = x("div"), f = x("input"), _ = L(), at(g.$$.fragment), D = L(), C.c(), ne = L(), k = x("div"), ee = x("p"), ee.textContent = `${F("exchangeTo")}`, re = L(), ie = x("div"), j = x("input"), Oe = L(), at(ae.$$.fragment), ye = L(), Q.c(), ce = L(), y && y.c(), Ye = L(), Ee = x("div"), Re = x("span"), Re.textContent = `${F("feesIncluded")}`, lt = L(), Me = x("span"), O.c(), Je = L(), te = x("div"), He = L(), pe = x("div"), me = x("button"), me.textContent = `${F("reset")}`, De = L(), K = x("button"), ut = q(ve), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(s, "class", "exchangeHeader"), b(f, "id", "senderInput"), f.disabled = m = !/*session*/
4638
+ t = x("div"), Q && Q.c(), n = P(), r = x("div"), i = x("h1"), i.textContent = `${R("vaultExchange")}`, a = P(), V && V.c(), o = P(), u = x("div"), s = x("div"), l = x("p"), l.textContent = `${R("exchangeFrom")}`, c = P(), f = x("div"), h = x("input"), v = P(), at(b.$$.fragment), E = P(), I.c(), ie = P(), F = x("div"), te = x("p"), te.textContent = `${R("exchangeTo")}`, ae = P(), se = x("div"), X = x("input"), Oe = P(), at(le.$$.fragment), Ee = P(), Y.c(), de = P(), _ && _.c(), Je = P(), xe = x("div"), Re = x("span"), Re.textContent = `${R("feesIncluded")}`, ut = P(), ke = x("span"), k.c(), qe = P(), ne = x("div"), Pe = P(), ge = x("div"), be = x("button"), be.textContent = `${R("reset")}`, De = P(), J = x("button"), ct = W(Ae), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(l, "class", "exchangeHeader"), m(h, "id", "senderInput"), h.disabled = d = !/*session*/
4300
4639
  e[0] || !/*isBalanceFetched*/
4301
4640
  e[16] || !/*isCurrenciesFetched*/
4302
- e[17], b(f, "placeholder", F("debitPlaceHolder")), b(f, "class", "exchangeInput"), b(f, "type", "number"), b(f, "aria-label", "Enter exchange amount"), b(f, "inputmode", "decimal"), b(f, "step", "0.000000000000000001"), b(f, "min", "0"), b(d, "class", "flexingContainerRow"), b(o, "class", "containerExchangeFrom exchangeContainer"), b(ee, "class", "exchangeHeader"), b(j, "id", "destinationInput"), j.disabled = le = !/*session*/
4641
+ e[17], m(h, "placeholder", R("debitPlaceHolder")), m(h, "class", "exchangeInput"), m(h, "type", "number"), m(h, "aria-label", "Enter exchange amount"), m(h, "inputmode", "decimal"), m(h, "step", "0.000000000000000001"), m(h, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(te, "class", "exchangeHeader"), m(X, "id", "destinationInput"), X.disabled = he = !/*session*/
4303
4642
  e[0] || !/*isBalanceFetched*/
4304
4643
  e[16] || !/*isCurrenciesFetched*/
4305
- e[17], b(j, "placeholder", F("creditPlaceHolder")), b(j, "class", "exchangeInput"), b(j, "type", "number"), j.readOnly = !0, b(j, "min", "0"), b(ie, "class", "flexingContainerRow"), b(k, "class", "containerExchangeTo exchangeContainer"), b(u, "class", "exchangesContainer"), b(Re, "class", "feesLabel"), b(Ee, "class", "feesContainer"), b(te, "class", "notificationsContainer"), xe(
4306
- te,
4644
+ e[17], m(X, "placeholder", R("creditPlaceHolder")), m(X, "class", "exchangeInput"), m(X, "type", "number"), X.readOnly = !0, m(X, "min", "0"), m(se, "class", "flexingContainerRow"), m(F, "class", "containerExchangeTo exchangeContainer"), m(u, "class", "exchangesContainer"), m(Re, "class", "feesLabel"), m(xe, "class", "feesContainer"), m(ne, "class", "notificationsContainer"), oe(
4645
+ ne,
4307
4646
  "error",
4308
4647
  /*fetchResponse*/
4309
4648
  e[12]?.type === "error"
4310
- ), xe(
4311
- te,
4649
+ ), oe(
4650
+ ne,
4312
4651
  "success",
4313
4652
  /*fetchResponse*/
4314
4653
  e[12]?.type === "success"
4315
- ), b(me, "class", "resetButton"), b(me, "type", "button"), b(K, "type", "button"), b(K, "class", "exchangeButton"), K.disabled = ge = /*isExchangeDisabled*/
4654
+ ), m(be, "class", "resetButton"), m(be, "type", "button"), m(J, "type", "button"), m(J, "class", "exchangeButton"), J.disabled = ye = /*isExchangeDisabled*/
4316
4655
  e[14] || /*isExchangePending*/
4317
4656
  e[18] || /*inputExchangeFrom*/
4318
4657
  e[8] === 0 && !/*selectedCurrencyFrom*/
4319
- e[5]?.amount, xe(
4320
- K,
4658
+ e[5]?.amount, oe(
4659
+ J,
4321
4660
  "disabled",
4322
4661
  /*isExchangeDisabled*/
4323
4662
  e[14] || /*isExchangePending*/
4324
4663
  e[18]
4325
- ), xe(
4326
- K,
4664
+ ), oe(
4665
+ J,
4327
4666
  "pending",
4328
4667
  /*isExchangePending*/
4329
4668
  e[18]
4330
- ), b(pe, "class", "actionsContainer"), b(t, "class", "playerAccountVault");
4669
+ ), m(ge, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
4331
4670
  },
4332
- m(p, A) {
4333
- S(p, t, A), z && z.m(t, null), E(t, n), E(t, r), E(r, i), E(r, a), V && V.m(r, null), E(t, l), E(t, u), E(u, o), E(o, s), E(o, c), E(o, d), E(d, f), mt(
4334
- f,
4671
+ m(g, S) {
4672
+ C(g, t, S), Q && Q.m(t, null), y(t, n), y(t, r), y(r, i), y(r, a), V && V.m(r, null), y(t, o), y(t, u), y(u, s), y(s, l), y(s, c), y(s, f), y(f, h), gt(
4673
+ h,
4335
4674
  /*inputExchangeFrom*/
4336
4675
  e[8]
4337
- ), E(d, _), $e(g, d, null), E(o, D), oe[N].m(o, null), E(u, ne), E(u, k), E(k, ee), E(k, re), E(k, ie), E(ie, j), mt(
4338
- j,
4676
+ ), y(f, v), $e(b, f, null), y(s, E), ue[O].m(s, null), y(u, ie), y(u, F), y(F, te), y(F, ae), y(F, se), y(se, X), gt(
4677
+ X,
4339
4678
  /*inputExchangeTo*/
4340
4679
  e[9]
4341
- ), E(ie, Oe), $e(ae, ie, null), E(k, ye), he[W].m(k, null), E(t, ce), y && y.m(t, null), E(t, Ye), E(t, Ee), E(Ee, Re), E(Ee, lt), E(Ee, Me), O.m(Me, null), E(t, Je), E(t, te), te.innerHTML = _e, E(t, He), E(t, pe), E(pe, me), E(pe, De), E(pe, K), E(K, ut), e[42](t), Y = !0, qe || (et = [
4342
- Ae(
4343
- f,
4680
+ ), y(se, Oe), $e(le, se, null), y(F, Ee), pe[Z].m(F, null), y(t, de), _ && _.m(t, null), y(t, Je), y(t, xe), y(xe, Re), y(xe, ut), y(xe, ke), k.m(ke, null), y(t, qe), y(t, ne), ne.innerHTML = we, y(t, Pe), y(t, ge), y(ge, be), y(ge, De), y(ge, J), y(J, ct), e[42](t), q = !0, et || (tt = [
4681
+ re(
4682
+ h,
4344
4683
  "input",
4345
4684
  /*input0_input_handler*/
4346
4685
  e[38]
4347
4686
  ),
4348
- Ae(
4349
- f,
4687
+ re(
4688
+ h,
4350
4689
  "input",
4351
4690
  /*handleInputChange*/
4352
4691
  e[27]
4353
4692
  ),
4354
- Ae(
4355
- f,
4693
+ re(
4694
+ h,
4356
4695
  "beforeinput",
4357
4696
  /*handleBeforeInput*/
4358
4697
  e[28]
4359
4698
  ),
4360
- Ae(
4361
- j,
4699
+ re(
4700
+ X,
4362
4701
  "input",
4363
4702
  /*input1_input_handler*/
4364
4703
  e[40]
4365
4704
  ),
4366
- Ae(
4367
- me,
4705
+ re(
4706
+ be,
4368
4707
  "click",
4369
4708
  /*handleResetToDefault*/
4370
4709
  e[25]
4371
4710
  ),
4372
- Ae(
4373
- K,
4711
+ re(
4712
+ J,
4374
4713
  "click",
4375
4714
  /*handleExchange*/
4376
4715
  e[29]
4377
4716
  )
4378
- ], qe = !0);
4717
+ ], et = !0);
4379
4718
  },
4380
- p(p, A) {
4719
+ p(g, S) {
4381
4720
  /*showclosebutton*/
4382
- p[3] ? z ? z.p(p, A) : (z = Hn(p), z.c(), z.m(t, n)) : z && (z.d(1), z = null), /*showtotalbalance*/
4383
- p[2] ? V ? (V.p(p, A), A[0] & /*showtotalbalance*/
4384
- 4 && M(V, 1)) : (V = Pn(p), V.c(), M(V, 1), V.m(r, null)) : V && (Ce(), $(V, 1, 1, () => {
4721
+ g[3] ? Q ? Q.p(g, S) : (Q = Fn(g), Q.c(), Q.m(t, n)) : Q && (Q.d(1), Q = null), /*showtotalbalance*/
4722
+ g[2] ? V ? (V.p(g, S), S[0] & /*showtotalbalance*/
4723
+ 4 && M(V, 1)) : (V = Un(g), V.c(), M(V, 1), V.m(r, null)) : V && (Be(), G(V, 1, 1, () => {
4385
4724
  V = null;
4386
- }), Be()), (!Y || A[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
4387
- 196609 && m !== (m = !/*session*/
4388
- p[0] || !/*isBalanceFetched*/
4389
- p[16] || !/*isCurrenciesFetched*/
4390
- p[17])) && (f.disabled = m), A[0] & /*inputExchangeFrom*/
4391
- 256 && vt(f.value) !== /*inputExchangeFrom*/
4392
- p[8] && mt(
4393
- f,
4725
+ }), Se()), (!q || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
4726
+ 196609 && d !== (d = !/*session*/
4727
+ g[0] || !/*isBalanceFetched*/
4728
+ g[16] || !/*isCurrenciesFetched*/
4729
+ g[17])) && (h.disabled = d), S[0] & /*inputExchangeFrom*/
4730
+ 256 && wt(h.value) !== /*inputExchangeFrom*/
4731
+ g[8] && gt(
4732
+ h,
4394
4733
  /*inputExchangeFrom*/
4395
- p[8]
4734
+ g[8]
4396
4735
  );
4397
- const Pe = {};
4398
- A[0] & /*showcurrencysymbol*/
4399
- 16 && (Pe.withSymbol = /*showcurrencysymbol*/
4400
- p[4]), A[0] & /*isBalanceFetched, isCurrenciesFetched*/
4401
- 196608 && (Pe.disabled = !/*isBalanceFetched*/
4402
- p[16] || !/*isCurrenciesFetched*/
4403
- p[17]), A[0] & /*optionsFrom*/
4404
- 2097152 && (Pe.options = /*optionsFrom*/
4405
- p[21]), !I && A[0] & /*selectedCurrencyFrom*/
4406
- 32 && (I = !0, Pe.selected = /*selectedCurrencyFrom*/
4407
- p[5], on(() => I = !1)), g.$set(Pe);
4408
- let G = N;
4409
- N = ft(p), N === G ? oe[N].p(p, A) : (Ce(), $(oe[G], 1, 1, () => {
4410
- oe[G] = null;
4411
- }), Be(), C = oe[N], C ? C.p(p, A) : (C = oe[N] = ht[N](p), C.c()), M(C, 1), C.m(o, null)), (!Y || A[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
4412
- 196609 && le !== (le = !/*session*/
4413
- p[0] || !/*isBalanceFetched*/
4414
- p[16] || !/*isCurrenciesFetched*/
4415
- p[17])) && (j.disabled = le), A[0] & /*inputExchangeTo*/
4416
- 512 && vt(j.value) !== /*inputExchangeTo*/
4417
- p[9] && mt(
4418
- j,
4736
+ const Ie = {};
4737
+ S[0] & /*showcurrencysymbol*/
4738
+ 16 && (Ie.withSymbol = /*showcurrencysymbol*/
4739
+ g[4]), S[0] & /*isBalanceFetched, isCurrenciesFetched*/
4740
+ 196608 && (Ie.disabled = !/*isBalanceFetched*/
4741
+ g[16] || !/*isCurrenciesFetched*/
4742
+ g[17]), S[0] & /*optionsFrom*/
4743
+ 2097152 && (Ie.options = /*optionsFrom*/
4744
+ g[21]), !L && S[0] & /*selectedCurrencyFrom*/
4745
+ 32 && (L = !0, Ie.selected = /*selectedCurrencyFrom*/
4746
+ g[5], dn(() => L = !1)), b.$set(Ie);
4747
+ let $ = O;
4748
+ O = dt(g), O === $ ? ue[O].p(g, S) : (Be(), G(ue[$], 1, 1, () => {
4749
+ ue[$] = null;
4750
+ }), Se(), I = ue[O], I ? I.p(g, S) : (I = ue[O] = ft[O](g), I.c()), M(I, 1), I.m(s, null)), (!q || S[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
4751
+ 196609 && he !== (he = !/*session*/
4752
+ g[0] || !/*isBalanceFetched*/
4753
+ g[16] || !/*isCurrenciesFetched*/
4754
+ g[17])) && (X.disabled = he), S[0] & /*inputExchangeTo*/
4755
+ 512 && wt(X.value) !== /*inputExchangeTo*/
4756
+ g[9] && gt(
4757
+ X,
4419
4758
  /*inputExchangeTo*/
4420
- p[9]
4759
+ g[9]
4421
4760
  );
4422
- const se = {};
4423
- A[0] & /*showcurrencysymbol*/
4424
- 16 && (se.withSymbol = /*showcurrencysymbol*/
4425
- p[4]), A[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
4426
- 204801 && (se.disabled = !/*session*/
4427
- p[0] || !!/*validationError*/
4428
- p[13] || !/*isBalanceFetched*/
4429
- p[16] || !/*isCurrenciesFetched*/
4430
- p[17]), A[0] & /*optionsTo*/
4431
- 4194304 && (se.options = /*optionsTo*/
4432
- p[22]), !ue && A[0] & /*selectedCurrencyTo*/
4433
- 64 && (ue = !0, se.selected = /*selectedCurrencyTo*/
4434
- p[6], on(() => ue = !1)), ae.$set(se);
4435
- let be = W;
4436
- W = h(p), W === be ? he[W].p(p, A) : (Ce(), $(he[be], 1, 1, () => {
4437
- he[be] = null;
4438
- }), Be(), Q = he[W], Q ? Q.p(p, A) : (Q = he[W] = pt[W](p), Q.c()), M(Q, 1), Q.m(k, null)), /*showvaults*/
4439
- p[1] ? y ? y.p(p, A) : (y = In(p), y.c(), y.m(t, Ye)) : y && (y.d(1), y = null), v === (v = P(p)) && O ? O.p(p, A) : (O.d(1), O = v(p), O && (O.c(), O.m(Me, null))), (!Y || A[0] & /*fetchResponse*/
4440
- 4096) && _e !== (_e = F(
4761
+ const ce = {};
4762
+ S[0] & /*showcurrencysymbol*/
4763
+ 16 && (ce.withSymbol = /*showcurrencysymbol*/
4764
+ g[4]), S[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
4765
+ 204801 && (ce.disabled = !/*session*/
4766
+ g[0] || !!/*validationError*/
4767
+ g[13] || !/*isBalanceFetched*/
4768
+ g[16] || !/*isCurrenciesFetched*/
4769
+ g[17]), S[0] & /*optionsTo*/
4770
+ 4194304 && (ce.options = /*optionsTo*/
4771
+ g[22]), !fe && S[0] & /*selectedCurrencyTo*/
4772
+ 64 && (fe = !0, ce.selected = /*selectedCurrencyTo*/
4773
+ g[6], dn(() => fe = !1)), le.$set(ce);
4774
+ let ve = Z;
4775
+ Z = p(g), Z === ve ? pe[Z].p(g, S) : (Be(), G(pe[ve], 1, 1, () => {
4776
+ pe[ve] = null;
4777
+ }), Se(), Y = pe[Z], Y ? Y.p(g, S) : (Y = pe[Z] = mt[Z](g), Y.c()), M(Y, 1), Y.m(F, null)), /*showvaults*/
4778
+ g[1] ? _ ? _.p(g, S) : (_ = Vn(g), _.c(), _.m(t, Je)) : _ && (_.d(1), _ = null), w === (w = N(g)) && k ? k.p(g, S) : (k.d(1), k = w(g), k && (k.c(), k.m(ke, null))), (!q || S[0] & /*fetchResponse*/
4779
+ 4096) && we !== (we = R(
4441
4780
  /*fetchResponse*/
4442
- p[12]?.message || ""
4443
- ) + "") && (te.innerHTML = _e), (!Y || A[0] & /*fetchResponse*/
4444
- 4096) && xe(
4445
- te,
4781
+ g[12]?.message || ""
4782
+ ) + "") && (ne.innerHTML = we), (!q || S[0] & /*fetchResponse*/
4783
+ 4096) && oe(
4784
+ ne,
4446
4785
  "error",
4447
4786
  /*fetchResponse*/
4448
- p[12]?.type === "error"
4449
- ), (!Y || A[0] & /*fetchResponse*/
4450
- 4096) && xe(
4451
- te,
4787
+ g[12]?.type === "error"
4788
+ ), (!q || S[0] & /*fetchResponse*/
4789
+ 4096) && oe(
4790
+ ne,
4452
4791
  "success",
4453
4792
  /*fetchResponse*/
4454
- p[12]?.type === "success"
4455
- ), (!Y || A[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
4456
- 278816 && ge !== (ge = /*isExchangeDisabled*/
4457
- p[14] || /*isExchangePending*/
4458
- p[18] || /*inputExchangeFrom*/
4459
- p[8] === 0 && !/*selectedCurrencyFrom*/
4460
- p[5]?.amount)) && (K.disabled = ge), (!Y || A[0] & /*isExchangeDisabled, isExchangePending*/
4461
- 278528) && xe(
4462
- K,
4793
+ g[12]?.type === "success"
4794
+ ), (!q || S[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
4795
+ 278816 && ye !== (ye = /*isExchangeDisabled*/
4796
+ g[14] || /*isExchangePending*/
4797
+ g[18] || /*inputExchangeFrom*/
4798
+ g[8] === 0 && !/*selectedCurrencyFrom*/
4799
+ g[5]?.amount)) && (J.disabled = ye), (!q || S[0] & /*isExchangeDisabled, isExchangePending*/
4800
+ 278528) && oe(
4801
+ J,
4463
4802
  "disabled",
4464
4803
  /*isExchangeDisabled*/
4465
- p[14] || /*isExchangePending*/
4466
- p[18]
4467
- ), (!Y || A[0] & /*isExchangePending*/
4468
- 262144) && xe(
4469
- K,
4804
+ g[14] || /*isExchangePending*/
4805
+ g[18]
4806
+ ), (!q || S[0] & /*isExchangePending*/
4807
+ 262144) && oe(
4808
+ J,
4470
4809
  "pending",
4471
4810
  /*isExchangePending*/
4472
- p[18]
4811
+ g[18]
4473
4812
  );
4474
4813
  },
4475
- i(p) {
4476
- Y || (M(V), M(g.$$.fragment, p), M(C), M(ae.$$.fragment, p), M(Q), Y = !0);
4814
+ i(g) {
4815
+ q || (M(V), M(b.$$.fragment, g), M(I), M(le.$$.fragment, g), M(Y), q = !0);
4477
4816
  },
4478
- o(p) {
4479
- $(V), $(g.$$.fragment, p), $(C), $(ae.$$.fragment, p), $(Q), Y = !1;
4817
+ o(g) {
4818
+ G(V), G(b.$$.fragment, g), G(I), G(le.$$.fragment, g), G(Y), q = !1;
4480
4819
  },
4481
- d(p) {
4482
- p && B(t), z && z.d(), V && V.d(), Ge(g), oe[N].d(), Ge(ae), he[W].d(), y && y.d(), O.d(), e[42](null), qe = !1, Ne(et);
4820
+ d(g) {
4821
+ g && A(t), Q && Q.d(), V && V.d(), je(b), ue[O].d(), je(le), pe[Z].d(), _ && _.d(), k.d(), e[42](null), et = !1, _e(tt);
4483
4822
  }
4484
4823
  };
4485
4824
  }
4486
- function Hn(e) {
4825
+ function Fn(e) {
4487
4826
  let t, n, r;
4488
4827
  return {
4489
4828
  c() {
4490
- t = x("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.414 12l4.95-4.95-1.414-1.414-4.95 4.95-4.95-4.95L5.636 7.05l4.95 4.95-4.95 4.95 1.414 1.414 4.95-4.95 4.95 4.95 1.414-1.414-4.95-4.95z"></path></svg>', b(t, "type", "button"), b(t, "class", "closeButton");
4829
+ t = x("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.414 12l4.95-4.95-1.414-1.414-4.95 4.95-4.95-4.95L5.636 7.05l4.95 4.95-4.95 4.95 1.414 1.414 4.95-4.95 4.95 4.95 1.414-1.414-4.95-4.95z"></path></svg>', m(t, "type", "button"), m(t, "class", "closeButton");
4491
4830
  },
4492
4831
  m(i, a) {
4493
- S(i, t, a), n || (r = Ae(
4832
+ C(i, t, a), n || (r = re(
4494
4833
  t,
4495
4834
  "click",
4496
4835
  /*handleCloseWidget*/
4497
4836
  e[24]
4498
4837
  ), n = !0);
4499
4838
  },
4500
- p: H,
4839
+ p: B,
4501
4840
  d(i) {
4502
- i && B(t), n = !1, r();
4841
+ i && A(t), n = !1, r();
4503
4842
  }
4504
4843
  };
4505
4844
  }
4506
- function Pn(e) {
4845
+ function Un(e) {
4507
4846
  let t, n, r, i;
4508
- const a = [Aa, wa], l = [];
4509
- function u(o, s) {
4847
+ const a = [Ma, Da], o = [];
4848
+ function u(s, l) {
4510
4849
  return !/*isBalanceFetched*/
4511
- o[16] || !/*isCurrenciesFetched*/
4512
- o[17] ? 0 : 1;
4850
+ s[16] || !/*isCurrenciesFetched*/
4851
+ s[17] ? 0 : 1;
4513
4852
  }
4514
- return t = u(e), n = l[t] = a[t](e), {
4853
+ return t = u(e), n = o[t] = a[t](e), {
4515
4854
  c() {
4516
- n.c(), r = Mn();
4855
+ n.c(), r = Wn();
4517
4856
  },
4518
- m(o, s) {
4519
- l[t].m(o, s), S(o, r, s), i = !0;
4857
+ m(s, l) {
4858
+ o[t].m(s, l), C(s, r, l), i = !0;
4520
4859
  },
4521
- p(o, s) {
4860
+ p(s, l) {
4522
4861
  let c = t;
4523
- t = u(o), t === c ? l[t].p(o, s) : (Ce(), $(l[c], 1, 1, () => {
4524
- l[c] = null;
4525
- }), Be(), n = l[t], n ? n.p(o, s) : (n = l[t] = a[t](o), n.c()), M(n, 1), n.m(r.parentNode, r));
4862
+ t = u(s), t === c ? o[t].p(s, l) : (Be(), G(o[c], 1, 1, () => {
4863
+ o[c] = null;
4864
+ }), Se(), n = o[t], n ? n.p(s, l) : (n = o[t] = a[t](s), n.c()), M(n, 1), n.m(r.parentNode, r));
4526
4865
  },
4527
- i(o) {
4866
+ i(s) {
4528
4867
  i || (M(n), i = !0);
4529
4868
  },
4530
- o(o) {
4531
- $(n), i = !1;
4869
+ o(s) {
4870
+ G(n), i = !1;
4532
4871
  },
4533
- d(o) {
4534
- o && B(r), l[t].d(o);
4872
+ d(s) {
4873
+ s && A(r), o[t].d(s);
4535
4874
  }
4536
4875
  };
4537
4876
  }
4538
- function wa(e) {
4877
+ function Da(e) {
4539
4878
  let t, n, r, i;
4540
- const a = [Ca, Ta], l = [];
4541
- function u(o, s) {
4879
+ const a = [Ua, Fa], o = [];
4880
+ function u(s, l) {
4542
4881
  return (
4543
4882
  /*fetchResponse*/
4544
- o[12]?.source === X.BalanceError ? 0 : 1
4883
+ s[12]?.source === z.BalanceError ? 0 : 1
4545
4884
  );
4546
4885
  }
4547
- return n = u(e), r = l[n] = a[n](e), {
4886
+ return n = u(e), r = o[n] = a[n](e), {
4548
4887
  c() {
4549
- t = x("div"), r.c(), b(t, "class", "headerPlayerBalance amountContainer");
4888
+ t = x("div"), r.c(), m(t, "class", "headerPlayerBalance amountContainer");
4550
4889
  },
4551
- m(o, s) {
4552
- S(o, t, s), l[n].m(t, null), i = !0;
4890
+ m(s, l) {
4891
+ C(s, t, l), o[n].m(t, null), i = !0;
4553
4892
  },
4554
- p(o, s) {
4893
+ p(s, l) {
4555
4894
  let c = n;
4556
- n = u(o), n === c ? l[n].p(o, s) : (Ce(), $(l[c], 1, 1, () => {
4557
- l[c] = null;
4558
- }), Be(), r = l[n], r ? r.p(o, s) : (r = l[n] = a[n](o), r.c()), M(r, 1), r.m(t, null));
4895
+ n = u(s), n === c ? o[n].p(s, l) : (Be(), G(o[c], 1, 1, () => {
4896
+ o[c] = null;
4897
+ }), Se(), r = o[n], r ? r.p(s, l) : (r = o[n] = a[n](s), r.c()), M(r, 1), r.m(t, null));
4559
4898
  },
4560
- i(o) {
4899
+ i(s) {
4561
4900
  i || (M(r), i = !0);
4562
4901
  },
4563
- o(o) {
4564
- $(r), i = !1;
4902
+ o(s) {
4903
+ G(r), i = !1;
4565
4904
  },
4566
- d(o) {
4567
- o && B(t), l[n].d();
4905
+ d(s) {
4906
+ s && A(t), o[n].d();
4568
4907
  }
4569
4908
  };
4570
4909
  }
4571
- function Aa(e) {
4910
+ function Ma(e) {
4572
4911
  let t;
4573
4912
  return {
4574
4913
  c() {
4575
- t = x("div"), b(t, "class", "skeleton");
4914
+ t = x("div"), m(t, "class", "skeleton");
4576
4915
  },
4577
4916
  m(n, r) {
4578
- S(n, t, r);
4917
+ C(n, t, r);
4579
4918
  },
4580
- p: H,
4581
- i: H,
4582
- o: H,
4919
+ p: B,
4920
+ i: B,
4921
+ o: B,
4583
4922
  d(n) {
4584
- n && B(t);
4923
+ n && A(t);
4585
4924
  }
4586
4925
  };
4587
4926
  }
4588
- function Ta(e) {
4927
+ function Fa(e) {
4589
4928
  let t, n, r = (
4590
4929
  /*playerBalance*/
4591
4930
  (e[10]?.amount || 0) + ""
4592
- ), i, a, l = (
4931
+ ), i, a, o = (
4593
4932
  /*playerBalance*/
4594
4933
  (e[10]?.currency || "") + ""
4595
4934
  ), u;
4596
4935
  return {
4597
4936
  c() {
4598
- t = x("span"), t.textContent = `${F("totalBalance")}`, n = L(), i = q(r), a = L(), u = q(l), b(t, "class", "totalAmount");
4937
+ t = x("span"), t.textContent = `${R("totalBalance")}`, n = P(), i = W(r), a = P(), u = W(o), m(t, "class", "totalAmount");
4599
4938
  },
4600
- m(o, s) {
4601
- S(o, t, s), S(o, n, s), S(o, i, s), S(o, a, s), S(o, u, s);
4939
+ m(s, l) {
4940
+ C(s, t, l), C(s, n, l), C(s, i, l), C(s, a, l), C(s, u, l);
4602
4941
  },
4603
- p(o, s) {
4604
- s[0] & /*playerBalance*/
4942
+ p(s, l) {
4943
+ l[0] & /*playerBalance*/
4605
4944
  1024 && r !== (r = /*playerBalance*/
4606
- (o[10]?.amount || 0) + "") && de(i, r), s[0] & /*playerBalance*/
4607
- 1024 && l !== (l = /*playerBalance*/
4608
- (o[10]?.currency || "") + "") && de(u, l);
4945
+ (s[10]?.amount || 0) + "") && ee(i, r), l[0] & /*playerBalance*/
4946
+ 1024 && o !== (o = /*playerBalance*/
4947
+ (s[10]?.currency || "") + "") && ee(u, o);
4609
4948
  },
4610
- i: H,
4611
- o: H,
4612
- d(o) {
4613
- o && (B(t), B(n), B(i), B(a), B(u));
4949
+ i: B,
4950
+ o: B,
4951
+ d(s) {
4952
+ s && (A(t), A(n), A(i), A(a), A(u));
4614
4953
  }
4615
4954
  };
4616
4955
  }
4617
- function Ca(e) {
4956
+ function Ua(e) {
4618
4957
  let t, n;
4619
- return t = new qt({}), {
4958
+ return t = new Ot({}), {
4620
4959
  c() {
4621
4960
  at(t.$$.fragment);
4622
4961
  },
4623
4962
  m(r, i) {
4624
4963
  $e(t, r, i), n = !0;
4625
4964
  },
4626
- p: H,
4965
+ p: B,
4627
4966
  i(r) {
4628
4967
  n || (M(t.$$.fragment, r), n = !0);
4629
4968
  },
4630
4969
  o(r) {
4631
- $(t.$$.fragment, r), n = !1;
4970
+ G(t.$$.fragment, r), n = !1;
4632
4971
  },
4633
4972
  d(r) {
4634
- Ge(t, r);
4973
+ je(t, r);
4635
4974
  }
4636
4975
  };
4637
4976
  }
4638
- function Ba(e) {
4639
- let t, n, r, i, a, l, u, o, s;
4640
- const c = [Pa, Ha], d = [];
4641
- function f(m, _) {
4977
+ function Va(e) {
4978
+ let t, n, r, i, a, o, u, s, l;
4979
+ const c = [ja, $a], f = [];
4980
+ function h(d, v) {
4642
4981
  return (
4643
4982
  /*fetchResponse*/
4644
- m[12]?.source === X.BalanceError ? 0 : 1
4983
+ d[12]?.source === z.BalanceError ? 0 : 1
4645
4984
  );
4646
4985
  }
4647
- return l = f(e), u = d[l] = c[l](e), {
4986
+ return o = h(e), u = f[o] = c[o](e), {
4648
4987
  c() {
4649
- t = x("div"), n = x("p"), r = q(
4988
+ t = x("div"), n = x("p"), r = W(
4650
4989
  /*validationError*/
4651
4990
  e[13]
4652
- ), i = L(), a = x("div"), u.c(), b(n, "class", "validationError"), b(a, "class", "playerBalance amountContainer"), b(t, "class", o = "balanceContainer " + /*validationError*/
4991
+ ), i = P(), a = x("div"), u.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
4653
4992
  (e[13] ? "hasError" : ""));
4654
4993
  },
4655
- m(m, _) {
4656
- S(m, t, _), E(t, n), E(n, r), E(t, i), E(t, a), d[l].m(a, null), s = !0;
4994
+ m(d, v) {
4995
+ C(d, t, v), y(t, n), y(n, r), y(t, i), y(t, a), f[o].m(a, null), l = !0;
4657
4996
  },
4658
- p(m, _) {
4659
- (!s || _[0] & /*validationError*/
4660
- 8192) && de(
4997
+ p(d, v) {
4998
+ (!l || v[0] & /*validationError*/
4999
+ 8192) && ee(
4661
5000
  r,
4662
5001
  /*validationError*/
4663
- m[13]
5002
+ d[13]
4664
5003
  );
4665
- let g = l;
4666
- l = f(m), l === g ? d[l].p(m, _) : (Ce(), $(d[g], 1, 1, () => {
4667
- d[g] = null;
4668
- }), Be(), u = d[l], u ? u.p(m, _) : (u = d[l] = c[l](m), u.c()), M(u, 1), u.m(a, null)), (!s || _[0] & /*validationError*/
4669
- 8192 && o !== (o = "balanceContainer " + /*validationError*/
4670
- (m[13] ? "hasError" : ""))) && b(t, "class", o);
5004
+ let b = o;
5005
+ o = h(d), o === b ? f[o].p(d, v) : (Be(), G(f[b], 1, 1, () => {
5006
+ f[b] = null;
5007
+ }), Se(), u = f[o], u ? u.p(d, v) : (u = f[o] = c[o](d), u.c()), M(u, 1), u.m(a, null)), (!l || v[0] & /*validationError*/
5008
+ 8192 && s !== (s = "balanceContainer " + /*validationError*/
5009
+ (d[13] ? "hasError" : ""))) && m(t, "class", s);
4671
5010
  },
4672
- i(m) {
4673
- s || (M(u), s = !0);
5011
+ i(d) {
5012
+ l || (M(u), l = !0);
4674
5013
  },
4675
- o(m) {
4676
- $(u), s = !1;
5014
+ o(d) {
5015
+ G(u), l = !1;
4677
5016
  },
4678
- d(m) {
4679
- m && B(t), d[l].d();
5017
+ d(d) {
5018
+ d && A(t), f[o].d();
4680
5019
  }
4681
5020
  };
4682
5021
  }
4683
- function Sa(e) {
5022
+ function Ga(e) {
4684
5023
  let t;
4685
5024
  return {
4686
5025
  c() {
4687
- t = x("div"), b(t, "class", "skeleton");
5026
+ t = x("div"), m(t, "class", "skeleton");
4688
5027
  },
4689
5028
  m(n, r) {
4690
- S(n, t, r);
5029
+ C(n, t, r);
4691
5030
  },
4692
- p: H,
4693
- i: H,
4694
- o: H,
5031
+ p: B,
5032
+ i: B,
5033
+ o: B,
4695
5034
  d(n) {
4696
- n && B(t);
5035
+ n && A(t);
4697
5036
  }
4698
5037
  };
4699
5038
  }
4700
- function Ha(e) {
5039
+ function $a(e) {
4701
5040
  let t, n, r = (
4702
5041
  /*selectedCurrencyFrom*/
4703
5042
  (e[5]?.amount || 0) + ""
4704
- ), i, a, l = (
5043
+ ), i, a, o = (
4705
5044
  /*selectedCurrencyFrom*/
4706
5045
  (e[5]?.currency || "") + ""
4707
5046
  ), u;
4708
5047
  return {
4709
5048
  c() {
4710
- t = x("span"), t.textContent = `${F("currentBalance")}`, n = L(), i = q(r), a = L(), u = q(l), b(t, "class", "amount");
5049
+ t = x("span"), t.textContent = `${R("currentBalance")}`, n = P(), i = W(r), a = P(), u = W(o), m(t, "class", "amount");
4711
5050
  },
4712
- m(o, s) {
4713
- S(o, t, s), S(o, n, s), S(o, i, s), S(o, a, s), S(o, u, s);
5051
+ m(s, l) {
5052
+ C(s, t, l), C(s, n, l), C(s, i, l), C(s, a, l), C(s, u, l);
4714
5053
  },
4715
- p(o, s) {
4716
- s[0] & /*selectedCurrencyFrom*/
5054
+ p(s, l) {
5055
+ l[0] & /*selectedCurrencyFrom*/
4717
5056
  32 && r !== (r = /*selectedCurrencyFrom*/
4718
- (o[5]?.amount || 0) + "") && de(i, r), s[0] & /*selectedCurrencyFrom*/
4719
- 32 && l !== (l = /*selectedCurrencyFrom*/
4720
- (o[5]?.currency || "") + "") && de(u, l);
5057
+ (s[5]?.amount || 0) + "") && ee(i, r), l[0] & /*selectedCurrencyFrom*/
5058
+ 32 && o !== (o = /*selectedCurrencyFrom*/
5059
+ (s[5]?.currency || "") + "") && ee(u, o);
4721
5060
  },
4722
- i: H,
4723
- o: H,
4724
- d(o) {
4725
- o && (B(t), B(n), B(i), B(a), B(u));
5061
+ i: B,
5062
+ o: B,
5063
+ d(s) {
5064
+ s && (A(t), A(n), A(i), A(a), A(u));
4726
5065
  }
4727
5066
  };
4728
5067
  }
4729
- function Pa(e) {
5068
+ function ja(e) {
4730
5069
  let t, n;
4731
- return t = new qt({}), {
5070
+ return t = new Ot({}), {
4732
5071
  c() {
4733
5072
  at(t.$$.fragment);
4734
5073
  },
4735
5074
  m(r, i) {
4736
5075
  $e(t, r, i), n = !0;
4737
5076
  },
4738
- p: H,
5077
+ p: B,
4739
5078
  i(r) {
4740
5079
  n || (M(t.$$.fragment, r), n = !0);
4741
5080
  },
4742
5081
  o(r) {
4743
- $(t.$$.fragment, r), n = !1;
5082
+ G(t.$$.fragment, r), n = !1;
4744
5083
  },
4745
5084
  d(r) {
4746
- Ge(t, r);
5085
+ je(t, r);
4747
5086
  }
4748
5087
  };
4749
5088
  }
4750
- function Ia(e) {
5089
+ function Xa(e) {
4751
5090
  let t, n, r, i;
4752
- const a = [Oa, La], l = [];
4753
- function u(o, s) {
5091
+ const a = [Za, za], o = [];
5092
+ function u(s, l) {
4754
5093
  return (
4755
5094
  /*fetchResponse*/
4756
- o[12]?.source === X.BalanceError ? 0 : 1
5095
+ s[12]?.source === z.BalanceError ? 0 : 1
4757
5096
  );
4758
5097
  }
4759
- return n = u(e), r = l[n] = a[n](e), {
5098
+ return n = u(e), r = o[n] = a[n](e), {
4760
5099
  c() {
4761
- t = x("div"), r.c(), b(t, "class", "playerBalance amountContainer");
5100
+ t = x("div"), r.c(), m(t, "class", "playerBalance amountContainer");
4762
5101
  },
4763
- m(o, s) {
4764
- S(o, t, s), l[n].m(t, null), i = !0;
5102
+ m(s, l) {
5103
+ C(s, t, l), o[n].m(t, null), i = !0;
4765
5104
  },
4766
- p(o, s) {
5105
+ p(s, l) {
4767
5106
  let c = n;
4768
- n = u(o), n === c ? l[n].p(o, s) : (Ce(), $(l[c], 1, 1, () => {
4769
- l[c] = null;
4770
- }), Be(), r = l[n], r ? r.p(o, s) : (r = l[n] = a[n](o), r.c()), M(r, 1), r.m(t, null));
5107
+ n = u(s), n === c ? o[n].p(s, l) : (Be(), G(o[c], 1, 1, () => {
5108
+ o[c] = null;
5109
+ }), Se(), r = o[n], r ? r.p(s, l) : (r = o[n] = a[n](s), r.c()), M(r, 1), r.m(t, null));
4771
5110
  },
4772
- i(o) {
5111
+ i(s) {
4773
5112
  i || (M(r), i = !0);
4774
5113
  },
4775
- o(o) {
4776
- $(r), i = !1;
5114
+ o(s) {
5115
+ G(r), i = !1;
4777
5116
  },
4778
- d(o) {
4779
- o && B(t), l[n].d();
5117
+ d(s) {
5118
+ s && A(t), o[n].d();
4780
5119
  }
4781
5120
  };
4782
5121
  }
4783
- function Na(e) {
5122
+ function Wa(e) {
4784
5123
  let t;
4785
5124
  return {
4786
5125
  c() {
4787
- t = x("div"), b(t, "class", "skeleton");
5126
+ t = x("div"), m(t, "class", "skeleton");
4788
5127
  },
4789
5128
  m(n, r) {
4790
- S(n, t, r);
5129
+ C(n, t, r);
4791
5130
  },
4792
- p: H,
4793
- i: H,
4794
- o: H,
5131
+ p: B,
5132
+ i: B,
5133
+ o: B,
4795
5134
  d(n) {
4796
- n && B(t);
5135
+ n && A(t);
4797
5136
  }
4798
5137
  };
4799
5138
  }
4800
- function La(e) {
5139
+ function za(e) {
4801
5140
  let t, n, r = (
4802
5141
  /*selectedCurrencyTo*/
4803
5142
  (e[6]?.amount || 0) + ""
4804
- ), i, a, l = (
5143
+ ), i, a, o = (
4805
5144
  /*selectedCurrencyTo*/
4806
5145
  (e[6]?.currency || "") + ""
4807
5146
  ), u;
4808
5147
  return {
4809
5148
  c() {
4810
- t = x("span"), t.textContent = `${F("currentBalance")}`, n = L(), i = q(r), a = L(), u = q(l), b(t, "class", "amount");
5149
+ t = x("span"), t.textContent = `${R("currentBalance")}`, n = P(), i = W(r), a = P(), u = W(o), m(t, "class", "amount");
4811
5150
  },
4812
- m(o, s) {
4813
- S(o, t, s), S(o, n, s), S(o, i, s), S(o, a, s), S(o, u, s);
5151
+ m(s, l) {
5152
+ C(s, t, l), C(s, n, l), C(s, i, l), C(s, a, l), C(s, u, l);
4814
5153
  },
4815
- p(o, s) {
4816
- s[0] & /*selectedCurrencyTo*/
5154
+ p(s, l) {
5155
+ l[0] & /*selectedCurrencyTo*/
4817
5156
  64 && r !== (r = /*selectedCurrencyTo*/
4818
- (o[6]?.amount || 0) + "") && de(i, r), s[0] & /*selectedCurrencyTo*/
4819
- 64 && l !== (l = /*selectedCurrencyTo*/
4820
- (o[6]?.currency || "") + "") && de(u, l);
5157
+ (s[6]?.amount || 0) + "") && ee(i, r), l[0] & /*selectedCurrencyTo*/
5158
+ 64 && o !== (o = /*selectedCurrencyTo*/
5159
+ (s[6]?.currency || "") + "") && ee(u, o);
4821
5160
  },
4822
- i: H,
4823
- o: H,
4824
- d(o) {
4825
- o && (B(t), B(n), B(i), B(a), B(u));
5161
+ i: B,
5162
+ o: B,
5163
+ d(s) {
5164
+ s && (A(t), A(n), A(i), A(a), A(u));
4826
5165
  }
4827
5166
  };
4828
5167
  }
4829
- function Oa(e) {
5168
+ function Za(e) {
4830
5169
  let t, n;
4831
- return t = new qt({}), {
5170
+ return t = new Ot({}), {
4832
5171
  c() {
4833
5172
  at(t.$$.fragment);
4834
5173
  },
4835
5174
  m(r, i) {
4836
5175
  $e(t, r, i), n = !0;
4837
5176
  },
4838
- p: H,
5177
+ p: B,
4839
5178
  i(r) {
4840
5179
  n || (M(t.$$.fragment, r), n = !0);
4841
5180
  },
4842
5181
  o(r) {
4843
- $(t.$$.fragment, r), n = !1;
5182
+ G(t.$$.fragment, r), n = !1;
4844
5183
  },
4845
5184
  d(r) {
4846
- Ge(t, r);
5185
+ je(t, r);
4847
5186
  }
4848
5187
  };
4849
5188
  }
4850
- function In(e) {
4851
- let t, n, r, i, a, l, u, o, s, c, d = sn(
5189
+ function Vn(e) {
5190
+ let t, n, r, i, a, o, u, s, l, c, f = At(
4852
5191
  /*dropDownVaults*/
4853
5192
  e[20]
4854
- ), f = [];
4855
- for (let m = 0; m < d.length; m += 1)
4856
- f[m] = Nn(Bn(e, d, m));
5193
+ ), h = [];
5194
+ for (let d = 0; d < f.length; d += 1)
5195
+ h[d] = Gn(Dn(e, f, d));
4857
5196
  return {
4858
5197
  c() {
4859
- t = x("div"), n = x("button"), r = an("svg"), i = an("path"), l = L(), u = x("div");
4860
- for (let m = 0; m < f.length; m += 1)
4861
- f[m].c();
4862
- b(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"), b(i, "fill", "currentColor"), b(r, "class", "vaultToggleIcon"), b(r, "width", "12"), b(r, "height", "7"), b(r, "viewBox", "0 0 12 7"), b(r, "fill", "currentColor"), b(r, "xmlns", "http://www.w3.org/2000/svg"), b(n, "type", "button"), b(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
5198
+ t = x("div"), n = x("button"), r = fn("svg"), i = fn("path"), o = P(), u = x("div");
5199
+ for (let d = 0; d < h.length; d += 1)
5200
+ h[d].c();
5201
+ m(i, "d", "M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z"), m(i, "fill", "currentColor"), m(r, "class", "vaultToggleIcon"), m(r, "width", "12"), m(r, "height", "7"), m(r, "viewBox", "0 0 12 7"), m(r, "fill", "currentColor"), m(r, "xmlns", "http://www.w3.org/2000/svg"), m(n, "type", "button"), m(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
4863
5202
  (e[15] && /*dropDownVaults*/
4864
- e[20].length > 0 ? "active" : "")), b(u, "class", o = "vaultDropdown " + /*isVaultDropDownToggled*/
5203
+ e[20].length > 0 ? "active" : "")), m(u, "class", s = "vaultDropdown " + /*isVaultDropDownToggled*/
4865
5204
  (e[15] && /*dropDownVaults*/
4866
- e[20].length > 0 ? "expanded" : "")), b(t, "class", "vaultsContainer");
5205
+ e[20].length > 0 ? "expanded" : "")), m(t, "class", "vaultsContainer");
4867
5206
  },
4868
- m(m, _) {
4869
- S(m, t, _), E(t, n), E(n, r), E(r, i), E(t, l), E(t, u);
4870
- for (let g = 0; g < f.length; g += 1)
4871
- f[g] && f[g].m(u, null);
4872
- s || (c = Ae(
5207
+ m(d, v) {
5208
+ C(d, t, v), y(t, n), y(n, r), y(r, i), y(t, o), y(t, u);
5209
+ for (let b = 0; b < h.length; b += 1)
5210
+ h[b] && h[b].m(u, null);
5211
+ l || (c = re(
4873
5212
  n,
4874
5213
  "click",
4875
5214
  /*handleToggleVaultDropdown*/
4876
5215
  e[23]
4877
- ), s = !0);
5216
+ ), l = !0);
4878
5217
  },
4879
- p(m, _) {
4880
- if (_[0] & /*isVaultDropDownToggled, dropDownVaults*/
5218
+ p(d, v) {
5219
+ if (v[0] & /*isVaultDropDownToggled, dropDownVaults*/
4881
5220
  1081344 && a !== (a = "vaultToggleButton " + /*isVaultDropDownToggled*/
4882
- (m[15] && /*dropDownVaults*/
4883
- m[20].length > 0 ? "active" : "")) && b(n, "class", a), _[0] & /*dropDownVaults*/
5221
+ (d[15] && /*dropDownVaults*/
5222
+ d[20].length > 0 ? "active" : "")) && m(n, "class", a), v[0] & /*dropDownVaults*/
4884
5223
  1048576) {
4885
- d = sn(
5224
+ f = At(
4886
5225
  /*dropDownVaults*/
4887
- m[20]
5226
+ d[20]
4888
5227
  );
4889
- let g;
4890
- for (g = 0; g < d.length; g += 1) {
4891
- const I = Bn(m, d, g);
4892
- f[g] ? f[g].p(I, _) : (f[g] = Nn(I), f[g].c(), f[g].m(u, null));
5228
+ let b;
5229
+ for (b = 0; b < f.length; b += 1) {
5230
+ const L = Dn(d, f, b);
5231
+ h[b] ? h[b].p(L, v) : (h[b] = Gn(L), h[b].c(), h[b].m(u, null));
4893
5232
  }
4894
- for (; g < f.length; g += 1)
4895
- f[g].d(1);
4896
- f.length = d.length;
5233
+ for (; b < h.length; b += 1)
5234
+ h[b].d(1);
5235
+ h.length = f.length;
4897
5236
  }
4898
- _[0] & /*isVaultDropDownToggled, dropDownVaults*/
4899
- 1081344 && o !== (o = "vaultDropdown " + /*isVaultDropDownToggled*/
4900
- (m[15] && /*dropDownVaults*/
4901
- m[20].length > 0 ? "expanded" : "")) && b(u, "class", o);
5237
+ v[0] & /*isVaultDropDownToggled, dropDownVaults*/
5238
+ 1081344 && s !== (s = "vaultDropdown " + /*isVaultDropDownToggled*/
5239
+ (d[15] && /*dropDownVaults*/
5240
+ d[20].length > 0 ? "expanded" : "")) && m(u, "class", s);
4902
5241
  },
4903
- d(m) {
4904
- m && B(t), dr(f, m), s = !1, c();
5242
+ d(d) {
5243
+ d && A(t), Xn(h, d), l = !1, c();
4905
5244
  }
4906
5245
  };
4907
5246
  }
4908
- function Nn(e) {
5247
+ function Gn(e) {
4909
5248
  let t, n, r = (
4910
5249
  /*vault*/
4911
5250
  e[61]?.currency + ""
4912
- ), i, a, l, u = (
5251
+ ), i, a, o, u = (
4913
5252
  /*vault*/
4914
5253
  e[61]?.amount + ""
4915
- ), o, s;
5254
+ ), s, l;
4916
5255
  return {
4917
5256
  c() {
4918
- t = x("div"), n = x("p"), i = q(r), a = L(), l = x("p"), o = q(u), s = L(), b(t, "class", "vaultItem");
5257
+ t = x("div"), n = x("p"), i = W(r), a = P(), o = x("p"), s = W(u), l = P(), m(t, "class", "vaultItem");
4919
5258
  },
4920
- m(c, d) {
4921
- S(c, t, d), E(t, n), E(n, i), E(t, a), E(t, l), E(l, o), E(t, s);
5259
+ m(c, f) {
5260
+ C(c, t, f), y(t, n), y(n, i), y(t, a), y(t, o), y(o, s), y(t, l);
4922
5261
  },
4923
- p(c, d) {
4924
- d[0] & /*dropDownVaults*/
5262
+ p(c, f) {
5263
+ f[0] & /*dropDownVaults*/
4925
5264
  1048576 && r !== (r = /*vault*/
4926
- c[61]?.currency + "") && de(i, r), d[0] & /*dropDownVaults*/
5265
+ c[61]?.currency + "") && ee(i, r), f[0] & /*dropDownVaults*/
4927
5266
  1048576 && u !== (u = /*vault*/
4928
- c[61]?.amount + "") && de(o, u);
5267
+ c[61]?.amount + "") && ee(s, u);
4929
5268
  },
4930
5269
  d(c) {
4931
- c && B(t);
5270
+ c && A(t);
4932
5271
  }
4933
5272
  };
4934
5273
  }
4935
- function Ra(e) {
5274
+ function Qa(e) {
4936
5275
  let t = `${/*currentFee*/
4937
5276
  e[11]?.amount || 0} ${/*currentFee*/
4938
5277
  e[11]?.currency || ""}`, n;
4939
5278
  return {
4940
5279
  c() {
4941
- n = q(t);
5280
+ n = W(t);
4942
5281
  },
4943
5282
  m(r, i) {
4944
- S(r, n, i);
5283
+ C(r, n, i);
4945
5284
  },
4946
5285
  p(r, i) {
4947
5286
  i[0] & /*currentFee*/
4948
5287
  2048 && t !== (t = `${/*currentFee*/
4949
5288
  r[11]?.amount || 0} ${/*currentFee*/
4950
- r[11]?.currency || ""}`) && de(n, t);
5289
+ r[11]?.currency || ""}`) && ee(n, t);
4951
5290
  },
4952
5291
  d(r) {
4953
- r && B(n);
5292
+ r && A(n);
4954
5293
  }
4955
5294
  };
4956
5295
  }
4957
- function Ma(e) {
4958
- let t = F("feesUnavailable") + "", n;
5296
+ function Ka(e) {
5297
+ let t = R("feesUnavailable") + "", n;
4959
5298
  return {
4960
5299
  c() {
4961
- n = q(t);
5300
+ n = W(t);
4962
5301
  },
4963
5302
  m(r, i) {
4964
- S(r, n, i);
5303
+ C(r, n, i);
4965
5304
  },
4966
- p: H,
5305
+ p: B,
4967
5306
  d(r) {
4968
- r && B(n);
5307
+ r && A(n);
4969
5308
  }
4970
5309
  };
4971
5310
  }
4972
- function Da(e) {
5311
+ function Ya(e) {
4973
5312
  let t, n, r = (
4974
5313
  /*showComponent*/
4975
- e[19] && Sn(e)
5314
+ e[19] && Mn(e)
4976
5315
  );
4977
5316
  return {
4978
5317
  c() {
4979
- r && r.c(), t = Mn();
5318
+ r && r.c(), t = Wn();
4980
5319
  },
4981
5320
  m(i, a) {
4982
- r && r.m(i, a), S(i, t, a), n = !0;
5321
+ r && r.m(i, a), C(i, t, a), n = !0;
4983
5322
  },
4984
5323
  p(i, a) {
4985
5324
  /*showComponent*/
4986
5325
  i[19] ? r ? (r.p(i, a), a[0] & /*showComponent*/
4987
- 524288 && M(r, 1)) : (r = Sn(i), r.c(), M(r, 1), r.m(t.parentNode, t)) : r && (Ce(), $(r, 1, 1, () => {
5326
+ 524288 && M(r, 1)) : (r = Mn(i), r.c(), M(r, 1), r.m(t.parentNode, t)) : r && (Be(), G(r, 1, 1, () => {
4988
5327
  r = null;
4989
- }), Be());
5328
+ }), Se());
4990
5329
  },
4991
5330
  i(i) {
4992
5331
  n || (M(r), n = !0);
4993
5332
  },
4994
5333
  o(i) {
4995
- $(r), n = !1;
5334
+ G(r), n = !1;
4996
5335
  },
4997
5336
  d(i) {
4998
- i && B(t), r && r.d(i);
5337
+ i && A(t), r && r.d(i);
4999
5338
  }
5000
5339
  };
5001
5340
  }
5002
- function ka(e, t, n) {
5003
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: s = "" } = t, { playercurrency: c = "" } = t, { showvaults: d = !0 } = t, { showtotalbalance: f = !0 } = t, { showclosebutton: m = !0 } = t, { showcurrencysymbol: _ = !0 } = t, g = null, I = null, D = 0, N = 0, C = null, ne = null, k = null, ee = "", re = !0, ie = !1, j = !1, le = !1, Oe = !1, ae = !0, ue = [], ye = [], W = [], Q = [], ce;
5004
- ma({ withLocale: "en", translations: {} }), Object.keys(wn).forEach((h) => {
5005
- xn(h, wn[h]);
5341
+ function Ja(e, t, n) {
5342
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: l = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = !0 } = t, { showtotalbalance: h = !0 } = t, { showclosebutton: d = !0 } = t, { showcurrencysymbol: v = !0 } = t, b = null, L = null, E = 0, O = 0, I = null, ie = null, F = null, te = "", ae = !0, se = !1, X = !1, he = !1, Oe = !1, le = !0, fe = [], Ee = [], Z = [], Y = [], de;
5343
+ xa({ withLocale: "en", translations: {} }), Object.keys(Hn).forEach((p) => {
5344
+ Sn(p, Hn[p]);
5006
5345
  });
5007
- const Ye = () => {
5008
- ga(l);
5009
- }, Ee = () => {
5010
- fetch(s).then((h) => h.json()).then((h) => {
5011
- Object.keys(h).forEach((y) => {
5012
- xn(y, h[y]);
5346
+ const Je = () => {
5347
+ wa(o);
5348
+ }, xe = () => {
5349
+ fetch(l).then((p) => p.json()).then((p) => {
5350
+ Object.keys(p).forEach((_) => {
5351
+ Sn(_, p[_]);
5013
5352
  });
5014
- }).catch((h) => {
5015
- console.error("There was a problem with the translations request.", h);
5353
+ }).catch((p) => {
5354
+ console.error("There was a problem with the translations request.", p);
5016
5355
  });
5017
5356
  }, Re = () => {
5018
- let h = document.createElement("style");
5019
- h.innerHTML = u, ce.appendChild(h);
5020
- }, lt = () => {
5021
- let h, y = new URL(o), P = document.createElement("style");
5022
- fetch(y.href).then((v) => v.text()).then((v) => {
5023
- P.innerHTML = v, h && clearTimeout(h), h = setTimeout(
5357
+ let p = document.createElement("style");
5358
+ p.innerHTML = u, de.appendChild(p);
5359
+ }, ut = () => {
5360
+ let p, _ = new URL(s), N = document.createElement("style");
5361
+ fetch(_.href).then((w) => w.text()).then((w) => {
5362
+ N.innerHTML = w, p && clearTimeout(p), p = setTimeout(
5024
5363
  () => {
5025
- ce.appendChild(P);
5364
+ de.appendChild(N);
5026
5365
  },
5027
5366
  1
5028
5367
  );
5029
5368
  });
5030
- }, Me = () => {
5031
- ye.length !== 0 && (n(15, ie = !ie), window.postMessage(
5369
+ }, ke = () => {
5370
+ Ee.length !== 0 && (n(15, se = !se), window.postMessage(
5032
5371
  {
5033
- type: Ut.VaultDropdownToggled,
5034
- state: ie
5372
+ type: jt.VaultDropdownToggled,
5373
+ state: se
5035
5374
  },
5036
5375
  window.location.href
5037
5376
  ));
5038
- }, Je = () => {
5039
- n(19, ae = !1), window.postMessage(
5377
+ }, qe = () => {
5378
+ n(19, le = !1), window.postMessage(
5040
5379
  {
5041
- type: Ut.VaultWidgetClosed
5380
+ type: jt.VaultWidgetClosed
5042
5381
  },
5043
5382
  window.location.href
5044
5383
  );
5045
- }, te = () => {
5046
- n(14, re = !0), He(), pe(), me(), De(), window.postMessage({ type: Ut.VaultWidgetReset }, window.location.href);
5047
- }, _e = () => {
5048
- n(14, re = !0), n(9, N = 0);
5049
- }, He = () => {
5050
- n(11, ne = null);
5051
- }, pe = () => {
5052
- n(8, D = 0), n(9, N = 0);
5053
- }, me = () => {
5054
- n(13, ee = "");
5384
+ }, ne = () => {
5385
+ n(14, ae = !0), Pe(), ge(), be(), De(), window.postMessage({ type: jt.VaultWidgetReset }, window.location.href);
5386
+ }, we = () => {
5387
+ n(14, ae = !0), n(9, O = 0);
5388
+ }, Pe = () => {
5389
+ n(11, ie = null);
5390
+ }, ge = () => {
5391
+ n(8, E = 0), n(9, O = 0);
5392
+ }, be = () => {
5393
+ n(13, te = "");
5055
5394
  }, De = () => {
5056
- n(12, k = null);
5057
- }, K = (h) => {
5058
- h && n(13, ee = h);
5059
- }, ve = ({ type: h, message: y, source: P = "" }) => {
5060
- let v;
5061
- switch (n(12, k = { message: y, source: P, type: h }), h) {
5062
- case we.error:
5063
- n(14, re = !0), window.postMessage({ type: P, data: { type: h, message: y } }, window.location.href);
5395
+ n(12, F = null);
5396
+ }, J = (p) => {
5397
+ p && n(13, te = p);
5398
+ }, Ae = ({ type: p, message: _, source: N = "" }) => {
5399
+ let w;
5400
+ switch (n(12, F = { message: _, source: N, type: p }), p) {
5401
+ case Ce.error:
5402
+ n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href);
5064
5403
  break;
5065
- case we.success:
5066
- n(14, re = !0), window.postMessage({ type: P, data: { type: h, message: y } }, window.location.href), v && clearTimeout(v), v = setTimeout(
5404
+ case Ce.success:
5405
+ n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href), w && clearTimeout(w), w = setTimeout(
5067
5406
  () => {
5068
5407
  De();
5069
5408
  },
5070
- ya
5409
+ Ca
5071
5410
  );
5072
5411
  break;
5073
5412
  }
5074
- }, ut = () => new Promise((h, y) => {
5075
- const P = k?.message.includes(Ea.InvalidSession);
5076
- P && y(), (D < 0 || D === null || isNaN(Number(D))) && (_e(), He(), y(F("invalidValue"))), D > g?.amount && (_e(), He(), y(F("exceededValue"))), D === 0 && D === 0 && !P && (te(), y()), (!g || !I) && !P && y(), me(), h();
5077
- }), ge = async (h, y) => {
5078
- const P = await h.json();
5079
- return h?.status >= 200 && h?.status < 400 ? P : (y === X.CheckWalletExchangeError && _e(), !j && y === X.BalanceError && (n(16, j = !0), n(17, le = !0)), !le && y === X.CurrenciesError && n(17, le = !0), ve({
5080
- type: we.error,
5081
- message: F(P?.thirdPartyResponse?.code) || F(P?.thirdPartyResponse?.errorCode) || "generalError",
5082
- source: y
5413
+ }, ct = () => new Promise((p, _) => {
5414
+ const N = F?.message.includes(Ta.InvalidSession);
5415
+ N && _(), (E < 0 || E === null || isNaN(Number(E))) && (we(), Pe(), _(R("invalidValue"))), E > b?.amount && (we(), Pe(), _(R("exceededValue"))), E === 0 && E === 0 && !N && (ne(), _()), (!b || !L) && !N && _(), be(), p();
5416
+ }), ye = async (p, _) => {
5417
+ const N = await p.json();
5418
+ return p?.status >= 200 && p?.status < 400 ? N : (_ === z.CheckWalletExchangeError && we(), !X && _ === z.BalanceError && (n(16, X = !0), n(17, he = !0)), !he && _ === z.CurrenciesError && n(17, he = !0), Ae({
5419
+ type: Ce.error,
5420
+ message: R(N?.thirdPartyResponse?.code) || R(N?.thirdPartyResponse?.errorCode) || "generalError",
5421
+ source: _
5083
5422
  }));
5084
- }, Y = () => new Promise((h, y) => {
5085
- const P = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5086
- fetch(P, {
5423
+ }, q = () => new Promise((p, _) => {
5424
+ const N = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5425
+ fetch(N, {
5087
5426
  method: "GET",
5088
5427
  headers: {
5089
5428
  "X-SessionId": r,
5090
5429
  "Content-Type": "application/json",
5091
5430
  Accept: "application/json"
5092
5431
  }
5093
- }).then((O) => ge(O, X.CurrenciesError)).then((O) => {
5094
- h(O?.currencies);
5095
- }).catch((O) => {
5096
- ve({
5097
- type: we.error,
5098
- message: F("generalError"),
5099
- source: X.CurrenciesError
5100
- }), y(), console.error("There was an error on the allowed currencies request.", O);
5432
+ }).then((k) => ye(k, z.CurrenciesError)).then((k) => {
5433
+ p(k?.currencies);
5434
+ }).catch((k) => {
5435
+ Ae({
5436
+ type: Ce.error,
5437
+ message: R("generalError"),
5438
+ source: z.CurrenciesError
5439
+ }), _(), console.error("There was an error on the allowed currencies request.", k);
5101
5440
  }).finally(() => {
5102
- n(17, le = !0);
5441
+ n(17, he = !0);
5103
5442
  });
5104
- }), qe = ({ data: h, shouldUpdateSelectedCurrencies: y, allowed: P = [] }) => {
5105
- const { items: v = [], totalAmount: O = {}, totalRealAmount: p } = h || {};
5106
- n(10, C = Object.entries(p || O).map(([G = "", se = 0]) => ({ currency: G, amount: se }))[0]);
5107
- let A = null;
5108
- const Pe = new Map(P.map((G) => [G.code, G]));
5109
- for (const G of v)
5110
- if (G?.type === Tn.Real) {
5111
- const se = Pe.get(G?.currency);
5112
- if (se && se.code === G?.currency) {
5113
- const be = {
5114
- ...G,
5115
- ...se,
5116
- symbol: ba[G?.currency]
5443
+ }), et = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: N = [] }) => {
5444
+ const { items: w = [], totalAmount: k = {}, totalRealAmount: g } = p || {};
5445
+ n(10, I = Object.entries(g || k).map(([$ = "", ce = 0]) => ({ currency: $, amount: ce }))[0]);
5446
+ let S = null;
5447
+ const Ie = new Map(N.map(($) => [$.code, $]));
5448
+ for (const $ of w)
5449
+ if ($?.type === In.Real) {
5450
+ const ce = Ie.get($?.currency);
5451
+ if (ce && ce.code === $?.currency) {
5452
+ const ve = {
5453
+ ...$,
5454
+ ...ce,
5455
+ symbol: Aa[$?.currency]
5117
5456
  };
5118
- n(37, ue = [...ue, be]), G?.currency === C?.currency && n(10, C = { ...C, ...be }), G?.currency !== C?.currency && G?.walletAccountType === Tn.Vault && n(20, ye = [...ye, be]), y && G?.amount > 0 && n(5, g = C?.currency ? C : A), g && g?.currency === G?.currency && n(5, g = be), I && I?.currency === G?.currency && n(6, I = be);
5457
+ n(37, fe = [...fe, ve]), $?.currency === I?.currency && n(10, I = { ...I, ...ve }), $?.currency !== I?.currency && $?.walletAccountType === In.Vault && n(20, Ee = [...Ee, ve]), _ && $?.amount > 0 && n(5, b = I?.currency ? I : S), b && b?.currency === $?.currency && n(5, b = ve), L && L?.currency === $?.currency && n(6, L = ve);
5119
5458
  }
5120
5459
  }
5121
- }, et = (h = !0) => {
5122
- const y = new URL(`${a}/v2/player/${i}/balance`);
5123
- fetch(y, {
5460
+ }, tt = (p = !0) => {
5461
+ const _ = new URL(`${a}/v2/player/${i}/balance`);
5462
+ fetch(_, {
5124
5463
  method: "GET",
5125
5464
  headers: {
5126
5465
  "X-SessionId": r,
5127
5466
  "Content-Type": "application/json",
5128
5467
  Accept: "application/json"
5129
5468
  }
5130
- }).then((v) => ge(v, X.BalanceError)).then((v) => {
5131
- v && Y().then((O) => {
5132
- n(37, ue = []), n(20, ye = []), qe({
5133
- data: v,
5134
- shouldUpdateSelectedCurrencies: h,
5135
- allowed: O
5469
+ }).then((w) => ye(w, z.BalanceError)).then((w) => {
5470
+ w && q().then((k) => {
5471
+ n(37, fe = []), n(20, Ee = []), et({
5472
+ data: w,
5473
+ shouldUpdateSelectedCurrencies: p,
5474
+ allowed: k
5136
5475
  });
5137
5476
  });
5138
- }).catch((v) => {
5139
- ve({
5140
- type: we.error,
5141
- message: F("generalError"),
5142
- source: X.BalanceError
5143
- }), console.error("There was an error with the player balance request.", v);
5477
+ }).catch((w) => {
5478
+ Ae({
5479
+ type: Ce.error,
5480
+ message: R("generalError"),
5481
+ source: z.BalanceError
5482
+ }), console.error("There was an error with the player balance request.", w);
5144
5483
  }).finally(() => {
5145
- n(16, j = !0);
5484
+ n(16, X = !0);
5146
5485
  });
5147
- }, V = va(() => {
5148
- ut().then(() => {
5149
- const h = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), y = {
5486
+ }, V = Sa(() => {
5487
+ ct().then(() => {
5488
+ const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), _ = {
5150
5489
  userId: i,
5151
- amount: D,
5152
- currency: g?.currency,
5153
- fromCurrency: g?.currency,
5154
- toCurrency: I?.currency,
5490
+ amount: E,
5491
+ currency: b?.currency,
5492
+ fromCurrency: b?.currency,
5493
+ toCurrency: L?.currency,
5155
5494
  payload: { PlayerCurrency: c }
5156
- }, P = {
5495
+ }, N = {
5157
5496
  method: "POST",
5158
5497
  headers: {
5159
5498
  "X-SessionId": r,
5160
5499
  "Content-Type": "application/json",
5161
5500
  Accept: "application/json"
5162
5501
  },
5163
- body: Cn(y)
5502
+ body: Ln(_)
5164
5503
  };
5165
- fetch(h, P).then((v) => ge(v, X.CheckWalletExchangeError)).then((v) => {
5166
- v && (k?.source === X.CheckWalletExchangeError && De(), Array.isArray(v?.fees?.fees) && n(11, ne = v.fees.fees.find((O) => O.id)), Array.isArray(v?.walletActions) && n(9, N = v.walletActions.find((O) => O?.directionName === "Credit")?.amount || 0), D > 0 && g?.currency && I?.currency && c && n(14, re = !1));
5167
- }).catch((v) => {
5168
- ve({
5169
- type: we.error,
5170
- message: F("generalError"),
5171
- source: X.CheckWalletExchangeError
5172
- }), console.error("There was a problem with the wallet exchange request.", v);
5504
+ fetch(p, N).then((w) => ye(w, z.CheckWalletExchangeError)).then((w) => {
5505
+ w && (F?.source === z.CheckWalletExchangeError && De(), Array.isArray(w?.fees?.fees) && n(11, ie = w.fees.fees.find((k) => k.id)), Array.isArray(w?.walletActions) && n(9, O = w.walletActions.find((k) => k?.directionName === "Credit")?.amount || 0), E > 0 && b?.currency && L?.currency && c && n(14, ae = !1));
5506
+ }).catch((w) => {
5507
+ Ae({
5508
+ type: Ce.error,
5509
+ message: R("generalError"),
5510
+ source: z.CheckWalletExchangeError
5511
+ }), console.error("There was a problem with the wallet exchange request.", w);
5173
5512
  });
5174
- }).catch((h) => {
5175
- K(h);
5513
+ }).catch((p) => {
5514
+ J(p);
5176
5515
  });
5177
- }, 500), It = (h) => {
5178
- const y = h.target.value;
5179
- if (y.length <= _a) {
5180
- const [P, v] = y.split(".");
5181
- v && v.length >= g?.precision && n(8, D = parseFloat(P + "." + v.slice(0, g?.precision)));
5516
+ }, 500), Rt = (p) => {
5517
+ const _ = p.target.value;
5518
+ if (_.length <= Ba) {
5519
+ const [N, w] = _.split(".");
5520
+ w && w.length >= b?.precision && n(8, E = parseFloat(N + "." + w.slice(0, b?.precision)));
5182
5521
  }
5183
5522
  V();
5184
- }, ct = (h) => {
5185
- const y = h.data;
5186
- [">", "<", ","].includes(y) && h.preventDefault(), y && !y.match(/[\d.]/) && h.preventDefault(), y === "." && h.target.value.includes(".") && h.preventDefault();
5187
- }, ht = () => {
5188
- const h = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5523
+ }, ht = (p) => {
5524
+ const _ = p.data;
5525
+ [">", "<", ","].includes(_) && p.preventDefault(), _ && !_.match(/[\d.]/) && p.preventDefault(), _ === "." && p.target.value.includes(".") && p.preventDefault();
5526
+ }, ft = () => {
5527
+ const p = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5189
5528
  n(18, Oe = !0);
5190
- const y = {
5529
+ const _ = {
5191
5530
  userId: i,
5192
- amount: D,
5193
- currency: g?.currency,
5194
- fromCurrency: g?.currency,
5195
- toCurrency: I?.currency,
5531
+ amount: E,
5532
+ currency: b?.currency,
5533
+ fromCurrency: b?.currency,
5534
+ toCurrency: L?.currency,
5196
5535
  payload: { PlayerCurrency: c }
5197
- }, P = {
5536
+ }, N = {
5198
5537
  method: "PUT",
5199
5538
  headers: {
5200
5539
  "X-SessionId": r,
5201
5540
  "Content-Type": "application/json",
5202
5541
  Accept: "application/json"
5203
5542
  },
5204
- body: Cn(y)
5543
+ body: Ln(_)
5205
5544
  };
5206
- fetch(h, P).then((v) => ge(v, X.WalletExchangeError)).then((v) => {
5207
- v && (ve({
5208
- type: we.success,
5209
- message: F("exchangeSuccess"),
5545
+ fetch(p, N).then((w) => ye(w, z.WalletExchangeError)).then((w) => {
5546
+ w && (Ae({
5547
+ type: Ce.success,
5548
+ message: R("exchangeSuccess"),
5210
5549
  source: "ExchangeSuccess"
5211
- }), et(!1));
5212
- }).catch((v) => {
5213
- ve({
5214
- type: we.error,
5215
- message: F("generalError"),
5216
- source: X.WalletExchangeError
5217
- }), console.error("There was an error with the wallet exchange request.", v);
5550
+ }), tt(!1));
5551
+ }).catch((w) => {
5552
+ Ae({
5553
+ type: Ce.error,
5554
+ message: R("generalError"),
5555
+ source: z.WalletExchangeError
5556
+ }), console.error("There was an error with the wallet exchange request.", w);
5218
5557
  }).finally(() => {
5219
- n(18, Oe = !1), pe(), He();
5558
+ n(18, Oe = !1), ge(), Pe();
5220
5559
  });
5221
- }, oe = (h) => {
5222
- const { data: { type: y } = {} } = h || {};
5223
- switch (y) {
5224
- case An.ResetVaultWidget:
5225
- te();
5560
+ }, ue = (p) => {
5561
+ const { data: { type: _ } = {} } = p || {};
5562
+ switch (_) {
5563
+ case Pn.ResetVaultWidget:
5564
+ ne();
5226
5565
  break;
5227
- case An.CloseVaultWidget:
5228
- Je();
5566
+ case Pn.CloseVaultWidget:
5567
+ qe();
5229
5568
  break;
5230
5569
  }
5231
5570
  };
5232
- br(() => (window.addEventListener("message", oe), () => {
5233
- window.removeEventListener("message", oe);
5571
+ Br(() => (window.addEventListener("message", ue), () => {
5572
+ window.removeEventListener("message", ue);
5234
5573
  }));
5235
- function ft() {
5236
- D = vt(this.value), n(8, D);
5574
+ function dt() {
5575
+ E = wt(this.value), n(8, E);
5237
5576
  }
5238
- function Nt(h) {
5239
- g = h, n(5, g);
5577
+ function kt(p) {
5578
+ b = p, n(5, b);
5240
5579
  }
5241
- function dt() {
5242
- N = vt(this.value), n(9, N);
5580
+ function pt() {
5581
+ O = wt(this.value), n(9, O);
5243
5582
  }
5244
- function pt(h) {
5245
- I = h, n(6, I);
5583
+ function mt(p) {
5584
+ L = p, n(6, L);
5246
5585
  }
5247
- function he(h) {
5248
- it[h ? "unshift" : "push"](() => {
5249
- ce = h, n(7, ce);
5586
+ function pe(p) {
5587
+ Ge[p ? "unshift" : "push"](() => {
5588
+ de = p, n(7, de);
5250
5589
  });
5251
5590
  }
5252
- return e.$$set = (h) => {
5253
- "session" in h && n(0, r = h.session), "userid" in h && n(30, i = h.userid), "endpoint" in h && n(31, a = h.endpoint), "lang" in h && n(32, l = h.lang), "clientstyling" in h && n(33, u = h.clientstyling), "clientstylingurl" in h && n(34, o = h.clientstylingurl), "translationurl" in h && n(35, s = h.translationurl), "playercurrency" in h && n(36, c = h.playercurrency), "showvaults" in h && n(1, d = h.showvaults), "showtotalbalance" in h && n(2, f = h.showtotalbalance), "showclosebutton" in h && n(3, m = h.showclosebutton), "showcurrencysymbol" in h && n(4, _ = h.showcurrencysymbol);
5591
+ return e.$$set = (p) => {
5592
+ "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, u = p.clientstyling), "clientstylingurl" in p && n(34, s = p.clientstylingurl), "translationurl" in p && n(35, l = 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, d = p.showclosebutton), "showcurrencysymbol" in p && n(4, v = p.showcurrencysymbol);
5254
5593
  }, e.$$.update = () => {
5255
5594
  e.$$.dirty[1] & /*lang*/
5256
- 2 && l && Ye(), e.$$.dirty[0] & /*session, userid*/
5595
+ 2 && o && Je(), e.$$.dirty[0] & /*session, userid*/
5257
5596
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5258
- 33 && r && i && a && c && et(), e.$$.dirty[0] & /*customStylingContainer*/
5597
+ 33 && r && i && a && c && tt(), e.$$.dirty[0] & /*customStylingContainer*/
5259
5598
  128 | e.$$.dirty[1] & /*clientstyling*/
5260
- 4 && u && ce && Re(), e.$$.dirty[0] & /*customStylingContainer*/
5599
+ 4 && u && de && Re(), e.$$.dirty[0] & /*customStylingContainer*/
5261
5600
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5262
- 8 && o && ce && lt(), e.$$.dirty[1] & /*translationurl*/
5263
- 16 && s && Ee(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5601
+ 8 && s && de && ut(), e.$$.dirty[1] & /*translationurl*/
5602
+ 16 && l && xe(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5264
5603
  64 | e.$$.dirty[1] & /*filteredBalances*/
5265
- 64 && n(21, W = ue.filter((h) => h?.amount > 0 && h?.currency !== I?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5604
+ 64 && n(21, Z = fe.filter((p) => p?.amount > 0 && p?.currency !== L?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5266
5605
  32 | e.$$.dirty[1] & /*filteredBalances*/
5267
- 64 && n(22, Q = ue.filter((h) => g?.currency !== h?.currency));
5606
+ 64 && n(22, Y = fe.filter((p) => b?.currency !== p?.currency));
5268
5607
  }, [
5269
5608
  r,
5270
- d,
5271
5609
  f,
5272
- m,
5273
- _,
5274
- g,
5610
+ h,
5611
+ d,
5612
+ v,
5613
+ b,
5614
+ L,
5615
+ de,
5616
+ E,
5617
+ O,
5275
5618
  I,
5276
- ce,
5277
- D,
5278
- N,
5279
- C,
5280
- ne,
5281
- k,
5282
- ee,
5283
- re,
5284
5619
  ie,
5285
- j,
5286
- le,
5287
- Oe,
5288
- ae,
5289
- ye,
5290
- W,
5291
- Q,
5292
- Me,
5293
- Je,
5620
+ F,
5294
5621
  te,
5622
+ ae,
5623
+ se,
5624
+ X,
5625
+ he,
5626
+ Oe,
5627
+ le,
5628
+ Ee,
5629
+ Z,
5630
+ Y,
5631
+ ke,
5632
+ qe,
5633
+ ne,
5295
5634
  V,
5296
- It,
5297
- ct,
5635
+ Rt,
5298
5636
  ht,
5637
+ ft,
5299
5638
  i,
5300
5639
  a,
5301
- l,
5302
- u,
5303
5640
  o,
5641
+ u,
5304
5642
  s,
5643
+ l,
5305
5644
  c,
5306
- ue,
5307
- ft,
5308
- Nt,
5645
+ fe,
5309
5646
  dt,
5647
+ kt,
5310
5648
  pt,
5311
- he
5649
+ mt,
5650
+ pe
5312
5651
  ];
5313
5652
  }
5314
- class Fa extends Tr {
5653
+ class qa extends ln {
5315
5654
  constructor(t) {
5316
- super(), wr(
5655
+ super(), on(
5317
5656
  this,
5318
5657
  t,
5319
- ka,
5320
- Da,
5321
- On,
5658
+ Ja,
5659
+ Ya,
5660
+ St,
5322
5661
  {
5323
5662
  session: 0,
5324
5663
  userid: 30,
@@ -5333,7 +5672,7 @@ class Fa extends Tr {
5333
5672
  showclosebutton: 3,
5334
5673
  showcurrencysymbol: 4
5335
5674
  },
5336
- xa,
5675
+ ka,
5337
5676
  [-1, -1, -1]
5338
5677
  );
5339
5678
  }
@@ -5341,103 +5680,76 @@ class Fa extends Tr {
5341
5680
  return this.$$.ctx[0];
5342
5681
  }
5343
5682
  set session(t) {
5344
- this.$$set({ session: t }), J();
5683
+ this.$$set({ session: t }), j();
5345
5684
  }
5346
5685
  get userid() {
5347
5686
  return this.$$.ctx[30];
5348
5687
  }
5349
5688
  set userid(t) {
5350
- this.$$set({ userid: t }), J();
5689
+ this.$$set({ userid: t }), j();
5351
5690
  }
5352
5691
  get endpoint() {
5353
5692
  return this.$$.ctx[31];
5354
5693
  }
5355
5694
  set endpoint(t) {
5356
- this.$$set({ endpoint: t }), J();
5695
+ this.$$set({ endpoint: t }), j();
5357
5696
  }
5358
5697
  get lang() {
5359
5698
  return this.$$.ctx[32];
5360
5699
  }
5361
5700
  set lang(t) {
5362
- this.$$set({ lang: t }), J();
5701
+ this.$$set({ lang: t }), j();
5363
5702
  }
5364
5703
  get clientstyling() {
5365
5704
  return this.$$.ctx[33];
5366
5705
  }
5367
5706
  set clientstyling(t) {
5368
- this.$$set({ clientstyling: t }), J();
5707
+ this.$$set({ clientstyling: t }), j();
5369
5708
  }
5370
5709
  get clientstylingurl() {
5371
5710
  return this.$$.ctx[34];
5372
5711
  }
5373
5712
  set clientstylingurl(t) {
5374
- this.$$set({ clientstylingurl: t }), J();
5713
+ this.$$set({ clientstylingurl: t }), j();
5375
5714
  }
5376
5715
  get translationurl() {
5377
5716
  return this.$$.ctx[35];
5378
5717
  }
5379
5718
  set translationurl(t) {
5380
- this.$$set({ translationurl: t }), J();
5719
+ this.$$set({ translationurl: t }), j();
5381
5720
  }
5382
5721
  get playercurrency() {
5383
5722
  return this.$$.ctx[36];
5384
5723
  }
5385
5724
  set playercurrency(t) {
5386
- this.$$set({ playercurrency: t }), J();
5725
+ this.$$set({ playercurrency: t }), j();
5387
5726
  }
5388
5727
  get showvaults() {
5389
5728
  return this.$$.ctx[1];
5390
5729
  }
5391
5730
  set showvaults(t) {
5392
- this.$$set({ showvaults: t }), J();
5731
+ this.$$set({ showvaults: t }), j();
5393
5732
  }
5394
5733
  get showtotalbalance() {
5395
5734
  return this.$$.ctx[2];
5396
5735
  }
5397
5736
  set showtotalbalance(t) {
5398
- this.$$set({ showtotalbalance: t }), J();
5737
+ this.$$set({ showtotalbalance: t }), j();
5399
5738
  }
5400
5739
  get showclosebutton() {
5401
5740
  return this.$$.ctx[3];
5402
5741
  }
5403
5742
  set showclosebutton(t) {
5404
- this.$$set({ showclosebutton: t }), J();
5743
+ this.$$set({ showclosebutton: t }), j();
5405
5744
  }
5406
5745
  get showcurrencysymbol() {
5407
5746
  return this.$$.ctx[4];
5408
5747
  }
5409
5748
  set showcurrencysymbol(t) {
5410
- this.$$set({ showcurrencysymbol: t }), J();
5749
+ this.$$set({ showcurrencysymbol: t }), j();
5411
5750
  }
5412
5751
  }
5413
- Ar(Fa, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: { type: "Boolean" }, showtotalbalance: { type: "Boolean" }, showclosebutton: { type: "Boolean" }, showcurrencysymbol: { type: "Boolean" } }, [], [], !0);
5752
+ sn(qa, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: { type: "Boolean" }, showtotalbalance: { type: "Boolean" }, showclosebutton: { type: "Boolean" }, showcurrencysymbol: { type: "Boolean" } }, [], [], !0);
5414
5753
  export {
5415
- ja as K,
5416
- Fa as P,
5417
- Tr as S,
5418
- cr as a,
5419
- S as b,
5420
- Ar as c,
5421
- B as d,
5422
- x as e,
5423
- L as f,
5424
- q as g,
5425
- b as h,
5426
- wr as i,
5427
- J as j,
5428
- de as k,
5429
- xe as l,
5430
- E as m,
5431
- H as n,
5432
- Ae as o,
5433
- $a as p,
5434
- Ga as q,
5435
- Ne as r,
5436
- On as s,
5437
- F as t,
5438
- Xa as u,
5439
- sn as v,
5440
- dr as w,
5441
- it as x,
5442
- Tt as y
5754
+ qa as P
5443
5755
  };