This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,54 +1,62 @@
/* Metro module 8102; source: modules/activities/utils/isVoiceEmbeddedActivity.tsx; dependencies: [1226, 1379, 1934, 4297, 677, 2] */
import AuthenticationStore from '../../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
import ChannelStore from '../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import SelectedChannelStore from '../../../stores/SelectedChannelStore.tsx'; /* Metro dependency 1934 */
import VoiceStateStore from '../../../stores/VoiceStateStore.tsx'; /* Metro dependency 4297 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun64960(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#64960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8287:6, offset: 0x01bbac36, size: 160 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const selectedChannelStore = importDefault(1934) /* metro dependency 1934: SelectedChannelStore */;
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/utils/isVoiceEmbeddedActivity.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/activities/utils/isVoiceEmbeddedActivity.tsx');
exports.default = isVoiceEmbeddedActivity;
}
function isVoiceEmbeddedActivity(a0) { // fn#64961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8287:232, offset: 0x01bbacd6, size: 196 bytes, params: 2, frame: 18
var r2;
var r0;
var value6;
var isPrivate2;
var value8;
let value = a1;
const value2 = a2;
let r3 = value !== undefined ? value : ChannelStore;
let r1 = value2 !== undefined ? value2 : SelectedChannelStore;
value = r3.getChannel(a0);
const voiceChannelId = r1.getVoiceChannelId();
const value4 = value != null;
if (value4) {
value6 = value.type === (require(677) /* metro dependency 677: ChannelTypes */).ChannelTypes.GUILD_VOICE;
if (value6) {
r1 = value6;
} else {
isPrivate2 = value.isPrivate();
if (isPrivate2) {
value8 = value.id === voiceChannelId;
if (value8) {
r3 = value8;
} else {
value = VoiceStateStore.getVoiceStatesForChannel(value.id);
value = value[AuthenticationStore.getId()] != null;
r3 = value;
}
r2 = r3;
function isVoiceEmbeddedActivity(a0) { // fn#64961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8287:232, offset: 0x01bbacd6, size: 196 bytes, params: 2, frame: 18
var r2;
var r0;
var value6;
var isPrivate2;
var value8;
var voiceStateStoreBinding;
var authenticationStoreBinding;
let value = a1;
const value2 = a2;
let r3 = value !== undefined ? value : ChannelStore;
let r1 = value2 !== undefined ? value2 : SelectedChannelStore;
value = r3.getChannel(a0);
const voiceChannelId = r1.getVoiceChannelId();
const value4 = value != null;
if (value4) {
value6 = value.type === (require(677) /* metro dependency 677: ChannelTypes */).ChannelTypes.GUILD_VOICE;
if (value6) {
r1 = value6;
} else {
r2 = !!isPrivate2;
isPrivate2 = value.isPrivate();
if (isPrivate2) {
value8 = value.id === voiceChannelId;
if (value8) {
r3 = value8;
} else {
voiceStateStoreBinding = VoiceStateStore;
value = voiceStateStoreBinding.getVoiceStatesForChannel(value.id);
authenticationStoreBinding = AuthenticationStore;
value = value[authenticationStoreBinding.getId()] != null;
r3 = value;
}
r2 = r3;
} else {
r2 = !!isPrivate2;
}
r1 = r2;
}
r1 = r2;
r0 = r1;
} else {
r0 = value4;
}
r0 = r1;
} else {
r0 = value4;
return r0;
}
return r0;
}
global.__d(_fun64960, 8102, [1226, 1379, 1934, 4297, 677,
2]) /* metro module 8102, dependencies: [1226, 1379, 1934, 4297, 677, 2] */;