2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 9602
|
|
|
|
|
// Function ID: 9603
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: ChannelMuteUtils
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [4421, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: getMuteSettings
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 9602 (ChannelMuteUtils)
|
|
|
|
|
import _modDef4421 from "module_4421" /* 4421 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
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) {
|
2026-09-28 16:18:32 +00:00
|
|
|
const obj2 = _modDef4421();
|
|
|
|
|
toISOStringResult = _modDef4421().add(selected_time_window, "second").toISOString();
|
|
|
|
|
const addResult = _modDef4421().add(selected_time_window, "second");
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
mute_config.end_time = toISOStringResult;
|
|
|
|
|
return { muted: true, mute_config };
|
|
|
|
|
};
|