// Module ID: 9014 // Function ID: 70915 // Name: UserProfileVoiceActivityIcon // Dependencies: [31, 3759, 482, 33, 566, 9015, 4624, 4654, 4655, 4657, 4656, 4659, 2] // Exports: default // Module 9014 (UserProfileVoiceActivityIcon) import "result"; import _isNativeReflectConstruct from "_isNativeReflectConstruct"; import { Permissions } from "sum"; import { jsx } from "jsxProd"; const require = arg1; const result = require("sum").fileFinishedImporting("modules/user_profile/native/UserProfileVoiceActivityIcon.tsx"); export default function UserProfileVoiceActivityIcon(channel) { channel = channel.channel; let obj = Object.create(null); obj.channel = 0; const merged = Object.assign(channel, obj); obj = channel(566); const items = [_isNativeReflectConstruct]; const stateFromStores = obj.useStateFromStores(items, () => { let isPrivateResult = channel.isPrivate(); if (!isPrivateResult) { isPrivateResult = outer1_3.can(outer1_4.CONNECT, channel); } return isPrivateResult; }); if (!channel.isDM()) { if (!channel.isGroupDM()) { const isGuildStageVoiceResult = channel.isGuildStageVoice(); let tmp5 = !stateFromStores; if (!tmp5) { tmp5 = importDefault(4624)(channel); } if (isGuildStageVoiceResult) { if (tmp5) { obj = {}; const merged1 = Object.assign(merged); let tmp8Result = jsx(channel(4654).StageLockIcon, {}); } return tmp8Result; } if (isGuildStageVoiceResult) { const obj1 = {}; const merged2 = Object.assign(merged); tmp8Result = jsx(channel(4655).StageIcon, {}); } else if (channel.isNSFW()) { const obj2 = {}; const merged3 = Object.assign(merged); tmp8Result = tmp8(tmp9(4657).VoiceWarningIcon, obj2); } else { if (tmp5) { let VoiceNormalIcon = tmp9(4656).VoiceLockIcon; } else { VoiceNormalIcon = tmp9(4659).VoiceNormalIcon; } const obj3 = {}; const merged4 = Object.assign(merged); tmp8Result = tmp8(VoiceNormalIcon, obj3); } } } const merged5 = Object.assign(merged); return jsx(channel(9015).PhoneCallIcon, {}); };