import{b as c}from"./chunk-RTIK4MDF.js";import"./chunk-VFN473AJ.js";import{a as f}from"./chunk-UFVVE2DH.js";import{Dg as t,tl as a}from"./chunk-V243DMAV.js";import{g as B,j as l}from"./chunk-AFBR3FKX.js";l();var n=B(f());var i=n.LinearGauge,d=class extends c{constructor(r,o){super(r,o)}prepareGaugeOptions(r,o){let s=this.ctx.data[0].dataKey,e=r.defaultColor||s.color,p=a(e).darken().setAlpha(.6).toRgbString(),S=a(e).setAlpha(.05).toRgbString(),k=a(e).darken().toRgbString();o.barStrokeWidth=t(r.barStrokeWidth)&&r.barStrokeWidth!==null?r.barStrokeWidth:2.5,o.colorBarStroke=r.colorBarStroke||p,o.colorBar=r.colorBar||"#fff",o.colorBarEnd=r.colorBarEnd||"#ddd",o.colorBarProgress=r.colorBarProgress||S,o.colorBarProgressEnd=r.colorBarProgressEnd||k}createGauge(r){return new i(r)}};export{d as TbAnalogueLinearGauge};
