/* Highcharts JS v10.2.1 (2022-08-29) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ (function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(A){e(A);e.Highcharts=A;return e}):e("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(e){function A(a,b,f,c){a.hasOwnProperty(b)||(a[b]=c.apply(null,f),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:b,module:a[b]}})))}e=e?e._modules:{};A(e, "Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(a,b,f,c,p){function e(g,d,k){return Math.sqrt(Math.pow(g-k[0],2)+Math.pow(d-k[1],2))<=k[2]/2}var m=p.addEvent,t=p.extend,q=p.merge,D=p.pick,v=p.splat;a.prototype.collectionsWithUpdate.push("pane");p=function(){function g(d,k){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%", innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(d,k)}g.prototype.init=function(d,k){this.chart=k;this.background=[];k.pane.push(this);this.setOptions(d)};g.prototype.setOptions=function(d){this.options=q(this.defaultOptions,this.chart.angular?{background:{}}:void 0, d)};g.prototype.render=function(){var d=this.options,k=this.options.background,n=this.chart.renderer;this.group||(this.group=n.g("pane-group").attr({zIndex:d.zIndex||0}).add());this.updateCenter();if(k)for(k=v(k),d=Math.max(k.length,this.background.length||0),n=0;n\u25cf {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};c=function(h){function c(){var d=null!==h&&h.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;d.lowerStateMarkerGraphic=void 0;d.xAxis=void 0;return d}p(c,h);c.prototype.toYData=function(d){return[d.low,d.high]};c.prototype.highToXY=function(d){var k= this.chart,n=this.xAxis.postTranslate(d.rectPlotX||0,this.yAxis.len-d.plotHigh);d.plotHighX=n.x-k.plotLeft;d.plotHigh=n.y-k.plotTop;d.plotLowX=d.plotX};c.prototype.translate=function(){var d=this;t.translate.apply(d);d.points.forEach(function(k,n){var h=k.high,c=k.plotY;k.isNull?k.plotY=null:(n=d.chart.hasParallelCoordinates?d.chart.yAxis[n]:d.yAxis,k.plotLow=c,k.plotHigh=n.translate(d.dataModify?d.dataModify.modifyValue(h):h,0,1,0,1),d.dataModify&&(k.yBottom=k.plotHigh))});this.chart.polar&&this.points.forEach(function(k){d.highToXY(k); k.tooltipPos=[(k.plotHighX+k.plotLowX)/2,(k.plotHigh+k.plotLow)/2]})};c.prototype.getGraphPath=function(k){var n=[],h=[],c=t.getGraphPath,a=this.options,b=this.chart.polar,g=b&&!1!==a.connectEnds,w=a.connectNulls,B,C=a.step;k=k||this.points;for(B=k.length;B--;){var x=k[B];var f=b?{plotX:x.rectPlotX,plotY:x.yBottom,doCurve:!1}:{plotX:x.plotX,plotY:x.plotY,doCurve:!1};x.isNull||g||w||k[B+1]&&!k[B+1].isNull||h.push(f);var r={polarPlotY:x.polarPlotY,rectPlotX:x.rectPlotX,yBottom:x.yBottom,plotX:d(x.plotHighX, x.plotX),plotY:x.plotHigh,isNull:x.isNull};h.push(r);n.push(r);x.isNull||g||w||k[B-1]&&!k[B-1].isNull||h.push(f)}k=c.call(this,k);C&&(!0===C&&(C="left"),a.step={left:"right",center:"center",right:"left"}[C]);n=c.call(this,n);h=c.call(this,h);a.step=C;a=[].concat(k,n);!this.chart.polar&&h[0]&&"M"===h[0][0]&&(h[0]=["L",h[0][1],h[0][2]]);this.graphPath=a;this.areaPath=k.concat(h);a.isArea=!0;a.xMap=k.xMap;this.areaPath.xMap=k.xMap;return a};c.prototype.drawDataLabels=function(){var d=this.points,k=d.length, n=[],h=this.options.dataLabels,c=this.chart.inverted,a,b;if(h){if(g(h)){var w=h[0]||{enabled:!1};var B=h[1]||{enabled:!1}}else w=v({},h),w.x=h.xHigh,w.y=h.yHigh,B=v({},h),B.x=h.xLow,B.y=h.yLow;if(w.enabled||this._hasPointLabels){for(a=k;a--;)if(b=d[a]){var f=w.inside?b.plotHighb.plotLow;b.y=b.high;b._plotY=b.plotY;b.plotY=b.plotHigh;n[a]=b.dataLabel;b.dataLabel=b.dataLabelUpper;b.below=f;c?w.align||(w.align=f?"right":"left"):w.verticalAlign||(w.verticalAlign=f?"top":"bottom")}this.options.dataLabels= w;t.drawDataLabels&&t.drawDataLabels.apply(this,arguments);for(a=k;a--;)if(b=d[a])b.dataLabelUpper=b.dataLabel,b.dataLabel=n[a],delete b.dataLabels,b.y=b.low,b.plotY=b._plotY}if(B.enabled||this._hasPointLabels){for(a=k;a--;)if(b=d[a])f=B.inside?b.plotHighb.plotLow,b.below=!f,c?B.align||(B.align=f?"left":"right"):B.verticalAlign||(B.verticalAlign=f?"bottom":"top");this.options.dataLabels=B;t.drawDataLabels&&t.drawDataLabels.apply(this,arguments)}if(w.enabled)for(a=k;a--;)if(b= d[a])b.dataLabels=[b.dataLabelUpper,b.dataLabel].filter(function(d){return!!d});this.options.dataLabels=h}};c.prototype.alignDataLabel=function(){q.alignDataLabel.apply(this,arguments)};c.prototype.drawPoints=function(){var k=this.points.length,n;t.drawPoints.apply(this,arguments);for(n=0;n\u25cf {series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2});return c}(a);e(c.prototype,{pointArrayMap:["low","q1", "median","q3","high"],pointValKey:"high",drawDataLabels:b,setStackedPoints:b});f.registerSeriesType("boxplot",c);"";return c});A(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10, legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}});A(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(a,b,f,c){var e=a.parse,l=f.noop,m=c.arrayMax,t=c.arrayMin,q=c.isNumber,D=c.merge,v=c.pick,g=c.stableSort;a=function(){function d(d,a){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX= this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=l;this.init(d,a)}d.prototype.init=function(d,a){this.options=d;this.visible=!0;this.chart=a.chart;this.legend=a};d.prototype.addToLegend=function(d){d.splice(this.options.legendIndex,0,this)};d.prototype.drawLegendSymbol=function(d){var a=this.chart,h=this.options,k=v(d.options.itemDistance,20),b=h.ranges,c=h.connectorDistance;this.fontMetrics= a.renderer.fontMetrics(h.labels.style.fontSize);b&&b.length&&q(b[0].value)?(g(b,function(d,a){return a.value-d.value}),this.ranges=b,this.setOptions(),this.render(),d=this.getMaxLabelSize(),b=this.ranges[0].radius,a=2*b,c=c-b+d.width,c=0=a&&this.renderRange(d)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};d.prototype.renderRange=function(d){var a=this.options,h=a.labels,b=this.chart,k=b.series[a.seriesIndex],c=b.renderer,g=this.symbols;b=g.labels;var f=d.center,e=Math.abs(d.radius),p=a.connectorDistance|| 0,m=h.align,w=a.connectorWidth,B=this.ranges[0].radius||0,C=f-e-a.borderWidth/2+w/2,x=this.fontMetrics;x=x.f/2-(x.h-x.f)/2;var l=c.styledMode;p=this.legend.options.rtl||"left"===m?-p:p;"center"===m&&(p=0,a.connectorDistance=0,d.labelAttribs.align="center");m=C+a.labels.y;var r=B+p+a.labels.x;g.bubbleItems.push(c.circle(B,f+((C%1?1:.5)-(w%2?0:.5)),e).attr(l?{}:d.bubbleAttribs).addClass((l?"highcharts-color-"+k.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(a.className||"")).add(this.legendSymbol)); g.connectors.push(c.path(c.crispLine([["M",B,C],["L",B+p,C]],a.connectorWidth)).attr(l?{}:d.connectorAttribs).addClass((l?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(a.connectorClassName||"")).add(this.legendSymbol));d=c.text(this.formatLabel(d),r,m+x).attr(l?{}:d.labelAttribs).css(l?{}:h.style).addClass("highcharts-bubble-legend-labels "+(a.labels.className||"")).add(this.legendSymbol);b.push(d);d.placed=!0;d.alignAttr={x:r,y:m+x}};d.prototype.getMaxLabelSize= function(){var d,a;this.symbols.labels.forEach(function(h){a=h.getBBox(!0);d=d?a.width>d.width?a:d:a});return d||{}};d.prototype.formatLabel=function(d){var a=this.options,h=a.labels.formatter;a=a.labels.format;var c=this.chart.numberFormatter;return a?b.format(a,d):h?h.call(d):c(d.value,1)};d.prototype.hideOverlappingLabels=function(){var d=this.chart,a=this.symbols;!this.options.labels.allowOverlap&&a&&(d.hideOverlappingLabels(a.labels),a.labels.forEach(function(d,b){d.newOpacity?d.newOpacity!== d.oldOpacity&&a.connectors[b].show():a.connectors[b].hide()}))};d.prototype.getRanges=function(){var d=this.legend.bubbleLegend,a=d.options.ranges,b,c=Number.MAX_VALUE,g=-Number.MAX_VALUE;d.chart.series.forEach(function(d){d.isBubble&&!d.ignoreSeries&&(b=d.zData.filter(q),b.length&&(c=v(d.options.zMin,Math.min(c,Math.max(t(b),!1===d.options.displayNegative?d.options.zThreshold:-Number.MAX_VALUE))),g=v(d.options.zMax,Math.max(g,m(b)))))});var f=c===g?[{value:g}]:[{value:c},{value:(c+g)/2},{value:g, autoRanges:!0}];a.length&&a[0].radius&&f.reverse();f.forEach(function(d,b){a&&a[b]&&(f[b]=D(a[b],d))});return f};d.prototype.predictBubbleSizes=function(){var d=this.chart,a=this.fontMetrics,b=d.legend.options,c=b.floating,g=(b="horizontal"===b.layout)?d.legend.lastLineHeight:0,f=d.plotSizeX,p=d.plotSizeY,e=d.series[this.options.seriesIndex],m=e.getPxExtremes();d=Math.ceil(m.minPxSize);m=Math.ceil(m.maxPxSize);var F=Math.min(p,f);e=e.options.maxSize;if(c||!/%$/.test(e))a=m;else if(e=parseFloat(e), a=(F+g-a.h/2)*e/100/(e/100+1),b&&p-a>=f||!b&&f-a>=p)a=m;return[d,Math.ceil(a)]};d.prototype.updateRanges=function(d,a){var b=this.legend.options.bubbleLegend;b.minSize=d;b.maxSize=a;b.ranges=this.getRanges()};d.prototype.correctSizes=function(){var d=this.legend,a=this.chart.series[this.options.seriesIndex].getPxExtremes();1k.height&&(k.height=d[h].itemHeight);k.step=c}return a}function t(d){var a=this.bubbleLegend,c=this.options,h=c.bubbleLegend,k=l(this.chart);a&&a.ranges&&a.ranges.length&&(h.ranges.length&&(h.autoRanges=!!h.ranges[0].autoRanges),this.destroyItem(a));0<=k&&c.enabled&&h.enabled&&(h.seriesIndex= k,this.bubbleLegend=new b(h,this),this.bubbleLegend.addToLegend(d.allItems))}function q(){var d=this.chart,a=this.visible,b=this.chart.legend;b&&b.bubbleLegend&&(this.visible=!a,this.ignoreSeries=a,d=0<=l(d),b.bubbleLegend.visible!==d&&(b.update({bubbleLegend:{enabled:d}}),b.bubbleLegend.visible=d),this.visible=a)}function D(d,a){var b=d.options.rtl,c,h,k,g=0;d.allItems.forEach(function(d,f){c=d.legendGroup.translateX;h=d._legendItemPos[1];if((k=d.movementX)||b&&d.ranges)k=b?c-d.options.maxSize/2: c+k,d.legendGroup.attr({translateX:k});f>a[g].step&&g++;d.legendGroup.attr({translateY:Math.round(h+a[g].height/2)});d._legendItemPos[1]=h+a[g].height/2})}var v=f.setOptions,g=c.addEvent,d=c.objectEach,k=c.wrap,n=[];return{compose:function(d,b,c){-1===n.indexOf(d)&&(n.push(d),v({legend:{bubbleLegend:a}}),k(d.prototype,"drawChartBox",e));-1===n.indexOf(b)&&(n.push(b),g(b,"afterGetAllItems",t));-1===n.indexOf(c)&&(n.push(c),g(c,"legendItemClick",q))}}});A(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"], e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,f){var c=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function f(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}();f=f.extend;b=function(b){function f(){var a=null!==b&&b.apply(this,arguments)|| this;a.options=void 0;a.series=void 0;return a}c(f,b);f.prototype.haloPath=function(b){return a.prototype.haloPath.call(this,0===b?0:(this.marker?this.marker.radius||0:0)+b)};return f}(b.seriesTypes.scatter.prototype.pointClass);f(b.prototype,{ttBelow:!1});return b});A(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a, b,f,c,e,l){function p(){var d=this,a=this.len,b=this.chart,c=this.isXAxis,h=c?"xData":"yData",k=this.min,g=this.max-k,f=0,n=a,r=a/g,u;this.series.forEach(function(a){if(a.bubblePadding&&(a.visible||!b.options.chart.ignoreHiddenSeries)){u=d.allowZoomOutside=!0;var w=a[h];c&&((a.onPoint||a).getRadii(0,0,a),a.onPoint&&(a.radii=a.onPoint.radii));if(0=b/2?(k.marker=h(k.marker,{radius:g,width:2*g,height:2*g}),k.dlBox={x:k.plotX-g,y:k.plotY-g,width:2*g,height:2*g}):(k.shapeArgs=k.dlBox=void 0,k.plotY=0,k.marker={width:0,height:0})}};c.prototype.getPxExtremes=function(){var d=Math.min(this.chart.plotWidth, this.chart.plotHeight),a=function(a){if("string"===typeof a){var b=/%$/.test(a);a=parseInt(a,10)}return b?d*a/100:a},b=a(I(this.options.minSize,8));a=Math.max(a(I(this.options.maxSize,"20%")),b);return{minPxSize:b,maxPxSize:a}};c.prototype.getZExtremes=function(){var a=this.options,b=(this.zData||[]).filter(G);if(b.length){var c=I(a.zMin,n(k(b),!1===a.displayNegative?a.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a=I(a.zMax,d(b));if(G(c)&&G(a))return{zMin:c,zMax:a}}};c.defaultOptions=L(g.defaultOptions, {dataLabels:{formatter:function(){var d=this.series.chart.numberFormatter,a=this.point.z;return G(a)?d(a,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return c}(g);h(l.prototype,{alignDataLabel:c.alignDataLabel, applyZones:f,bubblePadding:!0,buildKDTree:f,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:b,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});v(l,"updatedData",function(d){delete d.target.chart.bubbleZExtremes});v(l,"remove",function(d){delete d.target.chart.bubbleZExtremes});e.registerSeriesType("bubble",l);"";"";return l});A(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]], function(a,b){var f=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function f(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}(),c=a.seriesTypes;a=c.column.prototype.pointClass.prototype;var e=b.extend,l=b.isNumber;b=function(a){function b(){var b=null!==a&& a.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}f(b,a);b.prototype.isValid=function(){return l(this.low)};return b}(c.arearange.prototype.pointClass);e(b.prototype,{setState:a.setState});return b});A(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,f,c){var e=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)a.hasOwnProperty(b)&&(d[b]=a[b])};return d(a,b)};return function(a,b){function c(){this.constructor=a}d(a,b);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}();b=b.noop;var l=f.seriesTypes,m=l.arearange,t=l.column,q=l.column.prototype,D=c.clamp;l=c.extend;var v=c.merge,g=c.pick,d={pointRange:null,marker:null,states:{hover:{halo:!1}}};c=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}e(b, a);b.prototype.setOptions=function(){v(!0,arguments[0],{stacking:void 0});return m.prototype.setOptions.apply(this,arguments)};b.prototype.translate=function(){var d=this,a=this.yAxis,b=this.xAxis,c=b.startAngleRad,k=this.chart,f=this.xAxis.isRadial,n=Math.max(k.chartWidth,k.chartHeight)+999,e,p,w,B,C;q.translate.apply(this);this.points.forEach(function(h){var x=h.shapeArgs||{},r=d.options.minPointLength;h.plotHigh=B=D(a.translate(h.high,0,1,0,1),-n,n);h.plotLow=D(h.plotY,-n,n);C=B;e=g(h.rectPlotY, h.plotY)-B;Math.abs(e)e&&(e*=-1,C-=e);f&&d.polar?(w=h.barX+c,h.shapeType="arc",h.shapeArgs=d.polar.arc(C+e,C,w,w+h.pointWidth)):(x.height=e,x.y=C,r=x.x,r=void 0===r?0:r,x=x.width,x=void 0===x?0:x,h.tooltipPos=k.inverted?[a.len+a.pos-k.plotLeft-C-e/2,b.len+b.pos-k.plotTop-r-x/2,e]:[b.left-k.plotLeft+r+x/2,a.pos-k.plotTop+C+e/2,e])})};b.prototype.pointAttribs=function(){return q.pointAttribs.apply(this,arguments)};b.prototype.translate3dPoints=function(){return q.translate3dPoints.apply(this, arguments)};b.prototype.translate3dShapes=function(){return q.translate3dShapes.apply(this,arguments)};b.defaultOptions=v(t.defaultOptions,m.defaultOptions,d);return b}(m);l(c.prototype,{directTouch:!0,pointClass:a,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:q.adjustForMissingColumns,animate:q.animate,crispCol:q.crispCol,drawGraph:b,drawPoints:q.drawPoints,getSymbol:b,drawTracker:q.drawTracker,getColumnMetrics:q.getColumnMetrics});f.registerSeriesType("columnrange",c);"";return c}); A(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,f){var c=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype, new g)}}(),e=a.prototype,l=f.clamp,m=f.merge,t=f.pick;f=function(b){function f(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}c(f,b);f.prototype.translate=function(){var a=this,b=a.chart,d=a.options,c=a.dense=2>a.closestPointRange*a.xAxis.transA;c=a.borderWidth=t(d.borderWidth,c?0:1);var f=a.yAxis,h=d.threshold,p=a.translatedThreshold=f.getThreshold(h),m=t(d.minPointLength,5),q=a.getColumnMetrics(),H=q.width,E=a.barW=Math.max(H,1+2*c),D=a.pointXOffset= q.offset;b.inverted&&(p-=.5);d.pointPadding&&(E=Math.ceil(E));e.translate.apply(a);a.points.forEach(function(c){var k=t(c.yBottom,p),w=999+Math.abs(k),g=l(c.plotY,-w,f.len+w);w=c.plotX+D;var e=E/2,n=Math.min(g,k);k=Math.max(g,k)-n;var q;c.barX=w;c.pointWidth=H;c.tooltipPos=b.inverted?[f.len+f.pos-b.plotLeft-g,a.xAxis.len-w-e,k]:[w+e,g+f.pos-b.plotTop,k];g=h+(c.total||c.y);"percent"===d.stacking&&(g=h+(0>c.y)?-100:100);g=f.toPixels(g,!0);var r=(q=b.plotHeight-g-(b.plotHeight-p))?e*(n-g)/q:0;var u= q?e*(n+k-g)/q:0;q=w-r+e;r=w+r+e;var z=w+u+e;u=w-u+e;var J=n-m;var y=n+k;0>c.y&&(J=n,y=n+k+m);b.inverted&&(z=f.width-n,q=g-(f.width-p),r=e*(g-z)/q,u=e*(g-(z-k))/q,q=w+e+r,r=q-2*r,z=w-u+e,u=w+u+e,J=n,y=n+k-m,0>c.y&&(y=n+k+m));c.shapeType="path";c.shapeArgs={x:q,y:J,width:r-q,height:k,d:[["M",q,J],["L",r,J],["L",z,y],["L",u,y],["Z"]]}})};f.defaultOptions=m(a.defaultOptions,{});return f}(a);b.registerSeriesType("columnpyramid",f);"";return f});A(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"], e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,f,c){var e=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(b,c)};return function(b,c){function f(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}(),l=f.seriesTypes.arearange,m=c.merge; c=c.extend;var t=function(c){function f(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}e(f,c);f.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||b.prototype.getColumnMetrics.call(this)};f.prototype.drawDataLabels=function(){var a=this.pointValKey;l&&(l.prototype.drawDataLabels.call(this),this.data.forEach(function(b){b.y=b[a]}))};f.prototype.toYData=function(a){return[a.low,a.high]};f.defaultOptions= m(a.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'\u25cf {series.name}: {point.low} - {point.high}
'},whiskerWidth:null});return f}(a);c(t.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1});f.registerSeriesType("errorbar",t);"";return t});A(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],function(a){var b=this&&this.__extends||function(){var a=function(b, f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}();return function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.options=void 0;b.series=void 0;b.shapeArgs=void 0;return b}b(c,a);c.prototype.setState=function(a){this.state=a};return c}(a.series.prototype.pointClass)}); A(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,f,c){var e=this&&this.__extends||function(){var a=function(d,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(d,b)};return function(d,b){function c(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(c.prototype=b.prototype, new c)}}();b=b.noop;var l=f.series,m=f.seriesTypes.column,t=c.clamp,q=c.isNumber,D=c.extend,v=c.merge,g=c.pick,d=c.pInt;c=function(a){function b(){var d=null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.points=void 0;d.options=void 0;d.yAxis=void 0;return d}e(b,a);b.prototype.translate=function(){var a=this.yAxis,b=this.options,c=a.center;this.generatePoints();this.points.forEach(function(k){var h=v(b.dial,k.dial),f=d(h.radius)*c[2]/200,e=d(h.baseLength)*f/100,g=d(h.rearLength)*f/100,n=h.baseWidth, w=h.topWidth,B=b.overshoot,p=a.startAngleRad+a.translate(k.y,void 0,void 0,void 0,!0);if(q(B)||!1===b.wrap)B=q(B)?B/180*Math.PI:0,p=t(p,a.startAngleRad-B,a.endAngleRad+B);p=180*p/Math.PI;k.shapeType="path";k.shapeArgs={d:h.path||[["M",-g,-n/2],["L",e,-n/2],["L",f,-w/2],["L",f,w/2],["L",e,n/2],["L",-g,n/2],["Z"]],translateX:c[0],translateY:c[1],rotation:p};k.plotX=c[0];k.plotY=c[1]})};b.prototype.drawPoints=function(){var a=this,d=a.chart,b=a.yAxis.center,c=a.pivot,k=a.options,f=k.pivot,e=d.renderer; a.points.forEach(function(b){var c=b.graphic,f=b.shapeArgs,h=f.d,g=v(k.dial,b.dial);c?(c.animate(f),f.d=h):b.graphic=e[b.shapeType](f).attr({rotation:f.rotation,zIndex:1}).addClass("highcharts-dial").add(a.group);if(!d.styledMode)b.graphic[c?"animate":"attr"]({stroke:g.borderColor,"stroke-width":g.borderWidth,fill:g.backgroundColor})});c?c.animate({translateX:b[0],translateY:b[1]}):f&&(a.pivot=e.circle(0,0,f.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(b[0],b[1]).add(a.group),d.styledMode|| a.pivot.attr({fill:f.backgroundColor,stroke:f.borderColor,"stroke-width":f.borderWidth}))};b.prototype.animate=function(a){var d=this;a||d.points.forEach(function(a){var b=a.graphic;b&&(b.attr({rotation:180*d.yAxis.startAngleRad/Math.PI}),b.animate({rotation:a.shapeArgs.rotation},d.options.animation))})};b.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup);l.prototype.render.call(this);this.group.clip(this.chart.clipRect)}; b.prototype.setData=function(a,d){l.prototype.setData.call(this,a,!1);this.processData();this.generatePoints();g(d,!0)&&this.chart.redraw()};b.prototype.hasData=function(){return!!this.points.length};b.defaultOptions=v(l.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1}, pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1});return b}(l);D(c.prototype,{angular:!0,directTouch:!0,drawGraph:b,drawTracker:m.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:a,trackerGroups:["group","dataLabelsGroup"]});f.registerSeriesType("gauge",c);"";return c});A(e,"Series/DragNodesComposition.js",[e["Core/Utilities.js"]],function(a){function b(){var a=this,b,c,e;a.container&&(b=f(a.container, "mousedown",function(b){var p=a.hoverPoint;p&&p.series&&p.series.hasDraggableNodes&&p.series.options.draggable&&(p.series.onMouseDown(p,b),c=f(a.container,"mousemove",function(a){return p&&p.series&&p.series.onMouseMove(p,a)}),e=f(a.container.ownerDocument,"mouseup",function(a){c();e();return p&&p.series&&p.series.onMouseUp(p,a)}))}));f(a,"destroy",function(){b()})}var f=a.addEvent,c=[];return{compose:function(a){-1===c.indexOf(a)&&(c.push(a),f(a,"load",b))},onMouseDown:function(a,b){b=this.chart.pointer.normalize(b); a.fixedPosition={chartX:b.chartX,chartY:b.chartY,plotX:a.plotX,plotY:a.plotY};a.inDragMode=!0},onMouseMove:function(a,b){if(a.fixedPosition&&a.inDragMode){var c=this.chart,f=c.pointer.normalize(b);b=a.fixedPosition.chartX-f.chartX;f=a.fixedPosition.chartY-f.chartY;var e=c.graphLayoutsLookup,p=void 0,l=void 0;if(5a?1:0)}}});A(e,"Series/PackedBubble/PackedBubbleIntegration.js",[e["Core/Globals.js"],e["Series/Networkgraph/VerletIntegration.js"]],function(a,b){return{barycenter:function(){for(var a=this.options.gravitationalConstant,b=this.box,e=this.nodes,l,m,t=0;tMath.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature};b.prototype.getSystemTemperature=function(){for(var a=0,b=0,c=this.nodes;bMath.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&.00001>a||0>=this.temperature};g.prototype.setCircularPositions=function(){for(var a=this.box,b=this.nodes,c=2*Math.PI/(b.length+1),e=this.options.initialPositionRadius,f,g,l=0,p=0;pe&&(d.degree+=.01,d.neighbours++,c=a.repulsiveForce(-e/Math.sqrt(d.neighbours),a.k,d,g)),a.force("repulsive",d,c*g.mass,f,g,e))})})};g.prototype.applyLimitBox= function(a,b){if(this.options.splitSeries&&!a.isParentNode&&this.options.parentNodeLimit){var d=this.getDistXY(a,a.series.parentNode);var e=a.series.parentNodeRadius-a.marker.radius-this.vectorLength(d);0>e&&e>-2*a.marker.radius&&(a.plotX-=.01*d.x,a.plotY-=.01*d.y)}c.prototype.applyLimitBox.call(this,a,b)};return g}(e);return a.layouts.packedbubble=c});A(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Series/DragNodesComposition.js"],e["Series/GraphLayoutComposition.js"], e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],e["Series/PackedBubble/PackedBubbleLayout.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(a,b,e,c,p,l,m,t,q){var f=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor= b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),v=a.parse;a=c.noop;var g=t.series.prototype,d=t.seriesTypes.bubble,k=q.addEvent,n=q.clamp,h=q.defined,A=q.extend,L=q.fireEvent,I=q.isArray,H=q.isNumber,E=q.merge,N=q.pick;q=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.layout=void 0;b.options=void 0;b.parentNodeMass=0;b.points=void 0;b.xData=void 0;return b}f(c,a);c.compose=function(a,b,c,e){d.compose(a,b,c,e); m.compose(b)};c.prototype.accumulateAllPoints=function(){for(var a=this.chart,b=[],c,d=0,e=a.series;dd&&(d=a),aMath.sqrt(c*c+d*d)-Math.abs(a[2]+b[2])};c.prototype.createParentNodes=function(){var a=this,b=this.pointClass,c=this.chart,d=this.parentNodeLayout,e=this.layout.options,f,g=this.parentNode,h={radius:this.parentNodeRadius,lineColor:this.color,fillColor:v(this.color).brighten(.4).get()};e.parentNodeOptions&&(h=E(e.parentNodeOptions.marker||{},h));this.parentNodeMass=0;this.points.forEach(function(b){a.parentNodeMass+=Math.PI*Math.pow(b.marker.radius,2)});this.calculateParentRadius();d.nodes.forEach(function(b){b.seriesIndex=== a.index&&(f=!0)});d.setArea(0,0,c.plotWidth,c.plotHeight);f||(g||(g=(new b).init(this,{mass:this.parentNodeRadius/2,marker:h,dataLabels:{inside:!1},states:{normal:{marker:h},hover:{marker:h}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(g.plotX=this.parentNode.plotX,g.plotY=this.parentNode.plotY),this.parentNode=g,d.addElementsToCollection([this],d.series),d.addElementsToCollection([g],d.nodes))};c.prototype.deferLayout=function(){var a= this.options.layoutAlgorithm;this.visible&&(this.addLayout(),a.splitSeries&&this.addSeriesLayout())};c.prototype.destroy=function(){var a=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(b){b.removeElementFromCollection(a,b.series)},this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())); g.destroy.apply(this,arguments)};c.prototype.drawDataLabels=function(){var a=this.options.dataLabels.textPath,b=this.points;g.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,g.drawDataLabels.apply(this,arguments),this.points=b,this.options.dataLabels.textPath=a)};c.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a= this.chart,b=this.layout.options.parentNodeOptions.marker;b={fill:b.fillColor||v(this.color).brighten(.4).get(),opacity:b.fillOpacity,stroke:b.lineColor||this.color,"stroke-width":N(b.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();var c=E({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius, width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},b);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a.renderer.symbol(b.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(c)}};c.prototype.drawTracker=function(){var b=this.parentNode;a.prototype.drawTracker.call(this);if(b){var c=I(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);c.forEach(function(a){a.div?a.div.point=b:a.element.point=b})}};c.prototype.getPointRadius= function(){var a=this,b=this.chart,c=this.options,d=c.useSimulation,e=Math.min(b.plotWidth,b.plotHeight),f={},g=[],h=b.allDataPoints||[],k=h.length,y,q,m,l;["minSize","maxSize"].forEach(function(a){var b=parseInt(c[a],10),d=/%$/.test(c[a]);f[a]=d?e*b/100:b*Math.sqrt(k)});b.minRadius=y=f.minSize/Math.sqrt(k);b.maxRadius=q=f.maxSize/Math.sqrt(k);var p=d?this.calculateZExtremes():[y,q];h.forEach(function(b,c){m=d?n(b[2],p[0],p[1]):b[2];l=a.getRadius(p[0],p[1],y,q,m);0===l&&(l=null);h[c][2]=l;g.push(l)}); this.radii=g};c.prototype.init=function(){g.init.apply(this,arguments);this.eventsToUnbind.push(k(this,"updatedData",function(){var a=this;this.chart.series.forEach(function(b){b.type===a.type&&(b.isDirty=!0)},this)}));return this};c.prototype.onMouseUp=function(a){var c=a;if(c.fixedPosition&&!c.removed){var d=this.layout,e=this.parentNodeLayout,f,g;e&&d.options.dragBetweenSeries&&e.nodes.forEach(function(a){c&&c.marker&&a!==c.series.parentNode&&(f=d.getDistXY(c,a),g=d.vectorLength(f)-a.marker.radius- c.marker.radius,0>g&&(a.series.addPoint(E(c.options,{plotX:c.plotX,plotY:c.plotY}),!1),d.removeElementFromCollection(c,d.nodes),c.remove()))});b.onMouseUp.apply(this,arguments)}};c.prototype.placeBubbles=function(a){var b=this.checkOverlap,c=this.positionBubble,d=[],e=1,f=0,g=0;var h=[];var k;a=a.sort(function(a,b){return b[2]-a[2]});if(a.length){d.push([[0,0,a[0][2],a[0][3],a[0][4]]]);if(1a[1]-b[1]?0:Math.PI)+f+e*(0>(a[0]-b[0])*(a[1]-b[1])?1:-1);return[b[0]+(b[2]+c[2])*Math.sin(a),b[1]-(b[2]+c[2])*Math.cos(a),c[2],c[3],c[4]]};c.prototype.render=function(){var a=[];g.render.apply(this, arguments);this.options.dataLabels.allowOverlap||(this.data.forEach(function(b){I(b.dataLabels)&&b.dataLabels.forEach(function(b){a.push(b)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(a))};c.prototype.resizeRadius=function(){var a=this.chart,b=a.rawPositions,c=Math.min,d=Math.max,e=a.plotLeft,f=a.plotTop,g=a.plotHeight,h=a.plotWidth,k,n;var q=k=Number.POSITIVE_INFINITY;var l=n=Number.NEGATIVE_INFINITY;for(var m=0;mz.height&&(z.y+=z.height,z.height*=-1);r.plotY= z.y=Math.round(z.y||0)-this.borderWidth%2/2;z.height=Math.max(Math.round(z.height||0),.001);r.yBottom=z.y+z.height;z.height<=c&&!r.isNull?(z.height=c,z.y-=d,r.plotY=z.y,r.minPointLengthOffset=0>r.y?-d:d):(r.isNull&&(z.width=0),r.minPointLengthOffset=0);y=r.plotY+(r.negative?z.height:0);r.below&&(r.plotY+=z.height);r.tooltipPos&&(this.chart.inverted?r.tooltipPos[0]=b.len-y:r.tooltipPos[1]=y);r.isInside=this.isPointInside(r)}}};b.prototype.processData=function(b){var c=this.options,e=this.yData,f=c.data, g=e.length,h=c.threshold||0,k,l,n,p,r;for(r=l=k=n=p=0;ru.y&&!g||0l.indexOf(g)&&(p=!0);c[g]||(c[g]={});l=c[g];for(var m=0;m-Math.PI/2&&p-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function w(a){var b=this,c=this.pane.center,d=this.chart,e=d.inverted,f=a.reverse,g=this.pane.options.background?this.pane.options.background[0]|| this.pane.options.background:{},h=g.innerRadius||"0%",l=g.outerRadius||"100%",u=c[0]+d.plotLeft,r=c[1]+d.plotTop,p=this.height,n=a.isCrosshair;g=c[3]/2;var m=a.value,q;var y=this.getPosition(m);var z=y.x;y=y.y;n&&(y=this.getCrosshairPosition(a,u,r),m=y[0],z=y[1],y=y[2]);if(this.isCircular)m=Math.sqrt(Math.pow(z-u,2)+Math.pow(y-r,2)),f="string"===typeof h?k(h,1):h/m,d="string"===typeof l?k(l,1):l/m,c&&g&&(g/=m,fm||m>p)&&(m=0),"circle"===this.options.gridLineInterpolation)c=this.getLinePath(0,m,g);else if(c=[],d[e?"yAxis":"xAxis"].forEach(function(a){a.pane===b.pane&&(q=a)}),q)for(u=q.tickPositions,q.autoConnect&&(u=u.concat([u[0]])),f&&(u=u.slice().reverse()),m&&(m+=g),r=0;ra?0:a,this.center[2]/ 2)-this.offset)}function C(){var a=this.center,b=this.chart,c=this.options.title;return{x:b.plotLeft+a[0]+(c.x||0),y:b.plotTop+a[1]-{high:.5,middle:.25,low:0}[c.align]*a[2]+(c.y||0)}}function x(a){a.beforeSetTickPositions=c;a.createLabelCollector=e;a.getCrosshairPosition=p;a.getLinePath=D;a.getOffset=F;a.getPlotBandPath=G;a.getPlotLinePath=w;a.getPosition=B;a.getTitlePosition=C;a.postTranslate=R;a.setAxisSize=V;a.setAxisTranslation=T;a.setOptions=M}function O(){var a=this.chart,b=this.options,c=this.pane, e=c&&c.options;a.angular&&this.isXAxis||!c||!a.angular&&!a.polar||(this.angleRad=(b.angle||0)*Math.PI/180,this.startAngleRad=(e.startAngle-90)*Math.PI/180,this.endAngleRad=(d(e.endAngle,e.startAngle+360)-90)*Math.PI/180,this.offset=b.offset||0)}function r(a){this.isRadial&&(a.align=void 0,a.preventDefault())}function u(){if(this.chart&&this.chart.labelCollectors){var a=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=a&&this.chart.labelCollectors.splice(a,1)}}function z(b){var c= this.chart,d=c.inverted,e=c.angular,f=c.polar,k=this.isXAxis,u=this.coll,r=e&&k,p=c.options;b=b.userOptions.pane||0;b=this.pane=c.pane&&c.pane[b];var m;if("colorAxis"===u)this.isRadial=!1;else{if(e){if(r?(this.isHidden=!0,this.createLabelCollector=h,this.getOffset=l,this.render=this.redraw=S,this.setTitle=this.setCategories=this.setScale=l):x(this),m=!k)this.defaultPolarOptions=X}else f&&(x(this),this.defaultPolarOptions=(m=this.horiz)?W:g("xAxis"===u?a.defaultXAxisOptions:a.defaultYAxisOptions,Y), d&&"yAxis"===u&&(this.defaultPolarOptions.stackLabels=a.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0));e||f?(this.isRadial=!0,p.chart.zooming.type=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&c.labelCollectors.push(this.labelCollector)):this.isRadial=!1;b&&m&&(b.axis=this);this.isCircular=m}}function J(){this.isRadial&&this.beforeSetTickPositions()}function y(a){var b=this.label;if(b){var c=this.axis,e=b.getBBox(),f= c.options.labels,g=(c.translate(this.pos)+c.startAngleRad+Math.PI/2)/Math.PI*180%360,h=Math.round(g),u=q(f.y)?0:.3*-e.height,l=f.y,r=20,m=f.align,p="end",n=0>h?h+360:h,y=n,z=0,t=0;if(c.isRadial){var P=c.getPosition(this.pos,c.center[2]/2+k(d(f.distance,-25),c.center[2]/2,-c.center[2]/2));"auto"===f.rotation?b.attr({rotation:g}):q(l)||(l=c.chart.renderer.fontMetrics(b.styles&&b.styles.fontSize).b-e.height/2);q(m)||(c.isCircular?(e.width>c.len*c.tickInterval/(c.max-c.min)&&(r=0),m=g>r&&g<180-r?"left": g>180+r&&g<360-r?"right":"center"):m="center",b.attr({align:m}));if("auto"===m&&2===c.tickPositions.length&&c.isCircular){90n?n=180-n:270=n&&(n=540-n);180=y&&(y=360-y);if(c.pane.options.startAngle===h||c.pane.options.startAngle===h+360||c.pane.options.startAngle===h-360)p="start";m=-90<=h&&90>=h||-360<=h&&-270>=h||270<=h&&360>=h?"start"===p?"right":"left":"start"===p?"left":"right";70y&&(m="center");15>n||180<=n&&195>n?z=.3*e.height:15<=n&&35>=n?z="start"===p?0:.75* e.height:195<=n&&215>=n?z="start"===p?.75*e.height:0:35=n?z="start"===p?.25*-e.height:e.height:215=n&&(z="start"===p?e.height:.25*-e.height);15>y?t="start"===p?.15*-e.height:.15*e.height:165=y&&(t="start"===p?.15*e.height:.15*-e.height);b.attr({align:m});b.translate(t,z+u)}a.pos.x=P.x+(f.x||0);a.pos.y=P.y+(l||0)}}}function P(a){this.axis.getPosition&&A(a.pos,this.axis.getPosition(this.pos))}function R(a,b){var c=this.chart,d=this.center;a=this.startAngleRad+a;return{x:c.plotLeft+ d[0]+Math.cos(a)*b,y:c.plotTop+d[1]+Math.sin(a)*b}}function S(){this.isDirty=!1}function V(){this.constructor.prototype.setAxisSize.call(this);if(this.isRadial){this.pane.updateCenter(this);var a=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var b=this.postTranslate(this.angleRad,a[3]/2);a[0]=b.x-this.chart.plotLeft;a[1]=b.y-this.chart.plotTop}this.len=this.width=this.height=(a[2]-a[3])*d(this.sector,1)/2}}function T(){this.constructor.prototype.setAxisTranslation.call(this); this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function M(a){a=this.options=g(this.constructor.defaultOptions,this.defaultPolarOptions,f[this.coll],a);a.plotBands||(a.plotBands=[]);v(this,"afterSetOptions")}function U(a,b,c,d,e,f,g){var h=this.axis;h.isRadial?(a=h.getPosition(this.pos,h.center[2]/2+d),b=["M",b,c,"L",a.x, a.y]):b=a.call(this,b,c,d,e,f,g);return b}var Q=[],W={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},X={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},Y={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3, y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};b.compose=function(a,b){-1===Q.indexOf(a)&&(Q.push(a),m(a,"afterInit",O),m(a,"autoLabelAlign",r),m(a,"destroy",u),m(a,"init",z),m(a,"initialAxisTranslation",J));-1===Q.indexOf(b)&&(Q.push(b),m(b,"afterGetLabelPosition",y),m(b,"afterGetPosition",P),n(b.prototype,"getMarkPath",U));return a}})(h||(h={}));return h});A(e,"Series/PolarComposition.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Axis/RadialAxis.js"], e["Core/Utilities.js"]],function(a,b,e,c,p){function f(a,b,c,d){var e=d?1:0;var g=0<=b&&b<=a.length-1?b:0>b?a.length-1+b:0;b=0>g-1?a.length-(1+e):g-1;var h=a[b];e=a[g+1>a.length-1?e:g+1];var k=h.plotY;var l=e.plotX;var u=e.plotY;e=a[g].plotX;g=a[g].plotY;h=(1.5*e+h.plotX)/2.5;k=(1.5*g+k)/2.5;l=(1.5*e+l)/2.5;var r=(1.5*g+u)/2.5;u=Math.sqrt(Math.pow(h-e,2)+Math.pow(k-g,2));var n=Math.sqrt(Math.pow(l-e,2)+Math.pow(r-g,2));h=Math.atan2(k-g,h-e);r=Math.PI/2+(h+Math.atan2(r-g,l-e))/2;Math.abs(h-r)>Math.PI/ 2&&(r-=Math.PI);h=e+Math.cos(r)*u;k=g+Math.sin(r)*u;l=e+Math.cos(Math.PI+r)*n;r=g+Math.sin(Math.PI+r)*n;e={rightContX:l,rightContY:r,leftContX:h,leftContY:k,plotX:e,plotY:g};c&&(e.prevPointCont=f(a,b,!1,d));return e}function m(){(this.pane||[]).forEach(function(a){a.render()})}function t(){var a=this;this.pane||(this.pane=[]);this.options.pane=w(this.options.pane);this.options.pane.forEach(function(b){new e(b,a)},this)}function q(){var a=this.chart;a.polar&&(this.polar=new O(this),a.inverted&&(this.isRadialSeries= !0,this.is("column")&&(this.isRadialBar=!0)))}function A(){if(this.chart.polar&&this.xAxis){var a=this.chart;(this.kdByAngle=a.tooltip&&a.tooltip.shared)?this.searchPoint=v:this.options.findNearestPointBy="xy";if(!this.preventPostTranslate)for(var c=this.points,d=c.length,e=void 0;d--;)e=c[d],this.polar.toXY(e),!a.hasParallelCoordinates&&!this.yAxis.reversed&&e.ya?"left":200a?"right":"center"),null===d.verticalAlign&&(d.verticalAlign=45>a||315a?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,b,c,d,e,f),this.isRadialBar&&b.shapeArgs&&b.shapeArgs.start===b.shapeArgs.end?c.hide():c.show()):a.call(this,b, c,d,e,f)}function k(a){var b=this.options,c=b.stacking,d=this.chart,e=this.xAxis,f=this.yAxis,g=f.reversed,h=f.center,k=e.startAngleRad,l=e.endAngleRad-k,n=0,m=0,r=0;this.preventPostTranslate=!0;a.call(this);if(e.isRadial){a=this.points;e=a.length;var q=f.translate(f.min);var t=f.translate(f.max);b=b.threshold||0;d.inverted&&F(b)&&(n=f.translate(b),E(n)&&(0>n?n=0:n>l&&(n=l),this.translatedThreshold=n+k));for(;e--;){b=a[e];var v=b.barX;var w=b.x;var x=b.y;b.shapeType="arc";if(d.inverted){b.plotY=f.translate(x); c&&f.stacking?(x=f.stacking.stacks[(0>x?"-":"")+this.stackKey],this.visible&&x&&x[w]&&!b.isNull&&(r=x[w].points[this.getStackIndicator(void 0,w,this.index).key],m=f.translate(r[0]),r=f.translate(r[1]),E(m)&&(m=p.clamp(m,0,l)))):(m=n,r=b.plotY);m>r&&(r=[m,m=r][0]);if(!g)if(mt)r=t;else{if(rt)m=r=0}else if(r>q)r=q;else if(mq||rf.max&&(m=r=g?l:0);m+=k;r+=k;h&&(b.barX=v+=h[3]/2);w=Math.max(v,0);x=Math.max(v+b.pointWidth,0);b.shapeArgs={x:h&&h[0],y:h&& h[1],r:x,innerR:w,start:m,end:r};b.opacity=m===r?0:void 0;b.plotY=(E(this.translatedThreshold)&&(mh[1])}}}function n(a,b){var c=this;if(this.chart.polar){b=b||this.points;for(var d=0;db&&(b=h),0>a&&(a=h));return{x:f[0],y:f[1],r:b,innerR:a,start:c,end:d}};a.prototype.toXY=function(a){var b=this.series,c=b.chart,d=b.xAxis,e=b.yAxis,f=a.plotX,g=c.inverted,h=a.y,k=a.plotY,l=g?f:e.len-k;g&&b&&!b.isRadialBar&&(a.plotY=k=F(h)?e.translate(h):0);a.rectPlotX=f;a.rectPlotY=k;e.center&&(l+=e.center[3]/2);F(k)&&(e=g?e.postTranslate(k,l):d.postTranslate(f,l),a.plotX=a.polarPlotX=e.x-c.plotLeft,a.plotY=a.polarPlotY= e.y-c.plotTop);b.kdByAngle?(b=(f/Math.PI*180+d.pane.options.startAngle)%360,0>b&&(b+=360),a.clientX=b):a.clientX=a.plotX};return a}();return O});A(e,"masters/highcharts-more.src.js",[e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Bubble/BubbleSeries.js"],e["Series/PackedBubble/PackedBubbleSeries.js"],e["Series/PolarComposition.js"]],function(a,b,e,c,p){e.compose(a.Axis,a.Chart,a.Legend,a.Series);c.compose(a.Axis,a.Chart,a.Legend,a.Series);p.compose(a.Axis,a.Chart,a.Pointer,a.Series, a.Tick,b.seriesTypes.areasplinerange,b.seriesTypes.column,b.seriesTypes.line,b.seriesTypes.spline)})}); //# sourceMappingURL=highcharts-more.js.map