2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 16396
|
|
|
|
|
// Function ID: 16397
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: VoicePanel
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [19, 1391, 4616, 21, 589, 16397, 16438, 4010, 4108, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 16396 (VoicePanel)
|
|
|
|
|
import isIterable from "isIterable" /* 4010 */;
|
|
|
|
|
import ManaContext from "ManaContext" /* 4108 */;
|
|
|
|
|
import VoicePanelControllerDefault from "VoicePanelController" /* 16397 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import importAllResult from "noop" /* 19 */;
|
|
|
|
|
import closure_4 from "ensureGuildLoaded" /* 1391 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import closure_5 from "withEqualityFn" /* 4616 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
function VoicePanel(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = arg0;
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = _require(589);
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_4];
|
2026-07-20 16:05:17 +00:00
|
|
|
const stateFromStores = obj.useStateFromStores(items, () => {
|
2026-08-24 06:08:38 +00:00
|
|
|
const channel = closure_1_4.getChannel(channelId.channelId);
|
2026-07-20 16:05:17 +00:00
|
|
|
let guild_id;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (channel != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
guild_id = channel.guild_id;
|
|
|
|
|
}
|
|
|
|
|
return guild_id;
|
|
|
|
|
});
|
|
|
|
|
obj = {};
|
|
|
|
|
const merged = Object.assign(arg0);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj.guildId = stateFromStores;
|
|
|
|
|
obj.children = importAllResult.useMemo(() => callback2(callback(table[6]), {}), []);
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(VoicePanelControllerDefault, {});
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
function getChannelKey(arg0) {
|
|
|
|
|
return arg0;
|
|
|
|
|
}
|
|
|
|
|
function renderVoicePanel(arg0, channelId, transitionState, transitionCleanUp) {
|
|
|
|
|
return <VoicePanel key={arg1} channelId={arg1} transitionState={arg2} transitionCleanUp={arg3} />;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
let c3 = importAllResult;
|
2026-07-20 16:05:17 +00:00
|
|
|
const memoResult = importAllResult.memo(function VoicePanelContainer() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp = callback((channels) => Array.from(channels.channels), isIterable.shallow);
|
|
|
|
|
return jsx(ManaContext.TransitionGroup, { items: callback((channels) => Array.from(channels.channels), isIterable.shallow), getItemKey: getChannelKey, renderItem: renderVoicePanel });
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/voice_panel/native/VoicePanelContainer.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default memoResult;
|