import{p as o,w as n}from"./app-BJF24m-a.js";const a="chat_enabled",t=o(localStorage.getItem(a)!=="false");n(t,e=>{localStorage.setItem(a,e)});typeof window<"u"&&window.addEventListener("storage",e=>{e.key===a&&(t.value=e.newValue!=="false")});function s(){function e(){t.value=!t.value}return{chatEnabled:t,toggleChat:e}}export{s as u};
