/* Highcharts JS v10.2.1 (2022-08-29) (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/dumbbell",["highcharts"],function(m){a(m);a.Highcharts=m;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function m(a,f,k,h){a.hasOwnProperty(f)||(a[f]=h.apply(null,k),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:f,module:a[f]}})))}a=a?a._modules:{};m(a, "Series/AreaRange/AreaRangePoint.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f){var k=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}();a=a.seriesTypes.area.prototype;var h= a.pointClass.prototype,l=f.defined,q=f.isNumber;return function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.high=void 0;c.low=void 0;c.options=void 0;c.plotHigh=void 0;c.plotLow=void 0;c.plotHighX=void 0;c.plotLowX=void 0;c.plotX=void 0;c.series=void 0;return c}k(d,a);d.prototype.setState=function(){var a=this.state,b=this.series,d=b.chart.polar;l(this.plotHigh)||(this.plotHigh=b.yAxis.toPixels(this.high,!0));l(this.plotLow)||(this.plotLow=this.plotY=b.yAxis.toPixels(this.low, !0));b.stateMarkerGraphic&&(b.lowerStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;d&&(this.plotX=this.plotHighX);h.setState.apply(this,arguments);this.state=a;this.plotY=this.plotLow;this.graphic=this.lowerGraphic;d&&(this.plotX=this.plotLowX);b.stateMarkerGraphic&&(b.upperStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.lowerStateMarkerGraphic,b.lowerStateMarkerGraphic=void 0);h.setState.apply(this, arguments)};d.prototype.haloPath=function(){var a=this.series.chart.polar,b=[];this.plotY=this.plotLow;a&&(this.plotX=this.plotLowX);this.isInside&&(b=h.haloPath.apply(this,arguments));this.plotY=this.plotHigh;a&&(this.plotX=this.plotHighX);this.isTopInside&&(b=b.concat(h.haloPath.apply(this,arguments)));return b};d.prototype.isValid=function(){return q(this.low)&&q(this.high)};return d}(a.pointClass)});m(a,"Series/Dumbbell/DumbbellPoint.js",[a["Series/AreaRange/AreaRangePoint.js"],a["Core/Utilities.js"]], function(a,f){var k=this&&this.__extends||function(){var a=function(e,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(e,d)};return function(e,d){function c(){this.constructor=e}a(e,d);e.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}(),h=f.extend,l=f.pick;f=function(a){function e(){var d=null!==a&&a.apply(this,arguments)||this;d.series=void 0;d.options=void 0;d.connector= void 0;d.pointWidth=void 0;return d}k(e,a);e.prototype.setState=function(){var a=this.series,c=a.chart,b=a.options.marker,e=this.options,f=l(e.lowColor,a.options.lowColor,e.color,this.zone&&this.zone.color,this.color,a.color),k="attr";this.pointSetState.apply(this,arguments);this.state||(k="animate",this.lowerGraphic&&!c.styledMode&&(this.lowerGraphic.attr({fill:f}),this.upperGraphic&&(c={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,b=l(this.marker?this.marker.fillColor: void 0,b?b.fillColor:void 0,e.color,this.zone?this.zone.color:void 0,this.color),this.upperGraphic.attr({fill:b}),h(this,c))));this.connector[k](a.getConnectorAttribs(this))};e.prototype.destroy=function(){this.graphic||(this.graphic=this.connector,this.connector=void 0);return a.prototype.destroy.call(this)};return e}(a);h(f.prototype,{pointSetState:a.prototype.setState});return f});m(a,"Series/Dumbbell/DumbbellSeries.js",[a["Series/Column/ColumnSeries.js"],a["Series/Dumbbell/DumbbellPoint.js"], a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,f,k,h,l,m,e){var d=this&&this.__extends||function(){var a=function(b,g){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,g){a.__proto__=g}||function(a,g){for(var b in g)g.hasOwnProperty(b)&&(a[b]=g[b])};return a(b,g)};return function(b,g){function d(){this.constructor=b}a(b,g);b.prototype=null===g?Object.create(g):(d.prototype= g.prototype,new d)}}(),c=a.prototype;k=k.noop;var b=h.prototype;h=l.seriesTypes;var t=h.arearange;h=h.columnrange.prototype;var u=t.prototype,q=e.extend,v=e.merge,n=e.pick;e=function(a){function e(){var g=null!==a&&a.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;g.columnMetrics=void 0;return g}d(e,a);e.prototype.getConnectorAttribs=function(a){var b=this.chart,g=a.options,d=this.options,c=this.xAxis,e=this.yAxis,f=n(g.connectorWidth,d.connectorWidth),h=n(g.connectorColor, d.connectorColor,g.color,a.zone?a.zone.color:void 0,a.color),k=n(d.states&&d.states.hover&&d.states.hover.connectorWidthPlus,1),l=n(g.dashStyle,d.dashStyle),r=n(a.plotLow,a.plotY),p=e.toPixels(d.threshold||0,!0);p=n(a.plotHigh,b.inverted?e.len-p:p);a.state&&(f+=k);0>r?r=0:r>=e.len&&(r=e.len);0>p?p=0:p>=e.len&&(p=e.len);if(0>a.plotX||a.plotX>c.len)f=0;a.upperGraphic&&(c={y:a.y,zone:a.zone},a.y=a.high,a.zone=a.zone?a.getZone():void 0,h=n(g.connectorColor,d.connectorColor,g.color,a.zone?a.zone.color: void 0,a.color),q(a,c));a={d:m.prototype.crispLine([["M",a.plotX,r],["L",a.plotX,p]],f,"ceil")};b.styledMode||(a.stroke=h,a["stroke-width"]=f,l&&(a.dashstyle=l));return a};e.prototype.drawConnector=function(a){var b=n(this.options.animationLimit,250);b=a.connector&&this.chart.pointCount