import{az as t,aj as m,bu as y,bv as v,bw as f,M as h,aX as g,aZ as o}from"./app-k0jcl5PQ.js";import{S as l}from"./D-iHOjjO.chunk.js";function T(s){var i;const a=t(m.currentUser()),e=l.getFetchFunctionByType(s.entityType)(s.objectId,(i=a.data)==null?void 0:i.id),r=t(y.config()),c=t(v.isType(e.data,h.Interactive)&&e.data.interactiveId&&f.interactive(e.data.interactiveId)),{hasPermissions:n,isLoaded:d}=g(),u=n(o.StudentExperience),p=n(o.CreateClassrooms);return{loaded:!!a.data&&!!e.data&&!!r.data&&!!d,currentUser:a,entity:e,interactive:c,config:r,hasStudentExp:u,canCreateClassrooms:p}}export{T as u};
//# sourceMappingURL=CbdgrRVe.chunk.js.map
