/* Metro module 15175; source: utils/SecondsSliderUtils.tsx; dependencies: [1244, 3738, 2] */ import Module03738 from '../by-id/module-03738.js'; /* Metro dependency 3738 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as IndexNativeModule from '../intl/index.native.tsx'; /* Metro dependency 1244 */ function _fun115945(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#115945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15372:6, offset: 0x0247560f, size: 103 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('utils/SecondsSliderUtils.tsx'); exports.getSecondsSliderLabel = getSecondsSliderLabel; function getSecondsSliderLabel(a0) { // fn#115946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15372:178, offset: 0x02475676, size: 596 bytes, params: 2, frame: 20 var r4; const intl = (IndexNativeModule).intl; const t = (IndexNativeModule).t; var formatToPlainString; var object; const value = a1; const value2 = a2; let r2 = !(value !== undefined) || value; let r0 = value2 !== undefined ? value2 : intl.string(t.Yl1D84); const value3 = (Module03738).duration(a0, 'seconds'); if (value3.days() > 0) { formatToPlainString = intl.formatToPlainString; r2 = r2 ? t.GBLpQ8 : t['k2UNz+']; object = {}; object.days = value3.days(); r0 = Reflect.apply(formatToPlainString, intl, [r2, object]); } else if (value3.hours() > 0) { formatToPlainString = intl.formatToPlainString; r4 = r2 ? t.rhY1Rs : t.xCjYxK; object = {}; object.hours = value3.hours(); r0 = Reflect.apply(formatToPlainString, intl, [r4, object]); } else if (value3.minutes() > 0) { formatToPlainString = intl.formatToPlainString; r4 = r2 ? t['XIGt+W'] : t.iXLF9W; object = {}; object.minutes = value3.minutes(); r0 = Reflect.apply(formatToPlainString, intl, [r4, object]); } else if (a0 > 0) { formatToPlainString = intl.formatToPlainString; r4 = r2 ? t.pyvjRp : t.geSp4K; object = {}; object.seconds = value3.seconds(); r0 = Reflect.apply(formatToPlainString, intl, [r4, object]); } else { r0 = r2 ? intl.string(t.Yl1D84) : r0; } return r0; } } global.__d(_fun115945, 15175, [1244, 3738, 2]) /* metro module 15175, dependencies: [1244, 3738, 2] */;