decord/beta/source/modules/channel/ChannelMuteUtils.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

23 lines
825 B
TypeScript

// Module ID: 10438
// Function ID: 10439
// Name: ChannelMuteUtils
// Dependencies: [4380, 2]
// Exports: getMuteSettings
// Module 10438 (ChannelMuteUtils)
import _modDef4380 from "module_4380" /* 4380 */;
import size from "module_2" /* 2 */;
const result = size.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 = _modDef4380();
toISOStringResult = _modDef4380().add(selected_time_window, "second").toISOString();
const addResult = _modDef4380().add(selected_time_window, "second");
}
mute_config.end_time = toISOStringResult;
return { muted: true, mute_config };
};