import{$asJe,oasae,YasNe,easZe,PasAe,Iasbe,a0aset,Uasve,a1astt,a2asue,dasX,zasK,EasY,gasz,GasH,casG,task,vasE,xasu,KasD,Hasl,yasO,AasU,Jasle,a3asot,Lasj,WasRe,a4aswe,rasS,a5asst,Tasce,a6aslt,a7asnt,FasOe,Qasie,Masat,a8asAt,a9asUe,aaasYe,abasct,acasit,adasrt,aeasut,afasHe,agasVe,ahasdt,aiasft,uasPe,Sasvt,Basme,Naspe,Oasje,Xasoe,CasKe,DasGe,ajasmt,Raspt,akasgt}from"./entry.0757b5aa.js";import{_asCe}from"./_plugin-vue_export-helper.c27b6911.js";import{Casre,casge,Dasyt,FasTe,GasW,Iasye,J,basxe,dasne,ias_t,Kasht,Lasbt,NasCt,_asFe,Oasxt,Uasze,aaskt,PasLt,QasSt,RasEt,SasMe,VasBe,Waswt,easTt,XasMt,gasBt,sasIt,Yas$t,EasIe,jas_e,ZasDt,$asNt,a0asRt,a1asOt}from"./cross-icon.be0a42be.js";letee;constUt=e=>{vart;if(!re)return0;if(ee!==void0)returnee;consto=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);consts=o.offsetWidth;o.style.overflow="scroll";consti=document.createElement("div");i.style.width="100%",o.appendChild(i);constn=i.offsetWidth;return(t=o.parentNode)==null||t.removeChild(o),ee=s-n,ee},Yt=(...e)=>t=>{e.forEach(o=>{Je(o)?o(t):o.value=t})};varse=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(se||{});constHt=(e,t,o)=>{lets={offsetX:0,offsetY:0};consti=r=>{constg=r.clientX,m=r.clientY,{offsetX:_,offsetY:h}=s,A=e.value.getBoundingClientRect(),d=A.left,y=A.top,M=A.width,B=A.height,I=document.documentElement.clientWidth,L=document.documentElement.clientHeight,$=-d+_,N=-y+h,C=I-d-M+_,x=L-y-B+h,T=R=>{constp=Math.min(Math.max(_+R.clientX-g,$),C),f=Math.min(Math.max(h+R.clientY-m,N),x);s={offsetX:p,offsetY:f},e.value&&(e.value.style.transform=`translate(${ge(p)}, ${ge(f)})`)},b=()=>{document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",b)},n=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",i)},a=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",i)};ae(()=>{Ne(()=>{o.value?n():a()})}),Ze(()=>{a()})},Vt=(e,t={})=>{Ae(e)||yt("[useLockscreen]","You need to pass a ref param to this function");consto=t.ns||be("popup"),s=et(()=>o.bm("parent","hidden"));if(!re||Te(document.body,s.value))return;leti=0,n=!1,a="0";constr=()=>{setTimeout(()=>{J(document==null?void0:document.body,s.value),n&&document&&(document.body.style.width=a)},200)};ve(e,g=>{if(!g){r();return}n=!Te(document.body,s.value),n&&(a=document.body.style.width),i=Ut(o.namespace.value);constm=document.documentElement.clientHeight<document.body.scrollHeight,_=W(document.body,"overflowY");i>0&&(m||_==="scroll")&&n&&(document.body.style.width=`calc(100% - ${i}px)`),ye(document.body,s.value)}),tt(()=>r())},We=e=>{if(!e)return{onClick:ue,onMousedown:ue,onMouseup:ue};lett=!1,o=!1;return{onClick:a=>{t&&o&&e(a),t=o=!1},onMousedown:a=>{t=a.target===a.currentTarget},onMouseup:a=>{o=a.target===a.currentTarget}}},Pt=xe({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:ne([String,Array,Object])},zIndex:{type:ne([String,Number])}}),jt={click:e=>einstanceofMouseEvent},Kt="overlay";varGt=X({name:"ElOverlay",props:Pt,emits:jt,setup(e,{slots:t,emit:o}){consts=be(Kt),i=g=>{o("click",g)},{onClick:n,onMousedown:a,onMouseup:r}=We(e.customMaskEvent?void0:i);return()=>e.mask?K("div",{class:[s.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:n,onMousedown:a,onMouseup:r},[Y(t,"default")],se.STYLE|se.CLASS|se.PROPS,["onClic