import{r as e}from"./index-d9e0bbb9.js";const r=(a=!1)=>{const[s,t]=e.useState(a),o=e.useCallback(()=>t(!0),[]),l=e.useCallback(()=>t(!1),[]),c=e.useCallback(()=>t(!s),[s]);return{isOpen:s,toggleOpen:c,show:o,hide:l}};export{r as u};
