UNPKG

vuetify

Version:

Vue Material Component Framework

375 lines 380 kB
/*! * Vuetify v3.5.2 * Forged by John Leider * Released under the MIT License. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Vuetify={},e.Vue)}(this,(function(e,t){"use strict" function a(e,t){return a=>Object.keys(e).reduce(((l,o)=>{const n="object"==typeof e[o]&&null!=e[o]&&!Array.isArray(e[o])?e[o]:{type:e[o]} return l[o]=a&&o in a?{...n,default:a[o]}:n,t&&!l[o].source&&(l[o].source=t),l}),{})}const l=a({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),o="undefined"!=typeof window,n=o&&"IntersectionObserver"in window,r=o&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),i=o&&"EyeDropper"in window function s(e,t,a){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,a)}function u(e,t,a){return function(e,t,a){if(t.set)t.set.call(e,a) else{if(!t.writable)throw new TypeError("attempted to set read only private field") t.value=a}}(e,d(e,t,"set"),a),a}function c(e,t){return function(e,t){if(t.get)return t.get.call(e) return t.value}(e,d(e,t,"get"))}function d(e,t,a){if(!t.has(e))throw new TypeError("attempted to "+a+" private field on non-instance") return t.get(e)}function v(e,t,a){const l=t.length-1 if(l<0)return void 0===e?a:e for(let o=0;o<l;o++){if(null==e)return a e=e[t[o]]}return null==e||void 0===e[t[l]]?a:e[t[l]]}function p(e,t){if(e===t)return!0 if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime())return!1 if(e!==Object(e)||t!==Object(t))return!1 const a=Object.keys(e) return a.length===Object.keys(t).length&&a.every((a=>p(e[a],t[a])))}function f(e,t,a){return null!=e&&t&&"string"==typeof t?void 0!==e[t]?e[t]:v(e,(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),a):a}function m(e,t,a){if(!0===t)return void 0===e?a:e if(null==t||"boolean"==typeof t)return a if(e!==Object(e)){if("function"!=typeof t)return a const l=t(e,a) return void 0===l?a:l}if("string"==typeof t)return f(e,t,a) if(Array.isArray(t))return v(e,t,a) if("function"!=typeof t)return a const l=t(e,a) return void 0===l?a:l}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0 return Array.from({length:e},((e,a)=>t+a))}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px" return null==e||""===e?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function y(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function b(e){if(e&&"$el"in e){const t=e.$el return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}const V=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}),w=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 S(e){return Object.keys(e)}function k(e,t){return t.every((t=>e.hasOwnProperty(t)))}function x(e,t){const a={},l=new Set(Object.keys(e)) for(const o of t)l.has(o)&&(a[o]=e[o]) return a}function N(e,t,a){const l=Object.create(null),o=Object.create(null) for(const n in e)t.some((e=>e instanceof RegExp?e.test(n):e===n))&&!a?.some((e=>e===n))?l[n]=e[n]:o[n]=e[n] return[l,o]}function C(e,t){const a={...e} return t.forEach((e=>delete a[e])),a}function _(e,t){const a={} return t.forEach((t=>a[t]=e[t])),a}const I=/^on[^a-z]/,P=e=>I.test(e),B=["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"],A=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "] function R(e){const[t,a]=N(e,[I]),l=C(t,B),[o,n]=N(a,["class","style","id",/^data-/]) return Object.assign(o,t),Object.assign(n,l),[o,n]}function T(e){return null==e?[]:Array.isArray(e)?e:[e]}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1 return Math.max(t,Math.min(a,e))}function D(e){const t=e.toString().trim() return t.includes(".")?t.length-t.indexOf(".")-1:0}function F(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0" return e+a.repeat(Math.max(0,t-e.length))}function $(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0" return a.repeat(Math.max(0,t-e.length))+e}function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3 if(e<t)return`${e} B` const a=1024===t?["Ki","Mi","Gi"]:["k","M","G"] let l=-1 for(;Math.abs(e)>=t&&l<a.length-1;)e/=t,++l return`${e.toFixed(1)} ${a[l]}B`}function L(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0 const l={} for(const t in e)l[t]=e[t] for(const o in t){const n=e[o],r=t[o] y(n)&&y(r)?l[o]=L(n,r,a):Array.isArray(n)&&Array.isArray(r)&&a?l[o]=a(n,r):l[o]=r}return l}function O(e){return e.map((e=>e.type===t.Fragment?O(e.children):e)).flat()}function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"" if(z.cache.has(e))return z.cache.get(e) const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase() return z.cache.set(e,t),t}function j(e,t){if(!t||"object"!=typeof t)return[] if(Array.isArray(t))return t.map((t=>j(e,t))).flat(1) if(Array.isArray(t.children))return t.children.map((t=>j(e,t))).flat(1) if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component] if(t.component.subTree)return j(e,t.component.subTree).flat(1)}return[]}z.cache=new Map var H=new WeakMap,W=new WeakMap class U{constructor(e){s(this,H,{writable:!0,value:[]}),s(this,W,{writable:!0,value:0}),this.size=e}push(e){c(this,H)[c(this,W)]=e,u(this,W,(c(this,W)+1)%this.size)}values(){return c(this,H).slice(c(this,W)).concat(c(this,H).slice(0,c(this,W)))}}function G(e){const a=t.reactive({}),l=t.computed(e) return t.watchEffect((()=>{for(const e in l.value)a[e]=l.value[e]}),{flush:"sync"}),t.toRefs(a)}function Y(e,t){return e.includes(t)}function q(e){return e[2].toLowerCase()+e.slice(3)}const K=()=>[Function,Array] function X(e,a){return!!(e[a="on"+t.capitalize(a)]||e[`${a}Once`]||e[`${a}Capture`]||e[`${a}OnceCapture`]||e[`${a}CaptureOnce`])}function Z(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;l<t;l++)a[l-1]=arguments[l] if(Array.isArray(e))for(const t of e)t(...a) else"function"==typeof e&&e(...a)}function J(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1] const a=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map((e=>`${e}${t?':not([tabindex="-1"])':""}:not([disabled])`)).join(", ") return[...e.querySelectorAll(a)]}function Q(e,t,a){let l,o=e.indexOf(document.activeElement) const n="next"===t?1:-1 do{o+=n,l=e[o]}while((!l||null==l.offsetParent||!(a?.(l)??1))&&o<e.length&&o>=0) return l}function ee(e,t){const a=J(e) if(t)if("first"===t)a[0]?.focus() else if("last"===t)a.at(-1)?.focus() else if("number"==typeof t)a[t]?.focus() else{const l=Q(a,t) l?l.focus():ee(e,"next"===t?"first":"last")}else e!==document.activeElement&&e.contains(document.activeElement)||a[0]?.focus()}function te(e){return null==e||"string"==typeof e&&""===e.trim()}function ae(){}function le(e,t){if(!(o&&"undefined"!=typeof CSS&&void 0!==CSS.supports&&CSS.supports(`selector(${t})`)))return null try{return!!e&&e.matches(t)}catch(e){return null}}function oe(e){return e.some((e=>!t.isVNode(e)||e.type!==t.Comment&&(e.type!==t.Fragment||oe(e.children))))?e:null}const ne=["top","bottom"],re=["start","end","left","right"] function ie(e,t){let[a,l]=e.split(" ") return l||(l=Y(ne,a)?"start":Y(re,a)?"top":"center"),{side:se(a,t),align:se(l,t)}}function se(e,t){return"start"===e?t?"right":"left":"end"===e?t?"left":"right":e}function ue(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function ce(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function de(e){return{side:e.align,align:e.side}}function ve(e){return Y(ne,e.side)?"y":"x"}class pe{constructor(e){let{x:t,y:a,width:l,height:o}=e this.x=t,this.y=a,this.width=l,this.height=o}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 fe(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function me(e){return Array.isArray(e)?new pe({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function ge(e){const t=e.getBoundingClientRect(),a=getComputedStyle(e),l=a.transform if(l){let o,n,r,i,s if(l.startsWith("matrix3d("))o=l.slice(9,-1).split(/, /),n=+o[0],r=+o[5],i=+o[12],s=+o[13] else{if(!l.startsWith("matrix("))return new pe(t) o=l.slice(7,-1).split(/, /),n=+o[0],r=+o[3],i=+o[4],s=+o[5]}const u=a.transformOrigin,c=t.x-i-(1-n)*parseFloat(u),d=t.y-s-(1-r)*parseFloat(u.slice(u.indexOf(" ")+1)),v=n?t.width/n:e.offsetWidth+1,p=r?t.height/r:e.offsetHeight+1 return new pe({x:c,y:d,width:v,height:p})}return new pe(t)}function he(e,t,a){if(void 0===e.animate)return{finished:Promise.resolve()} let l try{l=e.animate(t,a)}catch(e){return{finished:Promise.resolve()}}return void 0===l.finished&&(l.finished=new Promise((e=>{l.onfinish=()=>{e(l)}}))),l}const ye=new WeakMap function be(e,t){Object.keys(t).forEach((a=>{if(P(a)){const l=q(a),o=ye.get(e) if(null==t[a])o?.forEach((t=>{const[a,n]=t a===l&&(e.removeEventListener(l,n),o.delete(t))})) else if(!o||![...o]?.some((e=>e[0]===l&&e[1]===t[a]))){e.addEventListener(l,t[a]) const n=o||new Set n.add([l,t[a]]),ye.has(e)||ye.set(e,n)}}else null==t[a]?e.removeAttribute(a):e.setAttribute(a,t[a])}))}function Ve(e,t){Object.keys(t).forEach((t=>{if(P(t)){const a=q(t),l=ye.get(e) l?.forEach((t=>{const[o,n]=t o===a&&(e.removeEventListener(a,n),l.delete(t))}))}else e.removeAttribute(t)}))}const we=2.4,Se=.2126729,ke=.7151522,xe=.072175,Ne=.03,Ce=12.82051282051282,_e=.06 function Ie(e,t){const a=(e.r/255)**we,l=(e.g/255)**we,o=(e.b/255)**we,n=(t.r/255)**we,r=(t.g/255)**we,i=(t.b/255)**we let s,u=a*Se+l*ke+o*xe,c=n*Se+r*ke+i*xe if(u<=Ne&&(u+=(Ne-u)**1.45),c<=Ne&&(c+=(Ne-c)**1.45),Math.abs(c-u)<5e-4)return 0 if(c>u){const e=1.25*(c**.55-u**.58) s=e<.001?0:e<.078?e-e*Ce*_e:e-_e}else{const e=1.25*(c**.62-u**.57) s=e>-.001?0:e>-.078?e-e*Ce*_e:e+_e}return 100*s}function Pe(e){t.warn(`Vuetify: ${e}`)}function Be(e){t.warn(`Vuetify error: ${e}`)}const Ae=.20689655172413793,Re=e=>e>Ae**3?Math.cbrt(e):e/(3*Ae**2)+4/29,Te=e=>e>Ae?e**3:3*Ae**2*(e-4/29) function Ee(e){const t=Re,a=t(e[1]) return[116*a-16,500*(t(e[0]/.95047)-a),200*(a-t(e[2]/1.08883))]}function De(e){const t=Te,a=(e[0]+16)/116 return[.95047*t(a+e[1]/500),t(a),1.08883*t(a-e[2]/200)]}const Fe=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],$e=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,Me=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Le=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4 function Oe(e){const t=Array(3),a=$e,l=Fe for(let o=0;o<3;++o)t[o]=Math.round(255*E(a(l[o][0]*e[0]+l[o][1]*e[1]+l[o][2]*e[2]))) return{r:t[0],g:t[1],b:t[2]}}function ze(e){let{r:t,g:a,b:l}=e const o=[0,0,0],n=Le,r=Me t=n(t/255),a=n(a/255),l=n(l/255) for(let e=0;e<3;++e)o[e]=r[e][0]*t+r[e][1]*a+r[e][2]*l return o}function je(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const He=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,We={rgb:(e,t,a,l)=>({r:e,g:t,b:a,a:l}),rgba:(e,t,a,l)=>({r:e,g:t,b:a,a:l}),hsl:(e,t,a,l)=>Ye({h:e,s:t,l:a,a:l}),hsla:(e,t,a,l)=>Ye({h:e,s:t,l:a,a:l}),hsv:(e,t,a,l)=>Ge({h:e,s:t,v:a,a:l}),hsva:(e,t,a,l)=>Ge({h:e,s:t,v:a,a:l})} function Ue(e){if("number"==typeof e)return(isNaN(e)||e<0||e>16777215)&&Pe(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e} if("string"==typeof e&&He.test(e)){const{groups:t}=e.match(He),{fn:a,values:l}=t,o=l.split(/,\s*/).map((e=>e.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(a)?parseFloat(e)/100:parseFloat(e))) return We[a](...o)}if("string"==typeof e){let t=e.startsWith("#")?e.slice(1):e;[3,4].includes(t.length)?t=t.split("").map((e=>e+e)).join(""):[6,8].includes(t.length)||Pe(`'${e}' is not a valid hex(a) color`) const a=parseInt(t,16) return(isNaN(a)||a<0||a>4294967295)&&Pe(`'${e}' is not a valid hex(a) color`),tt(t)}if("object"==typeof e){if(k(e,["r","g","b"]))return e if(k(e,["h","s","l"]))return Ge(Xe(e)) if(k(e,["h","s","v"]))return Ge(e)}throw new TypeError(`Invalid color: ${null==e?e:String(e)||e.constructor.name}\nExpected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Ge(e){const{h:t,s:a,v:l,a:o}=e,n=e=>{const o=(e+t/60)%6 return l-l*a*Math.max(Math.min(o,4-o,1),0)},r=[n(5),n(3),n(1)].map((e=>Math.round(255*e))) return{r:r[0],g:r[1],b:r[2],a:o}}function Ye(e){return Ge(Xe(e))}function qe(e){if(!e)return{h:0,s:1,v:1,a:1} const t=e.r/255,a=e.g/255,l=e.b/255,o=Math.max(t,a,l),n=Math.min(t,a,l) let r=0 o!==n&&(o===t?r=60*(0+(a-l)/(o-n)):o===a?r=60*(2+(l-t)/(o-n)):o===l&&(r=60*(4+(t-a)/(o-n)))),r<0&&(r+=360) const i=[r,0===o?0:(o-n)/o,o] return{h:i[0],s:i[1],v:i[2],a:e.a}}function Ke(e){const{h:t,s:a,v:l,a:o}=e,n=l-l*a/2 return{h:t,s:1===n||0===n?0:(l-n)/Math.min(n,1-n),l:n,a:o}}function Xe(e){const{h:t,s:a,l,a:o}=e,n=l+a*Math.min(l,1-l) return{h:t,s:0===n?0:2-2*l/n,v:n,a:o}}function Ze(e){let{r:t,g:a,b:l,a:o}=e return void 0===o?`rgb(${t}, ${a}, ${l})`:`rgba(${t}, ${a}, ${l}, ${o})`}function Je(e){return Ze(Ge(e))}function Qe(e){const t=Math.round(e).toString(16) return("00".substr(0,2-t.length)+t).toUpperCase()}function et(e){let{r:t,g:a,b:l,a:o}=e return`#${[Qe(t),Qe(a),Qe(l),void 0!==o?Qe(Math.round(255*o)):""].join("")}`}function tt(e){e=function(e){e.startsWith("#")&&(e=e.slice(1)) 3!==(e=e.replace(/([^0-9a-f])/gi,"F")).length&&4!==e.length||(e=e.split("").map((e=>e+e)).join("")) 6!==e.length&&(e=F(F(e,6),8,"F")) return e}(e) let[t,a,l,o]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1 const a=[] let l=0 for(;l<e.length;)a.push(e.substr(l,t)),l+=t return a}(e,2).map((e=>parseInt(e,16))) return o=void 0===o?o:o/255,{r:t,g:a,b:l,a:o}}function at(e){return qe(tt(e))}function lt(e){return et(Ge(e))}function ot(e,t){const a=Ee(ze(e)) return a[0]=a[0]+10*t,Oe(De(a))}function nt(e,t){const a=Ee(ze(e)) return a[0]=a[0]-10*t,Oe(De(a))}function rt(e){return ze(Ue(e))[1]}function it(e,t){const a=rt(e),l=rt(t) return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)}function st(e){const t=Math.abs(Ie(Ue(0),Ue(e))) return Math.abs(Ie(Ue(16777215),Ue(e)))>Math.min(t,50)?"#fff":"#000"}const ut=Symbol.for("vuetify:defaults") function ct(e){return t.ref(e)}function dt(){const e=t.inject(ut) if(!e)throw new Error("[Vuetify] Could not find defaults instance") return e}function vt(e,a){const l=dt(),o=t.ref(e),n=t.computed((()=>{if(t.unref(a?.disabled))return l.value const e=t.unref(a?.scoped),n=t.unref(a?.reset),r=t.unref(a?.root) if(null==o.value&&!(e||n||r))return l.value let i=L(o.value,{prev:l.value}) if(e)return i if(n||r){const e=Number(n||1/0) for(let t=0;t<=e&&(i&&"prev"in i);t++)i=i.prev return i&&"string"==typeof r&&r in i&&(i=L(L(i,{prev:i}),i[r])),i}return i.prev?L(i.prev,i):i})) return t.provide(ut,n),n}function pt(e,t){return void 0!==e.props?.[t]||void 0!==e.props?.[z(t)]}function ft(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:dt() const o=wt("useDefaults") if(a=a??o.type.name??o.type.__name,!a)throw new Error("[Vuetify] Could not determine component name") const n=t.computed((()=>l.value?.[e._as??a])),r=new Proxy(e,{get(e,t){const a=Reflect.get(e,t) return"class"===t||"style"===t?[n.value?.[t],a].filter((e=>null!=e)):"string"!=typeof t||pt(o.vnode,t)?a:n.value?.[t]??l.value?.global?.[t]??a}}),i=t.shallowRef() function s(){const e=Bt(ut,o) t.provide(ut,t.computed((()=>i.value?L(e?.value??{},i.value):e?.value)))}return t.watchEffect((()=>{if(n.value){const e=Object.entries(n.value).filter((e=>{let[t]=e return t.startsWith(t[0].toUpperCase())})) i.value=e.length?Object.fromEntries(e):void 0}else i.value=void 0})),{props:r,provideSubDefaults:s}}function mt(e){if(e._setup=e._setup??e.setup,!e.name)return Pe("The component is missing an explicit name, unable to generate default prop value"),e if(e._setup){e.props=a(e.props??{},e.name)() const t=Object.keys(e.props).filter((e=>"class"!==e&&"style"!==e)) e.filterProps=function(e){return x(e,t)},e.props._as=String,e.setup=function(t,a){const l=dt() if(!l.value)return e._setup(t,a) const{props:o,provideSubDefaults:n}=ft(t,t._as??e.name,l),r=e._setup(o,a) return n(),r}}return e}function gt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0] return a=>(e?mt:t.defineComponent)(a)}function ht(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",o=arguments.length>2?arguments[2]:void 0 return gt()({name:o??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:a},...l()},setup(a,l){let{slots:o}=l return()=>t.h(a.tag,{class:[e,a.class],style:a.style},o.default?.())}})}function yt(e){if("function"!=typeof e.getRootNode){for(;e.parentNode;)e=e.parentNode return e!==document?null:document}const t=e.getRootNode() return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const bt="cubic-bezier(0.4, 0, 0.2, 1)" function Vt(e,t,a){return Object.keys(e).filter((e=>P(e)&&e.endsWith(t))).reduce(((l,o)=>(l[o.slice(0,-t.length)]=t=>e[o](t,a(t)),l)),{})}function wt(e,a){const l=t.getCurrentInstance() if(!l)throw new Error(`[Vuetify] ${e} ${a||"must be called from inside a setup function"}`) return l}function St(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables" const t=wt(e).type return z(t?.aliasName||t?.name)}let kt=0,xt=new WeakMap function Nt(){const e=wt("getUid") if(xt.has(e))return xt.get(e) {const t=kt++ return xt.set(e,t),t}}function Ct(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1] for(;e;){if(t?Pt(e):It(e))return e e=e.parentElement}return document.scrollingElement}function _t(e,t){const a=[] if(t&&e&&!t.contains(e))return a for(;e&&(It(e)&&a.push(e),e!==t);)e=e.parentElement return a}function It(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1 const t=window.getComputedStyle(e) return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}function Pt(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1 const t=window.getComputedStyle(e) return["scroll","auto"].includes(t.overflowY)}function Bt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wt("injectSelf") const{provides:a}=t if(a&&e in a)return a[e]}function At(e){wt("useRender").render=e}function Rt(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"content" const l=t.ref(),n=t.ref() if(o){const o=new ResizeObserver((t=>{e?.(t,o),t.length&&(n.value="content"===a?t[0].contentRect:t[0].target.getBoundingClientRect())})) t.onBeforeUnmount((()=>{o.disconnect()})),t.watch(l,((e,t)=>{t&&(o.unobserve(b(t)),n.value=void 0),e&&o.observe(b(e))}),{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(n)}}Nt.reset=()=>{kt=0,xt=new WeakMap} const Tt=Symbol.for("vuetify:layout"),Et=Symbol.for("vuetify:layout-item"),Dt=a({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Ft=a({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item") function $t(){const e=t.inject(Tt) if(!e)throw new Error("[Vuetify] Could not find injected layout") return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Mt(e){const a=t.inject(Tt) if(!a)throw new Error("[Vuetify] Could not find injected layout") const l=e.id??`layout-item-${Nt()}`,o=wt("useLayoutItem") t.provide(Et,{id:l}) const n=t.shallowRef(!1) t.onDeactivated((()=>n.value=!0)),t.onActivated((()=>n.value=!1)) const{layoutItemStyles:r,layoutItemScrimStyles:i}=a.register(o,{...e,active:t.computed((()=>!n.value&&e.active.value)),id:l}) return t.onBeforeUnmount((()=>a.unregister(l))),{layoutItemStyles:r,layoutRect:a.layoutRect,layoutItemScrimStyles:i}}function Lt(e){const a=t.inject(Tt,null),l=t.computed((()=>a?a.rootZIndex.value-100:1e3)),o=t.ref([]),n=t.reactive(new Map),r=t.reactive(new Map),i=t.reactive(new Map),s=t.reactive(new Map),u=t.reactive(new Map),{resizeRef:c,contentRect:d}=Rt(),v=t.computed((()=>{const t=new Map,a=e.overlaps??[] for(const e of a.filter((e=>e.includes(":")))){const[a,l]=e.split(":") if(!o.value.includes(a)||!o.value.includes(l))continue const i=n.get(a),s=n.get(l),u=r.get(a),c=r.get(l) i&&s&&u&&c&&(t.set(l,{position:i.value,amount:parseInt(u.value,10)}),t.set(a,{position:s.value,amount:-parseInt(c.value,10)}))}return t})),p=t.computed((()=>{const e=[...new Set([...i.values()].map((e=>e.value)))].sort(((e,t)=>e-t)),t=[] for(const a of e){const e=o.value.filter((e=>i.get(e)?.value===a)) t.push(...e)}return((e,t,a,l)=>{let o={top:0,left:0,right:0,bottom:0} const n=[{id:"",layer:{...o}}] for(const r of e){const e=t.get(r),i=a.get(r),s=l.get(r) if(!e||!i||!s)continue const u={...o,[e.value]:parseInt(o[e.value],10)+(s.value?parseInt(i.value,10):0)} n.push({id:r,layer:u}),o=u}return n})(t,n,r,s)})),f=t.computed((()=>!Array.from(u.values()).some((e=>e.value)))),m=t.computed((()=>p.value[p.value.length-1].layer)),g=t.computed((()=>({"--v-layout-left":h(m.value.left),"--v-layout-right":h(m.value.right),"--v-layout-top":h(m.value.top),"--v-layout-bottom":h(m.value.bottom),...f.value?void 0:{transition:"none"}}))),y=t.computed((()=>p.value.slice(1).map(((e,t)=>{let{id:a}=e const{layer:l}=p.value[t],o=r.get(a),i=n.get(a) return{id:a,...l,size:Number(o.value),position:i.value}})))),b=e=>y.value.find((t=>t.id===e)),V=wt("createLayout"),w=t.shallowRef(!1) t.onMounted((()=>{w.value=!0})),t.provide(Tt,{register:(e,a)=>{let{id:c,order:d,position:m,layoutSize:g,elementSize:h,active:b,disableTransitions:S,absolute:k}=a i.set(c,d),n.set(c,m),r.set(c,g),s.set(c,b),S&&u.set(c,S) const x=j(Et,V?.vnode).indexOf(e) x>-1?o.value.splice(x,0,c):o.value.push(c) const N=t.computed((()=>y.value.findIndex((e=>e.id===c)))),C=t.computed((()=>l.value+2*p.value.length-2*N.value)) return{layoutItemStyles:t.computed((()=>{const e="left"===m.value||"right"===m.value,t="right"===m.value,a="bottom"===m.value,o={[m.value]:0,zIndex:C.value,transform:`translate${e?"X":"Y"}(${(b.value?0:-110)*(t||a?-1:1)}%)`,position:k.value||1e3!==l.value?"absolute":"fixed",...f.value?void 0:{transition:"none"}} if(!w.value)return o const n=y.value[N.value] if(!n)throw new Error(`[Vuetify] Could not find layout item "${c}"`) const r=v.value.get(c) return r&&(n[r.position]+=r.amount),{...o,height:e?`calc(100% - ${n.top}px - ${n.bottom}px)`:h.value?`${h.value}px`:void 0,left:t?void 0:`${n.left}px`,right:t?`${n.right}px`:void 0,top:"bottom"!==m.value?`${n.top}px`:void 0,bottom:"top"!==m.value?`${n.bottom}px`:void 0,width:e?h.value?`${h.value}px`:void 0:`calc(100% - ${n.left}px - ${n.right}px)`}})),layoutItemScrimStyles:t.computed((()=>({zIndex:C.value-1}))),zIndex:C}},unregister:e=>{i.delete(e),n.delete(e),r.delete(e),s.delete(e),u.delete(e),o.value=o.value.filter((t=>t!==e))},mainRect:m,mainStyles:g,getLayoutItem:b,items:y,layoutRect:d,rootZIndex:l}) return{layoutClasses:t.computed((()=>["v-layout",{"v-layout--full-height":e.fullHeight}])),layoutStyles:t.computed((()=>({zIndex:a?l.value:void 0,position:a?"relative":void 0,overflow:a?"hidden":void 0}))),getLayoutItem:b,items:y,layoutRect:d,layoutRef:c}}function Ot(e,a){let l function o(){l=t.effectScope(),l.run((()=>a.length?a((()=>{l?.stop(),o()})):a()))}t.watch(e,(e=>{e&&!l?o():e||(l?.stop(),l=void 0)}),{immediate:!0}),t.onScopeDispose((()=>{l?.stop()}))}function zt(e,a,l){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e=>e const r=wt("useProxiedModel"),i=t.ref(void 0!==e[a]?e[a]:l),s=z(a),u=s!==a,c=u?t.computed((()=>(e[a],!(!r.vnode.props?.hasOwnProperty(a)&&!r.vnode.props?.hasOwnProperty(s)||!r.vnode.props?.hasOwnProperty(`onUpdate:${a}`)&&!r.vnode.props?.hasOwnProperty(`onUpdate:${s}`))))):t.computed((()=>(e[a],!(!r.vnode.props?.hasOwnProperty(a)||!r.vnode.props?.hasOwnProperty(`onUpdate:${a}`))))) Ot((()=>!c.value),(()=>{t.watch((()=>e[a]),(e=>{i.value=e}))})) const d=t.computed({get(){const t=e[a] return o(c.value?t:i.value)},set(l){const s=n(l),u=t.toRaw(c.value?e[a]:i.value) u!==s&&o(u)!==l&&(i.value=s,r?.emit(`update:${a}`,s))}}) return Object.defineProperty(d,"externalValue",{get:()=>c.value?e[a]:i.value}),d}var jt={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}} const Ht="$vuetify.",Wt=(e,t)=>e.replace(/\{(\d+)\}/g,((e,a)=>String(t[+a]))),Ut=(e,t,a)=>function(l){for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r] if(!l.startsWith(Ht))return Wt(l,n) const i=l.replace(Ht,""),s=e.value&&a.value[e.value],u=t.value&&a.value[t.value] let c=f(s,i,null) return c||(Pe(`Translation key "${l}" not found in "${e.value}", trying fallback locale`),c=f(u,i,null)),c||(Be(`Translation key "${l}" not found in fallback`),c=l),"string"!=typeof c&&(Be(`Translation key "${l}" has a non-string value`),c=l),Wt(c,n)} function Gt(e,t){return(a,l)=>new Intl.NumberFormat([e.value,t.value],l).format(a)}function Yt(e,a,l){const o=zt(e,a,e[a]??l.value) return o.value=e[a]??l.value,t.watch(l,(t=>{null==e[a]&&(o.value=l.value)})),o}function qt(e){return t=>{const a=Yt(t,"locale",e.current),l=Yt(t,"fallback",e.fallback),o=Yt(t,"messages",e.messages) return{name:"vuetify",current:a,fallback:l,messages:o,t:Ut(a,l,o),n:Gt(a,l),provide:qt({current:a,fallback:l,messages:o})}}}const Kt=Symbol.for("vuetify:locale") function Xt(e){const a=e?.adapter&&(l=e?.adapter,null!=l.name)?e?.adapter:function(e){const a=t.shallowRef(e?.locale??"en"),l=t.shallowRef(e?.fallback??"en"),o=t.ref({en:jt,...e?.messages}) return{name:"vuetify",current:a,fallback:l,messages:o,t:Ut(a,l,o),n:Gt(a,l),provide:qt({current:a,fallback:l,messages:o})}}(e) var l const o=function(e,a){const l=t.ref(a?.rtl??{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}),o=t.computed((()=>l.value[e.current.value]??!1)) return{isRtl:o,rtl:l,rtlClasses:t.computed((()=>"v-locale--is-"+(o.value?"rtl":"ltr")))}}(a,e) return{...a,...o}}function Zt(){const e=t.inject(Kt) if(!e)throw new Error("[Vuetify] Could not find injected locale instance") return e}function Jt(e){const a=t.inject(Kt) if(!a)throw new Error("[Vuetify] Could not find injected locale instance") const l=a.provide(e),o=function(e,a,l){const o=t.computed((()=>l.rtl??a.value[e.current.value]??!1)) return{isRtl:o,rtl:a,rtlClasses:t.computed((()=>"v-locale--is-"+(o.value?"rtl":"ltr")))}}(l,a.rtl,e),n={...l,...o} return t.provide(Kt,n),n}function Qt(){const e=t.inject(Kt) if(!e)throw new Error("[Vuetify] Could not find injected rtl instance") return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const ea=Symbol.for("vuetify:theme"),ta=a({theme:String},"theme") function aa(e){const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}} const t={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}} if(!e)return{...t,isDisabled:!0} const a={} for(const[l,o]of Object.entries(e.themes??{})){const e=o.dark||"dark"===l?t.themes?.dark:t.themes?.light a[l]=L(e,o)}return L(t,{...e,themes:a})}(e),l=t.ref(a.defaultTheme),n=t.ref(a.themes),r=t.computed((()=>{const e={} for(const[t,l]of Object.entries(n.value)){const o=e[t]={...l,colors:{...l.colors}} if(a.variations)for(const e of a.variations.colors){const t=o.colors[e] if(t)for(const l of["lighten","darken"]){const n="lighten"===l?ot:nt for(const r of g(a.variations[l],1))o.colors[`${e}-${l}-${r}`]=et(n(Ue(t),r))}}for(const e of Object.keys(o.colors)){if(/^on-[a-z]/.test(e)||o.colors[`on-${e}`])continue const t=`on-${e}`,a=Ue(o.colors[e]) o.colors[t]=st(a)}}return e})),i=t.computed((()=>r.value[l.value])),s=t.computed((()=>{const e=[] i.value.dark&&na(e,":root",["color-scheme: dark"]),na(e,":root",ra(i.value)) for(const[t,a]of Object.entries(r.value))na(e,`.v-theme--${t}`,["color-scheme: "+(a.dark?"dark":"normal"),...ra(a)]) const t=[],a=[],l=new Set(Object.values(r.value).flatMap((e=>Object.keys(e.colors)))) for(const e of l)/^on-[a-z]/.test(e)?na(a,`.${e}`,[`color: rgb(var(--v-theme-${e})) !important`]):(na(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${e})) !important`,`color: rgb(var(--v-theme-on-${e})) !important`]),na(a,`.text-${e}`,[`color: rgb(var(--v-theme-${e})) !important`]),na(a,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`])) return e.push(...t,...a),e.map(((e,t)=>0===t?e:` ${e}`)).join("")})) function u(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:a.cspNonce||!1}]}}const c=t.computed((()=>a.isDisabled?void 0:`v-theme--${l.value}`)) return{install:function(e){if(a.isDisabled)return const l=e._context.provides.usehead if(l)if(l.push){const e=l.push(u) o&&t.watch(s,(()=>{e.patch(u)}))}else o?(l.addHeadObjs(t.computed(u)),t.watchEffect((()=>l.updateDOM()))):l.addHeadObjs(u()) else{let e=o?document.getElementById("vuetify-theme-stylesheet"):null function l(){if("undefined"!=typeof document&&!e){const t=document.createElement("style") t.type="text/css",t.id="vuetify-theme-stylesheet",a.cspNonce&&t.setAttribute("nonce",a.cspNonce),e=t,document.head.appendChild(e)}e&&(e.innerHTML=s.value)}o?t.watch(s,l,{immediate:!0}):l()}},isDisabled:a.isDisabled,name:l,themes:n,current:i,computedThemes:r,themeClasses:c,styles:s,global:{name:l,current:i}}}function la(e){wt("provideTheme") const a=t.inject(ea,null) if(!a)throw new Error("Could not find Vuetify theme injection") const l=t.computed((()=>e.theme??a.name.value)),o=t.computed((()=>a.themes.value[l.value])),n=t.computed((()=>a.isDisabled?void 0:`v-theme--${l.value}`)),r={...a,name:l,current:o,themeClasses:n} return t.provide(ea,r),r}function oa(){wt("useTheme") const e=t.inject(ea,null) if(!e)throw new Error("Could not find Vuetify theme injection") return e}function na(e,t,a){e.push(`${t} {\n`,...a.map((e=>` ${e};\n`)),"}\n")}function ra(e){const t=e.dark?2:1,a=e.dark?1:2,l=[] for(const[o,n]of Object.entries(e.colors)){const e=Ue(n) l.push(`--v-theme-${o}: ${e.r},${e.g},${e.b}`),o.startsWith("on-")||l.push(`--v-theme-${o}-overlay-multiplier: ${rt(n)>.18?t:a}`)}for(const[t,a]of Object.entries(e.variables)){const e="string"==typeof a&&a.startsWith("#")?Ue(a):void 0,o=e?`${e.r}, ${e.g}, ${e.b}`:void 0 l.push(`--v-${t}: ${o??a}`)}return l}const ia=a({...l(),...Dt({fullHeight:!0}),...ta()},"VApp"),sa=gt()({name:"VApp",props:ia(),setup(e,a){let{slots:l}=a const o=la(e),{layoutClasses:n,getLayoutItem:r,items:i,layoutRef:s}=Lt(e),{rtlClasses:u}=Qt() return At((()=>t.createVNode("div",{ref:s,class:["v-application",o.themeClasses.value,n.value,u.value,e.class],style:[e.style]},[t.createVNode("div",{class:"v-application__wrap"},[l.default?.()])]))),{getLayoutItem:r,items:i,theme:o}}}),ua=a({tag:{type:String,default:"div"}},"tag"),ca=a({text:String,...l(),...ua()},"VToolbarTitle"),da=gt()({name:"VToolbarTitle",props:ca(),setup(e,a){let{slots:l}=a return At((()=>{const a=!!(l.default||l.text||e.text) return t.createVNode(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>[a&&t.createVNode("div",{class:"v-toolbar-title__placeholder"},[l.text?l.text():e.text,l.default?.()])]})})),{}}}),va=a({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition") function pa(e,a,l){return gt()({name:e,props:va({mode:l,origin:a}),setup(a,l){let{slots:o}=l const n={onBeforeEnter(e){a.origin&&(e.style.transformOrigin=a.origin)},onLeave(e){if(a.leaveAbsolute){const{offsetTop:t,offsetLeft:a,offsetWidth:l,offsetHeight:o}=e e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=`${t}px`,e.style.left=`${a}px`,e.style.width=`${l}px`,e.style.height=`${o}px`}a.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave(e){if(a.leaveAbsolute&&e?._transitionInitialStyles){const{position:t,top:a,left:l,width:o,height:n}=e._transitionInitialStyles delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=a||"",e.style.left=l||"",e.style.width=o||"",e.style.height=n||""}}} return()=>{const l=a.group?t.TransitionGroup:t.Transition return t.h(l,{name:a.disabled?"":e,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:n},o.default)}}})}function fa(e,a){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out" return gt()({name:e,props:{mode:{type:String,default:l},disabled:Boolean},setup(l,o){let{slots:n}=o return()=>t.h(t.Transition,{name:l.disabled?"":e,css:!l.disabled,...l.disabled?{}:a},n.default)}})}function ma(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1] const l=a?"width":"height",o=t.camelize(`offset-${l}`) return{onBeforeEnter(e){e._parent=e.parentNode,e._initialStyle={transition:e.style.transition,overflow:e.style.overflow,[l]:e.style[l]}},onEnter(t){const a=t._initialStyle t.style.setProperty("transition","none","important"),t.style.overflow="hidden" const n=`${t[o]}px` t.style[l]="0",t.offsetHeight,t.style.transition=a.transition,e&&t._parent&&t._parent.classList.add(e),requestAnimationFrame((()=>{t.style[l]=n}))},onAfterEnter:r,onEnterCancelled:r,onLeave(e){e._initialStyle={transition:"",overflow:e.style.overflow,[l]:e.style[l]},e.style.overflow="hidden",e.style[l]=`${e[o]}px`,e.offsetHeight,requestAnimationFrame((()=>e.style[l]="0"))},onAfterLeave:n,onLeaveCancelled:n} function n(t){e&&t._parent&&t._parent.classList.remove(e),r(t)}function r(e){const t=e._initialStyle[l] e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[l]=t),delete e._initialStyle}}const ga=a({target:[Object,Array]},"v-dialog-transition"),ha=gt()({name:"VDialogTransition",props:ga(),setup(e,a){let{slots:l}=a const o={onBeforeEnter(e){e.style.pointerEvents="none",e.style.visibility="hidden"},async onEnter(t,a){await new Promise((e=>requestAnimationFrame(e))),await new Promise((e=>requestAnimationFrame(e))),t.style.visibility="" const{x:l,y:o,sx:n,sy:r,speed:i}=ba(e.target,t),s=he(t,[{transform:`translate(${l}px, ${o}px) scale(${n}, ${r})`,opacity:0},{}],{duration:225*i,easing:"cubic-bezier(0.0, 0, 0.2, 1)"}) ya(t)?.forEach((e=>{he(e,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*i,easing:bt})})),s.finished.then((()=>a()))},onAfterEnter(e){e.style.removeProperty("pointer-events")},onBeforeLeave(e){e.style.pointerEvents="none"},async onLeave(t,a){await new Promise((e=>requestAnimationFrame(e))) const{x:l,y:o,sx:n,sy:r,speed:i}=ba(e.target,t) he(t,[{},{transform:`translate(${l}px, ${o}px) scale(${n}, ${r})`,opacity:0}],{duration:125*i,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then((()=>a())),ya(t)?.forEach((e=>{he(e,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*i,easing:bt})}))},onAfterLeave(e){e.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 ya(e){const t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children return t&&[...t]}function ba(e,t){const a=me(e),l=ge(t),[o,n]=getComputedStyle(t).transformOrigin.split(" ").map((e=>parseFloat(e))),[r,i]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ") let s=a.left+a.width/2 "left"===r||"left"===i?s-=a.width/2:"right"!==r&&"right"!==i||(s+=a.width/2) let u=a.top+a.height/2 "top"===r||"top"===i?u-=a.height/2:"bottom"!==r&&"bottom"!==i||(u+=a.height/2) const c=a.width/l.width,d=a.height/l.height,v=Math.max(1,c,d),p=c/v||0,f=d/v||0,m=l.width*l.height/(window.innerWidth*window.innerHeight),g=m>.12?Math.min(1.5,10*(m-.12)+1):1 return{x:s-(o+l.left),y:u-(n+l.top),sx:p,sy:f,speed:g}}const Va=pa("fab-transition","center center","out-in"),wa=pa("dialog-bottom-transition"),Sa=pa("dialog-top-transition"),ka=pa("fade-transition"),xa=pa("scale-transition"),Na=pa("scroll-x-transition"),Ca=pa("scroll-x-reverse-transition"),_a=pa("scroll-y-transition"),Ia=pa("scroll-y-reverse-transition"),Pa=pa("slide-x-transition"),Ba=pa("slide-x-reverse-transition"),Aa=pa("slide-y-transition"),Ra=pa("slide-y-reverse-transition"),Ta=fa("expand-transition",ma()),Ea=fa("expand-x-transition",ma("",!0)),Da=a({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=gt(!1)({name:"VDefaultsProvider",props:Da(),setup(e,a){let{slots:l}=a const{defaults:o,disabled:n,reset:r,root:i,scoped:s}=t.toRefs(e) return vt(o,{reset:r,root:i,scoped:s,disabled:n}),()=>l.default?.()}}),$a=a({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension") function Ma(e){return{dimensionStyles:t.computed((()=>({height:h(e.height),maxHeight:h(e.maxHeight),maxWidth:h(e.maxWidth),minHeight:h(e.minHeight),minWidth:h(e.minWidth),width:h(e.width)})))}}const La=a({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...l(),...$a()},"VResponsive"),Oa=gt()({name:"VResponsive",props:La(),setup(e,a){let{slots:l}=a const{aspectStyles:o}=function(e){return{aspectStyles:t.computed((()=>{const t=Number(e.aspectRatio) return t?{paddingBottom:String(1/t*100)+"%"}:void 0}))}}(e),{dimensionStyles:n}=Ma(e) return At((()=>t.createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[n.value,e.style]},[t.createVNode("div",{class:"v-responsive__sizer",style:o.value},null),l.additional?.(),l.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[l.default()])]))),{}}}) function za(e){return G((()=>{const t=[],a={} if(e.value.background)if(je(e.value.background)){if(a.backgroundColor=e.value.background,!e.value.text&&(je(l=e.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l))){const t=Ue(e.value.background) if(null==t.a||1===t.a){const e=st(t) a.color=e,a.caretColor=e}}}else t.push(`bg-${e.value.background}`) var l return e.value.text&&(je(e.value.text)?(a.color=e.value.text,a.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:a}}))}function ja(e,a){const l=t.computed((()=>({text:t.isRef(e)?e.value:a?e[a]:null}))),{colorClasses:o,colorStyles:n}=za(l) return{textColorClasses:o,textColorStyles:n}}function Ha(e,a){const l=t.computed((()=>({background:t.isRef(e)?e.value:a?e[a]:null}))),{colorClasses:o,colorStyles:n}=za(l) return{backgroundColorClasses:o,backgroundColorStyles:n}}const Wa=a({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded") function Ua(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:St() const l=t.computed((()=>{const l=t.isRef(e)?e.value:e.rounded,o=[] if(!0===l||""===l)o.push(`${a}--rounded`) else if("string"==typeof l||0===l)for(const e of String(l).split(" "))o.push(`rounded-${e}`) return o})) return{roundedClasses:l}}const Ga=a({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>!0!==e}},"transition"),Ya=(e,a)=>{let{slots:l}=a const{transition:o,disabled:n,...r}=e,{component:i=t.Transition,...s}="object"==typeof o?o:{} return t.h(i,t.mergeProps("string"==typeof o?{name:n?"":o}:s,r,{disabled:n}),l)} function qa(e,t){const a=e._observe?.[t.instance.$.uid] a&&(a.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Ka={mounted:function(e,t){if(!n)return const a=t.modifiers||{},l=t.value,{handler:o,options:r}="object"==typeof l?l:{handler:l,options:{}},i=new IntersectionObserver((function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0 const r=e._observe?.[t.instance.$.uid] if(!r)return const i=l.some((e=>e.isIntersecting)) !o||a.quiet&&!r.init||a.once&&!i&&!r.init||o(i,l,n),i&&a.once?qa(e,t):r.init=!0}),r) e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)},unmounted:qa},Xa=a({alt:String,cover:Boolean,color:String,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,...La(),...l(),...Wa(),...Ga()},"VImg"),Za=gt()({name:"VImg",directives:{intersect:Ka},props:Xa(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,a){let{emit:l,slots:o}=a const{backgroundColorClasses:r,backgroundColorStyles:i}=Ha(t.toRef(e,"color")),{roundedClasses:s}=Ua(e),u=wt("VImg"),c=t.shallowRef(""),d=t.ref(),v=t.shallowRef(e.eager?"loading":"idle"),p=t.shallowRef(),f=t.shallowRef(),m=t.computed((()=>e.src&&"object"==typeof e.src?{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)})),g=t.computed((()=>m.value.aspect||p.value/f.value||0)) function y(a){if((!e.eager||!a)&&(!n||a||e.eager)){if(v.value="loading",m.value.lazySrc){const e=new Image e.src=m.value.lazySrc,k(e,null)}m.value.src&&t.nextTick((()=>{l("loadstart",d.value?.currentSrc||m.value.src),setTimeout((()=>{if(!u.isUnmounted)if(d.value?.complete){if(d.value.naturalWidth||V(),"error"===v.value)return g.value||k(d.value,null),"loading"===v.value&&b()}else g.value||k(d.value),w()}))}))}}function b(){u.isUnmounted||(w(),k(d.value),v.value="loaded",l("load",d.value?.currentSrc||m.value.src))}function V(){u.isUnmounted||(v.value="error",l("error",d.value?.currentSrc||m.value.src))}function w(){const e=d.value e&&(c.value=e.currentSrc||e.src)}t.watch((()=>e.src),(()=>{y("idle"!==v.value)})),t.watch(g,((e,t)=>{!e&&t&&d.value&&k(d.value)})),t.onBeforeMount((()=>y())) let S=-1 function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100 const a=()=>{if(clearTimeout(S),u.isUnmounted)return const{naturalHeight:l,naturalWidth:o}=e l||o?(p.value=o,f.value=l):e.complete||"loading"!==v.value||null==t?(e.currentSrc.endsWith(".svg")||e.currentSrc.startsWith("data:image/svg+xml"))&&(p.value=1,f.value=1):S=window.setTimeout(a,t)} a()}t.onBeforeUnmount((()=>{clearTimeout(S)})) const x=t.computed((()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}))),N=()=>{if(!m.value.src||"idle"===v.value)return null const a=t.createVNode("img",{class:["v-img__img",x.value],style:{objectPosition:e.position},src:m.value.src,srcset:m.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:d,onLoad:b,onError:V},null),l=o.sources?.() return t.createVNode(Ya,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(l?t.createVNode("picture",{class:"v-img__picture"},[l,a]):a,[[t.vShow,"loaded"===v.value]])]})},C=()=>t.createVNode(Ya,{transition:e.transition},{default:()=>[m.value.lazySrc&&"loaded"!==v.value&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",x.value],style:{objectPosition:e.position},src:m.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),_=()=>o.placeholder?t.createVNode(Ya,{transition:e.transition,appear:!0},{default:()=>[("loading"===v.value||"error"===v.value&&!o.error)&&t.createVNode("div",{class:"v-img__placeholder"},[o.placeholder()])]}):null,I=()=>o.error?t.createVNode(Ya,{transition:e.transition,appear:!0},{default:()=>["error"===v.value&&t.createVNode("div",{class:"v-img__error"},[o.error()])]}):null,P=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,B=t.shallowRef(!1) {const e=t.watch(g,(t=>{t&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{B.value=!0}))})),e())}))}return At((()=>{const a=Oa.filterProps(e) return t.withDirectives(t.createVNode(Oa,t.mergeProps({class:["v-img",{"v-img--booting