Files
2026-07-28 01:06:53 +03:00

60 lines
3.5 KiB
TypeScript

/* Metro module 15576; source: modules/app_startup/native/executeRunnable.tsx; dependencies: [5, 15577, 3, 12524, 660, 25, 14, 20, 566, 2] */
import Logger from '../../debug/Logger.tsx'; /* Metro dependency 3 */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as RequestGatewaySocketModule from '../../gateway/RequestGatewaySocket.tsx'; /* Metro dependency 660 */
import * as PauseGatewaySocketModule from '../../gateway/PauseGatewaySocket.tsx'; /* Metro dependency 12524 */
import * as NativeAppStartupModule from './NativeAppStartup.tsx'; /* Metro dependency 15577 */
function _fun119327(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15773:6, offset: 0x02506583, size: 157 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/app_startup/native/executeRunnable.tsx');
exports.default = executeRunnable;
function executeRunnable(a0, a1) { // fn#119328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15773:236, offset: 0x02506620, size: 199 bytes, params: 3, frame: 20
const env0_0 = a0;
const env0_1 = a1;
const defaultImport = Logger;
const value2 = Object.create(defaultImport.prototype, {constructor: {value: defaultImport}});
const defaultImport2 = new defaultImport(a0);
(defaultImport2 instanceof Object ? defaultImport2 : value2).log('Loading the ' + a0 + ' Discord runnable');
(PauseGatewaySocketModule).setIsPaused(false);
return RequestGatewaySocketModule.withRequest('executeRunnable:' + a0, Module00005(_fun119330));
function* _fun119330() { // fn#119330, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15773:400, offset: 0x025066f2, size: 250 bytes, params: 1, frame: 21
var environment;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
let binding = env2_0;
const binding2 = env2_3;
binding(binding2[5]).identifyWebSocket();
const init = env2_1(binding2[6]).init;
yield init.measureAsync(env2_5);
if (false) {
return undefined;
}
yield env2_6.promise;
if (false) {
return undefined;
}
binding = env2_2;
const binding3 = env2_3;
const value8 = binding(binding3[4]);
value8.startBridgeTo('AppContainer:' + require.toLowerCase());
return env2_1(binding3[7]).time('🏃', 'Run', _fun119331);
function _fun119331() { // fn#119331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15773:582, offset: 0x025067ec, size: 51 bytes, params: 1, frame: 11
const Emitter = env3_1(env3_3[8]).Emitter;
return Emitter.batched(importDefault);
}
}
}
}
global.__d(_fun119327, 15576, [5, 15577, 3, 12524, 660, 25, 14, 20, 566,
2]) /* metro module 15576, dependencies: [5, 15577, 3, 12524, 660, 25, 14, 20, 566, 2] */;