67 lines
4.3 KiB
JavaScript
67 lines
4.3 KiB
JavaScript
/* Metro module 3256; source: unknown; dependencies: [] */
|
|
function _fun25858(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#25858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3383:6, offset: 0x00f2d376, size: 772 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = undefined;
|
|
object = {};
|
|
object.lessThanXSeconds = {standalone: {'one': 'weniger als 1 Sekunde', 'other': 'weniger als {{count}} Sekunden'},
|
|
withPreposition: {'one': 'weniger als 1 Sekunde', 'other': 'weniger als {{count}} Sekunden'}};
|
|
object.xSeconds = {standalone: {'one': '1 Sekunde', 'other': '{{count}} Sekunden'},
|
|
withPreposition: {'one': '1 Sekunde', 'other': '{{count}} Sekunden'}};
|
|
object.halfAMinute = {'standalone': 'halbe Minute', 'withPreposition': 'halben Minute'};
|
|
object.lessThanXMinutes = {standalone: {'one': 'weniger als 1 Minute', 'other': 'weniger als {{count}} Minuten'},
|
|
withPreposition: {'one': 'weniger als 1 Minute', 'other': 'weniger als {{count}} Minuten'}};
|
|
object.xMinutes = {standalone: {'one': '1 Minute', 'other': '{{count}} Minuten'},
|
|
withPreposition: {'one': '1 Minute', 'other': '{{count}} Minuten'}};
|
|
object.aboutXHours = {standalone: {'one': 'etwa 1 Stunde', 'other': 'etwa {{count}} Stunden'},
|
|
withPreposition: {'one': 'etwa 1 Stunde', 'other': 'etwa {{count}} Stunden'}};
|
|
object.xHours = {standalone: {'one': '1 Stunde', 'other': '{{count}} Stunden'}, withPreposition: {'one': '1 Stunde',
|
|
'other': '{{count}} Stunden'}};
|
|
object.xDays = {standalone: {'one': '1 Tag', 'other': '{{count}} Tage'}, withPreposition: {'one': '1 Tag',
|
|
'other': '{{count}} Tagen'}};
|
|
object.aboutXWeeks = {standalone: {'one': 'etwa 1 Woche', 'other': 'etwa {{count}} Wochen'},
|
|
withPreposition: {'one': 'etwa 1 Woche', 'other': 'etwa {{count}} Wochen'}};
|
|
object.xWeeks = {standalone: {'one': '1 Woche', 'other': '{{count}} Wochen'}, withPreposition: {'one': '1 Woche',
|
|
'other': '{{count}} Wochen'}};
|
|
object.aboutXMonths = {standalone: {'one': 'etwa 1 Monat', 'other': 'etwa {{count}} Monate'},
|
|
withPreposition: {'one': 'etwa 1 Monat', 'other': 'etwa {{count}} Monaten'}};
|
|
object.xMonths = {standalone: {'one': '1 Monat', 'other': '{{count}} Monate'}, withPreposition: {'one': '1 Monat',
|
|
'other': '{{count}} Monaten'}};
|
|
object.aboutXYears = {standalone: {'one': 'etwa 1 Jahr', 'other': 'etwa {{count}} Jahre'},
|
|
withPreposition: {'one': 'etwa 1 Jahr', 'other': 'etwa {{count}} Jahren'}};
|
|
object.xYears = {standalone: {'one': '1 Jahr', 'other': '{{count}} Jahre'}, withPreposition: {'one': '1 Jahr',
|
|
'other': '{{count}} Jahren'}};
|
|
object.overXYears = {standalone: {'one': 'mehr als 1 Jahr', 'other': 'mehr als {{count}} Jahre'},
|
|
withPreposition: {'one': 'mehr als 1 Jahr', 'other': 'mehr als {{count}} Jahren'}};
|
|
object.almostXYears = {standalone: {'one': 'fast 1 Jahr', 'other': 'fast {{count}} Jahre'},
|
|
withPreposition: {'one': 'fast 1 Jahr', 'other': 'fast {{count}} Jahren'}};
|
|
exports.default = formatDistance_25859;
|
|
module.exports = exports.default;
|
|
function formatDistance_25859(a0, a1, a2) { // fn#25859, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3383:2263, offset: 0x00f2d67a, size: 197 bytes, params: 4, frame: 18
|
|
var r0;
|
|
var r3;
|
|
var value;
|
|
var other;
|
|
var replace;
|
|
const r4 = a2 == null ? env0_0[a0].standalone : a2.addSuffix ? env0_0[a0].withPreposition : env0_0[a0].standalone;
|
|
if (typeof r4 === 'string') {
|
|
r3 = r4;
|
|
} else {
|
|
if (a1 === 1) {
|
|
r0 = r4.one;
|
|
} else {
|
|
other = r4.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 ? 'in ' + r3 : 'vor ' + r3 : r3;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun25858, 3256, []) /* metro module 3256 */;
|