From 5eff6fe57a0995d5fbacb14447365e7498f6dd8d Mon Sep 17 00:00:00 2001 From: ahibis Date: Mon, 25 Apr 2022 13:46:57 +0300 Subject: [PATCH] v0.2.3 --- docs/assets/index.a5a741ea.js | 1 + docs/assets/index.bb6f1968.js | 1 - docs/assets/vendor.254d6a6a.js | 31 - ...endor.8d4900b1.css => vendor.879818f8.css} | 2 +- docs/assets/vendor.8ba99e43.js | 31 + docs/chart.js | 13 - docs/index.html | 14 +- docs/jquery-3.6.0.min.js | 2 + docs/jquery.min.js | 4 + docs/pixi-extract.js | 192 - docs/spline-editor.js | 416 + docs/sylvester.js | 1 + docs/underscore-min.js | 32 + index.html | 8 +- package.json | 3 +- public/jquery-3.6.0.min.js | 2 + public/jquery.min.js | 4 + public/spline-editor.js | 416 + public/sylvester.js | 1 + public/underscore-min.js | 32 + src/App.vue | 24 +- src/assets/engine.js | 20 + src/assets/lodash.js | 17112 ---------------- src/components/bar.vue | 16 +- src/components/{ => gui}/histogram.vue | 40 +- src/components/layerEdit.vue | 78 +- .../layers/gradientTransformation.vue | 14 + src/components/layers/params.vue | 62 + src/components/spriteEdit.vue | 31 +- src/components/spriteList.vue | 20 +- .../sprites/gradientTransformation.vue | 113 + .../sprites/gradientTransformationOld.vue | 68 + .../{windows => sprites}/params.vue | 0 .../windows/gradientTransformation.vue | 0 yarn.lock | 7 + 35 files changed, 1333 insertions(+), 17478 deletions(-) create mode 100644 docs/assets/index.a5a741ea.js delete mode 100644 docs/assets/index.bb6f1968.js delete mode 100644 docs/assets/vendor.254d6a6a.js rename docs/assets/{vendor.8d4900b1.css => vendor.879818f8.css} (75%) create mode 100644 docs/assets/vendor.8ba99e43.js delete mode 100644 docs/chart.js create mode 100644 docs/jquery-3.6.0.min.js create mode 100644 docs/jquery.min.js delete mode 100644 docs/pixi-extract.js create mode 100644 docs/spline-editor.js create mode 100644 docs/sylvester.js create mode 100644 docs/underscore-min.js create mode 100644 public/jquery-3.6.0.min.js create mode 100644 public/jquery.min.js create mode 100644 public/spline-editor.js create mode 100644 public/sylvester.js create mode 100644 public/underscore-min.js delete mode 100644 src/assets/lodash.js rename src/components/{ => gui}/histogram.vue (72%) create mode 100644 src/components/layers/gradientTransformation.vue create mode 100644 src/components/layers/params.vue create mode 100644 src/components/sprites/gradientTransformation.vue create mode 100644 src/components/sprites/gradientTransformationOld.vue rename src/components/{windows => sprites}/params.vue (100%) delete mode 100644 src/components/windows/gradientTransformation.vue diff --git a/docs/assets/index.a5a741ea.js b/docs/assets/index.a5a741ea.js new file mode 100644 index 0000000..b4a2b93 --- /dev/null +++ b/docs/assets/index.a5a741ea.js @@ -0,0 +1 @@ +var fe=Object.defineProperty;var he=(s,e,i)=>e in s?fe(s,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[e]=i;var y=(s,e,i)=>(he(s,typeof e!="symbol"?e+"":e,i),i);import{r as B,o as c,c as D,a as l,V as ae,u as C,b as Y,w as n,d,e as N,f as w,F as P,g as f,C as ge,p as xe,h as we,i as _e,L as le,j as Se,P as ne,k as ye,B as ve,l as X,m as v,n as be,q as T,s as ie,t as j,v as Ve,x as A,y as q,z as k,A as O,D as re,E as W,G as J,H as oe,I as H,J as G,K as z,M as Ie,N as Ce,O as ke,Q as $e,R as Ee,S as De,T as Le,U as Pe,W as R,X as Ue,Y as Ne,Z as Te,_ as Ae,$ as Be}from"./vendor.8ba99e43.js";const Me=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))a(t);new MutationObserver(t=>{for(const r of t)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function i(t){const r={};return t.integrity&&(r.integrity=t.integrity),t.referrerpolicy&&(r.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?r.credentials="include":t.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(t){if(t.ep)return;t.ep=!0;const r=i(t);fetch(t.href,r)}};Me();class Oe extends PIXI.Container{constructor(){super(...arguments);y(this,"Name","layer");y(this,"type","layer")}get r(){return(this.tint&16711680)/65536,(this.tint&16711680)/65536}set r(e){let i=e%256*65536+(65535&this.tint);this.tint=i}get g(){return(this.tint&65280)/256}set g(e){this.tint=e%256*256+(16711935&this.tint)}get b(){return this.tint&255}set b(e){this.tint=e%256+(16776960&this.tint)}}class Q extends PIXI.Sprite{constructor(){super(...arguments);y(this,"Name","picture");y(this,"type","sprite")}get r(){return(this.tint&16711680)/65536,(this.tint&16711680)/65536}set r(e){let i=e%256*65536+(65535&this.tint);this.tint=i}get g(){return(this.tint&65280)/256}set g(e){this.tint=e%256*256+(16711935&this.tint)}get b(){return this.tint&255}set b(e){this.tint=e%256+(16776960&this.tint)}pixels(){const e=this.texture.textureCacheIds[0],i=new Q;i.src=e,i.onload=function(){}}}class Fe{constructor(e,i){y(this,"sprites",[]);y(this,"textures",[]);y(this,"width",1080);y(this,"height",768);y(this,"ctx");y(this,"view");y(this,"app");y(this,"room");y(this,"extract");y(this,"_sprites",0);this.sprites=i;const a=new PIXI.Application({width:this.width,height:this.height,transparent:!0,resolution:window.devicePixelRatio||1});this.extract=a.renderer.extract,this.app=a,this.view=a.view;const{stage:t}=a;this.stage=t;const r=new Oe;r.Name="Main layer",r.id=0,t.addChild(r),this.room=r,i.push({Name:"Main layer",type:"layer",id:0}),this.ctx=this.view.getContext("webgl2"),e.appendChild(a.view)}loadImg(e){return new Promise((i,a)=>{let t=new Image;t.src=e,t.onload=r=>{i(t)}})}pixels(){return this.extract.pixels(this.app.stage)}pixelsToHistogram(e){const i=_.map(_.range(256),r=>0);let a=[i.slice(),i.slice(),i.slice(),i.slice()],t;for(let r=0;r(c(),D(P,null,[l(ae,{label:"name",modelValue:s.selectedSprite.Name,"onUpdate:modelValue":a[0]||(a[0]=t=>s.selectedSprite.Name=t),"hide-details":""},null,8,["modelValue"]),l(Y,{label:"blend mode",items:C(e),modelValue:s.selectedSprite.blendMode,"onUpdate:modelValue":a[1]||(a[1]=t=>s.selectedSprite.blendMode=t),"hide-details":""},null,8,["items","modelValue"]),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[Re]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"1080",step:"5","thumb-label":"","hide-details":"auto",color:"blue",modelValue:s.selectedSprite.width,"onUpdate:modelValue":a[2]||(a[2]=t=>s.selectedSprite.width=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[Xe]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.height,"onUpdate:modelValue":a[3]||(a[3]=t=>s.selectedSprite.height=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[je]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"255",step:"5","thumb-label":"",color:"red","hide-details":"auto",modelValue:s.selectedSprite.r,"onUpdate:modelValue":a[4]||(a[4]=t=>s.selectedSprite.r=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[Ke]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"255",step:"5","thumb-label":"",color:"green","hide-details":"auto",modelValue:s.selectedSprite.g,"onUpdate:modelValue":a[5]||(a[5]=t=>s.selectedSprite.g=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[He]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"255",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.b,"onUpdate:modelValue":a[6]||(a[6]=t=>s.selectedSprite.b=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{xs:"1",sm:"3"},{default:n(()=>[Ge]),_:1}),l(d,null,{default:n(()=>[l(N,{"hide-details":"auto",max:"1",min:"0",step:"0.05",color:"blue","thumb-label":"",modelValue:s.selectedSprite.alpha,"onUpdate:modelValue":a[7]||(a[7]=t=>s.selectedSprite.alpha=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[ze]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.x,"onUpdate:modelValue":a[8]||(a[8]=t=>s.selectedSprite.x=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[Ye]),_:1}),l(d,null,{default:n(()=>[l(N,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.y,"onUpdate:modelValue":a[9]||(a[9]=t=>s.selectedSprite.y=t)},null,8,["modelValue"])]),_:1})]),_:1})],64))}},Z={props:{chartId:{type:String,default:"bar-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]},data:{type:Array,default:()=>[_.map(_.range(256),s=>0),_.map(_.range(256),s=>0),_.map(_.range(256),s=>0),_.map(_.range(256),s=>0)]}},setup(s){const e=s;ge.register(xe,we,_e,le,Se,ne,ye,ve,le,ne);const i=X(t=>({labels:_.range(256),datasets:[{data:e.data[0],backgroundColor:"#F44336",label:"red"},{data:e.data[1],backgroundColor:"#4CAF50",label:"green"},{data:e.data[2],backgroundColor:"#2196F3",label:"blue"},{data:e.data[3].map(r=>~~(r/4)),backgroundColor:" #C0C0C0",label:"multiply"}]})),a=B({responsive:!0});return(t,r)=>(c(),v(C(be),{"chart-options":C(a),"chart-data":C(i),"chart-id":s.chartId,"dataset-id-key":s.datasetIdKey,plugins:s.plugins,"css-classes":s.cssClasses,styles:s.styles,width:s.width,height:s.height},null,8,["chart-options","chart-data","chart-id","dataset-id-key","plugins","css-classes","styles","width","height"]))}},We=k("div",{id:"spline",style:{width:"255px",height:"255px"}},null,-1),Je=k("canvas",{id:"cnv"},null,-1),Qe=f("mdi-content-save"),Ze={props:["selectedSprite"],setup(s){const{selectedSprite:e}=s;function i(p,...h){let S=new Date().getTime(),V=p(...h),x=new Date().getTime(),E=x-S,L=p.name;return{t1:S,t2:x,dt:E,res:V,name:L}}async function a(p){let{width:h,height:S}=p;const V=document.createElement("canvas");V.width=h,V.height=S;const x=V.getContext("2d");return x.drawImage(p,0,0,h,S),await x.getImageData(0,0,h,S).data}const t=_.map(_.range(256),p=>0),r=T([t,t,t,t]),o=T(!1),m=T(0);let u;ie(async p=>{const h=$("#spline"),S=e.texture.baseTexture.cacheId,V=await engine.loadImg(S),x=await a(V),{width:E,height:L}=V;u=document.getElementById("cnv"),u.width=E,u.height=L,u.style.width="100%";const de=u.getContext("2d");let K=_.map(_.range(256),b=>0);const ue=new GPU,{length:ce}=x;let me=ue.createKernel(function(b,M){const I=b[this.thread.x];return this.thread.x%4==3?I:M[I]},{output:[ce],graphical:!1});h.splineEditor({initialKnots:[[50,50],[100,100]]});function pe(b,M){const I=new Float32Array(b.length);for(let U=0;U(c(),D(P,null,[l(w,{justify:"center"},{default:n(()=>[We,Je]),_:1}),l(Z,{data:r.value},null,8,["data"]),f(" computed time "+j(m.value)+" ",1),l(w,{justify:"space-around"},{default:n(()=>[l(Ve,{label:"GPU on",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=S=>o.value=S),color:"green","hide-details":""},null,8,["modelValue"]),l(A,{icon:"",color:"primary",onClick:h[1]||(h[1]=S=>g())},{default:n(()=>[l(q,null,{default:n(()=>[Qe]),_:1})]),_:1})]),_:1})],64))}},et=k("div",{id:"spline",style:{width:"255px",height:"255px"}},null,-1),tt=k("canvas",{id:"cnv"},null,-1),lt=f("mdi-content-save"),nt={props:["selectedSprite"],setup(s){const{selectedSprite:e}=s;let i;ie(async t=>{const r=e.texture.textureCacheIds[0],o=await engine.loadImg(r);i=document.getElementById("cnv"),i.width=640,i.height=640,i.style.width="100%";const m=i.getContext("webgl2",{premultipliedAlpha:!1}),u=new GPU({canvas:i,context:m});let g=640,p=640,h=u.createKernel(function(x,E){const L=x[this.thread.y][this.thread.x];this.color(E[Math.floor(L[0]*256)],E[Math.floor(L[1]*256)],E[Math.floor(L[2]*256)],L[3])},{output:[g,p],graphical:!0});$("#spline").splineEditor({initialKnots:[[50,50],[100,100]]});let S=_.map(_.range(256),x=>0);function V(){new Date().getTime();for(let x=0;x<256;x+=1){let E=$("#spline").splineEditor("getY",x);S[x]=1-E/256}new Date().getTime(),h(o,S)}$("#spline").mousemove(function(x){!x.which||V()}),V()});function a(){i.toDataURL(),new Image,e.texture.baseTexture=new PIXI.BaseTexture(i)}return(t,r)=>(c(),D(P,null,[l(w,{justify:"center"},{default:n(()=>[et,tt]),_:1}),l(A,{icon:"",color:"primary",onClick:r[0]||(r[0]=o=>a())},{default:n(()=>[l(q,null,{default:n(()=>[lt]),_:1})]),_:1})],64))}},st=["src"],at={props:["selectedSprite"],setup(s){const e=T(0),i=B([{title:"params",value:0},{title:"gradient transformations",value:1},{title:"gradient transformations faster",value:2}]);return(a,t)=>s.selectedSprite?(c(),v(J,{key:0},{default:n(()=>[l(W,null,{default:n(()=>[l(w,{justify:"center"},{default:n(()=>[l(d,{sm:"8"},{default:n(()=>[s.selectedSprite.texture?(c(),D("img",{key:0,style:{width:"100%"},src:s.selectedSprite.texture.textureCacheIds[0]},null,8,st)):O("",!0)]),_:1})]),_:1}),l(Y,{label:"window",items:C(i),modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),"hide-details":""},null,8,["items","modelValue"]),l(re,{style:{margin:"10px 0px"}}),e.value==0?(c(),v(qe,{key:0,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):e.value==1?(c(),v(Ze,{key:1,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):e.value==2?(c(),v(nt,{key:2,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):O("",!0)]),_:1})]),_:1})):O("",!0)}},it=k("h2",null,"List of layers",-1),rt=["src"],ot=f(" mdi-delete "),dt=f(" add picture "),ut={props:["sprites","selectedSprite"],emits:["selectSprite"],setup(s,{emit:e}){const i=s,{sprites:a,selectedSprite:t}=i;function r(m){const[u]=a.splice(m,1),{room:g}=engine;g.children=g.children.filter(p=>p.id!=u.id)}function o(m){const u=document.createElement("input");u.type="file",u.multiple=!0,u.accept=".png,.jpg,.jpeg",u.onchange=function(g){console.log(g);const p=g.target.files;for(let h of p){const S=URL.createObjectURL(h);engine.addSprite(S)}},u.click()}return(m,u)=>(c(),D(P,null,[it,(c(!0),D(P,null,oe(C(a),(g,p)=>(c(),v(J,{key:p,onClick:h=>m.$emit("selectSprite",g)},{default:n(()=>[l(W,null,{default:n(()=>[l(w,{align:"center"},{default:n(()=>[g.texture?(c(),D(P,{key:0},[l(d,{cols:"2",sm:"3"},{default:n(()=>[k("img",{src:g.texture.textureCacheIds[0],style:{width:"100%"}},null,8,rt)]),_:2},1024),l(d,{cols:"8",sm:"6"},{default:n(()=>[f(j(g.Name),1)]),_:2},1024),l(d,{cols:"2",sm:"3"},{default:n(()=>[k("div",null,[l(A,{icon:"",onClick:h=>r(p),color:"red"},{default:n(()=>[l(q,null,{default:n(()=>[ot]),_:1})]),_:2},1032,["onClick"])])]),_:2},1024)],64)):(c(),v(d,{key:1},{default:n(()=>[f(j(g.Name),1)]),_:2},1024))]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),l(A,{color:"green",onClick:o},{default:n(()=>[dt]),_:1})],64))}},ct=f(" alpha "),mt=f(" width "),pt=f(" height "),ft={props:["selectedSprite"],setup(s){const{room:e}=engine,i=X({get:()=>e.alpha,set:r=>e.alpha=r}),a=X({get:()=>e.width,set:r=>e.width=r}),t=X({get:()=>e.height,set:r=>e.height=r});return(r,o)=>(c(),D(P,null,[l(ae,{label:"name",modelValue:s.selectedSprite.Name,"onUpdate:modelValue":o[0]||(o[0]=m=>s.selectedSprite.Name=m),"hide-details":""},null,8,["modelValue"]),l(w,null,{default:n(()=>[l(d,{xs:"1",sm:"3"},{default:n(()=>[ct]),_:1}),l(d,null,{default:n(()=>[H(k("input",{type:"range",max:"1",min:"0",step:"0.05",color:"blue","onUpdate:modelValue":o[1]||(o[1]=m=>z(i)?i.value=m:null)},null,512),[[G,C(i)]])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[mt]),_:1}),l(d,null,{default:n(()=>[H(k("input",{type:"range",min:"0",max:"1080",step:"5",color:"blue","onUpdate:modelValue":o[2]||(o[2]=m=>z(a)?a.value=m:null)},null,512),[[G,C(a)]])]),_:1})]),_:1}),l(w,null,{default:n(()=>[l(d,{sm:"3"},{default:n(()=>[pt]),_:1}),l(d,null,{default:n(()=>[H(k("input",{type:"range",min:"0",max:"1080",step:"5",color:"blue","thumb-label":"","onUpdate:modelValue":o[3]||(o[3]=m=>z(t)?t.value=m:null)},null,512),[[G,C(t)]])]),_:1})]),_:1})],64))}},ht=f("update histogram"),gt={props:["selectedSprite"],setup(s){const e=_.map(_.range(256),t=>0),i=T([e,e,e,e]);function a(){i.value=B(engine.histogram())}return(t,r)=>(c(),D(P,null,[l(Z,{data:i.value},null,8,["data"]),l(A,{color:"green",onClick:a},{default:n(()=>[ht]),_:1})],64))}},xt={props:["selectedSprite"],setup(s){const e=T(0),i=B([{title:"params",value:0},{title:"gradient transformations",value:1}]);return(a,t)=>s.selectedSprite?(c(),v(J,{key:0},{default:n(()=>[l(W,null,{default:n(()=>[l(Y,{label:"window",items:C(i),modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),"hide-details":""},null,8,["items","modelValue"]),l(re,{style:{margin:"10px 0px"}}),e.value==0?(c(),v(ft,{key:0,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):e.value==1?(c(),v(gt,{key:1,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):O("",!0)]),_:1})]),_:1})):O("",!0)}},wt=f(" options "),_t={emits:"switchDrawer",setup(s,{emit:e}){function i(){engine.downImg()}const a=B([{title:"download",func:i}]);function t(o){o.func&&o.func()}function r(){e("switchDrawer")}return(o,m)=>(c(),v(De,{"extension-height":"40"},{prepend:n(()=>[l(Ie,{onClick:r})]),append:n(()=>[]),default:n(()=>[l(Ee,null,{default:n(()=>[l(Ce,null,{activator:n(({props:u})=>[l(A,ke({color:"primary"},u),{default:n(()=>[wt]),_:2},1040)]),default:n(()=>[l($e,null,{default:n(()=>[(c(!0),D(P,null,oe(C(a),(u,g)=>(c(),v(Le,{key:g,value:u},{default:n(()=>[l(Pe,{onClick:p=>t(u)},{default:n(()=>[f(j(u.title),1)]),_:2},1032,["onClick"])]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})]),_:1}))}};var St=(s,e)=>{const i=s.__vccOpts||s;for(const[a,t]of e)i[a]=t;return i};const yt={components:{spriteList:ut,spriteEdit:at,LayerEdit:xt,bar:_t,Histogram:Z},data(){return{imgs:[],selectedSprite:void 0,drawer:!1}},methods:{selectSprite(s){this.selectedSprite=s,this.drawer=!1},switchDrawer(){this.drawer=!!(1-this.drawer)}},mounted(){engine=new Fe(document.getElementById("window"),this.imgs),this.engine=engine,vm=this}},vt=k("div",{id:"window"},null,-1);function bt(s,e,i,a,t,r){const o=R("bar"),m=R("sprite-list"),u=R("layer-edit"),g=R("sprite-edit");return c(),v(Ue,null,{default:n(()=>[l(o,{onSwitchDrawer:r.switchDrawer},null,8,["onSwitchDrawer"]),l(Ne,{modelValue:t.drawer,"onUpdate:modelValue":e[0]||(e[0]=p=>t.drawer=p),absolute:"",bottom:"",temporary:""},{default:n(()=>[l(m,{sprites:t.imgs,onSelectSprite:r.selectSprite,selectedSprite:t.selectedSprite},null,8,["sprites","onSelectSprite","selectedSprite"])]),_:1},8,["modelValue"]),l(Te,null,{default:n(()=>[l(w,null,{default:n(()=>[l(d,{sm:"8"},{default:n(()=>[vt]),_:1}),l(d,{sm:"4"},{default:n(()=>{var p;return[((p=t.selectedSprite)==null?void 0:p.type)=="layer"?(c(),v(u,{key:0,selectedSprite:t.selectedSprite},null,8,["selectedSprite"])):(c(),v(g,{key:1,selectedSprite:t.selectedSprite},null,8,["selectedSprite"])),l(m,{sprites:t.imgs,onSelectSprite:r.selectSprite,selectedSprite:t.selectedSprite},null,8,["sprites","onSelectSprite","selectedSprite"])]}),_:1})]),_:1})]),_:1})]),_:1})}var Vt=St(yt,[["render",bt]]);var It=Ae();const Ct="modulepreload",se={},kt="./",$t=function(e,i){return!i||i.length===0?e():Promise.all(i.map(a=>{if(a=`${kt}${a}`,a in se)return;se[a]=!0;const t=a.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${r}`))return;const o=document.createElement("link");if(o.rel=t?"stylesheet":Ct,t||(o.as="script",o.crossOrigin=""),o.href=a,document.head.appendChild(o),t)return new Promise((m,u)=>{o.addEventListener("load",m),o.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e())};async function Et(){(await $t(()=>import("./webfontloader.cd097671.js").then(function(e){return e.w}),[])).load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}Et();Be(Vt).use(It,{},!1,"bootstrap3").mount("#app"); diff --git a/docs/assets/index.bb6f1968.js b/docs/assets/index.bb6f1968.js deleted file mode 100644 index 797d047..0000000 --- a/docs/assets/index.bb6f1968.js +++ /dev/null @@ -1 +0,0 @@ -var X=Object.defineProperty;var j=(s,l,r)=>l in s?X(s,l,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[l]=r;var f=(s,l,r)=>(j(s,typeof l!="symbol"?l+"":l,r),r);import{r as L,o as c,c as b,a as e,V as T,u as x,b as R,w as i,d,e as S,f as p,F as v,g as m,h as A,i as g,j as C,k as K,l as O,m as B,n as H,p as U,q as V,s as q,t as P,v as z,x as k,y as N,z as $,A as D,B as W,C as Y,D as G,E as J,G as Q,H as Z,I as ee,J as te,K as le,L as se,M as ie,N as ae,O as ne,P as re,Q as oe,R as de,S as ue,T as w,U as ce,W as me,X as fe,Y as pe}from"./vendor.254d6a6a.js";const he=function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))a(t);new MutationObserver(t=>{for(const n of t)if(n.type==="childList")for(const o of n.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function r(t){const n={};return t.integrity&&(n.integrity=t.integrity),t.referrerpolicy&&(n.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?n.credentials="include":t.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function a(t){if(t.ep)return;t.ep=!0;const n=r(t);fetch(t.href,n)}};he();class ge extends PIXI.Container{constructor(){super(...arguments);f(this,"Name","layer");f(this,"type","layer")}get r(){return(this.tint&16711680)/65536,(this.tint&16711680)/65536}set r(l){let r=l%256*65536+(65535&this.tint);this.tint=r}get g(){return(this.tint&65280)/256}set g(l){this.tint=l%256*256+(16711935&this.tint)}get b(){return this.tint&255}set b(l){this.tint=l%256+(16776960&this.tint)}}class _e extends PIXI.Sprite{constructor(){super(...arguments);f(this,"Name","picture");f(this,"type","sprite")}get r(){return(this.tint&16711680)/65536,(this.tint&16711680)/65536}set r(l){let r=l%256*65536+(65535&this.tint);this.tint=r}get g(){return(this.tint&65280)/256}set g(l){this.tint=l%256*256+(16711935&this.tint)}get b(){return this.tint&255}set b(l){this.tint=l%256+(16776960&this.tint)}}class xe{constructor(l,r){f(this,"sprites",[]);f(this,"textures",[]);f(this,"width",1080);f(this,"height",768);f(this,"ctx");f(this,"view");f(this,"app");f(this,"room");f(this,"extract");f(this,"_sprites",0);this.sprites=r;const a=new PIXI.Application({width:this.width,height:this.height,transparent:!0,resolution:window.devicePixelRatio||1});this.extract=a.renderer.extract,this.app=a,this.view=a.view;const{stage:t}=a;this.stage=t;const n=new ge;n.Name="Main layer",n.id=0,t.addChild(n),this.room=n,r.push({Name:"Main layer",type:"layer",id:0}),this.ctx=this.view.getContext("webgl2"),l.appendChild(a.view)}pixels(){return this.extract.pixels(this.app.stage)}pixelsToHistogram(l){const r=_.map(_.range(256),n=>0);let a=[r.slice(),r.slice(),r.slice(),r.slice()],t;for(let n=0;n(c(),b(v,null,[e(T,{label:"name",modelValue:s.selectedSprite.Name,"onUpdate:modelValue":a[0]||(a[0]=t=>s.selectedSprite.Name=t),"hide-details":""},null,8,["modelValue"]),e(R,{label:"blend mode",items:x(l),modelValue:s.selectedSprite.blendMode,"onUpdate:modelValue":a[1]||(a[1]=t=>s.selectedSprite.blendMode=t),"hide-details":""},null,8,["items","modelValue"]),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Se]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"1080",step:"5","thumb-label":"","hide-details":"auto",color:"blue",modelValue:s.selectedSprite.width,"onUpdate:modelValue":a[2]||(a[2]=t=>s.selectedSprite.width=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[ye]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.height,"onUpdate:modelValue":a[3]||(a[3]=t=>s.selectedSprite.height=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[be]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"255",step:"5","thumb-label":"",color:"red","hide-details":"auto",modelValue:s.selectedSprite.r,"onUpdate:modelValue":a[4]||(a[4]=t=>s.selectedSprite.r=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Ve]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"255",step:"5","thumb-label":"",color:"green","hide-details":"auto",modelValue:s.selectedSprite.g,"onUpdate:modelValue":a[5]||(a[5]=t=>s.selectedSprite.g=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[we]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"255",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.b,"onUpdate:modelValue":a[6]||(a[6]=t=>s.selectedSprite.b=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{xs:"1",sm:"3"},{default:i(()=>[ve]),_:1}),e(d,null,{default:i(()=>[e(S,{"hide-details":"auto",max:"1",min:"0",step:"0.05",color:"blue","thumb-label":"",modelValue:s.selectedSprite.alpha,"onUpdate:modelValue":a[7]||(a[7]=t=>s.selectedSprite.alpha=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Ie]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.x,"onUpdate:modelValue":a[8]||(a[8]=t=>s.selectedSprite.x=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Ce]),_:1}),e(d,null,{default:i(()=>[e(S,{min:"0",max:"1080",step:"5","thumb-label":"",color:"blue","hide-details":"auto",modelValue:s.selectedSprite.y,"onUpdate:modelValue":a[9]||(a[9]=t=>s.selectedSprite.y=t)},null,8,["modelValue"])]),_:1})]),_:1})],64))}},Le={},Ee=["src"],Ne={props:["selectedSprite"],setup(s){const l=A(0),r=L([{title:"params",value:0}]);return(a,t)=>s.selectedSprite?(c(),g(B,{key:0},{default:i(()=>[e(O,null,{default:i(()=>[e(p,{justify:"center"},{default:i(()=>[e(d,{sm:"8"},{default:i(()=>[s.selectedSprite.texture?(c(),b("img",{key:0,style:{width:"100%"},src:s.selectedSprite.texture.textureCacheIds[0]},null,8,Ee)):C("",!0)]),_:1})]),_:1}),e(R,{label:"window",items:x(r),modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=n=>l.value=n),"hide-details":""},null,8,["items","modelValue"]),e(K,{style:{margin:"10px 0px"}}),l.value==0?(c(),g(ke,{key:0,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):l.value==1?(c(),g(Le,{key:1,selectedSprite:s.selectedSprite},null,8,["selectedSprite"])):C("",!0)]),_:1})]),_:1})):C("",!0)}},$e=V("h2",null,"List of layers",-1),De=m(" mdi-delete "),Ue=m(" add picture "),Pe={props:["sprites","selectedSprite"],emits:["selectSprite"],setup(s){const{sprites:l,selectedSprite:r}=s;A(r);function a(n){const[o]=l.splice(n,1),{room:u}=engine;u.children=u.children.filter(h=>h.id!=o.id)}function t(n){const o=document.createElement("input");o.type="file",o.multiple=!0,o.accept=".png,.jpg,.jpeg",o.onchange=function(u){console.log(u);const h=u.target.files;for(let y of h){const E=URL.createObjectURL(y);engine.addSprite(E)}},o.click()}return(n,o)=>(c(),b(v,null,[$e,(c(!0),b(v,null,H(s.sprites,(u,h)=>(c(),g(B,{key:h,onClick:y=>n.$emit("selectSprite",u)},{default:i(()=>[e(O,null,{default:i(()=>[e(p,{align:"center"},{default:i(()=>[u.texture?(c(),b(v,{key:0},[e(d,{cols:"2",sm:"3"},{default:i(()=>[e(q,{src:u.texture.textureCacheIds[0]},null,8,["src"])]),_:2},1024),e(d,{cols:"8",sm:"6"},{default:i(()=>[m(P(u.Name),1)]),_:2},1024),e(d,{cols:"2",sm:"3"},{default:i(()=>[V("div",null,[e(U,{icon:"",onClick:y=>a(h),color:"red"},{default:i(()=>[e(z,null,{default:i(()=>[De]),_:1})]),_:2},1032,["onClick"])])]),_:2},1024)],64)):(c(),g(d,{key:1},{default:i(()=>[m(P(u.Name),1)]),_:2},1024))]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),e(U,{color:"green",onClick:t},{default:i(()=>[Ue]),_:1})],64))}},Ae=m(" alpha "),Oe=m(" width "),Be=m(" height "),Me={props:["selectedSprite"],setup(s){const{room:l}=engine;A(l);const r=k({get:()=>l.alpha,set:n=>l.alpha=n}),a=k({get:()=>l.width,set:n=>l.width=n}),t=k({get:()=>l.height,set:n=>l.height=n});return(n,o)=>s.selectedSprite?(c(),g(B,{key:0},{default:i(()=>[e(O,null,{default:i(()=>[e(T,{label:"name",modelValue:s.selectedSprite.Name,"onUpdate:modelValue":o[0]||(o[0]=u=>s.selectedSprite.Name=u),"hide-details":""},null,8,["modelValue"]),e(p,null,{default:i(()=>[e(d,{xs:"1",sm:"3"},{default:i(()=>[Ae]),_:1}),e(d,null,{default:i(()=>[N(V("input",{type:"range",max:"1",min:"0",step:"0.05",color:"blue","onUpdate:modelValue":o[1]||(o[1]=u=>D(r)?r.value=u:null)},null,512),[[$,x(r)]])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Oe]),_:1}),e(d,null,{default:i(()=>[N(V("input",{type:"range",min:"0",max:"1080",step:"5",color:"blue","onUpdate:modelValue":o[2]||(o[2]=u=>D(a)?a.value=u:null)},null,512),[[$,x(a)]])]),_:1})]),_:1}),e(p,null,{default:i(()=>[e(d,{sm:"3"},{default:i(()=>[Be]),_:1}),e(d,null,{default:i(()=>[N(V("input",{type:"range",min:"0",max:"1080",step:"5",color:"blue","thumb-label":"","onUpdate:modelValue":o[3]||(o[3]=u=>D(t)?t.value=u:null)},null,512),[[$,x(t)]])]),_:1})]),_:1})]),_:1})]),_:1})):C("",!0)}},Fe=m(" options "),Te={emits:["drawHistogram"],setup(s,{emit:l}){function r(){engine.downImg()}const a=L([{title:"download",func:r},{title:"draw histogram",func:()=>l("drawHistogram")}]);function t(n){n.func&&n.func()}return(n,o)=>(c(),g(Z,{"extension-height":"40"},{prepend:i(()=>[e(W)]),append:i(()=>[]),default:i(()=>[e(Q,null,{default:i(()=>[e(Y,null,{activator:i(({props:u})=>[e(U,G({color:"primary"},u),{default:i(()=>[Fe]),_:2},1040)]),default:i(()=>[e(J,null,{default:i(()=>[(c(!0),b(v,null,H(x(a),(u,h)=>(c(),g(ee,{key:h,value:u},{default:i(()=>[e(te,{onClick:y=>t(u)},{default:i(()=>[m(P(u.title),1)]),_:2},1032,["onClick"])]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})]),_:1}))}},Re={props:{chartId:{type:String,default:"bar-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]},data:{type:Array,default:()=>[_.map(_.range(256),s=>0),_.map(_.range(256),s=>0),_.map(_.range(256),s=>0),_.map(_.range(256),s=>0)]}},setup(s){const l=s;le.register(se,ie,ae,ne,re,oe,de);const r=k(t=>({labels:_.range(256),datasets:[{data:l.data[0],borderColor:"#F44336",label:"red"},{data:l.data[1],borderColor:"#4CAF50",label:"green"},{data:l.data[2],borderColor:"#2196F3",label:"blue"},{data:l.data[3].map(n=>~~(n/4)),borderColor:"#3F51B5",label:"rgb"}]})),a=L({responsive:!0});return(t,n)=>(c(),g(x(ue),{"chart-options":x(a),"chart-data":x(r),"chart-id":s.chartId,"dataset-id-key":s.datasetIdKey,plugins:s.plugins,"css-classes":s.cssClasses,styles:s.styles,width:s.width,height:s.height},null,8,["chart-options","chart-data","chart-id","dataset-id-key","plugins","css-classes","styles","width","height"]))}};var He=(s,l)=>{const r=s.__vccOpts||s;for(const[a,t]of l)r[a]=t;return r};const I=_.map(_.range(256),s=>0),Xe={components:{spriteList:Pe,spriteEdit:Ne,LayerEdit:Me,bar:Te,Histogram:Re},data(){return{imgs:[],selectedSprite:void 0,histogramData:[I,I,I,I]}},methods:{selectSprite(s){this.selectedSprite=s},drawHistogram(){this.histogramData=engine.histogram()}},mounted(){engine=new xe(document.getElementById("window"),this.imgs),this.engine=engine,vm=this}},je=V("div",{id:"window"},null,-1);function Ke(s,l,r,a,t,n){const o=w("bar"),u=w("histogram"),h=w("layer-edit"),y=w("sprite-edit"),E=w("sprite-list");return c(),g(ce,null,{default:i(()=>[e(o,{onDrawHistogram:n.drawHistogram},null,8,["onDrawHistogram"]),e(me,null,{default:i(()=>[e(p,null,{default:i(()=>[e(d,{sm:"8"},{default:i(()=>[je,e(d,{md:"8"},{default:i(()=>[e(u,{data:t.histogramData},null,8,["data"])]),_:1})]),_:1}),e(d,{sm:"4"},{default:i(()=>{var M;return[((M=t.selectedSprite)==null?void 0:M.type)=="layer"?(c(),g(h,{key:0,selectedSprite:t.selectedSprite},null,8,["selectedSprite"])):(c(),g(y,{key:1,selectedSprite:t.selectedSprite},null,8,["selectedSprite"])),e(E,{sprites:t.imgs,onSelectSprite:n.selectSprite,selectedSprite:t.selectedSprite},null,8,["sprites","onSelectSprite","selectedSprite"])]}),_:1})]),_:1})]),_:1})]),_:1})}var qe=He(Xe,[["render",Ke]]);var ze=fe();const We="modulepreload",F={},Ye="./",Ge=function(l,r){return!r||r.length===0?l():Promise.all(r.map(a=>{if(a=`${Ye}${a}`,a in F)return;F[a]=!0;const t=a.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${n}`))return;const o=document.createElement("link");if(o.rel=t?"stylesheet":We,t||(o.as="script",o.crossOrigin=""),o.href=a,document.head.appendChild(o),t)return new Promise((u,h)=>{o.addEventListener("load",u),o.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>l())};async function Je(){(await Ge(()=>import("./webfontloader.cd097671.js").then(function(l){return l.w}),[])).load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}Je();pe(qe).use(ze,{},!1,"bootstrap3").mount("#app"); diff --git a/docs/assets/vendor.254d6a6a.js b/docs/assets/vendor.254d6a6a.js deleted file mode 100644 index 3f3b0f7..0000000 --- a/docs/assets/vendor.254d6a6a.js +++ /dev/null @@ -1,31 +0,0 @@ -var Ag=Object.defineProperty,Tg=Object.defineProperties;var Og=Object.getOwnPropertyDescriptors;var Es=Object.getOwnPropertySymbols;var Il=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable;var Dl=(t,e,n)=>e in t?Ag(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,M=(t,e)=>{for(var n in e||(e={}))Il.call(e,n)&&Dl(t,n,e[n]);if(Es)for(var n of Es(e))Rl.call(e,n)&&Dl(t,n,e[n]);return t},ut=(t,e)=>Tg(t,Og(e));var en=(t,e)=>{var n={};for(var i in t)Il.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&Es)for(var i of Es(t))e.indexOf(i)<0&&Rl.call(t,i)&&(n[i]=t[i]);return n};function ma(t,e){const n=Object.create(null),i=t.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const Eg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Lg=ma(Eg);function cd(t){return!!t||t===""}function pa(t){if(Q(t)){const e={};for(let n=0;n{if(n){const i=n.split(Ig);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function va(t){let e="";if(Lt(t))e=t;else if(Q(t))for(let n=0;nNn(n,e))}const Ow=t=>Lt(t)?t:t==null?"":Q(t)||Et(t)&&(t.toString===fd||!it(t.toString))?JSON.stringify(t,ud,2):String(t),ud=(t,e)=>e&&e.__v_isRef?ud(t,e.value):ai(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:xi(e)?{[`Set(${e.size})`]:[...e.values()]}:Et(e)&&!Q(e)&&!hd(e)?String(e):e,_t={},ri=[],Me=()=>{},Fg=()=>!1,Bg=/^on[^a-z]/,$o=t=>Bg.test(t),ya=t=>t.startsWith("onUpdate:"),Vt=Object.assign,_a=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Vg=Object.prototype.hasOwnProperty,ft=(t,e)=>Vg.call(t,e),Q=Array.isArray,ai=t=>Fo(t)==="[object Map]",xi=t=>Fo(t)==="[object Set]",$l=t=>t instanceof Date,it=t=>typeof t=="function",Lt=t=>typeof t=="string",xa=t=>typeof t=="symbol",Et=t=>t!==null&&typeof t=="object",dd=t=>Et(t)&&it(t.then)&&it(t.catch),fd=Object.prototype.toString,Fo=t=>fd.call(t),Ng=t=>Fo(t).slice(8,-1),hd=t=>Fo(t)==="[object Object]",Sa=t=>Lt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,no=ma(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},zg=/-(\w)/g,ve=Bo(t=>t.replace(zg,(e,n)=>n?n.toUpperCase():"")),Hg=/\B([A-Z])/g,Si=Bo(t=>t.replace(Hg,"-$1").toLowerCase()),gn=Bo(t=>t.charAt(0).toUpperCase()+t.slice(1)),io=Bo(t=>t?`on${gn(t)}`:""),rs=(t,e)=>!Object.is(t,e),so=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},as=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Fl;const Wg=()=>Fl||(Fl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Se;class gd{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Se&&(this.parent=Se,this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}run(e){if(this.active)try{return Se=this,e()}finally{Se=this.parent}}on(){Se=this}off(){Se=this.parent}stop(e){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},md=t=>(t.w&dn)>0,pd=t=>(t.n&dn)>0,Ug=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i{(c==="length"||c>=i)&&a.push(l)});else switch(n!==void 0&&a.push(r.get(n)),e){case"add":Q(t)?Sa(n)&&a.push(r.get("length")):(a.push(r.get($n)),ai(t)&&a.push(r.get(Er)));break;case"delete":Q(t)||(a.push(r.get($n)),ai(t)&&a.push(r.get(Er)));break;case"set":ai(t)&&a.push(r.get($n));break}if(a.length===1)a[0]&&Lr(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Lr(wa(l))}}function Lr(t,e){for(const n of Q(t)?t:[...t])(n!==Ie||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Kg=ma("__proto__,__v_isRef,__isVue"),yd=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(xa)),Xg=ka(),qg=ka(!1,!0),Gg=ka(!0),Vl=Zg();function Zg(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=nt(this);for(let o=0,r=this.length;o{t[e]=function(...n){Yn();const i=nt(this)[e].apply(this,n);return Kn(),i}}),t}function ka(t=!1,e=!1){return function(i,s,o){if(s==="__v_isReactive")return!t;if(s==="__v_isReadonly")return t;if(s==="__v_isShallow")return e;if(s==="__v_raw"&&o===(t?e?hm:Cd:e?wd:Sd).get(i))return i;const r=Q(i);if(!t&&r&&ft(Vl,s))return Reflect.get(Vl,s,o);const a=Reflect.get(i,s,o);return(xa(s)?yd.has(s):Kg(s))||(t||re(i,"get",s),e)?a:Mt(a)?!r||!Sa(s)?a.value:a:Et(a)?t?Aa(a):Ce(a):a}}const Jg=_d(),Qg=_d(!0);function _d(t=!1){return function(n,i,s,o){let r=n[i];if(ls(r)&&Mt(r)&&!Mt(s))return!1;if(!t&&!ls(s)&&(Md(s)||(s=nt(s),r=nt(r)),!Q(n)&&Mt(r)&&!Mt(s)))return r.value=s,!0;const a=Q(n)&&Sa(i)?Number(i)t,Vo=t=>Reflect.getPrototypeOf(t);function Ls(t,e,n=!1,i=!1){t=t.__v_raw;const s=nt(t),o=nt(e);e!==o&&!n&&re(s,"get",e),!n&&re(s,"get",o);const{has:r}=Vo(s),a=i?Ma:n?Oa:cs;if(r.call(s,e))return a(t.get(e));if(r.call(s,o))return a(t.get(o));t!==s&&t.get(e)}function Ds(t,e=!1){const n=this.__v_raw,i=nt(n),s=nt(t);return t!==s&&!e&&re(i,"has",t),!e&&re(i,"has",s),t===s?n.has(t):n.has(t)||n.has(s)}function Is(t,e=!1){return t=t.__v_raw,!e&&re(nt(t),"iterate",$n),Reflect.get(t,"size",t)}function Nl(t){t=nt(t);const e=nt(this);return Vo(e).has.call(e,t)||(e.add(t),Ge(e,"add",t,t)),this}function zl(t,e){e=nt(e);const n=nt(this),{has:i,get:s}=Vo(n);let o=i.call(n,t);o||(t=nt(t),o=i.call(n,t));const r=s.call(n,t);return n.set(t,e),o?rs(e,r)&&Ge(n,"set",t,e):Ge(n,"add",t,e),this}function Hl(t){const e=nt(this),{has:n,get:i}=Vo(e);let s=n.call(e,t);s||(t=nt(t),s=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return s&&Ge(e,"delete",t,void 0),o}function Wl(){const t=nt(this),e=t.size!==0,n=t.clear();return e&&Ge(t,"clear",void 0,void 0),n}function Rs(t,e){return function(i,s){const o=this,r=o.__v_raw,a=nt(r),l=e?Ma:t?Oa:cs;return!t&&re(a,"iterate",$n),r.forEach((c,u)=>i.call(s,l(c),l(u),o))}}function $s(t,e,n){return function(...i){const s=this.__v_raw,o=nt(s),r=ai(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=s[t](...i),u=n?Ma:e?Oa:cs;return!e&&re(o,"iterate",l?Er:$n),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function nn(t){return function(...e){return t==="delete"?!1:this}}function om(){const t={get(o){return Ls(this,o)},get size(){return Is(this)},has:Ds,add:Nl,set:zl,delete:Hl,clear:Wl,forEach:Rs(!1,!1)},e={get(o){return Ls(this,o,!1,!0)},get size(){return Is(this)},has:Ds,add:Nl,set:zl,delete:Hl,clear:Wl,forEach:Rs(!1,!0)},n={get(o){return Ls(this,o,!0)},get size(){return Is(this,!0)},has(o){return Ds.call(this,o,!0)},add:nn("add"),set:nn("set"),delete:nn("delete"),clear:nn("clear"),forEach:Rs(!0,!1)},i={get(o){return Ls(this,o,!0,!0)},get size(){return Is(this,!0)},has(o){return Ds.call(this,o,!0)},add:nn("add"),set:nn("set"),delete:nn("delete"),clear:nn("clear"),forEach:Rs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=$s(o,!1,!1),n[o]=$s(o,!0,!1),e[o]=$s(o,!1,!0),i[o]=$s(o,!0,!0)}),[t,n,e,i]}const[rm,am,lm,cm]=om();function Pa(t,e){const n=e?t?cm:lm:t?am:rm;return(i,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get(ft(n,s)&&s in i?n:i,s,o)}const um={get:Pa(!1,!1)},dm={get:Pa(!1,!0)},fm={get:Pa(!0,!1)},Sd=new WeakMap,wd=new WeakMap,Cd=new WeakMap,hm=new WeakMap;function gm(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mm(t){return t.__v_skip||!Object.isExtensible(t)?0:gm(Ng(t))}function Ce(t){return ls(t)?t:Ta(t,!1,xd,um,Sd)}function kd(t){return Ta(t,!1,sm,dm,wd)}function Aa(t){return Ta(t,!0,im,fm,Cd)}function Ta(t,e,n,i,s){if(!Et(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const r=mm(t);if(r===0)return t;const a=new Proxy(t,r===2?i:n);return s.set(t,a),a}function li(t){return ls(t)?li(t.__v_raw):!!(t&&t.__v_isReactive)}function ls(t){return!!(t&&t.__v_isReadonly)}function Md(t){return!!(t&&t.__v_isShallow)}function Ki(t){return li(t)||ls(t)}function nt(t){const e=t&&t.__v_raw;return e?nt(e):t}function Pd(t){return lo(t,"__v_skip",!0),t}const cs=t=>Et(t)?Ce(t):t,Oa=t=>Et(t)?Aa(t):t;function Ad(t){un&&Ie&&(t=nt(t),bd(t.dep||(t.dep=wa())))}function Td(t,e){t=nt(t),t.dep&&Lr(t.dep)}function Mt(t){return!!(t&&t.__v_isRef===!0)}function U(t){return Ed(t,!1)}function Od(t){return Ed(t,!0)}function Ed(t,e){return Mt(t)?t:new pm(t,e)}class pm{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:nt(e),this._value=n?e:cs(e)}get value(){return Ad(this),this._value}set value(e){e=this.__v_isShallow?e:nt(e),rs(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:cs(e),Td(this))}}function ci(t){return Mt(t)?t.value:t}const vm={get:(t,e,n)=>ci(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return Mt(s)&&!Mt(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function Ld(t){return li(t)?t:new Proxy(t,vm)}function Dd(t){const e=Q(t)?new Array(t.length):{};for(const n in t)e[n]=rt(t,n);return e}class bm{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function rt(t,e,n){const i=t[e];return Mt(i)?i:new bm(t,e,n)}class ym{constructor(e,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ca(e,()=>{this._dirty||(this._dirty=!0,Td(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const e=nt(this);return Ad(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function _m(t,e,n=!1){let i,s;const o=it(t);return o?(i=t,s=Me):(i=t.get,s=t.set),new ym(i,s,o||!s,n)}Promise.resolve();const Xi=[];function xm(t,...e){Yn();const n=Xi.length?Xi[Xi.length-1].component:null,i=n&&n.appContext.config.warnHandler,s=Sm();if(i)qe(i,n,11,[t+e.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${mf(n,o.type)}>`).join(` -`),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(` -`,...wm(s)),console.warn(...o)}Kn()}function Sm(){let t=Xi[Xi.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function wm(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[` -`],...Cm(n))}),e}function Cm({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,s=` at <${mf(t.component,t.type,i)}`,o=">"+n;return t.props?[s,...km(t.props),o]:[s+o]}function km(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Id(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Id(t,e,n){return Lt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Mt(e)?(e=Id(t,nt(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):it(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=nt(e),n?e:[`${t}=`,e])}function qe(t,e,n,i){let s;try{s=i?t(...i):t()}catch(o){No(o,e,n)}return s}function me(t,e,n,i){if(it(t)){const o=qe(t,e,n,i);return o&&dd(o)&&o.catch(r=>{No(r,e,n)}),o}const s=[];for(let o=0;o>>1;us(se[i])Ye&&se.splice(e,1)}function Bd(t,e,n,i){Q(t)?n.push(...t):(!e||!e.includes(t,t.allowRecurse?i+1:i))&&n.push(t),Fd()}function Tm(t){Bd(t,Wi,qi,si)}function Om(t){Bd(t,rn,Gi,oi)}function La(t,e=null){if(qi.length){for(Ir=e,Wi=[...new Set(qi)],qi.length=0,si=0;sius(n)-us(i)),oi=0;oit.id==null?1/0:t.id;function Nd(t){Dr=!1,co=!0,La(t),se.sort((n,i)=>us(n)-us(i));const e=Me;try{for(Ye=0;Yeh.trim()):d&&(s=n.map(as))}let a,l=i[a=io(e)]||i[a=io(ve(e))];!l&&o&&(l=i[a=io(Si(e))]),l&&me(l,t,6,s);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,me(c,t,6,s)}}function zd(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(s!==void 0)return s;const o=t.emits;let r={},a=!1;if(!it(t)){const l=c=>{const u=zd(c,e,!0);u&&(a=!0,Vt(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(i.set(t,null),null):(Q(o)?o.forEach(l=>r[l]=null):Vt(r,o),i.set(t,r),r)}function Da(t,e){return!t||!$o(e)?!1:(e=e.slice(2).replace(/Once$/,""),ft(t,e[0].toLowerCase()+e.slice(1))||ft(t,Si(e))||ft(t,e))}let he=null,Hd=null;function uo(t){const e=he;return he=t,Hd=t&&t.type.__scopeId||null,e}function Lm(t,e=he,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&ec(-1);const o=uo(e),r=t(...s);return uo(o),i._d&&ec(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function ar(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:o,propsOptions:[r],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:g,inheritAttrs:m}=t;let p,v;const _=uo(t);try{if(n.shapeFlag&4){const x=s||i;p=De(u.call(x,x,d,o,h,f,g)),v=l}else{const x=e;p=De(x.length>1?x(o,{attrs:l,slots:a,emit:c}):x(o,null)),v=e.props?l:Dm(l)}}catch(x){Ji.length=0,No(x,t,1),p=y($e)}let w=p;if(v&&m!==!1){const x=Object.keys(v),{shapeFlag:C}=w;x.length&&C&7&&(r&&x.some(ya)&&(v=Im(v,r)),w=mi(w,v))}return n.dirs&&(w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),p=w,uo(_),p}const Dm=t=>{let e;for(const n in t)(n==="class"||n==="style"||$o(n))&&((e||(e={}))[n]=t[n]);return e},Im=(t,e)=>{const n={};for(const i in t)(!ya(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function Rm(t,e,n){const{props:i,children:s,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?jl(i,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;function Bm(t,e){e&&e.pendingBranch?Q(t)?e.effects.push(...t):e.effects.push(t):Om(t)}function Qt(t,e){if(Bt){let n=Bt.provides;const i=Bt.parent&&Bt.parent.provides;i===n&&(n=Bt.provides=Object.create(i)),n[t]=e}}function Ot(t,e,n=!1){const i=Bt||he;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&it(e)?e.call(i.proxy):e}}function Ci(t,e){return Ia(t,null,e)}const Ul={};function At(t,e,n){return Ia(t,e,n)}function Ia(t,e,{immediate:n,deep:i,flush:s,onTrack:o,onTrigger:r}=_t){const a=Bt;let l,c=!1,u=!1;if(Mt(t)?(l=()=>t.value,c=Md(t)):li(t)?(l=()=>t,i=!0):Q(t)?(u=!0,c=t.some(li),l=()=>t.map(v=>{if(Mt(v))return v.value;if(li(v))return Dn(v);if(it(v))return qe(v,a,2)})):it(t)?e?l=()=>qe(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),me(t,a,3,[f])}:l=Me,e&&i){const v=l;l=()=>Dn(v())}let d,f=v=>{d=p.onStop=()=>{qe(v,a,4)}};if(hs)return f=Me,e?n&&me(e,a,3,[l(),u?[]:void 0,f]):l(),Me;let h=u?[]:Ul;const g=()=>{if(!!p.active)if(e){const v=p.run();(i||c||(u?v.some((_,w)=>rs(_,h[w])):rs(v,h)))&&(d&&d(),me(e,a,3,[v,h===Ul?void 0:h,f]),h=v)}else p.run()};g.allowRecurse=!!e;let m;s==="sync"?m=g:s==="post"?m=()=>Gt(g,a&&a.suspense):m=()=>{!a||a.isMounted?Tm(g):g()};const p=new Ca(l,m);return e?n?g():h=p.run():s==="post"?Gt(p.run.bind(p),a&&a.suspense):p.run(),()=>{p.stop(),a&&a.scope&&_a(a.scope.effects,p)}}function Vm(t,e,n){const i=this.proxy,s=Lt(t)?t.includes(".")?Wd(i,t):()=>i[t]:t.bind(i,i);let o;it(e)?o=e:(o=e.handler,n=e);const r=Bt;pi(this);const a=Ia(s,o.bind(i),n);return r?pi(r):Bn(),a}function Wd(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s{Dn(n,e)});else if(hd(t))for(const n in t)Dn(t[n],e);return t}function jd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pn(()=>{t.isMounted=!0}),ye(()=>{t.isUnmounting=!0}),t}const ce=[Function,Array],Nm={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ce,onEnter:ce,onAfterEnter:ce,onEnterCancelled:ce,onBeforeLeave:ce,onLeave:ce,onAfterLeave:ce,onLeaveCancelled:ce,onBeforeAppear:ce,onAppear:ce,onAfterAppear:ce,onAppearCancelled:ce},setup(t,{slots:e}){const n=jo(),i=jd();let s;return()=>{const o=e.default&&Ra(e.default(),!0);if(!o||!o.length)return;const r=nt(t),{mode:a}=r,l=o[0];if(i.isLeaving)return lr(l);const c=Yl(l);if(!c)return lr(l);const u=ds(c,r,i,n);fs(c,u);const d=n.subTree,f=d&&Yl(d);let h=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();s===void 0?s=m:m!==s&&(s=m,h=!0)}if(f&&f.type!==$e&&(!En(c,f)||h)){const m=ds(f,r,i,n);if(fs(f,m),a==="out-in")return i.isLeaving=!0,m.afterLeave=()=>{i.isLeaving=!1,n.update()},lr(l);a==="in-out"&&c.type!==$e&&(m.delayLeave=(p,v,_)=>{const w=Yd(i,f);w[String(f.key)]=f,p._leaveCb=()=>{v(),p._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=_})}return l}}},Ud=Nm;function Yd(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function ds(t,e,n,i){const{appear:s,mode:o,persisted:r=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:p,onAfterAppear:v,onAppearCancelled:_}=e,w=String(t.key),x=Yd(n,t),C=(S,A)=>{S&&me(S,i,9,A)},O={mode:o,persisted:r,beforeEnter(S){let A=a;if(!n.isMounted)if(s)A=m||a;else return;S._leaveCb&&S._leaveCb(!0);const T=x[w];T&&En(t,T)&&T.el._leaveCb&&T.el._leaveCb(),C(A,[S])},enter(S){let A=l,T=c,D=u;if(!n.isMounted)if(s)A=p||l,T=v||c,D=_||u;else return;let I=!1;const E=S._enterCb=W=>{I||(I=!0,W?C(D,[S]):C(T,[S]),O.delayedLeave&&O.delayedLeave(),S._enterCb=void 0)};A?(A(S,E),A.length<=1&&E()):E()},leave(S,A){const T=String(t.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return A();C(d,[S]);let D=!1;const I=S._leaveCb=E=>{D||(D=!0,A(),E?C(g,[S]):C(h,[S]),S._leaveCb=void 0,x[T]===t&&delete x[T])};x[T]=t,f?(f(S,I),f.length<=1&&I()):I()},clone(S){return ds(S,e,n,i)}};return O}function lr(t){if(zo(t))return t=mi(t),t.children=null,t}function Yl(t){return zo(t)?t.children?t.children[0]:void 0:t}function fs(t,e){t.shapeFlag&6&&t.component?fs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ra(t,e=!1){let n=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,zo=t=>t.type.__isKeepAlive;function Kd(t,e){qd(t,"a",e)}function Xd(t,e){qd(t,"da",e)}function qd(t,e,n=Bt){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(Ho(e,i,n),n){let s=n.parent;for(;s&&s.parent;)zo(s.parent.vnode)&&zm(i,e,n,s),s=s.parent}}function zm(t,e,n,i){const s=Ho(e,t,i,!0);Zd(()=>{_a(i[e],s)},n)}function Ho(t,e,n=Bt,i=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;Yn(),pi(n);const a=me(e,n,t,r);return Bn(),Kn(),a});return i?s.unshift(o):s.push(o),o}}const Je=t=>(e,n=Bt)=>(!hs||t==="sp")&&Ho(t,e,n),Fa=Je("bm"),pn=Je("m"),Hm=Je("bu"),Gd=Je("u"),ye=Je("bum"),Zd=Je("um"),Wm=Je("sp"),jm=Je("rtg"),Um=Je("rtc");function Ym(t,e=Bt){Ho("ec",t,e)}let $r=!0;function Km(t){const e=Qd(t),n=t.proxy,i=t.ctx;$r=!1,e.beforeCreate&&Kl(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:m,deactivated:p,beforeDestroy:v,beforeUnmount:_,destroyed:w,unmounted:x,render:C,renderTracked:O,renderTriggered:S,errorCaptured:A,serverPrefetch:T,expose:D,inheritAttrs:I,components:E,directives:W,filters:J}=e;if(c&&Xm(c,i,null,t.appContext.config.unwrapInjectedRef),r)for(const X in r){const q=r[X];it(q)&&(i[X]=q.bind(n))}if(s){const X=s.call(n,n);Et(X)&&(t.data=Ce(X))}if($r=!0,o)for(const X in o){const q=o[X],at=it(q)?q.bind(n,n):it(q.get)?q.get.bind(n,n):Me,gt=!it(q)&&it(q.set)?q.set.bind(n):Me,mt=P({get:at,set:gt});Object.defineProperty(i,X,{enumerable:!0,configurable:!0,get:()=>mt.value,set:Dt=>mt.value=Dt})}if(a)for(const X in a)Jd(a[X],i,n,X);if(l){const X=it(l)?l.call(n):l;Reflect.ownKeys(X).forEach(q=>{Qt(q,X[q])})}u&&Kl(u,t,"c");function V(X,q){Q(q)?q.forEach(at=>X(at.bind(n))):q&&X(q.bind(n))}if(V(Fa,d),V(pn,f),V(Hm,h),V(Gd,g),V(Kd,m),V(Xd,p),V(Ym,A),V(Um,O),V(jm,S),V(ye,_),V(Zd,x),V(Wm,T),Q(D))if(D.length){const X=t.exposed||(t.exposed={});D.forEach(q=>{Object.defineProperty(X,q,{get:()=>n[q],set:at=>n[q]=at})})}else t.exposed||(t.exposed={});C&&t.render===Me&&(t.render=C),I!=null&&(t.inheritAttrs=I),E&&(t.components=E),W&&(t.directives=W)}function Xm(t,e,n=Me,i=!1){Q(t)&&(t=Fr(t));for(const s in t){const o=t[s];let r;Et(o)?"default"in o?r=Ot(o.from||s,o.default,!0):r=Ot(o.from||s):r=Ot(o),Mt(r)&&i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):e[s]=r}}function Kl(t,e,n){me(Q(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function Jd(t,e,n,i){const s=i.includes(".")?Wd(n,i):()=>n[i];if(Lt(t)){const o=e[t];it(o)&&At(s,o)}else if(it(t))At(s,t.bind(n));else if(Et(t))if(Q(t))t.forEach(o=>Jd(o,e,n,i));else{const o=it(t.handler)?t.handler.bind(n):e[t.handler];it(o)&&At(s,o,t)}}function Qd(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(c=>fo(l,c,r,!0)),fo(l,e,r)),o.set(e,l),l}function fo(t,e,n,i=!1){const{mixins:s,extends:o}=e;o&&fo(t,o,n,!0),s&&s.forEach(r=>fo(t,r,n,!0));for(const r in e)if(!(i&&r==="expose")){const a=qm[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const qm={data:Xl,props:An,emits:An,methods:An,computed:An,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:An,directives:An,watch:Zm,provide:Xl,inject:Gm};function Xl(t,e){return e?t?function(){return Vt(it(t)?t.call(this,this):t,it(e)?e.call(this,this):e)}:e:t}function Gm(t,e){return An(Fr(t),Fr(e))}function Fr(t){if(Q(t)){const e={};for(let n=0;n0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=ef(d,e,!0);Vt(r,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return i.set(t,ri),ri;if(Q(o))for(let u=0;u-1,h[1]=m<0||g-1||ft(h,"default"))&&a.push(d)}}}const c=[r,a];return i.set(t,c),c}function ql(t){return t[0]!=="$"}function Gl(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Zl(t,e){return Gl(t)===Gl(e)}function Jl(t,e){return Q(e)?e.findIndex(n=>Zl(n,t)):it(e)&&Zl(e,t)?0:-1}const nf=t=>t[0]==="_"||t==="$stable",Ba=t=>Q(t)?t.map(De):[De(t)],tp=(t,e,n)=>{const i=Lm((...s)=>Ba(e(...s)),n);return i._c=!1,i},sf=(t,e,n)=>{const i=t._ctx;for(const s in t){if(nf(s))continue;const o=t[s];if(it(o))e[s]=tp(s,o,i);else if(o!=null){const r=Ba(o);e[s]=()=>r}}},of=(t,e)=>{const n=Ba(e);t.slots.default=()=>n},ep=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=nt(e),lo(e,"_",n)):sf(e,t.slots={})}else t.slots={},e&&of(t,e);lo(t.slots,Wo,1)},np=(t,e,n)=>{const{vnode:i,slots:s}=t;let o=!0,r=_t;if(i.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:(Vt(s,e),!n&&a===1&&delete s._):(o=!e.$stable,sf(e,s)),r=e}else e&&(of(t,e),r={default:1});if(o)for(const a in s)!nf(a)&&!(a in r)&&delete s[a]};function Jt(t,e){const n=he;if(n===null)return t;const i=n.proxy,s=t.dirs||(t.dirs=[]);for(let o=0;oVr(f,e&&(Q(e)?e[h]:e),n,i,s));return}if(Rr(i)&&!s)return;const o=i.shapeFlag&4?ja(i.component)||i.component.proxy:i.el,r=s?null:o,{i:a,r:l}=t,c=e&&e.r,u=a.refs===_t?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Lt(c)?(u[c]=null,ft(d,c)&&(d[c]=null)):Mt(c)&&(c.value=null)),it(l))qe(l,a,12,[r,u]);else{const f=Lt(l),h=Mt(l);if(f||h){const g=()=>{if(t.f){const m=f?u[l]:l.value;s?Q(m)&&_a(m,o):Q(m)?m.includes(o)||m.push(o):f?u[l]=[o]:(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=r,ft(d,l)&&(d[l]=r)):Mt(l)&&(l.value=r,t.k&&(u[t.k]=r))};r?(g.id=-1,Gt(g,n)):g()}}}const Gt=Bm;function op(t){return rp(t)}function rp(t,e){const n=Wg();n.__VUE__=!0;const{insert:i,remove:s,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Me,cloneNode:g,insertStaticContent:m}=t,p=(b,k,L,$=null,R=null,N=null,j=!1,B=null,z=!!k.dynamicChildren)=>{if(b===k)return;b&&!En(b,k)&&($=ti(b),Rt(b,R,N,!0),b=null),k.patchFlag===-2&&(z=!1,k.dynamicChildren=null);const{type:F,ref:G,shapeFlag:K}=k;switch(F){case Ha:v(b,k,L,$);break;case $e:_(b,k,L,$);break;case cr:b==null&&w(k,L,$,j);break;case It:W(b,k,L,$,R,N,j,B,z);break;default:K&1?O(b,k,L,$,R,N,j,B,z):K&6?J(b,k,L,$,R,N,j,B,z):(K&64||K&128)&&F.process(b,k,L,$,R,N,j,B,z,tn)}G!=null&&R&&Vr(G,b&&b.ref,N,k||b,!k)},v=(b,k,L,$)=>{if(b==null)i(k.el=a(k.children),L,$);else{const R=k.el=b.el;k.children!==b.children&&c(R,k.children)}},_=(b,k,L,$)=>{b==null?i(k.el=l(k.children||""),L,$):k.el=b.el},w=(b,k,L,$)=>{[b.el,b.anchor]=m(b.children,k,L,$,b.el,b.anchor)},x=({el:b,anchor:k},L,$)=>{let R;for(;b&&b!==k;)R=f(b),i(b,L,$),b=R;i(k,L,$)},C=({el:b,anchor:k})=>{let L;for(;b&&b!==k;)L=f(b),s(b),b=L;s(k)},O=(b,k,L,$,R,N,j,B,z)=>{j=j||k.type==="svg",b==null?S(k,L,$,R,N,j,B,z):D(b,k,R,N,j,B,z)},S=(b,k,L,$,R,N,j,B)=>{let z,F;const{type:G,props:K,shapeFlag:Z,transition:et,patchFlag:ct,dirs:kt}=b;if(b.el&&g!==void 0&&ct===-1)z=b.el=g(b.el);else{if(z=b.el=r(b.type,N,K&&K.is,K),Z&8?u(z,b.children):Z&16&&T(b.children,z,null,$,R,N&&G!=="foreignObject",j,B),kt&&wn(b,null,$,"created"),K){for(const wt in K)wt!=="value"&&!no(wt)&&o(z,wt,null,K[wt],N,b.children,$,R,ne);"value"in K&&o(z,"value",null,K.value),(F=K.onVnodeBeforeMount)&&Ee(F,$,b)}A(z,b,b.scopeId,j,$)}kt&&wn(b,null,$,"beforeMount");const yt=(!R||R&&!R.pendingBranch)&&et&&!et.persisted;yt&&et.beforeEnter(z),i(z,k,L),((F=K&&K.onVnodeMounted)||yt||kt)&&Gt(()=>{F&&Ee(F,$,b),yt&&et.enter(z),kt&&wn(b,null,$,"mounted")},R)},A=(b,k,L,$,R)=>{if(L&&h(b,L),$)for(let N=0;N<$.length;N++)h(b,$[N]);if(R){let N=R.subTree;if(k===N){const j=R.vnode;A(b,j,j.scopeId,j.slotScopeIds,R.parent)}}},T=(b,k,L,$,R,N,j,B,z=0)=>{for(let F=z;F{const B=k.el=b.el;let{patchFlag:z,dynamicChildren:F,dirs:G}=k;z|=b.patchFlag&16;const K=b.props||_t,Z=k.props||_t;let et;L&&Cn(L,!1),(et=Z.onVnodeBeforeUpdate)&&Ee(et,L,k,b),G&&wn(k,b,L,"beforeUpdate"),L&&Cn(L,!0);const ct=R&&k.type!=="foreignObject";if(F?I(b.dynamicChildren,F,B,L,$,ct,N):j||at(b,k,B,null,L,$,ct,N,!1),z>0){if(z&16)E(B,k,K,Z,L,$,R);else if(z&2&&K.class!==Z.class&&o(B,"class",null,Z.class,R),z&4&&o(B,"style",K.style,Z.style,R),z&8){const kt=k.dynamicProps;for(let yt=0;yt{et&&Ee(et,L,k,b),G&&wn(k,b,L,"updated")},$)},I=(b,k,L,$,R,N,j)=>{for(let B=0;B{if(L!==$){for(const B in $){if(no(B))continue;const z=$[B],F=L[B];z!==F&&B!=="value"&&o(b,B,F,z,j,k.children,R,N,ne)}if(L!==_t)for(const B in L)!no(B)&&!(B in $)&&o(b,B,L[B],null,j,k.children,R,N,ne);"value"in $&&o(b,"value",L.value,$.value)}},W=(b,k,L,$,R,N,j,B,z)=>{const F=k.el=b?b.el:a(""),G=k.anchor=b?b.anchor:a("");let{patchFlag:K,dynamicChildren:Z,slotScopeIds:et}=k;et&&(B=B?B.concat(et):et),b==null?(i(F,L,$),i(G,L,$),T(k.children,L,G,R,N,j,B,z)):K>0&&K&64&&Z&&b.dynamicChildren?(I(b.dynamicChildren,Z,L,R,N,j,B),(k.key!=null||R&&k===R.subTree)&&Va(b,k,!0)):at(b,k,L,G,R,N,j,B,z)},J=(b,k,L,$,R,N,j,B,z)=>{k.slotScopeIds=B,b==null?k.shapeFlag&512?R.ctx.activate(k,L,$,j,z):H(k,L,$,R,N,j,z):V(b,k,z)},H=(b,k,L,$,R,N,j)=>{const B=b.component=wp(b,$,R);if(zo(b)&&(B.ctx.renderer=tn),Cp(B),B.asyncDep){if(R&&R.registerDep(B,X),!b.el){const z=B.subTree=y($e);_(null,z,k,L)}return}X(B,b,k,L,R,N,j)},V=(b,k,L)=>{const $=k.component=b.component;if(Rm(b,k,L))if($.asyncDep&&!$.asyncResolved){q($,k,L);return}else $.next=k,Am($.update),$.update();else k.component=b.component,k.el=b.el,$.vnode=k},X=(b,k,L,$,R,N,j)=>{const B=()=>{if(b.isMounted){let{next:G,bu:K,u:Z,parent:et,vnode:ct}=b,kt=G,yt;Cn(b,!1),G?(G.el=ct.el,q(b,G,j)):G=ct,K&&so(K),(yt=G.props&&G.props.onVnodeBeforeUpdate)&&Ee(yt,et,G,ct),Cn(b,!0);const wt=ar(b),xe=b.subTree;b.subTree=wt,p(xe,wt,d(xe.el),ti(xe),b,R,N),G.el=wt.el,kt===null&&$m(b,wt.el),Z&&Gt(Z,R),(yt=G.props&&G.props.onVnodeUpdated)&&Gt(()=>Ee(yt,et,G,ct),R)}else{let G;const{el:K,props:Z}=k,{bm:et,m:ct,parent:kt}=b,yt=Rr(k);if(Cn(b,!1),et&&so(et),!yt&&(G=Z&&Z.onVnodeBeforeMount)&&Ee(G,kt,k),Cn(b,!0),K&&Oi){const wt=()=>{b.subTree=ar(b),Oi(K,b.subTree,b,R,null)};yt?k.type.__asyncLoader().then(()=>!b.isUnmounted&&wt()):wt()}else{const wt=b.subTree=ar(b);p(null,wt,L,$,b,R,N),k.el=wt.el}if(ct&&Gt(ct,R),!yt&&(G=Z&&Z.onVnodeMounted)){const wt=k;Gt(()=>Ee(G,kt,wt),R)}k.shapeFlag&256&&b.a&&Gt(b.a,R),b.isMounted=!0,k=L=$=null}},z=b.effect=new Ca(B,()=>$d(b.update),b.scope),F=b.update=z.run.bind(z);F.id=b.uid,Cn(b,!0),F()},q=(b,k,L)=>{k.component=b;const $=b.vnode.props;b.vnode=k,b.next=null,Qm(b,k.props,$,L),np(b,k.children,L),Yn(),La(void 0,b.update),Kn()},at=(b,k,L,$,R,N,j,B,z=!1)=>{const F=b&&b.children,G=b?b.shapeFlag:0,K=k.children,{patchFlag:Z,shapeFlag:et}=k;if(Z>0){if(Z&128){mt(F,K,L,$,R,N,j,B,z);return}else if(Z&256){gt(F,K,L,$,R,N,j,B,z);return}}et&8?(G&16&&ne(F,R,N),K!==F&&u(L,K)):G&16?et&16?mt(F,K,L,$,R,N,j,B,z):ne(F,R,N,!0):(G&8&&u(L,""),et&16&&T(K,L,$,R,N,j,B,z))},gt=(b,k,L,$,R,N,j,B,z)=>{b=b||ri,k=k||ri;const F=b.length,G=k.length,K=Math.min(F,G);let Z;for(Z=0;ZG?ne(b,R,N,!0,!1,K):T(k,L,$,R,N,j,B,z,K)},mt=(b,k,L,$,R,N,j,B,z)=>{let F=0;const G=k.length;let K=b.length-1,Z=G-1;for(;F<=K&&F<=Z;){const et=b[F],ct=k[F]=z?an(k[F]):De(k[F]);if(En(et,ct))p(et,ct,L,null,R,N,j,B,z);else break;F++}for(;F<=K&&F<=Z;){const et=b[K],ct=k[Z]=z?an(k[Z]):De(k[Z]);if(En(et,ct))p(et,ct,L,null,R,N,j,B,z);else break;K--,Z--}if(F>K){if(F<=Z){const et=Z+1,ct=etZ)for(;F<=K;)Rt(b[F],R,N,!0),F++;else{const et=F,ct=F,kt=new Map;for(F=ct;F<=Z;F++){const ie=k[F]=z?an(k[F]):De(k[F]);ie.key!=null&&kt.set(ie.key,F)}let yt,wt=0;const xe=Z-ct+1;let ei=!1,Ol=0;const Ei=new Array(xe);for(F=0;F=xe){Rt(ie,R,N,!0);continue}let Oe;if(ie.key!=null)Oe=kt.get(ie.key);else for(yt=ct;yt<=Z;yt++)if(Ei[yt-ct]===0&&En(ie,k[yt])){Oe=yt;break}Oe===void 0?Rt(ie,R,N,!0):(Ei[Oe-ct]=F+1,Oe>=Ol?Ol=Oe:ei=!0,p(ie,k[Oe],L,null,R,N,j,B,z),wt++)}const El=ei?ap(Ei):ri;for(yt=El.length-1,F=xe-1;F>=0;F--){const ie=ct+F,Oe=k[ie],Ll=ie+1{const{el:N,type:j,transition:B,children:z,shapeFlag:F}=b;if(F&6){Dt(b.component.subTree,k,L,$);return}if(F&128){b.suspense.move(k,L,$);return}if(F&64){j.move(b,k,L,tn);return}if(j===It){i(N,k,L);for(let K=0;KB.enter(N),R);else{const{leave:K,delayLeave:Z,afterLeave:et}=B,ct=()=>i(N,k,L),kt=()=>{K(N,()=>{ct(),et&&et()})};Z?Z(N,ct,kt):kt()}else i(N,k,L)},Rt=(b,k,L,$=!1,R=!1)=>{const{type:N,props:j,ref:B,children:z,dynamicChildren:F,shapeFlag:G,patchFlag:K,dirs:Z}=b;if(B!=null&&Vr(B,null,L,b,!0),G&256){k.ctx.deactivate(b);return}const et=G&1&&Z,ct=!Rr(b);let kt;if(ct&&(kt=j&&j.onVnodeBeforeUnmount)&&Ee(kt,k,b),G&6)ee(b.component,L,$);else{if(G&128){b.suspense.unmount(L,$);return}et&&wn(b,null,k,"beforeUnmount"),G&64?b.type.remove(b,k,L,R,tn,$):F&&(N!==It||K>0&&K&64)?ne(F,k,L,!1,!0):(N===It&&K&384||!R&&G&16)&&ne(z,k,L),$&&Y(b)}(ct&&(kt=j&&j.onVnodeUnmounted)||et)&&Gt(()=>{kt&&Ee(kt,k,b),et&&wn(b,null,k,"unmounted")},L)},Y=b=>{const{type:k,el:L,anchor:$,transition:R}=b;if(k===It){pt(L,$);return}if(k===cr){C(b);return}const N=()=>{s(L),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(b.shapeFlag&1&&R&&!R.persisted){const{leave:j,delayLeave:B}=R,z=()=>j(L,N);B?B(b.el,N,z):z()}else N()},pt=(b,k)=>{let L;for(;b!==k;)L=f(b),s(b),b=L;s(k)},ee=(b,k,L)=>{const{bum:$,scope:R,update:N,subTree:j,um:B}=b;$&&so($),R.stop(),N&&(N.active=!1,Rt(j,b,k,L)),B&&Gt(B,k),Gt(()=>{b.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},ne=(b,k,L,$=!1,R=!1,N=0)=>{for(let j=N;jb.shapeFlag&6?ti(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el),Os=(b,k,L)=>{b==null?k._vnode&&Rt(k._vnode,null,null,!0):p(k._vnode||null,b,k,null,null,null,L),Vd(),k._vnode=b},tn={p,um:Rt,m:Dt,r:Y,mt:H,mc:T,pc:at,pbc:I,n:ti,o:t};let Ti,Oi;return e&&([Ti,Oi]=e(tn)),{render:Os,hydrate:Ti,createApp:sp(Os,Ti)}}function Cn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Va(t,e,n=!1){const i=t.children,s=e.children;if(Q(i)&&Q(s))for(let o=0;o>1,t[n[a]]0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}const lp=t=>t.__isTeleport,Zi=t=>t&&(t.disabled||t.disabled===""),Ql=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,Nr=(t,e)=>{const n=t&&t.to;return Lt(n)?e?e(n):null:n},cp={__isTeleport:!0,process(t,e,n,i,s,o,r,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:g,createText:m,createComment:p}}=c,v=Zi(e.props);let{shapeFlag:_,children:w,dynamicChildren:x}=e;if(t==null){const C=e.el=m(""),O=e.anchor=m("");h(C,n,i),h(O,n,i);const S=e.target=Nr(e.props,g),A=e.targetAnchor=m("");S&&(h(A,S),r=r||Ql(S));const T=(D,I)=>{_&16&&u(w,D,I,s,o,r,a,l)};v?T(n,O):S&&T(S,A)}else{e.el=t.el;const C=e.anchor=t.anchor,O=e.target=t.target,S=e.targetAnchor=t.targetAnchor,A=Zi(t.props),T=A?n:O,D=A?C:S;if(r=r||Ql(O),x?(f(t.dynamicChildren,x,T,s,o,r,a),Va(t,e,!0)):l||d(t,e,T,D,s,o,r,a,!1),v)A||Fs(e,n,C,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const I=e.target=Nr(e.props,g);I&&Fs(e,I,null,c,0)}else A&&Fs(e,O,S,c,1)}},remove(t,e,n,i,{um:s,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=t;if(d&&o(u),(r||!Zi(f))&&(o(c),a&16))for(let h=0;h0?Fn||ri:null,mp(),ho>0&&Fn&&Fn.push(t),t}function Lw(t,e,n,i,s,o){return lf(uf(t,e,n,i,s,o,!0))}function pp(t,e,n,i,s){return lf(y(t,e,n,i,s,!0))}function zr(t){return t?t.__v_isVNode===!0:!1}function En(t,e){return t.type===e.type&&t.key===e.key}const Wo="__vInternal",cf=({key:t})=>t!=null?t:null,oo=({ref:t,ref_key:e,ref_for:n})=>t!=null?Lt(t)||Mt(t)||it(t)?{i:he,r:t,k:e,f:!!n}:t:null;function uf(t,e=null,n=null,i=0,s=null,o=t===It?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&cf(e),ref:e&&oo(e),scopeId:Hd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(Wa(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=Lt(n)?8:16),ho>0&&!r&&Fn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Fn.push(l),l}const y=vp;function vp(t,e=null,n=null,i=0,s=null,o=!1){if((!t||t===af)&&(t=$e),zr(t)){const a=mi(t,e,!0);return n&&Wa(a,n),a}if(Op(t)&&(t=t.__vccOpts),e){e=bp(e);let{class:a,style:l}=e;a&&!Lt(a)&&(e.class=va(a)),Et(l)&&(Ki(l)&&!Q(l)&&(l=Vt({},l)),e.style=pa(l))}const r=Lt(t)?1:Fm(t)?128:lp(t)?64:Et(t)?4:it(t)?2:0;return uf(t,e,n,i,s,r,o,!0)}function bp(t){return t?Ki(t)||Wo in t?Vt({},t):t:null}function mi(t,e,n=!1){const{props:i,ref:s,patchFlag:o,children:r}=t,a=e?zt(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&cf(a),ref:e&&e.ref?n&&s?Q(s)?s.concat(oo(e)):[s,oo(e)]:oo(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==It?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mi(t.ssContent),ssFallback:t.ssFallback&&mi(t.ssFallback),el:t.el,anchor:t.anchor}}function df(t=" ",e=0){return y(Ha,null,t,e)}function Dw(t="",e=!1){return e?(gp(),pp($e,null,t)):y($e,null,t)}function De(t){return t==null||typeof t=="boolean"?y($e):Q(t)?y(It,null,t.slice()):typeof t=="object"?an(t):y(Ha,null,String(t))}function an(t){return t.el===null||t.memo?t:mi(t)}function Wa(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(Q(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),Wa(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(Wo in e)?e._ctx=he:s===3&&he&&(he.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else it(e)?(e={default:e,_ctx:he},n=32):(e=String(e),i&64?(n=16,e=[df(e)]):n=8);t.children=e,t.shapeFlag|=n}function zt(...t){const e={};for(let n=0;ne(r,a,void 0,o&&o[a]));else{const r=Object.keys(t);s=new Array(r.length);for(let a=0,l=r.length;at?ff(t)?ja(t)||t.proxy:Hr(t.parent):null,go=Vt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Hr(t.parent),$root:t=>Hr(t.root),$emit:t=>t.emit,$options:t=>Qd(t),$forceUpdate:t=>()=>$d(t.update),$nextTick:t=>mn.bind(t.proxy),$watch:t=>Vm.bind(t)}),_p={get({_:t},e){const{ctx:n,setupState:i,data:s,props:o,accessCache:r,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=r[e];if(h!==void 0)switch(h){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(i!==_t&&ft(i,e))return r[e]=1,i[e];if(s!==_t&&ft(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&ft(c,e))return r[e]=3,o[e];if(n!==_t&&ft(n,e))return r[e]=4,n[e];$r&&(r[e]=0)}}const u=go[e];let d,f;if(u)return e==="$attrs"&&re(t,"get",e),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==_t&&ft(n,e))return r[e]=4,n[e];if(f=l.config.globalProperties,ft(f,e))return f[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:o}=t;return s!==_t&&ft(s,e)?(s[e]=n,!0):i!==_t&&ft(i,e)?(i[e]=n,!0):ft(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:o}},r){let a;return!!n[r]||t!==_t&&ft(t,r)||e!==_t&&ft(e,r)||(a=o[0])&&ft(a,r)||ft(i,r)||ft(go,r)||ft(s.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?this.set(t,e,n.get(),null):n.value!=null&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},xp=rf();let Sp=0;function wp(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||xp,o={uid:Sp++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new gd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ef(i,s),emitsOptions:zd(i,s),emit:null,emitted:null,propsDefaults:_t,inheritAttrs:i.inheritAttrs,ctx:_t,data:_t,props:_t,attrs:_t,slots:_t,refs:_t,setupState:_t,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Em.bind(null,o),t.ce&&t.ce(o),o}let Bt=null;const jo=()=>Bt||he,pi=t=>{Bt=t,t.scope.on()},Bn=()=>{Bt&&Bt.scope.off(),Bt=null};function ff(t){return t.vnode.shapeFlag&4}let hs=!1;function Cp(t,e=!1){hs=e;const{props:n,children:i}=t.vnode,s=ff(t);Jm(t,n,s,e),ep(t,i);const o=s?kp(t,e):void 0;return hs=!1,o}function kp(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Pd(new Proxy(t.ctx,_p));const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?Pp(t):null;pi(t),Yn();const o=qe(i,t,0,[t.props,s]);if(Kn(),Bn(),dd(o)){if(o.then(Bn,Bn),e)return o.then(r=>{nc(t,r,e)}).catch(r=>{No(r,t,0)});t.asyncDep=o}else nc(t,o,e)}else hf(t,e)}function nc(t,e,n){it(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Et(e)&&(t.setupState=Ld(e)),hf(t,n)}let ic;function hf(t,e,n){const i=t.type;if(!t.render){if(!e&&ic&&!i.render){const s=i.template;if(s){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=Vt(Vt({isCustomElement:o,delimiters:a},r),l);i.render=ic(s,c)}}t.render=i.render||Me}pi(t),Yn(),Km(t),Kn(),Bn()}function Mp(t){return new Proxy(t.attrs,{get(e,n){return re(t,"get","$attrs"),e[n]}})}function Pp(t){const e=i=>{t.exposed=i||{}};let n;return{get attrs(){return n||(n=Mp(t))},slots:t.slots,emit:t.emit,expose:e}}function ja(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ld(Pd(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in go)return go[n](t)}}))}const Ap=/(?:^|[-_])(\w)/g,Tp=t=>t.replace(Ap,e=>e.toUpperCase()).replace(/[-_]/g,"");function gf(t){return it(t)&&t.displayName||t.name}function mf(t,e,n=!1){let i=gf(e);if(!i&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(i=s[1])}if(!i&&t&&t.parent){const s=o=>{for(const r in o)if(o[r]===e)return r};i=s(t.components||t.parent.type.components)||s(t.appContext.components)}return i?Tp(i):n?"App":"Anonymous"}function Op(t){return it(t)&&"__vccOpts"in t}const P=(t,e)=>_m(t,e,hs);function Pe(t,e,n){const i=arguments.length;return i===2?Et(e)&&!Q(e)?zr(e)?y(t,null,[e]):y(t,e):y(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&zr(n)&&(n=[n]),y(t,e,n))}const Ep="3.2.31",Lp="http://www.w3.org/2000/svg",Ln=typeof document!="undefined"?document:null,sc=Ln&&Ln.createElement("template"),Dp={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e?Ln.createElementNS(Lp,t):Ln.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>Ln.createTextNode(t),createComment:t=>Ln.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ln.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i,s,o){const r=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{sc.innerHTML=i?`${t}`:t;const a=sc.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Ip(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function Rp(t,e,n){const i=t.style,s=Lt(n);if(n&&!s){for(const o in n)Wr(i,o,n[o]);if(e&&!Lt(e))for(const o in e)n[o]==null&&Wr(i,o,"")}else{const o=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=o)}}const oc=/\s*!important$/;function Wr(t,e,n){if(Q(n))n.forEach(i=>Wr(t,e,i));else if(e.startsWith("--"))t.setProperty(e,n);else{const i=$p(t,e);oc.test(n)?t.setProperty(Si(i),n.replace(oc,""),"important"):t[i]=n}}const rc=["Webkit","Moz","ms"],ur={};function $p(t,e){const n=ur[e];if(n)return n;let i=ve(e);if(i!=="filter"&&i in t)return ur[e]=i;i=gn(i);for(let s=0;sdocument.createEvent("Event").timeStamp&&(mo=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);pf=!!(t&&Number(t[1])<=53)}let jr=0;const Vp=Promise.resolve(),Np=()=>{jr=0},zp=()=>jr||(Vp.then(Np),jr=mo());function Ke(t,e,n,i){t.addEventListener(e,n,i)}function Hp(t,e,n,i){t.removeEventListener(e,n,i)}function Wp(t,e,n,i,s=null){const o=t._vei||(t._vei={}),r=o[e];if(i&&r)r.value=i;else{const[a,l]=jp(e);if(i){const c=o[e]=Up(i,s);Ke(t,a,c,l)}else r&&(Hp(t,a,r,l),o[e]=void 0)}}const lc=/(?:Once|Passive|Capture)$/;function jp(t){let e;if(lc.test(t)){e={};let n;for(;n=t.match(lc);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Si(t.slice(2)),e]}function Up(t,e){const n=i=>{const s=i.timeStamp||mo();(pf||s>=n.attached-1)&&me(Yp(i,n.value),e,5,[i])};return n.value=t,n.attached=zp(),n}function Yp(t,e){if(Q(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const cc=/^on[a-z]/,Kp=(t,e,n,i,s=!1,o,r,a,l)=>{e==="class"?Ip(t,i,s):e==="style"?Rp(t,n,i):$o(e)?ya(e)||Wp(t,e,n,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Xp(t,e,i,s))?Bp(t,e,i,o,r,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),Fp(t,e,i,s))};function Xp(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&cc.test(e)&&it(n)):e==="spellcheck"||e==="draggable"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||cc.test(e)&&Lt(n)?!1:e in t}const sn="transition",Li="animation",Ze=(t,{slots:e})=>Pe(Ud,bf(t),e);Ze.displayName="Transition";const vf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qp=Ze.props=Vt({},Ud.props,vf),kn=(t,e=[])=>{Q(t)?t.forEach(n=>n(...e)):t&&t(...e)},uc=t=>t?Q(t)?t.some(e=>e.length>1):t.length>1:!1;function bf(t){const e={};for(const E in t)E in vf||(e[E]=t[E]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,g=Gp(s),m=g&&g[0],p=g&&g[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:C,onBeforeAppear:O=v,onAppear:S=_,onAppearCancelled:A=w}=e,T=(E,W,J)=>{Tn(E,W?u:a),Tn(E,W?c:r),J&&J()},D=(E,W)=>{Tn(E,h),Tn(E,f),W&&W()},I=E=>(W,J)=>{const H=E?S:_,V=()=>T(W,E,J);kn(H,[W,V]),dc(()=>{Tn(W,E?l:o),We(W,E?u:a),uc(H)||fc(W,i,m,V)})};return Vt(e,{onBeforeEnter(E){kn(v,[E]),We(E,o),We(E,r)},onBeforeAppear(E){kn(O,[E]),We(E,l),We(E,c)},onEnter:I(!1),onAppear:I(!0),onLeave(E,W){const J=()=>D(E,W);We(E,d),_f(),We(E,f),dc(()=>{Tn(E,d),We(E,h),uc(x)||fc(E,i,p,J)}),kn(x,[E,J])},onEnterCancelled(E){T(E,!1),kn(w,[E])},onAppearCancelled(E){T(E,!0),kn(A,[E])},onLeaveCancelled(E){D(E),kn(C,[E])}})}function Gp(t){if(t==null)return null;if(Et(t))return[dr(t.enter),dr(t.leave)];{const e=dr(t);return[e,e]}}function dr(t){return as(t)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function Tn(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function dc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Zp=0;function fc(t,e,n,i){const s=t._endId=++Zp,o=()=>{s===t._endId&&i()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=yf(t,e);if(!r)return i();const c=r+"end";let u=0;const d=()=>{t.removeEventListener(c,f),o()},f=h=>{h.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),s=i(sn+"Delay"),o=i(sn+"Duration"),r=hc(s,o),a=i(Li+"Delay"),l=i(Li+"Duration"),c=hc(a,l);let u=null,d=0,f=0;e===sn?r>0&&(u=sn,d=r,f=o.length):e===Li?c>0&&(u=Li,d=c,f=l.length):(d=Math.max(r,c),u=d>0?r>c?sn:Li:null,f=u?u===sn?o.length:l.length:0);const h=u===sn&&/\b(transform|all)(,|$)/.test(n[sn+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function hc(t,e){for(;t.lengthgc(n)+gc(t[i])))}function gc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function _f(){return document.body.offsetHeight}const xf=new WeakMap,Sf=new WeakMap,Jp={name:"TransitionGroup",props:Vt({},qp,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=jo(),i=jd();let s,o;return Gd(()=>{if(!s.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!iv(s[0].el,n.vnode.el,r))return;s.forEach(tv),s.forEach(ev);const a=s.filter(nv);_f(),a.forEach(l=>{const c=l.el,u=c.style;We(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,Tn(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=nt(t),a=bf(r);let l=r.tag||It;s=o,o=e.default?Ra(e.default()):[];for(let c=0;c{r.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(r=>r&&i.classList.add(r)),i.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(i);const{hasTransform:o}=yf(i);return s.removeChild(i),o}const fn=t=>{const e=t.props["onUpdate:modelValue"];return Q(e)?n=>so(e,n):e};function sv(t){t.target.composing=!0}function mc(t){const e=t.target;e.composing&&(e.composing=!1,ov(e,"input"))}function ov(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}const pc={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t._assign=fn(s);const o=i||s.props&&s.props.type==="number";Ke(t,e?"change":"input",r=>{if(r.target.composing)return;let a=t.value;n?a=a.trim():o&&(a=as(a)),t._assign(a)}),n&&Ke(t,"change",()=>{t.value=t.value.trim()}),e||(Ke(t,"compositionstart",sv),Ke(t,"compositionend",mc),Ke(t,"change",mc))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:s}},o){if(t._assign=fn(o),t.composing||document.activeElement===t&&(n||i&&t.value.trim()===e||(s||t.type==="number")&&as(t.value)===e))return;const r=e==null?"":e;t.value!==r&&(t.value=r)}},rv={deep:!0,created(t,e,n){t._assign=fn(n),Ke(t,"change",()=>{const i=t._modelValue,s=vi(t),o=t.checked,r=t._assign;if(Q(i)){const a=ba(i,s),l=a!==-1;if(o&&!l)r(i.concat(s));else if(!o&&l){const c=[...i];c.splice(a,1),r(c)}}else if(xi(i)){const a=new Set(i);o?a.add(s):a.delete(s),r(a)}else r(wf(t,o))})},mounted:vc,beforeUpdate(t,e,n){t._assign=fn(n),vc(t,e,n)}};function vc(t,{value:e,oldValue:n},i){t._modelValue=e,Q(e)?t.checked=ba(e,i.props.value)>-1:xi(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=Nn(e,wf(t,!0)))}const av={created(t,{value:e},n){t.checked=Nn(e,n.props.value),t._assign=fn(n),Ke(t,"change",()=>{t._assign(vi(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=fn(i),e!==n&&(t.checked=Nn(e,i.props.value))}},lv={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=xi(e);Ke(t,"change",()=>{const o=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>n?as(vi(r)):vi(r));t._assign(t.multiple?s?new Set(o):o:o[0])}),t._assign=fn(i)},mounted(t,{value:e}){bc(t,e)},beforeUpdate(t,e,n){t._assign=fn(n)},updated(t,{value:e}){bc(t,e)}};function bc(t,e){const n=t.multiple;if(!(n&&!Q(e)&&!xi(e))){for(let i=0,s=t.options.length;i-1:o.selected=e.has(r);else if(Nn(vi(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function vi(t){return"_value"in t?t._value:t.value}function wf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const cv={created(t,e,n){Bs(t,e,n,null,"created")},mounted(t,e,n){Bs(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Bs(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Bs(t,e,n,i,"updated")}};function Bs(t,e,n,i,s){let o;switch(t.tagName){case"SELECT":o=lv;break;case"TEXTAREA":o=pc;break;default:switch(n.props&&n.props.type){case"checkbox":o=rv;break;case"radio":o=av;break;default:o=pc}}const r=o[s];r&&r(t,e,n,i)}const Xn={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Di(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Di(t,!0),i.enter(t)):i.leave(t,()=>{Di(t,!1)}):Di(t,e))},beforeUnmount(t,{value:e}){Di(t,e)}};function Di(t,e){t.style.display=e?t._vod:"none"}const uv=Vt({patchProp:Kp},Dp);let yc;function dv(){return yc||(yc=op(uv))}const Rw=(...t)=>{const e=dv().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=fv(i);if(!s)return;const o=e._component;!it(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const r=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function fv(t){return Lt(t)?document.querySelector(t):t}class ro{constructor(e){let{x:n,y:i,width:s,height:o}=e;this.x=n,this.y=i,this.width=s,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Ua(t){const e=t.getBoundingClientRect(),n=getComputedStyle(t),i=n.transform;if(i){let s,o,r,a,l;if(i.startsWith("matrix3d("))s=i.slice(9,-1).split(/, /),o=+s[0],r=+s[5],a=+s[12],l=+s[13];else if(i.startsWith("matrix("))s=i.slice(7,-1).split(/, /),o=+s[0],r=+s[3],a=+s[4],l=+s[5];else return new ro(e);const c=n.transformOrigin,u=e.x-a-(1-o)*parseFloat(c),d=e.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),f=o?e.width/o:t.offsetWidth,h=r?e.height/r:t.offsetHeight;return new ro({x:u,y:d,width:f,height:h})}else return new ro(e)}function Cf(t,e,n){if(n&&(e={_isVue:!0,$parent:n,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return`[Vuetify] ${t}`+(e?mv(e):"")}function ui(t,e,n){const i=Cf(t,e,n);i!=null&&console.warn(i)}function _c(t,e,n){const i=Cf(t,e,n);i!=null&&console.error(i)}const hv=/(?:^|[-_])(\w)/g,gv=t=>t.replace(hv,e=>e.toUpperCase()).replace(/[-_]/g,"");function fr(t,e){if(t.$root===t)return"";const n=typeof t=="function"&&t.cid!=null?t.options:t._isVue?t.$options||t.constructor.options:t||{};let i=n.name||n._componentTag;const s=n.__file;if(!i&&s){const o=s.match(/([^/\\]+)\.vue$/);i=o==null?void 0:o[1]}return(i?`<${gv(i)}>`:"")+(s&&e!==!1?` at ${s}`:"")}function mv(t){if(t._isVue&&t.$parent){const e=[];let n=0;for(;t;){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){n++,t=t.$parent;continue}else n>0&&(e[e.length-1]=[i,n],n=0)}e.push(t),t=t.$parent}return` - -found in - -`+e.map((i,s)=>`${s===0?"---> ":" ".repeat(5+s*2)}${Array.isArray(i)?`${fr(i[0])}... (${i[1]} recursive calls)`:fr(i)}`).join(` -`)}else return` - -(found in ${fr(t)})`}function pv(t,e,n){const i=e.length-1;if(i<0)return t===void 0?n:t;for(let s=0;sYa(t[i],e[i]))}function xc(t,e,n){return t==null||!e||typeof e!="string"?n:t[e]!==void 0?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),pv(t,e.split("."),n))}function kf(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(n,i)=>e+i)}function tt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(t==null||t===""))return isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function Ur(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function vv(t){return t==null?void 0:t.$el}const Sc=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}),bv=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 Uo(t,e){const n=Object.create(null),i=Object.create(null);for(const s in t)e.some(o=>o instanceof RegExp?o.test(s):o===s)?n[s]=t[s]:i[s]=t[s];return[n,i]}function yv(t){return Uo(t,["class","style","id",/^data-/])}function gs(t){return t==null?[]:Array.isArray(t)?t:[t]}function Yr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(n,t))}function zn(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const s in t)i[s]=t[s];for(const s in e){const o=t[s],r=e[s];if(Ur(o)&&Ur(r)){i[s]=zn(o,r,n);continue}if(Array.isArray(o)&&Array.isArray(r)&&n){i[s]=n(o,r);continue}i[s]=r}return i}function Be(){return Be._uid++}Be._uid=0;function Mf(t){return t.map(e=>e.type===It?Mf(e.children):e).flat()}function Ka(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function Qi(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(n=>Qi(t,n)).flat(1);if(Array.isArray(e.children))return e.children.map(n=>Qi(t,n)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return Qi(t,e.component.subTree).flat(1)}return[]}const _v=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],xv=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,Sv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],wv=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Pf(t){const e=Array(3),n=xv,i=_v;for(let s=0;s<3;++s)e[s]=Math.round(Yr(n(i[s][0]*t[0]+i[s][1]*t[1]+i[s][2]*t[2]))*255);return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Xa(t){const e=[0,0,0],n=wv,i=Sv,s=n((t>>16&255)/255),o=n((t>>8&255)/255),r=n((t>>0&255)/255);for(let a=0;a<3;++a)e[a]=i[a][0]*s+i[a][1]*o+i[a][2]*r;return e}const po=.20689655172413793,Cv=t=>t>po**3?Math.cbrt(t):t/(3*po**2)+4/29,kv=t=>t>po?t**3:3*po**2*(t-4/29);function Af(t){const e=Cv,n=e(t[1]);return[116*n-16,500*(e(t[0]/.95047)-n),200*(n-e(t[2]/1.08883))]}function Tf(t){const e=kv,n=(t[0]+16)/116;return[e(n+t[1]/500)*.95047,e(n),e(n-t[2]/200)*1.08883]}function wc(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function vo(t){let e;if(typeof t=="number")e=t;else if(typeof t=="string"){let n=t.startsWith("#")?t.substring(1):t;n.length===3&&(n=n.split("").map(i=>i+i).join("")),n.length!==6&&ui(`'${t}' is not a valid rgb color`),e=parseInt(n,16)}else throw new TypeError(`Colors can only be numbers or strings, recieved ${t==null?t:t.constructor.name} instead`);return e<0?(ui(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(ui(`'${t}' is not a valid rgb color`),e=16777215),e}function Mv(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Cc(t){const e=vo(t);return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255}}function Pv(t,e){const n=Af(Xa(t));return n[0]=n[0]+e*10,Pf(Tf(n))}function Av(t,e){const n=Af(Xa(t));return n[0]=n[0]-e*10,Pf(Tf(n))}function Tv(t){const e=vo(t);return Xa(e)[1]}const bo=Symbol.for("vuetify:defaults");function Ov(t){return U(t!=null?t:{})}function Of(){const t=Ot(bo);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function qn(t,e){const n=Of(),i=U(t),s=P(()=>{const o=ci(e==null?void 0:e.scoped),r=ci(e==null?void 0:e.reset),a=ci(e==null?void 0:e.root);let l=zn(i.value,{prev:n.value});if(o)return l;if(r||a){const c=Number(r||1/0);for(let u=0;u<=c&&l.prev;u++)l=l.prev;return l}return zn(l.prev,l)});return Qt(bo,s),s}function Ev(t,e){var n,i;return((n=t.props)==null?void 0:n.hasOwnProperty(e))||((i=t.props)==null?void 0:i.hasOwnProperty(Ka(e)))}const ot=function(e){var n;if(e._setup=(n=e._setup)!=null?n:e.setup,!e.name)return ui("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){var i;e.props=(i=e.props)!=null?i:{},e.props._as=String,e.setup=function(o,r){const a=jo(),l=Of(),c=Od(),u=kd(M({},nt(o)));Ci(()=>{var h;const g=l.value.global,m=l.value[(h=o._as)!=null?h:e.name];if(m){const _=Object.entries(m).filter(w=>{let[x]=w;return x.startsWith("V")});_.length&&(c.value=Object.fromEntries(_))}for(const _ of Object.keys(o)){let w;if(Ev(a.vnode,_))w=o[_];else{var p,v;w=(p=(v=m==null?void 0:m[_])!=null?v:g==null?void 0:g[_])!=null?p:o[_]}u[_]!==w&&(u[_]=w)}});const d=e._setup(u,r);let f;return At(c,(h,g)=>{!h&&f?f.stop():h&&!g&&(f=Cs(),f.run(()=>{qn(h)}))},{immediate:!0}),d}}return e};function le(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?ot:$a)(e)}function Ae(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return ot({name:n!=null?n:gn(ve(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e}},setup(i,s){let{slots:o}=s;return()=>{var r;return Pe(i.tag,{class:t},(r=o.default)==null?void 0:r.call(o))}}})}function Ef(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Lf="cubic-bezier(0.4, 0, 0.2, 1)",Lv="cubic-bezier(0.0, 0, 0.2, 1)",Dv="cubic-bezier(0.4, 0, 1, 1)";function _e(t,e){const n=jo();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function Qe(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";return Ka((t=_e(e).type)==null?void 0:t.name)}function Df(t){for(;t;){if(qa(t))return t;t=t.parentElement}return document.scrollingElement}function Kr(t){const e=[];for(;t;)qa(t)&&e.push(t),t=t.parentElement;return e}function qa(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight}const Ft=typeof window!="undefined",Ga=Ft&&"IntersectionObserver"in window,Iv=Ft&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Rv=Ft&&CSS.supports("selector(:focus-visible)");function $v(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function dt(t,e){return n=>Object.keys(t).reduce((i,s)=>{const r=typeof t[s]=="object"&&t[s]!=null&&!Array.isArray(t[s])?t[s]:{type:t[s]};return n&&s in n?i[s]=ut(M({},r),{default:n[s]}):i[s]=r,e&&(i[s].source=e),i},{})}function Xt(t){const e=_e("useRender");e.render=t}const Wt=dt({tag:{type:String,default:"div"}},"tag"),Za=["sm","md","lg","xl","xxl"],If=(()=>Za.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),Rf=(()=>Za.reduce((t,e)=>(t["offset"+gn(e)]={type:[String,Number],default:null},t),{}))(),$f=(()=>Za.reduce((t,e)=>(t["order"+gn(e)]={type:[String,Number],default:null},t),{}))(),kc={col:Object.keys(If),offset:Object.keys(Rf),order:Object.keys($f)};function Fv(t,e,n){let i=t;if(!(n==null||n===!1))return e&&(i+=`-${e.replace(t,"")}`),t==="col"&&(i="v-"+i),t==="col"&&(n===""||n===!0)||(i+=`-${n}`),i.toLowerCase()}const $w=ot({name:"VCol",props:M(ut(M(ut(M(ut(M({cols:{type:[Boolean,String,Number],default:!1}},If),{offset:{type:[String,Number],default:null}}),Rf),{order:{type:[String,Number],default:null}}),$f),{alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)}}),Wt()),setup(t,e){let{slots:n}=e;const i=P(()=>{const s=[];let o;for(o in kc)kc[o].forEach(a=>{const l=t[a],c=Fv(o,a,l);c&&s.push(c)});const r=s.some(a=>a.startsWith("v-col-"));return s.push({"v-col":!r||!t.cols,[`v-col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),s});return()=>{var s;return Pe(t.tag,{class:i.value},(s=n.default)==null?void 0:s.call(n))}}}),Bv=["sm","md","lg","xl","xxl"],Ja=["start","end","center"];function Qa(t,e){return Bv.reduce((n,i)=>(n[t+gn(i)]=e(),n),{})}const Ff=t=>[...Ja,"baseline","stretch"].includes(t),Bf=Qa("align",()=>({type:String,default:null,validator:Ff})),Vf=t=>[...Ja,"space-between","space-around"].includes(t),Nf=Qa("justify",()=>({type:String,default:null,validator:Vf})),zf=t=>[...Ja,"space-between","space-around","stretch"].includes(t),Hf=Qa("alignContent",()=>({type:String,default:null,validator:zf})),Mc={align:Object.keys(Bf),justify:Object.keys(Nf),alignContent:Object.keys(Hf)},Vv={align:"align",justify:"justify",alignContent:"align-content"};function Nv(t,e,n){let i=Vv[t];if(n!=null)return e&&(i+=`-${e.replace(t,"")}`),i+=`-${n}`,i.toLowerCase()}const Fw=ot({name:"VRow",props:M(M(ut(M(ut(M({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Ff}},Bf),{justify:{type:String,default:null,validator:Vf}}),Nf),{alignContent:{type:String,default:null,validator:zf}}),Hf),Wt()),setup(t,e){let{slots:n}=e;const i=P(()=>{const s=[];let o;for(o in Mc)Mc[o].forEach(r=>{const a=t[r],l=Nv(o,r,a);l&&s.push(l)});return s.push({"v-row--no-gutters":t.noGutters,"v-row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),s});return()=>{var s;return Pe(t.tag,{class:["v-row",i.value]},(s=n.default)==null?void 0:s.call(n))}}});const Pc=["x-small","small","default","large","x-large"],Yo=dt({size:{type:[String,Number],default:"default"}},"size");function Ko(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();const n=P(()=>Pc.includes(t.size)?`${e}--size-${t.size}`:null),i=P(()=>!Pc.includes(t.size)&&t.size?{width:tt(t.size),height:tt(t.size)}:null);return{sizeClasses:n,sizeStyles:i}}const Xr=Symbol.for("vuetify:icons"),Xo=dt({icon:{type:[String,Object],required:!0},tag:{type:String,required:!0}},"icon"),zv=ot({name:"VComponentIcon",props:Xo(),setup(t){return()=>y(t.tag,null,{default:()=>[y(t.icon,null,null)]})}}),Hv=ot({name:"VSvgIcon",inheritAttrs:!1,props:Xo(),setup(t,e){let{attrs:n}=e;return()=>y(t.tag,zt(n,{style:null}),{default:()=>[y("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[y("path",{d:t.icon},null)])]})}});ot({name:"VLigatureIcon",props:Xo(),setup(t){return()=>y(t.tag,null,{default:()=>[t.icon]})}});const Wf=ot({name:"VClassIcon",props:Xo(),setup(t){return()=>y(t.tag,{class:t.icon},null)}}),Wv={svg:{component:Hv},class:{component:Wf}},jv=t=>{const e=Ot(Xr);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:P(()=>{const i=Mt(t)?t.value:t.icon;if(!i)throw new Error("Icon value is undefined or null");let s=i;if(typeof i=="string"&&i.includes("$")){var o;s=(o=e.aliases)==null?void 0:o[i.slice(i.indexOf("$")+1)]}if(!s)throw new Error(`Could not find aliased icon "${i}"`);if(typeof s!="string")return{component:zv,icon:s};const r=Object.keys(e.sets).find(c=>typeof s=="string"&&s.startsWith(`${c}:`)),a=r?s.slice(r.length+1):s;return{component:e.sets[r!=null?r:e.defaultSet].component,icon:a}})}};function tl(t){const e=P(()=>wc(t.value.background)),n=P(()=>wc(t.value.text)),i=P(()=>{const o=[];return t.value.background&&!e.value&&o.push(`bg-${t.value.background}`),t.value.text&&!n.value&&o.push(`text-${t.value.text}`),o}),s=P(()=>{const o={};return t.value.background&&e.value&&(o.backgroundColor=t.value.background),t.value.text&&n.value&&(o.color=t.value.text,o.caretColor=t.value.text),o});return{colorClasses:i,colorStyles:s}}function ki(t,e){const n=P(()=>({text:Mt(t)?t.value:e?t[e]:null})),{colorClasses:i,colorStyles:s}=tl(n);return{textColorClasses:i,textColorStyles:s}}function Fe(t,e){const n=P(()=>({background:Mt(t)?t.value:e?t[e]:null})),{colorClasses:i,colorStyles:s}=tl(n);return{backgroundColorClasses:i,backgroundColorStyles:s}}const ni=2.4,Ac=.2126729,Tc=.7151522,Oc=.072175,Uv=.55,Yv=.58,Kv=.57,Xv=.62,Vs=.03,Ec=1.45,qv=5e-4,Gv=1.25,Zv=1.25,Lc=.078,Dc=12.82051282051282,Ns=.06,Ic=.001;function Rc(t,e){const n=((t>>16&255)/255)**ni,i=((t>>8&255)/255)**ni,s=((t>>0&255)/255)**ni,o=((e>>16&255)/255)**ni,r=((e>>8&255)/255)**ni,a=((e>>0&255)/255)**ni;let l=n*Ac+i*Tc+s*Oc,c=o*Ac+r*Tc+a*Oc;if(l<=Vs&&(l+=(Vs-l)**Ec),c<=Vs&&(c+=(Vs-c)**Ec),Math.abs(c-l)l){const d=(c**Uv-l**Yv)*Gv;u=d-Ic?0:d>-Lc?d-d*Dc*Ns:d+Ns}return u*100}const yo=Symbol.for("vuetify:theme"),qt=dt({theme:String},"theme"),Ii={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#C2C2C2"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#BDBDBD","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#B7B7B7"}}}},Jv=function(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ii;if(!e)return ut(M({},Ii),{isDisabled:!0});const n=Object.entries((t=e.themes)!=null?t:{}).reduce((i,s)=>{var o,r;let[a,l]=s;const c=l.dark?(o=Ii.themes)==null?void 0:o.dark:(r=Ii.themes)==null?void 0:r.light;return i[a]=zn(c,l),i},{});return zn(Ii,ut(M({},e),{themes:n}))};function Qv(t,e){const n=t._context.provides.usehead,i=Jv(e),s=U(),o=U(i.defaultTheme),r=U(i.themes),a=U(i.variations),l=P(()=>Object.entries(r.value).reduce((h,g)=>{var m;let[p,v]=g;const _=ut(M({},v),{colors:M(M({},v.colors),((m=i.variations.colors)!=null?m:[]).reduce((w,x)=>M(M({},w),c(x,v.colors[x])),{}))});for(const w of Object.keys(_.colors)){if(/on-[a-z]/.test(w)||_.colors[`on-${w}`])continue;const x=`on-${w}`,C=vo(_.colors[w]),O=Math.abs(Rc(0,C)),S=Math.abs(Rc(16777215,C));_.colors[x]=S>Math.min(O,50)?"#fff":"#000"}return h[p]=_,h},{}));function c(h,g){const m={};for(const p of["lighten","darken"]){const v=p==="lighten"?Pv:Av;for(const _ of kf(a.value[p],1))m[`${h}-${p}-${_}`]=Mv(v(vo(g),_))}return m}const u=P(()=>{const h=[];for(const m of Object.keys(l.value)){const p=l.value[m].variables;h.push(...f(`.v-theme--${m}`,[...d(m),...Object.keys(p).map(v=>{const _=p[v],w=typeof _=="string"&&_.startsWith("#")?Cc(_):void 0,x=w?`${w.r}, ${w.g}, ${w.b}`:void 0;return`--v-${v}: ${x!=null?x:_}`})]))}const g=new Set(Object.values(l.value).flatMap(m=>Object.keys(m.colors)));for(const m of g)/on-[a-z]/.test(m)?h.push(...f(`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`])):h.push(...f(`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),...f(`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),...f(`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return h.map((m,p)=>p===0?m:` ${m}`).join("")});function d(h){const g=l.value[h];if(!g)throw new Error(`Could not find theme ${h}`);const m=g.dark?2:1,p=g.dark?1:2,v=[];for(const[_,w]of Object.entries(g.colors)){const x=Cc(w);v.push(`--v-theme-${_}: ${x.r},${x.g},${x.b}`),_.startsWith("on-")||v.push(`--v-theme-${_}-overlay-multiplier: ${Tv(w)>.18?m:p}`)}return v}function f(h,g){return[`${h} { -`,...g.map(m=>` ${m}; -`),`} -`]}if(n)n.addHeadObjs(P(()=>({style:[{children:u.value,type:"text/css",id:"vuetify-theme-stylesheet"}]}))),Ft&&Ci(()=>n.updateDOM());else{let h=function(){i.isDisabled||(g(),s.value&&(s.value.innerHTML=u.value))},g=function(){if(typeof document=="undefined"||s.value)return;const m=document.createElement("style");m.type="text/css",m.id="vuetify-theme-stylesheet",s.value=m,document.head.appendChild(s.value)};At(r,h,{deep:!0,immediate:!0})}return{isDisabled:i.isDisabled,themes:l,setTheme:(h,g)=>r.value[h]=g,getTheme:h=>l.value[h],current:o,themeClasses:P(()=>i.isDisabled?void 0:`v-theme--${o.value}`),styles:u}}function te(t){_e("provideTheme");const e=Ot(yo,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=P(()=>{var o;return(o=t.theme)!=null?o:e==null?void 0:e.current.value}),i=P(()=>e.isDisabled?void 0:`v-theme--${n.value}`),s=ut(M({},e),{current:n,themeClasses:i});return Qt(yo,s),s}const jf=dt(M(M(M({color:String,start:Boolean,end:Boolean,icon:{type:[String,Object]}},Yo()),Wt({tag:"i"})),qt()),"v-icon"),pe=ot({name:"VIcon",props:jf(),setup(t,e){let{slots:n}=e,i;n.default&&(i=P(()=>{var c,u;const d=(c=n.default)==null?void 0:c.call(n);if(!!d)return(u=Mf(d).filter(f=>f.children&&typeof f.children=="string")[0])==null?void 0:u.children}));const{themeClasses:s}=te(t),{iconData:o}=jv(i||t),{sizeClasses:r}=Ko(t),{textColorClasses:a,textColorStyles:l}=ki(rt(t,"color"));return()=>y(o.value.component,{tag:t.tag,icon:o.value.icon,class:["v-icon","notranslate",r.value,a.value,s.value,{"v-icon--start":t.start,"v-icon--end":t.end}],style:[r.value?void 0:{fontSize:tt(t.size),width:tt(t.size),height:tt(t.size)},l.value],"aria-hidden":"true"},null)}});const Mi=dt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Pi(t){return{dimensionStyles:P(()=>({height:tt(t.height),maxHeight:tt(t.maxHeight),maxWidth:tt(t.maxWidth),minHeight:tt(t.minHeight),minWidth:tt(t.minWidth),width:tt(t.width)}))}}function tb(t){return{aspectStyles:P(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const eb=ot({name:"VResponsive",props:M({aspectRatio:[String,Number],contentClass:String},Mi()),setup(t,e){let{slots:n}=e;const{dimensionStyles:i}=Pi(t),{aspectStyles:s}=tb(t);return()=>{var o;return y("div",{class:"v-responsive",style:i.value},[y("div",{class:"v-responsive__sizer",style:s.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&y("div",{class:["v-responsive__content",t.contentClass]},[n.default()])])}}});function nb(t,e){if(!Ga)return;const n=e.modifiers||{},i=e.value,{handler:s,options:o}=typeof i=="object"?i:{handler:i,options:{}},r=new IntersectionObserver(function(){var a;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;const u=(a=t._observe)==null?void 0:a[e.instance.$.uid];if(!u)return;const d=l.some(f=>f.isIntersecting);s&&(!n.quiet||u.init)&&(!n.once||d||u.init)&&s(d,l,c),d&&n.once?Uf(t,e):u.init=!0},o);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:r},r.observe(t)}function Uf(t,e){var n;const i=(n=t._observe)==null?void 0:n[e.instance.$.uid];!i||(i.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const ib={mounted:nb,unmounted:Uf};var Yf=ib;const Ai=dt({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),In=(t,e)=>{var n;let{slots:i}=e;const l=t,{transition:s}=l,o=en(l,["transition"]);if(!s||typeof s=="boolean")return(n=i.default)==null?void 0:n.call(i);const c=typeof s=="object"?s:{},{component:r=Ze}=c,a=en(c,["component"]);return Pe(r,zt(typeof s=="string"?{name:s}:a,o),i)},el=ot({name:"VImg",directives:{intersect:Yf},props:M({aspectRatio:[String,Number],alt:String,cover:Boolean,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:""},srcset:String,width:[String,Number]},Ai()),emits:["loadstart","load","error"],setup(t,e){let{emit:n,slots:i}=e;const s=U(""),o=U(),r=U(t.eager?"loading":"idle"),a=U(),l=U(),c=P(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),u=P(()=>c.value.aspect||a.value/l.value||0);At(()=>t.src,()=>{d(r.value!=="idle")}),Fa(()=>d());function d(S){if(!(t.eager&&S)&&!(Ga&&!S&&!t.eager)){if(r.value="loading",c.value.lazySrc){const A=new Image;A.src=c.value.lazySrc,m(A,null)}!c.value.src||mn(()=>{var A,T;if(n("loadstart",((A=o.value)==null?void 0:A.currentSrc)||c.value.src),(T=o.value)!=null&&T.complete){if(o.value.naturalWidth||h(),r.value==="error")return;u.value||m(o.value,null),f()}else u.value||m(o.value),g()})}}function f(){var S;g(),r.value="loaded",n("load",((S=o.value)==null?void 0:S.currentSrc)||c.value.src)}function h(){var S;r.value="error",n("error",((S=o.value)==null?void 0:S.currentSrc)||c.value.src)}function g(){const S=o.value;S&&(s.value=S.currentSrc||S.src)}function m(S){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const T=()=>{const{naturalHeight:D,naturalWidth:I}=S;D||I?(a.value=I,l.value=D):!S.complete&&r.value==="loading"&&A!=null?setTimeout(T,A):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,l.value=1)};T()}const p=P(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),v=P(()=>{var S;if(!c.value.src||r.value==="idle")return;const A=Pe("img",{class:["v-img__img",p.value],src:c.value.src,srcset:c.value.srcset,sizes:t.sizes,ref:o,onLoad:f,onError:h}),T=(S=i.sources)==null?void 0:S.call(i);return y(In,{transition:t.transition,appear:!0},{default:()=>[Jt(T?y("picture",{class:"v-img__picture"},[T,A]):A,[[Xn,r.value==="loaded"]])]})}),_=P(()=>y(In,{transition:t.transition},{default:()=>[c.value.lazySrc&&r.value!=="loaded"&&y("img",{class:["v-img__img","v-img__img--preload",p.value],src:c.value.lazySrc,alt:""},null)]})),w=P(()=>{if(!!i.placeholder)return y(In,{transition:t.transition,appear:!0},{default:()=>[(r.value==="loading"||r.value==="error"&&!i.error)&&y("div",{class:"v-img__placeholder"},[i.placeholder()])]})}),x=P(()=>{if(!!i.error)return y(In,{transition:t.transition,appear:!0},{default:()=>[r.value==="error"&&y("div",{class:"v-img__error"},[i.error()])]})}),C=P(()=>{if(!!t.gradient)return y("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null)}),O=U(!1);{const S=At(u,A=>{A&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{O.value=!0})}),S())})}return Xt(()=>Jt(y(eb,{class:["v-img",{"v-img--booting":!O.value}],style:{width:tt(t.width==="auto"?a.value:t.width)},aspectRatio:u.value,"aria-label":t.alt,role:t.alt?"img":void 0},{additional:()=>[v.value,_.value,C.value,w.value,x.value],default:i.default}),[[vn("intersect"),{handler:d,options:t.options},null,{once:!0}]])),{currentSrc:s,image:o,state:r,naturalWidth:a,naturalHeight:l}}}),sb=[null,"default","comfortable","compact"],bn=dt({density:{type:String,default:"default",validator:t=>sb.includes(t)}},"density");function yn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();return{densityClasses:P(()=>`${e}--density-${t.density}`)}}const Ve=dt({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();return{roundedClasses:P(()=>{const i=Mt(t)?t.value:t.rounded,s=[];if(i===!0||i==="")s.push(`${e}--rounded`);else if(typeof i=="string"||i===0)for(const o of String(i).split(" "))s.push(`rounded-${o}`);return s})}}const Kf=dt(M(M(M(M({color:String,start:Boolean,end:Boolean,icon:String,image:String},bn()),Ve()),Yo()),Wt())),ms=ot({name:"VAvatar",props:Kf(),setup(t,e){let{slots:n}=e;const{backgroundColorClasses:i,backgroundColorStyles:s}=Fe(rt(t,"color")),{densityClasses:o}=yn(t),{roundedClasses:r}=Ne(t),{sizeClasses:a,sizeStyles:l}=Ko(t);return Xt(()=>{var c;return y(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},i.value,o.value,r.value,a.value],style:[s.value,l.value]},{default:()=>[t.image?y(el,{src:t.image,alt:""},null):t.icon?y(pe,{icon:t.icon},null):(c=n.default)==null?void 0:c.call(n)]})}),{}}});function ae(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l=>l,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:l=>l;const o=_e("useProxiedModel"),r=P(()=>{var l,c;return!!(typeof t[e]!="undefined"&&(o!=null&&(l=o.vnode.props)!=null&&l.hasOwnProperty(e)||o!=null&&(c=o.vnode.props)!=null&&c.hasOwnProperty(Ka(e))))}),a=U(i(t[e]));return P({get(){return r.value?i(t[e]):a.value},set(l){(r.value?i(t[e]):a.value)!==l&&(a.value=l,o==null||o.emit(`update:${e}`,s(l)))}})}const Xf=dt({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),qf=dt({value:null,disabled:Boolean,selectedClass:String},"group-item");function Gf(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const i=_e("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const s=Be();Qt(Symbol.for(`${e.description}:id`),s);const o=Ot(e,null);if(!o){if(!n)return o;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const r=rt(t,"value"),a=P(()=>o.disabled.value||t.disabled);o.register({id:s,value:r,disabled:a},i),ye(()=>{o.unregister(s)});const l=P(()=>o.isSelected(s)),c=P(()=>l.value&&[o.selectedClass.value,t.selectedClass]);return{id:s,isSelected:l,toggle:()=>o.select(s,!l.value),select:u=>o.select(s,u),selectedClass:c,value:r,disabled:a,group:o}}function Zf(t,e){let n=!1;const i=Ce([]),s=ae(t,"modelValue",[],f=>f==null?[]:Jf(i,gs(f)),f=>{const h=rb(i,f);return t.multiple?h:h[0]}),o=_e("useGroup");function r(f,h){const g=f,m=Symbol.for(`${e.description}:id`),v=Qi(m,o==null?void 0:o.vnode).indexOf(h);v>-1?i.splice(v,0,g):i.push(g)}function a(f){if(n)return;l();const h=i.findIndex(g=>g.id===f);i.splice(h,1)}function l(){const f=i.find(h=>!h.disabled);f&&t.mandatory==="force"&&!s.value.length&&(s.value=[f.id])}pn(()=>{l()}),ye(()=>{n=!0});function c(f,h){const g=i.find(v=>v.id===f);if(!(h&&g!=null&&g.disabled))if(t.multiple){var m;const v=s.value.slice(),_=v.findIndex(x=>x===f),w=~_;if(h=(m=h)!=null?m:!w,w&&t.mandatory&&v.length<=1||!w&&t.max!=null&&v.length+1>t.max)return;_<0&&h?v.push(f):_>=0&&!h&&v.splice(_,1),s.value=v}else{var p;const v=s.value.includes(f);if(t.mandatory&&v)return;s.value=((p=h)!=null?p:!v)?[f]:[]}}function u(f){if(t.multiple&&ui('This method is not supported when using "multiple" prop'),s.value.length){const h=s.value[0],g=i.findIndex(v=>v.id===h);let m=(g+f)%i.length,p=i[m];for(;p.disabled&&m!==g;)m=(m+f)%i.length,p=i[m];if(p.disabled)return;s.value=[i[m].id]}else{const h=i.find(g=>!g.disabled);h&&(s.value=[h.id])}}const d={register:r,unregister:a,selected:s,select:c,disabled:rt(t,"disabled"),prev:()=>u(i.length-1),next:()=>u(1),isSelected:f=>s.value.includes(f),selectedClass:P(()=>t.selectedClass),items:P(()=>i),getItemIndex:f=>ob(i,f)};return Qt(e,d),d}function ob(t,e){const n=Jf(t,[e]);return n.length?t.findIndex(i=>i.id===n[0]):-1}function Jf(t,e){const n=[];for(let i=0;iYa(o,s.value))!=null&&n.push(s.id):e.includes(i)&&n.push(s.id)}return n}function rb(t,e){const n=[];for(let i=0;iab.includes(t)}},"variant");function Go(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();const n=P(()=>{const{variant:o}=ci(t);return`${e}--variant-${o}`}),{colorClasses:i,colorStyles:s}=tl(P(()=>{const{variant:o,color:r}=ci(t);return{[["contained","contained-flat"].includes(o)?"background":"text"]:r}}));return{colorClasses:i,colorStyles:s,variantClasses:n}}const Qf=Symbol.for("vuetify:v-chip-group");ot({name:"VChipGroup",props:M(M(M(M({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ya}},Xf({selectedClass:"v-chip--selected"})),Wt()),qt()),Gn({variant:"contained-text"})),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{themeClasses:i}=te(t),{isSelected:s,select:o,next:r,prev:a,selected:l}=Zf(t,Qf);return qn({VChip:{color:rt(t,"color"),filter:rt(t,"filter"),variant:rt(t,"variant")}}),()=>{var c;return y(t.tag,{class:["v-chip-group",{"v-chip-group--column":t.column},i.value]},{default:()=>[(c=n.default)==null?void 0:c.call(n,{isSelected:s,select:o,next:r,prev:a,selected:l.value})]})}}});function Nt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top center 0",n=arguments.length>2?arguments[2]:void 0;return ot({name:t,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:n},origin:{type:String,default:e}},setup(i,s){let{slots:o}=s;return()=>{const r=i.group?Qp:Ze;return Pe(r,{name:t,mode:i.mode,onBeforeEnter(a){a.style.transformOrigin=i.origin},onLeave(a){if(i.leaveAbsolute){const{offsetTop:l,offsetLeft:c,offsetWidth:u,offsetHeight:d}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${l}px`,a.style.left=`${c}px`,a.style.width=`${u}px`,a.style.height=`${d}px`}i.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(i.leaveAbsolute&&a!=null&&a._transitionInitialStyles){const{position:l,top:c,left:u,width:d,height:f}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=l||"",a.style.top=c||"",a.style.left=u||"",a.style.width=d||"",a.style.height=f||""}}},o.default)}}})}function th(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return ot({name:t,props:{mode:{type:String,default:n}},setup(i,s){let{slots:o}=s;return()=>Pe(Ze,M({name:t},e),o.default)}})}function eh(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",i=ve(`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 a=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const l=`${r[i]}px`;r.style[n]="0",r.offsetHeight,r.style.transition=a.transition,t&&r._parent&&r._parent.classList.add(t),requestAnimationFrame(()=>{r.style[n]=l})},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[i]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[n]="0")},onAfterLeave:s,onLeaveCancelled:s};function s(r){t&&r._parent&&r._parent.classList.remove(t),o(r)}function o(r){const a=r._initialStyle[n];r.style.overflow=r._initialStyle.overflow,a!=null&&(r.style[n]=a),delete r._initialStyle}}const lb=ot({name:"VDialogTransition",props:{target:Object},setup(t,e){let{slots:n}=e;const i={onBeforeEnter(s){s.style.pointerEvents="none"},async onEnter(s,o){await new Promise(c=>requestAnimationFrame(c));const{x:r,y:a}=$c(t.target,s);s.animate([{transform:`translate(${r}px, ${a}px) scale(0.1)`,opacity:0},{transform:""}],{duration:225,easing:Lv}).finished.then(()=>o())},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,o){await new Promise(c=>requestAnimationFrame(c));const{x:r,y:a}=$c(t.target,s);s.animate([{transform:""},{transform:`translate(${r}px, ${a}px) scale(0.1)`,opacity:0}],{duration:125,easing:Dv}).finished.then(()=>o())},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>t.target?y(Ze,zt({name:"dialog-transition"},i,{css:!1}),n):y(Ze,{name:"dialog-transition"},n)}});function $c(t,e){const n=t.getBoundingClientRect(),i=Ua(e),[s,o]=getComputedStyle(e).transformOrigin.split(" ").map(u=>parseFloat(u)),[r,a]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;r==="left"||a==="left"?l-=n.width/2:(r==="right"||a==="right")&&(l+=n.width/2);let c=n.top+n.height/2;return r==="top"||a==="top"?c-=n.height/2:(r==="bottom"||a==="bottom")&&(c+=n.height/2),{x:l-(s+i.left),y:c-(o+i.top)}}Nt("carousel-transition");Nt("carousel-reverse-transition");Nt("tab-transition");Nt("tab-reverse-transition");Nt("menu-transition");Nt("fab-transition","center center","out-in");Nt("dialog-bottom-transition");Nt("dialog-top-transition");Nt("fade-transition");const cb=Nt("scale-transition");Nt("scroll-x-transition");Nt("scroll-x-reverse-transition");Nt("scroll-y-transition");Nt("scroll-y-reverse-transition");Nt("slide-x-transition");Nt("slide-x-reverse-transition");const nh=Nt("slide-y-transition");Nt("slide-y-reverse-transition");const ub=th("expand-transition",eh()),ih=th("expand-x-transition",eh("",!0)),Zn=dt({border:[Boolean,Number,String]},"border");function Jn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();return{borderClasses:P(()=>{const i=[];if(t.border!=null&&t.border!==!1&&i.push(`${e}--border`),typeof t.border=="string"&&t.border!==""||t.border===0)for(const s of String(t.border).split(" "))i.push(`border-${s}`);return i})}}const _n=dt({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function xn(t){return{elevationClasses:P(()=>{const n=Mt(t)?t.value:t.elevation,i=[];return n==null||i.push(`elevation-${n}`),i})}}function db(){var t,e;return(t=_e("useRouter"))==null||(e=t.proxy)==null?void 0:e.$router}function Zo(t,e){const n=hp("RouterLink"),i=P(()=>!!(t.href||t.to)),s=P(()=>(i==null?void 0:i.value)||!!(e.onClick||e.onClickOnce));if(typeof n=="string")return{isLink:i,isClickable:s,href:rt(t,"href")};const o=t.to?n.useLink(t):void 0;return ut(M({},o),{isLink:i,isClickable:s,href:P(()=>t.to?o==null?void 0:o.route.value.href:t.href)})}const Jo=dt({href:String,replace:Boolean,to:[String,Object]},"router");function fb(t){const e=db();let n=!1,i;pn(()=>{window.addEventListener("popstate",s),i=e==null?void 0:e.beforeEach((o,r,a)=>{setTimeout(()=>n?t(a):a())})}),ye(()=>{var o;window.removeEventListener("popstate",s),(o=i)==null||o()});function s(o){var r;(r=o.state)!=null&&r.replaced||(n=!0,setTimeout(()=>n=!1))}}const Fc=Symbol("rippleStop"),hb=80;function Bc(t,e){t.style.transform=e,t.style.webkitTransform=e}function hr(t,e){t.style.opacity=`calc(${e} * var(--v-theme-overlay-multiplier))`}function qr(t){return t.constructor.name==="TouchEvent"}function sh(t){return t.constructor.name==="KeyboardEvent"}const gb=function(t,e){var n;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,o=0;if(!sh(t)){const f=e.getBoundingClientRect(),h=qr(t)?t.touches[t.touches.length-1]:t;s=h.clientX-f.left,o=h.clientY-f.top}let r=0,a=.3;(n=e._ripple)!=null&&n.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(o-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const l=`${(e.clientWidth-r*2)/2}px`,c=`${(e.clientHeight-r*2)/2}px`,u=i.center?l:`${s-r}px`,d=i.center?c:`${o-r}px`;return{radius:r,scale:a,x:u,y:d,centerX:l,centerY:c}},_o={show(t,e){var n;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(e!=null&&(n=e._ripple)!=null&&n.enabled))return;const s=document.createElement("span"),o=document.createElement("span");s.appendChild(o),s.className="v-ripple__container",i.class&&(s.className+=` ${i.class}`);const{radius:r,scale:a,x:l,y:c,centerX:u,centerY:d}=gb(t,e,i),f=`${r*2}px`;o.className="v-ripple__animation",o.style.width=f,o.style.height=f,e.appendChild(s);const h=window.getComputedStyle(e);h&&h.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),Bc(o,`translate(${l}, ${c}) scale3d(${a},${a},${a})`),hr(o,0),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),Bc(o,`translate(${u}, ${d}) scale3d(1,1,1)`),hr(o,.08)},0)},hide(t){var e;if(!(t!=null&&(e=t._ripple)!=null&&e.enabled))return;const n=t.getElementsByClassName("v-ripple__animation");if(n.length===0)return;const i=n[n.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),o=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),hr(i,0),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},o)}};function oh(t){return typeof t=="undefined"||!!t}function ps(t){const e={},n=t.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||t[Fc])){if(t[Fc]=!0,qr(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(e.center=n._ripple.centered||sh(t),n._ripple.class&&(e.class=n._ripple.class),qr(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{_o.show(t,n,e)},n._ripple.showTimer=window.setTimeout(()=>{var i;n!=null&&(i=n._ripple)!=null&&i.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},hb)}else _o.show(t,n,e)}}function oe(t){const e=t.currentTarget;if(!(!e||!e._ripple)){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{oe(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),_o.hide(e)}}function rh(t){const e=t.currentTarget;!e||!e._ripple||(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let vs=!1;function ah(t){!vs&&(t.keyCode===Sc.enter||t.keyCode===Sc.space)&&(vs=!0,ps(t))}function lh(t){vs=!1,oe(t)}function ch(t){vs&&(vs=!1,oe(t))}function uh(t,e,n){var i;const{value:s,modifiers:o}=e,r=oh(s);r||_o.hide(t),t._ripple=(i=t._ripple)!=null?i:{},t._ripple.enabled=r,t._ripple.centered=o.center,t._ripple.circle=o.circle,Ur(s)&&s.class&&(t._ripple.class=s.class),r&&!n?(t.addEventListener("touchstart",ps,{passive:!0}),t.addEventListener("touchend",oe,{passive:!0}),t.addEventListener("touchmove",rh,{passive:!0}),t.addEventListener("touchcancel",oe),t.addEventListener("mousedown",ps),t.addEventListener("mouseup",oe),t.addEventListener("mouseleave",oe),t.addEventListener("keydown",ah),t.addEventListener("keyup",lh),t.addEventListener("blur",ch),t.addEventListener("dragstart",oe,{passive:!0})):!r&&n&&dh(t)}function dh(t){t.removeEventListener("mousedown",ps),t.removeEventListener("touchstart",ps),t.removeEventListener("touchend",oe),t.removeEventListener("touchmove",rh),t.removeEventListener("touchcancel",oe),t.removeEventListener("mouseup",oe),t.removeEventListener("mouseleave",oe),t.removeEventListener("keydown",ah),t.removeEventListener("keyup",lh),t.removeEventListener("dragstart",oe),t.removeEventListener("blur",ch)}function mb(t,e){uh(t,e,!1)}function pb(t){delete t._ripple,dh(t)}function vb(t,e){if(e.value===e.oldValue)return;const n=oh(e.oldValue);uh(t,e,n)}const ks={mounted:mb,unmounted:pb,updated:vb},bb=ot({name:"VChip",directives:{Ripple:ks},props:M(M(M(M(M(M(M(M(M(M({activeClass:String,appendAvatar:String,appendIcon:String,closable:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,pill:Boolean,prependAvatar:String,prependIcon:String,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0}},Zn()),bn()),_n()),qf()),Ve()),Jo()),Yo()),Wt({tag:"span"})),qt()),Gn({variant:"contained-text"})),emits:{"click:close":t=>!0,"update:active":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const o=ae(t,"modelValue"),{themeClasses:r}=te(t),{borderClasses:a}=Jn(t),{colorClasses:l,colorStyles:c,variantClasses:u}=Go(t),{elevationClasses:d}=xn(t),f=Gf(t,Qf,!1),{roundedClasses:h}=Ne(t),{sizeClasses:g}=Ko(t),{densityClasses:m}=yn(t),p=Zo(t,n);function v(_){o.value=!1,i("click:close",_)}return()=>{var _,w;const x=p.isLink.value?"a":t.tag,C=!!(s.append||t.appendIcon||t.appendAvatar),O=!!(s.close||t.closable),S=!!(s.filter||t.filter)&&f,A=!!(s.prepend||t.prependIcon||t.prependAvatar),T=!f||f.isSelected.value,D=!t.disabled&&(!!f||p.isClickable.value||t.link),I=t.link?t.link:f==null?void 0:f.toggle;return o.value&&Jt(y(x,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":D,"v-chip--pill":t.pill},r.value,a.value,T?l.value:void 0,m.value,d.value,h.value,g.value,u.value,f==null?void 0:f.selectedClass.value],style:[T?c.value:void 0],disabled:t.disabled||void 0,draggable:t.draggable,href:p.href.value,onClick:D&&I},{default:()=>[qo(D,"v-chip"),S&&y(ih,null,{default:()=>[Jt(y("div",{class:"v-chip__filter"},[s.filter?s.filter():y(pe,{icon:t.filterIcon},null)]),[[Xn,f.isSelected.value]])]}),A&&y("div",{class:"v-chip__prepend"},[s.prepend?s.prepend():y(ms,{icon:t.prependIcon,image:t.prependAvatar,size:t.size},null)]),(_=(w=s.default)==null?void 0:w.call(s,{isSelected:f==null?void 0:f.isSelected.value,selectedClass:f==null?void 0:f.selectedClass.value,select:f==null?void 0:f.select,toggle:f==null?void 0:f.toggle,value:f==null?void 0:f.value.value,disabled:t.disabled}))!=null?_:t.text,C&&y("div",{class:"v-chip__append"},[s.append?s.append():y(ms,{icon:t.appendIcon,image:t.appendAvatar,size:t.size},null)]),O&&y("div",{class:"v-chip__close",onClick:v},[s.close?s.close({props:{onClick:v}}):y(pe,{icon:t.closeIcon,size:"x-small"},null)])]}),[[vn("ripple"),D&&t.ripple,null]])}}}),di=$a({name:"VDefaultsProvider",props:{defaults:Object,reset:[Number,String],root:Boolean,scoped:Boolean},setup(t,e){let{slots:n}=e;const{defaults:i,reset:s,root:o,scoped:r}=Dd(t);return qn(i,{reset:s,root:o,scoped:r}),()=>{var a;return(a=n.default)==null?void 0:a.call(n)}}});const yb=ot({name:"VDivider",props:M({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean},qt()),setup(t,e){let{attrs:n}=e;const{themeClasses:i}=te(t),{backgroundColorClasses:s,backgroundColorStyles:o}=Fe(rt(t,"color")),r=P(()=>{const a={};return t.length&&(a[t.vertical?"maxHeight":"maxWidth"]=tt(t.length)),t.thickness&&(a[t.vertical?"borderRightWidth":"borderTopWidth"]=tt(t.thickness)),a});return()=>y("hr",{class:[{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},i.value,s.value],style:[r.value,o.value],"aria-orientation":!n.role||n.role==="separator"?t.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)}}),Gr=Symbol.for("vuetify:list");function fh(){const t=Ot(Gr,{hasPrepend:U(!1),updateHasPrepend:()=>null}),e={hasPrepend:U(!1),updateHasPrepend:n=>{n&&(e.hasPrepend.value=n)}};return Qt(Gr,e),t}function hh(){return Ot(Gr,null)}const _b=t=>{let{id:e,value:n,opened:i,parents:s}=t;if(n){const o=new Set;o.add(e);let r=s.get(e);for(;r!=null;)o.add(r),r=s.get(r);return o}else return i.delete(e),i},xb=t=>{let{id:e,value:n,opened:i,parents:s}=t;if(n){let o=s.get(e);for(i.add(e);o!=null&&o!==e;)i.add(o),o=s.get(o);return i}else i.delete(e);return i},fi={select:t=>{let{id:e,value:n,mandatory:i,selected:s}=t;return s.set(e,n||i&&!Array.from(s.entries()).find(o=>{let[r,a]=o;return a==="on"&&r!==e})?"on":"off"),s},in:(t,e,n)=>{let i=new Map;for(const s of t||[])i=fi.select({id:s,value:!0,selected:new Map(i),children:e,parents:n});return i},out:t=>{const e=[];for(const[n,i]of t.entries())i==="on"&&e.push(n);return e}},Sb={select:t=>{let s=t,{id:e,value:n}=s,i=en(s,["id","value"]);return fi.select(ut(M({},i),{id:e,value:n,selected:new Map}))},in:(t,e,n)=>{let i=new Map;return t!=null&&t.length&&(i=fi.in(t.slice(0,1),e,n)),i},out:(t,e,n)=>fi.out(t,e,n)},Vc=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const e={select:n=>{let{id:i,value:s,selected:o,children:r}=n;return r.has(i)?o:t?new Map([[i,s?"on":"off"]]):(o.set(i,s?"on":"off"),o)},in:(n,i,s)=>{let o=new Map;for(const r of n!=null?n:[])o=e.select({id:r,value:!0,selected:new Map(o),children:i,parents:s});return o},out:fi.out};return e},gh={select:t=>{let{id:e,value:n,selected:i,children:s,parents:o}=t;const r=[e];for(;r.length;){const l=r.shift();i.set(l,n?"on":"off"),s.has(l)&&r.push(...s.get(l))}let a=o.get(e);for(;a;){const l=s.get(a),c=l.every(d=>i.get(d)==="on"),u=l.every(d=>!i.has(d)||i.get(d)==="off");i.set(a,c?"on":u?"off":"indeterminate"),a=o.get(a)}return i},in:(t,e,n)=>{let i=new Map;for(const s of t||[])i=gh.select({id:s,value:!0,selected:new Map(i),children:e,parents:n});return i},out:(t,e)=>{const n=[];for(const[i,s]of t.entries())s==="on"&&!e.has(i)&&n.push(i);return n}},bs=Symbol.for("vuetify:nested"),mh={id:U(),root:{register:()=>null,unregister:()=>null,parents:U(new Map),children:U(new Map),open:()=>null,select:()=>null,opened:U(new Set),selected:U(new Map),selectedValues:U([])}},wb=dt({selectStrategy:[String,Function],openStrategy:[String,Function],opened:Array,selected:Array,mandatory:Boolean},"nested"),Cb=t=>{let e=!1;const n=U(new Map),i=U(new Map),s=ae(t,"opened",t.opened,d=>new Set(d),d=>[...d.values()]),o=P(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;switch(t.selectStrategy){case"single-leaf":return Vc(!0);case"leaf":return Vc();case"independent":return fi;case"single-independent":return Sb;case"classic":default:return gh}}),r=P(()=>{if(typeof t.openStrategy=="function")return t.openStrategy;switch(t.openStrategy){case"single":return _b;case"multiple":default:return xb}}),a=ae(t,"selected",t.selected,d=>o.value.in(d,n.value,i.value),d=>o.value.out(d,n.value,i.value));ye(()=>{e=!0});function l(d){const f=[];let h=d;for(;h!=null;)f.unshift(h),h=i.value.get(h);return f}const c=_e("nested"),u={id:U(),root:{opened:s,selected:a,selectedValues:P(()=>{const d=[];for(const[f,h]of a.value.entries())h==="on"&&d.push(f);return d}),register:(d,f,h)=>{f&&d!==f&&i.value.set(d,f),h&&n.value.set(d,[]),f!=null&&n.value.set(f,[...n.value.get(f)||[],d])},unregister:d=>{if(e)return;n.value.delete(d);const f=i.value.get(d);if(f){var h;const g=(h=n.value.get(f))!=null?h:[];n.value.set(f,g.filter(m=>m!==d))}i.value.delete(d),s.value.delete(d)},open:(d,f,h)=>{c.emit("click:open",{id:d,value:f,path:l(d),event:h});const g=r.value({id:d,value:f,opened:new Set(s.value),children:n.value,parents:i.value,event:h});g&&(s.value=g)},select:(d,f,h)=>{c.emit("click:select",{id:d,value:f,path:l(d),event:h});const g=o.value.select({id:d,value:f,selected:new Map(a.value),children:n.value,parents:i.value,event:h,mandatory:t.mandatory});g&&(a.value=g)},children:n,parents:i}};return Qt(bs,u),u.root},ph=(t,e)=>{const n=Ot(bs,mh),i=P(()=>{var o;return(o=t.value)!=null?o:Be().toString()}),s=ut(M({},n),{id:i,open:(o,r)=>n.root.open(i.value,o,r),isOpen:P(()=>n.root.opened.value.has(i.value)),parent:P(()=>n.root.parents.value.get(i.value)),select:(o,r)=>n.root.select(i.value,o,r),isSelected:P(()=>n.root.selected.value.get(i.value)==="on"),isIndeterminate:P(()=>n.root.selected.value.get(i.value)==="indeterminate"),isLeaf:P(()=>!n.root.children.value.get(i.value))});return!n.skipRegister&&n.root.register(i.value,n.id.value,e),ye(()=>{!n.skipRegister&&n.root.unregister(i.value)}),e&&Qt(bs,s),s},kb=()=>{const t=Ot(bs,mh);Qt(bs,ut(M({},t),{skipRegister:!0}))},Mb=ot({name:"VListGroupActivator",setup(t,e){let{slots:n}=e;return kb(),()=>{var i;return(i=n.default)==null?void 0:i.call(n)}}}),Pb=le()({name:"VListGroup",props:M({activeColor:String,color:String,collapseIcon:{type:String,default:"$collapse"},expandIcon:{type:String,default:"$expand"},value:null},Wt()),setup(t,e){let{slots:n}=e;const{isOpen:i,open:s}=ph(rt(t,"value"),!0),o=hh(),r=l=>{s(!i.value,l)},a=P(()=>{var l;return{onClick:r,appendIcon:i.value?t.collapseIcon:t.expandIcon,class:"v-list-group__header",color:i.value?(l=t.activeColor)!=null?l:t.color:void 0}});return()=>{var l;return y(t.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value}]},{default:()=>[n.activator&&y(di,{defaults:{VListItemIcon:{color:a.value.color}}},{default:()=>[y(Mb,null,{default:()=>[n.activator({props:a.value,isOpen:i})]})]}),y(ub,null,{default:()=>[Jt(y("div",{class:"v-list-group__items"},[(l=n.default)==null?void 0:l.call(n)]),[[Xn,i.value]])]})]})}}});const Nc=ot({name:"VListItemAvatar",props:Kf(),setup(t,e){let{slots:n}=e;return()=>y(ms,zt({class:["v-list-item-avatar",{"v-list-item-avatar--start":t.start,"v-list-item-avatar--end":t.end}]},t),n)}}),Ab=Ae("v-list-item-header"),zc=ot({name:"VListItemIcon",props:jf(),setup(t,e){let{slots:n}=e;return()=>y(pe,zt({class:["v-list-item-icon",{"v-list-item-icon--start":t.start,"v-list-item-icon--end":t.end}]},t),n)}}),Tb=Ae("v-list-item-subtitle"),Ob=Ae("v-list-item-title"),xo=le()({name:"VListItem",directives:{Ripple:ks},props:M(M(M(M(M(M(M(M(M({active:Boolean,activeColor:String,activeClass:String,appendAvatar:String,appendIcon:String,disabled:Boolean,lines:String,prependAvatar:String,prependIcon:String,subtitle:String,title:String,value:null},Zn()),bn()),Mi()),_n()),Ve()),Jo()),Wt()),qt()),Gn({variant:"text"})),setup(t,e){let{attrs:n,slots:i}=e;const s=Zo(t,n),o=P(()=>{var A;return(A=t.value)!=null?A:s.href.value}),{select:r,isSelected:a,root:l,parent:c}=ph(o,!1),u=hh(),d=P(()=>{var A;return t.active||((A=s.isExactActive)==null?void 0:A.value)||a.value}),f=P(()=>{var A;return{color:d.value&&(A=t.activeColor)!=null?A:t.color,variant:t.variant}});pn(()=>{var A;(A=s.isExactActive)!=null&&A.value&&c.value!=null&&l.open(c.value,!0)}),At(()=>{var A;return(A=s.isExactActive)==null?void 0:A.value},A=>{A&&c.value!=null&&l.open(c.value,!0)});const{themeClasses:h}=te(t),{borderClasses:g}=Jn(t),{colorClasses:m,colorStyles:p,variantClasses:v}=Go(f),{densityClasses:_}=yn(t),{dimensionStyles:w}=Pi(t),{elevationClasses:x}=xn(t),{roundedClasses:C}=Ne(t),O=P(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),S=P(()=>({isActive:d.value,select:r,isSelected:a.value}));Xt(()=>{var A,T,D;const I=s.isLink.value?"a":t.tag,E=!u||a.value||d.value,W=i.title||t.title,J=i.subtitle||t.subtitle,H=!!(W||J),V=!!(i.append||t.appendAvatar||t.appendIcon),X=!!(i.prepend||t.prependAvatar||t.prependIcon),q=!t.disabled&&(s.isClickable.value||t.value!=null&&!!u);return u==null||u.updateHasPrepend(X),Jt(y(I,{class:["v-list-item",{"v-list-item--active":d.value,"v-list-item--disabled":t.disabled,"v-list-item--link":q,"v-list-item--prepend":!X&&(u==null?void 0:u.hasPrepend.value),[`${t.activeClass}`]:d.value},h.value,g.value,E?m.value:void 0,_.value,x.value,O.value,C.value,v.value],style:[E?p.value:void 0,w.value],href:s.href.value,tabindex:q?0:void 0,onClick:q&&(at=>{var gt;(gt=s.navigate)==null||gt.call(s,at),r(!a.value,at)})},{default:()=>[qo(q||d.value,"v-list-item"),X&&y(It,null,[t.prependAvatar&&y(Nc,{image:t.prependAvatar,start:!0},null),t.prependIcon&&y(zc,{icon:t.prependIcon,start:!0},null),(A=i.prepend)==null?void 0:A.call(i,S.value)]),H&&y(Ab,null,{default:()=>[W&&y(Ob,null,{default:()=>[i.title?i.title({title:t.title}):t.title]}),J&&y(Tb,null,{default:()=>[i.subtitle?i.subtitle({subtitle:t.subtitle}):t.subtitle]})]}),(T=i.default)==null?void 0:T.call(i,S.value),V&&y(It,null,[(D=i.append)==null?void 0:D.call(i,S.value),t.appendAvatar&&y(Nc,{image:t.appendAvatar,end:!0},null),t.appendIcon&&y(zc,{icon:t.appendIcon,end:!0},null)])]}),[[vn("ripple"),q]])})}}),Eb=ot({name:"VListSubheader",props:M({color:String,inset:Boolean,sticky:Boolean,text:String},Wt()),setup(t,e){let{slots:n}=e;const{textColorClasses:i,textColorStyles:s}=ki(rt(t,"color"));return()=>{var o,r;const a=!!(n.default||t.text);return y(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},i.value],style:{textColorStyles:s}},{default:()=>[a&&y("div",{class:"v-list-subheader__text"},[(o=(r=n.default)==null?void 0:r.call(n))!=null?o:t.text])]})}}}),vh=le()({name:"VListChildren",props:{items:Array},setup(t,e){let{slots:n}=e;return fh(),()=>{var i,s,o;return(i=(s=n.default)==null?void 0:s.call(n))!=null?i:(o=t.items)==null?void 0:o.map(r=>{let{children:a,props:l,type:c}=r;return c==="divider"?y(yb,l,null):c==="subheader"?y(Eb,l,n):a?y(Pb,{value:l==null?void 0:l.value},{activator:u=>{let{props:d}=u;return n.header?n.header(M(M({},l),d)):y(xo,zt(l,d),null)},default:()=>y(vh,{items:a},n)}):n.item?n.item(l):y(xo,l,n)})}}}),bh=t=>{if(!!t)return t.map(e=>{if(typeof e=="string")return{type:"item",value:e,title:e};const o=e,{$type:n,$children:i}=o,s=en(o,["$type","$children"]);return n==="subheader"?{type:"subheader",props:s}:n==="divider"?{type:"divider",props:s}:{type:"item",props:s,children:bh(i)}})},Lb=le()({name:"VList",props:M(M(M(M(M(M(M(M(M({activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,items:Array},wb({selectStrategy:"single-leaf",openStrategy:"multiple"})),Zn()),bn()),Mi()),_n()),Ve()),Wt()),qt()),Gn({variant:"text"})),emits:{"update:selected":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:select":t=>!0},setup(t,e){let{slots:n}=e;const i=P(()=>bh(t.items)),{themeClasses:s}=te(t),{backgroundColorClasses:o,backgroundColorStyles:r}=Fe(rt(t,"bgColor")),{borderClasses:a}=Jn(t),{densityClasses:l}=yn(t),{dimensionStyles:c}=Pi(t),{elevationClasses:u}=xn(t),{roundedClasses:d}=Ne(t),{open:f,select:h}=Cb(t),g=P(()=>t.lines?`v-list--${t.lines}-line`:void 0),m=rt(t,"activeColor"),p=rt(t,"color");return fh(),qn({VListGroup:{activeColor:m,color:p},VListItem:{activeClass:rt(t,"activeClass"),activeColor:m,color:p,density:rt(t,"density"),disabled:rt(t,"disabled"),lines:rt(t,"lines"),variant:rt(t,"variant")}}),Xt(()=>y(t.tag,{class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav},s.value,o.value,a.value,l.value,u.value,g.value,d.value],style:[r.value,c.value]},{default:()=>[y(vh,{items:i.value},{default:n.default,item:n.item,title:n.title,subtitle:n.subtitle,header:n.header})]})),{open:f,select:h}}});const Db=dt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ib(t,e){const n={},i=s=>()=>{if(!Ft)return Promise.resolve(!0);const o=s==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(r=>{var a;const l=parseInt((a=t[s])!=null?a:0,10);n[s]=window.setTimeout(()=>{e==null||e(o),r(o)},l)})};return{runCloseDelay:i("closeDelay"),runOpenDelay:i("openDelay")}}const Rb=dt(M({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0}},Db()));function $b(t,e){const n=U();let i=!1,s=!1;const o=P(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),r=P(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!o.value),{runOpenDelay:a,runCloseDelay:l}=Ib(t,g=>{g===(t.openOnHover&&i||o.value&&s)&&(e.value=g)}),c={click:g=>{g.stopPropagation(),n.value=g.currentTarget||g.target,e.value=!e.value},mouseenter:g=>{i=!0,n.value=g.currentTarget||g.target,a()},mouseleave:g=>{i=!1,l()},focus:g=>{Rv&&!g.target.matches(":focus-visible")||(s=!0,g.stopPropagation(),n.value=g.currentTarget||g.target,a())},blur:g=>{s=!1,g.stopPropagation(),l()}},u=P(()=>{const g={};return r.value&&(g.click=c.click),t.openOnHover&&(g.mouseenter=c.mouseenter,g.mouseleave=c.mouseleave),o.value&&(g.focus=c.focus,g.blur=c.blur),g}),d=U();Ci(()=>{!d.value||mn(()=>{const g=d.value;n.value=vv(g)?g.$el:g})});const f=_e("useActivator");let h;return At(()=>!!t.activator,g=>{g&&Ft?(h=Cs(),h.run(()=>{Fb(t,f,{activatorEl:n,activatorRef:d,activatorEvents:u})})):h&&h.stop()},{flush:"post",immediate:!0}),{activatorEl:n,activatorRef:d,activatorEvents:u}}function Fb(t,e,n){let{activatorEl:i,activatorEvents:s}=n;At(()=>t.activator,(l,c)=>{if(c&&l!==c){const u=a(c);u&&r(u)}l&&mn(()=>o())},{immediate:!0}),At(()=>t.activatorProps,()=>{o()}),wi(()=>{r()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;!l||(Object.entries(s.value).forEach(u=>{let[d,f]=u;l.addEventListener(d,f)}),Object.keys(c).forEach(u=>{c[u]==null?l.removeAttribute(u):l.setAttribute(u,c[u])}))}function r(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;!l||(Object.entries(s.value).forEach(u=>{let[d,f]=u;l.removeEventListener(d,f)}),Object.keys(c).forEach(u=>{l.removeAttribute(u)}))}function a(){var l;let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator,u;if(c)if(c==="parent"){var d,f;u=e==null||(d=e.proxy)==null||(f=d.$el)==null?void 0:f.parentNode}else typeof c=="string"?u=document.querySelector(c):"$el"in c?u=c.$el:u=c;return i.value=((l=u)==null?void 0:l.nodeType)===Node.ELEMENT_NODE?u:null,i.value}}function Hc(t){let[e,n]=t.split(" ");return n||(n=e==="top"||e==="bottom"?"start":e==="start"||e==="end"?"top":"center"),{side:e,align:n}}function gr(t){return{side:{center:"center",top:"bottom",bottom:"top",start:"end",end:"start"}[t.side],align:t.align}}function Wc(t,e){var n,i;const{side:s,align:o}=t,{direction:r}=window.getComputedStyle(e),a=r==="ltr"?{start:"left",end:"right"}:{start:"right",end:"left"};return((n=a[s])!=null?n:s)+" "+((i=a[o])!=null?i:o)}function mr(t,e){return{x:t.x+e.x,y:t.y+e.y}}function Bb(t,e){return{x:t.x-e.x,y:t.y-e.y}}function jc(t,e){if(t.side==="top"||t.side==="bottom"){const{side:n,align:i}=t,s=i==="start"?0:i==="center"?e.width/2:i==="end"?e.width:i,o=n==="top"?0:n==="bottom"?e.height:n;return mr({x:s,y:o},e)}else if(t.side==="start"||t.side==="end"){const{side:n,align:i}=t,s=n==="start"?0:n==="end"?e.width:n,o=i==="top"?0:i==="center"?e.height/2:i==="bottom"?e.height:i;return mr({x:s,y:o},e)}return mr({x:e.width/2,y:e.height/2},e)}const yh={static:zb,connected:Hb},Vb=dt({positionStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in yh},anchor:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String]});function Nb(t,e){const n=U({}),i=U();let s;Ci(async()=>{var r;(r=s)==null||r.stop(),i.value=void 0,Ft&&e.isActive.value&&t.positionStrategy&&(s=Cs(),await mn(),s.run(()=>{if(typeof t.positionStrategy=="function"){var a;i.value=(a=t.positionStrategy(e,t,n))==null?void 0:a.updatePosition}else{var l;i.value=(l=yh[t.positionStrategy](e,t,n))==null?void 0:l.updatePosition}}))}),Ft&&window.addEventListener("resize",o,{passive:!0}),wi(()=>{var r;Ft&&window.removeEventListener("resize",o),i.value=void 0,(r=s)==null||r.stop()});function o(r){var a;(a=i.value)==null||a.call(i,r)}return{contentStyles:n,updatePosition:i}}function zb(){}function Hb(t,e,n){const i=$v(t.activatorEl.value);i&&Object.assign(n.value,{position:"fixed"});const s=P(()=>Hc(e.anchor)),o=P(()=>e.origin==="overlap"?s.value:e.origin==="auto"?gr(s.value):Hc(e.origin)),r=P(()=>s.value.side===o.value.side),a=P(()=>{const d=parseFloat(e.maxHeight);return isNaN(d)?1/0:d}),l=P(()=>{const d=parseFloat(e.minWidth);return isNaN(d)?1/0:d});let c=!1;if(Ft){const d=new ResizeObserver(()=>{c&&u()});d.observe(t.activatorEl.value),d.observe(t.contentEl.value),wi(()=>{d.disconnect()})}function u(){var d;c=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>c=!0)});const f=t.activatorEl.value.getBoundingClientRect();e.offset&&(f.x-=+e.offset,f.y-=+e.offset,f.width+=+e.offset*2,f.height+=+e.offset*2);const h=Df(t.contentEl.value),g=h.clientWidth,m=Math.min(h.clientHeight,window.innerHeight);let p;{const V=new Map;t.contentEl.value.querySelectorAll("*").forEach(at=>{const gt=at.scrollLeft,mt=at.scrollTop;(gt||mt)&&V.set(at,[gt,mt])});const X=t.contentEl.value.style.maxWidth,q=t.contentEl.value.style.maxHeight;t.contentEl.value.style.removeProperty("max-width"),t.contentEl.value.style.removeProperty("max-height"),p=Ua(t.contentEl.value),p.x-=parseFloat(t.contentEl.value.style.left)||0,p.y-=parseFloat(t.contentEl.value.style.top)||0,t.contentEl.value.style.maxWidth=X,t.contentEl.value.style.maxHeight=q,V.forEach((at,gt)=>{gt.scrollTo(...at)})}const v=Math.min(a.value,p.height),_=e.maxWidth===void 0?Number.MAX_VALUE:parseInt((d=e.maxWidth)!=null?d:0,10),w=12,x={top:f.top-w,bottom:m-f.bottom-w,left:Math.min(f.left-w,_),right:Math.min(g-f.right-w,_)},C=s.value.side==="bottom"&&v<=x.bottom||s.value.side==="top"&&v<=x.top,O=C?s.value:s.value.side==="bottom"&&x.top>x.bottom||s.value.side==="top"&&x.bottom>x.top?gr(s.value):s.value,S=C?o.value:gr(O),T=r.value||["center","top","bottom"].includes(O.side)?Math.min(g,Math.max(f.width,g-w*2)):O.side==="end"?x.right:O.side==="start"?x.left:null,D=Math.min(l.value,T,f.width),I=C?a.value:Math.min(a.value,Math.floor(O.side==="top"?x.top:x.bottom)),E=jc(O,f),W=jc(S,new ro(ut(M({},p),{height:Math.min(v,I)}))),{x:J,y:H}=Bb(E,W);Object.assign(n.value,{"--v-overlay-anchor-origin":Wc(O,t.activatorEl.value),top:tt(Math.round(H)),left:tt(Math.round(J)),transformOrigin:Wc(S,t.activatorEl.value),minWidth:tt(D),maxWidth:tt(T),maxHeight:tt(I)})}return At(()=>[s.value,o.value,e.offset],()=>u(),{immediate:!i}),i&&mn(()=>u()),requestAnimationFrame(()=>{n.value.maxHeight&&u()}),{updatePosition:u}}let Zr=!0;const So=[];function Wb(t){!Zr||So.length?(So.push(t),Jr()):(Zr=!1,t(),Jr())}let Uc=-1;function Jr(){cancelAnimationFrame(Uc),Uc=requestAnimationFrame(()=>{const t=So.shift();t&&t(),So.length?Jr():Zr=!0})}const Qr={none:null,close:Yb,block:Kb,reposition:Xb},jb=dt({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in Qr}});function Ub(t,e){if(!Ft)return;let n;Ci(async()=>{var i;(i=n)==null||i.stop(),e.isActive.value&&t.scrollStrategy&&(n=Cs(),await mn(),n.run(()=>{if(typeof t.scrollStrategy=="function")t.scrollStrategy(e);else{var s;(s=Qr[t.scrollStrategy])==null||s.call(Qr,e)}}))})}function Yb(t){var e;function n(i){t.isActive.value=!1}_h((e=t.activatorEl.value)!=null?e:t.contentEl.value,n)}function Kb(t){var e;const n=[...new Set([...Kr(t.activatorEl.value),...Kr(t.contentEl.value)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,s=(o=>qa(o)&&o)(((e=t.root.value)==null?void 0:e.offsetParent)||document.documentElement);s&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((o,r)=>{o===document.documentElement&&/iphone|ipad|ipod/i.test(navigator.userAgent)&&(o.style.setProperty("--v-ios-body-scroll-x",tt(-o.scrollLeft)),o.style.setProperty("--v-ios-body-scroll-y",tt(-o.scrollTop))),o.style.setProperty("--v-scrollbar-offset",tt(i)),o.classList.add("v-overlay-scroll-blocked")}),wi(()=>{n.forEach((o,r)=>{o.style.removeProperty("--v-ios-body-scroll-x"),o.style.removeProperty("--v-ios-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked")}),s&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function Xb(t){var e;let n=!1,i=-1;function s(o){Wb(()=>{var r,a;const l=performance.now();(r=(a=t.updatePosition).value)==null||r.call(a,o),n=(performance.now()-l)/(1e3/60)>2})}_h((e=t.activatorEl.value)!=null?e:t.contentEl.value,o=>{n?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{s(o)})})):s(o)})}function _h(t,e){const n=[document,...Kr(t)];n.forEach(i=>{i.addEventListener("scroll",e,{passive:!0})}),wi(()=>{n.forEach(i=>{i.removeEventListener("scroll",e)})})}var qb={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Page {0}, Current Page",first:"First page",last:"Last page"}},rating:{ariaLabel:{item:"Rating {0} of {1}"}}};const Gb={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!1,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1},ta=Symbol.for("vuetify:rtl");function Zb(t,e){var n,i;return Jb({rtl:M(M({},Gb),(n=e==null?void 0:e.rtl)!=null?n:{}),isRtl:U((i=e==null?void 0:e.defaultRtl)!=null?i:!1),rtlClasses:U("")},t)}function Jb(t,e,n){const i=P(()=>typeof(n==null?void 0:n.rtl)=="boolean"?n.rtl:e.current.value&&t.rtl.hasOwnProperty(e.current.value)?t.rtl[e.current.value]:t.isRtl.value);return{isRtl:i,rtl:t.rtl,rtlClasses:P(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function Qo(){const t=Ot(ta);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return t}function ts(t){return{teleportTarget:P(()=>{const n=t.value;if(n===!0||!Ft)return;const i=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(i==null){xm(`Unable to locate target ${n}`);return}if(!ts.cache.has(i)){const s=document.createElement("div");s.className="v-overlay-container",i.appendChild(s),ts.cache.set(i,s)}return ts.cache.get(i)})}}ts.cache=new WeakMap;const Qb=dt({eager:Boolean},"lazy");function ty(t,e){const n=U(!1),i=P(()=>n.value||t.eager||e.value);At(e,()=>n.value=!0);function s(){t.eager||(n.value=!1)}return{isBooted:n,hasContent:i,onAfterLeave:s}}const Ri=U([]);function ey(t){const e=_e("useStack");let n;return At(t,s=>{if(s)n=Cs(),n.run(()=>{Ri.value.push(e),wi(()=>{const r=Ri.value.indexOf(e);Ri.value.splice(r,1)})});else{var o;(o=n)==null||o.stop()}},{immediate:!0}),{isTop:P(()=>nt(Ri.value[Ri.value.length-1])===e)}}const Yc=Symbol.for("vuetify:overlay"),ny=2e3;function iy(t){const{zIndex:e,overlays:n}=Ot(Yc,{zIndex:U(ny),overlays:U([])}),i=Be();return At(t,o=>{o?n.value.push(i):n.value=n.value.filter(r=>r!==i)},{immediate:!0}),Qt(Yc,{zIndex:e,overlays:n}),{overlayZIndex:P(()=>e.value+n.value.indexOf(i)+1)}}function sy(){return!0}function xh(t,e,n){if(!t||Sh(t,n)===!1)return!1;const i=Ef(e);if(typeof ShadowRoot!="undefined"&&i instanceof ShadowRoot&&i.host===t.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(e),!s.some(o=>o==null?void 0:o.contains(t.target))}function Sh(t,e){return(typeof e.value=="object"&&e.value.closeConditional||sy)(t)}function oy(t,e,n){const i=typeof n.value=="function"?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&xh(t,e,n)&&setTimeout(()=>{Sh(t,n)&&i&&i(t)},0)}function Kc(t,e){const n=Ef(t);e(document),typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&e(n)}const ry={mounted(t,e){const n=s=>oy(s,t,e),i=s=>{t._clickOutside.lastMousedownWasOutside=xh(s,t,e)};Kc(t,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",i,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[e.instance.$.uid]={onClick:n,onMousedown:i}},unmounted(t,e){!t._clickOutside||(Kc(t,n=>{var i;if(!n||!((i=t._clickOutside)!=null&&i[e.instance.$.uid]))return;const{onClick:s,onMousedown:o}=t._clickOutside[e.instance.$.uid];n.removeEventListener("click",s,!0),n.removeEventListener("mousedown",o,!0)}),delete t._clickOutside[e.instance.$.uid])}};function ay(t){const s=t,{modelValue:e,color:n}=s,i=en(s,["modelValue","color"]);return y(Ze,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&y("div",zt({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},i),null)]})}const ly=le()({name:"VOverlay",directives:{ClickOutside:ry},inheritAttrs:!1,props:M(M(M(M(M(M(M({absolute:Boolean,attach:[Boolean,String,Object],contained:Boolean,contentClass:null,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[String,Boolean],default:!0}},Rb()),Mi()),Vb()),jb()),qt()),Ai()),Qb()),emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:i,emit:s}=e;const o=ae(t,"modelValue"),{teleportTarget:r}=ts(P(()=>t.attach||t.contained)),{themeClasses:a}=te(t),{rtlClasses:l}=Qo(),{hasContent:c,onAfterLeave:u}=ty(t,o),d=Fe(P(()=>typeof t.scrim=="string"?t.scrim:null)),{activatorEl:f,activatorRef:h,activatorEvents:g}=$b(t,o),{dimensionStyles:m}=Pi(t),{isTop:p}=ey(o),v=U(),_=U(),{contentStyles:w,updatePosition:x}=Nb(t,{contentEl:_,activatorEl:f,isActive:o});Ub(t,{root:v,contentEl:_,activatorEl:f,isActive:o,updatePosition:x});function C(I){s("click:outside",I),t.persistent?T():o.value=!1}function O(){return o.value&&p.value}Ft&&At(o,I=>{I?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});function S(I){I.key==="Escape"&&p.value&&(t.persistent?T():o.value=!1)}fb(I=>{p.value&&o.value?(I(!1),t.persistent?T():o.value=!1):I()});const A=U();At(()=>o.value&&(t.absolute||t.contained)&&r.value==null,I=>{if(I){const E=Df(v.value);E&&E!==document.scrollingElement&&(A.value=E.scrollTop)}});function T(){var I;t.noClickAnimation||(I=_.value)==null||I.animate([{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Lf})}const{overlayZIndex:D}=iy(o);return Xt(()=>{var I,E;return y(It,null,[(I=n.activator)==null?void 0:I.call(n,{isActive:o.value,props:zt({ref:h},yp(g.value),t.activatorProps)}),Ft&&y(dp,{disabled:!r.value,to:r.value},{default:()=>[c.value&&y("div",zt({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":o.value,"v-overlay--contained":t.contained},a.value,l.value],style:{top:tt(A.value),zIndex:D.value},ref:v},i),[y(ay,{color:d,modelValue:o.value&&!!t.scrim},null),y(In,{appear:!0,persisted:!0,transition:t.transition,target:f.value,onAfterLeave:()=>{u(),s("afterLeave")}},{default:()=>[Jt(y("div",{ref:_,class:["v-overlay__content",t.contentClass],style:[m.value,w.value]},[(E=n.default)==null?void 0:E.call(n,{isActive:o})]),[[Xn,o.value],[vn("click-outside"),{handler:C,closeConditional:O,include:()=>[f.value]}]])]})])]})])}),{animateClick:T,contentEl:_,activatorEl:f}}}),cy=le()({name:"VMenu",inheritAttrs:!1,props:M({disableKeys:Boolean,modelValue:Boolean,id:String},Ai({transition:{component:lb}})),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const s=ae(t,"modelValue"),o=Be(),r=P(()=>t.id||`v-menu-${o}`);return()=>y(ly,zt({modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,class:["v-menu"],transition:t.transition,absolute:!0,positionStrategy:"connected",scrollStrategy:"reposition",scrim:!1,activatorProps:{"aria-haspopup":"menu","aria-expanded":String(s.value),"aria-owns":r.value}},n),{default:i.default,activator:i.activator})}});const uy=ot({name:"VMessages",props:M({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]}},Ai({transition:{component:nh,leaveAbsolute:!0,group:!0}})),setup(t,e){let{slots:n}=e;const i=P(()=>gs(t.messages)),{textColorClasses:s,textColorStyles:o}=ki(P(()=>t.color));return()=>y(In,{transition:t.transition,tag:"div",class:["v-messages",s.value],style:o.value},{default:()=>[t.active&&i.value.map((r,a)=>y("div",{class:"v-messages__message",key:`${a}-${i.value}`},[n.message?n.message({message:r}):r]))]})}}),dy=Symbol.for("vuetify:form");function fy(){return Ot(dy,null)}const hy=dt({disabled:Boolean,error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,readonly:Boolean,rules:{type:Array,default:()=>[]},modelValue:null});function gy(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();const n=ae(t,"modelValue"),i=fy(),s=U([]),o=U(!0),r=P(()=>gs(n.value||[]).length>0),a=P(()=>!!(t.disabled||i!=null&&i.isDisabled.value)),l=P(()=>!!(t.readonly||i!=null&&i.isReadonly.value)),c=P(()=>t.errorMessages.length?gs(t.errorMessages):s.value),u=P(()=>t.error||c.value.length?!1:o.value?null:!0),d=U(!1),f=P(()=>({[`${e}--error`]:u.value===!1,[`${e}--dirty`]:r.value,[`${e}--disabled`]:a.value,[`${e}--readonly`]:l.value})),h=P(()=>{var v;return(v=t.name)!=null?v:Be()});Fa(()=>{i==null||i.register(h.value,p,g,m)}),ye(()=>{i==null||i.unregister(h.value)}),At(n,p);function g(){m(),n.value=null}function m(){o.value=!0,s.value=[]}async function p(){const v=[];d.value=!0;for(const _ of t.rules){if(v.length>=(t.maxErrors||1))break;const x=await(typeof _=="function"?_:()=>_)(n.value);if(x!==!0){if(typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}v.push(x)}}return s.value=v,d.value=!1,o.value=!1,s.value}return{errorMessages:c,isDirty:r,isDisabled:a,isReadonly:l,isPristine:o,isValid:u,isValidating:d,reset:g,resetValidation:m,validate:p,validationClasses:f}}const nl=dt(M(M({id:String,appendIcon:String,prependIcon:String,hideDetails:[Boolean,String],messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)}},bn()),hy())),il=le()({name:"VInput",props:M({},nl()),emits:{"click:prepend":t=>!0,"click:append":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{slots:n,emit:i}=e;const{densityClasses:s}=yn(t),{errorMessages:o,isDirty:r,isDisabled:a,isReadonly:l,isPristine:c,isValid:u,isValidating:d,reset:f,resetValidation:h,validate:g,validationClasses:m}=gy(t),p=Be(),v=P(()=>t.id||`input-${p}`),_=P(()=>({id:v,isDirty:r,isDisabled:a,isReadonly:l,isPristine:c,isValid:u,isValidating:d,reset:f,resetValidation:h,validate:g}));return Xt(()=>{var w,x,C,O,S;const A=!!(n.prepend||t.prependIcon),T=!!(n.append||t.appendIcon),D=!!((w=t.messages)!=null&&w.length||o.value.length),I=!t.hideDetails||t.hideDetails==="auto"&&D;return y("div",{class:["v-input",`v-input--${t.direction}`,s.value,m.value]},[A&&y("div",{class:"v-input__prepend"},[n==null||(x=n.prepend)==null?void 0:x.call(n,_.value),t.prependIcon&&y(pe,{onClick:E=>i("click:prepend",E),icon:t.prependIcon},null)]),n.default&&y("div",{class:"v-input__control"},[(C=n.default)==null?void 0:C.call(n,_.value)]),T&&y("div",{class:"v-input__append"},[n==null||(O=n.append)==null?void 0:O.call(n,_.value),t.appendIcon&&y(pe,{onClick:E=>i("click:append",E),icon:t.appendIcon},null)]),I&&y("div",{class:"v-input__details"},[y(uy,{active:D,messages:o.value.length>0?o.value:t.messages},{message:n.message}),(S=n.details)==null?void 0:S.call(n,_.value)])])}),{reset:f,resetValidation:h,validate:g}}});function wh(t){return Uo(t,Object.keys(il.props))}const my=ot({name:"VLabel",props:M({text:String},qt()),setup(t,e){let{slots:n}=e;return()=>{var i;return y("label",{class:"v-label"},[t.text,(i=n.default)==null?void 0:i.call(n)])}}}),zs=ot({name:"VFieldLabel",props:{floating:Boolean},setup(t,e){let{slots:n}=e;return()=>y(my,{class:["v-field-label",{"v-field-label--floating":t.floating}],"aria-hidden":t.floating||void 0},n)}});function py(t){const e=U(),n=U(!1);if(Ga){const i=new IntersectionObserver(s=>{t==null||t(s,i),n.value=!!s.find(o=>o.isIntersecting)});ye(()=>{i.disconnect()}),At(e,(s,o)=>{o&&(i.unobserve(o),n.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:e,isIntersecting:n}}const vy=ot({name:"VProgressLinear",props:M(M(M({active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean},Ve()),Wt()),qt()),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const i=ae(t,"modelValue"),{isRtl:s}=Qo(),{themeClasses:o}=te(t),{textColorClasses:r,textColorStyles:a}=ki(t,"color"),{backgroundColorClasses:l,backgroundColorStyles:c}=Fe(P(()=>t.bgColor||t.color)),{backgroundColorClasses:u,backgroundColorStyles:d}=Fe(t,"color"),{roundedClasses:f}=Ne(t),{intersectionRef:h,isIntersecting:g}=py(),m=P(()=>parseInt(t.max,10)),p=P(()=>parseInt(t.height,10)),v=P(()=>parseFloat(t.bufferValue)/m.value*100),_=P(()=>parseFloat(i.value)/m.value*100),w=P(()=>s.value!==t.reverse),x=P(()=>t.indeterminate?"fade-transition":"slide-x-transition"),C=P(()=>t.bgOpacity==null?t.bgOpacity:parseFloat(t.bgOpacity));function O(S){if(!h.value)return;const{left:A,right:T,width:D}=h.value.getBoundingClientRect(),I=w.value?D-S.clientX+(T-D):S.clientX-A;i.value=Math.round(I/D*m.value)}return()=>y(t.tag,{ref:h,class:["v-progress-linear",{"v-progress-linear--active":t.active&&g.value,"v-progress-linear--reverse":w.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped},f.value,o.value],style:{height:t.active?tt(p.value):0,"--v-progress-linear-height":tt(p.value)},role:"progressbar","aria-valuemin":"0","aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:_.value,onClick:t.clickable&&O},{default:()=>[t.stream&&y("div",{class:["v-progress-linear__stream",r.value],style:ut(M({},a.value),{[w.value?"left":"right"]:tt(-p.value),borderTop:`${tt(p.value/2)} dotted`,opacity:C.value,top:`calc(50% - ${tt(p.value/4)})`,width:tt(100-v.value,"%"),"--v-progress-linear-stream-to":tt(p.value*(w.value?1:-1))})},null),y("div",{class:["v-progress-linear__background",l.value],style:[c.value,{opacity:C.value,width:tt(t.stream?v.value:100,"%")}]},null),y(Ze,{name:x.value},{default:()=>[t.indeterminate?y("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(S=>y("div",{key:S,class:["v-progress-linear__indeterminate",S,u.value],style:d.value},null))]):y("div",{class:["v-progress-linear__determinate",u.value],style:[d.value,{width:tt(_.value,"%")}]},null)]}),n.default&&y("div",{class:"v-progress-linear__content"},[n.default({value:_.value,buffer:v.value})])]})}}),by=dt({loading:Boolean},"loader");function yy(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();return{loaderClasses:P(()=>({[`${e}--loading`]:t.loading}))}}function _y(t,e){var n;let{slots:i}=e;return y("div",{class:`${t.name}__loader`},[((n=i.default)==null?void 0:n.call(i,{color:t.color,isActive:t.active}))||y(vy,{active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const Ch=dt({focused:Boolean},"focus");function kh(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();const n=ae(t,"focused"),i=P(()=>({[`${e}--focused`]:n.value}));function s(){n.value=!0}function o(){n.value=!1}return{focusClasses:i,isFocused:n,focus:s,blur:o}}const xy=["underlined","outlined","filled","contained","plain"],Mh=dt(M(M({appendInnerIcon:String,bgColor:String,clearable:Boolean,clearIcon:{type:String,default:"$clear"},active:Boolean,color:String,dirty:Boolean,disabled:Boolean,error:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:String,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:t=>xy.includes(t)}},qt()),by()),"v-field"),Ph=le()({name:"VField",inheritAttrs:!1,props:M(M({id:String},Ch()),Mh()),emits:{"click:clear":t=>!0,"click:prepend-inner":t=>!0,"click:append-inner":t=>!0,"click:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const{themeClasses:o}=te(t),{loaderClasses:r}=yy(t),{focusClasses:a,isFocused:l,focus:c,blur:u}=kh(t),d=P(()=>t.dirty||t.active),f=P(()=>!t.singleLine&&!!(t.label||s.label)),h=Be(),g=P(()=>t.id||`input-${h}`),m=U(),p=U(),v=U(),{backgroundColorClasses:_,backgroundColorStyles:w}=Fe(rt(t,"bgColor")),{textColorClasses:x,textColorStyles:C}=ki(P(()=>d.value&&l.value&&!t.error&&!t.disabled?t.color:void 0));At(d,A=>{if(f.value){const T=m.value.$el,D=p.value.$el,I=Ua(T),E=D.getBoundingClientRect(),W=E.x-I.x,J=E.y-I.y-(I.height/2-E.height/2),H=E.width/.75,V=Math.abs(H-I.width)>1?{maxWidth:tt(H)}:void 0,X=parseFloat(getComputedStyle(T).transitionDuration)*1e3,q=parseFloat(getComputedStyle(D).getPropertyValue("--v-field-label-scale"));T.style.visibility="visible",D.style.visibility="hidden",T.animate([{transform:"translate(0)"},M({transform:`translate(${W}px, ${J}px) scale(${q})`},V)],{duration:X,easing:Lf,direction:A?"normal":"reverse"}).finished.then(()=>{T.style.removeProperty("visibility"),D.style.removeProperty("visibility")})}},{flush:"post"});const O=P(()=>({isActive:d,isFocused:l,controlRef:v,blur:u,focus:c}));function S(A){A.target!==document.activeElement&&A.preventDefault(),i("click:control",A)}return Xt(()=>{var A,T,D;const I=t.variant==="outlined",E=s.prependInner||t.prependInnerIcon,W=!!(t.clearable||s.clear),J=!!(s.appendInner||t.appendInnerIcon||W),H=s.label?s.label({label:t.label,props:{for:g.value}}):t.label;return y("div",zt({class:["v-field",{"v-field--active":d.value,"v-field--appended":J,"v-field--disabled":t.disabled,"v-field--dirty":t.dirty,"v-field--error":t.error,"v-field--has-background":!!t.bgColor,"v-field--persistent-clear":t.persistentClear,"v-field--prepended":E,"v-field--reverse":t.reverse,"v-field--single-line":t.singleLine,[`v-field--variant-${t.variant}`]:!0},o.value,_.value,a.value,r.value],style:[w.value,C.value],onClick:S},n),[y("div",{class:"v-field__overlay"},null),y(_y,{name:"v-field",active:t.loading,color:t.error?"error":t.color},{default:s.loader}),E&&y("div",{class:"v-field__prepend-inner"},[t.prependInnerIcon&&y(pe,{onClick:V=>i("click:prepend-inner",V),icon:t.prependInnerIcon},null),s==null||(A=s.prependInner)==null?void 0:A.call(s,O.value)]),y("div",{class:"v-field__field"},[["contained","filled"].includes(t.variant)&&f.value&&y(zs,{ref:p,class:[x.value],floating:!0},{default:()=>[H]}),y(zs,{ref:m,for:g.value},{default:()=>[H]}),(T=s.default)==null?void 0:T.call(s,ut(M({},O.value),{props:{id:g.value,class:"v-field__input"},focus:c,blur:u}))]),W&&y(ih,null,{default:()=>[Jt(y("div",{class:"v-field__clearable"},[s.clear?s.clear():y(pe,{onClick:V=>i("click:clear",V),icon:t.clearIcon},null)]),[[Xn,t.dirty]])]}),J&&y("div",{class:"v-field__append-inner"},[s==null||(D=s.appendInner)==null?void 0:D.call(s,O.value),t.appendInnerIcon&&y(pe,{onClick:V=>i("click:append-inner",V),icon:t.appendInnerIcon},null)]),y("div",{class:["v-field__outline",x.value]},[I&&y(It,null,[y("div",{class:"v-field__outline__start"},null),f.value&&y("div",{class:"v-field__outline__notch"},[y(zs,{ref:p,floating:!0},{default:()=>[H]})]),y("div",{class:"v-field__outline__end"},null)]),["plain","underlined"].includes(t.variant)&&f.value&&y(zs,{ref:p,floating:!0},{default:()=>[H]})])])}),{controlRef:v}}});function Sy(t){return Uo(t,Object.keys(Ph.props))}const wy=ot({name:"VCounter",functional:!0,props:M({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0}},Ai({transition:{component:nh}})),setup(t,e){let{slots:n}=e;const i=P(()=>t.max?`${t.value} / ${t.max}`:String(t.value));return()=>y(In,{transition:t.transition},{default:()=>[Jt(y("div",{class:"v-counter"},[n.default?n.default({counter:i.value,max:t.max,value:t.value}):i.value]),[[Xn,t.active]])]})}});function sl(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i!0,"click:append-inner":t=>!0,"click:clear":t=>!0,"click:control":t=>!0,"click:input":t=>!0,"click:prepend":t=>!0,"click:prepend-inner":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const o=ae(t,"modelValue"),r=P(()=>{var _;return typeof t.counterValue=="function"?t.counterValue(o.value):((_=o.value)!=null?_:"").toString().length}),a=P(()=>{if(n.maxlength)return n.maxlength;if(!(!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"))return t.counter});function l(_,w){var x,C;!t.autofocus||!_||(x=w[0].target)==null||(C=x.focus)==null||C.call(x)}const c=U(),u=U(),d=U(!1),f=U(),h=P(()=>Cy.includes(t.type)||t.persistentPlaceholder||d.value),g=P(()=>t.messages.length?t.messages:d.value||t.persistentHint?t.hint:"");function m(){if(f.value!==document.activeElement){var _;(_=f.value)==null||_.focus()}d.value||(d.value=!0)}function p(_){m(),i("click:control",_)}function v(_){_.stopPropagation(),m(),mn(()=>{o.value="",i("click:clear",_)})}return Xt(()=>{const _=!!(s.counter||t.counter||t.counterValue),[w,x]=yv(n),[A]=wh(t),T=A,{modelValue:C}=T,O=en(T,["modelValue"]),[S]=Sy(t);return y(il,zt({ref:c,modelValue:o.value,"onUpdate:modelValue":D=>o.value=D,class:["v-text-field",{"v-text-field--persistent-placeholder":t.persistentPlaceholder,"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-text-field--flush-details":["plain","underlined"].includes(t.variant)}],"onClick:prepend":D=>i("click:prepend",D),"onClick:append":D=>i("click:append",D)},w,O,{messages:g.value}),ut(M({},s),{default:D=>{let{isDisabled:I,isDirty:E,isReadonly:W,isValid:J}=D;return y(Ph,zt({ref:u,onMousedown:H=>{H.target!==f.value&&H.preventDefault()},"onClick:control":p,"onClick:clear":v,"onClick:prependInner":H=>i("click:prepend-inner",H),"onClick:appendInner":H=>i("click:append-inner",H),role:"textbox"},S,{active:h.value||E.value,dirty:E.value||t.dirty,focused:d.value,error:J.value===!1}),ut(M({},s),{default:H=>{var V;let{props:at}=H,gt=at,{class:X}=gt,q=en(gt,["class"]);return y(It,null,[t.prefix&&y("span",{class:"v-text-field__prefix"},[t.prefix]),y("div",{class:X,onClick:mt=>i("click:input",mt)},[(V=s.default)==null?void 0:V.call(s),Jt(y("input",zt({ref:f,"onUpdate:modelValue":mt=>o.value=mt,autofocus:t.autofocus,readonly:W.value,disabled:I.value,placeholder:t.placeholder,size:1,type:t.type,onFocus:m,onBlur:()=>d.value=!1},q,x),null),[[cv,o.value],[vn("intersect"),{handler:l},null,{once:!0}]])]),t.suffix&&y("span",{class:"v-text-field__suffix"},[t.suffix])])}}))},details:_?()=>y(It,null,[y("span",null,null),y(wy,{active:t.persistentCounter||d.value,value:r.value,max:a.value},s.counter)]):void 0}))}),sl({},c,u,f)}}),ea=Symbol.for("vuetify:locale-adapter"),Hs=Symbol.for("vuetify:locale");function My(){const t=Ot(ea);if(!t)throw new Error("[Vuetify] Could not find injected locale adapter");return t.getScope()}function Py(t){return!!t&&t.hasOwnProperty("getScope")&&t.hasOwnProperty("createScope")&&t.hasOwnProperty("createRoot")}function Ay(t,e){const n=Py(e)?e:Ey(e),i=n.createRoot(t);return{adapter:n,rootInstance:i}}const Xc="$vuetify.",qc=(t,e)=>t.replace(/\{(\d+)\}/g,(n,i)=>String(e[+i])),Ty=(t,e,n)=>function(i){for(var s=arguments.length,o=new Array(s>1?s-1:0),r=1;rnew Intl.NumberFormat([t.value,e.value],i).format(n)}function Ey(t){const e=n=>{const i=U(n.current),s=U(n.fallback),o=U(n.messages);return{current:i,fallback:s,messages:o,t:Ty(i,s,o),n:Oy(i,s)}};return{createRoot:n=>{var i,s,o;const r=e({current:(i=t==null?void 0:t.defaultLocale)!=null?i:"en",fallback:(s=t==null?void 0:t.fallbackLocale)!=null?s:"en",messages:(o=t==null?void 0:t.messages)!=null?o:{en:qb}});return n.provide(Hs,r),r},getScope:()=>{const n=Ot(Hs);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n},createScope:n=>{const i=Ot(Hs);if(!i)throw new Error("[Vuetify] Could not find injected locale instance");const s=e({current:P(()=>{var o;return(o=n==null?void 0:n.locale)!=null?o:i.current.value}),fallback:P(()=>{var o;return(o=n==null?void 0:n.locale)!=null?o:i.fallback.value}),messages:P(()=>{var o;return(o=n==null?void 0:n.messages)!=null?o:i.messages.value})});return Qt(Hs,s),s}}}function Ly(t){var e;return{title:String((e=typeof t=="object"?t.title:t)!=null?e:""),value:typeof t=="object"?t.value:t}}const Dy=dt({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},menuIcon:{type:String,default:"$dropdown"},modelValue:{type:[Number,String,Array],default:()=>[]},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean},"select"),Bw=le()({name:"VSelect",props:M(M({},Dy()),Ai({transition:"scale-transition"})),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{t:i}=My(),s=U(),o=U(),r=U(!1),a=P(()=>t.items.map(Ly)),l=ae(t,"modelValue",[],m=>gs(m),m=>t.multiple?m:m[0]),c=P(()=>a.value.filter(m=>l.value.includes(m.value))),u=P(()=>c.value.map(m=>m.value));function d(m){l.value=[],t.openOnClear&&(r.value=!0)}function f(){t.hideNoData&&!a.value.length||(r.value=!0)}function h(m){["Enter","ArrowDown"," "].includes(m.key)&&(r.value=!0),["Escape","Tab"].includes(m.key)&&(r.value=!1)}function g(m){t.multiple?c.value.findIndex(v=>v.value===m.value)===-1?l.value.push(m.value):l.value=u.value.filter(v=>v!==m.value):(l.value=[m.value],r.value=!1)}return At(()=>s.value,m=>{o.value=m.$el.querySelector(".v-input__control")}),Xt(()=>{const m=!!(t.chips||n.chip);return y(ky,{ref:s,class:["v-select",{"v-select--active-menu":r.value,"v-select--chips":!!t.chips,[`v-select--${t.multiple?"multiple":"single"}`]:!0}],appendInnerIcon:t.menuIcon,readonly:!0,"onClick:clear":d,"onClick:input":f,"onClick:control":f,onBlur:()=>r.value=!1,modelValue:l.value.join(", "),onKeydown:h},ut(M({},n),{default:()=>y(It,null,[o.value&&y(cy,{modelValue:r.value,"onUpdate:modelValue":p=>r.value=p,activator:o.value,contentClass:"v-select__content",eager:t.eager,openOnClick:!1,transition:t.transition},{default:()=>[y(Lb,{selected:u.value,selectStrategy:t.multiple?"independent":"single-independent"},{default:()=>[!a.value.length&&!t.hideNoData&&y(xo,{title:i(t.noDataText)},null),a.value.map(p=>y(xo,{title:p.title,value:p.value,onMousedown:v=>v.preventDefault(),onClick:()=>g(p)},null))]})]}),c.value.map((p,v)=>{function _(x){x.stopPropagation(),x.preventDefault(),g(p)}const w={"onClick:close":_,modelValue:!0};return y("div",{class:"v-select__selection"},[m&&y(di,{defaults:{VChip:{closable:t.closableChips,size:"small",text:p.title}}},{default:()=>[n.chip?n.chip({props:w,selection:p}):y(bb,w,null)]}),!m&&(n.selection?n.selection({selection:p}):y("span",{class:"v-select__selection-text"},[p.title,t.multiple&&vtypeof t=="boolean"||t==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:t=>typeof t=="boolean"||t==="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:t=>["vertical","horizontal"].includes(t)},reverse:Boolean},Ve()),_n({elevation:2})),"slider"),Fy=t=>{let{props:e,handleSliderMouseUp:n,handleMouseMove:i,getActiveThumb:s}=t;const{isRtl:o}=Qo(),r=P(()=>o.value!==e.reverse),a=P(()=>{let Y=o.value?"rtl":"ltr";return e.reverse&&(Y=Y==="rtl"?"ltr":"rtl"),Y}),l=P(()=>parseFloat(e.min)),c=P(()=>parseFloat(e.max)),u=P(()=>e.step>0?parseFloat(e.step):0),d=P(()=>{const Y=u.value.toString().trim();return Y.includes(".")?Y.length-Y.indexOf(".")-1:0}),f=P(()=>parseInt(e.thumbSize,10)),h=P(()=>parseInt(e.tickSize,10)),g=P(()=>parseInt(e.trackSize,10)),m=P(()=>(c.value-l.value)/u.value),p=rt(e,"disabled"),v=P(()=>e.direction==="vertical"),_=P(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.thumbColor)!=null?Y:e.color}),w=P(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.trackColor)!=null?Y:e.color}),x=P(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.trackFillColor)!=null?Y:e.color}),C=U(!1),O=U(0),S=U(),A=U();function T(Y){if(u.value<=0)return Y;const pt=Yr(Y,l.value,c.value),ee=l.value%u.value,ne=Math.round((pt-ee)/u.value)*u.value+ee;return parseFloat(Math.min(ne,c.value).toFixed(d.value))}function D(Y){var pt;const ee=e.direction==="vertical",ne=ee?"top":"left",ti=ee?"height":"width",Os=ee?"clientY":"clientX",{[ne]:tn,[ti]:Ti}=(pt=S.value)==null?void 0:pt.$el.getBoundingClientRect(),Oi=Ry(Y,Os);let b=Math.min(Math.max((Oi-tn-O.value)/Ti,0),1)||0;return(ee||r.value)&&(b=1-b),T(l.value+b*(c.value-l.value))}let I=!1;const E=Y=>{I||(O.value=0,n(D(Y))),C.value=!1,I=!1,O.value=0},W=Y=>{A.value=s(Y),A.value&&(A.value.focus(),C.value=!0,A.value.contains(Y.target)?(I=!0,O.value=Iy(Y,A.value,e.direction)):(O.value=0,i(D(Y))))},J={passive:!0,capture:!0};function H(Y){I=!0,i(D(Y))}function V(Y){Y.stopPropagation(),Y.preventDefault(),E(Y),window.removeEventListener("mousemove",H,J),window.removeEventListener("mouseup",V)}function X(Y){Y.stopPropagation(),Y.preventDefault(),E(Y),window.removeEventListener("touchmove",H,J),window.removeEventListener("touchend",X)}function q(Y){W(Y),window.addEventListener("touchmove",H,J),window.addEventListener("touchend",X,{passive:!1})}function at(Y){Y.preventDefault(),W(Y),window.addEventListener("mousemove",H,J),window.addEventListener("mouseup",V,{passive:!1})}const gt=Y=>{const pt=(Y-l.value)/(c.value-l.value)*100;return Yr(isNaN(pt)?0:pt,0,100)},mt=P(()=>e.ticks?Array.isArray(e.ticks)?e.ticks.map(Y=>({value:Y,position:gt(Y),label:Y.toString()})):Object.keys(e.ticks).map(Y=>({value:parseInt(Y,10),position:gt(parseInt(Y,10)),label:e.ticks[Y]})):m.value!==1/0?kf(m.value+1).map(Y=>{const pt=l.value+Y*u.value;return{value:pt,position:gt(pt)}}):[]),Dt=P(()=>mt.value.some(Y=>{let{label:pt}=Y;return!!pt})),Rt={activeThumbRef:A,color:rt(e,"color"),decimals:d,disabled:p,direction:rt(e,"direction"),elevation:rt(e,"elevation"),hasLabels:Dt,horizontalDirection:a,isReversed:r,min:l,max:c,mousePressed:C,numTicks:m,onSliderMousedown:at,onSliderTouchstart:q,parsedTicks:mt,parseMouseMove:D,position:gt,readonly:rt(e,"readonly"),rounded:rt(e,"rounded"),roundValue:T,showTicks:rt(e,"showTicks"),startOffset:O,step:u,thumbSize:f,thumbColor:_,thumbLabel:rt(e,"thumbLabel"),ticks:rt(e,"ticks"),tickSize:h,trackColor:w,trackContainerRef:S,trackFillColor:x,trackSize:g,vertical:v};return Qt(ol,Rt),Rt},By=ot({name:"VSliderThumb",directives:{Ripple:ks},props:{focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0}},emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n,emit:i}=e;const s=Ot(ol);if(!s)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:r,vertical:a,disabled:l,thumbSize:c,thumbLabel:u,direction:d,readonly:f,elevation:h,isReversed:g,horizontalDirection:m,mousePressed:p,decimals:v}=s,{textColorClasses:_,textColorStyles:w}=ki(o),{pageup:x,pagedown:C,end:O,home:S,left:A,right:T,down:D,up:I}=bv,E=[x,C,O,S,A,T,D,I],W=P(()=>r.value?[1,2,3]:[1,5,10]);function J(V,X){if(!E.includes(V.key))return;V.preventDefault();const q=r.value||.1,at=(t.max-t.min)/q;if([A,T,D,I].includes(V.key)){const mt=(g.value?[A,I]:[T,I]).includes(V.key)?1:-1,Dt=V.shiftKey?2:V.ctrlKey?1:0;X=X+mt*q*W.value[Dt]}else if(V.key===S)X=t.min;else if(V.key===O)X=t.max;else{const gt=V.key===C?1:-1;X=X-gt*q*(at>100?at/10:10)}return Math.max(t.min,Math.min(t.max,X))}function H(V){const X=J(V,t.modelValue);X!=null&&i("update:modelValue",X)}return()=>{var V,X;const q=tt(a.value?100-t.position:t.position,"%"),at=a.value?"block":"inline",{elevationClasses:gt}=xn(P(()=>l.value?void 0:h.value));return y("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":t.focused,"v-slider-thumb--pressed":t.focused&&p.value}],style:{[`inset-${at}-start`]:`calc(${q} - var(--v-slider-thumb-size) / 2)`,"--v-slider-thumb-size":tt(c.value),direction:a.value?void 0:m.value},role:"slider",tabindex:l.value?-1:0,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":t.modelValue,"aria-readonly":f.value,"aria-orientation":d.value,onKeydown:f.value?void 0:H},[y("div",{class:["v-slider-thumb__surface",_.value,gt.value],style:M({},w.value)},null),Jt(y("div",{class:["v-slider-thumb__ripple",_.value],style:w.value},null),[[vn("ripple"),!0,null,{circle:!0,center:!0}]]),y(cb,{origin:"bottom center"},{default:()=>[Jt(y("div",{class:"v-slider-thumb__label-container"},[y("div",{class:["v-slider-thumb__label"]},[y("div",null,[(V=(X=n["thumb-label"])==null?void 0:X.call(n,{modelValue:t.modelValue}))!=null?V:t.modelValue.toFixed(r.value?v.value:1)])])]),[[Xn,u.value&&t.focused||u.value==="always"]])]})])}}});const Vy=ot({name:"VSliderTrack",props:{start:{type:Number,required:!0},stop:{type:Number,required:!0}},emits:{},setup(t,e){let{slots:n}=e;const i=Ot(ol);if(!i)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{trackColor:s,trackFillColor:o,vertical:r,tickSize:a,showTicks:l,trackSize:c,color:u,rounded:d,parsedTicks:f,horizontalDirection:h}=i,{roundedClasses:g}=Ne(d),{backgroundColorClasses:m,backgroundColorStyles:p}=Fe(o),{backgroundColorClasses:v,backgroundColorStyles:_}=Fe(s),w=P(()=>`inset-${r.value?"block-end":"inline-start"}`),x=P(()=>r.value?"height":"width"),C=P(()=>({[w.value]:"0%",[x.value]:"100%"})),O=P(()=>t.stop-t.start),S=P(()=>({[w.value]:tt(t.start,"%"),[x.value]:tt(O.value,"%")})),A=P(()=>(r.value?f.value.slice().reverse():f.value).map((D,I)=>{var E,W;const J=r.value?"inset-block-end":"margin-inline-start";return y("div",{key:D.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":D.position>=t.start&&D.position<=t.stop}],style:{[J]:D.position>0&&D.position<100&&tt(D.position,"%")}},[(D.label||n["tick-label"])&&y("div",{class:"v-slider-track__tick-label"},[(E=(W=n["tick-label"])==null?void 0:W.call(n,{tick:D,index:I}))!=null?E:D.label])])}));return()=>y("div",{class:["v-slider-track",g.value],style:{"--v-slider-track-size":tt(c.value),"--v-slider-tick-size":tt(a.value),direction:r.value?void 0:h.value}},[y("div",{class:["v-slider-track__background",v.value,{"v-slider-track__background--opacity":!!u.value||!o.value}],style:M(M({},C.value),_.value)},null),y("div",{class:["v-slider-track__fill",m.value],style:M(M({},S.value),p.value)},null),l.value&&y("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":l.value==="always"}]},[A.value])])}}),Vw=ot({name:"VSlider",props:ut(M(M(M({},Ch()),$y()),nl()),{modelValue:{type:[Number,String],default:0}}),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const s=U(),{min:o,max:r,mousePressed:a,roundValue:l,onSliderMousedown:c,onSliderTouchstart:u,trackContainerRef:d,position:f,hasLabels:h,readonly:g}=Fy({props:t,handleSliderMouseUp:x=>m.value=l(x),handleMouseMove:x=>m.value=l(x),getActiveThumb:()=>{var x;return(x=s.value)==null?void 0:x.$el}}),m=ae(t,"modelValue",void 0,x=>{const C=typeof x=="string"?parseFloat(x):x==null?o.value:x;return l(C)}),{isFocused:p,focus:v,blur:_}=kh(t),w=P(()=>f(m.value));return()=>{const[x,C]=wh(t);return y(il,zt({class:["v-slider",{"v-slider--has-labels":!!i["tick-label"]||h.value,"v-slider--focused":p.value,"v-slider--pressed":a.value,"v-slider--disabled":t.disabled}]},x,{focused:p.value}),ut(M({},i),{default:O=>{let{id:S}=O;return y("div",{class:"v-slider__container",onMousedown:g.value?void 0:c,onTouchstartPassive:g.value?void 0:u},[y("input",{id:S.value,name:t.name||S.value,disabled:t.disabled,readonly:t.readonly,tabindex:"-1",value:m.value},null),y(Vy,{ref:d,start:0,stop:w.value},{"tick-label":i["tick-label"]}),y(By,{ref:s,focused:p.value,min:o.value,max:r.value,modelValue:m.value,"onUpdate:modelValue":A=>m.value=A,position:w.value,elevation:t.elevation,onFocus:v,onBlur:_},{"thumb-label":i["thumb-label"]})])}}))}}});const Ny=ot({name:"VCardActions",setup(t,e){let{slots:n}=e;return qn({VBtn:{variant:"text"}}),Xt(()=>{var i;return y("div",{class:"v-card-actions"},[n==null||(i=n.default)==null?void 0:i.call(n)])}),{}}}),Gc=Ae("v-card-avatar"),zy=Ae("v-card-content"),Hy=Ae("v-card-header"),Wy=Ae("v-card-header-text"),jy=Ae("v-card-img"),Uy=Ae("v-card-subtitle"),Yy=Ae("v-card-text"),Ky=Ae("v-card-title"),Xy=["static","relative","fixed","absolute","sticky"],Ah=dt({absolute:Boolean,bottom:[Boolean,Number,String],fixed:Boolean,left:[Boolean,Number,String],position:{type:String,validator:t=>Xy.includes(t)},right:[Boolean,Number,String],top:[Boolean,Number,String]},"position");function Th(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe();const n=["top","right","bottom","left"],i=P(()=>t.fixed?`${e}--fixed`:t.absolute?`${e}--absolute`:t.position?`position-${t.position}`:void 0),s=P(()=>{const o={};for(const r of n){const a=t[r];a==null||a===!1||(o[r]=tt(a===!0?"0":String(a)))}return o});return{positionClasses:i,positionStyles:s}}const Nw=ot({name:"VCard",directives:{Ripple:ks},props:M(M(M(M(M(M(M(M(M(M({appendAvatar:String,appendIcon:String,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:Boolean,prependAvatar:String,prependIcon:String,ripple:Boolean,subtitle:String,text:String,title:String},qt()),Zn()),bn()),Mi()),_n()),Ah()),Ve()),Jo()),Wt()),Gn({variant:"contained"})),setup(t,e){let{attrs:n,slots:i}=e;const{themeClasses:s}=te(t),{borderClasses:o}=Jn(t),{colorClasses:r,colorStyles:a,variantClasses:l}=Go(t),{densityClasses:c}=yn(t),{dimensionStyles:u}=Pi(t),{elevationClasses:d}=xn(t),{positionClasses:f,positionStyles:h}=Th(t),{roundedClasses:g}=Ne(t),m=Zo(t,n);return()=>{var p,v,_,w;const x=m.isLink.value?"a":t.tag,C=!!(i.title||t.title),O=!!(i.subtitle||t.subtitle),S=C||O,A=!!(i.append||t.appendAvatar||t.appendIcon),T=!!(i.prepend||t.prependAvatar||t.prependIcon),D=!!(i.image||t.image),I=S||T||A,E=!!(i.text||t.text),W=!t.disabled&&(m.isClickable.value||t.link);return Jt(y(x,{class:["v-card",{"v-card--disabled":t.disabled,"v-card--flat":t.flat,"v-card--hover":t.hover&&!(t.disabled||t.flat),"v-card--link":W},s.value,o.value,r.value,c.value,d.value,f.value,g.value,l.value],style:[a.value,u.value,h.value],href:m.href.value,onClick:W&&m.navigate},{default:()=>[qo(W,"v-card"),D&&y(di,{defaults:{VImg:{cover:!0,src:t.image}}},{default:()=>[y(jy,null,{default:()=>[i.image?(p=i.image)==null?void 0:p.call(i):y(el,{alt:""},null)]})]}),(v=i.media)==null?void 0:v.call(i),I&&y(Hy,null,{default:()=>[T&&y(di,{defaults:{VAvatar:{density:t.density,icon:t.prependIcon,image:t.prependAvatar}}},{default:()=>[y(Gc,null,{default:()=>[i.prepend?i.prepend():y(ms,null,null)]})]}),S&&y(Wy,null,{default:()=>[C&&y(Ky,null,{default:()=>[i.title?i.title():t.title]}),O&&y(Uy,null,{default:()=>[i.subtitle?i.subtitle():t.subtitle]}),(_=i.headerText)==null?void 0:_.call(i)]}),A&&y(di,{defaults:{VAvatar:{density:t.density,icon:t.appendIcon,image:t.appendAvatar}}},{default:()=>[y(Gc,null,{default:()=>[i.append?i.append():y(ms,null,null)]})]})]}),E&&y(Yy,null,{default:()=>[i.text?i.text():t.text]}),i.content&&y(zy,null,{default:i.content}),(w=i.default)==null?void 0:w.call(i),i.actions&&y(Ny,null,{default:i.actions})]}),[[vn("ripple"),W]])}}});const qy=ot({name:"VBtnGroup",props:M(M(M(M(M(M(M({divided:Boolean},Zn()),bn()),_n()),Ve()),Wt()),qt()),Gn()),setup(t,e){let{slots:n}=e;const{themeClasses:i}=te(t),{densityClasses:s}=yn(t),{borderClasses:o}=Jn(t),{elevationClasses:r}=xn(t),{roundedClasses:a}=Ne(t);qn({VBtn:{height:"auto",color:rt(t,"color"),density:rt(t,"density"),flat:!0,variant:rt(t,"variant")}}),Xt(()=>y(t.tag,{class:["v-btn-group",{"v-btn-group--divided":t.divided},i.value,o.value,s.value,r.value,a.value]},n))}}),Oh=Symbol.for("vuetify:v-btn-toggle");le()({name:"VBtnToggle",props:Xf({selectedClass:"v-btn--selected"}),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{isSelected:i,next:s,prev:o,select:r,selected:a}=Zf(t,Oh);return Xt(()=>{var l;return y(qy,{class:"v-btn-toggle"},{default:()=>[(l=n.default)==null?void 0:l.call(n,{isSelected:i,next:s,prev:o,select:r,selected:a})]})}),{next:s,prev:o,select:r}}});const Gy=ot({name:"VBtn",directives:{Ripple:ks},props:M(M(M(M(M(M(M(M(M(M(M(M({flat:Boolean,icon:[Boolean,String],prependIcon:String,appendIcon:String,block:Boolean,stacked:Boolean,ripple:{type:Boolean,default:!0}},Zn()),Ve()),bn()),Mi()),_n()),qf()),Ah()),Jo()),Yo()),Wt({tag:"button"})),qt()),Gn({variant:"contained"})),setup(t,e){let{attrs:n,slots:i}=e;const{themeClasses:s}=te(t),{borderClasses:o}=Jn(t),{colorClasses:r,colorStyles:a,variantClasses:l}=Go(t),{densityClasses:c}=yn(t),{dimensionStyles:u}=Pi(t),{elevationClasses:d}=xn(t),{positionClasses:f,positionStyles:h}=Th(t),{roundedClasses:g}=Ne(t),{sizeClasses:m}=Ko(t),p=Gf(t,Oh,!1),v=Zo(t,n),_=P(()=>(p==null?void 0:p.disabled.value)||t.disabled),w=P(()=>t.variant==="contained"&&!(t.disabled||t.flat||t.border));return()=>{var x,C;const O=v.isLink.value?"a":t.tag,S=!p||p.isSelected.value;return Jt(y(O,{type:O==="a"?void 0:"button",class:["v-btn",p==null?void 0:p.selectedClass.value,{"v-btn--active":(x=v.isExactActive)==null?void 0:x.value,"v-btn--block":t.block,"v-btn--disabled":_.value,"v-btn--elevated":w.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--stacked":t.stacked},s.value,o.value,S?r.value:void 0,c.value,d.value,f.value,g.value,m.value,l.value],style:[S?a.value:void 0,u.value,h.value],disabled:_.value||void 0,href:v.href.value,onClick:_.value||v.navigate||(p==null?void 0:p.toggle)},{default:()=>[qo(!0,"v-btn"),!t.icon&&t.prependIcon&&y(pe,{class:"v-btn__icon",icon:t.prependIcon,start:!0},null),typeof t.icon=="boolean"?(C=i.default)==null?void 0:C.call(i):y(pe,{class:"v-btn__icon",icon:t.icon,size:t.size},null),!t.icon&&t.appendIcon&&y(pe,{class:"v-btn__icon",icon:t.appendIcon,end:!0},null)]}),[[vn("ripple"),!_.value&&t.ripple,null]])}}});const na=le()({name:"VToolbarTitle",props:M({text:String},Wt()),setup(t,e){let{slots:n}=e;return Xt(()=>{var i;const s=!!(n.default||n.text||t.text);return y(t.tag,{class:"v-toolbar-title"},{default:()=>[s&&y("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():t.text,(i=n.default)==null?void 0:i.call(n)])]})}),{}}}),Zy=[null,"prominent","default","comfortable","compact"],Eh=dt(M(M(M(M(M({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:t=>Zy.includes(t)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:56},image:String,title:String},Zn()),_n()),Ve()),Wt({tag:"header"})),qt()),"v-toolbar"),ia=le()({name:"VToolbar",props:Eh(),setup(t,e){let{slots:n}=e;const{borderClasses:i}=Jn(t),{elevationClasses:s}=xn(t),{roundedClasses:o}=Ne(t),{themeClasses:r}=te(t),{backgroundColorClasses:a,backgroundColorStyles:l}=Fe(rt(t,"color")),c=P(()=>!!(t.extended||n.extension)),u=P(()=>parseInt(Number(t.height)+(t.density==="prominent"?Number(t.height):0)-(t.density==="comfortable"?8:0)-(t.density==="compact"?16:0),10)),d=P(()=>c.value?parseInt(Number(t.extensionHeight)+(t.density==="prominent"?Number(t.extensionHeight):0)-(t.density==="comfortable"?4:0)-(t.density==="compact"?8:0),10):0);return qn({VBtn:{flat:!0,variant:"text"}}),Xt(()=>{var f,h,g,m,p;const v=!!(t.title||n.title),_=!!(n.image||t.image);return y(t.tag,{class:["v-toolbar",{"v-toolbar--absolute":t.absolute,"v-toolbar--collapse":t.collapse,"v-toolbar--flat":t.flat,"v-toolbar--floating":t.floating,[`v-toolbar--density-${t.density}`]:!0},a.value,i.value,s.value,o.value,r.value],style:[l.value]},{default:()=>[_&&y("div",{class:"v-toolbar__image"},[y(di,{defaults:{VImg:{cover:!0,src:t.image}},scoped:!0},{default:()=>[n.image?(f=n.image)==null?void 0:f.call(n):y(el,null,null)]})]),y("div",{class:"v-toolbar__content",style:{height:tt(u.value)}},[n.prepend&&y("div",{class:"v-toolbar__prepend"},[(h=n.prepend)==null?void 0:h.call(n)]),v&&y(na,{text:t.title},{text:n.title}),(g=n.default)==null?void 0:g.call(n),n.append&&y("div",{class:"v-toolbar__append"},[(m=n.append)==null?void 0:m.call(n)])]),c.value&&y("div",{class:"v-toolbar__extension",style:{height:tt(d.value)}},[(p=n.extension)==null?void 0:p.call(n)])]})}),sl({contentHeight:u,extensionHeight:d})}});function Jy(t){var e;return Uo(t,Object.keys((e=ia==null?void 0:ia.props)!=null?e:{}))}function Qy(t){const e=U(),n=U();if(Ft){const i=new ResizeObserver(s=>{t==null||t(s,i),s.length&&(n.value=s[0].contentRect)});ye(()=>{i.disconnect()}),At(e,(s,o)=>{o&&(i.unobserve(o),n.value=void 0),s&&i.observe(s)},{flush:"post"})}return{resizeRef:e,contentRect:Aa(n)}}const wo=Symbol.for("vuetify:layout"),Lh=Symbol.for("vuetify:layout-item"),pr=1e3,t_=dt({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),e_=dt({name:{type:String},priority:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function n_(){const t=Ot(wo);if(!t)throw new Error("Could not find injected Vuetify layout");return t}function i_(t){var e;const n=Ot(wo);if(!n)throw new Error("Could not find injected Vuetify layout");const i=(e=t.id)!=null?e:`layout-item-${Be()}`,s=_e("useLayoutItem");Qt(Lh,{id:i});const o=U(!1);Xd(()=>o.value=!0),Kd(()=>o.value=!1);const{layoutItemStyles:r,layoutItemScrimStyles:a}=n.register(s,ut(M({},t),{active:P(()=>o.value?!1:t.active.value),id:i}));return ye(()=>n.unregister(i)),{layoutItemStyles:r,layoutRect:n.layoutRect,layoutItemScrimStyles:a}}const s_=(t,e,n,i)=>{let s={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:M({},s)}];for(const r of t){const a=e.get(r),l=n.get(r),c=i.get(r);if(!a||!l||!c)continue;const u=ut(M({},s),{[a.value]:parseInt(s[a.value],10)+(c.value?parseInt(l.value,10):0)});o.push({id:r,layer:u}),s=u}return o};function o_(t){const e=Ot(wo,null),n=P(()=>e?e.rootZIndex.value-100:pr),i=U([]),s=Ce(new Map),o=Ce(new Map),r=Ce(new Map),a=Ce(new Map),l=Ce(new Map),{resizeRef:c,contentRect:u}=Qy(),d=P(()=>{var C;const O=new Map,S=(C=t.overlaps)!=null?C:[];for(const A of S.filter(T=>T.includes(":"))){const[T,D]=A.split(":");if(!i.value.includes(T)||!i.value.includes(D))continue;const I=s.get(T),E=s.get(D),W=o.get(T),J=o.get(D);!I||!E||!W||!J||(O.set(D,{position:I.value,amount:parseInt(W.value,10)}),O.set(T,{position:E.value,amount:-parseInt(J.value,10)}))}return O}),f=P(()=>{const C=[...new Set([...r.values()].map(S=>S.value))].sort((S,A)=>S-A),O=[];for(const S of C){const A=i.value.filter(T=>{var D;return((D=r.get(T))==null?void 0:D.value)===S});O.push(...A)}return s_(O,s,o,a)}),h=P(()=>!Array.from(l.values()).some(C=>C.value)),g=P(()=>{const C=f.value[f.value.length-1].layer;return M({position:"relative",paddingLeft:tt(C.left),paddingRight:tt(C.right),paddingTop:tt(C.top),paddingBottom:tt(C.bottom)},h.value?void 0:{transition:"none"})}),m=P(()=>f.value.slice(1).map((C,O)=>{let{id:S}=C;const{layer:A}=f.value[O],T=o.get(S);return ut(M({id:S},A),{size:Number(T.value)})})),p=C=>m.value.find(O=>O.id===C),v=_e("createLayout"),_=U(!1);pn(()=>{_.value=!0}),Qt(wo,{register:(C,O)=>{let{id:S,priority:A,position:T,layoutSize:D,elementSize:I,active:E,disableTransitions:W,absolute:J}=O;r.set(S,A),s.set(S,T),o.set(S,D),a.set(S,E),W&&l.set(S,W);const V=Qi(Lh,v==null?void 0:v.vnode).indexOf(C);V>-1?i.value.splice(V,0,S):i.value.push(S);const X=P(()=>m.value.findIndex(mt=>mt.id===S)),q=P(()=>n.value+f.value.length*2-X.value*2),at=P(()=>{const mt=T.value==="left"||T.value==="right",Dt=T.value==="right",Rt=T.value==="bottom",Y=M({[T.value]:0,zIndex:q.value,transform:`translate${mt?"X":"Y"}(${(E.value?0:-110)*(Dt||Rt?-1:1)}%)`,position:J.value||n.value!==pr?"absolute":"fixed"},h.value?void 0:{transition:"none"});if(!_.value)return Y;if(X.value<0)throw new Error(`Layout item "${S}" is missing`);const pt=m.value[X.value];if(!pt)throw new Error(`Could not find layout item "${S}`);const ee=d.value.get(S);return ee&&(pt[ee.position]+=ee.amount),ut(M({},Y),{height:mt?`calc(100% - ${pt.top}px - ${pt.bottom}px)`:`${I.value}px`,marginLeft:Dt?void 0:`${pt.left}px`,marginRight:Dt?`${pt.right}px`:void 0,marginTop:T.value!=="bottom"?`${pt.top}px`:void 0,marginBottom:T.value!=="top"?`${pt.bottom}px`:void 0,width:mt?`${I.value}px`:`calc(100% - ${pt.left}px - ${pt.right}px)`})}),gt=P(()=>({zIndex:q.value-1,position:n.value===pr?"fixed":"absolute"}));return{layoutItemStyles:at,layoutItemScrimStyles:gt,zIndex:q}},unregister:C=>{r.delete(C),s.delete(C),o.delete(C),a.delete(C),l.delete(C),i.value=i.value.filter(O=>O!==C)},mainStyles:g,getLayoutItem:p,items:m,layoutRect:u,rootZIndex:n});const w=P(()=>["v-layout",{"v-layout--full-height":t.fullHeight}]),x=P(()=>({zIndex:n.value}));return{layoutClasses:w,layoutStyles:x,getLayoutItem:p,items:m,layoutRect:u,layoutRef:c}}const zw=ot({name:"VAppBar",props:ut(M(M({modelValue:{type:Boolean,default:!0},position:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)}},Eh()),e_()),{height:{type:[Number,String],default:64}}),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const i=U(),s=ae(t,"modelValue"),o=P(()=>{var a,l,c,u;const d=(a=(l=i.value)==null?void 0:l.contentHeight)!=null?a:0,f=(c=(u=i.value)==null?void 0:u.extensionHeight)!=null?c:0;return d+f}),{layoutItemStyles:r}=i_({id:t.name,priority:P(()=>parseInt(t.priority,10)),position:rt(t,"position"),layoutSize:o,elementSize:o,active:s,absolute:rt(t,"absolute")});return()=>{const[a]=Jy(t);return y(ia,zt({ref:i,class:["v-app-bar",{"v-app-bar--bottom":t.position==="bottom"}],style:ut(M({},r.value),{height:void 0})},a),n)}}}),Hw=ot({name:"VAppBarNavIcon",props:{icon:{type:String,default:"$menu"}},setup(t,e){let{slots:n}=e;return()=>{var i;return y(Gy,{class:"v-app-bar-nav-icon",icon:t.icon},{default:()=>[(i=n.default)==null?void 0:i.call(n)]})}}}),Ww=ot(ut(M({},na),{name:"VAppBarTitle",setup(t,e){let{slots:n}=e;return()=>y(na,{class:"v-app-bar-title"},n)}}));/*! - * Chart.js v3.7.1 - * https://www.chartjs.org - * (c) 2022 Chart.js Contributors - * Released under the MIT License - */const Dh=function(){return typeof window=="undefined"?function(t){return t()}:window.requestAnimationFrame}();function Ih(t,e,n){const i=n||(r=>Array.prototype.slice.call(r));let s=!1,o=[];return function(...r){o=i(r),s||(s=!0,Dh.call(window,()=>{s=!1,t.apply(e,o)}))}}function r_(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const rl=t=>t==="start"?"left":t==="end"?"right":"center",jt=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,a_=(t,e,n,i)=>t===(i?"left":"right")?n:t==="center"?(e+n)/2:e;function He(){}const l_=function(){let t=0;return function(){return t++}}();function bt(t){return t===null||typeof t=="undefined"}function Ct(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.substr(0,7)==="[object"&&e.substr(-6)==="Array]"}function ht(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}const Ht=t=>(typeof t=="number"||t instanceof Number)&&isFinite(+t);function de(t,e){return Ht(t)?t:e}function st(t,e){return typeof t=="undefined"?e:t}const c_=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:t/e,Rh=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function xt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function vt(t,e,n,i){let s,o,r;if(Ct(t))if(o=t.length,i)for(s=o-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;sn;)t=t[e.substr(n,i-n)],n=i+1,i=Zc(e,n);return t}function al(t){return t.charAt(0).toUpperCase()+t.slice(1)}const be=t=>typeof t!="undefined",hn=t=>typeof t=="function",Jc=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function g_(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Pt=Math.PI,St=2*Pt,m_=St+Pt,Mo=Number.POSITIVE_INFINITY,p_=Pt/180,Tt=Pt/2,$i=Pt/4,Qc=Pt*2/3,fe=Math.log10,Re=Math.sign;function tu(t){const e=Math.round(t);t=ns(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(fe(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function v_(t){const e=[],n=Math.sqrt(t);let i;for(i=1;is-o).pop(),e}function _s(t){return!isNaN(parseFloat(t))&&isFinite(t)}function ns(t,e,n){return Math.abs(t-e)=t}function Fh(t,e,n){let i,s,o;for(i=0,s=t.length;il&&c=Math.min(e,n)-i&&t<=Math.max(e,n)+i}const Ws=t=>t===0||t===1,nu=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*St/n)),iu=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*St/n)+1,is={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Tt)+1,easeOutSine:t=>Math.sin(t*Tt),easeInOutSine:t=>-.5*(Math.cos(Pt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Ws(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Ws(t)?t:nu(t,.075,.3),easeOutElastic:t=>Ws(t)?t:iu(t,.075,.3),easeInOutElastic(t){return Ws(t)?t:t<.5?.5*nu(t*2,.1125,.45):.5+.5*iu(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-is.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?is.easeInBounce(t*2)*.5:is.easeOutBounce(t*2-1)*.5+.5};/*! - * @kurkle/color v0.1.9 - * https://github.com/kurkle/color#readme - * (c) 2020 Jukka Kurkela - * Released under the MIT License - */const ue={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},oa="0123456789ABCDEF",x_=t=>oa[t&15],S_=t=>oa[(t&240)>>4]+oa[t&15],js=t=>(t&240)>>4===(t&15);function w_(t){return js(t.r)&&js(t.g)&&js(t.b)&&js(t.a)}function C_(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&ue[t[1]]*17,g:255&ue[t[2]]*17,b:255&ue[t[3]]*17,a:e===5?ue[t[4]]*17:255}:(e===7||e===9)&&(n={r:ue[t[1]]<<4|ue[t[2]],g:ue[t[3]]<<4|ue[t[4]],b:ue[t[5]]<<4|ue[t[6]],a:e===9?ue[t[7]]<<4|ue[t[8]]:255})),n}function k_(t){var e=w_(t)?x_:S_;return t&&"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):"")}function Ms(t){return t+.5|0}const tr=(t,e,n)=>Math.max(Math.min(t,n),e);function ji(t){return tr(Ms(t*2.55),0,255)}function Ss(t){return tr(Ms(t*255),0,255)}function cl(t){return tr(Ms(t/2.55)/100,0,1)}function su(t){return tr(Ms(t*100),0,100)}const M_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function P_(t){const e=M_.exec(t);let n=255,i,s,o;if(!!e){if(e[7]!==i){const r=+e[7];n=255&(e[8]?ji(r):r*255)}return i=+e[1],s=+e[3],o=+e[5],i=255&(e[2]?ji(i):i),s=255&(e[4]?ji(s):s),o=255&(e[6]?ji(o):o),{r:i,g:s,b:o,a:n}}}function A_(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${cl(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const T_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Vh(t,e,n){const i=e*Math.min(n,1-n),s=(o,r=(o+t/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[s(0),s(8),s(4)]}function O_(t,e,n){const i=(s,o=(s+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function E_(t,e,n){const i=Vh(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)i[s]*=1-e-n,i[s]+=e;return i}function ul(t){const n=t.r/255,i=t.g/255,s=t.b/255,o=Math.max(n,i,s),r=Math.min(n,i,s),a=(o+r)/2;let l,c,u;return o!==r&&(u=o-r,c=a>.5?u/(2-o-r):u/(o+r),l=o===n?(i-s)/u+(i>16&255,o>>8&255,o&255]}return t}let Us;function B_(t){Us||(Us=F_(),Us.transparent=[0,0,0,0]);const e=Us[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}function Ys(t,e,n){if(t){let i=ul(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,e===0?360:1)),i=fl(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function zh(t,e){return t&&Object.assign(e||{},t)}function au(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ss(t[3]))):(e=zh(t,{r:0,g:0,b:0,a:1}),e.a=Ss(e.a)),e}function V_(t){return t.charAt(0)==="r"?P_(t):I_(t)}class Po{constructor(e){if(e instanceof Po)return e;const n=typeof e;let i;n==="object"?i=au(e):n==="string"&&(i=C_(e)||B_(e)||V_(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=zh(this._rgb);return e&&(e.a=cl(e.a)),e}set rgb(e){this._rgb=au(e)}rgbString(){return this._valid?A_(this._rgb):this._rgb}hexString(){return this._valid?k_(this._rgb):this._rgb}hslString(){return this._valid?$_(this._rgb):this._rgb}mix(e,n){const i=this;if(e){const s=i.rgb,o=e.rgb;let r;const a=n===r?.5:n,l=2*a-1,c=s.a-o.a,u=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;r=1-u,s.r=255&u*s.r+r*o.r+.5,s.g=255&u*s.g+r*o.g+.5,s.b=255&u*s.b+r*o.b+.5,s.a=a*s.a+(1-a)*o.a,i.rgb=s}return i}clone(){return new Po(this.rgb)}alpha(e){return this._rgb.a=Ss(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Ms(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Ys(this._rgb,2,e),this}darken(e){return Ys(this._rgb,2,-e),this}saturate(e){return Ys(this._rgb,1,e),this}desaturate(e){return Ys(this._rgb,1,-e),this}rotate(e){return R_(this._rgb,e),this}}function Hh(t){return new Po(t)}const Wh=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function lu(t){return Wh(t)?t:Hh(t)}function vr(t){return Wh(t)?t:Hh(t).saturate(.5).darken(.1).hexString()}const Wn=Object.create(null),ra=Object.create(null);function ss(t,e){if(!e)return t;const n=e.split(".");for(let i=0,s=n.length;in.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,i)=>vr(i.backgroundColor),this.hoverBorderColor=(n,i)=>vr(i.borderColor),this.hoverColor=(n,i)=>vr(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,n){return br(this,e,n)}get(e){return ss(this,e)}describe(e,n){return br(ra,e,n)}override(e,n){return br(Wn,e,n)}route(e,n,i,s){const o=ss(this,e),r=ss(this,i),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=r[s];return ht(l)?Object.assign({},c,l):st(l,c)},set(l){this[a]=l}}})}}var lt=new N_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function z_(t){return!t||bt(t.size)||bt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ao(t,e,n,i,s){let o=e[s];return o||(o=e[s]=t.measureText(s).width,n.push(s)),o>i&&(i=o),i}function H_(t,e,n,i){i=i||{};let s=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(s=i.data={},o=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function jn(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=s.string,U_(t,o),l=0;l+t||0;function ml(t,e){const n={},i=ht(e),s=i?Object.keys(e):e,o=ht(t)?i?r=>st(t[r],t[e[r]]):r=>t[r]:()=>t;for(const r of s)n[r]=G_(o(r));return n}function jh(t){return ml(t,{top:"y",right:"x",bottom:"y",left:"x"})}function hi(t){return ml(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Yt(t){const e=jh(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function $t(t,e){t=t||{},e=e||lt.font;let n=st(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let i=st(t.style,e.style);i&&!(""+i).match(X_)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const s={family:st(t.family,e.family),lineHeight:q_(st(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:st(t.weight,e.weight),string:""};return s.string=z_(s),s}function Ks(t,e,n,i){let s=!0,o,r,a;for(o=0,r=t.length;on&&a===0?0:a+l;return{min:r(i,-Math.abs(o)),max:r(s,o)}}function Sn(t,e){return Object.assign(Object.create(t),e)}function pl(t,e,n){n=n||(r=>t[r]1;)o=s+i>>1,n(o)?s=o:i=o;return{lo:s,hi:i}}const Rn=(t,e,n)=>pl(t,n,i=>t[i][e]pl(t,n,i=>t[i][e]>=n);function Q_(t,e,n){let i=0,s=t.length;for(;ii&&t[s-1]>n;)s--;return i>0||s{const i="_onData"+al(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const r=s.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...o)}),r}})})}function uu(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(e);s!==-1&&i.splice(s,1),!(i.length>0)&&(Uh.forEach(o=>{delete t[o]}),delete t._chartjs)}function Yh(t){const e=new Set;let n,i;for(n=0,i=t.length;nt[0]){be(i)||(i=Gh("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:i,_getTarget:s,override:r=>vl([r,...t],e,n,i)};return new Proxy(o,{deleteProperty(r,a){return delete r[a],delete r._keys,delete t[0][a],!0},get(r,a){return Xh(r,a,()=>l0(a,e,t,r))},getOwnPropertyDescriptor(r,a){return Reflect.getOwnPropertyDescriptor(r._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(r,a){return fu(r).includes(a)},ownKeys(r){return fu(r)},set(r,a,l){const c=r._storage||(r._storage=s());return r[a]=c[a]=l,delete r._keys,!0}})}function bi(t,e,n,i){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Kh(t,i),setContext:o=>bi(t,o,n,i),override:o=>bi(t.override(o),e,n,i)};return new Proxy(s,{deleteProperty(o,r){return delete o[r],delete t[r],!0},get(o,r,a){return Xh(o,r,()=>n0(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,r)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,r){return Reflect.has(t,r)},ownKeys(){return Reflect.ownKeys(t)},set(o,r,a){return t[r]=a,delete o[r],!0}})}function Kh(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:i,isScriptable:hn(n)?n:()=>n,isIndexable:hn(i)?i:()=>i}}const e0=(t,e)=>t?t+al(e):e,bl=(t,e)=>ht(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Xh(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function n0(t,e,n){const{_proxy:i,_context:s,_subProxy:o,_descriptors:r}=t;let a=i[e];return hn(a)&&r.isScriptable(e)&&(a=i0(e,a,t,n)),Ct(a)&&a.length&&(a=s0(e,a,t,r.isIndexable)),bl(e,a)&&(a=bi(a,s,o&&o[e],r)),a}function i0(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),e=e(o,r||i),a.delete(t),bl(t,e)&&(e=yl(s._scopes,s,t,e)),e}function s0(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_descriptors:a}=n;if(be(o.index)&&i(t))e=e[o.index%e.length];else if(ht(e[0])){const l=e,c=s._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=yl(c,s,t,u);e.push(bi(d,o,r&&r[t],a))}}return e}function qh(t,e,n){return hn(t)?t(e,n):t}const o0=(t,e)=>t===!0?e:typeof t=="string"?Hn(e,t):void 0;function r0(t,e,n,i,s){for(const o of e){const r=o0(n,o);if(r){t.add(r);const a=qh(r._fallback,n,s);if(be(a)&&a!==n&&a!==i)return a}else if(r===!1&&be(i)&&n!==i)return null}return!1}function yl(t,e,n,i){const s=e._rootScopes,o=qh(e._fallback,n,i),r=[...t,...s],a=new Set;a.add(i);let l=du(a,r,n,o||n,i);return l===null||be(o)&&o!==n&&(l=du(a,r,o,l,i),l===null)?!1:vl(Array.from(a),[""],s,o,()=>a0(e,n,i))}function du(t,e,n,i,s){for(;n;)n=r0(t,e,n,i,s);return n}function a0(t,e,n){const i=t._getTarget();e in i||(i[e]={});const s=i[e];return Ct(s)&&ht(n)?n:s}function l0(t,e,n,i){let s;for(const o of e)if(s=Gh(e0(o,t),n),be(s))return bl(t,s)?yl(n,i,t,s):s}function Gh(t,e){for(const n of e){if(!n)continue;const i=n[t];if(be(i))return i}}function fu(t){let e=t._keys;return e||(e=t._keys=c0(t._scopes)),e}function c0(t){const e=new Set;for(const n of t)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(i);return Array.from(e)}const u0=Number.EPSILON||1e-14,yi=(t,e)=>et==="x"?"y":"x";function d0(t,e,n,i){const s=t.skip?e:t,o=e,r=n.skip?e:n,a=sa(o,s),l=sa(r,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,f=i*u;return{previous:{x:o.x-d*(r.x-s.x),y:o.y-d*(r.y-s.y)},next:{x:o.x+f*(r.x-s.x),y:o.y+f*(r.y-s.y)}}}function f0(t,e,n){const i=t.length;let s,o,r,a,l,c=yi(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")g0(t,s);else{let c=i?t[t.length-1]:t[0];for(o=0,r=t.length;owindow.getComputedStyle(t,null);function v0(t,e){return er(t).getPropertyValue(e)}const b0=["top","right","bottom","left"];function Vn(t,e,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const o=b0[s];i[o]=parseFloat(t[e+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const y0=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function _0(t,e){const n=t.native||t,i=n.touches,s=i&&i.length?i[0]:n,{offsetX:o,offsetY:r}=s;let a=!1,l,c;if(y0(o,r,n.target))l=o,c=r;else{const u=e.getBoundingClientRect();l=s.clientX-u.left,c=s.clientY-u.top,a=!0}return{x:l,y:c,box:a}}function Qh(t,e){const{canvas:n,currentDevicePixelRatio:i}=e,s=er(n),o=s.boxSizing==="border-box",r=Vn(s,"padding"),a=Vn(s,"border","width"),{x:l,y:c,box:u}=_0(t,n),d=r.left+(u&&a.left),f=r.top+(u&&a.top);let{width:h,height:g}=e;return o&&(h-=r.width+a.width,g-=r.height+a.height),{x:Math.round((l-d)/h*n.width/i),y:Math.round((c-f)/g*n.height/i)}}function x0(t,e,n){let i,s;if(e===void 0||n===void 0){const o=_l(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const r=o.getBoundingClientRect(),a=er(o),l=Vn(a,"border","width"),c=Vn(a,"padding");e=r.width-c.width-l.width,n=r.height-c.height-l.height,i=Eo(a.maxWidth,o,"clientWidth"),s=Eo(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:i||Mo,maxHeight:s||Mo}}const yr=t=>Math.round(t*10)/10;function S0(t,e,n,i){const s=er(t),o=Vn(s,"margin"),r=Eo(s.maxWidth,t,"clientWidth")||Mo,a=Eo(s.maxHeight,t,"clientHeight")||Mo,l=x0(t,e,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const d=Vn(s,"border","width"),f=Vn(s,"padding");c-=f.width+d.width,u-=f.height+d.height}return c=Math.max(0,c-o.width),u=Math.max(0,i?Math.floor(c/i):u-o.height),c=yr(Math.min(c,r,l.maxWidth)),u=yr(Math.min(u,a,l.maxHeight)),c&&!u&&(u=yr(c/2)),{width:c,height:u}}function hu(t,e,n){const i=e||1,s=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=s/i,t.width=o/i;const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||r.height!==s||r.width!==o?(t.currentDevicePixelRatio=i,r.height=s,r.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}const w0=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return t}();function gu(t,e){const n=v0(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function On(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function C0(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:i==="middle"?n<.5?t.y:e.y:i==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function k0(t,e,n,i){const s={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=On(t,s,n),a=On(s,o,n),l=On(o,e,n),c=On(r,a,n),u=On(a,l,n);return On(c,u,n)}const mu=new Map;function M0(t,e){e=e||{};const n=t+JSON.stringify(e);let i=mu.get(n);return i||(i=new Intl.NumberFormat(t,e),mu.set(n,i)),i}function Ps(t,e,n){return M0(e,n).format(t)}const P0=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},A0=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function gi(t,e,n){return t?P0(e,n):A0()}function tg(t,e){let n,i;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function eg(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ng(t){return t==="angle"?{between:xs,compare:y_,normalize:we}:{between:ln,compare:(e,n)=>e-n,normalize:e=>e}}function pu({start:t,end:e,count:n,loop:i,style:s}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:s}}function T0(t,e,n){const{property:i,start:s,end:o}=n,{between:r,normalize:a}=ng(i),l=e.length;let{start:c,end:u,loop:d}=t,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(s,w,v)&&a(s,w)!==0,C=()=>a(o,v)===0||l(o,w,v),O=()=>m||x(),S=()=>!m||C();for(let A=u,T=u;A<=d;++A)_=e[A%r],!_.skip&&(v=c(_[i]),v!==w&&(m=l(v,s,o),p===null&&O()&&(p=a(v,s)===0?A:T),p!==null&&S()&&(g.push(pu({start:p,end:A,loop:f,count:r,style:h})),p=null),T=A,w=v));return p!==null&&g.push(pu({start:p,end:d,loop:f,count:r,style:h})),g}function E0(t,e){const n=[],i=t.segments;for(let s=0;ss&&t[o%e].skip;)o--;return o%=e,{start:s,end:o}}function D0(t,e,n,i){const s=t.length,o=[];let r=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%s];c.skip||c.stop?a.skip||(i=!1,o.push({start:e%s,end:(l-1)%s,loop:i}),e=r=c.stop?l:null):(r=l,a.skip&&(e=l)),a=c}return r!==null&&o.push({start:e%s,end:r%s,loop:i}),o}function I0(t,e){const n=t.points,i=t.options.spanGaps,s=n.length;if(!s)return[];const o=!!t._loop,{start:r,end:a}=L0(n,s,o,i);if(i===!0)return vu(t,[{start:r,end:a,loop:o}],n,e);const l=aa({chart:e,initial:n.initial,numSteps:r,currentStep:Math.min(i-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=Dh.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const o=i.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(o[r]=o[o.length-1],o.pop());a&&(s.draw(),this._notify(s,i,e,"progress")),o.length||(i.running=!1,this._notify(s,i,e,"complete"),i.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let i=n.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,i)),i}listen(e,n,i){this._getAnims(e).listeners[n].push(i)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var je=new F0;const yu="transparent",B0={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=lu(t||yu),s=i.valid&&lu(e||yu);return s&&s.valid?s.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class V0{constructor(e,n,i,s){const o=n[i];s=Ks([e.to,s,o,e.from]);const r=Ks([e.from,o,s]);this._active=!0,this._fn=e.fn||B0[e.type||typeof r],this._easing=is[e.easing]||is.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=i,this._from=r,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],o=i-this._start,r=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Ks([e.to,n,s,e.from]),this._from=Ks([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,i=this._duration,s=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,i)=>{e.push({res:n,rej:i})})}_notify(e){const n=e?"res":"rej",i=this._promises||[];for(let s=0;st!=="onProgress"&&t!=="onComplete"&&t!=="fn"});lt.set("animations",{colors:{type:"color",properties:z0},numbers:{type:"number",properties:N0}});lt.describe("animations",{_fallback:"animation"});lt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}});class ig{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ht(e))return;const n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const s=e[i];if(!ht(s))return;const o={};for(const r of H0)o[r]=s[r];(Ct(s.properties)&&s.properties||[i]).forEach(r=>{(r===i||!n.has(r))&&n.set(r,o)})})}_animateOptions(e,n){const i=n.options,s=j0(e,i);if(!s)return[];const o=this._createAnimations(s,i);return i.$shared&&W0(e.options.$animations,i).then(()=>{e.options=i},()=>{}),o}_createAnimations(e,n){const i=this._properties,s=[],o=e.$animations||(e.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[c];let d=o[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}o[c]=d=new V0(f,e,c,u),s.push(d)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const i=this._createAnimations(e,n);if(i.length)return je.add(this._chart,i),!0}}function W0(t,e){const n=[],i=Object.keys(e);for(let s=0;s0||!n&&o<0)return s.index}return null}function Cu(t,e){const{chart:n,_cachedMeta:i}=t,s=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=i,l=o.axis,c=r.axis,u=X0(o,r,i),d=e.length;let f;for(let h=0;hn[i].axis===e).shift()}function Z0(t,e){return Sn(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function J0(t,e,n){return Sn(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Fi(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(!!i){e=e||t._parsed;for(const s of e){const o=s._stacks;if(!o||o[i]===void 0||o[i][n]===void 0)return;delete o[i][n]}}}const xr=t=>t==="reset"||t==="none",ku=(t,e)=>e?t:Object.assign({},t),Q0=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:sg(n,!0),values:null};class ze{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Su(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Fi(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,h,g)=>d==="x"?f:d==="r"?g:h,o=n.xAxisID=st(i.xAxisID,_r(e,"x")),r=n.yAxisID=st(i.yAxisID,_r(e,"y")),a=n.rAxisID=st(i.rAxisID,_r(e,"r")),l=n.indexAxis,c=n.iAxisID=s(l,o,r,a),u=n.vAxisID=s(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&uu(this._data,this),e._stacked&&Fi(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),i=this._data;if(ht(n))this._data=K0(n);else if(i!==n){if(i){uu(i,this);const s=this._cachedMeta;Fi(s),s._parsed=[]}n&&Object.isExtensible(n)&&t0(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const o=n._stacked;n._stacked=Su(n.vScale,n),n.stack!==i.stack&&(s=!0,Fi(n),n.stack=i.stack),this._resyncElements(e),(s||o!==n._stacked)&&Cu(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:i,_data:s}=this,{iScale:o,_stacked:r}=i,a=o.axis;let l=e===0&&n===s.length?!0:i._sorted,c=e>0&&i._parsed[e-1],u,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{Ct(s[e])?f=this.parseArrayData(i,s,e,n):ht(s[e])?f=this.parseObjectData(i,s,e,n):f=this.parsePrimitiveData(i,s,e,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!g()){this.updateRangeFromParsed(c,e,h,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,i=[];let s,o,r;for(s=0,o=n.length;s=0&&ethis.getContext(i,s),m=c.resolveNamedOptions(f,h,g,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(ku(m,l))),m}_resolveAnimations(e,n,i){const s=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,i,n))}const c=new ig(s,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(e){if(!!e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||xr(e)||this.chart._animationsDisabled}updateElement(e,n,i,s){xr(s)?Object.assign(e,i):this._resolveAnimations(n,s).update(e,i)}updateSharedOptions(e,n,i){e&&!xr(n)&&this._resolveAnimations(void 0,n).update(e,i)}_setStyle(e,n,i,s){e.active=s;const o=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(e,{options:!s&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,n,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,o=n.length,r=Math.min(o,s);r&&this.parse(0,r),o>s?this._insertElements(s,o-s,e):o{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=e;as-o))}return t._cache.$bar}function ex(t){const e=t.iScale,n=tx(e,t.type);let i=e._length,s,o,r,a;const l=()=>{r===32767||r===-32768||(be(a)&&(i=Math.min(i,Math.abs(r-a)||i)),a=r)};for(s=0,o=n.length;s0?s[t-1]:null,a=tMath.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:o,min:r,max:a}}function og(t,e,n,i){return Ct(t)?sx(t,e,n,i):e[n.axis]=n.parse(t,i),e}function Mu(t,e,n,i){const s=t.iScale,o=t.vScale,r=s.getLabels(),a=s===o,l=[];let c,u,d,f;for(c=n,u=n+i;c=n?1:-1)}function rx(t){let e,n,i,s,o;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base=0;--i)n=Math.max(n,e[i].size(this.resolveDataElementOptions(i))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,{xScale:i,yScale:s}=n,o=this.getParsed(e),r=i.getLabelForValue(o.x),a=s.getLabelForValue(o.y),l=o._custom;return{label:n.label,value:"("+r+", "+a+(l?", "+l:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,i,s){const o=s==="reset",{iScale:r,vScale:a}=this._cachedMeta,l=this.resolveDataElementOptions(n,s),c=this.getSharedOptions(l),u=this.includeOptions(s,c),d=r.axis,f=a.axis;for(let h=n;hxs(w,a,l,!0)?1:Math.max(x,x*n,C,C*n),g=(w,x,C)=>xs(w,a,l,!0)?-1:Math.min(x,x*n,C,C*n),m=h(0,c,d),p=h(Tt,u,f),v=g(Pt,c,d),_=g(Pt+Tt,u,f);i=(m-v)/2,s=(p-_)/2,o=-(m+v)/2,r=-(p+_)/2}return{ratioX:i,ratioY:s,offsetX:o,offsetY:r}}class As extends ze{constructor(e,n){super(e,n);this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const i=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=i;else{let o=l=>+i[l];if(ht(i[e])){const{key:l="value"}=this._parsing;o=c=>+Hn(i[c],l)}let r,a;for(r=e,a=e+n;r0&&!isNaN(e)?St*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],o=Ps(n._parsed[e],i.options.locale);return{label:s[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const i=this.chart;let s,o,r,a,l;if(!e){for(s=0,o=i.data.datasets.length;st!=="spacing",_indexable:t=>t!=="spacing"};As.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((i,s)=>{const r=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return Ct(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class Ts extends ze{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:o}=n,r=this.chart._animationsDisabled;let{start:a,count:l}=dx(n,s,r);this._drawStart=a,this._drawCount=l,fx(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=s;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:c},e),this.updateElements(s,a,l,e)}updateElements(e,n,i,s){const o=s==="reset",{iScale:r,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,u=this.resolveDataElementOptions(n,s),d=this.getSharedOptions(u),f=this.includeOptions(s,d),h=r.axis,g=a.axis,{spanGaps:m,segment:p}=this.options,v=_s(m)?m:Number.POSITIVE_INFINITY,_=this.chart._animationsDisabled||o||s==="none";let w=n>0&&this.getParsed(n-1);for(let x=n;x0&&O[h]-w[h]>v,p&&(S.parsed=O,S.raw=c.data[x]),f&&(S.options=d||this.resolveDataElementOptions(x,C.active?"active":s)),_||this.updateElement(C,x,S,s),w=O}this.updateSharedOptions(d,s,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,i=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return i;const o=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,o,r)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}Ts.id="line";Ts.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Ts.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};function dx(t,e,n){const i=e.length;let s=0,o=i;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:u,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(s=Ut(Math.min(Rn(a,r.axis,c).lo,n?i:Rn(e,l,r.getPixelForValue(c)).lo),0,i-1)),f?o=Ut(Math.max(Rn(a,r.axis,u).hi+1,n?0:Rn(e,l,r.getPixelForValue(u)).hi+1),s,i)-s:o=i-s}return{start:s,count:o}}function fx(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=s,!0;const o=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),o}class wl extends ze{constructor(e,n){super(e,n);this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],o=Ps(n._parsed[e].r,i.options.locale);return{label:s[e]||"",value:o}}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}_updateRadius(){const e=this.chart,n=e.chartArea,i=e.options,s=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(s/2,0),r=Math.max(i.cutoutPercentage?o/100*i.cutoutPercentage:1,0),a=(o-r)/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,i,s){const o=s==="reset",r=this.chart,a=this.getDataset(),c=r.options.animation,u=this._cachedMeta.rScale,d=u.xCenter,f=u.yCenter,h=u.getIndexAngle(0)-.5*Pt;let g=h,m;const p=360/this.countVisibleElements();for(m=0;m{!isNaN(e.data[o])&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(e,n,i){return this.chart.getDataVisibility(e)?ke(this.resolveDataElementOptions(e,n).angle||i):0}}wl.id="polarArea";wl.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};wl.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((i,s)=>{const r=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class rg extends As{}rg.id="pie";rg.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Cl extends ze{getLabelAndValue(e){const n=this._cachedMeta.vScale,i=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(i[n.axis])}}update(e){const n=this._cachedMeta,i=n.dataset,s=n.data||[],o=n.iScale.getLabels();if(i.points=s,e!=="resize"){const r=this.resolveDatasetElementOptions(e);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===s.length,options:r};this.updateElement(i,void 0,a,e)}this.updateElements(s,0,s.length,e)}updateElements(e,n,i,s){const o=this.getDataset(),r=this._cachedMeta.rScale,a=s==="reset";for(let l=n;l{c[a](s[r],i)&&o.push({element:c,datasetIndex:u,index:d}),c.inRange(s.x,s.y,i)&&(l=!0)}),n.intersect&&!l?[]:o}var yx={modes:{index(t,e,n,i){const s=Ui(e,t),o=n.axis||"x",r=n.intersect?wr(t,s,o,i):Cr(t,s,o,!1,i),a=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach(l=>{const c=r[0].index,u=l.data[c];u&&!u.skip&&a.push({element:u,datasetIndex:l.index,index:c})}),a):[]},dataset(t,e,n,i){const s=Ui(e,t),o=n.axis||"xy";let r=n.intersect?wr(t,s,o,i):Cr(t,s,o,!1,i);if(r.length>0){const a=r[0].datasetIndex,l=t.getDatasetMeta(a).data;r=[];for(let c=0;cn.pos===e)}function Ou(t,e){return t.filter(n=>ag.indexOf(n.pos)===-1&&n.box.axis===e)}function Vi(t,e){return t.sort((n,i)=>{const s=e?i:n,o=e?n:i;return s.weight===o.weight?s.index-o.index:s.weight-o.weight})}function _x(t){const e=[];let n,i,s,o,r,a;for(n=0,i=(t||[]).length;nc.box.fullSize),!0),i=Vi(Bi(e,"left"),!0),s=Vi(Bi(e,"right")),o=Vi(Bi(e,"top"),!0),r=Vi(Bi(e,"bottom")),a=Ou(e,"x"),l=Ou(e,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:s.concat(l).concat(r).concat(a),chartArea:Bi(e,"chartArea"),vertical:i.concat(s).concat(l),horizontal:o.concat(r).concat(a)}}function Eu(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function lg(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Cx(t,e,n,i){const{pos:s,box:o}=n,r=t.maxPadding;if(!ht(s)){n.size&&(t[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,t[s]+=n.size}o.getPadding&&lg(r,o.getPadding());const a=Math.max(0,e.outerWidth-Eu(r,t,"left","right")),l=Math.max(0,e.outerHeight-Eu(r,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function kx(t){const e=t.maxPadding;function n(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function Mx(t,e){const n=e.maxPadding;function i(s){const o={left:0,top:0,right:0,bottom:0};return s.forEach(r=>{o[r]=Math.max(e[r],n[r])}),o}return i(t?["left","right"]:["top","bottom"])}function Yi(t,e,n,i){const s=[];let o,r,a,l,c,u;for(o=0,r=t.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,p)=>p.box.options&&p.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/u,hBoxMaxHeight:r/2}),f=Object.assign({},s);lg(f,Yt(i));const h=Object.assign({maxPadding:f,w:o,h:r,x:s.left,y:s.top},s),g=Sx(l.concat(c),d);Yi(a.fullSize,h,d,g),Yi(l,h,d,g),Yi(c,h,d,g)&&Yi(l,h,d,g),kx(h),Lu(a.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,Lu(a.rightAndBottom,h,d,g),t.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},vt(a.chartArea,m=>{const p=m.box;Object.assign(p,t.chartArea),p.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class cg{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,i){}removeEventListener(e,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,i,s){return n=Math.max(0,n||e.width),i=i||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(e){return!0}updateConfig(e){}}class Px extends cg{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ao="$chartjs",Ax={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Du=t=>t===null||t==="";function Tx(t,e){const n=t.style,i=t.getAttribute("height"),s=t.getAttribute("width");if(t[ao]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Du(s)){const o=gu(t,"width");o!==void 0&&(t.width=o)}if(Du(i))if(t.style.height==="")t.height=t.width/(e||2);else{const o=gu(t,"height");o!==void 0&&(t.height=o)}return t}const ug=w0?{passive:!0}:!1;function Ox(t,e,n){t.addEventListener(e,n,ug)}function Ex(t,e,n){t.canvas.removeEventListener(e,n,ug)}function Lx(t,e){const n=Ax[t.type]||t.type,{x:i,y:s}=Qh(t,e);return{type:n,chart:e,native:t,x:i!==void 0?i:null,y:s!==void 0?s:null}}function Lo(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Dx(t,e,n){const i=t.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Lo(a.addedNodes,i),r=r&&!Lo(a.removedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function Ix(t,e,n){const i=t.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Lo(a.removedNodes,i),r=r&&!Lo(a.addedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const ws=new Map;let Iu=0;function dg(){const t=window.devicePixelRatio;t!==Iu&&(Iu=t,ws.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Rx(t,e){ws.size||window.addEventListener("resize",dg),ws.set(t,e)}function $x(t){ws.delete(t),ws.size||window.removeEventListener("resize",dg)}function Fx(t,e,n){const i=t.canvas,s=i&&_l(i);if(!s)return;const o=Ih((a,l)=>{const c=s.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return r.observe(s),Rx(t,o),r}function kr(t,e,n){n&&n.disconnect(),e==="resize"&&$x(t)}function Bx(t,e,n){const i=t.canvas,s=Ih(o=>{t.ctx!==null&&n(Lx(o,t))},t,o=>{const r=o[0];return[r,r.offsetX,r.offsetY]});return Ox(i,e,s),s}class Vx extends cg{acquireContext(e,n){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(Tx(e,n),i):null}releaseContext(e){const n=e.canvas;if(!n[ao])return!1;const i=n[ao].initial;["height","width"].forEach(o=>{const r=i[o];bt(r)?n.removeAttribute(o):n.setAttribute(o,r)});const s=i.style||{};return Object.keys(s).forEach(o=>{n.style[o]=s[o]}),n.width=n.width,delete n[ao],!0}addEventListener(e,n,i){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),r={attach:Dx,detach:Ix,resize:Fx}[n]||Bx;s[n]=r(e,n,i)}removeEventListener(e,n){const i=e.$proxies||(e.$proxies={}),s=i[n];if(!s)return;({attach:kr,detach:kr,resize:kr}[n]||Ex)(e,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,i,s){return S0(e,n,i,s)}isAttached(e){const n=_l(e);return!!(n&&n.isConnected)}}function Nx(t){return!Jh()||typeof OffscreenCanvas!="undefined"&&t instanceof OffscreenCanvas?Px:Vx}class Te{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}hasValue(){return _s(this.x)&&_s(this.y)}getProps(e,n){const i=this.$animations;if(!n||!i)return this;const s={};return e.forEach(o=>{s[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),s}}Te.defaults={};Te.defaultRoutes=void 0;const fg={values(t){return Ct(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const i=this.chart.options.locale;let s,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(s="scientific"),o=zx(t,n)}const r=fe(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Ps(t,i,l)},logarithmic(t,e,n){if(t===0)return"0";const i=t/Math.pow(10,Math.floor(fe(t)));return i===1||i===2||i===5?fg.numeric.call(this,t,e,n):""}};function zx(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var nr={formatters:fg};lt.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});lt.route("scale.ticks","color","","color");lt.route("scale.grid","color","","borderColor");lt.route("scale.grid","borderColor","","borderColor");lt.route("scale.title","color","","color");lt.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"});lt.describe("scales",{_fallback:"scale"});lt.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"});function Hx(t,e){const n=t.options.ticks,i=n.maxTicksLimit||Wx(t),s=n.major.enabled?Ux(e):[],o=s.length,r=s[0],a=s[o-1],l=[];if(o>i)return Yx(e,l,s,o/i),l;const c=jx(s,e,i);if(o>0){let u,d;const f=o>1?Math.round((a-r)/(o-1)):null;for(Gs(e,l,c,bt(f)?0:r-f,r),u=0,d=o-1;us)return l}return Math.max(s,1)}function Ux(t){const e=[];let n,i;for(n=0,i=t.length;nt==="left"?"right":t==="right"?"left":t,Ru=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n;function $u(t,e){const n=[],i=t.length/e,s=t.length;let o=0;for(;or+a)))return l}function Gx(t,e){vt(t,n=>{const i=n.gc,s=i.length/2;let o;if(s>e){for(o=0;oi?i:n,i=s&&n>i?n:i,{min:de(n,de(i,n)),max:de(i,de(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){xt(this.options.beforeUpdate,[this])}update(e,n,i){const{beginAtZero:s,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Z_(this,o,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=Ut(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(e.offset?.5:1)),l=this.maxHeight-Ni(e.grid)-n.padding-Fu(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=ll(Math.min(Math.asin(Ut((u.highest.height+6)/a,-1,1)),Math.asin(Ut(l/c,-1,1))-Math.asin(Ut(f/c,-1,1)))),r=Math.max(s,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){xt(this.options.afterCalculateLabelRotation,[this])}beforeFit(){xt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:i,title:s,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Fu(s,n.options.font);if(a?(e.width=this.maxWidth,e.height=Ni(o)+l):(e.height=this.maxHeight,e.width=Ni(o)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=i.padding*2,g=ke(this.labelRotation),m=Math.cos(g),p=Math.sin(g);if(a){const v=i.mirror?0:p*d.width+m*f.height;e.height=Math.min(this.maxHeight,e.height+v+h)}else{const v=i.mirror?0:m*d.width+p*f.height;e.width=Math.min(this.maxWidth,e.width+v+h)}this._calculatePadding(c,u,p,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,i,s){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=s*e.width,h=i*n.height):(f=i*e.height,h=s*n.width):o==="start"?h=n.width:o==="end"?f=e.width:(f=e.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+r)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+r)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;o==="start"?(u=0,d=e.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){xt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,i;for(n=0,i=e.length;n({width:o[S]||0,height:r[S]||0});return{first:O(0),last:O(n-1),widest:O(x),highest:O(C),widths:o,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return __(this._alignToPixels?Mn(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*s?a/i:l/s:l*s0}_computeGridLineItems(e){const n=this.axis,i=this.chart,s=this.options,{grid:o,position:r}=s,a=o.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),d=Ni(o),f=[],h=o.setContext(this.getContext()),g=h.drawBorder?h.borderWidth:0,m=g/2,p=function(H){return Mn(i,H,g)};let v,_,w,x,C,O,S,A,T,D,I,E;if(r==="top")v=p(this.bottom),O=this.bottom-d,A=v-m,D=p(e.top)+m,E=e.bottom;else if(r==="bottom")v=p(this.top),D=e.top,E=p(e.bottom)-m,O=v+m,A=this.top+d;else if(r==="left")v=p(this.right),C=this.right-d,S=v-m,T=p(e.left)+m,I=e.right;else if(r==="right")v=p(this.left),T=e.left,I=p(e.right)-m,C=v+m,S=this.left+d;else if(n==="x"){if(r==="center")v=p((e.top+e.bottom)/2+.5);else if(ht(r)){const H=Object.keys(r)[0],V=r[H];v=p(this.chart.scales[H].getPixelForValue(V))}D=e.top,E=e.bottom,O=v+m,A=O+d}else if(n==="y"){if(r==="center")v=p((e.left+e.right)/2);else if(ht(r)){const H=Object.keys(r)[0],V=r[H];v=p(this.chart.scales[H].getPixelForValue(V))}C=v-m,S=C-d,T=e.left,I=e.right}const W=st(s.ticks.maxTicksLimit,u),J=Math.max(1,Math.ceil(u/W));for(_=0;_o.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,r;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(o=0,r=s.length;o{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let o,r;for(o=0,r=n.length;o{const i=n.split("."),s=i.pop(),o=[t].concat(i).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");lt.route(o,s,l,a)})}function iS(t){return"id"in t&&"defaults"in t}class sS{constructor(){this.controllers=new Zs(ze,"datasets",!0),this.elements=new Zs(Te,"elements"),this.plugins=new Zs(Object,"plugins"),this.scales=new Zs(Qn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,i){[...n].forEach(s=>{const o=i||this._getRegistryForType(s);i||o.isForType(s)||o===this.plugins&&s.id?this._exec(e,o,s):vt(s,r=>{const a=i||this._getRegistryForType(r);this._exec(e,a,r)})})}_exec(e,n,i){const s=al(e);xt(i["before"+s],[],i),n[e](i),xt(i["after"+s],[],i)}_getRegistryForType(e){for(let n=0;no.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),e,"stop"),this._notify(s(i,n),e,"start")}}function rS(t){const e=[],n=Object.keys(Xe.plugins.items);for(let s=0;s{const l=i[a];if(!ht(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=ca(a,l),u=dS(c,s),d=n.scales||{};o[c]=o[c]||a,r[a]=es(Object.create(null),[{axis:c},l,d[c],d[u]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||la(l,e),d=(Wn[l]||{}).scales||{};Object.keys(d).forEach(f=>{const h=uS(f,c),g=a[h+"AxisID"]||o[h]||h;r[g]=r[g]||Object.create(null),es(r[g],[{axis:h},i[g],d[f]])})}),Object.keys(r).forEach(a=>{const l=r[a];es(l,[lt.scales[l.type],lt.scale])}),r}function hg(t){const e=t.options||(t.options={});e.plugins=st(e.plugins,{}),e.scales=hS(t,e)}function gg(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function gS(t){return t=t||{},t.data=gg(t.data),hg(t),t}const Bu=new Map,mg=new Set;function Js(t,e){let n=Bu.get(t);return n||(n=e(),Bu.set(t,n),mg.add(n)),n}const zi=(t,e,n)=>{const i=Hn(e,n);i!==void 0&&t.add(i)};class mS{constructor(e){this._config=gS(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=gg(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),hg(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Js(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Js(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Js(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,i=this.type;return Js(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const i=this._scopeCache;let s=i.get(e);return(!s||n)&&(s=new Map,i.set(e,s)),s}getOptionScopes(e,n,i){const{options:s,type:o}=this,r=this._cachedScopes(e,i),a=r.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>zi(l,e,d))),u.forEach(d=>zi(l,s,d)),u.forEach(d=>zi(l,Wn[o]||{},d)),u.forEach(d=>zi(l,lt,d)),u.forEach(d=>zi(l,ra,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),mg.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Wn[n]||{},lt.datasets[n]||{},{type:n},lt,ra]}resolveNamedOptions(e,n,i,s=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Vu(this._resolverCache,e,s);let l=r;if(vS(r,n)){o.$shared=!1,i=hn(i)?i():i;const c=this.createResolver(e,i,a);l=bi(r,i,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,i=[""],s){const{resolver:o}=Vu(this._resolverCache,e,i);return ht(n)?bi(o,n,void 0,s):o}}function Vu(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const s=n.join();let o=i.get(s);return o||(o={resolver:vl(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,o)),o}const pS=t=>ht(t)&&Object.getOwnPropertyNames(t).reduce((e,n)=>e||hn(t[n]),!1);function vS(t,e){const{isScriptable:n,isIndexable:i}=Kh(t);for(const s of e){const o=n(s),r=i(s),a=(r||o)&&t[s];if(o&&(hn(a)||pS(a))||r&&Ct(a))return!0}return!1}var bS="3.7.1";const yS=["top","bottom","left","right","chartArea"];function Nu(t,e){return t==="top"||t==="bottom"||yS.indexOf(t)===-1&&e==="x"}function zu(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function Hu(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),xt(n&&n.onComplete,[t],e)}function _S(t){const e=t.chart,n=e.options.animation;xt(n&&n.onProgress,[t],e)}function pg(t){return Jh()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Do={},vg=t=>{const e=pg(t);return Object.values(Do).filter(n=>n.canvas===e).pop()};function xS(t,e,n){const i=Object.keys(t);for(const s of i){const o=+s;if(o>=e){const r=t[s];delete t[s],(n>0||o>e)&&(t[o+n]=r)}}}function SS(t,e,n,i){return!n||t.type==="mouseout"?null:i?e:t}class Io{constructor(e,n){const i=this.config=new mS(n),s=pg(e),o=vg(s);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Nx(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=l_(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new oS,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=r_(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],Do[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}je.listen(this,"complete",Hu),je.listen(this,"progress",_S),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:i,height:s,_aspectRatio:o}=this;return bt(e)?n&&o?o:s?i/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():hu(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return cu(this.canvas,this.ctx),this}stop(){return je.stop(this),this}resize(e,n){je.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const i=this.options,s=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(s,e,n,o),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,hu(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),xt(i.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};vt(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,i=this.scales,s=Object.keys(i).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=ca(r,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),vt(o,r=>{const a=r.options,l=a.id,c=ca(l,a),u=st(a.type,r.dtype);(a.position===void 0||Nu(a.position,c)!==Nu(r.dposition))&&(a.position=r.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const f=Xe.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,e)}),vt(s,(r,a)=>{r||delete i[a]}),vt(i,r=>{ge.configure(this,r,r.options),ge.addBox(this,r)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,i=e.length;if(e.sort((s,o)=>s.index-o.index),i>n){for(let s=n;sn.length&&delete this._stacks,e.forEach((i,s)=>{n.filter(o=>o===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(zu("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){vt(this.scales,e=>{ge.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!Jc(n,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:o}of n){const r=i==="_removeElements"?-o:o;xS(e,s,r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=o=>new Set(e.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),s=i(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ge.update(this,this.width,this.height,e);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],vt(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,o)=>{s._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,i=e._clip,s=!i.disabled,o=this.chartArea,r={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(s&&hl(n,{left:i.left===!1?0:o.left-i.left,right:i.right===!1?this.width:o.right+i.right,top:i.top===!1?0:o.top-i.top,bottom:i.bottom===!1?this.height:o.bottom+i.bottom}),e.controller.draw(),s&&gl(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}getElementsAtEventForMode(e,n,i,s){const o=yx.modes[n];return typeof o=="function"?o(this,e,i,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],i=this._metasets;let s=i.filter(o=>o&&o._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Sn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(e,n){const i=this.getDatasetMeta(e);i.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,i){const s=i?"show":"hide",o=this.getDatasetMeta(e),r=o.controller._resolveAnimations(void 0,s);be(n)?(o.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),r.update(o,{visible:i}),this.update(a=>a.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),je.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,o,r),e[o]=r},s=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};vt(this.options.events,o=>i(o,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},s=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",r)};r=()=>{this.attached=!1,s("resize",o),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){vt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},vt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,i){const s=i?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+s+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!Co(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(e,n,i){return this._plugins.notify(this,e,n,i)}_updateHoverStyles(e,n,i){const s=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),r=o(n,e),a=i?e:o(e,n);r.length&&this.updateHoverStyle(r,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(e,n){const i={event:e,replay:n,cancelable:!0,inChartArea:jn(e,this.chartArea,this._minPadding)},s=r=>(r.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const o=this._handleEvent(e,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(o||i.changed)&&this.render(),this}_handleEvent(e,n,i){const{_active:s=[],options:o}=this,r=n,a=this._getActiveElements(e,s,i,r),l=g_(e),c=SS(e,this._lastEvent,i,l);i&&(this._lastEvent=null,xt(o.onHover,[e,a,this],this),l&&xt(o.onClick,[e,a,this],this));const u=!Co(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(e,n,i,s){if(e.type==="mouseout")return[];if(!i)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,s)}}const Wu=()=>vt(Io.instances,t=>t._plugins.invalidate()),on=!0;Object.defineProperties(Io,{defaults:{enumerable:on,value:lt},instances:{enumerable:on,value:Do},overrides:{enumerable:on,value:Wn},registry:{enumerable:on,value:Xe},version:{enumerable:on,value:bS},getChart:{enumerable:on,value:vg},register:{enumerable:on,value:(...t)=>{Xe.add(...t),Wu()}},unregister:{enumerable:on,value:(...t)=>{Xe.remove(...t),Wu()}}});function bg(t,e,n){const{startAngle:i,pixelMargin:s,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=s/a;t.beginPath(),t.arc(o,r,a,i-c,n+c),l>s?(c=s/l,t.arc(o,r,l,n+c,i-c,!0)):t.arc(o,r,s,n+Tt,i-Tt),t.closePath(),t.clip()}function wS(t){return ml(t,["outerStart","outerEnd","innerStart","innerEnd"])}function CS(t,e,n,i){const s=wS(t.options.borderRadius),o=(n-e)/2,r=Math.min(o,i*e/2),a=l=>{const c=(n-Math.min(o,l))*i/2;return Ut(l,0,Math.min(o,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Ut(s.innerStart,0,r),innerEnd:Ut(s.innerEnd,0,r)}}function ii(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function ua(t,e,n,i,s){const{x:o,y:r,startAngle:a,pixelMargin:l,innerRadius:c}=e,u=Math.max(e.outerRadius+i+n-l,0),d=c>0?c+i+n+l:0;let f=0;const h=s-a;if(i){const V=c>0?c-i:0,X=u>0?u-i:0,q=(V+X)/2,at=q!==0?h*q/(q+i):h;f=(h-at)/2}const g=Math.max(.001,h*u-n/Pt)/u,m=(h-g)/2,p=a+m+f,v=s-m-f,{outerStart:_,outerEnd:w,innerStart:x,innerEnd:C}=CS(e,d,u,v-p),O=u-_,S=u-w,A=p+_/O,T=v-w/S,D=d+x,I=d+C,E=p+x/D,W=v-C/I;if(t.beginPath(),t.arc(o,r,u,A,T),w>0){const V=ii(S,T,o,r);t.arc(V.x,V.y,w,T,v+Tt)}const J=ii(I,v,o,r);if(t.lineTo(J.x,J.y),C>0){const V=ii(I,W,o,r);t.arc(V.x,V.y,C,v+Tt,W+Math.PI)}if(t.arc(o,r,d,v-C/d,p+x/d,!0),x>0){const V=ii(D,E,o,r);t.arc(V.x,V.y,x,E+Math.PI,p-Tt)}const H=ii(O,p,o,r);if(t.lineTo(H.x,H.y),_>0){const V=ii(O,A,o,r);t.arc(V.x,V.y,_,p-Tt,A)}t.closePath()}function kS(t,e,n,i){const{fullCircles:s,startAngle:o,circumference:r}=e;let a=e.endAngle;if(s){ua(t,e,n,i,o+St);for(let l=0;l=St||xs(o,a,l),m=ln(r,c+f,u+f);return g&&m}getCenterPoint(e){const{x:n,y:i,startAngle:s,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:l,spacing:c}=this.options,u=(s+o)/2,d=(r+a+c+l)/2;return{x:n+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:i}=this,s=(n.offset||0)/2,o=(n.spacing||0)/2;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>St?Math.floor(i/St):0,i===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let r=0;if(s){r=s/2;const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*r,Math.sin(l)*r),this.circumference>=Pt&&(r=s)}e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor;const a=kS(e,this,r,o);PS(e,this,r,o,a),e.restore()}}Pl.id="arc";Pl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0};Pl.defaultRoutes={backgroundColor:"backgroundColor"};function yg(t,e,n=e){t.lineCap=st(n.borderCapStyle,e.borderCapStyle),t.setLineDash(st(n.borderDash,e.borderDash)),t.lineDashOffset=st(n.borderDashOffset,e.borderDashOffset),t.lineJoin=st(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=st(n.borderWidth,e.borderWidth),t.strokeStyle=st(n.borderColor,e.borderColor)}function AS(t,e,n){t.lineTo(n.x,n.y)}function TS(t){return t.stepped?W_:t.tension||t.cubicInterpolationMode==="monotone"?j_:AS}function _g(t,e,n={}){const i=t.length,{start:s=0,end:o=i-1}=n,{start:r,end:a}=e,l=Math.max(s,r),c=Math.min(o,a),u=sa&&o>a;return{count:i,start:l,loop:e.loop,ilen:c(r+(c?a-x:x))%o,w=()=>{m!==p&&(t.lineTo(u,p),t.lineTo(u,m),t.lineTo(u,v))};for(l&&(h=s[_(0)],t.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=s[_(f)],h.skip)continue;const x=h.x,C=h.y,O=x|0;O===g?(Cp&&(p=C),u=(d*u+x)/++d):(w(),t.lineTo(x,C),g=O,d=0,m=p=C),v=C}w()}function da(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?ES:OS}function LS(t){return t.stepped?C0:t.tension||t.cubicInterpolationMode==="monotone"?k0:On}function DS(t,e,n,i){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,i)&&s.closePath()),yg(t,e.options),t.stroke(s)}function IS(t,e,n,i){const{segments:s,options:o}=e,r=da(e);for(const a of s)yg(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const RS=typeof Path2D=="function";function $S(t,e,n,i){RS&&!e.options.segment?DS(t,e,n,i):IS(t,e,n,i)}class ir extends Te{constructor(e){super();this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;p0(this._points,i,e,s,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=I0(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,i=e.length;return i&&n[e[i-1].end]}interpolate(e,n){const i=this.options,s=e[n],o=this.points,r=E0(this,{property:n,start:s,end:s});if(!r.length)return;const a=[],l=LS(i);let c,u;for(c=0,u=r.length;ct!=="borderDash"&&t!=="fill"};function ju(t,e,n,i){const s=t.options,{[n]:o}=t.getProps([n],i);return Math.abs(e-o){let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},HS=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Yu extends Te{constructor(e){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,i){this.maxWidth=e,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=xt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(i=>e.filter(i,this.chart.data))),e.sort&&(n=n.sort((i,s)=>e.sort(i,s,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,s=$t(i.font),o=s.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Uu(i,o);let c,u;n.font=s.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(r,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(r,o,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,i,s){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=s+a;let d=e;o.textAlign="left",o.textBaseline="middle";let f=-1,h=-u;return this.legendItems.forEach((g,m)=>{const p=i+n/2+o.measureText(g.text).width;(m===0||c[c.length-1]+p+2*a>r)&&(d+=u,c[c.length-(m>0?0:1)]=0,h+=u,f++),l[m]={left:0,top:h,row:f,width:p,height:s},c[c.length-1]+=p+a}),d}_fitCols(e,n,i,s){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=r-e;let d=a,f=0,h=0,g=0,m=0;return this.legendItems.forEach((p,v)=>{const _=i+n/2+o.measureText(p.text).width;v>0&&h+s+2*a>u&&(d+=f+a,c.push({width:f,height:h}),g+=f+a,m++,f=h=0),l[v]={left:g,top:h,col:m,width:_,height:s},f=Math.max(f,_),h+=s+a}),d+=f,c.push({width:f,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:s},rtl:o}}=this,r=gi(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=jt(i,this.left+s,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=jt(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+e+s,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+s}else{let a=0,l=jt(i,this.top+e+s,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=jt(i,this.top+e+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;hl(e,this),this._draw(),gl(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:i,ctx:s}=this,{align:o,labels:r}=e,a=lt.color,l=gi(e.rtl,this.left,this.width),c=$t(r.font),{color:u,padding:d}=r,f=c.size,h=f/2;let g;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:p,itemHeight:v}=Uu(r,f),_=function(S,A,T){if(isNaN(m)||m<=0||isNaN(p)||p<0)return;s.save();const D=st(T.lineWidth,1);if(s.fillStyle=st(T.fillStyle,a),s.lineCap=st(T.lineCap,"butt"),s.lineDashOffset=st(T.lineDashOffset,0),s.lineJoin=st(T.lineJoin,"miter"),s.lineWidth=D,s.strokeStyle=st(T.strokeStyle,a),s.setLineDash(st(T.lineDash,[])),r.usePointStyle){const I={radius:m*Math.SQRT2/2,pointStyle:T.pointStyle,rotation:T.rotation,borderWidth:D},E=l.xPlus(S,m/2),W=A+h;To(s,I,E,W)}else{const I=A+Math.max((f-p)/2,0),E=l.leftForLtr(S,m),W=hi(T.borderRadius);s.beginPath(),Object.values(W).some(J=>J!==0)?Oo(s,{x:E,y:I,w:m,h:p,radius:W}):s.rect(E,I,m,p),s.fill(),D!==0&&s.stroke()}s.restore()},w=function(S,A,T){Un(s,T.text,S,A+v/2,c,{strikethrough:T.hidden,textAlign:l.textAlign(T.textAlign)})},x=this.isHorizontal(),C=this._computeTitleHeight();x?g={x:jt(o,this.left+d,this.right-i[0]),y:this.top+d+C,line:0}:g={x:this.left+d,y:jt(o,this.top+C+d,this.bottom-n[0].height),line:0},tg(this.ctx,e.textDirection);const O=v+d;this.legendItems.forEach((S,A)=>{s.strokeStyle=S.fontColor||u,s.fillStyle=S.fontColor||u;const T=s.measureText(S.text).width,D=l.textAlign(S.textAlign||(S.textAlign=r.textAlign)),I=m+h+T;let E=g.x,W=g.y;l.setWidth(this.width),x?A>0&&E+I+d>this.right&&(W=g.y+=O,g.line++,E=g.x=jt(o,this.left+d,this.right-i[g.line])):A>0&&W+O>this.bottom&&(E=g.x=E+n[g.line].width+d,g.line++,W=g.y=jt(o,this.top+C+d,this.bottom-n[g.line].height));const J=l.x(E);_(J,W,S),E=a_(D,E+m+h,x?E+I:this.right,e.rtl),w(l.x(E),W,S),x?g.x+=I+d:g.y+=O}),eg(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,i=$t(n.font),s=Yt(n.padding);if(!n.display)return;const o=gi(e.rtl,this.left,this.width),r=this.ctx,a=n.position,l=i.size/2,c=s.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=jt(e.align,d,this.right-f);else{const g=this.columnSizes.reduce((m,p)=>Math.max(m,p.height),0);u=c+jt(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}const h=jt(a,d,d+f);r.textAlign=o.textAlign(rl(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=i.string,Un(r,n.text,h,u,i)}_computeTitleHeight(){const e=this.options.title,n=$t(e.font),i=Yt(e.padding);return e.display?n.lineHeight+i.height:0}_getLegendItemAt(e,n){let i,s,o;if(ln(e,this.left,this.right)&&ln(n,this.top,this.bottom)){for(o=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:s,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map(r=>{const a=r.controller.getStyle(n?0:void 0),l=Yt(a.borderWidth);return{text:e[r.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!r.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:i||a.pointStyle,rotation:a.rotation,textAlign:s||a.textAlign,borderRadius:0,datasetIndex:r.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Sg extends Te{constructor(e){super();this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const s=Ct(i.text)?i.text.length:1;this._padding=Yt(i.padding);const o=s*$t(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:i,bottom:s,right:o,options:r}=this,a=r.align;let l=0,c,u,d;return this.isHorizontal()?(u=jt(a,i,o),d=n+e,c=o-i):(r.position==="left"?(u=i+e,d=jt(a,s,n),l=Pt*-.5):(u=o-e,d=jt(a,n,s),l=Pt*.5),c=s-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const i=$t(n.font),o=i.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Un(e,n.text,0,0,i,{color:n.color,maxWidth:l,rotation:c,textAlign:rl(n.align),textBaseline:"middle",translation:[r,a]})}}function jS(t,e){const n=new Sg({ctx:t.ctx,options:e,chart:t});ge.configure(t,n,e),ge.addBox(t,n),t.titleBlock=n}var Uw={id:"title",_element:Sg,start(t,e,n){jS(t,n)},stop(t){const e=t.titleBlock;ge.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;ge.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const os={average(t){if(!t.length)return!1;let e,n,i=0,s=0,o=0;for(e=0,n=t.length;e-1?t.split(` -`):t}function US(t,e){const{element:n,datasetIndex:i,index:s}=e,o=t.getDatasetMeta(i).controller,{label:r,value:a}=o.getLabelAndValue(s);return{chart:t,label:r,parsed:o.getParsed(s),raw:t.data.datasets[i].data[s],formattedValue:a,dataset:o.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function Ku(t,e){const n=t.chart.ctx,{body:i,footer:s,title:o}=t,{boxWidth:r,boxHeight:a}=e,l=$t(e.bodyFont),c=$t(e.titleFont),u=$t(e.footerFont),d=o.length,f=s.length,h=i.length,g=Yt(e.padding);let m=g.height,p=0,v=i.reduce((x,C)=>x+C.before.length+C.lines.length+C.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){const x=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*x+(v-h)*l.lineHeight+(v-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let _=0;const w=function(x){p=Math.max(p,n.measureText(x).width+_)};return n.save(),n.font=c.string,vt(t.title,w),n.font=l.string,vt(t.beforeBody.concat(t.afterBody),w),_=e.displayColors?r+2+e.boxPadding:0,vt(i,x=>{vt(x.before,w),vt(x.lines,w),vt(x.after,w)}),_=0,n.font=u.string,vt(t.footer,w),n.restore(),p+=g.width,{width:p,height:m}}function YS(t,e){const{y:n,height:i}=e;return nt.height-i/2?"bottom":"center"}function KS(t,e,n,i){const{x:s,width:o}=i,r=n.caretSize+n.caretPadding;if(t==="left"&&s+o+r>e.width||t==="right"&&s-o-r<0)return!0}function XS(t,e,n,i){const{x:s,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=o/2?c="left":s>=r-o/2&&(c="right"),KS(c,t,e,n)&&(c="center"),c}function Xu(t,e,n){const i=n.yAlign||e.yAlign||YS(t,n);return{xAlign:n.xAlign||e.xAlign||XS(t,e,n,i),yAlign:i}}function qS(t,e){let{x:n,width:i}=t;return e==="right"?n-=i:e==="center"&&(n-=i/2),n}function GS(t,e,n){let{y:i,height:s}=t;return e==="top"?i+=n:e==="bottom"?i-=s+n:i-=s/2,i}function qu(t,e,n,i){const{caretSize:s,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=s+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=hi(r);let g=qS(e,a);const m=GS(e,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(u,f)+s:a==="right"&&(g+=Math.max(d,h)+s),{x:Ut(g,0,i.width-e.width),y:Ut(m,0,i.height-e.height)}}function Qs(t,e,n){const i=Yt(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-i.right:t.x+i.left}function Gu(t){return Le([],Ue(t))}function ZS(t,e,n){return Sn(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Zu(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class fa extends Te{constructor(e){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,o=new ig(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=ZS(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:i}=n,s=i.beforeTitle.apply(this,[e]),o=i.title.apply(this,[e]),r=i.afterTitle.apply(this,[e]);let a=[];return a=Le(a,Ue(s)),a=Le(a,Ue(o)),a=Le(a,Ue(r)),a}getBeforeBody(e,n){return Gu(n.callbacks.beforeBody.apply(this,[e]))}getBody(e,n){const{callbacks:i}=n,s=[];return vt(e,o=>{const r={before:[],lines:[],after:[]},a=Zu(i,o);Le(r.before,Ue(a.beforeLabel.call(this,o))),Le(r.lines,a.label.call(this,o)),Le(r.after,Ue(a.afterLabel.call(this,o))),s.push(r)}),s}getAfterBody(e,n){return Gu(n.callbacks.afterBody.apply(this,[e]))}getFooter(e,n){const{callbacks:i}=n,s=i.beforeFooter.apply(this,[e]),o=i.footer.apply(this,[e]),r=i.afterFooter.apply(this,[e]);let a=[];return a=Le(a,Ue(s)),a=Le(a,Ue(o)),a=Le(a,Ue(r)),a}_createItems(e){const n=this._active,i=this.chart.data,s=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,f,i))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,i))),vt(a,u=>{const d=Zu(e.callbacks,u);s.push(d.labelColor.call(this,u)),o.push(d.labelPointStyle.call(this,u)),r.push(d.labelTextColor.call(this,u))}),this.labelColors=s,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(e,n){const i=this.options.setContext(this.getContext()),s=this._active;let o,r=[];if(!s.length)this.opacity!==0&&(o={opacity:0});else{const a=os[i.position].call(this,s,this._eventPosition);r=this._createItems(i),this.title=this.getTitle(r,i),this.beforeBody=this.getBeforeBody(r,i),this.body=this.getBody(r,i),this.afterBody=this.getAfterBody(r,i),this.footer=this.getFooter(r,i);const l=this._size=Ku(this,i),c=Object.assign({},a,l),u=Xu(this.chart,i,c),d=qu(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,i,s){const o=this.getCaretPosition(e,i,s);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,i){const{xAlign:s,yAlign:o}=this,{caretSize:r,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=hi(a),{x:f,y:h}=e,{width:g,height:m}=n;let p,v,_,w,x,C;return o==="center"?(x=h+m/2,s==="left"?(p=f,v=p-r,w=x+r,C=x-r):(p=f+g,v=p+r,w=x-r,C=x+r),_=p):(s==="left"?v=f+Math.max(l,u)+r:s==="right"?v=f+g-Math.max(c,d)-r:v=this.caretX,o==="top"?(w=h,x=w-r,p=v-r,_=v+r):(w=h+m,x=w+r,p=v+r,_=v-r),C=w),{x1:p,x2:v,x3:_,y1:w,y2:x,y3:C}}drawTitle(e,n,i){const s=this.title,o=s.length;let r,a,l;if(o){const c=gi(i.rtl,this.x,this.width);for(e.x=Qs(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",r=$t(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=r.string,l=0;lw!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,Oo(e,{x:p,y:m,w:c,h:l,radius:_}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),Oo(e,{x:v,y:m+1,w:c-2,h:l-2,radius:_}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(p,m,c,l),e.strokeRect(p,m,c,l),e.fillStyle=r.backgroundColor,e.fillRect(v,m+1,c-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,n,i){const{body:s}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=$t(i.bodyFont);let f=d.lineHeight,h=0;const g=gi(i.rtl,this.x,this.width),m=function(A){n.fillText(A,g.x(e.x+h),e.y+f/2),e.y+=f+o},p=g.textAlign(r);let v,_,w,x,C,O,S;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,e.x=Qs(this,p,i),n.fillStyle=i.bodyColor,vt(this.beforeBody,m),h=a&&p!=="right"?r==="center"?c/2+u:c+2+u:0,x=0,O=s.length;x0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,i=this.$animations,s=i&&i.x,o=i&&i.y;if(s||o){const r=os[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Ku(this,e),l=Object.assign({},r,this._size),c=Xu(n,e,l),u=qu(e,l,c,n);(s._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,u))}}draw(e){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const r=Yt(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(o,e,s,n),tg(e,n.textDirection),o.y+=r.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),eg(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const i=this._active,s=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!Co(i,s),r=this._positionChanged(s,n);(o||r)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,o=this._active||[],r=this._getActiveElements(e,o,n,i),a=this._positionChanged(r,e),l=n||!Co(r,o)||a;return l&&(this._active=r,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,i,s){const o=this.options;if(e.type==="mouseout")return[];if(!s)return n;const r=this.chart.getElementsAtEventForMode(e,o.mode,o,i);return o.reverse&&r.reverse(),r}_positionChanged(e,n){const{caretX:i,caretY:s,options:o}=this,r=os[o.position].call(this,e,n);return r!==!1&&(i!==r.x||s!==r.y)}}fa.positioners=os;var Yw={id:"tooltip",_element:fa,positioners:os,afterInit(t,e,n){n&&(t.tooltip=new fa({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip,n={tooltip:e};t.notifyPlugins("beforeTooltipDraw",n)!==!1&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:He,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndext!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const JS=(t,e,n,i)=>(typeof e=="string"?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function QS(t,e,n,i){const s=t.indexOf(e);if(s===-1)return JS(t,e,n,i);const o=t.lastIndexOf(e);return s!==o?n:s}const tw=(t,e)=>t===null?null:Ut(Math.round(t),0,e);class ha extends Qn{constructor(e){super(e);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:o}of n)i[s]===o&&i.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(bt(e))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===e?n:QS(i,e,st(n,e),this._addedLabels),tw(n,i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const e=this.min,n=this.max,i=this.options.offset,s=[];let o=this.getLabels();o=e===0&&n===o.length-1?o:o.slice(e,n+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let r=e;r<=n;r++)s.push({value:r});return s}getLabelForValue(e){const n=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}ha.id="category";ha.defaults={ticks:{callback:ha.prototype.getLabelForValue}};function ew(t,e){const n=[],{bounds:s,step:o,min:r,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,h=o||1,g=u-1,{min:m,max:p}=e,v=!bt(r),_=!bt(a),w=!bt(c),x=(p-m)/(d+1);let C=tu((p-m)/g/h)*h,O,S,A,T;if(C<1e-14&&!v&&!_)return[{value:m},{value:p}];T=Math.ceil(p/C)-Math.floor(m/C),T>g&&(C=tu(T*C/g/h)*h),bt(l)||(O=Math.pow(10,l),C=Math.ceil(C*O)/O),s==="ticks"?(S=Math.floor(m/C)*C,A=Math.ceil(p/C)*C):(S=m,A=p),v&&_&&o&&b_((a-r)/o,C/1e3)?(T=Math.round(Math.min((a-r)/C,u)),C=(a-r)/T,S=r,A=a):w?(S=v?r:S,A=_?a:A,T=c-1,C=(A-S)/T):(T=(A-S)/C,ns(T,Math.round(T),C/1e3)?T=Math.round(T):T=Math.ceil(T));const D=Math.max(eu(C),eu(S));O=Math.pow(10,bt(l)?D:l),S=Math.round(S*O)/O,A=Math.round(A*O)/O;let I=0;for(v&&(f&&S!==r?(n.push({value:r}),Ss=n?s:l,a=l=>o=i?o:l;if(e){const l=Re(s),c=Re(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(s===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(o*.05)),a(o+l),e||r(s-l)}this.min=s,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=e,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=ew(s,o);return e.bounds==="ticks"&&Fh(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const s=(i-n)/Math.max(e.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(e){return Ps(e,this.chart.options.locale,this.options.ticks.format)}}class wg extends Ro{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ht(e)?e:0,this.max=Ht(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,i=ke(this.options.ticks.minRotation),s=(e?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}wg.id="linear";wg.defaults={ticks:{callback:nr.formatters.numeric}};function Qu(t){return t/Math.pow(10,Math.floor(fe(t)))===1}function nw(t,e){const n=Math.floor(fe(e.max)),i=Math.ceil(e.max/Math.pow(10,n)),s=[];let o=de(t.min,Math.pow(10,Math.floor(fe(e.min)))),r=Math.floor(fe(o)),a=Math.floor(o/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;do s.push({value:o,major:Qu(o)}),++a,a===10&&(a=1,++r,l=r>=0?1:l),o=Math.round(a*Math.pow(10,r)*l)/l;while(r0?i:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ht(e)?Math.max(0,e):null,this.max=Ht(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let i=this.min,s=this.max;const o=l=>i=e?i:l,r=l=>s=n?s:l,a=(l,c)=>Math.pow(10,Math.floor(fe(l))+c);i===s&&(i<=0?(o(1),r(10)):(o(a(i,-1)),r(a(s,1)))),i<=0&&o(a(s,-1)),s<=0&&r(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&o(a(i,-1)),this.min=i,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},i=nw(n,this);return e.bounds==="ticks"&&Fh(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":Ps(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=fe(e),this._valueRange=fe(this.max)-fe(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(fe(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}Cg.id="logarithmic";Cg.defaults={ticks:{callback:nr.formatters.logarithmic,major:{enabled:!0}}};function ga(t){const e=t.ticks;if(e.display&&t.display){const n=Yt(e.backdropPadding);return st(e.font&&e.font.size,lt.font.size)+n.height}return 0}function iw(t,e,n){return n=Ct(n)?n:[n],{w:H_(t,e.string,n),h:n.length*e.lineHeight}}function td(t,e,n,i,s){return t===i||t===s?{start:e-n/2,end:e+n/2}:ts?{start:e-n,end:e}:{start:e,end:e+n}}function sw(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],s=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?Pt/o:0;for(let l=0;le.r&&(a=(i.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),s.starte.b&&(l=(s.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function rw(t,e,n){const i=[],s=t._pointLabels.length,o=t.options,r=ga(o)/2,a=t.drawingArea,l=o.pointLabels.centerPointLabels?Pt/s:0;for(let c=0;c270||n<90)&&(t-=e),t}function uw(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let s=e-1;s>=0;s--){const o=i.setContext(t.getPointLabelContext(s)),r=$t(o.font),{x:a,y:l,textAlign:c,left:u,top:d,right:f,bottom:h}=t._pointLabelItems[s],{backdropColor:g}=o;if(!bt(g)){const m=Yt(o.backdropPadding);n.fillStyle=g,n.fillRect(u-m.left,d-m.top,f-u+m.width,h-d+m.height)}Un(n,t._pointLabels[s],a,l+r.lineHeight/2,r,{color:o.color,textAlign:c,textBaseline:"middle"})}}function kg(t,e,n,i){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,St);else{let o=t.getPointPosition(0,e);s.moveTo(o.x,o.y);for(let r=1;r{const s=xt(this.options.pointLabels.callback,[n,i],this);return s||s===0?s:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?sw(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,i,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,i,s))}getIndexAngle(e){const n=St/(this._pointLabels.length||1),i=this.options.startAngle||0;return we(e*n+ke(i))}getDistanceFromCenterForValue(e){if(bt(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(bt(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(u!==0){a=this.getDistanceFromCenterForValue(c.value);const d=s.setContext(this.getContext(u-1));dw(this,d,a,o)}}),i.display){for(e.save(),r=o-1;r>=0;r--){const c=i.setContext(this.getPointLabelContext(r)),{color:u,lineWidth:d}=c;!d||!u||(e.lineWidth=d,e.strokeStyle=u,e.setLineDash(c.borderDash),e.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),l=this.getPointPosition(r,a),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let o,r;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=i.setContext(this.getContext(l)),u=$t(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,r=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=Yt(c.backdropPadding);e.fillRect(-r/2-d.left,-o-u.size/2-d.top,r+d.width,u.size+d.height)}Un(e,a.label,0,-o,u,{color:c.color})}),e.restore()}drawTitle(){}}sr.id="radialLinear";sr.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:nr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};sr.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};sr.descriptors={angleLines:{_fallback:"grid"}};const or={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zt=Object.keys(or);function hw(t,e){return t-e}function ed(t,e){if(bt(e))return null;const n=t._adapter,{parser:i,round:s,isoWeekday:o}=t._parseOpts;let r=e;return typeof i=="function"&&(r=i(r)),Ht(r)||(r=typeof i=="string"?n.parse(r,i):n.parse(r)),r===null?null:(s&&(r=s==="week"&&(_s(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,s)),+r)}function nd(t,e,n,i){const s=Zt.length;for(let o=Zt.indexOf(t);o=Zt.indexOf(n);o--){const r=Zt[o];if(or[r].common&&t._adapter.diff(s,i,r)>=e-1)return r}return Zt[n?Zt.indexOf(n):0]}function mw(t){for(let e=Zt.indexOf(t)+1,n=Zt.length;e=e?n[i]:n[s];t[o]=!0}}function pw(t,e,n,i){const s=t._adapter,o=+s.startOf(e[0].value,i),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+s.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function sd(t,e,n){const i=[],s={},o=e.length;let r,a;for(r=0;r1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+r);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;fm-p).map(m=>+m)}getLabelForValue(e){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(e,i.tooltipFormat):n.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,n,i,s){const o=this.options,r=o.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&r[a],u=l&&r[l],d=i[n],f=l&&u&&d&&d.major,h=this._adapter.format(e,s||(f?u:c)),g=o.ticks.callback;return g?xt(g,[h,n,i],this):h}generateTickLabels(e){let n,i,s;for(n=0,i=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,i;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n=t[i].pos&&e<=t[s].pos&&({lo:i,hi:s}=Rn(t,"pos",e)),{pos:o,time:a}=t[i],{pos:r,time:l}=t[s]):(e>=t[i].time&&e<=t[s].time&&({lo:i,hi:s}=Rn(t,"time",e)),{time:o,pos:a}=t[i],{time:r,pos:l}=t[s]);const c=r-o;return c?a+(l-a)*(e-o)/c:a}class Mg extends rr{constructor(e){super(e);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=to(n,this.min),this._tableRange=to(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:i}=this,s=[],o=[];let r,a,l,c,u;for(r=0,a=e.length;r=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(r=0,a=s.length;r{const o=t.datasets.find(r=>r[n]===s[n]);return!o||!s.data||i.includes(o)?M({},s):(i.push(o),Object.assign(o,s),o)})}function yw(t,e,n){t.data.labels=e,n!==void 0&&n.emit(_i.LabelsUpdated)}function _w(t,e){const n=t.datasets.map(s=>s.label),i=e.datasets.map(s=>s.label);return e.datasets.length===t.datasets.length&&n.every((s,o)=>s===i[o])}const xw="Please remove the tags from your chart component. See https://vue-chartjs.org/guide/#vue-single-file-components",Sw=(t,e,n)=>$a({props:{chartData:{type:Object,required:!0},chartOptions:{type:Object,default:()=>{}},datasetIdKey:{type:String,default:"label"},chartId:{type:String,default:t},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{type:String,default:""},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},setup(i,s){Io.register(n);const o=Od(null),r=U(null);function a(c,u){if(o.value!==null&&eo(nt(o.value),s),r.value===null)throw new Error(xw);{const d=bw(c,i.datasetIdKey),f=r.value.getContext("2d");f!==null&&(o.value=new Io(f,{type:e,data:Ki(c)?new Proxy(d,{}):d,options:u,plugins:i.plugins}))}}function l(c,u){const d=Ki(c)?nt(c):M({},c),f=Ki(u)?nt(u):M({},u);if(Object.keys(f).length>0){const h=nt(o.value);_w(d,f)&&h!==null?(Pg(h==null?void 0:h.data,d,i.datasetIdKey),d.labels!==void 0&&yw(h,d.labels,s),vw(h,s)):(h!==null&&eo(h,s),Ar(a,i.chartData,i.chartOptions,s))}else o.value!==null&&eo(nt(o.value),s),Ar(a,i.chartData,i.chartOptions,s)}return At(()=>i.chartData,(c,u)=>l(c,u),{deep:!0}),pn(()=>{"datasets"in i.chartData&&i.chartData.datasets.length>0&&Ar(a,i.chartData,i.chartOptions,s)}),ye(()=>{o.value!==null&&eo(nt(o.value),s)}),()=>Pe("div",{style:i.styles,class:i.cssClasses},[Pe("canvas",{id:i.chartId,width:i.width,height:i.height,ref:r})])}}),Kw=Sw("line-chart","line",Ts);const Xw=ot({name:"VApp",props:M(M({},t_({fullHeight:!0})),qt()),setup(t,e){let{slots:n}=e;const i=te(t),{layoutClasses:s,layoutStyles:o,getLayoutItem:r,items:a,layoutRef:l}=o_(t),{rtlClasses:c}=Qo();return Xt(()=>{var u;return y("div",{ref:l,class:["v-application",i.themeClasses.value,s.value,c.value],style:o.value,"data-app":"true"},[y("div",{class:"v-application__wrap"},[(u=n.default)==null?void 0:u.call(n)])])}),{getLayoutItem:r,items:a,theme:i}}});function ww(){const t=U(!1);return pn(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:P(()=>t.value?void 0:{transition:"none !important"})}}const qw=ot({name:"VMain",props:Wt({tag:"main"}),setup(t,e){let{slots:n}=e;const{mainStyles:i}=n_(),{ssrBootStyles:s}=ww();return()=>{var o;return y(t.tag,{class:"v-main",style:[i.value,s.value]},{default:()=>[y("div",{class:"v-main__wrap"},[(o=n.default)==null?void 0:o.call(n)])]})}}}),od=Symbol.for("vuetify:display"),rd={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},Cw=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:rd;return zn(rd,t)};function ad(){return Ft?Math.max(document.documentElement.clientWidth,window.innerWidth):0}function ld(){return Ft?Math.max(document.documentElement.clientHeight,window.innerHeight):0}function kw(){const t=Ft?window.navigator.userAgent:"ssr";function e(g){return Boolean(t.match(g))}const n=e(/android/i),i=e(/iphone|ipad|ipod/i),s=e(/cordova/i),o=e(/electron/i),r=e(/chrome/i),a=e(/edge/i),l=e(/firefox/i),c=e(/opera/i),u=e(/win/i),d=e(/mac/i),f=e(/linux/i),h=e(/ssr/i);return{android:n,ios:i,cordova:s,electron:o,chrome:r,edge:a,firefox:l,opera:c,win:u,mac:d,linux:f,touch:Iv,ssr:h}}function Mw(t){const{thresholds:e,mobileBreakpoint:n}=Cw(t),i=U(ld()),s=kw(),o=Ce({}),r=U(ad());function a(){i.value=ld(),r.value=ad()}return Ci(()=>{const l=r.value=e.xxl,g=l?"xs":c?"sm":u?"md":d?"lg":f?"xl":"xxl",m=typeof n=="number"?n:e[n],p=s.ssr?s.android||s.ios||s.opera:r.valuePe(Wf,ut(M({},t),{class:"mdi"}))},Gw=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{install:n=>{const{aliases:i={},components:s={},directives:o={},icons:r={}}=t;for(const u in o)n.directive(u,o[u]);for(const u in s)n.component(u,s[u]);for(const u in i)n.component(u,ot(ut(M({},i[u]),{name:u})));n.provide(bo,Ov(t.defaults)),n.provide(od,Mw(t.display)),n.provide(yo,Qv(n,t.theme)),n.provide(Xr,zn({defaultSet:"mdi",sets:ut(M({},Wv),{mdi:Aw}),aliases:Pw},r));const{adapter:a,rootInstance:l}=Ay(n,t==null?void 0:t.locale);n.provide(ea,a),n.provide(ta,Zb(l,t==null?void 0:t.locale));function c(u){var d,f,h;const g=this.$,m=(d=(f=g.parent)==null?void 0:f.provides)!=null?d:(h=g.vnode.appContext)==null?void 0:h.provides;if(m&&u in m)return m[u]}n.mixin({computed:{$vuetify(){return Ce({defaults:c.call(this,bo),display:c.call(this,od),theme:c.call(this,yo),icons:c.call(this,Xr),locale:c.call(this,ea),rtl:c.call(this,ta)})}}})}}};export{Mt as A,Hw as B,cy as C,zt as D,Lb as E,It as F,Ww as G,zw as H,xo as I,Ob as J,Io as K,Uw as L,Yw as M,jw as N,ir as O,wg as P,Al as Q,ha as R,Kw as S,Ew as T,Xw as U,ky as V,qw as W,Gw as X,Rw as Y,y as a,Bw as b,Lw as c,$w as d,Vw as e,Fw as f,df as g,U as h,pp as i,Dw as j,yb as k,Yy as l,Nw as m,Iw as n,gp as o,Gy as p,uf as q,Ce as r,el as s,Ow as t,ci as u,pe as v,Lm as w,P as x,Jt as y,pc as z}; diff --git a/docs/assets/vendor.8d4900b1.css b/docs/assets/vendor.879818f8.css similarity index 75% rename from docs/assets/vendor.8d4900b1.css rename to docs/assets/vendor.879818f8.css index f02b9f7..0f587a6 100644 --- a/docs/assets/vendor.8d4900b1.css +++ b/docs/assets/vendor.879818f8.css @@ -1 +1 @@ -.v-container{width:100%;padding:16px;margin-right:auto;margin-left:auto}@media (min-width: 960px){.v-container{max-width:900px}}@media (min-width: 1280px){.v-container{max-width:1200px}}@media (min-width: 1920px){.v-container{max-width:1800px}}@media (min-width: 2560px){.v-container{max-width:2400px}}.v-container--fluid{max-width:100%}.v-row{display:flex;flex-wrap:wrap;flex:1 1 auto;margin:-12px}.v-row+.row{margin-top:12px}.v-row+.row--dense{margin-top:4px}.v-row--dense{margin:-4px}.v-row--dense>.v-col,.v-row--dense>[class*=v-col-]{padding:4px}.v-row.v-row--no-gutters{margin:0}.v-row.v-row--no-gutters>.v-col,.v-row.v-row--no-gutters>[class*=v-col-]{padding:0}.v-col-xxl,.v-col-xxl-auto,.v-col-xxl-12,.v-col-xxl-11,.v-col-xxl-10,.v-col-xxl-9,.v-col-xxl-8,.v-col-xxl-7,.v-col-xxl-6,.v-col-xxl-5,.v-col-xxl-4,.v-col-xxl-3,.v-col-xxl-2,.v-col-xxl-1,.v-col-xl,.v-col-xl-auto,.v-col-xl-12,.v-col-xl-11,.v-col-xl-10,.v-col-xl-9,.v-col-xl-8,.v-col-xl-7,.v-col-xl-6,.v-col-xl-5,.v-col-xl-4,.v-col-xl-3,.v-col-xl-2,.v-col-xl-1,.v-col-lg,.v-col-lg-auto,.v-col-lg-12,.v-col-lg-11,.v-col-lg-10,.v-col-lg-9,.v-col-lg-8,.v-col-lg-7,.v-col-lg-6,.v-col-lg-5,.v-col-lg-4,.v-col-lg-3,.v-col-lg-2,.v-col-lg-1,.v-col-md,.v-col-md-auto,.v-col-md-12,.v-col-md-11,.v-col-md-10,.v-col-md-9,.v-col-md-8,.v-col-md-7,.v-col-md-6,.v-col-md-5,.v-col-md-4,.v-col-md-3,.v-col-md-2,.v-col-md-1,.v-col-sm,.v-col-sm-auto,.v-col-sm-12,.v-col-sm-11,.v-col-sm-10,.v-col-sm-9,.v-col-sm-8,.v-col-sm-7,.v-col-sm-6,.v-col-sm-5,.v-col-sm-4,.v-col-sm-3,.v-col-sm-2,.v-col-sm-1,.v-col,.v-col-auto,.v-col-12,.v-col-11,.v-col-10,.v-col-9,.v-col-8,.v-col-7,.v-col-6,.v-col-5,.v-col-4,.v-col-3,.v-col-2,.v-col-1{width:100%;padding:12px}.v-col{flex-basis:0;flex-grow:1;max-width:100%}.v-col-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-3{flex:0 0 25%;max-width:25%}.v-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-6{flex:0 0 50%;max-width:50%}.v-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-9{flex:0 0 75%;max-width:75%}.v-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-12{flex:0 0 100%;max-width:100%}.offset-1.v-locale--is-ltr,.v-locale--is-ltr .offset-1{margin-left:8.3333333333%}.offset-1.v-locale--is-rtl,.v-locale--is-rtl .offset-1{margin-right:8.3333333333%}.offset-2.v-locale--is-ltr,.v-locale--is-ltr .offset-2{margin-left:16.6666666667%}.offset-2.v-locale--is-rtl,.v-locale--is-rtl .offset-2{margin-right:16.6666666667%}.offset-3.v-locale--is-ltr,.v-locale--is-ltr .offset-3{margin-left:25%}.offset-3.v-locale--is-rtl,.v-locale--is-rtl .offset-3{margin-right:25%}.offset-4.v-locale--is-ltr,.v-locale--is-ltr .offset-4{margin-left:33.3333333333%}.offset-4.v-locale--is-rtl,.v-locale--is-rtl .offset-4{margin-right:33.3333333333%}.offset-5.v-locale--is-ltr,.v-locale--is-ltr .offset-5{margin-left:41.6666666667%}.offset-5.v-locale--is-rtl,.v-locale--is-rtl .offset-5{margin-right:41.6666666667%}.offset-6.v-locale--is-ltr,.v-locale--is-ltr .offset-6{margin-left:50%}.offset-6.v-locale--is-rtl,.v-locale--is-rtl .offset-6{margin-right:50%}.offset-7.v-locale--is-ltr,.v-locale--is-ltr .offset-7{margin-left:58.3333333333%}.offset-7.v-locale--is-rtl,.v-locale--is-rtl .offset-7{margin-right:58.3333333333%}.offset-8.v-locale--is-ltr,.v-locale--is-ltr .offset-8{margin-left:66.6666666667%}.offset-8.v-locale--is-rtl,.v-locale--is-rtl .offset-8{margin-right:66.6666666667%}.offset-9.v-locale--is-ltr,.v-locale--is-ltr .offset-9{margin-left:75%}.offset-9.v-locale--is-rtl,.v-locale--is-rtl .offset-9{margin-right:75%}.offset-10.v-locale--is-ltr,.v-locale--is-ltr .offset-10{margin-left:83.3333333333%}.offset-10.v-locale--is-rtl,.v-locale--is-rtl .offset-10{margin-right:83.3333333333%}.offset-11.v-locale--is-ltr,.v-locale--is-ltr .offset-11{margin-left:91.6666666667%}.offset-11.v-locale--is-rtl,.v-locale--is-rtl .offset-11{margin-right:91.6666666667%}@media (min-width: 600px){.v-col-sm{flex-basis:0;flex-grow:1;max-width:100%}.v-col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-sm-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-sm-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-sm-3{flex:0 0 25%;max-width:25%}.v-col-sm-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-sm-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-sm-6{flex:0 0 50%;max-width:50%}.v-col-sm-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-sm-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-sm-9{flex:0 0 75%;max-width:75%}.v-col-sm-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-sm-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-0.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-0{margin-left:0}.offset-sm-0.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-0{margin-right:0}.offset-sm-1.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-1{margin-left:8.3333333333%}.offset-sm-1.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-1{margin-right:8.3333333333%}.offset-sm-2.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-2{margin-left:16.6666666667%}.offset-sm-2.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-2{margin-right:16.6666666667%}.offset-sm-3.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-3{margin-left:25%}.offset-sm-3.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-3{margin-right:25%}.offset-sm-4.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-4{margin-left:33.3333333333%}.offset-sm-4.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-4{margin-right:33.3333333333%}.offset-sm-5.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-5{margin-left:41.6666666667%}.offset-sm-5.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-5{margin-right:41.6666666667%}.offset-sm-6.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-6{margin-left:50%}.offset-sm-6.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-6{margin-right:50%}.offset-sm-7.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-7{margin-left:58.3333333333%}.offset-sm-7.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-7{margin-right:58.3333333333%}.offset-sm-8.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-8{margin-left:66.6666666667%}.offset-sm-8.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-8{margin-right:66.6666666667%}.offset-sm-9.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-9{margin-left:75%}.offset-sm-9.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-9{margin-right:75%}.offset-sm-10.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-10{margin-left:83.3333333333%}.offset-sm-10.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-10{margin-right:83.3333333333%}.offset-sm-11.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-11{margin-left:91.6666666667%}.offset-sm-11.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-11{margin-right:91.6666666667%}}@media (min-width: 960px){.v-col-md{flex-basis:0;flex-grow:1;max-width:100%}.v-col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-md-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-md-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-md-3{flex:0 0 25%;max-width:25%}.v-col-md-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-md-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-md-6{flex:0 0 50%;max-width:50%}.v-col-md-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-md-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-md-9{flex:0 0 75%;max-width:75%}.v-col-md-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-md-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-md-12{flex:0 0 100%;max-width:100%}.offset-md-0.v-locale--is-ltr,.v-locale--is-ltr .offset-md-0{margin-left:0}.offset-md-0.v-locale--is-rtl,.v-locale--is-rtl .offset-md-0{margin-right:0}.offset-md-1.v-locale--is-ltr,.v-locale--is-ltr .offset-md-1{margin-left:8.3333333333%}.offset-md-1.v-locale--is-rtl,.v-locale--is-rtl .offset-md-1{margin-right:8.3333333333%}.offset-md-2.v-locale--is-ltr,.v-locale--is-ltr .offset-md-2{margin-left:16.6666666667%}.offset-md-2.v-locale--is-rtl,.v-locale--is-rtl .offset-md-2{margin-right:16.6666666667%}.offset-md-3.v-locale--is-ltr,.v-locale--is-ltr .offset-md-3{margin-left:25%}.offset-md-3.v-locale--is-rtl,.v-locale--is-rtl .offset-md-3{margin-right:25%}.offset-md-4.v-locale--is-ltr,.v-locale--is-ltr .offset-md-4{margin-left:33.3333333333%}.offset-md-4.v-locale--is-rtl,.v-locale--is-rtl .offset-md-4{margin-right:33.3333333333%}.offset-md-5.v-locale--is-ltr,.v-locale--is-ltr .offset-md-5{margin-left:41.6666666667%}.offset-md-5.v-locale--is-rtl,.v-locale--is-rtl .offset-md-5{margin-right:41.6666666667%}.offset-md-6.v-locale--is-ltr,.v-locale--is-ltr .offset-md-6{margin-left:50%}.offset-md-6.v-locale--is-rtl,.v-locale--is-rtl .offset-md-6{margin-right:50%}.offset-md-7.v-locale--is-ltr,.v-locale--is-ltr .offset-md-7{margin-left:58.3333333333%}.offset-md-7.v-locale--is-rtl,.v-locale--is-rtl .offset-md-7{margin-right:58.3333333333%}.offset-md-8.v-locale--is-ltr,.v-locale--is-ltr .offset-md-8{margin-left:66.6666666667%}.offset-md-8.v-locale--is-rtl,.v-locale--is-rtl .offset-md-8{margin-right:66.6666666667%}.offset-md-9.v-locale--is-ltr,.v-locale--is-ltr .offset-md-9{margin-left:75%}.offset-md-9.v-locale--is-rtl,.v-locale--is-rtl .offset-md-9{margin-right:75%}.offset-md-10.v-locale--is-ltr,.v-locale--is-ltr .offset-md-10{margin-left:83.3333333333%}.offset-md-10.v-locale--is-rtl,.v-locale--is-rtl .offset-md-10{margin-right:83.3333333333%}.offset-md-11.v-locale--is-ltr,.v-locale--is-ltr .offset-md-11{margin-left:91.6666666667%}.offset-md-11.v-locale--is-rtl,.v-locale--is-rtl .offset-md-11{margin-right:91.6666666667%}}@media (min-width: 1280px){.v-col-lg{flex-basis:0;flex-grow:1;max-width:100%}.v-col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-lg-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-lg-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-lg-3{flex:0 0 25%;max-width:25%}.v-col-lg-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-lg-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-lg-6{flex:0 0 50%;max-width:50%}.v-col-lg-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-lg-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-lg-9{flex:0 0 75%;max-width:75%}.v-col-lg-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-lg-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-0.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-0{margin-left:0}.offset-lg-0.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-0{margin-right:0}.offset-lg-1.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-1{margin-left:8.3333333333%}.offset-lg-1.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-1{margin-right:8.3333333333%}.offset-lg-2.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-2{margin-left:16.6666666667%}.offset-lg-2.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-2{margin-right:16.6666666667%}.offset-lg-3.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-3{margin-left:25%}.offset-lg-3.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-3{margin-right:25%}.offset-lg-4.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-4{margin-left:33.3333333333%}.offset-lg-4.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-4{margin-right:33.3333333333%}.offset-lg-5.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-5{margin-left:41.6666666667%}.offset-lg-5.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-5{margin-right:41.6666666667%}.offset-lg-6.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-6{margin-left:50%}.offset-lg-6.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-6{margin-right:50%}.offset-lg-7.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-7{margin-left:58.3333333333%}.offset-lg-7.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-7{margin-right:58.3333333333%}.offset-lg-8.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-8{margin-left:66.6666666667%}.offset-lg-8.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-8{margin-right:66.6666666667%}.offset-lg-9.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-9{margin-left:75%}.offset-lg-9.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-9{margin-right:75%}.offset-lg-10.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-10{margin-left:83.3333333333%}.offset-lg-10.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-10{margin-right:83.3333333333%}.offset-lg-11.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-11{margin-left:91.6666666667%}.offset-lg-11.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-11{margin-right:91.6666666667%}}@media (min-width: 1920px){.v-col-xl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xl-3{flex:0 0 25%;max-width:25%}.v-col-xl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xl-6{flex:0 0 50%;max-width:50%}.v-col-xl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xl-9{flex:0 0 75%;max-width:75%}.v-col-xl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-0{margin-left:0}.offset-xl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-0{margin-right:0}.offset-xl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-1{margin-left:8.3333333333%}.offset-xl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-1{margin-right:8.3333333333%}.offset-xl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-2{margin-left:16.6666666667%}.offset-xl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-2{margin-right:16.6666666667%}.offset-xl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-3{margin-left:25%}.offset-xl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-3{margin-right:25%}.offset-xl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-4{margin-left:33.3333333333%}.offset-xl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-4{margin-right:33.3333333333%}.offset-xl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-5{margin-left:41.6666666667%}.offset-xl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-5{margin-right:41.6666666667%}.offset-xl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-6{margin-left:50%}.offset-xl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-6{margin-right:50%}.offset-xl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-7{margin-left:58.3333333333%}.offset-xl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-7{margin-right:58.3333333333%}.offset-xl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-8{margin-left:66.6666666667%}.offset-xl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-8{margin-right:66.6666666667%}.offset-xl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-9{margin-left:75%}.offset-xl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-9{margin-right:75%}.offset-xl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-10{margin-left:83.3333333333%}.offset-xl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-10{margin-right:83.3333333333%}.offset-xl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-11{margin-left:91.6666666667%}.offset-xl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-11{margin-right:91.6666666667%}}@media (min-width: 2560px){.v-col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xxl-3{flex:0 0 25%;max-width:25%}.v-col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xxl-6{flex:0 0 50%;max-width:50%}.v-col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xxl-9{flex:0 0 75%;max-width:75%}.v-col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xxl-12{flex:0 0 100%;max-width:100%}.offset-xxl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-0{margin-left:0}.offset-xxl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-0{margin-right:0}.offset-xxl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-1{margin-left:8.3333333333%}.offset-xxl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-1{margin-right:8.3333333333%}.offset-xxl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-2{margin-left:16.6666666667%}.offset-xxl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-2{margin-right:16.6666666667%}.offset-xxl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-3{margin-left:25%}.offset-xxl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-3{margin-right:25%}.offset-xxl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-4{margin-left:33.3333333333%}.offset-xxl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-4{margin-right:33.3333333333%}.offset-xxl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-5{margin-left:41.6666666667%}.offset-xxl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-5{margin-right:41.6666666667%}.offset-xxl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-6{margin-left:50%}.offset-xxl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-6{margin-right:50%}.offset-xxl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-7{margin-left:58.3333333333%}.offset-xxl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-7{margin-right:58.3333333333%}.offset-xxl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-8{margin-left:66.6666666667%}.offset-xxl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-8{margin-right:66.6666666667%}.offset-xxl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-9{margin-left:75%}.offset-xxl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-9{margin-right:75%}.offset-xxl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-10{margin-left:83.3333333333%}.offset-xxl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-10{margin-right:83.3333333333%}.offset-xxl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-11{margin-left:91.6666666667%}.offset-xxl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-11{margin-right:91.6666666667%}}.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:0;flex:0 0}.v-select .v-field .v-field__append-inner>.v-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select__content{overflow:hidden;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;border-radius:4px}.v-select__selection{display:inline-flex;letter-spacing:inherit;line-height:inherit}.v-select--active-menu .v-field__append-inner>.v-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-select--chips .v-select__selection:first-child{margin-inline-start:0}.v-chip{align-items:center;cursor:default;display:inline-flex;font-weight:400;max-width:100%;overflow:hidden;position:relative;text-decoration:none;white-space:nowrap;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:9999px}.v-chip--size-x-small{--v-chip-size: .625rem;--v-chip-height: 20px;font-size:.625rem;padding:0 8px}.v-chip--size-x-small .v-avatar{--v-avatar-height: 12px}.v-chip--pill.v-chip--size-x-small .v-avatar{--v-avatar-height: 20px}.v-chip--size-x-small .v-chip__prepend,.v-chip--size-x-small .v-chip__filter{margin-inline-start:-4px;margin-inline-end:4px}.v-chip--pill.v-chip--size-x-small .v-chip__prepend,.v-chip--pill.v-chip--size-x-small .v-chip__filter{margin-inline-start:-8px}.v-chip--size-x-small .v-chip__append,.v-chip--size-x-small .v-chip__close{margin-inline-end:-4px;margin-inline-start:4px}.v-chip--pill.v-chip--size-x-small .v-chip__append,.v-chip--pill.v-chip--size-x-small .v-chip__close{margin-inline-end:-8px}.v-chip--size-small{--v-chip-size: .75rem;--v-chip-height: 26px;font-size:.75rem;padding:0 10px}.v-chip--size-small .v-avatar{--v-avatar-height: 18px}.v-chip--pill.v-chip--size-small .v-avatar{--v-avatar-height: 26px}.v-chip--size-small .v-chip__prepend,.v-chip--size-small .v-chip__filter{margin-inline-start:-5px;margin-inline-end:5px}.v-chip--pill.v-chip--size-small .v-chip__prepend,.v-chip--pill.v-chip--size-small .v-chip__filter{margin-inline-start:-10px}.v-chip--size-small .v-chip__append,.v-chip--size-small .v-chip__close{margin-inline-end:-5px;margin-inline-start:5px}.v-chip--pill.v-chip--size-small .v-chip__append,.v-chip--pill.v-chip--size-small .v-chip__close{margin-inline-end:-10px}.v-chip--size-default{--v-chip-size: .875rem;--v-chip-height: 32px;font-size:.875rem;padding:0 12px}.v-chip--size-default .v-avatar{--v-avatar-height: 24px}.v-chip--pill.v-chip--size-default .v-avatar{--v-avatar-height: 32px}.v-chip--size-default .v-chip__prepend,.v-chip--size-default .v-chip__filter{margin-inline-start:-6px;margin-inline-end:6px}.v-chip--pill.v-chip--size-default .v-chip__prepend,.v-chip--pill.v-chip--size-default .v-chip__filter{margin-inline-start:-12px}.v-chip--size-default .v-chip__append,.v-chip--size-default .v-chip__close{margin-inline-end:-6px;margin-inline-start:6px}.v-chip--pill.v-chip--size-default .v-chip__append,.v-chip--pill.v-chip--size-default .v-chip__close{margin-inline-end:-12px}.v-chip--size-large{--v-chip-size: 1rem;--v-chip-height: 38px;font-size:1rem;padding:0 14px}.v-chip--size-large .v-avatar{--v-avatar-height: 30px}.v-chip--pill.v-chip--size-large .v-avatar{--v-avatar-height: 38px}.v-chip--size-large .v-chip__prepend,.v-chip--size-large .v-chip__filter{margin-inline-start:-7px;margin-inline-end:7px}.v-chip--pill.v-chip--size-large .v-chip__prepend,.v-chip--pill.v-chip--size-large .v-chip__filter{margin-inline-start:-14px}.v-chip--size-large .v-chip__append,.v-chip--size-large .v-chip__close{margin-inline-end:-7px;margin-inline-start:7px}.v-chip--pill.v-chip--size-large .v-chip__append,.v-chip--pill.v-chip--size-large .v-chip__close{margin-inline-end:-14px}.v-chip--size-x-large{--v-chip-size: 1.125rem;--v-chip-height: 44px;font-size:1.125rem;padding:0 17px}.v-chip--size-x-large .v-avatar{--v-avatar-height: 36px}.v-chip--pill.v-chip--size-x-large .v-avatar{--v-avatar-height: 44px}.v-chip--size-x-large .v-chip__prepend,.v-chip--size-x-large .v-chip__filter{margin-inline-start:-8.5px;margin-inline-end:8.5px}.v-chip--pill.v-chip--size-x-large .v-chip__prepend,.v-chip--pill.v-chip--size-x-large .v-chip__filter{margin-inline-start:-17px}.v-chip--size-x-large .v-chip__append,.v-chip--size-x-large .v-chip__close{margin-inline-end:-8.5px;margin-inline-start:8.5px}.v-chip--pill.v-chip--size-x-large .v-chip__append,.v-chip--pill.v-chip--size-x-large .v-chip__close{margin-inline-end:-17px}.v-chip.v-chip--density-default{height:calc(var(--v-chip-height) + 0px)}.v-chip.v-chip--density-comfortable{height:calc(var(--v-chip-height) + -8px)}.v-chip.v-chip--density-compact{height:calc(var(--v-chip-height) + -12px)}.v-chip--variant-plain,.v-chip--variant-outlined,.v-chip--variant-text,.v-chip--variant-contained-text{background:transparent;color:inherit}.v-chip--variant-plain{opacity:.26}.v-chip--variant-plain:focus,.v-chip--variant-plain:hover{opacity:1}.v-chip--variant-plain .v-chip__overlay{display:none}.v-chip--variant-contained,.v-chip--variant-contained-flat{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-chip--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-chip--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-chip--variant-outlined{border:thin solid currentColor}.v-chip--variant-text .v-chip__overlay{background:currentColor}.v-chip--variant-contained-text .v-chip__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-chip--border{border-width:thin}.v-chip--link{cursor:pointer}.v-chip__filter,.v-chip__prepend,.v-chip__append,.v-chip__close{align-items:center;display:inline-flex}.v-chip__close{cursor:pointer;flex:0 1 auto;font-size:18px;max-height:18px;max-width:18px;user-select:none}.v-chip__close .v-icon{font-size:inherit}.v-chip__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-chip--disabled{opacity:.3;pointer-events:none;user-select:none}.v-chip--label{border-radius:4px}.v-avatar{align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;vertical-align:middle;border-radius:50%;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar--rounded{@includes tools.rounded($avatar-rounded-border-radius);}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;user-select:none;vertical-align:middle;width:1em}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-btn:not(.v-btn--icon) .v-icon--start{margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn.v-btn--stacked .v-icon--start{margin-inline-start:0;margin-inline-end:0;margin-bottom:4px}.v-icon--end{margin-inline-start:8px}.v-btn:not(.v-btn--icon) .v-icon--end{margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn.v-btn--stacked .v-icon--end{margin-inline-start:0;margin-inline-end:0;margin-top:4px}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img--booting .v-responsive__sizer{transition:none}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}.v-chip-group{display:flex;max-width:100%;min-width:0;overflow-x:auto;padding:4px 0}.v-chip-group .v-chip{margin:4px 8px 4px 0}.v-chip-group .v-chip.v-chip--selected:not(.v-chip--disabled) .v-chip__overlay{opacity:var(--v-activated-opacity)}.v-chip-group--column{flex-wrap:wrap;white-space:normal}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1)}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1)}.v-list{overflow:auto;padding:8px 0;position:relative;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:0;background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list--border{border-width:thin;box-shadow:none}.v-list--absolute{position:absolute}.v-list--fixed{position:fixed}.v-list--disabled{pointer-events:none;user-select:none}.v-list--rounded{border-radius:4px}.v-list--subheader{padding-top:0}.v-list-img{border-radius:inherit;display:flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-list-subheader{align-items:center;background:inherit;display:flex;font-size:.875rem;font-weight:500;line-height:1.375rem;padding-inline-end:16px;min-height:48px;transition:.2s min-height cubic-bezier(.4,0,.2,1)}.v-list-subheader__text{opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-list--density-default .v-list-subheader{min-height:48px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-comfortable .v-list-subheader{min-height:44px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-compact .v-list-subheader{min-height:40px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-subheader--inset{padding-inline-start:72px}.v-list--nav .v-list-subheader{font-size:.75rem}.v-list-subheader--sticky{background:inherit;left:0;position:sticky;top:0;z-index:1}.v-list__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-divider{display:block;flex:1 1 100%;height:0px;max-height:0px;transition:inherit;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:thin 0 0 0}.v-divider--vertical{align-self:stretch;border-width:0 thin 0 0;display:inline-flex;height:inherit;margin-left:-1px;max-height:100%;max-width:0px;vertical-align:text-bottom;width:0px}.v-divider--inset:not(.v-divider--vertical){max-width:calc(100% - 72px);margin-inline-start:72px}.v-divider--inset.v-divider--vertical{margin-bottom:8px;margin-top:8px;max-height:calc(100% - 16px)}.v-list-item{align-items:center;display:flex;padding:8px 16px;position:relative;outline:none;text-decoration:none;transition:.2s cubic-bezier(.4,0,.2,1);border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:0}.v-list-item--border{border-width:thin;box-shadow:none}.v-list-item:hover .v-list-item__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-list-item:focus-visible .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item:focus .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-list-item--active:hover.v-list-item__overlay,.v-list-item--active .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-list-item--active:focus .v-list-item__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-list-item--variant-plain,.v-list-item--variant-outlined,.v-list-item--variant-text,.v-list-item--variant-contained-text{background:transparent;color:inherit}.v-list-item--variant-plain{opacity:.62}.v-list-item--variant-plain:focus,.v-list-item--variant-plain:hover{opacity:1}.v-list-item--variant-plain .v-list-item__overlay{display:none}.v-list-item--variant-contained,.v-list-item--variant-contained-flat{background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list-item--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-list-item--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-list-item--variant-outlined{border:thin solid currentColor}.v-list-item--variant-text .v-list-item__overlay{background:currentColor}.v-list-item--variant-contained-text .v-list-item__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-list-item--rounded{border-radius:4px}.v-list-item--disabled{pointer-events:none;user-select:none;opacity:.6}.v-list-item--link{cursor:pointer}.v-list-item-action,.v-list-item-avatar,.v-list-item-icon{align-self:center;display:flex;align-items:center;flex:none;transition:inherit;transition-property:height,width}.v-list-item--three-line .v-list-item-action,.v-list-item--three-line .v-list-item-avatar,.v-list-item--three-line .v-list-item-icon{align-self:flex-start}.v-list-item-avatar--start{margin-inline-end:16px}.v-list-item-avatar--end{margin-inline-start:16px}.v-list-item--density-default.v-list-item--three-line .v-list-item-avatar{margin-top:4px}.v-list-item--density-comfortable.v-list-item--three-line .v-list-item-avatar{margin-top:8px}.v-list-item--density-compact.v-list-item--three-line .v-list-item-avatar{margin-top:12px}.v-list-item-icon--start{margin-inline-end:32px}.v-list-item-icon--end{margin-inline-start:32px}.v-list-item-action--start{margin-inline-end:12px}.v-list-item-action--end{margin-inline-start:12px}.v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-media--start{margin-inline-end:16px}.v-list-item-media--end{margin-inline-start:16px}.v-list-item--two-line .v-list-item-media{margin-top:-4px;margin-bottom:-4px}.v-list-item--three-line .v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-header{flex:1 1 auto;min-width:0}.v-list-item-subtitle{-webkit-box-orient:vertical;display:-webkit-box;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0;text-overflow:ellipsis;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem;text-transform:none}.v-list-item--one-line .v-list-item-subtitle{-webkit-line-clamp:1}.v-list-item--two-line .v-list-item-subtitle{-webkit-line-clamp:2}.v-list-item--three-line .v-list-item-subtitle{-webkit-line-clamp:3}.v-list--nav .v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem}.v-list-item-title{hyphens:auto;overflow-wrap:normal;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word;font-size:1rem;font-weight:400;letter-spacing:.009375em;line-height:1.5rem;text-transform:none}.v-list--nav .v-list-item-title{font-size:.8125rem;font-weight:500;letter-spacing:normal;line-height:1rem}.v-list-item--density-default.v-list-item--one-line{min-height:48px;padding:8px 16px}.v-list-item--density-default.v-list-item--two-line{min-height:64px;padding:12px 16px}.v-list-item--density-default.v-list-item--three-line{min-height:88px;padding:16px}.v-list-item--density-comfortable.v-list-item--one-line{min-height:44px;padding:4px 16px}.v-list-item--density-comfortable.v-list-item--two-line{min-height:60px;padding:8px 16px}.v-list-item--density-comfortable.v-list-item--three-line{min-height:84px;padding:12px 16px}.v-list-item--density-compact.v-list-item--one-line{min-height:40px;padding:0 16px}.v-list-item--density-compact.v-list-item--two-line{min-height:56px;padding:4px 16px}.v-list-item--density-compact.v-list-item--three-line{min-height:80px;padding:8px 16px}.v-list-item__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item--active.v-list-item--contained .v-list-item__overlay{--v-theme-overlay-multiplier: 0}.v-list{--indent-padding: 0px}.v-list-group{--parent-padding: var(--indent-padding)}.v-list-group--prepend{--parent-padding: calc(var(--indent-padding) + 40px)}.v-list-group__items{--indent-padding: calc(var(--parent-padding) + 16px)}.v-list-group__items .v-list-item{padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-item--prepend .v-list-item-avatar,.v-list-group__items .v-list-item--prepend .v-list-item-avatar{padding-inline-start:calc(16px + var(--indent-padding) + 40px + 16px)!important}.v-list-group__header.v-list-item--active .v-list-item__overlay{display:none}.v-menu .v-overlay__content{display:flex;flex-direction:column;border-radius:4px}.v-menu .v-overlay__content>.v-card,.v-menu .v-overlay__content>.v-sheet,.v-menu .v-overlay__content>.v-list{background:rgb(var(--v-theme-surface));border-radius:inherit;overflow:auto;height:100%;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset);overflow-y:hidden!important}@supports (-webkit-touch-callout: none){html.v-overlay-scroll-blocked{position:fixed;top:var(--v-ios-body-scroll-y);left:var(--v-ios-body-scroll-x)}}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:32%;position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-text-field input{color:inherit;flex:1;opacity:0;transition:.15s opacity cubic-bezier(.4,0,.2,1)}.v-text-field input:focus,.v-text-field input:active{outline:none}.v-text-field input:invalid{box-shadow:none}.v-text-field .v-field{cursor:text}.v-text-field--prefixed.v-text-field .v-field__input{--v-field-padding-start: 6px}.v-text-field--suffixed.v-text-field .v-field__input{--v-field-padding-end: 0}.v-text-field .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-text-field .v-field--active input{opacity:1}.v-text-field .v-field--single-line input{transition:none}.v-text-field__prefix,.v-text-field__suffix{align-items:center;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));cursor:default;display:flex;opacity:0;padding-top:var(--v-field-padding-top);transition:inherit;white-space:nowrap}.v-field--active .v-text-field__prefix,.v-field--active .v-text-field__suffix{opacity:1}.v-field--disabled .v-text-field__prefix,.v-field--disabled .v-text-field__suffix{color:rgba(var(--v-theme-on-surface),var(--v-disabled-opacity))}.v-text-field__prefix{padding-inline-start:var(--v-field-padding-start)}.v-text-field__suffix{padding-inline-end:var(--v-field-padding-end)}.v-text-field--flush-details .v-input__details{padding:0}.v-text-field--persistent-placeholder input{opacity:1}.v-input{display:grid;flex:1 1 auto}.v-input--disabled{pointer-events:none}.v-input--density-default{--v-input-control-height: 56px;--v-input-padding-top: 16px}.v-input--density-comfortable{--v-input-control-height: 48px;--v-input-padding-top: 12px}.v-input--density-compact{--v-input-control-height: 40px;--v-input-padding-top: 8px}.v-input--vertical{grid-template-areas:"append" "control" "prepend";grid-template-rows:max-content auto max-content;grid-template-columns:min-content}.v-input--vertical .v-input__prepend{margin-block-start:16px}.v-input--vertical .v-input__append{margin-block-end:16px}.v-input--horizontal{grid-template-areas:"prepend control append" "a messages b";grid-template-columns:max-content auto max-content;grid-template-rows:auto auto}.v-input--horizontal .v-input__prepend{margin-inline-end:16px}.v-input--horizontal .v-input__append{margin-inline-start:16px}.v-input__details{align-items:flex-end;display:flex;font-size:.75rem;font-weight:400;grid-area:messages;letter-spacing:.0333333333em;line-height:normal;margin-bottom:16px;min-height:22px;padding-top:6px;overflow:hidden;justify-content:space-between}.v-input__details>.v-icon,.v-input__prepend>.v-icon,.v-input__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-input--disabled .v-input__details>.v-icon,.v-input--disabled .v-input__details .v-messages,.v-input--error .v-input__details>.v-icon,.v-input--error .v-input__details .v-messages,.v-input--disabled .v-input__prepend>.v-icon,.v-input--disabled .v-input__prepend .v-messages,.v-input--error .v-input__prepend>.v-icon,.v-input--error .v-input__prepend .v-messages,.v-input--disabled .v-input__append>.v-icon,.v-input--disabled .v-input__append .v-messages,.v-input--error .v-input__append>.v-icon,.v-input--error .v-input__append .v-messages{opacity:1}.v-input--disabled .v-input__details,.v-input--disabled .v-input__prepend,.v-input--disabled .v-input__append{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-input__details>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__details .v-messages,.v-input--error:not(.v-input--disabled) .v-input__prepend>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__prepend .v-messages,.v-input--error:not(.v-input--disabled) .v-input__append>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__append .v-messages{color:rgb(var(--v-theme-error))}.v-input__prepend,.v-input__append{display:flex;padding-top:var(--v-input-padding-top)}.v-input__prepend{grid-area:prepend}.v-input__append{grid-area:append}.v-input__control{grid-area:control}.v-messages{flex:1 1 auto;font-size:12px;min-height:14px;min-width:1px;opacity:var(--v-medium-emphasis-opacity);position:relative}.v-messages__message{line-height:12px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;transition-duration:.15s}.v-field{display:grid;grid-template-areas:"prepend-inner field clear append-inner";grid-template-columns:min-content auto min-content min-content;font-size:16px;letter-spacing:.009375em;max-width:100%;border-radius:4px;contain:layout;flex:1 0;grid-area:control;position:relative;--v-field-padding-start: 16px;--v-field-padding-end: 16px;--v-field-padding-top: 8px;--v-field-padding-bottom: 6px}.v-field--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-field--prepended{padding-inline-start:12px;--v-field-padding-start: 6px;--v-field-padding-end: 6px}.v-field--appended{padding-inline-end:12px}.v-field--variant-contained{background:rgb(var(--v-theme-surface));border-color:transparent;color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity));box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.v-field--variant-contained,.v-field--variant-filled{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-field--variant-plain,.v-field--variant-underlined{border-radius:0;padding:0;--v-field-padding-start: 0;--v-field-padding-end: 0;--v-field-padding-top: 0}.v-field--variant-plain.v-field--single-line,.v-field--variant-underlined.v-field--single-line,.v-field--variant-outlined,.v-field--single-line{--v-field-padding-top: 0}.v-input--density-default .v-field--variant-contained,.v-input--density-default .v-field--variant-filled{--v-input-control-height: 56px;--v-field-padding-bottom: 6px}.v-input--density-comfortable .v-field--variant-contained,.v-input--density-comfortable .v-field--variant-filled{--v-input-control-height: 48px;--v-field-padding-bottom: 2px}.v-input--density-compact .v-field--variant-contained,.v-input--density-compact .v-field--variant-filled{--v-input-control-height: 40px;--v-field-padding-bottom: -2px}.v-input--density-default .v-field--variant-underlined{--v-input-control-height: 40px;--v-field-padding-bottom: 6px}.v-input--density-comfortable .v-field--variant-underlined{--v-input-control-height: 32px;--v-field-padding-bottom: 4px}.v-input--density-compact .v-field--variant-underlined{--v-input-control-height: 24px;--v-field-padding-bottom: 2px}.v-field__input{align-self:stretch;color:inherit;display:flex;flex-wrap:wrap;letter-spacing:.009375em;opacity:var(--v-high-emphasis-opacity);padding-inline-start:var(--v-field-padding-start);padding-inline-end:var(--v-field-padding-end);padding-top:var(--v-field-padding-top, 8px);width:100%}.v-field__input input{letter-spacing:inherit}.v-field__input:focus,.v-field__input:active{outline:none}.v-field__input:invalid{box-shadow:none}.v-field__field{flex:1 0;min-height:var(--v-input-control-height, 56px);grid-area:field;padding-bottom:var(--v-field-padding-bottom, 6px);position:relative}.v-field__prepend-inner{grid-area:prepend-inner;padding-inline-end:var(--v-field-padding-after)}.v-field__clearable{grid-area:clear}.v-field__append-inner{grid-area:append-inner;padding-inline-start:var(--v-field-padding-after)}.v-field__field,.v-field__prepend-inner,.v-field__append-inner,.v-field__clearable{align-items:flex-start;display:flex;padding-top:var(--v-input-padding-top, 8px)}.v-field--focused .v-field__prepend-inner,.v-field--focused .v-field__append-inner{opacity:1}.v-field__prepend-inner>.v-icon,.v-field__append-inner>.v-icon,.v-field__clearable>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-field--disabled .v-field__prepend-inner>.v-icon,.v-field--error .v-field__prepend-inner>.v-icon,.v-field--disabled .v-field__append-inner>.v-icon,.v-field--error .v-field__append-inner>.v-icon,.v-field--disabled .v-field__clearable>.v-icon,.v-field--error .v-field__clearable>.v-icon{opacity:1}.v-field--error:not(.v-field--disabled) .v-field__prepend-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__append-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__clearable>.v-icon{color:rgb(var(--v-theme-error))}.v-field__clearable{cursor:pointer;opacity:0;margin-inline-start:4px;margin-inline-end:4px;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform,width}.v-field--focused .v-field__clearable,.v-field--persistent-clear .v-field__clearable{opacity:1}@media (hover: hover){.v-field:hover .v-field__clearable{opacity:1}}.v-label.v-field-label{contain:layout paint;margin-inline-start:var(--v-field-padding-start);margin-inline-end:var(--v-field-padding-end);max-width:calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end));pointer-events:none;position:absolute;transform-origin:left center;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform}.v-field--active .v-label.v-field-label{visibility:hidden}.v-field--disabled .v-label.v-field-label,.v-field--focused .v-label.v-field-label,.v-field--error .v-label.v-field-label{opacity:1}.v-field--error:not(.v-field--disabled) .v-label.v-field-label{color:rgb(var(--v-theme-error))}.v-label.v-field-label--floating{--v-field-label-scale: .75em;font-size:var(--v-field-label-scale);visibility:hidden;max-width:100%}.v-field.v-field--active .v-label.v-field-label--floating{visibility:visible}.v-input--density-default .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-filled .v-label.v-field-label--floating{top:7px}.v-input--density-comfortable .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-filled .v-label.v-field-label--floating{top:5px}.v-input--density-compact .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating{top:3px}.v-field--variant-plain .v-label.v-field-label--floating,.v-field--variant-underlined .v-label.v-field-label--floating{transform:translateY(-6px);margin:0}.v-field--variant-outlined .v-label.v-field-label--floating{transform:translateY(-50%);transform-origin:center;position:static;margin:0 4px}.v-field__outline{--v-field-border-width: 1px;--v-field-border-opacity: .38;align-items:stretch;contain:layout;display:flex;height:100%;left:0;pointer-events:none;position:absolute;right:0;width:100%}@media (hover: hover){.v-field:hover .v-field__outline{--v-field-border-opacity: var(--v-high-emphasis-opacity)}}.v-field--error:not(.v-field--disabled) .v-field__outline{color:rgb(var(--v-theme-error))}.v-field.v-field--focused .v-field__outline,.v-input.v-input--error .v-field__outline{--v-field-border-opacity: 1}.v-field--variant-outlined.v-field--focused .v-field__outline{--v-field-border-width: 2px}.v-field--variant-filled .v-field__outline:before,.v-field--variant-underlined .v-field__outline:before{border-style:solid;border-width:0 0 var(--v-field-border-width);opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__outline:after,.v-field--variant-underlined .v-field__outline:after{border-color:currentColor;border-style:solid;border-width:0 0 2px;transform:scaleX(0);transition:transform .15s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--focused.v-field--variant-filled .v-field__outline:after,.v-field--focused.v-field--variant-underlined .v-field__outline:after{transform:scaleX(1)}.v-field--variant-outlined .v-field__outline{border-radius:inherit}.v-field--variant-outlined .v-field__outline__start,.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after,.v-field--variant-outlined .v-field__outline__end{border:0 solid currentColor;opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-outlined .v-field__outline__start{flex:0 0 12px;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-start-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__start.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__start{border-radius:4px 0 0 4px}.v-field--variant-outlined .v-field__outline__start.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__start{border-radius:0 4px 4px 0}.v-field--variant-outlined .v-field__outline__notch{flex:none;position:relative;border-width:0 0 var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after{opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-outlined .v-field__outline__notch:before{border-width:var(--v-field-border-width) 0 0}.v-field--variant-outlined .v-field__outline__notch:after{bottom:0;border-width:0 0 var(--v-field-border-width)}.v-field--active.v-field--variant-outlined .v-field__outline__notch:before{opacity:0}.v-field--variant-outlined .v-field__outline__end{flex:1;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-end-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__end.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__end{border-radius:0 4px 4px 0}.v-field--variant-outlined .v-field__outline__end.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__end{border-radius:4px 0 0 4px}.v-field__loader{bottom:0;left:0;position:absolute;right:0;width:100%}.v-field--variant-filled .v-field__overlay{background-color:currentColor;border-radius:inherit;opacity:.04;pointer-events:none;transition:opacity .25s cubic-bezier(.4,0,.2,1);position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-filled:hover .v-field__overlay{opacity:calc(.08 * var(--v-theme-overlay-multiplier))}}.v-field--variant-filled.v-field--focused .v-field__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-field--reverse .v-field__input.v-locale--is-ltr,.v-locale--is-ltr .v-field--reverse .v-field__input{text-align:right}.v-field--reverse .v-field__input.v-locale--is-rtl,.v-locale--is-rtl .v-field--reverse .v-field__input{text-align:left}.v-input--disabled .v-field--variant-filled .v-field__outline:before,.v-input--disabled .v-field--variant-underlined .v-field__outline:before{border-image:repeating-linear-gradient(to right,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 0px,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 2px,transparent 2px,transparent 4px) 1 repeat}.v-field--loading .v-field__outline:after,.v-field--loading .v-field__outline:before{opacity:0}.v-label{align-items:center;cursor:pointer;display:inline-flex;font-size:1rem;letter-spacing:.009375em;min-width:0;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-progress-linear{background:transparent;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);width:100%}.v-progress-linear__background{background:currentColor;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;top:0;transition-property:width,left,right;transition:inherit}.v-progress-linear__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:0;width:100%}.v-progress-linear__determinate,.v-progress-linear__indeterminate{background:currentColor}.v-progress-linear__determinate{height:inherit;left:0;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear__indeterminate .long,.v-progress-linear__indeterminate .short{animation-play-state:paused;animation-duration:2.2s;animation-iteration-count:infinite;bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right}.v-progress-linear__indeterminate .long{animation-name:indeterminate-ltr}.v-progress-linear__indeterminate .short{animation-name:indeterminate-short-ltr}.v-progress-linear__stream{animation:stream .25s infinite linear;animation-play-state:paused;bottom:0;left:auto;opacity:.3;pointer-events:none;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear--reverse .v-progress-linear__background,.v-progress-linear--reverse .v-progress-linear__determinate,.v-progress-linear--reverse .v-progress-linear__content,.v-progress-linear--reverse .v-progress-linear__indeterminate .long,.v-progress-linear--reverse .v-progress-linear__indeterminate .short{left:auto;right:0}.v-progress-linear--reverse .v-progress-linear__indeterminate .long{animation-name:indeterminate-rtl}.v-progress-linear--reverse .v-progress-linear__indeterminate .short{animation-name:indeterminate-short-rtl}.v-progress-linear--reverse .v-progress-linear__stream{right:auto}.v-progress-linear--absolute,.v-progress-linear--fixed{left:0;z-index:1}.v-progress-linear--absolute{position:absolute}.v-progress-linear--fixed{position:fixed}.v-progress-linear--rounded{border-radius:4px}.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__indeterminate{border-radius:inherit}.v-progress-linear--striped .v-progress-linear__determinate{animation:progress-linear-stripes 1s infinite linear;background-image:linear-gradient(135deg,hsla(0deg,0%,100%,.25) 25%,transparent 0,transparent 50%,hsla(0deg,0%,100%,.25) 0,hsla(0deg,0%,100%,.25) 75%,transparent 0,transparent);background-repeat:repeat;background-size:var(--v-progress-linear-height)}.v-progress-linear--active .v-progress-linear__indeterminate .long,.v-progress-linear--active .v-progress-linear__indeterminate .short,.v-progress-linear--active .v-progress-linear__stream{animation-play-state:running}.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded-bar .v-progress-linear__indeterminate,.v-progress-linear--rounded-bar .v-progress-linear__stream+.v-progress-linear__background{border-radius:4px}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-ltr,.v-locale--is-ltr .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-left-radius:0;border-bottom-left-radius:0}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-rtl,.v-locale--is-rtl .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-right-radius:0;border-bottom-right-radius:0}@keyframes indeterminate-ltr{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes indeterminate-rtl{0%{left:100%;right:-90%}60%{left:100%;right:-90%}to{left:-35%;right:100%}}@keyframes indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short-rtl{0%{left:100%;right:-200%}60%{left:-8%;right:107%}to{left:-8%;right:107%}}@keyframes stream{to{transform:translate(var(--v-progress-linear-stream-to))}}@keyframes progress-linear-stripes{0%{background-position-x:var(--v-progress-linear-height)}}.v-counter{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:0 1 auto;font-size:12px;transition-duration:.15s}.v-slider .v-slider__container input{cursor:default;padding:0;width:100%;display:none}.v-slider .v-input__append,.v-slider .v-input__prepend{padding:0}.v-slider__container{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.v-input--disabled .v-slider__container{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-slider__container{color:rgb(var(--v-theme-error))}.v-slider.v-input--horizontal{align-items:center;margin-left:8px;margin-right:8px}.v-slider.v-input--horizontal .v-input__control{min-height:32px;display:flex;align-items:center}.v-slider.v-input--vertical{justify-content:center;margin-top:12px;margin-bottom:12px}.v-slider.v-input--vertical .v-input__control{min-height:300px}.v-slider.v-input--disabled{pointer-events:none}.v-slider--has-labels .v-input__control{margin-bottom:12.5px}.v-slider-thumb{color:rgb(var(--v-theme-surface-variant))}.v-input--error:not(.v-input--disabled) .v-slider-thumb{color:inherit}.v-slider-thumb__label{background:rgba(var(--v-theme-surface-variant),.7);color:rgb(var(--v-theme-on-surface-variant))}.v-slider-thumb__label:before{color:rgba(var(--v-theme-surface-variant),.7)}.v-slider-thumb{outline:none;position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-slider-thumb__surface{cursor:pointer;width:var(--v-slider-thumb-size);height:var(--v-slider-thumb-size);border-radius:50%;user-select:none;background-color:currentColor}.v-slider-thumb__surface:before{transition:.3s cubic-bezier(.4,0,.2,1);content:"";color:inherit;width:100%;height:100%;border-radius:50%;background:currentColor;position:absolute;pointer-events:none;opacity:0}.v-slider-thumb__surface:after{content:"";width:42px;height:42px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.v-slider-thumb__label-container{position:absolute;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label{display:flex;align-items:center;justify-content:center;font-size:.75rem;min-width:35px;height:25px;border-radius:4px;padding:6px;position:absolute;user-select:none;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label:before{content:"";width:0;height:0;position:absolute}.v-slider-thumb__ripple{position:absolute;left:calc(var(--v-slider-thumb-size) / -2);top:calc(var(--v-slider-thumb-size) / -2);width:calc(var(--v-slider-thumb-size) * 2);height:calc(var(--v-slider-thumb-size) * 2);background:inherit}.v-slider.v-input--horizontal .v-slider-thumb{top:50%;transform:translateY(-50%)}.v-slider.v-input--horizontal .v-slider-thumb__label-container{left:calc(var(--v-slider-thumb-size) / 2);top:0}.v-slider.v-input--horizontal .v-slider-thumb__label{bottom:calc(var(--v-slider-thumb-size) / 2)}.v-slider.v-input--horizontal .v-slider-thumb__label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(-50%)}.v-slider.v-input--horizontal .v-slider-thumb__label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(50%)}.v-slider.v-input--horizontal .v-slider-thumb__label:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid currentColor;bottom:-6px}.v-slider.v-input--vertical .v-slider-thumb__label-container{top:calc(var(--v-slider-thumb-size) / 2);right:0}.v-slider.v-input--vertical .v-slider-thumb__label{top:-12.5px;left:calc(var(--v-slider-thumb-size) / 2)}.v-slider.v-input--vertical .v-slider-thumb__label:before{border-right:6px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;left:-6px}.v-slider-thumb--focused .v-slider-thumb__surface:before,.v-slider-thumb:hover .v-slider-thumb__surface:before{transform:scale(2)}.v-slider-thumb--focused .v-slider-thumb__surface:before{opacity:var(--v-focus-opacity)}.v-slider-thumb--pressed{transition:none}.v-slider-thumb--pressed .v-slider-thumb__surface:before{opacity:var(--v-pressed-opacity)}.v-slider-thumb:hover:not(.v-slider-thumb--focused) .v-slider-thumb__surface:before{opacity:var(--v-hover-opacity)}.v-slider-track__background,.v-slider-track__fill,.v-slider-track__tick{background-color:rgb(var(--v-theme-surface-variant))}.v-slider-track__tick--filled{background-color:rgb(var(--v-theme-on-surface-variant))}.v-slider-track{border-radius:6px}.v-slider-track__background,.v-slider-track__fill{position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1);border-radius:inherit}.v-slider--pressed .v-slider-track__background,.v-slider--pressed .v-slider-track__fill{transition:none}.v-input--error:not(.v-input--disabled) .v-slider-track__background,.v-input--error:not(.v-input--disabled) .v-slider-track__fill{background-color:currentColor}.v-slider-track__ticks{height:100%;width:100%;position:relative}.v-slider-track__tick{position:absolute;opacity:0;transition:.2s opacity cubic-bezier(.4,0,.2,1);border-radius:2px;width:var(--v-slider-tick-size);height:var(--v-slider-tick-size);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / -2))}.v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:none}.v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:translate(100%)}.v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(-100%)}.v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:none}.v-slider-track__tick-label{position:absolute;user-select:none;white-space:nowrap}.v-slider.v-input--horizontal .v-slider-track{display:flex;align-items:center;width:100%;height:calc(var(--v-slider-track-size) + 2px);touch-action:pan-y}.v-slider.v-input--horizontal .v-slider-track__background{height:var(--v-slider-track-size)}.v-slider.v-input--horizontal .v-slider-track__fill{height:inherit}.v-slider.v-input--horizontal .v-slider-track__tick{margin-block-start:calc(var(--v-slider-track-size) / 2 + 1px)}.v-slider.v-input--horizontal .v-slider-track__tick.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / -2))}.v-slider.v-input--horizontal .v-slider-track__tick:first-child{margin-inline-start:calc(var(--v-slider-tick-size) + 1px)}.v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label,.v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:translate(0)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child{margin-inline-start:calc(100% - var(--v-slider-tick-size) - 1px)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(-100%)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(100%)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{bottom:calc((var(--v-slider-track-size) / -2) - 25px)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(-50%)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(50%)}.v-slider.v-input--vertical .v-slider-track{height:100%;display:flex;justify-content:center;width:calc(var(--v-slider-track-size, 2px) + 2px);touch-action:pan-x}.v-slider.v-input--vertical .v-slider-track__background{width:var(--v-slider-track-size)}.v-slider.v-input--vertical .v-slider-track__fill{width:inherit}.v-slider.v-input--vertical .v-slider-track__ticks{height:100%}.v-slider.v-input--vertical .v-slider-track__tick{margin-inline-start:calc(var(--v-slider-track-size) / 2 + 1px);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / 2))}.v-slider.v-input--vertical .v-slider-track__tick.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--vertical .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / 2))}.v-slider.v-input--vertical .v-slider-track__tick:last-child{inset-block-end:calc(0% + var(--v-slider-tick-size) + 1px)}.v-slider.v-input--vertical .v-slider-track__tick .v-slider-track__tick-label{margin-inline-start:calc(var(--v-slider-track-size) + 20px);transform:translateY(-50%)}.v-slider-track__ticks--always-show .v-slider-track__tick,.v-slider--focused .v-slider-track__tick{opacity:1}.v-slider-track__background--opacity{opacity:.38}.v-card{display:block;position:relative;padding:0;text-decoration:none;transition-duration:.28s;transition-property:box-shadow,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:4px}.v-card--border{border-width:thin;box-shadow:none}.v-card--absolute{position:absolute}.v-card--fixed{position:fixed}.v-card:hover .v-card__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-card:focus-visible .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card:focus .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-card--active:hover.v-card__overlay,.v-card--active .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-card--active:focus .v-card__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-card--variant-plain,.v-card--variant-outlined,.v-card--variant-text,.v-card--variant-contained-text{background:transparent;color:inherit}.v-card--variant-plain{opacity:.62}.v-card--variant-plain:focus,.v-card--variant-plain:hover{opacity:1}.v-card--variant-plain .v-card__overlay{display:none}.v-card--variant-contained,.v-card--variant-contained-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-card--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-card--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card--variant-outlined{border:thin solid currentColor}.v-card--variant-text .v-card__overlay{background:currentColor}.v-card--variant-contained-text .v-card__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-card--disabled{pointer-events:none;user-select:none}.v-card--disabled>[class*=v-card-]{opacity:.6}.v-card--flat{box-shadow:none}.v-card--hover{cursor:pointer;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card--hover:before,.v-card--hover:after{border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:inherit}.v-card--hover:before{opacity:1;z-index:-1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-card--hover:after{z-index:1;opacity:0;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-card--hover:hover:after{opacity:1}.v-card--hover:hover:before{opacity:0}.v-card--link{cursor:pointer}.v-card--tile{border-radius:0}.v-card-actions{align-items:center;display:flex;flex:none;min-height:52px;padding:.5rem}.v-card-avatar{align-self:flex-start;padding:.5rem 1rem}.v-card-header .v-card-avatar:last-child{padding-inline-end:0}.v-card-header .v-card-avatar:first-child{padding-inline-start:0}.v-card-header-text{flex:1 1 auto;min-width:0}.v-card-img{border-radius:inherit;display:flex;height:100%;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%}.v-card-header{align-items:center;display:flex;flex:none;padding:.625rem 1rem}.v-card-header+.v-card-text{padding-top:0}.v-card-subtitle{align-items:center;display:flex;flex:none;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;opacity:var(--v-medium-emphasis-opacity);padding:0 1rem;text-transform:none}.v-card .v-card-subtitle{line-height:1.25rem}.v-card--density-comfortable .v-card-subtitle{line-height:1.125rem}.v-card--density-compact .v-card-subtitle{line-height:1rem}.v-card-header .v-card-subtitle{padding:0 0 .25rem}.v-card-text{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:1 1 auto;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;padding:1rem;text-transform:none;transition:inherit;transition-property:color,opacity}.v-card .v-card-text{line-height:1.25rem}.v-card--density-comfortable .v-card-text{line-height:1.2rem}.v-card--density-compact .v-card-text{line-height:1.15rem}.v-card-content{flex:1 1 auto;padding:1rem}.v-card-title{align-items:center;display:flex;flex:none;font-size:1.25rem;font-weight:500;hyphens:auto;letter-spacing:.0125em;overflow-wrap:normal;padding:.5rem 1rem;text-transform:none;word-break:normal;word-wrap:break-word}.v-card .v-card-title{line-height:2rem}.v-card--density-comfortable .v-card-title{line-height:1.75rem}.v-card--density-compact .v-card-title{line-height:1.55rem}.v-card-header .v-card-title{padding:0}.v-card__overlay{background-color:currentColor;border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-card__overlay+.v-card-media{border-top-left-radius:inherit;border-top-right-radius:inherit}.v-btn{align-items:center;border-radius:4px;display:inline-flex;font-weight:500;justify-content:center;letter-spacing:.0892857143em;line-height:normal;max-width:100%;outline:none;overflow:hidden;position:relative;text-decoration:none;text-indent:.0892857143em;text-transform:uppercase;transition-property:box-shadow,transform,opacity,background;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none;vertical-align:middle;flex-shrink:0;white-space:nowrap;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 20px;font-size:.625rem;min-width:36px;padding:0 8px}.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 28px;font-size:.75rem;min-width:50px;padding:0 12px}.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 36px;font-size:.875rem;min-width:64px;padding:0 16px}.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 44px;font-size:1rem;min-width:78px;padding:0 20px}.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 52px;font-size:1.125rem;min-width:92px;padding:0 24px}.v-btn.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -8px)}.v-btn.v-btn--density-compact{height:calc(var(--v-btn-height) + -12px)}.v-btn--border{border-width:thin;box-shadow:none}.v-btn:hover .v-btn__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-btn:focus-visible .v-btn__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn:focus .v-btn__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-btn--variant-plain,.v-btn--variant-outlined,.v-btn--variant-text,.v-btn--variant-contained-text{background:transparent;color:inherit}.v-btn--variant-plain{opacity:.62}.v-btn--variant-plain:focus,.v-btn--variant-plain:hover{opacity:1}.v-btn--variant-plain .v-btn__overlay{display:none}.v-btn--variant-contained,.v-btn--variant-contained-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn--variant-contained{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.v-btn--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-btn--variant-outlined{border:thin solid currentColor}.v-btn--variant-text .v-btn__overlay{background:currentColor}.v-btn--variant-contained-text .v-btn__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}@supports selector(:focus-visible){.v-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn:focus-visible:after{opacity:calc(.25 * var(--v-theme-overlay-multiplier))}}.v-btn--icon{border-radius:50%;min-width:0;padding:0;font-size:1rem}.v-btn--icon.v-btn--density-default{width:calc(var(--v-btn-height) + 12px);height:calc(var(--v-btn-height) + 12px)}.v-btn--icon.v-btn--density-comfortable{width:calc(var(--v-btn-height) + 0px);height:calc(var(--v-btn-height) + 0px)}.v-btn--icon.v-btn--density-compact{width:calc(var(--v-btn-height) + -8px);height:calc(var(--v-btn-height) + -8px)}.v-btn--elevated:hover,.v-btn--elevated:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.v-btn--elevated:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-btn--flat{box-shadow:none}.v-btn--block{display:flex;flex:1 0 auto;min-width:100%}.v-btn--disabled{pointer-events:none}.v-btn--disabled.v-btn--disabled{color:rgba(var(--v-theme-on-surface),.26);opacity:1}.v-btn--disabled.v-btn--variant-contained{background:rgb(var(--v-theme-surface));box-shadow:none}.v-btn--disabled.v-btn--variant-contained .v-btn__overlay{opacity:.4615384615}.v-btn--stacked{flex-direction:column;line-height:1.25}.v-btn--stacked.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 56px;font-size:.625rem;min-width:56px;padding:0 12px}.v-btn--stacked.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 64px;font-size:.75rem;min-width:64px;padding:0 14px}.v-btn--stacked.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 72px;font-size:.875rem;min-width:72px;padding:0 16px}.v-btn--stacked.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 80px;font-size:1rem;min-width:80px;padding:0 18px}.v-btn--stacked.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 88px;font-size:1.125rem;min-width:88px;padding:0 20px}.v-btn--stacked.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn--stacked.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -16px)}.v-btn--stacked.v-btn--density-compact{height:calc(var(--v-btn-height) + -24px)}.v-btn--rounded{border-radius:24px}.v-btn .v-icon{--v-icon-size-multiplier: .8571428571}.v-btn--icon .v-icon{--v-icon-size-multiplier: 1}.v-btn--stacked .v-icon{--v-icon-size-multiplier: 1.1428571429}.v-btn__content{transition:transform,opacity .2s cubic-bezier(.4,0,.2,1)}.v-btn__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-app-bar .v-btn{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card-actions .v-btn{padding:0 8px;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card-actions .v-btn~.v-btn{margin-inline-start:.5rem}.v-banner-actions .v-btn{padding:0 8px}.v-pagination .v-btn{border-radius:4px}.v-pagination__item--is-active .v-btn__overlay{opacity:var(--v-border-opacity)}.v-snackbar-actions .v-btn{padding:0 8px}.v-btn-toggle .v-btn.v-btn--selected:not(.v-btn--disabled) .v-btn__overlay{opacity:var(--v-activated-opacity)}.v-btn-group{display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:4px;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn-group--border{border-width:thin;box-shadow:none}.v-btn-group--density-default.v-btn-group{height:48px}.v-btn-group--density-comfortable.v-btn-group{height:40px}.v-btn-group--density-compact.v-btn-group{height:36px}.v-btn-group .v-btn{border-radius:0;border-color:inherit}.v-btn-group .v-btn:not(:last-child){border-inline-end:none}.v-btn-group .v-btn:not(:first-child){border-inline-start:none}.v-btn-group .v-btn:first-child{border-start-start-radius:inherit;border-end-start-radius:inherit}.v-btn-group .v-btn:last-child{border-start-end-radius:inherit;border-end-end-radius:inherit}.v-btn-group--divided .v-btn:not(:last-child){border-inline-end-width:thin;border-inline-end-style:solid;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-btn-group--tile{border-radius:0}.v-app-bar{display:flex}.v-app-bar.v-toolbar{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-app-bar.v-toolbar:not(.v-toolbar--flat){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.v-toolbar{align-items:flex-start;display:flex;flex-direction:column;justify-content:space-between;max-width:100%;overflow:hidden;padding-inline-end:calc(16px + var(--v-scrollbar-offset));padding-inline-start:16px;position:relative;transition-property:height,transform,max-width;transition:.2s cubic-bezier(.4,0,.2,1);box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:0;background:rgb(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-toolbar--density-default .v-toolbar__content{padding-top:16px;padding-bottom:16px}.v-toolbar--density-comfortable .v-toolbar__content{padding-top:12px;padding-bottom:12px}.v-toolbar--density-compact .v-toolbar__content{padding-top:8px;padding-bottom:8px}.v-toolbar--density-prominent .v-toolbar__content{padding-top:4px;padding-bottom:4px}.v-toolbar--absolute{position:absolute}.v-toolbar--collapse{max-width:112px;overflow:hidden}.v-toolbar--collapse .v-toolbar-title{display:none}.v-toolbar--collapse.v-locale--is-ltr,.v-locale--is-ltr .v-toolbar--collapse{border-bottom-right-radius:24px}.v-toolbar--collapse.v-locale--is-rtl,.v-locale--is-rtl .v-toolbar--collapse{border-bottom-left-radius:24px}.v-toolbar--flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-toolbar--floating{display:inline-flex}.v-toolbar--rounded{border-radius:4px}.v-toolbar__content,.v-toolbar__extension{align-items:center;display:flex;flex:0 0 auto;position:relative;transition:inherit;width:100%}.v-toolbar--density-prominent .v-toolbar__content{align-items:flex-start}.v-toolbar__image{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.v-toolbar__prepend,.v-toolbar__append{display:flex}.v-toolbar__prepend{margin-inline-end:auto}.v-toolbar__prepend>.v-btn:first-child{margin-inline-start:-12px}.v-toolbar__prepend+.v-toolbar-title{padding-inline-start:20px}.v-toolbar__append{margin-inline-start:auto}.v-toolbar__append>.v-btn:last-child{margin-inline-end:-12px}.v-toolbar-title{flex:1 1;min-width:0;font-size:1.25rem;font-weight:400;letter-spacing:0;line-height:1.75rem;text-transform:none}.v-toolbar--density-prominent .v-toolbar-title{align-self:flex-end;padding-bottom:6px;font-size:1.5rem;font-weight:400;letter-spacing:0;line-height:2.25rem;text-transform:none}.v-toolbar-title__placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-toolbar-items{display:flex;height:inherit}.v-application{display:flex;background:rgb(var(--v-theme-background));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-application a{cursor:pointer}.v-application__wrap{flex:1 1 auto;backface-visibility:hidden;display:flex;flex-direction:column;min-height:100vh;max-width:100%;position:relative}@-moz-document url-prefix(){@media print{.v-application,.v-application__wrap{display:block}}}.v-main{display:flex;flex:1 0 auto;max-width:100%;transition:.2s cubic-bezier(.4,0,.2,1)}.v-main__wrap{flex:1 1 auto;max-width:100%;position:relative}@-moz-document url-prefix(){@media print{.v-main{display:block}}} +.v-container{width:100%;padding:16px;margin-right:auto;margin-left:auto}@media (min-width: 960px){.v-container{max-width:900px}}@media (min-width: 1280px){.v-container{max-width:1200px}}@media (min-width: 1920px){.v-container{max-width:1800px}}@media (min-width: 2560px){.v-container{max-width:2400px}}.v-container--fluid{max-width:100%}.v-row{display:flex;flex-wrap:wrap;flex:1 1 auto;margin:-12px}.v-row+.row{margin-top:12px}.v-row+.row--dense{margin-top:4px}.v-row--dense{margin:-4px}.v-row--dense>.v-col,.v-row--dense>[class*=v-col-]{padding:4px}.v-row.v-row--no-gutters{margin:0}.v-row.v-row--no-gutters>.v-col,.v-row.v-row--no-gutters>[class*=v-col-]{padding:0}.v-col-xxl,.v-col-xxl-auto,.v-col-xxl-12,.v-col-xxl-11,.v-col-xxl-10,.v-col-xxl-9,.v-col-xxl-8,.v-col-xxl-7,.v-col-xxl-6,.v-col-xxl-5,.v-col-xxl-4,.v-col-xxl-3,.v-col-xxl-2,.v-col-xxl-1,.v-col-xl,.v-col-xl-auto,.v-col-xl-12,.v-col-xl-11,.v-col-xl-10,.v-col-xl-9,.v-col-xl-8,.v-col-xl-7,.v-col-xl-6,.v-col-xl-5,.v-col-xl-4,.v-col-xl-3,.v-col-xl-2,.v-col-xl-1,.v-col-lg,.v-col-lg-auto,.v-col-lg-12,.v-col-lg-11,.v-col-lg-10,.v-col-lg-9,.v-col-lg-8,.v-col-lg-7,.v-col-lg-6,.v-col-lg-5,.v-col-lg-4,.v-col-lg-3,.v-col-lg-2,.v-col-lg-1,.v-col-md,.v-col-md-auto,.v-col-md-12,.v-col-md-11,.v-col-md-10,.v-col-md-9,.v-col-md-8,.v-col-md-7,.v-col-md-6,.v-col-md-5,.v-col-md-4,.v-col-md-3,.v-col-md-2,.v-col-md-1,.v-col-sm,.v-col-sm-auto,.v-col-sm-12,.v-col-sm-11,.v-col-sm-10,.v-col-sm-9,.v-col-sm-8,.v-col-sm-7,.v-col-sm-6,.v-col-sm-5,.v-col-sm-4,.v-col-sm-3,.v-col-sm-2,.v-col-sm-1,.v-col,.v-col-auto,.v-col-12,.v-col-11,.v-col-10,.v-col-9,.v-col-8,.v-col-7,.v-col-6,.v-col-5,.v-col-4,.v-col-3,.v-col-2,.v-col-1{width:100%;padding:12px}.v-col{flex-basis:0;flex-grow:1;max-width:100%}.v-col-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-3{flex:0 0 25%;max-width:25%}.v-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-6{flex:0 0 50%;max-width:50%}.v-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-9{flex:0 0 75%;max-width:75%}.v-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-12{flex:0 0 100%;max-width:100%}.offset-1.v-locale--is-ltr,.v-locale--is-ltr .offset-1{margin-left:8.3333333333%}.offset-1.v-locale--is-rtl,.v-locale--is-rtl .offset-1{margin-right:8.3333333333%}.offset-2.v-locale--is-ltr,.v-locale--is-ltr .offset-2{margin-left:16.6666666667%}.offset-2.v-locale--is-rtl,.v-locale--is-rtl .offset-2{margin-right:16.6666666667%}.offset-3.v-locale--is-ltr,.v-locale--is-ltr .offset-3{margin-left:25%}.offset-3.v-locale--is-rtl,.v-locale--is-rtl .offset-3{margin-right:25%}.offset-4.v-locale--is-ltr,.v-locale--is-ltr .offset-4{margin-left:33.3333333333%}.offset-4.v-locale--is-rtl,.v-locale--is-rtl .offset-4{margin-right:33.3333333333%}.offset-5.v-locale--is-ltr,.v-locale--is-ltr .offset-5{margin-left:41.6666666667%}.offset-5.v-locale--is-rtl,.v-locale--is-rtl .offset-5{margin-right:41.6666666667%}.offset-6.v-locale--is-ltr,.v-locale--is-ltr .offset-6{margin-left:50%}.offset-6.v-locale--is-rtl,.v-locale--is-rtl .offset-6{margin-right:50%}.offset-7.v-locale--is-ltr,.v-locale--is-ltr .offset-7{margin-left:58.3333333333%}.offset-7.v-locale--is-rtl,.v-locale--is-rtl .offset-7{margin-right:58.3333333333%}.offset-8.v-locale--is-ltr,.v-locale--is-ltr .offset-8{margin-left:66.6666666667%}.offset-8.v-locale--is-rtl,.v-locale--is-rtl .offset-8{margin-right:66.6666666667%}.offset-9.v-locale--is-ltr,.v-locale--is-ltr .offset-9{margin-left:75%}.offset-9.v-locale--is-rtl,.v-locale--is-rtl .offset-9{margin-right:75%}.offset-10.v-locale--is-ltr,.v-locale--is-ltr .offset-10{margin-left:83.3333333333%}.offset-10.v-locale--is-rtl,.v-locale--is-rtl .offset-10{margin-right:83.3333333333%}.offset-11.v-locale--is-ltr,.v-locale--is-ltr .offset-11{margin-left:91.6666666667%}.offset-11.v-locale--is-rtl,.v-locale--is-rtl .offset-11{margin-right:91.6666666667%}@media (min-width: 600px){.v-col-sm{flex-basis:0;flex-grow:1;max-width:100%}.v-col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-sm-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-sm-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-sm-3{flex:0 0 25%;max-width:25%}.v-col-sm-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-sm-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-sm-6{flex:0 0 50%;max-width:50%}.v-col-sm-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-sm-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-sm-9{flex:0 0 75%;max-width:75%}.v-col-sm-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-sm-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-0.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-0{margin-left:0}.offset-sm-0.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-0{margin-right:0}.offset-sm-1.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-1{margin-left:8.3333333333%}.offset-sm-1.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-1{margin-right:8.3333333333%}.offset-sm-2.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-2{margin-left:16.6666666667%}.offset-sm-2.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-2{margin-right:16.6666666667%}.offset-sm-3.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-3{margin-left:25%}.offset-sm-3.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-3{margin-right:25%}.offset-sm-4.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-4{margin-left:33.3333333333%}.offset-sm-4.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-4{margin-right:33.3333333333%}.offset-sm-5.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-5{margin-left:41.6666666667%}.offset-sm-5.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-5{margin-right:41.6666666667%}.offset-sm-6.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-6{margin-left:50%}.offset-sm-6.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-6{margin-right:50%}.offset-sm-7.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-7{margin-left:58.3333333333%}.offset-sm-7.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-7{margin-right:58.3333333333%}.offset-sm-8.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-8{margin-left:66.6666666667%}.offset-sm-8.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-8{margin-right:66.6666666667%}.offset-sm-9.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-9{margin-left:75%}.offset-sm-9.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-9{margin-right:75%}.offset-sm-10.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-10{margin-left:83.3333333333%}.offset-sm-10.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-10{margin-right:83.3333333333%}.offset-sm-11.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-11{margin-left:91.6666666667%}.offset-sm-11.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-11{margin-right:91.6666666667%}}@media (min-width: 960px){.v-col-md{flex-basis:0;flex-grow:1;max-width:100%}.v-col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-md-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-md-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-md-3{flex:0 0 25%;max-width:25%}.v-col-md-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-md-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-md-6{flex:0 0 50%;max-width:50%}.v-col-md-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-md-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-md-9{flex:0 0 75%;max-width:75%}.v-col-md-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-md-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-md-12{flex:0 0 100%;max-width:100%}.offset-md-0.v-locale--is-ltr,.v-locale--is-ltr .offset-md-0{margin-left:0}.offset-md-0.v-locale--is-rtl,.v-locale--is-rtl .offset-md-0{margin-right:0}.offset-md-1.v-locale--is-ltr,.v-locale--is-ltr .offset-md-1{margin-left:8.3333333333%}.offset-md-1.v-locale--is-rtl,.v-locale--is-rtl .offset-md-1{margin-right:8.3333333333%}.offset-md-2.v-locale--is-ltr,.v-locale--is-ltr .offset-md-2{margin-left:16.6666666667%}.offset-md-2.v-locale--is-rtl,.v-locale--is-rtl .offset-md-2{margin-right:16.6666666667%}.offset-md-3.v-locale--is-ltr,.v-locale--is-ltr .offset-md-3{margin-left:25%}.offset-md-3.v-locale--is-rtl,.v-locale--is-rtl .offset-md-3{margin-right:25%}.offset-md-4.v-locale--is-ltr,.v-locale--is-ltr .offset-md-4{margin-left:33.3333333333%}.offset-md-4.v-locale--is-rtl,.v-locale--is-rtl .offset-md-4{margin-right:33.3333333333%}.offset-md-5.v-locale--is-ltr,.v-locale--is-ltr .offset-md-5{margin-left:41.6666666667%}.offset-md-5.v-locale--is-rtl,.v-locale--is-rtl .offset-md-5{margin-right:41.6666666667%}.offset-md-6.v-locale--is-ltr,.v-locale--is-ltr .offset-md-6{margin-left:50%}.offset-md-6.v-locale--is-rtl,.v-locale--is-rtl .offset-md-6{margin-right:50%}.offset-md-7.v-locale--is-ltr,.v-locale--is-ltr .offset-md-7{margin-left:58.3333333333%}.offset-md-7.v-locale--is-rtl,.v-locale--is-rtl .offset-md-7{margin-right:58.3333333333%}.offset-md-8.v-locale--is-ltr,.v-locale--is-ltr .offset-md-8{margin-left:66.6666666667%}.offset-md-8.v-locale--is-rtl,.v-locale--is-rtl .offset-md-8{margin-right:66.6666666667%}.offset-md-9.v-locale--is-ltr,.v-locale--is-ltr .offset-md-9{margin-left:75%}.offset-md-9.v-locale--is-rtl,.v-locale--is-rtl .offset-md-9{margin-right:75%}.offset-md-10.v-locale--is-ltr,.v-locale--is-ltr .offset-md-10{margin-left:83.3333333333%}.offset-md-10.v-locale--is-rtl,.v-locale--is-rtl .offset-md-10{margin-right:83.3333333333%}.offset-md-11.v-locale--is-ltr,.v-locale--is-ltr .offset-md-11{margin-left:91.6666666667%}.offset-md-11.v-locale--is-rtl,.v-locale--is-rtl .offset-md-11{margin-right:91.6666666667%}}@media (min-width: 1280px){.v-col-lg{flex-basis:0;flex-grow:1;max-width:100%}.v-col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-lg-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-lg-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-lg-3{flex:0 0 25%;max-width:25%}.v-col-lg-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-lg-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-lg-6{flex:0 0 50%;max-width:50%}.v-col-lg-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-lg-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-lg-9{flex:0 0 75%;max-width:75%}.v-col-lg-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-lg-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-0.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-0{margin-left:0}.offset-lg-0.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-0{margin-right:0}.offset-lg-1.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-1{margin-left:8.3333333333%}.offset-lg-1.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-1{margin-right:8.3333333333%}.offset-lg-2.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-2{margin-left:16.6666666667%}.offset-lg-2.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-2{margin-right:16.6666666667%}.offset-lg-3.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-3{margin-left:25%}.offset-lg-3.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-3{margin-right:25%}.offset-lg-4.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-4{margin-left:33.3333333333%}.offset-lg-4.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-4{margin-right:33.3333333333%}.offset-lg-5.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-5{margin-left:41.6666666667%}.offset-lg-5.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-5{margin-right:41.6666666667%}.offset-lg-6.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-6{margin-left:50%}.offset-lg-6.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-6{margin-right:50%}.offset-lg-7.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-7{margin-left:58.3333333333%}.offset-lg-7.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-7{margin-right:58.3333333333%}.offset-lg-8.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-8{margin-left:66.6666666667%}.offset-lg-8.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-8{margin-right:66.6666666667%}.offset-lg-9.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-9{margin-left:75%}.offset-lg-9.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-9{margin-right:75%}.offset-lg-10.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-10{margin-left:83.3333333333%}.offset-lg-10.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-10{margin-right:83.3333333333%}.offset-lg-11.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-11{margin-left:91.6666666667%}.offset-lg-11.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-11{margin-right:91.6666666667%}}@media (min-width: 1920px){.v-col-xl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xl-3{flex:0 0 25%;max-width:25%}.v-col-xl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xl-6{flex:0 0 50%;max-width:50%}.v-col-xl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xl-9{flex:0 0 75%;max-width:75%}.v-col-xl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-0{margin-left:0}.offset-xl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-0{margin-right:0}.offset-xl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-1{margin-left:8.3333333333%}.offset-xl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-1{margin-right:8.3333333333%}.offset-xl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-2{margin-left:16.6666666667%}.offset-xl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-2{margin-right:16.6666666667%}.offset-xl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-3{margin-left:25%}.offset-xl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-3{margin-right:25%}.offset-xl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-4{margin-left:33.3333333333%}.offset-xl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-4{margin-right:33.3333333333%}.offset-xl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-5{margin-left:41.6666666667%}.offset-xl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-5{margin-right:41.6666666667%}.offset-xl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-6{margin-left:50%}.offset-xl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-6{margin-right:50%}.offset-xl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-7{margin-left:58.3333333333%}.offset-xl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-7{margin-right:58.3333333333%}.offset-xl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-8{margin-left:66.6666666667%}.offset-xl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-8{margin-right:66.6666666667%}.offset-xl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-9{margin-left:75%}.offset-xl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-9{margin-right:75%}.offset-xl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-10{margin-left:83.3333333333%}.offset-xl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-10{margin-right:83.3333333333%}.offset-xl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-11{margin-left:91.6666666667%}.offset-xl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-11{margin-right:91.6666666667%}}@media (min-width: 2560px){.v-col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xxl-3{flex:0 0 25%;max-width:25%}.v-col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xxl-6{flex:0 0 50%;max-width:50%}.v-col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xxl-9{flex:0 0 75%;max-width:75%}.v-col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xxl-12{flex:0 0 100%;max-width:100%}.offset-xxl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-0{margin-left:0}.offset-xxl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-0{margin-right:0}.offset-xxl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-1{margin-left:8.3333333333%}.offset-xxl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-1{margin-right:8.3333333333%}.offset-xxl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-2{margin-left:16.6666666667%}.offset-xxl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-2{margin-right:16.6666666667%}.offset-xxl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-3{margin-left:25%}.offset-xxl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-3{margin-right:25%}.offset-xxl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-4{margin-left:33.3333333333%}.offset-xxl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-4{margin-right:33.3333333333%}.offset-xxl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-5{margin-left:41.6666666667%}.offset-xxl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-5{margin-right:41.6666666667%}.offset-xxl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-6{margin-left:50%}.offset-xxl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-6{margin-right:50%}.offset-xxl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-7{margin-left:58.3333333333%}.offset-xxl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-7{margin-right:58.3333333333%}.offset-xxl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-8{margin-left:66.6666666667%}.offset-xxl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-8{margin-right:66.6666666667%}.offset-xxl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-9{margin-left:75%}.offset-xxl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-9{margin-right:75%}.offset-xxl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-10{margin-left:83.3333333333%}.offset-xxl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-10{margin-right:83.3333333333%}.offset-xxl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-11{margin-left:91.6666666667%}.offset-xxl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-11{margin-right:91.6666666667%}}.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:0;flex:0 0}.v-select .v-field .v-field__append-inner>.v-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select__content{overflow:hidden;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;border-radius:4px}.v-select__selection{display:inline-flex;letter-spacing:inherit;line-height:inherit}.v-select--active-menu .v-field__append-inner>.v-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-select--chips .v-select__selection:first-child{margin-inline-start:0}.v-chip{align-items:center;cursor:default;display:inline-flex;font-weight:400;max-width:100%;overflow:hidden;position:relative;text-decoration:none;white-space:nowrap;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:9999px}.v-chip--size-x-small{--v-chip-size: .625rem;--v-chip-height: 20px;font-size:.625rem;padding:0 8px}.v-chip--size-x-small .v-avatar{--v-avatar-height: 12px}.v-chip--pill.v-chip--size-x-small .v-avatar{--v-avatar-height: 20px}.v-chip--size-x-small .v-chip__prepend,.v-chip--size-x-small .v-chip__filter{margin-inline-start:-4px;margin-inline-end:4px}.v-chip--pill.v-chip--size-x-small .v-chip__prepend,.v-chip--pill.v-chip--size-x-small .v-chip__filter{margin-inline-start:-8px}.v-chip--size-x-small .v-chip__append,.v-chip--size-x-small .v-chip__close{margin-inline-end:-4px;margin-inline-start:4px}.v-chip--pill.v-chip--size-x-small .v-chip__append,.v-chip--pill.v-chip--size-x-small .v-chip__close{margin-inline-end:-8px}.v-chip--size-small{--v-chip-size: .75rem;--v-chip-height: 26px;font-size:.75rem;padding:0 10px}.v-chip--size-small .v-avatar{--v-avatar-height: 18px}.v-chip--pill.v-chip--size-small .v-avatar{--v-avatar-height: 26px}.v-chip--size-small .v-chip__prepend,.v-chip--size-small .v-chip__filter{margin-inline-start:-5px;margin-inline-end:5px}.v-chip--pill.v-chip--size-small .v-chip__prepend,.v-chip--pill.v-chip--size-small .v-chip__filter{margin-inline-start:-10px}.v-chip--size-small .v-chip__append,.v-chip--size-small .v-chip__close{margin-inline-end:-5px;margin-inline-start:5px}.v-chip--pill.v-chip--size-small .v-chip__append,.v-chip--pill.v-chip--size-small .v-chip__close{margin-inline-end:-10px}.v-chip--size-default{--v-chip-size: .875rem;--v-chip-height: 32px;font-size:.875rem;padding:0 12px}.v-chip--size-default .v-avatar{--v-avatar-height: 24px}.v-chip--pill.v-chip--size-default .v-avatar{--v-avatar-height: 32px}.v-chip--size-default .v-chip__prepend,.v-chip--size-default .v-chip__filter{margin-inline-start:-6px;margin-inline-end:6px}.v-chip--pill.v-chip--size-default .v-chip__prepend,.v-chip--pill.v-chip--size-default .v-chip__filter{margin-inline-start:-12px}.v-chip--size-default .v-chip__append,.v-chip--size-default .v-chip__close{margin-inline-end:-6px;margin-inline-start:6px}.v-chip--pill.v-chip--size-default .v-chip__append,.v-chip--pill.v-chip--size-default .v-chip__close{margin-inline-end:-12px}.v-chip--size-large{--v-chip-size: 1rem;--v-chip-height: 38px;font-size:1rem;padding:0 14px}.v-chip--size-large .v-avatar{--v-avatar-height: 30px}.v-chip--pill.v-chip--size-large .v-avatar{--v-avatar-height: 38px}.v-chip--size-large .v-chip__prepend,.v-chip--size-large .v-chip__filter{margin-inline-start:-7px;margin-inline-end:7px}.v-chip--pill.v-chip--size-large .v-chip__prepend,.v-chip--pill.v-chip--size-large .v-chip__filter{margin-inline-start:-14px}.v-chip--size-large .v-chip__append,.v-chip--size-large .v-chip__close{margin-inline-end:-7px;margin-inline-start:7px}.v-chip--pill.v-chip--size-large .v-chip__append,.v-chip--pill.v-chip--size-large .v-chip__close{margin-inline-end:-14px}.v-chip--size-x-large{--v-chip-size: 1.125rem;--v-chip-height: 44px;font-size:1.125rem;padding:0 17px}.v-chip--size-x-large .v-avatar{--v-avatar-height: 36px}.v-chip--pill.v-chip--size-x-large .v-avatar{--v-avatar-height: 44px}.v-chip--size-x-large .v-chip__prepend,.v-chip--size-x-large .v-chip__filter{margin-inline-start:-8.5px;margin-inline-end:8.5px}.v-chip--pill.v-chip--size-x-large .v-chip__prepend,.v-chip--pill.v-chip--size-x-large .v-chip__filter{margin-inline-start:-17px}.v-chip--size-x-large .v-chip__append,.v-chip--size-x-large .v-chip__close{margin-inline-end:-8.5px;margin-inline-start:8.5px}.v-chip--pill.v-chip--size-x-large .v-chip__append,.v-chip--pill.v-chip--size-x-large .v-chip__close{margin-inline-end:-17px}.v-chip.v-chip--density-default{height:calc(var(--v-chip-height) + 0px)}.v-chip.v-chip--density-comfortable{height:calc(var(--v-chip-height) + -8px)}.v-chip.v-chip--density-compact{height:calc(var(--v-chip-height) + -12px)}.v-chip--variant-plain,.v-chip--variant-outlined,.v-chip--variant-text,.v-chip--variant-contained-text{background:transparent;color:inherit}.v-chip--variant-plain{opacity:.26}.v-chip--variant-plain:focus,.v-chip--variant-plain:hover{opacity:1}.v-chip--variant-plain .v-chip__overlay{display:none}.v-chip--variant-contained,.v-chip--variant-contained-flat{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-chip--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-chip--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-chip--variant-outlined{border:thin solid currentColor}.v-chip--variant-text .v-chip__overlay{background:currentColor}.v-chip--variant-contained-text .v-chip__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-chip--border{border-width:thin}.v-chip--link{cursor:pointer}.v-chip__filter,.v-chip__prepend,.v-chip__append,.v-chip__close{align-items:center;display:inline-flex}.v-chip__close{cursor:pointer;flex:0 1 auto;font-size:18px;max-height:18px;max-width:18px;user-select:none}.v-chip__close .v-icon{font-size:inherit}.v-chip__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-chip--disabled{opacity:.3;pointer-events:none;user-select:none}.v-chip--label{border-radius:4px}.v-avatar{align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;vertical-align:middle;border-radius:50%;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar--rounded{@includes tools.rounded($avatar-rounded-border-radius);}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;user-select:none;vertical-align:middle;width:1em}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-btn:not(.v-btn--icon) .v-icon--start{margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn.v-btn--stacked .v-icon--start{margin-inline-start:0;margin-inline-end:0;margin-bottom:4px}.v-icon--end{margin-inline-start:8px}.v-btn:not(.v-btn--icon) .v-icon--end{margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn.v-btn--stacked .v-icon--end{margin-inline-start:0;margin-inline-end:0;margin-top:4px}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img--booting .v-responsive__sizer{transition:none}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}.v-chip-group{display:flex;max-width:100%;min-width:0;overflow-x:auto;padding:4px 0}.v-chip-group .v-chip{margin:4px 8px 4px 0}.v-chip-group .v-chip.v-chip--selected:not(.v-chip--disabled) .v-chip__overlay{opacity:var(--v-activated-opacity)}.v-chip-group--column{flex-wrap:wrap;white-space:normal}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1)}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1)}.v-list{overflow:auto;padding:8px 0;position:relative;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:0;background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list--border{border-width:thin;box-shadow:none}.v-list--absolute{position:absolute}.v-list--fixed{position:fixed}.v-list--disabled{pointer-events:none;user-select:none}.v-list--rounded{border-radius:4px}.v-list--subheader{padding-top:0}.v-list-img{border-radius:inherit;display:flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-list-subheader{align-items:center;background:inherit;display:flex;font-size:.875rem;font-weight:500;line-height:1.375rem;padding-inline-end:16px;min-height:48px;transition:.2s min-height cubic-bezier(.4,0,.2,1)}.v-list-subheader__text{opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-list--density-default .v-list-subheader{min-height:48px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-comfortable .v-list-subheader{min-height:44px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-compact .v-list-subheader{min-height:40px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-subheader--inset{padding-inline-start:72px}.v-list--nav .v-list-subheader{font-size:.75rem}.v-list-subheader--sticky{background:inherit;left:0;position:sticky;top:0;z-index:1}.v-list__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-divider{display:block;flex:1 1 100%;height:0px;max-height:0px;transition:inherit;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:thin 0 0 0}.v-divider--vertical{align-self:stretch;border-width:0 thin 0 0;display:inline-flex;height:inherit;margin-left:-1px;max-height:100%;max-width:0px;vertical-align:text-bottom;width:0px}.v-divider--inset:not(.v-divider--vertical){max-width:calc(100% - 72px);margin-inline-start:72px}.v-divider--inset.v-divider--vertical{margin-bottom:8px;margin-top:8px;max-height:calc(100% - 16px)}.v-list-item{align-items:center;display:flex;padding:8px 16px;position:relative;outline:none;text-decoration:none;transition:.2s cubic-bezier(.4,0,.2,1);border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:0}.v-list-item--border{border-width:thin;box-shadow:none}.v-list-item:hover .v-list-item__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-list-item:focus-visible .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item:focus .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-list-item--active:hover.v-list-item__overlay,.v-list-item--active .v-list-item__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-list-item--active:focus .v-list-item__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-list-item--variant-plain,.v-list-item--variant-outlined,.v-list-item--variant-text,.v-list-item--variant-contained-text{background:transparent;color:inherit}.v-list-item--variant-plain{opacity:.62}.v-list-item--variant-plain:focus,.v-list-item--variant-plain:hover{opacity:1}.v-list-item--variant-plain .v-list-item__overlay{display:none}.v-list-item--variant-contained,.v-list-item--variant-contained-flat{background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list-item--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-list-item--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-list-item--variant-outlined{border:thin solid currentColor}.v-list-item--variant-text .v-list-item__overlay{background:currentColor}.v-list-item--variant-contained-text .v-list-item__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-list-item--rounded{border-radius:4px}.v-list-item--disabled{pointer-events:none;user-select:none;opacity:.6}.v-list-item--link{cursor:pointer}.v-list-item-action,.v-list-item-avatar,.v-list-item-icon{align-self:center;display:flex;align-items:center;flex:none;transition:inherit;transition-property:height,width}.v-list-item--three-line .v-list-item-action,.v-list-item--three-line .v-list-item-avatar,.v-list-item--three-line .v-list-item-icon{align-self:flex-start}.v-list-item-avatar--start{margin-inline-end:16px}.v-list-item-avatar--end{margin-inline-start:16px}.v-list-item--density-default.v-list-item--three-line .v-list-item-avatar{margin-top:4px}.v-list-item--density-comfortable.v-list-item--three-line .v-list-item-avatar{margin-top:8px}.v-list-item--density-compact.v-list-item--three-line .v-list-item-avatar{margin-top:12px}.v-list-item-icon--start{margin-inline-end:32px}.v-list-item-icon--end{margin-inline-start:32px}.v-list-item-action--start{margin-inline-end:12px}.v-list-item-action--end{margin-inline-start:12px}.v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-media--start{margin-inline-end:16px}.v-list-item-media--end{margin-inline-start:16px}.v-list-item--two-line .v-list-item-media{margin-top:-4px;margin-bottom:-4px}.v-list-item--three-line .v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-header{flex:1 1 auto;min-width:0}.v-list-item-subtitle{-webkit-box-orient:vertical;display:-webkit-box;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0;text-overflow:ellipsis;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem;text-transform:none}.v-list-item--one-line .v-list-item-subtitle{-webkit-line-clamp:1}.v-list-item--two-line .v-list-item-subtitle{-webkit-line-clamp:2}.v-list-item--three-line .v-list-item-subtitle{-webkit-line-clamp:3}.v-list--nav .v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem}.v-list-item-title{hyphens:auto;overflow-wrap:normal;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word;font-size:1rem;font-weight:400;letter-spacing:.009375em;line-height:1.5rem;text-transform:none}.v-list--nav .v-list-item-title{font-size:.8125rem;font-weight:500;letter-spacing:normal;line-height:1rem}.v-list-item--density-default.v-list-item--one-line{min-height:48px;padding:8px 16px}.v-list-item--density-default.v-list-item--two-line{min-height:64px;padding:12px 16px}.v-list-item--density-default.v-list-item--three-line{min-height:88px;padding:16px}.v-list-item--density-comfortable.v-list-item--one-line{min-height:44px;padding:4px 16px}.v-list-item--density-comfortable.v-list-item--two-line{min-height:60px;padding:8px 16px}.v-list-item--density-comfortable.v-list-item--three-line{min-height:84px;padding:12px 16px}.v-list-item--density-compact.v-list-item--one-line{min-height:40px;padding:0 16px}.v-list-item--density-compact.v-list-item--two-line{min-height:56px;padding:4px 16px}.v-list-item--density-compact.v-list-item--three-line{min-height:80px;padding:8px 16px}.v-list-item__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item--active.v-list-item--contained .v-list-item__overlay{--v-theme-overlay-multiplier: 0}.v-list{--indent-padding: 0px}.v-list-group{--parent-padding: var(--indent-padding)}.v-list-group--prepend{--parent-padding: calc(var(--indent-padding) + 40px)}.v-list-group__items{--indent-padding: calc(var(--parent-padding) + 16px)}.v-list-group__items .v-list-item{padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-item--prepend .v-list-item-avatar,.v-list-group__items .v-list-item--prepend .v-list-item-avatar{padding-inline-start:calc(16px + var(--indent-padding) + 40px + 16px)!important}.v-list-group__header.v-list-item--active .v-list-item__overlay{display:none}.v-menu .v-overlay__content{display:flex;flex-direction:column;border-radius:4px}.v-menu .v-overlay__content>.v-card,.v-menu .v-overlay__content>.v-sheet,.v-menu .v-overlay__content>.v-list{background:rgb(var(--v-theme-surface));border-radius:inherit;overflow:auto;height:100%;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset);overflow-y:hidden!important}@supports (-webkit-touch-callout: none){html.v-overlay-scroll-blocked{position:fixed;top:var(--v-ios-body-scroll-y);left:var(--v-ios-body-scroll-x)}}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:32%;position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-text-field input{color:inherit;flex:1;opacity:0;transition:.15s opacity cubic-bezier(.4,0,.2,1)}.v-text-field input:focus,.v-text-field input:active{outline:none}.v-text-field input:invalid{box-shadow:none}.v-text-field .v-field{cursor:text}.v-text-field--prefixed.v-text-field .v-field__input{--v-field-padding-start: 6px}.v-text-field--suffixed.v-text-field .v-field__input{--v-field-padding-end: 0}.v-text-field .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-text-field .v-field--active input{opacity:1}.v-text-field .v-field--single-line input{transition:none}.v-text-field__prefix,.v-text-field__suffix{align-items:center;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));cursor:default;display:flex;opacity:0;padding-top:var(--v-field-padding-top);transition:inherit;white-space:nowrap}.v-field--active .v-text-field__prefix,.v-field--active .v-text-field__suffix{opacity:1}.v-field--disabled .v-text-field__prefix,.v-field--disabled .v-text-field__suffix{color:rgba(var(--v-theme-on-surface),var(--v-disabled-opacity))}.v-text-field__prefix{padding-inline-start:var(--v-field-padding-start)}.v-text-field__suffix{padding-inline-end:var(--v-field-padding-end)}.v-text-field--flush-details .v-input__details{padding:0}.v-text-field--persistent-placeholder input{opacity:1}.v-input{display:grid;flex:1 1 auto}.v-input--disabled{pointer-events:none}.v-input--density-default{--v-input-control-height: 56px;--v-input-padding-top: 16px}.v-input--density-comfortable{--v-input-control-height: 48px;--v-input-padding-top: 12px}.v-input--density-compact{--v-input-control-height: 40px;--v-input-padding-top: 8px}.v-input--vertical{grid-template-areas:"append" "control" "prepend";grid-template-rows:max-content auto max-content;grid-template-columns:min-content}.v-input--vertical .v-input__prepend{margin-block-start:16px}.v-input--vertical .v-input__append{margin-block-end:16px}.v-input--horizontal{grid-template-areas:"prepend control append" "a messages b";grid-template-columns:max-content auto max-content;grid-template-rows:auto auto}.v-input--horizontal .v-input__prepend{margin-inline-end:16px}.v-input--horizontal .v-input__append{margin-inline-start:16px}.v-input__details{align-items:flex-end;display:flex;font-size:.75rem;font-weight:400;grid-area:messages;letter-spacing:.0333333333em;line-height:normal;margin-bottom:16px;min-height:22px;padding-top:6px;overflow:hidden;justify-content:space-between}.v-input__details>.v-icon,.v-input__prepend>.v-icon,.v-input__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-input--disabled .v-input__details>.v-icon,.v-input--disabled .v-input__details .v-messages,.v-input--error .v-input__details>.v-icon,.v-input--error .v-input__details .v-messages,.v-input--disabled .v-input__prepend>.v-icon,.v-input--disabled .v-input__prepend .v-messages,.v-input--error .v-input__prepend>.v-icon,.v-input--error .v-input__prepend .v-messages,.v-input--disabled .v-input__append>.v-icon,.v-input--disabled .v-input__append .v-messages,.v-input--error .v-input__append>.v-icon,.v-input--error .v-input__append .v-messages{opacity:1}.v-input--disabled .v-input__details,.v-input--disabled .v-input__prepend,.v-input--disabled .v-input__append{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-input__details>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__details .v-messages,.v-input--error:not(.v-input--disabled) .v-input__prepend>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__prepend .v-messages,.v-input--error:not(.v-input--disabled) .v-input__append>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__append .v-messages{color:rgb(var(--v-theme-error))}.v-input__prepend,.v-input__append{display:flex;padding-top:var(--v-input-padding-top)}.v-input__prepend{grid-area:prepend}.v-input__append{grid-area:append}.v-input__control{grid-area:control}.v-messages{flex:1 1 auto;font-size:12px;min-height:14px;min-width:1px;opacity:var(--v-medium-emphasis-opacity);position:relative}.v-messages__message{line-height:12px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;transition-duration:.15s}.v-field{display:grid;grid-template-areas:"prepend-inner field clear append-inner";grid-template-columns:min-content auto min-content min-content;font-size:16px;letter-spacing:.009375em;max-width:100%;border-radius:4px;contain:layout;flex:1 0;grid-area:control;position:relative;--v-field-padding-start: 16px;--v-field-padding-end: 16px;--v-field-padding-top: 8px;--v-field-padding-bottom: 6px}.v-field--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-field--prepended{padding-inline-start:12px;--v-field-padding-start: 6px;--v-field-padding-end: 6px}.v-field--appended{padding-inline-end:12px}.v-field--variant-contained{background:rgb(var(--v-theme-surface));border-color:transparent;color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity));box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.v-field--variant-contained,.v-field--variant-filled{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-field--variant-plain,.v-field--variant-underlined{border-radius:0;padding:0;--v-field-padding-start: 0;--v-field-padding-end: 0;--v-field-padding-top: 0}.v-field--variant-plain.v-field--single-line,.v-field--variant-underlined.v-field--single-line,.v-field--variant-outlined,.v-field--single-line{--v-field-padding-top: 0}.v-input--density-default .v-field--variant-contained,.v-input--density-default .v-field--variant-filled{--v-input-control-height: 56px;--v-field-padding-bottom: 6px}.v-input--density-comfortable .v-field--variant-contained,.v-input--density-comfortable .v-field--variant-filled{--v-input-control-height: 48px;--v-field-padding-bottom: 2px}.v-input--density-compact .v-field--variant-contained,.v-input--density-compact .v-field--variant-filled{--v-input-control-height: 40px;--v-field-padding-bottom: -2px}.v-input--density-default .v-field--variant-underlined{--v-input-control-height: 40px;--v-field-padding-bottom: 6px}.v-input--density-comfortable .v-field--variant-underlined{--v-input-control-height: 32px;--v-field-padding-bottom: 4px}.v-input--density-compact .v-field--variant-underlined{--v-input-control-height: 24px;--v-field-padding-bottom: 2px}.v-field__input{align-self:stretch;color:inherit;display:flex;flex-wrap:wrap;letter-spacing:.009375em;opacity:var(--v-high-emphasis-opacity);padding-inline-start:var(--v-field-padding-start);padding-inline-end:var(--v-field-padding-end);padding-top:var(--v-field-padding-top, 8px);width:100%}.v-field__input input{letter-spacing:inherit}.v-field__input:focus,.v-field__input:active{outline:none}.v-field__input:invalid{box-shadow:none}.v-field__field{flex:1 0;min-height:var(--v-input-control-height, 56px);grid-area:field;padding-bottom:var(--v-field-padding-bottom, 6px);position:relative}.v-field__prepend-inner{grid-area:prepend-inner;padding-inline-end:var(--v-field-padding-after)}.v-field__clearable{grid-area:clear}.v-field__append-inner{grid-area:append-inner;padding-inline-start:var(--v-field-padding-after)}.v-field__field,.v-field__prepend-inner,.v-field__append-inner,.v-field__clearable{align-items:flex-start;display:flex;padding-top:var(--v-input-padding-top, 8px)}.v-field--focused .v-field__prepend-inner,.v-field--focused .v-field__append-inner{opacity:1}.v-field__prepend-inner>.v-icon,.v-field__append-inner>.v-icon,.v-field__clearable>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-field--disabled .v-field__prepend-inner>.v-icon,.v-field--error .v-field__prepend-inner>.v-icon,.v-field--disabled .v-field__append-inner>.v-icon,.v-field--error .v-field__append-inner>.v-icon,.v-field--disabled .v-field__clearable>.v-icon,.v-field--error .v-field__clearable>.v-icon{opacity:1}.v-field--error:not(.v-field--disabled) .v-field__prepend-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__append-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__clearable>.v-icon{color:rgb(var(--v-theme-error))}.v-field__clearable{cursor:pointer;opacity:0;margin-inline-start:4px;margin-inline-end:4px;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform,width}.v-field--focused .v-field__clearable,.v-field--persistent-clear .v-field__clearable{opacity:1}@media (hover: hover){.v-field:hover .v-field__clearable{opacity:1}}.v-label.v-field-label{contain:layout paint;margin-inline-start:var(--v-field-padding-start);margin-inline-end:var(--v-field-padding-end);max-width:calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end));pointer-events:none;position:absolute;transform-origin:left center;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform}.v-field--active .v-label.v-field-label{visibility:hidden}.v-field--disabled .v-label.v-field-label,.v-field--focused .v-label.v-field-label,.v-field--error .v-label.v-field-label{opacity:1}.v-field--error:not(.v-field--disabled) .v-label.v-field-label{color:rgb(var(--v-theme-error))}.v-label.v-field-label--floating{--v-field-label-scale: .75em;font-size:var(--v-field-label-scale);visibility:hidden;max-width:100%}.v-field.v-field--active .v-label.v-field-label--floating{visibility:visible}.v-input--density-default .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-filled .v-label.v-field-label--floating{top:7px}.v-input--density-comfortable .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-filled .v-label.v-field-label--floating{top:5px}.v-input--density-compact .v-field--variant-contained .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating{top:3px}.v-field--variant-plain .v-label.v-field-label--floating,.v-field--variant-underlined .v-label.v-field-label--floating{transform:translateY(-6px);margin:0}.v-field--variant-outlined .v-label.v-field-label--floating{transform:translateY(-50%);transform-origin:center;position:static;margin:0 4px}.v-field__outline{--v-field-border-width: 1px;--v-field-border-opacity: .38;align-items:stretch;contain:layout;display:flex;height:100%;left:0;pointer-events:none;position:absolute;right:0;width:100%}@media (hover: hover){.v-field:hover .v-field__outline{--v-field-border-opacity: var(--v-high-emphasis-opacity)}}.v-field--error:not(.v-field--disabled) .v-field__outline{color:rgb(var(--v-theme-error))}.v-field.v-field--focused .v-field__outline,.v-input.v-input--error .v-field__outline{--v-field-border-opacity: 1}.v-field--variant-outlined.v-field--focused .v-field__outline{--v-field-border-width: 2px}.v-field--variant-filled .v-field__outline:before,.v-field--variant-underlined .v-field__outline:before{border-style:solid;border-width:0 0 var(--v-field-border-width);opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__outline:after,.v-field--variant-underlined .v-field__outline:after{border-color:currentColor;border-style:solid;border-width:0 0 2px;transform:scaleX(0);transition:transform .15s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--focused.v-field--variant-filled .v-field__outline:after,.v-field--focused.v-field--variant-underlined .v-field__outline:after{transform:scaleX(1)}.v-field--variant-outlined .v-field__outline{border-radius:inherit}.v-field--variant-outlined .v-field__outline__start,.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after,.v-field--variant-outlined .v-field__outline__end{border:0 solid currentColor;opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-outlined .v-field__outline__start{flex:0 0 12px;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-start-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__start.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__start{border-radius:4px 0 0 4px}.v-field--variant-outlined .v-field__outline__start.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__start{border-radius:0 4px 4px 0}.v-field--variant-outlined .v-field__outline__notch{flex:none;position:relative;border-width:0 0 var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after{opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-outlined .v-field__outline__notch:before{border-width:var(--v-field-border-width) 0 0}.v-field--variant-outlined .v-field__outline__notch:after{bottom:0;border-width:0 0 var(--v-field-border-width)}.v-field--active.v-field--variant-outlined .v-field__outline__notch:before{opacity:0}.v-field--variant-outlined .v-field__outline__end{flex:1;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-end-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__end.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__end{border-radius:0 4px 4px 0}.v-field--variant-outlined .v-field__outline__end.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__end{border-radius:4px 0 0 4px}.v-field__loader{bottom:0;left:0;position:absolute;right:0;width:100%}.v-field--variant-filled .v-field__overlay{background-color:currentColor;border-radius:inherit;opacity:.04;pointer-events:none;transition:opacity .25s cubic-bezier(.4,0,.2,1);position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-filled:hover .v-field__overlay{opacity:calc(.08 * var(--v-theme-overlay-multiplier))}}.v-field--variant-filled.v-field--focused .v-field__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-field--reverse .v-field__input.v-locale--is-ltr,.v-locale--is-ltr .v-field--reverse .v-field__input{text-align:right}.v-field--reverse .v-field__input.v-locale--is-rtl,.v-locale--is-rtl .v-field--reverse .v-field__input{text-align:left}.v-input--disabled .v-field--variant-filled .v-field__outline:before,.v-input--disabled .v-field--variant-underlined .v-field__outline:before{border-image:repeating-linear-gradient(to right,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 0px,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 2px,transparent 2px,transparent 4px) 1 repeat}.v-field--loading .v-field__outline:after,.v-field--loading .v-field__outline:before{opacity:0}.v-label{align-items:center;cursor:pointer;display:inline-flex;font-size:1rem;letter-spacing:.009375em;min-width:0;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-progress-linear{background:transparent;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);width:100%}.v-progress-linear__background{background:currentColor;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;top:0;transition-property:width,left,right;transition:inherit}.v-progress-linear__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:0;width:100%}.v-progress-linear__determinate,.v-progress-linear__indeterminate{background:currentColor}.v-progress-linear__determinate{height:inherit;left:0;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear__indeterminate .long,.v-progress-linear__indeterminate .short{animation-play-state:paused;animation-duration:2.2s;animation-iteration-count:infinite;bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right}.v-progress-linear__indeterminate .long{animation-name:indeterminate-ltr}.v-progress-linear__indeterminate .short{animation-name:indeterminate-short-ltr}.v-progress-linear__stream{animation:stream .25s infinite linear;animation-play-state:paused;bottom:0;left:auto;opacity:.3;pointer-events:none;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear--reverse .v-progress-linear__background,.v-progress-linear--reverse .v-progress-linear__determinate,.v-progress-linear--reverse .v-progress-linear__content,.v-progress-linear--reverse .v-progress-linear__indeterminate .long,.v-progress-linear--reverse .v-progress-linear__indeterminate .short{left:auto;right:0}.v-progress-linear--reverse .v-progress-linear__indeterminate .long{animation-name:indeterminate-rtl}.v-progress-linear--reverse .v-progress-linear__indeterminate .short{animation-name:indeterminate-short-rtl}.v-progress-linear--reverse .v-progress-linear__stream{right:auto}.v-progress-linear--absolute,.v-progress-linear--fixed{left:0;z-index:1}.v-progress-linear--absolute{position:absolute}.v-progress-linear--fixed{position:fixed}.v-progress-linear--rounded{border-radius:4px}.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__indeterminate{border-radius:inherit}.v-progress-linear--striped .v-progress-linear__determinate{animation:progress-linear-stripes 1s infinite linear;background-image:linear-gradient(135deg,hsla(0deg,0%,100%,.25) 25%,transparent 0,transparent 50%,hsla(0deg,0%,100%,.25) 0,hsla(0deg,0%,100%,.25) 75%,transparent 0,transparent);background-repeat:repeat;background-size:var(--v-progress-linear-height)}.v-progress-linear--active .v-progress-linear__indeterminate .long,.v-progress-linear--active .v-progress-linear__indeterminate .short,.v-progress-linear--active .v-progress-linear__stream{animation-play-state:running}.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded-bar .v-progress-linear__indeterminate,.v-progress-linear--rounded-bar .v-progress-linear__stream+.v-progress-linear__background{border-radius:4px}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-ltr,.v-locale--is-ltr .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-left-radius:0;border-bottom-left-radius:0}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-rtl,.v-locale--is-rtl .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-right-radius:0;border-bottom-right-radius:0}@keyframes indeterminate-ltr{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes indeterminate-rtl{0%{left:100%;right:-90%}60%{left:100%;right:-90%}to{left:-35%;right:100%}}@keyframes indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short-rtl{0%{left:100%;right:-200%}60%{left:-8%;right:107%}to{left:-8%;right:107%}}@keyframes stream{to{transform:translate(var(--v-progress-linear-stream-to))}}@keyframes progress-linear-stripes{0%{background-position-x:var(--v-progress-linear-height)}}.v-counter{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:0 1 auto;font-size:12px;transition-duration:.15s}.v-slider .v-slider__container input{cursor:default;padding:0;width:100%;display:none}.v-slider .v-input__append,.v-slider .v-input__prepend{padding:0}.v-slider__container{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.v-input--disabled .v-slider__container{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-slider__container{color:rgb(var(--v-theme-error))}.v-slider.v-input--horizontal{align-items:center;margin-left:8px;margin-right:8px}.v-slider.v-input--horizontal .v-input__control{min-height:32px;display:flex;align-items:center}.v-slider.v-input--vertical{justify-content:center;margin-top:12px;margin-bottom:12px}.v-slider.v-input--vertical .v-input__control{min-height:300px}.v-slider.v-input--disabled{pointer-events:none}.v-slider--has-labels .v-input__control{margin-bottom:12.5px}.v-slider-thumb{color:rgb(var(--v-theme-surface-variant))}.v-input--error:not(.v-input--disabled) .v-slider-thumb{color:inherit}.v-slider-thumb__label{background:rgba(var(--v-theme-surface-variant),.7);color:rgb(var(--v-theme-on-surface-variant))}.v-slider-thumb__label:before{color:rgba(var(--v-theme-surface-variant),.7)}.v-slider-thumb{outline:none;position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-slider-thumb__surface{cursor:pointer;width:var(--v-slider-thumb-size);height:var(--v-slider-thumb-size);border-radius:50%;user-select:none;background-color:currentColor}.v-slider-thumb__surface:before{transition:.3s cubic-bezier(.4,0,.2,1);content:"";color:inherit;width:100%;height:100%;border-radius:50%;background:currentColor;position:absolute;pointer-events:none;opacity:0}.v-slider-thumb__surface:after{content:"";width:42px;height:42px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.v-slider-thumb__label-container{position:absolute;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label{display:flex;align-items:center;justify-content:center;font-size:.75rem;min-width:35px;height:25px;border-radius:4px;padding:6px;position:absolute;user-select:none;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label:before{content:"";width:0;height:0;position:absolute}.v-slider-thumb__ripple{position:absolute;left:calc(var(--v-slider-thumb-size) / -2);top:calc(var(--v-slider-thumb-size) / -2);width:calc(var(--v-slider-thumb-size) * 2);height:calc(var(--v-slider-thumb-size) * 2);background:inherit}.v-slider.v-input--horizontal .v-slider-thumb{top:50%;transform:translateY(-50%)}.v-slider.v-input--horizontal .v-slider-thumb__label-container{left:calc(var(--v-slider-thumb-size) / 2);top:0}.v-slider.v-input--horizontal .v-slider-thumb__label{bottom:calc(var(--v-slider-thumb-size) / 2)}.v-slider.v-input--horizontal .v-slider-thumb__label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(-50%)}.v-slider.v-input--horizontal .v-slider-thumb__label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(50%)}.v-slider.v-input--horizontal .v-slider-thumb__label:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid currentColor;bottom:-6px}.v-slider.v-input--vertical .v-slider-thumb__label-container{top:calc(var(--v-slider-thumb-size) / 2);right:0}.v-slider.v-input--vertical .v-slider-thumb__label{top:-12.5px;left:calc(var(--v-slider-thumb-size) / 2)}.v-slider.v-input--vertical .v-slider-thumb__label:before{border-right:6px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;left:-6px}.v-slider-thumb--focused .v-slider-thumb__surface:before,.v-slider-thumb:hover .v-slider-thumb__surface:before{transform:scale(2)}.v-slider-thumb--focused .v-slider-thumb__surface:before{opacity:var(--v-focus-opacity)}.v-slider-thumb--pressed{transition:none}.v-slider-thumb--pressed .v-slider-thumb__surface:before{opacity:var(--v-pressed-opacity)}.v-slider-thumb:hover:not(.v-slider-thumb--focused) .v-slider-thumb__surface:before{opacity:var(--v-hover-opacity)}.v-slider-track__background,.v-slider-track__fill,.v-slider-track__tick{background-color:rgb(var(--v-theme-surface-variant))}.v-slider-track__tick--filled{background-color:rgb(var(--v-theme-on-surface-variant))}.v-slider-track{border-radius:6px}.v-slider-track__background,.v-slider-track__fill{position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1);border-radius:inherit}.v-slider--pressed .v-slider-track__background,.v-slider--pressed .v-slider-track__fill{transition:none}.v-input--error:not(.v-input--disabled) .v-slider-track__background,.v-input--error:not(.v-input--disabled) .v-slider-track__fill{background-color:currentColor}.v-slider-track__ticks{height:100%;width:100%;position:relative}.v-slider-track__tick{position:absolute;opacity:0;transition:.2s opacity cubic-bezier(.4,0,.2,1);border-radius:2px;width:var(--v-slider-tick-size);height:var(--v-slider-tick-size);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / -2))}.v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:none}.v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:translate(100%)}.v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(-100%)}.v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:none}.v-slider-track__tick-label{position:absolute;user-select:none;white-space:nowrap}.v-slider.v-input--horizontal .v-slider-track{display:flex;align-items:center;width:100%;height:calc(var(--v-slider-track-size) + 2px);touch-action:pan-y}.v-slider.v-input--horizontal .v-slider-track__background{height:var(--v-slider-track-size)}.v-slider.v-input--horizontal .v-slider-track__fill{height:inherit}.v-slider.v-input--horizontal .v-slider-track__tick{margin-block-start:calc(var(--v-slider-track-size) / 2 + 1px)}.v-slider.v-input--horizontal .v-slider-track__tick.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / -2))}.v-slider.v-input--horizontal .v-slider-track__tick:first-child{margin-inline-start:calc(var(--v-slider-tick-size) + 1px)}.v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label,.v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick:first-child .v-slider-track__tick-label{transform:translate(0)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child{margin-inline-start:calc(100% - var(--v-slider-tick-size) - 1px)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(-100%)}.v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick:last-child .v-slider-track__tick-label{transform:translate(100%)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{bottom:calc((var(--v-slider-track-size) / -2) - 25px)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label.v-locale--is-ltr,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(-50%)}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(50%)}.v-slider.v-input--vertical .v-slider-track{height:100%;display:flex;justify-content:center;width:calc(var(--v-slider-track-size, 2px) + 2px);touch-action:pan-x}.v-slider.v-input--vertical .v-slider-track__background{width:var(--v-slider-track-size)}.v-slider.v-input--vertical .v-slider-track__fill{width:inherit}.v-slider.v-input--vertical .v-slider-track__ticks{height:100%}.v-slider.v-input--vertical .v-slider-track__tick{margin-inline-start:calc(var(--v-slider-track-size) / 2 + 1px);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / 2))}.v-slider.v-input--vertical .v-slider-track__tick.v-locale--is-rtl,.v-locale--is-rtl .v-slider.v-input--vertical .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / 2))}.v-slider.v-input--vertical .v-slider-track__tick:last-child{inset-block-end:calc(0% + var(--v-slider-tick-size) + 1px)}.v-slider.v-input--vertical .v-slider-track__tick .v-slider-track__tick-label{margin-inline-start:calc(var(--v-slider-track-size) + 20px);transform:translateY(-50%)}.v-slider-track__ticks--always-show .v-slider-track__tick,.v-slider--focused .v-slider-track__tick{opacity:1}.v-slider-track__background--opacity{opacity:.38}.v-btn{align-items:center;border-radius:4px;display:inline-flex;font-weight:500;justify-content:center;letter-spacing:.0892857143em;line-height:normal;max-width:100%;outline:none;overflow:hidden;position:relative;text-decoration:none;text-indent:.0892857143em;text-transform:uppercase;transition-property:box-shadow,transform,opacity,background;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none;vertical-align:middle;flex-shrink:0;white-space:nowrap;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 20px;font-size:.625rem;min-width:36px;padding:0 8px}.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 28px;font-size:.75rem;min-width:50px;padding:0 12px}.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 36px;font-size:.875rem;min-width:64px;padding:0 16px}.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 44px;font-size:1rem;min-width:78px;padding:0 20px}.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 52px;font-size:1.125rem;min-width:92px;padding:0 24px}.v-btn.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -8px)}.v-btn.v-btn--density-compact{height:calc(var(--v-btn-height) + -12px)}.v-btn--border{border-width:thin;box-shadow:none}.v-btn:hover .v-btn__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-btn:focus-visible .v-btn__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn:focus .v-btn__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-btn--variant-plain,.v-btn--variant-outlined,.v-btn--variant-text,.v-btn--variant-contained-text{background:transparent;color:inherit}.v-btn--variant-plain{opacity:.62}.v-btn--variant-plain:focus,.v-btn--variant-plain:hover{opacity:1}.v-btn--variant-plain .v-btn__overlay{display:none}.v-btn--variant-contained,.v-btn--variant-contained-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn--variant-contained{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.v-btn--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-btn--variant-outlined{border:thin solid currentColor}.v-btn--variant-text .v-btn__overlay{background:currentColor}.v-btn--variant-contained-text .v-btn__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}@supports selector(:focus-visible){.v-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn:focus-visible:after{opacity:calc(.25 * var(--v-theme-overlay-multiplier))}}.v-btn--icon{border-radius:50%;min-width:0;padding:0;font-size:1rem}.v-btn--icon.v-btn--density-default{width:calc(var(--v-btn-height) + 12px);height:calc(var(--v-btn-height) + 12px)}.v-btn--icon.v-btn--density-comfortable{width:calc(var(--v-btn-height) + 0px);height:calc(var(--v-btn-height) + 0px)}.v-btn--icon.v-btn--density-compact{width:calc(var(--v-btn-height) + -8px);height:calc(var(--v-btn-height) + -8px)}.v-btn--elevated:hover,.v-btn--elevated:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.v-btn--elevated:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-btn--flat{box-shadow:none}.v-btn--block{display:flex;flex:1 0 auto;min-width:100%}.v-btn--disabled{pointer-events:none}.v-btn--disabled.v-btn--disabled{color:rgba(var(--v-theme-on-surface),.26);opacity:1}.v-btn--disabled.v-btn--variant-contained{background:rgb(var(--v-theme-surface));box-shadow:none}.v-btn--disabled.v-btn--variant-contained .v-btn__overlay{opacity:.4615384615}.v-btn--stacked{flex-direction:column;line-height:1.25}.v-btn--stacked.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 56px;font-size:.625rem;min-width:56px;padding:0 12px}.v-btn--stacked.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 64px;font-size:.75rem;min-width:64px;padding:0 14px}.v-btn--stacked.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 72px;font-size:.875rem;min-width:72px;padding:0 16px}.v-btn--stacked.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 80px;font-size:1rem;min-width:80px;padding:0 18px}.v-btn--stacked.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 88px;font-size:1.125rem;min-width:88px;padding:0 20px}.v-btn--stacked.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn--stacked.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -16px)}.v-btn--stacked.v-btn--density-compact{height:calc(var(--v-btn-height) + -24px)}.v-btn--rounded{border-radius:24px}.v-btn .v-icon{--v-icon-size-multiplier: .8571428571}.v-btn--icon .v-icon{--v-icon-size-multiplier: 1}.v-btn--stacked .v-icon{--v-icon-size-multiplier: 1.1428571429}.v-btn__content{transition:transform,opacity .2s cubic-bezier(.4,0,.2,1)}.v-btn__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-app-bar .v-btn{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card-actions .v-btn{padding:0 8px;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card-actions .v-btn~.v-btn{margin-inline-start:.5rem}.v-banner-actions .v-btn{padding:0 8px}.v-pagination .v-btn{border-radius:4px}.v-pagination__item--is-active .v-btn__overlay{opacity:var(--v-border-opacity)}.v-snackbar-actions .v-btn{padding:0 8px}.v-btn-toggle .v-btn.v-btn--selected:not(.v-btn--disabled) .v-btn__overlay{opacity:var(--v-activated-opacity)}.v-btn-group{display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:4px;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn-group--border{border-width:thin;box-shadow:none}.v-btn-group--density-default.v-btn-group{height:48px}.v-btn-group--density-comfortable.v-btn-group{height:40px}.v-btn-group--density-compact.v-btn-group{height:36px}.v-btn-group .v-btn{border-radius:0;border-color:inherit}.v-btn-group .v-btn:not(:last-child){border-inline-end:none}.v-btn-group .v-btn:not(:first-child){border-inline-start:none}.v-btn-group .v-btn:first-child{border-start-start-radius:inherit;border-end-start-radius:inherit}.v-btn-group .v-btn:last-child{border-start-end-radius:inherit;border-end-end-radius:inherit}.v-btn-group--divided .v-btn:not(:last-child){border-inline-end-width:thin;border-inline-end-style:solid;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-btn-group--tile{border-radius:0}.v-switch .v-label{padding-inline-start:10px}.v-switch__loader{display:flex}.v-switch__track,.v-switch__thumb{background-color:currentColor;transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb{background-color:rgb(var(--v-theme-error))}.v-switch__track{border-radius:8px;height:14px;opacity:.6;width:36px;cursor:pointer}.v-switch--inset .v-switch__track{border-radius:14px;height:28px;width:48px}.v-switch__thumb{align-items:center;border-radius:50%;color:rgb(var(--v-theme-surface));display:flex;height:20px;justify-content:center;width:20px;pointer-events:none;transition:.15s transform cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.v-switch--inset .v-switch__thumb{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-switch .v-selection-control{height:var(--v-input-control-height)}.v-switch .v-selection-control__wrapper{width:auto}.v-switch .v-selection-control__input{border-radius:50%;transition:.15s transform cubic-bezier(.4,0,.2,1);transform:translate(-10px);position:absolute}.v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-selection-control{align-items:center;contain:layout;display:flex;flex:1 0;grid-area:control;position:relative;user-select:none}.v-selection-control .v-label{height:100%;width:100%}.v-selection-control--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-selection-control--error .v-label,.v-selection-control--disabled .v-label{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-label{color:rgb(var(--v-theme-error))}.v-selection-control--inline{display:inline-flex}.v-selection-control--inline .v-label{width:auto}.v-selection-control--density-default{--v-selection-control-size: 40px}.v-selection-control--density-comfortable{--v-selection-control-size: 36px}.v-selection-control--density-compact{--v-selection-control-size: 28px}.v-selection-control__wrapper{width:var(--v-selection-control-size);height:var(--v-selection-control-size);display:inline-flex;align-items:center;position:relative;justify-content:center;flex:none}.v-selection-control__input{width:var(--v-selection-control-size);height:var(--v-selection-control-size);align-items:center;display:flex;flex:none;justify-content:center;position:relative;border-radius:50%}.v-selection-control__input input{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:100%;opacity:0}.v-selection-control__input:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;background-color:currentColor;opacity:0;pointer-events:none}.v-selection-control__input:hover:before{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-selection-control__input>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-selection-control--disabled .v-selection-control__input>.v-icon,.v-selection-control--dirty .v-selection-control__input>.v-icon,.v-selection-control--error .v-selection-control__input>.v-icon{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input>.v-icon{color:rgb(var(--v-theme-error))}.v-selection-control--focus-visible .v-selection-control__input:before{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-selection-control-group{grid-area:control}.v-progress-circular{align-items:center;display:inline-flex;justify-content:center;position:relative;vertical-align:middle}.v-progress-circular>svg{width:100%;height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.v-progress-circular__content{align-items:center;display:flex;justify-content:center}.v-progress-circular__underlay{color:rgba(var(--v-border-color),var(--v-border-opacity));stroke:currentColor;z-index:1}.v-progress-circular__overlay{stroke:currentColor;transition:all .2s ease-in-out,stroke-width 0s;z-index:2}.v-progress-circular--size-x-small{height:16px;width:16px}.v-progress-circular--size-small{height:24px;width:24px}.v-progress-circular--size-default{height:32px;width:32px}.v-progress-circular--size-large{height:48px;width:48px}.v-progress-circular--size-x-large{height:64px;width:64px}.v-progress-circular--indeterminate>svg{animation:progress-circular-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out}.v-progress-circular--indeterminate .v-progress-circular__overlay{animation:progress-circular-dash 1.4s ease-in-out infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round}.v-progress-circular--disable-shrink>svg{animation-duration:.7s}.v-progress-circular--disable-shrink .v-progress-circular__overlay{animation:none}.v-progress-circular--indeterminate:not(.v-progress-circular--visible)>svg,.v-progress-circular--indeterminate:not(.v-progress-circular--visible) .v-progress-circular__overlay{animation-play-state:paused!important}@keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circular-rotate{to{transform:rotate(270deg)}}.v-card{display:block;position:relative;padding:0;text-decoration:none;transition-duration:.28s;transition-property:box-shadow,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:4px}.v-card--border{border-width:thin;box-shadow:none}.v-card--absolute{position:absolute}.v-card--fixed{position:fixed}.v-card:hover .v-card__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-card:focus-visible .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card:focus .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-card--active:hover.v-card__overlay,.v-card--active .v-card__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-card--active:focus .v-card__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-card--variant-plain,.v-card--variant-outlined,.v-card--variant-text,.v-card--variant-contained-text{background:transparent;color:inherit}.v-card--variant-plain{opacity:.62}.v-card--variant-plain:focus,.v-card--variant-plain:hover{opacity:1}.v-card--variant-plain .v-card__overlay{display:none}.v-card--variant-contained,.v-card--variant-contained-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-card--variant-contained{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-card--variant-contained-flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card--variant-outlined{border:thin solid currentColor}.v-card--variant-text .v-card__overlay{background:currentColor}.v-card--variant-contained-text .v-card__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transition:opacity .2s ease-in-out}.v-card--disabled{pointer-events:none;user-select:none}.v-card--disabled>[class*=v-card-]{opacity:.6}.v-card--flat{box-shadow:none}.v-card--hover{cursor:pointer;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-card--hover:before,.v-card--hover:after{border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:inherit}.v-card--hover:before{opacity:1;z-index:-1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.v-card--hover:after{z-index:1;opacity:0;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.v-card--hover:hover:after{opacity:1}.v-card--hover:hover:before{opacity:0}.v-card--link{cursor:pointer}.v-card--tile{border-radius:0}.v-card-actions{align-items:center;display:flex;flex:none;min-height:52px;padding:.5rem}.v-card-avatar{align-self:flex-start;padding:.5rem 1rem}.v-card-header .v-card-avatar:last-child{padding-inline-end:0}.v-card-header .v-card-avatar:first-child{padding-inline-start:0}.v-card-header-text{flex:1 1 auto;min-width:0}.v-card-img{border-radius:inherit;display:flex;height:100%;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%}.v-card-header{align-items:center;display:flex;flex:none;padding:.625rem 1rem}.v-card-header+.v-card-text{padding-top:0}.v-card-subtitle{align-items:center;display:flex;flex:none;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;opacity:var(--v-medium-emphasis-opacity);padding:0 1rem;text-transform:none}.v-card .v-card-subtitle{line-height:1.25rem}.v-card--density-comfortable .v-card-subtitle{line-height:1.125rem}.v-card--density-compact .v-card-subtitle{line-height:1rem}.v-card-header .v-card-subtitle{padding:0 0 .25rem}.v-card-text{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:1 1 auto;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;padding:1rem;text-transform:none;transition:inherit;transition-property:color,opacity}.v-card .v-card-text{line-height:1.25rem}.v-card--density-comfortable .v-card-text{line-height:1.2rem}.v-card--density-compact .v-card-text{line-height:1.15rem}.v-card-content{flex:1 1 auto;padding:1rem}.v-card-title{align-items:center;display:flex;flex:none;font-size:1.25rem;font-weight:500;hyphens:auto;letter-spacing:.0125em;overflow-wrap:normal;padding:.5rem 1rem;text-transform:none;word-break:normal;word-wrap:break-word}.v-card .v-card-title{line-height:2rem}.v-card--density-comfortable .v-card-title{line-height:1.75rem}.v-card--density-compact .v-card-title{line-height:1.55rem}.v-card-header .v-card-title{padding:0}.v-card__overlay{background-color:currentColor;border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-card__overlay+.v-card-media{border-top-left-radius:inherit;border-top-right-radius:inherit}.v-app-bar{display:flex}.v-app-bar.v-toolbar{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-app-bar.v-toolbar:not(.v-toolbar--flat){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.v-toolbar{align-items:flex-start;display:flex;flex-direction:column;justify-content:space-between;max-width:100%;overflow:hidden;padding-inline-end:calc(16px + var(--v-scrollbar-offset));padding-inline-start:16px;position:relative;transition-property:height,transform,max-width;transition:.2s cubic-bezier(.4,0,.2,1);box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:0;background:rgb(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-toolbar--density-default .v-toolbar__content{padding-top:16px;padding-bottom:16px}.v-toolbar--density-comfortable .v-toolbar__content{padding-top:12px;padding-bottom:12px}.v-toolbar--density-compact .v-toolbar__content{padding-top:8px;padding-bottom:8px}.v-toolbar--density-prominent .v-toolbar__content{padding-top:4px;padding-bottom:4px}.v-toolbar--absolute{position:absolute}.v-toolbar--collapse{max-width:112px;overflow:hidden}.v-toolbar--collapse .v-toolbar-title{display:none}.v-toolbar--collapse.v-locale--is-ltr,.v-locale--is-ltr .v-toolbar--collapse{border-bottom-right-radius:24px}.v-toolbar--collapse.v-locale--is-rtl,.v-locale--is-rtl .v-toolbar--collapse{border-bottom-left-radius:24px}.v-toolbar--flat{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.v-toolbar--floating{display:inline-flex}.v-toolbar--rounded{border-radius:4px}.v-toolbar__content,.v-toolbar__extension{align-items:center;display:flex;flex:0 0 auto;position:relative;transition:inherit;width:100%}.v-toolbar--density-prominent .v-toolbar__content{align-items:flex-start}.v-toolbar__image{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.v-toolbar__prepend,.v-toolbar__append{display:flex}.v-toolbar__prepend{margin-inline-end:auto}.v-toolbar__prepend>.v-btn:first-child{margin-inline-start:-12px}.v-toolbar__prepend+.v-toolbar-title{padding-inline-start:20px}.v-toolbar__append{margin-inline-start:auto}.v-toolbar__append>.v-btn:last-child{margin-inline-end:-12px}.v-toolbar-title{flex:1 1;min-width:0;font-size:1.25rem;font-weight:400;letter-spacing:0;line-height:1.75rem;text-transform:none}.v-toolbar--density-prominent .v-toolbar-title{align-self:flex-end;padding-bottom:6px;font-size:1.5rem;font-weight:400;letter-spacing:0;line-height:2.25rem;text-transform:none}.v-toolbar-title__placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-toolbar-items{display:flex;height:inherit}.v-application{display:flex;background:rgb(var(--v-theme-background));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-application a{cursor:pointer}.v-application__wrap{flex:1 1 auto;backface-visibility:hidden;display:flex;flex-direction:column;min-height:100vh;max-width:100%;position:relative}@-moz-document url-prefix(){@media print{.v-application,.v-application__wrap{display:block}}}.v-main{display:flex;flex:1 0 auto;max-width:100%;transition:.2s cubic-bezier(.4,0,.2,1)}.v-main__wrap{flex:1 1 auto;max-width:100%;position:relative}@-moz-document url-prefix(){@media print{.v-main{display:block}}}.v-navigation-drawer{-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;height:100%;max-width:100%;pointer-events:auto;transition-duration:.2s;transition-property:box-shadow,transform,visibility,width;transition-timing-function:cubic-bezier(.4,0,.2,1);will-change:transform;position:absolute;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-navigation-drawer--border{border-width:thin;box-shadow:none}.v-navigation-drawer--rounded{border-radius:4px}.v-navigation-drawer--bottom{left:0;border-top-width:thin}.v-navigation-drawer--start{top:0;border-inline-end-width:thin}.v-navigation-drawer--start.v-locale--is-ltr,.v-locale--is-ltr .v-navigation-drawer--start{left:0;right:auto}.v-navigation-drawer--start.v-locale--is-rtl,.v-locale--is-rtl .v-navigation-drawer--start{left:auto;right:0}.v-navigation-drawer--end{top:0;border-inline-start-width:thin}.v-navigation-drawer--end.v-locale--is-ltr,.v-locale--is-ltr .v-navigation-drawer--end{left:auto;right:0}.v-navigation-drawer--end.v-locale--is-rtl,.v-locale--is-rtl .v-navigation-drawer--end{left:0;right:auto}.v-navigation-drawer--floating{border:none}.v-navigation-drawer--temporary{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.v-navigation-drawer__content{flex:0 1 auto;height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}.v-navigation-drawer__img{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.v-navigation-drawer__img img{height:inherit;object-fit:cover;width:inherit}.v-navigation-drawer__scrim{position:absolute;width:100%;height:100%;background:black;opacity:.2;transition:opacity .2s cubic-bezier(.4,0,.2,1);z-index:1} diff --git a/docs/assets/vendor.8ba99e43.js b/docs/assets/vendor.8ba99e43.js new file mode 100644 index 0000000..42d3b21 --- /dev/null +++ b/docs/assets/vendor.8ba99e43.js @@ -0,0 +1,31 @@ +var Gg=Object.defineProperty,Zg=Object.defineProperties;var Jg=Object.getOwnPropertyDescriptors;var $s=Object.getOwnPropertySymbols;var zl=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable;var Nl=(t,e,n)=>e in t?Gg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,M=(t,e)=>{for(var n in e||(e={}))zl.call(e,n)&&Nl(t,n,e[n]);if($s)for(var n of $s(e))Hl.call(e,n)&&Nl(t,n,e[n]);return t},lt=(t,e)=>Zg(t,Jg(e));var cn=(t,e)=>{var n={};for(var i in t)zl.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&$s)for(var i of $s(t))e.indexOf(i)<0&&Hl.call(t,i)&&(n[i]=t[i]);return n};function Ma(t,e){const n=Object.create(null),i=t.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const Qg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",tm=Ma(Qg);function bd(t){return!!t||t===""}function Pa(t){if(tt(t)){const e={};for(let n=0;n{if(n){const i=n.split(nm);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Aa(t){let e="";if(Dt(t))e=t;else if(tt(t))for(let n=0;njn(n,e))}const eC=t=>Dt(t)?t:t==null?"":tt(t)||Ot(t)&&(t.toString===xd||!ot(t.toString))?JSON.stringify(t,yd,2):String(t),yd=(t,e)=>e&&e.__v_isRef?yd(t,e.value):hi(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:Pi(e)?{[`Set(${e.size})`]:[...e.values()]}:Ot(e)&&!tt(e)&&!Sd(e)?String(e):e,_t={},fi=[],Pe=()=>{},om=()=>!1,rm=/^on[^a-z]/,Ho=t=>rm.test(t),Ea=t=>t.startsWith("onUpdate:"),zt=Object.assign,Oa=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},am=Object.prototype.hasOwnProperty,ft=(t,e)=>am.call(t,e),tt=Array.isArray,hi=t=>Wo(t)==="[object Map]",Pi=t=>Wo(t)==="[object Set]",Wl=t=>t instanceof Date,ot=t=>typeof t=="function",Dt=t=>typeof t=="string",La=t=>typeof t=="symbol",Ot=t=>t!==null&&typeof t=="object",_d=t=>Ot(t)&&ot(t.then)&&ot(t.catch),xd=Object.prototype.toString,Wo=t=>xd.call(t),lm=t=>Wo(t).slice(8,-1),Sd=t=>Wo(t)==="[object Object]",Ia=t=>Dt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,lo=Ma(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},cm=/-(\w)/g,be=jo(t=>t.replace(cm,(e,n)=>n?n.toUpperCase():"")),um=/\B([A-Z])/g,Ai=jo(t=>t.replace(um,"-$1").toLowerCase()),xn=jo(t=>t.charAt(0).toUpperCase()+t.slice(1)),co=jo(t=>t?`on${xn(t)}`:""),ds=(t,e)=>!Object.is(t,e),uo=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},fs=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let jl;const dm=()=>jl||(jl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let we;class wd{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&we&&(this.parent=we,this.index=(we.scopes||(we.scopes=[])).push(this)-1)}run(e){if(this.active)try{return we=this,e()}finally{we=this.parent}}on(){we=this}off(){we=this.parent}stop(e){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Cd=t=>(t.w&bn)>0,kd=t=>(t.n&bn)>0,hm=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i{(c==="length"||c>=i)&&a.push(l)});else switch(n!==void 0&&a.push(r.get(n)),e){case"add":tt(t)?Ia(n)&&a.push(r.get("length")):(a.push(r.get(Nn)),hi(t)&&a.push(r.get(Nr)));break;case"delete":tt(t)||(a.push(r.get(Nn)),hi(t)&&a.push(r.get(Nr)));break;case"set":hi(t)&&a.push(r.get(Nn));break}if(a.length===1)a[0]&&zr(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);zr(Da(l))}}function zr(t,e){for(const n of tt(t)?t:[...t])(n!==Ve||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const mm=Ma("__proto__,__v_isRef,__isVue"),Ad=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(La)),pm=$a(),vm=$a(!1,!0),bm=$a(!0),Yl=ym();function ym(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=st(this);for(let o=0,r=this.length;o{t[e]=function(...n){Zn();const i=st(this)[e].apply(this,n);return Jn(),i}}),t}function $a(t=!1,e=!1){return function(i,s,o){if(s==="__v_isReactive")return!t;if(s==="__v_isReadonly")return t;if(s==="__v_isShallow")return e;if(s==="__v_raw"&&o===(t?e?Rm:Id:e?Ld:Od).get(i))return i;const r=tt(i);if(!t&&r&&ft(Yl,s))return Reflect.get(Yl,s,o);const a=Reflect.get(i,s,o);return(La(s)?Ad.has(s):mm(s))||(t||ce(i,"get",s),e)?a:Pt(a)?!r||!Ia(s)?a.value:a:Ot(a)?t?Ba(a):ke(a):a}}const _m=Td(),xm=Td(!0);function Td(t=!1){return function(n,i,s,o){let r=n[i];if(hs(r)&&Pt(r)&&!Pt(s))return!1;if(!t&&!hs(s)&&(Rd(s)||(s=st(s),r=st(r)),!tt(n)&&Pt(r)&&!Pt(s)))return r.value=s,!0;const a=tt(n)&&Ia(i)?Number(i)t,Uo=t=>Reflect.getPrototypeOf(t);function Fs(t,e,n=!1,i=!1){t=t.__v_raw;const s=st(t),o=st(e);e!==o&&!n&&ce(s,"get",e),!n&&ce(s,"get",o);const{has:r}=Uo(s),a=i?Fa:n?za:gs;if(r.call(s,e))return a(t.get(e));if(r.call(s,o))return a(t.get(o));t!==s&&t.get(e)}function Vs(t,e=!1){const n=this.__v_raw,i=st(n),s=st(t);return t!==s&&!e&&ce(i,"has",t),!e&&ce(i,"has",s),t===s?n.has(t):n.has(t)||n.has(s)}function Bs(t,e=!1){return t=t.__v_raw,!e&&ce(st(t),"iterate",Nn),Reflect.get(t,"size",t)}function Xl(t){t=st(t);const e=st(this);return Uo(e).has.call(e,t)||(e.add(t),Ze(e,"add",t,t)),this}function Kl(t,e){e=st(e);const n=st(this),{has:i,get:s}=Uo(n);let o=i.call(n,t);o||(t=st(t),o=i.call(n,t));const r=s.call(n,t);return n.set(t,e),o?ds(e,r)&&Ze(n,"set",t,e):Ze(n,"add",t,e),this}function ql(t){const e=st(this),{has:n,get:i}=Uo(e);let s=n.call(e,t);s||(t=st(t),s=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return s&&Ze(e,"delete",t,void 0),o}function Gl(){const t=st(this),e=t.size!==0,n=t.clear();return e&&Ze(t,"clear",void 0,void 0),n}function Ns(t,e){return function(i,s){const o=this,r=o.__v_raw,a=st(r),l=e?Fa:t?za:gs;return!t&&ce(a,"iterate",Nn),r.forEach((c,u)=>i.call(s,l(c),l(u),o))}}function zs(t,e,n){return function(...i){const s=this.__v_raw,o=st(s),r=hi(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=s[t](...i),u=n?Fa:e?za:gs;return!e&&ce(o,"iterate",l?Nr:Nn),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function un(t){return function(...e){return t==="delete"?!1:this}}function Pm(){const t={get(o){return Fs(this,o)},get size(){return Bs(this)},has:Vs,add:Xl,set:Kl,delete:ql,clear:Gl,forEach:Ns(!1,!1)},e={get(o){return Fs(this,o,!1,!0)},get size(){return Bs(this)},has:Vs,add:Xl,set:Kl,delete:ql,clear:Gl,forEach:Ns(!1,!0)},n={get(o){return Fs(this,o,!0)},get size(){return Bs(this,!0)},has(o){return Vs.call(this,o,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:Ns(!0,!1)},i={get(o){return Fs(this,o,!0,!0)},get size(){return Bs(this,!0)},has(o){return Vs.call(this,o,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:Ns(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=zs(o,!1,!1),n[o]=zs(o,!0,!1),e[o]=zs(o,!1,!0),i[o]=zs(o,!0,!0)}),[t,n,e,i]}const[Am,Tm,Em,Om]=Pm();function Va(t,e){const n=e?t?Om:Em:t?Tm:Am;return(i,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get(ft(n,s)&&s in i?n:i,s,o)}const Lm={get:Va(!1,!1)},Im={get:Va(!1,!0)},Dm={get:Va(!0,!1)},Od=new WeakMap,Ld=new WeakMap,Id=new WeakMap,Rm=new WeakMap;function $m(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fm(t){return t.__v_skip||!Object.isExtensible(t)?0:$m(lm(t))}function ke(t){return hs(t)?t:Na(t,!1,Ed,Lm,Od)}function Dd(t){return Na(t,!1,Mm,Im,Ld)}function Ba(t){return Na(t,!0,km,Dm,Id)}function Na(t,e,n,i,s){if(!Ot(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const r=Fm(t);if(r===0)return t;const a=new Proxy(t,r===2?i:n);return s.set(t,a),a}function gi(t){return hs(t)?gi(t.__v_raw):!!(t&&t.__v_isReactive)}function hs(t){return!!(t&&t.__v_isReadonly)}function Rd(t){return!!(t&&t.__v_isShallow)}function Ji(t){return gi(t)||hs(t)}function st(t){const e=t&&t.__v_raw;return e?st(e):t}function $d(t){return mo(t,"__v_skip",!0),t}const gs=t=>Ot(t)?ke(t):t,za=t=>Ot(t)?Ba(t):t;function Fd(t){vn&&Ve&&(t=st(t),Pd(t.dep||(t.dep=Da())))}function Vd(t,e){t=st(t),t.dep&&zr(t.dep)}function Pt(t){return!!(t&&t.__v_isRef===!0)}function z(t){return Nd(t,!1)}function Bd(t){return Nd(t,!0)}function Nd(t,e){return Pt(t)?t:new Vm(t,e)}class Vm{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:st(e),this._value=n?e:gs(e)}get value(){return Fd(this),this._value}set value(e){e=this.__v_isShallow?e:st(e),ds(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:gs(e),Vd(this))}}function mi(t){return Pt(t)?t.value:t}const Bm={get:(t,e,n)=>mi(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return Pt(s)&&!Pt(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function zd(t){return gi(t)?t:new Proxy(t,Bm)}function Hd(t){const e=tt(t)?new Array(t.length):{};for(const n in t)e[n]=et(t,n);return e}class Nm{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function et(t,e,n){const i=t[e];return Pt(i)?i:new Nm(t,e,n)}class zm{constructor(e,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ra(e,()=>{this._dirty||(this._dirty=!0,Vd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const e=st(this);return Fd(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Hm(t,e,n=!1){let i,s;const o=ot(t);return o?(i=t,s=Pe):(i=t.get,s=t.set),new zm(i,s,o||!s,n)}Promise.resolve();const Qi=[];function Wm(t,...e){Zn();const n=Qi.length?Qi[Qi.length-1].component:null,i=n&&n.appContext.config.warnHandler,s=jm();if(i)Ge(i,n,11,[t+e.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Cf(n,o.type)}>`).join(` +`),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(` +`,...Um(s)),console.warn(...o)}Jn()}function jm(){let t=Qi[Qi.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function Um(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[` +`],...Ym(n))}),e}function Ym({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,s=` at <${Cf(t.component,t.type,i)}`,o=">"+n;return t.props?[s,...Xm(t.props),o]:[s+o]}function Xm(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Wd(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Wd(t,e,n){return Dt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Pt(e)?(e=Wd(t,st(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):ot(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=st(e),n?e:[`${t}=`,e])}function Ge(t,e,n,i){let s;try{s=i?t(...i):t()}catch(o){Yo(o,e,n)}return s}function ve(t,e,n,i){if(ot(t)){const o=Ge(t,e,n,i);return o&&_d(o)&&o.catch(r=>{Yo(r,e,n)}),o}const s=[];for(let o=0;o>>1;ms(re[i])Xe&&re.splice(e,1)}function Xd(t,e,n,i){tt(t)?n.push(...t):(!e||!e.includes(t,t.allowRecurse?i+1:i))&&n.push(t),Yd()}function Zm(t){Xd(t,Ki,ts,ui)}function Jm(t){Xd(t,hn,es,di)}function Wa(t,e=null){if(ts.length){for(Wr=e,Ki=[...new Set(ts)],ts.length=0,ui=0;uims(n)-ms(i)),di=0;dit.id==null?1/0:t.id;function qd(t){Hr=!1,po=!0,Wa(t),re.sort((n,i)=>ms(n)-ms(i));const e=Pe;try{for(Xe=0;Xeh.trim()):d&&(s=n.map(fs))}let a,l=i[a=co(e)]||i[a=co(be(e))];!l&&o&&(l=i[a=co(Ai(e))]),l&&ve(l,t,6,s);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,ve(c,t,6,s)}}function Gd(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(s!==void 0)return s;const o=t.emits;let r={},a=!1;if(!ot(t)){const l=c=>{const u=Gd(c,e,!0);u&&(a=!0,zt(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(i.set(t,null),null):(tt(o)?o.forEach(l=>r[l]=null):zt(r,o),i.set(t,r),r)}function ja(t,e){return!t||!Ho(e)?!1:(e=e.slice(2).replace(/Once$/,""),ft(t,e[0].toLowerCase()+e.slice(1))||ft(t,Ai(e))||ft(t,e))}let me=null,Zd=null;function vo(t){const e=me;return me=t,Zd=t&&t.type.__scopeId||null,e}function tp(t,e=me,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&lc(-1);const o=vo(e),r=t(...s);return vo(o),i._d&&lc(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function pr(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:o,propsOptions:[r],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:g,inheritAttrs:m}=t;let p,v;const y=vo(t);try{if(n.shapeFlag&4){const S=s||i;p=Fe(u.call(S,S,d,o,h,f,g)),v=l}else{const S=e;p=Fe(S.length>1?S(o,{attrs:l,slots:a,emit:c}):S(o,null)),v=e.props?l:ep(l)}}catch(S){is.length=0,Yo(S,t,1),p=b(Ne)}let C=p;if(v&&m!==!1){const S=Object.keys(v),{shapeFlag:w}=C;S.length&&w&7&&(r&&S.some(Ea)&&(v=np(v,r)),C=xi(C,v))}return n.dirs&&(C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),p=C,vo(y),p}const ep=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ho(n))&&((e||(e={}))[n]=t[n]);return e},np=(t,e)=>{const n={};for(const i in t)(!Ea(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function ip(t,e,n){const{props:i,children:s,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?Zl(i,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;function rp(t,e){e&&e.pendingBranch?tt(t)?e.effects.push(...t):e.effects.push(t):Jm(t)}function Qt(t,e){if(Nt){let n=Nt.provides;const i=Nt.parent&&Nt.parent.provides;i===n&&(n=Nt.provides=Object.create(i)),n[t]=e}}function At(t,e,n=!1){const i=Nt||me;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&ot(e)?e.call(i.proxy):e}}function Qn(t,e){return Ua(t,null,e)}const Jl={};function wt(t,e,n){return Ua(t,e,n)}function Ua(t,e,{immediate:n,deep:i,flush:s,onTrack:o,onTrigger:r}=_t){const a=Nt;let l,c=!1,u=!1;if(Pt(t)?(l=()=>t.value,c=Rd(t)):gi(t)?(l=()=>t,i=!0):tt(t)?(u=!0,c=t.some(gi),l=()=>t.map(v=>{if(Pt(v))return v.value;if(gi(v))return Fn(v);if(ot(v))return Ge(v,a,2)})):ot(t)?e?l=()=>Ge(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),ve(t,a,3,[f])}:l=Pe,e&&i){const v=l;l=()=>Fn(v())}let d,f=v=>{d=p.onStop=()=>{Ge(v,a,4)}};if(bs)return f=Pe,e?n&&ve(e,a,3,[l(),u?[]:void 0,f]):l(),Pe;let h=u?[]:Jl;const g=()=>{if(!!p.active)if(e){const v=p.run();(i||c||(u?v.some((y,C)=>ds(y,h[C])):ds(v,h)))&&(d&&d(),ve(e,a,3,[v,h===Jl?void 0:h,f]),h=v)}else p.run()};g.allowRecurse=!!e;let m;s==="sync"?m=g:s==="post"?m=()=>te(g,a&&a.suspense):m=()=>{!a||a.isMounted?Zm(g):g()};const p=new Ra(l,m);return e?n?g():h=p.run():s==="post"?te(p.run.bind(p),a&&a.suspense):p.run(),()=>{p.stop(),a&&a.scope&&Oa(a.scope.effects,p)}}function ap(t,e,n){const i=this.proxy,s=Dt(t)?t.includes(".")?Jd(i,t):()=>i[t]:t.bind(i,i);let o;ot(e)?o=e:(o=e.handler,n=e);const r=Nt;Si(this);const a=Ua(s,o.bind(i),n);return r?Si(r):Hn(),a}function Jd(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s{Fn(n,e)});else if(Sd(t))for(const n in t)Fn(t[n],e);return t}function Qd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return tn(()=>{t.isMounted=!0}),ue(()=>{t.isUnmounting=!0}),t}const de=[Function,Array],lp={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:de,onEnter:de,onAfterEnter:de,onEnterCancelled:de,onBeforeLeave:de,onLeave:de,onAfterLeave:de,onLeaveCancelled:de,onBeforeAppear:de,onAppear:de,onAfterAppear:de,onAppearCancelled:de},setup(t,{slots:e}){const n=Zo(),i=Qd();let s;return()=>{const o=e.default&&Ya(e.default(),!0);if(!o||!o.length)return;const r=st(t),{mode:a}=r,l=o[0];if(i.isLeaving)return vr(l);const c=Ql(l);if(!c)return vr(l);const u=ps(c,r,i,n);vs(c,u);const d=n.subTree,f=d&&Ql(d);let h=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();s===void 0?s=m:m!==s&&(s=m,h=!0)}if(f&&f.type!==Ne&&(!Rn(c,f)||h)){const m=ps(f,r,i,n);if(vs(f,m),a==="out-in")return i.isLeaving=!0,m.afterLeave=()=>{i.isLeaving=!1,n.update()},vr(l);a==="in-out"&&c.type!==Ne&&(m.delayLeave=(p,v,y)=>{const C=ef(i,f);C[String(f.key)]=f,p._leaveCb=()=>{v(),p._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return l}}},tf=lp;function ef(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function ps(t,e,n,i){const{appear:s,mode:o,persisted:r=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:p,onAfterAppear:v,onAppearCancelled:y}=e,C=String(t.key),S=ef(n,t),w=(x,T)=>{x&&ve(x,i,9,T)},A={mode:o,persisted:r,beforeEnter(x){let T=a;if(!n.isMounted)if(s)T=m||a;else return;x._leaveCb&&x._leaveCb(!0);const E=S[C];E&&Rn(t,E)&&E.el._leaveCb&&E.el._leaveCb(),w(T,[x])},enter(x){let T=l,E=c,L=u;if(!n.isMounted)if(s)T=p||l,E=v||c,L=y||u;else return;let D=!1;const O=x._enterCb=W=>{D||(D=!0,W?w(L,[x]):w(E,[x]),A.delayedLeave&&A.delayedLeave(),x._enterCb=void 0)};T?(T(x,O),T.length<=1&&O()):O()},leave(x,T){const E=String(t.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return T();w(d,[x]);let L=!1;const D=x._leaveCb=O=>{L||(L=!0,T(),O?w(g,[x]):w(h,[x]),x._leaveCb=void 0,S[E]===t&&delete S[E])};S[E]=t,f?(f(x,D),f.length<=1&&D()):D()},clone(x){return ps(x,e,n,i)}};return A}function vr(t){if(Xo(t))return t=xi(t),t.children=null,t}function Ql(t){return Xo(t)?t.children?t.children[0]:void 0:t}function vs(t,e){t.shapeFlag&6&&t.component?vs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ya(t,e=!1){let n=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Xo=t=>t.type.__isKeepAlive;function nf(t,e){of(t,"a",e)}function sf(t,e){of(t,"da",e)}function of(t,e,n=Nt){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(Ko(e,i,n),n){let s=n.parent;for(;s&&s.parent;)Xo(s.parent.vnode)&&cp(i,e,n,s),s=s.parent}}function cp(t,e,n,i){const s=Ko(e,t,i,!0);af(()=>{Oa(i[e],s)},n)}function Ko(t,e,n=Nt,i=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;Zn(),Si(n);const a=ve(e,n,t,r);return Hn(),Jn(),a});return i?s.unshift(o):s.push(o),o}}const Qe=t=>(e,n=Nt)=>(!bs||t==="sp")&&Ko(t,e,n),qo=Qe("bm"),tn=Qe("m"),up=Qe("bu"),rf=Qe("u"),ue=Qe("bum"),af=Qe("um"),dp=Qe("sp"),fp=Qe("rtg"),hp=Qe("rtc");function gp(t,e=Nt){Ko("ec",t,e)}let Ur=!0;function mp(t){const e=cf(t),n=t.proxy,i=t.ctx;Ur=!1,e.beforeCreate&&tc(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:m,deactivated:p,beforeDestroy:v,beforeUnmount:y,destroyed:C,unmounted:S,render:w,renderTracked:A,renderTriggered:x,errorCaptured:T,serverPrefetch:E,expose:L,inheritAttrs:D,components:O,directives:W,filters:J}=e;if(c&&pp(c,i,null,t.appContext.config.unwrapInjectedRef),r)for(const K in r){const q=r[K];ot(q)&&(i[K]=q.bind(n))}if(s){const K=s.call(n,n);Ot(K)&&(t.data=ke(K))}if(Ur=!0,o)for(const K in o){const q=o[K],at=ot(q)?q.bind(n,n):ot(q.get)?q.get.bind(n,n):Pe,gt=!ot(q)&&ot(q.set)?q.set.bind(n):Pe,mt=k({get:at,set:gt});Object.defineProperty(i,K,{enumerable:!0,configurable:!0,get:()=>mt.value,set:Rt=>mt.value=Rt})}if(a)for(const K in a)lf(a[K],i,n,K);if(l){const K=ot(l)?l.call(n):l;Reflect.ownKeys(K).forEach(q=>{Qt(q,K[q])})}u&&tc(u,t,"c");function B(K,q){tt(q)?q.forEach(at=>K(at.bind(n))):q&&K(q.bind(n))}if(B(qo,d),B(tn,f),B(up,h),B(rf,g),B(nf,m),B(sf,p),B(gp,T),B(hp,A),B(fp,x),B(ue,y),B(af,S),B(dp,E),tt(L))if(L.length){const K=t.exposed||(t.exposed={});L.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:at=>n[q]=at})})}else t.exposed||(t.exposed={});w&&t.render===Pe&&(t.render=w),D!=null&&(t.inheritAttrs=D),O&&(t.components=O),W&&(t.directives=W)}function pp(t,e,n=Pe,i=!1){tt(t)&&(t=Yr(t));for(const s in t){const o=t[s];let r;Ot(o)?"default"in o?r=At(o.from||s,o.default,!0):r=At(o.from||s):r=At(o),Pt(r)&&i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):e[s]=r}}function tc(t,e,n){ve(tt(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function lf(t,e,n,i){const s=i.includes(".")?Jd(n,i):()=>n[i];if(Dt(t)){const o=e[t];ot(o)&&wt(s,o)}else if(ot(t))wt(s,t.bind(n));else if(Ot(t))if(tt(t))t.forEach(o=>lf(o,e,n,i));else{const o=ot(t.handler)?t.handler.bind(n):e[t.handler];ot(o)&&wt(s,o,t)}}function cf(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(c=>bo(l,c,r,!0)),bo(l,e,r)),o.set(e,l),l}function bo(t,e,n,i=!1){const{mixins:s,extends:o}=e;o&&bo(t,o,n,!0),s&&s.forEach(r=>bo(t,r,n,!0));for(const r in e)if(!(i&&r==="expose")){const a=vp[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const vp={data:ec,props:Ln,emits:Ln,methods:Ln,computed:Ln,beforeCreate:Jt,created:Jt,beforeMount:Jt,mounted:Jt,beforeUpdate:Jt,updated:Jt,beforeDestroy:Jt,beforeUnmount:Jt,destroyed:Jt,unmounted:Jt,activated:Jt,deactivated:Jt,errorCaptured:Jt,serverPrefetch:Jt,components:Ln,directives:Ln,watch:yp,provide:ec,inject:bp};function ec(t,e){return e?t?function(){return zt(ot(t)?t.call(this,this):t,ot(e)?e.call(this,this):e)}:e:t}function bp(t,e){return Ln(Yr(t),Yr(e))}function Yr(t){if(tt(t)){const e={};for(let n=0;n0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=df(d,e,!0);zt(r,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return i.set(t,fi),fi;if(tt(o))for(let u=0;u-1,h[1]=m<0||g-1||ft(h,"default"))&&a.push(d)}}}const c=[r,a];return i.set(t,c),c}function nc(t){return t[0]!=="$"}function ic(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function sc(t,e){return ic(t)===ic(e)}function oc(t,e){return tt(e)?e.findIndex(n=>sc(n,t)):ot(e)&&sc(e,t)?0:-1}const ff=t=>t[0]==="_"||t==="$stable",Ka=t=>tt(t)?t.map(Fe):[Fe(t)],Sp=(t,e,n)=>{const i=tp((...s)=>Ka(e(...s)),n);return i._c=!1,i},hf=(t,e,n)=>{const i=t._ctx;for(const s in t){if(ff(s))continue;const o=t[s];if(ot(o))e[s]=Sp(s,o,i);else if(o!=null){const r=Ka(o);e[s]=()=>r}}},gf=(t,e)=>{const n=Ka(e);t.slots.default=()=>n},wp=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=st(e),mo(e,"_",n)):hf(e,t.slots={})}else t.slots={},e&&gf(t,e);mo(t.slots,Go,1)},Cp=(t,e,n)=>{const{vnode:i,slots:s}=t;let o=!0,r=_t;if(i.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:(zt(s,e),!n&&a===1&&delete s._):(o=!e.$stable,hf(e,s)),r=e}else e&&(gf(t,e),r={default:1});if(o)for(const a in s)!ff(a)&&!(a in r)&&delete s[a]};function qt(t,e){const n=me;if(n===null)return t;const i=n.proxy,s=t.dirs||(t.dirs=[]);for(let o=0;oKr(f,e&&(tt(e)?e[h]:e),n,i,s));return}if(jr(i)&&!s)return;const o=i.shapeFlag&4?tl(i.component)||i.component.proxy:i.el,r=s?null:o,{i:a,r:l}=t,c=e&&e.r,u=a.refs===_t?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Dt(c)?(u[c]=null,ft(d,c)&&(d[c]=null)):Pt(c)&&(c.value=null)),ot(l))Ge(l,a,12,[r,u]);else{const f=Dt(l),h=Pt(l);if(f||h){const g=()=>{if(t.f){const m=f?u[l]:l.value;s?tt(m)&&Oa(m,o):tt(m)?m.includes(o)||m.push(o):f?u[l]=[o]:(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=r,ft(d,l)&&(d[l]=r)):Pt(l)&&(l.value=r,t.k&&(u[t.k]=r))};r?(g.id=-1,te(g,n)):g()}}}const te=rp;function Pp(t){return Ap(t)}function Ap(t,e){const n=dm();n.__VUE__=!0;const{insert:i,remove:s,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Pe,cloneNode:g,insertStaticContent:m}=t,p=(_,P,I,$=null,R=null,N=null,U=!1,V=null,H=!!P.dynamicChildren)=>{if(_===P)return;_&&!Rn(_,P)&&($=si(_),$t(_,R,N,!0),_=null),P.patchFlag===-2&&(H=!1,P.dynamicChildren=null);const{type:F,ref:G,shapeFlag:X}=P;switch(F){case Ja:v(_,P,I,$);break;case Ne:y(_,P,I,$);break;case br:_==null&&C(P,I,$,U);break;case Lt:W(_,P,I,$,R,N,U,V,H);break;default:X&1?A(_,P,I,$,R,N,U,V,H):X&6?J(_,P,I,$,R,N,U,V,H):(X&64||X&128)&&F.process(_,P,I,$,R,N,U,V,H,ln)}G!=null&&R&&Kr(G,_&&_.ref,N,P||_,!P)},v=(_,P,I,$)=>{if(_==null)i(P.el=a(P.children),I,$);else{const R=P.el=_.el;P.children!==_.children&&c(R,P.children)}},y=(_,P,I,$)=>{_==null?i(P.el=l(P.children||""),I,$):P.el=_.el},C=(_,P,I,$)=>{[_.el,_.anchor]=m(_.children,P,I,$,_.el,_.anchor)},S=({el:_,anchor:P},I,$)=>{let R;for(;_&&_!==P;)R=f(_),i(_,I,$),_=R;i(P,I,$)},w=({el:_,anchor:P})=>{let I;for(;_&&_!==P;)I=f(_),s(_),_=I;s(P)},A=(_,P,I,$,R,N,U,V,H)=>{U=U||P.type==="svg",_==null?x(P,I,$,R,N,U,V,H):L(_,P,R,N,U,V,H)},x=(_,P,I,$,R,N,U,V)=>{let H,F;const{type:G,props:X,shapeFlag:Z,transition:nt,patchFlag:dt,dirs:Mt}=_;if(_.el&&g!==void 0&&dt===-1)H=_.el=g(_.el);else{if(H=_.el=r(_.type,N,X&&X.is,X),Z&8?u(H,_.children):Z&16&&E(_.children,H,null,$,R,N&&G!=="foreignObject",U,V),Mt&&Mn(_,null,$,"created"),X){for(const Ct in X)Ct!=="value"&&!lo(Ct)&&o(H,Ct,null,X[Ct],N,_.children,$,R,se);"value"in X&&o(H,"value",null,X.value),(F=X.onVnodeBeforeMount)&&Re(F,$,_)}T(H,_,_.scopeId,U,$)}Mt&&Mn(_,null,$,"beforeMount");const yt=(!R||R&&!R.pendingBranch)&&nt&&!nt.persisted;yt&&nt.beforeEnter(H),i(H,P,I),((F=X&&X.onVnodeMounted)||yt||Mt)&&te(()=>{F&&Re(F,$,_),yt&&nt.enter(H),Mt&&Mn(_,null,$,"mounted")},R)},T=(_,P,I,$,R)=>{if(I&&h(_,I),$)for(let N=0;N<$.length;N++)h(_,$[N]);if(R){let N=R.subTree;if(P===N){const U=R.vnode;T(_,U,U.scopeId,U.slotScopeIds,R.parent)}}},E=(_,P,I,$,R,N,U,V,H=0)=>{for(let F=H;F<_.length;F++){const G=_[F]=V?gn(_[F]):Fe(_[F]);p(null,G,P,I,$,R,N,U,V)}},L=(_,P,I,$,R,N,U)=>{const V=P.el=_.el;let{patchFlag:H,dynamicChildren:F,dirs:G}=P;H|=_.patchFlag&16;const X=_.props||_t,Z=P.props||_t;let nt;I&&Pn(I,!1),(nt=Z.onVnodeBeforeUpdate)&&Re(nt,I,P,_),G&&Mn(P,_,I,"beforeUpdate"),I&&Pn(I,!0);const dt=R&&P.type!=="foreignObject";if(F?D(_.dynamicChildren,F,V,I,$,dt,N):U||at(_,P,V,null,I,$,dt,N,!1),H>0){if(H&16)O(V,P,X,Z,I,$,R);else if(H&2&&X.class!==Z.class&&o(V,"class",null,Z.class,R),H&4&&o(V,"style",X.style,Z.style,R),H&8){const Mt=P.dynamicProps;for(let yt=0;yt{nt&&Re(nt,I,P,_),G&&Mn(P,_,I,"updated")},$)},D=(_,P,I,$,R,N,U)=>{for(let V=0;V{if(I!==$){for(const V in $){if(lo(V))continue;const H=$[V],F=I[V];H!==F&&V!=="value"&&o(_,V,F,H,U,P.children,R,N,se)}if(I!==_t)for(const V in I)!lo(V)&&!(V in $)&&o(_,V,I[V],null,U,P.children,R,N,se);"value"in $&&o(_,"value",I.value,$.value)}},W=(_,P,I,$,R,N,U,V,H)=>{const F=P.el=_?_.el:a(""),G=P.anchor=_?_.anchor:a("");let{patchFlag:X,dynamicChildren:Z,slotScopeIds:nt}=P;nt&&(V=V?V.concat(nt):nt),_==null?(i(F,I,$),i(G,I,$),E(P.children,I,G,R,N,U,V,H)):X>0&&X&64&&Z&&_.dynamicChildren?(D(_.dynamicChildren,Z,I,R,N,U,V),(P.key!=null||R&&P===R.subTree)&&qa(_,P,!0)):at(_,P,I,G,R,N,U,V,H)},J=(_,P,I,$,R,N,U,V,H)=>{P.slotScopeIds=V,_==null?P.shapeFlag&512?R.ctx.activate(P,I,$,U,H):j(P,I,$,R,N,U,H):B(_,P,H)},j=(_,P,I,$,R,N,U)=>{const V=_.component=Up(_,$,R);if(Xo(_)&&(V.ctx.renderer=ln),Yp(V),V.asyncDep){if(R&&R.registerDep(V,K),!_.el){const H=V.subTree=b(Ne);y(null,H,P,I)}return}K(V,_,P,I,R,N,U)},B=(_,P,I)=>{const $=P.component=_.component;if(ip(_,P,I))if($.asyncDep&&!$.asyncResolved){q($,P,I);return}else $.next=P,Gm($.update),$.update();else P.component=_.component,P.el=_.el,$.vnode=P},K=(_,P,I,$,R,N,U)=>{const V=()=>{if(_.isMounted){let{next:G,bu:X,u:Z,parent:nt,vnode:dt}=_,Mt=G,yt;Pn(_,!1),G?(G.el=dt.el,q(_,G,U)):G=dt,X&&uo(X),(yt=G.props&&G.props.onVnodeBeforeUpdate)&&Re(yt,nt,G,dt),Pn(_,!0);const Ct=pr(_),Se=_.subTree;_.subTree=Ct,p(Se,Ct,d(Se.el),si(Se),_,R,N),G.el=Ct.el,Mt===null&&sp(_,Ct.el),Z&&te(Z,R),(yt=G.props&&G.props.onVnodeUpdated)&&te(()=>Re(yt,nt,G,dt),R)}else{let G;const{el:X,props:Z}=P,{bm:nt,m:dt,parent:Mt}=_,yt=jr(P);if(Pn(_,!1),nt&&uo(nt),!yt&&(G=Z&&Z.onVnodeBeforeMount)&&Re(G,Mt,P),Pn(_,!0),X&&Ri){const Ct=()=>{_.subTree=pr(_),Ri(X,_.subTree,_,R,null)};yt?P.type.__asyncLoader().then(()=>!_.isUnmounted&&Ct()):Ct()}else{const Ct=_.subTree=pr(_);p(null,Ct,I,$,_,R,N),P.el=Ct.el}if(dt&&te(dt,R),!yt&&(G=Z&&Z.onVnodeMounted)){const Ct=P;te(()=>Re(G,Mt,Ct),R)}P.shapeFlag&256&&_.a&&te(_.a,R),_.isMounted=!0,P=I=$=null}},H=_.effect=new Ra(V,()=>Ud(_.update),_.scope),F=_.update=H.run.bind(H);F.id=_.uid,Pn(_,!0),F()},q=(_,P,I)=>{P.component=_;const $=_.vnode.props;_.vnode=P,_.next=null,xp(_,P.props,$,I),Cp(_,P.children,I),Zn(),Wa(void 0,_.update),Jn()},at=(_,P,I,$,R,N,U,V,H=!1)=>{const F=_&&_.children,G=_?_.shapeFlag:0,X=P.children,{patchFlag:Z,shapeFlag:nt}=P;if(Z>0){if(Z&128){mt(F,X,I,$,R,N,U,V,H);return}else if(Z&256){gt(F,X,I,$,R,N,U,V,H);return}}nt&8?(G&16&&se(F,R,N),X!==F&&u(I,X)):G&16?nt&16?mt(F,X,I,$,R,N,U,V,H):se(F,R,N,!0):(G&8&&u(I,""),nt&16&&E(X,I,$,R,N,U,V,H))},gt=(_,P,I,$,R,N,U,V,H)=>{_=_||fi,P=P||fi;const F=_.length,G=P.length,X=Math.min(F,G);let Z;for(Z=0;ZG?se(_,R,N,!0,!1,X):E(P,I,$,R,N,U,V,H,X)},mt=(_,P,I,$,R,N,U,V,H)=>{let F=0;const G=P.length;let X=_.length-1,Z=G-1;for(;F<=X&&F<=Z;){const nt=_[F],dt=P[F]=H?gn(P[F]):Fe(P[F]);if(Rn(nt,dt))p(nt,dt,I,null,R,N,U,V,H);else break;F++}for(;F<=X&&F<=Z;){const nt=_[X],dt=P[Z]=H?gn(P[Z]):Fe(P[Z]);if(Rn(nt,dt))p(nt,dt,I,null,R,N,U,V,H);else break;X--,Z--}if(F>X){if(F<=Z){const nt=Z+1,dt=ntZ)for(;F<=X;)$t(_[F],R,N,!0),F++;else{const nt=F,dt=F,Mt=new Map;for(F=dt;F<=Z;F++){const oe=P[F]=H?gn(P[F]):Fe(P[F]);oe.key!=null&&Mt.set(oe.key,F)}let yt,Ct=0;const Se=Z-dt+1;let oi=!1,Fl=0;const $i=new Array(Se);for(F=0;F=Se){$t(oe,R,N,!0);continue}let De;if(oe.key!=null)De=Mt.get(oe.key);else for(yt=dt;yt<=Z;yt++)if($i[yt-dt]===0&&Rn(oe,P[yt])){De=yt;break}De===void 0?$t(oe,R,N,!0):($i[De-dt]=F+1,De>=Fl?Fl=De:oi=!0,p(oe,P[De],I,null,R,N,U,V,H),Ct++)}const Vl=oi?Tp($i):fi;for(yt=Vl.length-1,F=Se-1;F>=0;F--){const oe=dt+F,De=P[oe],Bl=oe+1{const{el:N,type:U,transition:V,children:H,shapeFlag:F}=_;if(F&6){Rt(_.component.subTree,P,I,$);return}if(F&128){_.suspense.move(P,I,$);return}if(F&64){U.move(_,P,I,ln);return}if(U===Lt){i(N,P,I);for(let X=0;XV.enter(N),R);else{const{leave:X,delayLeave:Z,afterLeave:nt}=V,dt=()=>i(N,P,I),Mt=()=>{X(N,()=>{dt(),nt&&nt()})};Z?Z(N,dt,Mt):Mt()}else i(N,P,I)},$t=(_,P,I,$=!1,R=!1)=>{const{type:N,props:U,ref:V,children:H,dynamicChildren:F,shapeFlag:G,patchFlag:X,dirs:Z}=_;if(V!=null&&Kr(V,null,I,_,!0),G&256){P.ctx.deactivate(_);return}const nt=G&1&&Z,dt=!jr(_);let Mt;if(dt&&(Mt=U&&U.onVnodeBeforeUnmount)&&Re(Mt,P,_),G&6)ie(_.component,I,$);else{if(G&128){_.suspense.unmount(I,$);return}nt&&Mn(_,null,P,"beforeUnmount"),G&64?_.type.remove(_,P,I,R,ln,$):F&&(N!==Lt||X>0&&X&64)?se(F,P,I,!1,!0):(N===Lt&&X&384||!R&&G&16)&&se(H,P,I),$&&Y(_)}(dt&&(Mt=U&&U.onVnodeUnmounted)||nt)&&te(()=>{Mt&&Re(Mt,P,_),nt&&Mn(_,null,P,"unmounted")},I)},Y=_=>{const{type:P,el:I,anchor:$,transition:R}=_;if(P===Lt){pt(I,$);return}if(P===br){w(_);return}const N=()=>{s(I),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(_.shapeFlag&1&&R&&!R.persisted){const{leave:U,delayLeave:V}=R,H=()=>U(I,N);V?V(_.el,N,H):H()}else N()},pt=(_,P)=>{let I;for(;_!==P;)I=f(_),s(_),_=I;s(P)},ie=(_,P,I)=>{const{bum:$,scope:R,update:N,subTree:U,um:V}=_;$&&uo($),R.stop(),N&&(N.active=!1,$t(U,_,P,I)),V&&te(V,P),te(()=>{_.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},se=(_,P,I,$=!1,R=!1,N=0)=>{for(let U=N;U<_.length;U++)$t(_[U],P,I,$,R)},si=_=>_.shapeFlag&6?si(_.component.subTree):_.shapeFlag&128?_.suspense.next():f(_.anchor||_.el),Rs=(_,P,I)=>{_==null?P._vnode&&$t(P._vnode,null,null,!0):p(P._vnode||null,_,P,null,null,null,I),Kd(),P._vnode=_},ln={p,um:$t,m:Rt,r:Y,mt:j,mc:E,pc:at,pbc:D,n:si,o:t};let Di,Ri;return e&&([Di,Ri]=e(ln)),{render:Rs,hydrate:Di,createApp:Mp(Rs,Di)}}function Pn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function qa(t,e,n=!1){const i=t.children,s=e.children;if(tt(i)&&tt(s))for(let o=0;o>1,t[n[a]]0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}const Ep=t=>t.__isTeleport,ns=t=>t&&(t.disabled||t.disabled===""),rc=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,qr=(t,e)=>{const n=t&&t.to;return Dt(n)?e?e(n):null:n},Op={__isTeleport:!0,process(t,e,n,i,s,o,r,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:g,createText:m,createComment:p}}=c,v=ns(e.props);let{shapeFlag:y,children:C,dynamicChildren:S}=e;if(t==null){const w=e.el=m(""),A=e.anchor=m("");h(w,n,i),h(A,n,i);const x=e.target=qr(e.props,g),T=e.targetAnchor=m("");x&&(h(T,x),r=r||rc(x));const E=(L,D)=>{y&16&&u(C,L,D,s,o,r,a,l)};v?E(n,A):x&&E(x,T)}else{e.el=t.el;const w=e.anchor=t.anchor,A=e.target=t.target,x=e.targetAnchor=t.targetAnchor,T=ns(t.props),E=T?n:A,L=T?w:x;if(r=r||rc(A),S?(f(t.dynamicChildren,S,E,s,o,r,a),qa(t,e,!0)):l||d(t,e,E,L,s,o,r,a,!1),v)T||Hs(e,n,w,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const D=e.target=qr(e.props,g);D&&Hs(e,D,null,c,0)}else T&&Hs(e,A,x,c,1)}},remove(t,e,n,i,{um:s,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=t;if(d&&o(u),(r||!ns(f))&&(o(c),a&16))for(let h=0;h0?zn||fi:null,Fp(),yo>0&&zn&&zn.push(t),t}function iC(t,e,n,i,s,o){return vf(yf(t,e,n,i,s,o,!0))}function Vp(t,e,n,i,s){return vf(b(t,e,n,i,s,!0))}function Gr(t){return t?t.__v_isVNode===!0:!1}function Rn(t,e){return t.type===e.type&&t.key===e.key}const Go="__vInternal",bf=({key:t})=>t!=null?t:null,fo=({ref:t,ref_key:e,ref_for:n})=>t!=null?Dt(t)||Pt(t)||ot(t)?{i:me,r:t,k:e,f:!!n}:t:null;function yf(t,e=null,n=null,i=0,s=null,o=t===Lt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&bf(e),ref:e&&fo(e),scopeId:Zd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(Qa(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=Dt(n)?8:16),yo>0&&!r&&zn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&zn.push(l),l}const b=Bp;function Bp(t,e=null,n=null,i=0,s=null,o=!1){if((!t||t===pf)&&(t=Ne),Gr(t)){const a=xi(t,e,!0);return n&&Qa(a,n),a}if(Jp(t)&&(t=t.__vccOpts),e){e=Np(e);let{class:a,style:l}=e;a&&!Dt(a)&&(e.class=Aa(a)),Ot(l)&&(Ji(l)&&!tt(l)&&(l=zt({},l)),e.style=Pa(l))}const r=Dt(t)?1:op(t)?128:Ep(t)?64:Ot(t)?4:ot(t)?2:0;return yf(t,e,n,i,s,r,o,!0)}function Np(t){return t?Ji(t)||Go in t?zt({},t):t:null}function xi(t,e,n=!1){const{props:i,ref:s,patchFlag:o,children:r}=t,a=e?It(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&bf(a),ref:e&&e.ref?n&&s?tt(s)?s.concat(fo(e)):[s,fo(e)]:fo(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Lt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&xi(t.ssContent),ssFallback:t.ssFallback&&xi(t.ssFallback),el:t.el,anchor:t.anchor}}function _f(t=" ",e=0){return b(Ja,null,t,e)}function sC(t="",e=!1){return e?($p(),Vp(Ne,null,t)):b(Ne,null,t)}function Fe(t){return t==null||typeof t=="boolean"?b(Ne):tt(t)?b(Lt,null,t.slice()):typeof t=="object"?gn(t):b(Ja,null,String(t))}function gn(t){return t.el===null||t.memo?t:xi(t)}function Qa(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(tt(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),Qa(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(Go in e)?e._ctx=me:s===3&&me&&(me.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ot(e)?(e={default:e,_ctx:me},n=32):(e=String(e),i&64?(n=16,e=[_f(e)]):n=8);t.children=e,t.shapeFlag|=n}function It(...t){const e={};for(let n=0;ne(r,a,void 0,o&&o[a]));else{const r=Object.keys(t);s=new Array(r.length);for(let a=0,l=r.length;at?xf(t)?tl(t)||t.proxy:Zr(t.parent):null,_o=zt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zr(t.parent),$root:t=>Zr(t.root),$emit:t=>t.emit,$options:t=>cf(t),$forceUpdate:t=>()=>Ud(t.update),$nextTick:t=>Sn.bind(t.proxy),$watch:t=>ap.bind(t)}),Hp={get({_:t},e){const{ctx:n,setupState:i,data:s,props:o,accessCache:r,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=r[e];if(h!==void 0)switch(h){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(i!==_t&&ft(i,e))return r[e]=1,i[e];if(s!==_t&&ft(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&ft(c,e))return r[e]=3,o[e];if(n!==_t&&ft(n,e))return r[e]=4,n[e];Ur&&(r[e]=0)}}const u=_o[e];let d,f;if(u)return e==="$attrs"&&ce(t,"get",e),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==_t&&ft(n,e))return r[e]=4,n[e];if(f=l.config.globalProperties,ft(f,e))return f[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:o}=t;return s!==_t&&ft(s,e)?(s[e]=n,!0):i!==_t&&ft(i,e)?(i[e]=n,!0):ft(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:o}},r){let a;return!!n[r]||t!==_t&&ft(t,r)||e!==_t&&ft(e,r)||(a=o[0])&&ft(a,r)||ft(i,r)||ft(_o,r)||ft(s.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?this.set(t,e,n.get(),null):n.value!=null&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},Wp=mf();let jp=0;function Up(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||Wp,o={uid:jp++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new wd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:df(i,s),emitsOptions:Gd(i,s),emit:null,emitted:null,propsDefaults:_t,inheritAttrs:i.inheritAttrs,ctx:_t,data:_t,props:_t,attrs:_t,slots:_t,refs:_t,setupState:_t,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Qm.bind(null,o),t.ce&&t.ce(o),o}let Nt=null;const Zo=()=>Nt||me,Si=t=>{Nt=t,t.scope.on()},Hn=()=>{Nt&&Nt.scope.off(),Nt=null};function xf(t){return t.vnode.shapeFlag&4}let bs=!1;function Yp(t,e=!1){bs=e;const{props:n,children:i}=t.vnode,s=xf(t);_p(t,n,s,e),wp(t,i);const o=s?Xp(t,e):void 0;return bs=!1,o}function Xp(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=$d(new Proxy(t.ctx,Hp));const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?qp(t):null;Si(t),Zn();const o=Ge(i,t,0,[t.props,s]);if(Jn(),Hn(),_d(o)){if(o.then(Hn,Hn),e)return o.then(r=>{cc(t,r,e)}).catch(r=>{Yo(r,t,0)});t.asyncDep=o}else cc(t,o,e)}else Sf(t,e)}function cc(t,e,n){ot(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ot(e)&&(t.setupState=zd(e)),Sf(t,n)}let uc;function Sf(t,e,n){const i=t.type;if(!t.render){if(!e&&uc&&!i.render){const s=i.template;if(s){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=zt(zt({isCustomElement:o,delimiters:a},r),l);i.render=uc(s,c)}}t.render=i.render||Pe}Si(t),Zn(),mp(t),Jn(),Hn()}function Kp(t){return new Proxy(t.attrs,{get(e,n){return ce(t,"get","$attrs"),e[n]}})}function qp(t){const e=i=>{t.exposed=i||{}};let n;return{get attrs(){return n||(n=Kp(t))},slots:t.slots,emit:t.emit,expose:e}}function tl(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(zd($d(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in _o)return _o[n](t)}}))}const Gp=/(?:^|[-_])(\w)/g,Zp=t=>t.replace(Gp,e=>e.toUpperCase()).replace(/[-_]/g,"");function wf(t){return ot(t)&&t.displayName||t.name}function Cf(t,e,n=!1){let i=wf(e);if(!i&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(i=s[1])}if(!i&&t&&t.parent){const s=o=>{for(const r in o)if(o[r]===e)return r};i=s(t.components||t.parent.type.components)||s(t.appContext.components)}return i?Zp(i):n?"App":"Anonymous"}function Jp(t){return ot(t)&&"__vccOpts"in t}const k=(t,e)=>Hm(t,e,bs);function Ae(t,e,n){const i=arguments.length;return i===2?Ot(e)&&!tt(e)?Gr(e)?b(t,null,[e]):b(t,e):b(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Gr(n)&&(n=[n]),b(t,e,n))}const Qp="3.2.31",tv="http://www.w3.org/2000/svg",$n=typeof document!="undefined"?document:null,dc=$n&&$n.createElement("template"),ev={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e?$n.createElementNS(tv,t):$n.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>$n.createTextNode(t),createComment:t=>$n.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>$n.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i,s,o){const r=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{dc.innerHTML=i?`${t}`:t;const a=dc.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function nv(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function iv(t,e,n){const i=t.style,s=Dt(n);if(n&&!s){for(const o in n)Jr(i,o,n[o]);if(e&&!Dt(e))for(const o in e)n[o]==null&&Jr(i,o,"")}else{const o=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=o)}}const fc=/\s*!important$/;function Jr(t,e,n){if(tt(n))n.forEach(i=>Jr(t,e,i));else if(e.startsWith("--"))t.setProperty(e,n);else{const i=sv(t,e);fc.test(n)?t.setProperty(Ai(i),n.replace(fc,""),"important"):t[i]=n}}const hc=["Webkit","Moz","ms"],yr={};function sv(t,e){const n=yr[e];if(n)return n;let i=be(e);if(i!=="filter"&&i in t)return yr[e]=i;i=xn(i);for(let s=0;sdocument.createEvent("Event").timeStamp&&(xo=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);kf=!!(t&&Number(t[1])<=53)}let Qr=0;const av=Promise.resolve(),lv=()=>{Qr=0},cv=()=>Qr||(av.then(lv),Qr=xo());function Ke(t,e,n,i){t.addEventListener(e,n,i)}function uv(t,e,n,i){t.removeEventListener(e,n,i)}function dv(t,e,n,i,s=null){const o=t._vei||(t._vei={}),r=o[e];if(i&&r)r.value=i;else{const[a,l]=fv(e);if(i){const c=o[e]=hv(i,s);Ke(t,a,c,l)}else r&&(uv(t,a,r,l),o[e]=void 0)}}const mc=/(?:Once|Passive|Capture)$/;function fv(t){let e;if(mc.test(t)){e={};let n;for(;n=t.match(mc);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Ai(t.slice(2)),e]}function hv(t,e){const n=i=>{const s=i.timeStamp||xo();(kf||s>=n.attached-1)&&ve(gv(i,n.value),e,5,[i])};return n.value=t,n.attached=cv(),n}function gv(t,e){if(tt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const pc=/^on[a-z]/,mv=(t,e,n,i,s=!1,o,r,a,l)=>{e==="class"?nv(t,i,s):e==="style"?iv(t,n,i):Ho(e)?Ea(e)||dv(t,e,n,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pv(t,e,i,s))?rv(t,e,i,o,r,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),ov(t,e,i,s))};function pv(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&pc.test(e)&&ot(n)):e==="spellcheck"||e==="draggable"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||pc.test(e)&&Dt(n)?!1:e in t}const dn="transition",Fi="animation",ze=(t,{slots:e})=>Ae(tf,Pf(t),e);ze.displayName="Transition";const Mf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vv=ze.props=zt({},tf.props,Mf),An=(t,e=[])=>{tt(t)?t.forEach(n=>n(...e)):t&&t(...e)},vc=t=>t?tt(t)?t.some(e=>e.length>1):t.length>1:!1;function Pf(t){const e={};for(const O in t)O in Mf||(e[O]=t[O]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,g=bv(s),m=g&&g[0],p=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:C,onLeave:S,onLeaveCancelled:w,onBeforeAppear:A=v,onAppear:x=y,onAppearCancelled:T=C}=e,E=(O,W,J)=>{In(O,W?u:a),In(O,W?c:r),J&&J()},L=(O,W)=>{In(O,h),In(O,f),W&&W()},D=O=>(W,J)=>{const j=O?x:y,B=()=>E(W,O,J);An(j,[W,B]),bc(()=>{In(W,O?l:o),je(W,O?u:a),vc(j)||yc(W,i,m,B)})};return zt(e,{onBeforeEnter(O){An(v,[O]),je(O,o),je(O,r)},onBeforeAppear(O){An(A,[O]),je(O,l),je(O,c)},onEnter:D(!1),onAppear:D(!0),onLeave(O,W){const J=()=>L(O,W);je(O,d),Tf(),je(O,f),bc(()=>{In(O,d),je(O,h),vc(S)||yc(O,i,p,J)}),An(S,[O,J])},onEnterCancelled(O){E(O,!1),An(C,[O])},onAppearCancelled(O){E(O,!0),An(T,[O])},onLeaveCancelled(O){L(O),An(w,[O])}})}function bv(t){if(t==null)return null;if(Ot(t))return[_r(t.enter),_r(t.leave)];{const e=_r(t);return[e,e]}}function _r(t){return fs(t)}function je(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function In(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function bc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yv=0;function yc(t,e,n,i){const s=t._endId=++yv,o=()=>{s===t._endId&&i()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=Af(t,e);if(!r)return i();const c=r+"end";let u=0;const d=()=>{t.removeEventListener(c,f),o()},f=h=>{h.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),s=i(dn+"Delay"),o=i(dn+"Duration"),r=_c(s,o),a=i(Fi+"Delay"),l=i(Fi+"Duration"),c=_c(a,l);let u=null,d=0,f=0;e===dn?r>0&&(u=dn,d=r,f=o.length):e===Fi?c>0&&(u=Fi,d=c,f=l.length):(d=Math.max(r,c),u=d>0?r>c?dn:Fi:null,f=u?u===dn?o.length:l.length:0);const h=u===dn&&/\b(transform|all)(,|$)/.test(n[dn+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function _c(t,e){for(;t.lengthxc(n)+xc(t[i])))}function xc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Tf(){return document.body.offsetHeight}const Ef=new WeakMap,Of=new WeakMap,_v={name:"TransitionGroup",props:zt({},vv,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Zo(),i=Qd();let s,o;return rf(()=>{if(!s.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!kv(s[0].el,n.vnode.el,r))return;s.forEach(Sv),s.forEach(wv);const a=s.filter(Cv);Tf(),a.forEach(l=>{const c=l.el,u=c.style;je(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,In(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=st(t),a=Pf(r);let l=r.tag||Lt;s=o,o=e.default?Ya(e.default()):[];for(let c=0;c{r.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(r=>r&&i.classList.add(r)),i.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(i);const{hasTransform:o}=Af(i);return s.removeChild(i),o}const yn=t=>{const e=t.props["onUpdate:modelValue"];return tt(e)?n=>uo(e,n):e};function Mv(t){t.target.composing=!0}function Sc(t){const e=t.target;e.composing&&(e.composing=!1,Pv(e,"input"))}function Pv(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}const wc={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t._assign=yn(s);const o=i||s.props&&s.props.type==="number";Ke(t,e?"change":"input",r=>{if(r.target.composing)return;let a=t.value;n?a=a.trim():o&&(a=fs(a)),t._assign(a)}),n&&Ke(t,"change",()=>{t.value=t.value.trim()}),e||(Ke(t,"compositionstart",Mv),Ke(t,"compositionend",Sc),Ke(t,"change",Sc))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:s}},o){if(t._assign=yn(o),t.composing||document.activeElement===t&&(n||i&&t.value.trim()===e||(s||t.type==="number")&&fs(t.value)===e))return;const r=e==null?"":e;t.value!==r&&(t.value=r)}},Av={deep:!0,created(t,e,n){t._assign=yn(n),Ke(t,"change",()=>{const i=t._modelValue,s=wi(t),o=t.checked,r=t._assign;if(tt(i)){const a=Ta(i,s),l=a!==-1;if(o&&!l)r(i.concat(s));else if(!o&&l){const c=[...i];c.splice(a,1),r(c)}}else if(Pi(i)){const a=new Set(i);o?a.add(s):a.delete(s),r(a)}else r(Lf(t,o))})},mounted:Cc,beforeUpdate(t,e,n){t._assign=yn(n),Cc(t,e,n)}};function Cc(t,{value:e,oldValue:n},i){t._modelValue=e,tt(e)?t.checked=Ta(e,i.props.value)>-1:Pi(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=jn(e,Lf(t,!0)))}const Tv={created(t,{value:e},n){t.checked=jn(e,n.props.value),t._assign=yn(n),Ke(t,"change",()=>{t._assign(wi(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=yn(i),e!==n&&(t.checked=jn(e,i.props.value))}},Ev={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=Pi(e);Ke(t,"change",()=>{const o=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>n?fs(wi(r)):wi(r));t._assign(t.multiple?s?new Set(o):o:o[0])}),t._assign=yn(i)},mounted(t,{value:e}){kc(t,e)},beforeUpdate(t,e,n){t._assign=yn(n)},updated(t,{value:e}){kc(t,e)}};function kc(t,e){const n=t.multiple;if(!(n&&!tt(e)&&!Pi(e))){for(let i=0,s=t.options.length;i-1:o.selected=e.has(r);else if(jn(wi(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function wi(t){return"_value"in t?t._value:t.value}function Lf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const If={created(t,e,n){Ws(t,e,n,null,"created")},mounted(t,e,n){Ws(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Ws(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Ws(t,e,n,i,"updated")}};function Ws(t,e,n,i,s){let o;switch(t.tagName){case"SELECT":o=Ev;break;case"TEXTAREA":o=wc;break;default:switch(n.props&&n.props.type){case"checkbox":o=Av;break;case"radio":o=Tv;break;default:o=wc}}const r=o[s];r&&r(t,e,n,i)}const ti={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Vi(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Vi(t,!0),i.enter(t)):i.leave(t,()=>{Vi(t,!1)}):Vi(t,e))},beforeUnmount(t,{value:e}){Vi(t,e)}};function Vi(t,e){t.style.display=e?t._vod:"none"}const Ov=zt({patchProp:mv},ev);let Mc;function Lv(){return Mc||(Mc=Pp(Ov))}const rC=(...t)=>{const e=Lv().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=Iv(i);if(!s)return;const o=e._component;!ot(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const r=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function Iv(t){return Dt(t)?document.querySelector(t):t}class ho{constructor(e){let{x:n,y:i,width:s,height:o}=e;this.x=n,this.y=i,this.width=s,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function el(t){const e=t.getBoundingClientRect(),n=getComputedStyle(t),i=n.transform;if(i){let s,o,r,a,l;if(i.startsWith("matrix3d("))s=i.slice(9,-1).split(/, /),o=+s[0],r=+s[5],a=+s[12],l=+s[13];else if(i.startsWith("matrix("))s=i.slice(7,-1).split(/, /),o=+s[0],r=+s[3],a=+s[4],l=+s[5];else return new ho(e);const c=n.transformOrigin,u=e.x-a-(1-o)*parseFloat(c),d=e.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),f=o?e.width/o:t.offsetWidth,h=r?e.height/r:t.offsetHeight;return new ho({x:u,y:d,width:f,height:h})}else return new ho(e)}function Df(t,e,n){if(n&&(e={_isVue:!0,$parent:n,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return`[Vuetify] ${t}`+(e?$v(e):"")}function pi(t,e,n){const i=Df(t,e,n);i!=null&&console.warn(i)}function Pc(t,e,n){const i=Df(t,e,n);i!=null&&console.error(i)}const Dv=/(?:^|[-_])(\w)/g,Rv=t=>t.replace(Dv,e=>e.toUpperCase()).replace(/[-_]/g,"");function xr(t,e){if(t.$root===t)return"";const n=typeof t=="function"&&t.cid!=null?t.options:t._isVue?t.$options||t.constructor.options:t||{};let i=n.name||n._componentTag;const s=n.__file;if(!i&&s){const o=s.match(/([^/\\]+)\.vue$/);i=o==null?void 0:o[1]}return(i?`<${Rv(i)}>`:"")+(s&&e!==!1?` at ${s}`:"")}function $v(t){if(t._isVue&&t.$parent){const e=[];let n=0;for(;t;){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){n++,t=t.$parent;continue}else n>0&&(e[e.length-1]=[i,n],n=0)}e.push(t),t=t.$parent}return` + +found in + +`+e.map((i,s)=>`${s===0?"---> ":" ".repeat(5+s*2)}${Array.isArray(i)?`${xr(i[0])}... (${i[1]} recursive calls)`:xr(i)}`).join(` +`)}else return` + +(found in ${xr(t)})`}function Ac(t,e,n){Fv(t,e),e.set(t,n)}function Fv(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vv(t,e,n){var i=Rf(t,e,"set");return Bv(t,i,n),n}function Bv(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}function Tn(t,e){var n=Rf(t,e,"get");return Nv(t,n)}function Rf(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}function Nv(t,e){return e.get?e.get.call(t):e.value}function zv(t,e,n){const i=e.length-1;if(i<0)return t===void 0?n:t;for(let s=0;sJo(t[i],e[i]))}function Tc(t,e,n){return t==null||!e||typeof e!="string"?n:t[e]!==void 0?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),zv(t,e.split("."),n))}function $f(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(n,i)=>e+i)}function Q(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(t==null||t===""))return isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function ta(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function Hv(t){return t==null?void 0:t.$el}const Ec=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}),Wv=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 Ts(t,e){const n=Object.create(null),i=Object.create(null);for(const s in t)e.some(o=>o instanceof RegExp?o.test(s):o===s)?n[s]=t[s]:i[s]=t[s];return[n,i]}function Ff(t){return Ts(t,["class","style","id",/^data-/])}function Un(t){return t==null?[]:Array.isArray(t)?t:[t]}function ea(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(n,t))}function Yn(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const s in t)i[s]=t[s];for(const s in e){const o=t[s],r=e[s];if(ta(o)&&ta(r)){i[s]=Yn(o,r,n);continue}if(Array.isArray(o)&&Array.isArray(r)&&n){i[s]=n(o,r);continue}i[s]=r}return i}function _e(){return _e._uid++}_e._uid=0;function Vf(t){return t.map(e=>e.type===Lt?Vf(e.children):e).flat()}function nl(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function ss(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(n=>ss(t,n)).flat(1);if(Array.isArray(e.children))return e.children.map(n=>ss(t,n)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return ss(t,e.component.subTree).flat(1)}return[]}var js=new WeakMap,ri=new WeakMap;class jv{constructor(e){Ac(this,js,{writable:!0,value:[]}),Ac(this,ri,{writable:!0,value:0}),this.size=e}push(e){Tn(this,js)[Tn(this,ri)]=e,Vv(this,ri,(Tn(this,ri)+1)%this.size)}values(){return Tn(this,js).slice(Tn(this,ri)).concat(Tn(this,js).slice(0,Tn(this,ri)))}}const Uv=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Yv=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,Xv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Kv=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Bf(t){const e=Array(3),n=Yv,i=Uv;for(let s=0;s<3;++s)e[s]=Math.round(ea(n(i[s][0]*t[0]+i[s][1]*t[1]+i[s][2]*t[2]))*255);return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function il(t){const e=[0,0,0],n=Kv,i=Xv,s=n((t>>16&255)/255),o=n((t>>8&255)/255),r=n((t>>0&255)/255);for(let a=0;a<3;++a)e[a]=i[a][0]*s+i[a][1]*o+i[a][2]*r;return e}const So=.20689655172413793,qv=t=>t>So**3?Math.cbrt(t):t/(3*So**2)+4/29,Gv=t=>t>So?t**3:3*So**2*(t-4/29);function Nf(t){const e=qv,n=e(t[1]);return[116*n-16,500*(e(t[0]/.95047)-n),200*(n-e(t[2]/1.08883))]}function zf(t){const e=Gv,n=(t[0]+16)/116;return[e(n+t[1]/500)*.95047,e(n),e(n-t[2]/200)*1.08883]}function Oc(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function wo(t){let e;if(typeof t=="number")e=t;else if(typeof t=="string"){let n=t.startsWith("#")?t.substring(1):t;n.length===3&&(n=n.split("").map(i=>i+i).join("")),n.length!==6&&pi(`'${t}' is not a valid rgb color`),e=parseInt(n,16)}else throw new TypeError(`Colors can only be numbers or strings, recieved ${t==null?t:t.constructor.name} instead`);return e<0?(pi(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(pi(`'${t}' is not a valid rgb color`),e=16777215),e}function Zv(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Lc(t){const e=wo(t);return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255}}function Jv(t,e){const n=Nf(il(t));return n[0]=n[0]+e*10,Bf(zf(n))}function Qv(t,e){const n=Nf(il(t));return n[0]=n[0]-e*10,Bf(zf(n))}function tb(t){const e=wo(t);return il(e)[1]}const Co=Symbol.for("vuetify:defaults");function eb(t){return z(t!=null?t:{})}function Hf(){const t=At(Co);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ei(t,e){const n=Hf(),i=z(t),s=k(()=>{const o=mi(e==null?void 0:e.scoped),r=mi(e==null?void 0:e.reset),a=mi(e==null?void 0:e.root);let l=Yn(i.value,{prev:n.value});if(o)return l;if(r||a){const c=Number(r||1/0);for(let u=0;u<=c&&l.prev;u++)l=l.prev;return l}return Yn(l.prev,l)});return Qt(Co,s),s}function nb(t,e){var n,i;return((n=t.props)==null?void 0:n.hasOwnProperty(e))||((i=t.props)==null?void 0:i.hasOwnProperty(nl(e)))}const it=function(e){var n;if(e._setup=(n=e._setup)!=null?n:e.setup,!e.name)return pi("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){var i;e.props=(i=e.props)!=null?i:{},e.props._as=String,e.setup=function(o,r){const a=Zo(),l=Hf(),c=Bd(),u=Dd(M({},st(o)));Qn(()=>{var h;const g=l.value.global,m=l.value[(h=o._as)!=null?h:e.name];if(m){const y=Object.entries(m).filter(C=>{let[S]=C;return S.startsWith("V")});y.length&&(c.value=Object.fromEntries(y))}for(const y of Object.keys(o)){let C;if(nb(a.vnode,y))C=o[y];else{var p,v;C=(p=(v=m==null?void 0:m[y])!=null?v:g==null?void 0:g[y])!=null?p:o[y]}u[y]!==C&&(u[y]=C)}});const d=e._setup(u,r);let f;return wt(c,(h,g)=>{!h&&f?f.stop():h&&!g&&(f=As(),f.run(()=>{ei(h)}))},{immediate:!0}),d}}return e};function ne(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?it:Xa)(e)}function Ee(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return it({name:n!=null?n:xn(be(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e}},setup(i,s){let{slots:o}=s;return()=>{var r;return Ae(i.tag,{class:t},(r=o.default)==null?void 0:r.call(o))}}})}function Wf(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const jf="cubic-bezier(0.4, 0, 0.2, 1)",ib="cubic-bezier(0.0, 0, 0.2, 1)",sb="cubic-bezier(0.4, 0, 1, 1)";function xe(t,e){const n=Zo();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function nn(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";return nl((t=xe(e).type)==null?void 0:t.name)}function Uf(t){for(;t;){if(sl(t))return t;t=t.parentElement}return document.scrollingElement}function na(t){const e=[];for(;t;)sl(t)&&e.push(t),t=t.parentElement;return e}function sl(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight}const Vt=typeof window!="undefined",ol=Vt&&"IntersectionObserver"in window,ob=Vt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),ia=Vt&&CSS.supports("selector(:focus-visible)");function rb(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function ut(t,e){return n=>Object.keys(t).reduce((i,s)=>{const r=typeof t[s]=="object"&&t[s]!=null&&!Array.isArray(t[s])?t[s]:{type:t[s]};return n&&s in n?i[s]=lt(M({},r),{default:n[s]}):i[s]=r,e&&(i[s].source=e),i},{})}function Ht(t){const e=xe("useRender");e.render=t}const Bt=ut({tag:{type:String,default:"div"}},"tag"),rl=["sm","md","lg","xl","xxl"],Yf=(()=>rl.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),Xf=(()=>rl.reduce((t,e)=>(t["offset"+xn(e)]={type:[String,Number],default:null},t),{}))(),Kf=(()=>rl.reduce((t,e)=>(t["order"+xn(e)]={type:[String,Number],default:null},t),{}))(),Ic={col:Object.keys(Yf),offset:Object.keys(Xf),order:Object.keys(Kf)};function ab(t,e,n){let i=t;if(!(n==null||n===!1))return e&&(i+=`-${e.replace(t,"")}`),t==="col"&&(i="v-"+i),t==="col"&&(n===""||n===!0)||(i+=`-${n}`),i.toLowerCase()}const aC=it({name:"VCol",props:M(lt(M(lt(M(lt(M({cols:{type:[Boolean,String,Number],default:!1}},Yf),{offset:{type:[String,Number],default:null}}),Xf),{order:{type:[String,Number],default:null}}),Kf),{alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)}}),Bt()),setup(t,e){let{slots:n}=e;const i=k(()=>{const s=[];let o;for(o in Ic)Ic[o].forEach(a=>{const l=t[a],c=ab(o,a,l);c&&s.push(c)});const r=s.some(a=>a.startsWith("v-col-"));return s.push({"v-col":!r||!t.cols,[`v-col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),s});return()=>{var s;return Ae(t.tag,{class:i.value},(s=n.default)==null?void 0:s.call(n))}}}),lb=["sm","md","lg","xl","xxl"],al=["start","end","center"];function ll(t,e){return lb.reduce((n,i)=>(n[t+xn(i)]=e(),n),{})}const qf=t=>[...al,"baseline","stretch"].includes(t),Gf=ll("align",()=>({type:String,default:null,validator:qf})),Zf=t=>[...al,"space-between","space-around"].includes(t),Jf=ll("justify",()=>({type:String,default:null,validator:Zf})),Qf=t=>[...al,"space-between","space-around","stretch"].includes(t),th=ll("alignContent",()=>({type:String,default:null,validator:Qf})),Dc={align:Object.keys(Gf),justify:Object.keys(Jf),alignContent:Object.keys(th)},cb={align:"align",justify:"justify",alignContent:"align-content"};function ub(t,e,n){let i=cb[t];if(n!=null)return e&&(i+=`-${e.replace(t,"")}`),i+=`-${n}`,i.toLowerCase()}const lC=it({name:"VRow",props:M(M(lt(M(lt(M({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:qf}},Gf),{justify:{type:String,default:null,validator:Zf}}),Jf),{alignContent:{type:String,default:null,validator:Qf}}),th),Bt()),setup(t,e){let{slots:n}=e;const i=k(()=>{const s=[];let o;for(o in Dc)Dc[o].forEach(r=>{const a=t[r],l=ub(o,r,a);l&&s.push(l)});return s.push({"v-row--no-gutters":t.noGutters,"v-row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),s});return()=>{var s;return Ae(t.tag,{class:["v-row",i.value]},(s=n.default)==null?void 0:s.call(n))}}});const Rc=["x-small","small","default","large","x-large"],Es=ut({size:{type:[String,Number],default:"default"}},"size");function Os(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();const n=k(()=>Rc.includes(t.size)?`${e}--size-${t.size}`:null),i=k(()=>!Rc.includes(t.size)&&t.size?{width:Q(t.size),height:Q(t.size)}:null);return{sizeClasses:n,sizeStyles:i}}const sa=Symbol.for("vuetify:icons"),Qo=ut({icon:{type:[String,Object],required:!0},tag:{type:String,required:!0}},"icon"),db=it({name:"VComponentIcon",props:Qo(),setup(t){return()=>b(t.tag,null,{default:()=>[b(t.icon,null,null)]})}}),fb=it({name:"VSvgIcon",inheritAttrs:!1,props:Qo(),setup(t,e){let{attrs:n}=e;return()=>b(t.tag,It(n,{style:null}),{default:()=>[b("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[b("path",{d:t.icon},null)])]})}});it({name:"VLigatureIcon",props:Qo(),setup(t){return()=>b(t.tag,null,{default:()=>[t.icon]})}});const eh=it({name:"VClassIcon",props:Qo(),setup(t){return()=>b(t.tag,{class:t.icon},null)}}),hb={svg:{component:fb},class:{component:eh}},gb=t=>{const e=At(sa);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:k(()=>{const i=Pt(t)?t.value:t.icon;if(!i)throw new Error("Icon value is undefined or null");let s=i;if(typeof i=="string"&&i.includes("$")){var o;s=(o=e.aliases)==null?void 0:o[i.slice(i.indexOf("$")+1)]}if(!s)throw new Error(`Could not find aliased icon "${i}"`);if(typeof s!="string")return{component:db,icon:s};const r=Object.keys(e.sets).find(c=>typeof s=="string"&&s.startsWith(`${c}:`)),a=r?s.slice(r.length+1):s;return{component:e.sets[r!=null?r:e.defaultSet].component,icon:a}})}};function cl(t){const e=k(()=>Oc(t.value.background)),n=k(()=>Oc(t.value.text)),i=k(()=>{const o=[];return t.value.background&&!e.value&&o.push(`bg-${t.value.background}`),t.value.text&&!n.value&&o.push(`text-${t.value.text}`),o}),s=k(()=>{const o={};return t.value.background&&e.value&&(o.backgroundColor=t.value.background),t.value.text&&n.value&&(o.color=t.value.text,o.caretColor=t.value.text),o});return{colorClasses:i,colorStyles:s}}function Je(t,e){const n=k(()=>({text:Pt(t)?t.value:e?t[e]:null})),{colorClasses:i,colorStyles:s}=cl(n);return{textColorClasses:i,textColorStyles:s}}function Te(t,e){const n=k(()=>({background:Pt(t)?t.value:e?t[e]:null})),{colorClasses:i,colorStyles:s}=cl(n);return{backgroundColorClasses:i,backgroundColorStyles:s}}const ai=2.4,$c=.2126729,Fc=.7151522,Vc=.072175,mb=.55,pb=.58,vb=.57,bb=.62,Us=.03,Bc=1.45,yb=5e-4,_b=1.25,xb=1.25,Nc=.078,zc=12.82051282051282,Ys=.06,Hc=.001;function Wc(t,e){const n=((t>>16&255)/255)**ai,i=((t>>8&255)/255)**ai,s=((t>>0&255)/255)**ai,o=((e>>16&255)/255)**ai,r=((e>>8&255)/255)**ai,a=((e>>0&255)/255)**ai;let l=n*$c+i*Fc+s*Vc,c=o*$c+r*Fc+a*Vc;if(l<=Us&&(l+=(Us-l)**Bc),c<=Us&&(c+=(Us-c)**Bc),Math.abs(c-l)l){const d=(c**mb-l**pb)*_b;u=d-Hc?0:d>-Nc?d-d*zc*Ys:d+Ys}return u*100}const ko=Symbol.for("vuetify:theme"),Wt=ut({theme:String},"theme"),Bi={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#C2C2C2"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#BDBDBD","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#B7B7B7"}}}},Sb=function(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bi;if(!e)return lt(M({},Bi),{isDisabled:!0});const n=Object.entries((t=e.themes)!=null?t:{}).reduce((i,s)=>{var o,r;let[a,l]=s;const c=l.dark?(o=Bi.themes)==null?void 0:o.dark:(r=Bi.themes)==null?void 0:r.light;return i[a]=Yn(c,l),i},{});return Yn(Bi,lt(M({},e),{themes:n}))};function wb(t,e){const n=t._context.provides.usehead,i=Sb(e),s=z(),o=z(i.defaultTheme),r=z(i.themes),a=z(i.variations),l=k(()=>Object.entries(r.value).reduce((h,g)=>{var m;let[p,v]=g;const y=lt(M({},v),{colors:M(M({},v.colors),((m=i.variations.colors)!=null?m:[]).reduce((C,S)=>M(M({},C),c(S,v.colors[S])),{}))});for(const C of Object.keys(y.colors)){if(/on-[a-z]/.test(C)||y.colors[`on-${C}`])continue;const S=`on-${C}`,w=wo(y.colors[C]),A=Math.abs(Wc(0,w)),x=Math.abs(Wc(16777215,w));y.colors[S]=x>Math.min(A,50)?"#fff":"#000"}return h[p]=y,h},{}));function c(h,g){const m={};for(const p of["lighten","darken"]){const v=p==="lighten"?Jv:Qv;for(const y of $f(a.value[p],1))m[`${h}-${p}-${y}`]=Zv(v(wo(g),y))}return m}const u=k(()=>{const h=[];for(const m of Object.keys(l.value)){const p=l.value[m].variables;h.push(...f(`.v-theme--${m}`,[...d(m),...Object.keys(p).map(v=>{const y=p[v],C=typeof y=="string"&&y.startsWith("#")?Lc(y):void 0,S=C?`${C.r}, ${C.g}, ${C.b}`:void 0;return`--v-${v}: ${S!=null?S:y}`})]))}const g=new Set(Object.values(l.value).flatMap(m=>Object.keys(m.colors)));for(const m of g)/on-[a-z]/.test(m)?h.push(...f(`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`])):h.push(...f(`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),...f(`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),...f(`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return h.map((m,p)=>p===0?m:` ${m}`).join("")});function d(h){const g=l.value[h];if(!g)throw new Error(`Could not find theme ${h}`);const m=g.dark?2:1,p=g.dark?1:2,v=[];for(const[y,C]of Object.entries(g.colors)){const S=Lc(C);v.push(`--v-theme-${y}: ${S.r},${S.g},${S.b}`),y.startsWith("on-")||v.push(`--v-theme-${y}-overlay-multiplier: ${tb(C)>.18?m:p}`)}return v}function f(h,g){return[`${h} { +`,...g.map(m=>` ${m}; +`),`} +`]}if(n)n.addHeadObjs(k(()=>({style:[{children:u.value,type:"text/css",id:"vuetify-theme-stylesheet"}]}))),Vt&&Qn(()=>n.updateDOM());else{let h=function(){i.isDisabled||(g(),s.value&&(s.value.innerHTML=u.value))},g=function(){if(typeof document=="undefined"||s.value)return;const m=document.createElement("style");m.type="text/css",m.id="vuetify-theme-stylesheet",s.value=m,document.head.appendChild(s.value)};wt(r,h,{deep:!0,immediate:!0})}return{isDisabled:i.isDisabled,themes:l,setTheme:(h,g)=>r.value[h]=g,getTheme:h=>l.value[h],current:o,themeClasses:k(()=>i.isDisabled?void 0:`v-theme--${o.value}`),styles:u}}function Zt(t){xe("provideTheme");const e=At(ko,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=k(()=>{var o;return(o=t.theme)!=null?o:e==null?void 0:e.current.value}),i=k(()=>e.isDisabled?void 0:`v-theme--${n.value}`),s=lt(M({},e),{current:n,themeClasses:i});return Qt(ko,s),s}const nh=ut(M(M(M({color:String,start:Boolean,end:Boolean,icon:{type:[String,Object]}},Es()),Bt({tag:"i"})),Wt()),"v-icon"),le=it({name:"VIcon",props:nh(),setup(t,e){let{slots:n}=e,i;n.default&&(i=k(()=>{var c,u;const d=(c=n.default)==null?void 0:c.call(n);if(!!d)return(u=Vf(d).filter(f=>f.children&&typeof f.children=="string")[0])==null?void 0:u.children}));const{themeClasses:s}=Zt(t),{iconData:o}=gb(i||t),{sizeClasses:r}=Os(t),{textColorClasses:a,textColorStyles:l}=Je(et(t,"color"));return()=>b(o.value.component,{tag:t.tag,icon:o.value.icon,class:["v-icon","notranslate",r.value,a.value,s.value,{"v-icon--start":t.start,"v-icon--end":t.end}],style:[r.value?void 0:{fontSize:Q(t.size),width:Q(t.size),height:Q(t.size)},l.value],"aria-hidden":"true"},null)}});const Ei=ut({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Oi(t){return{dimensionStyles:k(()=>({height:Q(t.height),maxHeight:Q(t.maxHeight),maxWidth:Q(t.maxWidth),minHeight:Q(t.minHeight),minWidth:Q(t.minWidth),width:Q(t.width)}))}}function Cb(t){return{aspectStyles:k(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const kb=it({name:"VResponsive",props:M({aspectRatio:[String,Number],contentClass:String},Ei()),setup(t,e){let{slots:n}=e;const{dimensionStyles:i}=Oi(t),{aspectStyles:s}=Cb(t);return()=>{var o;return b("div",{class:"v-responsive",style:i.value},[b("div",{class:"v-responsive__sizer",style:s.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&b("div",{class:["v-responsive__content",t.contentClass]},[n.default()])])}}});function Mb(t,e){if(!ol)return;const n=e.modifiers||{},i=e.value,{handler:s,options:o}=typeof i=="object"?i:{handler:i,options:{}},r=new IntersectionObserver(function(){var a;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;const u=(a=t._observe)==null?void 0:a[e.instance.$.uid];if(!u)return;const d=l.some(f=>f.isIntersecting);s&&(!n.quiet||u.init)&&(!n.once||d||u.init)&&s(d,l,c),d&&n.once?ih(t,e):u.init=!0},o);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:r},r.observe(t)}function ih(t,e){var n;const i=(n=t._observe)==null?void 0:n[e.instance.$.uid];!i||(i.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const Pb={mounted:Mb,unmounted:ih};var sh=Pb;const Li=ut({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),Vn=(t,e)=>{var n;let{slots:i}=e;const l=t,{transition:s}=l,o=cn(l,["transition"]);if(!s||typeof s=="boolean")return(n=i.default)==null?void 0:n.call(i);const c=typeof s=="object"?s:{},{component:r=ze}=c,a=cn(c,["component"]);return Ae(r,It(typeof s=="string"?{name:s}:a,o),i)},ul=it({name:"VImg",directives:{intersect:sh},props:M({aspectRatio:[String,Number],alt:String,cover:Boolean,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:""},srcset:String,width:[String,Number]},Li()),emits:["loadstart","load","error"],setup(t,e){let{emit:n,slots:i}=e;const s=z(""),o=z(),r=z(t.eager?"loading":"idle"),a=z(),l=z(),c=k(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),u=k(()=>c.value.aspect||a.value/l.value||0);wt(()=>t.src,()=>{d(r.value!=="idle")}),qo(()=>d());function d(x){if(!(t.eager&&x)&&!(ol&&!x&&!t.eager)){if(r.value="loading",c.value.lazySrc){const T=new Image;T.src=c.value.lazySrc,m(T,null)}!c.value.src||Sn(()=>{var T,E;if(n("loadstart",((T=o.value)==null?void 0:T.currentSrc)||c.value.src),(E=o.value)!=null&&E.complete){if(o.value.naturalWidth||h(),r.value==="error")return;u.value||m(o.value,null),f()}else u.value||m(o.value),g()})}}function f(){var x;g(),r.value="loaded",n("load",((x=o.value)==null?void 0:x.currentSrc)||c.value.src)}function h(){var x;r.value="error",n("error",((x=o.value)==null?void 0:x.currentSrc)||c.value.src)}function g(){const x=o.value;x&&(s.value=x.currentSrc||x.src)}function m(x){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const E=()=>{const{naturalHeight:L,naturalWidth:D}=x;L||D?(a.value=D,l.value=L):!x.complete&&r.value==="loading"&&T!=null?setTimeout(E,T):(x.currentSrc.endsWith(".svg")||x.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,l.value=1)};E()}const p=k(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),v=k(()=>{var x;if(!c.value.src||r.value==="idle")return;const T=Ae("img",{class:["v-img__img",p.value],src:c.value.src,srcset:c.value.srcset,sizes:t.sizes,ref:o,onLoad:f,onError:h}),E=(x=i.sources)==null?void 0:x.call(i);return b(Vn,{transition:t.transition,appear:!0},{default:()=>[qt(E?b("picture",{class:"v-img__picture"},[E,T]):T,[[ti,r.value==="loaded"]])]})}),y=k(()=>b(Vn,{transition:t.transition},{default:()=>[c.value.lazySrc&&r.value!=="loaded"&&b("img",{class:["v-img__img","v-img__img--preload",p.value],src:c.value.lazySrc,alt:""},null)]})),C=k(()=>{if(!!i.placeholder)return b(Vn,{transition:t.transition,appear:!0},{default:()=>[(r.value==="loading"||r.value==="error"&&!i.error)&&b("div",{class:"v-img__placeholder"},[i.placeholder()])]})}),S=k(()=>{if(!!i.error)return b(Vn,{transition:t.transition,appear:!0},{default:()=>[r.value==="error"&&b("div",{class:"v-img__error"},[i.error()])]})}),w=k(()=>{if(!!t.gradient)return b("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null)}),A=z(!1);{const x=wt(u,T=>{T&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{A.value=!0})}),x())})}return Ht(()=>qt(b(kb,{class:["v-img",{"v-img--booting":!A.value}],style:{width:Q(t.width==="auto"?a.value:t.width)},aspectRatio:u.value,"aria-label":t.alt,role:t.alt?"img":void 0},{additional:()=>[v.value,y.value,w.value,C.value,S.value],default:i.default}),[[en("intersect"),{handler:d,options:t.options},null,{once:!0}]])),{currentSrc:s,image:o,state:r,naturalWidth:a,naturalHeight:l}}}),Ab=[null,"default","comfortable","compact"],sn=ut({density:{type:String,default:"default",validator:t=>Ab.includes(t)}},"density");function on(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();return{densityClasses:k(()=>`${e}--density-${t.density}`)}}const Oe=ut({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Le(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();return{roundedClasses:k(()=>{const i=Pt(t)?t.value:t.rounded,s=[];if(i===!0||i==="")s.push(`${e}--rounded`);else if(typeof i=="string"||i===0)for(const o of String(i).split(" "))s.push(`rounded-${o}`);return s})}}const oh=ut(M(M(M(M({color:String,start:Boolean,end:Boolean,icon:String,image:String},sn()),Oe()),Es()),Bt())),ys=it({name:"VAvatar",props:oh(),setup(t,e){let{slots:n}=e;const{backgroundColorClasses:i,backgroundColorStyles:s}=Te(et(t,"color")),{densityClasses:o}=on(t),{roundedClasses:r}=Le(t),{sizeClasses:a,sizeStyles:l}=Os(t);return Ht(()=>{var c;return b(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},i.value,o.value,r.value,a.value],style:[s.value,l.value]},{default:()=>[t.image?b(ul,{src:t.image,alt:""},null):t.icon?b(le,{icon:t.icon},null):(c=n.default)==null?void 0:c.call(n)]})}),{}}});function Yt(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l=>l,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:l=>l;const o=xe("useProxiedModel"),r=k(()=>{var l,c;return!!(typeof t[e]!="undefined"&&(o!=null&&(l=o.vnode.props)!=null&&l.hasOwnProperty(e)||o!=null&&(c=o.vnode.props)!=null&&c.hasOwnProperty(nl(e))))}),a=z(i(t[e]));return k({get(){return r.value?i(t[e]):a.value},set(l){(r.value?i(t[e]):a.value)!==l&&(a.value=l,o==null||o.emit(`update:${e}`,s(l)))}})}const rh=ut({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ah=ut({value:null,disabled:Boolean,selectedClass:String},"group-item");function lh(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const i=xe("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const s=_e();Qt(Symbol.for(`${e.description}:id`),s);const o=At(e,null);if(!o){if(!n)return o;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const r=et(t,"value"),a=k(()=>o.disabled.value||t.disabled);o.register({id:s,value:r,disabled:a},i),ue(()=>{o.unregister(s)});const l=k(()=>o.isSelected(s)),c=k(()=>l.value&&[o.selectedClass.value,t.selectedClass]);return{id:s,isSelected:l,toggle:()=>o.select(s,!l.value),select:u=>o.select(s,u),selectedClass:c,value:r,disabled:a,group:o}}function ch(t,e){let n=!1;const i=ke([]),s=Yt(t,"modelValue",[],f=>f==null?[]:uh(i,Un(f)),f=>{const h=Eb(i,f);return t.multiple?h:h[0]}),o=xe("useGroup");function r(f,h){const g=f,m=Symbol.for(`${e.description}:id`),v=ss(m,o==null?void 0:o.vnode).indexOf(h);v>-1?i.splice(v,0,g):i.push(g)}function a(f){if(n)return;l();const h=i.findIndex(g=>g.id===f);i.splice(h,1)}function l(){const f=i.find(h=>!h.disabled);f&&t.mandatory==="force"&&!s.value.length&&(s.value=[f.id])}tn(()=>{l()}),ue(()=>{n=!0});function c(f,h){const g=i.find(v=>v.id===f);if(!(h&&g!=null&&g.disabled))if(t.multiple){var m;const v=s.value.slice(),y=v.findIndex(S=>S===f),C=~y;if(h=(m=h)!=null?m:!C,C&&t.mandatory&&v.length<=1||!C&&t.max!=null&&v.length+1>t.max)return;y<0&&h?v.push(f):y>=0&&!h&&v.splice(y,1),s.value=v}else{var p;const v=s.value.includes(f);if(t.mandatory&&v)return;s.value=((p=h)!=null?p:!v)?[f]:[]}}function u(f){if(t.multiple&&pi('This method is not supported when using "multiple" prop'),s.value.length){const h=s.value[0],g=i.findIndex(v=>v.id===h);let m=(g+f)%i.length,p=i[m];for(;p.disabled&&m!==g;)m=(m+f)%i.length,p=i[m];if(p.disabled)return;s.value=[i[m].id]}else{const h=i.find(g=>!g.disabled);h&&(s.value=[h.id])}}const d={register:r,unregister:a,selected:s,select:c,disabled:et(t,"disabled"),prev:()=>u(i.length-1),next:()=>u(1),isSelected:f=>s.value.includes(f),selectedClass:k(()=>t.selectedClass),items:k(()=>i),getItemIndex:f=>Tb(i,f)};return Qt(e,d),d}function Tb(t,e){const n=uh(t,[e]);return n.length?t.findIndex(i=>i.id===n[0]):-1}function uh(t,e){const n=[];for(let i=0;iJo(o,s.value))!=null&&n.push(s.id):e.includes(i)&&n.push(s.id)}return n}function Eb(t,e){const n=[];for(let i=0;iOb.includes(t)}},"variant");function er(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();const n=k(()=>{const{variant:o}=mi(t);return`${e}--variant-${o}`}),{colorClasses:i,colorStyles:s}=cl(k(()=>{const{variant:o,color:r}=mi(t);return{[["contained","contained-flat"].includes(o)?"background":"text"]:r}}));return{colorClasses:i,colorStyles:s,variantClasses:n}}const dh=Symbol.for("vuetify:v-chip-group");it({name:"VChipGroup",props:M(M(M(M({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Jo}},rh({selectedClass:"v-chip--selected"})),Bt()),Wt()),ni({variant:"contained-text"})),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{themeClasses:i}=Zt(t),{isSelected:s,select:o,next:r,prev:a,selected:l}=ch(t,dh);return ei({VChip:{color:et(t,"color"),filter:et(t,"filter"),variant:et(t,"variant")}}),()=>{var c;return b(t.tag,{class:["v-chip-group",{"v-chip-group--column":t.column},i.value]},{default:()=>[(c=n.default)==null?void 0:c.call(n,{isSelected:s,select:o,next:r,prev:a,selected:l.value})]})}}});function jt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top center 0",n=arguments.length>2?arguments[2]:void 0;return it({name:t,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:n},origin:{type:String,default:e}},setup(i,s){let{slots:o}=s;return()=>{const r=i.group?xv:ze;return Ae(r,{name:t,mode:i.mode,onBeforeEnter(a){a.style.transformOrigin=i.origin},onLeave(a){if(i.leaveAbsolute){const{offsetTop:l,offsetLeft:c,offsetWidth:u,offsetHeight:d}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${l}px`,a.style.left=`${c}px`,a.style.width=`${u}px`,a.style.height=`${d}px`}i.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(i.leaveAbsolute&&a!=null&&a._transitionInitialStyles){const{position:l,top:c,left:u,width:d,height:f}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=l||"",a.style.top=c||"",a.style.left=u||"",a.style.width=d||"",a.style.height=f||""}}},o.default)}}})}function fh(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return it({name:t,props:{mode:{type:String,default:n}},setup(i,s){let{slots:o}=s;return()=>Ae(ze,M({name:t},e),o.default)}})}function hh(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",i=be(`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 a=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const l=`${r[i]}px`;r.style[n]="0",r.offsetHeight,r.style.transition=a.transition,t&&r._parent&&r._parent.classList.add(t),requestAnimationFrame(()=>{r.style[n]=l})},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[i]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[n]="0")},onAfterLeave:s,onLeaveCancelled:s};function s(r){t&&r._parent&&r._parent.classList.remove(t),o(r)}function o(r){const a=r._initialStyle[n];r.style.overflow=r._initialStyle.overflow,a!=null&&(r.style[n]=a),delete r._initialStyle}}const Lb=it({name:"VDialogTransition",props:{target:Object},setup(t,e){let{slots:n}=e;const i={onBeforeEnter(s){s.style.pointerEvents="none"},async onEnter(s,o){await new Promise(c=>requestAnimationFrame(c));const{x:r,y:a}=jc(t.target,s);s.animate([{transform:`translate(${r}px, ${a}px) scale(0.1)`,opacity:0},{transform:""}],{duration:225,easing:ib}).finished.then(()=>o())},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,o){await new Promise(c=>requestAnimationFrame(c));const{x:r,y:a}=jc(t.target,s);s.animate([{transform:""},{transform:`translate(${r}px, ${a}px) scale(0.1)`,opacity:0}],{duration:125,easing:sb}).finished.then(()=>o())},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>t.target?b(ze,It({name:"dialog-transition"},i,{css:!1}),n):b(ze,{name:"dialog-transition"},n)}});function jc(t,e){const n=t.getBoundingClientRect(),i=el(e),[s,o]=getComputedStyle(e).transformOrigin.split(" ").map(u=>parseFloat(u)),[r,a]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;r==="left"||a==="left"?l-=n.width/2:(r==="right"||a==="right")&&(l+=n.width/2);let c=n.top+n.height/2;return r==="top"||a==="top"?c-=n.height/2:(r==="bottom"||a==="bottom")&&(c+=n.height/2),{x:l-(s+i.left),y:c-(o+i.top)}}jt("carousel-transition");jt("carousel-reverse-transition");jt("tab-transition");jt("tab-reverse-transition");jt("menu-transition");jt("fab-transition","center center","out-in");jt("dialog-bottom-transition");jt("dialog-top-transition");jt("fade-transition");const Ib=jt("scale-transition");jt("scroll-x-transition");jt("scroll-x-reverse-transition");jt("scroll-y-transition");jt("scroll-y-reverse-transition");jt("slide-x-transition");jt("slide-x-reverse-transition");const gh=jt("slide-y-transition");jt("slide-y-reverse-transition");const Db=fh("expand-transition",hh()),mh=fh("expand-x-transition",hh("",!0)),wn=ut({border:[Boolean,Number,String]},"border");function Cn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();return{borderClasses:k(()=>{const i=[];if(t.border!=null&&t.border!==!1&&i.push(`${e}--border`),typeof t.border=="string"&&t.border!==""||t.border===0)for(const s of String(t.border).split(" "))i.push(`border-${s}`);return i})}}const rn=ut({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function an(t){return{elevationClasses:k(()=>{const n=Pt(t)?t.value:t.elevation,i=[];return n==null||i.push(`elevation-${n}`),i})}}function ph(){var t,e;return(t=xe("useRouter"))==null||(e=t.proxy)==null?void 0:e.$router}function nr(t,e){const n=Rp("RouterLink"),i=k(()=>!!(t.href||t.to)),s=k(()=>(i==null?void 0:i.value)||!!(e.onClick||e.onClickOnce));if(typeof n=="string")return{isLink:i,isClickable:s,href:et(t,"href")};const o=t.to?n.useLink(t):void 0;return lt(M({},o),{isLink:i,isClickable:s,href:k(()=>t.to?o==null?void 0:o.route.value.href:t.href)})}const ir=ut({href:String,replace:Boolean,to:[String,Object]},"router");function Rb(t){const e=ph();let n=!1,i;tn(()=>{window.addEventListener("popstate",s),i=e==null?void 0:e.beforeEach((o,r,a)=>{setTimeout(()=>n?t(a):a())})}),ue(()=>{var o;window.removeEventListener("popstate",s),(o=i)==null||o()});function s(o){var r;(r=o.state)!=null&&r.replaced||(n=!0,setTimeout(()=>n=!1))}}const Uc=Symbol("rippleStop"),$b=80;function Yc(t,e){t.style.transform=e,t.style.webkitTransform=e}function Sr(t,e){t.style.opacity=`calc(${e} * var(--v-theme-overlay-multiplier))`}function oa(t){return t.constructor.name==="TouchEvent"}function vh(t){return t.constructor.name==="KeyboardEvent"}const Fb=function(t,e){var n;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,o=0;if(!vh(t)){const f=e.getBoundingClientRect(),h=oa(t)?t.touches[t.touches.length-1]:t;s=h.clientX-f.left,o=h.clientY-f.top}let r=0,a=.3;(n=e._ripple)!=null&&n.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(o-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const l=`${(e.clientWidth-r*2)/2}px`,c=`${(e.clientHeight-r*2)/2}px`,u=i.center?l:`${s-r}px`,d=i.center?c:`${o-r}px`;return{radius:r,scale:a,x:u,y:d,centerX:l,centerY:c}},Mo={show(t,e){var n;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(e!=null&&(n=e._ripple)!=null&&n.enabled))return;const s=document.createElement("span"),o=document.createElement("span");s.appendChild(o),s.className="v-ripple__container",i.class&&(s.className+=` ${i.class}`);const{radius:r,scale:a,x:l,y:c,centerX:u,centerY:d}=Fb(t,e,i),f=`${r*2}px`;o.className="v-ripple__animation",o.style.width=f,o.style.height=f,e.appendChild(s);const h=window.getComputedStyle(e);h&&h.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),Yc(o,`translate(${l}, ${c}) scale3d(${a},${a},${a})`),Sr(o,0),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),Yc(o,`translate(${u}, ${d}) scale3d(1,1,1)`),Sr(o,.08)},0)},hide(t){var e;if(!(t!=null&&(e=t._ripple)!=null&&e.enabled))return;const n=t.getElementsByClassName("v-ripple__animation");if(n.length===0)return;const i=n[n.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),o=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),Sr(i,0),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},o)}};function bh(t){return typeof t=="undefined"||!!t}function _s(t){const e={},n=t.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||t[Uc])){if(t[Uc]=!0,oa(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(e.center=n._ripple.centered||vh(t),n._ripple.class&&(e.class=n._ripple.class),oa(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Mo.show(t,n,e)},n._ripple.showTimer=window.setTimeout(()=>{var i;n!=null&&(i=n._ripple)!=null&&i.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},$b)}else Mo.show(t,n,e)}}function ae(t){const e=t.currentTarget;if(!(!e||!e._ripple)){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{ae(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),Mo.hide(e)}}function yh(t){const e=t.currentTarget;!e||!e._ripple||(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let xs=!1;function _h(t){!xs&&(t.keyCode===Ec.enter||t.keyCode===Ec.space)&&(xs=!0,_s(t))}function xh(t){xs=!1,ae(t)}function Sh(t){xs&&(xs=!1,ae(t))}function wh(t,e,n){var i;const{value:s,modifiers:o}=e,r=bh(s);r||Mo.hide(t),t._ripple=(i=t._ripple)!=null?i:{},t._ripple.enabled=r,t._ripple.centered=o.center,t._ripple.circle=o.circle,ta(s)&&s.class&&(t._ripple.class=s.class),r&&!n?(t.addEventListener("touchstart",_s,{passive:!0}),t.addEventListener("touchend",ae,{passive:!0}),t.addEventListener("touchmove",yh,{passive:!0}),t.addEventListener("touchcancel",ae),t.addEventListener("mousedown",_s),t.addEventListener("mouseup",ae),t.addEventListener("mouseleave",ae),t.addEventListener("keydown",_h),t.addEventListener("keyup",xh),t.addEventListener("blur",Sh),t.addEventListener("dragstart",ae,{passive:!0})):!r&&n&&Ch(t)}function Ch(t){t.removeEventListener("mousedown",_s),t.removeEventListener("touchstart",_s),t.removeEventListener("touchend",ae),t.removeEventListener("touchmove",yh),t.removeEventListener("touchcancel",ae),t.removeEventListener("mouseup",ae),t.removeEventListener("mouseleave",ae),t.removeEventListener("keydown",_h),t.removeEventListener("keyup",xh),t.removeEventListener("dragstart",ae),t.removeEventListener("blur",Sh)}function Vb(t,e){wh(t,e,!1)}function Bb(t){delete t._ripple,Ch(t)}function Nb(t,e){if(e.value===e.oldValue)return;const n=bh(e.oldValue);wh(t,e,n)}const Ii={mounted:Vb,unmounted:Bb,updated:Nb},zb=it({name:"VChip",directives:{Ripple:Ii},props:M(M(M(M(M(M(M(M(M(M({activeClass:String,appendAvatar:String,appendIcon:String,closable:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,pill:Boolean,prependAvatar:String,prependIcon:String,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0}},wn()),sn()),rn()),ah()),Oe()),ir()),Es()),Bt({tag:"span"})),Wt()),ni({variant:"contained-text"})),emits:{"click:close":t=>!0,"update:active":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const o=Yt(t,"modelValue"),{themeClasses:r}=Zt(t),{borderClasses:a}=Cn(t),{colorClasses:l,colorStyles:c,variantClasses:u}=er(t),{elevationClasses:d}=an(t),f=lh(t,dh,!1),{roundedClasses:h}=Le(t),{sizeClasses:g}=Os(t),{densityClasses:m}=on(t),p=nr(t,n);function v(y){o.value=!1,i("click:close",y)}return()=>{var y,C;const S=p.isLink.value?"a":t.tag,w=!!(s.append||t.appendIcon||t.appendAvatar),A=!!(s.close||t.closable),x=!!(s.filter||t.filter)&&f,T=!!(s.prepend||t.prependIcon||t.prependAvatar),E=!f||f.isSelected.value,L=!t.disabled&&(!!f||p.isClickable.value||t.link),D=t.link?t.link:f==null?void 0:f.toggle;return o.value&&qt(b(S,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":L,"v-chip--pill":t.pill},r.value,a.value,E?l.value:void 0,m.value,d.value,h.value,g.value,u.value,f==null?void 0:f.selectedClass.value],style:[E?c.value:void 0],disabled:t.disabled||void 0,draggable:t.draggable,href:p.href.value,onClick:L&&D},{default:()=>[tr(L,"v-chip"),x&&b(mh,null,{default:()=>[qt(b("div",{class:"v-chip__filter"},[s.filter?s.filter():b(le,{icon:t.filterIcon},null)]),[[ti,f.isSelected.value]])]}),T&&b("div",{class:"v-chip__prepend"},[s.prepend?s.prepend():b(ys,{icon:t.prependIcon,image:t.prependAvatar,size:t.size},null)]),(y=(C=s.default)==null?void 0:C.call(s,{isSelected:f==null?void 0:f.isSelected.value,selectedClass:f==null?void 0:f.selectedClass.value,select:f==null?void 0:f.select,toggle:f==null?void 0:f.toggle,value:f==null?void 0:f.value.value,disabled:t.disabled}))!=null?y:t.text,w&&b("div",{class:"v-chip__append"},[s.append?s.append():b(ys,{icon:t.appendIcon,image:t.appendAvatar,size:t.size},null)]),A&&b("div",{class:"v-chip__close",onClick:v},[s.close?s.close({props:{onClick:v}}):b(le,{icon:t.closeIcon,size:"x-small"},null)])]}),[[en("ripple"),L&&t.ripple,null]])}}}),vi=Xa({name:"VDefaultsProvider",props:{defaults:Object,reset:[Number,String],root:Boolean,scoped:Boolean},setup(t,e){let{slots:n}=e;const{defaults:i,reset:s,root:o,scoped:r}=Hd(t);return ei(i,{reset:s,root:o,scoped:r}),()=>{var a;return(a=n.default)==null?void 0:a.call(n)}}});const Hb=it({name:"VDivider",props:M({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean},Wt()),setup(t,e){let{attrs:n}=e;const{themeClasses:i}=Zt(t),{backgroundColorClasses:s,backgroundColorStyles:o}=Te(et(t,"color")),r=k(()=>{const a={};return t.length&&(a[t.vertical?"maxHeight":"maxWidth"]=Q(t.length)),t.thickness&&(a[t.vertical?"borderRightWidth":"borderTopWidth"]=Q(t.thickness)),a});return()=>b("hr",{class:[{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},i.value,s.value],style:[r.value,o.value],"aria-orientation":!n.role||n.role==="separator"?t.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)}}),ra=Symbol.for("vuetify:list");function kh(){const t=At(ra,{hasPrepend:z(!1),updateHasPrepend:()=>null}),e={hasPrepend:z(!1),updateHasPrepend:n=>{n&&(e.hasPrepend.value=n)}};return Qt(ra,e),t}function Mh(){return At(ra,null)}const Wb=t=>{let{id:e,value:n,opened:i,parents:s}=t;if(n){const o=new Set;o.add(e);let r=s.get(e);for(;r!=null;)o.add(r),r=s.get(r);return o}else return i.delete(e),i},jb=t=>{let{id:e,value:n,opened:i,parents:s}=t;if(n){let o=s.get(e);for(i.add(e);o!=null&&o!==e;)i.add(o),o=s.get(o);return i}else i.delete(e);return i},bi={select:t=>{let{id:e,value:n,mandatory:i,selected:s}=t;return s.set(e,n||i&&!Array.from(s.entries()).find(o=>{let[r,a]=o;return a==="on"&&r!==e})?"on":"off"),s},in:(t,e,n)=>{let i=new Map;for(const s of t||[])i=bi.select({id:s,value:!0,selected:new Map(i),children:e,parents:n});return i},out:t=>{const e=[];for(const[n,i]of t.entries())i==="on"&&e.push(n);return e}},Ub={select:t=>{let s=t,{id:e,value:n}=s,i=cn(s,["id","value"]);return bi.select(lt(M({},i),{id:e,value:n,selected:new Map}))},in:(t,e,n)=>{let i=new Map;return t!=null&&t.length&&(i=bi.in(t.slice(0,1),e,n)),i},out:(t,e,n)=>bi.out(t,e,n)},Xc=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const e={select:n=>{let{id:i,value:s,selected:o,children:r}=n;return r.has(i)?o:t?new Map([[i,s?"on":"off"]]):(o.set(i,s?"on":"off"),o)},in:(n,i,s)=>{let o=new Map;for(const r of n!=null?n:[])o=e.select({id:r,value:!0,selected:new Map(o),children:i,parents:s});return o},out:bi.out};return e},Ph={select:t=>{let{id:e,value:n,selected:i,children:s,parents:o}=t;const r=[e];for(;r.length;){const l=r.shift();i.set(l,n?"on":"off"),s.has(l)&&r.push(...s.get(l))}let a=o.get(e);for(;a;){const l=s.get(a),c=l.every(d=>i.get(d)==="on"),u=l.every(d=>!i.has(d)||i.get(d)==="off");i.set(a,c?"on":u?"off":"indeterminate"),a=o.get(a)}return i},in:(t,e,n)=>{let i=new Map;for(const s of t||[])i=Ph.select({id:s,value:!0,selected:new Map(i),children:e,parents:n});return i},out:(t,e)=>{const n=[];for(const[i,s]of t.entries())s==="on"&&!e.has(i)&&n.push(i);return n}},Ss=Symbol.for("vuetify:nested"),Ah={id:z(),root:{register:()=>null,unregister:()=>null,parents:z(new Map),children:z(new Map),open:()=>null,select:()=>null,opened:z(new Set),selected:z(new Map),selectedValues:z([])}},Yb=ut({selectStrategy:[String,Function],openStrategy:[String,Function],opened:Array,selected:Array,mandatory:Boolean},"nested"),Xb=t=>{let e=!1;const n=z(new Map),i=z(new Map),s=Yt(t,"opened",t.opened,d=>new Set(d),d=>[...d.values()]),o=k(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;switch(t.selectStrategy){case"single-leaf":return Xc(!0);case"leaf":return Xc();case"independent":return bi;case"single-independent":return Ub;case"classic":default:return Ph}}),r=k(()=>{if(typeof t.openStrategy=="function")return t.openStrategy;switch(t.openStrategy){case"single":return Wb;case"multiple":default:return jb}}),a=Yt(t,"selected",t.selected,d=>o.value.in(d,n.value,i.value),d=>o.value.out(d,n.value,i.value));ue(()=>{e=!0});function l(d){const f=[];let h=d;for(;h!=null;)f.unshift(h),h=i.value.get(h);return f}const c=xe("nested"),u={id:z(),root:{opened:s,selected:a,selectedValues:k(()=>{const d=[];for(const[f,h]of a.value.entries())h==="on"&&d.push(f);return d}),register:(d,f,h)=>{f&&d!==f&&i.value.set(d,f),h&&n.value.set(d,[]),f!=null&&n.value.set(f,[...n.value.get(f)||[],d])},unregister:d=>{if(e)return;n.value.delete(d);const f=i.value.get(d);if(f){var h;const g=(h=n.value.get(f))!=null?h:[];n.value.set(f,g.filter(m=>m!==d))}i.value.delete(d),s.value.delete(d)},open:(d,f,h)=>{c.emit("click:open",{id:d,value:f,path:l(d),event:h});const g=r.value({id:d,value:f,opened:new Set(s.value),children:n.value,parents:i.value,event:h});g&&(s.value=g)},select:(d,f,h)=>{c.emit("click:select",{id:d,value:f,path:l(d),event:h});const g=o.value.select({id:d,value:f,selected:new Map(a.value),children:n.value,parents:i.value,event:h,mandatory:t.mandatory});g&&(a.value=g)},children:n,parents:i}};return Qt(Ss,u),u.root},Th=(t,e)=>{const n=At(Ss,Ah),i=k(()=>{var o;return(o=t.value)!=null?o:_e().toString()}),s=lt(M({},n),{id:i,open:(o,r)=>n.root.open(i.value,o,r),isOpen:k(()=>n.root.opened.value.has(i.value)),parent:k(()=>n.root.parents.value.get(i.value)),select:(o,r)=>n.root.select(i.value,o,r),isSelected:k(()=>n.root.selected.value.get(i.value)==="on"),isIndeterminate:k(()=>n.root.selected.value.get(i.value)==="indeterminate"),isLeaf:k(()=>!n.root.children.value.get(i.value))});return!n.skipRegister&&n.root.register(i.value,n.id.value,e),ue(()=>{!n.skipRegister&&n.root.unregister(i.value)}),e&&Qt(Ss,s),s},Kb=()=>{const t=At(Ss,Ah);Qt(Ss,lt(M({},t),{skipRegister:!0}))},qb=it({name:"VListGroupActivator",setup(t,e){let{slots:n}=e;return Kb(),()=>{var i;return(i=n.default)==null?void 0:i.call(n)}}}),Gb=ne()({name:"VListGroup",props:M({activeColor:String,color:String,collapseIcon:{type:String,default:"$collapse"},expandIcon:{type:String,default:"$expand"},value:null},Bt()),setup(t,e){let{slots:n}=e;const{isOpen:i,open:s}=Th(et(t,"value"),!0),o=Mh(),r=l=>{s(!i.value,l)},a=k(()=>{var l;return{onClick:r,appendIcon:i.value?t.collapseIcon:t.expandIcon,class:"v-list-group__header",color:i.value?(l=t.activeColor)!=null?l:t.color:void 0}});return()=>{var l;return b(t.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value}]},{default:()=>[n.activator&&b(vi,{defaults:{VListItemIcon:{color:a.value.color}}},{default:()=>[b(qb,null,{default:()=>[n.activator({props:a.value,isOpen:i})]})]}),b(Db,null,{default:()=>[qt(b("div",{class:"v-list-group__items"},[(l=n.default)==null?void 0:l.call(n)]),[[ti,i.value]])]})]})}}});const Kc=it({name:"VListItemAvatar",props:oh(),setup(t,e){let{slots:n}=e;return()=>b(ys,It({class:["v-list-item-avatar",{"v-list-item-avatar--start":t.start,"v-list-item-avatar--end":t.end}]},t),n)}}),Zb=Ee("v-list-item-header"),qc=it({name:"VListItemIcon",props:nh(),setup(t,e){let{slots:n}=e;return()=>b(le,It({class:["v-list-item-icon",{"v-list-item-icon--start":t.start,"v-list-item-icon--end":t.end}]},t),n)}}),Jb=Ee("v-list-item-subtitle"),Qb=Ee("v-list-item-title"),Po=ne()({name:"VListItem",directives:{Ripple:Ii},props:M(M(M(M(M(M(M(M(M({active:Boolean,activeColor:String,activeClass:String,appendAvatar:String,appendIcon:String,disabled:Boolean,lines:String,prependAvatar:String,prependIcon:String,subtitle:String,title:String,value:null},wn()),sn()),Ei()),rn()),Oe()),ir()),Bt()),Wt()),ni({variant:"text"})),setup(t,e){let{attrs:n,slots:i}=e;const s=nr(t,n),o=k(()=>{var T;return(T=t.value)!=null?T:s.href.value}),{select:r,isSelected:a,root:l,parent:c}=Th(o,!1),u=Mh(),d=k(()=>{var T;return t.active||((T=s.isExactActive)==null?void 0:T.value)||a.value}),f=k(()=>{var T;return{color:d.value&&(T=t.activeColor)!=null?T:t.color,variant:t.variant}});tn(()=>{var T;(T=s.isExactActive)!=null&&T.value&&c.value!=null&&l.open(c.value,!0)}),wt(()=>{var T;return(T=s.isExactActive)==null?void 0:T.value},T=>{T&&c.value!=null&&l.open(c.value,!0)});const{themeClasses:h}=Zt(t),{borderClasses:g}=Cn(t),{colorClasses:m,colorStyles:p,variantClasses:v}=er(f),{densityClasses:y}=on(t),{dimensionStyles:C}=Oi(t),{elevationClasses:S}=an(t),{roundedClasses:w}=Le(t),A=k(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),x=k(()=>({isActive:d.value,select:r,isSelected:a.value}));Ht(()=>{var T,E,L;const D=s.isLink.value?"a":t.tag,O=!u||a.value||d.value,W=i.title||t.title,J=i.subtitle||t.subtitle,j=!!(W||J),B=!!(i.append||t.appendAvatar||t.appendIcon),K=!!(i.prepend||t.prependAvatar||t.prependIcon),q=!t.disabled&&(s.isClickable.value||t.value!=null&&!!u);return u==null||u.updateHasPrepend(K),qt(b(D,{class:["v-list-item",{"v-list-item--active":d.value,"v-list-item--disabled":t.disabled,"v-list-item--link":q,"v-list-item--prepend":!K&&(u==null?void 0:u.hasPrepend.value),[`${t.activeClass}`]:d.value},h.value,g.value,O?m.value:void 0,y.value,S.value,A.value,w.value,v.value],style:[O?p.value:void 0,C.value],href:s.href.value,tabindex:q?0:void 0,onClick:q&&(at=>{var gt;(gt=s.navigate)==null||gt.call(s,at),r(!a.value,at)})},{default:()=>[tr(q||d.value,"v-list-item"),K&&b(Lt,null,[t.prependAvatar&&b(Kc,{image:t.prependAvatar,start:!0},null),t.prependIcon&&b(qc,{icon:t.prependIcon,start:!0},null),(T=i.prepend)==null?void 0:T.call(i,x.value)]),j&&b(Zb,null,{default:()=>[W&&b(Qb,null,{default:()=>[i.title?i.title({title:t.title}):t.title]}),J&&b(Jb,null,{default:()=>[i.subtitle?i.subtitle({subtitle:t.subtitle}):t.subtitle]})]}),(E=i.default)==null?void 0:E.call(i,x.value),B&&b(Lt,null,[(L=i.append)==null?void 0:L.call(i,x.value),t.appendAvatar&&b(Kc,{image:t.appendAvatar,end:!0},null),t.appendIcon&&b(qc,{icon:t.appendIcon,end:!0},null)])]}),[[en("ripple"),q]])})}}),ty=it({name:"VListSubheader",props:M({color:String,inset:Boolean,sticky:Boolean,text:String},Bt()),setup(t,e){let{slots:n}=e;const{textColorClasses:i,textColorStyles:s}=Je(et(t,"color"));return()=>{var o,r;const a=!!(n.default||t.text);return b(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},i.value],style:{textColorStyles:s}},{default:()=>[a&&b("div",{class:"v-list-subheader__text"},[(o=(r=n.default)==null?void 0:r.call(n))!=null?o:t.text])]})}}}),Eh=ne()({name:"VListChildren",props:{items:Array},setup(t,e){let{slots:n}=e;return kh(),()=>{var i,s,o;return(i=(s=n.default)==null?void 0:s.call(n))!=null?i:(o=t.items)==null?void 0:o.map(r=>{let{children:a,props:l,type:c}=r;return c==="divider"?b(Hb,l,null):c==="subheader"?b(ty,l,n):a?b(Gb,{value:l==null?void 0:l.value},{activator:u=>{let{props:d}=u;return n.header?n.header(M(M({},l),d)):b(Po,It(l,d),null)},default:()=>b(Eh,{items:a},n)}):n.item?n.item(l):b(Po,l,n)})}}}),Oh=t=>{if(!!t)return t.map(e=>{if(typeof e=="string")return{type:"item",value:e,title:e};const o=e,{$type:n,$children:i}=o,s=cn(o,["$type","$children"]);return n==="subheader"?{type:"subheader",props:s}:n==="divider"?{type:"divider",props:s}:{type:"item",props:s,children:Oh(i)}})},ey=ne()({name:"VList",props:M(M(M(M(M(M(M(M(M({activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,items:Array},Yb({selectStrategy:"single-leaf",openStrategy:"multiple"})),wn()),sn()),Ei()),rn()),Oe()),Bt()),Wt()),ni({variant:"text"})),emits:{"update:selected":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:select":t=>!0},setup(t,e){let{slots:n}=e;const i=k(()=>Oh(t.items)),{themeClasses:s}=Zt(t),{backgroundColorClasses:o,backgroundColorStyles:r}=Te(et(t,"bgColor")),{borderClasses:a}=Cn(t),{densityClasses:l}=on(t),{dimensionStyles:c}=Oi(t),{elevationClasses:u}=an(t),{roundedClasses:d}=Le(t),{open:f,select:h}=Xb(t),g=k(()=>t.lines?`v-list--${t.lines}-line`:void 0),m=et(t,"activeColor"),p=et(t,"color");return kh(),ei({VListGroup:{activeColor:m,color:p},VListItem:{activeClass:et(t,"activeClass"),activeColor:m,color:p,density:et(t,"density"),disabled:et(t,"disabled"),lines:et(t,"lines"),variant:et(t,"variant")}}),Ht(()=>b(t.tag,{class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav},s.value,o.value,a.value,l.value,u.value,g.value,d.value],style:[r.value,c.value]},{default:()=>[b(Eh,{items:i.value},{default:n.default,item:n.item,title:n.title,subtitle:n.subtitle,header:n.header})]})),{open:f,select:h}}});const ny=ut({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function iy(t,e){const n={},i=s=>()=>{if(!Vt)return Promise.resolve(!0);const o=s==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(r=>{var a;const l=parseInt((a=t[s])!=null?a:0,10);n[s]=window.setTimeout(()=>{e==null||e(o),r(o)},l)})};return{runCloseDelay:i("closeDelay"),runOpenDelay:i("openDelay")}}const sy=ut(M({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0}},ny()));function oy(t,e){const n=z();let i=!1,s=!1;const o=k(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),r=k(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!o.value),{runOpenDelay:a,runCloseDelay:l}=iy(t,g=>{g===(t.openOnHover&&i||o.value&&s)&&(e.value=g)}),c={click:g=>{g.stopPropagation(),n.value=g.currentTarget||g.target,e.value=!e.value},mouseenter:g=>{i=!0,n.value=g.currentTarget||g.target,a()},mouseleave:g=>{i=!1,l()},focus:g=>{ia&&!g.target.matches(":focus-visible")||(s=!0,g.stopPropagation(),n.value=g.currentTarget||g.target,a())},blur:g=>{s=!1,g.stopPropagation(),l()}},u=k(()=>{const g={};return r.value&&(g.click=c.click),t.openOnHover&&(g.mouseenter=c.mouseenter,g.mouseleave=c.mouseleave),o.value&&(g.focus=c.focus,g.blur=c.blur),g}),d=z();Qn(()=>{!d.value||Sn(()=>{const g=d.value;n.value=Hv(g)?g.$el:g})});const f=xe("useActivator");let h;return wt(()=>!!t.activator,g=>{g&&Vt?(h=As(),h.run(()=>{ry(t,f,{activatorEl:n,activatorRef:d,activatorEvents:u})})):h&&h.stop()},{flush:"post",immediate:!0}),{activatorEl:n,activatorRef:d,activatorEvents:u}}function ry(t,e,n){let{activatorEl:i,activatorEvents:s}=n;wt(()=>t.activator,(l,c)=>{if(c&&l!==c){const u=a(c);u&&r(u)}l&&Sn(()=>o())},{immediate:!0}),wt(()=>t.activatorProps,()=>{o()}),Ti(()=>{r()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;!l||(Object.entries(s.value).forEach(u=>{let[d,f]=u;l.addEventListener(d,f)}),Object.keys(c).forEach(u=>{c[u]==null?l.removeAttribute(u):l.setAttribute(u,c[u])}))}function r(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;!l||(Object.entries(s.value).forEach(u=>{let[d,f]=u;l.removeEventListener(d,f)}),Object.keys(c).forEach(u=>{l.removeAttribute(u)}))}function a(){var l;let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator,u;if(c)if(c==="parent"){var d,f;u=e==null||(d=e.proxy)==null||(f=d.$el)==null?void 0:f.parentNode}else typeof c=="string"?u=document.querySelector(c):"$el"in c?u=c.$el:u=c;return i.value=((l=u)==null?void 0:l.nodeType)===Node.ELEMENT_NODE?u:null,i.value}}function Gc(t){let[e,n]=t.split(" ");return n||(n=e==="top"||e==="bottom"?"start":e==="start"||e==="end"?"top":"center"),{side:e,align:n}}function wr(t){return{side:{center:"center",top:"bottom",bottom:"top",start:"end",end:"start"}[t.side],align:t.align}}function Zc(t,e){var n,i;const{side:s,align:o}=t,{direction:r}=window.getComputedStyle(e),a=r==="ltr"?{start:"left",end:"right"}:{start:"right",end:"left"};return((n=a[s])!=null?n:s)+" "+((i=a[o])!=null?i:o)}function Cr(t,e){return{x:t.x+e.x,y:t.y+e.y}}function ay(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Jc(t,e){if(t.side==="top"||t.side==="bottom"){const{side:n,align:i}=t,s=i==="start"?0:i==="center"?e.width/2:i==="end"?e.width:i,o=n==="top"?0:n==="bottom"?e.height:n;return Cr({x:s,y:o},e)}else if(t.side==="start"||t.side==="end"){const{side:n,align:i}=t,s=n==="start"?0:n==="end"?e.width:n,o=i==="top"?0:i==="center"?e.height/2:i==="bottom"?e.height:i;return Cr({x:s,y:o},e)}return Cr({x:e.width/2,y:e.height/2},e)}const Lh={static:uy,connected:dy},ly=ut({positionStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in Lh},anchor:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String]});function cy(t,e){const n=z({}),i=z();let s;Qn(async()=>{var r;(r=s)==null||r.stop(),i.value=void 0,Vt&&e.isActive.value&&t.positionStrategy&&(s=As(),await Sn(),s.run(()=>{if(typeof t.positionStrategy=="function"){var a;i.value=(a=t.positionStrategy(e,t,n))==null?void 0:a.updatePosition}else{var l;i.value=(l=Lh[t.positionStrategy](e,t,n))==null?void 0:l.updatePosition}}))}),Vt&&window.addEventListener("resize",o,{passive:!0}),Ti(()=>{var r;Vt&&window.removeEventListener("resize",o),i.value=void 0,(r=s)==null||r.stop()});function o(r){var a;(a=i.value)==null||a.call(i,r)}return{contentStyles:n,updatePosition:i}}function uy(){}function dy(t,e,n){const i=rb(t.activatorEl.value);i&&Object.assign(n.value,{position:"fixed"});const s=k(()=>Gc(e.anchor)),o=k(()=>e.origin==="overlap"?s.value:e.origin==="auto"?wr(s.value):Gc(e.origin)),r=k(()=>s.value.side===o.value.side),a=k(()=>{const d=parseFloat(e.maxHeight);return isNaN(d)?1/0:d}),l=k(()=>{const d=parseFloat(e.minWidth);return isNaN(d)?1/0:d});let c=!1;if(Vt){const d=new ResizeObserver(()=>{c&&u()});d.observe(t.activatorEl.value),d.observe(t.contentEl.value),Ti(()=>{d.disconnect()})}function u(){var d;c=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>c=!0)});const f=t.activatorEl.value.getBoundingClientRect();e.offset&&(f.x-=+e.offset,f.y-=+e.offset,f.width+=+e.offset*2,f.height+=+e.offset*2);const h=Uf(t.contentEl.value),g=h.clientWidth,m=Math.min(h.clientHeight,window.innerHeight);let p;{const B=new Map;t.contentEl.value.querySelectorAll("*").forEach(at=>{const gt=at.scrollLeft,mt=at.scrollTop;(gt||mt)&&B.set(at,[gt,mt])});const K=t.contentEl.value.style.maxWidth,q=t.contentEl.value.style.maxHeight;t.contentEl.value.style.removeProperty("max-width"),t.contentEl.value.style.removeProperty("max-height"),p=el(t.contentEl.value),p.x-=parseFloat(t.contentEl.value.style.left)||0,p.y-=parseFloat(t.contentEl.value.style.top)||0,t.contentEl.value.style.maxWidth=K,t.contentEl.value.style.maxHeight=q,B.forEach((at,gt)=>{gt.scrollTo(...at)})}const v=Math.min(a.value,p.height),y=e.maxWidth===void 0?Number.MAX_VALUE:parseInt((d=e.maxWidth)!=null?d:0,10),C=12,S={top:f.top-C,bottom:m-f.bottom-C,left:Math.min(f.left-C,y),right:Math.min(g-f.right-C,y)},w=s.value.side==="bottom"&&v<=S.bottom||s.value.side==="top"&&v<=S.top,A=w?s.value:s.value.side==="bottom"&&S.top>S.bottom||s.value.side==="top"&&S.bottom>S.top?wr(s.value):s.value,x=w?o.value:wr(A),E=r.value||["center","top","bottom"].includes(A.side)?Math.min(g,Math.max(f.width,g-C*2)):A.side==="end"?S.right:A.side==="start"?S.left:null,L=Math.min(l.value,E,f.width),D=w?a.value:Math.min(a.value,Math.floor(A.side==="top"?S.top:S.bottom)),O=Jc(A,f),W=Jc(x,new ho(lt(M({},p),{height:Math.min(v,D)}))),{x:J,y:j}=ay(O,W);Object.assign(n.value,{"--v-overlay-anchor-origin":Zc(A,t.activatorEl.value),top:Q(Math.round(j)),left:Q(Math.round(J)),transformOrigin:Zc(x,t.activatorEl.value),minWidth:Q(L),maxWidth:Q(E),maxHeight:Q(D)})}return wt(()=>[s.value,o.value,e.offset],()=>u(),{immediate:!i}),i&&Sn(()=>u()),requestAnimationFrame(()=>{n.value.maxHeight&&u()}),{updatePosition:u}}let aa=!0;const Ao=[];function fy(t){!aa||Ao.length?(Ao.push(t),la()):(aa=!1,t(),la())}let Qc=-1;function la(){cancelAnimationFrame(Qc),Qc=requestAnimationFrame(()=>{const t=Ao.shift();t&&t(),Ao.length?la():aa=!0})}const ca={none:null,close:my,block:py,reposition:vy},hy=ut({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in ca}});function gy(t,e){if(!Vt)return;let n;Qn(async()=>{var i;(i=n)==null||i.stop(),e.isActive.value&&t.scrollStrategy&&(n=As(),await Sn(),n.run(()=>{if(typeof t.scrollStrategy=="function")t.scrollStrategy(e);else{var s;(s=ca[t.scrollStrategy])==null||s.call(ca,e)}}))})}function my(t){var e;function n(i){t.isActive.value=!1}Ih((e=t.activatorEl.value)!=null?e:t.contentEl.value,n)}function py(t){var e;const n=[...new Set([...na(t.activatorEl.value),...na(t.contentEl.value)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,s=(o=>sl(o)&&o)(((e=t.root.value)==null?void 0:e.offsetParent)||document.documentElement);s&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((o,r)=>{o===document.documentElement&&/iphone|ipad|ipod/i.test(navigator.userAgent)&&(o.style.setProperty("--v-ios-body-scroll-x",Q(-o.scrollLeft)),o.style.setProperty("--v-ios-body-scroll-y",Q(-o.scrollTop))),o.style.setProperty("--v-scrollbar-offset",Q(i)),o.classList.add("v-overlay-scroll-blocked")}),Ti(()=>{n.forEach((o,r)=>{o.style.removeProperty("--v-ios-body-scroll-x"),o.style.removeProperty("--v-ios-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked")}),s&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function vy(t){var e;let n=!1,i=-1;function s(o){fy(()=>{var r,a;const l=performance.now();(r=(a=t.updatePosition).value)==null||r.call(a,o),n=(performance.now()-l)/(1e3/60)>2})}Ih((e=t.activatorEl.value)!=null?e:t.contentEl.value,o=>{n?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{s(o)})})):s(o)})}function Ih(t,e){const n=[document,...na(t)];n.forEach(i=>{i.addEventListener("scroll",e,{passive:!0})}),Ti(()=>{n.forEach(i=>{i.removeEventListener("scroll",e)})})}var by={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Page {0}, Current Page",first:"First page",last:"Last page"}},rating:{ariaLabel:{item:"Rating {0} of {1}"}}};const yy={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!1,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1},ua=Symbol.for("vuetify:rtl");function _y(t,e){var n,i;return xy({rtl:M(M({},yy),(n=e==null?void 0:e.rtl)!=null?n:{}),isRtl:z((i=e==null?void 0:e.defaultRtl)!=null?i:!1),rtlClasses:z("")},t)}function xy(t,e,n){const i=k(()=>typeof(n==null?void 0:n.rtl)=="boolean"?n.rtl:e.current.value&&t.rtl.hasOwnProperty(e.current.value)?t.rtl[e.current.value]:t.isRtl.value);return{isRtl:i,rtl:t.rtl,rtlClasses:k(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function sr(){const t=At(ua);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return t}function os(t){return{teleportTarget:k(()=>{const n=t.value;if(n===!0||!Vt)return;const i=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(i==null){Wm(`Unable to locate target ${n}`);return}if(!os.cache.has(i)){const s=document.createElement("div");s.className="v-overlay-container",i.appendChild(s),os.cache.set(i,s)}return os.cache.get(i)})}}os.cache=new WeakMap;const Sy=ut({eager:Boolean},"lazy");function wy(t,e){const n=z(!1),i=k(()=>n.value||t.eager||e.value);wt(e,()=>n.value=!0);function s(){t.eager||(n.value=!1)}return{isBooted:n,hasContent:i,onAfterLeave:s}}const Ni=z([]);function Cy(t){const e=xe("useStack");let n;return wt(t,s=>{if(s)n=As(),n.run(()=>{Ni.value.push(e),Ti(()=>{const r=Ni.value.indexOf(e);Ni.value.splice(r,1)})});else{var o;(o=n)==null||o.stop()}},{immediate:!0}),{isTop:k(()=>st(Ni.value[Ni.value.length-1])===e)}}const tu=Symbol.for("vuetify:overlay"),ky=2e3;function My(t){const{zIndex:e,overlays:n}=At(tu,{zIndex:z(ky),overlays:z([])}),i=_e();return wt(t,o=>{o?n.value.push(i):n.value=n.value.filter(r=>r!==i)},{immediate:!0}),Qt(tu,{zIndex:e,overlays:n}),{overlayZIndex:k(()=>e.value+n.value.indexOf(i)+1)}}function Py(){return!0}function Dh(t,e,n){if(!t||Rh(t,n)===!1)return!1;const i=Wf(e);if(typeof ShadowRoot!="undefined"&&i instanceof ShadowRoot&&i.host===t.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(e),!s.some(o=>o==null?void 0:o.contains(t.target))}function Rh(t,e){return(typeof e.value=="object"&&e.value.closeConditional||Py)(t)}function Ay(t,e,n){const i=typeof n.value=="function"?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Dh(t,e,n)&&setTimeout(()=>{Rh(t,n)&&i&&i(t)},0)}function eu(t,e){const n=Wf(t);e(document),typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&e(n)}const Ty={mounted(t,e){const n=s=>Ay(s,t,e),i=s=>{t._clickOutside.lastMousedownWasOutside=Dh(s,t,e)};eu(t,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",i,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[e.instance.$.uid]={onClick:n,onMousedown:i}},unmounted(t,e){!t._clickOutside||(eu(t,n=>{var i;if(!n||!((i=t._clickOutside)!=null&&i[e.instance.$.uid]))return;const{onClick:s,onMousedown:o}=t._clickOutside[e.instance.$.uid];n.removeEventListener("click",s,!0),n.removeEventListener("mousedown",o,!0)}),delete t._clickOutside[e.instance.$.uid])}};function Ey(t){const s=t,{modelValue:e,color:n}=s,i=cn(s,["modelValue","color"]);return b(ze,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&b("div",It({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},i),null)]})}const Oy=ne()({name:"VOverlay",directives:{ClickOutside:Ty},inheritAttrs:!1,props:M(M(M(M(M(M(M({absolute:Boolean,attach:[Boolean,String,Object],contained:Boolean,contentClass:null,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[String,Boolean],default:!0}},sy()),Ei()),ly()),hy()),Wt()),Li()),Sy()),emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:i,emit:s}=e;const o=Yt(t,"modelValue"),{teleportTarget:r}=os(k(()=>t.attach||t.contained)),{themeClasses:a}=Zt(t),{rtlClasses:l}=sr(),{hasContent:c,onAfterLeave:u}=wy(t,o),d=Te(k(()=>typeof t.scrim=="string"?t.scrim:null)),{activatorEl:f,activatorRef:h,activatorEvents:g}=oy(t,o),{dimensionStyles:m}=Oi(t),{isTop:p}=Cy(o),v=z(),y=z(),{contentStyles:C,updatePosition:S}=cy(t,{contentEl:y,activatorEl:f,isActive:o});gy(t,{root:v,contentEl:y,activatorEl:f,isActive:o,updatePosition:S});function w(D){s("click:outside",D),t.persistent?E():o.value=!1}function A(){return o.value&&p.value}Vt&&wt(o,D=>{D?window.addEventListener("keydown",x):window.removeEventListener("keydown",x)},{immediate:!0});function x(D){D.key==="Escape"&&p.value&&(t.persistent?E():o.value=!1)}Rb(D=>{p.value&&o.value?(D(!1),t.persistent?E():o.value=!1):D()});const T=z();wt(()=>o.value&&(t.absolute||t.contained)&&r.value==null,D=>{if(D){const O=Uf(v.value);O&&O!==document.scrollingElement&&(T.value=O.scrollTop)}});function E(){var D;t.noClickAnimation||(D=y.value)==null||D.animate([{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:jf})}const{overlayZIndex:L}=My(o);return Ht(()=>{var D,O;return b(Lt,null,[(D=n.activator)==null?void 0:D.call(n,{isActive:o.value,props:It({ref:h},zp(g.value),t.activatorProps)}),Vt&&b(Ip,{disabled:!r.value,to:r.value},{default:()=>[c.value&&b("div",It({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":o.value,"v-overlay--contained":t.contained},a.value,l.value],style:{top:Q(T.value),zIndex:L.value},ref:v},i),[b(Ey,{color:d,modelValue:o.value&&!!t.scrim},null),b(Vn,{appear:!0,persisted:!0,transition:t.transition,target:f.value,onAfterLeave:()=>{u(),s("afterLeave")}},{default:()=>[qt(b("div",{ref:y,class:["v-overlay__content",t.contentClass],style:[m.value,C.value]},[(O=n.default)==null?void 0:O.call(n,{isActive:o})]),[[ti,o.value],[en("click-outside"),{handler:w,closeConditional:A,include:()=>[f.value]}]])]})])]})])}),{animateClick:E,contentEl:y,activatorEl:f}}}),Ly=ne()({name:"VMenu",inheritAttrs:!1,props:M({disableKeys:Boolean,modelValue:Boolean,id:String},Li({transition:{component:Lb}})),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const s=Yt(t,"modelValue"),o=_e(),r=k(()=>t.id||`v-menu-${o}`);return()=>b(Oy,It({modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,class:["v-menu"],transition:t.transition,absolute:!0,positionStrategy:"connected",scrollStrategy:"reposition",scrim:!1,activatorProps:{"aria-haspopup":"menu","aria-expanded":String(s.value),"aria-owns":r.value}},n),{default:i.default,activator:i.activator})}});const Iy=it({name:"VMessages",props:M({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]}},Li({transition:{component:gh,leaveAbsolute:!0,group:!0}})),setup(t,e){let{slots:n}=e;const i=k(()=>Un(t.messages)),{textColorClasses:s,textColorStyles:o}=Je(k(()=>t.color));return()=>b(Vn,{transition:t.transition,tag:"div",class:["v-messages",s.value],style:o.value},{default:()=>[t.active&&i.value.map((r,a)=>b("div",{class:"v-messages__message",key:`${a}-${i.value}`},[n.message?n.message({message:r}):r]))]})}}),Dy=Symbol.for("vuetify:form");function Ry(){return At(Dy,null)}const $y=ut({disabled:Boolean,error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,readonly:Boolean,rules:{type:Array,default:()=>[]},modelValue:null});function Fy(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();const n=Yt(t,"modelValue"),i=Ry(),s=z([]),o=z(!0),r=k(()=>Un(n.value||[]).length>0),a=k(()=>!!(t.disabled||i!=null&&i.isDisabled.value)),l=k(()=>!!(t.readonly||i!=null&&i.isReadonly.value)),c=k(()=>t.errorMessages.length?Un(t.errorMessages):s.value),u=k(()=>t.error||c.value.length?!1:o.value?null:!0),d=z(!1),f=k(()=>({[`${e}--error`]:u.value===!1,[`${e}--dirty`]:r.value,[`${e}--disabled`]:a.value,[`${e}--readonly`]:l.value})),h=k(()=>{var v;return(v=t.name)!=null?v:_e()});qo(()=>{i==null||i.register(h.value,p,g,m)}),ue(()=>{i==null||i.unregister(h.value)}),wt(n,p);function g(){m(),n.value=null}function m(){o.value=!0,s.value=[]}async function p(){const v=[];d.value=!0;for(const y of t.rules){if(v.length>=(t.maxErrors||1))break;const S=await(typeof y=="function"?y:()=>y)(n.value);if(S!==!0){if(typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}v.push(S)}}return s.value=v,d.value=!1,o.value=!1,s.value}return{errorMessages:c,isDirty:r,isDisabled:a,isReadonly:l,isPristine:o,isValid:u,isValidating:d,reset:g,resetValidation:m,validate:p,validationClasses:f}}const or=ut(M(M({id:String,appendIcon:String,prependIcon:String,hideDetails:[Boolean,String],messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)}},sn()),$y())),rr=ne()({name:"VInput",props:M({},or()),emits:{"click:prepend":t=>!0,"click:append":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{slots:n,emit:i}=e;const{densityClasses:s}=on(t),{errorMessages:o,isDirty:r,isDisabled:a,isReadonly:l,isPristine:c,isValid:u,isValidating:d,reset:f,resetValidation:h,validate:g,validationClasses:m}=Fy(t),p=_e(),v=k(()=>t.id||`input-${p}`),y=k(()=>({id:v,isDirty:r,isDisabled:a,isReadonly:l,isPristine:c,isValid:u,isValidating:d,reset:f,resetValidation:h,validate:g}));return Ht(()=>{var C,S,w,A,x;const T=!!(n.prepend||t.prependIcon),E=!!(n.append||t.appendIcon),L=!!((C=t.messages)!=null&&C.length||o.value.length),D=!t.hideDetails||t.hideDetails==="auto"&&L;return b("div",{class:["v-input",`v-input--${t.direction}`,s.value,m.value]},[T&&b("div",{class:"v-input__prepend"},[n==null||(S=n.prepend)==null?void 0:S.call(n,y.value),t.prependIcon&&b(le,{onClick:O=>i("click:prepend",O),icon:t.prependIcon},null)]),n.default&&b("div",{class:"v-input__control"},[(w=n.default)==null?void 0:w.call(n,y.value)]),E&&b("div",{class:"v-input__append"},[n==null||(A=n.append)==null?void 0:A.call(n,y.value),t.appendIcon&&b(le,{onClick:O=>i("click:append",O),icon:t.appendIcon},null)]),D&&b("div",{class:"v-input__details"},[b(Iy,{active:L,messages:o.value.length>0?o.value:t.messages},{message:n.message}),(x=n.details)==null?void 0:x.call(n,y.value)])])}),{reset:f,resetValidation:h,validate:g}}});function dl(t){return Ts(t,Object.keys(rr.props))}const $h=it({name:"VLabel",props:M({text:String},Wt()),setup(t,e){let{slots:n}=e;return()=>{var i;return b("label",{class:"v-label"},[t.text,(i=n.default)==null?void 0:i.call(n)])}}}),Xs=it({name:"VFieldLabel",props:{floating:Boolean},setup(t,e){let{slots:n}=e;return()=>b($h,{class:["v-field-label",{"v-field-label--floating":t.floating}],"aria-hidden":t.floating||void 0},n)}});function Fh(t){const e=z(),n=z(!1);if(ol){const i=new IntersectionObserver(s=>{t==null||t(s,i),n.value=!!s.find(o=>o.isIntersecting)});ue(()=>{i.disconnect()}),wt(e,(s,o)=>{o&&(i.unobserve(o),n.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:e,isIntersecting:n}}const Vy=it({name:"VProgressLinear",props:M(M(M({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},Oe()),Bt()),Wt()),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const i=Yt(t,"modelValue"),{isRtl:s}=sr(),{themeClasses:o}=Zt(t),{textColorClasses:r,textColorStyles:a}=Je(t,"color"),{backgroundColorClasses:l,backgroundColorStyles:c}=Te(k(()=>t.bgColor||t.color)),{backgroundColorClasses:u,backgroundColorStyles:d}=Te(t,"color"),{roundedClasses:f}=Le(t),{intersectionRef:h,isIntersecting:g}=Fh(),m=k(()=>parseInt(t.max,10)),p=k(()=>parseInt(t.height,10)),v=k(()=>parseFloat(t.bufferValue)/m.value*100),y=k(()=>parseFloat(i.value)/m.value*100),C=k(()=>s.value!==t.reverse),S=k(()=>t.indeterminate?"fade-transition":"slide-x-transition"),w=k(()=>t.bgOpacity==null?t.bgOpacity:parseFloat(t.bgOpacity));function A(x){if(!h.value)return;const{left:T,right:E,width:L}=h.value.getBoundingClientRect(),D=C.value?L-x.clientX+(E-L):x.clientX-T;i.value=Math.round(D/L*m.value)}return()=>b(t.tag,{ref:h,class:["v-progress-linear",{"v-progress-linear--active":t.active&&g.value,"v-progress-linear--reverse":C.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped},f.value,o.value],style:{height:t.active?Q(p.value):0,"--v-progress-linear-height":Q(p.value)},role:"progressbar","aria-valuemin":"0","aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:y.value,onClick:t.clickable&&A},{default:()=>[t.stream&&b("div",{class:["v-progress-linear__stream",r.value],style:lt(M({},a.value),{[C.value?"left":"right"]:Q(-p.value),borderTop:`${Q(p.value/2)} dotted`,opacity:w.value,top:`calc(50% - ${Q(p.value/4)})`,width:Q(100-v.value,"%"),"--v-progress-linear-stream-to":Q(p.value*(C.value?1:-1))})},null),b("div",{class:["v-progress-linear__background",l.value],style:[c.value,{opacity:w.value,width:Q(t.stream?v.value:100,"%")}]},null),b(ze,{name:S.value},{default:()=>[t.indeterminate?b("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>b("div",{key:x,class:["v-progress-linear__indeterminate",x,u.value],style:d.value},null))]):b("div",{class:["v-progress-linear__determinate",u.value],style:[d.value,{width:Q(y.value,"%")}]},null)]}),n.default&&b("div",{class:"v-progress-linear__content"},[n.default({value:y.value,buffer:v.value})])]})}}),By=ut({loading:Boolean},"loader");function Vh(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();return{loaderClasses:k(()=>({[`${e}--loading`]:t.loading}))}}function Bh(t,e){var n;let{slots:i}=e;return b("div",{class:`${t.name}__loader`},[((n=i.default)==null?void 0:n.call(i,{color:t.color,isActive:t.active}))||b(Vy,{active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const Nh=ut({focused:Boolean},"focus");function zh(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();const n=Yt(t,"focused"),i=k(()=>({[`${e}--focused`]:n.value}));function s(){n.value=!0}function o(){n.value=!1}return{focusClasses:i,isFocused:n,focus:s,blur:o}}const Ny=["underlined","outlined","filled","contained","plain"],Hh=ut(M(M({appendInnerIcon:String,bgColor:String,clearable:Boolean,clearIcon:{type:String,default:"$clear"},active:Boolean,color:String,dirty:Boolean,disabled:Boolean,error:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:String,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:t=>Ny.includes(t)}},Wt()),By()),"v-field"),Wh=ne()({name:"VField",inheritAttrs:!1,props:M(M({id:String},Nh()),Hh()),emits:{"click:clear":t=>!0,"click:prepend-inner":t=>!0,"click:append-inner":t=>!0,"click:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const{themeClasses:o}=Zt(t),{loaderClasses:r}=Vh(t),{focusClasses:a,isFocused:l,focus:c,blur:u}=zh(t),d=k(()=>t.dirty||t.active),f=k(()=>!t.singleLine&&!!(t.label||s.label)),h=_e(),g=k(()=>t.id||`input-${h}`),m=z(),p=z(),v=z(),{backgroundColorClasses:y,backgroundColorStyles:C}=Te(et(t,"bgColor")),{textColorClasses:S,textColorStyles:w}=Je(k(()=>d.value&&l.value&&!t.error&&!t.disabled?t.color:void 0));wt(d,T=>{if(f.value){const E=m.value.$el,L=p.value.$el,D=el(E),O=L.getBoundingClientRect(),W=O.x-D.x,J=O.y-D.y-(D.height/2-O.height/2),j=O.width/.75,B=Math.abs(j-D.width)>1?{maxWidth:Q(j)}:void 0,K=parseFloat(getComputedStyle(E).transitionDuration)*1e3,q=parseFloat(getComputedStyle(L).getPropertyValue("--v-field-label-scale"));E.style.visibility="visible",L.style.visibility="hidden",E.animate([{transform:"translate(0)"},M({transform:`translate(${W}px, ${J}px) scale(${q})`},B)],{duration:K,easing:jf,direction:T?"normal":"reverse"}).finished.then(()=>{E.style.removeProperty("visibility"),L.style.removeProperty("visibility")})}},{flush:"post"});const A=k(()=>({isActive:d,isFocused:l,controlRef:v,blur:u,focus:c}));function x(T){T.target!==document.activeElement&&T.preventDefault(),i("click:control",T)}return Ht(()=>{var T,E,L;const D=t.variant==="outlined",O=s.prependInner||t.prependInnerIcon,W=!!(t.clearable||s.clear),J=!!(s.appendInner||t.appendInnerIcon||W),j=s.label?s.label({label:t.label,props:{for:g.value}}):t.label;return b("div",It({class:["v-field",{"v-field--active":d.value,"v-field--appended":J,"v-field--disabled":t.disabled,"v-field--dirty":t.dirty,"v-field--error":t.error,"v-field--has-background":!!t.bgColor,"v-field--persistent-clear":t.persistentClear,"v-field--prepended":O,"v-field--reverse":t.reverse,"v-field--single-line":t.singleLine,[`v-field--variant-${t.variant}`]:!0},o.value,y.value,a.value,r.value],style:[C.value,w.value],onClick:x},n),[b("div",{class:"v-field__overlay"},null),b(Bh,{name:"v-field",active:t.loading,color:t.error?"error":t.color},{default:s.loader}),O&&b("div",{class:"v-field__prepend-inner"},[t.prependInnerIcon&&b(le,{onClick:B=>i("click:prepend-inner",B),icon:t.prependInnerIcon},null),s==null||(T=s.prependInner)==null?void 0:T.call(s,A.value)]),b("div",{class:"v-field__field"},[["contained","filled"].includes(t.variant)&&f.value&&b(Xs,{ref:p,class:[S.value],floating:!0},{default:()=>[j]}),b(Xs,{ref:m,for:g.value},{default:()=>[j]}),(E=s.default)==null?void 0:E.call(s,lt(M({},A.value),{props:{id:g.value,class:"v-field__input"},focus:c,blur:u}))]),W&&b(mh,null,{default:()=>[qt(b("div",{class:"v-field__clearable"},[s.clear?s.clear():b(le,{onClick:B=>i("click:clear",B),icon:t.clearIcon},null)]),[[ti,t.dirty]])]}),J&&b("div",{class:"v-field__append-inner"},[s==null||(L=s.appendInner)==null?void 0:L.call(s,A.value),t.appendInnerIcon&&b(le,{onClick:B=>i("click:append-inner",B),icon:t.appendInnerIcon},null)]),b("div",{class:["v-field__outline",S.value]},[D&&b(Lt,null,[b("div",{class:"v-field__outline__start"},null),f.value&&b("div",{class:"v-field__outline__notch"},[b(Xs,{ref:p,floating:!0},{default:()=>[j]})]),b("div",{class:"v-field__outline__end"},null)]),["plain","underlined"].includes(t.variant)&&f.value&&b(Xs,{ref:p,floating:!0},{default:()=>[j]})])])}),{controlRef:v}}});function zy(t){return Ts(t,Object.keys(Wh.props))}const Hy=it({name:"VCounter",functional:!0,props:M({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0}},Li({transition:{component:gh}})),setup(t,e){let{slots:n}=e;const i=k(()=>t.max?`${t.value} / ${t.max}`:String(t.value));return()=>b(Vn,{transition:t.transition},{default:()=>[qt(b("div",{class:"v-counter"},[n.default?n.default({counter:i.value,max:t.max,value:t.value}):i.value]),[[ti,t.active]])]})}});function fl(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i!0,"click:append-inner":t=>!0,"click:clear":t=>!0,"click:control":t=>!0,"click:input":t=>!0,"click:prepend":t=>!0,"click:prepend-inner":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,emit:i,slots:s}=e;const o=Yt(t,"modelValue"),r=k(()=>{var y;return typeof t.counterValue=="function"?t.counterValue(o.value):((y=o.value)!=null?y:"").toString().length}),a=k(()=>{if(n.maxlength)return n.maxlength;if(!(!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"))return t.counter});function l(y,C){var S,w;!t.autofocus||!y||(S=C[0].target)==null||(w=S.focus)==null||w.call(S)}const c=z(),u=z(),d=z(!1),f=z(),h=k(()=>Wy.includes(t.type)||t.persistentPlaceholder||d.value),g=k(()=>t.messages.length?t.messages:d.value||t.persistentHint?t.hint:"");function m(){if(f.value!==document.activeElement){var y;(y=f.value)==null||y.focus()}d.value||(d.value=!0)}function p(y){m(),i("click:control",y)}function v(y){y.stopPropagation(),m(),Sn(()=>{o.value="",i("click:clear",y)})}return Ht(()=>{const y=!!(s.counter||t.counter||t.counterValue),[C,S]=Ff(n),[T]=dl(t),E=T,{modelValue:w}=E,A=cn(E,["modelValue"]),[x]=zy(t);return b(rr,It({ref:c,modelValue:o.value,"onUpdate:modelValue":L=>o.value=L,class:["v-text-field",{"v-text-field--persistent-placeholder":t.persistentPlaceholder,"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-text-field--flush-details":["plain","underlined"].includes(t.variant)}],"onClick:prepend":L=>i("click:prepend",L),"onClick:append":L=>i("click:append",L)},C,A,{messages:g.value}),lt(M({},s),{default:L=>{let{isDisabled:D,isDirty:O,isReadonly:W,isValid:J}=L;return b(Wh,It({ref:u,onMousedown:j=>{j.target!==f.value&&j.preventDefault()},"onClick:control":p,"onClick:clear":v,"onClick:prependInner":j=>i("click:prepend-inner",j),"onClick:appendInner":j=>i("click:append-inner",j),role:"textbox"},x,{active:h.value||O.value,dirty:O.value||t.dirty,focused:d.value,error:J.value===!1}),lt(M({},s),{default:j=>{var B;let{props:at}=j,gt=at,{class:K}=gt,q=cn(gt,["class"]);return b(Lt,null,[t.prefix&&b("span",{class:"v-text-field__prefix"},[t.prefix]),b("div",{class:K,onClick:mt=>i("click:input",mt)},[(B=s.default)==null?void 0:B.call(s),qt(b("input",It({ref:f,"onUpdate:modelValue":mt=>o.value=mt,autofocus:t.autofocus,readonly:W.value,disabled:D.value,placeholder:t.placeholder,size:1,type:t.type,onFocus:m,onBlur:()=>d.value=!1},q,S),null),[[If,o.value],[en("intersect"),{handler:l},null,{once:!0}]])]),t.suffix&&b("span",{class:"v-text-field__suffix"},[t.suffix])])}}))},details:y?()=>b(Lt,null,[b("span",null,null),b(Hy,{active:t.persistentCounter||d.value,value:r.value,max:a.value},s.counter)]):void 0}))}),fl({},c,u,f)}}),da=Symbol.for("vuetify:locale-adapter"),Ks=Symbol.for("vuetify:locale");function Uy(){const t=At(da);if(!t)throw new Error("[Vuetify] Could not find injected locale adapter");return t.getScope()}function Yy(t){return!!t&&t.hasOwnProperty("getScope")&&t.hasOwnProperty("createScope")&&t.hasOwnProperty("createRoot")}function Xy(t,e){const n=Yy(e)?e:Gy(e),i=n.createRoot(t);return{adapter:n,rootInstance:i}}const nu="$vuetify.",iu=(t,e)=>t.replace(/\{(\d+)\}/g,(n,i)=>String(e[+i])),Ky=(t,e,n)=>function(i){for(var s=arguments.length,o=new Array(s>1?s-1:0),r=1;rnew Intl.NumberFormat([t.value,e.value],i).format(n)}function Gy(t){const e=n=>{const i=z(n.current),s=z(n.fallback),o=z(n.messages);return{current:i,fallback:s,messages:o,t:Ky(i,s,o),n:qy(i,s)}};return{createRoot:n=>{var i,s,o;const r=e({current:(i=t==null?void 0:t.defaultLocale)!=null?i:"en",fallback:(s=t==null?void 0:t.fallbackLocale)!=null?s:"en",messages:(o=t==null?void 0:t.messages)!=null?o:{en:by}});return n.provide(Ks,r),r},getScope:()=>{const n=At(Ks);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n},createScope:n=>{const i=At(Ks);if(!i)throw new Error("[Vuetify] Could not find injected locale instance");const s=e({current:k(()=>{var o;return(o=n==null?void 0:n.locale)!=null?o:i.current.value}),fallback:k(()=>{var o;return(o=n==null?void 0:n.locale)!=null?o:i.fallback.value}),messages:k(()=>{var o;return(o=n==null?void 0:n.messages)!=null?o:i.messages.value})});return Qt(Ks,s),s}}}function Zy(t){var e;return{title:String((e=typeof t=="object"?t.title:t)!=null?e:""),value:typeof t=="object"?t.value:t}}const Jy=ut({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},menuIcon:{type:String,default:"$dropdown"},modelValue:{type:[Number,String,Array],default:()=>[]},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean},"select"),cC=ne()({name:"VSelect",props:M(M({},Jy()),Li({transition:"scale-transition"})),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{t:i}=Uy(),s=z(),o=z(),r=z(!1),a=k(()=>t.items.map(Zy)),l=Yt(t,"modelValue",[],m=>Un(m),m=>t.multiple?m:m[0]),c=k(()=>a.value.filter(m=>l.value.includes(m.value))),u=k(()=>c.value.map(m=>m.value));function d(m){l.value=[],t.openOnClear&&(r.value=!0)}function f(){t.hideNoData&&!a.value.length||(r.value=!0)}function h(m){["Enter","ArrowDown"," "].includes(m.key)&&(r.value=!0),["Escape","Tab"].includes(m.key)&&(r.value=!1)}function g(m){t.multiple?c.value.findIndex(v=>v.value===m.value)===-1?l.value.push(m.value):l.value=u.value.filter(v=>v!==m.value):(l.value=[m.value],r.value=!1)}return wt(()=>s.value,m=>{o.value=m.$el.querySelector(".v-input__control")}),Ht(()=>{const m=!!(t.chips||n.chip);return b(jy,{ref:s,class:["v-select",{"v-select--active-menu":r.value,"v-select--chips":!!t.chips,[`v-select--${t.multiple?"multiple":"single"}`]:!0}],appendInnerIcon:t.menuIcon,readonly:!0,"onClick:clear":d,"onClick:input":f,"onClick:control":f,onBlur:()=>r.value=!1,modelValue:l.value.join(", "),onKeydown:h},lt(M({},n),{default:()=>b(Lt,null,[o.value&&b(Ly,{modelValue:r.value,"onUpdate:modelValue":p=>r.value=p,activator:o.value,contentClass:"v-select__content",eager:t.eager,openOnClick:!1,transition:t.transition},{default:()=>[b(ey,{selected:u.value,selectStrategy:t.multiple?"independent":"single-independent"},{default:()=>[!a.value.length&&!t.hideNoData&&b(Po,{title:i(t.noDataText)},null),a.value.map(p=>b(Po,{title:p.title,value:p.value,onMousedown:v=>v.preventDefault(),onClick:()=>g(p)},null))]})]}),c.value.map((p,v)=>{function y(S){S.stopPropagation(),S.preventDefault(),g(p)}const C={"onClick:close":y,modelValue:!0};return b("div",{class:"v-select__selection"},[m&&b(vi,{defaults:{VChip:{closable:t.closableChips,size:"small",text:p.title}}},{default:()=>[n.chip?n.chip({props:C,selection:p}):b(zb,C,null)]}),!m&&(n.selection?n.selection({selection:p}):b("span",{class:"v-select__selection-text"},[p.title,t.multiple&&vtypeof t=="boolean"||t==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:t=>typeof t=="boolean"||t==="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:t=>["vertical","horizontal"].includes(t)},reverse:Boolean},Oe()),rn({elevation:2})),"slider"),n_=t=>{let{props:e,handleSliderMouseUp:n,handleMouseMove:i,getActiveThumb:s}=t;const{isRtl:o}=sr(),r=k(()=>o.value!==e.reverse),a=k(()=>{let Y=o.value?"rtl":"ltr";return e.reverse&&(Y=Y==="rtl"?"ltr":"rtl"),Y}),l=k(()=>parseFloat(e.min)),c=k(()=>parseFloat(e.max)),u=k(()=>e.step>0?parseFloat(e.step):0),d=k(()=>{const Y=u.value.toString().trim();return Y.includes(".")?Y.length-Y.indexOf(".")-1:0}),f=k(()=>parseInt(e.thumbSize,10)),h=k(()=>parseInt(e.tickSize,10)),g=k(()=>parseInt(e.trackSize,10)),m=k(()=>(c.value-l.value)/u.value),p=et(e,"disabled"),v=k(()=>e.direction==="vertical"),y=k(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.thumbColor)!=null?Y:e.color}),C=k(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.trackColor)!=null?Y:e.color}),S=k(()=>{var Y;return e.error||e.disabled?void 0:(Y=e.trackFillColor)!=null?Y:e.color}),w=z(!1),A=z(0),x=z(),T=z();function E(Y){if(u.value<=0)return Y;const pt=ea(Y,l.value,c.value),ie=l.value%u.value,se=Math.round((pt-ie)/u.value)*u.value+ie;return parseFloat(Math.min(se,c.value).toFixed(d.value))}function L(Y){var pt;const ie=e.direction==="vertical",se=ie?"top":"left",si=ie?"height":"width",Rs=ie?"clientY":"clientX",{[se]:ln,[si]:Di}=(pt=x.value)==null?void 0:pt.$el.getBoundingClientRect(),Ri=t_(Y,Rs);let _=Math.min(Math.max((Ri-ln-A.value)/Di,0),1)||0;return(ie||r.value)&&(_=1-_),E(l.value+_*(c.value-l.value))}let D=!1;const O=Y=>{D||(A.value=0,n(L(Y))),w.value=!1,D=!1,A.value=0},W=Y=>{T.value=s(Y),T.value&&(T.value.focus(),w.value=!0,T.value.contains(Y.target)?(D=!0,A.value=Qy(Y,T.value,e.direction)):(A.value=0,i(L(Y))))},J={passive:!0,capture:!0};function j(Y){D=!0,i(L(Y))}function B(Y){Y.stopPropagation(),Y.preventDefault(),O(Y),window.removeEventListener("mousemove",j,J),window.removeEventListener("mouseup",B)}function K(Y){Y.stopPropagation(),Y.preventDefault(),O(Y),window.removeEventListener("touchmove",j,J),window.removeEventListener("touchend",K)}function q(Y){W(Y),window.addEventListener("touchmove",j,J),window.addEventListener("touchend",K,{passive:!1})}function at(Y){Y.preventDefault(),W(Y),window.addEventListener("mousemove",j,J),window.addEventListener("mouseup",B,{passive:!1})}const gt=Y=>{const pt=(Y-l.value)/(c.value-l.value)*100;return ea(isNaN(pt)?0:pt,0,100)},mt=k(()=>e.ticks?Array.isArray(e.ticks)?e.ticks.map(Y=>({value:Y,position:gt(Y),label:Y.toString()})):Object.keys(e.ticks).map(Y=>({value:parseInt(Y,10),position:gt(parseInt(Y,10)),label:e.ticks[Y]})):m.value!==1/0?$f(m.value+1).map(Y=>{const pt=l.value+Y*u.value;return{value:pt,position:gt(pt)}}):[]),Rt=k(()=>mt.value.some(Y=>{let{label:pt}=Y;return!!pt})),$t={activeThumbRef:T,color:et(e,"color"),decimals:d,disabled:p,direction:et(e,"direction"),elevation:et(e,"elevation"),hasLabels:Rt,horizontalDirection:a,isReversed:r,min:l,max:c,mousePressed:w,numTicks:m,onSliderMousedown:at,onSliderTouchstart:q,parsedTicks:mt,parseMouseMove:L,position:gt,readonly:et(e,"readonly"),rounded:et(e,"rounded"),roundValue:E,showTicks:et(e,"showTicks"),startOffset:A,step:u,thumbSize:f,thumbColor:y,thumbLabel:et(e,"thumbLabel"),ticks:et(e,"ticks"),tickSize:h,trackColor:C,trackContainerRef:x,trackFillColor:S,trackSize:g,vertical:v};return Qt(hl,$t),$t},i_=it({name:"VSliderThumb",directives:{Ripple:Ii},props:{focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0}},emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n,emit:i}=e;const s=At(hl);if(!s)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:r,vertical:a,disabled:l,thumbSize:c,thumbLabel:u,direction:d,readonly:f,elevation:h,isReversed:g,horizontalDirection:m,mousePressed:p,decimals:v}=s,{textColorClasses:y,textColorStyles:C}=Je(o),{pageup:S,pagedown:w,end:A,home:x,left:T,right:E,down:L,up:D}=Wv,O=[S,w,A,x,T,E,L,D],W=k(()=>r.value?[1,2,3]:[1,5,10]);function J(B,K){if(!O.includes(B.key))return;B.preventDefault();const q=r.value||.1,at=(t.max-t.min)/q;if([T,E,L,D].includes(B.key)){const mt=(g.value?[T,D]:[E,D]).includes(B.key)?1:-1,Rt=B.shiftKey?2:B.ctrlKey?1:0;K=K+mt*q*W.value[Rt]}else if(B.key===x)K=t.min;else if(B.key===A)K=t.max;else{const gt=B.key===w?1:-1;K=K-gt*q*(at>100?at/10:10)}return Math.max(t.min,Math.min(t.max,K))}function j(B){const K=J(B,t.modelValue);K!=null&&i("update:modelValue",K)}return()=>{var B,K;const q=Q(a.value?100-t.position:t.position,"%"),at=a.value?"block":"inline",{elevationClasses:gt}=an(k(()=>l.value?void 0:h.value));return b("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":t.focused,"v-slider-thumb--pressed":t.focused&&p.value}],style:{[`inset-${at}-start`]:`calc(${q} - var(--v-slider-thumb-size) / 2)`,"--v-slider-thumb-size":Q(c.value),direction:a.value?void 0:m.value},role:"slider",tabindex:l.value?-1:0,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":t.modelValue,"aria-readonly":f.value,"aria-orientation":d.value,onKeydown:f.value?void 0:j},[b("div",{class:["v-slider-thumb__surface",y.value,gt.value],style:M({},C.value)},null),qt(b("div",{class:["v-slider-thumb__ripple",y.value],style:C.value},null),[[en("ripple"),!0,null,{circle:!0,center:!0}]]),b(Ib,{origin:"bottom center"},{default:()=>[qt(b("div",{class:"v-slider-thumb__label-container"},[b("div",{class:["v-slider-thumb__label"]},[b("div",null,[(B=(K=n["thumb-label"])==null?void 0:K.call(n,{modelValue:t.modelValue}))!=null?B:t.modelValue.toFixed(r.value?v.value:1)])])]),[[ti,u.value&&t.focused||u.value==="always"]])]})])}}});const s_=it({name:"VSliderTrack",props:{start:{type:Number,required:!0},stop:{type:Number,required:!0}},emits:{},setup(t,e){let{slots:n}=e;const i=At(hl);if(!i)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{trackColor:s,trackFillColor:o,vertical:r,tickSize:a,showTicks:l,trackSize:c,color:u,rounded:d,parsedTicks:f,horizontalDirection:h}=i,{roundedClasses:g}=Le(d),{backgroundColorClasses:m,backgroundColorStyles:p}=Te(o),{backgroundColorClasses:v,backgroundColorStyles:y}=Te(s),C=k(()=>`inset-${r.value?"block-end":"inline-start"}`),S=k(()=>r.value?"height":"width"),w=k(()=>({[C.value]:"0%",[S.value]:"100%"})),A=k(()=>t.stop-t.start),x=k(()=>({[C.value]:Q(t.start,"%"),[S.value]:Q(A.value,"%")})),T=k(()=>(r.value?f.value.slice().reverse():f.value).map((L,D)=>{var O,W;const J=r.value?"inset-block-end":"margin-inline-start";return b("div",{key:L.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":L.position>=t.start&&L.position<=t.stop}],style:{[J]:L.position>0&&L.position<100&&Q(L.position,"%")}},[(L.label||n["tick-label"])&&b("div",{class:"v-slider-track__tick-label"},[(O=(W=n["tick-label"])==null?void 0:W.call(n,{tick:L,index:D}))!=null?O:L.label])])}));return()=>b("div",{class:["v-slider-track",g.value],style:{"--v-slider-track-size":Q(c.value),"--v-slider-tick-size":Q(a.value),direction:r.value?void 0:h.value}},[b("div",{class:["v-slider-track__background",v.value,{"v-slider-track__background--opacity":!!u.value||!o.value}],style:M(M({},w.value),y.value)},null),b("div",{class:["v-slider-track__fill",m.value],style:M(M({},x.value),p.value)},null),l.value&&b("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":l.value==="always"}]},[T.value])])}}),uC=it({name:"VSlider",props:lt(M(M(M({},Nh()),e_()),or()),{modelValue:{type:[Number,String],default:0}}),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const s=z(),{min:o,max:r,mousePressed:a,roundValue:l,onSliderMousedown:c,onSliderTouchstart:u,trackContainerRef:d,position:f,hasLabels:h,readonly:g}=n_({props:t,handleSliderMouseUp:S=>m.value=l(S),handleMouseMove:S=>m.value=l(S),getActiveThumb:()=>{var S;return(S=s.value)==null?void 0:S.$el}}),m=Yt(t,"modelValue",void 0,S=>{const w=typeof S=="string"?parseFloat(S):S==null?o.value:S;return l(w)}),{isFocused:p,focus:v,blur:y}=zh(t),C=k(()=>f(m.value));return()=>{const[S,w]=dl(t);return b(rr,It({class:["v-slider",{"v-slider--has-labels":!!i["tick-label"]||h.value,"v-slider--focused":p.value,"v-slider--pressed":a.value,"v-slider--disabled":t.disabled}]},S,{focused:p.value}),lt(M({},i),{default:A=>{let{id:x}=A;return b("div",{class:"v-slider__container",onMousedown:g.value?void 0:c,onTouchstartPassive:g.value?void 0:u},[b("input",{id:x.value,name:t.name||x.value,disabled:t.disabled,readonly:t.readonly,tabindex:"-1",value:m.value},null),b(s_,{ref:d,start:0,stop:C.value},{"tick-label":i["tick-label"]}),b(i_,{ref:s,focused:p.value,min:o.value,max:r.value,modelValue:m.value,"onUpdate:modelValue":T=>m.value=T,position:C.value,elevation:t.elevation,onFocus:v,onBlur:y},{"thumb-label":i["thumb-label"]})])}}))}}});/*! + * Chart.js v3.7.1 + * https://www.chartjs.org + * (c) 2022 Chart.js Contributors + * Released under the MIT License + */const jh=function(){return typeof window=="undefined"?function(t){return t()}:window.requestAnimationFrame}();function Uh(t,e,n){const i=n||(r=>Array.prototype.slice.call(r));let s=!1,o=[];return function(...r){o=i(r),s||(s=!0,jh.call(window,()=>{s=!1,t.apply(e,o)}))}}function o_(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const gl=t=>t==="start"?"left":t==="end"?"right":"center",Xt=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,r_=(t,e,n,i)=>t===(i?"left":"right")?n:t==="center"?(e+n)/2:e;function We(){}const a_=function(){let t=0;return function(){return t++}}();function bt(t){return t===null||typeof t=="undefined"}function kt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.substr(0,7)==="[object"&&e.substr(-6)==="Array]"}function ht(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}const Ut=t=>(typeof t=="number"||t instanceof Number)&&isFinite(+t);function he(t,e){return Ut(t)?t:e}function rt(t,e){return typeof t=="undefined"?e:t}const l_=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:t/e,Yh=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function xt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function vt(t,e,n,i){let s,o,r;if(kt(t))if(o=t.length,i)for(s=o-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;sn;)t=t[e.substr(n,i-n)],n=i+1,i=su(e,n);return t}function ml(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ye=t=>typeof t!="undefined",_n=t=>typeof t=="function",ou=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function h_(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Tt=Math.PI,St=2*Tt,g_=St+Tt,Oo=Number.POSITIVE_INFINITY,m_=Tt/180,Et=Tt/2,zi=Tt/4,ru=Tt*2/3,ge=Math.log10,Be=Math.sign;function au(t){const e=Math.round(t);t=as(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(ge(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function p_(t){const e=[],n=Math.sqrt(t);let i;for(i=1;is-o).pop(),e}function Cs(t){return!isNaN(parseFloat(t))&&isFinite(t)}function as(t,e,n){return Math.abs(t-e)=t}function Kh(t,e,n){let i,s,o;for(i=0,s=t.length;il&&c=Math.min(e,n)-i&&t<=Math.max(e,n)+i}const qs=t=>t===0||t===1,cu=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*St/n)),uu=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*St/n)+1,ls={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Et)+1,easeOutSine:t=>Math.sin(t*Et),easeInOutSine:t=>-.5*(Math.cos(Tt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>qs(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>qs(t)?t:cu(t,.075,.3),easeOutElastic:t=>qs(t)?t:uu(t,.075,.3),easeInOutElastic(t){return qs(t)?t:t<.5?.5*cu(t*2,.1125,.45):.5+.5*uu(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-ls.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?ls.easeInBounce(t*2)*.5:ls.easeOutBounce(t*2-1)*.5+.5};/*! + * @kurkle/color v0.1.9 + * https://github.com/kurkle/color#readme + * (c) 2020 Jukka Kurkela + * Released under the MIT License + */const fe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ha="0123456789ABCDEF",__=t=>ha[t&15],x_=t=>ha[(t&240)>>4]+ha[t&15],Gs=t=>(t&240)>>4===(t&15);function S_(t){return Gs(t.r)&&Gs(t.g)&&Gs(t.b)&&Gs(t.a)}function w_(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&fe[t[1]]*17,g:255&fe[t[2]]*17,b:255&fe[t[3]]*17,a:e===5?fe[t[4]]*17:255}:(e===7||e===9)&&(n={r:fe[t[1]]<<4|fe[t[2]],g:fe[t[3]]<<4|fe[t[4]],b:fe[t[5]]<<4|fe[t[6]],a:e===9?fe[t[7]]<<4|fe[t[8]]:255})),n}function C_(t){var e=S_(t)?__:x_;return t&&"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):"")}function Ls(t){return t+.5|0}const ar=(t,e,n)=>Math.max(Math.min(t,n),e);function qi(t){return ar(Ls(t*2.55),0,255)}function Ms(t){return ar(Ls(t*255),0,255)}function vl(t){return ar(Ls(t/2.55)/100,0,1)}function du(t){return ar(Ls(t*100),0,100)}const k_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function M_(t){const e=k_.exec(t);let n=255,i,s,o;if(!!e){if(e[7]!==i){const r=+e[7];n=255&(e[8]?qi(r):r*255)}return i=+e[1],s=+e[3],o=+e[5],i=255&(e[2]?qi(i):i),s=255&(e[4]?qi(s):s),o=255&(e[6]?qi(o):o),{r:i,g:s,b:o,a:n}}}function P_(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${vl(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const A_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Gh(t,e,n){const i=e*Math.min(n,1-n),s=(o,r=(o+t/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[s(0),s(8),s(4)]}function T_(t,e,n){const i=(s,o=(s+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function E_(t,e,n){const i=Gh(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)i[s]*=1-e-n,i[s]+=e;return i}function bl(t){const n=t.r/255,i=t.g/255,s=t.b/255,o=Math.max(n,i,s),r=Math.min(n,i,s),a=(o+r)/2;let l,c,u;return o!==r&&(u=o-r,c=a>.5?u/(2-o-r):u/(o+r),l=o===n?(i-s)/u+(i>16&255,o>>8&255,o&255]}return t}let Zs;function F_(t){Zs||(Zs=$_(),Zs.transparent=[0,0,0,0]);const e=Zs[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}function Js(t,e,n){if(t){let i=bl(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,e===0?360:1)),i=_l(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function Jh(t,e){return t&&Object.assign(e||{},t)}function gu(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ms(t[3]))):(e=Jh(t,{r:0,g:0,b:0,a:1}),e.a=Ms(e.a)),e}function V_(t){return t.charAt(0)==="r"?M_(t):I_(t)}class Lo{constructor(e){if(e instanceof Lo)return e;const n=typeof e;let i;n==="object"?i=gu(e):n==="string"&&(i=w_(e)||F_(e)||V_(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=Jh(this._rgb);return e&&(e.a=vl(e.a)),e}set rgb(e){this._rgb=gu(e)}rgbString(){return this._valid?P_(this._rgb):this._rgb}hexString(){return this._valid?C_(this._rgb):this._rgb}hslString(){return this._valid?R_(this._rgb):this._rgb}mix(e,n){const i=this;if(e){const s=i.rgb,o=e.rgb;let r;const a=n===r?.5:n,l=2*a-1,c=s.a-o.a,u=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;r=1-u,s.r=255&u*s.r+r*o.r+.5,s.g=255&u*s.g+r*o.g+.5,s.b=255&u*s.b+r*o.b+.5,s.a=a*s.a+(1-a)*o.a,i.rgb=s}return i}clone(){return new Lo(this.rgb)}alpha(e){return this._rgb.a=Ms(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Ls(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Js(this._rgb,2,e),this}darken(e){return Js(this._rgb,2,-e),this}saturate(e){return Js(this._rgb,1,e),this}desaturate(e){return Js(this._rgb,1,-e),this}rotate(e){return D_(this._rgb,e),this}}function Qh(t){return new Lo(t)}const tg=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function mu(t){return tg(t)?t:Qh(t)}function kr(t){return tg(t)?t:Qh(t).saturate(.5).darken(.1).hexString()}const Kn=Object.create(null),ga=Object.create(null);function cs(t,e){if(!e)return t;const n=e.split(".");for(let i=0,s=n.length;in.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,i)=>kr(i.backgroundColor),this.hoverBorderColor=(n,i)=>kr(i.borderColor),this.hoverColor=(n,i)=>kr(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,n){return Mr(this,e,n)}get(e){return cs(this,e)}describe(e,n){return Mr(ga,e,n)}override(e,n){return Mr(Kn,e,n)}route(e,n,i,s){const o=cs(this,e),r=cs(this,i),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=r[s];return ht(l)?Object.assign({},c,l):rt(l,c)},set(l){this[a]=l}}})}}var ct=new B_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function N_(t){return!t||bt(t.size)||bt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Io(t,e,n,i,s){let o=e[s];return o||(o=e[s]=t.measureText(s).width,n.push(s)),o>i&&(i=o),i}function z_(t,e,n,i){i=i||{};let s=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(s=i.data={},o=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function qn(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=s.string,j_(t,o),l=0;l+t||0;function wl(t,e){const n={},i=ht(e),s=i?Object.keys(e):e,o=ht(t)?i?r=>rt(t[r],t[e[r]]):r=>t[r]:()=>t;for(const r of s)n[r]=q_(o(r));return n}function eg(t){return wl(t,{top:"y",right:"x",bottom:"y",left:"x"})}function yi(t){return wl(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Gt(t){const e=eg(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ft(t,e){t=t||{},e=e||ct.font;let n=rt(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let i=rt(t.style,e.style);i&&!(""+i).match(X_)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const s={family:rt(t.family,e.family),lineHeight:K_(rt(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:rt(t.weight,e.weight),string:""};return s.string=N_(s),s}function Qs(t,e,n,i){let s=!0,o,r,a;for(o=0,r=t.length;on&&a===0?0:a+l;return{min:r(i,-Math.abs(o)),max:r(s,o)}}function kn(t,e){return Object.assign(Object.create(t),e)}function Cl(t,e,n){n=n||(r=>t[r]1;)o=s+i>>1,n(o)?s=o:i=o;return{lo:s,hi:i}}const Bn=(t,e,n)=>Cl(t,n,i=>t[i][e]Cl(t,n,i=>t[i][e]>=n);function J_(t,e,n){let i=0,s=t.length;for(;ii&&t[s-1]>n;)s--;return i>0||s{const i="_onData"+ml(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const r=s.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...o)}),r}})})}function vu(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(e);s!==-1&&i.splice(s,1),!(i.length>0)&&(ng.forEach(o=>{delete t[o]}),delete t._chartjs)}function ig(t){const e=new Set;let n,i;for(n=0,i=t.length;nt[0]){ye(i)||(i=ag("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:i,_getTarget:s,override:r=>kl([r,...t],e,n,i)};return new Proxy(o,{deleteProperty(r,a){return delete r[a],delete r._keys,delete t[0][a],!0},get(r,a){return og(r,a,()=>a0(a,e,t,r))},getOwnPropertyDescriptor(r,a){return Reflect.getOwnPropertyDescriptor(r._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(r,a){return yu(r).includes(a)},ownKeys(r){return yu(r)},set(r,a,l){const c=r._storage||(r._storage=s());return r[a]=c[a]=l,delete r._keys,!0}})}function Ci(t,e,n,i){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:sg(t,i),setContext:o=>Ci(t,o,n,i),override:o=>Ci(t.override(o),e,n,i)};return new Proxy(s,{deleteProperty(o,r){return delete o[r],delete t[r],!0},get(o,r,a){return og(o,r,()=>e0(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,r)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,r){return Reflect.has(t,r)},ownKeys(){return Reflect.ownKeys(t)},set(o,r,a){return t[r]=a,delete o[r],!0}})}function sg(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:i,isScriptable:_n(n)?n:()=>n,isIndexable:_n(i)?i:()=>i}}const t0=(t,e)=>t?t+ml(e):e,Ml=(t,e)=>ht(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function og(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function e0(t,e,n){const{_proxy:i,_context:s,_subProxy:o,_descriptors:r}=t;let a=i[e];return _n(a)&&r.isScriptable(e)&&(a=n0(e,a,t,n)),kt(a)&&a.length&&(a=i0(e,a,t,r.isIndexable)),Ml(e,a)&&(a=Ci(a,s,o&&o[e],r)),a}function n0(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),e=e(o,r||i),a.delete(t),Ml(t,e)&&(e=Pl(s._scopes,s,t,e)),e}function i0(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_descriptors:a}=n;if(ye(o.index)&&i(t))e=e[o.index%e.length];else if(ht(e[0])){const l=e,c=s._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=Pl(c,s,t,u);e.push(Ci(d,o,r&&r[t],a))}}return e}function rg(t,e,n){return _n(t)?t(e,n):t}const s0=(t,e)=>t===!0?e:typeof t=="string"?Xn(e,t):void 0;function o0(t,e,n,i,s){for(const o of e){const r=s0(n,o);if(r){t.add(r);const a=rg(r._fallback,n,s);if(ye(a)&&a!==n&&a!==i)return a}else if(r===!1&&ye(i)&&n!==i)return null}return!1}function Pl(t,e,n,i){const s=e._rootScopes,o=rg(e._fallback,n,i),r=[...t,...s],a=new Set;a.add(i);let l=bu(a,r,n,o||n,i);return l===null||ye(o)&&o!==n&&(l=bu(a,r,o,l,i),l===null)?!1:kl(Array.from(a),[""],s,o,()=>r0(e,n,i))}function bu(t,e,n,i,s){for(;n;)n=o0(t,e,n,i,s);return n}function r0(t,e,n){const i=t._getTarget();e in i||(i[e]={});const s=i[e];return kt(s)&&ht(n)?n:s}function a0(t,e,n,i){let s;for(const o of e)if(s=ag(t0(o,t),n),ye(s))return Ml(t,s)?Pl(n,i,t,s):s}function ag(t,e){for(const n of e){if(!n)continue;const i=n[t];if(ye(i))return i}}function yu(t){let e=t._keys;return e||(e=t._keys=l0(t._scopes)),e}function l0(t){const e=new Set;for(const n of t)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(i);return Array.from(e)}const c0=Number.EPSILON||1e-14,ki=(t,e)=>et==="x"?"y":"x";function u0(t,e,n,i){const s=t.skip?e:t,o=e,r=n.skip?e:n,a=fa(o,s),l=fa(r,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,f=i*u;return{previous:{x:o.x-d*(r.x-s.x),y:o.y-d*(r.y-s.y)},next:{x:o.x+f*(r.x-s.x),y:o.y+f*(r.y-s.y)}}}function d0(t,e,n){const i=t.length;let s,o,r,a,l,c=ki(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")h0(t,s);else{let c=i?t[t.length-1]:t[0];for(o=0,r=t.length;owindow.getComputedStyle(t,null);function p0(t,e){return lr(t).getPropertyValue(e)}const v0=["top","right","bottom","left"];function Wn(t,e,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const o=v0[s];i[o]=parseFloat(t[e+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const b0=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function y0(t,e){const n=t.native||t,i=n.touches,s=i&&i.length?i[0]:n,{offsetX:o,offsetY:r}=s;let a=!1,l,c;if(b0(o,r,n.target))l=o,c=r;else{const u=e.getBoundingClientRect();l=s.clientX-u.left,c=s.clientY-u.top,a=!0}return{x:l,y:c,box:a}}function ug(t,e){const{canvas:n,currentDevicePixelRatio:i}=e,s=lr(n),o=s.boxSizing==="border-box",r=Wn(s,"padding"),a=Wn(s,"border","width"),{x:l,y:c,box:u}=y0(t,n),d=r.left+(u&&a.left),f=r.top+(u&&a.top);let{width:h,height:g}=e;return o&&(h-=r.width+a.width,g-=r.height+a.height),{x:Math.round((l-d)/h*n.width/i),y:Math.round((c-f)/g*n.height/i)}}function _0(t,e,n){let i,s;if(e===void 0||n===void 0){const o=Al(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const r=o.getBoundingClientRect(),a=lr(o),l=Wn(a,"border","width"),c=Wn(a,"padding");e=r.width-c.width-l.width,n=r.height-c.height-l.height,i=$o(a.maxWidth,o,"clientWidth"),s=$o(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:i||Oo,maxHeight:s||Oo}}const Pr=t=>Math.round(t*10)/10;function x0(t,e,n,i){const s=lr(t),o=Wn(s,"margin"),r=$o(s.maxWidth,t,"clientWidth")||Oo,a=$o(s.maxHeight,t,"clientHeight")||Oo,l=_0(t,e,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const d=Wn(s,"border","width"),f=Wn(s,"padding");c-=f.width+d.width,u-=f.height+d.height}return c=Math.max(0,c-o.width),u=Math.max(0,i?Math.floor(c/i):u-o.height),c=Pr(Math.min(c,r,l.maxWidth)),u=Pr(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Pr(c/2)),{width:c,height:u}}function _u(t,e,n){const i=e||1,s=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=s/i,t.width=o/i;const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||r.height!==s||r.width!==o?(t.currentDevicePixelRatio=i,r.height=s,r.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}const S0=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return t}();function xu(t,e){const n=p0(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Dn(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function w0(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:i==="middle"?n<.5?t.y:e.y:i==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function C0(t,e,n,i){const s={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=Dn(t,s,n),a=Dn(s,o,n),l=Dn(o,e,n),c=Dn(r,a,n),u=Dn(a,l,n);return Dn(c,u,n)}const Su=new Map;function k0(t,e){e=e||{};const n=t+JSON.stringify(e);let i=Su.get(n);return i||(i=new Intl.NumberFormat(t,e),Su.set(n,i)),i}function Is(t,e,n){return k0(e,n).format(t)}const M0=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},P0=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function _i(t,e,n){return t?M0(e,n):P0()}function dg(t,e){let n,i;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function fg(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function hg(t){return t==="angle"?{between:ks,compare:b_,normalize:Ce}:{between:mn,compare:(e,n)=>e-n,normalize:e=>e}}function wu({start:t,end:e,count:n,loop:i,style:s}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:s}}function A0(t,e,n){const{property:i,start:s,end:o}=n,{between:r,normalize:a}=hg(i),l=e.length;let{start:c,end:u,loop:d}=t,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(s,C,v)&&a(s,C)!==0,w=()=>a(o,v)===0||l(o,C,v),A=()=>m||S(),x=()=>!m||w();for(let T=u,E=u;T<=d;++T)y=e[T%r],!y.skip&&(v=c(y[i]),v!==C&&(m=l(v,s,o),p===null&&A()&&(p=a(v,s)===0?T:E),p!==null&&x()&&(g.push(wu({start:p,end:T,loop:f,count:r,style:h})),p=null),E=T,C=v));return p!==null&&g.push(wu({start:p,end:d,loop:f,count:r,style:h})),g}function E0(t,e){const n=[],i=t.segments;for(let s=0;ss&&t[o%e].skip;)o--;return o%=e,{start:s,end:o}}function L0(t,e,n,i){const s=t.length,o=[];let r=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%s];c.skip||c.stop?a.skip||(i=!1,o.push({start:e%s,end:(l-1)%s,loop:i}),e=r=c.stop?l:null):(r=l,a.skip&&(e=l)),a=c}return r!==null&&o.push({start:e%s,end:r%s,loop:i}),o}function I0(t,e){const n=t.points,i=t.options.spanGaps,s=n.length;if(!s)return[];const o=!!t._loop,{start:r,end:a}=O0(n,s,o,i);if(i===!0)return Cu(t,[{start:r,end:a,loop:o}],n,e);const l=aa({chart:e,initial:n.initial,numSteps:r,currentStep:Math.min(i-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=jh.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const o=i.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(o[r]=o[o.length-1],o.pop());a&&(s.draw(),this._notify(s,i,e,"progress")),o.length||(i.running=!1,this._notify(s,i,e,"complete"),i.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let i=n.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,i)),i}listen(e,n,i){this._getAnims(e).listeners[n].push(i)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Ue=new $0;const Mu="transparent",F0={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=mu(t||Mu),s=i.valid&&mu(e||Mu);return s&&s.valid?s.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class V0{constructor(e,n,i,s){const o=n[i];s=Qs([e.to,s,o,e.from]);const r=Qs([e.from,o,s]);this._active=!0,this._fn=e.fn||F0[e.type||typeof r],this._easing=ls[e.easing]||ls.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=i,this._from=r,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],o=i-this._start,r=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Qs([e.to,n,s,e.from]),this._from=Qs([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,i=this._duration,s=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,i)=>{e.push({res:n,rej:i})})}_notify(e){const n=e?"res":"rej",i=this._promises||[];for(let s=0;st!=="onProgress"&&t!=="onComplete"&&t!=="fn"});ct.set("animations",{colors:{type:"color",properties:N0},numbers:{type:"number",properties:B0}});ct.describe("animations",{_fallback:"animation"});ct.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}});class gg{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ht(e))return;const n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const s=e[i];if(!ht(s))return;const o={};for(const r of z0)o[r]=s[r];(kt(s.properties)&&s.properties||[i]).forEach(r=>{(r===i||!n.has(r))&&n.set(r,o)})})}_animateOptions(e,n){const i=n.options,s=W0(e,i);if(!s)return[];const o=this._createAnimations(s,i);return i.$shared&&H0(e.options.$animations,i).then(()=>{e.options=i},()=>{}),o}_createAnimations(e,n){const i=this._properties,s=[],o=e.$animations||(e.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[c];let d=o[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}o[c]=d=new V0(f,e,c,u),s.push(d)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const i=this._createAnimations(e,n);if(i.length)return Ue.add(this._chart,i),!0}}function H0(t,e){const n=[],i=Object.keys(e);for(let s=0;s0||!n&&o<0)return s.index}return null}function Ou(t,e){const{chart:n,_cachedMeta:i}=t,s=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=i,l=o.axis,c=r.axis,u=X0(o,r,i),d=e.length;let f;for(let h=0;hn[i].axis===e).shift()}function G0(t,e){return kn(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Z0(t,e,n){return kn(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Hi(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(!!i){e=e||t._parsed;for(const s of e){const o=s._stacks;if(!o||o[i]===void 0||o[i][n]===void 0)return;delete o[i][n]}}}const Tr=t=>t==="reset"||t==="none",Lu=(t,e)=>e?t:Object.assign({},t),J0=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:mg(n,!0),values:null};class He{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Tu(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Hi(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,h,g)=>d==="x"?f:d==="r"?g:h,o=n.xAxisID=rt(i.xAxisID,Ar(e,"x")),r=n.yAxisID=rt(i.yAxisID,Ar(e,"y")),a=n.rAxisID=rt(i.rAxisID,Ar(e,"r")),l=n.indexAxis,c=n.iAxisID=s(l,o,r,a),u=n.vAxisID=s(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&vu(this._data,this),e._stacked&&Hi(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),i=this._data;if(ht(n))this._data=Y0(n);else if(i!==n){if(i){vu(i,this);const s=this._cachedMeta;Hi(s),s._parsed=[]}n&&Object.isExtensible(n)&&Q_(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const o=n._stacked;n._stacked=Tu(n.vScale,n),n.stack!==i.stack&&(s=!0,Hi(n),n.stack=i.stack),this._resyncElements(e),(s||o!==n._stacked)&&Ou(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:i,_data:s}=this,{iScale:o,_stacked:r}=i,a=o.axis;let l=e===0&&n===s.length?!0:i._sorted,c=e>0&&i._parsed[e-1],u,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{kt(s[e])?f=this.parseArrayData(i,s,e,n):ht(s[e])?f=this.parseObjectData(i,s,e,n):f=this.parsePrimitiveData(i,s,e,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!g()){this.updateRangeFromParsed(c,e,h,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,i=[];let s,o,r;for(s=0,o=n.length;s=0&&ethis.getContext(i,s),m=c.resolveNamedOptions(f,h,g,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(Lu(m,l))),m}_resolveAnimations(e,n,i){const s=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,i,n))}const c=new gg(s,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(e){if(!!e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||Tr(e)||this.chart._animationsDisabled}updateElement(e,n,i,s){Tr(s)?Object.assign(e,i):this._resolveAnimations(n,s).update(e,i)}updateSharedOptions(e,n,i){e&&!Tr(n)&&this._resolveAnimations(void 0,n).update(e,i)}_setStyle(e,n,i,s){e.active=s;const o=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(e,{options:!s&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,n,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,o=n.length,r=Math.min(o,s);r&&this.parse(0,r),o>s?this._insertElements(s,o-s,e):o{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=e;as-o))}return t._cache.$bar}function tx(t){const e=t.iScale,n=Q0(e,t.type);let i=e._length,s,o,r,a;const l=()=>{r===32767||r===-32768||(ye(a)&&(i=Math.min(i,Math.abs(r-a)||i)),a=r)};for(s=0,o=n.length;s0?s[t-1]:null,a=tMath.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:o,min:r,max:a}}function pg(t,e,n,i){return kt(t)?ix(t,e,n,i):e[n.axis]=n.parse(t,i),e}function Iu(t,e,n,i){const s=t.iScale,o=t.vScale,r=s.getLabels(),a=s===o,l=[];let c,u,d,f;for(c=n,u=n+i;c=n?1:-1)}function ox(t){let e,n,i,s,o;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base=0;--i)n=Math.max(n,e[i].size(this.resolveDataElementOptions(i))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,{xScale:i,yScale:s}=n,o=this.getParsed(e),r=i.getLabelForValue(o.x),a=s.getLabelForValue(o.y),l=o._custom;return{label:n.label,value:"("+r+", "+a+(l?", "+l:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,i,s){const o=s==="reset",{iScale:r,vScale:a}=this._cachedMeta,l=this.resolveDataElementOptions(n,s),c=this.getSharedOptions(l),u=this.includeOptions(s,c),d=r.axis,f=a.axis;for(let h=n;hks(C,a,l,!0)?1:Math.max(S,S*n,w,w*n),g=(C,S,w)=>ks(C,a,l,!0)?-1:Math.min(S,S*n,w,w*n),m=h(0,c,d),p=h(Et,u,f),v=g(Tt,c,d),y=g(Tt+Et,u,f);i=(m-v)/2,s=(p-y)/2,o=-(m+v)/2,r=-(p+y)/2}return{ratioX:i,ratioY:s,offsetX:o,offsetY:r}}class Ds extends He{constructor(e,n){super(e,n);this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const i=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=i;else{let o=l=>+i[l];if(ht(i[e])){const{key:l="value"}=this._parsing;o=c=>+Xn(i[c],l)}let r,a;for(r=e,a=e+n;r0&&!isNaN(e)?St*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],o=Is(n._parsed[e],i.options.locale);return{label:s[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const i=this.chart;let s,o,r,a,l;if(!e){for(s=0,o=i.data.datasets.length;st!=="spacing",_indexable:t=>t!=="spacing"};Ds.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((i,s)=>{const r=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return kt(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class ur extends He{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:o}=n,r=this.chart._animationsDisabled;let{start:a,count:l}=ux(n,s,r);this._drawStart=a,this._drawCount=l,dx(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=s;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:c},e),this.updateElements(s,a,l,e)}updateElements(e,n,i,s){const o=s==="reset",{iScale:r,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,u=this.resolveDataElementOptions(n,s),d=this.getSharedOptions(u),f=this.includeOptions(s,d),h=r.axis,g=a.axis,{spanGaps:m,segment:p}=this.options,v=Cs(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||o||s==="none";let C=n>0&&this.getParsed(n-1);for(let S=n;S0&&A[h]-C[h]>v,p&&(x.parsed=A,x.raw=c.data[S]),f&&(x.options=d||this.resolveDataElementOptions(S,w.active?"active":s)),y||this.updateElement(w,S,x,s),C=A}this.updateSharedOptions(d,s,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,i=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return i;const o=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,o,r)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}ur.id="line";ur.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};ur.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};function ux(t,e,n){const i=e.length;let s=0,o=i;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:u,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(s=Kt(Math.min(Bn(a,r.axis,c).lo,n?i:Bn(e,l,r.getPixelForValue(c)).lo),0,i-1)),f?o=Kt(Math.max(Bn(a,r.axis,u).hi+1,n?0:Bn(e,l,r.getPixelForValue(u)).hi+1),s,i)-s:o=i-s}return{start:s,count:o}}function dx(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=s,!0;const o=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),o}class El extends He{constructor(e,n){super(e,n);this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],o=Is(n._parsed[e].r,i.options.locale);return{label:s[e]||"",value:o}}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}_updateRadius(){const e=this.chart,n=e.chartArea,i=e.options,s=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(s/2,0),r=Math.max(i.cutoutPercentage?o/100*i.cutoutPercentage:1,0),a=(o-r)/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,i,s){const o=s==="reset",r=this.chart,a=this.getDataset(),c=r.options.animation,u=this._cachedMeta.rScale,d=u.xCenter,f=u.yCenter,h=u.getIndexAngle(0)-.5*Tt;let g=h,m;const p=360/this.countVisibleElements();for(m=0;m{!isNaN(e.data[o])&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(e,n,i){return this.chart.getDataVisibility(e)?Me(this.resolveDataElementOptions(e,n).angle||i):0}}El.id="polarArea";El.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};El.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((i,s)=>{const r=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class vg extends Ds{}vg.id="pie";vg.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Ol extends He{getLabelAndValue(e){const n=this._cachedMeta.vScale,i=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(i[n.axis])}}update(e){const n=this._cachedMeta,i=n.dataset,s=n.data||[],o=n.iScale.getLabels();if(i.points=s,e!=="resize"){const r=this.resolveDatasetElementOptions(e);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===s.length,options:r};this.updateElement(i,void 0,a,e)}this.updateElements(s,0,s.length,e)}updateElements(e,n,i,s){const o=this.getDataset(),r=this._cachedMeta.rScale,a=s==="reset";for(let l=n;l{c[a](s[r],i)&&o.push({element:c,datasetIndex:u,index:d}),c.inRange(s.x,s.y,i)&&(l=!0)}),n.intersect&&!l?[]:o}var bx={modes:{index(t,e,n,i){const s=Gi(e,t),o=n.axis||"x",r=n.intersect?Or(t,s,o,i):Lr(t,s,o,!1,i),a=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach(l=>{const c=r[0].index,u=l.data[c];u&&!u.skip&&a.push({element:u,datasetIndex:l.index,index:c})}),a):[]},dataset(t,e,n,i){const s=Gi(e,t),o=n.axis||"xy";let r=n.intersect?Or(t,s,o,i):Lr(t,s,o,!1,i);if(r.length>0){const a=r[0].datasetIndex,l=t.getDatasetMeta(a).data;r=[];for(let c=0;cn.pos===e)}function Fu(t,e){return t.filter(n=>bg.indexOf(n.pos)===-1&&n.box.axis===e)}function ji(t,e){return t.sort((n,i)=>{const s=e?i:n,o=e?n:i;return s.weight===o.weight?s.index-o.index:s.weight-o.weight})}function yx(t){const e=[];let n,i,s,o,r,a;for(n=0,i=(t||[]).length;nc.box.fullSize),!0),i=ji(Wi(e,"left"),!0),s=ji(Wi(e,"right")),o=ji(Wi(e,"top"),!0),r=ji(Wi(e,"bottom")),a=Fu(e,"x"),l=Fu(e,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:s.concat(l).concat(r).concat(a),chartArea:Wi(e,"chartArea"),vertical:i.concat(s).concat(l),horizontal:o.concat(r).concat(a)}}function Vu(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function yg(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function wx(t,e,n,i){const{pos:s,box:o}=n,r=t.maxPadding;if(!ht(s)){n.size&&(t[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,t[s]+=n.size}o.getPadding&&yg(r,o.getPadding());const a=Math.max(0,e.outerWidth-Vu(r,t,"left","right")),l=Math.max(0,e.outerHeight-Vu(r,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Cx(t){const e=t.maxPadding;function n(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function kx(t,e){const n=e.maxPadding;function i(s){const o={left:0,top:0,right:0,bottom:0};return s.forEach(r=>{o[r]=Math.max(e[r],n[r])}),o}return i(t?["left","right"]:["top","bottom"])}function Zi(t,e,n,i){const s=[];let o,r,a,l,c,u;for(o=0,r=t.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,p)=>p.box.options&&p.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/u,hBoxMaxHeight:r/2}),f=Object.assign({},s);yg(f,Gt(i));const h=Object.assign({maxPadding:f,w:o,h:r,x:s.left,y:s.top},s),g=xx(l.concat(c),d);Zi(a.fullSize,h,d,g),Zi(l,h,d,g),Zi(c,h,d,g)&&Zi(l,h,d,g),Cx(h),Bu(a.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,Bu(a.rightAndBottom,h,d,g),t.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},vt(a.chartArea,m=>{const p=m.box;Object.assign(p,t.chartArea),p.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class _g{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,i){}removeEventListener(e,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,i,s){return n=Math.max(0,n||e.width),i=i||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(e){return!0}updateConfig(e){}}class Mx extends _g{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const go="$chartjs",Px={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Nu=t=>t===null||t==="";function Ax(t,e){const n=t.style,i=t.getAttribute("height"),s=t.getAttribute("width");if(t[go]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Nu(s)){const o=xu(t,"width");o!==void 0&&(t.width=o)}if(Nu(i))if(t.style.height==="")t.height=t.width/(e||2);else{const o=xu(t,"height");o!==void 0&&(t.height=o)}return t}const xg=S0?{passive:!0}:!1;function Tx(t,e,n){t.addEventListener(e,n,xg)}function Ex(t,e,n){t.canvas.removeEventListener(e,n,xg)}function Ox(t,e){const n=Px[t.type]||t.type,{x:i,y:s}=ug(t,e);return{type:n,chart:e,native:t,x:i!==void 0?i:null,y:s!==void 0?s:null}}function Fo(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Lx(t,e,n){const i=t.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Fo(a.addedNodes,i),r=r&&!Fo(a.removedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function Ix(t,e,n){const i=t.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Fo(a.removedNodes,i),r=r&&!Fo(a.addedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Ps=new Map;let zu=0;function Sg(){const t=window.devicePixelRatio;t!==zu&&(zu=t,Ps.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Dx(t,e){Ps.size||window.addEventListener("resize",Sg),Ps.set(t,e)}function Rx(t){Ps.delete(t),Ps.size||window.removeEventListener("resize",Sg)}function $x(t,e,n){const i=t.canvas,s=i&&Al(i);if(!s)return;const o=Uh((a,l)=>{const c=s.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return r.observe(s),Dx(t,o),r}function Ir(t,e,n){n&&n.disconnect(),e==="resize"&&Rx(t)}function Fx(t,e,n){const i=t.canvas,s=Uh(o=>{t.ctx!==null&&n(Ox(o,t))},t,o=>{const r=o[0];return[r,r.offsetX,r.offsetY]});return Tx(i,e,s),s}class Vx extends _g{acquireContext(e,n){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(Ax(e,n),i):null}releaseContext(e){const n=e.canvas;if(!n[go])return!1;const i=n[go].initial;["height","width"].forEach(o=>{const r=i[o];bt(r)?n.removeAttribute(o):n.setAttribute(o,r)});const s=i.style||{};return Object.keys(s).forEach(o=>{n.style[o]=s[o]}),n.width=n.width,delete n[go],!0}addEventListener(e,n,i){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),r={attach:Lx,detach:Ix,resize:$x}[n]||Fx;s[n]=r(e,n,i)}removeEventListener(e,n){const i=e.$proxies||(e.$proxies={}),s=i[n];if(!s)return;({attach:Ir,detach:Ir,resize:Ir}[n]||Ex)(e,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,i,s){return x0(e,n,i,s)}isAttached(e){const n=Al(e);return!!(n&&n.isConnected)}}function Bx(t){return!cg()||typeof OffscreenCanvas!="undefined"&&t instanceof OffscreenCanvas?Mx:Vx}class Ie{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}hasValue(){return Cs(this.x)&&Cs(this.y)}getProps(e,n){const i=this.$animations;if(!n||!i)return this;const s={};return e.forEach(o=>{s[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),s}}Ie.defaults={};Ie.defaultRoutes=void 0;const wg={values(t){return kt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const i=this.chart.options.locale;let s,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(s="scientific"),o=Nx(t,n)}const r=ge(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Is(t,i,l)},logarithmic(t,e,n){if(t===0)return"0";const i=t/Math.pow(10,Math.floor(ge(t)));return i===1||i===2||i===5?wg.numeric.call(this,t,e,n):""}};function Nx(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var dr={formatters:wg};ct.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:dr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});ct.route("scale.ticks","color","","color");ct.route("scale.grid","color","","borderColor");ct.route("scale.grid","borderColor","","borderColor");ct.route("scale.title","color","","color");ct.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"});ct.describe("scales",{_fallback:"scale"});ct.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"});function zx(t,e){const n=t.options.ticks,i=n.maxTicksLimit||Hx(t),s=n.major.enabled?jx(e):[],o=s.length,r=s[0],a=s[o-1],l=[];if(o>i)return Ux(e,l,s,o/i),l;const c=Wx(s,e,i);if(o>0){let u,d;const f=o>1?Math.round((a-r)/(o-1)):null;for(no(e,l,c,bt(f)?0:r-f,r),u=0,d=o-1;us)return l}return Math.max(s,1)}function jx(t){const e=[];let n,i;for(n=0,i=t.length;nt==="left"?"right":t==="right"?"left":t,Hu=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n;function Wu(t,e){const n=[],i=t.length/e,s=t.length;let o=0;for(;or+a)))return l}function qx(t,e){vt(t,n=>{const i=n.gc,s=i.length/2;let o;if(s>e){for(o=0;oi?i:n,i=s&&n>i?n:i,{min:he(n,he(i,n)),max:he(i,he(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){xt(this.options.beforeUpdate,[this])}update(e,n,i){const{beginAtZero:s,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=G_(this,o,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=Kt(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(e.offset?.5:1)),l=this.maxHeight-Ui(e.grid)-n.padding-ju(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=pl(Math.min(Math.asin(Kt((u.highest.height+6)/a,-1,1)),Math.asin(Kt(l/c,-1,1))-Math.asin(Kt(f/c,-1,1)))),r=Math.max(s,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){xt(this.options.afterCalculateLabelRotation,[this])}beforeFit(){xt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:i,title:s,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=ju(s,n.options.font);if(a?(e.width=this.maxWidth,e.height=Ui(o)+l):(e.height=this.maxHeight,e.width=Ui(o)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=i.padding*2,g=Me(this.labelRotation),m=Math.cos(g),p=Math.sin(g);if(a){const v=i.mirror?0:p*d.width+m*f.height;e.height=Math.min(this.maxHeight,e.height+v+h)}else{const v=i.mirror?0:m*d.width+p*f.height;e.width=Math.min(this.maxWidth,e.width+v+h)}this._calculatePadding(c,u,p,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,i,s){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=s*e.width,h=i*n.height):(f=i*e.height,h=s*n.width):o==="start"?h=n.width:o==="end"?f=e.width:(f=e.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+r)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+r)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;o==="start"?(u=0,d=e.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){xt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,i;for(n=0,i=e.length;n({width:o[x]||0,height:r[x]||0});return{first:A(0),last:A(n-1),widest:A(S),highest:A(w),widths:o,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return y_(this._alignToPixels?En(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*s?a/i:l/s:l*s0}_computeGridLineItems(e){const n=this.axis,i=this.chart,s=this.options,{grid:o,position:r}=s,a=o.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),d=Ui(o),f=[],h=o.setContext(this.getContext()),g=h.drawBorder?h.borderWidth:0,m=g/2,p=function(j){return En(i,j,g)};let v,y,C,S,w,A,x,T,E,L,D,O;if(r==="top")v=p(this.bottom),A=this.bottom-d,T=v-m,L=p(e.top)+m,O=e.bottom;else if(r==="bottom")v=p(this.top),L=e.top,O=p(e.bottom)-m,A=v+m,T=this.top+d;else if(r==="left")v=p(this.right),w=this.right-d,x=v-m,E=p(e.left)+m,D=e.right;else if(r==="right")v=p(this.left),E=e.left,D=p(e.right)-m,w=v+m,x=this.left+d;else if(n==="x"){if(r==="center")v=p((e.top+e.bottom)/2+.5);else if(ht(r)){const j=Object.keys(r)[0],B=r[j];v=p(this.chart.scales[j].getPixelForValue(B))}L=e.top,O=e.bottom,A=v+m,T=A+d}else if(n==="y"){if(r==="center")v=p((e.left+e.right)/2);else if(ht(r)){const j=Object.keys(r)[0],B=r[j];v=p(this.chart.scales[j].getPixelForValue(B))}w=v-m,x=w-d,E=e.left,D=e.right}const W=rt(s.ticks.maxTicksLimit,u),J=Math.max(1,Math.ceil(u/W));for(y=0;yo.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,r;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(o=0,r=s.length;o{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let o,r;for(o=0,r=n.length;o{const i=n.split("."),s=i.pop(),o=[t].concat(i).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");ct.route(o,s,l,a)})}function nS(t){return"id"in t&&"defaults"in t}class iS{constructor(){this.controllers=new io(He,"datasets",!0),this.elements=new io(Ie,"elements"),this.plugins=new io(Object,"plugins"),this.scales=new io(ii,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,i){[...n].forEach(s=>{const o=i||this._getRegistryForType(s);i||o.isForType(s)||o===this.plugins&&s.id?this._exec(e,o,s):vt(s,r=>{const a=i||this._getRegistryForType(r);this._exec(e,a,r)})})}_exec(e,n,i){const s=ml(e);xt(i["before"+s],[],i),n[e](i),xt(i["after"+s],[],i)}_getRegistryForType(e){for(let n=0;no.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),e,"stop"),this._notify(s(i,n),e,"start")}}function oS(t){const e=[],n=Object.keys(qe.plugins.items);for(let s=0;s{const l=i[a];if(!ht(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=va(a,l),u=uS(c,s),d=n.scales||{};o[c]=o[c]||a,r[a]=rs(Object.create(null),[{axis:c},l,d[c],d[u]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||pa(l,e),d=(Kn[l]||{}).scales||{};Object.keys(d).forEach(f=>{const h=cS(f,c),g=a[h+"AxisID"]||o[h]||h;r[g]=r[g]||Object.create(null),rs(r[g],[{axis:h},i[g],d[f]])})}),Object.keys(r).forEach(a=>{const l=r[a];rs(l,[ct.scales[l.type],ct.scale])}),r}function Cg(t){const e=t.options||(t.options={});e.plugins=rt(e.plugins,{}),e.scales=fS(t,e)}function kg(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function hS(t){return t=t||{},t.data=kg(t.data),Cg(t),t}const Uu=new Map,Mg=new Set;function so(t,e){let n=Uu.get(t);return n||(n=e(),Uu.set(t,n),Mg.add(n)),n}const Yi=(t,e,n)=>{const i=Xn(e,n);i!==void 0&&t.add(i)};class gS{constructor(e){this._config=hS(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=kg(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Cg(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return so(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return so(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return so(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,i=this.type;return so(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const i=this._scopeCache;let s=i.get(e);return(!s||n)&&(s=new Map,i.set(e,s)),s}getOptionScopes(e,n,i){const{options:s,type:o}=this,r=this._cachedScopes(e,i),a=r.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>Yi(l,e,d))),u.forEach(d=>Yi(l,s,d)),u.forEach(d=>Yi(l,Kn[o]||{},d)),u.forEach(d=>Yi(l,ct,d)),u.forEach(d=>Yi(l,ga,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Mg.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Kn[n]||{},ct.datasets[n]||{},{type:n},ct,ga]}resolveNamedOptions(e,n,i,s=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Yu(this._resolverCache,e,s);let l=r;if(pS(r,n)){o.$shared=!1,i=_n(i)?i():i;const c=this.createResolver(e,i,a);l=Ci(r,i,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,i=[""],s){const{resolver:o}=Yu(this._resolverCache,e,i);return ht(n)?Ci(o,n,void 0,s):o}}function Yu(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const s=n.join();let o=i.get(s);return o||(o={resolver:kl(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,o)),o}const mS=t=>ht(t)&&Object.getOwnPropertyNames(t).reduce((e,n)=>e||_n(t[n]),!1);function pS(t,e){const{isScriptable:n,isIndexable:i}=sg(t);for(const s of e){const o=n(s),r=i(s),a=(r||o)&&t[s];if(o&&(_n(a)||mS(a))||r&&kt(a))return!0}return!1}var vS="3.7.1";const bS=["top","bottom","left","right","chartArea"];function Xu(t,e){return t==="top"||t==="bottom"||bS.indexOf(t)===-1&&e==="x"}function Ku(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function qu(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),xt(n&&n.onComplete,[t],e)}function yS(t){const e=t.chart,n=e.options.animation;xt(n&&n.onProgress,[t],e)}function Pg(t){return cg()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Vo={},Ag=t=>{const e=Pg(t);return Object.values(Vo).filter(n=>n.canvas===e).pop()};function _S(t,e,n){const i=Object.keys(t);for(const s of i){const o=+s;if(o>=e){const r=t[s];delete t[s],(n>0||o>e)&&(t[o+n]=r)}}}function xS(t,e,n,i){return!n||t.type==="mouseout"?null:i?e:t}class Bo{constructor(e,n){const i=this.config=new gS(n),s=Pg(e),o=Ag(s);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Bx(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=a_(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new sS,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=o_(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],Vo[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Ue.listen(this,"complete",qu),Ue.listen(this,"progress",yS),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:i,height:s,_aspectRatio:o}=this;return bt(e)?n&&o?o:s?i/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():_u(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return pu(this.canvas,this.ctx),this}stop(){return Ue.stop(this),this}resize(e,n){Ue.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const i=this.options,s=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(s,e,n,o),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,_u(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),xt(i.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};vt(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,i=this.scales,s=Object.keys(i).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=va(r,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),vt(o,r=>{const a=r.options,l=a.id,c=va(l,a),u=rt(a.type,r.dtype);(a.position===void 0||Xu(a.position,c)!==Xu(r.dposition))&&(a.position=r.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const f=qe.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,e)}),vt(s,(r,a)=>{r||delete i[a]}),vt(i,r=>{pe.configure(this,r,r.options),pe.addBox(this,r)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,i=e.length;if(e.sort((s,o)=>s.index-o.index),i>n){for(let s=n;sn.length&&delete this._stacks,e.forEach((i,s)=>{n.filter(o=>o===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Ku("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){vt(this.scales,e=>{pe.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!ou(n,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:o}of n){const r=i==="_removeElements"?-o:o;_S(e,s,r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=o=>new Set(e.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),s=i(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;pe.update(this,this.width,this.height,e);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],vt(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,o)=>{s._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,i=e._clip,s=!i.disabled,o=this.chartArea,r={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(s&&xl(n,{left:i.left===!1?0:o.left-i.left,right:i.right===!1?this.width:o.right+i.right,top:i.top===!1?0:o.top-i.top,bottom:i.bottom===!1?this.height:o.bottom+i.bottom}),e.controller.draw(),s&&Sl(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}getElementsAtEventForMode(e,n,i,s){const o=bx.modes[n];return typeof o=="function"?o(this,e,i,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],i=this._metasets;let s=i.filter(o=>o&&o._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=kn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(e,n){const i=this.getDatasetMeta(e);i.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,i){const s=i?"show":"hide",o=this.getDatasetMeta(e),r=o.controller._resolveAnimations(void 0,s);ye(n)?(o.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),r.update(o,{visible:i}),this.update(a=>a.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Ue.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,o,r),e[o]=r},s=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};vt(this.options.events,o=>i(o,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},s=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",r)};r=()=>{this.attached=!1,s("resize",o),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){vt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},vt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,i){const s=i?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+s+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!To(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(e,n,i){return this._plugins.notify(this,e,n,i)}_updateHoverStyles(e,n,i){const s=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),r=o(n,e),a=i?e:o(e,n);r.length&&this.updateHoverStyle(r,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(e,n){const i={event:e,replay:n,cancelable:!0,inChartArea:qn(e,this.chartArea,this._minPadding)},s=r=>(r.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const o=this._handleEvent(e,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(o||i.changed)&&this.render(),this}_handleEvent(e,n,i){const{_active:s=[],options:o}=this,r=n,a=this._getActiveElements(e,s,i,r),l=h_(e),c=xS(e,this._lastEvent,i,l);i&&(this._lastEvent=null,xt(o.onHover,[e,a,this],this),l&&xt(o.onClick,[e,a,this],this));const u=!To(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(e,n,i,s){if(e.type==="mouseout")return[];if(!i)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,s)}}const Gu=()=>vt(Bo.instances,t=>t._plugins.invalidate()),fn=!0;Object.defineProperties(Bo,{defaults:{enumerable:fn,value:ct},instances:{enumerable:fn,value:Vo},overrides:{enumerable:fn,value:Kn},registry:{enumerable:fn,value:qe},version:{enumerable:fn,value:vS},getChart:{enumerable:fn,value:Ag},register:{enumerable:fn,value:(...t)=>{qe.add(...t),Gu()}},unregister:{enumerable:fn,value:(...t)=>{qe.remove(...t),Gu()}}});function Tg(t,e,n){const{startAngle:i,pixelMargin:s,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=s/a;t.beginPath(),t.arc(o,r,a,i-c,n+c),l>s?(c=s/l,t.arc(o,r,l,n+c,i-c,!0)):t.arc(o,r,s,n+Et,i-Et),t.closePath(),t.clip()}function SS(t){return wl(t,["outerStart","outerEnd","innerStart","innerEnd"])}function wS(t,e,n,i){const s=SS(t.options.borderRadius),o=(n-e)/2,r=Math.min(o,i*e/2),a=l=>{const c=(n-Math.min(o,l))*i/2;return Kt(l,0,Math.min(o,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Kt(s.innerStart,0,r),innerEnd:Kt(s.innerEnd,0,r)}}function li(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function ba(t,e,n,i,s){const{x:o,y:r,startAngle:a,pixelMargin:l,innerRadius:c}=e,u=Math.max(e.outerRadius+i+n-l,0),d=c>0?c+i+n+l:0;let f=0;const h=s-a;if(i){const B=c>0?c-i:0,K=u>0?u-i:0,q=(B+K)/2,at=q!==0?h*q/(q+i):h;f=(h-at)/2}const g=Math.max(.001,h*u-n/Tt)/u,m=(h-g)/2,p=a+m+f,v=s-m-f,{outerStart:y,outerEnd:C,innerStart:S,innerEnd:w}=wS(e,d,u,v-p),A=u-y,x=u-C,T=p+y/A,E=v-C/x,L=d+S,D=d+w,O=p+S/L,W=v-w/D;if(t.beginPath(),t.arc(o,r,u,T,E),C>0){const B=li(x,E,o,r);t.arc(B.x,B.y,C,E,v+Et)}const J=li(D,v,o,r);if(t.lineTo(J.x,J.y),w>0){const B=li(D,W,o,r);t.arc(B.x,B.y,w,v+Et,W+Math.PI)}if(t.arc(o,r,d,v-w/d,p+S/d,!0),S>0){const B=li(L,O,o,r);t.arc(B.x,B.y,S,O+Math.PI,p-Et)}const j=li(A,p,o,r);if(t.lineTo(j.x,j.y),y>0){const B=li(A,T,o,r);t.arc(B.x,B.y,y,p-Et,T)}t.closePath()}function CS(t,e,n,i){const{fullCircles:s,startAngle:o,circumference:r}=e;let a=e.endAngle;if(s){ba(t,e,n,i,o+St);for(let l=0;l=St||ks(o,a,l),m=mn(r,c+f,u+f);return g&&m}getCenterPoint(e){const{x:n,y:i,startAngle:s,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:l,spacing:c}=this.options,u=(s+o)/2,d=(r+a+c+l)/2;return{x:n+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:i}=this,s=(n.offset||0)/2,o=(n.spacing||0)/2;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>St?Math.floor(i/St):0,i===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let r=0;if(s){r=s/2;const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*r,Math.sin(l)*r),this.circumference>=Tt&&(r=s)}e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor;const a=CS(e,this,r,o);MS(e,this,r,o,a),e.restore()}}Dl.id="arc";Dl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0};Dl.defaultRoutes={backgroundColor:"backgroundColor"};function Eg(t,e,n=e){t.lineCap=rt(n.borderCapStyle,e.borderCapStyle),t.setLineDash(rt(n.borderDash,e.borderDash)),t.lineDashOffset=rt(n.borderDashOffset,e.borderDashOffset),t.lineJoin=rt(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=rt(n.borderWidth,e.borderWidth),t.strokeStyle=rt(n.borderColor,e.borderColor)}function PS(t,e,n){t.lineTo(n.x,n.y)}function AS(t){return t.stepped?H_:t.tension||t.cubicInterpolationMode==="monotone"?W_:PS}function Og(t,e,n={}){const i=t.length,{start:s=0,end:o=i-1}=n,{start:r,end:a}=e,l=Math.max(s,r),c=Math.min(o,a),u=sa&&o>a;return{count:i,start:l,loop:e.loop,ilen:c(r+(c?a-S:S))%o,C=()=>{m!==p&&(t.lineTo(u,p),t.lineTo(u,m),t.lineTo(u,v))};for(l&&(h=s[y(0)],t.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=s[y(f)],h.skip)continue;const S=h.x,w=h.y,A=S|0;A===g?(wp&&(p=w),u=(d*u+S)/++d):(C(),t.lineTo(S,w),g=A,d=0,m=p=w),v=w}C()}function ya(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?ES:TS}function OS(t){return t.stepped?w0:t.tension||t.cubicInterpolationMode==="monotone"?C0:Dn}function LS(t,e,n,i){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,i)&&s.closePath()),Eg(t,e.options),t.stroke(s)}function IS(t,e,n,i){const{segments:s,options:o}=e,r=ya(e);for(const a of s)Eg(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const DS=typeof Path2D=="function";function RS(t,e,n,i){DS&&!e.options.segment?LS(t,e,n,i):IS(t,e,n,i)}class fr extends Ie{constructor(e){super();this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;m0(this._points,i,e,s,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=I0(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,i=e.length;return i&&n[e[i-1].end]}interpolate(e,n){const i=this.options,s=e[n],o=this.points,r=E0(this,{property:n,start:s,end:s});if(!r.length)return;const a=[],l=OS(i);let c,u;for(c=0,u=r.length;ct!=="borderDash"&&t!=="fill"};function Zu(t,e,n,i){const s=t.options,{[n]:o}=t.getProps([n],i);return Math.abs(e-o){let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},zS=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Qu extends Ie{constructor(e){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,i){this.maxWidth=e,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=xt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(i=>e.filter(i,this.chart.data))),e.sort&&(n=n.sort((i,s)=>e.sort(i,s,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,s=Ft(i.font),o=s.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Ju(i,o);let c,u;n.font=s.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(r,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(r,o,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,i,s){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=s+a;let d=e;o.textAlign="left",o.textBaseline="middle";let f=-1,h=-u;return this.legendItems.forEach((g,m)=>{const p=i+n/2+o.measureText(g.text).width;(m===0||c[c.length-1]+p+2*a>r)&&(d+=u,c[c.length-(m>0?0:1)]=0,h+=u,f++),l[m]={left:0,top:h,row:f,width:p,height:s},c[c.length-1]+=p+a}),d}_fitCols(e,n,i,s){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=r-e;let d=a,f=0,h=0,g=0,m=0;return this.legendItems.forEach((p,v)=>{const y=i+n/2+o.measureText(p.text).width;v>0&&h+s+2*a>u&&(d+=f+a,c.push({width:f,height:h}),g+=f+a,m++,f=h=0),l[v]={left:g,top:h,col:m,width:y,height:s},f=Math.max(f,y),h+=s+a}),d+=f,c.push({width:f,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:s},rtl:o}}=this,r=_i(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=Xt(i,this.left+s,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=Xt(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+e+s,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+s}else{let a=0,l=Xt(i,this.top+e+s,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=Xt(i,this.top+e+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;xl(e,this),this._draw(),Sl(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:i,ctx:s}=this,{align:o,labels:r}=e,a=ct.color,l=_i(e.rtl,this.left,this.width),c=Ft(r.font),{color:u,padding:d}=r,f=c.size,h=f/2;let g;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:p,itemHeight:v}=Ju(r,f),y=function(x,T,E){if(isNaN(m)||m<=0||isNaN(p)||p<0)return;s.save();const L=rt(E.lineWidth,1);if(s.fillStyle=rt(E.fillStyle,a),s.lineCap=rt(E.lineCap,"butt"),s.lineDashOffset=rt(E.lineDashOffset,0),s.lineJoin=rt(E.lineJoin,"miter"),s.lineWidth=L,s.strokeStyle=rt(E.strokeStyle,a),s.setLineDash(rt(E.lineDash,[])),r.usePointStyle){const D={radius:m*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:L},O=l.xPlus(x,m/2),W=T+h;Do(s,D,O,W)}else{const D=T+Math.max((f-p)/2,0),O=l.leftForLtr(x,m),W=yi(E.borderRadius);s.beginPath(),Object.values(W).some(J=>J!==0)?Ro(s,{x:O,y:D,w:m,h:p,radius:W}):s.rect(O,D,m,p),s.fill(),L!==0&&s.stroke()}s.restore()},C=function(x,T,E){Gn(s,E.text,x,T+v/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},S=this.isHorizontal(),w=this._computeTitleHeight();S?g={x:Xt(o,this.left+d,this.right-i[0]),y:this.top+d+w,line:0}:g={x:this.left+d,y:Xt(o,this.top+w+d,this.bottom-n[0].height),line:0},dg(this.ctx,e.textDirection);const A=v+d;this.legendItems.forEach((x,T)=>{s.strokeStyle=x.fontColor||u,s.fillStyle=x.fontColor||u;const E=s.measureText(x.text).width,L=l.textAlign(x.textAlign||(x.textAlign=r.textAlign)),D=m+h+E;let O=g.x,W=g.y;l.setWidth(this.width),S?T>0&&O+D+d>this.right&&(W=g.y+=A,g.line++,O=g.x=Xt(o,this.left+d,this.right-i[g.line])):T>0&&W+A>this.bottom&&(O=g.x=O+n[g.line].width+d,g.line++,W=g.y=Xt(o,this.top+w+d,this.bottom-n[g.line].height));const J=l.x(O);y(J,W,x),O=r_(L,O+m+h,S?O+D:this.right,e.rtl),C(l.x(O),W,x),S?g.x+=D+d:g.y+=A}),fg(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,i=Ft(n.font),s=Gt(n.padding);if(!n.display)return;const o=_i(e.rtl,this.left,this.width),r=this.ctx,a=n.position,l=i.size/2,c=s.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=Xt(e.align,d,this.right-f);else{const g=this.columnSizes.reduce((m,p)=>Math.max(m,p.height),0);u=c+Xt(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}const h=Xt(a,d,d+f);r.textAlign=o.textAlign(gl(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=i.string,Gn(r,n.text,h,u,i)}_computeTitleHeight(){const e=this.options.title,n=Ft(e.font),i=Gt(e.padding);return e.display?n.lineHeight+i.height:0}_getLegendItemAt(e,n){let i,s,o;if(mn(e,this.left,this.right)&&mn(n,this.top,this.bottom)){for(o=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:s,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map(r=>{const a=r.controller.getStyle(n?0:void 0),l=Gt(a.borderWidth);return{text:e[r.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!r.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:i||a.pointStyle,rotation:a.rotation,textAlign:s||a.textAlign,borderRadius:0,datasetIndex:r.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ig extends Ie{constructor(e){super();this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const s=kt(i.text)?i.text.length:1;this._padding=Gt(i.padding);const o=s*Ft(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:i,bottom:s,right:o,options:r}=this,a=r.align;let l=0,c,u,d;return this.isHorizontal()?(u=Xt(a,i,o),d=n+e,c=o-i):(r.position==="left"?(u=i+e,d=Xt(a,s,n),l=Tt*-.5):(u=o-e,d=Xt(a,n,s),l=Tt*.5),c=s-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const i=Ft(n.font),o=i.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Gn(e,n.text,0,0,i,{color:n.color,maxWidth:l,rotation:c,textAlign:gl(n.align),textBaseline:"middle",translation:[r,a]})}}function WS(t,e){const n=new Ig({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.titleBlock=n}var fC={id:"title",_element:Ig,start(t,e,n){WS(t,n)},stop(t){const e=t.titleBlock;pe.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;pe.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const us={average(t){if(!t.length)return!1;let e,n,i=0,s=0,o=0;for(e=0,n=t.length;e-1?t.split(` +`):t}function jS(t,e){const{element:n,datasetIndex:i,index:s}=e,o=t.getDatasetMeta(i).controller,{label:r,value:a}=o.getLabelAndValue(s);return{chart:t,label:r,parsed:o.getParsed(s),raw:t.data.datasets[i].data[s],formattedValue:a,dataset:o.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function td(t,e){const n=t.chart.ctx,{body:i,footer:s,title:o}=t,{boxWidth:r,boxHeight:a}=e,l=Ft(e.bodyFont),c=Ft(e.titleFont),u=Ft(e.footerFont),d=o.length,f=s.length,h=i.length,g=Gt(e.padding);let m=g.height,p=0,v=i.reduce((S,w)=>S+w.before.length+w.lines.length+w.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){const S=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*S+(v-h)*l.lineHeight+(v-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let y=0;const C=function(S){p=Math.max(p,n.measureText(S).width+y)};return n.save(),n.font=c.string,vt(t.title,C),n.font=l.string,vt(t.beforeBody.concat(t.afterBody),C),y=e.displayColors?r+2+e.boxPadding:0,vt(i,S=>{vt(S.before,C),vt(S.lines,C),vt(S.after,C)}),y=0,n.font=u.string,vt(t.footer,C),n.restore(),p+=g.width,{width:p,height:m}}function US(t,e){const{y:n,height:i}=e;return nt.height-i/2?"bottom":"center"}function YS(t,e,n,i){const{x:s,width:o}=i,r=n.caretSize+n.caretPadding;if(t==="left"&&s+o+r>e.width||t==="right"&&s-o-r<0)return!0}function XS(t,e,n,i){const{x:s,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=o/2?c="left":s>=r-o/2&&(c="right"),YS(c,t,e,n)&&(c="center"),c}function ed(t,e,n){const i=n.yAlign||e.yAlign||US(t,n);return{xAlign:n.xAlign||e.xAlign||XS(t,e,n,i),yAlign:i}}function KS(t,e){let{x:n,width:i}=t;return e==="right"?n-=i:e==="center"&&(n-=i/2),n}function qS(t,e,n){let{y:i,height:s}=t;return e==="top"?i+=n:e==="bottom"?i-=s+n:i-=s/2,i}function nd(t,e,n,i){const{caretSize:s,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=s+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=yi(r);let g=KS(e,a);const m=qS(e,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(u,f)+s:a==="right"&&(g+=Math.max(d,h)+s),{x:Kt(g,0,i.width-e.width),y:Kt(m,0,i.height-e.height)}}function oo(t,e,n){const i=Gt(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-i.right:t.x+i.left}function id(t){return $e([],Ye(t))}function GS(t,e,n){return kn(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function sd(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class _a extends Ie{constructor(e){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,o=new gg(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=GS(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:i}=n,s=i.beforeTitle.apply(this,[e]),o=i.title.apply(this,[e]),r=i.afterTitle.apply(this,[e]);let a=[];return a=$e(a,Ye(s)),a=$e(a,Ye(o)),a=$e(a,Ye(r)),a}getBeforeBody(e,n){return id(n.callbacks.beforeBody.apply(this,[e]))}getBody(e,n){const{callbacks:i}=n,s=[];return vt(e,o=>{const r={before:[],lines:[],after:[]},a=sd(i,o);$e(r.before,Ye(a.beforeLabel.call(this,o))),$e(r.lines,a.label.call(this,o)),$e(r.after,Ye(a.afterLabel.call(this,o))),s.push(r)}),s}getAfterBody(e,n){return id(n.callbacks.afterBody.apply(this,[e]))}getFooter(e,n){const{callbacks:i}=n,s=i.beforeFooter.apply(this,[e]),o=i.footer.apply(this,[e]),r=i.afterFooter.apply(this,[e]);let a=[];return a=$e(a,Ye(s)),a=$e(a,Ye(o)),a=$e(a,Ye(r)),a}_createItems(e){const n=this._active,i=this.chart.data,s=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,f,i))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,i))),vt(a,u=>{const d=sd(e.callbacks,u);s.push(d.labelColor.call(this,u)),o.push(d.labelPointStyle.call(this,u)),r.push(d.labelTextColor.call(this,u))}),this.labelColors=s,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(e,n){const i=this.options.setContext(this.getContext()),s=this._active;let o,r=[];if(!s.length)this.opacity!==0&&(o={opacity:0});else{const a=us[i.position].call(this,s,this._eventPosition);r=this._createItems(i),this.title=this.getTitle(r,i),this.beforeBody=this.getBeforeBody(r,i),this.body=this.getBody(r,i),this.afterBody=this.getAfterBody(r,i),this.footer=this.getFooter(r,i);const l=this._size=td(this,i),c=Object.assign({},a,l),u=ed(this.chart,i,c),d=nd(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,i,s){const o=this.getCaretPosition(e,i,s);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,i){const{xAlign:s,yAlign:o}=this,{caretSize:r,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=yi(a),{x:f,y:h}=e,{width:g,height:m}=n;let p,v,y,C,S,w;return o==="center"?(S=h+m/2,s==="left"?(p=f,v=p-r,C=S+r,w=S-r):(p=f+g,v=p+r,C=S-r,w=S+r),y=p):(s==="left"?v=f+Math.max(l,u)+r:s==="right"?v=f+g-Math.max(c,d)-r:v=this.caretX,o==="top"?(C=h,S=C-r,p=v-r,y=v+r):(C=h+m,S=C+r,p=v+r,y=v-r),w=C),{x1:p,x2:v,x3:y,y1:C,y2:S,y3:w}}drawTitle(e,n,i){const s=this.title,o=s.length;let r,a,l;if(o){const c=_i(i.rtl,this.x,this.width);for(e.x=oo(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",r=Ft(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=r.string,l=0;lC!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,Ro(e,{x:p,y:m,w:c,h:l,radius:y}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),Ro(e,{x:v,y:m+1,w:c-2,h:l-2,radius:y}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(p,m,c,l),e.strokeRect(p,m,c,l),e.fillStyle=r.backgroundColor,e.fillRect(v,m+1,c-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,n,i){const{body:s}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=Ft(i.bodyFont);let f=d.lineHeight,h=0;const g=_i(i.rtl,this.x,this.width),m=function(T){n.fillText(T,g.x(e.x+h),e.y+f/2),e.y+=f+o},p=g.textAlign(r);let v,y,C,S,w,A,x;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,e.x=oo(this,p,i),n.fillStyle=i.bodyColor,vt(this.beforeBody,m),h=a&&p!=="right"?r==="center"?c/2+u:c+2+u:0,S=0,A=s.length;S0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,i=this.$animations,s=i&&i.x,o=i&&i.y;if(s||o){const r=us[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=td(this,e),l=Object.assign({},r,this._size),c=ed(n,e,l),u=nd(e,l,c,n);(s._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,u))}}draw(e){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const r=Gt(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(o,e,s,n),dg(e,n.textDirection),o.y+=r.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),fg(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const i=this._active,s=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!To(i,s),r=this._positionChanged(s,n);(o||r)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,o=this._active||[],r=this._getActiveElements(e,o,n,i),a=this._positionChanged(r,e),l=n||!To(r,o)||a;return l&&(this._active=r,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,i,s){const o=this.options;if(e.type==="mouseout")return[];if(!s)return n;const r=this.chart.getElementsAtEventForMode(e,o.mode,o,i);return o.reverse&&r.reverse(),r}_positionChanged(e,n){const{caretX:i,caretY:s,options:o}=this,r=us[o.position].call(this,e,n);return r!==!1&&(i!==r.x||s!==r.y)}}_a.positioners=us;var hC={id:"tooltip",_element:_a,positioners:us,afterInit(t,e,n){n&&(t.tooltip=new _a({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip,n={tooltip:e};t.notifyPlugins("beforeTooltipDraw",n)!==!1&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:We,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndext!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const ZS=(t,e,n,i)=>(typeof e=="string"?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function JS(t,e,n,i){const s=t.indexOf(e);if(s===-1)return ZS(t,e,n,i);const o=t.lastIndexOf(e);return s!==o?n:s}const QS=(t,e)=>t===null?null:Kt(Math.round(t),0,e);class xa extends ii{constructor(e){super(e);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:o}of n)i[s]===o&&i.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(bt(e))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===e?n:JS(i,e,rt(n,e),this._addedLabels),QS(n,i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const e=this.min,n=this.max,i=this.options.offset,s=[];let o=this.getLabels();o=e===0&&n===o.length-1?o:o.slice(e,n+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let r=e;r<=n;r++)s.push({value:r});return s}getLabelForValue(e){const n=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}xa.id="category";xa.defaults={ticks:{callback:xa.prototype.getLabelForValue}};function tw(t,e){const n=[],{bounds:s,step:o,min:r,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,h=o||1,g=u-1,{min:m,max:p}=e,v=!bt(r),y=!bt(a),C=!bt(c),S=(p-m)/(d+1);let w=au((p-m)/g/h)*h,A,x,T,E;if(w<1e-14&&!v&&!y)return[{value:m},{value:p}];E=Math.ceil(p/w)-Math.floor(m/w),E>g&&(w=au(E*w/g/h)*h),bt(l)||(A=Math.pow(10,l),w=Math.ceil(w*A)/A),s==="ticks"?(x=Math.floor(m/w)*w,T=Math.ceil(p/w)*w):(x=m,T=p),v&&y&&o&&v_((a-r)/o,w/1e3)?(E=Math.round(Math.min((a-r)/w,u)),w=(a-r)/E,x=r,T=a):C?(x=v?r:x,T=y?a:T,E=c-1,w=(T-x)/E):(E=(T-x)/w,as(E,Math.round(E),w/1e3)?E=Math.round(E):E=Math.ceil(E));const L=Math.max(lu(w),lu(x));A=Math.pow(10,bt(l)?L:l),x=Math.round(x*A)/A,T=Math.round(T*A)/A;let D=0;for(v&&(f&&x!==r?(n.push({value:r}),xs=n?s:l,a=l=>o=i?o:l;if(e){const l=Be(s),c=Be(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(s===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(o*.05)),a(o+l),e||r(s-l)}this.min=s,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=e,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=tw(s,o);return e.bounds==="ticks"&&Kh(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const s=(i-n)/Math.max(e.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(e){return Is(e,this.chart.options.locale,this.options.ticks.format)}}class Dg extends No{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ut(e)?e:0,this.max=Ut(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,i=Me(this.options.ticks.minRotation),s=(e?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}Dg.id="linear";Dg.defaults={ticks:{callback:dr.formatters.numeric}};function rd(t){return t/Math.pow(10,Math.floor(ge(t)))===1}function ew(t,e){const n=Math.floor(ge(e.max)),i=Math.ceil(e.max/Math.pow(10,n)),s=[];let o=he(t.min,Math.pow(10,Math.floor(ge(e.min)))),r=Math.floor(ge(o)),a=Math.floor(o/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;do s.push({value:o,major:rd(o)}),++a,a===10&&(a=1,++r,l=r>=0?1:l),o=Math.round(a*Math.pow(10,r)*l)/l;while(r0?i:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ut(e)?Math.max(0,e):null,this.max=Ut(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let i=this.min,s=this.max;const o=l=>i=e?i:l,r=l=>s=n?s:l,a=(l,c)=>Math.pow(10,Math.floor(ge(l))+c);i===s&&(i<=0?(o(1),r(10)):(o(a(i,-1)),r(a(s,1)))),i<=0&&o(a(s,-1)),s<=0&&r(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&o(a(i,-1)),this.min=i,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},i=ew(n,this);return e.bounds==="ticks"&&Kh(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":Is(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=ge(e),this._valueRange=ge(this.max)-ge(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(ge(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}Rg.id="logarithmic";Rg.defaults={ticks:{callback:dr.formatters.logarithmic,major:{enabled:!0}}};function Sa(t){const e=t.ticks;if(e.display&&t.display){const n=Gt(e.backdropPadding);return rt(e.font&&e.font.size,ct.font.size)+n.height}return 0}function nw(t,e,n){return n=kt(n)?n:[n],{w:z_(t,e.string,n),h:n.length*e.lineHeight}}function ad(t,e,n,i,s){return t===i||t===s?{start:e-n/2,end:e+n/2}:ts?{start:e-n,end:e}:{start:e,end:e+n}}function iw(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],s=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?Tt/o:0;for(let l=0;le.r&&(a=(i.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),s.starte.b&&(l=(s.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function ow(t,e,n){const i=[],s=t._pointLabels.length,o=t.options,r=Sa(o)/2,a=t.drawingArea,l=o.pointLabels.centerPointLabels?Tt/s:0;for(let c=0;c270||n<90)&&(t-=e),t}function cw(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let s=e-1;s>=0;s--){const o=i.setContext(t.getPointLabelContext(s)),r=Ft(o.font),{x:a,y:l,textAlign:c,left:u,top:d,right:f,bottom:h}=t._pointLabelItems[s],{backdropColor:g}=o;if(!bt(g)){const m=Gt(o.backdropPadding);n.fillStyle=g,n.fillRect(u-m.left,d-m.top,f-u+m.width,h-d+m.height)}Gn(n,t._pointLabels[s],a,l+r.lineHeight/2,r,{color:o.color,textAlign:c,textBaseline:"middle"})}}function $g(t,e,n,i){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,St);else{let o=t.getPointPosition(0,e);s.moveTo(o.x,o.y);for(let r=1;r{const s=xt(this.options.pointLabels.callback,[n,i],this);return s||s===0?s:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?iw(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,i,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,i,s))}getIndexAngle(e){const n=St/(this._pointLabels.length||1),i=this.options.startAngle||0;return Ce(e*n+Me(i))}getDistanceFromCenterForValue(e){if(bt(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(bt(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(u!==0){a=this.getDistanceFromCenterForValue(c.value);const d=s.setContext(this.getContext(u-1));uw(this,d,a,o)}}),i.display){for(e.save(),r=o-1;r>=0;r--){const c=i.setContext(this.getPointLabelContext(r)),{color:u,lineWidth:d}=c;!d||!u||(e.lineWidth=d,e.strokeStyle=u,e.setLineDash(c.borderDash),e.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),l=this.getPointPosition(r,a),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let o,r;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=i.setContext(this.getContext(l)),u=Ft(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,r=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=Gt(c.backdropPadding);e.fillRect(-r/2-d.left,-o-u.size/2-d.top,r+d.width,u.size+d.height)}Gn(e,a.label,0,-o,u,{color:c.color})}),e.restore()}drawTitle(){}}hr.id="radialLinear";hr.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:dr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};hr.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};hr.descriptors={angleLines:{_fallback:"grid"}};const gr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ee=Object.keys(gr);function fw(t,e){return t-e}function ld(t,e){if(bt(e))return null;const n=t._adapter,{parser:i,round:s,isoWeekday:o}=t._parseOpts;let r=e;return typeof i=="function"&&(r=i(r)),Ut(r)||(r=typeof i=="string"?n.parse(r,i):n.parse(r)),r===null?null:(s&&(r=s==="week"&&(Cs(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,s)),+r)}function cd(t,e,n,i){const s=ee.length;for(let o=ee.indexOf(t);o=ee.indexOf(n);o--){const r=ee[o];if(gr[r].common&&t._adapter.diff(s,i,r)>=e-1)return r}return ee[n?ee.indexOf(n):0]}function gw(t){for(let e=ee.indexOf(t)+1,n=ee.length;e=e?n[i]:n[s];t[o]=!0}}function mw(t,e,n,i){const s=t._adapter,o=+s.startOf(e[0].value,i),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+s.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function dd(t,e,n){const i=[],s={},o=e.length;let r,a;for(r=0;r1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+r);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;fm-p).map(m=>+m)}getLabelForValue(e){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(e,i.tooltipFormat):n.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,n,i,s){const o=this.options,r=o.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&r[a],u=l&&r[l],d=i[n],f=l&&u&&d&&d.major,h=this._adapter.format(e,s||(f?u:c)),g=o.ticks.callback;return g?xt(g,[h,n,i],this):h}generateTickLabels(e){let n,i,s;for(n=0,i=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,i;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n=t[i].pos&&e<=t[s].pos&&({lo:i,hi:s}=Bn(t,"pos",e)),{pos:o,time:a}=t[i],{pos:r,time:l}=t[s]):(e>=t[i].time&&e<=t[s].time&&({lo:i,hi:s}=Bn(t,"time",e)),{time:o,pos:a}=t[i],{time:r,pos:l}=t[s]);const c=r-o;return c?a+(l-a)*(e-o)/c:a}class Fg extends mr{constructor(e){super(e);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=ro(n,this.min),this._tableRange=ro(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:i}=this,s=[],o=[];let r,a,l,c,u;for(r=0,a=e.length;r=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(r=0,a=s.length;r{const o=t.datasets.find(r=>r[n]===s[n]);return!o||!s.data||i.includes(o)?M({},s):(i.push(o),Object.assign(o,s),o)})}function bw(t,e,n){t.data.labels=e,n!==void 0&&n.emit(Mi.LabelsUpdated)}function yw(t,e){const n=t.datasets.map(s=>s.label),i=e.datasets.map(s=>s.label);return e.datasets.length===t.datasets.length&&n.every((s,o)=>s===i[o])}const _w="Please remove the tags from your chart component. See https://vue-chartjs.org/guide/#vue-single-file-components",xw=(t,e,n)=>Xa({props:{chartData:{type:Object,required:!0},chartOptions:{type:Object,default:()=>{}},datasetIdKey:{type:String,default:"label"},chartId:{type:String,default:t},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{type:String,default:""},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},setup(i,s){Bo.register(n);const o=Bd(null),r=z(null);function a(c,u){if(o.value!==null&&ao(st(o.value),s),r.value===null)throw new Error(_w);{const d=vw(c,i.datasetIdKey),f=r.value.getContext("2d");f!==null&&(o.value=new Bo(f,{type:e,data:Ji(c)?new Proxy(d,{}):d,options:u,plugins:i.plugins}))}}function l(c,u){const d=Ji(c)?st(c):M({},c),f=Ji(u)?st(u):M({},u);if(Object.keys(f).length>0){const h=st(o.value);yw(d,f)&&h!==null?(Vg(h==null?void 0:h.data,d,i.datasetIdKey),d.labels!==void 0&&bw(h,d.labels,s),pw(h,s)):(h!==null&&ao(h,s),$r(a,i.chartData,i.chartOptions,s))}else o.value!==null&&ao(st(o.value),s),$r(a,i.chartData,i.chartOptions,s)}return wt(()=>i.chartData,(c,u)=>l(c,u),{deep:!0}),tn(()=>{"datasets"in i.chartData&&i.chartData.datasets.length>0&&$r(a,i.chartData,i.chartOptions,s)}),ue(()=>{o.value!==null&&ao(st(o.value),s)}),()=>Ae("div",{style:i.styles,class:i.cssClasses},[Ae("canvas",{id:i.chartId,width:i.width,height:i.height,ref:r})])}}),gC=xw("bar-chart","bar",cr);const Sw=it({name:"VBtnGroup",props:M(M(M(M(M(M(M({divided:Boolean},wn()),sn()),rn()),Oe()),Bt()),Wt()),ni()),setup(t,e){let{slots:n}=e;const{themeClasses:i}=Zt(t),{densityClasses:s}=on(t),{borderClasses:o}=Cn(t),{elevationClasses:r}=an(t),{roundedClasses:a}=Le(t);ei({VBtn:{height:"auto",color:et(t,"color"),density:et(t,"density"),flat:!0,variant:et(t,"variant")}}),Ht(()=>b(t.tag,{class:["v-btn-group",{"v-btn-group--divided":t.divided},i.value,o.value,s.value,r.value,a.value]},n))}}),Bg=Symbol.for("vuetify:v-btn-toggle");ne()({name:"VBtnToggle",props:rh({selectedClass:"v-btn--selected"}),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const{isSelected:i,next:s,prev:o,select:r,selected:a}=ch(t,Bg);return Ht(()=>{var l;return b(Sw,{class:"v-btn-toggle"},{default:()=>[(l=n.default)==null?void 0:l.call(n,{isSelected:i,next:s,prev:o,select:r,selected:a})]})}),{next:s,prev:o,select:r}}});const ww=["static","relative","fixed","absolute","sticky"],Ng=ut({absolute:Boolean,bottom:[Boolean,Number,String],fixed:Boolean,left:[Boolean,Number,String],position:{type:String,validator:t=>ww.includes(t)},right:[Boolean,Number,String],top:[Boolean,Number,String]},"position");function zg(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nn();const n=["top","right","bottom","left"],i=k(()=>t.fixed?`${e}--fixed`:t.absolute?`${e}--absolute`:t.position?`position-${t.position}`:void 0),s=k(()=>{const o={};for(const r of n){const a=t[r];a==null||a===!1||(o[r]=Q(a===!0?"0":String(a)))}return o});return{positionClasses:i,positionStyles:s}}const Cw=it({name:"VBtn",directives:{Ripple:Ii},props:M(M(M(M(M(M(M(M(M(M(M(M({flat:Boolean,icon:[Boolean,String],prependIcon:String,appendIcon:String,block:Boolean,stacked:Boolean,ripple:{type:Boolean,default:!0}},wn()),Oe()),sn()),Ei()),rn()),ah()),Ng()),ir()),Es()),Bt({tag:"button"})),Wt()),ni({variant:"contained"})),setup(t,e){let{attrs:n,slots:i}=e;const{themeClasses:s}=Zt(t),{borderClasses:o}=Cn(t),{colorClasses:r,colorStyles:a,variantClasses:l}=er(t),{densityClasses:c}=on(t),{dimensionStyles:u}=Oi(t),{elevationClasses:d}=an(t),{positionClasses:f,positionStyles:h}=zg(t),{roundedClasses:g}=Le(t),{sizeClasses:m}=Os(t),p=lh(t,Bg,!1),v=nr(t,n),y=k(()=>(p==null?void 0:p.disabled.value)||t.disabled),C=k(()=>t.variant==="contained"&&!(t.disabled||t.flat||t.border));return()=>{var S,w;const A=v.isLink.value?"a":t.tag,x=!p||p.isSelected.value;return qt(b(A,{type:A==="a"?void 0:"button",class:["v-btn",p==null?void 0:p.selectedClass.value,{"v-btn--active":(S=v.isExactActive)==null?void 0:S.value,"v-btn--block":t.block,"v-btn--disabled":y.value,"v-btn--elevated":C.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--stacked":t.stacked},s.value,o.value,x?r.value:void 0,c.value,d.value,f.value,g.value,m.value,l.value],style:[x?a.value:void 0,u.value,h.value],disabled:y.value||void 0,href:v.href.value,onClick:y.value||v.navigate||(p==null?void 0:p.toggle)},{default:()=>[tr(!0,"v-btn"),!t.icon&&t.prependIcon&&b(le,{class:"v-btn__icon",icon:t.prependIcon,start:!0},null),typeof t.icon=="boolean"?(w=i.default)==null?void 0:w.call(i):b(le,{class:"v-btn__icon",icon:t.icon,size:t.size},null),!t.icon&&t.appendIcon&&b(le,{class:"v-btn__icon",icon:t.appendIcon,end:!0},null)]}),[[en("ripple"),!y.value&&t.ripple,null]])}}});const Hg=Symbol.for("vuetify:selection-control-group");it({name:"VSelectionControlGroup",props:{disabled:Boolean,id:String,inline:Boolean,name:String,falseIcon:String,trueIcon:String,multiple:{type:Boolean,default:null},readonly:Boolean,type:String,modelValue:null},emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const i=Yt(t,"modelValue"),s=_e(),o=k(()=>t.id||`v-selection-control-group-${s}`),r=k(()=>t.name||o.value);return Qt(Hg,{disabled:et(t,"disabled"),inline:et(t,"inline"),modelValue:i,multiple:k(()=>!!t.multiple||t.multiple==null&&Array.isArray(i.value)),name:r,falseIcon:et(t,"falseIcon"),trueIcon:et(t,"trueIcon"),readonly:et(t,"readonly"),type:et(t,"type")}),Ht(()=>{var a;return b("div",{class:"v-selection-control-group","aria-labelled-by":t.type==="radio"?o.value:void 0,role:t.type==="radio"?"radiogroup":void 0},[n==null||(a=n.default)==null?void 0:a.call(n)])}),{}}});const Wg=ut(M(M({color:String,disabled:Boolean,error:Boolean,id:String,inline:Boolean,label:String,falseIcon:String,trueIcon:String,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,trueValue:null,falseValue:null,modelValue:null,type:String,value:null,valueComparator:{type:Function,default:Jo}},Wt()),sn()));function kw(t){const e=At(Hg,void 0),{densityClasses:n}=on(t),i=Yt(t,"modelValue"),s=k(()=>t.trueValue!==void 0?t.trueValue:t.value!==void 0?t.value:!0),o=k(()=>t.falseValue!==void 0?t.falseValue:!1),r=k(()=>(e==null?void 0:e.multiple.value)||!!t.multiple||t.multiple==null&&Array.isArray(i.value)),a=k({get(){const d=e?e.modelValue.value:i.value;return r.value?d.some(f=>t.valueComparator(f,s.value)):t.valueComparator(d,s.value)},set(d){const f=d?s.value:o.value;let h=f;r.value&&(h=d?[...Un(i.value),f]:Un(i.value).filter(g=>!t.valueComparator(g,s.value))),e?e.modelValue.value=h:i.value=h}}),{textColorClasses:l,textColorStyles:c}=Je(k(()=>a.value&&!t.error&&!t.disabled?t.color:void 0)),u=k(()=>{var d,f;return a.value?(d=e==null?void 0:e.trueIcon.value)!=null?d:t.trueIcon:(f=e==null?void 0:e.falseIcon.value)!=null?f:t.falseIcon});return{group:e,densityClasses:n,trueValue:s,falseValue:o,model:a,textColorClasses:l,textColorStyles:c,icon:u}}const jg=ne()({name:"VSelectionControl",directives:{Ripple:Ii},inheritAttrs:!1,props:Wg(),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const{densityClasses:s,group:o,icon:r,model:a,textColorClasses:l,textColorStyles:c,trueValue:u}=kw(t),d=_e(),f=k(()=>t.id||`input-${d}`),h=z(!1),g=z(!1),m=z();function p(y){h.value=!0,(!ia||ia&&y.target.matches(":focus-visible"))&&(g.value=!0)}function v(){h.value=!1,g.value=!1}return Ht(()=>{var y,C,S,w;const A=i.label?i.label({label:t.label,props:{for:f.value}}):t.label,x=(y=o==null?void 0:o.type.value)!=null?y:t.type;return b("div",{class:["v-selection-control",{"v-selection-control--dirty":a.value,"v-selection-control--disabled":t.disabled,"v-selection-control--error":t.error,"v-selection-control--focused":h.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":(o==null?void 0:o.inline.value)||t.inline},s.value]},[b("div",{class:["v-selection-control__wrapper",l.value]},[(C=i.default)==null?void 0:C.call(i),qt(b("div",{class:["v-selection-control__input"],style:c.value},[r.value&&b(le,{icon:r.value},null),qt(b("input",It({"onUpdate:modelValue":T=>a.value=T,ref:m,disabled:t.disabled,id:f.value,onBlur:v,onFocus:p,readonly:t.readonly,type:x,value:u.value,name:(S=o==null?void 0:o.name.value)!=null?S:t.name,"aria-checked":x==="checkbox"?a.value:void 0},n),null),[[If,a.value]]),(w=i.input)==null?void 0:w.call(i,{model:a,textColorClasses:l,props:{onFocus:p,onBlur:v,id:f.value}})]),[[en("ripple"),t.ripple&&[!t.disabled&&!t.readonly,null,["center","circle"]]]])]),b($h,{for:f.value},{default:()=>[A]})])}),{isFocused:h,input:m}}});function Mw(t){return Ts(t,Object.keys(jg.props))}function Ug(t){const e=z(),n=z();if(Vt){const i=new ResizeObserver(s=>{t==null||t(s,i),s.length&&(n.value=s[0].contentRect)});ue(()=>{i.disconnect()}),wt(e,(s,o)=>{o&&(i.unobserve(o),n.value=void 0),s&&i.observe(s)},{flush:"post"})}return{resizeRef:e,contentRect:Ba(n)}}const Pw=it({name:"VProgressCircular",props:M(M(M({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}},Es()),Bt({tag:"div"})),Wt()),setup(t,e){let{slots:n}=e;const i=20,s=2*Math.PI*i,o=z(),{themeClasses:r}=Zt(t),{sizeClasses:a,sizeStyles:l}=Os(t),{textColorClasses:c,textColorStyles:u}=Je(et(t,"color")),{textColorClasses:d,textColorStyles:f}=Je(et(t,"bgColor")),{intersectionRef:h,isIntersecting:g}=Fh(),{resizeRef:m,contentRect:p}=Ug(),v=k(()=>Math.max(0,Math.min(100,parseFloat(t.modelValue)))),y=k(()=>Number(t.width)),C=k(()=>l.value?Number(t.size):p.value?p.value.width:Math.max(y.value,32)),S=k(()=>i/(1-y.value/C.value)*2),w=k(()=>y.value/C.value*S.value),A=k(()=>Q((100-v.value)/100*s));return Qn(()=>{h.value=o.value,m.value=o.value}),()=>b(t.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!t.indeterminate,"v-progress-circular--visible":g.value,"v-progress-circular--disable-shrink":t.indeterminate==="disable-shrink"},r.value,a.value,c.value],style:[l.value,u.value],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":t.indeterminate?void 0:v.value},{default:()=>[b("svg",{style:{transform:`rotate(calc(-90deg + ${Number(t.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${S.value} ${S.value}`},[b("circle",{class:["v-progress-circular__underlay",d.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":w.value,"stroke-dasharray":s,"stroke-dashoffset":0},null),b("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":w.value,"stroke-dasharray":s,"stroke-dashoffset":A.value},null)]),n.default&&b("div",{class:"v-progress-circular__content"},[n.default({value:v.value})])]})}}),mC=it({name:"VSwitch",inheritAttrs:!1,props:M(M({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1}},or()),Wg()),emits:{"update:indeterminate":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const s=Yt(t,"indeterminate"),{loaderClasses:o}=Vh(t),r=k(()=>typeof t.loading=="string"&&t.loading!==""?t.loading:t.color);function a(){s.value&&(s.value=!1)}return Ht(()=>{const[l,c]=Ff(n),[u,d]=dl(t),[f,h]=Mw(t),g=z();function m(){var p,v;(p=g.value)==null||(v=p.input)==null||v.click()}return b(rr,It({class:["v-switch",{"v-switch--inset":t.inset},{"v-switch--indeterminate":s.value},o.value]},l,u),lt(M({},i),{default:p=>{let{isDisabled:v,isReadonly:y,isValid:C}=p;return b(jg,It({ref:g},f,{type:"checkbox","onUpdate:modelValue":a,"aria-checked":s.value?"mixed":void 0,disabled:v.value,readonly:y.value},c),lt(M({},i),{default:()=>b("div",{class:"v-switch__track",onClick:m},null),input:S=>{let{textColorClasses:w}=S;return b("div",{class:["v-switch__thumb",w.value]},[t.loading&&b(Bh,{name:"v-switch",active:!0,color:C.value===!1?void 0:r.value},{default:A=>i.loader?i.loader(A):b(Pw,{active:A.isActive,color:A.color,indeterminate:!0,size:"16",width:"2"},null)})])}}))}}))}),{}}});const Aw=it({name:"VCardActions",setup(t,e){let{slots:n}=e;return ei({VBtn:{variant:"text"}}),Ht(()=>{var i;return b("div",{class:"v-card-actions"},[n==null||(i=n.default)==null?void 0:i.call(n)])}),{}}}),fd=Ee("v-card-avatar"),Tw=Ee("v-card-content"),Ew=Ee("v-card-header"),Ow=Ee("v-card-header-text"),Lw=Ee("v-card-img"),Iw=Ee("v-card-subtitle"),Dw=Ee("v-card-text"),Rw=Ee("v-card-title"),pC=it({name:"VCard",directives:{Ripple:Ii},props:M(M(M(M(M(M(M(M(M(M({appendAvatar:String,appendIcon:String,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:Boolean,prependAvatar:String,prependIcon:String,ripple:Boolean,subtitle:String,text:String,title:String},Wt()),wn()),sn()),Ei()),rn()),Ng()),Oe()),ir()),Bt()),ni({variant:"contained"})),setup(t,e){let{attrs:n,slots:i}=e;const{themeClasses:s}=Zt(t),{borderClasses:o}=Cn(t),{colorClasses:r,colorStyles:a,variantClasses:l}=er(t),{densityClasses:c}=on(t),{dimensionStyles:u}=Oi(t),{elevationClasses:d}=an(t),{positionClasses:f,positionStyles:h}=zg(t),{roundedClasses:g}=Le(t),m=nr(t,n);return()=>{var p,v,y,C;const S=m.isLink.value?"a":t.tag,w=!!(i.title||t.title),A=!!(i.subtitle||t.subtitle),x=w||A,T=!!(i.append||t.appendAvatar||t.appendIcon),E=!!(i.prepend||t.prependAvatar||t.prependIcon),L=!!(i.image||t.image),D=x||E||T,O=!!(i.text||t.text),W=!t.disabled&&(m.isClickable.value||t.link);return qt(b(S,{class:["v-card",{"v-card--disabled":t.disabled,"v-card--flat":t.flat,"v-card--hover":t.hover&&!(t.disabled||t.flat),"v-card--link":W},s.value,o.value,r.value,c.value,d.value,f.value,g.value,l.value],style:[a.value,u.value,h.value],href:m.href.value,onClick:W&&m.navigate},{default:()=>[tr(W,"v-card"),L&&b(vi,{defaults:{VImg:{cover:!0,src:t.image}}},{default:()=>[b(Lw,null,{default:()=>[i.image?(p=i.image)==null?void 0:p.call(i):b(ul,{alt:""},null)]})]}),(v=i.media)==null?void 0:v.call(i),D&&b(Ew,null,{default:()=>[E&&b(vi,{defaults:{VAvatar:{density:t.density,icon:t.prependIcon,image:t.prependAvatar}}},{default:()=>[b(fd,null,{default:()=>[i.prepend?i.prepend():b(ys,null,null)]})]}),x&&b(Ow,null,{default:()=>[w&&b(Rw,null,{default:()=>[i.title?i.title():t.title]}),A&&b(Iw,null,{default:()=>[i.subtitle?i.subtitle():t.subtitle]}),(y=i.headerText)==null?void 0:y.call(i)]}),T&&b(vi,{defaults:{VAvatar:{density:t.density,icon:t.appendIcon,image:t.appendAvatar}}},{default:()=>[b(fd,null,{default:()=>[i.append?i.append():b(ys,null,null)]})]})]}),O&&b(Dw,null,{default:()=>[i.text?i.text():t.text]}),i.content&&b(Tw,null,{default:i.content}),(C=i.default)==null?void 0:C.call(i),i.actions&&b(Aw,null,{default:i.actions})]}),[[en("ripple"),W]])}}});const wa=ne()({name:"VToolbarTitle",props:M({text:String},Bt()),setup(t,e){let{slots:n}=e;return Ht(()=>{var i;const s=!!(n.default||n.text||t.text);return b(t.tag,{class:"v-toolbar-title"},{default:()=>[s&&b("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():t.text,(i=n.default)==null?void 0:i.call(n)])]})}),{}}}),$w=[null,"prominent","default","comfortable","compact"],Yg=ut(M(M(M(M(M({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:t=>$w.includes(t)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:56},image:String,title:String},wn()),rn()),Oe()),Bt({tag:"header"})),Wt()),"v-toolbar"),Ca=ne()({name:"VToolbar",props:Yg(),setup(t,e){let{slots:n}=e;const{borderClasses:i}=Cn(t),{elevationClasses:s}=an(t),{roundedClasses:o}=Le(t),{themeClasses:r}=Zt(t),{backgroundColorClasses:a,backgroundColorStyles:l}=Te(et(t,"color")),c=k(()=>!!(t.extended||n.extension)),u=k(()=>parseInt(Number(t.height)+(t.density==="prominent"?Number(t.height):0)-(t.density==="comfortable"?8:0)-(t.density==="compact"?16:0),10)),d=k(()=>c.value?parseInt(Number(t.extensionHeight)+(t.density==="prominent"?Number(t.extensionHeight):0)-(t.density==="comfortable"?4:0)-(t.density==="compact"?8:0),10):0);return ei({VBtn:{flat:!0,variant:"text"}}),Ht(()=>{var f,h,g,m,p;const v=!!(t.title||n.title),y=!!(n.image||t.image);return b(t.tag,{class:["v-toolbar",{"v-toolbar--absolute":t.absolute,"v-toolbar--collapse":t.collapse,"v-toolbar--flat":t.flat,"v-toolbar--floating":t.floating,[`v-toolbar--density-${t.density}`]:!0},a.value,i.value,s.value,o.value,r.value],style:[l.value]},{default:()=>[y&&b("div",{class:"v-toolbar__image"},[b(vi,{defaults:{VImg:{cover:!0,src:t.image}},scoped:!0},{default:()=>[n.image?(f=n.image)==null?void 0:f.call(n):b(ul,null,null)]})]),b("div",{class:"v-toolbar__content",style:{height:Q(u.value)}},[n.prepend&&b("div",{class:"v-toolbar__prepend"},[(h=n.prepend)==null?void 0:h.call(n)]),v&&b(wa,{text:t.title},{text:n.title}),(g=n.default)==null?void 0:g.call(n),n.append&&b("div",{class:"v-toolbar__append"},[(m=n.append)==null?void 0:m.call(n)])]),c.value&&b("div",{class:"v-toolbar__extension",style:{height:Q(d.value)}},[(p=n.extension)==null?void 0:p.call(n)])]})}),fl({contentHeight:u,extensionHeight:d})}});function Fw(t){var e;return Ts(t,Object.keys((e=Ca==null?void 0:Ca.props)!=null?e:{}))}const zo=Symbol.for("vuetify:layout"),Xg=Symbol.for("vuetify:layout-item"),Fr=1e3,Vw=ut({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Kg=ut({name:{type:String},priority:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Bw(){const t=At(zo);if(!t)throw new Error("Could not find injected Vuetify layout");return t}function qg(t){var e;const n=At(zo);if(!n)throw new Error("Could not find injected Vuetify layout");const i=(e=t.id)!=null?e:`layout-item-${_e()}`,s=xe("useLayoutItem");Qt(Xg,{id:i});const o=z(!1);sf(()=>o.value=!0),nf(()=>o.value=!1);const{layoutItemStyles:r,layoutItemScrimStyles:a}=n.register(s,lt(M({},t),{active:k(()=>o.value?!1:t.active.value),id:i}));return ue(()=>n.unregister(i)),{layoutItemStyles:r,layoutRect:n.layoutRect,layoutItemScrimStyles:a}}const Nw=(t,e,n,i)=>{let s={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:M({},s)}];for(const r of t){const a=e.get(r),l=n.get(r),c=i.get(r);if(!a||!l||!c)continue;const u=lt(M({},s),{[a.value]:parseInt(s[a.value],10)+(c.value?parseInt(l.value,10):0)});o.push({id:r,layer:u}),s=u}return o};function zw(t){const e=At(zo,null),n=k(()=>e?e.rootZIndex.value-100:Fr),i=z([]),s=ke(new Map),o=ke(new Map),r=ke(new Map),a=ke(new Map),l=ke(new Map),{resizeRef:c,contentRect:u}=Ug(),d=k(()=>{var w;const A=new Map,x=(w=t.overlaps)!=null?w:[];for(const T of x.filter(E=>E.includes(":"))){const[E,L]=T.split(":");if(!i.value.includes(E)||!i.value.includes(L))continue;const D=s.get(E),O=s.get(L),W=o.get(E),J=o.get(L);!D||!O||!W||!J||(A.set(L,{position:D.value,amount:parseInt(W.value,10)}),A.set(E,{position:O.value,amount:-parseInt(J.value,10)}))}return A}),f=k(()=>{const w=[...new Set([...r.values()].map(x=>x.value))].sort((x,T)=>x-T),A=[];for(const x of w){const T=i.value.filter(E=>{var L;return((L=r.get(E))==null?void 0:L.value)===x});A.push(...T)}return Nw(A,s,o,a)}),h=k(()=>!Array.from(l.values()).some(w=>w.value)),g=k(()=>{const w=f.value[f.value.length-1].layer;return M({position:"relative",paddingLeft:Q(w.left),paddingRight:Q(w.right),paddingTop:Q(w.top),paddingBottom:Q(w.bottom)},h.value?void 0:{transition:"none"})}),m=k(()=>f.value.slice(1).map((w,A)=>{let{id:x}=w;const{layer:T}=f.value[A],E=o.get(x);return lt(M({id:x},T),{size:Number(E.value)})})),p=w=>m.value.find(A=>A.id===w),v=xe("createLayout"),y=z(!1);tn(()=>{y.value=!0}),Qt(zo,{register:(w,A)=>{let{id:x,priority:T,position:E,layoutSize:L,elementSize:D,active:O,disableTransitions:W,absolute:J}=A;r.set(x,T),s.set(x,E),o.set(x,L),a.set(x,O),W&&l.set(x,W);const B=ss(Xg,v==null?void 0:v.vnode).indexOf(w);B>-1?i.value.splice(B,0,x):i.value.push(x);const K=k(()=>m.value.findIndex(mt=>mt.id===x)),q=k(()=>n.value+f.value.length*2-K.value*2),at=k(()=>{const mt=E.value==="left"||E.value==="right",Rt=E.value==="right",$t=E.value==="bottom",Y=M({[E.value]:0,zIndex:q.value,transform:`translate${mt?"X":"Y"}(${(O.value?0:-110)*(Rt||$t?-1:1)}%)`,position:J.value||n.value!==Fr?"absolute":"fixed"},h.value?void 0:{transition:"none"});if(!y.value)return Y;if(K.value<0)throw new Error(`Layout item "${x}" is missing`);const pt=m.value[K.value];if(!pt)throw new Error(`Could not find layout item "${x}`);const ie=d.value.get(x);return ie&&(pt[ie.position]+=ie.amount),lt(M({},Y),{height:mt?`calc(100% - ${pt.top}px - ${pt.bottom}px)`:`${D.value}px`,marginLeft:Rt?void 0:`${pt.left}px`,marginRight:Rt?`${pt.right}px`:void 0,marginTop:E.value!=="bottom"?`${pt.top}px`:void 0,marginBottom:E.value!=="top"?`${pt.bottom}px`:void 0,width:mt?`${D.value}px`:`calc(100% - ${pt.left}px - ${pt.right}px)`})}),gt=k(()=>({zIndex:q.value-1,position:n.value===Fr?"fixed":"absolute"}));return{layoutItemStyles:at,layoutItemScrimStyles:gt,zIndex:q}},unregister:w=>{r.delete(w),s.delete(w),o.delete(w),a.delete(w),l.delete(w),i.value=i.value.filter(A=>A!==w)},mainStyles:g,getLayoutItem:p,items:m,layoutRect:u,rootZIndex:n});const C=k(()=>["v-layout",{"v-layout--full-height":t.fullHeight}]),S=k(()=>({zIndex:n.value}));return{layoutClasses:C,layoutStyles:S,getLayoutItem:p,items:m,layoutRect:u,layoutRef:c}}const vC=it({name:"VAppBar",props:lt(M(M({modelValue:{type:Boolean,default:!0},position:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)}},Yg()),Kg()),{height:{type:[Number,String],default:64}}),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const i=z(),s=Yt(t,"modelValue"),o=k(()=>{var a,l,c,u;const d=(a=(l=i.value)==null?void 0:l.contentHeight)!=null?a:0,f=(c=(u=i.value)==null?void 0:u.extensionHeight)!=null?c:0;return d+f}),{layoutItemStyles:r}=qg({id:t.name,priority:k(()=>parseInt(t.priority,10)),position:et(t,"position"),layoutSize:o,elementSize:o,active:s,absolute:et(t,"absolute")});return()=>{const[a]=Fw(t);return b(Ca,It({ref:i,class:["v-app-bar",{"v-app-bar--bottom":t.position==="bottom"}],style:lt(M({},r.value),{height:void 0})},a),n)}}}),bC=it({name:"VAppBarNavIcon",props:{icon:{type:String,default:"$menu"}},setup(t,e){let{slots:n}=e;return()=>{var i;return b(Cw,{class:"v-app-bar-nav-icon",icon:t.icon},{default:()=>[(i=n.default)==null?void 0:i.call(n)]})}}}),yC=it(lt(M({},wa),{name:"VAppBarTitle",setup(t,e){let{slots:n}=e;return()=>b(wa,{class:"v-app-bar-title"},n)}}));const _C=it({name:"VApp",props:M(M({},Vw({fullHeight:!0})),Wt()),setup(t,e){let{slots:n}=e;const i=Zt(t),{layoutClasses:s,layoutStyles:o,getLayoutItem:r,items:a,layoutRef:l}=zw(t),{rtlClasses:c}=sr();return Ht(()=>{var u;return b("div",{ref:l,class:["v-application",i.themeClasses.value,s.value,c.value],style:o.value,"data-app":"true"},[b("div",{class:"v-application__wrap"},[(u=n.default)==null?void 0:u.call(n)])])}),{getLayoutItem:r,items:a,theme:i}}});function Hw(){const t=z(!1);return tn(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:k(()=>t.value?void 0:{transition:"none !important"})}}const xC=it({name:"VMain",props:Bt({tag:"main"}),setup(t,e){let{slots:n}=e;const{mainStyles:i}=Bw(),{ssrBootStyles:s}=Hw();return()=>{var o;return b(t.tag,{class:"v-main",style:[i.value,s.value]},{default:()=>[b("div",{class:"v-main__wrap"},[(o=n.default)==null?void 0:o.call(n)])]})}}});const ka=Symbol.for("vuetify:display"),hd={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},Ww=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:hd;return Yn(hd,t)};function gd(){return Vt?Math.max(document.documentElement.clientWidth,window.innerWidth):0}function md(){return Vt?Math.max(document.documentElement.clientHeight,window.innerHeight):0}function jw(){const t=Vt?window.navigator.userAgent:"ssr";function e(g){return Boolean(t.match(g))}const n=e(/android/i),i=e(/iphone|ipad|ipod/i),s=e(/cordova/i),o=e(/electron/i),r=e(/chrome/i),a=e(/edge/i),l=e(/firefox/i),c=e(/opera/i),u=e(/win/i),d=e(/mac/i),f=e(/linux/i),h=e(/ssr/i);return{android:n,ios:i,cordova:s,electron:o,chrome:r,edge:a,firefox:l,opera:c,win:u,mac:d,linux:f,touch:ob,ssr:h}}function Uw(t){const{thresholds:e,mobileBreakpoint:n}=Ww(t),i=z(md()),s=jw(),o=ke({}),r=z(gd());function a(){i.value=md(),r.value=gd()}return Qn(()=>{const l=r.value=e.xxl,g=l?"xs":c?"sm":u?"md":d?"lg":f?"xl":"xxl",m=typeof n=="number"?n:e[n],p=s.ssr?s.android||s.ios||s.opera:r.value0;n--){if(t[n].t===t[n-1].t)continue;const i=pd(e),s=(t[n].d-t[n-1].d)/(t[n].t-t[n-1].t);e+=(s-i)*Math.abs(s),n===t.length-1&&(e*=.5)}return pd(e)*1e3}function qw(){const t={};function e(s){Array.from(s.changedTouches).forEach(o=>{var r;((r=t[o.identifier])!=null?r:t[o.identifier]=new jv(Kw)).push([s.timeStamp,o])})}function n(s){Array.from(s.changedTouches).forEach(o=>{delete t[o.identifier]})}function i(s){var o;const r=(o=t[s])==null?void 0:o.values().reverse();if(!r)throw new Error(`No samples for touch id ${s}`);const a=r[0],l=[],c=[];for(const u of r){if(a[0]-u[0]>Xw)break;l.push({t:u[0],d:u[1].clientX}),c.push({t:u[0],d:u[1].clientY})}return{x:vd(l),y:vd(c),get direction(){const{x:u,y:d}=this,[f,h]=[Math.abs(u),Math.abs(d)];return f>h&&u>=0?"right":f>h&&u<=0?"left":h>f&&d>=0?"down":h>f&&d<=0?"up":Gw()}}}return{addMovement:e,endTouch:n,getVelocity:i}}function Gw(){throw new Error}function Zw(t){let{isActive:e,isTemporary:n,width:i,touchless:s,position:o}=t;tn(()=>{window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",y,{passive:!1}),window.addEventListener("touchend",C,{passive:!0})}),ue(()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",y),window.removeEventListener("touchend",C)});const r=k(()=>o.value!=="bottom"),{addMovement:a,endTouch:l,getVelocity:c}=qw();let u=!1;const d=z(!1),f=z(0),h=z(0);let g;function m(w,A){return(o.value==="left"?w:o.value==="right"?document.documentElement.clientWidth-w:o.value==="bottom"?document.documentElement.clientHeight-w:ci())-(A?i.value:0)}function p(w){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const x=o.value==="left"?(w-h.value)/i.value:o.value==="right"?(document.documentElement.clientWidth-w-h.value)/i.value:o.value==="bottom"?(document.documentElement.clientHeight-w-h.value)/i.value:ci();return A?Math.max(0,Math.min(1,x)):x}function v(w){if(s.value)return;const A=w.changedTouches[0].clientX,x=w.changedTouches[0].clientY,T=25,E=o.value==="left"?Adocument.documentElement.clientWidth-T:o.value==="bottom"?x>document.documentElement.clientHeight-T:ci(),L=e.value&&(o.value==="left"?Adocument.documentElement.clientWidth-i.value:o.value==="bottom"?x>document.documentElement.clientHeight-i.value:ci());(E||L||e.value&&n.value)&&(u=!0,g=[A,x],h.value=m(r.value?A:x,e.value),f.value=p(r.value?A:x),l(w),a(w))}function y(w){const A=w.changedTouches[0].clientX,x=w.changedTouches[0].clientY;if(u){if(!w.cancelable){u=!1;return}const E=Math.abs(A-g[0]),L=Math.abs(x-g[1]);(r.value?E>L&&E>3:L>E&&L>3)?(d.value=!0,u=!1):(r.value?L:E)>3&&(u=!1)}if(!d.value)return;w.preventDefault(),a(w);const T=p(r.value?A:x,!1);f.value=Math.max(0,Math.min(1,T)),T>1?h.value=m(r.value?A:x,!0):T<0&&(h.value=m(r.value?A:x,!1))}function C(w){if(u=!1,!d.value)return;a(w),d.value=!1;const A=c(w.changedTouches[0].identifier),x=Math.abs(A.x),T=Math.abs(A.y);(r.value?x>T&&x>400:T>x&&T>3)?e.value=A.direction===({left:"right",right:"left",bottom:"up"}[o.value]||ci()):e.value=f.value>.5}const S=k(()=>d.value?{transform:o.value==="left"?`translateX(calc(-100% + ${f.value*i.value}px))`:o.value==="right"?`translateX(calc(100% - ${f.value*i.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${f.value*i.value}px))`:ci(),transition:"none"}:void 0);return{isDragging:d,dragProgress:f,dragStyles:S}}function ci(){throw new Error}const SC=it({name:"VNavigationDrawer",props:M(M(M(M(M(M({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:Boolean,railWidth:{type:[Number,String],default:72},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},position:{type:String,default:"left",validator:t=>["left","right","bottom"].includes(t)}},wn()),rn()),Kg()),Oe()),Bt({tag:"nav"})),Wt()),emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:n,slots:i}=e;const{themeClasses:s}=Zt(t),{borderClasses:o}=Cn(t),{backgroundColorClasses:r,backgroundColorStyles:a}=Te(et(t,"color")),{elevationClasses:l}=an(t),{mobile:c}=Yw(),{roundedClasses:u}=Le(t),d=ph(),f=Yt(t,"modelValue",null,E=>!!E),h=z(!1),g=k(()=>t.rail&&t.expandOnHover&&h.value?Number(t.width):Number(t.rail?t.railWidth:t.width)),m=k(()=>!t.permanent&&(c.value||t.temporary));t.disableResizeWatcher||wt(m,E=>!t.permanent&&(f.value=!E)),!t.disableRouteWatcher&&d&&wt(d.currentRoute,()=>m.value&&(f.value=!1)),wt(()=>t.permanent,E=>{E&&(f.value=!0)}),qo(()=>{t.modelValue!=null||m.value||(f.value=t.permanent||!c.value)});const p=z(),{isDragging:v,dragProgress:y,dragStyles:C}=Zw({isActive:f,isTemporary:m,width:g,touchless:et(t,"touchless"),position:et(t,"position")}),S=k(()=>{const E=m.value?0:t.rail&&t.expandOnHover?Number(t.railWidth):g.value;return v.value?E*y.value:E}),{layoutItemStyles:w,layoutRect:A,layoutItemScrimStyles:x}=qg({id:t.name,priority:k(()=>parseInt(t.priority,10)),position:et(t,"position"),layoutSize:S,elementSize:g,active:k(()=>f.value||v.value),disableTransitions:k(()=>v.value),absolute:et(t,"absolute")}),T=k(()=>M(M(M({},v.value?{opacity:y.value*.2,transition:"none"}:void 0),A.value?{left:Q(A.value.left),right:Q(A.value.right),top:Q(A.value.top),bottom:Q(A.value.bottom)}:void 0),x.value));return()=>{var E,L,D,O;const W=i.image||t.image;return b(Lt,null,[b(t.tag,It({ref:p,onMouseenter:()=>h.value=!0,onMouseleave:()=>h.value=!1,class:["v-navigation-drawer",{"v-navigation-drawer--bottom":t.position==="bottom","v-navigation-drawer--end":t.position==="right","v-navigation-drawer--expand-on-hover":t.expandOnHover,"v-navigation-drawer--floating":t.floating,"v-navigation-drawer--is-hovering":h.value,"v-navigation-drawer--rail":t.rail,"v-navigation-drawer--start":t.position==="left","v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":f.value},s.value,r.value,o.value,l.value,u.value],style:[a.value,w.value,C.value]},n),{default:()=>[W&&b("div",{class:"v-navigation-drawer__img"},[i.image?(E=i.image)==null?void 0:E.call(i,{image:t.image}):b("img",{src:t.image,alt:""},null)]),i.prepend&&b("div",{class:"v-navigation-drawer__prepend"},[(L=i.prepend)==null?void 0:L.call(i)]),b("div",{class:"v-navigation-drawer__content"},[(D=i.default)==null?void 0:D.call(i)]),i.append&&b("div",{class:"v-navigation-drawer__append"},[(O=i.append)==null?void 0:O.call(i)])]}),b(ze,{name:"fade-transition"},{default:()=>[m.value&&(v.value||f.value)&&b("div",{class:"v-navigation-drawer__scrim",style:T.value,onClick:()=>f.value=!1},null)]})])}}}),Jw={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"},Qw={component:t=>Ae(eh,lt(M({},t),{class:"mdi"}))},wC=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{install:n=>{const{aliases:i={},components:s={},directives:o={},icons:r={}}=t;for(const u in o)n.directive(u,o[u]);for(const u in s)n.component(u,s[u]);for(const u in i)n.component(u,it(lt(M({},i[u]),{name:u})));n.provide(Co,eb(t.defaults)),n.provide(ka,Uw(t.display)),n.provide(ko,wb(n,t.theme)),n.provide(sa,Yn({defaultSet:"mdi",sets:lt(M({},hb),{mdi:Qw}),aliases:Jw},r));const{adapter:a,rootInstance:l}=Xy(n,t==null?void 0:t.locale);n.provide(da,a),n.provide(ua,_y(l,t==null?void 0:t.locale));function c(u){var d,f,h;const g=this.$,m=(d=(f=g.parent)==null?void 0:f.provides)!=null?d:(h=g.vnode.appContext)==null?void 0:h.provides;if(m&&u in m)return m[u]}n.mixin({computed:{$vuetify(){return ke({defaults:c.call(this,Co),display:c.call(this,ka),theme:c.call(this,ko),icons:c.call(this,sa),locale:c.call(this,da),rtl:c.call(this,ua)})}}})}}};export{rC as $,sC as A,$l as B,Bo as C,Hb as D,Dw as E,Lt as F,pC as G,oC as H,qt as I,wc as J,Pt as K,fr as L,bC as M,Ly as N,It as O,Rl as P,ey as Q,yC as R,vC as S,Po as T,Qb as U,jy as V,nC as W,_C as X,SC as Y,xC as Z,wC as _,b as a,cC as b,iC as c,aC as d,uC as e,lC as f,_f as g,hC as h,dC as i,Dg as j,xa as k,k as l,Vp as m,gC as n,$p as o,fC as p,z as q,ke as r,tn as s,eC as t,mi as u,mC as v,tp as w,Cw as x,le as y,yf as z}; diff --git a/docs/chart.js b/docs/chart.js deleted file mode 100644 index 2b3e998..0000000 --- a/docs/chart.js +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * Chart.js v3.7.1 - * https://www.chartjs.org - * (c) 2022 Chart.js Contributors - * Released under the MIT License - */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";const t="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function e(e,i,s){const n=s||(t=>Array.prototype.slice.call(t));let o=!1,a=[];return function(...s){a=n(s),o||(o=!0,t.call(window,(()=>{o=!1,e.apply(i,a)})))}}function i(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}const s=t=>"start"===t?"left":"end"===t?"right":"center",n=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,o=(t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e;var a=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=t.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}; -/*! - * @kurkle/color v0.1.9 - * https://github.com/kurkle/color#readme - * (c) 2020 Jukka Kurkela - * Released under the MIT License - */const r={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},l="0123456789ABCDEF",h=t=>l[15&t],c=t=>l[(240&t)>>4]+l[15&t],d=t=>(240&t)>>4==(15&t);function u(t){var e=function(t){return d(t.r)&&d(t.g)&&d(t.b)&&d(t.a)}(t)?h:c;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function f(t){return t+.5|0}const g=(t,e,i)=>Math.max(Math.min(t,i),e);function p(t){return g(f(2.55*t),0,255)}function m(t){return g(f(255*t),0,255)}function x(t){return g(f(t/2.55)/100,0,1)}function b(t){return g(f(100*t),0,100)}const _=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const y=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function v(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function w(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function M(t,e,i){const s=v(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function k(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=n===e?(i-s)/h+(i>16&255,o>>8&255,255&o]}return t}(),T.transparent=[0,0,0,0]);const e=T[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function R(t,e,i){if(t){let s=k(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=P(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function E(t,e){return t?Object.assign(e||{},t):t}function I(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=m(t[3]))):(e=E(t,{r:0,g:0,b:0,a:1})).a=m(e.a),e}function z(t){return"r"===t.charAt(0)?function(t){const e=_.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=255&(e[8]?p(t):255*t)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?p(i):i),s=255&(e[4]?p(s):s),n=255&(e[6]?p(n):n),{r:i,g:s,b:n,a:o}}}(t):C(t)}class F{constructor(t){if(t instanceof F)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=I(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*r[s[1]],g:255&17*r[s[2]],b:255&17*r[s[3]],a:5===o?17*r[s[4]]:255}:7!==o&&9!==o||(n={r:r[s[1]]<<4|r[s[2]],g:r[s[3]]<<4|r[s[4]],b:r[s[5]]<<4|r[s[6]],a:9===o?r[s[7]]<<4|r[s[8]]:255})),i=n||L(t)||z(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=E(this._rgb);return t&&(t.a=x(t.a)),t}set rgb(t){this._rgb=I(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${x(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?u(this._rgb):this._rgb}hslString(){return this._valid?function(t){if(!t)return;const e=k(t),i=e[0],s=b(e[1]),n=b(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${x(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):this._rgb}mix(t,e){const i=this;if(t){const s=i.rgb,n=t.rgb;let o;const a=e===o?.5:e,r=2*a-1,l=s.a-n.a,h=((r*l==-1?r:(r+l)/(1+r*l))+1)/2;o=1-h,s.r=255&h*s.r+o*n.r+.5,s.g=255&h*s.g+o*n.g+.5,s.b=255&h*s.b+o*n.b+.5,s.a=a*s.a+(1-a)*n.a,i.rgb=s}return i}clone(){return new F(this.rgb)}alpha(t){return this._rgb.a=m(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=f(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return R(this._rgb,2,t),this}darken(t){return R(this._rgb,2,-t),this}saturate(t){return R(this._rgb,1,t),this}desaturate(t){return R(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=k(t);i[0]=D(i[0]+e),i=P(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function B(t){return new F(t)}const V=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function W(t){return V(t)?t:B(t)}function N(t){return V(t)?t:B(t).saturate(.5).darken(.1).hexString()}function H(){}const j=function(){let t=0;return function(){return t++}}();function $(t){return null==t}function Y(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function U(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const X=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function q(t,e){return X(t)?t:e}function K(t,e){return void 0===t?e:t}const G=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,Z=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function J(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function Q(t,e,i,s){let n,o,a;if(Y(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;ni;)t=t[e.substr(i,s-i)],i=s+1,s=rt(e,i);return t}function ht(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ct=t=>void 0!==t,dt=t=>"function"==typeof t,ut=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function ft(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const gt=Object.create(null),pt=Object.create(null);function mt(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>N(e.backgroundColor),this.hoverBorderColor=(t,e)=>N(e.borderColor),this.hoverColor=(t,e)=>N(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return xt(this,t,e)}get(t){return mt(this,t)}describe(t,e){return xt(pt,t,e)}override(t,e){return xt(gt,t,e)}route(t,e,i,s){const n=mt(this,t),o=mt(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return U(t)?Object.assign({},e,t):K(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});const _t=Math.PI,yt=2*_t,vt=yt+_t,wt=Number.POSITIVE_INFINITY,Mt=_t/180,kt=_t/2,St=_t/4,Pt=2*_t/3,Dt=Math.log10,Ct=Math.sign;function Ot(t){const e=Math.round(t);t=Lt(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(Dt(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function At(t){const e=[],i=Math.sqrt(t);let s;for(s=1;st-e)).pop(),e}function Tt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Lt(t,e,i){return Math.abs(t-e)=t}function Et(t,e,i){let s,n,o;for(s=0,n=t.length;sl&&h=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Ut(t){return!t||$(t.size)||$(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xt(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function qt(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;li.length){for(l=0;l0&&t.stroke()}}function Jt(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);$(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;lt[i]1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const re=(t,e,i)=>ae(t,i,(s=>t[s][e]ae(t,i,(s=>t[s][e]>=i));function he(t,e,i){let s=0,n=t.length;for(;ss&&t[n-1]>i;)n--;return s>0||n{const i="_onData"+ht(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const n=s.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),n}})})))}function ue(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(ce.forEach((e=>{delete t[e]})),delete t._chartjs)}function fe(t){const e=new Set;let i,s;for(i=0,s=t.length;iwindow.getComputedStyle(t,null);function be(t,e){return xe(t).getPropertyValue(e)}const _e=["top","right","bottom","left"];function ye(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=_e[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function ve(t,e){const{canvas:i,currentDevicePixelRatio:s}=e,n=xe(i),o="border-box"===n.boxSizing,a=ye(n,"padding"),r=ye(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.native||t,s=i.touches,n=s&&s.length?s[0]:i,{offsetX:o,offsetY:a}=n;let r,l,h=!1;if(((t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot))(o,a,i.target))r=o,l=a;else{const t=e.getBoundingClientRect();r=n.clientX-t.left,l=n.clientY-t.top,h=!0}return{x:r,y:l,box:h}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const we=t=>Math.round(10*t)/10;function Me(t,e,i,s){const n=xe(t),o=ye(n,"margin"),a=me(n.maxWidth,t,"clientWidth")||wt,r=me(n.maxHeight,t,"clientHeight")||wt,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=pe(t);if(o){const t=o.getBoundingClientRect(),a=xe(o),r=ye(a,"border","width"),l=ye(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=me(a.maxWidth,o,"clientWidth"),n=me(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||wt,maxHeight:n||wt}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=ye(n,"border","width"),e=ye(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?Math.floor(h/s):c-o.height),h=we(Math.min(h,a,l.maxWidth)),c=we(Math.min(c,r,l.maxHeight)),h&&!c&&(c=we(h/2)),{width:h,height:c}}function ke(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=n/s,t.width=o/s;const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const Se=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function Pe(t,e){const i=be(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function De(t,e){return"native"in t?{x:t.x,y:t.y}:ve(t,e)}function Ce(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?le:re;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function Oe(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t{t[r](n[a],s)&&o.push({element:t,datasetIndex:e,index:i}),t.inRange(n.x,n.y,s)&&(l=!0)})),i.intersect&&!l?[]:o}var Ee={modes:{index(t,e,i,s){const n=De(e,t),o=i.axis||"x",a=i.intersect?Ae(t,n,o,s):Le(t,n,o,!1,s),r=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=a[0].index,i=t.data[e];i&&!i.skip&&r.push({element:i,datasetIndex:t.index,index:e})})),r):[]},dataset(t,e,i,s){const n=De(e,t),o=i.axis||"xy";let a=i.intersect?Ae(t,n,o,s):Le(t,n,o,!1,s);if(a.length>0){const e=a[0].datasetIndex,i=t.getDatasetMeta(e).data;a=[];for(let t=0;tAe(t,De(e,t),i.axis||"xy",s),nearest:(t,e,i,s)=>Le(t,De(e,t),i.axis||"xy",i.intersect,s),x:(t,e,i,s)=>Re(t,e,{axis:"x",intersect:i.intersect},s),y:(t,e,i,s)=>Re(t,e,{axis:"y",intersect:i.intersect},s)}};const Ie=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),ze=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Fe(t,e){const i=(""+t).match(Ie);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function Be(t,e){const i={},s=U(e),n=s?Object.keys(e):e,o=U(t)?s?i=>K(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=+o(t)||0;return i}function Ve(t){return Be(t,{top:"y",right:"x",bottom:"y",left:"x"})}function We(t){return Be(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Ne(t){const e=Ve(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function He(t,e){t=t||{},e=e||bt.font;let i=K(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=K(t.style,e.style);s&&!(""+s).match(ze)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:K(t.family,e.family),lineHeight:Fe(K(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:K(t.weight,e.weight),string:""};return n.string=Ut(n),n}function je(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;ni&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function Ye(t,e){return Object.assign(Object.create(t),e)}const Ue=["left","top","right","bottom"];function Xe(t,e){return t.filter((t=>t.pos===e))}function qe(t,e){return t.filter((t=>-1===Ue.indexOf(t.pos)&&t.box.axis===e))}function Ke(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function Ge(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!Ue.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function ei(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;ot.box.fullSize)),!0),s=Ke(Xe(e,"left"),!0),n=Ke(Xe(e,"right")),o=Ke(Xe(e,"top"),!0),a=Ke(Xe(e,"bottom")),r=qe(e,"x"),l=qe(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:Xe(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;Q(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);Je(u,Ne(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=Ge(l.concat(h),d);ei(r.fullSize,f,d,g),ei(l,f,d,g),ei(h,f,d,g)&&ei(l,f,d,g),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),si(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,si(r.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Q(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};function oi(t,e=[""],i=t,s,n=(()=>t[0])){ct(s)||(s=mi("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>oi([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>ci(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=mi(li(o,t),i),ct(n))return hi(t,n)?gi(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>xi(t).includes(e),ownKeys:t=>xi(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function ai(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:ri(t,s),setContext:e=>ai(t,e,i,s),override:n=>ai(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>ci(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];dt(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t),e=e(o,a||s),r.delete(t),hi(t,e)&&(e=gi(n._scopes,n,t,e));return e}(e,r,t,i));Y(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(ct(o.index)&&s(t))e=e[o.index%e.length];else if(U(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=gi(s,n,t,l);e.push(ai(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable));hi(e,r)&&(r=ai(r,n,o&&o[e],a));return r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function ri(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:dt(i)?i:()=>i,isIndexable:dt(s)?s:()=>s}}const li=(t,e)=>t?t+ht(e):e,hi=(t,e)=>U(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function ci(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function di(t,e,i){return dt(t)?t(e,i):t}const ui=(t,e)=>!0===t?e:"string"==typeof t?lt(e,t):void 0;function fi(t,e,i,s,n){for(const o of e){const e=ui(i,o);if(e){t.add(e);const o=di(e._fallback,i,n);if(ct(o)&&o!==i&&o!==s)return o}else if(!1===e&&ct(s)&&i!==s)return null}return!1}function gi(t,e,i,s){const n=e._rootScopes,o=di(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=pi(r,a,i,o||i,s);return null!==l&&((!ct(o)||o===i||(l=pi(r,a,o,l,s),null!==l))&&oi(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];if(Y(n)&&U(i))return i;return n}(e,i,s))))}function pi(t,e,i,s,n){for(;i;)i=fi(t,e,i,s,n);return i}function mi(t,e){for(const i of e){if(!i)continue;const e=i[t];if(ct(e))return e}}function xi(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const bi=Number.EPSILON||1e-14,_i=(t,e)=>e"x"===t?"y":"x";function vi(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Vt(o,n),l=Vt(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function wi(t,e="x"){const i=yi(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=_i(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)wi(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o0===t||1===t,Pi=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*yt/i),Di=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*yt/i)+1,Ci={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*kt),easeOutSine:t=>Math.sin(t*kt),easeInOutSine:t=>-.5*(Math.cos(_t*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Si(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Si(t)?t:Pi(t,.075,.3),easeOutElastic:t=>Si(t)?t:Di(t,.075,.3),easeInOutElastic(t){const e=.1125;return Si(t)?t:t<.5?.5*Pi(2*t,e,.45):.5+.5*Di(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Ci.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Ci.easeInBounce(2*t):.5*Ci.easeOutBounce(2*t-1)+.5};function Oi(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function Ai(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function Ti(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Oi(t,n,i),r=Oi(n,o,i),l=Oi(o,e,i),h=Oi(a,r,i),c=Oi(r,l,i);return Oi(h,c,i)}const Li=new Map;function Ri(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=Li.get(i);return s||(s=new Intl.NumberFormat(t,e),Li.set(i,s)),s}(e,i).format(t)}function Ei(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function Ii(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function zi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Fi(t){return"angle"===t?{between:Ht,compare:Wt,normalize:Nt}:{between:Yt,compare:(t,e)=>t-e,normalize:t=>t}}function Bi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function Vi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=Fi(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=Fi(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;hb||l(n,x,p)&&0!==r(n,x),v=()=>!b||0===r(o,p)||l(o,x,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==x&&(b=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(Bi({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,x=p));return null!==_&&g.push(Bi({start:_,end:d,loop:u,count:a,style:f})),g}function Wi(t,e){const i=[],s=t.segments;for(let n=0;nn&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);if(!0===s)return Hi(t,[{start:a,end:r,loop:o}],i,e);return Hi(t,function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,rnull===t||""===t;const Gi=!!Se&&{passive:!0};function Zi(t,e,i){t.canvas.removeEventListener(e,i,Gi)}function Ji(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Qi(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ji(i.addedNodes,s),e=e&&!Ji(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function ts(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ji(i.removedNodes,s),e=e&&!Ji(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const es=new Map;let is=0;function ss(){const t=window.devicePixelRatio;t!==is&&(is=t,es.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function ns(t,i,s){const n=t.canvas,o=n&&pe(n);if(!o)return;const a=e(((t,e)=>{const i=o.clientWidth;s(t,e),i{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||a(i,s)}));return r.observe(o),function(t,e){es.size||window.addEventListener("resize",ss),es.set(t,e)}(t,a),r}function os(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){es.delete(t),es.size||window.removeEventListener("resize",ss)}(t)}function as(t,i,s){const n=t.canvas,o=e((e=>{null!==t.ctx&&s(function(t,e){const i=qi[t.type]||t.type,{x:s,y:n}=ve(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,Gi)}(n,i,o),o}class rs extends Ui{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t.$chartjs={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ki(n)){const e=Pe(t,"width");void 0!==e&&(t.width=e)}if(Ki(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=Pe(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const i=e.$chartjs.initial;["height","width"].forEach((t=>{const s=i[t];$(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:Qi,detach:ts,resize:ns}[e]||as;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:os,detach:os,resize:os}[e]||Zi)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return Me(t,e,i,s)}isAttached(t){const e=pe(t);return!(!e||!e.isConnected)}}function ls(t){return!ge()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Xi:rs}var hs=Object.freeze({__proto__:null,_detectPlatform:ls,BasePlatform:Ui,BasicPlatform:Xi,DomPlatform:rs});const cs="transparent",ds={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=W(t||cs),n=s.valid&&W(e||cs);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class us{constructor(t,e,i,s){const n=e[i];s=je([t.to,s,n,t.from]);const o=je([t.from,n,s]);this._active=!0,this._fn=t.fn||ds[t.type||typeof o],this._easing=Ci[t.easing]||Ci.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=je([t.to,e,s,t.from]),this._from=je([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),bt.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),bt.describe("animations",{_fallback:"animation"}),bt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class gs{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!U(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const s=t[i];if(!U(s))return;const n={};for(const t of fs)n[t]=s[t];(Y(s.properties)&&s.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,n)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new us(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(a.add(this._chart,i),!0):void 0}}function ps(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function ms(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function vs(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;ti[t].axis===e)).shift()}function Ms(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i]}}}const ks=t=>"reset"===t||"none"===t,Ss=(t,e)=>e?t:Object.assign({},t);class Ps{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=bs(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ms(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=K(i.xAxisID,ws(t,"x")),o=e.yAxisID=K(i.yAxisID,ws(t,"y")),a=e.rAxisID=K(i.rAxisID,ws(t,"r")),r=e.indexAxis,l=e.iAxisID=s(r,n,o,a),h=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&ue(this._data,this),t._stacked&&Ms(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(U(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,h=s;else{h=Y(s[t])?this.parseArrayData(i,s,t,e):U(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===l[a]||d&&l[a]t&&!e.hidden&&e._stacked&&{keys:ms(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!X(u[t.axis])||h>e||c=0;--d)if(!f()){this.updateRangeFromParsed(l,t,u,r);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s=0&&tthis.getContext(i,s)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Ss(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new gs(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ks(t)||this.chart._animationsDisabled}updateElement(t,e,i,s){ks(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!ks(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}Ds.defaults={},Ds.defaultRoutes=void 0;const Cs={values:t=>Y(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const a=Dt(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),Ri(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=t/Math.pow(10,Math.floor(Dt(t)));return 1===s||2===s||5===s?Cs.numeric.call(this,t,e,i):""}};var Os={formatters:Cs};function As(t,e){const i=t.options.ticks,s=i.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),n=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;is)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;nn)return e}return Math.max(n,1)}(n,e,s);if(o>0){let t,i;const s=o>1?Math.round((r-a)/(o-1)):null;for(Ts(e,l,h,$(s)?0:a-s,a),t=0,i=o-1;te.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Os.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),bt.route("scale.ticks","color","","color"),bt.route("scale.grid","color","","borderColor"),bt.route("scale.grid","borderColor","","borderColor"),bt.route("scale.title","color","","color"),bt.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),bt.describe("scales",{_fallback:"scale"}),bt.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Ls=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Rs(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return h}function Is(t){return t.drawTicks?t.tickLength:0}function zs(t,e){if(!t.display)return 0;const i=He(t.font,e),s=Ne(t.padding);return(Y(t.text)?t.text.length:1)*i.lineHeight+s.height}function Fs(t,e,i){let n=s(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>"left"===t?"right":"right"===t?"left":t)(n)),n}class Bs extends Ds{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=q(t,Number.POSITIVE_INFINITY),e=q(e,Number.NEGATIVE_INFINITY),i=q(i,Number.POSITIVE_INFINITY),s=q(s,Number.NEGATIVE_INFINITY),{min:q(t,i),max:q(e,s),minDefined:X(t),maxDefined:X(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;rs?s:i,s=n&&i>s?i:s,{min:q(i,q(s,i)),max:q(s,q(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){J(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=$e(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=jt(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Is(t.grid)-e.padding-zs(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=zt(Math.min(Math.asin(jt((h.highest.height+6)/o,-1,1)),Math.asin(jt(a/r,-1,1))-Math.asin(jt(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){J(this.options.afterCalculateLabelRotation,[this])}beforeFit(){J(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=zs(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Is(n)+o):(t.height=this.maxHeight,t.width=Is(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=It(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){J(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:n[t]||0,height:o[t]||0});return{first:v(0),last:v(e-1),widest:v(_),highest:v(y),widths:n,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return $t(this._alignToPixels?Kt(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*s?a/i:r/s:r*s0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o}=s,a=n.offset,r=this.isHorizontal(),l=this.ticks.length+(a?1:0),h=Is(n),c=[],d=n.setContext(this.getContext()),u=d.drawBorder?d.borderWidth:0,f=u/2,g=function(t){return Kt(i,t,u)};let p,m,x,b,_,y,v,w,M,k,S,P;if("top"===o)p=g(this.bottom),y=this.bottom-h,w=p-f,k=g(t.top)+f,P=t.bottom;else if("bottom"===o)p=g(this.top),k=t.top,P=g(t.bottom)-f,y=p+f,w=this.top+h;else if("left"===o)p=g(this.right),_=this.right-h,v=p-f,M=g(t.left)+f,S=t.right;else if("right"===o)p=g(this.left),M=t.left,S=g(t.right)-f,_=p+f,v=this.left+h;else if("x"===e){if("center"===o)p=g((t.top+t.bottom)/2+.5);else if(U(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}k=t.top,P=t.bottom,y=p+f,w=y+h}else if("y"===e){if("center"===o)p=g((t.left+t.right)/2);else if(U(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}_=p-f,v=_-h,M=t.left,S=t.right}const D=K(s.ticks.maxTicksLimit,l),C=Math.max(1,Math.ceil(l/D));for(m=0;me.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");bt.route(o,n,l,r)}))}(e,t.defaultRoutes);t.descriptors&&bt.describe(e,t.descriptors)}(t,o,i),this.override&&bt.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in bt[s]&&(delete bt[s][i],this.override&&delete gt[i])}}var Ws=new class{constructor(){this.controllers=new Vs(Ps,"datasets",!0),this.elements=new Vs(Ds,"elements"),this.plugins=new Vs(Object,"plugins"),this.scales=new Vs(Bs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):Q(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=ht(t);J(i["before"+s],[],i),e[t](i),J(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Hs(t,e){return e||!1!==t?!0===t?{}:t:null}function js(t,e,i,s){const n=t.pluginScopeKeys(e),o=t.getOptionScopes(i,n);return t.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function $s(t,e){const i=bt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Ys(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function Us(t){const e=t.options||(t.options={});e.plugins=K(e.plugins,{}),e.scales=function(t,e){const i=gt[t.type]||{scales:{}},s=e.scales||{},n=$s(t.type,e),o=Object.create(null),a=Object.create(null);return Object.keys(s).forEach((t=>{const e=s[t];if(!U(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const r=Ys(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(r,n),h=i.scales||{};o[r]=o[r]||t,a[t]=ot(Object.create(null),[{axis:r},e,h[r],h[l]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,r=i.indexAxis||$s(n,e),l=(gt[n]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,r),n=i[e+"AxisID"]||o[e]||e;a[n]=a[n]||Object.create(null),ot(a[n],[{axis:e},s[n],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];ot(e,[bt.scales[e.type],bt.scale])})),a}(t,e)}function Xs(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const qs=new Map,Ks=new Set;function Gs(t,e){let i=qs.get(t);return i||(i=e(),qs.set(t,i),Ks.add(i)),i}const Zs=(t,e,i)=>{const s=lt(e,i);void 0!==s&&t.add(s)};class Js{constructor(t){this._config=function(t){return(t=t||{}).data=Xs(t.data),Us(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Xs(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Us(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Gs(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Gs(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Gs(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Gs(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>Zs(r,t,e)))),e.forEach((t=>Zs(r,s,t))),e.forEach((t=>Zs(r,gt[n]||{},t))),e.forEach((t=>Zs(r,bt,t))),e.forEach((t=>Zs(r,pt,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),Ks.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,gt[e]||{},bt.datasets[e]||{},{type:e},bt,pt]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=Qs(this._resolverCache,t,s);let r=o;if(function(t,e){const{isScriptable:i,isIndexable:s}=ri(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(dt(a)||tn(a))||o&&Y(a))return!0}return!1}(o,e)){n.$shared=!1;r=ai(o,i=dt(i)?i():i,this.createResolver(t,i,a))}for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=Qs(this._resolverCache,t,i);return U(e)?ai(n,e,void 0,s):n}}function Qs(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);if(!o){o={resolver:oi(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)}return o}const tn=t=>U(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||dt(t[i])),!1);const en=["top","bottom","left","right","chartArea"];function sn(t,e){return"top"===t||"bottom"===t||-1===en.indexOf(t)&&"x"===e}function nn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function on(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),J(i&&i.onComplete,[t],e)}function an(t){const e=t.chart,i=e.options.animation;J(i&&i.onProgress,[t],e)}function rn(t){return ge()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ln={},hn=t=>{const e=rn(t);return Object.values(ln).filter((t=>t.canvas===e)).pop()};function cn(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class dn{constructor(t,e){const s=this.config=new Js(e),n=rn(t),o=hn(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||ls(n)),this.platform.updateConfig(s);const l=this.platform.acquireContext(n,r.aspectRatio),h=l&&l.canvas,c=h&&h.height,d=h&&h.width;this.id=j(),this.ctx=l,this.canvas=h,this.width=d,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ns,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=i((t=>this.update(t)),r.resizeDelay||0),this._dataChanges=[],ln[this.id]=this,l&&h?(a.listen(this,"complete",on),a.listen(this,"progress",an),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return $(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ke(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Gt(this.canvas,this.ctx),this}stop(){return a.stop(this),this}resize(t,e){a.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ke(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),J(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){Q(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=Ys(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),Q(n,(e=>{const n=e.options,o=n.id,a=Ys(o,n),r=K(n.type,e.dtype);void 0!==n.position&&sn(n.position,a)===sn(e.dposition)||(n.position=e.dposition),s[o]=!0;let l=null;if(o in i&&i[o].type===r)l=i[o];else{l=new(Ws.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[l.id]=l}l.init(n,t)})),Q(s,((t,e)=>{t||delete i[e]})),Q(i,(t=>{ni.configure(this,t,t.options),ni.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(nn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Q(this.scales,(t=>{ni.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);ut(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){cn(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ni.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],Q(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&Qt(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&te(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,i,s){const n=Ee.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Ye(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);ct(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),a.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};Q(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){Q(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},Q(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!tt(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:Jt(t,this.chartArea,this._minPadding)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=ft(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,J(n.onHover,[t,a,this],this),r&&J(n.onClick,[t,a,this],this));const h=!tt(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}const un=()=>Q(dn.instances,(t=>t._plugins.invalidate())),fn=!0;function gn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(dn,{defaults:{enumerable:fn,value:bt},instances:{enumerable:fn,value:ln},overrides:{enumerable:fn,value:gt},registry:{enumerable:fn,value:Ws},version:{enumerable:fn,value:"3.7.1"},getChart:{enumerable:fn,value:hn},register:{enumerable:fn,value:(...t)=>{Ws.add(...t),un()}},unregister:{enumerable:fn,value:(...t)=>{Ws.remove(...t),un()}}});class pn{constructor(t){this.options=t||{}}formats(){return gn()}parse(t,e){return gn()}format(t,e){return gn()}add(t,e,i){return gn()}diff(t,e,i){return gn()}startOf(t,e,i){return gn()}endOf(t,e){return gn()}}pn.override=function(t){Object.assign(pn.prototype,t)};var mn={_date:pn};function xn(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;et-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(ct(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;sMath.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function _n(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;ht.x,i="left",s="right"):(e=t.base=i?1:-1)}(c,e,o)*n,d===o&&(p-=c/2),h=p+c),p===e.getPixelForValue(o)){const t=Ct(c)*e.getLineWidthForValue(o)/2;p+=t,c-=t}return{size:c,base:p,head:h,center:h+c/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=K(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,l="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:s}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),a=s.getLabelForValue(n.y),r=n._custom;return{label:e.label,value:"("+o+", "+a+(r?", "+r:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,r=this.resolveDataElementOptions(e,s),l=this.getSharedOptions(r),h=this.includeOptions(s,l),c=o.axis,d=a.axis;for(let r=e;r""}}}};class Dn extends Ps{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,o,a=t=>+i[t];if(U(i[t])){const{key:t="value"}=this._parsing;a=e=>+lt(i[e],t)}for(n=t,o=t+e;nHt(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>Ht(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(kt,c,u),x=g(_t,h,d),b=g(_t+kt,c,u);s=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,a=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(c,h,r),p=(i.width-o)/d,m=(i.height-o)/u,x=Math.max(Math.min(p,m)/2,0),b=Z(this.options.radius,x),_=(b-Math.max(b*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*b,this.offsetY=g*b,s.total=this.calculateTotal(),this.outerRadius=b-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*l,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/yt)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,f=this.resolveDataElementOptions(e,s),g=this.getSharedOptions(f),p=this.includeOptions(s,g);let m,x=this._getRotation();for(m=0;m0&&!isNaN(t)?yt*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Ri(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s"spacing"!==t,_indexable:t=>"spacing"!==t},Dn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return Y(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class Cn extends Ps{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:s=[],_dataset:n}=e,o=this.chart._animationsDisabled;let{start:a,count:r}=function(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,l=a.axis,{min:h,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=jt(Math.min(re(r,a.axis,h).lo,i?s:re(e,l,a.getPixelForValue(h)).lo),0,s-1)),o=u?jt(Math.max(re(r,a.axis,c).hi+1,i?0:re(e,l,a.getPixelForValue(c)).hi+1),n,s)-n:s-n}return{start:n,count:o}}(e,s,o);this._drawStart=a,this._drawCount=r,function(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}(e)&&(a=0,r=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=s;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:l},t),this.updateElements(s,a,r,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:l}=this._cachedMeta,h=this.resolveDataElementOptions(e,s),c=this.getSharedOptions(h),d=this.includeOptions(s,c),u=o.axis,f=a.axis,{spanGaps:g,segment:p}=this.options,m=Tt(g)?g:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||n||"none"===s;let b=e>0&&this.getParsed(e-1);for(let h=e;h0&&i[u]-b[u]>m,p&&(g.parsed=i,g.raw=l.data[h]),d&&(g.options=c||this.resolveDataElementOptions(h,e.active?"active":s)),x||this.updateElement(e,h,g,s),b=i}this.updateSharedOptions(c,s,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Cn.id="line",Cn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Cn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class On extends Ps{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Ri(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=this.getDataset(),r=o.options.animation,l=this._cachedMeta.rScale,h=l.xCenter,c=l.yCenter,d=l.getIndexAngle(0)-.5*_t;let u,f=d;const g=360/this.countVisibleElements();for(u=0;u{!isNaN(t.data[s])&&this.chart.getDataVisibility(s)&&i++})),i}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?It(this.resolveDataElementOptions(t,e).angle||i):0}}On.id="polarArea",On.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},On.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class An extends Dn{}An.id="pie",An.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Tn extends Ps{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this.getDataset(),o=this._cachedMeta.rScale,a="reset"===s;for(let r=e;r"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Rn=Object.freeze({__proto__:null,BarController:Sn,BubbleController:Pn,DoughnutController:Dn,LineController:Cn,PolarAreaController:On,PieController:An,RadarController:Tn,ScatterController:Ln});function En(t,e,i){const{startAngle:s,pixelMargin:n,x:o,y:a,outerRadius:r,innerRadius:l}=e;let h=n/r;t.beginPath(),t.arc(o,a,r,s-h,i+h),l>n?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+kt,s-kt),t.closePath(),t.clip()}function In(t,e,i,s){const n=Be(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return jt(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:jt(n.innerStart,0,a),innerEnd:jt(n.innerEnd,0,a)}}function zn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Fn(t,e,i,s,n){const{x:o,y:a,startAngle:r,pixelMargin:l,innerRadius:h}=e,c=Math.max(e.outerRadius+s+i-l,0),d=h>0?h+s+i+l:0;let u=0;const f=n-r;if(s){const t=((h>0?h-s:0)+(c>0?c-s:0))/2;u=(f-(0!==t?f*t/(t+s):f))/2}const g=(f-Math.max(.001,f*c-i/_t)/c)/2,p=r+g+u,m=n-g-u,{outerStart:x,outerEnd:b,innerStart:_,innerEnd:y}=In(e,d,c,m-p),v=c-x,w=c-b,M=p+x/v,k=m-b/w,S=d+_,P=d+y,D=p+_/S,C=m-y/P;if(t.beginPath(),t.arc(o,a,c,M,k),b>0){const e=zn(w,k,o,a);t.arc(e.x,e.y,b,k,m+kt)}const O=zn(P,m,o,a);if(t.lineTo(O.x,O.y),y>0){const e=zn(P,C,o,a);t.arc(e.x,e.y,y,m+kt,C+Math.PI)}if(t.arc(o,a,d,m-y/d,p+_/d,!0),_>0){const e=zn(S,D,o,a);t.arc(e.x,e.y,_,D+Math.PI,p-kt)}const A=zn(v,p,o,a);if(t.lineTo(A.x,A.y),x>0){const e=zn(v,M,o,a);t.arc(e.x,e.y,x,p-kt,M)}t.closePath()}function Bn(t,e,i,s,n){const{options:o}=e,{borderWidth:a,borderJoinStyle:r}=o,l="inner"===o.borderAlign;a&&(l?(t.lineWidth=2*a,t.lineJoin=r||"round"):(t.lineWidth=a,t.lineJoin=r||"bevel"),e.fullCircles&&function(t,e,i){const{x:s,y:n,startAngle:o,pixelMargin:a,fullCircles:r}=e,l=Math.max(e.outerRadius-a,0),h=e.innerRadius+a;let c;for(i&&En(t,e,o+yt),t.beginPath(),t.arc(s,n,h,o+yt,o,!0),c=0;c=yt||Ht(n,a,r),f=Yt(o,l+d,h+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/2,n=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>yt?Math.floor(i/yt):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(s){o=s/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=_t&&(o=s)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=function(t,e,i,s){const{fullCircles:n,startAngle:o,circumference:a}=e;let r=e.endAngle;if(n){Fn(t,e,i,s,o+yt);for(let e=0;er&&o>r;return{count:s,start:l,loop:e.loop,ilen:h(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[b(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ig&&(g=i),m=(x*m+e)/++x):(_(),t.lineTo(e,i),u=s,x=0,f=g=i),p=i}_()}function Yn(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i)?$n:jn}Vn.id="arc",Vn.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Vn.defaultRoutes={backgroundColor:"backgroundColor"};const Un="function"==typeof Path2D;function Xn(t,e,i,s){Un&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Wn(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=Yn(e);for(const r of n)Wn(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class qn extends Ds{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;ki(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Ni(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=Wi(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?Ai:t.tension||"monotone"===t.cubicInterpolationMode?Ti:Oi}(i);let l,h;for(l=0,h=o.length;l"borderDash"!==t&&"fill"!==t};class Gn extends Ds{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2){oo(t)}))}var ro={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void ao(t);const s=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:a}=e,r=t.getDatasetMeta(n),l=o||e.data;if("y"===je([a,t.options.indexAxis]))return;if("line"!==r.type)return;const h=t.scales[r.xAxisID];if("linear"!==h.type&&"time"!==h.type)return;if(t.options.parsing)return;let{start:c,count:d}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=jt(re(e,o.axis,a).lo,0,i-1)),s=h?jt(re(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(r,l);if(d<=(i.threshold||4*s))return void oo(e);let u;switch($(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":u=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;cu&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(l,c,d,s,i);break;case"min-max":u=function(t,e,i,s){let n,o,a,r,l,h,c,d,u,f,g=0,p=0;const m=[],x=e+i-1,b=t[e].x,_=t[x].x-b;for(n=e;nf&&(f=r,c=n),g=(p*g+o.x)/++p;else{const i=n-1;if(!$(h)&&!$(c)){const e=Math.min(h,c),s=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:g}),s!==d&&s!==i&&m.push({...t[s],x:g})}n>0&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=f=r,h=c=d=n}}return m}(l,c,d,s);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=u}))},destroy(t){ao(t)}};function lo(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=K(i&&i.target,i);return void 0===s&&(s=!!e.backgroundColor),!1!==s&&null!==s&&(!0===s?"origin":s)}(t);if(U(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return X(n)&&Math.floor(n)===n?("-"!==s[0]&&"+"!==s[0]||(n=e+n),!(n===e||n<0||n>=i)&&n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}class ho{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:s,y:n,radius:o}=this;return e=e||{start:0,end:yt},t.arc(s,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:s}=this,n=t.angle;return{x:e+Math.cos(n)*s,y:i+Math.sin(n)*s,angle:n}}}function co(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,s=e.options,n=e.getLabels().length,o=[],a=s.reverse?e.max:e.min,r=s.reverse?e.min:e.max;let l,h,c;if(c="start"===i?a:"end"===i?r:U(i)?i.value:e.getBaseValue(),s.grid.circular)return h=e.getPointPositionForValue(0,a),new ho({x:h.x,y:h.y,radius:e.getDistanceFromCenterForValue(c)});for(l=0;lt;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function fo(t,e,i){const s=[];for(let n=0;n{e=uo(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new qn({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function xo(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!X(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function bo(t,e,i){const{segments:s,points:n}=e;let o=!0,a=!1;t.beginPath();for(const r of s){const{start:s,end:l}=r,h=n[s],c=n[uo(s,l,n)];o?(t.moveTo(h.x,h.y),o=!1):(t.lineTo(h.x,i),t.lineTo(h.x,h.y)),a=!!e.pathSegment(t,r,{move:a}),a?t.closePath():t.lineTo(c.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function _o(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=Nt(n),o=Nt(o)),{property:t,start:n,end:o}}function yo(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function vo(t,e,i){const{top:s,bottom:n}=e.chart.chartArea,{property:o,start:a,end:r}=i||{};"x"===o&&(t.beginPath(),t.rect(a,s,r-a,n-s),t.clip())}function wo(t,e,i,s){const n=e.interpolate(i,s);n&&t.lineTo(n.x,n.y)}function Mo(t,e){const{line:i,target:s,property:n,color:o,scale:a}=e,r=function(t,e,i){const s=t.segments,n=t.points,o=e.points,a=[];for(const t of s){let{start:s,end:r}=t;r=uo(s,r,n);const l=_o(i,n[s],n[r],t.loop);if(!e.segments){a.push({source:t,target:l,start:n[s],end:n[r]});continue}const h=Wi(e,l);for(const e of h){const s=_o(i,o[e.start],o[e.end],e.loop),r=Vi(t,n,s);for(const t of r)a.push({source:t,target:e,start:{[i]:yo(l,s,"start",Math.max)},end:{[i]:yo(l,s,"end",Math.min)}})}}return a}(i,s,n);for(const{source:e,target:l,start:h,end:c}of r){const{style:{backgroundColor:r=o}={}}=e,d=!0!==s;t.save(),t.fillStyle=r,vo(t,a,d&&_o(n,h,c)),t.beginPath();const u=!!i.pathSegment(t,e);let f;if(d){u?t.closePath():wo(t,s,c,n);const e=!!s.pathSegment(t,l,{move:u,reverse:!0});f=u&&e,f||wo(t,s,h,n)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function ko(t,e,i){const s=po(e),{line:n,scale:o,axis:a}=e,r=n.options,l=r.fill,h=r.backgroundColor,{above:c=h,below:d=h}=l||{};s&&n.points.length&&(Qt(t,i),function(t,e){const{line:i,target:s,above:n,below:o,area:a,scale:r}=e,l=i._loop?"angle":e.axis;t.save(),"x"===l&&o!==n&&(bo(t,s,a.top),Mo(t,{line:i,target:s,color:n,scale:r,property:l}),t.restore(),t.save(),bo(t,s,a.bottom)),Mo(t,{line:i,target:s,color:o,scale:r,property:l}),t.restore()}(t,{line:n,target:s,above:c,below:d,area:i,scale:o,axis:a}),te(t))}var So={id:"filler",afterDatasetsUpdate(t,e,i){const s=(t.data.datasets||[]).length,n=[];let o,a,r,l;for(a=0;a=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&ko(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;i&&ko(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;s&&!1!==s.fill&&"beforeDatasetDraw"===i.drawTime&&ko(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Po=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class Do extends Ds{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=J(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=He(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=Po(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,n,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const p=i+e/2+n.measureText(t.text).width;o>0&&u+s+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:s},d=Math.max(d,p),u+=s+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:o}}=this,a=Ei(o,this.left,this.width);if(this.isHorizontal()){let o=0,r=n(i,this.left+s,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,r=n(i,this.left+s,this.right-this.lineWidths[o])),l.top+=this.top+t+s,l.left=a.leftForLtr(a.x(r),l.width),r+=l.width+s}else{let o=0,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height)),l.top=r,l.left+=this.left+s,l.left=a.leftForLtr(a.x(l.left),l.width),r+=l.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Qt(t,this),this._draw(),te(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:a,labels:r}=t,l=bt.color,h=Ei(t.rtl,this.left,this.width),c=He(r.font),{color:d,padding:u}=r,f=c.size,g=f/2;let p;this.drawTitle(),s.textAlign=h.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:x,itemHeight:b}=Po(r,f),_=this.isHorizontal(),y=this._computeTitleHeight();p=_?{x:n(a,this.left+u,this.right-i[0]),y:this.top+u+y,line:0}:{x:this.left+u,y:n(a,this.top+y+u,this.bottom-e[0].height),line:0},Ii(this.ctx,t.textDirection);const v=b+u;this.legendItems.forEach(((w,M)=>{s.strokeStyle=w.fontColor||d,s.fillStyle=w.fontColor||d;const k=s.measureText(w.text).width,S=h.textAlign(w.textAlign||(w.textAlign=r.textAlign)),P=m+g+k;let D=p.x,C=p.y;h.setWidth(this.width),_?M>0&&D+P+u>this.right&&(C=p.y+=v,p.line++,D=p.x=n(a,this.left+u,this.right-i[p.line])):M>0&&C+v>this.bottom&&(D=p.x=D+e[p.line].width+u,p.line++,C=p.y=n(a,this.top+y+u,this.bottom-e[p.line].height));!function(t,e,i){if(isNaN(m)||m<=0||isNaN(x)||x<0)return;s.save();const n=K(i.lineWidth,1);if(s.fillStyle=K(i.fillStyle,l),s.lineCap=K(i.lineCap,"butt"),s.lineDashOffset=K(i.lineDashOffset,0),s.lineJoin=K(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=K(i.strokeStyle,l),s.setLineDash(K(i.lineDash,[])),r.usePointStyle){const o={radius:m*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},a=h.xPlus(t,m/2);Zt(s,o,a,e+g)}else{const o=e+Math.max((f-x)/2,0),a=h.leftForLtr(t,m),r=We(i.borderRadius);s.beginPath(),Object.values(r).some((t=>0!==t))?oe(s,{x:a,y:o,w:m,h:x,radius:r}):s.rect(a,o,m,x),s.fill(),0!==n&&s.stroke()}s.restore()}(h.x(D),C,w),D=o(S,D+m+g,_?D+P:this.right,t.rtl),function(t,e,i){se(s,i.text,t,e+b/2,c,{strikethrough:i.hidden,textAlign:h.textAlign(i.textAlign)})}(h.x(D),C,w),_?p.x+=P+u:p.y+=v})),zi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=He(e.font),o=Ne(e.padding);if(!e.display)return;const a=Ei(t.rtl,this.left,this.width),r=this.ctx,l=e.position,h=i.size/2,c=o.top+h;let d,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),d=this.top+c,u=n(t.align,u,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);d=c+n(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const g=n(l,u,u+f);r.textAlign=a.textAlign(s(l)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=i.string,se(r,e.text,g,d,i)}_computeTitleHeight(){const t=this.options.title,e=He(t.font),i=Ne(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(Yt(t,this.left,this.right)&&Yt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(i?0:void 0),r=Ne(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(r.width+r.height)/4,strokeStyle:a.borderColor,pointStyle:s||a.pointStyle,rotation:a.rotation,textAlign:n||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Oo extends Ds{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=Y(i.text)?i.text.length:1;this._padding=Ne(i.padding);const n=s*He(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:o,options:a}=this,r=a.align;let l,h,c,d=0;return this.isHorizontal()?(h=n(r,i,o),c=e+t,l=o-i):("left"===a.position?(h=i+t,c=n(r,s,e),d=-.5*_t):(h=o-t,c=n(r,e,s),d=.5*_t),l=s-e),{titleX:h,titleY:c,maxWidth:l,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=He(e.font),n=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:r,rotation:l}=this._drawArgs(n);se(t,e.text,0,0,i,{color:e.color,maxWidth:r,rotation:l,textAlign:s(e.align),textBaseline:"middle",translation:[o,a]})}}var Ao={id:"title",_element:Oo,start(t,e,i){!function(t,e){const i=new Oo({ctx:t.ctx,options:e,chart:t});ni.configure(t,i,e),ni.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;ni.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;ni.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const To=new WeakMap;var Lo={id:"subtitle",start(t,e,i){const s=new Oo({ctx:t.ctx,options:i,chart:t});ni.configure(t,s,i),ni.addBox(t,s),To.set(t,s)},stop(t){ni.removeBox(t,To.get(t)),To.delete(t)},beforeUpdate(t,e,i){const s=To.get(t);ni.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ro={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e-1?t.split("\n"):t}function zo(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Fo(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=He(e.bodyFont),h=He(e.titleFont),c=He(e.footerFont),d=o.length,u=n.length,f=s.length,g=Ne(e.padding);let p=g.height,m=0,x=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(x+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),x){p+=f*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(x-f)*l.lineHeight+(x-1)*e.bodySpacing}u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let b=0;const _=function(t){m=Math.max(m,i.measureText(t).width+b)};return i.save(),i.font=h.string,Q(t.title,_),i.font=l.string,Q(t.beforeBody.concat(t.afterBody),_),b=e.displayColors?a+2+e.boxPadding:0,Q(s,(t=>{Q(t.before,_),Q(t.lines,_),Q(t.after,_)})),b=0,i.font=c.string,Q(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function Bo(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function Vo(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Bo(t,e,i,s),yAlign:s}}function Wo(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=We(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:jt(g,0,s.width-e.width),y:jt(p,0,s.height-e.height)}}function No(t,e,i){const s=Ne(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Ho(t){return Eo([],Io(t))}function jo(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class $o extends Ds{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,n=new gs(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,i=this._tooltipItems,Ye(t,{tooltip:e,tooltipItems:i,type:"tooltip"})));var t,e,i}getTitle(t,e){const{callbacks:i}=e,s=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=Eo(a,Io(s)),a=Eo(a,Io(n)),a=Eo(a,Io(o)),a}getBeforeBody(t,e){return Ho(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,s=[];return Q(t,(t=>{const e={before:[],lines:[],after:[]},n=jo(i,t);Eo(e.before,Io(n.beforeLabel.call(this,t))),Eo(e.lines,n.label.call(this,t)),Eo(e.after,Io(n.afterLabel.call(this,t))),s.push(e)})),s}getAfterBody(t,e){return Ho(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,s=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=Eo(a,Io(s)),a=Eo(a,Io(n)),a=Eo(a,Io(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;at.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),Q(l,(e=>{const i=jo(t.callbacks,e);s.push(i.labelColor.call(this,e)),n.push(i.labelPointStyle.call(this,e)),o.push(i.labelTextColor.call(this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=Ro[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Fo(this,i),a=Object.assign({},t,e),r=Vo(this.chart,i,a),l=Wo(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=We(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,x,b,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,b=_+o,y=_-o):(p=d+f,m=p+o,b=_-o,y=_+o),x=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(b=u,_=b-o,p=m-o,x=m+o):(b=u+g,_=b+o,p=m+o,x=m-o),y=b),{x1:p,x2:m,x3:x,y1:b,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=Ei(i.rtl,this.x,this.width);for(t.x=No(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=He(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,oe(t,{x:e,y:g,w:l,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),oe(t,{x:i,y:g+1,w:l-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,l,r),t.strokeRect(e,g,l,r),t.fillStyle=o.backgroundColor,t.fillRect(i,g+1,l-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=He(i.bodyFont);let d=c.lineHeight,u=0;const f=Ei(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,x,b,_,y,v,w;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=No(this,p,i),e.fillStyle=i.bodyColor,Q(this.beforeBody,g),u=a&&"right"!==p?"center"===o?l/2+h:l+2+h:0,_=0,v=s.length;_0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=Ro[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Fo(this,t),a=Object.assign({},i,this._size),r=Vo(e,t,a),l=Wo(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Ne(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),Ii(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),zi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!tt(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!tt(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=Ro[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}$o.positioners=Ro;var Yo={id:"tooltip",_element:$o,positioners:Ro,afterInit(t,e,i){i&&(t.tooltip=new $o({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip,i={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",i)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i))},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:H,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Uo=Object.freeze({__proto__:null,Decimation:ro,Filler:So,Legend:Co,SubTitle:Lo,Title:Ao,Tooltip:Yo});function Xo(t,e,i,s){const n=t.indexOf(e);if(-1===n)return((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}class qo extends Bs{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if($(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:jt(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:Xo(i,t,K(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){const e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Ko(t,e,{horizontal:i,minRotation:s}){const n=It(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}qo.id="category",qo.defaults={ticks:{callback:qo.prototype.getLabelForValue}};class Go extends Bs{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return $(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=Ct(s),e=Ct(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=1;(n>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*n)),a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function(t,e){const i=[],{bounds:s,step:n,min:o,max:a,precision:r,count:l,maxTicks:h,maxDigits:c,includeBounds:d}=t,u=n||1,f=h-1,{min:g,max:p}=e,m=!$(o),x=!$(a),b=!$(l),_=(p-g)/(c+1);let y,v,w,M,k=Ot((p-g)/f/u)*u;if(k<1e-14&&!m&&!x)return[{value:g},{value:p}];M=Math.ceil(p/k)-Math.floor(g/k),M>f&&(k=Ot(M*k/f/u)*u),$(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,w=Math.ceil(p/k)*k):(v=g,w=p),m&&x&&n&&Rt((a-o)/n,k/1e3)?(M=Math.round(Math.min((a-o)/k,h)),k=(a-o)/M,v=o,w=a):b?(v=m?o:v,w=x?a:w,M=l-1,k=(w-v)/M):(M=(w-v)/k,M=Lt(M,Math.round(M),k/1e3)?Math.round(M):Math.ceil(M));const S=Math.max(Ft(k),Ft(v));y=Math.pow(10,$(r)?S:r),v=Math.round(v*y)/y,w=Math.round(w*y)/y;let P=0;for(m&&(d&&v!==o?(i.push({value:o}),v0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=X(t)?Math.max(0,t):null,this.max=X(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t,a=(t,e)=>Math.pow(10,Math.floor(Dt(t))+e);i===s&&(i<=0?(n(1),o(10)):(n(a(i,-1)),o(a(s,1)))),i<=0&&n(a(s,-1)),s<=0&&o(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&n(a(i,-1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor(Dt(e.max)),s=Math.ceil(e.max/Math.pow(10,i)),n=[];let o=q(t.min,Math.pow(10,Math.floor(Dt(e.min)))),a=Math.floor(Dt(o)),r=Math.floor(o/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{n.push({value:o,major:Jo(o)}),++r,10===r&&(r=1,++a,l=a>=0?1:l),o=Math.round(r*Math.pow(10,a)*l)/l}while(an?{start:e-i,end:e}:{start:e,end:e+i}}function ia(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?_t/o:0;for(let d=0;de.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function na(t){return 0===t||180===t?"center":t<180?"left":"right"}function oa(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function aa(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function ra(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,yt);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;o{const i=J(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?ia(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return Nt(t*(yt/(this._pointLabels.length||1))+It(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if($(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if($(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;n--){const e=s.setContext(t.getPointLabelContext(n)),o=He(e.font),{x:a,y:r,textAlign:l,left:h,top:c,right:d,bottom:u}=t._pointLabelItems[n],{backdropColor:f}=e;if(!$(f)){const t=Ne(e.backdropPadding);i.fillStyle=f,i.fillRect(h-t.left,c-t.top,d-h+t.width,u-c+t.height)}se(i,t._pointLabels[n],a,r+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,n),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e){a=this.getDistanceFromCenterForValue(t.value);!function(t,e,i,s){const n=t.ctx,o=e.circular,{color:a,lineWidth:r}=e;!o&&!s||!a||!r||i<0||(n.save(),n.strokeStyle=a,n.lineWidth=r,n.setLineDash(e.borderDash),n.lineDashOffset=e.borderDashOffset,n.beginPath(),ra(t,i,o,s),n.closePath(),n.stroke(),n.restore())}(this,s.setContext(this.getContext(e-1)),a,n)}})),i.display){for(t.save(),o=n-1;o>=0;o--){const s=i.setContext(this.getPointLabelContext(o)),{color:n,lineWidth:l}=s;l&&n&&(t.lineWidth=l,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),r=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(r.x,r.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=He(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=Ne(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}se(t,s.label,0,-n,l,{color:r.color})})),t.restore()}drawTitle(){}}la.id="radialLinear",la.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Os.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},la.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},la.descriptors={angleLines:{_fallback:"grid"}};const ha={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ca=Object.keys(ha);function da(t,e){return t-e}function ua(t,e){if($(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),X(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!Tt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function fa(t,e,i,s){const n=ca.length;for(let o=ca.indexOf(t);o=e?i[s]:i[n]]=!0}}else t[e]=!0}function pa(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[l].major=!0);return e}(t,s,n,i):s}class ma extends Bs{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),s=this._adapter=new mn._date(t.adapters.date);ot(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ua(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=X(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=X(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=he(s,n,this.max);return this._unit=e.unit||(i.autoSkip?fa(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=ca.length-1;o>=ca.indexOf(i);o--){const i=ca[o];if(ha[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return ca[i?ca.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=ca.indexOf(t)+1,i=ca.length;e1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;ct-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.time.displayFormats,a=this._unit,r=this._majorUnit,l=a&&o[a],h=r&&o[r],c=i[e],d=r&&h&&c&&c.major,u=this._adapter.format(t,s||(d?h:l)),f=n.ticks.callback;return f?J(f,[u,e,i],this):u}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=re(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=re(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}ma.id="time",ma.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class ba extends ma{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=xa(e,this.min),this._tableRange=xa(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o - + + + + Scoi - - - + + + @@ -24,7 +27,8 @@ let vm; let test; let engine - let pixels + let pixels; + let Bezier; diff --git a/docs/jquery-3.6.0.min.js b/docs/jquery-3.6.0.min.js new file mode 100644 index 0000000..c4c6022 --- /dev/null +++ b/docs/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/docs/pixi-extract.js b/docs/pixi-extract.js deleted file mode 100644 index b539727..0000000 --- a/docs/pixi-extract.js +++ /dev/null @@ -1,192 +0,0 @@ - -const TEMP_RECT = new PIXI.Rectangle(); -const BYTES_PER_PIXEL = 4; -/** - * The extract manager provides functionality to export content from the renderers. - * - * @class - * @memberof PIXI - */ -class WebGLExtract -{ - /** - * @param {PIXI.WebGLRenderer} renderer - A reference to the current renderer - */ - constructor(renderer) - { - this.renderer = renderer; - renderer.extract = this; - } - /** - * Will return a HTML Image of the target - * - * @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture - * to convert. If left empty will use use the main renderer - * @return {HTMLImageElement} HTML Image of the target - */ - image(target) - { - const image = new Image(); - image.src = this.base64(target); - return image; - } - /** - * Will return a a base64 encoded string of this target. It works by calling - * `WebGLExtract.getCanvas` and then running toDataURL on that. - * - * @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture - * to convert. If left empty will use use the main renderer - * @return {string} A base64 encoded string of the texture. - */ - base64(target) - { - return this.canvas(target).toDataURL(); - } - /** - * Creates a Canvas element, renders this target to it and then returns it. - * - * @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture - * to convert. If left empty will use use the main renderer - * @return {HTMLCanvasElement} A Canvas element with the texture rendered on. - */ - canvas(target) - { - const renderer = this.renderer; - let textureBuffer; - let resolution; - let frame; - let flipY = false; - let renderTexture; - if (target) - { - if (target instanceof core.RenderTexture) - { - renderTexture = target; - } - else - { - renderTexture = this.renderer.generateTexture(target); - } - } - if (renderTexture) - { - textureBuffer = renderTexture.baseTexture._glRenderTargets[this.renderer.CONTEXT_UID]; - resolution = textureBuffer.resolution; - frame = renderTexture.frame; - flipY = false; - } - else - { - textureBuffer = this.renderer.rootRenderTarget; - resolution = textureBuffer.resolution; - flipY = true; - frame = TEMP_RECT; - frame.width = textureBuffer.size.width; - frame.height = textureBuffer.size.height; - } - const width = frame.width * resolution; - const height = frame.height * resolution; - const canvasBuffer = new core.CanvasRenderTarget(width, height); - if (textureBuffer) - { - // bind the buffer - renderer.bindRenderTarget(textureBuffer); - // set up an array of pixels - const webglPixels = new Uint8Array(BYTES_PER_PIXEL * width * height); - // read pixels to the array - const gl = renderer.gl; - gl.readPixels( - frame.x * resolution, - frame.y * resolution, - width, - height, - gl.RGBA, - gl.UNSIGNED_BYTE, - webglPixels - ); - // add the pixels to the canvas - const canvasData = canvasBuffer.context.getImageData(0, 0, width, height); - canvasData.data.set(webglPixels); - canvasBuffer.context.putImageData(canvasData, 0, 0); - // pulling pixels - if (flipY) - { - canvasBuffer.context.scale(1, -1); - canvasBuffer.context.drawImage(canvasBuffer.canvas, 0, -height); - } - } - // send the canvas back.. - return canvasBuffer.canvas; - } - /** - * Will return a one-dimensional array containing the pixel data of the entire texture in RGBA - * order, with integer values between 0 and 255 (included). - * - * @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture - * to convert. If left empty will use use the main renderer - * @return {Uint8ClampedArray} One-dimensional array containing the pixel data of the entire texture - */ - pixels(target) - { - const renderer = this.renderer; - let textureBuffer; - let resolution; - let frame; - let renderTexture; - if (target) - { - if (target instanceof core.RenderTexture) - { - renderTexture = target; - } - else - { - renderTexture = this.renderer.generateTexture(target); - } - } - if (renderTexture) - { - textureBuffer = renderTexture.baseTexture._glRenderTargets[this.renderer.CONTEXT_UID]; - resolution = textureBuffer.resolution; - frame = renderTexture.frame; - } - else - { - textureBuffer = this.renderer.rootRenderTarget; - resolution = textureBuffer.resolution; - frame = TEMP_RECT; - frame.width = textureBuffer.size.width; - frame.height = textureBuffer.size.height; - } - const width = frame.width * resolution; - const height = frame.height * resolution; - const webglPixels = new Uint8Array(BYTES_PER_PIXEL * width * height); - if (textureBuffer) - { - // bind the buffer - renderer.bindRenderTarget(textureBuffer); - // read pixels to the array - const gl = renderer.gl; - gl.readPixels( - frame.x * resolution, - frame.y * resolution, - width, - height, - gl.RGBA, - gl.UNSIGNED_BYTE, - webglPixels - ); - } - return webglPixels; - } - /** - * Destroys the extract - * - */ - destroy() - { - this.renderer.extract = null; - this.renderer = null; - } -} -PIXI.WebGLRenderer.registerPlugin('extract', WebGLExtract); \ No newline at end of file diff --git a/docs/spline-editor.js b/docs/spline-editor.js new file mode 100644 index 0000000..ac84897 --- /dev/null +++ b/docs/spline-editor.js @@ -0,0 +1,416 @@ +/* + jQuery widget for editing cubic splines that wrap around. + Useful especially for controlling looping animations. + + See example.html to learn how to use this. + + To understand this code, read these: + http://en.wikipedia.org/wiki/Spline_interpolation + http://docs.jquery.com/Plugins/Authoring + + Author: Bemmu Sepponen, me@bemmu.com + MIT license +*/ +(function ($) { + function computeFirstDerivativesAtKnotPoints(sortedByX) { + + // Width of matrix is how many knots there are (because each equation refers to current, prev and next knot) + // Height of matrix is how many knots there are, because there is one equation for each + + // To solve for the derivatives, it becomes that Ax = b situation where x is solved for. + var aElements = []; + var bElements = []; + + for (var i = 0; i < sortedByX.length; i++) { + + // Gather the variables needed to compose the system of linear equations + var currentKnotX = sortedByX[i].x; + var currentKnotY = sortedByX[i].y; + var isLastKnot = i == sortedByX.length-1; + var isFirstKnot = i == 0; + + // When referring to next and previous knots, assume they wrap around horizontally. + var rightBorder = this.settings.width; + var previousKnotX = isFirstKnot ? -(rightBorder - sortedByX[sortedByX.length-1].x) : sortedByX[i - 1].x; + var previousKnotY = isFirstKnot ? sortedByX[sortedByX.length-1].y : sortedByX[i - 1].y; + var nextKnotX = isLastKnot ? rightBorder + sortedByX[0].x : sortedByX[i + 1].x; + var nextKnotY = isLastKnot ? sortedByX[0].y : sortedByX[i + 1].y; + + var elementRow = []; + for (var j = 0; j < sortedByX.length; j++) { + if (j == i - 1 || (i == 0 && j == sortedByX.length-1)) { + elementRow.push(1/(currentKnotX - previousKnotX)); + } else if (j == i) { + elementRow.push(2 * ( 1/(currentKnotX - previousKnotX) + 1/(nextKnotX-currentKnotX) )); + } else if (j == i + 1 || (i == sortedByX.length-1 && j == 0)) { + elementRow.push(1/(nextKnotX - currentKnotX)); + } else { + elementRow.push(0); + } + } + aElements.push(elementRow); + + var denom1 = currentKnotX-previousKnotX; + var denom2 = nextKnotX-currentKnotX; + var bElement = 3*( (currentKnotY-previousKnotY)/(denom1*denom1) + (nextKnotY-currentKnotY)/(denom2*denom2) ); + bElements.push([bElement]); + } + + // Solve for first derivatives (K_i) + var A = $M(aElements); + var B = $M(bElements); + var solution = A.inverse().multiply(B); + + return solution; + } + + function drawKnot(knot) { + var context = this.context; + + switch (knot) { + case this.knotBeingDragged: + context.fillStyle = 'rgb(51,51,102)'; + context.strokeStyle = 'black'; + break; + case this.knotBeingHovered: + context.fillStyle = 'rgba(145,145,171,0.9)'; + context.strokeStyle = '#333'; + break; + default: + context.fillStyle = 'rgba(240,240,240,0.8)'; + context.strokeStyle = '#666'; + } + + context.beginPath(); + context.arc(knot.x, knot.y, this.knotRadius, 0, Math.PI*2, true); + context.closePath(); + context.stroke(); + context.fill(); + } + + function clearBackground() { + var context = this.context; + context.fillStyle = this.settings.backgroundColor; + context.fillRect(0, 0, this.settings.width, this.settings.height); + } + + function distance(x1, y1, x2, y2) { + return Math.sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1)); + } + + function knotsUnderPoint(x, y) { + var knotRadius = this.knotRadius; + return _.filter(this.knots, function (knot) { + var d = distance(knot.x, knot.y, x, y); + return d <= knotRadius; + }); + } + + function nearestKnotToPoint(knots, x, y) { + var sorted = _.sortBy(knots, function (knot) { + return distance(knot.x, knot.y, x, y); + }); + return sorted.length === 0 ? null : sorted[0]; + } + + function knotMouseEventRefersTo(evt) { + var x = evt.offsetX; + var y = evt.offsetY; + var under = this.knotsUnderPoint(x, y); + return nearestKnotToPoint(under, x, y); + } + + function renderThisLast(knot) { + this.knots = _.without(this.knots, knot); + this.knots.push(knot); + } + + function bindMouseEvents(canvas) { + var that = this; + canvas.bind('mouseup', function (evt) { + if (that.knotBeingDragged) { + if (!that.knotBeingDragged.wasMoved) { + // Clicked without moving means delete the knot + that.knots = _.without(that.knots, that.knotBeingDragged); + } else { + that.knotBeingHovered = that.knotMouseEventRefersTo(evt); + that.knotBeingDragged = null; + } + that.refresh(); + } + }); + canvas.bind('mousedown', function (evt) { + var knot = that.knotMouseEventRefersTo(evt); + if (knot) { + that.mouseXRelativeToKnotAtStartOfDrag = evt.offsetX - knot.x; + that.mouseYRelativeToKnotAtStartOfDrag = evt.offsetY - knot.y; + that.knotBeingHovered = null; + that.knotBeingDragged = knot; + that.knotBeingDragged.wasMoved = false; + that.renderThisLast(that.knotBeingDragged); + that.refresh(); + } else { + that.addKnot([evt.offsetX, evt.offsetY]); + } + }); + canvas.bind('mousemove', function (evt) { + if (that.knotBeingDragged) { + that.knotBeingDragged.x = evt.offsetX - that.mouseXRelativeToKnotAtStartOfDrag; + that.knotBeingDragged.y = evt.offsetY - that.mouseYRelativeToKnotAtStartOfDrag; + that.knotBeingDragged.wasMoved = true; + that.refresh(); + } else { + var prev = that.knotBeingHovered; + that.knotBeingHovered = that.knotMouseEventRefersTo(evt); + canvas.css('cursor', that.knotBeingHovered ? 'pointer' : ''); + var hoveredKnotChanged = prev !== that.knotBeingHovered; + if (hoveredKnotChanged) { + that.refresh(); + } + } + }); + } + + function createRandomKnotsInsideArea() { + for (var i = 0; i < 8; i++) { + this.addKnot([ + this.settings.width * i/8, + this.settings.height * (0.4 + Math.random() * 0.2) + ]); +/* this.knots.push({ + x : this.settings.width * i/8, + y : this.settings.height * (0.4 + Math.random() * 0.2) + });*/ + } + } + + function findInterval(x, sortedByX) { + for (var i = sortedByX.length - 1; i >= 0; i--) { + if (x >= sortedByX[i].x) { + return i; + } + } + return sortedByX.length - 1; + } + + function cubicSplineAtX(x, sortedByX, firstDerivativeMatrix) { + + // First find which interval this is in to choose the correct + // x1, x2, y1, y2, k1, k2 for the interval function q. + var i = findInterval(x, sortedByX); + var iNext = i == sortedByX.length-1 ? 0 : i + 1; + + var x1 = sortedByX[i].x; + var x2 = sortedByX[iNext].x; + var y1 = sortedByX[i].y; + var y2 = sortedByX[iNext].y; + var k1 = firstDerivativeMatrix.elements[i][0]; + var k2 = firstDerivativeMatrix.elements[iNext][0]; + + var a = k1*(x2-x1)-(y2-y1); + var b = -k2*(x2-x1)+(y2-y1); + var t = (x-x1)/(x2-x1); + return (1-t)*y1+t*y2+t*(1-t)* (a*(1-t)+b*t) ; + } + + function initCanvas() { + this.canvas.width = this.settings.width; // buffer size + this.canvas.height = this.settings.height; + $('canvas').css({ // displayed size, stretched if not same + width: this.settings.width, + height: this.settings.height + }); + this.context = this.canvas.getContext('2d'); + } + + // Bottleneck. If this script seems too slow for your + // purposes, look into storing sortedByX and firstDerivativeMatrix + // and only recomputing them when needed. + + function getY(x) { + var sortedByX = _.sortBy(this.knots, 'x'); + + // If several knots have same X, ignore all but one + sortedByX = _.uniq(sortedByX, true, function (knot) { + return knot.x; + }); + + // Pretend like there are extra mirrored knots in the beginning and end + // to get continuity. Actually, I thought this wouldn't be necessary since + // already accounting for that when making the matrices, but experimentally + // the extra knots turned out to be necessary ( == magic). + var firstMirroredKnot = { + x: -(this.settings.width - sortedByX[sortedByX.length-1].x), + y: sortedByX[sortedByX.length-1].y + } + var lastMirroredKnot = { + x: this.settings.width + sortedByX[0].x, + y: sortedByX[0].y + } + var sortedByX = _.union([firstMirroredKnot], sortedByX, [lastMirroredKnot]); + var firstDerivativeMatrix = this.computeFirstDerivativesAtKnotPoints(sortedByX); + var y = cubicSplineAtX(x, sortedByX, firstDerivativeMatrix); + return y; + } + + function drawPlayhead() { + this.context.strokeStyle = "black"; + this.context.lineWidth = 2; + this.context.beginPath(); + this.context.moveTo(this.playheadX, 0); + this.context.lineTo(this.playheadX, this.settings.height); + this.context.stroke(); + this.context.closePath(); + } + + function refresh() { + if (!this.context) { + return; + } + + this.clearBackground(); + for (var i = 0; i < this.knots.length; i++) { + this.drawKnot(this.knots[i]); + } + + this.context.strokeStyle = "rgb(30,30,128)"; + this.context.lineWidth = 3; + this.context.beginPath(); + for (var x = 0; x < this.settings.width; x++) { + var y = this.getY(x); + if (x == 0) { + this.context.moveTo(x, y); + } else { + this.context.lineTo(x, y); + } + } + this.context.stroke(); + this.context.closePath(); + + if (this.playheadVisible) { + this.drawPlayhead(); + } + } + + function addKnot(pos) { + this.knots.push({ + x: pos[0], + y: pos[1] + }); + this.refresh(); + } + + function showPlayhead() { + this.playheadVisible = true; + this.refresh(); + } + + function hidePlayhead() { + this.playheadVisible = false; + this.refresh(); + } + + function setPlayheadX(x) { + this.playheadX = x; + this.refresh(); + } + + function createEditor(canvas, settings) { + var editor = { + knotRadius: 10, + knots: [], + knotBeingDragged: null, + knotBeingHovered: null, + mouseXRelativeToKnotAtStartOfDrag: null, + mouseYRelativeToKnotAtStartOfDrag: null, + playheadVisible: false, + playheadX: 20, // to be reasonably sure it's initially visible + canvas: canvas, + context: null, + refresh: refresh, + initCanvas: initCanvas, + settings: settings, + drawKnot: drawKnot, + knotsUnderPoint: knotsUnderPoint, + renderThisLast: renderThisLast, + computeFirstDerivativesAtKnotPoints: computeFirstDerivativesAtKnotPoints, + clearBackground: clearBackground, + knotMouseEventRefersTo: knotMouseEventRefersTo, + bindMouseEvents: bindMouseEvents, + createRandomKnotsInsideArea: createRandomKnotsInsideArea, + addKnot: addKnot, + getY: getY, + showPlayhead: showPlayhead, + hidePlayhead: hidePlayhead, + setPlayheadX: setPlayheadX, + drawPlayhead: drawPlayhead + }; + return editor; + } + + var methods = { + init: function(options) { + var settings = $.extend({ + width: $(this).width(), + height: $(this).height(), + backgroundColor: 'white' + }, options); + + return this.each(function () { + var canvas = $('').css({ + width : settings.width, + height : settings.height + }).get(0); + $(this).append(canvas); + + var editor = createEditor(canvas, settings); + + if (options && options.initialKnots) { + for (var i = 0; i < options.initialKnots.length; i++) { + editor.addKnot(options.initialKnots[i]); + } + } else { + editor.createRandomKnotsInsideArea(); + } + + editor.initCanvas(); + editor.bindMouseEvents($(canvas)); + editor.refresh(); + $(this).data('editor', editor); + }); + }, + getY: function (x) { + if (this.length === 1) { + return $(this[0]).data('editor').getY(x); + } else { + console.log('Spline editor error: Asked Y from ' + this.length + ' widgets.'); + } + }, + showPlayhead: function () { + return this.each(function () { + $(this).data('editor').showPlayhead(); + }); + }, + setPlayheadX: function (x) { + return this.each(function () { + $(this).data('editor').setPlayheadX(x); + }); + }, + hidePlayhead: function () { + return this.each(function () { + $(this).data('editor').hidePlayhead(); + }); + } + } + + $.fn.splineEditor = function( method ) { + if (methods[method]) { + return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); + } else if (typeof method === 'object' || !method) { + return methods.init.apply(this, arguments); + } else { + $.error('Spline editor does not support method ' + method); + } + }; +})(jQuery); + diff --git a/docs/sylvester.js b/docs/sylvester.js new file mode 100644 index 0000000..3e83bee --- /dev/null +++ b/docs/sylvester.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 17={3i:\'0.1.3\',16:1e-6};l v(){}v.23={e:l(i){8(i<1||i>7.4.q)?w:7.4[i-1]},2R:l(){8 7.4.q},1u:l(){8 F.1x(7.2u(7))},24:l(a){9 n=7.4.q;9 V=a.4||a;o(n!=V.q){8 1L}J{o(F.13(7.4[n-1]-V[n-1])>17.16){8 1L}}H(--n);8 2x},1q:l(){8 v.u(7.4)},1b:l(a){9 b=[];7.28(l(x,i){b.19(a(x,i))});8 v.u(b)},28:l(a){9 n=7.4.q,k=n,i;J{i=k-n;a(7.4[i],i+1)}H(--n)},2q:l(){9 r=7.1u();o(r===0){8 7.1q()}8 7.1b(l(x){8 x/r})},1C:l(a){9 V=a.4||a;9 n=7.4.q,k=n,i;o(n!=V.q){8 w}9 b=0,1D=0,1F=0;7.28(l(x,i){b+=x*V[i-1];1D+=x*x;1F+=V[i-1]*V[i-1]});1D=F.1x(1D);1F=F.1x(1F);o(1D*1F===0){8 w}9 c=b/(1D*1F);o(c<-1){c=-1}o(c>1){c=1}8 F.37(c)},1m:l(a){9 b=7.1C(a);8(b===w)?w:(b<=17.16)},34:l(a){9 b=7.1C(a);8(b===w)?w:(F.13(b-F.1A)<=17.16)},2k:l(a){9 b=7.2u(a);8(b===w)?w:(F.13(b)<=17.16)},2j:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x+V[i-1]})},2C:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x-V[i-1]})},22:l(k){8 7.1b(l(x){8 x*k})},x:l(k){8 7.22(k)},2u:l(a){9 V=a.4||a;9 i,2g=0,n=7.4.q;o(n!=V.q){8 w}J{2g+=7.4[n-1]*V[n-1]}H(--n);8 2g},2f:l(a){9 B=a.4||a;o(7.4.q!=3||B.q!=3){8 w}9 A=7.4;8 v.u([(A[1]*B[2])-(A[2]*B[1]),(A[2]*B[0])-(A[0]*B[2]),(A[0]*B[1])-(A[1]*B[0])])},2A:l(){9 m=0,n=7.4.q,k=n,i;J{i=k-n;o(F.13(7.4[i])>F.13(m)){m=7.4[i]}}H(--n);8 m},2Z:l(x){9 a=w,n=7.4.q,k=n,i;J{i=k-n;o(a===w&&7.4[i]==x){a=i+1}}H(--n);8 a},3g:l(){8 S.2X(7.4)},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(y){8(F.13(y-x)<=17.16)?x:y})},1o:l(a){o(a.K){8 a.1o(7)}9 V=a.4||a;o(V.q!=7.4.q){8 w}9 b=0,2b;7.28(l(x,i){2b=x-V[i-1];b+=2b*2b});8 F.1x(b)},3a:l(a){8 a.1h(7)},2T:l(a){8 a.1h(7)},1V:l(t,a){9 V,R,x,y,z;2S(7.4.q){27 2:V=a.4||a;o(V.q!=2){8 w}R=S.1R(t).4;x=7.4[0]-V[0];y=7.4[1]-V[1];8 v.u([V[0]+R[0][0]*x+R[0][1]*y,V[1]+R[1][0]*x+R[1][1]*y]);1I;27 3:o(!a.U){8 w}9 C=a.1r(7).4;R=S.1R(t,a.U).4;x=7.4[0]-C[0];y=7.4[1]-C[1];z=7.4[2]-C[2];8 v.u([C[0]+R[0][0]*x+R[0][1]*y+R[0][2]*z,C[1]+R[1][0]*x+R[1][1]*y+R[1][2]*z,C[2]+R[2][0]*x+R[2][1]*y+R[2][2]*z]);1I;2P:8 w}},1t:l(a){o(a.K){9 P=7.4.2O();9 C=a.1r(P).4;8 v.u([C[0]+(C[0]-P[0]),C[1]+(C[1]-P[1]),C[2]+(C[2]-(P[2]||0))])}1d{9 Q=a.4||a;o(7.4.q!=Q.q){8 w}8 7.1b(l(x,i){8 Q[i-1]+(Q[i-1]-x)})}},1N:l(){9 V=7.1q();2S(V.4.q){27 3:1I;27 2:V.4.19(0);1I;2P:8 w}8 V},2n:l(){8\'[\'+7.4.2K(\', \')+\']\'},26:l(a){7.4=(a.4||a).2O();8 7}};v.u=l(a){9 V=25 v();8 V.26(a)};v.i=v.u([1,0,0]);v.j=v.u([0,1,0]);v.k=v.u([0,0,1]);v.2J=l(n){9 a=[];J{a.19(F.2F())}H(--n);8 v.u(a)};v.1j=l(n){9 a=[];J{a.19(0)}H(--n);8 v.u(a)};l S(){}S.23={e:l(i,j){o(i<1||i>7.4.q||j<1||j>7.4[0].q){8 w}8 7.4[i-1][j-1]},33:l(i){o(i>7.4.q){8 w}8 v.u(7.4[i-1])},2E:l(j){o(j>7.4[0].q){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][j-1])}H(--n);8 v.u(a)},2R:l(){8{2D:7.4.q,1p:7.4[0].q}},2D:l(){8 7.4.q},1p:l(){8 7.4[0].q},24:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(7.4.q!=M.q||7.4[0].q!=M[0].q){8 1L}9 b=7.4.q,15=b,i,G,10=7.4[0].q,j;J{i=15-b;G=10;J{j=10-G;o(F.13(7.4[i][j]-M[i][j])>17.16){8 1L}}H(--G)}H(--b);8 2x},1q:l(){8 S.u(7.4)},1b:l(a){9 b=[],12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;b[i]=[];J{j=10-G;b[i][j]=a(7.4[i][j],i+1,j+1)}H(--G)}H(--12);8 S.u(b)},2i:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}8(7.4.q==M.q&&7.4[0].q==M[0].q)},2j:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x+M[i-1][j-1]})},2C:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x-M[i-1][j-1]})},2B:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}8(7.4[0].q==M.q)},22:l(a){o(!a.4){8 7.1b(l(x){8 x*a})}9 b=a.1u?2x:1L;9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2B(M)){8 w}9 d=7.4.q,15=d,i,G,10=M[0].q,j;9 e=7.4[0].q,4=[],21,20,c;J{i=15-d;4[i]=[];G=10;J{j=10-G;21=0;20=e;J{c=e-20;21+=7.4[i][c]*M[c][j]}H(--20);4[i][j]=21}H(--G)}H(--d);9 M=S.u(4);8 b?M.2E(1):M},x:l(a){8 7.22(a)},32:l(a,b,c,d){9 e=[],12=c,i,G,j;9 f=7.4.q,1p=7.4[0].q;J{i=c-12;e[i]=[];G=d;J{j=d-G;e[i][j]=7.4[(a+i-1)%f][(b+j-1)%1p]}H(--G)}H(--12);8 S.u(e)},31:l(){9 a=7.4.q,1p=7.4[0].q;9 b=[],12=1p,i,G,j;J{i=1p-12;b[i]=[];G=a;J{j=a-G;b[i][j]=7.4[j][i]}H(--G)}H(--12);8 S.u(b)},1y:l(){8(7.4.q==7.4[0].q)},2A:l(){9 m=0,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(F.13(7.4[i][j])>F.13(m)){m=7.4[i][j]}}H(--G)}H(--12);8 m},2Z:l(x){9 a=w,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(7.4[i][j]==x){8{i:i+1,j:j+1}}}H(--G)}H(--12);8 w},30:l(){o(!7.1y){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][i])}H(--n);8 v.u(a)},1K:l(){9 M=7.1q(),1c;9 n=7.4.q,k=n,i,1s,1n=7.4[0].q,p;J{i=k-n;o(M.4[i][i]==0){2e(j=i+1;j17.16){1Y++;1I}}H(--G)}H(--a);8 1Y},3d:l(){8 7.1Y()},2W:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}9 T=7.1q(),1p=T.4[0].q;9 b=T.4.q,15=b,i,G,10=M[0].q,j;o(b!=M.q){8 w}J{i=15-b;G=10;J{j=10-G;T.4[i][1p+j]=M[i][j]}H(--G)}H(--b);8 T},2w:l(){o(!7.1y()||7.2y()){8 w}9 a=7.4.q,15=a,i,j;9 M=7.2W(S.I(a)).1K();9 b,1n=M.4[0].q,p,1c,2v;9 c=[],2c;J{i=a-1;1c=[];b=1n;c[i]=[];2v=M.4[i][i];J{p=1n-b;2c=M.4[i][p]/2v;1c.19(2c);o(p>=15){c[i].19(2c)}}H(--b);M.4[i]=1c;2e(j=0;j3||b.4.q>3){8 w}9 c=b.1u();o(c===0){8 w}7.K=a;7.U=v.u([b.4[0]/c,b.4[1]/c,b.4[2]/c]);8 7}};14.u=l(a,b){9 L=25 14();8 L.1Z(a,b)};14.X=14.u(v.1j(3),v.i);14.Y=14.u(v.1j(3),v.j);14.Z=14.u(v.1j(3),v.k);l 11(){}11.23={24:l(a){8(7.1h(a.K)&&7.1m(a))},1q:l(){8 11.u(7.K,7.W)},2U:l(a){9 V=a.4||a;8 11.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.W)},1m:l(a){9 b;o(a.W){b=7.W.1C(a.W);8(F.13(b)<=17.16||F.13(F.1A-b)<=17.16)}1d o(a.U){8 7.W.2k(a.U)}8 w},2k:l(a){9 b=7.W.1C(a.W);8(F.13(F.1A/2-b)<=17.16)},1o:l(a){o(7.1v(a)||7.1h(a)){8 0}o(a.K){9 A=7.K.4,B=a.K.4,N=7.W.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;8 F.13((A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2])}},1h:l(a){o(a.W){8 w}o(a.U){8(7.1h(a.K)&&7.1h(a.K.2j(a.U)))}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=F.13(N[0]*(A[0]-P[0])+N[1]*(A[1]-P[1])+N[2]*(A[2]-(P[2]||0)));8(b<=17.16)}},1v:l(a){o(1g(a.U)==\'1f\'&&1g(a.W)==\'1f\'){8 w}8!7.1m(a)},1U:l(a){o(!7.1v(a)){8 w}o(a.U){9 A=a.K.4,D=a.U.4,P=7.K.4,N=7.W.4;9 b=(N[0]*(P[0]-A[0])+N[1]*(P[1]-A[1])+N[2]*(P[2]-A[2]))/(N[0]*D[0]+N[1]*D[1]+N[2]*D[2]);8 v.u([A[0]+D[0]*b,A[1]+D[1]*b,A[2]+D[2]*b])}1d o(a.W){9 c=7.W.2f(a.W).2q();9 N=7.W.4,A=7.K.4,O=a.W.4,B=a.K.4;9 d=S.1j(2,2),i=0;H(d.2y()){i++;d=S.u([[N[i%3],N[(i+1)%3]],[O[i%3],O[(i+1)%3]]])}9 e=d.2w().4;9 x=N[0]*A[0]+N[1]*A[1]+N[2]*A[2];9 y=O[0]*B[0]+O[1]*B[1]+O[2]*B[2];9 f=[e[0][0]*x+e[0][1]*y,e[1][0]*x+e[1][1]*y];9 g=[];2e(9 j=1;j<=3;j++){g.19((i==j)?0:f[(j+(5-i)%3)%3])}8 14.u(g,c)}},1r:l(a){9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=(A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2];8 v.u([P[0]+N[0]*b,P[1]+N[1]*b,(P[2]||0)+N[2]*b])},1V:l(t,a){9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,N=7.W.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 11.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*N[0]+R[0][1]*N[1]+R[0][2]*N[2],R[1][0]*N[0]+R[1][1]*N[1]+R[1][2]*N[2],R[2][0]*N[0]+R[2][1]*N[1]+R[2][2]*N[2]])},1t:l(a){o(a.W){9 A=7.K.4,N=7.W.4;9 b=A[0],18=A[1],1a=A[2],2M=N[0],2L=N[1],2Q=N[2];9 c=7.K.1t(a).4;9 d=b+2M,2p=18+2L,2m=1a+2Q;9 Q=a.1r([d,2p,2m]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2p)-c[1],Q[2]+(Q[2]-2m)-c[2]];8 11.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 11.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.W)}},1Z:l(a,b,c){a=v.u(a);a=a.1N();o(a===w){8 w}b=v.u(b);b=b.1N();o(b===w){8 w}o(1g(c)==\'1f\'){c=w}1d{c=v.u(c);c=c.1N();o(c===w){8 w}}9 d=a.4[0],18=a.4[1],1a=a.4[2];9 e=b.4[0],1W=b.4[1],1X=b.4[2];9 f,1i;o(c!==w){9 g=c.4[0],2l=c.4[1],2t=c.4[2];f=v.u([(1W-18)*(2t-1a)-(1X-1a)*(2l-18),(1X-1a)*(g-d)-(e-d)*(2t-1a),(e-d)*(2l-18)-(1W-18)*(g-d)]);1i=f.1u();o(1i===0){8 w}f=v.u([f.4[0]/1i,f.4[1]/1i,f.4[2]/1i])}1d{1i=F.1x(e*e+1W*1W+1X*1X);o(1i===0){8 w}f=v.u([b.4[0]/1i,b.4[1]/1i,b.4[2]/1i])}7.K=a;7.W=f;8 7}};11.u=l(a,b,c){9 P=25 11();8 P.1Z(a,b,c)};11.2I=11.u(v.1j(3),v.k);11.2H=11.u(v.1j(3),v.i);11.2G=11.u(v.1j(3),v.j);11.36=11.2I;11.35=11.2H;11.3j=11.2G;9 $V=v.u;9 $M=S.u;9 $L=14.u;9 $P=11.u;',62,206,'||||elements|||this|return|var||||||||||||function|||if||length||||create|Vector|null|||||||||Math|nj|while||do|anchor||||||||Matrix||direction||normal||||kj|Plane|ni|abs|Line|ki|precision|Sylvester|A2|push|A3|map|els|else||undefined|typeof|contains|mod|Zero|D3|D2|isParallelTo|kp|distanceFrom|cols|dup|pointClosestTo|np|reflectionIn|modulus|intersects|A1|sqrt|isSquare|X2|PI|X3|angleFrom|mod1|C2|mod2|sin|cos|break|C3|toRightTriangular|false|Y3|to3D|E2|E1|E3|Rotation|Y2|Y1|intersectionWith|rotate|v12|v13|rank|setVectors|nc|sum|multiply|prototype|eql|new|setElements|case|each|PA3|PA2|part|new_element|round|for|cross|product|AD2|isSameSizeAs|add|isPerpendicularTo|v22|AN3|inspect|AD3|AN2|toUnitVector|PsubQ3|PsubQ2|v23|dot|divisor|inverse|true|isSingular|determinant|max|canMultiplyFromLeft|subtract|rows|col|random|ZX|YZ|XY|Random|join|N2|N1|D1|slice|default|N3|dimensions|switch|liesIn|translate|snapTo|augment|Diagonal|trace|indexOf|diagonal|transpose|minor|row|isAntiparallelTo|ZY|YX|acos|RotationZ|RotationY|liesOn|RotationX|inv|rk|tr|det|toDiagonalMatrix|toUpperTriangular|version|XZ'.split('|'),0,{})) \ No newline at end of file diff --git a/docs/underscore-min.js b/docs/underscore-min.js new file mode 100644 index 0000000..459f691 --- /dev/null +++ b/docs/underscore-min.js @@ -0,0 +1,32 @@ +// Underscore.js 1.3.3 +// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. +// Underscore is freely distributable under the MIT license. +// Portions of Underscore are inspired or borrowed from Prototype, +// Oliver Steele's Functional, and John Resig's Micro-Templating. +// For all details and documentation: +// http://documentcloud.github.com/underscore +(function(){function r(a,c,d){if(a===c)return 0!==a||1/a==1/c;if(null==a||null==c)return a===c;a._chain&&(a=a._wrapped);c._chain&&(c=c._wrapped);if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return!1;switch(e){case "[object String]":return a==""+c;case "[object Number]":return a!=+a?c!=+c:0==a?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== +c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if("object"!=typeof a||"object"!=typeof c)return!1;for(var f=d.length;f--;)if(d[f]==a)return!0;d.push(a);var f=0,g=!0;if("[object Array]"==e){if(f=a.length,g=f==c.length)for(;f--&&(g=f in a==f in c&&r(a[f],c[f],d)););}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return!1;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&r(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,h)&&!f--)break; +g=!f}}d.pop();return g}var s=this,I=s._,o={},k=Array.prototype,p=Object.prototype,i=k.slice,J=k.unshift,l=p.toString,K=p.hasOwnProperty,y=k.forEach,z=k.map,A=k.reduce,B=k.reduceRight,C=k.filter,D=k.every,E=k.some,q=k.indexOf,F=k.lastIndexOf,p=Array.isArray,L=Object.keys,t=Function.prototype.bind,b=function(a){return new m(a)};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=b),exports._=b):s._=b;b.VERSION="1.3.3";var j=b.each=b.forEach=function(a, +c,d){if(a!=null)if(y&&a.forEach===y)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e2;a==null&&(a=[]);if(A&& +a.reduce===A){e&&(c=b.bind(c,e));return f?a.reduce(c,d):a.reduce(c)}j(a,function(a,b,i){if(f)d=c.call(e,d,a,b,i);else{d=a;f=true}});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(B&&a.reduceRight===B){e&&(c=b.bind(c,e));return f?a.reduceRight(c,d):a.reduceRight(c)}var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=function(a, +c,b){var e;G(a,function(a,g,h){if(c.call(b,a,g,h)){e=a;return true}});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(C&&a.filter===C)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(D&&a.every===D)return a.every(c,b);j(a,function(a,g,h){if(!(e=e&&c.call(b, +a,g,h)))return o});return!!e};var G=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(E&&a.some===E)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return o});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;if(q&&a.indexOf===q)return a.indexOf(c)!=-1;return b=G(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= +function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;bd?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]}; +j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,c,d){d||(d=b.identity);for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1),true);return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a= +i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e=0;d--)b=[a[d].apply(this,b)];return b[0]}};b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=L||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&& +c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.pick=function(a){var c={};j(b.flatten(i.call(arguments,1)),function(b){b in a&&(c[b]=a[b])});return c};b.defaults=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return r(a,b,[])};b.isEmpty= +function(a){if(a==null)return true;if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=p||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};b.isArguments=function(a){return l.call(a)=="[object Arguments]"};b.isArguments(arguments)||(b.isArguments=function(a){return!(!a||!b.has(a,"callee"))});b.isFunction=function(a){return l.call(a)=="[object Function]"}; +b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isFinite=function(a){return b.isNumber(a)&&isFinite(a)};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a, +b){return K.call(a,b)};b.noConflict=function(){s._=I;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.result=function(a,c){if(a==null)return null;var d=a[c];return b.isFunction(d)?d.call(a):d};b.mixin=function(a){j(b.functions(a),function(c){M(c,b[c]=a[c])})};var N=0;b.uniqueId= +function(a){var b=N++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var u=/.^/,n={"\\":"\\","'":"'",r:"\r",n:"\n",t:"\t",u2028:"\u2028",u2029:"\u2029"},v;for(v in n)n[n[v]]=v;var O=/\\|'|\r|\n|\t|\u2028|\u2029/g,P=/\\(\\|'|r|n|t|u2028|u2029)/g,w=function(a){return a.replace(P,function(a,b){return n[b]})};b.template=function(a,c,d){d=b.defaults(d||{},b.templateSettings);a="__p+='"+a.replace(O,function(a){return"\\"+n[a]}).replace(d.escape|| +u,function(a,b){return"'+\n_.escape("+w(b)+")+\n'"}).replace(d.interpolate||u,function(a,b){return"'+\n("+w(b)+")+\n'"}).replace(d.evaluate||u,function(a,b){return"';\n"+w(b)+"\n;__p+='"})+"';\n";d.variable||(a="with(obj||{}){\n"+a+"}\n");var a="var __p='';var print=function(){__p+=Array.prototype.join.call(arguments, '')};\n"+a+"return __p;\n",e=new Function(d.variable||"obj","_",a);if(c)return e(c,b);c=function(a){return e.call(this,a,b)};c.source="function("+(d.variable||"obj")+"){\n"+a+"}";return c}; +b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var x=function(a,c){return c?b(a).chain():a},M=function(a,c){m.prototype[a]=function(){var a=i.call(arguments);J.call(a,this._wrapped);return x(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return x(d, +this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return x(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); \ No newline at end of file diff --git a/index.html b/index.html index 403bc19..12afdf8 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,13 @@ - + + + + Scoi @@ -20,7 +23,8 @@ let vm; let test; let engine - let pixels + let pixels; + let Bezier; diff --git a/package.json b/package.json index bbd3e18..e8cb2dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scoi", - "version": "0.2.0", + "version": "0.2.3", "private": true, "author": "ahibis", "scripts": { @@ -21,6 +21,7 @@ "bootstrap": "^5.1.3", "chart.js": "^3.7.1", "roboto-fontface": "*", + "rxjs": "^7.5.5", "vue": "^3.2.25", "vue-chartjs": "^4.0.6", "vue-localstorage": "^0.6.2", diff --git a/public/jquery-3.6.0.min.js b/public/jquery-3.6.0.min.js new file mode 100644 index 0000000..c4c6022 --- /dev/null +++ b/public/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"
","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/public/spline-editor.js b/public/spline-editor.js new file mode 100644 index 0000000..ac84897 --- /dev/null +++ b/public/spline-editor.js @@ -0,0 +1,416 @@ +/* + jQuery widget for editing cubic splines that wrap around. + Useful especially for controlling looping animations. + + See example.html to learn how to use this. + + To understand this code, read these: + http://en.wikipedia.org/wiki/Spline_interpolation + http://docs.jquery.com/Plugins/Authoring + + Author: Bemmu Sepponen, me@bemmu.com + MIT license +*/ +(function ($) { + function computeFirstDerivativesAtKnotPoints(sortedByX) { + + // Width of matrix is how many knots there are (because each equation refers to current, prev and next knot) + // Height of matrix is how many knots there are, because there is one equation for each + + // To solve for the derivatives, it becomes that Ax = b situation where x is solved for. + var aElements = []; + var bElements = []; + + for (var i = 0; i < sortedByX.length; i++) { + + // Gather the variables needed to compose the system of linear equations + var currentKnotX = sortedByX[i].x; + var currentKnotY = sortedByX[i].y; + var isLastKnot = i == sortedByX.length-1; + var isFirstKnot = i == 0; + + // When referring to next and previous knots, assume they wrap around horizontally. + var rightBorder = this.settings.width; + var previousKnotX = isFirstKnot ? -(rightBorder - sortedByX[sortedByX.length-1].x) : sortedByX[i - 1].x; + var previousKnotY = isFirstKnot ? sortedByX[sortedByX.length-1].y : sortedByX[i - 1].y; + var nextKnotX = isLastKnot ? rightBorder + sortedByX[0].x : sortedByX[i + 1].x; + var nextKnotY = isLastKnot ? sortedByX[0].y : sortedByX[i + 1].y; + + var elementRow = []; + for (var j = 0; j < sortedByX.length; j++) { + if (j == i - 1 || (i == 0 && j == sortedByX.length-1)) { + elementRow.push(1/(currentKnotX - previousKnotX)); + } else if (j == i) { + elementRow.push(2 * ( 1/(currentKnotX - previousKnotX) + 1/(nextKnotX-currentKnotX) )); + } else if (j == i + 1 || (i == sortedByX.length-1 && j == 0)) { + elementRow.push(1/(nextKnotX - currentKnotX)); + } else { + elementRow.push(0); + } + } + aElements.push(elementRow); + + var denom1 = currentKnotX-previousKnotX; + var denom2 = nextKnotX-currentKnotX; + var bElement = 3*( (currentKnotY-previousKnotY)/(denom1*denom1) + (nextKnotY-currentKnotY)/(denom2*denom2) ); + bElements.push([bElement]); + } + + // Solve for first derivatives (K_i) + var A = $M(aElements); + var B = $M(bElements); + var solution = A.inverse().multiply(B); + + return solution; + } + + function drawKnot(knot) { + var context = this.context; + + switch (knot) { + case this.knotBeingDragged: + context.fillStyle = 'rgb(51,51,102)'; + context.strokeStyle = 'black'; + break; + case this.knotBeingHovered: + context.fillStyle = 'rgba(145,145,171,0.9)'; + context.strokeStyle = '#333'; + break; + default: + context.fillStyle = 'rgba(240,240,240,0.8)'; + context.strokeStyle = '#666'; + } + + context.beginPath(); + context.arc(knot.x, knot.y, this.knotRadius, 0, Math.PI*2, true); + context.closePath(); + context.stroke(); + context.fill(); + } + + function clearBackground() { + var context = this.context; + context.fillStyle = this.settings.backgroundColor; + context.fillRect(0, 0, this.settings.width, this.settings.height); + } + + function distance(x1, y1, x2, y2) { + return Math.sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1)); + } + + function knotsUnderPoint(x, y) { + var knotRadius = this.knotRadius; + return _.filter(this.knots, function (knot) { + var d = distance(knot.x, knot.y, x, y); + return d <= knotRadius; + }); + } + + function nearestKnotToPoint(knots, x, y) { + var sorted = _.sortBy(knots, function (knot) { + return distance(knot.x, knot.y, x, y); + }); + return sorted.length === 0 ? null : sorted[0]; + } + + function knotMouseEventRefersTo(evt) { + var x = evt.offsetX; + var y = evt.offsetY; + var under = this.knotsUnderPoint(x, y); + return nearestKnotToPoint(under, x, y); + } + + function renderThisLast(knot) { + this.knots = _.without(this.knots, knot); + this.knots.push(knot); + } + + function bindMouseEvents(canvas) { + var that = this; + canvas.bind('mouseup', function (evt) { + if (that.knotBeingDragged) { + if (!that.knotBeingDragged.wasMoved) { + // Clicked without moving means delete the knot + that.knots = _.without(that.knots, that.knotBeingDragged); + } else { + that.knotBeingHovered = that.knotMouseEventRefersTo(evt); + that.knotBeingDragged = null; + } + that.refresh(); + } + }); + canvas.bind('mousedown', function (evt) { + var knot = that.knotMouseEventRefersTo(evt); + if (knot) { + that.mouseXRelativeToKnotAtStartOfDrag = evt.offsetX - knot.x; + that.mouseYRelativeToKnotAtStartOfDrag = evt.offsetY - knot.y; + that.knotBeingHovered = null; + that.knotBeingDragged = knot; + that.knotBeingDragged.wasMoved = false; + that.renderThisLast(that.knotBeingDragged); + that.refresh(); + } else { + that.addKnot([evt.offsetX, evt.offsetY]); + } + }); + canvas.bind('mousemove', function (evt) { + if (that.knotBeingDragged) { + that.knotBeingDragged.x = evt.offsetX - that.mouseXRelativeToKnotAtStartOfDrag; + that.knotBeingDragged.y = evt.offsetY - that.mouseYRelativeToKnotAtStartOfDrag; + that.knotBeingDragged.wasMoved = true; + that.refresh(); + } else { + var prev = that.knotBeingHovered; + that.knotBeingHovered = that.knotMouseEventRefersTo(evt); + canvas.css('cursor', that.knotBeingHovered ? 'pointer' : ''); + var hoveredKnotChanged = prev !== that.knotBeingHovered; + if (hoveredKnotChanged) { + that.refresh(); + } + } + }); + } + + function createRandomKnotsInsideArea() { + for (var i = 0; i < 8; i++) { + this.addKnot([ + this.settings.width * i/8, + this.settings.height * (0.4 + Math.random() * 0.2) + ]); +/* this.knots.push({ + x : this.settings.width * i/8, + y : this.settings.height * (0.4 + Math.random() * 0.2) + });*/ + } + } + + function findInterval(x, sortedByX) { + for (var i = sortedByX.length - 1; i >= 0; i--) { + if (x >= sortedByX[i].x) { + return i; + } + } + return sortedByX.length - 1; + } + + function cubicSplineAtX(x, sortedByX, firstDerivativeMatrix) { + + // First find which interval this is in to choose the correct + // x1, x2, y1, y2, k1, k2 for the interval function q. + var i = findInterval(x, sortedByX); + var iNext = i == sortedByX.length-1 ? 0 : i + 1; + + var x1 = sortedByX[i].x; + var x2 = sortedByX[iNext].x; + var y1 = sortedByX[i].y; + var y2 = sortedByX[iNext].y; + var k1 = firstDerivativeMatrix.elements[i][0]; + var k2 = firstDerivativeMatrix.elements[iNext][0]; + + var a = k1*(x2-x1)-(y2-y1); + var b = -k2*(x2-x1)+(y2-y1); + var t = (x-x1)/(x2-x1); + return (1-t)*y1+t*y2+t*(1-t)* (a*(1-t)+b*t) ; + } + + function initCanvas() { + this.canvas.width = this.settings.width; // buffer size + this.canvas.height = this.settings.height; + $('canvas').css({ // displayed size, stretched if not same + width: this.settings.width, + height: this.settings.height + }); + this.context = this.canvas.getContext('2d'); + } + + // Bottleneck. If this script seems too slow for your + // purposes, look into storing sortedByX and firstDerivativeMatrix + // and only recomputing them when needed. + + function getY(x) { + var sortedByX = _.sortBy(this.knots, 'x'); + + // If several knots have same X, ignore all but one + sortedByX = _.uniq(sortedByX, true, function (knot) { + return knot.x; + }); + + // Pretend like there are extra mirrored knots in the beginning and end + // to get continuity. Actually, I thought this wouldn't be necessary since + // already accounting for that when making the matrices, but experimentally + // the extra knots turned out to be necessary ( == magic). + var firstMirroredKnot = { + x: -(this.settings.width - sortedByX[sortedByX.length-1].x), + y: sortedByX[sortedByX.length-1].y + } + var lastMirroredKnot = { + x: this.settings.width + sortedByX[0].x, + y: sortedByX[0].y + } + var sortedByX = _.union([firstMirroredKnot], sortedByX, [lastMirroredKnot]); + var firstDerivativeMatrix = this.computeFirstDerivativesAtKnotPoints(sortedByX); + var y = cubicSplineAtX(x, sortedByX, firstDerivativeMatrix); + return y; + } + + function drawPlayhead() { + this.context.strokeStyle = "black"; + this.context.lineWidth = 2; + this.context.beginPath(); + this.context.moveTo(this.playheadX, 0); + this.context.lineTo(this.playheadX, this.settings.height); + this.context.stroke(); + this.context.closePath(); + } + + function refresh() { + if (!this.context) { + return; + } + + this.clearBackground(); + for (var i = 0; i < this.knots.length; i++) { + this.drawKnot(this.knots[i]); + } + + this.context.strokeStyle = "rgb(30,30,128)"; + this.context.lineWidth = 3; + this.context.beginPath(); + for (var x = 0; x < this.settings.width; x++) { + var y = this.getY(x); + if (x == 0) { + this.context.moveTo(x, y); + } else { + this.context.lineTo(x, y); + } + } + this.context.stroke(); + this.context.closePath(); + + if (this.playheadVisible) { + this.drawPlayhead(); + } + } + + function addKnot(pos) { + this.knots.push({ + x: pos[0], + y: pos[1] + }); + this.refresh(); + } + + function showPlayhead() { + this.playheadVisible = true; + this.refresh(); + } + + function hidePlayhead() { + this.playheadVisible = false; + this.refresh(); + } + + function setPlayheadX(x) { + this.playheadX = x; + this.refresh(); + } + + function createEditor(canvas, settings) { + var editor = { + knotRadius: 10, + knots: [], + knotBeingDragged: null, + knotBeingHovered: null, + mouseXRelativeToKnotAtStartOfDrag: null, + mouseYRelativeToKnotAtStartOfDrag: null, + playheadVisible: false, + playheadX: 20, // to be reasonably sure it's initially visible + canvas: canvas, + context: null, + refresh: refresh, + initCanvas: initCanvas, + settings: settings, + drawKnot: drawKnot, + knotsUnderPoint: knotsUnderPoint, + renderThisLast: renderThisLast, + computeFirstDerivativesAtKnotPoints: computeFirstDerivativesAtKnotPoints, + clearBackground: clearBackground, + knotMouseEventRefersTo: knotMouseEventRefersTo, + bindMouseEvents: bindMouseEvents, + createRandomKnotsInsideArea: createRandomKnotsInsideArea, + addKnot: addKnot, + getY: getY, + showPlayhead: showPlayhead, + hidePlayhead: hidePlayhead, + setPlayheadX: setPlayheadX, + drawPlayhead: drawPlayhead + }; + return editor; + } + + var methods = { + init: function(options) { + var settings = $.extend({ + width: $(this).width(), + height: $(this).height(), + backgroundColor: 'white' + }, options); + + return this.each(function () { + var canvas = $('').css({ + width : settings.width, + height : settings.height + }).get(0); + $(this).append(canvas); + + var editor = createEditor(canvas, settings); + + if (options && options.initialKnots) { + for (var i = 0; i < options.initialKnots.length; i++) { + editor.addKnot(options.initialKnots[i]); + } + } else { + editor.createRandomKnotsInsideArea(); + } + + editor.initCanvas(); + editor.bindMouseEvents($(canvas)); + editor.refresh(); + $(this).data('editor', editor); + }); + }, + getY: function (x) { + if (this.length === 1) { + return $(this[0]).data('editor').getY(x); + } else { + console.log('Spline editor error: Asked Y from ' + this.length + ' widgets.'); + } + }, + showPlayhead: function () { + return this.each(function () { + $(this).data('editor').showPlayhead(); + }); + }, + setPlayheadX: function (x) { + return this.each(function () { + $(this).data('editor').setPlayheadX(x); + }); + }, + hidePlayhead: function () { + return this.each(function () { + $(this).data('editor').hidePlayhead(); + }); + } + } + + $.fn.splineEditor = function( method ) { + if (methods[method]) { + return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); + } else if (typeof method === 'object' || !method) { + return methods.init.apply(this, arguments); + } else { + $.error('Spline editor does not support method ' + method); + } + }; +})(jQuery); + diff --git a/public/sylvester.js b/public/sylvester.js new file mode 100644 index 0000000..3e83bee --- /dev/null +++ b/public/sylvester.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 17={3i:\'0.1.3\',16:1e-6};l v(){}v.23={e:l(i){8(i<1||i>7.4.q)?w:7.4[i-1]},2R:l(){8 7.4.q},1u:l(){8 F.1x(7.2u(7))},24:l(a){9 n=7.4.q;9 V=a.4||a;o(n!=V.q){8 1L}J{o(F.13(7.4[n-1]-V[n-1])>17.16){8 1L}}H(--n);8 2x},1q:l(){8 v.u(7.4)},1b:l(a){9 b=[];7.28(l(x,i){b.19(a(x,i))});8 v.u(b)},28:l(a){9 n=7.4.q,k=n,i;J{i=k-n;a(7.4[i],i+1)}H(--n)},2q:l(){9 r=7.1u();o(r===0){8 7.1q()}8 7.1b(l(x){8 x/r})},1C:l(a){9 V=a.4||a;9 n=7.4.q,k=n,i;o(n!=V.q){8 w}9 b=0,1D=0,1F=0;7.28(l(x,i){b+=x*V[i-1];1D+=x*x;1F+=V[i-1]*V[i-1]});1D=F.1x(1D);1F=F.1x(1F);o(1D*1F===0){8 w}9 c=b/(1D*1F);o(c<-1){c=-1}o(c>1){c=1}8 F.37(c)},1m:l(a){9 b=7.1C(a);8(b===w)?w:(b<=17.16)},34:l(a){9 b=7.1C(a);8(b===w)?w:(F.13(b-F.1A)<=17.16)},2k:l(a){9 b=7.2u(a);8(b===w)?w:(F.13(b)<=17.16)},2j:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x+V[i-1]})},2C:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x-V[i-1]})},22:l(k){8 7.1b(l(x){8 x*k})},x:l(k){8 7.22(k)},2u:l(a){9 V=a.4||a;9 i,2g=0,n=7.4.q;o(n!=V.q){8 w}J{2g+=7.4[n-1]*V[n-1]}H(--n);8 2g},2f:l(a){9 B=a.4||a;o(7.4.q!=3||B.q!=3){8 w}9 A=7.4;8 v.u([(A[1]*B[2])-(A[2]*B[1]),(A[2]*B[0])-(A[0]*B[2]),(A[0]*B[1])-(A[1]*B[0])])},2A:l(){9 m=0,n=7.4.q,k=n,i;J{i=k-n;o(F.13(7.4[i])>F.13(m)){m=7.4[i]}}H(--n);8 m},2Z:l(x){9 a=w,n=7.4.q,k=n,i;J{i=k-n;o(a===w&&7.4[i]==x){a=i+1}}H(--n);8 a},3g:l(){8 S.2X(7.4)},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(y){8(F.13(y-x)<=17.16)?x:y})},1o:l(a){o(a.K){8 a.1o(7)}9 V=a.4||a;o(V.q!=7.4.q){8 w}9 b=0,2b;7.28(l(x,i){2b=x-V[i-1];b+=2b*2b});8 F.1x(b)},3a:l(a){8 a.1h(7)},2T:l(a){8 a.1h(7)},1V:l(t,a){9 V,R,x,y,z;2S(7.4.q){27 2:V=a.4||a;o(V.q!=2){8 w}R=S.1R(t).4;x=7.4[0]-V[0];y=7.4[1]-V[1];8 v.u([V[0]+R[0][0]*x+R[0][1]*y,V[1]+R[1][0]*x+R[1][1]*y]);1I;27 3:o(!a.U){8 w}9 C=a.1r(7).4;R=S.1R(t,a.U).4;x=7.4[0]-C[0];y=7.4[1]-C[1];z=7.4[2]-C[2];8 v.u([C[0]+R[0][0]*x+R[0][1]*y+R[0][2]*z,C[1]+R[1][0]*x+R[1][1]*y+R[1][2]*z,C[2]+R[2][0]*x+R[2][1]*y+R[2][2]*z]);1I;2P:8 w}},1t:l(a){o(a.K){9 P=7.4.2O();9 C=a.1r(P).4;8 v.u([C[0]+(C[0]-P[0]),C[1]+(C[1]-P[1]),C[2]+(C[2]-(P[2]||0))])}1d{9 Q=a.4||a;o(7.4.q!=Q.q){8 w}8 7.1b(l(x,i){8 Q[i-1]+(Q[i-1]-x)})}},1N:l(){9 V=7.1q();2S(V.4.q){27 3:1I;27 2:V.4.19(0);1I;2P:8 w}8 V},2n:l(){8\'[\'+7.4.2K(\', \')+\']\'},26:l(a){7.4=(a.4||a).2O();8 7}};v.u=l(a){9 V=25 v();8 V.26(a)};v.i=v.u([1,0,0]);v.j=v.u([0,1,0]);v.k=v.u([0,0,1]);v.2J=l(n){9 a=[];J{a.19(F.2F())}H(--n);8 v.u(a)};v.1j=l(n){9 a=[];J{a.19(0)}H(--n);8 v.u(a)};l S(){}S.23={e:l(i,j){o(i<1||i>7.4.q||j<1||j>7.4[0].q){8 w}8 7.4[i-1][j-1]},33:l(i){o(i>7.4.q){8 w}8 v.u(7.4[i-1])},2E:l(j){o(j>7.4[0].q){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][j-1])}H(--n);8 v.u(a)},2R:l(){8{2D:7.4.q,1p:7.4[0].q}},2D:l(){8 7.4.q},1p:l(){8 7.4[0].q},24:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(7.4.q!=M.q||7.4[0].q!=M[0].q){8 1L}9 b=7.4.q,15=b,i,G,10=7.4[0].q,j;J{i=15-b;G=10;J{j=10-G;o(F.13(7.4[i][j]-M[i][j])>17.16){8 1L}}H(--G)}H(--b);8 2x},1q:l(){8 S.u(7.4)},1b:l(a){9 b=[],12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;b[i]=[];J{j=10-G;b[i][j]=a(7.4[i][j],i+1,j+1)}H(--G)}H(--12);8 S.u(b)},2i:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}8(7.4.q==M.q&&7.4[0].q==M[0].q)},2j:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x+M[i-1][j-1]})},2C:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x-M[i-1][j-1]})},2B:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}8(7.4[0].q==M.q)},22:l(a){o(!a.4){8 7.1b(l(x){8 x*a})}9 b=a.1u?2x:1L;9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}o(!7.2B(M)){8 w}9 d=7.4.q,15=d,i,G,10=M[0].q,j;9 e=7.4[0].q,4=[],21,20,c;J{i=15-d;4[i]=[];G=10;J{j=10-G;21=0;20=e;J{c=e-20;21+=7.4[i][c]*M[c][j]}H(--20);4[i][j]=21}H(--G)}H(--d);9 M=S.u(4);8 b?M.2E(1):M},x:l(a){8 7.22(a)},32:l(a,b,c,d){9 e=[],12=c,i,G,j;9 f=7.4.q,1p=7.4[0].q;J{i=c-12;e[i]=[];G=d;J{j=d-G;e[i][j]=7.4[(a+i-1)%f][(b+j-1)%1p]}H(--G)}H(--12);8 S.u(e)},31:l(){9 a=7.4.q,1p=7.4[0].q;9 b=[],12=1p,i,G,j;J{i=1p-12;b[i]=[];G=a;J{j=a-G;b[i][j]=7.4[j][i]}H(--G)}H(--12);8 S.u(b)},1y:l(){8(7.4.q==7.4[0].q)},2A:l(){9 m=0,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(F.13(7.4[i][j])>F.13(m)){m=7.4[i][j]}}H(--G)}H(--12);8 m},2Z:l(x){9 a=w,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(7.4[i][j]==x){8{i:i+1,j:j+1}}}H(--G)}H(--12);8 w},30:l(){o(!7.1y){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][i])}H(--n);8 v.u(a)},1K:l(){9 M=7.1q(),1c;9 n=7.4.q,k=n,i,1s,1n=7.4[0].q,p;J{i=k-n;o(M.4[i][i]==0){2e(j=i+1;j17.16){1Y++;1I}}H(--G)}H(--a);8 1Y},3d:l(){8 7.1Y()},2W:l(a){9 M=a.4||a;o(1g(M[0][0])==\'1f\'){M=S.u(M).4}9 T=7.1q(),1p=T.4[0].q;9 b=T.4.q,15=b,i,G,10=M[0].q,j;o(b!=M.q){8 w}J{i=15-b;G=10;J{j=10-G;T.4[i][1p+j]=M[i][j]}H(--G)}H(--b);8 T},2w:l(){o(!7.1y()||7.2y()){8 w}9 a=7.4.q,15=a,i,j;9 M=7.2W(S.I(a)).1K();9 b,1n=M.4[0].q,p,1c,2v;9 c=[],2c;J{i=a-1;1c=[];b=1n;c[i]=[];2v=M.4[i][i];J{p=1n-b;2c=M.4[i][p]/2v;1c.19(2c);o(p>=15){c[i].19(2c)}}H(--b);M.4[i]=1c;2e(j=0;j3||b.4.q>3){8 w}9 c=b.1u();o(c===0){8 w}7.K=a;7.U=v.u([b.4[0]/c,b.4[1]/c,b.4[2]/c]);8 7}};14.u=l(a,b){9 L=25 14();8 L.1Z(a,b)};14.X=14.u(v.1j(3),v.i);14.Y=14.u(v.1j(3),v.j);14.Z=14.u(v.1j(3),v.k);l 11(){}11.23={24:l(a){8(7.1h(a.K)&&7.1m(a))},1q:l(){8 11.u(7.K,7.W)},2U:l(a){9 V=a.4||a;8 11.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.W)},1m:l(a){9 b;o(a.W){b=7.W.1C(a.W);8(F.13(b)<=17.16||F.13(F.1A-b)<=17.16)}1d o(a.U){8 7.W.2k(a.U)}8 w},2k:l(a){9 b=7.W.1C(a.W);8(F.13(F.1A/2-b)<=17.16)},1o:l(a){o(7.1v(a)||7.1h(a)){8 0}o(a.K){9 A=7.K.4,B=a.K.4,N=7.W.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;8 F.13((A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2])}},1h:l(a){o(a.W){8 w}o(a.U){8(7.1h(a.K)&&7.1h(a.K.2j(a.U)))}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=F.13(N[0]*(A[0]-P[0])+N[1]*(A[1]-P[1])+N[2]*(A[2]-(P[2]||0)));8(b<=17.16)}},1v:l(a){o(1g(a.U)==\'1f\'&&1g(a.W)==\'1f\'){8 w}8!7.1m(a)},1U:l(a){o(!7.1v(a)){8 w}o(a.U){9 A=a.K.4,D=a.U.4,P=7.K.4,N=7.W.4;9 b=(N[0]*(P[0]-A[0])+N[1]*(P[1]-A[1])+N[2]*(P[2]-A[2]))/(N[0]*D[0]+N[1]*D[1]+N[2]*D[2]);8 v.u([A[0]+D[0]*b,A[1]+D[1]*b,A[2]+D[2]*b])}1d o(a.W){9 c=7.W.2f(a.W).2q();9 N=7.W.4,A=7.K.4,O=a.W.4,B=a.K.4;9 d=S.1j(2,2),i=0;H(d.2y()){i++;d=S.u([[N[i%3],N[(i+1)%3]],[O[i%3],O[(i+1)%3]]])}9 e=d.2w().4;9 x=N[0]*A[0]+N[1]*A[1]+N[2]*A[2];9 y=O[0]*B[0]+O[1]*B[1]+O[2]*B[2];9 f=[e[0][0]*x+e[0][1]*y,e[1][0]*x+e[1][1]*y];9 g=[];2e(9 j=1;j<=3;j++){g.19((i==j)?0:f[(j+(5-i)%3)%3])}8 14.u(g,c)}},1r:l(a){9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=(A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2];8 v.u([P[0]+N[0]*b,P[1]+N[1]*b,(P[2]||0)+N[2]*b])},1V:l(t,a){9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,N=7.W.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 11.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*N[0]+R[0][1]*N[1]+R[0][2]*N[2],R[1][0]*N[0]+R[1][1]*N[1]+R[1][2]*N[2],R[2][0]*N[0]+R[2][1]*N[1]+R[2][2]*N[2]])},1t:l(a){o(a.W){9 A=7.K.4,N=7.W.4;9 b=A[0],18=A[1],1a=A[2],2M=N[0],2L=N[1],2Q=N[2];9 c=7.K.1t(a).4;9 d=b+2M,2p=18+2L,2m=1a+2Q;9 Q=a.1r([d,2p,2m]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2p)-c[1],Q[2]+(Q[2]-2m)-c[2]];8 11.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 11.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.W)}},1Z:l(a,b,c){a=v.u(a);a=a.1N();o(a===w){8 w}b=v.u(b);b=b.1N();o(b===w){8 w}o(1g(c)==\'1f\'){c=w}1d{c=v.u(c);c=c.1N();o(c===w){8 w}}9 d=a.4[0],18=a.4[1],1a=a.4[2];9 e=b.4[0],1W=b.4[1],1X=b.4[2];9 f,1i;o(c!==w){9 g=c.4[0],2l=c.4[1],2t=c.4[2];f=v.u([(1W-18)*(2t-1a)-(1X-1a)*(2l-18),(1X-1a)*(g-d)-(e-d)*(2t-1a),(e-d)*(2l-18)-(1W-18)*(g-d)]);1i=f.1u();o(1i===0){8 w}f=v.u([f.4[0]/1i,f.4[1]/1i,f.4[2]/1i])}1d{1i=F.1x(e*e+1W*1W+1X*1X);o(1i===0){8 w}f=v.u([b.4[0]/1i,b.4[1]/1i,b.4[2]/1i])}7.K=a;7.W=f;8 7}};11.u=l(a,b,c){9 P=25 11();8 P.1Z(a,b,c)};11.2I=11.u(v.1j(3),v.k);11.2H=11.u(v.1j(3),v.i);11.2G=11.u(v.1j(3),v.j);11.36=11.2I;11.35=11.2H;11.3j=11.2G;9 $V=v.u;9 $M=S.u;9 $L=14.u;9 $P=11.u;',62,206,'||||elements|||this|return|var||||||||||||function|||if||length||||create|Vector|null|||||||||Math|nj|while||do|anchor||||||||Matrix||direction||normal||||kj|Plane|ni|abs|Line|ki|precision|Sylvester|A2|push|A3|map|els|else||undefined|typeof|contains|mod|Zero|D3|D2|isParallelTo|kp|distanceFrom|cols|dup|pointClosestTo|np|reflectionIn|modulus|intersects|A1|sqrt|isSquare|X2|PI|X3|angleFrom|mod1|C2|mod2|sin|cos|break|C3|toRightTriangular|false|Y3|to3D|E2|E1|E3|Rotation|Y2|Y1|intersectionWith|rotate|v12|v13|rank|setVectors|nc|sum|multiply|prototype|eql|new|setElements|case|each|PA3|PA2|part|new_element|round|for|cross|product|AD2|isSameSizeAs|add|isPerpendicularTo|v22|AN3|inspect|AD3|AN2|toUnitVector|PsubQ3|PsubQ2|v23|dot|divisor|inverse|true|isSingular|determinant|max|canMultiplyFromLeft|subtract|rows|col|random|ZX|YZ|XY|Random|join|N2|N1|D1|slice|default|N3|dimensions|switch|liesIn|translate|snapTo|augment|Diagonal|trace|indexOf|diagonal|transpose|minor|row|isAntiparallelTo|ZY|YX|acos|RotationZ|RotationY|liesOn|RotationX|inv|rk|tr|det|toDiagonalMatrix|toUpperTriangular|version|XZ'.split('|'),0,{})) \ No newline at end of file diff --git a/public/underscore-min.js b/public/underscore-min.js new file mode 100644 index 0000000..459f691 --- /dev/null +++ b/public/underscore-min.js @@ -0,0 +1,32 @@ +// Underscore.js 1.3.3 +// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. +// Underscore is freely distributable under the MIT license. +// Portions of Underscore are inspired or borrowed from Prototype, +// Oliver Steele's Functional, and John Resig's Micro-Templating. +// For all details and documentation: +// http://documentcloud.github.com/underscore +(function(){function r(a,c,d){if(a===c)return 0!==a||1/a==1/c;if(null==a||null==c)return a===c;a._chain&&(a=a._wrapped);c._chain&&(c=c._wrapped);if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return!1;switch(e){case "[object String]":return a==""+c;case "[object Number]":return a!=+a?c!=+c:0==a?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== +c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if("object"!=typeof a||"object"!=typeof c)return!1;for(var f=d.length;f--;)if(d[f]==a)return!0;d.push(a);var f=0,g=!0;if("[object Array]"==e){if(f=a.length,g=f==c.length)for(;f--&&(g=f in a==f in c&&r(a[f],c[f],d)););}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return!1;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&r(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,h)&&!f--)break; +g=!f}}d.pop();return g}var s=this,I=s._,o={},k=Array.prototype,p=Object.prototype,i=k.slice,J=k.unshift,l=p.toString,K=p.hasOwnProperty,y=k.forEach,z=k.map,A=k.reduce,B=k.reduceRight,C=k.filter,D=k.every,E=k.some,q=k.indexOf,F=k.lastIndexOf,p=Array.isArray,L=Object.keys,t=Function.prototype.bind,b=function(a){return new m(a)};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=b),exports._=b):s._=b;b.VERSION="1.3.3";var j=b.each=b.forEach=function(a, +c,d){if(a!=null)if(y&&a.forEach===y)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e2;a==null&&(a=[]);if(A&& +a.reduce===A){e&&(c=b.bind(c,e));return f?a.reduce(c,d):a.reduce(c)}j(a,function(a,b,i){if(f)d=c.call(e,d,a,b,i);else{d=a;f=true}});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(B&&a.reduceRight===B){e&&(c=b.bind(c,e));return f?a.reduceRight(c,d):a.reduceRight(c)}var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=function(a, +c,b){var e;G(a,function(a,g,h){if(c.call(b,a,g,h)){e=a;return true}});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(C&&a.filter===C)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(D&&a.every===D)return a.every(c,b);j(a,function(a,g,h){if(!(e=e&&c.call(b, +a,g,h)))return o});return!!e};var G=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(E&&a.some===E)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return o});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;if(q&&a.indexOf===q)return a.indexOf(c)!=-1;return b=G(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= +function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;bd?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]}; +j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,c,d){d||(d=b.identity);for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1),true);return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a= +i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e=0;d--)b=[a[d].apply(this,b)];return b[0]}};b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=L||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&& +c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.pick=function(a){var c={};j(b.flatten(i.call(arguments,1)),function(b){b in a&&(c[b]=a[b])});return c};b.defaults=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return r(a,b,[])};b.isEmpty= +function(a){if(a==null)return true;if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=p||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};b.isArguments=function(a){return l.call(a)=="[object Arguments]"};b.isArguments(arguments)||(b.isArguments=function(a){return!(!a||!b.has(a,"callee"))});b.isFunction=function(a){return l.call(a)=="[object Function]"}; +b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isFinite=function(a){return b.isNumber(a)&&isFinite(a)};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a, +b){return K.call(a,b)};b.noConflict=function(){s._=I;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.result=function(a,c){if(a==null)return null;var d=a[c];return b.isFunction(d)?d.call(a):d};b.mixin=function(a){j(b.functions(a),function(c){M(c,b[c]=a[c])})};var N=0;b.uniqueId= +function(a){var b=N++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var u=/.^/,n={"\\":"\\","'":"'",r:"\r",n:"\n",t:"\t",u2028:"\u2028",u2029:"\u2029"},v;for(v in n)n[n[v]]=v;var O=/\\|'|\r|\n|\t|\u2028|\u2029/g,P=/\\(\\|'|r|n|t|u2028|u2029)/g,w=function(a){return a.replace(P,function(a,b){return n[b]})};b.template=function(a,c,d){d=b.defaults(d||{},b.templateSettings);a="__p+='"+a.replace(O,function(a){return"\\"+n[a]}).replace(d.escape|| +u,function(a,b){return"'+\n_.escape("+w(b)+")+\n'"}).replace(d.interpolate||u,function(a,b){return"'+\n("+w(b)+")+\n'"}).replace(d.evaluate||u,function(a,b){return"';\n"+w(b)+"\n;__p+='"})+"';\n";d.variable||(a="with(obj||{}){\n"+a+"}\n");var a="var __p='';var print=function(){__p+=Array.prototype.join.call(arguments, '')};\n"+a+"return __p;\n",e=new Function(d.variable||"obj","_",a);if(c)return e(c,b);c=function(a){return e.call(this,a,b)};c.source="function("+(d.variable||"obj")+"){\n"+a+"}";return c}; +b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var x=function(a,c){return c?b(a).chain():a},M=function(a,c){m.prototype[a]=function(){var a=i.call(arguments);J.call(a,this._wrapped);return x(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return x(d, +this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return x(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index e434a37..f2bd5d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,23 +6,24 @@ import spriteEdit from "@/components/spriteEdit.vue"; import spriteList from "@/components/spriteList.vue"; import LayerEdit from "@/components/layerEdit.vue"; import bar from "@/components/bar.vue"; -import Histogram from "./components/histogram.vue"; -const zeroes = _.map(_.range(256), (e) => 0); +import Histogram from "./components/gui/histogram.vue"; + export default { components: { spriteList, spriteEdit, LayerEdit, bar, Histogram }, data() { return { imgs: [], selectedSprite: undefined, - histogramData: [zeroes, zeroes, zeroes, zeroes], + drawer: false, }; }, methods: { selectSprite(sprite) { this.selectedSprite = sprite; + this.drawer = false; }, - drawHistogram() { - this.histogramData = engine.histogram(); + switchDrawer() { + this.drawer = !!(1 - this.drawer); }, }, mounted() { @@ -35,15 +36,18 @@ export default {