import{u as n,iV as c,aX as u,r as d,j as t,a_ as i,O as f}from"./index-d6499a22.js";import{J as x}from"./JobOverviewContent-8579bcd1.js";import"./index-68a12294.js";import"./Project-92985c5d.js";import"./index-ddf2d065.js";import"./FileUploaderButton-c4f1b533.js";import"./useDownload-7167ff3b.js";import"./useCurrentProject-b23444be.js";import"./useProject-0d0fdeb3.js";import"./PrimaryIconButton-fd23494f.js";import"./zipObj-e651182a.js";import"./dumbPluralize-86a9b9d6.js";import"./git-d9965c1a.js";import"./NoData-789df290.js";import"./index-da50fbe6.js";import"./file-utils-b5704e1c.js";import"./alertManagerConfig.selectors-c57f191b.js";import"./FileContent-cc0a5bee.js";import"./CardActionButton-ccf1bc35.js";import"./clamp-59d13d39.js";import"./jupyter.selectors-97655dc7.js";import"./utils-945d70a6.js";import"./objectWithoutPropertiesLoose-4f48578a.js";import"./index-038a72d6.js";import"./Table-658893b7.js";import"./setPrototypeOf-8d862a7d.js";import"./index-a7bc7f2c.js";import"./useKeyPress-4de66b82.js";import"./Panel-b19e8cc0.js";import"./Deprecated-ec8916ed.js";import"./DateValue-ebd6577f.js";import"./CronSchedule-fbc9dfa0.js";import"./LabelValue-a44f78b2.js";import"./JobsExecutionsPopup-e71ef79a.js";import"./JobsService-aa6e1c55.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};
