/* Metro module 16268; source: modules/headless_tasks/android/GenerateInvite.tsx; dependencies: [27, 16260, 8879, 7147, 2] */ function _fun125736(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16476:6, offset: 0x025e2300, size: 88 bytes, params: 8, frame: 13 const env0_2 = (require(27) /* metro dependency 27 */).NativeModules; module.exports = function({channelId}) { var Promise = global.Promise; var value = Object.create(Promise.prototype, {constructor: {value: Promise}}); var value2 = new Promise(_fun125738); return value2 instanceof Object ? value2 : value; }; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/headless_tasks/android/GenerateInvite.tsx'); } function exports_125737({channelId}) { // fn#125737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16476:81, offset: 0x025e2358, size: 51 bytes, params: 2, frame: 11 const Promise = global.Promise; const value = Object.create(Promise.prototype, {constructor: {value: Promise}}); const promise = new Promise(_fun125738); return promise instanceof Object ? promise : value; } function _fun125738(a0) { // fn#125738, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16476:111, offset: 0x025e238b, size: 54 bytes, params: 2, frame: 12 var environment; const env0_0 = a0; const value = environment.__proto__; (importDefault(16260) /* metro dependency 16260: HeadlessTaskUtils */).awaitStorage(_fun125739); } function _fun125739() { // fn#125739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16476:137, offset: 0x025e23c1, size: 74 bytes, params: 1, frame: 16 var environment; let value = environment.__proto__.__proto__; value = Reflect.apply((importDefault(8879) /* metro dependency 8879: InstantInviteActionCreators */).createInvite, value, [channelId, {}, 'Mobile Voice Overlay']); value.then(_fun125740); } function _fun125740({code}) { // fn#125740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16476:198, offset: 0x025e240b, size: 77 bytes, params: 2, frame: 13 let value = environment.__proto__.__proto__.__proto__; const RNCClipboard = NativeModules.RNCClipboard; RNCClipboard.setString((importDefault(7147) /* metro dependency 7147: getInviteURL */)(code)); value = environment.__proto__; env1_0(true); }