import{$asJe,oasae,YasNe,easZe,NasAe,Iasbe,a0aset,Uasve,a1astt,a2asue,dasX,zasj,EasY,gasz,GasP,casF,tasC,vasL,xasr,KasN,Hasn,yasR,AasU,Jasle,a3asot,LasK,WasRe,a4aswe,rask,a5asst,Tasce,a6aslt,a7asnt,FasOe,Qasie,Masat,a8asAt,a9asUe,aaasYe,abasct,acasit,adasrt,aeasut,afasHe,agasVe,ahasdt,aiasft,uasPe,Sasvt,Basme,Oaspe,PasKe,Xasoe,Casje,DasFe,ajasmt,Raspt,akasgt}from"./entry.35d6799d.js";import{_asCe}from"./_plugin-vue_export-helper.ae37518f.js";import{zasre,casge,Aasyt,BasTe,CasW,Dasye,FasJ,basxe,dasne,ias_t,Gasht,Iasbt,JasCt,_asGe,Kasxt,Uasze,aaskt,LasEt,NasLt,OasSt,PasMe,QasBe,Raswt,easTt,SasMt,gasBt,qasIt,VasDt,EasIe,jas_e,Was$t,XasNt,YasRt,ZasOt}from"./cross-icon.33386306.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);constl=o.offsetWidth;o.style.overflow="scroll";constc=document.createElement("div");c.style.width="100%",o.appendChild(c);consts=c.offsetWidth;return(t=o.parentNode)==null||t.removeChild(o),ee=l-s,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)=>{letl={offsetX:0,offsetY:0};constc=u=>{consth=u.clientX,m=u.clientY,{offsetX:y,offsetY:_}=l,a=e.value.getBoundingClientRect(),d=a.left,p=a.top,T=a.width,b=a.height,B=document.documentElement.clientWidth,I=document.documentElement.clientHeight,E=-d+y,S=-p+_,D=B-d-T+y,x=I-p-b+_,$=O=>{constg=Math.min(Math.max(y+O.clientX-h,E),D),f=Math.min(Math.max(_+O.clientY-m,S),x);l={offsetX:g,offsetY:f},e.value&&(e.value.style.transform=`translate(${ge(g)}, ${ge(f)})`)},M=()=>{document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",M)};document.addEventListener("mousemove",$),document.addEventListener("mouseup",M)},s=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",c)},i=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",c)};ae(()=>{Ne(()=>{o.value?s():i()})}),Ze(()=>{i()})},Vt=(e,t={})=>{Ae(e)||yt("[useLockscreen]","You need to pass a ref param to this function");consto=t.ns||be("popup"),l=et(()=>o.bm("parent","hidden"));if(!re||Te(document.body,l.value))return;letc=0,s=!1,i="0";constu=()=>{setTimeout(()=>{J(document==null?void0:document.body,l.value),s&&document&&(document.body.style.width=i)},200)};ve(e,h=>{if(!h){u();return}s=!Te(document.body,l.value),s&&(i=document.body.style.width),c=Ut(o.namespace.value);constm=document.documentElement.clientHeight<document.body.scrollHeight,y=W(document.body,"overflowY");c>0&&(m||y==="scroll")&&s&&(document.body.style.width=`calc(100% - ${c}px)`),ye(document.body,l.value)}),tt(()=>u())},We=e=>{if(!e)return{onClick:ue,onMousedown:ue,onMouseup:ue};lett=!1,o=!1;return{onClick:i=>{t&&o&&e(i),t=o=!1},onMousedown:i=>{t=i.target===i.currentTarget},onMouseup:i=>{o=i.target===i.currentTarget}}},Pt=xe({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:ne([String,Array,Object])},zIndex:{type:ne([String,Number])}}),Kt={click:e=>einstanceofMouseEvent},jt="overlay";varFt=X({name:"ElOverlay",props:Pt,emits:Kt,setup(e,{slots:t,emit:o}){constl=be(jt),c=h=>{o("click",h)},{onClick:s,onMousedown:i,onMouseup:u}=We(e.customMaskEvent?void0:c);return()=>e.mask?j("div",{class:[l.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:s,onMousedown:i,onMouseup:u},[Y(t,"default")],se.STYLE|se.CLASS|se.PROPS,["onC