var c=Object.defineProperty,x=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(n,e,s)=>e in n?c(n,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[e]=s,l=(n,e)=>{for(var s in e||(e={}))m.call(e,s)&&i(n,s,e[s]);if(r)for(var s of r(e))y.call(e,s)&&i(n,s,e[s]);return n},u=(n,e)=>x(n,j(e));import{h as d,a8 as f,j as a,r as h}from"./vendor.e6eaca24.js";function A(n,e,s,t){const[o,p]=h.exports.useState(!1);return{element:d(f,u(l({},n),{open:o,children:[o&&(typeof e=="function"?e():e),a(f.Content,{children:o&&(typeof s=="function"?s():s)}),a(f.Actions,{children:o&&(typeof t=="function"?t():t)})]})),isOpen:o,open:()=>p(!0),close:()=>p(!1)}}export{A as u};
