import{u as n,hv as c,bb as u,r as d,j as t,L as i,c as f}from"./index-CK33qGU_.js";import{J as x}from"./JobOverviewContent-CbBWZ5M5.js";import"./Project-j3KdDsvH.js";import"./ButtonWithRole-NHXEosto.js";import"./alertManagerConfig.selectors-BX2JGYEL.js";import"./__-BIxbRvwe.js";import"./useDownload-hrjXceJg.js";import"./useProject-BzBQtp4J.js";import"./length-fOfC3W0h.js";import"./complement-M2aUPqXA.js";import"./FileUploaderButton-Bppadu35.js";import"./dumbPluralize-CcxDsNiu.js";import"./PrimaryIconButton-DQUEhx3G.js";import"./zipObj-DQ8OxaYj.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./git-C8OLuEaG.js";import"./NoData-CuLyR2Bg.js";import"./useCopyToClipboard-_4vnCVip.js";import"./Anchor-HBBcGDu5.js";import"./PopupWithTitle-CR47heoT.js";import"./Panel-q_vviXAK.js";import"./Deprecated-D5xZ0QMJ.js";import"./CardActionButton-DcsFpjJz.js";import"./index-Cwe0XbXT.js";import"./DateValue-BXA-t-WJ.js";import"./CronSchedule-BIoMWGFs.js";import"./LabelValue-j2PGK56O.js";import"./FileContent-BRNHLExA.js";import"./clamp-Cn_DLqOJ.js";import"./jupyter.selectors-B8a5Dlnv.js";import"./utils-CP84q1kA.js";import"./SvgContent-DBU37Fnv.js";import"./mergeDeepWith-BpZXvEs5.js";import"./index-CIxm3shV.js";import"./Table-BN1CB6vu.js";import"./useKeyPress-fCwPtiTw.js";import"./utils-37_jnP5r.js";import"./index-B550xy2H.js";import"./pathSatisfies-CSrP04yE.js";import"./JobsExecutionsPopup-BCMHDb4N.js";import"./NotebookJobArgsCallout-BePPd6f1.js";import"./ServiceAlertList-BdM6y14f.js";import"./index-CKCOe8Wi.js";import"./RunJobButtons-DnPapolJ.js";const pr=()=>{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{pr as default};
