import{b as a,a as s,t as i,s as d,g as n,m as r,o as m}from"./app-C3b5PNmt.js";const c={class:"modal-card"},u={class:"modal-head"},v={class:"modal-body"},h={__name:"Modal",props:{show:Boolean,title:String},emits:["close"],setup(t){return(o,e)=>t.show?(m(),a("div",{key:0,class:"modal",onClick:e[1]||(e[1]=n(l=>o.$emit("close"),["self"]))},[s("div",c,[s("div",u,[s("h2",null,i(t.title),1),s("button",{class:"modal-close",onClick:e[0]||(e[0]=l=>o.$emit("close"))},"×")]),s("div",v,[d(o.$slots,"default")])])])):r("",!0)}};export{h as _};
