import{u as n,iU as c,aY as u,r as d,j as t,a$ as i,o as f}from"./index-ea7817a2.js";import{J as x}from"./JobOverviewContent-064403df.js";import"./index-077fa3a4.js";import"./Project-80a71be4.js";import"./index-43e7382e.js";import"./FileUploaderButton-495e1c87.js";import"./useDownload-09eaf3eb.js";import"./useCurrentProject-0132f110.js";import"./useProject-77619fff.js";import"./PrimaryIconButton-fe990c52.js";import"./zipObj-08c84ab1.js";import"./dumbPluralize-86a9b9d6.js";import"./git-d9965c1a.js";import"./NoData-8733f606.js";import"./index-8f672200.js";import"./file-utils-a5f053e8.js";import"./alertManagerConfig.selectors-c57f191b.js";import"./FileContent-73ed3cd5.js";import"./CardActionButton-6aa39bc1.js";import"./clamp-298e1359.js";import"./jupyter.selectors-97655dc7.js";import"./utils-945d70a6.js";import"./index-ed9a2dda.js";import"./setPrototypeOf-c2b1cc7a.js";import"./objectWithoutPropertiesLoose-4f48578a.js";import"./index-1c428bf7.js";import"./Table-b6234bad.js";import"./memoize-one.esm-a97866ee.js";import"./useKeyPress-f1bed9d7.js";import"./index-aeb84278.js";import"./Panel-041c5d61.js";import"./Deprecated-9bfe2e44.js";import"./DateValue-1d129100.js";import"./CronSchedule-c484881b.js";import"./LabelValue-bef10fa0.js";import"./JobsExecutionsPopup-5aad37e0.js";import"./JobsService-82e820b4.js";const Z=()=>{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{Z as default};
