=W&&(a.value=F0(U,0,t.value.length-u.value)),_=w}function D(P){if(!o.value)return;const w=H(P);o.value.scrollTop=w}const A=z(()=>Math.min(t.value.length,a.value+u.value)),y=z(()=>t.value.slice(a.value,A.value).map((P,w)=>({raw:P,index:w+a.value}))),R=z(()=>H(a.value)),b=z(()=>H(t.value.length)-H(A.value));return H1(()=>t.value.length,()=>{h=Ys(t.value.length).map(()=>n.value),d.forEach((P,w)=>{const O=t.value.indexOf(w);O===-1?d.delete(w):h[O]=P})}),{containerRef:o,computedItems:y,itemHeight:n,paddingTop:R,paddingBottom:b,scrollToIndex:D,handleScroll:S,handleItemResize:V}}const mb1=N1({items:{type:Array,default:()=>[]},renderless:Boolean,...db1(),...a2(),...Vi()},"VVirtualScroll"),FX=Z1()({name:"VVirtualScroll",props:mb1(),setup(e,t){let{slots:i}=t;const a=Ye("VVirtualScroll"),{dimensionStyles:r}=fi(e),{containerRef:n,handleScroll:o,handleItemResize:l,scrollToIndex:c,paddingTop:m,paddingBottom:d,computedItems:h}=Cb1(e,z1(e,"items"));return _a(()=>e.renderless,()=>{R2(()=>{var u;n.value=IT(a.vnode.el,!0),(u=n.value)==null||u.addEventListener("scroll",o)}),a5(()=>{var u;(u=n.value)==null||u.removeEventListener("scroll",o)})}),Y1(()=>{const u=h.value.map(V=>N(cb1,{key:V.index,renderless:e.renderless,"onUpdate:height":H=>l(V.index,H)},{default:H=>{var f;return(f=i.default)==null?void 0:f.call(i,{item:V.raw,index:V.index,...H})}}));return e.renderless?N(w1,null,[N("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:X1(m.value)}},null),u,N("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:X1(d.value)}},null)]):N("div",{ref:n,class:["v-virtual-scroll",e.class],onScroll:o,style:[r.value,e.style]},[N("div",{class:"v-virtual-scroll__container",style:{paddingTop:X1(m.value),paddingBottom:X1(d.value)}},[u])])}),{scrollToIndex:c}}});function BX(e,t){const i=K1(!1);let a;function r(l){cancelAnimationFrame(a),i.value=!0,a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{i.value=!1})})}async function n(){await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>{if(i.value){const c=H1(i,()=>{c(),l()})}else l()})}async function o(l){var d,h;if(l.key==="Tab"&&((d=t.value)==null||d.focus()),!["PageDown","PageUp","Home","End"].includes(l.key))return;const c=(h=e.value)==null?void 0:h.$el;if(!c)return;(l.key==="Home"||l.key==="End")&&c.scrollTo({top:l.key==="Home"?0:c.scrollHeight,behavior:"smooth"}),await n();const m=c.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(l.key==="PageDown"||l.key==="Home"){const u=c.getBoundingClientRect().top;for(const V of m)if(V.getBoundingClientRect().top>=u){V.focus();break}}else{const u=c.getBoundingClientRect().bottom;for(const V of[...m].reverse())if(V.getBoundingClientRect().bottom<=u){V.focus();break}}}return{onListScroll:r,onListKeydown:o}}const kX=N1({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:U2,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...EX({itemChildren:!1})},"Select"),hb1=N1({...kX(),...Na(Lh({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...l6({transition:{component:sh}})},"VSelect"),B8=Z1()({name:"VSelect",props:hb1(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:i}=t;const{t:a}=Qs(),r=q(),n=q(),o=q(),l=k2(e,"menu"),c=z({get:()=>l.value,set:k=>{var t1;l.value&&!k&&((t1=n.value)==null?void 0:t1.\u03A8openChildren)||(l.value=k)}}),{items:m,transformIn:d,transformOut:h}=IX(e),u=k2(e,"modelValue",[],k=>d(k===null?[null]:G0(k)),k=>{var j;const t1=h(k);return e.multiple?t1:(j=t1[0])!=null?j:null}),V=ch(),H=z(()=>u.value.map(k=>k.value)),f=K1(!1),_=z(()=>c.value?e.closeText:e.openText);let S="",D;const A=z(()=>e.hideSelected?m.value.filter(k=>!u.value.some(t1=>t1===k)):m.value),y=z(()=>e.hideNoData&&!m.value.length||e.readonly||(V==null?void 0:V.isReadonly.value)),R=q(),{onListScroll:b,onListKeydown:P}=BX(R,r);function w(k){e.openOnClear&&(c.value=!0)}function O(){y.value||(c.value=!c.value)}function B(k){var e1,m1;if(!k.key||e.readonly||(V==null?void 0:V.isReadonly.value))return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(k.key)&&k.preventDefault(),["Enter","ArrowDown"," "].includes(k.key)&&(c.value=!0),["Escape","Tab"].includes(k.key)&&(c.value=!1),k.key==="Home"?(e1=R.value)==null||e1.focus("first"):k.key==="End"&&((m1=R.value)==null||m1.focus("last"));const t1=1e3;function j(L1){const f1=L1.key.length===1,D1=!L1.ctrlKey&&!L1.metaKey&&!L1.altKey;return f1&&D1}if(e.multiple||!j(k))return;const p1=performance.now();p1-D>t1&&(S=""),S+=k.key.toLowerCase(),D=p1;const i1=m.value.find(L1=>L1.title.toLowerCase().startsWith(S));i1!==void 0&&(u.value=[i1])}function Z(k){if(e.multiple){const t1=u.value.findIndex(j=>e.valueComparator(j.value,k.value));if(t1===-1)u.value=[...u.value,k];else{const j=[...u.value];j.splice(t1,1),u.value=j}}else u.value=[k],c.value=!1}function U(k){var t1;(t1=R.value)!=null&&t1.$el.contains(k.relatedTarget)||(c.value=!1)}function W(){var k;f.value&&((k=r.value)==null||k.focus())}function G(k){f.value=!0}function K(k){if(k==null)u.value=[];else if(_8(r.value,":autofill")||_8(r.value,":-webkit-autofill")){const t1=m.value.find(j=>j.title===k);t1&&Z(t1)}else r.value&&(r.value.value="")}return H1(c,()=>{if(!e.hideSelected&&c.value&&u.value.length){const k=A.value.findIndex(t1=>u.value.some(j=>e.valueComparator(j.value,t1.value)));ne&&window.requestAnimationFrame(()=>{var t1;k>=0&&((t1=o.value)==null||t1.scrollToIndex(k))})}}),Y1(()=>{const k=!!(e.chips||i.chip),t1=!!(!e.hideNoData||A.value.length||i["prepend-item"]||i["append-item"]||i["no-data"]),j=u.value.length>0,[p1]=h5.filterProps(e),i1=j||!f.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return N(h5,t2({ref:r},p1,{modelValue:u.value.map(e1=>e1.props.value).join(", "),"onUpdate:modelValue":K,focused:f.value,"onUpdate:focused":e1=>f.value=e1,validationValue:u.externalValue,dirty:j,class:["v-select",{"v-select--active-menu":c.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":u.value.length,"v-select--selection-slot":!!i.selection},e.class],style:e.style,inputmode:"none",placeholder:i1,"onClick:clear":w,"onMousedown:control":O,onBlur:U,onKeydown:B,"aria-label":a(_.value),title:a(_.value)}),{...i,default:()=>N(w1,null,[N(xX,t2({ref:n,modelValue:c.value,"onUpdate:modelValue":e1=>c.value=e1,activator:"parent",contentClass:"v-select__content",disabled:y.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:W},e.menuProps),{default:()=>{var e1;return[t1&&N(F8,{ref:R,selected:H.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:m1=>m1.preventDefault(),onKeydown:P,onFocusin:G,onScrollPassive:b,tabindex:"-1",color:(e1=e.itemColor)!=null?e1:e.color},{default:()=>{var m1,L1,f1,D1;return[(m1=i["prepend-item"])==null?void 0:m1.call(i),!A.value.length&&!e.hideNoData&&((f1=(L1=i["no-data"])==null?void 0:L1.call(i))!=null?f1:N(it,{title:a(e.noDataText)},null)),N(FX,{ref:o,renderless:!0,items:A.value},{default:c1=>{var s1,F;let{item:n1,index:y1,itemRef:r1}=c1;const a1=t2(n1.props,{ref:r1,key:y1,onClick:()=>Z(n1)});return(F=(s1=i.item)==null?void 0:s1.call(i,{item:n1,index:y1,props:a1}))!=null?F:N(it,a1,{prepend:Y=>{let{isSelected:J}=Y;return N(w1,null,[e.multiple&&!e.hideSelected?N(I8,{key:n1.value,modelValue:J,ripple:!1,tabindex:"-1"},null):void 0,n1.props.prependIcon&&N(ie,{icon:n1.props.prependIcon},null)])}})}}),(D1=i["append-item"])==null?void 0:D1.call(i)]}})]}}),u.value.map((e1,m1)=>{var D1,c1;function L1(n1){n1.stopPropagation(),n1.preventDefault(),Z(e1)}const f1={"onClick:close":L1,onMousedown(n1){n1.preventDefault(),n1.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return N("div",{key:e1.value,class:"v-select__selection"},[k?i.chip?N(Ze,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:e1.title}}},{default:()=>{var n1;return[(n1=i.chip)==null?void 0:n1.call(i,{item:e1,index:m1,props:f1})]}}):N(DX,t2({key:"chip",closable:e.closableChips,size:"small",text:e1.title},f1),null):(c1=(D1=i.selection)==null?void 0:D1.call(i,{item:e1,index:m1}))!=null?c1:N("span",{class:"v-select__selection-text"},[e1.title,e.multiple&&m1 =X&&(a.value=F0(U,0,t.value.length-u.value)),_=w}function D(P){if(!o.value)return;const w=H(P);o.value.scrollTop=w}const A=z(()=>Math.min(t.value.length,a.value+u.value)),y=z(()=>t.value.slice(a.value,A.value).map((P,w)=>({raw:P,index:w+a.value}))),R=z(()=>H(a.value)),b=z(()=>H(t.value.length)-H(A.value));return H1(()=>t.value.length,()=>{h=Ys(t.value.length).map(()=>n.value),d.forEach((P,w)=>{const O=t.value.indexOf(w);O===-1?d.delete(w):h[O]=P})}),{containerRef:o,computedItems:y,itemHeight:n,paddingTop:R,paddingBottom:b,scrollToIndex:D,handleScroll:S,handleItemResize:V}}const mb1=N1({items:{type:Array,default:()=>[]},renderless:Boolean,...db1(),...a2(),...Vi()},"VVirtualScroll"),FX=Z1()({name:"VVirtualScroll",props:mb1(),setup(e,t){let{slots:i}=t;const a=Ye("VVirtualScroll"),{dimensionStyles:r}=fi(e),{containerRef:n,handleScroll:o,handleItemResize:l,scrollToIndex:c,paddingTop:m,paddingBottom:d,computedItems:h}=Cb1(e,z1(e,"items"));return _a(()=>e.renderless,()=>{R2(()=>{var u;n.value=IT(a.vnode.el,!0),(u=n.value)==null||u.addEventListener("scroll",o)}),a5(()=>{var u;(u=n.value)==null||u.removeEventListener("scroll",o)})}),Y1(()=>{const u=h.value.map(V=>N(cb1,{key:V.index,renderless:e.renderless,"onUpdate:height":H=>l(V.index,H)},{default:H=>{var f;return(f=i.default)==null?void 0:f.call(i,{item:V.raw,index:V.index,...H})}}));return e.renderless?N(w1,null,[N("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:X1(m.value)}},null),u,N("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:X1(d.value)}},null)]):N("div",{ref:n,class:["v-virtual-scroll",e.class],onScroll:o,style:[r.value,e.style]},[N("div",{class:"v-virtual-scroll__container",style:{paddingTop:X1(m.value),paddingBottom:X1(d.value)}},[u])])}),{scrollToIndex:c}}});function BX(e,t){const i=K1(!1);let a;function r(l){cancelAnimationFrame(a),i.value=!0,a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{i.value=!1})})}async function n(){await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>requestAnimationFrame(l)),await new Promise(l=>{if(i.value){const c=H1(i,()=>{c(),l()})}else l()})}async function o(l){var d,h;if(l.key==="Tab"&&((d=t.value)==null||d.focus()),!["PageDown","PageUp","Home","End"].includes(l.key))return;const c=(h=e.value)==null?void 0:h.$el;if(!c)return;(l.key==="Home"||l.key==="End")&&c.scrollTo({top:l.key==="Home"?0:c.scrollHeight,behavior:"smooth"}),await n();const m=c.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(l.key==="PageDown"||l.key==="Home"){const u=c.getBoundingClientRect().top;for(const V of m)if(V.getBoundingClientRect().top>=u){V.focus();break}}else{const u=c.getBoundingClientRect().bottom;for(const V of[...m].reverse())if(V.getBoundingClientRect().bottom<=u){V.focus();break}}}return{onListScroll:r,onListKeydown:o}}const kX=N1({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:x2,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...EX({itemChildren:!1})},"Select"),hb1=N1({...kX(),...Na(Lh({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...l6({transition:{component:sh}})},"VSelect"),B8=Z1()({name:"VSelect",props:hb1(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:i}=t;const{t:a}=Qs(),r=q(),n=q(),o=q(),l=k2(e,"menu"),c=z({get:()=>l.value,set:k=>{var t1;l.value&&!k&&((t1=n.value)==null?void 0:t1.\u03A8openChildren)||(l.value=k)}}),{items:m,transformIn:d,transformOut:h}=IX(e),u=k2(e,"modelValue",[],k=>d(k===null?[null]:G0(k)),k=>{var j;const t1=h(k);return e.multiple?t1:(j=t1[0])!=null?j:null}),V=ch(),H=z(()=>u.value.map(k=>k.value)),f=K1(!1),_=z(()=>c.value?e.closeText:e.openText);let S="",D;const A=z(()=>e.hideSelected?m.value.filter(k=>!u.value.some(t1=>t1===k)):m.value),y=z(()=>e.hideNoData&&!m.value.length||e.readonly||(V==null?void 0:V.isReadonly.value)),R=q(),{onListScroll:b,onListKeydown:P}=BX(R,r);function w(k){e.openOnClear&&(c.value=!0)}function O(){y.value||(c.value=!c.value)}function B(k){var e1,m1;if(!k.key||e.readonly||(V==null?void 0:V.isReadonly.value))return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(k.key)&&k.preventDefault(),["Enter","ArrowDown"," "].includes(k.key)&&(c.value=!0),["Escape","Tab"].includes(k.key)&&(c.value=!1),k.key==="Home"?(e1=R.value)==null||e1.focus("first"):k.key==="End"&&((m1=R.value)==null||m1.focus("last"));const t1=1e3;function j(L1){const f1=L1.key.length===1,D1=!L1.ctrlKey&&!L1.metaKey&&!L1.altKey;return f1&&D1}if(e.multiple||!j(k))return;const p1=performance.now();p1-D>t1&&(S=""),S+=k.key.toLowerCase(),D=p1;const i1=m.value.find(L1=>L1.title.toLowerCase().startsWith(S));i1!==void 0&&(u.value=[i1])}function Z(k){if(e.multiple){const t1=u.value.findIndex(j=>e.valueComparator(j.value,k.value));if(t1===-1)u.value=[...u.value,k];else{const j=[...u.value];j.splice(t1,1),u.value=j}}else u.value=[k],c.value=!1}function U(k){var t1;(t1=R.value)!=null&&t1.$el.contains(k.relatedTarget)||(c.value=!1)}function X(){var k;f.value&&((k=r.value)==null||k.focus())}function G(k){f.value=!0}function K(k){if(k==null)u.value=[];else if(_8(r.value,":autofill")||_8(r.value,":-webkit-autofill")){const t1=m.value.find(j=>j.title===k);t1&&Z(t1)}else r.value&&(r.value.value="")}return H1(c,()=>{if(!e.hideSelected&&c.value&&u.value.length){const k=A.value.findIndex(t1=>u.value.some(j=>e.valueComparator(j.value,t1.value)));ne&&window.requestAnimationFrame(()=>{var t1;k>=0&&((t1=o.value)==null||t1.scrollToIndex(k))})}}),Y1(()=>{const k=!!(e.chips||i.chip),t1=!!(!e.hideNoData||A.value.length||i["prepend-item"]||i["append-item"]||i["no-data"]),j=u.value.length>0,[p1]=h5.filterProps(e),i1=j||!f.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return N(h5,t2({ref:r},p1,{modelValue:u.value.map(e1=>e1.props.value).join(", "),"onUpdate:modelValue":K,focused:f.value,"onUpdate:focused":e1=>f.value=e1,validationValue:u.externalValue,dirty:j,class:["v-select",{"v-select--active-menu":c.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":u.value.length,"v-select--selection-slot":!!i.selection},e.class],style:e.style,inputmode:"none",placeholder:i1,"onClick:clear":w,"onMousedown:control":O,onBlur:U,onKeydown:B,"aria-label":a(_.value),title:a(_.value)}),{...i,default:()=>N(w1,null,[N(xX,t2({ref:n,modelValue:c.value,"onUpdate:modelValue":e1=>c.value=e1,activator:"parent",contentClass:"v-select__content",disabled:y.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:X},e.menuProps),{default:()=>{var e1;return[t1&&N(F8,{ref:R,selected:H.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:m1=>m1.preventDefault(),onKeydown:P,onFocusin:G,onScrollPassive:b,tabindex:"-1",color:(e1=e.itemColor)!=null?e1:e.color},{default:()=>{var m1,L1,f1,D1;return[(m1=i["prepend-item"])==null?void 0:m1.call(i),!A.value.length&&!e.hideNoData&&((f1=(L1=i["no-data"])==null?void 0:L1.call(i))!=null?f1:N(it,{title:a(e.noDataText)},null)),N(FX,{ref:o,renderless:!0,items:A.value},{default:c1=>{var s1,F;let{item:n1,index:y1,itemRef:r1}=c1;const a1=t2(n1.props,{ref:r1,key:y1,onClick:()=>Z(n1)});return(F=(s1=i.item)==null?void 0:s1.call(i,{item:n1,index:y1,props:a1}))!=null?F:N(it,a1,{prepend:Y=>{let{isSelected:J}=Y;return N(w1,null,[e.multiple&&!e.hideSelected?N(I8,{key:n1.value,modelValue:J,ripple:!1,tabindex:"-1"},null):void 0,n1.props.prependIcon&&N(ie,{icon:n1.props.prependIcon},null)])}})}}),(D1=i["append-item"])==null?void 0:D1.call(i)]}})]}}),u.value.map((e1,m1)=>{var D1,c1;function L1(n1){n1.stopPropagation(),n1.preventDefault(),Z(e1)}const f1={"onClick:close":L1,onMousedown(n1){n1.preventDefault(),n1.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return N("div",{key:e1.value,class:"v-select__selection"},[k?i.chip?N(Ze,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:e1.title}}},{default:()=>{var n1;return[(n1=i.chip)==null?void 0:n1.call(i,{item:e1,index:m1,props:f1})]}}):N(DX,t2({key:"chip",closable:e.closableChips,size:"small",text:e1.title},f1),null):(c1=(D1=i.selection)==null?void 0:D1.call(i,{item:e1,index:m1}))!=null?c1:N("span",{class:"v-select__selection-text"},[e1.title,e.multiple&&m1
")),g9(M)}let l0;var k3=new WeakMap;class Z2{constructor(){if(c(this,k3,{writable:!0,value:void 0}),typeof window>"u")return;l0=this;for(var v=arguments.length,E=new Array(v),$=0;$