import{c as o}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf7.js";const s=o()((t,a)=>({menuVerticalOpen:!1,setMenuVerticalOpen:e=>{localStorage.setItem("menuVerticalOpen",e.toString()),t({menuVerticalOpen:e})},ativeCRM:"Abas",setAtiveCRM:e=>{localStorage.setItem("crm",e),t({ativeCRM:e})},headerContents:{headerOpen:!0,activeTab:"tab",index:null},updateHeaderContents:(e,l,n,r)=>{localStorage.setItem("NavBarViewer",JSON.stringify({...a().headerContents,[e]:l,index:n===void 0?null:n,id:r===void 0?null:r})),t({headerContents:{...a().headerContents,[e]:l,index:n===void 0?null:n,id:r===void 0?null:r}})}}));(()=>{const t=localStorage.getItem("menuVerticalOpen")==="true",a=localStorage.getItem("crm")||"Abas",e=JSON.parse(localStorage.getItem("NavBarViewer"))||{headerOpen:!0,activeTab:"tab",index:null};s.setState({menuVerticalOpen:t,ativeCRM:a,headerContents:e})})();export{s as u};
