// Module ID: 3405 // Function ID: 3406 // Name: formatDistance // Dependencies: [] // Exports: default // Module 3405 (formatDistance) let closure_0 = { lessThanXSeconds: { one: "1\u79D2\u672A\u6E80", other: "{{count}}\u79D2\u672A\u6E80", oneWithSuffix: "\u7D041\u79D2", otherWithSuffix: "\u7D04{{count}}\u79D2" }, xSeconds: { one: "1\u79D2", other: "{{count}}\u79D2" }, halfAMinute: "30\u79D2", lessThanXMinutes: { one: "1\u5206\u672A\u6E80", other: "{{count}}\u5206\u672A\u6E80", oneWithSuffix: "\u7D041\u5206", otherWithSuffix: "\u7D04{{count}}\u5206" }, xMinutes: { one: "1\u5206", other: "{{count}}\u5206" }, aboutXHours: { one: "\u7D041\u6642\u9593", other: "\u7D04{{count}}\u6642\u9593" }, xHours: { one: "1\u6642\u9593", other: "{{count}}\u6642\u9593" }, xDays: { one: "1\u65E5", other: "{{count}}\u65E5" }, aboutXWeeks: { one: "\u7D041\u9031\u9593", other: "\u7D04{{count}}\u9031\u9593" }, xWeeks: { one: "1\u9031\u9593", other: "{{count}}\u9031\u9593" }, aboutXMonths: { one: "\u7D041\u304B\u6708", other: "\u7D04{{count}}\u304B\u6708" }, xMonths: { one: "1\u304B\u6708", other: "{{count}}\u304B\u6708" }, aboutXYears: { one: "\u7D041\u5E74", other: "\u7D04{{count}}\u5E74" }, xYears: { one: "1\u5E74", other: "{{count}}\u5E74" }, overXYears: { one: "1\u5E74\u4EE5\u4E0A", other: "{{count}}\u5E74\u4EE5\u4E0A" }, almostXYears: { one: "1\u5E74\u8FD1\u304F", other: "{{count}}\u5E74\u8FD1\u304F" } }; export default function formatDistance(arg0, arg1, arg2) { let obj = arg2; if (!arg2) { obj = {}; } if (typeof table[arg0] === "string") { if (!obj.addSuffix) { return tmp2; } else { if (!obj.comparison) { let text = `${tmp}前`; } text = `${tmp}後`; } } else { if (1 !== arg1) { if (obj.addSuffix) { if (tmp.otherWithSuffix) { const _String2 = String; let replaced = tmp.otherWithSuffix.replace("{{count}}", String(arg1)); const str3 = tmp.otherWithSuffix; } } const _String = String; replaced = tmp.other.replace("{{count}}", String(arg1)); const str = tmp.other; } if (!obj.addSuffix) { const one = tmp.one; } const oneWithSuffix = tmp.oneWithSuffix; } }; export default exports.default;