import{bG as a,bH as e,j as i,ee as c,c5 as n}from"./index-DNBEEyYo.js";import{S as x,C as u}from"./StatisticsContent-reHnjWjB.js";import{u as T,T as m}from"./TDPanel-HOHaduYa.js";import"./index-CFXrGVj-.js";import"./StatisticsTables-eKzOr7AN.js";import"./randomArrayString---X8tfjV.js";import"./PieChart-CDc3QLRP.js";import"./generateCategoricalChart-BC7jg59_.js";import"./isEqual-Caw4eDkN.js";import"./bump-BmRQ39WQ.js";import"./linear-C3cNlZpH.js";import"./string-cKWu9XK9.js";import"./max-DBeXZoyG.js";import"./BarChart-Bo6mG_3p.js";import"./Deprecated-DmDD0-tM.js";import"./TdFeatureGroupHandle-Bq7zo0Gr.js";import"./FeatureGroupTypeBadge-CDk6DuZk.js";import"./useFeatureFilters-C5S7nVk2.js";import"./FeaturesLayout-Bz5GofId.js";import"./FilterResult-BeVdIco_.js";import"./sort-BOLIcXtz.js";import"./FeatureFilters-DtP7PViD.js";import"./min-EeSpVhPj.js";import"./Panel-LhPx0w--.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};
