import{N as t,S as i,uc as n}from"./chunk-NCBQEKN3.js";var o=class r{constructor(e){this.enc=e}get current(){try{let e=sessionStorage.getItem("role");return e?this.enc.decrypt(e):""}catch{return""}}get isSuperAdmin(){return this.current==="SuperAdmin"}get isAdmin(){return this.current==="Admin"||this.isSuperAdmin}get isTI(){return this.current==="TI"}get isReviewer(){return this.current==="Reviewer"}get isAuditor(){return this.current==="Auditor"}get isEmployee(){return this.current==="Employee"}get isUser(){return this.current==="User"}get canReview(){return this.isSuperAdmin||this.isAdmin||this.isReviewer}get canWrite(){return this.isSuperAdmin||this.isAdmin}get canManageTeam(){return this.isSuperAdmin||this.isTI}get canManageUsers(){return this.canManageTeam}static \u0275fac=function(s){return new(s||r)(i(n))};static \u0275prov=t({token:r,factory:r.\u0275fac,providedIn:"root"})};export{o as a};
