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