import{m as a,ac as t,cs as e}from"./index-41bf27b7.js";function u(u,l,n=null){const d=a(!0),o=a(),s=a();return t.get(u+"/"+l).then((a=>{d.value=!1,o.value=a.data.data,n&&(n.value=a.data.data,e(s.value)&&s.value(n))})),{data:o,loading:d,afterShow:s}}export{u};
