import{b as c}from"./chunk-XGRXFGCZ.js";import"./chunk-WJG6NH64.js";import{a as f}from"./chunk-XMXCLGJH.js";import{il as a,zg as t}from"./chunk-57Q2ZNQQ.js";import{g as B,j as l}from"./chunk-HAPUDHDK.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};
