Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,32 @@
/* Metro module 8810; source: modules/user_profile/native/openUserContextMenuCommands.tsx; dependencies: [8515, 4080, 4007, 1909, 2] */
function _fun68863(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68863, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8995:6, offset: 0x01c5fafb, size: 103 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/native/openUserContextMenuCommands.tsx');
exports.default = openUserContextMenuCommands;
}
function openUserContextMenuCommands({userId, selectedChannel, showUserProfile, analyticsLocations}) { // fn#68864, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8995:195, offset: 0x01c5fb62, size: 192 bytes, params: 2, frame: 21
var object2;
(require(8515) /* metro dependency 8515: UserProfileAnalyticsUtils */).trackUserProfileAction({action: 'PRESS_VIEW_APP_COMMANDS',
analyticsLocations: analyticsLocations});
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
value = require(4007) /* metro dependency 4007: NavigationRouteUtilsNative */;
const navigateToContextMenuCommands = value.navigateToContextMenuCommands;
object2 = {channel: selectedChannel};
const ApplicationCommandType = (require(1909) /* metro dependency 1909: Server */).ApplicationCommandType;
const USER = ApplicationCommandType.USER;
object2.commandType = USER;
object2.commandTargetId = userId;
object2.onClose = showUserProfile;
object2.onPressAppCommand = onPressAppCommand;
Reflect.apply(navigateToContextMenuCommands, value, [object2]);
}
function onPressAppCommand() { // fn#68865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8995:558, owner: openUserContextMenuCommands.onPressAppCommand, offset: 0x01c5fc22, size: 61 bytes, params: 1, frame: 12
const value = environment.__proto__;
return (require(8515) /* metro dependency 8515: UserProfileAnalyticsUtils */).trackUserProfileAction({action: 'PRESS_APP_COMMAND',
analyticsLocations: analyticsLocations});
}