/* Metro module 7860; source: modules/activities/EmbeddedActivitiesActionCreators.tsx; dependencies: [5, 7861, 4234, 4606, 8043, 4235, 1226, 1379, 1867, 3784, 1878, 4297, 1378, 4237, 8044, 661, 4238, 1376, 4118, 8045, 7142, 8064, 8100, 8101, 10647, 694, 10656, 8104, 4132, 8059, 7504, 8448, 10657, 1909, 10658, 10646, 8050, 683, 9473, 9467, 8108, 4647, 1244, 8102, 10653, 480, 5046, 3774, 4610, 7712, 507, 1360, 8879, 7067, 4603, 7076, 1367, 1365, 2] */ import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */ import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */ import AuthenticationStore from '../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */ import EmbeddedActivitiesStore from './EmbeddedActivitiesStore.tsx'; /* Metro dependency 1378 */ import ChannelStore from '../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */ import GuildStore from '../../stores/GuildStore.tsx'; /* Metro dependency 1867 */ import UserStore from '../../stores/UserStore.tsx'; /* Metro dependency 1878 */ import PermissionStore from '../../stores/PermissionStore.tsx'; /* Metro dependency 3784 */ import ApplicationStore from '../applications/ApplicationStore.tsx'; /* Metro dependency 4234 */ import ApplicationRecord from '../../records/ApplicationRecord.tsx'; /* Metro dependency 4235 */ import VoiceStateStore from '../../stores/VoiceStateStore.tsx'; /* Metro dependency 4297 */ import ChannelRTCStore from '../calls/ChannelRTCStore.tsx'; /* Metro dependency 4606 */ import PopoutWindowStoreNative from '../popout-window/PopoutWindowStore.native.tsx'; /* Metro dependency 8043 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */ import * as Dismissible_contentModule from '../../external/discord_common/js/packages/protos/discord_protos/discord_users/v1/dismissible_content.tsx'; /* Metro dependency 1365 */ import * as DismissibleContentConstantsModule from '../dismissible_content/DismissibleContentConstants.tsx'; /* Metro dependency 1376 */ import * as EmbeddedActivityLocationUtilsModule from './utils/embeddedActivityLocationUtils.tsx'; /* Metro dependency 3774 */ import * as ConstantsModule2 from '../instant_invite/Constants.tsx'; /* Metro dependency 4118 */ import * as ConstantsModule3 from './Constants.tsx'; /* Metro dependency 4237 */ import * as ApplicationConstantsModule from '../applications/ApplicationConstants.tsx'; /* Metro dependency 4238 */ import * as ApplicationCommandIndexStoreModule from '../application_commands/ApplicationCommandIndexStore.tsx'; /* Metro dependency 7861 */ import * as ActivityPanelConstantsModule from './panel/ActivityPanelConstants.tsx'; /* Metro dependency 8044 */ function _fun62734(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62734, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:6, offset: 0x01b650b0, size: 1028 bytes, params: 8, frame: 31 const env0_0 = require; const stopEmbeddedActivity2 = stopEmbeddedActivity; const updateActivityPanelMode2 = updateActivityPanelMode; const closure3 = function() { return _createProxyTicket.apply(this, arguments); }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {NO_PRIMARY_APP_COMMAND: 1}; object[1] = 'NO_PRIMARY_APP_COMMAND'; object.UNAUTHORIZED = 2; object[2] = 'UNAUTHORIZED'; object.NO_CHANNEL = 3; object[3] = 'NO_CHANNEL'; object.FAILED_ACTIVITY_LAUNCH_CHECKS = 4; object[4] = 'FAILED_ACTIVITY_LAUNCH_CHECKS'; object = {OTHER: 0}; object[0] = 'OTHER'; object.NO_APPLICATION_ID = 1; object[1] = 'NO_APPLICATION_ID'; object.UNKNOWN_USER_OR_APPLICATION = 2; object[2] = 'UNKNOWN_USER_OR_APPLICATION'; object.INVALID_CHANNEL = 3; object[3] = 'INVALID_CHANNEL'; object.LAUNCHABILITY_CHECK_FAILED_OTHER = 4; object[4] = 'LAUNCHABILITY_CHECK_FAILED_OTHER'; object.NO_USE_EMBEDDED_ACTIVITIES_PERMISSION = 5; object[5] = 'NO_USE_EMBEDDED_ACTIVITIES_PERMISSION'; object.ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS = 6; object[6] = 'ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS'; object.FAILED_ACTIVITY_LAUNCH_CHECKS = 7; object[7] = 'FAILED_ACTIVITY_LAUNCH_CHECKS'; object.NOT_CONNECTED_TO_VOICE_CHANNEL = 8; object[8] = 'NOT_CONNECTED_TO_VOICE_CHANNEL'; object.AIT_NOT_ENABLED_FOR_USER = 9; object[9] = 'AIT_NOT_ENABLED_FOR_USER'; const handleFetchDone = function(a0, a1, {guildId}) { if (guildId === a0 || guildId == null && a0 == null) { a1(); } }; (FileImportTrackerModule).fileFinishedImporting('modules/activities/EmbeddedActivitiesActionCreators.tsx'); exports.maybeDisconnectFromCurrentActivity = function(a0) { var value2 = EmbeddedActivitiesStore.getSelfEmbeddedActivityForLocation(a0); if (value2 != null) { stopEmbeddedActivity({location: value2.location, applicationId: value2.applicationId, showFeedback: false}); } }; exports.runPrimaryAppCommandOrJoinEmbeddedActivity = function() { return _runPrimaryAppCommandOrJoinEmbeddedActivity.apply(this, arguments); }; exports.stopEmbeddedActivity = stopEmbeddedActivity2; exports.requestRespondToSeriousThermalState = requestRespondToSeriousThermalState; exports.consumeRequestToReactToSeriousThermalState = consumeRequestToReactToSeriousThermalState; exports.disregardSeriousThermalState = disregardSeriousThermalState; exports.fetchDeveloperApplications = function() { return _fetchDeveloperApplications.apply(this, arguments); }; exports.uploadImageAttachment = function() { return _uploadImageAttachment.apply(this, arguments); }; exports.fetchShelf = function() { return _fetchShelf.apply(this, arguments); }; exports.sendEmbeddedActivityInvite = function() { return _sendEmbeddedActivityInvite.apply(this, arguments); }; exports.sendEmbeddedActivityInviteUser = function() { return _sendEmbeddedActivityInviteUser.apply(this, arguments); }; exports.dismissNewActivityIndicator = dismissNewActivityIndicator; exports.validateTestMode = function() { return _validateTestMode.apply(this, arguments); }; exports.updateActivityPanelMode = updateActivityPanelMode2; exports.updateFocusedActivityLayout = updateFocusedActivityLayout; exports.openActivityPopoutWindow = openActivityPopoutWindow; exports.updateActivityPopoutWindowLayout = updateActivityPopoutWindowLayout; exports.createProxyTicket = closure3; exports.refreshProxyTicket = function() { return _refreshProxyTicket.apply(this, arguments); }; function _runPrimaryAppCommandOrJoinEmbeddedActivity() { // fn#62735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:584, offset: 0x01b654b4, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62737).apply(this, arguments); async function _fun62737(a0) { // fn#62737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:693, offset: 0x01b654f6, size: 2096 bytes, params: 2, frame: 46 var environment; var r18; var r3; var r32; var r33; var r35; var r34; var r31; var id; var type; var r29; var r16; var r21; var r19; var r17; var r2; var r12; var r10; var r6; var value; var value2; var channelId; var applicationId; var isStart; var analyticsLocations; var locationObject; var embeddedActivitiesManager; var componentId; var commandOrigin; var sectionName; var source; var onExecutedCallback; var referrerId; var customId; var inviterUserId; var onConfirmActivityLaunchChecksAlertOpen; var value3; var value4; var value5; var binding; var getChannel; var value6; var value7; var getGuildId; var value8; var isPrivate; var isPrivate2; var getApplication; var value9; var value10; var value11; var canLaunchFrame; var canLaunchFrame2; var value12; var createNonce; var nonce; var getWindowOpen; var binding2; var ACTIVITY_POPOUT; var binding3; var property; var value13; var leaveCurrentFrame; var value14; var tryLaunchAsFrame; var object; var value15; var binding4; var value16; var dispatch; var value17; var object2; var value18; var value19; var value20; var value21; var binding5; var value22; var value23; var getCurrentUser; var value24; var value25; var binding6; var value26; var JOIN; var LAUNCH; var value27; var value28; var value29; var items2; var closure; var value30; var value31; var value32; var value33; var result; var value34; var binding7; var value35; var value36; var Reasons; var LEGACY_LAUNCH_CLIENT_VALIDATION_FAILED; var reason; var prototype; var value38; var value39; var value40; var value41; var GUILD_VOICE; var value42; var value43; var binding8; var value44; var hasApplicationFlag; var binding9; var EMBEDDED; var hasApplicationFlag2; var value45; var isActivityInTextSupportedForChannel; var isActivityInTextSupportedForChannel2; var value46; var value47; var value48; var value49; var binding10; var value50; var value51; var FAILED_ACTIVITY_LAUNCH_CHECKS; var value52; var binding11; var value53; var value54; var PRIMARY_APP_COMMAND_NOT_FOUND; var value56; var value57; var binding12; var value58; var value59; var binding13; var value60; var value61; var INVALID_CHANNEL; var value63; var value64; var binding14; var value65; var stashPendingFrameLaunch; var value66; var value67; var value68; var binding15; var value69; var EmbeddedActivityLocationKind; var PRIVATE_CHANNEL; var binding16; var value70; var GUILD_CHANNEL; var error; var value71; var value72; exceptionSkip355: while (true) { exceptionLanding355: while (true) { value = undefined; value2 = false; if (value2) { return value; } channelId = a0.channelId; applicationId = a0.applicationId; isStart = a0.isStart; analyticsLocations = a0.analyticsLocations; locationObject = a0.locationObject; embeddedActivitiesManager = a0.embeddedActivitiesManager; componentId = a0.componentId; commandOrigin = a0.commandOrigin; sectionName = a0.sectionName; source = a0.source; onExecutedCallback = a0.onExecutedCallback; referrerId = a0.referrerId; customId = a0.customId; inviterUserId = a0.inviterUserId; onConfirmActivityLaunchChecksAlertOpen = a0.onConfirmActivityLaunchChecksAlertOpen; value = undefined; await value; value3 = undefined; value4 = false; if (value4) { return value3; } value5 = environment.__proto__.__proto__; binding = env2_10; getChannel = binding.getChannel; value6 = Reflect.apply(getChannel, binding, [channelId]); value7 = null; if (value7 == value6) { r18 = value; } else { getGuildId = value6.getGuildId; value8 = Reflect.apply(getGuildId, value6, []); r18 = value8; } r3 = value7 != r18 ? r18 : value; if (value7 != r3) { binding = env2_5; getApplication = binding.getApplication; value9 = Reflect.apply(getApplication, binding, [applicationId]); value10 = value7 != value9; if (value10) { value11 = env2_0(env2_2[19]); canLaunchFrame = value11.canLaunchFrame; canLaunchFrame2 = Reflect.apply(canLaunchFrame, value11, [value9]); r33 = canLaunchFrame2; } else { r33 = value10; } binding = env2_0; value12 = binding(env2_2[20]); createNonce = value12.createNonce; nonce = Reflect.apply(createNonce, value12, []); try { binding = env2_7; } catch (error) { break exceptionLanding355; } try { getWindowOpen = binding.getWindowOpen; } catch (error) { break exceptionLanding355; } try { binding2 = env2_23; } catch (error) { break exceptionLanding355; } try { ACTIVITY_POPOUT = binding2.ACTIVITY_POPOUT; } catch (error) { break exceptionLanding355; } try { Reflect.apply(getWindowOpen, binding, [ACTIVITY_POPOUT]); } catch (error) { break exceptionLanding355; } try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding3 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding3[21]; } catch (error) { break exceptionLanding355; } try { value13 = binding(property); } catch (error) { break exceptionLanding355; } try { leaveCurrentFrame = value13.leaveCurrentFrame; } catch (error) { break exceptionLanding355; } try { Reflect.apply(leaveCurrentFrame, value13, []); } catch (error) { break exceptionLanding355; } try { property = binding3[22]; } catch (error) { break exceptionLanding355; } try { value14 = binding(property); } catch (error) { break exceptionLanding355; } try { tryLaunchAsFrame = value14.tryLaunchAsFrame; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value15 = Reflect.apply(tryLaunchAsFrame, value14, [object]); } catch (error) { break exceptionLanding355; } if (value15) { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding14 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding14[23]; } catch (error) { break exceptionLanding355; } try { value65 = binding(property); } catch (error) { break exceptionLanding355; } try { stashPendingFrameLaunch = value65.stashPendingFrameLaunch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.isStart = isStart; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { value66 = value7 != channelId; } catch (error) { break exceptionLanding355; } r17 = value66 ? channelId : value7; try { object.channelId = r17; } catch (error) { break exceptionLanding355; } try { value67 = value7 != r3; } catch (error) { break exceptionLanding355; } r17 = value67 ? r3 : value7; try { object.guildId = r17; } catch (error) { break exceptionLanding355; } try { value68 = value7 != r3; } catch (error) { break exceptionLanding355; } if (value68) { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding16 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding16[24]; } catch (error) { break exceptionLanding355; } try { value70 = binding(property); } catch (error) { break exceptionLanding355; } try { EmbeddedActivityLocationKind = value70.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding355; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding355; } r17 = GUILD_CHANNEL; } else { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding15 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding15[24]; } catch (error) { break exceptionLanding355; } try { value69 = binding(property); } catch (error) { break exceptionLanding355; } try { EmbeddedActivityLocationKind = value69.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding355; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding355; } r17 = PRIVATE_CHANNEL; } try { object.locationKind = r17; } catch (error) { break exceptionLanding355; } try { Reflect.apply(stashPendingFrameLaunch, value65, [applicationId, object]); } catch (error) { break exceptionLanding355; } return true; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding4 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding4[25]; } catch (error) { break exceptionLanding355; } try { value16 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value16.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_START'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value17 = value7 != channelId; } catch (error) { break exceptionLanding355; } r35 = value17 ? channelId : value7; try { object.channelId = r35; } catch (error) { break exceptionLanding355; } try { object.componentId = componentId; } catch (error) { break exceptionLanding355; } try { object.analyticsLocations = analyticsLocations; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.commandOrigin = commandOrigin; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { object2 = {}; } catch (error) { break exceptionLanding355; } try { object2.customId = customId; } catch (error) { break exceptionLanding355; } try { object2.referrerId = referrerId; } catch (error) { break exceptionLanding355; } try { object.launchParams = object2; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value16, [object]); } catch (error) { break exceptionLanding355; } try { binding = env2_41; } catch (error) { break exceptionLanding355; } try { value18 = value7 != channelId; } catch (error) { break exceptionLanding355; } r34 = value18 ? channelId : value; try { value19 = binding(applicationId, r34); } catch (error) { break exceptionLanding355; } await value19; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding355; } if (value21) { return value20; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding5 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding5[25]; } catch (error) { break exceptionLanding355; } try { value22 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value22.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SET_PROXY_TICKET'; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value23 = value7 != channelId; } catch (error) { break exceptionLanding355; } r34 = value23 ? channelId : value7; try { object.channelId = r34; } catch (error) { break exceptionLanding355; } try { object.proxyTicket = value20; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value22, [object]); } catch (error) { break exceptionLanding355; } try { binding = env2_13; } catch (error) { break exceptionLanding355; } try { getCurrentUser = binding.getCurrentUser; } catch (error) { break exceptionLanding355; } try { value24 = Reflect.apply(getCurrentUser, binding, []); } catch (error) { break exceptionLanding355; } try { value25 = value7 == value24; } catch (error) { break exceptionLanding355; } if (!value25) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding6 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding6[26]; } catch (error) { break exceptionLanding355; } try { value26 = binding(property); } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { binding = env2_19; } catch (error) { break exceptionLanding355; } if (isStart) { try { LAUNCH = binding.LAUNCH; } catch (error) { break exceptionLanding355; } r31 = LAUNCH; } else { try { JOIN = binding.JOIN; } catch (error) { break exceptionLanding355; } r31 = JOIN; } try { object.type = r31; } catch (error) { break exceptionLanding355; } try { value27 = value7 == value24; } catch (error) { break exceptionLanding355; } if (value27) { id = value; continue; } try { id = value24.id; } catch (error) { break exceptionLanding355; } try { object.userId = id; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { value28 = value7 == value6; } catch (error) { break exceptionLanding355; } if (value28) { type = value; continue; } try { type = value6.type; } catch (error) { break exceptionLanding355; } try { object.channelType = type; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.locationObject = locationObject; } catch (error) { break exceptionLanding355; } try { value29 = value7 != analyticsLocations; } catch (error) { break exceptionLanding355; } if (value29) { r29 = analyticsLocations; } else { try { items2 = []; } catch (error) { break exceptionLanding355; } r29 = items2; } try { object.analyticsLocations = r29; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.referrerId = referrerId; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { value26(object); } catch (error) { break exceptionLanding355; } } if (isStart) { try { value40 = value7 == channelId; } catch (error) { break exceptionLanding355; } if (value40) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding13 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value60 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value61 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value61.Reasons; } catch (error) { break exceptionLanding355; } try { INVALID_CHANNEL = Reasons.INVALID_CHANNEL; } catch (error) { break exceptionLanding355; } try { prototype = value60.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value63 = new value60(); } catch (error) { break exceptionLanding355; } try { value64 = value63 instanceof Object ? value63 : undefined; } catch (error) { break exceptionLanding355; } try { throw value64; } catch (error) { break exceptionLanding355; } } else { try { value41 = value7 == value6; } catch (error) { break exceptionLanding355; } if (value41) { type = value; } else { try { type = value6.type; } catch (error) { break exceptionLanding355; } } try { binding = env2_21; } catch (error) { break exceptionLanding355; } try { GUILD_VOICE = binding.GUILD_VOICE; } catch (error) { break exceptionLanding355; } value42 = type === GUILD_VOICE; try { binding = env2_5; } catch (error) { break exceptionLanding355; } try { getApplication = binding.getApplication; } catch (error) { break exceptionLanding355; } try { value43 = Reflect.apply(getApplication, binding, [applicationId]); } catch (error) { break exceptionLanding355; } try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding8 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding8[30]; } catch (error) { break exceptionLanding355; } try { value44 = binding(property); } catch (error) { break exceptionLanding355; } try { hasApplicationFlag = value44.hasApplicationFlag; } catch (error) { break exceptionLanding355; } try { binding9 = env2_20; } catch (error) { break exceptionLanding355; } try { EMBEDDED = binding9.EMBEDDED; } catch (error) { break exceptionLanding355; } try { hasApplicationFlag2 = Reflect.apply(hasApplicationFlag, value44, [value43, EMBEDDED]); } catch (error) { break exceptionLanding355; } try { property = binding8[31]; } catch (error) { break exceptionLanding355; } try { value45 = binding(property); } catch (error) { break exceptionLanding355; } try { isActivityInTextSupportedForChannel = value45.isActivityInTextSupportedForChannel; } catch (error) { break exceptionLanding355; } try { isActivityInTextSupportedForChannel2 = Reflect.apply(isActivityInTextSupportedForChannel, value45, [value6]); } catch (error) { break exceptionLanding355; } r16 = value42 && hasApplicationFlag2; if (!r16) { r16 = isActivityInTextSupportedForChannel2; } if (r16) { try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { object.commandOrigin = commandOrigin; } catch (error) { break exceptionLanding355; } try { object.sectionName = sectionName; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.onExecutedCallback = onExecutedCallback; } catch (error) { break exceptionLanding355; } try { object.onConfirmActivityLaunchChecksAlertOpen = onConfirmActivityLaunchChecksAlertOpen; } catch (error) { break exceptionLanding355; } try { object.embeddedActivitiesManager = embeddedActivitiesManager; } catch (error) { break exceptionLanding355; } try { closure = maybeSendPrimaryAppCommand; } catch (error) { break exceptionLanding355; } try { value46 = closure(object); } catch (error) { break exceptionLanding355; } await value46; try { value47 = undefined; value48 = false; } catch (error) { break exceptionLanding355; } if (value48) { return value47; } try { result = value47.result; } catch (error) { break exceptionLanding355; } try { value49 = result === 'failure'; } catch (error) { break exceptionLanding355; } if (!value49) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding10 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding10[25]; } catch (error) { break exceptionLanding355; } try { value50 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value50.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SUCCESS'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value51 = value7 != channelId; } catch (error) { break exceptionLanding355; } r21 = value51 ? channelId : value7; try { object.channelId = r21; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value50, [object]); } catch (error) { break exceptionLanding355; } return true; } try { reason = value47.reason; } catch (error) { break exceptionLanding355; } try { binding = env2_27; } catch (error) { break exceptionLanding355; } try { FAILED_ACTIVITY_LAUNCH_CHECKS = binding.FAILED_ACTIVITY_LAUNCH_CHECKS; } catch (error) { break exceptionLanding355; } try { value52 = reason === FAILED_ACTIVITY_LAUNCH_CHECKS; } catch (error) { break exceptionLanding355; } if (value52) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding12 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding12[25]; } catch (error) { break exceptionLanding355; } try { value58 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value58.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_CANCEL'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value59 = value7 != channelId; } catch (error) { break exceptionLanding355; } r19 = value59 ? channelId : value7; try { object.channelId = r19; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value58, [object]); } catch (error) { break exceptionLanding355; } return false; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding11 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding11[27]; } catch (error) { break exceptionLanding355; } try { value53 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding11[27]; } catch (error) { break exceptionLanding355; } try { value54 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value54.Reasons; } catch (error) { break exceptionLanding355; } try { PRIMARY_APP_COMMAND_NOT_FOUND = Reasons.PRIMARY_APP_COMMAND_NOT_FOUND; } catch (error) { break exceptionLanding355; } try { prototype = value53.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value56 = new value53(); } catch (error) { break exceptionLanding355; } try { value57 = value56 instanceof Object ? value56 : undefined; } catch (error) { break exceptionLanding355; } try { throw value57; } catch (error) { break exceptionLanding355; } } else { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding13 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value60 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value61 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value61.Reasons; } catch (error) { break exceptionLanding355; } try { INVALID_CHANNEL = Reasons.INVALID_CHANNEL; } catch (error) { break exceptionLanding355; } try { prototype = value60.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value63 = new value60(); } catch (error) { break exceptionLanding355; } try { value64 = value63 instanceof Object ? value63 : undefined; } catch (error) { break exceptionLanding355; } try { throw value64; } catch (error) { break exceptionLanding355; } } } } else { try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { object.embeddedActivitiesManager = embeddedActivitiesManager; } catch (error) { break exceptionLanding355; } try { object.isStart = isStart; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { closure = joinEmbeddedActivity; } catch (error) { break exceptionLanding355; } try { value30 = closure(object); } catch (error) { break exceptionLanding355; } await value30; try { value31 = undefined; value32 = false; } catch (error) { break exceptionLanding355; } if (value32) { return value31; } try { value33 = value7 == onExecutedCallback; } catch (error) { break exceptionLanding355; } if (!value33) { try { onExecutedCallback(); } catch (error) { break exceptionLanding355; } } try { result = value31.result; } catch (error) { break exceptionLanding355; } try { value34 = result !== 'failure'; } catch (error) { break exceptionLanding355; } if (value34) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding10 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding10[25]; } catch (error) { break exceptionLanding355; } try { value50 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value50.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SUCCESS'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value51 = value7 != channelId; } catch (error) { break exceptionLanding355; } r21 = value51 ? channelId : value7; try { object.channelId = r21; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value50, [object]); } catch (error) { break exceptionLanding355; } return true; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding7 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding7[27]; } catch (error) { break exceptionLanding355; } try { value35 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding7[27]; } catch (error) { break exceptionLanding355; } try { value36 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value36.Reasons; } catch (error) { break exceptionLanding355; } try { LEGACY_LAUNCH_CLIENT_VALIDATION_FAILED = Reasons.LEGACY_LAUNCH_CLIENT_VALIDATION_FAILED; } catch (error) { break exceptionLanding355; } try { reason = value31.reason; } catch (error) { break exceptionLanding355; } try { prototype = value35.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value38 = new value35(); } catch (error) { break exceptionLanding355; } try { value39 = value38 instanceof Object ? value38 : undefined; } catch (error) { break exceptionLanding355; } try { throw value39; } catch (error) { break exceptionLanding355; } } } else { if (value7 == value6) { r32 = value; } else { isPrivate = value6.isPrivate; isPrivate2 = Reflect.apply(isPrivate, value6, []); r32 = isPrivate2; } if (value7 == r32) { return false; } if (!r32) { return false; } binding = env2_5; getApplication = binding.getApplication; value9 = Reflect.apply(getApplication, binding, [applicationId]); value10 = value7 != value9; if (value10) { value11 = env2_0(env2_2[19]); canLaunchFrame = value11.canLaunchFrame; canLaunchFrame2 = Reflect.apply(canLaunchFrame, value11, [value9]); r33 = canLaunchFrame2; } else { r33 = value10; } binding = env2_0; value12 = binding(env2_2[20]); createNonce = value12.createNonce; nonce = Reflect.apply(createNonce, value12, []); try { binding = env2_7; } catch (error) { break exceptionLanding355; } try { getWindowOpen = binding.getWindowOpen; } catch (error) { break exceptionLanding355; } try { binding2 = env2_23; } catch (error) { break exceptionLanding355; } try { ACTIVITY_POPOUT = binding2.ACTIVITY_POPOUT; } catch (error) { break exceptionLanding355; } try { Reflect.apply(getWindowOpen, binding, [ACTIVITY_POPOUT]); } catch (error) { break exceptionLanding355; } try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding3 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding3[21]; } catch (error) { break exceptionLanding355; } try { value13 = binding(property); } catch (error) { break exceptionLanding355; } try { leaveCurrentFrame = value13.leaveCurrentFrame; } catch (error) { break exceptionLanding355; } try { Reflect.apply(leaveCurrentFrame, value13, []); } catch (error) { break exceptionLanding355; } try { property = binding3[22]; } catch (error) { break exceptionLanding355; } try { value14 = binding(property); } catch (error) { break exceptionLanding355; } try { tryLaunchAsFrame = value14.tryLaunchAsFrame; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value15 = Reflect.apply(tryLaunchAsFrame, value14, [object]); } catch (error) { break exceptionLanding355; } if (value15) { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding14 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding14[23]; } catch (error) { break exceptionLanding355; } try { value65 = binding(property); } catch (error) { break exceptionLanding355; } try { stashPendingFrameLaunch = value65.stashPendingFrameLaunch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.isStart = isStart; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { value66 = value7 != channelId; } catch (error) { break exceptionLanding355; } r17 = value66 ? channelId : value7; try { object.channelId = r17; } catch (error) { break exceptionLanding355; } try { value67 = value7 != r3; } catch (error) { break exceptionLanding355; } r17 = value67 ? r3 : value7; try { object.guildId = r17; } catch (error) { break exceptionLanding355; } try { value68 = value7 != r3; } catch (error) { break exceptionLanding355; } if (value68) { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding16 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding16[24]; } catch (error) { break exceptionLanding355; } try { value70 = binding(property); } catch (error) { break exceptionLanding355; } try { EmbeddedActivityLocationKind = value70.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding355; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding355; } r17 = GUILD_CHANNEL; } else { try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding15 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding15[24]; } catch (error) { break exceptionLanding355; } try { value69 = binding(property); } catch (error) { break exceptionLanding355; } try { EmbeddedActivityLocationKind = value69.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding355; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding355; } r17 = PRIVATE_CHANNEL; } try { object.locationKind = r17; } catch (error) { break exceptionLanding355; } try { Reflect.apply(stashPendingFrameLaunch, value65, [applicationId, object]); } catch (error) { break exceptionLanding355; } return true; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding4 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding4[25]; } catch (error) { break exceptionLanding355; } try { value16 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value16.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_START'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value17 = value7 != channelId; } catch (error) { break exceptionLanding355; } r35 = value17 ? channelId : value7; try { object.channelId = r35; } catch (error) { break exceptionLanding355; } try { object.componentId = componentId; } catch (error) { break exceptionLanding355; } try { object.analyticsLocations = analyticsLocations; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.commandOrigin = commandOrigin; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { object2 = {}; } catch (error) { break exceptionLanding355; } try { object2.customId = customId; } catch (error) { break exceptionLanding355; } try { object2.referrerId = referrerId; } catch (error) { break exceptionLanding355; } try { object.launchParams = object2; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value16, [object]); } catch (error) { break exceptionLanding355; } try { binding = env2_41; } catch (error) { break exceptionLanding355; } try { value18 = value7 != channelId; } catch (error) { break exceptionLanding355; } r34 = value18 ? channelId : value; try { value19 = binding(applicationId, r34); } catch (error) { break exceptionLanding355; } await value19; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding355; } if (value21) { return value20; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding5 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding5[25]; } catch (error) { break exceptionLanding355; } try { value22 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value22.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SET_PROXY_TICKET'; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value23 = value7 != channelId; } catch (error) { break exceptionLanding355; } r34 = value23 ? channelId : value7; try { object.channelId = r34; } catch (error) { break exceptionLanding355; } try { object.proxyTicket = value20; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value22, [object]); } catch (error) { break exceptionLanding355; } try { binding = env2_13; } catch (error) { break exceptionLanding355; } try { getCurrentUser = binding.getCurrentUser; } catch (error) { break exceptionLanding355; } try { value24 = Reflect.apply(getCurrentUser, binding, []); } catch (error) { break exceptionLanding355; } try { value25 = value7 == value24; } catch (error) { break exceptionLanding355; } if (!value25) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding6 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding6[26]; } catch (error) { break exceptionLanding355; } try { value26 = binding(property); } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { binding = env2_19; } catch (error) { break exceptionLanding355; } if (isStart) { try { LAUNCH = binding.LAUNCH; } catch (error) { break exceptionLanding355; } r31 = LAUNCH; } else { try { JOIN = binding.JOIN; } catch (error) { break exceptionLanding355; } r31 = JOIN; } try { object.type = r31; } catch (error) { break exceptionLanding355; } try { value27 = value7 == value24; } catch (error) { break exceptionLanding355; } if (value27) { id = value; continue; } try { id = value24.id; } catch (error) { break exceptionLanding355; } try { object.userId = id; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { value28 = value7 == value6; } catch (error) { break exceptionLanding355; } if (value28) { type = value; continue; } try { type = value6.type; } catch (error) { break exceptionLanding355; } try { object.channelType = type; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.locationObject = locationObject; } catch (error) { break exceptionLanding355; } try { value29 = value7 != analyticsLocations; } catch (error) { break exceptionLanding355; } if (value29) { r29 = analyticsLocations; } else { try { items2 = []; } catch (error) { break exceptionLanding355; } r29 = items2; } try { object.analyticsLocations = r29; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.referrerId = referrerId; } catch (error) { break exceptionLanding355; } try { object.inviterUserId = inviterUserId; } catch (error) { break exceptionLanding355; } try { value26(object); } catch (error) { break exceptionLanding355; } } if (isStart) { try { value40 = value7 == channelId; } catch (error) { break exceptionLanding355; } if (value40) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding13 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value60 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value61 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value61.Reasons; } catch (error) { break exceptionLanding355; } try { INVALID_CHANNEL = Reasons.INVALID_CHANNEL; } catch (error) { break exceptionLanding355; } try { prototype = value60.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value63 = new value60(); } catch (error) { break exceptionLanding355; } try { value64 = value63 instanceof Object ? value63 : undefined; } catch (error) { break exceptionLanding355; } try { throw value64; } catch (error) { break exceptionLanding355; } } else { try { value41 = value7 == value6; } catch (error) { break exceptionLanding355; } if (value41) { type = value; } else { try { type = value6.type; } catch (error) { break exceptionLanding355; } } try { binding = env2_21; } catch (error) { break exceptionLanding355; } try { GUILD_VOICE = binding.GUILD_VOICE; } catch (error) { break exceptionLanding355; } value42 = type === GUILD_VOICE; try { binding = env2_5; } catch (error) { break exceptionLanding355; } try { getApplication = binding.getApplication; } catch (error) { break exceptionLanding355; } try { value43 = Reflect.apply(getApplication, binding, [applicationId]); } catch (error) { break exceptionLanding355; } try { binding = env2_0; } catch (error) { break exceptionLanding355; } try { binding8 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding8[30]; } catch (error) { break exceptionLanding355; } try { value44 = binding(property); } catch (error) { break exceptionLanding355; } try { hasApplicationFlag = value44.hasApplicationFlag; } catch (error) { break exceptionLanding355; } try { binding9 = env2_20; } catch (error) { break exceptionLanding355; } try { EMBEDDED = binding9.EMBEDDED; } catch (error) { break exceptionLanding355; } try { hasApplicationFlag2 = Reflect.apply(hasApplicationFlag, value44, [value43, EMBEDDED]); } catch (error) { break exceptionLanding355; } try { property = binding8[31]; } catch (error) { break exceptionLanding355; } try { value45 = binding(property); } catch (error) { break exceptionLanding355; } try { isActivityInTextSupportedForChannel = value45.isActivityInTextSupportedForChannel; } catch (error) { break exceptionLanding355; } try { isActivityInTextSupportedForChannel2 = Reflect.apply(isActivityInTextSupportedForChannel, value45, [value6]); } catch (error) { break exceptionLanding355; } r16 = value42 && hasApplicationFlag2; if (!r16) { r16 = isActivityInTextSupportedForChannel2; } if (r16) { try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { object.commandOrigin = commandOrigin; } catch (error) { break exceptionLanding355; } try { object.sectionName = sectionName; } catch (error) { break exceptionLanding355; } try { object.source = source; } catch (error) { break exceptionLanding355; } try { object.onExecutedCallback = onExecutedCallback; } catch (error) { break exceptionLanding355; } try { object.onConfirmActivityLaunchChecksAlertOpen = onConfirmActivityLaunchChecksAlertOpen; } catch (error) { break exceptionLanding355; } try { object.embeddedActivitiesManager = embeddedActivitiesManager; } catch (error) { break exceptionLanding355; } try { closure = maybeSendPrimaryAppCommand; } catch (error) { break exceptionLanding355; } try { value46 = closure(object); } catch (error) { break exceptionLanding355; } await value46; try { value47 = undefined; value48 = false; } catch (error) { break exceptionLanding355; } if (value48) { return value47; } try { result = value47.result; } catch (error) { break exceptionLanding355; } try { value49 = result === 'failure'; } catch (error) { break exceptionLanding355; } if (!value49) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding10 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding10[25]; } catch (error) { break exceptionLanding355; } try { value50 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value50.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SUCCESS'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value51 = value7 != channelId; } catch (error) { break exceptionLanding355; } r21 = value51 ? channelId : value7; try { object.channelId = r21; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value50, [object]); } catch (error) { break exceptionLanding355; } return true; } try { reason = value47.reason; } catch (error) { break exceptionLanding355; } try { binding = env2_27; } catch (error) { break exceptionLanding355; } try { FAILED_ACTIVITY_LAUNCH_CHECKS = binding.FAILED_ACTIVITY_LAUNCH_CHECKS; } catch (error) { break exceptionLanding355; } try { value52 = reason === FAILED_ACTIVITY_LAUNCH_CHECKS; } catch (error) { break exceptionLanding355; } if (value52) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding12 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding12[25]; } catch (error) { break exceptionLanding355; } try { value58 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value58.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_CANCEL'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value59 = value7 != channelId; } catch (error) { break exceptionLanding355; } r19 = value59 ? channelId : value7; try { object.channelId = r19; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value58, [object]); } catch (error) { break exceptionLanding355; } return false; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding11 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding11[27]; } catch (error) { break exceptionLanding355; } try { value53 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding11[27]; } catch (error) { break exceptionLanding355; } try { value54 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value54.Reasons; } catch (error) { break exceptionLanding355; } try { PRIMARY_APP_COMMAND_NOT_FOUND = Reasons.PRIMARY_APP_COMMAND_NOT_FOUND; } catch (error) { break exceptionLanding355; } try { prototype = value53.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value56 = new value53(); } catch (error) { break exceptionLanding355; } try { value57 = value56 instanceof Object ? value56 : undefined; } catch (error) { break exceptionLanding355; } try { throw value57; } catch (error) { break exceptionLanding355; } } else { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding13 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value60 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding13[27]; } catch (error) { break exceptionLanding355; } try { value61 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value61.Reasons; } catch (error) { break exceptionLanding355; } try { INVALID_CHANNEL = Reasons.INVALID_CHANNEL; } catch (error) { break exceptionLanding355; } try { prototype = value60.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value63 = new value60(); } catch (error) { break exceptionLanding355; } try { value64 = value63 instanceof Object ? value63 : undefined; } catch (error) { break exceptionLanding355; } try { throw value64; } catch (error) { break exceptionLanding355; } } } } else { try { object = {}; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { object.channelId = channelId; } catch (error) { break exceptionLanding355; } try { object.embeddedActivitiesManager = embeddedActivitiesManager; } catch (error) { break exceptionLanding355; } try { object.isStart = isStart; } catch (error) { break exceptionLanding355; } try { object.guildId = r3; } catch (error) { break exceptionLanding355; } try { closure = joinEmbeddedActivity; } catch (error) { break exceptionLanding355; } try { value30 = closure(object); } catch (error) { break exceptionLanding355; } await value30; try { value31 = undefined; value32 = false; } catch (error) { break exceptionLanding355; } if (value32) { return value31; } try { value33 = value7 == onExecutedCallback; } catch (error) { break exceptionLanding355; } if (!value33) { try { onExecutedCallback(); } catch (error) { break exceptionLanding355; } } try { result = value31.result; } catch (error) { break exceptionLanding355; } try { value34 = result !== 'failure'; } catch (error) { break exceptionLanding355; } if (value34) { try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding10 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding10[25]; } catch (error) { break exceptionLanding355; } try { value50 = binding(property); } catch (error) { break exceptionLanding355; } try { dispatch = value50.dispatch; } catch (error) { break exceptionLanding355; } try { object = {}; } catch (error) { break exceptionLanding355; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SUCCESS'; } catch (error) { break exceptionLanding355; } try { object.nonce = nonce; } catch (error) { break exceptionLanding355; } try { object.applicationId = applicationId; } catch (error) { break exceptionLanding355; } try { value51 = value7 != channelId; } catch (error) { break exceptionLanding355; } r21 = value51 ? channelId : value7; try { object.channelId = r21; } catch (error) { break exceptionLanding355; } try { Reflect.apply(dispatch, value50, [object]); } catch (error) { break exceptionLanding355; } return true; } try { binding = env2_1; } catch (error) { break exceptionLanding355; } try { binding7 = env2_2; } catch (error) { break exceptionLanding355; } try { property = binding7[27]; } catch (error) { break exceptionLanding355; } try { value35 = binding(property); } catch (error) { break exceptionLanding355; } try { property = binding7[27]; } catch (error) { break exceptionLanding355; } try { value36 = binding(property); } catch (error) { break exceptionLanding355; } try { Reasons = value36.Reasons; } catch (error) { break exceptionLanding355; } try { LEGACY_LAUNCH_CLIENT_VALIDATION_FAILED = Reasons.LEGACY_LAUNCH_CLIENT_VALIDATION_FAILED; } catch (error) { break exceptionLanding355; } try { reason = value31.reason; } catch (error) { break exceptionLanding355; } try { prototype = value35.prototype; } catch (error) { break exceptionLanding355; } try { } catch (error) { break exceptionLanding355; } try { value38 = new value35(); } catch (error) { break exceptionLanding355; } try { value39 = value38 instanceof Object ? value38 : undefined; } catch (error) { break exceptionLanding355; } try { throw value39; } catch (error) { break exceptionLanding355; } } } break exceptionSkip355; } if (r33) { return false; } if (value7 != r3) { binding = env2_0; r2 = binding(env2_2[24]).EmbeddedActivityLocationKind.GUILD_CHANNEL; binding = env2_1; value71 = binding(env2_2[25]); dispatch = value71.dispatch; object = {type: 'EMBEDDED_ACTIVITY_LAUNCH_FAIL', nonce: nonce, applicationId: applicationId}; if (value7 != channelId) { object.channelId = channelId; if (value7 != r3) { object.guildId = r3; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } object.guildId = value7; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } object.channelId = value7; if (value7 != r3) { object.guildId = r3; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } object.guildId = value7; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_0; EmbeddedActivityLocationKind = binding(env2_2[24]).EmbeddedActivityLocationKind; PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; r2 = PRIVATE_CHANNEL; binding = env2_1; value71 = binding(env2_2[25]); dispatch = value71.dispatch; object = {type: 'EMBEDDED_ACTIVITY_LAUNCH_FAIL', nonce: nonce, applicationId: applicationId}; if (value7 != channelId) { object.channelId = channelId; if (value7 != r3) { object.guildId = r3; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } object.guildId = value7; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } r12 = value7; object.channelId = r12; if (value7 != r3) { object.guildId = r3; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); value = new value(); object.error = value; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } r10 = value7; object.guildId = r10; object.isStart = isStart; binding = env2_1; if (error instanceof binding(env2_2[27])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[28])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; if (error instanceof binding(env2_2[29])) { object.error = error; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; } binding = env2_1; value = binding(env2_2[28]); prototype = value.prototype; value72 = Object.create(prototype, {constructor: {value: value}}); value = new value(); value = value instanceof Object ? value : value72; r6 = value; object.error = r6; object.locationKind = r2; Reflect.apply(dispatch, value71, [object]); return false; break exceptionSkip355; } function maybeSendPrimaryAppCommand() { // fn#62738, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:2520, offset: 0x0114624d, size: 30 bytes, params: 1, frame: 13 return env3_31.apply(this, arguments); } function joinEmbeddedActivity() { // fn#62739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:3070, offset: 0x016d931d, size: 30 bytes, params: 1, frame: 13 return env3_32.apply(this, arguments); } } } function _maybeSendPrimaryAppCommand() { // fn#62740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:4170, offset: 0x01b65d26, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62742).apply(this, arguments); async function _fun62742({applicationId, nonce, channelId, guildId, commandOrigin, sectionName, source, onExecutedCallback, onConfirmActivityLaunchChecksAlertOpen, embeddedActivitiesManager}) { // fn#62742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:4247, offset: 0x01b65d68, size: 966 bytes, params: 2, frame: 36 var r13; var binding; var binding2; var property; var value7; var value8; var value9; var value10; var channel; var value17; var value18; var channel2; var value21; var application; var currentEmbeddedActivity; var currentUser; var promise; var error; var message; var NO_PRIMARY_APP_COMMAND_ERROR; var NO_PRIMARY_APP_COMMAND; if (false) { return undefined; } value = undefined; var env0_8; await value; if (false) { return undefined; } try { binding = env2_1; } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } try { binding2 = env2_2; } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } try { property = binding2[32]; } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } try { value7 = binding(property); } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } try { value8 = value7(channelId, applicationId); } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } await value8; try { value9 = undefined; value10 = false; } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } if (value10) { return value9; } try { env0_8 = value9; } catch (error) { message = error.message; binding = env2_0; NO_PRIMARY_APP_COMMAND_ERROR = binding(env2_2[32]).NO_PRIMARY_APP_COMMAND_ERROR; if (message === NO_PRIMARY_APP_COMMAND_ERROR) { NO_PRIMARY_APP_COMMAND = env2_27.NO_PRIMARY_APP_COMMAND; return {result: 'failure', reason: NO_PRIMARY_APP_COMMAND}; } throw error; } const handler = value9.handler; const ApplicationCommandHandler = env2_0(env2_2[33]).ApplicationCommandHandler; const APP_HANDLER = ApplicationCommandHandler.APP_HANDLER; const value11 = handler !== APP_HANDLER; if (value11) { binding = env2_10; channel2 = binding.getChannel(channelId); if (guildId != null) { value21 = env2_11.getGuild(guildId); } if (channel2 == null) { return {result: 'failure', reason: env2_27.NO_CHANNEL}; } if (value11) { binding = env2_5; application = binding.getApplication(applicationId); binding = env2_15; currentEmbeddedActivity = binding.getCurrentEmbeddedActivity(); applicationId = currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId; r13 = applicationId == null ? value : env2_5.getApplication(currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId); binding = env2_13; currentUser = binding.getCurrentUser(); if (currentUser == null) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } binding = env2_0; value = binding(env2_2[35]); await value.confirmActivityLaunchChecks({applicationId: applicationId, application: application, channel: channel2, currentEmbeddedApplication: r13, embeddedActivitiesManager: embeddedActivitiesManager, user: currentUser, onConfirmActivityLaunchChecksAlertOpen: onConfirmActivityLaunchChecksAlertOpen, shouldClosePopoutOnLeaveCurrentEmbeddedApplication: false}); value = undefined; if (false) { return value; } if (value) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } return {result: 'failure', reason: env2_27.FAILED_ACTIVITY_LAUNCH_CHECKS}; } promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } if (Reflect.apply(env2_24.includes, binding, [applicationId])) { binding = env2_10; channel2 = binding.getChannel(channelId); if (guildId != null) { value21 = env2_11.getGuild(guildId); } if (channel2 == null) { return {result: 'failure', reason: env2_27.NO_CHANNEL}; } if (value11) { binding = env2_5; application = binding.getApplication(applicationId); binding = env2_15; currentEmbeddedActivity = binding.getCurrentEmbeddedActivity(); applicationId = currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId; r13 = applicationId == null ? value : env2_5.getApplication(currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId); binding = env2_13; currentUser = binding.getCurrentUser(); if (currentUser == null) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } binding = env2_0; value = binding(env2_2[35]); await value.confirmActivityLaunchChecks({applicationId: applicationId, application: application, channel: channel2, currentEmbeddedApplication: r13, embeddedActivitiesManager: embeddedActivitiesManager, user: currentUser, onConfirmActivityLaunchChecksAlertOpen: onConfirmActivityLaunchChecksAlertOpen, shouldClosePopoutOnLeaveCurrentEmbeddedApplication: false}); value = undefined; if (false) { return value; } if (value) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } return {result: 'failure', reason: env2_27.FAILED_ACTIVITY_LAUNCH_CHECKS}; } promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } if (channelId == null) { binding = env2_4; await binding({type: 'user'}); if (false) { return undefined; } binding = env2_10; channel = binding.getChannel(channelId); binding = env2_0; value17 = binding(env2_2[34]); await value17.installApplicationOnDemandIfNeeded({applicationId: applicationId, channel: channel, commandIntegrationTypes: value9.integration_types}); value18 = undefined; if (false) { return value18; } if (value18.isAuthorized) { binding = env2_10; channel2 = binding.getChannel(channelId); if (guildId != null) { value21 = env2_11.getGuild(guildId); } if (channel2 == null) { return {result: 'failure', reason: env2_27.NO_CHANNEL}; } if (value11) { binding = env2_5; application = binding.getApplication(applicationId); binding = env2_15; currentEmbeddedActivity = binding.getCurrentEmbeddedActivity(); applicationId = currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId; r13 = applicationId == null ? value : env2_5.getApplication(currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId); binding = env2_13; currentUser = binding.getCurrentUser(); if (currentUser == null) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } binding = env2_0; value = binding(env2_2[35]); await value.confirmActivityLaunchChecks({applicationId: applicationId, application: application, channel: channel2, currentEmbeddedApplication: r13, embeddedActivitiesManager: embeddedActivitiesManager, user: currentUser, onConfirmActivityLaunchChecksAlertOpen: onConfirmActivityLaunchChecksAlertOpen, shouldClosePopoutOnLeaveCurrentEmbeddedApplication: false}); value = undefined; if (false) { return value; } if (value) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } return {result: 'failure', reason: env2_27.FAILED_ACTIVITY_LAUNCH_CHECKS}; } promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } return {result: 'failure', reason: env2_27.UNAUTHORIZED}; } await env2_4({type: 'channel', channelId: channelId}); if (false) { return undefined; } await env2_4({type: 'user'}); if (false) { return undefined; } channel = env2_10.getChannel(channelId); value17 = env2_0(env2_2[34]); await value17.installApplicationOnDemandIfNeeded({applicationId: applicationId, channel: channel, commandIntegrationTypes: value9.integration_types}); value18 = undefined; if (false) { return value18; } if (value18.isAuthorized) { binding = env2_10; channel2 = binding.getChannel(channelId); if (guildId != null) { value21 = env2_11.getGuild(guildId); } if (channel2 == null) { return {result: 'failure', reason: env2_27.NO_CHANNEL}; } if (value11) { binding = env2_5; application = binding.getApplication(applicationId); binding = env2_15; currentEmbeddedActivity = binding.getCurrentEmbeddedActivity(); applicationId = currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId; r13 = applicationId == null ? value : env2_5.getApplication(currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId); binding = env2_13; currentUser = binding.getCurrentUser(); if (currentUser == null) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } binding = env2_0; value = binding(env2_2[35]); await value.confirmActivityLaunchChecks({applicationId: applicationId, application: application, channel: channel2, currentEmbeddedApplication: r13, embeddedActivitiesManager: embeddedActivitiesManager, user: currentUser, onConfirmActivityLaunchChecksAlertOpen: onConfirmActivityLaunchChecksAlertOpen, shouldClosePopoutOnLeaveCurrentEmbeddedApplication: false}); value = undefined; if (false) { return value; } if (value) { promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } return {result: 'failure', reason: env2_27.FAILED_ACTIVITY_LAUNCH_CHECKS}; } promise = new global.Promise(_fun62743); await promise; promise = undefined; if (false) { return promise; } return {result: 'success'}; } const UNAUTHORIZED = env2_27.UNAUTHORIZED; return {result: 'failure', reason: UNAUTHORIZED}; function _fun62743(a0, a1) { // fn#62743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:5622, offset: 0x01b6612e, size: 127 bytes, params: 3, frame: 15 var environment; const env0_0 = a0; const env0_1 = a1; const value = environment.__proto__.__proto__.__proto__; env3_1(env3_2[36])({command: env0_8, optionValues: {}, context: {channel: env0_9, guild: env0_10}, commandOrigin: commandOrigin, sectionName: sectionName, source: source, interactionLifecycleOptionsFactory: function() { return {nonce: nonce, onSuccess: _fun62745, onFailure: _fun62746}; }}); function interactionLifecycleOptionsFactory() { // fn#62744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:5768, offset: 0x01b661ad, size: 38 bytes, params: 1, frame: 3 return {nonce: nonce, onSuccess: onSuccess_62745, onFailure: onFailure_62746}; function interactionLifecycleOptionsFactoryOnSuccess() { // fn#62745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:5792, owner: interactionLifecycleOptionsFactory.onSuccess, offset: 0x01b661d3, size: 38 bytes, params: 1, frame: 10 if (onExecutedCallback != null) { onExecutedCallback(); } env1_0(); } function interactionLifecycleOptionsFactoryOnFailure(a0, a1, a2, a3) { // fn#62746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:5825, owner: interactionLifecycleOptionsFactory.onFailure, offset: 0x01b661f9, size: 426 bytes, params: 5, frame: 23 var binding2; var UNKNOWN; let value = environment.__proto__.__proto__; if (onExecutedCallback != null) { onExecutedCallback(); } let binding = env5_1; const value3 = undefined; const value4 = binding(env5_2[37]); const track = value4.track; const ACTIVITY_INTERACTION_CALLBACK_ERROR = env5_18.ACTIVITY_INTERACTION_CALLBACK_ERROR; Reflect.apply(track, value4, [ACTIVITY_INTERACTION_CALLBACK_ERROR, {channel_id: channelId, guild_id: guildId, application_id: applicationId, channel_type: env2_9 == null ? value3 : env2_9.type, error_code: a0, error_message: a1, error_status: a2, error_reason_code: a3, source: source}]); if (a0 == null) { if (a3 == null) { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } else { binding = env5_1; if (a3 in binding(env5_2[29]).ReasonCodes) { value = environment.__proto__; value = env5_1(env5_2[29]); value = new value(a3); require(value); } else { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } } } else if (a1 == null) { if (a3 == null) { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } else { binding = env5_1; if (a3 in binding(env5_2[29]).ReasonCodes) { value = environment.__proto__; value = env5_1(env5_2[29]); value = new value(a3); require(value); } else { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } } } else if (a2 != null) { value = environment.__proto__; value = env5_1(env5_2[28]); value = new value({status: a2, body: {message: a1, code: a0}}); require(value); } else if (a3 == null) { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } else { binding = env5_1; if (a3 in binding(env5_2[29]).ReasonCodes) { value = environment.__proto__; value = env5_1(env5_2[29]); value = new value(a3); require(value); } else { value = environment.__proto__; binding = env5_1; binding2 = env5_2; value = binding(binding2[29]); UNKNOWN = binding(binding2[29]).ReasonCodes.UNKNOWN; value = new value(); require(value); } } return value3; } } } } } function _joinEmbeddedActivity() { // fn#62747, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:6940, offset: 0x01b663a3, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62749).apply(this, arguments); async function _fun62749({applicationId, channelId, embeddedActivitiesManager, isStart, guildId}) { // fn#62749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:7005, offset: 0x01b663e5, size: 1327 bytes, params: 2, frame: 31 var r21; var r10; var r5; var object; var getApplication; var value14; var value16; var confirmActivityLaunchChecks; var value17; var value20; var value21; var value22; var value23; var value24; var object2; var value26; var post; var object4; var LAUNCHABILITY_CHECK_FAILED_OTHER; var NO_USE_EMBEDDED_ACTIVITIES_PERMISSION; var ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS; var binding3; var value28; var show; var intl; var string; var t; if (false) { return undefined; } value = undefined; await value; if (false) { return undefined; } let binding = env2_9; const sessionId = binding.getSessionId(); const currentUser = env2_13.getCurrentUser(); if (applicationId == null) { return {result: 'failure', reason: env2_28.NO_APPLICATION_ID}; } await env2_1(env2_2[38])(applicationId, channelId); if (false) { return undefined; } if (currentUser == null) { return {result: 'failure', reason: env2_28.UNKNOWN_USER_OR_APPLICATION}; } if (null == undefined) { return {result: 'failure', reason: env2_28.UNKNOWN_USER_OR_APPLICATION}; } if (channelId == null) { return {result: 'failure', reason: env2_28.INVALID_CHANNEL}; } const channel = env2_10.getChannel(channelId); if (channel == null) { return {result: 'failure', reason: env2_28.INVALID_CHANNEL}; } binding = env2_0; const binding2 = env2_2; const embeddedActivityLaunchability = binding(binding2[39]).getEmbeddedActivityLaunchability({channelId: channelId, ChannelStore: env2_10, GuildStore: env2_11, PermissionStore: env2_12, VoiceStateStore: env2_14}); const EmbeddedActivityLaunchability = binding(binding2[39]).EmbeddedActivityLaunchability; const CAN_LAUNCH = EmbeddedActivityLaunchability.CAN_LAUNCH; if (embeddedActivityLaunchability !== CAN_LAUNCH) { LAUNCHABILITY_CHECK_FAILED_OTHER = env2_28.LAUNCHABILITY_CHECK_FAILED_OTHER; binding = env2_0; NO_USE_EMBEDDED_ACTIVITIES_PERMISSION = binding(env2_2[39]).EmbeddedActivityLaunchability.NO_USE_EMBEDDED_ACTIVITIES_PERMISSION; if (embeddedActivityLaunchability === NO_USE_EMBEDDED_ACTIVITIES_PERMISSION) { NO_USE_EMBEDDED_ACTIVITIES_PERMISSION = env2_28.NO_USE_EMBEDDED_ACTIVITIES_PERMISSION; env2_0(env2_2[40]).showActivitiesInvalidPermissionsAlert(); r5 = NO_USE_EMBEDDED_ACTIVITIES_PERMISSION; } else { binding = env2_0; ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS = binding(env2_2[39]).EmbeddedActivityLaunchability.ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS; if (embeddedActivityLaunchability !== ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS) { r5 = LAUNCHABILITY_CHECK_FAILED_OTHER; } else { ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS = env2_28.ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS; binding = env2_1; binding3 = env2_2; value28 = binding(binding3[41]); show = value28.show; object = {}; binding = env2_0; intl = binding(binding3[42]).intl; string = intl.string; t = binding(binding3[42]).t; object.title = Reflect.apply(string, intl, [t['IOy+I5']]); intl = binding(binding3[42]).intl; string = intl.string; t = binding(binding3[42]).t; object.body = Reflect.apply(string, intl, [t.UXoQTp]); object.hideActionSheet = false; Reflect.apply(show, value28, [object]); r5 = ACTIVITIES_FEATURE_NOT_ENABLED_FOR_OS; } } return {result: 'failure', reason: r5}; } const currentEmbeddedActivity = env2_15.getCurrentEmbeddedActivity(); var applicationId = currentEmbeddedActivity == null ? value : currentEmbeddedActivity.applicationId; if (applicationId != null) { binding = env2_5; getApplication = binding.getApplication; value14 = currentEmbeddedActivity == null; applicationId = value14 ? value : currentEmbeddedActivity.applicationId; r10 = Reflect.apply(getApplication, binding, [applicationId]); r21 = value14; } else { r10 = value; } if (isStart) { binding = env2_0; value16 = binding(env2_2[35]); confirmActivityLaunchChecks = value16.confirmActivityLaunchChecks; object = {applicationId: applicationId, application: undefined, channel: channel, currentEmbeddedApplication: r10, embeddedActivitiesManager: embeddedActivitiesManager, user: currentUser}; await Reflect.apply(confirmActivityLaunchChecks, value16, [object]); value17 = undefined; if (false) { return value17; } if (value17) { if (channel == null) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } binding = env2_1; value20 = binding(env2_2[43])(channel.id); binding = env2_16; value21 = binding.includes(channel.type); if (value20) { binding = env2_1; value23 = binding(env2_2[44]); object = {}; object.channelId = channel.id; object.bypassChangeModal = r10 != null; await value23(object); value24 = undefined; if (false) { return value24; } if (value24) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } return {result: 'failure', reason: env2_28.NOT_CONNECTED_TO_VOICE_CHANNEL}; } binding = env2_0; value22 = binding(env2_2[31]); if (value22.isActivitiesInTextEnabled(channel)) { if (value21) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } return {result: 'failure', reason: env2_28.AIT_NOT_ENABLED_FOR_USER}; } return {result: 'failure', reason: env2_28.AIT_NOT_ENABLED_FOR_USER}; } return {result: 'failure', reason: env2_28.FAILED_ACTIVITY_LAUNCH_CHECKS}; } if (channel == null) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } value20 = env2_1(env2_2[43])(channel.id); binding = env2_16; value21 = binding.includes(channel.type); if (value20) { binding = env2_1; value23 = binding(env2_2[44]); object = {}; object.channelId = channel.id; object.bypassChangeModal = r10 != null; await value23(object); value24 = undefined; if (false) { return value24; } if (value24) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } return {result: 'failure', reason: env2_28.NOT_CONNECTED_TO_VOICE_CHANNEL}; } value22 = env2_0(env2_2[31]); if (value22.isActivitiesInTextEnabled(channel)) { if (value21) { object = {'trackedActionData': null, 'retries': 3, 'oldFormErrors': true, 'rejectWithError': true}; object2 = {}; binding = env2_0; object2.event = binding(env2_2[45]).NetworkActionNames.EMBEDDED_ACTIVITIES_LAUNCH; object2.properties = {guild_id: guildId, channel_id: channelId, application_id: applicationId, session_id: sessionId}; object.trackedActionData = object2; if (channelId != null) { binding = env2_1; value26 = binding(env2_2[46]); post = value26.post; object4 = {}; binding = env2_22; object4.url = binding.ACTIVITY_CHANNEL_LAUNCH(channelId, applicationId); object4.body = {session_id: sessionId, guild_id: guildId ?? value}; copyDataProperties(object4, object, r21); await Reflect.apply(post, value26, [object4]); value = undefined; if (false) { return value; } return {result: 'success'}; } return {result: 'failure', reason: env2_28.OTHER}; } return {result: 'failure', reason: env2_28.AIT_NOT_ENABLED_FOR_USER}; } const AIT_NOT_ENABLED_FOR_USER = env2_28.AIT_NOT_ENABLED_FOR_USER; return {result: 'failure', reason: AIT_NOT_ENABLED_FOR_USER}; } } function stopEmbeddedActivity({location, applicationId, showFeedback}) { // fn#62750, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:9220, offset: 0x01b66914, size: 350 bytes, params: 2, frame: 22 showFeedback = showFeedback === undefined || showFeedback; (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'EMBEDDED_ACTIVITY_CLOSE', applicationId: applicationId, location: location, instanceId: EmbeddedActivitiesStore.getSelfEmbeddedActivityForLocation(location)?.launchId, showFeedback: showFeedback}); const embeddedActivityLocationChannelId = (EmbeddedActivityLocationUtilsModule).getEmbeddedActivityLocationChannelId(location); if (embeddedActivityLocationChannelId != null) { var selectedParticipantId = ChannelRTCStore.getSelectedParticipantId(embeddedActivityLocationChannelId); var id = UserStore.getCurrentUser()?.id; var value9 = EmbeddedActivitiesStore.getEmbeddedActivitiesForChannel(embeddedActivityLocationChannelId).find(function({applicationId}) { return applicationId === applicationId; }); if (value9 == null) { return undefined; } if (id == null) { return undefined; } if (id === '') { return undefined; } var moduleValue2 = require(4610) /* metro dependency 4610: ChannelRTCParticipants */; var getEmbeddedActivityParticipantId = moduleValue2.getEmbeddedActivityParticipantId; object = {applicationId: applicationId}; object.instanceId = value9?.compositeInstanceId; if (selectedParticipantId === Reflect.apply(getEmbeddedActivityParticipantId, moduleValue2, [object])) { (importDefault(7712) /* metro dependency 7712: ChannelRTCActionCreators */).selectParticipant(embeddedActivityLocationChannelId, null); } } } function _fetchDeveloperApplications() { // fn#62752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:9878, offset: 0x01b66a72, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62754).apply(this, arguments); function* _fun62754() { // fn#62754, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:9955, offset: 0x01b66aab, size: 324 bytes, params: 1, frame: 20 var environment; var binding; var binding2; var property; var value3; var dispatch; var object; var value4; var HTTP; var get; var APPLICATIONS_WITH_ASSETS; var object2; var value5; var value6; var value7; var body; var applications; var map; var closure; var value8; var binding3; var value9; var assets; var value10; var error; if (true) { value = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { property = binding2[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value3 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { dispatch = value3.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.type = 'DEVELOPER_ACTIVITY_SHELF_FETCH_START'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value3, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { property = binding2[50]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value4 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { HTTP = value4.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { binding = env2_22; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { APPLICATIONS_WITH_ASSETS = binding.APPLICATIONS_WITH_ASSETS; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.url = APPLICATIONS_WITH_ASSETS; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object2.with_team_applications = true; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.query = object2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.oldFormErrors = true; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.rejectWithError = true; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value5 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } yield value5; try { value6 = undefined; value7 = false; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } if (value7) { return value6; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { applications = body.applications; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { map = applications.map; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { closure = _fun62755; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value8 = Reflect.apply(map, applications, [closure]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { property = binding3[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value9 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { dispatch = value9.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.type = 'DEVELOPER_ACTIVITY_SHELF_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.applications = value8; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { assets = body.assets; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.assets = assets; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value9, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { property = binding3[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { value10 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.type = 'APPLICATIONS_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { object.applications = applications; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value10, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'DEVELOPER_ACTIVITY_SHELF_FETCH_FAIL'}); } } function _fun62755(a0) { // fn#62755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:10201, offset: 0x01b66bef, size: 23 bytes, params: 2, frame: 11 return env3_8.createFromServer(a0); } } } function _uploadImageAttachment() { // fn#62756, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:10501, offset: 0x01b66c06, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62758).apply(this, arguments); function* _fun62758(a0, a1, a2) { // fn#62758, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:10568, offset: 0x01b66c3f, size: 357 bytes, params: 4, frame: 20 var r8; var binding; var binding2; var property; var value4; var dispatch; var object; var value5; var binding3; var value6; var HTTP; var post; var APPLICATION_UPLOAD_ATTACHMENT; var value7; var object2; var items2; var value8; var value9; var value10; var binding4; var value11; var body; var attachment; var error; var binding5; var prototype; var value12; if (false) { return undefined; } value = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding2 = env2_2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { property = binding2[25]; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } const value3 = undefined; try { value4 = binding(property); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { dispatch = value4.dispatch; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.type = 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_START'; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { Reflect.apply(dispatch, value4, [object]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value5 = a1 != null; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } if (value5) { try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.channel_id = a1; r8 = object; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding = env2_0; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding3 = env2_2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { property = binding3[50]; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value6 = binding(property); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { HTTP = value6.HTTP; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { post = HTTP.post; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding = env2_22; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { APPLICATION_UPLOAD_ATTACHMENT = binding.APPLICATION_UPLOAD_ATTACHMENT; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value7 = Reflect.apply(APPLICATION_UPLOAD_ATTACHMENT, binding, [a0]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.url = value7; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.query = r8; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2 = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2.name = 'file'; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2.file = a2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { items2 = []; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { items2[0] = object2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.attachments = items2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.rejectWithError = true; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value8 = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } yield value8; try { value9 = undefined; value10 = false; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } if (value10) { return value9; } try { binding = env2_1; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding4 = env2_2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { property = binding4[25]; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value11 = binding(property); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { dispatch = value11.dispatch; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.type = 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_SUCCESS'; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { body = value9.body; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { attachment = body.attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.attachment = attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { Reflect.apply(dispatch, value11, [object]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { body = value9.body; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { attachment = body.attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } } else { r8 = value3; try { binding = env2_0; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding3 = env2_2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { property = binding3[50]; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value6 = binding(property); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { HTTP = value6.HTTP; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { post = HTTP.post; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding = env2_22; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { APPLICATION_UPLOAD_ATTACHMENT = binding.APPLICATION_UPLOAD_ATTACHMENT; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value7 = Reflect.apply(APPLICATION_UPLOAD_ATTACHMENT, binding, [a0]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.url = value7; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.query = r8; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2 = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2.name = 'file'; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object2.file = a2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { items2 = []; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { items2[0] = object2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.attachments = items2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.rejectWithError = true; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value8 = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } yield value8; try { value9 = undefined; value10 = false; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } if (value10) { return value9; } try { binding = env2_1; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { binding4 = env2_2; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { property = binding4[25]; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { value11 = binding(property); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { dispatch = value11.dispatch; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object = {}; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.type = 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_SUCCESS'; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { body = value9.body; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { attachment = body.attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { object.attachment = attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { Reflect.apply(dispatch, value11, [object]); } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { body = value9.body; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } try { attachment = body.attachment; } catch (error) { binding = env2_1; binding5 = env2_2; value = binding(binding5[25]); value.dispatch({type: 'UPLOAD_ACTIVITY_IMAGE_ATTACHMENT_FAIL'}); value = binding(binding5[28]); prototype = value.prototype; value12 = Object.create(prototype, {constructor: {value: value}}); value = new value(); return value instanceof Object ? value : value12; } } return attachment; } } function _fetchShelf() { // fn#62759, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:11144, offset: 0x01b66da4, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62761).apply(this, arguments); async function _fun62761({guildId, force}) { // fn#62761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:11189, offset: 0x01b66de6, size: 995 bytes, params: 2, frame: 31 var r12; var r16; var r162; var r17; var shelfFetchStatus; var Promise; var prototype; var value11; var closure; var promise; var value12; var value13; var value14; var object; var binding2; var property; var value19; var dispatch; var value20; var value21; var binding3; var value22; var get; var ACTIVITY_SHELF; var object2; var value23; var NetworkActionNames; var EMBEDDED_ACTIVITIES_FETCH_SHELF; var object3; var value24; var value25; var value26; var body; var activities; var value27; var applications; var value28; var assets; var value29; var binding4; var value30; var length; var value31; var binding5; var value32; var value33; var error; if (false) { return undefined; } value = undefined; force = !(force === value) && force; const env0_1 = value; const env0_2 = value; await value; if (false) { return undefined; } let binding = env2_15; const shelfActivities = binding.getShelfActivities(guildId); const value8 = shelfActivities.map(_fun62762); const value9 = value8.filter(env2_0(env2_2[51]).isNotNullish); if (!force) { binding = env2_15; if (!binding.shouldFetchShelf(guildId)) { shelfFetchStatus = env2_15.getShelfFetchStatus(guildId); if (shelfFetchStatus == null) { return {activityConfigs: shelfActivities, applications: value9}; } if (shelfFetchStatus.isFetching) { Promise = global.Promise; prototype = Promise.prototype; value11 = Object.create(prototype, {constructor: {value: Promise}}); closure = _fun62763; promise = new Promise(); value12 = promise instanceof Object ? promise : value11; Promise = global.Promise; prototype = Promise.prototype; value13 = Object.create(prototype, {constructor: {value: Promise}}); closure = _fun62764; promise = new Promise(); value14 = promise instanceof Object ? promise : value13; Promise = global.Promise; await Promise.race([value12, value14]); if (false) { return undefined; } if (env0_1 != null) { env2_1(env2_2[25]).unsubscribe('EMBEDDED_ACTIVITY_FETCH_SHELF_SUCCESS', env0_1); } if (env0_2 != null) { env2_1(env2_2[25]).unsubscribe('EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', env0_2); } return {activityConfigs: shelfActivities, applications: value9}; } return {activityConfigs: shelfActivities, applications: value9}; } } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { property = binding2[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value19 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { dispatch = value19.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.type = 'EMBEDDED_ACTIVITY_FETCH_SHELF'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.guildId = guildId; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value20 = value === guildId; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value20) { r12 = value; } else { try { value21 = guildId === ''; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value21) { r12 = value; } else { try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.guild_id = guildId; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } r12 = object; } } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { property = binding3[46]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value22 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { get = value22.get; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object = {'url': null, 'query': null, 'trackedActionData': null, 'retries': 0, 'oldFormErrors': true, 'rejectWithError': true}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding = env2_22; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { ACTIVITY_SHELF = binding.ACTIVITY_SHELF; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.url = ACTIVITY_SHELF; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.query = r12; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { property = binding3[45]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value23 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { NetworkActionNames = value23.NetworkActionNames; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { EMBEDDED_ACTIVITIES_FETCH_SHELF = NetworkActionNames.EMBEDDED_ACTIVITIES_FETCH_SHELF; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object2.event = EMBEDDED_ACTIVITIES_FETCH_SHELF; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object3 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object3.guild_id = guildId; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object2.properties = object3; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.trackedActionData = object2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value24 = Reflect.apply(get, value22, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } await value24; try { value25 = undefined; value26 = false; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value26) { return value25; } try { body = value25.body; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { activities = body.activities; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value27 = activities != null; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value27) { r16 = activities; } else { try { object = []; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } r16 = object; } try { body = value25.body; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { applications = body.applications; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value28 = applications != null; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value28) { r162 = applications; } else { try { object = []; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } r162 = object; } try { body = value25.body; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { assets = body.assets; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value29 = assets != null; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value29) { r17 = assets; } else { try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } r17 = object; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding4 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { property = binding4[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value30 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { dispatch = value30.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.type = 'EMBEDDED_ACTIVITY_FETCH_SHELF_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.guildId = guildId; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.activities = r16; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.applications = r162; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.assets = r17; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { Reflect.apply(dispatch, value30, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { length = r162.length; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value31 = length > 0; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } if (value31) { try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { binding5 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { property = binding5[25]; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value32 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { dispatch = value32.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.type = 'APPLICATIONS_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.applications = r162; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { Reflect.apply(dispatch, value32, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.activityConfigs = r16; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { map = r162.map; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { closure = _fun62765; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { value33 = Reflect.apply(map, r162, [closure]); } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } try { object.applications = value33; } catch (error) { binding = env2_1; value = binding(env2_2[25]); value.dispatch({type: 'EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', guildId: guildId}); return {activityConfigs: shelfActivities, applications: value9}; } return object; function _fun62762({application_id}) { // fn#62762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:11262, offset: 0x01b671c9, size: 29 bytes, params: 2, frame: 11 return env3_5.getApplication(application_id); } function _fun62763(a0) { // fn#62763, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:11445, offset: 0x01b671e6, size: 79 bytes, params: 2, frame: 17 const value = environment.__proto__.__proto__.__proto__; const binding = env3_29; env3_1(env3_2[25]).subscribe('EMBEDDED_ACTIVITY_FETCH_SHELF_SUCCESS', binding.bind(null, guildId, a0)); } function _fun62764(a0) { // fn#62764, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:11562, offset: 0x01b67235, size: 81 bytes, params: 2, frame: 17 const value = environment.__proto__.__proto__.__proto__; const binding = env3_29; env3_1(env3_2[25]).subscribe('EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL', binding.bind(null, guildId, a0)); } function _fun62765(a0) { // fn#62765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:12573, offset: 0x01b66bef, size: 23 bytes, params: 2, frame: 11 return env3_8.createFromServer(a0); } } } function _sendEmbeddedActivityInvite() { // fn#62766, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:12752, offset: 0x01b67286, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62768).apply(this, arguments); async function _fun62768({activityChannelId, invitedChannelId, applicationId, location, inviteAnalyticsMetadata}) { // fn#62768, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:12829, offset: 0x01b672c8, size: 205 bytes, params: 2, frame: 24 if (true) { await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; var value4 = env2_1(env2_2[52]); var createInvite = value4.createInvite; var EMBEDDED_APPLICATION = env2_26.EMBEDDED_APPLICATION; await Reflect.apply(createInvite, value4, [activityChannelId, {target_type: EMBEDDED_APPLICATION, target_application_id: applicationId}, location]); if (false) { return undefined; } if (env2_10.getChannel(invitedChannelId) != null) { value = env2_1(env2_2[53]); value.sendInvite(invitedChannelId, undefined.code, location, inviteAnalyticsMetadata); } } } } function _sendEmbeddedActivityInviteUser() { // fn#62769, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13117, offset: 0x01b67395, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62771).apply(this, arguments); async function _fun62771({channelId, applicationId, userId, location, inviteAnalyticsMetadata, prefixedContent}) { // fn#62771, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13202, offset: 0x01b673d7, size: 221 bytes, params: 2, frame: 23 var environment; if (true) { await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; var value4 = env2_1(env2_2[52]); var createInvite = value4.createInvite; var EMBEDDED_APPLICATION = env2_26.EMBEDDED_APPLICATION; await Reflect.apply(createInvite, value4, [channelId, {target_type: EMBEDDED_APPLICATION, target_application_id: applicationId}, location]); if (false) { return undefined; } value = env2_1(env2_2[54]); value = value.ensurePrivateChannel(userId); await value.then(_fun62772); } function _fun62772(a0) { // fn#62772, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13452, offset: 0x01b674b4, size: 179 bytes, params: 2, frame: 21 var content; var value5; let value = environment.__proto__.__proto__.__proto__; const channel = env3_10.getChannel(a0); if (channel == null) { throw new global.Error('Private channel not found'); } const prefixedContentBinding = prefixedContent; const value4 = undefined; if (prefixedContentBinding != null) { value5 = env3_1(env3_2[55]); content = value5.parse(channel, prefixedContent).content; } else { content = value4; } value = env3_1(env3_2[53]); value.sendInvite(a0, Module00005.code, location, inviteAnalyticsMetadata, content); return value4; } } } function _validateTestMode() { // fn#62773, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13653, offset: 0x01b67567, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62775).apply(this, arguments); function* _fun62775(a0) { // fn#62775, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13710, offset: 0x01b675a0, size: 111 bytes, params: 2, frame: 15 var binding2; var property; var HTTP; var get; var object; var value4; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_22; const value3 = binding.ACTIVITY_TEST_MODE(a0); try { binding = env2_0; } catch (error) { return false; } try { binding2 = env2_2; } catch (error) { return false; } try { property = binding2[50]; } catch (error) { return false; } try { value = binding(property); } catch (error) { return false; } try { HTTP = value.HTTP; } catch (error) { return false; } try { get = HTTP.get; } catch (error) { return false; } try { object = {'url': null, 'oldFormErrors': true, 'rejectWithError': true}; } catch (error) { return false; } try { object.url = value3; } catch (error) { return false; } try { value = Reflect.apply(get, HTTP, [object]); } catch (error) { return false; } yield value; try { value = undefined; value4 = false; } catch (error) { return false; } return !value4 || value; } } function updateActivityPanelMode(a0) { // fn#62776, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:13881, offset: 0x01b6760f, size: 57 bytes, params: 2, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_SET_PANEL_MODE', activityPanelMode: a0}); } function _createProxyTicket() { // fn#62778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:14075, offset: 0x01b67648, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62780).apply(this, arguments); function* _fun62780(a0, a1) { // fn#62780, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:14134, offset: 0x01b67681, size: 129 bytes, params: 3, frame: 16 if (false) { return undefined; } const object = {}; if (a1 != null) { object.channel_id = a1; } value = environment.__proto__.__proto__; const HTTP = env2_0(env2_2[50]).HTTP; const post = HTTP.post; const object2 = {}; object2.url = env2_22.APPLICATION_PROXY_TICKET(a0); object2.body = object; object2.rejectWithError = true; yield Reflect.apply(post, HTTP, [object2]); value = undefined; if (false) { return value; } return value.body.ticket; } } function _refreshProxyTicket() { // fn#62781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:14319, offset: 0x01b67702, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun62783).apply(this, arguments); function* _fun62783(a0, a1) { // fn#62783, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:14380, offset: 0x01b6773b, size: 783 bytes, params: 3, frame: 28 var r1; var guild_id; var r8; var value; var value2; var value3; var value4; var binding; var value5; var dispatch; var object; var value6; var value7; var value8; var value9; var binding2; var property; var value10; var value11; var error; var getChannel; var value12; var value13; var value14; var value15; var value16; var binding3; var value17; var EmbeddedActivityLocationKind; var PRIVATE_CHANNEL; var binding4; var value18; var GUILD_CHANNEL; var binding5; var value19; var binding6; var value20; var createNonce; var nonce; var binding7; var binding8; var binding9; var prototype; exceptionSkip122: while (true) { exceptionLanding122: while (true) { exceptionSkip36: while (true) { exceptionLanding36: while (true) { value = undefined; value2 = false; if (value2) { return value; } value = a1; value3 = undefined; value4 = environment.__proto__.__proto__; binding = env2_1; value5 = binding(env2_2[25]); dispatch = value5.dispatch; Reflect.apply(dispatch, value5, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': true, applicationId: a0}]); try { try { binding = env2_41; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { value6 = value != null; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } r1 = value6 ? value : value3; try { try { value7 = binding(a0, r1); } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } yield value7; try { try { value8 = undefined; value9 = false; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } if (value9) { value = env2_1(env2_2[25]); value.dispatch({'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}); return value8; } try { try { binding = env2_1; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { binding2 = env2_2; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { property = binding2[25]; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { value10 = binding(property); } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { dispatch = value10.dispatch; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object = {}; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_SET_PROXY_TICKET'; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.applicationId = a0; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.channelId = value; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.proxyTicket = value8; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { Reflect.apply(dispatch, value10, [object]); } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { property = binding2[25]; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { value11 = binding(property); } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { dispatch = value11.dispatch; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object = {}; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.type = 'EMBEDDED_ACTIVITY_UPDATE_CONNECTED_PROXY_TICKET'; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.applicationId = a0; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { object.proxyTicket = value8; } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } try { try { Reflect.apply(dispatch, value11, [object]); } catch (error) { break exceptionLanding36; } } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return true; break exceptionSkip36; } try { binding = env2_10; } catch (error) { break exceptionLanding122; } try { getChannel = binding.getChannel; } catch (error) { break exceptionLanding122; } try { value12 = Reflect.apply(getChannel, binding, [value]); } catch (error) { break exceptionLanding122; } value13 = null; try { value14 = value13 == value12; } catch (error) { break exceptionLanding122; } if (value14) { guild_id = value3; try { value15 = value13 != guild_id; } catch (error) { break exceptionLanding122; } if (value15) { r1 = guild_id; try { value16 = value13 != r1; } catch (error) { break exceptionLanding122; } if (value16) { try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding4 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding4[24]; } catch (error) { break exceptionLanding122; } try { value18 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value18.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = GUILD_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding3 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding3[24]; } catch (error) { break exceptionLanding122; } try { value17 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value17.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = PRIVATE_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } r1 = value13; try { value16 = value13 != r1; } catch (error) { break exceptionLanding122; } if (value16) { try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding4 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding4[24]; } catch (error) { break exceptionLanding122; } try { value18 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value18.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = GUILD_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding3 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding3[24]; } catch (error) { break exceptionLanding122; } try { value17 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value17.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = PRIVATE_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { guild_id = value12.guild_id; } catch (error) { break exceptionLanding122; } try { value15 = value13 != guild_id; } catch (error) { break exceptionLanding122; } if (value15) { r1 = guild_id; try { value16 = value13 != r1; } catch (error) { break exceptionLanding122; } if (value16) { try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding4 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding4[24]; } catch (error) { break exceptionLanding122; } try { value18 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value18.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = GUILD_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding3 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding3[24]; } catch (error) { break exceptionLanding122; } try { value17 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value17.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = PRIVATE_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } r1 = value13; try { value16 = value13 != r1; } catch (error) { break exceptionLanding122; } if (value16) { try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding4 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding4[24]; } catch (error) { break exceptionLanding122; } try { value18 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value18.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { GUILD_CHANNEL = EmbeddedActivityLocationKind.GUILD_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = GUILD_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_0; } catch (error) { break exceptionLanding122; } try { binding3 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding3[24]; } catch (error) { break exceptionLanding122; } try { value17 = binding(property); } catch (error) { break exceptionLanding122; } try { EmbeddedActivityLocationKind = value17.EmbeddedActivityLocationKind; } catch (error) { break exceptionLanding122; } try { PRIVATE_CHANNEL = EmbeddedActivityLocationKind.PRIVATE_CHANNEL; } catch (error) { break exceptionLanding122; } r8 = PRIVATE_CHANNEL; try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding5 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding5[25]; } catch (error) { break exceptionLanding122; } try { value19 = binding(property); } catch (error) { break exceptionLanding122; } try { dispatch = value19.dispatch; } catch (error) { break exceptionLanding122; } try { object = {}; } catch (error) { break exceptionLanding122; } try { object.type = 'EMBEDDED_ACTIVITY_LAUNCH_FAIL'; } catch (error) { break exceptionLanding122; } try { binding6 = env2_0; } catch (error) { break exceptionLanding122; } try { property = binding5[20]; } catch (error) { break exceptionLanding122; } try { value20 = binding6(property); } catch (error) { break exceptionLanding122; } try { createNonce = value20.createNonce; } catch (error) { break exceptionLanding122; } try { nonce = Reflect.apply(createNonce, value20, []); } catch (error) { break exceptionLanding122; } try { object.nonce = nonce; } catch (error) { break exceptionLanding122; } try { object.applicationId = a0; } catch (error) { break exceptionLanding122; } try { object.channelId = value; } catch (error) { break exceptionLanding122; } try { object.guildId = r1; } catch (error) { break exceptionLanding122; } try { object.locationKind = r8; } catch (error) { break exceptionLanding122; } try { property = binding5[27]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding7 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding7[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding8 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding8[29]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { value = error instanceof value; } catch (error) { break exceptionLanding122; } if (value) { try { object.error = error; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; } try { binding = env2_1; } catch (error) { break exceptionLanding122; } try { binding9 = env2_2; } catch (error) { break exceptionLanding122; } try { property = binding9[28]; } catch (error) { break exceptionLanding122; } try { value = binding(property); } catch (error) { break exceptionLanding122; } try { prototype = value.prototype; } catch (error) { break exceptionLanding122; } try { } catch (error) { break exceptionLanding122; } try { value = new value(); } catch (error) { break exceptionLanding122; } try { value = value instanceof Object ? value : undefined; } catch (error) { break exceptionLanding122; } r8 = value; try { object.error = r8; } catch (error) { break exceptionLanding122; } try { Reflect.apply(dispatch, value19, [object]); } catch (error) { break exceptionLanding122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); return false; break exceptionSkip36; } break exceptionSkip122; } binding = env2_1; value = binding(env2_2[25]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{'type': 'EMBEDDED_ACTIVITY_SET_PROXY_TICKET_REFRESHING', 'applicationId': null, 'refreshing': false, applicationId: a0}]); throw error; break exceptionSkip122; } } } function requestRespondToSeriousThermalState() { // fn#62787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:15934, offset: 0x01b67ac1, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_REQUEST_RESPOND_TO_SERIOUS_THERMAL_STATE'}); } function consumeRequestToReactToSeriousThermalState() { // fn#62788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:16115, offset: 0x01b67af2, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_CONSUME_RESPOND_TO_SERIOUS_THERMAL_STATE_REQUEST'}); } function disregardSeriousThermalState() { // fn#62789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:16297, offset: 0x01b67b23, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_DISREGARD_SERIOUS_THERMAL_STATE'}); } function dismissNewActivityIndicator() { // fn#62795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:17026, offset: 0x01b67b54, size: 156 bytes, params: 1, frame: 19 let value = a0; const r6 = value !== undefined ? value : ContentDismissActionType.INDIRECT_ACTION; value = require(1367) /* metro dependency 1367: DismissibleContentUtils */; const markVersionedDismissibleContentAsDismissed = value.markVersionedDismissibleContentAsDismissed; const DismissibleContent = (Dismissible_contentModule).DismissibleContent; const ACTIVITIES_VOICE_LAUNCHER_BADGE = DismissibleContent.ACTIVITIES_VOICE_LAUNCHER_BADGE; const Math = global.Math; const floor = Math.floor; const Date = global.Date; const value2 = Object.create(Date.prototype, {constructor: {value: Date}}); const date = new Date(); Reflect.apply(markVersionedDismissibleContentAsDismissed, value, [ACTIVITIES_VOICE_LAUNCHER_BADGE, Reflect.apply(floor, Math, [(date instanceof Object ? date : value2).getTime() / 1000]), {dismissAction: r6}]); } function updateFocusedActivityLayout(a0) { // fn#62797, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:17431, offset: 0x01b67bf0, size: 57 bytes, params: 2, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_SET_FOCUSED_LAYOUT', focusedActivityLayout: a0}); } function openActivityPopoutWindow() { // fn#62798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:17589, offset: 0x01b67c29, size: 68 bytes, params: 1, frame: 13 const updateActivityPanelModeBinding = updateActivityPanelMode; const ACTIVITY_POPOUT_WINDOW = ActivityPanelModes.ACTIVITY_POPOUT_WINDOW; updateActivityPanelModeBinding(ACTIVITY_POPOUT_WINDOW); (Dispatcher).dispatch({type: 'ACTIVITY_POPOUT_WINDOW_OPEN'}); } function updateActivityPopoutWindowLayout(a0) { // fn#62799, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8038:17768, offset: 0x01b67c6d, size: 57 bytes, params: 2, frame: 13 (Dispatcher).dispatch({type: 'EMBEDDED_ACTIVITY_UPDATE_POPOUT_WINDOW_LAYOUT', layout: a0}); } } global.__d(_fun62734, 7860, [5, 7861, 4234, 4606, 8043, 4235, 1226, 1379, 1867, 3784, 1878, 4297, 1378, 4237, 8044, 661, 4238, 1376, 4118, 8045, 7142, 8064, 8100, 8101, 10647, 694, 10656, 8104, 4132, 8059, 7504, 8448, 10657, 1909, 10658, 10646, 8050, 683, 9473, 9467, 8108, 4647, 1244, 8102, 10653, 480, 5046, 3774, 4610, 7712, 507, 1360, 8879, 7067, 4603, 7076, 1367, 1365, 2]) /* metro module 7860, dependencies: [5, 7861, 4234, 4606, 8043, 4235, 1226, 1379, 1867, 3784, 1878, 4297, 1378, 4237, 8044, 661, 4238, 1376, 4118, 8045, 7142, 8064, 8100, 8101, 10647, 694, 10656, 8104, 4132, 8059, 7504, 8448, 10657, 1909, 10658, 10646, 8050, 683, 9473, 9467, 8108, 4647, 1244, 8102, 10653, 480, 5046, 3774, 4610, 7712, 507, 1360, 8879, 7067, 4603, 7076, 1367, 1365, 2] */;