import{d as y,es as _,G as v,b as l,er as c,e as i,u as b,et as o,aL as p,eu as m,ev as S,ew as g,v as k}from"./registerWidgets.d207d3d8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6dbac923-339d-4a68-9af4-a64f30714e7a",e._sentryDebugIdIdentifier="sentry-dbid-6dbac923-339d-4a68-9af4-a64f30714e7a")}catch{}})();const w=y({__name:"Modal",props:{containerStyle:{},headerStyle:{},contentStyle:{}},emits:["open","close"],setup(e,{expose:t,emit:a}){const f=_(),u=()=>{n.isOpened=!0,a("open")},d=()=>{n.isOpened=!1,a("close")};t({open:u,close:d});const n=v({isOpened:!1});return(s,r)=>(l(),c("div",{class:g(["background",n.isOpened&&"visible"]),onClick:d},[i("div",{class:"container",style:o(s.containerStyle),onClick:r[0]||(r[0]=S(()=>{},["stop"]))},[b(f).header?(l(),c("div",{key:0,class:"header",style:o(s.headerStyle)},[p(s.$slots,"header",{},void 0,!0)],4)):m("",!0),i("div",{class:"content",style:o(s.contentStyle)},[p(s.$slots,"content",{},void 0,!0)],4)],4)],2))}});const I=k(w,[["__scopeId","data-v-24f739ca"]]);export{I as M};
//# sourceMappingURL=Modal.c3922cf6.js.map
