decord/source/modules/channel/ChannelMuteUtils.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

23 lines
805 B
TypeScript

// Module ID: 9063
// Function ID: 9064
// Name: getMuteSettings
// Dependencies: [4153, 2]
// Exports: getMuteSettings
// Module 9063 (getMuteSettings)
import set from "set" /* 2 */;
import hooksDefault from "hooks" /* 4153 */;
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 };
};