import{xasg2,casS2,yasf0,zasP2,Aast2,BasE2,Casr2,bas$2,dasf2,iasv0,Dasp0,Fasm0,Gasg0,_asX2,IasC0,UasW2,aash0,Jasy0,Kasb0,Lasx0,Nasz2,OasG2,Pas_0,easw0,Qask0,qasv2,masL0,rasS0,RasE0,EasA2,SasM0,VasT0,Was$0,XasI0,YasB0,ZasD0,$asN0}from"./cross-icon.tzhX1dbg.js";import{$asR0,oasC2,a0asj2,easO0,Nasl2,IasI2,a1asU0,SasM2,a2asY0,a3asw2,dasn2,zasP,EasG,gaso2,GasR,casJ,tasx,vask,xasr,KasY,Hasl,yasU,AasV,a4asV0,Jasp2,LasF,ZasQ2,a5asK2,ras_,Uash2,a6asH0,a7asP0,a8asz0,FasJ2,MasG0,a9asK0,aaase0,Qasy2,abast0,acasZ0,adasq0,aeasF0,afasX0,agaso0,ahass0,aiasW0,Xasl0,OasX,Bass2,ajasj0,CasB2,DasD2,uasQ0,akasJ0,Pasm2,Tasi2,Wasee,Raste,Vasoe}from"./entry.hKhOL-an.js";import{_asN2}from"./_plugin-vue_export-helper.8j8P8v_2.js";letc2;constse=e=>{vart;if(!g2)return0;if(c2!==void0)returnc2;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),c2=s-i,c2},le=(...e)=>t=>{e.forEach(o=>{R0(o)?o(t):o.value=t})};varu2=(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))(u2||{});constne=(e,t,o)=>{lets={offsetX:0,offsetY:0};constn=c=>{constv=c.clientX,m=c.clientY,{offsetX:h,offsetY:y}=s,f=e.value.getBoundingClientRect(),a=f.left,C=f.top,E=f.width,D=f.height,S=document.documentElement.clientWidth,M=document.documentElement.clientHeight,I=-a+h,L=-C+y,N=S-a-E+h,O=M-C-D+y,b=$=>{constu=Math.min(Math.max(h+$.clientX-v,I),N),T=Math.min(Math.max(y+$.clientY-m,L),O);s={offsetX:u,offsetY:T},e.value&&(e.value.style.transform=`translate(${S2(u)}, ${S2(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)};C2(()=>{j2(()=>{o.value?i():d()})}),O0(()=>{d()})},ae=(e,t={})=>{l2(e)||f0("[useLockscreen]","You need to pass a ref param to this function");consto=t.ns||I2("popup"),s=U0(()=>o.bm("parent","hidden"));if(!g2||P2(document.body,s.value))return;letn=0,i=!1,d="0";constc=()=>{setTimeout(()=>{r2(document==null?void0:document.body,s.value),i&&document&&(document.body.style.width=d)},200)};M2(e,v=>{if(!v){c();return}i=!P2(document.body,s.value),i&&(d=document.body.style.width),n=se(o.namespace.value);constm=document.documentElement.clientHeight<document.body.scrollHeight,h=t2(document.body,"overflowY");n>0&&(m||h==="scroll")&&i&&(document.body.style.width=`calc(100% - ${n}px)`),E2(document.body,s.value)}),Y0(()=>c())},n0=e=>{if(!e)return{onClick:w2,onMousedown:w2,onMouseup:w2};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}}},Ae=$2({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:f2([String,Array,Object])},zIndex:{type:f2([String,Number])}}),ie={click:e=>einstanceofMouseEvent},re="overlay";varce=n2({name:"ElOverlay",props:Ae,emits:ie,setup(e,{slots:t,emit:o}){consts=I2(re),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},[G(t,"defau