import{r as registerInstance,c as createEvent,h,H as Host}from"./index-BIRwgFLv.js";var verdocsDialogCss='verdocs-dialog{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-dialog .background-overlay{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:absolute;-ms-flex-align:center;align-items:center;background:var(--verdocs-dialog-backdrop-color, rgba(0, 0, 0, 0.5));backdrop-filter:var(--verdocs-dialog-backdrop-filter, none);-webkit-backdrop-filter:var(--verdocs-dialog-backdrop-filter, none);-ms-flex-pack:center;justify-content:center}verdocs-dialog .dialog{width:520px;display:-ms-flexbox;display:flex;max-width:95%;overflow:hidden;background:#ffffff;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 4px 24px rgba(0, 0, 0, 0.15);box-shadow:0 4px 24px rgba(0, 0, 0, 0.15);border-radius:var(--verdocs-dialog-radius, 8px);position:relative}verdocs-dialog .dialog .close-button{position:absolute;top:16px;right:16px;width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:#9ca3af;-webkit-transition:color 0.2s;transition:color 0.2s;z-index:10}verdocs-dialog .dialog .close-button:hover{color:#4b5563}verdocs-dialog .heading{display:-ms-flexbox;display:flex;padding:16px 24px;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #e5e7eb}verdocs-dialog .heading .icon{display:none}verdocs-dialog .heading .title{font-size:1.5rem;font-weight:var(--verdocs-dialog-title-weight, 500);color:var(--verdocs-dialog-title-color, #242424);line-height:2rem;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-dialog .content{padding:24px;font-size:0.875rem;line-height:1.25rem;color:var(--verdocs-dialog-content-color, #424242)}verdocs-dialog .content a{color:var(--verdocs-link-color, #4c56cb);border-bottom:var(--verdocs-link-border, 1px dotted #4c56cb);text-decoration:none}verdocs-dialog .content p{margin:0 0 16px 0}verdocs-dialog .footer{padding:0 24px 24px 24px}';var VerdocsDialog=function(){function e(e){registerInstance(this,e);this.exit=createEvent(this,"exit");this.persistent=false}e.prototype.handleDismiss=function(e){var o;if(this.persistent){return}if(e.target.className==="background-overlay"){e.preventDefault();(o=this.exit)===null||o===void 0?void 0:o.emit()}};e.prototype.render=function(){var e=this;return h(Host,{key:"c0bbf9d0b98ef1edb56c78fcde37efed3095f3e7"},h("div",{key:"79064bfe3d7f35ebcd1dbcf68d917a939c962fcb",class:"background-overlay",onClick:function(o){return e.handleDismiss(o)}},h("div",{key:"cdd2c2bf76710306ff3ca1c2fa34932cdb2229ad",class:"dialog"},h("div",{key:"7216dee5318fddbca48b051292f10672d0346659",class:"close-button",onClick:function(){return e.exit.emit()}},h("svg",{key:"8c910737a56f46a23fc16e8e9bbddeeb1ca3825f",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{key:"0473a116470924f7b7cf2dc4cc9600e596f615aa",d:"M18 6L6 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),h("path",{key:"39eb283bee004b3590b649fdc52dc1333e9d8c72",d:"M6 6L18 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))),h("slot",{key:"d58ae6e6d88facd46e68e539379119debd3f2a6f",name:"heading"},h("div",{key:"7407b12ddad232179a11e4ca576833e479d07cfa",class:"heading"})),h("slot",{key:"efd98513e2295661a456a01c8ea8b4367c927843",name:"content"},h("div",{key:"3b2dcd5b11c51e05fe83777fe98d7fd61d77a6ec",class:"content"})),h("slot",{key:"f2346f379e1ec745acdded3874b79ecca57e6d16",name:"footer"},h("div",{key:"d0290f63c01e38ef6df7339cc0c36b56044fb34a",class:"footer"})))))};return e}();VerdocsDialog.style=verdocsDialogCss;export{VerdocsDialog as verdocs_dialog};
//# sourceMappingURL=verdocs-dialog.entry.js.map