import{u as p,ha as h,bm as G,bW as m,r as D}from"./index-C6OVXshM.js";const f=(a,e,t)=>{const{computationTime:s}=p(),{currentData:o}=h({fsId:t}),{currentData:c,isFetching:r,refetch:i}=G({pId:a,fsId:t,fgId:e}),u=m(),n=D.useCallback(()=>{u.featureGroupStatistics.clear(),i(),o&&t&&!r&&u.featureGroupStatistics.fetch({projectId:+a,featureStoreId:t,featureGroupId:+e,computationTime:s})},[u.featureGroupStatistics,i,o,t,r,a,e,s]);return{data:c,isLoading:r||!c,fetchData:n}};export{f as u};
