import{Aasge,casSe,Basf0,CasPe,Daste,FasEe,Gasre,basIe,dasfe,iasv0,Iasp0,Jasm0,Kasg0,_asXe,Lash0,UasWe,aasy0,NasC0,Oasb0,Pas_0,QasGe,Rasze,Sasx0,easw0,Vask0,pasve,masL0,sasS0,WasE0,EasAe,XasM0,YasT0,ZasI0,$as$0,a0asB0,a1asD0,a2asN0}from"./cross-icon.pjENI24y.js";import{$asR0,oashe,a0asje,easO0,Pasle,Ias$e,a1asU0,SasMe,a2asY0,a3aswe,dasne,zasP,Easz,gasoe,GasR,casJ,tas_,vask,xasr,KasY,Hasl,yasU,AasV,a4asV0,Jaspe,LasF,ZasQe,a5asKe,rasx,Uasye,a6asH0,a7asP0,a8asG0,FasJe,Masz0,a9asK0,aaase0,QasCe,abast0,acasZ0,adasq0,aeasF0,afasX0,agaso0,ahass0,aiasW0,Xasl0,NasX,Basse,ajasj0,CasBe,DasDe,uasQ0,akasJ0,Oasme,Tasie,Wase2,Rast2,Vaso2}from"./entry.yjShUjP-.js";import{_asNe}from"./_plugin-vue_export-helper.x3n3nnut.js";letce;consts2=e=>{vart;if(!ge)return0;if(ce!==void0)returnce;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";constn=document.createElement("div");n.style.width="100%",o.appendChild(n);consti=n.offsetWidth;return(t=o.parentNode)==null||t.removeChild(o),ce=s-i,ce},l2=(...e)=>t=>{e.forEach(o=>{R0(o)?o(t):o.value=t})};varue=(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))(ue||{});constn2=(e,t,o)=>{lets={offsetX:0,offsetY:0};constn=c=>{constv=c.clientX,m=c.clientY,{offsetX:y,offsetY:C}=s,f=e.value.getBoundingClientRect(),a=f.left,h=f.top,E=f.width,D=f.height,S=document.documentElement.clientWidth,M=document.documentElement.clientHeight,$=-a+y,L=-h+C,N=S-a-E+y,O=M-h-D+C,b=I=>{constu=Math.min(Math.max(y+I.clientX-v,$),N),T=Math.min(Math.max(C+I.clientY-m,L),O);s={offsetX:u,offsetY:T},e.value&&(e.value.style.transform=`translate(${Se(u)}, ${Se(T)})`)},w=()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",w)},i=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",n)},d=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",n)};he(()=>{je(()=>{o.value?i():d()})}),O0(()=>{d()})},a2=(e,t={})=>{le(e)||f0("[useLockscreen]","You need to pass a ref param to this function");consto=t.ns||$e("popup"),s=U0(()=>o.bm("parent","hidden"));if(!ge||Pe(document.body,s.value))return;letn=0,i=!1,d="0";constc=()=>{setTimeout(()=>{re(document==null?void0:document.body,s.value),i&&document&&(document.body.style.width=d)},200)};Me(e,v=>{if(!v){c();return}i=!Pe(document.body,s.value),i&&(d=document.body.style.width),n=s2(o.namespace.value);constm=document.documentElement.clientHeight<document.body.scrollHeight,y=te(document.body,"overflowY");n>0&&(m||y==="scroll")&&i&&(document.body.style.width=`calc(100% - ${n}px)`),Ee(document.body,s.value)}),Y0(()=>c())},n0=e=>{if(!e)return{onClick:we,onMousedown:we,onMouseup:we};lett=!1,o=!1;return{onClick:d=>{t&&o&&e(d),t=o=!1},onMousedown:d=>{t=d.target===d.currentTarget},onMouseup:d=>{o=d.target===d.currentTarget}}},A2=Ie({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:fe([String,Array,Object])},zIndex:{type:fe([String,Number])}}),i2={click:e=>einstanceofMouseEvent},r2="overlay";varc2=ne({name:"ElOverlay",props:A2,emits:i2,setup(e,{slots:t,emit:o}){consts=$e(r2),n=v=>{o("click",v)},{onClick:i,onMousedown:d,onMouseup:c}=n0(e.customMaskEvent?void0:n);return()=>e.mask?P("div",{class:[s.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:d,onMouseup:c},[z(t,"de