1import{aa as A,ab as B,a4 as c,ad as D,j as n,D as Y,aS as G,k as l,t as F,C as P,ag as E,ac as de,ai as ue,aD as H,c as C,s as R,aM as ce,aL as ve,a0 as fe,F as me,at as be,ae as ge,bm as $,aw as T,aR as ye,bd as Ce,ah as he,a3 as Ie}from"./4q2j15kc.js";import{a as _e,b as ke}from"./Cxjosb4T.js";import{M as xe,m as Ve}from"./yfNewbGF.js";import{a as Se,b as Fe,u as Pe,c as Be}from"./BFMp1LON.js";import{u as Le,L as we,b as Re}from"./RjVWlg9E.js";import{a as $e,m as Te,V as Ae}from"./B-is6T78.js";import{n as De,c as Ee}from"./Bp8UhPEC.js";const Me=B({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...E(),...Ve({transition:{component:_e}})},"VCounter"),Ge=A()({name:"VCounter",functional:!0,props:Me(),setup(e,i){let{slots:t}=i;const s=c(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return D(()=>n(xe,{transition:e.transition},{default:()=>[Y(l("div",{class:P(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:F(e.style)},[t.default?t.default({counter:s.value,max:e.max,value:e.value}):s.value]),[[G,e.active]])]})),{}}}),Ne=B({floating:Boolean,...E()},"VFieldLabel"),S=A()({name:"VFieldLabel",props:Ne(),setup(e,i){let{slots:t}=i;return D(()=>n(Se,{class:P(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:F(e.style)},t)),{}}}),Oe=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],qe=B({appendInnerIcon:T,bgColor:String,clearable:Boolean,clearIcon:{type:T,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:T,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Oe.includes(e)},"onClick:clear":$(),"onClick:appendInner":$(),"onClick:prependInner":$(),...E(),...Re(),...Te(),...ge()},"VField"),He=A()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,labelId:String,...Fe(),...qe()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,i){let{attrs:t,emit:s,slots:a}=i;const{themeClasses:v}=de(e),{loaderClasses:J}=Le(e),{focusClasses:K,isFocused:L,focus:h,blur:I}=Pe(e),{InputIcon:w}
1=Be(e),{roundedClasses:Q}=$e(e),{rtlClasses:Z}=ue(),r=c(()=>e.dirty||e.active),M=c(()=>!!(e.label||a.label)),g=c(()=>!e.singleLine&&M.value),ee=H(),d=C(()=>e.id||`input-${ee}`),N=c(()=>e.details?`${d.value}-messages`:void 0),O=R(),_=R(),q=R(),U=C(()=>["plain","underlined"].includes(e.variant)),p=C(()=>e.error||e.disabled?void 0:r.value&&L.value?e.color:e.baseColor),k=C(()=>{if(!(!e.iconColor||e.glow&&!L.value))return e.iconColor===!0?p.value:e.iconColor}),{backgroundColorClasses:ae,backgroundColorStyles:le}=ce(()=>e.bgColor),{textColorClasses:z,textColorStyles:W}=ve(p);fe(r,b=>{if(g.value&&!ye()){const u=O.value.$el,f=_.value.$el;requestAnimationFrame(()=>{const m=De(u),o=f.getBoundingClientRect(),x=o.x-m.x,V=o.y-m.y-(m.height/2-o.height/2),j=o.width/.75,te=Math.abs(j-m.width)>1?{maxWidth:he(j)}:void 0,oe=getComputedStyle(u),X=getComputedStyle(f),ie=parseFloat(oe.transitionDuration)*1e3||150,se=parseFloat(X.getPropertyValue("--v-field-label-scale")),re=X.getPropertyValue("color");u.style.visibility="visible",f.style.visibility="hidden",Ee(u,{transform:`translate(${x}px, ${V}px) scale(${se})`,color:re,...te},{duration:ie,easing:Ce,direction:b?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),f.style.removeProperty("visibility")})})}},{flush:"post"});const y=C(()=>({isActive:r,isFocused:L,controlRef:q,iconColor:k,blur:I,focus:h}));function ne(b){b.target!==document.activeElement&&b.preventDefault()}return D(()=>{var x;const b=e.variant==="outlined",u=!!(a["prepend-inner"]||e.prependInnerIcon),f=!!(e.clearable||a.clear)&&!e.disabled,m=!!(a["append-inner"]||e.appendInnerIcon||f),o=()=>a.label?a.label({...y.value,label:e.label,props:{for:d.value}}):e.label;return l("div",be({class:["v-field",{"v-field--active":r.value,"v-field--appended":m,"v-field--center-affix":e.centerAffix??!U.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!o(),[`v-field--variant-${e.variant}`]:!0},v.value,ae.value,K.value,J.value,Q.value,Z.value,e.class],style:[le.value,e.style],onClick:ne},t),[l("div",{class:"v-field__overlay"},null),n(we,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),u&&l("div",{key:"prepend",class:"v-field__prepend-inner"},[a["prepend-inner"]?a["prepend-inner"](y.value):e.prependInnerIcon&&n(w,{key:"prepend-icon",name:"prependInner",color:k.value},null)]),l("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&n(S,{key:"floating-label",ref:_,class:P([z.value]),floating:!0,for:d.value,"aria-hidden":!r.value,style:F(W.value)},{default:()=>[o()]}),M.value&&n(S,{key:"label",ref:O,id:e.labelId,for:d.value,"aria-hidden":g.value&&r.value},{default:()=>[o()]}),((x=a.default)==null?void 0:x.call(a,{...y.value,props:{id:d.value,class:"v-field__input","aria-describedby":N.value},focus:h,blur:I}))??l("div",{id:d.value,class:"v-field__input","aria-describedby":N.value},null)]),f&&n(ke,{key:"clear"},{default:()=>[Y(l("div",{class:"v-field__clearable",onMousedown:V=>{V.preventDefault(),V.stopPropagation()}},[n(Ae,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[a.clear?a.clear({...y.value,props:{onFocus:h,onBlur:I,onClick:e["onClick:clear"],tabindex:-1}}):n(w,{name:"clear",onFocus:h,onBlur:I,tabindex:-1},null)]})]),[[G,e.dirty]])]}),m&&l("div",{key:"append",class:"v-field__append-inner"},[a["append-inner"]?a["append-inner"](y.value):e.appendInnerIcon&&n(w,{key:"append-icon",name:"appendInner",color:k.value},null)]),l("div",{class:P(["v-field__outline",z.value]),style:F(W.value)},[b&&l(me,null,[l("div",{class:"v-field__outline__start"},null),g.value&&l("div",{class:"v-field__outline__notch"},[n(S,{ref:_,floating:!0,for:d.value,"aria-hidden":!r.value},{default:()=>[o()]})]),l("div",{class:"v-field__outline__end"},null)]),U.value&&g.value&&n(S,{ref:_,floating:!0,for:d.value,"aria-hidden":!r.value},{default:()=>[o()]})])])}),{controlRef:q,fieldIconColor:k}}}),Je=B({autocomplete:String},"autocomplete");function Ke(e){const i=H(),t=Ie(0),s=c(()=>e.autocomplete==="suppress"),a=c(()=>
1{if(e.name)return s.value?`${e.name}-${i}-${t.value}`:e.name}),v=c(()=>s.value?"off":e.autocomplete);return{isSuppressing:s,fieldAutocomplete:v,fieldName:a,update:()=>t.value=new Date().getTime()}}function Qe(e){function i(t,s){if(!e.autofocus||!t)return;const a=s[0].target,v=a.matches("input,textarea")?a:a.querySelector("input,textarea");v==null||v.focus()}return{onIntersect:i}}export{He as V,Je as a,Ge as b,Qe as c,qe as m,Ke as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.