u)&&(P=S,u=S.lng),(p===!1||S.lng=0;u--)h=s[u].getLatLng(),r.push(h);return L.QuickHull.getConvexHull(r)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var s=this.getAllChildMarkers(null,!0),r=this._group,h=r._map,u=h.latLngToLayerPoint(this._latlng),p;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?p=this._group.options.spiderfyShapePositions(s.length,u):s.length>=this._circleSpiralSwitchover?p=this._generatePointsSpiral(s.length,u):(u.y+=10,p=this._generatePointsCircle(s.length,u)),this._animationSpiderfy(s,p)}},unspiderfy:function(s){this._group._inZoomAnimation||(this._animationUnspiderfy(s),this._group._spiderfied=null)},_generatePointsCircle:function(s,r){var h=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+s),u=h/this._2PI,p=this._2PI/s,g=[],_,P;for(u=Math.max(u,35),g.length=s,_=0;_=0;y--)y=0;g--)p=u[g],h.removeLayer(p),p._preSpiderfyLatlng&&(p.setLatLng(p._preSpiderfyLatlng),delete p._preSpiderfyLatlng),p.setZIndexOffset&&p.setZIndexOffset(0),p._spiderLeg&&(r.removeLayer(p._spiderLeg),delete p._spiderLeg);s.fire("unspiderfied",{cluster:this,markers:u}),s._ignoreMove=!1,s._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(s,r){var h=this._group,u=h._map,p=h._featureGroup,g=this._group.options.spiderLegPolylineOptions,_,P,y,T;for(h._ignoreMove=!0,_=0;_=0;N--)V=p.layerPointToLatLng(r[N]),S=s[N],S._preSpiderfyLatlng=S._latlng,S.setLatLng(V),S.clusterShow&&S.clusterShow(),y&&(A=S._spiderLeg,R=A._path,R.style.strokeDashoffset=0,A.setStyle({opacity:C}));this.setOpacity(.3),u._ignoreMove=!1,setTimeout(function(){u._animationEnd(),u.fire("spiderfied",{cluster:h,markers:s})},200)},_animationUnspiderfy:function(s){var r=this,h=this._group,u=h._map,p=h._featureGroup,g=s?u._latLngToNewLayerPoint(this._latlng,s.zoom,s.center):u.latLngToLayerPoint(this._latlng),_=this.getAllChildMarkers(null,!0),P=L.Path.SVG,y,T,C,N,S,A;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),T=_.length-1;T>=0;T--)y=_[T],y._preSpiderfyLatlng&&(y.closePopup(),y.setLatLng(y._preSpiderfyLatlng),delete y._preSpiderfyLatlng,A=!0,y._setPos&&(y._setPos(g),A=!1),y.clusterHide&&(y.clusterHide(),A=!1),A&&p.removeLayer(y),P&&(C=y._spiderLeg,N=C._path,S=N.getTotalLength()+.1,N.style.strokeDashoffset=S,C.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var R=0;for(T=_.length-1;T>=0;T--)y=_[T],y._spiderLeg&&R++;for(T=_.length-1;T>=0;T--)y=_[T],y._spiderLeg&&(y.clusterShow&&y.clusterShow(),y.setZIndexOffset&&y.setZIndexOffset(0),R>1&&p.removeLayer(y),u.removeLayer(y._spiderLeg),delete y._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:r,markers:_})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(s){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(s))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(s){this._spiderfied&&this._spiderfied.unspiderfy(s)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(s){s._spiderLeg&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow(),s.setZIndexOffset&&s.setZIndexOffset(0),this._map.removeLayer(s._spiderLeg),delete s._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(s){return s?s instanceof L.MarkerClusterGroup?s=s._topClusterLevel.getAllChildMarkers():s instanceof L.LayerGroup?s=s._layers:s instanceof L.MarkerCluster?s=s.getAllChildMarkers():s instanceof L.Marker&&(s=[s]):s=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(s),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(s),this},_flagParentsIconsNeedUpdate:function(s){var r,h;for(r in s)for(h=s[r].__parent;h;)h._iconNeedsUpdate=!0,h=h.__parent},_refreshSingleMarkerModeMarkers:function(s){var r,h;for(r in s)h=s[r],this.hasLayer(h)&&h.setIcon(this._overrideMarkerIcon(h))}}),L.Marker.include({refreshIconOptions:function(s,r){var h=this.options.icon;return L.setOptions(h,s),this.setIcon(h),r&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),l.MarkerClusterGroup=m,l.MarkerCluster=x,Object.defineProperty(l,"__esModule",{value:!0})})})(Lo,Lo.exports);const wa={__name:"map",props:{routeId:String,gpxPath:String},emits:["ready"],setup(d,{emit:f}){const l=d,m=f,x=q(null),s=q([0,0]),r=q(null),h=q(!1),u=q(null);q(null);const p=q(0),g=q(null),_=q(null);q(null);const P=hr();ur(P.entities);const y=q(null);q(null),At(async()=>{(async()=>{const F=await Br("routes",l.gpxPath);u.value=va(new DOMParser().parseFromString(F,"text/xml")),h.value=!0})()});const T={};async function C(){const V=fr(),{data:F,error:Ht}=await V.from("overlays").select("*").eq("route_id",l.routeId),rt={},Z={};F.forEach($=>{rt[$.type]||(rt[$.type]={}),rt[$.name]=JSON.parse($.data),Z[$.name]=!1});var U=new window.L.markerClusterGroup(T);Object.entries(rt).forEach(([$,at])=>{at.features&&at.features.forEach(ve=>{const _t=new L.Marker([ve.geometry.coordinates[1],ve.geometry.coordinates[0]],{icon:it($)});_t.bindPopup(`
+
+ ${Object.entries(ve.properties.tags).map(([si,ht])=>`
+
+ ${si}: |
+ ${ht} |
+
+ `).join("")}
+
+ `),U.addLayer(_t)})}),y.value.addLayer(U)}function N(){y.value=x.value.leafletObject,C(),S(),A(),m("ready")}function S(){const V=L.geoJSON(u.value).getBounds(),F=[[V._northEast.lat+.05,V._northEast.lng],[V._southWest.lat,V._southWest.lng]];r.value=F,p.value=y.value.getBoundsZoom(F)}async function A(){if(await P.fetch(),!navigator.geolocation){cr().add({type:"error",text:"Geolocation is not supported by your browser"});return}}const R=Kt(()=>{const V=y.value.getZoom();return _.value*3/V});function it(V){if(!V)return null;let F="/marker/information.svg";switch(V){case"spring":case"fountain":case"water_tap":case"water_well":case"drinking water":F="/marker/water-pump.svg";break;case"shelter":case"alpine_hut":case"wilderness_hut":case"camp site":case"cabin":F="/marker/cabin-a-frame.svg";break;case"firepit":case"fireplace":case"bbq":case"campfire":F="/marker/campfire.svg";break;case"waste_basket":case"waste_disposal":F="/marker/trash-can.svg";break;case"toilet":F="/marker/toilet.svg";break;case"recycling":F="/marker/recycle.svg";break;case"vending_machine":F="/marker/store-24-hour.svg";break;case"bench":F="/marker/bench.svg";break;case"viewpoint":case"information":case"picnic_site":case"hiking_route":case"climbing_area":F="/marker/information.svg";break}if(typeof L.icon!="function")throw new Error("L.icon is not a function");return L.icon({iconUrl:F,iconSize:[25,25],iconAnchor:[12,25]})}return lr(async()=>{}),At(()=>{}),(V,F)=>{const Ht=ia,rt=ha,Z=sa,U=dr;return ue(),le(U,null,{default:Lt(()=>[st(h)?(ue(),le(Z,{key:0,ref_key:"map",ref:x,class:"map",zoom:12,"use-global-leaflet":!0,center:st(s),bounds:st(r),onReady:N,"max-zoom":"18"},{default:Lt(()=>[lt(Ht,{geojson:st(u)},null,8,["geojson"]),st(g)?(ue(),le(st(po),{key:0,"lat-lng":st(g),radius:4,fill:!0,fillColor:"green"},null,8,["lat-lng"])):ii("",!0),st(g)?(ue(),le(st(po),{key:1,"lat-lng":st(g),radius:st(R)},null,8,["lat-lng","radius"])):ii("",!0),lt(rt,{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","layer-type":"base",name:"OpenStreetMap",attribution:'© OpenStreetMap contributors'})]),_:1},8,["center","bounds"])):ii("",!0)]),_:1})}}},Pa=_r({...pr(),...mr({offset:8,minWidth:0,openDelay:0,closeDelay:100,location:"top center",transition:"scale-transition"})},"VSpeedDial"),xa=gr()({name:"VSpeedDial",props:Pa(),emits:{"update:modelValue":d=>!0},setup(d,f){let{slots:l}=f;const m=vr(d,"modelValue"),x=q(),s=Kt(()=>{const[h,u="center"]=d.location.split(" ");return`${h} ${u}`}),r=Kt(()=>({[`v-speed-dial__content--${s.value.replace(" ","-")}`]:!0}));return yr(()=>{const h=co.filterProps(d);return lt(co,Po(h,{modelValue:m.value,"onUpdate:modelValue":u=>m.value=u,class:d.class,style:d.style,contentClass:["v-speed-dial__content",r.value],location:s.value,ref:x,transition:"fade-transition"}),{...l,default:u=>lt(Lr,{defaults:{VBtn:{size:"small"}}},{default:()=>[lt(wr,{appear:!0,group:!0,transition:d.transition},{default:()=>{var p;return[(p=l.default)==null?void 0:p.call(l,u)]}})]})})}),{}}}),ba={class:"actions-menu-wrapper"},Ca=Ft({__name:"[id]",async setup(d){let f,l;const m=q(!1),x=q(!1),s=Pr();[f,l]=xr(()=>s.fetch()),await f,l();const r=s.byId(br().params.id);async function h(){debugger;await s.delete(r.id),zr("/routes")}function u(){}return(p,g)=>{const _=wa;return ue(),le(Zr,{fluid:"",class:"position-relative"},{default:Lt(()=>[fo("div",ba,[lt(st(xa),{location:"bottom center",transition:"fade-transition",id:"debug"},{activator:Lt(({props:P})=>[lt(st(Ir),Po(P,{size:"large",icon:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}),null,16)]),default:Lt(()=>[lt(Fi,{key:"1",icon:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",onClick:g[0]||(g[0]=P=>x.value=!0)})]),_:1})]),st(m)?ii("",!0):(ue(),le(Cr,{key:0,class:"absolute-center",color:"primary",indeterminate:""})),fo("div",{id:"mapcontainer",ref:"mapcontainer",onClick:g[2]||(g[2]=P=>void 0)},[lt(_,{id:"map","route-id":st(r).id,"gpx-path":st(r).originalFile,onReady:g[1]||(g[1]=P=>m.value=!0)},null,8,["route-id","gpx-path"])],512),lt(Or,{modelValue:st(x),"onUpdate:modelValue":g[5]||(g[5]=P=>kr(x)?x.value=P:null),"max-width":"290"},{default:Lt(()=>[lt(Tr,null,{default:Lt(()=>[lt(Mr,null,{default:Lt(()=>[Hi("Are you sure you want to delete this item?")]),_:1}),lt(Sr,null,{default:Lt(()=>[lt(Fi,{onClick:g[3]||(g[3]=P=>x.value=!1)},{default:Lt(()=>[Hi("Cancel")]),_:1}),lt(Fi,{onClick:g[4]||(g[4]=P=>h())},{default:Lt(()=>[Hi("Delete")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),za=Er(Ca,[["__scopeId","data-v-4265c245"]]);export{za as default};
diff --git a/_nuxt/DS0W2dGG.js b/_nuxt/DS0W2dGG.js
new file mode 100644
index 0000000..2c2a587
--- /dev/null
+++ b/_nuxt/DS0W2dGG.js
@@ -0,0 +1 @@
+import{g as bt}from"./CJ7Tzvjl.js";import{aC as ht,_ as yt,c as I,o as pt,v as Pe,a8 as xt,B as Pt,af as Y,x as St,ak as wt,y as kt,z as Ae,aw as It,r as E,aD as Vt,F,O as q,aE as _t,G as Dt,aF as Tt,T as Ct,W as Ft,aG as Bt,X as At,a3 as $t,aH as Lt,I as W,aI as G,aJ as Z,aK as Rt,a5 as Ot,aL as ne,ap as Nt,a6 as ce,aM as Et,aN as ee,a7 as _,L as U,A as i,aj as M,a1 as C,aO as Se,au as we,aP as $e,a0 as X,aQ as Le,as as Re,J,aR as oe,aS as Mt,aT as L,aU as Gt,aV as Ht,aW as Oe,at as H,aX as ie,aY as te,aZ as ve,a_ as Wt,a$ as jt,P as zt,b0 as qt,ae as K,S as ke,b1 as Ne,C as Ie,b2 as de,b3 as Ve,b4 as ae,b5 as Kt}from"./-VvI6Lr7.js";import{V as Ee}from"./FoGmEwba.js";import{V as Me,a as ge}from"./CufEZoaj.js";import{m as Ut,V as _e}from"./Dfnfu-Af.js";import{m as Xt,u as Jt}from"./DBf96Ybk.js";function De(e,l,a){return Object.keys(e).filter(t=>ht(t)&&t.endsWith(l)).reduce((t,n)=>(t[n.slice(0,-l.length)]=r=>e[n](r,a(r)),t),{})}function Qt(e){const t=Math.min(e,1e3)/1e3,n=Math.round(t*255),r=Math.round((1-t)*255);return`rgb(${n}, ${r}, 0)`}const Yt={key:0},Zt={__name:"WeightChip",props:{weight:Number,xsAndDown:Boolean,renderIcon:{type:Boolean,default:!0}},setup(e){const l=e,a=I(()=>l.renderIcon&&!l.xsAndDown);return pt(()=>{a.value=l.renderIcon&&!l.xsAndDown}),(t,n)=>(Pe(),xt(Ee,{"prepend-icon":Y(a)?("getIcon"in t?t.getIcon:Y(bt))("weight"):null,color:("weightColor"in t?t.weightColor:Y(Qt))(e.weight),class:It(`weight ${Y(a),""} ${e.xsAndDown?"mobile":""}`)},{default:Pt(()=>[Y(a)?(Pe(),St("span",Yt," ")):wt("",!0),kt("span",null,Ae(e.weight)+"g ",1)]),_:1},8,["prepend-icon","color","class"]))}},qa=yt(Zt,[["__scopeId","data-v-adef31a6"]]);function ea(){const e=E([]);Vt(()=>e.value=[]);function l(a,t){e.value[t]=a}return{refs:e,updateRef:l}}const ta=F({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:q,default:"$first"},prevIcon:{type:q,default:"$prev"},nextIcon:{type:q,default:"$next"},lastIcon:{type:q,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,..._t(),...Dt(),...Tt(),...Ct(),...Ft(),...Bt(),...At({tag:"nav"}),...$t(),...Lt({variant:"text"})},"VPagination"),Te=W()({name:"VPagination",props:ta(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,l){let{slots:a,emit:t}=l;const n=G(e,"modelValue"),{t:r,n:u}=Z(),{isRtl:s}=Rt(),{themeClasses:f}=Ot(e),{width:d}=ne(),m=Nt(-1);ce(void 0,{scoped:!0});const{resizeRef:p}=Et(b=>{if(!b.length)return;const{target:c,contentRect:S}=b[0],w=c.querySelector(".v-pagination__list > *");if(!w)return;const V=S.width,T=w.offsetWidth+parseFloat(getComputedStyle(w).marginRight)*2;m.value=x(V,T)}),v=I(()=>parseInt(e.length,10)),y=I(()=>parseInt(e.start,10)),h=I(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):m.value>=0?m.value:x(d.value,58));function x(b,c){const S=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((b-c*S)/c).toFixed(2)))}const o=I(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(h.value<=0)return[];if(h.value===1)return[n.value];if(v.value<=h.value)return ee(v.value,y.value);const b=h.value%2===0,c=b?h.value/2:Math.floor(h.value/2),S=b?c:c+1,w=v.value-c;if(S-n.value>=0)return[...ee(Math.max(1,h.value-1),y.value),e.ellipsis,v.value];if(n.value-w>=(b?1:0)){const V=h.value-1,T=v.value-V+y.value;return[y.value,e.ellipsis,...ee(V,T)]}else{const V=Math.max(1,h.value-3),T=V===1?n.value:n.value-Math.ceil(V/2)+y.value;return[y.value,e.ellipsis,...ee(V,T),e.ellipsis,v.value]}});function P(b,c,S){b.preventDefault(),n.value=c,S&&t(S,c)}const{refs:g,updateRef:D}=ea();ce({VPaginationBtn:{color:_(e,"color"),border:_(e,"border"),density:_(e,"density"),size:_(e,"size"),variant:_(e,"variant"),rounded:_(e,"rounded"),elevation:_(e,"elevation")}});const B=I(()=>o.value.map((b,c)=>{const S=w=>D(w,c);if(typeof b=="string")return{isActive:!1,key:`ellipsis-${c}`,page:b,props:{ref:S,ellipsis:!0,icon:!0,disabled:!0}};{const w=b===n.value;return{isActive:w,key:b,page:u(b),props:{ref:S,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:w?e.activeColor:e.color,"aria-current":w,"aria-label":r(w?e.currentPageAriaLabel:e.pageAriaLabel,b),onClick:V=>P(V,b)}}}})),k=I(()=>{const b=!!e.disabled||n.value<=y.value,c=!!e.disabled||n.value>=y.value+v.value-1;return{first:e.showFirstLastPage?{icon:s.value?e.lastIcon:e.firstIcon,onClick:S=>P(S,y.value,"first"),disabled:b,"aria-label":r(e.firstAriaLabel),"aria-disabled":b}:void 0,prev:{icon:s.value?e.nextIcon:e.prevIcon,onClick:S=>P(S,n.value-1,"prev"),disabled:b,"aria-label":r(e.previousAriaLabel),"aria-disabled":b},next:{icon:s.value?e.prevIcon:e.nextIcon,onClick:S=>P(S,n.value+1,"next"),disabled:c,"aria-label":r(e.nextAriaLabel),"aria-disabled":c},last:e.showFirstLastPage?{icon:s.value?e.firstIcon:e.lastIcon,onClick:S=>P(S,y.value+v.value-1,"last"),disabled:c,"aria-label":r(e.lastAriaLabel),"aria-disabled":c}:void 0}});function $(){var c;const b=n.value-y.value;(c=g.value[b])==null||c.$el.focus()}function R(b){b.key===Se.left&&!e.disabled&&n.value>+e.start?(n.value=n.value-1,we($)):b.key===Se.right&&!e.disabled&&n.valuei(e.tag,{ref:p,class:["v-pagination",f.value,e.class],style:e.style,role:"navigation","aria-label":r(e.ariaLabel),onKeydown:R,"data-test":"v-pagination-root"},{default:()=>[i("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&i("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[a.first?a.first(k.value.first):i(M,C({_as:"VPaginationBtn"},k.value.first),null)]),i("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[a.prev?a.prev(k.value.prev):i(M,C({_as:"VPaginationBtn"},k.value.prev),null)]),B.value.map((b,c)=>i("li",{key:b.key,class:["v-pagination__item",{"v-pagination__item--is-active":b.isActive}],"data-test":"v-pagination-item"},[a.item?a.item(b):i(M,C({_as:"VPaginationBtn"},b.props),{default:()=>[b.page]})])),i("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[a.next?a.next(k.value.next):i(M,C({_as:"VPaginationBtn"},k.value.next),null)]),e.showFirstLastPage&&i("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[a.last?a.last(k.value.last):i(M,C({_as:"VPaginationBtn"},k.value.last),null)])])]})),{}}}),aa=F({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),Ge=Symbol.for("vuetify:data-table-pagination");function la(e){const l=G(e,"page",void 0,t=>+(t??1)),a=G(e,"itemsPerPage",void 0,t=>+(t??10));return{page:l,itemsPerPage:a}}function na(e){const{page:l,itemsPerPage:a,itemsLength:t}=e,n=I(()=>a.value===-1?0:a.value*(l.value-1)),r=I(()=>a.value===-1?t.value:Math.min(t.value,n.value+a.value)),u=I(()=>a.value===-1||t.value===0?1:Math.ceil(t.value/a.value));$e(()=>{l.value>u.value&&(l.value=u.value)});function s(v){a.value=v,l.value=1}function f(){l.value=oe(l.value+1,1,u.value)}function d(){l.value=oe(l.value-1,1,u.value)}function m(v){l.value=oe(v,1,u.value)}const p={page:l,itemsPerPage:a,startIndex:n,stopIndex:r,pageCount:u,itemsLength:t,nextPage:f,prevPage:d,setPage:m,setItemsPerPage:s};return X(Ge,p),p}function ra(){const e=J(Ge);if(!e)throw new Error("Missing pagination!");return e}function sa(e){const l=Le("usePaginatedItems"),{items:a,startIndex:t,stopIndex:n,itemsPerPage:r}=e,u=I(()=>r.value<=0?a.value:a.value.slice(t.value,n.value));return Re(u,s=>{l.emit("update:currentItems",s)}),{paginatedItems:u}}const He=F({prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),Ce=W()({name:"VDataTableFooter",props:He(),setup(e,l){let{slots:a}=l;const{t}=Z(),{page:n,pageCount:r,startIndex:u,stopIndex:s,itemsLength:f,itemsPerPage:d,setItemsPerPage:m}=ra(),p=I(()=>e.itemsPerPageOptions.map(v=>typeof v=="number"?{value:v,title:v===-1?t("$vuetify.dataFooter.itemsPerPageAll"):String(v)}:{...v,title:isNaN(Number(v.title))?t(v.title):v.title}));return U(()=>{var y;const v=Te.filterProps(e);return i("div",{class:"v-data-table-footer"},[(y=a.prepend)==null?void 0:y.call(a),i("div",{class:"v-data-table-footer__items-per-page"},[i("span",null,[t(e.itemsPerPageText)]),i(Me,{items:p.value,modelValue:d.value,"onUpdate:modelValue":h=>m(Number(h)),density:"compact",variant:"outlined","hide-details":!0},null)]),i("div",{class:"v-data-table-footer__info"},[i("div",null,[t(e.pageText,f.value?u.value+1:0,s.value,f.value)])]),i("div",{class:"v-data-table-footer__pagination"},[i(Te,C({modelValue:n.value,"onUpdate:modelValue":h=>n.value=h,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:r.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},v),null)])])}),{}}}),le=Mt({align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String],maxWidth:[Number,String],nowrap:Boolean},(e,l)=>{let{slots:a}=l;const t=e.tag??"td";return i(t,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding,"v-data-table-column--nowrap":e.nowrap},`v-data-table-column--align-${e.align}`],style:{height:L(e.height),width:L(e.width),maxWidth:L(e.maxWidth),left:L(e.fixedOffset||null)}},{default:()=>{var n;return[(n=a.default)==null?void 0:n.call(a)]}})}),ua=F({headers:Array},"DataTable-header"),We=Symbol.for("vuetify:data-table-headers"),je={title:"",sortable:!1},oa={...je,width:48};function ia(){const l=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(a=>({element:a,priority:0}));return{enqueue:(a,t)=>{let n=!1;for(let r=0;rt){l.splice(r,0,{element:a,priority:t}),n=!0;break}n||l.push({element:a,priority:t})},size:()=>l.length,count:()=>{let a=0;if(!l.length)return 0;const t=Math.floor(l[0].priority);for(let n=0;nl.shift()}}function fe(e){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(!e.children)l.push(e);else for(const a of e.children)fe(a,l);return l}function ze(e){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const a of e)a.key&&l.add(a.key),a.children&&ze(a.children,l);return l}function da(e){if(e.key){if(e.key==="data-table-group")return je;if(["data-table-expand","data-table-select"].includes(e.key))return oa}}function me(e){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(l,...e.children.map(a=>me(a,l+1))):l}function ca(e){let l=!1;function a(r){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r)if(u&&(r.fixed=!0),r.fixed)if(r.children)for(let s=r.children.length-1;s>=0;s--)a(r.children[s],!0);else l?isNaN(+r.width)&&Ht(`Multiple fixed columns should have a static width (key: ${r.key})`):r.lastFixed=!0,l=!0;else if(r.children)for(let s=r.children.length-1;s>=0;s--)a(r.children[s]);else l=!1}for(let r=e.length-1;r>=0;r--)a(e[r]);function t(r){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!r)return u;if(r.children){r.fixedOffset=u;for(const s of r.children)u=t(s,u)}else r.fixed&&(r.fixedOffset=u,u+=parseFloat(r.width||"0")||0);return u}let n=0;for(const r of e)n=t(r,n)}function fa(e,l){const a=[];let t=0;const n=ia(e);for(;n.size()>0;){let u=n.count();const s=[];let f=1;for(;u>0;){const{element:d,priority:m}=n.dequeue(),p=l-t-me(d);if(s.push({...d,rowspan:p??1,colspan:d.children?fe(d).length:1}),d.children)for(const v of d.children){const y=m%1+f/Math.pow(10,t+2);n.enqueue(v,t+p+y)}f+=1,u-=1}t+=1,a.push(s)}return{columns:e.map(u=>fe(u)).flat(),headers:a}}function qe(e){const l=[];for(const a of e){const t={...da(a),...a},n=t.key??(typeof t.value=="string"?t.value:null),r=t.value??n??null,u={...t,key:n,value:r,sortable:t.sortable??(t.key!=null||!!t.sort),children:t.children?qe(t.children):void 0};l.push(u)}return l}function va(e,l){const a=E([]),t=E([]),n=E({}),r=E({}),u=E({});$e(()=>{var x,o,P;const d=(e.headers||Object.keys(e.items[0]??{}).map(g=>({key:g,title:Gt(g)}))).slice(),m=ze(d);(x=l==null?void 0:l.groupBy)!=null&&x.value.length&&!m.has("data-table-group")&&d.unshift({key:"data-table-group",title:"Group"}),(o=l==null?void 0:l.showSelect)!=null&&o.value&&!m.has("data-table-select")&&d.unshift({key:"data-table-select"}),(P=l==null?void 0:l.showExpand)!=null&&P.value&&!m.has("data-table-expand")&&d.push({key:"data-table-expand"});const p=qe(d);ca(p);const v=Math.max(...p.map(g=>me(g)))+1,y=fa(p,v);a.value=y.headers,t.value=y.columns;const h=y.headers.flat(1);for(const g of h)g.key&&(g.sortable&&(g.sort&&(n.value[g.key]=g.sort),g.sortRaw&&(r.value[g.key]=g.sortRaw)),g.filter&&(u.value[g.key]=g.filter))});const s={headers:a,columns:t,sortFunctions:n,sortRawFunctions:r,filterFunctions:u};return X(We,s),s}function re(){const e=J(We);if(!e)throw new Error("Missing headers!");return e}const ga={showSelectAll:!1,allSelected:()=>[],select:e=>{var t;let{items:l,value:a}=e;return new Set(a?[H((t=l[0])==null?void 0:t.value)]:[])},selectAll:e=>{let{selected:l}=e;return l}},Ke={showSelectAll:!0,allSelected:e=>{let{currentPage:l}=e;return l},select:e=>{let{items:l,value:a,selected:t}=e;for(const n of l)a?t.add(H(n.value)):t.delete(H(n.value));return t},selectAll:e=>{let{value:l,currentPage:a,selected:t}=e;return Ke.select({items:a,value:l,selected:t})}},Ue={showSelectAll:!0,allSelected:e=>{let{allItems:l}=e;return l},select:e=>{let{items:l,value:a,selected:t}=e;for(const n of l)a?t.add(H(n.value)):t.delete(H(n.value));return t},selectAll:e=>{let{value:l,allItems:a,selected:t}=e;return Ue.select({items:a,value:l,selected:t})}},ma=F({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:Oe}},"DataTable-select"),Xe=Symbol.for("vuetify:data-table-selection");function ba(e,l){let{allItems:a,currentPage:t}=l;const n=G(e,"modelValue",e.modelValue,o=>new Set(ie(o).map(P=>{var g;return((g=a.value.find(D=>e.valueComparator(P,D.value)))==null?void 0:g.value)??P})),o=>[...o.values()]),r=I(()=>a.value.filter(o=>o.selectable)),u=I(()=>t.value.filter(o=>o.selectable)),s=I(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return ga;case"all":return Ue;case"page":default:return Ke}});function f(o){return ie(o).every(P=>n.value.has(H(P.value)))}function d(o){return ie(o).some(P=>n.value.has(H(P.value)))}function m(o,P){const g=s.value.select({items:o,value:P,selected:new Set(n.value)});n.value=g}function p(o){const P=_(o);m([P.value],!f([P.value]))}function v(o){const P=s.value.selectAll({value:o,allItems:r.value,currentPage:u.value,selected:new Set(n.value)});n.value=P}const y=I(()=>n.value.size>0),h=I(()=>{const o=s.value.allSelected({allItems:r.value,currentPage:u.value});return!!o.length&&f(o)}),x={toggleSelect:p,select:m,selectAll:v,isSelected:f,isSomeSelected:d,someSelected:y,allSelected:h,showSelectAll:s.value.showSelectAll};return X(Xe,x),x}function se(){const e=J(Xe);if(!e)throw new Error("Missing selection!");return e}const ha=F({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),Je=Symbol.for("vuetify:data-table-sort");function ya(e){const l=G(e,"sortBy"),a=_(e,"mustSort"),t=_(e,"multiSort");return{sortBy:l,mustSort:a,multiSort:t}}function pa(e){const{sortBy:l,mustSort:a,multiSort:t,page:n}=e,r=f=>{if(f.key==null)return;let d=l.value.map(p=>({...p}))??[];const m=d.find(p=>p.key===f.key);m?m.order==="desc"?a.value?m.order="asc":d=d.filter(p=>p.key!==f.key):m.order="desc":t.value?d=[...d,{key:f.key,order:"asc"}]:d=[{key:f.key,order:"asc"}],l.value=d,n&&(n.value=1)};function u(f){return!!l.value.find(d=>d.key===f.key)}const s={sortBy:l,toggleSort:r,isSorted:u};return X(Je,s),s}function Qe(){const e=J(Je);if(!e)throw new Error("Missing sort!");return e}function xa(e,l,a,t){const n=Z();return{sortedItems:I(()=>{var u,s;return a.value.length?Pa(l.value,a.value,n.current.value,{transform:t==null?void 0:t.transform,sortFunctions:{...e.customKeySort,...(u=t==null?void 0:t.sortFunctions)==null?void 0:u.value},sortRawFunctions:(s=t==null?void 0:t.sortRawFunctions)==null?void 0:s.value}):l.value})}}function Pa(e,l,a,t){const n=new Intl.Collator(a,{sensitivity:"accent",usage:"sort"});return e.map(u=>[u,t!=null&&t.transform?t.transform(u):u]).sort((u,s)=>{var f,d;for(let m=0;mg!=null?g.toString().toLocaleLowerCase():g),h!==x)return te(h)&&te(x)?0:te(h)?-1:te(x)?1:!isNaN(h)&&!isNaN(x)?Number(h)-Number(x):n.compare(h,x)}}return 0}).map(u=>{let[s]=u;return s})}const Ye=F({color:String,sticky:Boolean,multiSort:Boolean,sortAscIcon:{type:q,default:"$sortAsc"},sortDescIcon:{type:q,default:"$sortDesc"},headerProps:{type:Object},...ve(),...Wt()},"VDataTableHeaders"),Fe=W()({name:"VDataTableHeaders",props:Ye(),setup(e,l){let{slots:a}=l;const{t}=Z(),{toggleSort:n,sortBy:r,isSorted:u}=Qe(),{someSelected:s,allSelected:f,selectAll:d,showSelectAll:m}=se(),{columns:p,headers:v}=re(),{loaderClasses:y}=jt(e);function h(b,c){if(!(!e.sticky&&!b.fixed))return{position:"sticky",left:b.fixed?L(b.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${c})`:void 0}}function x(b){const c=r.value.find(S=>S.key===b.key);return c?c.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:o,backgroundColorStyles:P}=zt(e,"color"),{displayClasses:g,mobile:D}=ne(e),B=I(()=>({headers:v.value,columns:p.value,toggleSort:n,isSorted:u,sortBy:r.value,someSelected:s.value,allSelected:f.value,selectAll:d,getSortIcon:x})),k=I(()=>["v-data-table__th",{"v-data-table__th--sticky":e.sticky},g.value,y.value]),$=b=>{let{column:c,x:S,y:w}=b;const V=c.key==="data-table-select"||c.key==="data-table-expand",T=C(e.headerProps??{},c.headerProps??{});return i(le,C({tag:"th",align:c.align,class:[{"v-data-table__th--sortable":c.sortable,"v-data-table__th--sorted":u(c),"v-data-table__th--fixed":c.fixed},...k.value],style:{width:L(c.width),minWidth:L(c.minWidth),maxWidth:L(c.maxWidth),...h(c,w)},colspan:c.colspan,rowspan:c.rowspan,onClick:c.sortable?()=>n(c):void 0,fixed:c.fixed,nowrap:c.nowrap,lastFixed:c.lastFixed,noPadding:V},T),{default:()=>{var z;const O=`header.${c.key}`,j={column:c,selectAll:d,isSorted:u,toggleSort:n,sortBy:r.value,someSelected:s.value,allSelected:f.value,getSortIcon:x};return a[O]?a[O](j):c.key==="data-table-select"?((z=a["header.data-table-select"])==null?void 0:z.call(a,j))??(m&&i(ge,{modelValue:f.value,indeterminate:s.value&&!f.value,"onUpdate:modelValue":d},null)):i("div",{class:"v-data-table-header__content"},[i("span",null,[c.title]),c.sortable&&i(ke,{key:"icon",class:"v-data-table-header__sort-icon",icon:x(c)},null),e.multiSort&&u(c)&&i("div",{key:"badge",class:["v-data-table-header__sort-badge",...o.value],style:P.value},[r.value.findIndex(ue=>ue.key===c.key)+1])])}})},R=()=>{const b=C(e.headerProps??{}??{}),c=I(()=>p.value.filter(w=>w==null?void 0:w.sortable)),S=I(()=>f.value?"$checkboxOn":s.value?"$checkboxIndeterminate":"$checkboxOff");return i(le,C({tag:"th",class:[...k.value],colspan:v.value.length+1},b),{default:()=>[i("div",{class:"v-data-table-header__content"},[i(Me,{chips:!0,class:"v-data-table__td-sort-select",clearable:!0,density:"default",items:c.value,label:t("$vuetify.dataTable.sortBy"),multiple:e.multiSort,variant:"underlined","onClick:clear":()=>r.value=[],appendIcon:S.value,"onClick:append":()=>d(!f.value)},{...a,chip:w=>{var V;return i(Ee,{onClick:(V=w.item.raw)!=null&&V.sortable?()=>n(w.item.raw):void 0,onMousedown:T=>{T.preventDefault(),T.stopPropagation()}},{default:()=>[w.item.title,i(ke,{class:["v-data-table__td-sort-icon",u(w.item.raw)&&"v-data-table__td-sort-icon-active"],icon:x(w.item.raw),size:"small"},null)]})}})])]})};U(()=>D.value?i("tr",null,[i(R,null,null)]):i(K,null,[a.headers?a.headers(B.value):v.value.map((b,c)=>i("tr",null,[b.map((S,w)=>i($,{column:S,x:w,y:c},null))])),e.loading&&i("tr",{class:"v-data-table-progress"},[i("th",{colspan:p.value.length},[i(qt,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:a.loader})])])]))}}),Sa=F({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),Ze=Symbol.for("vuetify:data-table-group");function wa(e){return{groupBy:G(e,"groupBy")}}function ka(e){const{groupBy:l,sortBy:a}=e,t=E(new Set),n=I(()=>l.value.map(d=>({...d,order:d.order??!1})).concat(a.value));function r(d){return t.value.has(d.id)}function u(d){const m=new Set(t.value);r(d)?m.delete(d.id):m.add(d.id),t.value=m}function s(d){function m(p){const v=[];for(const y of p.items)"type"in y&&y.type==="group"?v.push(...m(y)):v.push(y);return v}return m({type:"group",items:d,id:"dummy",key:"dummy",value:"dummy",depth:0})}const f={sortByWithGroups:n,toggleGroup:u,opened:t,groupBy:l,extractRows:s,isGroupOpen:r};return X(Ze,f),f}function et(){const e=J(Ze);if(!e)throw new Error("Missing group!");return e}function Ia(e,l){if(!e.length)return[];const a=new Map;for(const t of e){const n=Ne(t.raw,l);a.has(n)||a.set(n,[]),a.get(n).push(t)}return a}function tt(e,l){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!l.length)return[];const n=Ia(e,l[0]),r=[],u=l.slice(1);return n.forEach((s,f)=>{const d=l[0],m=`${t}_${d}_${f}`;r.push({depth:a,id:m,key:d,value:f,items:u.length?tt(s,u,a+1,m):s,type:"group"})}),r}function at(e,l){const a=[];for(const t of e)"type"in t&&t.type==="group"?(t.value!=null&&a.push(t),(l.has(t.id)||t.value==null)&&a.push(...at(t.items,l))):a.push(t);return a}function Va(e,l,a){return{flatItems:I(()=>{if(!l.value.length)return e.value;const n=tt(e.value,l.value.map(r=>r.key));return at(n,a.value)})}}const _a=F({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),Da=W()({name:"VDataTableGroupHeaderRow",props:_a(),setup(e,l){let{slots:a}=l;const{isGroupOpen:t,toggleGroup:n,extractRows:r}=et(),{isSelected:u,isSomeSelected:s,select:f}=se(),{columns:d}=re(),m=I(()=>r([e.item]));return()=>i("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[d.value.map(p=>{var v,y;if(p.key==="data-table-group"){const h=t(e.item)?"$expand":"$next",x=()=>n(e.item);return((v=a["data-table-group"])==null?void 0:v.call(a,{item:e.item,count:m.value.length,props:{icon:h,onClick:x}}))??i(le,{class:"v-data-table-group-header-row__column"},{default:()=>[i(M,{size:"small",variant:"text",icon:h,onClick:x},null),i("span",null,[e.item.value]),i("span",null,[Ie("("),m.value.length,Ie(")")])]})}if(p.key==="data-table-select"){const h=u(m.value),x=s(m.value)&&!h,o=P=>f(m.value,P);return((y=a["data-table-select"])==null?void 0:y.call(a,{props:{modelValue:h,indeterminate:x,"onUpdate:modelValue":o}}))??i("td",null,[i(ge,{modelValue:h,indeterminate:x,"onUpdate:modelValue":o},null)])}return i("td",null,null)})])}}),Ta=F({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),lt=Symbol.for("vuetify:datatable:expanded");function Ca(e){const l=_(e,"expandOnClick"),a=G(e,"expanded",e.expanded,s=>new Set(s),s=>[...s.values()]);function t(s,f){const d=new Set(a.value);f?d.add(s.value):d.delete(s.value),a.value=d}function n(s){return a.value.has(s.value)}function r(s){t(s,!n(s))}const u={expand:t,expanded:a,expandOnClick:l,isExpanded:n,toggleExpand:r};return X(lt,u),u}function nt(){const e=J(lt);if(!e)throw new Error("foo");return e}const Fa=F({index:Number,item:Object,cellProps:[Object,Function],onClick:de(),onContextmenu:de(),onDblclick:de(),...ve()},"VDataTableRow"),Ba=W()({name:"VDataTableRow",props:Fa(),setup(e,l){let{slots:a}=l;const{displayClasses:t,mobile:n}=ne(e,"v-data-table__tr"),{isSelected:r,toggleSelect:u,someSelected:s,allSelected:f,selectAll:d}=se(),{isExpanded:m,toggleExpand:p}=nt(),{toggleSort:v,sortBy:y,isSorted:h}=Qe(),{columns:x}=re();U(()=>i("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)},t.value],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&x.value.map((o,P)=>{const g=e.item,D=`item.${o.key}`,B=`header.${o.key}`,k={index:e.index,item:g.raw,internalItem:g,value:Ne(g.columns,o.key),column:o,isSelected:r,toggleSelect:u,isExpanded:m,toggleExpand:p},$={column:o,selectAll:d,isSorted:h,toggleSort:v,sortBy:y.value,someSelected:s.value,allSelected:f.value,getSortIcon:()=>""},R=typeof e.cellProps=="function"?e.cellProps({index:k.index,item:k.item,internalItem:k.internalItem,value:k.value,column:o}):e.cellProps,b=typeof o.cellProps=="function"?o.cellProps({index:k.index,item:k.item,internalItem:k.internalItem,value:k.value}):o.cellProps;return i(le,C({align:o.align,class:{"v-data-table__td--expanded-row":o.key==="data-table-expand","v-data-table__td--select-row":o.key==="data-table-select"},fixed:o.fixed,fixedOffset:o.fixedOffset,lastFixed:o.lastFixed,maxWidth:n.value?void 0:o.maxWidth,noPadding:o.key==="data-table-select"||o.key==="data-table-expand",nowrap:o.nowrap,width:n.value?void 0:o.width},R,b),{default:()=>{var S,w,V,T,O;if(a[D]&&!n.value)return(S=a[D])==null?void 0:S.call(a,k);if(o.key==="data-table-select")return((w=a["item.data-table-select"])==null?void 0:w.call(a,k))??i(ge,{disabled:!g.selectable,modelValue:r([g]),onClick:Ve(()=>u(g),["stop"])},null);if(o.key==="data-table-expand")return((V=a["item.data-table-expand"])==null?void 0:V.call(a,k))??i(M,{icon:m(g)?"$collapse":"$expand",size:"small",variant:"text",onClick:Ve(()=>p(g),["stop"])},null);const c=Ae(k.value);return n.value?i(K,null,[i("div",{class:"v-data-table__td-title"},[((T=a[B])==null?void 0:T.call(a,$))??o.title]),i("div",{class:"v-data-table__td-value"},[((O=a[D])==null?void 0:O.call(a,k))??c])]):c}})})]))}}),rt=F({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function],...ve()},"VDataTableRows"),Be=W()({name:"VDataTableRows",inheritAttrs:!1,props:rt(),setup(e,l){let{attrs:a,slots:t}=l;const{columns:n}=re(),{expandOnClick:r,toggleExpand:u,isExpanded:s}=nt(),{isSelected:f,toggleSelect:d}=se(),{toggleGroup:m,isGroupOpen:p}=et(),{t:v}=Z(),{mobile:y}=ne(e);return U(()=>{var h,x;return e.loading&&(!e.items.length||t.loading)?i("tr",{class:"v-data-table-rows-loading",key:"loading"},[i("td",{colspan:n.value.length},[((h=t.loading)==null?void 0:h.call(t))??v(e.loadingText)])]):!e.loading&&!e.items.length&&!e.hideNoData?i("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[i("td",{colspan:n.value.length},[((x=t["no-data"])==null?void 0:x.call(t))??v(e.noDataText)])]):i(K,null,[e.items.map((o,P)=>{var B;if(o.type==="group"){const k={index:P,item:o,columns:n.value,isExpanded:s,toggleExpand:u,isSelected:f,toggleSelect:d,toggleGroup:m,isGroupOpen:p};return t["group-header"]?t["group-header"](k):i(Da,C({key:`group-header_${o.id}`,item:o},De(a,":group-header",()=>k)),t)}const g={index:P,item:o.raw,internalItem:o,columns:n.value,isExpanded:s,toggleExpand:u,isSelected:f,toggleSelect:d},D={...g,props:C({key:`item_${o.key??o.index}`,onClick:r.value?()=>{u(o)}:void 0,index:P,item:o,cellProps:e.cellProps,mobile:y.value},De(a,":row",()=>g),typeof e.rowProps=="function"?e.rowProps({item:g.item,index:g.index,internalItem:g.internalItem}):e.rowProps)};return i(K,{key:D.props.key},[t.item?t.item(D):i(Ba,D.props,t),s(o)&&((B=t["expanded-row"])==null?void 0:B.call(t,g))])})])}),{}}}),Aa=F({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function $a(e,l,a,t){const n=e.returnObject?l:ae(l,e.itemValue),r=ae(l,e.itemSelectable,!0),u=t.reduce((s,f)=>(f.key!=null&&(s[f.key]=ae(l,f.value)),s),{});return{type:"item",key:e.returnObject?ae(l,e.itemValue):n,index:a,value:n,selectable:r,columns:u,raw:l}}function La(e,l,a){return l.map((t,n)=>$a(e,t,n,a))}function Ra(e,l){return{items:I(()=>La(e,e.items,l.value))}}function Oa(e){let{page:l,itemsPerPage:a,sortBy:t,groupBy:n,search:r}=e;const u=Le("VDataTable"),s=I(()=>({page:l.value,itemsPerPage:a.value,sortBy:t.value,groupBy:n.value,search:r.value}));let f=null;Re(s,()=>{Oe(f,s.value)||(f&&f.search!==s.value.search&&(l.value=1),u.emit("update:options",s.value),f=s.value)},{deep:!0,immediate:!0})}const Na=F({...rt(),width:[String,Number],search:String,...Ta(),...Sa(),...ua(),...Aa(),...ma(),...ha(),...Ye(),...Ut()},"DataTable"),Ea=F({...aa(),...Na(),...Xt(),...He()},"VDataTable"),Ka=W()({name:"VDataTable",props:Ea(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0,"update:currentItems":e=>!0},setup(e,l){let{attrs:a,slots:t}=l;const{groupBy:n}=wa(e),{sortBy:r,multiSort:u,mustSort:s}=ya(e),{page:f,itemsPerPage:d}=la(e),{columns:m,headers:p,sortFunctions:v,sortRawFunctions:y,filterFunctions:h}=va(e,{groupBy:n,showSelect:_(e,"showSelect"),showExpand:_(e,"showExpand")}),{items:x}=Ra(e,m),o=_(e,"search"),{filteredItems:P}=Jt(e,x,o,{transform:N=>N.columns,customKeyFilter:h}),{toggleSort:g}=pa({sortBy:r,multiSort:u,mustSort:s,page:f}),{sortByWithGroups:D,opened:B,extractRows:k,isGroupOpen:$,toggleGroup:R}=ka({groupBy:n,sortBy:r}),{sortedItems:b}=xa(e,P,D,{transform:N=>N.columns,sortFunctions:v,sortRawFunctions:y}),{flatItems:c}=Va(b,n,B),S=I(()=>c.value.length),{startIndex:w,stopIndex:V,pageCount:T,setItemsPerPage:O}=na({page:f,itemsPerPage:d,itemsLength:S}),{paginatedItems:j}=sa({items:c,startIndex:w,stopIndex:V,itemsPerPage:d}),z=I(()=>k(j.value)),{isSelected:ue,select:st,selectAll:ut,toggleSelect:ot,someSelected:it,allSelected:dt}=ba(e,{allItems:x,currentPage:z}),{isExpanded:ct,toggleExpand:ft}=Ca(e);Oa({page:f,itemsPerPage:d,sortBy:r,groupBy:n,search:o}),ce({VDataTableRows:{hideNoData:_(e,"hideNoData"),noDataText:_(e,"noDataText"),loading:_(e,"loading"),loadingText:_(e,"loadingText")}});const A=I(()=>({page:f.value,itemsPerPage:d.value,sortBy:r.value,pageCount:T.value,toggleSort:g,setItemsPerPage:O,someSelected:it.value,allSelected:dt.value,isSelected:ue,select:st,selectAll:ut,toggleSelect:ot,isExpanded:ct,toggleExpand:ft,isGroupOpen:$,toggleGroup:R,items:z.value.map(N=>N.raw),internalItems:z.value,groupedItems:j.value,columns:m.value,headers:p.value}));return U(()=>{const N=Ce.filterProps(e),vt=Fe.filterProps(e),gt=Be.filterProps(e),mt=_e.filterProps(e);return i(_e,C({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},mt),{top:()=>{var Q;return(Q=t.top)==null?void 0:Q.call(t,A.value)},default:()=>{var Q,be,he,ye,pe,xe;return t.default?t.default(A.value):i(K,null,[(Q=t.colgroup)==null?void 0:Q.call(t,A.value),i("thead",null,[i(Fe,vt,t)]),(be=t.thead)==null?void 0:be.call(t,A.value),i("tbody",null,[(he=t["body.prepend"])==null?void 0:he.call(t,A.value),t.body?t.body(A.value):i(Be,C(a,gt,{items:j.value}),t),(ye=t["body.append"])==null?void 0:ye.call(t,A.value)]),(pe=t.tbody)==null?void 0:pe.call(t,A.value),(xe=t.tfoot)==null?void 0:xe.call(t,A.value)])},bottom:()=>t.bottom?t.bottom(A.value):i(K,null,[i(Kt,null,null),i(Ce,N,{prepend:t["footer.prepend"]})])})}),{}}});export{Ka as V,qa as _};
diff --git a/_nuxt/Dfnfu-Af.js b/_nuxt/Dfnfu-Af.js
new file mode 100644
index 0000000..70c08e7
--- /dev/null
+++ b/_nuxt/Dfnfu-Af.js
@@ -0,0 +1 @@
+import{F as h,G as m,aF as b,X as d,a3 as v,I as f,a5 as c,b6 as u,L as g,A as t,aT as T}from"./-VvI6Lr7.js";const x=h({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...m(),...b(),...d(),...v()},"VTable"),k=f()({name:"VTable",props:x(),setup(a,r){let{slots:e,emit:y}=r;const{themeClasses:i}=c(a),{densityClasses:n}=u(a);return g(()=>t(a.tag,{class:["v-table",{"v-table--fixed-height":!!a.height,"v-table--fixed-header":a.fixedHeader,"v-table--fixed-footer":a.fixedFooter,"v-table--has-top":!!e.top,"v-table--has-bottom":!!e.bottom,"v-table--hover":a.hover},i.value,n.value,a.class],style:a.style},{default:()=>{var o,s,l;return[(o=e.top)==null?void 0:o.call(e),e.default?t("div",{class:"v-table__wrapper",style:{height:T(a.height)}},[t("table",null,[e.default()])]):(s=e.wrapper)==null?void 0:s.call(e),(l=e.bottom)==null?void 0:l.call(e)]}})),{}}});export{k as V,x as m};
diff --git a/_nuxt/DiQtFf9u.js b/_nuxt/DiQtFf9u.js
new file mode 100644
index 0000000..5e2e844
--- /dev/null
+++ b/_nuxt/DiQtFf9u.js
@@ -0,0 +1 @@
+import{_ as a}from"./CBLhoS0v.js";import{d as n,bt as r,ay as _,an as c,v as i,a8 as p,B as m,A as f}from"./-VvI6Lr7.js";import{V as l}from"./n5OR3jin.js";import"./l9yxdLf0.js";import"./VHr5Aleq.js";const y=n({__name:"settings",async setup(u){let t,e;const s=r();return _(s),[t,e]=c(()=>s.fetch()),await t,e(),(d,g)=>{const o=a;return i(),p(l,null,{default:m(()=>[f(o)]),_:1})}}});export{y as default};
diff --git a/_nuxt/DodWYXGC.js b/_nuxt/DodWYXGC.js
new file mode 100644
index 0000000..6984578
--- /dev/null
+++ b/_nuxt/DodWYXGC.js
@@ -0,0 +1 @@
+import{d as r,v as c,a8 as _,B as l,A as e,a9 as o,C as a,aa as d,ab as s,y as t,z as n}from"./-VvI6Lr7.js";import{V as m}from"./Dfnfu-Af.js";import{V as f}from"./n5OR3jin.js";const h=t("td",null,"Total distance hiked:",-1),T=t("td",null,"Total elevation climbed:",-1),p=t("td",null,"Total distance hiked:",-1),V=t("td",null,"Total elevation climbed:",-1),C=t("td",null,"Total item count:",-1),k=t("td",null,"Total items weight:",-1),v=t("td",null,"Favourite Inventory:",-1),u=100,i=1e3,b=100,x=100,y="Tent",F=r({__name:"index",setup(g){return(B,I)=>(c(),_(f,null,{default:l(()=>[e(s,null,{default:l(()=>[e(o,null,{default:l(()=>[a("Friends")]),_:1}),e(d)]),_:1}),e(s,null,{default:l(()=>[e(o,null,{default:l(()=>[a("Summary")]),_:1}),e(d,null,{default:l(()=>[e(m,null,{default:l(()=>[t("tbody",null,[t("tr",null,[h,t("td",null,n(u)+" km")]),t("tr",null,[T,t("td",null,n(i)+" m")]),t("tr",null,[p,t("td",null,n(u)+" km")]),t("tr",null,[V,t("td",null,n(i)+" m")]),t("tr",null,[C,t("td",null,n(b))]),t("tr",null,[k,t("td",null,n(x)+" kg")]),t("tr",null,[v,t("td",null,n(y))])])]),_:1}),a(" Total Items Category distribution: ")]),_:1})]),_:1})]),_:1}))}});export{F as default};
diff --git a/_nuxt/Dp0yv6TN.js b/_nuxt/Dp0yv6TN.js
new file mode 100644
index 0000000..199d741
--- /dev/null
+++ b/_nuxt/Dp0yv6TN.js
@@ -0,0 +1 @@
+import{u as I,_ as B}from"./CJ7Tzvjl.js";import{V as D,_ as N}from"./DS0W2dGG.js";import{d as k,ax as Z,a7 as j,an as q,r as z,i as E,v as i,a8 as V,B as e,A as o,af as a,ag as F,y as C,C as p,z as b,ak as _,x as f,aw as y,S as g,aj as A,q as h,ab as W,D as R,E as U,_ as w}from"./-VvI6Lr7.js";import{V as G}from"./TjYH8LVs.js";import{V as J}from"./n5OR3jin.js";import{V as K}from"./-cMAfuNF.js";import"./FoGmEwba.js";import"./CufEZoaj.js";import"./l9yxdLf0.js";import"./VHr5Aleq.js";import"./Dfnfu-Af.js";import"./DBf96Ybk.js";const O=l=>(R("data-v-97041028"),l=l(),U(),l),P={key:0,class:"fix-overflow"},Q={key:0},X={key:0},Y=O(()=>C("span",null," Edit ",-1)),ee=k({__name:"list",async setup(l){let r,c;const u=Z(),v=j(u);[r,c]=q(()=>u.fetch()),await r,c();const{xsAndDown:m}=I(),x=[{title:"Name",value:"name",sortable:!0,filterable:!0},{title:"Category",value:"category",sortable:!0,filterable:!0},{title:"Weight",value:"weight",sortable:!0,filterable:!0},{title:"",value:"edit",align:"end",sortable:!1,filterable:!1}],d=z(""),L={weight:(n,s)=>n-s,category:(n,s)=>n.name.localeCompare(s.name),amount:(n,s)=>n-s},H={};return(n,s)=>{const M=E("Vue3Marquee"),S=B,T=N;return i(),V(W,null,{text:e(()=>[o(G,{modelValue:a(d),"onUpdate:modelValue":s[0]||(s[0]=t=>F(d)?d.value=t:null),label:"Search","prepend-inner-icon":"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",variant:"outlined","hide-details":"","single-line":""},null,8,["modelValue"])]),default:e(()=>[o(D,{id:"items-table",items:a(v).entities,headers:x,"items-per-page":"50",search:a(d),"custom-key-sort":L,"custom-filter":H,"mobile-breakpoint":"0"},{"item.name":e(({item:t})=>[C("div",null,[t.name.length>18?(i(),V(M,{key:0,"animate-on-overflow-only":"true"},{default:e(()=>[p(b(t.name)+" ",1)]),_:2},1024)):_("",!0)]),t.name.length<=18?(i(),f("span",P,b(t.name),1)):_("",!0)]),"header.category":e(()=>[C("div",{class:y(`d-flex ${a(m)?"justify-center align-center":""}`)},[o(g,null,{default:e(()=>[p("M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z")]),_:1}),a(m)?_("",!0):(i(),f("span",Q," Category "))],2)]),"header.weight":e(()=>[C("div",{class:y(`d-flex ${a(m)?"justify-center align-center":""}`)},[o(g,null,{default:e(()=>[p("M12,3A4,4 0 0,1 16,7C16,7.73 15.81,8.41 15.46,9H18C18.95,9 19.75,9.67 19.95,10.56C21.96,18.57 22,18.78 22,19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19C2,18.78 2.04,18.57 4.05,10.56C4.25,9.67 5.05,9 6,9H8.54C8.19,8.41 8,7.73 8,7A4,4 0 0,1 12,3M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5Z")]),_:1}),a(m)?_("",!0):(i(),f("span",X," Weight "))],2)]),"item.category":e(({item:t})=>[o(S,{category:t.category},null,8,["category"])]),"item.edit":e(({item:t})=>[o(A,{block:"",class:"d-block d-sm-none",onClick:$=>("navigateTo"in n?n.navigateTo:a(h))(`/items/${t.id}`)},{default:e(()=>[o(g,null,{default:e(()=>[p("M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z")]),_:1})]),_:2},1032,["onClick"]),o(A,{block:"",class:"d-none d-sm-block",onClick:$=>("navigateTo"in n?n.navigateTo:a(h))(`/items/${t.id}`)},{default:e(()=>[Y]),_:2},1032,["onClick"])]),"item.weight":e(({item:t})=>[o(T,{weight:t.weight,xsAndDown:a(m)},null,8,["weight","xsAndDown"])]),_:1},8,["items","search"])]),_:1})}}}),te=w(ee,[["__scopeId","data-v-97041028"]]),ae=k({__name:"index",setup(l){return(r,c)=>{const u=te;return i(),V(J,{class:"px-0"},{default:e(()=>[o(a(K),{icon:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",class:"pa-5",onClick:c[0]||(c[0]=v=>("navigateTo"in r?r.navigateTo:a(h))("/items/new"))}),o(u)]),_:1})}}}),Ce=w(ae,[["__scopeId","data-v-7309b5b6"]]);export{Ce as default};
diff --git a/_nuxt/DvMxV5Ax.js b/_nuxt/DvMxV5Ax.js
new file mode 100644
index 0000000..5a20015
--- /dev/null
+++ b/_nuxt/DvMxV5Ax.js
@@ -0,0 +1 @@
+import{_ as a,t as o,v as s,x as i,y as e,z as r,D as u,E as l}from"./-VvI6Lr7.js";const c=t=>(u("data-v-f271b975"),t=t(),l(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},b=["textContent"],g=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return o({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(x,m)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,b),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,g)])]))}},k=a(f,[["__scopeId","data-v-f271b975"]]);export{k as default};
diff --git a/_nuxt/Dy845a-Y.js b/_nuxt/Dy845a-Y.js
new file mode 100644
index 0000000..b5fdb56
--- /dev/null
+++ b/_nuxt/Dy845a-Y.js
@@ -0,0 +1,322 @@
+import{F as O,G as Y,H as z,I as L,J as U,K as J,L as R,A as t,M as _,N as $,V as Q,O as W,R as ee,P as B,c as T,Q as te,S as I,T as oe,U as ie,W as ne,X as ae,Y as se,Z as re,$ as le,a0 as ce,a1 as P,a2 as de,a3 as ue,a4 as he,a5 as pe,a6 as fe,a7 as l,d as me,r as Te,i as be,v as m,a8 as E,B as i,a9 as N,C as u,aa as Ie,ab as S,ac as ye,x as D,ad as V,ae as M,af as ge,ag as Ee,ah as Oe,z as b,ai as Le,y as v,aj as F,ak as w}from"./-VvI6Lr7.js";import{V as Re}from"./n5OR3jin.js";import{V as Ae,a as C}from"./CRmmW6t3.js";const G=O({...Y(),...z()},"VExpansionPanelText"),H=L()({name:"VExpansionPanelText",props:G(),setup(e,c){let{slots:n}=c;const o=U(y);if(!o)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:h,onAfterLeave:r}=J(e,o.isSelected);return R(()=>t(Q,{onAfterLeave:r},{default:()=>{var s;return[_(t("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&h.value&&t("div",{class:"v-expansion-panel-text__wrapper"},[(s=n.default)==null?void 0:s.call(n)])]),[[$,o.isSelected.value]])]}})),{}}}),j=O({color:String,expandIcon:{type:W,default:"$expand"},collapseIcon:{type:W,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Y()},"VExpansionPanelTitle"),k=L()({name:"VExpansionPanelTitle",directives:{Ripple:ee},props:j(),setup(e,c){let{slots:n}=c;const o=U(y);if(!o)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:h,backgroundColorStyles:r}=B(e,"color"),s=T(()=>({collapseIcon:e.collapseIcon,disabled:o.disabled.value,expanded:o.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return R(()=>{var p;return _(t("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":o.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},h.value,e.class],style:[r.value,e.style],type:"button",tabindex:o.disabled.value?-1:void 0,disabled:o.disabled.value,"aria-expanded":o.isSelected.value,onClick:e.readonly?void 0:o.toggle},[t("span",{class:"v-expansion-panel-title__overlay"},null),(p=n.default)==null?void 0:p.call(n,s.value),!e.hideActions&&t("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(s.value):t(I,{icon:o.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[te("ripple"),e.ripple]])}),{}}}),Z=O({title:String,text:String,bgColor:String,...oe(),...ie(),...ne(),...ae(),...j(),...G()},"VExpansionPanel"),Ne=L()({name:"VExpansionPanel",props:Z(),emits:{"group:selected":e=>!0},setup(e,c){let{slots:n}=c;const o=se(e,y),{backgroundColorClasses:h,backgroundColorStyles:r}=B(e,"bgColor"),{elevationClasses:s}=re(e),{roundedClasses:p}=le(e),a=T(()=>(o==null?void 0:o.disabled.value)||e.disabled),g=T(()=>o.group.items.value.reduce((f,d,A)=>(o.group.selected.value.includes(d.id)&&f.push(A),f),[])),K=T(()=>{const f=o.group.items.value.findIndex(d=>d.id===o.id);return!o.isSelected.value&&g.value.some(d=>d-f===1)}),X=T(()=>{const f=o.group.items.value.findIndex(d=>d.id===o.id);return!o.isSelected.value&&g.value.some(d=>d-f===-1)});return ce(y,o),R(()=>{const f=!!(n.text||e.text),d=!!(n.title||e.title),A=k.filterProps(e),q=H.filterProps(e);return t(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":o.isSelected.value,"v-expansion-panel--before-active":K.value,"v-expansion-panel--after-active":X.value,"v-expansion-panel--disabled":a.value},p.value,h.value,e.class],style:[r.value,e.style]},{default:()=>{var x;return[t("div",{class:["v-expansion-panel__shadow",...s.value]},null),d&&t(k,P({key:"title"},A),{default:()=>[n.title?n.title():e.title]}),f&&t(H,P({key:"text"},q),{default:()=>[n.text?n.text():e.text]}),(x=n.default)==null?void 0:x.call(n)]}})}),{}}}),y=Symbol.for("vuetify:v-expansion-panel"),Se=["default","accordion","inset","popout"],ve=O({flat:Boolean,...de(),...Z(),...ue(),variant:{type:String,default:"default",validator:e=>Se.includes(e)}},"VExpansionPanels"),we=L()({name:"VExpansionPanels",props:ve(),emits:{"update:modelValue":e=>!0},setup(e,c){let{slots:n}=c;he(e,y);const{themeClasses:o}=pe(e),h=T(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return fe({VExpansionPanel:{bgColor:l(e,"bgColor"),collapseIcon:l(e,"collapseIcon"),color:l(e,"color"),eager:l(e,"eager"),elevation:l(e,"elevation"),expandIcon:l(e,"expandIcon"),focusable:l(e,"focusable"),hideActions:l(e,"hideActions"),readonly:l(e,"readonly"),ripple:l(e,"ripple"),rounded:l(e,"rounded"),static:l(e,"static")}}),R(()=>t(e.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},o.value,h.value,e.class],style:e.style},n)),{}}}),Ce={class:"ml-2"},He={class:"d-flex justify-center"},Pe=me({__name:"about",setup(e){const c=Te([]),n=[{title:"nougatbyte",icon:"M12,11.64L7.92,2H16.08L12,11.64M12,21.95L3.27,4.91H7.84L12,14.47L16.16,4.91H20.73L12,21.95Z",link:"https://github.com/nougatbyte"},{title:"casraw",icon:"M12,11.64L7.92,2H16.08L12,11.64M12,21.95L3.27,4.91H7.84L12,14.47L16.16,4.91H20.73L12,21.95Z",link:"#"},{title:"pye",icon:"M12,11.64L7.92,2H16.08L12,11.64M12,21.95L3.27,4.91H7.84L12,14.47L16.16,4.91H20.73L12,21.95Z",link:"#"}],o=[{title:"Vite",icon:"custom:vite",link:"https://vitejs.dev/",supportLink:"",licence:`MIT License
+
+Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.`},{title:"Vuetify",icon:"custom:vuetify",link:"https://vuetifyjs.com",supportLink:"https://vuetifyjs.com/en/introduction/sponsors-and-backers/#preamble",licence:`The MIT License (MIT)
+
+Copyright (c) 2016-2023 John Jeremy Leider
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in the
+Software without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
+Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+`},{title:"Vue",icon:"custom:vue",link:"https://vuejs.org/",supportLink:"https://vuejs.org/sponsor/",licence:`The MIT License (MIT)
+
+Copyright (c) 2013-present, Yuxi (Evan) You
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.`},{title:"Supabase",icon:"custom:supabase",link:"https://supabase.com/",supportLink:"https://supabase.com/pricing",licence:` Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2024 Supabase
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.`},{title:"Pl@ntNet",icon:"M2,3H5.5L12,15L18.5,3H22L12,21L2,3M6.5,3H9.5L12,7.58L14.5,3H17.5L12,13.08L6.5,3Z",link:"https://plantnet.org",supportLink:"https://plantnet.org/donations/",licence:`MIT License
+
+Copyright (c) 2022 Cos4Cloud & Pl@ntNet
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.`},{title:"gpx.studio",icon:"M2,3H5.5L12,15L18.5,3H22L12,21L2,3M6.5,3H9.5L12,7.58L14.5,3H17.5L12,13.08L6.5,3Z",link:"https://gpx.studio/about.html",supportLink:"https://ko-fi.com/gpxstudio",licence:`Copyright 2019 Vianney Coppé
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in the
+Software without restriction, including without limitation the rights to use, copy,
+modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.`},{title:"OpenStreetMap",icon:"custom:osm",link:"https://openstreetmap.org",supportLink:"https://donate.openstreetmap.org/",licence:""},{title:"Material Design Icons",icon:"M2,3H5.5L12,15L18.5,3H22L12,21L2,3M6.5,3H9.5L12,7.58L14.5,3H17.5L12,13.08L6.5,3Z",link:"https://pictogrammers.com/library/mdi/",supportLink:"",licence:`Pictogrammers Free License
+--------------------------
+
+Last Updated: February 1st, 2023
+
+This package is released as free, open-source, and GPL friendly by
+the [Pictogrammers](https://pictogrammers.com/). You may use it
+for commercial projects, open-source projects, or anything really.
+
+# Icons: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
+Some of the icons are redistributed under the Apache 2.0 license. All other
+icons are either redistributed under their respective licenses or are
+distributed under the Apache 2.0 license.
+
+# Fonts: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
+All web and desktop fonts are distributed under the Apache 2.0 license. Web
+and desktop fonts contain some icons that are redistributed under the Apache
+2.0 license. All other icons are either redistributed under their respective
+licenses or are distributed under the Apache 2.0 license.
+
+# Code: MIT (https://opensource.org/licenses/MIT)
+The MIT license applies to all non-font and non-icon files.`},{title:"Icons by Cahya Kurniawan",icon:"M2,3H5.5L12,15L18.5,3H22L12,21L2,3M6.5,3H9.5L12,7.58L14.5,3H17.5L12,13.08L6.5,3Z",link:"https://dribbble.com/sikeystudio?ref=svgrepo.com",supportLink:"",licence:`Vectors and icons by Cahya Kurniawan
+[https://dribbble.com/sikeystudio?ref=svgrepo.com] in CC Attribution License
+via SVG Repo
+[https://www.svgrepo.com/]`}];function h(r){for(let s=r.length-1;s>0;s--){const p=Math.floor(Math.random()*(s+1));[r[s],r[p]]=[r[p],r[s]]}}return h(n),h(o),(r,s)=>{const p=be("v-list-item-icon");return m(),E(Re,null,{default:i(()=>[t(S,{class:"mb-2"},{default:i(()=>[t(N,null,{default:i(()=>[u("About")]),_:1}),t(Ie,null,{default:i(()=>[u(" This app is a work in progress and is not yet ready for production use. It is a personal project and is not affiliated with any organization. The app is open source and the code can be found on GitHub. Any feedback or suggestions are welcome. This is just AI generated text. I will update this later. ")]),_:1})]),_:1}),t(S,{class:"mb-2"},{default:i(()=>[t(N,null,{default:i(()=>[t(I,{color:"primary"},{default:i(()=>[u("M5 9.15V7C5 5.9 5.9 5 7 5H17C18.1 5 19 5.9 19 7V9.16C17.84 9.57 17 10.67 17 11.97V14H7V11.96C7 10.67 6.16 9.56 5 9.15M20 10C18.9 10 18 10.9 18 12V15H6V12C6 10.9 5.11 10 4 10S2 10.9 2 12V17C2 18.1 2.9 19 4 19V21H6V19H18V21H20V19C21.1 19 22 18.1 22 17V12C22 10.9 21.1 10 20 10Z")]),_:1}),u(" Main contributors")]),_:1}),t(ye,null,{default:i(()=>[(m(),D(M,null,V(n,a=>t(Oe,{key:a.title,link:"",target:"_blank",href:a.link},{prepend:i(()=>[t(p,{class:"pr-3"},{default:i(()=>[t(I,null,{default:i(()=>[u(b(a.icon),1)]),_:2},1024)]),_:2},1024)]),default:i(()=>[t(Le,null,{default:i(()=>[u(b(a.title),1)]),_:2},1024)]),_:2},1032,["href"])),64))]),_:1})]),_:1}),t(S,null,{default:i(()=>[t(N,null,{default:i(()=>[t(I,{color:"primary"},{default:i(()=>[u("M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z")]),_:1}),u(" Made possible by")]),_:1}),t(we,{variant:"inset",modelValue:ge(c),"onUpdate:modelValue":s[0]||(s[0]=a=>Ee(c)?c.value=a:null)},{default:i(()=>[(m(),D(M,null,V(o,(a,g)=>t(Ne,{key:g},{default:i(()=>[t(k,{"expand-icon":"M7,10L12,15L17,10H7Z"},{default:i(()=>[t(I,null,{default:i(()=>[u(b(a.icon),1)]),_:2},1024),v("span",Ce,b(a.title),1)]),_:2},1024),t(H,null,{default:i(()=>[t(Ae,{class:"my-2"},{default:i(()=>[a.link?(m(),E(C,{key:0,class:"text-center"},{default:i(()=>[t(F,{color:"primary","prepend-icon":"M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z",href:a.link,target:"_blank",rel:"noopener noreferrer"},{default:i(()=>[u("Website")]),_:2},1032,["href"])]),_:2},1024)):w("",!0),a.supportLink?(m(),E(C,{key:1,class:"text-center"},{default:i(()=>[a.supportLink?(m(),E(F,{key:0,color:"primary","prepend-icon":"M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z",href:a.supportLink,target:"_blank",rel:"noopener noreferrer"},{default:i(()=>[u("Donate")]),_:2},1032,["href"])):w("",!0)]),_:2},1024)):w("",!0),t(C,{cols:"12"},{default:i(()=>[v("div",He,[v("pre",null,b(a.licence),1)])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})}}});export{Pe as default};
diff --git a/_nuxt/FoGmEwba.js b/_nuxt/FoGmEwba.js
new file mode 100644
index 0000000..f9d7d4b
--- /dev/null
+++ b/_nuxt/FoGmEwba.js
@@ -0,0 +1 @@
+import{F as Q,O as G,G as X,aZ as be,X as Z,a2 as ue,I as j,aK as Se,aL as Ce,a4 as re,ap as F,c as k,aM as ee,c5 as Ie,bc as le,as as xe,L as de,A as i,c6 as ae,S as _,c7 as Ve,aW as Pe,a3 as ve,aH as fe,a5 as pe,a6 as ze,a7 as D,a1 as he,b2 as te,aE as Ae,aF as _e,T as Ee,U as Re,W as we,c8 as Te,aG as Fe,R as Ge,aJ as Oe,c9 as Be,ca as Me,b6 as We,Z as De,$ as Le,cb as He,aI as $e,Y as Ke,cc as qe,M as ne,Q as Ne,cd as Ue,b_ as Qe,bg as L,N as Xe,ae as se,be as ie}from"./-VvI6Lr7.js";function Ze(e){let{selectedElement:n,containerElement:t,isRtl:u,isHorizontal:o}=e;const y=O(o,t),c=ye(o,u,t),g=O(o,n),v=ge(o,n),m=g*.4;return c>v?v-m:c+ytypeof e=="boolean"||["always","desktop","mobile"].includes(e)},...X(),...be(),...Z(),...ue({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),ce=j()({name:"VSlideGroup",props:ke(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const{isRtl:u}=Se(),{displayClasses:o,mobile:y}=Ce(e),c=re(e,e.symbol),g=F(!1),v=F(0),m=F(0),I=F(0),d=k(()=>e.direction==="horizontal"),{resizeRef:f,contentRect:E}=ee(),{resizeRef:p,contentRect:V}=ee(),s=Ie(),b=k(()=>({container:f.value,duration:200,easing:"easeOutQuart"})),H=k(()=>c.selected.value.length?c.items.value.findIndex(l=>l.id===c.selected.value[0]):-1),S=k(()=>c.selected.value.length?c.items.value.findIndex(l=>l.id===c.selected.value[c.selected.value.length-1]):-1);if(le){let l=-1;xe(()=>[c.selected.value,E.value,V.value,d.value],()=>{cancelAnimationFrame(l),l=requestAnimationFrame(()=>{if(E.value&&V.value){const a=d.value?"width":"height";m.value=E.value[a],I.value=V.value[a],g.value=m.value+1=0&&p.value){const a=p.value.children[S.value];R(a,e.centerActive)}})})}const P=F(!1);function R(l,a){let r=0;a?r=je({containerElement:f.value,isHorizontal:d.value,selectedElement:l}):r=Ze({containerElement:f.value,isHorizontal:d.value,isRtl:u.value,selectedElement:l}),B(r)}function B(l){if(!le||!f.value)return;const a=O(d.value,f.value),r=ye(d.value,u.value,f.value);if(!(oe(d.value,f.value)<=a||Math.abs(l-r)<16)){if(d.value&&u.value&&f.value){const{scrollWidth:W,offsetWidth:U}=f.value;l=W-U-l}d.value?s.horizontal(l,b.value):s(l,b.value)}}function h(l){const{scrollTop:a,scrollLeft:r}=l.target;v.value=d.value?r:a}function x(l){if(P.value=!0,!(!g.value||!p.value)){for(const a of l.composedPath())for(const r of p.value.children)if(r===a){R(r);return}}}function $(l){P.value=!1}let w=!1;function M(l){var a;!w&&!P.value&&!(l.relatedTarget&&((a=p.value)!=null&&a.contains(l.relatedTarget)))&&C(),w=!1}function T(){w=!0}function K(l){if(!p.value)return;function a(r){l.preventDefault(),C(r)}d.value?l.key==="ArrowRight"?a(u.value?"prev":"next"):l.key==="ArrowLeft"&&a(u.value?"next":"prev"):l.key==="ArrowDown"?a("next"):l.key==="ArrowUp"&&a("prev"),l.key==="Home"?a("first"):l.key==="End"&&a("last")}function C(l){var r,A;if(!p.value)return;let a;if(!l)a=Ve(p.value)[0];else if(l==="next"){if(a=(r=p.value.querySelector(":focus"))==null?void 0:r.nextElementSibling,!a)return C("first")}else if(l==="prev"){if(a=(A=p.value.querySelector(":focus"))==null?void 0:A.previousElementSibling,!a)return C("last")}else l==="first"?a=p.value.firstElementChild:l==="last"&&(a=p.value.lastElementChild);a&&a.focus({preventScroll:!0})}function z(l){const a=d.value&&u.value?-1:1,r=(l==="prev"?-a:a)*m.value;let A=v.value+r;if(d.value&&u.value&&f.value){const{scrollWidth:W,offsetWidth:U}=f.value;A+=W-U}B(A)}const q=k(()=>({next:c.next,prev:c.prev,select:c.select,isSelected:c.isSelected})),N=k(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!y.value;case!0:return g.value||Math.abs(v.value)>0;case"mobile":return y.value||g.value||Math.abs(v.value)>0;default:return!y.value&&(g.value||Math.abs(v.value)>0)}}),J=k(()=>Math.abs(v.value)>1),Y=k(()=>{if(!f.value)return!1;const l=oe(d.value,f.value),a=Je(d.value,f.value);return l-a-Math.abs(v.value)>1});return de(()=>i(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":N.value,"v-slide-group--is-overflowing":g.value},o.value,e.class],style:e.style,tabindex:P.value||c.selected.value.length?-1:0,onFocus:M},{default:()=>{var l,a,r;return[N.value&&i("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!J.value}],onMousedown:T,onClick:()=>J.value&&z("prev")},[((l=t.prev)==null?void 0:l.call(t,q.value))??i(ae,null,{default:()=>[i(_,{icon:u.value?e.nextIcon:e.prevIcon},null)]})]),i("div",{key:"container",ref:f,class:"v-slide-group__container",onScroll:h},[i("div",{ref:p,class:"v-slide-group__content",onFocusin:x,onFocusout:$,onKeydown:K},[(a=t.default)==null?void 0:a.call(t,q.value)])]),N.value&&i("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Y.value}],onMousedown:T,onClick:()=>Y.value&&z("next")},[((r=t.next)==null?void 0:r.call(t,q.value))??i(ae,null,{default:()=>[i(_,{icon:u.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:c.selected,scrollTo:z,scrollOffset:v,focus:C}}}),me=Symbol.for("vuetify:v-chip-group"),el=Q({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Pe},...ke(),...X(),...ue({selectedClass:"v-chip--selected"}),...Z(),...ve(),...fe({variant:"tonal"})},"VChipGroup"),tl=j()({name:"VChipGroup",props:el(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const{themeClasses:u}=pe(e),{isSelected:o,select:y,next:c,prev:g,selected:v}=re(e,me);return ze({VChip:{color:D(e,"color"),disabled:D(e,"disabled"),filter:D(e,"filter"),variant:D(e,"variant")}}),de(()=>{const m=ce.filterProps(e);return i(ce,he(m,{class:["v-chip-group",{"v-chip-group--column":e.column},u.value,e.class],style:e.style}),{default:()=>{var I;return[(I=t.default)==null?void 0:I.call(t,{isSelected:o,select:y,next:c,prev:g,selected:v.value})]}})}),{}}}),ll=Q({activeClass:String,appendAvatar:String,appendIcon:G,closable:Boolean,closeIcon:{type:G,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:G,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:te(),onClickOnce:te(),...Ae(),...X(),..._e(),...Ee(),...Re(),...we(),...Te(),...Fe(),...Z({tag:"span"}),...ve(),...fe({variant:"tonal"})},"VChip"),nl=j()({name:"VChip",directives:{Ripple:Ge},props:ll(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,n){let{attrs:t,emit:u,slots:o}=n;const{t:y}=Oe(),{borderClasses:c}=Be(e),{colorClasses:g,colorStyles:v,variantClasses:m}=Me(e),{densityClasses:I}=We(e),{elevationClasses:d}=De(e),{roundedClasses:f}=Le(e),{sizeClasses:E}=He(e),{themeClasses:p}=pe(e),V=$e(e,"modelValue"),s=Ke(e,me,!1),b=qe(e,t),H=k(()=>e.link!==!1&&b.isLink.value),S=k(()=>!e.disabled&&e.link!==!1&&(!!s||e.link||b.isClickable.value)),P=k(()=>({"aria-label":y(e.closeLabel),onClick(h){h.preventDefault(),h.stopPropagation(),V.value=!1,u("click:close",h)}}));function R(h){var x;u("click",h),S.value&&((x=b.navigate)==null||x.call(b,h),s==null||s.toggle())}function B(h){(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),R(h))}return()=>{const h=b.isLink.value?"a":e.tag,x=!!(e.appendIcon||e.appendAvatar),$=!!(x||o.append),w=!!(o.close||e.closable),M=!!(o.filter||e.filter)&&s,T=!!(e.prependIcon||e.prependAvatar),K=!!(T||o.prepend),C=!s||s.isSelected.value;return V.value&&ne(i(h,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":S.value,"v-chip--filter":M,"v-chip--pill":e.pill},p.value,c.value,C?g.value:void 0,I.value,d.value,f.value,E.value,m.value,s==null?void 0:s.selectedClass.value,e.class],style:[C?v.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:b.href.value,tabindex:S.value?0:void 0,onClick:R,onKeydown:S.value&&!H.value&&B},{default:()=>{var z;return[Ue(S.value,"v-chip"),M&&i(Qe,{key:"filter"},{default:()=>[ne(i("div",{class:"v-chip__filter"},[o.filter?i(L,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},o.filter):i(_,{key:"filter-icon",icon:e.filterIcon},null)]),[[Xe,s.isSelected.value]])]}),K&&i("div",{key:"prepend",class:"v-chip__prepend"},[o.prepend?i(L,{key:"prepend-defaults",disabled:!T,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},o.prepend):i(se,null,[e.prependIcon&&i(_,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&i(ie,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),i("div",{class:"v-chip__content","data-no-activator":""},[((z=o.default)==null?void 0:z.call(o,{isSelected:s==null?void 0:s.isSelected.value,selectedClass:s==null?void 0:s.selectedClass.value,select:s==null?void 0:s.select,toggle:s==null?void 0:s.toggle,value:s==null?void 0:s.value.value,disabled:e.disabled}))??e.text]),$&&i("div",{key:"append",class:"v-chip__append"},[o.append?i(L,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},o.append):i(se,null,[e.appendIcon&&i(_,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&i(ie,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),w&&i("button",he({key:"close",class:"v-chip__close",type:"button"},P.value),[o.close?i(L,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},o.close):i(_,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[Ne("ripple"),S.value&&e.ripple,null]])}}});export{nl as V,tl as a};
diff --git a/_nuxt/Ne0eQPea.js b/_nuxt/Ne0eQPea.js
new file mode 100644
index 0000000..5f9f415
--- /dev/null
+++ b/_nuxt/Ne0eQPea.js
@@ -0,0 +1 @@
+import{d as V,r as u,v as C,a8 as _,B as l,A as e,a9 as b,C as i,aa as g,b3 as d,af as m,ag as f,aj as v,ab as w,al as x}from"./-VvI6Lr7.js";import{V as c}from"./BwUqDjZt.js";import{V as p}from"./TjYH8LVs.js";import{V as B}from"./n5OR3jin.js";import"./l9yxdLf0.js";const L=V({__name:"login",setup(S){const o=u(""),t=u("");async function r(){const s=x().users;await s.signIn(o.value,t.value),console.log(s.user)}return(s,a)=>(C(),_(B,null,{default:l(()=>[e(w,null,{default:l(()=>[e(b,null,{default:l(()=>[i("Login")]),_:1}),e(g,null,{default:l(()=>[e(c,{onSubmit:a[2]||(a[2]=d(()=>{},["prevent"]))},{default:l(()=>[e(p,{modelValue:m(o),"onUpdate:modelValue":a[0]||(a[0]=n=>f(o)?o.value=n:null),label:"Email",required:"",onSubmit:d(r,["prevent"])},null,8,["modelValue"]),e(p,{modelValue:m(t),"onUpdate:modelValue":a[1]||(a[1]=n=>f(t)?t.value=n:null),label:"Password",required:"",type:"password"},null,8,["modelValue"]),e(v,{type:"submit",onClick:r},{default:l(()=>[i("Login")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{L as default};
diff --git a/_nuxt/Qrx5wsVu.js b/_nuxt/Qrx5wsVu.js
new file mode 100644
index 0000000..e52af3d
--- /dev/null
+++ b/_nuxt/Qrx5wsVu.js
@@ -0,0 +1 @@
+import{d as l,al as u,r as m,i as f,v as e,a8 as n,B as t,x as p,ae as d,ad as x,af as V,ah as C,A as s,ai as h,C as L,z as k,ac as v}from"./-VvI6Lr7.js";import{V as B}from"./n5OR3jin.js";const S=l({__name:"list",setup(_){const a=u().contacts,o=m(a.entities);return a.fetch(),(r,g)=>{const i=f("v-list-item-content");return e(),n(v,null,{default:t(()=>[(e(!0),p(d,null,x(V(o),c=>(e(),n(C,{key:c.id},{default:t(()=>[s(i,null,{default:t(()=>[s(h,null,{default:t(()=>[L(k(c.name),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})}}}),N=l({__name:"index",setup(_){return(a,o)=>{const r=S;return e(),n(B,null,{default:t(()=>[s(r)]),_:1})}}});export{N as default};
diff --git a/_nuxt/TjYH8LVs.js b/_nuxt/TjYH8LVs.js
new file mode 100644
index 0000000..e694c3a
--- /dev/null
+++ b/_nuxt/TjYH8LVs.js
@@ -0,0 +1 @@
+import{F as O,G as Q,b8 as re,bX as de,I as U,c as r,L as K,A as l,M as Z,N as le,bz as ce,O as G,b2 as J,a_ as fe,W as ve,a3 as me,a5 as be,a$ as ye,$ as ge,aK as xe,bN as Ce,r as L,P as ke,a7 as Ve,ba as he,as as _e,bY as Ie,aT as Pe,bZ as Fe,b0 as Se,b_ as Be,bg as we,ae as M,a1 as N,aC as Te,b$ as Le,c0 as Re,c1 as $e,aI as Ae,bJ as De,Q as Ee,c2 as Me,bi as Ne,au as p,bL as Oe}from"./-VvI6Lr7.js";import{c as Ue,m as Ke,b as te,f as We,a as je,V as ee}from"./l9yxdLf0.js";const ze=O({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Q(),...re({transition:{component:de}})},"VCounter"),Xe=U()({name:"VCounter",functional:!0,props:ze(),setup(e,b){let{slots:i}=b;const P=r(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return K(()=>l(ce,{transition:e.transition},{default:()=>[Z(l("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[i.default?i.default({counter:P.value,max:e.max,value:e.value}):P.value]),[[le,e.active]])]})),{}}}),Ye=O({floating:Boolean,...Q()},"VFieldLabel"),E=U()({name:"VFieldLabel",props:Ye(),setup(e,b){let{slots:i}=b;return K(()=>l(Ue,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},i)),{}}}),qe=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ae=O({appendInnerIcon:G,bgColor:String,clearable:Boolean,clearIcon:{type:G,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:G,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>qe.includes(e)},"onClick:clear":J(),"onClick:appendInner":J(),"onClick:prependInner":J(),...Q(),...fe(),...ve(),...me()},"VField"),ne=U()({name:"VField",inheritAttrs:!1,props:{id:String,...Ke(),...ae()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,b){let{attrs:i,emit:P,slots:t}=b;const{themeClasses:y}=be(e),{loaderClasses:C}=ye(e),{focusClasses:W,isFocused:R,focus:F,blur:S}=te(e),{InputIcon:B}=We(e),{roundedClasses:j}=ge(e),{rtlClasses:$}=xe(),k=r(()=>e.dirty||e.active),f=r(()=>!e.singleLine&&!!(e.label||t.label)),z=Ce(),s=r(()=>e.id||`input-${z}`),X=r(()=>`${s.value}-messages`),A=L(),w=L(),D=L(),a=r(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:d,backgroundColorStyles:c}=ke(Ve(e,"bgColor")),{textColorClasses:v,textColorStyles:Y}=he(r(()=>e.error||e.disabled?void 0:k.value&&R.value?e.color:e.baseColor));_e(k,n=>{if(f.value){const o=A.value.$el,m=w.value.$el;requestAnimationFrame(()=>{const g=Ie(o),u=m.getBoundingClientRect(),T=u.x-g.x,h=u.y-g.y-(g.height/2-u.height/2),_=u.width/.75,I=Math.abs(_-g.width)>1?{maxWidth:Pe(_)}:void 0,ie=getComputedStyle(o),H=getComputedStyle(m),oe=parseFloat(ie.transitionDuration)*1e3||150,se=parseFloat(H.getPropertyValue("--v-field-label-scale")),ue=H.getPropertyValue("color");o.style.visibility="visible",m.style.visibility="hidden",Fe(o,{transform:`translate(${T}px, ${h}px) scale(${se})`,color:ue,...I},{duration:oe,easing:Re,direction:n?"normal":"reverse"}).finished.then(()=>{o.style.removeProperty("visibility"),m.style.removeProperty("visibility")})})}},{flush:"post"});const V=r(()=>({isActive:k,isFocused:R,controlRef:D,blur:S,focus:F}));function q(n){n.target!==document.activeElement&&n.preventDefault()}function x(n){var o;n.key!=="Enter"&&n.key!==" "||(n.preventDefault(),n.stopPropagation(),(o=e["onClick:clear"])==null||o.call(e,new MouseEvent("click")))}return K(()=>{var T,h,_;const n=e.variant==="outlined",o=!!(t["prepend-inner"]||e.prependInnerIcon),m=!!(e.clearable||t.clear),g=!!(t["append-inner"]||e.appendInnerIcon||m),u=()=>t.label?t.label({...V.value,label:e.label,props:{for:s.value}}):e.label;return l("div",N({class:["v-field",{"v-field--active":k.value,"v-field--appended":g,"v-field--center-affix":e.centerAffix??!a.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":o,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!u(),[`v-field--variant-${e.variant}`]:!0},y.value,d.value,W.value,C.value,j.value,$.value,e.class],style:[c.value,e.style],onClick:q},i),[l("div",{class:"v-field__overlay"},null),l(Se,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:t.loader}),o&&l("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&l(B,{key:"prepend-icon",name:"prependInner"},null),(T=t["prepend-inner"])==null?void 0:T.call(t,V.value)]),l("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&f.value&&l(E,{key:"floating-label",ref:w,class:[v.value],floating:!0,for:s.value,style:Y.value},{default:()=>[u()]}),l(E,{ref:A,for:s.value},{default:()=>[u()]}),(h=t.default)==null?void 0:h.call(t,{...V.value,props:{id:s.value,class:"v-field__input","aria-describedby":X.value},focus:F,blur:S})]),m&&l(Be,{key:"clear"},{default:()=>[Z(l("div",{class:"v-field__clearable",onMousedown:I=>{I.preventDefault(),I.stopPropagation()}},[l(we,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[t.clear?t.clear({...V.value,props:{onKeydown:x,onFocus:F,onBlur:S,onClick:e["onClick:clear"]}}):l(B,{name:"clear",onKeydown:x,onFocus:F,onBlur:S},null)]})]),[[le,e.dirty]])]}),g&&l("div",{key:"append",class:"v-field__append-inner"},[(_=t["append-inner"])==null?void 0:_.call(t,V.value),e.appendInnerIcon&&l(B,{key:"append-icon",name:"appendInner"},null)]),l("div",{class:["v-field__outline",v.value],style:Y.value},[n&&l(M,null,[l("div",{class:"v-field__outline__start"},null),f.value&&l("div",{class:"v-field__outline__notch"},[l(E,{ref:w,floating:!0,for:s.value},{default:()=>[u()]})]),l("div",{class:"v-field__outline__end"},null)]),a.value&&f.value&&l(E,{ref:w,floating:!0,for:s.value},{default:()=>[u()]})])])}),{controlRef:D}}});function Ge(e){const b=Object.keys(ne.props).filter(i=>!Te(i)&&i!=="class"&&i!=="style");return Le(e,b)}const Je=["color","file","time","date","datetime-local","week","month"],Qe=O({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...je(),...ae()},"VTextField"),pe=U()({name:"VTextField",directives:{Intersect:$e},inheritAttrs:!1,props:Qe(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,b){let{attrs:i,emit:P,slots:t}=b;const y=Ae(e,"modelValue"),{isFocused:C,focus:W,blur:R}=te(e),F=r(()=>typeof e.counterValue=="function"?e.counterValue(y.value):typeof e.counterValue=="number"?e.counterValue:(y.value??"").toString().length),S=r(()=>{if(i.maxlength)return i.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),B=r(()=>["plain","underlined"].includes(e.variant));function j(a,d){var c,v;!e.autofocus||!a||(v=(c=d[0].target)==null?void 0:c.focus)==null||v.call(c)}const $=L(),k=L(),f=L(),z=r(()=>Je.includes(e.type)||e.persistentPlaceholder||C.value||e.active);function s(){var a;f.value!==document.activeElement&&((a=f.value)==null||a.focus()),C.value||W()}function X(a){P("mousedown:control",a),a.target!==f.value&&(s(),a.preventDefault())}function A(a){s(),P("click:control",a)}function w(a){a.stopPropagation(),s(),p(()=>{y.value=null,Oe(e["onClick:clear"],a)})}function D(a){var c;const d=a.target;if(y.value=d.value,(c=e.modelModifiers)!=null&&c.trim&&["text","search","password","tel","url"].includes(e.type)){const v=[d.selectionStart,d.selectionEnd];p(()=>{d.selectionStart=v[0],d.selectionEnd=v[1]})}}return K(()=>{const a=!!(t.counter||e.counter!==!1&&e.counter!=null),d=!!(a||t.details),[c,v]=De(i),{modelValue:Y,...V}=ee.filterProps(e),q=Ge(e);return l(ee,N({ref:$,modelValue:y.value,"onUpdate:modelValue":x=>y.value=x,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":B.value},e.class],style:e.style},c,V,{centerAffix:!B.value,focused:C.value}),{...t,default:x=>{let{id:n,isDisabled:o,isDirty:m,isReadonly:g,isValid:u}=x;return l(ne,N({ref:k,onMousedown:X,onClick:A,"onClick:clear":w,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},q,{id:n.value,active:z.value||m.value,dirty:m.value||e.dirty,disabled:o.value,focused:C.value,error:u.value===!1}),{...t,default:T=>{let{props:{class:h,..._}}=T;const I=Z(l("input",N({ref:f,value:y.value,onInput:D,autofocus:e.autofocus,readonly:g.value,disabled:o.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:s,onBlur:R},_,v),null),[[Ee("intersect"),{handler:j},null,{once:!0}]]);return l(M,null,[e.prefix&&l("span",{class:"v-text-field__prefix"},[l("span",{class:"v-text-field__prefix__text"},[e.prefix])]),t.default?l("div",{class:h,"data-no-activator":""},[t.default(),I]):Me(I,{class:h}),e.suffix&&l("span",{class:"v-text-field__suffix"},[l("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:d?x=>{var n;return l(M,null,[(n=t.details)==null?void 0:n.call(t,x),a&&l(M,null,[l("span",null,null),l(Xe,{active:e.persistentCounter||C.value,value:F.value,max:S.value,disabled:e.disabled},t.counter)])])}:void 0})}),Ne({},$,k,f)}});export{pe as V,ae as a,ne as b,Xe as c,Ge as f,Qe as m};
diff --git a/_nuxt/VHr5Aleq.js b/_nuxt/VHr5Aleq.js
new file mode 100644
index 0000000..df3bec7
--- /dev/null
+++ b/_nuxt/VHr5Aleq.js
@@ -0,0 +1 @@
+import{F as h,O as w,aW as $,G as R,aF as q,a3 as H,I as U,aI as _,bN as L,c as o,a0 as Q,bP as X,a6 as z,a7 as u,L as M,A as d,R as K,ap as D,r as Y,bJ as Z,a1 as T,M as p,Q as ee,ae as le,S as ae,J as te,b6 as ne,aX as I,ba as oe,P as ue,bW as ie,au as re}from"./-VvI6Lr7.js";import{c as ce}from"./l9yxdLf0.js";const N=Symbol.for("vuetify:selection-control-group"),j=h({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:w,trueIcon:w,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:$},...R(),...q(),...H()},"SelectionControlGroup"),se=h({...j({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");U()({name:"VSelectionControlGroup",props:se(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:v}=i;const l=_(e,"modelValue"),t=L(),y=o(()=>e.id||`v-selection-control-group-${t}`),c=o(()=>e.name||y.value),a=new Set;return Q(N,{modelValue:l,forceUpdate:()=>{a.forEach(n=>n())},onForceUpdate:n=>{a.add(n),X(()=>{a.delete(n)})}}),z({[e.defaultsTarget]:{color:u(e,"color"),disabled:u(e,"disabled"),density:u(e,"density"),error:u(e,"error"),inline:u(e,"inline"),modelValue:l,multiple:o(()=>!!e.multiple||e.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:u(e,"falseIcon"),trueIcon:u(e,"trueIcon"),readonly:u(e,"readonly"),ripple:u(e,"ripple"),type:u(e,"type"),valueComparator:u(e,"valueComparator")}}),M(()=>{var n;return d("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(n=v.default)==null?void 0:n.call(v)])}),{}}});const de=h({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...R(),...j()},"VSelectionControl");function ve(e){const i=te(N,void 0),{densityClasses:v}=ne(e),l=_(e,"modelValue"),t=o(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),y=o(()=>e.falseValue!==void 0?e.falseValue:!1),c=o(()=>!!e.multiple||e.multiple==null&&Array.isArray(l.value)),a=o({get(){const f=i?i.modelValue.value:l.value;return c.value?I(f).some(r=>e.valueComparator(r,t.value)):e.valueComparator(f,t.value)},set(f){if(e.readonly)return;const r=f?t.value:y.value;let m=r;c.value&&(m=f?[...I(l.value),r]:I(l.value).filter(b=>!e.valueComparator(b,t.value))),i?i.modelValue.value=m:l.value=m}}),{textColorClasses:n,textColorStyles:C}=oe(o(()=>{if(!(e.error||e.disabled))return a.value?e.color:e.baseColor})),{backgroundColorClasses:V,backgroundColorStyles:S}=ue(o(()=>a.value&&!e.error&&!e.disabled?e.color:e.baseColor)),k=o(()=>a.value?e.trueIcon:e.falseIcon);return{group:i,densityClasses:v,trueValue:t,falseValue:y,model:a,textColorClasses:n,textColorStyles:C,backgroundColorClasses:V,backgroundColorStyles:S,icon:k}}const ye=U()({name:"VSelectionControl",directives:{Ripple:K},inheritAttrs:!1,props:de(),emits:{"update:modelValue":e=>!0},setup(e,i){let{attrs:v,slots:l}=i;const{group:t,densityClasses:y,icon:c,model:a,textColorClasses:n,textColorStyles:C,backgroundColorClasses:V,backgroundColorStyles:S,trueValue:k}=ve(e),f=L(),r=D(!1),m=D(!1),b=Y(),g=o(()=>e.id||`input-${f}`),F=o(()=>!e.disabled&&!e.readonly);t==null||t.onForceUpdate(()=>{b.value&&(b.value.checked=a.value)});function P(s){F.value&&(r.value=!0,ie(s.target,":focus-visible")!==!1&&(m.value=!0))}function A(){r.value=!1,m.value=!1}function E(s){s.stopPropagation()}function J(s){F.value&&(e.readonly&&t&&re(()=>t.forceUpdate()),a.value=s.target.checked)}return M(()=>{var B,G;const s=l.label?l.label({label:e.label,props:{for:g.value}}):e.label,[O,W]=Z(v),x=d("input",T({ref:b,checked:a.value,disabled:!!e.disabled,id:g.value,onBlur:A,onFocus:P,onInput:J,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:k.value,name:e.name,"aria-checked":e.type==="checkbox"?a.value:void 0},W),null);return d("div",T({class:["v-selection-control",{"v-selection-control--dirty":a.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":r.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":e.inline},y.value,e.class]},O,{style:e.style}),[d("div",{class:["v-selection-control__wrapper",n.value],style:C.value},[(B=l.default)==null?void 0:B.call(l,{backgroundColorClasses:V,backgroundColorStyles:S}),p(d("div",{class:["v-selection-control__input"]},[((G=l.input)==null?void 0:G.call(l,{model:a,textColorClasses:n,textColorStyles:C,backgroundColorClasses:V,backgroundColorStyles:S,inputNode:x,icon:c.value,props:{onFocus:P,onBlur:A,id:g.value}}))??d(le,null,[c.value&&d(ae,{key:"icon",icon:c.value},null),x])]),[[ee("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),s&&d(ce,{for:g.value,onClick:E},{default:()=>[s]})])}),{isFocused:r,input:b}}});export{ye as V,de as m};
diff --git a/_nuxt/blE9-5sg.js b/_nuxt/blE9-5sg.js
new file mode 100644
index 0000000..bce3bac
--- /dev/null
+++ b/_nuxt/blE9-5sg.js
@@ -0,0 +1,22 @@
+var En=Object.defineProperty;var Ln=(i,t,e)=>t in i?En(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var w=(i,t,e)=>(Ln(i,typeof t!="symbol"?t+"":t,e),e);import{V as zn,_ as Fn}from"./DS0W2dGG.js";import{_ as Bs,u as jn}from"./CJ7Tzvjl.js";import{d as Ye,ap as Ns,g as li,aq as Vn,r as et,o as Hs,ar as Wn,as as Ee,at as ci,au as Bn,av as $s,c as Ae,i as Nn,v as ot,x as kt,y as ct,A as D,B as O,ae as hi,ad as Hn,af as P,a8 as di,C as Q,z as Xt,aw as Kt,S as ui,am as $n,ax as Yn,ay as Un,an as Xn,ab as qe,ag as Ge,az as Kn,ak as Rt,aj as It,aA as qn,aa as Ti,aB as Gn,q as Ei,D as Zn,E as Qn,_ as Jn}from"./-VvI6Lr7.js";import{f as Ys,g as to}from"./BFbS1nff.js";import{V as Li}from"./TjYH8LVs.js";import{V as eo}from"./n5OR3jin.js";import{V as zi,a as ue}from"./CRmmW6t3.js";import{V as io}from"./BwUqDjZt.js";/*!
+ * @kurkle/color v0.3.2
+ * https://github.com/kurkle/color#readme
+ * (c) 2023 Jukka Kurkela
+ * Released under the MIT License
+ */function le(i){return i+.5|0}const ft=(i,t,e)=>Math.max(Math.min(i,e),t);function qt(i){return ft(le(i*2.55),0,255)}function pt(i){return ft(le(i*255),0,255)}function lt(i){return ft(le(i/2.55)/100,0,1)}function Fi(i){return ft(le(i*100),0,100)}const Z={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},fi=[..."0123456789ABCDEF"],so=i=>fi[i&15],no=i=>fi[(i&240)>>4]+fi[i&15],fe=i=>(i&240)>>4===(i&15),oo=i=>fe(i.r)&&fe(i.g)&&fe(i.b)&&fe(i.a);function ro(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&Z[i[1]]*17,g:255&Z[i[2]]*17,b:255&Z[i[3]]*17,a:t===5?Z[i[4]]*17:255}:(t===7||t===9)&&(e={r:Z[i[1]]<<4|Z[i[2]],g:Z[i[3]]<<4|Z[i[4]],b:Z[i[5]]<<4|Z[i[6]],a:t===9?Z[i[7]]<<4|Z[i[8]]:255})),e}const ao=(i,t)=>i<255?t(i):"";function lo(i){var t=oo(i)?so:no;return i?"#"+t(i.r)+t(i.g)+t(i.b)+ao(i.a,t):void 0}const co=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Us(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function ho(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function uo(i,t,e){const s=Us(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function fo(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=fo(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function vi(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(pt)}function wi(i,t,e){return vi(Us,i,t,e)}function go(i,t,e){return vi(uo,i,t,e)}function po(i,t,e){return vi(ho,i,t,e)}function Xs(i){return(i%360+360)%360}function mo(i){const t=co.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?qt(+t[5]):pt(+t[5]));const n=Xs(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=go(n,o,r):t[1]==="hsv"?s=po(n,o,r):s=wi(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function _o(i,t){var e=yi(i);e[0]=Xs(e[0]+t),e=wi(e),i.r=e[0],i.g=e[1],i.b=e[2]}function bo(i){if(!i)return;const t=yi(i),e=t[0],s=Fi(t[1]),n=Fi(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${lt(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const ji={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Vi={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function xo(){const i={},t=Object.keys(Vi),e=Object.keys(ji);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let ge;function yo(i){ge||(ge=xo(),ge.transparent=[0,0,0,0]);const t=ge[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const vo=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function wo(i){const t=vo.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?qt(r):ft(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?qt(s):ft(s,0,255)),n=255&(t[4]?qt(n):ft(n,0,255)),o=255&(t[6]?qt(o):ft(o,0,255)),{r:s,g:n,b:o,a:e}}}function Mo(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${lt(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Ze=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,Tt=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function ko(i,t,e){const s=Tt(lt(i.r)),n=Tt(lt(i.g)),o=Tt(lt(i.b));return{r:pt(Ze(s+e*(Tt(lt(t.r))-s))),g:pt(Ze(n+e*(Tt(lt(t.g))-n))),b:pt(Ze(o+e*(Tt(lt(t.b))-o))),a:i.a+e*(t.a-i.a)}}function pe(i,t,e){if(i){let s=yi(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=wi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function Ks(i,t){return i&&Object.assign(t||{},i)}function Wi(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=pt(i[3]))):(t=Ks(i,{r:0,g:0,b:0,a:1}),t.a=pt(t.a)),t}function So(i){return i.charAt(0)==="r"?wo(i):mo(i)}class ne{constructor(t){if(t instanceof ne)return t;const e=typeof t;let s;e==="object"?s=Wi(t):e==="string"&&(s=ro(t)||yo(t)||So(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=Ks(this._rgb);return t&&(t.a=lt(t.a)),t}set rgb(t){this._rgb=Wi(t)}rgbString(){return this._valid?Mo(this._rgb):void 0}hexString(){return this._valid?lo(this._rgb):void 0}hslString(){return this._valid?bo(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=ko(this._rgb,t._rgb,e)),this}clone(){return new ne(this.rgb)}alpha(t){return this._rgb.a=pt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=le(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.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 pe(this._rgb,2,t),this}darken(t){return pe(this._rgb,2,-t),this}saturate(t){return pe(this._rgb,1,t),this}desaturate(t){return pe(this._rgb,1,-t),this}rotate(t){return _o(this._rgb,t),this}}/*!
+ * Chart.js v4.4.3
+ * https://www.chartjs.org
+ * (c) 2024 Chart.js Contributors
+ * Released under the MIT License
+ */const Oo=(()=>{let i=0;return()=>i++})();function H(i){return i===null||typeof i>"u"}function U(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function C(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function dt(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function st(i,t){return dt(i)?i:t}function L(i,t){return typeof i>"u"?t:i}const Co=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100:+i/t,qs=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function E(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function Y(i,t,e,s){let n,o,r;if(U(i))for(o=i.length,n=0;ni,x:i=>i.x,y:i=>i.y};function Po(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function Ro(i){const t=Po(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function oe(i,t){return(Ni[t]||(Ni[t]=Ro(t)))(i)}function Mi(i){return i.charAt(0).toUpperCase()+i.slice(1)}const ze=i=>typeof i<"u",mt=i=>typeof i=="function",Hi=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Io(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const $=Math.PI,B=2*$,Fe=Number.POSITIVE_INFINITY,To=$/180,N=$/2,xt=$/4,$i=$*2/3,Yi=Math.log10,Ui=Math.sign;function Eo(i){const t=[],e=Math.sqrt(i);let s;for(s=1;sn-o).pop(),t}function je(i){return!isNaN(parseFloat(i))&&isFinite(i)}function St(i){return i*($/180)}function Lo(i){return i*(180/$)}function Zs(i,t){const e=t.x-i.x,s=t.y-i.y,n=Math.sqrt(e*e+s*s);let o=Math.atan2(s,e);return o<-.5*$&&(o+=B),{angle:o,distance:n}}function yt(i){return(i%B+B)%B}function Ve(i,t,e,s){const n=yt(i),o=yt(t),r=yt(e),a=yt(o-n),l=yt(r-n),c=yt(n-o),h=yt(n-r);return n===o||n===r||s&&o===r||a>l&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function ki(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const pi=(i,t,e,s)=>ki(i,e,s?n=>{const o=i[n][t];return oi[n][t]ki(i,e,s=>i[s][t]>=e);function jo(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+Mi(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Xi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(Qs.forEach(o=>{delete i[o]}),delete i._chartjs)}function Wo(i){const t=new Set(i);return t.size===i.length?i:Array.from(t)}const Js=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function tn(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,Js.call(window,()=>{s=!1,i.apply(t,e)}))}}function Bo(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const No=i=>i==="start"?"left":i==="end"?"right":"center",Ki=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,me=i=>i===0||i===1,qi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*B/e)),Gi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*B/e)+1,Jt={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*N)+1,easeOutSine:i=>Math.sin(i*N),easeInOutSine:i=>-.5*(Math.cos($*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>me(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>me(i)?i:qi(i,.075,.3),easeOutElastic:i=>me(i)?i:Gi(i,.075,.3),easeInOutElastic(i){return me(i)?i:i<.5?.5*qi(i*2,.1125,.45):.5+.5*Gi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-Jt.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?Jt.easeInBounce(i*2)*.5:Jt.easeOutBounce(i*2-1)*.5+.5};function en(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Zi(i){return en(i)?i:new ne(i)}function Qe(i){return en(i)?i:new ne(i).saturate(.5).darken(.1).hexString()}const Ho=["x","y","borderWidth","radius","tension"],$o=["color","borderColor","backgroundColor"];function Yo(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:$o},numbers:{type:"number",properties:Ho}}),i.describe("animations",{_fallback:"animation"}),i.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}}}})}function Uo(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Qi=new Map;function Xo(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Qi.get(e);return s||(s=new Intl.NumberFormat(i,t),Qi.set(e,s)),s}function sn(i,t,e){return Xo(t,e).format(i)}const nn={values(i){return U(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=Ko(i,e)}const r=Yi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),sn(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=e[t].significand||i/Math.pow(10,Math.floor(Yi(i)));return[1,2,3,5,10,15].includes(s)||t>.8*e.length?nn.numeric.call(this,i,t,e):""}};function Ko(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var qo={formatters:nn};function Go(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:qo.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Ct=Object.create(null),mi=Object.create(null);function te(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.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=(s,n)=>Qe(n.backgroundColor),this.hoverBorderColor=(s,n)=>Qe(n.borderColor),this.hoverColor=(s,n)=>Qe(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},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),this.apply(e)}set(t,e){return Je(this,t,e)}get(t){return te(this,t)}describe(t,e){return Je(mi,t,e)}override(t,e){return Je(Ct,t,e)}route(t,e,s,n){const o=te(this,t),r=te(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return C(l)?Object.assign({},c,l):L(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var V=new Zo({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Yo,Uo,Go]);function Qo(i){return!i||H(i.size)||H(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function Ji(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function vt(i,t,e){const s=i.currentDevicePixelRatio,n=e!==0?Math.max(e/2,.5):0;return Math.round((t-n)*s)/s+n}function ts(i,t){!t&&!i||(t=t||i.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,i.width,i.height),t.restore())}function Jo(i,t,e,s){tr(i,t,e,s)}function tr(i,t,e,s,n){let o,r,a,l,c,h,d,u;const f=t.pointStyle,m=t.rotation,p=t.radius;let g=(m||0)*To;if(f&&typeof f=="object"&&(o=f.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){i.save(),i.translate(e,s),i.rotate(g),i.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),i.restore();return}if(!(isNaN(p)||p<=0)){switch(i.beginPath(),f){default:i.arc(e,s,p,0,B),i.closePath();break;case"triangle":h=p,i.moveTo(e+Math.sin(g)*h,s-Math.cos(g)*p),g+=$i,i.lineTo(e+Math.sin(g)*h,s-Math.cos(g)*p),g+=$i,i.lineTo(e+Math.sin(g)*h,s-Math.cos(g)*p),i.closePath();break;case"rectRounded":c=p*.516,l=p-c,r=Math.cos(g+xt)*l,d=Math.cos(g+xt)*l,a=Math.sin(g+xt)*l,u=Math.sin(g+xt)*l,i.arc(e-d,s-a,c,g-$,g-N),i.arc(e+u,s-r,c,g-N,g),i.arc(e+d,s+a,c,g,g+N),i.arc(e-u,s+r,c,g+N,g+$),i.closePath();break;case"rect":if(!m){l=Math.SQRT1_2*p,h=l,i.rect(e-h,s-l,2*h,2*l);break}g+=xt;case"rectRot":d=Math.cos(g)*p,r=Math.cos(g)*p,a=Math.sin(g)*p,u=Math.sin(g)*p,i.moveTo(e-d,s-a),i.lineTo(e+u,s-r),i.lineTo(e+d,s+a),i.lineTo(e-u,s+r),i.closePath();break;case"crossRot":g+=xt;case"cross":d=Math.cos(g)*p,r=Math.cos(g)*p,a=Math.sin(g)*p,u=Math.sin(g)*p,i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+u,s-r),i.lineTo(e-u,s+r);break;case"star":d=Math.cos(g)*p,r=Math.cos(g)*p,a=Math.sin(g)*p,u=Math.sin(g)*p,i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+u,s-r),i.lineTo(e-u,s+r),g+=xt,d=Math.cos(g)*p,r=Math.cos(g)*p,a=Math.sin(g)*p,u=Math.sin(g)*p,i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+u,s-r),i.lineTo(e-u,s+r);break;case"line":r=Math.cos(g)*p,a=Math.sin(g)*p,i.moveTo(e-r,s-a),i.lineTo(e+r,s+a);break;case"dash":i.moveTo(e,s),i.lineTo(e+Math.cos(g)*p,s+Math.sin(g)*p);break;case!1:i.closePath();break}i.fill(),t.borderWidth>0&&i.stroke()}}function Si(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,er(i,o),l=0;l+i||0;function Oi(i,t){const e={},s=C(t),n=s?Object.keys(t):t,o=C(i)?s?r=>L(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=lr(o(r));return e}function an(i){return Oi(i,{top:"y",right:"x",bottom:"y",left:"x"})}function cr(i){return Oi(i,["topLeft","topRight","bottomLeft","bottomRight"])}function Ft(i){const t=an(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function We(i,t){i=i||{},t=t||V.font;let e=L(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=L(i.style,t.style);s&&!(""+s).match(rr)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:L(i.family,t.family),lineHeight:ar(L(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:L(i.weight,t.weight),string:""};return n.string=Qo(n),n}function T(i,t,e,s){let n,o,r;for(n=0,o=i.length;ne&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function ce(i,t){return Object.assign(Object.create(i),t)}function Ci(i,t=[""],e,s,n=()=>i[0]){const o=e||i;typeof s>"u"&&(s=dn("_fallback",i));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Ci([a,...i],t,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete i[0][l],!0},get(a,l){return cn(a,l,()=>br(l,t,i,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(a,l){return ss(a).includes(l)},ownKeys(a){return ss(a)},set(a,l,c){const h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function jt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:ln(i,s),setContext:o=>jt(i,o,e,s),override:o=>jt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return cn(o,r,()=>ur(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function ln(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:mt(e)?e:()=>e,isIndexable:mt(s)?s:()=>s}}const dr=(i,t)=>i?i+Mi(t):t,Di=(i,t)=>C(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function cn(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t)||t==="constructor")return i[t];const s=e();return i[t]=s,s}function ur(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return mt(a)&&r.isScriptable(t)&&(a=fr(t,a,i,e)),U(a)&&a.length&&(a=gr(t,a,i,r.isIndexable)),Di(t,a)&&(a=jt(a,n,o&&o[t],r)),a}function fr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);a.add(i);let l=t(o,r||s);return a.delete(i),Di(i,l)&&(l=Ai(n._scopes,n,i,l)),l}function gr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(typeof o.index<"u"&&s(i))return t[o.index%t.length];if(C(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=Ai(c,n,i,h);t.push(jt(d,o,r&&r[i],a))}}return t}function hn(i,t,e){return mt(i)?i(t,e):i}const pr=(i,t)=>i===!0?t:typeof i=="string"?oe(t,i):void 0;function mr(i,t,e,s,n){for(const o of t){const r=pr(e,o);if(r){i.add(r);const a=hn(r._fallback,e,n);if(typeof a<"u"&&a!==e&&a!==s)return a}else if(r===!1&&typeof s<"u"&&e!==s)return null}return!1}function Ai(i,t,e,s){const n=t._rootScopes,o=hn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=is(a,r,e,o||e,s);return l===null||typeof o<"u"&&o!==e&&(l=is(a,r,o,l,s),l===null)?!1:Ci(Array.from(a),[""],n,o,()=>_r(t,e,s))}function is(i,t,e,s,n){for(;e;)e=mr(i,t,e,s,n);return e}function _r(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return U(n)&&C(e)?e:n||{}}function br(i,t,e,s){let n;for(const o of t)if(n=dn(dr(o,i),e),typeof n<"u")return Di(i,n)?Ai(e,s,i,n):n}function dn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(typeof s<"u")return s}}function ss(i){let t=i._keys;return t||(t=i._keys=xr(i._scopes)),t}function xr(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}function Pi(){return typeof window<"u"&&typeof document<"u"}function Ri(i){let t=i.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Be(i,t,e){let s;return typeof i=="string"?(s=parseInt(i,10),i.indexOf("%")!==-1&&(s=s/100*t.parentNode[e])):s=i,s}const Ue=i=>i.ownerDocument.defaultView.getComputedStyle(i,null);function yr(i,t){return Ue(i).getPropertyValue(t)}const vr=["top","right","bottom","left"];function Ot(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=vr[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const wr=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Mr(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(wr(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Mt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=Ue(e),o=n.boxSizing==="border-box",r=Ot(n,"padding"),a=Ot(n,"border","width"),{x:l,y:c,box:h}=Mr(i,e),d=r.left+(h&&a.left),u=r.top+(h&&a.top);let{width:f,height:m}=t;return o&&(f-=r.width+a.width,m-=r.height+a.height),{x:Math.round((l-d)/f*e.width/s),y:Math.round((c-u)/m*e.height/s)}}function kr(i,t,e){let s,n;if(t===void 0||e===void 0){const o=i&&Ri(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Ue(o),l=Ot(a,"border","width"),c=Ot(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=Be(a.maxWidth,o,"clientWidth"),n=Be(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Fe,maxHeight:n||Fe}}const _e=i=>Math.round(i*10)/10;function Sr(i,t,e,s){const n=Ue(i),o=Ot(n,"margin"),r=Be(n.maxWidth,i,"clientWidth")||Fe,a=Be(n.maxHeight,i,"clientHeight")||Fe,l=kr(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const u=Ot(n,"border","width"),f=Ot(n,"padding");c-=f.width+u.width,h-=f.height+u.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=_e(Math.min(c,r,l.maxWidth)),h=_e(Math.min(h,a,l.maxHeight)),c&&!h&&(h=_e(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=_e(Math.floor(h*s))),{width:c,height:h}}function ns(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Or=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};Pi()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return i}();function os(i,t){const e=yr(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}/*!
+ * Chart.js v4.4.3
+ * https://www.chartjs.org
+ * (c) 2024 Chart.js Contributors
+ * Released under the MIT License
+ */class Cr{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,s,n){const o=e.listeners[n],r=e.duration;o.forEach(a=>a({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=Js.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}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((s,n)=>Math.max(s,n._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 s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var at=new Cr;const rs="transparent",Dr={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Zi(i||rs),n=s.valid&&Zi(t||rs);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class Ar{constructor(t,e,s,n){const o=e[s];n=T([t.to,n,o,t.from]);const r=T([t.from,o,n]);this._active=!0,this._fn=t.fn||Dr[t.type||typeof r],this._easing=Jt[t.easing]||Jt.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=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=T([t.to,e,n,t.from]),this._from=T([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!C(o))return;const r={};for(const a of e)r[a]=o[a];(U(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=Ir(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&Rr(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),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"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const u=s.get(c);if(d)if(u&&d.active()){d.update(u,h,a);continue}else d.cancel();if(!u||!u.duration){t[c]=h;continue}o[c]=d=new Ar(u,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return at.add(this._chart,s),!0}}function Rr(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function ds(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=zr(o,r,s),d=t.length;let u;for(let f=0;fe[s].axis===t).shift()}function Vr(i,t){return ce(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Wr(i,t,e){return ce(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Bt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const ei=i=>i==="reset"||i==="none",us=(i,t)=>t?i:Object.assign({},i),Br=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:un(e,!0),values:null};class ee{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.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=cs(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Bt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,u,f,m)=>d==="x"?u:d==="r"?m:f,o=e.xAxisID=L(s.xAxisID,ti(t,"x")),r=e.yAxisID=L(s.yAxisID,ti(t,"y")),a=e.rAxisID=L(s.rAxisID,ti(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),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&&Xi(this._data,this),t._stacked&&Bt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(C(e)){const n=this._cachedMeta;this._data=Lr(e,n)}else if(s!==e){if(s){Xi(s,this);const n=this._cachedMeta;Bt(n),n._parsed=[]}e&&Object.isExtensible(e)&&Vo(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=cs(e.vScale,e),e.stack!==s.stack&&(n=!0,Bt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&ds(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,u;if(this._parsing===!1)s._parsed=n,s._sorted=!0,u=n;else{U(n[t])?u=this.parseArrayData(s,n,t,e):C(n[t])?u=this.parseObjectData(s,n,t,e):u=this.parsePrimitiveData(s,n,t,e);const f=()=>d[a]===null||c&&d[a]p||d=0;--u)if(!m()){this.updateRangeFromParsed(c,t,f,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),p=c.resolveNamedOptions(u,f,m,d);return p.$shared&&(p.$shared=l,o[r]=Object.freeze(us(p,l))),p}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),u=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(u,this.getContext(t,s,e))}const c=new Pr(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ei(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){ei(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!ei(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"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,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;aVe(y,a,l,!0)?1:Math.max(S,S*e,k,k*e),m=(y,S,k)=>Ve(y,a,l,!0)?-1:Math.min(S,S*e,k,k*e),p=f(0,c,d),g=f(N,h,u),_=m($,c,d),b=m($+N,h,u);s=(p-_)/2,n=(g-b)/2,o=-(p+_)/2,r=-(g+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}class Gt extends ee{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 s=this.getDataset().data,n=this._cachedMeta;if(this._parsing===!1)n._parsed=s;else{let o=l=>+s[l];if(C(s[t])){const{key:l="value"}=this._parsing;o=c=>+oe(s[c],l)}let r,a;for(r=t,a=t+e;r0&&!isNaN(t)?B*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,s=this.chart,n=s.data.labels||[],o=sn(e._parsed[t],s.options.locale);return{label:n[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const s=this.chart;let n,o,r,a,l;if(!t){for(n=0,o=s.data.datasets.length;nt!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),w(Gt,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:s,color:n}}=t.legend.options;return e.labels.map((o,r)=>{const l=t.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:n,lineWidth:l.borderWidth,pointStyle:s,hidden:!t.getDataVisibility(r),index:r}})}return[]}},onClick(t,e,s){s.chart.toggleDataVisibility(e.index),s.chart.update()}}}});function wt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Ii{constructor(t){w(this,"options");this.options=t||{}}static override(t){Object.assign(Ii.prototype,t)}init(){}formats(){return wt()}parse(){return wt()}format(){return wt()}add(){return wt()}diff(){return wt()}startOf(){return wt()}endOf(){return wt()}}var Hr={_date:Ii};function $r(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Fo:pi;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,e-h),u=l(o,t,e+h);return{lo:d.lo,hi:u.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function he(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Kr={evaluateInteractionItems:he,modes:{index(i,t,e,s){const n=Mt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?ii(i,n,o,s,r):si(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=Mt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?ii(i,n,o,s,r):si(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function gs(i,t){return i.filter(e=>fn.indexOf(e.pos)===-1&&e.box.axis===t)}function Ht(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function qr(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Ht(Nt(t,"left"),!0),n=Ht(Nt(t,"right")),o=Ht(Nt(t,"top"),!0),r=Ht(Nt(t,"bottom")),a=gs(t,"x"),l=gs(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Nt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function ps(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function gn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function Jr(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!C(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&gn(r,o.getPadding());const a=Math.max(0,t.outerWidth-ps(r,i,"left","right")),l=Math.max(0,t.outerHeight-ps(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function ta(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function ea(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function Zt(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof p.beforeLayout=="function"&&p.beforeLayout()});const h=l.reduce((p,g)=>g.box.options&&g.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),u=Object.assign({},n);gn(u,Ft(s));const f=Object.assign({maxPadding:u,w:o,h:r,x:n.left,y:n.top},n),m=Zr(l.concat(c),d);Zt(a.fullSize,f,d,m),Zt(l,f,d,m),Zt(c,f,d,m)&&Zt(l,f,d,m),ta(f),ms(a.leftAndTop,f,d,m),f.x+=f.w,f.y+=f.h,ms(a.rightAndBottom,f,d,m),i.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Y(a.chartArea,p=>{const g=p.box;Object.assign(g,i.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class pn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class ia extends pn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Pe="$chartjs",sa={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_s=i=>i===null||i==="";function na(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[Pe]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",_s(n)){const o=os(i,"width");o!==void 0&&(i.width=o)}if(_s(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=os(i,"height");o!==void 0&&(i.height=o)}return i}const mn=Or?{passive:!0}:!1;function oa(i,t,e){i&&i.addEventListener(t,e,mn)}function ra(i,t,e){i&&i.canvas&&i.canvas.removeEventListener(t,e,mn)}function aa(i,t){const e=sa[i.type]||i.type,{x:s,y:n}=Mt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ne(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function la(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ne(a.addedNodes,s),r=r&&!Ne(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ca(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ne(a.removedNodes,s),r=r&&!Ne(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const re=new Map;let bs=0;function _n(){const i=window.devicePixelRatio;i!==bs&&(bs=i,re.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function ha(i,t){re.size||window.addEventListener("resize",_n),re.set(i,t)}function da(i){re.delete(i),re.size||window.removeEventListener("resize",_n)}function ua(i,t,e){const s=i.canvas,n=s&&Ri(s);if(!n)return;const o=tn((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),ha(i,o),r}function ni(i,t,e){e&&e.disconnect(),t==="resize"&&da(i)}function fa(i,t,e){const s=i.canvas,n=tn(o=>{i.ctx!==null&&e(aa(o,i))},i);return oa(s,t,n),n}class ga extends pn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(na(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[Pe])return!1;const s=e[Pe].initial;["height","width"].forEach(o=>{const r=s[o];H(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[Pe],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:la,detach:ca,resize:ua}[e]||fa;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:ni,detach:ni,resize:ni}[e]||ra)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Sr(t,e,s,n)}isAttached(t){const e=t&&Ri(t);return!!(e&&e.isConnected)}}function pa(i){return!Pi()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?ia:ga}class Dt{constructor(){w(this,"x");w(this,"y");w(this,"active",!1);w(this,"options");w(this,"$animations")}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return je(this.x)&&je(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}w(Dt,"defaults",{}),w(Dt,"defaultRoutes");function ma(i,t){const e=i.options.ticks,s=_a(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?xa(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return ya(t,c,o,r/n),c;const h=ba(o,t,n);if(r>0){let d,u;const f=r>1?Math.round((l-a)/(r-1)):null;for(ye(t,c,h,H(f)?0:a-f,a),d=0,u=r-1;dn)return l}return Math.max(n,1)}function xa(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,xs=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,ys=(i,t)=>Math.min(t||i,i);function vs(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function ka(i,t){Y(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:st(e,st(s,e)),max:st(s,st(e,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||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){E(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=hr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,u=h.highest.height,f=it(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:f/(s-1),d+6>a&&(a=f/(s-(t.offset?.5:1)),l=this.maxHeight-$t(t.grid)-e.padding-ws(t.title,this.chart.options.font),c=Math.sqrt(d*d+u*u),r=Lo(Math.min(Math.asin(it((h.highest.height+6)/a,-1,1)),Math.asin(it(l/c,-1,1))-Math.asin(it(u/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){E(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){E(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=ws(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=$t(o)+l):(t.height=this.maxHeight,t.width=$t(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:u}=this._getLabelSizes(),f=s.padding*2,m=St(this.labelRotation),p=Math.cos(m),g=Math.sin(m);if(a){const _=s.mirror?0:g*d.width+p*u.height;t.height=Math.min(this.maxHeight,t.height+_+f)}else{const _=s.mirror?0:p*d.width+g*u.height;t.width=Math.min(this.maxWidth,t.width+_+f)}this._calculatePadding(c,h,g,p)}}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,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,f=0;l?c?(u=n*t.width,f=s*e.height):(u=s*t.height,f=n*e.width):o==="start"?f=e.width:o==="end"?u=t.width:o!=="inner"&&(u=t.width/2,f=e.width/2),this.paddingLeft=Math.max((u-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((f-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+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(){E(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,s;for(e=0,s=t.length;e({width:r[F]||0,height:a[F]||0});return{first:z(0),last:z(e-1),widest:z(v),highest:z(x),widths:r,heights:a}}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 zo(this._alignToPixels?vt(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*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),u=$t(o),f=[],m=a.setContext(this.getContext()),p=m.display?m.width:0,g=p/2,_=function(I){return vt(s,I,p)};let b,y,S,k,v,x,z,F,R,M,W,G;if(r==="top")b=_(this.bottom),x=this.bottom-u,F=b-g,M=_(t.top)+g,G=t.bottom;else if(r==="bottom")b=_(this.top),M=t.top,G=_(t.bottom)-g,x=b+g,F=this.top+u;else if(r==="left")b=_(this.right),v=this.right-u,z=b-g,R=_(t.left)+g,W=t.right;else if(r==="right")b=_(this.left),R=t.left,W=_(t.right)-g,v=b+g,z=this.left+u;else if(e==="x"){if(r==="center")b=_((t.top+t.bottom)/2+.5);else if(C(r)){const I=Object.keys(r)[0],j=r[I];b=_(this.chart.scales[I].getPixelForValue(j))}M=t.top,G=t.bottom,x=b+g,F=x+u}else if(e==="y"){if(r==="center")b=_((t.left+t.right)/2);else if(C(r)){const I=Object.keys(r)[0],j=r[I];b=_(this.chart.scales[I].getPixelForValue(j))}v=b-g,z=v-u,R=t.left,W=t.right}const J=L(n.ticks.maxTicksLimit,d),A=Math.max(1,Math.ceil(d/J));for(y=0;y0&&(bt-=_t/2);break}de={left:bt,top:Wt,width:_t+Pt.width,height:Vt+Pt.height,color:A.backdropColor}}g.push({label:S,font:F,textOffset:W,options:{rotation:p,color:j,strokeColor:tt,strokeWidth:X,textAlign:At,textBaseline:G,translation:[k,v],backdrop:de}})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-St(this.labelRotation))return t==="top"?"left":"right";let n="center";return e.align==="start"?n="left":e.align==="end"?n="right":e.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,h;return e==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):e==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:s,top:n,width:o,height:r}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(s,n,o,r),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(o=>o.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");V.route(o,n,l,a)})}function Ra(i){return"id"in i&&"defaults"in i}class Ia{constructor(){this.controllers=new ve(ee,"datasets",!0),this.elements=new ve(Dt,"elements"),this.plugins=new ve(Object,"plugins"),this.scales=new ve(Xe,"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,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):Y(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=Mi(t);E(s["before"+n],[],s),e[t](s),E(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function Ea(i){const t={},e=[],s=Object.keys(nt.plugins.items);for(let o=0;o1&&Ms(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function ks(i,t,e){if(e[t+"AxisID"]===i)return{axis:t}}function Ba(i,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(e.length)return ks(i,"x",e[0])||ks(i,"y",e[0])}return{}}function Na(i,t){const e=Ct[i.type]||{scales:{}},s=t.scales||{},n=_i(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!C(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=bi(r,a,Ba(r,i),V.scales[a.type]),c=Va(l,n),h=e.scales||{};o[r]=Qt(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||_i(a,t),h=(Ct[a]||{}).scales||{};Object.keys(h).forEach(d=>{const u=ja(d,l),f=r[u+"AxisID"]||u;o[f]=o[f]||Object.create(null),Qt(o[f],[{axis:u},s[f],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];Qt(a,[V.scales[a.type],V.scale])}),o}function bn(i){const t=i.options||(i.options={});t.plugins=L(t.plugins,{}),t.scales=Na(i,t)}function xn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function Ha(i){return i=i||{},i.data=xn(i.data),bn(i),i}const Ss=new Map,yn=new Set;function we(i,t){let e=Ss.get(i);return e||(e=t(),Ss.set(i,e),yn.add(e)),e}const Yt=(i,t,e)=>{const s=oe(t,e);s!==void 0&&i.add(s)};class $a{constructor(t){this._config=Ha(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=xn(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(),bn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return we(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return we(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return we(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return we(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Yt(l,t,d))),h.forEach(d=>Yt(l,n,d)),h.forEach(d=>Yt(l,Ct[o]||{},d)),h.forEach(d=>Yt(l,V,d)),h.forEach(d=>Yt(l,mi,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),yn.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Ct[e]||{},V.datasets[e]||{},{type:e},V,mi]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Os(this._resolverCache,t,n);let l=r;if(Ua(r,e)){o.$shared=!1,s=mt(s)?s():s;const c=this.createResolver(t,s,a);l=jt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=Os(this._resolverCache,t,s);return C(e)?jt(o,e,void 0,n):o}}function Os(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:Ci(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Ya=i=>C(i)&&Object.getOwnPropertyNames(i).some(t=>mt(i[t]));function Ua(i,t){const{isScriptable:e,isIndexable:s}=ln(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(mt(a)||Ya(a))||r&&U(a))return!0}return!1}var Xa="4.4.3";const Ka=["top","bottom","left","right","chartArea"];function Cs(i,t){return i==="top"||i==="bottom"||Ka.indexOf(i)===-1&&t==="x"}function Ds(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function As(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),E(e&&e.onComplete,[i],t)}function qa(i){const t=i.chart,e=t.options.animation;E(e&&e.onProgress,[i],t)}function vn(i){return Pi()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const Re={},Ps=i=>{const t=vn(i);return Object.values(Re).filter(e=>e.canvas===t).pop()};function Ga(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Za(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Me(i,t,e){return i.options.clip?i[e]:t[e]}function Qa(i,t){const{xScale:e,yScale:s}=i;return e&&s?{left:Me(e,t,"left"),right:Me(e,t,"right"),top:Me(s,t,"top"),bottom:Me(s,t,"bottom")}:t}var ut;let ae=(ut=class{static register(...t){nt.add(...t),Rs()}static unregister(...t){nt.remove(...t),Rs()}constructor(t,e){const s=this.config=new $a(e),n=vn(t),o=Ps(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||pa(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Oo(),this.ctx=a,this.canvas=l,this.width=h,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 Ta,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Bo(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],Re[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}at.listen(this,"complete",As),at.listen(this,"progress",qa),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return H(t)?e&&o?o:n?s/n: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}get registry(){return nt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ns(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ts(this.canvas,this.ctx),this}stop(){return at.stop(this),this}resize(t,e){at.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,ns(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),E(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};Y(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=bi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),Y(o,r=>{const a=r.options,l=a.id,c=bi(l,a),h=L(a.type,r.dtype);(a.position===void 0||Cs(a.position,c)!==Cs(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const u=nt.getScale(h);d=new u({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),Y(n,(r,a)=>{r||delete s[a]}),Y(s,r=>{xe.configure(this,r,r.options),xe.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Ds("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Y(this.scales,t=>{xe.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Hi(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Ga(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;xe.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],Y(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Qa(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&on(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&rn(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return Si(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Kr.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={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},s.push(n)),n}getContext(){return this.$context||(this.$context=ce(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);ze(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n: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(),at.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};Y(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){Y(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},Y(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.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}});!Bi(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Io(t),c=Za(t,this._lastEvent,s,l);s&&(this._lastEvent=null,E(o.onHover,[t,a,this],this),l&&E(o.onClick,[t,a,this],this));const h=!Bi(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}},w(ut,"defaults",V),w(ut,"instances",Re),w(ut,"overrides",Ct),w(ut,"registry",nt),w(ut,"version",Xa),w(ut,"getChart",Ps),ut);function Rs(){return Y(ae.instances,i=>i._plugins.invalidate())}function Ja(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+N,s-N),i.closePath(),i.clip()}function tl(i){return Oi(i,["outerStart","outerEnd","innerStart","innerEnd"])}function el(i,t,e,s){const n=tl(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return it(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:it(n.innerStart,0,r),innerEnd:it(n.innerEnd,0,r)}}function Et(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function He(i,t,e,s,n,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+s+e-c,0),u=h>0?h+s+e+c:0;let f=0;const m=n-l;if(s){const A=h>0?h-s:0,I=d>0?d-s:0,j=(A+I)/2,tt=j!==0?m*j/(j+s):m;f=(m-tt)/2}const p=Math.max(.001,m*d-e/$)/d,g=(m-p)/2,_=l+g+f,b=n-g-f,{outerStart:y,outerEnd:S,innerStart:k,innerEnd:v}=el(t,u,d,b-_),x=d-y,z=d-S,F=_+y/x,R=b-S/z,M=u+k,W=u+v,G=_+k/M,J=b-v/W;if(i.beginPath(),o){const A=(F+R)/2;if(i.arc(r,a,d,F,A),i.arc(r,a,d,A,R),S>0){const X=Et(z,R,r,a);i.arc(X.x,X.y,S,R,b+N)}const I=Et(W,b,r,a);if(i.lineTo(I.x,I.y),v>0){const X=Et(W,J,r,a);i.arc(X.x,X.y,v,b+N,J+Math.PI)}const j=(b-v/u+(_+k/u))/2;if(i.arc(r,a,u,b-v/u,j,!0),i.arc(r,a,u,j,_+k/u,!0),k>0){const X=Et(M,G,r,a);i.arc(X.x,X.y,k,G+Math.PI,_-N)}const tt=Et(x,_,r,a);if(i.lineTo(tt.x,tt.y),y>0){const X=Et(x,F,r,a);i.arc(X.x,X.y,y,_-N,F)}}else{i.moveTo(r,a);const A=Math.cos(F)*d+r,I=Math.sin(F)*d+a;i.lineTo(A,I);const j=Math.cos(R)*d+r,tt=Math.sin(R)*d+a;i.lineTo(j,tt)}i.closePath()}function il(i,t,e,s,n){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){He(i,t,e,s,l,n);for(let c=0;c=B||Ve(r,l,c),g=gi(a,h+f,d+f);return p&&g}getCenterPoint(e){const{x:s,y:n,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:h}=this.options,d=(o+r)/2,u=(a+l+h+c)/2;return{x:s+Math.cos(d)*u,y:n+Math.sin(d)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:s,circumference:n}=this,o=(s.offset||0)/4,r=(s.spacing||0)/2,a=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=n>B?Math.floor(n/B):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min($,n||0)),h=o*c;e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,il(e,this,h,r,a),sl(e,this,h,r,a),e.restore()}}w(zt,"id","arc"),w(zt,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),w(zt,"defaultRoutes",{backgroundColor:"backgroundColor"}),w(zt,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"});function Is(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o)=q.indexOf(e);o--){const r=q[o];if(Ke[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return q[e?q.indexOf(e):0]}function hl(i){for(let t=q.indexOf(i)+1,e=q.length;t=t?e[s]:e[n];i[o]=!0}}function dl(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function Fs(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=it(e,0,r),s=it(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||Ls(o.minUnit,e,s,this._getLabelCapacity(e)),a=L(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=je(l)||l===!0,h={};let d=e,u,f;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const m=n.ticks.source==="data"&&this.getDataTimestamps();for(u=d,f=0;u+p)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return E(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],u=s[e],f=c&&d&&u&&u.major;return this._adapter.format(t,n||(f?d:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=pi(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=pi(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class js extends $e{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=ke(e,this.min),this._tableRange=ke(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),s=this.getLabelTimestamps();return e.length&&s.length?t=this.normalize(e.concat(s)):t=e.length?e:s,t=this._cache.all=t,t}getDecimalForValue(t){return(ke(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,s=this.getDecimalForPixel(t)/e.factor-e.end;return ke(this._table,s*this._tableRange+this._minPos,!0)}}w(js,"id","timeseries"),w(js,"defaults",$e.defaults);const Mn={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},ul={ariaLabel:{type:String},ariaDescribedby:{type:String}},fl={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Mn,...ul},gl=Vn[0]==="2"?(i,t)=>Object.assign(i,{attrs:t}):(i,t)=>Object.assign(i,t);function Lt(i){return $s(i)?ci(i):i}function pl(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i;return $s(t)?new Proxy(i,{}):i}function ml(i,t){const e=i.options;e&&t&&Object.assign(e,t)}function kn(i,t){i.labels=t}function Sn(i,t,e){const s=[];i.datasets=t.map(n=>{const o=i.datasets.find(r=>r[e]===n[e]);return!o||!n.data||s.includes(o)?{...n}:(s.push(o),Object.assign(o,n),o)})}function _l(i,t){const e={labels:[],datasets:[]};return kn(e,i.labels),Sn(e,i.datasets,t),e}const bl=Ye({props:fl,setup(i,t){let{expose:e,slots:s}=t;const n=et(null),o=Ns(null);e({chart:o});const r=()=>{if(!n.value)return;const{type:c,data:h,options:d,plugins:u,datasetIdKey:f}=i,m=_l(h,f),p=pl(m,h);o.value=new ae(n.value,{type:c,data:p,options:{...d},plugins:u})},a=()=>{const c=ci(o.value);c&&(i.destroyDelay>0?setTimeout(()=>{c.destroy(),o.value=null},i.destroyDelay):(c.destroy(),o.value=null))},l=c=>{c.update(i.updateMode)};return Hs(r),Wn(a),Ee([()=>i.options,()=>i.data],(c,h)=>{let[d,u]=c,[f,m]=h;const p=ci(o.value);if(!p)return;let g=!1;if(d){const _=Lt(d),b=Lt(f);_&&_!==b&&(ml(p,_),g=!0)}if(u){const _=Lt(u.labels),b=Lt(m.labels),y=Lt(u.datasets),S=Lt(m.datasets);_!==b&&(kn(p.config.data,_),g=!0),y&&y!==S&&(Sn(p.config.data,y,i.datasetIdKey),g=!0)}g&&Bn(()=>{l(p)})},{deep:!0}),()=>li("canvas",{role:"img",ariaLabel:i.ariaLabel,ariaDescribedby:i.ariaDescribedby,ref:n},[li("p",{},[s.default?s.default():""])])}});function xl(i,t){return ae.register(t),Ye({props:Mn,setup(e,s){let{expose:n}=s;const o=Ns(null),r=a=>{o.value=a==null?void 0:a.chart};return n({chart:o}),()=>li(bl,gl({ref:r},{type:i,...e}))}})}const yl=xl("doughnut",Gt);/*!
+ * chartjs-plugin-datalabels v2.2.0
+ * https://chartjs-plugin-datalabels.netlify.app
+ * (c) 2017-2022 chartjs-plugin-datalabels contributors
+ * Released under the MIT license
+ */var Vs=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var i=window.screen;if(i)return(i.deviceXDPI||1)/(i.logicalXDPI||1)}return 1}(),ie={toTextLines:function(i){var t=[],e;for(i=[].concat(i);i.length;)e=i.pop(),typeof e=="string"?t.unshift.apply(t,e.split(`
+`)):Array.isArray(e)?i.push.apply(i,e):H(i)||t.unshift(""+e);return t},textSize:function(i,t,e){var s=[].concat(t),n=s.length,o=i.font,r=0,a;for(i.font=e.string,a=0;ae.right&&(s|=Cn),te.bottom&&(s|=Dn),s}function Ml(i,t){for(var e=i.x0,s=i.y0,n=i.x1,o=i.y1,r=Se(e,s,t),a=Se(n,o,t),l,c,h;!(!(r|a)||r&a);)l=r||a,l&An?(c=e+(n-e)*(t.top-s)/(o-s),h=t.top):l&Dn?(c=e+(n-e)*(t.bottom-s)/(o-s),h=t.bottom):l&Cn?(h=s+(o-s)*(t.right-e)/(n-e),c=t.right):l&On&&(h=s+(o-s)*(t.left-e)/(n-e),c=t.left),l===r?(e=c,s=h,r=Se(e,s,t)):(n=c,o=h,a=Se(n,o,t));return{x0:e,x1:n,y0:s,y1:o}}function Oe(i,t){var e=t.anchor,s=i,n,o;return t.clamp&&(s=Ml(s,t.area)),e==="start"?(n=s.x0,o=s.y0):e==="end"?(n=s.x1,o=s.y1):(n=(s.x0+s.x1)/2,o=(s.y0+s.y1)/2),vl(n,o,i.vx,i.vy,t.align)}var Ce={arc:function(i,t){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),n=Math.sin(e),o=i.innerRadius,r=i.outerRadius;return Oe({x0:i.x+s*o,y0:i.y+n*o,x1:i.x+s*r,y1:i.y+n*r,vx:s,vy:n},t)},point:function(i,t){var e=ai(i,t.origin),s=e.x*i.options.radius,n=e.y*i.options.radius;return Oe({x0:i.x-s,y0:i.y-n,x1:i.x+s,y1:i.y+n,vx:e.x,vy:e.y},t)},bar:function(i,t){var e=ai(i,t.origin),s=i.x,n=i.y,o=0,r=0;return i.horizontal?(s=Math.min(i.x,i.base),o=Math.abs(i.base-i.x)):(n=Math.min(i.y,i.base),r=Math.abs(i.base-i.y)),Oe({x0:s,y0:n+r,x1:s+o,y1:n,vx:e.x,vy:e.y},t)},fallback:function(i,t){var e=ai(i,t.origin);return Oe({x0:i.x,y0:i.y,x1:i.x+(i.width||0),y1:i.y+(i.height||0),vx:e.x,vy:e.y},t)}},ht=ie.rasterize;function kl(i){var t=i.borderWidth||0,e=i.padding,s=i.size.height,n=i.size.width,o=-n/2,r=-s/2;return{frame:{x:o-e.left-t,y:r-e.top-t,w:n+e.width+t*2,h:s+e.height+t*2},text:{x:o,y:r,w:n,h:s}}}function Sl(i,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var s=e.getBasePixel();return i.horizontal?{x:s,y:null}:{x:null,y:s}}function Ol(i){return i instanceof zt?Ce.arc:i instanceof Ie?Ce.point:i instanceof Te?Ce.bar:Ce.fallback}function Cl(i,t,e,s,n,o){var r=Math.PI/2;if(o){var a=Math.min(o,n/2,s/2),l=t+a,c=e+a,h=t+s-a,d=e+n-a;i.moveTo(t,c),ls.x+s.w+e*2||i.y>s.y+s.h+e*2)},intersects:function(i){var t=this._points(),e=i._points(),s=[De(t[0],t[1]),De(t[0],t[3])],n,o,r;for(this._rotation!==i._rotation&&s.push(De(e[0],e[1]),De(e[0],e[3])),n=0;n=0;--e)for(n=i[e].$layout,s=e-1;s>=0&&n._visible;--s)o=i[s].$layout,o._visible&&n._box.intersects(o._box)&&t(n,o);return i}function Ll(i){var t,e,s,n,o,r,a;for(t=0,e=i.length;tl.getProps([c],!0)[c]}),o=s.geometry(),r=In(a,s.model(),o),n._box.update(r,o,s.rotation()));return El(i,function(l,c){var h=l._hidable,d=c._hidable;h&&d||d?c._visible=!1:h&&(l._visible=!1)})}var se={prepare:function(i){var t=[],e,s,n,o,r;for(e=0,n=i.length;e=0;--e)if(s=i[e].$layout,s&&s._visible&&s._box.contains(t))return i[e];return null},draw:function(i,t){var e,s,n,o,r,a;for(e=0,s=t.length;e{const r=Object.keys(t.data),a=r.map(c=>t.data[c].weight),l=r.map(c=>t.data[c].color);return{labels:r,datasets:[{label:"My First Dataset",data:a,backgroundColor:l,hoverOffset:4}]}}),n=et({responsive:!0,maintainAspectRatio:!1,plugins:{datalabels:{display:!0,color:"#fff",backgroundColor:"#404040",formatter:function(r,a){return a.chart.data.labels[a.dataIndex]}}}});Ae(()=>{let r=0;if(!t.data)return r;for(const a in t.data)r+=t.data[a].weight;return r});const o=Ae(()=>t.data?Object.fromEntries(Object.entries(t.data).sort(([,r],[,a])=>a.weight-r.weight)):{});return Ee(()=>t.data,(r,a)=>{if(a)for(const l in r)try{if(a[l]&&a[l].weight!==r[l].weight){const c=l.toLowerCase();e.value=`animate-${c}`,setTimeout(()=>{e.value=""},1e3)}}catch(c){console.log("error",c)}},{deep:!0}),(r,a)=>{const l=Bs,c=Nn("Vue3Marquee");return ot(),kt(hi,null,[ct("div",Hl,[ct("div",$l,[D(c,{"pause-on-hover":"true","animate-on-overflow-only":!0,clone:!0,class:Kt(`d-flex justify-center ${P(e)}`)},{default:O(()=>[(ot(!0),kt(hi,null,Hn(Object.keys(P(o)),h=>(ot(),di(l,{key:h,id:`category-chip-${h.toLowerCase()}`,category:P(o)[h]},{default:O(()=>[Q(Xt(P(Ys)(i.data[h].weight)),1)]),_:2},1032,["id","category"]))),128))]),_:1},8,["class"])])]),ct("div",Yl,[D(ui,{id:"chart-icon"},{default:O(()=>[Q("M16,5V4A2,2 0 0,0 14,2H10A2,2 0 0,0 8,4V5A4,4 0 0,0 4,9V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V9A4,4 0 0,0 16,5M10,4H14V5H10V4M12,9L14,11L12,13L10,11L12,9M18,16H9V18H8V16H6V15H18V16Z")]),_:1}),D(P(yl),{id:"chart",options:P(n),data:P(s)},null,8,["options","data"])])],64)}}}),Xl=i=>(Zn("data-v-1843661d"),i=i(),Qn(),i),Kl=Xl(()=>ct("h3",null,"Items",-1)),ql={key:0,class:"fix-overflow"},Gl={key:1},Zl={key:0},Ql={key:0},Jl={class:"chart-toggle-wrapper"},tc=Ye({__name:"form",props:{inventory:{type:Object,default:()=>({name:""})}},emits:["close-dialog"],async setup(i){let t,e;et(!1);const s=et(!1),n=et(!1),o=et({}),r=et("");et(!0);const a=i,{xsAndDown:l}=jn(),c=[{title:"Name",value:"name",sortable:!0},{title:"Weight",value:"weight",sortable:!0},{title:"Category",value:"category",sortable:!0}],h=et({...a.inventory}),d=et([]),u=$n(),f=Yn(),{entities:m}=Un(f);[t,e]=Xn(()=>f.fetch()),await t,e(),Ee(()=>d.value,v=>{h.value.items=v.map(x=>m.value.find(z=>z.id===x))}),Ee(()=>h.value,v=>{o.value=to(v.items)},{deep:!0});const p=Ae(()=>h.value.items?h.value.items.reduce((v,x)=>v+x.weight*x.amount,0):0),g=()=>{n.value=!n.value},_={weight:(v,x)=>v-x,category:(v,x)=>v.name.localeCompare(x.name),amount:(v,x)=>v-x},b={category:(v,x)=>v.name.toLowerCase().includes(x.toLowerCase())},y=async()=>{try{const{items:v,...x}=h.value;h.value.id?await u.updateWithItems(x,v):await u.createWithItems(x,v),Ei("/inventories")}catch(v){console.error("An error occurred while saving the item:",v)}};async function S(){await u.delete(h.value.id),Ei("/inventories")}async function k(){s.value=!0}return Hs(()=>{h.value.id&&(d.value=h.value.items.map(v=>v.id))}),(v,x)=>{const z=Fn,F=Bs,R=Ul;return ot(),kt(hi,null,[D(io,null,{default:O(()=>[D(Li,{modelValue:P(h).name,"onUpdate:modelValue":x[0]||(x[0]=M=>P(h).name=M),label:"Name"},null,8,["modelValue"]),D(eo,{class:"px-0"},{default:O(()=>[D(zi,null,{default:O(()=>[D(ue,{cols:"12",class:"px-0"},{default:O(()=>[D(qe,null,{title:O(()=>[Kl]),text:O(()=>[D(Li,{modelValue:P(r),"onUpdate:modelValue":x[1]||(x[1]=M=>Ge(r)?r.value=M:null),label:"Search","prepend-inner-icon":"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",variant:"outlined","hide-details":"","single-line":""},null,8,["modelValue"])]),default:O(()=>[D(zn,{id:"items-table",modelValue:P(d),"onUpdate:modelValue":x[2]||(x[2]=M=>Ge(d)?d.value=M:null),items:P(m),"item-value":"id",headers:c,"show-select":"","custom-key-sort":_,search:P(r),"item-selectable":"true","custom-key-filter":b,"mobile-breakpoint":"0"},{"item.name":O(({item:M})=>[ct("div",null,[M.name.length>18?(ot(),di(P(Kn),{key:0,"animate-on-overflow-only":"true"},{default:O(()=>[Q(Xt(M.name)+" ",1)]),_:2},1024)):Rt("",!0)]),M.name.length<=18?(ot(),kt("span",ql,Xt(M.name),1)):Rt("",!0),M.amount>1?(ot(),kt("span",Gl," (x"+Xt(M.amount)+") ",1)):Rt("",!0)]),"header.weight":O(()=>[ct("div",{class:Kt(`d-flex ${P(l)?"justify-center align-center":""}`)},[D(ui,null,{default:O(()=>[Q("M12,3A4,4 0 0,1 16,7C16,7.73 15.81,8.41 15.46,9H18C18.95,9 19.75,9.67 19.95,10.56C21.96,18.57 22,18.78 22,19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19C2,18.78 2.04,18.57 4.05,10.56C4.25,9.67 5.05,9 6,9H8.54C8.19,8.41 8,7.73 8,7A4,4 0 0,1 12,3M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5Z")]),_:1}),P(l)?Rt("",!0):(ot(),kt("span",Zl," Weight ")),Q(" "+Xt(P(Ys)(P(p),!0)),1)],2)]),"header.category":O(()=>[ct("div",{class:Kt(`d-flex ${P(l)?"justify-center align-center":""}`)},[D(ui,null,{default:O(()=>[Q("M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z")]),_:1}),P(l)?Rt("",!0):(ot(),kt("span",Ql," Category "))],2)]),"item.weight":O(({item:M})=>[D(z,{weight:M.weight*M.amount,xsAndDown:P(l)},null,8,["weight","xsAndDown"])]),"item.category":O(({value:M})=>[D(F,{"render-names":!P(l),category:M},null,8,["render-names","category"])]),_:1},8,["modelValue","items","search"])]),_:1})]),_:1})]),_:1})]),_:1}),D(zi,{class:"mt-1",justify:"end"},{default:O(()=>[P(h).id?(ot(),di(ue,{key:0,cols:"auto"},{default:O(()=>[D(It,{onClick:x[3]||(x[3]=M=>k())},{default:O(()=>[Q("Delete")]),_:1})]),_:1})):Rt("",!0),D(ue,{cols:"auto"},{default:O(()=>[D(It,{onClick:x[4]||(x[4]=M=>v.$router.back())},{default:O(()=>[Q("Cancel")]),_:1})]),_:1}),D(ue,{cols:"auto"},{default:O(()=>[D(It,{onClick:x[5]||(x[5]=M=>y())},{default:O(()=>[Q("Save")]),_:1})]),_:1})]),_:1}),D(qn,{modelValue:P(s),"onUpdate:modelValue":x[8]||(x[8]=M=>Ge(s)?s.value=M:null),"max-width":"290"},{default:O(()=>[D(qe,null,{default:O(()=>[D(Ti,null,{default:O(()=>[Q("Are you sure you want to delete this item?")]),_:1}),D(Gn,null,{default:O(()=>[D(It,{onClick:x[6]||(x[6]=M=>s.value=!1)},{default:O(()=>[Q("Cancel")]),_:1}),D(It,{onClick:x[7]||(x[7]=M=>S())},{default:O(()=>[Q("Delete")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),ct("div",{class:Kt(`chart-overlay ${P(n)?"show":""}`)},[ct("div",Jl,[D(It,{icon:"M12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M17,14L12,9L7,14H17Z",size:"x-large",rounded:"m",elevation:"",class:Kt(`chart-toggle ${P(n)?"rotated":""}`),onClick:x[9]||(x[9]=M=>g())},null,8,["class"])]),D(qe,null,{default:O(()=>[D(Ti,null,{default:O(()=>[D(R,{class:"pt-5 inventories-chart",data:P(o),colors:v.categoryColors},null,8,["data","colors"])]),_:1})]),_:1})],2)],64)}}}),dc=Jn(tc,[["__scopeId","data-v-1843661d"]]);export{dc as _};
diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json
index a1b1fac..3d0170c 100644
--- a/_nuxt/builds/latest.json
+++ b/_nuxt/builds/latest.json
@@ -1 +1 @@
-{"id":"4752cce3-6eea-4a39-ae9f-034a12cfe4bd","timestamp":1720308671718}
\ No newline at end of file
+{"id":"82b60f10-43b9-48c2-abd3-3a700155b368","timestamp":1720309398632}
\ No newline at end of file
diff --git a/_nuxt/builds/meta/82b60f10-43b9-48c2-abd3-3a700155b368.json b/_nuxt/builds/meta/82b60f10-43b9-48c2-abd3-3a700155b368.json
new file mode 100644
index 0000000..df1fa97
--- /dev/null
+++ b/_nuxt/builds/meta/82b60f10-43b9-48c2-abd3-3a700155b368.json
@@ -0,0 +1 @@
+{"id":"82b60f10-43b9-48c2-abd3-3a700155b368","timestamp":1720309398632,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
\ No newline at end of file
diff --git a/_nuxt/l9yxdLf0.js b/_nuxt/l9yxdLf0.js
new file mode 100644
index 0000000..c7a654e
--- /dev/null
+++ b/_nuxt/l9yxdLf0.js
@@ -0,0 +1 @@
+import{F as I,b2 as D,G as z,a3 as W,I as _,L as E,A as m,aJ as Y,S as Z,b8 as ee,bX as ae,c as v,aX as A,ba as ne,bz as te,c3 as X,aI as O,ap as F,r as R,as as $,a0 as se,bq as le,a7 as ie,J as ue,bN as j,aQ as re,af as oe,bu as de,e as ce,o as ve,bE as H,au as fe,O as J,aF as ge,c4 as me,bR as ye,b6 as he,bS as be,a5 as pe,aK as Ve}from"./-VvI6Lr7.js";const ke=I({text:String,onClick:D(),...z(),...W()},"VLabel"),Ae=_()({name:"VLabel",props:ke(),setup(e,d){let{slots:r}=d;return E(()=>{var n;return m("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(n=r.default)==null?void 0:n.call(r)])}),{}}});function Ie(e){const{t:d}=Y();function r(n){let{name:o}=n;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],l=e[`onClick:${o}`],g=l&&a?d(`$vuetify.input.${a}`,e.label??""):void 0;return m(Z,{icon:e[`${o}Icon`],"aria-label":g,onClick:l},null)}return{InputIcon:r}}const Me=I({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...z(),...ee({transition:{component:ae,leaveAbsolute:!0,group:!0}})},"VMessages"),Se=_()({name:"VMessages",props:Me(),setup(e,d){let{slots:r}=d;const n=v(()=>A(e.messages)),{textColorClasses:o,textColorStyles:a}=ne(v(()=>e.color));return E(()=>m(te,{transition:e.transition,tag:"div",class:["v-messages",o.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&n.value.map((l,g)=>m("div",{class:"v-messages__message",key:`${g}-${n.value}`},[r.message?r.message({message:l}):l]))]})),{}}}),Ce=I({focused:Boolean,"onUpdate:focused":D()},"focus");function De(e){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X();const r=O(e,"focused"),n=v(()=>({[`${d}--focused`]:r.value}));function o(){r.value=!0}function a(){r.value=!1}return{focusClasses:n,isFocused:r,focus:o,blur:a}}const q=Symbol.for("vuetify:form"),Fe=I({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function Re(e){const d=O(e,"modelValue"),r=v(()=>e.disabled),n=v(()=>e.readonly),o=F(!1),a=R([]),l=R([]);async function g(){const i=[];let s=!0;l.value=[],o.value=!0;for(const c of a.value){const t=await c.validate();if(t.length>0&&(s=!1,i.push({id:c.id,errorMessages:t})),!s&&e.fastFail)break}return l.value=i,o.value=!1,{valid:s,errors:l.value}}function k(){a.value.forEach(i=>i.reset())}function p(){a.value.forEach(i=>i.resetValidation())}return $(a,()=>{let i=0,s=0;const c=[];for(const t of a.value)t.isValid===!1?(s++,c.push({id:t.id,errorMessages:t.errorMessages})):t.isValid===!0&&i++;l.value=c,d.value=s>0?!1:i===a.value.length?!0:null},{deep:!0,flush:"post"}),se(q,{register:i=>{let{id:s,vm:c,validate:t,reset:h,resetValidation:M}=i;a.value.some(S=>S.id===s),a.value.push({id:s,validate:t,reset:h,resetValidation:M,vm:le(c),isValid:null,errorMessages:[]})},unregister:i=>{a.value=a.value.filter(s=>s.id!==i)},update:(i,s,c)=>{const t=a.value.find(h=>h.id===i);t&&(t.isValid=s,t.errorMessages=c)},isDisabled:r,isReadonly:n,isValidating:o,isValid:d,items:a,validateOn:ie(e,"validateOn")}),{errors:l,isDisabled:r,isReadonly:n,isValidating:o,isValid:d,items:a,validate:g,reset:k,resetValidation:p}}function Be(){return ue(q,null)}const Pe=I({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Ce()},"validation");function xe(e){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:j();const n=O(e,"modelValue"),o=v(()=>e.validationValue===void 0?n.value:e.validationValue),a=Be(),l=R([]),g=F(!0),k=v(()=>!!(A(n.value===""?null:n.value).length||A(o.value===""?null:o.value).length)),p=v(()=>!!(e.disabled??(a==null?void 0:a.isDisabled.value))),i=v(()=>!!(e.readonly??(a==null?void 0:a.isReadonly.value))),s=v(()=>{var u;return(u=e.errorMessages)!=null&&u.length?A(e.errorMessages).concat(l.value).slice(0,Math.max(0,+e.maxErrors)):l.value}),c=v(()=>{let u=(e.validateOn??(a==null?void 0:a.validateOn.value))||"input";u==="lazy"&&(u="input lazy");const f=new Set((u==null?void 0:u.split(" "))??[]);return{blur:f.has("blur")||f.has("input"),input:f.has("input"),submit:f.has("submit"),lazy:f.has("lazy")}}),t=v(()=>{var u;return e.error||(u=e.errorMessages)!=null&&u.length?!1:e.rules.length?g.value?l.value.length||c.value.lazy?null:!0:!l.value.length:!0}),h=F(!1),M=v(()=>({[`${d}--error`]:t.value===!1,[`${d}--dirty`]:k.value,[`${d}--disabled`]:p.value,[`${d}--readonly`]:i.value})),S=re("validation"),V=v(()=>e.name??oe(r));de(()=>{a==null||a.register({id:V.value,vm:S,validate:y,reset:C,resetValidation:B})}),ce(()=>{a==null||a.unregister(V.value)}),ve(async()=>{c.value.lazy||await y(!0),a==null||a.update(V.value,t.value,s.value)}),H(()=>c.value.input,()=>{$(o,()=>{if(o.value!=null)y();else if(e.focused){const u=$(()=>e.focused,f=>{f||y(),u()})}})}),H(()=>c.value.blur,()=>{$(()=>e.focused,u=>{u||y()})}),$([t,s],()=>{a==null||a.update(V.value,t.value,s.value)});async function C(){n.value=null,await fe(),await B()}async function B(){g.value=!0,c.value.lazy?l.value=[]:await y(!0)}async function y(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const f=[];h.value=!0;for(const P of e.rules){if(f.length>=+(e.maxErrors??1))break;const b=await(typeof P=="function"?P:()=>P)(o.value);if(b!==!0){if(b!==!1&&typeof b!="string"){console.warn(`${b} is not a valid value. Rule functions must return boolean true or a string.`);continue}f.push(b||"")}}return l.value=f,h.value=!1,g.value=u,l.value}return{errorMessages:s,isDirty:k,isDisabled:p,isReadonly:i,isPristine:g,isValid:t,isValidating:h,reset:C,resetValidation:B,validate:y,validationClasses:M}}const $e=I({id:String,appendIcon:J,centerAffix:{type:Boolean,default:!0},prependIcon:J,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":D(),"onClick:append":D(),...z(),...ge(),...me(ye(),["maxWidth","minWidth","width"]),...W(),...Pe()},"VInput"),ze=_()({name:"VInput",props:{...$e()},emits:{"update:modelValue":e=>!0},setup(e,d){let{attrs:r,slots:n,emit:o}=d;const{densityClasses:a}=he(e),{dimensionStyles:l}=be(e),{themeClasses:g}=pe(e),{rtlClasses:k}=Ve(),{InputIcon:p}=Ie(e),i=j(),s=v(()=>e.id||`input-${i}`),c=v(()=>`${s.value}-messages`),{errorMessages:t,isDirty:h,isDisabled:M,isReadonly:S,isPristine:V,isValid:C,isValidating:B,reset:y,resetValidation:u,validate:f,validationClasses:P}=xe(e,"v-input",s),x=v(()=>({id:s,messagesId:c,isDirty:h,isDisabled:M,isReadonly:S,isPristine:V,isValid:C,isValidating:B,reset:y,resetValidation:u,validate:f})),b=v(()=>{var w;return(w=e.errorMessages)!=null&&w.length||!V.value&&t.value.length?t.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return E(()=>{var L,N,K,U;const w=!!(n.prepend||e.prependIcon),G=!!(n.append||e.appendIcon),T=b.value.length>0,Q=!e.hideDetails||e.hideDetails==="auto"&&(T||!!n.details);return m("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},a.value,g.value,k.value,P.value,e.class],style:[l.value,e.style]},[w&&m("div",{key:"prepend",class:"v-input__prepend"},[(L=n.prepend)==null?void 0:L.call(n,x.value),e.prependIcon&&m(p,{key:"prepend-icon",name:"prepend"},null)]),n.default&&m("div",{class:"v-input__control"},[(N=n.default)==null?void 0:N.call(n,x.value)]),G&&m("div",{key:"append",class:"v-input__append"},[e.appendIcon&&m(p,{key:"append-icon",name:"append"},null),(K=n.append)==null?void 0:K.call(n,x.value)]),Q&&m("div",{class:"v-input__details"},[m(Se,{id:c.value,active:T,messages:b.value},{message:n.message}),(U=n.details)==null?void 0:U.call(n,x.value)])])}),{reset:y,resetValidation:u,validate:f,isValid:C,errorMessages:t}}});export{ze as V,$e as a,De as b,Ae as c,Fe as d,Re as e,Ie as f,Ce as m,Be as u};
diff --git a/_nuxt/mCWCszvA.js b/_nuxt/mCWCszvA.js
new file mode 100644
index 0000000..d382cf7
--- /dev/null
+++ b/_nuxt/mCWCszvA.js
@@ -0,0 +1 @@
+import{a as W,f as Y,b as Z,c as ee}from"./TjYH8LVs.js";import{a as le,b as te,V as B}from"./l9yxdLf0.js";import{F as ne,aX as N,I as ae,aJ as ue,aI as ie,c as s,r as h,as as oe,L as se,bJ as re,A as u,a1 as b,ae as V,bi as ce,bK as M,au as de,bL as fe}from"./-VvI6Lr7.js";import{V as ve}from"./FoGmEwba.js";const me=ne({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,showSize:{type:[Boolean,Number,String],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(Number(e))},...le({prependIcon:"$file"}),modelValue:{type:[Array,Object],default:e=>e.multiple?[]:null,validator:e=>N(e).every(f=>f!=null&&typeof f=="object")},...W({clearable:!0})},"VFileInput"),Ie=ae()({name:"VFileInput",inheritAttrs:!1,props:me(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,f){let{attrs:$,emit:I,slots:n}=f;const{t:C}=ue(),a=ie(e,"modelValue",e.modelValue,l=>N(l),l=>e.multiple||Array.isArray(e.modelValue)?l:l[0]),{isFocused:v,focus:x,blur:D}=te(e),g=s(()=>typeof e.showSize!="boolean"?e.showSize:void 0),k=s(()=>(a.value??[]).reduce((l,t)=>{let{size:r=0}=t;return l+r},0)),F=s(()=>M(k.value,g.value)),p=s(()=>(a.value??[]).map(l=>{const{name:t="",size:r=0}=l;return e.showSize?`${t} (${M(r,g.value)})`:t})),j=s(()=>{var t;const l=((t=a.value)==null?void 0:t.length)??0;return e.showSize?C(e.counterSizeString,l,F.value):C(e.counterString,l)}),S=h(),P=h(),i=h(),L=s(()=>v.value||e.active),A=s(()=>["plain","underlined"].includes(e.variant));function y(){var l;i.value!==document.activeElement&&((l=i.value)==null||l.focus()),v.value||x()}function E(l){var t;(t=i.value)==null||t.click()}function J(l){I("mousedown:control",l)}function O(l){var t;(t=i.value)==null||t.click(),I("click:control",l)}function U(l){l.stopPropagation(),y(),de(()=>{a.value=[],fe(e["onClick:clear"],l)})}return oe(a,l=>{(!Array.isArray(l)||!l.length)&&i.value&&(i.value.value="")}),se(()=>{const l=!!(n.counter||e.counter),t=!!(l||n.details),[r,K]=re($),{modelValue:pe,...T}=B.filterProps(e),X=Y(e);return u(B,b({ref:S,modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":A.value},e.class],style:e.style,"onClick:prepend":E},r,T,{centerAffix:!A.value,focused:v.value}),{...n,default:c=>{let{id:m,isDisabled:d,isDirty:z,isReadonly:w,isValid:_}=c;return u(Z,b({ref:P,"prepend-icon":e.prependIcon,onMousedown:J,onClick:O,"onClick:clear":U,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},X,{id:m.value,active:L.value||z.value,dirty:z.value,disabled:d.value,focused:v.value,error:_.value===!1}),{...n,default:q=>{var R;let{props:{class:G,...H}}=q;return u(V,null,[u("input",b({ref:i,type:"file",readonly:w.value,disabled:d.value,multiple:e.multiple,name:e.name,onClick:o=>{o.stopPropagation(),w.value&&o.preventDefault(),y()},onChange:o=>{if(!o.target)return;const Q=o.target;a.value=[...Q.files??[]]},onFocus:y,onBlur:D},H,K),null),u("div",{class:G},[!!((R=a.value)!=null&&R.length)&&!e.hideInput&&(n.selection?n.selection({fileNames:p.value,totalBytes:k.value,totalBytesReadable:F.value}):e.chips?p.value.map(o=>u(ve,{key:o,size:"small",text:o},null)):p.value.join(", "))])])}})},details:t?c=>{var m,d;return u(V,null,[(m=n.details)==null?void 0:m.call(n,c),l&&u(V,null,[u("span",null,null),u(ee,{active:!!((d=a.value)!=null&&d.length),value:j.value,disabled:e.disabled},n.counter)])])}:void 0})}),ce({},S,P,i)}});export{Ie as V};
diff --git a/_nuxt/n5OR3jin.js b/_nuxt/n5OR3jin.js
new file mode 100644
index 0000000..f511336
--- /dev/null
+++ b/_nuxt/n5OR3jin.js
@@ -0,0 +1 @@
+import{F as n,G as o,X as r,I as l,aK as i,L as c,A as u}from"./-VvI6Lr7.js";const m=n({fluid:{type:Boolean,default:!1},...o(),...r()},"VContainer"),C=l()({name:"VContainer",props:m(),setup(e,a){let{slots:s}=a;const{rtlClasses:t}=i();return c(()=>u(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},t.value,e.class],style:e.style},s)),{}}});export{C as V};
diff --git a/_nuxt/o-u2tkmG.js b/_nuxt/o-u2tkmG.js
new file mode 100644
index 0000000..e4bbf54
--- /dev/null
+++ b/_nuxt/o-u2tkmG.js
@@ -0,0 +1 @@
+import{_ as a}from"./blE9-5sg.js";import{am as i,an as s,ao as m,a8 as p,v as _,B as c,A as u,af as f}from"./-VvI6Lr7.js";import{V as l}from"./n5OR3jin.js";import"./DS0W2dGG.js";import"./CJ7Tzvjl.js";import"./FoGmEwba.js";import"./CufEZoaj.js";import"./TjYH8LVs.js";import"./l9yxdLf0.js";import"./VHr5Aleq.js";import"./Dfnfu-Af.js";import"./DBf96Ybk.js";import"./BFbS1nff.js";import"./CRmmW6t3.js";import"./BwUqDjZt.js";const j={__name:"[id]",async setup(d){let t,o;const r=i();[t,o]=s(()=>r.fetch()),await t,o();const e=r.byId(m().params.id);return(v,y)=>{const n=a;return _(),p(l,null,{default:c(()=>[u(n,{inventory:f(e)},null,8,["inventory"])]),_:1})}}};export{j as default};
diff --git a/_nuxt/y4qwzziu.js b/_nuxt/y4qwzziu.js
new file mode 100644
index 0000000..780b1fe
--- /dev/null
+++ b/_nuxt/y4qwzziu.js
@@ -0,0 +1 @@
+import{_ as m}from"./BgZFLVLL.js";import{ax as s,an as i,ao as p,a8 as n,B as _,v as c,A as u,af as f}from"./-VvI6Lr7.js";import{V as l}from"./n5OR3jin.js";import"./CpVlVgCe.js";import"./CXnKksxJ.js";import"./TjYH8LVs.js";import"./l9yxdLf0.js";import"./mCWCszvA.js";import"./FoGmEwba.js";import"./CRmmW6t3.js";import"./CufEZoaj.js";import"./VHr5Aleq.js";import"./DBf96Ybk.js";import"./BwUqDjZt.js";const $={__name:"[id]",async setup(d){let t,o;const e=s();[t,o]=i(()=>e.fetch()),await t,o();const r=e.byId(p().params.id);return(x,h)=>{const a=m;return c(),n(l,null,{default:_(()=>[u(a,{item:f(r)},null,8,["item"])]),_:1})}}};export{$ as default};
diff --git a/about/index.html b/about/index.html
index 2061efa..b7e33f6 100644
--- a/about/index.html
+++ b/about/index.html
@@ -2,16 +2,16 @@
-
+
-
+
-
-
+
+