import{r as a,j as r}from"./vendor-react-wBh_31cN.js";import{g as u,r as t,aq as n}from"./index-BKr2rJhV.js";import{Q as c}from"./Queries-C4KKays5.js";import{u as l}from"./useTitle-DQo_L6Ox.js";import{t as f}from"./titles-CzjGGAB3.js";import{u as v}from"./Overview-BjnqU6zC.js";import{c as d,u as x}from"./vendor-router-D1GqFWiT.js";import"./vendor-redux-CJZrIb6x.js";import"./vendor-utils-OeoE2qq_.js";import"./vendor-icons-BUUmD6ht.js";import"./vendor-radix-BRyWS4bQ.js";import"./vendor-grid-CeFlDWv4.js";import"./combobox-CcK1PxyF.js";import"./input-group-Z3Qmt3PL.js";import"./input-H6_qmzms.js";import"./label-Dnebucx5.js";import"./textarea-Co48BFy3.js";import"./vendor-recharts-DmJlpLaF.js";import"./editable-select-Co_-YcCr.js";import"./search-input-Cdh3g8rj.js";import"./card-DISTA6Ay.js";import"./code-input-HFCw2itd.js";import"./metadata-field-B_vcklh-.js";import"./value-76ihWpF6.js";import"./tooltip-Da8-EbK8.js";import"./trinoUtils-DN18CYax.js";import"./theme-colors-BFneJNsI.js";import"./QueryProgressBar-CiR1fQG1.js";import"./useDebounce-BiuGz9t2.js";import"./useIsJupyterDisabled-W-gx_pSy.js";import"./useHotkeysShortcut-BupQRiR8.js";import"./always-CtAmwIxm.js";import"./index-B5BaAmTQ.js";import"./index-DJIjy7qt.js";import"./uniq-Cy5NeM3Y.js";import"./uniqBy-qYjau2JN.js";import"./index-CHdS1Zyb.js";import"./utils-C3tzOLw4.js";import"./index-DdhqPQ_t.js";import"./time-utils-tK1noPML.js";import"./addDays-DjM7nKyN.js";import"./init-BDcDHUTz.js";import"./concat-AxOj0lUI.js";import"./formatDistance-qDinyJzC.js";import"./join-DatdAzSt.js";import"./includes-D04d5Ytc.js";import"./add-DCChD-X4.js";import"./lensPath-CdufhmA3.js";import"./mergeRight-Cv2eiGXV.js";import"./any-Db6pVWyk.js";import"./callout-Dd8FkTQe.js";import"./useServiceStatus-CUjTXlZo.js";import"./operation-log-CeRKLRfg.js";import"./useCurrentProject-C6qZaZgv.js";import"./useProject-FSnHbCQX.js";import"./index-BeaoFlb1.js";import"./Project-B6djywpZ.js";import"./list-page-header-DZysveul.js";import"./animated-progress-BdqEbBYd.js";import"./separator-2OqrG5Vy.js";import"./skeleton-BgYOfhyh.js";import"./tabs-DF7ID_Y6.js";import"./Error404-B4n3go6x.js";import"./Error-ehOSFm_s.js";import"./useLastProject-CDGr1y3w.js";import"./useSortedProjects-B0vFqd_s.js";import"./apply-BmJxqxKH.js";import"./sortBy-DS9fyPwj.js";import"./juxt-BvCFisbd.js";import"./converge-BDz-h6lA.js";const Ir=()=>{l(f.queryEngine);const{id:i}=d(),o=x(),{queriesController:m,isLoadingQueries:p}=v(),e=a.useCallback(s=>{o(u(t.project.queryEngine.queryOverview,`${t.project.value}${t.project.queryEngine.overview}`,{id:i,queryId:s}))},[o,i]);return r.jsx("div",{className:"flex flex-col",children:p?r.jsx(n,{}):r.jsx(c,{queries:m.filteredQueries,onOverviewClick:e})})};export{Ir as default};
