decord/alpha/source/modules/calls/native/VideoBackgroundManager.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

31 lines
1.3 KiB
TypeScript

// Module ID: 7878
// Function ID: 7879
// Name: VideoBackgroundManager
// Dependencies: [2098, 6725, 2]
// Module 7878 (VideoBackgroundManager)
import SelectedChannelStore from "SelectedChannelStore" /* 2098 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 6725 */;
const prototype = function VideoBackgroundManager() {
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
SelectedChannelStore = applyArgumentsResult;
applyArgumentsResult.previousSelectedVoiceChannelId = SelectedChannelStore.getVoiceChannelId();
applyArgumentsResult.cachedDominantColors = {};
applyArgumentsResult._handleSelectVoiceChannel = function _handleSelectVoiceChannel(channelId) {
channelId = channelId.channelId;
if (applyArgumentsResult.previousSelectedVoiceChannelId !== channelId) {
tmp.cachedDominantColors = {};
}
applyArgumentsResult.previousSelectedVoiceChannelId = channelId;
};
applyArgumentsResult.actions = { VOICE_CHANNEL_SELECT: applyArgumentsResult._handleSelectVoiceChannel };
return applyArgumentsResult;
}.prototype;
class prototype extends tmp2 {
}
const prototype1 = new prototype();
const size = fn(2);
const result = size.fileFinishedImporting("modules/calls/native/VideoBackgroundManager.tsx");
export default prototype1;