Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,243 @@
|
||||
/* Metro module 4797; source: actions/SelectedChannelActionCreatorsAdditional.native.tsx; dependencies: [1379, 1867, 4798, 3784, 1934, 1878, 4297, 4799, 4800, 4807, 3856, 4808, 4809, 4080, 6272, 1962, 12366, 491, 694, 2] */
|
||||
function _fun41547(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#41547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4975:6, offset: 0x01120d53, size: 234 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const guildVerificationStore = importDefault(4798) /* metro dependency 4798: GuildVerificationStore */;
|
||||
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
|
||||
const selectedChannelStore = importDefault(1934) /* metro dependency 1934: SelectedChannelStore */;
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
|
||||
const env0_10 = (require(4799) /* metro dependency 4799: StageChannelsConstants */).STAGE_BOOSTING_SHEET_KEY;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/SelectedChannelActionCreatorsAdditional.native.tsx');
|
||||
exports.selectVoiceChannelAdditional = selectVoiceChannelAdditional;
|
||||
}
|
||||
|
||||
function selectVoiceChannelAdditional(a0, a1) { // fn#41548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4975:325, offset: 0x01120e3d, size: 512 bytes, params: 3, frame: 23
|
||||
var isChannelFull2;
|
||||
var value6;
|
||||
var moduleValue2;
|
||||
var value7;
|
||||
var moduleValue3;
|
||||
var defaultImport2;
|
||||
const value = a2;
|
||||
const value2 = a3;
|
||||
const value3 = a4;
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const r4 = value !== undefined ? value : false;
|
||||
const r3 = value2 !== undefined ? value2 : false;
|
||||
const r0 = value3 !== undefined ? value3 : {};
|
||||
if (r0.lockVoiceStateForResume !== undefined) {
|
||||
}
|
||||
if (r0.bypassIdleUpdate !== undefined) {
|
||||
}
|
||||
const channel = ChannelStore.getChannel(a0);
|
||||
const currentUser = UserStore.getCurrentUser();
|
||||
if (currentUser == null) {
|
||||
return undefined;
|
||||
}
|
||||
if (channel == null) {
|
||||
if (channel == null) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
isChannelFull2 = require(dependencyMap[8]).isChannelFull(channel, VoiceStateStore, GuildStore);
|
||||
value6 = GuildVerificationStore.getCheck(channel.guild_id);
|
||||
} else {
|
||||
if (channel.nsfw) {
|
||||
if (currentUser.nsfwAllowed) {
|
||||
if (channel == null) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
isChannelFull2 = require(dependencyMap[8]).isChannelFull(channel, VoiceStateStore, GuildStore);
|
||||
value6 = GuildVerificationStore.getCheck(channel.guild_id);
|
||||
if (value6.canChat) {
|
||||
value7 = importDefault(dependencyMap[11])(channel, PermissionStore);
|
||||
if (isChannelFull2) {
|
||||
if (channel.isGuildStageVoice()) {
|
||||
moduleValue3 = require(dependencyMap[12]);
|
||||
if (moduleValue3.getStageHasMedia(channel.id)) {
|
||||
defaultImport2 = importDefault(dependencyMap[13]);
|
||||
defaultImport2.openLazy(require(dependencyMap[15])(dependencyMap[14],
|
||||
dependencyMap.paths),
|
||||
STAGE_BOOSTING_SHEET_KEY, {channel: channel});
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
moduleValue2 = require(dependencyMap[9]);
|
||||
if (moduleValue2.canLurkerListen(channel)) {
|
||||
value7 = importDefault(dependencyMap[11])(channel, PermissionStore);
|
||||
if (isChannelFull2) {
|
||||
if (channel.isGuildStageVoice()) {
|
||||
moduleValue3 = require(dependencyMap[12]);
|
||||
if (moduleValue3.getStageHasMedia(channel.id)) {
|
||||
defaultImport2 = importDefault(dependencyMap[13]);
|
||||
defaultImport2.openLazy(require(dependencyMap[15])(dependencyMap[14],
|
||||
dependencyMap.paths),
|
||||
STAGE_BOOSTING_SHEET_KEY, {channel: channel});
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
return require(dependencyMap[10]).unverifiedVoiceGate(value6);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (channel == null) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
isChannelFull2 = require(dependencyMap[8]).isChannelFull(channel, VoiceStateStore, GuildStore);
|
||||
value6 = GuildVerificationStore.getCheck(channel.guild_id);
|
||||
}
|
||||
if (value6.canChat) {
|
||||
value7 = importDefault(dependencyMap[11])(channel, PermissionStore);
|
||||
if (isChannelFull2) {
|
||||
if (channel.isGuildStageVoice()) {
|
||||
moduleValue3 = require(dependencyMap[12]);
|
||||
if (moduleValue3.getStageHasMedia(channel.id)) {
|
||||
defaultImport2 = importDefault(dependencyMap[13]);
|
||||
defaultImport2.openLazy(require(dependencyMap[15])(dependencyMap[14], dependencyMap.paths),
|
||||
STAGE_BOOSTING_SHEET_KEY, {channel: channel});
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
moduleValue2 = require(dependencyMap[9]);
|
||||
if (moduleValue2.canLurkerListen(channel)) {
|
||||
value7 = importDefault(dependencyMap[11])(channel, PermissionStore);
|
||||
if (isChannelFull2) {
|
||||
if (channel.isGuildStageVoice()) {
|
||||
moduleValue3 = require(dependencyMap[12]);
|
||||
if (moduleValue3.getStageHasMedia(channel.id)) {
|
||||
defaultImport2 = importDefault(dependencyMap[13]);
|
||||
defaultImport2.openLazy(require(dependencyMap[15])(dependencyMap[14], dependencyMap.paths),
|
||||
STAGE_BOOSTING_SHEET_KEY, {channel: channel});
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
if (isChannelFull2) {
|
||||
return undefined;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(dependencyMap[16])(_fun41549, a0, r3, r4);
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
return require(dependencyMap[10]).unverifiedVoiceGate(value6);
|
||||
}
|
||||
|
||||
function _fun41549() { // fn#41549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4975:854, offset: 0x0112103d, size: 152 bytes, params: 1, frame: 16
|
||||
const value2 = (require(491) /* metro dependency 491 */).v4();
|
||||
const defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */;
|
||||
const dispatch = defaultImport.dispatch;
|
||||
const object2 = {type: 'VOICE_CHANNEL_SELECT'};
|
||||
object2.guildId = require;
|
||||
object2.channelId = env0_0;
|
||||
object2.currentVoiceChannelId = SelectedChannelStore.getVoiceChannelId();
|
||||
object2.video = env0_2;
|
||||
object2.stream = env0_3;
|
||||
object2.lockVoiceStateForResume = lockVoiceStateForResume;
|
||||
object2.joinVoiceId = value2;
|
||||
object2.bypassIdleUpdate = bypassIdleUpdate;
|
||||
Reflect.apply(dispatch, defaultImport, [object2]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user