Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
// Module ID: 17917
|
|
// Function ID: 17918
|
|
// Name: VoicePanelManager
|
|
// Dependencies: [4659, 4844, 7221, 2]
|
|
|
|
// Module 17917 (VoicePanelManager)
|
|
import RTCConnectionStore from "RTCConnectionStore" /* 4659 */;
|
|
import VoicePanelStore from "VoicePanelStore" /* 4844 */;
|
|
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7221 */;
|
|
|
|
const prototype = function VoicePanelManager() {
|
|
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
applyArgumentsResult.actions = {
|
|
VOICE_CHANNEL_SELECT() {
|
|
const channelId = RTCConnectionStore.getChannelId();
|
|
if (null != channelId) {
|
|
const state = VoicePanelStore.getState();
|
|
const channels = state.channels;
|
|
if (!channels.has(channelId)) {
|
|
state.openChannel(channelId);
|
|
}
|
|
}
|
|
},
|
|
RTC_CONNECTION_STATE() {
|
|
const channelId = RTCConnectionStore.getChannelId();
|
|
if (null != channelId) {
|
|
const state = VoicePanelStore.getState();
|
|
const channels = state.channels;
|
|
if (!channels.has(channelId)) {
|
|
state.openChannel(channelId);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
return applyArgumentsResult;
|
|
}.prototype;
|
|
class prototype extends tmp2 {
|
|
}
|
|
const prototype1 = new prototype();
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/voice_panel/VoicePanelManager.native.tsx");
|
|
|
|
export default prototype1;
|