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