!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/solid-gauge
 * @requires highcharts
 * @requires highcharts/highcharts-more
 *
 * Solid angular gauge module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Honsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/solid-gauge",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Color)}):"object"==typeof exports?exports["highcharts/modules/solid-gauge"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Color):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Color)}("u"<typeof window?this:window,(t,e,o)=>(()=>{"use strict";var s,r,a={512:t=>{t.exports=e},620:t=>{t.exports=o},944:e=>{e.exports=t}},i={};function l(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={exports:{}};return a[t](o,o.exports,l),o.exports}l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var o in e)l.o(e,o)&&!l.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};l.d(n,{default:()=>V});var d=l(944),h=l.n(d);let{defaultOptions:c}=h(),{noop:g}=h(),{addEvent:p,extend:u,isObject:f,merge:m,relativeLength:y}=h(),x={radius:0,scope:"stack",where:void 0};function C(t,e){return f(t)||(t={radius:t||0}),m(x,e,t)}let R=C;var v=l(512),A=l.n(v),b=l(620);let{parse:w}=l.n(b)(),{merge:M}=h();(s=r||(r={})).initDataClasses=function(t){let e=this.chart,o=this.legendItem=this.legendItem||{},s=this.options,r=t.dataClasses||[],a,i,l=e.options.chart.colorCount,n=0,d;this.dataClasses=i=[],o.labels=[];for(let t=0,o=r.length;t<o;++t)a=M(a=r[t]),i.push(a),(e.styledMode||!a.color)&&("category"===s.dataClassColor?(e.styledMode||(l=(d=e.options.colors||[]).length,a.color=d[n]),a.colorIndex=n,++n===l&&(n=0)):a.color=w(s.minColor).tweenTo(w(s.maxColor),o<2?.5:t/(o-1)))},s.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,o=e.length;t<o;++t)e[t].color=w(e[t][1])},s.normalizedValue=function(t){let e=this.max||0,o=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-o||1)},s.toColor=function(t,e){let o,s,r,a,i,l,n=this.dataClasses,d=this.stops;if(n){for(l=n.length;l--;)if(s=(i=n[l]).from,r=i.to,(void 0===s||t>=s)&&(void 0===r||t<=r)){a=i.color,e&&(e.dataClass=l,e.colorIndex=i.colorIndex);break}}else{for(o=this.normalizedValue(t),l=d.length;l--&&!(o>d[l][0]););s=d[l]||d[l+1],o=1-((r=d[l+1]||s)[0]-o)/(r[0]-s[0]||1),a=s.color.tweenTo(r.color,o)}return a};let H=r,{extend:I}=h(),_=function(t){I(t,H)},{gauge:P,pie:S}=A().seriesTypes,{clamp:j,extend:k,isNumber:O,merge:T,pick:z,pInt:D}=h();class N extends P{translate(){let t=this.yAxis;_(t),!t.dataClasses&&t.options.dataClasses&&t.initDataClasses(t.options),t.initStops(),P.prototype.translate.call(this)}drawPoints(){let t,e=this.yAxis,o=e.center,s=this.options,r=this.chart.renderer,a=s.overshoot,i=s.rounded&&void 0===s.borderRadius,l=O(a)?a/180*Math.PI:0;for(let a of(O(s.threshold)&&(t=e.startAngleRad+e.translate(s.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=z(t,e.startAngleRad),this.points))if(!a.isNull){let t=D(z(a.options.radius,s.radius,100))*o[2]/200,n=D(z(a.options.innerRadius,s.innerRadius,60))*o[2]/200,d=Math.min(e.startAngleRad,e.endAngleRad),h=Math.max(e.startAngleRad,e.endAngleRad),c=a.graphic,g=e.startAngleRad+e.translate(a.y,void 0,void 0,void 0,!0),p,u,f=e.toColor(a.y,a),m=a.getClassName();"none"===f&&(f=a.color||this.color||"none"),"none"!==f&&(a.color=f),g=j(g,d-l,h+l),!1===s.wrap&&(g=j(g,d,h));let y=i?(t-n)/2/t:0,x=Math.min(g,this.thresholdAngleRad)-y,C=Math.max(g,this.thresholdAngleRad)+y;C-x>2*Math.PI&&(C=x+2*Math.PI);let v=i?"50%":0;s.borderRadius&&(v=R(s.borderRadius).radius),a.shapeArgs=p={x:o[0],y:o[1],r:t,innerR:n,start:x,end:C,borderRadius:v},a.startR=t,c?(u=p.d,c.animate(k({fill:f},p)),u&&(p.d=u)):a.graphic=c=r.arc(p).attr({fill:f,"sweep-flag":0}).add(this.group),this.chart.styledMode?this.yAxis?.stops&&(m=m.replace(/highcharts-color-\d/gm,"").trim()):("square"!==s.linecap&&c.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),c.attr({stroke:s.borderColor||"none","stroke-width":s.borderWidth||0})),c&&c.addClass(m)}}animate(t){t||(this.startAngleRad=this.thresholdAngleRad,S.prototype.animate.call(this,t))}}N.defaultOptions=T(P.defaultOptions,{colorByPoint:!0,dataLabels:{y:0}}),A().registerSeriesType("solidgauge",N);let V=h();return n.default})());