Files
2026-07-28 01:06:53 +03:00

44 lines
2.6 KiB
JavaScript

/* Metro module 3688; source: unknown; dependencies: [] */
function _fun27960(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#27960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3815:6, offset: 0x00f66d8f, size: 374 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = undefined;
object = {lessThanXSeconds: {'one': '不到 1 秒', 'other': '不到 {{count}} 秒'}, xSeconds: {'one': '1 秒',
'other': '{{count}} 秒'}, halfAMinute: '半分钟', lessThanXMinutes: {'one': '不到 1 分钟', 'other': '不到 {{count}} 分钟'},
xMinutes: {'one': '1 分钟', 'other': '{{count}} 分钟'}, xHours: {'one': '1 小时', 'other': '{{count}} 小时'},
aboutXHours: {'one': '大约 1 小时', 'other': '大约 {{count}} 小时'}, xDays: {'one': '1 天', 'other': '{{count}} 天'},
aboutXWeeks: {'one': '大约 1 个星期', 'other': '大约 {{count}} 个星期'}, xWeeks: {'one': '1 个星期',
'other': '{{count}} 个星期'}, aboutXMonths: {'one': '大约 1 个月', 'other': '大约 {{count}} 个月'},
xMonths: {'one': '1 个月', 'other': '{{count}} 个月'}, aboutXYears: {'one': '大约 1 年', 'other': '大约 {{count}} 年'},
xYears: {'one': '1 年', 'other': '{{count}} 年'}, overXYears: {'one': '超过 1 年', 'other': '超过 {{count}} 年'},
almostXYears: {'one': '将近 1 年', 'other': '将近 {{count}} 年'}};
exports.default = formatDistance_27961;
module.exports = exports.default;
function formatDistance_27961(a0, a1, a2) { // fn#27961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3815:1015, offset: 0x00f66f05, size: 159 bytes, params: 4, frame: 17
var r0;
var r3;
var other;
var replace;
var value;
const property = env0_0[a0];
if (typeof property === 'string') {
r3 = property;
} else {
if (a1 === 1) {
r0 = property.one;
} else {
other = property.other;
replace = other.replace;
value = global.String(a1);
value = Reflect.apply(replace, other, ['{{count}}', value]);
r0 = value;
}
r3 = r0;
}
return a2 == null ? r3 : a2.addSuffix ? a2.comparison && a2.comparison > 0 ? r3 + '内' : r3 + '前' : r3;
}
}
global.__d(_fun27960, 3688, []) /* metro module 3688 */;