import{bG as u,bH as n,u as p,lP as c,bx as l,r as m,t as v,x as r,j as g}from"./index-Cox3ZWL0.js";import{Q as y}from"./Queries-D3eV92s_.js";import"./styles-BKOcRT3k.js";import"./trinoUtils-CkYt6rPZ.js";import"./QueryProgressBar-CbIZ5f8t.js";import"./CardLabel-BY3XrrkN.js";const Q=()=>{u(n.queryEngine);const{id:e}=p(),{data:s,isLoading:a}=c(e,{pollingInterval:5e3}),t=l(),i=m.useCallback(o=>{t(v(r.project.queryEngine.queryOverview,`${r.project.value}${r.project.queryEngine.overview}`,{id:e,queryId:o}))},[t,e]);return g.jsx(y,{queryInfo:s,isLoading:a,handleOverviewClick:i})};export{Q as default};
