scope360-core 0.0.169 → 0.0.170
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
CHANGED
|
@@ -29864,13 +29864,17 @@ function b5(t) {
|
|
|
29864
29864
|
function Gg(t) {
|
|
29865
29865
|
return Oe.fromISO(t, { setZone: !0 }).toFormat("cccc");
|
|
29866
29866
|
}
|
|
29867
|
+
function w5(t) {
|
|
29868
|
+
const e = new Date(t), s = /* @__PURE__ */ new Date() - e;
|
|
29869
|
+
return Math.floor(s / (1e3 * 3600 * 24));
|
|
29870
|
+
}
|
|
29867
29871
|
const Gn = (t, e = { isPercentage: !1, isFixed: !0, isPlus: !1 }) => {
|
|
29868
29872
|
let n;
|
|
29869
29873
|
t >= 0 ? n = e.isPlus && t !== 0 ? "+" : "" : n = "-";
|
|
29870
29874
|
let s = Math.abs(t);
|
|
29871
29875
|
return e.isFixed && (s = nn(s)), e.isPercentage ? `${n}${s}%` : `${n}$${s}`;
|
|
29872
29876
|
};
|
|
29873
|
-
function
|
|
29877
|
+
function k5(t, e) {
|
|
29874
29878
|
const n = +new Date(e) - +new Date(t), s = Math.floor(n / (1e3 * 60 * 60 * 24)), i = Math.floor(
|
|
29875
29879
|
n % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)
|
|
29876
29880
|
), r = Math.floor(n % (1e3 * 60 * 60) / (1e3 * 60)), a = Math.floor(n % (1e3 * 60) / 1e3);
|
|
@@ -29972,11 +29976,12 @@ export {
|
|
|
29972
29976
|
Nf as WidgetChips,
|
|
29973
29977
|
m5 as WinrateWidget,
|
|
29974
29978
|
NV as addSlashToPair,
|
|
29975
|
-
|
|
29979
|
+
k5 as calculateTimeDifference,
|
|
29976
29980
|
p5 as firebaseConfig,
|
|
29977
29981
|
IV as formatDate,
|
|
29978
29982
|
b5 as getDate,
|
|
29979
29983
|
Gg as getDay,
|
|
29984
|
+
w5 as getDaysDifference,
|
|
29980
29985
|
y5 as getFullYear,
|
|
29981
29986
|
v5 as getMonth,
|
|
29982
29987
|
qg as numFormat,
|