1/* empty css */import{t as e}from"./auto-L4zwpS9c.js";window.Chart=e;function t(){let e=getComputedStyle(document.documentElement);return{text:(e.getPropertyValue(`--color-base-content`)||`#111827`).trim(),grid:(e.getPropertyValue(`--color-base-300`)||`#e5e7eb`).trim()}}function n(e){let{text:n,grid:r}=t(),i=getComputedStyle(document.documentElement),a=structuredClone(e);a.options??={},a.options.responsive=!0,a.options.maintainAspectRatio=!1,a.options.plugins??={},a.options.plugins.legend??={},a.options.plugins.legend.labels={usePointStyle:!0,color:n,...a.options.plugins.legend.labels??{}};for(let e of Object.values(a.options.scales??{}))e.ticks={color:n,...e.ticks??{}},e.grid={color:r,...e.grid??{}};for(let e of a.data?.datasets??[])if(e.token){let t=i.getPropertyValue(`--color-${e.token}`).trim();e.borderColor??=t,e.backgroundColor??=t,delete e.token}return a}document.addEventListener(`alpine:init`,()=>{window.Alpine.data(`chart`,t=>({chart:null,themeListener:null,init(){this.$nextTick(()=>this.draw()),this.themeListener=()=>this.recolor(),window.addEventListener(`theme-changed-class`,this.themeListener)},draw(){!this.chart&&this.$refs.canvas&&t?.data?.datasets?.length&&(this.chart=new e(this.$refs.canvas,n(t)))},recolor(){if(!this.chart)return;let e=n(t);this.chart.options=e.options,this.chart.data.datasets.forEach((t,n)=>{t.borderColor=e.data.datasets[n].borderColor,t.backgroundColor=e.data.datasets[n].backgroundColor}),this.chart.update(`none`)},destroy(){window.removeEventListener(`theme-changed-class`,this.themeListener),this.chart?.destroy(),this.chart=null}}))});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.