/* Metro module 16259; source: modules/headless_tasks/android/Disconnect.tsx; dependencies: [1379, 16260, 9228, 2] */ function _fun125698(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16467:6, offset: 0x025e15f1, size: 86 bytes, params: 8, frame: 14 const env0_0 = require; const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; module.exports = function({channelId}) { var Promise = global.Promise; var value = Object.create(Promise.prototype, {constructor: {value: Promise}}); var value2 = new Promise(_fun125700); return value2 instanceof Object ? value2 : value; }; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/headless_tasks/android/Disconnect.tsx'); } function exports_125699({channelId}) { // fn#125699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16467:67, offset: 0x025e1647, size: 51 bytes, params: 2, frame: 11 const Promise = global.Promise; const value = Object.create(Promise.prototype, {constructor: {value: Promise}}); const promise = new Promise(_fun125700); return promise instanceof Object ? promise : value; } function _fun125700(a0) { // fn#125700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16467:97, offset: 0x025e167a, size: 54 bytes, params: 2, frame: 12 var environment; const env0_0 = a0; const value = environment.__proto__; (importDefault(16260) /* metro dependency 16260: HeadlessTaskUtils */).awaitStorage(_fun125701); } function _fun125701() { // fn#125701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16467:123, offset: 0x025e16b0, size: 81 bytes, params: 1, frame: 12 const value = environment.__proto__.__proto__; const channel = ChannelStore.getChannel(channelId); if (channel != null) { (require(9228) /* metro dependency 9228: CallsUtils */).handleDisconnect(channel); } env0_0(true); }