Files
discord-decomp/sources/by-id/module-03372.js
T
2026-07-28 01:06:53 +03:00

46 lines
2.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Metro module 3372; source: unknown; dependencies: [] */
function _fun26158(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26158, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3499:6, offset: 0x00f3e8c1, size: 374 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = undefined;
object = {lessThanXSeconds: {'one': 'bir saniyeden az', 'other': '{{count}} saniyeden az'},
xSeconds: {'one': '1 saniye', 'other': '{{count}} saniye'}, halfAMinute: 'yarım dakika',
lessThanXMinutes: {'one': 'bir dakikadan az', 'other': '{{count}} dakikadan az'}, xMinutes: {'one': '1 dakika',
'other': '{{count}} dakika'}, aboutXHours: {'one': 'yaklaşık 1 saat', 'other': 'yaklaşık {{count}} saat'},
xHours: {'one': '1 saat', 'other': '{{count}} saat'}, xDays: {'one': '1 gün', 'other': '{{count}} gün'},
aboutXWeeks: {'one': 'yaklaşık 1 hafta', 'other': 'yaklaşık {{count}} hafta'}, xWeeks: {'one': '1 hafta',
'other': '{{count}} hafta'}, aboutXMonths: {'one': 'yaklaşık 1 ay', 'other': 'yaklaşık {{count}} ay'},
xMonths: {'one': '1 ay', 'other': '{{count}} ay'}, aboutXYears: {'one': 'yaklaşık 1 yıl',
'other': 'yaklaşık {{count}} yıl'}, xYears: {'one': '1 yıl', 'other': '{{count}} yıl'},
overXYears: {'one': '1 yıldan fazla', 'other': '{{count}} yıldan fazla'},
almostXYears: {'one': 'neredeyse 1 yıl', 'other': 'neredeyse {{count}} yıl'}};
exports.default = formatDistance_26159;
module.exports = exports.default;
function formatDistance_26159(a0, a1, a2) { // fn#26159, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3499:1043, offset: 0x00f3ea37, 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 + ' sonra' : r3 + ' önce' : r3;
}
}
global.__d(_fun26158, 3372, []) /* metro module 3372 */;