/*
Highcharts JS v8.2.2 (2020-10-22)
(c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski
License: www.highcharts.com/license
*/
(function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts"],function(q){c(q);c.Highcharts=q;return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){function q(c,p,r,h){c.hasOwnProperty(p)||(c[p]=h.apply(null,r))}c=c?c._modules:{};q(c,"Series/AreaRangeSeries.js",[c["Core/Series/Series.js"],c["Core/Globals.js"],c["Core/Series/Point.js"],c["Core/Utilities.js"]],
function(c,p,r,h){var v=h.defined,n=h.extend,u=h.isArray,e=h.isNumber,w=h.pick,y=c.seriesTypes.area.prototype,b=c.seriesTypes.column.prototype,l=r.prototype,t=p.Series.prototype;c.seriesType("arearange","area",{lineWidth:1,threshold:null,tooltip:{pointFormat:'\u25cf {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}},{pointArrayMap:["low","high"],pointValKey:"low",
deferTranslatePolar:!0,toYData:function(f){return[f.low,f.high]},highToXY:function(f){var b=this.chart,a=this.xAxis.postTranslate(f.rectPlotX,this.yAxis.len-f.plotHigh);f.plotHighX=a.x-b.plotLeft;f.plotHigh=a.y-b.plotTop;f.plotLowX=f.plotX},translate:function(){var f=this,b=f.yAxis,a=!!f.modifyValue;y.translate.apply(f);f.points.forEach(function(d){var c=d.high,g=d.plotY;d.isNull?d.plotY=null:(d.plotLow=g,d.plotHigh=b.translate(a?f.modifyValue(c,d):c,0,1,0,1),a&&(d.yBottom=d.plotHigh))});this.chart.polar&&
this.points.forEach(function(a){f.highToXY(a);a.tooltipPos=[(a.plotHighX+a.plotLowX)/2,(a.plotHigh+a.plotLow)/2]})},getGraphPath:function(f){var b=[],a=[],c,x=y.getGraphPath;var g=this.options;var t=this.chart.polar,m=t&&!1!==g.connectEnds,k=g.connectNulls,h=g.step;f=f||this.points;for(c=f.length;c--;){var l=f[c];var e=t?{plotX:l.rectPlotX,plotY:l.yBottom,doCurve:!1}:{plotX:l.plotX,plotY:l.plotY,doCurve:!1};l.isNull||m||k||f[c+1]&&!f[c+1].isNull||a.push(e);var n={polarPlotY:l.polarPlotY,rectPlotX:l.rectPlotX,
yBottom:l.yBottom,plotX:w(l.plotHighX,l.plotX),plotY:l.plotHigh,isNull:l.isNull};a.push(n);b.push(n);l.isNull||m||k||f[c-1]&&!f[c-1].isNull||a.push(e)}f=x.call(this,f);h&&(!0===h&&(h="left"),g.step={left:"right",center:"center",right:"left"}[h]);b=x.call(this,b);a=x.call(this,a);g.step=h;g=[].concat(f,b);!this.chart.polar&&a[0]&&"M"===a[0][0]&&(a[0]=["L",a[0][1],a[0][2]]);this.graphPath=g;this.areaPath=f.concat(a);g.isArea=!0;g.xMap=f.xMap;this.areaPath.xMap=f.xMap;return g},drawDataLabels:function(){var b=
this.points,d=b.length,a,c=[],l=this.options.dataLabels,g,h=this.chart.inverted;if(u(l)){var m=l[0]||{enabled:!1};var k=l[1]||{enabled:!1}}else m=n({},l),m.x=l.xHigh,m.y=l.yHigh,k=n({},l),k.x=l.xLow,k.y=l.yLow;if(m.enabled||this._hasPointLabels){for(a=d;a--;)if(g=b[a]){var e=m.inside?g.plotHighg.plotLow;g.y=g.high;g._plotY=g.plotY;g.plotY=g.plotHigh;c[a]=g.dataLabel;g.dataLabel=g.dataLabelUpper;g.below=e;h?m.align||(m.align=e?"right":"left"):m.verticalAlign||(m.verticalAlign=
e?"top":"bottom")}this.options.dataLabels=m;t.drawDataLabels&&t.drawDataLabels.apply(this,arguments);for(a=d;a--;)if(g=b[a])g.dataLabelUpper=g.dataLabel,g.dataLabel=c[a],delete g.dataLabels,g.y=g.low,g.plotY=g._plotY}if(k.enabled||this._hasPointLabels){for(a=d;a--;)if(g=b[a])e=k.inside?g.plotHighg.plotLow,g.below=!e,h?k.align||(k.align=e?"left":"right"):k.verticalAlign||(k.verticalAlign=e?"bottom":"top");this.options.dataLabels=k;t.drawDataLabels&&t.drawDataLabels.apply(this,
arguments)}if(m.enabled)for(a=d;a--;)if(g=b[a])g.dataLabels=[g.dataLabelUpper,g.dataLabel].filter(function(a){return!!a});this.options.dataLabels=l},alignDataLabel:function(){b.alignDataLabel.apply(this,arguments)},drawPoints:function(){var b=this.points.length,d;t.drawPoints.apply(this,arguments);for(d=0;dk&&(k*=-1,m-=k);d?(t=e.barX+l,
e.shapeType="arc",e.shapeArgs=c.polarArc(m+k,m,t,t+e.pointWidth)):(g.height=k,g.y=m,e.tooltipPos=f.inverted?[h.len+h.pos-f.plotLeft-m-k/2,b.len+b.pos-f.plotTop-g.x-g.width/2,k]:[b.left-f.plotLeft+g.x+g.width/2,h.pos-f.plotTop+m+k/2,k])})},directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:p,getSymbol:p,crispCol:function(){return e.crispCol.apply(this,arguments)},drawPoints:function(){return e.drawPoints.apply(this,arguments)},drawTracker:function(){return e.drawTracker.apply(this,
arguments)},getColumnMetrics:function(){return e.getColumnMetrics.apply(this,arguments)},pointAttribs:function(){return e.pointAttribs.apply(this,arguments)},animate:function(){return e.animate.apply(this,arguments)},polarArc:function(){return e.polarArc.apply(this,arguments)},translate3dPoints:function(){return e.translate3dPoints.apply(this,arguments)},translate3dShapes:function(){return e.translate3dShapes.apply(this,arguments)}},{setState:e.pointClass.prototype.setState});""});q(c,"Series/DumbbellSeries.js",
[c["Core/Series/Series.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(c,p,r,h){var v=h.extend,n=h.pick,u=r.Series.prototype;h=c.seriesTypes;var e=h.arearange.prototype,w=h.column.prototype,q=e.pointClass.prototype;c.seriesType("dumbbell","arearange",{trackByArea:!1,fillColor:"none",lineWidth:0,pointRange:1,connectorWidth:1,stickyTracking:!1,groupPadding:.2,crisp:!1,pointPadding:.1,lowColor:"#333333",states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,
halo:!1}}},{trackerGroups:["group","markerGroup","dataLabelsGroup"],drawTracker:r.TrackerMixin.drawTrackerPoint,drawGraph:r.noop,crispCol:w.crispCol,getConnectorAttribs:function(b){var c=this.chart,e=b.options,f=this.options,d=this.xAxis,a=this.yAxis,h=n(e.connectorWidth,f.connectorWidth),r=n(e.connectorColor,f.connectorColor,e.color,b.zone?b.zone.color:void 0,b.color),g=n(f.states&&f.states.hover&&f.states.hover.connectorWidthPlus,1),q=n(e.dashStyle,f.dashStyle),m=n(b.plotLow,b.plotY),k=a.toPixels(f.threshold||
0,!0);k=n(b.plotHigh,c.inverted?a.len-k:k);b.state&&(h+=g);0>m?m=0:m>=a.len&&(m=a.len);0>k?k=0:k>=a.len&&(k=a.len);if(0>b.plotX||b.plotX>d.len)h=0;b.upperGraphic&&(d={y:b.y,zone:b.zone},b.y=b.high,b.zone=b.zone?b.getZone():void 0,r=n(e.connectorColor,f.connectorColor,e.color,b.zone?b.zone.color:void 0,b.color),v(b,d));b={d:p.prototype.crispLine([["M",b.plotX,m],["L",b.plotX,k]],h,"ceil")};c.styledMode||(b.stroke=r,b["stroke-width"]=h,q&&(b.dashstyle=q));return b},drawConnector:function(b){var c=n(this.options.animationLimit,
250);c=b.connector&&this.chart.pointCount\u25cf {series.name}: {point.y}
'}},{pointArrayMap:["y"],pointValKey:"y",toYData:function(c){return[n(c.y,c.low)]},translatePoint:h.translate,drawPoint:h.drawPoints,drawDataLabels:u.drawDataLabels,setShapeArgs:u.translate},{pointSetState:h.pointClass.prototype.setState,setState:r.seriesTypes.dumbbell.prototype.pointClass.prototype.setState,init:function(e,h,n){q(h)&&"low"in h&&(h.y=h.low,delete h.low);
return c.prototype.init.apply(this,arguments)}});""});q(c,"masters/modules/lollipop.src.js",[],function(){})});
//# sourceMappingURL=lollipop.js.map