import{bb as a,bc as e,j as i,dq as c}from"./index-CK33qGU_.js";import{N as n}from"./NoData-CuLyR2Bg.js";import{S as x,C as u}from"./StatisticsContent-Cni6_-vi.js";import{u as T,T as s}from"./TDPanel-CyrcsNMY.js";import"./index-C9fMz2Eh.js";import"./StatisticsTables-CBsa7eUJ.js";import"./randomArrayString---X8tfjV.js";import"./generateCategoricalChart-q6giuYur.js";import"./bump-BOZP-SHu.js";import"./linear-DWGfDWoG.js";import"./string-CFFdVFMV.js";import"./max-DBeXZoyG.js";import"./Deprecated-D5xZ0QMJ.js";import"./TdFeatureGroupHandle-VL8F3InA.js";import"./FeatureGroupTypeBadge-CamLRb8D.js";import"./useFeatureFilters-b9dUmI_5.js";import"./FileUploaderButton-Bppadu35.js";import"./useDownload-hrjXceJg.js";import"./useProject-BzBQtp4J.js";import"./length-fOfC3W0h.js";import"./dumbPluralize-CcxDsNiu.js";import"./mergeDeepWith-BpZXvEs5.js";import"./FeaturesLayout-DRbyMXg_.js";import"./FilterResult-DPWa8YHE.js";import"./sort-BOLIcXtz.js";import"./FeatureFilters-DtwvB_P-.js";import"./storage-connector-BuEuJyVA.js";import"./min-Esn8rYAn.js";import"./pathSatisfies-CSrP04yE.js";import"./Panel-q_vviXAK.js";import"./CardActionButton-DcsFpjJz.js";const O=()=>{const o=T(),{statistics:m,trainingDataset:t,fv:r,isFetching:p}=o;return a(`${e.statistics} ${(t==null?void 0:t.name)??"Training data"}`),p?i.jsx(s,{...o}):i.jsxs(i.Fragment,{children:[i.jsx(s,{...o}),m?i.jsx(x,{data:{...t,features:(r==null?void 0:r.features)??[]},type:c.td,statistics:m}):i.jsx(n,{mainText:`No statistics available for Training Data v${t==null?void 0:t.version}`,children:i.jsx(u,{})})]})};export{O as default};
