44 lines
2.5 KiB
JavaScript
44 lines
2.5 KiB
JavaScript
/* Metro module 3312; source: unknown; dependencies: [] */
|
|
function _fun26003(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3439:6, offset: 0x00f356d1, 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: '30초', lessThanXMinutes: {'one': '1분 미만', 'other': '{{count}}분 미만'},
|
|
xMinutes: {'one': '1분', 'other': '{{count}}분'}, aboutXHours: {'one': '약 1시간', 'other': '약 {{count}}시간'},
|
|
xHours: {'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_26004;
|
|
module.exports = exports.default;
|
|
function formatDistance_26004(a0, a1, a2) { // fn#26004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3439:921, offset: 0x00f35847, size: 153 bytes, params: 4, frame: 16
|
|
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 = a1.toString();
|
|
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(_fun26003, 3312, []) /* metro module 3312 */;
|