!function(){function e(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function o(o){for(var n=1;n<arguments.length;n++){var l=null!=arguments[n]?arguments[n]:{};n%2?e(Object(l),!0).forEach((function(e){t(o,e,l[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):e(Object(l)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(l,e))}))}return o}function t(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var n=document.createElement("style");n.innerHTML=".el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}\n",document.head.appendChild(n),System.register(["./base-legacy.28cad0e5.js","./event-legacy.39ad8904.js","./index-legacy.d5045c51.js","./index-legacy.492b6ebd.js"],(function(e){"use strict";var n,l,u,r,a,c,i,s,f,d,p,y,v,b,g,O,m,h,C;return{setters:[function(e){n=e.b,l=e.I,u=e.d,r=e.J,a=e.K,c=e.L,i=e.M,s=e.O,f=e.P,d=e.Q,p=e.R},function(e){y=e.U},function(e){v=e.b},function(e){b=e.r,g=e.c,O=e.w,m=e.W,h=e.o,C=e.Y}],execute:function(){var j,w=e("d",n({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:l},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}));e("a",{close:function(){return!0}}),e("b",n(o(o({},w),{},{appendToBody:{type:Boolean,default:!1},beforeClose:{type:u(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}))),e("c",(t(j={open:function(){return!0},opened:function(){return!0},close:function(){return!0},closed:function(){return!0}},y,(function(e){return r(e)})),t(j,"openAutoFocus",(function(){return!0})),t(j,"closeAutoFocus",(function(){return!0})),j)),e("u",(function(e,o){var t=C().emit,n=a().nextZIndex,l="",u=c(),r=c(),j=b(!1),w=b(!1),B=b(!1),D=b(e.zIndex||n()),P=void 0,x=void 0,S=i("namespace",f),F=g((function(){var o={},t="--".concat(S.value,"-dialog");return e.fullscreen||(e.top&&(o["".concat(t,"-margin-top")]=e.top),e.width&&(o["".concat(t,"-width")]=s(e.width))),o})),I=g((function(){return e.alignCenter?{display:"flex"}:{}}));function k(){if(null==x||x(),null==P||P(),e.openDelay&&e.openDelay>0){var o=d((function(){return z()}),e.openDelay);P=o.stop}else z()}function A(){if(null==P||P(),null==x||x(),e.closeDelay&&e.closeDelay>0){var o=d((function(){return M()}),e.closeDelay);x=o.stop}else M()}function E(){e.beforeClose?e.beforeClose((function(e){e||(w.value=!0,j.value=!1)})):A()}function z(){p&&(j.value=!0)}function M(){j.value=!1}return e.lockScroll&&v(j),O((function(){return e.modelValue}),(function(l){l?(w.value=!1,k(),B.value=!0,D.value=e.zIndex?D.value++:n(),m((function(){t("open"),o.value&&(o.value.scrollTop=0)}))):j.value&&A()})),O((function(){return e.fullscreen}),(function(e){o.value&&(e?(l=o.value.style.transform,o.value.style.transform=""):o.value.style.transform=l)})),h((function(){e.modelValue&&(j.value=!0,B.value=!0,k())})),{afterEnter:function(){t("opened")},afterLeave:function(){t("closed"),t(y,!1),e.destroyOnClose&&(B.value=!1)},beforeLeave:function(){t("close")},handleClose:E,onModalClick:function(){e.closeOnClickModal&&E()},close:A,doClose:M,onOpenAutoFocus:function(){t("openAutoFocus")},onCloseAutoFocus:function(){t("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&E()},onFocusoutPrevented:function(e){var o;"pointer"===(null==(o=e.detail)?void 0:o.focusReason)&&e.preventDefault()},titleId:u,bodyId:r,closed:w,style:F,overlayDialogStyle:I,rendered:B,visible:j,zIndex:D}}))}}}))}();
