decord/source/3296_formatDistance.js
2026-07-21 06:55:02 +00:00

31 lines
3 KiB
JavaScript

// Module ID: 3296
// Function ID: 26045
// Name: formatDistance
// Dependencies: []
// Exports: default
// Module 3296 (formatDistance)
let closure_0 = { lessThanXSeconds: {}, xSeconds: { -9223372036854775808: null, 0: null }, halfAMinute: "een halve minuut", lessThanXMinutes: {}, xMinutes: { -9223372036854775808: false, 0: false }, aboutXHours: { -9223372036854775808: 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036812013290234, 0: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006615877793855701 }, xHours: { -9223372036854775808: "r", 0: "isArray" }, xDays: { -9223372036854775808: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003681137669150922, 0: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006058760413063375 }, aboutXWeeks: { -9223372036854775808: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000193810910649414, 0: "u" }, xWeeks: { -9223372036854775808: "u", 0: "CONTENT_INVENTORY_TOGGLE_FEED_HIDDEN" }, aboutXMonths: { -9223372036854775808: "<string:1732378626>", 0: "<string:2751463703>" }, xMonths: {}, aboutXYears: { -9223372036854775808: null, 0: null }, xYears: { -9223372036854775808: null, 0: null }, overXYears: { -9223372036854775808: null, 0: null }, almostXYears: { -9223372036854775808: null, 0: null } };
export default function formatDistance(arg0, arg1, addSuffix) {
if ("string" === typeof closure_0[arg0]) {
let tmp5 = tmp;
if (null != addSuffix) {
tmp5 = tmp;
if (addSuffix.addSuffix) {
if (!addSuffix.comparison) {
let text = `${tmp} geleden`;
}
text = `over ${tmp}`;
}
}
return tmp5;
} else if (1 === arg1) {
let one = tmp.one;
} else {
const _String = String;
one = tmp.other.replace("{{count}}", String(arg1));
const str = tmp.other;
}
};
export default exports.default;