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

+36 -31
View File
@@ -1,47 +1,52 @@
/* Metro module 10845; source: modules/video_calls/useDeafStates.tsx; dependencies: [1226, 4259, 4297, 566, 2] */
import AuthenticationStore from '../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
import MediaEngineStore from '../../stores/MediaEngineStore.tsx'; /* Metro dependency 4259 */
import VoiceStateStore from '../../stores/VoiceStateStore.tsx'; /* Metro dependency 4297 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as FluxModule from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
function _fun83124(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83124, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:6, offset: 0x01f0e5c4, size: 163 bytes, params: 8, frame: 20
let env0_0 = require;
const closure = getDeafStates;
const getDeafStates2 = getDeafStates;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const mediaEngineStore = importDefault(4259) /* metro dependency 4259: MediaEngineStore */;
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/useDeafStates.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/video_calls/useDeafStates.tsx');
exports.default = function(a0) {
var env0_0 = a0;
return require(dependencyMap[3]).useStateFromStoresObject([VoiceStateStore, MediaEngineStore,
AuthenticationStore],
_fun83127, [a0]);
};
exports.getDeafStates = closure;
}
exports.getDeafStates = getDeafStates2;
function getDeafStates(a0) { // fn#83125, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:126, offset: 0x01f0e667, size: 139 bytes, params: 2, frame: 18
let value = a1;
const value2 = a2;
const value3 = a3;
const value4 = undefined;
const r7 = value !== value4 ? value : VoiceStateStore;
const r5 = value2 !== value4 ? value2 : MediaEngineStore;
const r8 = value3 !== value4 ? value3 : AuthenticationStore;
value = null;
const r3 = value != a0 ? r7.getVoiceState(a0.getGuildId(), r8.getId()) : value;
const object = {};
object.selfDeaf = r5.isSelfDeaf();
const deaf = value == r3 ? value4 : r3.deaf;
value = value != deaf;
object.deaf = value && deaf;
return object;
}
function getDeafStates(a0) { // fn#83125, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:126, offset: 0x01f0e667, size: 139 bytes, params: 2, frame: 18
let value = a1;
const value2 = a2;
const value3 = a3;
const value4 = undefined;
const r7 = value !== value4 ? value : VoiceStateStore;
const r5 = value2 !== value4 ? value2 : MediaEngineStore;
const r8 = value3 !== value4 ? value3 : AuthenticationStore;
value = null;
const r3 = value != a0 ? r7.getVoiceState(a0.getGuildId(), r8.getId()) : value;
const object2 = {};
object2.selfDeaf = r5.isSelfDeaf();
const deaf = value == r3 ? value4 : r3.deaf;
value = value != deaf;
object2.deaf = value && deaf;
return object2;
}
function useDeafStates(a0) { // fn#83126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:380, offset: 0x01f0e6f2, size: 92 bytes, params: 2, frame: 17
const env0_0 = a0;
return (FluxModule).useStateFromStoresObject([VoiceStateStore, MediaEngineStore,
AuthenticationStore], _fun83127, [a0]);
function _fun83127() { // fn#83127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:455, offset: 0x01f0e74e, size: 34 bytes, params: 1, frame: 17
return getDeafStates(env0_0, VoiceStateStore, MediaEngineStore, AuthenticationStore);
}
function useDeafStates(a0) { // fn#83126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:380, offset: 0x01f0e6f2, size: 92 bytes, params: 2, frame: 17
const env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([VoiceStateStore, MediaEngineStore,
AuthenticationStore], _fun83127, [a0]);
}
}
function _fun83127() { // fn#83127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11031:455, offset: 0x01f0e74e, size: 34 bytes, params: 1, frame: 17
return getDeafStates(env0_0, VoiceStateStore, MediaEngineStore, AuthenticationStore);
}
global.__d(_fun83124, 10845, [1226, 4259, 4297, 566,
2]) /* metro module 10845, dependencies: [1226, 4259, 4297, 566, 2] */;