import{p as e,H as o,c as i,h as d,d as t,t as r}from"./p-yZBlG3YQ.js";const a=()=>`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}`;const s=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}this.exit=i(this,"exit");this.persistent=false}handleDismiss(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()}}render(){return d(t,{key:"0839f257631eb37be76a13f42d33374e64a1fe83"},d("div",{key:"61ba30e1d78acfbeb95fc871e99a4efa95c58bc4",class:"background-overlay",onClick:e=>this.handleDismiss(e)},d("div",{key:"b40c16f7bf527685959ad228a17ee8eedb364450",class:"dialog"},d("div",{key:"11e283a9f70b537351f39b77b7cee64d5fa49fe1",class:"close-button",onClick:()=>this.exit.emit()},d("svg",{key:"00749c1c583c287757cb726c6217ad628dea0e49",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d("path",{key:"45f2216bd40c5fd265d406daefbc6a775477b6b9",d:"M18 6L6 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),d("path",{key:"6e7ceadce6c3635d4332e3dbb70521fc086bf6e4",d:"M6 6L18 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))),d("slot",{key:"1ac770d584d3e4d15217478e5a6800ce60a33435",name:"heading"},d("div",{key:"e2f4b368d1bbf301b0e8851b314ccc0d50fe5913",class:"heading"})),d("slot",{key:"6d35c3af3bc2377a62caa8f51c1739f28df4507b",name:"content"},d("div",{key:"1131fd3d9d286da0334574aeccdb11851283b974",class:"content"})),d("slot",{key:"3a053aee5523a8bddb8e309e3375c1009cd9410c",name:"footer"},d("div",{key:"8b7b186b3d4833006f87c9fb177d44c785e35867",class:"footer"})))))}static get style(){return a()}},[260,"verdocs-dialog",{persistent:[4]}]);function c(){if(typeof customElements==="undefined"){return}const e=["verdocs-dialog"];e.forEach((e=>{switch(e){case"verdocs-dialog":if(!customElements.get(r(e))){customElements.define(r(e),s)}break}}))}export{s as V,c as d};
//# sourceMappingURL=p-DT0LGcPi.js.map