decord/source/modules/channel/ChannelMuteUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

23 lines
805 B
TypeScript

// Module ID: 8988
// Function ID: 8989
// Name: getMuteSettings
// Dependencies: [4074, 2]
// Exports: getMuteSettings
// Module 8988 (getMuteSettings)
import set from "set" /* 2 */;
import hooksDefault from "hooks" /* 4074 */;
const result = set.fileFinishedImporting("modules/channel/ChannelMuteUtils.tsx");
export const getMuteSettings = function getMuteSettings(selected_time_window) {
const mute_config = { selected_time_window, end_time: null };
let toISOStringResult = null;
if (selected_time_window > 0) {
const obj2 = hooksDefault();
toISOStringResult = hooksDefault().add(selected_time_window, "second").toISOString();
const addResult = hooksDefault().add(selected_time_window, "second");
}
mute_config[1] = toISOStringResult;
return { muted: true, mute_config };
};