@everymatrix/player-account-vault 0.4.1 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,75 @@
1
- var Kn = Object.defineProperty, er = Object.defineProperties;
2
- var tr = Object.getOwnPropertyDescriptors;
3
- var Xt = Object.getOwnPropertySymbols;
4
- var nr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
- var Et = (e, t, n) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Wt = (e, t) => {
6
- for (var n in t || (t = {}))
7
- nr.call(t, n) && Et(e, n, t[n]);
8
- if (Xt)
9
- for (var n of Xt(t))
10
- rr.call(t, n) && Et(e, n, t[n]);
1
+ var en = Object.defineProperty, tn = Object.defineProperties;
2
+ var rn = Object.getOwnPropertyDescriptors;
3
+ var Zt = Object.getOwnPropertySymbols;
4
+ var nn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
5
+ var wt = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ nn.call(t, r) && wt(e, r, t[r]);
8
+ if (Zt)
9
+ for (var r of Zt(t))
10
+ an.call(t, r) && wt(e, r, t[r]);
11
11
  return e;
12
- }, Zt = (e, t) => er(e, tr(t));
13
- var ee = (e, t, n) => (Et(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var _t = (e, t, n) => new Promise((r, i) => {
12
+ }, Jt = (e, t) => tn(e, rn(t));
13
+ var ee = (e, t, r) => (wt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Tt = (e, t, r) => new Promise((n, i) => {
15
15
  var a = (c) => {
16
16
  try {
17
- s(n.next(c));
17
+ s(r.next(c));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
21
  }, o = (c) => {
22
22
  try {
23
- s(n.throw(c));
23
+ s(r.throw(c));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, s = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(a, o);
28
- s((n = n.apply(e, t)).next());
27
+ }, s = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(a, o);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function oe() {
31
31
  }
32
- function Tn(e) {
32
+ function Hr(e) {
33
33
  return e();
34
34
  }
35
- function qt() {
35
+ function Qt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function we(e) {
39
- e.forEach(Tn);
38
+ function Te(e) {
39
+ e.forEach(Hr);
40
40
  }
41
- function $t(e) {
41
+ function jt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Hn(e, t) {
44
+ function Ar(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function ir(e) {
47
+ function on(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function An(e, ...t) {
50
+ function Br(e, ...t) {
51
51
  if (e == null) {
52
- for (const r of t)
53
- r(void 0);
52
+ for (const n of t)
53
+ n(void 0);
54
54
  return oe;
55
55
  }
56
- const n = e.subscribe(...t);
57
- return n.unsubscribe ? () => n.unsubscribe() : n;
56
+ const r = e.subscribe(...t);
57
+ return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function ar(e, t, n) {
60
- e.$$.on_destroy.push(An(t, n));
59
+ function sn(e, t, r) {
60
+ e.$$.on_destroy.push(Br(t, r));
61
61
  }
62
62
  function m(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function or(e, t, n) {
66
- const r = sr(e);
67
- if (!r.getElementById(t)) {
65
+ function un(e, t, r) {
66
+ const n = ln(e);
67
+ if (!n.getElementById(t)) {
68
68
  const i = E("style");
69
- i.id = t, i.textContent = n, ur(r, i);
69
+ i.id = t, i.textContent = r, cn(n, i);
70
70
  }
71
71
  }
72
- function sr(e) {
72
+ function ln(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,27 +79,27 @@ function sr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function ur(e, t) {
82
+ function cn(e, t) {
83
83
  return m(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function Q(e, t, n) {
90
- e.insertBefore(t, n || null);
89
+ function Q(e, t, r) {
90
+ e.insertBefore(t, r || null);
91
91
  }
92
92
  function Z(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function wt(e, t) {
96
- for (let n = 0; n < e.length; n += 1)
97
- e[n] && e[n].d(t);
95
+ function Ht(e, t) {
96
+ for (let r = 0; r < e.length; r += 1)
97
+ e[r] && e[r].d(t);
98
98
  }
99
99
  function E(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function Jt(e) {
102
+ function Yt(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function j(e) {
@@ -108,133 +108,133 @@ function j(e) {
108
108
  function R() {
109
109
  return j(" ");
110
110
  }
111
- function Bn() {
111
+ function Sr() {
112
112
  return j("");
113
113
  }
114
- function te(e, t, n, r) {
115
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
114
+ function te(e, t, r, n) {
115
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
116
  }
117
- function H(e, t, n) {
118
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
117
+ function H(e, t, r) {
118
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function ft(e) {
120
+ function pt(e) {
121
121
  return e === "" ? null : +e;
122
122
  }
123
- function lr(e) {
123
+ function hn(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function W(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function xe(e, t) {
130
+ function Ee(e, t) {
131
131
  e.value = t == null ? "" : t;
132
132
  }
133
- function Qt(e, t, n, r) {
134
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
133
+ function Kt(e, t, r, n) {
134
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
135
135
  }
136
- function st(e, t, n) {
137
- for (let r = 0; r < e.options.length; r += 1) {
138
- const i = e.options[r];
136
+ function ut(e, t, r) {
137
+ for (let n = 0; n < e.options.length; n += 1) {
138
+ const i = e.options[n];
139
139
  if (i.__value === t) {
140
140
  i.selected = !0;
141
141
  return;
142
142
  }
143
143
  }
144
- (!n || t !== void 0) && (e.selectedIndex = -1);
144
+ (!r || t !== void 0) && (e.selectedIndex = -1);
145
145
  }
146
- function Yt(e) {
146
+ function er(e) {
147
147
  const t = e.querySelector(":checked");
148
148
  return t && t.__value;
149
149
  }
150
- function k(e, t, n) {
151
- e.classList.toggle(t, !!n);
150
+ function k(e, t, r) {
151
+ e.classList.toggle(t, !!r);
152
152
  }
153
- function cr(e) {
153
+ function fn(e) {
154
154
  const t = {};
155
155
  return e.childNodes.forEach(
156
156
  /** @param {Element} node */
157
- (n) => {
158
- t[n.slot || "default"] = !0;
157
+ (r) => {
158
+ t[r.slot || "default"] = !0;
159
159
  }
160
160
  ), t;
161
161
  }
162
- let kt;
163
- function Ke(e) {
164
- kt = e;
162
+ let Vt;
163
+ function et(e) {
164
+ Vt = e;
165
165
  }
166
- const De = [], pt = [];
167
- let Ue = [];
168
- const Kt = [], hr = /* @__PURE__ */ Promise.resolve();
169
- let It = !1;
170
- function fr() {
171
- It || (It = !0, hr.then(ce));
166
+ const Ue = [], mt = [];
167
+ let Fe = [];
168
+ const tr = [], pn = /* @__PURE__ */ Promise.resolve();
169
+ let Ot = !1;
170
+ function mn() {
171
+ Ot || (Ot = !0, pn.then(ce));
172
172
  }
173
- function et(e) {
174
- Ue.push(e);
173
+ function tt(e) {
174
+ Fe.push(e);
175
175
  }
176
- const Tt = /* @__PURE__ */ new Set();
177
- let Le = 0;
176
+ const At = /* @__PURE__ */ new Set();
177
+ let Me = 0;
178
178
  function ce() {
179
- if (Le !== 0)
179
+ if (Me !== 0)
180
180
  return;
181
- const e = kt;
181
+ const e = Vt;
182
182
  do {
183
183
  try {
184
- for (; Le < De.length; ) {
185
- const t = De[Le];
186
- Le++, Ke(t), pr(t.$$);
184
+ for (; Me < Ue.length; ) {
185
+ const t = Ue[Me];
186
+ Me++, et(t), dn(t.$$);
187
187
  }
188
188
  } catch (t) {
189
- throw De.length = 0, Le = 0, t;
189
+ throw Ue.length = 0, Me = 0, t;
190
190
  }
191
- for (Ke(null), De.length = 0, Le = 0; pt.length; )
192
- pt.pop()();
193
- for (let t = 0; t < Ue.length; t += 1) {
194
- const n = Ue[t];
195
- Tt.has(n) || (Tt.add(n), n());
191
+ for (et(null), Ue.length = 0, Me = 0; mt.length; )
192
+ mt.pop()();
193
+ for (let t = 0; t < Fe.length; t += 1) {
194
+ const r = Fe[t];
195
+ At.has(r) || (At.add(r), r());
196
196
  }
197
- Ue.length = 0;
198
- } while (De.length);
199
- for (; Kt.length; )
200
- Kt.pop()();
201
- It = !1, Tt.clear(), Ke(e);
197
+ Fe.length = 0;
198
+ } while (Ue.length);
199
+ for (; tr.length; )
200
+ tr.pop()();
201
+ Ot = !1, At.clear(), et(e);
202
202
  }
203
- function pr(e) {
203
+ function dn(e) {
204
204
  if (e.fragment !== null) {
205
- e.update(), we(e.before_update);
205
+ e.update(), Te(e.before_update);
206
206
  const t = e.dirty;
207
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
207
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
208
208
  }
209
209
  }
210
- function mr(e) {
211
- const t = [], n = [];
212
- Ue.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ue = t;
210
+ function gn(e) {
211
+ const t = [], r = [];
212
+ Fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Fe = t;
213
213
  }
214
- const dr = /* @__PURE__ */ new Set();
215
- function gr(e, t) {
216
- e && e.i && (dr.delete(e), e.i(t));
214
+ const bn = /* @__PURE__ */ new Set();
215
+ function yn(e, t) {
216
+ e && e.i && (bn.delete(e), e.i(t));
217
217
  }
218
- function Me(e) {
218
+ function Re(e) {
219
219
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
220
220
  }
221
- function br(e, t, n) {
222
- const { fragment: r, after_update: i } = e.$$;
223
- r && r.m(t, n), et(() => {
224
- const a = e.$$.on_mount.map(Tn).filter($t);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : we(a), e.$$.on_mount = [];
226
- }), i.forEach(et);
221
+ function vn(e, t, r) {
222
+ const { fragment: n, after_update: i } = e.$$;
223
+ n && n.m(t, r), tt(() => {
224
+ const a = e.$$.on_mount.map(Hr).filter(jt);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Te(a), e.$$.on_mount = [];
226
+ }), i.forEach(tt);
227
227
  }
228
- function yr(e, t) {
229
- const n = e.$$;
230
- n.fragment !== null && (mr(n.after_update), we(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
228
+ function xn(e, t) {
229
+ const r = e.$$;
230
+ r.fragment !== null && (gn(r.after_update), Te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function vr(e, t) {
233
- e.$$.dirty[0] === -1 && (De.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function En(e, t) {
233
+ e.$$.dirty[0] === -1 && (Ue.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function xr(e, t, n, r, i, a, o = null, s = [-1]) {
236
- const c = kt;
237
- Ke(e);
235
+ function _n(e, t, r, n, i, a, o = null, s = [-1]) {
236
+ const c = Vt;
237
+ et(e);
238
238
  const l = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
@@ -242,7 +242,7 @@ function xr(e, t, n, r, i, a, o = null, s = [-1]) {
242
242
  props: a,
243
243
  update: oe,
244
244
  not_equal: i,
245
- bound: qt(),
245
+ bound: Qt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,29 +251,29 @@ function xr(e, t, n, r, i, a, o = null, s = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (c ? c.$$.context : [])),
253
253
  // everything else
254
- callbacks: qt(),
254
+ callbacks: Qt(),
255
255
  dirty: s,
256
256
  skip_bound: !1,
257
257
  root: t.target || c.$$.root
258
258
  };
259
259
  o && o(l.root);
260
260
  let u = !1;
261
- if (l.ctx = n ? n(e, t.props || {}, (h, d, ...b) => {
261
+ if (l.ctx = r ? r(e, t.props || {}, (h, d, ...b) => {
262
262
  const v = b.length ? b[0] : d;
263
- return l.ctx && i(l.ctx[h], l.ctx[h] = v) && (!l.skip_bound && l.bound[h] && l.bound[h](v), u && vr(e, h)), d;
264
- }) : [], l.update(), u = !0, we(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
263
+ return l.ctx && i(l.ctx[h], l.ctx[h] = v) && (!l.skip_bound && l.bound[h] && l.bound[h](v), u && En(e, h)), d;
264
+ }) : [], l.update(), u = !0, Te(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const h = lr(t.target);
266
+ const h = hn(t.target);
267
267
  l.fragment && l.fragment.l(h), h.forEach(Z);
268
268
  } else
269
269
  l.fragment && l.fragment.c();
270
- t.intro && gr(e.$$.fragment), br(e, t.target, t.anchor), ce();
270
+ t.intro && yn(e.$$.fragment), vn(e, t.target, t.anchor), ce();
271
271
  }
272
- Ke(c);
272
+ et(c);
273
273
  }
274
- let Sn;
275
- typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
276
- constructor(t, n, r) {
274
+ let Cr;
275
+ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
276
+ constructor(t, r, n) {
277
277
  super();
278
278
  /** The Svelte component constructor */
279
279
  ee(this, "$$ctor");
@@ -293,23 +293,23 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
293
293
  ee(this, "$$l", {});
294
294
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
295
295
  ee(this, "$$l_u", /* @__PURE__ */ new Map());
296
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
296
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
297
297
  }
298
- addEventListener(t, n, r) {
299
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
300
- const i = this.$$c.$on(t, n);
301
- this.$$l_u.set(n, i);
298
+ addEventListener(t, r, n) {
299
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
300
+ const i = this.$$c.$on(t, r);
301
+ this.$$l_u.set(r, i);
302
302
  }
303
- super.addEventListener(t, n, r);
303
+ super.addEventListener(t, r, n);
304
304
  }
305
- removeEventListener(t, n, r) {
306
- if (super.removeEventListener(t, n, r), this.$$c) {
307
- const i = this.$$l_u.get(n);
308
- i && (i(), this.$$l_u.delete(n));
305
+ removeEventListener(t, r, n) {
306
+ if (super.removeEventListener(t, r, n), this.$$c) {
307
+ const i = this.$$l_u.get(r);
308
+ i && (i(), this.$$l_u.delete(r));
309
309
  }
310
310
  }
311
311
  connectedCallback() {
312
- return _t(this, null, function* () {
312
+ return Tt(this, null, function* () {
313
313
  if (this.$$cn = !0, !this.$$c) {
314
314
  let t = function(a) {
315
315
  return () => {
@@ -333,19 +333,19 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
333
333
  };
334
334
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
335
335
  return;
336
- const n = {}, r = cr(this);
336
+ const r = {}, n = fn(this);
337
337
  for (const a of this.$$s)
338
- a in r && (n[a] = [t(a)]);
338
+ a in n && (r[a] = [t(a)]);
339
339
  for (const a of this.attributes) {
340
340
  const o = this.$$g_p(a.name);
341
- o in this.$$d || (this.$$d[o] = lt(o, a.value, this.$$p_d, "toProp"));
341
+ o in this.$$d || (this.$$d[o] = ct(o, a.value, this.$$p_d, "toProp"));
342
342
  }
343
343
  for (const a in this.$$p_d)
344
344
  !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
345
345
  this.$$c = new this.$$ctor({
346
346
  target: this.shadowRoot || this,
347
- props: Zt(Wt({}, this.$$d), {
348
- $$slots: n,
347
+ props: Jt(qt({}, this.$$d), {
348
+ $$slots: r,
349
349
  $$scope: {
350
350
  ctx: []
351
351
  }
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
355
355
  this.$$r = !0;
356
356
  for (const a in this.$$p_d)
357
357
  if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
358
- const o = lt(
358
+ const o = ct(
359
359
  a,
360
360
  this.$$d[a],
361
361
  this.$$p_d,
@@ -377,9 +377,9 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
377
377
  }
378
378
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
379
379
  // and setting attributes through setAttribute etc, this is helpful
380
- attributeChangedCallback(t, n, r) {
380
+ attributeChangedCallback(t, r, n) {
381
381
  var i;
382
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = lt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
382
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ct(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
383
383
  }
384
384
  disconnectedCallback() {
385
385
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -388,16 +388,16 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
388
388
  }
389
389
  $$g_p(t) {
390
390
  return Object.keys(this.$$p_d).find(
391
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
391
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
392
392
  ) || t;
393
393
  }
394
394
  });
395
- function lt(e, t, n, r) {
395
+ function ct(e, t, r, n) {
396
396
  var a;
397
- const i = (a = n[e]) == null ? void 0 : a.type;
398
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
397
+ const i = (a = r[e]) == null ? void 0 : a.type;
398
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
399
399
  return t;
400
- if (r === "toAttribute")
400
+ if (n === "toAttribute")
401
401
  switch (i) {
402
402
  case "Object":
403
403
  case "Array":
@@ -422,10 +422,10 @@ function lt(e, t, n, r) {
422
422
  return t;
423
423
  }
424
424
  }
425
- function Er(e, t, n, r, i, a) {
426
- let o = class extends Sn {
425
+ function wn(e, t, r, n, i, a) {
426
+ let o = class extends Cr {
427
427
  constructor() {
428
- super(e, n, i), this.$$p_d = t;
428
+ super(e, r, i), this.$$p_d = t;
429
429
  }
430
430
  static get observedAttributes() {
431
431
  return Object.keys(t).map(
@@ -440,10 +440,10 @@ function Er(e, t, n, r, i, a) {
440
440
  },
441
441
  set(c) {
442
442
  var l;
443
- c = lt(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
443
+ c = ct(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
444
444
  }
445
445
  });
446
- }), r.forEach((s) => {
446
+ }), n.forEach((s) => {
447
447
  Object.defineProperty(o.prototype, s, {
448
448
  get() {
449
449
  var c;
@@ -453,7 +453,7 @@ function Er(e, t, n, r, i, a) {
453
453
  }), e.element = /** @type {any} */
454
454
  o, o;
455
455
  }
456
- class _r {
456
+ class Tn {
457
457
  constructor() {
458
458
  /**
459
459
  * ### PRIVATE API
@@ -474,7 +474,7 @@ class _r {
474
474
  }
475
475
  /** @returns {void} */
476
476
  $destroy() {
477
- yr(this, 1), this.$destroy = oe;
477
+ xn(this, 1), this.$destroy = oe;
478
478
  }
479
479
  /**
480
480
  * @template {Extract<keyof Events, string>} K
@@ -482,13 +482,13 @@ class _r {
482
482
  * @param {((e: Events[K]) => void) | null | undefined} callback
483
483
  * @returns {() => void}
484
484
  */
485
- $on(t, n) {
486
- if (!$t(n))
485
+ $on(t, r) {
486
+ if (!jt(r))
487
487
  return oe;
488
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
489
- return r.push(n), () => {
490
- const i = r.indexOf(n);
491
- i !== -1 && r.splice(i, 1);
488
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
489
+ return n.push(r), () => {
490
+ const i = n.indexOf(r);
491
+ i !== -1 && n.splice(i, 1);
492
492
  };
493
493
  }
494
494
  /**
@@ -496,29 +496,29 @@ class _r {
496
496
  * @returns {void}
497
497
  */
498
498
  $set(t) {
499
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
499
+ this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
500
500
  }
501
501
  }
502
- const wr = "4";
503
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
504
- const Re = [];
505
- function Tr(e, t) {
502
+ const Hn = "4";
503
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
504
+ const De = [];
505
+ function An(e, t) {
506
506
  return {
507
- subscribe: gt(e, t).subscribe
507
+ subscribe: yt(e, t).subscribe
508
508
  };
509
509
  }
510
- function gt(e, t = oe) {
511
- let n;
512
- const r = /* @__PURE__ */ new Set();
510
+ function yt(e, t = oe) {
511
+ let r;
512
+ const n = /* @__PURE__ */ new Set();
513
513
  function i(s) {
514
- if (Hn(e, s) && (e = s, n)) {
515
- const c = !Re.length;
516
- for (const l of r)
517
- l[1](), Re.push(l, e);
514
+ if (Ar(e, s) && (e = s, r)) {
515
+ const c = !De.length;
516
+ for (const l of n)
517
+ l[1](), De.push(l, e);
518
518
  if (c) {
519
- for (let l = 0; l < Re.length; l += 2)
520
- Re[l][0](Re[l + 1]);
521
- Re.length = 0;
519
+ for (let l = 0; l < De.length; l += 2)
520
+ De[l][0](De[l + 1]);
521
+ De.length = 0;
522
522
  }
523
523
  }
524
524
  }
@@ -527,18 +527,18 @@ function gt(e, t = oe) {
527
527
  }
528
528
  function o(s, c = oe) {
529
529
  const l = [s, c];
530
- return r.add(l), r.size === 1 && (n = t(i, a) || oe), s(e), () => {
531
- r.delete(l), r.size === 0 && n && (n(), n = null);
530
+ return n.add(l), n.size === 1 && (r = t(i, a) || oe), s(e), () => {
531
+ n.delete(l), n.size === 0 && r && (r(), r = null);
532
532
  };
533
533
  }
534
534
  return { set: i, update: a, subscribe: o };
535
535
  }
536
- function je(e, t, n) {
537
- const r = !Array.isArray(e), i = r ? [e] : e;
536
+ function Ve(e, t, r) {
537
+ const n = !Array.isArray(e), i = n ? [e] : e;
538
538
  if (!i.every(Boolean))
539
539
  throw new Error("derived() expects stores as input, got a falsy value");
540
540
  const a = t.length < 2;
541
- return Tr(n, (o, s) => {
541
+ return An(r, (o, s) => {
542
542
  let c = !1;
543
543
  const l = [];
544
544
  let u = 0, h = oe;
@@ -546,185 +546,171 @@ function je(e, t, n) {
546
546
  if (u)
547
547
  return;
548
548
  h();
549
- const v = t(r ? l[0] : l, o, s);
550
- a ? o(v) : h = $t(v) ? v : oe;
549
+ const v = t(n ? l[0] : l, o, s);
550
+ a ? o(v) : h = jt(v) ? v : oe;
551
551
  }, b = i.map(
552
- (v, I) => An(
552
+ (v, P) => Br(
553
553
  v,
554
554
  (F) => {
555
- l[I] = F, u &= ~(1 << I), c && d();
555
+ l[P] = F, u &= ~(1 << P), c && d();
556
556
  },
557
557
  () => {
558
- u |= 1 << I;
558
+ u |= 1 << P;
559
559
  }
560
560
  )
561
561
  );
562
562
  return c = !0, d(), function() {
563
- we(b), h(), c = !1;
563
+ Te(b), h(), c = !1;
564
564
  };
565
565
  });
566
566
  }
567
- function Hr(e) {
567
+ function Bn(e) {
568
568
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
569
569
  }
570
- var Ar = function(t) {
571
- return Br(t) && !Sr(t);
570
+ var Sn = function(t) {
571
+ return Cn(t) && !Pn(t);
572
572
  };
573
- function Br(e) {
573
+ function Cn(e) {
574
574
  return !!e && typeof e == "object";
575
575
  }
576
- function Sr(e) {
576
+ function Pn(e) {
577
577
  var t = Object.prototype.toString.call(e);
578
- return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
578
+ return t === "[object RegExp]" || t === "[object Date]" || On(e);
579
579
  }
580
- var Cr = typeof Symbol == "function" && Symbol.for, Pr = Cr ? Symbol.for("react.element") : 60103;
581
- function Ir(e) {
582
- return e.$$typeof === Pr;
580
+ var In = typeof Symbol == "function" && Symbol.for, Nn = In ? Symbol.for("react.element") : 60103;
581
+ function On(e) {
582
+ return e.$$typeof === Nn;
583
583
  }
584
- function Nr(e) {
584
+ function Ln(e) {
585
585
  return Array.isArray(e) ? [] : {};
586
586
  }
587
- function tt(e, t) {
588
- return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Nr(e), e, t) : e;
587
+ function rt(e, t) {
588
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ge(Ln(e), e, t) : e;
589
589
  }
590
- function Or(e, t, n) {
591
- return e.concat(t).map(function(r) {
592
- return tt(r, n);
590
+ function Mn(e, t, r) {
591
+ return e.concat(t).map(function(n) {
592
+ return rt(n, r);
593
593
  });
594
594
  }
595
- function Lr(e, t) {
595
+ function Rn(e, t) {
596
596
  if (!t.customMerge)
597
- return Fe;
598
- var n = t.customMerge(e);
599
- return typeof n == "function" ? n : Fe;
597
+ return Ge;
598
+ var r = t.customMerge(e);
599
+ return typeof r == "function" ? r : Ge;
600
600
  }
601
- function Mr(e) {
601
+ function Dn(e) {
602
602
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
603
603
  return Object.propertyIsEnumerable.call(e, t);
604
604
  }) : [];
605
605
  }
606
- function en(e) {
607
- return Object.keys(e).concat(Mr(e));
606
+ function rr(e) {
607
+ return Object.keys(e).concat(Dn(e));
608
608
  }
609
- function Cn(e, t) {
609
+ function Pr(e, t) {
610
610
  try {
611
611
  return t in e;
612
- } catch (n) {
612
+ } catch (r) {
613
613
  return !1;
614
614
  }
615
615
  }
616
- function Rr(e, t) {
617
- return Cn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
616
+ function Un(e, t) {
617
+ return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
618
618
  }
619
- function Dr(e, t, n) {
620
- var r = {};
621
- return n.isMergeableObject(e) && en(e).forEach(function(i) {
622
- r[i] = tt(e[i], n);
623
- }), en(t).forEach(function(i) {
624
- Rr(e, i) || (Cn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Lr(i, n)(e[i], t[i], n) : r[i] = tt(t[i], n));
625
- }), r;
626
- }
627
- function Fe(e, t, n) {
628
- n = n || {}, n.arrayMerge = n.arrayMerge || Or, n.isMergeableObject = n.isMergeableObject || Ar, n.cloneUnlessOtherwiseSpecified = tt;
629
- var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
630
- return a ? r ? n.arrayMerge(e, t, n) : Dr(e, t, n) : tt(t, n);
631
- }
632
- Fe.all = function(t, n) {
619
+ function Fn(e, t, r) {
620
+ var n = {};
621
+ return r.isMergeableObject(e) && rr(e).forEach(function(i) {
622
+ n[i] = rt(e[i], r);
623
+ }), rr(t).forEach(function(i) {
624
+ Un(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = rt(t[i], r));
625
+ }), n;
626
+ }
627
+ function Ge(e, t, r) {
628
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = rt;
629
+ var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
630
+ return a ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : rt(t, r);
631
+ }
632
+ Ge.all = function(t, r) {
633
633
  if (!Array.isArray(t))
634
634
  throw new Error("first argument should be an array");
635
- return t.reduce(function(r, i) {
636
- return Fe(r, i, n);
635
+ return t.reduce(function(n, i) {
636
+ return Ge(n, i, r);
637
637
  }, {});
638
638
  };
639
- var Ur = Fe, Fr = Ur;
640
- const Gr = /* @__PURE__ */ Hr(Fr);
641
- /*! *****************************************************************************
642
- Copyright (c) Microsoft Corporation.
643
-
644
- Permission to use, copy, modify, and/or distribute this software for any
645
- purpose with or without fee is hereby granted.
646
-
647
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
648
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
649
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
650
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
651
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
652
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
653
- PERFORMANCE OF THIS SOFTWARE.
654
- ***************************************************************************** */
655
- var Nt = function(e, t) {
656
- return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
657
- n.__proto__ = r;
658
- } || function(n, r) {
659
- for (var i in r)
660
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
661
- }, Nt(e, t);
639
+ var Gn = Ge, $n = Gn;
640
+ const kn = /* @__PURE__ */ Bn($n);
641
+ var Lt = function(e, t) {
642
+ return Lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
643
+ r.__proto__ = n;
644
+ } || function(r, n) {
645
+ for (var i in n)
646
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
647
+ }, Lt(e, t);
662
648
  };
663
- function bt(e, t) {
649
+ function vt(e, t) {
664
650
  if (typeof t != "function" && t !== null)
665
651
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
666
- Nt(e, t);
667
- function n() {
652
+ Lt(e, t);
653
+ function r() {
668
654
  this.constructor = e;
669
655
  }
670
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
671
- }
672
- var B = function() {
673
- return B = Object.assign || function(t) {
674
- for (var n, r = 1, i = arguments.length; r < i; r++) {
675
- n = arguments[r];
676
- for (var a in n)
677
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
656
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
657
+ }
658
+ var he = function() {
659
+ return he = Object.assign || function(t) {
660
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
661
+ r = arguments[n];
662
+ for (var a in r)
663
+ Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
678
664
  }
679
665
  return t;
680
- }, B.apply(this, arguments);
666
+ }, he.apply(this, arguments);
681
667
  };
682
- function $r(e, t) {
683
- var n = {};
684
- for (var r in e)
685
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
668
+ function jn(e, t) {
669
+ var r = {};
670
+ for (var n in e)
671
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
686
672
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
687
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
688
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
689
- return n;
673
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
674
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
675
+ return r;
690
676
  }
691
- function Ht(e, t, n) {
692
- if (arguments.length === 2)
693
- for (var r = 0, i = t.length, a; r < i; r++)
694
- (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
695
- return e.concat(a || t);
677
+ function Bt(e, t, r) {
678
+ if (r || arguments.length === 2)
679
+ for (var n = 0, i = t.length, a; n < i; n++)
680
+ (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
681
+ return e.concat(a || Array.prototype.slice.call(t));
696
682
  }
697
- function At(e, t) {
698
- var n = t && t.cache ? t.cache : Zr, r = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : Vr;
683
+ function St(e, t) {
684
+ var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
699
685
  return i(e, {
700
- cache: n,
701
- serializer: r
686
+ cache: r,
687
+ serializer: n
702
688
  });
703
689
  }
704
- function kr(e) {
690
+ function Vn(e) {
705
691
  return e == null || typeof e == "number" || typeof e == "boolean";
706
692
  }
707
- function jr(e, t, n, r) {
708
- var i = kr(r) ? r : n(r), a = t.get(i);
709
- return typeof a == "undefined" && (a = e.call(this, r), t.set(i, a)), a;
693
+ function zn(e, t, r, n) {
694
+ var i = Vn(n) ? n : r(n), a = t.get(i);
695
+ return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
710
696
  }
711
- function Pn(e, t, n) {
712
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
713
- return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
697
+ function Ir(e, t, r) {
698
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
699
+ return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
714
700
  }
715
- function In(e, t, n, r, i) {
716
- return n.bind(t, e, r, i);
701
+ function Nr(e, t, r, n, i) {
702
+ return r.bind(t, e, n, i);
717
703
  }
718
- function Vr(e, t) {
719
- var n = e.length === 1 ? jr : Pn;
720
- return In(e, this, n, t.cache.create(), t.serializer);
704
+ function Xn(e, t) {
705
+ var r = e.length === 1 ? zn : Ir;
706
+ return Nr(e, this, r, t.cache.create(), t.serializer);
721
707
  }
722
- function zr(e, t) {
723
- return In(e, this, Pn, t.cache.create(), t.serializer);
708
+ function Wn(e, t) {
709
+ return Nr(e, this, Ir, t.cache.create(), t.serializer);
724
710
  }
725
- var Xr = function() {
711
+ var Zn = function() {
726
712
  return JSON.stringify(arguments);
727
- }, Wr = (
713
+ }, qn = (
728
714
  /** @class */
729
715
  function() {
730
716
  function e() {
@@ -732,72 +718,82 @@ var Xr = function() {
732
718
  }
733
719
  return e.prototype.get = function(t) {
734
720
  return this.cache[t];
735
- }, e.prototype.set = function(t, n) {
736
- this.cache[t] = n;
721
+ }, e.prototype.set = function(t, r) {
722
+ this.cache[t] = r;
737
723
  }, e;
738
724
  }()
739
- ), Zr = {
725
+ ), Jn = {
740
726
  create: function() {
741
- return new Wr();
727
+ return new qn();
742
728
  }
743
- }, Bt = {
744
- variadic: zr
745
- }, _;
729
+ }, Ct = {
730
+ variadic: Wn
731
+ }, dt = function() {
732
+ return dt = Object.assign || function(t) {
733
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
734
+ r = arguments[n];
735
+ for (var a in r)
736
+ Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
737
+ }
738
+ return t;
739
+ }, dt.apply(this, arguments);
740
+ };
741
+ var _;
746
742
  (function(e) {
747
743
  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";
748
744
  })(_ || (_ = {}));
749
- var C;
745
+ var S;
750
746
  (function(e) {
751
747
  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";
752
- })(C || (C = {}));
753
- var Ge;
748
+ })(S || (S = {}));
749
+ var $e;
754
750
  (function(e) {
755
751
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
756
- })(Ge || (Ge = {}));
757
- function tn(e) {
758
- return e.type === C.literal;
752
+ })($e || ($e = {}));
753
+ function nr(e) {
754
+ return e.type === S.literal;
759
755
  }
760
- function qr(e) {
761
- return e.type === C.argument;
756
+ function Qn(e) {
757
+ return e.type === S.argument;
762
758
  }
763
- function Nn(e) {
764
- return e.type === C.number;
759
+ function Or(e) {
760
+ return e.type === S.number;
765
761
  }
766
- function On(e) {
767
- return e.type === C.date;
762
+ function Lr(e) {
763
+ return e.type === S.date;
768
764
  }
769
- function Ln(e) {
770
- return e.type === C.time;
765
+ function Mr(e) {
766
+ return e.type === S.time;
771
767
  }
772
- function Mn(e) {
773
- return e.type === C.select;
768
+ function Rr(e) {
769
+ return e.type === S.select;
774
770
  }
775
- function Rn(e) {
776
- return e.type === C.plural;
771
+ function Dr(e) {
772
+ return e.type === S.plural;
777
773
  }
778
- function Jr(e) {
779
- return e.type === C.pound;
774
+ function Yn(e) {
775
+ return e.type === S.pound;
780
776
  }
781
- function Dn(e) {
782
- return e.type === C.tag;
777
+ function Ur(e) {
778
+ return e.type === S.tag;
783
779
  }
784
- function Un(e) {
785
- return !!(e && typeof e == "object" && e.type === Ge.number);
780
+ function Fr(e) {
781
+ return !!(e && typeof e == "object" && e.type === $e.number);
786
782
  }
787
- function Ot(e) {
788
- return !!(e && typeof e == "object" && e.type === Ge.dateTime);
783
+ function Mt(e) {
784
+ return !!(e && typeof e == "object" && e.type === $e.dateTime);
789
785
  }
790
- var Fn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
791
- function Yr(e) {
786
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
787
+ function ei(e) {
792
788
  var t = {};
793
- return e.replace(Qr, function(n) {
794
- var r = n.length;
795
- switch (n[0]) {
789
+ return e.replace(Kn, function(r) {
790
+ var n = r.length;
791
+ switch (r[0]) {
796
792
  case "G":
797
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
793
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
798
794
  break;
799
795
  case "y":
800
- t.year = r === 2 ? "2-digit" : "numeric";
796
+ t.year = n === 2 ? "2-digit" : "numeric";
801
797
  break;
802
798
  case "Y":
803
799
  case "u":
@@ -809,30 +805,30 @@ function Yr(e) {
809
805
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
810
806
  case "M":
811
807
  case "L":
812
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
808
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
813
809
  break;
814
810
  case "w":
815
811
  case "W":
816
812
  throw new RangeError("`w/W` (week) patterns are not supported");
817
813
  case "d":
818
- t.day = ["numeric", "2-digit"][r - 1];
814
+ t.day = ["numeric", "2-digit"][n - 1];
819
815
  break;
820
816
  case "D":
821
817
  case "F":
822
818
  case "g":
823
819
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
824
820
  case "E":
825
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
821
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
826
822
  break;
827
823
  case "e":
828
- if (r < 4)
824
+ if (n < 4)
829
825
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
830
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
826
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
831
827
  break;
832
828
  case "c":
833
- if (r < 4)
829
+ if (n < 4)
834
830
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
835
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
831
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
836
832
  break;
837
833
  case "a":
838
834
  t.hour12 = !0;
@@ -841,32 +837,32 @@ function Yr(e) {
841
837
  case "B":
842
838
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
843
839
  case "h":
844
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
840
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
845
841
  break;
846
842
  case "H":
847
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
843
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
848
844
  break;
849
845
  case "K":
850
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
846
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
851
847
  break;
852
848
  case "k":
853
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
849
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
854
850
  break;
855
851
  case "j":
856
852
  case "J":
857
853
  case "C":
858
854
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
859
855
  case "m":
860
- t.minute = ["numeric", "2-digit"][r - 1];
856
+ t.minute = ["numeric", "2-digit"][n - 1];
861
857
  break;
862
858
  case "s":
863
- t.second = ["numeric", "2-digit"][r - 1];
859
+ t.second = ["numeric", "2-digit"][n - 1];
864
860
  break;
865
861
  case "S":
866
862
  case "A":
867
863
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
868
864
  case "z":
869
- t.timeZoneName = r < 4 ? "short" : "long";
865
+ t.timeZoneName = n < 4 ? "short" : "long";
870
866
  break;
871
867
  case "Z":
872
868
  case "O":
@@ -879,14 +875,24 @@ function Yr(e) {
879
875
  return "";
880
876
  }), t;
881
877
  }
882
- var Kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
883
- function ei(e) {
878
+ var N = function() {
879
+ return N = Object.assign || function(t) {
880
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
881
+ r = arguments[n];
882
+ for (var a in r)
883
+ Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
884
+ }
885
+ return t;
886
+ }, N.apply(this, arguments);
887
+ };
888
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
889
+ function ri(e) {
884
890
  if (e.length === 0)
885
891
  throw new Error("Number skeleton cannot be empty");
886
- for (var t = e.split(Kr).filter(function(d) {
892
+ for (var t = e.split(ti).filter(function(d) {
887
893
  return d.length > 0;
888
- }), n = [], r = 0, i = t; r < i.length; r++) {
889
- var a = i[r], o = a.split("/");
894
+ }), r = [], n = 0, i = t; n < i.length; n++) {
895
+ var a = i[n], o = a.split("/");
890
896
  if (o.length === 0)
891
897
  throw new Error("Invalid number skeleton");
892
898
  for (var s = o[0], c = o.slice(1), l = 0, u = c; l < u.length; l++) {
@@ -894,21 +900,21 @@ function ei(e) {
894
900
  if (h.length === 0)
895
901
  throw new Error("Invalid number skeleton");
896
902
  }
897
- n.push({ stem: s, options: c });
903
+ r.push({ stem: s, options: c });
898
904
  }
899
- return n;
905
+ return r;
900
906
  }
901
- function ti(e) {
907
+ function ni(e) {
902
908
  return e.replace(/^(.*?)-/, "");
903
909
  }
904
- var nn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gn = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, $n = /^(0+)$/;
905
- function rn(e) {
910
+ var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
911
+ function ar(e) {
906
912
  var t = {};
907
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gn, function(n, r, i) {
908
- 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)), "";
913
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
914
+ return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
909
915
  }), t;
910
916
  }
911
- function kn(e) {
917
+ function jr(e) {
912
918
  switch (e) {
913
919
  case "sign-auto":
914
920
  return {
@@ -948,27 +954,27 @@ function kn(e) {
948
954
  };
949
955
  }
950
956
  }
951
- function ri(e) {
957
+ function ai(e) {
952
958
  var t;
953
959
  if (e[0] === "E" && e[1] === "E" ? (t = {
954
960
  notation: "engineering"
955
961
  }, e = e.slice(2)) : e[0] === "E" && (t = {
956
962
  notation: "scientific"
957
963
  }, e = e.slice(1)), t) {
958
- var n = e.slice(0, 2);
959
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$n.test(e))
964
+ var r = e.slice(0, 2);
965
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
960
966
  throw new Error("Malformed concise eng/scientific notation");
961
967
  t.minimumIntegerDigits = e.length;
962
968
  }
963
969
  return t;
964
970
  }
965
- function an(e) {
966
- var t = {}, n = kn(e);
967
- return n || t;
971
+ function or(e) {
972
+ var t = {}, r = jr(e);
973
+ return r || t;
968
974
  }
969
- function ii(e) {
970
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
971
- var i = r[n];
975
+ function oi(e) {
976
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
977
+ var i = n[r];
972
978
  switch (i.stem) {
973
979
  case "percent":
974
980
  case "%":
@@ -990,7 +996,7 @@ function ii(e) {
990
996
  continue;
991
997
  case "measure-unit":
992
998
  case "unit":
993
- t.style = "unit", t.unit = ti(i.options[0]);
999
+ t.style = "unit", t.unit = ni(i.options[0]);
994
1000
  continue;
995
1001
  case "compact-short":
996
1002
  case "K":
@@ -1001,13 +1007,13 @@ function ii(e) {
1001
1007
  t.notation = "compact", t.compactDisplay = "long";
1002
1008
  continue;
1003
1009
  case "scientific":
1004
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1005
- return B(B({}, c), an(l));
1010
+ t = N(N(N({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1011
+ return N(N({}, c), or(l));
1006
1012
  }, {}));
1007
1013
  continue;
1008
1014
  case "engineering":
1009
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1010
- return B(B({}, c), an(l));
1015
+ t = N(N(N({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1016
+ return N(N({}, c), or(l));
1011
1017
  }, {}));
1012
1018
  continue;
1013
1019
  case "notation-simple":
@@ -1052,7 +1058,7 @@ function ii(e) {
1052
1058
  case "integer-width":
1053
1059
  if (i.options.length > 1)
1054
1060
  throw new RangeError("integer-width stems only accept a single optional option");
1055
- i.options[0].replace(ni, function(c, l, u, h, d, b) {
1061
+ i.options[0].replace(ii, function(c, l, u, h, d, b) {
1056
1062
  if (l)
1057
1063
  t.minimumIntegerDigits = u.length;
1058
1064
  else {
@@ -1065,32 +1071,32 @@ function ii(e) {
1065
1071
  });
1066
1072
  continue;
1067
1073
  }
1068
- if ($n.test(i.stem)) {
1074
+ if (kr.test(i.stem)) {
1069
1075
  t.minimumIntegerDigits = i.stem.length;
1070
1076
  continue;
1071
1077
  }
1072
- if (nn.test(i.stem)) {
1078
+ if (ir.test(i.stem)) {
1073
1079
  if (i.options.length > 1)
1074
1080
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1075
- i.stem.replace(nn, function(c, l, u, h, d, b) {
1081
+ i.stem.replace(ir, function(c, l, u, h, d, b) {
1076
1082
  return u === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1077
1083
  });
1078
1084
  var a = i.options[0];
1079
- a === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = B(B({}, t), rn(a)));
1085
+ a === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = N(N({}, t), ar(a)));
1080
1086
  continue;
1081
1087
  }
1082
- if (Gn.test(i.stem)) {
1083
- t = B(B({}, t), rn(i.stem));
1088
+ if ($r.test(i.stem)) {
1089
+ t = N(N({}, t), ar(i.stem));
1084
1090
  continue;
1085
1091
  }
1086
- var o = kn(i.stem);
1087
- o && (t = B(B({}, t), o));
1088
- var s = ri(i.stem);
1089
- s && (t = B(B({}, t), s));
1092
+ var o = jr(i.stem);
1093
+ o && (t = N(N({}, t), o));
1094
+ var s = ai(i.stem);
1095
+ s && (t = N(N({}, t), s));
1090
1096
  }
1091
1097
  return t;
1092
1098
  }
1093
- var ut = {
1099
+ var lt = {
1094
1100
  "001": [
1095
1101
  "H",
1096
1102
  "h"
@@ -2505,23 +2511,23 @@ var ut = {
2505
2511
  "h"
2506
2512
  ]
2507
2513
  };
2508
- function ai(e, t) {
2509
- for (var n = "", r = 0; r < e.length; r++) {
2510
- var i = e.charAt(r);
2514
+ function si(e, t) {
2515
+ for (var r = "", n = 0; n < e.length; n++) {
2516
+ var i = e.charAt(n);
2511
2517
  if (i === "j") {
2512
- for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2513
- a++, r++;
2514
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = "a", l = oi(t);
2518
+ for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2519
+ a++, n++;
2520
+ var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = "a", l = ui(t);
2515
2521
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2516
- n += c;
2522
+ r += c;
2517
2523
  for (; o-- > 0; )
2518
- n = l + n;
2524
+ r = l + r;
2519
2525
  } else
2520
- i === "J" ? n += "H" : n += i;
2526
+ i === "J" ? r += "H" : r += i;
2521
2527
  }
2522
- return n;
2528
+ return r;
2523
2529
  }
2524
- function oi(e) {
2530
+ function ui(e) {
2525
2531
  var t = e.hourCycle;
2526
2532
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2527
2533
  e.hourCycles && // @ts-ignore
@@ -2538,73 +2544,73 @@ function oi(e) {
2538
2544
  default:
2539
2545
  throw new Error("Invalid hourCycle");
2540
2546
  }
2541
- var n = e.language, r;
2542
- n !== "root" && (r = e.maximize().region);
2543
- var i = ut[r || ""] || ut[n || ""] || ut["".concat(n, "-001")] || ut["001"];
2547
+ var r = e.language, n;
2548
+ r !== "root" && (n = e.maximize().region);
2549
+ var i = lt[n || ""] || lt[r || ""] || lt["".concat(r, "-001")] || lt["001"];
2544
2550
  return i[0];
2545
2551
  }
2546
- var St, si = new RegExp("^".concat(Fn.source, "*")), ui = new RegExp("".concat(Fn.source, "*$"));
2552
+ var Pt, li = new RegExp("^".concat(Gr.source, "*")), ci = new RegExp("".concat(Gr.source, "*$"));
2547
2553
  function T(e, t) {
2548
2554
  return { start: e, end: t };
2549
2555
  }
2550
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, hi = !!Object.fromEntries, fi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, gi = di ? Number.isSafeInteger : function(e) {
2556
+ var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, pi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, yi = bi ? Number.isSafeInteger : function(e) {
2551
2557
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2552
- }, Lt = !0;
2558
+ }, Rt = !0;
2553
2559
  try {
2554
- var bi = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
- Lt = ((St = bi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
2560
+ var vi = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2561
+ Rt = ((Pt = vi.exec("a")) === null || Pt === void 0 ? void 0 : Pt[0]) === "a";
2556
2562
  } catch (e) {
2557
- Lt = !1;
2563
+ Rt = !1;
2558
2564
  }
2559
- var on = li ? (
2565
+ var sr = hi ? (
2560
2566
  // Native
2561
- function(t, n, r) {
2562
- return t.startsWith(n, r);
2567
+ function(t, r, n) {
2568
+ return t.startsWith(r, n);
2563
2569
  }
2564
2570
  ) : (
2565
2571
  // For IE11
2566
- function(t, n, r) {
2567
- return t.slice(r, r + n.length) === n;
2572
+ function(t, r, n) {
2573
+ return t.slice(n, n + r.length) === r;
2568
2574
  }
2569
- ), Mt = ci ? String.fromCodePoint : (
2575
+ ), Dt = fi ? String.fromCodePoint : (
2570
2576
  // IE11
2571
2577
  function() {
2572
- for (var t = [], n = 0; n < arguments.length; n++)
2573
- t[n] = arguments[n];
2574
- for (var r = "", i = t.length, a = 0, o; i > a; ) {
2578
+ for (var t = [], r = 0; r < arguments.length; r++)
2579
+ t[r] = arguments[r];
2580
+ for (var n = "", i = t.length, a = 0, o; i > a; ) {
2575
2581
  if (o = t[a++], o > 1114111)
2576
2582
  throw RangeError(o + " is not a valid code point");
2577
- r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2583
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2578
2584
  }
2579
- return r;
2585
+ return n;
2580
2586
  }
2581
- ), sn = (
2587
+ ), ur = (
2582
2588
  // native
2583
- hi ? Object.fromEntries : (
2589
+ pi ? Object.fromEntries : (
2584
2590
  // Ponyfill
2585
2591
  function(t) {
2586
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2587
- var a = i[r], o = a[0], s = a[1];
2588
- n[o] = s;
2592
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2593
+ var a = i[n], o = a[0], s = a[1];
2594
+ r[o] = s;
2589
2595
  }
2590
- return n;
2596
+ return r;
2591
2597
  }
2592
2598
  )
2593
- ), jn = fi ? (
2599
+ ), Vr = mi ? (
2594
2600
  // Native
2595
- function(t, n) {
2596
- return t.codePointAt(n);
2601
+ function(t, r) {
2602
+ return t.codePointAt(r);
2597
2603
  }
2598
2604
  ) : (
2599
2605
  // IE 11
2600
- function(t, n) {
2601
- var r = t.length;
2602
- if (!(n < 0 || n >= r)) {
2603
- var i = t.charCodeAt(n), a;
2604
- return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2606
+ function(t, r) {
2607
+ var n = t.length;
2608
+ if (!(r < 0 || r >= n)) {
2609
+ var i = t.charCodeAt(r), a;
2610
+ return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2605
2611
  }
2606
2612
  }
2607
- ), yi = pi ? (
2613
+ ), xi = di ? (
2608
2614
  // Native
2609
2615
  function(t) {
2610
2616
  return t.trimStart();
@@ -2612,9 +2618,9 @@ var on = li ? (
2612
2618
  ) : (
2613
2619
  // Ponyfill
2614
2620
  function(t) {
2615
- return t.replace(si, "");
2621
+ return t.replace(li, "");
2616
2622
  }
2617
- ), vi = mi ? (
2623
+ ), Ei = gi ? (
2618
2624
  // Native
2619
2625
  function(t) {
2620
2626
  return t.trimEnd();
@@ -2622,69 +2628,69 @@ var on = li ? (
2622
2628
  ) : (
2623
2629
  // Ponyfill
2624
2630
  function(t) {
2625
- return t.replace(ui, "");
2631
+ return t.replace(ci, "");
2626
2632
  }
2627
2633
  );
2628
- function Vn(e, t) {
2634
+ function zr(e, t) {
2629
2635
  return new RegExp(e, t);
2630
2636
  }
2631
- var Rt;
2632
- if (Lt) {
2633
- var un = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2634
- Rt = function(t, n) {
2635
- var r;
2636
- un.lastIndex = n;
2637
- var i = un.exec(t);
2638
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2637
+ var Ut;
2638
+ if (Rt) {
2639
+ var lr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2640
+ Ut = function(t, r) {
2641
+ var n;
2642
+ lr.lastIndex = r;
2643
+ var i = lr.exec(t);
2644
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2639
2645
  };
2640
2646
  } else
2641
- Rt = function(t, n) {
2642
- for (var r = []; ; ) {
2643
- var i = jn(t, n);
2644
- if (i === void 0 || zn(i) || wi(i))
2647
+ Ut = function(t, r) {
2648
+ for (var n = []; ; ) {
2649
+ var i = Vr(t, r);
2650
+ if (i === void 0 || Xr(i) || Hi(i))
2645
2651
  break;
2646
- r.push(i), n += i >= 65536 ? 2 : 1;
2652
+ n.push(i), r += i >= 65536 ? 2 : 1;
2647
2653
  }
2648
- return Mt.apply(void 0, r);
2654
+ return Dt.apply(void 0, n);
2649
2655
  };
2650
- var xi = (
2656
+ var _i = (
2651
2657
  /** @class */
2652
2658
  function() {
2653
- function e(t, n) {
2654
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2659
+ function e(t, r) {
2660
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2655
2661
  }
2656
2662
  return e.prototype.parse = function() {
2657
2663
  if (this.offset() !== 0)
2658
2664
  throw Error("parser can only be used once");
2659
2665
  return this.parseMessage(0, "", !1);
2660
- }, e.prototype.parseMessage = function(t, n, r) {
2666
+ }, e.prototype.parseMessage = function(t, r, n) {
2661
2667
  for (var i = []; !this.isEOF(); ) {
2662
2668
  var a = this.char();
2663
2669
  if (a === 123) {
2664
- var o = this.parseArgument(t, r);
2670
+ var o = this.parseArgument(t, n);
2665
2671
  if (o.err)
2666
2672
  return o;
2667
2673
  i.push(o.val);
2668
2674
  } else {
2669
2675
  if (a === 125 && t > 0)
2670
2676
  break;
2671
- if (a === 35 && (n === "plural" || n === "selectordinal")) {
2677
+ if (a === 35 && (r === "plural" || r === "selectordinal")) {
2672
2678
  var s = this.clonePosition();
2673
2679
  this.bump(), i.push({
2674
- type: C.pound,
2680
+ type: S.pound,
2675
2681
  location: T(s, this.clonePosition())
2676
2682
  });
2677
2683
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2678
- if (r)
2684
+ if (n)
2679
2685
  break;
2680
2686
  return this.error(_.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2681
- } else if (a === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
2682
- var o = this.parseTag(t, n);
2687
+ } else if (a === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
2688
+ var o = this.parseTag(t, r);
2683
2689
  if (o.err)
2684
2690
  return o;
2685
2691
  i.push(o.val);
2686
2692
  } else {
2687
- var o = this.parseLiteral(t, n);
2693
+ var o = this.parseLiteral(t, r);
2688
2694
  if (o.err)
2689
2695
  return o;
2690
2696
  i.push(o.val);
@@ -2692,54 +2698,54 @@ var xi = (
2692
2698
  }
2693
2699
  }
2694
2700
  return { val: i, err: null };
2695
- }, e.prototype.parseTag = function(t, n) {
2696
- var r = this.clonePosition();
2701
+ }, e.prototype.parseTag = function(t, r) {
2702
+ var n = this.clonePosition();
2697
2703
  this.bump();
2698
2704
  var i = this.parseTagName();
2699
2705
  if (this.bumpSpace(), this.bumpIf("/>"))
2700
2706
  return {
2701
2707
  val: {
2702
- type: C.literal,
2708
+ type: S.literal,
2703
2709
  value: "<".concat(i, "/>"),
2704
- location: T(r, this.clonePosition())
2710
+ location: T(n, this.clonePosition())
2705
2711
  },
2706
2712
  err: null
2707
2713
  };
2708
2714
  if (this.bumpIf(">")) {
2709
- var a = this.parseMessage(t + 1, n, !0);
2715
+ var a = this.parseMessage(t + 1, r, !0);
2710
2716
  if (a.err)
2711
2717
  return a;
2712
2718
  var o = a.val, s = this.clonePosition();
2713
2719
  if (this.bumpIf("</")) {
2714
- if (this.isEOF() || !Dt(this.char()))
2720
+ if (this.isEOF() || !Ft(this.char()))
2715
2721
  return this.error(_.INVALID_TAG, T(s, this.clonePosition()));
2716
2722
  var c = this.clonePosition(), l = this.parseTagName();
2717
2723
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2718
2724
  val: {
2719
- type: C.tag,
2725
+ type: S.tag,
2720
2726
  value: i,
2721
2727
  children: o,
2722
- location: T(r, this.clonePosition())
2728
+ location: T(n, this.clonePosition())
2723
2729
  },
2724
2730
  err: null
2725
2731
  } : this.error(_.INVALID_TAG, T(s, this.clonePosition())));
2726
2732
  } else
2727
- return this.error(_.UNCLOSED_TAG, T(r, this.clonePosition()));
2733
+ return this.error(_.UNCLOSED_TAG, T(n, this.clonePosition()));
2728
2734
  } else
2729
- return this.error(_.INVALID_TAG, T(r, this.clonePosition()));
2735
+ return this.error(_.INVALID_TAG, T(n, this.clonePosition()));
2730
2736
  }, e.prototype.parseTagName = function() {
2731
2737
  var t = this.offset();
2732
- for (this.bump(); !this.isEOF() && _i(this.char()); )
2738
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
2733
2739
  this.bump();
2734
2740
  return this.message.slice(t, this.offset());
2735
- }, e.prototype.parseLiteral = function(t, n) {
2736
- for (var r = this.clonePosition(), i = ""; ; ) {
2737
- var a = this.tryParseQuote(n);
2741
+ }, e.prototype.parseLiteral = function(t, r) {
2742
+ for (var n = this.clonePosition(), i = ""; ; ) {
2743
+ var a = this.tryParseQuote(r);
2738
2744
  if (a) {
2739
2745
  i += a;
2740
2746
  continue;
2741
2747
  }
2742
- var o = this.tryParseUnquoted(t, n);
2748
+ var o = this.tryParseUnquoted(t, r);
2743
2749
  if (o) {
2744
2750
  i += o;
2745
2751
  continue;
@@ -2751,14 +2757,14 @@ var xi = (
2751
2757
  }
2752
2758
  break;
2753
2759
  }
2754
- var c = T(r, this.clonePosition());
2760
+ var c = T(n, this.clonePosition());
2755
2761
  return {
2756
- val: { type: C.literal, value: i, location: c },
2762
+ val: { type: S.literal, value: i, location: c },
2757
2763
  err: null
2758
2764
  };
2759
2765
  }, e.prototype.tryParseLeftAngleBracket = function() {
2760
2766
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2761
- !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2767
+ !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2762
2768
  }, e.prototype.tryParseQuote = function(t) {
2763
2769
  if (this.isEOF() || this.char() !== 39)
2764
2770
  return null;
@@ -2778,59 +2784,59 @@ var xi = (
2778
2784
  return null;
2779
2785
  }
2780
2786
  this.bump();
2781
- var n = [this.char()];
2787
+ var r = [this.char()];
2782
2788
  for (this.bump(); !this.isEOF(); ) {
2783
- var r = this.char();
2784
- if (r === 39)
2789
+ var n = this.char();
2790
+ if (n === 39)
2785
2791
  if (this.peek() === 39)
2786
- n.push(39), this.bump();
2792
+ r.push(39), this.bump();
2787
2793
  else {
2788
2794
  this.bump();
2789
2795
  break;
2790
2796
  }
2791
2797
  else
2792
- n.push(r);
2798
+ r.push(n);
2793
2799
  this.bump();
2794
2800
  }
2795
- return Mt.apply(void 0, n);
2796
- }, e.prototype.tryParseUnquoted = function(t, n) {
2801
+ return Dt.apply(void 0, r);
2802
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2797
2803
  if (this.isEOF())
2798
2804
  return null;
2799
- var r = this.char();
2800
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Mt(r));
2801
- }, e.prototype.parseArgument = function(t, n) {
2802
- var r = this.clonePosition();
2805
+ var n = this.char();
2806
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
2807
+ }, e.prototype.parseArgument = function(t, r) {
2808
+ var n = this.clonePosition();
2803
2809
  if (this.bump(), this.bumpSpace(), this.isEOF())
2804
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2810
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2805
2811
  if (this.char() === 125)
2806
- return this.bump(), this.error(_.EMPTY_ARGUMENT, T(r, this.clonePosition()));
2812
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, T(n, this.clonePosition()));
2807
2813
  var i = this.parseIdentifierIfPossible().value;
2808
2814
  if (!i)
2809
- return this.error(_.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2815
+ return this.error(_.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2810
2816
  if (this.bumpSpace(), this.isEOF())
2811
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2817
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2812
2818
  switch (this.char()) {
2813
2819
  case 125:
2814
2820
  return this.bump(), {
2815
2821
  val: {
2816
- type: C.argument,
2822
+ type: S.argument,
2817
2823
  // value does not include the opening and closing braces.
2818
2824
  value: i,
2819
- location: T(r, this.clonePosition())
2825
+ location: T(n, this.clonePosition())
2820
2826
  },
2821
2827
  err: null
2822
2828
  };
2823
2829
  case 44:
2824
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2830
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2825
2831
  default:
2826
- return this.error(_.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2832
+ return this.error(_.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2827
2833
  }
2828
2834
  }, e.prototype.parseIdentifierIfPossible = function() {
2829
- var t = this.clonePosition(), n = this.offset(), r = Rt(this.message, n), i = n + r.length;
2835
+ var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
2830
2836
  this.bumpTo(i);
2831
2837
  var a = this.clonePosition(), o = T(t, a);
2832
- return { value: r, location: o };
2833
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2838
+ return { value: n, location: o };
2839
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2834
2840
  var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2835
2841
  switch (s) {
2836
2842
  case "":
@@ -2845,7 +2851,7 @@ var xi = (
2845
2851
  var u = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2846
2852
  if (h.err)
2847
2853
  return h;
2848
- var d = vi(h.val);
2854
+ var d = Ei(h.val);
2849
2855
  if (d.length === 0)
2850
2856
  return this.error(_.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2851
2857
  var b = T(u, this.clonePosition());
@@ -2854,37 +2860,37 @@ var xi = (
2854
2860
  var v = this.tryParseArgumentClose(i);
2855
2861
  if (v.err)
2856
2862
  return v;
2857
- var I = T(i, this.clonePosition());
2858
- if (l && on(l == null ? void 0 : l.style, "::", 0)) {
2859
- var F = yi(l.style.slice(2));
2863
+ var P = T(i, this.clonePosition());
2864
+ if (l && sr(l == null ? void 0 : l.style, "::", 0)) {
2865
+ var F = xi(l.style.slice(2));
2860
2866
  if (s === "number") {
2861
2867
  var h = this.parseNumberSkeletonFromString(F, l.styleLocation);
2862
2868
  return h.err ? h : {
2863
- val: { type: C.number, value: r, location: I, style: h.val },
2869
+ val: { type: S.number, value: n, location: P, style: h.val },
2864
2870
  err: null
2865
2871
  };
2866
2872
  } else {
2867
2873
  if (F.length === 0)
2868
- return this.error(_.EXPECT_DATE_TIME_SKELETON, I);
2869
- var N = F;
2870
- this.locale && (N = ai(F, this.locale));
2874
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, P);
2875
+ var I = F;
2876
+ this.locale && (I = si(F, this.locale));
2871
2877
  var d = {
2872
- type: Ge.dateTime,
2873
- pattern: N,
2878
+ type: $e.dateTime,
2879
+ pattern: I,
2874
2880
  location: l.styleLocation,
2875
- parsedOptions: this.shouldParseSkeletons ? Yr(N) : {}
2876
- }, D = s === "date" ? C.date : C.time;
2881
+ parsedOptions: this.shouldParseSkeletons ? ei(I) : {}
2882
+ }, D = s === "date" ? S.date : S.time;
2877
2883
  return {
2878
- val: { type: D, value: r, location: I, style: d },
2884
+ val: { type: D, value: n, location: P, style: d },
2879
2885
  err: null
2880
2886
  };
2881
2887
  }
2882
2888
  }
2883
2889
  return {
2884
2890
  val: {
2885
- type: s === "number" ? C.number : s === "date" ? C.date : C.time,
2886
- value: r,
2887
- location: I,
2891
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
2892
+ value: n,
2893
+ location: P,
2888
2894
  style: (a = l == null ? void 0 : l.style) !== null && a !== void 0 ? a : null
2889
2895
  },
2890
2896
  err: null
@@ -2895,41 +2901,41 @@ var xi = (
2895
2901
  case "select": {
2896
2902
  var U = this.clonePosition();
2897
2903
  if (this.bumpSpace(), !this.bumpIf(","))
2898
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, T(U, B({}, U)));
2904
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, T(U, dt({}, U)));
2899
2905
  this.bumpSpace();
2900
- var P = this.parseIdentifierIfPossible(), O = 0;
2901
- if (s !== "select" && P.value === "offset") {
2906
+ var C = this.parseIdentifierIfPossible(), O = 0;
2907
+ if (s !== "select" && C.value === "offset") {
2902
2908
  if (!this.bumpIf(":"))
2903
2909
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2904
2910
  this.bumpSpace();
2905
2911
  var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2906
2912
  if (h.err)
2907
2913
  return h;
2908
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), O = h.val;
2914
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), O = h.val;
2909
2915
  }
2910
- var q = this.tryParsePluralOrSelectOptions(t, s, n, P);
2916
+ var q = this.tryParsePluralOrSelectOptions(t, s, r, C);
2911
2917
  if (q.err)
2912
2918
  return q;
2913
2919
  var v = this.tryParseArgumentClose(i);
2914
2920
  if (v.err)
2915
2921
  return v;
2916
- var ne = T(i, this.clonePosition());
2922
+ var re = T(i, this.clonePosition());
2917
2923
  return s === "select" ? {
2918
2924
  val: {
2919
- type: C.select,
2920
- value: r,
2921
- options: sn(q.val),
2922
- location: ne
2925
+ type: S.select,
2926
+ value: n,
2927
+ options: ur(q.val),
2928
+ location: re
2923
2929
  },
2924
2930
  err: null
2925
2931
  } : {
2926
2932
  val: {
2927
- type: C.plural,
2928
- value: r,
2929
- options: sn(q.val),
2933
+ type: S.plural,
2934
+ value: n,
2935
+ options: ur(q.val),
2930
2936
  offset: O,
2931
2937
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2932
- location: ne
2938
+ location: re
2933
2939
  },
2934
2940
  err: null
2935
2941
  };
@@ -2940,9 +2946,9 @@ var xi = (
2940
2946
  }, e.prototype.tryParseArgumentClose = function(t) {
2941
2947
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2942
2948
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2943
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2944
- var r = this.char();
2945
- switch (r) {
2949
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2950
+ var n = this.char();
2951
+ switch (n) {
2946
2952
  case 39: {
2947
2953
  this.bump();
2948
2954
  var i = this.clonePosition();
@@ -2960,7 +2966,7 @@ var xi = (
2960
2966
  t -= 1;
2961
2967
  else
2962
2968
  return {
2963
- val: this.message.slice(n.offset, this.offset()),
2969
+ val: this.message.slice(r.offset, this.offset()),
2964
2970
  err: null
2965
2971
  };
2966
2972
  break;
@@ -2971,30 +2977,30 @@ var xi = (
2971
2977
  }
2972
2978
  }
2973
2979
  return {
2974
- val: this.message.slice(n.offset, this.offset()),
2980
+ val: this.message.slice(r.offset, this.offset()),
2975
2981
  err: null
2976
2982
  };
2977
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2978
- var r = [];
2983
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2984
+ var n = [];
2979
2985
  try {
2980
- r = ei(t);
2986
+ n = ri(t);
2981
2987
  } catch (i) {
2982
- return this.error(_.INVALID_NUMBER_SKELETON, n);
2988
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
2983
2989
  }
2984
2990
  return {
2985
2991
  val: {
2986
- type: Ge.number,
2987
- tokens: r,
2988
- location: n,
2989
- parsedOptions: this.shouldParseSkeletons ? ii(r) : {}
2992
+ type: $e.number,
2993
+ tokens: n,
2994
+ location: r,
2995
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
2990
2996
  },
2991
2997
  err: null
2992
2998
  };
2993
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2999
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2994
3000
  for (var a, o = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2995
3001
  if (l.length === 0) {
2996
3002
  var h = this.clonePosition();
2997
- if (n !== "select" && this.bumpIf("=")) {
3003
+ if (r !== "select" && this.bumpIf("=")) {
2998
3004
  var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2999
3005
  if (d.err)
3000
3006
  return d;
@@ -3003,17 +3009,17 @@ var xi = (
3003
3009
  break;
3004
3010
  }
3005
3011
  if (c.has(l))
3006
- return this.error(n === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3012
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3007
3013
  l === "other" && (o = !0), this.bumpSpace();
3008
3014
  var b = this.clonePosition();
3009
3015
  if (!this.bumpIf("{"))
3010
- return this.error(n === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3011
- var v = this.parseMessage(t + 1, n, r);
3016
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3017
+ var v = this.parseMessage(t + 1, r, n);
3012
3018
  if (v.err)
3013
3019
  return v;
3014
- var I = this.tryParseArgumentClose(b);
3015
- if (I.err)
3016
- return I;
3020
+ var P = this.tryParseArgumentClose(b);
3021
+ if (P.err)
3022
+ return P;
3017
3023
  s.push([
3018
3024
  l,
3019
3025
  {
@@ -3022,10 +3028,10 @@ var xi = (
3022
3028
  }
3023
3029
  ]), c.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, u = a.location;
3024
3030
  }
3025
- return s.length === 0 ? this.error(n === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3026
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3027
- var r = 1, i = this.clonePosition();
3028
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3031
+ return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3032
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3033
+ var n = 1, i = this.clonePosition();
3034
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3029
3035
  for (var a = !1, o = 0; !this.isEOF(); ) {
3030
3036
  var s = this.char();
3031
3037
  if (s >= 48 && s <= 57)
@@ -3034,7 +3040,7 @@ var xi = (
3034
3040
  break;
3035
3041
  }
3036
3042
  var c = T(i, this.clonePosition());
3037
- return a ? (o *= r, gi(o) ? { val: o, err: null } : this.error(n, c)) : this.error(t, c);
3043
+ return a ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3038
3044
  }, e.prototype.offset = function() {
3039
3045
  return this.position.offset;
3040
3046
  }, e.prototype.isEOF = function() {
@@ -3049,17 +3055,17 @@ var xi = (
3049
3055
  var t = this.position.offset;
3050
3056
  if (t >= this.message.length)
3051
3057
  throw Error("out of bound");
3052
- var n = jn(this.message, t);
3053
- if (n === void 0)
3058
+ var r = Vr(this.message, t);
3059
+ if (r === void 0)
3054
3060
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3055
- return n;
3056
- }, e.prototype.error = function(t, n) {
3061
+ return r;
3062
+ }, e.prototype.error = function(t, r) {
3057
3063
  return {
3058
3064
  val: null,
3059
3065
  err: {
3060
3066
  kind: t,
3061
3067
  message: this.message,
3062
- location: n
3068
+ location: r
3063
3069
  }
3064
3070
  };
3065
3071
  }, e.prototype.bump = function() {
@@ -3068,129 +3074,129 @@ var xi = (
3068
3074
  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);
3069
3075
  }
3070
3076
  }, e.prototype.bumpIf = function(t) {
3071
- if (on(this.message, t, this.offset())) {
3072
- for (var n = 0; n < t.length; n++)
3077
+ if (sr(this.message, t, this.offset())) {
3078
+ for (var r = 0; r < t.length; r++)
3073
3079
  this.bump();
3074
3080
  return !0;
3075
3081
  }
3076
3082
  return !1;
3077
3083
  }, e.prototype.bumpUntil = function(t) {
3078
- var n = this.offset(), r = this.message.indexOf(t, n);
3079
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3084
+ var r = this.offset(), n = this.message.indexOf(t, r);
3085
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3080
3086
  }, e.prototype.bumpTo = function(t) {
3081
3087
  if (this.offset() > t)
3082
3088
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3083
3089
  for (t = Math.min(t, this.message.length); ; ) {
3084
- var n = this.offset();
3085
- if (n === t)
3090
+ var r = this.offset();
3091
+ if (r === t)
3086
3092
  break;
3087
- if (n > t)
3093
+ if (r > t)
3088
3094
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3089
3095
  if (this.bump(), this.isEOF())
3090
3096
  break;
3091
3097
  }
3092
3098
  }, e.prototype.bumpSpace = function() {
3093
- for (; !this.isEOF() && zn(this.char()); )
3099
+ for (; !this.isEOF() && Xr(this.char()); )
3094
3100
  this.bump();
3095
3101
  }, e.prototype.peek = function() {
3096
3102
  if (this.isEOF())
3097
3103
  return null;
3098
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3099
- return r != null ? r : null;
3104
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3105
+ return n != null ? n : null;
3100
3106
  }, e;
3101
3107
  }()
3102
3108
  );
3103
- function Dt(e) {
3109
+ function Ft(e) {
3104
3110
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3105
3111
  }
3106
- function Ei(e) {
3107
- return Dt(e) || e === 47;
3112
+ function wi(e) {
3113
+ return Ft(e) || e === 47;
3108
3114
  }
3109
- function _i(e) {
3115
+ function Ti(e) {
3110
3116
  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;
3111
3117
  }
3112
- function zn(e) {
3118
+ function Xr(e) {
3113
3119
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3114
3120
  }
3115
- function wi(e) {
3121
+ function Hi(e) {
3116
3122
  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;
3117
3123
  }
3118
- function Ut(e) {
3124
+ function Gt(e) {
3119
3125
  e.forEach(function(t) {
3120
- if (delete t.location, Mn(t) || Rn(t))
3121
- for (var n in t.options)
3122
- delete t.options[n].location, Ut(t.options[n].value);
3126
+ if (delete t.location, Rr(t) || Dr(t))
3127
+ for (var r in t.options)
3128
+ delete t.options[r].location, Gt(t.options[r].value);
3123
3129
  else
3124
- Nn(t) && Un(t.style) || (On(t) || Ln(t)) && Ot(t.style) ? delete t.style.location : Dn(t) && Ut(t.children);
3130
+ Or(t) && Fr(t.style) || (Lr(t) || Mr(t)) && Mt(t.style) ? delete t.style.location : Ur(t) && Gt(t.children);
3125
3131
  });
3126
3132
  }
3127
- function Ti(e, t) {
3128
- t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3129
- var n = new xi(e, t).parse();
3130
- if (n.err) {
3131
- var r = SyntaxError(_[n.err.kind]);
3132
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3133
+ function Ai(e, t) {
3134
+ t === void 0 && (t = {}), t = dt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3135
+ var r = new _i(e, t).parse();
3136
+ if (r.err) {
3137
+ var n = SyntaxError(_[r.err.kind]);
3138
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3133
3139
  }
3134
- return t != null && t.captureLocation || Ut(n.val), n.val;
3140
+ return t != null && t.captureLocation || Gt(r.val), r.val;
3135
3141
  }
3136
- var $e;
3142
+ var ke;
3137
3143
  (function(e) {
3138
3144
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3139
- })($e || ($e = {}));
3140
- var yt = (
3145
+ })(ke || (ke = {}));
3146
+ var xt = (
3141
3147
  /** @class */
3142
3148
  function(e) {
3143
- bt(t, e);
3144
- function t(n, r, i) {
3145
- var a = e.call(this, n) || this;
3146
- return a.code = r, a.originalMessage = i, a;
3149
+ vt(t, e);
3150
+ function t(r, n, i) {
3151
+ var a = e.call(this, r) || this;
3152
+ return a.code = n, a.originalMessage = i, a;
3147
3153
  }
3148
3154
  return t.prototype.toString = function() {
3149
3155
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3150
3156
  }, t;
3151
3157
  }(Error)
3152
- ), ln = (
3158
+ ), cr = (
3153
3159
  /** @class */
3154
3160
  function(e) {
3155
- bt(t, e);
3156
- function t(n, r, i, a) {
3157
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, a) || this;
3161
+ vt(t, e);
3162
+ function t(r, n, i, a) {
3163
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, a) || this;
3158
3164
  }
3159
3165
  return t;
3160
- }(yt)
3161
- ), Hi = (
3166
+ }(xt)
3167
+ ), Bi = (
3162
3168
  /** @class */
3163
3169
  function(e) {
3164
- bt(t, e);
3165
- function t(n, r, i) {
3166
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), $e.INVALID_VALUE, i) || this;
3170
+ vt(t, e);
3171
+ function t(r, n, i) {
3172
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ke.INVALID_VALUE, i) || this;
3167
3173
  }
3168
3174
  return t;
3169
- }(yt)
3170
- ), Ai = (
3175
+ }(xt)
3176
+ ), Si = (
3171
3177
  /** @class */
3172
3178
  function(e) {
3173
- bt(t, e);
3174
- function t(n, r) {
3175
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), $e.MISSING_VALUE, r) || this;
3179
+ vt(t, e);
3180
+ function t(r, n) {
3181
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ke.MISSING_VALUE, n) || this;
3176
3182
  }
3177
3183
  return t;
3178
- }(yt)
3184
+ }(xt)
3179
3185
  ), X;
3180
3186
  (function(e) {
3181
3187
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3182
3188
  })(X || (X = {}));
3183
- function Bi(e) {
3184
- return e.length < 2 ? e : e.reduce(function(t, n) {
3185
- var r = t[t.length - 1];
3186
- return !r || r.type !== X.literal || n.type !== X.literal ? t.push(n) : r.value += n.value, t;
3189
+ function Ci(e) {
3190
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3191
+ var n = t[t.length - 1];
3192
+ return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3187
3193
  }, []);
3188
3194
  }
3189
- function Si(e) {
3195
+ function Pi(e) {
3190
3196
  return typeof e == "function";
3191
3197
  }
3192
- function ct(e, t, n, r, i, a, o) {
3193
- if (e.length === 1 && tn(e[0]))
3198
+ function ht(e, t, r, n, i, a, o) {
3199
+ if (e.length === 1 && nr(e[0]))
3194
3200
  return [
3195
3201
  {
3196
3202
  type: X.literal,
@@ -3199,60 +3205,60 @@ function ct(e, t, n, r, i, a, o) {
3199
3205
  ];
3200
3206
  for (var s = [], c = 0, l = e; c < l.length; c++) {
3201
3207
  var u = l[c];
3202
- if (tn(u)) {
3208
+ if (nr(u)) {
3203
3209
  s.push({
3204
3210
  type: X.literal,
3205
3211
  value: u.value
3206
3212
  });
3207
3213
  continue;
3208
3214
  }
3209
- if (Jr(u)) {
3215
+ if (Yn(u)) {
3210
3216
  typeof a == "number" && s.push({
3211
3217
  type: X.literal,
3212
- value: n.getNumberFormat(t).format(a)
3218
+ value: r.getNumberFormat(t).format(a)
3213
3219
  });
3214
3220
  continue;
3215
3221
  }
3216
3222
  var h = u.value;
3217
3223
  if (!(i && h in i))
3218
- throw new Ai(h, o);
3224
+ throw new Si(h, o);
3219
3225
  var d = i[h];
3220
- if (qr(u)) {
3226
+ if (Qn(u)) {
3221
3227
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3222
3228
  type: typeof d == "string" ? X.literal : X.object,
3223
3229
  value: d
3224
3230
  });
3225
3231
  continue;
3226
3232
  }
3227
- if (On(u)) {
3228
- var b = typeof u.style == "string" ? r.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
3233
+ if (Lr(u)) {
3234
+ var b = typeof u.style == "string" ? n.date[u.style] : Mt(u.style) ? u.style.parsedOptions : void 0;
3229
3235
  s.push({
3230
3236
  type: X.literal,
3231
- value: n.getDateTimeFormat(t, b).format(d)
3237
+ value: r.getDateTimeFormat(t, b).format(d)
3232
3238
  });
3233
3239
  continue;
3234
3240
  }
3235
- if (Ln(u)) {
3236
- var b = typeof u.style == "string" ? r.time[u.style] : Ot(u.style) ? u.style.parsedOptions : r.time.medium;
3241
+ if (Mr(u)) {
3242
+ var b = typeof u.style == "string" ? n.time[u.style] : Mt(u.style) ? u.style.parsedOptions : n.time.medium;
3237
3243
  s.push({
3238
3244
  type: X.literal,
3239
- value: n.getDateTimeFormat(t, b).format(d)
3245
+ value: r.getDateTimeFormat(t, b).format(d)
3240
3246
  });
3241
3247
  continue;
3242
3248
  }
3243
- if (Nn(u)) {
3244
- var b = typeof u.style == "string" ? r.number[u.style] : Un(u.style) ? u.style.parsedOptions : void 0;
3249
+ if (Or(u)) {
3250
+ var b = typeof u.style == "string" ? n.number[u.style] : Fr(u.style) ? u.style.parsedOptions : void 0;
3245
3251
  b && b.scale && (d = d * (b.scale || 1)), s.push({
3246
3252
  type: X.literal,
3247
- value: n.getNumberFormat(t, b).format(d)
3253
+ value: r.getNumberFormat(t, b).format(d)
3248
3254
  });
3249
3255
  continue;
3250
3256
  }
3251
- if (Dn(u)) {
3252
- var v = u.children, I = u.value, F = i[I];
3253
- if (!Si(F))
3254
- throw new Hi(I, "function", o);
3255
- var N = ct(v, t, n, r, i, a), D = F(N.map(function(O) {
3257
+ if (Ur(u)) {
3258
+ var v = u.children, P = u.value, F = i[P];
3259
+ if (!Pi(F))
3260
+ throw new Bi(P, "function", o);
3261
+ var I = ht(v, t, r, n, i, a), D = F(I.map(function(O) {
3256
3262
  return O.value;
3257
3263
  }));
3258
3264
  Array.isArray(D) || (D = [D]), s.push.apply(s, D.map(function(O) {
@@ -3262,92 +3268,92 @@ function ct(e, t, n, r, i, a, o) {
3262
3268
  };
3263
3269
  }));
3264
3270
  }
3265
- if (Mn(u)) {
3271
+ if (Rr(u)) {
3266
3272
  var U = u.options[d] || u.options.other;
3267
3273
  if (!U)
3268
- throw new ln(u.value, d, Object.keys(u.options), o);
3269
- s.push.apply(s, ct(U.value, t, n, r, i));
3274
+ throw new cr(u.value, d, Object.keys(u.options), o);
3275
+ s.push.apply(s, ht(U.value, t, r, n, i));
3270
3276
  continue;
3271
3277
  }
3272
- if (Rn(u)) {
3278
+ if (Dr(u)) {
3273
3279
  var U = u.options["=".concat(d)];
3274
3280
  if (!U) {
3275
3281
  if (!Intl.PluralRules)
3276
- throw new yt(`Intl.PluralRules is not available in this environment.
3282
+ throw new xt(`Intl.PluralRules is not available in this environment.
3277
3283
  Try polyfilling it using "@formatjs/intl-pluralrules"
3278
- `, $e.MISSING_INTL_API, o);
3279
- var P = n.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3280
- U = u.options[P] || u.options.other;
3284
+ `, ke.MISSING_INTL_API, o);
3285
+ var C = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3286
+ U = u.options[C] || u.options.other;
3281
3287
  }
3282
3288
  if (!U)
3283
- throw new ln(u.value, d, Object.keys(u.options), o);
3284
- s.push.apply(s, ct(U.value, t, n, r, i, d - (u.offset || 0)));
3289
+ throw new cr(u.value, d, Object.keys(u.options), o);
3290
+ s.push.apply(s, ht(U.value, t, r, n, i, d - (u.offset || 0)));
3285
3291
  continue;
3286
3292
  }
3287
3293
  }
3288
- return Bi(s);
3294
+ return Ci(s);
3289
3295
  }
3290
- function Ci(e, t) {
3291
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3292
- return n[r] = B(B({}, e[r]), t[r] || {}), n;
3296
+ function Ii(e, t) {
3297
+ return t ? he(he(he({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3298
+ return r[n] = he(he({}, e[n]), t[n] || {}), r;
3293
3299
  }, {})) : e;
3294
3300
  }
3295
- function Pi(e, t) {
3296
- return t ? Object.keys(e).reduce(function(n, r) {
3297
- return n[r] = Ci(e[r], t[r]), n;
3298
- }, B({}, e)) : e;
3301
+ function Ni(e, t) {
3302
+ return t ? Object.keys(e).reduce(function(r, n) {
3303
+ return r[n] = Ii(e[n], t[n]), r;
3304
+ }, he({}, e)) : e;
3299
3305
  }
3300
- function Ct(e) {
3306
+ function It(e) {
3301
3307
  return {
3302
3308
  create: function() {
3303
3309
  return {
3304
3310
  get: function(t) {
3305
3311
  return e[t];
3306
3312
  },
3307
- set: function(t, n) {
3308
- e[t] = n;
3313
+ set: function(t, r) {
3314
+ e[t] = r;
3309
3315
  }
3310
3316
  };
3311
3317
  }
3312
3318
  };
3313
3319
  }
3314
- function Ii(e) {
3320
+ function Oi(e) {
3315
3321
  return e === void 0 && (e = {
3316
3322
  number: {},
3317
3323
  dateTime: {},
3318
3324
  pluralRules: {}
3319
3325
  }), {
3320
- getNumberFormat: At(function() {
3321
- for (var t, n = [], r = 0; r < arguments.length; r++)
3322
- n[r] = arguments[r];
3323
- return new ((t = Intl.NumberFormat).bind.apply(t, Ht([void 0], n, !1)))();
3326
+ getNumberFormat: St(function() {
3327
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3328
+ r[n] = arguments[n];
3329
+ return new ((t = Intl.NumberFormat).bind.apply(t, Bt([void 0], r, !1)))();
3324
3330
  }, {
3325
- cache: Ct(e.number),
3326
- strategy: Bt.variadic
3331
+ cache: It(e.number),
3332
+ strategy: Ct.variadic
3327
3333
  }),
3328
- getDateTimeFormat: At(function() {
3329
- for (var t, n = [], r = 0; r < arguments.length; r++)
3330
- n[r] = arguments[r];
3331
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ht([void 0], n, !1)))();
3334
+ getDateTimeFormat: St(function() {
3335
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3336
+ r[n] = arguments[n];
3337
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Bt([void 0], r, !1)))();
3332
3338
  }, {
3333
- cache: Ct(e.dateTime),
3334
- strategy: Bt.variadic
3339
+ cache: It(e.dateTime),
3340
+ strategy: Ct.variadic
3335
3341
  }),
3336
- getPluralRules: At(function() {
3337
- for (var t, n = [], r = 0; r < arguments.length; r++)
3338
- n[r] = arguments[r];
3339
- return new ((t = Intl.PluralRules).bind.apply(t, Ht([void 0], n, !1)))();
3342
+ getPluralRules: St(function() {
3343
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3344
+ r[n] = arguments[n];
3345
+ return new ((t = Intl.PluralRules).bind.apply(t, Bt([void 0], r, !1)))();
3340
3346
  }, {
3341
- cache: Ct(e.pluralRules),
3342
- strategy: Bt.variadic
3347
+ cache: It(e.pluralRules),
3348
+ strategy: Ct.variadic
3343
3349
  })
3344
3350
  };
3345
3351
  }
3346
- var Ni = (
3352
+ var Li = (
3347
3353
  /** @class */
3348
3354
  function() {
3349
- function e(t, n, r, i) {
3350
- n === void 0 && (n = e.defaultLocale);
3355
+ function e(t, r, n, i) {
3356
+ r === void 0 && (r = e.defaultLocale);
3351
3357
  var a = this;
3352
3358
  if (this.formatterCache = {
3353
3359
  number: {},
@@ -3362,7 +3368,7 @@ var Ni = (
3362
3368
  }, []);
3363
3369
  return u.length <= 1 ? u[0] || "" : u;
3364
3370
  }, this.formatToParts = function(c) {
3365
- return ct(a.ast, a.locales, a.formatters, a.formats, c, void 0, a.message);
3371
+ return ht(a.ast, a.locales, a.formatters, a.formats, c, void 0, a.message);
3366
3372
  }, this.resolvedOptions = function() {
3367
3373
  var c;
3368
3374
  return {
@@ -3370,18 +3376,18 @@ var Ni = (
3370
3376
  };
3371
3377
  }, this.getAst = function() {
3372
3378
  return a.ast;
3373
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3379
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3374
3380
  if (this.message = t, !e.__parse)
3375
3381
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3376
3382
  var o = i || {};
3377
3383
  o.formatters;
3378
- var s = $r(o, ["formatters"]);
3379
- this.ast = e.__parse(t, B(B({}, s), { locale: this.resolvedLocale }));
3384
+ var s = jn(o, ["formatters"]);
3385
+ this.ast = e.__parse(t, he(he({}, s), { locale: this.resolvedLocale }));
3380
3386
  } else
3381
3387
  this.ast = t;
3382
3388
  if (!Array.isArray(this.ast))
3383
3389
  throw new TypeError("A message must be provided as a String or AST.");
3384
- this.formats = Pi(e.formats, r), this.formatters = i && i.formatters || Ii(this.formatterCache);
3390
+ this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3385
3391
  }
3386
3392
  return Object.defineProperty(e, "defaultLocale", {
3387
3393
  get: function() {
@@ -3391,10 +3397,10 @@ var Ni = (
3391
3397
  configurable: !0
3392
3398
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3393
3399
  if (typeof Intl.Locale != "undefined") {
3394
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3395
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3400
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3401
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3396
3402
  }
3397
- }, e.__parse = Ti, e.formats = {
3403
+ }, e.__parse = Ai, e.formats = {
3398
3404
  number: {
3399
3405
  integer: {
3400
3406
  maximumFractionDigits: 0
@@ -3455,113 +3461,113 @@ var Ni = (
3455
3461
  }, e;
3456
3462
  }()
3457
3463
  );
3458
- function Oi(e, t) {
3464
+ function Mi(e, t) {
3459
3465
  if (t == null)
3460
3466
  return;
3461
3467
  if (t in e)
3462
3468
  return e[t];
3463
- const n = t.split(".");
3464
- let r = e;
3465
- for (let i = 0; i < n.length; i++)
3466
- if (typeof r == "object") {
3469
+ const r = t.split(".");
3470
+ let n = e;
3471
+ for (let i = 0; i < r.length; i++)
3472
+ if (typeof n == "object") {
3467
3473
  if (i > 0) {
3468
- const a = n.slice(i, n.length).join(".");
3469
- if (a in r) {
3470
- r = r[a];
3474
+ const a = r.slice(i, r.length).join(".");
3475
+ if (a in n) {
3476
+ n = n[a];
3471
3477
  break;
3472
3478
  }
3473
3479
  }
3474
- r = r[n[i]];
3480
+ n = n[r[i]];
3475
3481
  } else
3476
- r = void 0;
3477
- return r;
3482
+ n = void 0;
3483
+ return n;
3478
3484
  }
3479
- const Ee = {}, Li = (e, t, n) => n && (t in Ee || (Ee[t] = {}), e in Ee[t] || (Ee[t][e] = n), n), Xn = (e, t) => {
3485
+ const _e = {}, Ri = (e, t, r) => r && (t in _e || (_e[t] = {}), e in _e[t] || (_e[t][e] = r), r), Wr = (e, t) => {
3480
3486
  if (t == null)
3481
3487
  return;
3482
- if (t in Ee && e in Ee[t])
3483
- return Ee[t][e];
3484
- const n = vt(t);
3485
- for (let r = 0; r < n.length; r++) {
3486
- const i = n[r], a = Ri(i, e);
3488
+ if (t in _e && e in _e[t])
3489
+ return _e[t][e];
3490
+ const r = Et(t);
3491
+ for (let n = 0; n < r.length; n++) {
3492
+ const i = r[n], a = Ui(i, e);
3487
3493
  if (a)
3488
- return Li(e, t, a);
3494
+ return Ri(e, t, a);
3489
3495
  }
3490
3496
  };
3491
- let jt;
3492
- const Ve = gt({});
3493
- function Mi(e) {
3494
- return jt[e] || null;
3497
+ let zt;
3498
+ const ze = yt({});
3499
+ function Di(e) {
3500
+ return zt[e] || null;
3495
3501
  }
3496
- function Wn(e) {
3497
- return e in jt;
3502
+ function Zr(e) {
3503
+ return e in zt;
3498
3504
  }
3499
- function Ri(e, t) {
3500
- if (!Wn(e))
3505
+ function Ui(e, t) {
3506
+ if (!Zr(e))
3501
3507
  return null;
3502
- const n = Mi(e);
3503
- return Oi(n, t);
3508
+ const r = Di(e);
3509
+ return Mi(r, t);
3504
3510
  }
3505
- function Di(e) {
3511
+ function Fi(e) {
3506
3512
  if (e == null)
3507
3513
  return;
3508
- const t = vt(e);
3509
- for (let n = 0; n < t.length; n++) {
3510
- const r = t[n];
3511
- if (Wn(r))
3512
- return r;
3514
+ const t = Et(e);
3515
+ for (let r = 0; r < t.length; r++) {
3516
+ const n = t[r];
3517
+ if (Zr(n))
3518
+ return n;
3513
3519
  }
3514
3520
  }
3515
- function Zn(e, ...t) {
3516
- delete Ee[e], Ve.update((n) => (n[e] = Gr.all([n[e] || {}, ...t]), n));
3521
+ function qr(e, ...t) {
3522
+ delete _e[e], ze.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
3517
3523
  }
3518
- je(
3519
- [Ve],
3524
+ Ve(
3525
+ [ze],
3520
3526
  ([e]) => Object.keys(e)
3521
3527
  );
3522
- Ve.subscribe((e) => jt = e);
3523
- const ht = {};
3524
- function Ui(e, t) {
3525
- ht[e].delete(t), ht[e].size === 0 && delete ht[e];
3528
+ ze.subscribe((e) => zt = e);
3529
+ const ft = {};
3530
+ function Gi(e, t) {
3531
+ ft[e].delete(t), ft[e].size === 0 && delete ft[e];
3526
3532
  }
3527
- function qn(e) {
3528
- return ht[e];
3533
+ function Jr(e) {
3534
+ return ft[e];
3529
3535
  }
3530
- function Fi(e) {
3531
- return vt(e).map((t) => {
3532
- const n = qn(t);
3533
- return [t, n ? [...n] : []];
3536
+ function $i(e) {
3537
+ return Et(e).map((t) => {
3538
+ const r = Jr(t);
3539
+ return [t, r ? [...r] : []];
3534
3540
  }).filter(([, t]) => t.length > 0);
3535
3541
  }
3536
- function Ft(e) {
3537
- return e == null ? !1 : vt(e).some(
3542
+ function $t(e) {
3543
+ return e == null ? !1 : Et(e).some(
3538
3544
  (t) => {
3539
- var n;
3540
- return (n = qn(t)) == null ? void 0 : n.size;
3545
+ var r;
3546
+ return (r = Jr(t)) == null ? void 0 : r.size;
3541
3547
  }
3542
3548
  );
3543
3549
  }
3544
- function Gi(e, t) {
3550
+ function ki(e, t) {
3545
3551
  return Promise.all(
3546
- t.map((r) => (Ui(e, r), r().then((i) => i.default || i)))
3547
- ).then((r) => Zn(e, ...r));
3548
- }
3549
- const Ye = {};
3550
- function Jn(e) {
3551
- if (!Ft(e))
3552
- return e in Ye ? Ye[e] : Promise.resolve();
3553
- const t = Fi(e);
3554
- return Ye[e] = Promise.all(
3552
+ t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
3553
+ ).then((n) => qr(e, ...n));
3554
+ }
3555
+ const Ke = {};
3556
+ function Qr(e) {
3557
+ if (!$t(e))
3558
+ return e in Ke ? Ke[e] : Promise.resolve();
3559
+ const t = $i(e);
3560
+ return Ke[e] = Promise.all(
3555
3561
  t.map(
3556
- ([n, r]) => Gi(n, r)
3562
+ ([r, n]) => ki(r, n)
3557
3563
  )
3558
3564
  ).then(() => {
3559
- if (Ft(e))
3560
- return Jn(e);
3561
- delete Ye[e];
3562
- }), Ye[e];
3565
+ if ($t(e))
3566
+ return Qr(e);
3567
+ delete Ke[e];
3568
+ }), Ke[e];
3563
3569
  }
3564
- const $i = {
3570
+ const ji = {
3565
3571
  number: {
3566
3572
  scientific: { notation: "scientific" },
3567
3573
  engineering: { notation: "engineering" },
@@ -3590,150 +3596,150 @@ const $i = {
3590
3596
  timeZoneName: "short"
3591
3597
  }
3592
3598
  }
3593
- }, ki = {
3599
+ }, Vi = {
3594
3600
  fallbackLocale: null,
3595
3601
  loadingDelay: 200,
3596
- formats: $i,
3602
+ formats: ji,
3597
3603
  warnOnMissingMessages: !0,
3598
3604
  handleMissingMessage: void 0,
3599
3605
  ignoreTag: !0
3600
- }, ji = ki;
3601
- function ke() {
3602
- return ji;
3603
- }
3604
- const Pt = gt(!1);
3605
- var Vi = Object.defineProperty, zi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, cn = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, hn = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, qi = (e, t) => {
3606
- for (var n in t || (t = {}))
3607
- Wi.call(t, n) && hn(e, n, t[n]);
3608
- if (cn)
3609
- for (var n of cn(t))
3610
- Zi.call(t, n) && hn(e, n, t[n]);
3606
+ }, zi = Vi;
3607
+ function je() {
3608
+ return zi;
3609
+ }
3610
+ const Nt = yt(!1);
3611
+ var Xi = Object.defineProperty, Wi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
3612
+ for (var r in t || (t = {}))
3613
+ qi.call(t, r) && fr(e, r, t[r]);
3614
+ if (hr)
3615
+ for (var r of hr(t))
3616
+ Ji.call(t, r) && fr(e, r, t[r]);
3611
3617
  return e;
3612
- }, Ji = (e, t) => zi(e, Xi(t));
3613
- let Gt;
3614
- const mt = gt(null);
3615
- function fn(e) {
3616
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3618
+ }, Yi = (e, t) => Wi(e, Zi(t));
3619
+ let kt;
3620
+ const gt = yt(null);
3621
+ function pr(e) {
3622
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3617
3623
  }
3618
- function vt(e, t = ke().fallbackLocale) {
3619
- const n = fn(e);
3620
- return t ? [.../* @__PURE__ */ new Set([...n, ...fn(t)])] : n;
3624
+ function Et(e, t = je().fallbackLocale) {
3625
+ const r = pr(e);
3626
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
3621
3627
  }
3622
- function Ae() {
3623
- return Gt != null ? Gt : void 0;
3628
+ function Be() {
3629
+ return kt != null ? kt : void 0;
3624
3630
  }
3625
- mt.subscribe((e) => {
3626
- Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3631
+ gt.subscribe((e) => {
3632
+ kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3627
3633
  });
3628
- const Qi = (e) => {
3629
- if (e && Di(e) && Ft(e)) {
3630
- const { loadingDelay: t } = ke();
3631
- let n;
3632
- return typeof window != "undefined" && Ae() != null && t ? n = window.setTimeout(
3633
- () => Pt.set(!0),
3634
+ const Ki = (e) => {
3635
+ if (e && Fi(e) && $t(e)) {
3636
+ const { loadingDelay: t } = je();
3637
+ let r;
3638
+ return typeof window != "undefined" && Be() != null && t ? r = window.setTimeout(
3639
+ () => Nt.set(!0),
3634
3640
  t
3635
- ) : Pt.set(!0), Jn(e).then(() => {
3636
- mt.set(e);
3641
+ ) : Nt.set(!0), Qr(e).then(() => {
3642
+ gt.set(e);
3637
3643
  }).finally(() => {
3638
- clearTimeout(n), Pt.set(!1);
3644
+ clearTimeout(r), Nt.set(!1);
3639
3645
  });
3640
3646
  }
3641
- return mt.set(e);
3642
- }, _e = Ji(qi({}, mt), {
3643
- set: Qi
3644
- }), xt = (e) => {
3647
+ return gt.set(e);
3648
+ }, we = Yi(Qi({}, gt), {
3649
+ set: Ki
3650
+ }), _t = (e) => {
3645
3651
  const t = /* @__PURE__ */ Object.create(null);
3646
- return (r) => {
3647
- const i = JSON.stringify(r);
3648
- return i in t ? t[i] : t[i] = e(r);
3652
+ return (n) => {
3653
+ const i = JSON.stringify(n);
3654
+ return i in t ? t[i] : t[i] = e(n);
3649
3655
  };
3650
3656
  };
3651
- var Yi = Object.defineProperty, dt = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, pn = (e, t, n) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vt = (e, t) => {
3652
- for (var n in t || (t = {}))
3653
- Qn.call(t, n) && pn(e, n, t[n]);
3654
- if (dt)
3655
- for (var n of dt(t))
3656
- Yn.call(t, n) && pn(e, n, t[n]);
3657
+ var ea = Object.defineProperty, bt = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
3658
+ for (var r in t || (t = {}))
3659
+ Yr.call(t, r) && mr(e, r, t[r]);
3660
+ if (bt)
3661
+ for (var r of bt(t))
3662
+ Kr.call(t, r) && mr(e, r, t[r]);
3657
3663
  return e;
3658
- }, ze = (e, t) => {
3659
- var n = {};
3660
- for (var r in e)
3661
- Qn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3662
- if (e != null && dt)
3663
- for (var r of dt(e))
3664
- t.indexOf(r) < 0 && Yn.call(e, r) && (n[r] = e[r]);
3665
- return n;
3664
+ }, Xe = (e, t) => {
3665
+ var r = {};
3666
+ for (var n in e)
3667
+ Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3668
+ if (e != null && bt)
3669
+ for (var n of bt(e))
3670
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
3671
+ return r;
3666
3672
  };
3667
3673
  const nt = (e, t) => {
3668
- const { formats: n } = ke();
3669
- if (e in n && t in n[e])
3670
- return n[e][t];
3674
+ const { formats: r } = je();
3675
+ if (e in r && t in r[e])
3676
+ return r[e][t];
3671
3677
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3672
- }, Ki = xt(
3678
+ }, ta = _t(
3673
3679
  (e) => {
3674
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3675
- if (n == null)
3680
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3681
+ if (r == null)
3676
3682
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3677
- return r && (i = nt("number", r)), new Intl.NumberFormat(n, i);
3683
+ return n && (i = nt("number", n)), new Intl.NumberFormat(r, i);
3678
3684
  }
3679
- ), ea = xt(
3685
+ ), ra = _t(
3680
3686
  (e) => {
3681
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3682
- if (n == null)
3687
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3688
+ if (r == null)
3683
3689
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3684
- return r ? i = nt("date", r) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(n, i);
3690
+ return n ? i = nt("date", n) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(r, i);
3685
3691
  }
3686
- ), ta = xt(
3692
+ ), na = _t(
3687
3693
  (e) => {
3688
- var t = e, { locale: n, format: r } = t, i = ze(t, ["locale", "format"]);
3689
- if (n == null)
3694
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3695
+ if (r == null)
3690
3696
  throw new Error(
3691
3697
  '[svelte-i18n] A "locale" must be set to format time values'
3692
3698
  );
3693
- return r ? i = nt("time", r) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(n, i);
3699
+ return n ? i = nt("time", n) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(r, i);
3694
3700
  }
3695
- ), na = (e = {}) => {
3701
+ ), ia = (e = {}) => {
3696
3702
  var t = e, {
3697
- locale: n = Ae()
3698
- } = t, r = ze(t, [
3703
+ locale: r = Be()
3704
+ } = t, n = Xe(t, [
3699
3705
  "locale"
3700
3706
  ]);
3701
- return Ki(Vt({ locale: n }, r));
3702
- }, ra = (e = {}) => {
3707
+ return ta(Xt({ locale: r }, n));
3708
+ }, aa = (e = {}) => {
3703
3709
  var t = e, {
3704
- locale: n = Ae()
3705
- } = t, r = ze(t, [
3710
+ locale: r = Be()
3711
+ } = t, n = Xe(t, [
3706
3712
  "locale"
3707
3713
  ]);
3708
- return ea(Vt({ locale: n }, r));
3709
- }, ia = (e = {}) => {
3714
+ return ra(Xt({ locale: r }, n));
3715
+ }, oa = (e = {}) => {
3710
3716
  var t = e, {
3711
- locale: n = Ae()
3712
- } = t, r = ze(t, [
3717
+ locale: r = Be()
3718
+ } = t, n = Xe(t, [
3713
3719
  "locale"
3714
3720
  ]);
3715
- return ta(Vt({ locale: n }, r));
3716
- }, aa = xt(
3721
+ return na(Xt({ locale: r }, n));
3722
+ }, sa = _t(
3717
3723
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3718
- (e, t = Ae()) => new Ni(e, t, ke().formats, {
3719
- ignoreTag: ke().ignoreTag
3724
+ (e, t = Be()) => new Li(e, t, je().formats, {
3725
+ ignoreTag: je().ignoreTag
3720
3726
  })
3721
- ), oa = (e, t = {}) => {
3722
- var n, r, i, a;
3727
+ ), ua = (e, t = {}) => {
3728
+ var r, n, i, a;
3723
3729
  let o = t;
3724
3730
  typeof e == "object" && (o = e, e = o.id);
3725
3731
  const {
3726
3732
  values: s,
3727
- locale: c = Ae(),
3733
+ locale: c = Be(),
3728
3734
  default: l
3729
3735
  } = o;
3730
3736
  if (c == null)
3731
3737
  throw new Error(
3732
3738
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3733
3739
  );
3734
- let u = Xn(e, c);
3740
+ let u = Wr(e, c);
3735
3741
  if (!u)
3736
- u = (a = (i = (r = (n = ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3742
+ u = (a = (i = (n = (r = je()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3737
3743
  else if (typeof u != "string")
3738
3744
  return console.warn(
3739
3745
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3742,7 +3748,7 @@ const nt = (e, t) => {
3742
3748
  return u;
3743
3749
  let h = u;
3744
3750
  try {
3745
- h = aa(u, c).format(s);
3751
+ h = sa(u, c).format(s);
3746
3752
  } catch (d) {
3747
3753
  d instanceof Error && console.warn(
3748
3754
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3750,23 +3756,23 @@ const nt = (e, t) => {
3750
3756
  );
3751
3757
  }
3752
3758
  return h;
3753
- }, sa = (e, t) => ia(t).format(e), ua = (e, t) => ra(t).format(e), la = (e, t) => na(t).format(e), ca = (e, t = Ae()) => Xn(e, t), ha = je([_e, Ve], () => oa);
3754
- je([_e], () => sa);
3755
- je([_e], () => ua);
3756
- je([_e], () => la);
3757
- je([_e, Ve], () => ca);
3758
- function fa({ withLocale: e, translations: t }) {
3759
- _e.subscribe((n) => {
3760
- n == null && (Ve.set(t), _e.set(e));
3759
+ }, la = (e, t) => oa(t).format(e), ca = (e, t) => aa(t).format(e), ha = (e, t) => ia(t).format(e), fa = (e, t = Be()) => Wr(e, t), pa = Ve([we, ze], () => ua);
3760
+ Ve([we], () => la);
3761
+ Ve([we], () => ca);
3762
+ Ve([we], () => ha);
3763
+ Ve([we, ze], () => fa);
3764
+ function ma({ withLocale: e, translations: t }) {
3765
+ we.subscribe((r) => {
3766
+ r == null && (ze.set(t), we.set(e));
3761
3767
  });
3762
3768
  }
3763
- function mn(e, t) {
3764
- Zn(e, t);
3769
+ function dr(e, t) {
3770
+ qr(e, t);
3765
3771
  }
3766
- function pa(e) {
3767
- _e.set(e);
3772
+ function da(e) {
3773
+ we.set(e);
3768
3774
  }
3769
- const dn = {
3775
+ const gr = {
3770
3776
  en: {
3771
3777
  vaultExchange: "Vault Exchange",
3772
3778
  debitPlaceHolder: "Debit amount",
@@ -3815,117 +3821,117 @@ const dn = {
3815
3821
  "gm.payments.internal_server_error": "Cüzdan değişiminde bir hata oluştu"
3816
3822
  }
3817
3823
  };
3818
- function ma(e) {
3819
- or(e, "svelte-1d83vyn", "*{margin:0;padding:0}.player-account-vault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;border:1px solid var(--emfe-w-color-primary, #22B04E);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #22B04E) 0px 0px 10px;gap:var(--emw--spacing-medium, 15px)}.player-account-vault .playerVaultContainer{width:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);color:var(--emfe-w-pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-small, 5px);padding:var(--emw--spacing-medium, 10px);box-sizing:border-box}.player-account-vault .playerVaultContainer .balanceContainer{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-normal, 400);gap:var(--emw--spacing-small, 10px);font-family:inherit}.player-account-vault .playerVaultContainer .balanceContainer .playerBalance{font-size:var(--emw--font-size-large, 25px)}.player-account-vault .playerVaultContainer .headerContainer{margin-right:auto;margin-bottom:auto}.player-account-vault .playerVaultContainer .headerContainer h1{width:100%;text-align:center;font-family:inherit;font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-normal, 400)}.player-account-vault .containerExchanges{width:100%;height:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;box-sizing:border-box;position:relative;gap:var(--emw--spacing-small, 10px);background:var(--emfe-w-color-primary, #22B04E);padding:var(--emw--spacing-medium, 20px) var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 25px) var(--emw--spacing-medium, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom,.player-account-vault .containerExchanges .containerExchangeTo{width:inherit;height:inherit;display:flex;flex-direction:column;justify-content:center;align-self:center;gap:var(--emw--spacing-small, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom .exchangeHeader,.player-account-vault .containerExchanges .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;color:var(--emfe-w-color-white, #fff);font-family:inherit}.player-account-vault .containerExchanges .containerExchangeFrom .flexingContainerRow,.player-account-vault .containerExchanges .containerExchangeTo .flexingContainerRow{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--emw--spacing-small, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;gap:var(--emw--spacing-small, 10px);max-width:200px}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect select,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect select{text-align:center;padding:5px 0px;margin:0;border:2px solid var(--emw--button-border-color, #22B04E);color:var(--emfe-w-color-black, #000000)}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect input{width:100%}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect select,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect select{width:100%}.player-account-vault .containerExchanges .exchangeDetailsWrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 20px) var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 25px) var(--emw--spacing-medium, 10px)}.player-account-vault .containerExchanges .containerIconExchange{margin:auto;padding-top:20px}.player-account-vault .containerExchanges .containerIconExchange .iconExchange{width:20px;height:20px;transform:rotateZ(-90deg)}.player-account-vault .containerExchanges .containerIconExchange .iconExchange path{fill:var(--emfe-w-color-white, #fff)}.player-account-vault .containerExchanges .containerIconVault{width:15px;height:15px;position:absolute;top:85%;right:5%;padding:var(--emw--spacing-medium, 10px);background:var(--emfe-w-color-primary, #22B04E);border:3px solid var(--emfe-w-color-white, #fff);border-radius:var(--emw--border-radius-medium, 20px);cursor:pointer}.player-account-vault .containerExchanges .containerIconVault .iconToggleVault{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.player-account-vault .containerExchanges .containerIconVault .iconToggleVault path{fill:var(--emfe-w-color-white, #fff)}.player-account-vault .containerExchanges .containerIconVault.active .iconToggleVault{transform:rotateZ(180deg)}.player-account-vault .vaultDropDown{width:100%;height:0px;margin:0px;display:flex;flex-direction:column;box-sizing:border-box;overflow:auto;scrollbar-width:none;transition:all 0.5s ease-in-out;opacity:0;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 15px);color:var(--emw--color-white, #fff);font-family:inherit}.player-account-vault .vaultDropDown div{display:inherit;flex-direction:row;justify-content:space-between;padding:var(--emw--spacing-medium, 15px) var(--emw--spacing-large, 30px);background:var(--emfe-w-color-primary, #22B04E);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #52474d) 0px 0px 6px}.player-account-vault .vaultDropDown.active{padding:var(--emw--spacing-large, 20px) var(--emw--spacing-medium, 10px);opacity:1}.player-account-vault .notificationsContainer{width:100%;max-height:0px;padding:0px;box-sizing:border-box;transition:all 0.5s ease-in-out}.player-account-vault .notificationsContainer div{text-align:center;padding:var(--emw--spacing-medium, 15px);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #52474d) 0px 0px 6px;color:var(--emfe-w-color-white, #fff);opacity:0;transform:scale(0);transition:inherit;box-sizing:inherit;font-family:inherit}.player-account-vault .notificationsContainer .error{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.player-account-vault .notificationsContainer .success{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-success, var(--emfe-w-color-primary, #22B04E))}.player-account-vault .notificationsContainer .action{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-success, var(--emfe-w-color-primary, #abb022))}.player-account-vault .notificationsContainer.error,.player-account-vault .notificationsContainer.success,.player-account-vault .notificationsContainer.action{max-height:200px;padding:var(--emw--spacing-medium, 10px)}.player-account-vault .actionsContainer{width:100%;height:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--emw--spacing-medium, 10px)}.player-account-vault .actionsContainer button{width:100px;height:30px;border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--font-size-medium, 15px);border-radius:var(--emw--button-border-radius, 5px);background:var(--emfe-w-color-primary, #22B04E);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.player-account-vault .actionsContainer .disabled{cursor:default;background:var(--emfe-w-color-gray-150, #828282)}@media only screen and (max-width: 300px){.player-account-vault .playerVaultContainer .headerContainer h1{text-align:left;font-size:var(--emw--font-size-medium, 15px)}.player-account-vault .playerVaultContainer .balanceContainer p{text-align:right;font-size:var(--emw--font-size-medium, 15px)}.player-account-vault .playerVaultContainer .balanceContainer .playerBalance{font-size:var(--emw--font-size-medium, 20px)}}");
3824
+ function ga(e) {
3825
+ un(e, "svelte-1d83vyn", "*{margin:0;padding:0}.player-account-vault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;border:1px solid var(--emfe-w-color-primary, #22B04E);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #22B04E) 0px 0px 10px;gap:var(--emw--spacing-medium, 15px)}.player-account-vault .playerVaultContainer{width:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);color:var(--emfe-w-pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-small, 5px);padding:var(--emw--spacing-medium, 10px);box-sizing:border-box}.player-account-vault .playerVaultContainer .balanceContainer{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-normal, 400);gap:var(--emw--spacing-small, 10px);font-family:inherit}.player-account-vault .playerVaultContainer .balanceContainer .playerBalance{font-size:var(--emw--font-size-large, 25px)}.player-account-vault .playerVaultContainer .headerContainer{margin-right:auto;margin-bottom:auto}.player-account-vault .playerVaultContainer .headerContainer h1{width:100%;text-align:center;font-family:inherit;font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-normal, 400)}.player-account-vault .containerExchanges{width:100%;height:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;box-sizing:border-box;position:relative;gap:var(--emw--spacing-small, 10px);background:var(--emfe-w-color-primary, #22B04E);padding:var(--emw--spacing-medium, 20px) var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 25px) var(--emw--spacing-medium, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom,.player-account-vault .containerExchanges .containerExchangeTo{width:inherit;height:inherit;display:flex;flex-direction:column;justify-content:center;align-self:center;gap:var(--emw--spacing-small, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom .exchangeHeader,.player-account-vault .containerExchanges .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;color:var(--emfe-w-color-white, #fff);font-family:inherit}.player-account-vault .containerExchanges .containerExchangeFrom .flexingContainerRow,.player-account-vault .containerExchanges .containerExchangeTo .flexingContainerRow{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--emw--spacing-small, 10px)}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;gap:var(--emw--spacing-small, 10px);max-width:200px}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect select,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect select{text-align:center;padding:5px 0px;margin:0;border:2px solid var(--emw--button-border-color, #22B04E);color:var(--emfe-w-color-black, #000000)}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect input,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect input{width:100%}.player-account-vault .containerExchanges .containerExchangeFrom .containerInputSelect select,.player-account-vault .containerExchanges .containerExchangeTo .containerInputSelect select{width:100%}.player-account-vault .containerExchanges .exchangeDetailsWrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 20px) var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 25px) var(--emw--spacing-medium, 10px)}.player-account-vault .containerExchanges .containerIconExchange{margin:auto;padding-top:20px}.player-account-vault .containerExchanges .containerIconExchange .iconExchange{width:20px;height:20px;transform:rotateZ(-90deg)}.player-account-vault .containerExchanges .containerIconExchange .iconExchange path{fill:var(--emfe-w-color-white, #fff)}.player-account-vault .containerExchanges .containerIconVault{width:15px;height:15px;position:absolute;top:85%;right:5%;padding:var(--emw--spacing-medium, 10px);background:var(--emfe-w-color-primary, #22B04E);border:3px solid var(--emfe-w-color-white, #fff);border-radius:var(--emw--border-radius-medium, 20px);cursor:pointer}.player-account-vault .containerExchanges .containerIconVault .iconToggleVault{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.player-account-vault .containerExchanges .containerIconVault .iconToggleVault path{fill:var(--emfe-w-color-white, #fff)}.player-account-vault .containerExchanges .containerIconVault.active .iconToggleVault{transform:rotateZ(180deg)}.player-account-vault .vaultDropDown{width:100%;height:0px;margin:0px;display:flex;flex-direction:column;box-sizing:border-box;overflow:auto;scrollbar-width:none;transition:all 0.5s ease-in-out;opacity:0;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 15px);color:var(--emw--color-white, #fff);font-family:inherit}.player-account-vault .vaultDropDown div{display:inherit;flex-direction:row;justify-content:space-between;padding:var(--emw--spacing-medium, 15px) var(--emw--spacing-large, 30px);background:var(--emfe-w-color-primary, #22B04E);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #52474d) 0px 0px 6px}.player-account-vault .vaultDropDown.active{padding:var(--emw--spacing-large, 20px) var(--emw--spacing-medium, 10px);opacity:1}.player-account-vault .notificationsContainer{width:100%;max-height:0px;padding:0px;box-sizing:border-box;transition:all 0.5s ease-in-out}.player-account-vault .notificationsContainer div{text-align:center;padding:var(--emw--spacing-medium, 15px);border-radius:var(--emw--border-radius-medium, 6px);box-shadow:var(--emfe-w-color-primary, #52474d) 0px 0px 6px;color:var(--emfe-w-color-white, #fff);opacity:0;transform:scale(0);transition:inherit;box-sizing:inherit;font-family:inherit}.player-account-vault .notificationsContainer .error{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.player-account-vault .notificationsContainer .success{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-success, var(--emfe-w-color-primary, #22B04E))}.player-account-vault .notificationsContainer .action{transform:scale(1);opacity:1;background-color:var(--emfe-w-color-success, var(--emfe-w-color-primary, #abb022))}.player-account-vault .notificationsContainer.error,.player-account-vault .notificationsContainer.success,.player-account-vault .notificationsContainer.action{max-height:200px;padding:var(--emw--spacing-medium, 10px)}.player-account-vault .actionsContainer{width:100%;height:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--emw--spacing-medium, 10px)}.player-account-vault .actionsContainer button{width:100px;height:30px;border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--font-size-medium, 15px);border-radius:var(--emw--button-border-radius, 5px);background:var(--emfe-w-color-primary, #22B04E);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.player-account-vault .actionsContainer .disabled{cursor:default;background:var(--emfe-w-color-gray-150, #828282)}@media only screen and (max-width: 300px){.player-account-vault .playerVaultContainer .headerContainer h1{text-align:left;font-size:var(--emw--font-size-medium, 15px)}.player-account-vault .playerVaultContainer .balanceContainer p{text-align:right;font-size:var(--emw--font-size-medium, 15px)}.player-account-vault .playerVaultContainer .balanceContainer .playerBalance{font-size:var(--emw--font-size-medium, 20px)}}");
3820
3826
  }
3821
- function gn(e, t, n) {
3822
- const r = e.slice();
3823
- return r[64] = t[n], r[65] = t, r[66] = n, r;
3827
+ function br(e, t, r) {
3828
+ const n = e.slice();
3829
+ return n[64] = t[r], n[65] = t, n[66] = r, n;
3824
3830
  }
3825
- function bn(e, t, n) {
3826
- const r = e.slice();
3827
- return r[67] = t[n], r;
3831
+ function yr(e, t, r) {
3832
+ const n = e.slice();
3833
+ return n[67] = t[r], n;
3828
3834
  }
3829
- function yn(e, t, n) {
3830
- const r = e.slice();
3831
- return r[67] = t[n], r;
3835
+ function vr(e, t, r) {
3836
+ const n = e.slice();
3837
+ return n[67] = t[r], n;
3832
3838
  }
3833
- function vn(e) {
3834
- let t, n = (
3839
+ function xr(e) {
3840
+ let t, r = (
3835
3841
  /*balance*/
3836
3842
  e[67].currency + ""
3837
- ), r, i, a;
3843
+ ), n, i, a;
3838
3844
  return {
3839
3845
  c() {
3840
- t = E("option"), r = j(n), i = R(), t.__value = a = /*balance*/
3841
- e[67].currency, xe(t, t.__value);
3846
+ t = E("option"), n = j(r), i = R(), t.__value = a = /*balance*/
3847
+ e[67].currency, Ee(t, t.__value);
3842
3848
  },
3843
3849
  m(o, s) {
3844
- Q(o, t, s), m(t, r), m(t, i);
3850
+ Q(o, t, s), m(t, n), m(t, i);
3845
3851
  },
3846
3852
  p(o, s) {
3847
3853
  s[0] & /*playerFilteredBalances*/
3848
- 8192 && n !== (n = /*balance*/
3849
- o[67].currency + "") && W(r, n), s[0] & /*playerFilteredBalances*/
3854
+ 8192 && r !== (r = /*balance*/
3855
+ o[67].currency + "") && W(n, r), s[0] & /*playerFilteredBalances*/
3850
3856
  8192 && a !== (a = /*balance*/
3851
- o[67].currency) && (t.__value = a, xe(t, t.__value));
3857
+ o[67].currency) && (t.__value = a, Ee(t, t.__value));
3852
3858
  },
3853
3859
  d(o) {
3854
3860
  o && Z(t);
3855
3861
  }
3856
3862
  };
3857
3863
  }
3858
- function xn(e) {
3859
- let t, n = (
3864
+ function Er(e) {
3865
+ let t, r = (
3860
3866
  /*balance*/
3861
- e[67].amount > 0 && vn(e)
3867
+ e[67].amount > 0 && xr(e)
3862
3868
  );
3863
3869
  return {
3864
3870
  c() {
3865
- n && n.c(), t = Bn();
3871
+ r && r.c(), t = Sr();
3866
3872
  },
3867
- m(r, i) {
3868
- n && n.m(r, i), Q(r, t, i);
3873
+ m(n, i) {
3874
+ r && r.m(n, i), Q(n, t, i);
3869
3875
  },
3870
- p(r, i) {
3876
+ p(n, i) {
3871
3877
  /*balance*/
3872
- r[67].amount > 0 ? n ? n.p(r, i) : (n = vn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
3878
+ n[67].amount > 0 ? r ? r.p(n, i) : (r = xr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3873
3879
  },
3874
- d(r) {
3875
- r && Z(t), n && n.d(r);
3880
+ d(n) {
3881
+ n && Z(t), r && r.d(n);
3876
3882
  }
3877
3883
  };
3878
3884
  }
3879
- function En(e) {
3880
- let t, n = (
3885
+ function _r(e) {
3886
+ let t, r = (
3881
3887
  /*balance*/
3882
3888
  e[67].currency + ""
3883
- ), r, i, a;
3889
+ ), n, i, a;
3884
3890
  return {
3885
3891
  c() {
3886
- t = E("option"), r = j(n), i = R(), t.__value = a = /*balance*/
3887
- e[67].currency, xe(t, t.__value);
3892
+ t = E("option"), n = j(r), i = R(), t.__value = a = /*balance*/
3893
+ e[67].currency, Ee(t, t.__value);
3888
3894
  },
3889
3895
  m(o, s) {
3890
- Q(o, t, s), m(t, r), m(t, i);
3896
+ Q(o, t, s), m(t, n), m(t, i);
3891
3897
  },
3892
3898
  p(o, s) {
3893
3899
  s[0] & /*playerFilteredBalances*/
3894
- 8192 && n !== (n = /*balance*/
3895
- o[67].currency + "") && W(r, n), s[0] & /*playerFilteredBalances*/
3900
+ 8192 && r !== (r = /*balance*/
3901
+ o[67].currency + "") && W(n, r), s[0] & /*playerFilteredBalances*/
3896
3902
  8192 && a !== (a = /*balance*/
3897
- o[67].currency) && (t.__value = a, xe(t, t.__value));
3903
+ o[67].currency) && (t.__value = a, Ee(t, t.__value));
3898
3904
  },
3899
3905
  d(o) {
3900
3906
  o && Z(t);
3901
3907
  }
3902
3908
  };
3903
3909
  }
3904
- function _n(e) {
3905
- let t, n = (
3910
+ function wr(e) {
3911
+ let t, r = (
3906
3912
  /*selectedCurrencyFrom*/
3907
3913
  e[1] !== /*balance*/
3908
- e[67].currency && En(e)
3914
+ e[67].currency && _r(e)
3909
3915
  );
3910
3916
  return {
3911
3917
  c() {
3912
- n && n.c(), t = Bn();
3918
+ r && r.c(), t = Sr();
3913
3919
  },
3914
- m(r, i) {
3915
- n && n.m(r, i), Q(r, t, i);
3920
+ m(n, i) {
3921
+ r && r.m(n, i), Q(n, t, i);
3916
3922
  },
3917
- p(r, i) {
3923
+ p(n, i) {
3918
3924
  /*selectedCurrencyFrom*/
3919
- r[1] !== /*balance*/
3920
- r[67].currency ? n ? n.p(r, i) : (n = En(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
3925
+ n[1] !== /*balance*/
3926
+ n[67].currency ? r ? r.p(n, i) : (r = _r(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3921
3927
  },
3922
- d(r) {
3923
- r && Z(t), n && n.d(r);
3928
+ d(n) {
3929
+ n && Z(t), r && r.d(n);
3924
3930
  }
3925
3931
  };
3926
3932
  }
3927
- function wn(e) {
3928
- let t, n, r = (
3933
+ function Tr(e) {
3934
+ let t, r, n = (
3929
3935
  /*vault*/
3930
3936
  e[64].currency + ""
3931
3937
  ), i, a, o, s = (
@@ -3944,15 +3950,15 @@ function wn(e) {
3944
3950
  );
3945
3951
  return {
3946
3952
  c() {
3947
- t = E("div"), n = E("p"), i = j(r), a = R(), o = E("p"), c = j(s), l = R(), H(t, "class", "vaultItem");
3953
+ t = E("div"), r = E("p"), i = j(n), a = R(), o = E("p"), c = j(s), l = R(), H(t, "class", "vaultItem");
3948
3954
  },
3949
3955
  m(b, v) {
3950
- Q(b, t, v), m(t, n), m(n, i), m(t, a), m(t, o), m(o, c), m(t, l), h();
3956
+ Q(b, t, v), m(t, r), m(r, i), m(t, a), m(t, o), m(o, c), m(t, l), h();
3951
3957
  },
3952
3958
  p(b, v) {
3953
3959
  e = b, v[0] & /*dropDownVaults*/
3954
- 16384 && r !== (r = /*vault*/
3955
- e[64].currency + "") && W(i, r), v[0] & /*dropDownVaults*/
3960
+ 16384 && n !== (n = /*vault*/
3961
+ e[64].currency + "") && W(i, n), v[0] & /*dropDownVaults*/
3956
3962
  16384 && s !== (s = /*vault*/
3957
3963
  e[64].amount + "") && W(c, s), u !== /*index*/
3958
3964
  e[66] && (d(), u = /*index*/
@@ -3963,17 +3969,17 @@ function wn(e) {
3963
3969
  }
3964
3970
  };
3965
3971
  }
3966
- function da(e) {
3967
- let t, n = (
3972
+ function ba(e) {
3973
+ let t, r = (
3968
3974
  /*$_*/
3969
3975
  e[18]("Exchange") + ""
3970
- ), r, i, a, o = (
3976
+ ), n, i, a, o = (
3971
3977
  /*$_*/
3972
3978
  e[18]("Reset") + ""
3973
3979
  ), s, c, l;
3974
3980
  return {
3975
3981
  c() {
3976
- t = E("button"), r = j(n), i = R(), a = E("button"), s = j(o), t.disabled = /*exchangeDisabled*/
3982
+ t = E("button"), n = j(r), i = R(), a = E("button"), s = j(o), t.disabled = /*exchangeDisabled*/
3977
3983
  e[6], k(
3978
3984
  t,
3979
3985
  "disabled",
@@ -3988,7 +3994,7 @@ function da(e) {
3988
3994
  );
3989
3995
  },
3990
3996
  m(u, h) {
3991
- Q(u, t, h), m(t, r), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
3997
+ Q(u, t, h), m(t, n), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
3992
3998
  te(
3993
3999
  t,
3994
4000
  "click",
@@ -4005,8 +4011,8 @@ function da(e) {
4005
4011
  },
4006
4012
  p(u, h) {
4007
4013
  h[0] & /*$_*/
4008
- 262144 && n !== (n = /*$_*/
4009
- u[18]("Exchange") + "") && W(r, n), h[0] & /*exchangeDisabled*/
4014
+ 262144 && r !== (r = /*$_*/
4015
+ u[18]("Exchange") + "") && W(n, r), h[0] & /*exchangeDisabled*/
4010
4016
  64 && (t.disabled = /*exchangeDisabled*/
4011
4017
  u[6]), h[0] & /*exchangeDisabled*/
4012
4018
  64 && k(
@@ -4027,24 +4033,24 @@ function da(e) {
4027
4033
  );
4028
4034
  },
4029
4035
  d(u) {
4030
- u && (Z(t), Z(i), Z(a)), c = !1, we(l);
4036
+ u && (Z(t), Z(i), Z(a)), c = !1, Te(l);
4031
4037
  }
4032
4038
  };
4033
4039
  }
4034
- function ga(e) {
4035
- let t, n = (
4040
+ function ya(e) {
4041
+ let t, r = (
4036
4042
  /*$_*/
4037
4043
  e[18]("Accept") + ""
4038
- ), r, i, a, o = (
4044
+ ), n, i, a, o = (
4039
4045
  /*$_*/
4040
4046
  e[18]("Decline") + ""
4041
4047
  ), s, c, l;
4042
4048
  return {
4043
4049
  c() {
4044
- t = E("button"), r = j(n), i = R(), a = E("button"), s = j(o);
4050
+ t = E("button"), n = j(r), i = R(), a = E("button"), s = j(o);
4045
4051
  },
4046
4052
  m(u, h) {
4047
- Q(u, t, h), m(t, r), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
4053
+ Q(u, t, h), m(t, n), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
4048
4054
  te(
4049
4055
  t,
4050
4056
  "click",
@@ -4061,18 +4067,18 @@ function ga(e) {
4061
4067
  },
4062
4068
  p(u, h) {
4063
4069
  h[0] & /*$_*/
4064
- 262144 && n !== (n = /*$_*/
4065
- u[18]("Accept") + "") && W(r, n), h[0] & /*$_*/
4070
+ 262144 && r !== (r = /*$_*/
4071
+ u[18]("Accept") + "") && W(n, r), h[0] & /*$_*/
4066
4072
  262144 && o !== (o = /*$_*/
4067
4073
  u[18]("Decline") + "") && W(s, o);
4068
4074
  },
4069
4075
  d(u) {
4070
- u && (Z(t), Z(i), Z(a)), c = !1, we(l);
4076
+ u && (Z(t), Z(i), Z(a)), c = !1, Te(l);
4071
4077
  }
4072
4078
  };
4073
4079
  }
4074
- function ba(e) {
4075
- let t, n, r, i, a = (
4080
+ function va(e) {
4081
+ let t, r, n, i, a = (
4076
4082
  /*$_*/
4077
4083
  e[18]("vaultExchange") + ""
4078
4084
  ), o, s, c, l, u = (
@@ -4081,74 +4087,74 @@ function ba(e) {
4081
4087
  ), h, d, b, v = (
4082
4088
  /*playerBalance*/
4083
4089
  e[15].amount + ""
4084
- ), I, F, N = (
4090
+ ), P, F, I = (
4085
4091
  /*playerBalance*/
4086
4092
  e[15].currency + ""
4087
- ), D, U, P, O, q, ne = (
4093
+ ), D, U, C, O, q, re = (
4088
4094
  /*$_*/
4089
4095
  e[18]("exchangeFrom") + ""
4090
- ), se, Te, he, fe, V, J, pe, G, Be, Y, Xe, re, me, Se = (
4096
+ ), se, He, fe, pe, V, J, me, G, Se, Y, We, ne, de, Ce = (
4091
4097
  /*$_*/
4092
4098
  e[18]("exchangeTo") + ""
4093
- ), We, Ze, de, $, Ce, Pe, rt, ie, qe, be, ye, Je, Ie, Qe, M, ge, it, K, ae, Ne, Oe = (
4099
+ ), Ze, qe, ge, $, Pe, Ie, it, ie, Je, ye, ve, Qe, Ne, Ye, M, be, at, K, ae, Oe, Le = (
4094
4100
  /*$_*/
4095
4101
  e[18](
4096
4102
  /*errorCode*/
4097
4103
  e[3]
4098
4104
  ) + ""
4099
- ), at, He, p, y, S = Me(
4105
+ ), ot, Ae, p, y, B = Re(
4100
4106
  /*playerFilteredBalances*/
4101
4107
  e[13]
4102
4108
  ), x = [];
4103
- for (let f = 0; f < S.length; f += 1)
4104
- x[f] = xn(yn(e, S, f));
4105
- let w = Me(
4109
+ for (let f = 0; f < B.length; f += 1)
4110
+ x[f] = Er(vr(e, B, f));
4111
+ let w = Re(
4106
4112
  /*playerFilteredBalances*/
4107
4113
  e[13]
4108
4114
  ), L = [];
4109
4115
  for (let f = 0; f < w.length; f += 1)
4110
- L[f] = _n(bn(e, w, f));
4111
- let ue = Me(
4116
+ L[f] = wr(yr(e, w, f));
4117
+ let ue = Re(
4112
4118
  /*dropDownVaults*/
4113
4119
  e[14]
4114
4120
  ), z = [];
4115
4121
  for (let f = 0; f < ue.length; f += 1)
4116
- z[f] = wn(gn(e, ue, f));
4117
- function zt(f, A) {
4122
+ z[f] = Tr(br(e, ue, f));
4123
+ function Wt(f, A) {
4118
4124
  return (
4119
4125
  /*hasTransactionFee*/
4120
4126
  f[12] && !/*isFeeAccepted*/
4121
- f[11] ? ga : da
4127
+ f[11] ? ya : ba
4122
4128
  );
4123
4129
  }
4124
- let ot = zt(e), le = ot(e);
4130
+ let st = Wt(e), le = st(e);
4125
4131
  return {
4126
4132
  c() {
4127
- t = E("div"), n = E("div"), r = E("div"), i = E("h1"), o = j(a), s = R(), c = E("div"), l = E("p"), h = j(u), d = R(), b = E("p"), I = j(v), F = R(), D = j(N), U = R(), P = E("div"), O = E("div"), q = E("p"), se = j(ne), Te = R(), he = E("div"), fe = E("div"), V = E("input"), pe = R(), G = E("select");
4133
+ t = E("div"), r = E("div"), n = E("div"), i = E("h1"), o = j(a), s = R(), c = E("div"), l = E("p"), h = j(u), d = R(), b = E("p"), P = j(v), F = R(), D = j(I), U = R(), C = E("div"), O = E("div"), q = E("p"), se = j(re), He = R(), fe = E("div"), pe = E("div"), V = E("input"), me = R(), G = E("select");
4128
4134
  for (let f = 0; f < x.length; f += 1)
4129
4135
  x[f].c();
4130
- Be = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', Xe = R(), re = E("div"), me = E("p"), We = j(Se), Ze = R(), de = E("div"), $ = E("input"), rt = R(), ie = E("select");
4136
+ Se = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', We = R(), ne = E("div"), de = E("p"), Ze = j(Ce), qe = R(), ge = E("div"), $ = E("input"), it = R(), ie = E("select");
4131
4137
  for (let f = 0; f < L.length; f += 1)
4132
4138
  L[f].c();
4133
- qe = R(), be = E("div"), ye = Jt("svg"), Je = Jt("path"), Qe = R(), M = E("div");
4139
+ Je = R(), ye = E("div"), ve = Yt("svg"), Qe = Yt("path"), Ye = R(), M = E("div");
4134
4140
  for (let f = 0; f < z.length; f += 1)
4135
4141
  z[f].c();
4136
- it = R(), K = E("div"), ae = E("div"), Ne = E("p"), at = R(), He = E("div"), le.c(), H(r, "class", "headerContainer"), H(b, "class", "playerBalance"), H(c, "class", "balanceContainer"), H(n, "class", "playerVaultContainer"), H(q, "class", "exchangeHeader"), H(V, "placeholder", J = /*$_*/
4142
+ at = R(), K = E("div"), ae = E("div"), Oe = E("p"), ot = R(), Ae = E("div"), le.c(), H(n, "class", "headerContainer"), H(b, "class", "playerBalance"), H(c, "class", "balanceContainer"), H(r, "class", "playerVaultContainer"), H(q, "class", "exchangeHeader"), H(V, "placeholder", J = /*$_*/
4137
4143
  e[18]("debitPlaceHolder")), H(V, "type", "number"), H(V, "min", "0"), /*selectedCurrencyFrom*/
4138
- e[1] === void 0 && et(() => (
4144
+ e[1] === void 0 && tt(() => (
4139
4145
  /*select0_change_handler*/
4140
4146
  e[33].call(G)
4141
- )), H(fe, "class", "containerInputSelect"), H(he, "class", "flexingContainerRow"), H(O, "class", "containerExchangeFrom"), H(Y, "class", "containerIconExchange"), H(me, "class", "exchangeHeader"), $.disabled = Ce = /*inputExchangeFrom*/
4142
- e[4] === 0, H($, "placeholder", Pe = /*$_*/
4147
+ )), H(pe, "class", "containerInputSelect"), H(fe, "class", "flexingContainerRow"), H(O, "class", "containerExchangeFrom"), H(Y, "class", "containerIconExchange"), H(de, "class", "exchangeHeader"), $.disabled = Pe = /*inputExchangeFrom*/
4148
+ e[4] === 0, H($, "placeholder", Ie = /*$_*/
4143
4149
  e[18]("creditPlaceHolder")), H($, "type", "number"), H($, "min", "0"), $.readOnly = !0, /*selectedCurrencyTo*/
4144
- e[2] === void 0 && et(() => (
4150
+ e[2] === void 0 && tt(() => (
4145
4151
  /*select1_change_handler*/
4146
4152
  e[35].call(ie)
4147
- )), H(de, "class", "containerInputSelect"), H(re, "class", "containerExchangeTo"), H(Je, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), H(ye, "xmlns", "http://www.w3.org/2000/svg"), H(ye, "viewBox", "6 5 20 20"), H(ye, "class", "iconToggleVault"), H(be, "class", Ie = "containerIconVault " + /*isVaultDropDownToggled*/
4153
+ )), H(ge, "class", "containerInputSelect"), H(ne, "class", "containerExchangeTo"), H(Qe, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), H(ve, "xmlns", "http://www.w3.org/2000/svg"), H(ve, "viewBox", "6 5 20 20"), H(ve, "class", "iconToggleVault"), H(ye, "class", Ne = "containerIconVault " + /*isVaultDropDownToggled*/
4148
4154
  (e[7] && /*dropDownVaults*/
4149
- e[14].length > 0 ? "active" : "")), H(P, "class", "containerExchanges"), H(M, "class", ge = "vaultDropDown " + /*isVaultDropDownToggled*/
4155
+ e[14].length > 0 ? "active" : "")), H(C, "class", "containerExchanges"), H(M, "class", be = "vaultDropDown " + /*isVaultDropDownToggled*/
4150
4156
  (e[7] && /*dropDownVaults*/
4151
- e[14].length > 0 ? "active" : "")), Qt(
4157
+ e[14].length > 0 ? "active" : "")), Kt(
4152
4158
  M,
4153
4159
  "height",
4154
4160
  /*calculateHeight*/
@@ -4183,37 +4189,37 @@ function ba(e) {
4183
4189
  "action",
4184
4190
  /*isAction*/
4185
4191
  e[10]
4186
- ), H(He, "class", "actionsContainer"), H(t, "class", "player-account-vault");
4192
+ ), H(Ae, "class", "actionsContainer"), H(t, "class", "player-account-vault");
4187
4193
  },
4188
4194
  m(f, A) {
4189
- Q(f, t, A), m(t, n), m(n, r), m(r, i), m(i, o), m(n, s), m(n, c), m(c, l), m(l, h), m(c, d), m(c, b), m(b, I), m(b, F), m(b, D), m(t, U), m(t, P), m(P, O), m(O, q), m(q, se), m(O, Te), m(O, he), m(he, fe), m(fe, V), xe(
4195
+ Q(f, t, A), m(t, r), m(r, n), m(n, i), m(i, o), m(r, s), m(r, c), m(c, l), m(l, h), m(c, d), m(c, b), m(b, P), m(b, F), m(b, D), m(t, U), m(t, C), m(C, O), m(O, q), m(q, se), m(O, He), m(O, fe), m(fe, pe), m(pe, V), Ee(
4190
4196
  V,
4191
4197
  /*inputExchangeFrom*/
4192
4198
  e[4]
4193
- ), m(fe, pe), m(fe, G);
4199
+ ), m(pe, me), m(pe, G);
4194
4200
  for (let g = 0; g < x.length; g += 1)
4195
4201
  x[g] && x[g].m(G, null);
4196
- st(
4202
+ ut(
4197
4203
  G,
4198
4204
  /*selectedCurrencyFrom*/
4199
4205
  e[1],
4200
4206
  !0
4201
- ), m(P, Be), m(P, Y), m(P, Xe), m(P, re), m(re, me), m(me, We), m(re, Ze), m(re, de), m(de, $), xe(
4207
+ ), m(C, Se), m(C, Y), m(C, We), m(C, ne), m(ne, de), m(de, Ze), m(ne, qe), m(ne, ge), m(ge, $), Ee(
4202
4208
  $,
4203
4209
  /*inputExchangeTo*/
4204
4210
  e[5]
4205
- ), m(de, rt), m(de, ie);
4211
+ ), m(ge, it), m(ge, ie);
4206
4212
  for (let g = 0; g < L.length; g += 1)
4207
4213
  L[g] && L[g].m(ie, null);
4208
- st(
4214
+ ut(
4209
4215
  ie,
4210
4216
  /*selectedCurrencyTo*/
4211
4217
  e[2],
4212
4218
  !0
4213
- ), m(P, qe), m(P, be), m(be, ye), m(ye, Je), m(t, Qe), m(t, M);
4219
+ ), m(C, Je), m(C, ye), m(ye, ve), m(ve, Qe), m(t, Ye), m(t, M);
4214
4220
  for (let g = 0; g < z.length; g += 1)
4215
4221
  z[g] && z[g].m(M, null);
4216
- e[38](M), m(t, it), m(t, K), m(K, ae), m(ae, Ne), Ne.innerHTML = Oe, m(t, at), m(t, He), le.m(He, null), p || (y = [
4222
+ e[38](M), m(t, at), m(t, K), m(K, ae), m(ae, Oe), Oe.innerHTML = Le, m(t, ot), m(t, Ae), le.m(Ae, null), p || (y = [
4217
4223
  te(
4218
4224
  V,
4219
4225
  "input",
@@ -4257,7 +4263,7 @@ function ba(e) {
4257
4263
  e[20]
4258
4264
  ),
4259
4265
  te(
4260
- be,
4266
+ ye,
4261
4267
  "click",
4262
4268
  /*click_handler*/
4263
4269
  e[36]
@@ -4271,103 +4277,103 @@ function ba(e) {
4271
4277
  262144 && u !== (u = /*$_*/
4272
4278
  f[18]("currentBalance") + "") && W(h, u), A[0] & /*playerBalance*/
4273
4279
  32768 && v !== (v = /*playerBalance*/
4274
- f[15].amount + "") && W(I, v), A[0] & /*playerBalance*/
4275
- 32768 && N !== (N = /*playerBalance*/
4276
- f[15].currency + "") && W(D, N), A[0] & /*$_*/
4277
- 262144 && ne !== (ne = /*$_*/
4278
- f[18]("exchangeFrom") + "") && W(se, ne), A[0] & /*$_*/
4280
+ f[15].amount + "") && W(P, v), A[0] & /*playerBalance*/
4281
+ 32768 && I !== (I = /*playerBalance*/
4282
+ f[15].currency + "") && W(D, I), A[0] & /*$_*/
4283
+ 262144 && re !== (re = /*$_*/
4284
+ f[18]("exchangeFrom") + "") && W(se, re), A[0] & /*$_*/
4279
4285
  262144 && J !== (J = /*$_*/
4280
4286
  f[18]("debitPlaceHolder")) && H(V, "placeholder", J), A[0] & /*inputExchangeFrom*/
4281
- 16 && ft(V.value) !== /*inputExchangeFrom*/
4282
- f[4] && xe(
4287
+ 16 && pt(V.value) !== /*inputExchangeFrom*/
4288
+ f[4] && Ee(
4283
4289
  V,
4284
4290
  /*inputExchangeFrom*/
4285
4291
  f[4]
4286
4292
  ), A[0] & /*playerFilteredBalances*/
4287
4293
  8192) {
4288
- S = Me(
4294
+ B = Re(
4289
4295
  /*playerFilteredBalances*/
4290
4296
  f[13]
4291
4297
  );
4292
4298
  let g;
4293
- for (g = 0; g < S.length; g += 1) {
4294
- const ve = yn(f, S, g);
4295
- x[g] ? x[g].p(ve, A) : (x[g] = xn(ve), x[g].c(), x[g].m(G, null));
4299
+ for (g = 0; g < B.length; g += 1) {
4300
+ const xe = vr(f, B, g);
4301
+ x[g] ? x[g].p(xe, A) : (x[g] = Er(xe), x[g].c(), x[g].m(G, null));
4296
4302
  }
4297
4303
  for (; g < x.length; g += 1)
4298
4304
  x[g].d(1);
4299
- x.length = S.length;
4305
+ x.length = B.length;
4300
4306
  }
4301
4307
  if (A[0] & /*selectedCurrencyFrom, playerFilteredBalances*/
4302
- 8194 && st(
4308
+ 8194 && ut(
4303
4309
  G,
4304
4310
  /*selectedCurrencyFrom*/
4305
4311
  f[1]
4306
4312
  ), A[0] & /*$_*/
4307
- 262144 && Se !== (Se = /*$_*/
4308
- f[18]("exchangeTo") + "") && W(We, Se), A[0] & /*inputExchangeFrom*/
4309
- 16 && Ce !== (Ce = /*inputExchangeFrom*/
4310
- f[4] === 0) && ($.disabled = Ce), A[0] & /*$_*/
4311
- 262144 && Pe !== (Pe = /*$_*/
4312
- f[18]("creditPlaceHolder")) && H($, "placeholder", Pe), A[0] & /*inputExchangeTo*/
4313
- 32 && ft($.value) !== /*inputExchangeTo*/
4314
- f[5] && xe(
4313
+ 262144 && Ce !== (Ce = /*$_*/
4314
+ f[18]("exchangeTo") + "") && W(Ze, Ce), A[0] & /*inputExchangeFrom*/
4315
+ 16 && Pe !== (Pe = /*inputExchangeFrom*/
4316
+ f[4] === 0) && ($.disabled = Pe), A[0] & /*$_*/
4317
+ 262144 && Ie !== (Ie = /*$_*/
4318
+ f[18]("creditPlaceHolder")) && H($, "placeholder", Ie), A[0] & /*inputExchangeTo*/
4319
+ 32 && pt($.value) !== /*inputExchangeTo*/
4320
+ f[5] && Ee(
4315
4321
  $,
4316
4322
  /*inputExchangeTo*/
4317
4323
  f[5]
4318
4324
  ), A[0] & /*playerFilteredBalances, selectedCurrencyFrom*/
4319
4325
  8194) {
4320
- w = Me(
4326
+ w = Re(
4321
4327
  /*playerFilteredBalances*/
4322
4328
  f[13]
4323
4329
  );
4324
4330
  let g;
4325
4331
  for (g = 0; g < w.length; g += 1) {
4326
- const ve = bn(f, w, g);
4327
- L[g] ? L[g].p(ve, A) : (L[g] = _n(ve), L[g].c(), L[g].m(ie, null));
4332
+ const xe = yr(f, w, g);
4333
+ L[g] ? L[g].p(xe, A) : (L[g] = wr(xe), L[g].c(), L[g].m(ie, null));
4328
4334
  }
4329
4335
  for (; g < L.length; g += 1)
4330
4336
  L[g].d(1);
4331
4337
  L.length = w.length;
4332
4338
  }
4333
4339
  if (A[0] & /*selectedCurrencyTo, playerFilteredBalances*/
4334
- 8196 && st(
4340
+ 8196 && ut(
4335
4341
  ie,
4336
4342
  /*selectedCurrencyTo*/
4337
4343
  f[2]
4338
4344
  ), A[0] & /*isVaultDropDownToggled, dropDownVaults*/
4339
- 16512 && Ie !== (Ie = "containerIconVault " + /*isVaultDropDownToggled*/
4345
+ 16512 && Ne !== (Ne = "containerIconVault " + /*isVaultDropDownToggled*/
4340
4346
  (f[7] && /*dropDownVaults*/
4341
- f[14].length > 0 ? "active" : "")) && H(be, "class", Ie), A[0] & /*elements, dropDownVaults*/
4347
+ f[14].length > 0 ? "active" : "")) && H(ye, "class", Ne), A[0] & /*elements, dropDownVaults*/
4342
4348
  147456) {
4343
- ue = Me(
4349
+ ue = Re(
4344
4350
  /*dropDownVaults*/
4345
4351
  f[14]
4346
4352
  );
4347
4353
  let g;
4348
4354
  for (g = 0; g < ue.length; g += 1) {
4349
- const ve = gn(f, ue, g);
4350
- z[g] ? z[g].p(ve, A) : (z[g] = wn(ve), z[g].c(), z[g].m(M, null));
4355
+ const xe = br(f, ue, g);
4356
+ z[g] ? z[g].p(xe, A) : (z[g] = Tr(xe), z[g].c(), z[g].m(M, null));
4351
4357
  }
4352
4358
  for (; g < z.length; g += 1)
4353
4359
  z[g].d(1);
4354
4360
  z.length = ue.length;
4355
4361
  }
4356
4362
  A[0] & /*isVaultDropDownToggled, dropDownVaults*/
4357
- 16512 && ge !== (ge = "vaultDropDown " + /*isVaultDropDownToggled*/
4363
+ 16512 && be !== (be = "vaultDropDown " + /*isVaultDropDownToggled*/
4358
4364
  (f[7] && /*dropDownVaults*/
4359
- f[14].length > 0 ? "active" : "")) && H(M, "class", ge), A[0] & /*calculateHeight*/
4360
- 1 && Qt(
4365
+ f[14].length > 0 ? "active" : "")) && H(M, "class", be), A[0] & /*calculateHeight*/
4366
+ 1 && Kt(
4361
4367
  M,
4362
4368
  "height",
4363
4369
  /*calculateHeight*/
4364
4370
  f[0]
4365
4371
  ), A[0] & /*$_, errorCode*/
4366
- 262152 && Oe !== (Oe = /*$_*/
4372
+ 262152 && Le !== (Le = /*$_*/
4367
4373
  f[18](
4368
4374
  /*errorCode*/
4369
4375
  f[3]
4370
- ) + "") && (Ne.innerHTML = Oe), A[0] & /*isError*/
4376
+ ) + "") && (Oe.innerHTML = Le), A[0] & /*isError*/
4371
4377
  256 && k(
4372
4378
  ae,
4373
4379
  "error",
@@ -4403,110 +4409,110 @@ function ba(e) {
4403
4409
  "action",
4404
4410
  /*isAction*/
4405
4411
  f[10]
4406
- ), ot === (ot = zt(f)) && le ? le.p(f, A) : (le.d(1), le = ot(f), le && (le.c(), le.m(He, null)));
4412
+ ), st === (st = Wt(f)) && le ? le.p(f, A) : (le.d(1), le = st(f), le && (le.c(), le.m(Ae, null)));
4407
4413
  },
4408
4414
  i: oe,
4409
4415
  o: oe,
4410
4416
  d(f) {
4411
- f && Z(t), wt(x, f), wt(L, f), wt(z, f), e[38](null), le.d(), p = !1, we(y);
4417
+ f && Z(t), Ht(x, f), Ht(L, f), Ht(z, f), e[38](null), le.d(), p = !1, Te(y);
4412
4418
  }
4413
4419
  };
4414
4420
  }
4415
- function ya(e, t) {
4416
- let n;
4417
- return function(...r) {
4418
- n && clearTimeout(n), n = setTimeout(
4421
+ function xa(e, t) {
4422
+ let r;
4423
+ return function(...n) {
4424
+ r && clearTimeout(r), r = setTimeout(
4419
4425
  () => {
4420
- e.apply(r);
4426
+ e.apply(n);
4421
4427
  },
4422
4428
  t
4423
4429
  );
4424
4430
  };
4425
4431
  }
4426
- function va(e, t, n) {
4427
- let r;
4428
- ar(e, ha, (p) => n(18, r = p));
4429
- let { session: i = "", userid: a = "", endpoint: o = "", lang: s = "en" } = t, { clientstyling: c = "", clientstylingurl: l = "", translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", I = "", F = "", N = 0, D = 0, U = 0, P = !0, O = !1, q = !1, ne = !1, se = !1, Te = !0, he = !1, fe = [], V = [], J = [], pe = [], G = [], Be = [], Y = {}, Xe = {}, re = null, me = [];
4430
- const Se = () => {
4431
- pa(s);
4432
+ function Ea(e, t, r) {
4433
+ let n;
4434
+ sn(e, pa, (p) => r(18, n = p));
4435
+ let { session: i = "", userid: a = "", endpoint: o = "", lang: s = "en" } = t, { clientstyling: c = "", clientstylingurl: l = "", translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", P = "", F = "", I = 0, D = 0, U = 0, C = !0, O = !1, q = !1, re = !1, se = !1, He = !0, fe = !1, pe = [], V = [], J = [], me = [], G = [], Se = [], Y = {}, We = {}, ne = null, de = [];
4436
+ const Ce = () => {
4437
+ da(s);
4432
4438
  };
4433
- fa({ withLocale: "en", translations: {} });
4434
- const We = () => {
4439
+ ma({ withLocale: "en", translations: {} });
4440
+ const Ze = () => {
4435
4441
  fetch(u).then((y) => y.json()).then((y) => {
4436
- Object.keys(y).forEach((S) => {
4437
- mn(S, y[S]);
4442
+ Object.keys(y).forEach((B) => {
4443
+ dr(B, y[B]);
4438
4444
  });
4439
4445
  }).catch((y) => {
4440
4446
  console.error("There was a problem with the translations request.", y);
4441
4447
  });
4442
4448
  };
4443
- Object.keys(dn).forEach((p) => {
4444
- mn(p, dn[p]);
4449
+ Object.keys(gr).forEach((p) => {
4450
+ dr(p, gr[p]);
4445
4451
  });
4446
- const Ze = (p) => {
4447
- O && G.length === 0 || (p.preventDefault(), n(7, O = !O), n(0, d = O ? de() : "0px"));
4448
- }, de = () => {
4452
+ const qe = (p) => {
4453
+ O && G.length === 0 || (p.preventDefault(), r(7, O = !O), r(0, d = O ? ge() : "0px"));
4454
+ }, ge = () => {
4449
4455
  var w;
4450
4456
  if (G.length === 0)
4451
- return n(0, d = "0px");
4452
- const p = (w = me[0]) == null ? void 0 : w.clientHeight, y = G.length, S = 30, x = parseFloat(getComputedStyle(re).getPropertyValue("gap"));
4453
- return n(0, d = `${y * p + y * x + S}px`);
4457
+ return r(0, d = "0px");
4458
+ const p = (w = de[0]) == null ? void 0 : w.clientHeight, y = G.length, B = 30, x = parseFloat(getComputedStyle(ne).getPropertyValue("gap"));
4459
+ return r(0, d = `${y * p + y * x + B}px`);
4454
4460
  }, $ = () => new Promise((p, y) => {
4455
- let S = new URL(`${o}/v2/player/${a}/balance`);
4456
- fetch(S, {
4461
+ let B = new URL(`${o}/v2/player/${a}/balance`);
4462
+ fetch(B, {
4457
4463
  method: "GET",
4458
4464
  headers: {
4459
4465
  "X-SessionID": i,
4460
4466
  "Content-Type": "application/json",
4461
4467
  Accept: "application/json"
4462
4468
  }
4463
- }).then((w) => ge(w)).then((w) => {
4464
- w && (n(13, J = []), V = [], pe = [], n(14, G = []), fe = w.items, Pe().then((L) => {
4469
+ }).then((w) => be(w)).then((w) => {
4470
+ w && (r(13, J = []), V = [], me = [], r(14, G = []), pe = w.items, Ie().then((L) => {
4465
4471
  L.forEach((ue) => {
4466
- Be.push(ue.code);
4467
- }), Ce(w), p();
4472
+ Se.push(ue.code);
4473
+ }), Pe(w), p();
4468
4474
  }));
4469
4475
  }).catch((w) => {
4470
- y(), M("error", r("generalError")), console.error("There was an error with the player balance request.", w);
4476
+ y(), M("error", n("generalError")), console.error("There was an error with the player balance request.", w);
4471
4477
  });
4472
- }), Ce = (p) => {
4473
- if (fe.forEach((y) => {
4474
- if (y.type === "Real" && !(!Be.includes(y.currency) && Be.length > 0))
4475
- switch (n(13, J = J.concat(y)), y.walletAccountType) {
4478
+ }), Pe = (p) => {
4479
+ if (pe.forEach((y) => {
4480
+ if (y.type === "Real" && !(!Se.includes(y.currency) && Se.length > 0))
4481
+ switch (r(13, J = J.concat(y)), y.walletAccountType) {
4476
4482
  case "Ordinary":
4477
4483
  V = V.concat(y);
4478
4484
  break;
4479
4485
  case "Vault":
4480
- if (pe = pe.concat(y), y.amount === 0)
4486
+ if (me = me.concat(y), y.amount === 0)
4481
4487
  return;
4482
- n(14, G = G.concat(y));
4488
+ r(14, G = G.concat(y));
4483
4489
  break;
4484
4490
  }
4485
- }), n(15, Y = Object.entries(p.totalCashAmount).map(([y, S]) => ({ currency: y, amount: S }))[0]), Y.amount === 0 && !pe.find((y) => y.amount > 0))
4486
- return M("error", r("userHasNoBalances"));
4487
- n(1, b = Y.amount === 0 ? pe.find((y) => y.amount > 0).currency : Y.currency), n(2, v = Y.amount === 0 ? Y.currency : pe.find((y) => y.type === "Real").currency);
4488
- }, Pe = () => new Promise((p, y) => {
4489
- let S = new URL(`${o}/v1/player/${a}/wallet-exchange/currencies`);
4490
- fetch(S, {
4491
+ }), r(15, Y = Object.entries(p.totalCashAmount).map(([y, B]) => ({ currency: y, amount: B }))[0]), Y.amount === 0 && !me.find((y) => y.amount > 0))
4492
+ return M("error", n("userHasNoBalances"));
4493
+ r(1, b = Y.amount === 0 ? me.find((y) => y.amount > 0).currency : Y.currency), r(2, v = Y.amount === 0 ? Y.currency : me.find((y) => y.type === "Real").currency);
4494
+ }, Ie = () => new Promise((p, y) => {
4495
+ let B = new URL(`${o}/v1/player/${a}/wallet-exchange/currencies`);
4496
+ fetch(B, {
4491
4497
  method: "GET",
4492
4498
  headers: {
4493
4499
  "X-SessionId": i,
4494
4500
  "Content-Type": "application/json",
4495
4501
  Accept: "application/json"
4496
4502
  }
4497
- }).then((w) => ge(w)).then((w) => {
4503
+ }).then((w) => be(w)).then((w) => {
4498
4504
  w.length !== 0 && p(w.currencies);
4499
4505
  }).catch((w) => {
4500
- y(), M("error", r("generalError")), console.error("There was an error on the allowed currencies request.", w);
4506
+ y(), M("error", n("generalError")), console.error("There was an error on the allowed currencies request.", w);
4501
4507
  });
4502
- }), rt = () => new Promise((p, y) => {
4508
+ }), it = () => new Promise((p, y) => {
4503
4509
  var x;
4504
- b === v && n(2, v = (x = J.find((w) => w.currency !== b)) == null ? void 0 : x.currency), N <= 0 && (Qe(), y());
4505
- const S = J.find((w) => w.currency === b);
4506
- N > S.amount && n(4, N = S.amount), p();
4510
+ b === v && r(2, v = (x = J.find((w) => w.currency !== b)) == null ? void 0 : x.currency), I <= 0 && (Ye(), y());
4511
+ const B = J.find((w) => w.currency === b);
4512
+ I > B.amount && r(4, I = B.amount), p();
4507
4513
  }), ie = () => {
4508
- rt().then(() => {
4509
- let p = new URL(`${o}/v2/player/${a}/check/wallet-exchange`), S = {
4514
+ it().then(() => {
4515
+ let p = new URL(`${o}/v2/player/${a}/check/wallet-exchange`), B = {
4510
4516
  method: "POST",
4511
4517
  headers: {
4512
4518
  "X-SessionID": i,
@@ -4515,32 +4521,32 @@ function va(e, t, n) {
4515
4521
  },
4516
4522
  body: JSON.stringify({
4517
4523
  userId: a,
4518
- amount: N,
4524
+ amount: I,
4519
4525
  currency: b,
4520
4526
  fromCurrency: b,
4521
4527
  toCurrency: v,
4522
4528
  payload: { PlayerCurrency: h }
4523
4529
  })
4524
4530
  };
4525
- fetch(p, S).then((x) => ge(x)).then((x) => {
4531
+ fetch(p, B).then((x) => be(x)).then((x) => {
4526
4532
  if (!x)
4527
4533
  return;
4528
- if (n(12, he = !1), n(11, Te = !1), n(10, se = !1), x.feeDetails && x.feeDetails.fees.length > 0) {
4529
- n(12, he = !0);
4534
+ if (r(12, fe = !1), r(11, He = !1), r(10, se = !1), x.feeDetails && x.feeDetails.fees.length > 0) {
4535
+ r(12, fe = !0);
4530
4536
  let L = x.feeDetails.fees.find((ue) => ue.id);
4531
- Je(L);
4537
+ Qe(L);
4532
4538
  } else
4533
- n(6, P = !1);
4539
+ r(6, C = !1);
4534
4540
  const w = x.walletActions.find((L) => L.directionName === "Credit").amount;
4535
- n(5, D = qe(w));
4541
+ r(5, D = Je(w));
4536
4542
  }).catch((x) => {
4537
- M("error", r("generalError")), console.error("There was a problem with the wallet exchange request.", x);
4543
+ M("error", n("generalError")), console.error("There was a problem with the wallet exchange request.", x);
4538
4544
  });
4539
4545
  }).catch((p) => {
4540
- M("error", r("walletExchangeError"));
4546
+ M("error", n("walletExchangeError"));
4541
4547
  });
4542
- }, qe = (p) => Math.abs(p) < 1e-6 || Math.abs(p) >= 1e6 ? p.toFixed(12).replace(/\.?0+$/, "") : p.toString(), be = ya(ie, 500), ye = () => {
4543
- let p = new URL(`${o}/v2/player/${a}/wallet-exchange`), S = {
4548
+ }, Je = (p) => Math.abs(p) < 1e-6 || Math.abs(p) >= 1e6 ? p.toFixed(12).replace(/\.?0+$/, "") : p.toString(), ye = xa(ie, 500), ve = () => {
4549
+ let p = new URL(`${o}/v2/player/${a}/wallet-exchange`), B = {
4544
4550
  method: "PUT",
4545
4551
  headers: {
4546
4552
  "X-SessionID": i,
@@ -4549,43 +4555,43 @@ function va(e, t, n) {
4549
4555
  },
4550
4556
  body: JSON.stringify({
4551
4557
  userId: a,
4552
- amount: N,
4558
+ amount: I,
4553
4559
  currency: b,
4554
4560
  fromCurrency: b,
4555
4561
  toCurrency: v,
4556
4562
  payload: { PlayerCurrency: h }
4557
4563
  })
4558
4564
  };
4559
- fetch(p, S).then((x) => ge(x)).then((x) => {
4560
- x && (n(10, se = !1), n(4, N = 0), n(5, D = 0), M("success", "exchangeSuccess"), $().then((w) => {
4561
- !w || !O || de();
4565
+ fetch(p, B).then((x) => be(x)).then((x) => {
4566
+ x && (r(10, se = !1), r(4, I = 0), r(5, D = 0), M("success", "exchangeSuccess"), $().then((w) => {
4567
+ !w || !O || ge();
4562
4568
  }).catch((w) => {
4563
4569
  console.error("There was an error with fetching the players balance.", w);
4564
4570
  }));
4565
4571
  }).catch((x) => {
4566
- M("error", r("generalError")), console.error("There was an error with the wallet exchange request.", x);
4572
+ M("error", n("generalError")), console.error("There was an error with the wallet exchange request.", x);
4567
4573
  });
4568
- }, Je = (p) => {
4569
- U = p.amount, I = p.currency, n(11, Te = !1), M("action", r("feeAcceptNotification", {
4570
- values: { amount: U, currency: I }
4574
+ }, Qe = (p) => {
4575
+ U = p.amount, P = p.currency, r(11, He = !1), M("action", n("feeAcceptNotification", {
4576
+ values: { amount: U, currency: P }
4571
4577
  }));
4572
- }, Ie = () => {
4573
- n(10, se = !1), n(6, P = !1), n(11, Te = !0);
4578
+ }, Ne = () => {
4579
+ r(10, se = !1), r(6, C = !1), r(11, He = !0);
4574
4580
  let y = {
4575
- exchageAmount: qe(N - U),
4581
+ exchageAmount: Je(I - U),
4576
4582
  exchageCurrency: b,
4577
4583
  exchangedAmount: D,
4578
4584
  exchangedCurrency: v,
4579
4585
  feeAmount: U,
4580
- feeCurrency: I
4586
+ feeCurrency: P
4581
4587
  };
4582
- M("action", r("feeExchangeNotification", { values: y }));
4583
- }, Qe = () => {
4584
- n(10, se = !1), n(12, he = !1), n(6, P = !0), n(5, D = 0), n(4, N = 0);
4588
+ M("action", n("feeExchangeNotification", { values: y }));
4589
+ }, Ye = () => {
4590
+ r(10, se = !1), r(12, fe = !1), r(6, C = !0), r(5, D = 0), r(4, I = 0);
4585
4591
  }, M = (p, y) => {
4586
4592
  switch (p) {
4587
4593
  case "error":
4588
- n(8, q = !0), n(6, P = !0), window.postMessage(
4594
+ r(8, q = !0), r(6, C = !0), window.postMessage(
4589
4595
  {
4590
4596
  type: "WidgetNotification",
4591
4597
  data: { type: "error", message: y }
@@ -4593,13 +4599,13 @@ function va(e, t, n) {
4593
4599
  window.location.href
4594
4600
  ), setTimeout(
4595
4601
  () => {
4596
- n(8, q = !1);
4602
+ r(8, q = !1);
4597
4603
  },
4598
4604
  2e3
4599
4605
  );
4600
4606
  break;
4601
4607
  case "success":
4602
- n(9, ne = !0), n(6, P = !0), window.postMessage(
4608
+ r(9, re = !0), r(6, C = !0), window.postMessage(
4603
4609
  {
4604
4610
  type: "WidgetNotification",
4605
4611
  data: { type: "success", message: y }
@@ -4607,80 +4613,80 @@ function va(e, t, n) {
4607
4613
  window.location.href
4608
4614
  ), setTimeout(
4609
4615
  () => {
4610
- n(9, ne = !1);
4616
+ r(9, re = !1);
4611
4617
  },
4612
4618
  2e3
4613
4619
  );
4614
4620
  break;
4615
4621
  case "action":
4616
- n(10, se = !0);
4622
+ r(10, se = !0);
4617
4623
  break;
4618
4624
  }
4619
- n(3, F = y);
4620
- }, ge = (p) => _t(this, null, function* () {
4621
- return p.status >= 300 ? (Xe = yield p.json(), n(3, F = Xe.thirdPartyResponse.errorCode), M("error", F || "generalError")) : p.json();
4625
+ r(3, F = y);
4626
+ }, be = (p) => Tt(this, null, function* () {
4627
+ return p.status >= 300 ? (We = yield p.json(), r(3, F = We.thirdPartyResponse.errorCode), M("error", F || "generalError")) : p.json();
4622
4628
  });
4623
- function it() {
4624
- N = ft(this.value), n(4, N);
4629
+ function at() {
4630
+ I = pt(this.value), r(4, I);
4625
4631
  }
4626
4632
  function K() {
4627
- b = Yt(this), n(1, b), n(13, J);
4633
+ b = er(this), r(1, b), r(13, J);
4628
4634
  }
4629
4635
  function ae() {
4630
- D = ft(this.value), n(5, D);
4636
+ D = pt(this.value), r(5, D);
4631
4637
  }
4632
- function Ne() {
4633
- v = Yt(this), n(2, v), n(13, J);
4638
+ function Oe() {
4639
+ v = er(this), r(2, v), r(13, J);
4634
4640
  }
4635
- const Oe = (p) => {
4636
- Ze(p);
4641
+ const Le = (p) => {
4642
+ qe(p);
4637
4643
  };
4638
- function at(p, y) {
4639
- pt[p ? "unshift" : "push"](() => {
4640
- me[y] = p, n(17, me);
4644
+ function ot(p, y) {
4645
+ mt[p ? "unshift" : "push"](() => {
4646
+ de[y] = p, r(17, de);
4641
4647
  });
4642
4648
  }
4643
- function He(p) {
4644
- pt[p ? "unshift" : "push"](() => {
4645
- re = p, n(16, re);
4649
+ function Ae(p) {
4650
+ mt[p ? "unshift" : "push"](() => {
4651
+ ne = p, r(16, ne);
4646
4652
  });
4647
4653
  }
4648
4654
  return e.$$set = (p) => {
4649
- "session" in p && n(24, i = p.session), "userid" in p && n(25, a = p.userid), "endpoint" in p && n(26, o = p.endpoint), "lang" in p && n(27, s = p.lang), "clientstyling" in p && n(28, c = p.clientstyling), "clientstylingurl" in p && n(29, l = p.clientstylingurl), "translationurl" in p && n(30, u = p.translationurl), "playercurrency" in p && n(31, h = p.playercurrency);
4655
+ "session" in p && r(24, i = p.session), "userid" in p && r(25, a = p.userid), "endpoint" in p && r(26, o = p.endpoint), "lang" in p && r(27, s = p.lang), "clientstyling" in p && r(28, c = p.clientstyling), "clientstylingurl" in p && r(29, l = p.clientstylingurl), "translationurl" in p && r(30, u = p.translationurl), "playercurrency" in p && r(31, h = p.playercurrency);
4650
4656
  }, e.$$.update = () => {
4651
4657
  e.$$.dirty[0] & /*session*/
4652
4658
  16777216, e.$$.dirty[0] & /*lang*/
4653
- 134217728 && s && Se(), e.$$.dirty[0] & /*session, userid, endpoint*/
4659
+ 134217728 && s && Ce(), e.$$.dirty[0] & /*session, userid, endpoint*/
4654
4660
  117440512 | e.$$.dirty[1] & /*playercurrency*/
4655
4661
  1 && i && a && o && h && $(), e.$$.dirty[0] & /*clientstyling*/
4656
4662
  268435456, e.$$.dirty[0] & /*clientstylingurl*/
4657
4663
  536870912, e.$$.dirty[0] & /*translationurl*/
4658
- 1073741824 && u && We();
4664
+ 1073741824 && u && Ze();
4659
4665
  }, [
4660
4666
  d,
4661
4667
  b,
4662
4668
  v,
4663
4669
  F,
4664
- N,
4670
+ I,
4665
4671
  D,
4666
- P,
4672
+ C,
4667
4673
  O,
4668
4674
  q,
4669
- ne,
4675
+ re,
4670
4676
  se,
4671
- Te,
4672
- he,
4677
+ He,
4678
+ fe,
4673
4679
  J,
4674
4680
  G,
4675
4681
  Y,
4676
- re,
4677
- me,
4678
- r,
4679
- Ze,
4680
- be,
4682
+ ne,
4683
+ de,
4684
+ n,
4685
+ qe,
4681
4686
  ye,
4682
- Ie,
4683
- Qe,
4687
+ ve,
4688
+ Ne,
4689
+ Ye,
4684
4690
  i,
4685
4691
  a,
4686
4692
  o,
@@ -4689,23 +4695,23 @@ function va(e, t, n) {
4689
4695
  l,
4690
4696
  u,
4691
4697
  h,
4692
- it,
4698
+ at,
4693
4699
  K,
4694
4700
  ae,
4695
- Ne,
4696
4701
  Oe,
4697
- at,
4698
- He
4702
+ Le,
4703
+ ot,
4704
+ Ae
4699
4705
  ];
4700
4706
  }
4701
- class xa extends _r {
4707
+ class _a extends Tn {
4702
4708
  constructor(t) {
4703
- super(), xr(
4709
+ super(), _n(
4704
4710
  this,
4705
4711
  t,
4712
+ Ea,
4706
4713
  va,
4707
- ba,
4708
- Hn,
4714
+ Ar,
4709
4715
  {
4710
4716
  session: 24,
4711
4717
  userid: 25,
@@ -4716,7 +4722,7 @@ class xa extends _r {
4716
4722
  translationurl: 30,
4717
4723
  playercurrency: 31
4718
4724
  },
4719
- ma,
4725
+ ga,
4720
4726
  [-1, -1, -1]
4721
4727
  );
4722
4728
  }
@@ -4769,7 +4775,7 @@ class xa extends _r {
4769
4775
  this.$$set({ playercurrency: t }), ce();
4770
4776
  }
4771
4777
  }
4772
- Er(xa, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
4778
+ wn(_a, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
4773
4779
  export {
4774
- xa as default
4780
+ _a as default
4775
4781
  };