27 lines
836 B
TypeScript
27 lines
836 B
TypeScript
// Metro module 15643 (f15644).
|
|
import { intl, t } from "../intl/index.native";
|
|
import Module3771 from "../_bundle/Module3771";
|
|
export function getSecondsSliderLabel(a0, r5 = true, r3 = intl.string(t.Yl1D84)) {
|
|
const r25 = Module3771.duration(a0, "seconds");
|
|
if (r25.days() > 0) {
|
|
r3 = intl.formatToPlainString(r5 ? t.GBLpQ8 : t["k2UNz+"], {
|
|
days: r25.days()
|
|
});
|
|
} else if (r25.hours() > 0) {
|
|
r3 = intl.formatToPlainString(r5 ? t.rhY1Rs : t.xCjYxK, {
|
|
hours: r25.hours()
|
|
});
|
|
} else if (r25.minutes() > 0) {
|
|
r3 = intl.formatToPlainString(r5 ? t["XIGt+W"] : t.iXLF9W, {
|
|
minutes: r25.minutes()
|
|
});
|
|
} else if (a0 > 0) {
|
|
r3 = intl.formatToPlainString(r5 ? t.pyvjRp : t.geSp4K, {
|
|
seconds: r25.seconds()
|
|
});
|
|
} else if (r5) {
|
|
r3 = intl.string(t.Yl1D84);
|
|
}
|
|
return r3;
|
|
}
|