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