import{aKasJe,jasd,Naswt,c4asSt,JasIe,basCt,iasEe,bQas_e,aSasIt,RasL,a5asEt,bqasNt,bZaset,akasje,daszt,bRasMt,bFasPt,aasUe,aQasNe,a7askt,Dasce,GasVt,PasH,HasTt,a9asLt,oasc,casP,gasv,Masze,nash,faso,hasee,qasD,easE,wasj,rasU,EasW,YasWe,aLasde,aUasK,alasfe,aaasve,yasY,btasRt,a3asKe,c5asBt,c6asOt,c7as$t,a8asFt,lasAt}from"./index-qX-n478y.js";import{Uaspe,CasYe,IasMe,rasGt,casXe}from"./raf-D_6iDDv9.js";import{uasHt,aasDt}from"./index-L-nYG2YU.js";import{basjt,dasUt,easWt,casKt}from"./index-CsmH9aOV.js";import{uasYt}from"./index-Bv5P4D1b.js";constXt=["class","style"],qt=/^on[A-Z]/,Qt=(e={})=>{const{excludeListeners:r=!1,excludeKeys:I}=e,t=d(()=>((I==null?void0:I.value)||[]).concat(Xt)),l=wt();returnl?d(()=>{varu;returnSt(Object.entries((u=l.proxy)==null?void0:u.$attrs).filter(([p])=>!t.value.includes(p)&&!(r&&qt.test(p))))}):(Je("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),d(()=>({})))};functionZt(e){letr;functionI(){if(e.value==null)return;const{selectionStart:l,selectionEnd:u,value:p}=e.value;l==null||u==null||(r={selectionStart:l,selectionEnd:u,value:p,beforeTxt:p.slice(0,Math.max(0,l)),afterTxt:p.slice(Math.max(0,u))})}functiont(){if(e.value==null||r==null)return;const{value:l}=e.value,{beforeTxt:u,afterTxt:p,selectionStart:g}=r;if(u==null||p==null||g==null)return;letN=l.length;if(l.endsWith(p))N=l.length-p.length;elseif(l.startsWith(u))N=u.length;else{constR=u[g-1],b=l.indexOf(R,g-1);b!==-1&&(N=b+1)}e.value.setSelectionRange(N,N)}return[I,t]}constJt=Ct({id:{type:String,default:void0},size:It,disabled:{type:Boolean,default:void0},modelValue:{type:L([String,Number,Object]),default:""},modelModifiers:{type:L(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:L(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L([Boolean,Object]),default:!1},autocomplete:{type:L(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ee,default:_e},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ee},prefixIcon:{type:Ee},containerRole:{type:String,default:void0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L([Object,Array,String,Boolean]),default:()=>Et({})},countGraphemes:{type:L(Function)},autofocus:Boolean,rows:{type:Number,default:2},...Yt(["ariaLabel"]),inputmode:{type:L(String),default:void0},name:String}),_t={[pe]:e=>Ie(e),input:e=>Ie(e),change:(e,r)=>Ie(e)&&(rinstanceofEvent||r===void0),focus:e=>einstanceofFocusEvent,blur:e=>einstanceofFocusEvent,clear:e=>e===void0||einstanceofMouseEvent,mouseleave:e=>einstanceofMouseEvent,mouseenter:e=>einstanceofMouseEvent,keydown:e=>einstanceofEvent,compositionstart:e=>einstanceofCompositionEvent,compositionupdate:e=>einstanceofCompositionEvent,compositionend:e=>einstanceofCompositionEvent};Nt(_e);lety;constea={height:"0",visibility:"hidden",overflow:et()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ta=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],qe=e=>{constr=Number.parseFloat(e);returnNumber.isNaN(r)?e:r};functionaa(e){constr=window.getComputedStyle(e),I=r.getPropertyValue("box-sizing"),t=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),l=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:ta.map(u=>[u,r.getPropertyValue(u)]),paddingSize:t,borderSize:l,boxSiz