29 lines
2.0 KiB
TypeScript
29 lines
2.0 KiB
TypeScript
/* Metro module 12408; source: modules/media_engine/dispatchAutoDisableVideo.tsx; dependencies: [4291, 694, 2] */
|
|
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../external/discord_common/js/packages/media-engine/Constants.tsx'; /* Metro dependency 4291 */
|
|
|
|
function _fun94673(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12594:6, offset: 0x021233cc, size: 120 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/media_engine/dispatchAutoDisableVideo.tsx');
|
|
exports.default = dispatchAutoDisableVideo;
|
|
function dispatchAutoDisableVideo(a0, a1) { // fn#94674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12594:223, offset: 0x02123444, size: 61 bytes, params: 3, frame: 12
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
(Dispatcher).wait(_fun94675);
|
|
function _fun94675() { // fn#94675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12594:276, offset: 0x02123481, size: 90 bytes, params: 1, frame: 14
|
|
const defaultImport = Dispatcher;
|
|
const dispatch = defaultImport.dispatch;
|
|
const DEFAULT = MediaEngineContextTypes.DEFAULT;
|
|
Reflect.apply(dispatch, defaultImport, [{'type': 'AUDIO_SET_LOCAL_VIDEO_DISABLED', 'context': null, 'userId': null,
|
|
'videoToggleState': null, 'persist': false, 'isAutomatic': true, context: DEFAULT, userId: env0_0,
|
|
videoToggleState: require}]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun94673, 12408, [4291, 694, 2]) /* metro module 12408, dependencies: [4291, 694, 2] */;
|