import{u as n,ke as c,bx as u,r as d,j as t,D as e,L as f}from"./index-_eM6l4Nf.js";import{J as x}from"./JobOverviewContent-C2qLvj1L.js";import"./Project-BTH4PZdL.js";import"./alertManagerConfig.selectors-B-zYrdGC.js";import"./complement-CE-nEpWn.js";import"./index-B-5JhFyZ.js";import"./form-CMT9TYED.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-BIbwssIf.js";import"./git-BLdzamrJ.js";import"./useCopyToClipboard-BUvZjse8.js";import"./Anchor-JEsUSbQH.js";import"./Panel-BNKhRIJO.js";import"./Deprecated-Cn0z8EIY.js";import"./index-DUD8N5ck.js";import"./DateValue-83vgkOK-.js";import"./CronSchedule-NEAzex5S.js";import"./LabelValue-CRG5UPNe.js";import"./RunJobButtons-COeFEBke.js";import"./NotebookJobArgsCallout-Hgrtc_nv.js";import"./ServiceAlertList-BHObHhAU.js";import"./index-CpvNjjPQ.js";import"./KubernetesProjectView-XdEEUXJt.js";const T=()=>{const{id:i,jobName:s}=n(),{currentData:r,isLoading:m,isFetching:p,refetch:o}=c({pId:`${i}`,jobName:s},{refetchOnFocus:!0});u(r==null?void 0:r.name);const a=d.useCallback(()=>{r&&o()},[r,o]);return m?t.jsx(e,{}):t.jsxs(f,{children:[p&&t.jsx(e,{}),r&&t.jsx(x,{data:r,onClickRefresh:a})]})};export{T as default};
