import{r as a,j as t}from"./vendor-react-wBh_31cN.js";import{e as n}from"./index-CHdS1Zyb.js";import{aq as c}from"./index-BKr2rJhV.js";import{u as f}from"./useTitle-DQo_L6Ox.js";import{J as u}from"./JobOverviewContent-N8Fbv8ig.js";import{c as d}from"./vendor-router-D1GqFWiT.js";import"./utils-C3tzOLw4.js";import"./index-DdhqPQ_t.js";import"./time-utils-tK1noPML.js";import"./addDays-DjM7nKyN.js";import"./always-CtAmwIxm.js";import"./init-BDcDHUTz.js";import"./concat-AxOj0lUI.js";import"./formatDistance-qDinyJzC.js";import"./join-DatdAzSt.js";import"./includes-D04d5Ytc.js";import"./add-DCChD-X4.js";import"./lensPath-CdufhmA3.js";import"./mergeRight-Cv2eiGXV.js";import"./vendor-redux-CJZrIb6x.js";import"./vendor-utils-OeoE2qq_.js";import"./vendor-icons-BUUmD6ht.js";import"./vendor-radix-BRyWS4bQ.js";import"./vendor-grid-CeFlDWv4.js";import"./useNotifier-BCEAoFCf.js";import"./notifications-x-pTFTQl.js";import"./toast-3g7Fh-a0.js";import"./useProjectNavigate-5znX7Ojg.js";import"./LinkInProject-BVhGpwt3.js";import"./file-utils-DSAei-GW.js";import"./converge-BDz-h6lA.js";import"./ifElse-Blhrcs6_.js";import"./length-DTSUQW_a.js";import"./_isNumber-DRgbAj-F.js";import"./inc-0XPMXBh9.js";import"./append-Bu8TTG0x.js";import"./PopupWithTitle-FpZeQV47.js";import"./icon-button-FETOk6q1.js";import"./tooltip-Da8-EbK8.js";import"./Panel-epT8eD0X.js";import"./MissingMandatoryTagsWarning-DpOcErx3.js";import"./badge-nyizWwTN.js";import"./combobox-CcK1PxyF.js";import"./input-group-Z3Qmt3PL.js";import"./input-H6_qmzms.js";import"./label-Dnebucx5.js";import"./textarea-Co48BFy3.js";import"./vendor-recharts-DmJlpLaF.js";import"./list-page-header-DZysveul.js";import"./animated-progress-BdqEbBYd.js";import"./separator-2OqrG5Vy.js";import"./value-76ihWpF6.js";import"./metadata-field-B_vcklh-.js";import"./CardActionButton-Ch696ne3.js";import"./Deprecated-lKLzSfj7.js";import"./uniqBy-qYjau2JN.js";import"./sort-BIlPehKK.js";import"./ascend-D9xyxTFQ.js";import"./Anchors-6YodIkYA.js";import"./useProjectRole-UlQXu1Cp.js";import"./index-BeaoFlb1.js";import"./project-eQY1xQe-.js";import"./card-DISTA6Ay.js";import"./card-link-CAhlzNs_.js";import"./confirmation-dialog-DFt7ZgUQ.js";import"./useCopyToClipboard-3DFwhniW.js";import"./dropdown-menu-CUHqMoVG.js";import"./avatar-U0jpGcgI.js";import"./summary-bar-C9QuF3eg.js";import"./index-7v8-2hdX.js";import"./mergeDeepRight-BeT6gxx6.js";import"./CronSchedule-BZE8o0eK.js";import"./index.esm-CAGtek53.js";import"./yup-XkUC3UEH.js";import"./NoData-jkjqmCYT.js";import"./field-grid-DbIYt80P.js";import"./HumanizedCronExpression-D34G4jQt.js";import"./CronDetails-DuLrEPPy.js";import"./checkbox-DbZXziG0.js";import"./date-picker-DuYl6sUN.js";import"./popover-DNRIgB96.js";import"./radio-group-D7-g0sv3.js";import"./CronExpression-D3O-UlpN.js";import"./index--vO3kPD9.js";import"./slicedToArray-BHGdh4W7.js";import"./vendor-markdown-DYw41Xyj.js";import"./not-CZjOXJzQ.js";import"./callout-Dd8FkTQe.js";import"./getPathAndFileName-BId4RGny.js";import"./FileContent-hLw81bKv.js";import"./index-yLMRwF40.js";import"./uniq-Cy5NeM3Y.js";import"./useCurrentProject-C6qZaZgv.js";import"./useProject-FSnHbCQX.js";import"./useDownload-YBz540B0.js";import"./Error-ehOSFm_s.js";import"./useLastProject-CDGr1y3w.js";import"./useSortedProjects-B0vFqd_s.js";import"./apply-BmJxqxKH.js";import"./sortBy-DS9fyPwj.js";import"./juxt-BvCFisbd.js";import"./utils-JPS97eRI.js";import"./file-size-D4kAzYEi.js";import"./code-input-HFCw2itd.js";import"./utils-beqlqcBX.js";import"./ButtonWithRole-BINnbeGr.js";import"./SvgContent-CLd6v9jE.js";import"./LazyMarkdown-B4U4Brg5.js";import"./purify.es-t2lEkcJL.js";import"./data-table-Cd-8SUjZ.js";import"./skeleton-BgYOfhyh.js";import"./BlinkingDots-CJK9OJE3.js";import"./LoadMore-Bg-Y-iGB.js";import"./table-CQMBoaty.js";import"./editable-select-Co_-YcCr.js";import"./search-input-Cdh3g8rj.js";import"./has-DxvBA501.js";import"./RunJobButtons-Co8iZAo5.js";import"./button-group-DwtZdOfr.js";import"./getInputValidation-CUi6Oel7.js";import"./NotebookJobArgsCallout-C8c5GBvk.js";import"./getHopsDoc-BWSxyuXn.js";import"./ServiceAlertList-BtTbNZ7t.js";import"./jobAlert.selectors-DIpkTg6b.js";import"./DeleteGlobalEventForm-B-kMP2Aq.js";import"./alertManagerConfUtil-D4yp8Ca8.js";import"./alertUtil-MS8PGQKV.js";import"./setTypeOfJobs-DUFXncCE.js";import"./KubernetesProjectView-Co9kFJN5.js";import"./kubernetes-mdfH7o1Q.js";import"./props-gQDi595u.js";import"./pathOr-DUeeLFEu.js";import"./OldEnvCallout-C1Gal-pa.js";const $t=()=>{const{id:i,jobName:m}=d(),{currentData:r,isLoading:p,isFetching:e,refetch:o}=n({pId:`${i}`,jobName:m},{refetchOnFocus:!0});f(r==null?void 0:r.name);const s=a.useCallback(()=>{r&&o()},[r,o]);return p?t.jsx(c,{}):t.jsx("div",{children:r&&t.jsx(u,{data:r,onClickRefresh:s,isFetching:e})})};export{$t as default};
