diff --git a/dist/scss/main.scss b/dist/scss/main.scss index dc8ce6c..f3a7288 100644 --- a/dist/scss/main.scss +++ b/dist/scss/main.scss @@ -1,5 +1,5 @@ :root { - --vdt-border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)); + --vdt-border: thin solid rgb(var(--v-border-color) var(--v-border-opacity)); } %hover-children { @@ -13,7 +13,7 @@ &:hover { td { - background: rgba(var(--v-border-color), var(--v-hover-opacity)); + background: rgb(var(--v-border-color) var(--v-hover-opacity)); } } } @@ -46,7 +46,7 @@ &:hover { td { - background: rgba(var(--v-border-color), var(--v-hover-opacity)); + background: rgb(var(--v-border-color) var(--v-hover-opacity)); } } diff --git a/dist/vuetify-drilldown-table.cjs.js b/dist/vuetify-drilldown-table.cjs.js index 2c1913c..91bee1e 100644 --- a/dist/vuetify-drilldown-table.cjs.js +++ b/dist/vuetify-drilldown-table.cjs.js @@ -1,12 +1,12 @@ "use strict";/** * @name @wdns/vuetify-drilldown-table - * @version 1.1.0 + * @version 1.1.2 * @description The Vuetify Drilldown Table is a powerful component that enhances the functionality of the Vuetify framework's VDataTable and VDataTableServer. It provides a recursive table structure, allowing you to display hierarchical data in a nested format. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2024, WebDevNerdStuff * @homepage https://webdevnerdstuff.github.io/vuetify-drilldown-table/ * @repository https://github.com/webdevnerdstuff/vuetify-drilldown-table * @license MIT License - */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),qt=require("vuetify"),mr=Symbol("data");function R(e,n){return l=>Object.keys(e).reduce((o,a)=>{const r=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return o[a]=l&&a in l?{...r,default:l[a]}:r,n&&!o[a].source&&(o[a].source=n),o},{})}const ne=R({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),fe=typeof window<"u",Nl=fe&&"IntersectionObserver"in window;function an(e,n,l){const o=n.length-1;if(o<0)return e===void 0?l:e;for(let a=0;aEe(e[o],n[o]))}function rt(e,n,l){return e!=null&&n&&typeof n=="string"?e[n]!==void 0?e[n]:an(e,(n=(n=n.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),l):l}function me(e,n,l){if(n===!0)return e===void 0?l:e;if(n==null||typeof n=="boolean")return l;if(e!==Object(e)){if(typeof n!="function")return l;const a=n(e,l);return a===void 0?l:a}if(typeof n=="string")return rt(e,n,l);if(Array.isArray(n))return an(e,n,l);if(typeof n!="function")return l;const o=n(e,l);return o===void 0?l:o}function yt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(l,o)=>n+o)}function Z(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return e==null||e===""?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${n}`:void 0}function fl(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Pt(e){if(e&&"$el"in e){const n=e.$el;return(n==null?void 0:n.nodeType)===Node.TEXT_NODE?n.nextElementSibling:n}return e}const lo=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),oo=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function ll(e,n){return n.every(l=>e.hasOwnProperty(l))}function rn(e,n){const l={},o=new Set(Object.keys(e));for(const a of n)o.has(a)&&(l[a]=e[a]);return l}function no(e,n,l){const o=Object.create(null),a=Object.create(null);for(const r in e)n.some(i=>i instanceof RegExp?i.test(r):i===r)&&!(l!=null&&l.some(i=>i===r))?o[r]=e[r]:a[r]=e[r];return[o,a]}function Me(e,n){const l={...e};return n.forEach(o=>delete l[o]),l}const sn=/^on[^a-z]/,Nt=e=>sn.test(e),gr=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Fl(e){const[n,l]=no(e,[sn]),o=Me(n,gr),[a,r]=no(l,["class","style","id",/^data-/]);return Object.assign(a,n),Object.assign(r,o),[a,r]}function ve(e){return e==null?[]:Array.isArray(e)?e:[e]}function _e(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(n,Math.min(l,e))}function ao(e,n){return e+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,n-e.length))}function Ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const o={};for(const a in e)o[a]=e[a];for(const a in n){const r=e[a],i=n[a];fl(r)&&fl(i)?o[a]=Ue(r,i,l):Array.isArray(r)&&Array.isArray(i)&&l?o[a]=l(r,i):o[a]=i}return o}function un(e){return e.map(n=>n.type===t.Fragment?un(n.children):n).flat()}function Re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Re.cache.has(e))return Re.cache.get(e);const n=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Re.cache.set(e,n),n}function Ct(e,n){if(!n||typeof n!="object")return[];if(Array.isArray(n))return n.map(l=>Ct(e,l)).flat(1);if(Array.isArray(n.children))return n.children.map(l=>Ct(e,l)).flat(1);if(n.component){if(Object.getOwnPropertySymbols(n.component.provides).includes(e))return[n.component];if(n.component.subTree)return Ct(e,n.component.subTree).flat(1)}return[]}function _l(e){const n=t.reactive({}),l=t.computed(e);return t.watchEffect(()=>{for(const o in l.value)n[o]=l.value[o]},{flush:"sync"}),t.toRefs(n)}function Ft(e,n){return e.includes(n)}function ro(e){return e[2].toLowerCase()+e.slice(3)}Re.cache=new Map;const ye=()=>[Function,Array];function so(e,n){return!!(e[n="on"+t.capitalize(n)]||e[`${n}Once`]||e[`${n}Capture`]||e[`${n}OnceCapture`]||e[`${n}CaptureOnce`])}function ml(e){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const l=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(o=>`${o}${n?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(l)]}function cn(e,n,l){let o,a=e.indexOf(document.activeElement);const r=n==="next"?1:-1;do a+=r,o=e[a];while((!o||o.offsetParent==null||!((l==null?void 0:l(o))??1))&&a=0);return o}function _t(e,n){var o,a,r,i;const l=ml(e);if(n)if(n==="first")(o=l[0])==null||o.focus();else if(n==="last")(a=l.at(-1))==null||a.focus();else if(typeof n=="number")(r=l[n])==null||r.focus();else{const s=cn(l,n);s?s.focus():_t(e,n==="next"?"first":"last")}else e!==document.activeElement&&e.contains(document.activeElement)||((i=l[0])==null||i.focus())}function bt(e){return e==null||typeof e=="string"&&e.trim()===""}function At(e,n){if(!(fe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${n})`)))return null;try{return!!e&&e.matches(n)}catch{return null}}function dn(e){return e.some(n=>!t.isVNode(n)||n.type!==t.Comment&&(n.type!==t.Fragment||dn(n.children)))?e:null}const pn=["top","bottom"],hr=["start","end","left","right"];function gl(e,n){let[l,o]=e.split(" ");return o||(o=Ft(pn,l)?"start":Ft(hr,l)?"top":"center"),{side:io(l,n),align:io(o,n)}}function io(e,n){return e==="start"?n?"right":"left":e==="end"?n?"left":"right":e}function ol(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function nl(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function uo(e){return{side:e.align,align:e.side}}function co(e){return Ft(pn,e.side)?"y":"x"}class Le{constructor(n){let{x:l,y:o,width:a,height:r}=n;this.x=l,this.y=o,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function po(e,n){return{x:{before:Math.max(0,n.left-e.left),after:Math.max(0,e.right-n.right)},y:{before:Math.max(0,n.top-e.top),after:Math.max(0,e.bottom-n.bottom)}}}function vn(e){return Array.isArray(e)?new Le({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Al(e){const n=e.getBoundingClientRect(),l=getComputedStyle(e),o=l.transform;if(o){let a,r,i,s,u;if(o.startsWith("matrix3d("))a=o.slice(9,-1).split(/, /),r=+a[0],i=+a[5],s=+a[12],u=+a[13];else{if(!o.startsWith("matrix("))return new Le(n);a=o.slice(7,-1).split(/, /),r=+a[0],i=+a[3],s=+a[4],u=+a[5]}const c=l.transformOrigin,v=n.x-s-(1-r)*parseFloat(c),f=n.y-u-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),p=r?n.width/r:e.offsetWidth+1,d=i?n.height/i:e.offsetHeight+1;return new Le({x:v,y:f,width:p,height:d})}return new Le(n)}function qe(e,n,l){if(e.animate===void 0)return{finished:Promise.resolve()};let o;try{o=e.animate(n,l)}catch{return{finished:Promise.resolve()}}return o.finished===void 0&&(o.finished=new Promise(a=>{o.onfinish=()=>{a(o)}})),o}const wt=new WeakMap,He=2.4,vo=.2126729,fo=.7151522,mo=.072175,yr=.55,br=.58,wr=.57,Sr=.62,St=.03,go=1.45,kr=5e-4,xr=1.25,Cr=1.25,ho=.078,yo=12.82051282051282,kt=.06,bo=.001;function wo(e,n){const l=(e.r/255)**He,o=(e.g/255)**He,a=(e.b/255)**He,r=(n.r/255)**He,i=(n.g/255)**He,s=(n.b/255)**He;let u,c=l*vo+o*fo+a*mo,v=r*vo+i*fo+s*mo;if(c<=St&&(c+=(St-c)**go),v<=St&&(v+=(St-v)**go),Math.abs(v-c)c){const f=(v**yr-c**br)*xr;u=f-bo?0:f>-ho?f-f*yo*kt:f+kt}return 100*u}function nt(e){t.warn(`Vuetify: ${e}`)}function fn(e){t.warn(`Vuetify error: ${e}`)}function al(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const So=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Vr={rgb:(e,n,l,o)=>({r:e,g:n,b:l,a:o}),rgba:(e,n,l,o)=>({r:e,g:n,b:l,a:o}),hsl:(e,n,l,o)=>ko({h:e,s:n,l,a:o}),hsla:(e,n,l,o)=>ko({h:e,s:n,l,a:o}),hsv:(e,n,l,o)=>st({h:e,s:n,v:l,a:o}),hsva:(e,n,l,o)=>st({h:e,s:n,v:l,a:o})};function tt(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&nt(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e};if(typeof e=="string"&&So.test(e)){const{groups:n}=e.match(So),{fn:l,values:o}=n,a=o.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(l)?parseFloat(r)/100:parseFloat(r));return Vr[l](...a)}if(typeof e=="string"){let n=e.startsWith("#")?e.slice(1):e;[3,4].includes(n.length)?n=n.split("").map(o=>o+o).join(""):[6,8].includes(n.length)||nt(`'${e}' is not a valid hex(a) color`);const l=parseInt(n,16);return(isNaN(l)||l<0||l>4294967295)&&nt(`'${e}' is not a valid hex(a) color`),function(o){o=function(u){return u.startsWith("#")&&(u=u.slice(1)),u=u.replace(/([^0-9a-f])/gi,"F"),(u.length===3||u.length===4)&&(u=u.split("").map(c=>c+c).join("")),u.length!==6&&(u=ao(ao(u,6),8,"F")),u}(o);let[a,r,i,s]=function(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const v=[];let f=0;for(;fparseInt(u,16));return s=s===void 0?s:s/255,{r:a,g:r,b:i,a:s}}(n)}if(typeof e=="object"){if(ll(e,["r","g","b"]))return e;if(ll(e,["h","s","l"]))return st(mn(e));if(ll(e,["h","s","v"]))return st(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function st(e){const{h:n,s:l,v:o,a}=e,r=s=>{const u=(s+n/60)%6;return o-o*l*Math.max(Math.min(u,4-u,1),0)},i=[r(5),r(3),r(1)].map(s=>Math.round(255*s));return{r:i[0],g:i[1],b:i[2],a}}function ko(e){return st(mn(e))}function mn(e){const{h:n,s:l,l:o,a}=e,r=o+l*Math.min(o,1-o);return{h:n,s:r===0?0:2-2*o/r,v:r,a}}const Et=Symbol.for("vuetify:defaults");function El(){const e=t.inject(Et);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Ce(e,n){const l=El(),o=t.ref(e),a=t.computed(()=>{if(t.unref(n==null?void 0:n.disabled))return l.value;const r=t.unref(n==null?void 0:n.scoped),i=t.unref(n==null?void 0:n.reset),s=t.unref(n==null?void 0:n.root);if(o.value==null&&!(r||i||s))return l.value;let u=Ue(o.value,{prev:l.value});if(r)return u;if(i||s){const c=Number(i||1/0);for(let v=0;v<=c&&u&&"prev"in u;v++)u=u.prev;return u&&typeof s=="string"&&s in u&&(u=Ue(Ue(u,{prev:u}),u[s])),u}return u.prev?Ue(u.prev,u):u});return t.provide(Et,a),a}function Br(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:El();const o=ie("useDefaults");if(n=n??o.type.name??o.type.__name,!n)throw new Error("[Vuetify] Could not determine component name");const a=t.computed(()=>{var s;return(s=l.value)==null?void 0:s[e._as??n]}),r=new Proxy(e,{get(s,u){var v,f,p,d;const c=Reflect.get(s,u);return u==="class"||u==="style"?[(v=a.value)==null?void 0:v[u],c].filter(h=>h!=null):typeof u!="string"||function(h,g){var y,b;return((y=h.props)==null?void 0:y[g])!==void 0||((b=h.props)==null?void 0:b[Re(g)])!==void 0}(o.vnode,u)?c:((f=a.value)==null?void 0:f[u])??((d=(p=l.value)==null?void 0:p.global)==null?void 0:d[u])??c}}),i=t.shallowRef();return t.watchEffect(()=>{if(a.value){const s=Object.entries(a.value).filter(u=>{let[c]=u;return c.startsWith(c[0].toUpperCase())});i.value=s.length?Object.fromEntries(s):void 0}else i.value=void 0}),{props:r,provideSubDefaults:function(){const s=function(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ie("injectSelf");const{provides:v}=c;if(v&&u in v)return v[u]}(Et,o);t.provide(Et,t.computed(()=>i.value?Ue((s==null?void 0:s.value)??{},i.value):s==null?void 0:s.value))}}}function it(e){if(e._setup=e._setup??e.setup,!e.name)return nt("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=R(e.props??{},e.name)();const n=Object.keys(e.props).filter(l=>l!=="class"&&l!=="style");e.filterProps=function(l){return rn(l,n)},e.props._as=String,e.setup=function(l,o){const a=El();if(!a.value)return e._setup(l,o);const{props:r,provideSubDefaults:i}=Br(l,l._as??e.name,a),s=e._setup(r,o);return i(),s}}return e}function J(){let e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return n=>(e?it:t.defineComponent)(n)}function gn(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",l=arguments.length>2?arguments[2]:void 0;return J()({name:l??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:n},...ne()},setup(o,a){let{slots:r}=a;return()=>{var i;return t.h(o.tag,{class:[e,o.class],style:o.style},(i=r.default)==null?void 0:i.call(r))}}})}function hn(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const n=e.getRootNode();return n!==document&&n.getRootNode({composed:!0})!==document?null:n}const $t="cubic-bezier(0.4, 0, 0.2, 1)";function xo(e,n,l){return Object.keys(e).filter(o=>Nt(o)&&o.endsWith(n)).reduce((o,a)=>(o[a.slice(0,-n.length)]=r=>e[a](r,l(r)),o),{})}function ie(e,n){const l=t.getCurrentInstance();if(!l)throw new Error(`[Vuetify] ${e} ${n||"must be called from inside a setup function"}`);return l}function ke(){const e=ie(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Re((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let yn=0,Vt=new WeakMap;function Se(){const e=ie("getUid");if(Vt.has(e))return Vt.get(e);{const n=yn++;return Vt.set(e,n),n}}function bn(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;e;){if(n?Pr(e):$l(e))return e;e=e.parentElement}return document.scrollingElement}function It(e,n){const l=[];if(n&&e&&!n.contains(e))return l;for(;e&&($l(e)&&l.push(e),e!==n);)e=e.parentElement;return l}function $l(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return n.overflowY==="scroll"||n.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function Pr(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["scroll","auto"].includes(n.overflowY)}function le(e){ie("useRender").render=e}function Kt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const l=t.ref(),o=t.ref();if(fe){const a=new ResizeObserver(r=>{e==null||e(r,a),r.length&&(o.value=n==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});t.onBeforeUnmount(()=>{a.disconnect()}),t.watch(l,(r,i)=>{i&&(a.unobserve(Pt(i)),o.value=void 0),r&&a.observe(Pt(r))},{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(o)}}function Oe(e,n){let l;function o(){l=t.effectScope(),l.run(()=>n.length?n(()=>{l==null||l.stop(),o()}):n())}t.watch(e,a=>{a&&!l?o():a||(l==null||l.stop(),l=void 0)},{immediate:!0}),t.onScopeDispose(()=>{l==null||l.stop()})}function se(e,n,l){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v=>v,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:v=>v;const r=ie("useProxiedModel"),i=t.ref(e[n]!==void 0?e[n]:l),s=Re(n),u=s!==n?t.computed(()=>{var v,f,p,d;return e[n],!(!((v=r.vnode.props)!=null&&v.hasOwnProperty(n))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(s))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${n}`))&&!((d=r.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${s}`)))}):t.computed(()=>{var v,f;return e[n],!(!((v=r.vnode.props)!=null&&v.hasOwnProperty(n))||!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${n}`)))});Oe(()=>!u.value,()=>{t.watch(()=>e[n],v=>{i.value=v})});const c=t.computed({get(){const v=e[n];return o(u.value?v:i.value)},set(v){const f=a(v),p=t.toRaw(u.value?e[n]:i.value);p!==f&&o(p)!==v&&(i.value=f,r==null||r.emit(`update:${n}`,f))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[n]:i.value}),c}Se.reset=()=>{yn=0,Vt=new WeakMap};const wn=Symbol.for("vuetify:locale");function $e(){const e=t.inject(wn);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function Xe(){const e=t.inject(wn);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Co=Symbol.for("vuetify:theme"),ue=R({theme:String},"theme");function de(e){ie("provideTheme");const n=t.inject(Co,null);if(!n)throw new Error("Could not find Vuetify theme injection");const l=t.computed(()=>e.theme??n.name.value),o=t.computed(()=>n.themes.value[l.value]),a=t.computed(()=>n.isDisabled?void 0:`v-theme--${l.value}`),r={...n,name:l,current:o,themeClasses:a};return t.provide(Co,r),r}const pe=R({tag:{type:String,default:"div"}},"tag"),Nr=R({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ge(e,n,l){return J()({name:e,props:Nr({mode:l,origin:n}),setup(o,a){let{slots:r}=a;const i={onBeforeEnter(s){o.origin&&(s.style.transformOrigin=o.origin)},onLeave(s){if(o.leaveAbsolute){const{offsetTop:u,offsetLeft:c,offsetWidth:v,offsetHeight:f}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${u}px`,s.style.left=`${c}px`,s.style.width=`${v}px`,s.style.height=`${f}px`}o.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(o.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:u,top:c,left:v,width:f,height:p}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=u||"",s.style.top=c||"",s.style.left=v||"",s.style.width=f||"",s.style.height=p||""}}};return()=>{const s=o.group?t.TransitionGroup:t.Transition;return t.h(s,{name:o.disabled?"":e,css:!o.disabled,...o.group?void 0:{mode:o.mode},...o.disabled?{}:i},r.default)}}})}function Sn(e,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return J()({name:e,props:{mode:{type:String,default:l},disabled:Boolean},setup(o,a){let{slots:r}=a;return()=>t.h(t.Transition,{name:o.disabled?"":e,css:!o.disabled,...o.disabled?{}:n},r.default)}})}function kn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",l=t.camelize(`offset-${n}`);return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[n]:r.style[n]}},onEnter(r){const i=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const s=`${r[l]}px`;r.style[n]="0",r.offsetHeight,r.style.transition=i.transition,e&&r._parent&&r._parent.classList.add(e),requestAnimationFrame(()=>{r.style[n]=s})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[n]:r.style[n]},r.style.overflow="hidden",r.style[n]=`${r[l]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[n]="0")},onAfterLeave:o,onLeaveCancelled:o};function o(r){e&&r._parent&&r._parent.classList.remove(e),a(r)}function a(r){const i=r._initialStyle[n];r.style.overflow=r._initialStyle.overflow,i!=null&&(r.style[n]=i),delete r._initialStyle}}const Fr=R({target:[Object,Array]},"v-dialog-transition"),xn=J()({name:"VDialogTransition",props:Fr(),setup(e,n){let{slots:l}=n;const o={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),a.style.visibility="";const{x:i,y:s,sx:u,sy:c,speed:v}=Bo(e.target,a),f=qe(a,[{transform:`translate(${i}px, ${s}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*v,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Vo(a))==null||p.forEach(d=>{qe(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*v,easing:$t})}),f.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var f;await new Promise(p=>requestAnimationFrame(p));const{x:i,y:s,sx:u,sy:c,speed:v}=Bo(e.target,a);qe(a,[{},{transform:`translate(${i}px, ${s}px) scale(${u}, ${c})`,opacity:0}],{duration:125*v,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(f=Vo(a))==null||f.forEach(p=>{qe(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*v,easing:$t})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?t.createVNode(t.Transition,t.mergeProps({name:"dialog-transition"},o,{css:!1}),l):t.createVNode(t.Transition,{name:"dialog-transition"},l)}});function Vo(e){var l;const n=(l=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:l.children;return n&&[...n]}function Bo(e,n){const l=vn(e),o=Al(n),[a,r]=getComputedStyle(n).transformOrigin.split(" ").map(b=>parseFloat(b)),[i,s]=getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=l.left+l.width/2;i==="left"||s==="left"?u-=l.width/2:i!=="right"&&s!=="right"||(u+=l.width/2);let c=l.top+l.height/2;i==="top"||s==="top"?c-=l.height/2:i!=="bottom"&&s!=="bottom"||(c+=l.height/2);const v=l.width/o.width,f=l.height/o.height,p=Math.max(1,v,f),d=v/p||0,h=f/p||0,g=o.width*o.height/(window.innerWidth*window.innerHeight),y=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:u-(a+o.left),y:c-(r+o.top),sx:d,sy:h,speed:y}}ge("fab-transition","center center","out-in"),ge("dialog-bottom-transition"),ge("dialog-top-transition"),ge("fade-transition"),ge("scale-transition"),ge("scroll-x-transition"),ge("scroll-x-reverse-transition"),ge("scroll-y-transition"),ge("scroll-y-reverse-transition"),ge("slide-x-transition"),ge("slide-x-reverse-transition");const Cn=ge("slide-y-transition");ge("slide-y-reverse-transition");const _r=Sn("expand-transition",kn()),Vn=Sn("expand-x-transition",kn("",!0)),Ar=R({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),we=J(!1)({name:"VDefaultsProvider",props:Ar(),setup(e,n){let{slots:l}=n;const{defaults:o,disabled:a,reset:r,root:i,scoped:s}=t.toRefs(e);return Ce(o,{reset:r,root:i,scoped:s,disabled:a}),()=>{var u;return(u=l.default)==null?void 0:u.call(l)}}}),je=R({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ze(e){return{dimensionStyles:t.computed(()=>({height:Z(e.height),maxHeight:Z(e.maxHeight),maxWidth:Z(e.maxWidth),minHeight:Z(e.minHeight),minWidth:Z(e.minWidth),width:Z(e.width)}))}}const Bn=R({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ne(),...je()},"VResponsive"),Po=J()({name:"VResponsive",props:Bn(),setup(e,n){let{slots:l}=n;const{aspectStyles:o}=function(r){return{aspectStyles:t.computed(()=>{const i=Number(r.aspectRatio);return i?{paddingBottom:String(1/i*100)+"%"}:void 0})}}(e),{dimensionStyles:a}=ze(e);return le(()=>{var r;return t.createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[a.value,e.style]},[t.createVNode("div",{class:"v-responsive__sizer",style:o.value},null),(r=l.additional)==null?void 0:r.call(l),l.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[l.default()])])}),{}}}),pt=R({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Ne=(e,n)=>{let{slots:l}=n;const{transition:o,disabled:a,...r}=e,{component:i=t.Transition,...s}=typeof o=="object"?o:{};return t.h(i,t.mergeProps(typeof o=="string"?{name:a?"":o}:s,r,{disabled:a}),l)};function No(e,n){var o;const l=(o=e._observe)==null?void 0:o[n.instance.$.uid];l&&(l.observer.unobserve(e),delete e._observe[n.instance.$.uid])}const Pn={mounted:function(e,n){if(!Nl)return;const l=n.modifiers||{},o=n.value,{handler:a,options:r}=typeof o=="object"?o:{handler:o,options:{}},i=new IntersectionObserver(function(){var f;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[n.instance.$.uid];if(!c)return;const v=s.some(p=>p.isIntersecting);!a||l.quiet&&!c.init||l.once&&!v&&!c.init||a(v,s,u),v&&l.once?No(e,n):c.init=!0},r);e._observe=Object(e._observe),e._observe[n.instance.$.uid]={init:!1,observer:i},i.observe(e)},unmounted:No},Er=R({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Bn(),...ne(),...pt()},"VImg"),$r=J()({name:"VImg",directives:{intersect:Pn},props:Er(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,n){let{emit:l,slots:o}=n;const a=ie("VImg"),r=t.shallowRef(""),i=t.ref(),s=t.shallowRef(e.eager?"loading":"idle"),u=t.shallowRef(),c=t.shallowRef(),v=t.computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),f=t.computed(()=>v.value.aspect||u.value/c.value||0);function p(w){if((!e.eager||!w)&&(!Nl||w||e.eager)){if(s.value="loading",v.value.lazySrc){const S=new Image;S.src=v.value.lazySrc,b(S,null)}v.value.src&&t.nextTick(()=>{var S;l("loadstart",((S=i.value)==null?void 0:S.currentSrc)||v.value.src),setTimeout(()=>{var x;if(!a.isUnmounted)if((x=i.value)!=null&&x.complete){if(i.value.naturalWidth||h(),s.value==="error")return;f.value||b(i.value,null),s.value==="loading"&&d()}else f.value||b(i.value),g()})})}}function d(){var w;a.isUnmounted||(g(),b(i.value),s.value="loaded",l("load",((w=i.value)==null?void 0:w.currentSrc)||v.value.src))}function h(){var w;a.isUnmounted||(s.value="error",l("error",((w=i.value)==null?void 0:w.currentSrc)||v.value.src))}function g(){const w=i.value;w&&(r.value=w.currentSrc||w.src)}t.watch(()=>e.src,()=>{p(s.value!=="idle")}),t.watch(f,(w,S)=>{!w&&S&&i.value&&b(i.value)}),t.onBeforeMount(()=>p());let y=-1;function b(w){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const x=()=>{if(clearTimeout(y),a.isUnmounted)return;const{naturalHeight:N,naturalWidth:E}=w;N||E?(u.value=E,c.value=N):w.complete||s.value!=="loading"||S==null?(w.currentSrc.endsWith(".svg")||w.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,c.value=1):y=window.setTimeout(x,S)};x()}t.onBeforeUnmount(()=>{clearTimeout(y)});const V=t.computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),P=()=>{var x;if(!v.value.src||s.value==="idle")return null;const w=t.createVNode("img",{class:["v-img__img",V.value],style:{objectPosition:e.position},src:v.value.src,srcset:v.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:i,onLoad:d,onError:h},null),S=(x=o.sources)==null?void 0:x.call(o);return t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(S?t.createVNode("picture",{class:"v-img__picture"},[S,w]):w,[[t.vShow,s.value==="loaded"]])]})},k=()=>t.createVNode(Ne,{transition:e.transition},{default:()=>[v.value.lazySrc&&s.value!=="loaded"&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",V.value],style:{objectPosition:e.position},src:v.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),C=()=>o.placeholder?t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[(s.value==="loading"||s.value==="error"&&!o.error)&&t.createVNode("div",{class:"v-img__placeholder"},[o.placeholder()])]}):null,B=()=>o.error?t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[s.value==="error"&&t.createVNode("div",{class:"v-img__error"},[o.error()])]}):null,F=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,m=t.shallowRef(!1);{const w=t.watch(f,S=>{S&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{m.value=!0})}),w())})}return le(()=>{const w=Po.filterProps(e);return t.withDirectives(t.createVNode(Po,t.mergeProps({class:["v-img",{"v-img--booting":!m.value},e.class],style:[{width:Z(e.width==="auto"?u.value:e.width)},e.style]},w,{aspectRatio:f.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>t.createVNode(t.Fragment,null,[t.createVNode(P,null,null),t.createVNode(k,null,null),t.createVNode(F,null,null),t.createVNode(C,null,null),t.createVNode(B,null,null)]),default:o.default}),[[t.resolveDirective("intersect"),{handler:p,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:i,state:s,naturalWidth:u,naturalHeight:c}}}),Je=R({border:[Boolean,Number,String]},"border");function vt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{borderClasses:t.computed(()=>{const l=t.isRef(e)?e.value:e.border,o=[];if(l===!0||l==="")o.push(`${n}--border`);else if(typeof l=="string"||l===0)for(const a of String(l).split(" "))o.push(`border-${a}`);return o})}}function Il(e){return _l(()=>{const n=[],l={};if(e.value.background)if(al(e.value.background)){if(l.backgroundColor=e.value.background,!e.value.text&&al(o=e.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(o)){const a=tt(e.value.background);if(a.a==null||a.a===1){const r=function(i){const s=Math.abs(wo(tt(0),tt(i)));return Math.abs(wo(tt(16777215),tt(i)))>Math.min(s,50)?"#fff":"#000"}(a);l.color=r,l.caretColor=r}}}else n.push(`bg-${e.value.background}`);var o;return e.value.text&&(al(e.value.text)?(l.color=e.value.text,l.caretColor=e.value.text):n.push(`text-${e.value.text}`)),{colorClasses:n,colorStyles:l}})}function Ve(e,n){const l=t.computed(()=>({text:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:o,colorStyles:a}=Il(l);return{textColorClasses:o,textColorStyles:a}}function Ae(e,n){const l=t.computed(()=>({background:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:o,colorStyles:a}=Il(l);return{backgroundColorClasses:o,backgroundColorStyles:a}}const We=R({elevation:{type:[Number,String],validator(e){const n=parseInt(e);return!isNaN(n)&&n>=0&&n<=24}}},"elevation");function Ze(e){return{elevationClasses:t.computed(()=>{const n=t.isRef(e)?e.value:e.elevation,l=[];return n==null||l.push(`elevation-${n}`),l})}}const Be=R({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ie(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{roundedClasses:t.computed(()=>{const l=t.isRef(e)?e.value:e.rounded,o=[];if(l===!0||l==="")o.push(`${n}--rounded`);else if(typeof l=="string"||l===0)for(const a of String(l).split(" "))o.push(`rounded-${a}`);return o})}}const Ir=[null,"default","comfortable","compact"],xe=R({density:{type:String,default:"default",validator:e=>Ir.includes(e)}},"density");function Pe(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{densityClasses:t.computed(()=>`${n}--density-${e.density}`)}}const Dr=["elevated","flat","tonal","outlined","text","plain"];function Yt(e,n){return t.createVNode(t.Fragment,null,[e&&t.createVNode("span",{key:"overlay",class:`${n}__overlay`},null),t.createVNode("span",{key:"underlay",class:`${n}__underlay`},null)])}const De=R({color:String,variant:{type:String,default:"elevated",validator:e=>Dr.includes(e)}},"variant");function Xt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=t.computed(()=>{const{variant:r}=t.unref(e);return`${n}--variant-${r}`}),{colorClasses:o,colorStyles:a}=Il(t.computed(()=>{const{variant:r,color:i}=t.unref(e);return{[["elevated","flat"].includes(r)?"background":"text"]:i}}));return{colorClasses:o,colorStyles:a,variantClasses:l}}const Nn=R({divided:Boolean,...Je(),...ne(),...xe(),...We(),...Be(),...pe(),...ue(),...De()},"VBtnGroup"),Fo=J()({name:"VBtnGroup",props:Nn(),setup(e,n){let{slots:l}=n;const{themeClasses:o}=de(e),{densityClasses:a}=Pe(e),{borderClasses:r}=vt(e),{elevationClasses:i}=Ze(e),{roundedClasses:s}=Ie(e);Ce({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),le(()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},o.value,r.value,a.value,i.value,s.value,e.class],style:e.style},l))}}),Fn=R({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),_n=R({value:null,disabled:Boolean,selectedClass:String},"group-item");function An(e,n){let l=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const o=ie("useGroupItem");if(!o)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Se();t.provide(Symbol.for(`${n.description}:id`),a);const r=t.inject(n,null);if(!r){if(!l)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${n.description}`)}const i=t.toRef(e,"value"),s=t.computed(()=>!(!r.disabled.value&&!e.disabled));r.register({id:a,value:i,disabled:s},o),t.onBeforeUnmount(()=>{r.unregister(a)});const u=t.computed(()=>r.isSelected(a)),c=t.computed(()=>u.value&&[r.selectedClass.value,e.selectedClass]);return t.watch(u,v=>{o.emit("group:selected",{value:v})}),{id:a,isSelected:u,toggle:()=>r.select(a,!u.value),select:v=>r.select(a,v),selectedClass:c,value:i,disabled:s,group:r}}function En(e,n){let l=!1;const o=t.reactive([]),a=se(e,"modelValue",[],c=>c==null?[]:_o(o,ve(c)),c=>{const v=function(f,p){const d=[];return p.forEach(h=>{const g=f.findIndex(y=>y.id===h);if(~g){const y=f[g];d.push(y.value!=null?y.value:g)}}),d}(o,c);return e.multiple?v:v[0]}),r=ie("useGroup");function i(){const c=o.find(v=>!v.disabled);c&&e.mandatory==="force"&&!a.value.length&&(a.value=[c.id])}function s(c){if(e.multiple&&nt('This method is not supported when using "multiple" prop'),a.value.length){const v=a.value[0],f=o.findIndex(h=>h.id===v);let p=(f+c)%o.length,d=o[p];for(;d.disabled&&p!==f;)p=(p+c)%o.length,d=o[p];if(d.disabled)return;a.value=[o[p].id]}else{const v=o.find(f=>!f.disabled);v&&(a.value=[v.id])}}t.onMounted(()=>{i()}),t.onBeforeUnmount(()=>{l=!0});const u={register:function(c,v){const f=c,p=Ct(Symbol.for(`${n.description}:id`),r==null?void 0:r.vnode).indexOf(v);p>-1?o.splice(p,0,f):o.push(f)},unregister:function(c){if(l)return;i();const v=o.findIndex(f=>f.id===c);o.splice(v,1)},selected:a,select:function(c,v){const f=o.find(p=>p.id===c);if(!v||!(f!=null&&f.disabled))if(e.multiple){const p=a.value.slice(),d=p.findIndex(g=>g===c),h=~d;if(v=v??!h,h&&e.mandatory&&p.length<=1||!h&&e.max!=null&&p.length+1>e.max)return;d<0&&v?p.push(c):d>=0&&!v&&p.splice(d,1),a.value=p}else{const p=a.value.includes(c);if(e.mandatory&&p)return;a.value=v??!p?[c]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>s(o.length-1),next:()=>s(1),isSelected:c=>a.value.includes(c),selectedClass:t.computed(()=>e.selectedClass),items:t.computed(()=>o),getItemIndex:c=>function(v,f){const p=_o(v,[f]);return p.length?v.findIndex(d=>d.id===p[0]):-1}(o,c)};return t.provide(n,u),u}function _o(e,n){const l=[];return n.forEach(o=>{const a=e.find(i=>Ee(o,i.value)),r=e[o];(a==null?void 0:a.value)!=null?l.push(a.id):r!=null&&l.push(r.id)}),l}const $n=Symbol.for("vuetify:v-btn-toggle"),Tr=R({...Nn(),...Fn()},"VBtnToggle");J()({name:"VBtnToggle",props:Tr(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:l}=n;const{isSelected:o,next:a,prev:r,select:i,selected:s}=En(e,$n);return le(()=>{const u=Fo.filterProps(e);return t.createVNode(Fo,t.mergeProps({class:["v-btn-toggle",e.class]},u,{style:e.style}),{default:()=>{var c;return[(c=l.default)==null?void 0:c.call(l,{isSelected:o,next:a,prev:r,select:i,selected:s})]}})}),{next:a,prev:r,select:i}}});const ae=[String,Function,Object,Array],Rr=Symbol.for("vuetify:icons"),Dt=R({icon:{type:ae},tag:{type:String,required:!0}},"icon"),Ao=J()({name:"VComponentIcon",props:Dt(),setup(e,n){let{slots:l}=n;return()=>{const o=e.icon;return t.createVNode(e.tag,null,{default:()=>{var a;return[e.icon?t.createVNode(o,null,null):(a=l.default)==null?void 0:a.call(l)]}})}}}),Lr=it({name:"VSvgIcon",inheritAttrs:!1,props:Dt(),setup(e,n){let{attrs:l}=n;return()=>t.createVNode(e.tag,t.mergeProps(l,{style:null}),{default:()=>[t.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(o=>Array.isArray(o)?t.createVNode("path",{d:o[0],"fill-opacity":o[1]},null):t.createVNode("path",{d:o},null)):t.createVNode("path",{d:e.icon},null)])]})}});it({name:"VLigatureIcon",props:Dt(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),it({name:"VClassIcon",props:Dt(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)});const Or=["x-small","small","default","large","x-large"],Qe=R({size:{type:[String,Number],default:"default"}},"size");function ft(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return _l(()=>{let l,o;return Ft(Or,e.size)?l=`${n}--size-${e.size}`:e.size&&(o={width:Z(e.size),height:Z(e.size)}),{sizeClasses:l,sizeStyles:o}})}const Mr=R({color:String,start:Boolean,end:Boolean,icon:ae,...ne(),...Qe(),...pe({tag:"i"}),...ue()},"VIcon"),ce=J()({name:"VIcon",props:Mr(),setup(e,n){let{attrs:l,slots:o}=n;const a=t.ref(),{themeClasses:r}=de(e),{iconData:i}=(v=>{const f=t.inject(Rr);if(!f)throw new Error("Missing Vuetify Icons provide!");return{iconData:t.computed(()=>{var y;const p=t.unref(v);if(!p)return{component:Ao};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(y=f.aliases)==null?void 0:y[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:Lr,icon:d};if(typeof d!="string")return{component:Ao,icon:d};const h=Object.keys(f.sets).find(b=>typeof d=="string"&&d.startsWith(`${b}:`)),g=h?d.slice(h.length+1):d;return{component:f.sets[h??f.defaultSet].component,icon:g}})}})(t.computed(()=>a.value||e.icon)),{sizeClasses:s}=ft(e),{textColorClasses:u,textColorStyles:c}=Ve(t.toRef(e,"color"));return le(()=>{var f,p;const v=(f=o.default)==null?void 0:f.call(o);return v&&(a.value=(p=un(v).filter(d=>d.type===t.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),t.createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",r.value,s.value,u.value,{"v-icon--clickable":!!l.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[s.value?void 0:{fontSize:Z(e.size),height:Z(e.size),width:Z(e.size)},c.value,e.style],role:l.onClick?"button":void 0,"aria-hidden":!l.onClick},{default:()=>[v]})}),{}}});function In(e,n){const l=t.ref(),o=t.shallowRef(!1);if(Nl){const a=new IntersectionObserver(r=>{e==null||e(r,a),o.value=!!r.find(i=>i.isIntersecting)},n);t.onBeforeUnmount(()=>{a.disconnect()}),t.watch(l,(r,i)=>{i&&(a.unobserve(i),o.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:l,isIntersecting:o}}const jr=R({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ne(),...Qe(),...pe({tag:"div"}),...ue()},"VProgressCircular"),Dn=J()({name:"VProgressCircular",props:jr(),setup(e,n){let{slots:l}=n;const o=2*Math.PI*20,a=t.ref(),{themeClasses:r}=de(e),{sizeClasses:i,sizeStyles:s}=ft(e),{textColorClasses:u,textColorStyles:c}=Ve(t.toRef(e,"color")),{textColorClasses:v,textColorStyles:f}=Ve(t.toRef(e,"bgColor")),{intersectionRef:p,isIntersecting:d}=In(),{resizeRef:h,contentRect:g}=Kt(),y=t.computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),b=t.computed(()=>Number(e.width)),V=t.computed(()=>s.value?Number(e.size):g.value?g.value.width:Math.max(b.value,32)),P=t.computed(()=>20/(1-b.value/V.value)*2),k=t.computed(()=>b.value/V.value*P.value),C=t.computed(()=>Z((100-y.value)/100*o));return t.watchEffect(()=>{p.value=a.value,h.value=a.value}),le(()=>t.createVNode(e.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,i.value,u.value,e.class],style:[s.value,c.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:y.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",v.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":o,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":o,"stroke-dashoffset":C.value},null)]),l.default&&t.createVNode("div",{class:"v-progress-circular__content"},[l.default({value:y.value})])]})),{}}}),Eo={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Tn=R({location:String},"location");function Rn(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],l=arguments.length>2?arguments[2]:void 0;const{isRtl:o}=Xe();return{locationStyles:t.computed(()=>{if(!e.location)return{};const{side:r,align:i}=gl(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value);function s(c){return l?l(c):0}const u={};return r!=="center"&&(n?u[Eo[r]]=`calc(100% - ${s(r)}px)`:u[r]=0),i!=="center"?n?u[Eo[i]]=`calc(100% - ${s(i)}px)`:u[i]=0:(r==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),u})}}const zr=R({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...ne(),...Tn({location:"top"}),...Be(),...pe(),...ue()},"VProgressLinear"),Ln=J()({name:"VProgressLinear",props:zr(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:l}=n;const o=se(e,"modelValue"),{isRtl:a,rtlClasses:r}=Xe(),{themeClasses:i}=de(e),{locationStyles:s}=Rn(e),{textColorClasses:u,textColorStyles:c}=Ve(e,"color"),{backgroundColorClasses:v,backgroundColorStyles:f}=Ae(t.computed(()=>e.bgColor||e.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ae(e,"color"),{roundedClasses:h}=Ie(e),{intersectionRef:g,isIntersecting:y}=In(),b=t.computed(()=>parseInt(e.max,10)),V=t.computed(()=>parseInt(e.height,10)),P=t.computed(()=>parseFloat(e.bufferValue)/b.value*100),k=t.computed(()=>parseFloat(o.value)/b.value*100),C=t.computed(()=>a.value!==e.reverse),B=t.computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),F=t.computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function m(w){if(!g.value)return;const{left:S,right:x,width:N}=g.value.getBoundingClientRect(),E=C.value?N-w.clientX+(x-N):w.clientX-S;o.value=Math.round(E/N*b.value)}return le(()=>t.createVNode(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&y.value,"v-progress-linear--reverse":C.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,i.value,r.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Z(V.value):0,"--v-progress-linear-height":Z(V.value),...s.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:k.value,onClick:e.clickable&&m},{default:()=>[e.stream&&t.createVNode("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...c.value,[C.value?"left":"right"]:Z(-V.value),borderTop:`${Z(V.value/2)} dotted`,opacity:F.value,top:`calc(50% - ${Z(V.value/4)})`,width:Z(100-P.value,"%"),"--v-progress-linear-stream-to":Z(V.value*(C.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",v.value],style:[f.value,{opacity:F.value,width:Z(e.stream?P.value:100,"%")}]},null),t.createVNode(t.Transition,{name:B.value},{default:()=>[e.indeterminate?t.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(w=>t.createVNode("div",{key:w,class:["v-progress-linear__indeterminate",w,p.value],style:d.value},null))]):t.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Z(k.value,"%")}]},null)]}),l.default&&t.createVNode("div",{class:"v-progress-linear__content"},[l.default({value:k.value,buffer:P.value})])]})),{}}}),Dl=R({loading:[Boolean,String]},"loader");function Tl(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{loaderClasses:t.computed(()=>({[`${n}--loading`]:e.loading}))}}function On(e,n){var o;let{slots:l}=n;return t.createVNode("div",{class:`${e.name}__loader`},[((o=l.default)==null?void 0:o.call(l,{color:e.color,isActive:e.active}))||t.createVNode(Ln,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Wr=["static","relative","fixed","absolute","sticky"],Gr=R({position:{type:String,validator:e=>Wr.includes(e)}},"position");function Rl(e,n){const l=t.resolveDynamicComponent("RouterLink"),o=t.computed(()=>!(!e.href&&!e.to)),a=t.computed(()=>(o==null?void 0:o.value)||so(n,"click")||so(e,"click"));if(typeof l=="string")return{isLink:o,isClickable:a,href:t.toRef(e,"href")};const r=e.to?l.useLink(e):void 0,i=function(){const s=ie("useRoute");return t.computed(()=>{var u;return(u=s==null?void 0:s.proxy)==null?void 0:u.$route})}();return{isLink:o,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&t.computed(()=>{var s,u,c;return e.exact?i.value?((s=r.isExactActive)==null?void 0:s.value)&&Ee(r.route.value.query,i.value.query):(u=r.isExactActive)==null?void 0:u.value:(c=r.isActive)==null?void 0:c.value}),href:t.computed(()=>e.to?r==null?void 0:r.route.value.href:e.href)}}const Ll=R({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let rl=!1;const hl=Symbol("rippleStop"),Hr=80;function $o(e,n){e.style.transform=n,e.style.webkitTransform=n}function yl(e){return e.constructor.name==="TouchEvent"}function Mn(e){return e.constructor.name==="KeyboardEvent"}const Tt={show(e,n){var d;let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=n==null?void 0:n._ripple)!=null&&d.enabled))return;const o=document.createElement("span"),a=document.createElement("span");o.appendChild(a),o.className="v-ripple__container",l.class&&(o.className+=` ${l.class}`);const{radius:r,scale:i,x:s,y:u,centerX:c,centerY:v}=function(h,g){var F;let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,V=0;if(!Mn(h)){const m=g.getBoundingClientRect(),w=yl(h)?h.touches[h.touches.length-1]:h;b=w.clientX-m.left,V=w.clientY-m.top}let P=0,k=.3;(F=g._ripple)!=null&&F.circle?(k=.15,P=g.clientWidth/2,P=y.center?P:P+Math.sqrt((b-P)**2+(V-P)**2)/4):P=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const C=(g.clientWidth-2*P)/2+"px",B=(g.clientHeight-2*P)/2+"px";return{radius:P,scale:k,x:y.center?C:b-P+"px",y:y.center?B:V-P+"px",centerX:C,centerY:B}}(e,n,l),f=2*r+"px";a.className="v-ripple__animation",a.style.width=f,a.style.height=f,n.appendChild(o);const p=window.getComputedStyle(n);p&&p.position==="static"&&(n.style.position="relative",n.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),$o(a,`translate(${s}, ${u}) scale3d(${i},${i},${i})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),$o(a,`translate(${c}, ${v}) scale3d(1,1,1)`)},0)},hide(e){var r;if(!((r=e==null?void 0:e._ripple)!=null&&r.enabled))return;const n=e.getElementsByClassName("v-ripple__animation");if(n.length===0)return;const l=n[n.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const o=performance.now()-Number(l.dataset.activated),a=Math.max(250-o,0);setTimeout(()=>{l.classList.remove("v-ripple__animation--in"),l.classList.add("v-ripple__animation--out"),setTimeout(()=>{var i;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((i=l.parentNode)==null?void 0:i.parentNode)===e&&e.removeChild(l.parentNode)},300)},a)}};function jn(e){return e===void 0||!!e}function ut(e){const n={},l=e.currentTarget;if(l!=null&&l._ripple&&!l._ripple.touched&&!e[hl]){if(e[hl]=!0,yl(e))l._ripple.touched=!0,l._ripple.isTouch=!0;else if(l._ripple.isTouch)return;if(n.center=l._ripple.centered||Mn(e),l._ripple.class&&(n.class=l._ripple.class),yl(e)){if(l._ripple.showTimerCommit)return;l._ripple.showTimerCommit=()=>{Tt.show(e,l,n)},l._ripple.showTimer=window.setTimeout(()=>{var o;(o=l==null?void 0:l._ripple)!=null&&o.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)},Hr)}else Tt.show(e,l,n)}}function Io(e){e[hl]=!0}function he(e){const n=e.currentTarget;if(n!=null&&n._ripple){if(window.clearTimeout(n._ripple.showTimer),e.type==="touchend"&&n._ripple.showTimerCommit)return n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null,void(n._ripple.showTimer=window.setTimeout(()=>{he(e)}));window.setTimeout(()=>{n._ripple&&(n._ripple.touched=!1)}),Tt.hide(n)}}function zn(e){const n=e.currentTarget;n!=null&&n._ripple&&(n._ripple.showTimerCommit&&(n._ripple.showTimerCommit=null),window.clearTimeout(n._ripple.showTimer))}let ct=!1;function Wn(e){ct||e.keyCode!==lo.enter&&e.keyCode!==lo.space||(ct=!0,ut(e))}function Gn(e){ct=!1,he(e)}function Hn(e){ct&&(ct=!1,he(e))}function Do(e,n,l){const{value:o,modifiers:a}=n,r=jn(o);if(r||Tt.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=r,e._ripple.centered=a.center,e._ripple.circle=a.circle,fl(o)&&o.class&&(e._ripple.class=o.class),r&&!l){if(a.stop)return e.addEventListener("touchstart",Io,{passive:!0}),void e.addEventListener("mousedown",Io);e.addEventListener("touchstart",ut,{passive:!0}),e.addEventListener("touchend",he,{passive:!0}),e.addEventListener("touchmove",zn,{passive:!0}),e.addEventListener("touchcancel",he),e.addEventListener("mousedown",ut),e.addEventListener("mouseup",he),e.addEventListener("mouseleave",he),e.addEventListener("keydown",Wn),e.addEventListener("keyup",Gn),e.addEventListener("blur",Hn),e.addEventListener("dragstart",he,{passive:!0})}else!r&&l&&Un(e)}function Un(e){e.removeEventListener("mousedown",ut),e.removeEventListener("touchstart",ut),e.removeEventListener("touchend",he),e.removeEventListener("touchmove",zn),e.removeEventListener("touchcancel",he),e.removeEventListener("mouseup",he),e.removeEventListener("mouseleave",he),e.removeEventListener("keydown",Wn),e.removeEventListener("keyup",Gn),e.removeEventListener("dragstart",he),e.removeEventListener("blur",Hn)}const Jt={mounted:function(e,n){Do(e,n,!1)},unmounted:function(e){delete e._ripple,Un(e)},updated:function(e,n){n.value!==n.oldValue&&Do(e,n,jn(n.oldValue))}},Ur=R({active:{type:Boolean,default:void 0},symbol:{type:null,default:$n},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:ae,appendIcon:ae,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Je(),...ne(),...xe(),...je(),...We(),..._n(),...Dl(),...Tn(),...Gr(),...Be(),...Ll(),...Qe(),...pe({tag:"button"}),...ue(),...De({variant:"elevated"})},"VBtn"),Te=J()({name:"VBtn",directives:{Ripple:Jt},props:Ur(),emits:{"group:selected":e=>!0},setup(e,n){let{attrs:l,slots:o}=n;const{themeClasses:a}=de(e),{borderClasses:r}=vt(e),{colorClasses:i,colorStyles:s,variantClasses:u}=Xt(e),{densityClasses:c}=Pe(e),{dimensionStyles:v}=ze(e),{elevationClasses:f}=Ze(e),{loaderClasses:p}=Tl(e),{locationStyles:d}=Rn(e),{positionClasses:h}=function(w){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{positionClasses:t.computed(()=>w.position?`${S}--${w.position}`:void 0)}}(e),{roundedClasses:g}=Ie(e),{sizeClasses:y,sizeStyles:b}=ft(e),V=An(e,e.symbol,!1),P=Rl(e,l),k=t.computed(()=>{var w;return e.active!==void 0?e.active:P.isLink.value?(w=P.isActive)==null?void 0:w.value:V==null?void 0:V.isSelected.value}),C=t.computed(()=>(V==null?void 0:V.disabled.value)||e.disabled),B=t.computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),F=t.computed(()=>{if(e.value!==void 0&&typeof e.value!="symbol")return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function m(w){var S;C.value||P.isLink.value&&(w.metaKey||w.ctrlKey||w.shiftKey||w.button!==0||l.target==="_blank")||((S=P.navigate)==null||S.call(P,w),V==null||V.toggle())}return function(w,S){t.watch(()=>{var x;return(x=w.isActive)==null?void 0:x.value},x=>{w.isLink.value&&x&&S&&t.nextTick(()=>{S(!0)})},{immediate:!0})}(P,V==null?void 0:V.select),le(()=>{var D,$;const w=P.isLink.value?"a":e.tag,S=!(!e.prependIcon&&!o.prepend),x=!(!e.appendIcon&&!o.append),N=!(!e.icon||e.icon===!0),E=(V==null?void 0:V.isSelected.value)&&(!P.isLink.value||((D=P.isActive)==null?void 0:D.value))||!V||(($=P.isActive)==null?void 0:$.value);return t.withDirectives(t.createVNode(w,{type:w==="a"?void 0:"button",class:["v-btn",V==null?void 0:V.selectedClass.value,{"v-btn--active":k.value,"v-btn--block":e.block,"v-btn--disabled":C.value,"v-btn--elevated":B.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},a.value,r.value,E?i.value:void 0,c.value,f.value,p.value,h.value,g.value,y.value,u.value,e.class],style:[E?s.value:void 0,v.value,d.value,b.value,e.style],disabled:C.value||void 0,href:P.href.value,onClick:m,value:F.value},{default:()=>{var T;return[Yt(!0,"v-btn"),!e.icon&&S&&t.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[o.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},o.prepend):t.createVNode(ce,{key:"prepend-icon",icon:e.prependIcon},null)]),t.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!o.default&&N?t.createVNode(ce,{key:"content-icon",icon:e.icon},null):t.createVNode(we,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var W;return[((W=o.default)==null?void 0:W.call(o))??e.text]}})]),!e.icon&&x&&t.createVNode("span",{key:"append",class:"v-btn__append"},[o.append?t.createVNode(we,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},o.append):t.createVNode(ce,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&t.createVNode("span",{key:"loader",class:"v-btn__loader"},[((T=o.loader)==null?void 0:T.call(o))??t.createVNode(Dn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[t.resolveDirective("ripple"),!C.value&&e.ripple,null]])}),{}}}),qr=R({text:String,clickable:Boolean,...ne(),...ue()},"VLabel"),qn=J()({name:"VLabel",props:qr(),setup(e,n){let{slots:l}=n;return le(()=>{var o;return t.createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(o=l.default)==null?void 0:o.call(l)])}),{}}}),Kn=Symbol.for("vuetify:selection-control-group"),Yn=R({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:ae,trueIcon:ae,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Ee},...ne(),...xe(),...ue()},"SelectionControlGroup"),Kr=R({...Yn({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");J()({name:"VSelectionControlGroup",props:Kr(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:l}=n;const o=se(e,"modelValue"),a=Se(),r=t.computed(()=>e.id||`v-selection-control-group-${a}`),i=t.computed(()=>e.name||r.value),s=new Set;return t.provide(Kn,{modelValue:o,forceUpdate:()=>{s.forEach(u=>u())},onForceUpdate:u=>{s.add(u),t.onScopeDispose(()=>{s.delete(u)})}}),Ce({[e.defaultsTarget]:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),density:t.toRef(e,"density"),error:t.toRef(e,"error"),inline:t.toRef(e,"inline"),modelValue:o,multiple:t.computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(o.value)),name:i,falseIcon:t.toRef(e,"falseIcon"),trueIcon:t.toRef(e,"trueIcon"),readonly:t.toRef(e,"readonly"),ripple:t.toRef(e,"ripple"),type:t.toRef(e,"type"),valueComparator:t.toRef(e,"valueComparator")}}),le(()=>{var u;return t.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(u=l.default)==null?void 0:u.call(l)])}),{}}});const Xn=R({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ne(),...Yn()},"VSelectionControl"),To=J()({name:"VSelectionControl",directives:{Ripple:Jt},inheritAttrs:!1,props:Xn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{attrs:l,slots:o}=n;const{group:a,densityClasses:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:v,backgroundColorStyles:f,trueValue:p}=function(C){const B=t.inject(Kn,void 0),{densityClasses:F}=Pe(C),m=se(C,"modelValue"),w=t.computed(()=>C.trueValue!==void 0?C.trueValue:C.value===void 0||C.value),S=t.computed(()=>C.falseValue!==void 0&&C.falseValue),x=t.computed(()=>!!C.multiple||C.multiple==null&&Array.isArray(m.value)),N=t.computed({get(){const _=B?B.modelValue.value:m.value;return x.value?ve(_).some(L=>C.valueComparator(L,w.value)):C.valueComparator(_,w.value)},set(_){if(C.readonly)return;const L=_?w.value:S.value;let O=L;x.value&&(O=_?[...ve(m.value),L]:ve(m.value).filter(H=>!C.valueComparator(H,w.value))),B?B.modelValue.value=O:m.value=O}}),{textColorClasses:E,textColorStyles:D}=Ve(t.computed(()=>{if(!C.error&&!C.disabled)return N.value?C.color:C.baseColor})),{backgroundColorClasses:$,backgroundColorStyles:T}=Ae(t.computed(()=>!N.value||C.error||C.disabled?void 0:C.color)),W=t.computed(()=>N.value?C.trueIcon:C.falseIcon);return{group:B,densityClasses:F,trueValue:w,falseValue:S,model:N,textColorClasses:E,textColorStyles:D,backgroundColorClasses:$,backgroundColorStyles:T,icon:W}}(e),d=Se(),h=t.computed(()=>e.id||`input-${d}`),g=t.shallowRef(!1),y=t.shallowRef(!1),b=t.ref();function V(C){g.value=!0,At(C.target,":focus-visible")!==!1&&(y.value=!0)}function P(){g.value=!1,y.value=!1}function k(C){e.readonly&&a&&t.nextTick(()=>a.forceUpdate()),s.value=C.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=s.value)}),le(()=>{var w,S;const C=o.label?o.label({label:e.label,props:{for:h.value}}):e.label,[B,F]=Fl(l),m=t.createVNode("input",t.mergeProps({ref:b,checked:s.value,disabled:!(!e.readonly&&!e.disabled),id:h.value,onBlur:P,onFocus:V,onInput:k,"aria-disabled":!(!e.readonly&&!e.disabled),type:e.type,value:p.value,name:e.name,"aria-checked":e.type==="checkbox"?s.value:void 0},F),null);return t.createVNode("div",t.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":e.inline},r.value,e.class]},B,{style:e.style}),[t.createVNode("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[(w=o.default)==null?void 0:w.call(o,{backgroundColorClasses:v,backgroundColorStyles:f}),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]},[((S=o.input)==null?void 0:S.call(o,{model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:v,backgroundColorStyles:f,inputNode:m,icon:i.value,props:{onFocus:V,onBlur:P,id:h.value}}))??t.createVNode(t.Fragment,null,[i.value&&t.createVNode(ce,{key:"icon",icon:i.value},null),m])]),[[t.resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),C&&t.createVNode(qn,{for:h.value,clickable:!0,onClick:x=>x.stopPropagation()},{default:()=>[C]})])}),{isFocused:g,input:b}}}),Jn=R({indeterminate:Boolean,indeterminateIcon:{type:ae,default:"$checkboxIndeterminate"},...Xn({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Ye=J()({name:"VCheckboxBtn",props:Jn(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,n){let{slots:l}=n;const o=se(e,"indeterminate"),a=se(e,"modelValue");function r(u){o.value&&(o.value=!1)}const i=t.computed(()=>o.value?e.indeterminateIcon:e.falseIcon),s=t.computed(()=>o.value?e.indeterminateIcon:e.trueIcon);return le(()=>{const u=Me(To.filterProps(e),["modelValue"]);return t.createVNode(To,t.mergeProps(u,{modelValue:a.value,"onUpdate:modelValue":[c=>a.value=c,r],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:s.value,"aria-checked":o.value?"mixed":void 0}),l)}),{}}});function Zn(e){const{t:n}=$e();return{InputIcon:function(l){let{name:o}=l;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],r=e[`onClick:${o}`],i=r&&a?n(`$vuetify.input.${a}`,e.label??""):void 0;return t.createVNode(ce,{icon:e[`${o}Icon`],"aria-label":i,onClick:r},null)}}}const Yr=R({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ne(),...pt({transition:{component:Cn,leaveAbsolute:!0,group:!0}})},"VMessages"),Xr=J()({name:"VMessages",props:Yr(),setup(e,n){let{slots:l}=n;const o=t.computed(()=>ve(e.messages)),{textColorClasses:a,textColorStyles:r}=Ve(t.computed(()=>e.color));return le(()=>t.createVNode(Ne,{transition:e.transition,tag:"div",class:["v-messages",a.value,e.class],style:[r.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&o.value.map((i,s)=>t.createVNode("div",{class:"v-messages__message",key:`${s}-${o.value}`},[l.message?l.message({message:i}):i]))]})),{}}}),Qn=R({focused:Boolean,"onUpdate:focused":ye()},"focus");function Ol(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=se(e,"focused");return{focusClasses:t.computed(()=>({[`${n}--focused`]:l.value})),isFocused:l,focus:function(){l.value=!0},blur:function(){l.value=!1}}}const Jr=Symbol.for("vuetify:form");function ea(){return t.inject(Jr,null)}const Zr=R({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Qn()},"validation"),Ml=R({id:String,appendIcon:ae,centerAffix:{type:Boolean,default:!0},prependIcon:ae,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":ye(),"onClick:append":ye(),...ne(),...xe(),...Zr()},"VInput"),Rt=J()({name:"VInput",props:{...Ml()},emits:{"update:modelValue":e=>!0},setup(e,n){let{attrs:l,slots:o,emit:a}=n;const{densityClasses:r}=Pe(e),{rtlClasses:i}=Xe(),{InputIcon:s}=Zn(e),u=Se(),c=t.computed(()=>e.id||`input-${u}`),v=t.computed(()=>`${c.value}-messages`),{errorMessages:f,isDirty:p,isDisabled:d,isReadonly:h,isPristine:g,isValid:y,isValidating:b,reset:V,resetValidation:P,validate:k,validationClasses:C}=function(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke(),S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se();const x=se(m,"modelValue"),N=t.computed(()=>m.validationValue===void 0?x.value:m.validationValue),E=ea(),D=t.ref([]),$=t.shallowRef(!0),T=t.computed(()=>!(!ve(x.value===""?null:x.value).length&&!ve(N.value===""?null:N.value).length)),W=t.computed(()=>!!(m.disabled??(E==null?void 0:E.isDisabled.value))),_=t.computed(()=>!!(m.readonly??(E==null?void 0:E.isReadonly.value))),L=t.computed(()=>{var j;return(j=m.errorMessages)!=null&&j.length?ve(m.errorMessages).concat(D.value).slice(0,Math.max(0,+m.maxErrors)):D.value}),O=t.computed(()=>{let j=(m.validateOn??(E==null?void 0:E.validateOn.value))||"input";j==="lazy"&&(j="input lazy");const A=new Set((j==null?void 0:j.split(" "))??[]);return{blur:A.has("blur")||A.has("input"),input:A.has("input"),submit:A.has("submit"),lazy:A.has("lazy")}}),H=t.computed(()=>{var j;return!m.error&&!((j=m.errorMessages)!=null&&j.length)&&(!m.rules.length||($.value?!D.value.length&&!O.value.lazy||null:!D.value.length))}),X=t.shallowRef(!1),q=t.computed(()=>({[`${w}--error`]:H.value===!1,[`${w}--dirty`]:T.value,[`${w}--disabled`]:W.value,[`${w}--readonly`]:_.value})),K=t.computed(()=>m.name??t.unref(S));function I(){x.value=null,t.nextTick(M)}function M(){$.value=!0,O.value.lazy?D.value=[]:z(!0)}async function z(){let j=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const A=[];X.value=!0;for(const G of m.rules){if(A.length>=+(m.maxErrors??1))break;const ee=typeof G=="function"?G:()=>G,U=await ee(N.value);U!==!0&&(U===!1||typeof U=="string"?A.push(U||""):console.warn(`${U} is not a valid value. Rule functions must return boolean true or a string.`))}return D.value=A,X.value=!1,$.value=j,D.value}return t.onBeforeMount(()=>{E==null||E.register({id:K.value,validate:z,reset:I,resetValidation:M})}),t.onBeforeUnmount(()=>{E==null||E.unregister(K.value)}),t.onMounted(async()=>{O.value.lazy||await z(!0),E==null||E.update(K.value,H.value,L.value)}),Oe(()=>O.value.input,()=>{t.watch(N,()=>{if(N.value!=null)z();else if(m.focused){const j=t.watch(()=>m.focused,A=>{A||z(),j()})}})}),Oe(()=>O.value.blur,()=>{t.watch(()=>m.focused,j=>{j||z()})}),t.watch(H,()=>{E==null||E.update(K.value,H.value,L.value)}),{errorMessages:L,isDirty:T,isDisabled:W,isReadonly:_,isPristine:$,isValid:H,isValidating:X,reset:I,resetValidation:M,validate:z,validationClasses:q}}(e,"v-input",c),B=t.computed(()=>({id:c,messagesId:v,isDirty:p,isDisabled:d,isReadonly:h,isPristine:g,isValid:y,isValidating:b,reset:V,resetValidation:P,validate:k})),F=t.computed(()=>{var m;return(m=e.errorMessages)!=null&&m.length||!g.value&&f.value.length?f.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return le(()=>{var N,E,D,$;const m=!(!o.prepend&&!e.prependIcon),w=!(!o.append&&!e.appendIcon),S=F.value.length>0,x=!e.hideDetails||e.hideDetails==="auto"&&(S||!!o.details);return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},r.value,i.value,C.value,e.class],style:e.style},[m&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(N=o.prepend)==null?void 0:N.call(o,B.value),e.prependIcon&&t.createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),o.default&&t.createVNode("div",{class:"v-input__control"},[(E=o.default)==null?void 0:E.call(o,B.value)]),w&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(s,{key:"append-icon",name:"append"},null),(D=o.append)==null?void 0:D.call(o,B.value)]),x&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Xr,{id:v.value,active:S,messages:F.value},{message:o.message}),($=o.details)==null?void 0:$.call(o,B.value)])])}),{reset:V,resetValidation:P,validate:k,isValid:y,errorMessages:f}}}),Qr=R({...Ml(),...Me(Jn(),["inline"])},"VCheckbox"),jl=J()({name:"VCheckbox",inheritAttrs:!1,props:Qr(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,n){let{attrs:l,slots:o}=n;const a=se(e,"modelValue"),{isFocused:r,focus:i,blur:s}=Ol(e),u=Se(),c=t.computed(()=>e.id||`checkbox-${u}`);return le(()=>{const[v,f]=Fl(l),p=Rt.filterProps(e),d=Ye.filterProps(e);return t.createVNode(Rt,t.mergeProps({class:["v-checkbox",e.class]},v,p,{modelValue:a.value,"onUpdate:modelValue":h=>a.value=h,id:c.value,focused:r.value,style:e.style}),{...o,default:h=>{let{id:g,messagesId:y,isDisabled:b,isReadonly:V}=h;return t.createVNode(Ye,t.mergeProps(d,{id:g.value,"aria-describedby":y.value,disabled:b.value,readonly:V.value},f,{modelValue:a.value,"onUpdate:modelValue":P=>a.value=P,onFocus:i,onBlur:s}),o)}})}),{}}}),es=R({start:Boolean,end:Boolean,icon:ae,image:String,text:String,...ne(),...xe(),...Be(),...Qe(),...pe(),...ue(),...De({variant:"flat"})},"VAvatar"),Lt=J()({name:"VAvatar",props:es(),setup(e,n){let{slots:l}=n;const{themeClasses:o}=de(e),{colorClasses:a,colorStyles:r,variantClasses:i}=Xt(e),{densityClasses:s}=Pe(e),{roundedClasses:u}=Ie(e),{sizeClasses:c,sizeStyles:v}=ft(e);return le(()=>t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},o.value,a.value,s.value,u.value,c.value,i.value,e.class],style:[r.value,v.value,e.style]},{default:()=>{var f;return[e.image?t.createVNode($r,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?t.createVNode(ce,{key:"icon",icon:e.icon},null):((f=l.default)==null?void 0:f.call(l))??e.text,Yt(!1,"v-avatar")]}})),{}}}),ta=Symbol.for("vuetify:v-chip-group"),ts=R({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ee},...ne(),...Fn({selectedClass:"v-chip--selected"}),...pe(),...ue(),...De({variant:"tonal"})},"VChipGroup");J()({name:"VChipGroup",props:ts(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:l}=n;const{themeClasses:o}=de(e),{isSelected:a,select:r,next:i,prev:s,selected:u}=En(e,ta);return Ce({VChip:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),le(()=>t.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style},{default:()=>{var c;return[(c=l.default)==null?void 0:c.call(l,{isSelected:a,select:r,next:i,prev:s,selected:u.value})]}})),{}}});const ls=R({activeClass:String,appendAvatar:String,appendIcon:ae,closable:Boolean,closeIcon:{type:ae,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:ae,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ye(),onClickOnce:ye(),...Je(),...ne(),...xe(),...We(),..._n(),...Be(),...Ll(),...Qe(),...pe({tag:"span"}),...ue(),...De({variant:"tonal"})},"VChip"),os=J()({name:"VChip",directives:{Ripple:Jt},props:ls(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,n){let{attrs:l,emit:o,slots:a}=n;const{t:r}=$e(),{borderClasses:i}=vt(e),{colorClasses:s,colorStyles:u,variantClasses:c}=Xt(e),{densityClasses:v}=Pe(e),{elevationClasses:f}=Ze(e),{roundedClasses:p}=Ie(e),{sizeClasses:d}=ft(e),{themeClasses:h}=de(e),g=se(e,"modelValue"),y=An(e,ta,!1),b=Rl(e,l),V=t.computed(()=>e.link!==!1&&b.isLink.value),P=t.computed(()=>!e.disabled&&e.link!==!1&&(!!y||e.link||b.isClickable.value)),k=t.computed(()=>({"aria-label":r(e.closeLabel),onClick(F){F.stopPropagation(),g.value=!1,o("click:close",F)}}));function C(F){var m;o("click",F),P.value&&((m=b.navigate)==null||m.call(b,F),y==null||y.toggle())}function B(F){F.key!=="Enter"&&F.key!==" "||(F.preventDefault(),C(F))}return()=>{const F=b.isLink.value?"a":e.tag,m=!(!e.appendIcon&&!e.appendAvatar),w=!(!m&&!a.append),S=!(!a.close&&!e.closable),x=!(!a.filter&&!e.filter)&&y,N=!(!e.prependIcon&&!e.prependAvatar),E=!(!N&&!a.prepend),D=!y||y.isSelected.value;return g.value&&t.withDirectives(t.createVNode(F,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":P.value,"v-chip--filter":x,"v-chip--pill":e.pill},h.value,i.value,D?s.value:void 0,v.value,f.value,p.value,d.value,c.value,y==null?void 0:y.selectedClass.value,e.class],style:[D?u.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:b.href.value,tabindex:P.value?0:void 0,onClick:C,onKeydown:P.value&&!V.value&&B},{default:()=>{var $;return[Yt(P.value,"v-chip"),x&&t.createVNode(Vn,{key:"filter"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-chip__filter"},[a.filter?t.createVNode(we,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):t.createVNode(ce,{key:"filter-icon",icon:e.filterIcon},null)]),[[t.vShow,y.isSelected.value]])]}),E&&t.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):t.createVNode(t.Fragment,null,[e.prependIcon&&t.createVNode(ce,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&t.createVNode(Lt,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),t.createVNode("div",{class:"v-chip__content"},[(($=a.default)==null?void 0:$.call(a,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:e.disabled}))??e.text]),w&&t.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?t.createVNode(we,{key:"append-defaults",disabled:!m,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(ce,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Lt,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),S&&t.createVNode("button",t.mergeProps({key:"close",class:"v-chip__close"},k.value),[a.close?t.createVNode(we,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):t.createVNode(ce,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[t.resolveDirective("ripple"),P.value&&e.ripple,null]])}}}),bl=Symbol.for("vuetify:list");function la(){const e=t.inject(bl,{hasPrepend:t.shallowRef(!1),updateHasPrepend:()=>null}),n={hasPrepend:t.shallowRef(!1),updateHasPrepend:l=>{l&&(n.hasPrepend.value=l)}};return t.provide(bl,n),e}function oa(){return t.inject(bl,null)}const ns={open:e=>{let{id:n,value:l,opened:o,parents:a}=e;if(l){const r=new Set;r.add(n);let i=a.get(n);for(;i!=null;)r.add(i),i=a.get(i);return r}return o.delete(n),o},select:()=>null},na={open:e=>{let{id:n,value:l,opened:o,parents:a}=e;if(l){let r=a.get(n);for(o.add(n);r!=null&&r!==n;)o.add(r),r=a.get(r);return o}return o.delete(n),o},select:()=>null},as={open:na.open,select:e=>{let{id:n,value:l,opened:o,parents:a}=e;if(!l)return o;const r=[];let i=a.get(n);for(;i!=null;)r.push(i),i=a.get(i);return new Set(r)}},wl=e=>{const n={select:l=>{let{id:o,value:a,selected:r}=l;if(o=t.toRaw(o),e&&!a){const i=Array.from(r.entries()).reduce((s,u)=>{let[c,v]=u;return v==="on"?[...s,c]:s},[]);if(i.length===1&&i[0]===o)return r}return r.set(o,a?"on":"off"),r},in:(l,o,a)=>{let r=new Map;for(const i of l||[])r=n.select({id:i,value:!0,selected:new Map(r),children:o,parents:a});return r},out:l=>{const o=[];for(const[a,r]of l.entries())r==="on"&&o.push(a);return o}};return n},Ro=e=>{const n=wl(e);return{select:l=>{let{selected:o,id:a,...r}=l;a=t.toRaw(a);const i=o.has(a)?new Map([[a,o.get(a)]]):new Map;return n.select({...r,id:a,selected:i})},in:(l,o,a)=>{let r=new Map;return l!=null&&l.length&&(r=n.in(l.slice(0,1),o,a)),r},out:(l,o,a)=>n.out(l,o,a)}},dt=Symbol.for("vuetify:nested"),aa={id:t.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:t.ref(new Map),children:t.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:t.ref(new Set),selected:t.ref(new Map),selectedValues:t.ref([])}},rs=R({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),ss=e=>{let n=!1;const l=t.ref(new Map),o=t.ref(new Map),a=se(e,"opened",e.opened,f=>new Set(f),f=>[...f.values()]),r=t.computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return(f=>{const p=Ro(f);return{select:d=>{let{id:h,selected:g,children:y,...b}=d;return h=t.toRaw(h),y.has(h)?g:p.select({id:h,selected:g,children:y,...b})},in:p.in,out:p.out}})(e.mandatory);case"leaf":return(f=>{const p=wl(f);return{select:d=>{let{id:h,selected:g,children:y,...b}=d;return h=t.toRaw(h),y.has(h)?g:p.select({id:h,selected:g,children:y,...b})},in:p.in,out:p.out}})(e.mandatory);case"independent":return wl(e.mandatory);case"single-independent":return Ro(e.mandatory);default:return(f=>{const p={select:d=>{let{id:h,value:g,selected:y,children:b,parents:V}=d;h=t.toRaw(h);const P=new Map(y),k=[h];for(;k.length;){const B=k.shift();y.set(B,g?"on":"off"),b.has(B)&&k.push(...b.get(B))}let C=V.get(h);for(;C;){const B=b.get(C),F=B.every(w=>y.get(w)==="on"),m=B.every(w=>!y.has(w)||y.get(w)==="off");y.set(C,F?"on":m?"off":"indeterminate"),C=V.get(C)}return f&&!g&&Array.from(y.entries()).reduce((F,m)=>{let[w,S]=m;return S==="on"?[...F,w]:F},[]).length===0?P:y},in:(d,h,g)=>{let y=new Map;for(const b of d||[])y=p.select({id:b,value:!0,selected:new Map(y),children:h,parents:g});return y},out:(d,h)=>{const g=[];for(const[y,b]of d.entries())b!=="on"||h.has(y)||g.push(y);return g}};return p})(e.mandatory)}}),i=t.computed(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return as;case"single":return ns;default:return na}}),s=se(e,"selected",e.selected,f=>r.value.in(f,l.value,o.value),f=>r.value.out(f,l.value,o.value));function u(f){const p=[];let d=f;for(;d!=null;)p.unshift(d),d=o.value.get(d);return p}t.onBeforeUnmount(()=>{n=!0});const c=ie("nested"),v={id:t.shallowRef(),root:{opened:a,selected:s,selectedValues:t.computed(()=>{const f=[];for(const[p,d]of s.value.entries())d==="on"&&f.push(p);return f}),register:(f,p,d)=>{p&&f!==p&&o.value.set(f,p),d&&l.value.set(f,[]),p!=null&&l.value.set(p,[...l.value.get(p)||[],f])},unregister:f=>{if(n)return;l.value.delete(f);const p=o.value.get(f);if(p){const d=l.value.get(p)??[];l.value.set(p,d.filter(h=>h!==f))}o.value.delete(f),a.value.delete(f)},open:(f,p,d)=>{c.emit("click:open",{id:f,value:p,path:u(f),event:d});const h=i.value.open({id:f,value:p,opened:new Set(a.value),children:l.value,parents:o.value,event:d});h&&(a.value=h)},openOnSelect:(f,p,d)=>{const h=i.value.select({id:f,value:p,selected:new Map(s.value),opened:new Set(a.value),children:l.value,parents:o.value,event:d});h&&(a.value=h)},select:(f,p,d)=>{c.emit("click:select",{id:f,value:p,path:u(f),event:d});const h=r.value.select({id:f,value:p,selected:new Map(s.value),children:l.value,parents:o.value,event:d});h&&(s.value=h),v.root.openOnSelect(f,p,d)},children:l,parents:o}};return t.provide(dt,v),v.root},ra=(e,n)=>{const l=t.inject(dt,aa),o=Symbol(Se()),a=t.computed(()=>e.value!==void 0?e.value:o),r={...l,id:a,open:(i,s)=>l.root.open(a.value,i,s),openOnSelect:(i,s)=>l.root.openOnSelect(a.value,i,s),isOpen:t.computed(()=>l.root.opened.value.has(a.value)),parent:t.computed(()=>l.root.parents.value.get(a.value)),select:(i,s)=>l.root.select(a.value,i,s),isSelected:t.computed(()=>l.root.selected.value.get(t.toRaw(a.value))==="on"),isIndeterminate:t.computed(()=>l.root.selected.value.get(a.value)==="indeterminate"),isLeaf:t.computed(()=>!l.root.children.value.get(a.value)),isGroupActivator:l.isGroupActivator};return!l.isGroupActivator&&l.root.register(a.value,l.id.value,n),t.onBeforeUnmount(()=>{!l.isGroupActivator&&l.root.unregister(a.value)}),n&&t.provide(dt,r),r},is=it({name:"VListGroupActivator",setup(e,n){let{slots:l}=n;return(()=>{const o=t.inject(dt,aa);t.provide(dt,{...o,isGroupActivator:!0})})(),()=>{var o;return(o=l.default)==null?void 0:o.call(l)}}}),us=R({activeColor:String,baseColor:String,color:String,collapseIcon:{type:ae,default:"$collapse"},expandIcon:{type:ae,default:"$expand"},prependIcon:ae,appendIcon:ae,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ne(),...pe()},"VListGroup"),Lo=J()({name:"VListGroup",props:us(),setup(e,n){let{slots:l}=n;const{isOpen:o,open:a,id:r}=ra(t.toRef(e,"value"),!0),i=t.computed(()=>`v-list-group--id-${String(r.value)}`),s=oa(),{isBooted:u}=function(){const d=t.shallowRef(!1);return t.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:t.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:t.readonly(d)}}();function c(d){a(!o.value,d)}const v=t.computed(()=>({onClick:c,class:"v-list-group__header",id:i.value})),f=t.computed(()=>o.value?e.collapseIcon:e.expandIcon),p=t.computed(()=>({VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}));return le(()=>t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:()=>[l.activator&&t.createVNode(we,{defaults:p.value},{default:()=>[t.createVNode(is,null,{default:()=>[l.activator({props:v.value,isOpen:o.value})]})]}),t.createVNode(Ne,{transition:{component:_r},disabled:!u.value},{default:()=>{var d;return[t.withDirectives(t.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[(d=l.default)==null?void 0:d.call(l)]),[[t.vShow,o.value]])]}})]})),{}}}),cs=gn("v-list-item-subtitle"),ds=gn("v-list-item-title"),ps=R({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:ae,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:ae,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:ye(),onClickOnce:ye(),...Je(),...ne(),...xe(),...je(),...We(),...Be(),...Ll(),...pe(),...ue(),...De({variant:"text"})},"VListItem"),Ot=J()({name:"VListItem",directives:{Ripple:Jt},props:ps(),emits:{click:e=>!0},setup(e,n){let{attrs:l,slots:o,emit:a}=n;const r=Rl(e,l),i=t.computed(()=>e.value===void 0?r.href.value:e.value),{select:s,isSelected:u,isIndeterminate:c,isGroupActivator:v,root:f,parent:p,openOnSelect:d}=ra(i,!1),h=oa(),g=t.computed(()=>{var _;return e.active!==!1&&(e.active||((_=r.isActive)==null?void 0:_.value)||u.value)}),y=t.computed(()=>e.link!==!1&&r.isLink.value),b=t.computed(()=>!e.disabled&&e.link!==!1&&(e.link||r.isClickable.value||e.value!=null&&!!h)),V=t.computed(()=>e.rounded||e.nav),P=t.computed(()=>e.color??e.activeColor),k=t.computed(()=>({color:g.value?P.value??e.baseColor:e.baseColor,variant:e.variant}));t.watch(()=>{var _;return(_=r.isActive)==null?void 0:_.value},_=>{_&&p.value!=null&&f.open(p.value,!0),_&&d(_)},{immediate:!0});const{themeClasses:C}=de(e),{borderClasses:B}=vt(e),{colorClasses:F,colorStyles:m,variantClasses:w}=Xt(k),{densityClasses:S}=Pe(e),{dimensionStyles:x}=ze(e),{elevationClasses:N}=Ze(e),{roundedClasses:E}=Ie(V),D=t.computed(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),$=t.computed(()=>({isActive:g.value,select:s,isSelected:u.value,isIndeterminate:c.value}));function T(_){var L;a("click",_),!v&&b.value&&((L=r.navigate)==null||L.call(r,_),e.value!=null&&s(!u.value,_))}function W(_){_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),T(_))}return le(()=>{const _=y.value?"a":e.tag,L=o.title||e.title!=null,O=o.subtitle||e.subtitle!=null,H=!(!e.appendAvatar&&!e.appendIcon),X=!(!H&&!o.append),q=!(!e.prependAvatar&&!e.prependIcon),K=!(!q&&!o.prepend);var I,M;return h==null||h.updateHasPrepend(K),e.activeColor&&(I="active-color",M=["color","base-color"],M=Array.isArray(M)?M.slice(0,-1).map(z=>`'${z}'`).join(", ")+` or '${M.at(-1)}'`:`'${M}'`,t.warn(`[Vuetify UPGRADE] '${I}' is deprecated, use ${M} instead.`)),t.withDirectives(t.createVNode(_,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":b.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!K&&(h==null?void 0:h.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&g.value},C.value,B.value,F.value,S.value,N.value,D.value,E.value,w.value,e.class],style:[m.value,x.value,e.style],href:r.href.value,tabindex:b.value?h?-2:0:void 0,onClick:T,onKeydown:b.value&&!y.value&&W},{default:()=>{var z;return[Yt(b.value||g.value,"v-list-item"),K&&t.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[o.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var j;return[(j=o.prepend)==null?void 0:j.call(o,$.value)]}}):t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(Lt,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&t.createVNode(ce,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)]),t.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[L&&t.createVNode(ds,{key:"title"},{default:()=>{var j;return[((j=o.title)==null?void 0:j.call(o,{title:e.title}))??e.title]}}),O&&t.createVNode(cs,{key:"subtitle"},{default:()=>{var j;return[((j=o.subtitle)==null?void 0:j.call(o,{subtitle:e.subtitle}))??e.subtitle]}}),(z=o.default)==null?void 0:z.call(o,$.value)]),X&&t.createVNode("div",{key:"append",class:"v-list-item__append"},[o.append?t.createVNode(we,{key:"append-defaults",disabled:!H,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var j;return[(j=o.append)==null?void 0:j.call(o,$.value)]}}):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(ce,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Lt,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[t.resolveDirective("ripple"),b.value&&e.ripple]])}),{}}}),vs=R({color:String,inset:Boolean,sticky:Boolean,title:String,...ne(),...pe()},"VListSubheader"),fs=J()({name:"VListSubheader",props:vs(),setup(e,n){let{slots:l}=n;const{textColorClasses:o,textColorStyles:a}=Ve(t.toRef(e,"color"));return le(()=>{const r=!(!l.default&&!e.title);return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},o.value,e.class],style:[{textColorStyles:a},e.style]},{default:()=>{var i;return[r&&t.createVNode("div",{class:"v-list-subheader__text"},[((i=l.default)==null?void 0:i.call(l))??e.title])]}})}),{}}}),ms=R({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ne(),...ue()},"VDivider"),sa=J()({name:"VDivider",props:ms(),setup(e,n){let{attrs:l}=n;const{themeClasses:o}=de(e),{textColorClasses:a,textColorStyles:r}=Ve(t.toRef(e,"color")),i=t.computed(()=>{const s={};return e.length&&(s[e.vertical?"maxHeight":"maxWidth"]=Z(e.length)),e.thickness&&(s[e.vertical?"borderRightWidth":"borderTopWidth"]=Z(e.thickness)),s});return le(()=>t.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},o.value,a.value,e.class],style:[i.value,r.value,e.style],"aria-orientation":l.role&&l.role!=="separator"?void 0:e.vertical?"vertical":"horizontal",role:`${l.role||"separator"}`},null)),{}}}),gs=R({items:Array,returnObject:Boolean},"VListChildren"),ia=J()({name:"VListChildren",props:gs(),setup(e,n){let{slots:l}=n;return la(),()=>{var o,a;return((o=l.default)==null?void 0:o.call(l))??((a=e.items)==null?void 0:a.map(r=>{var p,d;let{children:i,props:s,type:u,raw:c}=r;if(u==="divider")return((p=l.divider)==null?void 0:p.call(l,{props:s}))??t.createVNode(sa,s,null);if(u==="subheader")return((d=l.subheader)==null?void 0:d.call(l,{props:s}))??t.createVNode(fs,s,null);const v={subtitle:l.subtitle?h=>{var g;return(g=l.subtitle)==null?void 0:g.call(l,{...h,item:c})}:void 0,prepend:l.prepend?h=>{var g;return(g=l.prepend)==null?void 0:g.call(l,{...h,item:c})}:void 0,append:l.append?h=>{var g;return(g=l.append)==null?void 0:g.call(l,{...h,item:c})}:void 0,title:l.title?h=>{var g;return(g=l.title)==null?void 0:g.call(l,{...h,item:c})}:void 0},f=Lo.filterProps(s);return i?t.createVNode(Lo,t.mergeProps({value:s==null?void 0:s.value},f),{activator:h=>{let{props:g}=h;const y={...s,...g,value:e.returnObject?c:s.value};return l.header?l.header({props:y}):t.createVNode(Ot,y,v)},default:()=>t.createVNode(ia,{items:i},l)}):l.item?l.item({props:s}):t.createVNode(Ot,t.mergeProps(s,{value:e.returnObject?c:s.value}),v)}))}}}),ua=R({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:Ee}},"list-items");function Sl(e,n){const l=me(n,e.itemTitle,n),o=me(n,e.itemValue,l),a=me(n,e.itemChildren),r={title:l,value:o,...e.itemProps===!0?typeof n!="object"||n==null||Array.isArray(n)?void 0:"children"in n?Me(n,["children"]):n:me(n,e.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?ca(e,a):void 0,raw:n}}function ca(e,n){const l=[];for(const o of n)l.push(Sl(e,o));return l}function hs(e,n){const l=me(n,e.itemType,"item"),o=function(s){return typeof s=="string"||typeof s=="number"||typeof s=="boolean"}(n)?n:me(n,e.itemTitle),a=me(n,e.itemValue,void 0),r=me(n,e.itemChildren),i={title:o,value:a,...e.itemProps===!0?Me(n,["children"]):me(n,e.itemProps)};return{type:l,title:i.title,value:i.value,props:i,children:l==="item"&&r?da(e,r):void 0,raw:n}}function da(e,n){const l=[];for(const o of n)l.push(hs(e,o));return l}const ys=R({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...rs({selectStrategy:"single-leaf",openStrategy:"list"}),...Je(),...ne(),...xe(),...je(),...We(),itemType:{type:String,default:"type"},...ua(),...Be(),...pe(),...ue(),...De({variant:"text"})},"VList"),bs=J()({name:"VList",props:ys(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,n){let{slots:l}=n;const{items:o}=function(w){return{items:t.computed(()=>da(w,w.items))}}(e),{themeClasses:a}=de(e),{backgroundColorClasses:r,backgroundColorStyles:i}=Ae(t.toRef(e,"bgColor")),{borderClasses:s}=vt(e),{densityClasses:u}=Pe(e),{dimensionStyles:c}=ze(e),{elevationClasses:v}=Ze(e),{roundedClasses:f}=Ie(e),{open:p,select:d}=ss(e),h=t.computed(()=>e.lines?`v-list--${e.lines}-line`:void 0),g=t.toRef(e,"activeColor"),y=t.toRef(e,"baseColor"),b=t.toRef(e,"color");la(),Ce({VListGroup:{activeColor:g,baseColor:y,color:b},VListItem:{activeClass:t.toRef(e,"activeClass"),activeColor:g,baseColor:y,color:b,density:t.toRef(e,"density"),disabled:t.toRef(e,"disabled"),lines:t.toRef(e,"lines"),nav:t.toRef(e,"nav"),slim:t.toRef(e,"slim"),variant:t.toRef(e,"variant")}});const V=t.shallowRef(!1),P=t.ref();function k(w){V.value=!0}function C(w){V.value=!1}function B(w){var S;V.value||w.relatedTarget&&((S=P.value)!=null&&S.contains(w.relatedTarget))||m()}function F(w){if(P.value){if(w.key==="ArrowDown")m("next");else if(w.key==="ArrowUp")m("prev");else if(w.key==="Home")m("first");else{if(w.key!=="End")return;m("last")}w.preventDefault()}}function m(w){if(P.value)return _t(P.value,w)}return le(()=>t.createVNode(e.tag,{ref:P,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},a.value,r.value,s.value,u.value,v.value,h.value,f.value,e.class],style:[i.value,c.value,e.style],tabindex:e.disabled||V.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:k,onFocusout:C,onFocus:B,onKeydown:F},{default:()=>[t.createVNode(ia,{items:o.value,returnObject:e.returnObject},l)]})),{open:p,select:d,focus:m}}});function sl(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Oo(e,n){if(e.side==="top"||e.side==="bottom"){const{side:l,align:o}=e;return sl({x:o==="left"?0:o==="center"?n.width/2:o==="right"?n.width:o,y:l==="top"?0:l==="bottom"?n.height:l},n)}if(e.side==="left"||e.side==="right"){const{side:l,align:o}=e;return sl({x:l==="left"?0:l==="right"?n.width:l,y:o==="top"?0:o==="center"?n.height/2:o==="bottom"?n.height:o},n)}return sl({x:n.width/2,y:n.height/2},n)}const pa={static:function(){},connected:function(e,n,l){(Array.isArray(e.target.value)||function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1}(e.target.value))&&Object.assign(l.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:o,preferredOrigin:a}=_l(()=>{const d=gl(n.location,e.isRtl.value),h=n.origin==="overlap"?d:n.origin==="auto"?ol(d):gl(n.origin,e.isRtl.value);return d.side===h.side&&d.align===nl(h).align?{preferredAnchor:uo(d),preferredOrigin:uo(h)}:{preferredAnchor:d,preferredOrigin:h}}),[r,i,s,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>t.computed(()=>{const h=parseFloat(n[d]);return isNaN(h)?1/0:h})),c=t.computed(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const d=n.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let v=!1;const f=new ResizeObserver(()=>{v&&p()});function p(){if(v=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>v=!0)}),!e.target.value||!e.contentEl.value)return;const d=vn(e.target.value),h=function(w,S){S?w.style.removeProperty("left"):w.style.removeProperty("right");const x=Al(w);return S?x.x+=parseFloat(w.style.right||0):x.x-=parseFloat(w.style.left||0),x.y-=parseFloat(w.style.top||0),x}(e.contentEl.value,e.isRtl.value),g=It(e.contentEl.value);g.length||(g.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(h.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),h.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=g.reduce((w,S)=>{const x=S.getBoundingClientRect(),N=new Le({x:S===document.documentElement?0:x.x,y:S===document.documentElement?0:x.y,width:S.clientWidth,height:S.clientHeight});return w?new Le({x:Math.max(w.left,N.left),y:Math.max(w.top,N.top),width:Math.min(w.right,N.right)-Math.max(w.left,N.left),height:Math.min(w.bottom,N.bottom)-Math.max(w.top,N.top)}):N},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;let b={anchor:o.value,origin:a.value};function V(w){const S=new Le(h),x=Oo(w.anchor,d),N=Oo(w.origin,S);let{x:E,y:D}=(T=N,{x:($=x).x-T.x,y:$.y-T.y});var $,T;switch(w.anchor.side){case"top":D-=c.value[0];break;case"bottom":D+=c.value[0];break;case"left":E-=c.value[0];break;case"right":E+=c.value[0]}switch(w.anchor.align){case"top":D-=c.value[1];break;case"bottom":D+=c.value[1];break;case"left":E-=c.value[1];break;case"right":E+=c.value[1]}return S.x+=E,S.y+=D,S.width=Math.min(S.width,s.value),S.height=Math.min(S.height,u.value),{overflows:po(S,y),x:E,y:D}}let P=0,k=0;const C={x:0,y:0},B={x:!1,y:!1};let F=-1;for(;;){if(F++>10){fn("Infinite loop detected in connectedLocationStrategy");break}const{x:w,y:S,overflows:x}=V(b);P+=w,k+=S,h.x+=w,h.y+=S;{const N=co(b.anchor),E=x.x.before||x.x.after,D=x.y.before||x.y.after;let $=!1;if(["x","y"].forEach(T=>{if(T==="x"&&E&&!B.x||T==="y"&&D&&!B.y){const W={anchor:{...b.anchor},origin:{...b.origin}},_=T==="x"?N==="y"?nl:ol:N==="y"?ol:nl;W.anchor=_(W.anchor),W.origin=_(W.origin);const{overflows:L}=V(W);(L[T].before<=x[T].before&&L[T].after<=x[T].after||L[T].before+L[T].after<(x[T].before+x[T].after)/2)&&(b=W,$=B[T]=!0)}}),$)continue}x.x.before&&(P+=x.x.before,h.x+=x.x.before),x.x.after&&(P-=x.x.after,h.x-=x.x.after),x.y.before&&(k+=x.y.before,h.y+=x.y.before),x.y.after&&(k-=x.y.after,h.y-=x.y.after);{const N=po(h,y);C.x=y.width-N.x.before-N.x.after,C.y=y.height-N.y.before-N.y.after,P+=N.x.before,h.x+=N.x.before,k+=N.y.before,h.y+=N.y.before}break}const m=co(b.anchor);return Object.assign(l.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:Z(il(k)),left:e.isRtl.value?void 0:Z(il(P)),right:e.isRtl.value?Z(il(-P)):void 0,minWidth:Z(m==="y"?Math.min(r.value,d.width):r.value),maxWidth:Z(Mo(_e(C.x,r.value===1/0?0:r.value,s.value))),maxHeight:Z(Mo(_e(C.y,i.value===1/0?0:i.value,u.value)))}),{available:C,contentBox:h}}return t.watch([e.target,e.contentEl],(d,h)=>{let[g,y]=d,[b,V]=h;b&&!Array.isArray(b)&&f.unobserve(b),g&&!Array.isArray(g)&&f.observe(g),V&&f.unobserve(V),y&&f.observe(y)},{immediate:!0}),t.onScopeDispose(()=>{f.disconnect()}),t.watch(()=>[o.value,a.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>p()),t.nextTick(()=>{const d=p();if(!d)return;const{available:h,contentBox:g}=d;g.height>h.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},ws=R({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in pa},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function il(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Mo(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let kl=!0;const Mt=[];let jo=-1;function xl(){cancelAnimationFrame(jo),jo=requestAnimationFrame(()=>{const e=Mt.shift();e&&e(),Mt.length?xl():kl=!0})}const Bt={none:null,close:function(e){zo(e.targetEl.value??e.contentEl.value,function(n){e.isActive.value=!1})},block:function(e,n){var s;const l=(s=e.root.value)==null?void 0:s.offsetParent,o=[...new Set([...It(e.targetEl.value,n.contained?l:void 0),...It(e.contentEl.value,n.contained?l:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=l||document.documentElement,$l(i)&&i);var i;r&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((u,c)=>{u.style.setProperty("--v-body-scroll-x",Z(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",Z(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",Z(a)),u.classList.add("v-overlay-scroll-blocked")}),t.onScopeDispose(()=>{o.forEach((u,c)=>{const v=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(u.style.getPropertyValue("--v-body-scroll-y"));u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-v,u.scrollTop=-f}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(e,n,l){let o=!1,a=-1,r=-1;function i(s){var u;u=()=>{var f,p;const c=performance.now();(p=(f=e.updateLocation).value)==null||p.call(f,s),o=(performance.now()-c)/(1e3/60)>2},!kl||Mt.length?(Mt.push(u),xl()):(kl=!1,u(),xl())}r=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{l.run(()=>{zo(e.targetEl.value??e.contentEl.value,s=>{o?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{i(s)})})):i(s)})})}),t.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},Ss=R({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Bt}},"VOverlay-scroll-strategies");function zo(e,n){const l=[document,...It(e)];l.forEach(o=>{o.addEventListener("scroll",n,{passive:!0})}),t.onScopeDispose(()=>{l.forEach(o=>{o.removeEventListener("scroll",n)})})}const Cl=Symbol.for("vuetify:v-menu"),ks=R({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),xs=R({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...ks()},"VOverlay-activator");function Cs(e,n){let{isActive:l,isTop:o}=n;const a=ie("useActivator"),r=t.ref();let i=!1,s=!1,u=!0;const c=t.computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),v=t.computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:f,runCloseDelay:p}=function(x,N){const E={},D=$=>()=>{if(!fe)return Promise.resolve(!0);const T=$==="openDelay";return E.closeDelay&&window.clearTimeout(E.closeDelay),delete E.closeDelay,E.openDelay&&window.clearTimeout(E.openDelay),delete E.openDelay,new Promise(W=>{const _=parseInt(x[$]??0,10);E[$]=window.setTimeout(()=>{N==null||N(T),W(T)},_)})};return{runCloseDelay:D("closeDelay"),runOpenDelay:D("openDelay")}}(e,x=>{x!==(e.openOnHover&&i||c.value&&s)||e.openOnHover&&l.value&&!o.value||(l.value!==x&&(u=!0),l.value=x)}),d=t.ref(),h=x=>{x.stopPropagation(),r.value=x.currentTarget||x.target,l.value||(d.value=[x.clientX,x.clientY]),l.value=!l.value},g=x=>{var N;(N=x.sourceCapabilities)!=null&&N.firesTouchEvents||(i=!0,r.value=x.currentTarget||x.target,f())},y=x=>{i=!1,p()},b=x=>{At(x.target,":focus-visible")!==!1&&(s=!0,x.stopPropagation(),r.value=x.currentTarget||x.target,f())},V=x=>{s=!1,x.stopPropagation(),p()},P=t.computed(()=>{const x={};return v.value&&(x.onClick=h),e.openOnHover&&(x.onMouseenter=g,x.onMouseleave=y),c.value&&(x.onFocus=b,x.onBlur=V),x}),k=t.computed(()=>{const x={};if(e.openOnHover&&(x.onMouseenter=()=>{i=!0,f()},x.onMouseleave=()=>{i=!1,p()}),c.value&&(x.onFocusin=()=>{s=!0,f()},x.onFocusout=()=>{s=!1,p()}),e.closeOnContentClick){const N=t.inject(Cl,null);x.onClick=()=>{l.value=!1,N==null||N.closeParents()}}return x}),C=t.computed(()=>{const x={};return e.openOnHover&&(x.onMouseenter=()=>{u&&(i=!0,u=!1,f())},x.onMouseleave=()=>{i=!1,p()}),x});t.watch(o,x=>{!x||(!e.openOnHover||i||c.value&&s)&&(!c.value||s||e.openOnHover&&i)||(l.value=!1)}),t.watch(l,x=>{x||setTimeout(()=>{d.value=void 0})},{flush:"post"});const B=t.ref();t.watchEffect(()=>{B.value&&t.nextTick(()=>{r.value=Pt(B.value)})});const F=t.ref(),m=t.computed(()=>e.target==="cursor"&&d.value?d.value:F.value?Pt(F.value):Wo(e.target,a)||r.value),w=t.computed(()=>Array.isArray(m.value)?void 0:m.value);let S;return t.watch(()=>!!e.activator,x=>{x&&fe?(S=t.effectScope(),S.run(()=>{(function(N,E,D){let{activatorEl:$,activatorEvents:T}=D;function W(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L(),H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N.activatorProps;O&&function(X,q){Object.keys(q).forEach(K=>{if(Nt(K)){const I=ro(K),M=wt.get(X);if(q[K]==null)M==null||M.forEach(z=>{const[j,A]=z;j===I&&(X.removeEventListener(I,A),M.delete(z))});else if(!M||![...M].some(z=>z[0]===I&&z[1]===q[K])){X.addEventListener(I,q[K]);const z=M||new Set;z.add([I,q[K]]),wt.has(X)||wt.set(X,z)}}else q[K]==null?X.removeAttribute(K):X.setAttribute(K,q[K])})}(O,t.mergeProps(T.value,H))}function _(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L(),H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N.activatorProps;O&&function(X,q){Object.keys(q).forEach(K=>{if(Nt(K)){const I=ro(K),M=wt.get(X);M==null||M.forEach(z=>{const[j,A]=z;j===I&&(X.removeEventListener(I,A),M.delete(z))})}else X.removeAttribute(K)})}(O,t.mergeProps(T.value,H))}function L(){const O=Wo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:N.activator,E);return $.value=(O==null?void 0:O.nodeType)===Node.ELEMENT_NODE?O:void 0,$.value}t.watch(()=>N.activator,(O,H)=>{if(H&&O!==H){const X=L(H);X&&_(X)}O&&t.nextTick(()=>W())},{immediate:!0}),t.watch(()=>N.activatorProps,()=>{W()}),t.onScopeDispose(()=>{_()})})(e,a,{activatorEl:r,activatorEvents:P})})):S&&S.stop()},{flush:"post",immediate:!0}),t.onScopeDispose(()=>{S==null||S.stop()}),{activatorEl:r,activatorRef:B,target:m,targetEl:w,targetRef:F,activatorEvents:P,contentEvents:k,scrimEvents:C}}function Wo(e,n){var o,a;if(!e)return;let l;if(e==="parent"){let r=(a=(o=n==null?void 0:n.proxy)==null?void 0:o.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;l=r}else l=typeof e=="string"?document.querySelector(e):"$el"in e?e.$el:e;return l}const Zt=["sm","md","lg","xl","xxl"],Vs=Symbol.for("vuetify:display");function zl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=t.inject(Vs);if(!l)throw new Error("Could not find Vuetify display injection");const o=t.computed(()=>{if(!e.mobileBreakpoint)return l.mobile.value;const r=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:l.thresholds.value[e.mobileBreakpoint];return l.width.valuen?{[`${n}--mobile`]:o.value}:{});return{...l,displayClasses:a,mobile:o}}const Bs=R({eager:Boolean},"lazy");function va(){const e=ie("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Go=Symbol.for("vuetify:stack"),lt=t.reactive([]);function Ps(){return!0}function Ho(e,n,l){if(!e||fa(e,l)===!1)return!1;const o=hn(n);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=(typeof l.value=="object"&&l.value.include||(()=>[]))();return a.push(n),!a.some(r=>r==null?void 0:r.contains(e.target))}function fa(e,n){return(typeof n.value=="object"&&n.value.closeConditional||Ps)(e)}function Uo(e,n){const l=hn(e);n(document),typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&n(l)}const Ns={mounted(e,n){const l=a=>function(r,i,s){const u=typeof s.value=="function"?s.value:s.value.handler;i._clickOutside.lastMousedownWasOutside&&Ho(r,i,s)&&setTimeout(()=>{fa(r,s)&&u&&u(r)},0)}(a,e,n),o=a=>{e._clickOutside.lastMousedownWasOutside=Ho(a,e,n)};Uo(e,a=>{a.addEventListener("click",l,!0),a.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:l,onMousedown:o}},unmounted(e,n){e._clickOutside&&(Uo(e,l=>{var r;if(!l||!((r=e._clickOutside)!=null&&r[n.instance.$.uid]))return;const{onClick:o,onMousedown:a}=e._clickOutside[n.instance.$.uid];l.removeEventListener("click",o,!0),l.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[n.instance.$.uid])}};function Fs(e){const{modelValue:n,color:l,...o}=e;return t.createVNode(t.Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&t.createVNode("div",t.mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const ma=R({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...xs(),...ne(),...je(),...Bs(),...ws(),...Ss(),...ue(),...pt()},"VOverlay"),qo=J()({name:"VOverlay",directives:{ClickOutside:Ns},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ma()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){var q,K;let{slots:l,attrs:o,emit:a}=n;const r=se(e,"modelValue"),i=t.computed({get:()=>r.value,set:I=>{I&&e.disabled||(r.value=I)}}),{teleportTarget:s}=function(I){return{teleportTarget:t.computed(()=>{const M=I.value;if(M===!0||!fe)return;const z=M===!1?document.body:typeof M=="string"?document.querySelector(M):M;if(z==null)return void t.warn(`Unable to locate target ${M}`);let j=z.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",z.appendChild(j)),j})}}(t.computed(()=>e.attach||e.contained)),{themeClasses:u}=de(e),{rtlClasses:c,isRtl:v}=Xe(),{hasContent:f,onAfterLeave:p}=function(I,M){const z=t.shallowRef(!1),j=t.computed(()=>z.value||I.eager||M.value);return t.watch(M,()=>z.value=!0),{isBooted:z,hasContent:j,onAfterLeave:function(){I.eager||(z.value=!1)}}}(e,i),d=Ae(t.computed(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:h,localTop:g,stackStyles:y}=function(I,M,z){const j=ie("useStack"),A=!z,G=t.inject(Go,void 0),ee=t.reactive({activeChildren:new Set});t.provide(Go,ee);const U=t.shallowRef(+M.value);Oe(I,()=>{var re;const te=(re=lt.at(-1))==null?void 0:re[1];U.value=te?te+10:+M.value,A&<.push([j.uid,U.value]),G==null||G.activeChildren.add(j.uid),t.onScopeDispose(()=>{if(A){const be=t.toRaw(lt).findIndex(Ge=>Ge[0]===j.uid);lt.splice(be,1)}G==null||G.activeChildren.delete(j.uid)})});const Y=t.shallowRef(!0);A&&t.watchEffect(()=>{var re;const te=((re=lt.at(-1))==null?void 0:re[0])===j.uid;setTimeout(()=>Y.value=te)});const Q=t.computed(()=>!ee.activeChildren.size);return{globalTop:t.readonly(Y),localTop:Q,stackStyles:t.computed(()=>({zIndex:U.value}))}}(i,t.toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:V,target:P,targetEl:k,targetRef:C,activatorEvents:B,contentEvents:F,scrimEvents:m}=Cs(e,{isActive:i,isTop:g}),{dimensionStyles:w}=ze(e),S=function(){if(!fe)return t.shallowRef(!1);const{ssr:I}=zl();if(I){const M=t.shallowRef(!1);return t.onMounted(()=>{M.value=!0}),M}return t.shallowRef(!0)}(),{scopeId:x}=va();t.watch(()=>e.disabled,I=>{I&&(i.value=!1)});const N=t.ref(),E=t.ref(),{contentStyles:D,updateLocation:$}=function(I,M){const z=t.ref({}),j=t.ref();function A(G){var ee;(ee=j.value)==null||ee.call(j,G)}return fe&&Oe(()=>!(!M.isActive.value||!I.locationStrategy),G=>{var ee,U;t.watch(()=>I.locationStrategy,G),t.onScopeDispose(()=>{window.removeEventListener("resize",A),j.value=void 0}),window.addEventListener("resize",A,{passive:!0}),typeof I.locationStrategy=="function"?j.value=(ee=I.locationStrategy(M,I,z))==null?void 0:ee.updateLocation:j.value=(U=pa[I.locationStrategy](M,I,z))==null?void 0:U.updateLocation}),{contentStyles:z,updateLocation:j}}(e,{isRtl:v,contentEl:E,target:P,isActive:i});function T(I){a("click:outside",I),e.persistent?H():i.value=!1}function W(){return i.value&&h.value}function _(I){var M,z;I.key==="Escape"&&h.value&&(e.persistent?H():(i.value=!1,(M=E.value)!=null&&M.contains(document.activeElement)&&((z=b.value)==null||z.focus())))}(function(I,M){if(!fe)return;let z;t.watchEffect(async()=>{z==null||z.stop(),M.isActive.value&&I.scrollStrategy&&(z=t.effectScope(),await t.nextTick(),z.active&&z.run(()=>{var j;typeof I.scrollStrategy=="function"?I.scrollStrategy(M,I,z):(j=Bt[I.scrollStrategy])==null||j.call(Bt,M,I,z)}))}),t.onScopeDispose(()=>{z==null||z.stop()})})(e,{root:N,contentEl:E,targetEl:k,isActive:i,updateLocation:$}),fe&&t.watch(i,I=>{I?window.addEventListener("keydown",_):window.removeEventListener("keydown",_)},{immediate:!0}),t.onBeforeUnmount(()=>{fe&&window.removeEventListener("keydown",_)});const L=(K=(q=ie("useRouter"))==null?void 0:q.proxy)==null?void 0:K.$router;Oe(()=>e.closeOnBack,()=>{(function(I,M){let z,j,A=!1;function G(ee){var U;(U=ee.state)!=null&&U.replaced||(A=!0,setTimeout(()=>A=!1))}fe&&(t.nextTick(()=>{window.addEventListener("popstate",G),z=I==null?void 0:I.beforeEach((ee,U,Y)=>{rl?A?M(Y):Y():setTimeout(()=>A?M(Y):Y()),rl=!0}),j=I==null?void 0:I.afterEach(()=>{rl=!1})}),t.onScopeDispose(()=>{window.removeEventListener("popstate",G),z==null||z(),j==null||j()}))})(L,I=>{h.value&&i.value?(I(!1),e.persistent?H():i.value=!1):I()})});const O=t.ref();function H(){e.noClickAnimation||E.value&&qe(E.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:$t})}function X(){p(),a("afterLeave")}return t.watch(()=>i.value&&(e.absolute||e.contained)&&s.value==null,I=>{if(I){const M=bn(N.value);M&&M!==document.scrollingElement&&(O.value=M.scrollTop)}}),le(()=>{var I;return t.createVNode(t.Fragment,null,[(I=l.activator)==null?void 0:I.call(l,{isActive:i.value,props:t.mergeProps({ref:V,targetRef:C},B.value,e.activatorProps)}),S.value&&f.value&&t.createVNode(t.Teleport,{disabled:!s.value,to:s.value},{default:()=>[t.createVNode("div",t.mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[y.value,{top:Z(O.value)},e.style],ref:N},x,o),[t.createVNode(Fs,t.mergeProps({color:d,modelValue:i.value&&!!e.scrim},m.value),null),t.createVNode(Ne,{appear:!0,persisted:!0,transition:e.transition,target:P.value,onAfterLeave:X},{default:()=>{var M;return[t.withDirectives(t.createVNode("div",t.mergeProps({ref:E,class:["v-overlay__content",e.contentClass],style:[w.value,D.value]},F.value,e.contentProps),[(M=l.default)==null?void 0:M.call(l,{isActive:i})]),[[t.vShow,i.value],[t.resolveDirective("click-outside"),{handler:T,closeConditional:W,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:P,animateClick:H,contentEl:E,globalTop:h,localTop:g,updateLocation:$}}}),ul=Symbol("Forwarded refs");function cl(e,n){let l=e;for(;l;){const o=Reflect.getOwnPropertyDescriptor(l,n);if(o)return o;l=Object.getPrototypeOf(l)}}function Wl(e){for(var n=arguments.length,l=new Array(n>1?n-1:0),o=1;o!0},setup(e,n){let{slots:l}=n;const o=se(e,"modelValue"),{scopeId:a}=va(),r=Se(),i=t.computed(()=>e.id||`v-menu-${r}`),s=t.ref(),u=t.inject(Cl,null),c=t.shallowRef(0);async function v(g){var V,P,k;const y=g.relatedTarget,b=g.target;await t.nextTick(),o.value&&y!==b&&((V=s.value)!=null&&V.contentEl)&&((P=s.value)!=null&&P.globalTop)&&![document,s.value.contentEl].includes(b)&&!s.value.contentEl.contains(b)&&((k=ml(s.value.contentEl)[0])==null||k.focus())}function f(){u==null||u.closeParents()}function p(g){var y,b,V;!e.disabled&&g.key==="Tab"&&(cn(ml((y=s.value)==null?void 0:y.contentEl,!1),g.shiftKey?"prev":"next",P=>P.tabIndex>=0)||(o.value=!1,(V=(b=s.value)==null?void 0:b.activatorEl)==null||V.focus()))}function d(g){var b;if(e.disabled)return;const y=(b=s.value)==null?void 0:b.contentEl;y&&o.value?g.key==="ArrowDown"?(g.preventDefault(),_t(y,"next")):g.key==="ArrowUp"&&(g.preventDefault(),_t(y,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(o.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>d(g))))}t.provide(Cl,{register(){++c.value},unregister(){--c.value},closeParents(){setTimeout(()=>{c.value||(o.value=!1,u==null||u.closeParents())},40)}}),t.watch(o,g=>{g?(u==null||u.register(),document.addEventListener("focusin",v,{once:!0})):(u==null||u.unregister(),document.removeEventListener("focusin",v))});const h=t.computed(()=>t.mergeProps({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":i.value,onKeydown:d},e.activatorProps));return le(()=>{const g=qo.filterProps(e);return t.createVNode(qo,t.mergeProps({ref:s,class:["v-menu",e.class],style:e.style},g,{modelValue:o.value,"onUpdate:modelValue":y=>o.value=y,absolute:!0,activatorProps:h.value,"onClick:outside":f,onKeydown:p},a),{activator:l.activator,default:function(){for(var y=arguments.length,b=new Array(y),V=0;V{var P;return[(P=l.default)==null?void 0:P.call(l,...b)]}})}})}),Wl({id:i,ΨopenChildren:c},s)}}),Es=R({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ne(),...pt({transition:{component:Cn}})},"VCounter"),$s=J()({name:"VCounter",functional:!0,props:Es(),setup(e,n){let{slots:l}=n;const o=t.computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return le(()=>t.createVNode(Ne,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-counter",e.class],style:e.style},[l.default?l.default({counter:o.value,max:e.max,value:e.value}):o.value]),[[t.vShow,e.active]])]})),{}}}),Is=R({floating:Boolean,...ne()},"VFieldLabel"),xt=J()({name:"VFieldLabel",props:Is(),setup(e,n){let{slots:l}=n;return le(()=>t.createVNode(qn,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},l)),{}}}),Ds=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ga=R({appendInnerIcon:ae,bgColor:String,clearable:Boolean,clearIcon:{type:ae,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:ae,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Ds.includes(e)},"onClick:clear":ye(),"onClick:appendInner":ye(),"onClick:prependInner":ye(),...ne(),...Dl(),...Be(),...ue()},"VField"),Ko=J()({name:"VField",inheritAttrs:!1,props:{id:String,...Qn(),...ga()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:l,emit:o,slots:a}=n;const{themeClasses:r}=de(e),{loaderClasses:i}=Tl(e),{focusClasses:s,isFocused:u,focus:c,blur:v}=Ol(e),{InputIcon:f}=Zn(e),{roundedClasses:p}=Ie(e),{rtlClasses:d}=Xe(),h=t.computed(()=>e.dirty||e.active),g=t.computed(()=>!(e.singleLine||!e.label&&!a.label)),y=Se(),b=t.computed(()=>e.id||`input-${y}`),V=t.computed(()=>`${b.value}-messages`),P=t.ref(),k=t.ref(),C=t.ref(),B=t.computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:F,backgroundColorStyles:m}=Ae(t.toRef(e,"bgColor")),{textColorClasses:w,textColorStyles:S}=Ve(t.computed(()=>e.error||e.disabled?void 0:h.value&&u.value?e.color:e.baseColor));t.watch(h,E=>{if(g.value){const D=P.value.$el,$=k.value.$el;requestAnimationFrame(()=>{const T=Al(D),W=$.getBoundingClientRect(),_=W.x-T.x,L=W.y-T.y-(T.height/2-W.height/2),O=W.width/.75,H=Math.abs(O-T.width)>1?{maxWidth:Z(O)}:void 0,X=getComputedStyle(D),q=getComputedStyle($),K=1e3*parseFloat(X.transitionDuration)||150,I=parseFloat(q.getPropertyValue("--v-field-label-scale")),M=q.getPropertyValue("color");D.style.visibility="visible",$.style.visibility="hidden",qe(D,{transform:`translate(${_}px, ${L}px) scale(${I})`,color:M,...H},{duration:K,easing:$t,direction:E?"normal":"reverse"}).finished.then(()=>{D.style.removeProperty("visibility"),$.style.removeProperty("visibility")})})}},{flush:"post"});const x=t.computed(()=>({isActive:h,isFocused:u,controlRef:C,blur:v,focus:c}));function N(E){E.target!==document.activeElement&&E.preventDefault()}return le(()=>{var _,L,O;const E=e.variant==="outlined",D=a["prepend-inner"]||e.prependInnerIcon,$=!(!e.clearable&&!a.clear),T=!!(a["append-inner"]||e.appendInnerIcon||$),W=()=>a.label?a.label({...x.value,label:e.label,props:{for:b.value}}):e.label;return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":h.value,"v-field--appended":T,"v-field--center-affix":e.centerAffix??!B.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":D,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!W(),[`v-field--variant-${e.variant}`]:!0},r.value,F.value,s.value,i.value,p.value,d.value,e.class],style:[m.value,e.style],onClick:N},l),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(On,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),D&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(f,{key:"prepend-icon",name:"prependInner"},null),(_=a["prepend-inner"])==null?void 0:_.call(a,x.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&t.createVNode(xt,{key:"floating-label",ref:k,class:[w.value],floating:!0,for:b.value,style:S.value},{default:()=>[W()]}),t.createVNode(xt,{ref:P,for:b.value},{default:()=>[W()]}),(L=a.default)==null?void 0:L.call(a,{...x.value,props:{id:b.value,class:"v-field__input","aria-describedby":V.value},focus:c,blur:v})]),$&&t.createVNode(Vn,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:H=>{H.preventDefault(),H.stopPropagation()}},[a.clear?a.clear():t.createVNode(f,{name:"clear"},null)]),[[t.vShow,e.dirty]])]}),T&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[(O=a["append-inner"])==null?void 0:O.call(a,x.value),e.appendInnerIcon&&t.createVNode(f,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",w.value],style:S.value},[E&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),g.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(xt,{ref:k,floating:!0,for:b.value},{default:()=>[W()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),B.value&&g.value&&t.createVNode(xt,{ref:k,floating:!0,for:b.value},{default:()=>[W()]})])])}),{controlRef:C}}}),Ts=["color","file","time","date","datetime-local","week","month"],ha=R({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Ml(),...ga()},"VTextField"),Vl=J()({name:"VTextField",directives:{Intersect:Pn},inheritAttrs:!1,props:ha(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:l,emit:o,slots:a}=n;const r=se(e,"modelValue"),{isFocused:i,focus:s,blur:u}=Ol(e),c=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(r.value):typeof e.counterValue=="number"?e.counterValue:(r.value??"").toString().length),v=t.computed(()=>l.maxlength?l.maxlength:!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"?void 0:e.counter),f=t.computed(()=>["plain","underlined"].includes(e.variant));function p(B,F){var m,w;e.autofocus&&B&&((w=(m=F[0].target)==null?void 0:m.focus)==null||w.call(m))}const d=t.ref(),h=t.ref(),g=t.ref(),y=t.computed(()=>Ts.includes(e.type)||e.persistentPlaceholder||i.value||e.active);function b(){var B;g.value!==document.activeElement&&((B=g.value)==null||B.focus()),i.value||s()}function V(B){o("mousedown:control",B),B.target!==g.value&&(b(),B.preventDefault())}function P(B){b(),o("click:control",B)}function k(B){B.stopPropagation(),b(),t.nextTick(()=>{r.value=null,function(F){for(var m=arguments.length,w=new Array(m>1?m-1:0),S=1;S{F.selectionStart=w[0],F.selectionEnd=w[1]})}}return le(()=>{const B=!!(a.counter||e.counter!==!1&&e.counter!=null),F=!(!B&&!a.details),[m,w]=Fl(l),{modelValue:S,...x}=Rt.filterProps(e),N=function(E){return rn(E,Object.keys(Ko.props).filter(D=>!Nt(D)&&D!=="class"&&D!=="style"))}(e);return t.createVNode(Rt,t.mergeProps({ref:d,modelValue:r.value,"onUpdate:modelValue":E=>r.value=E,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":f.value},e.class],style:e.style},m,x,{centerAffix:!f.value,focused:i.value}),{...a,default:E=>{let{id:D,isDisabled:$,isDirty:T,isReadonly:W,isValid:_}=E;return t.createVNode(Ko,t.mergeProps({ref:h,onMousedown:V,onClick:P,"onClick:clear":k,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},N,{id:D.value,active:y.value||T.value,dirty:T.value||e.dirty,disabled:$.value,focused:i.value,error:_.value===!1}),{...a,default:L=>{let{props:{class:O,...H}}=L;const X=t.withDirectives(t.createVNode("input",t.mergeProps({ref:g,value:r.value,onInput:C,autofocus:e.autofocus,readonly:W.value,disabled:$.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:b,onBlur:u},H,w),null),[[t.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[t.createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?t.createVNode("div",{class:O,"data-no-activator":""},[a.default(),X]):t.cloneVNode(X,{class:O}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:F?E=>{var D;return t.createVNode(t.Fragment,null,[(D=a.details)==null?void 0:D.call(a,E),B&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode($s,{active:e.persistentCounter||i.value,value:c.value,max:v.value},a.counter)])])}:void 0})}),Wl({},d,h,g)}}),Rs=R({renderless:Boolean,...ne()},"VVirtualScrollItem"),Ls=J()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Rs(),emits:{"update:height":e=>!0},setup(e,n){let{attrs:l,emit:o,slots:a}=n;const{resizeRef:r,contentRect:i}=Kt(void 0,"border");t.watch(()=>{var s;return(s=i.value)==null?void 0:s.height},s=>{s!=null&&o("update:height",s)}),le(()=>{var s,u;return e.renderless?t.createVNode(t.Fragment,null,[(s=a.default)==null?void 0:s.call(a,{itemRef:r})]):t.createVNode("div",t.mergeProps({ref:r,class:["v-virtual-scroll__item",e.class],style:e.style},l),[(u=a.default)==null?void 0:u.call(a)])})}}),Os=R({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function Ms(e,n){const l=zl(),o=t.shallowRef(0);t.watchEffect(()=>{o.value=parseFloat(e.itemHeight||0)});const a=t.shallowRef(0),r=t.shallowRef(Math.ceil((parseInt(e.height)||l.height.value)/(o.value||16))||1),i=t.shallowRef(0),s=t.shallowRef(0),u=t.ref(),c=t.ref();let v=0;const{resizeRef:f,contentRect:p}=Kt();t.watchEffect(()=>{f.value=u.value});const d=t.computed(()=>{var $;return u.value===document.documentElement?l.height.value:(($=p.value)==null?void 0:$.height)||parseInt(e.height)||0}),h=t.computed(()=>!!(u.value&&c.value&&d.value&&o.value));let g=Array.from({length:n.value.length}),y=Array.from({length:n.value.length});const b=t.shallowRef(0);let V=-1;const P=function($,T){let W=0;const _=function(){for(var L=arguments.length,O=new Array(L),H=0;H$(...O),t.unref(T))};return _.clear=()=>{clearTimeout(W)},_.immediate=$,_}(()=>{const $=performance.now();y[0]=0;const T=n.value.length;for(let W=1;W<=T-1;W++)y[W]=(y[W-1]||0)+(g[W-1]||o.value);b.value=Math.max(b.value,performance.now()-$)},b),k=t.watch(h,$=>{$&&(k(),v=c.value.offsetTop,P.immediate(),x(),~V&&t.nextTick(()=>{fe&&window.requestAnimationFrame(()=>{E(V),V=-1})}))});function C($){return $=_e($,0,n.value.length-1),y[$]||0}function B($){return function(T,W){let _=T.length-1,L=0,O=0,H=null,X=-1;if(T[_]>1,H=T[O],H>W)_=O-1;else{if(!(H{T&&x()}),t.onScopeDispose(()=>{P.clear()});let F=0,m=0,w=0,S=-1;function x(){cancelAnimationFrame(S),S=requestAnimationFrame(N)}function N(){if(!u.value||!d.value)return;const $=F-v,T=Math.sign(m),W=_e(B(Math.max(0,$-100)),0,n.value.length),_=_e(B($+d.value+100)+1,W+1,n.value.length);if((T!==-1||Wr.value)){const L=C(a.value)-C(W),O=C(_)-C(r.value);Math.max(L,O)>100?(a.value=W,r.value=_):(W<=0&&(a.value=W),_>=n.value.length&&(r.value=_))}i.value=C(a.value),s.value=C(n.value.length)-C(r.value)}function E($){const T=C($);!u.value||$&&!T?V=$:u.value.scrollTop=T}const D=t.computed(()=>n.value.slice(a.value,r.value).map(($,T)=>({raw:$,index:T+a.value})));return t.watch(n,()=>{g=Array.from({length:n.value.length}),y=Array.from({length:n.value.length}),P.immediate(),x()},{deep:!0}),{containerRef:u,markerRef:c,computedItems:D,paddingTop:i,paddingBottom:s,scrollToIndex:E,handleScroll:function(){if(!u.value||!c.value)return;const $=u.value.scrollTop,T=performance.now();T-w>500?(m=Math.sign($-F),v=c.value.offsetTop):m=$-F,F=$,w=T,x()},handleScrollend:function(){u.value&&c.value&&(m=0,w=0,x())},handleItemResize:function($,T){const W=g[$],_=o.value;o.value=_?Math.min(o.value,T):T,W===T&&_===o.value||(g[$]=T,P())}}}const js=R({items:{type:Array,default:()=>[]},renderless:Boolean,...Os(),...ne(),...je()},"VVirtualScroll"),zs=J()({name:"VVirtualScroll",props:js(),setup(e,n){let{slots:l}=n;const o=ie("VVirtualScroll"),{dimensionStyles:a}=ze(e),{containerRef:r,markerRef:i,handleScroll:s,handleScrollend:u,handleItemResize:c,scrollToIndex:v,paddingTop:f,paddingBottom:p,computedItems:d}=Ms(e,t.toRef(e,"items"));return Oe(()=>e.renderless,()=>{function h(){var y,b;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",s,{passive:!0}),document[g]("scrollend",u)):((y=r.value)==null||y[g]("scroll",s,{passive:!0}),(b=r.value)==null||b[g]("scrollend",u))}t.onMounted(()=>{r.value=bn(o.vnode.el,!0),h(!0)}),t.onScopeDispose(h)}),le(()=>{const h=d.value.map(g=>t.createVNode(Ls,{key:g.index,renderless:e.renderless,"onUpdate:height":y=>c(g.index,y)},{default:y=>{var b;return(b=l.default)==null?void 0:b.call(l,{item:g.raw,index:g.index,...y})}}));return e.renderless?t.createVNode(t.Fragment,null,[t.createVNode("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:Z(f.value)}},null),h,t.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Z(p.value)}},null)]):t.createVNode("div",{ref:r,class:["v-virtual-scroll",e.class],onScrollPassive:s,onScrollend:u,style:[a.value,e.style]},[t.createVNode("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:Z(f.value),paddingBottom:Z(p.value)}},[h])])}),{scrollToIndex:v}}});function Ws(e,n){const l=t.shallowRef(!1);let o;return{onListScroll:function(a){cancelAnimationFrame(o),l.value=!0,o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{l.value=!1})})},onListKeydown:async function(a){var s,u;if(a.key==="Tab"&&((s=n.value)==null||s.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(u=e.value)==null?void 0:u.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>{if(l.value){const v=t.watch(l,()=>{v(),c()})}else c()})}();const i=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const c=r.getBoundingClientRect().top;for(const v of i)if(v.getBoundingClientRect().top>=c){v.focus();break}}else{const c=r.getBoundingClientRect().bottom;for(const v of[...i].reverse())if(v.getBoundingClientRect().bottom<=c){v.focus();break}}}}}const Gs=R({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:ae,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ua({itemChildren:!1})},"Select"),Hs=R({...Gs(),...Me(ha({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...pt({transition:{component:xn}})},"VSelect"),Us=J()({name:"VSelect",props:Hs(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,n){let{slots:l}=n;const{t:o}=$e(),a=t.ref(),r=t.ref(),i=t.ref(),s=se(e,"menu"),u=t.computed({get:()=>s.value,set:_=>{var L;s.value&&!_&&((L=r.value)!=null&&L.ΨopenChildren)||(s.value=_)}}),{items:c,transformIn:v,transformOut:f}=function(_){const L=t.computed(()=>ca(_,_.items)),O=t.computed(()=>L.value.some(H=>H.value===null));return{items:L,transformIn:function(H){return O.value||(H=H.filter(X=>X!==null)),H.map(X=>_.returnObject&&typeof X=="string"?Sl(_,X):L.value.find(q=>_.valueComparator(X,q.value))||Sl(_,X))},transformOut:function(H){return _.returnObject?H.map(X=>{let{raw:q}=X;return q}):H.map(X=>{let{value:q}=X;return q})}}}(e),p=se(e,"modelValue",[],_=>v(_===null?[null]:ve(_)),_=>{const L=f(_);return e.multiple?L:L[0]??null}),d=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(p.value):typeof e.counterValue=="number"?e.counterValue:p.value.length),h=ea(),g=t.computed(()=>p.value.map(_=>_.value)),y=t.shallowRef(!1),b=t.computed(()=>u.value?e.closeText:e.openText);let V,P="";const k=t.computed(()=>e.hideSelected?c.value.filter(_=>!p.value.some(L=>L===_)):c.value),C=t.computed(()=>e.hideNoData&&!c.value.length||e.readonly||(h==null?void 0:h.isReadonly.value)),B=t.computed(()=>{var _;return{...e.menuProps,activatorProps:{...((_=e.menuProps)==null?void 0:_.activatorProps)||{},"aria-haspopup":"listbox"}}}),F=t.ref(),{onListScroll:m,onListKeydown:w}=Ws(F,a);function S(_){e.openOnClear&&(u.value=!0)}function x(){C.value||(u.value=!u.value)}function N(_){var H,X;if(!_.key||e.readonly||h!=null&&h.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(_.key)&&_.preventDefault(),["Enter","ArrowDown"," "].includes(_.key)&&(u.value=!0),["Escape","Tab"].includes(_.key)&&(u.value=!1),_.key==="Home"?(H=F.value)==null||H.focus("first"):_.key==="End"&&((X=F.value)==null||X.focus("last")),e.multiple||!function(q){const K=q.key.length===1,I=!q.ctrlKey&&!q.metaKey&&!q.altKey;return K&&I}(_)))return;const L=performance.now();L-V>1e3&&(P=""),P+=_.key.toLowerCase(),V=L;const O=c.value.find(q=>q.title.toLowerCase().startsWith(P));O!==void 0&&(p.value=[O])}function E(_){if(e.multiple){const L=p.value.findIndex(O=>e.valueComparator(O.value,_.value));if(L===-1)p.value=[...p.value,_];else{const O=[...p.value];O.splice(L,1),p.value=O}}else p.value=[_],u.value=!1}function D(_){var L;(L=F.value)!=null&&L.$el.contains(_.relatedTarget)||(u.value=!1)}function $(){var _;y.value&&((_=a.value)==null||_.focus())}function T(_){y.value=!0}function W(_){if(_==null)p.value=[];else if(At(a.value,":autofill")||At(a.value,":-webkit-autofill")){const L=c.value.find(O=>O.title===_);L&&E(L)}else a.value&&(a.value.value="")}return t.watch(u,()=>{if(!e.hideSelected&&u.value&&p.value.length){const _=k.value.findIndex(L=>p.value.some(O=>e.valueComparator(O.value,L.value)));fe&&window.requestAnimationFrame(()=>{var L;_>=0&&((L=i.value)==null||L.scrollToIndex(_))})}}),le(()=>{const _=!(!e.chips&&!l.chip),L=!!(!e.hideNoData||k.value.length||l["prepend-item"]||l["append-item"]||l["no-data"]),O=p.value.length>0,H=Vl.filterProps(e),X=O||!y.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return t.createVNode(Vl,t.mergeProps({ref:a},H,{modelValue:p.value.map(q=>q.props.value).join(", "),"onUpdate:modelValue":W,focused:y.value,"onUpdate:focused":q=>y.value=q,validationValue:p.externalValue,counterValue:d.value,dirty:O,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!e.chips,["v-select--"+(e.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!l.selection},e.class],style:e.style,inputmode:"none",placeholder:X,"onClick:clear":S,"onMousedown:control":x,onBlur:D,onKeydown:N,"aria-label":o(b.value),title:o(b.value)}),{...l,default:()=>t.createVNode(t.Fragment,null,[t.createVNode(As,t.mergeProps({ref:r,modelValue:u.value,"onUpdate:modelValue":q=>u.value=q,activator:"parent",contentClass:"v-select__content",disabled:C.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:$},B.value),{default:()=>[L&&t.createVNode(bs,{ref:F,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:q=>q.preventDefault(),onKeydown:w,onFocusin:T,onScrollPassive:m,tabindex:"-1",color:e.itemColor??e.color},{default:()=>{var q,K,I;return[(q=l["prepend-item"])==null?void 0:q.call(l),!k.value.length&&!e.hideNoData&&(((K=l["no-data"])==null?void 0:K.call(l))??t.createVNode(Ot,{title:o(e.noDataText)},null)),t.createVNode(zs,{ref:i,renderless:!0,items:k.value},{default:M=>{var ee;let{item:z,index:j,itemRef:A}=M;const G=t.mergeProps(z.props,{ref:A,key:j,onClick:()=>E(z)});return((ee=l.item)==null?void 0:ee.call(l,{item:z,index:j,props:G}))??t.createVNode(Ot,t.mergeProps(G,{role:"option"}),{prepend:U=>{let{isSelected:Y}=U;return t.createVNode(t.Fragment,null,[e.multiple&&!e.hideSelected?t.createVNode(Ye,{key:z.value,modelValue:Y,ripple:!1,tabindex:"-1"},null):void 0,z.props.prependIcon&&t.createVNode(ce,{icon:z.props.prependIcon},null)])}})}}),(I=l["append-item"])==null?void 0:I.call(l)]}})]}),p.value.map((q,K)=>{const I={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),E(q)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},M=_?!!l.chip:!!l.selection,z=M?dn(_?l.chip({item:q,index:K,props:I}):l.selection({item:q,index:K})):void 0;if(!M||z)return t.createVNode("div",{key:q.value,class:"v-select__selection"},[_?l.chip?t.createVNode(we,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:q.title}}},{default:()=>[z]}):t.createVNode(os,t.mergeProps({key:"chip",closable:e.closableChips,size:"small",text:q.title,disabled:q.props.disabled},I),null):z??t.createVNode("span",{class:"v-select__selection-text"},[q.title,e.multiple&&Ke==null||n==null?-1:e.toString().toLocaleLowerCase().indexOf(n.toString().toLocaleLowerCase()),Ks=R({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function Ys(e,n,l,o){const a=t.ref([]),r=t.ref(new Map),i=t.computed(()=>o!=null&&o.transform?t.unref(n).map(s=>[s,o.transform(s)]):t.unref(n));return t.watchEffect(()=>{const s=typeof l=="function"?l():t.unref(l),u=typeof s!="string"&&typeof s!="number"?"":String(s),c=function(d,h,g){var k;const y=[],b=(g==null?void 0:g.default)??qs,V=!!(g!=null&&g.filterKeys)&&ve(g.filterKeys),P=Object.keys((g==null?void 0:g.customKeyFilter)??{}).length;if(!(d!=null&&d.length))return y;e:for(let C=0;C{let{index:h,matches:g}=d;const y=v[h];f.push(y),p.set(y.value,g)}),a.value=f,r.value=p}),{filteredItems:a,filteredMatches:r,getMatches:function(s){return r.value.get(s.value)}}}const Xs=R({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),ya=Symbol.for("vuetify:datatable:expanded");function ba(e){const n=t.toRef(e,"expandOnClick"),l=se(e,"expanded",e.expanded,i=>new Set(i),i=>[...i.values()]);function o(i,s){const u=new Set(l.value);s?u.add(i.value):u.delete(i.value),l.value=u}function a(i){return l.value.has(i.value)}const r={expand:o,expanded:l,expandOnClick:n,isExpanded:a,toggleExpand:function(i){o(i,!a(i))}};return t.provide(ya,r),r}function wa(){const e=t.inject(ya);if(!e)throw new Error("foo");return e}const Js=R({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),Sa=Symbol.for("vuetify:data-table-group");function ka(e){return{groupBy:se(e,"groupBy")}}function xa(e){const{groupBy:n,sortBy:l}=e,o=t.ref(new Set);function a(i){return o.value.has(i.id)}const r={sortByWithGroups:t.computed(()=>n.value.map(i=>({...i,order:i.order??!1})).concat(l.value)),toggleGroup:function(i){const s=new Set(o.value);a(i)?s.delete(i.id):s.add(i.id),o.value=s},opened:o,groupBy:n,extractRows:function(i){return function s(u){const c=[];for(const v of u.items)"type"in v&&v.type==="group"?c.push(...s(v)):c.push(v);return c}({type:"group",items:i,id:"dummy",key:"dummy",value:"dummy",depth:0})},isGroupOpen:a};return t.provide(Sa,r),r}function Ca(){const e=t.inject(Sa);if(!e)throw new Error("Missing group!");return e}function Va(e,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!n.length)return[];const a=function(s,u){if(!s.length)return[];const c=new Map;for(const v of s){const f=rt(v.raw,u);c.has(f)||c.set(f,[]),c.get(f).push(v)}return c}(e,n[0]),r=[],i=n.slice(1);return a.forEach((s,u)=>{const c=n[0],v=`${o}_${c}_${u}`;r.push({depth:l,id:v,key:c,value:u,items:i.length?Va(s,i,l+1,v):s,type:"group"})}),r}function Ba(e,n){const l=[];for(const o of e)"type"in o&&o.type==="group"?(o.value!=null&&l.push(o),(n.has(o.id)||o.value==null)&&l.push(...Ba(o.items,n))):l.push(o);return l}function Pa(e,n,l){return{flatItems:t.computed(()=>n.value.length?Ba(Va(e.value,n.value.map(o=>o.key)),l.value):e.value)}}function Na(e){let{page:n,itemsPerPage:l,sortBy:o,groupBy:a,search:r}=e;const i=ie("VDataTable"),s=t.computed(()=>({page:n.value,itemsPerPage:l.value,sortBy:o.value,groupBy:a.value,search:r.value}));let u=null;t.watch(s,()=>{Ee(u,s.value)||((u==null?void 0:u.search)!==s.value.search&&(n.value=1),i.emit("update:options",s.value),u=s.value)},{deep:!0,immediate:!0})}const Fa=R({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),_a=Symbol.for("vuetify:data-table-pagination");function Aa(e){return{page:se(e,"page",void 0,n=>+(n??1)),itemsPerPage:se(e,"itemsPerPage",void 0,n=>+(n??10))}}function Ea(e){const{page:n,itemsPerPage:l,itemsLength:o}=e,a=t.computed(()=>l.value===-1?0:l.value*(n.value-1)),r=t.computed(()=>l.value===-1?o.value:Math.min(o.value,a.value+l.value)),i=t.computed(()=>l.value===-1||o.value===0?1:Math.ceil(o.value/l.value));t.watchEffect(()=>{n.value>i.value&&(n.value=i.value)});const s={page:n,itemsPerPage:l,startIndex:a,stopIndex:r,pageCount:i,itemsLength:o,nextPage:function(){n.value=_e(n.value+1,1,i.value)},prevPage:function(){n.value=_e(n.value-1,1,i.value)},setPage:function(u){n.value=_e(u,1,i.value)},setItemsPerPage:function(u){l.value=u,n.value=1}};return t.provide(_a,s),s}const Zs={showSelectAll:!1,allSelected:()=>[],select:e=>{var o;let{items:n,value:l}=e;return new Set(l?[(o=n[0])==null?void 0:o.value]:[])},selectAll:e=>{let{selected:n}=e;return n}},$a={showSelectAll:!0,allSelected:e=>{let{currentPage:n}=e;return n},select:e=>{let{items:n,value:l,selected:o}=e;for(const a of n)l?o.add(a.value):o.delete(a.value);return o},selectAll:e=>{let{value:n,currentPage:l,selected:o}=e;return $a.select({items:l,value:n,selected:o})}},Ia={showSelectAll:!0,allSelected:e=>{let{allItems:n}=e;return n},select:e=>{let{items:n,value:l,selected:o}=e;for(const a of n)l?o.add(a.value):o.delete(a.value);return o},selectAll:e=>{let{value:n,allItems:l,selected:o}=e;return Ia.select({items:l,value:n,selected:o})}},Qs=R({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:Ee}},"DataTable-select"),Da=Symbol.for("vuetify:data-table-selection");function Ta(e,n){let{allItems:l,currentPage:o}=n;const a=se(e,"modelValue",e.modelValue,d=>new Set(ve(d).map(h=>{var g;return((g=l.value.find(y=>e.valueComparator(h,y.value)))==null?void 0:g.value)??h})),d=>[...d.values()]),r=t.computed(()=>l.value.filter(d=>d.selectable)),i=t.computed(()=>o.value.filter(d=>d.selectable)),s=t.computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return Zs;case"all":return Ia;default:return $a}});function u(d){return ve(d).every(h=>a.value.has(h.value))}function c(d,h){const g=s.value.select({items:d,value:h,selected:new Set(a.value)});a.value=g}const v=t.computed(()=>a.value.size>0),f=t.computed(()=>{const d=s.value.allSelected({allItems:r.value,currentPage:i.value});return!!d.length&&u(d)}),p={toggleSelect:function(d){c([d],!u([d]))},select:c,selectAll:function(d){const h=s.value.selectAll({value:d,allItems:r.value,currentPage:i.value,selected:new Set(a.value)});a.value=h},isSelected:u,isSomeSelected:function(d){return ve(d).some(h=>a.value.has(h.value))},someSelected:v,allSelected:f,showSelectAll:s.value.showSelectAll};return t.provide(Da,p),p}function Qt(){const e=t.inject(Da);if(!e)throw new Error("Missing selection!");return e}const ei=R({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),Ra=Symbol.for("vuetify:data-table-sort");function La(e){return{sortBy:se(e,"sortBy"),mustSort:t.toRef(e,"mustSort"),multiSort:t.toRef(e,"multiSort")}}function Oa(e){const{sortBy:n,mustSort:l,multiSort:o,page:a}=e,r={sortBy:n,toggleSort:i=>{if(i.key==null)return;let s=n.value.map(c=>({...c}))??[];const u=s.find(c=>c.key===i.key);u?u.order==="desc"?l.value?u.order="asc":s=s.filter(c=>c.key!==i.key):u.order="desc":s=o.value?[...s,{key:i.key,order:"asc"}]:[{key:i.key,order:"asc"}],n.value=s,a&&(a.value=1)},isSorted:function(i){return!!n.value.find(s=>s.key===i.key)}};return t.provide(Ra,r),r}function ti(e,n,l,o){const a=$e();return{sortedItems:t.computed(()=>l.value.length?function(i,s,u,c){const v=new Intl.Collator(u,{sensitivity:"accent",usage:"sort"});return[...i].sort((f,p)=>{for(let d=0;dV!=null?V.toString().toLocaleLowerCase():V),y!==b)return bt(y)&&bt(b)?0:bt(y)?-1:bt(b)?1:isNaN(y)||isNaN(b)?v.compare(y,b):Number(y)-Number(b)}return 0})}(n.value,l.value,a.current.value,{...e.customKeySort,...o==null?void 0:o.value}):n.value)}}const li=R({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1==0},totalVisible:[Number,String],firstIcon:{type:ae,default:"$first"},prevIcon:{type:ae,default:"$prev"},nextIcon:{type:ae,default:"$next"},lastIcon:{type:ae,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Je(),...ne(),...xe(),...We(),...Be(),...Qe(),...pe({tag:"nav"}),...ue(),...De({variant:"text"})},"VPagination"),oi=J()({name:"VPagination",props:li(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,n){let{slots:l,emit:o}=n;const a=se(e,"modelValue"),{t:r,n:i}=$e(),{isRtl:s}=Xe(),{themeClasses:u}=de(e),{width:c}=zl(),v=t.shallowRef(-1);Ce(void 0,{scoped:!0});const{resizeRef:f}=Kt(m=>{if(!m.length)return;const{target:w,contentRect:S}=m[0],x=w.querySelector(".v-pagination__list > *");if(!x)return;const N=S.width,E=x.offsetWidth+2*parseFloat(getComputedStyle(x).marginRight);v.value=g(N,E)}),p=t.computed(()=>parseInt(e.length,10)),d=t.computed(()=>parseInt(e.start,10)),h=t.computed(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):v.value>=0?v.value:g(c.value,58));function g(m,w){const S=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((m-w*S)/w).toFixed(2)))}const y=t.computed(()=>{if(p.value<=0||isNaN(p.value)||p.value>Number.MAX_SAFE_INTEGER)return[];if(h.value<=0)return[];if(h.value===1)return[a.value];if(p.value<=h.value)return yt(p.value,d.value);const m=h.value%2==0,w=m?h.value/2:Math.floor(h.value/2),S=m?w:w+1,x=p.value-w;if(S-a.value>=0)return[...yt(Math.max(1,h.value-1),d.value),e.ellipsis,p.value];if(a.value-x>=(m?1:0)){const N=h.value-1,E=p.value-N+d.value;return[d.value,e.ellipsis,...yt(N,E)]}{const N=Math.max(1,h.value-3),E=N===1?a.value:a.value-Math.ceil(N/2)+d.value;return[d.value,e.ellipsis,...yt(N,E),e.ellipsis,p.value]}});function b(m,w,S){m.preventDefault(),a.value=w,S&&o(S,w)}const{refs:V,updateRef:P}=function(){const m=t.ref([]);return t.onBeforeUpdate(()=>m.value=[]),{refs:m,updateRef:function(w,S){m.value[S]=w}}}();Ce({VPaginationBtn:{color:t.toRef(e,"color"),border:t.toRef(e,"border"),density:t.toRef(e,"density"),size:t.toRef(e,"size"),variant:t.toRef(e,"variant"),rounded:t.toRef(e,"rounded"),elevation:t.toRef(e,"elevation")}});const k=t.computed(()=>y.value.map((m,w)=>{const S=x=>P(x,w);if(typeof m=="string")return{isActive:!1,key:`ellipsis-${w}`,page:m,props:{ref:S,ellipsis:!0,icon:!0,disabled:!0}};{const x=m===a.value;return{isActive:x,key:m,page:i(m),props:{ref:S,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:x?e.activeColor:e.color,ariaCurrent:x,ariaLabel:r(x?e.currentPageAriaLabel:e.pageAriaLabel,m),onClick:N=>b(N,m)}}}})),C=t.computed(()=>{const m=!!e.disabled||a.value<=d.value,w=!!e.disabled||a.value>=d.value+p.value-1;return{first:e.showFirstLastPage?{icon:s.value?e.lastIcon:e.firstIcon,onClick:S=>b(S,d.value,"first"),disabled:m,ariaLabel:r(e.firstAriaLabel),ariaDisabled:m}:void 0,prev:{icon:s.value?e.nextIcon:e.prevIcon,onClick:S=>b(S,a.value-1,"prev"),disabled:m,ariaLabel:r(e.previousAriaLabel),ariaDisabled:m},next:{icon:s.value?e.prevIcon:e.nextIcon,onClick:S=>b(S,a.value+1,"next"),disabled:w,ariaLabel:r(e.nextAriaLabel),ariaDisabled:w},last:e.showFirstLastPage?{icon:s.value?e.firstIcon:e.lastIcon,onClick:S=>b(S,d.value+p.value-1,"last"),disabled:w,ariaLabel:r(e.lastAriaLabel),ariaDisabled:w}:void 0}});function B(){var w;const m=a.value-d.value;(w=V.value[m])==null||w.$el.focus()}function F(m){m.key===oo.left&&!e.disabled&&a.value>+e.start?(a.value=a.value-1,t.nextTick(B)):m.key===oo.right&&!e.disabled&&a.valuet.createVNode(e.tag,{ref:f,class:["v-pagination",u.value,e.class],style:e.style,role:"navigation","aria-label":r(e.ariaLabel),onKeydown:F,"data-test":"v-pagination-root"},{default:()=>[t.createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&t.createVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[l.first?l.first(C.value.first):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.first),null)]),t.createVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[l.prev?l.prev(C.value.prev):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.prev),null)]),k.value.map((m,w)=>t.createVNode("li",{key:m.key,class:["v-pagination__item",{"v-pagination__item--is-active":m.isActive}],"data-test":"v-pagination-item"},[l.item?l.item(m):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},m.props),{default:()=>[m.page]})])),t.createVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[l.next?l.next(C.value.next):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.next),null)]),e.showFirstLastPage&&t.createVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[l.last?l.last(C.value.last):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.last),null)])])]})),{}}}),Gl=R({prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),jt=J()({name:"VDataTableFooter",props:Gl(),setup(e,n){let{slots:l}=n;const{t:o}=$e(),{page:a,pageCount:r,startIndex:i,stopIndex:s,itemsLength:u,itemsPerPage:c,setItemsPerPage:v}=function(){const p=t.inject(_a);if(!p)throw new Error("Missing pagination!");return p}(),f=t.computed(()=>e.itemsPerPageOptions.map(p=>typeof p=="number"?{value:p,title:p===-1?o("$vuetify.dataFooter.itemsPerPageAll"):String(p)}:{...p,title:o(p.title)}));return le(()=>{var p;return t.createVNode("div",{class:"v-data-table-footer"},[(p=l.prepend)==null?void 0:p.call(l),t.createVNode("div",{class:"v-data-table-footer__items-per-page"},[t.createVNode("span",null,[o(e.itemsPerPageText)]),t.createVNode(Us,{items:f.value,modelValue:c.value,"onUpdate:modelValue":d=>v(Number(d)),density:"compact",variant:"outlined","hide-details":!0},null)]),t.createVNode("div",{class:"v-data-table-footer__info"},[t.createVNode("div",null,[o(e.pageText,u.value?i.value+1:0,s.value,u.value)])]),t.createVNode("div",{class:"v-data-table-footer__pagination"},[t.createVNode(oi,{modelValue:a.value,"onUpdate:modelValue":d=>a.value=d,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:r.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},null)])])}),{}}}),Hl=(Yo={align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String]},dl=(e,n)=>{let{slots:l}=n;const o=e.tag??"td";return t.createVNode(o,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding},`v-data-table-column--align-${e.align}`],style:{height:Z(e.height),width:Z(e.width),left:Z(e.fixedOffset||null)}},{default:()=>{var a;return[(a=l.default)==null?void 0:a.call(l)]}})},dl.props=Yo,dl);var Yo,dl;const ni=R({headers:Array},"DataTable-header"),Ma=Symbol.for("vuetify:data-table-headers"),ja={title:"",sortable:!1},ai={...ja,width:48};function Bl(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(e.children)for(const l of e.children)Bl(l,n);else n.push(e);return n}function za(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const l of e)l.key&&n.add(l.key),l.children&&za(l.children,n);return n}function ri(e){if(e.key)return e.key==="data-table-group"?ja:["data-table-expand","data-table-select"].includes(e.key)?ai:void 0}function Ul(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(n,...e.children.map(l=>Ul(l,n+1))):n}function si(e,n){const l=[];let o=0;const a=function(){const r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(i=>({element:i,priority:0}));return{enqueue:(i,s)=>{let u=!1;for(let c=0;cs){r.splice(c,0,{element:i,priority:s}),u=!0;break}u||r.push({element:i,priority:s})},size:()=>r.length,count:()=>{let i=0;if(!r.length)return 0;const s=Math.floor(r[0].priority);for(let u=0;ur.shift()}}(e);for(;a.size()>0;){let r=a.count();const i=[];let s=1;for(;r>0;){const{element:u,priority:c}=a.dequeue(),v=n-o-Ul(u);if(i.push({...u,rowspan:v??1,colspan:u.children?Bl(u).length:1}),u.children)for(const f of u.children){const p=c%1+s/Math.pow(10,o+2);a.enqueue(f,o+v+p)}s+=1,r-=1}o+=1,l.push(i)}return{columns:e.map(r=>Bl(r)).flat(),headers:l}}function Wa(e){const n=[];for(const l of e){const o={...ri(l),...l},a=o.key??(typeof o.value=="string"?o.value:null),r=o.value??a??null,i={...o,key:a,value:r,sortable:o.sortable??(o.key!=null||!!o.sort),children:o.children?Wa(o.children):void 0};n.push(i)}return n}function Ga(e,n){const l=t.ref([]),o=t.ref([]),a=t.ref(),r=t.ref();t.watchEffect(()=>{var d,h,g;const s=(e.headers||Object.keys(e.items[0]??{}).map(y=>({key:y,title:t.capitalize(y)}))).slice(),u=za(s);(d=n==null?void 0:n.groupBy)!=null&&d.value.length&&!u.has("data-table-group")&&s.unshift({key:"data-table-group",title:"Group"}),(h=n==null?void 0:n.showSelect)!=null&&h.value&&!u.has("data-table-select")&&s.unshift({key:"data-table-select"}),(g=n==null?void 0:n.showExpand)!=null&&g.value&&!u.has("data-table-expand")&&s.push({key:"data-table-expand"});const c=Wa(s);(function(y){let b=!1;function V(C){if(C)if(arguments.length>1&&arguments[1]!==void 0&&arguments[1]&&(C.fixed=!0),C.fixed)if(C.children)for(let B=C.children.length-1;B>=0;B--)V(C.children[B],!0);else b?isNaN(+C.width)&&fn(`Multiple fixed columns should have a static width (key: ${C.key})`):C.lastFixed=!0,b=!0;else if(C.children)for(let B=C.children.length-1;B>=0;B--)V(C.children[B]);else b=!1}for(let C=y.length-1;C>=0;C--)V(y[C]);function P(C){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!C)return B;if(C.children){C.fixedOffset=B;for(const F of C.children)B=P(F,B)}else C.fixed&&(C.fixedOffset=B,B+=parseFloat(C.width||"0")||0);return B}let k=0;for(const C of y)k=P(C,k)})(c);const v=Math.max(...c.map(y=>Ul(y)))+1,f=si(c,v);l.value=f.headers,o.value=f.columns;const p=f.headers.flat(1);a.value=p.reduce((y,b)=>(b.sortable&&b.key&&b.sort&&(y[b.key]=b.sort),y),{}),r.value=p.reduce((y,b)=>(b.key&&b.filter&&(y[b.key]=b.filter),y),{})});const i={headers:l,columns:o,sortFunctions:a,filterFunctions:r};return t.provide(Ma,i),i}function el(){const e=t.inject(Ma);if(!e)throw new Error("Missing headers!");return e}const Ha=R({color:String,sticky:Boolean,multiSort:Boolean,sortAscIcon:{type:ae,default:"$sortAsc"},sortDescIcon:{type:ae,default:"$sortDesc"},...Dl()},"VDataTableHeaders"),zt=J()({name:"VDataTableHeaders",props:Ha(),setup(e,n){let{slots:l}=n;const{toggleSort:o,sortBy:a,isSorted:r}=function(){const P=t.inject(Ra);if(!P)throw new Error("Missing sort!");return P}(),{someSelected:i,allSelected:s,selectAll:u,showSelectAll:c}=Qt(),{columns:v,headers:f}=el(),{loaderClasses:p}=Tl(e);function d(P,k){if(e.sticky||P.fixed)return{position:"sticky",left:P.fixed?Z(P.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${k})`:void 0}}function h(P){const k=a.value.find(C=>C.key===P.key);return k?k.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:g,backgroundColorStyles:y}=Ae(e,"color"),b=t.computed(()=>({headers:f.value,columns:v.value,toggleSort:o,isSorted:r,sortBy:a.value,someSelected:i.value,allSelected:s.value,selectAll:u,getSortIcon:h})),V=P=>{let{column:k,x:C,y:B}=P;const F=k.key==="data-table-select"||k.key==="data-table-expand";return t.createVNode(Hl,t.mergeProps({tag:"th",align:k.align,class:["v-data-table__th",{"v-data-table__th--sortable":k.sortable,"v-data-table__th--sorted":r(k),"v-data-table__th--fixed":k.fixed},p.value],style:{width:Z(k.width),minWidth:Z(k.minWidth),...d(k,B)},colspan:k.colspan,rowspan:k.rowspan,onClick:k.sortable?()=>o(k):void 0,fixed:k.fixed,lastFixed:k.lastFixed,noPadding:F},k.headerProps),{default:()=>{var S;const m=`header.${k.key}`,w={column:k,selectAll:u,isSorted:r,toggleSort:o,sortBy:a.value,someSelected:i.value,allSelected:s.value,getSortIcon:h};return l[m]?l[m](w):k.key==="data-table-select"?((S=l["header.data-table-select"])==null?void 0:S.call(l,w))??(c&&t.createVNode(Ye,{modelValue:s.value,indeterminate:i.value&&!s.value,"onUpdate:modelValue":u},null)):t.createVNode("div",{class:"v-data-table-header__content"},[t.createVNode("span",null,[k.title]),k.sortable&&t.createVNode(ce,{key:"icon",class:"v-data-table-header__sort-icon",icon:h(k)},null),e.multiSort&&r(k)&&t.createVNode("div",{key:"badge",class:["v-data-table-header__sort-badge",...g.value],style:y.value},[a.value.findIndex(x=>x.key===k.key)+1])])}})};le(()=>t.createVNode(t.Fragment,null,[l.headers?l.headers(b.value):f.value.map((P,k)=>t.createVNode("tr",null,[P.map((C,B)=>t.createVNode(V,{column:C,x:B,y:k},null))])),e.loading&&t.createVNode("tr",{class:"v-data-table-progress"},[t.createVNode("th",{colspan:v.value.length},[t.createVNode(On,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:l.loader})])])]))}}),ii=R({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),ui=J()({name:"VDataTableGroupHeaderRow",props:ii(),setup(e,n){let{slots:l}=n;const{isGroupOpen:o,toggleGroup:a,extractRows:r}=Ca(),{isSelected:i,isSomeSelected:s,select:u}=Qt(),{columns:c}=el(),v=t.computed(()=>r([e.item]));return()=>t.createVNode("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[c.value.map(f=>{var p,d;if(f.key==="data-table-group"){const h=o(e.item)?"$expand":"$next",g=()=>a(e.item);return((p=l["data-table-group"])==null?void 0:p.call(l,{item:e.item,count:v.value.length,props:{icon:h,onClick:g}}))??t.createVNode(Hl,{class:"v-data-table-group-header-row__column"},{default:()=>[t.createVNode(Te,{size:"small",variant:"text",icon:h,onClick:g},null),t.createVNode("span",null,[e.item.value]),t.createVNode("span",null,[t.createTextVNode("("),v.value.length,t.createTextVNode(")")])]})}if(f.key==="data-table-select"){const h=i(v.value),g=s(v.value)&&!h,y=b=>u(v.value,b);return((d=l["data-table-select"])==null?void 0:d.call(l,{props:{modelValue:h,indeterminate:g,"onUpdate:modelValue":y}}))??t.createVNode("td",null,[t.createVNode(Ye,{modelValue:h,indeterminate:g,"onUpdate:modelValue":y},null)])}return t.createVNode("td",null,null)})])}}),ci=R({index:Number,item:Object,cellProps:[Object,Function],onClick:ye(),onContextmenu:ye(),onDblclick:ye()},"VDataTableRow"),di=J()({name:"VDataTableRow",props:ci(),setup(e,n){let{slots:l}=n;const{isSelected:o,toggleSelect:a}=Qt(),{isExpanded:r,toggleExpand:i}=wa(),{columns:s}=el();le(()=>t.createVNode("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)}],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&s.value.map((u,c)=>{const v=e.item,f=`item.${u.key}`,p={index:e.index,item:v.raw,internalItem:v,value:rt(v.columns,u.key),column:u,isSelected:o,toggleSelect:a,isExpanded:r,toggleExpand:i},d=typeof e.cellProps=="function"?e.cellProps({index:p.index,item:p.item,internalItem:p.internalItem,value:p.value,column:u}):e.cellProps,h=typeof u.cellProps=="function"?u.cellProps({index:p.index,item:p.item,internalItem:p.internalItem,value:p.value}):u.cellProps;return t.createVNode(Hl,t.mergeProps({align:u.align,fixed:u.fixed,fixedOffset:u.fixedOffset,lastFixed:u.lastFixed,noPadding:u.key==="data-table-select"||u.key==="data-table-expand",width:u.width},d,h),{default:()=>{var g,y;return l[f]?l[f](p):u.key==="data-table-select"?((g=l["item.data-table-select"])==null?void 0:g.call(l,p))??t.createVNode(Ye,{disabled:!v.selectable,modelValue:o([v]),onClick:t.withModifiers(()=>a(v),["stop"])},null):u.key==="data-table-expand"?((y=l["item.data-table-expand"])==null?void 0:y.call(l,p))??t.createVNode(Te,{icon:r(v)?"$collapse":"$expand",size:"small",variant:"text",onClick:t.withModifiers(()=>i(v),["stop"])},null):t.toDisplayString(p.value)}})})]))}}),Ua=R({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function]},"VDataTableRows"),Wt=J()({name:"VDataTableRows",inheritAttrs:!1,props:Ua(),setup(e,n){let{attrs:l,slots:o}=n;const{columns:a}=el(),{expandOnClick:r,toggleExpand:i,isExpanded:s}=wa(),{isSelected:u,toggleSelect:c}=Qt(),{toggleGroup:v,isGroupOpen:f}=Ca(),{t:p}=$e();return le(()=>{var d,h;return!e.loading||e.items.length&&!o.loading?e.loading||e.items.length||e.hideNoData?t.createVNode(t.Fragment,null,[e.items.map((g,y)=>{var P;if(g.type==="group"){const k={index:y,item:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:u,toggleSelect:c,toggleGroup:v,isGroupOpen:f};return o["group-header"]?o["group-header"](k):t.createVNode(ui,t.mergeProps({key:`group-header_${g.id}`,item:g},xo(l,":group-header",()=>k)),o)}const b={index:y,item:g.raw,internalItem:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:u,toggleSelect:c},V={...b,props:t.mergeProps({key:`item_${g.key??g.index}`,onClick:r.value?()=>{i(g)}:void 0,index:y,item:g,cellProps:e.cellProps},xo(l,":row",()=>b),typeof e.rowProps=="function"?e.rowProps({item:b.item,index:b.index,internalItem:b.internalItem}):e.rowProps)};return t.createVNode(t.Fragment,{key:V.props.key},[o.item?o.item(V):t.createVNode(di,V.props,o),s(g)&&((P=o["expanded-row"])==null?void 0:P.call(o,b))])})]):t.createVNode("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[t.createVNode("td",{colspan:a.value.length},[((d=o["no-data"])==null?void 0:d.call(o))??p(e.noDataText)])]):t.createVNode("tr",{class:"v-data-table-rows-loading",key:"loading"},[t.createVNode("td",{colspan:a.value.length},[((h=o.loading)==null?void 0:h.call(o))??p(e.loadingText)])])}),{}}}),qa=R({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...ne(),...xe(),...pe(),...ue()},"VTable"),Gt=J()({name:"VTable",props:qa(),setup(e,n){let{slots:l,emit:o}=n;const{themeClasses:a}=de(e),{densityClasses:r}=Pe(e);return le(()=>t.createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!l.top,"v-table--has-bottom":!!l.bottom,"v-table--hover":e.hover},a.value,r.value,e.class],style:e.style},{default:()=>{var i,s,u;return[(i=l.top)==null?void 0:i.call(l),l.default?t.createVNode("div",{class:"v-table__wrapper",style:{height:Z(e.height)}},[t.createVNode("table",null,[l.default()])]):(s=l.wrapper)==null?void 0:s.call(l),(u=l.bottom)==null?void 0:u.call(l)]}})),{}}}),pi=R({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function vi(e,n,l){return n.map((o,a)=>function(r,i,s,u){const c=r.returnObject?i:me(i,r.itemValue),v=me(i,r.itemSelectable,!0),f=u.reduce((p,d)=>(d.key!=null&&(p[d.key]=me(i,d.value)),p),{});return{type:"item",key:r.returnObject?me(i,r.itemValue):c,index:s,value:c,selectable:v,columns:f,raw:i}}(e,o,a,l))}function Ka(e,n){return{items:t.computed(()=>vi(e,e.items,n.value))}}const Ya=R({...Ua(),width:[String,Number],search:String,...Xs(),...Js(),...ni(),...pi(),...Qs(),...ei(),...Ha(),...qa()},"DataTable"),fi=R({...Fa(),...Ya(),...Ks(),...Gl()},"VDataTable"),mi=J()({name:"VDataTable",props:fi(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,n){let{attrs:l,slots:o}=n;const{groupBy:a}=ka(e),{sortBy:r,multiSort:i,mustSort:s}=La(e),{page:u,itemsPerPage:c}=Aa(e),{columns:v,headers:f,sortFunctions:p,filterFunctions:d}=Ga(e,{groupBy:a,showSelect:t.toRef(e,"showSelect"),showExpand:t.toRef(e,"showExpand")}),{items:h}=Ka(e,v),g=t.toRef(e,"search"),{filteredItems:y}=Ys(e,h,g,{transform:I=>I.columns,customKeyFilter:d}),{toggleSort:b}=Oa({sortBy:r,multiSort:i,mustSort:s,page:u}),{sortByWithGroups:V,opened:P,extractRows:k,isGroupOpen:C,toggleGroup:B}=xa({groupBy:a,sortBy:r}),{sortedItems:F}=ti(e,y,V,p),{flatItems:m}=Pa(F,a,P),w=t.computed(()=>m.value.length),{startIndex:S,stopIndex:x,pageCount:N,setItemsPerPage:E}=Ea({page:u,itemsPerPage:c,itemsLength:w}),{paginatedItems:D}=function(I){const{items:M,startIndex:z,stopIndex:j,itemsPerPage:A}=I;return{paginatedItems:t.computed(()=>A.value<=0?M.value:M.value.slice(z.value,j.value))}}({items:m,startIndex:S,stopIndex:x,itemsPerPage:c}),$=t.computed(()=>k(D.value)),{isSelected:T,select:W,selectAll:_,toggleSelect:L,someSelected:O,allSelected:H}=Ta(e,{allItems:h,currentPage:$}),{isExpanded:X,toggleExpand:q}=ba(e);Na({page:u,itemsPerPage:c,sortBy:r,groupBy:a,search:g}),Ce({VDataTableRows:{hideNoData:t.toRef(e,"hideNoData"),noDataText:t.toRef(e,"noDataText"),loading:t.toRef(e,"loading"),loadingText:t.toRef(e,"loadingText")}});const K=t.computed(()=>({page:u.value,itemsPerPage:c.value,sortBy:r.value,pageCount:N.value,toggleSort:b,setItemsPerPage:E,someSelected:O.value,allSelected:H.value,isSelected:T,select:W,selectAll:_,toggleSelect:L,isExpanded:X,toggleExpand:q,isGroupOpen:C,toggleGroup:B,items:$.value.map(I=>I.raw),internalItems:$.value,groupedItems:D.value,columns:v.value,headers:f.value}));return le(()=>{const I=jt.filterProps(e),M=zt.filterProps(e),z=Wt.filterProps(e),j=Gt.filterProps(e);return t.createVNode(Gt,t.mergeProps({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},j),{top:()=>{var A;return(A=o.top)==null?void 0:A.call(o,K.value)},default:()=>{var A,G,ee,U,Y,Q;return o.default?o.default(K.value):t.createVNode(t.Fragment,null,[(A=o.colgroup)==null?void 0:A.call(o,K.value),t.createVNode("thead",null,[t.createVNode(zt,M,o)]),(G=o.thead)==null?void 0:G.call(o,K.value),t.createVNode("tbody",null,[(ee=o["body.prepend"])==null?void 0:ee.call(o,K.value),o.body?o.body(K.value):t.createVNode(Wt,t.mergeProps(l,z,{items:D.value}),o),(U=o["body.append"])==null?void 0:U.call(o,K.value)]),(Y=o.tbody)==null?void 0:Y.call(o,K.value),(Q=o.tfoot)==null?void 0:Q.call(o,K.value)])},bottom:()=>o.bottom?o.bottom(K.value):t.createVNode(t.Fragment,null,[t.createVNode(sa,null,null),t.createVNode(jt,I,{prepend:o["footer.prepend"]})])})}),{}}}),gi=R({itemsLength:{type:[Number,String],required:!0},...Fa(),...Ya(),...Gl()},"VDataTableServer"),hi=J()({name:"VDataTableServer",props:gi(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0,"update:groupBy":e=>!0},setup(e,n){let{attrs:l,slots:o}=n;const{groupBy:a}=ka(e),{sortBy:r,multiSort:i,mustSort:s}=La(e),{page:u,itemsPerPage:c}=Aa(e),v=t.computed(()=>parseInt(e.itemsLength,10)),{columns:f,headers:p}=Ga(e,{groupBy:a,showSelect:t.toRef(e,"showSelect"),showExpand:t.toRef(e,"showExpand")}),{items:d}=Ka(e,f),{toggleSort:h}=Oa({sortBy:r,multiSort:i,mustSort:s,page:u}),{opened:g,isGroupOpen:y,toggleGroup:b,extractRows:V}=xa({groupBy:a,sortBy:r}),{pageCount:P,setItemsPerPage:k}=Ea({page:u,itemsPerPage:c,itemsLength:v}),{flatItems:C}=Pa(d,a,g),{isSelected:B,select:F,selectAll:m,toggleSelect:w,someSelected:S,allSelected:x}=Ta(e,{allItems:d,currentPage:d}),{isExpanded:N,toggleExpand:E}=ba(e),D=t.computed(()=>V(d.value));Na({page:u,itemsPerPage:c,sortBy:r,groupBy:a,search:t.toRef(e,"search")}),t.provide("v-data-table",{toggleSort:h,sortBy:r}),Ce({VDataTableRows:{hideNoData:t.toRef(e,"hideNoData"),noDataText:t.toRef(e,"noDataText"),loading:t.toRef(e,"loading"),loadingText:t.toRef(e,"loadingText")}});const $=t.computed(()=>({page:u.value,itemsPerPage:c.value,sortBy:r.value,pageCount:P.value,toggleSort:h,setItemsPerPage:k,someSelected:S.value,allSelected:x.value,isSelected:B,select:F,selectAll:m,toggleSelect:w,isExpanded:N,toggleExpand:E,isGroupOpen:y,toggleGroup:b,items:D.value.map(T=>T.raw),internalItems:D.value,groupedItems:C.value,columns:f.value,headers:p.value}));le(()=>{const T=jt.filterProps(e),W=zt.filterProps(e),_=Wt.filterProps(e),L=Gt.filterProps(e);return t.createVNode(Gt,t.mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},L),{top:()=>{var O;return(O=o.top)==null?void 0:O.call(o,$.value)},default:()=>{var O,H,X,q,K,I;return o.default?o.default($.value):t.createVNode(t.Fragment,null,[(O=o.colgroup)==null?void 0:O.call(o,$.value),t.createVNode("thead",{class:"v-data-table__thead",role:"rowgroup"},[t.createVNode(zt,t.mergeProps(W,{sticky:e.fixedHeader}),o)]),(H=o.thead)==null?void 0:H.call(o,$.value),t.createVNode("tbody",{class:"v-data-table__tbody",role:"rowgroup"},[(X=o["body.prepend"])==null?void 0:X.call(o,$.value),o.body?o.body($.value):t.createVNode(Wt,t.mergeProps(l,_,{items:C.value}),o),(q=o["body.append"])==null?void 0:q.call(o,$.value)]),(K=o.tbody)==null?void 0:K.call(o,$.value),(I=o.tfoot)==null?void 0:I.call(o,$.value)])},bottom:()=>o.bottom?o.bottom($.value):t.createVNode(jt,T,{prepend:o["footer.prepend"]})})})}}),Xa=Zt.reduce((e,n)=>(e[n]={type:[Boolean,String,Number],default:!1},e),{}),Ja=Zt.reduce((e,n)=>(e["offset"+t.capitalize(n)]={type:[String,Number],default:null},e),{}),Za=Zt.reduce((e,n)=>(e["order"+t.capitalize(n)]={type:[String,Number],default:null},e),{}),Xo={col:Object.keys(Xa),offset:Object.keys(Ja),order:Object.keys(Za)};function yi(e,n,l){let o=e;if(l!=null&&l!==!1)return n&&(o+=`-${n.replace(e,"")}`),e==="col"&&(o="v-"+o),(e!=="col"||l!==""&&l!==!0)&&(o+=`-${l}`),o.toLowerCase()}const bi=["auto","start","end","center","baseline","stretch"],wi=R({cols:{type:[Boolean,String,Number],default:!1},...Xa,offset:{type:[String,Number],default:null},...Ja,order:{type:[String,Number],default:null},...Za,alignSelf:{type:String,default:null,validator:e=>bi.includes(e)},...ne(),...pe()},"VCol"),Ke=J()({name:"VCol",props:wi(),setup(e,n){let{slots:l}=n;const o=t.computed(()=>{const a=[];let r;for(r in Xo)Xo[r].forEach(s=>{const u=e[s],c=yi(r,s,u);c&&a.push(c)});const i=a.some(s=>s.startsWith("v-col-"));return a.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>{var a;return t.h(e.tag,{class:[o.value,e.class],style:e.style},(a=l.default)==null?void 0:a.call(l))}}}),ql=["start","end","center"],Qa=["space-between","space-around","space-evenly"];function Kl(e,n){return Zt.reduce((l,o)=>(l[e+t.capitalize(o)]=n(),l),{})}const Si=[...ql,"baseline","stretch"],er=e=>Si.includes(e),tr=Kl("align",()=>({type:String,default:null,validator:er})),ki=[...ql,...Qa],lr=e=>ki.includes(e),or=Kl("justify",()=>({type:String,default:null,validator:lr})),xi=[...ql,...Qa,"stretch"],nr=e=>xi.includes(e),ar=Kl("alignContent",()=>({type:String,default:null,validator:nr})),Jo={align:Object.keys(tr),justify:Object.keys(or),alignContent:Object.keys(ar)},Ci={align:"align",justify:"justify",alignContent:"align-content"};function Vi(e,n,l){let o=Ci[e];if(l!=null)return n&&(o+=`-${n.replace(e,"")}`),o+=`-${l}`,o.toLowerCase()}const Bi=R({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:er},...tr,justify:{type:String,default:null,validator:lr},...or,alignContent:{type:String,default:null,validator:nr},...ar,...ne(),...pe()},"VRow"),rr=J()({name:"VRow",props:Bi(),setup(e,n){let{slots:l}=n;const o=t.computed(()=>{const a=[];let r;for(r in Jo)Jo[r].forEach(i=>{const s=e[i],u=Vi(r,i,s);u&&a.push(u)});return a.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),a});return()=>{var a;return t.h(e.tag,{class:["v-row",o.value,e.class],style:e.style},(a=l.default)==null?void 0:a.call(l))}}}),Pi={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function Ni(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return t.createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[n])}function Zo(e){const[n,l]=e.split("@");return Array.from({length:l}).map(()=>tl(n))}function tl(e){let n=[];if(!e)return n;const l=Pi[e];if(e!==l){if(e.includes(","))return Qo(e);if(e.includes("@"))return Zo(e);l.includes(",")?n=Qo(l):l.includes("@")?n=Zo(l):l&&n.push(tl(l))}return[Ni(e,n)]}function Qo(e){return e.replace(/\s/g,"").split(",").map(tl)}const Fi=R({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...je(),...We(),...ue()},"VSkeletonLoader"),_i=J()({name:"VSkeletonLoader",props:Fi(),setup(e,n){let{slots:l}=n;const{backgroundColorClasses:o,backgroundColorStyles:a}=Ae(t.toRef(e,"color")),{dimensionStyles:r}=ze(e),{elevationClasses:i}=Ze(e),{themeClasses:s}=de(e),{t:u}=$e(),c=t.computed(()=>tl(ve(e.type).join(",")));return le(()=>{var f;const v=!l.default||e.loading;return t.createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},s.value,o.value,i.value],style:[a.value,v?r.value:{}],"aria-busy":e.boilerplate?void 0:v,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:u(e.loadingText),role:e.boilerplate?void 0:"alert"},[v?c.value:(f=l.default)==null?void 0:f.call(l)])}),{}}}),Ht={background:"--v-theme-surface",border:"transparent",color:"--v-theme-on-surface"},sr={colorPercentageChange:15,colorPercentageDirection:"desc",colors:()=>({default:Ht,footer:{background:void 0,color:void 0},header:{background:void 0,color:void 0},percentageChange:15,percentageDirection:"desc"}),columnWidths:()=>[],defaultColors:()=>Ht,density:"default",drilldownKey:"id",elevation:0,expandOnClick:!1,filterKeys:void 0,footerBackgroundColor:void 0,footerColor:void 0,footers:()=>[],headerBackgroundColor:void 0,headerColor:void 0,height:"auto",hideNoData:!1,hover:!1,isDrilldown:!1,itemChildrenKey:"child",itemSelectable:void 0,itemValue:"id",items:()=>[],itemsLength:0,itemsPerPage:10,level:1,levels:1,loaderProps:()=>({circular:{bgColor:"theme-surface",color:"primary",indeterminate:!0},linear:{color:"surface-variant",height:"2px",indeterminate:!0},skelton:{type:"heading@1"},text:{color:"surface-variant"}}),loaderType:"linear",loading:!1,loadingText:"$vuetify.dataIterator.loadingText",matchColumnWidths:!1,noDataText:"$vuetify.noDataText",noFilter:!1,page:1,returnObject:!0,search:"",searchContainerCols:()=>({lg:3,md:6,sm:12,xl:3,xs:12,xxl:2}),searchDebounce:0,searchMaxWait:1e3,searchProps:()=>({}),selectStrategy:"page",separator:"default",server:!1,showDrilldownWhenLoading:!0,showExpand:!1,showFooterRow:!1,showSearch:!1,showSelect:!1,sortAscIcon:"$sortAsc",sortBy:()=>[],tableType:()=>({})},Ai=t.defineComponent({__name:"BottomSlot",props:{slotProps:{}},setup:e=>(n,l)=>t.renderSlot(n.$slots,"bottom")}),oe="v-drilldown-table";function en(e,n,l=""){let o=e;const a=n.length-1;if(a<0)return o===void 0?l:o;for(let r=0;r{const{id:n,sortBy:l}=e;if(l){const o=l.find(a=>a.key===n);if(o)return o.order}},Fe=e=>{const{str:n,unit:l="px"}=e;if(n!=null&&n!=="")return+n?`${Number(n)}${l}`:String(n)};function ir(e){const n=e.title,l=[n,e];return e.renderer?e.renderer(...l):e.renderHeader?e.renderHeader(...l):e.renderFooter?e.renderFooter(...l):n||""}function pl(e){return e&&typeof e=="object"&&!Array.isArray(e)}function at(e,...n){if(!n.length)return e;const l=n.shift();if(pl(e)&&pl(l))for(const o in l)pl(l[o])?(e[o]||Object.assign(e,{[o]:{}}),at(e[o],l[o])):Object.assign(e,{[o]:l[o]});return at(e,...n)}const ur=e=>{const{align:n}=e;return{"d-flex align-center":!0,[`justify-${n}`]:n||!1,"justify-start":!n}},cr=e=>{const{level:n}=e;return{"d-flex":!0,[`${oe}--header-select-all-checkbox`]:!0,[`${oe}--header-select-all-checkbox-${n}`]:!0}};function dr(e){return e==="transparent"||e==="none"||e==="inherit"||e==="currentColor"||e==="initial"||e==="unset"}function pr(e){return e.includes("--v-theme")}const vr=(e,n)=>{if(dr(e))return e;if(pr(e))return`rgb(var(${e}))`;const l=function(o,a){const r=a.global.current.value.colors;return Object.entries(r).find(([i])=>i===o)}(e,n);return l?`hsl(${Ut(l[1])})`:`hsl(${Ut(e)})`},$i=e=>{const{colors:n,level:l,prop:o="default",theme:a,type:r}=e,i={...n[o]},s=n==null?void 0:n.percentageDirection;if(i===void 0)throw new Error(`[VDrilldownTable]: The color option '${o}' does not exist`);let u=((c,v,f)=>{let p=100,d=(c==null?void 0:c.percentageChange)??0;return isNaN(d)&&(p=100),d*=v,f!=="desc"&&f!=="descending"||(p=100-d),f!=="asc"&&f!=="ascending"||(p=0+d),p<0&&(p=0),p>100&&(p=100),isNaN(p)&&(p=100),v===0&&(p=100),p})(n,l-1,s);return r||Object.entries(i).forEach(([c,v])=>{let f=a.global.current.value.colors[v]??v;if(f||(f=n.default[c]??"transparent",f=vr(f,a)),dr(f))return void(i[c]=f);if((c==="color"||l===0&&s==="asc")&&(u=100),pr(f))return void(i[c]=`rgb(var(${f}))`);const p=`/ ${u}%`,d=Ut(f);if(d.includes("/"))return i[c]=`hsl(${d})`;i[c]=`hsl(${Ut(f)} ${p})`}),i};function Ut(e){let n=function(v){const f={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let p=v;return Object.entries(f).forEach(([d,h])=>{v.toLowerCase()!=d.toLowerCase()||(p=h)}),p}(e),l=0,o=0,a=0,r=0,i=0,s=0;if(n.substring(0,1)==="#")n=function(v){let f=v.replace("#","");f.length===3&&(f=f.split("").map(g=>g+g).join(""));const p=parseInt(f.substring(0,2),16),d=parseInt(f.substring(2,4),16),h=parseInt(f.substring(4,6),16);return[p,d,h]}(n);else if(n.includes("rgb"))n=[...n.matchAll(/\d+/g)].map(Number);else if(n.includes("hsl"))return n=[...n.matchAll(/\d+/g)].map(Number),l=n[0],o=n[1],a=n[2],`${l} ${o}% ${a}%`;[r,i,s]=n,r/=255,i/=255,s/=255;const u=Math.max(r,i,s),c=Math.min(r,i,s);if(u===null||!c===null||isNaN(u)||isNaN(c)){const v="0 0% 100% / 12%";return console.warn(`[VDrilldownTable]: The "color" prop value using "${n}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(l=(u+c)/2,o=(u+c)/2,a=(u+c)/2,u==c)l=o=0;else{const v=u-c;switch(o=a>.5?v/(2-u-c):v/(u+c),u){case r:l=(i-s)/v+(i{const{colors:n,level:l,prop:o="default",themeColors:a,type:r=null}=e;if(typeof n!="object"||n==null)return{};const i=$i({colors:n,level:l,prop:o,theme:a,type:r});return r?i[r]:i},Ii=["colspan"],Di=t.defineComponent({__name:"TableLoader",props:{colors:{},colspan:{},height:{default:2},level:{},loaderType:{type:[String,Array,Boolean,null],default:"linear"},loading:{},loaderProps:{},loadingText:{default:"Loading..."},size:{default:"default"},textLoader:{type:Boolean,default:!0}},setup(e){const n=qt.useTheme(),l=e,o=t.computed(()=>(b=>{const{isLinearOnly:V,loaderHeight:P}=b;let k={height:0,minHeight:0};return t.unref(V)&&(k={height:Fe({str:t.unref(P)}),minHeight:Fe({str:t.unref(P)})}),k})({isLinearOnly:c,loaderHeight:u})),a=t.computed(()=>(b=>{const{isLinearOnly:V,loaderHeight:P}=b;return t.unref(V)?{height:Fe({str:t.unref(P)}),position:"absolute",top:0,width:"100%"}:{}})({isLinearOnly:c,loaderHeight:u})),r=t.computed(()=>(b=>{const{isLinearOnly:V}=b;return{[`${oe}--loader-tr`]:!0,[`${oe}--loader-tr-not-linear`]:!t.unref(V),"ma-0":!0,"pa-0":!0,"text-center":!0}})({isLinearOnly:c})),i=t.computed(()=>({[`${oe}--loader-tr-vrow`]:!0,"align-center":!1,"d-grid":!1,"flex-column":!0,"ma-0":!0,"pa-0":!0,"text-center":!0})),s=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.linear)??{}}),u=t.computed(()=>{var b,V;return function(P){return Fe({str:P})||"2px"}(((V=(b=l.loaderProps)==null?void 0:b.linear)==null?void 0:V.height)||"2px")}),c=t.computed(()=>{let b=!1;return l.loaderType!==null&&l.loaderType!==!1&&(b=function(V){let P=!1;return V==="linear"&&(P=!0),Array.isArray(V)&&(P=V.length===1&&V[0]==="linear"),P}(l.loaderType)),b}),v=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.circular)??{}}),f=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.skelton)??{}}),p=t.computed(()=>l.loading),d=t.computed(()=>{var V,P;let b=((P=(V=l.loaderProps)==null?void 0:V.text)==null?void 0:P.color)??"surface-variant";return b=vr(b,n),{color:b}}),h=t.computed(()=>l.loadingText||"Loading..."),g=b=>{const V=l.loaderType;return Array.isArray(V)?V.indexOf(b):1},y=b=>{const V=l.loaderType;return b===l.loaderType||!!Array.isArray(V)&&V.includes(b)};return(b,V)=>(t.openBlock(),t.createElementBlock("tr",{class:t.normalizeClass(t.unref(r)),style:t.normalizeStyle(t.unref(o))},[t.createElementVNode("td",{class:"px-0 ma-0",colspan:b.colspan,style:t.normalizeStyle(t.unref(a))},[b.loading?(t.openBlock(),t.createBlock(rr,{key:0,class:t.normalizeClass(t.unref(i)),"no-gutters":""},{default:t.withCtx(()=>[y("linear")?(t.openBlock(),t.createBlock(Ke,{key:0,class:"pa-0 ma-0",order:g("linear")},{default:t.withCtx(()=>[t.createVNode(Ln,t.normalizeProps(t.guardReactiveProps(t.unref(s))),null,16)]),_:1},8,["order"])):t.createCommentVNode("",!0),y("circular")?(t.openBlock(),t.createBlock(Ke,{key:1,class:"pa-0 my-2",order:g("circular")},{default:t.withCtx(()=>[t.createVNode(Dn,t.normalizeProps(t.guardReactiveProps(t.unref(v))),null,16)]),_:1},8,["order"])):t.createCommentVNode("",!0),y("skelton")?(t.openBlock(),t.createBlock(Ke,{key:2,class:"pa-0 ma-0",order:g("skelton")},{default:t.withCtx(()=>[t.createVNode(_i,t.mergeProps(t.unref(f),{loading:t.unref(p)}),null,16,["loading"])]),_:1},8,["order"])):t.createCommentVNode("",!0),y("text")?(t.openBlock(),t.createBlock(Ke,{key:3,class:"my-2",order:g("text"),style:t.normalizeStyle(t.unref(d))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(h)),1)]),_:1},8,["order","style"])):t.createCommentVNode("",!0)]),_:1},8,["class"])):t.createCommentVNode("",!0)],12,Ii)],6))}}),Xl=(e,n)=>{const l=e.__vccOpts||e;for(const[o,a]of n)l[o]=a;return l},Ti=Xl(Di,[["__scopeId","data-v-b954d026"]]),Ri=["colspan"],Li=["colspan","innerHTML"],Oi=["colspan"],Mi=["colspan","innerHTML"],ji=["colspan","onClick"],zi=["innerHTML"],Wi=t.defineComponent({__name:"HeadersSlot",props:{colorPercentageChange:{},colorPercentageDirection:{},colors:{},columnWidths:{},headerBackgroundColor:{},headerColor:{},isTheadSlot:{type:Boolean,default:!1},items:{},loaderProps:{},loaderSettings:{},matchColumnWidths:{type:Boolean},selectStrategy:{},slotProps:{},sortAscIcon:{},tableModelValue:{},density:{},level:{},showSelect:{default:!1},sortBy:{}},emits:["click:selectAll"],setup(e,{emit:n}){const l=t.useSlots(),o=n,a=e,r=t.ref(),i=t.inject(Symbol.for("vuetify:icons")),s=t.ref(!1),u=t.ref(a.items),c=t.ref(a.matchColumnWidths),v=t.ref(a.columnWidths||[]),f=t.ref(a.sortAscIcon),p=t.computed(()=>a.tableModelValue),d=qt.useTheme(),h=t.computed(()=>function(){const S=a.slotProps.columns;if(a.level<=1||!c.value)return S;if(v.value.length===0)throw new Error("VDrilldownTable (matchColumnWidths): There was an issue getting the parent tables widths.");return Object.entries(S).forEach(([x])=>{Object.keys(S).length!==parseInt(x)+1&&S[x].width===void 0&&(S[x].width=v.value[parseInt(x)])}),S}());t.watch(()=>a.items,S=>{u.value=S,r.value=(S==null?void 0:S.filter(x=>x.selectable))??[],r.value=S==null?void 0:S.filter(x=>x.selectable!==!1)});const g=t.computed(()=>(S=>{const{level:x}=S;return{[`${oe}--header-row`]:!0,[`${oe}--header-row-${x}`]:!0}})({level:a.level})),y=(S,x="")=>(N=>{const{column:E,level:D,slotName:$=""}=N;return{[`${oe}--header-row-th`]:!0,[`${oe}--header-row-th-${$}`]:$!=="",[`${oe}--header-row-th-${$}-${D}`]:$!=="",[`${oe}--header-row-th-${D}`]:!0,[`${oe}--header-row-th-sortable`]:E.sortable||!1,[`${oe}--header-row-th-sortable-default-color`]:E.sortable||!1,[`${E.cellClass}`]:E.cellClass||!1}})({column:S,level:a.level,slotName:x}),b=t.computed(()=>{const S=a.colors;return S&&(S.header={background:a.headerBackgroundColor,color:a.headerColor},S.percentageChange=a.colorPercentageChange,S.percentageDirection=a.colorPercentageDirection),S}),V=(S,x=!1)=>(N=>{const{colors:E,column:D,dataTableExpand:$=!1,level:T,theme:W}=N,_={minWidth:D.width?Fe({str:D.width}):"auto",width:D.width?Fe({str:D.width}):"auto"};$&&!D.width&&(_.width=D.width?Fe({str:D.width}):"56px",_.minWidth=D.width?Fe({str:D.width}):"56px");const L=Yl({colors:E,level:T,prop:"header",themeColors:W});return _.backgroundColor=L.background,_.color=L.color,_})({colors:b.value,column:S,dataTableExpand:x,level:a.level,theme:d}),P=S=>{const x=V(S);return a.headerColor===void 0?{}:{color:x.color}},k=t.computed(()=>{var S;return!a.slotProps.allSelected&&((S=p==null?void 0:p.value)==null?void 0:S.length)!==0});function C(){s.value=!s.value,a.slotProps.selectAll(s.value),o("click:selectAll",s.value)}t.watch(()=>a.slotProps.allSelected,S=>{s.value=S}),t.watch(()=>a.slotProps.someSelected,()=>{if(a.slotProps.allSelected)return!1});const B=t.computed(()=>cr({level:a.level})),F=S=>(x=>{const{iconOptions:N,key:E,level:D,sortBy:$}=x;return{"fa-fw":(N==null?void 0:N.defaultSet)==="fa","mx-1":!0,[`${oe}--header-row-th-sortable-sort-icon`]:!0,[`${oe}--header-row-th-sortable-sort-icon-${D}`]:!0,[`${oe}--header-row-th-sortable-sort-icon-desc`]:tn({id:E,sortBy:$})==="desc",[`${oe}--header-row-th-sortable-sort-icon-asc`]:tn({id:E,sortBy:$})==="asc"}})({iconOptions:i,key:S,level:a.level,sortBy:a.sortBy}),m=t.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"small":(f.value=(a==null?void 0:a.sortAscIcon)??"$sortAsc","default"));function w(S){return ir(S)}return(S,x)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("tr",{class:t.normalizeClass(t.unref(g))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),N=>{return t.openBlock(),t.createElementBlock(t.Fragment,{key:N},[t.unref(l)[`column.${N.key}`]||t.unref(l)[`header.${N.key}`]?(t.openBlock(),t.createElementBlock("th",{key:0,class:t.normalizeClass(y(N,N.key)),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0))},[t.renderSlot(S.$slots,`header.${N.key}`,{column:N},void 0,!0)],14,Ri)):N.key==="data-table-group"||N.key==="data-table-group"?(t.openBlock(),t.createElementBlock("th",{key:1,class:t.normalizeClass(y(N,"header-data-table-group")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0)),innerHTML:w(N)},null,14,Li)):N.key==="data-table-select"||N.key==="data-table-select"&&S.showSelect?(t.openBlock(),t.createElementBlock("th",{key:2,class:t.normalizeClass(y(N,"header-data-table-select")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0))},[S.selectStrategy!=="single"?(t.openBlock(),t.createBlock(jl,{key:0,class:t.normalizeClass(t.unref(B)),density:S.density,focused:!1,indeterminate:t.unref(k),"model-value":t.unref(s),"onUpdate:modelValue":C},null,8,["class","density","indeterminate","model-value"])):t.createCommentVNode("",!0)],14,Oi)):N.key==="data-table-expand"?(t.openBlock(),t.createElementBlock("th",{key:3,class:t.normalizeClass(y(N,"data-table-expand")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0)),innerHTML:w(N)},null,14,Mi)):(t.openBlock(),t.createElementBlock("th",{key:4,class:t.normalizeClass(y(N)),colspan:N.colspan||1,style:t.normalizeStyle(V(N)),onClick:D=>function($){$.sortable&&a.slotProps.toggleSort($)}(N)},[t.createElementVNode("div",{class:t.normalizeClass((E=N.align,ur({align:E}))),style:t.normalizeStyle(P(N))},[t.createElementVNode("span",{innerHTML:w(N)},null,8,zi),N.sortable&&t.unref(l)["header.sortIcon"]?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(F(N.key))},[t.renderSlot(S.$slots,"header.sortIcon",{},void 0,!0)],2)):N.sortable?(t.openBlock(),t.createBlock(ce,{key:1,class:t.normalizeClass(F(N.key)),icon:t.unref(f),size:t.unref(m)},null,8,["class","icon","size"])):t.createCommentVNode("",!0)],6)],14,ji))],64);var E}),128))],2),S.loaderSettings.loaderType&&!t.unref(l).loading?(t.openBlock(),t.createBlock(t.unref(Ti),{key:0,colors:S.colors,colspan:S.loaderSettings.colspan,height:S.loaderSettings.height,level:S.level,"loader-props":S.loaderProps,"loader-settings":S.loaderSettings,"loader-type":S.loaderSettings.loaderType,loading:S.loaderSettings.loading||!1,"loading-text":S.loaderSettings.loadingText,size:S.loaderSettings.size},null,8,["colors","colspan","height","level","loader-props","loader-settings","loader-type","loading","loading-text","size"])):t.createCommentVNode("",!0)],64))}}),Gi=Xl(Wi,[["__scopeId","data-v-315f818f"]]),Hi=["colspan"],Ui=["colspan"],qi=["colspan"],Ki=["colspan"],Yi=["innerHTML"],Xi=t.defineComponent({__name:"ItemSlot",props:{expandOnClick:{},itemSelectable:{},items:{},levels:{},showExpand:{},slotProps:{},density:{},level:{},showSelect:{}},emits:["click:row","click:row:checkbox","update:expanded"],setup(e,{emit:n}){const l=t.useSlots(),o=n,a=e,r=t.inject(Symbol.for("vuetify:icons")),i=t.computed(()=>a.slotProps.columns),s=t.computed(()=>a.slotProps.index),u=t.computed(()=>a.slotProps.isExpanded),c=t.computed(()=>a.slotProps.item),v=t.computed(()=>a.slotProps.internalItem),f=t.computed(()=>a.slotProps.level),p=t.computed(()=>a.slotProps.toggleExpand),d=t.computed(()=>a.slotProps.toggleSelect),h=t.computed(()=>a.itemSelectable),g=t.computed(()=>(k=>{const{expandOnClick:C,level:B,levels:F}=k;return{"v-data-table__tr":!0,"v-data-table__tr--clickable":C&&B(C=>{const{column:B,elm:F,level:m}=C;return{[`${oe}--${F}-row-td`]:!0,[`${oe}--${F}-row-td-${m}`]:!0,[`${B.cellClass}`]:B.cellClass||!1}})({column:k,elm:"body",level:a.level});function b(k){const{isRow:C,internalItem:B,level:F,toggleExpand:m}=k;if(!(a.level>=a.levels||a.expandOnClick&&!C)&&(!a.expandOnClick||C)){if(k.$event){if(!a.expandOnClick)return;o("click:row",k.$event)}F===a.level&&m(B),o("update:expanded",k)}}const V=t.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"x-small":"default");function P(k,C){return function(B,F){if(!F.key)return"";const m=Ei(B,F.key);return F.renderItem?F.renderItem(m,B,F):m}(k,C)}return(k,C)=>(t.openBlock(),t.createElementBlock("tr",{class:t.normalizeClass(t.unref(g)),onClick:C[2]||(C[2]=B=>b({columns:t.unref(i),index:t.unref(s),isExpanded:t.unref(u),isRow:!0,item:t.unref(c),internalItem:t.unref(v),level:t.unref(f),toggleExpand:t.unref(p),$event:B}))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(i),B=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:B},[k.$slots[`item.${B.key}`]?(t.openBlock(),t.createElementBlock("td",{key:0,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.renderSlot(k.$slots,`item.${B.key}`,{columns:t.unref(i),index:t.unref(s),item:t.unref(c)},void 0,!0)],10,Hi)):B.key==="data-table-select"||B.key==="data-table-select"&&a.showSelect?(t.openBlock(),t.createElementBlock("td",{key:1,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.unref(l)["item.data-table-select"]?t.renderSlot(k.$slots,"item.data-table-select",{key:0},void 0,!0):t.createCommentVNode("",!0),t.createVNode(jl,{class:"d-flex v-simple-checkbox",density:k.density,disabled:t.unref(c).selectable===!1&&t.unref(h)==="selectable","model-value":k.slotProps.isSelected([t.unref(v)]),onClick:C[0]||(C[0]=t.withModifiers(F=>function(m){const{internalItem:w,item:S,toggleSelect:x}=m;x(w),o("click:row:checkbox",S)}({columns:t.unref(i),index:t.unref(s),internalItem:t.unref(v),item:t.unref(c),level:t.unref(f),toggleSelect:t.unref(d)}),["stop"]))},null,8,["density","disabled","model-value"])],10,Ui)):B.key==="data-table-expand"||B.key==="data-table-expand"&&k.showExpand?(t.openBlock(),t.createElementBlock("td",{key:2,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.unref(f)b({columns:t.unref(i),index:t.unref(s),isExpanded:t.unref(u),item:t.unref(c),internalItem:t.unref(v),level:t.unref(f),toggleExpand:t.unref(p)}))},[k.$slots["item.data-table-expand"]?t.renderSlot(k.$slots,"item.data-table-expand",{key:0},void 0,!0):(t.openBlock(),t.createBlock(ce,{key:1,icon:"$expand",size:t.unref(V)},null,8,["size"]))],2)):t.createCommentVNode("",!0)],10,qi)):(t.openBlock(),t.createElementBlock("td",{key:3,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.createElementVNode("span",{innerHTML:P(t.unref(c),B)},null,8,Yi)],10,Ki))],64))),128))],2))}}),Ji=Xl(Xi,[["__scopeId","data-v-91892b42"]]),Zi=["colspan"],Qi=["colspan"],eu=["colspan","innerHTML"],tu=["colspan","innerHTML"],lu=["colspan"],ou=["innerHTML"],nu=t.defineComponent({__name:"TfootSlot",props:{colorPercentageChange:{},colorPercentageDirection:{},footerBackgroundColor:{},footerColor:{},footers:{},items:{},selectStrategy:{},slotProps:{},tableModelValue:{},colors:{},density:{},level:{}},emits:["click:selectAll"],setup(e,{emit:n}){const l=t.useSlots(),o=n,a=e,r=t.ref(),i=qt.useTheme(),s=t.ref(!1),u=t.ref(a.items),c=t.computed(()=>a.tableModelValue),v=t.computed(()=>a.footers.length?a.footers:a.slotProps.columns);t.watch(()=>a.items,k=>{u.value=k,r.value=(k==null?void 0:k.filter(C=>C.selectable))??[],r.value=k==null?void 0:k.filter(C=>C.selectable!==!1)});const f=t.computed(()=>(k=>{const{level:C}=k;return{[`${oe}--tfoot`]:!0,[`${oe}--tfoot-${C}`]:!0}})({level:a.level})),p=t.computed(()=>(k=>{const{level:C}=k;return{[`${oe}--tfoot-row`]:!0,[`${oe}--tfoot-row-${C}`]:!0}})({level:a.level})),d=(k,C="")=>(B=>{const{column:F,level:m,slotName:w=""}=B;return{[`${oe}--tfoot-row-td`]:!0,[`${oe}--tfoot-row-td-${w}`]:w!=="",[`${oe}--tfoot-row-td-${w}-${m}`]:w,[`${oe}--tfoot-row-td-${m}`]:!0,[`${F.cellClass}`]:F.cellClass||!1}})({column:k,level:a.level,slotName:C}),h=t.computed(()=>{const k=a.colors;return k&&(k.footer={background:a.footerBackgroundColor,color:a.footerColor},k.percentageChange=a.colorPercentageChange,k.percentageDirection=a.colorPercentageDirection),k}),g=t.computed(()=>(k=>{const{colors:C,elm:B,level:F,theme:m}=k,w=Yl({colors:C,level:F,prop:B,themeColors:m});return{backgroundColor:w.background,color:w.color}})({colors:h.value,elm:"footer",footerColor:a.footerColor,level:a.level,theme:i})),y=t.computed(()=>{var k;return!a.slotProps.allSelected&&((k=c==null?void 0:c.value)==null?void 0:k.length)!==0});function b(){s.value=!s.value,a.slotProps.selectAll(s.value),o("click:selectAll",s.value)}t.watch(()=>a.slotProps.allSelected,k=>{s.value=k}),t.watch(()=>a.slotProps.someSelected,()=>{if(a.slotProps.allSelected)return!1});const V=t.computed(()=>cr({level:a.level}));function P(k){return ir(k)}return(k,C)=>{var B;return(B=t.unref(v))!=null&&B.length?(t.openBlock(),t.createElementBlock("tfoot",{key:0,class:t.normalizeClass(t.unref(f))},[t.createElementVNode("tr",{class:t.normalizeClass(t.unref(p))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(v),F=>{return t.openBlock(),t.createElementBlock(t.Fragment,{key:F},[t.unref(l)[`tfoot.${F.key}`]?(t.openBlock(),t.createElementBlock("th",{key:0,class:t.normalizeClass(d(F,F.key)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[t.renderSlot(k.$slots,`tfoot.${F.key}`,{column:F})],14,Zi)):F.key==="data-table-select"?(t.openBlock(),t.createElementBlock("th",{key:1,class:t.normalizeClass(d(F,"tfoot-data-table-select")),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[k.selectStrategy!=="single"?(t.openBlock(),t.createBlock(jl,{key:0,class:t.normalizeClass(t.unref(V)),density:k.density,focused:!1,indeterminate:t.unref(y),"model-value":t.unref(s),"onUpdate:modelValue":b},null,8,["class","density","indeterminate","model-value"])):t.createCommentVNode("",!0)],14,Qi)):F.key==="data-table-expand"?(t.openBlock(),t.createElementBlock("th",{key:2,class:t.normalizeClass(d(F,"tfoot-data-table-expand")),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g)),innerHTML:P(F)},null,14,eu)):F.renderFooterCell?(t.openBlock(),t.createElementBlock("th",{key:3,class:t.normalizeClass(d(F)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g)),innerHTML:P(F)},null,14,tu)):(t.openBlock(),t.createElementBlock("th",{key:4,class:t.normalizeClass(d(F)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[t.createElementVNode("div",{class:t.normalizeClass((m=F.align,ur({align:m})))},[t.createElementVNode("span",{innerHTML:P(F)},null,8,ou)],2)],14,lu))],64);var m}),128))],2)],2)):t.createCommentVNode("",!0)}}}),au=t.defineComponent({__name:"TopSlot",props:{items:{},level:{},loading:{},searchContainerCols:{},searchProps:{},showSearch:{type:Boolean},slotProps:{}},emits:["click:selectAll","update:search"],setup(e,{emit:n}){const l=t.useSlots(),o=n,a=e,r=t.ref(""),i=t.ref(!0),s=t.computed(()=>a.items),u=t.computed(()=>({allSelected:a.slotProps.allSelected,columns:a.slotProps.columns,headers:a.slotProps.headers,items:s,itemsPerPage:a.slotProps.itemsPerPage,level:a.level,loading:a.loading,page:a.slotProps.page,pageCount:a.slotProps.pageCount,search:t.unref(r),selectAll:c,setItemsPerPage:a.slotProps.setItemsPerPage,toggleSelectAll:v}));function c(d){a.slotProps.selectAll(d),o("click:selectAll",d)}function v(){a.slotProps.selectAll(!a.slotProps.allSelected),o("click:selectAll",!a.slotProps.allSelected)}t.onMounted(()=>{const d=document.querySelector(`[data-id="vdt-top-id-${a.level}"]`);(d==null?void 0:d.children.length)===0&&(i.value=!1)}),t.watch(r,()=>{o("update:search",r.value)});const f=t.computed(()=>({density:"compact",hideDetails:!0,label:"Search",singleLine:!0,variant:"underlined",...a.searchProps})),p=t.computed(()=>{const d=a.searchContainerCols??sr.searchContainerCols();return{[`${oe}--search-field`]:!0,[`v-col-${d.xs}`]:!0,[`v-col-sm-${d.sm}`]:!0,[`v-col-md-${d.md}`]:!0,[`v-col-lg-${d.lg}`]:!0,[`v-col-xl-${d.xl}`]:!0,[`v-col-xxl-${d.xxl}`]:!0}});return(d,h)=>t.unref(l).top?t.renderSlot(d.$slots,"top",t.normalizeProps(t.mergeProps({key:0},t.unref(u)))):(d.showSearch||t.unref(l)["top.left"]||t.unref(l)["top.right"])&&t.unref(i)?(t.openBlock(),t.createBlock(Ke,{key:1,lg:"12"},{default:t.withCtx(()=>[t.createVNode(rr,{"data-id":`vdt-top-id-${a.level}`},{default:t.withCtx(()=>[t.unref(l)["top.left"]?t.renderSlot(d.$slots,"top.left",t.normalizeProps(t.mergeProps({key:0},t.unref(u)))):d.showSearch?(t.openBlock(),t.createBlock(Ke,{key:1,class:t.normalizeClass(["d-flex align-center justify-end",t.unref(p)])},{default:t.withCtx(()=>[d.showSearch?(t.openBlock(),t.createBlock(Vl,t.mergeProps({key:0},t.unref(f),{modelValue:t.unref(r),"onUpdate:modelValue":h[0]||(h[0]=g=>t.isRef(r)?r.value=g:null),class:"mt-0 pt-0"}),null,16,["modelValue"])):t.createCommentVNode("",!0)]),_:1},8,["class"])):t.createCommentVNode("",!0),t.unref(l)["top.right"]?t.renderSlot(d.$slots,"top.right",t.normalizeProps(t.mergeProps({key:2},t.unref(u)))):t.createCommentVNode("",!0)]),_:3},8,["data-id"])]),_:3})):t.createCommentVNode("",!0)}});function ln(e){return typeof e=="function"?e():t.unref(e)}const on=()=>{},ru=e=>e();function su(e,n={}){let l,o,a=on;const r=i=>{clearTimeout(i),a(),a=on};return i=>{const s=ln(e),u=ln(n.maxWait);return l&&r(l),s<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(i())):new Promise((c,v)=>{a=n.rejectOnCancel?v:c,u&&!o&&(o=setTimeout(()=>{l&&r(l),o=null,c(i())},u)),l=setTimeout(()=>{o&&r(o),o=null,c(i())},s)})}}function iu(e,n,l={}){const{eventFilter:o=ru,...a}=l;return t.watch(e,(r=o,i=n,function(...s){return new Promise((u,c)=>{Promise.resolve(r(()=>i.apply(this,s),{fn:i,thisArg:this,args:s})).then(u).catch(c)})}),a);var r,i}function nn(e,n,l={}){const{debounce:o=0,maxWait:a,...r}=l;return iu(e,n,{...r,eventFilter:su(o,{maxWait:a})})}const ot=new Map,uu=["colspan"],vl=t.defineComponent({__name:"VDrilldownTable",props:t.mergeDefaults({colorPercentageChange:{},colorPercentageDirection:{},colors:{},columnWidths:{},customFilter:{},customKeyFilter:{},defaultColors:{},density:{},drilldown:{},drilldownKey:{},elevation:{},expandOnClick:{},expanded:{},filterKeys:{},filterMode:{},fixedFooter:{type:Boolean},fixedHeader:{type:Boolean},footerBackgroundColor:{},footerColor:{},footers:{},groupBy:{},headerBackgroundColor:{},headerColor:{},headers:{},height:{},hideNoData:{},hover:{},isDrilldown:{type:Boolean},item:{},itemChildrenKey:{},itemSelectable:{},itemValue:{},items:{},itemsLength:{},itemsPerPage:{},itemsPerPageOptions:{},level:{},levels:{},loaderProps:{},loaderSize:{},loaderType:{type:[String,Array,Boolean,null]},loading:{},loadingText:{},matchColumnWidths:{type:Boolean},modelValue:{},multiSort:{},mustSort:{},noDataText:{},noFilter:{},page:{},returnObject:{},search:{},searchContainerCols:{},searchDebounce:{},searchMaxWait:{},searchProps:{},separator:{},server:{type:Boolean},selectStrategy:{},showDrilldownWhenLoading:{type:Boolean},showExpand:{},showFooterRow:{type:Boolean},showSearch:{type:Boolean},showSelect:{},sortAscIcon:{},sortBy:{},tableType:{},width:{}},{...sr}),emits:["click:row","click:row:checkbox","update:expanded","update:drilldown","update:options","update:itemsPerPage","update:page","update:search","update:sortBy"],setup(e,{emit:n}){const l=n,o=e,a=t.inject(Pl,{}),r=t.ref({...o,...a}),{colorPercentageChange:i,colorPercentageDirection:s,elevation:u,expandOnClick:c,footerBackgroundColor:v,footerColor:f,headerBackgroundColor:p,headerColor:d,hover:h,itemsPerPageOptions:g,loaderProps:y,loaderType:b,separator:V,sortAscIcon:P}=t.toRefs(r.value),k=t.useSlots(),C=t.useAttrs(),B=t.shallowRef(null),F=t.computed(()=>o.density);t.onMounted(()=>{o.level===1&&m.level!==1||m.server||_()}),t.onBeforeMount(()=>{B.value=Object.assign({},o.server?hi:mi)});let m=t.reactive(Object.assign({},o));m!=null&&m.colors&&(m.colors.default={...Ht,...r.value.defaultColors});const w={...o,...m},S=t.ref(C["data-vdt-id"]??`v-drilldown-table-${Date.now()}`),x=t.ref(""),N=qt.useTheme(),E=t.computed(()=>m.sortBy),D=t.computed(()=>!!m.loading||m.hideNoData);(function(A,G,ee){const U=t.watch(A,(...Y)=>(t.nextTick(()=>U()),G(...Y)),ee)})(o,()=>{o.level===1&&m.level!==1||_(),m.itemsPerPage=o.itemsPerPage},{immediate:!1}),t.watch(()=>o.items,()=>{o.loading||_()},{deep:!0}),t.watch(()=>o.loading,()=>{if(o.loading)return m.loading=o.loading,!1;_()}),t.watchEffect(()=>{m.colors&&r.value.defaultColors&&(m.colors.default={...Ht,...r.value.defaultColors})}),t.watchEffect(()=>{r.value={...o,...a}});const $=A=>{const G=t.unref(r.value.loaderType);return!(A&&(G==="skelton"||Array.isArray(G)&&G.length===1&&G[0]==="skelton"||!m.showDrilldownWhenLoading))},T=t.computed(()=>(A=>{const{elevation:G,fixedHeader:ee,isDrilldown:U,isHover:Y,isServerSide:Q,level:te,separator:re}=A;return{[`${oe}--child`]:U,[`${oe}--fixed-header`]:ee,[`${oe}--hover`]:Y,[`${oe}--level-${te}`]:!0,[`${oe}--server`]:Q,[`${oe}--separator-${re}`]:re,[`${oe}`]:!0,[`elevation-${G}`]:parseInt(G)>0}})({elevation:t.unref(u),fixedHeader:m.fixedHeader,isDrilldown:o.isDrilldown,isHover:t.unref(h),isServerSide:!1,level:m.level,separator:t.unref(V)})),W=t.computed(()=>(A=>{const{colors:G,level:ee,theme:U}=A;let Y={};typeof G=="object"&&G!==null&&(Y=Yl({colors:G,level:ee,prop:"default",themeColors:U}));const Q={borderBottom:"none"};return Y.border&&(Q.borderBottom=`1px solid ${Y.border}`),Q})({colors:m.colors,level:m.level,theme:N}));function _(){var A;o.drilldown?m=(G=>{const{drilldown:ee,item:U,level:Y,levels:Q,loadedDrilldown:te}=G;let re=te;const be=U;re=at(te,ee);const Ge=(te.items||[{}]).find(mt=>{const gt=mt[te.drilldownKey];let et={};return be&&(et=be[te.drilldownKey]),gt===et});return re=at(te,Ge[te.itemChildrenKey]),Q===Y&&(re.showExpand=!1),re})({drilldown:o.drilldown,item:o.item,level:o.level,levels:o.levels,loadedDrilldown:m,matchColumnWidths:o.matchColumnWidths}):(m=at(m,o),o.matchColumnWidths&&((A=m==null?void 0:m.columnWidths)==null?void 0:A.length)===0&&(m.columnWidths=(G=>{const{tableId:ee}=G,U=[],Y=t.unref(ee),Q=document.querySelectorAll(`[data-vdt-id="${Y}"] .v-drilldown-table--header-row-th-1`);if(Object.keys(Q).length>0)for(let te=0;te{const{data:U,drilldownData:Y,emit:Q}=ee;U.isExpanded(U.internalItem)&&Q("update:drilldown",Y),Q("update:expanded",U.item)})({data:A,drilldownData:G,emit:l})}function O(A){return{items:A.items,itemsPerPage:A.itemsPerPage,page:A.page,search:x.value,server:A.server,sortBy:A.sortBy}}const H=function(A){const G=t.getCurrentScope();function ee(Q){var te;const re=ot.get(A)||new Set;re.add(Q),ot.set(A,re);const be=()=>U(Q);return(te=G==null?void 0:G.cleanups)==null||te.push(be),be}function U(Q){const te=ot.get(A);te&&(te.delete(Q),te.size||Y())}function Y(){ot.delete(A)}return{on:ee,once:function(Q){return ee(function te(...re){U(te),Q(...re)})},off:U,emit:function(Q,te){var re;(re=ot.get(A))==null||re.forEach(be=>be(Q,te))},reset:Y}}(mr),X=H.on(function(A){o.level===1&&A.drilldown.server&&l("update:options",{...A})});function q(A){m.itemsPerPage=A;const G=O(m),ee={drilldown:{...o,...G,itemsPerPage:A},itemsPerPage:A,name:"update:itemsPerPage"};H.emit(ee),l("update:itemsPerPage",A)}function K(A){m.page=A;const G=O(m),ee={drilldown:{...o,...G,page:A},name:"update:page",page:A};H.emit(ee),l("update:page",A)}t.onUnmounted(()=>{X()});const I={debounce:m.searchDebounce,maxWait:m.searchMaxWait};function M(){k.top||k["top.left"]||(m.search=x.value),(k.top||k["top.left"])&&(x.value=o.search||"");const A=O(m),G={drilldown:{...o,...A,search:x.value},search:x.value};H.emit(G),l("update:search",G)}function z(A){m.sortBy=A;const G=O(m),ee={drilldown:{...o,...G,sortBy:A},name:"update:sortBy",sortBy:A};H.emit(ee),l("update:sortBy",A)}function j(){}return nn(()=>o.search,()=>{M()},I),nn(x,()=>{k.top||k["top.left"]||M()},I),(A,G)=>{const ee=t.resolveComponent("VDrilldownTable",!0);return t.unref(B)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(B)),t.mergeProps({key:0},A.$attrs,{modelValue:t.unref(m).modelValue,"onUpdate:modelValue":[G[5]||(G[5]=U=>t.unref(m).modelValue=U),j],class:t.unref(T),"data-vdt-id":t.unref(S),density:t.unref(F),"expand-on-click":t.unref(c),expanded:t.unref(m).expanded,"fixed-header":t.unref(m).fixedHeader,"group-by":t.unref(m).groupBy,headers:t.unref(m).headers,height:t.unref(m).height,"hide-no-data":t.unref(D),hover:t.unref(h),"item-selectable":t.unref(m).itemSelectable,"item-value":t.unref(m).itemValue,items:t.unref(m).items,"items-length":t.unref(m).itemsLength,"items-per-page":t.unref(m).itemsPerPage,"items-per-page-options":t.unref(g),loading:(!t.unref(b)||t.unref(k).loading)&&t.unref(m).loading,"multi-sort":t.unref(m).multiSort,"must-sort":t.unref(m).mustSort,"no-data-text":t.unref(m).noDataText,page:t.unref(m).page,"return-object":t.unref(m).returnObject,search:t.unref(x),"select-strategy":t.unref(m).selectStrategy,"show-expand":t.unref(m).showExpand,"sort-by":t.unref(E),style:t.unref(W),"onUpdate:itemsPerPage":q,"onUpdate:page":K,"onUpdate:sortBy":z}),t.createSlots({top:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(au),{key:A.level,items:t.unref(m).items,level:t.unref(m).level,loading:t.unref(m).loading,"search-container-cols":t.unref(m).searchContainerCols,"search-props":t.unref(m).searchProps,"show-search":t.unref(m).showSearch??!1,"slot-props":U,"onUpdate:search":G[0]||(G[0]=Y=>x.value=Y)},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["items","level","loading","search-container-cols","search-props","show-search","slot-props"]))]),headers:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Gi),{key:A.level,colorPercentageChange:t.unref(i),colorPercentageDirection:t.unref(s),colors:t.unref(m).colors,"column-widths":t.unref(m).columnWidths,density:t.unref(F),headerBackgroundColor:t.unref(r).headerBackgroundColor,headerColor:t.unref(d),items:t.unref(m).items,level:A.level,"loader-props":t.unref(y),"loader-settings":{colspan:U.columns.length,loaderType:t.unref(b),loading:t.unref(m).loading,loadingText:A.loadingText},"match-column-widths":t.unref(m).matchColumnWidths,"select-strategy":t.unref(m).selectStrategy,"show-select":t.unref(m).showSelect,"slot-props":{...U},"sort-asc-icon":t.unref(P),"sort-by":t.unref(m).sortBy,"table-model-value":t.unref(m).modelValue},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["colorPercentageChange","colorPercentageDirection","colors","column-widths","density","headerBackgroundColor","headerColor","items","level","loader-props","loader-settings","match-column-widths","select-strategy","show-select","slot-props","sort-asc-icon","sort-by","table-model-value"]))]),item:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Ji),{key:A.level,density:t.unref(F),"expand-on-click":t.unref(c),"group-by":t.unref(m).groupBy,"item-selectable":t.unref(m).itemSelectable,items:t.unref(m).items,level:t.unref(m).level,levels:t.unref(m).levels,"show-expand":t.unref(m).showExpand,"show-select":t.unref(m).showSelect,"slot-props":{level:A.level,...U},"onClick:row":G[1]||(G[1]=Y=>{l("click:row",Y)}),"onClick:row:checkbox":G[2]||(G[2]=Y=>{l("click:row:checkbox",Y)}),"onUpdate:expanded":G[3]||(G[3]=Y=>L(Y))},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["density","expand-on-click","group-by","item-selectable","items","level","levels","show-expand","show-select","slot-props"]))]),"expanded-row":t.withCtx(({columns:U,item:Y,internalItem:Q})=>{var te,re,be,Ge,mt,gt,et,Jl,Zl,Ql,eo;return[t.createElementVNode("tr",{class:t.normalizeClass($((te=Y[A.itemChildrenKey])==null?void 0:te.loading)?"":"d-none")},[t.createElementVNode("td",{class:"px-0 ma-0",colspan:U.length,style:{"vertical-align":"top"}},[(t.openBlock(),t.createBlock(ee,{key:Q.key,"column-widths":t.unref(m).columnWidths,defaultColors:t.unref(r).defaultColors,density:t.unref(F),drilldown:t.unref(m),"footer-background-color":t.unref(v),"footer-color":t.unref(f),"header-background-color":t.unref(p),"header-color":t.unref(d),headers:(re=Y[A.itemChildrenKey])==null?void 0:re.headers,"is-drilldown":!0,item:Y,items:(be=Y[A.itemChildrenKey])==null?void 0:be.items,"items-length":(Ge=Y[A.itemChildrenKey])==null?void 0:Ge.itemsLength,"items-per-page":(mt=Y[A.itemChildrenKey])==null?void 0:mt.itemsPerPage,level:A.level+1,levels:t.unref(m).levels,loaderProps:(gt=Y[A.itemChildrenKey])==null?void 0:gt.loaderProps,loaderType:(et=Y[A.itemChildrenKey])==null?void 0:et.loaderType,loading:(Jl=Y[A.itemChildrenKey])==null?void 0:Jl.loading,loadingText:A.loadingText,"match-column-widths":t.unref(m).matchColumnWidths,"multi-sort":(Zl=Y[A.itemChildrenKey])==null?void 0:Zl.multiSort,"no-data-text":t.unref(m).noDataText,server:(Ql=Y[A.itemChildrenKey])==null?void 0:Ql.server,"show-footer-row":(eo=Y[A.itemChildrenKey])==null?void 0:eo.showFooterRow,"sort-by":t.unref(m).sortBy,"table-type":t.unref(B),"onUpdate:drilldown":G[4]||(G[4]=ht=>L(ht)),"onUpdate:modelValue":j},t.createSlots({default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(t.unref(k)),ht=>t.renderSlot(A.$slots,ht)),256))]),_:2},[t.renderList(t.unref(k),(ht,to)=>({name:to,fn:t.withCtx(fr=>[t.renderSlot(A.$slots,to,t.normalizeProps(t.guardReactiveProps({...fr})))])}))]),1032,["column-widths","defaultColors","density","drilldown","footer-background-color","footer-color","header-background-color","header-color","headers","item","items","items-length","items-per-page","level","levels","loaderProps","loaderType","loading","loadingText","match-column-widths","multi-sort","no-data-text","server","show-footer-row","sort-by","table-type"]))],8,uu)],2)]}),"footer.prepend":t.withCtx(()=>[t.unref(k)["footer.prepend"]?t.renderSlot(A.$slots,"footer.prepend",{key:0}):t.createCommentVNode("",!0)]),_:2},[t.unref(k).loader?{name:"loader",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"loader")]),key:"0"}:void 0,t.unref(k).loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"loading")]),key:"1"}:void 0,t.unref(k).thead?{name:"thead",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"thead",t.normalizeProps(t.guardReactiveProps({...U,columnWidths:t.unref(m).columnWidths,items:t.unref(m).items,loaderSettings:{colspan:U.columns.length,loaderType:t.unref(b),loading:t.unref(m).loading,loadingText:A.loadingText},matchColumnWidths:t.unref(m).matchColumnWidths,selectStrategy:t.unref(m).selectStrategy,sortBy:t.unref(m).sortBy})))]),key:"2"}:void 0,t.unref(k).body?{name:"body",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"body",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"3"}:void 0,t.unref(k)["group-header"]?{name:"group-header",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"group-header",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"4"}:void 0,t.unref(k).tbody?{name:"tbody",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"tbody",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"5"}:void 0,t.unref(k)["no-data"]?{name:"no-data",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"no-data")]),key:"6"}:void 0,t.unref(k).tfoot||A.showFooterRow?{name:"tfoot",fn:t.withCtx(U=>[t.unref(k).tfoot?t.renderSlot(A.$slots,"tfoot",t.normalizeProps(t.mergeProps({key:0},{...U}))):(t.openBlock(),t.createBlock(t.unref(nu),{key:A.level,colorPercentageChange:t.unref(i),colorPercentageDirection:t.unref(s),colors:t.unref(m).colors,density:t.unref(F),footerBackgroundColor:t.unref(v),footerColor:t.unref(f),footers:t.unref(m).footers||[],items:t.unref(m).items,level:t.unref(m).level,"select-strategy":t.unref(m).selectStrategy,"show-select":t.unref(m).showSelect,"slot-props":{...U},"table-model-value":t.unref(m).modelValue},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["colorPercentageChange","colorPercentageDirection","colors","density","footerBackgroundColor","footerColor","footers","items","level","select-strategy","show-select","slot-props","table-model-value"]))]),key:"7"}:void 0,t.unref(k).bottom?{name:"bottom",fn:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Ai),{key:A.level,"slot-props":U},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["slot-props"]))]),key:"8"}:void 0]),1040,["modelValue","class","data-vdt-id","density","expand-on-click","expanded","fixed-header","group-by","headers","height","hide-no-data","hover","item-selectable","item-value","items","items-length","items-per-page","items-per-page-options","loading","multi-sort","must-sort","no-data-text","page","return-object","search","select-strategy","show-expand","sort-by","style"])):t.createCommentVNode("",!0)}}}),Pl=Symbol();exports.VDrilldownTable=vl,exports.createVDrilldownTable=function(e={}){return{install:n=>{n.provide(Pl,e),n.component("VDrilldownTable",vl)}}},exports.default=vl,exports.globalOptions=Pl; -(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".v-drilldown-table--loader-tr[data-v-b954d026]{height:0;position:relative;top:0;width:100%;z-index:100}.v-drilldown-table--loader-tr-not-linear td[data-v-b954d026]{height:0!important}.v-drilldown-table--loader-tr>td[data-v-b954d026]{border:0!important}.v-drilldown-table--loader-tr-vrow[data-v-b954d026]{background:rgb(var(--v-theme-surface))}.v-drilldown-table--header-select-all-checkbox[data-v-315f818f]{opacity:var(--v-medium-emphasis-opacity)}.v-drilldown-table--header-row-th-sortable[data-v-315f818f]{cursor:pointer}.v-drilldown-table--header-row-th-sortable-sort-icon[data-v-315f818f]{display:inline-flex;opacity:0;transform:rotate(0);transition:all .25s ease-in-out}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f]{transform:rotate(0)}.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f]{transform:rotate(180deg)}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable-default-color:hover div[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-drilldown-table--header-row-th-sortable-default-color div[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));transition:all .25s ease-in-out}.v-drilldown-table--expand-icon[data-v-91892b42]{cursor:pointer}.v-drilldown-table--footer-row th{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}:root{--vdt-border: thin solid rgba(var(--v-border-color), var(--v-border-opacity))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr:hover td{background:rgba(var(--v-border-color),var(--v-hover-opacity))}.v-drilldown-table--expand-icon{transform:rotate(0);transition:all .3s ease-in-out}.v-drilldown-table--expand-icon.rotate-180{transform:rotate(180deg)}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr:hover td{background:rgba(var(--v-border-color),var(--v-hover-opacity))}.v-drilldown-table--separator-horizontal thead tr th{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tbody>tr:last-child>th,.v-drilldown-table--separator-horizontal tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tfoot tr>th,.v-drilldown-table--separator-horizontal tfoot tr>td{border-bottom:var(--vdt-border);border-top:0!important}.v-drilldown-table--separator-vertical thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-vertical tbody>tr>td{border-bottom:0!important}.v-drilldown-table--separator-vertical tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-vertical tfoot tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-cell thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-cell tfoot>tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-cell tfoot>tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table tbody{height:2px;min-height:2px;position:relative}.v-drilldown-table .v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{box-shadow:none}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>th{box-shadow:none!important}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>td{background:unset}.v-drilldown-table .v-data-table-footer{border-bottom:var(--vdt-border);padding-bottom:4px;padding-top:4px}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),qt=require("vuetify"),gr=Symbol("data");function D(e,o){return l=>Object.keys(e).reduce((n,a)=>{const r=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return n[a]=l&&a in l?{...r,default:l[a]}:r,o&&!n[a].source&&(n[a].source=o),n},{})}const ne=D({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),fe=typeof window<"u",Nl=fe&&"IntersectionObserver"in window;function rn(e,o,l){const n=o.length-1;if(n<0)return e===void 0?l:e;for(let a=0;aEe(e[n],o[n]))}function rt(e,o,l){return e!=null&&o&&typeof o=="string"?e[o]!==void 0?e[o]:rn(e,(o=(o=o.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),l):l}function me(e,o,l){if(o===!0)return e===void 0?l:e;if(o==null||typeof o=="boolean")return l;if(e!==Object(e)){if(typeof o!="function")return l;const a=o(e,l);return a===void 0?l:a}if(typeof o=="string")return rt(e,o,l);if(Array.isArray(o))return rn(e,o,l);if(typeof o!="function")return l;const n=o(e,l);return n===void 0?l:n}function bt(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(l,n)=>o+n)}function Z(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return e==null||e===""?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${o}`:void 0}function fl(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Nt(e){if(e&&"$el"in e){const o=e.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return e}const lo=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),oo=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function ll(e,o){return o.every(l=>e.hasOwnProperty(l))}function sn(e,o){const l={},n=new Set(Object.keys(e));for(const a of o)n.has(a)&&(l[a]=e[a]);return l}function no(e,o,l){const n=Object.create(null),a=Object.create(null);for(const r in e)o.some(i=>i instanceof RegExp?i.test(r):i===r)&&!(l!=null&&l.some(i=>i===r))?n[r]=e[r]:a[r]=e[r];return[n,a]}function Me(e,o){const l={...e};return o.forEach(n=>delete l[n]),l}const un=/^on[^a-z]/,Ft=e=>un.test(e),hr=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Fl(e){const[o,l]=no(e,[un]),n=Me(o,hr),[a,r]=no(l,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(r,n),[a,r]}function ve(e){return e==null?[]:Array.isArray(e)?e:[e]}function _e(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(l,e))}function ao(e,o){return e+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-e.length))}function Ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const n={};for(const a in e)n[a]=e[a];for(const a in o){const r=e[a],i=o[a];fl(r)&&fl(i)?n[a]=Ue(r,i,l):Array.isArray(r)&&Array.isArray(i)&&l?n[a]=l(r,i):n[a]=i}return n}function cn(e){return e.map(o=>o.type===t.Fragment?cn(o.children):o).flat()}function Re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Re.cache.has(e))return Re.cache.get(e);const o=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Re.cache.set(e,o),o}function Vt(e,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(l=>Vt(e,l)).flat(1);if(Array.isArray(o.children))return o.children.map(l=>Vt(e,l)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(e))return[o.component];if(o.component.subTree)return Vt(e,o.component.subTree).flat(1)}return[]}function _l(e){const o=t.reactive({}),l=t.computed(e);return t.watchEffect(()=>{for(const n in l.value)o[n]=l.value[n]},{flush:"sync"}),t.toRefs(o)}function _t(e,o){return e.includes(o)}function ro(e){return e[2].toLowerCase()+e.slice(3)}Re.cache=new Map;const ye=()=>[Function,Array];function so(e,o){return!!(e[o="on"+t.capitalize(o)]||e[`${o}Once`]||e[`${o}Capture`]||e[`${o}OnceCapture`]||e[`${o}CaptureOnce`])}function ml(e){let o=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const l=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(n=>`${n}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(l)]}function dn(e,o,l){let n,a=e.indexOf(document.activeElement);const r=o==="next"?1:-1;do a+=r,n=e[a];while((!n||n.offsetParent==null||!((l==null?void 0:l(n))??1))&&a=0);return n}function At(e,o){var n,a,r,i;const l=ml(e);if(o)if(o==="first")(n=l[0])==null||n.focus();else if(o==="last")(a=l.at(-1))==null||a.focus();else if(typeof o=="number")(r=l[o])==null||r.focus();else{const s=dn(l,o);s?s.focus():At(e,o==="next"?"first":"last")}else e!==document.activeElement&&e.contains(document.activeElement)||((i=l[0])==null||i.focus())}function wt(e){return e==null||typeof e=="string"&&e.trim()===""}function Et(e,o){if(!(fe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!e&&e.matches(o)}catch{return null}}function pn(e){return e.some(o=>!t.isVNode(o)||o.type!==t.Comment&&(o.type!==t.Fragment||pn(o.children)))?e:null}const vn=["top","bottom"],yr=["start","end","left","right"];function gl(e,o){let[l,n]=e.split(" ");return n||(n=_t(vn,l)?"start":_t(yr,l)?"top":"center"),{side:io(l,o),align:io(n,o)}}function io(e,o){return e==="start"?o?"right":"left":e==="end"?o?"left":"right":e}function ol(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function nl(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function uo(e){return{side:e.align,align:e.side}}function co(e){return _t(vn,e.side)?"y":"x"}class Le{constructor(o){let{x:l,y:n,width:a,height:r}=o;this.x=l,this.y=n,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function po(e,o){return{x:{before:Math.max(0,o.left-e.left),after:Math.max(0,e.right-o.right)},y:{before:Math.max(0,o.top-e.top),after:Math.max(0,e.bottom-o.bottom)}}}function fn(e){return Array.isArray(e)?new Le({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Al(e){const o=e.getBoundingClientRect(),l=getComputedStyle(e),n=l.transform;if(n){let a,r,i,s,u;if(n.startsWith("matrix3d("))a=n.slice(9,-1).split(/, /),r=+a[0],i=+a[5],s=+a[12],u=+a[13];else{if(!n.startsWith("matrix("))return new Le(o);a=n.slice(7,-1).split(/, /),r=+a[0],i=+a[3],s=+a[4],u=+a[5]}const c=l.transformOrigin,v=o.x-s-(1-r)*parseFloat(c),f=o.y-u-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),p=r?o.width/r:e.offsetWidth+1,d=i?o.height/i:e.offsetHeight+1;return new Le({x:v,y:f,width:p,height:d})}return new Le(o)}function qe(e,o,l){if(e.animate===void 0)return{finished:Promise.resolve()};let n;try{n=e.animate(o,l)}catch{return{finished:Promise.resolve()}}return n.finished===void 0&&(n.finished=new Promise(a=>{n.onfinish=()=>{a(n)}})),n}const St=new WeakMap,He=2.4,vo=.2126729,fo=.7151522,mo=.072175,br=.55,wr=.58,Sr=.57,kr=.62,kt=.03,go=1.45,xr=5e-4,Cr=1.25,Vr=1.25,ho=.078,yo=12.82051282051282,xt=.06,bo=.001;function wo(e,o){const l=(e.r/255)**He,n=(e.g/255)**He,a=(e.b/255)**He,r=(o.r/255)**He,i=(o.g/255)**He,s=(o.b/255)**He;let u,c=l*vo+n*fo+a*mo,v=r*vo+i*fo+s*mo;if(c<=kt&&(c+=(kt-c)**go),v<=kt&&(v+=(kt-v)**go),Math.abs(v-c)c){const f=(v**br-c**wr)*Cr;u=f-bo?0:f>-ho?f-f*yo*xt:f+xt}return 100*u}function nt(e){t.warn(`Vuetify: ${e}`)}function mn(e){t.warn(`Vuetify error: ${e}`)}function al(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const So=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Br={rgb:(e,o,l,n)=>({r:e,g:o,b:l,a:n}),rgba:(e,o,l,n)=>({r:e,g:o,b:l,a:n}),hsl:(e,o,l,n)=>ko({h:e,s:o,l,a:n}),hsla:(e,o,l,n)=>ko({h:e,s:o,l,a:n}),hsv:(e,o,l,n)=>st({h:e,s:o,v:l,a:n}),hsva:(e,o,l,n)=>st({h:e,s:o,v:l,a:n})};function tt(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&nt(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e};if(typeof e=="string"&&So.test(e)){const{groups:o}=e.match(So),{fn:l,values:n}=o,a=n.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(l)?parseFloat(r)/100:parseFloat(r));return Br[l](...a)}if(typeof e=="string"){let o=e.startsWith("#")?e.slice(1):e;[3,4].includes(o.length)?o=o.split("").map(n=>n+n).join(""):[6,8].includes(o.length)||nt(`'${e}' is not a valid hex(a) color`);const l=parseInt(o,16);return(isNaN(l)||l<0||l>4294967295)&&nt(`'${e}' is not a valid hex(a) color`),function(n){n=function(u){return u.startsWith("#")&&(u=u.slice(1)),u=u.replace(/([^0-9a-f])/gi,"F"),(u.length===3||u.length===4)&&(u=u.split("").map(c=>c+c).join("")),u.length!==6&&(u=ao(ao(u,6),8,"F")),u}(n);let[a,r,i,s]=function(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const v=[];let f=0;for(;fparseInt(u,16));return s=s===void 0?s:s/255,{r:a,g:r,b:i,a:s}}(o)}if(typeof e=="object"){if(ll(e,["r","g","b"]))return e;if(ll(e,["h","s","l"]))return st(gn(e));if(ll(e,["h","s","v"]))return st(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function st(e){const{h:o,s:l,v:n,a}=e,r=s=>{const u=(s+o/60)%6;return n-n*l*Math.max(Math.min(u,4-u,1),0)},i=[r(5),r(3),r(1)].map(s=>Math.round(255*s));return{r:i[0],g:i[1],b:i[2],a}}function ko(e){return st(gn(e))}function gn(e){const{h:o,s:l,l:n,a}=e,r=n+l*Math.min(n,1-n);return{h:o,s:r===0?0:2-2*n/r,v:r,a}}const $t=Symbol.for("vuetify:defaults");function El(){const e=t.inject($t);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Ce(e,o){const l=El(),n=t.ref(e),a=t.computed(()=>{if(t.unref(o==null?void 0:o.disabled))return l.value;const r=t.unref(o==null?void 0:o.scoped),i=t.unref(o==null?void 0:o.reset),s=t.unref(o==null?void 0:o.root);if(n.value==null&&!(r||i||s))return l.value;let u=Ue(n.value,{prev:l.value});if(r)return u;if(i||s){const c=Number(i||1/0);for(let v=0;v<=c&&u&&"prev"in u;v++)u=u.prev;return u&&typeof s=="string"&&s in u&&(u=Ue(Ue(u,{prev:u}),u[s])),u}return u.prev?Ue(u.prev,u):u});return t.provide($t,a),a}function Pr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:El();const n=ie("useDefaults");if(o=o??n.type.name??n.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=t.computed(()=>{var s;return(s=l.value)==null?void 0:s[e._as??o]}),r=new Proxy(e,{get(s,u){var v,f,p,d;const c=Reflect.get(s,u);return u==="class"||u==="style"?[(v=a.value)==null?void 0:v[u],c].filter(h=>h!=null):typeof u!="string"||function(h,g){var y,b;return((y=h.props)==null?void 0:y[g])!==void 0||((b=h.props)==null?void 0:b[Re(g)])!==void 0}(n.vnode,u)?c:((f=a.value)==null?void 0:f[u])??((d=(p=l.value)==null?void 0:p.global)==null?void 0:d[u])??c}}),i=t.shallowRef();return t.watchEffect(()=>{if(a.value){const s=Object.entries(a.value).filter(u=>{let[c]=u;return c.startsWith(c[0].toUpperCase())});i.value=s.length?Object.fromEntries(s):void 0}else i.value=void 0}),{props:r,provideSubDefaults:function(){const s=function(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ie("injectSelf");const{provides:v}=c;if(v&&u in v)return v[u]}($t,n);t.provide($t,t.computed(()=>i.value?Ue((s==null?void 0:s.value)??{},i.value):s==null?void 0:s.value))}}}function it(e){if(e._setup=e._setup??e.setup,!e.name)return nt("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=D(e.props??{},e.name)();const o=Object.keys(e.props).filter(l=>l!=="class"&&l!=="style");e.filterProps=function(l){return sn(l,o)},e.props._as=String,e.setup=function(l,n){const a=El();if(!a.value)return e._setup(l,n);const{props:r,provideSubDefaults:i}=Pr(l,l._as??e.name,a),s=e._setup(r,n);return i(),s}}return e}function J(){let e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(e?it:t.defineComponent)(o)}function hn(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",l=arguments.length>2?arguments[2]:void 0;return J()({name:l??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...ne()},setup(n,a){let{slots:r}=a;return()=>{var i;return t.h(n.tag,{class:[e,n.class],style:n.style},(i=r.default)==null?void 0:i.call(r))}}})}function yn(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const o=e.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const It="cubic-bezier(0.4, 0, 0.2, 1)";function xo(e,o,l){return Object.keys(e).filter(n=>Ft(n)&&n.endsWith(o)).reduce((n,a)=>(n[a.slice(0,-o.length)]=r=>e[a](r,l(r)),n),{})}function ie(e,o){const l=t.getCurrentInstance();if(!l)throw new Error(`[Vuetify] ${e} ${o||"must be called from inside a setup function"}`);return l}function ke(){const e=ie(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Re((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let bn=0,Bt=new WeakMap;function Se(){const e=ie("getUid");if(Bt.has(e))return Bt.get(e);{const o=bn++;return Bt.set(e,o),o}}function wn(e){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;e;){if(o?Nr(e):$l(e))return e;e=e.parentElement}return document.scrollingElement}function Dt(e,o){const l=[];if(o&&e&&!o.contains(e))return l;for(;e&&($l(e)&&l.push(e),e!==o);)e=e.parentElement;return l}function $l(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(e);return o.overflowY==="scroll"||o.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function Nr(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(e);return["scroll","auto"].includes(o.overflowY)}function le(e){ie("useRender").render=e}function Kt(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const l=t.ref(),n=t.ref();if(fe){const a=new ResizeObserver(r=>{e==null||e(r,a),r.length&&(n.value=o==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});t.onBeforeUnmount(()=>{a.disconnect()}),t.watch(l,(r,i)=>{i&&(a.unobserve(Nt(i)),n.value=void 0),r&&a.observe(Nt(r))},{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(n)}}function Oe(e,o){let l;function n(){l=t.effectScope(),l.run(()=>o.length?o(()=>{l==null||l.stop(),n()}):o())}t.watch(e,a=>{a&&!l?n():a||(l==null||l.stop(),l=void 0)},{immediate:!0}),t.onScopeDispose(()=>{l==null||l.stop()})}function se(e,o,l){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v=>v,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:v=>v;const r=ie("useProxiedModel"),i=t.ref(e[o]!==void 0?e[o]:l),s=Re(o),u=s!==o?t.computed(()=>{var v,f,p,d;return e[o],!(!((v=r.vnode.props)!=null&&v.hasOwnProperty(o))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(s))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((d=r.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${s}`)))}):t.computed(()=>{var v,f;return e[o],!(!((v=r.vnode.props)!=null&&v.hasOwnProperty(o))||!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${o}`)))});Oe(()=>!u.value,()=>{t.watch(()=>e[o],v=>{i.value=v})});const c=t.computed({get(){const v=e[o];return n(u.value?v:i.value)},set(v){const f=a(v),p=t.toRaw(u.value?e[o]:i.value);p!==f&&n(p)!==v&&(i.value=f,r==null||r.emit(`update:${o}`,f))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[o]:i.value}),c}Se.reset=()=>{bn=0,Bt=new WeakMap};const Sn=Symbol.for("vuetify:locale");function $e(){const e=t.inject(Sn);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function Xe(){const e=t.inject(Sn);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Co=Symbol.for("vuetify:theme"),ue=D({theme:String},"theme");function de(e){ie("provideTheme");const o=t.inject(Co,null);if(!o)throw new Error("Could not find Vuetify theme injection");const l=t.computed(()=>e.theme??o.name.value),n=t.computed(()=>o.themes.value[l.value]),a=t.computed(()=>o.isDisabled?void 0:`v-theme--${l.value}`),r={...o,name:l,current:n,themeClasses:a};return t.provide(Co,r),r}const pe=D({tag:{type:String,default:"div"}},"tag"),Fr=D({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ge(e,o,l){return J()({name:e,props:Fr({mode:l,origin:o}),setup(n,a){let{slots:r}=a;const i={onBeforeEnter(s){n.origin&&(s.style.transformOrigin=n.origin)},onLeave(s){if(n.leaveAbsolute){const{offsetTop:u,offsetLeft:c,offsetWidth:v,offsetHeight:f}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${u}px`,s.style.left=`${c}px`,s.style.width=`${v}px`,s.style.height=`${f}px`}n.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(n.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:u,top:c,left:v,width:f,height:p}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=u||"",s.style.top=c||"",s.style.left=v||"",s.style.width=f||"",s.style.height=p||""}}};return()=>{const s=n.group?t.TransitionGroup:t.Transition;return t.h(s,{name:n.disabled?"":e,css:!n.disabled,...n.group?void 0:{mode:n.mode},...n.disabled?{}:i},r.default)}}})}function kn(e,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return J()({name:e,props:{mode:{type:String,default:l},disabled:Boolean},setup(n,a){let{slots:r}=a;return()=>t.h(t.Transition,{name:n.disabled?"":e,css:!n.disabled,...n.disabled?{}:o},r.default)}})}function xn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",l=t.camelize(`offset-${o}`);return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[o]:r.style[o]}},onEnter(r){const i=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const s=`${r[l]}px`;r.style[o]="0",r.offsetHeight,r.style.transition=i.transition,e&&r._parent&&r._parent.classList.add(e),requestAnimationFrame(()=>{r.style[o]=s})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[o]:r.style[o]},r.style.overflow="hidden",r.style[o]=`${r[l]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[o]="0")},onAfterLeave:n,onLeaveCancelled:n};function n(r){e&&r._parent&&r._parent.classList.remove(e),a(r)}function a(r){const i=r._initialStyle[o];r.style.overflow=r._initialStyle.overflow,i!=null&&(r.style[o]=i),delete r._initialStyle}}const _r=D({target:[Object,Array]},"v-dialog-transition"),Cn=J()({name:"VDialogTransition",props:_r(),setup(e,o){let{slots:l}=o;const n={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),a.style.visibility="";const{x:i,y:s,sx:u,sy:c,speed:v}=Bo(e.target,a),f=qe(a,[{transform:`translate(${i}px, ${s}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*v,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Vo(a))==null||p.forEach(d=>{qe(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*v,easing:It})}),f.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var f;await new Promise(p=>requestAnimationFrame(p));const{x:i,y:s,sx:u,sy:c,speed:v}=Bo(e.target,a);qe(a,[{},{transform:`translate(${i}px, ${s}px) scale(${u}, ${c})`,opacity:0}],{duration:125*v,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(f=Vo(a))==null||f.forEach(p=>{qe(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*v,easing:It})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?t.createVNode(t.Transition,t.mergeProps({name:"dialog-transition"},n,{css:!1}),l):t.createVNode(t.Transition,{name:"dialog-transition"},l)}});function Vo(e){var l;const o=(l=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:l.children;return o&&[...o]}function Bo(e,o){const l=fn(e),n=Al(o),[a,r]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[i,s]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=l.left+l.width/2;i==="left"||s==="left"?u-=l.width/2:i!=="right"&&s!=="right"||(u+=l.width/2);let c=l.top+l.height/2;i==="top"||s==="top"?c-=l.height/2:i!=="bottom"&&s!=="bottom"||(c+=l.height/2);const v=l.width/n.width,f=l.height/n.height,p=Math.max(1,v,f),d=v/p||0,h=f/p||0,g=n.width*n.height/(window.innerWidth*window.innerHeight),y=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:u-(a+n.left),y:c-(r+n.top),sx:d,sy:h,speed:y}}ge("fab-transition","center center","out-in"),ge("dialog-bottom-transition"),ge("dialog-top-transition"),ge("fade-transition"),ge("scale-transition"),ge("scroll-x-transition"),ge("scroll-x-reverse-transition"),ge("scroll-y-transition"),ge("scroll-y-reverse-transition"),ge("slide-x-transition"),ge("slide-x-reverse-transition");const Vn=ge("slide-y-transition");ge("slide-y-reverse-transition");const Ar=kn("expand-transition",xn()),Bn=kn("expand-x-transition",xn("",!0)),Er=D({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),we=J(!1)({name:"VDefaultsProvider",props:Er(),setup(e,o){let{slots:l}=o;const{defaults:n,disabled:a,reset:r,root:i,scoped:s}=t.toRefs(e);return Ce(n,{reset:r,root:i,scoped:s,disabled:a}),()=>{var u;return(u=l.default)==null?void 0:u.call(l)}}}),je=D({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ze(e){return{dimensionStyles:t.computed(()=>({height:Z(e.height),maxHeight:Z(e.maxHeight),maxWidth:Z(e.maxWidth),minHeight:Z(e.minHeight),minWidth:Z(e.minWidth),width:Z(e.width)}))}}const Pn=D({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ne(),...je()},"VResponsive"),Po=J()({name:"VResponsive",props:Pn(),setup(e,o){let{slots:l}=o;const{aspectStyles:n}=function(r){return{aspectStyles:t.computed(()=>{const i=Number(r.aspectRatio);return i?{paddingBottom:String(1/i*100)+"%"}:void 0})}}(e),{dimensionStyles:a}=ze(e);return le(()=>{var r;return t.createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[a.value,e.style]},[t.createVNode("div",{class:"v-responsive__sizer",style:n.value},null),(r=l.additional)==null?void 0:r.call(l),l.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[l.default()])])}),{}}}),vt=D({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Ne=(e,o)=>{let{slots:l}=o;const{transition:n,disabled:a,...r}=e,{component:i=t.Transition,...s}=typeof n=="object"?n:{};return t.h(i,t.mergeProps(typeof n=="string"?{name:a?"":n}:s,r,{disabled:a}),l)};function No(e,o){var n;const l=(n=e._observe)==null?void 0:n[o.instance.$.uid];l&&(l.observer.unobserve(e),delete e._observe[o.instance.$.uid])}const Nn={mounted:function(e,o){if(!Nl)return;const l=o.modifiers||{},n=o.value,{handler:a,options:r}=typeof n=="object"?n:{handler:n,options:{}},i=new IntersectionObserver(function(){var f;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[o.instance.$.uid];if(!c)return;const v=s.some(p=>p.isIntersecting);!a||l.quiet&&!c.init||l.once&&!v&&!c.init||a(v,s,u),v&&l.once?No(e,o):c.init=!0},r);e._observe=Object(e._observe),e._observe[o.instance.$.uid]={init:!1,observer:i},i.observe(e)},unmounted:No},$r=D({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Pn(),...ne(),...vt()},"VImg"),Ir=J()({name:"VImg",directives:{intersect:Nn},props:$r(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,o){let{emit:l,slots:n}=o;const a=ie("VImg"),r=t.shallowRef(""),i=t.ref(),s=t.shallowRef(e.eager?"loading":"idle"),u=t.shallowRef(),c=t.shallowRef(),v=t.computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),f=t.computed(()=>v.value.aspect||u.value/c.value||0);function p(S){if((!e.eager||!S)&&(!Nl||S||e.eager)){if(s.value="loading",v.value.lazySrc){const w=new Image;w.src=v.value.lazySrc,b(w,null)}v.value.src&&t.nextTick(()=>{var w;l("loadstart",((w=i.value)==null?void 0:w.currentSrc)||v.value.src),setTimeout(()=>{var x;if(!a.isUnmounted)if((x=i.value)!=null&&x.complete){if(i.value.naturalWidth||h(),s.value==="error")return;f.value||b(i.value,null),s.value==="loading"&&d()}else f.value||b(i.value),g()})})}}function d(){var S;a.isUnmounted||(g(),b(i.value),s.value="loaded",l("load",((S=i.value)==null?void 0:S.currentSrc)||v.value.src))}function h(){var S;a.isUnmounted||(s.value="error",l("error",((S=i.value)==null?void 0:S.currentSrc)||v.value.src))}function g(){const S=i.value;S&&(r.value=S.currentSrc||S.src)}t.watch(()=>e.src,()=>{p(s.value!=="idle")}),t.watch(f,(S,w)=>{!S&&w&&i.value&&b(i.value)}),t.onBeforeMount(()=>p());let y=-1;function b(S){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const x=()=>{if(clearTimeout(y),a.isUnmounted)return;const{naturalHeight:N,naturalWidth:$}=S;N||$?(u.value=$,c.value=N):S.complete||s.value!=="loading"||w==null?(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,c.value=1):y=window.setTimeout(x,w)};x()}t.onBeforeUnmount(()=>{clearTimeout(y)});const V=t.computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),P=()=>{var x;if(!v.value.src||s.value==="idle")return null;const S=t.createVNode("img",{class:["v-img__img",V.value],style:{objectPosition:e.position},src:v.value.src,srcset:v.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:i,onLoad:d,onError:h},null),w=(x=n.sources)==null?void 0:x.call(n);return t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(w?t.createVNode("picture",{class:"v-img__picture"},[w,S]):S,[[t.vShow,s.value==="loaded"]])]})},k=()=>t.createVNode(Ne,{transition:e.transition},{default:()=>[v.value.lazySrc&&s.value!=="loaded"&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",V.value],style:{objectPosition:e.position},src:v.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),C=()=>n.placeholder?t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[(s.value==="loading"||s.value==="error"&&!n.error)&&t.createVNode("div",{class:"v-img__placeholder"},[n.placeholder()])]}):null,B=()=>n.error?t.createVNode(Ne,{transition:e.transition,appear:!0},{default:()=>[s.value==="error"&&t.createVNode("div",{class:"v-img__error"},[n.error()])]}):null,F=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,m=t.shallowRef(!1);{const S=t.watch(f,w=>{w&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{m.value=!0})}),S())})}return le(()=>{const S=Po.filterProps(e);return t.withDirectives(t.createVNode(Po,t.mergeProps({class:["v-img",{"v-img--booting":!m.value},e.class],style:[{width:Z(e.width==="auto"?u.value:e.width)},e.style]},S,{aspectRatio:f.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>t.createVNode(t.Fragment,null,[t.createVNode(P,null,null),t.createVNode(k,null,null),t.createVNode(F,null,null),t.createVNode(C,null,null),t.createVNode(B,null,null)]),default:n.default}),[[t.resolveDirective("intersect"),{handler:p,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:i,state:s,naturalWidth:u,naturalHeight:c}}}),Je=D({border:[Boolean,Number,String]},"border");function ft(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{borderClasses:t.computed(()=>{const l=t.isRef(e)?e.value:e.border,n=[];if(l===!0||l==="")n.push(`${o}--border`);else if(typeof l=="string"||l===0)for(const a of String(l).split(" "))n.push(`border-${a}`);return n})}}function Il(e){return _l(()=>{const o=[],l={};if(e.value.background)if(al(e.value.background)){if(l.backgroundColor=e.value.background,!e.value.text&&al(n=e.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(n)){const a=tt(e.value.background);if(a.a==null||a.a===1){const r=function(i){const s=Math.abs(wo(tt(0),tt(i)));return Math.abs(wo(tt(16777215),tt(i)))>Math.min(s,50)?"#fff":"#000"}(a);l.color=r,l.caretColor=r}}}else o.push(`bg-${e.value.background}`);var n;return e.value.text&&(al(e.value.text)?(l.color=e.value.text,l.caretColor=e.value.text):o.push(`text-${e.value.text}`)),{colorClasses:o,colorStyles:l}})}function Ve(e,o){const l=t.computed(()=>({text:t.isRef(e)?e.value:o?e[o]:null})),{colorClasses:n,colorStyles:a}=Il(l);return{textColorClasses:n,textColorStyles:a}}function Ae(e,o){const l=t.computed(()=>({background:t.isRef(e)?e.value:o?e[o]:null})),{colorClasses:n,colorStyles:a}=Il(l);return{backgroundColorClasses:n,backgroundColorStyles:a}}const We=D({elevation:{type:[Number,String],validator(e){const o=parseInt(e);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function Ze(e){return{elevationClasses:t.computed(()=>{const o=t.isRef(e)?e.value:e.elevation,l=[];return o==null||l.push(`elevation-${o}`),l})}}const Be=D({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ie(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{roundedClasses:t.computed(()=>{const l=t.isRef(e)?e.value:e.rounded,n=[];if(l===!0||l==="")n.push(`${o}--rounded`);else if(typeof l=="string"||l===0)for(const a of String(l).split(" "))n.push(`rounded-${a}`);return n})}}const Dr=[null,"default","comfortable","compact"],xe=D({density:{type:String,default:"default",validator:e=>Dr.includes(e)}},"density");function Pe(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{densityClasses:t.computed(()=>`${o}--density-${e.density}`)}}const Tr=["elevated","flat","tonal","outlined","text","plain"];function Yt(e,o){return t.createVNode(t.Fragment,null,[e&&t.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),t.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const De=D({color:String,variant:{type:String,default:"elevated",validator:e=>Tr.includes(e)}},"variant");function Xt(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=t.computed(()=>{const{variant:r}=t.unref(e);return`${o}--variant-${r}`}),{colorClasses:n,colorStyles:a}=Il(t.computed(()=>{const{variant:r,color:i}=t.unref(e);return{[["elevated","flat"].includes(r)?"background":"text"]:i}}));return{colorClasses:n,colorStyles:a,variantClasses:l}}const Fn=D({divided:Boolean,...Je(),...ne(),...xe(),...We(),...Be(),...pe(),...ue(),...De()},"VBtnGroup"),Fo=J()({name:"VBtnGroup",props:Fn(),setup(e,o){let{slots:l}=o;const{themeClasses:n}=de(e),{densityClasses:a}=Pe(e),{borderClasses:r}=ft(e),{elevationClasses:i}=Ze(e),{roundedClasses:s}=Ie(e);Ce({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),le(()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},n.value,r.value,a.value,i.value,s.value,e.class],style:e.style},l))}}),_n=D({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),An=D({value:null,disabled:Boolean,selectedClass:String},"group-item");function En(e,o){let l=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const n=ie("useGroupItem");if(!n)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Se();t.provide(Symbol.for(`${o.description}:id`),a);const r=t.inject(o,null);if(!r){if(!l)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const i=t.toRef(e,"value"),s=t.computed(()=>!(!r.disabled.value&&!e.disabled));r.register({id:a,value:i,disabled:s},n),t.onBeforeUnmount(()=>{r.unregister(a)});const u=t.computed(()=>r.isSelected(a)),c=t.computed(()=>u.value&&[r.selectedClass.value,e.selectedClass]);return t.watch(u,v=>{n.emit("group:selected",{value:v})}),{id:a,isSelected:u,toggle:()=>r.select(a,!u.value),select:v=>r.select(a,v),selectedClass:c,value:i,disabled:s,group:r}}function $n(e,o){let l=!1;const n=t.reactive([]),a=se(e,"modelValue",[],c=>c==null?[]:_o(n,ve(c)),c=>{const v=function(f,p){const d=[];return p.forEach(h=>{const g=f.findIndex(y=>y.id===h);if(~g){const y=f[g];d.push(y.value!=null?y.value:g)}}),d}(n,c);return e.multiple?v:v[0]}),r=ie("useGroup");function i(){const c=n.find(v=>!v.disabled);c&&e.mandatory==="force"&&!a.value.length&&(a.value=[c.id])}function s(c){if(e.multiple&&nt('This method is not supported when using "multiple" prop'),a.value.length){const v=a.value[0],f=n.findIndex(h=>h.id===v);let p=(f+c)%n.length,d=n[p];for(;d.disabled&&p!==f;)p=(p+c)%n.length,d=n[p];if(d.disabled)return;a.value=[n[p].id]}else{const v=n.find(f=>!f.disabled);v&&(a.value=[v.id])}}t.onMounted(()=>{i()}),t.onBeforeUnmount(()=>{l=!0});const u={register:function(c,v){const f=c,p=Vt(Symbol.for(`${o.description}:id`),r==null?void 0:r.vnode).indexOf(v);p>-1?n.splice(p,0,f):n.push(f)},unregister:function(c){if(l)return;i();const v=n.findIndex(f=>f.id===c);n.splice(v,1)},selected:a,select:function(c,v){const f=n.find(p=>p.id===c);if(!v||!(f!=null&&f.disabled))if(e.multiple){const p=a.value.slice(),d=p.findIndex(g=>g===c),h=~d;if(v=v??!h,h&&e.mandatory&&p.length<=1||!h&&e.max!=null&&p.length+1>e.max)return;d<0&&v?p.push(c):d>=0&&!v&&p.splice(d,1),a.value=p}else{const p=a.value.includes(c);if(e.mandatory&&p)return;a.value=v??!p?[c]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>s(n.length-1),next:()=>s(1),isSelected:c=>a.value.includes(c),selectedClass:t.computed(()=>e.selectedClass),items:t.computed(()=>n),getItemIndex:c=>function(v,f){const p=_o(v,[f]);return p.length?v.findIndex(d=>d.id===p[0]):-1}(n,c)};return t.provide(o,u),u}function _o(e,o){const l=[];return o.forEach(n=>{const a=e.find(i=>Ee(n,i.value)),r=e[n];(a==null?void 0:a.value)!=null?l.push(a.id):r!=null&&l.push(r.id)}),l}const In=Symbol.for("vuetify:v-btn-toggle"),Rr=D({...Fn(),..._n()},"VBtnToggle");J()({name:"VBtnToggle",props:Rr(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:l}=o;const{isSelected:n,next:a,prev:r,select:i,selected:s}=$n(e,In);return le(()=>{const u=Fo.filterProps(e);return t.createVNode(Fo,t.mergeProps({class:["v-btn-toggle",e.class]},u,{style:e.style}),{default:()=>{var c;return[(c=l.default)==null?void 0:c.call(l,{isSelected:n,next:a,prev:r,select:i,selected:s})]}})}),{next:a,prev:r,select:i}}});const ae=[String,Function,Object,Array],Lr=Symbol.for("vuetify:icons"),Tt=D({icon:{type:ae},tag:{type:String,required:!0}},"icon"),Ao=J()({name:"VComponentIcon",props:Tt(),setup(e,o){let{slots:l}=o;return()=>{const n=e.icon;return t.createVNode(e.tag,null,{default:()=>{var a;return[e.icon?t.createVNode(n,null,null):(a=l.default)==null?void 0:a.call(l)]}})}}}),Or=it({name:"VSvgIcon",inheritAttrs:!1,props:Tt(),setup(e,o){let{attrs:l}=o;return()=>t.createVNode(e.tag,t.mergeProps(l,{style:null}),{default:()=>[t.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?t.createVNode("path",{d:n[0],"fill-opacity":n[1]},null):t.createVNode("path",{d:n},null)):t.createVNode("path",{d:e.icon},null)])]})}});it({name:"VLigatureIcon",props:Tt(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),it({name:"VClassIcon",props:Tt(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)});const Mr=["x-small","small","default","large","x-large"],Qe=D({size:{type:[String,Number],default:"default"}},"size");function mt(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return _l(()=>{let l,n;return _t(Mr,e.size)?l=`${o}--size-${e.size}`:e.size&&(n={width:Z(e.size),height:Z(e.size)}),{sizeClasses:l,sizeStyles:n}})}const jr=D({color:String,start:Boolean,end:Boolean,icon:ae,...ne(),...Qe(),...pe({tag:"i"}),...ue()},"VIcon"),ce=J()({name:"VIcon",props:jr(),setup(e,o){let{attrs:l,slots:n}=o;const a=t.ref(),{themeClasses:r}=de(e),{iconData:i}=(v=>{const f=t.inject(Lr);if(!f)throw new Error("Missing Vuetify Icons provide!");return{iconData:t.computed(()=>{var y;const p=t.unref(v);if(!p)return{component:Ao};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(y=f.aliases)==null?void 0:y[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:Or,icon:d};if(typeof d!="string")return{component:Ao,icon:d};const h=Object.keys(f.sets).find(b=>typeof d=="string"&&d.startsWith(`${b}:`)),g=h?d.slice(h.length+1):d;return{component:f.sets[h??f.defaultSet].component,icon:g}})}})(t.computed(()=>a.value||e.icon)),{sizeClasses:s}=mt(e),{textColorClasses:u,textColorStyles:c}=Ve(t.toRef(e,"color"));return le(()=>{var f,p;const v=(f=n.default)==null?void 0:f.call(n);return v&&(a.value=(p=cn(v).filter(d=>d.type===t.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),t.createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",r.value,s.value,u.value,{"v-icon--clickable":!!l.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[s.value?void 0:{fontSize:Z(e.size),height:Z(e.size),width:Z(e.size)},c.value,e.style],role:l.onClick?"button":void 0,"aria-hidden":!l.onClick},{default:()=>[v]})}),{}}});function Dn(e,o){const l=t.ref(),n=t.shallowRef(!1);if(Nl){const a=new IntersectionObserver(r=>{e==null||e(r,a),n.value=!!r.find(i=>i.isIntersecting)},o);t.onBeforeUnmount(()=>{a.disconnect()}),t.watch(l,(r,i)=>{i&&(a.unobserve(i),n.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:l,isIntersecting:n}}const zr=D({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ne(),...Qe(),...pe({tag:"div"}),...ue()},"VProgressCircular"),Tn=J()({name:"VProgressCircular",props:zr(),setup(e,o){let{slots:l}=o;const n=2*Math.PI*20,a=t.ref(),{themeClasses:r}=de(e),{sizeClasses:i,sizeStyles:s}=mt(e),{textColorClasses:u,textColorStyles:c}=Ve(t.toRef(e,"color")),{textColorClasses:v,textColorStyles:f}=Ve(t.toRef(e,"bgColor")),{intersectionRef:p,isIntersecting:d}=Dn(),{resizeRef:h,contentRect:g}=Kt(),y=t.computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),b=t.computed(()=>Number(e.width)),V=t.computed(()=>s.value?Number(e.size):g.value?g.value.width:Math.max(b.value,32)),P=t.computed(()=>20/(1-b.value/V.value)*2),k=t.computed(()=>b.value/V.value*P.value),C=t.computed(()=>Z((100-y.value)/100*n));return t.watchEffect(()=>{p.value=a.value,h.value=a.value}),le(()=>t.createVNode(e.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,i.value,u.value,e.class],style:[s.value,c.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:y.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",v.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":n,"stroke-dashoffset":C.value},null)]),l.default&&t.createVNode("div",{class:"v-progress-circular__content"},[l.default({value:y.value})])]})),{}}}),Eo={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Rn=D({location:String},"location");function Ln(e){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],l=arguments.length>2?arguments[2]:void 0;const{isRtl:n}=Xe();return{locationStyles:t.computed(()=>{if(!e.location)return{};const{side:r,align:i}=gl(e.location.split(" ").length>1?e.location:`${e.location} center`,n.value);function s(c){return l?l(c):0}const u={};return r!=="center"&&(o?u[Eo[r]]=`calc(100% - ${s(r)}px)`:u[r]=0),i!=="center"?o?u[Eo[i]]=`calc(100% - ${s(i)}px)`:u[i]=0:(r==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),u})}}const Wr=D({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...ne(),...Rn({location:"top"}),...Be(),...pe(),...ue()},"VProgressLinear"),On=J()({name:"VProgressLinear",props:Wr(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:l}=o;const n=se(e,"modelValue"),{isRtl:a,rtlClasses:r}=Xe(),{themeClasses:i}=de(e),{locationStyles:s}=Ln(e),{textColorClasses:u,textColorStyles:c}=Ve(e,"color"),{backgroundColorClasses:v,backgroundColorStyles:f}=Ae(t.computed(()=>e.bgColor||e.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ae(e,"color"),{roundedClasses:h}=Ie(e),{intersectionRef:g,isIntersecting:y}=Dn(),b=t.computed(()=>parseInt(e.max,10)),V=t.computed(()=>parseInt(e.height,10)),P=t.computed(()=>parseFloat(e.bufferValue)/b.value*100),k=t.computed(()=>parseFloat(n.value)/b.value*100),C=t.computed(()=>a.value!==e.reverse),B=t.computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),F=t.computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function m(S){if(!g.value)return;const{left:w,right:x,width:N}=g.value.getBoundingClientRect(),$=C.value?N-S.clientX+(x-N):S.clientX-w;n.value=Math.round($/N*b.value)}return le(()=>t.createVNode(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&y.value,"v-progress-linear--reverse":C.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,i.value,r.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Z(V.value):0,"--v-progress-linear-height":Z(V.value),...s.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:k.value,onClick:e.clickable&&m},{default:()=>[e.stream&&t.createVNode("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...c.value,[C.value?"left":"right"]:Z(-V.value),borderTop:`${Z(V.value/2)} dotted`,opacity:F.value,top:`calc(50% - ${Z(V.value/4)})`,width:Z(100-P.value,"%"),"--v-progress-linear-stream-to":Z(V.value*(C.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",v.value],style:[f.value,{opacity:F.value,width:Z(e.stream?P.value:100,"%")}]},null),t.createVNode(t.Transition,{name:B.value},{default:()=>[e.indeterminate?t.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(S=>t.createVNode("div",{key:S,class:["v-progress-linear__indeterminate",S,p.value],style:d.value},null))]):t.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Z(k.value,"%")}]},null)]}),l.default&&t.createVNode("div",{class:"v-progress-linear__content"},[l.default({value:k.value,buffer:P.value})])]})),{}}}),Dl=D({loading:[Boolean,String]},"loader");function Tl(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{loaderClasses:t.computed(()=>({[`${o}--loading`]:e.loading}))}}function Mn(e,o){var n;let{slots:l}=o;return t.createVNode("div",{class:`${e.name}__loader`},[((n=l.default)==null?void 0:n.call(l,{color:e.color,isActive:e.active}))||t.createVNode(On,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Gr=["static","relative","fixed","absolute","sticky"],Hr=D({position:{type:String,validator:e=>Gr.includes(e)}},"position");function Rl(e,o){const l=t.resolveDynamicComponent("RouterLink"),n=t.computed(()=>!(!e.href&&!e.to)),a=t.computed(()=>(n==null?void 0:n.value)||so(o,"click")||so(e,"click"));if(typeof l=="string")return{isLink:n,isClickable:a,href:t.toRef(e,"href")};const r=e.to?l.useLink(e):void 0,i=function(){const s=ie("useRoute");return t.computed(()=>{var u;return(u=s==null?void 0:s.proxy)==null?void 0:u.$route})}();return{isLink:n,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&t.computed(()=>{var s,u,c;return e.exact?i.value?((s=r.isExactActive)==null?void 0:s.value)&&Ee(r.route.value.query,i.value.query):(u=r.isExactActive)==null?void 0:u.value:(c=r.isActive)==null?void 0:c.value}),href:t.computed(()=>e.to?r==null?void 0:r.route.value.href:e.href)}}const Ll=D({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let rl=!1;const hl=Symbol("rippleStop"),Ur=80;function $o(e,o){e.style.transform=o,e.style.webkitTransform=o}function yl(e){return e.constructor.name==="TouchEvent"}function jn(e){return e.constructor.name==="KeyboardEvent"}const Rt={show(e,o){var d;let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=o==null?void 0:o._ripple)!=null&&d.enabled))return;const n=document.createElement("span"),a=document.createElement("span");n.appendChild(a),n.className="v-ripple__container",l.class&&(n.className+=` ${l.class}`);const{radius:r,scale:i,x:s,y:u,centerX:c,centerY:v}=function(h,g){var F;let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,V=0;if(!jn(h)){const m=g.getBoundingClientRect(),S=yl(h)?h.touches[h.touches.length-1]:h;b=S.clientX-m.left,V=S.clientY-m.top}let P=0,k=.3;(F=g._ripple)!=null&&F.circle?(k=.15,P=g.clientWidth/2,P=y.center?P:P+Math.sqrt((b-P)**2+(V-P)**2)/4):P=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const C=(g.clientWidth-2*P)/2+"px",B=(g.clientHeight-2*P)/2+"px";return{radius:P,scale:k,x:y.center?C:b-P+"px",y:y.center?B:V-P+"px",centerX:C,centerY:B}}(e,o,l),f=2*r+"px";a.className="v-ripple__animation",a.style.width=f,a.style.height=f,o.appendChild(n);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),$o(a,`translate(${s}, ${u}) scale3d(${i},${i},${i})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),$o(a,`translate(${c}, ${v}) scale3d(1,1,1)`)},0)},hide(e){var r;if(!((r=e==null?void 0:e._ripple)!=null&&r.enabled))return;const o=e.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const l=o[o.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const n=performance.now()-Number(l.dataset.activated),a=Math.max(250-n,0);setTimeout(()=>{l.classList.remove("v-ripple__animation--in"),l.classList.add("v-ripple__animation--out"),setTimeout(()=>{var i;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((i=l.parentNode)==null?void 0:i.parentNode)===e&&e.removeChild(l.parentNode)},300)},a)}};function zn(e){return e===void 0||!!e}function ut(e){const o={},l=e.currentTarget;if(l!=null&&l._ripple&&!l._ripple.touched&&!e[hl]){if(e[hl]=!0,yl(e))l._ripple.touched=!0,l._ripple.isTouch=!0;else if(l._ripple.isTouch)return;if(o.center=l._ripple.centered||jn(e),l._ripple.class&&(o.class=l._ripple.class),yl(e)){if(l._ripple.showTimerCommit)return;l._ripple.showTimerCommit=()=>{Rt.show(e,l,o)},l._ripple.showTimer=window.setTimeout(()=>{var n;(n=l==null?void 0:l._ripple)!=null&&n.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)},Ur)}else Rt.show(e,l,o)}}function Io(e){e[hl]=!0}function he(e){const o=e.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),e.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{he(e)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),Rt.hide(o)}}function Wn(e){const o=e.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let ct=!1;function Gn(e){ct||e.keyCode!==lo.enter&&e.keyCode!==lo.space||(ct=!0,ut(e))}function Hn(e){ct=!1,he(e)}function Un(e){ct&&(ct=!1,he(e))}function Do(e,o,l){const{value:n,modifiers:a}=o,r=zn(n);if(r||Rt.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=r,e._ripple.centered=a.center,e._ripple.circle=a.circle,fl(n)&&n.class&&(e._ripple.class=n.class),r&&!l){if(a.stop)return e.addEventListener("touchstart",Io,{passive:!0}),void e.addEventListener("mousedown",Io);e.addEventListener("touchstart",ut,{passive:!0}),e.addEventListener("touchend",he,{passive:!0}),e.addEventListener("touchmove",Wn,{passive:!0}),e.addEventListener("touchcancel",he),e.addEventListener("mousedown",ut),e.addEventListener("mouseup",he),e.addEventListener("mouseleave",he),e.addEventListener("keydown",Gn),e.addEventListener("keyup",Hn),e.addEventListener("blur",Un),e.addEventListener("dragstart",he,{passive:!0})}else!r&&l&&qn(e)}function qn(e){e.removeEventListener("mousedown",ut),e.removeEventListener("touchstart",ut),e.removeEventListener("touchend",he),e.removeEventListener("touchmove",Wn),e.removeEventListener("touchcancel",he),e.removeEventListener("mouseup",he),e.removeEventListener("mouseleave",he),e.removeEventListener("keydown",Gn),e.removeEventListener("keyup",Hn),e.removeEventListener("dragstart",he),e.removeEventListener("blur",Un)}const Jt={mounted:function(e,o){Do(e,o,!1)},unmounted:function(e){delete e._ripple,qn(e)},updated:function(e,o){o.value!==o.oldValue&&Do(e,o,zn(o.oldValue))}},qr=D({active:{type:Boolean,default:void 0},symbol:{type:null,default:In},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:ae,appendIcon:ae,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Je(),...ne(),...xe(),...je(),...We(),...An(),...Dl(),...Rn(),...Hr(),...Be(),...Ll(),...Qe(),...pe({tag:"button"}),...ue(),...De({variant:"elevated"})},"VBtn"),Te=J()({name:"VBtn",directives:{Ripple:Jt},props:qr(),emits:{"group:selected":e=>!0},setup(e,o){let{attrs:l,slots:n}=o;const{themeClasses:a}=de(e),{borderClasses:r}=ft(e),{colorClasses:i,colorStyles:s,variantClasses:u}=Xt(e),{densityClasses:c}=Pe(e),{dimensionStyles:v}=ze(e),{elevationClasses:f}=Ze(e),{loaderClasses:p}=Tl(e),{locationStyles:d}=Ln(e),{positionClasses:h}=function(S){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();return{positionClasses:t.computed(()=>S.position?`${w}--${S.position}`:void 0)}}(e),{roundedClasses:g}=Ie(e),{sizeClasses:y,sizeStyles:b}=mt(e),V=En(e,e.symbol,!1),P=Rl(e,l),k=t.computed(()=>{var S;return e.active!==void 0?e.active:P.isLink.value?(S=P.isActive)==null?void 0:S.value:V==null?void 0:V.isSelected.value}),C=t.computed(()=>(V==null?void 0:V.disabled.value)||e.disabled),B=t.computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),F=t.computed(()=>{if(e.value!==void 0&&typeof e.value!="symbol")return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function m(S){var w;C.value||P.isLink.value&&(S.metaKey||S.ctrlKey||S.shiftKey||S.button!==0||l.target==="_blank")||((w=P.navigate)==null||w.call(P,S),V==null||V.toggle())}return function(S,w){t.watch(()=>{var x;return(x=S.isActive)==null?void 0:x.value},x=>{S.isLink.value&&x&&w&&t.nextTick(()=>{w(!0)})},{immediate:!0})}(P,V==null?void 0:V.select),le(()=>{var T,E;const S=P.isLink.value?"a":e.tag,w=!(!e.prependIcon&&!n.prepend),x=!(!e.appendIcon&&!n.append),N=!(!e.icon||e.icon===!0),$=(V==null?void 0:V.isSelected.value)&&(!P.isLink.value||((T=P.isActive)==null?void 0:T.value))||!V||((E=P.isActive)==null?void 0:E.value);return t.withDirectives(t.createVNode(S,{type:S==="a"?void 0:"button",class:["v-btn",V==null?void 0:V.selectedClass.value,{"v-btn--active":k.value,"v-btn--block":e.block,"v-btn--disabled":C.value,"v-btn--elevated":B.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},a.value,r.value,$?i.value:void 0,c.value,f.value,p.value,h.value,g.value,y.value,u.value,e.class],style:[$?s.value:void 0,v.value,d.value,b.value,e.style],disabled:C.value||void 0,href:P.href.value,onClick:m,value:F.value},{default:()=>{var R;return[Yt(!0,"v-btn"),!e.icon&&w&&t.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[n.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},n.prepend):t.createVNode(ce,{key:"prepend-icon",icon:e.prependIcon},null)]),t.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!n.default&&N?t.createVNode(ce,{key:"content-icon",icon:e.icon},null):t.createVNode(we,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var G;return[((G=n.default)==null?void 0:G.call(n))??e.text]}})]),!e.icon&&x&&t.createVNode("span",{key:"append",class:"v-btn__append"},[n.append?t.createVNode(we,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},n.append):t.createVNode(ce,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&t.createVNode("span",{key:"loader",class:"v-btn__loader"},[((R=n.loader)==null?void 0:R.call(n))??t.createVNode(Tn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[t.resolveDirective("ripple"),!C.value&&e.ripple,null]])}),{}}}),Kr=D({start:Boolean,end:Boolean,icon:ae,image:String,text:String,...ne(),...xe(),...Be(),...Qe(),...pe(),...ue(),...De({variant:"flat"})},"VAvatar"),dt=J()({name:"VAvatar",props:Kr(),setup(e,o){let{slots:l}=o;const{themeClasses:n}=de(e),{colorClasses:a,colorStyles:r,variantClasses:i}=Xt(e),{densityClasses:s}=Pe(e),{roundedClasses:u}=Ie(e),{sizeClasses:c,sizeStyles:v}=mt(e);return le(()=>t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},n.value,a.value,s.value,u.value,c.value,i.value,e.class],style:[r.value,v.value,e.style]},{default:()=>{var f;return[e.image?t.createVNode(Ir,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?t.createVNode(ce,{key:"icon",icon:e.icon},null):((f=l.default)==null?void 0:f.call(l))??e.text,Yt(!1,"v-avatar")]}})),{}}}),Yr=D({text:String,clickable:Boolean,...ne(),...ue()},"VLabel"),Kn=J()({name:"VLabel",props:Yr(),setup(e,o){let{slots:l}=o;return le(()=>{var n;return t.createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(n=l.default)==null?void 0:n.call(l)])}),{}}}),Yn=Symbol.for("vuetify:selection-control-group"),Xn=D({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:ae,trueIcon:ae,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Ee},...ne(),...xe(),...ue()},"SelectionControlGroup"),Xr=D({...Xn({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");J()({name:"VSelectionControlGroup",props:Xr(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:l}=o;const n=se(e,"modelValue"),a=Se(),r=t.computed(()=>e.id||`v-selection-control-group-${a}`),i=t.computed(()=>e.name||r.value),s=new Set;return t.provide(Yn,{modelValue:n,forceUpdate:()=>{s.forEach(u=>u())},onForceUpdate:u=>{s.add(u),t.onScopeDispose(()=>{s.delete(u)})}}),Ce({[e.defaultsTarget]:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),density:t.toRef(e,"density"),error:t.toRef(e,"error"),inline:t.toRef(e,"inline"),modelValue:n,multiple:t.computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(n.value)),name:i,falseIcon:t.toRef(e,"falseIcon"),trueIcon:t.toRef(e,"trueIcon"),readonly:t.toRef(e,"readonly"),ripple:t.toRef(e,"ripple"),type:t.toRef(e,"type"),valueComparator:t.toRef(e,"valueComparator")}}),le(()=>{var u;return t.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(u=l.default)==null?void 0:u.call(l)])}),{}}});const Jn=D({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ne(),...Xn()},"VSelectionControl"),To=J()({name:"VSelectionControl",directives:{Ripple:Jt},inheritAttrs:!1,props:Jn(),emits:{"update:modelValue":e=>!0},setup(e,o){let{attrs:l,slots:n}=o;const{group:a,densityClasses:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:v,backgroundColorStyles:f,trueValue:p}=function(C){const B=t.inject(Yn,void 0),{densityClasses:F}=Pe(C),m=se(C,"modelValue"),S=t.computed(()=>C.trueValue!==void 0?C.trueValue:C.value===void 0||C.value),w=t.computed(()=>C.falseValue!==void 0&&C.falseValue),x=t.computed(()=>!!C.multiple||C.multiple==null&&Array.isArray(m.value)),N=t.computed({get(){const _=B?B.modelValue.value:m.value;return x.value?ve(_).some(L=>C.valueComparator(L,S.value)):C.valueComparator(_,S.value)},set(_){if(C.readonly)return;const L=_?S.value:w.value;let O=L;x.value&&(O=_?[...ve(m.value),L]:ve(m.value).filter(H=>!C.valueComparator(H,S.value))),B?B.modelValue.value=O:m.value=O}}),{textColorClasses:$,textColorStyles:T}=Ve(t.computed(()=>{if(!C.error&&!C.disabled)return N.value?C.color:C.baseColor})),{backgroundColorClasses:E,backgroundColorStyles:R}=Ae(t.computed(()=>!N.value||C.error||C.disabled?void 0:C.color)),G=t.computed(()=>N.value?C.trueIcon:C.falseIcon);return{group:B,densityClasses:F,trueValue:S,falseValue:w,model:N,textColorClasses:$,textColorStyles:T,backgroundColorClasses:E,backgroundColorStyles:R,icon:G}}(e),d=Se(),h=t.computed(()=>e.id||`input-${d}`),g=t.shallowRef(!1),y=t.shallowRef(!1),b=t.ref();function V(C){g.value=!0,Et(C.target,":focus-visible")!==!1&&(y.value=!0)}function P(){g.value=!1,y.value=!1}function k(C){e.readonly&&a&&t.nextTick(()=>a.forceUpdate()),s.value=C.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=s.value)}),le(()=>{var S,w;const C=n.label?n.label({label:e.label,props:{for:h.value}}):e.label,[B,F]=Fl(l),m=t.createVNode("input",t.mergeProps({ref:b,checked:s.value,disabled:!(!e.readonly&&!e.disabled),id:h.value,onBlur:P,onFocus:V,onInput:k,"aria-disabled":!(!e.readonly&&!e.disabled),type:e.type,value:p.value,name:e.name,"aria-checked":e.type==="checkbox"?s.value:void 0},F),null);return t.createVNode("div",t.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":e.inline},r.value,e.class]},B,{style:e.style}),[t.createVNode("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[(S=n.default)==null?void 0:S.call(n,{backgroundColorClasses:v,backgroundColorStyles:f}),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]},[((w=n.input)==null?void 0:w.call(n,{model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:v,backgroundColorStyles:f,inputNode:m,icon:i.value,props:{onFocus:V,onBlur:P,id:h.value}}))??t.createVNode(t.Fragment,null,[i.value&&t.createVNode(ce,{key:"icon",icon:i.value},null),m])]),[[t.resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),C&&t.createVNode(Kn,{for:h.value,clickable:!0,onClick:x=>x.stopPropagation()},{default:()=>[C]})])}),{isFocused:g,input:b}}}),Zn=D({indeterminate:Boolean,indeterminateIcon:{type:ae,default:"$checkboxIndeterminate"},...Jn({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Ye=J()({name:"VCheckboxBtn",props:Zn(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,o){let{slots:l}=o;const n=se(e,"indeterminate"),a=se(e,"modelValue");function r(u){n.value&&(n.value=!1)}const i=t.computed(()=>n.value?e.indeterminateIcon:e.falseIcon),s=t.computed(()=>n.value?e.indeterminateIcon:e.trueIcon);return le(()=>{const u=Me(To.filterProps(e),["modelValue"]);return t.createVNode(To,t.mergeProps(u,{modelValue:a.value,"onUpdate:modelValue":[c=>a.value=c,r],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:s.value,"aria-checked":n.value?"mixed":void 0}),l)}),{}}});function Qn(e){const{t:o}=$e();return{InputIcon:function(l){let{name:n}=l;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[n],r=e[`onClick:${n}`],i=r&&a?o(`$vuetify.input.${a}`,e.label??""):void 0;return t.createVNode(ce,{icon:e[`${n}Icon`],"aria-label":i,onClick:r},null)}}}const Jr=D({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ne(),...vt({transition:{component:Vn,leaveAbsolute:!0,group:!0}})},"VMessages"),Zr=J()({name:"VMessages",props:Jr(),setup(e,o){let{slots:l}=o;const n=t.computed(()=>ve(e.messages)),{textColorClasses:a,textColorStyles:r}=Ve(t.computed(()=>e.color));return le(()=>t.createVNode(Ne,{transition:e.transition,tag:"div",class:["v-messages",a.value,e.class],style:[r.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&n.value.map((i,s)=>t.createVNode("div",{class:"v-messages__message",key:`${s}-${n.value}`},[l.message?l.message({message:i}):i]))]})),{}}}),ea=D({focused:Boolean,"onUpdate:focused":ye()},"focus");function Ol(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=se(e,"focused");return{focusClasses:t.computed(()=>({[`${o}--focused`]:l.value})),isFocused:l,focus:function(){l.value=!0},blur:function(){l.value=!1}}}const Qr=Symbol.for("vuetify:form");function ta(){return t.inject(Qr,null)}const es=D({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...ea()},"validation"),Ml=D({id:String,appendIcon:ae,centerAffix:{type:Boolean,default:!0},prependIcon:ae,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":ye(),"onClick:append":ye(),...ne(),...xe(),...es()},"VInput"),Lt=J()({name:"VInput",props:{...Ml()},emits:{"update:modelValue":e=>!0},setup(e,o){let{attrs:l,slots:n,emit:a}=o;const{densityClasses:r}=Pe(e),{rtlClasses:i}=Xe(),{InputIcon:s}=Qn(e),u=Se(),c=t.computed(()=>e.id||`input-${u}`),v=t.computed(()=>`${c.value}-messages`),{errorMessages:f,isDirty:p,isDisabled:d,isReadonly:h,isPristine:g,isValid:y,isValidating:b,reset:V,resetValidation:P,validate:k,validationClasses:C}=function(m){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke(),w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se();const x=se(m,"modelValue"),N=t.computed(()=>m.validationValue===void 0?x.value:m.validationValue),$=ta(),T=t.ref([]),E=t.shallowRef(!0),R=t.computed(()=>!(!ve(x.value===""?null:x.value).length&&!ve(N.value===""?null:N.value).length)),G=t.computed(()=>!!(m.disabled??($==null?void 0:$.isDisabled.value))),_=t.computed(()=>!!(m.readonly??($==null?void 0:$.isReadonly.value))),L=t.computed(()=>{var j;return(j=m.errorMessages)!=null&&j.length?ve(m.errorMessages).concat(T.value).slice(0,Math.max(0,+m.maxErrors)):T.value}),O=t.computed(()=>{let j=(m.validateOn??($==null?void 0:$.validateOn.value))||"input";j==="lazy"&&(j="input lazy");const A=new Set((j==null?void 0:j.split(" "))??[]);return{blur:A.has("blur")||A.has("input"),input:A.has("input"),submit:A.has("submit"),lazy:A.has("lazy")}}),H=t.computed(()=>{var j;return!m.error&&!((j=m.errorMessages)!=null&&j.length)&&(!m.rules.length||(E.value?!T.value.length&&!O.value.lazy||null:!T.value.length))}),X=t.shallowRef(!1),q=t.computed(()=>({[`${S}--error`]:H.value===!1,[`${S}--dirty`]:R.value,[`${S}--disabled`]:G.value,[`${S}--readonly`]:_.value})),K=t.computed(()=>m.name??t.unref(w));function I(){x.value=null,t.nextTick(M)}function M(){E.value=!0,O.value.lazy?T.value=[]:z(!0)}async function z(){let j=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const A=[];X.value=!0;for(const W of m.rules){if(A.length>=+(m.maxErrors??1))break;const ee=typeof W=="function"?W:()=>W,U=await ee(N.value);U!==!0&&(U===!1||typeof U=="string"?A.push(U||""):console.warn(`${U} is not a valid value. Rule functions must return boolean true or a string.`))}return T.value=A,X.value=!1,E.value=j,T.value}return t.onBeforeMount(()=>{$==null||$.register({id:K.value,validate:z,reset:I,resetValidation:M})}),t.onBeforeUnmount(()=>{$==null||$.unregister(K.value)}),t.onMounted(async()=>{O.value.lazy||await z(!0),$==null||$.update(K.value,H.value,L.value)}),Oe(()=>O.value.input,()=>{t.watch(N,()=>{if(N.value!=null)z();else if(m.focused){const j=t.watch(()=>m.focused,A=>{A||z(),j()})}})}),Oe(()=>O.value.blur,()=>{t.watch(()=>m.focused,j=>{j||z()})}),t.watch(H,()=>{$==null||$.update(K.value,H.value,L.value)}),{errorMessages:L,isDirty:R,isDisabled:G,isReadonly:_,isPristine:E,isValid:H,isValidating:X,reset:I,resetValidation:M,validate:z,validationClasses:q}}(e,"v-input",c),B=t.computed(()=>({id:c,messagesId:v,isDirty:p,isDisabled:d,isReadonly:h,isPristine:g,isValid:y,isValidating:b,reset:V,resetValidation:P,validate:k})),F=t.computed(()=>{var m;return(m=e.errorMessages)!=null&&m.length||!g.value&&f.value.length?f.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return le(()=>{var N,$,T,E;const m=!(!n.prepend&&!e.prependIcon),S=!(!n.append&&!e.appendIcon),w=F.value.length>0,x=!e.hideDetails||e.hideDetails==="auto"&&(w||!!n.details);return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},r.value,i.value,C.value,e.class],style:e.style},[m&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(N=n.prepend)==null?void 0:N.call(n,B.value),e.prependIcon&&t.createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),n.default&&t.createVNode("div",{class:"v-input__control"},[($=n.default)==null?void 0:$.call(n,B.value)]),S&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(s,{key:"append-icon",name:"append"},null),(T=n.append)==null?void 0:T.call(n,B.value)]),x&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Zr,{id:v.value,active:w,messages:F.value},{message:n.message}),(E=n.details)==null?void 0:E.call(n,B.value)])])}),{reset:V,resetValidation:P,validate:k,isValid:y,errorMessages:f}}}),ts=D({...Ml(),...Me(Zn(),["inline"])},"VCheckbox"),jl=J()({name:"VCheckbox",inheritAttrs:!1,props:ts(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,o){let{attrs:l,slots:n}=o;const a=se(e,"modelValue"),{isFocused:r,focus:i,blur:s}=Ol(e),u=Se(),c=t.computed(()=>e.id||`checkbox-${u}`);return le(()=>{const[v,f]=Fl(l),p=Lt.filterProps(e),d=Ye.filterProps(e);return t.createVNode(Lt,t.mergeProps({class:["v-checkbox",e.class]},v,p,{modelValue:a.value,"onUpdate:modelValue":h=>a.value=h,id:c.value,focused:r.value,style:e.style}),{...n,default:h=>{let{id:g,messagesId:y,isDisabled:b,isReadonly:V}=h;return t.createVNode(Ye,t.mergeProps(d,{id:g.value,"aria-describedby":y.value,disabled:b.value,readonly:V.value},f,{modelValue:a.value,"onUpdate:modelValue":P=>a.value=P,onFocus:i,onBlur:s}),n)}})}),{}}}),la=Symbol.for("vuetify:v-chip-group"),ls=D({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ee},...ne(),..._n({selectedClass:"v-chip--selected"}),...pe(),...ue(),...De({variant:"tonal"})},"VChipGroup");J()({name:"VChipGroup",props:ls(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:l}=o;const{themeClasses:n}=de(e),{isSelected:a,select:r,next:i,prev:s,selected:u}=$n(e,la);return Ce({VChip:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),le(()=>t.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},n.value,e.class],style:e.style},{default:()=>{var c;return[(c=l.default)==null?void 0:c.call(l,{isSelected:a,select:r,next:i,prev:s,selected:u.value})]}})),{}}});const os=D({activeClass:String,appendAvatar:String,appendIcon:ae,closable:Boolean,closeIcon:{type:ae,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:ae,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ye(),onClickOnce:ye(),...Je(),...ne(),...xe(),...We(),...An(),...Be(),...Ll(),...Qe(),...pe({tag:"span"}),...ue(),...De({variant:"tonal"})},"VChip"),ns=J()({name:"VChip",directives:{Ripple:Jt},props:os(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,o){let{attrs:l,emit:n,slots:a}=o;const{t:r}=$e(),{borderClasses:i}=ft(e),{colorClasses:s,colorStyles:u,variantClasses:c}=Xt(e),{densityClasses:v}=Pe(e),{elevationClasses:f}=Ze(e),{roundedClasses:p}=Ie(e),{sizeClasses:d}=mt(e),{themeClasses:h}=de(e),g=se(e,"modelValue"),y=En(e,la,!1),b=Rl(e,l),V=t.computed(()=>e.link!==!1&&b.isLink.value),P=t.computed(()=>!e.disabled&&e.link!==!1&&(!!y||e.link||b.isClickable.value)),k=t.computed(()=>({"aria-label":r(e.closeLabel),onClick(F){F.stopPropagation(),g.value=!1,n("click:close",F)}}));function C(F){var m;n("click",F),P.value&&((m=b.navigate)==null||m.call(b,F),y==null||y.toggle())}function B(F){F.key!=="Enter"&&F.key!==" "||(F.preventDefault(),C(F))}return()=>{const F=b.isLink.value?"a":e.tag,m=!(!e.appendIcon&&!e.appendAvatar),S=!(!m&&!a.append),w=!(!a.close&&!e.closable),x=!(!a.filter&&!e.filter)&&y,N=!(!e.prependIcon&&!e.prependAvatar),$=!(!N&&!a.prepend),T=!y||y.isSelected.value;return g.value&&t.withDirectives(t.createVNode(F,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":P.value,"v-chip--filter":x,"v-chip--pill":e.pill},h.value,i.value,T?s.value:void 0,v.value,f.value,p.value,d.value,c.value,y==null?void 0:y.selectedClass.value,e.class],style:[T?u.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:b.href.value,tabindex:P.value?0:void 0,onClick:C,onKeydown:P.value&&!V.value&&B},{default:()=>{var E;return[Yt(P.value,"v-chip"),x&&t.createVNode(Bn,{key:"filter"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-chip__filter"},[a.filter?t.createVNode(we,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):t.createVNode(ce,{key:"filter-icon",icon:e.filterIcon},null)]),[[t.vShow,y.isSelected.value]])]}),$&&t.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):t.createVNode(t.Fragment,null,[e.prependIcon&&t.createVNode(ce,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&t.createVNode(dt,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),t.createVNode("div",{class:"v-chip__content"},[((E=a.default)==null?void 0:E.call(a,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:e.disabled}))??e.text]),S&&t.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?t.createVNode(we,{key:"append-defaults",disabled:!m,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(ce,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(dt,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),w&&t.createVNode("button",t.mergeProps({key:"close",class:"v-chip__close",type:"button"},k.value),[a.close?t.createVNode(we,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):t.createVNode(ce,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[t.resolveDirective("ripple"),P.value&&e.ripple,null]])}}}),bl=Symbol.for("vuetify:list");function oa(){const e=t.inject(bl,{hasPrepend:t.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:t.shallowRef(!1),updateHasPrepend:l=>{l&&(o.hasPrepend.value=l)}};return t.provide(bl,o),e}function na(){return t.inject(bl,null)}const as={open:e=>{let{id:o,value:l,opened:n,parents:a}=e;if(l){const r=new Set;r.add(o);let i=a.get(o);for(;i!=null;)r.add(i),i=a.get(i);return r}return n.delete(o),n},select:()=>null},aa={open:e=>{let{id:o,value:l,opened:n,parents:a}=e;if(l){let r=a.get(o);for(n.add(o);r!=null&&r!==o;)n.add(r),r=a.get(r);return n}return n.delete(o),n},select:()=>null},rs={open:aa.open,select:e=>{let{id:o,value:l,opened:n,parents:a}=e;if(!l)return n;const r=[];let i=a.get(o);for(;i!=null;)r.push(i),i=a.get(i);return new Set(r)}},wl=e=>{const o={select:l=>{let{id:n,value:a,selected:r}=l;if(n=t.toRaw(n),e&&!a){const i=Array.from(r.entries()).reduce((s,u)=>{let[c,v]=u;return v==="on"?[...s,c]:s},[]);if(i.length===1&&i[0]===n)return r}return r.set(n,a?"on":"off"),r},in:(l,n,a)=>{let r=new Map;for(const i of l||[])r=o.select({id:i,value:!0,selected:new Map(r),children:n,parents:a});return r},out:l=>{const n=[];for(const[a,r]of l.entries())r==="on"&&n.push(a);return n}};return o},Ro=e=>{const o=wl(e);return{select:l=>{let{selected:n,id:a,...r}=l;a=t.toRaw(a);const i=n.has(a)?new Map([[a,n.get(a)]]):new Map;return o.select({...r,id:a,selected:i})},in:(l,n,a)=>{let r=new Map;return l!=null&&l.length&&(r=o.in(l.slice(0,1),n,a)),r},out:(l,n,a)=>o.out(l,n,a)}},pt=Symbol.for("vuetify:nested"),ra={id:t.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:t.ref(new Map),children:t.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:t.ref(new Set),selected:t.ref(new Map),selectedValues:t.ref([])}},ss=D({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),is=e=>{let o=!1;const l=t.ref(new Map),n=t.ref(new Map),a=se(e,"opened",e.opened,f=>new Set(f),f=>[...f.values()]),r=t.computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return(f=>{const p=Ro(f);return{select:d=>{let{id:h,selected:g,children:y,...b}=d;return h=t.toRaw(h),y.has(h)?g:p.select({id:h,selected:g,children:y,...b})},in:p.in,out:p.out}})(e.mandatory);case"leaf":return(f=>{const p=wl(f);return{select:d=>{let{id:h,selected:g,children:y,...b}=d;return h=t.toRaw(h),y.has(h)?g:p.select({id:h,selected:g,children:y,...b})},in:p.in,out:p.out}})(e.mandatory);case"independent":return wl(e.mandatory);case"single-independent":return Ro(e.mandatory);default:return(f=>{const p={select:d=>{let{id:h,value:g,selected:y,children:b,parents:V}=d;h=t.toRaw(h);const P=new Map(y),k=[h];for(;k.length;){const B=k.shift();y.set(B,g?"on":"off"),b.has(B)&&k.push(...b.get(B))}let C=V.get(h);for(;C;){const B=b.get(C),F=B.every(S=>y.get(S)==="on"),m=B.every(S=>!y.has(S)||y.get(S)==="off");y.set(C,F?"on":m?"off":"indeterminate"),C=V.get(C)}return f&&!g&&Array.from(y.entries()).reduce((F,m)=>{let[S,w]=m;return w==="on"?[...F,S]:F},[]).length===0?P:y},in:(d,h,g)=>{let y=new Map;for(const b of d||[])y=p.select({id:b,value:!0,selected:new Map(y),children:h,parents:g});return y},out:(d,h)=>{const g=[];for(const[y,b]of d.entries())b!=="on"||h.has(y)||g.push(y);return g}};return p})(e.mandatory)}}),i=t.computed(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return rs;case"single":return as;default:return aa}}),s=se(e,"selected",e.selected,f=>r.value.in(f,l.value,n.value),f=>r.value.out(f,l.value,n.value));function u(f){const p=[];let d=f;for(;d!=null;)p.unshift(d),d=n.value.get(d);return p}t.onBeforeUnmount(()=>{o=!0});const c=ie("nested"),v={id:t.shallowRef(),root:{opened:a,selected:s,selectedValues:t.computed(()=>{const f=[];for(const[p,d]of s.value.entries())d==="on"&&f.push(p);return f}),register:(f,p,d)=>{p&&f!==p&&n.value.set(f,p),d&&l.value.set(f,[]),p!=null&&l.value.set(p,[...l.value.get(p)||[],f])},unregister:f=>{if(o)return;l.value.delete(f);const p=n.value.get(f);if(p){const d=l.value.get(p)??[];l.value.set(p,d.filter(h=>h!==f))}n.value.delete(f),a.value.delete(f)},open:(f,p,d)=>{c.emit("click:open",{id:f,value:p,path:u(f),event:d});const h=i.value.open({id:f,value:p,opened:new Set(a.value),children:l.value,parents:n.value,event:d});h&&(a.value=h)},openOnSelect:(f,p,d)=>{const h=i.value.select({id:f,value:p,selected:new Map(s.value),opened:new Set(a.value),children:l.value,parents:n.value,event:d});h&&(a.value=h)},select:(f,p,d)=>{c.emit("click:select",{id:f,value:p,path:u(f),event:d});const h=r.value.select({id:f,value:p,selected:new Map(s.value),children:l.value,parents:n.value,event:d});h&&(s.value=h),v.root.openOnSelect(f,p,d)},children:l,parents:n}};return t.provide(pt,v),v.root},sa=(e,o)=>{const l=t.inject(pt,ra),n=Symbol(Se()),a=t.computed(()=>e.value!==void 0?e.value:n),r={...l,id:a,open:(i,s)=>l.root.open(a.value,i,s),openOnSelect:(i,s)=>l.root.openOnSelect(a.value,i,s),isOpen:t.computed(()=>l.root.opened.value.has(a.value)),parent:t.computed(()=>l.root.parents.value.get(a.value)),select:(i,s)=>l.root.select(a.value,i,s),isSelected:t.computed(()=>l.root.selected.value.get(t.toRaw(a.value))==="on"),isIndeterminate:t.computed(()=>l.root.selected.value.get(a.value)==="indeterminate"),isLeaf:t.computed(()=>!l.root.children.value.get(a.value)),isGroupActivator:l.isGroupActivator};return!l.isGroupActivator&&l.root.register(a.value,l.id.value,o),t.onBeforeUnmount(()=>{!l.isGroupActivator&&l.root.unregister(a.value)}),o&&t.provide(pt,r),r},us=it({name:"VListGroupActivator",setup(e,o){let{slots:l}=o;return(()=>{const n=t.inject(pt,ra);t.provide(pt,{...n,isGroupActivator:!0})})(),()=>{var n;return(n=l.default)==null?void 0:n.call(l)}}}),cs=D({activeColor:String,baseColor:String,color:String,collapseIcon:{type:ae,default:"$collapse"},expandIcon:{type:ae,default:"$expand"},prependIcon:ae,appendIcon:ae,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ne(),...pe()},"VListGroup"),Lo=J()({name:"VListGroup",props:cs(),setup(e,o){let{slots:l}=o;const{isOpen:n,open:a,id:r}=sa(t.toRef(e,"value"),!0),i=t.computed(()=>`v-list-group--id-${String(r.value)}`),s=na(),{isBooted:u}=function(){const d=t.shallowRef(!1);return t.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:t.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:t.readonly(d)}}();function c(d){a(!n.value,d)}const v=t.computed(()=>({onClick:c,class:"v-list-group__header",id:i.value})),f=t.computed(()=>n.value?e.collapseIcon:e.expandIcon),p=t.computed(()=>({VListItem:{active:n.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}));return le(()=>t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":n.value},e.class],style:e.style},{default:()=>[l.activator&&t.createVNode(we,{defaults:p.value},{default:()=>[t.createVNode(us,null,{default:()=>[l.activator({props:v.value,isOpen:n.value})]})]}),t.createVNode(Ne,{transition:{component:Ar},disabled:!u.value},{default:()=>{var d;return[t.withDirectives(t.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[(d=l.default)==null?void 0:d.call(l)]),[[t.vShow,n.value]])]}})]})),{}}}),ds=hn("v-list-item-subtitle"),ps=hn("v-list-item-title"),vs=D({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:ae,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:ae,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:ye(),onClickOnce:ye(),...Je(),...ne(),...xe(),...je(),...We(),...Be(),...Ll(),...pe(),...ue(),...De({variant:"text"})},"VListItem"),Ot=J()({name:"VListItem",directives:{Ripple:Jt},props:vs(),emits:{click:e=>!0},setup(e,o){let{attrs:l,slots:n,emit:a}=o;const r=Rl(e,l),i=t.computed(()=>e.value===void 0?r.href.value:e.value),{select:s,isSelected:u,isIndeterminate:c,isGroupActivator:v,root:f,parent:p,openOnSelect:d}=sa(i,!1),h=na(),g=t.computed(()=>{var _;return e.active!==!1&&(e.active||((_=r.isActive)==null?void 0:_.value)||u.value)}),y=t.computed(()=>e.link!==!1&&r.isLink.value),b=t.computed(()=>!e.disabled&&e.link!==!1&&(e.link||r.isClickable.value||e.value!=null&&!!h)),V=t.computed(()=>e.rounded||e.nav),P=t.computed(()=>e.color??e.activeColor),k=t.computed(()=>({color:g.value?P.value??e.baseColor:e.baseColor,variant:e.variant}));t.watch(()=>{var _;return(_=r.isActive)==null?void 0:_.value},_=>{_&&p.value!=null&&f.open(p.value,!0),_&&d(_)},{immediate:!0});const{themeClasses:C}=de(e),{borderClasses:B}=ft(e),{colorClasses:F,colorStyles:m,variantClasses:S}=Xt(k),{densityClasses:w}=Pe(e),{dimensionStyles:x}=ze(e),{elevationClasses:N}=Ze(e),{roundedClasses:$}=Ie(V),T=t.computed(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),E=t.computed(()=>({isActive:g.value,select:s,isSelected:u.value,isIndeterminate:c.value}));function R(_){var L;a("click",_),!v&&b.value&&((L=r.navigate)==null||L.call(r,_),e.value!=null&&s(!u.value,_))}function G(_){_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),R(_))}return le(()=>{const _=y.value?"a":e.tag,L=n.title||e.title!=null,O=n.subtitle||e.subtitle!=null,H=!(!e.appendAvatar&&!e.appendIcon),X=!(!H&&!n.append),q=!(!e.prependAvatar&&!e.prependIcon),K=!(!q&&!n.prepend);var I,M;return h==null||h.updateHasPrepend(K),e.activeColor&&(I="active-color",M=["color","base-color"],M=Array.isArray(M)?M.slice(0,-1).map(z=>`'${z}'`).join(", ")+` or '${M.at(-1)}'`:`'${M}'`,t.warn(`[Vuetify UPGRADE] '${I}' is deprecated, use ${M} instead.`)),t.withDirectives(t.createVNode(_,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":b.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!K&&(h==null?void 0:h.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&g.value},C.value,B.value,F.value,w.value,N.value,T.value,$.value,S.value,e.class],style:[m.value,x.value,e.style],href:r.href.value,tabindex:b.value?h?-2:0:void 0,onClick:R,onKeydown:b.value&&!y.value&&G},{default:()=>{var z;return[Yt(b.value||g.value,"v-list-item"),K&&t.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?t.createVNode(we,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var j;return[(j=n.prepend)==null?void 0:j.call(n,E.value)]}}):t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(dt,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&t.createVNode(ce,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)]),t.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[L&&t.createVNode(ps,{key:"title"},{default:()=>{var j;return[((j=n.title)==null?void 0:j.call(n,{title:e.title}))??e.title]}}),O&&t.createVNode(ds,{key:"subtitle"},{default:()=>{var j;return[((j=n.subtitle)==null?void 0:j.call(n,{subtitle:e.subtitle}))??e.subtitle]}}),(z=n.default)==null?void 0:z.call(n,E.value)]),X&&t.createVNode("div",{key:"append",class:"v-list-item__append"},[n.append?t.createVNode(we,{key:"append-defaults",disabled:!H,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var j;return[(j=n.append)==null?void 0:j.call(n,E.value)]}}):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(ce,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(dt,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[t.resolveDirective("ripple"),b.value&&e.ripple]])}),{}}}),fs=D({color:String,inset:Boolean,sticky:Boolean,title:String,...ne(),...pe()},"VListSubheader"),ms=J()({name:"VListSubheader",props:fs(),setup(e,o){let{slots:l}=o;const{textColorClasses:n,textColorStyles:a}=Ve(t.toRef(e,"color"));return le(()=>{const r=!(!l.default&&!e.title);return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value,e.class],style:[{textColorStyles:a},e.style]},{default:()=>{var i;return[r&&t.createVNode("div",{class:"v-list-subheader__text"},[((i=l.default)==null?void 0:i.call(l))??e.title])]}})}),{}}}),gs=D({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ne(),...ue()},"VDivider"),ia=J()({name:"VDivider",props:gs(),setup(e,o){let{attrs:l}=o;const{themeClasses:n}=de(e),{textColorClasses:a,textColorStyles:r}=Ve(t.toRef(e,"color")),i=t.computed(()=>{const s={};return e.length&&(s[e.vertical?"maxHeight":"maxWidth"]=Z(e.length)),e.thickness&&(s[e.vertical?"borderRightWidth":"borderTopWidth"]=Z(e.thickness)),s});return le(()=>t.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},n.value,a.value,e.class],style:[i.value,r.value,e.style],"aria-orientation":l.role&&l.role!=="separator"?void 0:e.vertical?"vertical":"horizontal",role:`${l.role||"separator"}`},null)),{}}}),hs=D({items:Array,returnObject:Boolean},"VListChildren"),ua=J()({name:"VListChildren",props:hs(),setup(e,o){let{slots:l}=o;return oa(),()=>{var n,a;return((n=l.default)==null?void 0:n.call(l))??((a=e.items)==null?void 0:a.map(r=>{var p,d;let{children:i,props:s,type:u,raw:c}=r;if(u==="divider")return((p=l.divider)==null?void 0:p.call(l,{props:s}))??t.createVNode(ia,s,null);if(u==="subheader")return((d=l.subheader)==null?void 0:d.call(l,{props:s}))??t.createVNode(ms,s,null);const v={subtitle:l.subtitle?h=>{var g;return(g=l.subtitle)==null?void 0:g.call(l,{...h,item:c})}:void 0,prepend:l.prepend?h=>{var g;return(g=l.prepend)==null?void 0:g.call(l,{...h,item:c})}:void 0,append:l.append?h=>{var g;return(g=l.append)==null?void 0:g.call(l,{...h,item:c})}:void 0,title:l.title?h=>{var g;return(g=l.title)==null?void 0:g.call(l,{...h,item:c})}:void 0},f=Lo.filterProps(s);return i?t.createVNode(Lo,t.mergeProps({value:s==null?void 0:s.value},f),{activator:h=>{let{props:g}=h;const y={...s,...g,value:e.returnObject?c:s.value};return l.header?l.header({props:y}):t.createVNode(Ot,y,v)},default:()=>t.createVNode(ua,{items:i},l)}):l.item?l.item({props:s}):t.createVNode(Ot,t.mergeProps(s,{value:e.returnObject?c:s.value}),v)}))}}}),ca=D({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:Ee}},"list-items");function Sl(e,o){const l=me(o,e.itemTitle,o),n=me(o,e.itemValue,l),a=me(o,e.itemChildren),r={title:l,value:n,...e.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Me(o,["children"]):o:me(o,e.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?da(e,a):void 0,raw:o}}function da(e,o){const l=[];for(const n of o)l.push(Sl(e,n));return l}function ys(e,o){const l=me(o,e.itemType,"item"),n=function(s){return typeof s=="string"||typeof s=="number"||typeof s=="boolean"}(o)?o:me(o,e.itemTitle),a=me(o,e.itemValue,void 0),r=me(o,e.itemChildren),i={title:n,value:a,...e.itemProps===!0?Me(o,["children"]):me(o,e.itemProps)};return{type:l,title:i.title,value:i.value,props:i,children:l==="item"&&r?pa(e,r):void 0,raw:o}}function pa(e,o){const l=[];for(const n of o)l.push(ys(e,n));return l}const bs=D({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...ss({selectStrategy:"single-leaf",openStrategy:"list"}),...Je(),...ne(),...xe(),...je(),...We(),itemType:{type:String,default:"type"},...ca(),...Be(),...pe(),...ue(),...De({variant:"text"})},"VList"),ws=J()({name:"VList",props:bs(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,o){let{slots:l}=o;const{items:n}=function(w){return{items:t.computed(()=>pa(w,w.items))}}(e),{themeClasses:a}=de(e),{backgroundColorClasses:r,backgroundColorStyles:i}=Ae(t.toRef(e,"bgColor")),{borderClasses:s}=ft(e),{densityClasses:u}=Pe(e),{dimensionStyles:c}=ze(e),{elevationClasses:v}=Ze(e),{roundedClasses:f}=Ie(e),{open:p,select:d}=is(e),h=t.computed(()=>e.lines?`v-list--${e.lines}-line`:void 0),g=t.toRef(e,"activeColor"),y=t.toRef(e,"baseColor"),b=t.toRef(e,"color");oa(),Ce({VListGroup:{activeColor:g,baseColor:y,color:b},VListItem:{activeClass:t.toRef(e,"activeClass"),activeColor:g,baseColor:y,color:b,density:t.toRef(e,"density"),disabled:t.toRef(e,"disabled"),lines:t.toRef(e,"lines"),nav:t.toRef(e,"nav"),slim:t.toRef(e,"slim"),variant:t.toRef(e,"variant")}});const V=t.shallowRef(!1),P=t.ref();function k(w){V.value=!0}function C(w){V.value=!1}function B(w){var x;V.value||w.relatedTarget&&((x=P.value)!=null&&x.contains(w.relatedTarget))||S()}function F(w){if(P.value){if(w.key==="ArrowDown")S("next");else if(w.key==="ArrowUp")S("prev");else if(w.key==="Home")S("first");else{if(w.key!=="End")return;S("last")}w.preventDefault()}}function m(w){V.value=!0}function S(w){if(P.value)return At(P.value,w)}return le(()=>t.createVNode(e.tag,{ref:P,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},a.value,r.value,s.value,u.value,v.value,h.value,f.value,e.class],style:[i.value,c.value,e.style],tabindex:e.disabled||V.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:k,onFocusout:C,onFocus:B,onKeydown:F,onMousedown:m},{default:()=>[t.createVNode(ua,{items:n.value,returnObject:e.returnObject},l)]})),{open:p,select:d,focus:S}}});function sl(e,o){return{x:e.x+o.x,y:e.y+o.y}}function Oo(e,o){if(e.side==="top"||e.side==="bottom"){const{side:l,align:n}=e;return sl({x:n==="left"?0:n==="center"?o.width/2:n==="right"?o.width:n,y:l==="top"?0:l==="bottom"?o.height:l},o)}if(e.side==="left"||e.side==="right"){const{side:l,align:n}=e;return sl({x:l==="left"?0:l==="right"?o.width:l,y:n==="top"?0:n==="center"?o.height/2:n==="bottom"?o.height:n},o)}return sl({x:o.width/2,y:o.height/2},o)}const va={static:function(){},connected:function(e,o,l){(Array.isArray(e.target.value)||function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1}(e.target.value))&&Object.assign(l.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:n,preferredOrigin:a}=_l(()=>{const d=gl(o.location,e.isRtl.value),h=o.origin==="overlap"?d:o.origin==="auto"?ol(d):gl(o.origin,e.isRtl.value);return d.side===h.side&&d.align===nl(h).align?{preferredAnchor:uo(d),preferredOrigin:uo(h)}:{preferredAnchor:d,preferredOrigin:h}}),[r,i,s,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>t.computed(()=>{const h=parseFloat(o[d]);return isNaN(h)?1/0:h})),c=t.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const d=o.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let v=!1;const f=new ResizeObserver(()=>{v&&p()});function p(){if(v=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>v=!0)}),!e.target.value||!e.contentEl.value)return;const d=fn(e.target.value),h=function(S,w){w?S.style.removeProperty("left"):S.style.removeProperty("right");const x=Al(S);return w?x.x+=parseFloat(S.style.right||0):x.x-=parseFloat(S.style.left||0),x.y-=parseFloat(S.style.top||0),x}(e.contentEl.value,e.isRtl.value),g=Dt(e.contentEl.value);g.length||(g.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(h.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),h.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=g.reduce((S,w)=>{const x=w.getBoundingClientRect(),N=new Le({x:w===document.documentElement?0:x.x,y:w===document.documentElement?0:x.y,width:w.clientWidth,height:w.clientHeight});return S?new Le({x:Math.max(S.left,N.left),y:Math.max(S.top,N.top),width:Math.min(S.right,N.right)-Math.max(S.left,N.left),height:Math.min(S.bottom,N.bottom)-Math.max(S.top,N.top)}):N},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;let b={anchor:n.value,origin:a.value};function V(S){const w=new Le(h),x=Oo(S.anchor,d),N=Oo(S.origin,w);let{x:$,y:T}=(R=N,{x:(E=x).x-R.x,y:E.y-R.y});var E,R;switch(S.anchor.side){case"top":T-=c.value[0];break;case"bottom":T+=c.value[0];break;case"left":$-=c.value[0];break;case"right":$+=c.value[0]}switch(S.anchor.align){case"top":T-=c.value[1];break;case"bottom":T+=c.value[1];break;case"left":$-=c.value[1];break;case"right":$+=c.value[1]}return w.x+=$,w.y+=T,w.width=Math.min(w.width,s.value),w.height=Math.min(w.height,u.value),{overflows:po(w,y),x:$,y:T}}let P=0,k=0;const C={x:0,y:0},B={x:!1,y:!1};let F=-1;for(;;){if(F++>10){mn("Infinite loop detected in connectedLocationStrategy");break}const{x:S,y:w,overflows:x}=V(b);P+=S,k+=w,h.x+=S,h.y+=w;{const N=co(b.anchor),$=x.x.before||x.x.after,T=x.y.before||x.y.after;let E=!1;if(["x","y"].forEach(R=>{if(R==="x"&&$&&!B.x||R==="y"&&T&&!B.y){const G={anchor:{...b.anchor},origin:{...b.origin}},_=R==="x"?N==="y"?nl:ol:N==="y"?ol:nl;G.anchor=_(G.anchor),G.origin=_(G.origin);const{overflows:L}=V(G);(L[R].before<=x[R].before&&L[R].after<=x[R].after||L[R].before+L[R].after<(x[R].before+x[R].after)/2)&&(b=G,E=B[R]=!0)}}),E)continue}x.x.before&&(P+=x.x.before,h.x+=x.x.before),x.x.after&&(P-=x.x.after,h.x-=x.x.after),x.y.before&&(k+=x.y.before,h.y+=x.y.before),x.y.after&&(k-=x.y.after,h.y-=x.y.after);{const N=po(h,y);C.x=y.width-N.x.before-N.x.after,C.y=y.height-N.y.before-N.y.after,P+=N.x.before,h.x+=N.x.before,k+=N.y.before,h.y+=N.y.before}break}const m=co(b.anchor);return Object.assign(l.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:Z(il(k)),left:e.isRtl.value?void 0:Z(il(P)),right:e.isRtl.value?Z(il(-P)):void 0,minWidth:Z(m==="y"?Math.min(r.value,d.width):r.value),maxWidth:Z(Mo(_e(C.x,r.value===1/0?0:r.value,s.value))),maxHeight:Z(Mo(_e(C.y,i.value===1/0?0:i.value,u.value)))}),{available:C,contentBox:h}}return t.watch([e.target,e.contentEl],(d,h)=>{let[g,y]=d,[b,V]=h;b&&!Array.isArray(b)&&f.unobserve(b),g&&!Array.isArray(g)&&f.observe(g),V&&f.unobserve(V),y&&f.observe(y)},{immediate:!0}),t.onScopeDispose(()=>{f.disconnect()}),t.watch(()=>[n.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),t.nextTick(()=>{const d=p();if(!d)return;const{available:h,contentBox:g}=d;g.height>h.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Ss=D({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in va},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function il(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Mo(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let kl=!0;const Mt=[];let jo=-1;function xl(){cancelAnimationFrame(jo),jo=requestAnimationFrame(()=>{const e=Mt.shift();e&&e(),Mt.length?xl():kl=!0})}const Pt={none:null,close:function(e){zo(e.targetEl.value??e.contentEl.value,function(o){e.isActive.value=!1})},block:function(e,o){var s;const l=(s=e.root.value)==null?void 0:s.offsetParent,n=[...new Set([...Dt(e.targetEl.value,o.contained?l:void 0),...Dt(e.contentEl.value,o.contained?l:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=l||document.documentElement,$l(i)&&i);var i;r&&e.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((u,c)=>{u.style.setProperty("--v-body-scroll-x",Z(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",Z(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",Z(a)),u.classList.add("v-overlay-scroll-blocked")}),t.onScopeDispose(()=>{n.forEach((u,c)=>{const v=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(u.style.getPropertyValue("--v-body-scroll-y"));u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-v,u.scrollTop=-f}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(e,o,l){let n=!1,a=-1,r=-1;function i(s){var u;u=()=>{var f,p;const c=performance.now();(p=(f=e.updateLocation).value)==null||p.call(f,s),n=(performance.now()-c)/(1e3/60)>2},!kl||Mt.length?(Mt.push(u),xl()):(kl=!1,u(),xl())}r=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{l.run(()=>{zo(e.targetEl.value??e.contentEl.value,s=>{n?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{i(s)})})):i(s)})})}),t.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},ks=D({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Pt}},"VOverlay-scroll-strategies");function zo(e,o){const l=[document,...Dt(e)];l.forEach(n=>{n.addEventListener("scroll",o,{passive:!0})}),t.onScopeDispose(()=>{l.forEach(n=>{n.removeEventListener("scroll",o)})})}const Cl=Symbol.for("vuetify:v-menu"),xs=D({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Cs(e,o){let l=()=>{};function n(a){l==null||l();const r=Number(a?e.openDelay:e.closeDelay);return new Promise(i=>{l=function(s,u){if(!fe||s===0)return u(),()=>{};const c=window.setTimeout(u,s);return()=>window.clearTimeout(c)}(r,()=>{o==null||o(a),i(a)})})}return{clearDelay:l,runOpenDelay:function(){return n(!0)},runCloseDelay:function(){return n(!1)}}}const Vs=D({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...xs()},"VOverlay-activator");function Bs(e,o){let{isActive:l,isTop:n}=o;const a=ie("useActivator"),r=t.ref();let i=!1,s=!1,u=!0;const c=t.computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),v=t.computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:f,runCloseDelay:p}=Cs(e,x=>{x!==(e.openOnHover&&i||c.value&&s)||e.openOnHover&&l.value&&!n.value||(l.value!==x&&(u=!0),l.value=x)}),d=t.ref(),h=x=>{x.stopPropagation(),r.value=x.currentTarget||x.target,l.value||(d.value=[x.clientX,x.clientY]),l.value=!l.value},g=x=>{var N;(N=x.sourceCapabilities)!=null&&N.firesTouchEvents||(i=!0,r.value=x.currentTarget||x.target,f())},y=x=>{i=!1,p()},b=x=>{Et(x.target,":focus-visible")!==!1&&(s=!0,x.stopPropagation(),r.value=x.currentTarget||x.target,f())},V=x=>{s=!1,x.stopPropagation(),p()},P=t.computed(()=>{const x={};return v.value&&(x.onClick=h),e.openOnHover&&(x.onMouseenter=g,x.onMouseleave=y),c.value&&(x.onFocus=b,x.onBlur=V),x}),k=t.computed(()=>{const x={};if(e.openOnHover&&(x.onMouseenter=()=>{i=!0,f()},x.onMouseleave=()=>{i=!1,p()}),c.value&&(x.onFocusin=()=>{s=!0,f()},x.onFocusout=()=>{s=!1,p()}),e.closeOnContentClick){const N=t.inject(Cl,null);x.onClick=()=>{l.value=!1,N==null||N.closeParents()}}return x}),C=t.computed(()=>{const x={};return e.openOnHover&&(x.onMouseenter=()=>{u&&(i=!0,u=!1,f())},x.onMouseleave=()=>{i=!1,p()}),x});t.watch(n,x=>{!x||(!e.openOnHover||i||c.value&&s)&&(!c.value||s||e.openOnHover&&i)||(l.value=!1)}),t.watch(l,x=>{x||setTimeout(()=>{d.value=void 0})},{flush:"post"});const B=t.ref();t.watchEffect(()=>{B.value&&t.nextTick(()=>{r.value=Nt(B.value)})});const F=t.ref(),m=t.computed(()=>e.target==="cursor"&&d.value?d.value:F.value?Nt(F.value):Wo(e.target,a)||r.value),S=t.computed(()=>Array.isArray(m.value)?void 0:m.value);let w;return t.watch(()=>!!e.activator,x=>{x&&fe?(w=t.effectScope(),w.run(()=>{(function(N,$,T){let{activatorEl:E,activatorEvents:R}=T;function G(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L(),H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N.activatorProps;O&&function(X,q){Object.keys(q).forEach(K=>{if(Ft(K)){const I=ro(K),M=St.get(X);if(q[K]==null)M==null||M.forEach(z=>{const[j,A]=z;j===I&&(X.removeEventListener(I,A),M.delete(z))});else if(!M||![...M].some(z=>z[0]===I&&z[1]===q[K])){X.addEventListener(I,q[K]);const z=M||new Set;z.add([I,q[K]]),St.has(X)||St.set(X,z)}}else q[K]==null?X.removeAttribute(K):X.setAttribute(K,q[K])})}(O,t.mergeProps(R.value,H))}function _(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L(),H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N.activatorProps;O&&function(X,q){Object.keys(q).forEach(K=>{if(Ft(K)){const I=ro(K),M=St.get(X);M==null||M.forEach(z=>{const[j,A]=z;j===I&&(X.removeEventListener(I,A),M.delete(z))})}else X.removeAttribute(K)})}(O,t.mergeProps(R.value,H))}function L(){const O=Wo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:N.activator,$);return E.value=(O==null?void 0:O.nodeType)===Node.ELEMENT_NODE?O:void 0,E.value}t.watch(()=>N.activator,(O,H)=>{if(H&&O!==H){const X=L(H);X&&_(X)}O&&t.nextTick(()=>G())},{immediate:!0}),t.watch(()=>N.activatorProps,()=>{G()}),t.onScopeDispose(()=>{_()})})(e,a,{activatorEl:r,activatorEvents:P})})):w&&w.stop()},{flush:"post",immediate:!0}),t.onScopeDispose(()=>{w==null||w.stop()}),{activatorEl:r,activatorRef:B,target:m,targetEl:S,targetRef:F,activatorEvents:P,contentEvents:k,scrimEvents:C}}function Wo(e,o){var n,a;if(!e)return;let l;if(e==="parent"){let r=(a=(n=o==null?void 0:o.proxy)==null?void 0:n.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;l=r}else l=typeof e=="string"?document.querySelector(e):"$el"in e?e.$el:e;return l}const Zt=["sm","md","lg","xl","xxl"],Ps=Symbol.for("vuetify:display");function zl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke();const l=t.inject(Ps);if(!l)throw new Error("Could not find Vuetify display injection");const n=t.computed(()=>{if(!e.mobileBreakpoint)return l.mobile.value;const r=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:l.thresholds.value[e.mobileBreakpoint];return l.width.valueo?{[`${o}--mobile`]:n.value}:{});return{...l,displayClasses:a,mobile:n}}const Ns=D({eager:Boolean},"lazy");function fa(){const e=ie("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Go=Symbol.for("vuetify:stack"),lt=t.reactive([]);function Fs(){return!0}function Ho(e,o,l){if(!e||ma(e,l)===!1)return!1;const n=yn(o);if(typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&n.host===e.target)return!1;const a=(typeof l.value=="object"&&l.value.include||(()=>[]))();return a.push(o),!a.some(r=>r==null?void 0:r.contains(e.target))}function ma(e,o){return(typeof o.value=="object"&&o.value.closeConditional||Fs)(e)}function Uo(e,o){const l=yn(e);o(document),typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&o(l)}const _s={mounted(e,o){const l=a=>function(r,i,s){const u=typeof s.value=="function"?s.value:s.value.handler;i._clickOutside.lastMousedownWasOutside&&Ho(r,i,s)&&setTimeout(()=>{ma(r,s)&&u&&u(r)},0)}(a,e,o),n=a=>{e._clickOutside.lastMousedownWasOutside=Ho(a,e,o)};Uo(e,a=>{a.addEventListener("click",l,!0),a.addEventListener("mousedown",n,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[o.instance.$.uid]={onClick:l,onMousedown:n}},unmounted(e,o){e._clickOutside&&(Uo(e,l=>{var r;if(!l||!((r=e._clickOutside)!=null&&r[o.instance.$.uid]))return;const{onClick:n,onMousedown:a}=e._clickOutside[o.instance.$.uid];l.removeEventListener("click",n,!0),l.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[o.instance.$.uid])}};function As(e){const{modelValue:o,color:l,...n}=e;return t.createVNode(t.Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&t.createVNode("div",t.mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},n),null)]})}const ga=D({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Vs(),...ne(),...je(),...Ns(),...Ss(),...ks(),...ue(),...vt()},"VOverlay"),qo=J()({name:"VOverlay",directives:{ClickOutside:_s},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ga()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,o){var q,K;let{slots:l,attrs:n,emit:a}=o;const r=se(e,"modelValue"),i=t.computed({get:()=>r.value,set:I=>{I&&e.disabled||(r.value=I)}}),{teleportTarget:s}=function(I){return{teleportTarget:t.computed(()=>{const M=I.value;if(M===!0||!fe)return;const z=M===!1?document.body:typeof M=="string"?document.querySelector(M):M;if(z==null)return void t.warn(`Unable to locate target ${M}`);let j=z.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",z.appendChild(j)),j})}}(t.computed(()=>e.attach||e.contained)),{themeClasses:u}=de(e),{rtlClasses:c,isRtl:v}=Xe(),{hasContent:f,onAfterLeave:p}=function(I,M){const z=t.shallowRef(!1),j=t.computed(()=>z.value||I.eager||M.value);return t.watch(M,()=>z.value=!0),{isBooted:z,hasContent:j,onAfterLeave:function(){I.eager||(z.value=!1)}}}(e,i),d=Ae(t.computed(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:h,localTop:g,stackStyles:y}=function(I,M,z){const j=ie("useStack"),A=!z,W=t.inject(Go,void 0),ee=t.reactive({activeChildren:new Set});t.provide(Go,ee);const U=t.shallowRef(+M.value);Oe(I,()=>{var re;const te=(re=lt.at(-1))==null?void 0:re[1];U.value=te?te+10:+M.value,A&<.push([j.uid,U.value]),W==null||W.activeChildren.add(j.uid),t.onScopeDispose(()=>{if(A){const be=t.toRaw(lt).findIndex(Ge=>Ge[0]===j.uid);lt.splice(be,1)}W==null||W.activeChildren.delete(j.uid)})});const Y=t.shallowRef(!0);A&&t.watchEffect(()=>{var re;const te=((re=lt.at(-1))==null?void 0:re[0])===j.uid;setTimeout(()=>Y.value=te)});const Q=t.computed(()=>!ee.activeChildren.size);return{globalTop:t.readonly(Y),localTop:Q,stackStyles:t.computed(()=>({zIndex:U.value}))}}(i,t.toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:V,target:P,targetEl:k,targetRef:C,activatorEvents:B,contentEvents:F,scrimEvents:m}=Bs(e,{isActive:i,isTop:g}),{dimensionStyles:S}=ze(e),w=function(){if(!fe)return t.shallowRef(!1);const{ssr:I}=zl();if(I){const M=t.shallowRef(!1);return t.onMounted(()=>{M.value=!0}),M}return t.shallowRef(!0)}(),{scopeId:x}=fa();t.watch(()=>e.disabled,I=>{I&&(i.value=!1)});const N=t.ref(),$=t.ref(),{contentStyles:T,updateLocation:E}=function(I,M){const z=t.ref({}),j=t.ref();function A(W){var ee;(ee=j.value)==null||ee.call(j,W)}return fe&&Oe(()=>!(!M.isActive.value||!I.locationStrategy),W=>{var ee,U;t.watch(()=>I.locationStrategy,W),t.onScopeDispose(()=>{window.removeEventListener("resize",A),j.value=void 0}),window.addEventListener("resize",A,{passive:!0}),typeof I.locationStrategy=="function"?j.value=(ee=I.locationStrategy(M,I,z))==null?void 0:ee.updateLocation:j.value=(U=va[I.locationStrategy](M,I,z))==null?void 0:U.updateLocation}),{contentStyles:z,updateLocation:j}}(e,{isRtl:v,contentEl:$,target:P,isActive:i});function R(I){a("click:outside",I),e.persistent?H():i.value=!1}function G(){return i.value&&h.value}function _(I){var M,z;I.key==="Escape"&&h.value&&(e.persistent?H():(i.value=!1,(M=$.value)!=null&&M.contains(document.activeElement)&&((z=b.value)==null||z.focus())))}(function(I,M){if(!fe)return;let z;t.watchEffect(async()=>{z==null||z.stop(),M.isActive.value&&I.scrollStrategy&&(z=t.effectScope(),await t.nextTick(),z.active&&z.run(()=>{var j;typeof I.scrollStrategy=="function"?I.scrollStrategy(M,I,z):(j=Pt[I.scrollStrategy])==null||j.call(Pt,M,I,z)}))}),t.onScopeDispose(()=>{z==null||z.stop()})})(e,{root:N,contentEl:$,targetEl:k,isActive:i,updateLocation:E}),fe&&t.watch(i,I=>{I?window.addEventListener("keydown",_):window.removeEventListener("keydown",_)},{immediate:!0}),t.onBeforeUnmount(()=>{fe&&window.removeEventListener("keydown",_)});const L=(K=(q=ie("useRouter"))==null?void 0:q.proxy)==null?void 0:K.$router;Oe(()=>e.closeOnBack,()=>{(function(I,M){let z,j,A=!1;function W(ee){var U;(U=ee.state)!=null&&U.replaced||(A=!0,setTimeout(()=>A=!1))}fe&&(t.nextTick(()=>{window.addEventListener("popstate",W),z=I==null?void 0:I.beforeEach((ee,U,Y)=>{rl?A?M(Y):Y():setTimeout(()=>A?M(Y):Y()),rl=!0}),j=I==null?void 0:I.afterEach(()=>{rl=!1})}),t.onScopeDispose(()=>{window.removeEventListener("popstate",W),z==null||z(),j==null||j()}))})(L,I=>{h.value&&i.value?(I(!1),e.persistent?H():i.value=!1):I()})});const O=t.ref();function H(){e.noClickAnimation||$.value&&qe($.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:It})}function X(){p(),a("afterLeave")}return t.watch(()=>i.value&&(e.absolute||e.contained)&&s.value==null,I=>{if(I){const M=wn(N.value);M&&M!==document.scrollingElement&&(O.value=M.scrollTop)}}),le(()=>{var I;return t.createVNode(t.Fragment,null,[(I=l.activator)==null?void 0:I.call(l,{isActive:i.value,props:t.mergeProps({ref:V,targetRef:C},B.value,e.activatorProps)}),!e.disabled&&w.value&&f.value&&t.createVNode(t.Teleport,{disabled:!s.value,to:s.value},{default:()=>[t.createVNode("div",t.mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[y.value,{top:Z(O.value)},e.style],ref:N},x,n),[t.createVNode(As,t.mergeProps({color:d,modelValue:!!e.scrim&&i.value},m.value),null),t.createVNode(Ne,{appear:!0,persisted:!0,transition:e.transition,target:P.value,onAfterLeave:X},{default:()=>{var M;return[t.withDirectives(t.createVNode("div",t.mergeProps({ref:$,class:["v-overlay__content",e.contentClass],style:[S.value,T.value]},F.value,e.contentProps),[(M=l.default)==null?void 0:M.call(l,{isActive:i})]),[[t.vShow,i.value],[t.resolveDirective("click-outside"),{handler:R,closeConditional:G,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:P,animateClick:H,contentEl:$,globalTop:h,localTop:g,updateLocation:E}}}),ul=Symbol("Forwarded refs");function cl(e,o){let l=e;for(;l;){const n=Reflect.getOwnPropertyDescriptor(l,o);if(n)return n;l=Object.getPrototypeOf(l)}}function Wl(e){for(var o=arguments.length,l=new Array(o>1?o-1:0),n=1;n!0},setup(e,o){let{slots:l}=o;const n=se(e,"modelValue"),{scopeId:a}=fa(),r=Se(),i=t.computed(()=>e.id||`v-menu-${r}`),s=t.ref(),u=t.inject(Cl,null),c=t.shallowRef(0);async function v(g){var V,P,k;const y=g.relatedTarget,b=g.target;await t.nextTick(),n.value&&y!==b&&((V=s.value)!=null&&V.contentEl)&&((P=s.value)!=null&&P.globalTop)&&![document,s.value.contentEl].includes(b)&&!s.value.contentEl.contains(b)&&((k=ml(s.value.contentEl)[0])==null||k.focus())}function f(){u==null||u.closeParents()}function p(g){var y,b,V;!e.disabled&&g.key==="Tab"&&(dn(ml((y=s.value)==null?void 0:y.contentEl,!1),g.shiftKey?"prev":"next",P=>P.tabIndex>=0)||(n.value=!1,(V=(b=s.value)==null?void 0:b.activatorEl)==null||V.focus()))}function d(g){var b;if(e.disabled)return;const y=(b=s.value)==null?void 0:b.contentEl;y&&n.value?g.key==="ArrowDown"?(g.preventDefault(),At(y,"next")):g.key==="ArrowUp"&&(g.preventDefault(),At(y,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(n.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>d(g))))}t.provide(Cl,{register(){++c.value},unregister(){--c.value},closeParents(){setTimeout(()=>{c.value||(n.value=!1,u==null||u.closeParents())},40)}}),t.watch(n,g=>{g?(u==null||u.register(),document.addEventListener("focusin",v,{once:!0})):(u==null||u.unregister(),document.removeEventListener("focusin",v))});const h=t.computed(()=>t.mergeProps({"aria-haspopup":"menu","aria-expanded":String(n.value),"aria-owns":i.value,onKeydown:d},e.activatorProps));return le(()=>{const g=qo.filterProps(e);return t.createVNode(qo,t.mergeProps({ref:s,class:["v-menu",e.class],style:e.style},g,{modelValue:n.value,"onUpdate:modelValue":y=>n.value=y,absolute:!0,activatorProps:h.value,"onClick:outside":f,onKeydown:p},a),{activator:l.activator,default:function(){for(var y=arguments.length,b=new Array(y),V=0;V{var P;return[(P=l.default)==null?void 0:P.call(l,...b)]}})}})}),Wl({id:i,ΨopenChildren:c},s)}}),Is=D({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ne(),...vt({transition:{component:Vn}})},"VCounter"),Ds=J()({name:"VCounter",functional:!0,props:Is(),setup(e,o){let{slots:l}=o;const n=t.computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return le(()=>t.createVNode(Ne,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-counter",e.class],style:e.style},[l.default?l.default({counter:n.value,max:e.max,value:e.value}):n.value]),[[t.vShow,e.active]])]})),{}}}),Ts=D({floating:Boolean,...ne()},"VFieldLabel"),Ct=J()({name:"VFieldLabel",props:Ts(),setup(e,o){let{slots:l}=o;return le(()=>t.createVNode(Kn,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},l)),{}}}),Rs=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ha=D({appendInnerIcon:ae,bgColor:String,clearable:Boolean,clearIcon:{type:ae,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:ae,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Rs.includes(e)},"onClick:clear":ye(),"onClick:appendInner":ye(),"onClick:prependInner":ye(),...ne(),...Dl(),...Be(),...ue()},"VField"),Ko=J()({name:"VField",inheritAttrs:!1,props:{id:String,...ea(),...ha()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:l,emit:n,slots:a}=o;const{themeClasses:r}=de(e),{loaderClasses:i}=Tl(e),{focusClasses:s,isFocused:u,focus:c,blur:v}=Ol(e),{InputIcon:f}=Qn(e),{roundedClasses:p}=Ie(e),{rtlClasses:d}=Xe(),h=t.computed(()=>e.dirty||e.active),g=t.computed(()=>!(e.singleLine||!e.label&&!a.label)),y=Se(),b=t.computed(()=>e.id||`input-${y}`),V=t.computed(()=>`${b.value}-messages`),P=t.ref(),k=t.ref(),C=t.ref(),B=t.computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:F,backgroundColorStyles:m}=Ae(t.toRef(e,"bgColor")),{textColorClasses:S,textColorStyles:w}=Ve(t.computed(()=>e.error||e.disabled?void 0:h.value&&u.value?e.color:e.baseColor));t.watch(h,$=>{if(g.value){const T=P.value.$el,E=k.value.$el;requestAnimationFrame(()=>{const R=Al(T),G=E.getBoundingClientRect(),_=G.x-R.x,L=G.y-R.y-(R.height/2-G.height/2),O=G.width/.75,H=Math.abs(O-R.width)>1?{maxWidth:Z(O)}:void 0,X=getComputedStyle(T),q=getComputedStyle(E),K=1e3*parseFloat(X.transitionDuration)||150,I=parseFloat(q.getPropertyValue("--v-field-label-scale")),M=q.getPropertyValue("color");T.style.visibility="visible",E.style.visibility="hidden",qe(T,{transform:`translate(${_}px, ${L}px) scale(${I})`,color:M,...H},{duration:K,easing:It,direction:$?"normal":"reverse"}).finished.then(()=>{T.style.removeProperty("visibility"),E.style.removeProperty("visibility")})})}},{flush:"post"});const x=t.computed(()=>({isActive:h,isFocused:u,controlRef:C,blur:v,focus:c}));function N($){$.target!==document.activeElement&&$.preventDefault()}return le(()=>{var _,L,O;const $=e.variant==="outlined",T=a["prepend-inner"]||e.prependInnerIcon,E=!(!e.clearable&&!a.clear),R=!!(a["append-inner"]||e.appendInnerIcon||E),G=()=>a.label?a.label({...x.value,label:e.label,props:{for:b.value}}):e.label;return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":h.value,"v-field--appended":R,"v-field--center-affix":e.centerAffix??!B.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":T,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!G(),[`v-field--variant-${e.variant}`]:!0},r.value,F.value,s.value,i.value,p.value,d.value,e.class],style:[m.value,e.style],onClick:N},l),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(Mn,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),T&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(f,{key:"prepend-icon",name:"prependInner"},null),(_=a["prepend-inner"])==null?void 0:_.call(a,x.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&t.createVNode(Ct,{key:"floating-label",ref:k,class:[S.value],floating:!0,for:b.value,style:w.value},{default:()=>[G()]}),t.createVNode(Ct,{ref:P,for:b.value},{default:()=>[G()]}),(L=a.default)==null?void 0:L.call(a,{...x.value,props:{id:b.value,class:"v-field__input","aria-describedby":V.value},focus:c,blur:v})]),E&&t.createVNode(Bn,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:H=>{H.preventDefault(),H.stopPropagation()}},[a.clear?a.clear():t.createVNode(f,{name:"clear"},null)]),[[t.vShow,e.dirty]])]}),R&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[(O=a["append-inner"])==null?void 0:O.call(a,x.value),e.appendInnerIcon&&t.createVNode(f,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",S.value],style:w.value},[$&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),g.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(Ct,{ref:k,floating:!0,for:b.value},{default:()=>[G()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),B.value&&g.value&&t.createVNode(Ct,{ref:k,floating:!0,for:b.value},{default:()=>[G()]})])])}),{controlRef:C}}}),Ls=["color","file","time","date","datetime-local","week","month"],ya=D({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Ml(),...ha()},"VTextField"),Vl=J()({name:"VTextField",directives:{Intersect:Nn},inheritAttrs:!1,props:ya(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:l,emit:n,slots:a}=o;const r=se(e,"modelValue"),{isFocused:i,focus:s,blur:u}=Ol(e),c=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(r.value):typeof e.counterValue=="number"?e.counterValue:(r.value??"").toString().length),v=t.computed(()=>l.maxlength?l.maxlength:!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"?void 0:e.counter),f=t.computed(()=>["plain","underlined"].includes(e.variant));function p(B,F){var m,S;e.autofocus&&B&&((S=(m=F[0].target)==null?void 0:m.focus)==null||S.call(m))}const d=t.ref(),h=t.ref(),g=t.ref(),y=t.computed(()=>Ls.includes(e.type)||e.persistentPlaceholder||i.value||e.active);function b(){var B;g.value!==document.activeElement&&((B=g.value)==null||B.focus()),i.value||s()}function V(B){n("mousedown:control",B),B.target!==g.value&&(b(),B.preventDefault())}function P(B){b(),n("click:control",B)}function k(B){B.stopPropagation(),b(),t.nextTick(()=>{r.value=null,function(F){for(var m=arguments.length,S=new Array(m>1?m-1:0),w=1;w{F.selectionStart=S[0],F.selectionEnd=S[1]})}}return le(()=>{const B=!!(a.counter||e.counter!==!1&&e.counter!=null),F=!(!B&&!a.details),[m,S]=Fl(l),{modelValue:w,...x}=Lt.filterProps(e),N=function($){return sn($,Object.keys(Ko.props).filter(T=>!Ft(T)&&T!=="class"&&T!=="style"))}(e);return t.createVNode(Lt,t.mergeProps({ref:d,modelValue:r.value,"onUpdate:modelValue":$=>r.value=$,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":f.value},e.class],style:e.style},m,x,{centerAffix:!f.value,focused:i.value}),{...a,default:$=>{let{id:T,isDisabled:E,isDirty:R,isReadonly:G,isValid:_}=$;return t.createVNode(Ko,t.mergeProps({ref:h,onMousedown:V,onClick:P,"onClick:clear":k,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},N,{id:T.value,active:y.value||R.value,dirty:R.value||e.dirty,disabled:E.value,focused:i.value,error:_.value===!1}),{...a,default:L=>{let{props:{class:O,...H}}=L;const X=t.withDirectives(t.createVNode("input",t.mergeProps({ref:g,value:r.value,onInput:C,autofocus:e.autofocus,readonly:G.value,disabled:E.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:b,onBlur:u},H,S),null),[[t.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[t.createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?t.createVNode("div",{class:O,"data-no-activator":""},[a.default(),X]):t.cloneVNode(X,{class:O}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:F?$=>{var T;return t.createVNode(t.Fragment,null,[(T=a.details)==null?void 0:T.call(a,$),B&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Ds,{active:e.persistentCounter||i.value,value:c.value,max:v.value},a.counter)])])}:void 0})}),Wl({},d,h,g)}}),Os=D({renderless:Boolean,...ne()},"VVirtualScrollItem"),Ms=J()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Os(),emits:{"update:height":e=>!0},setup(e,o){let{attrs:l,emit:n,slots:a}=o;const{resizeRef:r,contentRect:i}=Kt(void 0,"border");t.watch(()=>{var s;return(s=i.value)==null?void 0:s.height},s=>{s!=null&&n("update:height",s)}),le(()=>{var s,u;return e.renderless?t.createVNode(t.Fragment,null,[(s=a.default)==null?void 0:s.call(a,{itemRef:r})]):t.createVNode("div",t.mergeProps({ref:r,class:["v-virtual-scroll__item",e.class],style:e.style},l),[(u=a.default)==null?void 0:u.call(a)])})}}),js=D({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function zs(e,o){const l=zl(),n=t.shallowRef(0);t.watchEffect(()=>{n.value=parseFloat(e.itemHeight||0)});const a=t.shallowRef(0),r=t.shallowRef(Math.ceil((parseInt(e.height)||l.height.value)/(n.value||16))||1),i=t.shallowRef(0),s=t.shallowRef(0),u=t.ref(),c=t.ref();let v=0;const{resizeRef:f,contentRect:p}=Kt();t.watchEffect(()=>{f.value=u.value});const d=t.computed(()=>{var E;return u.value===document.documentElement?l.height.value:((E=p.value)==null?void 0:E.height)||parseInt(e.height)||0}),h=t.computed(()=>!!(u.value&&c.value&&d.value&&n.value));let g=Array.from({length:o.value.length}),y=Array.from({length:o.value.length});const b=t.shallowRef(0);let V=-1;const P=function(E,R){let G=0;const _=function(){for(var L=arguments.length,O=new Array(L),H=0;HE(...O),t.unref(R))};return _.clear=()=>{clearTimeout(G)},_.immediate=E,_}(()=>{const E=performance.now();y[0]=0;const R=o.value.length;for(let G=1;G<=R-1;G++)y[G]=(y[G-1]||0)+(g[G-1]||n.value);b.value=Math.max(b.value,performance.now()-E)},b),k=t.watch(h,E=>{E&&(k(),v=c.value.offsetTop,P.immediate(),x(),~V&&t.nextTick(()=>{fe&&window.requestAnimationFrame(()=>{$(V),V=-1})}))});function C(E){return E=_e(E,0,o.value.length-1),y[E]||0}function B(E){return function(R,G){let _=R.length-1,L=0,O=0,H=null,X=-1;if(R[_]>1,H=R[O],H>G)_=O-1;else{if(!(H{R&&x()}),t.onScopeDispose(()=>{P.clear()});let F=0,m=0,S=0,w=-1;function x(){cancelAnimationFrame(w),w=requestAnimationFrame(N)}function N(){if(!u.value||!d.value)return;const E=F-v,R=Math.sign(m),G=_e(B(Math.max(0,E-100)),0,o.value.length),_=_e(B(E+d.value+100)+1,G+1,o.value.length);if((R!==-1||Gr.value)){const L=C(a.value)-C(G),O=C(_)-C(r.value);Math.max(L,O)>100?(a.value=G,r.value=_):(G<=0&&(a.value=G),_>=o.value.length&&(r.value=_))}i.value=C(a.value),s.value=C(o.value.length)-C(r.value)}function $(E){const R=C(E);!u.value||E&&!R?V=E:u.value.scrollTop=R}const T=t.computed(()=>o.value.slice(a.value,r.value).map((E,R)=>({raw:E,index:R+a.value})));return t.watch(o,()=>{g=Array.from({length:o.value.length}),y=Array.from({length:o.value.length}),P.immediate(),x()},{deep:!0}),{containerRef:u,markerRef:c,computedItems:T,paddingTop:i,paddingBottom:s,scrollToIndex:$,handleScroll:function(){if(!u.value||!c.value)return;const E=u.value.scrollTop,R=performance.now();R-S>500?(m=Math.sign(E-F),v=c.value.offsetTop):m=E-F,F=E,S=R,x()},handleScrollend:function(){u.value&&c.value&&(m=0,S=0,x())},handleItemResize:function(E,R){const G=g[E],_=n.value;n.value=_?Math.min(n.value,R):R,G===R&&_===n.value||(g[E]=R,P())}}}const Ws=D({items:{type:Array,default:()=>[]},renderless:Boolean,...js(),...ne(),...je()},"VVirtualScroll"),Gs=J()({name:"VVirtualScroll",props:Ws(),setup(e,o){let{slots:l}=o;const n=ie("VVirtualScroll"),{dimensionStyles:a}=ze(e),{containerRef:r,markerRef:i,handleScroll:s,handleScrollend:u,handleItemResize:c,scrollToIndex:v,paddingTop:f,paddingBottom:p,computedItems:d}=zs(e,t.toRef(e,"items"));return Oe(()=>e.renderless,()=>{function h(){var y,b;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",s,{passive:!0}),document[g]("scrollend",u)):((y=r.value)==null||y[g]("scroll",s,{passive:!0}),(b=r.value)==null||b[g]("scrollend",u))}t.onMounted(()=>{r.value=wn(n.vnode.el,!0),h(!0)}),t.onScopeDispose(h)}),le(()=>{const h=d.value.map(g=>t.createVNode(Ms,{key:g.index,renderless:e.renderless,"onUpdate:height":y=>c(g.index,y)},{default:y=>{var b;return(b=l.default)==null?void 0:b.call(l,{item:g.raw,index:g.index,...y})}}));return e.renderless?t.createVNode(t.Fragment,null,[t.createVNode("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:Z(f.value)}},null),h,t.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Z(p.value)}},null)]):t.createVNode("div",{ref:r,class:["v-virtual-scroll",e.class],onScrollPassive:s,onScrollend:u,style:[a.value,e.style]},[t.createVNode("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:Z(f.value),paddingBottom:Z(p.value)}},[h])])}),{scrollToIndex:v}}});function Hs(e,o){const l=t.shallowRef(!1);let n;return{onListScroll:function(a){cancelAnimationFrame(n),l.value=!0,n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{l.value=!1})})},onListKeydown:async function(a){var s,u;if(a.key==="Tab"&&((s=o.value)==null||s.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(u=e.value)==null?void 0:u.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>requestAnimationFrame(c)),await new Promise(c=>{if(l.value){const v=t.watch(l,()=>{v(),c()})}else c()})}();const i=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const c=r.getBoundingClientRect().top;for(const v of i)if(v.getBoundingClientRect().top>=c){v.focus();break}}else{const c=r.getBoundingClientRect().bottom;for(const v of[...i].reverse())if(v.getBoundingClientRect().bottom<=c){v.focus();break}}}}}const Us=D({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:ae,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ca({itemChildren:!1})},"Select"),qs=D({...Us(),...Me(ya({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...vt({transition:{component:Cn}})},"VSelect"),Ks=J()({name:"VSelect",props:qs(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,o){let{slots:l}=o;const{t:n}=$e(),a=t.ref(),r=t.ref(),i=t.ref(),s=se(e,"menu"),u=t.computed({get:()=>s.value,set:_=>{var L;s.value&&!_&&((L=r.value)!=null&&L.ΨopenChildren)||(s.value=_)}}),{items:c,transformIn:v,transformOut:f}=function(_){const L=t.computed(()=>da(_,_.items)),O=t.computed(()=>L.value.some(H=>H.value===null));return{items:L,transformIn:function(H){return O.value||(H=H.filter(X=>X!==null)),H.map(X=>_.returnObject&&typeof X=="string"?Sl(_,X):L.value.find(q=>_.valueComparator(X,q.value))||Sl(_,X))},transformOut:function(H){return _.returnObject?H.map(X=>{let{raw:q}=X;return q}):H.map(X=>{let{value:q}=X;return q})}}}(e),p=se(e,"modelValue",[],_=>v(_===null?[null]:ve(_)),_=>{const L=f(_);return e.multiple?L:L[0]??null}),d=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(p.value):typeof e.counterValue=="number"?e.counterValue:p.value.length),h=ta(),g=t.computed(()=>p.value.map(_=>_.value)),y=t.shallowRef(!1),b=t.computed(()=>u.value?e.closeText:e.openText);let V,P="";const k=t.computed(()=>e.hideSelected?c.value.filter(_=>!p.value.some(L=>L===_)):c.value),C=t.computed(()=>e.hideNoData&&!k.value.length||e.readonly||(h==null?void 0:h.isReadonly.value)),B=t.computed(()=>{var _;return{...e.menuProps,activatorProps:{...((_=e.menuProps)==null?void 0:_.activatorProps)||{},"aria-haspopup":"listbox"}}}),F=t.ref(),{onListScroll:m,onListKeydown:S}=Hs(F,a);function w(_){e.openOnClear&&(u.value=!0)}function x(){C.value||(u.value=!u.value)}function N(_){var H,X;if(!_.key||e.readonly||h!=null&&h.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(_.key)&&_.preventDefault(),["Enter","ArrowDown"," "].includes(_.key)&&(u.value=!0),["Escape","Tab"].includes(_.key)&&(u.value=!1),_.key==="Home"?(H=F.value)==null||H.focus("first"):_.key==="End"&&((X=F.value)==null||X.focus("last")),e.multiple||!function(q){const K=q.key.length===1,I=!q.ctrlKey&&!q.metaKey&&!q.altKey;return K&&I}(_)))return;const L=performance.now();L-V>1e3&&(P=""),P+=_.key.toLowerCase(),V=L;const O=c.value.find(q=>q.title.toLowerCase().startsWith(P));O!==void 0&&(p.value=[O])}function $(_){if(e.multiple){const L=p.value.findIndex(O=>e.valueComparator(O.value,_.value));if(L===-1)p.value=[...p.value,_];else{const O=[...p.value];O.splice(L,1),p.value=O}}else p.value=[_],u.value=!1}function T(_){var L;(L=F.value)!=null&&L.$el.contains(_.relatedTarget)||(u.value=!1)}function E(){var _;y.value&&((_=a.value)==null||_.focus())}function R(_){y.value=!0}function G(_){if(_==null)p.value=[];else if(Et(a.value,":autofill")||Et(a.value,":-webkit-autofill")){const L=c.value.find(O=>O.title===_);L&&$(L)}else a.value&&(a.value.value="")}return t.watch(u,()=>{if(!e.hideSelected&&u.value&&p.value.length){const _=k.value.findIndex(L=>p.value.some(O=>e.valueComparator(O.value,L.value)));fe&&window.requestAnimationFrame(()=>{var L;_>=0&&((L=i.value)==null||L.scrollToIndex(_))})}}),t.watch(k,(_,L)=>{y.value&&(!_.length&&e.hideNoData&&(u.value=!1),!L.length&&_.length&&(u.value=!0))}),le(()=>{const _=!(!e.chips&&!l.chip),L=!!(!e.hideNoData||k.value.length||l["prepend-item"]||l["append-item"]||l["no-data"]),O=p.value.length>0,H=Vl.filterProps(e),X=O||!y.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return t.createVNode(Vl,t.mergeProps({ref:a},H,{modelValue:p.value.map(q=>q.props.value).join(", "),"onUpdate:modelValue":G,focused:y.value,"onUpdate:focused":q=>y.value=q,validationValue:p.externalValue,counterValue:d.value,dirty:O,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!e.chips,["v-select--"+(e.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!l.selection},e.class],style:e.style,inputmode:"none",placeholder:X,"onClick:clear":w,"onMousedown:control":x,onBlur:T,onKeydown:N,"aria-label":n(b.value),title:n(b.value)}),{...l,default:()=>t.createVNode(t.Fragment,null,[t.createVNode($s,t.mergeProps({ref:r,modelValue:u.value,"onUpdate:modelValue":q=>u.value=q,activator:"parent",contentClass:"v-select__content",disabled:C.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:E},B.value),{default:()=>[L&&t.createVNode(ws,{ref:F,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:q=>q.preventDefault(),onKeydown:S,onFocusin:R,onScrollPassive:m,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},{default:()=>{var q,K,I;return[(q=l["prepend-item"])==null?void 0:q.call(l),!k.value.length&&!e.hideNoData&&(((K=l["no-data"])==null?void 0:K.call(l))??t.createVNode(Ot,{title:n(e.noDataText)},null)),t.createVNode(Gs,{ref:i,renderless:!0,items:k.value},{default:M=>{var ee;let{item:z,index:j,itemRef:A}=M;const W=t.mergeProps(z.props,{ref:A,key:j,onClick:()=>$(z)});return((ee=l.item)==null?void 0:ee.call(l,{item:z,index:j,props:W}))??t.createVNode(Ot,t.mergeProps(W,{role:"option"}),{prepend:U=>{let{isSelected:Y}=U;return t.createVNode(t.Fragment,null,[e.multiple&&!e.hideSelected?t.createVNode(Ye,{key:z.value,modelValue:Y,ripple:!1,tabindex:"-1"},null):void 0,z.props.prependAvatar&&t.createVNode(dt,{image:z.props.prependAvatar},null),z.props.prependIcon&&t.createVNode(ce,{icon:z.props.prependIcon},null)])}})}}),(I=l["append-item"])==null?void 0:I.call(l)]}})]}),p.value.map((q,K)=>{const I={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),$(q)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},M=_?!!l.chip:!!l.selection,z=M?pn(_?l.chip({item:q,index:K,props:I}):l.selection({item:q,index:K})):void 0;if(!M||z)return t.createVNode("div",{key:q.value,class:"v-select__selection"},[_?l.chip?t.createVNode(we,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:q.title}}},{default:()=>[z]}):t.createVNode(ns,t.mergeProps({key:"chip",closable:e.closableChips,size:"small",text:q.title,disabled:q.props.disabled},I),null):z??t.createVNode("span",{class:"v-select__selection-text"},[q.title,e.multiple&&Ke==null||o==null?-1:e.toString().toLocaleLowerCase().indexOf(o.toString().toLocaleLowerCase()),Xs=D({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function Js(e,o,l,n){const a=t.ref([]),r=t.ref(new Map),i=t.computed(()=>n!=null&&n.transform?t.unref(o).map(s=>[s,n.transform(s)]):t.unref(o));return t.watchEffect(()=>{const s=typeof l=="function"?l():t.unref(l),u=typeof s!="string"&&typeof s!="number"?"":String(s),c=function(d,h,g){var k;const y=[],b=(g==null?void 0:g.default)??Ys,V=!!(g!=null&&g.filterKeys)&&ve(g.filterKeys),P=Object.keys((g==null?void 0:g.customKeyFilter)??{}).length;if(!(d!=null&&d.length))return y;e:for(let C=0;C{let{index:h,matches:g}=d;const y=v[h];f.push(y),p.set(y.value,g)}),a.value=f,r.value=p}),{filteredItems:a,filteredMatches:r,getMatches:function(s){return r.value.get(s.value)}}}const Zs=D({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),ba=Symbol.for("vuetify:datatable:expanded");function wa(e){const o=t.toRef(e,"expandOnClick"),l=se(e,"expanded",e.expanded,i=>new Set(i),i=>[...i.values()]);function n(i,s){const u=new Set(l.value);s?u.add(i.value):u.delete(i.value),l.value=u}function a(i){return l.value.has(i.value)}const r={expand:n,expanded:l,expandOnClick:o,isExpanded:a,toggleExpand:function(i){n(i,!a(i))}};return t.provide(ba,r),r}function Sa(){const e=t.inject(ba);if(!e)throw new Error("foo");return e}const Qs=D({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),ka=Symbol.for("vuetify:data-table-group");function xa(e){return{groupBy:se(e,"groupBy")}}function Ca(e){const{groupBy:o,sortBy:l}=e,n=t.ref(new Set);function a(i){return n.value.has(i.id)}const r={sortByWithGroups:t.computed(()=>o.value.map(i=>({...i,order:i.order??!1})).concat(l.value)),toggleGroup:function(i){const s=new Set(n.value);a(i)?s.delete(i.id):s.add(i.id),n.value=s},opened:n,groupBy:o,extractRows:function(i){return function s(u){const c=[];for(const v of u.items)"type"in v&&v.type==="group"?c.push(...s(v)):c.push(v);return c}({type:"group",items:i,id:"dummy",key:"dummy",value:"dummy",depth:0})},isGroupOpen:a};return t.provide(ka,r),r}function Va(){const e=t.inject(ka);if(!e)throw new Error("Missing group!");return e}function Ba(e,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!o.length)return[];const a=function(s,u){if(!s.length)return[];const c=new Map;for(const v of s){const f=rt(v.raw,u);c.has(f)||c.set(f,[]),c.get(f).push(v)}return c}(e,o[0]),r=[],i=o.slice(1);return a.forEach((s,u)=>{const c=o[0],v=`${n}_${c}_${u}`;r.push({depth:l,id:v,key:c,value:u,items:i.length?Ba(s,i,l+1,v):s,type:"group"})}),r}function Pa(e,o){const l=[];for(const n of e)"type"in n&&n.type==="group"?(n.value!=null&&l.push(n),(o.has(n.id)||n.value==null)&&l.push(...Pa(n.items,o))):l.push(n);return l}function Na(e,o,l){return{flatItems:t.computed(()=>o.value.length?Pa(Ba(e.value,o.value.map(n=>n.key)),l.value):e.value)}}function Fa(e){let{page:o,itemsPerPage:l,sortBy:n,groupBy:a,search:r}=e;const i=ie("VDataTable"),s=t.computed(()=>({page:o.value,itemsPerPage:l.value,sortBy:n.value,groupBy:a.value,search:r.value}));let u=null;t.watch(s,()=>{Ee(u,s.value)||((u==null?void 0:u.search)!==s.value.search&&(o.value=1),i.emit("update:options",s.value),u=s.value)},{deep:!0,immediate:!0})}const _a=D({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),Aa=Symbol.for("vuetify:data-table-pagination");function Ea(e){return{page:se(e,"page",void 0,o=>+(o??1)),itemsPerPage:se(e,"itemsPerPage",void 0,o=>+(o??10))}}function $a(e){const{page:o,itemsPerPage:l,itemsLength:n}=e,a=t.computed(()=>l.value===-1?0:l.value*(o.value-1)),r=t.computed(()=>l.value===-1?n.value:Math.min(n.value,a.value+l.value)),i=t.computed(()=>l.value===-1||n.value===0?1:Math.ceil(n.value/l.value));t.watchEffect(()=>{o.value>i.value&&(o.value=i.value)});const s={page:o,itemsPerPage:l,startIndex:a,stopIndex:r,pageCount:i,itemsLength:n,nextPage:function(){o.value=_e(o.value+1,1,i.value)},prevPage:function(){o.value=_e(o.value-1,1,i.value)},setPage:function(u){o.value=_e(u,1,i.value)},setItemsPerPage:function(u){l.value=u,o.value=1}};return t.provide(Aa,s),s}const ei={showSelectAll:!1,allSelected:()=>[],select:e=>{var n;let{items:o,value:l}=e;return new Set(l?[(n=o[0])==null?void 0:n.value]:[])},selectAll:e=>{let{selected:o}=e;return o}},Ia={showSelectAll:!0,allSelected:e=>{let{currentPage:o}=e;return o},select:e=>{let{items:o,value:l,selected:n}=e;for(const a of o)l?n.add(a.value):n.delete(a.value);return n},selectAll:e=>{let{value:o,currentPage:l,selected:n}=e;return Ia.select({items:l,value:o,selected:n})}},Da={showSelectAll:!0,allSelected:e=>{let{allItems:o}=e;return o},select:e=>{let{items:o,value:l,selected:n}=e;for(const a of o)l?n.add(a.value):n.delete(a.value);return n},selectAll:e=>{let{value:o,allItems:l,selected:n}=e;return Da.select({items:l,value:o,selected:n})}},ti=D({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:Ee}},"DataTable-select"),Ta=Symbol.for("vuetify:data-table-selection");function Ra(e,o){let{allItems:l,currentPage:n}=o;const a=se(e,"modelValue",e.modelValue,d=>new Set(ve(d).map(h=>{var g;return((g=l.value.find(y=>e.valueComparator(h,y.value)))==null?void 0:g.value)??h})),d=>[...d.values()]),r=t.computed(()=>l.value.filter(d=>d.selectable)),i=t.computed(()=>n.value.filter(d=>d.selectable)),s=t.computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return ei;case"all":return Da;default:return Ia}});function u(d){return ve(d).every(h=>a.value.has(h.value))}function c(d,h){const g=s.value.select({items:d,value:h,selected:new Set(a.value)});a.value=g}const v=t.computed(()=>a.value.size>0),f=t.computed(()=>{const d=s.value.allSelected({allItems:r.value,currentPage:i.value});return!!d.length&&u(d)}),p={toggleSelect:function(d){c([d],!u([d]))},select:c,selectAll:function(d){const h=s.value.selectAll({value:d,allItems:r.value,currentPage:i.value,selected:new Set(a.value)});a.value=h},isSelected:u,isSomeSelected:function(d){return ve(d).some(h=>a.value.has(h.value))},someSelected:v,allSelected:f,showSelectAll:s.value.showSelectAll};return t.provide(Ta,p),p}function Qt(){const e=t.inject(Ta);if(!e)throw new Error("Missing selection!");return e}const li=D({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),La=Symbol.for("vuetify:data-table-sort");function Oa(e){return{sortBy:se(e,"sortBy"),mustSort:t.toRef(e,"mustSort"),multiSort:t.toRef(e,"multiSort")}}function Ma(e){const{sortBy:o,mustSort:l,multiSort:n,page:a}=e,r={sortBy:o,toggleSort:i=>{if(i.key==null)return;let s=o.value.map(c=>({...c}))??[];const u=s.find(c=>c.key===i.key);u?u.order==="desc"?l.value?u.order="asc":s=s.filter(c=>c.key!==i.key):u.order="desc":s=n.value?[...s,{key:i.key,order:"asc"}]:[{key:i.key,order:"asc"}],o.value=s,a&&(a.value=1)},isSorted:function(i){return!!o.value.find(s=>s.key===i.key)}};return t.provide(La,r),r}function oi(e,o,l,n){const a=$e();return{sortedItems:t.computed(()=>l.value.length?function(i,s,u,c){const v=new Intl.Collator(u,{sensitivity:"accent",usage:"sort"});return[...i].sort((f,p)=>{for(let d=0;dV!=null?V.toString().toLocaleLowerCase():V),y!==b)return wt(y)&&wt(b)?0:wt(y)?-1:wt(b)?1:isNaN(y)||isNaN(b)?v.compare(y,b):Number(y)-Number(b)}return 0})}(o.value,l.value,a.current.value,{...e.customKeySort,...n==null?void 0:n.value}):o.value)}}const ni=D({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1==0},totalVisible:[Number,String],firstIcon:{type:ae,default:"$first"},prevIcon:{type:ae,default:"$prev"},nextIcon:{type:ae,default:"$next"},lastIcon:{type:ae,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Je(),...ne(),...xe(),...We(),...Be(),...Qe(),...pe({tag:"nav"}),...ue(),...De({variant:"text"})},"VPagination"),Yo=J()({name:"VPagination",props:ni(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,o){let{slots:l,emit:n}=o;const a=se(e,"modelValue"),{t:r,n:i}=$e(),{isRtl:s}=Xe(),{themeClasses:u}=de(e),{width:c}=zl(),v=t.shallowRef(-1);Ce(void 0,{scoped:!0});const{resizeRef:f}=Kt(m=>{if(!m.length)return;const{target:S,contentRect:w}=m[0],x=S.querySelector(".v-pagination__list > *");if(!x)return;const N=w.width,$=x.offsetWidth+2*parseFloat(getComputedStyle(x).marginRight);v.value=g(N,$)}),p=t.computed(()=>parseInt(e.length,10)),d=t.computed(()=>parseInt(e.start,10)),h=t.computed(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):v.value>=0?v.value:g(c.value,58));function g(m,S){const w=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((m-S*w)/S).toFixed(2)))}const y=t.computed(()=>{if(p.value<=0||isNaN(p.value)||p.value>Number.MAX_SAFE_INTEGER)return[];if(h.value<=0)return[];if(h.value===1)return[a.value];if(p.value<=h.value)return bt(p.value,d.value);const m=h.value%2==0,S=m?h.value/2:Math.floor(h.value/2),w=m?S:S+1,x=p.value-S;if(w-a.value>=0)return[...bt(Math.max(1,h.value-1),d.value),e.ellipsis,p.value];if(a.value-x>=(m?1:0)){const N=h.value-1,$=p.value-N+d.value;return[d.value,e.ellipsis,...bt(N,$)]}{const N=Math.max(1,h.value-3),$=N===1?a.value:a.value-Math.ceil(N/2)+d.value;return[d.value,e.ellipsis,...bt(N,$),e.ellipsis,p.value]}});function b(m,S,w){m.preventDefault(),a.value=S,w&&n(w,S)}const{refs:V,updateRef:P}=function(){const m=t.ref([]);return t.onBeforeUpdate(()=>m.value=[]),{refs:m,updateRef:function(S,w){m.value[w]=S}}}();Ce({VPaginationBtn:{color:t.toRef(e,"color"),border:t.toRef(e,"border"),density:t.toRef(e,"density"),size:t.toRef(e,"size"),variant:t.toRef(e,"variant"),rounded:t.toRef(e,"rounded"),elevation:t.toRef(e,"elevation")}});const k=t.computed(()=>y.value.map((m,S)=>{const w=x=>P(x,S);if(typeof m=="string")return{isActive:!1,key:`ellipsis-${S}`,page:m,props:{ref:w,ellipsis:!0,icon:!0,disabled:!0}};{const x=m===a.value;return{isActive:x,key:m,page:i(m),props:{ref:w,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:x?e.activeColor:e.color,ariaCurrent:x,ariaLabel:r(x?e.currentPageAriaLabel:e.pageAriaLabel,m),onClick:N=>b(N,m)}}}})),C=t.computed(()=>{const m=!!e.disabled||a.value<=d.value,S=!!e.disabled||a.value>=d.value+p.value-1;return{first:e.showFirstLastPage?{icon:s.value?e.lastIcon:e.firstIcon,onClick:w=>b(w,d.value,"first"),disabled:m,ariaLabel:r(e.firstAriaLabel),ariaDisabled:m}:void 0,prev:{icon:s.value?e.nextIcon:e.prevIcon,onClick:w=>b(w,a.value-1,"prev"),disabled:m,ariaLabel:r(e.previousAriaLabel),ariaDisabled:m},next:{icon:s.value?e.prevIcon:e.nextIcon,onClick:w=>b(w,a.value+1,"next"),disabled:S,ariaLabel:r(e.nextAriaLabel),ariaDisabled:S},last:e.showFirstLastPage?{icon:s.value?e.firstIcon:e.lastIcon,onClick:w=>b(w,d.value+p.value-1,"last"),disabled:S,ariaLabel:r(e.lastAriaLabel),ariaDisabled:S}:void 0}});function B(){var S;const m=a.value-d.value;(S=V.value[m])==null||S.$el.focus()}function F(m){m.key===oo.left&&!e.disabled&&a.value>+e.start?(a.value=a.value-1,t.nextTick(B)):m.key===oo.right&&!e.disabled&&a.valuet.createVNode(e.tag,{ref:f,class:["v-pagination",u.value,e.class],style:e.style,role:"navigation","aria-label":r(e.ariaLabel),onKeydown:F,"data-test":"v-pagination-root"},{default:()=>[t.createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&t.createVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[l.first?l.first(C.value.first):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.first),null)]),t.createVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[l.prev?l.prev(C.value.prev):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.prev),null)]),k.value.map((m,S)=>t.createVNode("li",{key:m.key,class:["v-pagination__item",{"v-pagination__item--is-active":m.isActive}],"data-test":"v-pagination-item"},[l.item?l.item(m):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},m.props),{default:()=>[m.page]})])),t.createVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[l.next?l.next(C.value.next):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.next),null)]),e.showFirstLastPage&&t.createVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[l.last?l.last(C.value.last):t.createVNode(Te,t.mergeProps({_as:"VPaginationBtn"},C.value.last),null)])])]})),{}}}),Gl=D({prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),jt=J()({name:"VDataTableFooter",props:Gl(),setup(e,o){let{slots:l}=o;const{t:n}=$e(),{page:a,pageCount:r,startIndex:i,stopIndex:s,itemsLength:u,itemsPerPage:c,setItemsPerPage:v}=function(){const p=t.inject(Aa);if(!p)throw new Error("Missing pagination!");return p}(),f=t.computed(()=>e.itemsPerPageOptions.map(p=>typeof p=="number"?{value:p,title:p===-1?n("$vuetify.dataFooter.itemsPerPageAll"):String(p)}:{...p,title:n(p.title)}));return le(()=>{var d;const p=Yo.filterProps(e);return t.createVNode("div",{class:"v-data-table-footer"},[(d=l.prepend)==null?void 0:d.call(l),t.createVNode("div",{class:"v-data-table-footer__items-per-page"},[t.createVNode("span",null,[n(e.itemsPerPageText)]),t.createVNode(Ks,{items:f.value,modelValue:c.value,"onUpdate:modelValue":h=>v(Number(h)),density:"compact",variant:"outlined","hide-details":!0},null)]),t.createVNode("div",{class:"v-data-table-footer__info"},[t.createVNode("div",null,[n(e.pageText,u.value?i.value+1:0,s.value,u.value)])]),t.createVNode("div",{class:"v-data-table-footer__pagination"},[t.createVNode(Yo,t.mergeProps({modelValue:a.value,"onUpdate:modelValue":h=>a.value=h,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:r.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},p),null)])])}),{}}}),Hl=(Xo={align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String]},dl=(e,o)=>{let{slots:l}=o;const n=e.tag??"td";return t.createVNode(n,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding},`v-data-table-column--align-${e.align}`],style:{height:Z(e.height),width:Z(e.width),left:Z(e.fixedOffset||null)}},{default:()=>{var a;return[(a=l.default)==null?void 0:a.call(l)]}})},dl.props=Xo,dl);var Xo,dl;const ai=D({headers:Array},"DataTable-header"),ja=Symbol.for("vuetify:data-table-headers"),za={title:"",sortable:!1},ri={...za,width:48};function Bl(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(e.children)for(const l of e.children)Bl(l,o);else o.push(e);return o}function Wa(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const l of e)l.key&&o.add(l.key),l.children&&Wa(l.children,o);return o}function si(e){if(e.key)return e.key==="data-table-group"?za:["data-table-expand","data-table-select"].includes(e.key)?ri:void 0}function Ul(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(o,...e.children.map(l=>Ul(l,o+1))):o}function ii(e,o){const l=[];let n=0;const a=function(){const r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(i=>({element:i,priority:0}));return{enqueue:(i,s)=>{let u=!1;for(let c=0;cs){r.splice(c,0,{element:i,priority:s}),u=!0;break}u||r.push({element:i,priority:s})},size:()=>r.length,count:()=>{let i=0;if(!r.length)return 0;const s=Math.floor(r[0].priority);for(let u=0;ur.shift()}}(e);for(;a.size()>0;){let r=a.count();const i=[];let s=1;for(;r>0;){const{element:u,priority:c}=a.dequeue(),v=o-n-Ul(u);if(i.push({...u,rowspan:v??1,colspan:u.children?Bl(u).length:1}),u.children)for(const f of u.children){const p=c%1+s/Math.pow(10,n+2);a.enqueue(f,n+v+p)}s+=1,r-=1}n+=1,l.push(i)}return{columns:e.map(r=>Bl(r)).flat(),headers:l}}function Ga(e){const o=[];for(const l of e){const n={...si(l),...l},a=n.key??(typeof n.value=="string"?n.value:null),r=n.value??a??null,i={...n,key:a,value:r,sortable:n.sortable??(n.key!=null||!!n.sort),children:n.children?Ga(n.children):void 0};o.push(i)}return o}function Ha(e,o){const l=t.ref([]),n=t.ref([]),a=t.ref(),r=t.ref();t.watchEffect(()=>{var d,h,g;const s=(e.headers||Object.keys(e.items[0]??{}).map(y=>({key:y,title:t.capitalize(y)}))).slice(),u=Wa(s);(d=o==null?void 0:o.groupBy)!=null&&d.value.length&&!u.has("data-table-group")&&s.unshift({key:"data-table-group",title:"Group"}),(h=o==null?void 0:o.showSelect)!=null&&h.value&&!u.has("data-table-select")&&s.unshift({key:"data-table-select"}),(g=o==null?void 0:o.showExpand)!=null&&g.value&&!u.has("data-table-expand")&&s.push({key:"data-table-expand"});const c=Ga(s);(function(y){let b=!1;function V(C){if(C)if(arguments.length>1&&arguments[1]!==void 0&&arguments[1]&&(C.fixed=!0),C.fixed)if(C.children)for(let B=C.children.length-1;B>=0;B--)V(C.children[B],!0);else b?isNaN(+C.width)&&mn(`Multiple fixed columns should have a static width (key: ${C.key})`):C.lastFixed=!0,b=!0;else if(C.children)for(let B=C.children.length-1;B>=0;B--)V(C.children[B]);else b=!1}for(let C=y.length-1;C>=0;C--)V(y[C]);function P(C){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!C)return B;if(C.children){C.fixedOffset=B;for(const F of C.children)B=P(F,B)}else C.fixed&&(C.fixedOffset=B,B+=parseFloat(C.width||"0")||0);return B}let k=0;for(const C of y)k=P(C,k)})(c);const v=Math.max(...c.map(y=>Ul(y)))+1,f=ii(c,v);l.value=f.headers,n.value=f.columns;const p=f.headers.flat(1);a.value=p.reduce((y,b)=>(b.sortable&&b.key&&b.sort&&(y[b.key]=b.sort),y),{}),r.value=p.reduce((y,b)=>(b.key&&b.filter&&(y[b.key]=b.filter),y),{})});const i={headers:l,columns:n,sortFunctions:a,filterFunctions:r};return t.provide(ja,i),i}function el(){const e=t.inject(ja);if(!e)throw new Error("Missing headers!");return e}const Ua=D({color:String,sticky:Boolean,multiSort:Boolean,sortAscIcon:{type:ae,default:"$sortAsc"},sortDescIcon:{type:ae,default:"$sortDesc"},...Dl()},"VDataTableHeaders"),zt=J()({name:"VDataTableHeaders",props:Ua(),setup(e,o){let{slots:l}=o;const{toggleSort:n,sortBy:a,isSorted:r}=function(){const P=t.inject(La);if(!P)throw new Error("Missing sort!");return P}(),{someSelected:i,allSelected:s,selectAll:u,showSelectAll:c}=Qt(),{columns:v,headers:f}=el(),{loaderClasses:p}=Tl(e);function d(P,k){if(e.sticky||P.fixed)return{position:"sticky",left:P.fixed?Z(P.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${k})`:void 0}}function h(P){const k=a.value.find(C=>C.key===P.key);return k?k.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:g,backgroundColorStyles:y}=Ae(e,"color"),b=t.computed(()=>({headers:f.value,columns:v.value,toggleSort:n,isSorted:r,sortBy:a.value,someSelected:i.value,allSelected:s.value,selectAll:u,getSortIcon:h})),V=P=>{let{column:k,x:C,y:B}=P;const F=k.key==="data-table-select"||k.key==="data-table-expand";return t.createVNode(Hl,t.mergeProps({tag:"th",align:k.align,class:["v-data-table__th",{"v-data-table__th--sortable":k.sortable,"v-data-table__th--sorted":r(k),"v-data-table__th--fixed":k.fixed,"v-data-table__th--sticky":e.sticky},p.value],style:{width:Z(k.width),minWidth:Z(k.minWidth),...d(k,B)},colspan:k.colspan,rowspan:k.rowspan,onClick:k.sortable?()=>n(k):void 0,fixed:k.fixed,lastFixed:k.lastFixed,noPadding:F},k.headerProps),{default:()=>{var w;const m=`header.${k.key}`,S={column:k,selectAll:u,isSorted:r,toggleSort:n,sortBy:a.value,someSelected:i.value,allSelected:s.value,getSortIcon:h};return l[m]?l[m](S):k.key==="data-table-select"?((w=l["header.data-table-select"])==null?void 0:w.call(l,S))??(c&&t.createVNode(Ye,{modelValue:s.value,indeterminate:i.value&&!s.value,"onUpdate:modelValue":u},null)):t.createVNode("div",{class:"v-data-table-header__content"},[t.createVNode("span",null,[k.title]),k.sortable&&t.createVNode(ce,{key:"icon",class:"v-data-table-header__sort-icon",icon:h(k)},null),e.multiSort&&r(k)&&t.createVNode("div",{key:"badge",class:["v-data-table-header__sort-badge",...g.value],style:y.value},[a.value.findIndex(x=>x.key===k.key)+1])])}})};le(()=>t.createVNode(t.Fragment,null,[l.headers?l.headers(b.value):f.value.map((P,k)=>t.createVNode("tr",null,[P.map((C,B)=>t.createVNode(V,{column:C,x:B,y:k},null))])),e.loading&&t.createVNode("tr",{class:"v-data-table-progress"},[t.createVNode("th",{colspan:v.value.length},[t.createVNode(Mn,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:l.loader})])])]))}}),ui=D({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),ci=J()({name:"VDataTableGroupHeaderRow",props:ui(),setup(e,o){let{slots:l}=o;const{isGroupOpen:n,toggleGroup:a,extractRows:r}=Va(),{isSelected:i,isSomeSelected:s,select:u}=Qt(),{columns:c}=el(),v=t.computed(()=>r([e.item]));return()=>t.createVNode("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[c.value.map(f=>{var p,d;if(f.key==="data-table-group"){const h=n(e.item)?"$expand":"$next",g=()=>a(e.item);return((p=l["data-table-group"])==null?void 0:p.call(l,{item:e.item,count:v.value.length,props:{icon:h,onClick:g}}))??t.createVNode(Hl,{class:"v-data-table-group-header-row__column"},{default:()=>[t.createVNode(Te,{size:"small",variant:"text",icon:h,onClick:g},null),t.createVNode("span",null,[e.item.value]),t.createVNode("span",null,[t.createTextVNode("("),v.value.length,t.createTextVNode(")")])]})}if(f.key==="data-table-select"){const h=i(v.value),g=s(v.value)&&!h,y=b=>u(v.value,b);return((d=l["data-table-select"])==null?void 0:d.call(l,{props:{modelValue:h,indeterminate:g,"onUpdate:modelValue":y}}))??t.createVNode("td",null,[t.createVNode(Ye,{modelValue:h,indeterminate:g,"onUpdate:modelValue":y},null)])}return t.createVNode("td",null,null)})])}}),di=D({index:Number,item:Object,cellProps:[Object,Function],onClick:ye(),onContextmenu:ye(),onDblclick:ye()},"VDataTableRow"),pi=J()({name:"VDataTableRow",props:di(),setup(e,o){let{slots:l}=o;const{isSelected:n,toggleSelect:a}=Qt(),{isExpanded:r,toggleExpand:i}=Sa(),{columns:s}=el();le(()=>t.createVNode("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)}],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&s.value.map((u,c)=>{const v=e.item,f=`item.${u.key}`,p={index:e.index,item:v.raw,internalItem:v,value:rt(v.columns,u.key),column:u,isSelected:n,toggleSelect:a,isExpanded:r,toggleExpand:i},d=typeof e.cellProps=="function"?e.cellProps({index:p.index,item:p.item,internalItem:p.internalItem,value:p.value,column:u}):e.cellProps,h=typeof u.cellProps=="function"?u.cellProps({index:p.index,item:p.item,internalItem:p.internalItem,value:p.value}):u.cellProps;return t.createVNode(Hl,t.mergeProps({align:u.align,fixed:u.fixed,fixedOffset:u.fixedOffset,lastFixed:u.lastFixed,noPadding:u.key==="data-table-select"||u.key==="data-table-expand",width:u.width},d,h),{default:()=>{var g,y;return l[f]?l[f](p):u.key==="data-table-select"?((g=l["item.data-table-select"])==null?void 0:g.call(l,p))??t.createVNode(Ye,{disabled:!v.selectable,modelValue:n([v]),onClick:t.withModifiers(()=>a(v),["stop"])},null):u.key==="data-table-expand"?((y=l["item.data-table-expand"])==null?void 0:y.call(l,p))??t.createVNode(Te,{icon:r(v)?"$collapse":"$expand",size:"small",variant:"text",onClick:t.withModifiers(()=>i(v),["stop"])},null):t.toDisplayString(p.value)}})})]))}}),qa=D({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function]},"VDataTableRows"),Wt=J()({name:"VDataTableRows",inheritAttrs:!1,props:qa(),setup(e,o){let{attrs:l,slots:n}=o;const{columns:a}=el(),{expandOnClick:r,toggleExpand:i,isExpanded:s}=Sa(),{isSelected:u,toggleSelect:c}=Qt(),{toggleGroup:v,isGroupOpen:f}=Va(),{t:p}=$e();return le(()=>{var d,h;return!e.loading||e.items.length&&!n.loading?e.loading||e.items.length||e.hideNoData?t.createVNode(t.Fragment,null,[e.items.map((g,y)=>{var P;if(g.type==="group"){const k={index:y,item:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:u,toggleSelect:c,toggleGroup:v,isGroupOpen:f};return n["group-header"]?n["group-header"](k):t.createVNode(ci,t.mergeProps({key:`group-header_${g.id}`,item:g},xo(l,":group-header",()=>k)),n)}const b={index:y,item:g.raw,internalItem:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:u,toggleSelect:c},V={...b,props:t.mergeProps({key:`item_${g.key??g.index}`,onClick:r.value?()=>{i(g)}:void 0,index:y,item:g,cellProps:e.cellProps},xo(l,":row",()=>b),typeof e.rowProps=="function"?e.rowProps({item:b.item,index:b.index,internalItem:b.internalItem}):e.rowProps)};return t.createVNode(t.Fragment,{key:V.props.key},[n.item?n.item(V):t.createVNode(pi,V.props,n),s(g)&&((P=n["expanded-row"])==null?void 0:P.call(n,b))])})]):t.createVNode("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[t.createVNode("td",{colspan:a.value.length},[((d=n["no-data"])==null?void 0:d.call(n))??p(e.noDataText)])]):t.createVNode("tr",{class:"v-data-table-rows-loading",key:"loading"},[t.createVNode("td",{colspan:a.value.length},[((h=n.loading)==null?void 0:h.call(n))??p(e.loadingText)])])}),{}}}),Ka=D({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...ne(),...xe(),...pe(),...ue()},"VTable"),Gt=J()({name:"VTable",props:Ka(),setup(e,o){let{slots:l,emit:n}=o;const{themeClasses:a}=de(e),{densityClasses:r}=Pe(e);return le(()=>t.createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!l.top,"v-table--has-bottom":!!l.bottom,"v-table--hover":e.hover},a.value,r.value,e.class],style:e.style},{default:()=>{var i,s,u;return[(i=l.top)==null?void 0:i.call(l),l.default?t.createVNode("div",{class:"v-table__wrapper",style:{height:Z(e.height)}},[t.createVNode("table",null,[l.default()])]):(s=l.wrapper)==null?void 0:s.call(l),(u=l.bottom)==null?void 0:u.call(l)]}})),{}}}),vi=D({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function fi(e,o,l){return o.map((n,a)=>function(r,i,s,u){const c=r.returnObject?i:me(i,r.itemValue),v=me(i,r.itemSelectable,!0),f=u.reduce((p,d)=>(d.key!=null&&(p[d.key]=me(i,d.value)),p),{});return{type:"item",key:r.returnObject?me(i,r.itemValue):c,index:s,value:c,selectable:v,columns:f,raw:i}}(e,n,a,l))}function Ya(e,o){return{items:t.computed(()=>fi(e,e.items,o.value))}}const Xa=D({...qa(),width:[String,Number],search:String,...Zs(),...Qs(),...ai(),...vi(),...ti(),...li(),...Ua(),...Ka()},"DataTable"),mi=D({..._a(),...Xa(),...Xs(),...Gl()},"VDataTable"),gi=J()({name:"VDataTable",props:mi(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,o){let{attrs:l,slots:n}=o;const{groupBy:a}=xa(e),{sortBy:r,multiSort:i,mustSort:s}=Oa(e),{page:u,itemsPerPage:c}=Ea(e),{columns:v,headers:f,sortFunctions:p,filterFunctions:d}=Ha(e,{groupBy:a,showSelect:t.toRef(e,"showSelect"),showExpand:t.toRef(e,"showExpand")}),{items:h}=Ya(e,v),g=t.toRef(e,"search"),{filteredItems:y}=Js(e,h,g,{transform:I=>I.columns,customKeyFilter:d}),{toggleSort:b}=Ma({sortBy:r,multiSort:i,mustSort:s,page:u}),{sortByWithGroups:V,opened:P,extractRows:k,isGroupOpen:C,toggleGroup:B}=Ca({groupBy:a,sortBy:r}),{sortedItems:F}=oi(e,y,V,p),{flatItems:m}=Na(F,a,P),S=t.computed(()=>m.value.length),{startIndex:w,stopIndex:x,pageCount:N,setItemsPerPage:$}=$a({page:u,itemsPerPage:c,itemsLength:S}),{paginatedItems:T}=function(I){const{items:M,startIndex:z,stopIndex:j,itemsPerPage:A}=I;return{paginatedItems:t.computed(()=>A.value<=0?M.value:M.value.slice(z.value,j.value))}}({items:m,startIndex:w,stopIndex:x,itemsPerPage:c}),E=t.computed(()=>k(T.value)),{isSelected:R,select:G,selectAll:_,toggleSelect:L,someSelected:O,allSelected:H}=Ra(e,{allItems:h,currentPage:E}),{isExpanded:X,toggleExpand:q}=wa(e);Fa({page:u,itemsPerPage:c,sortBy:r,groupBy:a,search:g}),Ce({VDataTableRows:{hideNoData:t.toRef(e,"hideNoData"),noDataText:t.toRef(e,"noDataText"),loading:t.toRef(e,"loading"),loadingText:t.toRef(e,"loadingText")}});const K=t.computed(()=>({page:u.value,itemsPerPage:c.value,sortBy:r.value,pageCount:N.value,toggleSort:b,setItemsPerPage:$,someSelected:O.value,allSelected:H.value,isSelected:R,select:G,selectAll:_,toggleSelect:L,isExpanded:X,toggleExpand:q,isGroupOpen:C,toggleGroup:B,items:E.value.map(I=>I.raw),internalItems:E.value,groupedItems:T.value,columns:v.value,headers:f.value}));return le(()=>{const I=jt.filterProps(e),M=zt.filterProps(e),z=Wt.filterProps(e),j=Gt.filterProps(e);return t.createVNode(Gt,t.mergeProps({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},j),{top:()=>{var A;return(A=n.top)==null?void 0:A.call(n,K.value)},default:()=>{var A,W,ee,U,Y,Q;return n.default?n.default(K.value):t.createVNode(t.Fragment,null,[(A=n.colgroup)==null?void 0:A.call(n,K.value),t.createVNode("thead",null,[t.createVNode(zt,M,n)]),(W=n.thead)==null?void 0:W.call(n,K.value),t.createVNode("tbody",null,[(ee=n["body.prepend"])==null?void 0:ee.call(n,K.value),n.body?n.body(K.value):t.createVNode(Wt,t.mergeProps(l,z,{items:T.value}),n),(U=n["body.append"])==null?void 0:U.call(n,K.value)]),(Y=n.tbody)==null?void 0:Y.call(n,K.value),(Q=n.tfoot)==null?void 0:Q.call(n,K.value)])},bottom:()=>n.bottom?n.bottom(K.value):t.createVNode(t.Fragment,null,[t.createVNode(ia,null,null),t.createVNode(jt,I,{prepend:n["footer.prepend"]})])})}),{}}}),hi=D({itemsLength:{type:[Number,String],required:!0},..._a(),...Xa(),...Gl()},"VDataTableServer"),yi=J()({name:"VDataTableServer",props:hi(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0,"update:groupBy":e=>!0},setup(e,o){let{attrs:l,slots:n}=o;const{groupBy:a}=xa(e),{sortBy:r,multiSort:i,mustSort:s}=Oa(e),{page:u,itemsPerPage:c}=Ea(e),v=t.computed(()=>parseInt(e.itemsLength,10)),{columns:f,headers:p}=Ha(e,{groupBy:a,showSelect:t.toRef(e,"showSelect"),showExpand:t.toRef(e,"showExpand")}),{items:d}=Ya(e,f),{toggleSort:h}=Ma({sortBy:r,multiSort:i,mustSort:s,page:u}),{opened:g,isGroupOpen:y,toggleGroup:b,extractRows:V}=Ca({groupBy:a,sortBy:r}),{pageCount:P,setItemsPerPage:k}=$a({page:u,itemsPerPage:c,itemsLength:v}),{flatItems:C}=Na(d,a,g),{isSelected:B,select:F,selectAll:m,toggleSelect:S,someSelected:w,allSelected:x}=Ra(e,{allItems:d,currentPage:d}),{isExpanded:N,toggleExpand:$}=wa(e),T=t.computed(()=>V(d.value));Fa({page:u,itemsPerPage:c,sortBy:r,groupBy:a,search:t.toRef(e,"search")}),t.provide("v-data-table",{toggleSort:h,sortBy:r}),Ce({VDataTableRows:{hideNoData:t.toRef(e,"hideNoData"),noDataText:t.toRef(e,"noDataText"),loading:t.toRef(e,"loading"),loadingText:t.toRef(e,"loadingText")}});const E=t.computed(()=>({page:u.value,itemsPerPage:c.value,sortBy:r.value,pageCount:P.value,toggleSort:h,setItemsPerPage:k,someSelected:w.value,allSelected:x.value,isSelected:B,select:F,selectAll:m,toggleSelect:S,isExpanded:N,toggleExpand:$,isGroupOpen:y,toggleGroup:b,items:T.value.map(R=>R.raw),internalItems:T.value,groupedItems:C.value,columns:f.value,headers:p.value}));le(()=>{const R=jt.filterProps(e),G=zt.filterProps(e),_=Wt.filterProps(e),L=Gt.filterProps(e);return t.createVNode(Gt,t.mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},L),{top:()=>{var O;return(O=n.top)==null?void 0:O.call(n,E.value)},default:()=>{var O,H,X,q,K,I;return n.default?n.default(E.value):t.createVNode(t.Fragment,null,[(O=n.colgroup)==null?void 0:O.call(n,E.value),t.createVNode("thead",{class:"v-data-table__thead",role:"rowgroup"},[t.createVNode(zt,t.mergeProps(G,{sticky:e.fixedHeader}),n)]),(H=n.thead)==null?void 0:H.call(n,E.value),t.createVNode("tbody",{class:"v-data-table__tbody",role:"rowgroup"},[(X=n["body.prepend"])==null?void 0:X.call(n,E.value),n.body?n.body(E.value):t.createVNode(Wt,t.mergeProps(l,_,{items:C.value}),n),(q=n["body.append"])==null?void 0:q.call(n,E.value)]),(K=n.tbody)==null?void 0:K.call(n,E.value),(I=n.tfoot)==null?void 0:I.call(n,E.value)])},bottom:()=>n.bottom?n.bottom(E.value):t.createVNode(jt,R,{prepend:n["footer.prepend"]})})})}}),Ja=Zt.reduce((e,o)=>(e[o]={type:[Boolean,String,Number],default:!1},e),{}),Za=Zt.reduce((e,o)=>(e["offset"+t.capitalize(o)]={type:[String,Number],default:null},e),{}),Qa=Zt.reduce((e,o)=>(e["order"+t.capitalize(o)]={type:[String,Number],default:null},e),{}),Jo={col:Object.keys(Ja),offset:Object.keys(Za),order:Object.keys(Qa)};function bi(e,o,l){let n=e;if(l!=null&&l!==!1)return o&&(n+=`-${o.replace(e,"")}`),e==="col"&&(n="v-"+n),(e!=="col"||l!==""&&l!==!0)&&(n+=`-${l}`),n.toLowerCase()}const wi=["auto","start","end","center","baseline","stretch"],Si=D({cols:{type:[Boolean,String,Number],default:!1},...Ja,offset:{type:[String,Number],default:null},...Za,order:{type:[String,Number],default:null},...Qa,alignSelf:{type:String,default:null,validator:e=>wi.includes(e)},...ne(),...pe()},"VCol"),Ke=J()({name:"VCol",props:Si(),setup(e,o){let{slots:l}=o;const n=t.computed(()=>{const a=[];let r;for(r in Jo)Jo[r].forEach(s=>{const u=e[s],c=bi(r,s,u);c&&a.push(c)});const i=a.some(s=>s.startsWith("v-col-"));return a.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>{var a;return t.h(e.tag,{class:[n.value,e.class],style:e.style},(a=l.default)==null?void 0:a.call(l))}}}),ql=["start","end","center"],er=["space-between","space-around","space-evenly"];function Kl(e,o){return Zt.reduce((l,n)=>(l[e+t.capitalize(n)]=o(),l),{})}const ki=[...ql,"baseline","stretch"],tr=e=>ki.includes(e),lr=Kl("align",()=>({type:String,default:null,validator:tr})),xi=[...ql,...er],or=e=>xi.includes(e),nr=Kl("justify",()=>({type:String,default:null,validator:or})),Ci=[...ql,...er,"stretch"],ar=e=>Ci.includes(e),rr=Kl("alignContent",()=>({type:String,default:null,validator:ar})),Zo={align:Object.keys(lr),justify:Object.keys(nr),alignContent:Object.keys(rr)},Vi={align:"align",justify:"justify",alignContent:"align-content"};function Bi(e,o,l){let n=Vi[e];if(l!=null)return o&&(n+=`-${o.replace(e,"")}`),n+=`-${l}`,n.toLowerCase()}const Pi=D({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:tr},...lr,justify:{type:String,default:null,validator:or},...nr,alignContent:{type:String,default:null,validator:ar},...rr,...ne(),...pe()},"VRow"),sr=J()({name:"VRow",props:Pi(),setup(e,o){let{slots:l}=o;const n=t.computed(()=>{const a=[];let r;for(r in Zo)Zo[r].forEach(i=>{const s=e[i],u=Bi(r,i,s);u&&a.push(u)});return a.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),a});return()=>{var a;return t.h(e.tag,{class:["v-row",n.value,e.class],style:e.style},(a=l.default)==null?void 0:a.call(l))}}}),Ni={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function Fi(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return t.createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[o])}function Qo(e){const[o,l]=e.split("@");return Array.from({length:l}).map(()=>tl(o))}function tl(e){let o=[];if(!e)return o;const l=Ni[e];if(e!==l){if(e.includes(","))return en(e);if(e.includes("@"))return Qo(e);l.includes(",")?o=en(l):l.includes("@")?o=Qo(l):l&&o.push(tl(l))}return[Fi(e,o)]}function en(e){return e.replace(/\s/g,"").split(",").map(tl)}const _i=D({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...je(),...We(),...ue()},"VSkeletonLoader"),Ai=J()({name:"VSkeletonLoader",props:_i(),setup(e,o){let{slots:l}=o;const{backgroundColorClasses:n,backgroundColorStyles:a}=Ae(t.toRef(e,"color")),{dimensionStyles:r}=ze(e),{elevationClasses:i}=Ze(e),{themeClasses:s}=de(e),{t:u}=$e(),c=t.computed(()=>tl(ve(e.type).join(",")));return le(()=>{var f;const v=!l.default||e.loading;return t.createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},s.value,n.value,i.value],style:[a.value,v?r.value:{}],"aria-busy":e.boilerplate?void 0:v,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:u(e.loadingText),role:e.boilerplate?void 0:"alert"},[v?c.value:(f=l.default)==null?void 0:f.call(l)])}),{}}}),Ht={background:"--v-theme-surface",border:"transparent",color:"--v-theme-on-surface"},ir={colorPercentageChange:15,colorPercentageDirection:"desc",colors:()=>({default:Ht,footer:{background:void 0,color:void 0},header:{background:void 0,color:void 0},percentageChange:15,percentageDirection:"desc"}),columnWidths:()=>[],defaultColors:()=>Ht,density:"default",drilldownKey:"id",elevation:0,expandOnClick:!1,filterKeys:void 0,footerBackgroundColor:void 0,footerColor:void 0,footers:()=>[],headerBackgroundColor:void 0,headerColor:void 0,height:"auto",hideNoData:!1,hover:!1,isDrilldown:!1,itemChildrenKey:"child",itemSelectable:void 0,itemValue:"id",items:()=>[],itemsLength:0,itemsPerPage:10,level:1,levels:1,loaderProps:()=>({circular:{bgColor:"theme-surface",color:"primary",indeterminate:!0},linear:{color:"surface-variant",height:"2px",indeterminate:!0},skelton:{type:"heading@1"},text:{color:"surface-variant"}}),loaderType:"linear",loading:!1,loadingText:"$vuetify.dataIterator.loadingText",matchColumnWidths:!1,noDataText:"$vuetify.noDataText",noFilter:!1,page:1,returnObject:!0,search:"",searchContainerCols:()=>({lg:3,md:6,sm:12,xl:3,xs:12,xxl:2}),searchDebounce:0,searchMaxWait:1e3,searchProps:()=>({}),selectStrategy:"page",separator:"default",server:!1,showDrilldownWhenLoading:!0,showExpand:!1,showFooterRow:!1,showSearch:!1,showSelect:!1,sortAscIcon:"$sortAsc",sortBy:()=>[],tableType:()=>({})},Ei=t.defineComponent({__name:"BottomSlot",props:{slotProps:{}},setup:e=>(o,l)=>t.renderSlot(o.$slots,"bottom")}),oe="v-drilldown-table";function tn(e,o,l=""){let n=e;const a=o.length-1;if(a<0)return n===void 0?l:n;for(let r=0;r{const{id:o,sortBy:l}=e;if(l){const n=l.find(a=>a.key===o);if(n)return n.order}},Fe=e=>{const{str:o,unit:l="px"}=e;if(o!=null&&o!=="")return+o?`${Number(o)}${l}`:String(o)};function ur(e){const o=e.title,l=[o,e];return e.renderer?e.renderer(...l):e.renderHeader?e.renderHeader(...l):e.renderFooter?e.renderFooter(...l):o||""}function pl(e){return e&&typeof e=="object"&&!Array.isArray(e)}function at(e,...o){if(!o.length)return e;const l=o.shift();if(pl(e)&&pl(l))for(const n in l)pl(l[n])?(e[n]||Object.assign(e,{[n]:{}}),at(e[n],l[n])):Object.assign(e,{[n]:l[n]});return at(e,...o)}const cr=e=>{const{align:o}=e;return{"d-flex align-center":!0,[`justify-${o}`]:o||!1,"justify-start":!o}},dr=e=>{const{level:o}=e;return{"d-flex":!0,[`${oe}--header-select-all-checkbox`]:!0,[`${oe}--header-select-all-checkbox-${o}`]:!0}};function pr(e){return e==="transparent"||e==="none"||e==="inherit"||e==="currentColor"||e==="initial"||e==="unset"}function vr(e){return e.includes("--v-theme")}const fr=(e,o)=>{if(pr(e))return e;if(vr(e))return`rgb(var(${e}))`;const l=function(n,a){const r=a.global.current.value.colors;return Object.entries(r).find(([i])=>i===n)}(e,o);return l?`hsl(${Ut(l[1])})`:`hsl(${Ut(e)})`},Ii=e=>{const{colors:o,level:l,prop:n="default",theme:a,type:r}=e,i={...o[n]},s=o==null?void 0:o.percentageDirection;if(i===void 0)throw new Error(`[VDrilldownTable]: The color option '${n}' does not exist`);let u=((c,v,f)=>{let p=100,d=(c==null?void 0:c.percentageChange)??0;return isNaN(d)&&(p=100),d*=v,f!=="desc"&&f!=="descending"||(p=100-d),f!=="asc"&&f!=="ascending"||(p=0+d),p<0&&(p=0),p>100&&(p=100),isNaN(p)&&(p=100),v===0&&(p=100),p})(o,l-1,s);return r||Object.entries(i).forEach(([c,v])=>{let f=a.global.current.value.colors[v]??v;if(f||(f=o.default[c]??"transparent",f=fr(f,a)),pr(f))return void(i[c]=f);if((c==="color"||l===0&&s==="asc")&&(u=100),vr(f))return void(i[c]=`rgb(var(${f}))`);const p=`/ ${u}%`,d=Ut(f);if(d.includes("/"))return i[c]=`hsl(${d})`;i[c]=`hsl(${Ut(f)} ${p})`}),i};function Ut(e){let o=function(v){const f={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let p=v;return Object.entries(f).forEach(([d,h])=>{v.toLowerCase()!=d.toLowerCase()||(p=h)}),p}(e),l=0,n=0,a=0,r=0,i=0,s=0;if(o.substring(0,1)==="#")o=function(v){let f=v.replace("#","");f.length===3&&(f=f.split("").map(g=>g+g).join(""));const p=parseInt(f.substring(0,2),16),d=parseInt(f.substring(2,4),16),h=parseInt(f.substring(4,6),16);return[p,d,h]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/\d+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/\d+/g)].map(Number),l=o[0],n=o[1],a=o[2],`${l} ${n}% ${a}%`;[r,i,s]=o,r/=255,i/=255,s/=255;const u=Math.max(r,i,s),c=Math.min(r,i,s);if(u===null||!c===null||isNaN(u)||isNaN(c)){const v="0 0% 100% / 12%";return console.warn(`[VDrilldownTable]: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(l=(u+c)/2,n=(u+c)/2,a=(u+c)/2,u==c)l=n=0;else{const v=u-c;switch(n=a>.5?v/(2-u-c):v/(u+c),u){case r:l=(i-s)/v+(i{const{colors:o,level:l,prop:n="default",themeColors:a,type:r=null}=e;if(typeof o!="object"||o==null)return{};const i=Ii({colors:o,level:l,prop:n,theme:a,type:r});return r?i[r]:i},Di=["colspan"],Ti=t.defineComponent({__name:"TableLoader",props:{colors:{},colspan:{},height:{default:2},level:{},loaderType:{type:[String,Array,Boolean,null],default:"linear"},loading:{},loaderProps:{},loadingText:{default:"Loading..."},size:{default:"default"},textLoader:{type:Boolean,default:!0}},setup(e){const o=qt.useTheme(),l=e,n=t.computed(()=>(b=>{const{isLinearOnly:V,loaderHeight:P}=b;let k={height:0,minHeight:0};return t.unref(V)&&(k={height:Fe({str:t.unref(P)}),minHeight:Fe({str:t.unref(P)})}),k})({isLinearOnly:c,loaderHeight:u})),a=t.computed(()=>(b=>{const{isLinearOnly:V,loaderHeight:P}=b;return t.unref(V)?{height:Fe({str:t.unref(P)}),position:"absolute",top:0,width:"100%"}:{}})({isLinearOnly:c,loaderHeight:u})),r=t.computed(()=>(b=>{const{isLinearOnly:V}=b;return{[`${oe}--loader-tr`]:!0,[`${oe}--loader-tr-not-linear`]:!t.unref(V),"ma-0":!0,"pa-0":!0,"text-center":!0}})({isLinearOnly:c})),i=t.computed(()=>({[`${oe}--loader-tr-vrow`]:!0,"align-center":!1,"d-grid":!1,"flex-column":!0,"ma-0":!0,"pa-0":!0,"text-center":!0})),s=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.linear)??{}}),u=t.computed(()=>{var b,V;return function(P){return Fe({str:P})||"2px"}(((V=(b=l.loaderProps)==null?void 0:b.linear)==null?void 0:V.height)||"2px")}),c=t.computed(()=>{let b=!1;return l.loaderType!==null&&l.loaderType!==!1&&(b=function(V){let P=!1;return V==="linear"&&(P=!0),Array.isArray(V)&&(P=V.length===1&&V[0]==="linear"),P}(l.loaderType)),b}),v=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.circular)??{}}),f=t.computed(()=>{var b;return((b=l.loaderProps)==null?void 0:b.skelton)??{}}),p=t.computed(()=>l.loading),d=t.computed(()=>{var V,P;let b=((P=(V=l.loaderProps)==null?void 0:V.text)==null?void 0:P.color)??"surface-variant";return b=fr(b,o),{color:b}}),h=t.computed(()=>l.loadingText||"Loading..."),g=b=>{const V=l.loaderType;return Array.isArray(V)?V.indexOf(b):1},y=b=>{const V=l.loaderType;return b===l.loaderType||!!Array.isArray(V)&&V.includes(b)};return(b,V)=>(t.openBlock(),t.createElementBlock("tr",{class:t.normalizeClass(t.unref(r)),style:t.normalizeStyle(t.unref(n))},[t.createElementVNode("td",{class:"px-0 ma-0",colspan:b.colspan,style:t.normalizeStyle(t.unref(a))},[b.loading?(t.openBlock(),t.createBlock(sr,{key:0,class:t.normalizeClass(t.unref(i)),"no-gutters":""},{default:t.withCtx(()=>[y("linear")?(t.openBlock(),t.createBlock(Ke,{key:0,class:"pa-0 ma-0",order:g("linear")},{default:t.withCtx(()=>[t.createVNode(On,t.normalizeProps(t.guardReactiveProps(t.unref(s))),null,16)]),_:1},8,["order"])):t.createCommentVNode("",!0),y("circular")?(t.openBlock(),t.createBlock(Ke,{key:1,class:"pa-0 my-2",order:g("circular")},{default:t.withCtx(()=>[t.createVNode(Tn,t.normalizeProps(t.guardReactiveProps(t.unref(v))),null,16)]),_:1},8,["order"])):t.createCommentVNode("",!0),y("skelton")?(t.openBlock(),t.createBlock(Ke,{key:2,class:"pa-0 ma-0",order:g("skelton")},{default:t.withCtx(()=>[t.createVNode(Ai,t.mergeProps(t.unref(f),{loading:t.unref(p)}),null,16,["loading"])]),_:1},8,["order"])):t.createCommentVNode("",!0),y("text")?(t.openBlock(),t.createBlock(Ke,{key:3,class:"my-2",order:g("text"),style:t.normalizeStyle(t.unref(d))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(h)),1)]),_:1},8,["order","style"])):t.createCommentVNode("",!0)]),_:1},8,["class"])):t.createCommentVNode("",!0)],12,Di)],6))}}),Xl=(e,o)=>{const l=e.__vccOpts||e;for(const[n,a]of o)l[n]=a;return l},Ri=Xl(Ti,[["__scopeId","data-v-b954d026"]]),Li=["colspan"],Oi=["colspan","innerHTML"],Mi=["colspan"],ji=["colspan","innerHTML"],zi=["colspan","onClick"],Wi=["innerHTML"],Gi=t.defineComponent({__name:"HeadersSlot",props:{colorPercentageChange:{},colorPercentageDirection:{},colors:{},columnWidths:{},headerBackgroundColor:{},headerColor:{},isTheadSlot:{type:Boolean,default:!1},items:{},loaderProps:{},loaderSettings:{},matchColumnWidths:{type:Boolean},selectStrategy:{},slotProps:{},sortAscIcon:{},tableModelValue:{},density:{},level:{},showSelect:{default:!1},sortBy:{}},emits:["click:selectAll"],setup(e,{emit:o}){const l=t.useSlots(),n=o,a=e,r=t.ref(),i=t.inject(Symbol.for("vuetify:icons")),s=t.ref(!1),u=t.ref(a.items),c=t.ref(a.matchColumnWidths),v=t.ref(a.columnWidths||[]),f=t.ref(a.sortAscIcon),p=t.computed(()=>a.tableModelValue),d=qt.useTheme(),h=t.computed(()=>function(){const w=a.slotProps.columns;if(a.level<=1||!c.value)return w;if(v.value.length===0)throw new Error("VDrilldownTable (matchColumnWidths): There was an issue getting the parent tables widths.");return Object.entries(w).forEach(([x])=>{Object.keys(w).length!==parseInt(x)+1&&w[x].width===void 0&&(w[x].width=v.value[parseInt(x)])}),w}());t.watch(()=>a.items,w=>{u.value=w,r.value=(w==null?void 0:w.filter(x=>x.selectable))??[],r.value=w==null?void 0:w.filter(x=>x.selectable!==!1)});const g=t.computed(()=>(w=>{const{level:x}=w;return{[`${oe}--header-row`]:!0,[`${oe}--header-row-${x}`]:!0}})({level:a.level})),y=(w,x="")=>(N=>{const{column:$,level:T,slotName:E=""}=N;return{[`${oe}--header-row-th`]:!0,[`${oe}--header-row-th-${E}`]:E!=="",[`${oe}--header-row-th-${E}-${T}`]:E!=="",[`${oe}--header-row-th-${T}`]:!0,[`${oe}--header-row-th-sortable`]:$.sortable||!1,[`${oe}--header-row-th-sortable-default-color`]:$.sortable||!1,[`${$.cellClass}`]:$.cellClass||!1}})({column:w,level:a.level,slotName:x}),b=t.computed(()=>{const w=a.colors;return w&&(w.header={background:a.headerBackgroundColor,color:a.headerColor},w.percentageChange=a.colorPercentageChange,w.percentageDirection=a.colorPercentageDirection),w}),V=(w,x=!1)=>(N=>{const{colors:$,column:T,dataTableExpand:E=!1,level:R,theme:G}=N,_={minWidth:T.width?Fe({str:T.width}):"auto",width:T.width?Fe({str:T.width}):"auto"};E&&!T.width&&(_.width=T.width?Fe({str:T.width}):"56px",_.minWidth=T.width?Fe({str:T.width}):"56px");const L=Yl({colors:$,level:R,prop:"header",themeColors:G});return _.backgroundColor=L.background,_.color=L.color,_})({colors:b.value,column:w,dataTableExpand:x,level:a.level,theme:d}),P=w=>{const x=V(w);return a.headerColor===void 0?{}:{color:x.color}},k=t.computed(()=>{var w;return!a.slotProps.allSelected&&((w=p==null?void 0:p.value)==null?void 0:w.length)!==0});function C(){s.value=!s.value,a.slotProps.selectAll(s.value),n("click:selectAll",s.value)}t.watch(()=>a.slotProps.allSelected,w=>{s.value=w}),t.watch(()=>a.slotProps.someSelected,()=>{if(a.slotProps.allSelected)return!1});const B=t.computed(()=>dr({level:a.level})),F=w=>(x=>{const{iconOptions:N,key:$,level:T,sortBy:E}=x;return{"fa-fw":(N==null?void 0:N.defaultSet)==="fa","mx-1":!0,[`${oe}--header-row-th-sortable-sort-icon`]:!0,[`${oe}--header-row-th-sortable-sort-icon-${T}`]:!0,[`${oe}--header-row-th-sortable-sort-icon-desc`]:ln({id:$,sortBy:E})==="desc",[`${oe}--header-row-th-sortable-sort-icon-asc`]:ln({id:$,sortBy:E})==="asc"}})({iconOptions:i,key:w,level:a.level,sortBy:a.sortBy}),m=t.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"small":(f.value=(a==null?void 0:a.sortAscIcon)??"$sortAsc","default"));function S(w){return ur(w)}return(w,x)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("tr",{class:t.normalizeClass(t.unref(g))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),N=>{return t.openBlock(),t.createElementBlock(t.Fragment,{key:N},[t.unref(l)[`column.${N.key}`]||t.unref(l)[`header.${N.key}`]?(t.openBlock(),t.createElementBlock("th",{key:0,class:t.normalizeClass(y(N,N.key)),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0))},[t.renderSlot(w.$slots,`header.${N.key}`,{column:N},void 0,!0)],14,Li)):N.key==="data-table-group"||N.key==="data-table-group"?(t.openBlock(),t.createElementBlock("th",{key:1,class:t.normalizeClass(y(N,"header-data-table-group")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0)),innerHTML:S(N)},null,14,Oi)):N.key==="data-table-select"||N.key==="data-table-select"&&w.showSelect?(t.openBlock(),t.createElementBlock("th",{key:2,class:t.normalizeClass(y(N,"header-data-table-select")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0))},[w.selectStrategy!=="single"?(t.openBlock(),t.createBlock(jl,{key:0,class:t.normalizeClass(t.unref(B)),density:w.density,focused:!1,indeterminate:t.unref(k),"model-value":t.unref(s),"onUpdate:modelValue":C},null,8,["class","density","indeterminate","model-value"])):t.createCommentVNode("",!0)],14,Mi)):N.key==="data-table-expand"?(t.openBlock(),t.createElementBlock("th",{key:3,class:t.normalizeClass(y(N,"data-table-expand")),colspan:N.colspan||1,style:t.normalizeStyle(V(N,!0)),innerHTML:S(N)},null,14,ji)):(t.openBlock(),t.createElementBlock("th",{key:4,class:t.normalizeClass(y(N)),colspan:N.colspan||1,style:t.normalizeStyle(V(N)),onClick:T=>function(E){E.sortable&&a.slotProps.toggleSort(E)}(N)},[t.createElementVNode("div",{class:t.normalizeClass(($=N.align,cr({align:$}))),style:t.normalizeStyle(P(N))},[t.createElementVNode("span",{innerHTML:S(N)},null,8,Wi),N.sortable&&t.unref(l)["header.sortIcon"]?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(F(N.key))},[t.renderSlot(w.$slots,"header.sortIcon",{},void 0,!0)],2)):N.sortable?(t.openBlock(),t.createBlock(ce,{key:1,class:t.normalizeClass(F(N.key)),icon:t.unref(f),size:t.unref(m)},null,8,["class","icon","size"])):t.createCommentVNode("",!0)],6)],14,zi))],64);var $}),128))],2),w.loaderSettings.loaderType&&!t.unref(l).loading?(t.openBlock(),t.createBlock(t.unref(Ri),{key:0,colors:w.colors,colspan:w.loaderSettings.colspan,height:w.loaderSettings.height,level:w.level,"loader-props":w.loaderProps,"loader-settings":w.loaderSettings,"loader-type":w.loaderSettings.loaderType,loading:w.loaderSettings.loading||!1,"loading-text":w.loaderSettings.loadingText,size:w.loaderSettings.size},null,8,["colors","colspan","height","level","loader-props","loader-settings","loader-type","loading","loading-text","size"])):t.createCommentVNode("",!0)],64))}}),Hi=Xl(Gi,[["__scopeId","data-v-d18d56b2"]]),Ui=["colspan"],qi=["colspan"],Ki=["colspan"],Yi=["colspan"],Xi=["innerHTML"],Ji=t.defineComponent({__name:"ItemSlot",props:{expandOnClick:{},itemSelectable:{},items:{},levels:{},showExpand:{},slotProps:{},density:{},level:{},showSelect:{}},emits:["click:row","click:row:checkbox","update:expanded"],setup(e,{emit:o}){const l=t.useSlots(),n=o,a=e,r=t.inject(Symbol.for("vuetify:icons")),i=t.computed(()=>a.slotProps.columns),s=t.computed(()=>a.slotProps.index),u=t.computed(()=>a.slotProps.isExpanded),c=t.computed(()=>a.slotProps.item),v=t.computed(()=>a.slotProps.internalItem),f=t.computed(()=>a.slotProps.level),p=t.computed(()=>a.slotProps.toggleExpand),d=t.computed(()=>a.slotProps.toggleSelect),h=t.computed(()=>a.itemSelectable),g=t.computed(()=>(k=>{const{expandOnClick:C,level:B,levels:F}=k;return{"v-data-table__tr":!0,"v-data-table__tr--clickable":C&&B(C=>{const{column:B,elm:F,level:m}=C;return{[`${oe}--${F}-row-td`]:!0,[`${oe}--${F}-row-td-${m}`]:!0,[`${B.cellClass}`]:B.cellClass||!1}})({column:k,elm:"body",level:a.level});function b(k){const{isRow:C,internalItem:B,level:F,toggleExpand:m}=k;if(!(a.level>=a.levels||a.expandOnClick&&!C)&&(!a.expandOnClick||C)){if(k.$event){if(!a.expandOnClick)return;n("click:row",k.$event)}F===a.level&&m(B),n("update:expanded",k)}}const V=t.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"x-small":"default");function P(k,C){return function(B,F){if(!F.key)return"";const m=$i(B,F.key);return F.renderItem?F.renderItem(m,B,F):m}(k,C)}return(k,C)=>(t.openBlock(),t.createElementBlock("tr",{class:t.normalizeClass(t.unref(g)),onClick:C[2]||(C[2]=B=>b({columns:t.unref(i),index:t.unref(s),isExpanded:t.unref(u),isRow:!0,item:t.unref(c),internalItem:t.unref(v),level:t.unref(f),toggleExpand:t.unref(p),$event:B}))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(i),B=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:B},[k.$slots[`item.${B.key}`]?(t.openBlock(),t.createElementBlock("td",{key:0,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.renderSlot(k.$slots,`item.${B.key}`,{columns:t.unref(i),index:t.unref(s),item:t.unref(c)},void 0,!0)],10,Ui)):B.key==="data-table-select"||B.key==="data-table-select"&&a.showSelect?(t.openBlock(),t.createElementBlock("td",{key:1,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.unref(l)["item.data-table-select"]?t.renderSlot(k.$slots,"item.data-table-select",{key:0},void 0,!0):t.createCommentVNode("",!0),t.createVNode(jl,{class:"d-flex v-simple-checkbox",density:k.density,disabled:t.unref(c).selectable===!1&&t.unref(h)==="selectable","model-value":k.slotProps.isSelected([t.unref(v)]),onClick:C[0]||(C[0]=t.withModifiers(F=>function(m){const{internalItem:S,item:w,toggleSelect:x}=m;x(S),n("click:row:checkbox",w)}({columns:t.unref(i),index:t.unref(s),internalItem:t.unref(v),item:t.unref(c),level:t.unref(f),toggleSelect:t.unref(d)}),["stop"]))},null,8,["density","disabled","model-value"])],10,qi)):B.key==="data-table-expand"||B.key==="data-table-expand"&&k.showExpand?(t.openBlock(),t.createElementBlock("td",{key:2,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.unref(f)b({columns:t.unref(i),index:t.unref(s),isExpanded:t.unref(u),item:t.unref(c),internalItem:t.unref(v),level:t.unref(f),toggleExpand:t.unref(p)}))},[k.$slots["item.data-table-expand"]?t.renderSlot(k.$slots,"item.data-table-expand",{key:0},void 0,!0):(t.openBlock(),t.createBlock(ce,{key:1,icon:"$expand",size:t.unref(V)},null,8,["size"]))],2)):t.createCommentVNode("",!0)],10,Ki)):(t.openBlock(),t.createElementBlock("td",{key:3,class:t.normalizeClass(y(B)),colspan:B.colspan||1},[t.createElementVNode("span",{innerHTML:P(t.unref(c),B)},null,8,Xi)],10,Yi))],64))),128))],2))}}),Zi=Xl(Ji,[["__scopeId","data-v-91892b42"]]),Qi=["colspan"],eu=["colspan"],tu=["colspan","innerHTML"],lu=["colspan","innerHTML"],ou=["colspan"],nu=["innerHTML"],au=t.defineComponent({__name:"TfootSlot",props:{colorPercentageChange:{},colorPercentageDirection:{},footerBackgroundColor:{},footerColor:{},footers:{},items:{},selectStrategy:{},slotProps:{},tableModelValue:{},colors:{},density:{},level:{}},emits:["click:selectAll"],setup(e,{emit:o}){const l=t.useSlots(),n=o,a=e,r=t.ref(),i=qt.useTheme(),s=t.ref(!1),u=t.ref(a.items),c=t.computed(()=>a.tableModelValue),v=t.computed(()=>a.footers.length?a.footers:a.slotProps.columns);t.watch(()=>a.items,k=>{u.value=k,r.value=(k==null?void 0:k.filter(C=>C.selectable))??[],r.value=k==null?void 0:k.filter(C=>C.selectable!==!1)});const f=t.computed(()=>(k=>{const{level:C}=k;return{[`${oe}--tfoot`]:!0,[`${oe}--tfoot-${C}`]:!0}})({level:a.level})),p=t.computed(()=>(k=>{const{level:C}=k;return{[`${oe}--tfoot-row`]:!0,[`${oe}--tfoot-row-${C}`]:!0}})({level:a.level})),d=(k,C="")=>(B=>{const{column:F,level:m,slotName:S=""}=B;return{[`${oe}--tfoot-row-td`]:!0,[`${oe}--tfoot-row-td-${S}`]:S!=="",[`${oe}--tfoot-row-td-${S}-${m}`]:S,[`${oe}--tfoot-row-td-${m}`]:!0,[`${F.cellClass}`]:F.cellClass||!1}})({column:k,level:a.level,slotName:C}),h=t.computed(()=>{const k=a.colors;return k&&(k.footer={background:a.footerBackgroundColor,color:a.footerColor},k.percentageChange=a.colorPercentageChange,k.percentageDirection=a.colorPercentageDirection),k}),g=t.computed(()=>(k=>{const{colors:C,elm:B,level:F,theme:m}=k,S=Yl({colors:C,level:F,prop:B,themeColors:m});return{backgroundColor:S.background,color:S.color}})({colors:h.value,elm:"footer",footerColor:a.footerColor,level:a.level,theme:i})),y=t.computed(()=>{var k;return!a.slotProps.allSelected&&((k=c==null?void 0:c.value)==null?void 0:k.length)!==0});function b(){s.value=!s.value,a.slotProps.selectAll(s.value),n("click:selectAll",s.value)}t.watch(()=>a.slotProps.allSelected,k=>{s.value=k}),t.watch(()=>a.slotProps.someSelected,()=>{if(a.slotProps.allSelected)return!1});const V=t.computed(()=>dr({level:a.level}));function P(k){return ur(k)}return(k,C)=>{var B;return(B=t.unref(v))!=null&&B.length?(t.openBlock(),t.createElementBlock("tfoot",{key:0,class:t.normalizeClass(t.unref(f))},[t.createElementVNode("tr",{class:t.normalizeClass(t.unref(p))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(v),F=>{return t.openBlock(),t.createElementBlock(t.Fragment,{key:F},[t.unref(l)[`tfoot.${F.key}`]?(t.openBlock(),t.createElementBlock("th",{key:0,class:t.normalizeClass(d(F,F.key)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[t.renderSlot(k.$slots,`tfoot.${F.key}`,{column:F})],14,Qi)):F.key==="data-table-select"?(t.openBlock(),t.createElementBlock("th",{key:1,class:t.normalizeClass(d(F,"tfoot-data-table-select")),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[k.selectStrategy!=="single"?(t.openBlock(),t.createBlock(jl,{key:0,class:t.normalizeClass(t.unref(V)),density:k.density,focused:!1,indeterminate:t.unref(y),"model-value":t.unref(s),"onUpdate:modelValue":b},null,8,["class","density","indeterminate","model-value"])):t.createCommentVNode("",!0)],14,eu)):F.key==="data-table-expand"?(t.openBlock(),t.createElementBlock("th",{key:2,class:t.normalizeClass(d(F,"tfoot-data-table-expand")),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g)),innerHTML:P(F)},null,14,tu)):F.renderFooterCell?(t.openBlock(),t.createElementBlock("th",{key:3,class:t.normalizeClass(d(F)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g)),innerHTML:P(F)},null,14,lu)):(t.openBlock(),t.createElementBlock("th",{key:4,class:t.normalizeClass(d(F)),colspan:F.colspan||1,style:t.normalizeStyle(t.unref(g))},[t.createElementVNode("div",{class:t.normalizeClass((m=F.align,cr({align:m})))},[t.createElementVNode("span",{innerHTML:P(F)},null,8,nu)],2)],14,ou))],64);var m}),128))],2)],2)):t.createCommentVNode("",!0)}}}),ru=t.defineComponent({__name:"TopSlot",props:{items:{},level:{},loading:{},searchContainerCols:{},searchProps:{},showSearch:{type:Boolean},slotProps:{}},emits:["click:selectAll","update:search"],setup(e,{emit:o}){const l=t.useSlots(),n=o,a=e,r=t.ref(""),i=t.ref(!0),s=t.computed(()=>a.items),u=t.computed(()=>({allSelected:a.slotProps.allSelected,columns:a.slotProps.columns,headers:a.slotProps.headers,items:s,itemsPerPage:a.slotProps.itemsPerPage,level:a.level,loading:a.loading,page:a.slotProps.page,pageCount:a.slotProps.pageCount,search:t.unref(r),selectAll:c,setItemsPerPage:a.slotProps.setItemsPerPage,toggleSelectAll:v}));function c(d){a.slotProps.selectAll(d),n("click:selectAll",d)}function v(){a.slotProps.selectAll(!a.slotProps.allSelected),n("click:selectAll",!a.slotProps.allSelected)}t.onMounted(()=>{const d=document.querySelector(`[data-id="vdt-top-id-${a.level}"]`);(d==null?void 0:d.children.length)===0&&(i.value=!1)}),t.watch(r,()=>{n("update:search",r.value)});const f=t.computed(()=>({density:"compact",hideDetails:!0,label:"Search",singleLine:!0,variant:"underlined",...a.searchProps})),p=t.computed(()=>{const d=a.searchContainerCols??ir.searchContainerCols();return{[`${oe}--search-field`]:!0,[`v-col-${d.xs}`]:!0,[`v-col-sm-${d.sm}`]:!0,[`v-col-md-${d.md}`]:!0,[`v-col-lg-${d.lg}`]:!0,[`v-col-xl-${d.xl}`]:!0,[`v-col-xxl-${d.xxl}`]:!0}});return(d,h)=>t.unref(l).top?t.renderSlot(d.$slots,"top",t.normalizeProps(t.mergeProps({key:0},t.unref(u)))):(d.showSearch||t.unref(l)["top.left"]||t.unref(l)["top.right"])&&t.unref(i)?(t.openBlock(),t.createBlock(Ke,{key:1,lg:"12"},{default:t.withCtx(()=>[t.createVNode(sr,{"data-id":`vdt-top-id-${a.level}`},{default:t.withCtx(()=>[t.unref(l)["top.left"]?t.renderSlot(d.$slots,"top.left",t.normalizeProps(t.mergeProps({key:0},t.unref(u)))):d.showSearch?(t.openBlock(),t.createBlock(Ke,{key:1,class:t.normalizeClass(["d-flex align-center justify-end",t.unref(p)])},{default:t.withCtx(()=>[d.showSearch?(t.openBlock(),t.createBlock(Vl,t.mergeProps({key:0},t.unref(f),{modelValue:t.unref(r),"onUpdate:modelValue":h[0]||(h[0]=g=>t.isRef(r)?r.value=g:null),class:"mt-0 pt-0"}),null,16,["modelValue"])):t.createCommentVNode("",!0)]),_:1},8,["class"])):t.createCommentVNode("",!0),t.unref(l)["top.right"]?t.renderSlot(d.$slots,"top.right",t.normalizeProps(t.mergeProps({key:2},t.unref(u)))):t.createCommentVNode("",!0)]),_:3},8,["data-id"])]),_:3})):t.createCommentVNode("",!0)}});function on(e){return typeof e=="function"?e():t.unref(e)}const nn=()=>{},su=e=>e();function iu(e,o={}){let l,n,a=nn;const r=i=>{clearTimeout(i),a(),a=nn};return i=>{const s=on(e),u=on(o.maxWait);return l&&r(l),s<=0||u!==void 0&&u<=0?(n&&(r(n),n=null),Promise.resolve(i())):new Promise((c,v)=>{a=o.rejectOnCancel?v:c,u&&!n&&(n=setTimeout(()=>{l&&r(l),n=null,c(i())},u)),l=setTimeout(()=>{n&&r(n),n=null,c(i())},s)})}}function uu(e,o,l={}){const{eventFilter:n=su,...a}=l;return t.watch(e,(r=n,i=o,function(...s){return new Promise((u,c)=>{Promise.resolve(r(()=>i.apply(this,s),{fn:i,thisArg:this,args:s})).then(u).catch(c)})}),a);var r,i}function an(e,o,l={}){const{debounce:n=0,maxWait:a,...r}=l;return uu(e,o,{...r,eventFilter:iu(n,{maxWait:a})})}const ot=new Map,cu=["colspan"],vl=t.defineComponent({__name:"VDrilldownTable",props:t.mergeDefaults({colorPercentageChange:{},colorPercentageDirection:{},colors:{},columnWidths:{},customFilter:{},customKeyFilter:{},defaultColors:{},density:{},drilldown:{},drilldownKey:{},elevation:{},expandOnClick:{},expanded:{},filterKeys:{},filterMode:{},fixedFooter:{type:Boolean},fixedHeader:{type:Boolean},footerBackgroundColor:{},footerColor:{},footers:{},groupBy:{},headerBackgroundColor:{},headerColor:{},headers:{},height:{},hideNoData:{},hover:{},isDrilldown:{type:Boolean},item:{},itemChildrenKey:{},itemSelectable:{},itemValue:{},items:{},itemsLength:{},itemsPerPage:{},itemsPerPageOptions:{},level:{},levels:{},loaderProps:{},loaderSize:{},loaderType:{type:[String,Array,Boolean,null]},loading:{},loadingText:{},matchColumnWidths:{type:Boolean},modelValue:{},multiSort:{},mustSort:{},noDataText:{},noFilter:{},page:{},returnObject:{},search:{},searchContainerCols:{},searchDebounce:{},searchMaxWait:{},searchProps:{},separator:{},server:{type:Boolean},selectStrategy:{},showDrilldownWhenLoading:{type:Boolean},showExpand:{},showFooterRow:{type:Boolean},showSearch:{type:Boolean},showSelect:{},sortAscIcon:{},sortBy:{},tableType:{},width:{}},{...ir}),emits:["click:row","click:row:checkbox","update:expanded","update:drilldown","update:options","update:itemsPerPage","update:page","update:search","update:sortBy"],setup(e,{emit:o}){const l=o,n=e,a=t.inject(Pl,{}),r=t.ref({...n,...a}),{colorPercentageChange:i,colorPercentageDirection:s,elevation:u,expandOnClick:c,footerBackgroundColor:v,footerColor:f,headerBackgroundColor:p,headerColor:d,hover:h,itemsPerPageOptions:g,loaderProps:y,loaderType:b,separator:V,sortAscIcon:P}=t.toRefs(r.value),k=t.useSlots(),C=t.useAttrs(),B=t.shallowRef(null),F=t.computed(()=>n.density);t.onMounted(()=>{n.level===1&&m.level!==1||m.server||_()}),t.onBeforeMount(()=>{B.value=Object.assign({},n.server?yi:gi)});let m=t.reactive(Object.assign({},n));m!=null&&m.colors&&(m.colors.default={...Ht,...r.value.defaultColors});const S={...n,...m},w=t.ref(C["data-vdt-id"]??`v-drilldown-table-${Date.now()}`),x=t.ref(""),N=qt.useTheme(),$=t.computed(()=>m.sortBy),T=t.computed(()=>!!m.loading||m.hideNoData);(function(A,W,ee){const U=t.watch(A,(...Y)=>(t.nextTick(()=>U()),W(...Y)),ee)})(n,()=>{n.level===1&&m.level!==1||_(),m.itemsPerPage=n.itemsPerPage},{immediate:!1}),t.watch(()=>n.items,()=>{n.loading||_()},{deep:!0}),t.watch(()=>n.loading,()=>{if(n.loading)return m.loading=n.loading,!1;_()}),t.watchEffect(()=>{m.colors&&r.value.defaultColors&&(m.colors.default={...Ht,...r.value.defaultColors})}),t.watchEffect(()=>{r.value={...n,...a}});const E=A=>{const W=t.unref(r.value.loaderType);return!(A&&(W==="skelton"||Array.isArray(W)&&W.length===1&&W[0]==="skelton"||!m.showDrilldownWhenLoading))},R=t.computed(()=>(A=>{const{elevation:W,fixedHeader:ee,isDrilldown:U,isHover:Y,isServerSide:Q,level:te,separator:re}=A;return{[`${oe}--child`]:U,[`${oe}--fixed-header`]:ee,[`${oe}--hover`]:Y,[`${oe}--level-${te}`]:!0,[`${oe}--server`]:Q,[`${oe}--separator-${re}`]:re,[`${oe}`]:!0,[`elevation-${W}`]:parseInt(W)>0}})({elevation:t.unref(u),fixedHeader:m.fixedHeader,isDrilldown:n.isDrilldown,isHover:t.unref(h),isServerSide:!1,level:m.level,separator:t.unref(V)})),G=t.computed(()=>(A=>{const{colors:W,level:ee,theme:U}=A;let Y={};typeof W=="object"&&W!==null&&(Y=Yl({colors:W,level:ee,prop:"default",themeColors:U}));const Q={borderBottom:"none"};return Y.border&&(Q.borderBottom=`1px solid ${Y.border}`),Q})({colors:m.colors,level:m.level,theme:N}));function _(){var A;n.drilldown?m=(W=>{const{drilldown:ee,item:U,level:Y,levels:Q,loadedDrilldown:te}=W;let re=te;const be=U;re=at(te,ee);const Ge=(te.items||[{}]).find(gt=>{const ht=gt[te.drilldownKey];let et={};return be&&(et=be[te.drilldownKey]),ht===et});return re=at(te,Ge[te.itemChildrenKey]),Q===Y&&(re.showExpand=!1),re})({drilldown:n.drilldown,item:n.item,level:n.level,levels:n.levels,loadedDrilldown:m,matchColumnWidths:n.matchColumnWidths}):(m=at(m,n),n.matchColumnWidths&&((A=m==null?void 0:m.columnWidths)==null?void 0:A.length)===0&&(m.columnWidths=(W=>{const{tableId:ee}=W,U=[],Y=t.unref(ee),Q=document.querySelectorAll(`[data-vdt-id="${Y}"] .v-drilldown-table--header-row-th-1`);if(Object.keys(Q).length>0)for(let te=0;te{const{data:U,drilldownData:Y,emit:Q}=ee;U.isExpanded(U.internalItem)&&Q("update:drilldown",Y),Q("update:expanded",U.item)})({data:A,drilldownData:W,emit:l})}function O(A){return{items:A.items,itemsPerPage:A.itemsPerPage,page:A.page,search:x.value,server:A.server,sortBy:A.sortBy}}const H=function(A){const W=t.getCurrentScope();function ee(Q){var te;const re=ot.get(A)||new Set;re.add(Q),ot.set(A,re);const be=()=>U(Q);return(te=W==null?void 0:W.cleanups)==null||te.push(be),be}function U(Q){const te=ot.get(A);te&&(te.delete(Q),te.size||Y())}function Y(){ot.delete(A)}return{on:ee,once:function(Q){return ee(function te(...re){U(te),Q(...re)})},off:U,emit:function(Q,te){var re;(re=ot.get(A))==null||re.forEach(be=>be(Q,te))},reset:Y}}(gr),X=H.on(function(A){n.level===1&&A.drilldown.server&&l("update:options",{...A})});function q(A){m.itemsPerPage=A;const W=O(m),ee={drilldown:{...n,...W,itemsPerPage:A},itemsPerPage:A,name:"update:itemsPerPage"};H.emit(ee),l("update:itemsPerPage",A)}function K(A){m.page=A;const W=O(m),ee={drilldown:{...n,...W,page:A},name:"update:page",page:A};H.emit(ee),l("update:page",A)}t.onUnmounted(()=>{X()});const I={debounce:m.searchDebounce,maxWait:m.searchMaxWait};function M(){k.top||k["top.left"]||(m.search=x.value),(k.top||k["top.left"])&&(x.value=n.search||"");const A=O(m),W={drilldown:{...n,...A,search:x.value},search:x.value};H.emit(W),l("update:search",W)}function z(A){m.sortBy=A;const W=O(m),ee={drilldown:{...n,...W,sortBy:A},name:"update:sortBy",sortBy:A};H.emit(ee),l("update:sortBy",A)}function j(){}return an(()=>n.search,()=>{M()},I),an(x,()=>{k.top||k["top.left"]||M()},I),(A,W)=>{const ee=t.resolveComponent("VDrilldownTable",!0);return t.unref(B)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(B)),t.mergeProps({key:0},A.$attrs,{modelValue:t.unref(m).modelValue,"onUpdate:modelValue":[W[5]||(W[5]=U=>t.unref(m).modelValue=U),j],class:t.unref(R),"data-vdt-id":t.unref(w),density:t.unref(F),"expand-on-click":t.unref(c),expanded:t.unref(m).expanded,"fixed-header":t.unref(m).fixedHeader,"group-by":t.unref(m).groupBy,headers:t.unref(m).headers,height:t.unref(m).height,"hide-no-data":t.unref(T),hover:t.unref(h),"item-selectable":t.unref(m).itemSelectable,"item-value":t.unref(m).itemValue,items:t.unref(m).items,"items-length":t.unref(m).itemsLength,"items-per-page":t.unref(m).itemsPerPage,"items-per-page-options":t.unref(g),loading:(!t.unref(b)||t.unref(k).loading)&&t.unref(m).loading,"multi-sort":t.unref(m).multiSort,"must-sort":t.unref(m).mustSort,"no-data-text":t.unref(m).noDataText,page:t.unref(m).page,"return-object":t.unref(m).returnObject,search:t.unref(x),"select-strategy":t.unref(m).selectStrategy,"show-expand":t.unref(m).showExpand,"sort-by":t.unref($),style:t.unref(G),"onUpdate:itemsPerPage":q,"onUpdate:page":K,"onUpdate:sortBy":z}),t.createSlots({top:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(ru),{key:A.level,items:t.unref(m).items,level:t.unref(m).level,loading:t.unref(m).loading,"search-container-cols":t.unref(m).searchContainerCols,"search-props":t.unref(m).searchProps,"show-search":t.unref(m).showSearch??!1,"slot-props":U,"onUpdate:search":W[0]||(W[0]=Y=>x.value=Y)},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["items","level","loading","search-container-cols","search-props","show-search","slot-props"]))]),headers:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Hi),{key:A.level,colorPercentageChange:t.unref(i),colorPercentageDirection:t.unref(s),colors:t.unref(m).colors,"column-widths":t.unref(m).columnWidths,density:t.unref(F),headerBackgroundColor:t.unref(r).headerBackgroundColor,headerColor:t.unref(d),items:t.unref(m).items,level:A.level,"loader-props":t.unref(y),"loader-settings":{colspan:U.columns.length,loaderType:t.unref(b),loading:t.unref(m).loading,loadingText:A.loadingText},"match-column-widths":t.unref(m).matchColumnWidths,"select-strategy":t.unref(m).selectStrategy,"show-select":t.unref(m).showSelect,"slot-props":{...U},"sort-asc-icon":t.unref(P),"sort-by":t.unref(m).sortBy,"table-model-value":t.unref(m).modelValue},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["colorPercentageChange","colorPercentageDirection","colors","column-widths","density","headerBackgroundColor","headerColor","items","level","loader-props","loader-settings","match-column-widths","select-strategy","show-select","slot-props","sort-asc-icon","sort-by","table-model-value"]))]),item:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Zi),{key:A.level,density:t.unref(F),"expand-on-click":t.unref(c),"group-by":t.unref(m).groupBy,"item-selectable":t.unref(m).itemSelectable,items:t.unref(m).items,level:t.unref(m).level,levels:t.unref(m).levels,"show-expand":t.unref(m).showExpand,"show-select":t.unref(m).showSelect,"slot-props":{level:A.level,...U},"onClick:row":W[1]||(W[1]=Y=>{l("click:row",Y)}),"onClick:row:checkbox":W[2]||(W[2]=Y=>{l("click:row:checkbox",Y)}),"onUpdate:expanded":W[3]||(W[3]=Y=>L(Y))},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["density","expand-on-click","group-by","item-selectable","items","level","levels","show-expand","show-select","slot-props"]))]),"expanded-row":t.withCtx(({columns:U,item:Y,internalItem:Q})=>{var te,re,be,Ge,gt,ht,et,Jl,Zl,Ql,eo;return[t.createElementVNode("tr",{class:t.normalizeClass(E((te=Y[A.itemChildrenKey])==null?void 0:te.loading)?"":"d-none")},[t.createElementVNode("td",{class:"px-0 ma-0",colspan:U.length,style:{"vertical-align":"top"}},[(t.openBlock(),t.createBlock(ee,{key:Q.key,"column-widths":t.unref(m).columnWidths,defaultColors:t.unref(r).defaultColors,density:t.unref(F),drilldown:t.unref(m),"footer-background-color":t.unref(v),"footer-color":t.unref(f),"header-background-color":t.unref(p),"header-color":t.unref(d),headers:(re=Y[A.itemChildrenKey])==null?void 0:re.headers,"is-drilldown":!0,item:Y,items:(be=Y[A.itemChildrenKey])==null?void 0:be.items,"items-length":(Ge=Y[A.itemChildrenKey])==null?void 0:Ge.itemsLength,"items-per-page":(gt=Y[A.itemChildrenKey])==null?void 0:gt.itemsPerPage,level:A.level+1,levels:t.unref(m).levels,loaderProps:(ht=Y[A.itemChildrenKey])==null?void 0:ht.loaderProps,loaderType:(et=Y[A.itemChildrenKey])==null?void 0:et.loaderType,loading:(Jl=Y[A.itemChildrenKey])==null?void 0:Jl.loading,loadingText:A.loadingText,"match-column-widths":t.unref(m).matchColumnWidths,"multi-sort":(Zl=Y[A.itemChildrenKey])==null?void 0:Zl.multiSort,"no-data-text":t.unref(m).noDataText,server:(Ql=Y[A.itemChildrenKey])==null?void 0:Ql.server,"show-footer-row":(eo=Y[A.itemChildrenKey])==null?void 0:eo.showFooterRow,"sort-by":t.unref(m).sortBy,"table-type":t.unref(B),"onUpdate:drilldown":W[4]||(W[4]=yt=>L(yt)),"onUpdate:modelValue":j},t.createSlots({default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(t.unref(k)),yt=>t.renderSlot(A.$slots,yt)),256))]),_:2},[t.renderList(t.unref(k),(yt,to)=>({name:to,fn:t.withCtx(mr=>[t.renderSlot(A.$slots,to,t.normalizeProps(t.guardReactiveProps({...mr})))])}))]),1032,["column-widths","defaultColors","density","drilldown","footer-background-color","footer-color","header-background-color","header-color","headers","item","items","items-length","items-per-page","level","levels","loaderProps","loaderType","loading","loadingText","match-column-widths","multi-sort","no-data-text","server","show-footer-row","sort-by","table-type"]))],8,cu)],2)]}),"footer.prepend":t.withCtx(()=>[t.unref(k)["footer.prepend"]?t.renderSlot(A.$slots,"footer.prepend",{key:0}):t.createCommentVNode("",!0)]),_:2},[t.unref(k).loader?{name:"loader",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"loader")]),key:"0"}:void 0,t.unref(k).loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"loading")]),key:"1"}:void 0,t.unref(k).thead?{name:"thead",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"thead",t.normalizeProps(t.guardReactiveProps({...U,columnWidths:t.unref(m).columnWidths,items:t.unref(m).items,loaderSettings:{colspan:U.columns.length,loaderType:t.unref(b),loading:t.unref(m).loading,loadingText:A.loadingText},matchColumnWidths:t.unref(m).matchColumnWidths,selectStrategy:t.unref(m).selectStrategy,sortBy:t.unref(m).sortBy})))]),key:"2"}:void 0,t.unref(k).body?{name:"body",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"body",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"3"}:void 0,t.unref(k)["group-header"]?{name:"group-header",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"group-header",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"4"}:void 0,t.unref(k).tbody?{name:"tbody",fn:t.withCtx(U=>[t.renderSlot(A.$slots,"tbody",t.normalizeProps(t.guardReactiveProps({...U})))]),key:"5"}:void 0,t.unref(k)["no-data"]?{name:"no-data",fn:t.withCtx(()=>[t.renderSlot(A.$slots,"no-data")]),key:"6"}:void 0,t.unref(k).tfoot||A.showFooterRow?{name:"tfoot",fn:t.withCtx(U=>[t.unref(k).tfoot?t.renderSlot(A.$slots,"tfoot",t.normalizeProps(t.mergeProps({key:0},{...U}))):(t.openBlock(),t.createBlock(t.unref(au),{key:A.level,colorPercentageChange:t.unref(i),colorPercentageDirection:t.unref(s),colors:t.unref(m).colors,density:t.unref(F),footerBackgroundColor:t.unref(v),footerColor:t.unref(f),footers:t.unref(m).footers||[],items:t.unref(m).items,level:t.unref(m).level,"select-strategy":t.unref(m).selectStrategy,"show-select":t.unref(m).showSelect,"slot-props":{...U},"table-model-value":t.unref(m).modelValue},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["colorPercentageChange","colorPercentageDirection","colors","density","footerBackgroundColor","footerColor","footers","items","level","select-strategy","show-select","slot-props","table-model-value"]))]),key:"7"}:void 0,t.unref(k).bottom?{name:"bottom",fn:t.withCtx(U=>[(t.openBlock(),t.createBlock(t.unref(Ei),{key:A.level,"slot-props":U},t.createSlots({_:2},[t.renderList(t.unref(k),(Y,Q)=>({name:Q,fn:t.withCtx(te=>[t.renderSlot(A.$slots,Q,t.normalizeProps(t.guardReactiveProps({...te})))])}))]),1032,["slot-props"]))]),key:"8"}:void 0]),1040,["modelValue","class","data-vdt-id","density","expand-on-click","expanded","fixed-header","group-by","headers","height","hide-no-data","hover","item-selectable","item-value","items","items-length","items-per-page","items-per-page-options","loading","multi-sort","must-sort","no-data-text","page","return-object","search","select-strategy","show-expand","sort-by","style"])):t.createCommentVNode("",!0)}}}),Pl=Symbol();exports.VDrilldownTable=vl,exports.createVDrilldownTable=function(e={}){return{install:o=>{o.provide(Pl,e),o.component("VDrilldownTable",vl)}}},exports.default=vl,exports.globalOptions=Pl; +(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".v-drilldown-table--loader-tr[data-v-b954d026]{height:0;position:relative;top:0;width:100%;z-index:100}.v-drilldown-table--loader-tr-not-linear td[data-v-b954d026]{height:0!important}.v-drilldown-table--loader-tr>td[data-v-b954d026]{border:0!important}.v-drilldown-table--loader-tr-vrow[data-v-b954d026]{background:rgb(var(--v-theme-surface))}.v-drilldown-table--header-select-all-checkbox[data-v-d18d56b2]{opacity:var(--v-medium-emphasis-opacity)}.v-drilldown-table--header-row-th-sortable[data-v-d18d56b2]{cursor:pointer}.v-drilldown-table--header-row-th-sortable-sort-icon[data-v-d18d56b2]{display:inline-flex;opacity:0;transform:rotate(0);transition:all .25s ease-in-out}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2]{transform:rotate(0)}.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2]{transform:rotate(180deg)}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-high-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable-default-color:hover div[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-high-emphasis-opacity))}.v-drilldown-table--header-row-th-sortable-default-color div[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity));transition:all .25s ease-in-out}.v-drilldown-table--expand-icon[data-v-91892b42]{cursor:pointer}.v-drilldown-table--footer-row th{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity))}:root{--vdt-border: thin solid rgb(var(--v-border-color) var(--v-border-opacity))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr:hover td{background:rgb(var(--v-border-color) var(--v-hover-opacity))}.v-drilldown-table--expand-icon{transform:rotate(0);transition:all .3s ease-in-out}.v-drilldown-table--expand-icon.rotate-180{transform:rotate(180deg)}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr:hover td{background:rgb(var(--v-border-color) var(--v-hover-opacity))}.v-drilldown-table--separator-horizontal thead tr th{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tbody>tr:last-child>th,.v-drilldown-table--separator-horizontal tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tfoot tr>th,.v-drilldown-table--separator-horizontal tfoot tr>td{border-bottom:var(--vdt-border);border-top:0!important}.v-drilldown-table--separator-vertical thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-vertical tbody>tr>td{border-bottom:0!important}.v-drilldown-table--separator-vertical tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-vertical tfoot tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-cell thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-cell tfoot>tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-cell tfoot>tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table tbody{height:2px;min-height:2px;position:relative}.v-drilldown-table .v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{box-shadow:none}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>th{box-shadow:none!important}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>td{background:unset}.v-drilldown-table .v-data-table-footer{border-bottom:var(--vdt-border);padding-bottom:4px;padding-top:4px}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); diff --git a/dist/vuetify-drilldown-table.es.js b/dist/vuetify-drilldown-table.es.js index 7657bce..b96f5b9 100644 --- a/dist/vuetify-drilldown-table.es.js +++ b/dist/vuetify-drilldown-table.es.js @@ -1,8 +1,8 @@ -import { Fragment as pe, reactive as Yt, computed as m, watchEffect as Ne, toRefs as gn, isVNode as us, Comment as cs, capitalize as Ft, unref as b, warn as El, ref as J, provide as ke, inject as Se, shallowRef as de, defineComponent as rt, camelize as Ya, h as $t, getCurrentInstance as ds, onBeforeUnmount as Ze, watch as oe, readonly as mn, onScopeDispose as Le, effectScope as yn, toRaw as nt, TransitionGroup as ps, Transition as mt, createVNode as d, mergeProps as te, onBeforeMount as hn, nextTick as Fe, withDirectives as Ge, resolveDirective as yt, vShow as Vt, isRef as It, onMounted as ht, toRef as q, Text as vs, resolveDynamicComponent as Xa, Teleport as fs, cloneVNode as gs, createTextVNode as pl, onBeforeUpdate as ms, withModifiers as en, toDisplayString as Ja, renderSlot as be, openBlock as ne, createElementBlock as ye, normalizeClass as ge, normalizeStyle as De, createElementVNode as Ke, createBlock as we, withCtx as fe, normalizeProps as _e, guardReactiveProps as We, createCommentVNode as Ce, useSlots as Xt, renderList as He, getCurrentScope as ys, mergeDefaults as hs, useAttrs as bs, onUnmounted as Ss, resolveComponent as xs, createSlots as dt } from "vue"; -import { useTheme as Dl } from "vuetify"; +import { Fragment as pe, reactive as Xt, computed as m, watchEffect as Re, toRefs as gn, isVNode as cs, Comment as ds, capitalize as Ft, unref as b, warn as El, ref as J, provide as ke, inject as Se, shallowRef as de, defineComponent as rt, camelize as Xa, h as $t, getCurrentInstance as ps, onBeforeUnmount as Ze, watch as ae, readonly as mn, onScopeDispose as Le, effectScope as yn, toRaw as nt, TransitionGroup as vs, Transition as mt, createVNode as c, mergeProps as ee, onBeforeMount as hn, nextTick as Fe, withDirectives as Ge, resolveDirective as yt, vShow as Vt, isRef as It, onMounted as ht, toRef as q, Text as fs, resolveDynamicComponent as Ja, Teleport as gs, cloneVNode as ms, createTextVNode as vl, onBeforeUpdate as ys, withModifiers as en, toDisplayString as Za, renderSlot as be, openBlock as ne, createElementBlock as ye, normalizeClass as ge, normalizeStyle as Te, createElementVNode as Ke, createBlock as we, withCtx as fe, normalizeProps as _e, guardReactiveProps as We, createCommentVNode as Ce, useSlots as Jt, renderList as He, getCurrentScope as hs, mergeDefaults as bs, useAttrs as Ss, onUnmounted as xs, resolveComponent as ws, createSlots as dt } from "vue"; +import { useTheme as Tl } from "vuetify"; /** * @name @wdns/vuetify-drilldown-table - * @version 1.1.0 + * @version 1.1.2 * @description The Vuetify Drilldown Table is a powerful component that enhances the functionality of the Vuetify framework's VDataTable and VDataTableServer. It provides a recursive table structure, allowing you to display hierarchical data in a nested format. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2024, WebDevNerdStuff @@ -10,15 +10,15 @@ import { useTheme as Dl } from "vuetify"; * @repository https://github.com/webdevnerdstuff/vuetify-drilldown-table * @license MIT License */ -const ws = Symbol("data"); -function R(e, n) { +const ks = Symbol("data"); +function O(e, n) { return (t) => Object.keys(e).reduce((l, a) => { const o = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : { type: e[a] }; return l[a] = t && a in t ? { ...o, default: t[a] } : o, n && !l[a].source && (l[a].source = n), l; }, {}); } -const ve = R({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ee = typeof window < "u", bn = Ee && "IntersectionObserver" in window; -function Za(e, n, t) { +const ve = O({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ee = typeof window < "u", bn = Ee && "IntersectionObserver" in window; +function Qa(e, n, t) { const l = n.length - 1; if (l < 0) return e === void 0 ? t : e; @@ -38,9 +38,9 @@ function st(e, n) { return t.length === Object.keys(n).length && t.every((l) => st(e[l], n[l])); } function zt(e, n, t) { - return e != null && n && typeof n == "string" ? e[n] !== void 0 ? e[n] : Za(e, (n = (n = n.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), t) : t; + return e != null && n && typeof n == "string" ? e[n] !== void 0 ? e[n] : Qa(e, (n = (n = n.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), t) : t; } -function Te(e, n, t) { +function De(e, n, t) { if (n === !0) return e === void 0 ? t : e; if (n == null || typeof n == "boolean") @@ -54,24 +54,24 @@ function Te(e, n, t) { if (typeof n == "string") return zt(e, n, t); if (Array.isArray(n)) - return Za(e, n, t); + return Qa(e, n, t); if (typeof n != "function") return t; const l = n(e, t); return l === void 0 ? t : l; } -function nl(e) { +function al(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; return Array.from({ length: e }, (t, l) => n + l); } -function ae(e) { +function oe(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${n}` : void 0; } function tn(e) { return e !== null && typeof e == "object" && !Array.isArray(e); } -function vl(e) { +function fl(e) { if (e && "$el" in e) { const n = e.$el; return (n == null ? void 0 : n.nodeType) === Node.TEXT_NODE ? n.nextElementSibling : n; @@ -82,7 +82,7 @@ const qn = Object.freeze({ enter: 13, tab: 9, delete: 46, esc: 27, space: 32, up function zl(e, n) { return n.every((t) => e.hasOwnProperty(t)); } -function Qa(e, n) { +function eo(e, n) { const t = {}, l = new Set(Object.keys(e)); for (const a of n) l.has(a) && (t[a] = e[a]); @@ -98,9 +98,9 @@ function bt(e, n) { const t = { ...e }; return n.forEach((l) => delete t[l]), t; } -const eo = /^on[^a-z]/, fl = (e) => eo.test(e), ks = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; +const to = /^on[^a-z]/, gl = (e) => to.test(e), Cs = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; function Sn(e) { - const [n, t] = Yn(e, [eo]), l = bt(n, ks), [a, o] = Yn(t, ["class", "style", "id", /^data-/]); + const [n, t] = Yn(e, [to]), l = bt(n, Cs), [a, o] = Yn(t, ["class", "style", "id", /^data-/]); return Object.assign(a, n), Object.assign(o, l), [a, o]; } function Ie(e) { @@ -124,8 +124,8 @@ function Pt() { } return l; } -function to(e) { - return e.map((n) => n.type === pe ? to(n.children) : n).flat(); +function lo(e) { + return e.map((n) => n.type === pe ? lo(n.children) : n).flat(); } function vt() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; @@ -134,36 +134,36 @@ function vt() { const n = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); return vt.cache.set(e, n), n; } -function ul(e, n) { +function cl(e, n) { if (!n || typeof n != "object") return []; if (Array.isArray(n)) - return n.map((t) => ul(e, t)).flat(1); + return n.map((t) => cl(e, t)).flat(1); if (Array.isArray(n.children)) - return n.children.map((t) => ul(e, t)).flat(1); + return n.children.map((t) => cl(e, t)).flat(1); if (n.component) { if (Object.getOwnPropertySymbols(n.component.provides).includes(e)) return [n.component]; if (n.component.subTree) - return ul(e, n.component.subTree).flat(1); + return cl(e, n.component.subTree).flat(1); } return []; } function xn(e) { - const n = Yt({}), t = m(e); - return Ne(() => { + const n = Xt({}), t = m(e); + return Re(() => { for (const l in t.value) n[l] = t.value[l]; }, { flush: "sync" }), gn(n); } -function gl(e, n) { +function ml(e, n) { return e.includes(n); } function Jn(e) { return e[2].toLowerCase() + e.slice(3); } vt.cache = /* @__PURE__ */ new Map(); -const Re = () => [Function, Array]; +const Ne = () => [Function, Array]; function Zn(e, n) { return !!(e[n = "on" + Ft(n)] || e[`${n}Once`] || e[`${n}Capture`] || e[`${n}OnceCapture`] || e[`${n}CaptureOnce`]); } @@ -172,7 +172,7 @@ function ln(e) { const t = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${n ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); return [...e.querySelectorAll(t)]; } -function lo(e, n, t) { +function no(e, n, t) { let l, a = e.indexOf(document.activeElement); const o = n === "next" ? 1 : -1; do @@ -180,7 +180,7 @@ function lo(e, n, t) { while ((!l || l.offsetParent == null || !((t == null ? void 0 : t(l)) ?? 1)) && a < e.length && a >= 0); return l; } -function ml(e, n) { +function yl(e, n) { var l, a, o, s; const t = ln(e); if (n) @@ -191,16 +191,16 @@ function ml(e, n) { else if (typeof n == "number") (o = t[n]) == null || o.focus(); else { - const r = lo(t, n); - r ? r.focus() : ml(e, n === "next" ? "first" : "last"); + const r = no(t, n); + r ? r.focus() : yl(e, n === "next" ? "first" : "last"); } else e !== document.activeElement && e.contains(document.activeElement) || ((s = t[0]) == null || s.focus()); } -function al(e) { +function ol(e) { return e == null || typeof e == "string" && e.trim() === ""; } -function yl(e, n) { +function hl(e, n) { if (!(Ee && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${n})`))) return null; try { @@ -209,13 +209,13 @@ function yl(e, n) { return null; } } -function no(e) { - return e.some((n) => !us(n) || n.type !== cs && (n.type !== pe || no(n.children))) ? e : null; +function ao(e) { + return e.some((n) => !cs(n) || n.type !== ds && (n.type !== pe || ao(n.children))) ? e : null; } -const ao = ["top", "bottom"], Cs = ["start", "end", "left", "right"]; +const oo = ["top", "bottom"], Ps = ["start", "end", "left", "right"]; function nn(e, n) { let [t, l] = e.split(" "); - return l || (l = gl(ao, t) ? "start" : gl(Cs, t) ? "top" : "center"), { side: Qn(t, n), align: Qn(l, n) }; + return l || (l = ml(oo, t) ? "start" : ml(Ps, t) ? "top" : "center"), { side: Qn(t, n), align: Qn(l, n) }; } function Qn(e, n) { return e === "start" ? n ? "right" : "left" : e === "end" ? n ? "left" : "right" : e; @@ -230,7 +230,7 @@ function ea(e) { return { side: e.align, align: e.side }; } function ta(e) { - return gl(ao, e.side) ? "y" : "x"; + return ml(oo, e.side) ? "y" : "x"; } class ft { constructor(n) { @@ -253,7 +253,7 @@ class ft { function la(e, n) { return { x: { before: Math.max(0, n.left - e.left), after: Math.max(0, e.right - n.right) }, y: { before: Math.max(0, n.top - e.top), after: Math.max(0, e.bottom - n.bottom) } }; } -function oo(e) { +function ro(e) { return Array.isArray(e) ? new ft({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); } function wn(e) { @@ -267,8 +267,8 @@ function wn(e) { return new ft(n); a = l.slice(7, -1).split(/, /), o = +a[0], s = +a[3], r = +a[4], i = +a[5]; } - const u = t.transformOrigin, v = n.x - r - (1 - o) * parseFloat(u), f = n.y - i - (1 - s) * parseFloat(u.slice(u.indexOf(" ") + 1)), p = o ? n.width / o : e.offsetWidth + 1, c = s ? n.height / s : e.offsetHeight + 1; - return new ft({ x: v, y: f, width: p, height: c }); + const u = t.transformOrigin, v = n.x - r - (1 - o) * parseFloat(u), f = n.y - i - (1 - s) * parseFloat(u.slice(u.indexOf(" ") + 1)), p = o ? n.width / o : e.offsetWidth + 1, d = s ? n.height / s : e.offsetHeight + 1; + return new ft({ x: v, y: f, width: p, height: d }); } return new ft(n); } @@ -287,37 +287,37 @@ function Bt(e, n, t) { }; })), l; } -const ol = /* @__PURE__ */ new WeakMap(), Ct = 2.4, na = 0.2126729, aa = 0.7151522, oa = 0.072175, Ps = 0.55, Bs = 0.58, As = 0.57, _s = 0.62, rl = 0.03, ra = 1.45, Fs = 5e-4, $s = 1.25, Vs = 1.25, sa = 0.078, ia = 12.82051282051282, sl = 0.06, ua = 1e-3; +const rl = /* @__PURE__ */ new WeakMap(), Ct = 2.4, na = 0.2126729, aa = 0.7151522, oa = 0.072175, Bs = 0.55, As = 0.58, _s = 0.57, Fs = 0.62, sl = 0.03, ra = 1.45, $s = 5e-4, Vs = 1.25, Is = 1.25, sa = 0.078, ia = 12.82051282051282, il = 0.06, ua = 1e-3; function ca(e, n) { const t = (e.r / 255) ** Ct, l = (e.g / 255) ** Ct, a = (e.b / 255) ** Ct, o = (n.r / 255) ** Ct, s = (n.g / 255) ** Ct, r = (n.b / 255) ** Ct; let i, u = t * na + l * aa + a * oa, v = o * na + s * aa + r * oa; - if (u <= rl && (u += (rl - u) ** ra), v <= rl && (v += (rl - v) ** ra), Math.abs(v - u) < Fs) + if (u <= sl && (u += (sl - u) ** ra), v <= sl && (v += (sl - v) ** ra), Math.abs(v - u) < $s) return 0; if (v > u) { - const f = (v ** Ps - u ** Bs) * $s; - i = f < ua ? 0 : f < sa ? f - f * ia * sl : f - sl; + const f = (v ** Bs - u ** As) * Vs; + i = f < ua ? 0 : f < sa ? f - f * ia * il : f - il; } else { - const f = (v ** _s - u ** As) * Vs; - i = f > -ua ? 0 : f > -sa ? f - f * ia * sl : f + sl; + const f = (v ** Fs - u ** _s) * Is; + i = f > -ua ? 0 : f > -sa ? f - f * ia * il : f + il; } return 100 * i; } function jt(e) { El(`Vuetify: ${e}`); } -function ro(e) { +function so(e) { El(`Vuetify error: ${e}`); } function Kl(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } -const da = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Is = { rgb: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), rgba: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), hsl: (e, n, t, l) => pa({ h: e, s: n, l: t, a: l }), hsla: (e, n, t, l) => pa({ h: e, s: n, l: t, a: l }), hsv: (e, n, t, l) => Gt({ h: e, s: n, v: t, a: l }), hsva: (e, n, t, l) => Gt({ h: e, s: n, v: t, a: l }) }; +const da = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Es = { rgb: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), rgba: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), hsl: (e, n, t, l) => pa({ h: e, s: n, l: t, a: l }), hsla: (e, n, t, l) => pa({ h: e, s: n, l: t, a: l }), hsv: (e, n, t, l) => Gt({ h: e, s: n, v: t, a: l }), hsva: (e, n, t, l) => Gt({ h: e, s: n, v: t, a: l }) }; function Mt(e) { if (typeof e == "number") return (isNaN(e) || e < 0 || e > 16777215) && jt(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; if (typeof e == "string" && da.test(e)) { const { groups: n } = e.match(da), { fn: t, values: l } = n, a = l.split(/,\s*/).map((o) => o.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(t) ? parseFloat(o) / 100 : parseFloat(o)); - return Is[t](...a); + return Es[t](...a); } if (typeof e == "string") { let n = e.startsWith("#") ? e.slice(1) : e; @@ -342,7 +342,7 @@ function Mt(e) { if (zl(e, ["r", "g", "b"])) return e; if (zl(e, ["h", "s", "l"])) - return Gt(so(e)); + return Gt(io(e)); if (zl(e, ["h", "s", "v"])) return Gt(e); } @@ -357,15 +357,15 @@ function Gt(e) { return { r: s[0], g: s[1], b: s[2], a }; } function pa(e) { - return Gt(so(e)); + return Gt(io(e)); } -function so(e) { +function io(e) { const { h: n, s: t, l, a } = e, o = l + t * Math.min(l, 1 - l); return { h: n, s: o === 0 ? 0 : 2 - 2 * l / o, v: o, a }; } -const hl = Symbol.for("vuetify:defaults"); +const bl = Symbol.for("vuetify:defaults"); function kn() { - const e = Se(hl); + const e = Se(bl); if (!e) throw new Error("[Vuetify] Could not find defaults instance"); return e; @@ -388,9 +388,9 @@ function Xe(e, n) { } return i.prev ? Pt(i.prev, i) : i; }); - return ke(hl, a), a; + return ke(bl, a), a; } -function Es() { +function Ts() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kn(); const l = Pe("useDefaults"); if (n = n ?? l.type.name ?? l.type.__name, !n) @@ -399,14 +399,14 @@ function Es() { var r; return (r = t.value) == null ? void 0 : r[e._as ?? n]; }), o = new Proxy(e, { get(r, i) { - var v, f, p, c; + var v, f, p, d; const u = Reflect.get(r, i); return i === "class" || i === "style" ? [(v = a.value) == null ? void 0 : v[i], u].filter((h) => h != null) : typeof i != "string" || function(h, y) { var S, x; return ((S = h.props) == null ? void 0 : S[y]) !== void 0 || ((x = h.props) == null ? void 0 : x[vt(y)]) !== void 0; - }(l.vnode, i) ? u : ((f = a.value) == null ? void 0 : f[i]) ?? ((c = (p = t.value) == null ? void 0 : p.global) == null ? void 0 : c[i]) ?? u; + }(l.vnode, i) ? u : ((f = a.value) == null ? void 0 : f[i]) ?? ((d = (p = t.value) == null ? void 0 : p.global) == null ? void 0 : d[i]) ?? u; } }), s = de(); - return Ne(() => { + return Re(() => { if (a.value) { const r = Object.entries(a.value).filter((i) => { let [u] = i; @@ -421,23 +421,23 @@ function Es() { const { provides: v } = u; if (v && i in v) return v[i]; - }(hl, l); - ke(hl, m(() => s.value ? Pt((r == null ? void 0 : r.value) ?? {}, s.value) : r == null ? void 0 : r.value)); + }(bl, l); + ke(bl, m(() => s.value ? Pt((r == null ? void 0 : r.value) ?? {}, s.value) : r == null ? void 0 : r.value)); } }; } function Ht(e) { if (e._setup = e._setup ?? e.setup, !e.name) return jt("The component is missing an explicit name, unable to generate default prop value"), e; if (e._setup) { - e.props = R(e.props ?? {}, e.name)(); + e.props = O(e.props ?? {}, e.name)(); const n = Object.keys(e.props).filter((t) => t !== "class" && t !== "style"); e.filterProps = function(t) { - return Qa(t, n); + return eo(t, n); }, e.props._as = String, e.setup = function(t, l) { const a = kn(); if (!a.value) return e._setup(t, l); - const { props: o, provideSubDefaults: s } = Es(t, t._as ?? e.name, a), r = e._setup(o, l); + const { props: o, provideSubDefaults: s } = Ts(t, t._as ?? e.name, a), r = e._setup(o, l); return s(), r; }; } @@ -447,9 +447,9 @@ function le() { let e = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0]; return (n) => (e ? Ht : rt)(n); } -function io(e) { +function uo(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", t = arguments.length > 2 ? arguments[2] : void 0; - return le()({ name: t ?? Ft(Ya(e.replace(/__/g, "-"))), props: { tag: { type: String, default: n }, ...ve() }, setup(l, a) { + return le()({ name: t ?? Ft(Xa(e.replace(/__/g, "-"))), props: { tag: { type: String, default: n }, ...ve() }, setup(l, a) { let { slots: o } = a; return () => { var s; @@ -457,7 +457,7 @@ function io(e) { }; } }); } -function uo(e) { +function co(e) { if (typeof e.getRootNode != "function") { for (; e.parentNode; ) e = e.parentNode; @@ -466,12 +466,12 @@ function uo(e) { const n = e.getRootNode(); return n !== document && n.getRootNode({ composed: !0 }) !== document ? null : n; } -const bl = "cubic-bezier(0.4, 0, 0.2, 1)"; +const Sl = "cubic-bezier(0.4, 0, 0.2, 1)"; function va(e, n, t) { - return Object.keys(e).filter((l) => fl(l) && l.endsWith(n)).reduce((l, a) => (l[a.slice(0, -n.length)] = (o) => e[a](o, t(o)), l), {}); + return Object.keys(e).filter((l) => gl(l) && l.endsWith(n)).reduce((l, a) => (l[a.slice(0, -n.length)] = (o) => e[a](o, t(o)), l), {}); } function Pe(e, n) { - const t = ds(); + const t = ps(); if (!t) throw new Error(`[Vuetify] ${e} ${n || "must be called from inside a setup function"}`); return t; @@ -480,17 +480,17 @@ function Ue() { const e = Pe(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; return vt((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let co = 0, cl = /* @__PURE__ */ new WeakMap(); +let po = 0, dl = /* @__PURE__ */ new WeakMap(); function qe() { const e = Pe("getUid"); - if (cl.has(e)) - return cl.get(e); + if (dl.has(e)) + return dl.get(e); { - const n = co++; - return cl.set(e, n), n; + const n = po++; + return dl.set(e, n), n; } } -function po(e) { +function vo(e) { let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; for (; e; ) { if (n ? Ds(e) : Cn(e)) @@ -499,7 +499,7 @@ function po(e) { } return document.scrollingElement; } -function Sl(e, n) { +function xl(e, n) { const t = []; if (n && e && !n.contains(e)) return t; @@ -522,7 +522,7 @@ function Ds(e) { function ue(e) { Pe("useRender").render = e; } -function Tl(e) { +function Dl(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; const t = J(), l = J(); if (Ee) { @@ -531,8 +531,8 @@ function Tl(e) { }); Ze(() => { a.disconnect(); - }), oe(t, (o, s) => { - s && (a.unobserve(vl(s)), l.value = void 0), o && a.observe(vl(o)); + }), ae(t, (o, s) => { + s && (a.unobserve(fl(s)), l.value = void 0), o && a.observe(fl(o)); }, { flush: "post" }); } return { resizeRef: t, contentRect: mn(l) }; @@ -544,7 +544,7 @@ function gt(e, n) { t == null || t.stop(), l(); }) : n()); } - oe(e, (a) => { + ae(e, (a) => { a && !t ? l() : a || (t == null || t.stop(), t = void 0); }, { immediate: !0 }), Le(() => { t == null || t.stop(); @@ -553,14 +553,14 @@ function gt(e, n) { function xe(e, n, t) { let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (v) => v, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (v) => v; const o = Pe("useProxiedModel"), s = J(e[n] !== void 0 ? e[n] : t), r = vt(n), i = m(r !== n ? () => { - var v, f, p, c; - return e[n], !(!((v = o.vnode.props) != null && v.hasOwnProperty(n)) && !((f = o.vnode.props) != null && f.hasOwnProperty(r)) || !((p = o.vnode.props) != null && p.hasOwnProperty(`onUpdate:${n}`)) && !((c = o.vnode.props) != null && c.hasOwnProperty(`onUpdate:${r}`))); + var v, f, p, d; + return e[n], !(!((v = o.vnode.props) != null && v.hasOwnProperty(n)) && !((f = o.vnode.props) != null && f.hasOwnProperty(r)) || !((p = o.vnode.props) != null && p.hasOwnProperty(`onUpdate:${n}`)) && !((d = o.vnode.props) != null && d.hasOwnProperty(`onUpdate:${r}`))); } : () => { var v, f; return e[n], !(!((v = o.vnode.props) != null && v.hasOwnProperty(n)) || !((f = o.vnode.props) != null && f.hasOwnProperty(`onUpdate:${n}`))); }); gt(() => !i.value, () => { - oe(() => e[n], (v) => { + ae(() => e[n], (v) => { s.value = v; }); }); @@ -574,22 +574,22 @@ function xe(e, n, t) { return Object.defineProperty(u, "externalValue", { get: () => i.value ? e[n] : s.value }), u; } qe.reset = () => { - co = 0, cl = /* @__PURE__ */ new WeakMap(); + po = 0, dl = /* @__PURE__ */ new WeakMap(); }; -const vo = Symbol.for("vuetify:locale"); +const fo = Symbol.for("vuetify:locale"); function it() { - const e = Se(vo); + const e = Se(fo); if (!e) throw new Error("[Vuetify] Could not find injected locale instance"); return e; } function Et() { - const e = Se(vo); + const e = Se(fo); if (!e) throw new Error("[Vuetify] Could not find injected rtl instance"); return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; } -const fa = Symbol.for("vuetify:theme"), Be = R({ theme: String }, "theme"); +const fa = Symbol.for("vuetify:theme"), Be = O({ theme: String }, "theme"); function $e(e) { Pe("provideTheme"); const n = Se(fa, null); @@ -598,9 +598,9 @@ function $e(e) { const t = m(() => e.theme ?? n.name.value), l = m(() => n.themes.value[t.value]), a = m(() => n.isDisabled ? void 0 : `v-theme--${t.value}`), o = { ...n, name: t, current: l, themeClasses: a }; return ke(fa, o), o; } -const Ve = R({ tag: { type: String, default: "div" } }, "tag"), Ts = R({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +const Ve = O({ tag: { type: String, default: "div" } }, "tag"), Ls = O({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); function Oe(e, n, t) { - return le()({ name: e, props: Ts({ mode: t, origin: n }), setup(l, a) { + return le()({ name: e, props: Ls({ mode: t, origin: n }), setup(l, a) { let { slots: o } = a; const s = { onBeforeEnter(r) { l.origin && (r.style.transformOrigin = l.origin); @@ -617,21 +617,21 @@ function Oe(e, n, t) { } } }; return () => { - const r = l.group ? ps : mt; + const r = l.group ? vs : mt; return $t(r, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : s }, o.default); }; } }); } -function fo(e, n) { +function go(e, n) { let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; return le()({ name: e, props: { mode: { type: String, default: t }, disabled: Boolean }, setup(l, a) { let { slots: o } = a; return () => $t(mt, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : n }, o.default); } }); } -function go() { +function mo() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - const n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", t = Ya(`offset-${n}`); + const n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", t = Xa(`offset-${n}`); return { onBeforeEnter(o) { o._parent = o.parentNode, o._initialStyle = { transition: o.style.transition, overflow: o.style.overflow, [n]: o.style[n] }; }, onEnter(o) { @@ -652,16 +652,16 @@ function go() { o.style.overflow = o._initialStyle.overflow, s != null && (o.style[n] = s), delete o._initialStyle; } } -const Ls = R({ target: [Object, Array] }, "v-dialog-transition"), mo = le()({ name: "VDialogTransition", props: Ls(), setup(e, n) { +const Os = O({ target: [Object, Array] }, "v-dialog-transition"), yo = le()({ name: "VDialogTransition", props: Os(), setup(e, n) { let { slots: t } = n; const l = { onBeforeEnter(a) { a.style.pointerEvents = "none", a.style.visibility = "hidden"; }, async onEnter(a, o) { var p; - await new Promise((c) => requestAnimationFrame(c)), await new Promise((c) => requestAnimationFrame(c)), a.style.visibility = ""; + await new Promise((d) => requestAnimationFrame(d)), await new Promise((d) => requestAnimationFrame(d)), a.style.visibility = ""; const { x: s, y: r, sx: i, sy: u, speed: v } = ma(e.target, a), f = Bt(a, [{ transform: `translate(${s}px, ${r}px) scale(${i}, ${u})`, opacity: 0 }, {}], { duration: 225 * v, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); - (p = ga(a)) == null || p.forEach((c) => { - Bt(c, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * v, easing: bl }); + (p = ga(a)) == null || p.forEach((d) => { + Bt(d, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * v, easing: Sl }); }), f.finished.then(() => o()); }, onAfterEnter(a) { a.style.removeProperty("pointer-events"); @@ -672,12 +672,12 @@ const Ls = R({ target: [Object, Array] }, "v-dialog-transition"), mo = le()({ na await new Promise((p) => requestAnimationFrame(p)); const { x: s, y: r, sx: i, sy: u, speed: v } = ma(e.target, a); Bt(a, [{}, { transform: `translate(${s}px, ${r}px) scale(${i}, ${u})`, opacity: 0 }], { duration: 125 * v, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => o()), (f = ga(a)) == null || f.forEach((p) => { - Bt(p, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * v, easing: bl }); + Bt(p, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * v, easing: Sl }); }); }, onAfterLeave(a) { a.style.removeProperty("pointer-events"); } }; - return () => e.target ? d(mt, te({ name: "dialog-transition" }, l, { css: !1 }), t) : d(mt, { name: "dialog-transition" }, t); + return () => e.target ? c(mt, ee({ name: "dialog-transition" }, l, { css: !1 }), t) : c(mt, { name: "dialog-transition" }, t); } }); function ga(e) { var t; @@ -685,29 +685,29 @@ function ga(e) { return n && [...n]; } function ma(e, n) { - const t = oo(e), l = wn(n), [a, o] = getComputedStyle(n).transformOrigin.split(" ").map((x) => parseFloat(x)), [s, r] = getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" "); + const t = ro(e), l = wn(n), [a, o] = getComputedStyle(n).transformOrigin.split(" ").map((x) => parseFloat(x)), [s, r] = getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" "); let i = t.left + t.width / 2; s === "left" || r === "left" ? i -= t.width / 2 : s !== "right" && r !== "right" || (i += t.width / 2); let u = t.top + t.height / 2; s === "top" || r === "top" ? u -= t.height / 2 : s !== "bottom" && r !== "bottom" || (u += t.height / 2); - const v = t.width / l.width, f = t.height / l.height, p = Math.max(1, v, f), c = v / p || 0, h = f / p || 0, y = l.width * l.height / (window.innerWidth * window.innerHeight), S = y > 0.12 ? Math.min(1.5, 10 * (y - 0.12) + 1) : 1; - return { x: i - (a + l.left), y: u - (o + l.top), sx: c, sy: h, speed: S }; + const v = t.width / l.width, f = t.height / l.height, p = Math.max(1, v, f), d = v / p || 0, h = f / p || 0, y = l.width * l.height / (window.innerWidth * window.innerHeight), S = y > 0.12 ? Math.min(1.5, 10 * (y - 0.12) + 1) : 1; + return { x: i - (a + l.left), y: u - (o + l.top), sx: d, sy: h, speed: S }; } Oe("fab-transition", "center center", "out-in"), Oe("dialog-bottom-transition"), Oe("dialog-top-transition"), Oe("fade-transition"), Oe("scale-transition"), Oe("scroll-x-transition"), Oe("scroll-x-reverse-transition"), Oe("scroll-y-transition"), Oe("scroll-y-reverse-transition"), Oe("slide-x-transition"), Oe("slide-x-reverse-transition"); -const yo = Oe("slide-y-transition"); +const ho = Oe("slide-y-transition"); Oe("slide-y-reverse-transition"); -const Os = fo("expand-transition", go()), ho = fo("expand-x-transition", go("", !0)), Ms = R({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), ze = le(!1)({ name: "VDefaultsProvider", props: Ms(), setup(e, n) { +const Ms = go("expand-transition", mo()), bo = go("expand-x-transition", mo("", !0)), Ns = O({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), ze = le(!1)({ name: "VDefaultsProvider", props: Ns(), setup(e, n) { let { slots: t } = n; const { defaults: l, disabled: a, reset: o, root: s, scoped: r } = gn(e); return Xe(l, { reset: o, root: s, scoped: r, disabled: a }), () => { var i; return (i = t.default) == null ? void 0 : i.call(t); }; -} }), St = R({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +} }), St = O({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); function xt(e) { - return { dimensionStyles: m(() => ({ height: ae(e.height), maxHeight: ae(e.maxHeight), maxWidth: ae(e.maxWidth), minHeight: ae(e.minHeight), minWidth: ae(e.minWidth), width: ae(e.width) })) }; + return { dimensionStyles: m(() => ({ height: oe(e.height), maxHeight: oe(e.maxHeight), maxWidth: oe(e.maxWidth), minHeight: oe(e.minHeight), minWidth: oe(e.minWidth), width: oe(e.width) })) }; } -const bo = R({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ve(), ...St() }, "VResponsive"), ya = le()({ name: "VResponsive", props: bo(), setup(e, n) { +const So = O({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ve(), ...St() }, "VResponsive"), ya = le()({ name: "VResponsive", props: So(), setup(e, n) { let { slots: t } = n; const { aspectStyles: l } = function(o) { return { aspectStyles: m(() => { @@ -717,19 +717,19 @@ const bo = R({ aspectRatio: [String, Number], contentClass: String, inline: Bool }(e), { dimensionStyles: a } = xt(e); return ue(() => { var o; - return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [a.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (o = t.additional) == null ? void 0 : o.call(t), t.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [t.default()])]); + return c("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [a.value, e.style] }, [c("div", { class: "v-responsive__sizer", style: l.value }, null), (o = t.additional) == null ? void 0 : o.call(t), t.default && c("div", { class: ["v-responsive__content", e.contentClass] }, [t.default()])]); }), {}; -} }), Jt = R({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), tt = (e, n) => { +} }), Zt = O({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), tt = (e, n) => { let { slots: t } = n; const { transition: l, disabled: a, ...o } = e, { component: s = mt, ...r } = typeof l == "object" ? l : {}; - return $t(s, te(typeof l == "string" ? { name: a ? "" : l } : r, o, { disabled: a }), t); + return $t(s, ee(typeof l == "string" ? { name: a ? "" : l } : r, o, { disabled: a }), t); }; function ha(e, n) { var l; const t = (l = e._observe) == null ? void 0 : l[n.instance.$.uid]; t && (t.observer.unobserve(e), delete e._observe[n.instance.$.uid]); } -const So = { mounted: function(e, n) { +const xo = { mounted: function(e, n) { if (!bn) return; const t = n.modifiers || {}, l = n.value, { handler: a, options: o } = typeof l == "object" ? l : { handler: l, options: {} }, s = new IntersectionObserver(function() { @@ -742,55 +742,55 @@ const So = { mounted: function(e, n) { !a || t.quiet && !u.init || t.once && !v && !u.init || a(v, r, i), v && t.once ? ha(e, n) : u.init = !0; }, o); e._observe = Object(e._observe), e._observe[n.instance.$.uid] = { init: !1, observer: s }, s.observe(e); -}, unmounted: ha }, Rs = R({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...bo(), ...ve(), ...Jt() }, "VImg"), Ns = le()({ name: "VImg", directives: { intersect: So }, props: Rs(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, n) { +}, unmounted: ha }, Rs = O({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...So(), ...ve(), ...Zt() }, "VImg"), js = le()({ name: "VImg", directives: { intersect: xo }, props: Rs(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, n) { let { emit: t, slots: l } = n; const a = Pe("VImg"), o = de(""), s = J(), r = de(e.eager ? "loading" : "idle"), i = de(), u = de(), v = m(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), f = m(() => v.value.aspect || i.value / u.value || 0); - function p(w) { - if ((!e.eager || !w) && (!bn || w || e.eager)) { + function p(k) { + if ((!e.eager || !k) && (!bn || k || e.eager)) { if (r.value = "loading", v.value.lazySrc) { - const k = new Image(); - k.src = v.value.lazySrc, x(k, null); + const w = new Image(); + w.src = v.value.lazySrc, x(w, null); } v.value.src && Fe(() => { - var k; - t("loadstart", ((k = s.value) == null ? void 0 : k.currentSrc) || v.value.src), setTimeout(() => { + var w; + t("loadstart", ((w = s.value) == null ? void 0 : w.currentSrc) || v.value.src), setTimeout(() => { var P; if (!a.isUnmounted) if ((P = s.value) != null && P.complete) { if (s.value.naturalWidth || h(), r.value === "error") return; - f.value || x(s.value, null), r.value === "loading" && c(); + f.value || x(s.value, null), r.value === "loading" && d(); } else f.value || x(s.value), y(); }); }); } } - function c() { - var w; - a.isUnmounted || (y(), x(s.value), r.value = "loaded", t("load", ((w = s.value) == null ? void 0 : w.currentSrc) || v.value.src)); + function d() { + var k; + a.isUnmounted || (y(), x(s.value), r.value = "loaded", t("load", ((k = s.value) == null ? void 0 : k.currentSrc) || v.value.src)); } function h() { - var w; - a.isUnmounted || (r.value = "error", t("error", ((w = s.value) == null ? void 0 : w.currentSrc) || v.value.src)); + var k; + a.isUnmounted || (r.value = "error", t("error", ((k = s.value) == null ? void 0 : k.currentSrc) || v.value.src)); } function y() { - const w = s.value; - w && (o.value = w.currentSrc || w.src); + const k = s.value; + k && (o.value = k.currentSrc || k.src); } - oe(() => e.src, () => { + ae(() => e.src, () => { p(r.value !== "idle"); - }), oe(f, (w, k) => { - !w && k && s.value && x(s.value); + }), ae(f, (k, w) => { + !k && w && s.value && x(s.value); }), hn(() => p()); let S = -1; - function x(w) { - let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; + function x(k) { + let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; const P = () => { if (clearTimeout(S), a.isUnmounted) return; - const { naturalHeight: $, naturalWidth: D } = w; - $ || D ? (i.value = D, u.value = $) : w.complete || r.value !== "loading" || k == null ? (w.currentSrc.endsWith(".svg") || w.currentSrc.startsWith("data:image/svg+xml")) && (i.value = 1, u.value = 1) : S = window.setTimeout(P, k); + const { naturalHeight: $, naturalWidth: D } = k; + $ || D ? (i.value = D, u.value = $) : k.complete || r.value !== "loading" || w == null ? (k.currentSrc.endsWith(".svg") || k.currentSrc.startsWith("data:image/svg+xml")) && (i.value = 1, u.value = 1) : S = window.setTimeout(P, w); }; P(); } @@ -801,24 +801,24 @@ const So = { mounted: function(e, n) { var P; if (!v.value.src || r.value === "idle") return null; - const w = d("img", { class: ["v-img__img", A.value], style: { objectPosition: e.position }, src: v.value.src, srcset: v.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: s, onLoad: c, onError: h }, null), k = (P = l.sources) == null ? void 0 : P.call(l); - return d(tt, { transition: e.transition, appear: !0 }, { default: () => [Ge(k ? d("picture", { class: "v-img__picture" }, [k, w]) : w, [[Vt, r.value === "loaded"]])] }); - }, C = () => d(tt, { transition: e.transition }, { default: () => [v.value.lazySrc && r.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", A.value], style: { objectPosition: e.position }, src: v.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), B = () => l.placeholder ? d(tt, { transition: e.transition, appear: !0 }, { default: () => [(r.value === "loading" || r.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, _ = () => l.error ? d(tt, { transition: e.transition, appear: !0 }, { default: () => [r.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, V = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, g = de(!1); + const k = c("img", { class: ["v-img__img", A.value], style: { objectPosition: e.position }, src: v.value.src, srcset: v.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: s, onLoad: d, onError: h }, null), w = (P = l.sources) == null ? void 0 : P.call(l); + return c(tt, { transition: e.transition, appear: !0 }, { default: () => [Ge(w ? c("picture", { class: "v-img__picture" }, [w, k]) : k, [[Vt, r.value === "loaded"]])] }); + }, C = () => c(tt, { transition: e.transition }, { default: () => [v.value.lazySrc && r.value !== "loaded" && c("img", { class: ["v-img__img", "v-img__img--preload", A.value], style: { objectPosition: e.position }, src: v.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), B = () => l.placeholder ? c(tt, { transition: e.transition, appear: !0 }, { default: () => [(r.value === "loading" || r.value === "error" && !l.error) && c("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, _ = () => l.error ? c(tt, { transition: e.transition, appear: !0 }, { default: () => [r.value === "error" && c("div", { class: "v-img__error" }, [l.error()])] }) : null, V = () => e.gradient ? c("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, g = de(!1); { - const w = oe(f, (k) => { - k && (requestAnimationFrame(() => { + const k = ae(f, (w) => { + w && (requestAnimationFrame(() => { requestAnimationFrame(() => { g.value = !0; }); - }), w()); + }), k()); }); } return ue(() => { - const w = ya.filterProps(e); - return Ge(d(ya, te({ class: ["v-img", { "v-img--booting": !g.value }, e.class], style: [{ width: ae(e.width === "auto" ? i.value : e.width) }, e.style] }, w, { aspectRatio: f.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(pe, null, [d(F, null, null), d(C, null, null), d(V, null, null), d(B, null, null), d(_, null, null)]), default: l.default }), [[yt("intersect"), { handler: p, options: e.options }, null, { once: !0 }]]); + const k = ya.filterProps(e); + return Ge(c(ya, ee({ class: ["v-img", { "v-img--booting": !g.value }, e.class], style: [{ width: oe(e.width === "auto" ? i.value : e.width) }, e.style] }, k, { aspectRatio: f.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => c(pe, null, [c(F, null, null), c(C, null, null), c(V, null, null), c(B, null, null), c(_, null, null)]), default: l.default }), [[yt("intersect"), { handler: p, options: e.options }, null, { once: !0 }]]); }), { currentSrc: o, image: s, state: r, naturalWidth: i, naturalHeight: u }; -} }), Dt = R({ border: [Boolean, Number, String] }, "border"); -function Zt(e) { +} }), Tt = O({ border: [Boolean, Number, String] }, "border"); +function Qt(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); return { borderClasses: m(() => { const t = It(e) ? e.value : e.border, l = []; @@ -859,17 +859,17 @@ function ot(e, n) { const t = m(() => ({ background: It(e) ? e.value : n ? e[n] : null })), { colorClasses: l, colorStyles: a } = Pn(t); return { backgroundColorClasses: l, backgroundColorStyles: a }; } -const wt = R({ elevation: { type: [Number, String], validator(e) { +const wt = O({ elevation: { type: [Number, String], validator(e) { const n = parseInt(e); return !isNaN(n) && n >= 0 && n <= 24; } } }, "elevation"); -function Tt(e) { +function Dt(e) { return { elevationClasses: m(() => { const n = It(e) ? e.value : e.elevation, t = []; return n == null || t.push(`elevation-${n}`), t; }) }; } -const Qe = R({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); +const Qe = O({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); function ut(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); return { roundedClasses: m(() => { @@ -882,16 +882,16 @@ function ut(e) { return l; }) }; } -const js = [null, "default", "comfortable", "compact"], Ye = R({ density: { type: String, default: "default", validator: (e) => js.includes(e) } }, "density"); +const Ws = [null, "default", "comfortable", "compact"], Ye = O({ density: { type: String, default: "default", validator: (e) => Ws.includes(e) } }, "density"); function et(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); return { densityClasses: m(() => `${n}--density-${e.density}`) }; } -const Ws = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; +const zs = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; function Ll(e, n) { - return d(pe, null, [e && d("span", { key: "overlay", class: `${n}__overlay` }, null), d("span", { key: "underlay", class: `${n}__underlay` }, null)]); + return c(pe, null, [e && c("span", { key: "overlay", class: `${n}__overlay` }, null), c("span", { key: "underlay", class: `${n}__underlay` }, null)]); } -const ct = R({ color: String, variant: { type: String, default: "elevated", validator: (e) => Ws.includes(e) } }, "variant"); +const ct = O({ color: String, variant: { type: String, default: "elevated", validator: (e) => zs.includes(e) } }, "variant"); function Ol(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); const t = m(() => { @@ -903,12 +903,12 @@ function Ol(e) { })); return { colorClasses: l, colorStyles: a, variantClasses: t }; } -const xo = R({ divided: Boolean, ...Dt(), ...ve(), ...Ye(), ...wt(), ...Qe(), ...Ve(), ...Be(), ...ct() }, "VBtnGroup"), ba = le()({ name: "VBtnGroup", props: xo(), setup(e, n) { +const wo = O({ divided: Boolean, ...Tt(), ...ve(), ...Ye(), ...wt(), ...Qe(), ...Ve(), ...Be(), ...ct() }, "VBtnGroup"), ba = le()({ name: "VBtnGroup", props: wo(), setup(e, n) { let { slots: t } = n; - const { themeClasses: l } = $e(e), { densityClasses: a } = et(e), { borderClasses: o } = Zt(e), { elevationClasses: s } = Tt(e), { roundedClasses: r } = ut(e); - Xe({ VBtn: { height: "auto", color: q(e, "color"), density: q(e, "density"), flat: !0, variant: q(e, "variant") } }), ue(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, o.value, a.value, s.value, r.value, e.class], style: e.style }, t)); -} }), wo = R({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), ko = R({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); -function Co(e, n) { + const { themeClasses: l } = $e(e), { densityClasses: a } = et(e), { borderClasses: o } = Qt(e), { elevationClasses: s } = Dt(e), { roundedClasses: r } = ut(e); + Xe({ VBtn: { height: "auto", color: q(e, "color"), density: q(e, "density"), flat: !0, variant: q(e, "variant") } }), ue(() => c(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, o.value, a.value, s.value, r.value, e.class], style: e.style }, t)); +} }), ko = O({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), Co = O({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); +function Po(e, n) { let t = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; const l = Pe("useGroupItem"); if (!l) @@ -926,22 +926,22 @@ function Co(e, n) { o.unregister(a); }); const i = m(() => o.isSelected(a)), u = m(() => i.value && [o.selectedClass.value, e.selectedClass]); - return oe(i, (v) => { + return ae(i, (v) => { l.emit("group:selected", { value: v }); }), { id: a, isSelected: i, toggle: () => o.select(a, !i.value), select: (v) => o.select(a, v), selectedClass: u, value: s, disabled: r, group: o }; } -function Po(e, n) { +function Bo(e, n) { let t = !1; - const l = Yt([]), a = xe(e, "modelValue", [], (u) => u == null ? [] : Sa(l, Ie(u)), (u) => { + const l = Xt([]), a = xe(e, "modelValue", [], (u) => u == null ? [] : Sa(l, Ie(u)), (u) => { const v = function(f, p) { - const c = []; + const d = []; return p.forEach((h) => { const y = f.findIndex((S) => S.id === h); if (~y) { const S = f[y]; - c.push(S.value != null ? S.value : y); + d.push(S.value != null ? S.value : y); } - }), c; + }), d; }(l, u); return e.multiple ? v : v[0]; }), o = Pe("useGroup"); @@ -952,10 +952,10 @@ function Po(e, n) { function r(u) { if (e.multiple && jt('This method is not supported when using "multiple" prop'), a.value.length) { const v = a.value[0], f = l.findIndex((h) => h.id === v); - let p = (f + u) % l.length, c = l[p]; - for (; c.disabled && p !== f; ) - p = (p + u) % l.length, c = l[p]; - if (c.disabled) + let p = (f + u) % l.length, d = l[p]; + for (; d.disabled && p !== f; ) + p = (p + u) % l.length, d = l[p]; + if (d.disabled) return; a.value = [l[p].id]; } else { @@ -969,7 +969,7 @@ function Po(e, n) { t = !0; }); const i = { register: function(u, v) { - const f = u, p = ul(Symbol.for(`${n.description}:id`), o == null ? void 0 : o.vnode).indexOf(v); + const f = u, p = cl(Symbol.for(`${n.description}:id`), o == null ? void 0 : o.vnode).indexOf(v); p > -1 ? l.splice(p, 0, f) : l.push(f); }, unregister: function(u) { if (t) @@ -981,10 +981,10 @@ function Po(e, n) { const f = l.find((p) => p.id === u); if (!v || !(f != null && f.disabled)) if (e.multiple) { - const p = a.value.slice(), c = p.findIndex((y) => y === u), h = ~c; + const p = a.value.slice(), d = p.findIndex((y) => y === u), h = ~d; if (v = v ?? !h, h && e.mandatory && p.length <= 1 || !h && e.max != null && p.length + 1 > e.max) return; - c < 0 && v ? p.push(u) : c >= 0 && !v && p.splice(c, 1), a.value = p; + d < 0 && v ? p.push(u) : d >= 0 && !v && p.splice(d, 1), a.value = p; } else { const p = a.value.includes(u); if (e.mandatory && p) @@ -993,7 +993,7 @@ function Po(e, n) { } }, disabled: q(e, "disabled"), prev: () => r(l.length - 1), next: () => r(1), isSelected: (u) => a.value.includes(u), selectedClass: m(() => e.selectedClass), items: m(() => l), getItemIndex: (u) => function(v, f) { const p = Sa(v, [f]); - return p.length ? v.findIndex((c) => c.id === p[0]) : -1; + return p.length ? v.findIndex((d) => d.id === p[0]) : -1; }(l, u) }; return ke(n, i), i; } @@ -1004,44 +1004,44 @@ function Sa(e, n) { (a == null ? void 0 : a.value) != null ? t.push(a.id) : o != null && t.push(o.id); }), t; } -const Bo = Symbol.for("vuetify:v-btn-toggle"), zs = R({ ...xo(), ...wo() }, "VBtnToggle"); -le()({ name: "VBtnToggle", props: zs(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +const Ao = Symbol.for("vuetify:v-btn-toggle"), Gs = O({ ...wo(), ...ko() }, "VBtnToggle"); +le()({ name: "VBtnToggle", props: Gs(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { slots: t } = n; - const { isSelected: l, next: a, prev: o, select: s, selected: r } = Po(e, Bo); + const { isSelected: l, next: a, prev: o, select: s, selected: r } = Bo(e, Ao); return ue(() => { const i = ba.filterProps(e); - return d(ba, te({ class: ["v-btn-toggle", e.class] }, i, { style: e.style }), { default: () => { + return c(ba, ee({ class: ["v-btn-toggle", e.class] }, i, { style: e.style }), { default: () => { var u; return [(u = t.default) == null ? void 0 : u.call(t, { isSelected: l, next: a, prev: o, select: s, selected: r })]; } }); }), { next: a, prev: o, select: s }; } }); -const me = [String, Function, Object, Array], Gs = Symbol.for("vuetify:icons"), xl = R({ icon: { type: me }, tag: { type: String, required: !0 } }, "icon"), xa = le()({ name: "VComponentIcon", props: xl(), setup(e, n) { +const me = [String, Function, Object, Array], Hs = Symbol.for("vuetify:icons"), wl = O({ icon: { type: me }, tag: { type: String, required: !0 } }, "icon"), xa = le()({ name: "VComponentIcon", props: wl(), setup(e, n) { let { slots: t } = n; return () => { const l = e.icon; - return d(e.tag, null, { default: () => { + return c(e.tag, null, { default: () => { var a; - return [e.icon ? d(l, null, null) : (a = t.default) == null ? void 0 : a.call(t)]; + return [e.icon ? c(l, null, null) : (a = t.default) == null ? void 0 : a.call(t)]; } }); }; -} }), Hs = Ht({ name: "VSvgIcon", inheritAttrs: !1, props: xl(), setup(e, n) { +} }), Ks = Ht({ name: "VSvgIcon", inheritAttrs: !1, props: wl(), setup(e, n) { let { attrs: t } = n; - return () => d(e.tag, te(t, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); + return () => c(e.tag, ee(t, { style: null }), { default: () => [c("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? c("path", { d: l[0], "fill-opacity": l[1] }, null) : c("path", { d: l }, null)) : c("path", { d: e.icon }, null)])] }); } }); -Ht({ name: "VLigatureIcon", props: xl(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), Ht({ name: "VClassIcon", props: xl(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); -const Ks = ["x-small", "small", "default", "large", "x-large"], Lt = R({ size: { type: [String, Number], default: "default" } }, "size"); -function Qt(e) { +Ht({ name: "VLigatureIcon", props: wl(), setup: (e) => () => c(e.tag, null, { default: () => [e.icon] }) }), Ht({ name: "VClassIcon", props: wl(), setup: (e) => () => c(e.tag, { class: e.icon }, null) }); +const qs = ["x-small", "small", "default", "large", "x-large"], Lt = O({ size: { type: [String, Number], default: "default" } }, "size"); +function el(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); return xn(() => { let t, l; - return gl(Ks, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = { width: ae(e.size), height: ae(e.size) }), { sizeClasses: t, sizeStyles: l }; + return ml(qs, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = { width: oe(e.size), height: oe(e.size) }), { sizeClasses: t, sizeStyles: l }; }); } -const qs = R({ color: String, start: Boolean, end: Boolean, icon: me, ...ve(), ...Lt(), ...Ve({ tag: "i" }), ...Be() }, "VIcon"), Ae = le()({ name: "VIcon", props: qs(), setup(e, n) { +const Us = O({ color: String, start: Boolean, end: Boolean, icon: me, ...ve(), ...Lt(), ...Ve({ tag: "i" }), ...Be() }, "VIcon"), Ae = le()({ name: "VIcon", props: Us(), setup(e, n) { let { attrs: t, slots: l } = n; const a = J(), { themeClasses: o } = $e(e), { iconData: s } = ((v) => { - const f = Se(Gs); + const f = Se(Hs); if (!f) throw new Error("Missing Vuetify Icons provide!"); return { iconData: m(() => { @@ -1049,24 +1049,24 @@ const qs = R({ color: String, start: Boolean, end: Boolean, icon: me, ...ve(), . const p = b(v); if (!p) return { component: xa }; - let c = p; - if (typeof c == "string" && (c = c.trim(), c.startsWith("$") && (c = (S = f.aliases) == null ? void 0 : S[c.slice(1)])), !c) + let d = p; + if (typeof d == "string" && (d = d.trim(), d.startsWith("$") && (d = (S = f.aliases) == null ? void 0 : S[d.slice(1)])), !d) throw new Error(`Could not find aliased icon "${p}"`); - if (Array.isArray(c)) - return { component: Hs, icon: c }; - if (typeof c != "string") - return { component: xa, icon: c }; - const h = Object.keys(f.sets).find((x) => typeof c == "string" && c.startsWith(`${x}:`)), y = h ? c.slice(h.length + 1) : c; + if (Array.isArray(d)) + return { component: Ks, icon: d }; + if (typeof d != "string") + return { component: xa, icon: d }; + const h = Object.keys(f.sets).find((x) => typeof d == "string" && d.startsWith(`${x}:`)), y = h ? d.slice(h.length + 1) : d; return { component: f.sets[h ?? f.defaultSet].component, icon: y }; }) }; - })(m(() => a.value || e.icon)), { sizeClasses: r } = Qt(e), { textColorClasses: i, textColorStyles: u } = Je(q(e, "color")); + })(m(() => a.value || e.icon)), { sizeClasses: r } = el(e), { textColorClasses: i, textColorStyles: u } = Je(q(e, "color")); return ue(() => { var f, p; const v = (f = l.default) == null ? void 0 : f.call(l); - return v && (a.value = (p = to(v).filter((c) => c.type === vs && c.children && typeof c.children == "string")[0]) == null ? void 0 : p.children), d(s.value.component, { tag: e.tag, icon: s.value.icon, class: ["v-icon", "notranslate", o.value, r.value, i.value, { "v-icon--clickable": !!t.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: ae(e.size), height: ae(e.size), width: ae(e.size) }, u.value, e.style], role: t.onClick ? "button" : void 0, "aria-hidden": !t.onClick }, { default: () => [v] }); + return v && (a.value = (p = lo(v).filter((d) => d.type === fs && d.children && typeof d.children == "string")[0]) == null ? void 0 : p.children), c(s.value.component, { tag: e.tag, icon: s.value.icon, class: ["v-icon", "notranslate", o.value, r.value, i.value, { "v-icon--clickable": !!t.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: oe(e.size), height: oe(e.size), width: oe(e.size) }, u.value, e.style], role: t.onClick ? "button" : void 0, "aria-hidden": !t.onClick }, { default: () => [v] }); }), {}; } }); -function Ao(e, n) { +function _o(e, n) { const t = J(), l = de(!1); if (bn) { const a = new IntersectionObserver((o) => { @@ -1074,20 +1074,20 @@ function Ao(e, n) { }, n); Ze(() => { a.disconnect(); - }), oe(t, (o, s) => { + }), ae(t, (o, s) => { s && (a.unobserve(s), l.value = !1), o && a.observe(o); }, { flush: "post" }); } return { intersectionRef: t, isIntersecting: l }; } -const Us = R({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ve(), ...Lt(), ...Ve({ tag: "div" }), ...Be() }, "VProgressCircular"), _o = le()({ name: "VProgressCircular", props: Us(), setup(e, n) { +const Ys = O({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ve(), ...Lt(), ...Ve({ tag: "div" }), ...Be() }, "VProgressCircular"), Fo = le()({ name: "VProgressCircular", props: Ys(), setup(e, n) { let { slots: t } = n; - const l = 2 * Math.PI * 20, a = J(), { themeClasses: o } = $e(e), { sizeClasses: s, sizeStyles: r } = Qt(e), { textColorClasses: i, textColorStyles: u } = Je(q(e, "color")), { textColorClasses: v, textColorStyles: f } = Je(q(e, "bgColor")), { intersectionRef: p, isIntersecting: c } = Ao(), { resizeRef: h, contentRect: y } = Tl(), S = m(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = m(() => Number(e.width)), A = m(() => r.value ? Number(e.size) : y.value ? y.value.width : Math.max(x.value, 32)), F = m(() => 20 / (1 - x.value / A.value) * 2), C = m(() => x.value / A.value * F.value), B = m(() => ae((100 - S.value) / 100 * l)); - return Ne(() => { + const l = 2 * Math.PI * 20, a = J(), { themeClasses: o } = $e(e), { sizeClasses: s, sizeStyles: r } = el(e), { textColorClasses: i, textColorStyles: u } = Je(q(e, "color")), { textColorClasses: v, textColorStyles: f } = Je(q(e, "bgColor")), { intersectionRef: p, isIntersecting: d } = _o(), { resizeRef: h, contentRect: y } = Dl(), S = m(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = m(() => Number(e.width)), A = m(() => r.value ? Number(e.size) : y.value ? y.value.width : Math.max(x.value, 32)), F = m(() => 20 / (1 - x.value / A.value) * 2), C = m(() => x.value / A.value * F.value), B = m(() => oe((100 - S.value) / 100 * l)); + return Re(() => { p.value = a.value, h.value = a.value; - }), ue(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": c.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, o.value, s.value, i.value, e.class], style: [r.value, u.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : S.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${F.value} ${F.value}` }, [d("circle", { class: ["v-progress-circular__underlay", v.value], style: f.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": C.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": C.value, "stroke-dasharray": l, "stroke-dashoffset": B.value }, null)]), t.default && d("div", { class: "v-progress-circular__content" }, [t.default({ value: S.value })])] })), {}; -} }), wa = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Fo = R({ location: String }, "location"); -function $o(e) { + }), ue(() => c(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": d.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, o.value, s.value, i.value, e.class], style: [r.value, u.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : S.value }, { default: () => [c("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${F.value} ${F.value}` }, [c("circle", { class: ["v-progress-circular__underlay", v.value], style: f.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": C.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), c("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": C.value, "stroke-dasharray": l, "stroke-dashoffset": B.value }, null)]), t.default && c("div", { class: "v-progress-circular__content" }, [t.default({ value: S.value })])] })), {}; +} }), wa = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, $o = O({ location: String }, "location"); +function Vo(e) { let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], t = arguments.length > 2 ? arguments[2] : void 0; const { isRtl: l } = Et(); return { locationStyles: m(() => { @@ -1101,29 +1101,29 @@ function $o(e) { return o !== "center" && (n ? i[wa[o]] = `calc(100% - ${r(o)}px)` : i[o] = 0), s !== "center" ? n ? i[wa[s]] = `calc(100% - ${r(s)}px)` : i[s] = 0 : (o === "center" ? i.top = i.left = "50%" : i[{ top: "left", bottom: "left", left: "top", right: "top" }[o]] = "50%", i.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[o]), i; }) }; } -const Ys = R({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ve(), ...Fo({ location: "top" }), ...Qe(), ...Ve(), ...Be() }, "VProgressLinear"), Vo = le()({ name: "VProgressLinear", props: Ys(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +const Xs = O({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ve(), ...$o({ location: "top" }), ...Qe(), ...Ve(), ...Be() }, "VProgressLinear"), Io = le()({ name: "VProgressLinear", props: Xs(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { slots: t } = n; - const l = xe(e, "modelValue"), { isRtl: a, rtlClasses: o } = Et(), { themeClasses: s } = $e(e), { locationStyles: r } = $o(e), { textColorClasses: i, textColorStyles: u } = Je(e, "color"), { backgroundColorClasses: v, backgroundColorStyles: f } = ot(m(() => e.bgColor || e.color)), { backgroundColorClasses: p, backgroundColorStyles: c } = ot(e, "color"), { roundedClasses: h } = ut(e), { intersectionRef: y, isIntersecting: S } = Ao(), x = m(() => parseInt(e.max, 10)), A = m(() => parseInt(e.height, 10)), F = m(() => parseFloat(e.bufferValue) / x.value * 100), C = m(() => parseFloat(l.value) / x.value * 100), B = m(() => a.value !== e.reverse), _ = m(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), V = m(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); - function g(w) { + const l = xe(e, "modelValue"), { isRtl: a, rtlClasses: o } = Et(), { themeClasses: s } = $e(e), { locationStyles: r } = Vo(e), { textColorClasses: i, textColorStyles: u } = Je(e, "color"), { backgroundColorClasses: v, backgroundColorStyles: f } = ot(m(() => e.bgColor || e.color)), { backgroundColorClasses: p, backgroundColorStyles: d } = ot(e, "color"), { roundedClasses: h } = ut(e), { intersectionRef: y, isIntersecting: S } = _o(), x = m(() => parseInt(e.max, 10)), A = m(() => parseInt(e.height, 10)), F = m(() => parseFloat(e.bufferValue) / x.value * 100), C = m(() => parseFloat(l.value) / x.value * 100), B = m(() => a.value !== e.reverse), _ = m(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), V = m(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + function g(k) { if (!y.value) return; - const { left: k, right: P, width: $ } = y.value.getBoundingClientRect(), D = B.value ? $ - w.clientX + (P - $) : w.clientX - k; + const { left: w, right: P, width: $ } = y.value.getBoundingClientRect(), D = B.value ? $ - k.clientX + (P - $) : k.clientX - w; l.value = Math.round(D / $ * x.value); } - return ue(() => d(e.tag, { ref: y, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && S.value, "v-progress-linear--reverse": B.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, s.value, o.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ae(A.value) : 0, "--v-progress-linear-height": ae(A.value), ...r.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : C.value, onClick: e.clickable && g }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", i.value], style: { ...u.value, [B.value ? "left" : "right"]: ae(-A.value), borderTop: `${ae(A.value / 2)} dotted`, opacity: V.value, top: `calc(50% - ${ae(A.value / 4)})`, width: ae(100 - F.value, "%"), "--v-progress-linear-stream-to": ae(A.value * (B.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", v.value], style: [f.value, { opacity: V.value, width: ae(e.stream ? F.value : 100, "%") }] }, null), d(mt, { name: _.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((w) => d("div", { key: w, class: ["v-progress-linear__indeterminate", w, p.value], style: c.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", p.value], style: [c.value, { width: ae(C.value, "%") }] }, null)] }), t.default && d("div", { class: "v-progress-linear__content" }, [t.default({ value: C.value, buffer: F.value })])] })), {}; -} }), Bn = R({ loading: [Boolean, String] }, "loader"); + return ue(() => c(e.tag, { ref: y, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && S.value, "v-progress-linear--reverse": B.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, s.value, o.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? oe(A.value) : 0, "--v-progress-linear-height": oe(A.value), ...r.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : C.value, onClick: e.clickable && g }, { default: () => [e.stream && c("div", { key: "stream", class: ["v-progress-linear__stream", i.value], style: { ...u.value, [B.value ? "left" : "right"]: oe(-A.value), borderTop: `${oe(A.value / 2)} dotted`, opacity: V.value, top: `calc(50% - ${oe(A.value / 4)})`, width: oe(100 - F.value, "%"), "--v-progress-linear-stream-to": oe(A.value * (B.value ? 1 : -1)) } }, null), c("div", { class: ["v-progress-linear__background", v.value], style: [f.value, { opacity: V.value, width: oe(e.stream ? F.value : 100, "%") }] }, null), c(mt, { name: _.value }, { default: () => [e.indeterminate ? c("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((k) => c("div", { key: k, class: ["v-progress-linear__indeterminate", k, p.value], style: d.value }, null))]) : c("div", { class: ["v-progress-linear__determinate", p.value], style: [d.value, { width: oe(C.value, "%") }] }, null)] }), t.default && c("div", { class: "v-progress-linear__content" }, [t.default({ value: C.value, buffer: F.value })])] })), {}; +} }), Bn = O({ loading: [Boolean, String] }, "loader"); function An(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); return { loaderClasses: m(() => ({ [`${n}--loading`]: e.loading })) }; } -function Io(e, n) { +function Eo(e, n) { var l; let { slots: t } = n; - return d("div", { class: `${e.name}__loader` }, [((l = t.default) == null ? void 0 : l.call(t, { color: e.color, isActive: e.active })) || d(Vo, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); + return c("div", { class: `${e.name}__loader` }, [((l = t.default) == null ? void 0 : l.call(t, { color: e.color, isActive: e.active })) || c(Io, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const Xs = ["static", "relative", "fixed", "absolute", "sticky"], Js = R({ position: { type: String, validator: (e) => Xs.includes(e) } }, "position"); +const Js = ["static", "relative", "fixed", "absolute", "sticky"], Zs = O({ position: { type: String, validator: (e) => Js.includes(e) } }, "position"); function _n(e, n) { - const t = Xa("RouterLink"), l = m(() => !(!e.href && !e.to)), a = m(() => (l == null ? void 0 : l.value) || Zn(n, "click") || Zn(e, "click")); + const t = Ja("RouterLink"), l = m(() => !(!e.href && !e.to)), a = m(() => (l == null ? void 0 : l.value) || Zn(n, "click") || Zn(e, "click")); if (typeof t == "string") return { isLink: l, isClickable: a, href: q(e, "href") }; const o = e.to ? t.useLink(e) : void 0, s = function() { @@ -1138,31 +1138,31 @@ function _n(e, n) { return e.exact ? s.value ? ((r = o.isExactActive) == null ? void 0 : r.value) && st(o.route.value.query, s.value.query) : (i = o.isExactActive) == null ? void 0 : i.value : (u = o.isActive) == null ? void 0 : u.value; }), href: m(() => e.to ? o == null ? void 0 : o.route.value.href : e.href) }; } -const Fn = R({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); +const Fn = O({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); let ql = !1; -const an = Symbol("rippleStop"), Zs = 80; +const an = Symbol("rippleStop"), Qs = 80; function ka(e, n) { e.style.transform = n, e.style.webkitTransform = n; } function on(e) { return e.constructor.name === "TouchEvent"; } -function Eo(e) { +function To(e) { return e.constructor.name === "KeyboardEvent"; } -const wl = { show(e, n) { - var c; +const kl = { show(e, n) { + var d; let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - if (!((c = n == null ? void 0 : n._ripple) != null && c.enabled)) + if (!((d = n == null ? void 0 : n._ripple) != null && d.enabled)) return; const l = document.createElement("span"), a = document.createElement("span"); l.appendChild(a), l.className = "v-ripple__container", t.class && (l.className += ` ${t.class}`); const { radius: o, scale: s, x: r, y: i, centerX: u, centerY: v } = function(h, y) { var V; let S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, x = 0, A = 0; - if (!Eo(h)) { - const g = y.getBoundingClientRect(), w = on(h) ? h.touches[h.touches.length - 1] : h; - x = w.clientX - g.left, A = w.clientY - g.top; + if (!To(h)) { + const g = y.getBoundingClientRect(), k = on(h) ? h.touches[h.touches.length - 1] : h; + x = k.clientX - g.left, A = k.clientY - g.top; } let F = 0, C = 0.3; (V = y._ripple) != null && V.circle ? (C = 0.15, F = y.clientWidth / 2, F = S.center ? F : F + Math.sqrt((x - F) ** 2 + (A - F) ** 2) / 4) : F = Math.sqrt(y.clientWidth ** 2 + y.clientHeight ** 2) / 2; @@ -1203,17 +1203,17 @@ function Kt(e) { t._ripple.touched = !0, t._ripple.isTouch = !0; else if (t._ripple.isTouch) return; - if (n.center = t._ripple.centered || Eo(e), t._ripple.class && (n.class = t._ripple.class), on(e)) { + if (n.center = t._ripple.centered || To(e), t._ripple.class && (n.class = t._ripple.class), on(e)) { if (t._ripple.showTimerCommit) return; t._ripple.showTimerCommit = () => { - wl.show(e, t, n); + kl.show(e, t, n); }, t._ripple.showTimer = window.setTimeout(() => { var l; (l = t == null ? void 0 : t._ripple) != null && l.showTimerCommit && (t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null); - }, Zs); + }, Qs); } else - wl.show(e, t, n); + kl.show(e, t, n); } } function Ca(e) { @@ -1228,34 +1228,34 @@ function Me(e) { })); window.setTimeout(() => { n._ripple && (n._ripple.touched = !1); - }), wl.hide(n); + }), kl.hide(n); } } -function To(e) { +function Lo(e) { const n = e.currentTarget; n != null && n._ripple && (n._ripple.showTimerCommit && (n._ripple.showTimerCommit = null), window.clearTimeout(n._ripple.showTimer)); } let qt = !1; -function Lo(e) { +function Oo(e) { qt || e.keyCode !== qn.enter && e.keyCode !== qn.space || (qt = !0, Kt(e)); } -function Oo(e) { +function Mo(e) { qt = !1, Me(e); } -function Mo(e) { +function No(e) { qt && (qt = !1, Me(e)); } function Pa(e, n, t) { const { value: l, modifiers: a } = n, o = Do(l); - if (o || wl.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = o, e._ripple.centered = a.center, e._ripple.circle = a.circle, tn(l) && l.class && (e._ripple.class = l.class), o && !t) { + if (o || kl.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = o, e._ripple.centered = a.center, e._ripple.circle = a.circle, tn(l) && l.class && (e._ripple.class = l.class), o && !t) { if (a.stop) return e.addEventListener("touchstart", Ca, { passive: !0 }), void e.addEventListener("mousedown", Ca); - e.addEventListener("touchstart", Kt, { passive: !0 }), e.addEventListener("touchend", Me, { passive: !0 }), e.addEventListener("touchmove", To, { passive: !0 }), e.addEventListener("touchcancel", Me), e.addEventListener("mousedown", Kt), e.addEventListener("mouseup", Me), e.addEventListener("mouseleave", Me), e.addEventListener("keydown", Lo), e.addEventListener("keyup", Oo), e.addEventListener("blur", Mo), e.addEventListener("dragstart", Me, { passive: !0 }); + e.addEventListener("touchstart", Kt, { passive: !0 }), e.addEventListener("touchend", Me, { passive: !0 }), e.addEventListener("touchmove", Lo, { passive: !0 }), e.addEventListener("touchcancel", Me), e.addEventListener("mousedown", Kt), e.addEventListener("mouseup", Me), e.addEventListener("mouseleave", Me), e.addEventListener("keydown", Oo), e.addEventListener("keyup", Mo), e.addEventListener("blur", No), e.addEventListener("dragstart", Me, { passive: !0 }); } else !o && t && Ro(e); } function Ro(e) { - e.removeEventListener("mousedown", Kt), e.removeEventListener("touchstart", Kt), e.removeEventListener("touchend", Me), e.removeEventListener("touchmove", To), e.removeEventListener("touchcancel", Me), e.removeEventListener("mouseup", Me), e.removeEventListener("mouseleave", Me), e.removeEventListener("keydown", Lo), e.removeEventListener("keyup", Oo), e.removeEventListener("dragstart", Me), e.removeEventListener("blur", Mo); + e.removeEventListener("mousedown", Kt), e.removeEventListener("touchstart", Kt), e.removeEventListener("touchend", Me), e.removeEventListener("touchmove", Lo), e.removeEventListener("touchcancel", Me), e.removeEventListener("mouseup", Me), e.removeEventListener("mouseleave", Me), e.removeEventListener("keydown", Oo), e.removeEventListener("keyup", Mo), e.removeEventListener("dragstart", Me), e.removeEventListener("blur", No); } const Ml = { mounted: function(e, n) { Pa(e, n, !1); @@ -1263,53 +1263,60 @@ const Ml = { mounted: function(e, n) { delete e._ripple, Ro(e); }, updated: function(e, n) { n.value !== n.oldValue && Pa(e, n, Do(n.oldValue)); -} }, Qs = R({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: Bo }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: me, appendIcon: me, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Dt(), ...ve(), ...Ye(), ...St(), ...wt(), ...ko(), ...Bn(), ...Fo(), ...Js(), ...Qe(), ...Fn(), ...Lt(), ...Ve({ tag: "button" }), ...Be(), ...ct({ variant: "elevated" }) }, "VBtn"), pt = le()({ name: "VBtn", directives: { Ripple: Ml }, props: Qs(), emits: { "group:selected": (e) => !0 }, setup(e, n) { +} }, ei = O({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: Ao }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: me, appendIcon: me, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Tt(), ...ve(), ...Ye(), ...St(), ...wt(), ...Co(), ...Bn(), ...$o(), ...Zs(), ...Qe(), ...Fn(), ...Lt(), ...Ve({ tag: "button" }), ...Be(), ...ct({ variant: "elevated" }) }, "VBtn"), pt = le()({ name: "VBtn", directives: { Ripple: Ml }, props: ei(), emits: { "group:selected": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l } = n; - const { themeClasses: a } = $e(e), { borderClasses: o } = Zt(e), { colorClasses: s, colorStyles: r, variantClasses: i } = Ol(e), { densityClasses: u } = et(e), { dimensionStyles: v } = xt(e), { elevationClasses: f } = Tt(e), { loaderClasses: p } = An(e), { locationStyles: c } = $o(e), { positionClasses: h } = function(w) { - let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); - return { positionClasses: m(() => w.position ? `${k}--${w.position}` : void 0) }; - }(e), { roundedClasses: y } = ut(e), { sizeClasses: S, sizeStyles: x } = Qt(e), A = Co(e, e.symbol, !1), F = _n(e, t), C = m(() => { - var w; - return e.active !== void 0 ? e.active : F.isLink.value ? (w = F.isActive) == null ? void 0 : w.value : A == null ? void 0 : A.isSelected.value; + const { themeClasses: a } = $e(e), { borderClasses: o } = Qt(e), { colorClasses: s, colorStyles: r, variantClasses: i } = Ol(e), { densityClasses: u } = et(e), { dimensionStyles: v } = xt(e), { elevationClasses: f } = Dt(e), { loaderClasses: p } = An(e), { locationStyles: d } = Vo(e), { positionClasses: h } = function(k) { + let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); + return { positionClasses: m(() => k.position ? `${w}--${k.position}` : void 0) }; + }(e), { roundedClasses: y } = ut(e), { sizeClasses: S, sizeStyles: x } = el(e), A = Po(e, e.symbol, !1), F = _n(e, t), C = m(() => { + var k; + return e.active !== void 0 ? e.active : F.isLink.value ? (k = F.isActive) == null ? void 0 : k.value : A == null ? void 0 : A.isSelected.value; }), B = m(() => (A == null ? void 0 : A.disabled.value) || e.disabled), _ = m(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), V = m(() => { if (e.value !== void 0 && typeof e.value != "symbol") return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); - function g(w) { - var k; - B.value || F.isLink.value && (w.metaKey || w.ctrlKey || w.shiftKey || w.button !== 0 || t.target === "_blank") || ((k = F.navigate) == null || k.call(F, w), A == null || A.toggle()); + function g(k) { + var w; + B.value || F.isLink.value && (k.metaKey || k.ctrlKey || k.shiftKey || k.button !== 0 || t.target === "_blank") || ((w = F.navigate) == null || w.call(F, k), A == null || A.toggle()); } - return function(w, k) { - oe(() => { + return function(k, w) { + ae(() => { var P; - return (P = w.isActive) == null ? void 0 : P.value; + return (P = k.isActive) == null ? void 0 : P.value; }, (P) => { - w.isLink.value && P && k && Fe(() => { - k(!0); + k.isLink.value && P && w && Fe(() => { + w(!0); }); }, { immediate: !0 }); }(F, A == null ? void 0 : A.select), ue(() => { - var O, T; - const w = F.isLink.value ? "a" : e.tag, k = !(!e.prependIcon && !l.prepend), P = !(!e.appendIcon && !l.append), $ = !(!e.icon || e.icon === !0), D = (A == null ? void 0 : A.isSelected.value) && (!F.isLink.value || ((O = F.isActive) == null ? void 0 : O.value)) || !A || ((T = F.isActive) == null ? void 0 : T.value); - return Ge(d(w, { type: w === "a" ? void 0 : "button", class: ["v-btn", A == null ? void 0 : A.selectedClass.value, { "v-btn--active": C.value, "v-btn--block": e.block, "v-btn--disabled": B.value, "v-btn--elevated": _.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, o.value, D ? s.value : void 0, u.value, f.value, p.value, h.value, y.value, S.value, i.value, e.class], style: [D ? r.value : void 0, v.value, c.value, x.value, e.style], disabled: B.value || void 0, href: F.href.value, onClick: g, value: V.value }, { default: () => { - var M; - return [Ll(!0, "v-btn"), !e.icon && k && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(ze, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Ae, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && $ ? d(Ae, { key: "content-icon", icon: e.icon }, null) : d(ze, { key: "content-defaults", disabled: !$, defaults: { VIcon: { icon: e.icon } } }, { default: () => { - var H; - return [((H = l.default) == null ? void 0 : H.call(l)) ?? e.text]; - } })]), !e.icon && P && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(ze, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Ae, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((M = l.loader) == null ? void 0 : M.call(l)) ?? d(_o, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + var M, T; + const k = F.isLink.value ? "a" : e.tag, w = !(!e.prependIcon && !l.prepend), P = !(!e.appendIcon && !l.append), $ = !(!e.icon || e.icon === !0), D = (A == null ? void 0 : A.isSelected.value) && (!F.isLink.value || ((M = F.isActive) == null ? void 0 : M.value)) || !A || ((T = F.isActive) == null ? void 0 : T.value); + return Ge(c(k, { type: k === "a" ? void 0 : "button", class: ["v-btn", A == null ? void 0 : A.selectedClass.value, { "v-btn--active": C.value, "v-btn--block": e.block, "v-btn--disabled": B.value, "v-btn--elevated": _.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, o.value, D ? s.value : void 0, u.value, f.value, p.value, h.value, y.value, S.value, i.value, e.class], style: [D ? r.value : void 0, v.value, d.value, x.value, e.style], disabled: B.value || void 0, href: F.href.value, onClick: g, value: V.value }, { default: () => { + var N; + return [Ll(!0, "v-btn"), !e.icon && w && c("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? c(ze, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : c(Ae, { key: "prepend-icon", icon: e.prependIcon }, null)]), c("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && $ ? c(Ae, { key: "content-icon", icon: e.icon }, null) : c(ze, { key: "content-defaults", disabled: !$, defaults: { VIcon: { icon: e.icon } } }, { default: () => { + var K; + return [((K = l.default) == null ? void 0 : K.call(l)) ?? e.text]; + } })]), !e.icon && P && c("span", { key: "append", class: "v-btn__append" }, [l.append ? c(ze, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : c(Ae, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && c("span", { key: "loader", class: "v-btn__loader" }, [((N = l.loader) == null ? void 0 : N.call(l)) ?? c(Fo, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; } }), [[yt("ripple"), !B.value && e.ripple, null]]); }), {}; -} }), ei = R({ text: String, clickable: Boolean, ...ve(), ...Be() }, "VLabel"), No = le()({ name: "VLabel", props: ei(), setup(e, n) { +} }), ti = O({ start: Boolean, end: Boolean, icon: me, image: String, text: String, ...ve(), ...Ye(), ...Qe(), ...Lt(), ...Ve(), ...Be(), ...ct({ variant: "flat" }) }, "VAvatar"), Ut = le()({ name: "VAvatar", props: ti(), setup(e, n) { + let { slots: t } = n; + const { themeClasses: l } = $e(e), { colorClasses: a, colorStyles: o, variantClasses: s } = Ol(e), { densityClasses: r } = et(e), { roundedClasses: i } = ut(e), { sizeClasses: u, sizeStyles: v } = el(e); + return ue(() => c(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, r.value, i.value, u.value, s.value, e.class], style: [o.value, v.value, e.style] }, { default: () => { + var f; + return [e.image ? c(js, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? c(Ae, { key: "icon", icon: e.icon }, null) : ((f = t.default) == null ? void 0 : f.call(t)) ?? e.text, Ll(!1, "v-avatar")]; + } })), {}; +} }), li = O({ text: String, clickable: Boolean, ...ve(), ...Be() }, "VLabel"), jo = le()({ name: "VLabel", props: li(), setup(e, n) { let { slots: t } = n; return ue(() => { var l; - return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = t.default) == null ? void 0 : l.call(t)]); + return c("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = t.default) == null ? void 0 : l.call(t)]); }), {}; -} }), jo = Symbol.for("vuetify:selection-control-group"), Wo = R({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: me, trueIcon: me, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: st }, ...ve(), ...Ye(), ...Be() }, "SelectionControlGroup"), ti = R({ ...Wo({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); -le()({ name: "VSelectionControlGroup", props: ti(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +} }), Wo = Symbol.for("vuetify:selection-control-group"), zo = O({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: me, trueIcon: me, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: st }, ...ve(), ...Ye(), ...Be() }, "SelectionControlGroup"), ni = O({ ...zo({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); +le()({ name: "VSelectionControlGroup", props: ni(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { slots: t } = n; const l = xe(e, "modelValue"), a = qe(), o = m(() => e.id || `v-selection-control-group-${a}`), s = m(() => e.name || o.value), r = /* @__PURE__ */ new Set(); - return ke(jo, { modelValue: l, forceUpdate: () => { + return ke(Wo, { modelValue: l, forceUpdate: () => { r.forEach((i) => i()); }, onForceUpdate: (i) => { r.add(i), Le(() => { @@ -1317,29 +1324,29 @@ le()({ name: "VSelectionControlGroup", props: ti(), emits: { "update:modelValue" }); } }), Xe({ [e.defaultsTarget]: { color: q(e, "color"), disabled: q(e, "disabled"), density: q(e, "density"), error: q(e, "error"), inline: q(e, "inline"), modelValue: l, multiple: m(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: s, falseIcon: q(e, "falseIcon"), trueIcon: q(e, "trueIcon"), readonly: q(e, "readonly"), ripple: q(e, "ripple"), type: q(e, "type"), valueComparator: q(e, "valueComparator") } }), ue(() => { var i; - return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(i = t.default) == null ? void 0 : i.call(t)]); + return c("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(i = t.default) == null ? void 0 : i.call(t)]); }), {}; } }); -const zo = R({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ve(), ...Wo() }, "VSelectionControl"), Ba = le()({ name: "VSelectionControl", directives: { Ripple: Ml }, inheritAttrs: !1, props: zo(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +const Go = O({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ve(), ...zo() }, "VSelectionControl"), Ba = le()({ name: "VSelectionControl", directives: { Ripple: Ml }, inheritAttrs: !1, props: Go(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l } = n; const { group: a, densityClasses: o, icon: s, model: r, textColorClasses: i, textColorStyles: u, backgroundColorClasses: v, backgroundColorStyles: f, trueValue: p } = function(B) { - const _ = Se(jo, void 0), { densityClasses: V } = et(B), g = xe(B, "modelValue"), w = m(() => B.trueValue !== void 0 ? B.trueValue : B.value === void 0 || B.value), k = m(() => B.falseValue !== void 0 && B.falseValue), P = m(() => !!B.multiple || B.multiple == null && Array.isArray(g.value)), $ = m({ get() { + const _ = Se(Wo, void 0), { densityClasses: V } = et(B), g = xe(B, "modelValue"), k = m(() => B.trueValue !== void 0 ? B.trueValue : B.value === void 0 || B.value), w = m(() => B.falseValue !== void 0 && B.falseValue), P = m(() => !!B.multiple || B.multiple == null && Array.isArray(g.value)), $ = m({ get() { const I = _ ? _.modelValue.value : g.value; - return P.value ? Ie(I).some((N) => B.valueComparator(N, w.value)) : B.valueComparator(I, w.value); + return P.value ? Ie(I).some((R) => B.valueComparator(R, k.value)) : B.valueComparator(I, k.value); }, set(I) { if (B.readonly) return; - const N = I ? w.value : k.value; - let j = N; - P.value && (j = I ? [...Ie(g.value), N] : Ie(g.value).filter((U) => !B.valueComparator(U, w.value))), _ ? _.modelValue.value = j : g.value = j; - } }), { textColorClasses: D, textColorStyles: O } = Je(m(() => { + const R = I ? k.value : w.value; + let j = R; + P.value && (j = I ? [...Ie(g.value), R] : Ie(g.value).filter((U) => !B.valueComparator(U, k.value))), _ ? _.modelValue.value = j : g.value = j; + } }), { textColorClasses: D, textColorStyles: M } = Je(m(() => { if (!B.error && !B.disabled) return $.value ? B.color : B.baseColor; - })), { backgroundColorClasses: T, backgroundColorStyles: M } = ot(m(() => !$.value || B.error || B.disabled ? void 0 : B.color)), H = m(() => $.value ? B.trueIcon : B.falseIcon); - return { group: _, densityClasses: V, trueValue: w, falseValue: k, model: $, textColorClasses: D, textColorStyles: O, backgroundColorClasses: T, backgroundColorStyles: M, icon: H }; - }(e), c = qe(), h = m(() => e.id || `input-${c}`), y = de(!1), S = de(!1), x = J(); + })), { backgroundColorClasses: T, backgroundColorStyles: N } = ot(m(() => !$.value || B.error || B.disabled ? void 0 : B.color)), K = m(() => $.value ? B.trueIcon : B.falseIcon); + return { group: _, densityClasses: V, trueValue: k, falseValue: w, model: $, textColorClasses: D, textColorStyles: M, backgroundColorClasses: T, backgroundColorStyles: N, icon: K }; + }(e), d = qe(), h = m(() => e.id || `input-${d}`), y = de(!1), S = de(!1), x = J(); function A(B) { - y.value = !0, yl(B.target, ":focus-visible") !== !1 && (S.value = !0); + y.value = !0, hl(B.target, ":focus-visible") !== !1 && (S.value = !0); } function F() { y.value = !1, S.value = !1; @@ -1350,11 +1357,11 @@ const zo = R({ label: String, baseColor: String, trueValue: null, falseValue: nu return a == null || a.onForceUpdate(() => { x.value && (x.value.checked = r.value); }), ue(() => { - var w, k; - const B = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [_, V] = Sn(t), g = d("input", te({ ref: x, checked: r.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: F, onFocus: A, onInput: C, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: p.value, name: e.name, "aria-checked": e.type === "checkbox" ? r.value : void 0 }, V), null); - return d("div", te({ class: ["v-selection-control", { "v-selection-control--dirty": r.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": y.value, "v-selection-control--focus-visible": S.value, "v-selection-control--inline": e.inline }, o.value, e.class] }, _, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", i.value], style: u.value }, [(w = l.default) == null ? void 0 : w.call(l, { backgroundColorClasses: v, backgroundColorStyles: f }), Ge(d("div", { class: ["v-selection-control__input"] }, [((k = l.input) == null ? void 0 : k.call(l, { model: r, textColorClasses: i, textColorStyles: u, backgroundColorClasses: v, backgroundColorStyles: f, inputNode: g, icon: s.value, props: { onFocus: A, onBlur: F, id: h.value } })) ?? d(pe, null, [s.value && d(Ae, { key: "icon", icon: s.value }, null), g])]), [[yt("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), B && d(No, { for: h.value, clickable: !0, onClick: (P) => P.stopPropagation() }, { default: () => [B] })]); + var k, w; + const B = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [_, V] = Sn(t), g = c("input", ee({ ref: x, checked: r.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: F, onFocus: A, onInput: C, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: p.value, name: e.name, "aria-checked": e.type === "checkbox" ? r.value : void 0 }, V), null); + return c("div", ee({ class: ["v-selection-control", { "v-selection-control--dirty": r.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": y.value, "v-selection-control--focus-visible": S.value, "v-selection-control--inline": e.inline }, o.value, e.class] }, _, { style: e.style }), [c("div", { class: ["v-selection-control__wrapper", i.value], style: u.value }, [(k = l.default) == null ? void 0 : k.call(l, { backgroundColorClasses: v, backgroundColorStyles: f }), Ge(c("div", { class: ["v-selection-control__input"] }, [((w = l.input) == null ? void 0 : w.call(l, { model: r, textColorClasses: i, textColorStyles: u, backgroundColorClasses: v, backgroundColorStyles: f, inputNode: g, icon: s.value, props: { onFocus: A, onBlur: F, id: h.value } })) ?? c(pe, null, [s.value && c(Ae, { key: "icon", icon: s.value }, null), g])]), [[yt("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), B && c(jo, { for: h.value, clickable: !0, onClick: (P) => P.stopPropagation() }, { default: () => [B] })]); }), { isFocused: y, input: x }; -} }), Go = R({ indeterminate: Boolean, indeterminateIcon: { type: me, default: "$checkboxIndeterminate" }, ...zo({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), _t = le()({ name: "VCheckboxBtn", props: Go(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { +} }), Ho = O({ indeterminate: Boolean, indeterminateIcon: { type: me, default: "$checkboxIndeterminate" }, ...Go({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), _t = le()({ name: "VCheckboxBtn", props: Ho(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { let { slots: t } = n; const l = xe(e, "indeterminate"), a = xe(e, "modelValue"); function o(i) { @@ -1363,22 +1370,22 @@ const zo = R({ label: String, baseColor: String, trueValue: null, falseValue: nu const s = m(() => l.value ? e.indeterminateIcon : e.falseIcon), r = m(() => l.value ? e.indeterminateIcon : e.trueIcon); return ue(() => { const i = bt(Ba.filterProps(e), ["modelValue"]); - return d(Ba, te(i, { modelValue: a.value, "onUpdate:modelValue": [(u) => a.value = u, o], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: s.value, trueIcon: r.value, "aria-checked": l.value ? "mixed" : void 0 }), t); + return c(Ba, ee(i, { modelValue: a.value, "onUpdate:modelValue": [(u) => a.value = u, o], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: s.value, trueIcon: r.value, "aria-checked": l.value ? "mixed" : void 0 }), t); }), {}; } }); -function Ho(e) { +function Ko(e) { const { t: n } = it(); return { InputIcon: function(t) { let { name: l } = t; const a = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], o = e[`onClick:${l}`], s = o && a ? n(`$vuetify.input.${a}`, e.label ?? "") : void 0; - return d(Ae, { icon: e[`${l}Icon`], "aria-label": s, onClick: o }, null); + return c(Ae, { icon: e[`${l}Icon`], "aria-label": s, onClick: o }, null); } }; } -const li = R({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ve(), ...Jt({ transition: { component: yo, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), ni = le()({ name: "VMessages", props: li(), setup(e, n) { +const ai = O({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ve(), ...Zt({ transition: { component: ho, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), oi = le()({ name: "VMessages", props: ai(), setup(e, n) { let { slots: t } = n; const l = m(() => Ie(e.messages)), { textColorClasses: a, textColorStyles: o } = Je(m(() => e.color)); - return ue(() => d(tt, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [o.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((s, r) => d("div", { class: "v-messages__message", key: `${r}-${l.value}` }, [t.message ? t.message({ message: s }) : s]))] })), {}; -} }), Ko = R({ focused: Boolean, "onUpdate:focused": Re() }, "focus"); + return ue(() => c(tt, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [o.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((s, r) => c("div", { class: "v-messages__message", key: `${r}-${l.value}` }, [t.message ? t.message({ message: s }) : s]))] })), {}; +} }), qo = O({ focused: Boolean, "onUpdate:focused": Ne() }, "focus"); function $n(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); const t = xe(e, "focused"); @@ -1388,17 +1395,17 @@ function $n(e) { t.value = !1; } }; } -const ai = Symbol.for("vuetify:form"); -function qo() { - return Se(ai, null); +const ri = Symbol.for("vuetify:form"); +function Uo() { + return Se(ri, null); } -const oi = R({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Ko() }, "validation"), Vn = R({ id: String, appendIcon: me, centerAffix: { type: Boolean, default: !0 }, prependIcon: me, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": Re(), "onClick:append": Re(), ...ve(), ...Ye(), ...oi() }, "VInput"), kl = le()({ name: "VInput", props: { ...Vn() }, emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +const si = O({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...qo() }, "validation"), Vn = O({ id: String, appendIcon: me, centerAffix: { type: Boolean, default: !0 }, prependIcon: me, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": Ne(), "onClick:append": Ne(), ...ve(), ...Ye(), ...si() }, "VInput"), Cl = le()({ name: "VInput", props: { ...Vn() }, emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l, emit: a } = n; - const { densityClasses: o } = et(e), { rtlClasses: s } = Et(), { InputIcon: r } = Ho(e), i = qe(), u = m(() => e.id || `input-${i}`), v = m(() => `${u.value}-messages`), { errorMessages: f, isDirty: p, isDisabled: c, isReadonly: h, isPristine: y, isValid: S, isValidating: x, reset: A, resetValidation: F, validate: C, validationClasses: B } = function(g) { - let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(), k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : qe(); - const P = xe(g, "modelValue"), $ = m(() => g.validationValue === void 0 ? P.value : g.validationValue), D = qo(), O = J([]), T = de(!0), M = m(() => !(!Ie(P.value === "" ? null : P.value).length && !Ie($.value === "" ? null : $.value).length)), H = m(() => !!(g.disabled ?? (D == null ? void 0 : D.isDisabled.value))), I = m(() => !!(g.readonly ?? (D == null ? void 0 : D.isReadonly.value))), N = m(() => { + const { densityClasses: o } = et(e), { rtlClasses: s } = Et(), { InputIcon: r } = Ko(e), i = qe(), u = m(() => e.id || `input-${i}`), v = m(() => `${u.value}-messages`), { errorMessages: f, isDirty: p, isDisabled: d, isReadonly: h, isPristine: y, isValid: S, isValidating: x, reset: A, resetValidation: F, validate: C, validationClasses: B } = function(g) { + let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(), w = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : qe(); + const P = xe(g, "modelValue"), $ = m(() => g.validationValue === void 0 ? P.value : g.validationValue), D = Uo(), M = J([]), T = de(!0), N = m(() => !(!Ie(P.value === "" ? null : P.value).length && !Ie($.value === "" ? null : $.value).length)), K = m(() => !!(g.disabled ?? (D == null ? void 0 : D.isDisabled.value))), I = m(() => !!(g.readonly ?? (D == null ? void 0 : D.isReadonly.value))), R = m(() => { var z; - return (z = g.errorMessages) != null && z.length ? Ie(g.errorMessages).concat(O.value).slice(0, Math.max(0, +g.maxErrors)) : O.value; + return (z = g.errorMessages) != null && z.length ? Ie(g.errorMessages).concat(M.value).slice(0, Math.max(0, +g.maxErrors)) : M.value; }), j = m(() => { let z = (g.validateOn ?? (D == null ? void 0 : D.validateOn.value)) || "input"; z === "lazy" && (z = "input lazy"); @@ -1406,87 +1413,80 @@ const oi = R({ disabled: { type: Boolean, default: null }, error: Boolean, error return { blur: E.has("blur") || E.has("input"), input: E.has("input"), submit: E.has("submit"), lazy: E.has("lazy") }; }), U = m(() => { var z; - return !g.error && !((z = g.errorMessages) != null && z.length) && (!g.rules.length || (T.value ? !O.value.length && !j.value.lazy || null : !O.value.length)); - }), ee = de(!1), X = m(() => ({ [`${w}--error`]: U.value === !1, [`${w}--dirty`]: M.value, [`${w}--disabled`]: H.value, [`${w}--readonly`]: I.value })), Z = m(() => g.name ?? b(k)); + return !g.error && !((z = g.errorMessages) != null && z.length) && (!g.rules.length || (T.value ? !M.value.length && !j.value.lazy || null : !M.value.length)); + }), te = de(!1), X = m(() => ({ [`${k}--error`]: U.value === !1, [`${k}--dirty`]: N.value, [`${k}--disabled`]: K.value, [`${k}--readonly`]: I.value })), Z = m(() => g.name ?? b(w)); function L() { P.value = null, Fe(W); } function W() { - T.value = !0, j.value.lazy ? O.value = [] : G(!0); + T.value = !0, j.value.lazy ? M.value = [] : G(!0); } async function G() { let z = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; const E = []; - ee.value = !0; - for (const K of g.rules) { + te.value = !0; + for (const H of g.rules) { if (E.length >= +(g.maxErrors ?? 1)) break; - const se = typeof K == "function" ? K : () => K, Y = await se($.value); + const se = typeof H == "function" ? H : () => H, Y = await se($.value); Y !== !0 && (Y === !1 || typeof Y == "string" ? E.push(Y || "") : console.warn(`${Y} is not a valid value. Rule functions must return boolean true or a string.`)); } - return O.value = E, ee.value = !1, T.value = z, O.value; + return M.value = E, te.value = !1, T.value = z, M.value; } return hn(() => { D == null || D.register({ id: Z.value, validate: G, reset: L, resetValidation: W }); }), Ze(() => { D == null || D.unregister(Z.value); }), ht(async () => { - j.value.lazy || await G(!0), D == null || D.update(Z.value, U.value, N.value); + j.value.lazy || await G(!0), D == null || D.update(Z.value, U.value, R.value); }), gt(() => j.value.input, () => { - oe($, () => { + ae($, () => { if ($.value != null) G(); else if (g.focused) { - const z = oe(() => g.focused, (E) => { + const z = ae(() => g.focused, (E) => { E || G(), z(); }); } }); }), gt(() => j.value.blur, () => { - oe(() => g.focused, (z) => { + ae(() => g.focused, (z) => { z || G(); }); - }), oe(U, () => { - D == null || D.update(Z.value, U.value, N.value); - }), { errorMessages: N, isDirty: M, isDisabled: H, isReadonly: I, isPristine: T, isValid: U, isValidating: ee, reset: L, resetValidation: W, validate: G, validationClasses: X }; - }(e, "v-input", u), _ = m(() => ({ id: u, messagesId: v, isDirty: p, isDisabled: c, isReadonly: h, isPristine: y, isValid: S, isValidating: x, reset: A, resetValidation: F, validate: C })), V = m(() => { + }), ae(U, () => { + D == null || D.update(Z.value, U.value, R.value); + }), { errorMessages: R, isDirty: N, isDisabled: K, isReadonly: I, isPristine: T, isValid: U, isValidating: te, reset: L, resetValidation: W, validate: G, validationClasses: X }; + }(e, "v-input", u), _ = m(() => ({ id: u, messagesId: v, isDirty: p, isDisabled: d, isReadonly: h, isPristine: y, isValid: S, isValidating: x, reset: A, resetValidation: F, validate: C })), V = m(() => { var g; return (g = e.errorMessages) != null && g.length || !y.value && f.value.length ? f.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); return ue(() => { - var $, D, O, T; - const g = !(!l.prepend && !e.prependIcon), w = !(!l.append && !e.appendIcon), k = V.value.length > 0, P = !e.hideDetails || e.hideDetails === "auto" && (k || !!l.details); - return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, o.value, s.value, B.value, e.class], style: e.style }, [g && d("div", { key: "prepend", class: "v-input__prepend" }, [($ = l.prepend) == null ? void 0 : $.call(l, _.value), e.prependIcon && d(r, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(D = l.default) == null ? void 0 : D.call(l, _.value)]), w && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(r, { key: "append-icon", name: "append" }, null), (O = l.append) == null ? void 0 : O.call(l, _.value)]), P && d("div", { class: "v-input__details" }, [d(ni, { id: v.value, active: k, messages: V.value }, { message: l.message }), (T = l.details) == null ? void 0 : T.call(l, _.value)])]); + var $, D, M, T; + const g = !(!l.prepend && !e.prependIcon), k = !(!l.append && !e.appendIcon), w = V.value.length > 0, P = !e.hideDetails || e.hideDetails === "auto" && (w || !!l.details); + return c("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, o.value, s.value, B.value, e.class], style: e.style }, [g && c("div", { key: "prepend", class: "v-input__prepend" }, [($ = l.prepend) == null ? void 0 : $.call(l, _.value), e.prependIcon && c(r, { key: "prepend-icon", name: "prepend" }, null)]), l.default && c("div", { class: "v-input__control" }, [(D = l.default) == null ? void 0 : D.call(l, _.value)]), k && c("div", { key: "append", class: "v-input__append" }, [e.appendIcon && c(r, { key: "append-icon", name: "append" }, null), (M = l.append) == null ? void 0 : M.call(l, _.value)]), P && c("div", { class: "v-input__details" }, [c(oi, { id: v.value, active: w, messages: V.value }, { message: l.message }), (T = l.details) == null ? void 0 : T.call(l, _.value)])]); }), { reset: A, resetValidation: F, validate: C, isValid: S, errorMessages: f }; -} }), ri = R({ ...Vn(), ...bt(Go(), ["inline"]) }, "VCheckbox"), In = le()({ name: "VCheckbox", inheritAttrs: !1, props: ri(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, n) { +} }), ii = O({ ...Vn(), ...bt(Ho(), ["inline"]) }, "VCheckbox"), In = le()({ name: "VCheckbox", inheritAttrs: !1, props: ii(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l } = n; const a = xe(e, "modelValue"), { isFocused: o, focus: s, blur: r } = $n(e), i = qe(), u = m(() => e.id || `checkbox-${i}`); return ue(() => { - const [v, f] = Sn(t), p = kl.filterProps(e), c = _t.filterProps(e); - return d(kl, te({ class: ["v-checkbox", e.class] }, v, p, { modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, id: u.value, focused: o.value, style: e.style }), { ...l, default: (h) => { + const [v, f] = Sn(t), p = Cl.filterProps(e), d = _t.filterProps(e); + return c(Cl, ee({ class: ["v-checkbox", e.class] }, v, p, { modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, id: u.value, focused: o.value, style: e.style }), { ...l, default: (h) => { let { id: y, messagesId: S, isDisabled: x, isReadonly: A } = h; - return d(_t, te(c, { id: y.value, "aria-describedby": S.value, disabled: x.value, readonly: A.value }, f, { modelValue: a.value, "onUpdate:modelValue": (F) => a.value = F, onFocus: s, onBlur: r }), l); + return c(_t, ee(d, { id: y.value, "aria-describedby": S.value, disabled: x.value, readonly: A.value }, f, { modelValue: a.value, "onUpdate:modelValue": (F) => a.value = F, onFocus: s, onBlur: r }), l); } }); }), {}; -} }), si = R({ start: Boolean, end: Boolean, icon: me, image: String, text: String, ...ve(), ...Ye(), ...Qe(), ...Lt(), ...Ve(), ...Be(), ...ct({ variant: "flat" }) }, "VAvatar"), Cl = le()({ name: "VAvatar", props: si(), setup(e, n) { - let { slots: t } = n; - const { themeClasses: l } = $e(e), { colorClasses: a, colorStyles: o, variantClasses: s } = Ol(e), { densityClasses: r } = et(e), { roundedClasses: i } = ut(e), { sizeClasses: u, sizeStyles: v } = Qt(e); - return ue(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, r.value, i.value, u.value, s.value, e.class], style: [o.value, v.value, e.style] }, { default: () => { - var f; - return [e.image ? d(Ns, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Ae, { key: "icon", icon: e.icon }, null) : ((f = t.default) == null ? void 0 : f.call(t)) ?? e.text, Ll(!1, "v-avatar")]; - } })), {}; -} }), Uo = Symbol.for("vuetify:v-chip-group"), ii = R({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: st }, ...ve(), ...wo({ selectedClass: "v-chip--selected" }), ...Ve(), ...Be(), ...ct({ variant: "tonal" }) }, "VChipGroup"); -le()({ name: "VChipGroup", props: ii(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +} }), Yo = Symbol.for("vuetify:v-chip-group"), ui = O({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: st }, ...ve(), ...ko({ selectedClass: "v-chip--selected" }), ...Ve(), ...Be(), ...ct({ variant: "tonal" }) }, "VChipGroup"); +le()({ name: "VChipGroup", props: ui(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { slots: t } = n; - const { themeClasses: l } = $e(e), { isSelected: a, select: o, next: s, prev: r, selected: i } = Po(e, Uo); - return Xe({ VChip: { color: q(e, "color"), disabled: q(e, "disabled"), filter: q(e, "filter"), variant: q(e, "variant") } }), ue(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { + const { themeClasses: l } = $e(e), { isSelected: a, select: o, next: s, prev: r, selected: i } = Bo(e, Yo); + return Xe({ VChip: { color: q(e, "color"), disabled: q(e, "disabled"), filter: q(e, "filter"), variant: q(e, "variant") } }), ue(() => c(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { var u; return [(u = t.default) == null ? void 0 : u.call(t, { isSelected: a, select: o, next: s, prev: r, selected: i.value })]; } })), {}; } }); -const ui = R({ activeClass: String, appendAvatar: String, appendIcon: me, closable: Boolean, closeIcon: { type: me, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: me, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: Re(), onClickOnce: Re(), ...Dt(), ...ve(), ...Ye(), ...wt(), ...ko(), ...Qe(), ...Fn(), ...Lt(), ...Ve({ tag: "span" }), ...Be(), ...ct({ variant: "tonal" }) }, "VChip"), ci = le()({ name: "VChip", directives: { Ripple: Ml }, props: ui(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, n) { +const ci = O({ activeClass: String, appendAvatar: String, appendIcon: me, closable: Boolean, closeIcon: { type: me, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: me, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: Ne(), onClickOnce: Ne(), ...Tt(), ...ve(), ...Ye(), ...wt(), ...Co(), ...Qe(), ...Fn(), ...Lt(), ...Ve({ tag: "span" }), ...Be(), ...ct({ variant: "tonal" }) }, "VChip"), di = le()({ name: "VChip", directives: { Ripple: Ml }, props: ci(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, n) { let { attrs: t, emit: l, slots: a } = n; - const { t: o } = it(), { borderClasses: s } = Zt(e), { colorClasses: r, colorStyles: i, variantClasses: u } = Ol(e), { densityClasses: v } = et(e), { elevationClasses: f } = Tt(e), { roundedClasses: p } = ut(e), { sizeClasses: c } = Qt(e), { themeClasses: h } = $e(e), y = xe(e, "modelValue"), S = Co(e, Uo, !1), x = _n(e, t), A = m(() => e.link !== !1 && x.isLink.value), F = m(() => !e.disabled && e.link !== !1 && (!!S || e.link || x.isClickable.value)), C = m(() => ({ "aria-label": o(e.closeLabel), onClick(V) { + const { t: o } = it(), { borderClasses: s } = Qt(e), { colorClasses: r, colorStyles: i, variantClasses: u } = Ol(e), { densityClasses: v } = et(e), { elevationClasses: f } = Dt(e), { roundedClasses: p } = ut(e), { sizeClasses: d } = el(e), { themeClasses: h } = $e(e), y = xe(e, "modelValue"), S = Po(e, Yo, !1), x = _n(e, t), A = m(() => e.link !== !1 && x.isLink.value), F = m(() => !e.disabled && e.link !== !1 && (!!S || e.link || x.isClickable.value)), C = m(() => ({ "aria-label": o(e.closeLabel), onClick(V) { V.stopPropagation(), y.value = !1, l("click:close", V); } })); function B(V) { @@ -1497,23 +1497,23 @@ const ui = R({ activeClass: String, appendAvatar: String, appendIcon: me, closab V.key !== "Enter" && V.key !== " " || (V.preventDefault(), B(V)); } return () => { - const V = x.isLink.value ? "a" : e.tag, g = !(!e.appendIcon && !e.appendAvatar), w = !(!g && !a.append), k = !(!a.close && !e.closable), P = !(!a.filter && !e.filter) && S, $ = !(!e.prependIcon && !e.prependAvatar), D = !(!$ && !a.prepend), O = !S || S.isSelected.value; - return y.value && Ge(d(V, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": F.value, "v-chip--filter": P, "v-chip--pill": e.pill }, h.value, s.value, O ? r.value : void 0, v.value, f.value, p.value, c.value, u.value, S == null ? void 0 : S.selectedClass.value, e.class], style: [O ? i.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: x.href.value, tabindex: F.value ? 0 : void 0, onClick: B, onKeydown: F.value && !A.value && _ }, { default: () => { + const V = x.isLink.value ? "a" : e.tag, g = !(!e.appendIcon && !e.appendAvatar), k = !(!g && !a.append), w = !(!a.close && !e.closable), P = !(!a.filter && !e.filter) && S, $ = !(!e.prependIcon && !e.prependAvatar), D = !(!$ && !a.prepend), M = !S || S.isSelected.value; + return y.value && Ge(c(V, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": F.value, "v-chip--filter": P, "v-chip--pill": e.pill }, h.value, s.value, M ? r.value : void 0, v.value, f.value, p.value, d.value, u.value, S == null ? void 0 : S.selectedClass.value, e.class], style: [M ? i.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: x.href.value, tabindex: F.value ? 0 : void 0, onClick: B, onKeydown: F.value && !A.value && _ }, { default: () => { var T; - return [Ll(F.value, "v-chip"), P && d(ho, { key: "filter" }, { default: () => [Ge(d("div", { class: "v-chip__filter" }, [a.filter ? d(ze, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : d(Ae, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Vt, S.isSelected.value]])] }), D && d("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? d(ze, { key: "prepend-defaults", disabled: !$, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : d(pe, null, [e.prependIcon && d(Ae, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(Cl, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((T = a.default) == null ? void 0 : T.call(a, { isSelected: S == null ? void 0 : S.isSelected.value, selectedClass: S == null ? void 0 : S.selectedClass.value, select: S == null ? void 0 : S.select, toggle: S == null ? void 0 : S.toggle, value: S == null ? void 0 : S.value.value, disabled: e.disabled })) ?? e.text]), w && d("div", { key: "append", class: "v-chip__append" }, [a.append ? d(ze, { key: "append-defaults", disabled: !g, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : d(pe, null, [e.appendIcon && d(Ae, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(Cl, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), k && d("button", te({ key: "close", class: "v-chip__close" }, C.value), [a.close ? d(ze, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : d(Ae, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; + return [Ll(F.value, "v-chip"), P && c(bo, { key: "filter" }, { default: () => [Ge(c("div", { class: "v-chip__filter" }, [a.filter ? c(ze, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : c(Ae, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Vt, S.isSelected.value]])] }), D && c("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? c(ze, { key: "prepend-defaults", disabled: !$, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : c(pe, null, [e.prependIcon && c(Ae, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && c(Ut, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), c("div", { class: "v-chip__content" }, [((T = a.default) == null ? void 0 : T.call(a, { isSelected: S == null ? void 0 : S.isSelected.value, selectedClass: S == null ? void 0 : S.selectedClass.value, select: S == null ? void 0 : S.select, toggle: S == null ? void 0 : S.toggle, value: S == null ? void 0 : S.value.value, disabled: e.disabled })) ?? e.text]), k && c("div", { key: "append", class: "v-chip__append" }, [a.append ? c(ze, { key: "append-defaults", disabled: !g, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : c(pe, null, [e.appendIcon && c(Ae, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && c(Ut, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), w && c("button", ee({ key: "close", class: "v-chip__close", type: "button" }, C.value), [a.close ? c(ze, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : c(Ae, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; } }), [[yt("ripple"), F.value && e.ripple, null]]); }; } }), rn = Symbol.for("vuetify:list"); -function Yo() { +function Xo() { const e = Se(rn, { hasPrepend: de(!1), updateHasPrepend: () => null }), n = { hasPrepend: de(!1), updateHasPrepend: (t) => { t && (n.hasPrepend.value = t); } }; return ke(rn, n), e; } -function Xo() { +function Jo() { return Se(rn, null); } -const di = { open: (e) => { +const pi = { open: (e) => { let { id: n, value: t, opened: l, parents: a } = e; if (t) { const o = /* @__PURE__ */ new Set(); @@ -1524,7 +1524,7 @@ const di = { open: (e) => { return o; } return l.delete(n), l; -}, select: () => null }, Jo = { open: (e) => { +}, select: () => null }, Zo = { open: (e) => { let { id: n, value: t, opened: l, parents: a } = e; if (t) { let o = a.get(n); @@ -1533,7 +1533,7 @@ const di = { open: (e) => { return l; } return l.delete(n), l; -}, select: () => null }, pi = { open: Jo.open, select: (e) => { +}, select: () => null }, vi = { open: Zo.open, select: (e) => { let { id: n, value: t, opened: l, parents: a } = e; if (!t) return l; @@ -1577,7 +1577,7 @@ const di = { open: (e) => { let o = /* @__PURE__ */ new Map(); return t != null && t.length && (o = n.in(t.slice(0, 1), l, a)), o; }, out: (t, l, a) => n.out(t, l, a) }; -}, Ut = Symbol.for("vuetify:nested"), Zo = { id: de(), root: { register: () => null, unregister: () => null, parents: J(/* @__PURE__ */ new Map()), children: J(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: J(/* @__PURE__ */ new Set()), selected: J(/* @__PURE__ */ new Map()), selectedValues: J([]) } }, vi = R({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), fi = (e) => { +}, Yt = Symbol.for("vuetify:nested"), Qo = { id: de(), root: { register: () => null, unregister: () => null, parents: J(/* @__PURE__ */ new Map()), children: J(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: J(/* @__PURE__ */ new Set()), selected: J(/* @__PURE__ */ new Map()), selectedValues: J([]) } }, fi = O({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), gi = (e) => { let n = !1; const t = J(/* @__PURE__ */ new Map()), l = J(/* @__PURE__ */ new Map()), a = xe(e, "opened", e.opened, (f) => new Set(f), (f) => [...f.values()]), o = m(() => { if (typeof e.selectStrategy == "object") @@ -1586,16 +1586,16 @@ const di = { open: (e) => { case "single-leaf": return ((f) => { const p = Aa(f); - return { select: (c) => { - let { id: h, selected: y, children: S, ...x } = c; + return { select: (d) => { + let { id: h, selected: y, children: S, ...x } = d; return h = nt(h), S.has(h) ? y : p.select({ id: h, selected: y, children: S, ...x }); }, in: p.in, out: p.out }; })(e.mandatory); case "leaf": return ((f) => { const p = sn(f); - return { select: (c) => { - let { id: h, selected: y, children: S, ...x } = c; + return { select: (d) => { + let { id: h, selected: y, children: S, ...x } = d; return h = nt(h), S.has(h) ? y : p.select({ id: h, selected: y, children: S, ...x }); }, in: p.in, out: p.out }; })(e.mandatory); @@ -1605,8 +1605,8 @@ const di = { open: (e) => { return Aa(e.mandatory); default: return /* @__PURE__ */ ((f) => { - const p = { select: (c) => { - let { id: h, value: y, selected: S, children: x, parents: A } = c; + const p = { select: (d) => { + let { id: h, value: y, selected: S, children: x, parents: A } = d; h = nt(h); const F = new Map(S), C = [h]; for (; C.length; ) { @@ -1615,21 +1615,21 @@ const di = { open: (e) => { } let B = A.get(h); for (; B; ) { - const _ = x.get(B), V = _.every((w) => S.get(w) === "on"), g = _.every((w) => !S.has(w) || S.get(w) === "off"); + const _ = x.get(B), V = _.every((k) => S.get(k) === "on"), g = _.every((k) => !S.has(k) || S.get(k) === "off"); S.set(B, V ? "on" : g ? "off" : "indeterminate"), B = A.get(B); } return f && !y && Array.from(S.entries()).reduce((V, g) => { - let [w, k] = g; - return k === "on" ? [...V, w] : V; + let [k, w] = g; + return w === "on" ? [...V, k] : V; }, []).length === 0 ? F : S; - }, in: (c, h, y) => { + }, in: (d, h, y) => { let S = /* @__PURE__ */ new Map(); - for (const x of c || []) + for (const x of d || []) S = p.select({ id: x, value: !0, selected: new Map(S), children: h, parents: y }); return S; - }, out: (c, h) => { + }, out: (d, h) => { const y = []; - for (const [S, x] of c.entries()) + for (const [S, x] of d.entries()) x !== "on" || h.has(S) || y.push(S); return y; } }; @@ -1641,18 +1641,18 @@ const di = { open: (e) => { return e.openStrategy; switch (e.openStrategy) { case "list": - return pi; + return vi; case "single": - return di; + return pi; default: - return Jo; + return Zo; } }), r = xe(e, "selected", e.selected, (f) => o.value.in(f, t.value, l.value), (f) => o.value.out(f, t.value, l.value)); function i(f) { const p = []; - let c = f; - for (; c != null; ) - p.unshift(c), c = l.value.get(c); + let d = f; + for (; d != null; ) + p.unshift(d), d = l.value.get(d); return p; } Ze(() => { @@ -1660,134 +1660,134 @@ const di = { open: (e) => { }); const u = Pe("nested"), v = { id: de(), root: { opened: a, selected: r, selectedValues: m(() => { const f = []; - for (const [p, c] of r.value.entries()) - c === "on" && f.push(p); + for (const [p, d] of r.value.entries()) + d === "on" && f.push(p); return f; - }), register: (f, p, c) => { - p && f !== p && l.value.set(f, p), c && t.value.set(f, []), p != null && t.value.set(p, [...t.value.get(p) || [], f]); + }), register: (f, p, d) => { + p && f !== p && l.value.set(f, p), d && t.value.set(f, []), p != null && t.value.set(p, [...t.value.get(p) || [], f]); }, unregister: (f) => { if (n) return; t.value.delete(f); const p = l.value.get(f); if (p) { - const c = t.value.get(p) ?? []; - t.value.set(p, c.filter((h) => h !== f)); + const d = t.value.get(p) ?? []; + t.value.set(p, d.filter((h) => h !== f)); } l.value.delete(f), a.value.delete(f); - }, open: (f, p, c) => { - u.emit("click:open", { id: f, value: p, path: i(f), event: c }); - const h = s.value.open({ id: f, value: p, opened: new Set(a.value), children: t.value, parents: l.value, event: c }); + }, open: (f, p, d) => { + u.emit("click:open", { id: f, value: p, path: i(f), event: d }); + const h = s.value.open({ id: f, value: p, opened: new Set(a.value), children: t.value, parents: l.value, event: d }); h && (a.value = h); - }, openOnSelect: (f, p, c) => { - const h = s.value.select({ id: f, value: p, selected: new Map(r.value), opened: new Set(a.value), children: t.value, parents: l.value, event: c }); + }, openOnSelect: (f, p, d) => { + const h = s.value.select({ id: f, value: p, selected: new Map(r.value), opened: new Set(a.value), children: t.value, parents: l.value, event: d }); h && (a.value = h); - }, select: (f, p, c) => { - u.emit("click:select", { id: f, value: p, path: i(f), event: c }); - const h = o.value.select({ id: f, value: p, selected: new Map(r.value), children: t.value, parents: l.value, event: c }); - h && (r.value = h), v.root.openOnSelect(f, p, c); + }, select: (f, p, d) => { + u.emit("click:select", { id: f, value: p, path: i(f), event: d }); + const h = o.value.select({ id: f, value: p, selected: new Map(r.value), children: t.value, parents: l.value, event: d }); + h && (r.value = h), v.root.openOnSelect(f, p, d); }, children: t, parents: l } }; - return ke(Ut, v), v.root; -}, Qo = (e, n) => { - const t = Se(Ut, Zo), l = Symbol(qe()), a = m(() => e.value !== void 0 ? e.value : l), o = { ...t, id: a, open: (s, r) => t.root.open(a.value, s, r), openOnSelect: (s, r) => t.root.openOnSelect(a.value, s, r), isOpen: m(() => t.root.opened.value.has(a.value)), parent: m(() => t.root.parents.value.get(a.value)), select: (s, r) => t.root.select(a.value, s, r), isSelected: m(() => t.root.selected.value.get(nt(a.value)) === "on"), isIndeterminate: m(() => t.root.selected.value.get(a.value) === "indeterminate"), isLeaf: m(() => !t.root.children.value.get(a.value)), isGroupActivator: t.isGroupActivator }; + return ke(Yt, v), v.root; +}, er = (e, n) => { + const t = Se(Yt, Qo), l = Symbol(qe()), a = m(() => e.value !== void 0 ? e.value : l), o = { ...t, id: a, open: (s, r) => t.root.open(a.value, s, r), openOnSelect: (s, r) => t.root.openOnSelect(a.value, s, r), isOpen: m(() => t.root.opened.value.has(a.value)), parent: m(() => t.root.parents.value.get(a.value)), select: (s, r) => t.root.select(a.value, s, r), isSelected: m(() => t.root.selected.value.get(nt(a.value)) === "on"), isIndeterminate: m(() => t.root.selected.value.get(a.value) === "indeterminate"), isLeaf: m(() => !t.root.children.value.get(a.value)), isGroupActivator: t.isGroupActivator }; return !t.isGroupActivator && t.root.register(a.value, t.id.value, n), Ze(() => { !t.isGroupActivator && t.root.unregister(a.value); - }), n && ke(Ut, o), o; -}, gi = Ht({ name: "VListGroupActivator", setup(e, n) { + }), n && ke(Yt, o), o; +}, mi = Ht({ name: "VListGroupActivator", setup(e, n) { let { slots: t } = n; return (() => { - const l = Se(Ut, Zo); - ke(Ut, { ...l, isGroupActivator: !0 }); + const l = Se(Yt, Qo); + ke(Yt, { ...l, isGroupActivator: !0 }); })(), () => { var l; return (l = t.default) == null ? void 0 : l.call(t); }; -} }), mi = R({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: me, default: "$collapse" }, expandIcon: { type: me, default: "$expand" }, prependIcon: me, appendIcon: me, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ve(), ...Ve() }, "VListGroup"), _a = le()({ name: "VListGroup", props: mi(), setup(e, n) { +} }), yi = O({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: me, default: "$collapse" }, expandIcon: { type: me, default: "$expand" }, prependIcon: me, appendIcon: me, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ve(), ...Ve() }, "VListGroup"), _a = le()({ name: "VListGroup", props: yi(), setup(e, n) { let { slots: t } = n; - const { isOpen: l, open: a, id: o } = Qo(q(e, "value"), !0), s = m(() => `v-list-group--id-${String(o.value)}`), r = Xo(), { isBooted: i } = function() { - const c = de(!1); + const { isOpen: l, open: a, id: o } = er(q(e, "value"), !0), s = m(() => `v-list-group--id-${String(o.value)}`), r = Jo(), { isBooted: i } = function() { + const d = de(!1); return ht(() => { window.requestAnimationFrame(() => { - c.value = !0; + d.value = !0; }); - }), { ssrBootStyles: m(() => c.value ? void 0 : { transition: "none !important" }), isBooted: mn(c) }; + }), { ssrBootStyles: m(() => d.value ? void 0 : { transition: "none !important" }), isBooted: mn(d) }; }(); - function u(c) { - a(!l.value, c); + function u(d) { + a(!l.value, d); } const v = m(() => ({ onClick: u, class: "v-list-group__header", id: s.value })), f = m(() => l.value ? e.collapseIcon : e.expandIcon), p = m(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && f.value, appendIcon: e.appendIcon || !e.subgroup && f.value, title: e.title, value: e.value } })); - return ue(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": r == null ? void 0 : r.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [t.activator && d(ze, { defaults: p.value }, { default: () => [d(gi, null, { default: () => [t.activator({ props: v.value, isOpen: l.value })] })] }), d(tt, { transition: { component: Os }, disabled: !i.value }, { default: () => { - var c; - return [Ge(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": s.value }, [(c = t.default) == null ? void 0 : c.call(t)]), [[Vt, l.value]])]; + return ue(() => c(e.tag, { class: ["v-list-group", { "v-list-group--prepend": r == null ? void 0 : r.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [t.activator && c(ze, { defaults: p.value }, { default: () => [c(mi, null, { default: () => [t.activator({ props: v.value, isOpen: l.value })] })] }), c(tt, { transition: { component: Ms }, disabled: !i.value }, { default: () => { + var d; + return [Ge(c("div", { class: "v-list-group__items", role: "group", "aria-labelledby": s.value }, [(d = t.default) == null ? void 0 : d.call(t)]), [[Vt, l.value]])]; } })] })), {}; -} }), yi = io("v-list-item-subtitle"), hi = io("v-list-item-title"), bi = R({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: me, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: me, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: Re(), onClickOnce: Re(), ...Dt(), ...ve(), ...Ye(), ...St(), ...wt(), ...Qe(), ...Fn(), ...Ve(), ...Be(), ...ct({ variant: "text" }) }, "VListItem"), Pl = le()({ name: "VListItem", directives: { Ripple: Ml }, props: bi(), emits: { click: (e) => !0 }, setup(e, n) { +} }), hi = uo("v-list-item-subtitle"), bi = uo("v-list-item-title"), Si = O({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: me, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: me, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: Ne(), onClickOnce: Ne(), ...Tt(), ...ve(), ...Ye(), ...St(), ...wt(), ...Qe(), ...Fn(), ...Ve(), ...Be(), ...ct({ variant: "text" }) }, "VListItem"), Pl = le()({ name: "VListItem", directives: { Ripple: Ml }, props: Si(), emits: { click: (e) => !0 }, setup(e, n) { let { attrs: t, slots: l, emit: a } = n; - const o = _n(e, t), s = m(() => e.value === void 0 ? o.href.value : e.value), { select: r, isSelected: i, isIndeterminate: u, isGroupActivator: v, root: f, parent: p, openOnSelect: c } = Qo(s, !1), h = Xo(), y = m(() => { + const o = _n(e, t), s = m(() => e.value === void 0 ? o.href.value : e.value), { select: r, isSelected: i, isIndeterminate: u, isGroupActivator: v, root: f, parent: p, openOnSelect: d } = er(s, !1), h = Jo(), y = m(() => { var I; return e.active !== !1 && (e.active || ((I = o.isActive) == null ? void 0 : I.value) || i.value); }), S = m(() => e.link !== !1 && o.isLink.value), x = m(() => !e.disabled && e.link !== !1 && (e.link || o.isClickable.value || e.value != null && !!h)), A = m(() => e.rounded || e.nav), F = m(() => e.color ?? e.activeColor), C = m(() => ({ color: y.value ? F.value ?? e.baseColor : e.baseColor, variant: e.variant })); - oe(() => { + ae(() => { var I; return (I = o.isActive) == null ? void 0 : I.value; }, (I) => { - I && p.value != null && f.open(p.value, !0), I && c(I); + I && p.value != null && f.open(p.value, !0), I && d(I); }, { immediate: !0 }); - const { themeClasses: B } = $e(e), { borderClasses: _ } = Zt(e), { colorClasses: V, colorStyles: g, variantClasses: w } = Ol(C), { densityClasses: k } = et(e), { dimensionStyles: P } = xt(e), { elevationClasses: $ } = Tt(e), { roundedClasses: D } = ut(A), O = m(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), T = m(() => ({ isActive: y.value, select: r, isSelected: i.value, isIndeterminate: u.value })); - function M(I) { - var N; - a("click", I), !v && x.value && ((N = o.navigate) == null || N.call(o, I), e.value != null && r(!i.value, I)); + const { themeClasses: B } = $e(e), { borderClasses: _ } = Qt(e), { colorClasses: V, colorStyles: g, variantClasses: k } = Ol(C), { densityClasses: w } = et(e), { dimensionStyles: P } = xt(e), { elevationClasses: $ } = Dt(e), { roundedClasses: D } = ut(A), M = m(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), T = m(() => ({ isActive: y.value, select: r, isSelected: i.value, isIndeterminate: u.value })); + function N(I) { + var R; + a("click", I), !v && x.value && ((R = o.navigate) == null || R.call(o, I), e.value != null && r(!i.value, I)); } - function H(I) { - I.key !== "Enter" && I.key !== " " || (I.preventDefault(), M(I)); + function K(I) { + I.key !== "Enter" && I.key !== " " || (I.preventDefault(), N(I)); } return ue(() => { - const I = S.value ? "a" : e.tag, N = l.title || e.title != null, j = l.subtitle || e.subtitle != null, U = !(!e.appendAvatar && !e.appendIcon), ee = !(!U && !l.append), X = !(!e.prependAvatar && !e.prependIcon), Z = !(!X && !l.prepend); + const I = S.value ? "a" : e.tag, R = l.title || e.title != null, j = l.subtitle || e.subtitle != null, U = !(!e.appendAvatar && !e.appendIcon), te = !(!U && !l.append), X = !(!e.prependAvatar && !e.prependIcon), Z = !(!X && !l.prepend); var L, W; - return h == null || h.updateHasPrepend(Z), e.activeColor && (L = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((G) => `'${G}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, El(`[Vuetify UPGRADE] '${L}' is deprecated, use ${W} instead.`)), Ge(d(I, { class: ["v-list-item", { "v-list-item--active": y.value, "v-list-item--disabled": e.disabled, "v-list-item--link": x.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !Z && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && y.value }, B.value, _.value, V.value, k.value, $.value, O.value, D.value, w.value, e.class], style: [g.value, P.value, e.style], href: o.href.value, tabindex: x.value ? h ? -2 : 0 : void 0, onClick: M, onKeydown: x.value && !S.value && H }, { default: () => { + return h == null || h.updateHasPrepend(Z), e.activeColor && (L = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((G) => `'${G}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, El(`[Vuetify UPGRADE] '${L}' is deprecated, use ${W} instead.`)), Ge(c(I, { class: ["v-list-item", { "v-list-item--active": y.value, "v-list-item--disabled": e.disabled, "v-list-item--link": x.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !Z && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && y.value }, B.value, _.value, V.value, w.value, $.value, M.value, D.value, k.value, e.class], style: [g.value, P.value, e.style], href: o.href.value, tabindex: x.value ? h ? -2 : 0 : void 0, onClick: N, onKeydown: x.value && !S.value && K }, { default: () => { var G; - return [Ll(x.value || y.value, "v-list-item"), Z && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(ze, { key: "prepend-defaults", disabled: !X, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { + return [Ll(x.value || y.value, "v-list-item"), Z && c("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? c(ze, { key: "prepend-defaults", disabled: !X, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { var z; return [(z = l.prepend) == null ? void 0 : z.call(l, T.value)]; - } }) : d(pe, null, [e.prependAvatar && d(Cl, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Ae, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [N && d(hi, { key: "title" }, { default: () => { + } }) : c(pe, null, [e.prependAvatar && c(Ut, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && c(Ae, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), c("div", { class: "v-list-item__spacer" }, null)]), c("div", { class: "v-list-item__content", "data-no-activator": "" }, [R && c(bi, { key: "title" }, { default: () => { var z; return [((z = l.title) == null ? void 0 : z.call(l, { title: e.title })) ?? e.title]; - } }), j && d(yi, { key: "subtitle" }, { default: () => { + } }), j && c(hi, { key: "subtitle" }, { default: () => { var z; return [((z = l.subtitle) == null ? void 0 : z.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; - } }), (G = l.default) == null ? void 0 : G.call(l, T.value)]), ee && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(ze, { key: "append-defaults", disabled: !U, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { + } }), (G = l.default) == null ? void 0 : G.call(l, T.value)]), te && c("div", { key: "append", class: "v-list-item__append" }, [l.append ? c(ze, { key: "append-defaults", disabled: !U, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { var z; return [(z = l.append) == null ? void 0 : z.call(l, T.value)]; - } }) : d(pe, null, [e.appendIcon && d(Ae, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(Cl, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; + } }) : c(pe, null, [e.appendIcon && c(Ae, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && c(Ut, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), c("div", { class: "v-list-item__spacer" }, null)])]; } }), [[yt("ripple"), x.value && e.ripple]]); }), {}; -} }), Si = R({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ve(), ...Ve() }, "VListSubheader"), xi = le()({ name: "VListSubheader", props: Si(), setup(e, n) { +} }), xi = O({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ve(), ...Ve() }, "VListSubheader"), wi = le()({ name: "VListSubheader", props: xi(), setup(e, n) { let { slots: t } = n; const { textColorClasses: l, textColorStyles: a } = Je(q(e, "color")); return ue(() => { const o = !(!t.default && !e.title); - return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: a }, e.style] }, { default: () => { + return c(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: a }, e.style] }, { default: () => { var s; - return [o && d("div", { class: "v-list-subheader__text" }, [((s = t.default) == null ? void 0 : s.call(t)) ?? e.title])]; + return [o && c("div", { class: "v-list-subheader__text" }, [((s = t.default) == null ? void 0 : s.call(t)) ?? e.title])]; } }); }), {}; -} }), wi = R({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ve(), ...Be() }, "VDivider"), er = le()({ name: "VDivider", props: wi(), setup(e, n) { +} }), ki = O({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ve(), ...Be() }, "VDivider"), tr = le()({ name: "VDivider", props: ki(), setup(e, n) { let { attrs: t } = n; const { themeClasses: l } = $e(e), { textColorClasses: a, textColorStyles: o } = Je(q(e, "color")), s = m(() => { const r = {}; - return e.length && (r[e.vertical ? "maxHeight" : "maxWidth"] = ae(e.length)), e.thickness && (r[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ae(e.thickness)), r; + return e.length && (r[e.vertical ? "maxHeight" : "maxWidth"] = oe(e.length)), e.thickness && (r[e.vertical ? "borderRightWidth" : "borderTopWidth"] = oe(e.thickness)), r; }); - return ue(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [s.value, o.value, e.style], "aria-orientation": t.role && t.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${t.role || "separator"}` }, null)), {}; -} }), ki = R({ items: Array, returnObject: Boolean }, "VListChildren"), tr = le()({ name: "VListChildren", props: ki(), setup(e, n) { + return ue(() => c("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [s.value, o.value, e.style], "aria-orientation": t.role && t.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${t.role || "separator"}` }, null)), {}; +} }), Ci = O({ items: Array, returnObject: Boolean }, "VListChildren"), lr = le()({ name: "VListChildren", props: Ci(), setup(e, n) { let { slots: t } = n; - return Yo(), () => { + return Xo(), () => { var l, a; return ((l = t.default) == null ? void 0 : l.call(t)) ?? ((a = e.items) == null ? void 0 : a.map((o) => { - var p, c; + var p, d; let { children: s, props: r, type: i, raw: u } = o; if (i === "divider") - return ((p = t.divider) == null ? void 0 : p.call(t, { props: r })) ?? d(er, r, null); + return ((p = t.divider) == null ? void 0 : p.call(t, { props: r })) ?? c(tr, r, null); if (i === "subheader") - return ((c = t.subheader) == null ? void 0 : c.call(t, { props: r })) ?? d(xi, r, null); + return ((d = t.subheader) == null ? void 0 : d.call(t, { props: r })) ?? c(wi, r, null); const v = { subtitle: t.subtitle ? (h) => { var y; return (y = t.subtitle) == null ? void 0 : y.call(t, { ...h, item: u }); @@ -1801,42 +1801,42 @@ const di = { open: (e) => { var y; return (y = t.title) == null ? void 0 : y.call(t, { ...h, item: u }); } : void 0 }, f = _a.filterProps(r); - return s ? d(_a, te({ value: r == null ? void 0 : r.value }, f), { activator: (h) => { + return s ? c(_a, ee({ value: r == null ? void 0 : r.value }, f), { activator: (h) => { let { props: y } = h; const S = { ...r, ...y, value: e.returnObject ? u : r.value }; - return t.header ? t.header({ props: S }) : d(Pl, S, v); - }, default: () => d(tr, { items: s }, t) }) : t.item ? t.item({ props: r }) : d(Pl, te(r, { value: e.returnObject ? u : r.value }), v); + return t.header ? t.header({ props: S }) : c(Pl, S, v); + }, default: () => c(lr, { items: s }, t) }) : t.item ? t.item({ props: r }) : c(Pl, ee(r, { value: e.returnObject ? u : r.value }), v); })); }; -} }), lr = R({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: st } }, "list-items"); +} }), nr = O({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: st } }, "list-items"); function un(e, n) { - const t = Te(n, e.itemTitle, n), l = Te(n, e.itemValue, t), a = Te(n, e.itemChildren), o = { title: t, value: l, ...e.itemProps === !0 ? typeof n != "object" || n == null || Array.isArray(n) ? void 0 : "children" in n ? bt(n, ["children"]) : n : Te(n, e.itemProps) }; - return { title: String(o.title ?? ""), value: o.value, props: o, children: Array.isArray(a) ? nr(e, a) : void 0, raw: n }; + const t = De(n, e.itemTitle, n), l = De(n, e.itemValue, t), a = De(n, e.itemChildren), o = { title: t, value: l, ...e.itemProps === !0 ? typeof n != "object" || n == null || Array.isArray(n) ? void 0 : "children" in n ? bt(n, ["children"]) : n : De(n, e.itemProps) }; + return { title: String(o.title ?? ""), value: o.value, props: o, children: Array.isArray(a) ? ar(e, a) : void 0, raw: n }; } -function nr(e, n) { +function ar(e, n) { const t = []; for (const l of n) t.push(un(e, l)); return t; } -function Ci(e, n) { - const t = Te(n, e.itemType, "item"), l = /* @__PURE__ */ function(r) { +function Pi(e, n) { + const t = De(n, e.itemType, "item"), l = /* @__PURE__ */ function(r) { return typeof r == "string" || typeof r == "number" || typeof r == "boolean"; - }(n) ? n : Te(n, e.itemTitle), a = Te(n, e.itemValue, void 0), o = Te(n, e.itemChildren), s = { title: l, value: a, ...e.itemProps === !0 ? bt(n, ["children"]) : Te(n, e.itemProps) }; - return { type: t, title: s.title, value: s.value, props: s, children: t === "item" && o ? ar(e, o) : void 0, raw: n }; + }(n) ? n : De(n, e.itemTitle), a = De(n, e.itemValue, void 0), o = De(n, e.itemChildren), s = { title: l, value: a, ...e.itemProps === !0 ? bt(n, ["children"]) : De(n, e.itemProps) }; + return { type: t, title: s.title, value: s.value, props: s, children: t === "item" && o ? or(e, o) : void 0, raw: n }; } -function ar(e, n) { +function or(e, n) { const t = []; for (const l of n) - t.push(Ci(e, l)); + t.push(Pi(e, l)); return t; } -const Pi = R({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...vi({ selectStrategy: "single-leaf", openStrategy: "list" }), ...Dt(), ...ve(), ...Ye(), ...St(), ...wt(), itemType: { type: String, default: "type" }, ...lr(), ...Qe(), ...Ve(), ...Be(), ...ct({ variant: "text" }) }, "VList"), Bi = le()({ name: "VList", props: Pi(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, n) { +const Bi = O({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...fi({ selectStrategy: "single-leaf", openStrategy: "list" }), ...Tt(), ...ve(), ...Ye(), ...St(), ...wt(), itemType: { type: String, default: "type" }, ...nr(), ...Qe(), ...Ve(), ...Be(), ...ct({ variant: "text" }) }, "VList"), Ai = le()({ name: "VList", props: Bi(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, n) { let { slots: t } = n; const { items: l } = function(w) { - return { items: m(() => ar(w, w.items)) }; - }(e), { themeClasses: a } = $e(e), { backgroundColorClasses: o, backgroundColorStyles: s } = ot(q(e, "bgColor")), { borderClasses: r } = Zt(e), { densityClasses: i } = et(e), { dimensionStyles: u } = xt(e), { elevationClasses: v } = Tt(e), { roundedClasses: f } = ut(e), { open: p, select: c } = fi(e), h = m(() => e.lines ? `v-list--${e.lines}-line` : void 0), y = q(e, "activeColor"), S = q(e, "baseColor"), x = q(e, "color"); - Yo(), Xe({ VListGroup: { activeColor: y, baseColor: S, color: x }, VListItem: { activeClass: q(e, "activeClass"), activeColor: y, baseColor: S, color: x, density: q(e, "density"), disabled: q(e, "disabled"), lines: q(e, "lines"), nav: q(e, "nav"), slim: q(e, "slim"), variant: q(e, "variant") } }); + return { items: m(() => or(w, w.items)) }; + }(e), { themeClasses: a } = $e(e), { backgroundColorClasses: o, backgroundColorStyles: s } = ot(q(e, "bgColor")), { borderClasses: r } = Qt(e), { densityClasses: i } = et(e), { dimensionStyles: u } = xt(e), { elevationClasses: v } = Dt(e), { roundedClasses: f } = ut(e), { open: p, select: d } = gi(e), h = m(() => e.lines ? `v-list--${e.lines}-line` : void 0), y = q(e, "activeColor"), S = q(e, "baseColor"), x = q(e, "color"); + Xo(), Xe({ VListGroup: { activeColor: y, baseColor: S, color: x }, VListItem: { activeClass: q(e, "activeClass"), activeColor: y, baseColor: S, color: x, density: q(e, "density"), disabled: q(e, "disabled"), lines: q(e, "lines"), nav: q(e, "nav"), slim: q(e, "slim"), variant: q(e, "variant") } }); const A = de(!1), F = J(); function C(w) { A.value = !0; @@ -1845,30 +1845,33 @@ const Pi = R({ baseColor: String, activeColor: String, activeClass: String, bgCo A.value = !1; } function _(w) { - var k; - A.value || w.relatedTarget && ((k = F.value) != null && k.contains(w.relatedTarget)) || g(); + var P; + A.value || w.relatedTarget && ((P = F.value) != null && P.contains(w.relatedTarget)) || k(); } function V(w) { if (F.value) { if (w.key === "ArrowDown") - g("next"); + k("next"); else if (w.key === "ArrowUp") - g("prev"); + k("prev"); else if (w.key === "Home") - g("first"); + k("first"); else { if (w.key !== "End") return; - g("last"); + k("last"); } w.preventDefault(); } } function g(w) { + A.value = !0; + } + function k(w) { if (F.value) - return ml(F.value, w); + return yl(F.value, w); } - return ue(() => d(e.tag, { ref: F, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, o.value, r.value, i.value, v.value, h.value, f.value, e.class], style: [s.value, u.value, e.style], tabindex: e.disabled || A.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: C, onFocusout: B, onFocus: _, onKeydown: V }, { default: () => [d(tr, { items: l.value, returnObject: e.returnObject }, t)] })), { open: p, select: c, focus: g }; + return ue(() => c(e.tag, { ref: F, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav, "v-list--slim": e.slim }, a.value, o.value, r.value, i.value, v.value, h.value, f.value, e.class], style: [s.value, u.value, e.style], tabindex: e.disabled || A.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: C, onFocusout: B, onFocus: _, onKeydown: V, onMousedown: g }, { default: () => [c(lr, { items: l.value, returnObject: e.returnObject }, t)] })), { open: p, select: d, focus: k }; } }); function Ul(e, n) { return { x: e.x + n.x, y: e.y + n.y }; @@ -1884,28 +1887,28 @@ function Fa(e, n) { } return Ul({ x: n.width / 2, y: n.height / 2 }, n); } -const or = { static: function() { +const rr = { static: function() { }, connected: function(e, n, t) { - (Array.isArray(e.target.value) || function(c) { - for (; c; ) { - if (window.getComputedStyle(c).position === "fixed") + (Array.isArray(e.target.value) || function(d) { + for (; d; ) { + if (window.getComputedStyle(d).position === "fixed") return !0; - c = c.offsetParent; + d = d.offsetParent; } return !1; }(e.target.value)) && Object.assign(t.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); const { preferredAnchor: l, preferredOrigin: a } = xn(() => { - const c = nn(n.location, e.isRtl.value), h = n.origin === "overlap" ? c : n.origin === "auto" ? Gl(c) : nn(n.origin, e.isRtl.value); - return c.side === h.side && c.align === Hl(h).align ? { preferredAnchor: ea(c), preferredOrigin: ea(h) } : { preferredAnchor: c, preferredOrigin: h }; - }), [o, s, r, i] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((c) => m(() => { - const h = parseFloat(n[c]); + const d = nn(n.location, e.isRtl.value), h = n.origin === "overlap" ? d : n.origin === "auto" ? Gl(d) : nn(n.origin, e.isRtl.value); + return d.side === h.side && d.align === Hl(h).align ? { preferredAnchor: ea(d), preferredOrigin: ea(h) } : { preferredAnchor: d, preferredOrigin: h }; + }), [o, s, r, i] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((d) => m(() => { + const h = parseFloat(n[d]); return isNaN(h) ? 1 / 0 : h; })), u = m(() => { if (Array.isArray(n.offset)) return n.offset; if (typeof n.offset == "string") { - const c = n.offset.split(" ").map(parseFloat); - return c.length < 2 && c.push(0), c; + const d = n.offset.split(" ").map(parseFloat); + return d.length < 2 && d.push(0), d; } return typeof n.offset == "number" ? [n.offset, 0] : [0, 0]; }); @@ -1918,28 +1921,28 @@ const or = { static: function() { requestAnimationFrame(() => v = !0); }), !e.target.value || !e.contentEl.value) return; - const c = oo(e.target.value), h = function(w, k) { - k ? w.style.removeProperty("left") : w.style.removeProperty("right"); - const P = wn(w); - return k ? P.x += parseFloat(w.style.right || 0) : P.x -= parseFloat(w.style.left || 0), P.y -= parseFloat(w.style.top || 0), P; - }(e.contentEl.value, e.isRtl.value), y = Sl(e.contentEl.value); + const d = ro(e.target.value), h = function(k, w) { + w ? k.style.removeProperty("left") : k.style.removeProperty("right"); + const P = wn(k); + return w ? P.x += parseFloat(k.style.right || 0) : P.x -= parseFloat(k.style.left || 0), P.y -= parseFloat(k.style.top || 0), P; + }(e.contentEl.value, e.isRtl.value), y = xl(e.contentEl.value); y.length || (y.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (h.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), h.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); - const S = y.reduce((w, k) => { - const P = k.getBoundingClientRect(), $ = new ft({ x: k === document.documentElement ? 0 : P.x, y: k === document.documentElement ? 0 : P.y, width: k.clientWidth, height: k.clientHeight }); - return w ? new ft({ x: Math.max(w.left, $.left), y: Math.max(w.top, $.top), width: Math.min(w.right, $.right) - Math.max(w.left, $.left), height: Math.min(w.bottom, $.bottom) - Math.max(w.top, $.top) }) : $; + const S = y.reduce((k, w) => { + const P = w.getBoundingClientRect(), $ = new ft({ x: w === document.documentElement ? 0 : P.x, y: w === document.documentElement ? 0 : P.y, width: w.clientWidth, height: w.clientHeight }); + return k ? new ft({ x: Math.max(k.left, $.left), y: Math.max(k.top, $.top), width: Math.min(k.right, $.right) - Math.max(k.left, $.left), height: Math.min(k.bottom, $.bottom) - Math.max(k.top, $.top) }) : $; }, void 0); S.x += 12, S.y += 12, S.width -= 24, S.height -= 24; let x = { anchor: l.value, origin: a.value }; - function A(w) { - const k = new ft(h), P = Fa(w.anchor, c), $ = Fa(w.origin, k); - let { x: D, y: O } = (M = $, { x: (T = P).x - M.x, y: T.y - M.y }); - var T, M; - switch (w.anchor.side) { + function A(k) { + const w = new ft(h), P = Fa(k.anchor, d), $ = Fa(k.origin, w); + let { x: D, y: M } = (N = $, { x: (T = P).x - N.x, y: T.y - N.y }); + var T, N; + switch (k.anchor.side) { case "top": - O -= u.value[0]; + M -= u.value[0]; break; case "bottom": - O += u.value[0]; + M += u.value[0]; break; case "left": D -= u.value[0]; @@ -1947,12 +1950,12 @@ const or = { static: function() { case "right": D += u.value[0]; } - switch (w.anchor.align) { + switch (k.anchor.align) { case "top": - O -= u.value[1]; + M -= u.value[1]; break; case "bottom": - O += u.value[1]; + M += u.value[1]; break; case "left": D -= u.value[1]; @@ -1960,27 +1963,27 @@ const or = { static: function() { case "right": D += u.value[1]; } - return k.x += D, k.y += O, k.width = Math.min(k.width, r.value), k.height = Math.min(k.height, i.value), { overflows: la(k, S), x: D, y: O }; + return w.x += D, w.y += M, w.width = Math.min(w.width, r.value), w.height = Math.min(w.height, i.value), { overflows: la(w, S), x: D, y: M }; } let F = 0, C = 0; const B = { x: 0, y: 0 }, _ = { x: !1, y: !1 }; let V = -1; for (; ; ) { if (V++ > 10) { - ro("Infinite loop detected in connectedLocationStrategy"); + so("Infinite loop detected in connectedLocationStrategy"); break; } - const { x: w, y: k, overflows: P } = A(x); - F += w, C += k, h.x += w, h.y += k; + const { x: k, y: w, overflows: P } = A(x); + F += k, C += w, h.x += k, h.y += w; { - const $ = ta(x.anchor), D = P.x.before || P.x.after, O = P.y.before || P.y.after; + const $ = ta(x.anchor), D = P.x.before || P.x.after, M = P.y.before || P.y.after; let T = !1; - if (["x", "y"].forEach((M) => { - if (M === "x" && D && !_.x || M === "y" && O && !_.y) { - const H = { anchor: { ...x.anchor }, origin: { ...x.origin } }, I = M === "x" ? $ === "y" ? Hl : Gl : $ === "y" ? Gl : Hl; - H.anchor = I(H.anchor), H.origin = I(H.origin); - const { overflows: N } = A(H); - (N[M].before <= P[M].before && N[M].after <= P[M].after || N[M].before + N[M].after < (P[M].before + P[M].after) / 2) && (x = H, T = _[M] = !0); + if (["x", "y"].forEach((N) => { + if (N === "x" && D && !_.x || N === "y" && M && !_.y) { + const K = { anchor: { ...x.anchor }, origin: { ...x.origin } }, I = N === "x" ? $ === "y" ? Hl : Gl : $ === "y" ? Gl : Hl; + K.anchor = I(K.anchor), K.origin = I(K.origin); + const { overflows: R } = A(K); + (R[N].before <= P[N].before && R[N].after <= P[N].after || R[N].before + R[N].after < (P[N].before + P[N].after) / 2) && (x = K, T = _[N] = !0); } }), T) continue; @@ -1993,25 +1996,25 @@ const or = { static: function() { break; } const g = ta(x.anchor); - return Object.assign(t.value, { "--v-overlay-anchor-origin": `${x.anchor.side} ${x.anchor.align}`, transformOrigin: `${x.origin.side} ${x.origin.align}`, top: ae(Yl(C)), left: e.isRtl.value ? void 0 : ae(Yl(F)), right: e.isRtl.value ? ae(Yl(-F)) : void 0, minWidth: ae(g === "y" ? Math.min(o.value, c.width) : o.value), maxWidth: ae($a(at(B.x, o.value === 1 / 0 ? 0 : o.value, r.value))), maxHeight: ae($a(at(B.y, s.value === 1 / 0 ? 0 : s.value, i.value))) }), { available: B, contentBox: h }; + return Object.assign(t.value, { "--v-overlay-anchor-origin": `${x.anchor.side} ${x.anchor.align}`, transformOrigin: `${x.origin.side} ${x.origin.align}`, top: oe(Yl(C)), left: e.isRtl.value ? void 0 : oe(Yl(F)), right: e.isRtl.value ? oe(Yl(-F)) : void 0, minWidth: oe(g === "y" ? Math.min(o.value, d.width) : o.value), maxWidth: oe($a(at(B.x, o.value === 1 / 0 ? 0 : o.value, r.value))), maxHeight: oe($a(at(B.y, s.value === 1 / 0 ? 0 : s.value, i.value))) }), { available: B, contentBox: h }; } - return oe([e.target, e.contentEl], (c, h) => { - let [y, S] = c, [x, A] = h; + return ae([e.target, e.contentEl], (d, h) => { + let [y, S] = d, [x, A] = h; x && !Array.isArray(x) && f.unobserve(x), y && !Array.isArray(y) && f.observe(y), A && f.unobserve(A), S && f.observe(S); }, { immediate: !0 }), Le(() => { f.disconnect(); - }), oe(() => [l.value, a.value, n.offset, n.minWidth, n.minHeight, n.maxWidth, n.maxHeight], () => p()), Fe(() => { - const c = p(); - if (!c) + }), ae(() => [l.value, a.value, n.offset, n.minWidth, n.minHeight, n.maxWidth, n.maxHeight], () => p()), Fe(() => { + const d = p(); + if (!d) return; - const { available: h, contentBox: y } = c; + const { available: h, contentBox: y } = d; y.height > h.y && requestAnimationFrame(() => { p(), requestAnimationFrame(() => { p(); }); }); }), { updateLocation: p }; -} }, Ai = R({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in or }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); +} }, _i = O({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in rr }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); function Yl(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } @@ -2027,16 +2030,16 @@ function dn() { e && e(), Bl.length ? dn() : cn = !0; }); } -const dl = { none: null, close: function(e) { +const pl = { none: null, close: function(e) { Ia(e.targetEl.value ?? e.contentEl.value, function(n) { e.isActive.value = !1; }); }, block: function(e, n) { var r; - const t = (r = e.root.value) == null ? void 0 : r.offsetParent, l = [.../* @__PURE__ */ new Set([...Sl(e.targetEl.value, n.contained ? t : void 0), ...Sl(e.contentEl.value, n.contained ? t : void 0)])].filter((i) => !i.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, o = (s = t || document.documentElement, Cn(s) && s); + const t = (r = e.root.value) == null ? void 0 : r.offsetParent, l = [.../* @__PURE__ */ new Set([...xl(e.targetEl.value, n.contained ? t : void 0), ...xl(e.contentEl.value, n.contained ? t : void 0)])].filter((i) => !i.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, o = (s = t || document.documentElement, Cn(s) && s); var s; o && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((i, u) => { - i.style.setProperty("--v-body-scroll-x", ae(-i.scrollLeft)), i.style.setProperty("--v-body-scroll-y", ae(-i.scrollTop)), i !== document.documentElement && i.style.setProperty("--v-scrollbar-offset", ae(a)), i.classList.add("v-overlay-scroll-blocked"); + i.style.setProperty("--v-body-scroll-x", oe(-i.scrollLeft)), i.style.setProperty("--v-body-scroll-y", oe(-i.scrollTop)), i !== document.documentElement && i.style.setProperty("--v-scrollbar-offset", oe(a)), i.classList.add("v-overlay-scroll-blocked"); }), Le(() => { l.forEach((i, u) => { const v = parseFloat(i.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(i.style.getPropertyValue("--v-body-scroll-y")); @@ -2066,9 +2069,9 @@ const dl = { none: null, close: function(e) { }), Le(() => { typeof cancelIdleCallback < "u" && cancelIdleCallback(o), cancelAnimationFrame(a); }); -} }, _i = R({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in dl } }, "VOverlay-scroll-strategies"); +} }, Fi = O({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in pl } }, "VOverlay-scroll-strategies"); function Ia(e, n) { - const t = [document, ...Sl(e)]; + const t = [document, ...xl(e)]; t.forEach((l) => { l.addEventListener("scroll", n, { passive: !0 }); }), Le(() => { @@ -2077,35 +2080,47 @@ function Ia(e, n) { }); }); } -const pn = Symbol.for("vuetify:v-menu"), Fi = R({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), $i = R({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Fi() }, "VOverlay-activator"); +const pn = Symbol.for("vuetify:v-menu"), $i = O({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"); function Vi(e, n) { + let t = () => { + }; + function l(a) { + t == null || t(); + const o = Number(a ? e.openDelay : e.closeDelay); + return new Promise((s) => { + t = function(r, i) { + if (!Ee || r === 0) + return i(), () => { + }; + const u = window.setTimeout(i, r); + return () => window.clearTimeout(u); + }(o, () => { + n == null || n(a), s(a); + }); + }); + } + return { clearDelay: t, runOpenDelay: function() { + return l(!0); + }, runCloseDelay: function() { + return l(!1); + } }; +} +const Ii = O({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...$i() }, "VOverlay-activator"); +function Ei(e, n) { let { isActive: t, isTop: l } = n; const a = Pe("useActivator"), o = J(); let s = !1, r = !1, i = !0; - const u = m(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), v = m(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !u.value), { runOpenDelay: f, runCloseDelay: p } = function(P, $) { - const D = {}, O = (T) => () => { - if (!Ee) - return Promise.resolve(!0); - const M = T === "openDelay"; - return D.closeDelay && window.clearTimeout(D.closeDelay), delete D.closeDelay, D.openDelay && window.clearTimeout(D.openDelay), delete D.openDelay, new Promise((H) => { - const I = parseInt(P[T] ?? 0, 10); - D[T] = window.setTimeout(() => { - $ == null || $(M), H(M); - }, I); - }); - }; - return { runCloseDelay: O("closeDelay"), runOpenDelay: O("openDelay") }; - }(e, (P) => { + const u = m(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), v = m(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !u.value), { runOpenDelay: f, runCloseDelay: p } = Vi(e, (P) => { P !== (e.openOnHover && s || u.value && r) || e.openOnHover && t.value && !l.value || (t.value !== P && (i = !0), t.value = P); - }), c = J(), h = (P) => { - P.stopPropagation(), o.value = P.currentTarget || P.target, t.value || (c.value = [P.clientX, P.clientY]), t.value = !t.value; + }), d = J(), h = (P) => { + P.stopPropagation(), o.value = P.currentTarget || P.target, t.value || (d.value = [P.clientX, P.clientY]), t.value = !t.value; }, y = (P) => { var $; ($ = P.sourceCapabilities) != null && $.firesTouchEvents || (s = !0, o.value = P.currentTarget || P.target, f()); }, S = (P) => { s = !1, p(); }, x = (P) => { - yl(P.target, ":focus-visible") !== !1 && (r = !0, P.stopPropagation(), o.value = P.currentTarget || P.target, f()); + hl(P.target, ":focus-visible") !== !1 && (r = !0, P.stopPropagation(), o.value = P.currentTarget || P.target, f()); }, A = (P) => { r = !1, P.stopPropagation(), p(); }, F = m(() => { @@ -2136,81 +2151,81 @@ function Vi(e, n) { s = !1, p(); }), P; }); - oe(l, (P) => { + ae(l, (P) => { !P || (!e.openOnHover || s || u.value && r) && (!u.value || r || e.openOnHover && s) || (t.value = !1); - }), oe(t, (P) => { + }), ae(t, (P) => { P || setTimeout(() => { - c.value = void 0; + d.value = void 0; }); }, { flush: "post" }); const _ = J(); - Ne(() => { + Re(() => { _.value && Fe(() => { - o.value = vl(_.value); + o.value = fl(_.value); }); }); - const V = J(), g = m(() => e.target === "cursor" && c.value ? c.value : V.value ? vl(V.value) : Ea(e.target, a) || o.value), w = m(() => Array.isArray(g.value) ? void 0 : g.value); - let k; - return oe(() => !!e.activator, (P) => { - P && Ee ? (k = yn(), k.run(() => { - (function($, D, O) { - let { activatorEl: T, activatorEvents: M } = O; - function H() { - let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : N(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $.activatorProps; - j && function(ee, X) { + const V = J(), g = m(() => e.target === "cursor" && d.value ? d.value : V.value ? fl(V.value) : Ea(e.target, a) || o.value), k = m(() => Array.isArray(g.value) ? void 0 : g.value); + let w; + return ae(() => !!e.activator, (P) => { + P && Ee ? (w = yn(), w.run(() => { + (function($, D, M) { + let { activatorEl: T, activatorEvents: N } = M; + function K() { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : R(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $.activatorProps; + j && function(te, X) { Object.keys(X).forEach((Z) => { - if (fl(Z)) { - const L = Jn(Z), W = ol.get(ee); + if (gl(Z)) { + const L = Jn(Z), W = rl.get(te); if (X[Z] == null) W == null || W.forEach((G) => { const [z, E] = G; - z === L && (ee.removeEventListener(L, E), W.delete(G)); + z === L && (te.removeEventListener(L, E), W.delete(G)); }); else if (!W || ![...W].some((G) => G[0] === L && G[1] === X[Z])) { - ee.addEventListener(L, X[Z]); + te.addEventListener(L, X[Z]); const G = W || /* @__PURE__ */ new Set(); - G.add([L, X[Z]]), ol.has(ee) || ol.set(ee, G); + G.add([L, X[Z]]), rl.has(te) || rl.set(te, G); } } else - X[Z] == null ? ee.removeAttribute(Z) : ee.setAttribute(Z, X[Z]); + X[Z] == null ? te.removeAttribute(Z) : te.setAttribute(Z, X[Z]); }); - }(j, te(M.value, U)); + }(j, ee(N.value, U)); } function I() { - let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : N(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $.activatorProps; - j && function(ee, X) { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : R(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $.activatorProps; + j && function(te, X) { Object.keys(X).forEach((Z) => { - if (fl(Z)) { - const L = Jn(Z), W = ol.get(ee); + if (gl(Z)) { + const L = Jn(Z), W = rl.get(te); W == null || W.forEach((G) => { const [z, E] = G; - z === L && (ee.removeEventListener(L, E), W.delete(G)); + z === L && (te.removeEventListener(L, E), W.delete(G)); }); } else - ee.removeAttribute(Z); + te.removeAttribute(Z); }); - }(j, te(M.value, U)); + }(j, ee(N.value, U)); } - function N() { + function R() { const j = Ea(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : $.activator, D); return T.value = (j == null ? void 0 : j.nodeType) === Node.ELEMENT_NODE ? j : void 0, T.value; } - oe(() => $.activator, (j, U) => { + ae(() => $.activator, (j, U) => { if (U && j !== U) { - const ee = N(U); - ee && I(ee); + const te = R(U); + te && I(te); } - j && Fe(() => H()); - }, { immediate: !0 }), oe(() => $.activatorProps, () => { - H(); + j && Fe(() => K()); + }, { immediate: !0 }), ae(() => $.activatorProps, () => { + K(); }), Le(() => { I(); }); })(e, a, { activatorEl: o, activatorEvents: F }); - })) : k && k.stop(); + })) : w && w.stop(); }, { flush: "post", immediate: !0 }), Le(() => { - k == null || k.stop(); - }), { activatorEl: o, activatorRef: _, target: g, targetEl: w, targetRef: V, activatorEvents: F, contentEvents: C, scrimEvents: B }; + w == null || w.stop(); + }), { activatorEl: o, activatorRef: _, target: g, targetEl: k, targetRef: V, activatorEvents: F, contentEvents: C, scrimEvents: B }; } function Ea(e, n) { var l, a; @@ -2226,10 +2241,10 @@ function Ea(e, n) { t = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; return t; } -const Rl = ["sm", "md", "lg", "xl", "xxl"], Ii = Symbol.for("vuetify:display"); +const Nl = ["sm", "md", "lg", "xl", "xxl"], Ti = Symbol.for("vuetify:display"); function En() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ue(); - const t = Se(Ii); + const t = Se(Ti); if (!t) throw new Error("Could not find Vuetify display injection"); const l = m(() => { @@ -2240,39 +2255,39 @@ function En() { }), a = m(() => n ? { [`${n}--mobile`]: l.value } : {}); return { ...t, displayClasses: a, mobile: l }; } -const Ei = R({ eager: Boolean }, "lazy"); -function rr() { +const Di = O({ eager: Boolean }, "lazy"); +function sr() { const e = Pe("useScopeId").vnode.scopeId; return { scopeId: e ? { [e]: "" } : void 0 }; } -const Da = Symbol.for("vuetify:stack"), Rt = Yt([]); -function Di() { +const Ta = Symbol.for("vuetify:stack"), Nt = Xt([]); +function Li() { return !0; } -function Ta(e, n, t) { - if (!e || sr(e, t) === !1) +function Da(e, n, t) { + if (!e || ir(e, t) === !1) return !1; - const l = uo(n); + const l = co(n); if (typeof ShadowRoot < "u" && l instanceof ShadowRoot && l.host === e.target) return !1; const a = (typeof t.value == "object" && t.value.include || (() => []))(); return a.push(n), !a.some((o) => o == null ? void 0 : o.contains(e.target)); } -function sr(e, n) { - return (typeof n.value == "object" && n.value.closeConditional || Di)(e); +function ir(e, n) { + return (typeof n.value == "object" && n.value.closeConditional || Li)(e); } function La(e, n) { - const t = uo(e); + const t = co(e); n(document), typeof ShadowRoot < "u" && t instanceof ShadowRoot && n(t); } -const Ti = { mounted(e, n) { +const Oi = { mounted(e, n) { const t = (a) => function(o, s, r) { const i = typeof r.value == "function" ? r.value : r.value.handler; - s._clickOutside.lastMousedownWasOutside && Ta(o, s, r) && setTimeout(() => { - sr(o, r) && i && i(o); + s._clickOutside.lastMousedownWasOutside && Da(o, s, r) && setTimeout(() => { + ir(o, r) && i && i(o); }, 0); }(a, e, n), l = (a) => { - e._clickOutside.lastMousedownWasOutside = Ta(a, e, n); + e._clickOutside.lastMousedownWasOutside = Da(a, e, n); }; La(e, (a) => { a.addEventListener("click", t, !0), a.addEventListener("mousedown", l, !0); @@ -2286,11 +2301,11 @@ const Ti = { mounted(e, n) { t.removeEventListener("click", l, !0), t.removeEventListener("mousedown", a, !0); }), delete e._clickOutside[n.instance.$.uid]); } }; -function Li(e) { +function Mi(e) { const { modelValue: n, color: t, ...l } = e; - return d(mt, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", te({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); + return c(mt, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && c("div", ee({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); } -const ir = R({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...$i(), ...ve(), ...St(), ...Ei(), ...Ai(), ..._i(), ...Be(), ...Jt() }, "VOverlay"), Oa = le()({ name: "VOverlay", directives: { ClickOutside: Ti }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...ir() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, n) { +const ur = O({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...Ii(), ...ve(), ...St(), ...Di(), ..._i(), ...Fi(), ...Be(), ...Zt() }, "VOverlay"), Oa = le()({ name: "VOverlay", directives: { ClickOutside: Oi }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...ur() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, n) { var X, Z; let { slots: t, attrs: l, emit: a } = n; const o = xe(e, "modelValue"), s = m({ get: () => o.value, set: (L) => { @@ -2308,33 +2323,33 @@ const ir = R({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack }) }; }(m(() => e.attach || e.contained)), { themeClasses: i } = $e(e), { rtlClasses: u, isRtl: v } = Et(), { hasContent: f, onAfterLeave: p } = function(L, W) { const G = de(!1), z = m(() => G.value || L.eager || W.value); - return oe(W, () => G.value = !0), { isBooted: G, hasContent: z, onAfterLeave: function() { + return ae(W, () => G.value = !0), { isBooted: G, hasContent: z, onAfterLeave: function() { L.eager || (G.value = !1); } }; - }(e, s), c = ot(m(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: y, stackStyles: S } = function(L, W, G) { - const z = Pe("useStack"), E = !G, K = Se(Da, void 0), se = Yt({ activeChildren: /* @__PURE__ */ new Set() }); - ke(Da, se); + }(e, s), d = ot(m(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: y, stackStyles: S } = function(L, W, G) { + const z = Pe("useStack"), E = !G, H = Se(Ta, void 0), se = Xt({ activeChildren: /* @__PURE__ */ new Set() }); + ke(Ta, se); const Y = de(+W.value); gt(L, () => { var he; - const ie = (he = Rt.at(-1)) == null ? void 0 : he[1]; - Y.value = ie ? ie + 10 : +W.value, E && Rt.push([z.uid, Y.value]), K == null || K.activeChildren.add(z.uid), Le(() => { + const ie = (he = Nt.at(-1)) == null ? void 0 : he[1]; + Y.value = ie ? ie + 10 : +W.value, E && Nt.push([z.uid, Y.value]), H == null || H.activeChildren.add(z.uid), Le(() => { if (E) { - const je = nt(Rt).findIndex((kt) => kt[0] === z.uid); - Rt.splice(je, 1); + const je = nt(Nt).findIndex((kt) => kt[0] === z.uid); + Nt.splice(je, 1); } - K == null || K.activeChildren.delete(z.uid); + H == null || H.activeChildren.delete(z.uid); }); }); const Q = de(!0); - E && Ne(() => { + E && Re(() => { var he; - const ie = ((he = Rt.at(-1)) == null ? void 0 : he[0]) === z.uid; + const ie = ((he = Nt.at(-1)) == null ? void 0 : he[0]) === z.uid; setTimeout(() => Q.value = ie); }); const re = m(() => !se.activeChildren.size); return { globalTop: mn(Q), localTop: re, stackStyles: m(() => ({ zIndex: Y.value })) }; - }(s, q(e, "zIndex"), e._disableGlobalStack), { activatorEl: x, activatorRef: A, target: F, targetEl: C, targetRef: B, activatorEvents: _, contentEvents: V, scrimEvents: g } = Vi(e, { isActive: s, isTop: y }), { dimensionStyles: w } = xt(e), k = function() { + }(s, q(e, "zIndex"), e._disableGlobalStack), { activatorEl: x, activatorRef: A, target: F, targetEl: C, targetRef: B, activatorEvents: _, contentEvents: V, scrimEvents: g } = Ei(e, { isActive: s, isTop: y }), { dimensionStyles: k } = xt(e), w = function() { if (!Ee) return de(!1); const { ssr: L } = En(); @@ -2345,27 +2360,27 @@ const ir = R({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack }), W; } return de(!0); - }(), { scopeId: P } = rr(); - oe(() => e.disabled, (L) => { + }(), { scopeId: P } = sr(); + ae(() => e.disabled, (L) => { L && (s.value = !1); }); - const $ = J(), D = J(), { contentStyles: O, updateLocation: T } = function(L, W) { + const $ = J(), D = J(), { contentStyles: M, updateLocation: T } = function(L, W) { const G = J({}), z = J(); - function E(K) { + function E(H) { var se; - (se = z.value) == null || se.call(z, K); + (se = z.value) == null || se.call(z, H); } - return Ee && gt(() => !(!W.isActive.value || !L.locationStrategy), (K) => { + return Ee && gt(() => !(!W.isActive.value || !L.locationStrategy), (H) => { var se, Y; - oe(() => L.locationStrategy, K), Le(() => { + ae(() => L.locationStrategy, H), Le(() => { window.removeEventListener("resize", E), z.value = void 0; - }), window.addEventListener("resize", E, { passive: !0 }), typeof L.locationStrategy == "function" ? z.value = (se = L.locationStrategy(W, L, G)) == null ? void 0 : se.updateLocation : z.value = (Y = or[L.locationStrategy](W, L, G)) == null ? void 0 : Y.updateLocation; + }), window.addEventListener("resize", E, { passive: !0 }), typeof L.locationStrategy == "function" ? z.value = (se = L.locationStrategy(W, L, G)) == null ? void 0 : se.updateLocation : z.value = (Y = rr[L.locationStrategy](W, L, G)) == null ? void 0 : Y.updateLocation; }), { contentStyles: G, updateLocation: z }; }(e, { isRtl: v, contentEl: D, target: F, isActive: s }); - function M(L) { + function N(L) { a("click:outside", L), e.persistent ? U() : s.value = !1; } - function H() { + function K() { return s.value && h.value; } function I(L) { @@ -2376,57 +2391,57 @@ const ir = R({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack if (!Ee) return; let G; - Ne(async () => { + Re(async () => { G == null || G.stop(), W.isActive.value && L.scrollStrategy && (G = yn(), await Fe(), G.active && G.run(() => { var z; - typeof L.scrollStrategy == "function" ? L.scrollStrategy(W, L, G) : (z = dl[L.scrollStrategy]) == null || z.call(dl, W, L, G); + typeof L.scrollStrategy == "function" ? L.scrollStrategy(W, L, G) : (z = pl[L.scrollStrategy]) == null || z.call(pl, W, L, G); })); }), Le(() => { G == null || G.stop(); }); - })(e, { root: $, contentEl: D, targetEl: C, isActive: s, updateLocation: T }), Ee && oe(s, (L) => { + })(e, { root: $, contentEl: D, targetEl: C, isActive: s, updateLocation: T }), Ee && ae(s, (L) => { L ? window.addEventListener("keydown", I) : window.removeEventListener("keydown", I); }, { immediate: !0 }), Ze(() => { Ee && window.removeEventListener("keydown", I); }); - const N = (Z = (X = Pe("useRouter")) == null ? void 0 : X.proxy) == null ? void 0 : Z.$router; + const R = (Z = (X = Pe("useRouter")) == null ? void 0 : X.proxy) == null ? void 0 : Z.$router; gt(() => e.closeOnBack, () => { (function(L, W) { let G, z, E = !1; - function K(se) { + function H(se) { var Y; (Y = se.state) != null && Y.replaced || (E = !0, setTimeout(() => E = !1)); } Ee && (Fe(() => { - window.addEventListener("popstate", K), G = L == null ? void 0 : L.beforeEach((se, Y, Q) => { + window.addEventListener("popstate", H), G = L == null ? void 0 : L.beforeEach((se, Y, Q) => { ql ? E ? W(Q) : Q() : setTimeout(() => E ? W(Q) : Q()), ql = !0; }), z = L == null ? void 0 : L.afterEach(() => { ql = !1; }); }), Le(() => { - window.removeEventListener("popstate", K), G == null || G(), z == null || z(); + window.removeEventListener("popstate", H), G == null || G(), z == null || z(); })); - })(N, (L) => { + })(R, (L) => { h.value && s.value ? (L(!1), e.persistent ? U() : s.value = !1) : L(); }); }); const j = J(); function U() { - e.noClickAnimation || D.value && Bt(D.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: bl }); + e.noClickAnimation || D.value && Bt(D.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Sl }); } - function ee() { + function te() { p(), a("afterLeave"); } - return oe(() => s.value && (e.absolute || e.contained) && r.value == null, (L) => { + return ae(() => s.value && (e.absolute || e.contained) && r.value == null, (L) => { if (L) { - const W = po($.value); + const W = vo($.value); W && W !== document.scrollingElement && (j.value = W.scrollTop); } }), ue(() => { var L; - return d(pe, null, [(L = t.activator) == null ? void 0 : L.call(t, { isActive: s.value, props: te({ ref: A, targetRef: B }, _.value, e.activatorProps) }), k.value && f.value && d(fs, { disabled: !r.value, to: r.value }, { default: () => [d("div", te({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": s.value, "v-overlay--contained": e.contained }, i.value, u.value, e.class], style: [S.value, { top: ae(j.value) }, e.style], ref: $ }, P, l), [d(Li, te({ color: c, modelValue: s.value && !!e.scrim }, g.value), null), d(tt, { appear: !0, persisted: !0, transition: e.transition, target: F.value, onAfterLeave: ee }, { default: () => { + return c(pe, null, [(L = t.activator) == null ? void 0 : L.call(t, { isActive: s.value, props: ee({ ref: A, targetRef: B }, _.value, e.activatorProps) }), !e.disabled && w.value && f.value && c(gs, { disabled: !r.value, to: r.value }, { default: () => [c("div", ee({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": s.value, "v-overlay--contained": e.contained }, i.value, u.value, e.class], style: [S.value, { top: oe(j.value) }, e.style], ref: $ }, P, l), [c(Mi, ee({ color: d, modelValue: !!e.scrim && s.value }, g.value), null), c(tt, { appear: !0, persisted: !0, transition: e.transition, target: F.value, onAfterLeave: te }, { default: () => { var W; - return [Ge(d("div", te({ ref: D, class: ["v-overlay__content", e.contentClass], style: [w.value, O.value] }, V.value, e.contentProps), [(W = t.default) == null ? void 0 : W.call(t, { isActive: s })]), [[Vt, s.value], [yt("click-outside"), { handler: M, closeConditional: H, include: () => [x.value] }]])]; + return [Ge(c("div", ee({ ref: D, class: ["v-overlay__content", e.contentClass], style: [k.value, M.value] }, V.value, e.contentProps), [(W = t.default) == null ? void 0 : W.call(t, { isActive: s })]), [[Vt, s.value], [yt("click-outside"), { handler: N, closeConditional: K, include: () => [x.value] }]])]; } })])] })]); }), { activatorEl: x, target: F, animateClick: U, contentEl: D, globalTop: h, localTop: y, updateLocation: T }; } }), Xl = Symbol("Forwarded refs"); @@ -2439,7 +2454,7 @@ function Jl(e, n) { t = Object.getPrototypeOf(t); } } -function Dn(e) { +function Tn(e) { for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++) t[l - 1] = arguments[l]; return e[Xl] = t, new Proxy(e, { get(a, o) { @@ -2492,16 +2507,16 @@ function Dn(e) { const f = v.shift(), p = Jl(f.value, o); if (p) return p; - const c = f.value && f.value[Xl]; - c && v.push(...c); + const d = f.value && f.value[Xl]; + d && v.push(...d); } } } } }); } -const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: mo } }), ["absolute"]) }, "VMenu"), Mi = le()({ name: "VMenu", props: Oi(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { +const Ni = O({ id: String, ...bt(ur({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: yo } }), ["absolute"]) }, "VMenu"), Ri = le()({ name: "VMenu", props: Ni(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { let { slots: t } = n; - const l = xe(e, "modelValue"), { scopeId: a } = rr(), o = qe(), s = m(() => e.id || `v-menu-${o}`), r = J(), i = Se(pn, null), u = de(0); + const l = xe(e, "modelValue"), { scopeId: a } = sr(), o = qe(), s = m(() => e.id || `v-menu-${o}`), r = J(), i = Se(pn, null), u = de(0); async function v(y) { var A, F, C; const S = y.relatedTarget, x = y.target; @@ -2512,14 +2527,14 @@ const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, } function p(y) { var S, x, A; - !e.disabled && y.key === "Tab" && (lo(ln((S = r.value) == null ? void 0 : S.contentEl, !1), y.shiftKey ? "prev" : "next", (F) => F.tabIndex >= 0) || (l.value = !1, (A = (x = r.value) == null ? void 0 : x.activatorEl) == null || A.focus())); + !e.disabled && y.key === "Tab" && (no(ln((S = r.value) == null ? void 0 : S.contentEl, !1), y.shiftKey ? "prev" : "next", (F) => F.tabIndex >= 0) || (l.value = !1, (A = (x = r.value) == null ? void 0 : x.activatorEl) == null || A.focus())); } - function c(y) { + function d(y) { var x; if (e.disabled) return; const S = (x = r.value) == null ? void 0 : x.contentEl; - S && l.value ? y.key === "ArrowDown" ? (y.preventDefault(), ml(S, "next")) : y.key === "ArrowUp" && (y.preventDefault(), ml(S, "prev")) : ["ArrowDown", "ArrowUp"].includes(y.key) && (l.value = !0, y.preventDefault(), setTimeout(() => setTimeout(() => c(y)))); + S && l.value ? y.key === "ArrowDown" ? (y.preventDefault(), yl(S, "next")) : y.key === "ArrowUp" && (y.preventDefault(), yl(S, "prev")) : ["ArrowDown", "ArrowUp"].includes(y.key) && (l.value = !0, y.preventDefault(), setTimeout(() => setTimeout(() => d(y)))); } ke(pn, { register() { ++u.value; @@ -2529,38 +2544,38 @@ const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, setTimeout(() => { u.value || (l.value = !1, i == null || i.closeParents()); }, 40); - } }), oe(l, (y) => { + } }), ae(l, (y) => { y ? (i == null || i.register(), document.addEventListener("focusin", v, { once: !0 })) : (i == null || i.unregister(), document.removeEventListener("focusin", v)); }); - const h = m(() => te({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": s.value, onKeydown: c }, e.activatorProps)); + const h = m(() => ee({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": s.value, onKeydown: d }, e.activatorProps)); return ue(() => { const y = Oa.filterProps(e); - return d(Oa, te({ ref: r, class: ["v-menu", e.class], style: e.style }, y, { modelValue: l.value, "onUpdate:modelValue": (S) => l.value = S, absolute: !0, activatorProps: h.value, "onClick:outside": f, onKeydown: p }, a), { activator: t.activator, default: function() { + return c(Oa, ee({ ref: r, class: ["v-menu", e.class], style: e.style }, y, { modelValue: l.value, "onUpdate:modelValue": (S) => l.value = S, absolute: !0, activatorProps: h.value, "onClick:outside": f, onKeydown: p }, a), { activator: t.activator, default: function() { for (var S = arguments.length, x = new Array(S), A = 0; A < S; A++) x[A] = arguments[A]; - return d(ze, { root: "VMenu" }, { default: () => { + return c(ze, { root: "VMenu" }, { default: () => { var F; return [(F = t.default) == null ? void 0 : F.call(t, ...x)]; } }); } }); - }), Dn({ id: s, ΨopenChildren: u }, r); -} }), Ri = R({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ve(), ...Jt({ transition: { component: yo } }) }, "VCounter"), Ni = le()({ name: "VCounter", functional: !0, props: Ri(), setup(e, n) { + }), Tn({ id: s, ΨopenChildren: u }, r); +} }), ji = O({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ve(), ...Zt({ transition: { component: ho } }) }, "VCounter"), Wi = le()({ name: "VCounter", functional: !0, props: ji(), setup(e, n) { let { slots: t } = n; const l = m(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); - return ue(() => d(tt, { transition: e.transition }, { default: () => [Ge(d("div", { class: ["v-counter", e.class], style: e.style }, [t.default ? t.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Vt, e.active]])] })), {}; -} }), ji = R({ floating: Boolean, ...ve() }, "VFieldLabel"), il = le()({ name: "VFieldLabel", props: ji(), setup(e, n) { + return ue(() => c(tt, { transition: e.transition }, { default: () => [Ge(c("div", { class: ["v-counter", e.class], style: e.style }, [t.default ? t.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Vt, e.active]])] })), {}; +} }), zi = O({ floating: Boolean, ...ve() }, "VFieldLabel"), ul = le()({ name: "VFieldLabel", props: zi(), setup(e, n) { let { slots: t } = n; - return ue(() => d(No, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, t)), {}; -} }), Wi = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ur = R({ appendInnerIcon: me, bgColor: String, clearable: Boolean, clearIcon: { type: me, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: me, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Wi.includes(e) }, "onClick:clear": Re(), "onClick:appendInner": Re(), "onClick:prependInner": Re(), ...ve(), ...Bn(), ...Qe(), ...Be() }, "VField"), Ma = le()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Ko(), ...ur() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { + return ue(() => c(jo, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, t)), {}; +} }), Gi = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], cr = O({ appendInnerIcon: me, bgColor: String, clearable: Boolean, clearIcon: { type: me, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: me, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Gi.includes(e) }, "onClick:clear": Ne(), "onClick:appendInner": Ne(), "onClick:prependInner": Ne(), ...ve(), ...Bn(), ...Qe(), ...Be() }, "VField"), Ma = le()({ name: "VField", inheritAttrs: !1, props: { id: String, ...qo(), ...cr() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { let { attrs: t, emit: l, slots: a } = n; - const { themeClasses: o } = $e(e), { loaderClasses: s } = An(e), { focusClasses: r, isFocused: i, focus: u, blur: v } = $n(e), { InputIcon: f } = Ho(e), { roundedClasses: p } = ut(e), { rtlClasses: c } = Et(), h = m(() => e.dirty || e.active), y = m(() => !(e.singleLine || !e.label && !a.label)), S = qe(), x = m(() => e.id || `input-${S}`), A = m(() => `${x.value}-messages`), F = J(), C = J(), B = J(), _ = m(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: V, backgroundColorStyles: g } = ot(q(e, "bgColor")), { textColorClasses: w, textColorStyles: k } = Je(m(() => e.error || e.disabled ? void 0 : h.value && i.value ? e.color : e.baseColor)); - oe(h, (D) => { + const { themeClasses: o } = $e(e), { loaderClasses: s } = An(e), { focusClasses: r, isFocused: i, focus: u, blur: v } = $n(e), { InputIcon: f } = Ko(e), { roundedClasses: p } = ut(e), { rtlClasses: d } = Et(), h = m(() => e.dirty || e.active), y = m(() => !(e.singleLine || !e.label && !a.label)), S = qe(), x = m(() => e.id || `input-${S}`), A = m(() => `${x.value}-messages`), F = J(), C = J(), B = J(), _ = m(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: V, backgroundColorStyles: g } = ot(q(e, "bgColor")), { textColorClasses: k, textColorStyles: w } = Je(m(() => e.error || e.disabled ? void 0 : h.value && i.value ? e.color : e.baseColor)); + ae(h, (D) => { if (y.value) { - const O = F.value.$el, T = C.value.$el; + const M = F.value.$el, T = C.value.$el; requestAnimationFrame(() => { - const M = wn(O), H = T.getBoundingClientRect(), I = H.x - M.x, N = H.y - M.y - (M.height / 2 - H.height / 2), j = H.width / 0.75, U = Math.abs(j - M.width) > 1 ? { maxWidth: ae(j) } : void 0, ee = getComputedStyle(O), X = getComputedStyle(T), Z = 1e3 * parseFloat(ee.transitionDuration) || 150, L = parseFloat(X.getPropertyValue("--v-field-label-scale")), W = X.getPropertyValue("color"); - O.style.visibility = "visible", T.style.visibility = "hidden", Bt(O, { transform: `translate(${I}px, ${N}px) scale(${L})`, color: W, ...U }, { duration: Z, easing: bl, direction: D ? "normal" : "reverse" }).finished.then(() => { - O.style.removeProperty("visibility"), T.style.removeProperty("visibility"); + const N = wn(M), K = T.getBoundingClientRect(), I = K.x - N.x, R = K.y - N.y - (N.height / 2 - K.height / 2), j = K.width / 0.75, U = Math.abs(j - N.width) > 1 ? { maxWidth: oe(j) } : void 0, te = getComputedStyle(M), X = getComputedStyle(T), Z = 1e3 * parseFloat(te.transitionDuration) || 150, L = parseFloat(X.getPropertyValue("--v-field-label-scale")), W = X.getPropertyValue("color"); + M.style.visibility = "visible", T.style.visibility = "hidden", Bt(M, { transform: `translate(${I}px, ${R}px) scale(${L})`, color: W, ...U }, { duration: Z, easing: Sl, direction: D ? "normal" : "reverse" }).finished.then(() => { + M.style.removeProperty("visibility"), T.style.removeProperty("visibility"); }); }); } @@ -2570,20 +2585,20 @@ const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, D.target !== document.activeElement && D.preventDefault(); } return ue(() => { - var I, N, j; - const D = e.variant === "outlined", O = a["prepend-inner"] || e.prependInnerIcon, T = !(!e.clearable && !a.clear), M = !!(a["append-inner"] || e.appendInnerIcon || T), H = () => a.label ? a.label({ ...P.value, label: e.label, props: { for: x.value } }) : e.label; - return d("div", te({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": M, "v-field--center-affix": e.centerAffix ?? !_.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": O, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !H(), [`v-field--variant-${e.variant}`]: !0 }, o.value, V.value, r.value, s.value, p.value, c.value, e.class], style: [g.value, e.style], onClick: $ }, t), [d("div", { class: "v-field__overlay" }, null), d(Io, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), O && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(f, { key: "prepend-icon", name: "prependInner" }, null), (I = a["prepend-inner"]) == null ? void 0 : I.call(a, P.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && y.value && d(il, { key: "floating-label", ref: C, class: [w.value], floating: !0, for: x.value, style: k.value }, { default: () => [H()] }), d(il, { ref: F, for: x.value }, { default: () => [H()] }), (N = a.default) == null ? void 0 : N.call(a, { ...P.value, props: { id: x.value, class: "v-field__input", "aria-describedby": A.value }, focus: u, blur: v })]), T && d(ho, { key: "clear" }, { default: () => [Ge(d("div", { class: "v-field__clearable", onMousedown: (U) => { + var I, R, j; + const D = e.variant === "outlined", M = a["prepend-inner"] || e.prependInnerIcon, T = !(!e.clearable && !a.clear), N = !!(a["append-inner"] || e.appendInnerIcon || T), K = () => a.label ? a.label({ ...P.value, label: e.label, props: { for: x.value } }) : e.label; + return c("div", ee({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": N, "v-field--center-affix": e.centerAffix ?? !_.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": M, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !K(), [`v-field--variant-${e.variant}`]: !0 }, o.value, V.value, r.value, s.value, p.value, d.value, e.class], style: [g.value, e.style], onClick: $ }, t), [c("div", { class: "v-field__overlay" }, null), c(Eo, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), M && c("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && c(f, { key: "prepend-icon", name: "prependInner" }, null), (I = a["prepend-inner"]) == null ? void 0 : I.call(a, P.value)]), c("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && y.value && c(ul, { key: "floating-label", ref: C, class: [k.value], floating: !0, for: x.value, style: w.value }, { default: () => [K()] }), c(ul, { ref: F, for: x.value }, { default: () => [K()] }), (R = a.default) == null ? void 0 : R.call(a, { ...P.value, props: { id: x.value, class: "v-field__input", "aria-describedby": A.value }, focus: u, blur: v })]), T && c(bo, { key: "clear" }, { default: () => [Ge(c("div", { class: "v-field__clearable", onMousedown: (U) => { U.preventDefault(), U.stopPropagation(); - } }, [a.clear ? a.clear() : d(f, { name: "clear" }, null)]), [[Vt, e.dirty]])] }), M && d("div", { key: "append", class: "v-field__append-inner" }, [(j = a["append-inner"]) == null ? void 0 : j.call(a, P.value), e.appendInnerIcon && d(f, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", w.value], style: k.value }, [D && d(pe, null, [d("div", { class: "v-field__outline__start" }, null), y.value && d("div", { class: "v-field__outline__notch" }, [d(il, { ref: C, floating: !0, for: x.value }, { default: () => [H()] })]), d("div", { class: "v-field__outline__end" }, null)]), _.value && y.value && d(il, { ref: C, floating: !0, for: x.value }, { default: () => [H()] })])]); + } }, [a.clear ? a.clear() : c(f, { name: "clear" }, null)]), [[Vt, e.dirty]])] }), N && c("div", { key: "append", class: "v-field__append-inner" }, [(j = a["append-inner"]) == null ? void 0 : j.call(a, P.value), e.appendInnerIcon && c(f, { key: "append-icon", name: "appendInner" }, null)]), c("div", { class: ["v-field__outline", k.value], style: w.value }, [D && c(pe, null, [c("div", { class: "v-field__outline__start" }, null), y.value && c("div", { class: "v-field__outline__notch" }, [c(ul, { ref: C, floating: !0, for: x.value }, { default: () => [K()] })]), c("div", { class: "v-field__outline__end" }, null)]), _.value && y.value && c(ul, { ref: C, floating: !0, for: x.value }, { default: () => [K()] })])]); }), { controlRef: B }; -} }), zi = ["color", "file", "time", "date", "datetime-local", "week", "month"], cr = R({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Vn(), ...ur() }, "VTextField"), vn = le()({ name: "VTextField", directives: { Intersect: So }, inheritAttrs: !1, props: cr(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { +} }), Hi = ["color", "file", "time", "date", "datetime-local", "week", "month"], dr = O({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Vn(), ...cr() }, "VTextField"), vn = le()({ name: "VTextField", directives: { Intersect: xo }, inheritAttrs: !1, props: dr(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { let { attrs: t, emit: l, slots: a } = n; const o = xe(e, "modelValue"), { isFocused: s, focus: r, blur: i } = $n(e), u = m(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : (o.value ?? "").toString().length), v = m(() => t.maxlength ? t.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), f = m(() => ["plain", "underlined"].includes(e.variant)); function p(_, V) { - var g, w; - e.autofocus && _ && ((w = (g = V[0].target) == null ? void 0 : g.focus) == null || w.call(g)); + var g, k; + e.autofocus && _ && ((k = (g = V[0].target) == null ? void 0 : g.focus) == null || k.call(g)); } - const c = J(), h = J(), y = J(), S = m(() => zi.includes(e.type) || e.persistentPlaceholder || s.value || e.active); + const d = J(), h = J(), y = J(), S = m(() => Hi.includes(e.type) || e.persistentPlaceholder || s.value || e.active); function x() { var _; y.value !== document.activeElement && ((_ = y.value) == null || _.focus()), s.value || r(); @@ -2597,13 +2612,13 @@ const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, function C(_) { _.stopPropagation(), x(), Fe(() => { o.value = null, function(V) { - for (var g = arguments.length, w = new Array(g > 1 ? g - 1 : 0), k = 1; k < g; k++) - w[k - 1] = arguments[k]; + for (var g = arguments.length, k = new Array(g > 1 ? g - 1 : 0), w = 1; w < g; w++) + k[w - 1] = arguments[w]; if (Array.isArray(V)) for (const P of V) - P(...w); + P(...k); else - typeof V == "function" && V(...w); + typeof V == "function" && V(...k); }(e["onClick:clear"], _); }); } @@ -2611,77 +2626,77 @@ const Oi = R({ id: String, ...bt(ir({ closeDelay: 250, closeOnContentClick: !0, var g; const V = _.target; if (o.value = V.value, ((g = e.modelModifiers) == null ? void 0 : g.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { - const w = [V.selectionStart, V.selectionEnd]; + const k = [V.selectionStart, V.selectionEnd]; Fe(() => { - V.selectionStart = w[0], V.selectionEnd = w[1]; + V.selectionStart = k[0], V.selectionEnd = k[1]; }); } } return ue(() => { - const _ = !!(a.counter || e.counter !== !1 && e.counter != null), V = !(!_ && !a.details), [g, w] = Sn(t), { modelValue: k, ...P } = kl.filterProps(e), $ = function(D) { - return Qa(D, Object.keys(Ma.props).filter((O) => !fl(O) && O !== "class" && O !== "style")); + const _ = !!(a.counter || e.counter !== !1 && e.counter != null), V = !(!_ && !a.details), [g, k] = Sn(t), { modelValue: w, ...P } = Cl.filterProps(e), $ = function(D) { + return eo(D, Object.keys(Ma.props).filter((M) => !gl(M) && M !== "class" && M !== "style")); }(e); - return d(kl, te({ ref: c, modelValue: o.value, "onUpdate:modelValue": (D) => o.value = D, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": f.value }, e.class], style: e.style }, g, P, { centerAffix: !f.value, focused: s.value }), { ...a, default: (D) => { - let { id: O, isDisabled: T, isDirty: M, isReadonly: H, isValid: I } = D; - return d(Ma, te({ ref: h, onMousedown: A, onClick: F, "onClick:clear": C, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, $, { id: O.value, active: S.value || M.value, dirty: M.value || e.dirty, disabled: T.value, focused: s.value, error: I.value === !1 }), { ...a, default: (N) => { - let { props: { class: j, ...U } } = N; - const ee = Ge(d("input", te({ ref: y, value: o.value, onInput: B, autofocus: e.autofocus, readonly: H.value, disabled: T.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: x, onBlur: i }, U, w), null), [[yt("intersect"), { handler: p }, null, { once: !0 }]]); - return d(pe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? d("div", { class: j, "data-no-activator": "" }, [a.default(), ee]) : gs(ee, { class: j }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + return c(Cl, ee({ ref: d, modelValue: o.value, "onUpdate:modelValue": (D) => o.value = D, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": f.value }, e.class], style: e.style }, g, P, { centerAffix: !f.value, focused: s.value }), { ...a, default: (D) => { + let { id: M, isDisabled: T, isDirty: N, isReadonly: K, isValid: I } = D; + return c(Ma, ee({ ref: h, onMousedown: A, onClick: F, "onClick:clear": C, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, $, { id: M.value, active: S.value || N.value, dirty: N.value || e.dirty, disabled: T.value, focused: s.value, error: I.value === !1 }), { ...a, default: (R) => { + let { props: { class: j, ...U } } = R; + const te = Ge(c("input", ee({ ref: y, value: o.value, onInput: B, autofocus: e.autofocus, readonly: K.value, disabled: T.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: x, onBlur: i }, U, k), null), [[yt("intersect"), { handler: p }, null, { once: !0 }]]); + return c(pe, null, [e.prefix && c("span", { class: "v-text-field__prefix" }, [c("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? c("div", { class: j, "data-no-activator": "" }, [a.default(), te]) : ms(te, { class: j }), e.suffix && c("span", { class: "v-text-field__suffix" }, [c("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); }, details: V ? (D) => { - var O; - return d(pe, null, [(O = a.details) == null ? void 0 : O.call(a, D), _ && d(pe, null, [d("span", null, null), d(Ni, { active: e.persistentCounter || s.value, value: u.value, max: v.value }, a.counter)])]); + var M; + return c(pe, null, [(M = a.details) == null ? void 0 : M.call(a, D), _ && c(pe, null, [c("span", null, null), c(Wi, { active: e.persistentCounter || s.value, value: u.value, max: v.value }, a.counter)])]); } : void 0 }); - }), Dn({}, c, h, y); -} }), Gi = R({ renderless: Boolean, ...ve() }, "VVirtualScrollItem"), Hi = le()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Gi(), emits: { "update:height": (e) => !0 }, setup(e, n) { + }), Tn({}, d, h, y); +} }), Ki = O({ renderless: Boolean, ...ve() }, "VVirtualScrollItem"), qi = le()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Ki(), emits: { "update:height": (e) => !0 }, setup(e, n) { let { attrs: t, emit: l, slots: a } = n; - const { resizeRef: o, contentRect: s } = Tl(void 0, "border"); - oe(() => { + const { resizeRef: o, contentRect: s } = Dl(void 0, "border"); + ae(() => { var r; return (r = s.value) == null ? void 0 : r.height; }, (r) => { r != null && l("update:height", r); }), ue(() => { var r, i; - return e.renderless ? d(pe, null, [(r = a.default) == null ? void 0 : r.call(a, { itemRef: o })]) : d("div", te({ ref: o, class: ["v-virtual-scroll__item", e.class], style: e.style }, t), [(i = a.default) == null ? void 0 : i.call(a)]); + return e.renderless ? c(pe, null, [(r = a.default) == null ? void 0 : r.call(a, { itemRef: o })]) : c("div", ee({ ref: o, class: ["v-virtual-scroll__item", e.class], style: e.style }, t), [(i = a.default) == null ? void 0 : i.call(a)]); }); -} }), Ki = R({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); -function qi(e, n) { +} }), Ui = O({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); +function Yi(e, n) { const t = En(), l = de(0); - Ne(() => { + Re(() => { l.value = parseFloat(e.itemHeight || 0); }); const a = de(0), o = de(Math.ceil((parseInt(e.height) || t.height.value) / (l.value || 16)) || 1), s = de(0), r = de(0), i = J(), u = J(); let v = 0; - const { resizeRef: f, contentRect: p } = Tl(); - Ne(() => { + const { resizeRef: f, contentRect: p } = Dl(); + Re(() => { f.value = i.value; }); - const c = m(() => { + const d = m(() => { var T; return i.value === document.documentElement ? t.height.value : ((T = p.value) == null ? void 0 : T.height) || parseInt(e.height) || 0; - }), h = m(() => !!(i.value && u.value && c.value && l.value)); + }), h = m(() => !!(i.value && u.value && d.value && l.value)); let y = Array.from({ length: n.value.length }), S = Array.from({ length: n.value.length }); const x = de(0); let A = -1; - const F = function(T, M) { - let H = 0; + const F = function(T, N) { + let K = 0; const I = function() { - for (var N = arguments.length, j = new Array(N), U = 0; U < N; U++) + for (var R = arguments.length, j = new Array(R), U = 0; U < R; U++) j[U] = arguments[U]; - clearTimeout(H), H = setTimeout(() => T(...j), b(M)); + clearTimeout(K), K = setTimeout(() => T(...j), b(N)); }; return I.clear = () => { - clearTimeout(H); + clearTimeout(K); }, I.immediate = T, I; }(() => { const T = performance.now(); S[0] = 0; - const M = n.value.length; - for (let H = 1; H <= M - 1; H++) - S[H] = (S[H - 1] || 0) + (y[H - 1] || l.value); + const N = n.value.length; + for (let K = 1; K <= N - 1; K++) + S[K] = (S[K - 1] || 0) + (y[K - 1] || l.value); x.value = Math.max(x.value, performance.now() - T); - }, x), C = oe(h, (T) => { + }, x), C = ae(h, (T) => { T && (C(), v = u.value.offsetTop, F.immediate(), P(), ~A && Fe(() => { Ee && window.requestAnimationFrame(() => { D(A), A = -1; @@ -2692,62 +2707,62 @@ function qi(e, n) { return T = at(T, 0, n.value.length - 1), S[T] || 0; } function _(T) { - return function(M, H) { - let I = M.length - 1, N = 0, j = 0, U = null, ee = -1; - if (M[I] < H) + return function(N, K) { + let I = N.length - 1, R = 0, j = 0, U = null, te = -1; + if (N[I] < K) return I; - for (; N <= I; ) - if (j = N + I >> 1, U = M[j], U > H) + for (; R <= I; ) + if (j = R + I >> 1, U = N[j], U > K) I = j - 1; else { - if (!(U < H)) - return U === H ? j : N; - ee = j, N = j + 1; + if (!(U < K)) + return U === K ? j : R; + te = j, R = j + 1; } - return ee; + return te; }(S, T); } - oe(c, (T, M) => { - M && P(); + ae(d, (T, N) => { + N && P(); }), Le(() => { F.clear(); }); - let V = 0, g = 0, w = 0, k = -1; + let V = 0, g = 0, k = 0, w = -1; function P() { - cancelAnimationFrame(k), k = requestAnimationFrame($); + cancelAnimationFrame(w), w = requestAnimationFrame($); } function $() { - if (!i.value || !c.value) + if (!i.value || !d.value) return; - const T = V - v, M = Math.sign(g), H = at(_(Math.max(0, T - 100)), 0, n.value.length), I = at(_(T + c.value + 100) + 1, H + 1, n.value.length); - if ((M !== -1 || H < a.value) && (M !== 1 || I > o.value)) { - const N = B(a.value) - B(H), j = B(I) - B(o.value); - Math.max(N, j) > 100 ? (a.value = H, o.value = I) : (H <= 0 && (a.value = H), I >= n.value.length && (o.value = I)); + const T = V - v, N = Math.sign(g), K = at(_(Math.max(0, T - 100)), 0, n.value.length), I = at(_(T + d.value + 100) + 1, K + 1, n.value.length); + if ((N !== -1 || K < a.value) && (N !== 1 || I > o.value)) { + const R = B(a.value) - B(K), j = B(I) - B(o.value); + Math.max(R, j) > 100 ? (a.value = K, o.value = I) : (K <= 0 && (a.value = K), I >= n.value.length && (o.value = I)); } s.value = B(a.value), r.value = B(n.value.length) - B(o.value); } function D(T) { - const M = B(T); - !i.value || T && !M ? A = T : i.value.scrollTop = M; + const N = B(T); + !i.value || T && !N ? A = T : i.value.scrollTop = N; } - const O = m(() => n.value.slice(a.value, o.value).map((T, M) => ({ raw: T, index: M + a.value }))); - return oe(n, () => { + const M = m(() => n.value.slice(a.value, o.value).map((T, N) => ({ raw: T, index: N + a.value }))); + return ae(n, () => { y = Array.from({ length: n.value.length }), S = Array.from({ length: n.value.length }), F.immediate(), P(); - }, { deep: !0 }), { containerRef: i, markerRef: u, computedItems: O, paddingTop: s, paddingBottom: r, scrollToIndex: D, handleScroll: function() { + }, { deep: !0 }), { containerRef: i, markerRef: u, computedItems: M, paddingTop: s, paddingBottom: r, scrollToIndex: D, handleScroll: function() { if (!i.value || !u.value) return; - const T = i.value.scrollTop, M = performance.now(); - M - w > 500 ? (g = Math.sign(T - V), v = u.value.offsetTop) : g = T - V, V = T, w = M, P(); + const T = i.value.scrollTop, N = performance.now(); + N - k > 500 ? (g = Math.sign(T - V), v = u.value.offsetTop) : g = T - V, V = T, k = N, P(); }, handleScrollend: function() { - i.value && u.value && (g = 0, w = 0, P()); - }, handleItemResize: function(T, M) { - const H = y[T], I = l.value; - l.value = I ? Math.min(l.value, M) : M, H === M && I === l.value || (y[T] = M, F()); + i.value && u.value && (g = 0, k = 0, P()); + }, handleItemResize: function(T, N) { + const K = y[T], I = l.value; + l.value = I ? Math.min(l.value, N) : N, K === N && I === l.value || (y[T] = N, F()); } }; } -const Ui = R({ items: { type: Array, default: () => [] }, renderless: Boolean, ...Ki(), ...ve(), ...St() }, "VVirtualScroll"), Yi = le()({ name: "VVirtualScroll", props: Ui(), setup(e, n) { +const Xi = O({ items: { type: Array, default: () => [] }, renderless: Boolean, ...Ui(), ...ve(), ...St() }, "VVirtualScroll"), Ji = le()({ name: "VVirtualScroll", props: Xi(), setup(e, n) { let { slots: t } = n; - const l = Pe("VVirtualScroll"), { dimensionStyles: a } = xt(e), { containerRef: o, markerRef: s, handleScroll: r, handleScrollend: i, handleItemResize: u, scrollToIndex: v, paddingTop: f, paddingBottom: p, computedItems: c } = qi(e, q(e, "items")); + const l = Pe("VVirtualScroll"), { dimensionStyles: a } = xt(e), { containerRef: o, markerRef: s, handleScroll: r, handleScrollend: i, handleItemResize: u, scrollToIndex: v, paddingTop: f, paddingBottom: p, computedItems: d } = Yi(e, q(e, "items")); return gt(() => e.renderless, () => { function h() { var S, x; @@ -2755,17 +2770,17 @@ const Ui = R({ items: { type: Array, default: () => [] }, renderless: Boolean, . o.value === document.documentElement ? (document[y]("scroll", r, { passive: !0 }), document[y]("scrollend", i)) : ((S = o.value) == null || S[y]("scroll", r, { passive: !0 }), (x = o.value) == null || x[y]("scrollend", i)); } ht(() => { - o.value = po(l.vnode.el, !0), h(!0); + o.value = vo(l.vnode.el, !0), h(!0); }), Le(h); }), ue(() => { - const h = c.value.map((y) => d(Hi, { key: y.index, renderless: e.renderless, "onUpdate:height": (S) => u(y.index, S) }, { default: (S) => { + const h = d.value.map((y) => c(qi, { key: y.index, renderless: e.renderless, "onUpdate:height": (S) => u(y.index, S) }, { default: (S) => { var x; return (x = t.default) == null ? void 0 : x.call(t, { item: y.raw, index: y.index, ...S }); } })); - return e.renderless ? d(pe, null, [d("div", { ref: s, class: "v-virtual-scroll__spacer", style: { paddingTop: ae(f.value) } }, null), h, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ae(p.value) } }, null)]) : d("div", { ref: o, class: ["v-virtual-scroll", e.class], onScrollPassive: r, onScrollend: i, style: [a.value, e.style] }, [d("div", { ref: s, class: "v-virtual-scroll__container", style: { paddingTop: ae(f.value), paddingBottom: ae(p.value) } }, [h])]); + return e.renderless ? c(pe, null, [c("div", { ref: s, class: "v-virtual-scroll__spacer", style: { paddingTop: oe(f.value) } }, null), h, c("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: oe(p.value) } }, null)]) : c("div", { ref: o, class: ["v-virtual-scroll", e.class], onScrollPassive: r, onScrollend: i, style: [a.value, e.style] }, [c("div", { ref: s, class: "v-virtual-scroll__container", style: { paddingTop: oe(f.value), paddingBottom: oe(p.value) } }, [h])]); }), { scrollToIndex: v }; } }); -function Xi(e, n) { +function Zi(e, n) { const t = de(!1); let l; return { onListScroll: function(a) { @@ -2784,7 +2799,7 @@ function Xi(e, n) { a.key !== "Home" && a.key !== "End" || o.scrollTo({ top: a.key === "Home" ? 0 : o.scrollHeight, behavior: "smooth" }), await async function() { await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => { if (t.value) { - const v = oe(t, () => { + const v = ae(t, () => { v(), u(); }); } else @@ -2809,102 +2824,104 @@ function Xi(e, n) { } } }; } -const Ji = R({ 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: me, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...lr({ itemChildren: !1 }) }, "Select"), Zi = R({ ...Ji(), ...bt(cr({ modelValue: null, role: "combobox" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Jt({ transition: { component: mo } }) }, "VSelect"), Qi = le()({ name: "VSelect", props: Zi(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, n) { +const Qi = O({ 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: me, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...nr({ itemChildren: !1 }) }, "Select"), eu = O({ ...Qi(), ...bt(dr({ modelValue: null, role: "combobox" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Zt({ transition: { component: yo } }) }, "VSelect"), tu = le()({ name: "VSelect", props: eu(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, n) { let { slots: t } = n; const { t: l } = it(), a = J(), o = J(), s = J(), r = xe(e, "menu"), i = m({ get: () => r.value, set: (I) => { - var N; - r.value && !I && ((N = o.value) != null && N.ΨopenChildren) || (r.value = I); + var R; + r.value && !I && ((R = o.value) != null && R.ΨopenChildren) || (r.value = I); } }), { items: u, transformIn: v, transformOut: f } = function(I) { - const N = m(() => nr(I, I.items)), j = m(() => N.value.some((U) => U.value === null)); - return { items: N, transformIn: function(U) { - return j.value || (U = U.filter((ee) => ee !== null)), U.map((ee) => I.returnObject && typeof ee == "string" ? un(I, ee) : N.value.find((X) => I.valueComparator(ee, X.value)) || un(I, ee)); + const R = m(() => ar(I, I.items)), j = m(() => R.value.some((U) => U.value === null)); + return { items: R, transformIn: function(U) { + return j.value || (U = U.filter((te) => te !== null)), U.map((te) => I.returnObject && typeof te == "string" ? un(I, te) : R.value.find((X) => I.valueComparator(te, X.value)) || un(I, te)); }, transformOut: function(U) { - return I.returnObject ? U.map((ee) => { - let { raw: X } = ee; + return I.returnObject ? U.map((te) => { + let { raw: X } = te; return X; - }) : U.map((ee) => { - let { value: X } = ee; + }) : U.map((te) => { + let { value: X } = te; return X; }); } }; }(e), p = xe(e, "modelValue", [], (I) => v(I === null ? [null] : Ie(I)), (I) => { - const N = f(I); - return e.multiple ? N : N[0] ?? null; - }), c = m(() => typeof e.counterValue == "function" ? e.counterValue(p.value) : typeof e.counterValue == "number" ? e.counterValue : p.value.length), h = qo(), y = m(() => p.value.map((I) => I.value)), S = de(!1), x = m(() => i.value ? e.closeText : e.openText); + const R = f(I); + return e.multiple ? R : R[0] ?? null; + }), d = m(() => typeof e.counterValue == "function" ? e.counterValue(p.value) : typeof e.counterValue == "number" ? e.counterValue : p.value.length), h = Uo(), y = m(() => p.value.map((I) => I.value)), S = de(!1), x = m(() => i.value ? e.closeText : e.openText); let A, F = ""; - const C = m(() => e.hideSelected ? u.value.filter((I) => !p.value.some((N) => N === I)) : u.value), B = m(() => e.hideNoData && !u.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), _ = m(() => { + const C = m(() => e.hideSelected ? u.value.filter((I) => !p.value.some((R) => R === I)) : u.value), B = m(() => e.hideNoData && !C.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), _ = m(() => { var I; return { ...e.menuProps, activatorProps: { ...((I = e.menuProps) == null ? void 0 : I.activatorProps) || {}, "aria-haspopup": "listbox" } }; - }), V = J(), { onListScroll: g, onListKeydown: w } = Xi(V, a); - function k(I) { + }), V = J(), { onListScroll: g, onListKeydown: k } = Zi(V, a); + function w(I) { e.openOnClear && (i.value = !0); } function P() { B.value || (i.value = !i.value); } function $(I) { - var U, ee; - if (!I.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(I.key) && I.preventDefault(), ["Enter", "ArrowDown", " "].includes(I.key) && (i.value = !0), ["Escape", "Tab"].includes(I.key) && (i.value = !1), I.key === "Home" ? (U = V.value) == null || U.focus("first") : I.key === "End" && ((ee = V.value) == null || ee.focus("last")), e.multiple || !function(X) { + var U, te; + if (!I.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(I.key) && I.preventDefault(), ["Enter", "ArrowDown", " "].includes(I.key) && (i.value = !0), ["Escape", "Tab"].includes(I.key) && (i.value = !1), I.key === "Home" ? (U = V.value) == null || U.focus("first") : I.key === "End" && ((te = V.value) == null || te.focus("last")), e.multiple || !function(X) { const Z = X.key.length === 1, L = !X.ctrlKey && !X.metaKey && !X.altKey; return Z && L; }(I))) return; - const N = performance.now(); - N - A > 1e3 && (F = ""), F += I.key.toLowerCase(), A = N; + const R = performance.now(); + R - A > 1e3 && (F = ""), F += I.key.toLowerCase(), A = R; const j = u.value.find((X) => X.title.toLowerCase().startsWith(F)); j !== void 0 && (p.value = [j]); } function D(I) { if (e.multiple) { - const N = p.value.findIndex((j) => e.valueComparator(j.value, I.value)); - if (N === -1) + const R = p.value.findIndex((j) => e.valueComparator(j.value, I.value)); + if (R === -1) p.value = [...p.value, I]; else { const j = [...p.value]; - j.splice(N, 1), p.value = j; + j.splice(R, 1), p.value = j; } } else p.value = [I], i.value = !1; } - function O(I) { - var N; - (N = V.value) != null && N.$el.contains(I.relatedTarget) || (i.value = !1); + function M(I) { + var R; + (R = V.value) != null && R.$el.contains(I.relatedTarget) || (i.value = !1); } function T() { var I; S.value && ((I = a.value) == null || I.focus()); } - function M(I) { + function N(I) { S.value = !0; } - function H(I) { + function K(I) { if (I == null) p.value = []; - else if (yl(a.value, ":autofill") || yl(a.value, ":-webkit-autofill")) { - const N = u.value.find((j) => j.title === I); - N && D(N); + else if (hl(a.value, ":autofill") || hl(a.value, ":-webkit-autofill")) { + const R = u.value.find((j) => j.title === I); + R && D(R); } else a.value && (a.value.value = ""); } - return oe(i, () => { + return ae(i, () => { if (!e.hideSelected && i.value && p.value.length) { - const I = C.value.findIndex((N) => p.value.some((j) => e.valueComparator(j.value, N.value))); + const I = C.value.findIndex((R) => p.value.some((j) => e.valueComparator(j.value, R.value))); Ee && window.requestAnimationFrame(() => { - var N; - I >= 0 && ((N = s.value) == null || N.scrollToIndex(I)); + var R; + I >= 0 && ((R = s.value) == null || R.scrollToIndex(I)); }); } + }), ae(C, (I, R) => { + S.value && (!I.length && e.hideNoData && (i.value = !1), !R.length && I.length && (i.value = !0)); }), ue(() => { - const I = !(!e.chips && !t.chip), N = !!(!e.hideNoData || C.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), j = p.value.length > 0, U = vn.filterProps(e), ee = j || !S.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; - return d(vn, te({ ref: a }, U, { modelValue: p.value.map((X) => X.props.value).join(", "), "onUpdate:modelValue": H, focused: S.value, "onUpdate:focused": (X) => S.value = X, validationValue: p.externalValue, counterValue: c.value, dirty: j, class: ["v-select", { "v-select--active-menu": i.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": p.value.length, "v-select--selection-slot": !!t.selection }, e.class], style: e.style, inputmode: "none", placeholder: ee, "onClick:clear": k, "onMousedown:control": P, onBlur: O, onKeydown: $, "aria-label": l(x.value), title: l(x.value) }), { ...t, default: () => d(pe, null, [d(Mi, te({ ref: o, modelValue: i.value, "onUpdate:modelValue": (X) => i.value = X, activator: "parent", contentClass: "v-select__content", disabled: B.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: T }, _.value), { default: () => [N && d(Bi, { ref: V, selected: y.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (X) => X.preventDefault(), onKeydown: w, onFocusin: M, onScrollPassive: g, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { + const I = !(!e.chips && !t.chip), R = !!(!e.hideNoData || C.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), j = p.value.length > 0, U = vn.filterProps(e), te = j || !S.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; + return c(vn, ee({ ref: a }, U, { modelValue: p.value.map((X) => X.props.value).join(", "), "onUpdate:modelValue": K, focused: S.value, "onUpdate:focused": (X) => S.value = X, validationValue: p.externalValue, counterValue: d.value, dirty: j, class: ["v-select", { "v-select--active-menu": i.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": p.value.length, "v-select--selection-slot": !!t.selection }, e.class], style: e.style, inputmode: "none", placeholder: te, "onClick:clear": w, "onMousedown:control": P, onBlur: M, onKeydown: $, "aria-label": l(x.value), title: l(x.value) }), { ...t, default: () => c(pe, null, [c(Ri, ee({ ref: o, modelValue: i.value, "onUpdate:modelValue": (X) => i.value = X, activator: "parent", contentClass: "v-select__content", disabled: B.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: T }, _.value), { default: () => [R && c(Ai, { ref: V, selected: y.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (X) => X.preventDefault(), onKeydown: k, onFocusin: N, onScrollPassive: g, tabindex: "-1", "aria-live": "polite", color: e.itemColor ?? e.color }, { default: () => { var X, Z, L; - return [(X = t["prepend-item"]) == null ? void 0 : X.call(t), !C.value.length && !e.hideNoData && (((Z = t["no-data"]) == null ? void 0 : Z.call(t)) ?? d(Pl, { title: l(e.noDataText) }, null)), d(Yi, { ref: s, renderless: !0, items: C.value }, { default: (W) => { + return [(X = t["prepend-item"]) == null ? void 0 : X.call(t), !C.value.length && !e.hideNoData && (((Z = t["no-data"]) == null ? void 0 : Z.call(t)) ?? c(Pl, { title: l(e.noDataText) }, null)), c(Ji, { ref: s, renderless: !0, items: C.value }, { default: (W) => { var se; let { item: G, index: z, itemRef: E } = W; - const K = te(G.props, { ref: E, key: z, onClick: () => D(G) }); - return ((se = t.item) == null ? void 0 : se.call(t, { item: G, index: z, props: K })) ?? d(Pl, te(K, { role: "option" }), { prepend: (Y) => { + const H = ee(G.props, { ref: E, key: z, onClick: () => D(G) }); + return ((se = t.item) == null ? void 0 : se.call(t, { item: G, index: z, props: H })) ?? c(Pl, ee(H, { role: "option" }), { prepend: (Y) => { let { isSelected: Q } = Y; - return d(pe, null, [e.multiple && !e.hideSelected ? d(_t, { key: G.value, modelValue: Q, ripple: !1, tabindex: "-1" }, null) : void 0, G.props.prependIcon && d(Ae, { icon: G.props.prependIcon }, null)]); + return c(pe, null, [e.multiple && !e.hideSelected ? c(_t, { key: G.value, modelValue: Q, ripple: !1, tabindex: "-1" }, null) : void 0, G.props.prependAvatar && c(Ut, { image: G.props.prependAvatar }, null), G.props.prependIcon && c(Ae, { icon: G.props.prependIcon }, null)]); } }); } }), (L = t["append-item"]) == null ? void 0 : L.call(t)]; } })] }), p.value.map((X, Z) => { @@ -2912,51 +2929,51 @@ const Ji = R({ chips: Boolean, closableChips: Boolean, closeText: { type: String z.stopPropagation(), z.preventDefault(), D(X); }, onMousedown(z) { z.preventDefault(), z.stopPropagation(); - }, modelValue: !0, "onUpdate:modelValue": void 0 }, W = I ? !!t.chip : !!t.selection, G = W ? no(I ? t.chip({ item: X, index: Z, props: L }) : t.selection({ item: X, index: Z })) : void 0; + }, modelValue: !0, "onUpdate:modelValue": void 0 }, W = I ? !!t.chip : !!t.selection, G = W ? ao(I ? t.chip({ item: X, index: Z, props: L }) : t.selection({ item: X, index: Z })) : void 0; if (!W || G) - return d("div", { key: X.value, class: "v-select__selection" }, [I ? t.chip ? d(ze, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: X.title } } }, { default: () => [G] }) : d(ci, te({ key: "chip", closable: e.closableChips, size: "small", text: X.title, disabled: X.props.disabled }, L), null) : G ?? d("span", { class: "v-select__selection-text" }, [X.title, e.multiple && Z < p.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [pl(",")])])]); + return c("div", { key: X.value, class: "v-select__selection" }, [I ? t.chip ? c(ze, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: X.title } } }, { default: () => [G] }) : c(di, ee({ key: "chip", closable: e.closableChips, size: "small", text: X.title, disabled: X.props.disabled }, L), null) : G ?? c("span", { class: "v-select__selection-text" }, [X.title, e.multiple && Z < p.value.length - 1 && c("span", { class: "v-select__selection-comma" }, [vl(",")])])]); })]), "append-inner": function() { var W; for (var X = arguments.length, Z = new Array(X), L = 0; L < X; L++) Z[L] = arguments[L]; - return d(pe, null, [(W = t["append-inner"]) == null ? void 0 : W.call(t, ...Z), e.menuIcon ? d(Ae, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); + return c(pe, null, [(W = t["append-inner"]) == null ? void 0 : W.call(t, ...Z), e.menuIcon ? c(Ae, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); - }), Dn({ isFocused: S, menu: i, select: D }, a); -} }), eu = (e, n, t) => e == null || n == null ? -1 : e.toString().toLocaleLowerCase().indexOf(n.toString().toLocaleLowerCase()), tu = R({ customFilter: Function, customKeyFilter: Object, filterKeys: [Array, String], filterMode: { type: String, default: "intersection" }, noFilter: Boolean }, "filter"); -function lu(e, n, t, l) { + }), Tn({ isFocused: S, menu: i, select: D }, a); +} }), lu = (e, n, t) => e == null || n == null ? -1 : e.toString().toLocaleLowerCase().indexOf(n.toString().toLocaleLowerCase()), nu = O({ customFilter: Function, customKeyFilter: Object, filterKeys: [Array, String], filterMode: { type: String, default: "intersection" }, noFilter: Boolean }, "filter"); +function au(e, n, t, l) { const a = J([]), o = J(/* @__PURE__ */ new Map()), s = m(() => l != null && l.transform ? b(n).map((r) => [r, l.transform(r)]) : b(n)); - return Ne(() => { - const r = typeof t == "function" ? t() : b(t), i = typeof r != "string" && typeof r != "number" ? "" : String(r), u = function(c, h, y) { + return Re(() => { + const r = typeof t == "function" ? t() : b(t), i = typeof r != "string" && typeof r != "number" ? "" : String(r), u = function(d, h, y) { var C; - const S = [], x = (y == null ? void 0 : y.default) ?? eu, A = !!(y != null && y.filterKeys) && Ie(y.filterKeys), F = Object.keys((y == null ? void 0 : y.customKeyFilter) ?? {}).length; - if (!(c != null && c.length)) + const S = [], x = (y == null ? void 0 : y.default) ?? lu, A = !!(y != null && y.filterKeys) && Ie(y.filterKeys), F = Object.keys((y == null ? void 0 : y.customKeyFilter) ?? {}).length; + if (!(d != null && d.length)) return S; e: - for (let B = 0; B < c.length; B++) { - const [_, V = _] = Ie(c[B]), g = {}, w = {}; - let k = -1; + for (let B = 0; B < d.length; B++) { + const [_, V = _] = Ie(d[B]), g = {}, k = {}; + let w = -1; if (h && !(y != null && y.noFilter)) { if (typeof _ == "object") { const D = A || Object.keys(V); - for (const O of D) { - const T = Te(V, O, V), M = (C = y == null ? void 0 : y.customKeyFilter) == null ? void 0 : C[O]; - if (k = M ? M(T, h, _) : x(T, h, _), k !== -1 && k !== !1) - M ? g[O] = k : w[O] = k; + for (const M of D) { + const T = De(V, M, V), N = (C = y == null ? void 0 : y.customKeyFilter) == null ? void 0 : C[M]; + if (w = N ? N(T, h, _) : x(T, h, _), w !== -1 && w !== !1) + N ? g[M] = w : k[M] = w; else if ((y == null ? void 0 : y.filterMode) === "every") continue e; } } else - k = x(_, h, _), k !== -1 && k !== !1 && (w.title = k); - const P = Object.keys(w).length, $ = Object.keys(g).length; + w = x(_, h, _), w !== -1 && w !== !1 && (k.title = w); + const P = Object.keys(k).length, $ = Object.keys(g).length; if (!P && !$ || (y == null ? void 0 : y.filterMode) === "union" && $ !== F && !P || (y == null ? void 0 : y.filterMode) === "intersection" && ($ !== F || !P)) continue; } - S.push({ index: B, matches: { ...w, ...g } }); + S.push({ index: B, matches: { ...k, ...g } }); } return S; }(s.value, i, { customKeyFilter: { ...e.customKeyFilter, ...b(l == null ? void 0 : l.customKeyFilter) }, default: e.customFilter, filterKeys: e.filterKeys, filterMode: e.filterMode, noFilter: e.noFilter }), v = b(n), f = [], p = /* @__PURE__ */ new Map(); - u.forEach((c) => { - let { index: h, matches: y } = c; + u.forEach((d) => { + let { index: h, matches: y } = d; const S = v[h]; f.push(S), p.set(S.value, y); }), a.value = f, o.value = p; @@ -2964,8 +2981,8 @@ function lu(e, n, t, l) { return o.value.get(r.value); } }; } -const nu = R({ expandOnClick: Boolean, showExpand: Boolean, expanded: { type: Array, default: () => [] } }, "DataTable-expand"), dr = Symbol.for("vuetify:datatable:expanded"); -function pr(e) { +const ou = O({ expandOnClick: Boolean, showExpand: Boolean, expanded: { type: Array, default: () => [] } }, "DataTable-expand"), pr = Symbol.for("vuetify:datatable:expanded"); +function vr(e) { const n = q(e, "expandOnClick"), t = xe(e, "expanded", e.expanded, (s) => new Set(s), (s) => [...s.values()]); function l(s, r) { const i = new Set(t.value); @@ -2977,19 +2994,19 @@ function pr(e) { const o = { expand: l, expanded: t, expandOnClick: n, isExpanded: a, toggleExpand: function(s) { l(s, !a(s)); } }; - return ke(dr, o), o; + return ke(pr, o), o; } -function vr() { - const e = Se(dr); +function fr() { + const e = Se(pr); if (!e) throw new Error("foo"); return e; } -const au = R({ groupBy: { type: Array, default: () => [] } }, "DataTable-group"), fr = Symbol.for("vuetify:data-table-group"); -function gr(e) { +const ru = O({ groupBy: { type: Array, default: () => [] } }, "DataTable-group"), gr = Symbol.for("vuetify:data-table-group"); +function mr(e) { return { groupBy: xe(e, "groupBy") }; } -function mr(e) { +function yr(e) { const { groupBy: n, sortBy: t } = e, l = J(/* @__PURE__ */ new Set()); function a(s) { return l.value.has(s.id); @@ -3005,15 +3022,15 @@ function mr(e) { return u; }({ type: "group", items: s, id: "dummy", key: "dummy", value: "dummy", depth: 0 }); }, isGroupOpen: a }; - return ke(fr, o), o; + return ke(gr, o), o; } -function yr() { - const e = Se(fr); +function hr() { + const e = Se(gr); if (!e) throw new Error("Missing group!"); return e; } -function hr(e, n) { +function br(e, n) { let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "root"; if (!n.length) return []; @@ -3029,33 +3046,33 @@ function hr(e, n) { }(e, n[0]), o = [], s = n.slice(1); return a.forEach((r, i) => { const u = n[0], v = `${l}_${u}_${i}`; - o.push({ depth: t, id: v, key: u, value: i, items: s.length ? hr(r, s, t + 1, v) : r, type: "group" }); + o.push({ depth: t, id: v, key: u, value: i, items: s.length ? br(r, s, t + 1, v) : r, type: "group" }); }), o; } -function br(e, n) { +function Sr(e, n) { const t = []; for (const l of e) - "type" in l && l.type === "group" ? (l.value != null && t.push(l), (n.has(l.id) || l.value == null) && t.push(...br(l.items, n))) : t.push(l); + "type" in l && l.type === "group" ? (l.value != null && t.push(l), (n.has(l.id) || l.value == null) && t.push(...Sr(l.items, n))) : t.push(l); return t; } -function Sr(e, n, t) { - return { flatItems: m(() => n.value.length ? br(hr(e.value, n.value.map((l) => l.key)), t.value) : e.value) }; +function xr(e, n, t) { + return { flatItems: m(() => n.value.length ? Sr(br(e.value, n.value.map((l) => l.key)), t.value) : e.value) }; } -function xr(e) { +function wr(e) { let { page: n, itemsPerPage: t, sortBy: l, groupBy: a, search: o } = e; const s = Pe("VDataTable"), r = m(() => ({ page: n.value, itemsPerPage: t.value, sortBy: l.value, groupBy: a.value, search: o.value })); let i = null; - oe(r, () => { + ae(r, () => { st(i, r.value) || ((i == null ? void 0 : i.search) !== r.value.search && (n.value = 1), s.emit("update:options", r.value), i = r.value); }, { deep: !0, immediate: !0 }); } -const wr = R({ page: { type: [Number, String], default: 1 }, itemsPerPage: { type: [Number, String], default: 10 } }, "DataTable-paginate"), kr = Symbol.for("vuetify:data-table-pagination"); -function Cr(e) { +const kr = O({ page: { type: [Number, String], default: 1 }, itemsPerPage: { type: [Number, String], default: 10 } }, "DataTable-paginate"), Cr = Symbol.for("vuetify:data-table-pagination"); +function Pr(e) { return { page: xe(e, "page", void 0, (n) => +(n ?? 1)), itemsPerPage: xe(e, "itemsPerPage", void 0, (n) => +(n ?? 10)) }; } -function Pr(e) { +function Br(e) { const { page: n, itemsPerPage: t, itemsLength: l } = e, a = m(() => t.value === -1 ? 0 : t.value * (n.value - 1)), o = m(() => t.value === -1 ? l.value : Math.min(l.value, a.value + t.value)), s = m(() => t.value === -1 || l.value === 0 ? 1 : Math.ceil(l.value / t.value)); - Ne(() => { + Re(() => { n.value > s.value && (n.value = s.value); }); const r = { page: n, itemsPerPage: t, startIndex: a, stopIndex: o, pageCount: s, itemsLength: l, nextPage: function() { @@ -3067,16 +3084,16 @@ function Pr(e) { }, setItemsPerPage: function(i) { t.value = i, n.value = 1; } }; - return ke(kr, r), r; + return ke(Cr, r), r; } -const ou = { showSelectAll: !1, allSelected: () => [], select: (e) => { +const su = { showSelectAll: !1, allSelected: () => [], select: (e) => { var l; let { items: n, value: t } = e; return new Set(t ? [(l = n[0]) == null ? void 0 : l.value] : []); }, selectAll: (e) => { let { selected: n } = e; return n; -} }, Br = { showSelectAll: !0, allSelected: (e) => { +} }, Ar = { showSelectAll: !0, allSelected: (e) => { let { currentPage: n } = e; return n; }, select: (e) => { @@ -3086,8 +3103,8 @@ const ou = { showSelectAll: !1, allSelected: () => [], select: (e) => { return l; }, selectAll: (e) => { let { value: n, currentPage: t, selected: l } = e; - return Br.select({ items: t, value: n, selected: l }); -} }, Ar = { showSelectAll: !0, allSelected: (e) => { + return Ar.select({ items: t, value: n, selected: l }); +} }, _r = { showSelectAll: !0, allSelected: (e) => { let { allItems: n } = e; return n; }, select: (e) => { @@ -3097,56 +3114,56 @@ const ou = { showSelectAll: !1, allSelected: () => [], select: (e) => { return l; }, selectAll: (e) => { let { value: n, allItems: t, selected: l } = e; - return Ar.select({ items: t, value: n, selected: l }); -} }, ru = R({ showSelect: Boolean, selectStrategy: { type: [String, Object], default: "page" }, modelValue: { type: Array, default: () => [] }, valueComparator: { type: Function, default: st } }, "DataTable-select"), _r = Symbol.for("vuetify:data-table-selection"); -function Fr(e, n) { + return _r.select({ items: t, value: n, selected: l }); +} }, iu = O({ showSelect: Boolean, selectStrategy: { type: [String, Object], default: "page" }, modelValue: { type: Array, default: () => [] }, valueComparator: { type: Function, default: st } }, "DataTable-select"), Fr = Symbol.for("vuetify:data-table-selection"); +function $r(e, n) { let { allItems: t, currentPage: l } = n; - const a = xe(e, "modelValue", e.modelValue, (c) => new Set(Ie(c).map((h) => { + const a = xe(e, "modelValue", e.modelValue, (d) => new Set(Ie(d).map((h) => { var y; return ((y = t.value.find((S) => e.valueComparator(h, S.value))) == null ? void 0 : y.value) ?? h; - })), (c) => [...c.values()]), o = m(() => t.value.filter((c) => c.selectable)), s = m(() => l.value.filter((c) => c.selectable)), r = m(() => { + })), (d) => [...d.values()]), o = m(() => t.value.filter((d) => d.selectable)), s = m(() => l.value.filter((d) => d.selectable)), r = m(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; switch (e.selectStrategy) { case "single": - return ou; + return su; case "all": - return Ar; + return _r; default: - return Br; + return Ar; } }); - function i(c) { - return Ie(c).every((h) => a.value.has(h.value)); + function i(d) { + return Ie(d).every((h) => a.value.has(h.value)); } - function u(c, h) { - const y = r.value.select({ items: c, value: h, selected: new Set(a.value) }); + function u(d, h) { + const y = r.value.select({ items: d, value: h, selected: new Set(a.value) }); a.value = y; } const v = m(() => a.value.size > 0), f = m(() => { - const c = r.value.allSelected({ allItems: o.value, currentPage: s.value }); - return !!c.length && i(c); - }), p = { toggleSelect: function(c) { - u([c], !i([c])); - }, select: u, selectAll: function(c) { - const h = r.value.selectAll({ value: c, allItems: o.value, currentPage: s.value, selected: new Set(a.value) }); + const d = r.value.allSelected({ allItems: o.value, currentPage: s.value }); + return !!d.length && i(d); + }), p = { toggleSelect: function(d) { + u([d], !i([d])); + }, select: u, selectAll: function(d) { + const h = r.value.selectAll({ value: d, allItems: o.value, currentPage: s.value, selected: new Set(a.value) }); a.value = h; - }, isSelected: i, isSomeSelected: function(c) { - return Ie(c).some((h) => a.value.has(h.value)); + }, isSelected: i, isSomeSelected: function(d) { + return Ie(d).some((h) => a.value.has(h.value)); }, someSelected: v, allSelected: f, showSelectAll: r.value.showSelectAll }; - return ke(_r, p), p; + return ke(Fr, p), p; } -function Nl() { - const e = Se(_r); +function Rl() { + const e = Se(Fr); if (!e) throw new Error("Missing selection!"); return e; } -const su = R({ sortBy: { type: Array, default: () => [] }, customKeySort: Object, multiSort: Boolean, mustSort: Boolean }, "DataTable-sort"), $r = Symbol.for("vuetify:data-table-sort"); -function Vr(e) { +const uu = O({ sortBy: { type: Array, default: () => [] }, customKeySort: Object, multiSort: Boolean, mustSort: Boolean }, "DataTable-sort"), Vr = Symbol.for("vuetify:data-table-sort"); +function Ir(e) { return { sortBy: xe(e, "sortBy"), mustSort: q(e, "mustSort"), multiSort: q(e, "multiSort") }; } -function Ir(e) { +function Er(e) { const { sortBy: n, mustSort: t, multiSort: l, page: a } = e, o = { sortBy: n, toggleSort: (s) => { if (s.key == null) return; @@ -3156,15 +3173,15 @@ function Ir(e) { }, isSorted: function(s) { return !!n.value.find((r) => r.key === s.key); } }; - return ke($r, o), o; + return ke(Vr, o), o; } -function iu(e, n, t, l) { +function cu(e, n, t, l) { const a = it(); return { sortedItems: m(() => t.value.length ? function(s, r, i, u) { const v = new Intl.Collator(i, { sensitivity: "accent", usage: "sort" }); return [...s].sort((f, p) => { - for (let c = 0; c < r.length; c++) { - const h = r[c].key, y = r[c].order ?? "asc"; + for (let d = 0; d < r.length; d++) { + const h = r[d].key, y = r[d].order ?? "asc"; if (y === !1) continue; let S = zt(f.raw, h), x = zt(p.raw, h); @@ -3177,28 +3194,28 @@ function iu(e, n, t, l) { if (S instanceof Date && x instanceof Date) return S.getTime() - x.getTime(); if ([S, x] = [S, x].map((A) => A != null ? A.toString().toLocaleLowerCase() : A), S !== x) - return al(S) && al(x) ? 0 : al(S) ? -1 : al(x) ? 1 : isNaN(S) || isNaN(x) ? v.compare(S, x) : Number(S) - Number(x); + return ol(S) && ol(x) ? 0 : ol(S) ? -1 : ol(x) ? 1 : isNaN(S) || isNaN(x) ? v.compare(S, x) : Number(S) - Number(x); } return 0; }); }(n.value, t.value, a.current.value, { ...e.customKeySort, ...l == null ? void 0 : l.value }) : n.value) }; } -const uu = R({ activeColor: String, start: { type: [Number, String], default: 1 }, modelValue: { type: Number, default: (e) => e.start }, disabled: Boolean, length: { type: [Number, String], default: 1, validator: (e) => e % 1 == 0 }, totalVisible: [Number, String], firstIcon: { type: me, default: "$first" }, prevIcon: { type: me, default: "$prev" }, nextIcon: { type: me, default: "$next" }, lastIcon: { type: me, default: "$last" }, ariaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.root" }, pageAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.page" }, currentPageAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.currentPage" }, firstAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.first" }, previousAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.previous" }, nextAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.next" }, lastAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.last" }, ellipsis: { type: String, default: "..." }, showFirstLastPage: Boolean, ...Dt(), ...ve(), ...Ye(), ...wt(), ...Qe(), ...Lt(), ...Ve({ tag: "nav" }), ...Be(), ...ct({ variant: "text" }) }, "VPagination"), cu = le()({ name: "VPagination", props: uu(), emits: { "update:modelValue": (e) => !0, first: (e) => !0, prev: (e) => !0, next: (e) => !0, last: (e) => !0 }, setup(e, n) { +const du = O({ activeColor: String, start: { type: [Number, String], default: 1 }, modelValue: { type: Number, default: (e) => e.start }, disabled: Boolean, length: { type: [Number, String], default: 1, validator: (e) => e % 1 == 0 }, totalVisible: [Number, String], firstIcon: { type: me, default: "$first" }, prevIcon: { type: me, default: "$prev" }, nextIcon: { type: me, default: "$next" }, lastIcon: { type: me, default: "$last" }, ariaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.root" }, pageAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.page" }, currentPageAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.currentPage" }, firstAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.first" }, previousAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.previous" }, nextAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.next" }, lastAriaLabel: { type: String, default: "$vuetify.pagination.ariaLabel.last" }, ellipsis: { type: String, default: "..." }, showFirstLastPage: Boolean, ...Tt(), ...ve(), ...Ye(), ...wt(), ...Qe(), ...Lt(), ...Ve({ tag: "nav" }), ...Be(), ...ct({ variant: "text" }) }, "VPagination"), Na = le()({ name: "VPagination", props: du(), emits: { "update:modelValue": (e) => !0, first: (e) => !0, prev: (e) => !0, next: (e) => !0, last: (e) => !0 }, setup(e, n) { let { slots: t, emit: l } = n; const a = xe(e, "modelValue"), { t: o, n: s } = it(), { isRtl: r } = Et(), { themeClasses: i } = $e(e), { width: u } = En(), v = de(-1); Xe(void 0, { scoped: !0 }); - const { resizeRef: f } = Tl((g) => { + const { resizeRef: f } = Dl((g) => { if (!g.length) return; - const { target: w, contentRect: k } = g[0], P = w.querySelector(".v-pagination__list > *"); + const { target: k, contentRect: w } = g[0], P = k.querySelector(".v-pagination__list > *"); if (!P) return; - const $ = k.width, D = P.offsetWidth + 2 * parseFloat(getComputedStyle(P).marginRight); + const $ = w.width, D = P.offsetWidth + 2 * parseFloat(getComputedStyle(P).marginRight); v.value = y($, D); - }), p = m(() => parseInt(e.length, 10)), c = m(() => parseInt(e.start, 10)), h = m(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : v.value >= 0 ? v.value : y(u.value, 58)); - function y(g, w) { - const k = e.showFirstLastPage ? 5 : 3; - return Math.max(0, Math.floor(+((g - w * k) / w).toFixed(2))); + }), p = m(() => parseInt(e.length, 10)), d = m(() => parseInt(e.start, 10)), h = m(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : v.value >= 0 ? v.value : y(u.value, 58)); + function y(g, k) { + const w = e.showFirstLastPage ? 5 : 3; + return Math.max(0, Math.floor(+((g - k * w) / k).toFixed(2))); } const S = m(() => { if (p.value <= 0 || isNaN(p.value) || p.value > Number.MAX_SAFE_INTEGER) @@ -3208,72 +3225,73 @@ const uu = R({ activeColor: String, start: { type: [Number, String], default: 1 if (h.value === 1) return [a.value]; if (p.value <= h.value) - return nl(p.value, c.value); - const g = h.value % 2 == 0, w = g ? h.value / 2 : Math.floor(h.value / 2), k = g ? w : w + 1, P = p.value - w; - if (k - a.value >= 0) - return [...nl(Math.max(1, h.value - 1), c.value), e.ellipsis, p.value]; + return al(p.value, d.value); + const g = h.value % 2 == 0, k = g ? h.value / 2 : Math.floor(h.value / 2), w = g ? k : k + 1, P = p.value - k; + if (w - a.value >= 0) + return [...al(Math.max(1, h.value - 1), d.value), e.ellipsis, p.value]; if (a.value - P >= (g ? 1 : 0)) { - const $ = h.value - 1, D = p.value - $ + c.value; - return [c.value, e.ellipsis, ...nl($, D)]; + const $ = h.value - 1, D = p.value - $ + d.value; + return [d.value, e.ellipsis, ...al($, D)]; } { - const $ = Math.max(1, h.value - 3), D = $ === 1 ? a.value : a.value - Math.ceil($ / 2) + c.value; - return [c.value, e.ellipsis, ...nl($, D), e.ellipsis, p.value]; + const $ = Math.max(1, h.value - 3), D = $ === 1 ? a.value : a.value - Math.ceil($ / 2) + d.value; + return [d.value, e.ellipsis, ...al($, D), e.ellipsis, p.value]; } }); - function x(g, w, k) { - g.preventDefault(), a.value = w, k && l(k, w); + function x(g, k, w) { + g.preventDefault(), a.value = k, w && l(w, k); } const { refs: A, updateRef: F } = function() { const g = J([]); - return ms(() => g.value = []), { refs: g, updateRef: function(w, k) { - g.value[k] = w; + return ys(() => g.value = []), { refs: g, updateRef: function(k, w) { + g.value[w] = k; } }; }(); Xe({ VPaginationBtn: { color: q(e, "color"), border: q(e, "border"), density: q(e, "density"), size: q(e, "size"), variant: q(e, "variant"), rounded: q(e, "rounded"), elevation: q(e, "elevation") } }); - const C = m(() => S.value.map((g, w) => { - const k = (P) => F(P, w); + const C = m(() => S.value.map((g, k) => { + const w = (P) => F(P, k); if (typeof g == "string") - return { isActive: !1, key: `ellipsis-${w}`, page: g, props: { ref: k, ellipsis: !0, icon: !0, disabled: !0 } }; + return { isActive: !1, key: `ellipsis-${k}`, page: g, props: { ref: w, ellipsis: !0, icon: !0, disabled: !0 } }; { const P = g === a.value; - return { isActive: P, key: g, page: s(g), props: { ref: k, ellipsis: !1, icon: !0, disabled: !!e.disabled || +e.length < 2, color: P ? e.activeColor : e.color, ariaCurrent: P, ariaLabel: o(P ? e.currentPageAriaLabel : e.pageAriaLabel, g), onClick: ($) => x($, g) } }; + return { isActive: P, key: g, page: s(g), props: { ref: w, ellipsis: !1, icon: !0, disabled: !!e.disabled || +e.length < 2, color: P ? e.activeColor : e.color, ariaCurrent: P, ariaLabel: o(P ? e.currentPageAriaLabel : e.pageAriaLabel, g), onClick: ($) => x($, g) } }; } })), B = m(() => { - const g = !!e.disabled || a.value <= c.value, w = !!e.disabled || a.value >= c.value + p.value - 1; - return { first: e.showFirstLastPage ? { icon: r.value ? e.lastIcon : e.firstIcon, onClick: (k) => x(k, c.value, "first"), disabled: g, ariaLabel: o(e.firstAriaLabel), ariaDisabled: g } : void 0, prev: { icon: r.value ? e.nextIcon : e.prevIcon, onClick: (k) => x(k, a.value - 1, "prev"), disabled: g, ariaLabel: o(e.previousAriaLabel), ariaDisabled: g }, next: { icon: r.value ? e.prevIcon : e.nextIcon, onClick: (k) => x(k, a.value + 1, "next"), disabled: w, ariaLabel: o(e.nextAriaLabel), ariaDisabled: w }, last: e.showFirstLastPage ? { icon: r.value ? e.firstIcon : e.lastIcon, onClick: (k) => x(k, c.value + p.value - 1, "last"), disabled: w, ariaLabel: o(e.lastAriaLabel), ariaDisabled: w } : void 0 }; + const g = !!e.disabled || a.value <= d.value, k = !!e.disabled || a.value >= d.value + p.value - 1; + return { first: e.showFirstLastPage ? { icon: r.value ? e.lastIcon : e.firstIcon, onClick: (w) => x(w, d.value, "first"), disabled: g, ariaLabel: o(e.firstAriaLabel), ariaDisabled: g } : void 0, prev: { icon: r.value ? e.nextIcon : e.prevIcon, onClick: (w) => x(w, a.value - 1, "prev"), disabled: g, ariaLabel: o(e.previousAriaLabel), ariaDisabled: g }, next: { icon: r.value ? e.prevIcon : e.nextIcon, onClick: (w) => x(w, a.value + 1, "next"), disabled: k, ariaLabel: o(e.nextAriaLabel), ariaDisabled: k }, last: e.showFirstLastPage ? { icon: r.value ? e.firstIcon : e.lastIcon, onClick: (w) => x(w, d.value + p.value - 1, "last"), disabled: k, ariaLabel: o(e.lastAriaLabel), ariaDisabled: k } : void 0 }; }); function _() { - var w; - const g = a.value - c.value; - (w = A.value[g]) == null || w.$el.focus(); + var k; + const g = a.value - d.value; + (k = A.value[g]) == null || k.$el.focus(); } function V(g) { - g.key === Un.left && !e.disabled && a.value > +e.start ? (a.value = a.value - 1, Fe(_)) : g.key === Un.right && !e.disabled && a.value < c.value + p.value - 1 && (a.value = a.value + 1, Fe(_)); + g.key === Un.left && !e.disabled && a.value > +e.start ? (a.value = a.value - 1, Fe(_)) : g.key === Un.right && !e.disabled && a.value < d.value + p.value - 1 && (a.value = a.value + 1, Fe(_)); } - return ue(() => d(e.tag, { ref: f, class: ["v-pagination", i.value, e.class], style: e.style, role: "navigation", "aria-label": o(e.ariaLabel), onKeydown: V, "data-test": "v-pagination-root" }, { default: () => [d("ul", { class: "v-pagination__list" }, [e.showFirstLastPage && d("li", { key: "first", class: "v-pagination__first", "data-test": "v-pagination-first" }, [t.first ? t.first(B.value.first) : d(pt, te({ _as: "VPaginationBtn" }, B.value.first), null)]), d("li", { key: "prev", class: "v-pagination__prev", "data-test": "v-pagination-prev" }, [t.prev ? t.prev(B.value.prev) : d(pt, te({ _as: "VPaginationBtn" }, B.value.prev), null)]), C.value.map((g, w) => d("li", { key: g.key, class: ["v-pagination__item", { "v-pagination__item--is-active": g.isActive }], "data-test": "v-pagination-item" }, [t.item ? t.item(g) : d(pt, te({ _as: "VPaginationBtn" }, g.props), { default: () => [g.page] })])), d("li", { key: "next", class: "v-pagination__next", "data-test": "v-pagination-next" }, [t.next ? t.next(B.value.next) : d(pt, te({ _as: "VPaginationBtn" }, B.value.next), null)]), e.showFirstLastPage && d("li", { key: "last", class: "v-pagination__last", "data-test": "v-pagination-last" }, [t.last ? t.last(B.value.last) : d(pt, te({ _as: "VPaginationBtn" }, B.value.last), null)])])] })), {}; -} }), Tn = R({ prevIcon: { type: String, default: "$prev" }, nextIcon: { type: String, default: "$next" }, firstIcon: { type: String, default: "$first" }, lastIcon: { type: String, default: "$last" }, itemsPerPageText: { type: String, default: "$vuetify.dataFooter.itemsPerPageText" }, pageText: { type: String, default: "$vuetify.dataFooter.pageText" }, firstPageLabel: { type: String, default: "$vuetify.dataFooter.firstPage" }, prevPageLabel: { type: String, default: "$vuetify.dataFooter.prevPage" }, nextPageLabel: { type: String, default: "$vuetify.dataFooter.nextPage" }, lastPageLabel: { type: String, default: "$vuetify.dataFooter.lastPage" }, itemsPerPageOptions: { type: Array, default: () => [{ value: 10, title: "10" }, { value: 25, title: "25" }, { value: 50, title: "50" }, { value: 100, title: "100" }, { value: -1, title: "$vuetify.dataFooter.itemsPerPageAll" }] }, showCurrentPage: Boolean }, "VDataTableFooter"), Al = le()({ name: "VDataTableFooter", props: Tn(), setup(e, n) { + return ue(() => c(e.tag, { ref: f, class: ["v-pagination", i.value, e.class], style: e.style, role: "navigation", "aria-label": o(e.ariaLabel), onKeydown: V, "data-test": "v-pagination-root" }, { default: () => [c("ul", { class: "v-pagination__list" }, [e.showFirstLastPage && c("li", { key: "first", class: "v-pagination__first", "data-test": "v-pagination-first" }, [t.first ? t.first(B.value.first) : c(pt, ee({ _as: "VPaginationBtn" }, B.value.first), null)]), c("li", { key: "prev", class: "v-pagination__prev", "data-test": "v-pagination-prev" }, [t.prev ? t.prev(B.value.prev) : c(pt, ee({ _as: "VPaginationBtn" }, B.value.prev), null)]), C.value.map((g, k) => c("li", { key: g.key, class: ["v-pagination__item", { "v-pagination__item--is-active": g.isActive }], "data-test": "v-pagination-item" }, [t.item ? t.item(g) : c(pt, ee({ _as: "VPaginationBtn" }, g.props), { default: () => [g.page] })])), c("li", { key: "next", class: "v-pagination__next", "data-test": "v-pagination-next" }, [t.next ? t.next(B.value.next) : c(pt, ee({ _as: "VPaginationBtn" }, B.value.next), null)]), e.showFirstLastPage && c("li", { key: "last", class: "v-pagination__last", "data-test": "v-pagination-last" }, [t.last ? t.last(B.value.last) : c(pt, ee({ _as: "VPaginationBtn" }, B.value.last), null)])])] })), {}; +} }), Dn = O({ prevIcon: { type: String, default: "$prev" }, nextIcon: { type: String, default: "$next" }, firstIcon: { type: String, default: "$first" }, lastIcon: { type: String, default: "$last" }, itemsPerPageText: { type: String, default: "$vuetify.dataFooter.itemsPerPageText" }, pageText: { type: String, default: "$vuetify.dataFooter.pageText" }, firstPageLabel: { type: String, default: "$vuetify.dataFooter.firstPage" }, prevPageLabel: { type: String, default: "$vuetify.dataFooter.prevPage" }, nextPageLabel: { type: String, default: "$vuetify.dataFooter.nextPage" }, lastPageLabel: { type: String, default: "$vuetify.dataFooter.lastPage" }, itemsPerPageOptions: { type: Array, default: () => [{ value: 10, title: "10" }, { value: 25, title: "25" }, { value: 50, title: "50" }, { value: 100, title: "100" }, { value: -1, title: "$vuetify.dataFooter.itemsPerPageAll" }] }, showCurrentPage: Boolean }, "VDataTableFooter"), Al = le()({ name: "VDataTableFooter", props: Dn(), setup(e, n) { let { slots: t } = n; const { t: l } = it(), { page: a, pageCount: o, startIndex: s, stopIndex: r, itemsLength: i, itemsPerPage: u, setItemsPerPage: v } = function() { - const p = Se(kr); + const p = Se(Cr); if (!p) throw new Error("Missing pagination!"); return p; }(), f = m(() => e.itemsPerPageOptions.map((p) => typeof p == "number" ? { value: p, title: p === -1 ? l("$vuetify.dataFooter.itemsPerPageAll") : String(p) } : { ...p, title: l(p.title) })); return ue(() => { - var p; - return d("div", { class: "v-data-table-footer" }, [(p = t.prepend) == null ? void 0 : p.call(t), d("div", { class: "v-data-table-footer__items-per-page" }, [d("span", null, [l(e.itemsPerPageText)]), d(Qi, { items: f.value, modelValue: u.value, "onUpdate:modelValue": (c) => v(Number(c)), density: "compact", variant: "outlined", "hide-details": !0 }, null)]), d("div", { class: "v-data-table-footer__info" }, [d("div", null, [l(e.pageText, i.value ? s.value + 1 : 0, r.value, i.value)])]), d("div", { class: "v-data-table-footer__pagination" }, [d(cu, { modelValue: a.value, "onUpdate:modelValue": (c) => a.value = c, density: "comfortable", "first-aria-label": e.firstPageLabel, "last-aria-label": e.lastPageLabel, length: o.value, "next-aria-label": e.nextPageLabel, "previous-aria-label": e.prevPageLabel, rounded: !0, "show-first-last-page": !0, "total-visible": e.showCurrentPage ? 1 : 0, variant: "plain" }, null)])]); + var d; + const p = Na.filterProps(e); + return c("div", { class: "v-data-table-footer" }, [(d = t.prepend) == null ? void 0 : d.call(t), c("div", { class: "v-data-table-footer__items-per-page" }, [c("span", null, [l(e.itemsPerPageText)]), c(tu, { items: f.value, modelValue: u.value, "onUpdate:modelValue": (h) => v(Number(h)), density: "compact", variant: "outlined", "hide-details": !0 }, null)]), c("div", { class: "v-data-table-footer__info" }, [c("div", null, [l(e.pageText, i.value ? s.value + 1 : 0, r.value, i.value)])]), c("div", { class: "v-data-table-footer__pagination" }, [c(Na, ee({ modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, density: "comfortable", "first-aria-label": e.firstPageLabel, "last-aria-label": e.lastPageLabel, length: o.value, "next-aria-label": e.nextPageLabel, "previous-aria-label": e.prevPageLabel, rounded: !0, "show-first-last-page": !0, "total-visible": e.showCurrentPage ? 1 : 0, variant: "plain" }, p), null)])]); }), {}; } }), Ln = (Ra = { align: { type: String, default: "start" }, fixed: Boolean, fixedOffset: [Number, String], height: [Number, String], lastFixed: Boolean, noPadding: Boolean, tag: String, width: [Number, String] }, Zl = (e, n) => { let { slots: t } = n; const l = e.tag ?? "td"; - return d(l, { class: ["v-data-table__td", { "v-data-table-column--fixed": e.fixed, "v-data-table-column--last-fixed": e.lastFixed, "v-data-table-column--no-padding": e.noPadding }, `v-data-table-column--align-${e.align}`], style: { height: ae(e.height), width: ae(e.width), left: ae(e.fixedOffset || null) } }, { default: () => { + return c(l, { class: ["v-data-table__td", { "v-data-table-column--fixed": e.fixed, "v-data-table-column--last-fixed": e.lastFixed, "v-data-table-column--no-padding": e.noPadding }, `v-data-table-column--align-${e.align}`], style: { height: oe(e.height), width: oe(e.width), left: oe(e.fixedOffset || null) } }, { default: () => { var a; return [(a = t.default) == null ? void 0 : a.call(t)]; } }); }, Zl.props = Ra, Zl); var Ra, Zl; -const du = R({ headers: Array }, "DataTable-header"), Er = Symbol.for("vuetify:data-table-headers"), Dr = { title: "", sortable: !1 }, pu = { ...Dr, width: 48 }; +const pu = O({ headers: Array }, "DataTable-header"), Tr = Symbol.for("vuetify:data-table-headers"), Dr = { title: "", sortable: !1 }, vu = { ...Dr, width: 48 }; function fn(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; if (e.children) @@ -3283,21 +3301,21 @@ function fn(e) { n.push(e); return n; } -function Tr(e) { +function Lr(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : /* @__PURE__ */ new Set(); for (const t of e) - t.key && n.add(t.key), t.children && Tr(t.children, n); + t.key && n.add(t.key), t.children && Lr(t.children, n); return n; } -function vu(e) { +function fu(e) { if (e.key) - return e.key === "data-table-group" ? Dr : ["data-table-expand", "data-table-select"].includes(e.key) ? pu : void 0; + return e.key === "data-table-group" ? Dr : ["data-table-expand", "data-table-select"].includes(e.key) ? vu : void 0; } function On(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; return e.children ? Math.max(n, ...e.children.map((t) => On(t, n + 1))) : n; } -function fu(e, n) { +function gu(e, n) { const t = []; let l = 0; const a = function() { @@ -3337,21 +3355,21 @@ function fu(e, n) { } return { columns: e.map((o) => fn(o)).flat(), headers: t }; } -function Lr(e) { +function Or(e) { const n = []; for (const t of e) { - const l = { ...vu(t), ...t }, a = l.key ?? (typeof l.value == "string" ? l.value : null), o = l.value ?? a ?? null, s = { ...l, key: a, value: o, sortable: l.sortable ?? (l.key != null || !!l.sort), children: l.children ? Lr(l.children) : void 0 }; + const l = { ...fu(t), ...t }, a = l.key ?? (typeof l.value == "string" ? l.value : null), o = l.value ?? a ?? null, s = { ...l, key: a, value: o, sortable: l.sortable ?? (l.key != null || !!l.sort), children: l.children ? Or(l.children) : void 0 }; n.push(s); } return n; } -function Or(e, n) { +function Mr(e, n) { const t = J([]), l = J([]), a = J(), o = J(); - Ne(() => { - var c, h, y; - const r = (e.headers || Object.keys(e.items[0] ?? {}).map((S) => ({ key: S, title: Ft(S) }))).slice(), i = Tr(r); - (c = n == null ? void 0 : n.groupBy) != null && c.value.length && !i.has("data-table-group") && r.unshift({ key: "data-table-group", title: "Group" }), (h = n == null ? void 0 : n.showSelect) != null && h.value && !i.has("data-table-select") && r.unshift({ key: "data-table-select" }), (y = n == null ? void 0 : n.showExpand) != null && y.value && !i.has("data-table-expand") && r.push({ key: "data-table-expand" }); - const u = Lr(r); + Re(() => { + var d, h, y; + const r = (e.headers || Object.keys(e.items[0] ?? {}).map((S) => ({ key: S, title: Ft(S) }))).slice(), i = Lr(r); + (d = n == null ? void 0 : n.groupBy) != null && d.value.length && !i.has("data-table-group") && r.unshift({ key: "data-table-group", title: "Group" }), (h = n == null ? void 0 : n.showSelect) != null && h.value && !i.has("data-table-select") && r.unshift({ key: "data-table-select" }), (y = n == null ? void 0 : n.showExpand) != null && y.value && !i.has("data-table-expand") && r.push({ key: "data-table-expand" }); + const u = Or(r); (function(S) { let x = !1; function A(B) { @@ -3361,7 +3379,7 @@ function Or(e, n) { for (let _ = B.children.length - 1; _ >= 0; _--) A(B.children[_], !0); else - x ? isNaN(+B.width) && ro(`Multiple fixed columns should have a static width (key: ${B.key})`) : B.lastFixed = !0, x = !0; + x ? isNaN(+B.width) && so(`Multiple fixed columns should have a static width (key: ${B.key})`) : B.lastFixed = !0, x = !0; else if (B.children) for (let _ = B.children.length - 1; _ >= 0; _--) A(B.children[_]); @@ -3386,31 +3404,31 @@ function Or(e, n) { for (const B of S) C = F(B, C); })(u); - const v = Math.max(...u.map((S) => On(S))) + 1, f = fu(u, v); + const v = Math.max(...u.map((S) => On(S))) + 1, f = gu(u, v); t.value = f.headers, l.value = f.columns; const p = f.headers.flat(1); a.value = p.reduce((S, x) => (x.sortable && x.key && x.sort && (S[x.key] = x.sort), S), {}), o.value = p.reduce((S, x) => (x.key && x.filter && (S[x.key] = x.filter), S), {}); }); const s = { headers: t, columns: l, sortFunctions: a, filterFunctions: o }; - return ke(Er, s), s; + return ke(Tr, s), s; } function jl() { - const e = Se(Er); + const e = Se(Tr); if (!e) throw new Error("Missing headers!"); return e; } -const Mr = R({ color: String, sticky: Boolean, multiSort: Boolean, sortAscIcon: { type: me, default: "$sortAsc" }, sortDescIcon: { type: me, default: "$sortDesc" }, ...Bn() }, "VDataTableHeaders"), _l = le()({ name: "VDataTableHeaders", props: Mr(), setup(e, n) { +const Nr = O({ color: String, sticky: Boolean, multiSort: Boolean, sortAscIcon: { type: me, default: "$sortAsc" }, sortDescIcon: { type: me, default: "$sortDesc" }, ...Bn() }, "VDataTableHeaders"), _l = le()({ name: "VDataTableHeaders", props: Nr(), setup(e, n) { let { slots: t } = n; const { toggleSort: l, sortBy: a, isSorted: o } = function() { - const F = Se($r); + const F = Se(Vr); if (!F) throw new Error("Missing sort!"); return F; - }(), { someSelected: s, allSelected: r, selectAll: i, showSelectAll: u } = Nl(), { columns: v, headers: f } = jl(), { loaderClasses: p } = An(e); - function c(F, C) { + }(), { someSelected: s, allSelected: r, selectAll: i, showSelectAll: u } = Rl(), { columns: v, headers: f } = jl(), { loaderClasses: p } = An(e); + function d(F, C) { if (e.sticky || F.fixed) - return { position: "sticky", left: F.fixed ? ae(F.fixedOffset) : void 0, top: e.sticky ? `calc(var(--v-table-header-height) * ${C})` : void 0 }; + return { position: "sticky", left: F.fixed ? oe(F.fixedOffset) : void 0, top: e.sticky ? `calc(var(--v-table-header-height) * ${C})` : void 0 }; } function h(F) { const C = a.value.find((B) => B.key === F.key); @@ -3419,119 +3437,119 @@ const Mr = R({ color: String, sticky: Boolean, multiSort: Boolean, sortAscIcon: const { backgroundColorClasses: y, backgroundColorStyles: S } = ot(e, "color"), x = m(() => ({ headers: f.value, columns: v.value, toggleSort: l, isSorted: o, sortBy: a.value, someSelected: s.value, allSelected: r.value, selectAll: i, getSortIcon: h })), A = (F) => { let { column: C, x: B, y: _ } = F; const V = C.key === "data-table-select" || C.key === "data-table-expand"; - return d(Ln, te({ tag: "th", align: C.align, class: ["v-data-table__th", { "v-data-table__th--sortable": C.sortable, "v-data-table__th--sorted": o(C), "v-data-table__th--fixed": C.fixed }, p.value], style: { width: ae(C.width), minWidth: ae(C.minWidth), ...c(C, _) }, colspan: C.colspan, rowspan: C.rowspan, onClick: C.sortable ? () => l(C) : void 0, fixed: C.fixed, lastFixed: C.lastFixed, noPadding: V }, C.headerProps), { default: () => { - var k; - const g = `header.${C.key}`, w = { column: C, selectAll: i, isSorted: o, toggleSort: l, sortBy: a.value, someSelected: s.value, allSelected: r.value, getSortIcon: h }; - return t[g] ? t[g](w) : C.key === "data-table-select" ? ((k = t["header.data-table-select"]) == null ? void 0 : k.call(t, w)) ?? (u && d(_t, { modelValue: r.value, indeterminate: s.value && !r.value, "onUpdate:modelValue": i }, null)) : d("div", { class: "v-data-table-header__content" }, [d("span", null, [C.title]), C.sortable && d(Ae, { key: "icon", class: "v-data-table-header__sort-icon", icon: h(C) }, null), e.multiSort && o(C) && d("div", { key: "badge", class: ["v-data-table-header__sort-badge", ...y.value], style: S.value }, [a.value.findIndex((P) => P.key === C.key) + 1])]); + return c(Ln, ee({ tag: "th", align: C.align, class: ["v-data-table__th", { "v-data-table__th--sortable": C.sortable, "v-data-table__th--sorted": o(C), "v-data-table__th--fixed": C.fixed, "v-data-table__th--sticky": e.sticky }, p.value], style: { width: oe(C.width), minWidth: oe(C.minWidth), ...d(C, _) }, colspan: C.colspan, rowspan: C.rowspan, onClick: C.sortable ? () => l(C) : void 0, fixed: C.fixed, lastFixed: C.lastFixed, noPadding: V }, C.headerProps), { default: () => { + var w; + const g = `header.${C.key}`, k = { column: C, selectAll: i, isSorted: o, toggleSort: l, sortBy: a.value, someSelected: s.value, allSelected: r.value, getSortIcon: h }; + return t[g] ? t[g](k) : C.key === "data-table-select" ? ((w = t["header.data-table-select"]) == null ? void 0 : w.call(t, k)) ?? (u && c(_t, { modelValue: r.value, indeterminate: s.value && !r.value, "onUpdate:modelValue": i }, null)) : c("div", { class: "v-data-table-header__content" }, [c("span", null, [C.title]), C.sortable && c(Ae, { key: "icon", class: "v-data-table-header__sort-icon", icon: h(C) }, null), e.multiSort && o(C) && c("div", { key: "badge", class: ["v-data-table-header__sort-badge", ...y.value], style: S.value }, [a.value.findIndex((P) => P.key === C.key) + 1])]); } }); }; - ue(() => d(pe, null, [t.headers ? t.headers(x.value) : f.value.map((F, C) => d("tr", null, [F.map((B, _) => d(A, { column: B, x: _, y: C }, null))])), e.loading && d("tr", { class: "v-data-table-progress" }, [d("th", { colspan: v.value.length }, [d(Io, { name: "v-data-table-progress", absolute: !0, active: !0, color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0 }, { default: t.loader })])])])); -} }), gu = R({ item: { type: Object, required: !0 } }, "VDataTableGroupHeaderRow"), mu = le()({ name: "VDataTableGroupHeaderRow", props: gu(), setup(e, n) { + ue(() => c(pe, null, [t.headers ? t.headers(x.value) : f.value.map((F, C) => c("tr", null, [F.map((B, _) => c(A, { column: B, x: _, y: C }, null))])), e.loading && c("tr", { class: "v-data-table-progress" }, [c("th", { colspan: v.value.length }, [c(Eo, { name: "v-data-table-progress", absolute: !0, active: !0, color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0 }, { default: t.loader })])])])); +} }), mu = O({ item: { type: Object, required: !0 } }, "VDataTableGroupHeaderRow"), yu = le()({ name: "VDataTableGroupHeaderRow", props: mu(), setup(e, n) { let { slots: t } = n; - const { isGroupOpen: l, toggleGroup: a, extractRows: o } = yr(), { isSelected: s, isSomeSelected: r, select: i } = Nl(), { columns: u } = jl(), v = m(() => o([e.item])); - return () => d("tr", { class: "v-data-table-group-header-row", style: { "--v-data-table-group-header-row-depth": e.item.depth } }, [u.value.map((f) => { - var p, c; + const { isGroupOpen: l, toggleGroup: a, extractRows: o } = hr(), { isSelected: s, isSomeSelected: r, select: i } = Rl(), { columns: u } = jl(), v = m(() => o([e.item])); + return () => c("tr", { class: "v-data-table-group-header-row", style: { "--v-data-table-group-header-row-depth": e.item.depth } }, [u.value.map((f) => { + var p, d; if (f.key === "data-table-group") { const h = l(e.item) ? "$expand" : "$next", y = () => a(e.item); - return ((p = t["data-table-group"]) == null ? void 0 : p.call(t, { item: e.item, count: v.value.length, props: { icon: h, onClick: y } })) ?? d(Ln, { class: "v-data-table-group-header-row__column" }, { default: () => [d(pt, { size: "small", variant: "text", icon: h, onClick: y }, null), d("span", null, [e.item.value]), d("span", null, [pl("("), v.value.length, pl(")")])] }); + return ((p = t["data-table-group"]) == null ? void 0 : p.call(t, { item: e.item, count: v.value.length, props: { icon: h, onClick: y } })) ?? c(Ln, { class: "v-data-table-group-header-row__column" }, { default: () => [c(pt, { size: "small", variant: "text", icon: h, onClick: y }, null), c("span", null, [e.item.value]), c("span", null, [vl("("), v.value.length, vl(")")])] }); } if (f.key === "data-table-select") { const h = s(v.value), y = r(v.value) && !h, S = (x) => i(v.value, x); - return ((c = t["data-table-select"]) == null ? void 0 : c.call(t, { props: { modelValue: h, indeterminate: y, "onUpdate:modelValue": S } })) ?? d("td", null, [d(_t, { modelValue: h, indeterminate: y, "onUpdate:modelValue": S }, null)]); + return ((d = t["data-table-select"]) == null ? void 0 : d.call(t, { props: { modelValue: h, indeterminate: y, "onUpdate:modelValue": S } })) ?? c("td", null, [c(_t, { modelValue: h, indeterminate: y, "onUpdate:modelValue": S }, null)]); } - return d("td", null, null); + return c("td", null, null); })]); -} }), yu = R({ index: Number, item: Object, cellProps: [Object, Function], onClick: Re(), onContextmenu: Re(), onDblclick: Re() }, "VDataTableRow"), hu = le()({ name: "VDataTableRow", props: yu(), setup(e, n) { +} }), hu = O({ index: Number, item: Object, cellProps: [Object, Function], onClick: Ne(), onContextmenu: Ne(), onDblclick: Ne() }, "VDataTableRow"), bu = le()({ name: "VDataTableRow", props: hu(), setup(e, n) { let { slots: t } = n; - const { isSelected: l, toggleSelect: a } = Nl(), { isExpanded: o, toggleExpand: s } = vr(), { columns: r } = jl(); - ue(() => d("tr", { class: ["v-data-table__tr", { "v-data-table__tr--clickable": !!(e.onClick || e.onContextmenu || e.onDblclick) }], onClick: e.onClick, onContextmenu: e.onContextmenu, onDblclick: e.onDblclick }, [e.item && r.value.map((i, u) => { - const v = e.item, f = `item.${i.key}`, p = { index: e.index, item: v.raw, internalItem: v, value: zt(v.columns, i.key), column: i, isSelected: l, toggleSelect: a, isExpanded: o, toggleExpand: s }, c = typeof e.cellProps == "function" ? e.cellProps({ index: p.index, item: p.item, internalItem: p.internalItem, value: p.value, column: i }) : e.cellProps, h = typeof i.cellProps == "function" ? i.cellProps({ index: p.index, item: p.item, internalItem: p.internalItem, value: p.value }) : i.cellProps; - return d(Ln, te({ align: i.align, fixed: i.fixed, fixedOffset: i.fixedOffset, lastFixed: i.lastFixed, noPadding: i.key === "data-table-select" || i.key === "data-table-expand", width: i.width }, c, h), { default: () => { + const { isSelected: l, toggleSelect: a } = Rl(), { isExpanded: o, toggleExpand: s } = fr(), { columns: r } = jl(); + ue(() => c("tr", { class: ["v-data-table__tr", { "v-data-table__tr--clickable": !!(e.onClick || e.onContextmenu || e.onDblclick) }], onClick: e.onClick, onContextmenu: e.onContextmenu, onDblclick: e.onDblclick }, [e.item && r.value.map((i, u) => { + const v = e.item, f = `item.${i.key}`, p = { index: e.index, item: v.raw, internalItem: v, value: zt(v.columns, i.key), column: i, isSelected: l, toggleSelect: a, isExpanded: o, toggleExpand: s }, d = typeof e.cellProps == "function" ? e.cellProps({ index: p.index, item: p.item, internalItem: p.internalItem, value: p.value, column: i }) : e.cellProps, h = typeof i.cellProps == "function" ? i.cellProps({ index: p.index, item: p.item, internalItem: p.internalItem, value: p.value }) : i.cellProps; + return c(Ln, ee({ align: i.align, fixed: i.fixed, fixedOffset: i.fixedOffset, lastFixed: i.lastFixed, noPadding: i.key === "data-table-select" || i.key === "data-table-expand", width: i.width }, d, h), { default: () => { var y, S; - return t[f] ? t[f](p) : i.key === "data-table-select" ? ((y = t["item.data-table-select"]) == null ? void 0 : y.call(t, p)) ?? d(_t, { disabled: !v.selectable, modelValue: l([v]), onClick: en(() => a(v), ["stop"]) }, null) : i.key === "data-table-expand" ? ((S = t["item.data-table-expand"]) == null ? void 0 : S.call(t, p)) ?? d(pt, { icon: o(v) ? "$collapse" : "$expand", size: "small", variant: "text", onClick: en(() => s(v), ["stop"]) }, null) : Ja(p.value); + return t[f] ? t[f](p) : i.key === "data-table-select" ? ((y = t["item.data-table-select"]) == null ? void 0 : y.call(t, p)) ?? c(_t, { disabled: !v.selectable, modelValue: l([v]), onClick: en(() => a(v), ["stop"]) }, null) : i.key === "data-table-expand" ? ((S = t["item.data-table-expand"]) == null ? void 0 : S.call(t, p)) ?? c(pt, { icon: o(v) ? "$collapse" : "$expand", size: "small", variant: "text", onClick: en(() => s(v), ["stop"]) }, null) : Za(p.value); } }); })])); -} }), Rr = R({ loading: [Boolean, String], loadingText: { type: String, default: "$vuetify.dataIterator.loadingText" }, hideNoData: Boolean, items: { type: Array, default: () => [] }, noDataText: { type: String, default: "$vuetify.noDataText" }, rowProps: [Object, Function], cellProps: [Object, Function] }, "VDataTableRows"), Fl = le()({ name: "VDataTableRows", inheritAttrs: !1, props: Rr(), setup(e, n) { +} }), Rr = O({ loading: [Boolean, String], loadingText: { type: String, default: "$vuetify.dataIterator.loadingText" }, hideNoData: Boolean, items: { type: Array, default: () => [] }, noDataText: { type: String, default: "$vuetify.noDataText" }, rowProps: [Object, Function], cellProps: [Object, Function] }, "VDataTableRows"), Fl = le()({ name: "VDataTableRows", inheritAttrs: !1, props: Rr(), setup(e, n) { let { attrs: t, slots: l } = n; - const { columns: a } = jl(), { expandOnClick: o, toggleExpand: s, isExpanded: r } = vr(), { isSelected: i, toggleSelect: u } = Nl(), { toggleGroup: v, isGroupOpen: f } = yr(), { t: p } = it(); + const { columns: a } = jl(), { expandOnClick: o, toggleExpand: s, isExpanded: r } = fr(), { isSelected: i, toggleSelect: u } = Rl(), { toggleGroup: v, isGroupOpen: f } = hr(), { t: p } = it(); return ue(() => { - var c, h; - return !e.loading || e.items.length && !l.loading ? e.loading || e.items.length || e.hideNoData ? d(pe, null, [e.items.map((y, S) => { + var d, h; + return !e.loading || e.items.length && !l.loading ? e.loading || e.items.length || e.hideNoData ? c(pe, null, [e.items.map((y, S) => { var F; if (y.type === "group") { const C = { index: S, item: y, columns: a.value, isExpanded: r, toggleExpand: s, isSelected: i, toggleSelect: u, toggleGroup: v, isGroupOpen: f }; - return l["group-header"] ? l["group-header"](C) : d(mu, te({ key: `group-header_${y.id}`, item: y }, va(t, ":group-header", () => C)), l); + return l["group-header"] ? l["group-header"](C) : c(yu, ee({ key: `group-header_${y.id}`, item: y }, va(t, ":group-header", () => C)), l); } - const x = { index: S, item: y.raw, internalItem: y, columns: a.value, isExpanded: r, toggleExpand: s, isSelected: i, toggleSelect: u }, A = { ...x, props: te({ key: `item_${y.key ?? y.index}`, onClick: o.value ? () => { + const x = { index: S, item: y.raw, internalItem: y, columns: a.value, isExpanded: r, toggleExpand: s, isSelected: i, toggleSelect: u }, A = { ...x, props: ee({ key: `item_${y.key ?? y.index}`, onClick: o.value ? () => { s(y); } : void 0, index: S, item: y, cellProps: e.cellProps }, va(t, ":row", () => x), typeof e.rowProps == "function" ? e.rowProps({ item: x.item, index: x.index, internalItem: x.internalItem }) : e.rowProps) }; - return d(pe, { key: A.props.key }, [l.item ? l.item(A) : d(hu, A.props, l), r(y) && ((F = l["expanded-row"]) == null ? void 0 : F.call(l, x))]); - })]) : d("tr", { class: "v-data-table-rows-no-data", key: "no-data" }, [d("td", { colspan: a.value.length }, [((c = l["no-data"]) == null ? void 0 : c.call(l)) ?? p(e.noDataText)])]) : d("tr", { class: "v-data-table-rows-loading", key: "loading" }, [d("td", { colspan: a.value.length }, [((h = l.loading) == null ? void 0 : h.call(l)) ?? p(e.loadingText)])]); + return c(pe, { key: A.props.key }, [l.item ? l.item(A) : c(bu, A.props, l), r(y) && ((F = l["expanded-row"]) == null ? void 0 : F.call(l, x))]); + })]) : c("tr", { class: "v-data-table-rows-no-data", key: "no-data" }, [c("td", { colspan: a.value.length }, [((d = l["no-data"]) == null ? void 0 : d.call(l)) ?? p(e.noDataText)])]) : c("tr", { class: "v-data-table-rows-loading", key: "loading" }, [c("td", { colspan: a.value.length }, [((h = l.loading) == null ? void 0 : h.call(l)) ?? p(e.loadingText)])]); }), {}; -} }), Nr = R({ fixedHeader: Boolean, fixedFooter: Boolean, height: [Number, String], hover: Boolean, ...ve(), ...Ye(), ...Ve(), ...Be() }, "VTable"), $l = le()({ name: "VTable", props: Nr(), setup(e, n) { +} }), jr = O({ fixedHeader: Boolean, fixedFooter: Boolean, height: [Number, String], hover: Boolean, ...ve(), ...Ye(), ...Ve(), ...Be() }, "VTable"), $l = le()({ name: "VTable", props: jr(), setup(e, n) { let { slots: t, emit: l } = n; const { themeClasses: a } = $e(e), { densityClasses: o } = et(e); - return ue(() => d(e.tag, { class: ["v-table", { "v-table--fixed-height": !!e.height, "v-table--fixed-header": e.fixedHeader, "v-table--fixed-footer": e.fixedFooter, "v-table--has-top": !!t.top, "v-table--has-bottom": !!t.bottom, "v-table--hover": e.hover }, a.value, o.value, e.class], style: e.style }, { default: () => { + return ue(() => c(e.tag, { class: ["v-table", { "v-table--fixed-height": !!e.height, "v-table--fixed-header": e.fixedHeader, "v-table--fixed-footer": e.fixedFooter, "v-table--has-top": !!t.top, "v-table--has-bottom": !!t.bottom, "v-table--hover": e.hover }, a.value, o.value, e.class], style: e.style }, { default: () => { var s, r, i; - return [(s = t.top) == null ? void 0 : s.call(t), t.default ? d("div", { class: "v-table__wrapper", style: { height: ae(e.height) } }, [d("table", null, [t.default()])]) : (r = t.wrapper) == null ? void 0 : r.call(t), (i = t.bottom) == null ? void 0 : i.call(t)]; + return [(s = t.top) == null ? void 0 : s.call(t), t.default ? c("div", { class: "v-table__wrapper", style: { height: oe(e.height) } }, [c("table", null, [t.default()])]) : (r = t.wrapper) == null ? void 0 : r.call(t), (i = t.bottom) == null ? void 0 : i.call(t)]; } })), {}; -} }), bu = R({ items: { type: Array, default: () => [] }, itemValue: { type: [String, Array, Function], default: "id" }, itemSelectable: { type: [String, Array, Function], default: null }, rowProps: [Object, Function], cellProps: [Object, Function], returnObject: Boolean }, "DataTable-items"); -function Su(e, n, t) { +} }), Su = O({ items: { type: Array, default: () => [] }, itemValue: { type: [String, Array, Function], default: "id" }, itemSelectable: { type: [String, Array, Function], default: null }, rowProps: [Object, Function], cellProps: [Object, Function], returnObject: Boolean }, "DataTable-items"); +function xu(e, n, t) { return n.map((l, a) => function(o, s, r, i) { - const u = o.returnObject ? s : Te(s, o.itemValue), v = Te(s, o.itemSelectable, !0), f = i.reduce((p, c) => (c.key != null && (p[c.key] = Te(s, c.value)), p), {}); - return { type: "item", key: o.returnObject ? Te(s, o.itemValue) : u, index: r, value: u, selectable: v, columns: f, raw: s }; + const u = o.returnObject ? s : De(s, o.itemValue), v = De(s, o.itemSelectable, !0), f = i.reduce((p, d) => (d.key != null && (p[d.key] = De(s, d.value)), p), {}); + return { type: "item", key: o.returnObject ? De(s, o.itemValue) : u, index: r, value: u, selectable: v, columns: f, raw: s }; }(e, l, a, t)); } -function jr(e, n) { - return { items: m(() => Su(e, e.items, n.value)) }; +function Wr(e, n) { + return { items: m(() => xu(e, e.items, n.value)) }; } -const Wr = R({ ...Rr(), width: [String, Number], search: String, ...nu(), ...au(), ...du(), ...bu(), ...ru(), ...su(), ...Mr(), ...Nr() }, "DataTable"), xu = R({ ...wr(), ...Wr(), ...tu(), ...Tn() }, "VDataTable"), wu = le()({ name: "VDataTable", props: xu(), emits: { "update:modelValue": (e) => !0, "update:page": (e) => !0, "update:itemsPerPage": (e) => !0, "update:sortBy": (e) => !0, "update:options": (e) => !0, "update:groupBy": (e) => !0, "update:expanded": (e) => !0 }, setup(e, n) { +const zr = O({ ...Rr(), width: [String, Number], search: String, ...ou(), ...ru(), ...pu(), ...Su(), ...iu(), ...uu(), ...Nr(), ...jr() }, "DataTable"), wu = O({ ...kr(), ...zr(), ...nu(), ...Dn() }, "VDataTable"), ku = le()({ name: "VDataTable", props: wu(), emits: { "update:modelValue": (e) => !0, "update:page": (e) => !0, "update:itemsPerPage": (e) => !0, "update:sortBy": (e) => !0, "update:options": (e) => !0, "update:groupBy": (e) => !0, "update:expanded": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l } = n; - const { groupBy: a } = gr(e), { sortBy: o, multiSort: s, mustSort: r } = Vr(e), { page: i, itemsPerPage: u } = Cr(e), { columns: v, headers: f, sortFunctions: p, filterFunctions: c } = Or(e, { groupBy: a, showSelect: q(e, "showSelect"), showExpand: q(e, "showExpand") }), { items: h } = jr(e, v), y = q(e, "search"), { filteredItems: S } = lu(e, h, y, { transform: (L) => L.columns, customKeyFilter: c }), { toggleSort: x } = Ir({ sortBy: o, multiSort: s, mustSort: r, page: i }), { sortByWithGroups: A, opened: F, extractRows: C, isGroupOpen: B, toggleGroup: _ } = mr({ groupBy: a, sortBy: o }), { sortedItems: V } = iu(e, S, A, p), { flatItems: g } = Sr(V, a, F), w = m(() => g.value.length), { startIndex: k, stopIndex: P, pageCount: $, setItemsPerPage: D } = Pr({ page: i, itemsPerPage: u, itemsLength: w }), { paginatedItems: O } = function(L) { + const { groupBy: a } = mr(e), { sortBy: o, multiSort: s, mustSort: r } = Ir(e), { page: i, itemsPerPage: u } = Pr(e), { columns: v, headers: f, sortFunctions: p, filterFunctions: d } = Mr(e, { groupBy: a, showSelect: q(e, "showSelect"), showExpand: q(e, "showExpand") }), { items: h } = Wr(e, v), y = q(e, "search"), { filteredItems: S } = au(e, h, y, { transform: (L) => L.columns, customKeyFilter: d }), { toggleSort: x } = Er({ sortBy: o, multiSort: s, mustSort: r, page: i }), { sortByWithGroups: A, opened: F, extractRows: C, isGroupOpen: B, toggleGroup: _ } = yr({ groupBy: a, sortBy: o }), { sortedItems: V } = cu(e, S, A, p), { flatItems: g } = xr(V, a, F), k = m(() => g.value.length), { startIndex: w, stopIndex: P, pageCount: $, setItemsPerPage: D } = Br({ page: i, itemsPerPage: u, itemsLength: k }), { paginatedItems: M } = function(L) { const { items: W, startIndex: G, stopIndex: z, itemsPerPage: E } = L; return { paginatedItems: m(() => E.value <= 0 ? W.value : W.value.slice(G.value, z.value)) }; - }({ items: g, startIndex: k, stopIndex: P, itemsPerPage: u }), T = m(() => C(O.value)), { isSelected: M, select: H, selectAll: I, toggleSelect: N, someSelected: j, allSelected: U } = Fr(e, { allItems: h, currentPage: T }), { isExpanded: ee, toggleExpand: X } = pr(e); - xr({ page: i, itemsPerPage: u, sortBy: o, groupBy: a, search: y }), Xe({ VDataTableRows: { hideNoData: q(e, "hideNoData"), noDataText: q(e, "noDataText"), loading: q(e, "loading"), loadingText: q(e, "loadingText") } }); - const Z = m(() => ({ page: i.value, itemsPerPage: u.value, sortBy: o.value, pageCount: $.value, toggleSort: x, setItemsPerPage: D, someSelected: j.value, allSelected: U.value, isSelected: M, select: H, selectAll: I, toggleSelect: N, isExpanded: ee, toggleExpand: X, isGroupOpen: B, toggleGroup: _, items: T.value.map((L) => L.raw), internalItems: T.value, groupedItems: O.value, columns: v.value, headers: f.value })); + }({ items: g, startIndex: w, stopIndex: P, itemsPerPage: u }), T = m(() => C(M.value)), { isSelected: N, select: K, selectAll: I, toggleSelect: R, someSelected: j, allSelected: U } = $r(e, { allItems: h, currentPage: T }), { isExpanded: te, toggleExpand: X } = vr(e); + wr({ page: i, itemsPerPage: u, sortBy: o, groupBy: a, search: y }), Xe({ VDataTableRows: { hideNoData: q(e, "hideNoData"), noDataText: q(e, "noDataText"), loading: q(e, "loading"), loadingText: q(e, "loadingText") } }); + const Z = m(() => ({ page: i.value, itemsPerPage: u.value, sortBy: o.value, pageCount: $.value, toggleSort: x, setItemsPerPage: D, someSelected: j.value, allSelected: U.value, isSelected: N, select: K, selectAll: I, toggleSelect: R, isExpanded: te, toggleExpand: X, isGroupOpen: B, toggleGroup: _, items: T.value.map((L) => L.raw), internalItems: T.value, groupedItems: M.value, columns: v.value, headers: f.value })); return ue(() => { const L = Al.filterProps(e), W = _l.filterProps(e), G = Fl.filterProps(e), z = $l.filterProps(e); - return d($l, te({ class: ["v-data-table", { "v-data-table--show-select": e.showSelect, "v-data-table--loading": e.loading }, e.class], style: e.style }, z), { top: () => { + return c($l, ee({ class: ["v-data-table", { "v-data-table--show-select": e.showSelect, "v-data-table--loading": e.loading }, e.class], style: e.style }, z), { top: () => { var E; return (E = l.top) == null ? void 0 : E.call(l, Z.value); }, default: () => { - var E, K, se, Y, Q, re; - return l.default ? l.default(Z.value) : d(pe, null, [(E = l.colgroup) == null ? void 0 : E.call(l, Z.value), d("thead", null, [d(_l, W, l)]), (K = l.thead) == null ? void 0 : K.call(l, Z.value), d("tbody", null, [(se = l["body.prepend"]) == null ? void 0 : se.call(l, Z.value), l.body ? l.body(Z.value) : d(Fl, te(t, G, { items: O.value }), l), (Y = l["body.append"]) == null ? void 0 : Y.call(l, Z.value)]), (Q = l.tbody) == null ? void 0 : Q.call(l, Z.value), (re = l.tfoot) == null ? void 0 : re.call(l, Z.value)]); - }, bottom: () => l.bottom ? l.bottom(Z.value) : d(pe, null, [d(er, null, null), d(Al, L, { prepend: l["footer.prepend"] })]) }); + var E, H, se, Y, Q, re; + return l.default ? l.default(Z.value) : c(pe, null, [(E = l.colgroup) == null ? void 0 : E.call(l, Z.value), c("thead", null, [c(_l, W, l)]), (H = l.thead) == null ? void 0 : H.call(l, Z.value), c("tbody", null, [(se = l["body.prepend"]) == null ? void 0 : se.call(l, Z.value), l.body ? l.body(Z.value) : c(Fl, ee(t, G, { items: M.value }), l), (Y = l["body.append"]) == null ? void 0 : Y.call(l, Z.value)]), (Q = l.tbody) == null ? void 0 : Q.call(l, Z.value), (re = l.tfoot) == null ? void 0 : re.call(l, Z.value)]); + }, bottom: () => l.bottom ? l.bottom(Z.value) : c(pe, null, [c(tr, null, null), c(Al, L, { prepend: l["footer.prepend"] })]) }); }), {}; -} }), ku = R({ itemsLength: { type: [Number, String], required: !0 }, ...wr(), ...Wr(), ...Tn() }, "VDataTableServer"), Cu = le()({ name: "VDataTableServer", props: ku(), emits: { "update:modelValue": (e) => !0, "update:page": (e) => !0, "update:itemsPerPage": (e) => !0, "update:sortBy": (e) => !0, "update:options": (e) => !0, "update:expanded": (e) => !0, "update:groupBy": (e) => !0 }, setup(e, n) { +} }), Cu = O({ itemsLength: { type: [Number, String], required: !0 }, ...kr(), ...zr(), ...Dn() }, "VDataTableServer"), Pu = le()({ name: "VDataTableServer", props: Cu(), emits: { "update:modelValue": (e) => !0, "update:page": (e) => !0, "update:itemsPerPage": (e) => !0, "update:sortBy": (e) => !0, "update:options": (e) => !0, "update:expanded": (e) => !0, "update:groupBy": (e) => !0 }, setup(e, n) { let { attrs: t, slots: l } = n; - const { groupBy: a } = gr(e), { sortBy: o, multiSort: s, mustSort: r } = Vr(e), { page: i, itemsPerPage: u } = Cr(e), v = m(() => parseInt(e.itemsLength, 10)), { columns: f, headers: p } = Or(e, { groupBy: a, showSelect: q(e, "showSelect"), showExpand: q(e, "showExpand") }), { items: c } = jr(e, f), { toggleSort: h } = Ir({ sortBy: o, multiSort: s, mustSort: r, page: i }), { opened: y, isGroupOpen: S, toggleGroup: x, extractRows: A } = mr({ groupBy: a, sortBy: o }), { pageCount: F, setItemsPerPage: C } = Pr({ page: i, itemsPerPage: u, itemsLength: v }), { flatItems: B } = Sr(c, a, y), { isSelected: _, select: V, selectAll: g, toggleSelect: w, someSelected: k, allSelected: P } = Fr(e, { allItems: c, currentPage: c }), { isExpanded: $, toggleExpand: D } = pr(e), O = m(() => A(c.value)); - xr({ page: i, itemsPerPage: u, sortBy: o, groupBy: a, search: q(e, "search") }), ke("v-data-table", { toggleSort: h, sortBy: o }), Xe({ VDataTableRows: { hideNoData: q(e, "hideNoData"), noDataText: q(e, "noDataText"), loading: q(e, "loading"), loadingText: q(e, "loadingText") } }); - const T = m(() => ({ page: i.value, itemsPerPage: u.value, sortBy: o.value, pageCount: F.value, toggleSort: h, setItemsPerPage: C, someSelected: k.value, allSelected: P.value, isSelected: _, select: V, selectAll: g, toggleSelect: w, isExpanded: $, toggleExpand: D, isGroupOpen: S, toggleGroup: x, items: O.value.map((M) => M.raw), internalItems: O.value, groupedItems: B.value, columns: f.value, headers: p.value })); + const { groupBy: a } = mr(e), { sortBy: o, multiSort: s, mustSort: r } = Ir(e), { page: i, itemsPerPage: u } = Pr(e), v = m(() => parseInt(e.itemsLength, 10)), { columns: f, headers: p } = Mr(e, { groupBy: a, showSelect: q(e, "showSelect"), showExpand: q(e, "showExpand") }), { items: d } = Wr(e, f), { toggleSort: h } = Er({ sortBy: o, multiSort: s, mustSort: r, page: i }), { opened: y, isGroupOpen: S, toggleGroup: x, extractRows: A } = yr({ groupBy: a, sortBy: o }), { pageCount: F, setItemsPerPage: C } = Br({ page: i, itemsPerPage: u, itemsLength: v }), { flatItems: B } = xr(d, a, y), { isSelected: _, select: V, selectAll: g, toggleSelect: k, someSelected: w, allSelected: P } = $r(e, { allItems: d, currentPage: d }), { isExpanded: $, toggleExpand: D } = vr(e), M = m(() => A(d.value)); + wr({ page: i, itemsPerPage: u, sortBy: o, groupBy: a, search: q(e, "search") }), ke("v-data-table", { toggleSort: h, sortBy: o }), Xe({ VDataTableRows: { hideNoData: q(e, "hideNoData"), noDataText: q(e, "noDataText"), loading: q(e, "loading"), loadingText: q(e, "loadingText") } }); + const T = m(() => ({ page: i.value, itemsPerPage: u.value, sortBy: o.value, pageCount: F.value, toggleSort: h, setItemsPerPage: C, someSelected: w.value, allSelected: P.value, isSelected: _, select: V, selectAll: g, toggleSelect: k, isExpanded: $, toggleExpand: D, isGroupOpen: S, toggleGroup: x, items: M.value.map((N) => N.raw), internalItems: M.value, groupedItems: B.value, columns: f.value, headers: p.value })); ue(() => { - const M = Al.filterProps(e), H = _l.filterProps(e), I = Fl.filterProps(e), N = $l.filterProps(e); - return d($l, te({ class: ["v-data-table", { "v-data-table--loading": e.loading }, e.class], style: e.style }, N), { top: () => { + const N = Al.filterProps(e), K = _l.filterProps(e), I = Fl.filterProps(e), R = $l.filterProps(e); + return c($l, ee({ class: ["v-data-table", { "v-data-table--loading": e.loading }, e.class], style: e.style }, R), { top: () => { var j; return (j = l.top) == null ? void 0 : j.call(l, T.value); }, default: () => { - var j, U, ee, X, Z, L; - return l.default ? l.default(T.value) : d(pe, null, [(j = l.colgroup) == null ? void 0 : j.call(l, T.value), d("thead", { class: "v-data-table__thead", role: "rowgroup" }, [d(_l, te(H, { sticky: e.fixedHeader }), l)]), (U = l.thead) == null ? void 0 : U.call(l, T.value), d("tbody", { class: "v-data-table__tbody", role: "rowgroup" }, [(ee = l["body.prepend"]) == null ? void 0 : ee.call(l, T.value), l.body ? l.body(T.value) : d(Fl, te(t, I, { items: B.value }), l), (X = l["body.append"]) == null ? void 0 : X.call(l, T.value)]), (Z = l.tbody) == null ? void 0 : Z.call(l, T.value), (L = l.tfoot) == null ? void 0 : L.call(l, T.value)]); - }, bottom: () => l.bottom ? l.bottom(T.value) : d(Al, M, { prepend: l["footer.prepend"] }) }); + var j, U, te, X, Z, L; + return l.default ? l.default(T.value) : c(pe, null, [(j = l.colgroup) == null ? void 0 : j.call(l, T.value), c("thead", { class: "v-data-table__thead", role: "rowgroup" }, [c(_l, ee(K, { sticky: e.fixedHeader }), l)]), (U = l.thead) == null ? void 0 : U.call(l, T.value), c("tbody", { class: "v-data-table__tbody", role: "rowgroup" }, [(te = l["body.prepend"]) == null ? void 0 : te.call(l, T.value), l.body ? l.body(T.value) : c(Fl, ee(t, I, { items: B.value }), l), (X = l["body.append"]) == null ? void 0 : X.call(l, T.value)]), (Z = l.tbody) == null ? void 0 : Z.call(l, T.value), (L = l.tfoot) == null ? void 0 : L.call(l, T.value)]); + }, bottom: () => l.bottom ? l.bottom(T.value) : c(Al, N, { prepend: l["footer.prepend"] }) }); }); -} }), zr = Rl.reduce((e, n) => (e[n] = { type: [Boolean, String, Number], default: !1 }, e), {}), Gr = Rl.reduce((e, n) => (e["offset" + Ft(n)] = { type: [String, Number], default: null }, e), {}), Hr = Rl.reduce((e, n) => (e["order" + Ft(n)] = { type: [String, Number], default: null }, e), {}), Na = { col: Object.keys(zr), offset: Object.keys(Gr), order: Object.keys(Hr) }; -function Pu(e, n, t) { +} }), Gr = Nl.reduce((e, n) => (e[n] = { type: [Boolean, String, Number], default: !1 }, e), {}), Hr = Nl.reduce((e, n) => (e["offset" + Ft(n)] = { type: [String, Number], default: null }, e), {}), Kr = Nl.reduce((e, n) => (e["order" + Ft(n)] = { type: [String, Number], default: null }, e), {}), ja = { col: Object.keys(Gr), offset: Object.keys(Hr), order: Object.keys(Kr) }; +function Bu(e, n, t) { let l = e; if (t != null && t !== !1) return n && (l += `-${n.replace(e, "")}`), e === "col" && (l = "v-" + l), (e !== "col" || t !== "" && t !== !0) && (l += `-${t}`), l.toLowerCase(); } -const Bu = ["auto", "start", "end", "center", "baseline", "stretch"], Au = R({ cols: { type: [Boolean, String, Number], default: !1 }, ...zr, offset: { type: [String, Number], default: null }, ...Gr, order: { type: [String, Number], default: null }, ...Hr, alignSelf: { type: String, default: null, validator: (e) => Bu.includes(e) }, ...ve(), ...Ve() }, "VCol"), At = le()({ name: "VCol", props: Au(), setup(e, n) { +const Au = ["auto", "start", "end", "center", "baseline", "stretch"], _u = O({ cols: { type: [Boolean, String, Number], default: !1 }, ...Gr, offset: { type: [String, Number], default: null }, ...Hr, order: { type: [String, Number], default: null }, ...Kr, alignSelf: { type: String, default: null, validator: (e) => Au.includes(e) }, ...ve(), ...Ve() }, "VCol"), At = le()({ name: "VCol", props: _u(), setup(e, n) { let { slots: t } = n; const l = m(() => { const a = []; let o; - for (o in Na) - Na[o].forEach((r) => { - const i = e[r], u = Pu(o, r, i); + for (o in ja) + ja[o].forEach((r) => { + const i = e[r], u = Bu(o, r, i); u && a.push(u); }); const s = a.some((r) => r.startsWith("v-col-")); @@ -3541,24 +3559,24 @@ const Bu = ["auto", "start", "end", "center", "baseline", "stretch"], Au = R({ c var a; return $t(e.tag, { class: [l.value, e.class], style: e.style }, (a = t.default) == null ? void 0 : a.call(t)); }; -} }), Mn = ["start", "end", "center"], Kr = ["space-between", "space-around", "space-evenly"]; -function Rn(e, n) { - return Rl.reduce((t, l) => (t[e + Ft(l)] = n(), t), {}); +} }), Mn = ["start", "end", "center"], qr = ["space-between", "space-around", "space-evenly"]; +function Nn(e, n) { + return Nl.reduce((t, l) => (t[e + Ft(l)] = n(), t), {}); } -const _u = [...Mn, "baseline", "stretch"], qr = (e) => _u.includes(e), Ur = Rn("align", () => ({ type: String, default: null, validator: qr })), Fu = [...Mn, ...Kr], Yr = (e) => Fu.includes(e), Xr = Rn("justify", () => ({ type: String, default: null, validator: Yr })), $u = [...Mn, ...Kr, "stretch"], Jr = (e) => $u.includes(e), Zr = Rn("alignContent", () => ({ type: String, default: null, validator: Jr })), ja = { align: Object.keys(Ur), justify: Object.keys(Xr), alignContent: Object.keys(Zr) }, Vu = { align: "align", justify: "justify", alignContent: "align-content" }; -function Iu(e, n, t) { - let l = Vu[e]; +const Fu = [...Mn, "baseline", "stretch"], Ur = (e) => Fu.includes(e), Yr = Nn("align", () => ({ type: String, default: null, validator: Ur })), $u = [...Mn, ...qr], Xr = (e) => $u.includes(e), Jr = Nn("justify", () => ({ type: String, default: null, validator: Xr })), Vu = [...Mn, ...qr, "stretch"], Zr = (e) => Vu.includes(e), Qr = Nn("alignContent", () => ({ type: String, default: null, validator: Zr })), Wa = { align: Object.keys(Yr), justify: Object.keys(Jr), alignContent: Object.keys(Qr) }, Iu = { align: "align", justify: "justify", alignContent: "align-content" }; +function Eu(e, n, t) { + let l = Iu[e]; if (t != null) return n && (l += `-${n.replace(e, "")}`), l += `-${t}`, l.toLowerCase(); } -const Eu = R({ dense: Boolean, noGutters: Boolean, align: { type: String, default: null, validator: qr }, ...Ur, justify: { type: String, default: null, validator: Yr }, ...Xr, alignContent: { type: String, default: null, validator: Jr }, ...Zr, ...ve(), ...Ve() }, "VRow"), Qr = le()({ name: "VRow", props: Eu(), setup(e, n) { +const Tu = O({ dense: Boolean, noGutters: Boolean, align: { type: String, default: null, validator: Ur }, ...Yr, justify: { type: String, default: null, validator: Xr }, ...Jr, alignContent: { type: String, default: null, validator: Zr }, ...Qr, ...ve(), ...Ve() }, "VRow"), es = le()({ name: "VRow", props: Tu(), setup(e, n) { let { slots: t } = n; const l = m(() => { const a = []; let o; - for (o in ja) - ja[o].forEach((s) => { - const r = e[s], i = Iu(o, s, r); + for (o in Wa) + Wa[o].forEach((s) => { + const r = e[s], i = Eu(o, s, r); i && a.push(i); }); return a.push({ "v-row--no-gutters": e.noGutters, "v-row--dense": e.dense, [`align-${e.align}`]: e.align, [`justify-${e.justify}`]: e.justify, [`align-content-${e.alignContent}`]: e.alignContent }), a; @@ -3568,10 +3586,10 @@ const Eu = R({ dense: Boolean, noGutters: Boolean, align: { type: String, defaul return $t(e.tag, { class: ["v-row", l.value, e.class], style: e.style }, (a = t.default) == null ? void 0 : a.call(t)); }; } }), Du = { actions: "button@2", article: "heading, paragraph", avatar: "avatar", button: "button", card: "image, heading", "card-avatar": "image, list-item-avatar", chip: "chip", "date-picker": "list-item, heading, divider, date-picker-options, date-picker-days, actions", "date-picker-options": "text, avatar@2", "date-picker-days": "avatar@28", divider: "divider", heading: "heading", image: "image", "list-item": "text", "list-item-avatar": "avatar, text", "list-item-two-line": "sentences", "list-item-avatar-two-line": "avatar, sentences", "list-item-three-line": "paragraph", "list-item-avatar-three-line": "avatar, paragraph", ossein: "ossein", paragraph: "text@3", sentences: "text@2", subtitle: "text", table: "table-heading, table-thead, table-tbody, table-tfoot", "table-heading": "chip, text", "table-thead": "heading@6", "table-tbody": "table-row-divider@6", "table-row-divider": "table-row, divider", "table-row": "text@6", "table-tfoot": "text@2, avatar@2", text: "text" }; -function Tu(e) { - return d("div", { class: ["v-skeleton-loader__bone", `v-skeleton-loader__${e}`] }, [arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []]); +function Lu(e) { + return c("div", { class: ["v-skeleton-loader__bone", `v-skeleton-loader__${e}`] }, [arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []]); } -function Wa(e) { +function za(e) { const [n, t] = e.split("@"); return Array.from({ length: t }).map(() => Wl(n)); } @@ -3582,26 +3600,26 @@ function Wl(e) { const t = Du[e]; if (e !== t) { if (e.includes(",")) - return za(e); + return Ga(e); if (e.includes("@")) - return Wa(e); - t.includes(",") ? n = za(t) : t.includes("@") ? n = Wa(t) : t && n.push(Wl(t)); + return za(e); + t.includes(",") ? n = Ga(t) : t.includes("@") ? n = za(t) : t && n.push(Wl(t)); } - return [Tu(e, n)]; + return [Lu(e, n)]; } -function za(e) { +function Ga(e) { return e.replace(/\s/g, "").split(",").map(Wl); } -const Lu = R({ boilerplate: Boolean, color: String, loading: Boolean, loadingText: { type: String, default: "$vuetify.loading" }, type: { type: [String, Array], default: "ossein" }, ...St(), ...wt(), ...Be() }, "VSkeletonLoader"), Ou = le()({ name: "VSkeletonLoader", props: Lu(), setup(e, n) { +const Ou = O({ boilerplate: Boolean, color: String, loading: Boolean, loadingText: { type: String, default: "$vuetify.loading" }, type: { type: [String, Array], default: "ossein" }, ...St(), ...wt(), ...Be() }, "VSkeletonLoader"), Mu = le()({ name: "VSkeletonLoader", props: Ou(), setup(e, n) { let { slots: t } = n; - const { backgroundColorClasses: l, backgroundColorStyles: a } = ot(q(e, "color")), { dimensionStyles: o } = xt(e), { elevationClasses: s } = Tt(e), { themeClasses: r } = $e(e), { t: i } = it(), u = m(() => Wl(Ie(e.type).join(","))); + const { backgroundColorClasses: l, backgroundColorStyles: a } = ot(q(e, "color")), { dimensionStyles: o } = xt(e), { elevationClasses: s } = Dt(e), { themeClasses: r } = $e(e), { t: i } = it(), u = m(() => Wl(Ie(e.type).join(","))); return ue(() => { var f; const v = !t.default || e.loading; - return d("div", { class: ["v-skeleton-loader", { "v-skeleton-loader--boilerplate": e.boilerplate }, r.value, l.value, s.value], style: [a.value, v ? o.value : {}], "aria-busy": e.boilerplate ? void 0 : v, "aria-live": e.boilerplate ? void 0 : "polite", "aria-label": e.boilerplate ? void 0 : i(e.loadingText), role: e.boilerplate ? void 0 : "alert" }, [v ? u.value : (f = t.default) == null ? void 0 : f.call(t)]); + return c("div", { class: ["v-skeleton-loader", { "v-skeleton-loader--boilerplate": e.boilerplate }, r.value, l.value, s.value], style: [a.value, v ? o.value : {}], "aria-busy": e.boilerplate ? void 0 : v, "aria-live": e.boilerplate ? void 0 : "polite", "aria-label": e.boilerplate ? void 0 : i(e.loadingText), role: e.boilerplate ? void 0 : "alert" }, [v ? u.value : (f = t.default) == null ? void 0 : f.call(t)]); }), {}; -} }), Vl = { background: "--v-theme-surface", border: "transparent", color: "--v-theme-on-surface" }, es = { colorPercentageChange: 15, colorPercentageDirection: "desc", colors: () => ({ default: Vl, footer: { background: void 0, color: void 0 }, header: { background: void 0, color: void 0 }, percentageChange: 15, percentageDirection: "desc" }), columnWidths: () => [], defaultColors: () => Vl, density: "default", drilldownKey: "id", elevation: 0, expandOnClick: !1, filterKeys: void 0, footerBackgroundColor: void 0, footerColor: void 0, footers: () => [], headerBackgroundColor: void 0, headerColor: void 0, height: "auto", hideNoData: !1, hover: !1, isDrilldown: !1, itemChildrenKey: "child", itemSelectable: void 0, itemValue: "id", items: () => [], itemsLength: 0, itemsPerPage: 10, level: 1, levels: 1, loaderProps: () => ({ circular: { bgColor: "theme-surface", color: "primary", indeterminate: !0 }, linear: { color: "surface-variant", height: "2px", indeterminate: !0 }, skelton: { type: "heading@1" }, text: { color: "surface-variant" } }), loaderType: "linear", loading: !1, loadingText: "$vuetify.dataIterator.loadingText", matchColumnWidths: !1, noDataText: "$vuetify.noDataText", noFilter: !1, page: 1, returnObject: !0, search: "", searchContainerCols: () => ({ lg: 3, md: 6, sm: 12, xl: 3, xs: 12, xxl: 2 }), searchDebounce: 0, searchMaxWait: 1e3, searchProps: () => ({}), selectStrategy: "page", separator: "default", server: !1, showDrilldownWhenLoading: !0, showExpand: !1, showFooterRow: !1, showSearch: !1, showSelect: !1, sortAscIcon: "$sortAsc", sortBy: () => [], tableType: () => ({}) }, Mu = rt({ __name: "BottomSlot", props: { slotProps: {} }, setup: (e) => (n, t) => be(n.$slots, "bottom") }), ce = "v-drilldown-table"; -function Ga(e, n, t = "") { +} }), Vl = { background: "--v-theme-surface", border: "transparent", color: "--v-theme-on-surface" }, ts = { colorPercentageChange: 15, colorPercentageDirection: "desc", colors: () => ({ default: Vl, footer: { background: void 0, color: void 0 }, header: { background: void 0, color: void 0 }, percentageChange: 15, percentageDirection: "desc" }), columnWidths: () => [], defaultColors: () => Vl, density: "default", drilldownKey: "id", elevation: 0, expandOnClick: !1, filterKeys: void 0, footerBackgroundColor: void 0, footerColor: void 0, footers: () => [], headerBackgroundColor: void 0, headerColor: void 0, height: "auto", hideNoData: !1, hover: !1, isDrilldown: !1, itemChildrenKey: "child", itemSelectable: void 0, itemValue: "id", items: () => [], itemsLength: 0, itemsPerPage: 10, level: 1, levels: 1, loaderProps: () => ({ circular: { bgColor: "theme-surface", color: "primary", indeterminate: !0 }, linear: { color: "surface-variant", height: "2px", indeterminate: !0 }, skelton: { type: "heading@1" }, text: { color: "surface-variant" } }), loaderType: "linear", loading: !1, loadingText: "$vuetify.dataIterator.loadingText", matchColumnWidths: !1, noDataText: "$vuetify.noDataText", noFilter: !1, page: 1, returnObject: !0, search: "", searchContainerCols: () => ({ lg: 3, md: 6, sm: 12, xl: 3, xs: 12, xxl: 2 }), searchDebounce: 0, searchMaxWait: 1e3, searchProps: () => ({}), selectStrategy: "page", separator: "default", server: !1, showDrilldownWhenLoading: !0, showExpand: !1, showFooterRow: !1, showSearch: !1, showSelect: !1, sortAscIcon: "$sortAsc", sortBy: () => [], tableType: () => ({}) }, Nu = rt({ __name: "BottomSlot", props: { slotProps: {} }, setup: (e) => (n, t) => be(n.$slots, "bottom") }), ce = "v-drilldown-table"; +function Ha(e, n, t = "") { let l = e; const a = n.length - 1; if (a < 0) @@ -3625,16 +3643,16 @@ function Ru(e, n, t = "") { if (typeof n == "string") return function(a, o, s = "") { let r = o; - return a != null && r && typeof r == "string" ? a[r] !== void 0 ? a[r] : (r = r.replace(/\[(\w+)\]/g, ".$1"), r = r.replace(/^\./, ""), Ga(a, r.split("."), s)) : s; + return a != null && r && typeof r == "string" ? a[r] !== void 0 ? a[r] : (r = r.replace(/\[(\w+)\]/g, ".$1"), r = r.replace(/^\./, ""), Ha(a, r.split("."), s)) : s; }(e, n, t); if (Array.isArray(n)) - return Ga(e, n, t); + return Ha(e, n, t); if (typeof n != "function") return t; const l = n(e, t); return l === void 0 ? t : l; } -const Ha = (e) => { +const Ka = (e) => { const { id: n, sortBy: t } = e; if (t) { const l = t.find((a) => a.key === n); @@ -3646,7 +3664,7 @@ const Ha = (e) => { if (n != null && n !== "") return +n ? `${Number(n)}${t}` : String(n); }; -function ts(e) { +function ls(e) { const n = e.title, t = [n, e]; return e.renderer ? e.renderer(...t) : e.renderHeader ? e.renderHeader(...t) : e.renderFooter ? e.renderFooter(...t) : n || ""; } @@ -3662,46 +3680,46 @@ function Wt(e, ...n) { Ql(t[l]) ? (e[l] || Object.assign(e, { [l]: {} }), Wt(e[l], t[l])) : Object.assign(e, { [l]: t[l] }); return Wt(e, ...n); } -const ls = (e) => { +const ns = (e) => { const { align: n } = e; return { "d-flex align-center": !0, [`justify-${n}`]: n || !1, "justify-start": !n }; -}, ns = (e) => { +}, as = (e) => { const { level: n } = e; return { "d-flex": !0, [`${ce}--header-select-all-checkbox`]: !0, [`${ce}--header-select-all-checkbox-${n}`]: !0 }; }; -function as(e) { +function os(e) { return e === "transparent" || e === "none" || e === "inherit" || e === "currentColor" || e === "initial" || e === "unset"; } -function os(e) { +function rs(e) { return e.includes("--v-theme"); } -const rs = (e, n) => { - if (as(e)) - return e; +const ss = (e, n) => { if (os(e)) + return e; + if (rs(e)) return `rgb(var(${e}))`; const t = function(l, a) { const o = a.global.current.value.colors; return Object.entries(o).find(([s]) => s === l); }(e, n); return t ? `hsl(${Il(t[1])})` : `hsl(${Il(e)})`; -}, Nu = (e) => { +}, ju = (e) => { const { colors: n, level: t, prop: l = "default", theme: a, type: o } = e, s = { ...n[l] }, r = n == null ? void 0 : n.percentageDirection; if (s === void 0) throw new Error(`[VDrilldownTable]: The color option '${l}' does not exist`); let i = ((u, v, f) => { - let p = 100, c = (u == null ? void 0 : u.percentageChange) ?? 0; - return isNaN(c) && (p = 100), c *= v, f !== "desc" && f !== "descending" || (p = 100 - c), f !== "asc" && f !== "ascending" || (p = 0 + c), p < 0 && (p = 0), p > 100 && (p = 100), isNaN(p) && (p = 100), v === 0 && (p = 100), p; + let p = 100, d = (u == null ? void 0 : u.percentageChange) ?? 0; + return isNaN(d) && (p = 100), d *= v, f !== "desc" && f !== "descending" || (p = 100 - d), f !== "asc" && f !== "ascending" || (p = 0 + d), p < 0 && (p = 0), p > 100 && (p = 100), isNaN(p) && (p = 100), v === 0 && (p = 100), p; })(n, t - 1, r); return o || Object.entries(s).forEach(([u, v]) => { let f = a.global.current.value.colors[v] ?? v; - if (f || (f = n.default[u] ?? "transparent", f = rs(f, a)), as(f)) + if (f || (f = n.default[u] ?? "transparent", f = ss(f, a)), os(f)) return void (s[u] = f); - if ((u === "color" || t === 0 && r === "asc") && (i = 100), os(f)) + if ((u === "color" || t === 0 && r === "asc") && (i = 100), rs(f)) return void (s[u] = `rgb(var(${f}))`); - const p = `/ ${i}%`, c = Il(f); - if (c.includes("/")) - return s[u] = `hsl(${c})`; + const p = `/ ${i}%`, d = Il(f); + if (d.includes("/")) + return s[u] = `hsl(${d})`; s[u] = `hsl(${Il(f)} ${p})`; }), s; }; @@ -3709,16 +3727,16 @@ function Il(e) { let n = function(v) { const f = { AliceBlue: "#F0F8FF", AntiqueWhite: "#FAEBD7", Aqua: "#00FFFF", Aquamarine: "#7FFFD4", Azure: "#F0FFFF", Beige: "#F5F5DC", Bisque: "#FFE4C4", Black: "#000000", BlanchedAlmond: "#FFEBCD", Blue: "#0000FF", BlueViolet: "#8A2BE2", Brown: "#A52A2A", BurlyWood: "#DEB887", CadetBlue: "#5F9EA0", Chartreuse: "#7FFF00", Chocolate: "#D2691E", Coral: "#FF7F50", CornflowerBlue: "#6495ED", Cornsilk: "#FFF8DC", Crimson: "#DC143C", Cyan: "#00FFFF", DarkBlue: "#00008B", DarkCyan: "#008B8B", DarkGoldenRod: "#B8860B", DarkGray: "#A9A9A9", DarkGreen: "#006400", DarkGrey: "#A9A9A9", DarkKhaki: "#BDB76B", DarkMagenta: "#8B008B", DarkOliveGreen: "#556B2F", DarkOrange: "#FF8C00", DarkOrchid: "#9932CC", DarkRed: "#8B0000", DarkSalmon: "#E9967A", DarkSeaGreen: "#8FBC8F", DarkSlateBlue: "#483D8B", DarkSlateGray: "#2F4F4F", DarkSlateGrey: "#2F4F4F", DarkTurquoise: "#00CED1", DarkViolet: "#9400D3", DeepPink: "#FF1493", DeepSkyBlue: "#00BFFF", DimGray: "#696969", DimGrey: "#696969", DodgerBlue: "#1E90FF", FireBrick: "#B22222", FloralWhite: "#FFFAF0", ForestGreen: "#228B22", Fuchsia: "#FF00FF", Gainsboro: "#DCDCDC", GhostWhite: "#F8F8FF", Gold: "#FFD700", GoldenRod: "#DAA520", Gray: "#808080", Green: "#008000", GreenYellow: "#ADFF2F", Grey: "#808080", HoneyDew: "#F0FFF0", HotPink: "#FF69B4", IndianRed: "#CD5C5C", Indigo: "#4B0082", Ivory: "#FFFFF0", Khaki: "#F0E68C", Lavender: "#E6E6FA", LavenderBlush: "#FFF0F5", LawnGreen: "#7CFC00", LemonChiffon: "#FFFACD", LightBlue: "#ADD8E6", LightCoral: "#F08080", LightCyan: "#E0FFFF", LightGoldenRodYellow: "#FAFAD2", LightGray: "#D3D3D3", LightGreen: "#90EE90", LightGrey: "#D3D3D3", LightPink: "#FFB6C1", LightSalmon: "#FFA07A", LightSeaGreen: "#20B2AA", LightSkyBlue: "#87CEFA", LightSlateGray: "#778899", LightSlateGrey: "#778899", LightSteelBlue: "#B0C4DE", LightYellow: "#FFFFE0", Lime: "#00FF00", LimeGreen: "#32CD32", Linen: "#FAF0E6", Magenta: "#FF00FF", Maroon: "#800000", MediumAquaMarine: "#66CDAA", MediumBlue: "#0000CD", MediumOrchid: "#BA55D3", MediumPurple: "#9370DB", MediumSeaGreen: "#3CB371", MediumSlateBlue: "#7B68EE", MediumSpringGreen: "#00FA9A", MediumTurquoise: "#48D1CC", MediumVioletRed: "#C71585", MidnightBlue: "#191970", MintCream: "#F5FFFA", MistyRose: "#FFE4E1", Moccasin: "#FFE4B5", NavajoWhite: "#FFDEAD", Navy: "#000080", OldLace: "#FDF5E6", Olive: "#808000", OliveDrab: "#6B8E23", Orange: "#FFA500", OrangeRed: "#FF4500", Orchid: "#DA70D6", PaleGoldenRod: "#EEE8AA", PaleGreen: "#98FB98", PaleTurquoise: "#AFEEEE", PaleVioletRed: "#DB7093", PapayaWhip: "#FFEFD5", PeachPuff: "#FFDAB9", Peru: "#CD853F", Pink: "#FFC0CB", Plum: "#DDA0DD", PowderBlue: "#B0E0E6", Purple: "#800080", RebeccaPurple: "#663399", Red: "#FF0000", RosyBrown: "#BC8F8F", RoyalBlue: "#4169E1", SaddleBrown: "#8B4513", Salmon: "#FA8072", SandyBrown: "#F4A460", SeaGreen: "#2E8B57", SeaShell: "#FFF5EE", Sienna: "#A0522D", Silver: "#C0C0C0", SkyBlue: "#87CEEB", SlateBlue: "#6A5ACD", SlateGray: "#708090", SlateGrey: "#708090", Snow: "#FFFAFA", SpringGreen: "#00FF7F", SteelBlue: "#4682B4", Tan: "#D2B48C", Teal: "#008080", Thistle: "#D8BFD8", Tomato: "#FF6347", Turquoise: "#40E0D0", Violet: "#EE82EE", Wheat: "#F5DEB3", White: "#FFFFFF", WhiteSmoke: "#F5F5F5", Yellow: "#FFFF00", YellowGreen: "#9ACD32" }; let p = v; - return Object.entries(f).forEach(([c, h]) => { - v.toLowerCase() != c.toLowerCase() || (p = h); + return Object.entries(f).forEach(([d, h]) => { + v.toLowerCase() != d.toLowerCase() || (p = h); }), p; }(e), t = 0, l = 0, a = 0, o = 0, s = 0, r = 0; if (n.substring(0, 1) === "#") n = function(v) { let f = v.replace("#", ""); f.length === 3 && (f = f.split("").map((y) => y + y).join("")); - const p = parseInt(f.substring(0, 2), 16), c = parseInt(f.substring(2, 4), 16), h = parseInt(f.substring(4, 6), 16); - return [p, c, h]; + const p = parseInt(f.substring(0, 2), 16), d = parseInt(f.substring(2, 4), 16), h = parseInt(f.substring(4, 6), 16); + return [p, d, h]; }(n); else if (n.includes("rgb")) n = [...n.matchAll(/\d+/g)].map(Number); @@ -3748,14 +3766,14 @@ function Il(e) { } return t = Math.round(360 * t), l = Math.round(100 * l), a = Math.round(100 * a), `${t} ${l}% ${a}%`; } -const Nn = (e) => { +const Rn = (e) => { const { colors: n, level: t, prop: l = "default", themeColors: a, type: o = null } = e; if (typeof n != "object" || n == null) return {}; - const s = Nu({ colors: n, level: t, prop: l, theme: a, type: o }); + const s = ju({ colors: n, level: t, prop: l, theme: a, type: o }); return o ? s[o] : s; -}, ju = ["colspan"], Wu = rt({ __name: "TableLoader", props: { colors: {}, colspan: {}, height: { default: 2 }, level: {}, loaderType: { type: [String, Array, Boolean, null], default: "linear" }, loading: {}, loaderProps: {}, loadingText: { default: "Loading..." }, size: { default: "default" }, textLoader: { type: Boolean, default: !0 } }, setup(e) { - const n = Dl(), t = e, l = m(() => ((x) => { +}, Wu = ["colspan"], zu = rt({ __name: "TableLoader", props: { colors: {}, colspan: {}, height: { default: 2 }, level: {}, loaderType: { type: [String, Array, Boolean, null], default: "linear" }, loading: {}, loaderProps: {}, loadingText: { default: "Loading..." }, size: { default: "default" }, textLoader: { type: Boolean, default: !0 } }, setup(e) { + const n = Tl(), t = e, l = m(() => ((x) => { const { isLinearOnly: A, loaderHeight: F } = x; let C = { height: 0, minHeight: 0 }; return b(A) && (C = { height: lt({ str: b(F) }), minHeight: lt({ str: b(F) }) }), C; @@ -3785,10 +3803,10 @@ const Nn = (e) => { }), f = m(() => { var x; return ((x = t.loaderProps) == null ? void 0 : x.skelton) ?? {}; - }), p = m(() => t.loading), c = m(() => { + }), p = m(() => t.loading), d = m(() => { var A, F; let x = ((F = (A = t.loaderProps) == null ? void 0 : A.text) == null ? void 0 : F.color) ?? "surface-variant"; - return x = rs(x, n), { color: x }; + return x = ss(x, n), { color: x }; }), h = m(() => t.loadingText || "Loading..."), y = (x) => { const A = t.loaderType; return Array.isArray(A) ? A.indexOf(x) : 1; @@ -3796,71 +3814,71 @@ const Nn = (e) => { const A = t.loaderType; return x === t.loaderType || !!Array.isArray(A) && A.includes(x); }; - return (x, A) => (ne(), ye("tr", { class: ge(b(o)), style: De(b(l)) }, [Ke("td", { class: "px-0 ma-0", colspan: x.colspan, style: De(b(a)) }, [x.loading ? (ne(), we(Qr, { key: 0, class: ge(b(s)), "no-gutters": "" }, { default: fe(() => [S("linear") ? (ne(), we(At, { key: 0, class: "pa-0 ma-0", order: y("linear") }, { default: fe(() => [d(Vo, _e(We(b(r))), null, 16)]), _: 1 }, 8, ["order"])) : Ce("", !0), S("circular") ? (ne(), we(At, { key: 1, class: "pa-0 my-2", order: y("circular") }, { default: fe(() => [d(_o, _e(We(b(v))), null, 16)]), _: 1 }, 8, ["order"])) : Ce("", !0), S("skelton") ? (ne(), we(At, { key: 2, class: "pa-0 ma-0", order: y("skelton") }, { default: fe(() => [d(Ou, te(b(f), { loading: b(p) }), null, 16, ["loading"])]), _: 1 }, 8, ["order"])) : Ce("", !0), S("text") ? (ne(), we(At, { key: 3, class: "my-2", order: y("text"), style: De(b(c)) }, { default: fe(() => [pl(Ja(b(h)), 1)]), _: 1 }, 8, ["order", "style"])) : Ce("", !0)]), _: 1 }, 8, ["class"])) : Ce("", !0)], 12, ju)], 6)); + return (x, A) => (ne(), ye("tr", { class: ge(b(o)), style: Te(b(l)) }, [Ke("td", { class: "px-0 ma-0", colspan: x.colspan, style: Te(b(a)) }, [x.loading ? (ne(), we(es, { key: 0, class: ge(b(s)), "no-gutters": "" }, { default: fe(() => [S("linear") ? (ne(), we(At, { key: 0, class: "pa-0 ma-0", order: y("linear") }, { default: fe(() => [c(Io, _e(We(b(r))), null, 16)]), _: 1 }, 8, ["order"])) : Ce("", !0), S("circular") ? (ne(), we(At, { key: 1, class: "pa-0 my-2", order: y("circular") }, { default: fe(() => [c(Fo, _e(We(b(v))), null, 16)]), _: 1 }, 8, ["order"])) : Ce("", !0), S("skelton") ? (ne(), we(At, { key: 2, class: "pa-0 ma-0", order: y("skelton") }, { default: fe(() => [c(Mu, ee(b(f), { loading: b(p) }), null, 16, ["loading"])]), _: 1 }, 8, ["order"])) : Ce("", !0), S("text") ? (ne(), we(At, { key: 3, class: "my-2", order: y("text"), style: Te(b(d)) }, { default: fe(() => [vl(Za(b(h)), 1)]), _: 1 }, 8, ["order", "style"])) : Ce("", !0)]), _: 1 }, 8, ["class"])) : Ce("", !0)], 12, Wu)], 6)); } }), jn = (e, n) => { const t = e.__vccOpts || e; for (const [l, a] of n) t[l] = a; return t; -}, zu = jn(Wu, [["__scopeId", "data-v-b954d026"]]), Gu = ["colspan"], Hu = ["colspan", "innerHTML"], Ku = ["colspan"], qu = ["colspan", "innerHTML"], Uu = ["colspan", "onClick"], Yu = ["innerHTML"], Xu = rt({ __name: "HeadersSlot", props: { colorPercentageChange: {}, colorPercentageDirection: {}, colors: {}, columnWidths: {}, headerBackgroundColor: {}, headerColor: {}, isTheadSlot: { type: Boolean, default: !1 }, items: {}, loaderProps: {}, loaderSettings: {}, matchColumnWidths: { type: Boolean }, selectStrategy: {}, slotProps: {}, sortAscIcon: {}, tableModelValue: {}, density: {}, level: {}, showSelect: { default: !1 }, sortBy: {} }, emits: ["click:selectAll"], setup(e, { emit: n }) { - const t = Xt(), l = n, a = e, o = J(), s = Se(Symbol.for("vuetify:icons")), r = J(!1), i = J(a.items), u = J(a.matchColumnWidths), v = J(a.columnWidths || []), f = J(a.sortAscIcon), p = m(() => a.tableModelValue), c = Dl(), h = m(() => function() { - const k = a.slotProps.columns; +}, Gu = jn(zu, [["__scopeId", "data-v-b954d026"]]), Hu = ["colspan"], Ku = ["colspan", "innerHTML"], qu = ["colspan"], Uu = ["colspan", "innerHTML"], Yu = ["colspan", "onClick"], Xu = ["innerHTML"], Ju = rt({ __name: "HeadersSlot", props: { colorPercentageChange: {}, colorPercentageDirection: {}, colors: {}, columnWidths: {}, headerBackgroundColor: {}, headerColor: {}, isTheadSlot: { type: Boolean, default: !1 }, items: {}, loaderProps: {}, loaderSettings: {}, matchColumnWidths: { type: Boolean }, selectStrategy: {}, slotProps: {}, sortAscIcon: {}, tableModelValue: {}, density: {}, level: {}, showSelect: { default: !1 }, sortBy: {} }, emits: ["click:selectAll"], setup(e, { emit: n }) { + const t = Jt(), l = n, a = e, o = J(), s = Se(Symbol.for("vuetify:icons")), r = J(!1), i = J(a.items), u = J(a.matchColumnWidths), v = J(a.columnWidths || []), f = J(a.sortAscIcon), p = m(() => a.tableModelValue), d = Tl(), h = m(() => function() { + const w = a.slotProps.columns; if (a.level <= 1 || !u.value) - return k; + return w; if (v.value.length === 0) throw new Error("VDrilldownTable (matchColumnWidths): There was an issue getting the parent tables widths."); - return Object.entries(k).forEach(([P]) => { - Object.keys(k).length !== parseInt(P) + 1 && k[P].width === void 0 && (k[P].width = v.value[parseInt(P)]); - }), k; + return Object.entries(w).forEach(([P]) => { + Object.keys(w).length !== parseInt(P) + 1 && w[P].width === void 0 && (w[P].width = v.value[parseInt(P)]); + }), w; }()); - oe(() => a.items, (k) => { - i.value = k, o.value = (k == null ? void 0 : k.filter((P) => P.selectable)) ?? [], o.value = k == null ? void 0 : k.filter((P) => P.selectable !== !1); + ae(() => a.items, (w) => { + i.value = w, o.value = (w == null ? void 0 : w.filter((P) => P.selectable)) ?? [], o.value = w == null ? void 0 : w.filter((P) => P.selectable !== !1); }); - const y = m(() => ((k) => { - const { level: P } = k; + const y = m(() => ((w) => { + const { level: P } = w; return { [`${ce}--header-row`]: !0, [`${ce}--header-row-${P}`]: !0 }; - })({ level: a.level })), S = (k, P = "") => (($) => { - const { column: D, level: O, slotName: T = "" } = $; - return { [`${ce}--header-row-th`]: !0, [`${ce}--header-row-th-${T}`]: T !== "", [`${ce}--header-row-th-${T}-${O}`]: T !== "", [`${ce}--header-row-th-${O}`]: !0, [`${ce}--header-row-th-sortable`]: D.sortable || !1, [`${ce}--header-row-th-sortable-default-color`]: D.sortable || !1, [`${D.cellClass}`]: D.cellClass || !1 }; - })({ column: k, level: a.level, slotName: P }), x = m(() => { - const k = a.colors; - return k && (k.header = { background: a.headerBackgroundColor, color: a.headerColor }, k.percentageChange = a.colorPercentageChange, k.percentageDirection = a.colorPercentageDirection), k; - }), A = (k, P = !1) => (($) => { - const { colors: D, column: O, dataTableExpand: T = !1, level: M, theme: H } = $, I = { minWidth: O.width ? lt({ str: O.width }) : "auto", width: O.width ? lt({ str: O.width }) : "auto" }; - T && !O.width && (I.width = O.width ? lt({ str: O.width }) : "56px", I.minWidth = O.width ? lt({ str: O.width }) : "56px"); - const N = Nn({ colors: D, level: M, prop: "header", themeColors: H }); - return I.backgroundColor = N.background, I.color = N.color, I; - })({ colors: x.value, column: k, dataTableExpand: P, level: a.level, theme: c }), F = (k) => { - const P = A(k); + })({ level: a.level })), S = (w, P = "") => (($) => { + const { column: D, level: M, slotName: T = "" } = $; + return { [`${ce}--header-row-th`]: !0, [`${ce}--header-row-th-${T}`]: T !== "", [`${ce}--header-row-th-${T}-${M}`]: T !== "", [`${ce}--header-row-th-${M}`]: !0, [`${ce}--header-row-th-sortable`]: D.sortable || !1, [`${ce}--header-row-th-sortable-default-color`]: D.sortable || !1, [`${D.cellClass}`]: D.cellClass || !1 }; + })({ column: w, level: a.level, slotName: P }), x = m(() => { + const w = a.colors; + return w && (w.header = { background: a.headerBackgroundColor, color: a.headerColor }, w.percentageChange = a.colorPercentageChange, w.percentageDirection = a.colorPercentageDirection), w; + }), A = (w, P = !1) => (($) => { + const { colors: D, column: M, dataTableExpand: T = !1, level: N, theme: K } = $, I = { minWidth: M.width ? lt({ str: M.width }) : "auto", width: M.width ? lt({ str: M.width }) : "auto" }; + T && !M.width && (I.width = M.width ? lt({ str: M.width }) : "56px", I.minWidth = M.width ? lt({ str: M.width }) : "56px"); + const R = Rn({ colors: D, level: N, prop: "header", themeColors: K }); + return I.backgroundColor = R.background, I.color = R.color, I; + })({ colors: x.value, column: w, dataTableExpand: P, level: a.level, theme: d }), F = (w) => { + const P = A(w); return a.headerColor === void 0 ? {} : { color: P.color }; }, C = m(() => { - var k; - return !a.slotProps.allSelected && ((k = p == null ? void 0 : p.value) == null ? void 0 : k.length) !== 0; + var w; + return !a.slotProps.allSelected && ((w = p == null ? void 0 : p.value) == null ? void 0 : w.length) !== 0; }); function B() { r.value = !r.value, a.slotProps.selectAll(r.value), l("click:selectAll", r.value); } - oe(() => a.slotProps.allSelected, (k) => { - r.value = k; - }), oe(() => a.slotProps.someSelected, () => { + ae(() => a.slotProps.allSelected, (w) => { + r.value = w; + }), ae(() => a.slotProps.someSelected, () => { if (a.slotProps.allSelected) return !1; }); - const _ = m(() => ns({ level: a.level })), V = (k) => ((P) => { - const { iconOptions: $, key: D, level: O, sortBy: T } = P; - return { "fa-fw": ($ == null ? void 0 : $.defaultSet) === "fa", "mx-1": !0, [`${ce}--header-row-th-sortable-sort-icon`]: !0, [`${ce}--header-row-th-sortable-sort-icon-${O}`]: !0, [`${ce}--header-row-th-sortable-sort-icon-desc`]: Ha({ id: D, sortBy: T }) === "desc", [`${ce}--header-row-th-sortable-sort-icon-asc`]: Ha({ id: D, sortBy: T }) === "asc" }; - })({ iconOptions: s, key: k, level: a.level, sortBy: a.sortBy }), g = m(() => (s == null ? void 0 : s.defaultSet) === "fa" ? "small" : (f.value = (a == null ? void 0 : a.sortAscIcon) ?? "$sortAsc", "default")); - function w(k) { - return ts(k); + const _ = m(() => as({ level: a.level })), V = (w) => ((P) => { + const { iconOptions: $, key: D, level: M, sortBy: T } = P; + return { "fa-fw": ($ == null ? void 0 : $.defaultSet) === "fa", "mx-1": !0, [`${ce}--header-row-th-sortable-sort-icon`]: !0, [`${ce}--header-row-th-sortable-sort-icon-${M}`]: !0, [`${ce}--header-row-th-sortable-sort-icon-desc`]: Ka({ id: D, sortBy: T }) === "desc", [`${ce}--header-row-th-sortable-sort-icon-asc`]: Ka({ id: D, sortBy: T }) === "asc" }; + })({ iconOptions: s, key: w, level: a.level, sortBy: a.sortBy }), g = m(() => (s == null ? void 0 : s.defaultSet) === "fa" ? "small" : (f.value = (a == null ? void 0 : a.sortAscIcon) ?? "$sortAsc", "default")); + function k(w) { + return ls(w); } - return (k, P) => (ne(), ye(pe, null, [Ke("tr", { class: ge(b(y)) }, [(ne(!0), ye(pe, null, He(b(h), ($) => { - return ne(), ye(pe, { key: $ }, [b(t)[`column.${$.key}`] || b(t)[`header.${$.key}`] ? (ne(), ye("th", { key: 0, class: ge(S($, $.key)), colspan: $.colspan || 1, style: De(A($, !0)) }, [be(k.$slots, `header.${$.key}`, { column: $ }, void 0, !0)], 14, Gu)) : $.key === "data-table-group" || $.key === "data-table-group" ? (ne(), ye("th", { key: 1, class: ge(S($, "header-data-table-group")), colspan: $.colspan || 1, style: De(A($, !0)), innerHTML: w($) }, null, 14, Hu)) : $.key === "data-table-select" || $.key === "data-table-select" && k.showSelect ? (ne(), ye("th", { key: 2, class: ge(S($, "header-data-table-select")), colspan: $.colspan || 1, style: De(A($, !0)) }, [k.selectStrategy !== "single" ? (ne(), we(In, { key: 0, class: ge(b(_)), density: k.density, focused: !1, indeterminate: b(C), "model-value": b(r), "onUpdate:modelValue": B }, null, 8, ["class", "density", "indeterminate", "model-value"])) : Ce("", !0)], 14, Ku)) : $.key === "data-table-expand" ? (ne(), ye("th", { key: 3, class: ge(S($, "data-table-expand")), colspan: $.colspan || 1, style: De(A($, !0)), innerHTML: w($) }, null, 14, qu)) : (ne(), ye("th", { key: 4, class: ge(S($)), colspan: $.colspan || 1, style: De(A($)), onClick: (O) => function(T) { + return (w, P) => (ne(), ye(pe, null, [Ke("tr", { class: ge(b(y)) }, [(ne(!0), ye(pe, null, He(b(h), ($) => { + return ne(), ye(pe, { key: $ }, [b(t)[`column.${$.key}`] || b(t)[`header.${$.key}`] ? (ne(), ye("th", { key: 0, class: ge(S($, $.key)), colspan: $.colspan || 1, style: Te(A($, !0)) }, [be(w.$slots, `header.${$.key}`, { column: $ }, void 0, !0)], 14, Hu)) : $.key === "data-table-group" || $.key === "data-table-group" ? (ne(), ye("th", { key: 1, class: ge(S($, "header-data-table-group")), colspan: $.colspan || 1, style: Te(A($, !0)), innerHTML: k($) }, null, 14, Ku)) : $.key === "data-table-select" || $.key === "data-table-select" && w.showSelect ? (ne(), ye("th", { key: 2, class: ge(S($, "header-data-table-select")), colspan: $.colspan || 1, style: Te(A($, !0)) }, [w.selectStrategy !== "single" ? (ne(), we(In, { key: 0, class: ge(b(_)), density: w.density, focused: !1, indeterminate: b(C), "model-value": b(r), "onUpdate:modelValue": B }, null, 8, ["class", "density", "indeterminate", "model-value"])) : Ce("", !0)], 14, qu)) : $.key === "data-table-expand" ? (ne(), ye("th", { key: 3, class: ge(S($, "data-table-expand")), colspan: $.colspan || 1, style: Te(A($, !0)), innerHTML: k($) }, null, 14, Uu)) : (ne(), ye("th", { key: 4, class: ge(S($)), colspan: $.colspan || 1, style: Te(A($)), onClick: (M) => function(T) { T.sortable && a.slotProps.toggleSort(T); - }($) }, [Ke("div", { class: ge((D = $.align, ls({ align: D }))), style: De(F($)) }, [Ke("span", { innerHTML: w($) }, null, 8, Yu), $.sortable && b(t)["header.sortIcon"] ? (ne(), ye("span", { key: 0, class: ge(V($.key)) }, [be(k.$slots, "header.sortIcon", {}, void 0, !0)], 2)) : $.sortable ? (ne(), we(Ae, { key: 1, class: ge(V($.key)), icon: b(f), size: b(g) }, null, 8, ["class", "icon", "size"])) : Ce("", !0)], 6)], 14, Uu))], 64); + }($) }, [Ke("div", { class: ge((D = $.align, ns({ align: D }))), style: Te(F($)) }, [Ke("span", { innerHTML: k($) }, null, 8, Xu), $.sortable && b(t)["header.sortIcon"] ? (ne(), ye("span", { key: 0, class: ge(V($.key)) }, [be(w.$slots, "header.sortIcon", {}, void 0, !0)], 2)) : $.sortable ? (ne(), we(Ae, { key: 1, class: ge(V($.key)), icon: b(f), size: b(g) }, null, 8, ["class", "icon", "size"])) : Ce("", !0)], 6)], 14, Yu))], 64); var D; - }), 128))], 2), k.loaderSettings.loaderType && !b(t).loading ? (ne(), we(b(zu), { key: 0, colors: k.colors, colspan: k.loaderSettings.colspan, height: k.loaderSettings.height, level: k.level, "loader-props": k.loaderProps, "loader-settings": k.loaderSettings, "loader-type": k.loaderSettings.loaderType, loading: k.loaderSettings.loading || !1, "loading-text": k.loaderSettings.loadingText, size: k.loaderSettings.size }, null, 8, ["colors", "colspan", "height", "level", "loader-props", "loader-settings", "loader-type", "loading", "loading-text", "size"])) : Ce("", !0)], 64)); -} }), Ju = jn(Xu, [["__scopeId", "data-v-315f818f"]]), Zu = ["colspan"], Qu = ["colspan"], ec = ["colspan"], tc = ["colspan"], lc = ["innerHTML"], nc = rt({ __name: "ItemSlot", props: { expandOnClick: {}, itemSelectable: {}, items: {}, levels: {}, showExpand: {}, slotProps: {}, density: {}, level: {}, showSelect: {} }, emits: ["click:row", "click:row:checkbox", "update:expanded"], setup(e, { emit: n }) { - const t = Xt(), l = n, a = e, o = Se(Symbol.for("vuetify:icons")), s = m(() => a.slotProps.columns), r = m(() => a.slotProps.index), i = m(() => a.slotProps.isExpanded), u = m(() => a.slotProps.item), v = m(() => a.slotProps.internalItem), f = m(() => a.slotProps.level), p = m(() => a.slotProps.toggleExpand), c = m(() => a.slotProps.toggleSelect), h = m(() => a.itemSelectable), y = m(() => ((C) => { + }), 128))], 2), w.loaderSettings.loaderType && !b(t).loading ? (ne(), we(b(Gu), { key: 0, colors: w.colors, colspan: w.loaderSettings.colspan, height: w.loaderSettings.height, level: w.level, "loader-props": w.loaderProps, "loader-settings": w.loaderSettings, "loader-type": w.loaderSettings.loaderType, loading: w.loaderSettings.loading || !1, "loading-text": w.loaderSettings.loadingText, size: w.loaderSettings.size }, null, 8, ["colors", "colspan", "height", "level", "loader-props", "loader-settings", "loader-type", "loading", "loading-text", "size"])) : Ce("", !0)], 64)); +} }), Zu = jn(Ju, [["__scopeId", "data-v-d18d56b2"]]), Qu = ["colspan"], ec = ["colspan"], tc = ["colspan"], lc = ["colspan"], nc = ["innerHTML"], ac = rt({ __name: "ItemSlot", props: { expandOnClick: {}, itemSelectable: {}, items: {}, levels: {}, showExpand: {}, slotProps: {}, density: {}, level: {}, showSelect: {} }, emits: ["click:row", "click:row:checkbox", "update:expanded"], setup(e, { emit: n }) { + const t = Jt(), l = n, a = e, o = Se(Symbol.for("vuetify:icons")), s = m(() => a.slotProps.columns), r = m(() => a.slotProps.index), i = m(() => a.slotProps.isExpanded), u = m(() => a.slotProps.item), v = m(() => a.slotProps.internalItem), f = m(() => a.slotProps.level), p = m(() => a.slotProps.toggleExpand), d = m(() => a.slotProps.toggleSelect), h = m(() => a.itemSelectable), y = m(() => ((C) => { const { expandOnClick: B, level: _, levels: V } = C; return { "v-data-table__tr": !0, "v-data-table__tr--clickable": B && _ < V, [`${ce}--body-row`]: !0, [`${ce}--body-row-${_}`]: !0 }; })({ expandOnClick: a.expandOnClick, level: a.level, levels: a.levels })), S = (C) => ((B) => { @@ -3887,13 +3905,13 @@ const Nn = (e) => { return V.renderItem ? V.renderItem(g, _, V) : g; }(C, B); } - return (C, B) => (ne(), ye("tr", { class: ge(b(y)), onClick: B[2] || (B[2] = (_) => x({ columns: b(s), index: b(r), isExpanded: b(i), isRow: !0, item: b(u), internalItem: b(v), level: b(f), toggleExpand: b(p), $event: _ })) }, [(ne(!0), ye(pe, null, He(b(s), (_) => (ne(), ye(pe, { key: _ }, [C.$slots[`item.${_.key}`] ? (ne(), ye("td", { key: 0, class: ge(S(_)), colspan: _.colspan || 1 }, [be(C.$slots, `item.${_.key}`, { columns: b(s), index: b(r), item: b(u) }, void 0, !0)], 10, Zu)) : _.key === "data-table-select" || _.key === "data-table-select" && a.showSelect ? (ne(), ye("td", { key: 1, class: ge(S(_)), colspan: _.colspan || 1 }, [b(t)["item.data-table-select"] ? be(C.$slots, "item.data-table-select", { key: 0 }, void 0, !0) : Ce("", !0), d(In, { class: "d-flex v-simple-checkbox", density: C.density, disabled: b(u).selectable === !1 && b(h) === "selectable", "model-value": C.slotProps.isSelected([b(v)]), onClick: B[0] || (B[0] = en((V) => function(g) { - const { internalItem: w, item: k, toggleSelect: P } = g; - P(w), l("click:row:checkbox", k); - }({ columns: b(s), index: b(r), internalItem: b(v), item: b(u), level: b(f), toggleSelect: b(c) }), ["stop"])) }, null, 8, ["density", "disabled", "model-value"])], 10, Qu)) : _.key === "data-table-expand" || _.key === "data-table-expand" && C.showExpand ? (ne(), ye("td", { key: 2, class: ge(S(_)), colspan: _.colspan || 1 }, [b(f) < C.levels ? (ne(), ye("div", { key: 0, class: ge(["v-drilldown-table--expand-icon", b(i)(b(v)) ? "rotate-180" : ""]), onClick: B[1] || (B[1] = (V) => x({ columns: b(s), index: b(r), isExpanded: b(i), item: b(u), internalItem: b(v), level: b(f), toggleExpand: b(p) })) }, [C.$slots["item.data-table-expand"] ? be(C.$slots, "item.data-table-expand", { key: 0 }, void 0, !0) : (ne(), we(Ae, { key: 1, icon: "$expand", size: b(A) }, null, 8, ["size"]))], 2)) : Ce("", !0)], 10, ec)) : (ne(), ye("td", { key: 3, class: ge(S(_)), colspan: _.colspan || 1 }, [Ke("span", { innerHTML: F(b(u), _) }, null, 8, lc)], 10, tc))], 64))), 128))], 2)); -} }), ac = jn(nc, [["__scopeId", "data-v-91892b42"]]), oc = ["colspan"], rc = ["colspan"], sc = ["colspan", "innerHTML"], ic = ["colspan", "innerHTML"], uc = ["colspan"], cc = ["innerHTML"], dc = rt({ __name: "TfootSlot", props: { colorPercentageChange: {}, colorPercentageDirection: {}, footerBackgroundColor: {}, footerColor: {}, footers: {}, items: {}, selectStrategy: {}, slotProps: {}, tableModelValue: {}, colors: {}, density: {}, level: {} }, emits: ["click:selectAll"], setup(e, { emit: n }) { - const t = Xt(), l = n, a = e, o = J(), s = Dl(), r = J(!1), i = J(a.items), u = m(() => a.tableModelValue), v = m(() => a.footers.length ? a.footers : a.slotProps.columns); - oe(() => a.items, (C) => { + return (C, B) => (ne(), ye("tr", { class: ge(b(y)), onClick: B[2] || (B[2] = (_) => x({ columns: b(s), index: b(r), isExpanded: b(i), isRow: !0, item: b(u), internalItem: b(v), level: b(f), toggleExpand: b(p), $event: _ })) }, [(ne(!0), ye(pe, null, He(b(s), (_) => (ne(), ye(pe, { key: _ }, [C.$slots[`item.${_.key}`] ? (ne(), ye("td", { key: 0, class: ge(S(_)), colspan: _.colspan || 1 }, [be(C.$slots, `item.${_.key}`, { columns: b(s), index: b(r), item: b(u) }, void 0, !0)], 10, Qu)) : _.key === "data-table-select" || _.key === "data-table-select" && a.showSelect ? (ne(), ye("td", { key: 1, class: ge(S(_)), colspan: _.colspan || 1 }, [b(t)["item.data-table-select"] ? be(C.$slots, "item.data-table-select", { key: 0 }, void 0, !0) : Ce("", !0), c(In, { class: "d-flex v-simple-checkbox", density: C.density, disabled: b(u).selectable === !1 && b(h) === "selectable", "model-value": C.slotProps.isSelected([b(v)]), onClick: B[0] || (B[0] = en((V) => function(g) { + const { internalItem: k, item: w, toggleSelect: P } = g; + P(k), l("click:row:checkbox", w); + }({ columns: b(s), index: b(r), internalItem: b(v), item: b(u), level: b(f), toggleSelect: b(d) }), ["stop"])) }, null, 8, ["density", "disabled", "model-value"])], 10, ec)) : _.key === "data-table-expand" || _.key === "data-table-expand" && C.showExpand ? (ne(), ye("td", { key: 2, class: ge(S(_)), colspan: _.colspan || 1 }, [b(f) < C.levels ? (ne(), ye("div", { key: 0, class: ge(["v-drilldown-table--expand-icon", b(i)(b(v)) ? "rotate-180" : ""]), onClick: B[1] || (B[1] = (V) => x({ columns: b(s), index: b(r), isExpanded: b(i), item: b(u), internalItem: b(v), level: b(f), toggleExpand: b(p) })) }, [C.$slots["item.data-table-expand"] ? be(C.$slots, "item.data-table-expand", { key: 0 }, void 0, !0) : (ne(), we(Ae, { key: 1, icon: "$expand", size: b(A) }, null, 8, ["size"]))], 2)) : Ce("", !0)], 10, tc)) : (ne(), ye("td", { key: 3, class: ge(S(_)), colspan: _.colspan || 1 }, [Ke("span", { innerHTML: F(b(u), _) }, null, 8, nc)], 10, lc))], 64))), 128))], 2)); +} }), oc = jn(ac, [["__scopeId", "data-v-91892b42"]]), rc = ["colspan"], sc = ["colspan"], ic = ["colspan", "innerHTML"], uc = ["colspan", "innerHTML"], cc = ["colspan"], dc = ["innerHTML"], pc = rt({ __name: "TfootSlot", props: { colorPercentageChange: {}, colorPercentageDirection: {}, footerBackgroundColor: {}, footerColor: {}, footers: {}, items: {}, selectStrategy: {}, slotProps: {}, tableModelValue: {}, colors: {}, density: {}, level: {} }, emits: ["click:selectAll"], setup(e, { emit: n }) { + const t = Jt(), l = n, a = e, o = J(), s = Tl(), r = J(!1), i = J(a.items), u = m(() => a.tableModelValue), v = m(() => a.footers.length ? a.footers : a.slotProps.columns); + ae(() => a.items, (C) => { i.value = C, o.value = (C == null ? void 0 : C.filter((B) => B.selectable)) ?? [], o.value = C == null ? void 0 : C.filter((B) => B.selectable !== !1); }); const f = m(() => ((C) => { @@ -3902,15 +3920,15 @@ const Nn = (e) => { })({ level: a.level })), p = m(() => ((C) => { const { level: B } = C; return { [`${ce}--tfoot-row`]: !0, [`${ce}--tfoot-row-${B}`]: !0 }; - })({ level: a.level })), c = (C, B = "") => ((_) => { - const { column: V, level: g, slotName: w = "" } = _; - return { [`${ce}--tfoot-row-td`]: !0, [`${ce}--tfoot-row-td-${w}`]: w !== "", [`${ce}--tfoot-row-td-${w}-${g}`]: w, [`${ce}--tfoot-row-td-${g}`]: !0, [`${V.cellClass}`]: V.cellClass || !1 }; + })({ level: a.level })), d = (C, B = "") => ((_) => { + const { column: V, level: g, slotName: k = "" } = _; + return { [`${ce}--tfoot-row-td`]: !0, [`${ce}--tfoot-row-td-${k}`]: k !== "", [`${ce}--tfoot-row-td-${k}-${g}`]: k, [`${ce}--tfoot-row-td-${g}`]: !0, [`${V.cellClass}`]: V.cellClass || !1 }; })({ column: C, level: a.level, slotName: B }), h = m(() => { const C = a.colors; return C && (C.footer = { background: a.footerBackgroundColor, color: a.footerColor }, C.percentageChange = a.colorPercentageChange, C.percentageDirection = a.colorPercentageDirection), C; }), y = m(() => ((C) => { - const { colors: B, elm: _, level: V, theme: g } = C, w = Nn({ colors: B, level: V, prop: _, themeColors: g }); - return { backgroundColor: w.background, color: w.color }; + const { colors: B, elm: _, level: V, theme: g } = C, k = Rn({ colors: B, level: V, prop: _, themeColors: g }); + return { backgroundColor: k.background, color: k.color }; })({ colors: h.value, elm: "footer", footerColor: a.footerColor, level: a.level, theme: s })), S = m(() => { var C; return !a.slotProps.allSelected && ((C = u == null ? void 0 : u.value) == null ? void 0 : C.length) !== 0; @@ -3918,55 +3936,55 @@ const Nn = (e) => { function x() { r.value = !r.value, a.slotProps.selectAll(r.value), l("click:selectAll", r.value); } - oe(() => a.slotProps.allSelected, (C) => { + ae(() => a.slotProps.allSelected, (C) => { r.value = C; - }), oe(() => a.slotProps.someSelected, () => { + }), ae(() => a.slotProps.someSelected, () => { if (a.slotProps.allSelected) return !1; }); - const A = m(() => ns({ level: a.level })); + const A = m(() => as({ level: a.level })); function F(C) { - return ts(C); + return ls(C); } return (C, B) => { var _; return (_ = b(v)) != null && _.length ? (ne(), ye("tfoot", { key: 0, class: ge(b(f)) }, [Ke("tr", { class: ge(b(p)) }, [(ne(!0), ye(pe, null, He(b(v), (V) => { - return ne(), ye(pe, { key: V }, [b(t)[`tfoot.${V.key}`] ? (ne(), ye("th", { key: 0, class: ge(c(V, V.key)), colspan: V.colspan || 1, style: De(b(y)) }, [be(C.$slots, `tfoot.${V.key}`, { column: V })], 14, oc)) : V.key === "data-table-select" ? (ne(), ye("th", { key: 1, class: ge(c(V, "tfoot-data-table-select")), colspan: V.colspan || 1, style: De(b(y)) }, [C.selectStrategy !== "single" ? (ne(), we(In, { key: 0, class: ge(b(A)), density: C.density, focused: !1, indeterminate: b(S), "model-value": b(r), "onUpdate:modelValue": x }, null, 8, ["class", "density", "indeterminate", "model-value"])) : Ce("", !0)], 14, rc)) : V.key === "data-table-expand" ? (ne(), ye("th", { key: 2, class: ge(c(V, "tfoot-data-table-expand")), colspan: V.colspan || 1, style: De(b(y)), innerHTML: F(V) }, null, 14, sc)) : V.renderFooterCell ? (ne(), ye("th", { key: 3, class: ge(c(V)), colspan: V.colspan || 1, style: De(b(y)), innerHTML: F(V) }, null, 14, ic)) : (ne(), ye("th", { key: 4, class: ge(c(V)), colspan: V.colspan || 1, style: De(b(y)) }, [Ke("div", { class: ge((g = V.align, ls({ align: g }))) }, [Ke("span", { innerHTML: F(V) }, null, 8, cc)], 2)], 14, uc))], 64); + return ne(), ye(pe, { key: V }, [b(t)[`tfoot.${V.key}`] ? (ne(), ye("th", { key: 0, class: ge(d(V, V.key)), colspan: V.colspan || 1, style: Te(b(y)) }, [be(C.$slots, `tfoot.${V.key}`, { column: V })], 14, rc)) : V.key === "data-table-select" ? (ne(), ye("th", { key: 1, class: ge(d(V, "tfoot-data-table-select")), colspan: V.colspan || 1, style: Te(b(y)) }, [C.selectStrategy !== "single" ? (ne(), we(In, { key: 0, class: ge(b(A)), density: C.density, focused: !1, indeterminate: b(S), "model-value": b(r), "onUpdate:modelValue": x }, null, 8, ["class", "density", "indeterminate", "model-value"])) : Ce("", !0)], 14, sc)) : V.key === "data-table-expand" ? (ne(), ye("th", { key: 2, class: ge(d(V, "tfoot-data-table-expand")), colspan: V.colspan || 1, style: Te(b(y)), innerHTML: F(V) }, null, 14, ic)) : V.renderFooterCell ? (ne(), ye("th", { key: 3, class: ge(d(V)), colspan: V.colspan || 1, style: Te(b(y)), innerHTML: F(V) }, null, 14, uc)) : (ne(), ye("th", { key: 4, class: ge(d(V)), colspan: V.colspan || 1, style: Te(b(y)) }, [Ke("div", { class: ge((g = V.align, ns({ align: g }))) }, [Ke("span", { innerHTML: F(V) }, null, 8, dc)], 2)], 14, cc))], 64); var g; }), 128))], 2)], 2)) : Ce("", !0); }; -} }), pc = rt({ __name: "TopSlot", props: { items: {}, level: {}, loading: {}, searchContainerCols: {}, searchProps: {}, showSearch: { type: Boolean }, slotProps: {} }, emits: ["click:selectAll", "update:search"], setup(e, { emit: n }) { - const t = Xt(), l = n, a = e, o = J(""), s = J(!0), r = m(() => a.items), i = m(() => ({ allSelected: a.slotProps.allSelected, columns: a.slotProps.columns, headers: a.slotProps.headers, items: r, itemsPerPage: a.slotProps.itemsPerPage, level: a.level, loading: a.loading, page: a.slotProps.page, pageCount: a.slotProps.pageCount, search: b(o), selectAll: u, setItemsPerPage: a.slotProps.setItemsPerPage, toggleSelectAll: v })); - function u(c) { - a.slotProps.selectAll(c), l("click:selectAll", c); +} }), vc = rt({ __name: "TopSlot", props: { items: {}, level: {}, loading: {}, searchContainerCols: {}, searchProps: {}, showSearch: { type: Boolean }, slotProps: {} }, emits: ["click:selectAll", "update:search"], setup(e, { emit: n }) { + const t = Jt(), l = n, a = e, o = J(""), s = J(!0), r = m(() => a.items), i = m(() => ({ allSelected: a.slotProps.allSelected, columns: a.slotProps.columns, headers: a.slotProps.headers, items: r, itemsPerPage: a.slotProps.itemsPerPage, level: a.level, loading: a.loading, page: a.slotProps.page, pageCount: a.slotProps.pageCount, search: b(o), selectAll: u, setItemsPerPage: a.slotProps.setItemsPerPage, toggleSelectAll: v })); + function u(d) { + a.slotProps.selectAll(d), l("click:selectAll", d); } function v() { a.slotProps.selectAll(!a.slotProps.allSelected), l("click:selectAll", !a.slotProps.allSelected); } ht(() => { - const c = document.querySelector(`[data-id="vdt-top-id-${a.level}"]`); - (c == null ? void 0 : c.children.length) === 0 && (s.value = !1); - }), oe(o, () => { + const d = document.querySelector(`[data-id="vdt-top-id-${a.level}"]`); + (d == null ? void 0 : d.children.length) === 0 && (s.value = !1); + }), ae(o, () => { l("update:search", o.value); }); const f = m(() => ({ density: "compact", hideDetails: !0, label: "Search", singleLine: !0, variant: "underlined", ...a.searchProps })), p = m(() => { - const c = a.searchContainerCols ?? es.searchContainerCols(); - return { [`${ce}--search-field`]: !0, [`v-col-${c.xs}`]: !0, [`v-col-sm-${c.sm}`]: !0, [`v-col-md-${c.md}`]: !0, [`v-col-lg-${c.lg}`]: !0, [`v-col-xl-${c.xl}`]: !0, [`v-col-xxl-${c.xxl}`]: !0 }; + const d = a.searchContainerCols ?? ts.searchContainerCols(); + return { [`${ce}--search-field`]: !0, [`v-col-${d.xs}`]: !0, [`v-col-sm-${d.sm}`]: !0, [`v-col-md-${d.md}`]: !0, [`v-col-lg-${d.lg}`]: !0, [`v-col-xl-${d.xl}`]: !0, [`v-col-xxl-${d.xxl}`]: !0 }; }); - return (c, h) => b(t).top ? be(c.$slots, "top", _e(te({ key: 0 }, b(i)))) : (c.showSearch || b(t)["top.left"] || b(t)["top.right"]) && b(s) ? (ne(), we(At, { key: 1, lg: "12" }, { default: fe(() => [d(Qr, { "data-id": `vdt-top-id-${a.level}` }, { default: fe(() => [b(t)["top.left"] ? be(c.$slots, "top.left", _e(te({ key: 0 }, b(i)))) : c.showSearch ? (ne(), we(At, { key: 1, class: ge(["d-flex align-center justify-end", b(p)]) }, { default: fe(() => [c.showSearch ? (ne(), we(vn, te({ key: 0 }, b(f), { modelValue: b(o), "onUpdate:modelValue": h[0] || (h[0] = (y) => It(o) ? o.value = y : null), class: "mt-0 pt-0" }), null, 16, ["modelValue"])) : Ce("", !0)]), _: 1 }, 8, ["class"])) : Ce("", !0), b(t)["top.right"] ? be(c.$slots, "top.right", _e(te({ key: 2 }, b(i)))) : Ce("", !0)]), _: 3 }, 8, ["data-id"])]), _: 3 })) : Ce("", !0); + return (d, h) => b(t).top ? be(d.$slots, "top", _e(ee({ key: 0 }, b(i)))) : (d.showSearch || b(t)["top.left"] || b(t)["top.right"]) && b(s) ? (ne(), we(At, { key: 1, lg: "12" }, { default: fe(() => [c(es, { "data-id": `vdt-top-id-${a.level}` }, { default: fe(() => [b(t)["top.left"] ? be(d.$slots, "top.left", _e(ee({ key: 0 }, b(i)))) : d.showSearch ? (ne(), we(At, { key: 1, class: ge(["d-flex align-center justify-end", b(p)]) }, { default: fe(() => [d.showSearch ? (ne(), we(vn, ee({ key: 0 }, b(f), { modelValue: b(o), "onUpdate:modelValue": h[0] || (h[0] = (y) => It(o) ? o.value = y : null), class: "mt-0 pt-0" }), null, 16, ["modelValue"])) : Ce("", !0)]), _: 1 }, 8, ["class"])) : Ce("", !0), b(t)["top.right"] ? be(d.$slots, "top.right", _e(ee({ key: 2 }, b(i)))) : Ce("", !0)]), _: 3 }, 8, ["data-id"])]), _: 3 })) : Ce("", !0); } }); -function Ka(e) { +function qa(e) { return typeof e == "function" ? e() : b(e); } -const qa = () => { -}, vc = (e) => e(); -function fc(e, n = {}) { - let t, l, a = qa; +const Ua = () => { +}, fc = (e) => e(); +function gc(e, n = {}) { + let t, l, a = Ua; const o = (s) => { - clearTimeout(s), a(), a = qa; + clearTimeout(s), a(), a = Ua; }; return (s) => { - const r = Ka(e), i = Ka(n.maxWait); + const r = qa(e), i = qa(n.maxWait); return t && o(t), r <= 0 || i !== void 0 && i <= 0 ? (l && (o(l), l = null), Promise.resolve(s())) : new Promise((u, v) => { a = n.rejectOnCancel ? v : u, i && !l && (l = setTimeout(() => { t && o(t), l = null, u(s()); @@ -3976,105 +3994,105 @@ function fc(e, n = {}) { }); }; } -function gc(e, n, t = {}) { - const { eventFilter: l = vc, ...a } = t; - return oe(e, (o = l, s = n, function(...r) { +function mc(e, n, t = {}) { + const { eventFilter: l = fc, ...a } = t; + return ae(e, (o = l, s = n, function(...r) { return new Promise((i, u) => { Promise.resolve(o(() => s.apply(this, r), { fn: s, thisArg: this, args: r })).then(i).catch(u); }); }), a); var o, s; } -function Ua(e, n, t = {}) { +function Ya(e, n, t = {}) { const { debounce: l = 0, maxWait: a, ...o } = t; - return gc(e, n, { ...o, eventFilter: fc(l, { maxWait: a }) }); + return mc(e, n, { ...o, eventFilter: gc(l, { maxWait: a }) }); } -const Nt = /* @__PURE__ */ new Map(), mc = ["colspan"], yc = rt({ __name: "VDrilldownTable", props: hs({ colorPercentageChange: {}, colorPercentageDirection: {}, colors: {}, columnWidths: {}, customFilter: {}, customKeyFilter: {}, defaultColors: {}, density: {}, drilldown: {}, drilldownKey: {}, elevation: {}, expandOnClick: {}, expanded: {}, filterKeys: {}, filterMode: {}, fixedFooter: { type: Boolean }, fixedHeader: { type: Boolean }, footerBackgroundColor: {}, footerColor: {}, footers: {}, groupBy: {}, headerBackgroundColor: {}, headerColor: {}, headers: {}, height: {}, hideNoData: {}, hover: {}, isDrilldown: { type: Boolean }, item: {}, itemChildrenKey: {}, itemSelectable: {}, itemValue: {}, items: {}, itemsLength: {}, itemsPerPage: {}, itemsPerPageOptions: {}, level: {}, levels: {}, loaderProps: {}, loaderSize: {}, loaderType: { type: [String, Array, Boolean, null] }, loading: {}, loadingText: {}, matchColumnWidths: { type: Boolean }, modelValue: {}, multiSort: {}, mustSort: {}, noDataText: {}, noFilter: {}, page: {}, returnObject: {}, search: {}, searchContainerCols: {}, searchDebounce: {}, searchMaxWait: {}, searchProps: {}, separator: {}, server: { type: Boolean }, selectStrategy: {}, showDrilldownWhenLoading: { type: Boolean }, showExpand: {}, showFooterRow: { type: Boolean }, showSearch: { type: Boolean }, showSelect: {}, sortAscIcon: {}, sortBy: {}, tableType: {}, width: {} }, { ...es }), emits: ["click:row", "click:row:checkbox", "update:expanded", "update:drilldown", "update:options", "update:itemsPerPage", "update:page", "update:search", "update:sortBy"], setup(e, { emit: n }) { - const t = n, l = e, a = Se(ss, {}), o = J({ ...l, ...a }), { colorPercentageChange: s, colorPercentageDirection: r, elevation: i, expandOnClick: u, footerBackgroundColor: v, footerColor: f, headerBackgroundColor: p, headerColor: c, hover: h, itemsPerPageOptions: y, loaderProps: S, loaderType: x, separator: A, sortAscIcon: F } = gn(o.value), C = Xt(), B = bs(), _ = de(null), V = m(() => l.density); +const Rt = /* @__PURE__ */ new Map(), yc = ["colspan"], hc = rt({ __name: "VDrilldownTable", props: bs({ colorPercentageChange: {}, colorPercentageDirection: {}, colors: {}, columnWidths: {}, customFilter: {}, customKeyFilter: {}, defaultColors: {}, density: {}, drilldown: {}, drilldownKey: {}, elevation: {}, expandOnClick: {}, expanded: {}, filterKeys: {}, filterMode: {}, fixedFooter: { type: Boolean }, fixedHeader: { type: Boolean }, footerBackgroundColor: {}, footerColor: {}, footers: {}, groupBy: {}, headerBackgroundColor: {}, headerColor: {}, headers: {}, height: {}, hideNoData: {}, hover: {}, isDrilldown: { type: Boolean }, item: {}, itemChildrenKey: {}, itemSelectable: {}, itemValue: {}, items: {}, itemsLength: {}, itemsPerPage: {}, itemsPerPageOptions: {}, level: {}, levels: {}, loaderProps: {}, loaderSize: {}, loaderType: { type: [String, Array, Boolean, null] }, loading: {}, loadingText: {}, matchColumnWidths: { type: Boolean }, modelValue: {}, multiSort: {}, mustSort: {}, noDataText: {}, noFilter: {}, page: {}, returnObject: {}, search: {}, searchContainerCols: {}, searchDebounce: {}, searchMaxWait: {}, searchProps: {}, separator: {}, server: { type: Boolean }, selectStrategy: {}, showDrilldownWhenLoading: { type: Boolean }, showExpand: {}, showFooterRow: { type: Boolean }, showSearch: { type: Boolean }, showSelect: {}, sortAscIcon: {}, sortBy: {}, tableType: {}, width: {} }, { ...ts }), emits: ["click:row", "click:row:checkbox", "update:expanded", "update:drilldown", "update:options", "update:itemsPerPage", "update:page", "update:search", "update:sortBy"], setup(e, { emit: n }) { + const t = n, l = e, a = Se(is, {}), o = J({ ...l, ...a }), { colorPercentageChange: s, colorPercentageDirection: r, elevation: i, expandOnClick: u, footerBackgroundColor: v, footerColor: f, headerBackgroundColor: p, headerColor: d, hover: h, itemsPerPageOptions: y, loaderProps: S, loaderType: x, separator: A, sortAscIcon: F } = gn(o.value), C = Jt(), B = Ss(), _ = de(null), V = m(() => l.density); ht(() => { l.level === 1 && g.level !== 1 || g.server || I(); }), hn(() => { - _.value = Object.assign({}, l.server ? Cu : wu); + _.value = Object.assign({}, l.server ? Pu : ku); }); - let g = Yt(Object.assign({}, l)); + let g = Xt(Object.assign({}, l)); g != null && g.colors && (g.colors.default = { ...Vl, ...o.value.defaultColors }); - const w = { ...l, ...g }, k = J(B["data-vdt-id"] ?? `v-drilldown-table-${Date.now()}`), P = J(""), $ = Dl(), D = m(() => g.sortBy), O = m(() => !!g.loading || g.hideNoData); - (function(E, K, se) { - const Y = oe(E, (...Q) => (Fe(() => Y()), K(...Q)), se); + const k = { ...l, ...g }, w = J(B["data-vdt-id"] ?? `v-drilldown-table-${Date.now()}`), P = J(""), $ = Tl(), D = m(() => g.sortBy), M = m(() => !!g.loading || g.hideNoData); + (function(E, H, se) { + const Y = ae(E, (...Q) => (Fe(() => Y()), H(...Q)), se); })(l, () => { l.level === 1 && g.level !== 1 || I(), g.itemsPerPage = l.itemsPerPage; - }, { immediate: !1 }), oe(() => l.items, () => { + }, { immediate: !1 }), ae(() => l.items, () => { l.loading || I(); - }, { deep: !0 }), oe(() => l.loading, () => { + }, { deep: !0 }), ae(() => l.loading, () => { if (l.loading) return g.loading = l.loading, !1; I(); - }), Ne(() => { + }), Re(() => { g.colors && o.value.defaultColors && (g.colors.default = { ...Vl, ...o.value.defaultColors }); - }), Ne(() => { + }), Re(() => { o.value = { ...l, ...a }; }); const T = (E) => { - const K = b(o.value.loaderType); - return !(E && (K === "skelton" || Array.isArray(K) && K.length === 1 && K[0] === "skelton" || !g.showDrilldownWhenLoading)); - }, M = m(() => ((E) => { - const { elevation: K, fixedHeader: se, isDrilldown: Y, isHover: Q, isServerSide: re, level: ie, separator: he } = E; - return { [`${ce}--child`]: Y, [`${ce}--fixed-header`]: se, [`${ce}--hover`]: Q, [`${ce}--level-${ie}`]: !0, [`${ce}--server`]: re, [`${ce}--separator-${he}`]: he, [`${ce}`]: !0, [`elevation-${K}`]: parseInt(K) > 0 }; - })({ elevation: b(i), fixedHeader: g.fixedHeader, isDrilldown: l.isDrilldown, isHover: b(h), isServerSide: !1, level: g.level, separator: b(A) })), H = m(() => ((E) => { - const { colors: K, level: se, theme: Y } = E; + const H = b(o.value.loaderType); + return !(E && (H === "skelton" || Array.isArray(H) && H.length === 1 && H[0] === "skelton" || !g.showDrilldownWhenLoading)); + }, N = m(() => ((E) => { + const { elevation: H, fixedHeader: se, isDrilldown: Y, isHover: Q, isServerSide: re, level: ie, separator: he } = E; + return { [`${ce}--child`]: Y, [`${ce}--fixed-header`]: se, [`${ce}--hover`]: Q, [`${ce}--level-${ie}`]: !0, [`${ce}--server`]: re, [`${ce}--separator-${he}`]: he, [`${ce}`]: !0, [`elevation-${H}`]: parseInt(H) > 0 }; + })({ elevation: b(i), fixedHeader: g.fixedHeader, isDrilldown: l.isDrilldown, isHover: b(h), isServerSide: !1, level: g.level, separator: b(A) })), K = m(() => ((E) => { + const { colors: H, level: se, theme: Y } = E; let Q = {}; - typeof K == "object" && K !== null && (Q = Nn({ colors: K, level: se, prop: "default", themeColors: Y })); + typeof H == "object" && H !== null && (Q = Rn({ colors: H, level: se, prop: "default", themeColors: Y })); const re = { borderBottom: "none" }; return Q.border && (re.borderBottom = `1px solid ${Q.border}`), re; })({ colors: g.colors, level: g.level, theme: $ })); function I() { var E; - l.drilldown ? g = ((K) => { - const { drilldown: se, item: Y, level: Q, levels: re, loadedDrilldown: ie } = K; + l.drilldown ? g = ((H) => { + const { drilldown: se, item: Y, level: Q, levels: re, loadedDrilldown: ie } = H; let he = ie; const je = Y; he = Wt(ie, se); - const kt = (ie.items || [{}]).find((el) => { - const tl = el[ie.drilldownKey]; + const kt = (ie.items || [{}]).find((tl) => { + const ll = tl[ie.drilldownKey]; let Ot = {}; - return je && (Ot = je[ie.drilldownKey]), tl === Ot; + return je && (Ot = je[ie.drilldownKey]), ll === Ot; }); return he = Wt(ie, kt[ie.itemChildrenKey]), re === Q && (he.showExpand = !1), he; - })({ drilldown: l.drilldown, item: l.item, level: l.level, levels: l.levels, loadedDrilldown: g, matchColumnWidths: l.matchColumnWidths }) : (g = Wt(g, l), l.matchColumnWidths && ((E = g == null ? void 0 : g.columnWidths) == null ? void 0 : E.length) === 0 && (g.columnWidths = ((K) => { - const { tableId: se } = K, Y = [], Q = b(se), re = document.querySelectorAll(`[data-vdt-id="${Q}"] .v-drilldown-table--header-row-th-1`); + })({ drilldown: l.drilldown, item: l.item, level: l.level, levels: l.levels, loadedDrilldown: g, matchColumnWidths: l.matchColumnWidths }) : (g = Wt(g, l), l.matchColumnWidths && ((E = g == null ? void 0 : g.columnWidths) == null ? void 0 : E.length) === 0 && (g.columnWidths = ((H) => { + const { tableId: se } = H, Y = [], Q = b(se), re = document.querySelectorAll(`[data-vdt-id="${Q}"] .v-drilldown-table--header-row-th-1`); if (Object.keys(re).length > 0) for (let ie = 0; ie < re.length; ie += 1) { const he = re[ie]; Y.push(he.offsetWidth); } return Y; - })({ tableId: k }))); + })({ tableId: w }))); } - function N(E) { - let K = { ...w, ...g, ...E }; - l.server && (K = { ...g, ...w, ...E }), ((se) => { + function R(E) { + let H = { ...k, ...g, ...E }; + l.server && (H = { ...g, ...k, ...E }), ((se) => { const { data: Y, drilldownData: Q, emit: re } = se; Y.isExpanded(Y.internalItem) && re("update:drilldown", Q), re("update:expanded", Y.item); - })({ data: E, drilldownData: K, emit: t }); + })({ data: E, drilldownData: H, emit: t }); } function j(E) { return { items: E.items, itemsPerPage: E.itemsPerPage, page: E.page, search: P.value, server: E.server, sortBy: E.sortBy }; } const U = function(E) { - const K = ys(); + const H = hs(); function se(re) { var ie; - const he = Nt.get(E) || /* @__PURE__ */ new Set(); - he.add(re), Nt.set(E, he); + const he = Rt.get(E) || /* @__PURE__ */ new Set(); + he.add(re), Rt.set(E, he); const je = () => Y(re); - return (ie = K == null ? void 0 : K.cleanups) == null || ie.push(je), je; + return (ie = H == null ? void 0 : H.cleanups) == null || ie.push(je), je; } function Y(re) { - const ie = Nt.get(E); + const ie = Rt.get(E); ie && (ie.delete(re), ie.size || Q()); } function Q() { - Nt.delete(E); + Rt.delete(E); } return { on: se, once: function(re) { return se(function ie(...he) { @@ -4082,62 +4100,62 @@ const Nt = /* @__PURE__ */ new Map(), mc = ["colspan"], yc = rt({ __name: "VDril }); }, off: Y, emit: function(re, ie) { var he; - (he = Nt.get(E)) == null || he.forEach((je) => je(re, ie)); + (he = Rt.get(E)) == null || he.forEach((je) => je(re, ie)); }, reset: Q }; - }(ws), ee = U.on(function(E) { + }(ks), te = U.on(function(E) { l.level === 1 && E.drilldown.server && t("update:options", { ...E }); }); function X(E) { g.itemsPerPage = E; - const K = j(g), se = { drilldown: { ...l, ...K, itemsPerPage: E }, itemsPerPage: E, name: "update:itemsPerPage" }; + const H = j(g), se = { drilldown: { ...l, ...H, itemsPerPage: E }, itemsPerPage: E, name: "update:itemsPerPage" }; U.emit(se), t("update:itemsPerPage", E); } function Z(E) { g.page = E; - const K = j(g), se = { drilldown: { ...l, ...K, page: E }, name: "update:page", page: E }; + const H = j(g), se = { drilldown: { ...l, ...H, page: E }, name: "update:page", page: E }; U.emit(se), t("update:page", E); } - Ss(() => { - ee(); + xs(() => { + te(); }); const L = { debounce: g.searchDebounce, maxWait: g.searchMaxWait }; function W() { C.top || C["top.left"] || (g.search = P.value), (C.top || C["top.left"]) && (P.value = l.search || ""); - const E = j(g), K = { drilldown: { ...l, ...E, search: P.value }, search: P.value }; - U.emit(K), t("update:search", K); + const E = j(g), H = { drilldown: { ...l, ...E, search: P.value }, search: P.value }; + U.emit(H), t("update:search", H); } function G(E) { g.sortBy = E; - const K = j(g), se = { drilldown: { ...l, ...K, sortBy: E }, name: "update:sortBy", sortBy: E }; + const H = j(g), se = { drilldown: { ...l, ...H, sortBy: E }, name: "update:sortBy", sortBy: E }; U.emit(se), t("update:sortBy", E); } function z() { } - return Ua(() => l.search, () => { + return Ya(() => l.search, () => { W(); - }, L), Ua(P, () => { + }, L), Ya(P, () => { C.top || C["top.left"] || W(); - }, L), (E, K) => { - const se = xs("VDrilldownTable", !0); - return b(_) ? (ne(), we(Xa(b(_)), te({ key: 0 }, E.$attrs, { modelValue: b(g).modelValue, "onUpdate:modelValue": [K[5] || (K[5] = (Y) => b(g).modelValue = Y), z], class: b(M), "data-vdt-id": b(k), density: b(V), "expand-on-click": b(u), expanded: b(g).expanded, "fixed-header": b(g).fixedHeader, "group-by": b(g).groupBy, headers: b(g).headers, height: b(g).height, "hide-no-data": b(O), hover: b(h), "item-selectable": b(g).itemSelectable, "item-value": b(g).itemValue, items: b(g).items, "items-length": b(g).itemsLength, "items-per-page": b(g).itemsPerPage, "items-per-page-options": b(y), loading: (!b(x) || b(C).loading) && b(g).loading, "multi-sort": b(g).multiSort, "must-sort": b(g).mustSort, "no-data-text": b(g).noDataText, page: b(g).page, "return-object": b(g).returnObject, search: b(P), "select-strategy": b(g).selectStrategy, "show-expand": b(g).showExpand, "sort-by": b(D), style: b(H), "onUpdate:itemsPerPage": X, "onUpdate:page": Z, "onUpdate:sortBy": G }), dt({ top: fe((Y) => [(ne(), we(b(pc), { key: E.level, items: b(g).items, level: b(g).level, loading: b(g).loading, "search-container-cols": b(g).searchContainerCols, "search-props": b(g).searchProps, "show-search": b(g).showSearch ?? !1, "slot-props": Y, "onUpdate:search": K[0] || (K[0] = (Q) => P.value = Q) }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["items", "level", "loading", "search-container-cols", "search-props", "show-search", "slot-props"]))]), headers: fe((Y) => [(ne(), we(b(Ju), { key: E.level, colorPercentageChange: b(s), colorPercentageDirection: b(r), colors: b(g).colors, "column-widths": b(g).columnWidths, density: b(V), headerBackgroundColor: b(o).headerBackgroundColor, headerColor: b(c), items: b(g).items, level: E.level, "loader-props": b(S), "loader-settings": { colspan: Y.columns.length, loaderType: b(x), loading: b(g).loading, loadingText: E.loadingText }, "match-column-widths": b(g).matchColumnWidths, "select-strategy": b(g).selectStrategy, "show-select": b(g).showSelect, "slot-props": { ...Y }, "sort-asc-icon": b(F), "sort-by": b(g).sortBy, "table-model-value": b(g).modelValue }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["colorPercentageChange", "colorPercentageDirection", "colors", "column-widths", "density", "headerBackgroundColor", "headerColor", "items", "level", "loader-props", "loader-settings", "match-column-widths", "select-strategy", "show-select", "slot-props", "sort-asc-icon", "sort-by", "table-model-value"]))]), item: fe((Y) => [(ne(), we(b(ac), { key: E.level, density: b(V), "expand-on-click": b(u), "group-by": b(g).groupBy, "item-selectable": b(g).itemSelectable, items: b(g).items, level: b(g).level, levels: b(g).levels, "show-expand": b(g).showExpand, "show-select": b(g).showSelect, "slot-props": { level: E.level, ...Y }, "onClick:row": K[1] || (K[1] = (Q) => { + }, L), (E, H) => { + const se = ws("VDrilldownTable", !0); + return b(_) ? (ne(), we(Ja(b(_)), ee({ key: 0 }, E.$attrs, { modelValue: b(g).modelValue, "onUpdate:modelValue": [H[5] || (H[5] = (Y) => b(g).modelValue = Y), z], class: b(N), "data-vdt-id": b(w), density: b(V), "expand-on-click": b(u), expanded: b(g).expanded, "fixed-header": b(g).fixedHeader, "group-by": b(g).groupBy, headers: b(g).headers, height: b(g).height, "hide-no-data": b(M), hover: b(h), "item-selectable": b(g).itemSelectable, "item-value": b(g).itemValue, items: b(g).items, "items-length": b(g).itemsLength, "items-per-page": b(g).itemsPerPage, "items-per-page-options": b(y), loading: (!b(x) || b(C).loading) && b(g).loading, "multi-sort": b(g).multiSort, "must-sort": b(g).mustSort, "no-data-text": b(g).noDataText, page: b(g).page, "return-object": b(g).returnObject, search: b(P), "select-strategy": b(g).selectStrategy, "show-expand": b(g).showExpand, "sort-by": b(D), style: b(K), "onUpdate:itemsPerPage": X, "onUpdate:page": Z, "onUpdate:sortBy": G }), dt({ top: fe((Y) => [(ne(), we(b(vc), { key: E.level, items: b(g).items, level: b(g).level, loading: b(g).loading, "search-container-cols": b(g).searchContainerCols, "search-props": b(g).searchProps, "show-search": b(g).showSearch ?? !1, "slot-props": Y, "onUpdate:search": H[0] || (H[0] = (Q) => P.value = Q) }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["items", "level", "loading", "search-container-cols", "search-props", "show-search", "slot-props"]))]), headers: fe((Y) => [(ne(), we(b(Zu), { key: E.level, colorPercentageChange: b(s), colorPercentageDirection: b(r), colors: b(g).colors, "column-widths": b(g).columnWidths, density: b(V), headerBackgroundColor: b(o).headerBackgroundColor, headerColor: b(d), items: b(g).items, level: E.level, "loader-props": b(S), "loader-settings": { colspan: Y.columns.length, loaderType: b(x), loading: b(g).loading, loadingText: E.loadingText }, "match-column-widths": b(g).matchColumnWidths, "select-strategy": b(g).selectStrategy, "show-select": b(g).showSelect, "slot-props": { ...Y }, "sort-asc-icon": b(F), "sort-by": b(g).sortBy, "table-model-value": b(g).modelValue }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["colorPercentageChange", "colorPercentageDirection", "colors", "column-widths", "density", "headerBackgroundColor", "headerColor", "items", "level", "loader-props", "loader-settings", "match-column-widths", "select-strategy", "show-select", "slot-props", "sort-asc-icon", "sort-by", "table-model-value"]))]), item: fe((Y) => [(ne(), we(b(oc), { key: E.level, density: b(V), "expand-on-click": b(u), "group-by": b(g).groupBy, "item-selectable": b(g).itemSelectable, items: b(g).items, level: b(g).level, levels: b(g).levels, "show-expand": b(g).showExpand, "show-select": b(g).showSelect, "slot-props": { level: E.level, ...Y }, "onClick:row": H[1] || (H[1] = (Q) => { t("click:row", Q); - }), "onClick:row:checkbox": K[2] || (K[2] = (Q) => { + }), "onClick:row:checkbox": H[2] || (H[2] = (Q) => { t("click:row:checkbox", Q); - }), "onUpdate:expanded": K[3] || (K[3] = (Q) => N(Q)) }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["density", "expand-on-click", "group-by", "item-selectable", "items", "level", "levels", "show-expand", "show-select", "slot-props"]))]), "expanded-row": fe(({ columns: Y, item: Q, internalItem: re }) => { - var ie, he, je, kt, el, tl, Ot, Wn, zn, Gn, Hn; - return [Ke("tr", { class: ge(T((ie = Q[E.itemChildrenKey]) == null ? void 0 : ie.loading) ? "" : "d-none") }, [Ke("td", { class: "px-0 ma-0", colspan: Y.length, style: { "vertical-align": "top" } }, [(ne(), we(se, { key: re.key, "column-widths": b(g).columnWidths, defaultColors: b(o).defaultColors, density: b(V), drilldown: b(g), "footer-background-color": b(v), "footer-color": b(f), "header-background-color": b(p), "header-color": b(c), headers: (he = Q[E.itemChildrenKey]) == null ? void 0 : he.headers, "is-drilldown": !0, item: Q, items: (je = Q[E.itemChildrenKey]) == null ? void 0 : je.items, "items-length": (kt = Q[E.itemChildrenKey]) == null ? void 0 : kt.itemsLength, "items-per-page": (el = Q[E.itemChildrenKey]) == null ? void 0 : el.itemsPerPage, level: E.level + 1, levels: b(g).levels, loaderProps: (tl = Q[E.itemChildrenKey]) == null ? void 0 : tl.loaderProps, loaderType: (Ot = Q[E.itemChildrenKey]) == null ? void 0 : Ot.loaderType, loading: (Wn = Q[E.itemChildrenKey]) == null ? void 0 : Wn.loading, loadingText: E.loadingText, "match-column-widths": b(g).matchColumnWidths, "multi-sort": (zn = Q[E.itemChildrenKey]) == null ? void 0 : zn.multiSort, "no-data-text": b(g).noDataText, server: (Gn = Q[E.itemChildrenKey]) == null ? void 0 : Gn.server, "show-footer-row": (Hn = Q[E.itemChildrenKey]) == null ? void 0 : Hn.showFooterRow, "sort-by": b(g).sortBy, "table-type": b(_), "onUpdate:drilldown": K[4] || (K[4] = (ll) => N(ll)), "onUpdate:modelValue": z }, dt({ default: fe(() => [(ne(!0), ye(pe, null, He(Object.keys(b(C)), (ll) => be(E.$slots, ll)), 256))]), _: 2 }, [He(b(C), (ll, Kn) => ({ name: Kn, fn: fe((is) => [be(E.$slots, Kn, _e(We({ ...is })))]) }))]), 1032, ["column-widths", "defaultColors", "density", "drilldown", "footer-background-color", "footer-color", "header-background-color", "header-color", "headers", "item", "items", "items-length", "items-per-page", "level", "levels", "loaderProps", "loaderType", "loading", "loadingText", "match-column-widths", "multi-sort", "no-data-text", "server", "show-footer-row", "sort-by", "table-type"]))], 8, mc)], 2)]; - }), "footer.prepend": fe(() => [b(C)["footer.prepend"] ? be(E.$slots, "footer.prepend", { key: 0 }) : Ce("", !0)]), _: 2 }, [b(C).loader ? { name: "loader", fn: fe(() => [be(E.$slots, "loader")]), key: "0" } : void 0, b(C).loading ? { name: "loading", fn: fe(() => [be(E.$slots, "loading")]), key: "1" } : void 0, b(C).thead ? { name: "thead", fn: fe((Y) => [be(E.$slots, "thead", _e(We({ ...Y, columnWidths: b(g).columnWidths, items: b(g).items, loaderSettings: { colspan: Y.columns.length, loaderType: b(x), loading: b(g).loading, loadingText: E.loadingText }, matchColumnWidths: b(g).matchColumnWidths, selectStrategy: b(g).selectStrategy, sortBy: b(g).sortBy })))]), key: "2" } : void 0, b(C).body ? { name: "body", fn: fe((Y) => [be(E.$slots, "body", _e(We({ ...Y })))]), key: "3" } : void 0, b(C)["group-header"] ? { name: "group-header", fn: fe((Y) => [be(E.$slots, "group-header", _e(We({ ...Y })))]), key: "4" } : void 0, b(C).tbody ? { name: "tbody", fn: fe((Y) => [be(E.$slots, "tbody", _e(We({ ...Y })))]), key: "5" } : void 0, b(C)["no-data"] ? { name: "no-data", fn: fe(() => [be(E.$slots, "no-data")]), key: "6" } : void 0, b(C).tfoot || E.showFooterRow ? { name: "tfoot", fn: fe((Y) => [b(C).tfoot ? be(E.$slots, "tfoot", _e(te({ key: 0 }, { ...Y }))) : (ne(), we(b(dc), { key: E.level, colorPercentageChange: b(s), colorPercentageDirection: b(r), colors: b(g).colors, density: b(V), footerBackgroundColor: b(v), footerColor: b(f), footers: b(g).footers || [], items: b(g).items, level: b(g).level, "select-strategy": b(g).selectStrategy, "show-select": b(g).showSelect, "slot-props": { ...Y }, "table-model-value": b(g).modelValue }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["colorPercentageChange", "colorPercentageDirection", "colors", "density", "footerBackgroundColor", "footerColor", "footers", "items", "level", "select-strategy", "show-select", "slot-props", "table-model-value"]))]), key: "7" } : void 0, b(C).bottom ? { name: "bottom", fn: fe((Y) => [(ne(), we(b(Mu), { key: E.level, "slot-props": Y }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["slot-props"]))]), key: "8" } : void 0]), 1040, ["modelValue", "class", "data-vdt-id", "density", "expand-on-click", "expanded", "fixed-header", "group-by", "headers", "height", "hide-no-data", "hover", "item-selectable", "item-value", "items", "items-length", "items-per-page", "items-per-page-options", "loading", "multi-sort", "must-sort", "no-data-text", "page", "return-object", "search", "select-strategy", "show-expand", "sort-by", "style"])) : Ce("", !0); + }), "onUpdate:expanded": H[3] || (H[3] = (Q) => R(Q)) }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["density", "expand-on-click", "group-by", "item-selectable", "items", "level", "levels", "show-expand", "show-select", "slot-props"]))]), "expanded-row": fe(({ columns: Y, item: Q, internalItem: re }) => { + var ie, he, je, kt, tl, ll, Ot, Wn, zn, Gn, Hn; + return [Ke("tr", { class: ge(T((ie = Q[E.itemChildrenKey]) == null ? void 0 : ie.loading) ? "" : "d-none") }, [Ke("td", { class: "px-0 ma-0", colspan: Y.length, style: { "vertical-align": "top" } }, [(ne(), we(se, { key: re.key, "column-widths": b(g).columnWidths, defaultColors: b(o).defaultColors, density: b(V), drilldown: b(g), "footer-background-color": b(v), "footer-color": b(f), "header-background-color": b(p), "header-color": b(d), headers: (he = Q[E.itemChildrenKey]) == null ? void 0 : he.headers, "is-drilldown": !0, item: Q, items: (je = Q[E.itemChildrenKey]) == null ? void 0 : je.items, "items-length": (kt = Q[E.itemChildrenKey]) == null ? void 0 : kt.itemsLength, "items-per-page": (tl = Q[E.itemChildrenKey]) == null ? void 0 : tl.itemsPerPage, level: E.level + 1, levels: b(g).levels, loaderProps: (ll = Q[E.itemChildrenKey]) == null ? void 0 : ll.loaderProps, loaderType: (Ot = Q[E.itemChildrenKey]) == null ? void 0 : Ot.loaderType, loading: (Wn = Q[E.itemChildrenKey]) == null ? void 0 : Wn.loading, loadingText: E.loadingText, "match-column-widths": b(g).matchColumnWidths, "multi-sort": (zn = Q[E.itemChildrenKey]) == null ? void 0 : zn.multiSort, "no-data-text": b(g).noDataText, server: (Gn = Q[E.itemChildrenKey]) == null ? void 0 : Gn.server, "show-footer-row": (Hn = Q[E.itemChildrenKey]) == null ? void 0 : Hn.showFooterRow, "sort-by": b(g).sortBy, "table-type": b(_), "onUpdate:drilldown": H[4] || (H[4] = (nl) => R(nl)), "onUpdate:modelValue": z }, dt({ default: fe(() => [(ne(!0), ye(pe, null, He(Object.keys(b(C)), (nl) => be(E.$slots, nl)), 256))]), _: 2 }, [He(b(C), (nl, Kn) => ({ name: Kn, fn: fe((us) => [be(E.$slots, Kn, _e(We({ ...us })))]) }))]), 1032, ["column-widths", "defaultColors", "density", "drilldown", "footer-background-color", "footer-color", "header-background-color", "header-color", "headers", "item", "items", "items-length", "items-per-page", "level", "levels", "loaderProps", "loaderType", "loading", "loadingText", "match-column-widths", "multi-sort", "no-data-text", "server", "show-footer-row", "sort-by", "table-type"]))], 8, yc)], 2)]; + }), "footer.prepend": fe(() => [b(C)["footer.prepend"] ? be(E.$slots, "footer.prepend", { key: 0 }) : Ce("", !0)]), _: 2 }, [b(C).loader ? { name: "loader", fn: fe(() => [be(E.$slots, "loader")]), key: "0" } : void 0, b(C).loading ? { name: "loading", fn: fe(() => [be(E.$slots, "loading")]), key: "1" } : void 0, b(C).thead ? { name: "thead", fn: fe((Y) => [be(E.$slots, "thead", _e(We({ ...Y, columnWidths: b(g).columnWidths, items: b(g).items, loaderSettings: { colspan: Y.columns.length, loaderType: b(x), loading: b(g).loading, loadingText: E.loadingText }, matchColumnWidths: b(g).matchColumnWidths, selectStrategy: b(g).selectStrategy, sortBy: b(g).sortBy })))]), key: "2" } : void 0, b(C).body ? { name: "body", fn: fe((Y) => [be(E.$slots, "body", _e(We({ ...Y })))]), key: "3" } : void 0, b(C)["group-header"] ? { name: "group-header", fn: fe((Y) => [be(E.$slots, "group-header", _e(We({ ...Y })))]), key: "4" } : void 0, b(C).tbody ? { name: "tbody", fn: fe((Y) => [be(E.$slots, "tbody", _e(We({ ...Y })))]), key: "5" } : void 0, b(C)["no-data"] ? { name: "no-data", fn: fe(() => [be(E.$slots, "no-data")]), key: "6" } : void 0, b(C).tfoot || E.showFooterRow ? { name: "tfoot", fn: fe((Y) => [b(C).tfoot ? be(E.$slots, "tfoot", _e(ee({ key: 0 }, { ...Y }))) : (ne(), we(b(pc), { key: E.level, colorPercentageChange: b(s), colorPercentageDirection: b(r), colors: b(g).colors, density: b(V), footerBackgroundColor: b(v), footerColor: b(f), footers: b(g).footers || [], items: b(g).items, level: b(g).level, "select-strategy": b(g).selectStrategy, "show-select": b(g).showSelect, "slot-props": { ...Y }, "table-model-value": b(g).modelValue }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["colorPercentageChange", "colorPercentageDirection", "colors", "density", "footerBackgroundColor", "footerColor", "footers", "items", "level", "select-strategy", "show-select", "slot-props", "table-model-value"]))]), key: "7" } : void 0, b(C).bottom ? { name: "bottom", fn: fe((Y) => [(ne(), we(b(Nu), { key: E.level, "slot-props": Y }, dt({ _: 2 }, [He(b(C), (Q, re) => ({ name: re, fn: fe((ie) => [be(E.$slots, re, _e(We({ ...ie })))]) }))]), 1032, ["slot-props"]))]), key: "8" } : void 0]), 1040, ["modelValue", "class", "data-vdt-id", "density", "expand-on-click", "expanded", "fixed-header", "group-by", "headers", "height", "hide-no-data", "hover", "item-selectable", "item-value", "items", "items-length", "items-per-page", "items-per-page-options", "loading", "multi-sort", "must-sort", "no-data-text", "page", "return-object", "search", "select-strategy", "show-expand", "sort-by", "style"])) : Ce("", !0); }; -} }), ss = Symbol(); -function Sc(e = {}) { +} }), is = Symbol(); +function xc(e = {}) { return { install: (n) => { - n.provide(ss, e), n.component("VDrilldownTable", yc); + n.provide(is, e), n.component("VDrilldownTable", hc); } }; } export { - yc as VDrilldownTable, - Sc as createVDrilldownTable, - yc as default, - ss as globalOptions + hc as VDrilldownTable, + xc as createVDrilldownTable, + hc as default, + is as globalOptions }; -(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".v-drilldown-table--loader-tr[data-v-b954d026]{height:0;position:relative;top:0;width:100%;z-index:100}.v-drilldown-table--loader-tr-not-linear td[data-v-b954d026]{height:0!important}.v-drilldown-table--loader-tr>td[data-v-b954d026]{border:0!important}.v-drilldown-table--loader-tr-vrow[data-v-b954d026]{background:rgb(var(--v-theme-surface))}.v-drilldown-table--header-select-all-checkbox[data-v-315f818f]{opacity:var(--v-medium-emphasis-opacity)}.v-drilldown-table--header-row-th-sortable[data-v-315f818f]{cursor:pointer}.v-drilldown-table--header-row-th-sortable-sort-icon[data-v-315f818f]{display:inline-flex;opacity:0;transform:rotate(0);transition:all .25s ease-in-out}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f]{transform:rotate(0)}.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f]{transform:rotate(180deg)}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-315f818f],.v-drilldown-table--header-row-th-sortable-default-color:hover div[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-drilldown-table--header-row-th-sortable-default-color div[data-v-315f818f]{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));transition:all .25s ease-in-out}.v-drilldown-table--expand-icon[data-v-91892b42]{cursor:pointer}.v-drilldown-table--footer-row th{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}:root{--vdt-border: thin solid rgba(var(--v-border-color), var(--v-border-opacity))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr:hover td{background:rgba(var(--v-border-color),var(--v-hover-opacity))}.v-drilldown-table--expand-icon{transform:rotate(0);transition:all .3s ease-in-out}.v-drilldown-table--expand-icon.rotate-180{transform:rotate(180deg)}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr:hover td{background:rgba(var(--v-border-color),var(--v-hover-opacity))}.v-drilldown-table--separator-horizontal thead tr th{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tbody>tr:last-child>th,.v-drilldown-table--separator-horizontal tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tfoot tr>th,.v-drilldown-table--separator-horizontal tfoot tr>td{border-bottom:var(--vdt-border);border-top:0!important}.v-drilldown-table--separator-vertical thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-vertical tbody>tr>td{border-bottom:0!important}.v-drilldown-table--separator-vertical tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-vertical tfoot tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-cell thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-cell tfoot>tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-cell tfoot>tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table tbody{height:2px;min-height:2px;position:relative}.v-drilldown-table .v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{box-shadow:none}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>th{box-shadow:none!important}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>td{background:unset}.v-drilldown-table .v-data-table-footer{border-bottom:var(--vdt-border);padding-bottom:4px;padding-top:4px}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); +(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".v-drilldown-table--loader-tr[data-v-b954d026]{height:0;position:relative;top:0;width:100%;z-index:100}.v-drilldown-table--loader-tr-not-linear td[data-v-b954d026]{height:0!important}.v-drilldown-table--loader-tr>td[data-v-b954d026]{border:0!important}.v-drilldown-table--loader-tr-vrow[data-v-b954d026]{background:rgb(var(--v-theme-surface))}.v-drilldown-table--header-select-all-checkbox[data-v-d18d56b2]{opacity:var(--v-medium-emphasis-opacity)}.v-drilldown-table--header-row-th-sortable[data-v-d18d56b2]{cursor:pointer}.v-drilldown-table--header-row-th-sortable-sort-icon[data-v-d18d56b2]{display:inline-flex;opacity:0;transform:rotate(0);transition:all .25s ease-in-out}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2]{transform:rotate(0)}.v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2]{transform:rotate(180deg)}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-high-emphasis-opacity));opacity:1}.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-asc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable:hover .v-drilldown-table--header-row-th-sortable-sort-icon-desc[data-v-d18d56b2],.v-drilldown-table--header-row-th-sortable-default-color:hover div[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-high-emphasis-opacity))}.v-drilldown-table--header-row-th-sortable-default-color div[data-v-d18d56b2]{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity));transition:all .25s ease-in-out}.v-drilldown-table--expand-icon[data-v-91892b42]{cursor:pointer}.v-drilldown-table--footer-row th{color:rgb(var(--v-theme-on-surface) var(--v-medium-emphasis-opacity))}:root{--vdt-border: thin solid rgb(var(--v-border-color) var(--v-border-opacity))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-20 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-19 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-18 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-17 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-16 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-15 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-14 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-13 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-12 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-11 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-10 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-9 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-8 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-7 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-6 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-5 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-4 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-3 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-2 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-1 .v-table__wrapper table tbody tr:hover td,.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr .v-drilldown-table--level-0 .v-table__wrapper table tbody tr:hover td{background:rgb(var(--v-border-color) var(--v-hover-opacity))}.v-drilldown-table--expand-icon{transform:rotate(0);transition:all .3s ease-in-out}.v-drilldown-table--expand-icon.rotate-180{transform:rotate(180deg)}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr td{background:rgb(var(--v-theme-surface))}.v-drilldown-table--hover tr:hover .v-drilldown-table .v-table__wrapper table tbody tr:hover td{background:rgb(var(--v-border-color) var(--v-hover-opacity))}.v-drilldown-table--separator-horizontal thead tr th{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tbody>tr:last-child>th,.v-drilldown-table--separator-horizontal tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-horizontal tfoot tr>th,.v-drilldown-table--separator-horizontal tfoot tr>td{border-bottom:var(--vdt-border);border-top:0!important}.v-drilldown-table--separator-vertical thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical thead tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-vertical tbody>tr>td{border-bottom:0!important}.v-drilldown-table--separator-vertical tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-vertical tfoot tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-vertical tfoot tr th:nth-last-child(2){border-right:0!important}.v-drilldown-table--separator-cell thead tr th{border-bottom:0!important;border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell thead tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr>td:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:first-child>td{border-top:var(--vdt-border)!important}.v-drilldown-table--separator-cell tbody>tr:last-child>td{border-bottom:var(--vdt-border)!important}.v-drilldown-table--separator-cell tfoot>tr th{border-bottom:var(--vdt-border)!important;border-top:0!important}.v-drilldown-table--separator-cell tfoot>tr th:not(:last-child){border-right:var(--vdt-border)!important}.v-drilldown-table tbody{height:2px;min-height:2px;position:relative}.v-drilldown-table .v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{box-shadow:none}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>th{box-shadow:none!important}.v-drilldown-table--fixed-header .v-table__wrapper>table>thead>tr>td{background:unset}.v-drilldown-table .v-data-table-footer{border-bottom:var(--vdt-border);padding-bottom:4px;padding-top:4px}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();