import{l}from"./index-ae60edf9.js";import{e as t}from"./open-im-sdk-wasm-f19f04ec.js";import{k as e}from"./@vue-cb50a1c4.js";function v(u){const n=l(),r=e(()=>n.storeCurrentMemberInGroup.groupID===(u??n.storeCurrentGroupInfo.groupID)),o=e(()=>n.storeCurrentMemberInGroup.roleLevel),s=e(()=>r.value&&o.value===t.Owner),m=e(()=>r.value&&o.value===t.Admin),a=e(()=>r.value&&o.value===t.Nomal);return{isOwner:s,isAdmin:m,isNomal:a,inSameGroup:r,currentRole:o}}export{v as u};
