import{u as n,iV as c,aX as u,r as d,j as t,a_ as i,O as f}from"./index-4a12e52c.js";import{J as x}from"./JobOverviewContent-3abdae0f.js";import"./index-fdd341b6.js";import"./Project-7ea6ff24.js";import"./index-91a459dc.js";import"./FileUploaderButton-546aa096.js";import"./useDownload-e87fcc63.js";import"./useCurrentProject-9bb1c6a4.js";import"./useProject-04893095.js";import"./PrimaryIconButton-0a56fae1.js";import"./zipObj-078ddbe7.js";import"./dumbPluralize-86a9b9d6.js";import"./git-d9965c1a.js";import"./NoData-430a62e8.js";import"./index-1b686e0d.js";import"./file-utils-37d8d953.js";import"./alertManagerConfig.selectors-c57f191b.js";import"./FileContent-cb27f9d5.js";import"./CardActionButton-e444b6e2.js";import"./clamp-e9fb105d.js";import"./jupyter.selectors-97655dc7.js";import"./utils-945d70a6.js";import"./objectWithoutPropertiesLoose-4f48578a.js";import"./index-e10b6a93.js";import"./Table-dac5f396.js";import"./setPrototypeOf-8d862a7d.js";import"./index-cef42dff.js";import"./useKeyPress-37898f86.js";import"./Panel-0ad7afe5.js";import"./Deprecated-f408f795.js";import"./DateValue-80d903b8.js";import"./CronSchedule-45424f78.js";import"./LabelValue-205d44b0.js";import"./JobsExecutionsPopup-77d6ac19.js";import"./JobsService-f35884d8.js";const U=()=>{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{U as default};
