1(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["default-node_modules_highcharts_highcharts-more_js"],{55141:(ut,ft,gt)=>{var dt,ct,_;_=function(_){function $(b,g,S,u){b.hasOwnProperty(g)||(b[g]=u.apply(null,S),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:g,module:b[g]}})))}$(_=_?_._modules:{},"Extensions/Pane.js",[_["Core/Chart/Chart.js"],_["Series/CenteredUtilities.js"],_["Core/Globals.js"],_["Core/Pointer.js"],_["Core/Utilities.js"]],function(b,g,S,u,m){function C(e,t,r,c,p){var n=!0,d=r[0],s=r[1],X=Math.sqrt(Math.pow(e-d,2)+Math.pow(t-s,2));return M(c)&&M(p)&&(e=Math.atan2(O(t-s,8),O(e-d,8)),p!==c&&(n=c>p?e>=c&&e<=Math.PI||e<=p&&e>=-Math.PI:e>=c&&e<=O(p,8))),X<=Math.ceil(r[2]/2)&&n}var N=m.addEvent,O=m.correctFloat,M=m.defined,w=m.extend,k=m.merge,v=m.pick,o=m.splat;return b.prototype.collectionsWithUpdate.push("pane"),m=function(){function e(t,r){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(t,r)}return e.prototype.init=function(t,r){this.chart=r,this.background=[],r.pane.push(this),this.setOptions(t)},e.prototype.setOptions=function(t){this.options=k(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},e.prototype.render=function(){var t=this.options,r=this.options.background,c=this.chart.renderer;if(this.group||(this.group=c.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),r)for(r=o(r),t=Math.max(r.length,this.background.length||0),c=0;c<t;c++)r[c]&&this.axis?this.renderBackground(k(this.defaultBackgroundOptions,r[c]),c):this.background[c]&&(this.background[c]=this.background[c].destroy(),this.background.splice(c,1))},e.prototype.renderBackground=function(t,r){var c="animate",p={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||w(p,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[r]||(this.background[r]=this.chart.renderer.path().add(this.group),c="attr"),this.background[r][c]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(p)},e.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=g.getCenter.call(this)},e.prototype.update=function(t,r){k(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(c){c.pane===this&&(c.pane=null,c.update({},r))},this)},e}(),b.prototype.getHoverPane=function(e){var r,t=this;return e&&t.pane.forEach(function(c){C(e.chartX-t.plotLeft,e.chartY-t.plotTop,c.center)&&(r=c)}),r},N(b,"afterIsInsidePlot",function(e){if(this.polar){if(e.options.inverted){var t=[e.y,e.x];e.x=t[0],e.y=t[1]}e.isInsidePlot=this.pane.some(function(r){return C(e.x,e.y,r.center,r.axis&&r.axis.normalizedStartAngleRad,r.axis&&r.axis.normalizedEndAngleRad)})}}),N(u,"beforeGetHoverData",function(e){var t=this.chart;t.polar?(t.hoverPane=t.getHoverPane(e),e.filter=function(r){return r.visible&&!(!e.shared&&r.directTouch)&&v(r.options.enableMouseTracking,!0)&&(!t.hoverPane||r.xAxis.pane===t.hoverPane)}):t.hoverPane=void 0}),N(u,"afterGetHoverData",function(e){var t=this.chart;e.hoverPoint&&e.hoverPoint.plotX&&e.hoverPoint.plotY&&t.hoverPane&&!C(e.hoverPoint.plotX,e.hoverPoint.plotY,t.hoverPane.center)&&(e.hoverPoint=void 0)}),S.Pane=m,S.Pane}),$(_,"Series/AreaRange/AreaRangePoint.js",[_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g){var N,S=this&&this.__extends||(N=function(O,M){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,k){w.__proto__=k}||function(w,k){for(var v in k)k.hasOwnProperty(v)&&(w[v]=k[v])})(O,M)},function(O,M){function w(){this.constructor=O}N(O,M),O.prototype=null===M?Object.create(M):(w.prototype=M.prototype,new w)}),u=(b=b.seriesTypes.area.prototype).pointClass.prototype,m=g.defined,C=g.isNumber;return function(N){function O(){var M=null!==N&&N.apply(this,arguments)||this;return M.high=void 0,M.low=void 0,M.options=void 0,M.plotX=void 0,M.series=void 0,M}return S(O,N),O.prototype.setState=function(){var M=this.state,w=this.series,k=w.chart.polar;m(this.plotHigh)||(this.plotHigh=w.yAxis.toPixels(this.high,!0)),m(this.plotLow)||(this.plotLow=this.plotY=w.yAxis.toPixels(this.low,!0)),w.stateMarkerGraphic&&(w.lowerStateMarkerGraphic=w.stateMarkerGraphic,w.stateMarkerGraphic=w.upperStateMarkerGraphic),this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,k&&C(this.plotHighX)&&(this.plotX=this.plotHighX),u.setState.apply(this,arguments),this.state=M,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],k&&C(this.plotLowX)&&(this.plotX=this.plotLowX),w.stateMarkerGraphic&&(w.upperStateMarkerGraphic=w.stateMarkerGraphic,w.stateMarkerGraphic=w.lowerStateMarkerGraphic,w.lowerStateMarkerGraphic=void 0),u.setState.apply(this,arguments)},O.prototype.haloPath=function(){var M=this.series.chart.polar,w=[];return this.plotY=this.plotLow,M&&C(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(w=u.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,M&&C(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(w=w.concat(u.haloPath.apply(this,arguments))),w},O.prototype.isValid=function(){return C(this.low)&&C(this.high)},O}(b.pointClass)}),$(_,"Series/AreaRange/AreaRangeSeries.js",[_["Series/AreaRange/AreaRangePoint.js"],_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u){var c,m=this&&this.__extends||(c=function(p,n){return(c=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,s){d.__proto__=s}||function(d,s){for(var X in s)s.hasOwnProperty(X)&&(d[X]=s[X])})(p,n)},function(p,n){function d(){this.constructor=p}c(p,n),p.prototype=null===n?Object.create(n):(d.prototype=n.prototype,new d)});g=g.noop;var C=S.seriesTypes,N=C.area,O=C.area.prototype,M=C.column.prototype;C=u.addEvent;var w=u.defined,k=u.extend,v=u.isArray,o=u.isNumber,e=u.pick,t=u.merge,r={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};return u=function(c){function p(){var n=null!==c&&c.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n.lowerStateMarkerGraphic=void 0,n.xAxis=void 0,n}return m(p,c),p.prototype.toYData=function(n){return[n.low,n.high]},p.prototype.highToXY=function(n){var d=this.chart,s=this.xAxis.postTranslate(n.rectPlotX||0,this.yAxis.len-(n.plotHigh||0));n.plotHighX=s.x-d.plotLeft,n.plotHigh=s.y-d.plotTop,n.plotLowX=n.plotX},p.prototype.getGraphPath=function(n){var f,d=[],s=[],X=O.getGraphPath,P=this.options,y=this.chart.polar,i=y&&!1!==P.connectEnds,h=P.connectNulls,x=P.step;for(f=(n=n||this.points).length;f--;){var l=n[f],L=y?{plotX:l.rectPlotX,plotY:l.yBottom,doCurve:!1}:{plotX:l.plotX,plotY:l.plotY,doCurve:!1};l.isNull||i||h||n[f+1]&&!n[f+1].isNull||s.push(L);var R={polarPlotY:l.polarPlotY,rectPlotX:l.rectPlotX,yBottom:l.yBottom,plotX:e(l.plotHighX,l.plotX),plotY:l.plotHigh,isNull:l.isNull};s.push(R),d.push(R),l.isNull||i||h||n[f-1]&&!n[f-1].isNull||s.push(L)}return n=X.call(this,n),x&&(!0===x&&(x="left"),P.step={left:"right",center:"center",right:"left"}[x]),d=X.call(this,d),s=X.call(this,s),P.step=x,P=[].concat(n,d),!this.chart.polar&&s[0]&&"M"===s[0][0]&&(s[0]=["L",s[0][1],s[0][2]]),this.graphPath=P,this.areaPath=n.concat(s),P.isArea=!0,P.xMap=n.xMap,this.areaPath.xMap=n.xMap,P},p.prototype.drawDataLabels=function(){var y,i,n=this.points,d=n.length,s=[],X=this.options.dataLabels,P=this.chart.inverted;if(X){if(v(X))var h=X[0]||{enabled:!1},f=X[1]||{enabled:!1};else(h=k({},X)).x=X.xHigh,h.y=X.yHigh,(f=k({},X)).x=X.xLow,f.y=X.yLow;if(h.enabled||this._hasPointLabels){for(y=d;y--;)if(i=n[y]){var x=i.plotHigh;x=void 0===x?0:x;var l=i.plotLow;l=void 0===l?0:l,l=h.inside?x<l:x>l,i.y=i.high,i._plotY=i.plotY,i.plotY=x,s[y]=i.dataLabel,i.dataLabel=i.dataLabelUpper,i.below=l,P?h.align||(h.align=l?"right":"left"):h.verticalAlign||(h.verticalAlign=l?"top":"bottom")}for(this.options.dataLabels=h,O.drawDataLabels&&O.drawDataLabels.apply(this,arguments),y=d;y--;)(i=n[y])&&(i.dataLabelUpper=i.dataLabel,i.dataLabel=s[y],delete i.dataLabels,i.y=i.low,i.plotY=i._plotY)}if(f.enabled||this._hasPointLabels){for(y=d;y--;)(i=n[y])&&(x=void 0===(s=i.plotHigh)?0:s,l=void 0===(s=i.plotLow)?0:s,i.below=!(l=f.inside?x<l:x>l),P?f.align||(f.align=l?"left":"right"):f.verticalAlign||(f.verticalAlign=l?"bottom":"top"));this.options.dataLabels=f,O.drawDataLabels&&O.drawDataLabels.apply(this,arguments)}if(h.enabled)for(y=d;y--;)(i=n[y])&&(i.dataLabels=[i.dataLabelUpper,i.dataLabel].filter(function(L){return!!L}));this.options.dataLabels=X}},p.prototype.alignDataLabel=function(){M.alignDataLabel.apply(this,arguments)},p.prototype.drawPoints=function(){var d,n=this.points.length;for(O.drawPoints.apply(this,arguments),d=0;d<n;){var s=this.points[d];s.graphics=s.graphics||[],s.origProps={plotY:s.plotY,plotX:s.plotX,isInside:s.isInside,negative:s.negative,zone:s.zone,y:s.y},(s.graphic||s.graphics[0])&&(s.graphics[0]=s.graphic),s.graphic=s.graphics[1],s.plotY=s.plotHigh,w(s.plotHighX)&&(s.plotX=s.plotHighX),s.y=e(s.high,s.origProps.y),s.negative=s.y<(this.options.threshold||0),this.zones.length&&(s.zone=s.getZone()),this.chart.polar||(s.isInside=s.isTopInside=void 0!==s.plotY&&0<=s.plotY&&s.plotY<=this.yAxis.len&&0<=s.plotX&&s.plotX<=this.xAxis.len),d++}for(O.drawPoints.apply(this,arguments),d=0;d<n;)(s=this.points[d]).graphics=s.graphics||[],(s.graphic||s.graphics[1])&&(s.graphics[1]=s.graphic),s.graphic=s.graphics[0],s.origProps&&(k(s,s.origProps),delete s.origProps),d++},p.defaultOptions=t(N.defaultOptions,r),p}(N),C(u,"afterTranslate",function(){var c=this;
1"low,high"===this.pointArrayMap.join(",")&&this.points.forEach(function(p){var n=p.high,d=p.plotY;p.isNull?p.plotY=void 0:(p.plotLow=d,p.plotHigh=o(n)?c.yAxis.translate(c.dataModify?c.dataModify.modifyValue(n):n,!1,!0,void 0,!0):void 0,c.dataModify&&(p.yBottom=p.plotHigh))})},{order:0}),C(u,"afterTranslate",function(){var c=this;this.points.forEach(function(p){if(c.chart.polar)c.highToXY(p),p.plotLow=p.plotY,p.tooltipPos=[((p.plotHighX||0)+(p.plotLowX||0))/2,((p.plotHigh||0)+(p.plotLow||0))/2];else{var n=p.pos(!1,p.plotLow),d=p.pos(!1,p.plotHigh);n&&d&&(n[0]=(n[0]+d[0])/2,n[1]=(n[1]+d[1])/2),p.tooltipPos=n}})},{order:3}),k(u.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:b,pointValKey:"low",setStackedPoints:g}),S.registerSeriesType("arearange",u),u}),$(_,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[_["Series/AreaRange/AreaRangeSeries.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S){var O,u=this&&this.__extends||(O=function(M,w){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,v){k.__proto__=v}||function(k,v){for(var o in v)v.hasOwnProperty(o)&&(k[o]=v[o])})(M,w)},function(M,w){function k(){this.constructor=M}O(M,w),M.prototype=null===w?Object.create(w):(k.prototype=w.prototype,new k)}),m=g.seriesTypes.spline.prototype,C=S.merge;S=S.extend;var N=function(O){function M(){var w=null!==O&&O.apply(this,arguments)||this;return w.options=void 0,w.data=void 0,w.points=void 0,w}return u(M,O),M.defaultOptions=C(b.defaultOptions),M}(b);return S(N.prototype,{getPointSpline:m.getPointSpline}),g.registerSeriesType("areasplinerange",N),N}),$(_,"Series/BoxPlot/BoxPlotSeries.js",[_["Series/Column/ColumnSeries.js"],_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u){var M,m=this&&this.__extends||(M=function(w,k){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,o){v.__proto__=o}||function(v,o){for(var e in o)o.hasOwnProperty(e)&&(v[e]=o[e])})(w,k)},function(w,k){function v(){this.constructor=w}M(w,k),w.prototype=null===k?Object.create(k):(v.prototype=k.prototype,new v)});g=g.noop;var C=u.extend,N=u.merge,O=u.pick;return u=function(M){function w(){var k=null!==M&&M.apply(this,arguments)||this;return k.data=void 0,k.options=void 0,k.points=void 0,k}return m(w,M),w.prototype.pointAttribs=function(){return{}},w.prototype.translate=function(){var k=this.yAxis,v=this.pointArrayMap;M.prototype.translate.apply(this),this.points.forEach(function(o){v.forEach(function(e){null!==o[e]&&(o[e+"Plot"]=k.translate(o[e],0,1,0,1))}),o.plotHigh=o.highPlot})},w.prototype.drawPoints=function(){var t,r,c,p,n,d,X,P,y,i,f,k=this,v=k.options,o=k.chart,e=o.renderer,s=0,h=!1!==k.doQuartiles,x=k.options.whiskerLength;k.points.forEach(function(l){var L=l.graphic,R=L?"animate":"attr",D=l.shapeArgs,E={},W={},Q={},T={},a=l.color||k.color;void 0!==l.plotY&&(X=Math.round(D.width),P=Math.floor(D.x),y=P+X,i=Math.round(X/2),t=Math.floor(h?l.q1Plot:l.lowPlot),r=Math.floor(h?l.q3Plot:l.lowPlot),c=Math.floor(l.highPlot),p=Math.floor(l.lowPlot),L||(l.graphic=L=e.g("point").add(k.group),l.stem=e.path().addClass("highcharts-boxplot-stem").add(L),x&&(l.whiskers=e.path().addClass("highcharts-boxplot-whisker").add(L)),h&&(l.box=e.path(void 0).addClass("highcharts-boxplot-box").add(L)),l.medianShape=e.path(void 0).addClass("highcharts-boxplot-median").add(L)),o.styledMode||(W.stroke=l.stemColor||v.stemColor||a,W["stroke-width"]=O(l.stemWidth,v.stemWidth,v.lineWidth),W.dashstyle=l.stemDashStyle||v.stemDashStyle||v.dashStyle,l.stem.attr(W),x&&(Q.stroke=l.whiskerColor||v.whiskerColor||a,Q["stroke-width"]=O(l.whiskerWidth,v.whiskerWidth,v.lineWidth),Q.dashstyle=l.whiskerDashStyle||v.whiskerDashStyle||v.dashStyle,l.whiskers.attr(Q)),h&&(E.fill=l.fillColor||v.fillColor||a,E.stroke=v.lineColor||a,E["stroke-width"]=v.lineWidth||0,E.dashstyle=l.boxDashStyle||v.boxDashStyle||v.dashStyle,l.box.attr(E)),T.stroke=l.medianColor||v.medianColor||a,T["stroke-width"]=O(l.medianWidth,v.medianWidth,v.lineWidth),T.dashstyle=l.medianDashStyle||v.medianDashStyle||v.dashStyle,l.medianShape.attr(T)),d=l.stem.strokeWidth()%2/2,l.stem[R]({d:L=[["M",s=P+i+d,r],["L",s,c],["M",s,t],["L",s,p]]}),h&&(d=l.box.strokeWidth()%2/2,t=Math.floor(t)+d,r=Math.floor(r)+d,l.box[R]({d:L=[["M",P+=d,r],["L",P,t],["L",y+=d,t],["L",y,r],["L",P,r],["Z"]]})),x&&(d=l.whiskers.strokeWidth()%2/2,c+=d,p+=d,f=/%$/.test(x)?i*parseFloat(x)/100:x/2,l.whiskers[R]({d:L=[["M",s-f,c],["L",s+f,c],["M",s-f,p],["L",s+f,p]]})),n=Math.round(l.medianPlot),d=l.medianShape.strokeWidth()%2/2,l.medianShape[R]({d:L=[["M",P,n+=d],["L",y,n]]}))})},w.prototype.toYData=function(k){return[k.low,k.q1,k.median,k.q3,k.high]},w.defaultOptions=N(b.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),w}(b),C(u.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointV
1alKey:"high",drawDataLabels:g,setStackedPoints:g}),S.registerSeriesType("boxplot",u),u}),$(_,"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}}),$(_,"Series/Bubble/BubbleLegendItem.js",[_["Core/Color/Color.js"],_["Core/FormatUtilities.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(b,g,S,u){var m=b.parse,C=S.noop,N=u.arrayMax,O=u.arrayMin,M=u.isNumber,w=u.merge,k=u.pick,v=u.stableSort;return function(){function o(e,t){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=C,this.init(e,t)}return o.prototype.init=function(e,t){this.options=e,this.visible=!0,this.chart=t.chart,this.legend=t},o.prototype.addToLegend=function(e){e.splice(this.options.legendIndex,0,this)},o.prototype.drawLegendSymbol=function(e){var t=this.chart,r=k(e.options.itemDistance,20),c=this.legendItem||{},p=this.options,n=p.ranges,d=p.connectorDistance;this.fontMetrics=t.renderer.fontMetrics(p.labels.style.fontSize),n&&n.length&&M(n[0].value)?(v(n,function(s,X){return X.value-s.value}),this.ranges=n,this.setOptions(),this.render(),e=this.getMaxLabelSize(),t=2*(n=this.ranges[0].radius),d=0<(d=d-n+e.width)?d:0,this.maxLabel=e,this.movementX="left"===p.labels.align?d:0,c.labelWidth=t+d+r,c.labelHeight=t+this.fontMetrics.h/2):e.options.bubbleLegend.autoRanges=!0},o.prototype.setOptions=function(){var e=this.ranges,t=this.options,r=this.chart.series[t.seriesIndex],c=this.legend.baseline,p={zIndex:t.zIndex,"stroke-width":t.borderWidth},n={zIndex:t.zIndex,"stroke-width":t.connectorWidth},d={align:this.legend.options.rtl||"left"===t.labels.align?"right":"left",zIndex:t.zIndex},s=r.options.marker.fillOpacity,X=this.chart.styledMode;e.forEach(function(P,y){X||(p.stroke=k(P.borderColor,t.borderColor,r.color),p.fill=k(P.color,t.color,1!==s?m(r.color).setOpacity(s).get("rgba"):r.color),n.stroke=k(P.connectorColor,t.connectorColor,r.color)),e[y].radius=this.getRangeRadius(P.value),e[y]=w(e[y],{center:e[0].radius-e[y].radius+c}),X||w(!0,e[y],{bubbleAttribs:w(p),connectorAttribs:w(n),labelAttribs:d})},this)},o.prototype.getRangeRadius=function(e){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,e)},o.prototype.render=function(){var e=this.legendItem||{},t=this.chart.renderer,r=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),e.symbol=t.g("bubble-legend"),e.label=t.g("bubble-legend-item"),e.symbol.translateX=0,t=e.symbol.translateY=0;for(var c=this.ranges;t<c.length;t++){var p=c[t];p.value>=r&&this.renderRange(p)}e.symbol.add(e.label),e.label.add(e.group),this.hideOverlappingLabels()},o.prototype.renderRange=function(e){var t=this.options,r=t.labels,c=this.chart,p=c.series[t.seriesIndex],n=c.renderer,d=this.symbols;c=d.labels;var s=e.center,X=Math.abs(e.radius),P=t.connectorDistance||0,y=r.align,i=t.connectorWidth,h=this.ranges[0].radius||0,f=s-X-t.borderWidth/2+i/2,x=this.fontMetrics;x=x.f/2-(x.h-x.f)/2;var l=n.styledMode;P=this.legend.options.rtl||"left"===y?-P:P,"center"===y&&(P=0,t.connectorDistance=0,e.labelAttribs.align="center"),y=f+t.labels.y;var L=h+P+t.labels.x;d.bubbleItems.push(n.circle(h,s+((f%1?1:.5)-(i%2?0:.5)),X).attr(l?{}:e.bubbleAttribs).addClass((l?"highcharts-color-"+p.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendItem.symbol)),d.connectors.push(n.path(n.crispLine([["M",h,f],["L",h+P,f]],t.connectorWidth)).attr(l?{}:e.connectorAttribs).addClass((l?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendItem.symbol)),e=n.text(this.formatLabel(e),L,y+x).attr(l?{}:e.labelAttribs).css(l?{}
1:r.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendItem.symbol),c.push(e),e.placed=!0,e.alignAttr={x:L,y:y+x}},o.prototype.getMaxLabelSize=function(){var e,t;return this.symbols.labels.forEach(function(r){t=r.getBBox(!0),e=e?t.width>e.width?t:e:t}),e||{}},o.prototype.formatLabel=function(e){var t=this.options,r=t.labels.formatter,c=this.chart.numberFormatter;return(t=t.labels.format)?g.format(t,e):r?r.call(e):c(e.value,1)},o.prototype.hideOverlappingLabels=function(){var t=this.symbols;!this.options.labels.allowOverlap&&t&&(this.chart.hideOverlappingLabels(t.labels),t.labels.forEach(function(r,c){r.newOpacity?r.newOpacity!==r.oldOpacity&&t.connectors[c].show():t.connectors[c].hide()}))},o.prototype.getRanges=function(){var r,e=this.legend.bubbleLegend,t=e.options.ranges,c=Number.MAX_VALUE,p=-Number.MAX_VALUE;e.chart.series.forEach(function(d){d.isBubble&&!d.ignoreSeries&&(r=d.zData.filter(M)).length&&(c=k(d.options.zMin,Math.min(c,Math.max(O(r),!1===d.options.displayNegative?d.options.zThreshold:-Number.MAX_VALUE))),p=k(d.options.zMax,Math.max(p,N(r))))});var n=c===p?[{value:p}]:[{value:c},{value:(c+p)/2},{value:p,autoRanges:!0}];return t.length&&t[0].radius&&n.reverse(),n.forEach(function(d,s){t&&t[s]&&(n[s]=w(t[s],d))}),n},o.prototype.predictBubbleSizes=function(){var e=this.chart,t=this.fontMetrics,r=e.legend.options,c=r.floating,p=(r="horizontal"===r.layout)?e.legend.lastLineHeight:0,n=e.plotSizeX,d=e.plotSizeY,s=e.series[this.options.seriesIndex],X=s.getPxExtremes();e=Math.ceil(X.minPxSize),X=Math.ceil(X.maxPxSize);var P=Math.min(d,n);return s=s.options.maxSize,c||!/%$/.test(s)?t=X:(s=parseFloat(s),t=(P+p-t.h/2)*s/100/(s/100+1),(r&&d-t>=n||!r&&n-t>=d)&&(t=X)),[e,Math.ceil(t)]},o.prototype.updateRanges=function(e,t){var r=this.legend.options.bubbleLegend;r.minSize=e,r.maxSize=t,r.ranges=this.getRanges()},o.prototype.correctSizes=function(){var e=this.legend,t=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(t.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,t.maxPxSize),e.render())},o}()}),$(_,"Series/Bubble/BubbleLegendComposition.js",[_["Series/Bubble/BubbleLegendDefaults.js"],_["Series/Bubble/BubbleLegendItem.js"],_["Core/Defaults.js"],_["Core/Utilities.js"]],function(b,g,S,u){function m(r,c,p){var s,n=this.legend,d=0<=C(this);if(n&&n.options.enabled&&n.bubbleLegend&&n.options.bubbleLegend.autoRanges&&d){var X=n.bubbleLegend.options;d=n.bubbleLegend.predictBubbleSizes(),n.bubbleLegend.updateRanges(d[0],d[1]),X.placed||(n.group.placed=!1,n.allItems.forEach(function(P){(s=P.legendItem||{}).group&&(s.group.translateY=null)})),n.render(),this.getMargins(),this.axes.forEach(function(P){P.visible&&P.render(),X.placed||(P.setScale(),P.updateNames(),o(P.ticks,function(y){y.isNew=!0,y.isNewLabel=!0}))}),X.placed=!0,this.getMargins(),r.call(this,c,p),n.bubbleLegend.correctSizes(),w(n,N(n))}else r.call(this,c,p),n&&n.options.enabled&&n.bubbleLegend&&(n.render(),w(n,N(n)))}function C(r){r=r.series;for(var c=0;c<r.length;){if(r[c]&&r[c].isBubble&&r[c].visible&&r[c].zData.length)return c;c++}return-1}function N(r){var n,c=[],p=(r=r.allItems).length,d=0;for(n=0;n<p;n++){var s=r[n].legendItem||{},X=(r[n+1]||{}).legendItem||{};if(s.labelHeight&&(r[n].itemHeight=s.labelHeight),r[n]===r[p-1]||s.y!==X.y){for(c.push({height:0}),s=c[c.length-1];d<=n;d++)r[d].itemHeight>s.height&&(s.height=r[d].itemHeight);s.step=n}}return c}function O(r){var c=this.bubbleLegend,p=this.options,n=p.bubbleLegend,d=C(this.chart);c&&c.ranges&&c.ranges.length&&(n.ranges.length&&(n.autoRanges=!!n.ranges[0].autoRanges),this.destroyItem(c)),0<=d&&p.enabled&&n.enabled&&(n.seriesIndex=d,this.bubbleLegend=new g(n,this),this.bubbleLegend.addToLegend(r.allItems))}function M(){var r=this.chart,c=this.visible,p=this.chart.legend;p&&p.bubbleLegend&&(this.visible=!c,this.ignoreSeries=c,r=0<=C(r),p.bubbleLegend.visible!==r&&(p.update({bubbleLegend:{enabled:r}}),p.bubbleLegend.visible=r),this.visible=c)}function w(r,c){var n,d,s,X,p=r.options.rtl,P=0;r.allItems.forEach(function(y,i){(X=y.legendItem||{}).group&&(n=X.group.translateX||0,d=X.y||0,((s=y.movementX)||p&&y.ranges)&&X.group.attr({translateX:s=p?n-y.options.maxSize/2:n+s}),i>c[P].step&&P++,X.group.attr({translateY:Math.round(d+c[P].height/2)}),X.y=d+c[P].height/2)})}var k=S.setOptions,v=u.addEvent,o=u.objectEach,e=u.wrap,t=[];return{compose:function(r,c,p){-1===t.indexOf(r)&&(t.push(r),k({legend:{bubbleLegend:b}}),e(r.prototype,"drawChartBox",m)),-1===t.indexOf(c)&&(t.push(c),v(c,"afterGetAllItems",O)),-1===t.indexOf(p)&&(t.push(p),v(p,"legendItemClick",M))}}}),$(_,"Series/Bubble/BubblePoint.js",[_["Core/Series/Point.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S){var m,u=this&&this.__extends||(m=function(C,N){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,M){O.__proto__=M}||function(O,M){for(var w in M)M.hasOwnProperty(w)&&(O[w]=M[w])})(C,N)},function(C,N){function O(){this.constructor=C}m(C,N),C.prototype=null===N?Object.create(N):(O.prototype=N.prototype,new O)});return S=S.extend,g=function(m){function C(){var N=null!==m&&m.apply(this,arguments)||this;return N.options=void 0,N.series=void 0,N}return u(C,m),C.prototype.haloPath=function(N){return b.prototype.haloPath.call(this,0===N?0:(this.marker&&this.marker.radiu
1s||0)+N)},C}(g.seriesTypes.scatter.prototype.pointClass),S(g.prototype,{ttBelow:!1}),g}),$(_,"Series/Bubble/BubbleSeries.js",[_["Series/Bubble/BubbleLegendComposition.js"],_["Series/Bubble/BubblePoint.js"],_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u,m,C){function N(){var R,s=this,X=this.len,P=this.chart,y=this.isXAxis,i=y?"xData":"yData",h=this.min,f=this.max-h,x=0,l=X,L=X/f;this.series.forEach(function(D){if(D.bubblePadding&&(D.visible||!P.options.chart.ignoreHiddenSeries)){R=s.allowZoomOutside=!0;var E=D[i];if(y&&((D.onPoint||D).getRadii(0,0,D),D.onPoint&&(D.radii=D.onPoint.radii)),0<f)for(var W=E.length;W--;)if(c(E[W])&&s.dataMin<=E[W]&&E[W]<=s.max){var Q=D.radii&&D.radii[W]||0;x=Math.min((E[W]-h)*L-Q,x),l=Math.max((E[W]-h)*L+Q,l)}}}),R&&0<f&&!this.logarithmic&&(l-=X,L*=(X+Math.max(0,x)-Math.min(l,X))/X,[["min","userMin",x],["max","userMax",l]].forEach(function(D){void 0===n(s.options[D[0]],s[D[1]])&&(s[D[0]]+=D[2]/L)}))}var s,O=this&&this.__extends||(s=function(X,P){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,i){y.__proto__=i}||function(y,i){for(var h in i)i.hasOwnProperty(h)&&(y[h]=i[h])})(X,P)},function(X,P){function y(){this.constructor=X}s(X,P),X.prototype=null===P?Object.create(P):(y.prototype=P.prototype,new y)}),M=S.parse;S=u.noop;var w=m.series,k=m.seriesTypes;u=k.column.prototype;var v=k.scatter;k=C.addEvent;var o=C.arrayMax,e=C.arrayMin,t=C.clamp,r=C.extend,c=C.isNumber,p=C.merge,n=C.pick,d=[];return C=function(s){function X(){var P=null!==s&&s.apply(this,arguments)||this;return P.data=void 0,P.maxPxSize=void 0,P.minPxSize=void 0,P.options=void 0,P.points=void 0,P.radii=void 0,P.yData=void 0,P.zData=void 0,P}return O(X,s),X.compose=function(P,y,i,h){b.compose(y,i,h),-1===d.indexOf(P)&&(d.push(P),P.prototype.beforePadding=N)},X.prototype.animate=function(P){!P&&this.points.length<this.options.animationLimit&&this.points.forEach(function(y){var i=y.graphic;i&&i.width&&(this.hasRendered||i.attr({x:y.plotX,y:y.plotY,width:1,height:1}),i.animate(this.markerAttribs(y),this.options.animation))},this)},X.prototype.getRadii=function(){var P=this,y=this.zData,i=this.yData,h=[],f=this.chart.bubbleZExtremes,x=this.getPxExtremes(),l=x.minPxSize,L=x.maxPxSize;if(!f){var E,R=Number.MAX_VALUE,D=-Number.MAX_VALUE;this.chart.series.forEach(function(T){T.bubblePadding&&(T.visible||!P.chart.options.chart.ignoreHiddenSeries)&&(T=(T.onPoint||T).getZExtremes())&&(R=Math.min(R||T.zMin,T.zMin),D=Math.max(D||T.zMax,T.zMax),E=!0)}),E?this.chart.bubbleZExtremes=f={zMin:R,zMax:D}:f={zMin:0,zMax:0}}var W=0;for(x=y.length;W<x;W++)h.push(this.getRadius(f.zMin,f.zMax,l,L,y[W],i&&i[W]));this.radii=h},X.prototype.getRadius=function(P,y,i,h,f,x){var l=this.options,L="width"!==l.sizeBy,R=l.zThreshold,D=y-P,E=.5;if(null===x||null===f)return null;if(c(f)){if(l.sizeByAbsoluteValue&&(f=Math.abs(f-R),D=Math.max(y-R,Math.abs(P-R)),P=0),f<P)return i/2-1;0<D&&(E=(f-P)/D)}return L&&0<=E&&(E=Math.sqrt(E)),Math.ceil(i+E*(h-i))/2},X.prototype.hasData=function(){return!!this.processedXData.length},X.prototype.pointAttribs=function(P,y){var i=this.options.marker.fillOpacity;return P=w.prototype.pointAttribs.call(this,P,y),1!==i&&(P.fill=M(P.fill).setOpacity(i).get("rgba")),P},X.prototype.translate=function(){s.prototype.translate.call(this),this.getRadii(),this.translateBubble()},X.prototype.translateBubble=function(){for(var P=this.data,y=this.radii,i=this.getPxExtremes().minPxSize,h=P.length;h--;){var f=P[h],x=y?y[h]:0;c(x)&&x>=i/2?(f.marker=r(f.marker,{radius:x,width:2*x,height:2*x}),f.dlBox={x:f.plotX-x,y:f.plotY-x,width:2*x,height:2*x}):(f.shapeArgs=f.plotY=f.dlBox=void 0,f.isInside=!1)}},X.prototype.getPxExtremes=function(){var P=Math.min(this.chart.plotWidth,this.chart.plotHeight),y=function(h){if("string"==typeof h){var f=/%$/.test(h);h=parseInt(h,10)}return f?P*h/100:h},i=y(n(this.options.minSize,8));return{minPxSize:i,maxPxSize:y=Math.max(y(n(this.options.maxSize,"20%")),i)}},X.prototype.getZExtremes=function(){var P=this.options,y=(this.zData||[]).filter(c);if(y.length){var i=n(P.zMin,t(e(y),!1===P.displayNegative?P.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(P=n(P.zMax,o(y)),c(i)&&c(P))return{zMin:i,zMax:P}}},X.defaultOptions=p(v.defaultOptions,{dataLabels:{formatter:function(){var P=this.series.chart.numberFormatter,y=this.point.z;return c(y)?P(y,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,
1states:{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"}),X}(v),r(C.prototype,{alignDataLabel:u.alignDataLabel,applyZones:S,bubblePadding:!0,buildKDTree:S,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:g,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),k(C,"updatedData",function(s){delete s.target.chart.bubbleZExtremes}),k(C,"remove",function(s){delete s.target.chart.bubbleZExtremes}),m.registerSeriesType("bubble",C),C}),$(_,"Series/ColumnRange/ColumnRangePoint.js",[_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g){var N,S=this&&this.__extends||(N=function(O,M){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,k){w.__proto__=k}||function(w,k){for(var v in k)k.hasOwnProperty(v)&&(w[v]=k[v])})(O,M)},function(O,M){function w(){this.constructor=O}N(O,M),O.prototype=null===M?Object.create(M):(w.prototype=M.prototype,new w)}),u=b.seriesTypes;b=u.column.prototype.pointClass.prototype;var m=g.extend,C=g.isNumber;return g=function(N){function O(){var M=null!==N&&N.apply(this,arguments)||this;return M.options=void 0,M.series=void 0,M}return S(O,N),O.prototype.isValid=function(){return C(this.low)},O}(u.arearange.prototype.pointClass),m(g.prototype,{setState:b.setState}),g}),$(_,"Series/ColumnRange/ColumnRangeSeries.js",[_["Series/ColumnRange/ColumnRangePoint.js"],_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u){var t,m=this&&this.__extends||(t=function(r,c){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var d in n)n.hasOwnProperty(d)&&(p[d]=n[d])})(r,c)},function(r,c){function p(){this.constructor=r}t(r,c),r.prototype=null===c?Object.create(c):(p.prototype=c.prototype,new p)});g=g.noop;var C=S.seriesTypes,N=C.arearange,O=C.column,M=C.column.prototype,w=u.clamp;C=u.extend;var k=u.isNumber,v=u.merge,o=u.pick,e={pointRange:null,marker:null,states:{hover:{halo:!1}}};return u=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return m(r,t),r.prototype.setOptions=function(){return v(!0,arguments[0],{stacking:void 0}),N.prototype.setOptions.apply(this,arguments)},r.prototype.translate=function(){var y,i,h,f,c=this,p=this.yAxis,n=this.xAxis,d=n.startAngleRad,s=this.chart,X=this.xAxis.isRadial,P=Math.max(s.chartWidth,s.chartHeight)+999;M.translate.apply(this),this.points.forEach(function(x){var l=x.shapeArgs||{},L=c.options.minPointLength,R=x.plotY,D=p.translate(x.high,0,1,0,1);k(D)&&k(R)&&(x.plotHigh=w(D,-P,P),x.plotLow=w(R,-P,P),f=x.plotHigh,y=o(x.rectPlotY,x.plotY)-x.plotHigh,Math.abs(y)<L?(y+=i=L-y,f-=i/2):0>y&&(f-=y*=-1),X&&c.polar?(h=x.barX+d,x.shapeType="arc",x.shapeArgs=c.polar.arc(f+y,f,h,h+x.pointWidth)):(l.height=y,l.y=f,L=void 0===(L=l.x)?0:L,l=void 0===(l=l.width)?0:l,x.tooltipPos=s.inverted?[p.len+p.pos-s.plotLeft-f-y/2,n.len+n.pos-s.plotTop-L-l/2,y]:[n.left-s.plotLeft+L+l/2,p.pos-s.plotTop+f+y/2,y]))})},r.prototype.pointAttribs=function(){return M.pointAttribs.apply(this,arguments)},r.prototype.translate3dPoints=function(){return M.translate3dPoints.apply(this,arguments)},r.prototype.translate3dShapes=function(){return M.translate3dShapes.apply(this,arguments)},r.defaultOptions=v(O.defaultOptions,N.defaultOptions,e),r}(N),C(u.prototype,{directTouch:!0,pointClass:b,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:M.adjustForMissingColumns,animate:M.animate,crispCol:M.crispCol,drawGraph:g,drawPoints:M.drawPoints,getSymbol:g,drawTracker:M.drawTracker,getColumnMetrics:M.getColumnMetrics}),S.registerSeriesType("columnrange",u),u}),$(_,"Series/ColumnPyramid/ColumnPyramidSeries.js",[_["Series/Column/ColumnSeries.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S){var M,u=this&&this.__extends||(M=function(w,k){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,o){v.__proto__=o}||function(v,o){for(var e in o)o.hasOwnProperty(e)&&(v[e]=o[e])})(w,k)},function(w,k){function v(){this.constructor=w}M(w,k),w.prototype=null===k?Object.create(k):(v.prototype=k.prototype,new v)}),m=b.prototype,C=S.clamp,N=S.merge,O=S.pick;return S=function(M){function w(){var k=null!==M&&M.apply(this,arguments)||this;return k.data=void 0,k.options=void 0,k.points=void 0,k}return u(w,M),w.prototype.translate=function(){var k=this,v=k.chart,o=k.options,e=k.dense=2>k.closestPointRange*k.xAxis.transA;e=k.borderWidth=O(o.borderWidth,e?0:1);var t=k.yAxis,r=o.threshold,c=k.translatedThreshold=t.getThreshold(r),p=O(o.minPointLength,5),n=k.getColumnMetrics(),d=n.width,s=k.barW=Math.max(d,1+2*e),X=k.pointXOffset=n.offset;v.inverted&&(c-=.5),o.pointPadding&&(s=Math.ceil(s)),m.translate.apply(k),k.points.forEac
1h(function(P){var y=O(P.yBottom,c),i=999+Math.abs(y),h=C(P.plotY,-i,t.len+i);i=P.plotX+X;var l,f=s/2,x=Math.min(h,y);y=Math.max(h,y)-x,P.barX=i,P.pointWidth=d,P.tooltipPos=v.inverted?[t.len+t.pos-v.plotLeft-h,k.xAxis.len-i-f,y]:[i+f,h+t.pos-v.plotTop,y],h=r+(P.total||P.y),"percent"===o.stacking&&(h=r+(0>P.y)?-100:100),h=t.toPixels(h,!0);var L=(l=v.plotHeight-h-(v.plotHeight-c))?f*(x-h)/l:0,R=l?f*(x+y-h)/l:0;l=i-L+f,L=i+L+f;var D=i+R+f;R=i-R+f;var E=x-p,W=x+y;0>P.y&&(E=x,W=x+y+p),v.inverted&&(R=f*(h-((D=t.width-x)-y))/(l=h-(t.width-c)),L=(l=i+f+(L=f*(h-D)/l))-2*L,D=i-R+f,R=i+R+f,E=x,W=x+y-p,0>P.y&&(W=x+y+p)),P.shapeType="path",P.shapeArgs={x:l,y:E,width:L-l,height:y,d:[["M",l,E],["L",L,E],["L",D,W],["L",R,W],["Z"]]}})},w.defaultOptions=N(b.defaultOptions,{}),w}(b),g.registerSeriesType("columnpyramid",S),S}),$(_,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],function(){return{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}}),$(_,"Series/ErrorBar/ErrorBarSeries.js",[_["Series/BoxPlot/BoxPlotSeries.js"],_["Series/Column/ColumnSeries.js"],_["Series/ErrorBar/ErrorBarSeriesDefaults.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u,m){var k,C=this&&this.__extends||(k=function(v,o){return(k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(v,o)},function(v,o){function e(){this.constructor=v}k(v,o),v.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),N=u.seriesTypes.arearange,O=m.addEvent,M=m.merge;m=m.extend;var w=function(k){function v(){var o=null!==k&&k.apply(this,arguments)||this;return o.data=void 0,o.options=void 0,o.points=void 0,o}return C(v,k),v.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||g.prototype.getColumnMetrics.call(this)},v.prototype.drawDataLabels=function(){var o=this.pointValKey;N&&(N.prototype.drawDataLabels.call(this),this.data.forEach(function(e){e.y=e[o]}))},v.prototype.toYData=function(o){return[o.low,o.high]},v.defaultOptions=M(b.defaultOptions,S),v}(b);return O(w,"afterTranslate",function(){this.points.forEach(function(k){k.plotLow=k.plotY})},{order:0}),m(w.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),u.registerSeriesType("errorbar",w),w}),$(_,"Series/Gauge/GaugePoint.js",[_["Core/Series/SeriesRegistry.js"]],function(b){var S,g=this&&this.__extends||(S=function(u,m){return(S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,N){C.__proto__=N}||function(C,N){for(var O in N)N.hasOwnProperty(O)&&(C[O]=N[O])})(u,m)},function(u,m){function C(){this.constructor=u}S(u,m),u.prototype=null===m?Object.create(m):(C.prototype=m.prototype,new C)});return function(S){function u(){var m=null!==S&&S.apply(this,arguments)||this;return m.options=void 0,m.series=void 0,m.shapeArgs=void 0,m}return g(u,S),u.prototype.setState=function(m){this.state=m},u}(b.series.prototype.pointClass)}),$(_,"Series/Gauge/GaugeSeries.js",[_["Series/Gauge/GaugePoint.js"],_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u){var e,m=this&&this.__extends||(e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,p){c.__proto__=p}||function(c,p){for(var n in p)p.hasOwnProperty(n)&&(c[n]=p[n])})(t,r)},function(t,r){function c(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(c.prototype=r.prototype,new c)});g=g.noop;var C=S.series,N=S.seriesTypes.column,O=u.clamp,M=u.isNumber,w=u.extend,k=u.merge,v=u.pick,o=u.pInt;return u=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.data=void 0,r.points=void 0,r.options=void 0,r.yAxis=void 0,r}return m(t,e),t.prototype.translate=function(){var r=this.yAxis,c=this.options,p=r.center;this.generatePoints(),this.points.forEach(function(n){var d=k(c.dial,n.dial),s=o(d.radius)*p[2]/200,X=o(d.baseLength)*s/100,P=o(d.rearLength)*s/100,y=d.baseWidth,i=d.topWidth,h=c.overshoot,f=r.startAngleRad+r.translate(n.y,void 0,void 0,void 0,!0);(M(h)||!1===c.wrap)&&(h=M(h)?h/180*Math.PI:0,f=O(f,r.startAngleRad-h,r.endAngleRad+h)),f=180*f/Math.PI,n.shapeType="path",n.shapeArgs={d:d.path||[["M",-P,-y/2],["L",X,-y/2],["L",s,-i/2],["L",s,i/2],["L",X,y/2],["L",-P,y/2],["Z"]],translateX:p[0],translateY:p[1],rotation:f},n.plotX=p[0],n.plotY=p[1]})},t.prototype.drawPoints=function(){var r=this,c=r.chart,p=r.yAxis.center,n=r.pivot,d=r.options,s=d.pivot,X=c.renderer;
1r.points.forEach(function(P){var y=P.graphic,i=P.shapeArgs,h=i.d,f=k(d.dial,P.dial);y?(y.animate(i),i.d=h):P.graphic=X[P.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(r.group),c.styledMode||P.graphic[y?"animate":"attr"]({stroke:f.borderColor,"stroke-width":f.borderWidth,fill:f.backgroundColor})}),n?n.animate({translateX:p[0],translateY:p[1]}):s&&(r.pivot=X.circle(0,0,s.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(p[0],p[1]).add(r.group),c.styledMode||r.pivot.attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.borderWidth}))},t.prototype.animate=function(r){var c=this;r||c.points.forEach(function(p){var n=p.graphic;n&&(n.attr({rotation:180*c.yAxis.startAngleRad/Math.PI}),n.animate({rotation:p.shapeArgs.rotation},c.options.animation))})},t.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),C.prototype.render.call(this),this.group.clip(this.chart.clipRect)},t.prototype.setData=function(r,c){C.prototype.setData.call(this,r,!1),this.processData(),this.generatePoints(),v(c,!0)&&this.chart.redraw()},t.prototype.hasData=function(){return!!this.points.length},t.defaultOptions=k(C.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}),t}(C),w(u.prototype,{angular:!0,directTouch:!0,drawGraph:g,drawTracker:N.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:b,trackerGroups:["group","dataLabelsGroup"]}),S.registerSeriesType("gauge",u),u}),$(_,"Series/DragNodesComposition.js",[_["Core/Utilities.js"]],function(b){function g(){var C,N,O,m=this;m.container&&(C=S(m.container,"mousedown",function(M){var w=m.hoverPoint;w&&w.series&&w.series.hasDraggableNodes&&w.series.options.draggable&&(w.series.onMouseDown(w,M),N=S(m.container,"mousemove",function(k){return w&&w.series&&w.series.onMouseMove(w,k)}),O=S(m.container.ownerDocument,"mouseup",function(k){return N(),O(),w&&w.series&&w.series.onMouseUp(w,k)}))})),S(m,"destroy",function(){C()})}var S=b.addEvent,u=[];
1return{compose:function(m){-1===u.indexOf(m)&&(u.push(m),S(m,"load",g))},onMouseDown:function(m,C){C=this.chart.pointer.normalize(C),m.fixedPosition={chartX:C.chartX,chartY:C.chartY,plotX:m.plotX,plotY:m.plotY},m.inDragMode=!0},onMouseMove:function(m,C){if(m.fixedPosition&&m.inDragMode){var N=this.chart,O=N.pointer.normalize(C);C=m.fixedPosition.chartX-O.chartX,O=m.fixedPosition.chartY-O.chartY;var M=N.graphLayoutsLookup,w=void 0,k=void 0;(5<Math.abs(C)||5<Math.abs(O))&&N.isInsidePlot(w=m.fixedPosition.plotX-C,k=m.fixedPosition.plotY-O)&&(m.plotX=w,m.plotY=k,m.hasDragged=!0,this.redrawHalo(m),M.forEach(function(v){v.restartSimulation()}))}},onMouseUp:function(m,C){m.fixedPosition&&(m.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),m.inDragMode=m.hasDragged=!1,this.options.fixedDraggable||delete m.fixedPosition)},redrawHalo:function(m){m&&this.halo&&this.halo.attr({d:m.haloPath(this.options.states.hover.halo.size)})}}}),$(_,"Series/GraphLayoutComposition.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Utilities.js"]],function(b,g){function S(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(w){w.updateSimulation()}),this.redraw())}function u(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(w){w.updateSimulation(!1)}),this.redraw())}function m(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(w){w.stop()})}function C(){var w=!1,k=function(o){o.maxIterations--&&isFinite(o.temperature)&&!o.isStable()&&!o.enableSimulation&&(o.beforeStep&&o.beforeStep(),o.step(),v=!1,w=!0)};if(this.graphLayoutsLookup){for(N(!1,this),this.graphLayoutsLookup.forEach(function(o){return o.start()});!v;){var v=!0;this.graphLayoutsLookup.forEach(k)}w&&this.series.forEach(function(o){o&&o.layout&&o.render()})}}var N=b.setAnimation,O=g.addEvent,M=[];return{compose:function(w){M.indexOf(w)&&(M.push(w),O(w,"afterPrint",S),O(w,"beforePrint",u),O(w,"predraw",m),O(w,"render",C))},integrations:{},layouts:{}}}),$(_,"Series/PackedBubble/PackedBubblePoint.js",[_["Core/Chart/Chart.js"],_["Core/Series/Point.js"],_["Core/Series/SeriesRegistry.js"]],function(b,g,S){var m,u=this&&this.__extends||(m=function(C,N){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,M){O.__proto__=M}||function(O,M){for(var w in M)M.hasOwnProperty(w)&&(O[w]=M[w])})(C,N)},function(C,N){function O(){this.constructor=C}m(C,N),C.prototype=null===N?Object.create(N):(O.prototype=N.prototype,new O)});return function(m){function C(){var N=null!==m&&m.apply(this,arguments)||this;return N.degree=NaN,N.mass=NaN,N.radius=NaN,N.options=void 0,N.series=void 0,N.value=null,N}return u(C,m),C.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),g.prototype.destroy.apply(this,arguments)},C.prototype.firePointEvent=function(){var N=this.series.options;if(this.isParentNode&&N.parentNode){var O=N.allowPointSelect;N.allowPointSelect=N.parentNode.allowPointSelect,g.prototype.firePointEvent.apply(this,arguments),N.allowPointSelect=O}else g.prototype.firePointEvent.apply(this,arguments)},C.prototype.select=function(){var N=this.series.chart;this.isParentNode?(N.getSelectedPoints=N.getSelectedParentNodes,g.prototype.select.apply(this,arguments),N.getSelectedPoints=b.prototype.getSelectedPoints):g.prototype.select.apply(this,arguments)},C}(S.seriesTypes.bubble.prototype.pointClass)}),$(_,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[_["Core/Utilities.js"]],function(b){var g=b.isNumber;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var S=this.series.chart.numberFormatter,u=this.point.value;return g(u)?S(u,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}}),$(_,"Series/Networkgraph/VerletIntegration.js",[],function(){return{attractive:function(b,g,S){var u=b.getMass(),m=-S.x*g*this.diffTemperature;g=-S.y*g*this.diffTemperature,b.fromNode.fixedPosition||(b.fromNode.plotX-=m*u.fromNode/b.fromNode.degree,b.fromNode.plotY-=g*u.fromNode/b.fromNode.degree),b.toNode.fixedPosition||(b.toNode.plotX+=m*u.toNode/b.toNode.degree,b.toNode.plotY+=g*u.toNode/b.toNode.degree)},attractiveForceFunction:function(b,g){return(g-b)/b},barycenter:function(){var b=this.options.gravitationalConstant,g=this.barycenter.xFactor,S=this.barycenter.yFactor;g=(g-(this.box.left+this.box.width)/2)*b,S=(S-(this.box.top+this.box.height)/2)*b,this.nodes.forEac
1h(function(u){u.fixedPosition||(u.plotX-=g/u.mass/u.degree,u.plotY-=S/u.mass/u.degree)})},getK:function(b){return Math.pow(b.box.width*b.box.height/b.nodes.length,.5)},integrate:function(b,g){var S=-b.options.friction,u=b.options.maxSpeed,m=(g.plotX+g.dispX-g.prevX)*S;S*=g.plotY+g.dispY-g.prevY;var C=Math.abs,N=C(m)/(m||1);C=C(S)/(S||1),m=N*Math.min(u,Math.abs(m)),S=C*Math.min(u,Math.abs(S)),g.prevX=g.plotX+g.dispX,g.prevY=g.plotY+g.dispY,g.plotX+=m,g.plotY+=S,g.temperature=b.vectorLength({x:m,y:S})},repulsive:function(b,g,S){g=g*this.diffTemperature/b.mass/b.degree,b.fixedPosition||(b.plotX+=S.x*g,b.plotY+=S.y*g)},repulsiveForceFunction:function(b,g){return(g-b)/b*(g>b?1:0)}}}),$(_,"Series/PackedBubble/PackedBubbleIntegration.js",[_["Core/Globals.js"],_["Series/Networkgraph/VerletIntegration.js"]],function(b,g){return{barycenter:function(){for(var C,N,S=this.options.gravitationalConstant,u=this.box,m=this.nodes,O=0;O<m.length;O++){var M=m[O];this.options.splitSeries&&!M.isParentNode?(C=M.series.parentNode.plotX,N=M.series.parentNode.plotY):(C=u.width/2,N=u.height/2),M.fixedPosition||(M.plotX-=(M.plotX-C)*S/(M.mass*Math.sqrt(m.length)),M.plotY-=(M.plotY-N)*S/(M.mass*Math.sqrt(m.length)))}},getK:b.noop,integrate:g.integrate,repulsive:function(S,u,m,C){var N=u*this.diffTemperature/S.mass/S.degree;u=m.x*N,m=m.y*N,S.fixedPosition||(S.plotX+=u,S.plotY+=m),C.fixedPosition||(C.plotX-=u,C.plotY-=m)},repulsiveForceFunction:function(S,u,m,C){return Math.min(S,(m.marker.radius+C.marker.radius)/2)}}}),$(_,"Series/Networkgraph/EulerIntegration.js",[],function(){return{attractive:function(b,g,S,u){var m=b.getMass(),C=S.x/u*g;g*=S.y/u,b.fromNode.fixedPosition||(b.fromNode.dispX-=C*m.fromNode/b.fromNode.degree,b.fromNode.dispY-=g*m.fromNode/b.fromNode.degree),b.toNode.fixedPosition||(b.toNode.dis
1pX+=C*m.toNode/b.toNode.degree,b.toNode.dispY+=g*m.toNode/b.toNode.degree)},attractiveForceFunction:function(b,g){return b*b/g},barycenter:function(){var b=this.options.gravitationalConstant,g=this.barycenter.xFactor,S=this.barycenter.yFactor;this.nodes.forEach(function(u){if(!u.fixedPosition){var m=u.getDegree();u.dispX+=(g-u.plotX)*b*(m*=1+m/2)/u.degree,u.dispY+=(S-u.plotY)*b*m/u.degree}})},getK:function(b){return Math.pow(b.box.width*b.box.height/b.nodes.length,.3)},integrate:function(b,g){g.dispX+=g.dispX*b.options.friction,g.dispY+=g.dispY*b.options.friction;var S=g.temperature=b.vectorLength({x:g.dispX,y:g.dispY});0!==S&&(g.plotX+=g.dispX/S*Math.min(Math.abs(g.dispX),b.temperature),g.plotY+=g.dispY/S*Math.min(Math.abs(g.dispY),b.temperature))},repulsive:function(b,g,S,u){b.dispX+=S.x/u*g/b.degree,b.dispY+=S.y/u*g/b.degree},repulsiveForceFunction:function(b,g){return g*g/b}}}),$(_,"Series/Networkgraph/QuadTreeNode.js",[],function(){return function(){function b(g){this.isInternal=this.isEmpty=this.body=!1,this.nodes=[],this.box=g,this.boxSize=Math.min(g.width,g.height)}return b.prototype.divideBox=function(){var g=this.box.width/2,S=this.box.height/2;this.nodes[0]=new b({left:this.box.left,top:this.box.top,width:g,height:S}),this.nodes[1]=new b({left:this.box.left+g,top:this.box.top,width:g,height:S}),this.nodes[2]=new b({left:this.box.left+g,top:this.box.top+S,width:g,height:S}),this.nodes[3]=new b({left:this.box.left,top:this.box.top+S,width:g,height:S})},b.prototype.getBoxPosition=function(g){var S=g.plotY<this.box.top+this.box.height/2;return g.plotX<this.box.left+this.box.width/2?S?0:3:S?1:2},b.prototype.insert=function(g,S){this.isInternal?this.nodes[this.getBoxPosition(g)].insert(g,S-1):(this.isEmpty=!1,this.body?S?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,S-1),this.body=!0),this.nodes[this.getBoxPosition(g)].insert(g,S-1)):((S=new b({top:g.plotX||NaN,left:g.plotY||NaN,width:.1,height:.1})).body=g,S.isInternal=!1,this.nodes.push(S)):(this.isInternal=!1,this.body=g))},b.prototype.updateMassAndCenter=function(){var g=0,S=0,u=0;if(this.isInternal){for(var m=0,C=this.nodes;m<C.length;m++){var N=C[m];N.isEmpty||(g+=N.mass,S+=N.plotX*N.mass,u+=N.plotY*N.mass)}S/=g,u/=g}else this.body&&(g=this.body.mass,S=this.body.plotX,u=this.body.plotY);this.mass=g,this.plotX=S,this.plotY=u},b}()}),$(_,"Series/Networkgraph/QuadTree.js",[_["Series/Networkgraph/QuadTreeNode.js"]],function(b){return function(){function g(S,u,m,C){this.box={left:S,top:u,width:m,height:C},this.maxDepth=25,this.root=new b(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return g.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,function(S){S.updateMassAndCenter()})},g.prototype.insertNodes=function(S){for(var u=0;u<S.length;u++)this.root.insert(S[u],this.maxDepth)},g.prototype.visitNodeRecursive=function(S,u,m){var C;if(S||(S=this.root),S===this.root&&u&&(C=u(S)),!1!==C){for(var N=0,O=S.nodes;N<O.length;N++){var M=O[N];if(M.isInternal){if(u&&(C=u(M)),!1===C)continue;this.visitNodeRecursive(M,u,m)}else M.body&&u&&u(M.body);m&&m(M)}S===this.root&&m&&m(S)}},g}()}),$(_,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[_["Series/Networkgraph/EulerIntegration.js"],_["Core/Globals.js"],_["Series/GraphLayoutComposition.js"],_["Series/Networkgraph/QuadTree.js"],_["Core/Utilities.js"],_["Series/Networkgraph/VerletIntegration.js"]],function(b,g,S,u,m,C){var N=g.win,O=m.clamp,M=m.defined,w=m.isFunction,k=m.pick;return function(){function v(){this.attractiveForce=void 0,this.box={},this.currentStep=0,this.initialRendering=!0,this.integration=void 0,this.links=[],this.nodes=[],this.repulsiveForce=this.quadTree=this.options=void 0,this.series=[],this.simulation=!1}return v.compose=function(o){S.compose(o),S.integrations.euler=b,S.integrations.verlet=C,S.layouts["reingold-fruchterman"]=v},v.prototype.init=function(o){this.options=o,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=S.integrations[o.integration],this.enableSimulation=o.enableSimulation,this.attractiveForce=k(o.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=k(o.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=o.approximation},v.prototype.updateSimulation=function(o){this.enableSimulation=k(o,this.options.enableSimulation)},v.prototype.start=function(){var o=this.series,e=this.options;this.currentStep=0,this.forces=o[0]&&o[0].forces||[],this.chart=o[0]&&o[0].chart,this.initialRendering&&(this.initPositions(),o.forEach(function(t){t.finishedAnimating=!0,t.render()})),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},v.prototype.step=function(){var o=this,e=this.series;this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var t=0,r=this.forces||[];t<r.length;t++)this[r[t]+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(t=0;t<e.length;t++)(r=e[t]).chart&&r.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&N.cancelAnimationFrame(this.simulation),this.simulation=N.requestAnimationFrame(function(){return o.step()})):this.simulation=!1}},v.prototype.stop=function(){this.simulation&&N.cancelAnimationFrame(this.simulation)},v.prototype.setArea=function(o,e,t,r){this.box={left:o,top:e,width:t,height:r}},v.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},v.prototype.addElementsToCollection=function(o,e){for(var t=0;t<o.length;t++){var r=o[t];-1===e.indexOf(r)&&e.push(r)}},v.prototype.removeElementFromCollection=function(o,e){-1!==(o=e.indexOf(o))&&e.splice(o,1)},v.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},v.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},v.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},v.prototype.setMaxIterations=function(o){this.maxIterations=k(o,this.options.maxIterations)},v.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},v.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},v.prototype.setInitialRendering=function(o){this.initialRendering=o},v.prototype.createQuadTree=function(){this.quadTree=new u(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertN
1odes(this.nodes)},v.prototype.initPositions=function(){var o=this.options.initialPositions;if(w(o)){o.call(this),o=0;for(var e=this.nodes;o<e.length;o++){var t=e[o];M(t.prevX)||(t.prevX=t.plotX),M(t.prevY)||(t.prevY=t.plotY),t.dispX=0,t.dispY=0}}else"circle"===o?this.setCircularPositions():this.setRandomPositions()},v.prototype.setCircularPositions=function(){for(var o=this.box,e=this.nodes,t=2*Math.PI/(e.length+1),r=e.filter(function(P){return 0===P.linksTo.length}),c={},p=this.options.initialPositionRadius,n=function(P){var y=0;for(P=P.linksFrom||[];y<P.length;y++){var i=P[y];c[i.toNode.id]||(c[i.toNode.id]=!0,d.push(i.toNode),n(i.toNode))}},d=[],s=0;s<r.length;s++){var X=r[s];d.push(X),n(X)}if(d.length)for(r=0;r<e.length;r++)-1===d.indexOf(s=e[r])&&d.push(s);else d=e;for(r=0,s=d.length;r<s;++r)(e=d[r]).plotX=e.prevX=k(e.plotX,o.width/2+p*Math.cos(r*t)),e.plotY=e.prevY=k(e.plotY,o.height/2+p*Math.sin(r*t)),e.dispX=0,e.dispY=0},v.prototype.setRandomPositions=function(){for(var c,o=this.box,e=this.nodes,t=e.length+1,r=function(d){return(d=d*d/Math.PI)-Math.floor(d)},p=0,n=e.length;p<n;++p)(c=e[p]).plotX=c.prevX=k(c.plotX,o.width*r(p)),c.plotY=c.prevY=k(c.plotY,o.height*r(t+p)),c.dispX=0,c.dispY=0},v.prototype.force=function(o){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this.integration[o].apply(this,e)},v.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},v.prototype.getBarycenter=function(){for(var o=0,e=0,t=0,r=0,c=this.nodes;r<c.length;r++){var p=c[r];e+=p.plotX*p.mass,t+=p.plotY*p.mass,o+=p.mass}return this.barycenter={x:e,y:t,xFactor:e/o,yFactor:t/o}},v.prototype.barnesHutApproximation=function(o,e){var t=this.getDistXY(o,e),r=this.vectorLength(t);if(o!==e&&0!==r)if(e.isInternal)if(e.boxSize/r<this.options.theta&&0!==r){var c=this.repulsiveForce(r,this.k);this.force("repulsive",o,c*e.mass,t,r);var p=!1}else p=!0;else c=this.repulsiveForce(r,this.k),this.force("repulsive",o,c*e.mass,t,r);return p},v.prototype.repulsiveForces=function(){var o=this;if("barnes-hut"===this.approximation)for(var e=function(y){t.quadTree.visitNodeRecursive(null,function(i){return o.barnesHutApproximation(y,i)})},t=this,r=0,c=this.nodes;r<c.length;r++){var p=c[r];e(p)}else{c=r=e=void 0;for(var n=0,d=this.nodes;n<d.length;n++){p=d[n];for(var s=0,X=this.nodes;s<X.length;s++){var P=X[s];p===P||p.fixedPosition||(c=this.getDistXY(p,P),0!==(r=this.vectorLength(c))&&(e=this.repulsiveForce(r,this.k),this.force("repulsive",p,e*P.mass,c,r)))}}}},v.prototype.attractiveForces=function(){for(var o,e,t,r=0,c=this.links;r<c.length;r++){var p=c[r];p.fromNode&&p.toNode&&(o=this.getDistXY(p.fromNode,p.toNode),0!==(e=this.vectorLength(o))&&(t=this.attractiveForce(e,this.k),this.force("attractive",p,t,o,e)))}},v.prototype.applyLimits=function(){for(var o=0,e=this.nodes;o<e.length;o++){var t=e[o];if(t.fixedPosition)break;this.integration.integrate(this,t),this.applyLimitBox(t,this.box),t.dispX=0,t.dispY=0}},v.prototype.applyLimitBox=function(o,e){var t=o.radius;o.plotX=O(o.plotX,e.left+t,e.width-t),o.plotY=O(o.plotY,e.top+t,e.height-t)},v.prototype.coolDown=function(o,e,t){return o-e*t},v.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},v.prototype.getSystemTemperature=function(){for(var o=0,e=0,t=this.nodes;e<t.length;e++)o+=t[e].temperature;return o},v.prototype.vectorLength=function(o){return Math.sqrt(o.x*o.x+o.y*o.y)},v.prototype.getDistR=function(o,e){return o=this.getDistXY(o,e),this.vectorLength(o)},v.prototype.getDistXY=function(o,e){var t=o.plotX-e.plotX;return{x:t,y:o=o.plotY-e.plotY,absX:Math.abs(t),absY:Math.abs(o)}},v}()}),$(_,"Series/PackedBubble/PackedBubbleLayout.js",[_["Series/GraphLayoutComposition.js"],_["Series/PackedBubble/PackedBubbleIntegration.js"],_["Series/Networkgraph/ReingoldFruchtermanLayout.js"],_["Core/Utilities.js"]],function(b,g,S,u){function m(){var k=[];return this.series.forEach(function(v){v.parentNode&&v.parentNode.selected&&k.push(v.parentNode)}),k}function C(){this.allDataPoints&&delete this.allDataPoints}
1var k,N=this&&this.__extends||(k=function(v,o){return(k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(v,o)},function(v,o){function e(){this.constructor=v}k(v,o),v.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),O=u.addEvent,M=u.pick,w=[];return u=function(k){function v(){var o=null!==k&&k.apply(this,arguments)||this;return o.index=NaN,o.nodes=[],o.options=void 0,o.series=[],o}return N(v,k),v.compose=function(o){S.compose(o),b.integrations.packedbubble=g,b.layouts.packedbubble=v,-1===w.indexOf(o)&&(w.push(o),O(o,"beforeRedraw",C),o.prototype.getSelectedParentNodes=m)},v.prototype.beforeStep=function(){this.options.marker&&this.series.forEach(function(o){o&&o.calculateParentRadius()})},v.prototype.isStable=function(){var o=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>o||0>=this.temperature},v.prototype.setCircularPositions=function(){for(var c,p,o=this.box,e=this.nodes,t=2*Math.PI/(e.length+1),r=this.options.initialPositionRadius,n=0,d=0;d<e.length;d++){var s=e[d];this.options.splitSeries&&!s.isParentNode?(c=s.series.parentNode.plotX,p=s.series.parentNode.plotY):(c=o.width/2,p=o.height/2),s.plotX=s.prevX=M(s.plotX,c+r*Math.cos(s.index||n*t)),s.plotY=s.prevY=M(s.plotY,p+r*Math.sin(s.index||n*t)),s.dispX=0,s.dispY=0,n++}},v.prototype.repulsiveForces=function(){var t,r,c,o=this,e=o.options.bubblePadding;o.nodes.forEach(function(p){p.degree=p.mass,p.neighbours=0,o.nodes.forEach(function(n){t=0,p===n||p.fixedPosition||!o.options.seriesInteraction&&p.series!==n.series||(c=o.getDistXY(p,n),0>(r=o.vectorLength(c)-(p.marker.radius+n.marker.radius+e))&&(p.degree+=.01,p.neighbours++,t=o.repulsiveForce(-r/Math.sqrt(p.neighbours),o.k,p,n)),o.force("repulsive",p,t*n.mass,c,n,r))})})},v.prototype.applyLimitBox=function(o,e){if(this.options.splitSeries&&!o.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(o,o.series.parentNode),r=o.series.parentNodeRadius-o.marker.radius-this.vectorLength(t);0>r&&r>-2*o.marker.radius&&(o.plotX-=.01*t.x,o.plotY-=.01*t.y)}
1k.prototype.applyLimitBox.call(this,o,e)},v}(S),b.layouts.packedbubble=u}),$(_,"Series/PackedBubble/PackedBubbleSeries.js",[_["Core/Color/Color.js"],_["Series/DragNodesComposition.js"],_["Series/GraphLayoutComposition.js"],_["Core/Globals.js"],_["Series/PackedBubble/PackedBubblePoint.js"],_["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],_["Series/PackedBubble/PackedBubbleLayout.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u,m,C,N,O,M){var P,w=this&&this.__extends||(P=function(y,i){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,f){h.__proto__=f}||function(h,f){for(var x in f)f.hasOwnProperty(x)&&(h[x]=f[x])})(y,i)},function(y,i){function h(){this.constructor=y}P(y,i),y.prototype=null===i?Object.create(i):(h.prototype=i.prototype,new h)}),k=b.parse;b=u.noop;var v=O.series.prototype,o=O.seriesTypes.bubble,e=M.addEvent,t=M.clamp,r=M.defined,c=M.extend,p=M.fireEvent,n=M.isArray,d=M.isNumber,s=M.merge,X=M.pick;return M=function(P){function y(){var i=null!==P&&P.apply(this,arguments)||this;return i.chart=void 0,i.data=void 0,i.layout=void 0,i.options=void 0,i.parentNodeMass=0,i.points=void 0,i.xData=void 0,i}return w(y,P),y.compose=function(i,h,f,x){o.compose(i,h,f,x),g.compose(h),N.compose(h)},y.prototype.accumulateAllPoints=function(){for(var f,i=this.chart,h=[],x=0,l=i.series;x<l.length;x++){var L=l[x];if(L.is("packedbubble")&&L.visible||!i.options.chart.ignoreHiddenSeries){f=L.yData||[];for(var R=0;R<f.length;R++)h.push([null,null,f[R],L.index,R,{id:R,marker:{radius:0}}])}}return h},y.prototype.addLayout=function(){var i=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},h=i.type||"packedbubble",f=this.chart.options.chart,x=this.chart.graphLayoutsStorage,l=this.chart.graphLayoutsLookup;x||(this.chart.graphLayoutsStorage=x={},this.chart.graphLayoutsLookup=l=[]);var L=x[h];L||(i.enableSimulation=r(f.forExport)?!f.forExport:i.enableSimulation,x[h]=L=new S.layouts[h],L.init(i),l.splice(L.index,0,L)),this.layout=L,this.points.forEach(function(R){R.mass=2,R.degree=1,R.collisionNmb=1}),L.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),L.addElementsToCollection([this],L.series),L.addElementsToCollection(this.points,L.nodes)},y.prototype.addSeriesLayout=function(){var i=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},h=i.type||"packedbubble",f=this.chart.graphLayoutsStorage,x=this.chart.graphLayoutsLookup;i=s(i,i.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var l=f[h+"-series"];l||(f[h+"-series"]=l=new S.layouts[h],l.init(i),x.splice(l.index,0,l)),this.parentNodeLayout=l,this.createParentNodes()},y.prototype.calculateParentRadius=function(){var i=this.seriesBox();this.parentNodeRadius=t(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,i?Math.max(Math.sqrt(Math.pow(i.width,2)+Math.pow(i.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},y.prototype.calculateZExtremes=function(){var i=this.options.zMin,h=this.options.zMax,f=1/0,x=-1/0;return i&&h||(this.chart.series.forEach(function(l){l.yData.forEach(function(L){r(L)&&(L>x&&(x=L),L<f&&(f=L))})}),i=X(i,f),h=X(h,x)),[i,h]},y.prototype.checkOverlap=function(i,h){var f=i[0]-h[0],x=i[1]-h[1];return-.001>Math.sqrt(f*f+x*x)-Math.abs(i[2]+h[2])},y.prototype.createParentNodes=function(){var L,i=this,h=this.pointClass,f=this.chart,x=this.parentNodeLayout,l=this.layout.options,R=this.parentNode,D={radius:this.parentNodeRadius,lineColor:this.color,fillColor:k(this.color).brighten(.4).get()};l.parentNodeOptions&&(D=s(l.parentNodeOptions.marker||{},D)),this.parentNodeMass=0,this.points.forEach(function(E){i.parentNodeMass+=Math.PI*Math.pow(E.marker.radius,2)}),this.calculateParentRadius(),x.nodes.forEach(function(E){E.seriesIndex===i.index&&(L=!0)}),x.setArea(0,0,f.plotWidth,f.plotHeight),L||(R||(R=(new h).init(this,{mass:this.parentNodeRadius/2,marker:D,dataLabels:{inside:!1},states:{normal:{marker:D},hover:{marker:D}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(R.plotX=this.parentNode.plotX,R.plotY=this.parentNode.plotY),this.parentNode=R,x.addElementsToCollection([this],x.series),x.addElementsToCollection([R],x.nodes))},y.prototype.deferLayout=function(){var i=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),i.splitSeries&&this.addSeriesLayout()
1)},y.prototype.destroy=function(){var i=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(h){h.removeElementFromCollection(i,h.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),v.destroy.apply(this,arguments)},y.prototype.drawDataLabels=function(){v.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",v.drawDataLabels.call(this,[this.parentNode]))},y.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var i=this.chart,h=this.layout.options.parentNodeOptions.marker;h={fill:h.fillColor||k(this.color).brighten(.4).get(),opacity:h.fillOpacity,stroke:h.lineColor||this.color,"stroke-width":X(h.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,i.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var f=s({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},h);this.parentNode.graphic||(this.graph=this.parentNode.graphic=i.renderer.symbol(h.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(f)}},y.prototype.drawTracker=function(){var i=this.parentNode;if(P.prototype.drawTracker.call(this),i){var h=n(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[];i.graphic&&(i.graphic.element.point=i),h.forEach(function(f){f.div?f.div.point=i:f.element.point=i})}},y.prototype.getPointRadius=function(){var W,Q,T,a,i=this,h=this.chart,f=this.options,x=f.useSimulation,l=Math.min(h.plotWidth,h.plotHeight),L={},R=[],D=h.allDataPoints||[],E=D.length;["minSize","maxSize"].forEach(function(I){var z=parseInt(f[I],10),F=/%$/.test(f[I]);L[I]=F?l*z/100:z*Math.sqrt(E)}),h.minRadius=W=L.minSize/Math.sqrt(E),h.maxRadius=Q=L.maxSize/Math.sqrt(E);var j=x?this.calculateZExtremes():[W,Q];D.forEach(function(I,z){T=x?t(I[2],j[0],j[1]):I[2],0===(a=i.getRadius(j[0],j[1],W,Q,T))&&(a=null),D[z][2]=a,R.push(a)}),this.radii=R},y.prototype.init=function(){return v.init.apply(this,arguments),this.eventsToUnbind.push(e(this,"updatedData",function(){var i=this;this.chart.series.forEach(function(h){h.type===i.type&&(h.isDirty=!0)},this)})),this},y.prototype.onMouseUp=function(i){var h=i;if(h.fixedPosition&&!h.removed){var l,f=this.layout,x=this.parentNodeLayout;x&&f.options.dragBetweenSeries&&x.nodes.forEach(function(R){h&&h.marker&&R!==h.series.parentNode&&(l=f.getDistXY(h,R),0>f.vectorLength(l)-R.marker.radius-h.marker.radius&&(R.series.addPoint(s(h.options,{plotX:h.plotX,plotY:h.plotY}),!1),f.removeElementFromCollection(h,f.nodes),h.remove()))}),g.onMouseUp.apply(this,arguments)}},y.prototype.placeBubbles=function(i){var E,h=this.checkOverlap,f=this.positionBubble,x=[],l=1,L=0,R=0,D=[];if((i=i.sort(function(W,Q){return Q[2]-W[2]})).length){if(x.push([[0,0,i[0][2],i[0][3],i[0][4]]]),1<i.length)for(x.push([[0,0-i[1][2]-i[0][2],i[1][2],i[1][3],i[1][4]]]),E=2;E<i.length;E++)i[E][2]=i[E][2]||1,h(D=f(x[l][L],x[l-1][R],i[E]),x[l][0])?(x.push([]),R=0,x[l+1].push(f(x[l][L],x[l][0],i[E])),l++,L=0):1<l&&x[l-1][R+1]&&h(D,x[l-1][R+1])?(R++,x[l].push(f(x[l][L],x[l-1][R],i[E])),L++):(L++,x[l].push(D));this.chart.stages=x,this.chart.rawPositions=[].concat.apply([],x),this.resizeRadius(),D=this.chart.rawPositions}return D},y.prototype.pointAttribs=function(i,h){var f=this.options,x=f.marker;return i&&i.isParentNode&&f.layoutAlgorithm&&f.layoutAlgorithm.parentNodeOptions&&(x=f.layoutAlgorithm.parentNodeOptions.marker),f=x.fillOpacity,i=v.pointAttribs.call(this,i,h),1!==f&&(i["fill-opacity"]=f),i},y.prototype.positionBubble=function(i,h,f){var x=Math.sqrt,l=Math.asin,L=Math.acos,R=Math.pow,D=Math.abs;return x=x(R(i[0]-h[0],2)+R(i[1]-h[1],2)),L=L((R(x,2)+R(f[2]+h[2],2)-R(f[2]+i[2],2))/(2*(f[2]+h[2])*x)),l=l(D(i[0]-h[0])/x),i=(0>i[1]-h[1]?0:Math.PI)+L+l*(0>(i[0]-h[0])*(i[1]-h[1])?1:-1),[h[0]+(h[2]+f[2])*Math.sin(i),h[1]-(h[2]+f[2])*Math.cos(i),f[2],f[3],f[4]]},y.prototype.render=function(){var i=[];v.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach(function(h){n(h.dataLabels)&&h.dataLabels.forEac
1h(function(f){i.push(f)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(i))},y.prototype.resizeRadius=function(){for(var E,W,i=this.chart,h=i.rawPositions,f=Math.min,x=Math.max,l=i.plotLeft,L=i.plotTop,R=i.plotHeight,D=i.plotWidth,Q=E=Number.POSITIVE_INFINITY,T=W=Number.NEGATIVE_INFINITY,a=0;a<h.length;a++){var j=h[a],I=j[2];Q=f(Q,j[0]-I),T=x(T,j[0]+I),E=f(E,j[1]-I),W=x(W,j[1]+I)}if(f=f.apply([],[(D-l)/(j=[T-Q,W-E])[0],(R-L)/j[1]]),1e-10<Math.abs(f-1)){for(i=0;i<h.length;i++)(j=h[i])[2]*=f;this.placeBubbles(h)}else i.diffY=R/2+L-E-(W-E)/2,i.diffX=D/2+l-Q-(T-Q)/2},y.prototype.seriesBox=function(){var l,i=this.chart,h=Math.max,f=Math.min,x=[i.plotLeft,i.plotLeft+i.plotWidth,i.plotTop,i.plotTop+i.plotHeight];return this.data.forEach(function(L){r(L.plotX)&&r(L.plotY)&&L.marker.radius&&(x[0]=f(x[0],L.plotX-(l=L.marker.radius)),x[1]=h(x[1],L.plotX+l),x[2]=f(x[2],L.plotY-l),x[3]=h(x[3],L.plotY+l))}),d(x.width/x.height)?x:null},y.prototype.setVisible=function(){var i=this;v.setVisible.apply(i,arguments),i.parentNodeLayout&&i.graph?i.visible?(i.graph.show(),i.parentNode.dataLabel&&i.parentNode.dataLabel.show()):(i.graph.hide(),i.parentNodeLayout.removeElementFromCollection(i.parentNode,i.parentNodeLayout.nodes),i.parentNode.dataLabel&&i.parentNode.dataLabel.hide()):i.layout&&(i.visible?i.layout.addElementsToCollection(i.points,i.layout.nodes):i.points.forEach(function(h){i.layout.removeElementFromCollection(h,i.layout.nodes)}))},y.prototype.translate=function(){var i=this.chart,h=this.data,f=this.index,x=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),r(i.allDataPoints)||(i.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),x)var l=i.allDataPoints;else l=this.placeBubbles(i.allDataPoints),this.options.draggable=!1;for(var L=0,R=l;L<R.length;L++){var D=R[L];if(D[3]===f){l=h[D[4]];var E=X(D[2],void 0);x||(l.plotX=D[0]-i.plotLeft+i.diffX,l.plotY=D[1]-i.plotTop+i.diffY),d(E)&&(l.marker=c(l.marker,{radius:E,width:2*E,height:2*E}),l.radius=E)}}x&&this.deferLayout(),p(this,"afterTranslate")},y.defaultOptions=s(o.defaultOptions,C),y}(o),c(M.prototype,{pointClass:m,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:v.alignDataLabel,indexateNodes:b,onMouseDown:g.onMouseDown,onMouseMove:g.onMouseMove,redrawHalo:g.redrawHalo,searchPoint:b}),O.registerSeriesType("packedbubble",M),M}),$(_,"Series/Polygon/PolygonSeries.js",[_["Core/Globals.js"],_["Core/Legend/LegendSymbol.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(b,g,S,u){var v,m=this&&this.__extends||(v=function(o,e){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var c in r)r.hasOwnProperty(c)&&(t[c]=r[c])})(o,e)},function(o,e){function t(){this.constructor=o}v(o,e),o.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});b=b.noop;var C=S.series,N=S.seriesTypes,O=N.area,M=N.line,w=N.scatter;N=u.extend;var k=u.merge;return u=function(v){function o(){var e=null!==v&&v.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return m(o,v),o.prototype.getGraphPath=function(){for(var e=M.prototype.getGraphPath.call(this),t=e.length+1;t--;)(t===e.length||"M"===e[t][0])&&0<t&&e.splice(t,0,["Z"]);return this.areaPath=e},o.prototype.drawGraph=function(){this.options.fillColor=this.color,O.prototype.drawGraph.call(this)},o.defaultOptions=k(w.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),o}(w),N(u.prototype,{type:"polygon",drawLegendSymbol:g.drawRectangle,drawTracker:C.prototype.drawTracker,setStackedPoints:b}),S.registerSeriesType("polygon",u),u}),$(_,"Core/Axis/WaterfallAxis.js",[_["Core/Axis/Stacking/StackItem.js"],_["Core/Utilities.js"]],function(b,g){var m,S=g.addEvent,u=g.objectEach;return function(C){function N(){var v=this.waterfall.stacks;v&&(v.changed=!1,delete v.alreadyChanged)}function O(){var v=this.options.stackLabels;
1v&&v.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function M(){for(var v=this.axes,o=this.series,e=o.length;e--;)o[e].options.stacking&&(v.forEach(function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)}),e=0)}function w(){this.waterfall||(this.waterfall=new k(this))}var k=function(){function v(o){this.axis=o,this.stacks={changed:!1}}return v.prototype.renderStackTotals=function(){var o=this.axis,e=o.waterfall.stacks,t=o.stacking&&o.stacking.stackTotalGroup,r=new b(o,o.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=r,t&&u(e,function(c){u(c,function(p,n){r.total=p.stackTotal,r.x=+n,p.label&&(r.label=p.label),b.prototype.render.call(r,t),p.label=r.label,delete r.label})}),r.total=null},v}();C.Composition=k,C.compose=function(v,o){S(v,"init",w),S(v,"afterBuildStacks",N),S(v,"afterRender",O),S(o,"beforeRedraw",M)}}(m||(m={})),m}),$(_,"Series/Waterfall/WaterfallPoint.js",[_["Series/Column/ColumnSeries.js"],_["Core/Series/Point.js"],_["Core/Utilities.js"]],function(b,g,S){var C,u=this&&this.__extends||(C=function(N,O){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,w){M.__proto__=w}||function(M,w){for(var k in w)w.hasOwnProperty(k)&&(M[k]=w[k])})(N,O)},function(N,O){function M(){this.constructor=N}C(N,O),N.prototype=null===O?Object.create(O):(M.prototype=O.prototype,new M)}),m=S.isNumber;return function(C){function N(){var O=null!==C&&C.apply(this,arguments)||this;return O.options=void 0,O.series=void 0,O}return u(N,C),N.prototype.getClassName=function(){var O=g.prototype.getClassName.call(this);return this.isSum?O+=" highcharts-sum":this.isIntermediateSum&&(O+=" highcharts-intermediate-sum"),O},N.prototype.isValid=function(){return m(this.y)||this.isSum||!!this.isIntermediateSum},N}(b.prototype.pointClass)}),$(_,"Series/Waterfall/WaterfallSeries.js",[_["Core/Axis/Axis.js"],_["Core/Chart/Chart.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"],_["Core/Axis/WaterfallAxis.js"],_["Series/Waterfall/WaterfallPoint.js"]],function(b,g,S,u,m,C){var p,N=this&&this.__extends||(p=function(n,d){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,X){s.__proto__=X}||function(s,X){for(var P in X)X.hasOwnProperty(P)&&(s[P]=X[P])})(n,d)},function(n,d){function s(){this.constructor=n}p(n,d),n.prototype=null===d?Object.create(d):(s.prototype=d.prototype,new s)}),O=S.seriesTypes,M=O.column,w=O.line,k=u.arrayMax,v=u.arrayMin,o=u.correctFloat;O=u.extend;var e=u.isNumber,t=u.merge,r=u.objectEach,c=u.pick;return u=function(p){function n(){var d=null!==p&&p.apply(this,arguments)||this;return d.chart=void 0,d.data=void 0,d.options=void 0,d.points=void 0,d.stackedYNeg=void 0,d.stackedYPos=void 0,d.stackKey=void 0,d.xData=void 0,d.yAxis=void 0,d.yData=void 0,d}return N(n,p),n.prototype.generatePoints=function(){M.prototype.generatePoints.apply(this);for(var d=0,s=this.points.length;d<s;d++){var X=this.points[d],P=this.processedYData[d];e(P)&&(X.isIntermediateSum||X.isSum)&&(X.y=o(P))}},n.prototype.translate=function(){var d=this.options,s=this.yAxis,X=c(d.minPointLength,5),P=X/2,y=d.threshold||0;d=d.stacking;var i=s.waterfall.stacks[this.stackKey],h=y,f=y;M.prototype.translate.apply(this);for(var x=this.points,l=0;l<x.length;l++){var L=x[l],R=this.processedYData[l],D=L.shapeArgs;if(D&&e(R)){var E=[0,R],W=L.y;if(d){if(i){if(E=i[l],"overlap"===d){var Q=E.stackState[E.stateIndex--];Q=0<=W?Q:Q-W,Object.hasOwnProperty.call(E,"absolutePos")&&delete E.absolutePos,Object.hasOwnProperty.call(E,"absoluteNeg")&&delete E.absoluteNeg}else 0<=W?(Q=E.threshold+E.posTotal,E.posTotal-=W):(Q=E.threshold+E.negTotal,E.negTotal-=W,Q-=W),!E.posTotal&&e(E.absolutePos)&&Object.hasOwnProperty.call(E,"absolutePos")&&(E.posTotal=E.absolutePos,delete E.absolutePos),!E.negTotal&&e(E.absoluteNeg)&&Object.hasOwnProperty.call(E,"absoluteNeg")&&(E.negTotal=E.absoluteNeg,delete E.absoluteNeg);L.isSum||(E.connectorThreshold=E.threshold+E.stackTotal),s.reversed?(R=0<=W?Q-W:Q+W,W=Q):(R=Q,W=Q-W),L.below=R<=y,D.y=s.translate(R,!1,!0,!1,!0),D.height=Math.abs(D.y-s.translate(W,!1,!0,!1,!0)),(W=s.waterfall.dummyStackItem)&&(W.x=l,W.label=i[l].label,W.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[l],this.stackedYPos[l],void 0,this.xAxis))}}else Q=Math.max(f,f+W)+E[0],D.y=s.translate(Q,!1,!0,!1,!0),L.isSum?(D.y=s.translate(E[1],!1,!0,!1,!0),D.height=Math.min(s.translate(E[0],!1,!0,!1,!0),s.len)-D.y,L.below=E[1]<=y):L.isIntermediateSum?(0<=W?(R=E[1]+h,W=h):(R=h,W=E[1]+h),s.reversed&&(R^=W,R^=W^=R
1),D.y=s.translate(R,!1,!0,!1,!0),D.height=Math.abs(D.y-Math.min(s.translate(W,!1,!0,!1,!0),s.len)),h+=E[1],L.below=R<=y):(D.height=0<R?s.translate(f,!1,!0,!1,!0)-D.y:s.translate(f,!1,!0,!1,!0)-s.translate(f-R,!1,!0,!1,!0),L.below=(f+=R)<y),0>D.height&&(D.y+=D.height,D.height*=-1);L.plotY=D.y=Math.round(D.y||0)-this.borderWidth%2/2,D.height=Math.max(Math.round(D.height||0),.001),L.yBottom=D.y+D.height,D.height<=X&&!L.isNull?(D.height=X,D.y-=P,L.plotY=D.y,L.minPointLengthOffset=0>L.y?-P:P):(L.isNull&&(D.width=0),L.minPointLengthOffset=0),W=L.plotY+(L.negative?D.height:0),L.below&&(L.plotY+=D.height),L.tooltipPos&&(this.chart.inverted?L.tooltipPos[0]=s.len-W:L.tooltipPos[1]=W),L.isInside=this.isPointInside(L)}}},n.prototype.processData=function(d){var h,f,x,l,L,s=this.options,X=this.yData,P=s.data,y=X.length,i=s.threshold||0;for(L=f=h=x=l=0;L<y;L++){var R=X[L],D=P&&P[L]?P[L]:{};"sum"===R||D.isSum?X[L]=o(f):"intermediateSum"===R||D.isIntermediateSum?(X[L]=o(h),h=0):(f+=R,h+=R),x=Math.min(f,x),l=Math.max(f,l)}p.prototype.processData.call(this,d),s.stacking||(this.dataMin=x+i,this.dataMax=l)},n.prototype.toYData=function(d){return d.isSum?"sum":d.isIntermediateSum?"intermediateSum":d.y},n.prototype.updateParallelArrays=function(d,s){p.prototype.updateParallelArrays.call(this,d,s),("sum"===this.yData[0]||"intermediateSum"===this.yData[0])&&(this.yData[0]=null)},n.prototype.pointAttribs=function(d,s){var X=this.options.upColor;return X&&!d.options.color&&(d.color=0<d.y?X:void 0),delete(d=M.prototype.pointAttribs.call(this,d,s)).dashstyle,d},n.prototype.getGraphPath=function(){return[["M",0,0]]},n.prototype.getCrispPath=function(){var l,d=this.data,s=this.yAxis,X=d.length,P=Math.round(this.graph.strokeWidth())%2/2,y=Math.round(this.borderWidth)%2/2,i=this.xAxis.reversed,h=this.yAxis.reversed,f=this.options.stacking,x=[];for(l=1;l<X;l++){var L=d[l].shapeArgs,R=d[l-1],D=d[l-1].shapeArgs,E=s.waterfall.stacks[this.stackKey],W=0<R.y?-D.height:0;E&&D&&L&&(E=E[l-1],f?(E=E.connectorThreshold,W=Math.round(s.translate(E,!1,!0,!1,!0)+(h?W:0))-P):W=D.y+R.minPointLengthOffset+y-P,x.push(["M",(D.x||0)+(i?0:D.width||0),W],["L",(L.x||0)+(i&&L.width||0),W])),D&&x.length&&(!f&&0>R.y&&!h||0<R.y&&h)&&((R=x[x.length-2])&&"number"==typeof R[2]&&(R[2]+=D.height||0),(R=x[x.length-1])&&"number"==typeof R[2]&&(R[2]+=D.height||0))}return x},n.prototype.drawGraph=function(){w.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})},n.prototype.setStackedPoints=function(){function d(F,V,U,Z){if(T){if(z)for(;U<z;U++)T.stackState[U]+=Z;else T.stackState[0]=F,z=T.stackState.length;T.stackState.push(T.stackState[z-1]+V)}}var l,L,R,s=this.options,X=this.yAxis.waterfall.stacks,P=s.threshold||0,y=P,i=y,h=this.stackKey,f=this.xData,x=f.length;this.yAxis.stacking.usePercentage=!1;var D=l=L=y;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var E=X.changed;if((R=X.alreadyChanged)&&0>R.indexOf(h)&&(E=!0),X[h]||(X[h]={}),R=X[h])for(var W=0;W<x;W++){var Q=f[W];(!R[Q]||E)&&(R[Q]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:E&&R[Q]?R[Q].label:void 0});var T=R[Q],a=this.yData[W];0<=a?T.posTotal+=a:T.negTotal+=a;var j=s.data[W];Q=T.absolutePos=T.posTotal;var I=T.absoluteNeg=T.negTotal;T.stackTotal=Q+I;var z=T.stackState.length;j&&j.isIntermediateSum?(d(L,l,0,L),L=l,l=P,y^=i,y^=i^=y):j&&j.isSum?(d(P,D,z,0),y=P):(d(y,a,0,D),j&&(D+=a,l+=a)),T.stateIndex++,T.threshold=y,y+=T.stackTotal}X.changed=!1,X.alreadyChanged||(X.alreadyChanged=[]),X.alreadyChanged.push(h)}},n.prototype.getExtremes=function(){var d=this.options.stacking;if(d){var s=this.yAxis;s=s.waterfall.stacks;var X=this.stackedYNeg=[],P=this.stackedYPos=[];return r(s[this.stackKey],"overlap"===d?function(y){X.push(v(y.stackState)),P.push(k(y.stackState))}:function(y){X.push(y.negTotal+y.threshold),P.push(y.posTotal+y.threshold)}),{dataMin:v(X),dataMax:k(P)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},n.defaultOptions=t(M.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),n}
1(M),O(u.prototype,{getZonesGraphs:w.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:C}),S.registerSeriesType("waterfall",u),m.compose(b,g),u}),$(_,"Core/Axis/RadialAxis.js",[_["Core/Axis/AxisDefaults.js"],_["Core/Defaults.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(b,g,S,u){var r,m=g.defaultOptions,C=S.noop,N=u.addEvent,O=u.correctFloat,M=u.defined,w=u.extend,k=u.fireEvent,v=u.merge,o=u.pick,e=u.relativeLength,t=u.wrap;return function(c){function p(){this.autoConnect=this.isCircular&&void 0===o(this.userMax,this.options.max)&&O(this.endAngleRad-this.startAngleRad)===O(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function n(){var A=this;return function(){if(A.isRadial&&A.tickPositions&&A.options.labels&&!0!==A.options.labels.allowOverlap)return A.tickPositions.map(function(Y){return A.ticks[Y]&&A.ticks[Y].label}).filter(function(Y){return!!Y})}}function d(){return C}function s(A,Y,B){var G=this.pane.center,K=A.value;if(this.isCircular){if(M(K))A.point&&(H=A.point.shapeArgs||{}).start&&(K=this.chart.inverted?this.translate(A.point.rectPlotY,!0):A.point.x);else{var H=A.chartX||0,q=A.chartY||0;K=this.translate(Math.atan2(q-B,H-Y)-this.startAngleRad,!0)}H=(A=this.getPosition(K)).x,q=A.y}else M(K)||(H=A.chartX,q=A.chartY),M(H)&&M(q)&&(B=G[1]+this.chart.plotTop,K=this.translate(Math.min(Math.sqrt(Math.pow(H-Y,2)+Math.pow(q-B,2)),G[2]/2)-G[3]/2,!0));return[K,H||0,q||0]}function X(A,Y,B){var G=this.chart,K=this.left||0,H=this.top||0,q=o(Y,(A=this.pane.center)[2]/2-this.offset);return void 0===B&&(B=this.horiz?0:this.center&&-this.center[3]/2),B&&(q+=B),this.isCircular||void 0!==Y?((Y=this.chart.renderer.symbols.arc(K+A[0],H+A[1],q,q,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[K+A[0]],Y.yBounds=[H+A[1]-q]):(Y=this.postTranslate(this.angleRad,q),Y=[["M",this.center[0]+G.plotLeft,this.center[1]+G.plotTop],["L",Y.x,Y.y]]),Y}function P(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(A,Y,B){var G=this.chart,K=function(lt){if("string"==typeof lt){var pt=parseInt(lt,10);return ht.test(lt)&&(pt=pt*ot/100),pt}return lt},H=this.center,q=this.startAngleRad,ot=H[2]/2,st=Math.min(this.offset,0),it=this.left||0,rt=this.top||0,ht=/%$/,tt=this.isCircular,et=o(K(B.outerRadius),ot),at=K(B.innerRadius);if(K=o(K(B.thickness),10),"polygon"===this.options.gridLineInterpolation)st=this.getPlotLinePath({value:A}).concat(this.getPlotLinePath({value:Y,reverse:!0}));else{if(A=Math.max(A,this.min),Y=Math.min(Y,this.max),A=this.translate(A),Y=this.translate(Y),tt||(et=A||0,at=Y||0),"circle"!==B.shape&&tt)B=q+(A||0),q+=Y||0;else{B=-Math.PI/2,q=1.5*Math.PI;var nt=!0}st=G.renderer.symbols.arc(it+H[0],rt+H[1],et-=st,et,{start:Math.min(B,q),end:Math.max(B,q),innerR:o(at,et-(K-st)),open:nt}),tt&&(tt=(q+B)/2,it=it+H[0]+H[2]/2*Math.cos(tt),st.xBounds=tt>-Math.PI/2&&tt<Math.PI/2?[it,G.plotWidth]:[0,it],st.yBounds=[rt+H[1]+H[2]/2*Math.sin(tt)],st.yBounds[0]+=tt>-Math.PI&&0>tt||tt>Math.PI?-10:10)}return st}function i(A){var Y=this,B=this.pane.center,G=this.chart,K=G.inverted,H=A.reverse,q=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},ot=q.innerRadius||"0%",st=q.outerRadius||"100%",it=B[0]+G.plotLeft,rt=B[1]+G.plotTop,ht=this.height,tt=A.isCrosshair;q=B[3]/2;var at,et=A.value,nt=this.getPosition(et),lt=nt.x;if(nt=nt.y,tt&&(et=(nt=this.getCrosshairPosition(A,it,rt))[0],lt=nt[1],nt=nt[2]),this.isCircular)et=Math.sqrt(Math.pow(lt-it,2)+Math.pow(nt-rt,2)),H="string"==typeof ot?e(ot,1):ot/et,G="string"==typeof st?e(st,1):st/et,B&&q&&(H<(q/=et)&&(H=q),G<q&&(G=q)),B=[["M",it+H*(lt-it),rt-H*(rt-nt)],["L",lt-(1-G)*(lt-it),nt+(1-G)*(rt-nt)]];else if((et=this.translate(et))&&(0>et||et>ht)&&(et=0),"circle"===this.options.gridLineInterpolation)B=this.getLinePath(0,et,q);else if(B=[],G[K?"yAxis":"xAxis"].forEach(function(pt){pt.pane===Y.pane&&(at=pt)}),at)for(it=at.tickPositions,at.autoConnect&&(it=it.concat([it[0]])),H&&(it=it.slice().reverse()),et&&(et+=q),rt=0;rt<it.length;rt++)q=at.getPosition(it[rt],et),B.push(rt?["L",q.x,q.y]:["M",q.x,q.y]);return B}function h(A,Y){return A=this.translate(A),this.postTranslate(this.isCircular?A:this.angleRad,o(this.isCircular?Y:0>A?0:A,this.center[2]/2)-this.offset)}function f(){var A=this.center,Y=this.chart,B=this.options.title;return{x:Y.plotLeft+A[0]+(B.x||0),y:Y.plotTop+A[1]-{high:.5,middle:.25,low:0}[B.align]*A[2]+(B.y||0)}}function x(A){A.beforeSetTickPositions=p,A.createLabelCollector=n,A.getCrosshairPosition=s,A.getLinePath=X,A.getOffset=P,A.getPlotBandPath=y,A.getPlotLinePath=i,A.getPosition=h,A.getTitlePosition=f,A.postTranslate=T,A.setAxisSize=j,A.setAxisTranslation=I,A.setOptions=z}function l(){var A=this.chart,Y=this.options,B=this.pane,G=B&&B.options;A.angular&&this.isXAxis||!B||!A.angular&&!A.polar||(A=2*Math.PI,B=(o(G.startAngle,0)-90)*Math.PI/180,G=(o(G.endAngle,o(G.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(Y.angle||0)*Math.PI/180,this.startAngleRad=B,this.endAngleRad=G,this.offset=Y.offset||0,G=(G%A+A)%A,(Y=(B%A+A)%A)>
1Math.PI&&(Y-=A),G>Math.PI&&(G-=A),this.normalizedStartAngleRad=Y,this.normalizedEndAngleRad=G)}function L(A){this.isRadial&&(A.align=void 0,A.preventDefault())}function R(){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 D(A){var st,Y=this.chart,B=Y.inverted,G=Y.angular,K=Y.polar,H=this.isXAxis,q=this.coll,ot=G&&H;A=A.userOptions.pane||0,A=this.pane=Y.pane&&Y.pane[A],"colorAxis"===q?this.isRadial=!1:(G?(ot?(this.isHidden=!0,this.createLabelCollector=d,this.getOffset=C,this.render=this.redraw=a,this.setTitle=this.setCategories=this.setScale=C):x(this),(st=!H)&&(this.defaultPolarOptions=Z)):K&&(x(this),this.defaultPolarOptions=(st=this.horiz)?U:v("xAxis"===q?b.defaultXAxisOptions:b.defaultYAxisOptions,J),B&&"yAxis"===q&&(this.defaultPolarOptions.stackLabels=b.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),G||K?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&Y.labelCollectors.push(this.labelCollector)):this.isRadial=!1,A&&st&&(A.axis=this),this.isCircular=st)}function E(){this.isRadial&&this.beforeSetTickPositions()}function W(A){var Y=this.label;if(Y){var B=this.axis,G=Y.getBBox(),K=B.options.labels,H=(B.translate(this.pos)+B.startAngleRad+Math.PI/2)/Math.PI*180%360,q=Math.round(H),ot=M(K.y)?0:.3*-G.height,st=K.y,it=20,rt=K.align,ht="end",tt=0>q?q+360:q,et=tt,at=0,nt=0;if(B.isRadial){var lt=B.getPosition(this.pos,B.center[2]/2+e(o(K.distance,-25),B.center[2]/2,-B.center[2]/2));"auto"===K.rotation?Y.attr({rotation:H}):M(st)||(st=B.chart.renderer.fontMetrics(Y.styles&&Y.styles.fontSize).b-G.height/2),M(rt)||(B.isCircular?(G.width>B.len*B.tickInterval/(B.max-B.min)&&(it=0),rt=H>it&&H<180-it?"left":H>180+it&&H<360-it?"right":"center"):rt="center",Y.attr({align:rt})),"auto"===rt&&2===B.tickPositions.length&&B.isCircular&&(90<tt&&180>tt?tt=180-tt:270<tt&&360>=tt&&(tt=540-tt),180<et&&360>=et&&(et=360-et),(B.pane.options.startAngle===q||B.pane.options.startAngle===q+360||B.pane.options.startAngle===q-360)&&(ht="start"),rt=-90<=q&&90>=q||-360<=q&&-270>=q||270<=q&&360>=q?"start"===ht?"right":"left":"start"===ht?"left":"right",70<et&&110>et&&(rt="center"),15>tt||180<=tt&&195>tt?at=.3*G.height:15<=tt&&35>=tt?at="start"===ht?0:.75*G.height:195<=tt&&215>=tt?at="start"===ht?.75*G.height:0:35<tt&&90>=tt?at="start"===ht?.25*-G.height:G.height:215<tt&&270>=tt&&(at="start"===ht?G.height:.25*-G.height),15>et?nt="start"===ht?.15*-G.height:.15*G.height:165<et&&180>=et&&(nt="start"===ht?.15*G.height:.15*-G.height),Y.attr({align:rt}),Y.translate(nt,at+ot)),A.pos.x=lt.x+(K.x||0),A.pos.y=lt.y+(st||0)}}}function Q(A){this.axis.getPosition&&w(A.pos,this.axis.getPosition(this.pos))}function T(A,Y){var B=this.chart,G=this.center;return A=this.startAngleRad+A,{x:B.plotLeft+G[0]+Math.cos(A)*Y,y:B.plotTop+G[1]+Math.sin(A)*Y}}function a(){this.isDirty=!1}function j(){if(this.constructor.prototype.setAxisSize.call(this),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 Y=this.postTranslate(this.angleRad,A[3]/2);A[0]=Y.x-this.chart.plotLeft,A[1]=Y.y-this.chart.plotTop}this.len=this.width=this.height=(A[2]-A[3])*o(this.sector,1)/2}}function I(){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 z(A){(A=this.options=v(this.constructor.defaultOptions,this.defaultPolarOptions,m[this.coll],A)).plotBands||(A.plotBands=[]),k(this,"afterSetOptions")}function F(A,Y,B,G,K,H,q){var ot=this.axis;return ot.isRadial?["M",Y,B,"L",(A=ot.getPosition(this.pos,ot.center[2]/2+G)).x,A.y]:A.call(this,Y,B,G,K,H,q)}var V=[],U={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},Z={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},J={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};c.compose=function(A,Y){return-1===V.indexOf(A)&&(V.push(A),N(A,"afterInit",l),N(A,"autoLabelAlign",L),N(A,"destroy",R),N(A,"init",D),N(A,"initialAxisTranslation",E)),-1===V.indexOf(Y)&&(V.push(Y),N(Y,"afterGetLabelPosition",W),N(Y,"afterGetPosition",Q),t(Y.prototype,"getMarkPath",F)),A}}(r||(r={})),r}
1),$(_,"Series/PolarComposition.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Globals.js"],_["Extensions/Pane.js"],_["Core/Axis/RadialAxis.js"],_["Core/Utilities.js"]],function(b,g,S,u,m){function C(T,a,j,I){var z=I?1:0,F=0<=a&&a<=T.length-1?a:0>a?T.length-1+a:0,V=T[a=0>F-1?T.length-(1+z):F-1],U=V.plotY,Z=(z=T[F+1>T.length-1?z:F+1]).plotX,J=z.plotY;V=(1.5*(z=T[F].plotX)+V.plotX)/2.5,U=(1.5*(F=T[F].plotY)+U)/2.5,Z=(1.5*z+Z)/2.5;var A=(1.5*F+J)/2.5;J=Math.sqrt(Math.pow(V-z,2)+Math.pow(U-F,2));var Y=Math.sqrt(Math.pow(Z-z,2)+Math.pow(A-F,2));return V=Math.atan2(U-F,V-z),A=Math.PI/2+(V+Math.atan2(A-F,Z-z))/2,Math.abs(V-A)>Math.PI/2&&(A-=Math.PI),V=z+Math.cos(A)*J,U=F+Math.sin(A)*J,z={rightContX:Z=z+Math.cos(Math.PI+A)*Y,rightContY:A=F+Math.sin(Math.PI+A)*Y,leftContX:V,leftContY:U,plotX:z,plotY:F},j&&(z.prevPointCont=C(T,a,!1,I)),z}function N(){(this.pane||[]).forEach(function(T){T.render()})}function O(T){var a=T.args[0].xAxis,j=T.args[0].yAxis;T=T.args[0].chart,a&&j&&("polygon"===j.gridLineInterpolation?(a.startOnTick=!0,a.endOnTick=!0):"polygon"===a.gridLineInterpolation&&T.inverted&&(j.startOnTick=!0,j.endOnTick=!0))}function M(){var T=this;this.pane||(this.pane=[]),this.options.pane=R(this.options.pane),this.options.pane.forEach(function(a){new S(a,T)},this)}function w(T){var a=T.args.marker,j=this.chart.xAxis[0],I=this.chart.yAxis[0],z=this.chart.inverted,F=z?I:j;if(j=z?j:I,this.chart.polar){T.preventDefault(),I=(a.attr?a.attr("start"):a.start)-F.startAngleRad,z=a.attr?a.attr("r"):a.r;var V=(a.attr?a.attr("end"):a.end)-F.startAngleRad;a=a.attr?a.attr("innerR"):a.innerR,T.result.x=I+F.pos,T.result.width=V-I,T.result.y=j.len+j.pos-a,T.result.height=a-z}}function k(T){var a=this.chart;if(a.polar&&a.hoverPane&&a.hoverPane.axis){T.preventDefault();var j=a.hoverPane.center,I=this.mouseDownX||0,z=this.mouseDownY||0,F=T.args.chartY,V=T.args.chartX,U=2*Math.PI,Z=a.hoverPane.axis.startAngleRad,J=a.hoverPane.axis.endAngleRad,A=a.inverted?a.xAxis[0]:a.yAxis[0],Y={},B="arc";if(Y.x=j[0]+a.plotLeft,Y.y=j[1]+a.plotTop,this.zoomHor){var G=0<Z?J-Z:Math.abs(Z)+Math.abs(J),K=Math.atan2(z-a.plotTop-j[1],I-a.plotLeft-j[0])-Z,H=Math.atan2(F-a.plotTop-j[1],V-a.plotLeft-j[0])-Z;Y.r=j[2]/2,Y.innerR=j[3]/2,0>=K&&(K+=U),0>=H&&(H+=U),H<K&&(H=[K,K=H][0]),G<U&&Z+H>J+(U-G)/2&&(H=K,K=0>=Z?Z:0),U=Y.start=Math.max(K+Z,Z),K=Y.end=Math.min(H+Z,J),"polygon"===A.options.gridLineInterpolation&&(G=U-(H=a.hoverPane.axis).startAngleRad+H.pos,K-=U,B=A.getPlotLinePath({value:A.max}),U=H.toValue(G),G=H.toValue(G+K),U<H.getExtremes().min&&(U=(K=H.getExtremes()).max-(K.min-U)),G<H.getExtremes().min&&(G=(K=H.getExtremes()).max-(K.min-G)),G<U&&(G=[U,U=G][0]),(B=t(B,U,G,H)).push(["L",j[0]+a.plotLeft,a.plotTop+j[1]]),Y.d=B,B="path")}this.zoomVert&&(H=a.inverted?a.xAxis[0]:a.yAxis[0],I=Math.sqrt(Math.pow(I-a.plotLeft-j[0],2)+Math.pow(z-a.plotTop-j[1],2)),(F=Math.sqrt(Math.pow(V-a.plotLeft-j[0],2)+Math.pow(F-a.plotTop-j[1],2)))<I&&(I=[F,F=I][0]),F>j[2]/2&&(F=j[2]/2),I<j[3]/2&&(I=j[3]/2),this.zoomHor||(Y.start=Z,Y.end=J),Y.r=F,Y.innerR=I,"polygon"===H.options.gridLineInterpolation&&(K=H.toValue(H.len+H.pos-I),U=H.toValue(H.len+H.pos-F),B=H.getPlotLinePath({value:U}).concat(H.getPlotLinePath({value:K,reverse:!0})),Y.d=B,B="path")),this.zoomHor&&this.zoomVert&&"polygon"===A.options.gridLineInterpolation&&(K=Y.end||0,K-=U=Y.start||0,U=(H=a.hoverPane.axis).toValue(G=U-H.startAngleRad+H.pos),G=H.toValue(G+K),Y.d instanceof Array&&(j=Y.d.slice(0,Y.d.length/2),Z=Y.d.slice(Y.d.length/2,Y.d.length),Z=y([],Z,!0).reverse(),j=t(j,U,G,a=a.hoverPane.axis),(Z=t(Z,U,G,a))&&(Z[0][0]="L"),Z=y([],Z,!0).reverse(),Y.d=j.concat(Z),B="path")),T.attrs=Y,T.shapeType=B}}function v(){var T=this.chart;T.polar&&(this.polar=new Q(this),T.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function o(){if(this.chart.polar&&this.xAxis){var T=this.chart;(this.kdByAngle=T.tooltip&&T.tooltip.shared)?this.searchPoint=e:this.options.findNearestPointBy="xy";for(var a=this.points,j=a.length;j--;)this.preventPostTranslate||this.polar.toXY(a[j]),T.hasParallelCoordinates||this.yAxis.reversed||(L(a[j].y,Number.MIN_VALUE)<this.yAxis.min||a[j].x<this.xAxis.min||a[j].x>this.xAxis.max?(a[j].isNull=!0,a[j].plotY=NaN):a[j].isNull=a[j].isValid&&!a[j].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(h(this,"afterRe
1nder",function(){if(T.polar){var I=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:I[0],y:I[1],r:I[2]/2,innerR:I[3]/2});else{var z=T.renderer,F=I[0],V=I[1],U=I[2]/2,Z=I[3]/2;I=D();var J=z.createElement("clipPath").attr({id:I}).add(z.defs);(z=Z?z.arc(F,V,U,Z,0,2*Math.PI).add(J):z.circle(F,V,U).add(J)).id=I,z.clipPath=J,this.clipCircle=z}this.group.clip(this.clipCircle),this.setClip=g.noop}})))}}function e(T){var a=this.chart,j=this.xAxis;return j=j.pane&&j.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(T.chartX-(j&&j[0]||0)-a.plotLeft,T.chartY-(j&&j[1]||0)-a.plotTop)})}function t(T,a,j,I){var z=I.tickInterval,F=x(I=I.tickPositions,function(U){return U>=j}),V=x(y([],I,!0).reverse(),function(U){return U<=a});return f(F)||(F=I[I.length-1]),f(V)||(V=I[0],F+=z,T[0][0]="L",T.unshift(T[T.length-3])),(T=T.slice(I.indexOf(V),I.indexOf(F)+1))[0][0]="M",T}function r(T,a){return x(this.pane||[],function(j){return j.options.id===a})||T.call(this,a)}function c(T,a,j,I,z,F){var V=this.chart,U=L(I.inside,!!this.options.stacking);V.polar?(T=a.rectPlotX/Math.PI*180,V.inverted?(this.forceDL=V.isInsidePlot(a.plotX,a.plotY),U&&a.shapeArgs?z={x:(z=this.yAxis.postTranslate((((z=a.shapeArgs).start||0)+(z.end||0))/2-this.xAxis.startAngleRad,a.barX+a.pointWidth/2)).x-V.plotLeft,y:z.y-V.plotTop}:a.tooltipPos&&(z={x:a.tooltipPos[0],y:a.tooltipPos[1]}),I.align=L(I.align,"center"),I.verticalAlign=L(I.verticalAlign,"middle")):(null===I.align&&(I.align=20<T&&160>T?"left":200<T&&340>T?"right":"center"),null===I.verticalAlign&&(I.verticalAlign=45>T||315<T?"bottom":135<T&&225>T?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,a,j,I,z,F),this.isRadialBar&&a.shapeArgs&&a.shapeArgs.start===a.shapeArgs.end?j.hide():j.show()):T.call(this,a,j,I,z,F)}function p(T){var a=this.options,j=a.stacking,I=this.chart,z=this.xAxis,F=this.yAxis,V=F.reversed,U=F.center,Z=z.startAngleRad,J=z.endAngleRad-Z,A=0,Y=0,B=0;if(this.preventPostTranslate=!0,T.call(this),z.isRadial){z=(T=this.points).length;var G=F.translate(F.min),K=F.translate(F.max);for(a=a.threshold||0,I.inverted&&l(a)&&(A=F.translate(a),f(A)&&(0>A?A=0:A>J&&(A=J),this.translatedThreshold=A+Z));z--;){var H=(a=T[z]).barX,q=a.x,ot=a.y;a.shapeType="arc",I.inverted?(a.plotY=F.translate(ot),j&&F.stacking?(ot=F.stacking.stacks[(0>ot?"-":"")+this.stackKey],this.visible&&ot&&ot[q]&&!a.isNull&&(B=ot[q].points[this.getStackIndicator(void 0,q,this.index).key],Y=F.translate(B[0]),B=F.translate(B[1]),f(Y)&&(Y=m.clamp(Y,0,J)))):(Y=A,B=a.plotY),Y>B&&(B=[Y,Y=B][0]),V?B>G?B=G:Y<K?Y=K:(Y>G||B<K)&&(Y=B=J):Y<G?Y=G:B>K?B=K:(B<G||Y>K)&&(Y=B=0),F.min>F.max&&(Y=B=V?J:0),Y+=Z,B+=Z,U&&(a.barX=H+=U[3]/2),q=Math.max(H,0),ot=Math.max(H+a.pointWidth,0),a.shapeArgs={x:U&&U[0],y:U&&U[1],r:ot,innerR:q,start:Y,end:B},a.opacity=Y===B?0:void 0,a.plotY=(f(this.translatedThreshold)&&(Y<this.translatedThreshold?Y:B))-Z):a.shapeArgs=this.polar.arc(a.yBottom,a.plotY,Y=H+Z,Y+a.pointWidth),this.polar.toXY(a),I.inverted?(H=F.postTranslate(a.rectPlotY,H+a.pointWidth/2),a.tooltipPos=[H.x-I.plotLeft,H.y-I.plotTop]):a.tooltipPos=[a.plotX,a.plotY],U&&(a.ttBelow=a.plotY>U[1])}}}function n(T,a){var j=this;if(this.chart.polar){a=a||this.points;for(var I=0;I<a.length;I++)if(!a[I].isNull){var z=I;break}if(!1!==this.options.connectEnds&&void 0!==z){this.connectEnds=!0,a.splice(a.length,0,a[z]);var F=!0}a.forEach(function(V){void 0===V.polarPlotY&&j.polar.toXY(V)})}return z=T.apply(this,[].slice.call(arguments,1)),F&&a.pop(),z}function d(T,a){var j=this.chart,I={xAxis:[],yAxis:[]};return j.polar?j.axes.forEach(function(z){if("colorAxis"!==z.coll){var F=z.isXAxis,V=z.center,U=a.chartX-V[0]-j.plotLeft;V=a.chartY-V[1]-j.plotTop,I[F?"xAxis":"yAxis"].push({axis:z,value:z.translate(F?Math.PI-Math.atan2(U,V):Math.sqrt(Math.pow(U,2)+Math.pow(V,2)),!0)})}}):I=T.call(this,a),I}function s(T,a){this.chart.polar||T.call(this,a)}function X(T,a){var A,Y,B,G,j=this,I=this.chart,z=this.group,F=this.markerGroup,V=this.xAxis&&this.xAxis.center,U=I.plotLeft,Z=I.plotTop,J=this.options.animation;if(I.polar){if(j.isRadialBar)a||(j.startAngleRad=L(j.translatedThreshold,j.xAxis.startAngleRad),g.seriesTypes.pie.prototype.animate.call(j,a));else if(I.renderer.isSVG)if(J=i(J),j.is("column")){if(!a){var K=V[3]/2;
1j.points.forEach(function(H){B=(Y=H.shapeArgs)&&Y.r,G=Y&&Y.innerR,(A=H.graphic)&&Y&&(A.attr({r:K,innerR:K}),A.animate({r:B,innerR:G},j.options.animation))})}}else a?(z.attr(T={translateX:V[0]+U,translateY:V[1]+Z,scaleX:.001,scaleY:.001}),F&&F.attr(T)):(z.animate(T={translateX:U,translateY:Z,scaleX:1,scaleY:1},J),F&&F.animate(T,J))}else T.call(this,a)}function P(T,a,j,I){return this.chart.polar?I?(j=(T=C(a,I,!0,this.connectEnds)).prevPointCont&&T.prevPointCont.rightContY,T=["C",l(a=T.prevPointCont&&T.prevPointCont.rightContX)?a:T.plotX,l(j)?j:T.plotY,l(T.leftContX)?T.leftContX:T.plotX,l(T.leftContY)?T.leftContY:T.plotY,T.plotX,T.plotY]):T=["M",j.plotX,j.plotY]:T=T.call(this,a,j,I),T}var y=this&&this.__spreadArray||function(T,a,j){if(j||2===arguments.length)for(var F,I=0,z=a.length;I<z;I++)!F&&I in a||(F||(F=Array.prototype.slice.call(a,0,I)),F[I]=a[I]);return T.concat(F||Array.prototype.slice.call(a))},i=b.animObject,h=m.addEvent,f=m.defined,x=m.find,l=m.isNumber,L=m.pick,R=m.splat,D=m.uniqueKey,E=m.wrap,W=[],Q=function(){function T(a){this.series=a}return T.compose=function(a,j,I,z,F,V,U,Z,J){u.compose(a,F),-1===W.indexOf(j)&&(W.push(j),h(j,"afterDrawChartBox",N),h(j,"getAxes",M),h(j,"init",O),E(j.prototype,"get",r)),-1===W.indexOf(I)&&(W.push(I),E(a=I.prototype,"getCoordinates",d),E(a,"pinch",s),h(I,"getSelectionMarkerAttrs",k),h(I,"getSelectionBox",w)),-1===W.indexOf(z)&&(W.push(z),h(z,"afterInit",v),h(z,"afterTranslate",o,{order:2}),E(z.prototype,"animate",X)),U&&-1===W.indexOf(U)&&(W.push(U),E(I=U.prototype,"alignDataLabel",c),E(I,"animate",X),E(I,"translate",p)),Z&&-1===W.indexOf(Z)&&(W.push(Z),E(Z.prototype,"getGraphPath",n)),J&&-1===W.indexOf(J)&&(W.push(J),E(Z=J.prototype,"getPointSpline",P),V&&-1===W.indexOf(V)&&(W.push(V),V.prototype.getPointSpline=Z.getPointSpline))},T.prototype.arc=function(a,j,I,z){var F=this.series,V=F.xAxis.center,U=F.yAxis.len,Z=V[3]/2;return j=U-j+Z,a=U-L(a,U)+Z,F.yAxis.reversed&&(0>j&&(j=Z),0>a&&(a=Z)),{x:V[0],y:V[1],r:j,innerR:a,start:I,end:z}},T.prototype.toXY=function(a){var j=this.series,I=j.chart,z=j.xAxis,F=j.yAxis,V=a.plotX,U=I.inverted,Z=a.y,J=a.plotY,A=U?V:F.len-J;U&&j&&!j.isRadialBar&&(a.plotY=J=l(Z)?F.translate(Z):0),a.rectPlotX=V,a.rectPlotY=J,F.center&&(A+=F.center[3]/2),l(J)&&(F=U?F.postTranslate(J,A):z.postTranslate(V,A),a.plotX=a.polarPlotX=F.x-I.plotLeft,a.plotY=a.polarPlotY=F.y-I.plotTop),j.kdByAngle?(0>(j=(V/Math.PI*180+z.pane.options.startAngle)%360)&&(j+=360),a.clientX=j):a.clientX=a.plotX},T}();return Q}),$(_,"masters/highcharts-more.src.js",[_["Core/Globals.js"],_["Core/Series/SeriesRegistry.js"],_["Series/Bubble/BubbleSeries.js"],_["Series/PackedBubble/PackedBubbleSeries.js"],_["Series/PolarComposition.js"]],function(b,g,S,u,m){S.compose(b.Axis,b.Chart,b.Legend,b.Series),u.compose(b.Axis,b.Chart,b.Legend,b.Series),m.compose(b.Axis,b.Chart,b.Pointer,b.Series,b.Tick,g.seriesTypes.areasplinerange,g.seriesTypes.column,g.seriesTypes.line,g.seriesTypes.spline)})},ut.exports?(_.default=_,ut.exports=_):(dt=[gt(54668)],void 0!==(ct=function($){return _($),_.Highcharts=$,_}.apply(ft,dt))&&(ut.exports=ct))}}]); 2//# sourceMappingURL=default-node_modules_highcharts_highcharts-more_js.19e0fea317d8c8c03d49.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.