/* Highcharts JS v8.2.2 (2020-10-22) (c) 2009-2019 Torstein Honsi License: www.highcharts.com/license */ (function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/broken-axis",["highcharts"],function(h){c(h);c.Highcharts=h;return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){function h(c,h,v,l){c.hasOwnProperty(h)||(c[h]=l.apply(null,v))}c=c?c._modules:{};h(c,"Core/Axis/BrokenAxis.js",[c["Core/Axis/Axis.js"],c["Series/LineSeries.js"],c["Extensions/Stacking.js"],c["Core/Utilities.js"]], function(c,h,v,l){var q=l.addEvent,z=l.find,x=l.fireEvent,A=l.isArray,y=l.isNumber,r=l.pick,B=function(){function m(b){this.hasBreaks=!1;this.axis=b}m.isInBreak=function(b,e){var d=b.repeat||Infinity,a=b.from,f=b.to-b.from;e=e>=a?(e-a)%d:d-(a-e)%d;return b.inclusive?e<=f:e=b)break;else a.to=b)break;else if(m.isInBreak(f,b)){d-=b-f.from;break}}return d};m.prototype.findBreakAt=function(b,e){return z(e,function(d){return d.fromp;)n-=k;for(;nb.to||g>b.from&&hb.from&&hb.from&&h>b.to&&ha&&b>=this.basePointRange&&(a=b),g=void 0;d--;)g&&!1!==g.visible||(g=e[d+1]),b=e[d],!1!==g.visible&&!1!==b.visible&&(g.x- b.x>a&&(g=(b.x+g.x)/2,e.splice(d+1,0,{isNull:!0,x:g}),c.stacking&&this.options.stacking&&(g=c.stacking.stacks[this.stackKey][g]=new v(c,c.options.stackLabels,!1,g,this.stack),g.total=0)),g=b);return this.getGraphPath(e)};q(b,"init",function(){this.brokenAxis||(this.brokenAxis=new B(this))});q(b,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});q(b,"afterSetTickPositions",function(){var a=this.brokenAxis;if(a&&a.hasBreaks){var b=this.tickPositions, e=this.tickPositions.info,d=[],c;for(c=0;c