import{b as c}from"./chunk-2BROSTM3.js";import"./chunk-RVE7C5RP.js";import{a as f}from"./chunk-J25JZ2M7.js";import{Lg as t,vl as a}from"./chunk-CE3AMVMU.js";import{g as B,i as l}from"./chunk-I6BQZFSU.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};
