hunk.code_window:   const isApplicationIdPresent = !!(applicationId && applicationId.length > 0);
     const openExternalLink = useCallback((link: string) => {
       if (link) {
         window.open(link, "_blank");
       }
     }, []);
  
hunk.labels: keep replace keep keep keep keep keep
hunk.after_edit:   const hasExportPermission = isPermitted(
       currentApplication?.userPermissions ?? [],
       PERMISSION_TYPE.EXPORT_APPLICATION,
     );
  
hunk.file_path: app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
hunk.type: replace
file: import { AppState } from "reducers";
  
  export const getSelectedWidget = (state: AppState) =>
    state.ui.widgetDragResize.lastSelectedWidget;
  
  export const getSelectedWidgets = (state: AppState) =>
    state.ui.widgetDragResize.selectedWidgets;
  