import{bG as a,bH as e,j as i,ed as c,c5 as n}from"./index-C6OVXshM.js";import{S as x,C as u}from"./StatisticsContent-aJSToj7A.js";import{u as T,T as m}from"./TDPanel-DbvvjxZs.js";import"./index-wd_Y41lc.js";import"./StatisticsTables-B2YU9CFy.js";import"./randomArrayString---X8tfjV.js";import"./PieChart-BitaLUOT.js";import"./generateCategoricalChart-dv6gjfk1.js";import"./isEqual-DrICj05y.js";import"./bump-BmRQ39WQ.js";import"./linear-C3cNlZpH.js";import"./string-cKWu9XK9.js";import"./max-DBeXZoyG.js";import"./BarChart-DlmymiaW.js";import"./Deprecated-C2s2xtW5.js";import"./TdFeatureGroupHandle-Cl6xaIKi.js";import"./FeatureGroupTypeBadge-gC-XAV-_.js";import"./useFeatureFilters-C0tQqz2i.js";import"./FeaturesLayout-Dcj-Pm1X.js";import"./FilterResult-DI0HiAXB.js";import"./sort-BOLIcXtz.js";import"./FeatureFilters-CJeOaW51.js";import"./min-BF2EoXpM.js";import"./Panel-Cdyv0nKn.js";const k=()=>{const o=T(),{statistics:s,trainingDataset:t,fv:r,isFetching:p}=o;return a(`${e.statistics} ${(t==null?void 0:t.name)??"Training data"}`),p?i.jsx(m,{...o}):i.jsxs(i.Fragment,{children:[i.jsx(m,{...o}),s?i.jsx(x,{data:{...t,features:(r==null?void 0:r.features)??[]},type:c.td,statistics:s}):i.jsx(n,{mainText:`No statistics available for Training Data v${t==null?void 0:t.version}`,children:i.jsx(u,{})})]})};export{k as default};
