@everymatrix/player-account-vault 0.5.1 → 0.5.3
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/{PlayerAccountVault-CagT5Yjh.js → PlayerAccountVault-B5_At04e.js} +92 -92
- package/components/{PlayerAccountVault-D07DFULe.js → PlayerAccountVault-BxdgDV64.js} +91 -91
- package/components/{PlayerAccountVault-k1K6kH1t.cjs → PlayerAccountVault-DTYnLGMr.cjs} +2 -2
- package/es2015/player-account-vault.cjs +1 -1
- package/es2015/player-account-vault.js +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ function Qt() {
|
|
|
38
38
|
function Te(e) {
|
|
39
39
|
e.forEach(Hr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function Ar(e, t) {
|
|
@@ -102,14 +102,14 @@ function E(e) {
|
|
|
102
102
|
function Yt(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function $(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
108
|
function R() {
|
|
109
|
-
return
|
|
109
|
+
return $(" ");
|
|
110
110
|
}
|
|
111
111
|
function Sr() {
|
|
112
|
-
return
|
|
112
|
+
return $("");
|
|
113
113
|
}
|
|
114
114
|
function te(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -147,7 +147,7 @@ function er(e) {
|
|
|
147
147
|
const t = e.querySelector(":checked");
|
|
148
148
|
return t && t.__value;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function j(e, t, r) {
|
|
151
151
|
e.classList.toggle(t, !!r);
|
|
152
152
|
}
|
|
153
153
|
function fn(e) {
|
|
@@ -221,7 +221,7 @@ function Re(e) {
|
|
|
221
221
|
function vn(e, t, r) {
|
|
222
222
|
const { fragment: n, after_update: i } = e.$$;
|
|
223
223
|
n && n.m(t, r), tt(() => {
|
|
224
|
-
const a = e.$$.on_mount.map(Hr).filter(
|
|
224
|
+
const a = e.$$.on_mount.map(Hr).filter($t);
|
|
225
225
|
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Te(a), e.$$.on_mount = [];
|
|
226
226
|
}), i.forEach(tt);
|
|
227
227
|
}
|
|
@@ -483,7 +483,7 @@ class Tn {
|
|
|
483
483
|
* @returns {() => void}
|
|
484
484
|
*/
|
|
485
485
|
$on(t, r) {
|
|
486
|
-
if (
|
|
486
|
+
if (!$t(r))
|
|
487
487
|
return oe;
|
|
488
488
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
489
489
|
return n.push(r), () => {
|
|
@@ -547,7 +547,7 @@ function Ve(e, t, r) {
|
|
|
547
547
|
return;
|
|
548
548
|
h();
|
|
549
549
|
const v = t(n ? l[0] : l, o, s);
|
|
550
|
-
a ? o(v) : h =
|
|
550
|
+
a ? o(v) : h = $t(v) ? v : oe;
|
|
551
551
|
}, b = i.map(
|
|
552
552
|
(v, P) => Br(
|
|
553
553
|
v,
|
|
@@ -636,8 +636,8 @@ Ge.all = function(t, r) {
|
|
|
636
636
|
return Ge(n, i, r);
|
|
637
637
|
}, {});
|
|
638
638
|
};
|
|
639
|
-
var Gn = Ge,
|
|
640
|
-
const
|
|
639
|
+
var Gn = Ge, kn = Gn;
|
|
640
|
+
const jn = /* @__PURE__ */ Bn(kn);
|
|
641
641
|
var Lt = function(e, t) {
|
|
642
642
|
return Lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
643
643
|
r.__proto__ = n;
|
|
@@ -665,7 +665,7 @@ var he = function() {
|
|
|
665
665
|
return t;
|
|
666
666
|
}, he.apply(this, arguments);
|
|
667
667
|
};
|
|
668
|
-
function
|
|
668
|
+
function $n(e, t) {
|
|
669
669
|
var r = {};
|
|
670
670
|
for (var n in e)
|
|
671
671
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -746,10 +746,10 @@ var S;
|
|
|
746
746
|
(function(e) {
|
|
747
747
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
748
748
|
})(S || (S = {}));
|
|
749
|
-
var
|
|
749
|
+
var ke;
|
|
750
750
|
(function(e) {
|
|
751
751
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
752
|
-
})(
|
|
752
|
+
})(ke || (ke = {}));
|
|
753
753
|
function nr(e) {
|
|
754
754
|
return e.type === S.literal;
|
|
755
755
|
}
|
|
@@ -778,10 +778,10 @@ function Ur(e) {
|
|
|
778
778
|
return e.type === S.tag;
|
|
779
779
|
}
|
|
780
780
|
function Fr(e) {
|
|
781
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
781
|
+
return !!(e && typeof e == "object" && e.type === ke.number);
|
|
782
782
|
}
|
|
783
783
|
function Mt(e) {
|
|
784
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
784
|
+
return !!(e && typeof e == "object" && e.type === ke.dateTime);
|
|
785
785
|
}
|
|
786
786
|
var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
787
787
|
function ei(e) {
|
|
@@ -907,14 +907,14 @@ function ri(e) {
|
|
|
907
907
|
function ni(e) {
|
|
908
908
|
return e.replace(/^(.*?)-/, "");
|
|
909
909
|
}
|
|
910
|
-
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
910
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
911
911
|
function ar(e) {
|
|
912
912
|
var t = {};
|
|
913
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
913
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
|
|
914
914
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
915
915
|
}), t;
|
|
916
916
|
}
|
|
917
|
-
function
|
|
917
|
+
function $r(e) {
|
|
918
918
|
switch (e) {
|
|
919
919
|
case "sign-auto":
|
|
920
920
|
return {
|
|
@@ -962,14 +962,14 @@ function ai(e) {
|
|
|
962
962
|
notation: "scientific"
|
|
963
963
|
}, e = e.slice(1)), t) {
|
|
964
964
|
var r = e.slice(0, 2);
|
|
965
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
965
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
|
|
966
966
|
throw new Error("Malformed concise eng/scientific notation");
|
|
967
967
|
t.minimumIntegerDigits = e.length;
|
|
968
968
|
}
|
|
969
969
|
return t;
|
|
970
970
|
}
|
|
971
971
|
function or(e) {
|
|
972
|
-
var t = {}, r =
|
|
972
|
+
var t = {}, r = $r(e);
|
|
973
973
|
return r || t;
|
|
974
974
|
}
|
|
975
975
|
function oi(e) {
|
|
@@ -1071,7 +1071,7 @@ function oi(e) {
|
|
|
1071
1071
|
});
|
|
1072
1072
|
continue;
|
|
1073
1073
|
}
|
|
1074
|
-
if (
|
|
1074
|
+
if (jr.test(i.stem)) {
|
|
1075
1075
|
t.minimumIntegerDigits = i.stem.length;
|
|
1076
1076
|
continue;
|
|
1077
1077
|
}
|
|
@@ -1085,11 +1085,11 @@ function oi(e) {
|
|
|
1085
1085
|
a === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = N(N({}, t), ar(a)));
|
|
1086
1086
|
continue;
|
|
1087
1087
|
}
|
|
1088
|
-
if (
|
|
1088
|
+
if (kr.test(i.stem)) {
|
|
1089
1089
|
t = N(N({}, t), ar(i.stem));
|
|
1090
1090
|
continue;
|
|
1091
1091
|
}
|
|
1092
|
-
var o =
|
|
1092
|
+
var o = $r(i.stem);
|
|
1093
1093
|
o && (t = N(N({}, t), o));
|
|
1094
1094
|
var s = ai(i.stem);
|
|
1095
1095
|
s && (t = N(N({}, t), s));
|
|
@@ -2875,7 +2875,7 @@ var _i = (
|
|
|
2875
2875
|
var I = F;
|
|
2876
2876
|
this.locale && (I = si(F, this.locale));
|
|
2877
2877
|
var d = {
|
|
2878
|
-
type:
|
|
2878
|
+
type: ke.dateTime,
|
|
2879
2879
|
pattern: I,
|
|
2880
2880
|
location: l.styleLocation,
|
|
2881
2881
|
parsedOptions: this.shouldParseSkeletons ? ei(I) : {}
|
|
@@ -2989,7 +2989,7 @@ var _i = (
|
|
|
2989
2989
|
}
|
|
2990
2990
|
return {
|
|
2991
2991
|
val: {
|
|
2992
|
-
type:
|
|
2992
|
+
type: ke.number,
|
|
2993
2993
|
tokens: n,
|
|
2994
2994
|
location: r,
|
|
2995
2995
|
parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
|
|
@@ -3139,10 +3139,10 @@ function Ai(e, t) {
|
|
|
3139
3139
|
}
|
|
3140
3140
|
return t != null && t.captureLocation || Gt(r.val), r.val;
|
|
3141
3141
|
}
|
|
3142
|
-
var
|
|
3142
|
+
var je;
|
|
3143
3143
|
(function(e) {
|
|
3144
3144
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3145
|
-
})(
|
|
3145
|
+
})(je || (je = {}));
|
|
3146
3146
|
var xt = (
|
|
3147
3147
|
/** @class */
|
|
3148
3148
|
function(e) {
|
|
@@ -3160,7 +3160,7 @@ var xt = (
|
|
|
3160
3160
|
function(e) {
|
|
3161
3161
|
vt(t, e);
|
|
3162
3162
|
function t(r, n, i, a) {
|
|
3163
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3163
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), je.INVALID_VALUE, a) || this;
|
|
3164
3164
|
}
|
|
3165
3165
|
return t;
|
|
3166
3166
|
}(xt)
|
|
@@ -3169,7 +3169,7 @@ var xt = (
|
|
|
3169
3169
|
function(e) {
|
|
3170
3170
|
vt(t, e);
|
|
3171
3171
|
function t(r, n, i) {
|
|
3172
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3172
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), je.INVALID_VALUE, i) || this;
|
|
3173
3173
|
}
|
|
3174
3174
|
return t;
|
|
3175
3175
|
}(xt)
|
|
@@ -3178,7 +3178,7 @@ var xt = (
|
|
|
3178
3178
|
function(e) {
|
|
3179
3179
|
vt(t, e);
|
|
3180
3180
|
function t(r, n) {
|
|
3181
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3181
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), je.MISSING_VALUE, n) || this;
|
|
3182
3182
|
}
|
|
3183
3183
|
return t;
|
|
3184
3184
|
}(xt)
|
|
@@ -3281,7 +3281,7 @@ function ht(e, t, r, n, i, a, o) {
|
|
|
3281
3281
|
if (!Intl.PluralRules)
|
|
3282
3282
|
throw new xt(`Intl.PluralRules is not available in this environment.
|
|
3283
3283
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3284
|
-
`,
|
|
3284
|
+
`, je.MISSING_INTL_API, o);
|
|
3285
3285
|
var C = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3286
3286
|
U = u.options[C] || u.options.other;
|
|
3287
3287
|
}
|
|
@@ -3381,7 +3381,7 @@ var Li = (
|
|
|
3381
3381
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3382
3382
|
var o = i || {};
|
|
3383
3383
|
o.formatters;
|
|
3384
|
-
var s =
|
|
3384
|
+
var s = $n(o, ["formatters"]);
|
|
3385
3385
|
this.ast = e.__parse(t, he(he({}, s), { locale: this.resolvedLocale }));
|
|
3386
3386
|
} else
|
|
3387
3387
|
this.ast = t;
|
|
@@ -3519,7 +3519,7 @@ function Fi(e) {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
}
|
|
3521
3521
|
function qr(e, ...t) {
|
|
3522
|
-
delete _e[e], ze.update((r) => (r[e] =
|
|
3522
|
+
delete _e[e], ze.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
|
|
3523
3523
|
}
|
|
3524
3524
|
Ve(
|
|
3525
3525
|
[ze],
|
|
@@ -3533,13 +3533,13 @@ function Gi(e, t) {
|
|
|
3533
3533
|
function Jr(e) {
|
|
3534
3534
|
return ft[e];
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function ki(e) {
|
|
3537
3537
|
return Et(e).map((t) => {
|
|
3538
3538
|
const r = Jr(t);
|
|
3539
3539
|
return [t, r ? [...r] : []];
|
|
3540
3540
|
}).filter(([, t]) => t.length > 0);
|
|
3541
3541
|
}
|
|
3542
|
-
function
|
|
3542
|
+
function kt(e) {
|
|
3543
3543
|
return e == null ? !1 : Et(e).some(
|
|
3544
3544
|
(t) => {
|
|
3545
3545
|
var r;
|
|
@@ -3547,27 +3547,27 @@ function $t(e) {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
);
|
|
3549
3549
|
}
|
|
3550
|
-
function
|
|
3550
|
+
function ji(e, t) {
|
|
3551
3551
|
return Promise.all(
|
|
3552
3552
|
t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
|
|
3553
3553
|
).then((n) => qr(e, ...n));
|
|
3554
3554
|
}
|
|
3555
3555
|
const Ke = {};
|
|
3556
3556
|
function Qr(e) {
|
|
3557
|
-
if (
|
|
3557
|
+
if (!kt(e))
|
|
3558
3558
|
return e in Ke ? Ke[e] : Promise.resolve();
|
|
3559
|
-
const t =
|
|
3559
|
+
const t = ki(e);
|
|
3560
3560
|
return Ke[e] = Promise.all(
|
|
3561
3561
|
t.map(
|
|
3562
|
-
([r, n]) =>
|
|
3562
|
+
([r, n]) => ji(r, n)
|
|
3563
3563
|
)
|
|
3564
3564
|
).then(() => {
|
|
3565
|
-
if (
|
|
3565
|
+
if (kt(e))
|
|
3566
3566
|
return Qr(e);
|
|
3567
3567
|
delete Ke[e];
|
|
3568
3568
|
}), Ke[e];
|
|
3569
3569
|
}
|
|
3570
|
-
const
|
|
3570
|
+
const $i = {
|
|
3571
3571
|
number: {
|
|
3572
3572
|
scientific: { notation: "scientific" },
|
|
3573
3573
|
engineering: { notation: "engineering" },
|
|
@@ -3599,12 +3599,12 @@ const ji = {
|
|
|
3599
3599
|
}, Vi = {
|
|
3600
3600
|
fallbackLocale: null,
|
|
3601
3601
|
loadingDelay: 200,
|
|
3602
|
-
formats:
|
|
3602
|
+
formats: $i,
|
|
3603
3603
|
warnOnMissingMessages: !0,
|
|
3604
3604
|
handleMissingMessage: void 0,
|
|
3605
3605
|
ignoreTag: !0
|
|
3606
3606
|
}, zi = Vi;
|
|
3607
|
-
function
|
|
3607
|
+
function $e() {
|
|
3608
3608
|
return zi;
|
|
3609
3609
|
}
|
|
3610
3610
|
const Nt = yt(!1);
|
|
@@ -3616,24 +3616,24 @@ var Xi = Object.defineProperty, Wi = Object.defineProperties, Zi = Object.getOwn
|
|
|
3616
3616
|
Ji.call(t, r) && fr(e, r, t[r]);
|
|
3617
3617
|
return e;
|
|
3618
3618
|
}, Yi = (e, t) => Wi(e, Zi(t));
|
|
3619
|
-
let
|
|
3619
|
+
let jt;
|
|
3620
3620
|
const gt = yt(null);
|
|
3621
3621
|
function pr(e) {
|
|
3622
3622
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3623
3623
|
}
|
|
3624
|
-
function Et(e, t =
|
|
3624
|
+
function Et(e, t = $e().fallbackLocale) {
|
|
3625
3625
|
const r = pr(e);
|
|
3626
3626
|
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
3627
3627
|
}
|
|
3628
3628
|
function Be() {
|
|
3629
|
-
return
|
|
3629
|
+
return jt != null ? jt : void 0;
|
|
3630
3630
|
}
|
|
3631
3631
|
gt.subscribe((e) => {
|
|
3632
|
-
|
|
3632
|
+
jt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3633
3633
|
});
|
|
3634
3634
|
const Ki = (e) => {
|
|
3635
|
-
if (e && Fi(e) &&
|
|
3636
|
-
const { loadingDelay: t } =
|
|
3635
|
+
if (e && Fi(e) && kt(e)) {
|
|
3636
|
+
const { loadingDelay: t } = $e();
|
|
3637
3637
|
let r;
|
|
3638
3638
|
return typeof window != "undefined" && Be() != null && t ? r = window.setTimeout(
|
|
3639
3639
|
() => Nt.set(!0),
|
|
@@ -3671,7 +3671,7 @@ var ea = Object.defineProperty, bt = Object.getOwnPropertySymbols, Yr = Object.p
|
|
|
3671
3671
|
return r;
|
|
3672
3672
|
};
|
|
3673
3673
|
const nt = (e, t) => {
|
|
3674
|
-
const { formats: r } =
|
|
3674
|
+
const { formats: r } = $e();
|
|
3675
3675
|
if (e in r && t in r[e])
|
|
3676
3676
|
return r[e][t];
|
|
3677
3677
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
@@ -3721,8 +3721,8 @@ const nt = (e, t) => {
|
|
|
3721
3721
|
return na(Xt({ locale: r }, n));
|
|
3722
3722
|
}, sa = _t(
|
|
3723
3723
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3724
|
-
(e, t = Be()) => new Li(e, t,
|
|
3725
|
-
ignoreTag:
|
|
3724
|
+
(e, t = Be()) => new Li(e, t, $e().formats, {
|
|
3725
|
+
ignoreTag: $e().ignoreTag
|
|
3726
3726
|
})
|
|
3727
3727
|
), ua = (e, t = {}) => {
|
|
3728
3728
|
var r, n, i, a;
|
|
@@ -3739,7 +3739,7 @@ const nt = (e, t) => {
|
|
|
3739
3739
|
);
|
|
3740
3740
|
let u = Wr(e, c);
|
|
3741
3741
|
if (!u)
|
|
3742
|
-
u = (a = (i = (n = (r =
|
|
3742
|
+
u = (a = (i = (n = (r = $e()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
|
|
3743
3743
|
else if (typeof u != "string")
|
|
3744
3744
|
return console.warn(
|
|
3745
3745
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3843,7 +3843,7 @@ function xr(e) {
|
|
|
3843
3843
|
), n, i, a;
|
|
3844
3844
|
return {
|
|
3845
3845
|
c() {
|
|
3846
|
-
t = E("option"), n =
|
|
3846
|
+
t = E("option"), n = $(r), i = R(), t.__value = a = /*balance*/
|
|
3847
3847
|
e[67].currency, Ee(t, t.__value);
|
|
3848
3848
|
},
|
|
3849
3849
|
m(o, s) {
|
|
@@ -3889,7 +3889,7 @@ function _r(e) {
|
|
|
3889
3889
|
), n, i, a;
|
|
3890
3890
|
return {
|
|
3891
3891
|
c() {
|
|
3892
|
-
t = E("option"), n =
|
|
3892
|
+
t = E("option"), n = $(r), i = R(), t.__value = a = /*balance*/
|
|
3893
3893
|
e[67].currency, Ee(t, t.__value);
|
|
3894
3894
|
},
|
|
3895
3895
|
m(o, s) {
|
|
@@ -3950,7 +3950,7 @@ function Tr(e) {
|
|
|
3950
3950
|
);
|
|
3951
3951
|
return {
|
|
3952
3952
|
c() {
|
|
3953
|
-
t = E("div"), r = E("p"), i =
|
|
3953
|
+
t = E("div"), r = E("p"), i = $(n), a = R(), o = E("p"), c = $(s), l = R(), H(t, "class", "vaultItem");
|
|
3954
3954
|
},
|
|
3955
3955
|
m(b, v) {
|
|
3956
3956
|
Q(b, t, v), m(t, r), m(r, i), m(t, a), m(t, o), m(o, c), m(t, l), h();
|
|
@@ -3979,14 +3979,14 @@ function ba(e) {
|
|
|
3979
3979
|
), s, c, l;
|
|
3980
3980
|
return {
|
|
3981
3981
|
c() {
|
|
3982
|
-
t = E("button"), n =
|
|
3983
|
-
e[6],
|
|
3982
|
+
t = E("button"), n = $(r), i = R(), a = E("button"), s = $(o), t.disabled = /*exchangeDisabled*/
|
|
3983
|
+
e[6], j(
|
|
3984
3984
|
t,
|
|
3985
3985
|
"disabled",
|
|
3986
3986
|
/*exchangeDisabled*/
|
|
3987
3987
|
e[6]
|
|
3988
3988
|
), a.disabled = /*exchangeDisabled*/
|
|
3989
|
-
e[6],
|
|
3989
|
+
e[6], j(
|
|
3990
3990
|
a,
|
|
3991
3991
|
"disabled",
|
|
3992
3992
|
/*exchangeDisabled*/
|
|
@@ -4015,7 +4015,7 @@ function ba(e) {
|
|
|
4015
4015
|
u[18]("Exchange") + "") && W(n, r), h[0] & /*exchangeDisabled*/
|
|
4016
4016
|
64 && (t.disabled = /*exchangeDisabled*/
|
|
4017
4017
|
u[6]), h[0] & /*exchangeDisabled*/
|
|
4018
|
-
64 &&
|
|
4018
|
+
64 && j(
|
|
4019
4019
|
t,
|
|
4020
4020
|
"disabled",
|
|
4021
4021
|
/*exchangeDisabled*/
|
|
@@ -4025,7 +4025,7 @@ function ba(e) {
|
|
|
4025
4025
|
u[18]("Reset") + "") && W(s, o), h[0] & /*exchangeDisabled*/
|
|
4026
4026
|
64 && (a.disabled = /*exchangeDisabled*/
|
|
4027
4027
|
u[6]), h[0] & /*exchangeDisabled*/
|
|
4028
|
-
64 &&
|
|
4028
|
+
64 && j(
|
|
4029
4029
|
a,
|
|
4030
4030
|
"disabled",
|
|
4031
4031
|
/*exchangeDisabled*/
|
|
@@ -4047,7 +4047,7 @@ function ya(e) {
|
|
|
4047
4047
|
), s, c, l;
|
|
4048
4048
|
return {
|
|
4049
4049
|
c() {
|
|
4050
|
-
t = E("button"), n =
|
|
4050
|
+
t = E("button"), n = $(r), i = R(), a = E("button"), s = $(o);
|
|
4051
4051
|
},
|
|
4052
4052
|
m(u, h) {
|
|
4053
4053
|
Q(u, t, h), m(t, n), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
|
|
@@ -4096,7 +4096,7 @@ function va(e) {
|
|
|
4096
4096
|
), se, He, fe, pe, V, J, me, G, Se, Y, We, ne, de, Ce = (
|
|
4097
4097
|
/*$_*/
|
|
4098
4098
|
e[18]("exchangeTo") + ""
|
|
4099
|
-
), Ze, qe, ge,
|
|
4099
|
+
), Ze, qe, ge, k, Pe, Ie, it, ie, Je, ye, ve, Qe, Ne, Ye, M, be, at, K, ae, Oe, Le = (
|
|
4100
4100
|
/*$_*/
|
|
4101
4101
|
e[18](
|
|
4102
4102
|
/*errorCode*/
|
|
@@ -4130,10 +4130,10 @@ function va(e) {
|
|
|
4130
4130
|
let st = Wt(e), le = st(e);
|
|
4131
4131
|
return {
|
|
4132
4132
|
c() {
|
|
4133
|
-
t = E("div"), r = E("div"), n = E("div"), i = E("h1"), o =
|
|
4133
|
+
t = E("div"), r = E("div"), n = E("div"), i = E("h1"), o = $(a), s = R(), c = E("div"), l = E("p"), h = $(u), d = R(), b = E("p"), P = $(v), F = R(), D = $(I), U = R(), C = E("div"), O = E("div"), q = E("p"), se = $(re), He = R(), fe = E("div"), pe = E("div"), V = E("input"), me = R(), G = E("select");
|
|
4134
4134
|
for (let f = 0; f < x.length; f += 1)
|
|
4135
4135
|
x[f].c();
|
|
4136
|
-
Se = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', We = R(), ne = E("div"), de = E("p"), Ze =
|
|
4136
|
+
Se = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', We = R(), ne = E("div"), de = E("p"), Ze = $(Ce), qe = R(), ge = E("div"), k = E("input"), it = R(), ie = E("select");
|
|
4137
4137
|
for (let f = 0; f < L.length; f += 1)
|
|
4138
4138
|
L[f].c();
|
|
4139
4139
|
Je = R(), ye = E("div"), ve = Yt("svg"), Qe = Yt("path"), Ye = R(), M = E("div");
|
|
@@ -4144,9 +4144,9 @@ function va(e) {
|
|
|
4144
4144
|
e[1] === void 0 && tt(() => (
|
|
4145
4145
|
/*select0_change_handler*/
|
|
4146
4146
|
e[33].call(G)
|
|
4147
|
-
)), H(pe, "class", "containerInputSelect"), H(fe, "class", "flexingContainerRow"), H(O, "class", "containerExchangeFrom"), H(Y, "class", "containerIconExchange"), H(de, "class", "exchangeHeader"),
|
|
4148
|
-
e[4] === 0, H(
|
|
4149
|
-
e[18]("creditPlaceHolder")), H(
|
|
4147
|
+
)), H(pe, "class", "containerInputSelect"), H(fe, "class", "flexingContainerRow"), H(O, "class", "containerExchangeFrom"), H(Y, "class", "containerIconExchange"), H(de, "class", "exchangeHeader"), k.disabled = Pe = /*inputExchangeFrom*/
|
|
4148
|
+
e[4] === 0, H(k, "placeholder", Ie = /*$_*/
|
|
4149
|
+
e[18]("creditPlaceHolder")), H(k, "type", "number"), H(k, "min", "0"), k.readOnly = !0, /*selectedCurrencyTo*/
|
|
4150
4150
|
e[2] === void 0 && tt(() => (
|
|
4151
4151
|
/*select1_change_handler*/
|
|
4152
4152
|
e[35].call(ie)
|
|
@@ -4159,32 +4159,32 @@ function va(e) {
|
|
|
4159
4159
|
"height",
|
|
4160
4160
|
/*calculateHeight*/
|
|
4161
4161
|
e[0]
|
|
4162
|
-
),
|
|
4162
|
+
), j(
|
|
4163
4163
|
ae,
|
|
4164
4164
|
"error",
|
|
4165
4165
|
/*isError*/
|
|
4166
4166
|
e[8]
|
|
4167
|
-
),
|
|
4167
|
+
), j(
|
|
4168
4168
|
ae,
|
|
4169
4169
|
"success",
|
|
4170
4170
|
/*isSuccess*/
|
|
4171
4171
|
e[9]
|
|
4172
|
-
),
|
|
4172
|
+
), j(
|
|
4173
4173
|
ae,
|
|
4174
4174
|
"action",
|
|
4175
4175
|
/*isAction*/
|
|
4176
4176
|
e[10]
|
|
4177
|
-
), H(K, "class", "notificationsContainer"),
|
|
4177
|
+
), H(K, "class", "notificationsContainer"), j(
|
|
4178
4178
|
K,
|
|
4179
4179
|
"error",
|
|
4180
4180
|
/*isError*/
|
|
4181
4181
|
e[8]
|
|
4182
|
-
),
|
|
4182
|
+
), j(
|
|
4183
4183
|
K,
|
|
4184
4184
|
"success",
|
|
4185
4185
|
/*isSuccess*/
|
|
4186
4186
|
e[9]
|
|
4187
|
-
),
|
|
4187
|
+
), j(
|
|
4188
4188
|
K,
|
|
4189
4189
|
"action",
|
|
4190
4190
|
/*isAction*/
|
|
@@ -4204,8 +4204,8 @@ function va(e) {
|
|
|
4204
4204
|
/*selectedCurrencyFrom*/
|
|
4205
4205
|
e[1],
|
|
4206
4206
|
!0
|
|
4207
|
-
), m(C, Se), m(C, Y), m(C, We), m(C, ne), m(ne, de), m(de, Ze), m(ne, qe), m(ne, ge), m(ge,
|
|
4208
|
-
|
|
4207
|
+
), m(C, Se), m(C, Y), m(C, We), m(C, ne), m(ne, de), m(de, Ze), m(ne, qe), m(ne, ge), m(ge, k), Ee(
|
|
4208
|
+
k,
|
|
4209
4209
|
/*inputExchangeTo*/
|
|
4210
4210
|
e[5]
|
|
4211
4211
|
), m(ge, it), m(ge, ie);
|
|
@@ -4245,7 +4245,7 @@ function va(e) {
|
|
|
4245
4245
|
e[20]
|
|
4246
4246
|
),
|
|
4247
4247
|
te(
|
|
4248
|
-
|
|
4248
|
+
k,
|
|
4249
4249
|
"input",
|
|
4250
4250
|
/*input1_input_handler*/
|
|
4251
4251
|
e[34]
|
|
@@ -4313,12 +4313,12 @@ function va(e) {
|
|
|
4313
4313
|
262144 && Ce !== (Ce = /*$_*/
|
|
4314
4314
|
f[18]("exchangeTo") + "") && W(Ze, Ce), A[0] & /*inputExchangeFrom*/
|
|
4315
4315
|
16 && Pe !== (Pe = /*inputExchangeFrom*/
|
|
4316
|
-
f[4] === 0) && (
|
|
4316
|
+
f[4] === 0) && (k.disabled = Pe), A[0] & /*$_*/
|
|
4317
4317
|
262144 && Ie !== (Ie = /*$_*/
|
|
4318
|
-
f[18]("creditPlaceHolder")) && H(
|
|
4319
|
-
32 && pt(
|
|
4318
|
+
f[18]("creditPlaceHolder")) && H(k, "placeholder", Ie), A[0] & /*inputExchangeTo*/
|
|
4319
|
+
32 && pt(k.value) !== /*inputExchangeTo*/
|
|
4320
4320
|
f[5] && Ee(
|
|
4321
|
-
|
|
4321
|
+
k,
|
|
4322
4322
|
/*inputExchangeTo*/
|
|
4323
4323
|
f[5]
|
|
4324
4324
|
), A[0] & /*playerFilteredBalances, selectedCurrencyFrom*/
|
|
@@ -4374,37 +4374,37 @@ function va(e) {
|
|
|
4374
4374
|
/*errorCode*/
|
|
4375
4375
|
f[3]
|
|
4376
4376
|
) + "") && (Oe.innerHTML = Le), A[0] & /*isError*/
|
|
4377
|
-
256 &&
|
|
4377
|
+
256 && j(
|
|
4378
4378
|
ae,
|
|
4379
4379
|
"error",
|
|
4380
4380
|
/*isError*/
|
|
4381
4381
|
f[8]
|
|
4382
4382
|
), A[0] & /*isSuccess*/
|
|
4383
|
-
512 &&
|
|
4383
|
+
512 && j(
|
|
4384
4384
|
ae,
|
|
4385
4385
|
"success",
|
|
4386
4386
|
/*isSuccess*/
|
|
4387
4387
|
f[9]
|
|
4388
4388
|
), A[0] & /*isAction*/
|
|
4389
|
-
1024 &&
|
|
4389
|
+
1024 && j(
|
|
4390
4390
|
ae,
|
|
4391
4391
|
"action",
|
|
4392
4392
|
/*isAction*/
|
|
4393
4393
|
f[10]
|
|
4394
4394
|
), A[0] & /*isError*/
|
|
4395
|
-
256 &&
|
|
4395
|
+
256 && j(
|
|
4396
4396
|
K,
|
|
4397
4397
|
"error",
|
|
4398
4398
|
/*isError*/
|
|
4399
4399
|
f[8]
|
|
4400
4400
|
), A[0] & /*isSuccess*/
|
|
4401
|
-
512 &&
|
|
4401
|
+
512 && j(
|
|
4402
4402
|
K,
|
|
4403
4403
|
"success",
|
|
4404
4404
|
/*isSuccess*/
|
|
4405
4405
|
f[9]
|
|
4406
4406
|
), A[0] & /*isAction*/
|
|
4407
|
-
1024 &&
|
|
4407
|
+
1024 && j(
|
|
4408
4408
|
K,
|
|
4409
4409
|
"action",
|
|
4410
4410
|
/*isAction*/
|
|
@@ -4432,7 +4432,7 @@ function xa(e, t) {
|
|
|
4432
4432
|
function Ea(e, t, r) {
|
|
4433
4433
|
let n;
|
|
4434
4434
|
sn(e, pa, (p) => r(18, n = p));
|
|
4435
|
-
let { session: i = "", userid: a = "", endpoint: o = "", lang: s = "en" } = t, { clientstyling: c = "", clientstylingurl: l = "", translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", P = "", F = "", I = 0, D = 0, U = 0, C = !0, O = !1, q = !1, re = !1, se = !1, He = !0, fe = !1, pe = [], V = [], J = [], me = [], G = [], Se = [], Y = {}, We = {}, ne = null, de = [];
|
|
4435
|
+
let { session: i = "" } = t, { userid: a = "" } = t, { endpoint: o = "" } = t, { lang: s = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", P = "", F = "", I = 0, D = 0, U = 0, C = !0, O = !1, q = !1, re = !1, se = !1, He = !0, fe = !1, pe = [], V = [], J = [], me = [], G = [], Se = [], Y = {}, We = {}, ne = null, de = [];
|
|
4436
4436
|
const Ce = () => {
|
|
4437
4437
|
da(s);
|
|
4438
4438
|
};
|
|
@@ -4457,7 +4457,7 @@ function Ea(e, t, r) {
|
|
|
4457
4457
|
return r(0, d = "0px");
|
|
4458
4458
|
const p = (w = de[0]) == null ? void 0 : w.clientHeight, y = G.length, B = 30, x = parseFloat(getComputedStyle(ne).getPropertyValue("gap"));
|
|
4459
4459
|
return r(0, d = `${y * p + y * x + B}px`);
|
|
4460
|
-
},
|
|
4460
|
+
}, k = () => new Promise((p, y) => {
|
|
4461
4461
|
let B = new URL(`${o}/v2/player/${a}/balance`);
|
|
4462
4462
|
fetch(B, {
|
|
4463
4463
|
method: "GET",
|
|
@@ -4563,7 +4563,7 @@ function Ea(e, t, r) {
|
|
|
4563
4563
|
})
|
|
4564
4564
|
};
|
|
4565
4565
|
fetch(p, B).then((x) => be(x)).then((x) => {
|
|
4566
|
-
x && (r(10, se = !1), r(4, I = 0), r(5, D = 0), M("success", "exchangeSuccess"),
|
|
4566
|
+
x && (r(10, se = !1), r(4, I = 0), r(5, D = 0), M("success", "exchangeSuccess"), k().then((w) => {
|
|
4567
4567
|
!w || !O || ge();
|
|
4568
4568
|
}).catch((w) => {
|
|
4569
4569
|
console.error("There was an error with fetching the players balance.", w);
|
|
@@ -4658,7 +4658,7 @@ function Ea(e, t, r) {
|
|
|
4658
4658
|
16777216, e.$$.dirty[0] & /*lang*/
|
|
4659
4659
|
134217728 && s && Ce(), e.$$.dirty[0] & /*session, userid, endpoint*/
|
|
4660
4660
|
117440512 | e.$$.dirty[1] & /*playercurrency*/
|
|
4661
|
-
1 && i && a && o && h &&
|
|
4661
|
+
1 && i && a && o && h && k(), e.$$.dirty[0] & /*clientstyling*/
|
|
4662
4662
|
268435456, e.$$.dirty[0] & /*clientstylingurl*/
|
|
4663
4663
|
536870912, e.$$.dirty[0] & /*translationurl*/
|
|
4664
4664
|
1073741824 && u && Ze();
|