import{u as n,hX as c,bC as u,r as d,j as t,L as i,e as f}from"./index-dP1W1_bd.js";import{J as x}from"./JobOverviewContent-D1L8tVMu.js";import"./Project-CsYwwOpN.js";import"./ButtonWithRole-CF64B_Or.js";import"./alertManagerConfig.selectors-B_R5cvew.js";import"./__-BIxbRvwe.js";import"./useDownload-C3yCvYJa.js";import"./useProject-CXVt1xnE.js";import"./length-BzpOfCdE.js";import"./complement-D_Q2yZKt.js";import"./index-MHdXqM53.js";import"./FileUploaderButton-frSujVRY.js";import"./uniq-98MdbBvs.js";import"./uniqBy-6mvKp2Ip.js";import"./dumbPluralize-CcxDsNiu.js";import"./CardActionButton-BtCnEqTK.js";import"./utils-UGwNsahk.js";import"./useKeyPress-OcDHupLZ.js";import"./zipObj-DEkcXp9d.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-mJT60wVA.js";import"./git-C8OLuEaG.js";import"./NoData-DLZ_8GEo.js";import"./useCopyToClipboard-DTBM3H3Z.js";import"./Anchor-B_lGyhCa.js";import"./Panel-M9AVvYdm.js";import"./Deprecated-ClfPkp7s.js";import"./index-DqSuv-hx.js";import"./DateValue-CtaZM5mK.js";import"./CronSchedule-DOmhKR6R.js";import"./LabelValue-Dfx1zREE.js";import"./RunJobButtons-DSvxdWvu.js";import"./NotebookJobArgsCallout-CuWfLFRW.js";import"./ServiceAlertList-DlanmsKI.js";import"./index-DOE28Q4t.js";import"./KubernetesProjectView-BmUKZjhj.js";const Y=()=>{const{id:m,jobName:p}=n(),{currentData:r,isLoading:e,isFetching:s,refetch:o}=c({pId:`${m}`,jobName:p});u(r==null?void 0:r.name);const a=d.useCallback(()=>{r&&o()},[r,o]);return e?t.jsx(i,{}):t.jsxs(f,{children:[s&&t.jsx(i,{}),r&&t.jsx(x,{data:r,onClickRefresh:a})]})};export{Y as default};
