diff --git a/.eslintrc.js b/.eslintrc.js index e785666..bac27aa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,6 +13,7 @@ module.exports = { ], ignorePatterns: [ '.eslintrc.js', + 'stylelint.config.js', 'vite.build.config.mts', 'vite.config.mts', '*.bk.vue', diff --git a/CHANGELOG.md b/CHANGELOG.md index 435c092..0c0ee51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Change Log All notable changes to the "vuetify-color-field" plugin will be documented in this file. +## v1.1.2 +01-11-24 +[main] (@webdevnerdstuff) +* Fix settings reactivity +* Update packages + ## v1.1.1 01-10-24 [main] (@webdevnerdstuff) diff --git a/dist/vuetify-color-field.cjs.js b/dist/vuetify-color-field.cjs.js index 8355a99..6ea0008 100644 --- a/dist/vuetify-color-field.cjs.js +++ b/dist/vuetify-color-field.cjs.js @@ -1,12 +1,12 @@ "use strict";/** * @name @wdns/vuetify-color-field - * @version 1.1.1 + * @version 1.1.2 * @description Vuetify Color Field is a Vuetify VTextField Color Picker Component * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2024, WebDevNerdStuff * @homepage https://webdevnerdstuff.github.io/vuetify-color-field/ * @repository https://github.com/webdevnerdstuff/vuetify-color-field * @license MIT License - */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),ga=require("@vueuse/core"),ke=e=>{const{unit:n="px",value:a}=e;if(a!=null&&a!=="")return+a?`${Number(a)}${n}`:String(a)},Ve="v-color-field",ha={fa:{default:"fa-solid fa-palette",pip:"fa-solid fa-circle"},mdi:{default:"mdi:mdi-palette",pip:"mdi:mdi-circle"}},xn=e=>{const{icon:n,iconOptions:a,name:l}=e;if(n)return n;let i=((a==null?void 0:a.defaultSet)??"").toLowerCase();i=i==="fa"||i==="fasvg"?"fa":i;const o=ha[i];if(!o)throw new Error(`[VColorField]: No default ${a==null?void 0:a.defaultSet} icon set found.`);const s=o[l];if(!s)throw new Error(`[VColorField]: No ${l} icon found.`);return s},tt=typeof window<"u",Bt=tt&&"IntersectionObserver"in window,Ut=tt&&"EyeDropper"in window;function nt(e,n){if(e===n)return!0;if(e instanceof Date&&n instanceof Date&&e.getTime()!==n.getTime()||e!==Object(e)||n!==Object(n))return!1;const a=Object.keys(e);return a.length===Object.keys(n).length&&a.every(l=>nt(e[l],n[l]))}function T(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 wt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function qt(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 Xt=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}),ya=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 we(e,n){return n.every(a=>e.hasOwnProperty(a))}function _n(e,n){const a={},l=new Set(Object.keys(e));for(const i of n)l.has(i)&&(a[i]=e[i]);return a}function Gt(e,n,a){const l=Object.create(null),i=Object.create(null);for(const o in e)n.some(s=>s instanceof RegExp?s.test(o):s===o)&&!(a!=null&&a.some(s=>s===o))?l[o]=e[o]:i[o]=e[o];return[l,i]}function Bn(e,n){const a={...e};return n.forEach(l=>delete a[l]),a}const In=/^on[^a-z]/,ba=["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 Oe(e){return e==null?[]:Array.isArray(e)?e:[e]}function Be(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(n,Math.min(a,e))}function Yt(e){const n=e.toString().trim();return n.includes(".")?n.length-n.indexOf(".")-1:0}function Kt(e,n){return e+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,n-e.length))}function Ie(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;const l={};for(const i in e)l[i]=e[i];for(const i in n){const o=e[i],s=n[i];wt(o)&&wt(s)?l[i]=Ie(o,s,a):Array.isArray(o)&&Array.isArray(s)&&a?l[i]=a(o,s):l[i]=s}return l}function $n(e){return e.map(n=>n.type===t.Fragment?$n(n.children):n).flat()}function Ce(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ce.cache.has(e))return Ce.cache.get(e);const n=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ce.cache.set(e,n),n}function Ye(e,n){if(!n||typeof n!="object")return[];if(Array.isArray(n))return n.map(a=>Ye(e,a)).flat(1);if(Array.isArray(n.children))return n.children.map(a=>Ye(e,a)).flat(1);if(n.component){if(Object.getOwnPropertySymbols(n.component.provides).includes(e))return[n.component];if(n.component.subTree)return Ye(e,n.component.subTree).flat(1)}return[]}function Pn(e){const n=t.reactive({}),a=t.computed(e);return t.watchEffect(()=>{for(const l in a.value)n[l]=a.value[l]},{flush:"sync"}),t.toRefs(n)}function St(e,n){return e.includes(n)}Ce.cache=new Map;const Re=()=>[Function,Array];function Zt(e,n){return!!(e[n="on"+t.capitalize(n)]||e[`${n}Once`]||e[`${n}Capture`]||e[`${n}OnceCapture`]||e[`${n}CaptureOnce`])}const ka=["top","bottom"],Va=["start","end","left","right"];function Jt(e,n){return e==="start"?n?"right":"left":e==="end"?n?"left":"right":e}class mt{constructor(n){let{x:a,y:l,width:i,height:o}=n;this.x=a,this.y=l,this.width=i,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}}const _e=2.4,Qt=.2126729,en=.7151522,tn=.072175,wa=.55,Sa=.58,Ca=.57,Na=.62,He=.03,nn=1.45,xa=5e-4,_a=1.25,Ba=1.25,an=.078,ln=12.82051282051282,We=.06,on=.001;function rn(e,n){const a=(e.r/255)**_e,l=(e.g/255)**_e,i=(e.b/255)**_e,o=(n.r/255)**_e,s=(n.g/255)**_e,r=(n.b/255)**_e;let u,p=a*Qt+l*en+i*tn,c=o*Qt+s*en+r*tn;if(p<=He&&(p+=(He-p)**nn),c<=He&&(c+=(He-c)**nn),Math.abs(c-p)p){const d=(c**wa-p**Sa)*_a;u=d-on?0:d>-an?d-d*ln*We:d+We}return 100*u}function ze(e){t.warn(`Vuetify: ${e}`)}const Ia=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],$a=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function gt(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const sn=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Pa={rgb:(e,n,a,l)=>({r:e,g:n,b:a,a:l}),rgba:(e,n,a,l)=>({r:e,g:n,b:a,a:l}),hsl:(e,n,a,l)=>un({h:e,s:n,l:a,a:l}),hsla:(e,n,a,l)=>un({h:e,s:n,l:a,a:l}),hsv:(e,n,a,l)=>se({h:e,s:n,v:a,a:l}),hsva:(e,n,a,l)=>se({h:e,s:n,v:a,a:l})};function ve(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&ze(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e};if(typeof e=="string"&&sn.test(e)){const{groups:n}=e.match(sn),{fn:a,values:l}=n,i=l.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(a)?parseFloat(o)/100:parseFloat(o));return Pa[a](...i)}if(typeof e=="string"){let n=e.startsWith("#")?e.slice(1):e;[3,4].includes(n.length)?n=n.split("").map(l=>l+l).join(""):[6,8].includes(n.length)||ze(`'${e}' is not a valid hex(a) color`);const a=parseInt(n,16);return(isNaN(a)||a<0||a>4294967295)&&ze(`'${e}' is not a valid hex(a) color`),En(n)}if(typeof e=="object"){if(we(e,["r","g","b"]))return e;if(we(e,["h","s","l"]))return se(It(e));if(we(e,["h","s","v"]))return se(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 se(e){const{h:n,s:a,v:l,a:i}=e,o=r=>{const u=(r+n/60)%6;return l-l*a*Math.max(Math.min(u,4-u,1),0)},s=[o(5),o(3),o(1)].map(r=>Math.round(255*r));return{r:s[0],g:s[1],b:s[2],a:i}}function un(e){return se(It(e))}function at(e){if(!e)return{h:0,s:1,v:1,a:1};const n=e.r/255,a=e.g/255,l=e.b/255,i=Math.max(n,a,l),o=Math.min(n,a,l);let s=0;i!==o&&(i===n?s=60*(0+(a-l)/(i-o)):i===a?s=60*(2+(l-n)/(i-o)):i===l&&(s=60*(4+(n-a)/(i-o)))),s<0&&(s+=360);const r=[s,i===0?0:(i-o)/i,i];return{h:r[0],s:r[1],v:r[2],a:e.a}}function Rn(e){const{h:n,s:a,v:l,a:i}=e,o=l-l*a/2;return{h:n,s:o===1||o===0?0:(l-o)/Math.min(o,1-o),l:o,a:i}}function It(e){const{h:n,s:a,l,a:i}=e,o=l+a*Math.min(l,1-l);return{h:n,s:o===0?0:2-2*l/o,v:o,a:i}}function zn(e){let{r:n,g:a,b:l,a:i}=e;return i===void 0?`rgb(${n}, ${a}, ${l})`:`rgba(${n}, ${a}, ${l}, ${i})`}function An(e){return zn(se(e))}function Ue(e){const n=Math.round(e).toString(16);return("00".substr(0,2-n.length)+n).toUpperCase()}function En(e){e=function(o){return o.startsWith("#")&&(o=o.slice(1)),o=o.replace(/([^0-9a-f])/gi,"F"),(o.length===3||o.length===4)&&(o=o.split("").map(s=>s+s).join("")),o.length!==6&&(o=Kt(Kt(o,6),8,"F")),o}(e);let[n,a,l,i]=function(o){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let u=0;for(;uparseInt(o,16));return i=i===void 0?i:i/255,{r:n,g:a,b:l,a:i}}function On(e){return at(En(e))}function Tn(e){return function(n){let{r:a,g:l,b:i,a:o}=n;return`#${[Ue(a),Ue(l),Ue(i),o!==void 0?Ue(Math.round(255*o)):""].join("")}`}(se(e))}function cn(e){return function(n){let{r:a,g:l,b:i}=n;const o=[0,0,0],s=$a,r=Ia;a=s(a/255),l=s(l/255),i=s(i/255);for(let u=0;u<3;++u)o[u]=r[u][0]*a+r[u][1]*l+r[u][2]*i;return o}(ve(e))[1]}function Ra(e,n){const a=cn(e),l=cn(n);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)}function z(e,n){return a=>Object.keys(e).reduce((l,i)=>{const o=typeof e[i]=="object"&&e[i]!=null&&!Array.isArray(e[i])?e[i]:{type:e[i]};return l[i]=a&&i in a?{...o,default:a[i]}:o,n&&!l[i].source&&(l[i].source=n),l},{})}const H=z({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Ze=Symbol.for("vuetify:defaults");function $t(){const e=t.inject(Ze);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function lt(e,n){const a=$t(),l=t.ref(e),i=t.computed(()=>{if(t.unref(n==null?void 0:n.disabled))return a.value;const o=t.unref(n==null?void 0:n.scoped),s=t.unref(n==null?void 0:n.reset),r=t.unref(n==null?void 0:n.root);if(l.value==null&&!(o||s||r))return a.value;let u=Ie(l.value,{prev:a.value});if(o)return u;if(s||r){const p=Number(s||1/0);for(let c=0;c<=p&&u&&"prev"in u;c++)u=u.prev;return u&&typeof r=="string"&&r in u&&(u=Ie(Ie(u,{prev:u}),u[r])),u}return u.prev?Ie(u.prev,u):u});return t.provide(Ze,i),i}function za(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$t();const l=oe("useDefaults");if(n=n??l.type.name??l.type.__name,!n)throw new Error("[Vuetify] Could not determine component name");const i=t.computed(()=>{var r;return(r=a.value)==null?void 0:r[e._as??n]}),o=new Proxy(e,{get(r,u){var c,d,v,m;const p=Reflect.get(r,u);return u==="class"||u==="style"?[(c=i.value)==null?void 0:c[u],p].filter(_=>_!=null):typeof u!="string"||function(_,y){var S,k;return((S=_.props)==null?void 0:S[y])!==void 0||((k=_.props)==null?void 0:k[Ce(y)])!==void 0}(l.vnode,u)?p:((d=i.value)==null?void 0:d[u])??((m=(v=a.value)==null?void 0:v.global)==null?void 0:m[u])??p}}),s=t.shallowRef();return t.watchEffect(()=>{if(i.value){const r=Object.entries(i.value).filter(u=>{let[p]=u;return p.startsWith(p[0].toUpperCase())});s.value=r.length?Object.fromEntries(r):void 0}else s.value=void 0}),{props:o,provideSubDefaults:function(){const r=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe("injectSelf");const{provides:c}=p;if(c&&u in c)return c[u]}(Ze,l);t.provide(Ze,t.computed(()=>s.value?Ie((r==null?void 0:r.value)??{},s.value):r==null?void 0:r.value))}}}function ue(e){if(e._setup=e._setup??e.setup,!e.name)return ze("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=z(e.props??{},e.name)();const n=Object.keys(e.props).filter(a=>a!=="class"&&a!=="style");e.filterProps=function(a){return _n(a,n)},e.props._as=String,e.setup=function(a,l){const i=$t();if(!i.value)return e._setup(a,l);const{props:o,provideSubDefaults:s}=za(a,a._as??e.name,i),r=e._setup(o,l);return s(),r}}return e}function L(){let e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return n=>(e?ue:t.defineComponent)(n)}function Pt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0;return L()({name:a??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:n},...H()},setup(l,i){let{slots:o}=i;return()=>{var s;return t.h(l.tag,{class:[e,l.class],style:l.style},(s=o.default)==null?void 0:s.call(o))}}})}function oe(e,n){const a=t.getCurrentInstance();if(!a)throw new Error(`[Vuetify] ${e} ${n||"must be called from inside a setup function"}`);return a}function de(){const e=oe(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Ce((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let Fn=0,Ke=new WeakMap;function Me(){const e=oe("getUid");if(Ke.has(e))return Ke.get(e);{const n=Fn++;return Ke.set(e,n),n}}function j(e){oe("useRender").render=e}Me.reset=()=>{Fn=0,Ke=new WeakMap};const Aa=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ct(e,n){let a;function l(){a=t.effectScope(),a.run(()=>n.length?n(()=>{a==null||a.stop(),l()}):n())}t.watch(e,i=>{i&&!a?l():i||(a==null||a.stop(),a=void 0)},{immediate:!0}),t.onScopeDispose(()=>{a==null||a.stop()})}function ce(e,n,a){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:c=>c,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:c=>c;const o=oe("useProxiedModel"),s=t.ref(e[n]!==void 0?e[n]:a),r=Ce(n),u=r!==n?t.computed(()=>{var c,d,v,m;return e[n],!(!((c=o.vnode.props)!=null&&c.hasOwnProperty(n))&&!((d=o.vnode.props)!=null&&d.hasOwnProperty(r))||!((v=o.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${n}`))&&!((m=o.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${r}`)))}):t.computed(()=>{var c,d;return e[n],!(!((c=o.vnode.props)!=null&&c.hasOwnProperty(n))||!((d=o.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${n}`)))});Ct(()=>!u.value,()=>{t.watch(()=>e[n],c=>{s.value=c})});const p=t.computed({get(){const c=e[n];return l(u.value?c:s.value)},set(c){const d=i(c),v=t.toRaw(u.value?e[n]:s.value);v!==d&&l(v)!==c&&(s.value=d,o==null||o.emit(`update:${n}`,d))}});return Object.defineProperty(p,"externalValue",{get:()=>u.value?e[n]:s.value}),p}const Ea=z({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...Aa()},"VHover"),Oa=L()({name:"VHover",props:Ea(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const l=ce(e,"modelValue"),{runOpenDelay:i,runCloseDelay:o}=function(s,r){const u={},p=c=>()=>{if(!tt)return Promise.resolve(!0);const d=c==="openDelay";return u.closeDelay&&window.clearTimeout(u.closeDelay),delete u.closeDelay,u.openDelay&&window.clearTimeout(u.openDelay),delete u.openDelay,new Promise(v=>{const m=parseInt(s[c]??0,10);u[c]=window.setTimeout(()=>{r==null||r(d),v(d)},m)})};return{runCloseDelay:p("closeDelay"),runOpenDelay:p("openDelay")}}(e,s=>!e.disabled&&(l.value=s));return()=>{var s;return(s=a.default)==null?void 0:s.call(a,{isHovering:l.value,props:{onMouseenter:i,onMouseleave:o}})}}});function Rt(e){return Pn(()=>{const n=[],a={};if(e.value.background)if(gt(e.value.background)){if(a.backgroundColor=e.value.background,!e.value.text&>(l=e.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const i=ve(e.value.background);if(i.a==null||i.a===1){const o=function(s){const r=Math.abs(rn(ve(0),ve(s)));return Math.abs(rn(ve(16777215),ve(s)))>Math.min(r,50)?"#fff":"#000"}(i);a.color=o,a.caretColor=o}}}else n.push(`bg-${e.value.background}`);var l;return e.value.text&&(gt(e.value.text)?(a.color=e.value.text,a.caretColor=e.value.text):n.push(`text-${e.value.text}`)),{colorClasses:n,colorStyles:a}})}function xe(e,n){const a=t.computed(()=>({text:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:l,colorStyles:i}=Rt(a);return{textColorClasses:l,textColorStyles:i}}function Ae(e,n){const a=t.computed(()=>({background:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:l,colorStyles:i}=Rt(a);return{backgroundColorClasses:l,backgroundColorStyles:i}}const Q=[String,Function,Object,Array],Ta=Symbol.for("vuetify:icons"),Je=z({icon:{type:Q},tag:{type:String,required:!0}},"icon"),dn=L()({name:"VComponentIcon",props:Je(),setup(e,n){let{slots:a}=n;return()=>{const l=e.icon;return t.createVNode(e.tag,null,{default:()=>{var i;return[e.icon?t.createVNode(l,null,null):(i=a.default)==null?void 0:i.call(a)]}})}}}),Fa=ue({name:"VSvgIcon",inheritAttrs:!1,props:Je(),setup(e,n){let{attrs:a}=n;return()=>t.createVNode(e.tag,t.mergeProps(a,{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(l=>Array.isArray(l)?t.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):t.createVNode("path",{d:l},null)):t.createVNode("path",{d:e.icon},null)])]})}});ue({name:"VLigatureIcon",props:Je(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),ue({name:"VClassIcon",props:Je(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)});const Ma=["x-small","small","default","large","x-large"],ot=z({size:{type:[String,Number],default:"default"}},"size");function rt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return Pn(()=>{let a,l;return St(Ma,e.size)?a=`${n}--size-${e.size}`:e.size&&(l={width:T(e.size),height:T(e.size)}),{sizeClasses:a,sizeStyles:l}})}const me=z({tag:{type:String,default:"div"}},"tag"),pn=Symbol.for("vuetify:theme"),re=z({theme:String},"theme");function pe(e){oe("provideTheme");const n=t.inject(pn,null);if(!n)throw new Error("Could not find Vuetify theme injection");const a=t.computed(()=>e.theme??n.name.value),l=t.computed(()=>n.themes.value[a.value]),i=t.computed(()=>n.isDisabled?void 0:`v-theme--${a.value}`),o={...n,name:a,current:l,themeClasses:i};return t.provide(pn,o),o}const La=z({color:String,start:Boolean,end:Boolean,icon:Q,...H(),...ot(),...me({tag:"i"}),...re()},"VIcon"),fe=L()({name:"VIcon",props:La(),setup(e,n){let{attrs:a,slots:l}=n;const i=t.ref(),{themeClasses:o}=pe(e),{iconData:s}=(c=>{const d=t.inject(Ta);if(!d)throw new Error("Missing Vuetify Icons provide!");return{iconData:t.computed(()=>{var S;const v=t.unref(c);if(!v)return{component:dn};let m=v;if(typeof m=="string"&&(m=m.trim(),m.startsWith("$")&&(m=(S=d.aliases)==null?void 0:S[m.slice(1)])),!m)throw new Error(`Could not find aliased icon "${v}"`);if(Array.isArray(m))return{component:Fa,icon:m};if(typeof m!="string")return{component:dn,icon:m};const _=Object.keys(d.sets).find(k=>typeof m=="string"&&m.startsWith(`${k}:`)),y=_?m.slice(_.length+1):m;return{component:d.sets[_??d.defaultSet].component,icon:y}})}})(t.computed(()=>i.value||e.icon)),{sizeClasses:r}=rt(e),{textColorClasses:u,textColorStyles:p}=xe(t.toRef(e,"color"));return j(()=>{var d,v;const c=(d=l.default)==null?void 0:d.call(l);return c&&(i.value=(v=$n(c).filter(m=>m.type===t.Text&&m.children&&typeof m.children=="string")[0])==null?void 0:v.children),t.createVNode(s.value.component,{tag:e.tag,icon:s.value.icon,class:["v-icon","notranslate",o.value,r.value,u.value,{"v-icon--clickable":!!a.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[r.value?void 0:{fontSize:T(e.size),height:T(e.size),width:T(e.size)},p.value,e.style],role:a.onClick?"button":void 0,"aria-hidden":!a.onClick},{default:()=>[c]})}),{}}}),qe=t.defineComponent({__name:"ColorPickerIcon",props:{color:{},icon:{type:[String,null,Boolean],default:""},iconSize:{}},emits:["click"],setup(e,{emit:n}){const a=n,l=e,i=t.inject(Symbol.for("vuetify:icons")),o=t.computed(()=>xn({icon:l.icon!=="default"?l.icon:"",iconOptions:i,name:"default"}));function s(){a("click")}return(r,u)=>(t.openBlock(),t.createBlock(Oa,null,{default:t.withCtx(({isHovering:p,props:c})=>[t.createVNode(fe,t.mergeProps(c,{color:p?r.color:void 0,icon:t.unref(o),size:r.iconSize,onClick:s}),null,16,["color","icon","size"])]),_:1}))}}),Xe=t.defineComponent({__name:"PipComponent",props:{modelValue:{},pip:{type:Boolean},pipBorder:{},pipIcon:{type:[String,null,Boolean]},pipBorderRadius:{},pipSize:{},pipSlot:{}},emits:["click"],setup(e,{emit:n}){const a=n,l=e,{modelValue:i}=t.toRefs(l),o=t.computed(()=>({[`${Ve}--pip`]:!0})),s=t.computed(()=>(c=>{const{pipBorder:d,pipBorderRadius:v}=c,m={backgroundColor:d&&d!=="none"?"rgb(var(--v-theme-on-surface))":"transparent",overflow:"hidden"};return d&&d!=="none"&&(m.border=d,m.borderRadius=v),m})({pipBorder:l.pipBorder,pipBorderRadius:l.pipBorderRadius})),r=t.inject(Symbol.for("vuetify:icons")),u=t.computed(()=>xn({icon:l.pipIcon!=="pip"?l.pipIcon:"",iconOptions:r,name:"pip"}));function p(){a("click")}return(c,d)=>(t.openBlock(),t.createBlock(fe,{class:t.normalizeClass(t.unref(o)),color:t.unref(i)||"--v-theme-on-surface",icon:t.unref(u),size:c.pipSize,style:t.normalizeStyle(t.unref(s)),tag:"div",onClick:p},null,8,["class","color","icon","size","style"]))}}),ja=L()({name:"VCardActions",props:H(),setup(e,n){let{slots:a}=n;return lt({VBtn:{slim:!0,variant:"text"}}),j(()=>{var l;return t.createVNode("div",{class:["v-card-actions",e.class],style:e.style},[(l=a.default)==null?void 0:l.call(a)])}),{}}}),Da=Pt("v-card-subtitle"),Ha=Pt("v-card-title"),it=z({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function st(e){return{dimensionStyles:t.computed(()=>({height:T(e.height),maxHeight:T(e.maxHeight),maxWidth:T(e.maxWidth),minHeight:T(e.minHeight),minWidth:T(e.minWidth),width:T(e.width)}))}}const Mn=z({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...H(),...it()},"VResponsive"),vn=L()({name:"VResponsive",props:Mn(),setup(e,n){let{slots:a}=n;const{aspectStyles:l}=function(o){return{aspectStyles:t.computed(()=>{const s=Number(o.aspectRatio);return s?{paddingBottom:String(1/s*100)+"%"}:void 0})}}(e),{dimensionStyles:i}=st(e);return j(()=>{var o;return t.createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[t.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(o=a.additional)==null?void 0:o.call(a),a.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[a.default()])])}),{}}}),zt=z({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),$e=(e,n)=>{let{slots:a}=n;const{transition:l,disabled:i,...o}=e,{component:s=t.Transition,...r}=typeof l=="object"?l:{};return t.h(s,t.mergeProps(typeof l=="string"?{name:i?"":l}:r,o,{disabled:i}),a)};function fn(e,n){var l;const a=(l=e._observe)==null?void 0:l[n.instance.$.uid];a&&(a.observer.unobserve(e),delete e._observe[n.instance.$.uid])}const Ln={mounted:function(e,n){if(!Bt)return;const a=n.modifiers||{},l=n.value,{handler:i,options:o}=typeof l=="object"?l:{handler:l,options:{}},s=new IntersectionObserver(function(){var d;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const p=(d=e._observe)==null?void 0:d[n.instance.$.uid];if(!p)return;const c=r.some(v=>v.isIntersecting);!i||a.quiet&&!p.init||a.once&&!c&&!p.init||i(c,r,u),c&&a.once?fn(e,n):p.init=!0},o);e._observe=Object(e._observe),e._observe[n.instance.$.uid]={init:!1,observer:s},s.observe(e)},unmounted:fn},Wa=z({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,...Mn(),...H(),...zt()},"VImg"),jn=L()({name:"VImg",directives:{intersect:Ln},props:Wa(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,n){let{emit:a,slots:l}=n;const i=oe("VImg"),o=t.shallowRef(""),s=t.ref(),r=t.shallowRef(e.eager?"loading":"idle"),u=t.shallowRef(),p=t.shallowRef(),c=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)}),d=t.computed(()=>c.value.aspect||u.value/p.value||0);function v(f){if((!e.eager||!f)&&(!Bt||f||e.eager)){if(r.value="loading",c.value.lazySrc){const C=new Image;C.src=c.value.lazySrc,k(C,null)}c.value.src&&t.nextTick(()=>{var C;a("loadstart",((C=s.value)==null?void 0:C.currentSrc)||c.value.src),setTimeout(()=>{var h;if(!i.isUnmounted)if((h=s.value)!=null&&h.complete){if(s.value.naturalWidth||_(),r.value==="error")return;d.value||k(s.value,null),r.value==="loading"&&m()}else d.value||k(s.value),y()})})}}function m(){var f;i.isUnmounted||(y(),k(s.value),r.value="loaded",a("load",((f=s.value)==null?void 0:f.currentSrc)||c.value.src))}function _(){var f;i.isUnmounted||(r.value="error",a("error",((f=s.value)==null?void 0:f.currentSrc)||c.value.src))}function y(){const f=s.value;f&&(o.value=f.currentSrc||f.src)}t.watch(()=>e.src,()=>{v(r.value!=="idle")}),t.watch(d,(f,C)=>{!f&&C&&s.value&&k(s.value)}),t.onBeforeMount(()=>v());let S=-1;function k(f){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const h=()=>{if(clearTimeout(S),i.isUnmounted)return;const{naturalHeight:R,naturalWidth:g}=f;R||g?(u.value=g,p.value=R):f.complete||r.value!=="loading"||C==null?(f.currentSrc.endsWith(".svg")||f.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,p.value=1):S=window.setTimeout(h,C)};h()}t.onBeforeUnmount(()=>{clearTimeout(S)});const w=t.computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),N=()=>{var h;if(!c.value.src||r.value==="idle")return null;const f=t.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:e.position},src:c.value.src,srcset:c.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:s,onLoad:m,onError:_},null),C=(h=l.sources)==null?void 0:h.call(l);return t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(C?t.createVNode("picture",{class:"v-img__picture"},[C,f]):f,[[t.vShow,r.value==="loaded"]])]})},$=()=>t.createVNode($e,{transition:e.transition},{default:()=>[c.value.lazySrc&&r.value!=="loaded"&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:e.position},src:c.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),P=()=>l.placeholder?t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[(r.value==="loading"||r.value==="error"&&!l.error)&&t.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,x=()=>l.error?t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[r.value==="error"&&t.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,I=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,V=t.shallowRef(!1);{const f=t.watch(d,C=>{C&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{V.value=!0})}),f())})}return j(()=>{const f=vn.filterProps(e);return t.withDirectives(t.createVNode(vn,t.mergeProps({class:["v-img",{"v-img--booting":!V.value},e.class],style:[{width:T(e.width==="auto"?u.value:e.width)},e.style]},f,{aspectRatio:d.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>t.createVNode(t.Fragment,null,[t.createVNode(N,null,null),t.createVNode($,null,null),t.createVNode(I,null,null),t.createVNode(P,null,null),t.createVNode(x,null,null)]),default:l.default}),[[t.resolveDirective("intersect"),{handler:v,options:e.options},null,{once:!0}]])}),{currentSrc:o,image:s,state:r,naturalWidth:u,naturalHeight:p}}}),Ua=[null,"default","comfortable","compact"],Ee=z({density:{type:String,default:"default",validator:e=>Ua.includes(e)}},"density");function Le(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{densityClasses:t.computed(()=>`${n}--density-${e.density}`)}}const ge=z({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function he(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{roundedClasses:t.computed(()=>{const a=t.isRef(e)?e.value:e.rounded,l=[];if(a===!0||a==="")l.push(`${n}--rounded`);else if(typeof a=="string"||a===0)for(const i of String(a).split(" "))l.push(`rounded-${i}`);return l})}}const qa=["elevated","flat","tonal","outlined","text","plain"];function At(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 ut=z({color:String,variant:{type:String,default:"elevated",validator:e=>qa.includes(e)}},"variant");function Et(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();const a=t.computed(()=>{const{variant:o}=t.unref(e);return`${n}--variant-${o}`}),{colorClasses:l,colorStyles:i}=Rt(t.computed(()=>{const{variant:o,color:s}=t.unref(e);return{[["elevated","flat"].includes(o)?"background":"text"]:s}}));return{colorClasses:l,colorStyles:i,variantClasses:a}}const Xa=z({start:Boolean,end:Boolean,icon:Q,image:String,text:String,...H(),...Ee(),...ge(),...ot(),...me(),...re(),...ut({variant:"flat"})},"VAvatar"),mn=L()({name:"VAvatar",props:Xa(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{colorClasses:i,colorStyles:o,variantClasses:s}=Et(e),{densityClasses:r}=Le(e),{roundedClasses:u}=he(e),{sizeClasses:p,sizeStyles:c}=rt(e);return j(()=>t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},l.value,i.value,r.value,u.value,p.value,s.value,e.class],style:[o.value,c.value,e.style]},{default:()=>{var d;return[e.image?t.createVNode(jn,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?t.createVNode(fe,{key:"icon",icon:e.icon},null):((d=a.default)==null?void 0:d.call(a))??e.text,At(!1,"v-avatar")]}})),{}}}),Ga=z({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Ne=L(!1)({name:"VDefaultsProvider",props:Ga(),setup(e,n){let{slots:a}=n;const{defaults:l,disabled:i,reset:o,root:s,scoped:r}=t.toRefs(e);return lt(l,{reset:o,root:s,scoped:r,disabled:i}),()=>{var u;return(u=a.default)==null?void 0:u.call(a)}}}),Ya=z({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:[String,Number],title:[String,Number],...H(),...Ee()},"VCardItem"),Ka=L()({name:"VCardItem",props:Ya(),setup(e,n){let{slots:a}=n;return j(()=>{var p;const l=!(!e.prependAvatar&&!e.prependIcon),i=!(!l&&!a.prepend),o=!(!e.appendAvatar&&!e.appendIcon),s=!(!o&&!a.append),r=!(e.title==null&&!a.title),u=!(e.subtitle==null&&!a.subtitle);return t.createVNode("div",{class:["v-card-item",e.class],style:e.style},[i&&t.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[a.prepend?t.createVNode(Ne,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},a.prepend):l&&t.createVNode(mn,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),t.createVNode("div",{class:"v-card-item__content"},[r&&t.createVNode(Ha,{key:"title"},{default:()=>{var c;return[((c=a.title)==null?void 0:c.call(a))??e.title]}}),u&&t.createVNode(Da,{key:"subtitle"},{default:()=>{var c;return[((c=a.subtitle)==null?void 0:c.call(a))??e.subtitle]}}),(p=a.default)==null?void 0:p.call(a)]),s&&t.createVNode("div",{key:"append",class:"v-card-item__append"},[a.append?t.createVNode(Ne,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},a.append):o&&t.createVNode(mn,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),Za=Pt("v-card-text"),ct=z({border:[Boolean,Number,String]},"border");function dt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{borderClasses:t.computed(()=>{const a=t.isRef(e)?e.value:e.border,l=[];if(a===!0||a==="")l.push(`${n}--border`);else if(typeof a=="string"||a===0)for(const i of String(a).split(" "))l.push(`border-${i}`);return l})}}const je=z({elevation:{type:[Number,String],validator(e){const n=parseInt(e);return!isNaN(n)&&n>=0&&n<=24}}},"elevation");function De(e){return{elevationClasses:t.computed(()=>{const n=t.isRef(e)?e.value:e.elevation,a=[];return n==null||a.push(`elevation-${n}`),a})}}function Dn(e,n){const a=t.ref(),l=t.shallowRef(!1);if(Bt){const i=new IntersectionObserver(o=>{e==null||e(o,i),l.value=!!o.find(s=>s.isIntersecting)},n);t.onBeforeUnmount(()=>{i.disconnect()}),t.watch(a,(o,s)=>{s&&(i.unobserve(s),l.value=!1),o&&i.observe(o)},{flush:"post"})}return{intersectionRef:a,isIntersecting:l}}const Hn=Symbol.for("vuetify:locale");function ye(){const e=t.inject(Hn);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const gn={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},pt=z({location:String},"location");function vt(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=ye();return{locationStyles:t.computed(()=>{if(!e.location)return{};const{side:o,align:s}=function(p,c){let[d,v]=p.split(" ");return v||(v=St(ka,d)?"start":St(Va,d)?"top":"center"),{side:Jt(d,c),align:Jt(v,c)}}(e.location.split(" ").length>1?e.location:`${e.location} center`,l.value);function r(p){return a?a(p):0}const u={};return o!=="center"&&(n?u[gn[o]]=`calc(100% - ${r(o)}px)`:u[o]=0),s!=="center"?n?u[gn[s]]=`calc(100% - ${r(s)}px)`:u[s]=0:(o==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),u})}}const Ja=z({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,...H(),...pt({location:"top"}),...ge(),...me(),...re()},"VProgressLinear"),Qa=L()({name:"VProgressLinear",props:Ja(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const l=ce(e,"modelValue"),{isRtl:i,rtlClasses:o}=ye(),{themeClasses:s}=pe(e),{locationStyles:r}=vt(e),{textColorClasses:u,textColorStyles:p}=xe(e,"color"),{backgroundColorClasses:c,backgroundColorStyles:d}=Ae(t.computed(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:m}=Ae(e,"color"),{roundedClasses:_}=he(e),{intersectionRef:y,isIntersecting:S}=Dn(),k=t.computed(()=>parseInt(e.max,10)),w=t.computed(()=>parseInt(e.height,10)),N=t.computed(()=>parseFloat(e.bufferValue)/k.value*100),$=t.computed(()=>parseFloat(l.value)/k.value*100),P=t.computed(()=>i.value!==e.reverse),x=t.computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),I=t.computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function V(f){if(!y.value)return;const{left:C,right:h,width:R}=y.value.getBoundingClientRect(),g=P.value?R-f.clientX+(h-R):f.clientX-C;l.value=Math.round(g/R*k.value)}return j(()=>t.createVNode(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":P.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},_.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?T(w.value):0,"--v-progress-linear-height":T(w.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:$.value,onClick:e.clickable&&V},{default:()=>[e.stream&&t.createVNode("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...p.value,[P.value?"left":"right"]:T(-w.value),borderTop:`${T(w.value/2)} dotted`,opacity:I.value,top:`calc(50% - ${T(w.value/4)})`,width:T(100-N.value,"%"),"--v-progress-linear-stream-to":T(w.value*(P.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",c.value],style:[d.value,{opacity:I.value,width:T(e.stream?N.value:100,"%")}]},null),t.createVNode(t.Transition,{name:x.value},{default:()=>[e.indeterminate?t.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(f=>t.createVNode("div",{key:f,class:["v-progress-linear__indeterminate",f,v.value],style:m.value},null))]):t.createVNode("div",{class:["v-progress-linear__determinate",v.value],style:[m.value,{width:T($.value,"%")}]},null)]}),a.default&&t.createVNode("div",{class:"v-progress-linear__content"},[a.default({value:$.value,buffer:N.value})])]})),{}}}),Ot=z({loading:[Boolean,String]},"loader");function Tt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{loaderClasses:t.computed(()=>({[`${n}--loading`]:e.loading}))}}function Wn(e,n){var l;let{slots:a}=n;return t.createVNode("div",{class:`${e.name}__loader`},[((l=a.default)==null?void 0:l.call(a,{color:e.color,isActive:e.active}))||t.createVNode(Qa,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const el=["static","relative","fixed","absolute","sticky"],Ft=z({position:{type:String,validator:e=>el.includes(e)}},"position");function Mt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{positionClasses:t.computed(()=>e.position?`${n}--${e.position}`:void 0)}}function Un(e,n){const a=t.resolveDynamicComponent("RouterLink"),l=t.computed(()=>!(!e.href&&!e.to)),i=t.computed(()=>(l==null?void 0:l.value)||Zt(n,"click")||Zt(e,"click"));if(typeof a=="string")return{isLink:l,isClickable:i,href:t.toRef(e,"href")};const o=e.to?a.useLink(e):void 0,s=function(){const r=oe("useRoute");return t.computed(()=>{var u;return(u=r==null?void 0:r.proxy)==null?void 0:u.$route})}();return{isLink:l,isClickable:i,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&t.computed(()=>{var r,u,p;return e.exact?s.value?((r=o.isExactActive)==null?void 0:r.value)&&nt(o.route.value.query,s.value.query):(u=o.isExactActive)==null?void 0:u.value:(p=o.isActive)==null?void 0:p.value}),href:t.computed(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const qn=z({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),Nt=Symbol("rippleStop"),tl=80;function hn(e,n){e.style.transform=n,e.style.webkitTransform=n}function xt(e){return e.constructor.name==="TouchEvent"}function Xn(e){return e.constructor.name==="KeyboardEvent"}const Qe={show(e,n){var m;let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=n==null?void 0:n._ripple)!=null&&m.enabled))return;const l=document.createElement("span"),i=document.createElement("span");l.appendChild(i),l.className="v-ripple__container",a.class&&(l.className+=` ${a.class}`);const{radius:o,scale:s,x:r,y:u,centerX:p,centerY:c}=function(_,y){var I;let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=0,w=0;if(!Xn(_)){const V=y.getBoundingClientRect(),f=xt(_)?_.touches[_.touches.length-1]:_;k=f.clientX-V.left,w=f.clientY-V.top}let N=0,$=.3;(I=y._ripple)!=null&&I.circle?($=.15,N=y.clientWidth/2,N=S.center?N:N+Math.sqrt((k-N)**2+(w-N)**2)/4):N=Math.sqrt(y.clientWidth**2+y.clientHeight**2)/2;const P=(y.clientWidth-2*N)/2+"px",x=(y.clientHeight-2*N)/2+"px";return{radius:N,scale:$,x:S.center?P:k-N+"px",y:S.center?x:w-N+"px",centerX:P,centerY:x}}(e,n,a),d=2*o+"px";i.className="v-ripple__animation",i.style.width=d,i.style.height=d,n.appendChild(l);const v=window.getComputedStyle(n);v&&v.position==="static"&&(n.style.position="relative",n.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),hn(i,`translate(${r}, ${u}) scale3d(${s},${s},${s})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),hn(i,`translate(${p}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const n=e.getElementsByClassName("v-ripple__animation");if(n.length===0)return;const a=n[n.length-1];if(a.dataset.isHiding)return;a.dataset.isHiding="true";const l=performance.now()-Number(a.dataset.activated),i=Math.max(250-l,0);setTimeout(()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),setTimeout(()=>{var s;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=a.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(a.parentNode)},300)},i)}};function Gn(e){return e===void 0||!!e}function Te(e){const n={},a=e.currentTarget;if(a!=null&&a._ripple&&!a._ripple.touched&&!e[Nt]){if(e[Nt]=!0,xt(e))a._ripple.touched=!0,a._ripple.isTouch=!0;else if(a._ripple.isTouch)return;if(n.center=a._ripple.centered||Xn(e),a._ripple.class&&(n.class=a._ripple.class),xt(e)){if(a._ripple.showTimerCommit)return;a._ripple.showTimerCommit=()=>{Qe.show(e,a,n)},a._ripple.showTimer=window.setTimeout(()=>{var l;(l=a==null?void 0:a._ripple)!=null&&l.showTimerCommit&&(a._ripple.showTimerCommit(),a._ripple.showTimerCommit=null)},tl)}else Qe.show(e,a,n)}}function yn(e){e[Nt]=!0}function te(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(()=>{te(e)}));window.setTimeout(()=>{n._ripple&&(n._ripple.touched=!1)}),Qe.hide(n)}}function Yn(e){const n=e.currentTarget;n!=null&&n._ripple&&(n._ripple.showTimerCommit&&(n._ripple.showTimerCommit=null),window.clearTimeout(n._ripple.showTimer))}let Fe=!1;function Kn(e){Fe||e.keyCode!==Xt.enter&&e.keyCode!==Xt.space||(Fe=!0,Te(e))}function Zn(e){Fe=!1,te(e)}function Jn(e){Fe&&(Fe=!1,te(e))}function bn(e,n,a){const{value:l,modifiers:i}=n,o=Gn(l);if(o||Qe.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=i.center,e._ripple.circle=i.circle,wt(l)&&l.class&&(e._ripple.class=l.class),o&&!a){if(i.stop)return e.addEventListener("touchstart",yn,{passive:!0}),void e.addEventListener("mousedown",yn);e.addEventListener("touchstart",Te,{passive:!0}),e.addEventListener("touchend",te,{passive:!0}),e.addEventListener("touchmove",Yn,{passive:!0}),e.addEventListener("touchcancel",te),e.addEventListener("mousedown",Te),e.addEventListener("mouseup",te),e.addEventListener("mouseleave",te),e.addEventListener("keydown",Kn),e.addEventListener("keyup",Zn),e.addEventListener("blur",Jn),e.addEventListener("dragstart",te,{passive:!0})}else!o&&a&&Qn(e)}function Qn(e){e.removeEventListener("mousedown",Te),e.removeEventListener("touchstart",Te),e.removeEventListener("touchend",te),e.removeEventListener("touchmove",Yn),e.removeEventListener("touchcancel",te),e.removeEventListener("mouseup",te),e.removeEventListener("mouseleave",te),e.removeEventListener("keydown",Kn),e.removeEventListener("keyup",Zn),e.removeEventListener("dragstart",te),e.removeEventListener("blur",Jn)}const Lt={mounted:function(e,n){bn(e,n,!1)},unmounted:function(e){delete e._ripple,Qn(e)},updated:function(e,n){n.value!==n.oldValue&&bn(e,n,Gn(n.oldValue))}},nl=z({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...ct(),...H(),...Ee(),...it(),...je(),...Ot(),...pt(),...Ft(),...ge(),...qn(),...me(),...re(),...ut({variant:"elevated"})},"VCard"),al=L()({name:"VCard",directives:{Ripple:Lt},props:nl(),setup(e,n){let{attrs:a,slots:l}=n;const{themeClasses:i}=pe(e),{borderClasses:o}=dt(e),{colorClasses:s,colorStyles:r,variantClasses:u}=Et(e),{densityClasses:p}=Le(e),{dimensionStyles:c}=st(e),{elevationClasses:d}=De(e),{loaderClasses:v}=Tt(e),{locationStyles:m}=vt(e),{positionClasses:_}=Mt(e),{roundedClasses:y}=he(e),S=Un(e,a),k=t.computed(()=>e.link!==!1&&S.isLink.value),w=t.computed(()=>!e.disabled&&e.link!==!1&&(e.link||S.isClickable.value));return j(()=>{const N=k.value?"a":e.tag,$=!(!l.title&&e.title==null),P=!(!l.subtitle&&e.subtitle==null),x=$||P,I=!!(l.append||e.appendAvatar||e.appendIcon),V=!!(l.prepend||e.prependAvatar||e.prependIcon),f=!(!l.image&&!e.image),C=x||V||I,h=!(!l.text&&e.text==null);return t.withDirectives(t.createVNode(N,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":w.value},i.value,o.value,s.value,p.value,d.value,v.value,_.value,y.value,u.value,e.class],style:[r.value,c.value,m.value,e.style],href:S.href.value,onClick:w.value&&S.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var R;return[f&&t.createVNode("div",{key:"image",class:"v-card__image"},[l.image?t.createVNode(Ne,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},l.image):t.createVNode(jn,{key:"image-img",cover:!0,src:e.image},null)]),t.createVNode(Wn,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:l.loader}),C&&t.createVNode(Ka,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),h&&t.createVNode(Za,{key:"text"},{default:()=>{var g;return[((g=l.text)==null?void 0:g.call(l))??e.text]}}),(R=l.default)==null?void 0:R.call(l),l.actions&&t.createVNode(ja,null,{default:l.actions}),At(w.value,"v-card")]}}),[[t.resolveDirective("ripple"),w.value&&e.ripple]])}),{}}});function ea(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const a=t.ref(),l=t.ref();if(tt){const i=new ResizeObserver(o=>{e==null||e(o,i),o.length&&(l.value=n==="content"?o[0].contentRect:o[0].target.getBoundingClientRect())});t.onBeforeUnmount(()=>{i.disconnect()}),t.watch(a,(o,s)=>{s&&(i.unobserve(qt(s)),l.value=void 0),o&&i.observe(qt(o))},{flush:"post"})}return{resizeRef:a,contentRect:t.readonly(l)}}const ll=ue({name:"VColorPickerCanvas",props:z({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...H()},"VColorPickerCanvas")(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,n){let{emit:a}=n;const l=t.shallowRef(!1),i=t.ref(),o=t.shallowRef(parseFloat(e.width)),s=t.shallowRef(parseFloat(e.height)),r=t.ref({x:0,y:0}),u=t.computed({get:()=>r.value,set(y){var w,N;if(!i.value)return;const{x:S,y:k}=y;r.value=y,a("update:color",{h:((w=e.color)==null?void 0:w.h)??0,s:Be(S,0,o.value)/o.value,v:1-Be(k,0,s.value)/s.value,a:((N=e.color)==null?void 0:N.a)??1})}}),p=t.computed(()=>{const{x:y,y:S}=u.value,k=parseInt(e.dotSize,10)/2;return{width:T(e.dotSize),height:T(e.dotSize),transform:`translate(${T(y-k)}, ${T(S-k)})`}}),{resizeRef:c}=ea(y=>{var w;if(!((w=c.value)!=null&&w.offsetParent))return;const{width:S,height:k}=y[0].contentRect;o.value=S,s.value=k});function d(y){y.type==="mousedown"&&y.preventDefault(),e.disabled||(v(y),window.addEventListener("mousemove",v),window.addEventListener("mouseup",m),window.addEventListener("touchmove",v),window.addEventListener("touchend",m))}function v(y){if(e.disabled||!i.value)return;l.value=!0;const S=function(k){return"touches"in k?{clientX:k.touches[0].clientX,clientY:k.touches[0].clientY}:{clientX:k.clientX,clientY:k.clientY}}(y);(function(k,w,N){const{left:$,top:P,width:x,height:I}=N;u.value={x:Be(k-$,0,x),y:Be(w-P,0,I)}})(S.clientX,S.clientY,i.value.getBoundingClientRect())}function m(){window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",m),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",m)}function _(){var N;if(!i.value)return;const y=i.value,S=y.getContext("2d");if(!S)return;const k=S.createLinearGradient(0,0,y.width,0);k.addColorStop(0,"hsla(0, 0%, 100%, 1)"),k.addColorStop(1,`hsla(${((N=e.color)==null?void 0:N.h)??0}, 100%, 50%, 1)`),S.fillStyle=k,S.fillRect(0,0,y.width,y.height);const w=S.createLinearGradient(0,0,0,y.height);w.addColorStop(0,"hsla(0, 0%, 100%, 0)"),w.addColorStop(1,"hsla(0, 0%, 0%, 1)"),S.fillStyle=w,S.fillRect(0,0,y.width,y.height)}return t.watch(()=>{var y;return(y=e.color)==null?void 0:y.h},_,{immediate:!0}),t.watch(()=>[o.value,s.value],(y,S)=>{_(),r.value={x:u.value.x*y[0]/S[0],y:u.value.y*y[1]/S[1]}},{flush:"post"}),t.watch(()=>e.color,()=>{l.value?l.value=!1:r.value=e.color?{x:e.color.s*o.value,y:(1-e.color.v)*s.value}:{x:0,y:0}},{deep:!0,immediate:!0}),t.onMounted(()=>_()),j(()=>t.createVNode("div",{ref:c,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:d,onTouchstartPassive:d},[t.createVNode("canvas",{ref:i,width:o.value,height:s.value},null),e.color&&t.createVNode("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:p.value},null)])),{}}}),ta=z({divided:Boolean,...ct(),...H(),...Ee(),...je(),...ge(),...me(),...re(),...ut()},"VBtnGroup"),kn=L()({name:"VBtnGroup",props:ta(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{densityClasses:i}=Le(e),{borderClasses:o}=dt(e),{elevationClasses:s}=De(e),{roundedClasses:r}=he(e);lt({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),j(()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},l.value,o.value,i.value,s.value,r.value,e.class],style:e.style},a))}}),ol=z({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),rl=z({value:null,disabled:Boolean,selectedClass:String},"group-item");function il(e,n){let a=!1;const l=t.reactive([]),i=ce(e,"modelValue",[],p=>p==null?[]:Vn(l,Oe(p)),p=>{const c=function(d,v){const m=[];return v.forEach(_=>{const y=d.findIndex(S=>S.id===_);if(~y){const S=d[y];m.push(S.value!=null?S.value:y)}}),m}(l,p);return e.multiple?c:c[0]}),o=oe("useGroup");function s(){const p=l.find(c=>!c.disabled);p&&e.mandatory==="force"&&!i.value.length&&(i.value=[p.id])}function r(p){if(e.multiple&&ze('This method is not supported when using "multiple" prop'),i.value.length){const c=i.value[0],d=l.findIndex(_=>_.id===c);let v=(d+p)%l.length,m=l[v];for(;m.disabled&&v!==d;)v=(v+p)%l.length,m=l[v];if(m.disabled)return;i.value=[l[v].id]}else{const c=l.find(d=>!d.disabled);c&&(i.value=[c.id])}}t.onMounted(()=>{s()}),t.onBeforeUnmount(()=>{a=!0});const u={register:function(p,c){const d=p,v=Ye(Symbol.for(`${n.description}:id`),o==null?void 0:o.vnode).indexOf(c);v>-1?l.splice(v,0,d):l.push(d)},unregister:function(p){if(a)return;s();const c=l.findIndex(d=>d.id===p);l.splice(c,1)},selected:i,select:function(p,c){const d=l.find(v=>v.id===p);if(!c||!(d!=null&&d.disabled))if(e.multiple){const v=i.value.slice(),m=v.findIndex(y=>y===p),_=~m;if(c=c??!_,_&&e.mandatory&&v.length<=1||!_&&e.max!=null&&v.length+1>e.max)return;m<0&&c?v.push(p):m>=0&&!c&&v.splice(m,1),i.value=v}else{const v=i.value.includes(p);if(e.mandatory&&v)return;i.value=c??!v?[p]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>r(l.length-1),next:()=>r(1),isSelected:p=>i.value.includes(p),selectedClass:t.computed(()=>e.selectedClass),items:t.computed(()=>l),getItemIndex:p=>function(c,d){const v=Vn(c,[d]);return v.length?c.findIndex(m=>m.id===v[0]):-1}(l,p)};return t.provide(n,u),u}function Vn(e,n){const a=[];return n.forEach(l=>{const i=e.find(s=>nt(l,s.value)),o=e[l];(i==null?void 0:i.value)!=null?a.push(i.id):o!=null&&a.push(o.id)}),a}const na=Symbol.for("vuetify:v-btn-toggle"),sl=z({...ta(),...ol()},"VBtnToggle");L()({name:"VBtnToggle",props:sl(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const{isSelected:l,next:i,prev:o,select:s,selected:r}=il(e,na);return j(()=>{const u=kn.filterProps(e);return t.createVNode(kn,t.mergeProps({class:["v-btn-toggle",e.class]},u,{style:e.style}),{default:()=>{var p;return[(p=a.default)==null?void 0:p.call(a,{isSelected:l,next:i,prev:o,select:s,selected:r})]}})}),{next:i,prev:o,select:s}}});const ul=z({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},...H(),...ot(),...me({tag:"div"}),...re()},"VProgressCircular"),cl=L()({name:"VProgressCircular",props:ul(),setup(e,n){let{slots:a}=n;const l=2*Math.PI*20,i=t.ref(),{themeClasses:o}=pe(e),{sizeClasses:s,sizeStyles:r}=rt(e),{textColorClasses:u,textColorStyles:p}=xe(t.toRef(e,"color")),{textColorClasses:c,textColorStyles:d}=xe(t.toRef(e,"bgColor")),{intersectionRef:v,isIntersecting:m}=Dn(),{resizeRef:_,contentRect:y}=ea(),S=t.computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),k=t.computed(()=>Number(e.width)),w=t.computed(()=>r.value?Number(e.size):y.value?y.value.width:Math.max(k.value,32)),N=t.computed(()=>20/(1-k.value/w.value)*2),$=t.computed(()=>k.value/w.value*N.value),P=t.computed(()=>T((100-S.value)/100*l));return t.watchEffect(()=>{v.value=i.value,_.value=i.value}),j(()=>t.createVNode(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},o.value,s.value,u.value,e.class],style:[r.value,p.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:S.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",c.value],style:d.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":$.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":$.value,"stroke-dasharray":l,"stroke-dashoffset":P.value},null)]),a.default&&t.createVNode("div",{class:"v-progress-circular__content"},[a.default({value:S.value})])]})),{}}}),dl=z({active:{type:Boolean,default:void 0},symbol:{type:null,default:na},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...ct(),...H(),...Ee(),...it(),...je(),...rl(),...Ot(),...pt(),...Ft(),...ge(),...qn(),...ot(),...me({tag:"button"}),...re(),...ut({variant:"elevated"})},"VBtn"),aa=L()({name:"VBtn",directives:{Ripple:Lt},props:dl(),emits:{"group:selected":e=>!0},setup(e,n){let{attrs:a,slots:l}=n;const{themeClasses:i}=pe(e),{borderClasses:o}=dt(e),{colorClasses:s,colorStyles:r,variantClasses:u}=Et(e),{densityClasses:p}=Le(e),{dimensionStyles:c}=st(e),{elevationClasses:d}=De(e),{loaderClasses:v}=Tt(e),{locationStyles:m}=vt(e),{positionClasses:_}=Mt(e),{roundedClasses:y}=he(e),{sizeClasses:S,sizeStyles:k}=rt(e),w=function(f,C){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const R=oe("useGroupItem");if(!R)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const g=Me();t.provide(Symbol.for(`${C.description}:id`),g);const b=t.inject(C,null);if(!b){if(!h)return b;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${C.description}`)}const B=t.toRef(f,"value"),A=t.computed(()=>!(!b.disabled.value&&!f.disabled));b.register({id:g,value:B,disabled:A},R),t.onBeforeUnmount(()=>{b.unregister(g)});const O=t.computed(()=>b.isSelected(g)),D=t.computed(()=>O.value&&[b.selectedClass.value,f.selectedClass]);return t.watch(O,F=>{R.emit("group:selected",{value:F})}),{id:g,isSelected:O,toggle:()=>b.select(g,!O.value),select:F=>b.select(g,F),selectedClass:D,value:B,disabled:A,group:b}}(e,e.symbol,!1),N=Un(e,a),$=t.computed(()=>{var f;return e.active!==void 0?e.active:N.isLink.value?(f=N.isActive)==null?void 0:f.value:w==null?void 0:w.isSelected.value}),P=t.computed(()=>(w==null?void 0:w.disabled.value)||e.disabled),x=t.computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),I=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 V(f){var C;P.value||N.isLink.value&&(f.metaKey||f.ctrlKey||f.shiftKey||f.button!==0||a.target==="_blank")||((C=N.navigate)==null||C.call(N,f),w==null||w.toggle())}return function(f,C){t.watch(()=>{var h;return(h=f.isActive)==null?void 0:h.value},h=>{f.isLink.value&&h&&C&&t.nextTick(()=>{C(!0)})},{immediate:!0})}(N,w==null?void 0:w.select),j(()=>{var b,B;const f=N.isLink.value?"a":e.tag,C=!(!e.prependIcon&&!l.prepend),h=!(!e.appendIcon&&!l.append),R=!(!e.icon||e.icon===!0),g=(w==null?void 0:w.isSelected.value)&&(!N.isLink.value||((b=N.isActive)==null?void 0:b.value))||!w||((B=N.isActive)==null?void 0:B.value);return t.withDirectives(t.createVNode(f,{type:f==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":$.value,"v-btn--block":e.block,"v-btn--disabled":P.value,"v-btn--elevated":x.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},i.value,o.value,g?s.value:void 0,p.value,d.value,v.value,_.value,y.value,S.value,u.value,e.class],style:[g?r.value:void 0,c.value,m.value,k.value,e.style],disabled:P.value||void 0,href:N.href.value,onClick:V,value:I.value},{default:()=>{var A;return[At(!0,"v-btn"),!e.icon&&C&&t.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?t.createVNode(Ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},l.prepend):t.createVNode(fe,{key:"prepend-icon",icon:e.prependIcon},null)]),t.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&R?t.createVNode(fe,{key:"content-icon",icon:e.icon},null):t.createVNode(Ne,{key:"content-defaults",disabled:!R,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var O;return[((O=l.default)==null?void 0:O.call(l))??e.text]}})]),!e.icon&&h&&t.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?t.createVNode(Ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},l.append):t.createVNode(fe,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&t.createVNode("span",{key:"loader",class:"v-btn__loader"},[((A=l.loader)==null?void 0:A.call(l))??t.createVNode(cl,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[t.resolveDirective("ripple"),!P.value&&e.ripple,null]])}),{}}}),Pe={h:0,s:0,v:1,a:1},ht={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,n)=>({...e,r:Number(n)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,n)=>({...e,g:Number(n)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,n)=>({...e,b:Number(n)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:n}=e;return n!=null?Math.round(100*n)/100:1},getColor:(e,n)=>({...e,a:Number(n)})}],to:se,from:at},yt={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,n)=>({...e,h:Number(n)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(100*e.s)/100,getColor:(e,n)=>({...e,s:Number(n)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(100*e.l)/100,getColor:(e,n)=>({...e,l:Number(n)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:n}=e;return n!=null?Math.round(100*n)/100:1},getColor:(e,n)=>({...e,a:Number(n)})}],to:Rn,from:It},wn={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,n)=>n}],to:Tn,from:On};var Nn;const Se={rgb:{...ht,inputs:(Nn=ht.inputs)==null?void 0:Nn.slice(0,3)},rgba:ht,hsl:{...yt,inputs:yt.inputs.slice(0,3)},hsla:yt,hex:{...wn,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,n)=>n}]},hexa:wn},pl=e=>{let{label:n,...a}=e;return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[n])])},vl=ue({name:"VColorPickerEdit",props:z({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Se).includes(e)},modes:{type:Array,default:()=>Object.keys(Se),validator:e=>Array.isArray(e)&&e.every(n=>Object.keys(Se).includes(n))},...H()},"VColorPickerEdit")(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,n){let{emit:a}=n;const l=t.computed(()=>e.modes.map(o=>({...Se[o],name:o}))),i=t.computed(()=>{var r;const o=l.value.find(u=>u.name===e.mode);if(!o)return[];const s=e.color?o.to(e.color):null;return(r=o.inputs)==null?void 0:r.map(u=>{let{getValue:p,getColor:c,...d}=u;return{...o.inputProps,...d,disabled:e.disabled,value:s&&p(s),onChange:v=>{const m=v.target;m&&a("update:color",o.from(c(s??Pe,m.value)))}}})});return j(()=>{var o;return t.createVNode("div",{class:["v-color-picker-edit",e.class],style:e.style},[(o=i.value)==null?void 0:o.map(s=>t.createVNode(pl,s,null)),l.value.length>1&&t.createVNode(aa,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const s=l.value.findIndex(r=>r.name===e.mode);a("update:mode",l.value[(s+1)%l.value.length].name)}},null)])}),{}}}),jt=Symbol.for("vuetify:v-slider"),fl=z({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...ge(),...je({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),ml=e=>{let{props:n,steps:a,onSliderStart:l,onSliderMove:i,onSliderEnd:o,getActiveThumb:s}=e;const{isRtl:r}=ye(),u=t.toRef(n,"reverse"),p=t.computed(()=>n.direction==="vertical"),c=t.computed(()=>p.value!==u.value),{min:d,max:v,step:m,decimals:_,roundValue:y}=a,S=t.computed(()=>parseInt(n.thumbSize,10)),k=t.computed(()=>parseInt(n.tickSize,10)),w=t.computed(()=>parseInt(n.trackSize,10)),N=t.computed(()=>(v.value-d.value)/m.value),$=t.toRef(n,"disabled"),P=t.computed(()=>n.error||n.disabled?void 0:n.thumbColor??n.color),x=t.computed(()=>n.error||n.disabled?void 0:n.trackColor??n.color),I=t.computed(()=>n.error||n.disabled?void 0:n.trackFillColor??n.color),V=t.shallowRef(!1),f=t.shallowRef(0),C=t.ref(),h=t.ref();function R(E){var le;const M=n.direction==="vertical",ie=M?"top":"left",X=M?"height":"width",K=M?"clientY":"clientX",{[ie]:Z,[X]:W}=(le=C.value)==null?void 0:le.$el.getBoundingClientRect(),G=function(J,be){return"touches"in J&&J.touches.length?J.touches[0][be]:"changedTouches"in J&&J.changedTouches.length?J.changedTouches[0][be]:J[be]}(E,K);let ne=Math.min(Math.max((G-Z-f.value)/W,0),1)||0;return(M?c.value:c.value!==r.value)&&(ne=1-ne),y(d.value+ne*(v.value-d.value))}const g=E=>{o({value:R(E)}),V.value=!1,f.value=0},b=E=>{h.value=s(E),h.value&&(h.value.focus(),V.value=!0,h.value.contains(E.target)?f.value=function(M,ie,X){const K=X==="vertical",Z=ie.getBoundingClientRect(),W="touches"in M?M.touches[0]:M;return K?W.clientY-(Z.top+Z.height/2):W.clientX-(Z.left+Z.width/2)}(E,h.value,n.direction):(f.value=0,i({value:R(E)})),l({value:R(E)}))},B={passive:!0,capture:!0};function A(E){i({value:R(E)})}function O(E){E.stopPropagation(),E.preventDefault(),g(E),window.removeEventListener("mousemove",A,B),window.removeEventListener("mouseup",O)}function D(E){var M;g(E),window.removeEventListener("touchmove",A,B),(M=E.target)==null||M.removeEventListener("touchend",D)}const F=E=>{const M=(E-d.value)/(v.value-d.value)*100;return Be(isNaN(M)?0:M,0,100)},U=t.toRef(n,"showTicks"),Y=t.computed(()=>U.value?n.ticks?Array.isArray(n.ticks)?n.ticks.map(E=>({value:E,position:F(E),label:E.toString()})):Object.keys(n.ticks).map(E=>({value:parseFloat(E),position:F(parseFloat(E)),label:n.ticks[E]})):N.value!==1/0?function(E){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:E},(ie,X)=>M+X)}(N.value+1).map(E=>{const M=d.value+E*m.value;return{value:M,position:F(M)}}):[]:[]),q=t.computed(()=>Y.value.some(E=>{let{label:M}=E;return!!M})),ae={activeThumbRef:h,color:t.toRef(n,"color"),decimals:_,disabled:$,direction:t.toRef(n,"direction"),elevation:t.toRef(n,"elevation"),hasLabels:q,isReversed:u,indexFromEnd:c,min:d,max:v,mousePressed:V,numTicks:N,onSliderMousedown:function(E){E.preventDefault(),b(E),window.addEventListener("mousemove",A,B),window.addEventListener("mouseup",O,{passive:!1})},onSliderTouchstart:function(E){var M;b(E),window.addEventListener("touchmove",A,B),(M=E.target)==null||M.addEventListener("touchend",D,{passive:!1})},parsedTicks:Y,parseMouseMove:R,position:F,readonly:t.toRef(n,"readonly"),rounded:t.toRef(n,"rounded"),roundValue:y,showTicks:U,startOffset:f,step:m,thumbSize:S,thumbColor:P,thumbLabel:t.toRef(n,"thumbLabel"),ticks:t.toRef(n,"ticks"),tickSize:k,trackColor:x,trackContainerRef:C,trackFillColor:I,trackSize:w,vertical:p};return t.provide(jt,ae),ae},gl=z({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ee(e,n,a){return L()({name:e,props:gl({mode:a,origin:n}),setup(l,i){let{slots:o}=i;const s={onBeforeEnter(r){l.origin&&(r.style.transformOrigin=l.origin)},onLeave(r){if(l.leaveAbsolute){const{offsetTop:u,offsetLeft:p,offsetWidth:c,offsetHeight:d}=r;r._transitionInitialStyles={position:r.style.position,top:r.style.top,left:r.style.left,width:r.style.width,height:r.style.height},r.style.position="absolute",r.style.top=`${u}px`,r.style.left=`${p}px`,r.style.width=`${c}px`,r.style.height=`${d}px`}l.hideOnLeave&&r.style.setProperty("display","none","important")},onAfterLeave(r){if(l.leaveAbsolute&&(r!=null&&r._transitionInitialStyles)){const{position:u,top:p,left:c,width:d,height:v}=r._transitionInitialStyles;delete r._transitionInitialStyles,r.style.position=u||"",r.style.top=p||"",r.style.left=c||"",r.style.width=d||"",r.style.height=v||""}}};return()=>{const r=l.group?t.TransitionGroup:t.Transition;return t.h(r,{name:l.disabled?"":e,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:s},o.default)}}})}function la(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return L()({name:e,props:{mode:{type:String,default:a},disabled:Boolean},setup(l,i){let{slots:o}=i;return()=>t.h(t.Transition,{name:l.disabled?"":e,css:!l.disabled,...l.disabled?{}:n},o.default)}})}function oa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",a=t.camelize(`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){const s=o._initialStyle;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const r=`${o[a]}px`;o.style[n]="0",o.offsetHeight,o.style.transition=s.transition,e&&o._parent&&o._parent.classList.add(e),requestAnimationFrame(()=>{o.style[n]=r})},onAfterEnter:i,onEnterCancelled:i,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[n]:o.style[n]},o.style.overflow="hidden",o.style[n]=`${o[a]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[n]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(o){e&&o._parent&&o._parent.classList.remove(e),i(o)}function i(o){const s=o._initialStyle[n];o.style.overflow=o._initialStyle.overflow,s!=null&&(o.style[n]=s),delete o._initialStyle}}ee("fab-transition","center center","out-in"),ee("dialog-bottom-transition"),ee("dialog-top-transition"),ee("fade-transition");const hl=ee("scale-transition");ee("scroll-x-transition"),ee("scroll-x-reverse-transition"),ee("scroll-y-transition"),ee("scroll-y-reverse-transition"),ee("slide-x-transition"),ee("slide-x-reverse-transition");const ra=ee("slide-y-transition");ee("slide-y-reverse-transition"),la("expand-transition",oa());const yl=la("expand-x-transition",oa("",!0)),bl=z({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...H()},"VSliderThumb"),kl=L()({name:"VSliderThumb",directives:{Ripple:Lt},props:bl(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a,emit:l}=n;const i=t.inject(jt),{isRtl:o,rtlClasses:s}=ye();if(!i)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:r,step:u,disabled:p,thumbSize:c,thumbLabel:d,direction:v,isReversed:m,vertical:_,readonly:y,elevation:S,mousePressed:k,decimals:w,indexFromEnd:N}=i,{textColorClasses:$,textColorStyles:P}=xe(r),{pageup:x,pagedown:I,end:V,home:f,left:C,right:h,down:R,up:g}=ya,b=[x,I,V,f,C,h,R,g],B=t.computed(()=>u.value?[1,2,3]:[1,5,10]);function A(O){const D=function(F,U){if(!b.includes(F.key))return;F.preventDefault();const Y=u.value||.1,q=(e.max-e.min)/Y;if([C,h,R,g].includes(F.key)){const ae=(_.value?[o.value?C:h,m.value?R:g]:N.value!==o.value?[C,g]:[h,g]).includes(F.key)?1:-1,E=F.shiftKey?2:F.ctrlKey?1:0;U+=ae*Y*B.value[E]}else F.key===f?U=e.min:F.key===V?U=e.max:U-=(F.key===I?1:-1)*Y*(q>100?q/10:10);return Math.max(e.min,Math.min(e.max,U))}(O,e.modelValue);D!=null&&l("update:modelValue",D)}return j(()=>{const O=T(N.value?100-e.position:e.position,"%"),{elevationClasses:D}=De(t.computed(()=>p.value?void 0:S.value));return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&k.value},e.class,s.value],style:[{"--v-slider-thumb-position":O,"--v-slider-thumb-size":T(c.value)},e.style],role:"slider",tabindex:p.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!y.value,"aria-orientation":v.value,onKeydown:y.value?void 0:A},[t.createVNode("div",{class:["v-slider-thumb__surface",$.value,D.value],style:{...P.value}},null),t.withDirectives(t.createVNode("div",{class:["v-slider-thumb__ripple",$.value],style:P.value},null),[[t.resolveDirective("ripple"),e.ripple,null,{circle:!0,center:!0}]]),t.createVNode(hl,{origin:"bottom center"},{default:()=>{var F;return[t.withDirectives(t.createVNode("div",{class:"v-slider-thumb__label-container"},[t.createVNode("div",{class:["v-slider-thumb__label"]},[t.createVNode("div",null,[((F=a["thumb-label"])==null?void 0:F.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(u.value?w.value:1)])])]),[[t.vShow,d.value&&e.focused||d.value==="always"]])]}})])}),{}}}),Vl=z({start:{type:Number,required:!0},stop:{type:Number,required:!0},...H()},"VSliderTrack"),wl=L()({name:"VSliderTrack",props:Vl(),emits:{},setup(e,n){let{slots:a}=n;const l=t.inject(jt);if(!l)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:i,parsedTicks:o,rounded:s,showTicks:r,tickSize:u,trackColor:p,trackFillColor:c,trackSize:d,vertical:v,min:m,max:_,indexFromEnd:y}=l,{roundedClasses:S}=he(s),{backgroundColorClasses:k,backgroundColorStyles:w}=Ae(c),{backgroundColorClasses:N,backgroundColorStyles:$}=Ae(p),P=t.computed(()=>`inset-${v.value?"block":"inline"}-${y.value?"end":"start"}`),x=t.computed(()=>v.value?"height":"width"),I=t.computed(()=>({[P.value]:"0%",[x.value]:"100%"})),V=t.computed(()=>e.stop-e.start),f=t.computed(()=>({[P.value]:T(e.start,"%"),[x.value]:T(V.value,"%")})),C=t.computed(()=>r.value?(v.value?o.value.slice().reverse():o.value).map((h,R)=>{var b;const g=h.value!==m.value&&h.value!==_.value?T(h.position,"%"):void 0;return t.createVNode("div",{key:h.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":h.position>=e.start&&h.position<=e.stop,"v-slider-track__tick--first":h.value===m.value,"v-slider-track__tick--last":h.value===_.value}],style:{[P.value]:g}},[(h.label||a["tick-label"])&&t.createVNode("div",{class:"v-slider-track__tick-label"},[((b=a["tick-label"])==null?void 0:b.call(a,{tick:h,index:R}))??h.label])])}):[]);return j(()=>t.createVNode("div",{class:["v-slider-track",S.value,e.class],style:[{"--v-slider-track-size":T(d.value),"--v-slider-tick-size":T(u.value)},e.style]},[t.createVNode("div",{class:["v-slider-track__background",N.value,{"v-slider-track__background--opacity":!!i.value||!c.value}],style:{...I.value,...$.value}},null),t.createVNode("div",{class:["v-slider-track__fill",k.value],style:{...f.value,...w.value}},null),r.value&&t.createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":r.value==="always"}]},[C.value])])),{}}});function ia(e){const{t:n}=function(){const a=t.inject(Hn);if(!a)throw new Error("[Vuetify] Could not find injected locale instance");return a}();return{InputIcon:function(a){let{name:l}=a;const i={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],o=e[`onClick:${l}`],s=o&&i?n(`$vuetify.input.${i}`,e.label??""):void 0;return t.createVNode(fe,{icon:e[`${l}Icon`],"aria-label":s,onClick:o},null)}}}const Sl=z({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...H(),...zt({transition:{component:ra,leaveAbsolute:!0,group:!0}})},"VMessages"),Cl=L()({name:"VMessages",props:Sl(),setup(e,n){let{slots:a}=n;const l=t.computed(()=>Oe(e.messages)),{textColorClasses:i,textColorStyles:o}=xe(t.computed(()=>e.color));return j(()=>t.createVNode($e,{transition:e.transition,tag:"div",class:["v-messages",i.value,e.class],style:[o.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&l.value.map((s,r)=>t.createVNode("div",{class:"v-messages__message",key:`${r}-${l.value}`},[a.message?a.message({message:s}):s]))]})),{}}}),Dt=z({focused:Boolean,"onUpdate:focused":Re()},"focus");function Ht(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();const a=ce(e,"focused");return{focusClasses:t.computed(()=>({[`${n}--focused`]:a.value})),isFocused:a,focus:function(){a.value=!0},blur:function(){a.value=!1}}}const Nl=Symbol.for("vuetify:form"),xl=z({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,...Dt()},"validation");function _l(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de(),a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me();const l=ce(e,"modelValue"),i=t.computed(()=>e.validationValue===void 0?l.value:e.validationValue),o=t.inject(Nl,null),s=t.ref([]),r=t.shallowRef(!0),u=t.computed(()=>!(!Oe(l.value===""?null:l.value).length&&!Oe(i.value===""?null:i.value).length)),p=t.computed(()=>!!(e.disabled??(o==null?void 0:o.isDisabled.value))),c=t.computed(()=>!!(e.readonly??(o==null?void 0:o.isReadonly.value))),d=t.computed(()=>{var $;return($=e.errorMessages)!=null&&$.length?Oe(e.errorMessages).concat(s.value).slice(0,Math.max(0,+e.maxErrors)):s.value}),v=t.computed(()=>{let $=(e.validateOn??(o==null?void 0:o.validateOn.value))||"input";$==="lazy"&&($="input lazy");const P=new Set(($==null?void 0:$.split(" "))??[]);return{blur:P.has("blur")||P.has("input"),input:P.has("input"),submit:P.has("submit"),lazy:P.has("lazy")}}),m=t.computed(()=>{var $;return!e.error&&!(($=e.errorMessages)!=null&&$.length)&&(!e.rules.length||(r.value?!s.value.length&&!v.value.lazy||null:!s.value.length))}),_=t.shallowRef(!1),y=t.computed(()=>({[`${n}--error`]:m.value===!1,[`${n}--dirty`]:u.value,[`${n}--disabled`]:p.value,[`${n}--readonly`]:c.value})),S=t.computed(()=>e.name??t.unref(a));function k(){l.value=null,t.nextTick(w)}function w(){r.value=!0,v.value.lazy?s.value=[]:N(!0)}async function N(){let $=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const P=[];_.value=!0;for(const x of e.rules){if(P.length>=+(e.maxErrors??1))break;const I=typeof x=="function"?x:()=>x,V=await I(i.value);V!==!0&&(V===!1||typeof V=="string"?P.push(V||""):console.warn(`${V} is not a valid value. Rule functions must return boolean true or a string.`))}return s.value=P,_.value=!1,r.value=$,s.value}return t.onBeforeMount(()=>{o==null||o.register({id:S.value,validate:N,reset:k,resetValidation:w})}),t.onBeforeUnmount(()=>{o==null||o.unregister(S.value)}),t.onMounted(async()=>{v.value.lazy||await N(!0),o==null||o.update(S.value,m.value,d.value)}),Ct(()=>v.value.input,()=>{t.watch(i,()=>{if(i.value!=null)N();else if(e.focused){const $=t.watch(()=>e.focused,P=>{P||N(),$()})}})}),Ct(()=>v.value.blur,()=>{t.watch(()=>e.focused,$=>{$||N()})}),t.watch(m,()=>{o==null||o.update(S.value,m.value,d.value)}),{errorMessages:d,isDirty:u,isDisabled:p,isReadonly:c,isPristine:r,isValid:m,isValidating:_,reset:k,resetValidation:w,validate:N,validationClasses:y}}const Wt=z({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,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(),...H(),...Ee(),...xl()},"VInput"),et=L()({name:"VInput",props:{...Wt()},emits:{"update:modelValue":e=>!0},setup(e,n){let{attrs:a,slots:l,emit:i}=n;const{densityClasses:o}=Le(e),{rtlClasses:s}=ye(),{InputIcon:r}=ia(e),u=Me(),p=t.computed(()=>e.id||`input-${u}`),c=t.computed(()=>`${p.value}-messages`),{errorMessages:d,isDirty:v,isDisabled:m,isReadonly:_,isPristine:y,isValid:S,isValidating:k,reset:w,resetValidation:N,validate:$,validationClasses:P}=_l(e,"v-input",p),x=t.computed(()=>({id:p,messagesId:c,isDirty:v,isDisabled:m,isReadonly:_,isPristine:y,isValid:S,isValidating:k,reset:w,resetValidation:N,validate:$})),I=t.computed(()=>{var V;return(V=e.errorMessages)!=null&&V.length||!y.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return j(()=>{var R,g,b,B;const V=!(!l.prepend&&!e.prependIcon),f=!(!l.append&&!e.appendIcon),C=I.value.length>0,h=!e.hideDetails||e.hideDetails==="auto"&&(C||!!l.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},o.value,s.value,P.value,e.class],style:e.style},[V&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(R=l.prepend)==null?void 0:R.call(l,x.value),e.prependIcon&&t.createVNode(r,{key:"prepend-icon",name:"prepend"},null)]),l.default&&t.createVNode("div",{class:"v-input__control"},[(g=l.default)==null?void 0:g.call(l,x.value)]),f&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(r,{key:"append-icon",name:"append"},null),(b=l.append)==null?void 0:b.call(l,x.value)]),h&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Cl,{id:c.value,active:C,messages:I.value},{message:l.message}),(B=l.details)==null?void 0:B.call(l,x.value)])])}),{reset:w,resetValidation:N,validate:$,isValid:S,errorMessages:d}}}),Bl=z({text:String,clickable:Boolean,...H(),...re()},"VLabel"),sa=L()({name:"VLabel",props:Bl(),setup(e,n){let{slots:a}=n;return j(()=>{var l;return t.createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(l=a.default)==null?void 0:l.call(a)])}),{}}}),Il=z({...Dt(),...fl(),...Wt(),modelValue:{type:[Number,String],default:0}},"VSlider"),Sn=L()({name:"VSlider",props:Il(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,n){let{slots:a,emit:l}=n;const i=t.ref(),{rtlClasses:o}=ye(),s=(x=>{const I=t.computed(()=>parseFloat(x.min)),V=t.computed(()=>parseFloat(x.max)),f=t.computed(()=>+x.step>0?parseFloat(x.step):0),C=t.computed(()=>Math.max(Yt(f.value),Yt(I.value)));return{min:I,max:V,step:f,decimals:C,roundValue:function(h){if(h=parseFloat(h),f.value<=0)return h;const R=Be(h,I.value,V.value),g=I.value%f.value,b=Math.round((R-g)/f.value)*f.value+g;return parseFloat(Math.min(b,V.value).toFixed(C.value))}}})(e),r=ce(e,"modelValue",void 0,x=>s.roundValue(x??s.min.value)),{min:u,max:p,mousePressed:c,roundValue:d,onSliderMousedown:v,onSliderTouchstart:m,trackContainerRef:_,position:y,hasLabels:S,readonly:k}=ml({props:e,steps:s,onSliderStart:()=>{l("start",r.value)},onSliderEnd:x=>{let{value:I}=x;const V=d(I);r.value=V,l("end",V)},onSliderMove:x=>{let{value:I}=x;return r.value=d(I)},getActiveThumb:()=>{var x;return(x=i.value)==null?void 0:x.$el}}),{isFocused:w,focus:N,blur:$}=Ht(e),P=t.computed(()=>y(r.value));return j(()=>{const x=et.filterProps(e),I=!!(e.label||a.label||a.prepend);return t.createVNode(et,t.mergeProps({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||S.value,"v-slider--focused":w.value,"v-slider--pressed":c.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style},x,{focused:w.value}),{...a,prepend:I?V=>{var f,C;return t.createVNode(t.Fragment,null,[((f=a.label)==null?void 0:f.call(a,V))??(e.label?t.createVNode(sa,{id:V.id.value,class:"v-slider__label",text:e.label},null):void 0),(C=a.prepend)==null?void 0:C.call(a,V)])}:void 0,default:V=>{let{id:f,messagesId:C}=V;return t.createVNode("div",{class:"v-slider__container",onMousedown:k.value?void 0:v,onTouchstartPassive:k.value?void 0:m},[t.createVNode("input",{id:f.value,name:e.name||f.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:r.value},null),t.createVNode(wl,{ref:_,start:0,stop:P.value},{"tick-label":a["tick-label"]}),t.createVNode(kl,{ref:i,"aria-describedby":C.value,focused:w.value,min:u.value,max:p.value,modelValue:r.value,"onUpdate:modelValue":h=>r.value=h,position:P.value,elevation:e.elevation,onFocus:N,onBlur:$,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),$l=ue({name:"VColorPickerPreview",props:z({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...H()},"VColorPickerPreview")(),emits:{"update:color":e=>!0},setup(e,n){let{emit:a}=n;const l=new AbortController;async function i(){if(!Ut)return;const o=new window.EyeDropper;try{const s=On((await o.open({signal:l.signal})).sRGBHex);a("update:color",{...e.color??Pe,...s})}catch{}}return t.onUnmounted(()=>l.abort()),j(()=>{var o,s;return t.createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[Ut&&t.createVNode("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[t.createVNode(aa,{onClick:i,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),t.createVNode("div",{class:"v-color-picker-preview__dot"},[t.createVNode("div",{style:{background:An(e.color??Pe)}},null)]),t.createVNode("div",{class:"v-color-picker-preview__sliders"},[t.createVNode(Sn,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(o=e.color)==null?void 0:o.h,"onUpdate:modelValue":r=>a("update:color",{...e.color??Pe,h:r}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&t.createVNode(Sn,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((s=e.color)==null?void 0:s.a)??1,"onUpdate:modelValue":r=>a("update:color",{...e.color??Pe,a:r}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),Pl={red:{base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink:{base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple:{base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple:{base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo:{base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue:{base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue:{base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan:{base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal:{base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green:{base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen:{base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime:{base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow:{base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber:{base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange:{base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange:{base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown:{base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey:{base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey:{base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades:{black:"#000000",white:"#ffffff",transparent:"#ffffff00"}},Rl=z({swatches:{type:Array,default:()=>function(e){return Object.keys(e).map(n=>{const a=e[n];return a.base?[a.base,a.darken4,a.darken3,a.darken2,a.darken1,a.lighten1,a.lighten2,a.lighten3,a.lighten4,a.lighten5]:[a.black,a.white,a.transparent]})}(Pl)},disabled:Boolean,color:Object,maxHeight:[Number,String],...H()},"VColorPickerSwatches"),zl=ue({name:"VColorPickerSwatches",props:Rl(),emits:{"update:color":e=>!0},setup(e,n){let{emit:a}=n;return j(()=>t.createVNode("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:T(e.maxHeight)},e.style]},[t.createVNode("div",null,[e.swatches.map(l=>t.createVNode("div",{class:"v-color-picker-swatches__swatch"},[l.map(i=>{const o=ve(i),s=at(o),r=zn(o);return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>s&&a("update:color",s)},[t.createVNode("div",{style:{background:r}},[e.color&&nt(e.color,s)?t.createVNode(fe,{size:"x-small",icon:"$success",color:Ra(i,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),ua=z({color:String,...ct(),...H(),...it(),...je(),...pt(),...Ft(),...ge(),...me(),...re()},"VSheet"),Cn=L()({name:"VSheet",props:ua(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{backgroundColorClasses:i,backgroundColorStyles:o}=Ae(t.toRef(e,"color")),{borderClasses:s}=dt(e),{dimensionStyles:r}=st(e),{elevationClasses:u}=De(e),{locationStyles:p}=vt(e),{positionClasses:c}=Mt(e),{roundedClasses:d}=he(e);return j(()=>t.createVNode(e.tag,{class:["v-sheet",l.value,i.value,s.value,u.value,c.value,d.value,e.class],style:[o.value,r.value,p.value,e.style]},a)),{}}}),Al=ue({name:"VColorPicker",props:z({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Se).includes(e)},modes:{type:Array,default:()=>Object.keys(Se),validator:e=>Array.isArray(e)&&e.every(n=>Object.keys(Se).includes(n))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...Bn(ua({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker")(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const n=ce(e,"mode"),a=t.ref(null),l=ce(e,"modelValue",void 0,s=>{if(s==null||s==="")return null;let r;try{r=at(ve(s))}catch(u){return ze(u),null}return a.value&&(r={...r,h:a.value.h},a.value=null),r},s=>s?function(r,u){if(u==null||typeof u=="string"){const p=Tn(r);return r.a===1?p.slice(0,7):p}if(typeof u=="object"){let p;return we(u,["r","g","b"])?p=se(r):we(u,["h","s","l"])?p=Rn(r):we(u,["h","s","v"])&&(p=r),function(c,d){if(d){const{a:v,...m}=c;return m}return c}(p,!we(u,["a"])&&r.a===1)}return r}(s,e.modelValue):null),{rtlClasses:i}=ye(),o=s=>{l.value=s,a.value=s};return t.onMounted(()=>{e.modes.includes(n.value)||(n.value=e.modes[0])}),lt({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),j(()=>{const s=Cn.filterProps(e);return t.createVNode(Cn,t.mergeProps({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",i.value,e.class],style:[{"--v-color-picker-color-hsv":An({...l.value??Pe,a:1})},e.style]},s,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&t.createVNode(ll,{key:"canvas",color:l.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&t.createVNode("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&t.createVNode($l,{key:"preview",color:l.value,"onUpdate:color":o,hideAlpha:!n.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&t.createVNode(vl,{key:"edit",modes:e.modes,mode:n.value,"onUpdate:mode":r=>n.value=r,color:l.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&t.createVNode(zl,{key:"swatches",color:l.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}}),El=z({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...H(),...zt({transition:{component:ra}})},"VCounter"),Ol=L()({name:"VCounter",functional:!0,props:El(),setup(e,n){let{slots:a}=n;const l=t.computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return j(()=>t.createVNode($e,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-counter",e.class],style:e.style},[a.default?a.default({counter:l.value,max:e.max,value:e.value}):l.value]),[[t.vShow,e.active]])]})),{}}}),Tl=z({floating:Boolean,...H()},"VFieldLabel"),Ge=L()({name:"VFieldLabel",props:Tl(),setup(e,n){let{slots:a}=n;return j(()=>t.createVNode(sa,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),Fl=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ca=z({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,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:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Fl.includes(e)},"onClick:clear":Re(),"onClick:appendInner":Re(),"onClick:prependInner":Re(),...H(),...Ot(),...ge(),...re()},"VField"),da=L()({name:"VField",inheritAttrs:!1,props:{id:String,...Dt(),...ca()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:a,emit:l,slots:i}=n;const{themeClasses:o}=pe(e),{loaderClasses:s}=Tt(e),{focusClasses:r,isFocused:u,focus:p,blur:c}=Ht(e),{InputIcon:d}=ia(e),{roundedClasses:v}=he(e),{rtlClasses:m}=ye(),_=t.computed(()=>e.dirty||e.active),y=t.computed(()=>!(e.singleLine||!e.label&&!i.label)),S=Me(),k=t.computed(()=>e.id||`input-${S}`),w=t.computed(()=>`${k.value}-messages`),N=t.ref(),$=t.ref(),P=t.ref(),x=t.computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:I,backgroundColorStyles:V}=Ae(t.toRef(e,"bgColor")),{textColorClasses:f,textColorStyles:C}=xe(t.computed(()=>e.error||e.disabled?void 0:_.value&&u.value?e.color:e.baseColor));t.watch(_,g=>{if(y.value){const b=N.value.$el,B=$.value.$el;requestAnimationFrame(()=>{const A=function(X){const K=X.getBoundingClientRect(),Z=getComputedStyle(X),W=Z.transform;if(W){let G,ne,le,J,be;if(W.startsWith("matrix3d("))G=W.slice(9,-1).split(/, /),ne=+G[0],le=+G[5],J=+G[12],be=+G[13];else{if(!W.startsWith("matrix("))return new mt(K);G=W.slice(7,-1).split(/, /),ne=+G[0],le=+G[3],J=+G[4],be=+G[5]}const ft=Z.transformOrigin,pa=K.x-J-(1-ne)*parseFloat(ft),va=K.y-be-(1-le)*parseFloat(ft.slice(ft.indexOf(" ")+1)),fa=ne?K.width/ne:X.offsetWidth+1,ma=le?K.height/le:X.offsetHeight+1;return new mt({x:pa,y:va,width:fa,height:ma})}return new mt(K)}(b),O=B.getBoundingClientRect(),D=O.x-A.x,F=O.y-A.y-(A.height/2-O.height/2),U=O.width/.75,Y=Math.abs(U-A.width)>1?{maxWidth:T(U)}:void 0,q=getComputedStyle(b),ae=getComputedStyle(B),E=1e3*parseFloat(q.transitionDuration)||150,M=parseFloat(ae.getPropertyValue("--v-field-label-scale")),ie=ae.getPropertyValue("color");b.style.visibility="visible",B.style.visibility="hidden",function(X,K,Z){if(X.animate===void 0)return{finished:Promise.resolve()};let W;try{W=X.animate(K,Z)}catch{return{finished:Promise.resolve()}}return W.finished===void 0&&(W.finished=new Promise(G=>{W.onfinish=()=>{G(W)}})),W}(b,{transform:`translate(${D}px, ${F}px) scale(${M})`,color:ie,...Y},{duration:E,easing:"cubic-bezier(0.4, 0, 0.2, 1)",direction:g?"normal":"reverse"}).finished.then(()=>{b.style.removeProperty("visibility"),B.style.removeProperty("visibility")})})}},{flush:"post"});const h=t.computed(()=>({isActive:_,isFocused:u,controlRef:P,blur:c,focus:p}));function R(g){g.target!==document.activeElement&&g.preventDefault()}return j(()=>{var D,F,U;const g=e.variant==="outlined",b=i["prepend-inner"]||e.prependInnerIcon,B=!(!e.clearable&&!i.clear),A=!!(i["append-inner"]||e.appendInnerIcon||B),O=()=>i.label?i.label({...h.value,label:e.label,props:{for:k.value}}):e.label;return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":_.value,"v-field--appended":A,"v-field--center-affix":e.centerAffix??!x.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":b,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!O(),[`v-field--variant-${e.variant}`]:!0},o.value,I.value,r.value,s.value,v.value,m.value,e.class],style:[V.value,e.style],onClick:R},a),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(Wn,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:i.loader}),b&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(d,{key:"prepend-icon",name:"prependInner"},null),(D=i["prepend-inner"])==null?void 0:D.call(i,h.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&y.value&&t.createVNode(Ge,{key:"floating-label",ref:$,class:[f.value],floating:!0,for:k.value,style:C.value},{default:()=>[O()]}),t.createVNode(Ge,{ref:N,for:k.value},{default:()=>[O()]}),(F=i.default)==null?void 0:F.call(i,{...h.value,props:{id:k.value,class:"v-field__input","aria-describedby":w.value},focus:p,blur:c})]),B&&t.createVNode(yl,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:Y=>{Y.preventDefault(),Y.stopPropagation()}},[i.clear?i.clear():t.createVNode(d,{name:"clear"},null)]),[[t.vShow,e.dirty]])]}),A&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[(U=i["append-inner"])==null?void 0:U.call(i,h.value),e.appendInnerIcon&&t.createVNode(d,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",f.value],style:C.value},[g&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),y.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(Ge,{ref:$,floating:!0,for:k.value},{default:()=>[O()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),x.value&&y.value&&t.createVNode(Ge,{ref:$,floating:!0,for:k.value},{default:()=>[O()]})])])}),{controlRef:P}}});function Ml(e){return _n(e,Object.keys(da.props).filter(n=>{return a=n,!In.test(a)&&n!=="class"&&n!=="style";var a}))}const bt=Symbol("Forwarded refs");function kt(e,n){let a=e;for(;a;){const l=Reflect.getOwnPropertyDescriptor(a,n);if(l)return l;a=Object.getPrototypeOf(a)}}const Ll=["color","file","time","date","datetime-local","week","month"],jl=z({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,...Wt(),...ca()},"VTextField"),Dl=L()({name:"VTextField",directives:{Intersect:Ln},inheritAttrs:!1,props:jl(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:a,emit:l,slots:i}=n;const o=ce(e,"modelValue"),{isFocused:s,focus:r,blur:u}=Ht(e),p=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(o.value):typeof e.counterValue=="number"?e.counterValue:(o.value??"").toString().length),c=t.computed(()=>a.maxlength?a.maxlength:!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"?void 0:e.counter),d=t.computed(()=>["plain","underlined"].includes(e.variant));function v(x,I){var V,f;e.autofocus&&x&&((f=(V=I[0].target)==null?void 0:V.focus)==null||f.call(V))}const m=t.ref(),_=t.ref(),y=t.ref(),S=t.computed(()=>Ll.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function k(){var x;y.value!==document.activeElement&&((x=y.value)==null||x.focus()),s.value||r()}function w(x){l("mousedown:control",x),x.target!==y.value&&(k(),x.preventDefault())}function N(x){k(),l("click:control",x)}function $(x){x.stopPropagation(),k(),t.nextTick(()=>{o.value=null,function(I){for(var V=arguments.length,f=new Array(V>1?V-1:0),C=1;C{I.selectionStart=f[0],I.selectionEnd=f[1]})}}return j(()=>{const x=!!(i.counter||e.counter!==!1&&e.counter!=null),I=!(!x&&!i.details),[V,f]=function(g){const[b,B]=Gt(g,[In]),A=Bn(b,ba),[O,D]=Gt(B,["class","style","id",/^data-/]);return Object.assign(O,b),Object.assign(D,A),[O,D]}(a),{modelValue:C,...h}=et.filterProps(e),R=Ml(e);return t.createVNode(et,t.mergeProps({ref:m,modelValue:o.value,"onUpdate:modelValue":g=>o.value=g,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},V,h,{centerAffix:!d.value,focused:s.value}),{...i,default:g=>{let{id:b,isDisabled:B,isDirty:A,isReadonly:O,isValid:D}=g;return t.createVNode(da,t.mergeProps({ref:_,onMousedown:w,onClick:N,"onClick:clear":$,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},R,{id:b.value,active:S.value||A.value,dirty:A.value||e.dirty,disabled:B.value,focused:s.value,error:D.value===!1}),{...i,default:F=>{let{props:{class:U,...Y}}=F;const q=t.withDirectives(t.createVNode("input",t.mergeProps({ref:y,value:o.value,onInput:P,autofocus:e.autofocus,readonly:O.value,disabled:B.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:k,onBlur:u},Y,f),null),[[t.resolveDirective("intersect"),{handler:v},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])]),i.default?t.createVNode("div",{class:U,"data-no-activator":""},[i.default(),q]):t.cloneVNode(q,{class:U}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:I?g=>{var b;return t.createVNode(t.Fragment,null,[(b=i.details)==null?void 0:b.call(i,g),x&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Ol,{active:e.persistentCounter||s.value,value:p.value,max:c.value},i.counter)])])}:void 0})}),function(x){for(var I=arguments.length,V=new Array(I>1?I-1:0),f=1;f(t.pushScopeId("data-v-070e9f6c"),e=e(),t.popScopeId(),e))(()=>t.createElementVNode("div",{class:"position-elm-helper"},null,-1)),Vt=((e,n)=>{const a=e.__vccOpts||e;for(const[l,i]of n)a[l]=i;return a})(t.defineComponent({inheritAttrs:!1,__name:"VColorField",props:{appendIcon:{default:void 0},appendInnerIcon:{default:void 0},cardFieldWidth:{type:Boolean,default:!1},cardOffsetX:{default:0},cardOffsetY:{default:5},cardPadding:{default:4},cardProps:{default:()=>({})},clearable:{default:!1},color:{default:void 0},colorPickerProps:{default:()=>({})},density:{default:"default"},hint:{default:""},iconHoverColor:{type:Boolean,default:void 0},iconSize:{default:"default"},label:{default:void 0},messages:{default:void 0},name:{default:"color"},open:{default:"bottom left"},persistentHint:{type:Boolean,default:!1},persistentPlaceholder:{default:!1},placeholder:{default:void 0},prependIcon:{default:void 0},prependInnerIcon:{type:[String,null,Boolean],default:"default"},readonly:{default:!1},readonlyInput:{type:[Boolean,null],default:!1},required:{type:Boolean,default:!1},theme:{},canvasHeight:{},dotSize:{},hideCanvas:{},hideInputs:{},hideSliders:{},mode:{},modes:{},showSwatches:{},swatches:{},swatchesMaxHeight:{},variant:{default:"filled"},pip:{type:Boolean,default:!1},pipBorder:{default:"3px solid rgb(var(--v-theme-on-surface))"},pipIcon:{type:[String,null,Boolean],default:"pip"},pipBorderRadius:{default:"50%"},pipSize:{},pipSlot:{default:"prepend-inner"}},emits:["update","update:mode","update:modelValue"],setup(e,{emit:n}){var R;const a=t.useAttrs(),l=t.useSlots(),i=n,o=e,s=t.inject(_t,{});let r=t.reactive({...o,...s});t.watchEffect(()=>{r={...o,...s}});const u=t.ref({VCard:{elevation:5,hover:!1,loading:!1,verticalOffset:28,...r.cardProps},VColorPicker:{canvasHeight:r.canvasHeight,dotSize:r.dotSize,elevation:0,hideCanvas:r.hideCanvas,hideInputs:r.hideInputs,hideSliders:r.hideSliders,mode:r.mode,modes:r.modes,showSwatches:r.showSwatches,swatches:r.swatches,swatchesMaxHeight:r.swatchesMaxHeight,...r.colorPickerProps}}),p=t.ref(null),c=t.ref({}),d=t.ref(!1),v=t.ref(null),m=t.ref(a.modelValue),_=t.ref(a.modelValue),y=t.ref((R=u.value.VColorPicker)==null?void 0:R.mode),S=t.ref(r.theme??void 0);let k=t.reactive({bottom:0,height:150,left:0,right:0,top:0,width:300});const w=t.ref({density:r.density,modelValue:_,pip:r.pip,pipBorder:r.pipBorder,pipBorderRadius:r.pipBorderRadius,pipIcon:r.pipIcon,pipSize:r.iconSize});t.watch(()=>a.modelValue,g=>{f(g)});const N=t.computed(()=>(g=>{const{name:b="",readonly:B,readonlyInput:A}=g;return{[`${Ve}--text-field-${b}`]:b!=="",[`${Ve}--text-field-readonly`]:B??!1,[`${Ve}--text-field-readonly-input`]:!(!A||B),[`${Ve}--text-field`]:!0}})({name:r.name,readonly:r.readonly,readonlyInput:r.readonlyInput})),$=t.computed(()=>r.readonly||r.readonlyInput),P=t.computed(()=>{if(r.iconHoverColor!==!1)return typeof r.iconHoverColor=="string"?r.iconHoverColor:r.color??void 0}),x=t.computed(()=>(g=>{const{fullWidth:b}=g;return{[`${Ve}--card`]:!0,[`${Ve}--card-full-width`]:b}})({fullWidth:r.cardFieldWidth}));function I(g){(g!=="textField"||r.readonlyInput||r.readonly)&&(g==="textFieldIcon"&&(r.readonlyInput||r.readonly)||V())}function V(g){var E;const b={left:0,right:0,top:0,width:0},B=v.value;if(!d.value&&(g==="keyup"||g==="clear"))return void(g==="clear"&&C(""));if(d.value=!d.value,!d.value)return void(c.value.display="none");const A=(B==null?void 0:B.getBoundingClientRect())??b;let O=(B==null?void 0:B.offsetHeight)??0,D=300,F=(A==null?void 0:A.left)??0,U=(A==null?void 0:A.right)??0;const Y=(A==null?void 0:A.top)??0,q=(E=v==null?void 0:v.value)==null?void 0:E.querySelector(".v-field__input"),ae=(q==null?void 0:q.getBoundingClientRect())??b;O=q==null?void 0:q.offsetHeight,D=(q==null?void 0:q.offsetWidth)??0,F=ae.left,U=ae.right-ae.width,k={bottom:"initial",height:O,left:F,right:U,top:window.scrollY+Y,width:r.cardFieldWidth?D:"auto"},function(){var ne,le,J;let M=Number(k.top)+Number(k.height),ie="initial",X=Number(r.cardOffsetY)??0;const K=Number(r.cardOffsetX)??0;(r.hint||o.messages)&&(X+=((ne=u.value.VCard)==null?void 0:ne.verticalOffset)??0),M+=X,(le=r.open)!=null&&le.includes("top")&&(ie=window.innerHeight-M+Number(k.height)+2*X,M="initial");let Z=Number(k.left)+K,W=k.right??0;r.cardFieldWidth?(Z=k.left,W="initial"):(W="initial",(J=r.open)!=null&&J.includes("right")&&(Z="initial",W=Number(k.right)+K));const G={bottom:ke({value:ie}),display:"block",left:ke({value:Z}),minWidth:ke({value:k.width}),padding:ke({value:r.cardPadding}),right:ke({value:W}),top:ke({value:M}),width:ke({value:k.width})};c.value=G}()}function f(g){let b=g??"";if(b.length<7)return _.value=b,void C(b);y.value==="hex"&&(g.length>7&&(b=g.substr(0,7)),b.toString().match(/#[a-zA-Z0-9]{7}/)&&(b=g.substr(0,7))),C(b)}function C(g,b=!0){b&&(m.value=g),_.value=g,i("update:modelValue",g),i("update",g)}function h(g){y.value=g,_.value=m.value,i("update:mode",g)}return ga.onClickOutside(v,g=>{var B;const b=t.unref(p);g.target!==b&&!((B=b==null?void 0:b.$el)!=null&&B.contains(g.target))&&d.value&&V("outside")},{ignore:[p]}),(g,b)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{ref_key:"fieldContainerRef",ref:v,class:"v-color-field"},[t.createVNode(Dl,t.mergeProps({ref:"textFieldRef"},g.$attrs,{class:t.unref(N),clearable:t.unref(r).clearable,color:t.unref(r).color,density:t.unref(r).density,hint:t.unref(r).hint,messages:t.unref(r).messages,"model-value":t.unref(_),"persistent-hint":t.unref(r).persistentHint,"persistent-placeholder":t.unref(r).persistentPlaceholder,placeholder:t.unref(r).placeholder,readonly:t.unref($),theme:t.unref(S),variant:t.unref(r).variant,"onClick:clear":b[2]||(b[2]=B=>V("clear")),"onClick:control":b[3]||(b[3]=B=>I("textField")),onKeyup:b[4]||(b[4]=t.withKeys(B=>V("keyup"),["enter"])),"onUpdate:modelValue":f}),t.createSlots({_:2},[t.renderList(t.unref(l),(B,A)=>({name:A,fn:t.withCtx(O=>[t.unref(l).prepend||t.unref(l)["prepend-inner"]||t.unref(l)["append-inner"]||t.unref(l).append?t.createCommentVNode("",!0):t.renderSlot(g.$slots,A,t.normalizeProps(t.mergeProps({key:0},{...O})),void 0,!0)])})),t.unref(l).prepend?{name:"prepend",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"prepend",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"0"}:void 0,(t.unref(r).prependIcon||t.unref(r).pipSlot==="prepend"&&t.unref(r).pip)&&!t.unref(l).prepend?{name:"prepend",fn:t.withCtx(()=>[t.unref(r).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(r).prependIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(r).prependIcon,iconSize:t.unref(r).iconSize,onClick:V},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"1"}:void 0,t.unref(l)["prepend-inner"]?{name:"prepend-inner",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"prepend-inner",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"2"}:void 0,(t.unref(r).prependInnerIcon||t.unref(r).pipSlot==="prepend-inner"&&t.unref(r).pip)&&!t.unref(l)["prepend-inner"]?{name:"prepend-inner",fn:t.withCtx(()=>[t.unref(r).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(r).prependInnerIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(r).prependInnerIcon,iconSize:t.unref(r).iconSize,onClick:b[0]||(b[0]=B=>I("textFieldIcon"))},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"3"}:void 0,t.unref(l)["append-inner"]?{name:"append-inner",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"append-inner",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"4"}:void 0,(t.unref(r).appendInnerIcon||t.unref(r).pipSlot==="append-inner"&&t.unref(r).pip)&&!t.unref(l)["append-inner"]?{name:"append-inner",fn:t.withCtx(()=>[t.unref(r).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(r).appendInnerIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(r).appendInnerIcon,iconSize:t.unref(r).iconSize,onClick:b[1]||(b[1]=B=>I("textFieldIcon"))},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"5"}:void 0,t.unref(l).append?{name:"append",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"append",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"6"}:void 0,(t.unref(r).appendIcon||t.unref(r).pipSlot==="append"&&t.unref(r).pip)&&!t.unref(l).append?{name:"append",fn:t.withCtx(()=>[t.unref(r).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(r).appendIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(r).appendIcon,iconSize:t.unref(r).iconSize,onClick:V},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"7"}:void 0,t.unref(l).label||t.unref(r).label?{name:"label",fn:t.withCtx(()=>[t.unref(l).label?t.renderSlot(g.$slots,"label",{key:0},void 0,!0):t.unref(r).label?(t.openBlock(),t.createElementBlock("div",Hl,[t.createTextVNode(t.toDisplayString(t.unref(r).label)+" ",1),t.unref(r).required?(t.openBlock(),t.createElementBlock("span",Wl,"*")):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),key:"8"}:void 0]),1040,["class","clearable","color","density","hint","messages","model-value","persistent-hint","persistent-placeholder","placeholder","readonly","theme","variant"])],512),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[Ul,t.createVNode(Ne,{defaults:t.unref(u)},{default:t.withCtx(()=>{var B;return[t.createVNode(al,{ref_key:"cardRef",ref:p,class:t.normalizeClass(t.unref(x)),style:t.normalizeStyle(t.unref(c)),theme:((B=t.unref(u).VCard)==null?void 0:B.theme)??t.unref(S),width:t.unref(k).width},{default:t.withCtx(()=>{var A,O;return[t.createVNode(Al,{modelValue:t.unref(m),"onUpdate:modelValue":[b[5]||(b[5]=D=>t.isRef(m)?m.value=D:null),f],class:"v-color-selection",disabled:t.unref(r).readonly||((A=t.unref(u).VColorPicker)==null?void 0:A.disabled),mode:t.unref(y),theme:((O=t.unref(u).VColorPicker)==null?void 0:O.theme)??t.unref(S),"onUpdate:mode":h},null,8,["modelValue","disabled","mode","theme"])]}),_:1},8,["class","style","theme","width"])]}),_:1},8,["defaults"])]))],64))}}),[["__scopeId","data-v-070e9f6c"]]),_t=Symbol();exports.VColorField=Vt,exports.createVColorField=function(e={}){return{install:n=>{n.provide(_t,e),n.component("VColorField",Vt)}}},exports.default=Vt,exports.globalOptions=_t; -(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-070e9f6c],.v-color-field--text-field-readonly-input .v-field *[data-v-070e9f6c]{cursor:pointer!important}.v-color-field--card[data-v-070e9f6c]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-070e9f6c]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-070e9f6c]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-070e9f6c]{max-width:100%!important}.position-elm-helper[data-v-070e9f6c]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})(); + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),ga=require("@vueuse/core"),ke=e=>{const{unit:n="px",value:a}=e;if(a!=null&&a!=="")return+a?`${Number(a)}${n}`:String(a)},Ve="v-color-field",ha={fa:{default:"fa-solid fa-palette",pip:"fa-solid fa-circle"},mdi:{default:"mdi:mdi-palette",pip:"mdi:mdi-circle"}},xn=e=>{const{icon:n,iconOptions:a,name:l}=e;if(n)return n;let o=((a==null?void 0:a.defaultSet)??"").toLowerCase();o=o==="fa"||o==="fasvg"?"fa":o;const r=ha[o];if(!r)throw new Error(`[VColorField]: No default ${a==null?void 0:a.defaultSet} icon set found.`);const s=r[l];if(!s)throw new Error(`[VColorField]: No ${l} icon found.`);return s},tt=typeof window<"u",Bt=tt&&"IntersectionObserver"in window,Ut=tt&&"EyeDropper"in window;function nt(e,n){if(e===n)return!0;if(e instanceof Date&&n instanceof Date&&e.getTime()!==n.getTime()||e!==Object(e)||n!==Object(n))return!1;const a=Object.keys(e);return a.length===Object.keys(n).length&&a.every(l=>nt(e[l],n[l]))}function T(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 wt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function qt(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 Xt=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}),ba=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 we(e,n){return n.every(a=>e.hasOwnProperty(a))}function _n(e,n){const a={},l=new Set(Object.keys(e));for(const o of n)l.has(o)&&(a[o]=e[o]);return a}function Gt(e,n,a){const l=Object.create(null),o=Object.create(null);for(const r in e)n.some(s=>s instanceof RegExp?s.test(r):s===r)&&!(a!=null&&a.some(s=>s===r))?l[r]=e[r]:o[r]=e[r];return[l,o]}function Bn(e,n){const a={...e};return n.forEach(l=>delete a[l]),a}const In=/^on[^a-z]/,ya=["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 Oe(e){return e==null?[]:Array.isArray(e)?e:[e]}function Be(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(n,Math.min(a,e))}function Yt(e){const n=e.toString().trim();return n.includes(".")?n.length-n.indexOf(".")-1:0}function Kt(e,n){return e+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,n-e.length))}function Ie(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;const l={};for(const o in e)l[o]=e[o];for(const o in n){const r=e[o],s=n[o];wt(r)&&wt(s)?l[o]=Ie(r,s,a):Array.isArray(r)&&Array.isArray(s)&&a?l[o]=a(r,s):l[o]=s}return l}function $n(e){return e.map(n=>n.type===t.Fragment?$n(n.children):n).flat()}function Ce(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ce.cache.has(e))return Ce.cache.get(e);const n=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ce.cache.set(e,n),n}function Ye(e,n){if(!n||typeof n!="object")return[];if(Array.isArray(n))return n.map(a=>Ye(e,a)).flat(1);if(Array.isArray(n.children))return n.children.map(a=>Ye(e,a)).flat(1);if(n.component){if(Object.getOwnPropertySymbols(n.component.provides).includes(e))return[n.component];if(n.component.subTree)return Ye(e,n.component.subTree).flat(1)}return[]}function Pn(e){const n=t.reactive({}),a=t.computed(e);return t.watchEffect(()=>{for(const l in a.value)n[l]=a.value[l]},{flush:"sync"}),t.toRefs(n)}function St(e,n){return e.includes(n)}Ce.cache=new Map;const Re=()=>[Function,Array];function Zt(e,n){return!!(e[n="on"+t.capitalize(n)]||e[`${n}Once`]||e[`${n}Capture`]||e[`${n}OnceCapture`]||e[`${n}CaptureOnce`])}const ka=["top","bottom"],Va=["start","end","left","right"];function Jt(e,n){return e==="start"?n?"right":"left":e==="end"?n?"left":"right":e}class mt{constructor(n){let{x:a,y:l,width:o,height:r}=n;this.x=a,this.y=l,this.width=o,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}}const _e=2.4,Qt=.2126729,en=.7151522,tn=.072175,wa=.55,Sa=.58,Ca=.57,Na=.62,He=.03,nn=1.45,xa=5e-4,_a=1.25,Ba=1.25,an=.078,ln=12.82051282051282,We=.06,rn=.001;function on(e,n){const a=(e.r/255)**_e,l=(e.g/255)**_e,o=(e.b/255)**_e,r=(n.r/255)**_e,s=(n.g/255)**_e,i=(n.b/255)**_e;let u,p=a*Qt+l*en+o*tn,c=r*Qt+s*en+i*tn;if(p<=He&&(p+=(He-p)**nn),c<=He&&(c+=(He-c)**nn),Math.abs(c-p)p){const d=(c**wa-p**Sa)*_a;u=d-rn?0:d>-an?d-d*ln*We:d+We}return 100*u}function ze(e){t.warn(`Vuetify: ${e}`)}const Ia=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],$a=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function gt(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const sn=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Pa={rgb:(e,n,a,l)=>({r:e,g:n,b:a,a:l}),rgba:(e,n,a,l)=>({r:e,g:n,b:a,a:l}),hsl:(e,n,a,l)=>un({h:e,s:n,l:a,a:l}),hsla:(e,n,a,l)=>un({h:e,s:n,l:a,a:l}),hsv:(e,n,a,l)=>se({h:e,s:n,v:a,a:l}),hsva:(e,n,a,l)=>se({h:e,s:n,v:a,a:l})};function ve(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&ze(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e};if(typeof e=="string"&&sn.test(e)){const{groups:n}=e.match(sn),{fn:a,values:l}=n,o=l.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(a)?parseFloat(r)/100:parseFloat(r));return Pa[a](...o)}if(typeof e=="string"){let n=e.startsWith("#")?e.slice(1):e;[3,4].includes(n.length)?n=n.split("").map(l=>l+l).join(""):[6,8].includes(n.length)||ze(`'${e}' is not a valid hex(a) color`);const a=parseInt(n,16);return(isNaN(a)||a<0||a>4294967295)&&ze(`'${e}' is not a valid hex(a) color`),En(n)}if(typeof e=="object"){if(we(e,["r","g","b"]))return e;if(we(e,["h","s","l"]))return se(It(e));if(we(e,["h","s","v"]))return se(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 se(e){const{h:n,s:a,v:l,a:o}=e,r=i=>{const u=(i+n/60)%6;return l-l*a*Math.max(Math.min(u,4-u,1),0)},s=[r(5),r(3),r(1)].map(i=>Math.round(255*i));return{r:s[0],g:s[1],b:s[2],a:o}}function un(e){return se(It(e))}function at(e){if(!e)return{h:0,s:1,v:1,a:1};const n=e.r/255,a=e.g/255,l=e.b/255,o=Math.max(n,a,l),r=Math.min(n,a,l);let s=0;o!==r&&(o===n?s=60*(0+(a-l)/(o-r)):o===a?s=60*(2+(l-n)/(o-r)):o===l&&(s=60*(4+(n-a)/(o-r)))),s<0&&(s+=360);const i=[s,o===0?0:(o-r)/o,o];return{h:i[0],s:i[1],v:i[2],a:e.a}}function Rn(e){const{h:n,s:a,v:l,a:o}=e,r=l-l*a/2;return{h:n,s:r===1||r===0?0:(l-r)/Math.min(r,1-r),l:r,a:o}}function It(e){const{h:n,s:a,l,a:o}=e,r=l+a*Math.min(l,1-l);return{h:n,s:r===0?0:2-2*l/r,v:r,a:o}}function zn(e){let{r:n,g:a,b:l,a:o}=e;return o===void 0?`rgb(${n}, ${a}, ${l})`:`rgba(${n}, ${a}, ${l}, ${o})`}function An(e){return zn(se(e))}function Ue(e){const n=Math.round(e).toString(16);return("00".substr(0,2-n.length)+n).toUpperCase()}function En(e){e=function(r){return r.startsWith("#")&&(r=r.slice(1)),r=r.replace(/([^0-9a-f])/gi,"F"),(r.length===3||r.length===4)&&(r=r.split("").map(s=>s+s).join("")),r.length!==6&&(r=Kt(Kt(r,6),8,"F")),r}(e);let[n,a,l,o]=function(r){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const i=[];let u=0;for(;uparseInt(r,16));return o=o===void 0?o:o/255,{r:n,g:a,b:l,a:o}}function On(e){return at(En(e))}function Tn(e){return function(n){let{r:a,g:l,b:o,a:r}=n;return`#${[Ue(a),Ue(l),Ue(o),r!==void 0?Ue(Math.round(255*r)):""].join("")}`}(se(e))}function cn(e){return function(n){let{r:a,g:l,b:o}=n;const r=[0,0,0],s=$a,i=Ia;a=s(a/255),l=s(l/255),o=s(o/255);for(let u=0;u<3;++u)r[u]=i[u][0]*a+i[u][1]*l+i[u][2]*o;return r}(ve(e))[1]}function Ra(e,n){const a=cn(e),l=cn(n);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)}function z(e,n){return a=>Object.keys(e).reduce((l,o)=>{const r=typeof e[o]=="object"&&e[o]!=null&&!Array.isArray(e[o])?e[o]:{type:e[o]};return l[o]=a&&o in a?{...r,default:a[o]}:r,n&&!l[o].source&&(l[o].source=n),l},{})}const H=z({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Ze=Symbol.for("vuetify:defaults");function $t(){const e=t.inject(Ze);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function lt(e,n){const a=$t(),l=t.ref(e),o=t.computed(()=>{if(t.unref(n==null?void 0:n.disabled))return a.value;const r=t.unref(n==null?void 0:n.scoped),s=t.unref(n==null?void 0:n.reset),i=t.unref(n==null?void 0:n.root);if(l.value==null&&!(r||s||i))return a.value;let u=Ie(l.value,{prev:a.value});if(r)return u;if(s||i){const p=Number(s||1/0);for(let c=0;c<=p&&u&&"prev"in u;c++)u=u.prev;return u&&typeof i=="string"&&i in u&&(u=Ie(Ie(u,{prev:u}),u[i])),u}return u.prev?Ie(u.prev,u):u});return t.provide(Ze,o),o}function za(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$t();const l=re("useDefaults");if(n=n??l.type.name??l.type.__name,!n)throw new Error("[Vuetify] Could not determine component name");const o=t.computed(()=>{var i;return(i=a.value)==null?void 0:i[e._as??n]}),r=new Proxy(e,{get(i,u){var c,d,v,m;const p=Reflect.get(i,u);return u==="class"||u==="style"?[(c=o.value)==null?void 0:c[u],p].filter(_=>_!=null):typeof u!="string"||function(_,b){var S,k;return((S=_.props)==null?void 0:S[b])!==void 0||((k=_.props)==null?void 0:k[Ce(b)])!==void 0}(l.vnode,u)?p:((d=o.value)==null?void 0:d[u])??((m=(v=a.value)==null?void 0:v.global)==null?void 0:m[u])??p}}),s=t.shallowRef();return t.watchEffect(()=>{if(o.value){const i=Object.entries(o.value).filter(u=>{let[p]=u;return p.startsWith(p[0].toUpperCase())});s.value=i.length?Object.fromEntries(i):void 0}else s.value=void 0}),{props:r,provideSubDefaults:function(){const i=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re("injectSelf");const{provides:c}=p;if(c&&u in c)return c[u]}(Ze,l);t.provide(Ze,t.computed(()=>s.value?Ie((i==null?void 0:i.value)??{},s.value):i==null?void 0:i.value))}}}function ue(e){if(e._setup=e._setup??e.setup,!e.name)return ze("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=z(e.props??{},e.name)();const n=Object.keys(e.props).filter(a=>a!=="class"&&a!=="style");e.filterProps=function(a){return _n(a,n)},e.props._as=String,e.setup=function(a,l){const o=$t();if(!o.value)return e._setup(a,l);const{props:r,provideSubDefaults:s}=za(a,a._as??e.name,o),i=e._setup(r,l);return s(),i}}return e}function L(){let e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return n=>(e?ue:t.defineComponent)(n)}function Pt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0;return L()({name:a??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:n},...H()},setup(l,o){let{slots:r}=o;return()=>{var s;return t.h(l.tag,{class:[e,l.class],style:l.style},(s=r.default)==null?void 0:s.call(r))}}})}function re(e,n){const a=t.getCurrentInstance();if(!a)throw new Error(`[Vuetify] ${e} ${n||"must be called from inside a setup function"}`);return a}function de(){const e=re(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Ce((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let Fn=0,Ke=new WeakMap;function Me(){const e=re("getUid");if(Ke.has(e))return Ke.get(e);{const n=Fn++;return Ke.set(e,n),n}}function j(e){re("useRender").render=e}Me.reset=()=>{Fn=0,Ke=new WeakMap};const Aa=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ea(e,n){let a=()=>{};function l(o){a==null||a();const r=Number(o?e.openDelay:e.closeDelay);return new Promise(s=>{a=function(i,u){if(!tt||i===0)return u(),()=>{};const p=window.setTimeout(u,i);return()=>window.clearTimeout(p)}(r,()=>{n==null||n(o),s(o)})})}return{clearDelay:a,runOpenDelay:function(){return l(!0)},runCloseDelay:function(){return l(!1)}}}function Ct(e,n){let a;function l(){a=t.effectScope(),a.run(()=>n.length?n(()=>{a==null||a.stop(),l()}):n())}t.watch(e,o=>{o&&!a?l():o||(a==null||a.stop(),a=void 0)},{immediate:!0}),t.onScopeDispose(()=>{a==null||a.stop()})}function ce(e,n,a){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:c=>c,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:c=>c;const r=re("useProxiedModel"),s=t.ref(e[n]!==void 0?e[n]:a),i=Ce(n),u=i!==n?t.computed(()=>{var c,d,v,m;return e[n],!(!((c=r.vnode.props)!=null&&c.hasOwnProperty(n))&&!((d=r.vnode.props)!=null&&d.hasOwnProperty(i))||!((v=r.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${n}`))&&!((m=r.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${i}`)))}):t.computed(()=>{var c,d;return e[n],!(!((c=r.vnode.props)!=null&&c.hasOwnProperty(n))||!((d=r.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${n}`)))});Ct(()=>!u.value,()=>{t.watch(()=>e[n],c=>{s.value=c})});const p=t.computed({get(){const c=e[n];return l(u.value?c:s.value)},set(c){const d=o(c),v=t.toRaw(u.value?e[n]:s.value);v!==d&&l(v)!==c&&(s.value=d,r==null||r.emit(`update:${n}`,d))}});return Object.defineProperty(p,"externalValue",{get:()=>u.value?e[n]:s.value}),p}const Oa=z({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...Aa()},"VHover"),Ta=L()({name:"VHover",props:Oa(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const l=ce(e,"modelValue"),{runOpenDelay:o,runCloseDelay:r}=Ea(e,s=>!e.disabled&&(l.value=s));return()=>{var s;return(s=a.default)==null?void 0:s.call(a,{isHovering:l.value,props:{onMouseenter:o,onMouseleave:r}})}}});function Rt(e){return Pn(()=>{const n=[],a={};if(e.value.background)if(gt(e.value.background)){if(a.backgroundColor=e.value.background,!e.value.text&>(l=e.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const o=ve(e.value.background);if(o.a==null||o.a===1){const r=function(s){const i=Math.abs(on(ve(0),ve(s)));return Math.abs(on(ve(16777215),ve(s)))>Math.min(i,50)?"#fff":"#000"}(o);a.color=r,a.caretColor=r}}}else n.push(`bg-${e.value.background}`);var l;return e.value.text&&(gt(e.value.text)?(a.color=e.value.text,a.caretColor=e.value.text):n.push(`text-${e.value.text}`)),{colorClasses:n,colorStyles:a}})}function xe(e,n){const a=t.computed(()=>({text:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:l,colorStyles:o}=Rt(a);return{textColorClasses:l,textColorStyles:o}}function Ae(e,n){const a=t.computed(()=>({background:t.isRef(e)?e.value:n?e[n]:null})),{colorClasses:l,colorStyles:o}=Rt(a);return{backgroundColorClasses:l,backgroundColorStyles:o}}const Q=[String,Function,Object,Array],Fa=Symbol.for("vuetify:icons"),Je=z({icon:{type:Q},tag:{type:String,required:!0}},"icon"),dn=L()({name:"VComponentIcon",props:Je(),setup(e,n){let{slots:a}=n;return()=>{const l=e.icon;return t.createVNode(e.tag,null,{default:()=>{var o;return[e.icon?t.createVNode(l,null,null):(o=a.default)==null?void 0:o.call(a)]}})}}}),Ma=ue({name:"VSvgIcon",inheritAttrs:!1,props:Je(),setup(e,n){let{attrs:a}=n;return()=>t.createVNode(e.tag,t.mergeProps(a,{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(l=>Array.isArray(l)?t.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):t.createVNode("path",{d:l},null)):t.createVNode("path",{d:e.icon},null)])]})}});ue({name:"VLigatureIcon",props:Je(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),ue({name:"VClassIcon",props:Je(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)});const La=["x-small","small","default","large","x-large"],rt=z({size:{type:[String,Number],default:"default"}},"size");function ot(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return Pn(()=>{let a,l;return St(La,e.size)?a=`${n}--size-${e.size}`:e.size&&(l={width:T(e.size),height:T(e.size)}),{sizeClasses:a,sizeStyles:l}})}const me=z({tag:{type:String,default:"div"}},"tag"),pn=Symbol.for("vuetify:theme"),oe=z({theme:String},"theme");function pe(e){re("provideTheme");const n=t.inject(pn,null);if(!n)throw new Error("Could not find Vuetify theme injection");const a=t.computed(()=>e.theme??n.name.value),l=t.computed(()=>n.themes.value[a.value]),o=t.computed(()=>n.isDisabled?void 0:`v-theme--${a.value}`),r={...n,name:a,current:l,themeClasses:o};return t.provide(pn,r),r}const ja=z({color:String,start:Boolean,end:Boolean,icon:Q,...H(),...rt(),...me({tag:"i"}),...oe()},"VIcon"),fe=L()({name:"VIcon",props:ja(),setup(e,n){let{attrs:a,slots:l}=n;const o=t.ref(),{themeClasses:r}=pe(e),{iconData:s}=(c=>{const d=t.inject(Fa);if(!d)throw new Error("Missing Vuetify Icons provide!");return{iconData:t.computed(()=>{var S;const v=t.unref(c);if(!v)return{component:dn};let m=v;if(typeof m=="string"&&(m=m.trim(),m.startsWith("$")&&(m=(S=d.aliases)==null?void 0:S[m.slice(1)])),!m)throw new Error(`Could not find aliased icon "${v}"`);if(Array.isArray(m))return{component:Ma,icon:m};if(typeof m!="string")return{component:dn,icon:m};const _=Object.keys(d.sets).find(k=>typeof m=="string"&&m.startsWith(`${k}:`)),b=_?m.slice(_.length+1):m;return{component:d.sets[_??d.defaultSet].component,icon:b}})}})(t.computed(()=>o.value||e.icon)),{sizeClasses:i}=ot(e),{textColorClasses:u,textColorStyles:p}=xe(t.toRef(e,"color"));return j(()=>{var d,v;const c=(d=l.default)==null?void 0:d.call(l);return c&&(o.value=(v=$n(c).filter(m=>m.type===t.Text&&m.children&&typeof m.children=="string")[0])==null?void 0:v.children),t.createVNode(s.value.component,{tag:e.tag,icon:s.value.icon,class:["v-icon","notranslate",r.value,i.value,u.value,{"v-icon--clickable":!!a.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[i.value?void 0:{fontSize:T(e.size),height:T(e.size),width:T(e.size)},p.value,e.style],role:a.onClick?"button":void 0,"aria-hidden":!a.onClick},{default:()=>[c]})}),{}}}),qe=t.defineComponent({__name:"ColorPickerIcon",props:{color:{},icon:{type:[String,null,Boolean],default:""},iconSize:{}},emits:["click"],setup(e,{emit:n}){const a=n,l=e,o=t.inject(Symbol.for("vuetify:icons")),r=t.computed(()=>xn({icon:l.icon!=="default"?l.icon:"",iconOptions:o,name:"default"}));function s(){a("click")}return(i,u)=>(t.openBlock(),t.createBlock(Ta,null,{default:t.withCtx(({isHovering:p,props:c})=>[t.createVNode(fe,t.mergeProps(c,{color:p?i.color:void 0,icon:t.unref(r),size:i.iconSize,onClick:s}),null,16,["color","icon","size"])]),_:1}))}}),Xe=t.defineComponent({__name:"PipComponent",props:{modelValue:{},pip:{type:Boolean},pipBorder:{},pipIcon:{type:[String,null,Boolean]},pipBorderRadius:{},pipSize:{},pipSlot:{}},emits:["click"],setup(e,{emit:n}){const a=n,l=e,{modelValue:o}=t.toRefs(l),r=t.computed(()=>({[`${Ve}--pip`]:!0})),s=t.computed(()=>(c=>{const{pipBorder:d,pipBorderRadius:v}=c,m={backgroundColor:d&&d!=="none"?"rgb(var(--v-theme-on-surface))":"transparent",overflow:"hidden"};return d&&d!=="none"&&(m.border=d,m.borderRadius=v),m})({pipBorder:l.pipBorder,pipBorderRadius:l.pipBorderRadius})),i=t.inject(Symbol.for("vuetify:icons")),u=t.computed(()=>xn({icon:l.pipIcon!=="pip"?l.pipIcon:"",iconOptions:i,name:"pip"}));function p(){a("click")}return(c,d)=>(t.openBlock(),t.createBlock(fe,{class:t.normalizeClass(t.unref(r)),color:t.unref(o)||"--v-theme-on-surface",icon:t.unref(u),size:c.pipSize,style:t.normalizeStyle(t.unref(s)),tag:"div",onClick:p},null,8,["class","color","icon","size","style"]))}}),Da=L()({name:"VCardActions",props:H(),setup(e,n){let{slots:a}=n;return lt({VBtn:{slim:!0,variant:"text"}}),j(()=>{var l;return t.createVNode("div",{class:["v-card-actions",e.class],style:e.style},[(l=a.default)==null?void 0:l.call(a)])}),{}}}),Ha=Pt("v-card-subtitle"),Wa=Pt("v-card-title"),it=z({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function st(e){return{dimensionStyles:t.computed(()=>({height:T(e.height),maxHeight:T(e.maxHeight),maxWidth:T(e.maxWidth),minHeight:T(e.minHeight),minWidth:T(e.minWidth),width:T(e.width)}))}}const Mn=z({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...H(),...it()},"VResponsive"),vn=L()({name:"VResponsive",props:Mn(),setup(e,n){let{slots:a}=n;const{aspectStyles:l}=function(r){return{aspectStyles:t.computed(()=>{const s=Number(r.aspectRatio);return s?{paddingBottom:String(1/s*100)+"%"}:void 0})}}(e),{dimensionStyles:o}=st(e);return j(()=>{var r;return t.createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[o.value,e.style]},[t.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(r=a.additional)==null?void 0:r.call(a),a.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[a.default()])])}),{}}}),zt=z({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),$e=(e,n)=>{let{slots:a}=n;const{transition:l,disabled:o,...r}=e,{component:s=t.Transition,...i}=typeof l=="object"?l:{};return t.h(s,t.mergeProps(typeof l=="string"?{name:o?"":l}:i,r,{disabled:o}),a)};function fn(e,n){var l;const a=(l=e._observe)==null?void 0:l[n.instance.$.uid];a&&(a.observer.unobserve(e),delete e._observe[n.instance.$.uid])}const Ln={mounted:function(e,n){if(!Bt)return;const a=n.modifiers||{},l=n.value,{handler:o,options:r}=typeof l=="object"?l:{handler:l,options:{}},s=new IntersectionObserver(function(){var d;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const p=(d=e._observe)==null?void 0:d[n.instance.$.uid];if(!p)return;const c=i.some(v=>v.isIntersecting);!o||a.quiet&&!p.init||a.once&&!c&&!p.init||o(c,i,u),c&&a.once?fn(e,n):p.init=!0},r);e._observe=Object(e._observe),e._observe[n.instance.$.uid]={init:!1,observer:s},s.observe(e)},unmounted:fn},Ua=z({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,...Mn(),...H(),...zt()},"VImg"),jn=L()({name:"VImg",directives:{intersect:Ln},props:Ua(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,n){let{emit:a,slots:l}=n;const o=re("VImg"),r=t.shallowRef(""),s=t.ref(),i=t.shallowRef(e.eager?"loading":"idle"),u=t.shallowRef(),p=t.shallowRef(),c=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)}),d=t.computed(()=>c.value.aspect||u.value/p.value||0);function v(f){if((!e.eager||!f)&&(!Bt||f||e.eager)){if(i.value="loading",c.value.lazySrc){const C=new Image;C.src=c.value.lazySrc,k(C,null)}c.value.src&&t.nextTick(()=>{var C;a("loadstart",((C=s.value)==null?void 0:C.currentSrc)||c.value.src),setTimeout(()=>{var h;if(!o.isUnmounted)if((h=s.value)!=null&&h.complete){if(s.value.naturalWidth||_(),i.value==="error")return;d.value||k(s.value,null),i.value==="loading"&&m()}else d.value||k(s.value),b()})})}}function m(){var f;o.isUnmounted||(b(),k(s.value),i.value="loaded",a("load",((f=s.value)==null?void 0:f.currentSrc)||c.value.src))}function _(){var f;o.isUnmounted||(i.value="error",a("error",((f=s.value)==null?void 0:f.currentSrc)||c.value.src))}function b(){const f=s.value;f&&(r.value=f.currentSrc||f.src)}t.watch(()=>e.src,()=>{v(i.value!=="idle")}),t.watch(d,(f,C)=>{!f&&C&&s.value&&k(s.value)}),t.onBeforeMount(()=>v());let S=-1;function k(f){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const h=()=>{if(clearTimeout(S),o.isUnmounted)return;const{naturalHeight:R,naturalWidth:g}=f;R||g?(u.value=g,p.value=R):f.complete||i.value!=="loading"||C==null?(f.currentSrc.endsWith(".svg")||f.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,p.value=1):S=window.setTimeout(h,C)};h()}t.onBeforeUnmount(()=>{clearTimeout(S)});const w=t.computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),N=()=>{var h;if(!c.value.src||i.value==="idle")return null;const f=t.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:e.position},src:c.value.src,srcset:c.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:s,onLoad:m,onError:_},null),C=(h=l.sources)==null?void 0:h.call(l);return t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(C?t.createVNode("picture",{class:"v-img__picture"},[C,f]):f,[[t.vShow,i.value==="loaded"]])]})},$=()=>t.createVNode($e,{transition:e.transition},{default:()=>[c.value.lazySrc&&i.value!=="loaded"&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:e.position},src:c.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),P=()=>l.placeholder?t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[(i.value==="loading"||i.value==="error"&&!l.error)&&t.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,x=()=>l.error?t.createVNode($e,{transition:e.transition,appear:!0},{default:()=>[i.value==="error"&&t.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,I=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,V=t.shallowRef(!1);{const f=t.watch(d,C=>{C&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{V.value=!0})}),f())})}return j(()=>{const f=vn.filterProps(e);return t.withDirectives(t.createVNode(vn,t.mergeProps({class:["v-img",{"v-img--booting":!V.value},e.class],style:[{width:T(e.width==="auto"?u.value:e.width)},e.style]},f,{aspectRatio:d.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>t.createVNode(t.Fragment,null,[t.createVNode(N,null,null),t.createVNode($,null,null),t.createVNode(I,null,null),t.createVNode(P,null,null),t.createVNode(x,null,null)]),default:l.default}),[[t.resolveDirective("intersect"),{handler:v,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:s,state:i,naturalWidth:u,naturalHeight:p}}}),qa=[null,"default","comfortable","compact"],Ee=z({density:{type:String,default:"default",validator:e=>qa.includes(e)}},"density");function Le(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{densityClasses:t.computed(()=>`${n}--density-${e.density}`)}}const ge=z({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function he(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{roundedClasses:t.computed(()=>{const a=t.isRef(e)?e.value:e.rounded,l=[];if(a===!0||a==="")l.push(`${n}--rounded`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))l.push(`rounded-${o}`);return l})}}const Xa=["elevated","flat","tonal","outlined","text","plain"];function At(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 ut=z({color:String,variant:{type:String,default:"elevated",validator:e=>Xa.includes(e)}},"variant");function Et(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();const a=t.computed(()=>{const{variant:r}=t.unref(e);return`${n}--variant-${r}`}),{colorClasses:l,colorStyles:o}=Rt(t.computed(()=>{const{variant:r,color:s}=t.unref(e);return{[["elevated","flat"].includes(r)?"background":"text"]:s}}));return{colorClasses:l,colorStyles:o,variantClasses:a}}const Ga=z({start:Boolean,end:Boolean,icon:Q,image:String,text:String,...H(),...Ee(),...ge(),...rt(),...me(),...oe(),...ut({variant:"flat"})},"VAvatar"),mn=L()({name:"VAvatar",props:Ga(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{colorClasses:o,colorStyles:r,variantClasses:s}=Et(e),{densityClasses:i}=Le(e),{roundedClasses:u}=he(e),{sizeClasses:p,sizeStyles:c}=ot(e);return j(()=>t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},l.value,o.value,i.value,u.value,p.value,s.value,e.class],style:[r.value,c.value,e.style]},{default:()=>{var d;return[e.image?t.createVNode(jn,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?t.createVNode(fe,{key:"icon",icon:e.icon},null):((d=a.default)==null?void 0:d.call(a))??e.text,At(!1,"v-avatar")]}})),{}}}),Ya=z({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Ne=L(!1)({name:"VDefaultsProvider",props:Ya(),setup(e,n){let{slots:a}=n;const{defaults:l,disabled:o,reset:r,root:s,scoped:i}=t.toRefs(e);return lt(l,{reset:r,root:s,scoped:i,disabled:o}),()=>{var u;return(u=a.default)==null?void 0:u.call(a)}}}),Ka=z({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:[String,Number],title:[String,Number],...H(),...Ee()},"VCardItem"),Za=L()({name:"VCardItem",props:Ka(),setup(e,n){let{slots:a}=n;return j(()=>{var p;const l=!(!e.prependAvatar&&!e.prependIcon),o=!(!l&&!a.prepend),r=!(!e.appendAvatar&&!e.appendIcon),s=!(!r&&!a.append),i=!(e.title==null&&!a.title),u=!(e.subtitle==null&&!a.subtitle);return t.createVNode("div",{class:["v-card-item",e.class],style:e.style},[o&&t.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[a.prepend?t.createVNode(Ne,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},a.prepend):l&&t.createVNode(mn,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),t.createVNode("div",{class:"v-card-item__content"},[i&&t.createVNode(Wa,{key:"title"},{default:()=>{var c;return[((c=a.title)==null?void 0:c.call(a))??e.title]}}),u&&t.createVNode(Ha,{key:"subtitle"},{default:()=>{var c;return[((c=a.subtitle)==null?void 0:c.call(a))??e.subtitle]}}),(p=a.default)==null?void 0:p.call(a)]),s&&t.createVNode("div",{key:"append",class:"v-card-item__append"},[a.append?t.createVNode(Ne,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},a.append):r&&t.createVNode(mn,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),Ja=Pt("v-card-text"),ct=z({border:[Boolean,Number,String]},"border");function dt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{borderClasses:t.computed(()=>{const a=t.isRef(e)?e.value:e.border,l=[];if(a===!0||a==="")l.push(`${n}--border`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))l.push(`border-${o}`);return l})}}const je=z({elevation:{type:[Number,String],validator(e){const n=parseInt(e);return!isNaN(n)&&n>=0&&n<=24}}},"elevation");function De(e){return{elevationClasses:t.computed(()=>{const n=t.isRef(e)?e.value:e.elevation,a=[];return n==null||a.push(`elevation-${n}`),a})}}function Dn(e,n){const a=t.ref(),l=t.shallowRef(!1);if(Bt){const o=new IntersectionObserver(r=>{e==null||e(r,o),l.value=!!r.find(s=>s.isIntersecting)},n);t.onBeforeUnmount(()=>{o.disconnect()}),t.watch(a,(r,s)=>{s&&(o.unobserve(s),l.value=!1),r&&o.observe(r)},{flush:"post"})}return{intersectionRef:a,isIntersecting:l}}const Hn=Symbol.for("vuetify:locale");function be(){const e=t.inject(Hn);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const gn={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},pt=z({location:String},"location");function vt(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=be();return{locationStyles:t.computed(()=>{if(!e.location)return{};const{side:r,align:s}=function(p,c){let[d,v]=p.split(" ");return v||(v=St(ka,d)?"start":St(Va,d)?"top":"center"),{side:Jt(d,c),align:Jt(v,c)}}(e.location.split(" ").length>1?e.location:`${e.location} center`,l.value);function i(p){return a?a(p):0}const u={};return r!=="center"&&(n?u[gn[r]]=`calc(100% - ${i(r)}px)`:u[r]=0),s!=="center"?n?u[gn[s]]=`calc(100% - ${i(s)}px)`:u[s]=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 Qa=z({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,...H(),...pt({location:"top"}),...ge(),...me(),...oe()},"VProgressLinear"),el=L()({name:"VProgressLinear",props:Qa(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const l=ce(e,"modelValue"),{isRtl:o,rtlClasses:r}=be(),{themeClasses:s}=pe(e),{locationStyles:i}=vt(e),{textColorClasses:u,textColorStyles:p}=xe(e,"color"),{backgroundColorClasses:c,backgroundColorStyles:d}=Ae(t.computed(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:m}=Ae(e,"color"),{roundedClasses:_}=he(e),{intersectionRef:b,isIntersecting:S}=Dn(),k=t.computed(()=>parseInt(e.max,10)),w=t.computed(()=>parseInt(e.height,10)),N=t.computed(()=>parseFloat(e.bufferValue)/k.value*100),$=t.computed(()=>parseFloat(l.value)/k.value*100),P=t.computed(()=>o.value!==e.reverse),x=t.computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),I=t.computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function V(f){if(!b.value)return;const{left:C,right:h,width:R}=b.value.getBoundingClientRect(),g=P.value?R-f.clientX+(h-R):f.clientX-C;l.value=Math.round(g/R*k.value)}return j(()=>t.createVNode(e.tag,{ref:b,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&S.value,"v-progress-linear--reverse":P.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},_.value,s.value,r.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?T(w.value):0,"--v-progress-linear-height":T(w.value),...i.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:$.value,onClick:e.clickable&&V},{default:()=>[e.stream&&t.createVNode("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...p.value,[P.value?"left":"right"]:T(-w.value),borderTop:`${T(w.value/2)} dotted`,opacity:I.value,top:`calc(50% - ${T(w.value/4)})`,width:T(100-N.value,"%"),"--v-progress-linear-stream-to":T(w.value*(P.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",c.value],style:[d.value,{opacity:I.value,width:T(e.stream?N.value:100,"%")}]},null),t.createVNode(t.Transition,{name:x.value},{default:()=>[e.indeterminate?t.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(f=>t.createVNode("div",{key:f,class:["v-progress-linear__indeterminate",f,v.value],style:m.value},null))]):t.createVNode("div",{class:["v-progress-linear__determinate",v.value],style:[m.value,{width:T($.value,"%")}]},null)]}),a.default&&t.createVNode("div",{class:"v-progress-linear__content"},[a.default({value:$.value,buffer:N.value})])]})),{}}}),Ot=z({loading:[Boolean,String]},"loader");function Tt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{loaderClasses:t.computed(()=>({[`${n}--loading`]:e.loading}))}}function Wn(e,n){var l;let{slots:a}=n;return t.createVNode("div",{class:`${e.name}__loader`},[((l=a.default)==null?void 0:l.call(a,{color:e.color,isActive:e.active}))||t.createVNode(el,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const tl=["static","relative","fixed","absolute","sticky"],Ft=z({position:{type:String,validator:e=>tl.includes(e)}},"position");function Mt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();return{positionClasses:t.computed(()=>e.position?`${n}--${e.position}`:void 0)}}function Un(e,n){const a=t.resolveDynamicComponent("RouterLink"),l=t.computed(()=>!(!e.href&&!e.to)),o=t.computed(()=>(l==null?void 0:l.value)||Zt(n,"click")||Zt(e,"click"));if(typeof a=="string")return{isLink:l,isClickable:o,href:t.toRef(e,"href")};const r=e.to?a.useLink(e):void 0,s=function(){const i=re("useRoute");return t.computed(()=>{var u;return(u=i==null?void 0:i.proxy)==null?void 0:u.$route})}();return{isLink:l,isClickable:o,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&t.computed(()=>{var i,u,p;return e.exact?s.value?((i=r.isExactActive)==null?void 0:i.value)&&nt(r.route.value.query,s.value.query):(u=r.isExactActive)==null?void 0:u.value:(p=r.isActive)==null?void 0:p.value}),href:t.computed(()=>e.to?r==null?void 0:r.route.value.href:e.href)}}const qn=z({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),Nt=Symbol("rippleStop"),nl=80;function hn(e,n){e.style.transform=n,e.style.webkitTransform=n}function xt(e){return e.constructor.name==="TouchEvent"}function Xn(e){return e.constructor.name==="KeyboardEvent"}const Qe={show(e,n){var m;let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=n==null?void 0:n._ripple)!=null&&m.enabled))return;const l=document.createElement("span"),o=document.createElement("span");l.appendChild(o),l.className="v-ripple__container",a.class&&(l.className+=` ${a.class}`);const{radius:r,scale:s,x:i,y:u,centerX:p,centerY:c}=function(_,b){var I;let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=0,w=0;if(!Xn(_)){const V=b.getBoundingClientRect(),f=xt(_)?_.touches[_.touches.length-1]:_;k=f.clientX-V.left,w=f.clientY-V.top}let N=0,$=.3;(I=b._ripple)!=null&&I.circle?($=.15,N=b.clientWidth/2,N=S.center?N:N+Math.sqrt((k-N)**2+(w-N)**2)/4):N=Math.sqrt(b.clientWidth**2+b.clientHeight**2)/2;const P=(b.clientWidth-2*N)/2+"px",x=(b.clientHeight-2*N)/2+"px";return{radius:N,scale:$,x:S.center?P:k-N+"px",y:S.center?x:w-N+"px",centerX:P,centerY:x}}(e,n,a),d=2*r+"px";o.className="v-ripple__animation",o.style.width=d,o.style.height=d,n.appendChild(l);const v=window.getComputedStyle(n);v&&v.position==="static"&&(n.style.position="relative",n.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),hn(o,`translate(${i}, ${u}) scale3d(${s},${s},${s})`),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),hn(o,`translate(${p}, ${c}) 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 a=n[n.length-1];if(a.dataset.isHiding)return;a.dataset.isHiding="true";const l=performance.now()-Number(a.dataset.activated),o=Math.max(250-l,0);setTimeout(()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),setTimeout(()=>{var s;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=a.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(a.parentNode)},300)},o)}};function Gn(e){return e===void 0||!!e}function Te(e){const n={},a=e.currentTarget;if(a!=null&&a._ripple&&!a._ripple.touched&&!e[Nt]){if(e[Nt]=!0,xt(e))a._ripple.touched=!0,a._ripple.isTouch=!0;else if(a._ripple.isTouch)return;if(n.center=a._ripple.centered||Xn(e),a._ripple.class&&(n.class=a._ripple.class),xt(e)){if(a._ripple.showTimerCommit)return;a._ripple.showTimerCommit=()=>{Qe.show(e,a,n)},a._ripple.showTimer=window.setTimeout(()=>{var l;(l=a==null?void 0:a._ripple)!=null&&l.showTimerCommit&&(a._ripple.showTimerCommit(),a._ripple.showTimerCommit=null)},nl)}else Qe.show(e,a,n)}}function bn(e){e[Nt]=!0}function te(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(()=>{te(e)}));window.setTimeout(()=>{n._ripple&&(n._ripple.touched=!1)}),Qe.hide(n)}}function Yn(e){const n=e.currentTarget;n!=null&&n._ripple&&(n._ripple.showTimerCommit&&(n._ripple.showTimerCommit=null),window.clearTimeout(n._ripple.showTimer))}let Fe=!1;function Kn(e){Fe||e.keyCode!==Xt.enter&&e.keyCode!==Xt.space||(Fe=!0,Te(e))}function Zn(e){Fe=!1,te(e)}function Jn(e){Fe&&(Fe=!1,te(e))}function yn(e,n,a){const{value:l,modifiers:o}=n,r=Gn(l);if(r||Qe.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=r,e._ripple.centered=o.center,e._ripple.circle=o.circle,wt(l)&&l.class&&(e._ripple.class=l.class),r&&!a){if(o.stop)return e.addEventListener("touchstart",bn,{passive:!0}),void e.addEventListener("mousedown",bn);e.addEventListener("touchstart",Te,{passive:!0}),e.addEventListener("touchend",te,{passive:!0}),e.addEventListener("touchmove",Yn,{passive:!0}),e.addEventListener("touchcancel",te),e.addEventListener("mousedown",Te),e.addEventListener("mouseup",te),e.addEventListener("mouseleave",te),e.addEventListener("keydown",Kn),e.addEventListener("keyup",Zn),e.addEventListener("blur",Jn),e.addEventListener("dragstart",te,{passive:!0})}else!r&&a&&Qn(e)}function Qn(e){e.removeEventListener("mousedown",Te),e.removeEventListener("touchstart",Te),e.removeEventListener("touchend",te),e.removeEventListener("touchmove",Yn),e.removeEventListener("touchcancel",te),e.removeEventListener("mouseup",te),e.removeEventListener("mouseleave",te),e.removeEventListener("keydown",Kn),e.removeEventListener("keyup",Zn),e.removeEventListener("dragstart",te),e.removeEventListener("blur",Jn)}const Lt={mounted:function(e,n){yn(e,n,!1)},unmounted:function(e){delete e._ripple,Qn(e)},updated:function(e,n){n.value!==n.oldValue&&yn(e,n,Gn(n.oldValue))}},al=z({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...ct(),...H(),...Ee(),...it(),...je(),...Ot(),...pt(),...Ft(),...ge(),...qn(),...me(),...oe(),...ut({variant:"elevated"})},"VCard"),ll=L()({name:"VCard",directives:{Ripple:Lt},props:al(),setup(e,n){let{attrs:a,slots:l}=n;const{themeClasses:o}=pe(e),{borderClasses:r}=dt(e),{colorClasses:s,colorStyles:i,variantClasses:u}=Et(e),{densityClasses:p}=Le(e),{dimensionStyles:c}=st(e),{elevationClasses:d}=De(e),{loaderClasses:v}=Tt(e),{locationStyles:m}=vt(e),{positionClasses:_}=Mt(e),{roundedClasses:b}=he(e),S=Un(e,a),k=t.computed(()=>e.link!==!1&&S.isLink.value),w=t.computed(()=>!e.disabled&&e.link!==!1&&(e.link||S.isClickable.value));return j(()=>{const N=k.value?"a":e.tag,$=!(!l.title&&e.title==null),P=!(!l.subtitle&&e.subtitle==null),x=$||P,I=!!(l.append||e.appendAvatar||e.appendIcon),V=!!(l.prepend||e.prependAvatar||e.prependIcon),f=!(!l.image&&!e.image),C=x||V||I,h=!(!l.text&&e.text==null);return t.withDirectives(t.createVNode(N,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":w.value},o.value,r.value,s.value,p.value,d.value,v.value,_.value,b.value,u.value,e.class],style:[i.value,c.value,m.value,e.style],href:S.href.value,onClick:w.value&&S.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var R;return[f&&t.createVNode("div",{key:"image",class:"v-card__image"},[l.image?t.createVNode(Ne,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},l.image):t.createVNode(jn,{key:"image-img",cover:!0,src:e.image},null)]),t.createVNode(Wn,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:l.loader}),C&&t.createVNode(Za,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),h&&t.createVNode(Ja,{key:"text"},{default:()=>{var g;return[((g=l.text)==null?void 0:g.call(l))??e.text]}}),(R=l.default)==null?void 0:R.call(l),l.actions&&t.createVNode(Da,null,{default:l.actions}),At(w.value,"v-card")]}}),[[t.resolveDirective("ripple"),w.value&&e.ripple]])}),{}}});function ea(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const a=t.ref(),l=t.ref();if(tt){const o=new ResizeObserver(r=>{e==null||e(r,o),r.length&&(l.value=n==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});t.onBeforeUnmount(()=>{o.disconnect()}),t.watch(a,(r,s)=>{s&&(o.unobserve(qt(s)),l.value=void 0),r&&o.observe(qt(r))},{flush:"post"})}return{resizeRef:a,contentRect:t.readonly(l)}}const rl=ue({name:"VColorPickerCanvas",props:z({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...H()},"VColorPickerCanvas")(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,n){let{emit:a}=n;const l=t.shallowRef(!1),o=t.ref(),r=t.shallowRef(parseFloat(e.width)),s=t.shallowRef(parseFloat(e.height)),i=t.ref({x:0,y:0}),u=t.computed({get:()=>i.value,set(b){var w,N;if(!o.value)return;const{x:S,y:k}=b;i.value=b,a("update:color",{h:((w=e.color)==null?void 0:w.h)??0,s:Be(S,0,r.value)/r.value,v:1-Be(k,0,s.value)/s.value,a:((N=e.color)==null?void 0:N.a)??1})}}),p=t.computed(()=>{const{x:b,y:S}=u.value,k=parseInt(e.dotSize,10)/2;return{width:T(e.dotSize),height:T(e.dotSize),transform:`translate(${T(b-k)}, ${T(S-k)})`}}),{resizeRef:c}=ea(b=>{var w;if(!((w=c.value)!=null&&w.offsetParent))return;const{width:S,height:k}=b[0].contentRect;r.value=S,s.value=k});function d(b){b.type==="mousedown"&&b.preventDefault(),e.disabled||(v(b),window.addEventListener("mousemove",v),window.addEventListener("mouseup",m),window.addEventListener("touchmove",v),window.addEventListener("touchend",m))}function v(b){if(e.disabled||!o.value)return;l.value=!0;const S=function(k){return"touches"in k?{clientX:k.touches[0].clientX,clientY:k.touches[0].clientY}:{clientX:k.clientX,clientY:k.clientY}}(b);(function(k,w,N){const{left:$,top:P,width:x,height:I}=N;u.value={x:Be(k-$,0,x),y:Be(w-P,0,I)}})(S.clientX,S.clientY,o.value.getBoundingClientRect())}function m(){window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",m),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",m)}function _(){var N;if(!o.value)return;const b=o.value,S=b.getContext("2d");if(!S)return;const k=S.createLinearGradient(0,0,b.width,0);k.addColorStop(0,"hsla(0, 0%, 100%, 1)"),k.addColorStop(1,`hsla(${((N=e.color)==null?void 0:N.h)??0}, 100%, 50%, 1)`),S.fillStyle=k,S.fillRect(0,0,b.width,b.height);const w=S.createLinearGradient(0,0,0,b.height);w.addColorStop(0,"hsla(0, 0%, 100%, 0)"),w.addColorStop(1,"hsla(0, 0%, 0%, 1)"),S.fillStyle=w,S.fillRect(0,0,b.width,b.height)}return t.watch(()=>{var b;return(b=e.color)==null?void 0:b.h},_,{immediate:!0}),t.watch(()=>[r.value,s.value],(b,S)=>{_(),i.value={x:u.value.x*b[0]/S[0],y:u.value.y*b[1]/S[1]}},{flush:"post"}),t.watch(()=>e.color,()=>{l.value?l.value=!1:i.value=e.color?{x:e.color.s*r.value,y:(1-e.color.v)*s.value}:{x:0,y:0}},{deep:!0,immediate:!0}),t.onMounted(()=>_()),j(()=>t.createVNode("div",{ref:c,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:d,onTouchstartPassive:d},[t.createVNode("canvas",{ref:o,width:r.value,height:s.value},null),e.color&&t.createVNode("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:p.value},null)])),{}}}),ta=z({divided:Boolean,...ct(),...H(),...Ee(),...je(),...ge(),...me(),...oe(),...ut()},"VBtnGroup"),kn=L()({name:"VBtnGroup",props:ta(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{densityClasses:o}=Le(e),{borderClasses:r}=dt(e),{elevationClasses:s}=De(e),{roundedClasses:i}=he(e);lt({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),j(()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},l.value,r.value,o.value,s.value,i.value,e.class],style:e.style},a))}}),ol=z({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),il=z({value:null,disabled:Boolean,selectedClass:String},"group-item");function sl(e,n){let a=!1;const l=t.reactive([]),o=ce(e,"modelValue",[],p=>p==null?[]:Vn(l,Oe(p)),p=>{const c=function(d,v){const m=[];return v.forEach(_=>{const b=d.findIndex(S=>S.id===_);if(~b){const S=d[b];m.push(S.value!=null?S.value:b)}}),m}(l,p);return e.multiple?c:c[0]}),r=re("useGroup");function s(){const p=l.find(c=>!c.disabled);p&&e.mandatory==="force"&&!o.value.length&&(o.value=[p.id])}function i(p){if(e.multiple&&ze('This method is not supported when using "multiple" prop'),o.value.length){const c=o.value[0],d=l.findIndex(_=>_.id===c);let v=(d+p)%l.length,m=l[v];for(;m.disabled&&v!==d;)v=(v+p)%l.length,m=l[v];if(m.disabled)return;o.value=[l[v].id]}else{const c=l.find(d=>!d.disabled);c&&(o.value=[c.id])}}t.onMounted(()=>{s()}),t.onBeforeUnmount(()=>{a=!0});const u={register:function(p,c){const d=p,v=Ye(Symbol.for(`${n.description}:id`),r==null?void 0:r.vnode).indexOf(c);v>-1?l.splice(v,0,d):l.push(d)},unregister:function(p){if(a)return;s();const c=l.findIndex(d=>d.id===p);l.splice(c,1)},selected:o,select:function(p,c){const d=l.find(v=>v.id===p);if(!c||!(d!=null&&d.disabled))if(e.multiple){const v=o.value.slice(),m=v.findIndex(b=>b===p),_=~m;if(c=c??!_,_&&e.mandatory&&v.length<=1||!_&&e.max!=null&&v.length+1>e.max)return;m<0&&c?v.push(p):m>=0&&!c&&v.splice(m,1),o.value=v}else{const v=o.value.includes(p);if(e.mandatory&&v)return;o.value=c??!v?[p]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>i(l.length-1),next:()=>i(1),isSelected:p=>o.value.includes(p),selectedClass:t.computed(()=>e.selectedClass),items:t.computed(()=>l),getItemIndex:p=>function(c,d){const v=Vn(c,[d]);return v.length?c.findIndex(m=>m.id===v[0]):-1}(l,p)};return t.provide(n,u),u}function Vn(e,n){const a=[];return n.forEach(l=>{const o=e.find(s=>nt(l,s.value)),r=e[l];(o==null?void 0:o.value)!=null?a.push(o.id):r!=null&&a.push(r.id)}),a}const na=Symbol.for("vuetify:v-btn-toggle"),ul=z({...ta(),...ol()},"VBtnToggle");L()({name:"VBtnToggle",props:ul(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const{isSelected:l,next:o,prev:r,select:s,selected:i}=sl(e,na);return j(()=>{const u=kn.filterProps(e);return t.createVNode(kn,t.mergeProps({class:["v-btn-toggle",e.class]},u,{style:e.style}),{default:()=>{var p;return[(p=a.default)==null?void 0:p.call(a,{isSelected:l,next:o,prev:r,select:s,selected:i})]}})}),{next:o,prev:r,select:s}}});const cl=z({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},...H(),...rt(),...me({tag:"div"}),...oe()},"VProgressCircular"),dl=L()({name:"VProgressCircular",props:cl(),setup(e,n){let{slots:a}=n;const l=2*Math.PI*20,o=t.ref(),{themeClasses:r}=pe(e),{sizeClasses:s,sizeStyles:i}=ot(e),{textColorClasses:u,textColorStyles:p}=xe(t.toRef(e,"color")),{textColorClasses:c,textColorStyles:d}=xe(t.toRef(e,"bgColor")),{intersectionRef:v,isIntersecting:m}=Dn(),{resizeRef:_,contentRect:b}=ea(),S=t.computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),k=t.computed(()=>Number(e.width)),w=t.computed(()=>i.value?Number(e.size):b.value?b.value.width:Math.max(k.value,32)),N=t.computed(()=>20/(1-k.value/w.value)*2),$=t.computed(()=>k.value/w.value*N.value),P=t.computed(()=>T((100-S.value)/100*l));return t.watchEffect(()=>{v.value=o.value,_.value=o.value}),j(()=>t.createVNode(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,s.value,u.value,e.class],style:[i.value,p.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:S.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",c.value],style:d.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":$.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":$.value,"stroke-dasharray":l,"stroke-dashoffset":P.value},null)]),a.default&&t.createVNode("div",{class:"v-progress-circular__content"},[a.default({value:S.value})])]})),{}}}),pl=z({active:{type:Boolean,default:void 0},symbol:{type:null,default:na},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...ct(),...H(),...Ee(),...it(),...je(),...il(),...Ot(),...pt(),...Ft(),...ge(),...qn(),...rt(),...me({tag:"button"}),...oe(),...ut({variant:"elevated"})},"VBtn"),aa=L()({name:"VBtn",directives:{Ripple:Lt},props:pl(),emits:{"group:selected":e=>!0},setup(e,n){let{attrs:a,slots:l}=n;const{themeClasses:o}=pe(e),{borderClasses:r}=dt(e),{colorClasses:s,colorStyles:i,variantClasses:u}=Et(e),{densityClasses:p}=Le(e),{dimensionStyles:c}=st(e),{elevationClasses:d}=De(e),{loaderClasses:v}=Tt(e),{locationStyles:m}=vt(e),{positionClasses:_}=Mt(e),{roundedClasses:b}=he(e),{sizeClasses:S,sizeStyles:k}=ot(e),w=function(f,C){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const R=re("useGroupItem");if(!R)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const g=Me();t.provide(Symbol.for(`${C.description}:id`),g);const y=t.inject(C,null);if(!y){if(!h)return y;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${C.description}`)}const B=t.toRef(f,"value"),A=t.computed(()=>!(!y.disabled.value&&!f.disabled));y.register({id:g,value:B,disabled:A},R),t.onBeforeUnmount(()=>{y.unregister(g)});const O=t.computed(()=>y.isSelected(g)),D=t.computed(()=>O.value&&[y.selectedClass.value,f.selectedClass]);return t.watch(O,F=>{R.emit("group:selected",{value:F})}),{id:g,isSelected:O,toggle:()=>y.select(g,!O.value),select:F=>y.select(g,F),selectedClass:D,value:B,disabled:A,group:y}}(e,e.symbol,!1),N=Un(e,a),$=t.computed(()=>{var f;return e.active!==void 0?e.active:N.isLink.value?(f=N.isActive)==null?void 0:f.value:w==null?void 0:w.isSelected.value}),P=t.computed(()=>(w==null?void 0:w.disabled.value)||e.disabled),x=t.computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),I=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 V(f){var C;P.value||N.isLink.value&&(f.metaKey||f.ctrlKey||f.shiftKey||f.button!==0||a.target==="_blank")||((C=N.navigate)==null||C.call(N,f),w==null||w.toggle())}return function(f,C){t.watch(()=>{var h;return(h=f.isActive)==null?void 0:h.value},h=>{f.isLink.value&&h&&C&&t.nextTick(()=>{C(!0)})},{immediate:!0})}(N,w==null?void 0:w.select),j(()=>{var y,B;const f=N.isLink.value?"a":e.tag,C=!(!e.prependIcon&&!l.prepend),h=!(!e.appendIcon&&!l.append),R=!(!e.icon||e.icon===!0),g=(w==null?void 0:w.isSelected.value)&&(!N.isLink.value||((y=N.isActive)==null?void 0:y.value))||!w||((B=N.isActive)==null?void 0:B.value);return t.withDirectives(t.createVNode(f,{type:f==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":$.value,"v-btn--block":e.block,"v-btn--disabled":P.value,"v-btn--elevated":x.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},o.value,r.value,g?s.value:void 0,p.value,d.value,v.value,_.value,b.value,S.value,u.value,e.class],style:[g?i.value:void 0,c.value,m.value,k.value,e.style],disabled:P.value||void 0,href:N.href.value,onClick:V,value:I.value},{default:()=>{var A;return[At(!0,"v-btn"),!e.icon&&C&&t.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?t.createVNode(Ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},l.prepend):t.createVNode(fe,{key:"prepend-icon",icon:e.prependIcon},null)]),t.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&R?t.createVNode(fe,{key:"content-icon",icon:e.icon},null):t.createVNode(Ne,{key:"content-defaults",disabled:!R,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var O;return[((O=l.default)==null?void 0:O.call(l))??e.text]}})]),!e.icon&&h&&t.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?t.createVNode(Ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},l.append):t.createVNode(fe,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&t.createVNode("span",{key:"loader",class:"v-btn__loader"},[((A=l.loader)==null?void 0:A.call(l))??t.createVNode(dl,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[t.resolveDirective("ripple"),!P.value&&e.ripple,null]])}),{}}}),Pe={h:0,s:0,v:1,a:1},ht={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,n)=>({...e,r:Number(n)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,n)=>({...e,g:Number(n)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,n)=>({...e,b:Number(n)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:n}=e;return n!=null?Math.round(100*n)/100:1},getColor:(e,n)=>({...e,a:Number(n)})}],to:se,from:at},bt={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,n)=>({...e,h:Number(n)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(100*e.s)/100,getColor:(e,n)=>({...e,s:Number(n)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(100*e.l)/100,getColor:(e,n)=>({...e,l:Number(n)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:n}=e;return n!=null?Math.round(100*n)/100:1},getColor:(e,n)=>({...e,a:Number(n)})}],to:Rn,from:It},wn={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,n)=>n}],to:Tn,from:On};var Nn;const Se={rgb:{...ht,inputs:(Nn=ht.inputs)==null?void 0:Nn.slice(0,3)},rgba:ht,hsl:{...bt,inputs:bt.inputs.slice(0,3)},hsla:bt,hex:{...wn,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,n)=>n}]},hexa:wn},vl=e=>{let{label:n,...a}=e;return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[n])])},fl=ue({name:"VColorPickerEdit",props:z({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Se).includes(e)},modes:{type:Array,default:()=>Object.keys(Se),validator:e=>Array.isArray(e)&&e.every(n=>Object.keys(Se).includes(n))},...H()},"VColorPickerEdit")(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,n){let{emit:a}=n;const l=t.computed(()=>e.modes.map(r=>({...Se[r],name:r}))),o=t.computed(()=>{var i;const r=l.value.find(u=>u.name===e.mode);if(!r)return[];const s=e.color?r.to(e.color):null;return(i=r.inputs)==null?void 0:i.map(u=>{let{getValue:p,getColor:c,...d}=u;return{...r.inputProps,...d,disabled:e.disabled,value:s&&p(s),onChange:v=>{const m=v.target;m&&a("update:color",r.from(c(s??Pe,m.value)))}}})});return j(()=>{var r;return t.createVNode("div",{class:["v-color-picker-edit",e.class],style:e.style},[(r=o.value)==null?void 0:r.map(s=>t.createVNode(vl,s,null)),l.value.length>1&&t.createVNode(aa,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const s=l.value.findIndex(i=>i.name===e.mode);a("update:mode",l.value[(s+1)%l.value.length].name)}},null)])}),{}}}),jt=Symbol.for("vuetify:v-slider"),ml=z({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...ge(),...je({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),gl=e=>{let{props:n,steps:a,onSliderStart:l,onSliderMove:o,onSliderEnd:r,getActiveThumb:s}=e;const{isRtl:i}=be(),u=t.toRef(n,"reverse"),p=t.computed(()=>n.direction==="vertical"),c=t.computed(()=>p.value!==u.value),{min:d,max:v,step:m,decimals:_,roundValue:b}=a,S=t.computed(()=>parseInt(n.thumbSize,10)),k=t.computed(()=>parseInt(n.tickSize,10)),w=t.computed(()=>parseInt(n.trackSize,10)),N=t.computed(()=>(v.value-d.value)/m.value),$=t.toRef(n,"disabled"),P=t.computed(()=>n.error||n.disabled?void 0:n.thumbColor??n.color),x=t.computed(()=>n.error||n.disabled?void 0:n.trackColor??n.color),I=t.computed(()=>n.error||n.disabled?void 0:n.trackFillColor??n.color),V=t.shallowRef(!1),f=t.shallowRef(0),C=t.ref(),h=t.ref();function R(E){var le;const M=n.direction==="vertical",ie=M?"top":"left",X=M?"height":"width",K=M?"clientY":"clientX",{[ie]:Z,[X]:W}=(le=C.value)==null?void 0:le.$el.getBoundingClientRect(),G=function(J,ye){return"touches"in J&&J.touches.length?J.touches[0][ye]:"changedTouches"in J&&J.changedTouches.length?J.changedTouches[0][ye]:J[ye]}(E,K);let ne=Math.min(Math.max((G-Z-f.value)/W,0),1)||0;return(M?c.value:c.value!==i.value)&&(ne=1-ne),b(d.value+ne*(v.value-d.value))}const g=E=>{r({value:R(E)}),V.value=!1,f.value=0},y=E=>{h.value=s(E),h.value&&(h.value.focus(),V.value=!0,h.value.contains(E.target)?f.value=function(M,ie,X){const K=X==="vertical",Z=ie.getBoundingClientRect(),W="touches"in M?M.touches[0]:M;return K?W.clientY-(Z.top+Z.height/2):W.clientX-(Z.left+Z.width/2)}(E,h.value,n.direction):(f.value=0,o({value:R(E)})),l({value:R(E)}))},B={passive:!0,capture:!0};function A(E){o({value:R(E)})}function O(E){E.stopPropagation(),E.preventDefault(),g(E),window.removeEventListener("mousemove",A,B),window.removeEventListener("mouseup",O)}function D(E){var M;g(E),window.removeEventListener("touchmove",A,B),(M=E.target)==null||M.removeEventListener("touchend",D)}const F=E=>{const M=(E-d.value)/(v.value-d.value)*100;return Be(isNaN(M)?0:M,0,100)},U=t.toRef(n,"showTicks"),Y=t.computed(()=>U.value?n.ticks?Array.isArray(n.ticks)?n.ticks.map(E=>({value:E,position:F(E),label:E.toString()})):Object.keys(n.ticks).map(E=>({value:parseFloat(E),position:F(parseFloat(E)),label:n.ticks[E]})):N.value!==1/0?function(E){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:E},(ie,X)=>M+X)}(N.value+1).map(E=>{const M=d.value+E*m.value;return{value:M,position:F(M)}}):[]:[]),q=t.computed(()=>Y.value.some(E=>{let{label:M}=E;return!!M})),ae={activeThumbRef:h,color:t.toRef(n,"color"),decimals:_,disabled:$,direction:t.toRef(n,"direction"),elevation:t.toRef(n,"elevation"),hasLabels:q,isReversed:u,indexFromEnd:c,min:d,max:v,mousePressed:V,numTicks:N,onSliderMousedown:function(E){E.preventDefault(),y(E),window.addEventListener("mousemove",A,B),window.addEventListener("mouseup",O,{passive:!1})},onSliderTouchstart:function(E){var M;y(E),window.addEventListener("touchmove",A,B),(M=E.target)==null||M.addEventListener("touchend",D,{passive:!1})},parsedTicks:Y,parseMouseMove:R,position:F,readonly:t.toRef(n,"readonly"),rounded:t.toRef(n,"rounded"),roundValue:b,showTicks:U,startOffset:f,step:m,thumbSize:S,thumbColor:P,thumbLabel:t.toRef(n,"thumbLabel"),ticks:t.toRef(n,"ticks"),tickSize:k,trackColor:x,trackContainerRef:C,trackFillColor:I,trackSize:w,vertical:p};return t.provide(jt,ae),ae},hl=z({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ee(e,n,a){return L()({name:e,props:hl({mode:a,origin:n}),setup(l,o){let{slots:r}=o;const s={onBeforeEnter(i){l.origin&&(i.style.transformOrigin=l.origin)},onLeave(i){if(l.leaveAbsolute){const{offsetTop:u,offsetLeft:p,offsetWidth:c,offsetHeight:d}=i;i._transitionInitialStyles={position:i.style.position,top:i.style.top,left:i.style.left,width:i.style.width,height:i.style.height},i.style.position="absolute",i.style.top=`${u}px`,i.style.left=`${p}px`,i.style.width=`${c}px`,i.style.height=`${d}px`}l.hideOnLeave&&i.style.setProperty("display","none","important")},onAfterLeave(i){if(l.leaveAbsolute&&(i!=null&&i._transitionInitialStyles)){const{position:u,top:p,left:c,width:d,height:v}=i._transitionInitialStyles;delete i._transitionInitialStyles,i.style.position=u||"",i.style.top=p||"",i.style.left=c||"",i.style.width=d||"",i.style.height=v||""}}};return()=>{const i=l.group?t.TransitionGroup:t.Transition;return t.h(i,{name:l.disabled?"":e,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:s},r.default)}}})}function la(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return L()({name:e,props:{mode:{type:String,default:a},disabled:Boolean},setup(l,o){let{slots:r}=o;return()=>t.h(t.Transition,{name:l.disabled?"":e,css:!l.disabled,...l.disabled?{}:n},r.default)}})}function ra(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",a=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 s=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const i=`${r[a]}px`;r.style[n]="0",r.offsetHeight,r.style.transition=s.transition,e&&r._parent&&r._parent.classList.add(e),requestAnimationFrame(()=>{r.style[n]=i})},onAfterEnter:o,onEnterCancelled:o,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[n]:r.style[n]},r.style.overflow="hidden",r.style[n]=`${r[a]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[n]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(r){e&&r._parent&&r._parent.classList.remove(e),o(r)}function o(r){const s=r._initialStyle[n];r.style.overflow=r._initialStyle.overflow,s!=null&&(r.style[n]=s),delete r._initialStyle}}ee("fab-transition","center center","out-in"),ee("dialog-bottom-transition"),ee("dialog-top-transition"),ee("fade-transition");const bl=ee("scale-transition");ee("scroll-x-transition"),ee("scroll-x-reverse-transition"),ee("scroll-y-transition"),ee("scroll-y-reverse-transition"),ee("slide-x-transition"),ee("slide-x-reverse-transition");const oa=ee("slide-y-transition");ee("slide-y-reverse-transition"),la("expand-transition",ra());const yl=la("expand-x-transition",ra("",!0)),kl=z({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...H()},"VSliderThumb"),Vl=L()({name:"VSliderThumb",directives:{Ripple:Lt},props:kl(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a,emit:l}=n;const o=t.inject(jt),{isRtl:r,rtlClasses:s}=be();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:i,step:u,disabled:p,thumbSize:c,thumbLabel:d,direction:v,isReversed:m,vertical:_,readonly:b,elevation:S,mousePressed:k,decimals:w,indexFromEnd:N}=o,{textColorClasses:$,textColorStyles:P}=xe(i),{pageup:x,pagedown:I,end:V,home:f,left:C,right:h,down:R,up:g}=ba,y=[x,I,V,f,C,h,R,g],B=t.computed(()=>u.value?[1,2,3]:[1,5,10]);function A(O){const D=function(F,U){if(!y.includes(F.key))return;F.preventDefault();const Y=u.value||.1,q=(e.max-e.min)/Y;if([C,h,R,g].includes(F.key)){const ae=(_.value?[r.value?C:h,m.value?R:g]:N.value!==r.value?[C,g]:[h,g]).includes(F.key)?1:-1,E=F.shiftKey?2:F.ctrlKey?1:0;U+=ae*Y*B.value[E]}else F.key===f?U=e.min:F.key===V?U=e.max:U-=(F.key===I?1:-1)*Y*(q>100?q/10:10);return Math.max(e.min,Math.min(e.max,U))}(O,e.modelValue);D!=null&&l("update:modelValue",D)}return j(()=>{const O=T(N.value?100-e.position:e.position,"%"),{elevationClasses:D}=De(t.computed(()=>p.value?void 0:S.value));return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&k.value},e.class,s.value],style:[{"--v-slider-thumb-position":O,"--v-slider-thumb-size":T(c.value)},e.style],role:"slider",tabindex:p.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!b.value,"aria-orientation":v.value,onKeydown:b.value?void 0:A},[t.createVNode("div",{class:["v-slider-thumb__surface",$.value,D.value],style:{...P.value}},null),t.withDirectives(t.createVNode("div",{class:["v-slider-thumb__ripple",$.value],style:P.value},null),[[t.resolveDirective("ripple"),e.ripple,null,{circle:!0,center:!0}]]),t.createVNode(bl,{origin:"bottom center"},{default:()=>{var F;return[t.withDirectives(t.createVNode("div",{class:"v-slider-thumb__label-container"},[t.createVNode("div",{class:["v-slider-thumb__label"]},[t.createVNode("div",null,[((F=a["thumb-label"])==null?void 0:F.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(u.value?w.value:1)])])]),[[t.vShow,d.value&&e.focused||d.value==="always"]])]}})])}),{}}}),wl=z({start:{type:Number,required:!0},stop:{type:Number,required:!0},...H()},"VSliderTrack"),Sl=L()({name:"VSliderTrack",props:wl(),emits:{},setup(e,n){let{slots:a}=n;const l=t.inject(jt);if(!l)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:r,rounded:s,showTicks:i,tickSize:u,trackColor:p,trackFillColor:c,trackSize:d,vertical:v,min:m,max:_,indexFromEnd:b}=l,{roundedClasses:S}=he(s),{backgroundColorClasses:k,backgroundColorStyles:w}=Ae(c),{backgroundColorClasses:N,backgroundColorStyles:$}=Ae(p),P=t.computed(()=>`inset-${v.value?"block":"inline"}-${b.value?"end":"start"}`),x=t.computed(()=>v.value?"height":"width"),I=t.computed(()=>({[P.value]:"0%",[x.value]:"100%"})),V=t.computed(()=>e.stop-e.start),f=t.computed(()=>({[P.value]:T(e.start,"%"),[x.value]:T(V.value,"%")})),C=t.computed(()=>i.value?(v.value?r.value.slice().reverse():r.value).map((h,R)=>{var y;const g=h.value!==m.value&&h.value!==_.value?T(h.position,"%"):void 0;return t.createVNode("div",{key:h.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":h.position>=e.start&&h.position<=e.stop,"v-slider-track__tick--first":h.value===m.value,"v-slider-track__tick--last":h.value===_.value}],style:{[P.value]:g}},[(h.label||a["tick-label"])&&t.createVNode("div",{class:"v-slider-track__tick-label"},[((y=a["tick-label"])==null?void 0:y.call(a,{tick:h,index:R}))??h.label])])}):[]);return j(()=>t.createVNode("div",{class:["v-slider-track",S.value,e.class],style:[{"--v-slider-track-size":T(d.value),"--v-slider-tick-size":T(u.value)},e.style]},[t.createVNode("div",{class:["v-slider-track__background",N.value,{"v-slider-track__background--opacity":!!o.value||!c.value}],style:{...I.value,...$.value}},null),t.createVNode("div",{class:["v-slider-track__fill",k.value],style:{...f.value,...w.value}},null),i.value&&t.createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":i.value==="always"}]},[C.value])])),{}}});function ia(e){const{t:n}=function(){const a=t.inject(Hn);if(!a)throw new Error("[Vuetify] Could not find injected locale instance");return a}();return{InputIcon:function(a){let{name:l}=a;const o={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=e[`onClick:${l}`],s=r&&o?n(`$vuetify.input.${o}`,e.label??""):void 0;return t.createVNode(fe,{icon:e[`${l}Icon`],"aria-label":s,onClick:r},null)}}}const Cl=z({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...H(),...zt({transition:{component:oa,leaveAbsolute:!0,group:!0}})},"VMessages"),Nl=L()({name:"VMessages",props:Cl(),setup(e,n){let{slots:a}=n;const l=t.computed(()=>Oe(e.messages)),{textColorClasses:o,textColorStyles:r}=xe(t.computed(()=>e.color));return j(()=>t.createVNode($e,{transition:e.transition,tag:"div",class:["v-messages",o.value,e.class],style:[r.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&l.value.map((s,i)=>t.createVNode("div",{class:"v-messages__message",key:`${i}-${l.value}`},[a.message?a.message({message:s}):s]))]})),{}}}),Dt=z({focused:Boolean,"onUpdate:focused":Re()},"focus");function Ht(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();const a=ce(e,"focused");return{focusClasses:t.computed(()=>({[`${n}--focused`]:a.value})),isFocused:a,focus:function(){a.value=!0},blur:function(){a.value=!1}}}const xl=Symbol.for("vuetify:form"),_l=z({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,...Dt()},"validation");function Bl(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de(),a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me();const l=ce(e,"modelValue"),o=t.computed(()=>e.validationValue===void 0?l.value:e.validationValue),r=t.inject(xl,null),s=t.ref([]),i=t.shallowRef(!0),u=t.computed(()=>!(!Oe(l.value===""?null:l.value).length&&!Oe(o.value===""?null:o.value).length)),p=t.computed(()=>!!(e.disabled??(r==null?void 0:r.isDisabled.value))),c=t.computed(()=>!!(e.readonly??(r==null?void 0:r.isReadonly.value))),d=t.computed(()=>{var $;return($=e.errorMessages)!=null&&$.length?Oe(e.errorMessages).concat(s.value).slice(0,Math.max(0,+e.maxErrors)):s.value}),v=t.computed(()=>{let $=(e.validateOn??(r==null?void 0:r.validateOn.value))||"input";$==="lazy"&&($="input lazy");const P=new Set(($==null?void 0:$.split(" "))??[]);return{blur:P.has("blur")||P.has("input"),input:P.has("input"),submit:P.has("submit"),lazy:P.has("lazy")}}),m=t.computed(()=>{var $;return!e.error&&!(($=e.errorMessages)!=null&&$.length)&&(!e.rules.length||(i.value?!s.value.length&&!v.value.lazy||null:!s.value.length))}),_=t.shallowRef(!1),b=t.computed(()=>({[`${n}--error`]:m.value===!1,[`${n}--dirty`]:u.value,[`${n}--disabled`]:p.value,[`${n}--readonly`]:c.value})),S=t.computed(()=>e.name??t.unref(a));function k(){l.value=null,t.nextTick(w)}function w(){i.value=!0,v.value.lazy?s.value=[]:N(!0)}async function N(){let $=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const P=[];_.value=!0;for(const x of e.rules){if(P.length>=+(e.maxErrors??1))break;const I=typeof x=="function"?x:()=>x,V=await I(o.value);V!==!0&&(V===!1||typeof V=="string"?P.push(V||""):console.warn(`${V} is not a valid value. Rule functions must return boolean true or a string.`))}return s.value=P,_.value=!1,i.value=$,s.value}return t.onBeforeMount(()=>{r==null||r.register({id:S.value,validate:N,reset:k,resetValidation:w})}),t.onBeforeUnmount(()=>{r==null||r.unregister(S.value)}),t.onMounted(async()=>{v.value.lazy||await N(!0),r==null||r.update(S.value,m.value,d.value)}),Ct(()=>v.value.input,()=>{t.watch(o,()=>{if(o.value!=null)N();else if(e.focused){const $=t.watch(()=>e.focused,P=>{P||N(),$()})}})}),Ct(()=>v.value.blur,()=>{t.watch(()=>e.focused,$=>{$||N()})}),t.watch(m,()=>{r==null||r.update(S.value,m.value,d.value)}),{errorMessages:d,isDirty:u,isDisabled:p,isReadonly:c,isPristine:i,isValid:m,isValidating:_,reset:k,resetValidation:w,validate:N,validationClasses:b}}const Wt=z({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,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(),...H(),...Ee(),..._l()},"VInput"),et=L()({name:"VInput",props:{...Wt()},emits:{"update:modelValue":e=>!0},setup(e,n){let{attrs:a,slots:l,emit:o}=n;const{densityClasses:r}=Le(e),{rtlClasses:s}=be(),{InputIcon:i}=ia(e),u=Me(),p=t.computed(()=>e.id||`input-${u}`),c=t.computed(()=>`${p.value}-messages`),{errorMessages:d,isDirty:v,isDisabled:m,isReadonly:_,isPristine:b,isValid:S,isValidating:k,reset:w,resetValidation:N,validate:$,validationClasses:P}=Bl(e,"v-input",p),x=t.computed(()=>({id:p,messagesId:c,isDirty:v,isDisabled:m,isReadonly:_,isPristine:b,isValid:S,isValidating:k,reset:w,resetValidation:N,validate:$})),I=t.computed(()=>{var V;return(V=e.errorMessages)!=null&&V.length||!b.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return j(()=>{var R,g,y,B;const V=!(!l.prepend&&!e.prependIcon),f=!(!l.append&&!e.appendIcon),C=I.value.length>0,h=!e.hideDetails||e.hideDetails==="auto"&&(C||!!l.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,s.value,P.value,e.class],style:e.style},[V&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(R=l.prepend)==null?void 0:R.call(l,x.value),e.prependIcon&&t.createVNode(i,{key:"prepend-icon",name:"prepend"},null)]),l.default&&t.createVNode("div",{class:"v-input__control"},[(g=l.default)==null?void 0:g.call(l,x.value)]),f&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(i,{key:"append-icon",name:"append"},null),(y=l.append)==null?void 0:y.call(l,x.value)]),h&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Nl,{id:c.value,active:C,messages:I.value},{message:l.message}),(B=l.details)==null?void 0:B.call(l,x.value)])])}),{reset:w,resetValidation:N,validate:$,isValid:S,errorMessages:d}}}),Il=z({text:String,clickable:Boolean,...H(),...oe()},"VLabel"),sa=L()({name:"VLabel",props:Il(),setup(e,n){let{slots:a}=n;return j(()=>{var l;return t.createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(l=a.default)==null?void 0:l.call(a)])}),{}}}),$l=z({...Dt(),...ml(),...Wt(),modelValue:{type:[Number,String],default:0}},"VSlider"),Sn=L()({name:"VSlider",props:$l(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,n){let{slots:a,emit:l}=n;const o=t.ref(),{rtlClasses:r}=be(),s=(x=>{const I=t.computed(()=>parseFloat(x.min)),V=t.computed(()=>parseFloat(x.max)),f=t.computed(()=>+x.step>0?parseFloat(x.step):0),C=t.computed(()=>Math.max(Yt(f.value),Yt(I.value)));return{min:I,max:V,step:f,decimals:C,roundValue:function(h){if(h=parseFloat(h),f.value<=0)return h;const R=Be(h,I.value,V.value),g=I.value%f.value,y=Math.round((R-g)/f.value)*f.value+g;return parseFloat(Math.min(y,V.value).toFixed(C.value))}}})(e),i=ce(e,"modelValue",void 0,x=>s.roundValue(x??s.min.value)),{min:u,max:p,mousePressed:c,roundValue:d,onSliderMousedown:v,onSliderTouchstart:m,trackContainerRef:_,position:b,hasLabels:S,readonly:k}=gl({props:e,steps:s,onSliderStart:()=>{l("start",i.value)},onSliderEnd:x=>{let{value:I}=x;const V=d(I);i.value=V,l("end",V)},onSliderMove:x=>{let{value:I}=x;return i.value=d(I)},getActiveThumb:()=>{var x;return(x=o.value)==null?void 0:x.$el}}),{isFocused:w,focus:N,blur:$}=Ht(e),P=t.computed(()=>b(i.value));return j(()=>{const x=et.filterProps(e),I=!!(e.label||a.label||a.prepend);return t.createVNode(et,t.mergeProps({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||S.value,"v-slider--focused":w.value,"v-slider--pressed":c.value,"v-slider--disabled":e.disabled},r.value,e.class],style:e.style},x,{focused:w.value}),{...a,prepend:I?V=>{var f,C;return t.createVNode(t.Fragment,null,[((f=a.label)==null?void 0:f.call(a,V))??(e.label?t.createVNode(sa,{id:V.id.value,class:"v-slider__label",text:e.label},null):void 0),(C=a.prepend)==null?void 0:C.call(a,V)])}:void 0,default:V=>{let{id:f,messagesId:C}=V;return t.createVNode("div",{class:"v-slider__container",onMousedown:k.value?void 0:v,onTouchstartPassive:k.value?void 0:m},[t.createVNode("input",{id:f.value,name:e.name||f.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:i.value},null),t.createVNode(Sl,{ref:_,start:0,stop:P.value},{"tick-label":a["tick-label"]}),t.createVNode(Vl,{ref:o,"aria-describedby":C.value,focused:w.value,min:u.value,max:p.value,modelValue:i.value,"onUpdate:modelValue":h=>i.value=h,position:P.value,elevation:e.elevation,onFocus:N,onBlur:$,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),Pl=ue({name:"VColorPickerPreview",props:z({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...H()},"VColorPickerPreview")(),emits:{"update:color":e=>!0},setup(e,n){let{emit:a}=n;const l=new AbortController;async function o(){if(!Ut)return;const r=new window.EyeDropper;try{const s=On((await r.open({signal:l.signal})).sRGBHex);a("update:color",{...e.color??Pe,...s})}catch{}}return t.onUnmounted(()=>l.abort()),j(()=>{var r,s;return t.createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[Ut&&t.createVNode("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[t.createVNode(aa,{onClick:o,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),t.createVNode("div",{class:"v-color-picker-preview__dot"},[t.createVNode("div",{style:{background:An(e.color??Pe)}},null)]),t.createVNode("div",{class:"v-color-picker-preview__sliders"},[t.createVNode(Sn,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(r=e.color)==null?void 0:r.h,"onUpdate:modelValue":i=>a("update:color",{...e.color??Pe,h:i}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&t.createVNode(Sn,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((s=e.color)==null?void 0:s.a)??1,"onUpdate:modelValue":i=>a("update:color",{...e.color??Pe,a:i}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),Rl={red:{base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink:{base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple:{base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple:{base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo:{base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue:{base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue:{base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan:{base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal:{base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green:{base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen:{base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime:{base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow:{base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber:{base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange:{base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange:{base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown:{base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey:{base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey:{base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades:{black:"#000000",white:"#ffffff",transparent:"#ffffff00"}},zl=z({swatches:{type:Array,default:()=>function(e){return Object.keys(e).map(n=>{const a=e[n];return a.base?[a.base,a.darken4,a.darken3,a.darken2,a.darken1,a.lighten1,a.lighten2,a.lighten3,a.lighten4,a.lighten5]:[a.black,a.white,a.transparent]})}(Rl)},disabled:Boolean,color:Object,maxHeight:[Number,String],...H()},"VColorPickerSwatches"),Al=ue({name:"VColorPickerSwatches",props:zl(),emits:{"update:color":e=>!0},setup(e,n){let{emit:a}=n;return j(()=>t.createVNode("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:T(e.maxHeight)},e.style]},[t.createVNode("div",null,[e.swatches.map(l=>t.createVNode("div",{class:"v-color-picker-swatches__swatch"},[l.map(o=>{const r=ve(o),s=at(r),i=zn(r);return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>s&&a("update:color",s)},[t.createVNode("div",{style:{background:i}},[e.color&&nt(e.color,s)?t.createVNode(fe,{size:"x-small",icon:"$success",color:Ra(o,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),ua=z({color:String,...ct(),...H(),...it(),...je(),...pt(),...Ft(),...ge(),...me(),...oe()},"VSheet"),Cn=L()({name:"VSheet",props:ua(),setup(e,n){let{slots:a}=n;const{themeClasses:l}=pe(e),{backgroundColorClasses:o,backgroundColorStyles:r}=Ae(t.toRef(e,"color")),{borderClasses:s}=dt(e),{dimensionStyles:i}=st(e),{elevationClasses:u}=De(e),{locationStyles:p}=vt(e),{positionClasses:c}=Mt(e),{roundedClasses:d}=he(e);return j(()=>t.createVNode(e.tag,{class:["v-sheet",l.value,o.value,s.value,u.value,c.value,d.value,e.class],style:[r.value,i.value,p.value,e.style]},a)),{}}}),El=ue({name:"VColorPicker",props:z({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Se).includes(e)},modes:{type:Array,default:()=>Object.keys(Se),validator:e=>Array.isArray(e)&&e.every(n=>Object.keys(Se).includes(n))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...Bn(ua({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker")(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const n=ce(e,"mode"),a=t.ref(null),l=ce(e,"modelValue",void 0,s=>{if(s==null||s==="")return null;let i;try{i=at(ve(s))}catch(u){return ze(u),null}return a.value&&(i={...i,h:a.value.h},a.value=null),i},s=>s?function(i,u){if(u==null||typeof u=="string"){const p=Tn(i);return i.a===1?p.slice(0,7):p}if(typeof u=="object"){let p;return we(u,["r","g","b"])?p=se(i):we(u,["h","s","l"])?p=Rn(i):we(u,["h","s","v"])&&(p=i),function(c,d){if(d){const{a:v,...m}=c;return m}return c}(p,!we(u,["a"])&&i.a===1)}return i}(s,e.modelValue):null),{rtlClasses:o}=be(),r=s=>{l.value=s,a.value=s};return t.onMounted(()=>{e.modes.includes(n.value)||(n.value=e.modes[0])}),lt({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),j(()=>{const s=Cn.filterProps(e);return t.createVNode(Cn,t.mergeProps({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",o.value,e.class],style:[{"--v-color-picker-color-hsv":An({...l.value??Pe,a:1})},e.style]},s,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&t.createVNode(rl,{key:"canvas",color:l.value,"onUpdate:color":r,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&t.createVNode("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&t.createVNode(Pl,{key:"preview",color:l.value,"onUpdate:color":r,hideAlpha:!n.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&t.createVNode(fl,{key:"edit",modes:e.modes,mode:n.value,"onUpdate:mode":i=>n.value=i,color:l.value,"onUpdate:color":r,disabled:e.disabled},null)]),e.showSwatches&&t.createVNode(Al,{key:"swatches",color:l.value,"onUpdate:color":r,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}}),Ol=z({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...H(),...zt({transition:{component:oa}})},"VCounter"),Tl=L()({name:"VCounter",functional:!0,props:Ol(),setup(e,n){let{slots:a}=n;const l=t.computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return j(()=>t.createVNode($e,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-counter",e.class],style:e.style},[a.default?a.default({counter:l.value,max:e.max,value:e.value}):l.value]),[[t.vShow,e.active]])]})),{}}}),Fl=z({floating:Boolean,...H()},"VFieldLabel"),Ge=L()({name:"VFieldLabel",props:Fl(),setup(e,n){let{slots:a}=n;return j(()=>t.createVNode(sa,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),Ml=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ca=z({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,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:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Ml.includes(e)},"onClick:clear":Re(),"onClick:appendInner":Re(),"onClick:prependInner":Re(),...H(),...Ot(),...ge(),...oe()},"VField"),da=L()({name:"VField",inheritAttrs:!1,props:{id:String,...Dt(),...ca()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:a,emit:l,slots:o}=n;const{themeClasses:r}=pe(e),{loaderClasses:s}=Tt(e),{focusClasses:i,isFocused:u,focus:p,blur:c}=Ht(e),{InputIcon:d}=ia(e),{roundedClasses:v}=he(e),{rtlClasses:m}=be(),_=t.computed(()=>e.dirty||e.active),b=t.computed(()=>!(e.singleLine||!e.label&&!o.label)),S=Me(),k=t.computed(()=>e.id||`input-${S}`),w=t.computed(()=>`${k.value}-messages`),N=t.ref(),$=t.ref(),P=t.ref(),x=t.computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:I,backgroundColorStyles:V}=Ae(t.toRef(e,"bgColor")),{textColorClasses:f,textColorStyles:C}=xe(t.computed(()=>e.error||e.disabled?void 0:_.value&&u.value?e.color:e.baseColor));t.watch(_,g=>{if(b.value){const y=N.value.$el,B=$.value.$el;requestAnimationFrame(()=>{const A=function(X){const K=X.getBoundingClientRect(),Z=getComputedStyle(X),W=Z.transform;if(W){let G,ne,le,J,ye;if(W.startsWith("matrix3d("))G=W.slice(9,-1).split(/, /),ne=+G[0],le=+G[5],J=+G[12],ye=+G[13];else{if(!W.startsWith("matrix("))return new mt(K);G=W.slice(7,-1).split(/, /),ne=+G[0],le=+G[3],J=+G[4],ye=+G[5]}const ft=Z.transformOrigin,pa=K.x-J-(1-ne)*parseFloat(ft),va=K.y-ye-(1-le)*parseFloat(ft.slice(ft.indexOf(" ")+1)),fa=ne?K.width/ne:X.offsetWidth+1,ma=le?K.height/le:X.offsetHeight+1;return new mt({x:pa,y:va,width:fa,height:ma})}return new mt(K)}(y),O=B.getBoundingClientRect(),D=O.x-A.x,F=O.y-A.y-(A.height/2-O.height/2),U=O.width/.75,Y=Math.abs(U-A.width)>1?{maxWidth:T(U)}:void 0,q=getComputedStyle(y),ae=getComputedStyle(B),E=1e3*parseFloat(q.transitionDuration)||150,M=parseFloat(ae.getPropertyValue("--v-field-label-scale")),ie=ae.getPropertyValue("color");y.style.visibility="visible",B.style.visibility="hidden",function(X,K,Z){if(X.animate===void 0)return{finished:Promise.resolve()};let W;try{W=X.animate(K,Z)}catch{return{finished:Promise.resolve()}}return W.finished===void 0&&(W.finished=new Promise(G=>{W.onfinish=()=>{G(W)}})),W}(y,{transform:`translate(${D}px, ${F}px) scale(${M})`,color:ie,...Y},{duration:E,easing:"cubic-bezier(0.4, 0, 0.2, 1)",direction:g?"normal":"reverse"}).finished.then(()=>{y.style.removeProperty("visibility"),B.style.removeProperty("visibility")})})}},{flush:"post"});const h=t.computed(()=>({isActive:_,isFocused:u,controlRef:P,blur:c,focus:p}));function R(g){g.target!==document.activeElement&&g.preventDefault()}return j(()=>{var D,F,U;const g=e.variant==="outlined",y=o["prepend-inner"]||e.prependInnerIcon,B=!(!e.clearable&&!o.clear),A=!!(o["append-inner"]||e.appendInnerIcon||B),O=()=>o.label?o.label({...h.value,label:e.label,props:{for:k.value}}):e.label;return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":_.value,"v-field--appended":A,"v-field--center-affix":e.centerAffix??!x.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":y,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!O(),[`v-field--variant-${e.variant}`]:!0},r.value,I.value,i.value,s.value,v.value,m.value,e.class],style:[V.value,e.style],onClick:R},a),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(Wn,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:o.loader}),y&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(d,{key:"prepend-icon",name:"prependInner"},null),(D=o["prepend-inner"])==null?void 0:D.call(o,h.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&b.value&&t.createVNode(Ge,{key:"floating-label",ref:$,class:[f.value],floating:!0,for:k.value,style:C.value},{default:()=>[O()]}),t.createVNode(Ge,{ref:N,for:k.value},{default:()=>[O()]}),(F=o.default)==null?void 0:F.call(o,{...h.value,props:{id:k.value,class:"v-field__input","aria-describedby":w.value},focus:p,blur:c})]),B&&t.createVNode(yl,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:Y=>{Y.preventDefault(),Y.stopPropagation()}},[o.clear?o.clear():t.createVNode(d,{name:"clear"},null)]),[[t.vShow,e.dirty]])]}),A&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[(U=o["append-inner"])==null?void 0:U.call(o,h.value),e.appendInnerIcon&&t.createVNode(d,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",f.value],style:C.value},[g&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),b.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(Ge,{ref:$,floating:!0,for:k.value},{default:()=>[O()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),x.value&&b.value&&t.createVNode(Ge,{ref:$,floating:!0,for:k.value},{default:()=>[O()]})])])}),{controlRef:P}}});function Ll(e){return _n(e,Object.keys(da.props).filter(n=>{return a=n,!In.test(a)&&n!=="class"&&n!=="style";var a}))}const yt=Symbol("Forwarded refs");function kt(e,n){let a=e;for(;a;){const l=Reflect.getOwnPropertyDescriptor(a,n);if(l)return l;a=Object.getPrototypeOf(a)}}const jl=["color","file","time","date","datetime-local","week","month"],Dl=z({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,...Wt(),...ca()},"VTextField"),Hl=L()({name:"VTextField",directives:{Intersect:Ln},inheritAttrs:!1,props:Dl(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,n){let{attrs:a,emit:l,slots:o}=n;const r=ce(e,"modelValue"),{isFocused:s,focus:i,blur:u}=Ht(e),p=t.computed(()=>typeof e.counterValue=="function"?e.counterValue(r.value):typeof e.counterValue=="number"?e.counterValue:(r.value??"").toString().length),c=t.computed(()=>a.maxlength?a.maxlength:!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"?void 0:e.counter),d=t.computed(()=>["plain","underlined"].includes(e.variant));function v(x,I){var V,f;e.autofocus&&x&&((f=(V=I[0].target)==null?void 0:V.focus)==null||f.call(V))}const m=t.ref(),_=t.ref(),b=t.ref(),S=t.computed(()=>jl.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function k(){var x;b.value!==document.activeElement&&((x=b.value)==null||x.focus()),s.value||i()}function w(x){l("mousedown:control",x),x.target!==b.value&&(k(),x.preventDefault())}function N(x){k(),l("click:control",x)}function $(x){x.stopPropagation(),k(),t.nextTick(()=>{r.value=null,function(I){for(var V=arguments.length,f=new Array(V>1?V-1:0),C=1;C{I.selectionStart=f[0],I.selectionEnd=f[1]})}}return j(()=>{const x=!!(o.counter||e.counter!==!1&&e.counter!=null),I=!(!x&&!o.details),[V,f]=function(g){const[y,B]=Gt(g,[In]),A=Bn(y,ya),[O,D]=Gt(B,["class","style","id",/^data-/]);return Object.assign(O,y),Object.assign(D,A),[O,D]}(a),{modelValue:C,...h}=et.filterProps(e),R=Ll(e);return t.createVNode(et,t.mergeProps({ref:m,modelValue:r.value,"onUpdate:modelValue":g=>r.value=g,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},V,h,{centerAffix:!d.value,focused:s.value}),{...o,default:g=>{let{id:y,isDisabled:B,isDirty:A,isReadonly:O,isValid:D}=g;return t.createVNode(da,t.mergeProps({ref:_,onMousedown:w,onClick:N,"onClick:clear":$,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},R,{id:y.value,active:S.value||A.value,dirty:A.value||e.dirty,disabled:B.value,focused:s.value,error:D.value===!1}),{...o,default:F=>{let{props:{class:U,...Y}}=F;const q=t.withDirectives(t.createVNode("input",t.mergeProps({ref:b,value:r.value,onInput:P,autofocus:e.autofocus,readonly:O.value,disabled:B.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:k,onBlur:u},Y,f),null),[[t.resolveDirective("intersect"),{handler:v},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])]),o.default?t.createVNode("div",{class:U,"data-no-activator":""},[o.default(),q]):t.cloneVNode(q,{class:U}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:I?g=>{var y;return t.createVNode(t.Fragment,null,[(y=o.details)==null?void 0:y.call(o,g),x&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Tl,{active:e.persistentCounter||s.value,value:p.value,max:c.value},o.counter)])])}:void 0})}),function(x){for(var I=arguments.length,V=new Array(I>1?I-1:0),f=1;f(t.pushScopeId("data-v-461a5893"),e=e(),t.popScopeId(),e))(()=>t.createElementVNode("div",{class:"position-elm-helper"},null,-1)),Vt=((e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a})(t.defineComponent({inheritAttrs:!1,__name:"VColorField",props:{appendIcon:{default:void 0},appendInnerIcon:{default:void 0},cardFieldWidth:{type:Boolean,default:!1},cardOffsetX:{default:0},cardOffsetY:{default:5},cardPadding:{default:4},cardProps:{default:()=>({})},clearable:{default:!1},color:{default:void 0},colorPickerProps:{default:()=>({})},density:{default:"default"},hint:{default:""},iconHoverColor:{type:Boolean,default:void 0},iconSize:{default:"default"},label:{default:void 0},messages:{default:void 0},name:{default:"color"},open:{default:"bottom left"},persistentHint:{type:Boolean,default:!1},persistentPlaceholder:{default:!1},placeholder:{default:void 0},prependIcon:{default:void 0},prependInnerIcon:{type:[String,null,Boolean],default:"default"},readonly:{default:!1},readonlyInput:{type:[Boolean,null],default:!1},required:{type:Boolean,default:!1},theme:{},canvasHeight:{},dotSize:{},hideCanvas:{},hideInputs:{},hideSliders:{},mode:{},modes:{},showSwatches:{},swatches:{},swatchesMaxHeight:{},variant:{default:"filled"},pip:{type:Boolean,default:!1},pipBorder:{default:"3px solid rgb(var(--v-theme-on-surface))"},pipIcon:{type:[String,null,Boolean],default:"pip"},pipBorderRadius:{default:"50%"},pipSize:{},pipSlot:{default:"prepend-inner"}},emits:["update","update:mode","update:modelValue"],setup(e,{emit:n}){var R;const a=t.useAttrs(),l=t.useSlots(),o=n,r=e,s=t.inject(_t,{}),i=t.reactive({...r,...s});t.watchEffect(()=>{Object.assign(i,{...r,...s})});const u=t.ref({VCard:{elevation:5,hover:!1,loading:!1,verticalOffset:28,...i.cardProps},VColorPicker:{canvasHeight:i.canvasHeight,dotSize:i.dotSize,elevation:0,hideCanvas:i.hideCanvas,hideInputs:i.hideInputs,hideSliders:i.hideSliders,mode:i.mode,modes:i.modes,showSwatches:i.showSwatches,swatches:i.swatches,swatchesMaxHeight:i.swatchesMaxHeight,...i.colorPickerProps}}),p=t.ref(null),c=t.ref({}),d=t.ref(!1),v=t.ref(null),m=t.ref(a.modelValue),_=t.ref(a.modelValue),b=t.ref((R=u.value.VColorPicker)==null?void 0:R.mode),S=t.ref(i.theme??void 0);let k=t.reactive({bottom:0,height:150,left:0,right:0,top:0,width:300});const w=t.ref({density:i.density,modelValue:_,pip:i.pip,pipBorder:i.pipBorder,pipBorderRadius:i.pipBorderRadius,pipIcon:i.pipIcon,pipSize:i.iconSize});t.watch(()=>a.modelValue,g=>{f(g)});const N=t.computed(()=>(g=>{const{name:y="",readonly:B,readonlyInput:A}=g;return{[`${Ve}--text-field-${y}`]:y!=="",[`${Ve}--text-field-readonly`]:B??!1,[`${Ve}--text-field-readonly-input`]:!(!A||B),[`${Ve}--text-field`]:!0}})({name:i.name,readonly:i.readonly,readonlyInput:i.readonlyInput})),$=t.computed(()=>i.readonly||i.readonlyInput),P=t.computed(()=>{if(i.iconHoverColor!==!1)return typeof i.iconHoverColor=="string"?i.iconHoverColor:i.color??void 0}),x=t.computed(()=>(g=>{const{fullWidth:y}=g;return{[`${Ve}--card`]:!0,[`${Ve}--card-full-width`]:y}})({fullWidth:i.cardFieldWidth}));function I(g){(g!=="textField"||i.readonlyInput||i.readonly)&&(g==="textFieldIcon"&&(i.readonlyInput||i.readonly)||V())}function V(g){var E;const y={left:0,right:0,top:0,width:0},B=v.value;if(!d.value&&(g==="keyup"||g==="clear"))return void(g==="clear"&&C(""));if(d.value=!d.value,!d.value)return void(c.value.display="none");const A=(B==null?void 0:B.getBoundingClientRect())??y;let O=(B==null?void 0:B.offsetHeight)??0,D=300,F=(A==null?void 0:A.left)??0,U=(A==null?void 0:A.right)??0;const Y=(A==null?void 0:A.top)??0,q=(E=v==null?void 0:v.value)==null?void 0:E.querySelector(".v-field__input"),ae=(q==null?void 0:q.getBoundingClientRect())??y;O=q==null?void 0:q.offsetHeight,D=(q==null?void 0:q.offsetWidth)??0,F=ae.left,U=ae.right-ae.width,k={bottom:"initial",height:O,left:F,right:U,top:window.scrollY+Y,width:i.cardFieldWidth?D:"auto"},function(){var ne,le,J;let M=Number(k.top)+Number(k.height),ie="initial",X=Number(i.cardOffsetY)??0;const K=Number(i.cardOffsetX)??0;(i.hint||r.messages)&&(X+=((ne=u.value.VCard)==null?void 0:ne.verticalOffset)??0),M+=X,(le=i.open)!=null&&le.includes("top")&&(ie=window.innerHeight-M+Number(k.height)+2*X,M="initial");let Z=Number(k.left)+K,W=k.right??0;i.cardFieldWidth?(Z=k.left,W="initial"):(W="initial",(J=i.open)!=null&&J.includes("right")&&(Z="initial",W=Number(k.right)+K));const G={bottom:ke({value:ie}),display:"block",left:ke({value:Z}),minWidth:ke({value:k.width}),padding:ke({value:i.cardPadding}),right:ke({value:W}),top:ke({value:M}),width:ke({value:k.width})};c.value=G}()}function f(g){let y=g??"";if(y.length<7)return _.value=y,void C(y);b.value==="hex"&&(g.length>7&&(y=g.substr(0,7)),y.toString().match(/#[a-zA-Z0-9]{7}/)&&(y=g.substr(0,7))),C(y)}function C(g,y=!0){y&&(m.value=g),_.value=g,o("update:modelValue",g),o("update",g)}function h(g){b.value=g,_.value=m.value,o("update:mode",g)}return ga.onClickOutside(v,g=>{var B;const y=t.unref(p);g.target!==y&&!((B=y==null?void 0:y.$el)!=null&&B.contains(g.target))&&d.value&&V("outside")},{ignore:[p]}),(g,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{ref_key:"fieldContainerRef",ref:v,class:"v-color-field"},[t.createVNode(Hl,t.mergeProps({ref:"textFieldRef"},g.$attrs,{class:t.unref(N),clearable:t.unref(i).clearable,color:t.unref(i).color,density:t.unref(i).density,hint:t.unref(i).hint,messages:t.unref(i).messages,"model-value":t.unref(_),"persistent-hint":t.unref(i).persistentHint,"persistent-placeholder":t.unref(i).persistentPlaceholder,placeholder:t.unref(i).placeholder,readonly:t.unref($),theme:t.unref(S),variant:t.unref(i).variant,"onClick:clear":y[2]||(y[2]=B=>V("clear")),"onClick:control":y[3]||(y[3]=B=>I("textField")),onKeyup:y[4]||(y[4]=t.withKeys(B=>V("keyup"),["enter"])),"onUpdate:modelValue":f}),t.createSlots({_:2},[t.renderList(t.unref(l),(B,A)=>({name:A,fn:t.withCtx(O=>[t.unref(l).prepend||t.unref(l)["prepend-inner"]||t.unref(l)["append-inner"]||t.unref(l).append?t.createCommentVNode("",!0):t.renderSlot(g.$slots,A,t.normalizeProps(t.mergeProps({key:0},{...O})),void 0,!0)])})),t.unref(l).prepend?{name:"prepend",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"prepend",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"0"}:void 0,(t.unref(i).prependIcon||t.unref(i).pipSlot==="prepend"&&t.unref(i).pip)&&!t.unref(l).prepend?{name:"prepend",fn:t.withCtx(()=>[t.unref(i).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(i).prependIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(i).prependIcon,iconSize:t.unref(i).iconSize,onClick:V},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"1"}:void 0,t.unref(l)["prepend-inner"]?{name:"prepend-inner",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"prepend-inner",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"2"}:void 0,(t.unref(i).prependInnerIcon||t.unref(i).pipSlot==="prepend-inner"&&t.unref(i).pip)&&!t.unref(l)["prepend-inner"]?{name:"prepend-inner",fn:t.withCtx(()=>[t.unref(i).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(i).prependInnerIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(i).prependInnerIcon,iconSize:t.unref(i).iconSize,onClick:y[0]||(y[0]=B=>I("textFieldIcon"))},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"3"}:void 0,t.unref(l)["append-inner"]?{name:"append-inner",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"append-inner",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"4"}:void 0,(t.unref(i).appendInnerIcon||t.unref(i).pipSlot==="append-inner"&&t.unref(i).pip)&&!t.unref(l)["append-inner"]?{name:"append-inner",fn:t.withCtx(()=>[t.unref(i).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(i).appendInnerIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(i).appendInnerIcon,iconSize:t.unref(i).iconSize,onClick:y[1]||(y[1]=B=>I("textFieldIcon"))},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"5"}:void 0,t.unref(l).append?{name:"append",fn:t.withCtx(B=>[t.renderSlot(g.$slots,"append",t.normalizeProps(t.guardReactiveProps({...B,toggleColorPicker:V})),void 0,!0)]),key:"6"}:void 0,(t.unref(i).appendIcon||t.unref(i).pipSlot==="append"&&t.unref(i).pip)&&!t.unref(l).append?{name:"append",fn:t.withCtx(()=>[t.unref(i).pip?(t.openBlock(),t.createBlock(Xe,t.mergeProps({key:0},t.unref(w),{onClick:V}),null,16)):t.unref(i).appendIcon?(t.openBlock(),t.createBlock(qe,{key:1,color:t.unref(P),icon:t.unref(i).appendIcon,iconSize:t.unref(i).iconSize,onClick:V},null,8,["color","icon","iconSize"])):t.createCommentVNode("",!0)]),key:"7"}:void 0,t.unref(l).label||t.unref(i).label?{name:"label",fn:t.withCtx(()=>[t.unref(l).label?t.renderSlot(g.$slots,"label",{key:0},void 0,!0):t.unref(i).label?(t.openBlock(),t.createElementBlock("div",Wl,[t.createTextVNode(t.toDisplayString(t.unref(i).label)+" ",1),t.unref(i).required?(t.openBlock(),t.createElementBlock("span",Ul,"*")):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),key:"8"}:void 0]),1040,["class","clearable","color","density","hint","messages","model-value","persistent-hint","persistent-placeholder","placeholder","readonly","theme","variant"])],512),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[ql,t.createVNode(Ne,{defaults:t.unref(u)},{default:t.withCtx(()=>{var B;return[t.createVNode(ll,{ref_key:"cardRef",ref:p,class:t.normalizeClass(t.unref(x)),style:t.normalizeStyle(t.unref(c)),theme:((B=t.unref(u).VCard)==null?void 0:B.theme)??t.unref(S),width:t.unref(k).width},{default:t.withCtx(()=>{var A,O;return[t.createVNode(El,{modelValue:t.unref(m),"onUpdate:modelValue":[y[5]||(y[5]=D=>t.isRef(m)?m.value=D:null),f],class:"v-color-selection",disabled:t.unref(i).readonly||((A=t.unref(u).VColorPicker)==null?void 0:A.disabled),mode:t.unref(b),theme:((O=t.unref(u).VColorPicker)==null?void 0:O.theme)??t.unref(S),"onUpdate:mode":h},null,8,["modelValue","disabled","mode","theme"])]}),_:1},8,["class","style","theme","width"])]}),_:1},8,["defaults"])]))],64))}}),[["__scopeId","data-v-461a5893"]]),_t=Symbol();exports.VColorField=Vt,exports.createVColorField=function(e={}){return{install:n=>{n.provide(_t,e),n.component("VColorField",Vt)}}},exports.default=Vt,exports.globalOptions=_t; +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-461a5893],.v-color-field--text-field-readonly-input .v-field *[data-v-461a5893]{cursor:pointer!important}.v-color-field--card[data-v-461a5893]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-461a5893]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-461a5893]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-461a5893]{max-width:100%!important}.position-elm-helper[data-v-461a5893]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); diff --git a/dist/vuetify-color-field.es.js b/dist/vuetify-color-field.es.js index 03d2c69..b640a31 100644 --- a/dist/vuetify-color-field.es.js +++ b/dist/vuetify-color-field.es.js @@ -1,8 +1,8 @@ -import { Fragment as be, reactive as bt, computed as v, watchEffect as _t, toRefs as nn, capitalize as tl, warn as Jl, ref as D, unref as b, provide as Ke, inject as pe, shallowRef as oe, defineComponent as xt, camelize as nl, h as Vt, getCurrentInstance as Ql, watch as Z, onScopeDispose as ea, effectScope as ta, toRaw as na, isRef as Ze, createVNode as s, mergeProps as ee, toRef as G, Text as la, openBlock as re, createBlock as me, withCtx as se, normalizeClass as ll, normalizeStyle as al, Transition as It, onBeforeMount as rl, nextTick as nt, onBeforeUnmount as Je, withDirectives as ke, resolveDirective as rt, vShow as Bt, resolveDynamicComponent as aa, readonly as ra, onMounted as $t, TransitionGroup as oa, onUnmounted as ia, cloneVNode as sa, useAttrs as ua, useSlots as ca, createElementBlock as Wt, createElementVNode as ol, withKeys as da, createSlots as pa, renderList as va, renderSlot as je, normalizeProps as et, createCommentVNode as Ne, guardReactiveProps as ct, createTextVNode as fa, toDisplayString as ma, Teleport as ga, pushScopeId as ha, popScopeId as ya } from "vue"; -import { onClickOutside as ba } from "@vueuse/core"; +import { Fragment as ye, reactive as yt, computed as v, watchEffect as _t, toRefs as nn, capitalize as tl, warn as Jl, ref as D, unref as y, provide as Ke, inject as pe, shallowRef as oe, defineComponent as xt, camelize as nl, h as Vt, getCurrentInstance as Ql, watch as Z, onScopeDispose as ea, effectScope as ta, toRaw as na, isRef as Ze, createVNode as s, mergeProps as ee, toRef as G, Text as la, openBlock as re, createBlock as me, withCtx as se, normalizeClass as ll, normalizeStyle as al, Transition as It, onBeforeMount as rl, nextTick as nt, onBeforeUnmount as Je, withDirectives as ke, resolveDirective as rt, vShow as Bt, resolveDynamicComponent as aa, readonly as ra, onMounted as $t, TransitionGroup as oa, onUnmounted as ia, cloneVNode as sa, useAttrs as ua, useSlots as ca, createElementBlock as Wt, createElementVNode as ol, withKeys as da, createSlots as pa, renderList as va, renderSlot as je, normalizeProps as et, createCommentVNode as Ne, guardReactiveProps as ct, createTextVNode as fa, toDisplayString as ma, Teleport as ga, pushScopeId as ha, popScopeId as ba } from "vue"; +import { onClickOutside as ya } from "@vueuse/core"; /** * @name @wdns/vuetify-color-field - * @version 1.1.1 + * @version 1.1.2 * @description Vuetify Color Field is a Vuetify VTextField Color Picker Component * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2024, WebDevNerdStuff @@ -18,9 +18,9 @@ const Ee = (e) => { const { icon: t, iconOptions: n, name: l } = e; if (t) return t; - let o = ((n == null ? void 0 : n.defaultSet) ?? "").toLowerCase(); - o = o === "fa" || o === "fasvg" ? "fa" : o; - const a = ka[o]; + let r = ((n == null ? void 0 : n.defaultSet) ?? "").toLowerCase(); + r = r === "fa" || r === "fasvg" ? "fa" : r; + const a = ka[r]; if (!a) throw new Error(`[VColorField]: No default ${n == null ? void 0 : n.defaultSet} icon set found.`); const i = a[l]; @@ -56,15 +56,15 @@ function Le(e, t) { } function sl(e, t) { const n = {}, l = new Set(Object.keys(e)); - for (const o of t) - l.has(o) && (n[o] = e[o]); + for (const r of t) + l.has(r) && (n[r] = e[r]); return n; } function _n(e, t, n) { - const l = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null); + const l = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null); for (const a in e) - t.some((i) => i instanceof RegExp ? i.test(a) : i === a) && !(n != null && n.some((i) => i === a)) ? l[a] = e[a] : o[a] = e[a]; - return [l, o]; + t.some((i) => i instanceof RegExp ? i.test(a) : i === a) && !(n != null && n.some((i) => i === a)) ? l[a] = e[a] : r[a] = e[a]; + return [l, r]; } function ul(e, t) { const n = { ...e }; @@ -88,16 +88,16 @@ function Vn(e, t) { function We() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; const l = {}; - for (const o in e) - l[o] = e[o]; - for (const o in t) { - const a = e[o], i = t[o]; - Zt(a) && Zt(i) ? l[o] = We(a, i, n) : Array.isArray(a) && Array.isArray(i) && n ? l[o] = n(a, i) : l[o] = i; + for (const r in e) + l[r] = e[r]; + for (const r in t) { + const a = e[r], i = t[r]; + Zt(a) && Zt(i) ? l[r] = We(a, i, n) : Array.isArray(a) && Array.isArray(i) && n ? l[r] = n(a, i) : l[r] = i; } return l; } function dl(e) { - return e.map((t) => t.type === be ? dl(t.children) : t).flat(); + return e.map((t) => t.type === ye ? dl(t.children) : t).flat(); } function Me() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; @@ -122,7 +122,7 @@ function ht(e, t) { return []; } function pl(e) { - const t = bt({}), n = v(e); + const t = yt({}), n = v(e); return _t(() => { for (const l in n.value) t[l] = n.value[l]; @@ -142,8 +142,8 @@ function Bn(e, t) { } class Ut { constructor(t) { - let { x: n, y: l, width: o, height: a } = t; - this.x = n, this.y = l, this.width = o, this.height = a; + let { x: n, y: l, width: r, height: a } = t; + this.x = n, this.y = l, this.width = r, this.height = a; } get top() { return this.y; @@ -160,8 +160,8 @@ class Ut { } const De = 2.4, $n = 0.2126729, An = 0.7151522, zn = 0.072175, xa = 0.55, Va = 0.58, Ia = 0.57, Ba = 0.62, dt = 0.03, Pn = 1.45, $a = 5e-4, Aa = 1.25, za = 1.25, Nn = 0.078, En = 12.82051282051282, pt = 0.06, On = 1e-3; function Ln(e, t) { - const n = (e.r / 255) ** De, l = (e.g / 255) ** De, o = (e.b / 255) ** De, a = (t.r / 255) ** De, i = (t.g / 255) ** De, r = (t.b / 255) ** De; - let u, p = n * $n + l * An + o * zn, c = a * $n + i * An + r * zn; + const n = (e.r / 255) ** De, l = (e.g / 255) ** De, r = (e.b / 255) ** De, a = (t.r / 255) ** De, i = (t.g / 255) ** De, o = (t.b / 255) ** De; + let u, p = n * $n + l * An + r * zn, c = a * $n + i * An + o * zn; if (p <= dt && (p += (dt - p) ** Pn), c <= dt && (c += (dt - c) ** Pn), Math.abs(c - p) < $a) return 0; if (c > p) { @@ -185,8 +185,8 @@ function Ve(e) { if (typeof e == "number") return (isNaN(e) || e < 0 || e > 16777215) && Ge(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; if (typeof e == "string" && Rn.test(e)) { - const { groups: t } = e.match(Rn), { fn: n, values: l } = t, o = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(a) / 100 : parseFloat(a)); - return Ea[n](...o); + const { groups: t } = e.match(Rn), { fn: n, values: l } = t, r = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(a) / 100 : parseFloat(a)); + return Ea[n](...r); } if (typeof e == "string") { let t = e.startsWith("#") ? e.slice(1) : e; @@ -206,11 +206,11 @@ function Ve(e) { Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } function Se(e) { - const { h: t, s: n, v: l, a: o } = e, a = (r) => { - const u = (r + t / 60) % 6; + const { h: t, s: n, v: l, a: r } = e, a = (o) => { + const u = (o + t / 60) % 6; return l - l * n * Math.max(Math.min(u, 4 - u, 1), 0); - }, i = [a(5), a(3), a(1)].map((r) => Math.round(255 * r)); - return { r: i[0], g: i[1], b: i[2], a: o }; + }, i = [a(5), a(3), a(1)].map((o) => Math.round(255 * o)); + return { r: i[0], g: i[1], b: i[2], a: r }; } function Mn(e) { return Se(an(e)); @@ -218,23 +218,23 @@ function Mn(e) { function Pt(e) { if (!e) return { h: 0, s: 1, v: 1, a: 1 }; - const t = e.r / 255, n = e.g / 255, l = e.b / 255, o = Math.max(t, n, l), a = Math.min(t, n, l); + const t = e.r / 255, n = e.g / 255, l = e.b / 255, r = Math.max(t, n, l), a = Math.min(t, n, l); let i = 0; - o !== a && (o === t ? i = 60 * (0 + (n - l) / (o - a)) : o === n ? i = 60 * (2 + (l - t) / (o - a)) : o === l && (i = 60 * (4 + (t - n) / (o - a)))), i < 0 && (i += 360); - const r = [i, o === 0 ? 0 : (o - a) / o, o]; - return { h: r[0], s: r[1], v: r[2], a: e.a }; + r !== a && (r === t ? i = 60 * (0 + (n - l) / (r - a)) : r === n ? i = 60 * (2 + (l - t) / (r - a)) : r === l && (i = 60 * (4 + (t - n) / (r - a)))), i < 0 && (i += 360); + const o = [i, r === 0 ? 0 : (r - a) / r, r]; + return { h: o[0], s: o[1], v: o[2], a: e.a }; } function vl(e) { - const { h: t, s: n, v: l, a: o } = e, a = l - l * n / 2; - return { h: t, s: a === 1 || a === 0 ? 0 : (l - a) / Math.min(a, 1 - a), l: a, a: o }; + const { h: t, s: n, v: l, a: r } = e, a = l - l * n / 2; + return { h: t, s: a === 1 || a === 0 ? 0 : (l - a) / Math.min(a, 1 - a), l: a, a: r }; } function an(e) { - const { h: t, s: n, l, a: o } = e, a = l + n * Math.min(l, 1 - l); - return { h: t, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: o }; + const { h: t, s: n, l, a: r } = e, a = l + n * Math.min(l, 1 - l); + return { h: t, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: r }; } function fl(e) { - let { r: t, g: n, b: l, a: o } = e; - return o === void 0 ? `rgb(${t}, ${n}, ${l})` : `rgba(${t}, ${n}, ${l}, ${o})`; + let { r: t, g: n, b: l, a: r } = e; + return r === void 0 ? `rgb(${t}, ${n}, ${l})` : `rgba(${t}, ${n}, ${l}, ${r})`; } function ml(e) { return fl(Se(e)); @@ -247,32 +247,32 @@ function gl(e) { e = function(a) { return a.startsWith("#") && (a = a.slice(1)), a = a.replace(/([^0-9a-f])/gi, "F"), (a.length === 3 || a.length === 4) && (a = a.split("").map((i) => i + i).join("")), a.length !== 6 && (a = Vn(Vn(a, 6), 8, "F")), a; }(e); - let [t, n, l, o] = function(a) { + let [t, n, l, r] = function(a) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; - const r = []; + const o = []; let u = 0; for (; u < a.length; ) - r.push(a.substr(u, i)), u += i; - return r; + o.push(a.substr(u, i)), u += i; + return o; }(e, 2).map((a) => parseInt(a, 16)); - return o = o === void 0 ? o : o / 255, { r: t, g: n, b: l, a: o }; + return r = r === void 0 ? r : r / 255, { r: t, g: n, b: l, a: r }; } function hl(e) { return Pt(gl(e)); } -function yl(e) { +function bl(e) { return function(t) { - let { r: n, g: l, b: o, a } = t; - return `#${[vt(n), vt(l), vt(o), a !== void 0 ? vt(Math.round(255 * a)) : ""].join("")}`; + let { r: n, g: l, b: r, a } = t; + return `#${[vt(n), vt(l), vt(r), a !== void 0 ? vt(Math.round(255 * a)) : ""].join("")}`; }(Se(e)); } function Tn(e) { return function(t) { - let { r: n, g: l, b: o } = t; - const a = [0, 0, 0], i = Na, r = Pa; - n = i(n / 255), l = i(l / 255), o = i(o / 255); + let { r: n, g: l, b: r } = t; + const a = [0, 0, 0], i = Na, o = Pa; + n = i(n / 255), l = i(l / 255), r = i(r / 255); for (let u = 0; u < 3; ++u) - a[u] = r[u][0] * n + r[u][1] * l + r[u][2] * o; + a[u] = o[u][0] * n + o[u][1] * l + o[u][2] * r; return a; }(Ve(e))[1]; } @@ -281,9 +281,9 @@ function Oa(e, t) { return (Math.max(n, l) + 0.05) / (Math.min(n, l) + 0.05); } function O(e, t) { - return (n) => Object.keys(e).reduce((l, o) => { - const a = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; - return l[o] = n && o in n ? { ...a, default: n[o] } : a, t && !l[o].source && (l[o].source = t), l; + return (n) => Object.keys(e).reduce((l, r) => { + const a = typeof e[r] == "object" && e[r] != null && !Array.isArray(e[r]) ? e[r] : { type: e[r] }; + return l[r] = n && r in n ? { ...a, default: n[r] } : a, t && !l[r].source && (l[r].source = t), l; }, {}); } const q = O({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), kt = Symbol.for("vuetify:defaults"); @@ -294,58 +294,58 @@ function rn() { return e; } function Nt(e, t) { - const n = rn(), l = D(e), o = v(() => { - if (b(t == null ? void 0 : t.disabled)) + const n = rn(), l = D(e), r = v(() => { + if (y(t == null ? void 0 : t.disabled)) return n.value; - const a = b(t == null ? void 0 : t.scoped), i = b(t == null ? void 0 : t.reset), r = b(t == null ? void 0 : t.root); - if (l.value == null && !(a || i || r)) + const a = y(t == null ? void 0 : t.scoped), i = y(t == null ? void 0 : t.reset), o = y(t == null ? void 0 : t.root); + if (l.value == null && !(a || i || o)) return n.value; let u = We(l.value, { prev: n.value }); if (a) return u; - if (i || r) { + if (i || o) { const p = Number(i || 1 / 0); for (let c = 0; c <= p && u && "prev" in u; c++) u = u.prev; - return u && typeof r == "string" && r in u && (u = We(We(u, { prev: u }), u[r])), u; + return u && typeof o == "string" && o in u && (u = We(We(u, { prev: u }), u[o])), u; } return u.prev ? We(u.prev, u) : u; }); - return Ke(kt, o), o; + return Ke(kt, r), r; } function La() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : rn(); const l = ge("useDefaults"); if (t = t ?? l.type.name ?? l.type.__name, !t) throw new Error("[Vuetify] Could not determine component name"); - const o = v(() => { - var r; - return (r = n.value) == null ? void 0 : r[e._as ?? t]; - }), a = new Proxy(e, { get(r, u) { + const r = v(() => { + var o; + return (o = n.value) == null ? void 0 : o[e._as ?? t]; + }), a = new Proxy(e, { get(o, u) { var c, d, f, g; - const p = Reflect.get(r, u); - return u === "class" || u === "style" ? [(c = o.value) == null ? void 0 : c[u], p].filter(($) => $ != null) : typeof u != "string" || function($, k) { + const p = Reflect.get(o, u); + return u === "class" || u === "style" ? [(c = r.value) == null ? void 0 : c[u], p].filter(($) => $ != null) : typeof u != "string" || function($, k) { var x, C; return ((x = $.props) == null ? void 0 : x[k]) !== void 0 || ((C = $.props) == null ? void 0 : C[Me(k)]) !== void 0; - }(l.vnode, u) ? p : ((d = o.value) == null ? void 0 : d[u]) ?? ((g = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : g[u]) ?? p; + }(l.vnode, u) ? p : ((d = r.value) == null ? void 0 : d[u]) ?? ((g = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : g[u]) ?? p; } }), i = oe(); return _t(() => { - if (o.value) { - const r = Object.entries(o.value).filter((u) => { + if (r.value) { + const o = Object.entries(r.value).filter((u) => { let [p] = u; return p.startsWith(p[0].toUpperCase()); }); - i.value = r.length ? Object.fromEntries(r) : void 0; + i.value = o.length ? Object.fromEntries(o) : void 0; } else i.value = void 0; }), { props: a, provideSubDefaults: function() { - const r = function(u) { + const o = function(u) { let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge("injectSelf"); const { provides: c } = p; if (c && u in c) return c[u]; }(kt, l); - Ke(kt, v(() => i.value ? We((r == null ? void 0 : r.value) ?? {}, i.value) : r == null ? void 0 : r.value)); + Ke(kt, v(() => i.value ? We((o == null ? void 0 : o.value) ?? {}, i.value) : o == null ? void 0 : o.value)); } }; } function Ce(e) { @@ -357,11 +357,11 @@ function Ce(e) { e.filterProps = function(n) { return sl(n, t); }, e.props._as = String, e.setup = function(n, l) { - const o = rn(); - if (!o.value) + const r = rn(); + if (!r.value) return e._setup(n, l); - const { props: a, provideSubDefaults: i } = La(n, n._as ?? e.name, o), r = e._setup(a, l); - return i(), r; + const { props: a, provideSubDefaults: i } = La(n, n._as ?? e.name, r), o = e._setup(a, l); + return i(), o; }; } return e; @@ -372,8 +372,8 @@ function H() { } function on(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0; - return H()({ name: n ?? tl(nl(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...q() }, setup(l, o) { - let { slots: a } = o; + return H()({ name: n ?? tl(nl(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...q() }, setup(l, r) { + let { slots: a } = r; return () => { var i; return Vt(l.tag, { class: [e, l.class], style: l.style }, (i = a.default) == null ? void 0 : i.call(a)); @@ -390,23 +390,47 @@ function _e() { const e = ge(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; return Me((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let bl = 0, yt = /* @__PURE__ */ new WeakMap(); +let yl = 0, bt = /* @__PURE__ */ new WeakMap(); function ot() { const e = ge("getUid"); - if (yt.has(e)) - return yt.get(e); + if (bt.has(e)) + return bt.get(e); { - const t = bl++; - return yt.set(e, t), t; + const t = yl++; + return bt.set(e, t), t; } } function W(e) { ge("useRender").render = e; } ot.reset = () => { - bl = 0, yt = /* @__PURE__ */ new WeakMap(); + yl = 0, bt = /* @__PURE__ */ new WeakMap(); }; const Ra = O({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"); +function Ma(e, t) { + let n = () => { + }; + function l(r) { + n == null || n(); + const a = Number(r ? e.openDelay : e.closeDelay); + return new Promise((i) => { + n = function(o, u) { + if (!At || o === 0) + return u(), () => { + }; + const p = window.setTimeout(u, o); + return () => window.clearTimeout(p); + }(a, () => { + t == null || t(r), i(r); + }); + }); + } + return { clearDelay: n, runOpenDelay: function() { + return l(!0); + }, runCloseDelay: function() { + return l(!1); + } }; +} function Qt(e, t) { let n; function l() { @@ -414,17 +438,17 @@ function Qt(e, t) { n == null || n.stop(), l(); }) : t()); } - Z(e, (o) => { - o && !n ? l() : o || (n == null || n.stop(), n = void 0); + Z(e, (r) => { + r && !n ? l() : r || (n == null || n.stop(), n = void 0); }, { immediate: !0 }), ea(() => { n == null || n.stop(); }); } function we(e, t, n) { - let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (c) => c, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (c) => c; - const a = ge("useProxiedModel"), i = D(e[t] !== void 0 ? e[t] : n), r = Me(t), u = v(r !== t ? () => { + let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (c) => c, r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (c) => c; + const a = ge("useProxiedModel"), i = D(e[t] !== void 0 ? e[t] : n), o = Me(t), u = v(o !== t ? () => { var c, d, f, g; - return e[t], !(!((c = a.vnode.props) != null && c.hasOwnProperty(t)) && !((d = a.vnode.props) != null && d.hasOwnProperty(r)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((g = a.vnode.props) != null && g.hasOwnProperty(`onUpdate:${r}`))); + return e[t], !(!((c = a.vnode.props) != null && c.hasOwnProperty(t)) && !((d = a.vnode.props) != null && d.hasOwnProperty(o)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((g = a.vnode.props) != null && g.hasOwnProperty(`onUpdate:${o}`))); } : () => { var c, d; return e[t], !(!((c = a.vnode.props) != null && c.hasOwnProperty(t)) || !((d = a.vnode.props) != null && d.hasOwnProperty(`onUpdate:${t}`))); @@ -438,30 +462,17 @@ function we(e, t, n) { const c = e[t]; return l(u.value ? c : i.value); }, set(c) { - const d = o(c), f = na(u.value ? e[t] : i.value); + const d = r(c), f = na(u.value ? e[t] : i.value); f !== d && l(f) !== c && (i.value = d, a == null || a.emit(`update:${t}`, d)); } }); return Object.defineProperty(p, "externalValue", { get: () => u.value ? e[t] : i.value }), p; } -const Ma = O({ disabled: Boolean, modelValue: { type: Boolean, default: void 0 }, ...Ra() }, "VHover"), Ta = H()({ name: "VHover", props: Ma(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Ta = O({ disabled: Boolean, modelValue: { type: Boolean, default: void 0 }, ...Ra() }, "VHover"), Fa = H()({ name: "VHover", props: Ta(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = we(e, "modelValue"), { runOpenDelay: o, runCloseDelay: a } = function(i, r) { - const u = {}, p = (c) => () => { - if (!At) - return Promise.resolve(!0); - const d = c === "openDelay"; - return u.closeDelay && window.clearTimeout(u.closeDelay), delete u.closeDelay, u.openDelay && window.clearTimeout(u.openDelay), delete u.openDelay, new Promise((f) => { - const g = parseInt(i[c] ?? 0, 10); - u[c] = window.setTimeout(() => { - r == null || r(d), f(d); - }, g); - }); - }; - return { runCloseDelay: p("closeDelay"), runOpenDelay: p("openDelay") }; - }(e, (i) => !e.disabled && (l.value = i)); + const l = we(e, "modelValue"), { runOpenDelay: r, runCloseDelay: a } = Ma(e, (i) => !e.disabled && (l.value = i)); return () => { var i; - return (i = n.default) == null ? void 0 : i.call(n, { isHovering: l.value, props: { onMouseenter: o, onMouseleave: a } }); + return (i = n.default) == null ? void 0 : i.call(n, { isHovering: l.value, props: { onMouseenter: r, onMouseleave: a } }); }; } }); function sn(e) { @@ -470,12 +481,12 @@ function sn(e) { if (e.value.background) if (qt(e.value.background)) { if (n.backgroundColor = e.value.background, !e.value.text && qt(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { - const o = Ve(e.value.background); - if (o.a == null || o.a === 1) { + const r = Ve(e.value.background); + if (r.a == null || r.a === 1) { const a = function(i) { - const r = Math.abs(Ln(Ve(0), Ve(i))); - return Math.abs(Ln(Ve(16777215), Ve(i))) > Math.min(r, 50) ? "#fff" : "#000"; - }(o); + const o = Math.abs(Ln(Ve(0), Ve(i))); + return Math.abs(Ln(Ve(16777215), Ve(i))) > Math.min(o, 50) ? "#fff" : "#000"; + }(r); n.color = a, n.caretColor = a; } } @@ -486,33 +497,33 @@ function sn(e) { }); } function Fe(e, t) { - const n = v(() => ({ text: Ze(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = sn(n); - return { textColorClasses: l, textColorStyles: o }; + const n = v(() => ({ text: Ze(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: r } = sn(n); + return { textColorClasses: l, textColorStyles: r }; } function Ye(e, t) { - const n = v(() => ({ background: Ze(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = sn(n); - return { backgroundColorClasses: l, backgroundColorStyles: o }; + const n = v(() => ({ background: Ze(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: r } = sn(n); + return { backgroundColorClasses: l, backgroundColorStyles: r }; } -const ie = [String, Function, Object, Array], Fa = Symbol.for("vuetify:icons"), St = O({ icon: { type: ie }, tag: { type: String, required: !0 } }, "icon"), Fn = H()({ name: "VComponentIcon", props: St(), setup(e, t) { +const ie = [String, Function, Object, Array], ja = Symbol.for("vuetify:icons"), St = O({ icon: { type: ie }, tag: { type: String, required: !0 } }, "icon"), Fn = H()({ name: "VComponentIcon", props: St(), setup(e, t) { let { slots: n } = t; return () => { const l = e.icon; return s(e.tag, null, { default: () => { - var o; - return [e.icon ? s(l, null, null) : (o = n.default) == null ? void 0 : o.call(n)]; + var r; + return [e.icon ? s(l, null, null) : (r = n.default) == null ? void 0 : r.call(n)]; } }); }; -} }), ja = Ce({ name: "VSvgIcon", inheritAttrs: !1, props: St(), setup(e, t) { +} }), Da = Ce({ name: "VSvgIcon", inheritAttrs: !1, props: St(), setup(e, t) { let { attrs: n } = t; return () => s(e.tag, ee(n, { style: null }), { default: () => [s("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) ? s("path", { d: l[0], "fill-opacity": l[1] }, null) : s("path", { d: l }, null)) : s("path", { d: e.icon }, null)])] }); } }); Ce({ name: "VLigatureIcon", props: St(), setup: (e) => () => s(e.tag, null, { default: () => [e.icon] }) }), Ce({ name: "VClassIcon", props: St(), setup: (e) => () => s(e.tag, { class: e.icon }, null) }); -const Da = ["x-small", "small", "default", "large", "x-large"], Et = O({ size: { type: [String, Number], default: "default" } }, "size"); +const Ha = ["x-small", "small", "default", "large", "x-large"], Et = O({ size: { type: [String, Number], default: "default" } }, "size"); function Ot(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); return pl(() => { let n, l; - return Jt(Da, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: T(e.size), height: T(e.size) }), { sizeClasses: n, sizeStyles: l }; + return Jt(Ha, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: T(e.size), height: T(e.size) }), { sizeClasses: n, sizeStyles: l }; }); } const Be = O({ tag: { type: String, default: "div" } }, "tag"), jn = Symbol.for("vuetify:theme"), he = O({ theme: String }, "theme"); @@ -521,58 +532,58 @@ function xe(e) { const t = pe(jn, null); if (!t) throw new Error("Could not find Vuetify theme injection"); - const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), o = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), a = { ...t, name: n, current: l, themeClasses: o }; + const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), r = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), a = { ...t, name: n, current: l, themeClasses: r }; return Ke(jn, a), a; } -const Ha = O({ color: String, start: Boolean, end: Boolean, icon: ie, ...q(), ...Et(), ...Be({ tag: "i" }), ...he() }, "VIcon"), Ie = H()({ name: "VIcon", props: Ha(), setup(e, t) { +const Wa = O({ color: String, start: Boolean, end: Boolean, icon: ie, ...q(), ...Et(), ...Be({ tag: "i" }), ...he() }, "VIcon"), Ie = H()({ name: "VIcon", props: Wa(), setup(e, t) { let { attrs: n, slots: l } = t; - const o = D(), { themeClasses: a } = xe(e), { iconData: i } = ((c) => { - const d = pe(Fa); + const r = D(), { themeClasses: a } = xe(e), { iconData: i } = ((c) => { + const d = pe(ja); if (!d) throw new Error("Missing Vuetify Icons provide!"); return { iconData: v(() => { var x; - const f = b(c); + const f = y(c); if (!f) return { component: Fn }; let g = f; if (typeof g == "string" && (g = g.trim(), g.startsWith("$") && (g = (x = d.aliases) == null ? void 0 : x[g.slice(1)])), !g) throw new Error(`Could not find aliased icon "${f}"`); if (Array.isArray(g)) - return { component: ja, icon: g }; + return { component: Da, icon: g }; if (typeof g != "string") return { component: Fn, icon: g }; const $ = Object.keys(d.sets).find((C) => typeof g == "string" && g.startsWith(`${C}:`)), k = $ ? g.slice($.length + 1) : g; return { component: d.sets[$ ?? d.defaultSet].component, icon: k }; }) }; - })(v(() => o.value || e.icon)), { sizeClasses: r } = Ot(e), { textColorClasses: u, textColorStyles: p } = Fe(G(e, "color")); + })(v(() => r.value || e.icon)), { sizeClasses: o } = Ot(e), { textColorClasses: u, textColorStyles: p } = Fe(G(e, "color")); return W(() => { var d, f; const c = (d = l.default) == null ? void 0 : d.call(l); - return c && (o.value = (f = dl(c).filter((g) => g.type === la && g.children && typeof g.children == "string")[0]) == null ? void 0 : f.children), s(i.value.component, { tag: e.tag, icon: i.value.icon, class: ["v-icon", "notranslate", a.value, r.value, u.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: T(e.size), height: T(e.size), width: T(e.size) }, p.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [c] }); + return c && (r.value = (f = dl(c).filter((g) => g.type === la && g.children && typeof g.children == "string")[0]) == null ? void 0 : f.children), s(i.value.component, { tag: e.tag, icon: i.value.icon, class: ["v-icon", "notranslate", a.value, o.value, u.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [o.value ? void 0 : { fontSize: T(e.size), height: T(e.size), width: T(e.size) }, p.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [c] }); }), {}; } }), ft = xt({ __name: "ColorPickerIcon", props: { color: {}, icon: { type: [String, null, Boolean], default: "" }, iconSize: {} }, emits: ["click"], setup(e, { emit: t }) { - const n = t, l = e, o = pe(Symbol.for("vuetify:icons")), a = v(() => il({ icon: l.icon !== "default" ? l.icon : "", iconOptions: o, name: "default" })); + const n = t, l = e, r = pe(Symbol.for("vuetify:icons")), a = v(() => il({ icon: l.icon !== "default" ? l.icon : "", iconOptions: r, name: "default" })); function i() { n("click"); } - return (r, u) => (re(), me(Ta, null, { default: se(({ isHovering: p, props: c }) => [s(Ie, ee(c, { color: p ? r.color : void 0, icon: b(a), size: r.iconSize, onClick: i }), null, 16, ["color", "icon", "size"])]), _: 1 })); + return (o, u) => (re(), me(Fa, null, { default: se(({ isHovering: p, props: c }) => [s(Ie, ee(c, { color: p ? o.color : void 0, icon: y(a), size: o.iconSize, onClick: i }), null, 16, ["color", "icon", "size"])]), _: 1 })); } }), mt = xt({ __name: "PipComponent", props: { modelValue: {}, pip: { type: Boolean }, pipBorder: {}, pipIcon: { type: [String, null, Boolean] }, pipBorderRadius: {}, pipSize: {}, pipSlot: {} }, emits: ["click"], setup(e, { emit: t }) { - const n = t, l = e, { modelValue: o } = nn(l), a = v(() => ({ [`${Oe}--pip`]: !0 })), i = v(() => ((c) => { + const n = t, l = e, { modelValue: r } = nn(l), a = v(() => ({ [`${Oe}--pip`]: !0 })), i = v(() => ((c) => { const { pipBorder: d, pipBorderRadius: f } = c, g = { backgroundColor: d && d !== "none" ? "rgb(var(--v-theme-on-surface))" : "transparent", overflow: "hidden" }; return d && d !== "none" && (g.border = d, g.borderRadius = f), g; - })({ pipBorder: l.pipBorder, pipBorderRadius: l.pipBorderRadius })), r = pe(Symbol.for("vuetify:icons")), u = v(() => il({ icon: l.pipIcon !== "pip" ? l.pipIcon : "", iconOptions: r, name: "pip" })); + })({ pipBorder: l.pipBorder, pipBorderRadius: l.pipBorderRadius })), o = pe(Symbol.for("vuetify:icons")), u = v(() => il({ icon: l.pipIcon !== "pip" ? l.pipIcon : "", iconOptions: o, name: "pip" })); function p() { n("click"); } - return (c, d) => (re(), me(Ie, { class: ll(b(a)), color: b(o) || "--v-theme-on-surface", icon: b(u), size: c.pipSize, style: al(b(i)), tag: "div", onClick: p }, null, 8, ["class", "color", "icon", "size", "style"])); -} }), Wa = H()({ name: "VCardActions", props: q(), setup(e, t) { + return (c, d) => (re(), me(Ie, { class: ll(y(a)), color: y(r) || "--v-theme-on-surface", icon: y(u), size: c.pipSize, style: al(y(i)), tag: "div", onClick: p }, null, 8, ["class", "color", "icon", "size", "style"])); +} }), Ua = H()({ name: "VCardActions", props: q(), setup(e, t) { let { slots: n } = t; return Nt({ VBtn: { slim: !0, variant: "text" } }), W(() => { var l; return s("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), Ua = on("v-card-subtitle"), qa = on("v-card-title"), Lt = O({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +} }), qa = on("v-card-subtitle"), Xa = on("v-card-title"), Lt = O({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); function Rt(e) { return { dimensionStyles: v(() => ({ height: T(e.height), maxHeight: T(e.maxHeight), maxWidth: T(e.maxWidth), minHeight: T(e.minHeight), minWidth: T(e.minWidth), width: T(e.width) })) }; } @@ -583,15 +594,15 @@ const kl = O({ aspectRatio: [String, Number], contentClass: String, inline: Bool const i = Number(a.aspectRatio); return i ? { paddingBottom: String(1 / i * 100) + "%" } : void 0; }) }; - }(e), { dimensionStyles: o } = Rt(e); + }(e), { dimensionStyles: r } = Rt(e); return W(() => { var a; - return s("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [s("div", { class: "v-responsive__sizer", style: l.value }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && s("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); + return s("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [r.value, e.style] }, [s("div", { class: "v-responsive__sizer", style: l.value }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && s("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); }), {}; } }), un = O({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), Ue = (e, t) => { let { slots: n } = t; - const { transition: l, disabled: o, ...a } = e, { component: i = It, ...r } = typeof l == "object" ? l : {}; - return Vt(i, ee(typeof l == "string" ? { name: o ? "" : l } : r, a, { disabled: o }), n); + const { transition: l, disabled: r, ...a } = e, { component: i = It, ...o } = typeof l == "object" ? l : {}; + return Vt(i, ee(typeof l == "string" ? { name: r ? "" : l } : o, a, { disabled: r }), n); }; function Hn(e, t) { var l; @@ -601,34 +612,34 @@ function Hn(e, t) { const Sl = { mounted: function(e, t) { if (!ln) return; - const n = t.modifiers || {}, l = t.value, { handler: o, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, i = new IntersectionObserver(function() { + const n = t.modifiers || {}, l = t.value, { handler: r, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, i = new IntersectionObserver(function() { var d; - let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u = arguments.length > 1 ? arguments[1] : void 0; + let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u = arguments.length > 1 ? arguments[1] : void 0; const p = (d = e._observe) == null ? void 0 : d[t.instance.$.uid]; if (!p) return; - const c = r.some((f) => f.isIntersecting); - !o || n.quiet && !p.init || n.once && !c && !p.init || o(c, r, u), c && n.once ? Hn(e, t) : p.init = !0; + const c = o.some((f) => f.isIntersecting); + !r || n.quiet && !p.init || n.once && !c && !p.init || r(c, o, u), c && n.once ? Hn(e, t) : p.init = !0; }, a); e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: i }, i.observe(e); -}, unmounted: Hn }, Xa = 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, ...kl(), ...q(), ...un() }, "VImg"), Cl = H()({ name: "VImg", directives: { intersect: Sl }, props: Xa(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { +}, unmounted: Hn }, Ga = 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, ...kl(), ...q(), ...un() }, "VImg"), Cl = H()({ name: "VImg", directives: { intersect: Sl }, props: Ga(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { let { emit: n, slots: l } = t; - const o = ge("VImg"), a = oe(""), i = D(), r = oe(e.eager ? "loading" : "idle"), u = oe(), p = oe(), c = v(() => 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) }), d = v(() => c.value.aspect || u.value / p.value || 0); + const r = ge("VImg"), a = oe(""), i = D(), o = oe(e.eager ? "loading" : "idle"), u = oe(), p = oe(), c = v(() => 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) }), d = v(() => c.value.aspect || u.value / p.value || 0); function f(m) { if ((!e.eager || !m) && (!ln || m || e.eager)) { - if (r.value = "loading", c.value.lazySrc) { + if (o.value = "loading", c.value.lazySrc) { const V = new Image(); V.src = c.value.lazySrc, C(V, null); } c.value.src && nt(() => { var V; n("loadstart", ((V = i.value) == null ? void 0 : V.currentSrc) || c.value.src), setTimeout(() => { - var y; - if (!o.isUnmounted) - if ((y = i.value) != null && y.complete) { - if (i.value.naturalWidth || $(), r.value === "error") + var b; + if (!r.isUnmounted) + if ((b = i.value) != null && b.complete) { + if (i.value.naturalWidth || $(), o.value === "error") return; - d.value || C(i.value, null), r.value === "loading" && g(); + d.value || C(i.value, null), o.value === "loading" && g(); } else d.value || C(i.value), k(); }); @@ -637,42 +648,42 @@ const Sl = { mounted: function(e, t) { } function g() { var m; - o.isUnmounted || (k(), C(i.value), r.value = "loaded", n("load", ((m = i.value) == null ? void 0 : m.currentSrc) || c.value.src)); + r.isUnmounted || (k(), C(i.value), o.value = "loaded", n("load", ((m = i.value) == null ? void 0 : m.currentSrc) || c.value.src)); } function $() { var m; - o.isUnmounted || (r.value = "error", n("error", ((m = i.value) == null ? void 0 : m.currentSrc) || c.value.src)); + r.isUnmounted || (o.value = "error", n("error", ((m = i.value) == null ? void 0 : m.currentSrc) || c.value.src)); } function k() { const m = i.value; m && (a.value = m.currentSrc || m.src); } Z(() => e.src, () => { - f(r.value !== "idle"); + f(o.value !== "idle"); }), Z(d, (m, V) => { !m && V && i.value && C(i.value); }), rl(() => f()); let x = -1; function C(m) { let V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; - const y = () => { - if (clearTimeout(x), o.isUnmounted) + const b = () => { + if (clearTimeout(x), r.isUnmounted) return; const { naturalHeight: E, naturalWidth: h } = m; - E || h ? (u.value = h, p.value = E) : m.complete || r.value !== "loading" || V == null ? (m.currentSrc.endsWith(".svg") || m.currentSrc.startsWith("data:image/svg+xml")) && (u.value = 1, p.value = 1) : x = window.setTimeout(y, V); + E || h ? (u.value = h, p.value = E) : m.complete || o.value !== "loading" || V == null ? (m.currentSrc.endsWith(".svg") || m.currentSrc.startsWith("data:image/svg+xml")) && (u.value = 1, p.value = 1) : x = window.setTimeout(b, V); }; - y(); + b(); } Je(() => { clearTimeout(x); }); const _ = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), I = () => { - var y; - if (!c.value.src || r.value === "idle") + var b; + if (!c.value.src || o.value === "idle") return null; - const m = s("img", { class: ["v-img__img", _.value], style: { objectPosition: e.position }, src: c.value.src, srcset: c.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: i, onLoad: g, onError: $ }, null), V = (y = l.sources) == null ? void 0 : y.call(l); - return s(Ue, { transition: e.transition, appear: !0 }, { default: () => [ke(V ? s("picture", { class: "v-img__picture" }, [V, m]) : m, [[Bt, r.value === "loaded"]])] }); - }, P = () => s(Ue, { transition: e.transition }, { default: () => [c.value.lazySrc && r.value !== "loaded" && s("img", { class: ["v-img__img", "v-img__img--preload", _.value], style: { objectPosition: e.position }, src: c.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), N = () => l.placeholder ? s(Ue, { transition: e.transition, appear: !0 }, { default: () => [(r.value === "loading" || r.value === "error" && !l.error) && s("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, B = () => l.error ? s(Ue, { transition: e.transition, appear: !0 }, { default: () => [r.value === "error" && s("div", { class: "v-img__error" }, [l.error()])] }) : null, z = () => e.gradient ? s("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, w = oe(!1); + const m = s("img", { class: ["v-img__img", _.value], style: { objectPosition: e.position }, src: c.value.src, srcset: c.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: i, onLoad: g, onError: $ }, null), V = (b = l.sources) == null ? void 0 : b.call(l); + return s(Ue, { transition: e.transition, appear: !0 }, { default: () => [ke(V ? s("picture", { class: "v-img__picture" }, [V, m]) : m, [[Bt, o.value === "loaded"]])] }); + }, P = () => s(Ue, { transition: e.transition }, { default: () => [c.value.lazySrc && o.value !== "loaded" && s("img", { class: ["v-img__img", "v-img__img--preload", _.value], style: { objectPosition: e.position }, src: c.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), N = () => l.placeholder ? s(Ue, { transition: e.transition, appear: !0 }, { default: () => [(o.value === "loading" || o.value === "error" && !l.error) && s("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, B = () => l.error ? s(Ue, { transition: e.transition, appear: !0 }, { default: () => [o.value === "error" && s("div", { class: "v-img__error" }, [l.error()])] }) : null, z = () => e.gradient ? s("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, w = oe(!1); { const m = Z(d, (V) => { V && (requestAnimationFrame(() => { @@ -684,9 +695,9 @@ const Sl = { mounted: function(e, t) { } return W(() => { const m = Dn.filterProps(e); - return ke(s(Dn, ee({ class: ["v-img", { "v-img--booting": !w.value }, e.class], style: [{ width: T(e.width === "auto" ? u.value : e.width) }, e.style] }, m, { aspectRatio: d.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => s(be, null, [s(I, null, null), s(P, null, null), s(z, null, null), s(N, null, null), s(B, null, null)]), default: l.default }), [[rt("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); - }), { currentSrc: a, image: i, state: r, naturalWidth: u, naturalHeight: p }; -} }), Ga = [null, "default", "comfortable", "compact"], Qe = O({ density: { type: String, default: "default", validator: (e) => Ga.includes(e) } }, "density"); + return ke(s(Dn, ee({ class: ["v-img", { "v-img--booting": !w.value }, e.class], style: [{ width: T(e.width === "auto" ? u.value : e.width) }, e.style] }, m, { aspectRatio: d.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => s(ye, null, [s(I, null, null), s(P, null, null), s(z, null, null), s(N, null, null), s(B, null, null)]), default: l.default }), [[rt("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); + }), { currentSrc: a, image: i, state: o, naturalWidth: u, naturalHeight: p }; +} }), Ya = [null, "default", "comfortable", "compact"], Qe = O({ density: { type: String, default: "default", validator: (e) => Ya.includes(e) } }, "density"); function it(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); return { densityClasses: v(() => `${t}--density-${e.density}`) }; @@ -699,55 +710,55 @@ function Ae(e) { if (n === !0 || n === "") l.push(`${t}--rounded`); else if (typeof n == "string" || n === 0) - for (const o of String(n).split(" ")) - l.push(`rounded-${o}`); + for (const r of String(n).split(" ")) + l.push(`rounded-${r}`); return l; }) }; } -const Ya = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; +const Ka = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; function cn(e, t) { - return s(be, null, [e && s("span", { key: "overlay", class: `${t}__overlay` }, null), s("span", { key: "underlay", class: `${t}__underlay` }, null)]); + return s(ye, null, [e && s("span", { key: "overlay", class: `${t}__overlay` }, null), s("span", { key: "underlay", class: `${t}__underlay` }, null)]); } -const Mt = O({ color: String, variant: { type: String, default: "elevated", validator: (e) => Ya.includes(e) } }, "variant"); +const Mt = O({ color: String, variant: { type: String, default: "elevated", validator: (e) => Ka.includes(e) } }, "variant"); function dn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); const n = v(() => { - const { variant: a } = b(e); + const { variant: a } = y(e); return `${t}--variant-${a}`; - }), { colorClasses: l, colorStyles: o } = sn(v(() => { - const { variant: a, color: i } = b(e); + }), { colorClasses: l, colorStyles: r } = sn(v(() => { + const { variant: a, color: i } = y(e); return { [["elevated", "flat"].includes(a) ? "background" : "text"]: i }; })); - return { colorClasses: l, colorStyles: o, variantClasses: n }; + return { colorClasses: l, colorStyles: r, variantClasses: n }; } -const Ka = O({ start: Boolean, end: Boolean, icon: ie, image: String, text: String, ...q(), ...Qe(), ...$e(), ...Et(), ...Be(), ...he(), ...Mt({ variant: "flat" }) }, "VAvatar"), Wn = H()({ name: "VAvatar", props: Ka(), setup(e, t) { +const Za = O({ start: Boolean, end: Boolean, icon: ie, image: String, text: String, ...q(), ...Qe(), ...$e(), ...Et(), ...Be(), ...he(), ...Mt({ variant: "flat" }) }, "VAvatar"), Wn = H()({ name: "VAvatar", props: Za(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = xe(e), { colorClasses: o, colorStyles: a, variantClasses: i } = dn(e), { densityClasses: r } = it(e), { roundedClasses: u } = Ae(e), { sizeClasses: p, sizeStyles: c } = Ot(e); - return W(() => s(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, o.value, r.value, u.value, p.value, i.value, e.class], style: [a.value, c.value, e.style] }, { default: () => { + const { themeClasses: l } = xe(e), { colorClasses: r, colorStyles: a, variantClasses: i } = dn(e), { densityClasses: o } = it(e), { roundedClasses: u } = Ae(e), { sizeClasses: p, sizeStyles: c } = Ot(e); + return W(() => s(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, r.value, o.value, u.value, p.value, i.value, e.class], style: [a.value, c.value, e.style] }, { default: () => { var d; return [e.image ? s(Cl, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? s(Ie, { key: "icon", icon: e.icon }, null) : ((d = n.default) == null ? void 0 : d.call(n)) ?? e.text, cn(!1, "v-avatar")]; } })), {}; -} }), Za = O({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), Te = H(!1)({ name: "VDefaultsProvider", props: Za(), setup(e, t) { +} }), Ja = O({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), Te = H(!1)({ name: "VDefaultsProvider", props: Ja(), setup(e, t) { let { slots: n } = t; - const { defaults: l, disabled: o, reset: a, root: i, scoped: r } = nn(e); - return Nt(l, { reset: a, root: i, scoped: r, disabled: o }), () => { + const { defaults: l, disabled: r, reset: a, root: i, scoped: o } = nn(e); + return Nt(l, { reset: a, root: i, scoped: o, disabled: r }), () => { var u; return (u = n.default) == null ? void 0 : u.call(n); }; -} }), Ja = O({ appendAvatar: String, appendIcon: ie, prependAvatar: String, prependIcon: ie, subtitle: [String, Number], title: [String, Number], ...q(), ...Qe() }, "VCardItem"), Qa = H()({ name: "VCardItem", props: Ja(), setup(e, t) { +} }), Qa = O({ appendAvatar: String, appendIcon: ie, prependAvatar: String, prependIcon: ie, subtitle: [String, Number], title: [String, Number], ...q(), ...Qe() }, "VCardItem"), er = H()({ name: "VCardItem", props: Qa(), setup(e, t) { let { slots: n } = t; return W(() => { var p; - const l = !(!e.prependAvatar && !e.prependIcon), o = !(!l && !n.prepend), a = !(!e.appendAvatar && !e.appendIcon), i = !(!a && !n.append), r = !(e.title == null && !n.title), u = !(e.subtitle == null && !n.subtitle); - return s("div", { class: ["v-card-item", e.class], style: e.style }, [o && s("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? s(Te, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && s(Wn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), s("div", { class: "v-card-item__content" }, [r && s(qa, { key: "title" }, { default: () => { + const l = !(!e.prependAvatar && !e.prependIcon), r = !(!l && !n.prepend), a = !(!e.appendAvatar && !e.appendIcon), i = !(!a && !n.append), o = !(e.title == null && !n.title), u = !(e.subtitle == null && !n.subtitle); + return s("div", { class: ["v-card-item", e.class], style: e.style }, [r && s("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? s(Te, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && s(Wn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), s("div", { class: "v-card-item__content" }, [o && s(Xa, { key: "title" }, { default: () => { var c; return [((c = n.title) == null ? void 0 : c.call(n)) ?? e.title]; - } }), u && s(Ua, { key: "subtitle" }, { default: () => { + } }), u && s(qa, { key: "subtitle" }, { default: () => { var c; return [((c = n.subtitle) == null ? void 0 : c.call(n)) ?? e.subtitle]; } }), (p = n.default) == null ? void 0 : p.call(n)]), i && s("div", { key: "append", class: "v-card-item__append" }, [n.append ? s(Te, { key: "append-defaults", disabled: !a, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : a && s(Wn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; -} }), er = on("v-card-text"), Tt = O({ border: [Boolean, Number, String] }, "border"); +} }), tr = on("v-card-text"), Tt = O({ border: [Boolean, Number, String] }, "border"); function Ft(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); return { borderClasses: v(() => { @@ -755,8 +766,8 @@ function Ft(e) { if (n === !0 || n === "") l.push(`${t}--border`); else if (typeof n == "string" || n === 0) - for (const o of String(n).split(" ")) - l.push(`border-${o}`); + for (const r of String(n).split(" ")) + l.push(`border-${r}`); return l; }) }; } @@ -773,13 +784,13 @@ function ut(e) { function wl(e, t) { const n = D(), l = oe(!1); if (ln) { - const o = new IntersectionObserver((a) => { - e == null || e(a, o), l.value = !!a.find((i) => i.isIntersecting); + const r = new IntersectionObserver((a) => { + e == null || e(a, r), l.value = !!a.find((i) => i.isIntersecting); }, t); Je(() => { - o.disconnect(); + r.disconnect(); }), Z(n, (a, i) => { - i && (o.unobserve(i), l.value = !1), a && o.observe(a); + i && (r.unobserve(i), l.value = !1), a && r.observe(a); }, { flush: "post" }); } return { intersectionRef: n, isIntersecting: l }; @@ -802,23 +813,23 @@ function Dt(e) { let [d, f] = p.split(" "); return f || (f = Jt(wa, d) ? "start" : Jt(_a, d) ? "top" : "center"), { side: Bn(d, c), align: Bn(f, c) }; }(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); - function r(p) { + function o(p) { return n ? n(p) : 0; } const u = {}; - return a !== "center" && (t ? u[Un[a]] = `calc(100% - ${r(a)}px)` : u[a] = 0), i !== "center" ? t ? u[Un[i]] = `calc(100% - ${r(i)}px)` : u[i] = 0 : (a === "center" ? u.top = u.left = "50%" : u[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", u.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), u; + return a !== "center" && (t ? u[Un[a]] = `calc(100% - ${o(a)}px)` : u[a] = 0), i !== "center" ? t ? u[Un[i]] = `calc(100% - ${o(i)}px)` : u[i] = 0 : (a === "center" ? u.top = u.left = "50%" : u[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", u.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), u; }) }; } -const tr = 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, ...q(), ...jt({ location: "top" }), ...$e(), ...Be(), ...he() }, "VProgressLinear"), nr = H()({ name: "VProgressLinear", props: tr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const nr = 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, ...q(), ...jt({ location: "top" }), ...$e(), ...Be(), ...he() }, "VProgressLinear"), lr = H()({ name: "VProgressLinear", props: nr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = we(e, "modelValue"), { isRtl: o, rtlClasses: a } = ze(), { themeClasses: i } = xe(e), { locationStyles: r } = Dt(e), { textColorClasses: u, textColorStyles: p } = Fe(e, "color"), { backgroundColorClasses: c, backgroundColorStyles: d } = Ye(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: g } = Ye(e, "color"), { roundedClasses: $ } = Ae(e), { intersectionRef: k, isIntersecting: x } = wl(), C = v(() => parseInt(e.max, 10)), _ = v(() => parseInt(e.height, 10)), I = v(() => parseFloat(e.bufferValue) / C.value * 100), P = v(() => parseFloat(l.value) / C.value * 100), N = v(() => o.value !== e.reverse), B = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), z = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + const l = we(e, "modelValue"), { isRtl: r, rtlClasses: a } = ze(), { themeClasses: i } = xe(e), { locationStyles: o } = Dt(e), { textColorClasses: u, textColorStyles: p } = Fe(e, "color"), { backgroundColorClasses: c, backgroundColorStyles: d } = Ye(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: g } = Ye(e, "color"), { roundedClasses: $ } = Ae(e), { intersectionRef: k, isIntersecting: x } = wl(), C = v(() => parseInt(e.max, 10)), _ = v(() => parseInt(e.height, 10)), I = v(() => parseFloat(e.bufferValue) / C.value * 100), P = v(() => parseFloat(l.value) / C.value * 100), N = v(() => r.value !== e.reverse), B = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), z = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); function w(m) { if (!k.value) return; - const { left: V, right: y, width: E } = k.value.getBoundingClientRect(), h = N.value ? E - m.clientX + (y - E) : m.clientX - V; + const { left: V, right: b, width: E } = k.value.getBoundingClientRect(), h = N.value ? E - m.clientX + (b - E) : m.clientX - V; l.value = Math.round(h / E * C.value); } - return W(() => s(e.tag, { ref: k, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && x.value, "v-progress-linear--reverse": N.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, $.value, i.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? T(_.value) : 0, "--v-progress-linear-height": T(_.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 : P.value, onClick: e.clickable && w }, { default: () => [e.stream && s("div", { key: "stream", class: ["v-progress-linear__stream", u.value], style: { ...p.value, [N.value ? "left" : "right"]: T(-_.value), borderTop: `${T(_.value / 2)} dotted`, opacity: z.value, top: `calc(50% - ${T(_.value / 4)})`, width: T(100 - I.value, "%"), "--v-progress-linear-stream-to": T(_.value * (N.value ? 1 : -1)) } }, null), s("div", { class: ["v-progress-linear__background", c.value], style: [d.value, { opacity: z.value, width: T(e.stream ? I.value : 100, "%") }] }, null), s(It, { name: B.value }, { default: () => [e.indeterminate ? s("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((m) => s("div", { key: m, class: ["v-progress-linear__indeterminate", m, f.value], style: g.value }, null))]) : s("div", { class: ["v-progress-linear__determinate", f.value], style: [g.value, { width: T(P.value, "%") }] }, null)] }), n.default && s("div", { class: "v-progress-linear__content" }, [n.default({ value: P.value, buffer: I.value })])] })), {}; + return W(() => s(e.tag, { ref: k, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && x.value, "v-progress-linear--reverse": N.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, $.value, i.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? T(_.value) : 0, "--v-progress-linear-height": T(_.value), ...o.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : P.value, onClick: e.clickable && w }, { default: () => [e.stream && s("div", { key: "stream", class: ["v-progress-linear__stream", u.value], style: { ...p.value, [N.value ? "left" : "right"]: T(-_.value), borderTop: `${T(_.value / 2)} dotted`, opacity: z.value, top: `calc(50% - ${T(_.value / 4)})`, width: T(100 - I.value, "%"), "--v-progress-linear-stream-to": T(_.value * (N.value ? 1 : -1)) } }, null), s("div", { class: ["v-progress-linear__background", c.value], style: [d.value, { opacity: z.value, width: T(e.stream ? I.value : 100, "%") }] }, null), s(It, { name: B.value }, { default: () => [e.indeterminate ? s("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((m) => s("div", { key: m, class: ["v-progress-linear__indeterminate", m, f.value], style: g.value }, null))]) : s("div", { class: ["v-progress-linear__determinate", f.value], style: [g.value, { width: T(P.value, "%") }] }, null)] }), n.default && s("div", { class: "v-progress-linear__content" }, [n.default({ value: P.value, buffer: I.value })])] })), {}; } }), pn = O({ loading: [Boolean, String] }, "loader"); function vn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); @@ -827,30 +838,30 @@ function vn(e) { function xl(e, t) { var l; let { slots: n } = t; - return s("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || s(nr, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); + return s("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || s(lr, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const lr = ["static", "relative", "fixed", "absolute", "sticky"], fn = O({ position: { type: String, validator: (e) => lr.includes(e) } }, "position"); +const ar = ["static", "relative", "fixed", "absolute", "sticky"], fn = O({ position: { type: String, validator: (e) => ar.includes(e) } }, "position"); function mn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); return { positionClasses: v(() => e.position ? `${t}--${e.position}` : void 0) }; } function Vl(e, t) { - const n = aa("RouterLink"), l = v(() => !(!e.href && !e.to)), o = v(() => (l == null ? void 0 : l.value) || In(t, "click") || In(e, "click")); + const n = aa("RouterLink"), l = v(() => !(!e.href && !e.to)), r = v(() => (l == null ? void 0 : l.value) || In(t, "click") || In(e, "click")); if (typeof n == "string") - return { isLink: l, isClickable: o, href: G(e, "href") }; + return { isLink: l, isClickable: r, href: G(e, "href") }; const a = e.to ? n.useLink(e) : void 0, i = function() { - const r = ge("useRoute"); + const o = ge("useRoute"); return v(() => { var u; - return (u = r == null ? void 0 : r.proxy) == null ? void 0 : u.$route; + return (u = o == null ? void 0 : o.proxy) == null ? void 0 : u.$route; }); }(); - return { isLink: l, isClickable: o, route: a == null ? void 0 : a.route, navigate: a == null ? void 0 : a.navigate, isActive: a && v(() => { - var r, u, p; - return e.exact ? i.value ? ((r = a.isExactActive) == null ? void 0 : r.value) && zt(a.route.value.query, i.value.query) : (u = a.isExactActive) == null ? void 0 : u.value : (p = a.isActive) == null ? void 0 : p.value; + return { isLink: l, isClickable: r, route: a == null ? void 0 : a.route, navigate: a == null ? void 0 : a.navigate, isActive: a && v(() => { + var o, u, p; + return e.exact ? i.value ? ((o = a.isExactActive) == null ? void 0 : o.value) && zt(a.route.value.query, i.value.query) : (u = a.isExactActive) == null ? void 0 : u.value : (p = a.isActive) == null ? void 0 : p.value; }), href: v(() => e.to ? a == null ? void 0 : a.route.value.href : e.href) }; } -const Il = O({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"), en = Symbol("rippleStop"), ar = 80; +const Il = O({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"), en = Symbol("rippleStop"), rr = 80; function qn(e, t) { e.style.transform = t, e.style.webkitTransform = t; } @@ -865,9 +876,9 @@ const Ct = { show(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; if (!((g = t == null ? void 0 : t._ripple) != null && g.enabled)) return; - const l = document.createElement("span"), o = document.createElement("span"); - l.appendChild(o), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); - const { radius: a, scale: i, x: r, y: u, centerX: p, centerY: c } = function($, k) { + const l = document.createElement("span"), r = document.createElement("span"); + l.appendChild(r), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); + const { radius: a, scale: i, x: o, y: u, centerX: p, centerY: c } = function($, k) { var z; let x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, C = 0, _ = 0; if (!Bl($)) { @@ -879,10 +890,10 @@ const Ct = { show(e, t) { const N = (k.clientWidth - 2 * I) / 2 + "px", B = (k.clientHeight - 2 * I) / 2 + "px"; return { radius: I, scale: P, x: x.center ? N : C - I + "px", y: x.center ? B : _ - I + "px", centerX: N, centerY: B }; }(e, t, n), d = 2 * a + "px"; - o.className = "v-ripple__animation", o.style.width = d, o.style.height = d, t.appendChild(l); + r.className = "v-ripple__animation", r.style.width = d, r.style.height = d, t.appendChild(l); const f = window.getComputedStyle(t); - f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), qn(o, `translate(${r}, ${u}) scale3d(${i},${i},${i})`), o.dataset.activated = String(performance.now()), setTimeout(() => { - o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), qn(o, `translate(${p}, ${c}) scale3d(1,1,1)`); + f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), r.classList.add("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--visible"), qn(r, `translate(${o}, ${u}) scale3d(${i},${i},${i})`), r.dataset.activated = String(performance.now()), setTimeout(() => { + r.classList.remove("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--in"), qn(r, `translate(${p}, ${c}) scale3d(1,1,1)`); }, 0); }, hide(e) { var a; @@ -895,13 +906,13 @@ const Ct = { show(e, t) { if (n.dataset.isHiding) return; n.dataset.isHiding = "true"; - const l = performance.now() - Number(n.dataset.activated), o = Math.max(250 - l, 0); + const l = performance.now() - Number(n.dataset.activated), r = Math.max(250 - l, 0); setTimeout(() => { n.classList.remove("v-ripple__animation--in"), n.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 = n.parentNode) == null ? void 0 : i.parentNode) === e && e.removeChild(n.parentNode); }, 300); - }, o); + }, r); } }; function $l(e) { return e === void 0 || !!e; @@ -921,7 +932,7 @@ function lt(e) { }, n._ripple.showTimer = window.setTimeout(() => { var l; (l = n == null ? void 0 : n._ripple) != null && l.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null); - }, ar); + }, rr); } else Ct.show(e, n, t); } @@ -956,9 +967,9 @@ function Nl(e) { at && (at = !1, ce(e)); } function Gn(e, t, n) { - const { value: l, modifiers: o } = t, a = $l(l); - if (a || Ct.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = o.center, e._ripple.circle = o.circle, Zt(l) && l.class && (e._ripple.class = l.class), a && !n) { - if (o.stop) + const { value: l, modifiers: r } = t, a = $l(l); + if (a || Ct.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = r.center, e._ripple.circle = r.circle, Zt(l) && l.class && (e._ripple.class = l.class), a && !n) { + if (r.stop) return e.addEventListener("touchstart", Xn, { passive: !0 }), void e.addEventListener("mousedown", Xn); e.addEventListener("touchstart", lt, { passive: !0 }), e.addEventListener("touchend", ce, { passive: !0 }), e.addEventListener("touchmove", Al, { passive: !0 }), e.addEventListener("touchcancel", ce), e.addEventListener("mousedown", lt), e.addEventListener("mouseup", ce), e.addEventListener("mouseleave", ce), e.addEventListener("keydown", zl), e.addEventListener("keyup", Pl), e.addEventListener("blur", Nl), e.addEventListener("dragstart", ce, { passive: !0 }); } else @@ -973,17 +984,17 @@ const gn = { mounted: function(e, t) { delete e._ripple, El(e); }, updated: function(e, t) { t.value !== t.oldValue && Gn(e, t, $l(t.oldValue)); -} }, rr = O({ appendAvatar: String, appendIcon: ie, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: ie, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...Tt(), ...q(), ...Qe(), ...Lt(), ...st(), ...pn(), ...jt(), ...fn(), ...$e(), ...Il(), ...Be(), ...he(), ...Mt({ variant: "elevated" }) }, "VCard"), or = H()({ name: "VCard", directives: { Ripple: gn }, props: rr(), setup(e, t) { +} }, or = O({ appendAvatar: String, appendIcon: ie, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: ie, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...Tt(), ...q(), ...Qe(), ...Lt(), ...st(), ...pn(), ...jt(), ...fn(), ...$e(), ...Il(), ...Be(), ...he(), ...Mt({ variant: "elevated" }) }, "VCard"), ir = H()({ name: "VCard", directives: { Ripple: gn }, props: or(), setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: o } = xe(e), { borderClasses: a } = Ft(e), { colorClasses: i, colorStyles: r, variantClasses: u } = dn(e), { densityClasses: p } = it(e), { dimensionStyles: c } = Rt(e), { elevationClasses: d } = ut(e), { loaderClasses: f } = vn(e), { locationStyles: g } = Dt(e), { positionClasses: $ } = mn(e), { roundedClasses: k } = Ae(e), x = Vl(e, n), C = v(() => e.link !== !1 && x.isLink.value), _ = v(() => !e.disabled && e.link !== !1 && (e.link || x.isClickable.value)); + const { themeClasses: r } = xe(e), { borderClasses: a } = Ft(e), { colorClasses: i, colorStyles: o, variantClasses: u } = dn(e), { densityClasses: p } = it(e), { dimensionStyles: c } = Rt(e), { elevationClasses: d } = ut(e), { loaderClasses: f } = vn(e), { locationStyles: g } = Dt(e), { positionClasses: $ } = mn(e), { roundedClasses: k } = Ae(e), x = Vl(e, n), C = v(() => e.link !== !1 && x.isLink.value), _ = v(() => !e.disabled && e.link !== !1 && (e.link || x.isClickable.value)); return W(() => { - const I = C.value ? "a" : e.tag, P = !(!l.title && e.title == null), N = !(!l.subtitle && e.subtitle == null), B = P || N, z = !!(l.append || e.appendAvatar || e.appendIcon), w = !!(l.prepend || e.prependAvatar || e.prependIcon), m = !(!l.image && !e.image), V = B || w || z, y = !(!l.text && e.text == null); - return ke(s(I, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": _.value }, o.value, a.value, i.value, p.value, d.value, f.value, $.value, k.value, u.value, e.class], style: [r.value, c.value, g.value, e.style], href: x.href.value, onClick: _.value && x.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + const I = C.value ? "a" : e.tag, P = !(!l.title && e.title == null), N = !(!l.subtitle && e.subtitle == null), B = P || N, z = !!(l.append || e.appendAvatar || e.appendIcon), w = !!(l.prepend || e.prependAvatar || e.prependIcon), m = !(!l.image && !e.image), V = B || w || z, b = !(!l.text && e.text == null); + return ke(s(I, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": _.value }, r.value, a.value, i.value, p.value, d.value, f.value, $.value, k.value, u.value, e.class], style: [o.value, c.value, g.value, e.style], href: x.href.value, onClick: _.value && x.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { var E; - return [m && s("div", { key: "image", class: "v-card__image" }, [l.image ? s(Te, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : s(Cl, { key: "image-img", cover: !0, src: e.image }, null)]), s(xl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), V && s(Qa, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), y && s(er, { key: "text" }, { default: () => { + return [m && s("div", { key: "image", class: "v-card__image" }, [l.image ? s(Te, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : s(Cl, { key: "image-img", cover: !0, src: e.image }, null)]), s(xl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), V && s(er, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), b && s(tr, { key: "text" }, { default: () => { var h; return [((h = l.text) == null ? void 0 : h.call(l)) ?? e.text]; - } }), (E = l.default) == null ? void 0 : E.call(l), l.actions && s(Wa, null, { default: l.actions }), cn(_.value, "v-card")]; + } }), (E = l.default) == null ? void 0 : E.call(l), l.actions && s(Ua, null, { default: l.actions }), cn(_.value, "v-card")]; } }), [[rt("ripple"), _.value && e.ripple]]); }), {}; } }); @@ -991,25 +1002,25 @@ function Ol(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; const n = D(), l = D(); if (At) { - const o = new ResizeObserver((a) => { - e == null || e(a, o), a.length && (l.value = t === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); + const r = new ResizeObserver((a) => { + e == null || e(a, r), a.length && (l.value = t === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); }); Je(() => { - o.disconnect(); + r.disconnect(); }), Z(n, (a, i) => { - i && (o.unobserve(Cn(i)), l.value = void 0), a && o.observe(Cn(a)); + i && (r.unobserve(Cn(i)), l.value = void 0), a && r.observe(Cn(a)); }, { flush: "post" }); } return { resizeRef: n, contentRect: ra(l) }; } -const ir = Ce({ name: "VColorPickerCanvas", props: O({ color: { type: Object }, disabled: Boolean, dotSize: { type: [Number, String], default: 10 }, height: { type: [Number, String], default: 150 }, width: { type: [Number, String], default: 300 }, ...q() }, "VColorPickerCanvas")(), emits: { "update:color": (e) => !0, "update:position": (e) => !0 }, setup(e, t) { +const sr = Ce({ name: "VColorPickerCanvas", props: O({ color: { type: Object }, disabled: Boolean, dotSize: { type: [Number, String], default: 10 }, height: { type: [Number, String], default: 150 }, width: { type: [Number, String], default: 300 }, ...q() }, "VColorPickerCanvas")(), emits: { "update:color": (e) => !0, "update:position": (e) => !0 }, setup(e, t) { let { emit: n } = t; - const l = oe(!1), o = D(), a = oe(parseFloat(e.width)), i = oe(parseFloat(e.height)), r = D({ x: 0, y: 0 }), u = v({ get: () => r.value, set(k) { + const l = oe(!1), r = D(), a = oe(parseFloat(e.width)), i = oe(parseFloat(e.height)), o = D({ x: 0, y: 0 }), u = v({ get: () => o.value, set(k) { var _, I; - if (!o.value) + if (!r.value) return; const { x, y: C } = k; - r.value = k, n("update:color", { h: ((_ = e.color) == null ? void 0 : _.h) ?? 0, s: He(x, 0, a.value) / a.value, v: 1 - He(C, 0, i.value) / i.value, a: ((I = e.color) == null ? void 0 : I.a) ?? 1 }); + o.value = k, n("update:color", { h: ((_ = e.color) == null ? void 0 : _.h) ?? 0, s: He(x, 0, a.value) / a.value, v: 1 - He(C, 0, i.value) / i.value, a: ((I = e.color) == null ? void 0 : I.a) ?? 1 }); } }), p = v(() => { const { x: k, y: x } = u.value, C = parseInt(e.dotSize, 10) / 2; return { width: T(e.dotSize), height: T(e.dotSize), transform: `translate(${T(k - C)}, ${T(x - C)})` }; @@ -1024,7 +1035,7 @@ const ir = Ce({ name: "VColorPickerCanvas", props: O({ color: { type: Object }, k.type === "mousedown" && k.preventDefault(), e.disabled || (f(k), window.addEventListener("mousemove", f), window.addEventListener("mouseup", g), window.addEventListener("touchmove", f), window.addEventListener("touchend", g)); } function f(k) { - if (e.disabled || !o.value) + if (e.disabled || !r.value) return; l.value = !0; const x = function(C) { @@ -1033,16 +1044,16 @@ const ir = Ce({ name: "VColorPickerCanvas", props: O({ color: { type: Object }, (function(C, _, I) { const { left: P, top: N, width: B, height: z } = I; u.value = { x: He(C - P, 0, B), y: He(_ - N, 0, z) }; - })(x.clientX, x.clientY, o.value.getBoundingClientRect()); + })(x.clientX, x.clientY, r.value.getBoundingClientRect()); } function g() { window.removeEventListener("mousemove", f), window.removeEventListener("mouseup", g), window.removeEventListener("touchmove", f), window.removeEventListener("touchend", g); } function $() { var I; - if (!o.value) + if (!r.value) return; - const k = o.value, x = k.getContext("2d"); + const k = r.value, x = k.getContext("2d"); if (!x) return; const C = x.createLinearGradient(0, 0, k.width, 0); @@ -1054,18 +1065,18 @@ const ir = Ce({ name: "VColorPickerCanvas", props: O({ color: { type: Object }, var k; return (k = e.color) == null ? void 0 : k.h; }, $, { immediate: !0 }), Z(() => [a.value, i.value], (k, x) => { - $(), r.value = { x: u.value.x * k[0] / x[0], y: u.value.y * k[1] / x[1] }; + $(), o.value = { x: u.value.x * k[0] / x[0], y: u.value.y * k[1] / x[1] }; }, { flush: "post" }), Z(() => e.color, () => { - l.value ? l.value = !1 : r.value = e.color ? { x: e.color.s * a.value, y: (1 - e.color.v) * i.value } : { x: 0, y: 0 }; - }, { deep: !0, immediate: !0 }), $t(() => $()), W(() => s("div", { ref: c, class: ["v-color-picker-canvas", e.class], style: e.style, onMousedown: d, onTouchstartPassive: d }, [s("canvas", { ref: o, width: a.value, height: i.value }, null), e.color && s("div", { class: ["v-color-picker-canvas__dot", { "v-color-picker-canvas__dot--disabled": e.disabled }], style: p.value }, null)])), {}; + l.value ? l.value = !1 : o.value = e.color ? { x: e.color.s * a.value, y: (1 - e.color.v) * i.value } : { x: 0, y: 0 }; + }, { deep: !0, immediate: !0 }), $t(() => $()), W(() => s("div", { ref: c, class: ["v-color-picker-canvas", e.class], style: e.style, onMousedown: d, onTouchstartPassive: d }, [s("canvas", { ref: r, width: a.value, height: i.value }, null), e.color && s("div", { class: ["v-color-picker-canvas__dot", { "v-color-picker-canvas__dot--disabled": e.disabled }], style: p.value }, null)])), {}; } }), Ll = O({ divided: Boolean, ...Tt(), ...q(), ...Qe(), ...st(), ...$e(), ...Be(), ...he(), ...Mt() }, "VBtnGroup"), Yn = H()({ name: "VBtnGroup", props: Ll(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = xe(e), { densityClasses: o } = it(e), { borderClasses: a } = Ft(e), { elevationClasses: i } = ut(e), { roundedClasses: r } = Ae(e); - Nt({ VBtn: { height: "auto", color: G(e, "color"), density: G(e, "density"), flat: !0, variant: G(e, "variant") } }), W(() => s(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, o.value, i.value, r.value, e.class], style: e.style }, n)); -} }), sr = O({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), ur = O({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); -function cr(e, t) { + const { themeClasses: l } = xe(e), { densityClasses: r } = it(e), { borderClasses: a } = Ft(e), { elevationClasses: i } = ut(e), { roundedClasses: o } = Ae(e); + Nt({ VBtn: { height: "auto", color: G(e, "color"), density: G(e, "density"), flat: !0, variant: G(e, "variant") } }), W(() => s(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, r.value, i.value, o.value, e.class], style: e.style }, n)); +} }), ur = O({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), cr = O({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); +function dr(e, t) { let n = !1; - const l = bt([]), o = we(e, "modelValue", [], (p) => p == null ? [] : Kn(l, tt(p)), (p) => { + const l = yt([]), r = we(e, "modelValue", [], (p) => p == null ? [] : Kn(l, tt(p)), (p) => { const c = function(d, f) { const g = []; return f.forEach(($) => { @@ -1080,20 +1091,20 @@ function cr(e, t) { }), a = ge("useGroup"); function i() { const p = l.find((c) => !c.disabled); - p && e.mandatory === "force" && !o.value.length && (o.value = [p.id]); + p && e.mandatory === "force" && !r.value.length && (r.value = [p.id]); } - function r(p) { - if (e.multiple && Ge('This method is not supported when using "multiple" prop'), o.value.length) { - const c = o.value[0], d = l.findIndex(($) => $.id === c); + function o(p) { + if (e.multiple && Ge('This method is not supported when using "multiple" prop'), r.value.length) { + const c = r.value[0], d = l.findIndex(($) => $.id === c); let f = (d + p) % l.length, g = l[f]; for (; g.disabled && f !== d; ) f = (f + p) % l.length, g = l[f]; if (g.disabled) return; - o.value = [l[f].id]; + r.value = [l[f].id]; } else { const c = l.find((d) => !d.disabled); - c && (o.value = [c.id]); + c && (r.value = [c.id]); } } $t(() => { @@ -1110,21 +1121,21 @@ function cr(e, t) { i(); const c = l.findIndex((d) => d.id === p); l.splice(c, 1); - }, selected: o, select: function(p, c) { + }, selected: r, select: function(p, c) { const d = l.find((f) => f.id === p); if (!c || !(d != null && d.disabled)) if (e.multiple) { - const f = o.value.slice(), g = f.findIndex((k) => k === p), $ = ~g; + const f = r.value.slice(), g = f.findIndex((k) => k === p), $ = ~g; if (c = c ?? !$, $ && e.mandatory && f.length <= 1 || !$ && e.max != null && f.length + 1 > e.max) return; - g < 0 && c ? f.push(p) : g >= 0 && !c && f.splice(g, 1), o.value = f; + g < 0 && c ? f.push(p) : g >= 0 && !c && f.splice(g, 1), r.value = f; } else { - const f = o.value.includes(p); + const f = r.value.includes(p); if (e.mandatory && f) return; - o.value = c ?? !f ? [p] : []; + r.value = c ?? !f ? [p] : []; } - }, disabled: G(e, "disabled"), prev: () => r(l.length - 1), next: () => r(1), isSelected: (p) => o.value.includes(p), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (p) => function(c, d) { + }, disabled: G(e, "disabled"), prev: () => o(l.length - 1), next: () => o(1), isSelected: (p) => r.value.includes(p), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (p) => function(c, d) { const f = Kn(c, [d]); return f.length ? c.findIndex((g) => g.id === f[0]) : -1; }(l, p) }; @@ -1133,32 +1144,32 @@ function cr(e, t) { function Kn(e, t) { const n = []; return t.forEach((l) => { - const o = e.find((i) => zt(l, i.value)), a = e[l]; - (o == null ? void 0 : o.value) != null ? n.push(o.id) : a != null && n.push(a.id); + const r = e.find((i) => zt(l, i.value)), a = e[l]; + (r == null ? void 0 : r.value) != null ? n.push(r.id) : a != null && n.push(a.id); }), n; } -const Rl = Symbol.for("vuetify:v-btn-toggle"), dr = O({ ...Ll(), ...sr() }, "VBtnToggle"); -H()({ name: "VBtnToggle", props: dr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Rl = Symbol.for("vuetify:v-btn-toggle"), pr = O({ ...Ll(), ...ur() }, "VBtnToggle"); +H()({ name: "VBtnToggle", props: pr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { isSelected: l, next: o, prev: a, select: i, selected: r } = cr(e, Rl); + const { isSelected: l, next: r, prev: a, select: i, selected: o } = dr(e, Rl); return W(() => { const u = Yn.filterProps(e); return s(Yn, ee({ class: ["v-btn-toggle", e.class] }, u, { style: e.style }), { default: () => { var p; - return [(p = n.default) == null ? void 0 : p.call(n, { isSelected: l, next: o, prev: a, select: i, selected: r })]; + return [(p = n.default) == null ? void 0 : p.call(n, { isSelected: l, next: r, prev: a, select: i, selected: o })]; } }); - }), { next: o, prev: a, select: i }; + }), { next: r, prev: a, select: i }; } }); -const pr = 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 }, ...q(), ...Et(), ...Be({ tag: "div" }), ...he() }, "VProgressCircular"), vr = H()({ name: "VProgressCircular", props: pr(), setup(e, t) { +const vr = 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 }, ...q(), ...Et(), ...Be({ tag: "div" }), ...he() }, "VProgressCircular"), fr = H()({ name: "VProgressCircular", props: vr(), setup(e, t) { let { slots: n } = t; - const l = 2 * Math.PI * 20, o = D(), { themeClasses: a } = xe(e), { sizeClasses: i, sizeStyles: r } = Ot(e), { textColorClasses: u, textColorStyles: p } = Fe(G(e, "color")), { textColorClasses: c, textColorStyles: d } = Fe(G(e, "bgColor")), { intersectionRef: f, isIntersecting: g } = wl(), { resizeRef: $, contentRect: k } = Ol(), x = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = v(() => Number(e.width)), _ = v(() => r.value ? Number(e.size) : k.value ? k.value.width : Math.max(C.value, 32)), I = v(() => 20 / (1 - C.value / _.value) * 2), P = v(() => C.value / _.value * I.value), N = v(() => T((100 - x.value) / 100 * l)); + const l = 2 * Math.PI * 20, r = D(), { themeClasses: a } = xe(e), { sizeClasses: i, sizeStyles: o } = Ot(e), { textColorClasses: u, textColorStyles: p } = Fe(G(e, "color")), { textColorClasses: c, textColorStyles: d } = Fe(G(e, "bgColor")), { intersectionRef: f, isIntersecting: g } = wl(), { resizeRef: $, contentRect: k } = Ol(), x = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = v(() => Number(e.width)), _ = v(() => o.value ? Number(e.size) : k.value ? k.value.width : Math.max(C.value, 32)), I = v(() => 20 / (1 - C.value / _.value) * 2), P = v(() => C.value / _.value * I.value), N = v(() => T((100 - x.value) / 100 * l)); return _t(() => { - f.value = o.value, $.value = o.value; - }), W(() => s(e.tag, { ref: o, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": g.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, i.value, u.value, e.class], style: [r.value, p.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : x.value }, { default: () => [s("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${I.value} ${I.value}` }, [s("circle", { class: ["v-progress-circular__underlay", c.value], style: d.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": P.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), s("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": P.value, "stroke-dasharray": l, "stroke-dashoffset": N.value }, null)]), n.default && s("div", { class: "v-progress-circular__content" }, [n.default({ value: x.value })])] })), {}; -} }), fr = O({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: Rl }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: ie, appendIcon: ie, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Tt(), ...q(), ...Qe(), ...Lt(), ...st(), ...ur(), ...pn(), ...jt(), ...fn(), ...$e(), ...Il(), ...Et(), ...Be({ tag: "button" }), ...he(), ...Mt({ variant: "elevated" }) }, "VBtn"), Ml = H()({ name: "VBtn", directives: { Ripple: gn }, props: fr(), emits: { "group:selected": (e) => !0 }, setup(e, t) { + f.value = r.value, $.value = r.value; + }), W(() => s(e.tag, { ref: r, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": g.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, i.value, u.value, e.class], style: [o.value, p.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : x.value }, { default: () => [s("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${I.value} ${I.value}` }, [s("circle", { class: ["v-progress-circular__underlay", c.value], style: d.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": P.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), s("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": P.value, "stroke-dasharray": l, "stroke-dashoffset": N.value }, null)]), n.default && s("div", { class: "v-progress-circular__content" }, [n.default({ value: x.value })])] })), {}; +} }), mr = O({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: Rl }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: ie, appendIcon: ie, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Tt(), ...q(), ...Qe(), ...Lt(), ...st(), ...cr(), ...pn(), ...jt(), ...fn(), ...$e(), ...Il(), ...Et(), ...Be({ tag: "button" }), ...he(), ...Mt({ variant: "elevated" }) }, "VBtn"), Ml = H()({ name: "VBtn", directives: { Ripple: gn }, props: mr(), emits: { "group:selected": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: o } = xe(e), { borderClasses: a } = Ft(e), { colorClasses: i, colorStyles: r, variantClasses: u } = dn(e), { densityClasses: p } = it(e), { dimensionStyles: c } = Rt(e), { elevationClasses: d } = ut(e), { loaderClasses: f } = vn(e), { locationStyles: g } = Dt(e), { positionClasses: $ } = mn(e), { roundedClasses: k } = Ae(e), { sizeClasses: x, sizeStyles: C } = Ot(e), _ = function(m, V) { - let y = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; + const { themeClasses: r } = xe(e), { borderClasses: a } = Ft(e), { colorClasses: i, colorStyles: o, variantClasses: u } = dn(e), { densityClasses: p } = it(e), { dimensionStyles: c } = Rt(e), { elevationClasses: d } = ut(e), { loaderClasses: f } = vn(e), { locationStyles: g } = Dt(e), { positionClasses: $ } = mn(e), { roundedClasses: k } = Ae(e), { sizeClasses: x, sizeStyles: C } = Ot(e), _ = function(m, V) { + let b = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; const E = ge("useGroupItem"); if (!E) throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function"); @@ -1166,7 +1177,7 @@ const pr = O({ bgColor: String, color: String, indeterminate: [Boolean, String], Ke(Symbol.for(`${V.description}:id`), h); const S = pe(V, null); if (!S) { - if (!y) + if (!b) return S; throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${V.description}`); } @@ -1191,22 +1202,22 @@ const pr = O({ bgColor: String, color: String, indeterminate: [Boolean, String], } return function(m, V) { Z(() => { - var y; - return (y = m.isActive) == null ? void 0 : y.value; - }, (y) => { - m.isLink.value && y && V && nt(() => { + var b; + return (b = m.isActive) == null ? void 0 : b.value; + }, (b) => { + m.isLink.value && b && V && nt(() => { V(!0); }); }, { immediate: !0 }); }(I, _ == null ? void 0 : _.select), W(() => { var S, A; - const m = I.isLink.value ? "a" : e.tag, V = !(!e.prependIcon && !l.prepend), y = !(!e.appendIcon && !l.append), E = !(!e.icon || e.icon === !0), h = (_ == null ? void 0 : _.isSelected.value) && (!I.isLink.value || ((S = I.isActive) == null ? void 0 : S.value)) || !_ || ((A = I.isActive) == null ? void 0 : A.value); - return ke(s(m, { type: m === "a" ? void 0 : "button", class: ["v-btn", _ == null ? void 0 : _.selectedClass.value, { "v-btn--active": P.value, "v-btn--block": e.block, "v-btn--disabled": N.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 }, o.value, a.value, h ? i.value : void 0, p.value, d.value, f.value, $.value, k.value, x.value, u.value, e.class], style: [h ? r.value : void 0, c.value, g.value, C.value, e.style], disabled: N.value || void 0, href: I.href.value, onClick: w, value: z.value }, { default: () => { + const m = I.isLink.value ? "a" : e.tag, V = !(!e.prependIcon && !l.prepend), b = !(!e.appendIcon && !l.append), E = !(!e.icon || e.icon === !0), h = (_ == null ? void 0 : _.isSelected.value) && (!I.isLink.value || ((S = I.isActive) == null ? void 0 : S.value)) || !_ || ((A = I.isActive) == null ? void 0 : A.value); + return ke(s(m, { type: m === "a" ? void 0 : "button", class: ["v-btn", _ == null ? void 0 : _.selectedClass.value, { "v-btn--active": P.value, "v-btn--block": e.block, "v-btn--disabled": N.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 }, r.value, a.value, h ? i.value : void 0, p.value, d.value, f.value, $.value, k.value, x.value, u.value, e.class], style: [h ? o.value : void 0, c.value, g.value, C.value, e.style], disabled: N.value || void 0, href: I.href.value, onClick: w, value: z.value }, { default: () => { var L; return [cn(!0, "v-btn"), !e.icon && V && s("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? s(Te, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : s(Ie, { key: "prepend-icon", icon: e.prependIcon }, null)]), s("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && E ? s(Ie, { key: "content-icon", icon: e.icon }, null) : s(Te, { key: "content-defaults", disabled: !E, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var M; return [((M = l.default) == null ? void 0 : M.call(l)) ?? e.text]; - } })]), !e.icon && y && s("span", { key: "append", class: "v-btn__append" }, [l.append ? s(Te, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : s(Ie, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && s("span", { key: "loader", class: "v-btn__loader" }, [((L = l.loader) == null ? void 0 : L.call(l)) ?? s(vr, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + } })]), !e.icon && b && s("span", { key: "append", class: "v-btn__append" }, [l.append ? s(Te, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : s(Ie, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && s("span", { key: "loader", class: "v-btn__loader" }, [((L = l.loader) == null ? void 0 : L.call(l)) ?? s(fr, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; } }), [[rt("ripple"), !N.value && e.ripple, null]]); }), {}; } }), qe = { h: 0, s: 0, v: 1, a: 1 }, Xt = { inputProps: { type: "number", min: 0 }, inputs: [{ label: "R", max: 255, step: 1, getValue: (e) => Math.round(e.r), getColor: (e, t) => ({ ...e, r: Number(t) }) }, { label: "G", max: 255, step: 1, getValue: (e) => Math.round(e.g), getColor: (e, t) => ({ ...e, g: Number(t) }) }, { label: "B", max: 255, step: 1, getValue: (e) => Math.round(e.b), getColor: (e, t) => ({ ...e, b: Number(t) }) }, { label: "A", max: 1, step: 0.01, getValue: (e) => { @@ -1215,20 +1226,20 @@ const pr = O({ bgColor: String, color: String, indeterminate: [Boolean, String], }, getColor: (e, t) => ({ ...e, a: Number(t) }) }], to: Se, from: Pt }, Gt = { inputProps: { type: "number", min: 0 }, inputs: [{ label: "H", max: 360, step: 1, getValue: (e) => Math.round(e.h), getColor: (e, t) => ({ ...e, h: Number(t) }) }, { label: "S", max: 1, step: 0.01, getValue: (e) => Math.round(100 * e.s) / 100, getColor: (e, t) => ({ ...e, s: Number(t) }) }, { label: "L", max: 1, step: 0.01, getValue: (e) => Math.round(100 * e.l) / 100, getColor: (e, t) => ({ ...e, l: Number(t) }) }, { label: "A", max: 1, step: 0.01, getValue: (e) => { let { a: t } = e; return t != null ? Math.round(100 * t) / 100 : 1; -}, getColor: (e, t) => ({ ...e, a: Number(t) }) }], to: vl, from: an }, Zn = { inputProps: { type: "text" }, inputs: [{ label: "HEXA", getValue: (e) => e, getColor: (e, t) => t }], to: yl, from: hl }; +}, getColor: (e, t) => ({ ...e, a: Number(t) }) }], to: vl, from: an }, Zn = { inputProps: { type: "text" }, inputs: [{ label: "HEXA", getValue: (e) => e, getColor: (e, t) => t }], to: bl, from: hl }; var el; -const Re = { rgb: { ...Xt, inputs: (el = Xt.inputs) == null ? void 0 : el.slice(0, 3) }, rgba: Xt, hsl: { ...Gt, inputs: Gt.inputs.slice(0, 3) }, hsla: Gt, hex: { ...Zn, inputs: [{ label: "HEX", getValue: (e) => e.slice(0, 7), getColor: (e, t) => t }] }, hexa: Zn }, mr = (e) => { +const Re = { rgb: { ...Xt, inputs: (el = Xt.inputs) == null ? void 0 : el.slice(0, 3) }, rgba: Xt, hsl: { ...Gt, inputs: Gt.inputs.slice(0, 3) }, hsla: Gt, hex: { ...Zn, inputs: [{ label: "HEX", getValue: (e) => e.slice(0, 7), getColor: (e, t) => t }] }, hexa: Zn }, gr = (e) => { let { label: t, ...n } = e; return s("div", { class: "v-color-picker-edit__input" }, [s("input", n, null), s("span", null, [t])]); -}, gr = Ce({ name: "VColorPickerEdit", props: O({ color: Object, disabled: Boolean, mode: { type: String, default: "rgba", validator: (e) => Object.keys(Re).includes(e) }, modes: { type: Array, default: () => Object.keys(Re), validator: (e) => Array.isArray(e) && e.every((t) => Object.keys(Re).includes(t)) }, ...q() }, "VColorPickerEdit")(), emits: { "update:color": (e) => !0, "update:mode": (e) => !0 }, setup(e, t) { +}, hr = Ce({ name: "VColorPickerEdit", props: O({ color: Object, disabled: Boolean, mode: { type: String, default: "rgba", validator: (e) => Object.keys(Re).includes(e) }, modes: { type: Array, default: () => Object.keys(Re), validator: (e) => Array.isArray(e) && e.every((t) => Object.keys(Re).includes(t)) }, ...q() }, "VColorPickerEdit")(), emits: { "update:color": (e) => !0, "update:mode": (e) => !0 }, setup(e, t) { let { emit: n } = t; - const l = v(() => e.modes.map((a) => ({ ...Re[a], name: a }))), o = v(() => { - var r; + const l = v(() => e.modes.map((a) => ({ ...Re[a], name: a }))), r = v(() => { + var o; const a = l.value.find((u) => u.name === e.mode); if (!a) return []; const i = e.color ? a.to(e.color) : null; - return (r = a.inputs) == null ? void 0 : r.map((u) => { + return (o = a.inputs) == null ? void 0 : o.map((u) => { let { getValue: p, getColor: c, ...d } = u; return { ...a.inputProps, ...d, disabled: e.disabled, value: i && p(i), onChange: (f) => { const g = f.target; @@ -1238,32 +1249,32 @@ const Re = { rgb: { ...Xt, inputs: (el = Xt.inputs) == null ? void 0 : el.slice( }); return W(() => { var a; - return s("div", { class: ["v-color-picker-edit", e.class], style: e.style }, [(a = o.value) == null ? void 0 : a.map((i) => s(mr, i, null)), l.value.length > 1 && s(Ml, { icon: "$unfold", size: "x-small", variant: "plain", onClick: () => { - const i = l.value.findIndex((r) => r.name === e.mode); + return s("div", { class: ["v-color-picker-edit", e.class], style: e.style }, [(a = r.value) == null ? void 0 : a.map((i) => s(gr, i, null)), l.value.length > 1 && s(Ml, { icon: "$unfold", size: "x-small", variant: "plain", onClick: () => { + const i = l.value.findIndex((o) => o.name === e.mode); n("update:mode", l.value[(i + 1) % l.value.length].name); } }, null)]); }), {}; -} }), hn = Symbol.for("vuetify:v-slider"), hr = O({ disabled: { type: Boolean, default: null }, error: Boolean, readonly: { type: Boolean, default: null }, max: { type: [Number, String], default: 100 }, min: { type: [Number, String], default: 0 }, step: { type: [Number, String], default: 0 }, thumbColor: String, thumbLabel: { type: [Boolean, String], default: void 0, validator: (e) => typeof e == "boolean" || e === "always" }, thumbSize: { type: [Number, String], default: 20 }, showTicks: { type: [Boolean, String], default: !1, validator: (e) => typeof e == "boolean" || e === "always" }, ticks: { type: [Array, Object] }, tickSize: { type: [Number, String], default: 2 }, color: String, trackColor: String, trackFillColor: String, trackSize: { type: [Number, String], default: 4 }, direction: { type: String, default: "horizontal", validator: (e) => ["vertical", "horizontal"].includes(e) }, reverse: Boolean, ...$e(), ...st({ elevation: 2 }), ripple: { type: Boolean, default: !0 } }, "Slider"), yr = (e) => { - let { props: t, steps: n, onSliderStart: l, onSliderMove: o, onSliderEnd: a, getActiveThumb: i } = e; - const { isRtl: r } = ze(), u = G(t, "reverse"), p = v(() => t.direction === "vertical"), c = v(() => p.value !== u.value), { min: d, max: f, step: g, decimals: $, roundValue: k } = n, x = v(() => parseInt(t.thumbSize, 10)), C = v(() => parseInt(t.tickSize, 10)), _ = v(() => parseInt(t.trackSize, 10)), I = v(() => (f.value - d.value) / g.value), P = G(t, "disabled"), N = v(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), B = v(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), z = v(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), w = oe(!1), m = oe(0), V = D(), y = D(); +} }), hn = Symbol.for("vuetify:v-slider"), br = O({ disabled: { type: Boolean, default: null }, error: Boolean, readonly: { type: Boolean, default: null }, max: { type: [Number, String], default: 100 }, min: { type: [Number, String], default: 0 }, step: { type: [Number, String], default: 0 }, thumbColor: String, thumbLabel: { type: [Boolean, String], default: void 0, validator: (e) => typeof e == "boolean" || e === "always" }, thumbSize: { type: [Number, String], default: 20 }, showTicks: { type: [Boolean, String], default: !1, validator: (e) => typeof e == "boolean" || e === "always" }, ticks: { type: [Array, Object] }, tickSize: { type: [Number, String], default: 2 }, color: String, trackColor: String, trackFillColor: String, trackSize: { type: [Number, String], default: 4 }, direction: { type: String, default: "horizontal", validator: (e) => ["vertical", "horizontal"].includes(e) }, reverse: Boolean, ...$e(), ...st({ elevation: 2 }), ripple: { type: Boolean, default: !0 } }, "Slider"), yr = (e) => { + let { props: t, steps: n, onSliderStart: l, onSliderMove: r, onSliderEnd: a, getActiveThumb: i } = e; + const { isRtl: o } = ze(), u = G(t, "reverse"), p = v(() => t.direction === "vertical"), c = v(() => p.value !== u.value), { min: d, max: f, step: g, decimals: $, roundValue: k } = n, x = v(() => parseInt(t.thumbSize, 10)), C = v(() => parseInt(t.tickSize, 10)), _ = v(() => parseInt(t.trackSize, 10)), I = v(() => (f.value - d.value) / g.value), P = G(t, "disabled"), N = v(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), B = v(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), z = v(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), w = oe(!1), m = oe(0), V = D(), b = D(); function E(R) { var fe; - const j = t.direction === "vertical", ye = j ? "top" : "left", J = j ? "height" : "width", ne = j ? "clientY" : "clientX", { [ye]: le, [J]: X } = (fe = V.value) == null ? void 0 : fe.$el.getBoundingClientRect(), Q = function(ae, Pe) { + const j = t.direction === "vertical", be = j ? "top" : "left", J = j ? "height" : "width", ne = j ? "clientY" : "clientX", { [be]: le, [J]: X } = (fe = V.value) == null ? void 0 : fe.$el.getBoundingClientRect(), Q = function(ae, Pe) { return "touches" in ae && ae.touches.length ? ae.touches[0][Pe] : "changedTouches" in ae && ae.changedTouches.length ? ae.changedTouches[0][Pe] : ae[Pe]; }(R, ne); let de = Math.min(Math.max((Q - le - m.value) / X, 0), 1) || 0; - return (j ? c.value : c.value !== r.value) && (de = 1 - de), k(d.value + de * (f.value - d.value)); + return (j ? c.value : c.value !== o.value) && (de = 1 - de), k(d.value + de * (f.value - d.value)); } const h = (R) => { a({ value: E(R) }), w.value = !1, m.value = 0; }, S = (R) => { - y.value = i(R), y.value && (y.value.focus(), w.value = !0, y.value.contains(R.target) ? m.value = function(j, ye, J) { - const ne = J === "vertical", le = ye.getBoundingClientRect(), X = "touches" in j ? j.touches[0] : j; + b.value = i(R), b.value && (b.value.focus(), w.value = !0, b.value.contains(R.target) ? m.value = function(j, be, J) { + const ne = J === "vertical", le = be.getBoundingClientRect(), X = "touches" in j ? j.touches[0] : j; return ne ? X.clientY - (le.top + le.height / 2) : X.clientX - (le.left + le.width / 2); - }(R, y.value, t.direction) : (m.value = 0, o({ value: E(R) })), l({ value: E(R) })); + }(R, b.value, t.direction) : (m.value = 0, r({ value: E(R) })), l({ value: E(R) })); }, A = { passive: !0, capture: !0 }; function L(R) { - o({ value: E(R) }); + r({ value: E(R) }); } function M(R) { R.stopPropagation(), R.preventDefault(), h(R), window.removeEventListener("mousemove", L, A), window.removeEventListener("mouseup", M); @@ -1277,48 +1288,48 @@ const Re = { rgb: { ...Xt, inputs: (el = Xt.inputs) == null ? void 0 : el.slice( return He(isNaN(j) ? 0 : j, 0, 100); }, Y = G(t, "showTicks"), te = v(() => Y.value ? t.ticks ? Array.isArray(t.ticks) ? t.ticks.map((R) => ({ value: R, position: F(R), label: R.toString() })) : Object.keys(t.ticks).map((R) => ({ value: parseFloat(R), position: F(parseFloat(R)), label: t.ticks[R] })) : I.value !== 1 / 0 ? function(R) { let j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; - return Array.from({ length: R }, (ye, J) => j + J); + return Array.from({ length: R }, (be, J) => j + J); }(I.value + 1).map((R) => { const j = d.value + R * g.value; return { value: j, position: F(j) }; }) : [] : []), K = v(() => te.value.some((R) => { let { label: j } = R; return !!j; - })), ve = { activeThumbRef: y, color: G(t, "color"), decimals: $, disabled: P, direction: G(t, "direction"), elevation: G(t, "elevation"), hasLabels: K, isReversed: u, indexFromEnd: c, min: d, max: f, mousePressed: w, numTicks: I, onSliderMousedown: function(R) { + })), ve = { activeThumbRef: b, color: G(t, "color"), decimals: $, disabled: P, direction: G(t, "direction"), elevation: G(t, "elevation"), hasLabels: K, isReversed: u, indexFromEnd: c, min: d, max: f, mousePressed: w, numTicks: I, onSliderMousedown: function(R) { R.preventDefault(), S(R), window.addEventListener("mousemove", L, A), window.addEventListener("mouseup", M, { passive: !1 }); }, onSliderTouchstart: function(R) { var j; S(R), window.addEventListener("touchmove", L, A), (j = R.target) == null || j.addEventListener("touchend", U, { passive: !1 }); }, parsedTicks: te, parseMouseMove: E, position: F, readonly: G(t, "readonly"), rounded: G(t, "rounded"), roundValue: k, showTicks: Y, startOffset: m, step: g, thumbSize: x, thumbColor: N, thumbLabel: G(t, "thumbLabel"), ticks: G(t, "ticks"), tickSize: C, trackColor: B, trackContainerRef: V, trackFillColor: z, trackSize: _, vertical: p }; return Ke(hn, ve), ve; -}, br = O({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +}, kr = O({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); function ue(e, t, n) { - return H()({ name: e, props: br({ mode: n, origin: t }), setup(l, o) { - let { slots: a } = o; - const i = { onBeforeEnter(r) { - l.origin && (r.style.transformOrigin = l.origin); - }, onLeave(r) { + return H()({ name: e, props: kr({ mode: n, origin: t }), setup(l, r) { + let { slots: a } = r; + const i = { onBeforeEnter(o) { + l.origin && (o.style.transformOrigin = l.origin); + }, onLeave(o) { if (l.leaveAbsolute) { - const { offsetTop: u, offsetLeft: p, offsetWidth: c, offsetHeight: d } = r; - r._transitionInitialStyles = { position: r.style.position, top: r.style.top, left: r.style.left, width: r.style.width, height: r.style.height }, r.style.position = "absolute", r.style.top = `${u}px`, r.style.left = `${p}px`, r.style.width = `${c}px`, r.style.height = `${d}px`; + const { offsetTop: u, offsetLeft: p, offsetWidth: c, offsetHeight: d } = o; + o._transitionInitialStyles = { position: o.style.position, top: o.style.top, left: o.style.left, width: o.style.width, height: o.style.height }, o.style.position = "absolute", o.style.top = `${u}px`, o.style.left = `${p}px`, o.style.width = `${c}px`, o.style.height = `${d}px`; } - l.hideOnLeave && r.style.setProperty("display", "none", "important"); - }, onAfterLeave(r) { - if (l.leaveAbsolute && (r != null && r._transitionInitialStyles)) { - const { position: u, top: p, left: c, width: d, height: f } = r._transitionInitialStyles; - delete r._transitionInitialStyles, r.style.position = u || "", r.style.top = p || "", r.style.left = c || "", r.style.width = d || "", r.style.height = f || ""; + l.hideOnLeave && o.style.setProperty("display", "none", "important"); + }, onAfterLeave(o) { + if (l.leaveAbsolute && (o != null && o._transitionInitialStyles)) { + const { position: u, top: p, left: c, width: d, height: f } = o._transitionInitialStyles; + delete o._transitionInitialStyles, o.style.position = u || "", o.style.top = p || "", o.style.left = c || "", o.style.width = d || "", o.style.height = f || ""; } } }; return () => { - const r = l.group ? oa : It; - return Vt(r, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : i }, a.default); + const o = l.group ? oa : It; + return Vt(o, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : i }, a.default); }; } }); } function Tl(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; - return H()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, o) { - let { slots: a } = o; + return H()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, r) { + let { slots: a } = r; return () => Vt(It, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : t }, a.default); } }); } @@ -1330,40 +1341,40 @@ function Fl() { }, onEnter(a) { const i = a._initialStyle; a.style.setProperty("transition", "none", "important"), a.style.overflow = "hidden"; - const r = `${a[n]}px`; + const o = `${a[n]}px`; a.style[t] = "0", a.offsetHeight, a.style.transition = i.transition, e && a._parent && a._parent.classList.add(e), requestAnimationFrame(() => { - a.style[t] = r; + a.style[t] = o; }); - }, onAfterEnter: o, onEnterCancelled: o, onLeave(a) { + }, onAfterEnter: r, onEnterCancelled: r, onLeave(a) { a._initialStyle = { transition: "", overflow: a.style.overflow, [t]: a.style[t] }, a.style.overflow = "hidden", a.style[t] = `${a[n]}px`, a.offsetHeight, requestAnimationFrame(() => a.style[t] = "0"); }, onAfterLeave: l, onLeaveCancelled: l }; function l(a) { - e && a._parent && a._parent.classList.remove(e), o(a); + e && a._parent && a._parent.classList.remove(e), r(a); } - function o(a) { + function r(a) { const i = a._initialStyle[t]; a.style.overflow = a._initialStyle.overflow, i != null && (a.style[t] = i), delete a._initialStyle; } } ue("fab-transition", "center center", "out-in"), ue("dialog-bottom-transition"), ue("dialog-top-transition"), ue("fade-transition"); -const kr = ue("scale-transition"); +const Sr = ue("scale-transition"); ue("scroll-x-transition"), ue("scroll-x-reverse-transition"), ue("scroll-y-transition"), ue("scroll-y-reverse-transition"), ue("slide-x-transition"), ue("slide-x-reverse-transition"); const jl = ue("slide-y-transition"); ue("slide-y-reverse-transition"), Tl("expand-transition", Fl()); -const Sr = Tl("expand-x-transition", Fl("", !0)), Cr = O({ focused: Boolean, max: { type: Number, required: !0 }, min: { type: Number, required: !0 }, modelValue: { type: Number, required: !0 }, position: { type: Number, required: !0 }, ripple: { type: [Boolean, Object], default: !0 }, ...q() }, "VSliderThumb"), wr = H()({ name: "VSliderThumb", directives: { Ripple: gn }, props: Cr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Cr = Tl("expand-x-transition", Fl("", !0)), wr = O({ focused: Boolean, max: { type: Number, required: !0 }, min: { type: Number, required: !0 }, modelValue: { type: Number, required: !0 }, position: { type: Number, required: !0 }, ripple: { type: [Boolean, Object], default: !0 }, ...q() }, "VSliderThumb"), _r = H()({ name: "VSliderThumb", directives: { Ripple: gn }, props: wr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n, emit: l } = t; - const o = pe(hn), { isRtl: a, rtlClasses: i } = ze(); - if (!o) + const r = pe(hn), { isRtl: a, rtlClasses: i } = ze(); + if (!r) throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider"); - const { thumbColor: r, step: u, disabled: p, thumbSize: c, thumbLabel: d, direction: f, isReversed: g, vertical: $, readonly: k, elevation: x, mousePressed: C, decimals: _, indexFromEnd: I } = o, { textColorClasses: P, textColorStyles: N } = Fe(r), { pageup: B, pagedown: z, end: w, home: m, left: V, right: y, down: E, up: h } = Sa, S = [B, z, w, m, V, y, E, h], A = v(() => u.value ? [1, 2, 3] : [1, 5, 10]); + const { thumbColor: o, step: u, disabled: p, thumbSize: c, thumbLabel: d, direction: f, isReversed: g, vertical: $, readonly: k, elevation: x, mousePressed: C, decimals: _, indexFromEnd: I } = r, { textColorClasses: P, textColorStyles: N } = Fe(o), { pageup: B, pagedown: z, end: w, home: m, left: V, right: b, down: E, up: h } = Sa, S = [B, z, w, m, V, b, E, h], A = v(() => u.value ? [1, 2, 3] : [1, 5, 10]); function L(M) { const U = function(F, Y) { if (!S.includes(F.key)) return; F.preventDefault(); const te = u.value || 0.1, K = (e.max - e.min) / te; - if ([V, y, E, h].includes(F.key)) { - const ve = ($.value ? [a.value ? V : y, g.value ? E : h] : I.value !== a.value ? [V, h] : [y, h]).includes(F.key) ? 1 : -1, R = F.shiftKey ? 2 : F.ctrlKey ? 1 : 0; + if ([V, b, E, h].includes(F.key)) { + const ve = ($.value ? [a.value ? V : b, g.value ? E : h] : I.value !== a.value ? [V, h] : [b, h]).includes(F.key) ? 1 : -1, R = F.shiftKey ? 2 : F.ctrlKey ? 1 : 0; Y += ve * te * A.value[R]; } else F.key === m ? Y = e.min : F.key === w ? Y = e.max : Y -= (F.key === z ? 1 : -1) * te * (K > 100 ? K / 10 : 10); @@ -1373,22 +1384,22 @@ const Sr = Tl("expand-x-transition", Fl("", !0)), Cr = O({ focused: Boolean, max } return W(() => { const M = T(I.value ? 100 - e.position : e.position, "%"), { elevationClasses: U } = ut(v(() => p.value ? void 0 : x.value)); - return s("div", { class: ["v-slider-thumb", { "v-slider-thumb--focused": e.focused, "v-slider-thumb--pressed": e.focused && C.value }, e.class, i.value], style: [{ "--v-slider-thumb-position": M, "--v-slider-thumb-size": T(c.value) }, e.style], role: "slider", tabindex: p.value ? -1 : 0, "aria-valuemin": e.min, "aria-valuemax": e.max, "aria-valuenow": e.modelValue, "aria-readonly": !!k.value, "aria-orientation": f.value, onKeydown: k.value ? void 0 : L }, [s("div", { class: ["v-slider-thumb__surface", P.value, U.value], style: { ...N.value } }, null), ke(s("div", { class: ["v-slider-thumb__ripple", P.value], style: N.value }, null), [[rt("ripple"), e.ripple, null, { circle: !0, center: !0 }]]), s(kr, { origin: "bottom center" }, { default: () => { + return s("div", { class: ["v-slider-thumb", { "v-slider-thumb--focused": e.focused, "v-slider-thumb--pressed": e.focused && C.value }, e.class, i.value], style: [{ "--v-slider-thumb-position": M, "--v-slider-thumb-size": T(c.value) }, e.style], role: "slider", tabindex: p.value ? -1 : 0, "aria-valuemin": e.min, "aria-valuemax": e.max, "aria-valuenow": e.modelValue, "aria-readonly": !!k.value, "aria-orientation": f.value, onKeydown: k.value ? void 0 : L }, [s("div", { class: ["v-slider-thumb__surface", P.value, U.value], style: { ...N.value } }, null), ke(s("div", { class: ["v-slider-thumb__ripple", P.value], style: N.value }, null), [[rt("ripple"), e.ripple, null, { circle: !0, center: !0 }]]), s(Sr, { origin: "bottom center" }, { default: () => { var F; return [ke(s("div", { class: "v-slider-thumb__label-container" }, [s("div", { class: ["v-slider-thumb__label"] }, [s("div", null, [((F = n["thumb-label"]) == null ? void 0 : F.call(n, { modelValue: e.modelValue })) ?? e.modelValue.toFixed(u.value ? _.value : 1)])])]), [[Bt, d.value && e.focused || d.value === "always"]])]; } })]); }), {}; -} }), _r = O({ start: { type: Number, required: !0 }, stop: { type: Number, required: !0 }, ...q() }, "VSliderTrack"), xr = H()({ name: "VSliderTrack", props: _r(), emits: {}, setup(e, t) { +} }), xr = O({ start: { type: Number, required: !0 }, stop: { type: Number, required: !0 }, ...q() }, "VSliderTrack"), Vr = H()({ name: "VSliderTrack", props: xr(), emits: {}, setup(e, t) { let { slots: n } = t; const l = pe(hn); if (!l) throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider"); - const { color: o, parsedTicks: a, rounded: i, showTicks: r, tickSize: u, trackColor: p, trackFillColor: c, trackSize: d, vertical: f, min: g, max: $, indexFromEnd: k } = l, { roundedClasses: x } = Ae(i), { backgroundColorClasses: C, backgroundColorStyles: _ } = Ye(c), { backgroundColorClasses: I, backgroundColorStyles: P } = Ye(p), N = v(() => `inset-${f.value ? "block" : "inline"}-${k.value ? "end" : "start"}`), B = v(() => f.value ? "height" : "width"), z = v(() => ({ [N.value]: "0%", [B.value]: "100%" })), w = v(() => e.stop - e.start), m = v(() => ({ [N.value]: T(e.start, "%"), [B.value]: T(w.value, "%") })), V = v(() => r.value ? (f.value ? a.value.slice().reverse() : a.value).map((y, E) => { + const { color: r, parsedTicks: a, rounded: i, showTicks: o, tickSize: u, trackColor: p, trackFillColor: c, trackSize: d, vertical: f, min: g, max: $, indexFromEnd: k } = l, { roundedClasses: x } = Ae(i), { backgroundColorClasses: C, backgroundColorStyles: _ } = Ye(c), { backgroundColorClasses: I, backgroundColorStyles: P } = Ye(p), N = v(() => `inset-${f.value ? "block" : "inline"}-${k.value ? "end" : "start"}`), B = v(() => f.value ? "height" : "width"), z = v(() => ({ [N.value]: "0%", [B.value]: "100%" })), w = v(() => e.stop - e.start), m = v(() => ({ [N.value]: T(e.start, "%"), [B.value]: T(w.value, "%") })), V = v(() => o.value ? (f.value ? a.value.slice().reverse() : a.value).map((b, E) => { var S; - const h = y.value !== g.value && y.value !== $.value ? T(y.position, "%") : void 0; - return s("div", { key: y.value, class: ["v-slider-track__tick", { "v-slider-track__tick--filled": y.position >= e.start && y.position <= e.stop, "v-slider-track__tick--first": y.value === g.value, "v-slider-track__tick--last": y.value === $.value }], style: { [N.value]: h } }, [(y.label || n["tick-label"]) && s("div", { class: "v-slider-track__tick-label" }, [((S = n["tick-label"]) == null ? void 0 : S.call(n, { tick: y, index: E })) ?? y.label])]); + const h = b.value !== g.value && b.value !== $.value ? T(b.position, "%") : void 0; + return s("div", { key: b.value, class: ["v-slider-track__tick", { "v-slider-track__tick--filled": b.position >= e.start && b.position <= e.stop, "v-slider-track__tick--first": b.value === g.value, "v-slider-track__tick--last": b.value === $.value }], style: { [N.value]: h } }, [(b.label || n["tick-label"]) && s("div", { class: "v-slider-track__tick-label" }, [((S = n["tick-label"]) == null ? void 0 : S.call(n, { tick: b, index: E })) ?? b.label])]); }) : []); - return W(() => s("div", { class: ["v-slider-track", x.value, e.class], style: [{ "--v-slider-track-size": T(d.value), "--v-slider-tick-size": T(u.value) }, e.style] }, [s("div", { class: ["v-slider-track__background", I.value, { "v-slider-track__background--opacity": !!o.value || !c.value }], style: { ...z.value, ...P.value } }, null), s("div", { class: ["v-slider-track__fill", C.value], style: { ...m.value, ..._.value } }, null), r.value && s("div", { class: ["v-slider-track__ticks", { "v-slider-track__ticks--always-show": r.value === "always" }] }, [V.value])])), {}; + return W(() => s("div", { class: ["v-slider-track", x.value, e.class], style: [{ "--v-slider-track-size": T(d.value), "--v-slider-tick-size": T(u.value) }, e.style] }, [s("div", { class: ["v-slider-track__background", I.value, { "v-slider-track__background--opacity": !!r.value || !c.value }], style: { ...z.value, ...P.value } }, null), s("div", { class: ["v-slider-track__fill", C.value], style: { ...m.value, ..._.value } }, null), o.value && s("div", { class: ["v-slider-track__ticks", { "v-slider-track__ticks--always-show": o.value === "always" }] }, [V.value])])), {}; } }); function Dl(e) { const { t } = function() { @@ -1399,16 +1410,16 @@ function Dl(e) { }(); return { InputIcon: function(n) { let { name: l } = n; - const o = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], i = a && o ? t(`$vuetify.input.${o}`, e.label ?? "") : void 0; + const r = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], i = a && r ? t(`$vuetify.input.${r}`, e.label ?? "") : void 0; return s(Ie, { icon: e[`${l}Icon`], "aria-label": i, onClick: a }, null); } }; } -const Vr = O({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...q(), ...un({ transition: { component: jl, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), Ir = H()({ name: "VMessages", props: Vr(), setup(e, t) { +const Ir = O({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...q(), ...un({ transition: { component: jl, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), Br = H()({ name: "VMessages", props: Ir(), setup(e, t) { let { slots: n } = t; - const l = v(() => tt(e.messages)), { textColorClasses: o, textColorStyles: a } = Fe(v(() => e.color)); - return W(() => s(Ue, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((i, r) => s("div", { class: "v-messages__message", key: `${r}-${l.value}` }, [n.message ? n.message({ message: i }) : i]))] })), {}; -} }), yn = O({ focused: Boolean, "onUpdate:focused": Xe() }, "focus"); -function bn(e) { + const l = v(() => tt(e.messages)), { textColorClasses: r, textColorStyles: a } = Fe(v(() => e.color)); + return W(() => s(Ue, { transition: e.transition, tag: "div", class: ["v-messages", r.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((i, o) => s("div", { class: "v-messages__message", key: `${o}-${l.value}` }, [n.message ? n.message({ message: i }) : i]))] })), {}; +} }), bn = O({ focused: Boolean, "onUpdate:focused": Xe() }, "focus"); +function yn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(); const n = we(e, "focused"); return { focusClasses: v(() => ({ [`${t}--focused`]: n.value })), isFocused: n, focus: function() { @@ -1417,10 +1428,10 @@ function bn(e) { n.value = !1; } }; } -const Br = Symbol.for("vuetify:form"), $r = 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, ...yn() }, "validation"); -function Ar(e) { +const $r = Symbol.for("vuetify:form"), Ar = 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, ...bn() }, "validation"); +function zr(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _e(), n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ot(); - const l = we(e, "modelValue"), o = v(() => e.validationValue === void 0 ? l.value : e.validationValue), a = pe(Br, null), i = D([]), r = oe(!0), u = v(() => !(!tt(l.value === "" ? null : l.value).length && !tt(o.value === "" ? null : o.value).length)), p = v(() => !!(e.disabled ?? (a == null ? void 0 : a.isDisabled.value))), c = v(() => !!(e.readonly ?? (a == null ? void 0 : a.isReadonly.value))), d = v(() => { + const l = we(e, "modelValue"), r = v(() => e.validationValue === void 0 ? l.value : e.validationValue), a = pe($r, null), i = D([]), o = oe(!0), u = v(() => !(!tt(l.value === "" ? null : l.value).length && !tt(r.value === "" ? null : r.value).length)), p = v(() => !!(e.disabled ?? (a == null ? void 0 : a.isDisabled.value))), c = v(() => !!(e.readonly ?? (a == null ? void 0 : a.isReadonly.value))), d = v(() => { var P; return (P = e.errorMessages) != null && P.length ? tt(e.errorMessages).concat(i.value).slice(0, Math.max(0, +e.maxErrors)) : i.value; }), f = v(() => { @@ -1430,13 +1441,13 @@ function Ar(e) { return { blur: N.has("blur") || N.has("input"), input: N.has("input"), submit: N.has("submit"), lazy: N.has("lazy") }; }), g = v(() => { var P; - return !e.error && !((P = e.errorMessages) != null && P.length) && (!e.rules.length || (r.value ? !i.value.length && !f.value.lazy || null : !i.value.length)); - }), $ = oe(!1), k = v(() => ({ [`${t}--error`]: g.value === !1, [`${t}--dirty`]: u.value, [`${t}--disabled`]: p.value, [`${t}--readonly`]: c.value })), x = v(() => e.name ?? b(n)); + return !e.error && !((P = e.errorMessages) != null && P.length) && (!e.rules.length || (o.value ? !i.value.length && !f.value.lazy || null : !i.value.length)); + }), $ = oe(!1), k = v(() => ({ [`${t}--error`]: g.value === !1, [`${t}--dirty`]: u.value, [`${t}--disabled`]: p.value, [`${t}--readonly`]: c.value })), x = v(() => e.name ?? y(n)); function C() { l.value = null, nt(_); } function _() { - r.value = !0, f.value.lazy ? i.value = [] : I(!0); + o.value = !0, f.value.lazy ? i.value = [] : I(!0); } async function I() { let P = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; @@ -1445,10 +1456,10 @@ function Ar(e) { for (const B of e.rules) { if (N.length >= +(e.maxErrors ?? 1)) break; - const z = typeof B == "function" ? B : () => B, w = await z(o.value); + const z = typeof B == "function" ? B : () => B, w = await z(r.value); w !== !0 && (w === !1 || typeof w == "string" ? N.push(w || "") : console.warn(`${w} is not a valid value. Rule functions must return boolean true or a string.`)); } - return i.value = N, $.value = !1, r.value = P, i.value; + return i.value = N, $.value = !1, o.value = P, i.value; } return rl(() => { a == null || a.register({ id: x.value, validate: I, reset: C, resetValidation: _ }); @@ -1457,8 +1468,8 @@ function Ar(e) { }), $t(async () => { f.value.lazy || await I(!0), a == null || a.update(x.value, g.value, d.value); }), Qt(() => f.value.input, () => { - Z(o, () => { - if (o.value != null) + Z(r, () => { + if (r.value != null) I(); else if (e.focused) { const P = Z(() => e.focused, (N) => { @@ -1472,62 +1483,62 @@ function Ar(e) { }); }), Z(g, () => { a == null || a.update(x.value, g.value, d.value); - }), { errorMessages: d, isDirty: u, isDisabled: p, isReadonly: c, isPristine: r, isValid: g, isValidating: $, reset: C, resetValidation: _, validate: I, validationClasses: k }; + }), { errorMessages: d, isDirty: u, isDisabled: p, isReadonly: c, isPristine: o, isValid: g, isValidating: $, reset: C, resetValidation: _, validate: I, validationClasses: k }; } -const kn = O({ id: String, appendIcon: ie, centerAffix: { type: Boolean, default: !0 }, prependIcon: ie, 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": Xe(), "onClick:append": Xe(), ...q(), ...Qe(), ...$r() }, "VInput"), wt = H()({ name: "VInput", props: { ...kn() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l, emit: o } = t; - const { densityClasses: a } = it(e), { rtlClasses: i } = ze(), { InputIcon: r } = Dl(e), u = ot(), p = v(() => e.id || `input-${u}`), c = v(() => `${p.value}-messages`), { errorMessages: d, isDirty: f, isDisabled: g, isReadonly: $, isPristine: k, isValid: x, isValidating: C, reset: _, resetValidation: I, validate: P, validationClasses: N } = Ar(e, "v-input", p), B = v(() => ({ id: p, messagesId: c, isDirty: f, isDisabled: g, isReadonly: $, isPristine: k, isValid: x, isValidating: C, reset: _, resetValidation: I, validate: P })), z = v(() => { +const kn = O({ id: String, appendIcon: ie, centerAffix: { type: Boolean, default: !0 }, prependIcon: ie, 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": Xe(), "onClick:append": Xe(), ...q(), ...Qe(), ...Ar() }, "VInput"), wt = H()({ name: "VInput", props: { ...kn() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l, emit: r } = t; + const { densityClasses: a } = it(e), { rtlClasses: i } = ze(), { InputIcon: o } = Dl(e), u = ot(), p = v(() => e.id || `input-${u}`), c = v(() => `${p.value}-messages`), { errorMessages: d, isDirty: f, isDisabled: g, isReadonly: $, isPristine: k, isValid: x, isValidating: C, reset: _, resetValidation: I, validate: P, validationClasses: N } = zr(e, "v-input", p), B = v(() => ({ id: p, messagesId: c, isDirty: f, isDisabled: g, isReadonly: $, isPristine: k, isValid: x, isValidating: C, reset: _, resetValidation: I, validate: P })), z = v(() => { var w; return (w = e.errorMessages) != null && w.length || !k.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); return W(() => { var E, h, S, A; - const w = !(!l.prepend && !e.prependIcon), m = !(!l.append && !e.appendIcon), V = z.value.length > 0, y = !e.hideDetails || e.hideDetails === "auto" && (V || !!l.details); - return s("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, i.value, N.value, e.class], style: e.style }, [w && s("div", { key: "prepend", class: "v-input__prepend" }, [(E = l.prepend) == null ? void 0 : E.call(l, B.value), e.prependIcon && s(r, { key: "prepend-icon", name: "prepend" }, null)]), l.default && s("div", { class: "v-input__control" }, [(h = l.default) == null ? void 0 : h.call(l, B.value)]), m && s("div", { key: "append", class: "v-input__append" }, [e.appendIcon && s(r, { key: "append-icon", name: "append" }, null), (S = l.append) == null ? void 0 : S.call(l, B.value)]), y && s("div", { class: "v-input__details" }, [s(Ir, { id: c.value, active: V, messages: z.value }, { message: l.message }), (A = l.details) == null ? void 0 : A.call(l, B.value)])]); + const w = !(!l.prepend && !e.prependIcon), m = !(!l.append && !e.appendIcon), V = z.value.length > 0, b = !e.hideDetails || e.hideDetails === "auto" && (V || !!l.details); + return s("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, i.value, N.value, e.class], style: e.style }, [w && s("div", { key: "prepend", class: "v-input__prepend" }, [(E = l.prepend) == null ? void 0 : E.call(l, B.value), e.prependIcon && s(o, { key: "prepend-icon", name: "prepend" }, null)]), l.default && s("div", { class: "v-input__control" }, [(h = l.default) == null ? void 0 : h.call(l, B.value)]), m && s("div", { key: "append", class: "v-input__append" }, [e.appendIcon && s(o, { key: "append-icon", name: "append" }, null), (S = l.append) == null ? void 0 : S.call(l, B.value)]), b && s("div", { class: "v-input__details" }, [s(Br, { id: c.value, active: V, messages: z.value }, { message: l.message }), (A = l.details) == null ? void 0 : A.call(l, B.value)])]); }), { reset: _, resetValidation: I, validate: P, isValid: x, errorMessages: d }; -} }), zr = O({ text: String, clickable: Boolean, ...q(), ...he() }, "VLabel"), Hl = H()({ name: "VLabel", props: zr(), setup(e, t) { +} }), Pr = O({ text: String, clickable: Boolean, ...q(), ...he() }, "VLabel"), Hl = H()({ name: "VLabel", props: Pr(), setup(e, t) { let { slots: n } = t; return W(() => { var l; return s("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), Pr = O({ ...yn(), ...hr(), ...kn(), modelValue: { type: [Number, String], default: 0 } }, "VSlider"), Jn = H()({ name: "VSlider", props: Pr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, start: (e) => !0, end: (e) => !0 }, setup(e, t) { +} }), Nr = O({ ...bn(), ...br(), ...kn(), modelValue: { type: [Number, String], default: 0 } }, "VSlider"), Jn = H()({ name: "VSlider", props: Nr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, start: (e) => !0, end: (e) => !0 }, setup(e, t) { let { slots: n, emit: l } = t; - const o = D(), { rtlClasses: a } = ze(), i = ((B) => { + const r = D(), { rtlClasses: a } = ze(), i = ((B) => { const z = v(() => parseFloat(B.min)), w = v(() => parseFloat(B.max)), m = v(() => +B.step > 0 ? parseFloat(B.step) : 0), V = v(() => Math.max(xn(m.value), xn(z.value))); - return { min: z, max: w, step: m, decimals: V, roundValue: function(y) { - if (y = parseFloat(y), m.value <= 0) - return y; - const E = He(y, z.value, w.value), h = z.value % m.value, S = Math.round((E - h) / m.value) * m.value + h; + return { min: z, max: w, step: m, decimals: V, roundValue: function(b) { + if (b = parseFloat(b), m.value <= 0) + return b; + const E = He(b, z.value, w.value), h = z.value % m.value, S = Math.round((E - h) / m.value) * m.value + h; return parseFloat(Math.min(S, w.value).toFixed(V.value)); } }; - })(e), r = we(e, "modelValue", void 0, (B) => i.roundValue(B ?? i.min.value)), { min: u, max: p, mousePressed: c, roundValue: d, onSliderMousedown: f, onSliderTouchstart: g, trackContainerRef: $, position: k, hasLabels: x, readonly: C } = yr({ props: e, steps: i, onSliderStart: () => { - l("start", r.value); + })(e), o = we(e, "modelValue", void 0, (B) => i.roundValue(B ?? i.min.value)), { min: u, max: p, mousePressed: c, roundValue: d, onSliderMousedown: f, onSliderTouchstart: g, trackContainerRef: $, position: k, hasLabels: x, readonly: C } = yr({ props: e, steps: i, onSliderStart: () => { + l("start", o.value); }, onSliderEnd: (B) => { let { value: z } = B; const w = d(z); - r.value = w, l("end", w); + o.value = w, l("end", w); }, onSliderMove: (B) => { let { value: z } = B; - return r.value = d(z); + return o.value = d(z); }, getActiveThumb: () => { var B; - return (B = o.value) == null ? void 0 : B.$el; - } }), { isFocused: _, focus: I, blur: P } = bn(e), N = v(() => k(r.value)); + return (B = r.value) == null ? void 0 : B.$el; + } }), { isFocused: _, focus: I, blur: P } = yn(e), N = v(() => k(o.value)); return W(() => { const B = wt.filterProps(e), z = !!(e.label || n.label || n.prepend); return s(wt, ee({ class: ["v-slider", { "v-slider--has-labels": !!n["tick-label"] || x.value, "v-slider--focused": _.value, "v-slider--pressed": c.value, "v-slider--disabled": e.disabled }, a.value, e.class], style: e.style }, B, { focused: _.value }), { ...n, prepend: z ? (w) => { var m, V; - return s(be, null, [((m = n.label) == null ? void 0 : m.call(n, w)) ?? (e.label ? s(Hl, { id: w.id.value, class: "v-slider__label", text: e.label }, null) : void 0), (V = n.prepend) == null ? void 0 : V.call(n, w)]); + return s(ye, null, [((m = n.label) == null ? void 0 : m.call(n, w)) ?? (e.label ? s(Hl, { id: w.id.value, class: "v-slider__label", text: e.label }, null) : void 0), (V = n.prepend) == null ? void 0 : V.call(n, w)]); } : void 0, default: (w) => { let { id: m, messagesId: V } = w; - return s("div", { class: "v-slider__container", onMousedown: C.value ? void 0 : f, onTouchstartPassive: C.value ? void 0 : g }, [s("input", { id: m.value, name: e.name || m.value, disabled: !!e.disabled, readonly: !!e.readonly, tabindex: "-1", value: r.value }, null), s(xr, { ref: $, start: 0, stop: N.value }, { "tick-label": n["tick-label"] }), s(wr, { ref: o, "aria-describedby": V.value, focused: _.value, min: u.value, max: p.value, modelValue: r.value, "onUpdate:modelValue": (y) => r.value = y, position: N.value, elevation: e.elevation, onFocus: I, onBlur: P, ripple: e.ripple }, { "thumb-label": n["thumb-label"] })]); + return s("div", { class: "v-slider__container", onMousedown: C.value ? void 0 : f, onTouchstartPassive: C.value ? void 0 : g }, [s("input", { id: m.value, name: e.name || m.value, disabled: !!e.disabled, readonly: !!e.readonly, tabindex: "-1", value: o.value }, null), s(Vr, { ref: $, start: 0, stop: N.value }, { "tick-label": n["tick-label"] }), s(_r, { ref: r, "aria-describedby": V.value, focused: _.value, min: u.value, max: p.value, modelValue: o.value, "onUpdate:modelValue": (b) => o.value = b, position: N.value, elevation: e.elevation, onFocus: I, onBlur: P, ripple: e.ripple }, { "thumb-label": n["thumb-label"] })]); } }); }), {}; -} }), Nr = Ce({ name: "VColorPickerPreview", props: O({ color: { type: Object }, disabled: Boolean, hideAlpha: Boolean, ...q() }, "VColorPickerPreview")(), emits: { "update:color": (e) => !0 }, setup(e, t) { +} }), Er = Ce({ name: "VColorPickerPreview", props: O({ color: { type: Object }, disabled: Boolean, hideAlpha: Boolean, ...q() }, "VColorPickerPreview")(), emits: { "update:color": (e) => !0 }, setup(e, t) { let { emit: n } = t; const l = new AbortController(); - async function o() { + async function r() { if (!Sn) return; const a = new window.EyeDropper(); @@ -1539,69 +1550,69 @@ const kn = O({ id: String, appendIcon: ie, centerAffix: { type: Boolean, default } return ia(() => l.abort()), W(() => { var a, i; - return s("div", { class: ["v-color-picker-preview", { "v-color-picker-preview--hide-alpha": e.hideAlpha }, e.class], style: e.style }, [Sn && s("div", { class: "v-color-picker-preview__eye-dropper", key: "eyeDropper" }, [s(Ml, { onClick: o, icon: "$eyeDropper", variant: "plain", density: "comfortable" }, null)]), s("div", { class: "v-color-picker-preview__dot" }, [s("div", { style: { background: ml(e.color ?? qe) } }, null)]), s("div", { class: "v-color-picker-preview__sliders" }, [s(Jn, { class: "v-color-picker-preview__track v-color-picker-preview__hue", modelValue: (a = e.color) == null ? void 0 : a.h, "onUpdate:modelValue": (r) => n("update:color", { ...e.color ?? qe, h: r }), step: 0, min: 0, max: 360, disabled: e.disabled, thumbSize: 14, trackSize: 8, trackFillColor: "white", hideDetails: !0 }, null), !e.hideAlpha && s(Jn, { class: "v-color-picker-preview__track v-color-picker-preview__alpha", modelValue: ((i = e.color) == null ? void 0 : i.a) ?? 1, "onUpdate:modelValue": (r) => n("update:color", { ...e.color ?? qe, a: r }), step: 1 / 256, min: 0, max: 1, disabled: e.disabled, thumbSize: 14, trackSize: 8, trackFillColor: "white", hideDetails: !0 }, null)])]); + return s("div", { class: ["v-color-picker-preview", { "v-color-picker-preview--hide-alpha": e.hideAlpha }, e.class], style: e.style }, [Sn && s("div", { class: "v-color-picker-preview__eye-dropper", key: "eyeDropper" }, [s(Ml, { onClick: r, icon: "$eyeDropper", variant: "plain", density: "comfortable" }, null)]), s("div", { class: "v-color-picker-preview__dot" }, [s("div", { style: { background: ml(e.color ?? qe) } }, null)]), s("div", { class: "v-color-picker-preview__sliders" }, [s(Jn, { class: "v-color-picker-preview__track v-color-picker-preview__hue", modelValue: (a = e.color) == null ? void 0 : a.h, "onUpdate:modelValue": (o) => n("update:color", { ...e.color ?? qe, h: o }), step: 0, min: 0, max: 360, disabled: e.disabled, thumbSize: 14, trackSize: 8, trackFillColor: "white", hideDetails: !0 }, null), !e.hideAlpha && s(Jn, { class: "v-color-picker-preview__track v-color-picker-preview__alpha", modelValue: ((i = e.color) == null ? void 0 : i.a) ?? 1, "onUpdate:modelValue": (o) => n("update:color", { ...e.color ?? qe, a: o }), step: 1 / 256, min: 0, max: 1, disabled: e.disabled, thumbSize: 14, trackSize: 8, trackFillColor: "white", hideDetails: !0 }, null)])]); }), {}; -} }), Er = { red: { base: "#f44336", lighten5: "#ffebee", lighten4: "#ffcdd2", lighten3: "#ef9a9a", lighten2: "#e57373", lighten1: "#ef5350", darken1: "#e53935", darken2: "#d32f2f", darken3: "#c62828", darken4: "#b71c1c", accent1: "#ff8a80", accent2: "#ff5252", accent3: "#ff1744", accent4: "#d50000" }, pink: { base: "#e91e63", lighten5: "#fce4ec", lighten4: "#f8bbd0", lighten3: "#f48fb1", lighten2: "#f06292", lighten1: "#ec407a", darken1: "#d81b60", darken2: "#c2185b", darken3: "#ad1457", darken4: "#880e4f", accent1: "#ff80ab", accent2: "#ff4081", accent3: "#f50057", accent4: "#c51162" }, purple: { base: "#9c27b0", lighten5: "#f3e5f5", lighten4: "#e1bee7", lighten3: "#ce93d8", lighten2: "#ba68c8", lighten1: "#ab47bc", darken1: "#8e24aa", darken2: "#7b1fa2", darken3: "#6a1b9a", darken4: "#4a148c", accent1: "#ea80fc", accent2: "#e040fb", accent3: "#d500f9", accent4: "#aa00ff" }, deepPurple: { base: "#673ab7", lighten5: "#ede7f6", lighten4: "#d1c4e9", lighten3: "#b39ddb", lighten2: "#9575cd", lighten1: "#7e57c2", darken1: "#5e35b1", darken2: "#512da8", darken3: "#4527a0", darken4: "#311b92", accent1: "#b388ff", accent2: "#7c4dff", accent3: "#651fff", accent4: "#6200ea" }, indigo: { base: "#3f51b5", lighten5: "#e8eaf6", lighten4: "#c5cae9", lighten3: "#9fa8da", lighten2: "#7986cb", lighten1: "#5c6bc0", darken1: "#3949ab", darken2: "#303f9f", darken3: "#283593", darken4: "#1a237e", accent1: "#8c9eff", accent2: "#536dfe", accent3: "#3d5afe", accent4: "#304ffe" }, blue: { base: "#2196f3", lighten5: "#e3f2fd", lighten4: "#bbdefb", lighten3: "#90caf9", lighten2: "#64b5f6", lighten1: "#42a5f5", darken1: "#1e88e5", darken2: "#1976d2", darken3: "#1565c0", darken4: "#0d47a1", accent1: "#82b1ff", accent2: "#448aff", accent3: "#2979ff", accent4: "#2962ff" }, lightBlue: { base: "#03a9f4", lighten5: "#e1f5fe", lighten4: "#b3e5fc", lighten3: "#81d4fa", lighten2: "#4fc3f7", lighten1: "#29b6f6", darken1: "#039be5", darken2: "#0288d1", darken3: "#0277bd", darken4: "#01579b", accent1: "#80d8ff", accent2: "#40c4ff", accent3: "#00b0ff", accent4: "#0091ea" }, cyan: { base: "#00bcd4", lighten5: "#e0f7fa", lighten4: "#b2ebf2", lighten3: "#80deea", lighten2: "#4dd0e1", lighten1: "#26c6da", darken1: "#00acc1", darken2: "#0097a7", darken3: "#00838f", darken4: "#006064", accent1: "#84ffff", accent2: "#18ffff", accent3: "#00e5ff", accent4: "#00b8d4" }, teal: { base: "#009688", lighten5: "#e0f2f1", lighten4: "#b2dfdb", lighten3: "#80cbc4", lighten2: "#4db6ac", lighten1: "#26a69a", darken1: "#00897b", darken2: "#00796b", darken3: "#00695c", darken4: "#004d40", accent1: "#a7ffeb", accent2: "#64ffda", accent3: "#1de9b6", accent4: "#00bfa5" }, green: { base: "#4caf50", lighten5: "#e8f5e9", lighten4: "#c8e6c9", lighten3: "#a5d6a7", lighten2: "#81c784", lighten1: "#66bb6a", darken1: "#43a047", darken2: "#388e3c", darken3: "#2e7d32", darken4: "#1b5e20", accent1: "#b9f6ca", accent2: "#69f0ae", accent3: "#00e676", accent4: "#00c853" }, lightGreen: { base: "#8bc34a", lighten5: "#f1f8e9", lighten4: "#dcedc8", lighten3: "#c5e1a5", lighten2: "#aed581", lighten1: "#9ccc65", darken1: "#7cb342", darken2: "#689f38", darken3: "#558b2f", darken4: "#33691e", accent1: "#ccff90", accent2: "#b2ff59", accent3: "#76ff03", accent4: "#64dd17" }, lime: { base: "#cddc39", lighten5: "#f9fbe7", lighten4: "#f0f4c3", lighten3: "#e6ee9c", lighten2: "#dce775", lighten1: "#d4e157", darken1: "#c0ca33", darken2: "#afb42b", darken3: "#9e9d24", darken4: "#827717", accent1: "#f4ff81", accent2: "#eeff41", accent3: "#c6ff00", accent4: "#aeea00" }, yellow: { base: "#ffeb3b", lighten5: "#fffde7", lighten4: "#fff9c4", lighten3: "#fff59d", lighten2: "#fff176", lighten1: "#ffee58", darken1: "#fdd835", darken2: "#fbc02d", darken3: "#f9a825", darken4: "#f57f17", accent1: "#ffff8d", accent2: "#ffff00", accent3: "#ffea00", accent4: "#ffd600" }, amber: { base: "#ffc107", lighten5: "#fff8e1", lighten4: "#ffecb3", lighten3: "#ffe082", lighten2: "#ffd54f", lighten1: "#ffca28", darken1: "#ffb300", darken2: "#ffa000", darken3: "#ff8f00", darken4: "#ff6f00", accent1: "#ffe57f", accent2: "#ffd740", accent3: "#ffc400", accent4: "#ffab00" }, orange: { base: "#ff9800", lighten5: "#fff3e0", lighten4: "#ffe0b2", lighten3: "#ffcc80", lighten2: "#ffb74d", lighten1: "#ffa726", darken1: "#fb8c00", darken2: "#f57c00", darken3: "#ef6c00", darken4: "#e65100", accent1: "#ffd180", accent2: "#ffab40", accent3: "#ff9100", accent4: "#ff6d00" }, deepOrange: { base: "#ff5722", lighten5: "#fbe9e7", lighten4: "#ffccbc", lighten3: "#ffab91", lighten2: "#ff8a65", lighten1: "#ff7043", darken1: "#f4511e", darken2: "#e64a19", darken3: "#d84315", darken4: "#bf360c", accent1: "#ff9e80", accent2: "#ff6e40", accent3: "#ff3d00", accent4: "#dd2c00" }, brown: { base: "#795548", lighten5: "#efebe9", lighten4: "#d7ccc8", lighten3: "#bcaaa4", lighten2: "#a1887f", lighten1: "#8d6e63", darken1: "#6d4c41", darken2: "#5d4037", darken3: "#4e342e", darken4: "#3e2723" }, blueGrey: { base: "#607d8b", lighten5: "#eceff1", lighten4: "#cfd8dc", lighten3: "#b0bec5", lighten2: "#90a4ae", lighten1: "#78909c", darken1: "#546e7a", darken2: "#455a64", darken3: "#37474f", darken4: "#263238" }, grey: { base: "#9e9e9e", lighten5: "#fafafa", lighten4: "#f5f5f5", lighten3: "#eeeeee", lighten2: "#e0e0e0", lighten1: "#bdbdbd", darken1: "#757575", darken2: "#616161", darken3: "#424242", darken4: "#212121" }, shades: { black: "#000000", white: "#ffffff", transparent: "#ffffff00" } }, Or = O({ swatches: { type: Array, default: () => function(e) { +} }), Or = { red: { base: "#f44336", lighten5: "#ffebee", lighten4: "#ffcdd2", lighten3: "#ef9a9a", lighten2: "#e57373", lighten1: "#ef5350", darken1: "#e53935", darken2: "#d32f2f", darken3: "#c62828", darken4: "#b71c1c", accent1: "#ff8a80", accent2: "#ff5252", accent3: "#ff1744", accent4: "#d50000" }, pink: { base: "#e91e63", lighten5: "#fce4ec", lighten4: "#f8bbd0", lighten3: "#f48fb1", lighten2: "#f06292", lighten1: "#ec407a", darken1: "#d81b60", darken2: "#c2185b", darken3: "#ad1457", darken4: "#880e4f", accent1: "#ff80ab", accent2: "#ff4081", accent3: "#f50057", accent4: "#c51162" }, purple: { base: "#9c27b0", lighten5: "#f3e5f5", lighten4: "#e1bee7", lighten3: "#ce93d8", lighten2: "#ba68c8", lighten1: "#ab47bc", darken1: "#8e24aa", darken2: "#7b1fa2", darken3: "#6a1b9a", darken4: "#4a148c", accent1: "#ea80fc", accent2: "#e040fb", accent3: "#d500f9", accent4: "#aa00ff" }, deepPurple: { base: "#673ab7", lighten5: "#ede7f6", lighten4: "#d1c4e9", lighten3: "#b39ddb", lighten2: "#9575cd", lighten1: "#7e57c2", darken1: "#5e35b1", darken2: "#512da8", darken3: "#4527a0", darken4: "#311b92", accent1: "#b388ff", accent2: "#7c4dff", accent3: "#651fff", accent4: "#6200ea" }, indigo: { base: "#3f51b5", lighten5: "#e8eaf6", lighten4: "#c5cae9", lighten3: "#9fa8da", lighten2: "#7986cb", lighten1: "#5c6bc0", darken1: "#3949ab", darken2: "#303f9f", darken3: "#283593", darken4: "#1a237e", accent1: "#8c9eff", accent2: "#536dfe", accent3: "#3d5afe", accent4: "#304ffe" }, blue: { base: "#2196f3", lighten5: "#e3f2fd", lighten4: "#bbdefb", lighten3: "#90caf9", lighten2: "#64b5f6", lighten1: "#42a5f5", darken1: "#1e88e5", darken2: "#1976d2", darken3: "#1565c0", darken4: "#0d47a1", accent1: "#82b1ff", accent2: "#448aff", accent3: "#2979ff", accent4: "#2962ff" }, lightBlue: { base: "#03a9f4", lighten5: "#e1f5fe", lighten4: "#b3e5fc", lighten3: "#81d4fa", lighten2: "#4fc3f7", lighten1: "#29b6f6", darken1: "#039be5", darken2: "#0288d1", darken3: "#0277bd", darken4: "#01579b", accent1: "#80d8ff", accent2: "#40c4ff", accent3: "#00b0ff", accent4: "#0091ea" }, cyan: { base: "#00bcd4", lighten5: "#e0f7fa", lighten4: "#b2ebf2", lighten3: "#80deea", lighten2: "#4dd0e1", lighten1: "#26c6da", darken1: "#00acc1", darken2: "#0097a7", darken3: "#00838f", darken4: "#006064", accent1: "#84ffff", accent2: "#18ffff", accent3: "#00e5ff", accent4: "#00b8d4" }, teal: { base: "#009688", lighten5: "#e0f2f1", lighten4: "#b2dfdb", lighten3: "#80cbc4", lighten2: "#4db6ac", lighten1: "#26a69a", darken1: "#00897b", darken2: "#00796b", darken3: "#00695c", darken4: "#004d40", accent1: "#a7ffeb", accent2: "#64ffda", accent3: "#1de9b6", accent4: "#00bfa5" }, green: { base: "#4caf50", lighten5: "#e8f5e9", lighten4: "#c8e6c9", lighten3: "#a5d6a7", lighten2: "#81c784", lighten1: "#66bb6a", darken1: "#43a047", darken2: "#388e3c", darken3: "#2e7d32", darken4: "#1b5e20", accent1: "#b9f6ca", accent2: "#69f0ae", accent3: "#00e676", accent4: "#00c853" }, lightGreen: { base: "#8bc34a", lighten5: "#f1f8e9", lighten4: "#dcedc8", lighten3: "#c5e1a5", lighten2: "#aed581", lighten1: "#9ccc65", darken1: "#7cb342", darken2: "#689f38", darken3: "#558b2f", darken4: "#33691e", accent1: "#ccff90", accent2: "#b2ff59", accent3: "#76ff03", accent4: "#64dd17" }, lime: { base: "#cddc39", lighten5: "#f9fbe7", lighten4: "#f0f4c3", lighten3: "#e6ee9c", lighten2: "#dce775", lighten1: "#d4e157", darken1: "#c0ca33", darken2: "#afb42b", darken3: "#9e9d24", darken4: "#827717", accent1: "#f4ff81", accent2: "#eeff41", accent3: "#c6ff00", accent4: "#aeea00" }, yellow: { base: "#ffeb3b", lighten5: "#fffde7", lighten4: "#fff9c4", lighten3: "#fff59d", lighten2: "#fff176", lighten1: "#ffee58", darken1: "#fdd835", darken2: "#fbc02d", darken3: "#f9a825", darken4: "#f57f17", accent1: "#ffff8d", accent2: "#ffff00", accent3: "#ffea00", accent4: "#ffd600" }, amber: { base: "#ffc107", lighten5: "#fff8e1", lighten4: "#ffecb3", lighten3: "#ffe082", lighten2: "#ffd54f", lighten1: "#ffca28", darken1: "#ffb300", darken2: "#ffa000", darken3: "#ff8f00", darken4: "#ff6f00", accent1: "#ffe57f", accent2: "#ffd740", accent3: "#ffc400", accent4: "#ffab00" }, orange: { base: "#ff9800", lighten5: "#fff3e0", lighten4: "#ffe0b2", lighten3: "#ffcc80", lighten2: "#ffb74d", lighten1: "#ffa726", darken1: "#fb8c00", darken2: "#f57c00", darken3: "#ef6c00", darken4: "#e65100", accent1: "#ffd180", accent2: "#ffab40", accent3: "#ff9100", accent4: "#ff6d00" }, deepOrange: { base: "#ff5722", lighten5: "#fbe9e7", lighten4: "#ffccbc", lighten3: "#ffab91", lighten2: "#ff8a65", lighten1: "#ff7043", darken1: "#f4511e", darken2: "#e64a19", darken3: "#d84315", darken4: "#bf360c", accent1: "#ff9e80", accent2: "#ff6e40", accent3: "#ff3d00", accent4: "#dd2c00" }, brown: { base: "#795548", lighten5: "#efebe9", lighten4: "#d7ccc8", lighten3: "#bcaaa4", lighten2: "#a1887f", lighten1: "#8d6e63", darken1: "#6d4c41", darken2: "#5d4037", darken3: "#4e342e", darken4: "#3e2723" }, blueGrey: { base: "#607d8b", lighten5: "#eceff1", lighten4: "#cfd8dc", lighten3: "#b0bec5", lighten2: "#90a4ae", lighten1: "#78909c", darken1: "#546e7a", darken2: "#455a64", darken3: "#37474f", darken4: "#263238" }, grey: { base: "#9e9e9e", lighten5: "#fafafa", lighten4: "#f5f5f5", lighten3: "#eeeeee", lighten2: "#e0e0e0", lighten1: "#bdbdbd", darken1: "#757575", darken2: "#616161", darken3: "#424242", darken4: "#212121" }, shades: { black: "#000000", white: "#ffffff", transparent: "#ffffff00" } }, Lr = O({ swatches: { type: Array, default: () => function(e) { return Object.keys(e).map((t) => { const n = e[t]; return n.base ? [n.base, n.darken4, n.darken3, n.darken2, n.darken1, n.lighten1, n.lighten2, n.lighten3, n.lighten4, n.lighten5] : [n.black, n.white, n.transparent]; }); -}(Er) }, disabled: Boolean, color: Object, maxHeight: [Number, String], ...q() }, "VColorPickerSwatches"), Lr = Ce({ name: "VColorPickerSwatches", props: Or(), emits: { "update:color": (e) => !0 }, setup(e, t) { +}(Or) }, disabled: Boolean, color: Object, maxHeight: [Number, String], ...q() }, "VColorPickerSwatches"), Rr = Ce({ name: "VColorPickerSwatches", props: Lr(), emits: { "update:color": (e) => !0 }, setup(e, t) { let { emit: n } = t; - return W(() => s("div", { class: ["v-color-picker-swatches", e.class], style: [{ maxHeight: T(e.maxHeight) }, e.style] }, [s("div", null, [e.swatches.map((l) => s("div", { class: "v-color-picker-swatches__swatch" }, [l.map((o) => { - const a = Ve(o), i = Pt(a), r = fl(a); - return s("div", { class: "v-color-picker-swatches__color", onClick: () => i && n("update:color", i) }, [s("div", { style: { background: r } }, [e.color && zt(e.color, i) ? s(Ie, { size: "x-small", icon: "$success", color: Oa(o, "#FFFFFF") > 2 ? "white" : "black" }, null) : void 0])]); + return W(() => s("div", { class: ["v-color-picker-swatches", e.class], style: [{ maxHeight: T(e.maxHeight) }, e.style] }, [s("div", null, [e.swatches.map((l) => s("div", { class: "v-color-picker-swatches__swatch" }, [l.map((r) => { + const a = Ve(r), i = Pt(a), o = fl(a); + return s("div", { class: "v-color-picker-swatches__color", onClick: () => i && n("update:color", i) }, [s("div", { style: { background: o } }, [e.color && zt(e.color, i) ? s(Ie, { size: "x-small", icon: "$success", color: Oa(r, "#FFFFFF") > 2 ? "white" : "black" }, null) : void 0])]); })]))])])), {}; } }), Wl = O({ color: String, ...Tt(), ...q(), ...Lt(), ...st(), ...jt(), ...fn(), ...$e(), ...Be(), ...he() }, "VSheet"), Qn = H()({ name: "VSheet", props: Wl(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = xe(e), { backgroundColorClasses: o, backgroundColorStyles: a } = Ye(G(e, "color")), { borderClasses: i } = Ft(e), { dimensionStyles: r } = Rt(e), { elevationClasses: u } = ut(e), { locationStyles: p } = Dt(e), { positionClasses: c } = mn(e), { roundedClasses: d } = Ae(e); - return W(() => s(e.tag, { class: ["v-sheet", l.value, o.value, i.value, u.value, c.value, d.value, e.class], style: [a.value, r.value, p.value, e.style] }, n)), {}; -} }), Rr = Ce({ name: "VColorPicker", props: O({ canvasHeight: { type: [String, Number], default: 150 }, disabled: Boolean, dotSize: { type: [Number, String], default: 10 }, hideCanvas: Boolean, hideSliders: Boolean, hideInputs: Boolean, mode: { type: String, default: "rgba", validator: (e) => Object.keys(Re).includes(e) }, modes: { type: Array, default: () => Object.keys(Re), validator: (e) => Array.isArray(e) && e.every((t) => Object.keys(Re).includes(t)) }, showSwatches: Boolean, swatches: Array, swatchesMaxHeight: { type: [Number, String], default: 150 }, modelValue: { type: [Object, String] }, ...ul(Wl({ width: 300 }), ["height", "location", "minHeight", "maxHeight", "minWidth", "maxWidth"]) }, "VColorPicker")(), emits: { "update:modelValue": (e) => !0, "update:mode": (e) => !0 }, setup(e) { + const { themeClasses: l } = xe(e), { backgroundColorClasses: r, backgroundColorStyles: a } = Ye(G(e, "color")), { borderClasses: i } = Ft(e), { dimensionStyles: o } = Rt(e), { elevationClasses: u } = ut(e), { locationStyles: p } = Dt(e), { positionClasses: c } = mn(e), { roundedClasses: d } = Ae(e); + return W(() => s(e.tag, { class: ["v-sheet", l.value, r.value, i.value, u.value, c.value, d.value, e.class], style: [a.value, o.value, p.value, e.style] }, n)), {}; +} }), Mr = Ce({ name: "VColorPicker", props: O({ canvasHeight: { type: [String, Number], default: 150 }, disabled: Boolean, dotSize: { type: [Number, String], default: 10 }, hideCanvas: Boolean, hideSliders: Boolean, hideInputs: Boolean, mode: { type: String, default: "rgba", validator: (e) => Object.keys(Re).includes(e) }, modes: { type: Array, default: () => Object.keys(Re), validator: (e) => Array.isArray(e) && e.every((t) => Object.keys(Re).includes(t)) }, showSwatches: Boolean, swatches: Array, swatchesMaxHeight: { type: [Number, String], default: 150 }, modelValue: { type: [Object, String] }, ...ul(Wl({ width: 300 }), ["height", "location", "minHeight", "maxHeight", "minWidth", "maxWidth"]) }, "VColorPicker")(), emits: { "update:modelValue": (e) => !0, "update:mode": (e) => !0 }, setup(e) { const t = we(e, "mode"), n = D(null), l = we(e, "modelValue", void 0, (i) => { if (i == null || i === "") return null; - let r; + let o; try { - r = Pt(Ve(i)); + o = Pt(Ve(i)); } catch (u) { return Ge(u), null; } - return n.value && (r = { ...r, h: n.value.h }, n.value = null), r; - }, (i) => i ? function(r, u) { + return n.value && (o = { ...o, h: n.value.h }, n.value = null), o; + }, (i) => i ? function(o, u) { if (u == null || typeof u == "string") { - const p = yl(r); - return r.a === 1 ? p.slice(0, 7) : p; + const p = bl(o); + return o.a === 1 ? p.slice(0, 7) : p; } if (typeof u == "object") { let p; - return Le(u, ["r", "g", "b"]) ? p = Se(r) : Le(u, ["h", "s", "l"]) ? p = vl(r) : Le(u, ["h", "s", "v"]) && (p = r), function(c, d) { + return Le(u, ["r", "g", "b"]) ? p = Se(o) : Le(u, ["h", "s", "l"]) ? p = vl(o) : Le(u, ["h", "s", "v"]) && (p = o), function(c, d) { if (d) { const { a: f, ...g } = c; return g; } return c; - }(p, !Le(u, ["a"]) && r.a === 1); + }(p, !Le(u, ["a"]) && o.a === 1); } - return r; - }(i, e.modelValue) : null), { rtlClasses: o } = ze(), a = (i) => { + return o; + }(i, e.modelValue) : null), { rtlClasses: r } = ze(), a = (i) => { l.value = i, n.value = i; }; return $t(() => { e.modes.includes(t.value) || (t.value = e.modes[0]); }), Nt({ VSlider: { color: void 0, trackColor: void 0, trackFillColor: void 0 } }), W(() => { const i = Qn.filterProps(e); - return s(Qn, ee({ rounded: e.rounded, elevation: e.elevation, theme: e.theme, class: ["v-color-picker", o.value, e.class], style: [{ "--v-color-picker-color-hsv": ml({ ...l.value ?? qe, a: 1 }) }, e.style] }, i, { maxWidth: e.width }), { default: () => [!e.hideCanvas && s(ir, { key: "canvas", color: l.value, "onUpdate:color": a, disabled: e.disabled, dotSize: e.dotSize, width: e.width, height: e.canvasHeight }, null), (!e.hideSliders || !e.hideInputs) && s("div", { key: "controls", class: "v-color-picker__controls" }, [!e.hideSliders && s(Nr, { key: "preview", color: l.value, "onUpdate:color": a, hideAlpha: !t.value.endsWith("a"), disabled: e.disabled }, null), !e.hideInputs && s(gr, { key: "edit", modes: e.modes, mode: t.value, "onUpdate:mode": (r) => t.value = r, color: l.value, "onUpdate:color": a, disabled: e.disabled }, null)]), e.showSwatches && s(Lr, { key: "swatches", color: l.value, "onUpdate:color": a, maxHeight: e.swatchesMaxHeight, swatches: e.swatches, disabled: e.disabled }, null)] }); + return s(Qn, ee({ rounded: e.rounded, elevation: e.elevation, theme: e.theme, class: ["v-color-picker", r.value, e.class], style: [{ "--v-color-picker-color-hsv": ml({ ...l.value ?? qe, a: 1 }) }, e.style] }, i, { maxWidth: e.width }), { default: () => [!e.hideCanvas && s(sr, { key: "canvas", color: l.value, "onUpdate:color": a, disabled: e.disabled, dotSize: e.dotSize, width: e.width, height: e.canvasHeight }, null), (!e.hideSliders || !e.hideInputs) && s("div", { key: "controls", class: "v-color-picker__controls" }, [!e.hideSliders && s(Er, { key: "preview", color: l.value, "onUpdate:color": a, hideAlpha: !t.value.endsWith("a"), disabled: e.disabled }, null), !e.hideInputs && s(hr, { key: "edit", modes: e.modes, mode: t.value, "onUpdate:mode": (o) => t.value = o, color: l.value, "onUpdate:color": a, disabled: e.disabled }, null)]), e.showSwatches && s(Rr, { key: "swatches", color: l.value, "onUpdate:color": a, maxHeight: e.swatchesMaxHeight, swatches: e.swatches, disabled: e.disabled }, null)] }); }), {}; -} }), Mr = O({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...q(), ...un({ transition: { component: jl } }) }, "VCounter"), Tr = H()({ name: "VCounter", functional: !0, props: Mr(), setup(e, t) { +} }), Tr = O({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...q(), ...un({ transition: { component: jl } }) }, "VCounter"), Fr = H()({ name: "VCounter", functional: !0, props: Tr(), setup(e, t) { let { slots: n } = t; const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); return W(() => s(Ue, { transition: e.transition }, { default: () => [ke(s("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Bt, e.active]])] })), {}; -} }), Fr = O({ floating: Boolean, ...q() }, "VFieldLabel"), gt = H()({ name: "VFieldLabel", props: Fr(), setup(e, t) { +} }), jr = O({ floating: Boolean, ...q() }, "VFieldLabel"), gt = H()({ name: "VFieldLabel", props: jr(), setup(e, t) { let { slots: n } = t; return W(() => s(Hl, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; -} }), jr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ul = O({ appendInnerIcon: ie, bgColor: String, clearable: Boolean, clearIcon: { type: ie, 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: ie, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => jr.includes(e) }, "onClick:clear": Xe(), "onClick:appendInner": Xe(), "onClick:prependInner": Xe(), ...q(), ...pn(), ...$e(), ...he() }, "VField"), ql = H()({ name: "VField", inheritAttrs: !1, props: { id: String, ...yn(), ...Ul() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const { themeClasses: a } = xe(e), { loaderClasses: i } = vn(e), { focusClasses: r, isFocused: u, focus: p, blur: c } = bn(e), { InputIcon: d } = Dl(e), { roundedClasses: f } = Ae(e), { rtlClasses: g } = ze(), $ = v(() => e.dirty || e.active), k = v(() => !(e.singleLine || !e.label && !o.label)), x = ot(), C = v(() => e.id || `input-${x}`), _ = v(() => `${C.value}-messages`), I = D(), P = D(), N = D(), B = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: z, backgroundColorStyles: w } = Ye(G(e, "bgColor")), { textColorClasses: m, textColorStyles: V } = Fe(v(() => e.error || e.disabled ? void 0 : $.value && u.value ? e.color : e.baseColor)); +} }), Dr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ul = O({ appendInnerIcon: ie, bgColor: String, clearable: Boolean, clearIcon: { type: ie, 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: ie, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Dr.includes(e) }, "onClick:clear": Xe(), "onClick:appendInner": Xe(), "onClick:prependInner": Xe(), ...q(), ...pn(), ...$e(), ...he() }, "VField"), ql = H()({ name: "VField", inheritAttrs: !1, props: { id: String, ...bn(), ...Ul() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: r } = t; + const { themeClasses: a } = xe(e), { loaderClasses: i } = vn(e), { focusClasses: o, isFocused: u, focus: p, blur: c } = yn(e), { InputIcon: d } = Dl(e), { roundedClasses: f } = Ae(e), { rtlClasses: g } = ze(), $ = v(() => e.dirty || e.active), k = v(() => !(e.singleLine || !e.label && !r.label)), x = ot(), C = v(() => e.id || `input-${x}`), _ = v(() => `${C.value}-messages`), I = D(), P = D(), N = D(), B = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: z, backgroundColorStyles: w } = Ye(G(e, "bgColor")), { textColorClasses: m, textColorStyles: V } = Fe(v(() => e.error || e.disabled ? void 0 : $.value && u.value ? e.color : e.baseColor)); Z($, (h) => { if (k.value) { const S = I.value.$el, A = P.value.$el; @@ -1621,7 +1632,7 @@ const kn = O({ id: String, appendIcon: ie, centerAffix: { type: Boolean, default return new Ut({ x: Gl, y: Yl, width: Kl, height: Zl }); } return new Ut(ne); - }(S), M = A.getBoundingClientRect(), U = M.x - L.x, F = M.y - L.y - (L.height / 2 - M.height / 2), Y = M.width / 0.75, te = Math.abs(Y - L.width) > 1 ? { maxWidth: T(Y) } : void 0, K = getComputedStyle(S), ve = getComputedStyle(A), R = 1e3 * parseFloat(K.transitionDuration) || 150, j = parseFloat(ve.getPropertyValue("--v-field-label-scale")), ye = ve.getPropertyValue("color"); + }(S), M = A.getBoundingClientRect(), U = M.x - L.x, F = M.y - L.y - (L.height / 2 - M.height / 2), Y = M.width / 0.75, te = Math.abs(Y - L.width) > 1 ? { maxWidth: T(Y) } : void 0, K = getComputedStyle(S), ve = getComputedStyle(A), R = 1e3 * parseFloat(K.transitionDuration) || 150, j = parseFloat(ve.getPropertyValue("--v-field-label-scale")), be = ve.getPropertyValue("color"); S.style.visibility = "visible", A.style.visibility = "hidden", function(J, ne, le) { if (J.animate === void 0) return { finished: Promise.resolve() }; @@ -1636,25 +1647,25 @@ const kn = O({ id: String, appendIcon: ie, centerAffix: { type: Boolean, default Q(X); }; })), X; - }(S, { transform: `translate(${U}px, ${F}px) scale(${j})`, color: ye, ...te }, { duration: R, easing: "cubic-bezier(0.4, 0, 0.2, 1)", direction: h ? "normal" : "reverse" }).finished.then(() => { + }(S, { transform: `translate(${U}px, ${F}px) scale(${j})`, color: be, ...te }, { duration: R, easing: "cubic-bezier(0.4, 0, 0.2, 1)", direction: h ? "normal" : "reverse" }).finished.then(() => { S.style.removeProperty("visibility"), A.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); - const y = v(() => ({ isActive: $, isFocused: u, controlRef: N, blur: c, focus: p })); + const b = v(() => ({ isActive: $, isFocused: u, controlRef: N, blur: c, focus: p })); function E(h) { h.target !== document.activeElement && h.preventDefault(); } return W(() => { var U, F, Y; - const h = e.variant === "outlined", S = o["prepend-inner"] || e.prependInnerIcon, A = !(!e.clearable && !o.clear), L = !!(o["append-inner"] || e.appendInnerIcon || A), M = () => o.label ? o.label({ ...y.value, label: e.label, props: { for: C.value } }) : e.label; - return s("div", ee({ class: ["v-field", { "v-field--active": $.value, "v-field--appended": L, "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": S, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !M(), [`v-field--variant-${e.variant}`]: !0 }, a.value, z.value, r.value, i.value, f.value, g.value, e.class], style: [w.value, e.style], onClick: E }, n), [s("div", { class: "v-field__overlay" }, null), s(xl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), S && s("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && s(d, { key: "prepend-icon", name: "prependInner" }, null), (U = o["prepend-inner"]) == null ? void 0 : U.call(o, y.value)]), s("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && k.value && s(gt, { key: "floating-label", ref: P, class: [m.value], floating: !0, for: C.value, style: V.value }, { default: () => [M()] }), s(gt, { ref: I, for: C.value }, { default: () => [M()] }), (F = o.default) == null ? void 0 : F.call(o, { ...y.value, props: { id: C.value, class: "v-field__input", "aria-describedby": _.value }, focus: p, blur: c })]), A && s(Sr, { key: "clear" }, { default: () => [ke(s("div", { class: "v-field__clearable", onMousedown: (te) => { + const h = e.variant === "outlined", S = r["prepend-inner"] || e.prependInnerIcon, A = !(!e.clearable && !r.clear), L = !!(r["append-inner"] || e.appendInnerIcon || A), M = () => r.label ? r.label({ ...b.value, label: e.label, props: { for: C.value } }) : e.label; + return s("div", ee({ class: ["v-field", { "v-field--active": $.value, "v-field--appended": L, "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": S, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !M(), [`v-field--variant-${e.variant}`]: !0 }, a.value, z.value, o.value, i.value, f.value, g.value, e.class], style: [w.value, e.style], onClick: E }, n), [s("div", { class: "v-field__overlay" }, null), s(xl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: r.loader }), S && s("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && s(d, { key: "prepend-icon", name: "prependInner" }, null), (U = r["prepend-inner"]) == null ? void 0 : U.call(r, b.value)]), s("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && k.value && s(gt, { key: "floating-label", ref: P, class: [m.value], floating: !0, for: C.value, style: V.value }, { default: () => [M()] }), s(gt, { ref: I, for: C.value }, { default: () => [M()] }), (F = r.default) == null ? void 0 : F.call(r, { ...b.value, props: { id: C.value, class: "v-field__input", "aria-describedby": _.value }, focus: p, blur: c })]), A && s(Cr, { key: "clear" }, { default: () => [ke(s("div", { class: "v-field__clearable", onMousedown: (te) => { te.preventDefault(), te.stopPropagation(); - } }, [o.clear ? o.clear() : s(d, { name: "clear" }, null)]), [[Bt, e.dirty]])] }), L && s("div", { key: "append", class: "v-field__append-inner" }, [(Y = o["append-inner"]) == null ? void 0 : Y.call(o, y.value), e.appendInnerIcon && s(d, { key: "append-icon", name: "appendInner" }, null)]), s("div", { class: ["v-field__outline", m.value], style: V.value }, [h && s(be, null, [s("div", { class: "v-field__outline__start" }, null), k.value && s("div", { class: "v-field__outline__notch" }, [s(gt, { ref: P, floating: !0, for: C.value }, { default: () => [M()] })]), s("div", { class: "v-field__outline__end" }, null)]), B.value && k.value && s(gt, { ref: P, floating: !0, for: C.value }, { default: () => [M()] })])]); + } }, [r.clear ? r.clear() : s(d, { name: "clear" }, null)]), [[Bt, e.dirty]])] }), L && s("div", { key: "append", class: "v-field__append-inner" }, [(Y = r["append-inner"]) == null ? void 0 : Y.call(r, b.value), e.appendInnerIcon && s(d, { key: "append-icon", name: "appendInner" }, null)]), s("div", { class: ["v-field__outline", m.value], style: V.value }, [h && s(ye, null, [s("div", { class: "v-field__outline__start" }, null), k.value && s("div", { class: "v-field__outline__notch" }, [s(gt, { ref: P, floating: !0, for: C.value }, { default: () => [M()] })]), s("div", { class: "v-field__outline__end" }, null)]), B.value && k.value && s(gt, { ref: P, floating: !0, for: C.value }, { default: () => [M()] })])]); }), { controlRef: N }; } }); -function Dr(e) { +function Hr(e) { return sl(e, Object.keys(ql.props).filter((t) => { return n = t, !cl.test(n) && t !== "class" && t !== "style"; var n; @@ -1670,17 +1681,17 @@ function Kt(e, t) { n = Object.getPrototypeOf(n); } } -const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], Wr = 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, ...kn(), ...Ul() }, "VTextField"), Ur = H()({ name: "VTextField", directives: { Intersect: Sl }, inheritAttrs: !1, props: Wr(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const a = we(e, "modelValue"), { isFocused: i, focus: r, blur: u } = bn(e), p = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), c = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), d = v(() => ["plain", "underlined"].includes(e.variant)); +const Wr = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ur = 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, ...kn(), ...Ul() }, "VTextField"), qr = H()({ name: "VTextField", directives: { Intersect: Sl }, inheritAttrs: !1, props: Ur(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: r } = t; + const a = we(e, "modelValue"), { isFocused: i, focus: o, blur: u } = yn(e), p = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), c = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), d = v(() => ["plain", "underlined"].includes(e.variant)); function f(B, z) { var w, m; e.autofocus && B && ((m = (w = z[0].target) == null ? void 0 : w.focus) == null || m.call(w)); } - const g = D(), $ = D(), k = D(), x = v(() => Hr.includes(e.type) || e.persistentPlaceholder || i.value || e.active); + const g = D(), $ = D(), k = D(), x = v(() => Wr.includes(e.type) || e.persistentPlaceholder || i.value || e.active); function C() { var B; - k.value !== document.activeElement && ((B = k.value) == null || B.focus()), i.value || r(); + k.value !== document.activeElement && ((B = k.value) == null || B.focus()), i.value || o(); } function _(B) { l("mousedown:control", B), B.target !== k.value && (C(), B.preventDefault()); @@ -1694,8 +1705,8 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], for (var w = arguments.length, m = new Array(w > 1 ? w - 1 : 0), V = 1; V < w; V++) m[V - 1] = arguments[V]; if (Array.isArray(z)) - for (const y of z) - y(...m); + for (const b of z) + b(...m); else typeof z == "function" && z(...m); }(e["onClick:clear"], B); @@ -1712,62 +1723,62 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], } } return W(() => { - const B = !!(o.counter || e.counter !== !1 && e.counter != null), z = !(!B && !o.details), [w, m] = function(h) { + const B = !!(r.counter || e.counter !== !1 && e.counter != null), z = !(!B && !r.details), [w, m] = function(h) { const [S, A] = _n(h, [cl]), L = ul(S, Ca), [M, U] = _n(A, ["class", "style", "id", /^data-/]); return Object.assign(M, S), Object.assign(U, L), [M, U]; - }(n), { modelValue: V, ...y } = wt.filterProps(e), E = Dr(e); - return s(wt, ee({ ref: g, modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": d.value }, e.class], style: e.style }, w, y, { centerAffix: !d.value, focused: i.value }), { ...o, default: (h) => { + }(n), { modelValue: V, ...b } = wt.filterProps(e), E = Hr(e); + return s(wt, ee({ ref: g, modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": d.value }, e.class], style: e.style }, w, b, { centerAffix: !d.value, focused: i.value }), { ...r, default: (h) => { let { id: S, isDisabled: A, isDirty: L, isReadonly: M, isValid: U } = h; - return s(ql, ee({ ref: $, onMousedown: _, onClick: I, "onClick:clear": P, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, E, { id: S.value, active: x.value || L.value, dirty: L.value || e.dirty, disabled: A.value, focused: i.value, error: U.value === !1 }), { ...o, default: (F) => { + return s(ql, ee({ ref: $, onMousedown: _, onClick: I, "onClick:clear": P, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, E, { id: S.value, active: x.value || L.value, dirty: L.value || e.dirty, disabled: A.value, focused: i.value, error: U.value === !1 }), { ...r, default: (F) => { let { props: { class: Y, ...te } } = F; const K = ke(s("input", ee({ ref: k, value: a.value, onInput: N, autofocus: e.autofocus, readonly: M.value, disabled: A.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: C, onBlur: u }, te, m), null), [[rt("intersect"), { handler: f }, null, { once: !0 }]]); - return s(be, null, [e.prefix && s("span", { class: "v-text-field__prefix" }, [s("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? s("div", { class: Y, "data-no-activator": "" }, [o.default(), K]) : sa(K, { class: Y }), e.suffix && s("span", { class: "v-text-field__suffix" }, [s("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + return s(ye, null, [e.prefix && s("span", { class: "v-text-field__prefix" }, [s("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), r.default ? s("div", { class: Y, "data-no-activator": "" }, [r.default(), K]) : sa(K, { class: Y }), e.suffix && s("span", { class: "v-text-field__suffix" }, [s("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); }, details: z ? (h) => { var S; - return s(be, null, [(S = o.details) == null ? void 0 : S.call(o, h), B && s(be, null, [s("span", null, null), s(Tr, { active: e.persistentCounter || i.value, value: p.value, max: c.value }, o.counter)])]); + return s(ye, null, [(S = r.details) == null ? void 0 : S.call(r, h), B && s(ye, null, [s("span", null, null), s(Fr, { active: e.persistentCounter || i.value, value: p.value, max: c.value }, r.counter)])]); } : void 0 }); }), function(B) { for (var z = arguments.length, w = new Array(z > 1 ? z - 1 : 0), m = 1; m < z; m++) w[m - 1] = arguments[m]; - return B[Yt] = w, new Proxy(B, { get(V, y) { - if (Reflect.has(V, y)) - return Reflect.get(V, y); - if (typeof y != "symbol" && !y.startsWith("$") && !y.startsWith("__")) { + return B[Yt] = w, new Proxy(B, { get(V, b) { + if (Reflect.has(V, b)) + return Reflect.get(V, b); + if (typeof b != "symbol" && !b.startsWith("$") && !b.startsWith("__")) { for (const E of w) - if (E.value && Reflect.has(E.value, y)) { - const h = Reflect.get(E.value, y); + if (E.value && Reflect.has(E.value, b)) { + const h = Reflect.get(E.value, b); return typeof h == "function" ? h.bind(E.value) : h; } } - }, has(V, y) { - if (Reflect.has(V, y)) + }, has(V, b) { + if (Reflect.has(V, b)) return !0; - if (typeof y == "symbol" || y.startsWith("$") || y.startsWith("__")) + if (typeof b == "symbol" || b.startsWith("$") || b.startsWith("__")) return !1; for (const E of w) - if (E.value && Reflect.has(E.value, y)) + if (E.value && Reflect.has(E.value, b)) return !0; return !1; - }, set(V, y, E) { - if (Reflect.has(V, y)) - return Reflect.set(V, y, E); - if (typeof y == "symbol" || y.startsWith("$") || y.startsWith("__")) + }, set(V, b, E) { + if (Reflect.has(V, b)) + return Reflect.set(V, b, E); + if (typeof b == "symbol" || b.startsWith("$") || b.startsWith("__")) return !1; for (const h of w) - if (h.value && Reflect.has(h.value, y)) - return Reflect.set(h.value, y, E); + if (h.value && Reflect.has(h.value, b)) + return Reflect.set(h.value, b, E); return !1; - }, getOwnPropertyDescriptor(V, y) { + }, getOwnPropertyDescriptor(V, b) { var h; - const E = Reflect.getOwnPropertyDescriptor(V, y); + const E = Reflect.getOwnPropertyDescriptor(V, b); if (E) return E; - if (typeof y != "symbol" && !y.startsWith("$") && !y.startsWith("__")) { + if (typeof b != "symbol" && !b.startsWith("$") && !b.startsWith("__")) { for (const S of w) { if (!S.value) continue; - const A = Kt(S.value, y) ?? ("_" in S.value ? Kt((h = S.value._) == null ? void 0 : h.setupState, y) : void 0); + const A = Kt(S.value, b) ?? ("_" in S.value ? Kt((h = S.value._) == null ? void 0 : h.setupState, b) : void 0); if (A) return A; } @@ -1777,7 +1788,7 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], continue; const L = A.slice(); for (; L.length; ) { - const M = L.shift(), U = Kt(M.value, y); + const M = L.shift(), U = Kt(M.value, b); if (U) return U; const F = M.value && M.value[Yt]; @@ -1787,31 +1798,30 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], } } }); }({}, g, $, k); -} }), qr = { key: 1 }, Xr = { key: 0, class: "text-error ms-1" }, Gr = ((e) => (ha("data-v-070e9f6c"), e = e(), ya(), e))(() => ol("div", { class: "position-elm-helper" }, null, -1)), Yr = xt({ inheritAttrs: !1, __name: "VColorField", props: { appendIcon: { default: void 0 }, appendInnerIcon: { default: void 0 }, cardFieldWidth: { type: Boolean, default: !1 }, cardOffsetX: { default: 0 }, cardOffsetY: { default: 5 }, cardPadding: { default: 4 }, cardProps: { default: () => ({}) }, clearable: { default: !1 }, color: { default: void 0 }, colorPickerProps: { default: () => ({}) }, density: { default: "default" }, hint: { default: "" }, iconHoverColor: { type: Boolean, default: void 0 }, iconSize: { default: "default" }, label: { default: void 0 }, messages: { default: void 0 }, name: { default: "color" }, open: { default: "bottom left" }, persistentHint: { type: Boolean, default: !1 }, persistentPlaceholder: { default: !1 }, placeholder: { default: void 0 }, prependIcon: { default: void 0 }, prependInnerIcon: { type: [String, null, Boolean], default: "default" }, readonly: { default: !1 }, readonlyInput: { type: [Boolean, null], default: !1 }, required: { type: Boolean, default: !1 }, theme: {}, canvasHeight: {}, dotSize: {}, hideCanvas: {}, hideInputs: {}, hideSliders: {}, mode: {}, modes: {}, showSwatches: {}, swatches: {}, swatchesMaxHeight: {}, variant: { default: "filled" }, pip: { type: Boolean, default: !1 }, pipBorder: { default: "3px solid rgb(var(--v-theme-on-surface))" }, pipIcon: { type: [String, null, Boolean], default: "pip" }, pipBorderRadius: { default: "50%" }, pipSize: {}, pipSlot: { default: "prepend-inner" } }, emits: ["update", "update:mode", "update:modelValue"], setup(e, { emit: t }) { +} }), Xr = { key: 1 }, Gr = { key: 0, class: "text-error ms-1" }, Yr = ((e) => (ha("data-v-461a5893"), e = e(), ba(), e))(() => ol("div", { class: "position-elm-helper" }, null, -1)), Kr = xt({ inheritAttrs: !1, __name: "VColorField", props: { appendIcon: { default: void 0 }, appendInnerIcon: { default: void 0 }, cardFieldWidth: { type: Boolean, default: !1 }, cardOffsetX: { default: 0 }, cardOffsetY: { default: 5 }, cardPadding: { default: 4 }, cardProps: { default: () => ({}) }, clearable: { default: !1 }, color: { default: void 0 }, colorPickerProps: { default: () => ({}) }, density: { default: "default" }, hint: { default: "" }, iconHoverColor: { type: Boolean, default: void 0 }, iconSize: { default: "default" }, label: { default: void 0 }, messages: { default: void 0 }, name: { default: "color" }, open: { default: "bottom left" }, persistentHint: { type: Boolean, default: !1 }, persistentPlaceholder: { default: !1 }, placeholder: { default: void 0 }, prependIcon: { default: void 0 }, prependInnerIcon: { type: [String, null, Boolean], default: "default" }, readonly: { default: !1 }, readonlyInput: { type: [Boolean, null], default: !1 }, required: { type: Boolean, default: !1 }, theme: {}, canvasHeight: {}, dotSize: {}, hideCanvas: {}, hideInputs: {}, hideSliders: {}, mode: {}, modes: {}, showSwatches: {}, swatches: {}, swatchesMaxHeight: {}, variant: { default: "filled" }, pip: { type: Boolean, default: !1 }, pipBorder: { default: "3px solid rgb(var(--v-theme-on-surface))" }, pipIcon: { type: [String, null, Boolean], default: "pip" }, pipBorderRadius: { default: "50%" }, pipSize: {}, pipSlot: { default: "prepend-inner" } }, emits: ["update", "update:mode", "update:modelValue"], setup(e, { emit: t }) { var E; - const n = ua(), l = ca(), o = t, a = e, i = pe(Xl, {}); - let r = bt({ ...a, ...i }); + const n = ua(), l = ca(), r = t, a = e, i = pe(Xl, {}), o = yt({ ...a, ...i }); _t(() => { - r = { ...a, ...i }; + Object.assign(o, { ...a, ...i }); }); - const u = D({ VCard: { elevation: 5, hover: !1, loading: !1, verticalOffset: 28, ...r.cardProps }, VColorPicker: { canvasHeight: r.canvasHeight, dotSize: r.dotSize, elevation: 0, hideCanvas: r.hideCanvas, hideInputs: r.hideInputs, hideSliders: r.hideSliders, mode: r.mode, modes: r.modes, showSwatches: r.showSwatches, swatches: r.swatches, swatchesMaxHeight: r.swatchesMaxHeight, ...r.colorPickerProps } }), p = D(null), c = D({}), d = D(!1), f = D(null), g = D(n.modelValue), $ = D(n.modelValue), k = D((E = u.value.VColorPicker) == null ? void 0 : E.mode), x = D(r.theme ?? void 0); - let C = bt({ bottom: 0, height: 150, left: 0, right: 0, top: 0, width: 300 }); - const _ = D({ density: r.density, modelValue: $, pip: r.pip, pipBorder: r.pipBorder, pipBorderRadius: r.pipBorderRadius, pipIcon: r.pipIcon, pipSize: r.iconSize }); + const u = D({ VCard: { elevation: 5, hover: !1, loading: !1, verticalOffset: 28, ...o.cardProps }, VColorPicker: { canvasHeight: o.canvasHeight, dotSize: o.dotSize, elevation: 0, hideCanvas: o.hideCanvas, hideInputs: o.hideInputs, hideSliders: o.hideSliders, mode: o.mode, modes: o.modes, showSwatches: o.showSwatches, swatches: o.swatches, swatchesMaxHeight: o.swatchesMaxHeight, ...o.colorPickerProps } }), p = D(null), c = D({}), d = D(!1), f = D(null), g = D(n.modelValue), $ = D(n.modelValue), k = D((E = u.value.VColorPicker) == null ? void 0 : E.mode), x = D(o.theme ?? void 0); + let C = yt({ bottom: 0, height: 150, left: 0, right: 0, top: 0, width: 300 }); + const _ = D({ density: o.density, modelValue: $, pip: o.pip, pipBorder: o.pipBorder, pipBorderRadius: o.pipBorderRadius, pipIcon: o.pipIcon, pipSize: o.iconSize }); Z(() => n.modelValue, (h) => { m(h); }); const I = v(() => ((h) => { const { name: S = "", readonly: A, readonlyInput: L } = h; return { [`${Oe}--text-field-${S}`]: S !== "", [`${Oe}--text-field-readonly`]: A ?? !1, [`${Oe}--text-field-readonly-input`]: !(!L || A), [`${Oe}--text-field`]: !0 }; - })({ name: r.name, readonly: r.readonly, readonlyInput: r.readonlyInput })), P = v(() => r.readonly || r.readonlyInput), N = v(() => { - if (r.iconHoverColor !== !1) - return typeof r.iconHoverColor == "string" ? r.iconHoverColor : r.color ?? void 0; + })({ name: o.name, readonly: o.readonly, readonlyInput: o.readonlyInput })), P = v(() => o.readonly || o.readonlyInput), N = v(() => { + if (o.iconHoverColor !== !1) + return typeof o.iconHoverColor == "string" ? o.iconHoverColor : o.color ?? void 0; }), B = v(() => ((h) => { const { fullWidth: S } = h; return { [`${Oe}--card`]: !0, [`${Oe}--card-full-width`]: S }; - })({ fullWidth: r.cardFieldWidth })); + })({ fullWidth: o.cardFieldWidth })); function z(h) { - (h !== "textField" || r.readonlyInput || r.readonly) && (h === "textFieldIcon" && (r.readonlyInput || r.readonly) || w()); + (h !== "textField" || o.readonlyInput || o.readonly) && (h === "textFieldIcon" && (o.readonlyInput || o.readonly) || w()); } function w(h) { var R; @@ -1823,14 +1833,14 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], const L = (A == null ? void 0 : A.getBoundingClientRect()) ?? S; let M = (A == null ? void 0 : A.offsetHeight) ?? 0, U = 300, F = (L == null ? void 0 : L.left) ?? 0, Y = (L == null ? void 0 : L.right) ?? 0; const te = (L == null ? void 0 : L.top) ?? 0, K = (R = f == null ? void 0 : f.value) == null ? void 0 : R.querySelector(".v-field__input"), ve = (K == null ? void 0 : K.getBoundingClientRect()) ?? S; - M = K == null ? void 0 : K.offsetHeight, U = (K == null ? void 0 : K.offsetWidth) ?? 0, F = ve.left, Y = ve.right - ve.width, C = { bottom: "initial", height: M, left: F, right: Y, top: window.scrollY + te, width: r.cardFieldWidth ? U : "auto" }, function() { + M = K == null ? void 0 : K.offsetHeight, U = (K == null ? void 0 : K.offsetWidth) ?? 0, F = ve.left, Y = ve.right - ve.width, C = { bottom: "initial", height: M, left: F, right: Y, top: window.scrollY + te, width: o.cardFieldWidth ? U : "auto" }, function() { var de, fe, ae; - let j = Number(C.top) + Number(C.height), ye = "initial", J = Number(r.cardOffsetY) ?? 0; - const ne = Number(r.cardOffsetX) ?? 0; - (r.hint || a.messages) && (J += ((de = u.value.VCard) == null ? void 0 : de.verticalOffset) ?? 0), j += J, (fe = r.open) != null && fe.includes("top") && (ye = window.innerHeight - j + Number(C.height) + 2 * J, j = "initial"); + let j = Number(C.top) + Number(C.height), be = "initial", J = Number(o.cardOffsetY) ?? 0; + const ne = Number(o.cardOffsetX) ?? 0; + (o.hint || a.messages) && (J += ((de = u.value.VCard) == null ? void 0 : de.verticalOffset) ?? 0), j += J, (fe = o.open) != null && fe.includes("top") && (be = window.innerHeight - j + Number(C.height) + 2 * J, j = "initial"); let le = Number(C.left) + ne, X = C.right ?? 0; - r.cardFieldWidth ? (le = C.left, X = "initial") : (X = "initial", (ae = r.open) != null && ae.includes("right") && (le = "initial", X = Number(C.right) + ne)); - const Q = { bottom: Ee({ value: ye }), display: "block", left: Ee({ value: le }), minWidth: Ee({ value: C.width }), padding: Ee({ value: r.cardPadding }), right: Ee({ value: X }), top: Ee({ value: j }), width: Ee({ value: C.width }) }; + o.cardFieldWidth ? (le = C.left, X = "initial") : (X = "initial", (ae = o.open) != null && ae.includes("right") && (le = "initial", X = Number(C.right) + ne)); + const Q = { bottom: Ee({ value: be }), display: "block", left: Ee({ value: le }), minWidth: Ee({ value: C.width }), padding: Ee({ value: o.cardPadding }), right: Ee({ value: X }), top: Ee({ value: j }), width: Ee({ value: C.width }) }; c.value = Q; }(); } @@ -1841,37 +1851,37 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"], k.value === "hex" && (h.length > 7 && (S = h.substr(0, 7)), S.toString().match(/#[a-zA-Z0-9]{7}/) && (S = h.substr(0, 7))), V(S); } function V(h, S = !0) { - S && (g.value = h), $.value = h, o("update:modelValue", h), o("update", h); + S && (g.value = h), $.value = h, r("update:modelValue", h), r("update", h); } - function y(h) { - k.value = h, $.value = g.value, o("update:mode", h); + function b(h) { + k.value = h, $.value = g.value, r("update:mode", h); } - return ba(f, (h) => { + return ya(f, (h) => { var A; - const S = b(p); + const S = y(p); h.target !== S && !((A = S == null ? void 0 : S.$el) != null && A.contains(h.target)) && d.value && w("outside"); - }, { ignore: [p] }), (h, S) => (re(), Wt(be, null, [ol("div", { ref_key: "fieldContainerRef", ref: f, class: "v-color-field" }, [s(Ur, ee({ ref: "textFieldRef" }, h.$attrs, { class: b(I), clearable: b(r).clearable, color: b(r).color, density: b(r).density, hint: b(r).hint, messages: b(r).messages, "model-value": b($), "persistent-hint": b(r).persistentHint, "persistent-placeholder": b(r).persistentPlaceholder, placeholder: b(r).placeholder, readonly: b(P), theme: b(x), variant: b(r).variant, "onClick:clear": S[2] || (S[2] = (A) => w("clear")), "onClick:control": S[3] || (S[3] = (A) => z("textField")), onKeyup: S[4] || (S[4] = da((A) => w("keyup"), ["enter"])), "onUpdate:modelValue": m }), pa({ _: 2 }, [va(b(l), (A, L) => ({ name: L, fn: se((M) => [b(l).prepend || b(l)["prepend-inner"] || b(l)["append-inner"] || b(l).append ? Ne("", !0) : je(h.$slots, L, et(ee({ key: 0 }, { ...M })), void 0, !0)]) })), b(l).prepend ? { name: "prepend", fn: se((A) => [je(h.$slots, "prepend", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "0" } : void 0, (b(r).prependIcon || b(r).pipSlot === "prepend" && b(r).pip) && !b(l).prepend ? { name: "prepend", fn: se(() => [b(r).pip ? (re(), me(mt, ee({ key: 0 }, b(_), { onClick: w }), null, 16)) : b(r).prependIcon ? (re(), me(ft, { key: 1, color: b(N), icon: b(r).prependIcon, iconSize: b(r).iconSize, onClick: w }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "1" } : void 0, b(l)["prepend-inner"] ? { name: "prepend-inner", fn: se((A) => [je(h.$slots, "prepend-inner", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "2" } : void 0, (b(r).prependInnerIcon || b(r).pipSlot === "prepend-inner" && b(r).pip) && !b(l)["prepend-inner"] ? { name: "prepend-inner", fn: se(() => [b(r).pip ? (re(), me(mt, ee({ key: 0 }, b(_), { onClick: w }), null, 16)) : b(r).prependInnerIcon ? (re(), me(ft, { key: 1, color: b(N), icon: b(r).prependInnerIcon, iconSize: b(r).iconSize, onClick: S[0] || (S[0] = (A) => z("textFieldIcon")) }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "3" } : void 0, b(l)["append-inner"] ? { name: "append-inner", fn: se((A) => [je(h.$slots, "append-inner", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "4" } : void 0, (b(r).appendInnerIcon || b(r).pipSlot === "append-inner" && b(r).pip) && !b(l)["append-inner"] ? { name: "append-inner", fn: se(() => [b(r).pip ? (re(), me(mt, ee({ key: 0 }, b(_), { onClick: w }), null, 16)) : b(r).appendInnerIcon ? (re(), me(ft, { key: 1, color: b(N), icon: b(r).appendInnerIcon, iconSize: b(r).iconSize, onClick: S[1] || (S[1] = (A) => z("textFieldIcon")) }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "5" } : void 0, b(l).append ? { name: "append", fn: se((A) => [je(h.$slots, "append", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "6" } : void 0, (b(r).appendIcon || b(r).pipSlot === "append" && b(r).pip) && !b(l).append ? { name: "append", fn: se(() => [b(r).pip ? (re(), me(mt, ee({ key: 0 }, b(_), { onClick: w }), null, 16)) : b(r).appendIcon ? (re(), me(ft, { key: 1, color: b(N), icon: b(r).appendIcon, iconSize: b(r).iconSize, onClick: w }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "7" } : void 0, b(l).label || b(r).label ? { name: "label", fn: se(() => [b(l).label ? je(h.$slots, "label", { key: 0 }, void 0, !0) : b(r).label ? (re(), Wt("div", qr, [fa(ma(b(r).label) + " ", 1), b(r).required ? (re(), Wt("span", Xr, "*")) : Ne("", !0)])) : Ne("", !0)]), key: "8" } : void 0]), 1040, ["class", "clearable", "color", "density", "hint", "messages", "model-value", "persistent-hint", "persistent-placeholder", "placeholder", "readonly", "theme", "variant"])], 512), (re(), me(ga, { to: "body" }, [Gr, s(Te, { defaults: b(u) }, { default: se(() => { + }, { ignore: [p] }), (h, S) => (re(), Wt(ye, null, [ol("div", { ref_key: "fieldContainerRef", ref: f, class: "v-color-field" }, [s(qr, ee({ ref: "textFieldRef" }, h.$attrs, { class: y(I), clearable: y(o).clearable, color: y(o).color, density: y(o).density, hint: y(o).hint, messages: y(o).messages, "model-value": y($), "persistent-hint": y(o).persistentHint, "persistent-placeholder": y(o).persistentPlaceholder, placeholder: y(o).placeholder, readonly: y(P), theme: y(x), variant: y(o).variant, "onClick:clear": S[2] || (S[2] = (A) => w("clear")), "onClick:control": S[3] || (S[3] = (A) => z("textField")), onKeyup: S[4] || (S[4] = da((A) => w("keyup"), ["enter"])), "onUpdate:modelValue": m }), pa({ _: 2 }, [va(y(l), (A, L) => ({ name: L, fn: se((M) => [y(l).prepend || y(l)["prepend-inner"] || y(l)["append-inner"] || y(l).append ? Ne("", !0) : je(h.$slots, L, et(ee({ key: 0 }, { ...M })), void 0, !0)]) })), y(l).prepend ? { name: "prepend", fn: se((A) => [je(h.$slots, "prepend", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "0" } : void 0, (y(o).prependIcon || y(o).pipSlot === "prepend" && y(o).pip) && !y(l).prepend ? { name: "prepend", fn: se(() => [y(o).pip ? (re(), me(mt, ee({ key: 0 }, y(_), { onClick: w }), null, 16)) : y(o).prependIcon ? (re(), me(ft, { key: 1, color: y(N), icon: y(o).prependIcon, iconSize: y(o).iconSize, onClick: w }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "1" } : void 0, y(l)["prepend-inner"] ? { name: "prepend-inner", fn: se((A) => [je(h.$slots, "prepend-inner", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "2" } : void 0, (y(o).prependInnerIcon || y(o).pipSlot === "prepend-inner" && y(o).pip) && !y(l)["prepend-inner"] ? { name: "prepend-inner", fn: se(() => [y(o).pip ? (re(), me(mt, ee({ key: 0 }, y(_), { onClick: w }), null, 16)) : y(o).prependInnerIcon ? (re(), me(ft, { key: 1, color: y(N), icon: y(o).prependInnerIcon, iconSize: y(o).iconSize, onClick: S[0] || (S[0] = (A) => z("textFieldIcon")) }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "3" } : void 0, y(l)["append-inner"] ? { name: "append-inner", fn: se((A) => [je(h.$slots, "append-inner", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "4" } : void 0, (y(o).appendInnerIcon || y(o).pipSlot === "append-inner" && y(o).pip) && !y(l)["append-inner"] ? { name: "append-inner", fn: se(() => [y(o).pip ? (re(), me(mt, ee({ key: 0 }, y(_), { onClick: w }), null, 16)) : y(o).appendInnerIcon ? (re(), me(ft, { key: 1, color: y(N), icon: y(o).appendInnerIcon, iconSize: y(o).iconSize, onClick: S[1] || (S[1] = (A) => z("textFieldIcon")) }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "5" } : void 0, y(l).append ? { name: "append", fn: se((A) => [je(h.$slots, "append", et(ct({ ...A, toggleColorPicker: w })), void 0, !0)]), key: "6" } : void 0, (y(o).appendIcon || y(o).pipSlot === "append" && y(o).pip) && !y(l).append ? { name: "append", fn: se(() => [y(o).pip ? (re(), me(mt, ee({ key: 0 }, y(_), { onClick: w }), null, 16)) : y(o).appendIcon ? (re(), me(ft, { key: 1, color: y(N), icon: y(o).appendIcon, iconSize: y(o).iconSize, onClick: w }, null, 8, ["color", "icon", "iconSize"])) : Ne("", !0)]), key: "7" } : void 0, y(l).label || y(o).label ? { name: "label", fn: se(() => [y(l).label ? je(h.$slots, "label", { key: 0 }, void 0, !0) : y(o).label ? (re(), Wt("div", Xr, [fa(ma(y(o).label) + " ", 1), y(o).required ? (re(), Wt("span", Gr, "*")) : Ne("", !0)])) : Ne("", !0)]), key: "8" } : void 0]), 1040, ["class", "clearable", "color", "density", "hint", "messages", "model-value", "persistent-hint", "persistent-placeholder", "placeholder", "readonly", "theme", "variant"])], 512), (re(), me(ga, { to: "body" }, [Yr, s(Te, { defaults: y(u) }, { default: se(() => { var A; - return [s(or, { ref_key: "cardRef", ref: p, class: ll(b(B)), style: al(b(c)), theme: ((A = b(u).VCard) == null ? void 0 : A.theme) ?? b(x), width: b(C).width }, { default: se(() => { + return [s(ir, { ref_key: "cardRef", ref: p, class: ll(y(B)), style: al(y(c)), theme: ((A = y(u).VCard) == null ? void 0 : A.theme) ?? y(x), width: y(C).width }, { default: se(() => { var L, M; - return [s(Rr, { modelValue: b(g), "onUpdate:modelValue": [S[5] || (S[5] = (U) => Ze(g) ? g.value = U : null), m], class: "v-color-selection", disabled: b(r).readonly || ((L = b(u).VColorPicker) == null ? void 0 : L.disabled), mode: b(k), theme: ((M = b(u).VColorPicker) == null ? void 0 : M.theme) ?? b(x), "onUpdate:mode": y }, null, 8, ["modelValue", "disabled", "mode", "theme"])]; + return [s(Mr, { modelValue: y(g), "onUpdate:modelValue": [S[5] || (S[5] = (U) => Ze(g) ? g.value = U : null), m], class: "v-color-selection", disabled: y(o).readonly || ((L = y(u).VColorPicker) == null ? void 0 : L.disabled), mode: y(k), theme: ((M = y(u).VColorPicker) == null ? void 0 : M.theme) ?? y(x), "onUpdate:mode": b }, null, 8, ["modelValue", "disabled", "mode", "theme"])]; }), _: 1 }, 8, ["class", "style", "theme", "width"])]; }), _: 1 }, 8, ["defaults"])]))], 64)); -} }), Kr = ((e, t) => { +} }), Zr = ((e, t) => { const n = e.__vccOpts || e; - for (const [l, o] of t) - n[l] = o; + for (const [l, r] of t) + n[l] = r; return n; -})(Yr, [["__scopeId", "data-v-070e9f6c"]]), Xl = Symbol(); -function Qr(e = {}) { +})(Kr, [["__scopeId", "data-v-461a5893"]]), Xl = Symbol(); +function eo(e = {}) { return { install: (t) => { - t.provide(Xl, e), t.component("VColorField", Kr); + t.provide(Xl, e), t.component("VColorField", Zr); } }; } export { - Kr as VColorField, - Qr as createVColorField, - Kr as default, + Zr as VColorField, + eo as createVColorField, + Zr as default, Xl as globalOptions }; -(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-070e9f6c],.v-color-field--text-field-readonly-input .v-field *[data-v-070e9f6c]{cursor:pointer!important}.v-color-field--card[data-v-070e9f6c]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-070e9f6c]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-070e9f6c]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-070e9f6c]{max-width:100%!important}.position-elm-helper[data-v-070e9f6c]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})(); +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-461a5893],.v-color-field--text-field-readonly-input .v-field *[data-v-461a5893]{cursor:pointer!important}.v-color-field--card[data-v-461a5893]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-461a5893]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-461a5893]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-461a5893]{max-width:100%!important}.position-elm-helper[data-v-461a5893]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); diff --git a/package.json b/package.json index f37ed1d..f807491 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wdns/vuetify-color-field", - "version": "1.1.1", + "version": "1.1.2", "description": "Vuetify Color Field is a Vuetify VTextField Color Picker Component", "private": false, "publishConfig": { @@ -65,8 +65,8 @@ ], "dependencies": { "@vueuse/core": "^10.7.1", - "vue": "^3.4.5", - "vuetify": "^3.4.7" + "vue": "^3.4.10", + "vuetify": "^3.4.10" }, "devDependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", @@ -78,13 +78,13 @@ "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", - "@types/node": "^20.10.6", - "@typescript-eslint/eslint-plugin": "^6.17.0", - "@typescript-eslint/parser": "^6.17.0", - "@vitejs/plugin-vue": "^5.0.2", + "@stylistic/stylelint-plugin": "^2.0.0", + "@types/node": "^20.11.0", + "@typescript-eslint/eslint-plugin": "^6.18.1", + "@typescript-eslint/parser": "^6.18.1", + "@vitejs/plugin-vue": "^5.0.3", "@vue/cli-plugin-eslint": "^5.0.8", "@vue/cli-service": "^5.0.8", - "@vue/compiler-sfc": "^3.4.5", "@vue/eslint-config-typescript": "^12.0.0", "@vue/test-utils": "^2.4.3", "@wdns/vue-code-block": "^2.3.1", @@ -92,11 +92,11 @@ "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-prettier": "^5.1.2", - "eslint-plugin-vue": "^9.19.2", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-vue": "^9.20.0", "gh-pages": "^6.1.1", "husky": "^8.0.3", - "jsdom": "^23.0.1", + "jsdom": "^23.2.0", "lint-staged": "^15.2.0", "pinia": "^2.1.7", "postcss": "^8.4.33", @@ -105,16 +105,16 @@ "prettier": "^3.1.1", "prismjs": "^1.29.0", "roboto-fontface": "^0.10.0", - "rollup": "^4.9.1", + "rollup": "^4.9.4", "rollup-plugin-polyfill-node": "^0.13.0", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-scss": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "sass": "^1.69.7", - "stylelint": "^15.11.0", - "stylelint-config-standard": "^34.0.0", - "stylelint-order": "^6.0.3", - "stylelint-scss": "^5.3.1", + "stylelint": "^16.1.0", + "stylelint-config-standard": "^36.0.0", + "stylelint-order": "^6.0.4", + "stylelint-scss": "^6.0.0", "typescript": "^5.3.3", "unplugin-auto-import": "^0.17.3", "vite": "^5.0.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0dbaec7..874e673 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,13 +7,13 @@ settings: dependencies: '@vueuse/core': specifier: ^10.7.1 - version: 10.7.1(vue@3.4.5) + version: 10.7.1(vue@3.4.10) vue: - specifier: ^3.4.5 - version: 3.4.5(typescript@5.3.3) + specifier: ^3.4.10 + version: 3.4.10(typescript@5.3.3) vuetify: - specifier: ^3.4.7 - version: 3.4.9(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.5) + specifier: ^3.4.10 + version: 3.4.10(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.10) devDependencies: '@fortawesome/fontawesome-svg-core': @@ -30,46 +30,46 @@ devDependencies: version: 6.5.1 '@fortawesome/vue-fontawesome': specifier: ^3.0.5 - version: 3.0.5(@fortawesome/fontawesome-svg-core@6.5.1)(vue@3.4.5) + version: 3.0.5(@fortawesome/fontawesome-svg-core@6.5.1)(vue@3.4.10) '@mdi/font': specifier: ^7.4.47 version: 7.4.47 '@rollup/plugin-commonjs': specifier: ^25.0.7 - version: 25.0.7(rollup@4.9.3) + version: 25.0.7(rollup@4.9.4) '@rollup/plugin-node-resolve': specifier: ^15.2.3 - version: 15.2.3(rollup@4.9.3) + version: 15.2.3(rollup@4.9.4) '@rollup/plugin-terser': specifier: ^0.4.4 - version: 0.4.4(rollup@4.9.3) + version: 0.4.4(rollup@4.9.4) + '@stylistic/stylelint-plugin': + specifier: ^2.0.0 + version: 2.0.0(stylelint@16.1.0) '@types/node': - specifier: ^20.10.6 - version: 20.10.6 + specifier: ^20.11.0 + version: 20.11.0 '@typescript-eslint/eslint-plugin': - specifier: ^6.17.0 - version: 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.3.3) + specifier: ^6.18.1 + version: 6.18.1(@typescript-eslint/parser@6.18.1)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/parser': - specifier: ^6.17.0 - version: 6.17.0(eslint@8.56.0)(typescript@5.3.3) + specifier: ^6.18.1 + version: 6.18.1(eslint@8.56.0)(typescript@5.3.3) '@vitejs/plugin-vue': - specifier: ^5.0.2 - version: 5.0.2(vite@5.0.11)(vue@3.4.5) + specifier: ^5.0.3 + version: 5.0.3(vite@5.0.11)(vue@3.4.10) '@vue/cli-plugin-eslint': specifier: ^5.0.8 version: 5.0.8(@vue/cli-service@5.0.8)(eslint@8.56.0) '@vue/cli-service': specifier: ^5.0.8 - version: 5.0.8(@babel/core@7.23.7)(@vue/compiler-sfc@3.4.5)(prettier@3.1.1)(vue@3.4.5) - '@vue/compiler-sfc': - specifier: ^3.4.5 - version: 3.4.5 + version: 5.0.8(@babel/core@7.23.7)(prettier@3.1.1)(vue@3.4.10) '@vue/eslint-config-typescript': specifier: ^12.0.0 - version: 12.0.0(eslint-plugin-vue@9.19.2)(eslint@8.56.0)(typescript@5.3.3) + version: 12.0.0(eslint-plugin-vue@9.20.0)(eslint@8.56.0)(typescript@5.3.3) '@vue/test-utils': specifier: ^2.4.3 - version: 2.4.3(vue@3.4.5) + version: 2.4.3(vue@3.4.10) '@wdns/vue-code-block': specifier: ^2.3.1 version: 2.3.1(typescript@5.3.3) @@ -84,13 +84,13 @@ devDependencies: version: 9.1.0(eslint@8.56.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0) + version: 2.29.1(@typescript-eslint/parser@6.18.1)(eslint@8.56.0) eslint-plugin-prettier: - specifier: ^5.1.2 - version: 5.1.2(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1) + specifier: ^5.1.3 + version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1) eslint-plugin-vue: - specifier: ^9.19.2 - version: 9.19.2(eslint@8.56.0) + specifier: ^9.20.0 + version: 9.20.0(eslint@8.56.0) gh-pages: specifier: ^6.1.1 version: 6.1.1 @@ -98,14 +98,14 @@ devDependencies: specifier: ^8.0.3 version: 8.0.3 jsdom: - specifier: ^23.0.1 - version: 23.1.0 + specifier: ^23.2.0 + version: 23.2.0 lint-staged: specifier: ^15.2.0 version: 15.2.0 pinia: specifier: ^2.1.7 - version: 2.1.7(typescript@5.3.3)(vue@3.4.5) + version: 2.1.7(typescript@5.3.3)(vue@3.4.10) postcss: specifier: ^8.4.33 version: 8.4.33 @@ -125,11 +125,11 @@ devDependencies: specifier: ^0.10.0 version: 0.10.0 rollup: - specifier: ^4.9.1 - version: 4.9.3 + specifier: ^4.9.4 + version: 4.9.4 rollup-plugin-polyfill-node: specifier: ^0.13.0 - version: 0.13.0(rollup@4.9.3) + version: 0.13.0(rollup@4.9.4) rollup-plugin-postcss: specifier: ^4.0.2 version: 4.0.2(postcss@8.4.33) @@ -138,37 +138,37 @@ devDependencies: version: 4.0.0 rollup-plugin-typescript2: specifier: ^0.36.0 - version: 0.36.0(rollup@4.9.3)(typescript@5.3.3) + version: 0.36.0(rollup@4.9.4)(typescript@5.3.3) sass: specifier: ^1.69.7 version: 1.69.7 stylelint: - specifier: ^15.11.0 - version: 15.11.0(typescript@5.3.3) + specifier: ^16.1.0 + version: 16.1.0(typescript@5.3.3) stylelint-config-standard: - specifier: ^34.0.0 - version: 34.0.0(stylelint@15.11.0) + specifier: ^36.0.0 + version: 36.0.0(stylelint@16.1.0) stylelint-order: - specifier: ^6.0.3 - version: 6.0.3(stylelint@15.11.0) + specifier: ^6.0.4 + version: 6.0.4(stylelint@16.1.0) stylelint-scss: - specifier: ^5.3.1 - version: 5.3.1(stylelint@15.11.0) + specifier: ^6.0.0 + version: 6.0.0(stylelint@16.1.0) typescript: specifier: ^5.3.3 version: 5.3.3 unplugin-auto-import: specifier: ^0.17.3 - version: 0.17.3(@vueuse/core@10.7.1)(rollup@4.9.3) + version: 0.17.3(@vueuse/core@10.7.1)(rollup@4.9.4) vite: specifier: ^5.0.10 - version: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + version: 5.0.11(@types/node@20.11.0)(sass@1.69.7) vite-plugin-css-injected-by-js: specifier: ^3.3.1 version: 3.3.1(vite@5.0.11) vite-plugin-dts: specifier: ^3.7.0 - version: 3.7.0(@types/node@20.10.6)(rollup@4.9.3)(typescript@5.3.3)(vite@5.0.11) + version: 3.7.0(@types/node@20.11.0)(rollup@4.9.4)(typescript@5.3.3)(vite@5.0.11) vite-plugin-eslint: specifier: ^1.8.1 version: 1.8.1(eslint@8.56.0)(vite@5.0.11) @@ -177,13 +177,13 @@ devDependencies: version: 1.0.0(vite@5.0.11) vite-plugin-stylelint: specifier: ^5.3.0 - version: 5.3.1(postcss@8.4.33)(rollup@4.9.3)(stylelint@15.11.0)(vite@5.0.11) + version: 5.3.1(postcss@8.4.33)(rollup@4.9.4)(stylelint@16.1.0)(vite@5.0.11) vite-plugin-vuetify: specifier: ^2.0.1 - version: 2.0.1(vite@5.0.11)(vue@3.4.5)(vuetify@3.4.9) + version: 2.0.1(vite@5.0.11)(vue@3.4.10)(vuetify@3.4.10) vitest: specifier: ^1.1.2 - version: 1.1.3(@types/node@20.10.6)(jsdom@23.1.0)(sass@1.69.7) + version: 1.1.3(@types/node@20.11.0)(jsdom@23.2.0)(sass@1.69.7) vue-tsc: specifier: ^1.8.25 version: 1.8.27(typescript@5.3.3) @@ -219,6 +219,14 @@ packages: resolution: {integrity: sha512-gFPqTG7otEJ8uP6wrhDv6mqwGWYZKNvAcCq6u9hOj0c+IKCEsY4L1oC9trPq2SaWIzAfHvqfBDxF591JkMf+kg==} dev: true + /@asamuzakjp/dom-selector@2.0.1: + resolution: {integrity: sha512-QJAJffmCiymkv6YyQ7voyQb5caCth6jzZsQncYCpHXrJ7RqdYG5y43+is8mnFcYubdOkr7cn1+na9BdFMxqw7w==} + dependencies: + bidi-js: 1.0.3 + css-tree: 2.3.1 + is-potential-custom-element-name: 1.0.1 + dev: true + /@babel/code-frame@7.22.5: resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} engines: {node: '>=6.9.0'} @@ -253,7 +261,7 @@ packages: '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) - '@babel/helpers': 7.23.7 + '@babel/helpers': 7.23.8 '@babel/parser': 7.23.6 '@babel/template': 7.22.15 '@babel/traverse': 7.23.7 @@ -375,8 +383,8 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helpers@7.23.7: - resolution: {integrity: sha512-6AMnjCoC8wjqBzDHkuqpa7jAKwvMo4dC+lr/TFBz+ucfulO1XMpDnwWPGBNwClOKZ8h6xn5N81W/R5OrcKtCbQ==} + /@babel/helpers@7.23.8: + resolution: {integrity: sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.15 @@ -409,7 +417,7 @@ packages: engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.23.5 + '@babel/types': 7.23.6 /@babel/template@7.22.15: resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} @@ -438,14 +446,6 @@ packages: - supports-color dev: true - /@babel/types@7.23.5: - resolution: {integrity: sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - /@babel/types@7.23.6: resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} engines: {node: '>=6.9.0'} @@ -453,40 +453,39 @@ packages: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - dev: true - /@csstools/css-parser-algorithms@2.3.2(@csstools/css-tokenizer@2.2.1): - resolution: {integrity: sha512-sLYGdAdEY2x7TSw9FtmdaTrh2wFtRJO5VMbBrA8tEqEod7GEggFmxTSK9XqExib3yMuYNcvcTdCZIP6ukdjAIA==} + /@csstools/css-parser-algorithms@2.5.0(@csstools/css-tokenizer@2.2.3): + resolution: {integrity: sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==} engines: {node: ^14 || ^16 || >=18} peerDependencies: - '@csstools/css-tokenizer': ^2.2.1 + '@csstools/css-tokenizer': ^2.2.3 dependencies: - '@csstools/css-tokenizer': 2.2.1 + '@csstools/css-tokenizer': 2.2.3 dev: true - /@csstools/css-tokenizer@2.2.1: - resolution: {integrity: sha512-Zmsf2f/CaEPWEVgw29odOj+WEVoiJy9s9NOv5GgNY9mZ1CZ7394By6wONrONrTsnNDv6F9hR02nvFihrGVGHBg==} + /@csstools/css-tokenizer@2.2.3: + resolution: {integrity: sha512-pp//EvZ9dUmGuGtG1p+n17gTHEOqu9jO+FiCUjNN3BDmyhdA2Jq9QsVeR7K8/2QCK17HSsioPlTW9ZkzoWb3Lg==} engines: {node: ^14 || ^16 || >=18} dev: true - /@csstools/media-query-list-parser@2.1.5(@csstools/css-parser-algorithms@2.3.2)(@csstools/css-tokenizer@2.2.1): - resolution: {integrity: sha512-IxVBdYzR8pYe89JiyXQuYk4aVVoCPhMJkz6ElRwlVysjwURTsTk/bmY/z4FfeRE+CRBMlykPwXEVUg8lThv7AQ==} + /@csstools/media-query-list-parser@2.1.7(@csstools/css-parser-algorithms@2.5.0)(@csstools/css-tokenizer@2.2.3): + resolution: {integrity: sha512-lHPKJDkPUECsyAvD60joYfDmp8UERYxHGkFfyLJFTVK/ERJe0sVlIFLXU5XFxdjNDTerp5L4KeaKG+Z5S94qxQ==} engines: {node: ^14 || ^16 || >=18} peerDependencies: - '@csstools/css-parser-algorithms': ^2.3.2 - '@csstools/css-tokenizer': ^2.2.1 + '@csstools/css-parser-algorithms': ^2.5.0 + '@csstools/css-tokenizer': ^2.2.3 dependencies: - '@csstools/css-parser-algorithms': 2.3.2(@csstools/css-tokenizer@2.2.1) - '@csstools/css-tokenizer': 2.2.1 + '@csstools/css-parser-algorithms': 2.5.0(@csstools/css-tokenizer@2.2.3) + '@csstools/css-tokenizer': 2.2.3 dev: true - /@csstools/selector-specificity@3.0.0(postcss-selector-parser@6.0.13): - resolution: {integrity: sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==} + /@csstools/selector-specificity@3.0.1(postcss-selector-parser@6.0.15): + resolution: {integrity: sha512-NPljRHkq4a14YzZ3YD406uaxh7s0g6eAq3L9aLOWywoqe8PkYamAvtsh7KNX6c++ihDrJ0RiU+/z7rGnhlZ5ww==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss-selector-parser: ^6.0.13 dependencies: - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.0.15 dev: true /@discoveryjs/json-ext@0.5.7: @@ -753,14 +752,14 @@ packages: '@fortawesome/fontawesome-common-types': 6.5.1 dev: true - /@fortawesome/vue-fontawesome@3.0.5(@fortawesome/fontawesome-svg-core@6.5.1)(vue@3.4.5): + /@fortawesome/vue-fontawesome@3.0.5(@fortawesome/fontawesome-svg-core@6.5.1)(vue@3.4.10): resolution: {integrity: sha512-isZZ4+utQH9qg9cWxWYHQ9GwI3r5FeO7GnmzKYV+gbjxcptQhh+F99iZXi1Y9AvFUEgy8kRpAdvDlbb3drWFrw==} peerDependencies: '@fortawesome/fontawesome-svg-core': ~1 || ~6 vue: '>= 3.0.0 < 4' dependencies: '@fortawesome/fontawesome-svg-core': 6.5.1 - vue: 3.4.5(typescript@5.3.3) + vue: 3.4.10(typescript@5.3.3) dev: true /@hapi/hoek@9.3.0: @@ -879,24 +878,24 @@ packages: resolution: {integrity: sha512-43MtGpd585SNzHZPcYowu/84Vz2a2g31TvPMTm9uTiCSWzaheQySUcSyUH/46fPnuPQWof2yd0pGBtzee/IQWw==} dev: true - /@microsoft/api-extractor-model@7.28.3(@types/node@20.10.6): + /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.0): resolution: {integrity: sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.10.6) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.0) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/api-extractor@7.39.0(@types/node@20.10.6): + /@microsoft/api-extractor@7.39.0(@types/node@20.11.0): resolution: {integrity: sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.3(@types/node@20.10.6) + '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.0) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.10.6) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.0) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.17.1 colors: 1.2.5 @@ -970,7 +969,7 @@ packages: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true - /@rollup/plugin-commonjs@25.0.7(rollup@4.9.3): + /@rollup/plugin-commonjs@25.0.7(rollup@4.9.4): resolution: {integrity: sha512-nEvcR+LRjEjsaSsc4x3XZfCCvZIaSMenZu/OiwOKGN2UhQpAYI7ru7czFvyWbErlpoGjnSX3D5Ch5FcMA3kRWQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -979,16 +978,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.5(rollup@4.9.3) + '@rollup/pluginutils': 5.0.5(rollup@4.9.4) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 magic-string: 0.30.5 - rollup: 4.9.3 + rollup: 4.9.4 dev: true - /@rollup/plugin-inject@5.0.5(rollup@4.9.3): + /@rollup/plugin-inject@5.0.5(rollup@4.9.4): resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -997,13 +996,13 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.9.3) + '@rollup/pluginutils': 5.1.0(rollup@4.9.4) estree-walker: 2.0.2 magic-string: 0.30.5 - rollup: 4.9.3 + rollup: 4.9.4 dev: true - /@rollup/plugin-node-resolve@15.2.3(rollup@4.9.3): + /@rollup/plugin-node-resolve@15.2.3(rollup@4.9.4): resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1012,16 +1011,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.5(rollup@4.9.3) + '@rollup/pluginutils': 5.0.5(rollup@4.9.4) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.8 - rollup: 4.9.3 + rollup: 4.9.4 dev: true - /@rollup/plugin-terser@0.4.4(rollup@4.9.3): + /@rollup/plugin-terser@0.4.4(rollup@4.9.4): resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1030,7 +1029,7 @@ packages: rollup: optional: true dependencies: - rollup: 4.9.3 + rollup: 4.9.4 serialize-javascript: 6.0.1 smob: 1.4.1 terser: 5.21.0 @@ -1044,7 +1043,7 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/pluginutils@5.0.5(rollup@4.9.3): + /@rollup/pluginutils@5.0.5(rollup@4.9.4): resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1056,10 +1055,10 @@ packages: '@types/estree': 1.0.2 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 4.9.3 + rollup: 4.9.4 dev: true - /@rollup/pluginutils@5.1.0(rollup@4.9.3): + /@rollup/pluginutils@5.1.0(rollup@4.9.4): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1071,101 +1070,101 @@ packages: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 4.9.3 + rollup: 4.9.4 dev: true - /@rollup/rollup-android-arm-eabi@4.9.3: - resolution: {integrity: sha512-nvh9bB41vXEoKKvlWCGptpGt8EhrEwPQFDCY0VAto+R+qpSbaErPS3OjMZuXR8i/2UVw952Dtlnl2JFxH31Qvg==} + /@rollup/rollup-android-arm-eabi@4.9.4: + resolution: {integrity: sha512-ub/SN3yWqIv5CWiAZPHVS1DloyZsJbtXmX4HxUTIpS0BHm9pW5iYBo2mIZi+hE3AeiTzHz33blwSnhdUo+9NpA==} cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.9.3: - resolution: {integrity: sha512-kffYCJ2RhDL1DlshLzYPyJtVeusHlA8Q1j6k6s4AEVKLq/3HfGa2ADDycLsmPo3OW83r4XtOPqRMbcFzFsEIzQ==} + /@rollup/rollup-android-arm64@4.9.4: + resolution: {integrity: sha512-ehcBrOR5XTl0W0t2WxfTyHCR/3Cq2jfb+I4W+Ch8Y9b5G+vbAecVv0Fx/J1QKktOrgUYsIKxWAKgIpvw56IFNA==} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.9.3: - resolution: {integrity: sha512-Fo7DR6Q9/+ztTyMBZ79+WJtb8RWZonyCgkBCjV51rW5K/dizBzImTW6HLC0pzmHaAevwM0jW1GtB5LCFE81mSw==} + /@rollup/rollup-darwin-arm64@4.9.4: + resolution: {integrity: sha512-1fzh1lWExwSTWy8vJPnNbNM02WZDS8AW3McEOb7wW+nPChLKf3WG2aG7fhaUmfX5FKw9zhsF5+MBwArGyNM7NA==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.9.3: - resolution: {integrity: sha512-5HcxDF9fqHucIlTiw/gmMb3Qv23L8bLCg904I74Q2lpl4j/20z9ogaD3tWkeguRuz+/17cuS321PT3PAuyjQdg==} + /@rollup/rollup-darwin-x64@4.9.4: + resolution: {integrity: sha512-Gc6cukkF38RcYQ6uPdiXi70JB0f29CwcQ7+r4QpfNpQFVHXRd0DfWFidoGxjSx1DwOETM97JPz1RXL5ISSB0pA==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.9.3: - resolution: {integrity: sha512-cO6hKV+99D1V7uNJQn1chWaF9EGp7qV2N8sGH99q9Y62bsbN6Il55EwJppEWT+JiqDRg396vWCgwdHwje8itBQ==} + /@rollup/rollup-linux-arm-gnueabihf@4.9.4: + resolution: {integrity: sha512-g21RTeFzoTl8GxosHbnQZ0/JkuFIB13C3T7Y0HtKzOXmoHhewLbVTFBQZu+z5m9STH6FZ7L/oPgU4Nm5ErN2fw==} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.9.3: - resolution: {integrity: sha512-xANyq6lVg6KMO8UUs0LjA4q7di3tPpDbzLPgVEU2/F1ngIZ54eli8Zdt3uUUTMXVbgTCafIO+JPeGMhu097i3w==} + /@rollup/rollup-linux-arm64-gnu@4.9.4: + resolution: {integrity: sha512-TVYVWD/SYwWzGGnbfTkrNpdE4HON46orgMNHCivlXmlsSGQOx/OHHYiQcMIOx38/GWgwr/po2LBn7wypkWw/Mg==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.9.3: - resolution: {integrity: sha512-TZJUfRTugVFATQToCMD8DNV6jv/KpSwhE1lLq5kXiQbBX3Pqw6dRKtzNkh5wcp0n09reBBq/7CGDERRw9KmE+g==} + /@rollup/rollup-linux-arm64-musl@4.9.4: + resolution: {integrity: sha512-XcKvuendwizYYhFxpvQ3xVpzje2HHImzg33wL9zvxtj77HvPStbSGI9czrdbfrf8DGMcNNReH9pVZv8qejAQ5A==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.9.3: - resolution: {integrity: sha512-4/QVaRyaB5tkEAGfjVvWrmWdPF6F2NoaoO5uEP7N0AyeBw7l8SeCWWKAGrbx/00PUdHrJVURJiYikazslSKttQ==} + /@rollup/rollup-linux-riscv64-gnu@4.9.4: + resolution: {integrity: sha512-LFHS/8Q+I9YA0yVETyjonMJ3UA+DczeBd/MqNEzsGSTdNvSJa1OJZcSH8GiXLvcizgp9AlHs2walqRcqzjOi3A==} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.9.3: - resolution: {integrity: sha512-koLC6D3pj1YLZSkTy/jsk3HOadp7q2h6VQl/lPX854twOmmLNekHB6yuS+MkWcKdGGdW1JPuPBv/ZYhr5Yhtdg==} + /@rollup/rollup-linux-x64-gnu@4.9.4: + resolution: {integrity: sha512-dIYgo+j1+yfy81i0YVU5KnQrIJZE8ERomx17ReU4GREjGtDW4X+nvkBak2xAUpyqLs4eleDSj3RrV72fQos7zw==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.9.3: - resolution: {integrity: sha512-0OAkQ4HBp+JO2ip2Lgt/ShlrveOMzyhwt2D0KvqH28jFPqfZco28KSq76zymZwmU+F6GRojdxtQMJiNSXKNzeA==} + /@rollup/rollup-linux-x64-musl@4.9.4: + resolution: {integrity: sha512-RoaYxjdHQ5TPjaPrLsfKqR3pakMr3JGqZ+jZM0zP2IkDtsGa4CqYaWSfQmZVgFUCgLrTnzX+cnHS3nfl+kB6ZQ==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.9.3: - resolution: {integrity: sha512-z5uvoMvdRWggigOnsb9OOCLERHV0ykRZoRB5O+URPZC9zM3pkoMg5fN4NKu2oHqgkzZtfx9u4njqqlYEzM1v9A==} + /@rollup/rollup-win32-arm64-msvc@4.9.4: + resolution: {integrity: sha512-T8Q3XHV+Jjf5e49B4EAaLKV74BbX7/qYBRQ8Wop/+TyyU0k+vSjiLVSHNWdVd1goMjZcbhDmYZUYW5RFqkBNHQ==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.9.3: - resolution: {integrity: sha512-wxomCHjBVKws+O4N1WLnniKCXu7vkLtdq9Fl9CN/EbwEldojvUrkoHE/fBLZzC7IT/x12Ut6d6cRs4dFvqJkMg==} + /@rollup/rollup-win32-ia32-msvc@4.9.4: + resolution: {integrity: sha512-z+JQ7JirDUHAsMecVydnBPWLwJjbppU+7LZjffGf+Jvrxq+dVjIE7By163Sc9DKc3ADSU50qPVw0KonBS+a+HQ==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.9.3: - resolution: {integrity: sha512-1Qf/qk/iEtx0aOi+AQQt5PBoW0mFngsm7bPuxHClC/hWh2hHBktR6ktSfUg5b5rC9v8hTwNmHE7lBWXkgqluUQ==} + /@rollup/rollup-win32-x64-msvc@4.9.4: + resolution: {integrity: sha512-LfdGXCV9rdEify1oxlN9eamvDSjv9md9ZVMAbNHA87xqIfFCxImxan9qZ8+Un54iK2nnqPlbnSi4R54ONtbWBw==} cpu: [x64] os: [win32] requiresBuild: true optional: true - /@rushstack/node-core-library@3.62.0(@types/node@20.10.6): + /@rushstack/node-core-library@3.62.0(@types/node@20.11.0): resolution: {integrity: sha512-88aJn2h8UpSvdwuDXBv1/v1heM6GnBf3RjEy6ZPP7UnzHNCqOHA2Ut+ScYUbXcqIdfew9JlTAe3g+cnX9xQ/Aw==} peerDependencies: '@types/node': '*' @@ -1173,7 +1172,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -1234,6 +1233,22 @@ packages: resolution: {integrity: sha512-T7VNNlYVM1SgQ+VsMYhnDkcGmWhQdL0bDyGm5TlQ3GBXnJscEClUUOKduWTmm2zCnvNLC1hc3JpuXjs/nFOc5w==} dev: true + /@stylistic/stylelint-plugin@2.0.0(stylelint@16.1.0): + resolution: {integrity: sha512-dHKuT6PGd1WGZLOTuozAM7GdQzdmlmnFXYzvV1jYJXXpcCpV/OJ3+n8TXpMkoOeKHpJydY43EOoZTO1W/FOA4Q==} + engines: {node: ^18.12 || >=20.9} + peerDependencies: + stylelint: ^16.0.2 + dependencies: + '@csstools/css-parser-algorithms': 2.5.0(@csstools/css-tokenizer@2.2.3) + '@csstools/css-tokenizer': 2.2.3 + '@csstools/media-query-list-parser': 2.1.7(@csstools/css-parser-algorithms@2.5.0)(@csstools/css-tokenizer@2.2.3) + is-plain-object: 5.0.0 + postcss-selector-parser: 6.0.15 + postcss-value-parser: 4.2.0 + style-search: 0.1.0 + stylelint: 16.1.0(typescript@5.3.3) + dev: true + /@trysound/sax@0.2.0: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -1247,26 +1262,26 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/bonjour@3.5.10: resolution: {integrity: sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/connect-history-api-fallback@1.5.0: resolution: {integrity: sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig==} dependencies: '@types/express-serve-static-core': 4.17.35 - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/connect@3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/eslint-scope@3.7.4: @@ -1301,7 +1316,7 @@ packages: /@types/express-serve-static-core@4.17.35: resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 '@types/send': 0.17.1 @@ -1327,7 +1342,7 @@ packages: /@types/http-proxy@1.17.11: resolution: {integrity: sha512-HC8G7c1WmaF2ekqpnFq626xd3Zz0uvaqFmBJNRZCGEZCXkvSdJoNFn/8Ygbd9fKNQj8UzLdCETaI0UWPAjK7IA==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/json-schema@7.0.12: @@ -1358,12 +1373,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/minimist@1.2.4: - resolution: {integrity: sha512-Kfe/D3hxHTusnPNRbycJE1N77WHDsdS4AjUYIzlDzhDrS47NrwuL3YW4VITxwR7KCVpzwgy4Rbj829KSSQmwXQ==} - dev: true - - /@types/node@20.10.6: - resolution: {integrity: sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==} + /@types/node@20.11.0: + resolution: {integrity: sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ==} dependencies: undici-types: 5.26.5 @@ -1371,10 +1382,6 @@ packages: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true - /@types/normalize-package-data@2.4.3: - resolution: {integrity: sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==} - dev: true - /@types/parse-json@4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} dev: true @@ -1403,7 +1410,7 @@ packages: resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} dependencies: '@types/mime': 1.3.2 - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/serve-index@1.9.1: @@ -1417,13 +1424,13 @@ packages: dependencies: '@types/http-errors': 2.0.1 '@types/mime': 3.0.1 - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/sockjs@0.3.33: resolution: {integrity: sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true /@types/web-bluetooth@0.0.20: @@ -1432,11 +1439,11 @@ packages: /@types/ws@8.5.5: resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 dev: true - /@typescript-eslint/eslint-plugin@6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-Vih/4xLXmY7V490dGwBQJTpIZxH4ZFH6eCVmQ4RFkB+wmaCTDAx4dtgoWwMNGKLkqRY1L6rPqzEbjorRnDo4rQ==} + /@typescript-eslint/eslint-plugin@6.18.1(@typescript-eslint/parser@6.18.1)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-nISDRYnnIpk7VCFrGcu1rnZfM1Dh9LRHnfgdkjcbi/l7g16VYRri3TjXi9Ir4lOZSw5N/gnV/3H7jIPQ8Q4daA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1447,11 +1454,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.17.0 - '@typescript-eslint/type-utils': 6.17.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.17.0 + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.18.1 + '@typescript-eslint/type-utils': 6.18.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.18.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.18.1 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 @@ -1464,8 +1471,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.17.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-C4bBaX2orvhK+LlwrY8oWGmSl4WolCfYm513gEccdWZj0CwGadbIADb0FtVEcI+WzUyjyoBj2JRP8g25E6IB8A==} + /@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-zct/MdJnVaRRNy9e84XnVtRv9Vf91/qqe+hZJtKanjojud4wAVy/7lXxJmMyX6X6J+xc6c//YEWvpeif8cAhWA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1474,10 +1481,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.17.0 - '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.17.0 + '@typescript-eslint/scope-manager': 6.18.1 + '@typescript-eslint/types': 6.18.1 + '@typescript-eslint/typescript-estree': 6.18.1(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.18.1 debug: 4.3.4 eslint: 8.56.0 typescript: 5.3.3 @@ -1485,16 +1492,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.17.0: - resolution: {integrity: sha512-RX7a8lwgOi7am0k17NUO0+ZmMOX4PpjLtLRgLmT1d3lBYdWH4ssBUbwdmc5pdRX8rXon8v9x8vaoOSpkHfcXGA==} + /@typescript-eslint/scope-manager@6.18.1: + resolution: {integrity: sha512-BgdBwXPFmZzaZUuw6wKiHKIovms97a7eTImjkXCZE04TGHysG+0hDQPmygyvgtkoB/aOQwSM/nWv3LzrOIQOBw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/visitor-keys': 6.17.0 + '@typescript-eslint/types': 6.18.1 + '@typescript-eslint/visitor-keys': 6.18.1 dev: true - /@typescript-eslint/type-utils@6.17.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-hDXcWmnbtn4P2B37ka3nil3yi3VCQO2QEB9gBiHJmQp5wmyQWqnjA85+ZcE8c4FqnaB6lBwMrPkgd4aBYz3iNg==} + /@typescript-eslint/type-utils@6.18.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-wyOSKhuzHeU/5pcRDP2G2Ndci+4g653V43gXTpt4nbyoIOAASkGDA9JIAgbQCdCkcr1MvpSYWzxTz0olCn8+/Q==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1503,8 +1510,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.18.1(typescript@5.3.3) + '@typescript-eslint/utils': 6.18.1(eslint@8.56.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.56.0 ts-api-utils: 1.0.3(typescript@5.3.3) @@ -1513,13 +1520,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.17.0: - resolution: {integrity: sha512-qRKs9tvc3a4RBcL/9PXtKSehI/q8wuU9xYJxe97WFxnzH8NWWtcW3ffNS+EWg8uPvIerhjsEZ+rHtDqOCiH57A==} + /@typescript-eslint/types@6.18.1: + resolution: {integrity: sha512-4TuMAe+tc5oA7wwfqMtB0Y5OrREPF1GeJBAjqwgZh1lEMH5PJQgWgHGfYufVB51LtjD+peZylmeyxUXPfENLCw==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.17.0(typescript@5.3.3): - resolution: {integrity: sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==} + /@typescript-eslint/typescript-estree@6.18.1(typescript@5.3.3): + resolution: {integrity: sha512-fv9B94UAhywPRhUeeV/v+3SBDvcPiLxRZJw/xZeeGgRLQZ6rLMG+8krrJUyIf6s1ecWTzlsbp0rlw7n9sjufHA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1527,8 +1534,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/visitor-keys': 6.17.0 + '@typescript-eslint/types': 6.18.1 + '@typescript-eslint/visitor-keys': 6.18.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1540,8 +1547,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.17.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==} + /@typescript-eslint/utils@6.18.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-zZmTuVZvD1wpoceHvoQpOiewmWu3uP9FuTWo8vqpy2ffsmfCE8mklRPi+vmnIYAIk9t/4kOThri2QCDgor+OpQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1549,9 +1556,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.17.0 - '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.18.1 + '@typescript-eslint/types': 6.18.1 + '@typescript-eslint/typescript-estree': 6.18.1(typescript@5.3.3) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -1559,11 +1566,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.17.0: - resolution: {integrity: sha512-H6VwB/k3IuIeQOyYczyyKN8wH6ed8EwliaYHLxOIhyF0dYEIsN8+Bk3GE19qafeMKyZJJHP8+O1HiFhFLUNKSg==} + /@typescript-eslint/visitor-keys@6.18.1: + resolution: {integrity: sha512-/kvt0C5lRqGoCfsbmm7/CwMqoSkY3zzHLIjdhHZQW3VFrnz7ATecOHR7nb7V+xn4286MBxfnQfQhAmCI0u+bJA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.17.0 + '@typescript-eslint/types': 6.18.1 eslint-visitor-keys: 3.4.3 dev: true @@ -1571,15 +1578,15 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-vue@5.0.2(vite@5.0.11)(vue@3.4.5): - resolution: {integrity: sha512-kEjJHrLb5ePBvjD0SPZwJlw1QTRcjjCA9sB5VyfonoXVBxTS7TMnqL6EkLt1Eu61RDeiuZ/WN9Hf6PxXhPI2uA==} + /@vitejs/plugin-vue@5.0.3(vite@5.0.11)(vue@3.4.10): + resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) - vue: 3.4.5(typescript@5.3.3) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) + vue: 3.4.10(typescript@5.3.3) dev: true /@vitest/expect@1.1.3: @@ -1650,7 +1657,7 @@ packages: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 eslint: '>=7.5.0' dependencies: - '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(@vue/compiler-sfc@3.4.5)(prettier@3.1.1)(vue@3.4.5) + '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(prettier@3.1.1)(vue@3.4.10) '@vue/cli-shared-utils': 5.0.8 eslint: 8.56.0 eslint-webpack-plugin: 3.2.0(eslint@8.56.0)(webpack@5.88.2) @@ -1670,7 +1677,7 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(@vue/compiler-sfc@3.4.5)(prettier@3.1.1)(vue@3.4.5) + '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(prettier@3.1.1)(vue@3.4.10) '@vue/cli-shared-utils': 5.0.8 transitivePeerDependencies: - encoding @@ -1681,10 +1688,10 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(@vue/compiler-sfc@3.4.5)(prettier@3.1.1)(vue@3.4.5) + '@vue/cli-service': 5.0.8(@babel/core@7.23.7)(prettier@3.1.1)(vue@3.4.10) dev: true - /@vue/cli-service@5.0.8(@babel/core@7.23.7)(@vue/compiler-sfc@3.4.5)(prettier@3.1.1)(vue@3.4.5): + /@vue/cli-service@5.0.8(@babel/core@7.23.7)(prettier@3.1.1)(vue@3.4.10): resolution: {integrity: sha512-nV7tYQLe7YsTtzFrfOMIHc5N2hp5lHG2rpYr0aNja9rNljdgcPZLyQRb2YRivTHqTv7lI962UXFURcpStHgyFw==} engines: {node: ^12.0.0 || >= 14.0.0} hasBin: true @@ -1724,7 +1731,7 @@ packages: '@vue/cli-plugin-vuex': 5.0.8(@vue/cli-service@5.0.8) '@vue/cli-shared-utils': 5.0.8 '@vue/component-compiler-utils': 3.3.0 - '@vue/vue-loader-v15': /vue-loader@15.11.1(@vue/compiler-sfc@3.4.5)(css-loader@6.8.1)(prettier@3.1.1)(webpack@5.88.2) + '@vue/vue-loader-v15': /vue-loader@15.11.1(css-loader@6.8.1)(prettier@3.1.1)(webpack@5.88.2) '@vue/web-component-wrapper': 1.3.0 acorn: 8.10.0 acorn-walk: 8.2.0 @@ -1761,7 +1768,7 @@ packages: ssri: 8.0.1 terser-webpack-plugin: 5.3.9(webpack@5.88.2) thread-loader: 3.0.4(webpack@5.88.2) - vue-loader: 17.2.2(@vue/compiler-sfc@3.4.5)(vue@3.4.5)(webpack@5.88.2) + vue-loader: 17.2.2(vue@3.4.10)(webpack@5.88.2) vue-style-loader: 4.1.3 webpack: 5.88.2 webpack-bundle-analyzer: 4.9.0 @@ -1860,39 +1867,39 @@ packages: - encoding dev: true - /@vue/compiler-core@3.4.5: - resolution: {integrity: sha512-Daka7P1z2AgKjzuueWXhwzIsKu0NkLB6vGbNVEV2iJ8GJTrzraZo/Sk4GWCMRtd/qVi3zwnk+Owbd/xSZbwHtQ==} + /@vue/compiler-core@3.4.10: + resolution: {integrity: sha512-53vxh7K9qbx+JILnGEhrFRyr7H7e4NdT8RuTNU3m6HhJKFvcAqFTNXpYMHnyuAzzRGdsbsYHBgQC3H6xEXTG6w==} dependencies: '@babel/parser': 7.23.6 - '@vue/shared': 3.4.5 + '@vue/shared': 3.4.10 entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 - /@vue/compiler-dom@3.4.5: - resolution: {integrity: sha512-J8YlxknJVd90SXFJ4HwGANSAXsx5I0lK30sO/zvYV7s5gXf7gZR7r/1BmZ2ju7RGH1lnc6bpBc6nL61yW+PsAQ==} + /@vue/compiler-dom@3.4.10: + resolution: {integrity: sha512-QAALBJksIFpXGYuo74rtMgnwpVZDvd3kYbUa4gYX9s/5QiqEvZSgbKtOdUGydXcxKPt3ifC+0/bhPVHXN2694A==} dependencies: - '@vue/compiler-core': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/compiler-core': 3.4.10 + '@vue/shared': 3.4.10 - /@vue/compiler-sfc@3.4.5: - resolution: {integrity: sha512-jauvkDuSSUbP0ebhfNqljhShA90YEfX/0wZ+w40oZF43IjGyWYjqYaJbvMJwGOd+9+vODW6eSvnk28f0SGV7OQ==} + /@vue/compiler-sfc@3.4.10: + resolution: {integrity: sha512-sTOssaQySgrMjrhZxmAqdp6n+E51VteIVIDaOR537H2P63DyzMmig21U0XXFxiXmMIfrK91lAInnc+bIAYemGw==} dependencies: '@babel/parser': 7.23.6 - '@vue/compiler-core': 3.4.5 - '@vue/compiler-dom': 3.4.5 - '@vue/compiler-ssr': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/compiler-core': 3.4.10 + '@vue/compiler-dom': 3.4.10 + '@vue/compiler-ssr': 3.4.10 + '@vue/shared': 3.4.10 estree-walker: 2.0.2 magic-string: 0.30.5 postcss: 8.4.33 source-map-js: 1.0.2 - /@vue/compiler-ssr@3.4.5: - resolution: {integrity: sha512-DDdEcDzj2lWTMfUMMtEpLDhURai9LhM0zSZ219jCt7b2Vyl0/jy3keFgCPMitG0V1S1YG4Cmws3lWHWdxHQOpg==} + /@vue/compiler-ssr@3.4.10: + resolution: {integrity: sha512-Y90TL1abretWbUiK5rv+9smS1thCHE5sSuhZgiLh6cxgZ2Pcy3BEvDd3reID0iwNcTdMbTeE6NI3Aq4Mux6hqQ==} dependencies: - '@vue/compiler-dom': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/compiler-dom': 3.4.10 + '@vue/shared': 3.4.10 /@vue/component-compiler-utils@3.3.0: resolution: {integrity: sha512-97sfH2mYNU+2PzGrmK2haqffDpVASuib9/w2/noxiFi31Z54hW+q3izKQXXQZSNhtiUpAI36uSuYepeBe4wpHQ==} @@ -1967,7 +1974,7 @@ packages: resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} dev: true - /@vue/eslint-config-typescript@12.0.0(eslint-plugin-vue@9.19.2)(eslint@8.56.0)(typescript@5.3.3): + /@vue/eslint-config-typescript@12.0.0(eslint-plugin-vue@9.20.0)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-StxLFet2Qe97T8+7L8pGlhYBBr8Eg05LPuTDVopQV6il+SK6qqom59BA/rcFipUef2jD8P2X44Vd8tMFytfvlg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: @@ -1978,10 +1985,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.18.1(@typescript-eslint/parser@6.18.1)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 - eslint-plugin-vue: 9.19.2(eslint@8.56.0) + eslint-plugin-vue: 9.20.0(eslint@8.56.0) typescript: 5.3.3 vue-eslint-parser: 9.3.1(eslint@8.56.0) transitivePeerDependencies: @@ -1998,8 +2005,8 @@ packages: dependencies: '@volar/language-core': 1.11.1 '@volar/source-map': 1.11.1 - '@vue/compiler-dom': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/compiler-dom': 3.4.10 + '@vue/shared': 3.4.10 computeds: 0.0.1 minimatch: 9.0.3 muggle-string: 0.3.1 @@ -2008,37 +2015,37 @@ packages: vue-template-compiler: 2.7.15 dev: true - /@vue/reactivity@3.4.5: - resolution: {integrity: sha512-BcWkKvjdvqJwb7BhhFkXPLDCecX4d4a6GATvCduJQDLv21PkPowAE5GKuIE5p6RC07/Lp9FMkkq4AYCTVF5KlQ==} + /@vue/reactivity@3.4.10: + resolution: {integrity: sha512-SmGGpo37LzPcAFTopHNIJRNVOQfma9YgyPkAzx9/TJ01lbCCYigS28hEcY1hjiJ1PRK8iVX62Ov5yzmUgYH/pQ==} dependencies: - '@vue/shared': 3.4.5 + '@vue/shared': 3.4.10 - /@vue/runtime-core@3.4.5: - resolution: {integrity: sha512-wh9ELIOQKeWT9SaUPdLrsxRkZv14jp+SJm9aiQGWio+/MWNM3Lib0wE6CoKEqQ9+SCYyGjDBhTOTtO47kCgbkg==} + /@vue/runtime-core@3.4.10: + resolution: {integrity: sha512-Ri2Cz9sFr66AEUewGUK8IXhIUAhshTHVUGuJR8pqMbtjIds+zPa8QPO5UZImGMQ8HTY7eEpKwztCct9V3+Iqug==} dependencies: - '@vue/reactivity': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/reactivity': 3.4.10 + '@vue/shared': 3.4.10 - /@vue/runtime-dom@3.4.5: - resolution: {integrity: sha512-n5ewvOjyG3IEpqGBahdPXODFSpVlSz3H4LF76Sx0XAqpIOqyJ5bIb2PrdYuH2ogBMAQPh+o5tnoH4nJpBr8U0Q==} + /@vue/runtime-dom@3.4.10: + resolution: {integrity: sha512-ROsdi5M2niRDmjXJNZ8KKiGwXyG1FO8l9n6sCN0kaJEHbjWkuigu96YAI3fK/AWUZPSXXEcMEBVPC6rL3mmUuA==} dependencies: - '@vue/runtime-core': 3.4.5 - '@vue/shared': 3.4.5 + '@vue/runtime-core': 3.4.10 + '@vue/shared': 3.4.10 csstype: 3.1.3 - /@vue/server-renderer@3.4.5(vue@3.4.5): - resolution: {integrity: sha512-jOFc/VE87yvifQpNju12VcqimH8pBLxdcT+t3xMeiED1K6DfH9SORyhFEoZlW5TG2Vwfn3Ul5KE+1aC99xnSBg==} + /@vue/server-renderer@3.4.10(vue@3.4.10): + resolution: {integrity: sha512-WpCBAhesLq44JKWfdFqb+Bi4ACUW0d8x1z90GnE0spccsAlEDMXV5nm+pwXLyW0OdP2iPrO/n/QMJh4B1v9Ciw==} peerDependencies: - vue: 3.4.5 + vue: 3.4.10 dependencies: - '@vue/compiler-ssr': 3.4.5 - '@vue/shared': 3.4.5 - vue: 3.4.5(typescript@5.3.3) + '@vue/compiler-ssr': 3.4.10 + '@vue/shared': 3.4.10 + vue: 3.4.10(typescript@5.3.3) - /@vue/shared@3.4.5: - resolution: {integrity: sha512-6XptuzlMvN4l4cDnDw36pdGEV+9njYkQ1ZE0Q6iZLwrKefKaOJyiFmcP3/KBDHbt72cJZGtllAc1GaHe6XGAyg==} + /@vue/shared@3.4.10: + resolution: {integrity: sha512-C0mIVhwW1xQLMFyqMJxnhq6fWyE02lCgcE+TDdtGpg6B3H6kh/0YcqS54qYc76UJNlWegf3VgsLqgk6D9hBmzQ==} - /@vue/test-utils@2.4.3(vue@3.4.5): + /@vue/test-utils@2.4.3(vue@3.4.10): resolution: {integrity: sha512-F4K7mF+ad++VlTrxMJVRnenKSJmO6fkQt2wpRDiKDesQMkfpniGWsqEi/JevxGBo2qEkwwjvTUAoiGJLNx++CA==} peerDependencies: '@vue/server-renderer': ^3.0.1 @@ -2048,7 +2055,7 @@ packages: optional: true dependencies: js-beautify: 1.14.11 - vue: 3.4.5(typescript@5.3.3) + vue: 3.4.10(typescript@5.3.3) vue-component-type-helpers: 1.8.27 dev: true @@ -2056,23 +2063,23 @@ packages: resolution: {integrity: sha512-Iu8Tbg3f+emIIMmI2ycSI8QcEuAUgPTgHwesDU1eKMLE4YC/c/sFbGc70QgMq31ijRftV0R7vCm9co6rldCeOA==} dev: true - /@vuetify/loader-shared@2.0.1(vue@3.4.5)(vuetify@3.4.9): + /@vuetify/loader-shared@2.0.1(vue@3.4.10)(vuetify@3.4.10): resolution: {integrity: sha512-zy5/ohEO7RcJaWYu2Xiy8TBEOkTb42XvWvSAJwXAtY8OlwqyGhzzBp9OvMVjLGIuFXumBpXKlsaVIkeN0OWWSw==} peerDependencies: vue: ^3.0.0 vuetify: ^3.0.0 dependencies: upath: 2.0.1 - vue: 3.4.5(typescript@5.3.3) - vuetify: 3.4.9(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.5) + vue: 3.4.10(typescript@5.3.3) + vuetify: 3.4.10(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.10) - /@vueuse/core@10.7.1(vue@3.4.5): + /@vueuse/core@10.7.1(vue@3.4.10): resolution: {integrity: sha512-74mWHlaesJSWGp1ihg76vAnfVq9NTv1YT0SYhAQ6zwFNdBkkP+CKKJmVOEHcdSnLXCXYiL5e7MaewblfiYLP7g==} dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 10.7.1 - '@vueuse/shared': 10.7.1(vue@3.4.5) - vue-demi: 0.14.6(vue@3.4.5) + '@vueuse/shared': 10.7.1(vue@3.4.10) + vue-demi: 0.14.6(vue@3.4.10) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -2080,10 +2087,10 @@ packages: /@vueuse/metadata@10.7.1: resolution: {integrity: sha512-jX8MbX5UX067DYVsbtrmKn6eG6KMcXxLRLlurGkZku5ZYT3vxgBjui2zajvUZ18QLIjrgBkFRsu7CqTAg18QFw==} - /@vueuse/shared@10.7.1(vue@3.4.5): + /@vueuse/shared@10.7.1(vue@3.4.10): resolution: {integrity: sha512-v0jbRR31LSgRY/C5i5X279A/WQjD6/JsMzGa+eqt658oJ75IvQXAeONmwvEMrvJQKnRElq/frzBR7fhmWY5uLw==} dependencies: - vue-demi: 0.14.6(vue@3.4.5) + vue-demi: 0.14.6(vue@3.4.10) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -2094,7 +2101,7 @@ packages: highlight.js: 11.9.0 prismjs: 1.29.0 ua-parser-js: 1.0.37 - vue: 3.4.5(typescript@5.3.3) + vue: 3.4.10(typescript@5.3.3) transitivePeerDependencies: - typescript dev: true @@ -2499,11 +2506,6 @@ packages: is-shared-array-buffer: 1.0.2 dev: true - /arrify@1.0.1: - resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} - engines: {node: '>=0.10.0'} - dev: true - /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true @@ -2569,6 +2571,12 @@ packages: resolution: {integrity: sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==} dev: true + /bidi-js@1.0.3: + resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==} + dependencies: + require-from-string: 2.0.2 + dev: true + /big.js@5.2.2: resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} dev: true @@ -2668,8 +2676,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001574 - electron-to-chromium: 1.4.623 + caniuse-lite: 1.0.30001576 + electron-to-chromium: 1.4.628 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) dev: true @@ -2725,21 +2733,6 @@ packages: tslib: 2.6.2 dev: true - /camelcase-keys@7.0.2: - resolution: {integrity: sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==} - engines: {node: '>=12'} - dependencies: - camelcase: 6.3.0 - map-obj: 4.3.0 - quick-lru: 5.1.1 - type-fest: 1.4.0 - dev: true - - /camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - dev: true - /caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: @@ -2753,8 +2746,8 @@ packages: resolution: {integrity: sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==} dev: true - /caniuse-lite@1.0.30001574: - resolution: {integrity: sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==} + /caniuse-lite@1.0.30001576: + resolution: {integrity: sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==} dev: true /case-sensitive-paths-webpack-plugin@2.4.0: @@ -3267,8 +3260,8 @@ packages: yaml: 1.10.2 dev: true - /cosmiconfig@8.3.6(typescript@5.3.3): - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + /cosmiconfig@9.0.0(typescript@5.3.3): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: typescript: '>=4.9.5' @@ -3276,10 +3269,10 @@ packages: typescript: optional: true dependencies: + env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - path-type: 4.0.0 typescript: 5.3.3 dev: true @@ -3528,24 +3521,6 @@ packages: dependencies: ms: 2.1.2 - /decamelize-keys@1.1.1: - resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} - engines: {node: '>=0.10.0'} - dependencies: - decamelize: 1.2.0 - map-obj: 1.0.1 - dev: true - - /decamelize@1.2.0: - resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} - engines: {node: '>=0.10.0'} - dev: true - - /decamelize@5.0.1: - resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==} - engines: {node: '>=10'} - dev: true - /decimal.js@10.4.3: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} dev: true @@ -3776,8 +3751,8 @@ packages: resolution: {integrity: sha512-t2ZP4AcGE0iKCCQCBx/K2426crYdxD3YU6l0uK2EO3FZH0pbC4pFz/sZm2ruZsND6hQBTcDWWlo/MLpiOdif5g==} dev: true - /electron-to-chromium@1.4.623: - resolution: {integrity: sha512-lKoz10iCYlP1WtRYdh5MvocQPWVRoI7ysp6qf18bmeBgR8abE6+I2CsfyNKztRDZvhdWc+krKT6wS7Neg8sw3A==} + /electron-to-chromium@1.4.628: + resolution: {integrity: sha512-2k7t5PHvLsufpP6Zwk0nof62yLOsCf032wZx7/q0mv8gwlXjhcxI3lz6f0jBr0GrnWKcm3burXzI3t5IrcdUxw==} dev: true /email-addresses@5.0.0: @@ -3828,6 +3803,11 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} + /env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + dev: true + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -3986,7 +3966,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.17.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.18.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -4007,7 +3987,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -4015,7 +3995,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.18.1)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -4025,7 +4005,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -4034,7 +4014,7 @@ packages: doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.17.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.18.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -4050,8 +4030,8 @@ packages: - supports-color dev: true - /eslint-plugin-prettier@5.1.2(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1): - resolution: {integrity: sha512-dhlpWc9vOwohcWmClFcA+HjlvUpuyynYs0Rf+L/P6/0iQE6vlHW9l5bkfzN62/Stm9fbq8ku46qzde76T1xlSg==} + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1): + resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: '@types/eslint': '>=8.0.0' @@ -4071,8 +4051,8 @@ packages: synckit: 0.8.8 dev: true - /eslint-plugin-vue@9.19.2(eslint@8.56.0): - resolution: {integrity: sha512-CPDqTOG2K4Ni2o4J5wixkLVNwgctKXFu6oBpVJlpNq7f38lh9I80pRTouZSJ2MAebPJlINU/KTFSXyQfBUlymA==} + /eslint-plugin-vue@9.20.0(eslint@8.56.0): + resolution: {integrity: sha512-9/DV5CM7ItfgWmXjL6j3zyDtVTrslYdnEm+rnYNajdElx17b3erxi/Wc6FY7t3BQ6dgo0t/UBpgiWCOKtJyN8Q==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 @@ -4081,9 +4061,9 @@ packages: eslint: 8.56.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.0.15 semver: 7.5.4 - vue-eslint-parser: 9.3.2(eslint@8.56.0) + vue-eslint-parser: 9.4.0(eslint@8.56.0) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -4412,11 +4392,11 @@ packages: flat-cache: 3.2.0 dev: true - /file-entry-cache@7.0.1: - resolution: {integrity: sha512-uLfFktPmRetVCbHe5UPuekWrQ6hENufnA46qEGbfACkK5drjTTdQYUragRgMjHldcbYG+nslUerqMPjbBSHXjQ==} - engines: {node: '>=12.0.0'} + /file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} dependencies: - flat-cache: 3.1.1 + flat-cache: 4.0.0 dev: true /filename-reserved-regex@2.0.0: @@ -4479,22 +4459,22 @@ packages: path-exists: 4.0.0 dev: true - /flat-cache@3.1.1: - resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==} - engines: {node: '>=12.0.0'} + /flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} dependencies: flatted: 3.2.9 keyv: 4.5.4 rimraf: 3.0.2 dev: true - /flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} + /flat-cache@4.0.0: + resolution: {integrity: sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==} + engines: {node: '>=16'} dependencies: flatted: 3.2.9 keyv: 4.5.4 - rimraf: 3.0.2 + rimraf: 5.0.5 dev: true /flatted@3.2.9: @@ -4836,11 +4816,6 @@ packages: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} dev: true - /hard-rejection@2.1.0: - resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} - engines: {node: '>=6'} - dev: true - /has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} dev: true @@ -4918,13 +4893,6 @@ packages: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} dev: true - /hosted-git-info@4.1.0: - resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} - engines: {node: '>=10'} - dependencies: - lru-cache: 6.0.0 - dev: true - /hpack.js@2.1.6: resolution: {integrity: sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==} dependencies: @@ -5122,11 +5090,6 @@ packages: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} - engines: {node: '>= 4'} - dev: true - /ignore@5.3.0: resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} engines: {node: '>= 4'} @@ -5167,11 +5130,6 @@ packages: engines: {node: '>=0.8.19'} dev: true - /indent-string@5.0.0: - resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} - engines: {node: '>=12'} - dev: true - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: @@ -5354,11 +5312,6 @@ packages: engines: {node: '>=8'} dev: true - /is-plain-obj@1.1.0: - resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} - engines: {node: '>=0.10.0'} - dev: true - /is-plain-obj@3.0.0: resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==} engines: {node: '>=10'} @@ -5488,7 +5441,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -5497,7 +5450,7 @@ packages: resolution: {integrity: sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -5547,8 +5500,8 @@ packages: argparse: 2.0.1 dev: true - /jsdom@23.1.0: - resolution: {integrity: sha512-wRscu8dBFxi7O65Cvi0jFRDv0Qa7XEHPix8Qg/vlXHLAMQsRWV1EDeQHBermzXf4Dt7JtFgBLbva3iTcBZDXEQ==} + /jsdom@23.2.0: + resolution: {integrity: sha512-L88oL7D/8ufIES+Zjz7v0aes+oBMh2Xnh3ygWvL0OaICOomKEPKuPnIfBJekiXr+BHbbMjrWn/xqrDQuxFTeyA==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -5556,6 +5509,7 @@ packages: canvas: optional: true dependencies: + '@asamuzakjp/dom-selector': 2.0.1 cssstyle: 4.0.1 data-urls: 5.0.0 decimal.js: 10.4.3 @@ -5564,7 +5518,6 @@ packages: http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.7 parse5: 7.1.2 rrweb-cssom: 0.6.0 saxes: 6.0.0 @@ -5902,16 +5855,6 @@ packages: semver: 6.3.1 dev: true - /map-obj@1.0.1: - resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} - engines: {node: '>=0.10.0'} - dev: true - - /map-obj@4.3.0: - resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} - engines: {node: '>=8'} - dev: true - /mathml-tag-names@2.1.3: resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==} dev: true @@ -5936,22 +5879,9 @@ packages: fs-monkey: 1.0.4 dev: true - /meow@10.1.5: - resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - '@types/minimist': 1.2.4 - camelcase-keys: 7.0.2 - decamelize: 5.0.1 - decamelize-keys: 1.1.1 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 8.0.0 - redent: 4.0.0 - trim-newlines: 4.1.1 - type-fest: 1.4.0 - yargs-parser: 20.2.9 + /meow@13.1.0: + resolution: {integrity: sha512-o5R/R3Tzxq0PJ3v3qcQJtSvSE9nKOLSAaDuuoMzDVuGTwHdccMWcYomh9Xolng2tjT6O/Y83d+0coVGof6tqmA==} + engines: {node: '>=18'} dev: true /merge-descriptors@1.0.1: @@ -6019,11 +5949,6 @@ packages: engines: {node: '>=12'} dev: true - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - dev: true - /mini-css-extract-plugin@2.7.6(webpack@5.88.2): resolution: {integrity: sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==} engines: {node: '>= 12.13.0'} @@ -6065,15 +5990,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimist-options@4.1.0: - resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} - engines: {node: '>= 6'} - dependencies: - arrify: 1.0.1 - is-plain-obj: 1.1.0 - kind-of: 6.0.3 - dev: true - /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} dev: true @@ -6217,16 +6133,6 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-package-data@3.0.3: - resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} - engines: {node: '>=10'} - dependencies: - hosted-git-info: 4.1.0 - is-core-module: 2.13.1 - semver: 7.5.4 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-path@1.0.0: resolution: {integrity: sha512-7WyT0w8jhpDStXRq5836AMmihQwq2nrUVQrgjvUo/p/NZf9uy/MeJ246lBJVmWuYXMlJuG9BNZHF0hWjfTbQUA==} engines: {node: '>=0.10.0'} @@ -6273,10 +6179,6 @@ packages: boolbase: 1.0.0 dev: true - /nwsapi@2.2.7: - resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} - dev: true - /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -6625,7 +6527,7 @@ packages: engines: {node: '>=10'} dev: true - /pinia@2.1.7(typescript@5.3.3)(vue@3.4.5): + /pinia@2.1.7(typescript@5.3.3)(vue@3.4.10): resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -6639,8 +6541,8 @@ packages: dependencies: '@vue/devtools-api': 6.5.1 typescript: 5.3.3 - vue: 3.4.5(typescript@5.3.3) - vue-demi: 0.14.6(vue@3.4.5) + vue: 3.4.10(typescript@5.3.3) + vue-demi: 0.14.6(vue@3.4.10) dev: true /pinkie-promise@2.0.1: @@ -7057,6 +6959,15 @@ packages: postcss: 8.4.33 dev: true + /postcss-safe-parser@7.0.0(postcss@8.4.33): + resolution: {integrity: sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==} + engines: {node: '>=18.0'} + peerDependencies: + postcss: ^8.4.31 + dependencies: + postcss: 8.4.33 + dev: true + /postcss-scss@4.0.9(postcss@8.4.33): resolution: {integrity: sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==} engines: {node: '>=12.0'} @@ -7074,6 +6985,14 @@ packages: util-deprecate: 1.0.2 dev: true + /postcss-selector-parser@6.0.15: + resolution: {integrity: sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==} + engines: {node: '>=4'} + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + dev: true + /postcss-sorting@8.0.2(postcss@8.4.33): resolution: {integrity: sha512-M9dkSrmU00t/jK7rF6BZSZauA5MAaBW4i5EnJXspMwt4iqTh/L9j6fgMnbElEOfyRyfLfVbIHj/R52zHzAPe1Q==} peerDependencies: @@ -7243,11 +7162,6 @@ packages: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true - /quick-lru@5.1.1: - resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} - engines: {node: '>=10'} - dev: true - /randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} dependencies: @@ -7282,15 +7196,6 @@ packages: type-fest: 0.8.1 dev: true - /read-pkg-up@8.0.0: - resolution: {integrity: sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==} - engines: {node: '>=12'} - dependencies: - find-up: 5.0.0 - read-pkg: 6.0.0 - type-fest: 1.4.0 - dev: true - /read-pkg@5.2.0: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} @@ -7301,16 +7206,6 @@ packages: type-fest: 0.6.0 dev: true - /read-pkg@6.0.0: - resolution: {integrity: sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==} - engines: {node: '>=12'} - dependencies: - '@types/normalize-package-data': 2.4.3 - normalize-package-data: 3.0.3 - parse-json: 5.2.0 - type-fest: 1.4.0 - dev: true - /readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} dependencies: @@ -7338,14 +7233,6 @@ packages: dependencies: picomatch: 2.3.1 - /redent@4.0.0: - resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==} - engines: {node: '>=12'} - dependencies: - indent-string: 5.0.0 - strip-indent: 4.0.0 - dev: true - /regexp.prototype.flags@1.5.1: resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} engines: {node: '>= 0.4'} @@ -7464,17 +7351,25 @@ packages: glob: 7.2.3 dev: true + /rimraf@5.0.5: + resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==} + engines: {node: '>=14'} + hasBin: true + dependencies: + glob: 10.3.10 + dev: true + /roboto-fontface@0.10.0: resolution: {integrity: sha512-OlwfYEgA2RdboZohpldlvJ1xngOins5d7ejqnIBWr9KaMxsnBqotpptRXTyfNRLnFpqzX6sTDt+X+a+6udnU8g==} dev: true - /rollup-plugin-polyfill-node@0.13.0(rollup@4.9.3): + /rollup-plugin-polyfill-node@0.13.0(rollup@4.9.4): resolution: {integrity: sha512-FYEvpCaD5jGtyBuBFcQImEGmTxDTPbiHjJdrYIp+mFIwgXiXabxvKUK7ZT9P31ozu2Tqm9llYQMRWsfvTMTAOw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 dependencies: - '@rollup/plugin-inject': 5.0.5(rollup@4.9.3) - rollup: 4.9.3 + '@rollup/plugin-inject': 5.0.5(rollup@4.9.4) + rollup: 4.9.4 dev: true /rollup-plugin-postcss@4.0.2(postcss@8.4.33): @@ -7507,7 +7402,7 @@ packages: rollup-pluginutils: 2.8.2 dev: true - /rollup-plugin-typescript2@0.36.0(rollup@4.9.3)(typescript@5.3.3): + /rollup-plugin-typescript2@0.36.0(rollup@4.9.4)(typescript@5.3.3): resolution: {integrity: sha512-NB2CSQDxSe9+Oe2ahZbf+B4bh7pHwjV5L+RSYpCu7Q5ROuN94F9b6ioWwKfz3ueL3KTtmX4o2MUH2cgHDIEUsw==} peerDependencies: rollup: '>=1.26.3' @@ -7516,7 +7411,7 @@ packages: '@rollup/pluginutils': 4.2.1 find-cache-dir: 3.3.2 fs-extra: 10.1.0 - rollup: 4.9.3 + rollup: 4.9.4 semver: 7.5.4 tslib: 2.6.2 typescript: 5.3.3 @@ -7536,26 +7431,26 @@ packages: fsevents: 2.3.3 dev: true - /rollup@4.9.3: - resolution: {integrity: sha512-JnchF0ZGFiqGpAPjg3e89j656Ne4tTtCY1VZc1AxtoQcRIxjTu9jyYHBAtkDXE+X681n4un/nX9SU52AroSRzg==} + /rollup@4.9.4: + resolution: {integrity: sha512-2ztU7pY/lrQyXSCnnoU4ICjT/tCG9cdH3/G25ERqE3Lst6vl2BCM5hL2Nw+sslAvAf+ccKsAq1SkKQALyqhR7g==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.9.3 - '@rollup/rollup-android-arm64': 4.9.3 - '@rollup/rollup-darwin-arm64': 4.9.3 - '@rollup/rollup-darwin-x64': 4.9.3 - '@rollup/rollup-linux-arm-gnueabihf': 4.9.3 - '@rollup/rollup-linux-arm64-gnu': 4.9.3 - '@rollup/rollup-linux-arm64-musl': 4.9.3 - '@rollup/rollup-linux-riscv64-gnu': 4.9.3 - '@rollup/rollup-linux-x64-gnu': 4.9.3 - '@rollup/rollup-linux-x64-musl': 4.9.3 - '@rollup/rollup-win32-arm64-msvc': 4.9.3 - '@rollup/rollup-win32-ia32-msvc': 4.9.3 - '@rollup/rollup-win32-x64-msvc': 4.9.3 + '@rollup/rollup-android-arm-eabi': 4.9.4 + '@rollup/rollup-android-arm64': 4.9.4 + '@rollup/rollup-darwin-arm64': 4.9.4 + '@rollup/rollup-darwin-x64': 4.9.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.9.4 + '@rollup/rollup-linux-arm64-gnu': 4.9.4 + '@rollup/rollup-linux-arm64-musl': 4.9.4 + '@rollup/rollup-linux-riscv64-gnu': 4.9.4 + '@rollup/rollup-linux-x64-gnu': 4.9.4 + '@rollup/rollup-linux-x64-musl': 4.9.4 + '@rollup/rollup-win32-arm64-msvc': 4.9.4 + '@rollup/rollup-win32-ia32-msvc': 4.9.4 + '@rollup/rollup-win32-x64-msvc': 4.9.4 fsevents: 2.3.3 /rrweb-cssom@0.6.0: @@ -8087,13 +7982,6 @@ packages: engines: {node: '>=4'} dev: true - /strip-indent@4.0.0: - resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} - engines: {node: '>=12'} - dependencies: - min-indent: 1.0.1 - dev: true - /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -8128,92 +8016,91 @@ packages: dependencies: browserslist: 4.21.10 postcss: 8.4.33 - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.0.15 dev: true - /stylelint-config-recommended@13.0.0(stylelint@15.11.0): - resolution: {integrity: sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==} - engines: {node: ^14.13.1 || >=16.0.0} + /stylelint-config-recommended@14.0.0(stylelint@16.1.0): + resolution: {integrity: sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==} + engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^15.10.0 + stylelint: ^16.0.0 dependencies: - stylelint: 15.11.0(typescript@5.3.3) + stylelint: 16.1.0(typescript@5.3.3) dev: true - /stylelint-config-standard@34.0.0(stylelint@15.11.0): - resolution: {integrity: sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==} - engines: {node: ^14.13.1 || >=16.0.0} + /stylelint-config-standard@36.0.0(stylelint@16.1.0): + resolution: {integrity: sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==} + engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^15.10.0 + stylelint: ^16.1.0 dependencies: - stylelint: 15.11.0(typescript@5.3.3) - stylelint-config-recommended: 13.0.0(stylelint@15.11.0) + stylelint: 16.1.0(typescript@5.3.3) + stylelint-config-recommended: 14.0.0(stylelint@16.1.0) dev: true - /stylelint-order@6.0.3(stylelint@15.11.0): - resolution: {integrity: sha512-1j1lOb4EU/6w49qZeT2SQVJXm0Ht+Qnq9GMfUa3pMwoyojIWfuA+JUDmoR97Bht1RLn4ei0xtLGy87M7d29B1w==} + /stylelint-order@6.0.4(stylelint@16.1.0): + resolution: {integrity: sha512-0UuKo4+s1hgQ/uAxlYU4h0o0HS4NiQDud0NAUNI0aa8FJdmYHA5ZZTFHiV5FpmE3071e9pZx5j0QpVJW5zOCUA==} peerDependencies: - stylelint: ^14.0.0 || ^15.0.0 + stylelint: ^14.0.0 || ^15.0.0 || ^16.0.1 dependencies: postcss: 8.4.33 postcss-sorting: 8.0.2(postcss@8.4.33) - stylelint: 15.11.0(typescript@5.3.3) + stylelint: 16.1.0(typescript@5.3.3) dev: true - /stylelint-scss@5.3.1(stylelint@15.11.0): - resolution: {integrity: sha512-5I9ZDIm77BZrjOccma5WyW2nJEKjXDd4Ca8Kk+oBapSO4pewSlno3n+OyimcyVJJujQZkBN2D+xuMkIamSc6hA==} + /stylelint-scss@6.0.0(stylelint@16.1.0): + resolution: {integrity: sha512-N1xV/Ef5PNRQQt9E45unzGvBUN1KZxCI8B4FgN/pMfmyRYbZGVN4y9qWlvOMdScU17c8VVCnjIHTVn38Bb6qSA==} + engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^14.5.1 || ^15.0.0 + stylelint: ^16.0.2 dependencies: known-css-properties: 0.29.0 postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.1 - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.0.15 postcss-value-parser: 4.2.0 - stylelint: 15.11.0(typescript@5.3.3) + stylelint: 16.1.0(typescript@5.3.3) dev: true - /stylelint@15.11.0(typescript@5.3.3): - resolution: {integrity: sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==} - engines: {node: ^14.13.1 || >=16.0.0} + /stylelint@16.1.0(typescript@5.3.3): + resolution: {integrity: sha512-Sh1rRV0lN1qxz/QsuuooLWsIZ/ona7NKw/fRZd6y6PyXYdD2W0EAzJ8yJcwSx4Iw/muz0CF09VZ+z4EiTAcKmg==} + engines: {node: '>=18.12.0'} hasBin: true dependencies: - '@csstools/css-parser-algorithms': 2.3.2(@csstools/css-tokenizer@2.2.1) - '@csstools/css-tokenizer': 2.2.1 - '@csstools/media-query-list-parser': 2.1.5(@csstools/css-parser-algorithms@2.3.2)(@csstools/css-tokenizer@2.2.1) - '@csstools/selector-specificity': 3.0.0(postcss-selector-parser@6.0.13) + '@csstools/css-parser-algorithms': 2.5.0(@csstools/css-tokenizer@2.2.3) + '@csstools/css-tokenizer': 2.2.3 + '@csstools/media-query-list-parser': 2.1.7(@csstools/css-parser-algorithms@2.5.0)(@csstools/css-tokenizer@2.2.3) + '@csstools/selector-specificity': 3.0.1(postcss-selector-parser@6.0.15) balanced-match: 2.0.0 colord: 2.9.3 - cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig: 9.0.0(typescript@5.3.3) css-functions-list: 3.2.1 css-tree: 2.3.1 debug: 4.3.4 - fast-glob: 3.3.1 + fast-glob: 3.3.2 fastest-levenshtein: 1.0.16 - file-entry-cache: 7.0.1 + file-entry-cache: 8.0.0 global-modules: 2.0.0 globby: 11.1.0 globjoin: 0.1.4 html-tags: 3.3.1 - ignore: 5.2.4 - import-lazy: 4.0.0 + ignore: 5.3.0 imurmurhash: 0.1.4 is-plain-object: 5.0.0 known-css-properties: 0.29.0 mathml-tag-names: 2.1.3 - meow: 10.1.5 + meow: 13.1.0 micromatch: 4.0.5 normalize-path: 3.0.0 picocolors: 1.0.0 postcss: 8.4.33 postcss-resolve-nested-selector: 0.1.1 - postcss-safe-parser: 6.0.0(postcss@8.4.33) - postcss-selector-parser: 6.0.13 + postcss-safe-parser: 7.0.0(postcss@8.4.33) + postcss-selector-parser: 6.0.15 postcss-value-parser: 4.2.0 resolve-from: 5.0.0 string-width: 4.2.3 - strip-ansi: 6.0.1 - style-search: 0.1.0 + strip-ansi: 7.1.0 supports-hyperlinks: 3.0.0 svg-tags: 1.0.0 table: 6.8.1 @@ -8412,7 +8299,7 @@ packages: engines: {node: '>=6'} dependencies: psl: 1.9.0 - punycode: 2.3.0 + punycode: 2.3.1 universalify: 0.2.0 url-parse: 1.5.10 dev: true @@ -8428,11 +8315,6 @@ packages: punycode: 2.3.1 dev: true - /trim-newlines@4.1.1: - resolution: {integrity: sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==} - engines: {node: '>=12'} - dev: true - /trim-repeated@1.0.0: resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==} engines: {node: '>=0.10.0'} @@ -8489,11 +8371,6 @@ packages: engines: {node: '>=8'} dev: true - /type-fest@1.4.0: - resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} - engines: {node: '>=10'} - dev: true - /type-fest@3.13.1: resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} engines: {node: '>=14.16'} @@ -8570,10 +8447,10 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - /unimport@3.7.1(rollup@4.9.3): + /unimport@3.7.1(rollup@4.9.4): resolution: {integrity: sha512-V9HpXYfsZye5bPPYUgs0Otn3ODS1mDUciaBlXljI4C2fTwfFpvFZRywmlOu943puN9sncxROMZhsZCjNXEpzEQ==} dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.9.3) + '@rollup/pluginutils': 5.1.0(rollup@4.9.4) acorn: 8.11.3 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 @@ -8615,7 +8492,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /unplugin-auto-import@0.17.3(@vueuse/core@10.7.1)(rollup@4.9.3): + /unplugin-auto-import@0.17.3(@vueuse/core@10.7.1)(rollup@4.9.4): resolution: {integrity: sha512-0cn0wr8X579TtdZKUAps0dDVrYzttx38ImdxZjmCeNlMDJX8UuSjO83vFqgS4ClNDIGWAute+xl9j5vRSX+vsw==} engines: {node: '>=14'} peerDependencies: @@ -8628,13 +8505,13 @@ packages: optional: true dependencies: '@antfu/utils': 0.7.7 - '@rollup/pluginutils': 5.1.0(rollup@4.9.3) - '@vueuse/core': 10.7.1(vue@3.4.5) + '@rollup/pluginutils': 5.1.0(rollup@4.9.4) + '@vueuse/core': 10.7.1(vue@3.4.10) fast-glob: 3.3.2 local-pkg: 0.5.0 magic-string: 0.30.5 minimatch: 9.0.3 - unimport: 3.7.1(rollup@4.9.3) + unimport: 3.7.1(rollup@4.9.4) unplugin: 1.6.0 transitivePeerDependencies: - rollup @@ -8734,7 +8611,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite-node@1.1.3(@types/node@20.10.6)(sass@1.69.7): + /vite-node@1.1.3(@types/node@20.11.0)(sass@1.69.7): resolution: {integrity: sha512-BLSO72YAkIUuNrOx+8uznYICJfTEbvBAmWClY3hpath5+h1mbPS5OMn42lrTxXuyCazVyZoDkSRnju78GiVCqA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -8743,7 +8620,7 @@ packages: debug: 4.3.4 pathe: 1.1.1 picocolors: 1.0.0 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) transitivePeerDependencies: - '@types/node' - less @@ -8760,10 +8637,10 @@ packages: peerDependencies: vite: '>2.0.0-0' dependencies: - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) dev: true - /vite-plugin-dts@3.7.0(@types/node@20.10.6)(rollup@4.9.3)(typescript@5.3.3)(vite@5.0.11): + /vite-plugin-dts@3.7.0(@types/node@20.11.0)(rollup@4.9.4)(typescript@5.3.3)(vite@5.0.11): resolution: {integrity: sha512-np1uPaYzu98AtPReB8zkMnbjwcNHOABsLhqVOf81b3ol9b5M2wPcAVs8oqPnOpr6Us+7yDXVauwkxsk5+ldmRA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -8773,13 +8650,13 @@ packages: vite: optional: true dependencies: - '@microsoft/api-extractor': 7.39.0(@types/node@20.10.6) - '@rollup/pluginutils': 5.1.0(rollup@4.9.3) + '@microsoft/api-extractor': 7.39.0(@types/node@20.11.0) + '@rollup/pluginutils': 5.1.0(rollup@4.9.4) '@vue/language-core': 1.8.27(typescript@5.3.3) debug: 4.3.4 kolorist: 1.8.0 typescript: 5.3.3 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) vue-tsc: 1.8.27(typescript@5.3.3) transitivePeerDependencies: - '@types/node' @@ -8797,7 +8674,7 @@ packages: '@types/eslint': 8.44.2 eslint: 8.56.0 rollup: 2.79.1 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) dev: true /vite-plugin-static-copy@1.0.0(vite@5.0.11): @@ -8810,10 +8687,10 @@ packages: fast-glob: 3.3.2 fs-extra: 11.2.0 picocolors: 1.0.0 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) dev: true - /vite-plugin-stylelint@5.3.1(postcss@8.4.33)(rollup@4.9.3)(stylelint@15.11.0)(vite@5.0.11): + /vite-plugin-stylelint@5.3.1(postcss@8.4.33)(rollup@4.9.4)(stylelint@16.1.0)(vite@5.0.11): resolution: {integrity: sha512-M/hSdfOwnOVghbJDeuuYIU2xO/MMukYR8QcEyNKFPG8ro1L+DlTdViix2B2d/FvAw14WPX88ckA5A7NvUjJz8w==} engines: {node: '>=14.18'} peerDependencies: @@ -8830,18 +8707,18 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.9.3) + '@rollup/pluginutils': 5.1.0(rollup@4.9.4) chokidar: 3.5.3 debug: 4.3.4 postcss: 8.4.33 - rollup: 4.9.3 - stylelint: 15.11.0(typescript@5.3.3) - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) + rollup: 4.9.4 + stylelint: 16.1.0(typescript@5.3.3) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) transitivePeerDependencies: - supports-color dev: true - /vite-plugin-vuetify@2.0.1(vite@5.0.11)(vue@3.4.5)(vuetify@3.4.9): + /vite-plugin-vuetify@2.0.1(vite@5.0.11)(vue@3.4.10)(vuetify@3.4.10): resolution: {integrity: sha512-GlRVAruohE8b0FqmeYYh1cYg3n8THGOv066uMA44qLv9uhUxSLw55CS7fi2yU0wH363TJ2vq36zUsPTjRFrjGQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: @@ -8849,16 +8726,16 @@ packages: vue: ^3.0.0 vuetify: ^3.0.0 dependencies: - '@vuetify/loader-shared': 2.0.1(vue@3.4.5)(vuetify@3.4.9) + '@vuetify/loader-shared': 2.0.1(vue@3.4.10)(vuetify@3.4.10) debug: 4.3.4 upath: 2.0.1 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) - vue: 3.4.5(typescript@5.3.3) - vuetify: 3.4.9(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.5) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) + vue: 3.4.10(typescript@5.3.3) + vuetify: 3.4.10(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.10) transitivePeerDependencies: - supports-color - /vite@5.0.11(@types/node@20.10.6)(sass@1.69.7): + /vite@5.0.11(@types/node@20.11.0)(sass@1.69.7): resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -8886,15 +8763,15 @@ packages: terser: optional: true dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 esbuild: 0.19.11 postcss: 8.4.33 - rollup: 4.9.3 + rollup: 4.9.4 sass: 1.69.7 optionalDependencies: fsevents: 2.3.3 - /vitest@1.1.3(@types/node@20.10.6)(jsdom@23.1.0)(sass@1.69.7): + /vitest@1.1.3(@types/node@20.11.0)(jsdom@23.2.0)(sass@1.69.7): resolution: {integrity: sha512-2l8om1NOkiA90/Y207PsEvJLYygddsOyr81wLQ20Ra8IlLKbyQncWsGZjnbkyG2KwwuTXLQjEPOJuxGMG8qJBQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -8919,7 +8796,7 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.10.6 + '@types/node': 20.11.0 '@vitest/expect': 1.1.3 '@vitest/runner': 1.1.3 '@vitest/snapshot': 1.1.3 @@ -8930,7 +8807,7 @@ packages: chai: 4.4.0 debug: 4.3.4 execa: 8.0.1 - jsdom: 23.1.0 + jsdom: 23.2.0 local-pkg: 0.5.0 magic-string: 0.30.5 pathe: 1.1.1 @@ -8939,8 +8816,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.8.1 - vite: 5.0.11(@types/node@20.10.6)(sass@1.69.7) - vite-node: 1.1.3(@types/node@20.10.6)(sass@1.69.7) + vite: 5.0.11(@types/node@20.11.0)(sass@1.69.7) + vite-node: 1.1.3(@types/node@20.11.0)(sass@1.69.7) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -8956,7 +8833,7 @@ packages: resolution: {integrity: sha512-0vOfAtI67UjeO1G6UiX5Kd76CqaQ67wrRZiOe7UAb9Jm6GzlUr/fC7CV90XfwapJRjpCMaZFhv1V0ajWRmE9Dg==} dev: true - /vue-demi@0.14.6(vue@3.4.5): + /vue-demi@0.14.6(vue@3.4.10): resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} engines: {node: '>=12'} hasBin: true @@ -8968,7 +8845,7 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.4.5(typescript@5.3.3) + vue: 3.4.10(typescript@5.3.3) /vue-eslint-parser@9.3.1(eslint@8.56.0): resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==} @@ -8988,8 +8865,8 @@ packages: - supports-color dev: true - /vue-eslint-parser@9.3.2(eslint@8.56.0): - resolution: {integrity: sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==} + /vue-eslint-parser@9.4.0(eslint@8.56.0): + resolution: {integrity: sha512-7KsNBb6gHFA75BtneJsoK/dbZ281whUIwFYdQxA68QrCrGMXYzUMbPDHGcOQ0OocIVKrWSKWXZ4mL7tonCXoUw==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' @@ -9010,7 +8887,7 @@ packages: resolution: {integrity: sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==} dev: true - /vue-loader@15.11.1(@vue/compiler-sfc@3.4.5)(css-loader@6.8.1)(prettier@3.1.1)(webpack@5.88.2): + /vue-loader@15.11.1(css-loader@6.8.1)(prettier@3.1.1)(webpack@5.88.2): resolution: {integrity: sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==} peerDependencies: '@vue/compiler-sfc': ^3.0.8 @@ -9029,7 +8906,6 @@ packages: vue-template-compiler: optional: true dependencies: - '@vue/compiler-sfc': 3.4.5 '@vue/component-compiler-utils': 3.3.0 css-loader: 6.8.1(webpack@5.88.2) hash-sum: 1.0.2 @@ -9094,7 +8970,7 @@ packages: - whiskers dev: true - /vue-loader@17.2.2(@vue/compiler-sfc@3.4.5)(vue@3.4.5)(webpack@5.88.2): + /vue-loader@17.2.2(vue@3.4.10)(webpack@5.88.2): resolution: {integrity: sha512-aqNvKJvnz2A/6VWeJZodAo8XLoAlVwBv+2Z6dama+LHsAF+P/xijQ+OfWrxIs0wcGSJduvdzvTuATzXbNKkpiw==} peerDependencies: '@vue/compiler-sfc': '*' @@ -9106,10 +8982,9 @@ packages: vue: optional: true dependencies: - '@vue/compiler-sfc': 3.4.5 chalk: 4.1.2 hash-sum: 2.0.0 - vue: 3.4.5(typescript@5.3.3) + vue: 3.4.10(typescript@5.3.3) watchpack: 2.4.0 webpack: 5.88.2 dev: true @@ -9144,23 +9019,23 @@ packages: typescript: 5.3.3 dev: true - /vue@3.4.5(typescript@5.3.3): - resolution: {integrity: sha512-VH6nHFhLPjgu2oh5vEBXoNZxsGHuZNr3qf4PHClwJWw6IDqw6B3x+4J+ABdoZ0aJuT8Zi0zf3GpGlLQCrGWHrw==} + /vue@3.4.10(typescript@5.3.3): + resolution: {integrity: sha512-c+O8qGqdWPF9joTCzMGeDDedViooh6c8RY3+eW5+6GCAIY8YjChmU06LsUu0PnMZbIk1oKUoJTqKzmghYtFypw==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@vue/compiler-dom': 3.4.5 - '@vue/compiler-sfc': 3.4.5 - '@vue/runtime-dom': 3.4.5 - '@vue/server-renderer': 3.4.5(vue@3.4.5) - '@vue/shared': 3.4.5 + '@vue/compiler-dom': 3.4.10 + '@vue/compiler-sfc': 3.4.10 + '@vue/runtime-dom': 3.4.10 + '@vue/server-renderer': 3.4.10(vue@3.4.10) + '@vue/shared': 3.4.10 typescript: 5.3.3 - /vuetify@3.4.9(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.5): - resolution: {integrity: sha512-pgBPdbgrHHHZWRybWevzRFezMax6CP2MccTivjOZSOF0XsnzoNOJGGpkTgIfBrk4UCp9jKx6JOJIztGtx/IcSw==} + /vuetify@3.4.10(typescript@5.3.3)(vite-plugin-vuetify@2.0.1)(vue@3.4.10): + resolution: {integrity: sha512-tObGoumCJxuK26OpS/CLZZIJAgDtN2cnd31vJscVhpuf6jeMD7wh8IsgfZownAOXU1FcKWVQwn1RSDsoXk5cJA==} engines: {node: ^12.20 || >=14.13} peerDependencies: typescript: '>=4.7' @@ -9179,8 +9054,8 @@ packages: optional: true dependencies: typescript: 5.3.3 - vite-plugin-vuetify: 2.0.1(vite@5.0.11)(vue@3.4.5)(vuetify@3.4.9) - vue: 3.4.5(typescript@5.3.3) + vite-plugin-vuetify: 2.0.1(vite@5.0.11)(vue@3.4.10)(vuetify@3.4.10) + vue: 3.4.10(typescript@5.3.3) /w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} diff --git a/src/App.vue b/src/App.vue index a3e62b3..3977165 100644 --- a/src/App.vue +++ b/src/App.vue @@ -126,13 +126,13 @@ a { margin: 0 -0.7em; position: absolute; - &:not(:hover):not(:focus) { + &:not(:hover, :focus) { opacity: 0; } } } -.name-item:not(:hover):not(:focus) span { +.name-item:not(:hover, :focus) span { opacity: 0; } diff --git a/src/documentation/DocsPage.vue b/src/documentation/DocsPage.vue index 9c2fe0c..96fd9d2 100644 --- a/src/documentation/DocsPage.vue +++ b/src/documentation/DocsPage.vue @@ -145,7 +145,7 @@ provide('classes', classes); :deep(pre), :deep(code) { &.ic { - background-color: rgba(255, 255, 255, 0.1) !important; + background-color: rgb(255 255 255 / 10%) !important; border-radius: 3px; font-size: 85%; font-weight: normal; @@ -159,7 +159,7 @@ provide('classes', classes); pre, code { &.ic { - background-color: rgba(0, 0, 0, 0.1) !important; + background-color: rgb(0 0 0 / 10%) !important; } } } diff --git a/src/plugin/VColorField.vue b/src/plugin/VColorField.vue index 00167cc..6471789 100644 --- a/src/plugin/VColorField.vue +++ b/src/plugin/VColorField.vue @@ -283,10 +283,10 @@ const props = withDefaults(defineProps(), { }); const injectedOptions = inject(globalOptions, {}); -let settings = reactive({ ...props, ...injectedOptions }); +const settings = reactive({ ...props, ...injectedOptions }); watchEffect(() => { - settings = { ...props, ...injectedOptions }; + Object.assign(settings, { ...props, ...injectedOptions }); }); diff --git a/stylelint.config.js b/stylelint.config.js index 2dfce49..fc427d2 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -2,15 +2,17 @@ const namePattern = '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$'; module.exports = { + extends: ['stylelint-config-standard'], plugins: [ 'stylelint-order', 'stylelint-scss', + '@stylistic/stylelint-plugin', ], - customSyntax: "postcss-scss", + customSyntax: 'postcss-scss', overrides: [ { - "files": ["**/*.vue"], - "customSyntax": "postcss-html" + 'files': ['**/*.vue'], + 'customSyntax': 'postcss-html', }, ], rules: { @@ -75,7 +77,6 @@ module.exports = 'no-duplicate-at-import-rules': true, 'no-duplicate-selectors': true, 'no-empty-source': null, - 'no-extra-semicolons': true, 'no-invalid-double-slash-comments': true, // ---------------------------- Limit language features @@ -85,6 +86,7 @@ module.exports = // Function 'function-disallowed-list': [], + 'function-no-unknown': null, 'function-url-no-scheme-relative': true, 'function-url-scheme-disallowed-list': [], 'function-url-scheme-allowed-list': null, @@ -97,7 +99,7 @@ module.exports = 'number-max-precision': 10, // Time - 'time-min-milliseconds': 025, + 'time-min-milliseconds': 25, // Unit 'unit-disallowed-list': [], @@ -150,7 +152,6 @@ module.exports = 'selector-max-class': null, 'selector-max-combinators': null, 'selector-max-compound-selectors': null, - 'selector-max-empty-lines': 0, 'selector-max-id': 8, 'selector-max-pseudo-class': null, 'selector-max-specificity': null, @@ -188,7 +189,6 @@ module.exports = // ---------------------------- Stylistic issues // Color - 'color-hex-case': 'lower', 'color-hex-length': 'short', // Font family @@ -198,57 +198,24 @@ module.exports = 'font-weight-notation': null, // Function - 'function-comma-newline-after': null, - 'function-comma-newline-before': 'always-multi-line', - 'function-comma-space-after': 'always', - 'function-comma-space-before': 'never', - 'function-max-empty-lines': 0, 'function-name-case': [ 'lower', { ignoreFunctions: ['DXImageTransform.Microsoft.gradient'], }, ], - 'function-parentheses-newline-inside': 'never-multi-line', - 'function-parentheses-space-inside': 'never', 'function-url-quotes': 'always', - 'function-whitespace-after': 'always', - - // Number - 'number-leading-zero': null, - 'number-no-trailing-zeros': true, - - // String - 'string-quotes': 'single', // Length 'length-zero-no-unit': true, - // Unit - 'unit-case': 'lower', - // Value 'value-keyword-case': 'lower', - // Value list - 'value-list-comma-newline-after': null, - 'value-list-comma-newline-before': 'never-multi-line', - 'value-list-comma-space-after': 'always-single-line', - 'value-list-comma-space-before': 'never', - 'value-list-max-empty-lines': 0, - // Custom property 'custom-property-empty-line-before': 'never', - // Property - 'property-case': 'lower', - // Declaration - 'declaration-bang-space-after': 'never', - 'declaration-bang-space-before': 'always', - 'declaration-colon-newline-after': null, - 'declaration-colon-space-after': 'always', - 'declaration-colon-space-before': 'never', 'declaration-empty-line-before': [ 'always', { @@ -256,44 +223,11 @@ module.exports = }, ], - // Declaration block - 'declaration-block-semicolon-newline-after': 'always', - 'declaration-block-semicolon-newline-before': 'never-multi-line', - 'declaration-block-semicolon-space-after': 'always-single-line', - 'declaration-block-semicolon-space-before': 'never', - 'declaration-block-trailing-semicolon': 'always', - - // Block - 'block-closing-brace-empty-line-before': 'never', - 'block-closing-brace-newline-after': 'always', - 'block-closing-brace-newline-before': 'always', - 'block-closing-brace-space-after': 'always-single-line', - 'block-closing-brace-space-before': 'always-single-line', - 'block-opening-brace-newline-after': 'always', - 'block-opening-brace-newline-before': 'never-single-line', - 'block-opening-brace-space-after': 'never-single-line', - 'block-opening-brace-space-before': 'always', - // Selector - 'selector-attribute-brackets-space-inside': 'never', - 'selector-attribute-operator-space-after': 'never', - 'selector-attribute-operator-space-before': 'never', 'selector-attribute-quotes': 'always', - 'selector-combinator-space-after': 'always', - 'selector-combinator-space-before': 'always', - 'selector-descendant-combinator-no-non-space': true, - 'selector-pseudo-class-case': 'lower', - 'selector-pseudo-class-parentheses-space-inside': 'never', - 'selector-pseudo-element-case': 'lower', 'selector-pseudo-element-colon-notation': 'double', 'selector-type-case': 'lower', - // Selector list - 'selector-list-comma-newline-after': 'always', - 'selector-list-comma-newline-before': 'never-multi-line', - 'selector-list-comma-space-after': 'never-single-line', - 'selector-list-comma-space-before': 'never', - // Rule 'rule-empty-line-before': [ 'always', @@ -303,41 +237,125 @@ module.exports = }, ], - // Media feature - 'media-feature-colon-space-after': 'always', - 'media-feature-colon-space-before': 'never', - 'media-feature-name-case': 'lower', - 'media-feature-parentheses-space-inside': 'never', - 'media-feature-range-operator-space-after': 'always', - 'media-feature-range-operator-space-before': 'never', - - // Media query list - 'media-query-list-comma-newline-after': 'always-multi-line', - 'media-query-list-comma-newline-before': 'never-multi-line', - 'media-query-list-comma-space-after': 'always', - 'media-query-list-comma-space-before': 'never', - // At-rule 'at-rule-empty-line-before': null, - 'at-rule-name-case': 'lower', - 'at-rule-name-newline-after': null, - 'at-rule-name-space-after': 'always', - 'at-rule-semicolon-newline-after': 'always', - 'at-rule-semicolon-space-before': 'never', // Comment 'comment-empty-line-before': 'always', 'comment-whitespace-inside': 'always', + + // ------------------------------------------------------ Stylistic + // Selector + '@stylistic/selector-max-empty-lines': 0, + + // Color + '@stylistic/color-hex-case': 'lower', + + // Function + '@stylistic/function-comma-newline-after': null, + '@stylistic/function-comma-newline-before': 'always-multi-line', + '@stylistic/function-comma-space-after': 'always', + '@stylistic/function-comma-space-before': 'never', + '@stylistic/function-max-empty-lines': 0, + '@stylistic/function-parentheses-newline-inside': 'never-multi-line', + '@stylistic/function-parentheses-space-inside': 'never', + '@stylistic/function-whitespace-after': 'always', + + // Number + '@stylistic/number-leading-zero': null, + '@stylistic/number-no-trailing-zeros': true, + + // String + '@stylistic/string-quotes': 'single', + + // Unit + '@stylistic/unit-case': 'lower', + + // Value list + '@stylistic/value-list-comma-newline-after': null, + '@stylistic/value-list-comma-newline-before': 'never-multi-line', + '@stylistic/value-list-comma-space-after': 'always-single-line', + '@stylistic/value-list-comma-space-before': 'never', + '@stylistic/value-list-max-empty-lines': 0, + + // Property + '@stylistic/property-case': 'lower', + + // Declaration + '@stylistic/declaration-bang-space-after': 'never', + '@stylistic/declaration-bang-space-before': 'always', + '@stylistic/declaration-colon-newline-after': null, + '@stylistic/declaration-colon-space-after': 'always', + '@stylistic/declaration-colon-space-before': 'never', + + // Declaration block + '@stylistic/declaration-block-semicolon-newline-after': 'always', + '@stylistic/declaration-block-semicolon-newline-before': 'never-multi-line', + '@stylistic/declaration-block-semicolon-space-after': 'always-single-line', + '@stylistic/declaration-block-semicolon-space-before': 'never', + '@stylistic/declaration-block-trailing-semicolon': 'always', + + // Block + '@stylistic/block-closing-brace-empty-line-before': 'never', + '@stylistic/block-closing-brace-newline-after': 'always', + '@stylistic/block-closing-brace-newline-before': 'always', + '@stylistic/block-closing-brace-space-after': 'always-single-line', + '@stylistic/block-closing-brace-space-before': 'always-single-line', + '@stylistic/block-opening-brace-newline-after': 'always', + '@stylistic/block-opening-brace-newline-before': 'never-single-line', + '@stylistic/block-opening-brace-space-after': 'never-single-line', + '@stylistic/block-opening-brace-space-before': 'always', + + // Selector + '@stylistic/selector-attribute-brackets-space-inside': 'never', + '@stylistic/selector-attribute-operator-space-after': 'never', + '@stylistic/selector-attribute-operator-space-before': 'never', + '@stylistic/selector-combinator-space-after': 'always', + '@stylistic/selector-combinator-space-before': 'always', + '@stylistic/selector-descendant-combinator-no-non-space': true, + '@stylistic/selector-pseudo-class-case': 'lower', + '@stylistic/selector-pseudo-class-parentheses-space-inside': 'never', + '@stylistic/selector-pseudo-element-case': 'lower', + + // Selector list + '@stylistic/selector-list-comma-newline-after': 'always', + '@stylistic/selector-list-comma-newline-before': 'never-multi-line', + '@stylistic/selector-list-comma-space-after': 'never-single-line', + '@stylistic/selector-list-comma-space-before': 'never', + + // Media feature + '@stylistic/media-feature-colon-space-after': 'always', + '@stylistic/media-feature-colon-space-before': 'never', + '@stylistic/media-feature-name-case': 'lower', + '@stylistic/media-feature-parentheses-space-inside': 'never', + '@stylistic/media-feature-range-operator-space-after': 'always', + '@stylistic/media-feature-range-operator-space-before': 'never', + + // Media query list + '@stylistic/media-query-list-comma-newline-after': 'always-multi-line', + '@stylistic/media-query-list-comma-newline-before': 'never-multi-line', + '@stylistic/media-query-list-comma-space-after': 'always', + '@stylistic/media-query-list-comma-space-before': 'never', + + // At-rule + 'at-rule-empty-line-before': null, + '@stylistic/at-rule-name-case': 'lower', + '@stylistic/at-rule-name-newline-after': null, + '@stylistic/at-rule-name-space-after': 'always', + '@stylistic/at-rule-semicolon-newline-after': 'always', + '@stylistic/at-rule-semicolon-space-before': 'never', + // General / Sheet - indentation: 'tab', - linebreaks: 'unix', - 'max-empty-lines': 2, - 'max-line-length': null, - 'no-eol-whitespace': true, - 'no-missing-end-of-source-newline': true, - 'no-empty-first-line': true, - 'unicode-bom': 'never', + '@stylistic/indentation': 'tab', + '@stylistic/linebreaks': 'unix', + '@stylistic/max-empty-lines': 2, + '@stylistic/max-line-length': null, + '@stylistic/no-eol-whitespace': true, + '@stylistic/no-missing-end-of-source-newline': true, + '@stylistic/no-empty-first-line': true, + '@stylistic/no-extra-semicolons': true, + '@stylistic/unicode-bom': 'never', // ------------------------------------------------------ SCSS @@ -346,6 +364,8 @@ module.exports = * Stylelint SCSS Rules Reference: https://github.com/kristerkari/stylelint-scss */ + 'scss/load-no-partial-leading-underscore': true, + // @-each 'scss/at-each-key-value-single-line': true, @@ -369,7 +389,6 @@ module.exports = 'scss/at-if-no-null': true, // @-import - 'scss/at-import-no-partial-leading-underscore': true, 'scss/at-import-partial-extension': null, 'scss/at-import-partial-extension-blacklist': null, 'scss/at-import-partial-extension-whitelist': null, @@ -385,8 +404,8 @@ module.exports = 'scss/at-rule-no-unknown': [ true, { - 'ignoreAtRules': ['tailwind'] - } + 'ignoreAtRules': ['tailwind'], + }, ], // $-variable diff --git a/vite.build.config.mts b/vite.build.config.mts index aa404a3..cd0f43c 100644 --- a/vite.build.config.mts +++ b/vite.build.config.mts @@ -61,9 +61,6 @@ export default defineConfig({ vueTemplate: true, }), vue({ - script: { - defineModel: true, - }, template: { transformAssetUrls }, }), dts({ diff --git a/vite.config.mts b/vite.config.mts index 6716cf6..bc58419 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -40,9 +40,6 @@ export default defineConfig({ vueTemplate: true, }), vue({ - script: { - defineModel: true, - }, template: { transformAssetUrls } }), vuetify({