/** * Highcharts JS v11.2.0 (2023-10-30) * * Solid angular gauge module * * (c) 2010-2021 Torstein Honsi * * License: www.highcharts.com/license */!function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/solid-gauge",["highcharts","highcharts/highcharts-more"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var o=t?t._modules:{};function e(t,o,e,i){t.hasOwnProperty(o)||(t[o]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}e(o,"Core/Axis/Color/ColorAxisLike.js",[o["Core/Color/Color.js"],o["Core/Utilities.js"]],function(t,o){var e,i,s=t.parse,r=o.merge;return(e=i||(i={})).initDataClasses=function(t){var o,e,i,n=this.chart,a=this.legendItem=this.legendItem||{},l=this.options,d=t.dataClasses||[],h=n.options.chart.colorCount,u=0;this.dataClasses=e=[],a.labels=[];for(var c=0,p=d.length;c
=i)&&(void 0===s||t<=s)){r=n.color,o&&(o.dataClass=a,o.colorIndex=n.colorIndex);break}}else{for(e=this.normalizedValue(t),a=d.length;a--&&!(e>d[a][0]););i=d[a]||d[a+1],e=1-((s=d[a+1]||i)[0]-e)/(s[0]-i[0]||1),r=i.color.tweenTo(s.color,e)}return r},i}),e(o,"Core/Axis/SolidGaugeAxis.js",[o["Core/Axis/Color/ColorAxisLike.js"],o["Core/Utilities.js"]],function(t,o){var e=o.extend;return{init:function(o){e(o,t)}}}),e(o,"Series/SolidGauge/SolidGaugeSeriesDefaults.js",[],function(){return{colorByPoint:!0,dataLabels:{y:0}}}),e(o,"Series/SolidGauge/SolidGaugeSeries.js",[o["Extensions/BorderRadius.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Axis/SolidGaugeAxis.js"],o["Series/SolidGauge/SolidGaugeSeriesDefaults.js"],o["Core/Utilities.js"]],function(t,o,e,i,s){var r,n=this&&this.__extends||(r=function(t,o){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}r(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),a=o.seriesTypes,l=a.gauge,d=a.pie,h=s.clamp,u=s.extend,c=s.isNumber,p=s.merge,g=s.pick,f=s.pInt,v=function(o){function s(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.axis=void 0,t.yAxis=void 0,t.startAngleRad=void 0,t.thresholdAngleRad=void 0,t}return n(s,o),s.prototype.translate=function(){var t=this.yAxis;e.init(t),!t.dataClasses&&t.options.dataClasses&&t.initDataClasses(t.options),t.initStops(),l.prototype.translate.call(this)},s.prototype.drawPoints=function(){var o,e=this.yAxis,i=e.center,s=this.options,r=this.chart.renderer,n=s.overshoot,a=s.rounded&&void 0===s.borderRadius,l=c(n)?n/180*Math.PI:0;c(s.threshold)&&(o=e.startAngleRad+e.translate(s.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=g(o,e.startAngleRad);for(var d=0,p=this.points;d