scope360-core 0.0.266 → 0.0.267
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/dist/scope360-core.js +109 -109
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +6 -6
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/scope360-core.js
CHANGED
|
@@ -4765,7 +4765,7 @@ const yx = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4765
4765
|
}, Ri = (t, e, n, s) => {
|
|
4766
4766
|
let i = t ? te(t) : te();
|
|
4767
4767
|
return (e || e === 0) && (i = by(i, +e)), (n || n === 0) && (i = wy(i, +n)), (s || s === 0) && (i = vh(i, +s)), yh(i, 0);
|
|
4768
|
-
}, kt = (t, e) => !t || !e ? !1 : go(Ln(t), Ln(e)),
|
|
4768
|
+
}, kt = (t, e) => !t || !e ? !1 : go(Ln(t), Ln(e)), Ve = (t, e) => !t || !e ? !1 : Wr(Ln(t), Ln(e)), At = (t, e) => !t || !e ? !1 : po(Ln(t), Ln(e)), Tu = (t, e, n) => t != null && t[0] && t != null && t[1] ? At(n, t[0]) && kt(n, t[1]) : t != null && t[0] && e ? At(n, t[0]) && kt(n, e) || kt(n, t[0]) && At(n, e) : !1, rs = (t) => {
|
|
4769
4769
|
const e = ot(new Date(t), { date: 1 });
|
|
4770
4770
|
return Ln(e);
|
|
4771
4771
|
}, yc = (t, e, n) => e && (n || n === 0) ? Object.fromEntries(
|
|
@@ -4818,7 +4818,7 @@ const yx = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4818
4818
|
return !1;
|
|
4819
4819
|
const r = i ? ls(t, 1) : sa(t, 1), a = [Le(r), $e(r)];
|
|
4820
4820
|
return i ? !xx(...a, e) : !kx(...a, n);
|
|
4821
|
-
}, kx = (t, e, n) => kt(...ki(n, t, e)) ||
|
|
4821
|
+
}, kx = (t, e, n) => kt(...ki(n, t, e)) || Ve(...ki(n, t, e)), xx = (t, e, n) => At(...ki(n, t, e)) || Ve(...ki(n, t, e)), Ey = (t, e, n, s, i, r, a) => {
|
|
4822
4822
|
if (typeof e == "function" && !a)
|
|
4823
4823
|
return e(t);
|
|
4824
4824
|
const o = n ? { locale: n } : void 0;
|
|
@@ -5491,17 +5491,17 @@ const jx = ({
|
|
|
5491
5491
|
u.value = null;
|
|
5492
5492
|
}, f = (_) => Array.isArray(t.value) && o.value.enabled && t.value[0] && u.value ? _ ? At(u.value, t.value[0]) : kt(u.value, t.value[0]) : !0, p = (_, v) => {
|
|
5493
5493
|
const Y = () => t.value ? v ? t.value[0] || null : t.value[1] : null, j = t.value && Array.isArray(t.value) ? Y() : null;
|
|
5494
|
-
return
|
|
5494
|
+
return Ve(te(_.value), j);
|
|
5495
5495
|
}, m = (_) => {
|
|
5496
5496
|
const v = Array.isArray(t.value) ? t.value[0] : null;
|
|
5497
5497
|
return _ ? !kt(u.value ?? null, v) : !0;
|
|
5498
|
-
}, g = (_, v = !0) => (o.value.enabled || e.weekPicker) && Array.isArray(t.value) && t.value.length === 2 ? e.hideOffsetDates && !_.current ? !1 :
|
|
5498
|
+
}, g = (_, v = !0) => (o.value.enabled || e.weekPicker) && Array.isArray(t.value) && t.value.length === 2 ? e.hideOffsetDates && !_.current ? !1 : Ve(te(_.value), t.value[v ? 0 : 1]) : o.value.enabled ? p(_, v) && m(v) || Ve(_.value, Array.isArray(t.value) ? t.value[0] : null) && f(v) : !1, y = (_, v, Y) => Array.isArray(t.value) && t.value[0] && t.value.length === 1 ? _ ? !1 : Y ? At(t.value[0], v.value) : kt(t.value[0], v.value) : !1, w = (_) => !t.value || e.hideOffsetDates && !_.current ? !1 : o.value.enabled ? e.modelAuto && Array.isArray(t.value) ? Ve(_.value, t.value[0] ? t.value[0] : c.value) : !1 : s.value.enabled && Array.isArray(t.value) ? t.value.some((v) => Ve(v, _.value)) : Ve(_.value, t.value ? t.value : c.value), b = (_) => {
|
|
5499
5499
|
if (o.value.autoRange || e.weekPicker) {
|
|
5500
5500
|
if (u.value) {
|
|
5501
5501
|
if (e.hideOffsetDates && !_.current)
|
|
5502
5502
|
return !1;
|
|
5503
5503
|
const v = is(u.value, +o.value.autoRange), Y = js(te(u.value), e.weekStart);
|
|
5504
|
-
return e.weekPicker ?
|
|
5504
|
+
return e.weekPicker ? Ve(Y[1], te(_.value)) : Ve(v, te(_.value));
|
|
5505
5505
|
}
|
|
5506
5506
|
return !1;
|
|
5507
5507
|
}
|
|
@@ -5524,7 +5524,7 @@ const jx = ({
|
|
|
5524
5524
|
if (e.hideOffsetDates && !_.current)
|
|
5525
5525
|
return !1;
|
|
5526
5526
|
const v = js(te(u.value), e.weekStart);
|
|
5527
|
-
return e.weekPicker ?
|
|
5527
|
+
return e.weekPicker ? Ve(v[0], _.value) : Ve(u.value, _.value);
|
|
5528
5528
|
}
|
|
5529
5529
|
return !1;
|
|
5530
5530
|
}
|
|
@@ -5548,7 +5548,7 @@ const jx = ({
|
|
|
5548
5548
|
dp__cell_disabled: l(_.value),
|
|
5549
5549
|
dp__cell_highlight: !$(_) && (X(_) || z(_)) && !H(_) && !j && !S(_) && !(ee(_) && e.weekPicker) && !Y,
|
|
5550
5550
|
dp__cell_highlight_active: !$(_) && (X(_) || z(_)) && H(_),
|
|
5551
|
-
dp__today: !e.noToday &&
|
|
5551
|
+
dp__today: !e.noToday && Ve(_.value, c.value) && _.current,
|
|
5552
5552
|
"dp--past": kt(_.value, c.value),
|
|
5553
5553
|
"dp--future": At(_.value, c.value)
|
|
5554
5554
|
};
|
|
@@ -5560,8 +5560,8 @@ const jx = ({
|
|
|
5560
5560
|
const v = js(t.value, e.weekStart);
|
|
5561
5561
|
return {
|
|
5562
5562
|
...I(_),
|
|
5563
|
-
dp__range_start:
|
|
5564
|
-
dp__range_end:
|
|
5563
|
+
dp__range_start: Ve(v[0], _.value),
|
|
5564
|
+
dp__range_end: Ve(v[1], _.value),
|
|
5565
5565
|
dp__range_between_week: At(_.value, v[0]) && kt(_.value, v[1])
|
|
5566
5566
|
};
|
|
5567
5567
|
}
|
|
@@ -5573,8 +5573,8 @@ const jx = ({
|
|
|
5573
5573
|
const v = js(t.value[0], e.weekStart), Y = t.value[1] ? js(t.value[1], e.weekStart) : [];
|
|
5574
5574
|
return {
|
|
5575
5575
|
...I(_),
|
|
5576
|
-
dp__range_start:
|
|
5577
|
-
dp__range_end:
|
|
5576
|
+
dp__range_start: Ve(v[0], _.value) || Ve(Y[0], _.value),
|
|
5577
|
+
dp__range_end: Ve(v[1], _.value) || Ve(Y[1], _.value),
|
|
5578
5578
|
dp__range_between_week: At(_.value, v[0]) && kt(_.value, v[1]) || At(_.value, Y[0]) && kt(_.value, Y[1]),
|
|
5579
5579
|
dp__range_between: At(_.value, v[1]) && kt(_.value, Y[0])
|
|
5580
5580
|
};
|
|
@@ -5615,7 +5615,7 @@ const jx = ({
|
|
|
5615
5615
|
const { defaultedFilters: e, defaultedRange: n, propDates: s, defaultedMultiDates: i } = _t(t), r = ($) => s.value.disabledDates ? typeof s.value.disabledDates == "function" ? s.value.disabledDates(te($)) : !!Zl($, s.value.disabledDates) : !1, a = ($) => {
|
|
5616
5616
|
const z = s.value.maxDate ? At($, s.value.maxDate) : !1, ee = s.value.minDate ? kt($, s.value.minDate) : !1, C = r($), x = e.value.months.map((I) => +I).includes(Le($)), L = t.disabledWeekDays.length ? t.disabledWeekDays.some((I) => +I === ck($)) : !1, Q = d($), oe = $e($), J = oe < +t.yearRange[0] || oe > +t.yearRange[1];
|
|
5617
5617
|
return !(z || ee || C || x || J || L || Q);
|
|
5618
|
-
}, o = ($, z) => kt(...ki(s.value.minDate, $, z)) ||
|
|
5618
|
+
}, o = ($, z) => kt(...ki(s.value.minDate, $, z)) || Ve(...ki(s.value.minDate, $, z)), l = ($, z) => At(...ki(s.value.maxDate, $, z)) || Ve(...ki(s.value.maxDate, $, z)), u = ($, z, ee) => {
|
|
5619
5619
|
let C = !1;
|
|
5620
5620
|
return s.value.maxDate && ee && l($, z) && (C = !0), s.value.minDate && !ee && o($, z) && (C = !0), C;
|
|
5621
5621
|
}, c = ($, z, ee, C) => {
|
|
@@ -5674,15 +5674,15 @@ const jx = ({
|
|
|
5674
5674
|
const ee = te(rs($));
|
|
5675
5675
|
if (s.value.minDate && s.value.maxDate) {
|
|
5676
5676
|
const C = te(rs(s.value.minDate)), x = te(rs(s.value.maxDate));
|
|
5677
|
-
return At(ee, C) && kt(ee, x) ||
|
|
5677
|
+
return At(ee, C) && kt(ee, x) || Ve(ee, C) || Ve(ee, x);
|
|
5678
5678
|
}
|
|
5679
5679
|
if (s.value.minDate) {
|
|
5680
5680
|
const C = te(rs(s.value.minDate));
|
|
5681
|
-
z = At(ee, C) ||
|
|
5681
|
+
z = At(ee, C) || Ve(ee, C);
|
|
5682
5682
|
}
|
|
5683
5683
|
if (s.value.maxDate) {
|
|
5684
5684
|
const C = te(rs(s.value.maxDate));
|
|
5685
|
-
z = kt(ee, C) ||
|
|
5685
|
+
z = kt(ee, C) || Ve(ee, C);
|
|
5686
5686
|
}
|
|
5687
5687
|
return z;
|
|
5688
5688
|
}, H = U(() => ($) => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : A($)), X = U(() => ($) => t.monthPicker ? Array.isArray($) && (n.value.enabled || i.value.enabled) ? !$.filter((z) => !R(z)).length : R($) : !0);
|
|
@@ -6537,8 +6537,8 @@ const jx = ({
|
|
|
6537
6537
|
}
|
|
6538
6538
|
}), Oh = (t, e, n) => {
|
|
6539
6539
|
if (e.value && Array.isArray(e.value))
|
|
6540
|
-
if (e.value.some((s) =>
|
|
6541
|
-
const s = e.value.filter((i) => !
|
|
6540
|
+
if (e.value.some((s) => Ve(t, s))) {
|
|
6541
|
+
const s = e.value.filter((i) => !Ve(i, t));
|
|
6542
6542
|
e.value = s.length ? s : null;
|
|
6543
6543
|
} else
|
|
6544
6544
|
(n && +n > e.value.length || !n) && e.value.push(t);
|
|
@@ -6551,7 +6551,7 @@ const jx = ({
|
|
|
6551
6551
|
t && (t[0] && t[1] && n && e("auto-apply"), t[0] && !t[1] && s && n && e("auto-apply"));
|
|
6552
6552
|
}, Fy = (t) => {
|
|
6553
6553
|
Array.isArray(t.value) && t.value.length <= 2 && t.range ? t.modelValue.value = t.value.map((e) => ei(te(e), t.timezone)) : Array.isArray(t.value) || (t.modelValue.value = ei(te(t.value), t.timezone));
|
|
6554
|
-
}, Yy = (t, e, n, s) => Array.isArray(e.value) && (e.value.length === 2 || e.value.length === 1 && s.value.partialRange) ? s.value.fixedStart && (At(t, e.value[0]) ||
|
|
6554
|
+
}, Yy = (t, e, n, s) => Array.isArray(e.value) && (e.value.length === 2 || e.value.length === 1 && s.value.partialRange) ? s.value.fixedStart && (At(t, e.value[0]) || Ve(t, e.value[0])) ? [e.value[0], t] : s.value.fixedEnd && (kt(t, e.value[1]) || Ve(t, e.value[1])) ? [t, e.value[1]] : (n("invalid-fixed-range", t), e.value) : [], Vy = ({
|
|
6555
6555
|
multiCalendars: t,
|
|
6556
6556
|
highlight: e,
|
|
6557
6557
|
propDates: n,
|
|
@@ -7386,7 +7386,7 @@ const jx = ({
|
|
|
7386
7386
|
S.minutes[A],
|
|
7387
7387
|
S.seconds[A]
|
|
7388
7388
|
) : null, M = (A) => yh(n.value[A], 0);
|
|
7389
|
-
return !(
|
|
7389
|
+
return !(Ve(P(0), P(1)) && (po(P(0), M(1)) || go(P(1), M(0))));
|
|
7390
7390
|
}
|
|
7391
7391
|
return !0;
|
|
7392
7392
|
}, d = (b, D) => {
|
|
@@ -7821,7 +7821,7 @@ const jx = ({
|
|
|
7821
7821
|
dp__marker_dot: Me.type === "dot",
|
|
7822
7822
|
dp__marker_line: Me.type === "line"
|
|
7823
7823
|
};
|
|
7824
|
-
}), $ = U(() => (q) =>
|
|
7824
|
+
}), $ = U(() => (q) => Ve(q, h.value)), z = U(() => ({
|
|
7825
7825
|
dp__calendar: !0,
|
|
7826
7826
|
dp__calendar_next: u.value.count > 0 && i.instance !== 0
|
|
7827
7827
|
})), ee = U(() => (q) => i.hideOffsetDates ? q.current : !0), C = (q) => Ps(q, "yyyy-MM-dd"), x = async (q, Me, N) => {
|
|
@@ -8161,7 +8161,7 @@ const jx = ({
|
|
|
8161
8161
|
const we = [], Ee = new Date(ae, B), se = new Date(ae, B + 1, 0), De = t.weekStart, Te = Rs(Ee, { weekStartsOn: De }), Ys = (ys) => {
|
|
8162
8162
|
const Ui = ne(ys, B);
|
|
8163
8163
|
if (we.push({ days: Ui }), !we[we.length - 1].days.some(
|
|
8164
|
-
(hi) =>
|
|
8164
|
+
(hi) => Ve(Ln(hi.value), Ln(se))
|
|
8165
8165
|
)) {
|
|
8166
8166
|
const hi = is(ys, 7);
|
|
8167
8167
|
Ys(hi);
|
|
@@ -8477,7 +8477,7 @@ const jx = ({
|
|
|
8477
8477
|
}), P = (C, x) => [C, x].map((L) => Ps(L, "MMMM", { locale: t.formatLocale })).join("-"), M = U(() => (C) => c.value ? Array.isArray(c.value) ? c.value.some((x) => lm(C, x)) : lm(c.value, C) : !1), A = (C) => {
|
|
8478
8478
|
if (a.value.enabled) {
|
|
8479
8479
|
if (Array.isArray(c.value)) {
|
|
8480
|
-
const x =
|
|
8480
|
+
const x = Ve(C, c.value[0]) || Ve(C, c.value[1]);
|
|
8481
8481
|
return Tu(c.value, n.value, C) && !x;
|
|
8482
8482
|
}
|
|
8483
8483
|
return !1;
|
|
@@ -9926,7 +9926,7 @@ var $n = {
|
|
|
9926
9926
|
}, d;
|
|
9927
9927
|
}(), ua = function() {
|
|
9928
9928
|
return !wo && Pn.wake();
|
|
9929
|
-
},
|
|
9929
|
+
}, Ye = {}, ZM = /^[\d.\-M][\d.\-,\s]/, KM = /["']/g, XM = function(e) {
|
|
9930
9930
|
for (var n = {}, s = e.substr(1, e.length - 3).split(":"), i = s[0], r = 1, a = s.length, o, l, u; r < a; r++)
|
|
9931
9931
|
l = s[r], o = r !== a - 1 ? l.lastIndexOf(",") : l.length, u = l.substr(0, o), n[i] = isNaN(u) ? u.replace(KM, "").trim() : +u, i = l.substr(o + 1).trim();
|
|
9932
9932
|
return n;
|
|
@@ -9934,8 +9934,8 @@ var $n = {
|
|
|
9934
9934
|
var n = e.indexOf("(") + 1, s = e.indexOf(")"), i = e.indexOf("(", n);
|
|
9935
9935
|
return e.substring(n, ~i && i < s ? e.indexOf(")", s + 1) : s);
|
|
9936
9936
|
}, JM = function(e) {
|
|
9937
|
-
var n = (e + "").split("("), s =
|
|
9938
|
-
return s && n.length > 1 && s.config ? s.config.apply(null, ~e.indexOf("{") ? [XM(n[1])] : QM(e).split(",").map(t0)) :
|
|
9937
|
+
var n = (e + "").split("("), s = Ye[n[0]];
|
|
9938
|
+
return s && n.length > 1 && s.config ? s.config.apply(null, ~e.indexOf("{") ? [XM(n[1])] : QM(e).split(",").map(t0)) : Ye._CE && ZM.test(e) ? Ye._CE("", e) : s;
|
|
9939
9939
|
}, _0 = function(e) {
|
|
9940
9940
|
return function(n) {
|
|
9941
9941
|
return 1 - e(1 - n);
|
|
@@ -9944,7 +9944,7 @@ var $n = {
|
|
|
9944
9944
|
for (var s = e._first, i; s; )
|
|
9945
9945
|
s instanceof un ? t(s, n) : s.vars.yoyoEase && (!s._yoyo || !s._repeat) && s._yoyo !== n && (s.timeline ? t(s.timeline, n) : (i = s._ease, s._ease = s._yEase, s._yEase = i, s._yoyo = n)), s = s._next;
|
|
9946
9946
|
}, pr = function(e, n) {
|
|
9947
|
-
return e && (St(e) ? e :
|
|
9947
|
+
return e && (St(e) ? e : Ye[e] || JM(e)) || n;
|
|
9948
9948
|
}, Tr = function(e, n, s, i) {
|
|
9949
9949
|
s === void 0 && (s = function(l) {
|
|
9950
9950
|
return 1 - n(1 - l);
|
|
@@ -9957,9 +9957,9 @@ var $n = {
|
|
|
9957
9957
|
easeInOut: i
|
|
9958
9958
|
}, a;
|
|
9959
9959
|
return wn(e, function(o) {
|
|
9960
|
-
|
|
9960
|
+
Ye[o] = Fn[o] = r, Ye[a = o.toLowerCase()] = s;
|
|
9961
9961
|
for (var l in r)
|
|
9962
|
-
|
|
9962
|
+
Ye[a + (l === "easeIn" ? ".in" : l === "easeOut" ? ".out" : ".inOut")] = Ye[o + "." + l] = r[l];
|
|
9963
9963
|
}), r;
|
|
9964
9964
|
}, w0 = function(e) {
|
|
9965
9965
|
return function(n) {
|
|
@@ -9997,7 +9997,7 @@ wn("Linear,Quad,Cubic,Quart,Quint,Strong", function(t, e) {
|
|
|
9997
9997
|
return s < 0.5 ? Math.pow(s * 2, n) / 2 : 1 - Math.pow((1 - s) * 2, n) / 2;
|
|
9998
9998
|
});
|
|
9999
9999
|
});
|
|
10000
|
-
|
|
10000
|
+
Ye.Linear.easeNone = Ye.none = Ye.Linear.easeIn;
|
|
10001
10001
|
Tr("Elastic", Cc("in"), Cc("out"), Cc());
|
|
10002
10002
|
(function(t, e) {
|
|
10003
10003
|
var n = 1 / e, s = 2 * n, i = 2.5 * n, r = function(o) {
|
|
@@ -10017,7 +10017,7 @@ Tr("Sine", function(t) {
|
|
|
10017
10017
|
return t === 1 ? 1 : -DM(t * SM) + 1;
|
|
10018
10018
|
});
|
|
10019
10019
|
Tr("Back", Ac("in"), Ac("out"), Ac());
|
|
10020
|
-
|
|
10020
|
+
Ye.SteppedEase = Ye.steps = Fn.SteppedEase = {
|
|
10021
10021
|
config: function(e, n) {
|
|
10022
10022
|
e === void 0 && (e = 1);
|
|
10023
10023
|
var s = 1 / e, i = e + (n ? 0 : 1), r = n ? 1 : 0, a = 1 - at;
|
|
@@ -10026,7 +10026,7 @@ Fe.SteppedEase = Fe.steps = Fn.SteppedEase = {
|
|
|
10026
10026
|
};
|
|
10027
10027
|
}
|
|
10028
10028
|
};
|
|
10029
|
-
aa.ease =
|
|
10029
|
+
aa.ease = Ye["quad.out"];
|
|
10030
10030
|
wn("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(t) {
|
|
10031
10031
|
return Lh += t + "," + t + "Params,";
|
|
10032
10032
|
});
|
|
@@ -10490,7 +10490,7 @@ var Ft = /* @__PURE__ */ function(t) {
|
|
|
10490
10490
|
for (A in h)
|
|
10491
10491
|
~S0.indexOf(A) && (X || (X = {}), X[A] = h[A]);
|
|
10492
10492
|
for (S = 0; S < M; S++)
|
|
10493
|
-
P = Ql(i, M0), P.stagger = 0, y && (P.yoyoEase = y), X && br(P, X), R = b[S], P.duration = +eo(u, Hs(o), S, R, b), P.delay = (+eo(c, Hs(o), S, R, b) || 0) - o._delay, !h && M === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), D.to(R, P, H ? H(S, R, b) : 0), D._ease =
|
|
10493
|
+
P = Ql(i, M0), P.stagger = 0, y && (P.yoyoEase = y), X && br(P, X), R = b[S], P.duration = +eo(u, Hs(o), S, R, b), P.delay = (+eo(c, Hs(o), S, R, b) || 0) - o._delay, !h && M === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), D.to(R, P, H ? H(S, R, b) : 0), D._ease = Ye.none;
|
|
10494
10494
|
D.duration() ? u = c = 0 : o.timeline = 0;
|
|
10495
10495
|
} else if (p) {
|
|
10496
10496
|
Qa(Xn(D.vars.defaults, {
|
|
@@ -10840,10 +10840,10 @@ var gr = [], $l = {}, dD = [], Sm = 0, hD = 0, Rc = function(e) {
|
|
|
10840
10840
|
});
|
|
10841
10841
|
},
|
|
10842
10842
|
registerEase: function(e, n) {
|
|
10843
|
-
|
|
10843
|
+
Ye[e] = pr(n);
|
|
10844
10844
|
},
|
|
10845
10845
|
parseEase: function(e, n) {
|
|
10846
|
-
return arguments.length ? pr(e, n) :
|
|
10846
|
+
return arguments.length ? pr(e, n) : Ye;
|
|
10847
10847
|
},
|
|
10848
10848
|
getById: function(e) {
|
|
10849
10849
|
return pt.getById(e);
|
|
@@ -10978,24 +10978,24 @@ var mD = function(e, n) {
|
|
|
10978
10978
|
Ft.version = un.version = Sn.version = "3.12.5";
|
|
10979
10979
|
Zy = 1;
|
|
10980
10980
|
Eh() && ua();
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
var gD =
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
var $c =
|
|
10997
|
-
|
|
10998
|
-
|
|
10981
|
+
Ye.Power0;
|
|
10982
|
+
Ye.Power1;
|
|
10983
|
+
Ye.Power2;
|
|
10984
|
+
Ye.Power3;
|
|
10985
|
+
Ye.Power4;
|
|
10986
|
+
var gD = Ye.Linear;
|
|
10987
|
+
Ye.Quad;
|
|
10988
|
+
Ye.Cubic;
|
|
10989
|
+
Ye.Quart;
|
|
10990
|
+
Ye.Quint;
|
|
10991
|
+
Ye.Strong;
|
|
10992
|
+
Ye.Elastic;
|
|
10993
|
+
Ye.Back;
|
|
10994
|
+
Ye.SteppedEase;
|
|
10995
|
+
Ye.Bounce;
|
|
10996
|
+
var $c = Ye.Sine;
|
|
10997
|
+
Ye.Expo;
|
|
10998
|
+
Ye.Circ;
|
|
10999
10999
|
/*!
|
|
11000
11000
|
* CSSPlugin 3.12.5
|
|
11001
11001
|
* https://gsap.com
|
|
@@ -11818,10 +11818,10 @@ const DT = (t) => {
|
|
|
11818
11818
|
isAsyncFn: TT,
|
|
11819
11819
|
isThenable: OT
|
|
11820
11820
|
};
|
|
11821
|
-
function
|
|
11821
|
+
function Be(t, e, n, s, i) {
|
|
11822
11822
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), s && (this.request = s), i && (this.response = i);
|
|
11823
11823
|
}
|
|
11824
|
-
G.inherits(
|
|
11824
|
+
G.inherits(Be, Error, {
|
|
11825
11825
|
toJSON: function() {
|
|
11826
11826
|
return {
|
|
11827
11827
|
// Standard
|
|
@@ -11842,7 +11842,7 @@ G.inherits(Ve, Error, {
|
|
|
11842
11842
|
};
|
|
11843
11843
|
}
|
|
11844
11844
|
});
|
|
11845
|
-
const K0 =
|
|
11845
|
+
const K0 = Be.prototype, X0 = {};
|
|
11846
11846
|
[
|
|
11847
11847
|
"ERR_BAD_OPTION_VALUE",
|
|
11848
11848
|
"ERR_BAD_OPTION",
|
|
@@ -11860,13 +11860,13 @@ const K0 = Ve.prototype, X0 = {};
|
|
|
11860
11860
|
].forEach((t) => {
|
|
11861
11861
|
X0[t] = { value: t };
|
|
11862
11862
|
});
|
|
11863
|
-
Object.defineProperties(
|
|
11863
|
+
Object.defineProperties(Be, X0);
|
|
11864
11864
|
Object.defineProperty(K0, "isAxiosError", { value: !0 });
|
|
11865
|
-
|
|
11865
|
+
Be.from = (t, e, n, s, i, r) => {
|
|
11866
11866
|
const a = Object.create(K0);
|
|
11867
11867
|
return G.toFlatObject(t, a, function(l) {
|
|
11868
11868
|
return l !== Error.prototype;
|
|
11869
|
-
}, (o) => o !== "isAxiosError"),
|
|
11869
|
+
}, (o) => o !== "isAxiosError"), Be.call(a, t.message, e, n, s, i), a.cause = t, a.name = t.name, r && Object.assign(a, r), a;
|
|
11870
11870
|
};
|
|
11871
11871
|
const PT = null;
|
|
11872
11872
|
function $d(t) {
|
|
@@ -11905,7 +11905,7 @@ function Fu(t, e, n) {
|
|
|
11905
11905
|
if (G.isDate(p))
|
|
11906
11906
|
return p.toISOString();
|
|
11907
11907
|
if (!l && G.isBlob(p))
|
|
11908
|
-
throw new
|
|
11908
|
+
throw new Be("Blob is not supported. Use a Buffer instead.");
|
|
11909
11909
|
return G.isArrayBuffer(p) || G.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
11910
11910
|
}
|
|
11911
11911
|
function c(p, m, g) {
|
|
@@ -12148,7 +12148,7 @@ const Kh = {
|
|
|
12148
12148
|
return JSON.parse(e);
|
|
12149
12149
|
} catch (o) {
|
|
12150
12150
|
if (a)
|
|
12151
|
-
throw o.name === "SyntaxError" ?
|
|
12151
|
+
throw o.name === "SyntaxError" ? Be.from(o, Be.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
|
12152
12152
|
}
|
|
12153
12153
|
}
|
|
12154
12154
|
return e;
|
|
@@ -12375,16 +12375,16 @@ function iv(t) {
|
|
|
12375
12375
|
return !!(t && t.__CANCEL__);
|
|
12376
12376
|
}
|
|
12377
12377
|
function zo(t, e, n) {
|
|
12378
|
-
|
|
12378
|
+
Be.call(this, t ?? "canceled", Be.ERR_CANCELED, e, n), this.name = "CanceledError";
|
|
12379
12379
|
}
|
|
12380
|
-
G.inherits(zo,
|
|
12380
|
+
G.inherits(zo, Be, {
|
|
12381
12381
|
__CANCEL__: !0
|
|
12382
12382
|
});
|
|
12383
12383
|
function KT(t, e, n) {
|
|
12384
12384
|
const s = n.config.validateStatus;
|
|
12385
|
-
!n.status || !s || s(n.status) ? t(n) : e(new
|
|
12385
|
+
!n.status || !s || s(n.status) ? t(n) : e(new Be(
|
|
12386
12386
|
"Request failed with status code " + n.status,
|
|
12387
|
-
[
|
|
12387
|
+
[Be.ERR_BAD_REQUEST, Be.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
12388
12388
|
n.config,
|
|
12389
12389
|
n.request,
|
|
12390
12390
|
n
|
|
@@ -12542,15 +12542,15 @@ const sO = typeof XMLHttpRequest < "u", iO = sO && function(t) {
|
|
|
12542
12542
|
if ("onloadend" in d ? d.onloadend = f : d.onreadystatechange = function() {
|
|
12543
12543
|
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(f);
|
|
12544
12544
|
}, d.onabort = function() {
|
|
12545
|
-
d && (s(new
|
|
12545
|
+
d && (s(new Be("Request aborted", Be.ECONNABORTED, t, d)), d = null);
|
|
12546
12546
|
}, d.onerror = function() {
|
|
12547
|
-
s(new
|
|
12547
|
+
s(new Be("Network Error", Be.ERR_NETWORK, t, d)), d = null;
|
|
12548
12548
|
}, d.ontimeout = function() {
|
|
12549
12549
|
let g = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
12550
12550
|
const y = t.transitional || tv;
|
|
12551
|
-
t.timeoutErrorMessage && (g = t.timeoutErrorMessage), s(new
|
|
12551
|
+
t.timeoutErrorMessage && (g = t.timeoutErrorMessage), s(new Be(
|
|
12552
12552
|
g,
|
|
12553
|
-
y.clarifyTimeoutError ?
|
|
12553
|
+
y.clarifyTimeoutError ? Be.ETIMEDOUT : Be.ECONNABORTED,
|
|
12554
12554
|
t,
|
|
12555
12555
|
d
|
|
12556
12556
|
)), d = null;
|
|
@@ -12565,7 +12565,7 @@ const sO = typeof XMLHttpRequest < "u", iO = sO && function(t) {
|
|
|
12565
12565
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
12566
12566
|
const p = tO(h);
|
|
12567
12567
|
if (p && Os.protocols.indexOf(p) === -1) {
|
|
12568
|
-
s(new
|
|
12568
|
+
s(new Be("Unsupported protocol " + p + ":", Be.ERR_BAD_REQUEST, t));
|
|
12569
12569
|
return;
|
|
12570
12570
|
}
|
|
12571
12571
|
d.send(i || null);
|
|
@@ -12593,7 +12593,7 @@ const Bm = (t) => `- ${t}`, rO = (t) => G.isFunction(t) || t === null || t === !
|
|
|
12593
12593
|
n = t[r];
|
|
12594
12594
|
let a;
|
|
12595
12595
|
if (s = n, !rO(n) && (s = Id[(a = String(n)).toLowerCase()], s === void 0))
|
|
12596
|
-
throw new
|
|
12596
|
+
throw new Be(`Unknown adapter '${a}'`);
|
|
12597
12597
|
if (s)
|
|
12598
12598
|
break;
|
|
12599
12599
|
i[a || "#" + r] = s;
|
|
@@ -12605,7 +12605,7 @@ const Bm = (t) => `- ${t}`, rO = (t) => G.isFunction(t) || t === null || t === !
|
|
|
12605
12605
|
let a = e ? r.length > 1 ? `since :
|
|
12606
12606
|
` + r.map(Bm).join(`
|
|
12607
12607
|
`) : " " + Bm(r[0]) : "as no adapter specified";
|
|
12608
|
-
throw new
|
|
12608
|
+
throw new Be(
|
|
12609
12609
|
"There is no suitable adapter to dispatch the request " + a,
|
|
12610
12610
|
"ERR_NOT_SUPPORT"
|
|
12611
12611
|
);
|
|
@@ -12716,9 +12716,9 @@ Qh.transitional = function(e, n, s) {
|
|
|
12716
12716
|
}
|
|
12717
12717
|
return (r, a, o) => {
|
|
12718
12718
|
if (e === !1)
|
|
12719
|
-
throw new
|
|
12719
|
+
throw new Be(
|
|
12720
12720
|
i(a, " has been removed" + (n ? " in " + n : "")),
|
|
12721
|
-
|
|
12721
|
+
Be.ERR_DEPRECATED
|
|
12722
12722
|
);
|
|
12723
12723
|
return n && !Hm[a] && (Hm[a] = !0, console.warn(
|
|
12724
12724
|
i(
|
|
@@ -12730,7 +12730,7 @@ Qh.transitional = function(e, n, s) {
|
|
|
12730
12730
|
};
|
|
12731
12731
|
function aO(t, e, n) {
|
|
12732
12732
|
if (typeof t != "object")
|
|
12733
|
-
throw new
|
|
12733
|
+
throw new Be("options must be an object", Be.ERR_BAD_OPTION_VALUE);
|
|
12734
12734
|
const s = Object.keys(t);
|
|
12735
12735
|
let i = s.length;
|
|
12736
12736
|
for (; i-- > 0; ) {
|
|
@@ -12738,11 +12738,11 @@ function aO(t, e, n) {
|
|
|
12738
12738
|
if (a) {
|
|
12739
12739
|
const o = t[r], l = o === void 0 || a(o, r, t);
|
|
12740
12740
|
if (l !== !0)
|
|
12741
|
-
throw new
|
|
12741
|
+
throw new Be("option " + r + " must be " + l, Be.ERR_BAD_OPTION_VALUE);
|
|
12742
12742
|
continue;
|
|
12743
12743
|
}
|
|
12744
12744
|
if (n !== !0)
|
|
12745
|
-
throw new
|
|
12745
|
+
throw new Be("Unknown option " + r, Be.ERR_BAD_OPTION);
|
|
12746
12746
|
}
|
|
12747
12747
|
}
|
|
12748
12748
|
const Nd = {
|
|
@@ -13027,7 +13027,7 @@ Vt.CancelToken = oO;
|
|
|
13027
13027
|
Vt.isCancel = iv;
|
|
13028
13028
|
Vt.VERSION = ov;
|
|
13029
13029
|
Vt.toFormData = Fu;
|
|
13030
|
-
Vt.AxiosError =
|
|
13030
|
+
Vt.AxiosError = Be;
|
|
13031
13031
|
Vt.Cancel = Vt.CanceledError;
|
|
13032
13032
|
Vt.all = function(e) {
|
|
13033
13033
|
return Promise.all(e);
|
|
@@ -13448,14 +13448,14 @@ const uv = (t) => (mn("data-v-8797178e"), t = t(), pn(), t), hO = { class: "scop
|
|
|
13448
13448
|
style: Et(`width: ${n.value}%`)
|
|
13449
13449
|
}, [
|
|
13450
13450
|
ZO,
|
|
13451
|
-
O("div", KO, re(k(
|
|
13451
|
+
O("div", KO, re(k(Fe)(t.isHidden, k(on)(t.long / (t.long + t.short) * 100, 1), { repeat: 3 })) + "% ", 1)
|
|
13452
13452
|
], 4),
|
|
13453
13453
|
O("div", {
|
|
13454
13454
|
class: "long-short__item -short",
|
|
13455
13455
|
style: Et(`width: ${100 - n.value}%`)
|
|
13456
13456
|
}, [
|
|
13457
13457
|
XO,
|
|
13458
|
-
O("div", QO, re(k(
|
|
13458
|
+
O("div", QO, re(k(Fe)(t.isHidden, k(on)(t.short / (t.long + t.short) * 100, 1), { repeat: 3 })) + "% ", 1)
|
|
13459
13459
|
], 4)
|
|
13460
13460
|
]));
|
|
13461
13461
|
}
|
|
@@ -20927,7 +20927,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
20927
20927
|
if (f.body) {
|
|
20928
20928
|
const S = f.title || [], P = f.body.map((A) => A.lines), M = document.createElement("div");
|
|
20929
20929
|
for (M.classList.add("chart-tooltip-middle"), M.innerHTML = `<div class="chart-tooltip-content">
|
|
20930
|
-
${e.dataType === "balanceChartData" ? `${Du()}${
|
|
20930
|
+
${e.dataType === "balanceChartData" ? `${Du()}${Fe(e.isMask, Zg(P[0]), { repeat: 6 })}` : `${Fe(e.isMask, Zg(P[0]), { repeat: 3 })}%`}
|
|
20931
20931
|
<span> | ${Kg(S[0])}, ${zV(S[0])}</span></div>`; p.firstChild; )
|
|
20932
20932
|
p.firstChild.remove();
|
|
20933
20933
|
p.appendChild(M);
|
|
@@ -21123,7 +21123,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21123
21123
|
])
|
|
21124
21124
|
]));
|
|
21125
21125
|
}
|
|
21126
|
-
}, ui = /* @__PURE__ */ ze(IR, [["__scopeId", "data-v-aaab5f66"]]), NR = (t) => (mn("data-v-
|
|
21126
|
+
}, ui = /* @__PURE__ */ ze(IR, [["__scopeId", "data-v-aaab5f66"]]), NR = (t) => (mn("data-v-eae6b357"), t = t(), pn(), t), LR = { class: "account-balance-widget" }, FR = { class: "account-balance-widget__top" }, YR = { class: "account-balance-widget__title-wrapper" }, VR = /* @__PURE__ */ NR(() => /* @__PURE__ */ O("div", { class: "account-balance-widget__title" }, "Account Balance", -1)), BR = {
|
|
21127
21127
|
__name: "AccountBalanceWidget",
|
|
21128
21128
|
props: {
|
|
21129
21129
|
balanceChartData: { type: Array, default: [] },
|
|
@@ -21133,7 +21133,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21133
21133
|
},
|
|
21134
21134
|
emits: ["refresh"],
|
|
21135
21135
|
setup(t, { emit: e }) {
|
|
21136
|
-
const n = K("week"), s = (a) => a >= 1e3 || a <= -1e3 ?
|
|
21136
|
+
const n = K("week"), s = (a) => a >= 1e3 || a <= -1e3 ? Fe(r.isMask, on(a / 1e3, 2) + "k", { repeat: 3 }) : Fe(r.isMask, on(a, 2), { repeat: 3 }), i = e, r = t;
|
|
21137
21137
|
return (a, o) => (T(), E("div", LR, [
|
|
21138
21138
|
O("div", FR, [
|
|
21139
21139
|
O("div", YR, [
|
|
@@ -21164,7 +21164,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21164
21164
|
})) : W("", !0)
|
|
21165
21165
|
]));
|
|
21166
21166
|
}
|
|
21167
|
-
}, m5 = /* @__PURE__ */ ze(BR, [["__scopeId", "data-v-
|
|
21167
|
+
}, m5 = /* @__PURE__ */ ze(BR, [["__scopeId", "data-v-eae6b357"]]), n_ = (t) => (mn("data-v-f6a89d4f"), t = t(), pn(), t), WR = { class: "balance-widget" }, zR = { class: "balance-part" }, HR = { class: "balance-part__top" }, UR = { class: "balance-part__title-wrapper" }, jR = /* @__PURE__ */ n_(() => /* @__PURE__ */ O("div", { class: "balance-part__title" }, "Balance", -1)), qR = { class: "balance-part__content" }, GR = { class: "balance-part__content__wrapper" }, ZR = { class: "balance-part__content__count" }, KR = { class: "balance-part__content__bitcoin" }, XR = {
|
|
21168
21168
|
key: 0,
|
|
21169
21169
|
class: "devider"
|
|
21170
21170
|
}, QR = {
|
|
@@ -21220,7 +21220,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21220
21220
|
]),
|
|
21221
21221
|
O("div", qR, [
|
|
21222
21222
|
O("div", GR, [
|
|
21223
|
-
O("div", ZR, re(k(
|
|
21223
|
+
O("div", ZR, re(k(Fe)(t.isMaskBalance, k(ft)(t.USDT), { prefix: "$" })), 1),
|
|
21224
21224
|
t.delta ? (T(), he(k(Hf), {
|
|
21225
21225
|
key: 0,
|
|
21226
21226
|
"is-hidden": t.isMaskBalance,
|
|
@@ -21228,7 +21228,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21228
21228
|
delta: t.delta
|
|
21229
21229
|
}, null, 8, ["is-hidden", "delta"])) : W("", !0)
|
|
21230
21230
|
]),
|
|
21231
|
-
O("div", KR, "= " + re(k(
|
|
21231
|
+
O("div", KR, "= " + re(k(Fe)(t.isMaskBalance, t.BTC)) + " BTC", 1)
|
|
21232
21232
|
]),
|
|
21233
21233
|
t.isShare ? (T(), he(k(ug), {
|
|
21234
21234
|
key: 0,
|
|
@@ -21261,11 +21261,11 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21261
21261
|
])
|
|
21262
21262
|
]),
|
|
21263
21263
|
O("div", nE, [
|
|
21264
|
-
O("div", sE, re(k(
|
|
21264
|
+
O("div", sE, re(k(Fe)(t.isMaskPersonalTarget, k(ft)(t.currentProfit, { isPercentage: t.isPercentage, isFixed: !0 }), {
|
|
21265
21265
|
prefix: "$",
|
|
21266
21266
|
repeat: 5
|
|
21267
21267
|
})), 1),
|
|
21268
|
-
O("div", iE, "/ " + re(k(
|
|
21268
|
+
O("div", iE, "/ " + re(k(Fe)(t.isMaskPersonalTarget, k(ft)(t.profit, { isPercentage: t.isPercentage, isFixed: !0 }))), 1)
|
|
21269
21269
|
]),
|
|
21270
21270
|
ce(k(Y3), {
|
|
21271
21271
|
"current-profit": t.currentProfit,
|
|
@@ -21406,7 +21406,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21406
21406
|
kE,
|
|
21407
21407
|
O("div", {
|
|
21408
21408
|
class: ue(["calendar-widget__point__value", p.class ? p.class : ""])
|
|
21409
|
-
}, re(k(
|
|
21409
|
+
}, re(k(Fe)(t.isMask, p.value, { repeat: 5 })), 3)
|
|
21410
21410
|
]))), 256)),
|
|
21411
21411
|
ce(k(e2), {
|
|
21412
21412
|
isHidden: t.isMask,
|
|
@@ -21497,7 +21497,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21497
21497
|
O("div", $E, [
|
|
21498
21498
|
IE,
|
|
21499
21499
|
O("div", NE, [
|
|
21500
|
-
O("div", LE, re(k(
|
|
21500
|
+
O("div", LE, re(k(Fe)(t.isMask, k(ft)(r.value), { repeat: 5 })), 1)
|
|
21501
21501
|
])
|
|
21502
21502
|
]),
|
|
21503
21503
|
O("div", FE, [
|
|
@@ -21506,7 +21506,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21506
21506
|
BE,
|
|
21507
21507
|
O("div", {
|
|
21508
21508
|
class: ue(["commission-widget__point__value", c.class ? c.class : ""])
|
|
21509
|
-
}, re(k(
|
|
21509
|
+
}, re(k(Fe)(t.isMask, c.value, { repeat: 5 })), 3)
|
|
21510
21510
|
]))), 256))
|
|
21511
21511
|
])
|
|
21512
21512
|
])
|
|
@@ -21527,7 +21527,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21527
21527
|
},
|
|
21528
21528
|
emits: ["refresh"],
|
|
21529
21529
|
setup(t, { emit: e }) {
|
|
21530
|
-
const n = K("week"), s = t, i = e, r = (a) =>
|
|
21530
|
+
const n = K("week"), s = t, i = e, r = (a) => Fe(s.isMask, on(a, 2) + "%", { repeat: 3 });
|
|
21531
21531
|
return (a, o) => (T(), E("div", HE, [
|
|
21532
21532
|
O("div", UE, [
|
|
21533
21533
|
O("div", jE, [
|
|
@@ -21596,7 +21596,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21596
21596
|
},
|
|
21597
21597
|
{ title: "Return on winners", value: i.win, class: "-win" },
|
|
21598
21598
|
{ title: "Return on losers", value: i.lose, class: "-loss" }
|
|
21599
|
-
]), a = U(() => i.returnPeriod > 0), o = U(() => i.returnPeriod < 0), l = U(() => i.profitFactor > 1 ? "-positive" : "-negative"), u = U(() => i.profitFactor > 0 ? `Your profit factor is ${
|
|
21599
|
+
]), a = U(() => i.returnPeriod > 0), o = U(() => i.returnPeriod < 0), l = U(() => i.profitFactor > 1 ? "-positive" : "-negative"), u = U(() => i.profitFactor > 0 ? `Your profit factor is ${Fe(i.isMask, on(i.profitFactor), { repeat: 5 })}. <br /> You earn ${Fe(i.isMask, ft(i.profitFactor), { repeat: 5, prefix: "$" })} on every ${Fe(i.isMask, "$1", { repeat: 5, prefix: "$" })} loss.` : `Your profit factor is ${Fe(i.isMask, on(i.profitFactor), { repeat: 5 })}. <br/> You loss ${Fe(i.isMask, ft(Math.abs(i.profitFactor)), { repeat: 5, prefix: "$" })} on every ${Fe(i.isMask, "$1", { repeat: 5, prefix: "$" })} earn. `);
|
|
21600
21600
|
return (c, d) => (T(), E("div", ZE, [
|
|
21601
21601
|
O("div", KE, [
|
|
21602
21602
|
O("div", XE, [
|
|
@@ -21622,7 +21622,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21622
21622
|
O("div", s$, [
|
|
21623
21623
|
O("div", {
|
|
21624
21624
|
class: ue(["return-widget__total-wrapper__value", { "-positive": a.value, "-negative": o.value }])
|
|
21625
|
-
}, re(k(
|
|
21625
|
+
}, re(k(Fe)(t.isMask, k(ft)(t.returnPeriod, { isPlus: !0, isFixed: !0 }), { repeat: 5 })), 3),
|
|
21626
21626
|
i.changeRate ? (T(), he(k(Hf), {
|
|
21627
21627
|
key: 0,
|
|
21628
21628
|
percentage: "",
|
|
@@ -21637,7 +21637,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21637
21637
|
o$,
|
|
21638
21638
|
O("div", {
|
|
21639
21639
|
class: ue(["return-widget__point__value", h.class ? h.class : ""])
|
|
21640
|
-
}, re(k(
|
|
21640
|
+
}, re(k(Fe)(t.isMask, k(ft)(h.value, h.options), { repeat: 5, prefix: "$" })), 3)
|
|
21641
21641
|
]))), 256))
|
|
21642
21642
|
])
|
|
21643
21643
|
])
|
|
@@ -21701,12 +21701,12 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21701
21701
|
O("div", v$, re(k(HV)(a.pair)), 1)
|
|
21702
21702
|
]),
|
|
21703
21703
|
O("div", _$, [
|
|
21704
|
-
O("div", b$, re(k(
|
|
21704
|
+
O("div", b$, re(k(Fe)(t.isMask, k(ft)(a.pnl, { isFixed: !0, isPlus: !0 }, { repeat: 5 }))), 1),
|
|
21705
21705
|
O("div", {
|
|
21706
21706
|
class: ue(["top-positions-widget__return__roi", a.roi < 0 ? "-negative" : "-positive"])
|
|
21707
21707
|
}, [
|
|
21708
21708
|
ce(k(Ke), { icon: "bxs_up-arrow" }),
|
|
21709
|
-
O("span", null, re(k(
|
|
21709
|
+
O("span", null, re(k(Fe)(t.isMask, k(ft)(a.roi, { isPercentage: !0, isFixed: !0 }, { repeat: 2 }))), 1)
|
|
21710
21710
|
], 2)
|
|
21711
21711
|
])
|
|
21712
21712
|
]))), 256))
|
|
@@ -21755,7 +21755,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21755
21755
|
O("div", O$, [
|
|
21756
21756
|
P$,
|
|
21757
21757
|
O("div", C$, [
|
|
21758
|
-
O("div", A$, re(k(
|
|
21758
|
+
O("div", A$, re(k(Fe)(t.isMask, t.totalTrades, { repeat: 5 })), 1)
|
|
21759
21759
|
])
|
|
21760
21760
|
]),
|
|
21761
21761
|
O("div", R$, [
|
|
@@ -21764,7 +21764,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21764
21764
|
I$,
|
|
21765
21765
|
O("div", {
|
|
21766
21766
|
class: ue(["trade-widget__point__value", a.class ? a.class : ""])
|
|
21767
|
-
}, re(k(
|
|
21767
|
+
}, re(k(Fe)(t.isMask, a.value, { repeat: 5 })), 3)
|
|
21768
21768
|
]))), 256))
|
|
21769
21769
|
])
|
|
21770
21770
|
])
|
|
@@ -21802,7 +21802,7 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21802
21802
|
O("div", B$, [
|
|
21803
21803
|
de(s.$slots, "roundSlider", {}, void 0, !0),
|
|
21804
21804
|
O("div", W$, [
|
|
21805
|
-
O("div", z$, re(k(
|
|
21805
|
+
O("div", z$, re(k(Fe)(t.isMask, k(on)(t.winrate, 2))) + "%", 1),
|
|
21806
21806
|
H$
|
|
21807
21807
|
])
|
|
21808
21808
|
])
|
|
@@ -21858,9 +21858,9 @@ const e_ = /* @__PURE__ */ PR("line", Fl), CR = { class: "chart-container" }, t_
|
|
|
21858
21858
|
t.avg && t.max ? (T(), E("div", Q$, eI)) : W("", !0)
|
|
21859
21859
|
]),
|
|
21860
21860
|
O("div", tI, [
|
|
21861
|
-
O("div", nI, re(k(
|
|
21862
|
-
O("div", sI, re(k(
|
|
21863
|
-
O("div", iI, re(k(
|
|
21861
|
+
O("div", nI, re(k(Fe)(t.isMask, t.min, { repeat: 3 })), 1),
|
|
21862
|
+
O("div", sI, re(k(Fe)(t.isMask, k(on)(t.avg))), 1),
|
|
21863
|
+
O("div", iI, re(k(Fe)(t.isMask, k(on)(t.max), { repeat: 3 })), 1)
|
|
21864
21864
|
])
|
|
21865
21865
|
]));
|
|
21866
21866
|
}
|
|
@@ -24787,7 +24787,7 @@ const m3 = { class: "calendar-dropdown" }, p3 = { class: "calendar-dropdown__out
|
|
|
24787
24787
|
O("div", {
|
|
24788
24788
|
class: "progress-badge",
|
|
24789
24789
|
style: Et({ left: r.value })
|
|
24790
|
-
}, re(k(
|
|
24790
|
+
}, re(k(Fe)(t.isHidden, `${n.value}% finished`, { repeat: 6 })), 5),
|
|
24791
24791
|
O("div", R3, [
|
|
24792
24792
|
(T(), E(_e, null, Ae(9, (l) => O("div", E3, [
|
|
24793
24793
|
O("div", {
|
|
@@ -24805,9 +24805,9 @@ const m3 = { class: "calendar-dropdown" }, p3 = { class: "calendar-dropdown__out
|
|
|
24805
24805
|
])), 64))
|
|
24806
24806
|
]),
|
|
24807
24807
|
O("div", $3, [
|
|
24808
|
-
O("div", I3, re(k(
|
|
24809
|
-
O("div", N3, re(k(
|
|
24810
|
-
O("div", L3, re(k(
|
|
24808
|
+
O("div", I3, re(k(Fe)(t.isHidden, `-${k(ft)(t.drawdown, { isPercentage: t.isPercentage, isFixed: !0 })}`, { repeat: 6 })), 1),
|
|
24809
|
+
O("div", N3, re(k(Fe)(t.isHidden, k(ft)(0, { isPercentage: t.isPercentage, isFixed: !0 }), { repeat: 3 })), 1),
|
|
24810
|
+
O("div", L3, re(k(Fe)(t.isHidden, `+${k(ft)(t.profit, { isPercentage: t.isPercentage, isFixed: !0 })}`, { repeat: 6 })), 1)
|
|
24811
24811
|
])
|
|
24812
24812
|
]));
|
|
24813
24813
|
}
|
|
@@ -24829,7 +24829,7 @@ const m3 = { class: "calendar-dropdown" }, p3 = { class: "calendar-dropdown__out
|
|
|
24829
24829
|
icon: "bxs_up-arrow",
|
|
24830
24830
|
class: "widget-chips__icon"
|
|
24831
24831
|
}),
|
|
24832
|
-
O("div", V3, re(k(
|
|
24832
|
+
O("div", V3, re(k(Fe)(t.isHidden, Math.abs(e.delta) + (e.percentage ? "%" : ""))), 1)
|
|
24833
24833
|
], 2));
|
|
24834
24834
|
}
|
|
24835
24835
|
}, Hf = /* @__PURE__ */ ze(B3, [["__scopeId", "data-v-394e7016"]]), ih = Do.create({
|
|
@@ -30109,7 +30109,7 @@ function Zg(t) {
|
|
|
30109
30109
|
let e = t.toString().split(".");
|
|
30110
30110
|
return e[0] = e[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e.join(".");
|
|
30111
30111
|
}
|
|
30112
|
-
function
|
|
30112
|
+
function Fe(t, e, n = {}) {
|
|
30113
30113
|
const { repeat: s = 4, mask: i = "*", prefix: r = "", suffix: a = "" } = n;
|
|
30114
30114
|
let o, l;
|
|
30115
30115
|
return t ? (o = r === "$" ? Du() : r, l = a === "$" ? Du() : a, o + i.repeat(s) + l) : e;
|
|
@@ -30387,7 +30387,7 @@ export {
|
|
|
30387
30387
|
E5 as getTimeColor,
|
|
30388
30388
|
F5 as getYearStructure,
|
|
30389
30389
|
N5 as getYearsBetweenDates,
|
|
30390
|
-
|
|
30390
|
+
Fe as maskData,
|
|
30391
30391
|
Zg as numFormat,
|
|
30392
30392
|
ih as scopeInstance,
|
|
30393
30393
|
L5 as subtractDays,
|