@everymatrix/player-account-balance-modal 1.73.2 → 1.74.0
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.
- package/components/{PlayerAccountBalanceModal-_d6lzLIx.js → PlayerAccountBalanceModal-D2KIfuVF.js} +1012 -1012
- package/components/{PlayerAccountBalanceModal-CGnAEFF_.js → PlayerAccountBalanceModal-DixkMh33.js} +813 -813
- package/components/PlayerAccountBalanceModal-jZVdpTAX.cjs +9 -0
- package/es2015/player-account-balance-modal.cjs +1 -1
- package/es2015/player-account-balance-modal.js +1 -1
- package/esnext/player-account-balance-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBalanceModal-D7AaTOSE.cjs +0 -9
package/components/{PlayerAccountBalanceModal-_d6lzLIx.js → PlayerAccountBalanceModal-D2KIfuVF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function oe() {
|
|
2
2
|
}
|
|
3
3
|
function Bn(e) {
|
|
4
4
|
return e();
|
|
@@ -6,7 +6,7 @@ function Bn(e) {
|
|
|
6
6
|
function en() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function je(e) {
|
|
10
10
|
e.forEach(Bn);
|
|
11
11
|
}
|
|
12
12
|
function Qt(e) {
|
|
@@ -22,7 +22,7 @@ function wn(e, ...t) {
|
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const r of t)
|
|
24
24
|
r(void 0);
|
|
25
|
-
return
|
|
25
|
+
return oe;
|
|
26
26
|
}
|
|
27
27
|
const n = e.subscribe(...t);
|
|
28
28
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -30,13 +30,13 @@ function wn(e, ...t) {
|
|
|
30
30
|
function nr(e, t, n) {
|
|
31
31
|
e.$$.on_destroy.push(wn(t, n));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function M(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
36
|
function rr(e, t, n) {
|
|
37
37
|
const r = ir(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
|
-
const i =
|
|
39
|
+
const i = $("style");
|
|
40
40
|
i.id = t, i.textContent = n, or(r, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -51,44 +51,44 @@ function ir(e) {
|
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
53
|
function or(e, t) {
|
|
54
|
-
return
|
|
54
|
+
return M(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function ce(e, t, n) {
|
|
61
61
|
e.insertBefore(t, n || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function se(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
66
|
function An(e, t) {
|
|
67
67
|
for (let n = 0; n < e.length; n += 1)
|
|
68
68
|
e[n] && e[n].d(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function $(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function ve(e) {
|
|
74
74
|
return document.createTextNode(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
76
|
+
function Ee() {
|
|
77
|
+
return ve(" ");
|
|
78
78
|
}
|
|
79
79
|
function ar() {
|
|
80
|
-
return
|
|
80
|
+
return ve("");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ft(e, t, n, r) {
|
|
83
83
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Z(e, t, n) {
|
|
86
86
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
87
87
|
}
|
|
88
88
|
function sr(e) {
|
|
89
89
|
return Array.from(e.childNodes);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Ce(e, t) {
|
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
93
93
|
t);
|
|
94
94
|
}
|
|
@@ -101,96 +101,96 @@ function ur(e) {
|
|
|
101
101
|
}
|
|
102
102
|
), t;
|
|
103
103
|
}
|
|
104
|
-
let
|
|
105
|
-
function
|
|
106
|
-
|
|
104
|
+
let et;
|
|
105
|
+
function Ke(e) {
|
|
106
|
+
et = e;
|
|
107
107
|
}
|
|
108
108
|
function lr() {
|
|
109
|
-
if (!
|
|
109
|
+
if (!et)
|
|
110
110
|
throw new Error("Function called outside component initialization");
|
|
111
|
-
return
|
|
111
|
+
return et;
|
|
112
112
|
}
|
|
113
113
|
function hr(e) {
|
|
114
114
|
lr().$$.on_mount.push(e);
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
let
|
|
116
|
+
const Ie = [], Dt = [];
|
|
117
|
+
let De = [];
|
|
118
118
|
const tn = [], cr = /* @__PURE__ */ Promise.resolve();
|
|
119
119
|
let Ft = !1;
|
|
120
120
|
function fr() {
|
|
121
|
-
Ft || (Ft = !0, cr.then(
|
|
121
|
+
Ft || (Ft = !0, cr.then(X));
|
|
122
122
|
}
|
|
123
123
|
function Ut(e) {
|
|
124
|
-
|
|
124
|
+
De.push(e);
|
|
125
125
|
}
|
|
126
126
|
const Ot = /* @__PURE__ */ new Set();
|
|
127
127
|
let Me = 0;
|
|
128
|
-
function
|
|
128
|
+
function X() {
|
|
129
129
|
if (Me !== 0)
|
|
130
130
|
return;
|
|
131
|
-
const e =
|
|
131
|
+
const e = et;
|
|
132
132
|
do {
|
|
133
133
|
try {
|
|
134
|
-
for (; Me <
|
|
135
|
-
const t =
|
|
136
|
-
Me++,
|
|
134
|
+
for (; Me < Ie.length; ) {
|
|
135
|
+
const t = Ie[Me];
|
|
136
|
+
Me++, Ke(t), dr(t.$$);
|
|
137
137
|
}
|
|
138
138
|
} catch (t) {
|
|
139
|
-
throw
|
|
139
|
+
throw Ie.length = 0, Me = 0, t;
|
|
140
140
|
}
|
|
141
|
-
for (
|
|
141
|
+
for (Ke(null), Ie.length = 0, Me = 0; Dt.length; )
|
|
142
142
|
Dt.pop()();
|
|
143
|
-
for (let t = 0; t <
|
|
144
|
-
const n =
|
|
143
|
+
for (let t = 0; t < De.length; t += 1) {
|
|
144
|
+
const n = De[t];
|
|
145
145
|
Ot.has(n) || (Ot.add(n), n());
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
} while (
|
|
147
|
+
De.length = 0;
|
|
148
|
+
} while (Ie.length);
|
|
149
149
|
for (; tn.length; )
|
|
150
150
|
tn.pop()();
|
|
151
|
-
Ft = !1, Ot.clear(),
|
|
151
|
+
Ft = !1, Ot.clear(), Ke(e);
|
|
152
152
|
}
|
|
153
153
|
function dr(e) {
|
|
154
154
|
if (e.fragment !== null) {
|
|
155
|
-
e.update(),
|
|
155
|
+
e.update(), je(e.before_update);
|
|
156
156
|
const t = e.dirty;
|
|
157
157
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ut);
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function pr(e) {
|
|
161
161
|
const t = [], n = [];
|
|
162
|
-
|
|
162
|
+
De.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), De = t;
|
|
163
163
|
}
|
|
164
164
|
const mr = /* @__PURE__ */ new Set();
|
|
165
165
|
function gr(e, t) {
|
|
166
166
|
e && e.i && (mr.delete(e), e.i(t));
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function dt(e) {
|
|
169
169
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
170
170
|
}
|
|
171
171
|
function br(e, t, n) {
|
|
172
172
|
const { fragment: r, after_update: i } = e.$$;
|
|
173
173
|
r && r.m(t, n), Ut(() => {
|
|
174
174
|
const o = e.$$.on_mount.map(Bn).filter(Qt);
|
|
175
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
175
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : je(o), e.$$.on_mount = [];
|
|
176
176
|
}), i.forEach(Ut);
|
|
177
177
|
}
|
|
178
178
|
function yr(e, t) {
|
|
179
179
|
const n = e.$$;
|
|
180
|
-
n.fragment !== null && (pr(n.after_update),
|
|
180
|
+
n.fragment !== null && (pr(n.after_update), je(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
181
181
|
}
|
|
182
182
|
function vr(e, t) {
|
|
183
|
-
e.$$.dirty[0] === -1 && (
|
|
183
|
+
e.$$.dirty[0] === -1 && (Ie.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
184
184
|
}
|
|
185
185
|
function Er(e, t, n, r, i, o, u = null, s = [-1]) {
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
const
|
|
186
|
+
const d = et;
|
|
187
|
+
Ke(e);
|
|
188
|
+
const h = e.$$ = {
|
|
189
189
|
fragment: null,
|
|
190
190
|
ctx: [],
|
|
191
191
|
// state
|
|
192
192
|
props: o,
|
|
193
|
-
update:
|
|
193
|
+
update: oe,
|
|
194
194
|
not_equal: i,
|
|
195
195
|
bound: en(),
|
|
196
196
|
// lifecycle
|
|
@@ -199,27 +199,27 @@ function Er(e, t, n, r, i, o, u = null, s = [-1]) {
|
|
|
199
199
|
on_disconnect: [],
|
|
200
200
|
before_update: [],
|
|
201
201
|
after_update: [],
|
|
202
|
-
context: new Map(t.context || (
|
|
202
|
+
context: new Map(t.context || (d ? d.$$.context : [])),
|
|
203
203
|
// everything else
|
|
204
204
|
callbacks: en(),
|
|
205
205
|
dirty: s,
|
|
206
206
|
skip_bound: !1,
|
|
207
|
-
root: t.target ||
|
|
207
|
+
root: t.target || d.$$.root
|
|
208
208
|
};
|
|
209
|
-
u && u(
|
|
209
|
+
u && u(h.root);
|
|
210
210
|
let c = !1;
|
|
211
|
-
if (
|
|
212
|
-
const
|
|
213
|
-
return
|
|
214
|
-
}) : [],
|
|
211
|
+
if (h.ctx = n ? n(e, t.props || {}, (g, y, ...x) => {
|
|
212
|
+
const T = x.length ? x[0] : y;
|
|
213
|
+
return h.ctx && i(h.ctx[g], h.ctx[g] = T) && (!h.skip_bound && h.bound[g] && h.bound[g](T), c && vr(e, g)), y;
|
|
214
|
+
}) : [], h.update(), c = !0, je(h.before_update), h.fragment = r ? r(h.ctx) : !1, t.target) {
|
|
215
215
|
if (t.hydrate) {
|
|
216
|
-
const
|
|
217
|
-
|
|
216
|
+
const g = sr(t.target);
|
|
217
|
+
h.fragment && h.fragment.l(g), g.forEach(se);
|
|
218
218
|
} else
|
|
219
|
-
|
|
220
|
-
t.intro && gr(e.$$.fragment), br(e, t.target, t.anchor),
|
|
219
|
+
h.fragment && h.fragment.c();
|
|
220
|
+
t.intro && gr(e.$$.fragment), br(e, t.target, t.anchor), X();
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
Ke(d);
|
|
223
223
|
}
|
|
224
224
|
let Cn;
|
|
225
225
|
typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
@@ -264,17 +264,17 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
|
264
264
|
let o;
|
|
265
265
|
return {
|
|
266
266
|
c: function() {
|
|
267
|
-
o =
|
|
267
|
+
o = $("slot"), i !== "default" && Z(o, "name", i);
|
|
268
268
|
},
|
|
269
269
|
/**
|
|
270
270
|
* @param {HTMLElement} target
|
|
271
271
|
* @param {HTMLElement} [anchor]
|
|
272
272
|
*/
|
|
273
|
-
m: function(
|
|
274
|
-
|
|
273
|
+
m: function(d, h) {
|
|
274
|
+
ce(d, o, h);
|
|
275
275
|
},
|
|
276
|
-
d: function(
|
|
277
|
-
|
|
276
|
+
d: function(d) {
|
|
277
|
+
d && se(o);
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
};
|
|
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
|
286
286
|
i in n && (t[i] = [e(i)]);
|
|
287
287
|
for (const i of this.attributes) {
|
|
288
288
|
const o = this.$$g_p(i.name);
|
|
289
|
-
o in this.$$d || (this.$$d[o] =
|
|
289
|
+
o in this.$$d || (this.$$d[o] = lt(o, i.value, this.$$p_d, "toProp"));
|
|
290
290
|
}
|
|
291
291
|
for (const i in this.$$p_d)
|
|
292
292
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -304,7 +304,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
|
304
304
|
this.$$r = !0;
|
|
305
305
|
for (const i in this.$$p_d)
|
|
306
306
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
307
|
-
const o =
|
|
307
|
+
const o = lt(
|
|
308
308
|
i,
|
|
309
309
|
this.$$d[i],
|
|
310
310
|
this.$$p_d,
|
|
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
|
326
326
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
327
327
|
// and setting attributes through setAttribute etc, this is helpful
|
|
328
328
|
attributeChangedCallback(e, t, n) {
|
|
329
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
329
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = lt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
330
330
|
}
|
|
331
331
|
disconnectedCallback() {
|
|
332
332
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
|
|
|
339
339
|
) || e;
|
|
340
340
|
}
|
|
341
341
|
});
|
|
342
|
-
function
|
|
342
|
+
function lt(e, t, n, r) {
|
|
343
343
|
const i = n[e]?.type;
|
|
344
344
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
345
345
|
return t;
|
|
@@ -384,8 +384,8 @@ function xr(e, t, n, r, i, o) {
|
|
|
384
384
|
get() {
|
|
385
385
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
386
386
|
},
|
|
387
|
-
set(
|
|
388
|
-
|
|
387
|
+
set(d) {
|
|
388
|
+
d = lt(s, d, t), this.$$d[s] = d, this.$$c?.$set({ [s]: d });
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
391
|
}), r.forEach((s) => {
|
|
@@ -416,7 +416,7 @@ class _r {
|
|
|
416
416
|
$$set = void 0;
|
|
417
417
|
/** @returns {void} */
|
|
418
418
|
$destroy() {
|
|
419
|
-
yr(this, 1), this.$destroy =
|
|
419
|
+
yr(this, 1), this.$destroy = oe;
|
|
420
420
|
}
|
|
421
421
|
/**
|
|
422
422
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -426,7 +426,7 @@ class _r {
|
|
|
426
426
|
*/
|
|
427
427
|
$on(t, n) {
|
|
428
428
|
if (!Qt(n))
|
|
429
|
-
return
|
|
429
|
+
return oe;
|
|
430
430
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
431
431
|
return r.push(n), () => {
|
|
432
432
|
const i = r.indexOf(n);
|
|
@@ -466,66 +466,66 @@ function wr(e, t, n) {
|
|
|
466
466
|
});
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
const
|
|
469
|
+
const Pe = [];
|
|
470
470
|
function Ar(e, t) {
|
|
471
471
|
return {
|
|
472
|
-
subscribe:
|
|
472
|
+
subscribe: bt(e, t).subscribe
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function bt(e, t = oe) {
|
|
476
476
|
let n;
|
|
477
477
|
const r = /* @__PURE__ */ new Set();
|
|
478
478
|
function i(s) {
|
|
479
479
|
if (Sn(e, s) && (e = s, n)) {
|
|
480
|
-
const
|
|
481
|
-
for (const
|
|
482
|
-
|
|
483
|
-
if (
|
|
484
|
-
for (let
|
|
485
|
-
|
|
486
|
-
|
|
480
|
+
const d = !Pe.length;
|
|
481
|
+
for (const h of r)
|
|
482
|
+
h[1](), Pe.push(h, e);
|
|
483
|
+
if (d) {
|
|
484
|
+
for (let h = 0; h < Pe.length; h += 2)
|
|
485
|
+
Pe[h][0](Pe[h + 1]);
|
|
486
|
+
Pe.length = 0;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
function o(s) {
|
|
491
491
|
i(s(e));
|
|
492
492
|
}
|
|
493
|
-
function u(s,
|
|
494
|
-
const
|
|
495
|
-
return r.add(
|
|
496
|
-
r.delete(
|
|
493
|
+
function u(s, d = oe) {
|
|
494
|
+
const h = [s, d];
|
|
495
|
+
return r.add(h), r.size === 1 && (n = t(i, o) || oe), s(e), () => {
|
|
496
|
+
r.delete(h), r.size === 0 && n && (n(), n = null);
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
499
|
return { set: i, update: o, subscribe: u };
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function ke(e, t, n) {
|
|
502
502
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
503
503
|
if (!i.every(Boolean))
|
|
504
504
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
505
505
|
const o = t.length < 2;
|
|
506
506
|
return Ar(n, (u, s) => {
|
|
507
|
-
let
|
|
508
|
-
const
|
|
509
|
-
let c = 0,
|
|
510
|
-
const
|
|
507
|
+
let d = !1;
|
|
508
|
+
const h = [];
|
|
509
|
+
let c = 0, g = oe;
|
|
510
|
+
const y = () => {
|
|
511
511
|
if (c)
|
|
512
512
|
return;
|
|
513
|
-
|
|
514
|
-
const
|
|
515
|
-
o ? u(
|
|
513
|
+
g();
|
|
514
|
+
const T = t(r ? h[0] : h, u, s);
|
|
515
|
+
o ? u(T) : g = Qt(T) ? T : oe;
|
|
516
516
|
}, x = i.map(
|
|
517
|
-
(
|
|
518
|
-
|
|
519
|
-
(
|
|
520
|
-
|
|
517
|
+
(T, P) => wn(
|
|
518
|
+
T,
|
|
519
|
+
(j) => {
|
|
520
|
+
h[P] = j, c &= ~(1 << P), d && y();
|
|
521
521
|
},
|
|
522
522
|
() => {
|
|
523
|
-
c |= 1 <<
|
|
523
|
+
c |= 1 << P;
|
|
524
524
|
}
|
|
525
525
|
)
|
|
526
526
|
);
|
|
527
|
-
return
|
|
528
|
-
|
|
527
|
+
return d = !0, y(), function() {
|
|
528
|
+
je(x), g(), d = !1;
|
|
529
529
|
};
|
|
530
530
|
});
|
|
531
531
|
}
|
|
@@ -541,28 +541,28 @@ function Lr(e) {
|
|
|
541
541
|
}
|
|
542
542
|
function Rr(e) {
|
|
543
543
|
var t = Object.prototype.toString.call(e);
|
|
544
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
544
|
+
return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
|
|
545
545
|
}
|
|
546
|
-
var Nr = typeof Symbol == "function" && Symbol.for,
|
|
547
|
-
function
|
|
548
|
-
return e.$$typeof ===
|
|
546
|
+
var Nr = typeof Symbol == "function" && Symbol.for, Mr = Nr ? Symbol.for("react.element") : 60103;
|
|
547
|
+
function Pr(e) {
|
|
548
|
+
return e.$$typeof === Mr;
|
|
549
549
|
}
|
|
550
550
|
function Ir(e) {
|
|
551
551
|
return Array.isArray(e) ? [] : {};
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
553
|
+
function tt(e, t) {
|
|
554
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Ir(e), e, t) : e;
|
|
555
555
|
}
|
|
556
556
|
function Dr(e, t, n) {
|
|
557
557
|
return e.concat(t).map(function(r) {
|
|
558
|
-
return
|
|
558
|
+
return tt(r, n);
|
|
559
559
|
});
|
|
560
560
|
}
|
|
561
561
|
function Fr(e, t) {
|
|
562
562
|
if (!t.customMerge)
|
|
563
|
-
return
|
|
563
|
+
return Fe;
|
|
564
564
|
var n = t.customMerge(e);
|
|
565
|
-
return typeof n == "function" ? n :
|
|
565
|
+
return typeof n == "function" ? n : Fe;
|
|
566
566
|
}
|
|
567
567
|
function Ur(e) {
|
|
568
568
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -585,24 +585,24 @@ function Gr(e, t) {
|
|
|
585
585
|
function $r(e, t, n) {
|
|
586
586
|
var r = {};
|
|
587
587
|
return n.isMergeableObject(e) && nn(e).forEach(function(i) {
|
|
588
|
-
r[i] =
|
|
588
|
+
r[i] = tt(e[i], n);
|
|
589
589
|
}), nn(t).forEach(function(i) {
|
|
590
|
-
Gr(e, i) || (Hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fr(i, n)(e[i], t[i], n) : r[i] =
|
|
590
|
+
Gr(e, i) || (Hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fr(i, n)(e[i], t[i], n) : r[i] = tt(t[i], n));
|
|
591
591
|
}), r;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || Dr, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified =
|
|
593
|
+
function Fe(e, t, n) {
|
|
594
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Dr, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = tt;
|
|
595
595
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
596
|
-
return o ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) :
|
|
596
|
+
return o ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) : tt(t, n);
|
|
597
597
|
}
|
|
598
|
-
|
|
598
|
+
Fe.all = function(t, n) {
|
|
599
599
|
if (!Array.isArray(t))
|
|
600
600
|
throw new Error("first argument should be an array");
|
|
601
601
|
return t.reduce(function(r, i) {
|
|
602
|
-
return
|
|
602
|
+
return Fe(r, i, n);
|
|
603
603
|
}, {});
|
|
604
604
|
};
|
|
605
|
-
var jr =
|
|
605
|
+
var jr = Fe, kr = jr;
|
|
606
606
|
const Vr = /* @__PURE__ */ Hr(kr);
|
|
607
607
|
var Gt = function(e, t) {
|
|
608
608
|
return Gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
@@ -612,7 +612,7 @@ var Gt = function(e, t) {
|
|
|
612
612
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
613
613
|
}, Gt(e, t);
|
|
614
614
|
};
|
|
615
|
-
function
|
|
615
|
+
function yt(e, t) {
|
|
616
616
|
if (typeof t != "function" && t !== null)
|
|
617
617
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
618
618
|
Gt(e, t);
|
|
@@ -621,15 +621,15 @@ function vt(e, t) {
|
|
|
621
621
|
}
|
|
622
622
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
return
|
|
624
|
+
var he = function() {
|
|
625
|
+
return he = Object.assign || function(t) {
|
|
626
626
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
627
627
|
n = arguments[r];
|
|
628
628
|
for (var o in n)
|
|
629
629
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
630
630
|
}
|
|
631
631
|
return t;
|
|
632
|
-
},
|
|
632
|
+
}, he.apply(this, arguments);
|
|
633
633
|
};
|
|
634
634
|
function Xr(e, t) {
|
|
635
635
|
var n = {};
|
|
@@ -694,60 +694,60 @@ var Qr = function() {
|
|
|
694
694
|
}
|
|
695
695
|
}, Nt = {
|
|
696
696
|
variadic: qr
|
|
697
|
-
},
|
|
698
|
-
return
|
|
697
|
+
}, pt = function() {
|
|
698
|
+
return pt = Object.assign || function(t) {
|
|
699
699
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
700
700
|
n = arguments[r];
|
|
701
701
|
for (var o in n)
|
|
702
702
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
703
703
|
}
|
|
704
704
|
return t;
|
|
705
|
-
},
|
|
705
|
+
}, pt.apply(this, arguments);
|
|
706
706
|
};
|
|
707
|
-
var
|
|
707
|
+
var C;
|
|
708
708
|
(function(e) {
|
|
709
709
|
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";
|
|
710
|
-
})(
|
|
711
|
-
var
|
|
710
|
+
})(C || (C = {}));
|
|
711
|
+
var D;
|
|
712
712
|
(function(e) {
|
|
713
713
|
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";
|
|
714
|
-
})(
|
|
715
|
-
var
|
|
714
|
+
})(D || (D = {}));
|
|
715
|
+
var Ue;
|
|
716
716
|
(function(e) {
|
|
717
717
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
718
|
-
})(
|
|
718
|
+
})(Ue || (Ue = {}));
|
|
719
719
|
function rn(e) {
|
|
720
|
-
return e.type ===
|
|
720
|
+
return e.type === D.literal;
|
|
721
721
|
}
|
|
722
722
|
function Kr(e) {
|
|
723
|
-
return e.type ===
|
|
723
|
+
return e.type === D.argument;
|
|
724
724
|
}
|
|
725
725
|
function Rn(e) {
|
|
726
|
-
return e.type ===
|
|
726
|
+
return e.type === D.number;
|
|
727
727
|
}
|
|
728
728
|
function Nn(e) {
|
|
729
|
-
return e.type ===
|
|
730
|
-
}
|
|
731
|
-
function Pn(e) {
|
|
732
|
-
return e.type === F.time;
|
|
729
|
+
return e.type === D.date;
|
|
733
730
|
}
|
|
734
731
|
function Mn(e) {
|
|
735
|
-
return e.type ===
|
|
732
|
+
return e.type === D.time;
|
|
733
|
+
}
|
|
734
|
+
function Pn(e) {
|
|
735
|
+
return e.type === D.select;
|
|
736
736
|
}
|
|
737
737
|
function In(e) {
|
|
738
|
-
return e.type ===
|
|
738
|
+
return e.type === D.plural;
|
|
739
739
|
}
|
|
740
740
|
function ei(e) {
|
|
741
|
-
return e.type ===
|
|
741
|
+
return e.type === D.pound;
|
|
742
742
|
}
|
|
743
743
|
function Dn(e) {
|
|
744
|
-
return e.type ===
|
|
744
|
+
return e.type === D.tag;
|
|
745
745
|
}
|
|
746
746
|
function Fn(e) {
|
|
747
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
747
|
+
return !!(e && typeof e == "object" && e.type === Ue.number);
|
|
748
748
|
}
|
|
749
749
|
function $t(e) {
|
|
750
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
750
|
+
return !!(e && typeof e == "object" && e.type === Ue.dateTime);
|
|
751
751
|
}
|
|
752
752
|
var Un = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
|
|
753
753
|
function ni(e) {
|
|
@@ -841,32 +841,32 @@ function ni(e) {
|
|
|
841
841
|
return "";
|
|
842
842
|
}), t;
|
|
843
843
|
}
|
|
844
|
-
var
|
|
845
|
-
return
|
|
844
|
+
var U = function() {
|
|
845
|
+
return U = Object.assign || function(t) {
|
|
846
846
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
847
847
|
n = arguments[r];
|
|
848
848
|
for (var o in n)
|
|
849
849
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
850
850
|
}
|
|
851
851
|
return t;
|
|
852
|
-
},
|
|
852
|
+
}, U.apply(this, arguments);
|
|
853
853
|
};
|
|
854
854
|
var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
855
855
|
function ii(e) {
|
|
856
856
|
if (e.length === 0)
|
|
857
857
|
throw new Error("Number skeleton cannot be empty");
|
|
858
|
-
for (var t = e.split(ri).filter(function(
|
|
859
|
-
return
|
|
858
|
+
for (var t = e.split(ri).filter(function(y) {
|
|
859
|
+
return y.length > 0;
|
|
860
860
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
861
861
|
var o = i[r], u = o.split("/");
|
|
862
862
|
if (u.length === 0)
|
|
863
863
|
throw new Error("Invalid number skeleton");
|
|
864
|
-
for (var s = u[0],
|
|
865
|
-
var
|
|
866
|
-
if (
|
|
864
|
+
for (var s = u[0], d = u.slice(1), h = 0, c = d; h < c.length; h++) {
|
|
865
|
+
var g = c[h];
|
|
866
|
+
if (g.length === 0)
|
|
867
867
|
throw new Error("Invalid number skeleton");
|
|
868
868
|
}
|
|
869
|
-
n.push({ stem: s, options:
|
|
869
|
+
n.push({ stem: s, options: d });
|
|
870
870
|
}
|
|
871
871
|
return n;
|
|
872
872
|
}
|
|
@@ -973,13 +973,13 @@ function ui(e) {
|
|
|
973
973
|
t.notation = "compact", t.compactDisplay = "long";
|
|
974
974
|
continue;
|
|
975
975
|
case "scientific":
|
|
976
|
-
t =
|
|
977
|
-
return
|
|
976
|
+
t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(d, h) {
|
|
977
|
+
return U(U({}, d), sn(h));
|
|
978
978
|
}, {}));
|
|
979
979
|
continue;
|
|
980
980
|
case "engineering":
|
|
981
|
-
t =
|
|
982
|
-
return
|
|
981
|
+
t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(d, h) {
|
|
982
|
+
return U(U({}, d), sn(h));
|
|
983
983
|
}, {}));
|
|
984
984
|
continue;
|
|
985
985
|
case "notation-simple":
|
|
@@ -1024,11 +1024,11 @@ function ui(e) {
|
|
|
1024
1024
|
case "integer-width":
|
|
1025
1025
|
if (i.options.length > 1)
|
|
1026
1026
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1027
|
-
i.options[0].replace(ai, function(
|
|
1028
|
-
if (
|
|
1027
|
+
i.options[0].replace(ai, function(d, h, c, g, y, x) {
|
|
1028
|
+
if (h)
|
|
1029
1029
|
t.minimumIntegerDigits = c.length;
|
|
1030
1030
|
else {
|
|
1031
|
-
if (
|
|
1031
|
+
if (g && y)
|
|
1032
1032
|
throw new Error("We currently do not support maximum integer digits");
|
|
1033
1033
|
if (x)
|
|
1034
1034
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1044,25 +1044,25 @@ function ui(e) {
|
|
|
1044
1044
|
if (on.test(i.stem)) {
|
|
1045
1045
|
if (i.options.length > 1)
|
|
1046
1046
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1047
|
-
i.stem.replace(on, function(
|
|
1048
|
-
return c === "*" ? t.minimumFractionDigits =
|
|
1047
|
+
i.stem.replace(on, function(d, h, c, g, y, x) {
|
|
1048
|
+
return c === "*" ? t.minimumFractionDigits = h.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : y && x ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1049
1049
|
});
|
|
1050
1050
|
var o = i.options[0];
|
|
1051
|
-
o === "w" ? t =
|
|
1051
|
+
o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), an(o)));
|
|
1052
1052
|
continue;
|
|
1053
1053
|
}
|
|
1054
1054
|
if (Gn.test(i.stem)) {
|
|
1055
|
-
t =
|
|
1055
|
+
t = U(U({}, t), an(i.stem));
|
|
1056
1056
|
continue;
|
|
1057
1057
|
}
|
|
1058
1058
|
var u = jn(i.stem);
|
|
1059
|
-
u && (t =
|
|
1059
|
+
u && (t = U(U({}, t), u));
|
|
1060
1060
|
var s = si(i.stem);
|
|
1061
|
-
s && (t =
|
|
1061
|
+
s && (t = U(U({}, t), s));
|
|
1062
1062
|
}
|
|
1063
1063
|
return t;
|
|
1064
1064
|
}
|
|
1065
|
-
var
|
|
1065
|
+
var ut = {
|
|
1066
1066
|
"001": [
|
|
1067
1067
|
"H",
|
|
1068
1068
|
"h"
|
|
@@ -2483,11 +2483,11 @@ function li(e, t) {
|
|
|
2483
2483
|
if (i === "j") {
|
|
2484
2484
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2485
2485
|
o++, r++;
|
|
2486
|
-
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
2487
|
-
for ((
|
|
2488
|
-
n +=
|
|
2486
|
+
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), d = "a", h = hi(t);
|
|
2487
|
+
for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
|
|
2488
|
+
n += d;
|
|
2489
2489
|
for (; u-- > 0; )
|
|
2490
|
-
n =
|
|
2490
|
+
n = h + n;
|
|
2491
2491
|
} else
|
|
2492
2492
|
i === "J" ? n += "H" : n += i;
|
|
2493
2493
|
}
|
|
@@ -2512,11 +2512,11 @@ function hi(e) {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
var n = e.language, r;
|
|
2514
2514
|
n !== "root" && (r = e.maximize().region);
|
|
2515
|
-
var i =
|
|
2515
|
+
var i = ut[r || ""] || ut[n || ""] || ut["".concat(n, "-001")] || ut["001"];
|
|
2516
2516
|
return i[0];
|
|
2517
2517
|
}
|
|
2518
|
-
var
|
|
2519
|
-
function
|
|
2518
|
+
var Mt, ci = new RegExp("^".concat(Un.source, "*")), fi = new RegExp("".concat(Un.source, "*$"));
|
|
2519
|
+
function H(e, t) {
|
|
2520
2520
|
return { start: e, end: t };
|
|
2521
2521
|
}
|
|
2522
2522
|
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, Ei = vi ? Number.isSafeInteger : function(e) {
|
|
@@ -2524,7 +2524,7 @@ var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String
|
|
|
2524
2524
|
}, jt = !0;
|
|
2525
2525
|
try {
|
|
2526
2526
|
var xi = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2527
|
-
jt = ((
|
|
2527
|
+
jt = ((Mt = xi.exec("a")) === null || Mt === void 0 ? void 0 : Mt[0]) === "a";
|
|
2528
2528
|
} catch {
|
|
2529
2529
|
jt = !1;
|
|
2530
2530
|
}
|
|
@@ -2643,13 +2643,13 @@ var Bi = (
|
|
|
2643
2643
|
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2644
2644
|
var s = this.clonePosition();
|
|
2645
2645
|
this.bump(), i.push({
|
|
2646
|
-
type:
|
|
2647
|
-
location:
|
|
2646
|
+
type: D.pound,
|
|
2647
|
+
location: H(s, this.clonePosition())
|
|
2648
2648
|
});
|
|
2649
2649
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2650
2650
|
if (r)
|
|
2651
2651
|
break;
|
|
2652
|
-
return this.error(
|
|
2652
|
+
return this.error(C.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
|
|
2653
2653
|
} else if (o === 60 && !this.ignoreTag && Xt(this.peek() || 0)) {
|
|
2654
2654
|
var u = this.parseTag(t, n);
|
|
2655
2655
|
if (u.err)
|
|
@@ -2671,9 +2671,9 @@ var Bi = (
|
|
|
2671
2671
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2672
2672
|
return {
|
|
2673
2673
|
val: {
|
|
2674
|
-
type:
|
|
2674
|
+
type: D.literal,
|
|
2675
2675
|
value: "<".concat(i, "/>"),
|
|
2676
|
-
location:
|
|
2676
|
+
location: H(r, this.clonePosition())
|
|
2677
2677
|
},
|
|
2678
2678
|
err: null
|
|
2679
2679
|
};
|
|
@@ -2684,21 +2684,21 @@ var Bi = (
|
|
|
2684
2684
|
var u = o.val, s = this.clonePosition();
|
|
2685
2685
|
if (this.bumpIf("</")) {
|
|
2686
2686
|
if (this.isEOF() || !Xt(this.char()))
|
|
2687
|
-
return this.error(
|
|
2688
|
-
var
|
|
2689
|
-
return i !==
|
|
2687
|
+
return this.error(C.INVALID_TAG, H(s, this.clonePosition()));
|
|
2688
|
+
var d = this.clonePosition(), h = this.parseTagName();
|
|
2689
|
+
return i !== h ? this.error(C.UNMATCHED_CLOSING_TAG, H(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2690
2690
|
val: {
|
|
2691
|
-
type:
|
|
2691
|
+
type: D.tag,
|
|
2692
2692
|
value: i,
|
|
2693
2693
|
children: u,
|
|
2694
|
-
location:
|
|
2694
|
+
location: H(r, this.clonePosition())
|
|
2695
2695
|
},
|
|
2696
2696
|
err: null
|
|
2697
|
-
} : this.error(
|
|
2697
|
+
} : this.error(C.INVALID_TAG, H(s, this.clonePosition())));
|
|
2698
2698
|
} else
|
|
2699
|
-
return this.error(
|
|
2699
|
+
return this.error(C.UNCLOSED_TAG, H(r, this.clonePosition()));
|
|
2700
2700
|
} else
|
|
2701
|
-
return this.error(
|
|
2701
|
+
return this.error(C.INVALID_TAG, H(r, this.clonePosition()));
|
|
2702
2702
|
}, e.prototype.parseTagName = function() {
|
|
2703
2703
|
var t = this.offset();
|
|
2704
2704
|
for (this.bump(); !this.isEOF() && wi(this.char()); )
|
|
@@ -2723,9 +2723,9 @@ var Bi = (
|
|
|
2723
2723
|
}
|
|
2724
2724
|
break;
|
|
2725
2725
|
}
|
|
2726
|
-
var
|
|
2726
|
+
var d = H(r, this.clonePosition());
|
|
2727
2727
|
return {
|
|
2728
|
-
val: { type:
|
|
2728
|
+
val: { type: D.literal, value: i, location: d },
|
|
2729
2729
|
err: null
|
|
2730
2730
|
};
|
|
2731
2731
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2773,91 +2773,91 @@ var Bi = (
|
|
|
2773
2773
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2774
2774
|
var r = this.clonePosition();
|
|
2775
2775
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2776
|
-
return this.error(
|
|
2776
|
+
return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
|
|
2777
2777
|
if (this.char() === 125)
|
|
2778
|
-
return this.bump(), this.error(
|
|
2778
|
+
return this.bump(), this.error(C.EMPTY_ARGUMENT, H(r, this.clonePosition()));
|
|
2779
2779
|
var i = this.parseIdentifierIfPossible().value;
|
|
2780
2780
|
if (!i)
|
|
2781
|
-
return this.error(
|
|
2781
|
+
return this.error(C.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
|
|
2782
2782
|
if (this.bumpSpace(), this.isEOF())
|
|
2783
|
-
return this.error(
|
|
2783
|
+
return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
|
|
2784
2784
|
switch (this.char()) {
|
|
2785
2785
|
case 125:
|
|
2786
2786
|
return this.bump(), {
|
|
2787
2787
|
val: {
|
|
2788
|
-
type:
|
|
2788
|
+
type: D.argument,
|
|
2789
2789
|
// value does not include the opening and closing braces.
|
|
2790
2790
|
value: i,
|
|
2791
|
-
location:
|
|
2791
|
+
location: H(r, this.clonePosition())
|
|
2792
2792
|
},
|
|
2793
2793
|
err: null
|
|
2794
2794
|
};
|
|
2795
2795
|
case 44:
|
|
2796
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2796
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2797
2797
|
default:
|
|
2798
|
-
return this.error(
|
|
2798
|
+
return this.error(C.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
|
|
2799
2799
|
}
|
|
2800
2800
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2801
2801
|
var t = this.clonePosition(), n = this.offset(), r = Vt(this.message, n), i = n + r.length;
|
|
2802
2802
|
this.bumpTo(i);
|
|
2803
|
-
var o = this.clonePosition(), u =
|
|
2803
|
+
var o = this.clonePosition(), u = H(t, o);
|
|
2804
2804
|
return { value: r, location: u };
|
|
2805
2805
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2806
|
-
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
2806
|
+
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, d = this.clonePosition();
|
|
2807
2807
|
switch (s) {
|
|
2808
2808
|
case "":
|
|
2809
|
-
return this.error(
|
|
2809
|
+
return this.error(C.EXPECT_ARGUMENT_TYPE, H(u, d));
|
|
2810
2810
|
case "number":
|
|
2811
2811
|
case "date":
|
|
2812
2812
|
case "time": {
|
|
2813
2813
|
this.bumpSpace();
|
|
2814
|
-
var
|
|
2814
|
+
var h = null;
|
|
2815
2815
|
if (this.bumpIf(",")) {
|
|
2816
2816
|
this.bumpSpace();
|
|
2817
|
-
var c = this.clonePosition(),
|
|
2818
|
-
if (
|
|
2819
|
-
return
|
|
2820
|
-
var
|
|
2821
|
-
if (
|
|
2822
|
-
return this.error(
|
|
2823
|
-
var x =
|
|
2824
|
-
|
|
2817
|
+
var c = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
2818
|
+
if (g.err)
|
|
2819
|
+
return g;
|
|
2820
|
+
var y = Ti(g.val);
|
|
2821
|
+
if (y.length === 0)
|
|
2822
|
+
return this.error(C.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
|
|
2823
|
+
var x = H(c, this.clonePosition());
|
|
2824
|
+
h = { style: y, styleLocation: x };
|
|
2825
2825
|
}
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2828
|
-
return
|
|
2829
|
-
var
|
|
2830
|
-
if (
|
|
2831
|
-
var
|
|
2826
|
+
var T = this.tryParseArgumentClose(i);
|
|
2827
|
+
if (T.err)
|
|
2828
|
+
return T;
|
|
2829
|
+
var P = H(i, this.clonePosition());
|
|
2830
|
+
if (h && un(h?.style, "::", 0)) {
|
|
2831
|
+
var j = _i(h.style.slice(2));
|
|
2832
2832
|
if (s === "number") {
|
|
2833
|
-
var
|
|
2834
|
-
return
|
|
2835
|
-
val: { type:
|
|
2833
|
+
var g = this.parseNumberSkeletonFromString(j, h.styleLocation);
|
|
2834
|
+
return g.err ? g : {
|
|
2835
|
+
val: { type: D.number, value: r, location: P, style: g.val },
|
|
2836
2836
|
err: null
|
|
2837
2837
|
};
|
|
2838
2838
|
} else {
|
|
2839
|
-
if (
|
|
2840
|
-
return this.error(
|
|
2841
|
-
var
|
|
2842
|
-
this.locale && (
|
|
2843
|
-
var
|
|
2844
|
-
type:
|
|
2845
|
-
pattern:
|
|
2846
|
-
location:
|
|
2847
|
-
parsedOptions: this.shouldParseSkeletons ? ni(
|
|
2848
|
-
},
|
|
2839
|
+
if (j.length === 0)
|
|
2840
|
+
return this.error(C.EXPECT_DATE_TIME_SKELETON, P);
|
|
2841
|
+
var z = j;
|
|
2842
|
+
this.locale && (z = li(j, this.locale));
|
|
2843
|
+
var y = {
|
|
2844
|
+
type: Ue.dateTime,
|
|
2845
|
+
pattern: z,
|
|
2846
|
+
location: h.styleLocation,
|
|
2847
|
+
parsedOptions: this.shouldParseSkeletons ? ni(z) : {}
|
|
2848
|
+
}, G = s === "date" ? D.date : D.time;
|
|
2849
2849
|
return {
|
|
2850
|
-
val: { type:
|
|
2850
|
+
val: { type: G, value: r, location: P, style: y },
|
|
2851
2851
|
err: null
|
|
2852
2852
|
};
|
|
2853
2853
|
}
|
|
2854
2854
|
}
|
|
2855
2855
|
return {
|
|
2856
2856
|
val: {
|
|
2857
|
-
type: s === "number" ?
|
|
2857
|
+
type: s === "number" ? D.number : s === "date" ? D.date : D.time,
|
|
2858
2858
|
value: r,
|
|
2859
|
-
location:
|
|
2860
|
-
style: (o =
|
|
2859
|
+
location: P,
|
|
2860
|
+
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
|
2861
2861
|
},
|
|
2862
2862
|
err: null
|
|
2863
2863
|
};
|
|
@@ -2865,52 +2865,52 @@ var Bi = (
|
|
|
2865
2865
|
case "plural":
|
|
2866
2866
|
case "selectordinal":
|
|
2867
2867
|
case "select": {
|
|
2868
|
-
var
|
|
2868
|
+
var B = this.clonePosition();
|
|
2869
2869
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2870
|
-
return this.error(
|
|
2870
|
+
return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, pt({}, B)));
|
|
2871
2871
|
this.bumpSpace();
|
|
2872
|
-
var
|
|
2873
|
-
if (s !== "select" &&
|
|
2872
|
+
var w = this.parseIdentifierIfPossible(), I = 0;
|
|
2873
|
+
if (s !== "select" && w.value === "offset") {
|
|
2874
2874
|
if (!this.bumpIf(":"))
|
|
2875
|
-
return this.error(
|
|
2875
|
+
return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
|
|
2876
2876
|
this.bumpSpace();
|
|
2877
|
-
var
|
|
2878
|
-
if (
|
|
2879
|
-
return
|
|
2880
|
-
this.bumpSpace(),
|
|
2877
|
+
var g = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2878
|
+
if (g.err)
|
|
2879
|
+
return g;
|
|
2880
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), I = g.val;
|
|
2881
2881
|
}
|
|
2882
|
-
var R = this.tryParsePluralOrSelectOptions(t, s, n,
|
|
2882
|
+
var R = this.tryParsePluralOrSelectOptions(t, s, n, w);
|
|
2883
2883
|
if (R.err)
|
|
2884
2884
|
return R;
|
|
2885
|
-
var
|
|
2886
|
-
if (
|
|
2887
|
-
return
|
|
2888
|
-
var
|
|
2885
|
+
var T = this.tryParseArgumentClose(i);
|
|
2886
|
+
if (T.err)
|
|
2887
|
+
return T;
|
|
2888
|
+
var K = H(i, this.clonePosition());
|
|
2889
2889
|
return s === "select" ? {
|
|
2890
2890
|
val: {
|
|
2891
|
-
type:
|
|
2891
|
+
type: D.select,
|
|
2892
2892
|
value: r,
|
|
2893
2893
|
options: ln(R.val),
|
|
2894
|
-
location:
|
|
2894
|
+
location: K
|
|
2895
2895
|
},
|
|
2896
2896
|
err: null
|
|
2897
2897
|
} : {
|
|
2898
2898
|
val: {
|
|
2899
|
-
type:
|
|
2899
|
+
type: D.plural,
|
|
2900
2900
|
value: r,
|
|
2901
2901
|
options: ln(R.val),
|
|
2902
|
-
offset:
|
|
2902
|
+
offset: I,
|
|
2903
2903
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2904
|
-
location:
|
|
2904
|
+
location: K
|
|
2905
2905
|
},
|
|
2906
2906
|
err: null
|
|
2907
2907
|
};
|
|
2908
2908
|
}
|
|
2909
2909
|
default:
|
|
2910
|
-
return this.error(
|
|
2910
|
+
return this.error(C.INVALID_ARGUMENT_TYPE, H(u, d));
|
|
2911
2911
|
}
|
|
2912
2912
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2913
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2913
|
+
return this.isEOF() || this.char() !== 125 ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2914
2914
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2915
2915
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
2916
2916
|
var r = this.char();
|
|
@@ -2919,7 +2919,7 @@ var Bi = (
|
|
|
2919
2919
|
this.bump();
|
|
2920
2920
|
var i = this.clonePosition();
|
|
2921
2921
|
if (!this.bumpUntil("'"))
|
|
2922
|
-
return this.error(
|
|
2922
|
+
return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
|
|
2923
2923
|
this.bump();
|
|
2924
2924
|
break;
|
|
2925
2925
|
}
|
|
@@ -2951,11 +2951,11 @@ var Bi = (
|
|
|
2951
2951
|
try {
|
|
2952
2952
|
r = ii(t);
|
|
2953
2953
|
} catch {
|
|
2954
|
-
return this.error(
|
|
2954
|
+
return this.error(C.INVALID_NUMBER_SKELETON, n);
|
|
2955
2955
|
}
|
|
2956
2956
|
return {
|
|
2957
2957
|
val: {
|
|
2958
|
-
type:
|
|
2958
|
+
type: Ue.number,
|
|
2959
2959
|
tokens: r,
|
|
2960
2960
|
location: n,
|
|
2961
2961
|
parsedOptions: this.shouldParseSkeletons ? ui(r) : {}
|
|
@@ -2963,38 +2963,38 @@ var Bi = (
|
|
|
2963
2963
|
err: null
|
|
2964
2964
|
};
|
|
2965
2965
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
2966
|
-
for (var o, u = !1, s = [],
|
|
2967
|
-
if (
|
|
2968
|
-
var
|
|
2966
|
+
for (var o, u = !1, s = [], d = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
|
|
2967
|
+
if (h.length === 0) {
|
|
2968
|
+
var g = this.clonePosition();
|
|
2969
2969
|
if (n !== "select" && this.bumpIf("=")) {
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
return
|
|
2973
|
-
c =
|
|
2970
|
+
var y = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR, C.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2971
|
+
if (y.err)
|
|
2972
|
+
return y;
|
|
2973
|
+
c = H(g, this.clonePosition()), h = this.message.slice(g.offset, this.offset());
|
|
2974
2974
|
} else
|
|
2975
2975
|
break;
|
|
2976
2976
|
}
|
|
2977
|
-
if (
|
|
2978
|
-
return this.error(n === "select" ?
|
|
2979
|
-
|
|
2977
|
+
if (d.has(h))
|
|
2978
|
+
return this.error(n === "select" ? C.DUPLICATE_SELECT_ARGUMENT_SELECTOR : C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
2979
|
+
h === "other" && (u = !0), this.bumpSpace();
|
|
2980
2980
|
var x = this.clonePosition();
|
|
2981
2981
|
if (!this.bumpIf("{"))
|
|
2982
|
-
return this.error(n === "select" ?
|
|
2983
|
-
var
|
|
2984
|
-
if (
|
|
2985
|
-
return
|
|
2986
|
-
var
|
|
2987
|
-
if (
|
|
2988
|
-
return
|
|
2982
|
+
return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
|
|
2983
|
+
var T = this.parseMessage(t + 1, n, r);
|
|
2984
|
+
if (T.err)
|
|
2985
|
+
return T;
|
|
2986
|
+
var P = this.tryParseArgumentClose(x);
|
|
2987
|
+
if (P.err)
|
|
2988
|
+
return P;
|
|
2989
2989
|
s.push([
|
|
2990
|
-
|
|
2990
|
+
h,
|
|
2991
2991
|
{
|
|
2992
|
-
value:
|
|
2993
|
-
location:
|
|
2992
|
+
value: T.val,
|
|
2993
|
+
location: H(x, this.clonePosition())
|
|
2994
2994
|
}
|
|
2995
|
-
]),
|
|
2995
|
+
]), d.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, c = o.location;
|
|
2996
2996
|
}
|
|
2997
|
-
return s.length === 0 ? this.error(n === "select" ?
|
|
2997
|
+
return s.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(C.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2998
2998
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
2999
2999
|
var r = 1, i = this.clonePosition();
|
|
3000
3000
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3005,8 +3005,8 @@ var Bi = (
|
|
|
3005
3005
|
else
|
|
3006
3006
|
break;
|
|
3007
3007
|
}
|
|
3008
|
-
var
|
|
3009
|
-
return o ? (u *= r, Ei(u) ? { val: u, err: null } : this.error(n,
|
|
3008
|
+
var d = H(i, this.clonePosition());
|
|
3009
|
+
return o ? (u *= r, Ei(u) ? { val: u, err: null } : this.error(n, d)) : this.error(t, d);
|
|
3010
3010
|
}, e.prototype.offset = function() {
|
|
3011
3011
|
return this.position.offset;
|
|
3012
3012
|
}, e.prototype.isEOF = function() {
|
|
@@ -3089,30 +3089,30 @@ function Ai(e) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
function zt(e) {
|
|
3091
3091
|
e.forEach(function(t) {
|
|
3092
|
-
if (delete t.location,
|
|
3092
|
+
if (delete t.location, Pn(t) || In(t))
|
|
3093
3093
|
for (var n in t.options)
|
|
3094
3094
|
delete t.options[n].location, zt(t.options[n].value);
|
|
3095
3095
|
else
|
|
3096
|
-
Rn(t) && Fn(t.style) || (Nn(t) ||
|
|
3096
|
+
Rn(t) && Fn(t.style) || (Nn(t) || Mn(t)) && $t(t.style) ? delete t.style.location : Dn(t) && zt(t.children);
|
|
3097
3097
|
});
|
|
3098
3098
|
}
|
|
3099
3099
|
function Ci(e, t) {
|
|
3100
|
-
t === void 0 && (t = {}), t =
|
|
3100
|
+
t === void 0 && (t = {}), t = pt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3101
3101
|
var n = new Bi(e, t).parse();
|
|
3102
3102
|
if (n.err) {
|
|
3103
|
-
var r = SyntaxError(
|
|
3103
|
+
var r = SyntaxError(C[n.err.kind]);
|
|
3104
3104
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3105
3105
|
}
|
|
3106
3106
|
return t?.captureLocation || zt(n.val), n.val;
|
|
3107
3107
|
}
|
|
3108
|
-
var
|
|
3108
|
+
var Ge;
|
|
3109
3109
|
(function(e) {
|
|
3110
3110
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3111
|
-
})(
|
|
3112
|
-
var
|
|
3111
|
+
})(Ge || (Ge = {}));
|
|
3112
|
+
var vt = (
|
|
3113
3113
|
/** @class */
|
|
3114
3114
|
function(e) {
|
|
3115
|
-
|
|
3115
|
+
yt(t, e);
|
|
3116
3116
|
function t(n, r, i) {
|
|
3117
3117
|
var o = e.call(this, n) || this;
|
|
3118
3118
|
return o.code = r, o.originalMessage = i, o;
|
|
@@ -3124,152 +3124,152 @@ var Et = (
|
|
|
3124
3124
|
), cn = (
|
|
3125
3125
|
/** @class */
|
|
3126
3126
|
function(e) {
|
|
3127
|
-
|
|
3127
|
+
yt(t, e);
|
|
3128
3128
|
function t(n, r, i, o) {
|
|
3129
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3129
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
|
|
3130
3130
|
}
|
|
3131
3131
|
return t;
|
|
3132
|
-
}(
|
|
3132
|
+
}(vt)
|
|
3133
3133
|
), Hi = (
|
|
3134
3134
|
/** @class */
|
|
3135
3135
|
function(e) {
|
|
3136
|
-
|
|
3136
|
+
yt(t, e);
|
|
3137
3137
|
function t(n, r, i) {
|
|
3138
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3138
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ge.INVALID_VALUE, i) || this;
|
|
3139
3139
|
}
|
|
3140
3140
|
return t;
|
|
3141
|
-
}(
|
|
3141
|
+
}(vt)
|
|
3142
3142
|
), Oi = (
|
|
3143
3143
|
/** @class */
|
|
3144
3144
|
function(e) {
|
|
3145
|
-
|
|
3145
|
+
yt(t, e);
|
|
3146
3146
|
function t(n, r) {
|
|
3147
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3147
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ge.MISSING_VALUE, r) || this;
|
|
3148
3148
|
}
|
|
3149
3149
|
return t;
|
|
3150
|
-
}(
|
|
3151
|
-
),
|
|
3150
|
+
}(vt)
|
|
3151
|
+
), Y;
|
|
3152
3152
|
(function(e) {
|
|
3153
3153
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3154
|
-
})(
|
|
3154
|
+
})(Y || (Y = {}));
|
|
3155
3155
|
function Li(e) {
|
|
3156
3156
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3157
3157
|
var r = t[t.length - 1];
|
|
3158
|
-
return !r || r.type !==
|
|
3158
|
+
return !r || r.type !== Y.literal || n.type !== Y.literal ? t.push(n) : r.value += n.value, t;
|
|
3159
3159
|
}, []);
|
|
3160
3160
|
}
|
|
3161
3161
|
function Ri(e) {
|
|
3162
3162
|
return typeof e == "function";
|
|
3163
3163
|
}
|
|
3164
|
-
function
|
|
3164
|
+
function ht(e, t, n, r, i, o, u) {
|
|
3165
3165
|
if (e.length === 1 && rn(e[0]))
|
|
3166
3166
|
return [
|
|
3167
3167
|
{
|
|
3168
|
-
type:
|
|
3168
|
+
type: Y.literal,
|
|
3169
3169
|
value: e[0].value
|
|
3170
3170
|
}
|
|
3171
3171
|
];
|
|
3172
|
-
for (var s = [],
|
|
3173
|
-
var c =
|
|
3172
|
+
for (var s = [], d = 0, h = e; d < h.length; d++) {
|
|
3173
|
+
var c = h[d];
|
|
3174
3174
|
if (rn(c)) {
|
|
3175
3175
|
s.push({
|
|
3176
|
-
type:
|
|
3176
|
+
type: Y.literal,
|
|
3177
3177
|
value: c.value
|
|
3178
3178
|
});
|
|
3179
3179
|
continue;
|
|
3180
3180
|
}
|
|
3181
3181
|
if (ei(c)) {
|
|
3182
3182
|
typeof o == "number" && s.push({
|
|
3183
|
-
type:
|
|
3183
|
+
type: Y.literal,
|
|
3184
3184
|
value: n.getNumberFormat(t).format(o)
|
|
3185
3185
|
});
|
|
3186
3186
|
continue;
|
|
3187
3187
|
}
|
|
3188
|
-
var
|
|
3189
|
-
if (!(i &&
|
|
3190
|
-
throw new Oi(
|
|
3191
|
-
var
|
|
3188
|
+
var g = c.value;
|
|
3189
|
+
if (!(i && g in i))
|
|
3190
|
+
throw new Oi(g, u);
|
|
3191
|
+
var y = i[g];
|
|
3192
3192
|
if (Kr(c)) {
|
|
3193
|
-
(!
|
|
3194
|
-
type: typeof
|
|
3195
|
-
value:
|
|
3193
|
+
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), s.push({
|
|
3194
|
+
type: typeof y == "string" ? Y.literal : Y.object,
|
|
3195
|
+
value: y
|
|
3196
3196
|
});
|
|
3197
3197
|
continue;
|
|
3198
3198
|
}
|
|
3199
3199
|
if (Nn(c)) {
|
|
3200
3200
|
var x = typeof c.style == "string" ? r.date[c.style] : $t(c.style) ? c.style.parsedOptions : void 0;
|
|
3201
3201
|
s.push({
|
|
3202
|
-
type:
|
|
3203
|
-
value: n.getDateTimeFormat(t, x).format(
|
|
3202
|
+
type: Y.literal,
|
|
3203
|
+
value: n.getDateTimeFormat(t, x).format(y)
|
|
3204
3204
|
});
|
|
3205
3205
|
continue;
|
|
3206
3206
|
}
|
|
3207
|
-
if (
|
|
3207
|
+
if (Mn(c)) {
|
|
3208
3208
|
var x = typeof c.style == "string" ? r.time[c.style] : $t(c.style) ? c.style.parsedOptions : r.time.medium;
|
|
3209
3209
|
s.push({
|
|
3210
|
-
type:
|
|
3211
|
-
value: n.getDateTimeFormat(t, x).format(
|
|
3210
|
+
type: Y.literal,
|
|
3211
|
+
value: n.getDateTimeFormat(t, x).format(y)
|
|
3212
3212
|
});
|
|
3213
3213
|
continue;
|
|
3214
3214
|
}
|
|
3215
3215
|
if (Rn(c)) {
|
|
3216
3216
|
var x = typeof c.style == "string" ? r.number[c.style] : Fn(c.style) ? c.style.parsedOptions : void 0;
|
|
3217
|
-
x && x.scale && (
|
|
3218
|
-
type:
|
|
3219
|
-
value: n.getNumberFormat(t, x).format(
|
|
3217
|
+
x && x.scale && (y = y * (x.scale || 1)), s.push({
|
|
3218
|
+
type: Y.literal,
|
|
3219
|
+
value: n.getNumberFormat(t, x).format(y)
|
|
3220
3220
|
});
|
|
3221
3221
|
continue;
|
|
3222
3222
|
}
|
|
3223
3223
|
if (Dn(c)) {
|
|
3224
|
-
var
|
|
3225
|
-
if (!Ri(
|
|
3226
|
-
throw new Hi(
|
|
3227
|
-
var
|
|
3228
|
-
return
|
|
3224
|
+
var T = c.children, P = c.value, j = i[P];
|
|
3225
|
+
if (!Ri(j))
|
|
3226
|
+
throw new Hi(P, "function", u);
|
|
3227
|
+
var z = ht(T, t, n, r, i, o), G = j(z.map(function(I) {
|
|
3228
|
+
return I.value;
|
|
3229
3229
|
}));
|
|
3230
|
-
Array.isArray(
|
|
3230
|
+
Array.isArray(G) || (G = [G]), s.push.apply(s, G.map(function(I) {
|
|
3231
3231
|
return {
|
|
3232
|
-
type: typeof
|
|
3233
|
-
value:
|
|
3232
|
+
type: typeof I == "string" ? Y.literal : Y.object,
|
|
3233
|
+
value: I
|
|
3234
3234
|
};
|
|
3235
3235
|
}));
|
|
3236
3236
|
}
|
|
3237
|
-
if (
|
|
3238
|
-
var
|
|
3239
|
-
if (!
|
|
3240
|
-
throw new cn(c.value,
|
|
3241
|
-
s.push.apply(s,
|
|
3237
|
+
if (Pn(c)) {
|
|
3238
|
+
var B = c.options[y] || c.options.other;
|
|
3239
|
+
if (!B)
|
|
3240
|
+
throw new cn(c.value, y, Object.keys(c.options), u);
|
|
3241
|
+
s.push.apply(s, ht(B.value, t, n, r, i));
|
|
3242
3242
|
continue;
|
|
3243
3243
|
}
|
|
3244
3244
|
if (In(c)) {
|
|
3245
|
-
var
|
|
3246
|
-
if (!
|
|
3245
|
+
var B = c.options["=".concat(y)];
|
|
3246
|
+
if (!B) {
|
|
3247
3247
|
if (!Intl.PluralRules)
|
|
3248
|
-
throw new
|
|
3248
|
+
throw new vt(`Intl.PluralRules is not available in this environment.
|
|
3249
3249
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3250
|
-
`,
|
|
3251
|
-
var
|
|
3252
|
-
|
|
3250
|
+
`, Ge.MISSING_INTL_API, u);
|
|
3251
|
+
var w = n.getPluralRules(t, { type: c.pluralType }).select(y - (c.offset || 0));
|
|
3252
|
+
B = c.options[w] || c.options.other;
|
|
3253
3253
|
}
|
|
3254
|
-
if (!
|
|
3255
|
-
throw new cn(c.value,
|
|
3256
|
-
s.push.apply(s,
|
|
3254
|
+
if (!B)
|
|
3255
|
+
throw new cn(c.value, y, Object.keys(c.options), u);
|
|
3256
|
+
s.push.apply(s, ht(B.value, t, n, r, i, y - (c.offset || 0)));
|
|
3257
3257
|
continue;
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
return Li(s);
|
|
3261
3261
|
}
|
|
3262
3262
|
function Ni(e, t) {
|
|
3263
|
-
return t ?
|
|
3264
|
-
return n[r] =
|
|
3263
|
+
return t ? he(he(he({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3264
|
+
return n[r] = he(he({}, e[r]), t[r] || {}), n;
|
|
3265
3265
|
}, {})) : e;
|
|
3266
3266
|
}
|
|
3267
|
-
function
|
|
3267
|
+
function Mi(e, t) {
|
|
3268
3268
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3269
3269
|
return n[r] = Ni(e[r], t[r]), n;
|
|
3270
|
-
},
|
|
3270
|
+
}, he({}, e)) : e;
|
|
3271
3271
|
}
|
|
3272
|
-
function
|
|
3272
|
+
function Pt(e) {
|
|
3273
3273
|
return {
|
|
3274
3274
|
create: function() {
|
|
3275
3275
|
return {
|
|
@@ -3283,7 +3283,7 @@ function Mt(e) {
|
|
|
3283
3283
|
}
|
|
3284
3284
|
};
|
|
3285
3285
|
}
|
|
3286
|
-
function
|
|
3286
|
+
function Pi(e) {
|
|
3287
3287
|
return e === void 0 && (e = {
|
|
3288
3288
|
number: {},
|
|
3289
3289
|
dateTime: {},
|
|
@@ -3294,7 +3294,7 @@ function Mi(e) {
|
|
|
3294
3294
|
n[r] = arguments[r];
|
|
3295
3295
|
return new ((t = Intl.NumberFormat).bind.apply(t, Lt([void 0], n, !1)))();
|
|
3296
3296
|
}, {
|
|
3297
|
-
cache:
|
|
3297
|
+
cache: Pt(e.number),
|
|
3298
3298
|
strategy: Nt.variadic
|
|
3299
3299
|
}),
|
|
3300
3300
|
getDateTimeFormat: Rt(function() {
|
|
@@ -3302,7 +3302,7 @@ function Mi(e) {
|
|
|
3302
3302
|
n[r] = arguments[r];
|
|
3303
3303
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Lt([void 0], n, !1)))();
|
|
3304
3304
|
}, {
|
|
3305
|
-
cache:
|
|
3305
|
+
cache: Pt(e.dateTime),
|
|
3306
3306
|
strategy: Nt.variadic
|
|
3307
3307
|
}),
|
|
3308
3308
|
getPluralRules: Rt(function() {
|
|
@@ -3310,7 +3310,7 @@ function Mi(e) {
|
|
|
3310
3310
|
n[r] = arguments[r];
|
|
3311
3311
|
return new ((t = Intl.PluralRules).bind.apply(t, Lt([void 0], n, !1)))();
|
|
3312
3312
|
}, {
|
|
3313
|
-
cache:
|
|
3313
|
+
cache: Pt(e.pluralRules),
|
|
3314
3314
|
strategy: Nt.variadic
|
|
3315
3315
|
})
|
|
3316
3316
|
};
|
|
@@ -3325,20 +3325,20 @@ var Ii = (
|
|
|
3325
3325
|
number: {},
|
|
3326
3326
|
dateTime: {},
|
|
3327
3327
|
pluralRules: {}
|
|
3328
|
-
}, this.format = function(
|
|
3329
|
-
var
|
|
3330
|
-
if (
|
|
3331
|
-
return
|
|
3332
|
-
var c =
|
|
3333
|
-
return !
|
|
3328
|
+
}, this.format = function(d) {
|
|
3329
|
+
var h = o.formatToParts(d);
|
|
3330
|
+
if (h.length === 1)
|
|
3331
|
+
return h[0].value;
|
|
3332
|
+
var c = h.reduce(function(g, y) {
|
|
3333
|
+
return !g.length || y.type !== Y.literal || typeof g[g.length - 1] != "string" ? g.push(y.value) : g[g.length - 1] += y.value, g;
|
|
3334
3334
|
}, []);
|
|
3335
3335
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3336
|
-
}, this.formatToParts = function(
|
|
3337
|
-
return
|
|
3336
|
+
}, this.formatToParts = function(d) {
|
|
3337
|
+
return ht(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
|
|
3338
3338
|
}, this.resolvedOptions = function() {
|
|
3339
|
-
var
|
|
3339
|
+
var d;
|
|
3340
3340
|
return {
|
|
3341
|
-
locale: ((
|
|
3341
|
+
locale: ((d = o.resolvedLocale) === null || d === void 0 ? void 0 : d.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3342
3342
|
};
|
|
3343
3343
|
}, this.getAst = function() {
|
|
3344
3344
|
return o.ast;
|
|
@@ -3348,12 +3348,12 @@ var Ii = (
|
|
|
3348
3348
|
var u = i || {};
|
|
3349
3349
|
u.formatters;
|
|
3350
3350
|
var s = Xr(u, ["formatters"]);
|
|
3351
|
-
this.ast = e.__parse(t,
|
|
3351
|
+
this.ast = e.__parse(t, he(he({}, s), { locale: this.resolvedLocale }));
|
|
3352
3352
|
} else
|
|
3353
3353
|
this.ast = t;
|
|
3354
3354
|
if (!Array.isArray(this.ast))
|
|
3355
3355
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3356
|
-
this.formats =
|
|
3356
|
+
this.formats = Mi(e.formats, r), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
|
3357
3357
|
}
|
|
3358
3358
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3359
3359
|
get: function() {
|
|
@@ -3448,12 +3448,12 @@ function Di(e, t) {
|
|
|
3448
3448
|
r = void 0;
|
|
3449
3449
|
return r;
|
|
3450
3450
|
}
|
|
3451
|
-
const
|
|
3451
|
+
const Se = {}, Fi = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = n), n), zn = (e, t) => {
|
|
3452
3452
|
if (t == null)
|
|
3453
3453
|
return;
|
|
3454
|
-
if (t in
|
|
3455
|
-
return
|
|
3456
|
-
const n =
|
|
3454
|
+
if (t in Se && e in Se[t])
|
|
3455
|
+
return Se[t][e];
|
|
3456
|
+
const n = Et(t);
|
|
3457
3457
|
for (let r = 0; r < n.length; r++) {
|
|
3458
3458
|
const i = n[r], o = Gi(i, e);
|
|
3459
3459
|
if (o)
|
|
@@ -3461,7 +3461,7 @@ const we = {}, Fi = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (w
|
|
|
3461
3461
|
}
|
|
3462
3462
|
};
|
|
3463
3463
|
let Jt;
|
|
3464
|
-
const
|
|
3464
|
+
const rt = bt({});
|
|
3465
3465
|
function Ui(e) {
|
|
3466
3466
|
return Jt[e] || null;
|
|
3467
3467
|
}
|
|
@@ -3477,7 +3477,7 @@ function Gi(e, t) {
|
|
|
3477
3477
|
function $i(e) {
|
|
3478
3478
|
if (e == null)
|
|
3479
3479
|
return;
|
|
3480
|
-
const t =
|
|
3480
|
+
const t = Et(e);
|
|
3481
3481
|
for (let n = 0; n < t.length; n++) {
|
|
3482
3482
|
const r = t[n];
|
|
3483
3483
|
if (Wn(r))
|
|
@@ -3485,28 +3485,28 @@ function $i(e) {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
3487
|
function Zn(e, ...t) {
|
|
3488
|
-
delete
|
|
3488
|
+
delete Se[e], rt.update((n) => (n[e] = Vr.all([n[e] || {}, ...t]), n));
|
|
3489
3489
|
}
|
|
3490
|
-
|
|
3491
|
-
[
|
|
3490
|
+
ke(
|
|
3491
|
+
[rt],
|
|
3492
3492
|
([e]) => Object.keys(e)
|
|
3493
3493
|
);
|
|
3494
|
-
|
|
3495
|
-
const
|
|
3494
|
+
rt.subscribe((e) => Jt = e);
|
|
3495
|
+
const ct = {};
|
|
3496
3496
|
function ji(e, t) {
|
|
3497
|
-
|
|
3497
|
+
ct[e].delete(t), ct[e].size === 0 && delete ct[e];
|
|
3498
3498
|
}
|
|
3499
3499
|
function qn(e) {
|
|
3500
|
-
return
|
|
3500
|
+
return ct[e];
|
|
3501
3501
|
}
|
|
3502
3502
|
function ki(e) {
|
|
3503
|
-
return
|
|
3503
|
+
return Et(e).map((t) => {
|
|
3504
3504
|
const n = qn(t);
|
|
3505
3505
|
return [t, n ? [...n] : []];
|
|
3506
3506
|
}).filter(([, t]) => t.length > 0);
|
|
3507
3507
|
}
|
|
3508
3508
|
function Wt(e) {
|
|
3509
|
-
return e == null ? !1 :
|
|
3509
|
+
return e == null ? !1 : Et(e).some(
|
|
3510
3510
|
(t) => {
|
|
3511
3511
|
var n;
|
|
3512
3512
|
return (n = qn(t)) == null ? void 0 : n.size;
|
|
@@ -3518,20 +3518,20 @@ function Vi(e, t) {
|
|
|
3518
3518
|
t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
|
|
3519
3519
|
).then((r) => Zn(e, ...r));
|
|
3520
3520
|
}
|
|
3521
|
-
const
|
|
3521
|
+
const Ye = {};
|
|
3522
3522
|
function Qn(e) {
|
|
3523
3523
|
if (!Wt(e))
|
|
3524
|
-
return e in
|
|
3524
|
+
return e in Ye ? Ye[e] : Promise.resolve();
|
|
3525
3525
|
const t = ki(e);
|
|
3526
|
-
return
|
|
3526
|
+
return Ye[e] = Promise.all(
|
|
3527
3527
|
t.map(
|
|
3528
3528
|
([n, r]) => Vi(n, r)
|
|
3529
3529
|
)
|
|
3530
3530
|
).then(() => {
|
|
3531
3531
|
if (Wt(e))
|
|
3532
3532
|
return Qn(e);
|
|
3533
|
-
delete
|
|
3534
|
-
}),
|
|
3533
|
+
delete Ye[e];
|
|
3534
|
+
}), Ye[e];
|
|
3535
3535
|
}
|
|
3536
3536
|
const Xi = {
|
|
3537
3537
|
number: {
|
|
@@ -3570,10 +3570,10 @@ const Xi = {
|
|
|
3570
3570
|
handleMissingMessage: void 0,
|
|
3571
3571
|
ignoreTag: !0
|
|
3572
3572
|
}, Wi = zi;
|
|
3573
|
-
function
|
|
3573
|
+
function $e() {
|
|
3574
3574
|
return Wi;
|
|
3575
3575
|
}
|
|
3576
|
-
const It =
|
|
3576
|
+
const It = bt(!1);
|
|
3577
3577
|
var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, fn = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, dn = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ki = (e, t) => {
|
|
3578
3578
|
for (var n in t || (t = {}))
|
|
3579
3579
|
Ji.call(t, n) && dn(e, n, t[n]);
|
|
@@ -3583,112 +3583,112 @@ var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwn
|
|
|
3583
3583
|
return e;
|
|
3584
3584
|
}, eo = (e, t) => qi(e, Qi(t));
|
|
3585
3585
|
let Zt;
|
|
3586
|
-
const
|
|
3586
|
+
const mt = bt(null);
|
|
3587
3587
|
function pn(e) {
|
|
3588
3588
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3589
3589
|
}
|
|
3590
|
-
function
|
|
3590
|
+
function Et(e, t = $e().fallbackLocale) {
|
|
3591
3591
|
const n = pn(e);
|
|
3592
3592
|
return t ? [.../* @__PURE__ */ new Set([...n, ...pn(t)])] : n;
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function He() {
|
|
3595
3595
|
return Zt ?? void 0;
|
|
3596
3596
|
}
|
|
3597
|
-
|
|
3597
|
+
mt.subscribe((e) => {
|
|
3598
3598
|
Zt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3599
3599
|
});
|
|
3600
3600
|
const to = (e) => {
|
|
3601
3601
|
if (e && $i(e) && Wt(e)) {
|
|
3602
|
-
const { loadingDelay: t } =
|
|
3602
|
+
const { loadingDelay: t } = $e();
|
|
3603
3603
|
let n;
|
|
3604
|
-
return typeof window < "u" &&
|
|
3604
|
+
return typeof window < "u" && He() != null && t ? n = window.setTimeout(
|
|
3605
3605
|
() => It.set(!0),
|
|
3606
3606
|
t
|
|
3607
3607
|
) : It.set(!0), Qn(e).then(() => {
|
|
3608
|
-
|
|
3608
|
+
mt.set(e);
|
|
3609
3609
|
}).finally(() => {
|
|
3610
3610
|
clearTimeout(n), It.set(!1);
|
|
3611
3611
|
});
|
|
3612
3612
|
}
|
|
3613
|
-
return
|
|
3614
|
-
},
|
|
3613
|
+
return mt.set(e);
|
|
3614
|
+
}, Ve = eo(Ki({}, mt), {
|
|
3615
3615
|
set: to
|
|
3616
|
-
}),
|
|
3616
|
+
}), xt = (e) => {
|
|
3617
3617
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3618
3618
|
return (r) => {
|
|
3619
3619
|
const i = JSON.stringify(r);
|
|
3620
3620
|
return i in t ? t[i] : t[i] = e(r);
|
|
3621
3621
|
};
|
|
3622
3622
|
};
|
|
3623
|
-
var no = Object.defineProperty,
|
|
3623
|
+
var no = Object.defineProperty, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mn = (e, t, n) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Yt = (e, t) => {
|
|
3624
3624
|
for (var n in t || (t = {}))
|
|
3625
3625
|
Jn.call(t, n) && mn(e, n, t[n]);
|
|
3626
|
-
if (
|
|
3627
|
-
for (var n of
|
|
3626
|
+
if (gt)
|
|
3627
|
+
for (var n of gt(t))
|
|
3628
3628
|
Yn.call(t, n) && mn(e, n, t[n]);
|
|
3629
3629
|
return e;
|
|
3630
|
-
},
|
|
3630
|
+
}, Xe = (e, t) => {
|
|
3631
3631
|
var n = {};
|
|
3632
3632
|
for (var r in e)
|
|
3633
3633
|
Jn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3634
|
-
if (e != null &&
|
|
3635
|
-
for (var r of
|
|
3634
|
+
if (e != null && gt)
|
|
3635
|
+
for (var r of gt(e))
|
|
3636
3636
|
t.indexOf(r) < 0 && Yn.call(e, r) && (n[r] = e[r]);
|
|
3637
3637
|
return n;
|
|
3638
3638
|
};
|
|
3639
|
-
const
|
|
3640
|
-
const { formats: n } =
|
|
3639
|
+
const nt = (e, t) => {
|
|
3640
|
+
const { formats: n } = $e();
|
|
3641
3641
|
if (e in n && t in n[e])
|
|
3642
3642
|
return n[e][t];
|
|
3643
3643
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3644
|
-
}, ro =
|
|
3644
|
+
}, ro = xt(
|
|
3645
3645
|
(e) => {
|
|
3646
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3646
|
+
var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
|
|
3647
3647
|
if (n == null)
|
|
3648
3648
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3649
|
-
return r && (i =
|
|
3649
|
+
return r && (i = nt("number", r)), new Intl.NumberFormat(n, i);
|
|
3650
3650
|
}
|
|
3651
|
-
), io =
|
|
3651
|
+
), io = xt(
|
|
3652
3652
|
(e) => {
|
|
3653
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3653
|
+
var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
|
|
3654
3654
|
if (n == null)
|
|
3655
3655
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3656
|
-
return r ? i =
|
|
3656
|
+
return r ? i = nt("date", r) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3657
3657
|
}
|
|
3658
|
-
), oo =
|
|
3658
|
+
), oo = xt(
|
|
3659
3659
|
(e) => {
|
|
3660
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3660
|
+
var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
|
|
3661
3661
|
if (n == null)
|
|
3662
3662
|
throw new Error(
|
|
3663
3663
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3664
3664
|
);
|
|
3665
|
-
return r ? i =
|
|
3665
|
+
return r ? i = nt("time", r) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3666
3666
|
}
|
|
3667
3667
|
), ao = (e = {}) => {
|
|
3668
3668
|
var t = e, {
|
|
3669
|
-
locale: n =
|
|
3670
|
-
} = t, r =
|
|
3669
|
+
locale: n = He()
|
|
3670
|
+
} = t, r = Xe(t, [
|
|
3671
3671
|
"locale"
|
|
3672
3672
|
]);
|
|
3673
3673
|
return ro(Yt({ locale: n }, r));
|
|
3674
3674
|
}, so = (e = {}) => {
|
|
3675
3675
|
var t = e, {
|
|
3676
|
-
locale: n =
|
|
3677
|
-
} = t, r =
|
|
3676
|
+
locale: n = He()
|
|
3677
|
+
} = t, r = Xe(t, [
|
|
3678
3678
|
"locale"
|
|
3679
3679
|
]);
|
|
3680
3680
|
return io(Yt({ locale: n }, r));
|
|
3681
3681
|
}, uo = (e = {}) => {
|
|
3682
3682
|
var t = e, {
|
|
3683
|
-
locale: n =
|
|
3684
|
-
} = t, r =
|
|
3683
|
+
locale: n = He()
|
|
3684
|
+
} = t, r = Xe(t, [
|
|
3685
3685
|
"locale"
|
|
3686
3686
|
]);
|
|
3687
3687
|
return oo(Yt({ locale: n }, r));
|
|
3688
|
-
}, lo =
|
|
3688
|
+
}, lo = xt(
|
|
3689
3689
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3690
|
-
(e, t =
|
|
3691
|
-
ignoreTag:
|
|
3690
|
+
(e, t = He()) => new Ii(e, t, $e().formats, {
|
|
3691
|
+
ignoreTag: $e().ignoreTag
|
|
3692
3692
|
})
|
|
3693
3693
|
), ho = (e, t = {}) => {
|
|
3694
3694
|
var n, r, i, o;
|
|
@@ -3696,42 +3696,42 @@ const rt = (e, t) => {
|
|
|
3696
3696
|
typeof e == "object" && (u = e, e = u.id);
|
|
3697
3697
|
const {
|
|
3698
3698
|
values: s,
|
|
3699
|
-
locale:
|
|
3700
|
-
default:
|
|
3699
|
+
locale: d = He(),
|
|
3700
|
+
default: h
|
|
3701
3701
|
} = u;
|
|
3702
|
-
if (
|
|
3702
|
+
if (d == null)
|
|
3703
3703
|
throw new Error(
|
|
3704
3704
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3705
3705
|
);
|
|
3706
|
-
let c = zn(e,
|
|
3706
|
+
let c = zn(e, d);
|
|
3707
3707
|
if (!c)
|
|
3708
|
-
c = (o = (i = (r = (n =
|
|
3708
|
+
c = (o = (i = (r = (n = $e()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: d, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
3709
3709
|
else if (typeof c != "string")
|
|
3710
3710
|
return console.warn(
|
|
3711
3711
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3712
3712
|
), c;
|
|
3713
3713
|
if (!s)
|
|
3714
3714
|
return c;
|
|
3715
|
-
let
|
|
3715
|
+
let g = c;
|
|
3716
3716
|
try {
|
|
3717
|
-
|
|
3718
|
-
} catch (
|
|
3719
|
-
|
|
3717
|
+
g = lo(c, d).format(s);
|
|
3718
|
+
} catch (y) {
|
|
3719
|
+
y instanceof Error && console.warn(
|
|
3720
3720
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3721
|
-
|
|
3721
|
+
y.message
|
|
3722
3722
|
);
|
|
3723
3723
|
}
|
|
3724
|
-
return
|
|
3725
|
-
}, co = (e, t) => uo(t).format(e), fo = (e, t) => so(t).format(e), po = (e, t) => ao(t).format(e), mo = (e, t =
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3724
|
+
return g;
|
|
3725
|
+
}, co = (e, t) => uo(t).format(e), fo = (e, t) => so(t).format(e), po = (e, t) => ao(t).format(e), mo = (e, t = He()) => zn(e, t), go = ke([Ve, rt], () => ho);
|
|
3726
|
+
ke([Ve], () => co);
|
|
3727
|
+
ke([Ve], () => fo);
|
|
3728
|
+
ke([Ve], () => po);
|
|
3729
|
+
ke([Ve, rt], () => mo);
|
|
3730
3730
|
function gn(e, t) {
|
|
3731
3731
|
Zn(e, t);
|
|
3732
3732
|
}
|
|
3733
3733
|
function bo(e) {
|
|
3734
|
-
|
|
3734
|
+
Ve.set(e);
|
|
3735
3735
|
}
|
|
3736
3736
|
const bn = {
|
|
3737
3737
|
en: {
|
|
@@ -3941,35 +3941,35 @@ var qt = { exports: {} };
|
|
|
3941
3941
|
*/
|
|
3942
3942
|
(function(e, t) {
|
|
3943
3943
|
(function(n) {
|
|
3944
|
-
var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject,
|
|
3945
|
-
if (typeof window < "u" && typeof
|
|
3946
|
-
|
|
3944
|
+
var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject, d = n.EventSource, h = n.document, c = n.Promise, g = n.fetch, y = n.Response, x = n.TextDecoder, T = n.TextEncoder, P = n.AbortController;
|
|
3945
|
+
if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(a) {
|
|
3946
|
+
h.readyState = "complete";
|
|
3947
3947
|
}, !1)), o == null && s != null && (o = function() {
|
|
3948
3948
|
return new s("Microsoft.XMLHTTP");
|
|
3949
3949
|
}), Object.create == null && (Object.create = function(a) {
|
|
3950
|
-
function
|
|
3950
|
+
function l() {
|
|
3951
3951
|
}
|
|
3952
|
-
return
|
|
3952
|
+
return l.prototype = a, new l();
|
|
3953
3953
|
}), Date.now || (Date.now = function() {
|
|
3954
3954
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
3955
|
-
}),
|
|
3956
|
-
var
|
|
3957
|
-
|
|
3958
|
-
var
|
|
3959
|
-
return
|
|
3960
|
-
var
|
|
3961
|
-
return
|
|
3962
|
-
status:
|
|
3963
|
-
statusText:
|
|
3964
|
-
headers:
|
|
3955
|
+
}), P == null) {
|
|
3956
|
+
var j = g;
|
|
3957
|
+
g = function(a, l) {
|
|
3958
|
+
var f = l.signal;
|
|
3959
|
+
return j(a, { headers: l.headers, credentials: l.credentials, cache: l.cache }).then(function(p) {
|
|
3960
|
+
var E = p.body.getReader();
|
|
3961
|
+
return f._reader = E, f._aborted && f._reader.cancel(), {
|
|
3962
|
+
status: p.status,
|
|
3963
|
+
statusText: p.statusText,
|
|
3964
|
+
headers: p.headers,
|
|
3965
3965
|
body: {
|
|
3966
3966
|
getReader: function() {
|
|
3967
|
-
return
|
|
3967
|
+
return E;
|
|
3968
3968
|
}
|
|
3969
3969
|
}
|
|
3970
3970
|
};
|
|
3971
3971
|
});
|
|
3972
|
-
},
|
|
3972
|
+
}, P = function() {
|
|
3973
3973
|
this.signal = {
|
|
3974
3974
|
_reader: null,
|
|
3975
3975
|
_aborted: !1
|
|
@@ -3978,403 +3978,403 @@ var qt = { exports: {} };
|
|
|
3978
3978
|
};
|
|
3979
3979
|
};
|
|
3980
3980
|
}
|
|
3981
|
-
function
|
|
3981
|
+
function z() {
|
|
3982
3982
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
3983
3983
|
}
|
|
3984
|
-
|
|
3985
|
-
function
|
|
3986
|
-
if (
|
|
3987
|
-
return
|
|
3988
|
-
if (
|
|
3989
|
-
return
|
|
3990
|
-
if (
|
|
3991
|
-
return
|
|
3984
|
+
z.prototype.decode = function(a) {
|
|
3985
|
+
function l(O, L, S) {
|
|
3986
|
+
if (S === 1)
|
|
3987
|
+
return O >= 128 >> L && O << L <= 2047;
|
|
3988
|
+
if (S === 2)
|
|
3989
|
+
return O >= 2048 >> L && O << L <= 55295 || O >= 57344 >> L && O << L <= 65535;
|
|
3990
|
+
if (S === 3)
|
|
3991
|
+
return O >= 65536 >> L && O << L <= 1114111;
|
|
3992
3992
|
throw new Error();
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3995
|
-
if (
|
|
3996
|
-
return
|
|
3997
|
-
if (
|
|
3998
|
-
return
|
|
3999
|
-
if (
|
|
3994
|
+
function f(O, L) {
|
|
3995
|
+
if (O === 6 * 1)
|
|
3996
|
+
return L >> 6 > 15 ? 3 : L > 31 ? 2 : 1;
|
|
3997
|
+
if (O === 6 * 2)
|
|
3998
|
+
return L > 15 ? 3 : 2;
|
|
3999
|
+
if (O === 6 * 3)
|
|
4000
4000
|
return 3;
|
|
4001
4001
|
throw new Error();
|
|
4002
4002
|
}
|
|
4003
|
-
for (var
|
|
4004
|
-
var
|
|
4005
|
-
|
|
4003
|
+
for (var p = 65533, E = "", m = this.bitsNeeded, _ = this.codePoint, N = 0; N < a.length; N += 1) {
|
|
4004
|
+
var A = a[N];
|
|
4005
|
+
m !== 0 && (A < 128 || A > 191 || !l(_ << 6 | A & 63, m - 6, f(m, _))) && (m = 0, _ = p, E += String.fromCharCode(_)), m === 0 ? (A >= 0 && A <= 127 ? (m = 0, _ = A) : A >= 192 && A <= 223 ? (m = 6 * 1, _ = A & 31) : A >= 224 && A <= 239 ? (m = 6 * 2, _ = A & 15) : A >= 240 && A <= 247 ? (m = 6 * 3, _ = A & 7) : (m = 0, _ = p), m !== 0 && !l(_, m, f(m, _)) && (m = 0, _ = p)) : (m -= 6, _ = _ << 6 | A & 63), m === 0 && (_ <= 65535 ? E += String.fromCharCode(_) : (E += String.fromCharCode(55296 + (_ - 65535 - 1 >> 10)), E += String.fromCharCode(56320 + (_ - 65535 - 1 & 1023))));
|
|
4006
4006
|
}
|
|
4007
|
-
return this.bitsNeeded =
|
|
4007
|
+
return this.bitsNeeded = m, this.codePoint = _, E;
|
|
4008
4008
|
};
|
|
4009
|
-
var
|
|
4009
|
+
var G = function() {
|
|
4010
4010
|
try {
|
|
4011
|
-
return new x().decode(new
|
|
4011
|
+
return new x().decode(new T().encode("test"), { stream: !0 }) === "test";
|
|
4012
4012
|
} catch (a) {
|
|
4013
4013
|
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
|
|
4014
4014
|
}
|
|
4015
4015
|
return !1;
|
|
4016
4016
|
};
|
|
4017
|
-
(x == null ||
|
|
4018
|
-
var
|
|
4017
|
+
(x == null || T == null || !G()) && (x = z);
|
|
4018
|
+
var B = function() {
|
|
4019
4019
|
};
|
|
4020
|
-
function
|
|
4021
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
4020
|
+
function w(a) {
|
|
4021
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = B, this.onload = B, this.onerror = B, this.onreadystatechange = B, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = B;
|
|
4022
4022
|
}
|
|
4023
|
-
|
|
4023
|
+
w.prototype.open = function(a, l) {
|
|
4024
4024
|
this._abort(!0);
|
|
4025
|
-
var
|
|
4026
|
-
this._abort = function(
|
|
4027
|
-
|
|
4025
|
+
var f = this, p = this._xhr, E = 1, m = 0;
|
|
4026
|
+
this._abort = function(S) {
|
|
4027
|
+
f._sendTimeout !== 0 && (i(f._sendTimeout), f._sendTimeout = 0), (E === 1 || E === 2 || E === 3) && (E = 4, p.onload = B, p.onerror = B, p.onabort = B, p.onprogress = B, p.onreadystatechange = B, p.abort(), m !== 0 && (i(m), m = 0), S || (f.readyState = 4, f.onabort(null), f.onreadystatechange())), E = 0;
|
|
4028
4028
|
};
|
|
4029
|
-
var
|
|
4030
|
-
if (
|
|
4031
|
-
var
|
|
4032
|
-
if ("contentType" in
|
|
4033
|
-
|
|
4029
|
+
var _ = function() {
|
|
4030
|
+
if (E === 1) {
|
|
4031
|
+
var S = 0, F = "", me = void 0;
|
|
4032
|
+
if ("contentType" in p)
|
|
4033
|
+
S = 200, F = "OK", me = p.contentType;
|
|
4034
4034
|
else
|
|
4035
4035
|
try {
|
|
4036
|
-
|
|
4036
|
+
S = p.status, F = p.statusText, me = p.getResponseHeader("Content-Type");
|
|
4037
4037
|
} catch {
|
|
4038
|
-
|
|
4038
|
+
S = 0, F = "", me = void 0;
|
|
4039
4039
|
}
|
|
4040
|
-
|
|
4040
|
+
S !== 0 && (E = 2, f.readyState = 2, f.status = S, f.statusText = F, f._contentType = me, f.onreadystatechange());
|
|
4041
4041
|
}
|
|
4042
4042
|
}, N = function() {
|
|
4043
|
-
if (
|
|
4044
|
-
|
|
4045
|
-
var
|
|
4043
|
+
if (_(), E === 2 || E === 3) {
|
|
4044
|
+
E = 3;
|
|
4045
|
+
var S = "";
|
|
4046
4046
|
try {
|
|
4047
|
-
|
|
4047
|
+
S = p.responseText;
|
|
4048
4048
|
} catch {
|
|
4049
4049
|
}
|
|
4050
|
-
|
|
4050
|
+
f.readyState = 3, f.responseText = S, f.onprogress();
|
|
4051
4051
|
}
|
|
4052
|
-
},
|
|
4053
|
-
if ((
|
|
4054
|
-
preventDefault:
|
|
4055
|
-
}), N(),
|
|
4056
|
-
if (
|
|
4057
|
-
|
|
4058
|
-
else if (
|
|
4059
|
-
|
|
4060
|
-
else if (
|
|
4061
|
-
|
|
4052
|
+
}, A = function(S, F) {
|
|
4053
|
+
if ((F == null || F.preventDefault == null) && (F = {
|
|
4054
|
+
preventDefault: B
|
|
4055
|
+
}), N(), E === 1 || E === 2 || E === 3) {
|
|
4056
|
+
if (E = 4, m !== 0 && (i(m), m = 0), f.readyState = 4, S === "load")
|
|
4057
|
+
f.onload(F);
|
|
4058
|
+
else if (S === "error")
|
|
4059
|
+
f.onerror(F);
|
|
4060
|
+
else if (S === "abort")
|
|
4061
|
+
f.onabort(F);
|
|
4062
4062
|
else
|
|
4063
4063
|
throw new TypeError();
|
|
4064
|
-
|
|
4064
|
+
f.onreadystatechange();
|
|
4065
4065
|
}
|
|
4066
|
-
},
|
|
4067
|
-
|
|
4068
|
-
},
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
}, 500),
|
|
4066
|
+
}, O = function(S) {
|
|
4067
|
+
p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && A(p.responseText === "" ? "error" : "load", S) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && _());
|
|
4068
|
+
}, L = function() {
|
|
4069
|
+
m = r(function() {
|
|
4070
|
+
L();
|
|
4071
|
+
}, 500), p.readyState === 3 && N();
|
|
4072
4072
|
};
|
|
4073
|
-
"onload" in
|
|
4074
|
-
|
|
4075
|
-
}), "onerror" in
|
|
4076
|
-
|
|
4077
|
-
}), "onabort" in
|
|
4078
|
-
|
|
4079
|
-
}), "onprogress" in
|
|
4080
|
-
|
|
4081
|
-
}), ("contentType" in
|
|
4082
|
-
|
|
4073
|
+
"onload" in p && (p.onload = function(S) {
|
|
4074
|
+
A("load", S);
|
|
4075
|
+
}), "onerror" in p && (p.onerror = function(S) {
|
|
4076
|
+
A("error", S);
|
|
4077
|
+
}), "onabort" in p && (p.onabort = function(S) {
|
|
4078
|
+
A("abort", S);
|
|
4079
|
+
}), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(S) {
|
|
4080
|
+
O(S);
|
|
4081
|
+
}), ("contentType" in p || !("ontimeout" in o.prototype)) && (l += (l.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(a, l, !0), "readyState" in p && (m = r(function() {
|
|
4082
|
+
L();
|
|
4083
4083
|
}, 0));
|
|
4084
|
-
},
|
|
4084
|
+
}, w.prototype.abort = function() {
|
|
4085
4085
|
this._abort(!1);
|
|
4086
|
-
},
|
|
4086
|
+
}, w.prototype.getResponseHeader = function(a) {
|
|
4087
4087
|
return this._contentType;
|
|
4088
|
-
},
|
|
4089
|
-
var
|
|
4090
|
-
"setRequestHeader" in
|
|
4091
|
-
},
|
|
4088
|
+
}, w.prototype.setRequestHeader = function(a, l) {
|
|
4089
|
+
var f = this._xhr;
|
|
4090
|
+
"setRequestHeader" in f && f.setRequestHeader(a, l);
|
|
4091
|
+
}, w.prototype.getAllResponseHeaders = function() {
|
|
4092
4092
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
4093
|
-
},
|
|
4094
|
-
if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) &&
|
|
4093
|
+
}, w.prototype.send = function() {
|
|
4094
|
+
if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && h != null && h.readyState != null && h.readyState !== "complete") {
|
|
4095
4095
|
var a = this;
|
|
4096
4096
|
a._sendTimeout = r(function() {
|
|
4097
4097
|
a._sendTimeout = 0, a.send();
|
|
4098
4098
|
}, 4);
|
|
4099
4099
|
return;
|
|
4100
4100
|
}
|
|
4101
|
-
var
|
|
4102
|
-
"withCredentials" in
|
|
4101
|
+
var l = this._xhr;
|
|
4102
|
+
"withCredentials" in l && (l.withCredentials = this.withCredentials);
|
|
4103
4103
|
try {
|
|
4104
|
-
|
|
4105
|
-
} catch (
|
|
4106
|
-
throw
|
|
4104
|
+
l.send(void 0);
|
|
4105
|
+
} catch (f) {
|
|
4106
|
+
throw f;
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
|
-
function
|
|
4110
|
-
return a.replace(/[A-Z]/g, function(
|
|
4111
|
-
return String.fromCharCode(
|
|
4109
|
+
function I(a) {
|
|
4110
|
+
return a.replace(/[A-Z]/g, function(l) {
|
|
4111
|
+
return String.fromCharCode(l.charCodeAt(0) + 32);
|
|
4112
4112
|
});
|
|
4113
4113
|
}
|
|
4114
4114
|
function R(a) {
|
|
4115
|
-
for (var
|
|
4116
|
-
`),
|
|
4117
|
-
var
|
|
4118
|
-
|
|
4115
|
+
for (var l = /* @__PURE__ */ Object.create(null), f = a.split(`\r
|
|
4116
|
+
`), p = 0; p < f.length; p += 1) {
|
|
4117
|
+
var E = f[p], m = E.split(": "), _ = m.shift(), N = m.join(": ");
|
|
4118
|
+
l[I(_)] = N;
|
|
4119
4119
|
}
|
|
4120
|
-
this._map =
|
|
4120
|
+
this._map = l;
|
|
4121
4121
|
}
|
|
4122
4122
|
R.prototype.get = function(a) {
|
|
4123
|
-
return this._map[
|
|
4123
|
+
return this._map[I(a)];
|
|
4124
4124
|
}, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
|
|
4125
|
-
function
|
|
4125
|
+
function K() {
|
|
4126
4126
|
}
|
|
4127
|
-
|
|
4128
|
-
a.open("GET",
|
|
4127
|
+
K.prototype.open = function(a, l, f, p, E, m, _) {
|
|
4128
|
+
a.open("GET", E);
|
|
4129
4129
|
var N = 0;
|
|
4130
4130
|
a.onprogress = function() {
|
|
4131
|
-
var
|
|
4132
|
-
N +=
|
|
4133
|
-
}, a.onerror = function(
|
|
4134
|
-
|
|
4131
|
+
var O = a.responseText, L = O.slice(N);
|
|
4132
|
+
N += L.length, f(L);
|
|
4133
|
+
}, a.onerror = function(O) {
|
|
4134
|
+
O.preventDefault(), p(new Error("NetworkError"));
|
|
4135
4135
|
}, a.onload = function() {
|
|
4136
|
-
|
|
4136
|
+
p(null);
|
|
4137
4137
|
}, a.onabort = function() {
|
|
4138
|
-
|
|
4138
|
+
p(null);
|
|
4139
4139
|
}, a.onreadystatechange = function() {
|
|
4140
4140
|
if (a.readyState === o.HEADERS_RECEIVED) {
|
|
4141
|
-
var
|
|
4142
|
-
|
|
4141
|
+
var O = a.status, L = a.statusText, S = a.getResponseHeader("Content-Type"), F = a.getAllResponseHeaders();
|
|
4142
|
+
l(O, L, S, new R(F));
|
|
4143
4143
|
}
|
|
4144
|
-
}, a.withCredentials =
|
|
4145
|
-
for (var
|
|
4146
|
-
Object.prototype.hasOwnProperty.call(
|
|
4144
|
+
}, a.withCredentials = m;
|
|
4145
|
+
for (var A in _)
|
|
4146
|
+
Object.prototype.hasOwnProperty.call(_, A) && a.setRequestHeader(A, _[A]);
|
|
4147
4147
|
return a.send(), a;
|
|
4148
4148
|
};
|
|
4149
|
-
function
|
|
4149
|
+
function fe(a) {
|
|
4150
4150
|
this._headers = a;
|
|
4151
4151
|
}
|
|
4152
|
-
|
|
4152
|
+
fe.prototype.get = function(a) {
|
|
4153
4153
|
return this._headers.get(a);
|
|
4154
4154
|
};
|
|
4155
|
-
function
|
|
4155
|
+
function de() {
|
|
4156
4156
|
}
|
|
4157
|
-
|
|
4158
|
-
var N = null,
|
|
4159
|
-
return
|
|
4160
|
-
headers:
|
|
4161
|
-
credentials:
|
|
4162
|
-
signal:
|
|
4157
|
+
de.prototype.open = function(a, l, f, p, E, m, _) {
|
|
4158
|
+
var N = null, A = new P(), O = A.signal, L = new x();
|
|
4159
|
+
return g(E, {
|
|
4160
|
+
headers: _,
|
|
4161
|
+
credentials: m ? "include" : "same-origin",
|
|
4162
|
+
signal: O,
|
|
4163
4163
|
cache: "no-store"
|
|
4164
|
-
}).then(function(
|
|
4165
|
-
return N =
|
|
4166
|
-
var
|
|
4167
|
-
N.read().then(function(
|
|
4168
|
-
if (
|
|
4169
|
-
|
|
4164
|
+
}).then(function(S) {
|
|
4165
|
+
return N = S.body.getReader(), l(S.status, S.statusText, S.headers.get("Content-Type"), new fe(S.headers)), new c(function(F, me) {
|
|
4166
|
+
var Qe = function() {
|
|
4167
|
+
N.read().then(function(ne) {
|
|
4168
|
+
if (ne.done)
|
|
4169
|
+
F(void 0);
|
|
4170
4170
|
else {
|
|
4171
|
-
var
|
|
4172
|
-
|
|
4171
|
+
var q = L.decode(ne.value, { stream: !0 });
|
|
4172
|
+
f(q), Qe();
|
|
4173
4173
|
}
|
|
4174
|
-
}).catch(function(
|
|
4175
|
-
|
|
4174
|
+
}).catch(function(ne) {
|
|
4175
|
+
me(ne);
|
|
4176
4176
|
});
|
|
4177
4177
|
};
|
|
4178
|
-
|
|
4178
|
+
Qe();
|
|
4179
4179
|
});
|
|
4180
|
-
}).catch(function(
|
|
4181
|
-
if (
|
|
4182
|
-
return
|
|
4183
|
-
}).then(function(
|
|
4184
|
-
|
|
4180
|
+
}).catch(function(S) {
|
|
4181
|
+
if (S.name !== "AbortError")
|
|
4182
|
+
return S;
|
|
4183
|
+
}).then(function(S) {
|
|
4184
|
+
p(S);
|
|
4185
4185
|
}), {
|
|
4186
4186
|
abort: function() {
|
|
4187
|
-
N?.cancel(),
|
|
4187
|
+
N?.cancel(), A.abort();
|
|
4188
4188
|
}
|
|
4189
4189
|
};
|
|
4190
4190
|
};
|
|
4191
|
-
function
|
|
4191
|
+
function ee() {
|
|
4192
4192
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
4193
4193
|
}
|
|
4194
|
-
function
|
|
4194
|
+
function xe(a) {
|
|
4195
4195
|
r(function() {
|
|
4196
4196
|
throw a;
|
|
4197
4197
|
}, 0);
|
|
4198
4198
|
}
|
|
4199
|
-
|
|
4199
|
+
ee.prototype.dispatchEvent = function(a) {
|
|
4200
4200
|
a.target = this;
|
|
4201
|
-
var
|
|
4202
|
-
if (
|
|
4203
|
-
for (var
|
|
4204
|
-
var
|
|
4201
|
+
var l = this._listeners[a.type];
|
|
4202
|
+
if (l != null)
|
|
4203
|
+
for (var f = l.length, p = 0; p < f; p += 1) {
|
|
4204
|
+
var E = l[p];
|
|
4205
4205
|
try {
|
|
4206
|
-
typeof
|
|
4207
|
-
} catch (
|
|
4208
|
-
|
|
4206
|
+
typeof E.handleEvent == "function" ? E.handleEvent(a) : E.call(this, a);
|
|
4207
|
+
} catch (m) {
|
|
4208
|
+
xe(m);
|
|
4209
4209
|
}
|
|
4210
4210
|
}
|
|
4211
|
-
},
|
|
4211
|
+
}, ee.prototype.addEventListener = function(a, l) {
|
|
4212
4212
|
a = String(a);
|
|
4213
|
-
var
|
|
4214
|
-
|
|
4215
|
-
for (var
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
},
|
|
4213
|
+
var f = this._listeners, p = f[a];
|
|
4214
|
+
p == null && (p = [], f[a] = p);
|
|
4215
|
+
for (var E = !1, m = 0; m < p.length; m += 1)
|
|
4216
|
+
p[m] === l && (E = !0);
|
|
4217
|
+
E || p.push(l);
|
|
4218
|
+
}, ee.prototype.removeEventListener = function(a, l) {
|
|
4219
4219
|
a = String(a);
|
|
4220
|
-
var
|
|
4221
|
-
if (
|
|
4222
|
-
for (var
|
|
4223
|
-
|
|
4224
|
-
|
|
4220
|
+
var f = this._listeners, p = f[a];
|
|
4221
|
+
if (p != null) {
|
|
4222
|
+
for (var E = [], m = 0; m < p.length; m += 1)
|
|
4223
|
+
p[m] !== l && E.push(p[m]);
|
|
4224
|
+
E.length === 0 ? delete f[a] : f[a] = E;
|
|
4225
4225
|
}
|
|
4226
4226
|
};
|
|
4227
|
-
function
|
|
4227
|
+
function v(a) {
|
|
4228
4228
|
this.type = a, this.target = void 0;
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4231
|
-
|
|
4230
|
+
function _e(a, l) {
|
|
4231
|
+
v.call(this, a), this.data = l.data, this.lastEventId = l.lastEventId;
|
|
4232
4232
|
}
|
|
4233
|
-
|
|
4234
|
-
function
|
|
4235
|
-
|
|
4233
|
+
_e.prototype = Object.create(v.prototype);
|
|
4234
|
+
function ze(a, l) {
|
|
4235
|
+
v.call(this, a), this.status = l.status, this.statusText = l.statusText, this.headers = l.headers;
|
|
4236
4236
|
}
|
|
4237
|
-
|
|
4238
|
-
function
|
|
4239
|
-
|
|
4237
|
+
ze.prototype = Object.create(v.prototype);
|
|
4238
|
+
function it(a, l) {
|
|
4239
|
+
v.call(this, a), this.error = l.error;
|
|
4240
4240
|
}
|
|
4241
|
-
|
|
4242
|
-
var
|
|
4243
|
-
var
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4246
|
-
return Math.min(Math.max(a,
|
|
4247
|
-
},
|
|
4241
|
+
it.prototype = Object.create(v.prototype);
|
|
4242
|
+
var We = -1, ue = 0, Te = 1, pe = 2, Oe = -1, le = 0, we = 1, Ze = 2, _t = 3, ot = /^text\/event\-stream(;.*)?$/i, Tt = 1e3, Bt = 18e6, qe = function(a, l) {
|
|
4243
|
+
var f = a == null ? l : parseInt(a, 10);
|
|
4244
|
+
return f !== f && (f = l), Le(f);
|
|
4245
|
+
}, Le = function(a) {
|
|
4246
|
+
return Math.min(Math.max(a, Tt), Bt);
|
|
4247
|
+
}, Be = function(a, l, f) {
|
|
4248
4248
|
try {
|
|
4249
|
-
typeof
|
|
4250
|
-
} catch (
|
|
4251
|
-
|
|
4249
|
+
typeof l == "function" && l.call(a, f);
|
|
4250
|
+
} catch (p) {
|
|
4251
|
+
xe(p);
|
|
4252
4252
|
}
|
|
4253
4253
|
};
|
|
4254
|
-
function
|
|
4255
|
-
|
|
4254
|
+
function te(a, l) {
|
|
4255
|
+
ee.call(this), l = l || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, At(this, a, l);
|
|
4256
4256
|
}
|
|
4257
|
-
function
|
|
4257
|
+
function St() {
|
|
4258
4258
|
return o != null && "withCredentials" in o.prototype || u == null ? new o() : new u();
|
|
4259
4259
|
}
|
|
4260
|
-
var
|
|
4261
|
-
function
|
|
4262
|
-
|
|
4263
|
-
var
|
|
4264
|
-
if (
|
|
4265
|
-
if (
|
|
4266
|
-
|
|
4267
|
-
var
|
|
4268
|
-
status:
|
|
4269
|
-
statusText:
|
|
4270
|
-
headers:
|
|
4260
|
+
var wt = g != null && y != null && "body" in y.prototype;
|
|
4261
|
+
function At(a, l, f) {
|
|
4262
|
+
l = String(l);
|
|
4263
|
+
var p = !!f.withCredentials, E = f.lastEventIdQueryParameterName || "lastEventId", m = Le(1e3), _ = qe(f.heartbeatTimeout, 45e3), N = "", A = m, O = !1, L = 0, S = f.headers || {}, F = f.Transport, me = wt && F == null ? void 0 : new w(F != null ? new F() : St()), Qe = F != null && typeof F != "string" ? new F() : me == null ? new de() : new K(), ne = void 0, q = 0, ae = We, Re = "", at = "", ge = "", st = "", Q = le, Ct = 0, Ae = 0, Kn = function(V, k, re, ie) {
|
|
4264
|
+
if (ae === ue)
|
|
4265
|
+
if (V === 200 && re != null && ot.test(re)) {
|
|
4266
|
+
ae = Te, O = Date.now(), A = m, a.readyState = Te;
|
|
4267
|
+
var J = new ze("open", {
|
|
4268
|
+
status: V,
|
|
4269
|
+
statusText: k,
|
|
4270
|
+
headers: ie
|
|
4271
4271
|
});
|
|
4272
|
-
a.dispatchEvent(
|
|
4272
|
+
a.dispatchEvent(J), Be(a, a.onopen, J);
|
|
4273
4273
|
} else {
|
|
4274
|
-
var
|
|
4275
|
-
|
|
4276
|
-
var
|
|
4277
|
-
status:
|
|
4278
|
-
statusText:
|
|
4279
|
-
headers:
|
|
4274
|
+
var W = "";
|
|
4275
|
+
V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), W = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : W = "EventSource's response has a Content-Type specifying an unsupported type: " + (re == null ? "-" : re.replace(/\s+/g, " ")) + ". Aborting the connection.", Ht();
|
|
4276
|
+
var J = new ze("error", {
|
|
4277
|
+
status: V,
|
|
4278
|
+
statusText: k,
|
|
4279
|
+
headers: ie
|
|
4280
4280
|
});
|
|
4281
|
-
a.dispatchEvent(
|
|
4281
|
+
a.dispatchEvent(J), Be(a, a.onerror, J), console.error(W);
|
|
4282
4282
|
}
|
|
4283
|
-
}, er = function(
|
|
4284
|
-
if (
|
|
4285
|
-
for (var
|
|
4286
|
-
var
|
|
4287
|
-
(
|
|
4283
|
+
}, er = function(V) {
|
|
4284
|
+
if (ae === Te) {
|
|
4285
|
+
for (var k = -1, re = 0; re < V.length; re += 1) {
|
|
4286
|
+
var ie = V.charCodeAt(re);
|
|
4287
|
+
(ie === 10 || ie === 13) && (k = re);
|
|
4288
4288
|
}
|
|
4289
|
-
var
|
|
4290
|
-
|
|
4291
|
-
for (var
|
|
4292
|
-
var
|
|
4293
|
-
if (
|
|
4294
|
-
|
|
4295
|
-
else if (
|
|
4296
|
-
if (
|
|
4297
|
-
|
|
4298
|
-
var
|
|
4299
|
-
|
|
4300
|
-
`,
|
|
4301
|
-
|
|
4302
|
-
},
|
|
4289
|
+
var J = (k !== -1 ? st : "") + V.slice(0, k + 1);
|
|
4290
|
+
st = (k === -1 ? st : "") + V.slice(k + 1), V !== "" && (O = Date.now(), L += V.length);
|
|
4291
|
+
for (var W = 0; W < J.length; W += 1) {
|
|
4292
|
+
var ie = J.charCodeAt(W);
|
|
4293
|
+
if (Q === Oe && ie === 10)
|
|
4294
|
+
Q = le;
|
|
4295
|
+
else if (Q === Oe && (Q = le), ie === 13 || ie === 10) {
|
|
4296
|
+
if (Q !== le) {
|
|
4297
|
+
Q === we && (Ae = W + 1);
|
|
4298
|
+
var be = J.slice(Ct, Ae - 1), ye = J.slice(Ae + (Ae < W && J.charCodeAt(Ae) === 32 ? 1 : 0), W);
|
|
4299
|
+
be === "data" ? (Re += `
|
|
4300
|
+
`, Re += ye) : be === "id" ? at = ye : be === "event" ? ge = ye : be === "retry" ? (m = qe(ye, m), A = m) : be === "heartbeatTimeout" && (_ = qe(ye, _), q !== 0 && (i(q), q = r(function() {
|
|
4301
|
+
Je();
|
|
4302
|
+
}, _)));
|
|
4303
4303
|
}
|
|
4304
|
-
if (
|
|
4305
|
-
if (
|
|
4306
|
-
N =
|
|
4307
|
-
var
|
|
4308
|
-
data:
|
|
4309
|
-
lastEventId:
|
|
4304
|
+
if (Q === le) {
|
|
4305
|
+
if (Re !== "") {
|
|
4306
|
+
N = at, ge === "" && (ge = "message");
|
|
4307
|
+
var Ne = new _e(ge, {
|
|
4308
|
+
data: Re.slice(1),
|
|
4309
|
+
lastEventId: at
|
|
4310
4310
|
});
|
|
4311
|
-
if (a.dispatchEvent(
|
|
4311
|
+
if (a.dispatchEvent(Ne), ge === "open" ? Be(a, a.onopen, Ne) : ge === "message" ? Be(a, a.onmessage, Ne) : ge === "error" && Be(a, a.onerror, Ne), ae === pe)
|
|
4312
4312
|
return;
|
|
4313
4313
|
}
|
|
4314
|
-
|
|
4314
|
+
Re = "", ge = "";
|
|
4315
4315
|
}
|
|
4316
|
-
|
|
4316
|
+
Q = ie === 13 ? Oe : le;
|
|
4317
4317
|
} else
|
|
4318
|
-
|
|
4318
|
+
Q === le && (Ct = W, Q = we), Q === we ? ie === 58 && (Ae = W + 1, Q = Ze) : Q === Ze && (Q = _t);
|
|
4319
4319
|
}
|
|
4320
4320
|
}
|
|
4321
|
-
}, Kt = function(
|
|
4322
|
-
if (
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
},
|
|
4326
|
-
var
|
|
4327
|
-
a.dispatchEvent(
|
|
4321
|
+
}, Kt = function(V) {
|
|
4322
|
+
if (ae === Te || ae === ue) {
|
|
4323
|
+
ae = We, q !== 0 && (i(q), q = 0), q = r(function() {
|
|
4324
|
+
Je();
|
|
4325
|
+
}, A), A = Le(Math.min(m * 16, A * 2)), a.readyState = ue;
|
|
4326
|
+
var k = new it("error", { error: V });
|
|
4327
|
+
a.dispatchEvent(k), Be(a, a.onerror, k), V != null && console.error(V);
|
|
4328
4328
|
}
|
|
4329
4329
|
}, Ht = function() {
|
|
4330
|
-
|
|
4331
|
-
},
|
|
4332
|
-
if (
|
|
4333
|
-
if (!
|
|
4334
|
-
Kt(new Error("No activity within " +
|
|
4330
|
+
ae = pe, ne != null && (ne.abort(), ne = void 0), q !== 0 && (i(q), q = 0), a.readyState = pe;
|
|
4331
|
+
}, Je = function() {
|
|
4332
|
+
if (q = 0, ae !== We) {
|
|
4333
|
+
if (!O && ne != null)
|
|
4334
|
+
Kt(new Error("No activity within " + _ + " milliseconds. " + (ae === ue ? "No response received." : L + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
|
|
4335
4335
|
else {
|
|
4336
|
-
var
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
},
|
|
4336
|
+
var V = Math.max((O || Date.now()) + _ - Date.now(), 1);
|
|
4337
|
+
O = !1, q = r(function() {
|
|
4338
|
+
Je();
|
|
4339
|
+
}, V);
|
|
4340
4340
|
}
|
|
4341
4341
|
return;
|
|
4342
4342
|
}
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
},
|
|
4346
|
-
var
|
|
4347
|
-
if (
|
|
4348
|
-
var
|
|
4349
|
-
|
|
4350
|
-
return
|
|
4351
|
-
}),
|
|
4343
|
+
O = !1, L = 0, q = r(function() {
|
|
4344
|
+
Je();
|
|
4345
|
+
}, _), ae = ue, Re = "", ge = "", at = N, st = "", Ct = 0, Ae = 0, Q = le;
|
|
4346
|
+
var k = l;
|
|
4347
|
+
if (l.slice(0, 5) !== "data:" && l.slice(0, 5) !== "blob:" && N !== "") {
|
|
4348
|
+
var re = l.indexOf("?");
|
|
4349
|
+
k = re === -1 ? l : l.slice(0, re + 1) + l.slice(re + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Ne) {
|
|
4350
|
+
return Ne === E ? "" : ye;
|
|
4351
|
+
}), k += (l.indexOf("?") === -1 ? "?" : "&") + E + "=" + encodeURIComponent(N);
|
|
4352
4352
|
}
|
|
4353
|
-
var
|
|
4354
|
-
|
|
4355
|
-
var
|
|
4356
|
-
if (
|
|
4357
|
-
for (var
|
|
4358
|
-
Object.prototype.hasOwnProperty.call(
|
|
4353
|
+
var ie = a.withCredentials, J = {};
|
|
4354
|
+
J.Accept = "text/event-stream";
|
|
4355
|
+
var W = a.headers;
|
|
4356
|
+
if (W != null)
|
|
4357
|
+
for (var be in W)
|
|
4358
|
+
Object.prototype.hasOwnProperty.call(W, be) && (J[be] = W[be]);
|
|
4359
4359
|
try {
|
|
4360
|
-
|
|
4361
|
-
} catch (
|
|
4362
|
-
throw Ht(),
|
|
4360
|
+
ne = Qe.open(me, Kn, er, Kt, k, ie, J);
|
|
4361
|
+
} catch (ye) {
|
|
4362
|
+
throw Ht(), ye;
|
|
4363
4363
|
}
|
|
4364
4364
|
};
|
|
4365
|
-
a.url =
|
|
4365
|
+
a.url = l, a.readyState = ue, a.withCredentials = p, a.headers = S, a._close = Ht, Je();
|
|
4366
4366
|
}
|
|
4367
|
-
|
|
4367
|
+
te.prototype = Object.create(ee.prototype), te.prototype.CONNECTING = ue, te.prototype.OPEN = Te, te.prototype.CLOSED = pe, te.prototype.close = function() {
|
|
4368
4368
|
this._close();
|
|
4369
|
-
},
|
|
4370
|
-
var
|
|
4371
|
-
o != null && (
|
|
4369
|
+
}, te.CONNECTING = ue, te.OPEN = Te, te.CLOSED = pe, te.prototype.withCredentials = void 0;
|
|
4370
|
+
var b = d;
|
|
4371
|
+
o != null && (d == null || !("withCredentials" in d.prototype)) && (b = te), function(a) {
|
|
4372
4372
|
{
|
|
4373
|
-
var
|
|
4374
|
-
|
|
4373
|
+
var l = a(t);
|
|
4374
|
+
l !== void 0 && (e.exports = l);
|
|
4375
4375
|
}
|
|
4376
4376
|
}(function(a) {
|
|
4377
|
-
a.EventSourcePolyfill =
|
|
4377
|
+
a.EventSourcePolyfill = te, a.NativeEventSource = d, a.EventSource = b;
|
|
4378
4378
|
});
|
|
4379
4379
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Cr : globalThis);
|
|
4380
4380
|
})(qt, qt.exports);
|
|
@@ -4384,11 +4384,11 @@ function vo(e) {
|
|
|
4384
4384
|
}
|
|
4385
4385
|
function yn(e, t, n) {
|
|
4386
4386
|
const r = e.slice();
|
|
4387
|
-
return r[
|
|
4387
|
+
return r[49] = t[n], r;
|
|
4388
4388
|
}
|
|
4389
4389
|
function vn(e, t, n) {
|
|
4390
4390
|
const r = e.slice();
|
|
4391
|
-
return r[
|
|
4391
|
+
return r[52] = t[n], r;
|
|
4392
4392
|
}
|
|
4393
4393
|
function Eo(e) {
|
|
4394
4394
|
let t, n = (
|
|
@@ -4400,36 +4400,36 @@ function Eo(e) {
|
|
|
4400
4400
|
e[3].Total[0].amount
|
|
4401
4401
|
)
|
|
4402
4402
|
) : "0") + ""
|
|
4403
|
-
), r, i, o, u, s,
|
|
4403
|
+
), r, i, o, u, s, d, h, c = (
|
|
4404
4404
|
/*isModalDisplayed*/
|
|
4405
4405
|
e[2] && En(e)
|
|
4406
4406
|
);
|
|
4407
4407
|
return {
|
|
4408
4408
|
c() {
|
|
4409
|
-
t =
|
|
4409
|
+
t = $("button"), r = ve(n), i = Ee(), o = $("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" 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" transform="translate(-6.188 -11.246)"></path></svg>', u = Ee(), c && c.c(), s = ar(), Z(t, "class", "BalanceValue");
|
|
4410
4410
|
},
|
|
4411
|
-
m(
|
|
4412
|
-
|
|
4411
|
+
m(g, y) {
|
|
4412
|
+
ce(g, t, y), M(t, r), M(t, i), M(t, o), ce(g, u, y), c && c.m(g, y), ce(g, s, y), d || (h = ft(
|
|
4413
4413
|
t,
|
|
4414
4414
|
"click",
|
|
4415
4415
|
/*click_handler*/
|
|
4416
4416
|
e[23]
|
|
4417
|
-
),
|
|
4417
|
+
), d = !0);
|
|
4418
4418
|
},
|
|
4419
|
-
p(
|
|
4420
|
-
|
|
4419
|
+
p(g, y) {
|
|
4420
|
+
y[0] & /*balances*/
|
|
4421
4421
|
8 && n !== (n = /*balances*/
|
|
4422
|
-
(
|
|
4422
|
+
(g[3].Total ? (
|
|
4423
4423
|
/*formatBalance*/
|
|
4424
|
-
|
|
4424
|
+
g[5](
|
|
4425
4425
|
/*balances*/
|
|
4426
|
-
|
|
4426
|
+
g[3].Total[0].amount
|
|
4427
4427
|
)
|
|
4428
|
-
) : "0") + "") &&
|
|
4429
|
-
|
|
4428
|
+
) : "0") + "") && Ce(r, n), /*isModalDisplayed*/
|
|
4429
|
+
g[2] ? c ? c.p(g, y) : (c = En(g), c.c(), c.m(s.parentNode, s)) : c && (c.d(1), c = null);
|
|
4430
4430
|
},
|
|
4431
|
-
d(
|
|
4432
|
-
|
|
4431
|
+
d(g) {
|
|
4432
|
+
g && (se(t), se(u), se(s)), c && c.d(g), d = !1, h();
|
|
4433
4433
|
}
|
|
4434
4434
|
};
|
|
4435
4435
|
}
|
|
@@ -4440,18 +4440,18 @@ function xo(e) {
|
|
|
4440
4440
|
), r;
|
|
4441
4441
|
return {
|
|
4442
4442
|
c() {
|
|
4443
|
-
t =
|
|
4443
|
+
t = $("p"), r = ve(n);
|
|
4444
4444
|
},
|
|
4445
4445
|
m(i, o) {
|
|
4446
|
-
|
|
4446
|
+
ce(i, t, o), M(t, r);
|
|
4447
4447
|
},
|
|
4448
4448
|
p(i, o) {
|
|
4449
4449
|
o[0] & /*$_*/
|
|
4450
4450
|
16 && n !== (n = /*$_*/
|
|
4451
|
-
i[4]("Loading") + "") &&
|
|
4451
|
+
i[4]("Loading") + "") && Ce(r, n);
|
|
4452
4452
|
},
|
|
4453
4453
|
d(i) {
|
|
4454
|
-
i &&
|
|
4454
|
+
i && se(t);
|
|
4455
4455
|
}
|
|
4456
4456
|
};
|
|
4457
4457
|
}
|
|
@@ -4459,65 +4459,65 @@ function En(e) {
|
|
|
4459
4459
|
let t, n, r, i, o, u, s = (
|
|
4460
4460
|
/*$_*/
|
|
4461
4461
|
e[4]("Title") + ""
|
|
4462
|
-
),
|
|
4462
|
+
), d, h, c, g, y, x, T = (
|
|
4463
4463
|
/*$_*/
|
|
4464
4464
|
e[4]("DepositButton") + ""
|
|
4465
|
-
),
|
|
4465
|
+
), P, j, z, G = dt(Object.keys(
|
|
4466
4466
|
/*balances*/
|
|
4467
4467
|
e[3]
|
|
4468
|
-
)),
|
|
4469
|
-
for (let
|
|
4470
|
-
|
|
4468
|
+
)), B = [];
|
|
4469
|
+
for (let w = 0; w < G.length; w += 1)
|
|
4470
|
+
B[w] = _n(yn(e, G, w));
|
|
4471
4471
|
return {
|
|
4472
4472
|
c() {
|
|
4473
|
-
t =
|
|
4474
|
-
for (let
|
|
4475
|
-
|
|
4476
|
-
|
|
4473
|
+
t = $("div"), n = $("button"), r = Ee(), i = $("div"), o = $("div"), u = $("p"), d = ve(s), h = Ee(), c = $("div");
|
|
4474
|
+
for (let w = 0; w < B.length; w += 1)
|
|
4475
|
+
B[w].c();
|
|
4476
|
+
g = Ee(), y = $("div"), x = $("button"), P = ve(T), Z(n, "class", "BalanceModalClose"), Z(u, "class", "BalanceModalTitle"), Z(o, "class", "BalanceModalHeader"), Z(c, "class", "BalanceModalBody"), Z(x, "class", "BalanceModalAction"), Z(y, "class", "BalanceModalFooter"), Z(i, "class", "BalanceModal"), Z(t, "class", "BalanceModalWrapper");
|
|
4477
4477
|
},
|
|
4478
|
-
m(
|
|
4479
|
-
|
|
4480
|
-
for (let R = 0; R <
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4478
|
+
m(w, I) {
|
|
4479
|
+
ce(w, t, I), M(t, n), M(t, r), M(t, i), M(i, o), M(o, u), M(u, d), M(i, h), M(i, c);
|
|
4480
|
+
for (let R = 0; R < B.length; R += 1)
|
|
4481
|
+
B[R] && B[R].m(c, null);
|
|
4482
|
+
M(i, g), M(i, y), M(y, x), M(x, P), j || (z = [
|
|
4483
|
+
ft(
|
|
4484
4484
|
n,
|
|
4485
4485
|
"click",
|
|
4486
4486
|
/*click_handler_1*/
|
|
4487
4487
|
e[24]
|
|
4488
4488
|
),
|
|
4489
|
-
|
|
4489
|
+
ft(
|
|
4490
4490
|
x,
|
|
4491
4491
|
"click",
|
|
4492
4492
|
/*click_handler_2*/
|
|
4493
4493
|
e[25]
|
|
4494
4494
|
)
|
|
4495
|
-
],
|
|
4495
|
+
], j = !0);
|
|
4496
4496
|
},
|
|
4497
|
-
p(
|
|
4498
|
-
if (
|
|
4497
|
+
p(w, I) {
|
|
4498
|
+
if (I[0] & /*$_*/
|
|
4499
4499
|
16 && s !== (s = /*$_*/
|
|
4500
|
-
|
|
4500
|
+
w[4]("Title") + "") && Ce(d, s), I[0] & /*balances, formatBalance, $_*/
|
|
4501
4501
|
56) {
|
|
4502
|
-
|
|
4502
|
+
G = dt(Object.keys(
|
|
4503
4503
|
/*balances*/
|
|
4504
|
-
|
|
4504
|
+
w[3]
|
|
4505
4505
|
));
|
|
4506
4506
|
let R;
|
|
4507
|
-
for (R = 0; R <
|
|
4508
|
-
const
|
|
4509
|
-
|
|
4507
|
+
for (R = 0; R < G.length; R += 1) {
|
|
4508
|
+
const K = yn(w, G, R);
|
|
4509
|
+
B[R] ? B[R].p(K, I) : (B[R] = _n(K), B[R].c(), B[R].m(c, null));
|
|
4510
4510
|
}
|
|
4511
|
-
for (; R <
|
|
4512
|
-
|
|
4513
|
-
|
|
4511
|
+
for (; R < B.length; R += 1)
|
|
4512
|
+
B[R].d(1);
|
|
4513
|
+
B.length = G.length;
|
|
4514
4514
|
}
|
|
4515
|
-
|
|
4516
|
-
16 &&
|
|
4517
|
-
|
|
4515
|
+
I[0] & /*$_*/
|
|
4516
|
+
16 && T !== (T = /*$_*/
|
|
4517
|
+
w[4]("DepositButton") + "") && Ce(P, T);
|
|
4518
4518
|
},
|
|
4519
|
-
d(
|
|
4520
|
-
|
|
4519
|
+
d(w) {
|
|
4520
|
+
w && se(t), An(B, w), j = !1, je(z);
|
|
4521
4521
|
}
|
|
4522
4522
|
};
|
|
4523
4523
|
}
|
|
@@ -4526,94 +4526,94 @@ function xn(e) {
|
|
|
4526
4526
|
/*$_*/
|
|
4527
4527
|
e[4](
|
|
4528
4528
|
/*k*/
|
|
4529
|
-
e[
|
|
4529
|
+
e[49]
|
|
4530
4530
|
) + ""
|
|
4531
4531
|
), i, o, u = (
|
|
4532
4532
|
/*b*/
|
|
4533
|
-
(e[
|
|
4533
|
+
(e[52].productType ? (
|
|
4534
4534
|
/*$_*/
|
|
4535
4535
|
e[4](
|
|
4536
4536
|
/*b*/
|
|
4537
|
-
e[
|
|
4537
|
+
e[52].productType
|
|
4538
4538
|
)
|
|
4539
4539
|
) : "") + ""
|
|
4540
|
-
), s,
|
|
4540
|
+
), s, d, h, c, g = (
|
|
4541
4541
|
/*formatBalance*/
|
|
4542
4542
|
e[5](
|
|
4543
4543
|
/*b*/
|
|
4544
|
-
e[
|
|
4544
|
+
e[52].amount
|
|
4545
4545
|
) + ""
|
|
4546
|
-
),
|
|
4546
|
+
), y;
|
|
4547
4547
|
return {
|
|
4548
4548
|
c() {
|
|
4549
|
-
t =
|
|
4549
|
+
t = $("div"), n = $("p"), i = ve(r), o = Ee(), s = ve(u), d = Ee(), h = $("p"), c = $("span"), y = ve(g), Z(n, "class", "BalanceModalText"), Z(c, "class", "BalanceModalAmount"), Z(h, "class", "BalanceModalValue"), Z(t, "class", "BalanceModalRowLine");
|
|
4550
4550
|
},
|
|
4551
|
-
m(x,
|
|
4552
|
-
|
|
4551
|
+
m(x, T) {
|
|
4552
|
+
ce(x, t, T), M(t, n), M(n, i), M(n, o), M(n, s), M(t, d), M(t, h), M(h, c), M(c, y);
|
|
4553
4553
|
},
|
|
4554
|
-
p(x,
|
|
4555
|
-
|
|
4554
|
+
p(x, T) {
|
|
4555
|
+
T[0] & /*$_, balances*/
|
|
4556
4556
|
24 && r !== (r = /*$_*/
|
|
4557
4557
|
x[4](
|
|
4558
4558
|
/*k*/
|
|
4559
|
-
x[
|
|
4560
|
-
) + "") &&
|
|
4559
|
+
x[49]
|
|
4560
|
+
) + "") && Ce(i, r), T[0] & /*balances, $_*/
|
|
4561
4561
|
24 && u !== (u = /*b*/
|
|
4562
|
-
(x[
|
|
4562
|
+
(x[52].productType ? (
|
|
4563
4563
|
/*$_*/
|
|
4564
4564
|
x[4](
|
|
4565
4565
|
/*b*/
|
|
4566
|
-
x[
|
|
4566
|
+
x[52].productType
|
|
4567
4567
|
)
|
|
4568
|
-
) : "") + "") &&
|
|
4569
|
-
8 &&
|
|
4568
|
+
) : "") + "") && Ce(s, u), T[0] & /*balances*/
|
|
4569
|
+
8 && g !== (g = /*formatBalance*/
|
|
4570
4570
|
x[5](
|
|
4571
4571
|
/*b*/
|
|
4572
|
-
x[
|
|
4573
|
-
) + "") &&
|
|
4572
|
+
x[52].amount
|
|
4573
|
+
) + "") && Ce(y, g);
|
|
4574
4574
|
},
|
|
4575
4575
|
d(x) {
|
|
4576
|
-
x &&
|
|
4576
|
+
x && se(t);
|
|
4577
4577
|
}
|
|
4578
4578
|
};
|
|
4579
4579
|
}
|
|
4580
4580
|
function _n(e) {
|
|
4581
|
-
let t, n, r =
|
|
4581
|
+
let t, n, r = dt(
|
|
4582
4582
|
/*balances*/
|
|
4583
4583
|
e[3][
|
|
4584
4584
|
/*k*/
|
|
4585
|
-
e[
|
|
4585
|
+
e[49]
|
|
4586
4586
|
]
|
|
4587
4587
|
), i = [];
|
|
4588
4588
|
for (let o = 0; o < r.length; o += 1)
|
|
4589
4589
|
i[o] = xn(vn(e, r, o));
|
|
4590
4590
|
return {
|
|
4591
4591
|
c() {
|
|
4592
|
-
t =
|
|
4592
|
+
t = $("div");
|
|
4593
4593
|
for (let o = 0; o < i.length; o += 1)
|
|
4594
4594
|
i[o].c();
|
|
4595
|
-
n =
|
|
4595
|
+
n = Ee(), Z(t, "class", "BalanceModalRowBoth");
|
|
4596
4596
|
},
|
|
4597
4597
|
m(o, u) {
|
|
4598
|
-
|
|
4598
|
+
ce(o, t, u);
|
|
4599
4599
|
for (let s = 0; s < i.length; s += 1)
|
|
4600
4600
|
i[s] && i[s].m(t, null);
|
|
4601
|
-
|
|
4601
|
+
M(t, n);
|
|
4602
4602
|
},
|
|
4603
4603
|
p(o, u) {
|
|
4604
4604
|
if (u[0] & /*formatBalance, balances, $_*/
|
|
4605
4605
|
56) {
|
|
4606
|
-
r =
|
|
4606
|
+
r = dt(
|
|
4607
4607
|
/*balances*/
|
|
4608
4608
|
o[3][
|
|
4609
4609
|
/*k*/
|
|
4610
|
-
o[
|
|
4610
|
+
o[49]
|
|
4611
4611
|
]
|
|
4612
4612
|
);
|
|
4613
4613
|
let s;
|
|
4614
4614
|
for (s = 0; s < r.length; s += 1) {
|
|
4615
|
-
const
|
|
4616
|
-
i[s] ? i[s].p(
|
|
4615
|
+
const d = vn(o, r, s);
|
|
4616
|
+
i[s] ? i[s].p(d, u) : (i[s] = xn(d), i[s].c(), i[s].m(t, n));
|
|
4617
4617
|
}
|
|
4618
4618
|
for (; s < i.length; s += 1)
|
|
4619
4619
|
i[s].d(1);
|
|
@@ -4621,7 +4621,7 @@ function _n(e) {
|
|
|
4621
4621
|
}
|
|
4622
4622
|
},
|
|
4623
4623
|
d(o) {
|
|
4624
|
-
o &&
|
|
4624
|
+
o && se(t), An(i, o);
|
|
4625
4625
|
}
|
|
4626
4626
|
};
|
|
4627
4627
|
}
|
|
@@ -4629,28 +4629,28 @@ function Tn(e) {
|
|
|
4629
4629
|
let t, n, r;
|
|
4630
4630
|
return {
|
|
4631
4631
|
c() {
|
|
4632
|
-
t =
|
|
4632
|
+
t = $("button"), Z(t, "class", "ShowBalanceModalOverlay");
|
|
4633
4633
|
},
|
|
4634
4634
|
m(i, o) {
|
|
4635
|
-
|
|
4635
|
+
ce(i, t, o), n || (r = ft(
|
|
4636
4636
|
t,
|
|
4637
4637
|
"click",
|
|
4638
4638
|
/*click_handler_3*/
|
|
4639
4639
|
e[26]
|
|
4640
4640
|
), n = !0);
|
|
4641
4641
|
},
|
|
4642
|
-
p:
|
|
4642
|
+
p: oe,
|
|
4643
4643
|
d(i) {
|
|
4644
|
-
i &&
|
|
4644
|
+
i && se(t), n = !1, r();
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
4647
|
}
|
|
4648
4648
|
function _o(e) {
|
|
4649
4649
|
let t, n, r;
|
|
4650
|
-
function i(
|
|
4650
|
+
function i(d, h) {
|
|
4651
4651
|
return (
|
|
4652
4652
|
/*isLoading*/
|
|
4653
|
-
|
|
4653
|
+
d[1] ? xo : Eo
|
|
4654
4654
|
);
|
|
4655
4655
|
}
|
|
4656
4656
|
let o = i(e), u = o(e), s = (
|
|
@@ -4659,131 +4659,131 @@ function _o(e) {
|
|
|
4659
4659
|
);
|
|
4660
4660
|
return {
|
|
4661
4661
|
c() {
|
|
4662
|
-
t =
|
|
4662
|
+
t = $("div"), n = $("div"), u.c(), r = Ee(), s && s.c(), Z(n, "class", "ShowBalance");
|
|
4663
4663
|
},
|
|
4664
|
-
m(
|
|
4665
|
-
|
|
4664
|
+
m(d, h) {
|
|
4665
|
+
ce(d, t, h), M(t, n), u.m(n, null), M(t, r), s && s.m(t, null), e[27](t);
|
|
4666
4666
|
},
|
|
4667
|
-
p(
|
|
4668
|
-
o === (o = i(
|
|
4669
|
-
|
|
4667
|
+
p(d, h) {
|
|
4668
|
+
o === (o = i(d)) && u ? u.p(d, h) : (u.d(1), u = o(d), u && (u.c(), u.m(n, null))), /*isModalDisplayed*/
|
|
4669
|
+
d[2] ? s ? s.p(d, h) : (s = Tn(d), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4670
4670
|
},
|
|
4671
|
-
i:
|
|
4672
|
-
o:
|
|
4673
|
-
d(
|
|
4674
|
-
|
|
4671
|
+
i: oe,
|
|
4672
|
+
o: oe,
|
|
4673
|
+
d(d) {
|
|
4674
|
+
d && se(t), u.d(), s && s.d(), e[27](null);
|
|
4675
4675
|
}
|
|
4676
4676
|
};
|
|
4677
4677
|
}
|
|
4678
4678
|
function To(e, t, n) {
|
|
4679
4679
|
let r;
|
|
4680
4680
|
nr(e, go, (b) => n(4, r = b));
|
|
4681
|
-
let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource:
|
|
4682
|
-
const
|
|
4683
|
-
fetch(
|
|
4681
|
+
let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource: d } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: g = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: x = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencylocale: P = "en" } = t, { currencydisplay: j = "symbol" } = t, { maximumfractiondigits: z = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: B = "" } = t, w, I = !0, R = !1, K = !1, fe, de = "", ee = [], xe;
|
|
4682
|
+
const v = {}, _e = ["totalCashAmount", "totalRealAmount"], ze = () => {
|
|
4683
|
+
fetch(g).then((b) => b.json()).then((b) => Object.keys(b).forEach((a) => gn(a, b[a]))).catch((b) => console.log(b));
|
|
4684
4684
|
};
|
|
4685
4685
|
Object.keys(bn).forEach((b) => gn(b, bn[b]));
|
|
4686
|
-
const
|
|
4687
|
-
if (
|
|
4688
|
-
return
|
|
4689
|
-
const
|
|
4686
|
+
const it = (b) => {
|
|
4687
|
+
if (B)
|
|
4688
|
+
return We(b);
|
|
4689
|
+
const a = P || s, l = {
|
|
4690
4690
|
style: "currency",
|
|
4691
|
-
currency:
|
|
4691
|
+
currency: de,
|
|
4692
4692
|
useGrouping: !0,
|
|
4693
|
-
currencyDisplay:
|
|
4694
|
-
maximumFractionDigits:
|
|
4695
|
-
minimumFractionDigits:
|
|
4693
|
+
currencyDisplay: j || "code",
|
|
4694
|
+
maximumFractionDigits: z === "" || isNaN(Number(z)) ? 2 : Number(z),
|
|
4695
|
+
minimumFractionDigits: G === "" || isNaN(Number(G)) ? 0 : Number(G)
|
|
4696
4696
|
};
|
|
4697
|
-
return new Intl.NumberFormat(
|
|
4698
|
-
},
|
|
4699
|
-
const
|
|
4700
|
-
let
|
|
4701
|
-
for (const
|
|
4702
|
-
switch (
|
|
4697
|
+
return new Intl.NumberFormat(a, l).format(b);
|
|
4698
|
+
}, We = (b) => {
|
|
4699
|
+
const a = [];
|
|
4700
|
+
let l = "";
|
|
4701
|
+
for (const f of B)
|
|
4702
|
+
switch (f) {
|
|
4703
4703
|
default:
|
|
4704
|
-
|
|
4704
|
+
l += f;
|
|
4705
4705
|
break;
|
|
4706
4706
|
case "{":
|
|
4707
|
-
|
|
4707
|
+
l && a.push(l), l = "";
|
|
4708
4708
|
break;
|
|
4709
4709
|
case "}":
|
|
4710
|
-
const [p,
|
|
4711
|
-
if (
|
|
4712
|
-
|
|
4710
|
+
const [p, E] = l.split("|");
|
|
4711
|
+
if (l = "", p.toLowerCase() === "currency")
|
|
4712
|
+
l = de;
|
|
4713
4713
|
else if (p.toLowerCase() === "amount") {
|
|
4714
|
-
let
|
|
4715
|
-
|
|
4716
|
-
let [
|
|
4717
|
-
|
|
4718
|
-
for (let
|
|
4719
|
-
(
|
|
4720
|
-
|
|
4714
|
+
let m = ",", _ = ".", N = 2;
|
|
4715
|
+
E && (E[0] !== " " && (m = E[0]), E[1] !== " " && (_ = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (N = Number(E[2])));
|
|
4716
|
+
let [A, O] = String(Math.floor(b * 10 ** N) / 10 ** N).split(".");
|
|
4717
|
+
l += A[0];
|
|
4718
|
+
for (let L = 1; L < A.length; ++L)
|
|
4719
|
+
(A.length - L) % 3 === 0 ? l += m + A[L] : l += A[L];
|
|
4720
|
+
O && (l += _ + O);
|
|
4721
4721
|
}
|
|
4722
|
-
|
|
4722
|
+
l && a.push(l), l = "";
|
|
4723
4723
|
break;
|
|
4724
4724
|
}
|
|
4725
|
-
return
|
|
4726
|
-
},
|
|
4727
|
-
n(1,
|
|
4725
|
+
return a.push(l), a.join("");
|
|
4726
|
+
}, ue = async () => {
|
|
4727
|
+
n(1, I = !0);
|
|
4728
4728
|
const b = new URL(`${u}/v1/player/${i}/account`);
|
|
4729
4729
|
try {
|
|
4730
|
-
const
|
|
4730
|
+
const a = await fetch(b, {
|
|
4731
4731
|
method: "GET",
|
|
4732
4732
|
headers: { "X-SessionID": o }
|
|
4733
|
-
}),
|
|
4734
|
-
if (
|
|
4735
|
-
|
|
4733
|
+
}), l = await a.json();
|
|
4734
|
+
if (a.ok)
|
|
4735
|
+
ee = l.items, de = ee.find((f) => f.displayName === "Casino")?.currency, n(3, v.Total = [{ amount: l.totalAmount[de] }], v), n(
|
|
4736
4736
|
3,
|
|
4737
|
-
|
|
4737
|
+
v.Real = [
|
|
4738
4738
|
{
|
|
4739
|
-
amount:
|
|
4739
|
+
amount: ee.find((f) => f.displayName === "Casino")?.balanceAmount
|
|
4740
4740
|
}
|
|
4741
4741
|
],
|
|
4742
|
-
|
|
4742
|
+
v
|
|
4743
4743
|
), n(
|
|
4744
4744
|
3,
|
|
4745
|
-
|
|
4745
|
+
v.Bonus = [
|
|
4746
4746
|
{
|
|
4747
|
-
amount:
|
|
4747
|
+
amount: ee.find((f) => f.displayName === "UBS")?.balanceAmount
|
|
4748
4748
|
}
|
|
4749
4749
|
],
|
|
4750
|
-
|
|
4750
|
+
v
|
|
4751
4751
|
);
|
|
4752
4752
|
else
|
|
4753
4753
|
throw new Error("Failed to fetch balance data !");
|
|
4754
|
-
} catch (
|
|
4755
|
-
console.log("Balance error: ",
|
|
4754
|
+
} catch (a) {
|
|
4755
|
+
console.log("Balance error: ", a);
|
|
4756
4756
|
} finally {
|
|
4757
|
-
n(1,
|
|
4757
|
+
n(1, I = !1);
|
|
4758
4758
|
}
|
|
4759
|
-
},
|
|
4760
|
-
n(1,
|
|
4761
|
-
const b = new URL(`${u}/v2/player/${i}/balance`),
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
const p =
|
|
4765
|
-
if (
|
|
4766
|
-
|
|
4759
|
+
}, Te = () => {
|
|
4760
|
+
n(1, I = !0);
|
|
4761
|
+
const b = new URL(`${u}/v2/player/${i}/balance`), a = new Headers();
|
|
4762
|
+
a.append("X-SessionID", o), fetch(b, { method: "GET", headers: a }).then((f) => f.json()).then((f) => {
|
|
4763
|
+
f[T] || n(7, T = _e[0]);
|
|
4764
|
+
const p = f.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
|
|
4765
|
+
if (de = p.currency, K = !!p.productType, n(3, v.Total = [{ amount: 0 }], v), n(3, v.Real = [], v), n(3, v.Bonus = [], v), n(3, v.Credit = [], v), !K) {
|
|
4766
|
+
xe = {
|
|
4767
4767
|
lastOrdinaryAfterAmount: 0,
|
|
4768
4768
|
showCreditLineAfterAmount: !1
|
|
4769
|
-
}, n(3,
|
|
4770
|
-
for (const
|
|
4771
|
-
switch (
|
|
4769
|
+
}, n(3, v.Total[0].amount = f[T][de], v);
|
|
4770
|
+
for (const m of f.items)
|
|
4771
|
+
switch (m.type) {
|
|
4772
4772
|
case "Bonus":
|
|
4773
|
-
|
|
4773
|
+
v.Bonus.length === 0 ? v.Bonus.push({ amount: m.amount }) : n(3, v.Bonus[0].amount += m.amount, v);
|
|
4774
4774
|
break;
|
|
4775
4775
|
case "Real":
|
|
4776
|
-
if (
|
|
4776
|
+
if (m.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: m.creditLine }), T === "totalRealAmount")
|
|
4777
4777
|
continue;
|
|
4778
|
-
|
|
4778
|
+
v.Real.length === 0 ? v.Real.push({ amount: m.amount }) : n(3, v.Real[0].amount += m.amount, v);
|
|
4779
4779
|
break;
|
|
4780
4780
|
}
|
|
4781
|
-
for (const [
|
|
4782
|
-
|
|
4783
|
-
n(1,
|
|
4781
|
+
for (const [m, _] of Object.entries(v))
|
|
4782
|
+
_.length < 1 && delete v[m];
|
|
4783
|
+
n(1, I = !1);
|
|
4784
4784
|
return;
|
|
4785
4785
|
}
|
|
4786
|
-
|
|
4786
|
+
xe = {
|
|
4787
4787
|
Casino: {
|
|
4788
4788
|
lastOrdinaryAfterAmount: 0,
|
|
4789
4789
|
showCreditLineAfterAmount: !1
|
|
@@ -4793,184 +4793,184 @@ function To(e, t, n) {
|
|
|
4793
4793
|
showCreditLineAfterAmount: !1
|
|
4794
4794
|
}
|
|
4795
4795
|
};
|
|
4796
|
-
let
|
|
4797
|
-
x && x !== "All" && (
|
|
4798
|
-
for (const
|
|
4799
|
-
let
|
|
4800
|
-
switch (
|
|
4796
|
+
let E = f.items;
|
|
4797
|
+
x && x !== "All" && (E = f.items.filter((m) => m.productType === x));
|
|
4798
|
+
for (const m of E) {
|
|
4799
|
+
let _;
|
|
4800
|
+
switch (m.type) {
|
|
4801
4801
|
case "Bonus":
|
|
4802
|
-
|
|
4803
|
-
amount:
|
|
4804
|
-
productType:
|
|
4802
|
+
_ = v.Bonus.findIndex((N) => N.productType === m.productType), _ > 0 ? n(3, v.Bonus[_].amount += m.amount, v) : v.Bonus.push({
|
|
4803
|
+
amount: m.amount,
|
|
4804
|
+
productType: m.productType
|
|
4805
4805
|
});
|
|
4806
4806
|
break;
|
|
4807
4807
|
case "Real":
|
|
4808
|
-
|
|
4809
|
-
amount:
|
|
4810
|
-
productType:
|
|
4811
|
-
}),
|
|
4812
|
-
amount:
|
|
4813
|
-
productType:
|
|
4808
|
+
m.creditLine && v.Credit.push({
|
|
4809
|
+
amount: m.creditLine,
|
|
4810
|
+
productType: m.productType
|
|
4811
|
+
}), _ = v.Real.findIndex((N) => N.productType === m.productType), _ > 0 ? n(3, v.Real[_].amount += m.amount, v) : v.Real.push({
|
|
4812
|
+
amount: m.amount,
|
|
4813
|
+
productType: m.productType
|
|
4814
4814
|
});
|
|
4815
4815
|
break;
|
|
4816
4816
|
}
|
|
4817
4817
|
}
|
|
4818
|
-
|
|
4819
|
-
for (const [
|
|
4820
|
-
|
|
4821
|
-
n(1,
|
|
4818
|
+
Ze();
|
|
4819
|
+
for (const [m, _] of Object.entries(v))
|
|
4820
|
+
_.length < 1 && delete v[m];
|
|
4821
|
+
n(1, I = !1);
|
|
4822
4822
|
}).catch(() => {
|
|
4823
|
-
throw n(1,
|
|
4823
|
+
throw n(1, I = !1), new Error("Failed to fetch balance data !");
|
|
4824
4824
|
});
|
|
4825
|
-
},
|
|
4826
|
-
if (
|
|
4825
|
+
}, pe = () => {
|
|
4826
|
+
if (fe && fe.close(), o.length < 1)
|
|
4827
4827
|
return;
|
|
4828
|
-
let b,
|
|
4829
|
-
switch (
|
|
4828
|
+
let b, a;
|
|
4829
|
+
switch (y) {
|
|
4830
4830
|
case "gm16":
|
|
4831
|
-
b = new URL(`${u}/v2/player/${i}/information/updates`),
|
|
4831
|
+
b = new URL(`${u}/v2/player/${i}/information/updates`), a = (p) => _t(p);
|
|
4832
4832
|
break;
|
|
4833
4833
|
case "gmcore":
|
|
4834
|
-
b = new URL(`${u}/v1/player/${i}/balance/updates`),
|
|
4834
|
+
b = new URL(`${u}/v1/player/${i}/balance/updates`), a = (p) => le(p);
|
|
4835
4835
|
break;
|
|
4836
4836
|
}
|
|
4837
|
-
const
|
|
4837
|
+
const l = {
|
|
4838
4838
|
accept: "text/event-stream",
|
|
4839
4839
|
"X-SessionId": o
|
|
4840
|
-
},
|
|
4841
|
-
|
|
4842
|
-
},
|
|
4843
|
-
let
|
|
4840
|
+
}, f = new yo.EventSourcePolyfill(b, { headers: l });
|
|
4841
|
+
fe = f, f.addEventListener("message", a);
|
|
4842
|
+
}, Oe = (b) => {
|
|
4843
|
+
let a;
|
|
4844
4844
|
try {
|
|
4845
|
-
|
|
4846
|
-
} catch (
|
|
4847
|
-
console.log("Balance stream failed: ",
|
|
4845
|
+
a = JSON.parse(b);
|
|
4846
|
+
} catch (l) {
|
|
4847
|
+
console.log("Balance stream failed: ", l);
|
|
4848
4848
|
return;
|
|
4849
4849
|
}
|
|
4850
|
-
return
|
|
4851
|
-
},
|
|
4852
|
-
const
|
|
4853
|
-
if (!
|
|
4854
|
-
|
|
4850
|
+
return a;
|
|
4851
|
+
}, le = (b) => {
|
|
4852
|
+
const a = Oe(b.data);
|
|
4853
|
+
if (!a) {
|
|
4854
|
+
pe();
|
|
4855
4855
|
return;
|
|
4856
4856
|
}
|
|
4857
|
-
let
|
|
4858
|
-
const
|
|
4859
|
-
|
|
4857
|
+
let l = "0";
|
|
4858
|
+
const f = a.balanceChange;
|
|
4859
|
+
ee = ee.map((p) => (f && f[p.id] && (p = {
|
|
4860
4860
|
...p,
|
|
4861
|
-
balanceAmount:
|
|
4862
|
-
}),
|
|
4863
|
-
},
|
|
4864
|
-
let
|
|
4865
|
-
switch (
|
|
4861
|
+
balanceAmount: f[p.id].afterAmount
|
|
4862
|
+
}), l = (parseFloat(p?.balanceAmount) + parseFloat(l)).toString(), p)), n(3, v.Real = [{ amount: ee[0]?.balanceAmount }], v), n(3, v.Bonus = [{ amount: ee[1]?.balanceAmount }], v), n(3, v.Total = [{ amount: Number(l) }], v);
|
|
4863
|
+
}, we = (b, a, l) => {
|
|
4864
|
+
let f = null;
|
|
4865
|
+
switch (l.walletAccountType) {
|
|
4866
4866
|
case "Ordinary":
|
|
4867
|
-
(
|
|
4867
|
+
(l.afterAmount !== l.affectedAmount || a.lastOrdinaryAfterAmount === 0) && (a.lastOrdinaryAfterAmount = l.afterAmount, a.showCreditLineAfterAmount || (f = l.afterAmount));
|
|
4868
4868
|
break;
|
|
4869
4869
|
case "CreditLine":
|
|
4870
|
-
|
|
4870
|
+
l.afterAmount !== 0 ? (f = l.afterAmount, a.showCreditLineAfterAmount = !0) : (f = a.lastOrdinaryAfterAmount, a.showCreditLineAfterAmount = !1);
|
|
4871
4871
|
break;
|
|
4872
4872
|
default:
|
|
4873
|
-
|
|
4873
|
+
f = l.afterAmount;
|
|
4874
4874
|
}
|
|
4875
|
-
return
|
|
4876
|
-
},
|
|
4877
|
-
switch (
|
|
4875
|
+
return f === null ? b : f;
|
|
4876
|
+
}, Ze = () => {
|
|
4877
|
+
switch (T) {
|
|
4878
4878
|
case "totalCashAmount":
|
|
4879
4879
|
let b = 0;
|
|
4880
|
-
for (const
|
|
4881
|
-
for (const
|
|
4882
|
-
b += Math.max(
|
|
4883
|
-
n(3,
|
|
4880
|
+
for (const l of ["Real", "Bonus"])
|
|
4881
|
+
for (const f of v[l])
|
|
4882
|
+
b += Math.max(f.amount, 0);
|
|
4883
|
+
n(3, v.Total[0].amount = b, v);
|
|
4884
4884
|
break;
|
|
4885
4885
|
case "totalRealAmount":
|
|
4886
|
-
if (!
|
|
4886
|
+
if (!K)
|
|
4887
4887
|
return;
|
|
4888
|
-
let
|
|
4889
|
-
for (const
|
|
4890
|
-
|
|
4891
|
-
n(3,
|
|
4888
|
+
let a = 0;
|
|
4889
|
+
for (const l of v.Real)
|
|
4890
|
+
a += l.amount;
|
|
4891
|
+
n(3, v.Total[0].amount = a, v);
|
|
4892
4892
|
}
|
|
4893
|
-
},
|
|
4894
|
-
const
|
|
4895
|
-
if (!
|
|
4896
|
-
|
|
4893
|
+
}, _t = (b) => {
|
|
4894
|
+
const a = Oe(b.data);
|
|
4895
|
+
if (!a) {
|
|
4896
|
+
pe();
|
|
4897
4897
|
return;
|
|
4898
4898
|
}
|
|
4899
|
-
if (
|
|
4899
|
+
if (Tt(a?.type) || a.type !== "BALANCE_UPDATE_V2")
|
|
4900
4900
|
return;
|
|
4901
|
-
const
|
|
4902
|
-
for (const [
|
|
4903
|
-
if (
|
|
4904
|
-
for (const
|
|
4905
|
-
if (!
|
|
4906
|
-
|
|
4901
|
+
const l = a.body.balanceChange;
|
|
4902
|
+
for (const [f, p] of Object.entries(l))
|
|
4903
|
+
if (T === "totalRealAmount" && f === "Real" && !K && n(3, v.Total[0].amount = we(v.Total[0].amount, xe, p), v), !!v[f])
|
|
4904
|
+
for (const E of v[f]) {
|
|
4905
|
+
if (!K) {
|
|
4906
|
+
E.amount = f === "Real" ? we(E.amount, xe, p) : p.afterAmount;
|
|
4907
4907
|
continue;
|
|
4908
4908
|
}
|
|
4909
|
-
p.productType ===
|
|
4909
|
+
p.productType === E.productType && (E.amount = f === "Real" ? we(E.amount, xe[E.productType], p) : p.afterAmount);
|
|
4910
4910
|
}
|
|
4911
|
-
|
|
4912
|
-
},
|
|
4911
|
+
Ze();
|
|
4912
|
+
}, ot = () => {
|
|
4913
4913
|
n(2, R = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
4914
|
-
}, Bt = () => {
|
|
4915
|
-
|
|
4916
|
-
},
|
|
4917
|
-
switch (bo(s), Bt(),
|
|
4914
|
+
}, Tt = (b) => b === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Bt = () => {
|
|
4915
|
+
_e.includes(T) || (console.error(`Unsupported value ('${T}') for totalcalculationmode parameter. Only the following values are supported ${_e}. Using default value ('${_e[0]}').`), n(7, T = _e[0]));
|
|
4916
|
+
}, qe = () => {
|
|
4917
|
+
switch (bo(s), Bt(), y) {
|
|
4918
4918
|
case "gmcore":
|
|
4919
|
-
|
|
4919
|
+
ue();
|
|
4920
4920
|
break;
|
|
4921
4921
|
case "gm16":
|
|
4922
|
-
|
|
4922
|
+
Te();
|
|
4923
4923
|
break;
|
|
4924
4924
|
default:
|
|
4925
|
-
throw Error(`Invalid apiversion attribute: ${
|
|
4925
|
+
throw Error(`Invalid apiversion attribute: ${y}`);
|
|
4926
4926
|
}
|
|
4927
|
-
},
|
|
4928
|
-
hr(() => (window.addEventListener("message",
|
|
4929
|
-
window.removeEventListener("message",
|
|
4927
|
+
}, Le = (b) => b.data && b.data.type === "LogoutSuccessfull" && fe.close();
|
|
4928
|
+
hr(() => (window.addEventListener("message", Le, !1), () => {
|
|
4929
|
+
window.removeEventListener("message", Le), fe && fe.close();
|
|
4930
4930
|
}));
|
|
4931
|
-
const
|
|
4931
|
+
const Be = () => n(2, R = !0), te = () => n(2, R = !1), St = () => ot(), wt = () => n(2, R = !1);
|
|
4932
4932
|
function At(b) {
|
|
4933
4933
|
Dt[b ? "unshift" : "push"](() => {
|
|
4934
|
-
|
|
4934
|
+
w = b, n(0, w);
|
|
4935
4935
|
});
|
|
4936
4936
|
}
|
|
4937
4937
|
return e.$$set = (b) => {
|
|
4938
|
-
"userid" in b && n(8, i = b.userid), "session" in b && n(9, o = b.session), "endpoint" in b && n(10, u = b.endpoint), "lang" in b && n(11, s = b.lang), "mbsource" in b && n(12,
|
|
4938
|
+
"userid" in b && n(8, i = b.userid), "session" in b && n(9, o = b.session), "endpoint" in b && n(10, u = b.endpoint), "lang" in b && n(11, s = b.lang), "mbsource" in b && n(12, d = b.mbsource), "clientstyling" in b && n(13, h = b.clientstyling), "clientstylingurl" in b && n(14, c = b.clientstylingurl), "translationurl" in b && n(15, g = b.translationurl), "gmversion" in b && n(16, y = b.gmversion), "displaybalanceoption" in b && n(17, x = b.displaybalanceoption), "totalcalculationmode" in b && n(7, T = b.totalcalculationmode), "currencylocale" in b && n(18, P = b.currencylocale), "currencydisplay" in b && n(19, j = b.currencydisplay), "maximumfractiondigits" in b && n(20, z = b.maximumfractiondigits), "minimumfractiondigits" in b && n(21, G = b.minimumfractiondigits), "customdisplayformat" in b && n(22, B = b.customdisplayformat);
|
|
4939
4939
|
}, e.$$.update = () => {
|
|
4940
4940
|
e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
4941
|
-
200448 && u && i && o && s &&
|
|
4942
|
-
67328 && u && i && o &&
|
|
4943
|
-
8193 &&
|
|
4944
|
-
16385 && c &&
|
|
4945
|
-
4097 &&
|
|
4946
|
-
32768 &&
|
|
4941
|
+
200448 && u && i && o && s && y && x && qe(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
4942
|
+
67328 && u && i && o && y && pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4943
|
+
8193 && h && w && Br(w, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4944
|
+
16385 && c && w && Sr(w, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4945
|
+
4097 && w && wr(w, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4946
|
+
32768 && g && ze();
|
|
4947
4947
|
}, [
|
|
4948
|
-
|
|
4949
|
-
|
|
4948
|
+
w,
|
|
4949
|
+
I,
|
|
4950
4950
|
R,
|
|
4951
|
-
|
|
4951
|
+
v,
|
|
4952
4952
|
r,
|
|
4953
|
+
it,
|
|
4953
4954
|
ot,
|
|
4954
|
-
|
|
4955
|
-
_,
|
|
4955
|
+
T,
|
|
4956
4956
|
i,
|
|
4957
4957
|
o,
|
|
4958
4958
|
u,
|
|
4959
4959
|
s,
|
|
4960
|
-
|
|
4961
|
-
|
|
4960
|
+
d,
|
|
4961
|
+
h,
|
|
4962
4962
|
c,
|
|
4963
|
-
m,
|
|
4964
4963
|
g,
|
|
4964
|
+
y,
|
|
4965
4965
|
x,
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4966
|
+
P,
|
|
4967
|
+
j,
|
|
4968
|
+
z,
|
|
4969
|
+
G,
|
|
4970
|
+
B,
|
|
4971
|
+
Be,
|
|
4972
|
+
te,
|
|
4973
|
+
St,
|
|
4974
4974
|
wt,
|
|
4975
4975
|
At
|
|
4976
4976
|
];
|
|
@@ -5009,97 +5009,97 @@ class Bo extends _r {
|
|
|
5009
5009
|
return this.$$.ctx[8];
|
|
5010
5010
|
}
|
|
5011
5011
|
set userid(t) {
|
|
5012
|
-
this.$$set({ userid: t }),
|
|
5012
|
+
this.$$set({ userid: t }), X();
|
|
5013
5013
|
}
|
|
5014
5014
|
get session() {
|
|
5015
5015
|
return this.$$.ctx[9];
|
|
5016
5016
|
}
|
|
5017
5017
|
set session(t) {
|
|
5018
|
-
this.$$set({ session: t }),
|
|
5018
|
+
this.$$set({ session: t }), X();
|
|
5019
5019
|
}
|
|
5020
5020
|
get endpoint() {
|
|
5021
5021
|
return this.$$.ctx[10];
|
|
5022
5022
|
}
|
|
5023
5023
|
set endpoint(t) {
|
|
5024
|
-
this.$$set({ endpoint: t }),
|
|
5024
|
+
this.$$set({ endpoint: t }), X();
|
|
5025
5025
|
}
|
|
5026
5026
|
get lang() {
|
|
5027
5027
|
return this.$$.ctx[11];
|
|
5028
5028
|
}
|
|
5029
5029
|
set lang(t) {
|
|
5030
|
-
this.$$set({ lang: t }),
|
|
5030
|
+
this.$$set({ lang: t }), X();
|
|
5031
5031
|
}
|
|
5032
5032
|
get mbsource() {
|
|
5033
5033
|
return this.$$.ctx[12];
|
|
5034
5034
|
}
|
|
5035
5035
|
set mbsource(t) {
|
|
5036
|
-
this.$$set({ mbsource: t }),
|
|
5036
|
+
this.$$set({ mbsource: t }), X();
|
|
5037
5037
|
}
|
|
5038
5038
|
get clientstyling() {
|
|
5039
5039
|
return this.$$.ctx[13];
|
|
5040
5040
|
}
|
|
5041
5041
|
set clientstyling(t) {
|
|
5042
|
-
this.$$set({ clientstyling: t }),
|
|
5042
|
+
this.$$set({ clientstyling: t }), X();
|
|
5043
5043
|
}
|
|
5044
5044
|
get clientstylingurl() {
|
|
5045
5045
|
return this.$$.ctx[14];
|
|
5046
5046
|
}
|
|
5047
5047
|
set clientstylingurl(t) {
|
|
5048
|
-
this.$$set({ clientstylingurl: t }),
|
|
5048
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
5049
5049
|
}
|
|
5050
5050
|
get translationurl() {
|
|
5051
5051
|
return this.$$.ctx[15];
|
|
5052
5052
|
}
|
|
5053
5053
|
set translationurl(t) {
|
|
5054
|
-
this.$$set({ translationurl: t }),
|
|
5054
|
+
this.$$set({ translationurl: t }), X();
|
|
5055
5055
|
}
|
|
5056
5056
|
get gmversion() {
|
|
5057
5057
|
return this.$$.ctx[16];
|
|
5058
5058
|
}
|
|
5059
5059
|
set gmversion(t) {
|
|
5060
|
-
this.$$set({ gmversion: t }),
|
|
5060
|
+
this.$$set({ gmversion: t }), X();
|
|
5061
5061
|
}
|
|
5062
5062
|
get displaybalanceoption() {
|
|
5063
5063
|
return this.$$.ctx[17];
|
|
5064
5064
|
}
|
|
5065
5065
|
set displaybalanceoption(t) {
|
|
5066
|
-
this.$$set({ displaybalanceoption: t }),
|
|
5066
|
+
this.$$set({ displaybalanceoption: t }), X();
|
|
5067
5067
|
}
|
|
5068
5068
|
get totalcalculationmode() {
|
|
5069
5069
|
return this.$$.ctx[7];
|
|
5070
5070
|
}
|
|
5071
5071
|
set totalcalculationmode(t) {
|
|
5072
|
-
this.$$set({ totalcalculationmode: t }),
|
|
5072
|
+
this.$$set({ totalcalculationmode: t }), X();
|
|
5073
5073
|
}
|
|
5074
5074
|
get currencylocale() {
|
|
5075
5075
|
return this.$$.ctx[18];
|
|
5076
5076
|
}
|
|
5077
5077
|
set currencylocale(t) {
|
|
5078
|
-
this.$$set({ currencylocale: t }),
|
|
5078
|
+
this.$$set({ currencylocale: t }), X();
|
|
5079
5079
|
}
|
|
5080
5080
|
get currencydisplay() {
|
|
5081
5081
|
return this.$$.ctx[19];
|
|
5082
5082
|
}
|
|
5083
5083
|
set currencydisplay(t) {
|
|
5084
|
-
this.$$set({ currencydisplay: t }),
|
|
5084
|
+
this.$$set({ currencydisplay: t }), X();
|
|
5085
5085
|
}
|
|
5086
5086
|
get maximumfractiondigits() {
|
|
5087
5087
|
return this.$$.ctx[20];
|
|
5088
5088
|
}
|
|
5089
5089
|
set maximumfractiondigits(t) {
|
|
5090
|
-
this.$$set({ maximumfractiondigits: t }),
|
|
5090
|
+
this.$$set({ maximumfractiondigits: t }), X();
|
|
5091
5091
|
}
|
|
5092
5092
|
get minimumfractiondigits() {
|
|
5093
5093
|
return this.$$.ctx[21];
|
|
5094
5094
|
}
|
|
5095
5095
|
set minimumfractiondigits(t) {
|
|
5096
|
-
this.$$set({ minimumfractiondigits: t }),
|
|
5096
|
+
this.$$set({ minimumfractiondigits: t }), X();
|
|
5097
5097
|
}
|
|
5098
5098
|
get customdisplayformat() {
|
|
5099
5099
|
return this.$$.ctx[22];
|
|
5100
5100
|
}
|
|
5101
5101
|
set customdisplayformat(t) {
|
|
5102
|
-
this.$$set({ customdisplayformat: t }),
|
|
5102
|
+
this.$$set({ customdisplayformat: t }), X();
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
5105
5105
|
xr(Bo, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|