/* Highcharts JS v9.1.1 (2021-06-03) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ 'use strict';(function(f){"object"===typeof module&&module.exports?(f["default"]=f,module.exports=f):"function"===typeof define&&define.amd?define("highcharts/modules/broken-axis",["highcharts"],function(l){f(l);f.Highcharts=l;return f}):f("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(f){function l(f,q,l,h){f.hasOwnProperty(q)||(f[q]=h.apply(null,l))}f=f?f._modules:{};l(f,"Core/Axis/BrokenAxis.js",[f["Core/Axis/Axis.js"],f["Core/Series/Series.js"],f["Extensions/Stacking.js"],f["Core/Utilities.js"]], function(f,l,z,h){var r=h.addEvent,q=h.find,x=h.fireEvent,A=h.isArray,m=h.isNumber,v=h.pick,w;(function(h){function w(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function B(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function C(){var b=this.brokenAxis;if(b&&b.hasBreaks){for(var c=this.tickPositions,g=this.tickPositions.info,e=[],a=0;aa.to||d>a.from&&ka.from&&ka.from&&k>a.to&&ke&&c>=this.basePointRange&&(e=c),d=void 0;a--;)d&&!1!==d.visible||(d=b[a+1]),c=b[a],!1!==d.visible&&!1!==c.visible&&(d.x-c.x>e&&(d=(c.x+d.x)/2,b.splice(a+1,0,{isNull:!0,x:d}),g.stacking&&this.options.stacking&&(d=g.stacking.stacks[this.stackKey][d]=new z(g,g.options.stackLabels,!1,d,this.stack),d.total=0)),d=c);return this.getGraphPath(b)}h.compose= function(b,c){if(-1===b.keepProps.indexOf("brokenAxis")){b.keepProps.push("brokenAxis");var g=l.prototype;g.drawBreaks=G;g.gappedPath=H;r(b,"init",D);r(b,"afterInit",w);r(b,"afterSetTickPositions",C);r(b,"afterSetOptions",B);r(c,"afterGeneratePoints",E);r(c,"afterRender",F)}return b};var y=function(){function b(c){this.hasBreaks=!1;this.axis=c}b.isInBreak=function(c,b){var e=c.repeat||Infinity,a=c.from,d=c.to-c.from;b=b>=a?(b-a)%e:e-(a-b)%e;return c.inclusive?b<=d:b=c)break;else a.to=c)break;else if(b.isInBreak(d,c)){e-=c-d.from;break}}return e};b.prototype.findBreakAt=function(c,b){return q(b,function(b){return b.fromn;)p-=t;for(;p