2026-09-04 17:41:35 +00:00
|
|
|
// Module ID: 12924
|
|
|
|
|
// Function ID: 12925
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: openUserContextMenuCommands
|
2026-09-04 17:41:35 +00:00
|
|
|
// Dependencies: [8122, 4448, 4335, 1954, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-04 17:41:35 +00:00
|
|
|
// Module 12924 (openUserContextMenuCommands)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-04 17:41:35 +00:00
|
|
|
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4448 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
|
|
|
|
let result = set.fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function openUserContextMenuCommands(analyticsLocations) {
|
|
|
|
|
analyticsLocations = analyticsLocations.analyticsLocations;
|
|
|
|
|
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
|
2026-09-04 17:41:35 +00:00
|
|
|
let obj = analyticsLocations(8122);
|
2026-07-20 16:05:17 +00:00
|
|
|
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
|
2026-08-26 06:04:24 +00:00
|
|
|
ACTION_SHEET_HEIGHT_HALFDefault.hideAllActionSheets();
|
2026-08-24 06:08:38 +00:00
|
|
|
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {
|
|
|
|
|
channel: selectedChannel,
|
2026-09-02 09:53:35 +00:00
|
|
|
commandType: analyticsLocations(1954).ApplicationCommandType.USER,
|
2026-07-20 16:05:17 +00:00
|
|
|
commandTargetId: userId,
|
|
|
|
|
onClose: showUserProfile,
|
|
|
|
|
onPressAppCommand() {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = analyticsLocations(closure_1_2[0]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { action: "PRESS_APP_COMMAND", analyticsLocations };
|
|
|
|
|
return obj.trackUserProfileAction(obj);
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-09-04 17:41:35 +00:00
|
|
|
const result1 = analyticsLocations(4335).navigateToContextMenuCommands(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|