/* Highcharts JS v10.2.0 (2022-07-05) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ (function(Y,K){"object"===typeof module&&module.exports?(K["default"]=K,module.exports=Y.document?K(Y):K):"function"===typeof define&&define.amd?define("highcharts/highcharts",function(){return K(Y)}):(Y.Highcharts&&Y.Highcharts.error(16,!0),Y.Highcharts=K(Y))})("undefined"!==typeof window?window:this,function(Y){function K(f,e,l,C){f.hasOwnProperty(e)||(f[e]=C.apply(null,l),"function"===typeof CustomEvent&&Y.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:f[e]}})))} var l={};K(l,"Core/Globals.js",[],function(){var f;(function(e){e.SVG_NS="http://www.w3.org/2000/svg";e.product="Highcharts";e.version="10.2.0";e.win="undefined"!==typeof Y?Y:{};e.doc=e.win.document;e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect;e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"";e.isChrome=-1!==e.userAgent.indexOf("Chrome");e.isFirefox=-1!==e.userAgent.indexOf("Firefox");e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera; e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari");e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent);e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit");e.deg2rad=2*Math.PI/360;e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10);e.hasTouch=!!e.win.TouchEvent;e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];e.noop=function(){};e.supportsPassiveEvents=function(){var f=!1;if(!e.isMS){var l=Object.defineProperty({},"passive",{get:function(){f= !0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,l),e.win.removeEventListener("testPassive",e.noop,l))}return f}();e.charts=[];e.dateFormats={};e.seriesTypes={};e.symbolSizes={};e.chartCount=0})(f||(f={}));"";return f});K(l,"Core/Utilities.js",[l["Core/Globals.js"]],function(f){function e(c,u,g,k){var A=u?"Highcharts error":"Highcharts warning";32===c&&(c=""+A+": Deprecated member");var m=t(c),n=m?""+A+" #"+c+": www.highcharts.com/errors/"+c+"/": c.toString();if("undefined"!==typeof k){var b="";m&&(n+="?");w(k,function(a,c){b+="\n - ".concat(c,": ").concat(a);m&&(n+=encodeURI(c)+"="+encodeURI(a))});n+=b}x(f,"displayError",{chart:g,code:c,message:n,params:k},function(){if(u)throw Error(n);a.console&&-1===e.messages.indexOf(n)&&console.warn(n)});e.messages.push(n)}function l(a,c){var A={};w(a,function(u,g){if(G(a[g],!0)&&!a.nodeType&&c[g])u=l(a[g],c[g]),Object.keys(u).length&&(A[g]=u);else if(G(a[g])||a[g]!==c[g]||g in a&&!(g in c))A[g]=a[g]}); return A}function C(a,c){return parseInt(a,c||10)}function v(a){return"string"===typeof a}function E(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===a}function G(a,c){return!!a&&"object"===typeof a&&(!c||!E(a))}function B(a){return G(a)&&"number"===typeof a.nodeType}function y(a){var c=a&&a.constructor;return!(!G(a,!0)||B(a)||!c||!c.name||"Object"===c.name)}function t(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity=u-1&&(u=Math.floor(g)),Math.max(0,u-(A(c,"padding-left",!0)||0)-(A(c,"padding-right",!0)||0));if("height"===u)return Math.max(0,Math.min(c.offsetHeight,c.scrollHeight)-(A(c,"padding-top",!0)||0)-(A(c, "padding-bottom",!0)||0));a.getComputedStyle||e(27,!0);if(c=a.getComputedStyle(c,void 0)){var k=c.getPropertyValue(u);p(g,"opacity"!==u)&&(k=C(k))}return k}function w(a,c,g){for(var A in a)Object.hasOwnProperty.call(a,A)&&c.call(g||a[A],a[A],A,a)}function z(a,c,g){function A(c,I){var A=a.removeEventListener||f.removeEventListenerPolyfill;A&&A.call(a,c,I,!1)}function u(u){var I;if(a.nodeName){if(c){var H={};H[c]=!0}else H=u;w(H,function(a,c){if(u[c])for(I=u[c].length;I--;)A(c,u[c][I].fn)})}}var k= "function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(k,"hcEvents")){var m=k.hcEvents;c?(k=m[c]||[],g?(m[c]=k.filter(function(a){return g!==a.fn}),A(c,g)):(u(m),m[c]=[])):(u(m),delete k.hcEvents)}}function x(a,c,g,m){g=g||{};if(k.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==f)){var A=k.createEvent("Events");A.initEvent(c,!0,!0);g=b(A,g);a.dispatchEvent?a.dispatchEvent(g):a.fireEvent(c,g)}else if(a.hcEvents){g.target||b(g,{preventDefault:function(){g.defaultPrevented=!0},target:a, type:c});A=[];for(var u=a,n=!1;u.hcEvents;)Object.hasOwnProperty.call(u,"hcEvents")&&u.hcEvents[c]&&(A.length&&(n=!0),A.unshift.apply(A,u.hcEvents[c])),u=Object.getPrototypeOf(u);n&&A.sort(function(a,c){return a.order-c.order});A.forEach(function(c){!1===c.fn.call(a,g)&&g.preventDefault()})}m&&!g.defaultPrevented&&m.call(a,g)}var m=f.charts,k=f.doc,a=f.win;(e||(e={})).messages=[];Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var g=Array.prototype.find?function(a,c){return a.find(c)}: function(a,c){var A,u=a.length;for(A=0;Ag&&(g=a[c]);return g},arrayMin:function(a){for(var c=a.length,g=a[0];c--;)a[c]c?a=g&&(c=[1/g])));for(k=0;k=a||!m&&A<=(c[k]+(c[k+1]||c[k]))/2);k++);return u=n(u*g,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(c){var g=k.documentElement;c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:c.top+(a.pageYOffset||g.scrollTop)-(g.clientTop||0),left:c.left+(a.pageXOffset||g.scrollLeft)- (g.clientLeft||0),width:c.width,height:c.height}},pad:function(a,c,g){return Array((c||2)+1-String(a).replace("-","").length).join(g||"0")+a},pick:p,pInt:C,relativeLength:function(a,c,g){return/%$/.test(a)?c*parseFloat(a)/100+(g||0):parseFloat(a)},removeEvent:z,splat:function(a){return E(a)?a:[a]},stableSort:function(a,c){var g=a.length,k,u;for(u=0;u>16,(t&65280)>>8,t&255,1]: 4===y&&(B=[(t&3840)>>4|(t&3840)>>8,(t&240)>>4|t&240,(t&15)<<4|t&15,1])}if(!B)for(t=e.parsers.length;t--&&!B;){var h=e.parsers[t];(y=h.regex.exec(f))&&(B=h.parse(y))}}B&&(this.rgba=B)};e.prototype.get=function(e){var B=this.input,y=this.rgba;if("object"===typeof B&&"undefined"!==typeof this.stops){var t=C(B);t.stops=[].slice.call(t.stops);this.stops.forEach(function(h,d){t.stops[d]=[t.stops[d][0],h.get(e)]});return t}return y&&l(y[0])?"rgb"===e||!e&&1===y[3]?"rgb("+y[0]+","+y[1]+","+y[2]+")":"a"=== e?"".concat(y[3]):"rgba("+y.join(",")+")":B};e.prototype.brighten=function(e){var B=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(l(e)&&0!==e)for(var y=0;3>y;y++)B[y]+=v(255*e),0>B[y]&&(B[y]=0),255m?"AM":"PM",P:12>m?"am":"pm",S:t(p.getSeconds()),L:t(Math.floor(d%1E3),3)},f.dateFormats);y(p,function(a,c){for(;-1!==b.indexOf("%"+c);)b=b.replace("%"+c,"function"===typeof a?a.call(n,d):a)});return r?b.substr(0, 1).toUpperCase()+b.substr(1):b};r.prototype.resolveDTLFormat=function(b){return G(b,!0)?b:(b=d(b),{main:b[0],from:b[1],to:b[2]})};r.prototype.getTimeTicks=function(d,r,p,q){var n=this,m=[],k={},a=new n.Date(r),g=d.unitRange,c=d.count||1,D;q=h(q,1);if(C(r)){n.set("Milliseconds",a,g>=b.second?0:c*Math.floor(n.get("Milliseconds",a)/c));g>=b.second&&n.set("Seconds",a,g>=b.minute?0:c*Math.floor(n.get("Seconds",a)/c));g>=b.minute&&n.set("Minutes",a,g>=b.hour?0:c*Math.floor(n.get("Minutes",a)/c));g>=b.hour&& n.set("Hours",a,g>=b.day?0:c*Math.floor(n.get("Hours",a)/c));g>=b.day&&n.set("Date",a,g>=b.month?1:Math.max(1,c*Math.floor(n.get("Date",a)/c)));if(g>=b.month){n.set("Month",a,g>=b.year?0:c*Math.floor(n.get("Month",a)/c));var A=n.get("FullYear",a)}g>=b.year&&n.set("FullYear",a,A-A%c);g===b.week&&(A=n.get("Day",a),n.set("Date",a,n.get("Date",a)-A+q+(A4*b.month||n.getTimezoneOffset(r)!==n.getTimezoneOffset(p));r=a.getTime();for(a=1;rm.length&&m.forEach(function(a){0===a%18E5&&"000000000"===n.dateFormat("%H%M%S%L",a)&&(k[a]="day")})}m.info=E(d,{higherRanks:k,totalRange:g*c});return m};r.prototype.getDateFormat=function(n,d,r, p){var q=this.dateFormat("%m-%d %H:%M:%S.%L",d),m={millisecond:15,second:12,minute:9,hour:6,day:3},k="millisecond";for(a in b){if(n===b.week&&+this.dateFormat("%w",d)===r&&"00:00:00.000"===q.substr(6)){var a="week";break}if(b[a]>n){a=k;break}if(m[a]&&q.substr(m[a])!=="01-01 00:00:00.000".substr(m[a]))break;"week"!==a&&(k=a)}return this.resolveDTLFormat(p[a]).main};return r}();"";return e});K(l,"Core/DefaultOptions.js",[l["Core/Chart/ChartDefaults.js"],l["Core/Color/Color.js"],l["Core/Globals.js"], l["Core/Color/Palettes.js"],l["Core/Time.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E){e=e.parse;var P=E.merge,B={colors:C.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".", numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:f,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center", alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom", x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:l.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout", hideDelay:500,padding:8,shape:"callout",shared:!1,snap:l.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right", x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};B.chart.styledMode=!1;"";var y=new v(P(B.global,B.time));f={defaultOptions:B,defaultTime:y,getOptions:function(){return B},setOptions:function(t){P(!0,B,t);if(t.time||t.global)l.time?l.time.update(P(B.global,B.time,t.global,t.time)):l.time=y;return B}};"";return f});K(l,"Core/Animation/Fx.js",[l["Core/Color/Color.js"],l["Core/Globals.js"],l["Core/Utilities.js"]],function(f,e,l){var P= f.parse,v=e.win,E=l.isNumber,G=l.objectEach;return function(){function e(e,t,h){this.pos=NaN;this.options=t;this.elem=e;this.prop=h}e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var h=this.now||0,d=[];if(1!==h&&t&&e)if(t.length===e.length&&1>h)for(var b=0;b=p+this.startTime){this.now=this.end;this.pos=1;this.update();var r=q[this.prop]=!0;G(q, function(b){!0!==b&&(r=!1)});r&&b&&b.call(d);e=!1}else this.pos=h.easing((t-this.startTime)/p),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e};e.prototype.initPath=function(e,t,h){function d(b,m){for(;b.lengthr[1]){var J=h+ +r[1];0<=J?(r[0]=(+r[0]).toExponential(J).split("e")[0],h=J):(r[0]=r[0].split(".")[0]||0,e=20>h?(r[0]*Math.pow(10,r[1])).toFixed(h):0,r[1]=0)}J=(Math.abs(r[1]?r[0]:e)+Math.pow(10,-Math.max(h,q)- 1)).toFixed(h);q=String(y(J));var w=3e?"-":"")+(w?q.substr(0,w)+b:"");e=0>+r[1]&&!n?"0":e+q.substr(w).replace(/(\d{3})(?=\d)/g,"$1"+b);h&&(e+=d+J.slice(-h));r[1]&&0!==+e&&(e+="e"+r[1]);return e}var C=f.defaultOptions,v=f.defaultTime,E=e.getNestedProperty,G=e.isNumber,B=e.pick,y=e.pInt;return{dateFormat:function(e,h,d){return v.dateFormat(e,h,d)},format:function(e,h,d){var b="{",p=!1,q=/f$/,r=/\.([0-9])/,n=C.lang,J=d&&d.time|| v;d=d&&d.numberFormatter||l;for(var w=[];e;){var z=e.indexOf(b);if(-1===z)break;var x=e.slice(0,z);if(p){x=x.split(":");b=E(x.shift()||"",h);if(x.length&&"number"===typeof b)if(x=x.join(":"),q.test(x)){var m=parseInt((x.match(r)||["","-1"])[1],10);null!==b&&(b=d(b,m,n.decimalPoint,-1d){C(f,b);for(J=q=0;J<=d;)J+=f[q].size,q++;n=f.splice(q-1,f.length)}C(f,p);for(f=f.map(function(b){return{size:b.size,targets:[b.target],align:l(b.align,.5)}});r;){for(q=f.length;q--;)d=f[q],b=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/ 2,d.pos=e(b-d.size*d.align,0,y-d.size);q=f.length;for(r=!1;q--;)0f[q].pos&&(f[q-1].size+=f[q].size,f[q-1].targets=f[q-1].targets.concat(f[q].targets),f[q-1].align=.5,f[q-1].pos+f[q-1].size>y&&(f[q-1].pos=y-f[q-1].size),f.splice(q,1),r=!0)}h.push.apply(h,n);q=0;f.some(function(b){var d=0;return(b.targets||[]).some(function(){h[q].pos=b.pos+d;if("undefined"!==typeof t&&Math.abs(h[q].pos-h[q].target)>t)return h.slice(0,q+1).forEach(function(b){return delete b.pos}),h.reducedLen= (h.reducedLen||y)-.1*y,h.reducedLen>.1*y&&v(h,y,t),!0;d+=h[q].size;q++;return!1})});C(h,p);return h}f.distribute=v})(v||(v={}));return v});K(l,"Core/Renderer/SVG/SVGElement.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/Renderer/HTML/AST.js"],l["Core/Color/Color.js"],l["Core/Globals.js"],l["Core/Utilities.js"]],function(f,e,l,C,v){var P=f.animate,G=f.animObject,B=f.stop,y=C.deg2rad,t=C.doc,h=C.noop,d=C.svg,b=C.SVG_NS,p=C.win,q=v.addEvent,r=v.attr,n=v.createElement,J=v.css,w=v.defined,z=v.erase, x=v.extend,m=v.fireEvent,k=v.isArray,a=v.isFunction,g=v.isNumber,c=v.isString,D=v.merge,A=v.objectEach,u=v.pick,L=v.pInt,S=v.syncTimeout,R=v.uniqueKey;f=function(){function f(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=b;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}f.prototype._defaultGetter=function(a){a=u(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&& (a=parseFloat(a));return a};f.prototype._defaultSetter=function(a,c,g){g.setAttribute(c,a)};f.prototype.add=function(a){var c=this.renderer,g=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&c.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var b=this.zIndexSetter();b||(a?a.element:c.box).appendChild(g);if(this.onAdd)this.onAdd();return this};f.prototype.addClass=function(a,c){var g=c?"":this.attr("class")|| "";a=(a||"").split(/ /g).reduce(function(a,c){-1===g.indexOf(c)&&a.push(c);return a},g?[g]:[]).join(" ");a!==g&&this.attr("class",a);return this};f.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};f.prototype.align=function(a,g,I){var b={},k=this.renderer,m=k.alignedObjects,d,p,F;if(a){if(this.alignOptions=a,this.alignByTranslate=g,!I||c(I))this.alignTo=d=I||"renderer",z(m,this),m.push(this),I=void 0}else a=this.alignOptions,g=this.alignByTranslate, d=this.alignTo;I=u(I,k[d],"scrollablePlotBox"===d?k.plotBox:void 0,k);d=a.align;var A=a.verticalAlign;k=(I.x||0)+(a.x||0);m=(I.y||0)+(a.y||0);"right"===d?p=1:"center"===d&&(p=2);p&&(k+=(I.width-(a.width||0))/p);b[g?"translateX":"x"]=Math.round(k);"bottom"===A?F=1:"middle"===A&&(F=2);F&&(m+=(I.height-(a.height||0))/F);b[g?"translateY":"y"]=Math.round(m);this[this.placed?"animate":"attr"](b);this.placed=!0;this.alignAttr=b;return this};f.prototype.alignSetter=function(a){var c={left:"start",center:"middle", right:"end"};c[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",c[a]))};f.prototype.animate=function(a,c,g){var I=this,b=G(u(c,this.renderer.globalAnimation,!0));c=b.defer;u(t.hidden,t.msHidden,t.webkitHidden,!1)&&(b.duration=0);0!==b.duration?(g&&(b.complete=g),S(function(){I.element&&P(I,a,b)},c)):(this.attr(a,void 0,g||b.complete),A(a,function(a,c){b.step&&b.step.call(this,a,{prop:c,pos:1,elem:this})},this));return this};f.prototype.applyTextOutline=function(a){var c=this.element; -1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(c.style.fill)));var g=a.split(" ");a=g[g.length-1];if((g=g[0])&&"none"!==g&&C.svg){this.fakeTS=!0;this.ySetter=this.xSetter;g=g.replace(/(^[\d\.]+)(.*?)$/g,function(a,c,g){return 2*Number(c)+g});this.removeTextOutline();var k=t.createElementNS(b,"tspan");r(k,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":g,"stroke-linejoin":"round"});[].forEach.call(c.childNodes,function(a){var c=a.cloneNode(!0);c.removeAttribute&& ["fill","stroke","stroke-width","stroke"].forEach(function(a){return c.removeAttribute(a)});k.appendChild(c)});var u=t.createElementNS(b,"tspan");u.textContent="\u200b";["x","y"].forEach(function(a){var g=c.getAttribute(a);g&&u.setAttribute(a,g)});k.appendChild(u);c.insertBefore(k,c.firstChild)}};f.prototype.attr=function(a,c,g,b){var I=this.element,k=this.symbolCustomAttribs,H,u=this,F,m;if("string"===typeof a&&"undefined"!==typeof c){var d=a;a={};a[d]=c}"string"===typeof a?u=(this[a+"Getter"]|| this._defaultGetter).call(this,a,I):(A(a,function(c,g){F=!1;b||B(this,g);this.symbolName&&-1!==k.indexOf(g)&&(H||(this.symbolAttr(a),H=!0),F=!0);!this.rotation||"x"!==g&&"y"!==g||(this.doTransform=!0);F||(m=this[g+"Setter"]||this._defaultSetter,m.call(this,c,g,I),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(g)&&this.updateShadows(g,c,m))},this),this.afterSetters());g&&g.call(this);return u};f.prototype.clip=function(a){return this.attr("clip-path",a?"url("+ this.renderer.url+"#"+a.id+")":"none")};f.prototype.crisp=function(a,c){c=c||a.strokeWidth||0;var g=Math.round(c)%2/2;a.x=Math.floor(a.x||this.x||0)+g;a.y=Math.floor(a.y||this.y||0)+g;a.width=Math.floor((a.width||this.width||0)-2*g);a.height=Math.floor((a.height||this.height||0)-2*g);w(a.strokeWidth)&&(a.strokeWidth=c);return a};f.prototype.complexColor=function(a,c,g){var b=this.renderer,I,u,d,p,F,n,r,q,h,z,e=[],x;m(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?u="radialGradient": a.linearGradient&&(u="linearGradient");if(u){d=a[u];F=b.gradients;n=a.stops;h=g.radialReference;k(d)&&(a[u]=d={x1:d[0],y1:d[1],x2:d[2],y2:d[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===u&&h&&!w(d.gradientUnits)&&(p=d,d=D(d,b.getRadialAttr(h,p),{gradientUnits:"userSpaceOnUse"}));A(d,function(a,c){"id"!==c&&e.push(c,a)});A(n,function(a){e.push(a)});e=e.join(",");if(F[e])z=F[e].attr("id");else{d.id=z=R();var H=F[e]=b.createElement(u).attr(d).add(b.defs);H.radAttr=p;H.stops=[];n.forEach(function(a){0=== a[1].indexOf("rgba")?(I=l.parse(a[1]),r=I.get("rgb"),q=I.get("a")):(r=a[1],q=1);a=b.createElement("stop").attr({offset:a[0],"stop-color":r,"stop-opacity":q}).add(H);H.stops.push(a)})}x="url("+b.url+"#"+z+")";g.setAttribute(c,x);g.gradient=e;a.toString=function(){return x}}})};f.prototype.css=function(a){var c=this.styles,g={},b=this.element,k=!c;a.color&&(a.fill=a.color);c&&A(a,function(a,b){c&&c[b]!==a&&(g[b]=a,k=!0)});if(k){c&&(a=x(c,g));if(null===a.width||"auto"===a.width)delete this.textWidth; else if("text"===b.nodeName.toLowerCase()&&a.width)var u=this.textWidth=L(a.width);this.styles=a;u&&!d&&this.renderer.forExport&&delete a.width;var m=D(a);b.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(a){return m&&delete m[a]});J(b,m);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a.textOutline&&this.applyTextOutline(a.textOutline))}return this};f.prototype.dashstyleSetter=function(a){var c=this["stroke-width"];"inherit"===c&&(c= 1);if(a=a&&a.toLowerCase()){var g=a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=g.length;a--;)g[a]=""+L(g[a])*u(c,NaN);a=g.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};f.prototype.destroy=function(){var a=this,c=a.element||{},g=a.renderer,b=c.ownerSVGElement,k=g.isSVG&& "SPAN"===c.nodeName&&a.parentGroup||void 0;c.onclick=c.onmouseout=c.onmouseover=c.onmousemove=c.point=null;B(a);if(a.clipPath&&b){var u=a.clipPath;[].forEach.call(b.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1D.width)D={x:0,y:0,width:0,height:0}}else D=this.htmlGetBBox();if(d.isSVG&&(d=D.width,c=D.height,n&&(D.height=c={"11px,17":14,"13px,20":16}[""+(r||"")+",".concat(Math.round(c))]||c),g)){n=Number(k.getAttribute("y")||0)-D.y;b={right:1,center:.5}[b||0]||0;m=g*y;r=(g-90)*y;var z=d*Math.cos(m);g=d*Math.sin(m);h=Math.cos(r);m=Math.sin(r);d=D.x+b*(d-z)+n*h;r=d+z;h=r-c*h;z=h-z;n=D.y+n-b*g+n*m;b=n+g;c=b-c*m;g=c-g;D.x=Math.min(d,r,h,z);D.y=Math.min(n,b,c,g);D.width=Math.max(d,r, h,z)-D.x;D.height=Math.max(n,b,c,g)-D.y}if(q&&(""===p||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")};f.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};f.prototype.translate= function(a,c){return this.attr({translateX:a,translateY:c})};f.prototype.updateShadows=function(a,c,g){var b=this.shadows;if(b)for(var k=b.length;k--;)g.call(b[k],"height"===a?Math.max(c-(b[k].cutHeight||0),0):"d"===a?this.d:c,a,b[k])};f.prototype.updateTransform=function(){var a=this.scaleX,c=this.scaleY,g=this.inverted,b=this.rotation,k=this.matrix,m=this.element,d=this.translateX||0,n=this.translateY||0;g&&(d+=this.width,n+=this.height);d=["translate("+d+","+n+")"];w(k)&&d.push("matrix("+k.join(",")+ ")");g?d.push("rotate(90) scale(-1,1)"):b&&d.push("rotate("+b+" "+u(this.rotationOriginX,m.getAttribute("x"),0)+" "+u(this.rotationOriginY,m.getAttribute("y")||0)+")");(w(a)||w(c))&&d.push("scale("+u(a,1)+" "+u(c,1)+")");d.length&&m.setAttribute("transform",d.join(" "))};f.prototype.visibilitySetter=function(a,c,g){"inherit"===a?g.removeAttribute(c):this[c]!==a&&g.setAttribute(c,a);this[c]=a};f.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)}; f.prototype.zIndexSetter=function(a,c){var g=this.renderer,b=this.parentGroup,k=(b||g).element||g.box,u=this.element;g=k===g.box;var d=!1;var m=this.added;var F;w(a)?(u.setAttribute("data-z-index",a),a=+a,this[c]===a&&(m=!1)):w(this[c])&&u.removeAttribute("data-z-index");this[c]=a;if(m){(a=this.zIndex)&&b&&(b.handleZ=!0);c=k.childNodes;for(F=c.length-1;0<=F&&!d;F--){b=c[F];m=b.getAttribute("data-z-index");var n=!w(m);if(b!==u)if(0>a&&n&&!g&&!F)k.insertBefore(u,c[F]),d=!0;else if(L(m)<=a||n&&(!w(a)|| 0<=a))k.insertBefore(u,c[F+1]||null),d=!0}d||(k.insertBefore(u,c[g?3:0]||null),d=!0)}return d};return f}();f.prototype["stroke-widthSetter"]=f.prototype.strokeSetter;f.prototype.yGetter=f.prototype.xGetter;f.prototype.matrixSetter=f.prototype.rotationOriginXSetter=f.prototype.rotationOriginYSetter=f.prototype.rotationSetter=f.prototype.scaleXSetter=f.prototype.scaleYSetter=f.prototype.translateXSetter=f.prototype.translateYSetter=f.prototype.verticalAlignSetter=function(a,c){this[c]=a;this.doTransform= !0};"";return f});K(l,"Core/Renderer/RendererRegistry.js",[l["Core/Globals.js"]],function(f){var e;(function(e){e.rendererTypes={};var l;e.getRendererType=function(f){void 0===f&&(f=l);return e.rendererTypes[f]||e.rendererTypes[l]};e.registerRendererType=function(v,P,G){e.rendererTypes[v]=P;if(!l||G)l=v,f.Renderer=P}})(e||(e={}));return e});K(l,"Core/Renderer/SVG/SVGLabel.js",[l["Core/Renderer/SVG/SVGElement.js"],l["Core/Utilities.js"]],function(f,e){var l=this&&this.__extends||function(){var e=function(h, d){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var p in d)d.hasOwnProperty(p)&&(b[p]=d[p])};return e(h,d)};return function(h,d){function b(){this.constructor=h}e(h,d);h.prototype=null===d?Object.create(d):(b.prototype=d.prototype,new b)}}(),C=e.defined,v=e.extend,E=e.isNumber,G=e.merge,B=e.pick,y=e.removeEvent;return function(e){function h(d,b,p,q,r,n,f,w,z,x){var m=e.call(this)||this;m.paddingLeftSetter=m.paddingSetter;m.paddingRightSetter= m.paddingSetter;m.init(d,"g");m.textStr=b;m.x=p;m.y=q;m.anchorX=n;m.anchorY=f;m.baseline=z;m.className=x;m.addClass("button"===x?"highcharts-no-tooltip":"highcharts-label");x&&m.addClass("highcharts-"+x);m.text=d.text(void 0,0,0,w).attr({zIndex:1});var k;"string"===typeof r&&((k=/^url\((.*?)\)$/.test(r))||m.renderer.symbols[r])&&(m.symbolKey=r);m.bBox=h.emptyBBox;m.padding=3;m.baselineOffset=0;m.needsBox=d.styledMode||k;m.deferredAttr={};m.alignFactor=0;return m}l(h,e);h.prototype.alignSetter=function(d){d= {left:0,center:.5,right:1}[d];d!==this.alignFactor&&(this.alignFactor=d,this.bBox&&E(this.xSetting)&&this.attr({x:this.xSetting}))};h.prototype.anchorXSetter=function(d,b){this.anchorX=d;this.boxAttr(b,Math.round(d)-this.getCrispAdjust()-this.xSetting)};h.prototype.anchorYSetter=function(d,b){this.anchorY=d;this.boxAttr(b,d-this.ySetting)};h.prototype.boxAttr=function(d,b){this.box?this.box.attr(d,b):this.deferredAttr[d]=b};h.prototype.css=function(d){if(d){var b={};d=G(d);h.textProps.forEach(function(p){"undefined"!== typeof d[p]&&(b[p]=d[p],delete d[p])});this.text.css(b);var p="width"in b;"fontSize"in b||"fontWeight"in b?this.updateTextPadding():p&&this.updateBoxSize()}return f.prototype.css.call(this,d)};h.prototype.destroy=function(){y(this.element,"mouseenter");y(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());f.prototype.destroy.call(this)};h.prototype.fillSetter=function(d,b){d&&(this.needsBox=!0);this.fill=d;this.boxAttr(b,d)};h.prototype.getBBox=function(){this.textStr&& 0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var d=this.padding,b=B(this.paddingLeft,d);return{width:this.width,height:this.height,x:this.bBox.x-b,y:this.bBox.y-d}};h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};h.prototype.heightSetter=function(d){this.heightSetting=d};h.prototype.onAdd=function(){var d=this.textStr;this.text.add(this);this.attr({text:C(d)? d:"",x:this.x,y:this.y});this.box&&C(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};h.prototype.paddingSetter=function(d,b){E(d)?d!==this[b]&&(this[b]=d,this.updateTextPadding()):this[b]=void 0};h.prototype.rSetter=function(d,b){this.boxAttr(b,d)};h.prototype.shadow=function(d){d&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(d));return this};h.prototype.strokeSetter=function(d,b){this.stroke=d;this.boxAttr(b,d)};h.prototype["stroke-widthSetter"]= function(d,b){d&&(this.needsBox=!0);this["stroke-width"]=d;this.boxAttr(b,d)};h.prototype["text-alignSetter"]=function(d){this.textAlign=d};h.prototype.textSetter=function(d){"undefined"!==typeof d&&this.text.attr({text:d});this.updateTextPadding()};h.prototype.updateBoxSize=function(){var d=this.text.element.style,b={},p=this.padding,q=this.bBox=E(this.widthSetting)&&E(this.heightSetting)&&!this.textAlign||!C(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height= (this.heightSetting||q.height||0)+2*p;d=this.renderer.fontMetrics(d&&d.fontSize,this.text);this.baselineOffset=p+Math.min((this.text.firstLineMetrics||d).b,q.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-d.h)/2);this.needsBox&&(this.box||(p=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),p.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),p.add(this)),p=this.getCrispAdjust(), b.x=p,b.y=(this.baseline?-this.baselineOffset:0)+p,b.width=Math.round(this.width),b.height=Math.round(this.height),this.box.attr(v(b,this.deferredAttr)),this.deferredAttr={})};h.prototype.updateTextPadding=function(){var d=this.text;this.updateBoxSize();var b=this.baseline?0:this.baselineOffset,p=B(this.paddingLeft,this.padding);C(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(p+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(p!== d.x||b!==d.y)d.attr("x",p),d.hasBoxWidthChanged&&(this.bBox=d.getBBox(!0)),"undefined"!==typeof b&&d.attr("y",b);d.x=p;d.y=b};h.prototype.widthSetter=function(d){this.widthSetting=E(d)?d:void 0};h.prototype.getPaddedWidth=function(){var d=this.padding,b=B(this.paddingLeft,d);d=B(this.paddingRight,d);return(this.widthSetting||this.bBox.width||0)+b+d};h.prototype.xSetter=function(d){this.x=d;this.alignFactor&&(d-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(d); this.attr("translateX",this.xSetting)};h.prototype.ySetter=function(d){this.ySetting=this.y=Math.round(d);this.attr("translateY",this.ySetting)};h.emptyBBox={width:0,height:0,x:0,y:0};h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return h}(f)});K(l,"Core/Renderer/SVG/Symbols.js",[l["Core/Utilities.js"]],function(f){function e(e,f,t,h,d){var b=[];if(d){var p=d.start||0,q=G(d.r,t);t=G(d.r,h||t);var r= (d.end||0)-.001;h=d.innerR;var n=G(d.open,.001>Math.abs((d.end||0)-p-2*Math.PI)),J=Math.cos(p),w=Math.sin(p),z=Math.cos(r),x=Math.sin(r);p=G(d.longArc,.001>r-p-Math.PI?0:1);b.push(["M",e+q*J,f+t*w],["A",q,t,0,p,G(d.clockwise,1),e+q*z,f+t*x]);v(h)&&b.push(n?["M",e+h*z,f+h*x]:["L",e+h*z,f+h*x],["A",h,h,0,p,v(d.clockwise)?1-d.clockwise:0,e+h*J,f+h*w]);n||b.push(["Z"])}return b}function l(e,f,t,h,d){return d&&d.r?C(e,f,t,h,d):[["M",e,f],["L",e+t,f],["L",e+t,f+h],["L",e,f+h],["Z"]]}function C(e,f,t,h, d){d=d&&d.r||0;return[["M",e+d,f],["L",e+t-d,f],["C",e+t,f,e+t,f,e+t,f+d],["L",e+t,f+h-d],["C",e+t,f+h,e+t,f+h,e+t-d,f+h],["L",e+d,f+h],["C",e,f+h,e,f+h,e,f+h-d],["L",e,f+d],["C",e,f,e,f,e+d,f]]}var v=f.defined,E=f.isNumber,G=f.pick;return{arc:e,callout:function(e,f,t,h,d){var b=Math.min(d&&d.r||0,t,h),p=b+6,q=d&&d.anchorX;d=d&&d.anchorY||0;var r=C(e,f,t,h,{r:b});if(!E(q))return r;e+q>=t?d>f+p&&d=e+q?d>f+p&&dh&&q>e+p&&qd&&q>e+p&&q/g,z=[r,this.ellipsis,this.noWrap,this.textLineHeight, this.textOutline,this.fontSize,this.width].join();if(z!==b.textCache){b.textCache=z;delete b.actualWidth;for(z=J.length;z--;)d.removeChild(J[z]);n||this.ellipsis||this.width||-1!==r.indexOf(" ")&&(!this.noWrap||w.test(r))?""!==r&&(e&&e.appendChild(d),r=new f(r),this.modifyTree(r.nodes),r.addToDOM(b.element),this.modifyDOM(),this.ellipsis&&-1!==(d.textContent||"").indexOf("\u2026")&&b.attr("title",this.unescapeEntities(b.textStr||"",["<",">"])),e&&e.removeChild(d)):d.appendChild(P.createTextNode(this.unescapeEntities(r))); y(this.textOutline)&&b.applyTextOutline&&b.applyTextOutline(this.textOutline)}};d.prototype.modifyDOM=function(){var b=this,d=this.svgElement,e=G(d.element,"x");d.firstLineMetrics=void 0;for(var r;r=d.element.firstChild;)if(/^[\s\u200B]*$/.test(r.textContent||" "))d.element.removeChild(r);else break;[].forEach.call(d.element.querySelectorAll("tspan.highcharts-br"),function(n,r){n.nextSibling&&n.previousSibling&&(0===r&&1===n.previousSibling.nodeType&&(d.firstLineMetrics=d.renderer.fontMetrics(void 0, n.previousSibling)),G(n,{dy:b.getLineHeight(n.nextSibling),x:e}))});var n=this.width||0;if(n){var h=function(r,p){var m=r.textContent||"",k=m.replace(/([^\^])-/g,"$1- ").split(" "),a=!b.noWrap&&(1n){for(;k<=a;)g=Math.ceil((k+a)/2),e&&(c=h(e,g)),A=D(g,c&&c.length-1),k===a?k=a+1:A>n?a=g-1:k=g;0===a?b.textContent="":d&&a===d.length-1||(b.textContent=c||h(d||e,g))}e&&e.splice(0,g);p.actualWidth=A;p.rotation=q};d.prototype.unescapeEntities=function(b,d){t(this.renderer.escapes,function(e,r){d&&-1!==d.indexOf(e)||(b=b.toString().replace(new RegExp(e,"g"),r))});return b};return d}()}); K(l,"Core/Renderer/SVG/SVGRenderer.js",[l["Core/Renderer/HTML/AST.js"],l["Core/Color/Color.js"],l["Core/Globals.js"],l["Core/Renderer/RendererRegistry.js"],l["Core/Renderer/SVG/SVGElement.js"],l["Core/Renderer/SVG/SVGLabel.js"],l["Core/Renderer/SVG/Symbols.js"],l["Core/Renderer/SVG/TextBuilder.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E,G,B,y){var t=l.charts,h=l.deg2rad,d=l.doc,b=l.isFirefox,p=l.isMS,q=l.isWebKit,r=l.noop,n=l.SVG_NS,J=l.symbolSizes,w=l.win,z=y.addEvent,x=y.attr,m=y.createElement, k=y.css,a=y.defined,g=y.destroyObjectProperties,c=y.extend,D=y.isArray,A=y.isNumber,u=y.isObject,L=y.isString,S=y.merge,R=y.pick,M=y.pInt,U=y.uniqueKey,aa;l=function(){function I(a,c,g,b,d,k,m){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,c,g,b,d,k,m)}I.prototype.init=function(a,c,g,m,u,F,I){var n=this.createElement("svg").attr({version:"1.1", "class":"highcharts-root"}),H=n.element;I||n.css(this.getStyle(m));a.appendChild(H);x(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&x(H,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=H;this.boxWrapper=n;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 10.2.0"));this.defs=this.createElement("defs").add();this.allowHTML=F;this.forExport=u;this.styledMode=I;this.gradients={};this.cache={};this.cacheKeys= [];this.imgCount=0;this.setSize(c,g,!1);var e;b&&a.getBoundingClientRect&&(c=function(){k(a,{left:0,top:0});e=a.getBoundingClientRect();k(a,{left:Math.ceil(e.left)-e.left+"px",top:Math.ceil(e.top)-e.top+"px"})},c(),this.unSubPixelFix=z(w,"resize",c))};I.prototype.definition=function(a){return(new f([a])).addToDOM(this.defs.element)};I.prototype.getReferenceURL=function(){if((b||q)&&d.getElementsByTagName("base").length){if(!a(aa)){var c=U();c=(new f([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs", children:[{tagName:"clipPath",attributes:{id:c},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(c,")"),fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(d.body);k(c,{position:"fixed",top:0,left:0,zIndex:9E5});var g=d.elementFromPoint(6,6);aa="hitme"===(g&&g.id);d.body.removeChild(c)}if(aa)return w.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};I.prototype.getStyle= function(a){return this.style=c({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},a)};I.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};I.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};I.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();g(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects= null};I.prototype.createElement=function(a){var c=new this.Element;c.init(this,a);return c};I.prototype.getRadialAttr=function(a,c){return{cx:a[0]-a[2]/2+(c.cx||0)*a[2],cy:a[1]-a[2]/2+(c.cy||0)*a[2],r:(c.r||0)*a[2]}};I.prototype.buildText=function(a){(new B(a)).buildSVG()};I.prototype.getContrast=function(a){a=e.parse(a).rgba.map(function(a){a/=255;return.03928>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)});a=.2126*a[0]+.7152*a[1]+.0722*a[2];return 1.05/(a+.05)>(a+.05)/.05?"#FFFFFF":"#000000"};I.prototype.button= function(a,g,b,d,k,m,I,n,e,r){void 0===k&&(k={});var F=this.label(a,g,b,e,void 0,void 0,r,void 0,"button"),D=this.styledMode;a=k.states||{};var A=0;k=S(k);delete k.states;var H=S({color:"#333333",cursor:"pointer",fontWeight:"normal"},k.style);delete k.style;var h=f.filterUserAttributes(k);F.attr(S({padding:8,r:2},h));if(!D){h=S({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},h);m=S(h,{fill:"#e6e6e6"},f.filterUserAttributes(m||a.hover||{}));var q=m.style;delete m.style;I=S(h,{fill:"#e6ebf5",style:{color:"#000000", fontWeight:"bold"}},f.filterUserAttributes(I||a.select||{}));var N=I.style;delete I.style;n=S(h,{style:{color:"#cccccc"}},f.filterUserAttributes(n||a.disabled||{}));var w=n.style;delete n.style}z(F.element,p?"mouseover":"mouseenter",function(){3!==A&&F.setState(1)});z(F.element,p?"mouseout":"mouseleave",function(){3!==A&&F.setState(A)});F.setState=function(a){1!==a&&(F.state=A=a);F.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed", "disabled"][a||0]);D||(F.attr([h,m,I,n][a||0]),a=[H,q,N,w][a||0],u(a)&&F.css(a))};D||F.attr(h).css(c({cursor:"default"},H));return F.on("touchstart",function(a){return a.stopPropagation()}).on("click",function(a){3!==A&&d.call(F,a)})};I.prototype.crispLine=function(c,g,b){void 0===b&&(b="round");var d=c[0],k=c[1];a(d[1])&&d[1]===k[1]&&(d[1]=k[1]=Math[b](d[1])-g%2/2);a(d[2])&&d[2]===k[2]&&(d[2]=k[2]=Math[b](d[2])+g%2/2);return c};I.prototype.path=function(a){var g=this.styledMode?{}:{fill:"none"}; D(a)?g.d=a:u(a)&&c(g,a);return this.createElement("path").attr(g)};I.prototype.circle=function(a,c,g){a=u(a)?a:"undefined"===typeof a?{}:{x:a,y:c,r:g};c=this.createElement("circle");c.xSetter=c.ySetter=function(a,c,g){g.setAttribute("c"+c,a)};return c.attr(a)};I.prototype.arc=function(a,c,g,b,d,k){u(a)?(b=a,c=b.y,g=b.r,a=b.x):b={innerR:b,start:d,end:k};a=this.symbol("arc",a,c,g,g,b);a.r=g;return a};I.prototype.rect=function(a,c,g,b,d,k){d=u(a)?a.r:d;var m=this.createElement("rect");a=u(a)?a:"undefined"=== typeof a?{}:{x:a,y:c,width:Math.max(g,0),height:Math.max(b,0)};this.styledMode||("undefined"!==typeof k&&(a["stroke-width"]=k,a=m.crisp(a)),a.fill="none");d&&(a.r=d);m.rSetter=function(a,c,g){m.r=a;x(g,{rx:a,ry:a})};m.rGetter=function(){return m.r||0};return m.attr(a)};I.prototype.setSize=function(a,c,g){this.width=a;this.height=c;this.boxWrapper.animate({width:a,height:c},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:R(g,!0)?void 0:0});this.alignElements()}; I.prototype.g=function(a){var c=this.createElement("g");return a?c.attr({"class":"highcharts-"+a}):c};I.prototype.image=function(a,c,g,b,d,k){var m={preserveAspectRatio:"none"},u=function(a,c){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink","href",c):a.setAttribute("hc-svg-href",c)};A(c)&&(m.x=c);A(g)&&(m.y=g);A(b)&&(m.width=b);A(d)&&(m.height=d);var F=this.createElement("image").attr(m);c=function(c){u(F.element,a);k.call(F,c)};k?(u(F.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="), g=new w.Image,z(g,"load",c),g.src=a,g.complete&&c({})):u(F.element,a);return F};I.prototype.symbol=function(g,b,u,I,n,F){var e=this,r=/^url\((.*?)\)$/,D=r.test(g),p=!D&&(this.symbols[g]?g:"circle"),A=p&&this.symbols[p],h;if(A){"number"===typeof b&&(h=A.call(this.symbols,Math.round(b||0),Math.round(u||0),I||0,n||0,F));var f=this.path(h);e.styledMode||f.attr("fill","none");c(f,{symbolName:p||void 0,x:b,y:u,width:I,height:n});F&&c(f,F)}else if(D){var q=g.match(r)[1];var H=f=this.image(q);H.imgwidth= R(J[q]&&J[q].width,F&&F.width);H.imgheight=R(J[q]&&J[q].height,F&&F.height);var z=function(a){return a.attr({width:a.width,height:a.height})};["width","height"].forEach(function(c){H[c+"Setter"]=function(c,g){var b=this["img"+g];this[g]=c;a(b)&&(F&&"within"===F.backgroundSize&&this.width&&this.height&&(b=Math.round(b*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(g,b),this.alignByTranslate||(c=((this[g]||0)-b)/2,this.attr("width"===g?{translateX:c}: {translateY:c})))}});a(b)&&H.attr({x:b,y:u});H.isImg=!0;a(H.imgwidth)&&a(H.imgheight)?z(H):(H.attr({width:0,height:0}),m("img",{onload:function(){var a=t[e.chartIndex];0===this.width&&(k(this,{position:"absolute",top:"-999em"}),d.body.appendChild(this));J[q]={width:this.width,height:this.height};H.imgwidth=this.width;H.imgheight=this.height;H.element&&z(H);this.parentNode&&this.parentNode.removeChild(this);e.imgCount--;if(!e.imgCount&&a&&!a.hasLoaded)a.onload()},src:q}),this.imgCount++)}return f}; I.prototype.clipRect=function(a,c,g,b){var d=U()+"-",k=this.createElement("clipPath").attr({id:d}).add(this.defs);a=this.rect(a,c,g,b,0).add(k);a.id=d;a.clipPath=k;a.count=0;return a};I.prototype.text=function(c,g,b,d){var k={};if(d&&(this.allowHTML||!this.forExport))return this.html(c,g,b);k.x=Math.round(g||0);b&&(k.y=Math.round(b));a(c)&&(k.text=c);c=this.createElement("text").attr(k);if(!d||this.forExport&&!this.allowHTML)c.xSetter=function(a,c,g){for(var b=g.getElementsByTagName("tspan"),d=g.getAttribute(c), k=0,m;ka?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}};I.prototype.rotCorr=function(a,c,g){var b=a;c&&g&&(b=Math.max(b*Math.cos(c*h),4));return{x:-a/3*Math.sin(c*h), y:b}};I.prototype.pathToSegments=function(a){for(var c=[],g=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},d=0;d":">","'":"'",'"':"""},symbols:G,draw:r});C.registerRendererType("svg",l,!0);"";return l});K(l,"Core/Renderer/HTML/HTMLElement.js",[l["Core/Globals.js"],l["Core/Renderer/SVG/SVGElement.js"],l["Core/Utilities.js"]],function(f,e,l){var C=this&&this.__extends||function(){var b=function(d,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var n in d)d.hasOwnProperty(n)&& (b[n]=d[n])};return b(d,e)};return function(d,e){function n(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),v=f.isFirefox,E=f.isMS,G=f.isWebKit,B=f.win,y=l.css,t=l.defined,h=l.extend,d=l.pick,b=l.pInt;return function(e){function p(){return null!==e&&e.apply(this,arguments)||this}C(p,e);p.compose=function(b){if(-1===p.composedClasses.indexOf(b)){p.composedClasses.push(b);var d=p.prototype,e=b.prototype;e.getSpanCorrection=d.getSpanCorrection;e.htmlCss= d.htmlCss;e.htmlGetBBox=d.htmlGetBBox;e.htmlUpdateTransform=d.htmlUpdateTransform;e.setSpanRotation=d.setSpanRotation}return b};p.prototype.getSpanCorrection=function(b,d,e){this.xCorr=-b*e;this.yCorr=-d};p.prototype.htmlCss=function(b){var n="SPAN"===this.element.tagName&&b&&"width"in b,e=d(n&&b.width,void 0);if(n){delete b.width;this.textWidth=e;var p=!0}b&&"ellipsis"===b.textOverflow&&(b.whiteSpace="nowrap",b.overflow="hidden");this.styles=h(this.styles,b);y(this.element,b);p&&this.htmlUpdateTransform(); return this};p.prototype.htmlGetBBox=function(){var b=this.element;return{x:b.offsetLeft,y:b.offsetTop,width:b.offsetWidth,height:b.offsetHeight}};p.prototype.htmlUpdateTransform=function(){if(this.added){var d=this.renderer,n=this.element,e=this.translateX||0,p=this.translateY||0,h=this.x||0,f=this.y||0,m=this.textAlign||"left",k={left:0,center:.5,right:1}[m],a=this.styles;a=a&&a.whiteSpace;y(n,{marginLeft:e,marginTop:p});!d.styledMode&&this.shadows&&this.shadows.forEach(function(a){y(a,{marginLeft:e+ 1,marginTop:p+1})});this.inverted&&[].forEach.call(n.childNodes,function(a){d.invertChild(a,n)});if("SPAN"===n.tagName){var g=this.rotation,c=this.textWidth&&b(this.textWidth),D=[g,m,n.innerHTML,this.textWidth,this.textAlign].join(),A=void 0;A=!1;if(c!==this.oldTextWidth){if(this.textPxLength)var u=this.textPxLength;else y(n,{width:"",whiteSpace:a||"nowrap"}),u=n.offsetWidth;(c>this.oldTextWidth||u>c)&&(/[ \-]/.test(n.textContent||n.innerText)||"ellipsis"===n.style.textOverflow)&&(y(n,{width:u>c|| g?c+"px":"auto",display:"block",whiteSpace:a||"normal"}),this.oldTextWidth=c,A=!0)}this.hasBoxWidthChanged=A;D!==this.cTT&&(A=d.fontMetrics(n.style.fontSize,n).b,!t(g)||g===(this.oldRotation||0)&&m===this.oldAlign||this.setSpanRotation(g,k,A),this.getSpanCorrection(!t(g)&&this.textPxLength||n.offsetWidth,A,k,g,m));y(n,{left:h+(this.xCorr||0)+"px",top:f+(this.yCorr||0)+"px"});this.cTT=D;this.oldRotation=g;this.oldAlign=m}}else this.alignOnAdd=!0};p.prototype.setSpanRotation=function(b,d,e){var n={}, p=E&&!/Edge/.test(B.navigator.userAgent)?"-ms-transform":G?"-webkit-transform":v?"MozTransform":B.opera?"-o-transform":void 0;p&&(n[p]=n.transform="rotate("+b+"deg)",n[p+(v?"Origin":"-origin")]=n.transformOrigin=100*d+"% "+e+"px",y(this.element,n))};p.composedClasses=[];return p}(e)});K(l,"Core/Renderer/HTML/HTMLRenderer.js",[l["Core/Renderer/HTML/AST.js"],l["Core/Renderer/SVG/SVGElement.js"],l["Core/Renderer/SVG/SVGRenderer.js"],l["Core/Utilities.js"]],function(f,e,l,C){var v=this&&this.__extends|| function(){var e=function(h,d){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return e(h,d)};return function(h,d){function b(){this.constructor=h}e(h,d);h.prototype=null===d?Object.create(d):(b.prototype=d.prototype,new b)}}(),E=C.attr,G=C.createElement,B=C.extend,y=C.pick;return function(t){function h(){return null!==t&&t.apply(this,arguments)||this}v(h,t);h.compose=function(d){-1===h.composedClasses.indexOf(d)&& (h.composedClasses.push(d),d.prototype.html=h.prototype.html);return d};h.prototype.html=function(d,b,p){var h=this.createElement("span"),r=h.element,n=h.renderer,t=n.isSVG,w=function(b,d){["opacity","visibility"].forEach(function(m){b[m+"Setter"]=function(k,a,g){var c=b.div?b.div.style:d;e.prototype[m+"Setter"].call(this,k,a,g);c&&(c[a]=k)}});b.addedSetters=!0};h.textSetter=function(b){b!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,f.setElementHTML(this.element,y(b,"")),this.textStr= b,h.doTransform=!0)};t&&w(h,h.element.style);h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(b,d){"align"===d?h.alignValue=h.textAlign=b:h[d]=b;h.doTransform=!0};h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};h.attr({text:d,x:Math.round(b),y:Math.round(p)}).css({position:"absolute"});n.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});r.style.whiteSpace="nowrap";h.css=h.htmlCss;t&&(h.add=function(b){var d= n.box.parentNode,m=[];if(this.parentGroup=b){var k=b.div;if(!k){for(;b;)m.push(b),b=b.parentGroup;m.reverse().forEach(function(a){function g(c,g){a[g]=c;"translateX"===g?e.left=c+"px":e.top=c+"px";a.doTransform=!0}var c=E(a.element,"class"),b=a.styles||{};k=a.div=a.div||G("div",c?{className:c}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:b.cursor,pointerEvents:b.pointerEvents,visibility:a.visibility},k||d);var e=k.style; B(a,{classSetter:function(a){return function(c){this.element.setAttribute("class",c);a.className=c}}(k),on:function(){m[0].div&&h.on.apply({element:m[0].div,onEvents:a.onEvents},arguments);return a},translateXSetter:g,translateYSetter:g});a.addedSetters||w(a)})}}else k=d;k.appendChild(r);h.added=!0;h.alignOnAdd&&h.htmlUpdateTransform();return h});return h};h.composedClasses=[];return h}(l)});K(l,"Core/Axis/AxisDefaults.js",[],function(){var f;(function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0, panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0, step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear", uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"};e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var e=this.axis.chart.numberFormatter; return e(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}})(f||(f={}));return f});K(l,"Core/Foundation.js",[l["Core/Utilities.js"]], function(f){var e=f.addEvent,l=f.isFunction,C=f.objectEach,v=f.removeEvent,E;(function(f){f.registerEventOptions=function(f,y){f.eventOptions=f.eventOptions||{};C(y.events,function(t,h){f.eventOptions[h]!==t&&(f.eventOptions[h]&&(v(f,h,f.eventOptions[h]),delete f.eventOptions[h]),l(t)&&(f.eventOptions[h]=t,e(f,h,t)))})}})(E||(E={}));return E});K(l,"Core/Axis/Tick.js",[l["Core/FormatUtilities.js"],l["Core/Globals.js"],l["Core/Utilities.js"]],function(f,e,l){var C=e.deg2rad,v=l.clamp,E=l.correctFloat, G=l.defined,B=l.destroyObjectProperties,y=l.extend,t=l.fireEvent,h=l.isNumber,d=l.merge,b=l.objectEach,p=l.pick;e=function(){function e(b,d,e,p,h){this.isNewLabel=this.isNew=!0;this.axis=b;this.pos=d;this.type=e||"";this.parameters=h||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;t(this,"init");e||p||this.addLabel()}e.prototype.addLabel=function(){var b=this,d=b.axis,e=d.options,q=d.chart,z=d.categories,x=d.logarithmic,m=d.names,k=b.pos,a=p(b.options&& b.options.labels,e.labels),g=d.tickPositions,c=k===g[0],D=k===g[g.length-1],A=(!a.step||1===a.step)&&1===d.tickInterval;g=g.info;var u=b.label,l;z=this.parameters.category||(z?p(z[k],m[k],k):k);x&&h(z)&&(z=E(x.lin2log(z)));if(d.dateTime)if(g){var S=q.time.resolveDTLFormat(e.dateTimeLabelFormats[!e.grid&&g.higherRanks[k]||g.unitName]);var R=S.main}else h(z)&&(R=d.dateTime.getXDateFormat(z,e.dateTimeLabelFormats||{}));b.isFirst=c;b.isLast=D;var M={axis:d,chart:q,dateTimeLabelFormat:R,isFirst:c,isLast:D, pos:k,tick:b,tickPositionInfo:g,value:z};t(this,"labelFormat",M);var B=function(c){return a.formatter?a.formatter.call(c,c):a.format?(c.text=d.defaultLabelFormatter.call(c),f.format(a.format,c,q)):d.defaultLabelFormatter.call(c,c)};e=B.call(M,M);var aa=S&&S.list;b.shortenLabel=aa?function(){for(l=0;la&&h-g*cr&&(l=Math.round((f-h)/Math.cos(a*C)));else if(f=h+(1-g)*c,h-g*cr&&(u=r-b.x+u*g,q=-1),u=Math.min(D,u),uu||d.autoRotation&&(k.styles||{}).width)l=u;l&&(this.shortenLabel?this.shortenLabel():(A.width=Math.floor(l)+"px",(e.style||{}).textOverflow||(A.textOverflow= "ellipsis"),k.css(A)))};e.prototype.moveLabel=function(d,e){var h=this,p=h.label,n=h.axis,f=n.reversed,m=!1;p&&p.textStr===d?(h.movedLabel=p,m=!0,delete h.label):b(n.ticks,function(a){m||a.isNew||a===h||!a.label||a.label.textStr!==d||(h.movedLabel=a.label,m=!0,a.labelPos=h.movedLabel.xy,delete a.label)});if(!m&&(h.labelPos||p)){var k=h.labelPos||p.xy;p=n.horiz?f?0:n.width+n.left:k.x;n=n.horiz?k.y:f?n.width+n.left:0;h.movedLabel=h.createLabel({x:p,y:n},d,e);h.movedLabel&&h.movedLabel.attr({opacity:0})}}; e.prototype.render=function(b,d,e){var h=this.axis,n=h.horiz,f=this.pos,m=p(this.tickmarkOffset,h.tickmarkOffset);f=this.getPosition(n,f,m,d);m=f.x;var k=f.y;h=n&&m===h.pos+h.len||!n&&k===h.pos?-1:1;n=p(e,this.label&&this.label.newOpacity,1);e=p(e,1);this.isActive=!0;this.renderGridLine(d,e,h);this.renderMark(f,e,h);this.renderLabel(f,d,n,b);this.isNew=!1;t(this,"afterRender")};e.prototype.renderGridLine=function(b,d,e){var h=this.axis,n=h.options,f={},m=this.pos,k=this.type,a=p(this.tickmarkOffset, h.tickmarkOffset),g=h.chart.renderer,c=this.gridLine,D=n.gridLineWidth,A=n.gridLineColor,u=n.gridLineDashStyle;"minor"===this.type&&(D=n.minorGridLineWidth,A=n.minorGridLineColor,u=n.minorGridLineDashStyle);c||(h.chart.styledMode||(f.stroke=A,f["stroke-width"]=D||0,f.dashstyle=u),k||(f.zIndex=1),b&&(d=0),this.gridLine=c=g.path().attr(f).addClass("highcharts-"+(k?k+"-":"")+"grid-line").add(h.gridGroup));if(c&&(e=h.getPlotLinePath({value:m+a,lineWidth:c.strokeWidth()*e,force:"pass",old:b})))c[b||this.isNew? "attr":"animate"]({d:e,opacity:d})};e.prototype.renderMark=function(b,d,e){var h=this.axis,n=h.options,f=h.chart.renderer,m=this.type,k=h.tickSize(m?m+"Tick":"tick"),a=b.x;b=b.y;var g=p(n["minor"!==m?"tickWidth":"minorTickWidth"],!m&&h.isXAxis?1:0);n=n["minor"!==m?"tickColor":"minorTickColor"];var c=this.mark,D=!c;k&&(h.opposite&&(k[0]=-k[0]),c||(this.mark=c=f.path().addClass("highcharts-"+(m?m+"-":"")+"tick").add(h.axisGroup),h.chart.styledMode||c.attr({stroke:n,"stroke-width":g})),c[D?"attr":"animate"]({d:this.getMarkPath(a, b,k[0],c.strokeWidth()*e,h.horiz,f),opacity:d}))};e.prototype.renderLabel=function(b,d,e,f){var n=this.axis,r=n.horiz,m=n.options,k=this.label,a=m.labels,g=a.step;n=p(this.tickmarkOffset,n.tickmarkOffset);var c=b.x;b=b.y;var D=!0;k&&h(c)&&(k.xy=b=this.getLabelPosition(c,b,k,r,a,n,f,g),this.isFirst&&!this.isLast&&!m.showFirstLabel||this.isLast&&!this.isFirst&&!m.showLastLabel?D=!1:!r||a.step||a.rotation||d||0===e||this.handleOverflow(b),g&&f%g&&(D=!1),D&&h(b.y)?(b.opacity=e,k[this.isNewLabel?"attr": "animate"](b).show(!0),this.isNewLabel=!1):(k.hide(),this.isNewLabel=!0))};e.prototype.replaceMovedLabel=function(){var b=this.label,d=this.axis,e=d.reversed;if(b&&!this.isNew){var h=d.horiz?e?d.left:d.width+d.left:b.xy.x;e=d.horiz?b.xy.y:e?d.width+d.top:d.top;b.animate({x:h,y:e,opacity:0},void 0,b.destroy);delete this.label}d.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return e}();"";return e});K(l,"Core/Axis/Axis.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/Axis/AxisDefaults.js"], l["Core/Color/Color.js"],l["Core/DefaultOptions.js"],l["Core/Foundation.js"],l["Core/Globals.js"],l["Core/Axis/Tick.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E,G,B){var y=f.animObject,t=C.defaultOptions,h=v.registerEventOptions,d=E.deg2rad,b=B.arrayMax,p=B.arrayMin,q=B.clamp,r=B.correctFloat,n=B.defined,J=B.destroyObjectProperties,w=B.erase,z=B.error,x=B.extend,m=B.fireEvent,k=B.isArray,a=B.isNumber,g=B.isString,c=B.merge,D=B.normalizeTickInterval,A=B.objectEach,u=B.pick,L=B.relativeLength, S=B.removeEvent,R=B.splat,M=B.syncTimeout,U=function(a,c){return D(c,void 0,void 0,u(a.options.allowDecimals,.5>c||void 0!==a.tickAmount),!!a.tickAmount)};f=function(){function f(a,c){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange= this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(a,c)}f.prototype.init=function(c,b){var g=b.isX;this.chart= c;this.horiz=c.inverted&&!this.isZAxis?!g:g;this.isXAxis=g;this.coll=this.coll||(g?"xAxis":"yAxis");m(this,"init",{userOptions:b});this.opposite=u(b.opposite,this.opposite);this.side=u(b.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(b);var d=this.options,k=d.labels,e=d.type;this.userOptions=b;this.minPixelPadding=0;this.reversed=u(d.reversed,this.reversed);this.visible=d.visible;this.zoomEnabled=d.zoomEnabled;this.hasNames="category"===e||!0===d.categories;this.categories= d.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups={};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=n(d.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.min=this.max=null;b=u(d.crosshair,R(c.options.tooltip.crosshairs)[g?0:1]);this.crosshair=!0===b?{}: b;-1===c.axes.indexOf(this)&&(g?c.axes.splice(c.xAxis.length,0,this):c.axes.push(this),c[this.coll].push(this));this.series=this.series||[];c.inverted&&!this.isZAxis&&g&&"undefined"===typeof this.reversed&&(this.reversed=!0);this.labelRotation=a(k.rotation)?k.rotation:void 0;h(this,d);m(this,"afterInit")};f.prototype.setOptions=function(a){this.options=c(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side], c(t[this.coll],a));m(this,"afterSetOptions",{userOptions:a})};f.prototype.defaultLabelFormatter=function(c){var b=this.axis;c=this.chart.numberFormatter;var g=a(this.value)?this.value:NaN,d=b.chart.time,k=this.dateTimeLabelFormat,e=t.lang,m=e.numericSymbols;e=e.numericSymbolMagnitude||1E3;var u=b.logarithmic?Math.abs(g):b.tickInterval,h=m&&m.length;if(b.categories)var f="".concat(this.value);else if(k)f=d.dateFormat(k,g);else if(h&&1E3<=u)for(;h--&&"undefined"===typeof f;)b=Math.pow(e,h+1),u>=b&& 0===10*g%b&&null!==m[h]&&0!==g&&(f=c(g/b,-1)+m[h]);"undefined"===typeof f&&(f=1E4<=Math.abs(g)?c(g,-1):c(g,-1,void 0,""));return f};f.prototype.getSeriesExtremes=function(){var c=this,b=c.chart,g;m(this,"getSeriesExtremes",null,function(){c.hasVisibleSeries=!1;c.dataMin=c.dataMax=c.threshold=null;c.softThreshold=!c.isXAxis;c.stacking&&c.stacking.buildStacks();c.series.forEach(function(d){if(d.visible||!b.options.chart.ignoreHiddenSeries){var k=d.options,e=k.threshold;c.hasVisibleSeries=!0;c.positiveValuesOnly&& 0>=e&&(e=null);if(c.isXAxis){if(k=d.xData,k.length){k=c.logarithmic?k.filter(c.validatePositiveValue):k;g=d.getXExtremes(k);var m=g.min;var h=g.max;a(m)||m instanceof Date||(k=k.filter(a),g=d.getXExtremes(k),m=g.min,h=g.max);k.length&&(c.dataMin=Math.min(u(c.dataMin,m),m),c.dataMax=Math.max(u(c.dataMax,h),h))}}else if(d=d.applyExtremes(),a(d.dataMin)&&(m=d.dataMin,c.dataMin=Math.min(u(c.dataMin,m),m)),a(d.dataMax)&&(h=d.dataMax,c.dataMax=Math.max(u(c.dataMax,h),h)),n(e)&&(c.threshold=e),!k.softThreshold|| c.positiveValuesOnly)c.softThreshold=!1}})});m(this,"afterGetSeriesExtremes")};f.prototype.translate=function(c,b,g,d,k,e){var m=this.linkedParent||this,u=d&&m.old?m.old.min:m.min;if(!a(u))return NaN;var h=m.minPixelPadding;k=(m.isOrdinal||m.brokenAxis&&m.brokenAxis.hasBreaks||m.logarithmic&&k)&&m.lin2val;var f=1,p=0;d=d&&m.old?m.old.transA:m.transA;d||(d=m.transA);g&&(f*=-1,p=m.len);m.reversed&&(f*=-1,p-=f*(m.sector||m.len));b?(e=(c*f+p-h)/d+u,k&&(e=m.lin2val(e))):(k&&(c=m.val2lin(c)),c=f*(c-u)* d,e=(m.isRadial?c:r(c))+p+f*h+(a(e)?d*e:0));return e};f.prototype.toPixels=function(a,c){return this.translate(a,!1,!this.horiz,void 0,!0)+(c?0:this.pos)};f.prototype.toValue=function(a,c){return this.translate(a-(c?0:this.pos),!0,!this.horiz,void 0,!0)};f.prototype.getPlotLinePath=function(c){function b(a,c,g){if("pass"!==r&&ag)r?a=q(a,c,g):L=!0;return a}var g=this,d=g.chart,k=g.left,e=g.top,h=c.old,f=c.value,p=c.lineWidth,n=h&&d.oldChartHeight||d.chartHeight,I=h&&d.oldChartWidth||d.chartWidth, D=g.transB,A=c.translatedValue,r=c.force,l,t,x,z,L;c={value:f,lineWidth:p,old:h,force:r,acrossPanes:c.acrossPanes,translatedValue:A};m(this,"getPlotLinePath",c,function(c){A=u(A,g.translate(f,void 0,void 0,h));A=q(A,-1E5,1E5);l=x=Math.round(A+D);t=z=Math.round(n-A-D);a(A)?g.horiz?(t=e,z=n-g.bottom,l=x=b(l,k,k+g.width)):(l=k,x=I-g.right,t=z=b(t,e,e+g.height)):(L=!0,r=!1);c.path=L&&!r?null:d.renderer.crispLine([["M",l,t],["L",x,z]],p||1)});return c.path};f.prototype.getLinearTickPositions=function(a, c,g){var b=r(Math.floor(c/a)*a);g=r(Math.ceil(g/a)*a);var d=[],k;r(b+a)===b&&(k=20);if(this.single)return[c];for(c=b;c<=g;){d.push(c);c=r(c+a,k);if(c===m)break;var m=c}return d};f.prototype.getMinorTickInterval=function(){var a=this.options;return!0===a.minorTicks?u(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};f.prototype.getMinorTickPositions=function(){var a=this.options,c=this.tickPositions,g=this.minorTickInterval,b=this.pointRangePadding||0,d=this.min-b;b=this.max+ b;var k=b-d,m=[];if(k&&k/g=this.minRange;var D=this.minRange;var r=(D-d+g)/2;r=[g-r,u(a.min,g-r)];A&&(r[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin): this.dataMin);g=b(r);d=[g+D,u(a.max,g+D)];A&&(d[2]=c?c.log2lin(this.dataMax):this.dataMax);d=p(d);d-g=q)x=q,D=0;else if(this.dataMax<=q){var L=q;A=0}this.min=u(l,x,this.dataMin);this.max=u(t,L,this.dataMax)}b&&(this.positiveValuesOnly&&!c&&0>=Math.min(this.min,u(this.dataMin,this.min))&&z(10,1,g),this.min=r(b.log2lin(this.min),16),this.max=r(b.log2lin(this.max),16));this.range&&n(this.max)&&(this.userMin=this.min=l=Math.max(this.dataMin, this.minFromRange()),this.userMax=t=this.max,this.range=null);m(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(f||this.axisPointRange||this.stacking&&this.stacking.usePercentage||e)&&n(this.min)&&n(this.max)&&(g=this.max-this.min)&&(!n(l)&&D&&(this.min-=g*D),!n(t)&&A&&(this.max+=g*A));a(this.userMin)||(a(d.softMin)&&d.softMinthis.max&& (this.max=t=d.softMax),a(d.ceiling)&&(this.max=Math.min(this.max,d.ceiling)));p&&n(this.dataMin)&&(q=q||0,!n(l)&&this.min=q?this.min=this.options.minRange?Math.min(q,this.max-this.minRange):q:!n(t)&&this.max>q&&this.dataMax<=q&&(this.max=this.options.minRange?Math.max(q,this.min+this.minRange):q));a(this.min)&&a(this.max)&&!this.chart.polar&&this.min>this.max&&(n(this.options.min)?this.max=this.min:n(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"=== typeof this.min||"undefined"===typeof this.max?1:e&&this.linkedParent&&!I&&h===this.linkedParent.options.tickPixelInterval?I=this.linkedParent.tickInterval:u(I,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,f?1:(this.max-this.min)*h/Math.max(this.len,h));if(k&&!c){var w=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(a){a.forceCrop=a.forceCropping&&a.forceCropping();a.processData(w)});m(this,"postProcessData",{hasExtemesChanged:w})}this.setAxisTranslation(); m(this,"initialAxisTranslation");this.pointRange&&!I&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));c=u(d.minTickInterval,this.dateTime&&!this.series.some(function(a){return a.noSharedTooltip})?this.closestPointRange:0);!I&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)g=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)g=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var e=a=this.tickInterval;e<=2*a;)if(g=this.getLinearTickPositions(this.tickInterval,this.min,this.max), this.tickAmount&&g.length>this.tickAmount)this.tickInterval=U(this,e*=1.1);else break;else g=[this.min,this.max],z(19,!1,this.chart);g.length>this.len&&(g=[g[0],g.pop()],g[0]===g[1]&&(g.length=1));this.tickPositions=g;d&&(d=d.apply(this,[this.min,this.max]))&&(this.tickPositions=g=d)}this.paddedTicks=g.slice(0);this.trimTicks(g,k,b);this.isLinked||(this.single&&2>g.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5, this.max+=.5),c||d||this.adjustTickAmount());m(this,"afterSetTickPositions")};f.prototype.trimTicks=function(a,c,g){var b=a[0],d=a[a.length-1],k=!this.isOrdinal&&this.minPointOffset||0;m(this,"trimTicks");if(!this.isLinked){if(c&&-Infinity!==b)this.min=b;else for(;this.min-k>a[0];)a.shift();if(g)this.max=d;else for(;this.max+kg&&(this.finalTickAmt=g,g=5);this.tickAmount=g};f.prototype.adjustTickAmount=function(){var c=this,g=c.finalTickAmt,b=c.max,d=c.min,k=c.options,m=c.tickPositions,e=c.tickAmount,h=c.thresholdAlignment,f=m&&m.length,p=u(c.threshold,c.softThreshold?0:null);var A=c.tickInterval;if(a(h)){var D=.5>h?Math.ceil(h* (e-1)):Math.floor(h*(e-1));k.reversed&&(D=e-1-D)}if(c.hasData()&&a(d)&&a(b)){h=function(){c.transA*=(f-1)/(e-1);c.min=k.startOnTick?m[0]:Math.min(d,m[0]);c.max=k.endOnTick?m[m.length-1]:Math.max(b,m[m.length-1])};if(a(D)&&a(c.threshold)){for(;m[D]!==p||m.length!==e||m[0]>d||m[m.length-1]c.threshold?m.unshift(r(m[0]-A)):m.push(r(m[m.length-1]+A));if(A>8*c.tickInterval)break;A*=2}h()}else if(f=g&&0h&&(c=h)),n(d)&&(kh&&(k=h))),g.displayBtn="undefined"!==typeof c||"undefined"!==typeof k,g.setExtremes(c,k,!1,void 0,{trigger:"zoom"});a.zoomed= !0});return a.zoomed};f.prototype.setAxisSize=function(){var a=this.chart,c=this.options,g=c.offsets||[0,0,0,0],b=this.horiz,d=this.width=Math.round(L(u(c.width,a.plotWidth-g[3]+g[1]),a.plotWidth)),k=this.height=Math.round(L(u(c.height,a.plotHeight-g[0]+g[2]),a.plotHeight)),m=this.top=Math.round(L(u(c.top,a.plotTop+g[0]),a.plotHeight,a.plotTop));c=this.left=Math.round(L(u(c.left,a.plotLeft+g[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-k-m;this.right=a.chartWidth-d-c;this.len=Math.max(b? d:k,0);this.pos=b?c:m};f.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?r(a.lin2log(this.min)):this.min,max:a?r(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};f.prototype.getThreshold=function(a){var c=this.logarithmic,g=c?c.lin2log(this.min):this.min;c=c?c.lin2log(this.max):this.max;null===a||-Infinity===a?a=g:Infinity===a?a=c:g>a?a=g:cc?a.align="right":195c&&(a.align="left")});return a.align};f.prototype.tickSize=function(a){var c=this.options,g=u(c["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&!this.categories?1:0),b=c["tick"===a?"tickLength":"minorTickLength"];if(g&&b){"inside"===c[a+"Position"]&&(b=-b);var d=[b,g]}a={tickSize:d};m(this,"afterTickSize",a);return a.tickSize};f.prototype.labelMetrics= function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};f.prototype.unsquish=function(){var c=this.options.labels,g=this.horiz,b=this.tickInterval,k=this.len/(((this.categories?1:0)+this.max-this.min)/b),m=c.rotation,e=this.labelMetrics(),h=Math.max(this.max-this.min,0),f=function(a){var c=a/(k||1);c=1h&&Infinity!==a&&Infinity!==k&&h&&(c=Math.ceil(h/b));return r(c* b)},p=b,n,A,D=Number.MAX_VALUE;if(g){if(!c.staggerLines&&!c.step)if(a(m))var q=[m];else k=a){A=f(Math.abs(e.h/Math.sin(d*a)));var c=A+Math.abs(a/360);cd.step)return d.rotation?0:(this.staggerLines||1)*this.len/k;if(!b){c=d.style.width;if(void 0!==c)return parseInt(String(c),10);if(m)return m-g.spacing[3]}return.33*g.chartWidth};f.prototype.renderUnsquish=function(){var a=this.chart,c=a.renderer,b=this.tickPositions,d=this.ticks,k=this.options.labels,m=k.style,e=this.horiz,h=this.getSlotWidth(),u=Math.max(1,Math.round(h-2*k.padding)),f={},p=this.labelMetrics(),n=m.textOverflow,A=0;g(k.rotation)|| (f.rotation=k.rotation||0);b.forEach(function(a){a=d[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>A&&(A=a.label.textPxLength)});this.maxLabelLength=A;if(this.autoRotation)A>u&&A>p.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(h){var D=u;if(!n){var r="clip";for(u=b.length;!e&&u--;){var q=b[u];if(q=d[q].label)q.styles&&"ellipsis"===q.styles.textOverflow?q.css({textOverflow:"clip"}):q.textPxLength>h&&q.css({width:h+"px"}),q.getBBox().height>this.len/b.length- (p.h-p.f)&&(q.specificTextOverflow="ellipsis")}}}f.rotation&&(D=A>.5*a.chartHeight?.33*a.chartHeight:A,n||(r="ellipsis"));if(this.labelAlign=k.align||this.autoLabelAlign(this.labelRotation))f.align=this.labelAlign;b.forEach(function(a){var c=(a=d[a])&&a.label,g=m.width,b={};c&&(c.attr(f),a.shortenLabel?a.shortenLabel():D&&!g&&"nowrap"!==m.whiteSpace&&(D=this.min&&a<=this.max||this.grid&&this.grid.isColumn)b[a]||(b[a]=new G(this,a)),g&&b[a].isNew&&b[a].render(c,!0,-1),b[a].render(c)};f.prototype.render=function(){var c=this,g=c.chart,b=c.logarithmic,d=c.options,k=c.isLinked,e=c.tickPositions,h=c.axisTitle,f=c.ticks,u=c.minorTicks,p=c.alternateBands,n=d.stackLabels,D=d.alternateGridColor,r=c.tickmarkOffset, q=c.axisLine,l=c.showAxis,t=y(g.renderer.globalAnimation),x,z;c.labelEdge.length=0;c.overlap=!1;[f,u,p].forEach(function(a){A(a,function(a){a.isActive=!1})});if(c.hasData()||k){var L=c.chart.hasRendered&&c.old&&a(c.old.min);c.minorTickInterval&&!c.categories&&c.getMinorTickPositions().forEach(function(a){c.renderMinorTick(a,L)});e.length&&(e.forEach(function(a,g){c.renderTick(a,g,L)}),r&&(0===c.min||c.single)&&(f[-1]||(f[-1]=new G(c,-1,null,!0)),f[-1].render(-1)));D&&e.forEach(function(a,d){z="undefined"!== typeof e[d+1]?e[d+1]+r:c.max-r;0===d%2&&ab&&(!h||q<=e)&&"undefined"!==typeof q&&t.push(q);q>e&&(m=!0);q=a}}}else b=this.lin2log(b),e=this.lin2log(e),d=h?f.getMinorTickInterval():q.tickInterval,d=C("auto"===d?null:d,this.minorAutoInterval,q.tickPixelInterval/(h?5:1)*(e-b)/((h?p/f.tickPositions.length:p)||1)),d=l(d),t=f.getLinearTickPositions(d,b,e).map(this.log2lin),h||(this.minorAutoInterval=d/5);h||(f.tickInterval=d);return t};e.prototype.lin2log=function(d){return Math.pow(10,d)};e.prototype.log2lin= function(d){return Math.log(d)/Math.LN10};return e}();f.Additions=t})(v||(v={}));return v});K(l,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[l["Core/Utilities.js"]],function(f){var e=f.erase,l=f.extend,C=f.isNumber,v;(function(f){var v=[],B;f.compose=function(e,h){B||(B=e);-1===v.indexOf(h)&&(v.push(h),l(h.prototype,y.prototype));return h};var y=function(){function f(){}f.prototype.getPlotBandPath=function(e,d,b){void 0===b&&(b=this.options);var h=this.getPlotLinePath({value:d,force:!0,acrossPanes:b.acrossPanes}), f=[],r=this.horiz;d=!C(this.min)||!C(this.max)||ethis.max&&d>this.max;e=this.getPlotLinePath({value:e,force:!0,acrossPanes:b.acrossPanes});b=1;if(e&&h){if(d){var n=e.toString()===h.toString();b=0}for(d=0;dr-e?r:r-e);else if(F)k[a]=Math.max(h,f+e+g>c?f:f+e);else return!1},w=function(a,c,g,b,e){var m;ec-d?m=!1:k[a]=ec-b/2?c-b-2:e-g/2;return m},F=function(a){var c=r;r=q;q=c;l=a},T=function(){!1!==x.apply(0,r)?!1!==w.apply(0,q)||l||(F(!0),T()):l?k.x=k.y=0:(F(!0),T())};(b.inverted||1c})&&(a= a.map(function(a){var b=c(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return p(a,{target:b.y,x:b.x})}));b.cleanSplit();B(a,E);var C=Q,P=Q;a.forEach(function(a){var c=a.x,g=a.boxWidth;a=a.isHeader;a||(b.outside&&Q+cP&&(P=Q+c))});a.forEach(function(a){var c=a.x,g=a.anchorX,d=a.pos,k=a.point.isHeader;d={visibility:"undefined"===typeof d?"hidden":"inherit",x:c,y:d+Z,anchorX:g,anchorY:a.anchorY};if(b.outside&&cc[0]?Math.max(Math.abs(c[0]),k.width-c[0]):Math.max(Math.abs(c[0]),k.width);d.height=0>c[1]?Math.max(Math.abs(c[1]),k.height-Math.abs(c[1])):Math.max(Math.abs(c[1]),k.height);this.tracker?this.tracker.attr(d):(this.tracker=b.renderer.rect(d).addClass("highcharts-tracker").add(b),a.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};k.prototype.styledModeFormat=function(a){return a.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g, 'class="highcharts-color-{$1.colorIndex}"')};k.prototype.tooltipFooterHeaderFormatter=function(a,b){var c=a.series,g=c.tooltipOptions,d=c.xAxis,k=d&&d.dateTime;d={isFooter:b,labelConfig:a};var e=g.xDateFormat,m=g[b?"footerFormat":"headerFormat"];q(this,"headerFormatter",d,function(b){k&&!e&&n(a.key)&&(e=k.getXDateFormat(a.key,g.dateTimeLabelFormats));k&&e&&(a.point&&a.point.tooltipDateKeys||["key"]).forEach(function(a){m=m.replace("{point."+a+"}","{point."+a+":"+e+"}")});c.chart.styledMode&&(m=this.styledModeFormat(m)); b.text=E(m,{point:a,series:c},this.chart)});return d.text};k.prototype.update=function(a){this.destroy();w(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,w(!0,this.options,a))};k.prototype.updatePosition=function(a){var b=this.chart,c=this.options,d=b.pointer,k=this.getLabel();d=d.getChartPosition();var e=(c.positioner||this.getPosition).call(this,k.width,k.height,a),m=a.plotX+b.plotLeft;a=a.plotY+b.plotTop;if(this.outside){c=c.borderWidth+2*this.distance;this.renderer.setSize(k.width+ c,k.height+c,!1);if(1!==d.scaleX||1!==d.scaleY)h(this.container,{transform:"scale(".concat(d.scaleX,", ").concat(d.scaleY,")")}),m*=d.scaleX,a*=d.scaleY;m+=d.left-e.x;a+=d.top-e.y}this.move(Math.round(e.x),Math.round(e.y||0),m,a)};return k}();"";return f});K(l,"Core/Series/Point.js",[l["Core/Renderer/HTML/AST.js"],l["Core/Animation/AnimationUtilities.js"],l["Core/DefaultOptions.js"],l["Core/FormatUtilities.js"],l["Core/Utilities.js"]],function(f,e,l,C,v){var E=e.animObject,G=l.defaultOptions,B=C.format, y=v.addEvent,t=v.defined,h=v.erase,d=v.extend,b=v.fireEvent,p=v.getNestedProperty,q=v.isArray,r=v.isFunction,n=v.isNumber,J=v.isObject,w=v.merge,z=v.objectEach,x=v.pick,m=v.syncTimeout,k=v.removeEvent,a=v.uniqueKey;e=function(){function g(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.shapeArgs=this.series=void 0;this.visible=!0;this.x=void 0}g.prototype.animateBeforeDestroy= function(){var a=this,b={x:a.startXPos,opacity:0},g=a.getGraphicalProps();g.singular.forEach(function(c){a[c]=a[c].animate("dataLabel"===c?{x:a[c].startXPos,y:a[c].startYPos,opacity:0}:b)});g.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.animate(d({x:a.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};g.prototype.applyOptions=function(a,b){var c=this.series,k=c.options.pointValKey||c.pointValKey;a=g.prototype.optionsToObject.call(this,a);d(this,a);this.options=this.options? d(this.options,a):a;a.group&&delete this.group;a.dataLabels&&delete this.dataLabels;k&&(this.y=g.prototype.getNestedProperty.call(this,k));this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!n(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof b&&c.xAxis&&c.xAxis.hasNames&&(this.x=c.xAxis.nameToX(this));"undefined"===typeof this.x&&c?this.x="undefined"===typeof b?c.autoIncrement():b:n(a.x)&&c.options.relativeXValue&&(this.x= c.autoIncrement(a.x));return this};g.prototype.destroy=function(){function a(){if(b.graphic||b.dataLabel||b.dataLabels)k(b),b.destroyElements();for(p in b)b[p]=null}var b=this,g=b.series,d=g.chart;g=g.options.dataSorting;var e=d.hoverPoints,f=E(b.series.chart.renderer.globalAnimation),p;b.legendItem&&d.legend.destroyItem(b);e&&(b.setState(),h(e,b),e.length||(d.hoverPoints=null));if(b===d.hoverPoint)b.onMouseOut();g&&g.enabled?(this.animateBeforeDestroy(),m(a,f.duration)):a();d.pointCount--};g.prototype.destroyElements= function(a){var c=this;a=c.getGraphicalProps(a);a.singular.forEach(function(a){c[a]=c[a].destroy()});a.plural.forEach(function(a){c[a].forEach(function(a){a.element&&a.destroy()});delete c[a]})};g.prototype.firePointEvent=function(a,g,d){var c=this,k=this.series.options;(k.point.events[a]||c.options&&c.options.events&&c.options.events[a])&&c.importEvents();"click"===a&&k.allowPointSelect&&(d=function(a){c.select&&c.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});b(c,a,g,d)};g.prototype.getClassName= function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};g.prototype.getGraphicalProps=function(a){var c=this,b=[],g={singular:[],plural:[]},d;a=a||{graphic:1,dataLabel:1}; a.graphic&&b.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&b.push("dataLabel","dataLabelUpper","connector");for(d=b.length;d--;){var k=b[d];c[k]&&g.singular.push(k)}["dataLabel","connector"].forEach(function(b){var d=b+"s";a[b]&&c[d]&&g.plural.push(d)});return g};g.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}; g.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?p(a,this.options):this[a]};g.prototype.getZone=function(){var a=this.series,b=a.zones;a=a.zoneAxis||"y";var g,d=0;for(g=b[d];this[a]>=g.value;)g=b[++d];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=g&&g.color&&!this.options.color?g.color:this.nonZonedColor;return g};g.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};g.prototype.init= function(c,g,d){this.series=c;this.applyOptions(g,d);this.id=t(this.id)?this.id:a();this.resolveColor();c.chart.pointCount++;b(this,"afterInit");return this};g.prototype.optionsToObject=function(a){var c=this.series,b=c.options.keys,d=b||c.pointArrayMap||["y"],k=d.length,e={},m=0,f=0;if(n(a)||null===a)e[d[0]]=a;else if(q(a))for(!b&&a.length>k&&(c=typeof a[0],"string"===c?e.name=a[0]:"number"===c&&(e.x=a[0]),m++);fe+f&&(t=e+f),zm+h&&(z=m+h),this.hasDragged=Math.sqrt(Math.pow(p-t,2)+Math.pow(n-z,2)),10c.options.findNearestPointBy.indexOf("y");c=c.searchPoint(a,b);if((b=r(c,!0)&&c.series)&&!(b=!r(k,!0))){b=k.distX-c.distX;var g=k.dist-c.dist,e=(c.series.group&&c.series.group.zIndex)-(k.series.group&&k.series.group.zIndex);b=0<(0!==b&&d?b:0!==g?g:0!==e?e:k.series.index>c.series.index?-1:1)}b&&(k=c)});return k};f.prototype.getChartCoordinatesFromPoint= function(b,d){var a=b.series,g=a.xAxis;a=a.yAxis;var c=b.shapeArgs;if(g&&a){var k=w(b.clientX,b.plotX),e=b.plotY||0;b.isNode&&c&&q(c.x)&&q(c.y)&&(k=c.x,e=c.y);return d?{chartX:a.len+a.pos-e,chartY:g.len+g.pos-k}:{chartX:k+g.pos,chartY:e+a.pos}}if(c&&c.x&&c.y)return{chartX:c.x,chartY:c.y}};f.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var b=this.chart.container,d=J(b);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var a=b.offsetWidth;b=b.offsetHeight; 2l.max&&(a=l.max-z,y=!0);y?(N-=.8*(N-f[m][0]),"number"===typeof x&&(x-=.8*(x-f[m][1])),d()):f[m]=[N,x];q||(e[m]=F-r,e[u]=z);e=q?1/w:w;c[u]=z;c[m]=a;g[q?b?"scaleY":"scaleX":"scale"+p]=w;g["translate"+p]=e*r+(N-e*A)};f.prototype.reset=function(b,d){var a=this.chart,g=a.hoverSeries,c=a.hoverPoint,e=a.hoverPoints,k=a.tooltip,f=k&&k.shared?e:c;b&&f&&z(f).forEach(function(a){a.series.isCartesian&& "undefined"===typeof a.plotX&&(b=!1)});if(b)k&&f&&z(f).length&&(k.refresh(f),k.shared&&e?e.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):c&&(c.setState(c.state,!0),a.axes.forEach(function(a){a.crosshair&&c.series[a.coll]===a&&a.drawCrosshair(null,c)})));else{if(c)c.onMouseOut();e&&e.forEach(function(a){a.setState()});if(g)g.onMouseOut();k&&k.hide(d); this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());a.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=a.hoverPoints=a.hoverPoint=null}};f.prototype.runPointActions=function(d,e){var a=this.chart,g=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,c=g?g.shared:!1,k=e||a.hoverPoint,h=k&&k.series||a.hoverSeries;e=this.getHoverData(k,h,a.series,(!d||"touchmove"!==d.type)&&(!!e||h&&h.directTouch&&this.isDirectTouch),c,d);k=e.hoverPoint;h=e.hoverSeries;var m=e.hoverPoints;e=h&& h.tooltipOptions.followPointer&&!h.tooltipOptions.split;var p=c&&h&&!h.noSharedTooltip;if(k&&(k!==a.hoverPoint||g&&g.isHidden)){(a.hoverPoints||[]).forEach(function(a){-1===m.indexOf(a)&&a.setState()});if(a.hoverSeries!==h)h.onMouseOver();this.applyInactiveState(m);(m||[]).forEach(function(a){a.setState("hover")});a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut");if(!k.series)return;a.hoverPoints=m;a.hoverPoint=k;k.firePointEvent("mouseOver",void 0,function(){g&&k&&g.refresh(p?m:k,d)})}else e&& g&&!g.isHidden&&(c=g.getAnchor([{}],d),a.isInsidePlot(c[0],c[1],{visiblePlotOnly:!0})&&g.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=B(a.container.ownerDocument,"mousemove",function(a){var c=E[f.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove));a.axes.forEach(function(c){var g=w((c.crosshair||{}).snap,!0),e;g&&((e=a.hoverPoint)&&e.series[c.coll]===c||(e=b(m,function(a){return a.series&&a.series[c.coll]=== c})));e||!g?c.drawCrosshair(d,e):c.hideCrosshair()})};f.prototype.scaleGroups=function(b,d){var a=this.chart;a.series.forEach(function(g){var c=b||g.getPlotBox();g.group&&(g.xAxis&&g.xAxis.zoomEnabled||a.mapView)&&(g.group.attr(c),g.markerGroup&&(g.markerGroup.attr(c),g.markerGroup.clip(d?a.clipRect:null)),g.dataLabelsGroup&&g.dataLabelsGroup.attr(c))});a.clipRect.attr(d||a.clipBox)};f.prototype.setDOMEvents=function(){var b=this,d=this.chart.container,a=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this); d.onmousemove=this.onContainerMouseMove.bind(this);d.onclick=this.onContainerClick.bind(this);this.eventsToUnbind.push(B(d,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(B(d,"mouseleave",this.onContainerMouseLeave.bind(this)));f.unbindDocumentMouseUp||(f.unbindDocumentMouseUp=B(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var g=this.chart.renderTo.parentElement;g&&"BODY"!==g.tagName;)this.eventsToUnbind.push(B(g,"scroll",function(){delete b.chartPosition})),g= g.parentElement;e.hasTouch&&(this.eventsToUnbind.push(B(d,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(B(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),f.unbindDocumentTouchEnd||(f.unbindDocumentTouchEnd=B(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};f.prototype.setHoverChartIndex=function(){var b=this.chart,d=e.charts[w(f.hoverChartIndex,-1)];if(d&&d!==b)d.pointer.onContainerMouseLeave({relatedTarget:b.container}); d&&d.mouseIsDown||(f.hoverChartIndex=b.index)};f.prototype.touch=function(b,d){var a=this.chart,g;this.setHoverChartIndex();if(1===b.touches.length)if(b=this.normalize(b),(g=a.isInsidePlot(b.chartX-a.plotLeft,b.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!a.openMenu){d&&this.runPointActions(b);if("touchmove"===b.type){d=this.pinchDown;var c=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-b.chartX,2)+Math.pow(d[0].chartY-b.chartY,2)):!1}w(c,!0)&&this.pinch(b)}else d&&this.reset();else 2===b.touches.length&&this.pinch(b)}; f.prototype.touchSelect=function(b){return!(!this.chart.options.chart.zoomBySingleTouch||!b.touches||1!==b.touches.length)};f.prototype.zoomOption=function(b){var d=this.chart,a=d.options.chart;d=d.inverted;var g=a.zoomType||"";/touch/.test(b.type)&&(g=w(a.pinchType,g));this.zoomX=b=/x/.test(g);this.zoomY=a=/y/.test(g);this.zoomHor=b&&!d||a&&d;this.zoomVert=a&&!d||b&&d;this.hasZoom=b||a};return f}();"";return f});K(l,"Core/MSPointer.js",[l["Core/Globals.js"],l["Core/Pointer.js"],l["Core/Utilities.js"]], function(f,e,l){function C(){var d=[];d.item=function(b){return this[b]};b(q,function(b){d.push({pageX:b.pageX,pageY:b.pageY,target:b.target})});return d}function v(b,d,f,h){var p=G[e.hoverChartIndex||NaN];"touch"!==b.pointerType&&b.pointerType!==b.MSPOINTER_TYPE_TOUCH||!p||(p=p.pointer,h(b),p[d]({type:f,target:b.currentTarget,preventDefault:y,touches:C()}))}var E=this&&this.__extends||function(){var b=function(d,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__= d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(d,e)};return function(d,e){function f(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),G=f.charts,B=f.doc,y=f.noop,t=f.win,h=l.addEvent,d=l.css,b=l.objectEach,p=l.removeEvent,q={},r=!!t.PointerEvent;return function(b){function e(){return null!==b&&b.apply(this,arguments)||this}E(e,b);e.isRequired=function(){return!(f.hasTouch||!t.PointerEvent&&!t.MSPointerEvent)};e.prototype.batchMSEvents= function(b){b(this.chart.container,r?"pointerdown":"MSPointerDown",this.onContainerPointerDown);b(this.chart.container,r?"pointermove":"MSPointerMove",this.onContainerPointerMove);b(B,r?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};e.prototype.destroy=function(){this.batchMSEvents(p);b.prototype.destroy.call(this)};e.prototype.init=function(e,f){b.prototype.init.call(this,e,f);this.hasZoom&&d(e.container,{"-ms-touch-action":"none","touch-action":"none"})};e.prototype.onContainerPointerDown= function(b){v(b,"onContainerTouchStart","touchstart",function(b){q[b.pointerId]={pageX:b.pageX,pageY:b.pageY,target:b.currentTarget}})};e.prototype.onContainerPointerMove=function(b){v(b,"onContainerTouchMove","touchmove",function(b){q[b.pointerId]={pageX:b.pageX,pageY:b.pageY};q[b.pointerId].target||(q[b.pointerId].target=b.currentTarget)})};e.prototype.onDocumentPointerUp=function(b){v(b,"onDocumentTouchEnd","touchend",function(b){delete q[b.pointerId]})};e.prototype.setDOMEvents=function(){b.prototype.setDOMEvents.call(this); (this.hasZoom||this.followTouchMove)&&this.batchMSEvents(h)};return e}(e)});K(l,"Core/Legend/Legend.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/FormatUtilities.js"],l["Core/Globals.js"],l["Core/Series/Point.js"],l["Core/Renderer/RendererUtilities.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E){var G=f.animObject,B=f.setAnimation,y=e.format;f=l.isFirefox;var t=l.marginNames;l=l.win;var h=v.distribute,d=E.addEvent,b=E.createElement,p=E.css,q=E.defined,r=E.discardElement,n=E.find,J=E.fireEvent, w=E.isNumber,z=E.merge,x=E.pick,m=E.relativeLength,k=E.stableSort,a=E.syncTimeout;v=E.wrap;E=function(){function g(a,b){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options=void 0;this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup= void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,b)}g.prototype.init=function(a,b){this.chart=a;this.setOptions(b);b.enabled&&(this.render(),d(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=d(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};g.prototype.setOptions=function(a){var c=x(a.padding, 8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=z(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=c;this.initialItemY=c-5;this.symbolWidth=x(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===a.layout&&!this.chart.inverted;this.baseline=void 0};g.prototype.update=function(a,b){var c=this.chart;this.setOptions(z(!0,this.options,a));this.destroy();c.isDirtyLegend=c.isDirtyBox= !0;x(b,!0)&&c.redraw();J(this,"afterUpdate")};g.prototype.colorizeItem=function(a,b){a.legendGroup[b?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var c=this.options,d=a.legendItem,g=a.legendLine,e=a.legendSymbol,f=this.itemHiddenStyle.color;c=b?c.itemStyle.color:f;var k=b?a.color||f:f,h=a.options&&a.options.marker,m={fill:k};d&&d.css({fill:c,color:c});g&&g.attr({stroke:k});e&&(h&&e.isMarker&&(m=a.pointAttribs(),b||(m.stroke=m.fill=f)),e.attr(m))}J(this,"afterColorizeItem", {item:a,visible:b})};g.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};g.prototype.positionItem=function(a){var c=this,b=this.options,d=b.symbolPadding,g=!b.rtl,e=a._legendItemPos;b=e[0];e=e[1];var f=a.checkbox,k=a.legendGroup;k&&k.element&&(d={translateX:g?b:this.legendWidth-b-2*d-4,translateY:e},g=function(){J(c,"afterPositionItem",{item:a})},q(k.translateY)?k.animate(d,void 0,g):(k.attr(d),g()));f&&(f.x=b,f.y=e)}; g.prototype.destroyItem=function(a){var c=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(c){a[c]&&(a[c]=a[c].destroy())});c&&r(a.checkbox)};g.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(c){["legendItem","legendGroup"].forEach(a,c)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};g.prototype.positionCheckboxes=function(){var a=this.group&&this.group.alignAttr, b=this.clipHeight||this.legendHeight,d=this.titleHeight;if(a){var g=a.translateY;this.allItems.forEach(function(c){var e=c.checkbox;if(e){var f=g+d+e.y+(this.scrollOffset||0)+3;p(e,{left:a.translateX+c.checkboxOffset+e.x-20+"px",top:f+"px",display:this.proximate||f>g-6&&f1.5*b?c.height:b))};g.prototype.layoutItem=function(a){var c=this.options,b=this.padding,d="horizontal"===c.layout,g=a.itemHeight,e=this.itemMarginBottom,f=this.itemMarginTop,k=d?x(c.itemDistance,20):0,h=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:a.itemWidth;d&&this.itemX-b+c>h&&(this.itemX=b,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+e),this.lastLineHeight=0);this.lastItemY=f+this.itemY+e;this.lastLineHeight= Math.max(g,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];d?this.itemX+=c:(this.itemY+=f+g+e,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((d?this.itemX-b-(a.checkbox?0:k):c)+b,this.offsetWidth)};g.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var b=c&&c.options;c&&x(b.showInLegend,q(b.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||("point"===b.legendType?c.data:c)))});J(this,"afterGetAllItems",{allItems:a});return a};g.prototype.getAlignment= function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};g.prototype.adjustMargins=function(a,b){var c=this.chart,d=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(e,f){e.test(g)&&!q(a[f])&&(c[t[f]]=Math.max(c[t[f]],c.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*d[f%2?"x":"y"]+x(d.margin,12)+b[f]+(c.titleOffset[f]||0)))})}; g.prototype.proximatePositions=function(){var a=this.chart,b=[],d="left"===this.options.align;this.allItems.forEach(function(c){var g;var e=d;if(c.yAxis){c.xAxis.options.reversed&&(e=!e);c.points&&(g=n(e?c.points:c.points.slice(0).reverse(),function(a){return w(a.plotY)}));e=this.itemMarginTop+c.legendItem.getBBox().height+this.itemMarginBottom;var f=c.yAxis.top-a.plotTop;c.visible?(g=g?g.plotY:c.yAxis.height,g+=f-.3*e):g=f+c.yAxis.height;b.push({target:g,size:e,item:c})}},this);h(b,a.plotHeight).forEach(function(c){c.item._legendItemPos&& c.pos&&(c.item._legendItemPos[1]=a.plotTop-a.spacing[0]+c.pos)})};g.prototype.render=function(){var a=this.chart,b=a.renderer,d=this.options,g=this.padding,e=this.getAllItems(),f=this.group,h=this.box;this.itemX=g;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=m(d.width,a.spacingBox.width-g);var p=a.spacingBox.width-2*g-d.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(p/=2);this.maxLegendWidth=this.widthOption||p;f||(this.group=f=b.g("legend").addClass(d.className|| "").attr({zIndex:7}).add(),this.contentGroup=b.g().attr({zIndex:1}).add(f),this.scrollGroup=b.g().add(this.contentGroup));this.renderTitle();k(e,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});d.reversed&&e.reverse();this.allItems=e;this.display=p=!!e.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;e.forEach(this.renderItem,this);e.forEach(this.layoutItem,this);e=(this.widthOption||this.offsetWidth)+g;var n=this.lastItemY+ this.lastLineHeight+this.titleHeight;n=this.handleOverflow(n);n+=g;h||(this.box=h=b.rect().addClass("highcharts-legend-box").attr({r:d.borderRadius}).add(f));a.styledMode||h.attr({stroke:d.borderColor,"stroke-width":d.borderWidth||0,fill:d.backgroundColor||"none"}).shadow(d.shadow);if(0e&&!1!==m.enabled?(this.clipHeight=F=Math.max(e-20-this.titleHeight-k,0),this.currentPage=x(this.currentPage,1),this.fullHeight=a,r.forEach(function(a,c){var b=a._legendItemPos[1],d=Math.round(a.legendItem.getBBox().height), g=l.length;if(!g||b-l[g-1]>F&&(z||b)!==l[g-1])l.push(z||b),g++;a.pageIx=g-1;z&&(r[c-1].pageIx=g-1);c===r.length-1&&b+d-l[g-1]>F&&d<=F&&(l.push(b),a.pageIx=g);b!==z&&(z=b)}),w||(w=c.clipRect=d.clipRect(0,k,9999,0),c.contentGroup.clip(w)),q(F),N||(this.nav=N=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,n,n).add(N),t("upTracker").on("click",function(){c.scroll(-1,p)}),this.pager=d.text("",15,10).addClass("highcharts-legend-navigation"),!b.styledMode&&m.style&&this.pager.css(m.style), this.pager.add(N),this.down=d.symbol("triangle-down",0,0,n,n).add(N),t("downTracker").on("click",function(){c.scroll(1,p)})),c.scroll(0),a=e):N&&(q(),this.nav=N.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};g.prototype.scroll=function(c,b){var d=this,g=this.chart,e=this.pages,f=e.length,k=this.clipHeight,h=this.options.navigation,m=this.pager,p=this.padding,n=this.currentPage+c;n>f&&(n=f);0=Math.max(h+e,n.pos)&&k<=Math.min(h+e+g.width,n.pos+n.len)||(a.isInsidePlot=!1)}!b.ignoreY&&a.isInsidePlot&&(d=p&&(d?p.xAxis:p.yAxis)||{pos:f,len:Infinity},b=b.paneCoordinates?d.pos+c:f+ c,b>=Math.max(m+f,d.pos)&&b<=Math.min(m+f+g.height,d.pos+d.len)||(a.isInsidePlot=!1));O(this,"afterIsInsidePlot",a);return a.isInsidePlot};f.prototype.redraw=function(a){O(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],b=this.series,d=this.pointer,g=this.legend,e=this.userOptions.legend,f=this.renderer,k=f.isHidden(),h=[],m=this.isDirtyBox,p=this.isDirtyLegend;this.setResponsive&&this.setResponsive(!1);J(this.hasRendered?a:!1,this);k&&this.temporaryDisplay();this.layOutTitles(); for(a=b.length;a--;){var n=b[a];if(n.options.stacking||n.options.centerInCategory){var l=!0;if(n.isDirty){var F=!0;break}}}if(F)for(a=b.length;a--;)n=b[a],n.options.stacking&&(n.isDirty=!0);b.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),p=!0):e&&(e.labelFormatter||e.labelFormat)&&(p=!0));a.isDirtyData&&O(a,"updatedData")});p&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);l&&this.getStacks();c.forEach(function(a){a.updateNames(); a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(m=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,h.push(function(){O(a,"afterSetExtremes",K(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(m||l)&&a.redraw()});m&&this.drawChartBox();O(this,"predraw");b.forEach(function(a){(m||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});d&&d.reset(!0);f.draw();O(this,"redraw");O(this,"render");k&&this.temporaryDisplay(!0);h.forEach(function(a){a.call()})}; f.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}for(var b=this.series,d=da(this.axes,c)||da(this.series,c),g=0;!d&&g=k&&d<=h||m||!U(d))n=!0;b[m?"zoomX":"zoomY"]&&n&&(e=f.zoom(a.min,a.max),f.displayBtn&&(g=!0))});var f=c.resetZoomButton;g&&!f?c.showResetZoom():!g&&N(f)&&(c.resetZoomButton=f.destroy());e&&c.redraw(Q(c.options.chart.animation,a&&a.animation,100>c.pointCount))}; f.prototype.pan=function(a,c){var b=this,d=b.hoverPoints;c="object"===typeof c?c:{enabled:c,type:"x"};var g=b.options.chart;g&&g.panning&&(g.panning=c);var e=c.type,f;O(this,"pan",{originalEvent:a},function(){d&&d.forEach(function(a){a.setState()});var c=b.xAxis;"xy"===e?c=c.concat(b.yAxis):"y"===e&&(c=b.yAxis);var g={};c.forEach(function(c){if(c.options.panningEnabled&&!c.options.isInternal){var d=c.horiz,k=a[d?"chartX":"chartY"];d=d?"mouseDownX":"mouseDownY";var h=b[d],m=c.minPointOffset||0,n=c.reversed&& !b.inverted||!c.reversed&&b.inverted?-1:1,p=c.getExtremes(),l=c.toValue(h-k,!0)+m*n,F=c.toValue(h+c.len-k,!0)-(m*n||c.isXAxis&&c.pointRangePadding||0),r=F=n&&l<=F&&(c.setExtremes(h,l,!1,!1,{trigger:"pan"}),!b.resetZoomButton&&h!==n&&l!==F&&e.match("y")&&(b.showResetZoom(),c.displayBtn= !1),f=!0),g[d]=k)}});X(g,function(a,c){b[c]=a});f&&b.redraw(!1);M(b.container,{cursor:"move"})})};return f}();K(f.prototype,{callbacks:[],collectionsWithInit:{xAxis:[f.prototype.addAxis,[!0]],yAxis:[f.prototype.addAxis,[!1]],series:[f.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "), propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});"";return f});K(l,"Core/Legend/LegendSymbol.js",[l["Core/Utilities.js"]],function(f){var e=f.merge,l=f.pick,C;(function(f){f.drawLineMarker=function(f){var v=this.options,B=f.symbolWidth,y=f.symbolHeight,t=y/2,h=this.chart.renderer,d=this.legendGroup;f=f.baseline-Math.round(.3*f.fontMetrics.b);var b={},p=v.marker;this.chart.styledMode||(b={"stroke-width":v.lineWidth|| 0},v.dashStyle&&(b.dashstyle=v.dashStyle));this.legendLine=h.path([["M",0,f],["L",B,f]]).addClass("highcharts-graph").attr(b).add(d);p&&!1!==p.enabled&&B&&(v=Math.min(l(p.radius,t),t),0===this.symbol.indexOf("url")&&(p=e(p,{width:y,height:y}),v=0),this.legendSymbol=B=h.symbol(this.symbol,B/2-v,f-v,2*v,2*v,p).addClass("highcharts-point").add(d),B.isMarker=!0)};f.drawRectangle=function(e,f){var v=e.symbolHeight,y=e.options.squareSymbol;f.legendSymbol=this.chart.renderer.rect(y?(e.symbolWidth-v)/2:0, e.baseline-v+1,y?v:e.symbolWidth,v,l(e.options.symbolRadius,v/2)).addClass("highcharts-point").attr({zIndex:3}).add(f.legendGroup)}})(C||(C={}));return C});K(l,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc", lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var f=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":f(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}}, select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"}});K(l,"Core/Series/Series.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/DefaultOptions.js"],l["Core/Foundation.js"],l["Core/Globals.js"],l["Core/Legend/LegendSymbol.js"],l["Core/Series/Point.js"],l["Core/Series/SeriesDefaults.js"],l["Core/Series/SeriesRegistry.js"],l["Core/Renderer/SVG/SVGElement.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E,G,B, y,t){var h=f.animObject,d=f.setAnimation,b=e.defaultOptions,p=l.registerEventOptions,q=C.hasTouch,r=C.svg,n=C.win,J=B.seriesTypes,w=t.addEvent,z=t.arrayMax,x=t.arrayMin,m=t.clamp,k=t.cleanRecursively,a=t.correctFloat,g=t.defined,c=t.erase,D=t.error,A=t.extend,u=t.find,L=t.fireEvent,S=t.getNestedProperty,R=t.isArray,M=t.isNumber,U=t.isString,P=t.merge,I=t.objectEach,H=t.pick,K=t.removeEvent,da=t.splat,O=t.syncTimeout;f=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions= this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}e.prototype.init=function(a,c){L(this,"init",{options:c});var b=this,d=a.series;this.eventsToUnbind=[];b.chart=a;b.options=b.setOptions(c);c=b.options;b.linkedSeries=[];b.bindAxes();A(b,{name:c.name,state:"",visible:!1!==c.visible,selected:!0===c.selected});p(this,c);var g=c.events;if(g&&g.click||c.point&&c.point.events&&c.point.events.click|| c.allowPointSelect)a.runTrackerClick=!0;b.getColor();b.getSymbol();b.parallelArrays.forEach(function(a){b[a+"Data"]||(b[a+"Data"]=[])});b.isCartesian&&(a.hasCartesianSeries=!0);var e;d.length&&(e=d[d.length-1]);b._i=H(e&&e._i,-1)+1;b.opacity=b.options.opacity;a.orderSeries(this.insert(d));c.dataSorting&&c.dataSorting.enabled?b.setDataSortingOptions():b.points||b.data||b.setData(c.data,!1);L(this,"afterInit")};e.prototype.is=function(a){return J[a]&&this instanceof J[a]};e.prototype.insert=function(a){var c= this.options.index,b;if(M(c)){for(b=a.length;b--;)if(c>=H(a[b].options.index,a[b]._i)){a.splice(b+1,0,this);break}-1===b&&a.unshift(this);b+=1}else a.push(this);return H(b,a.length-1)};e.prototype.bindAxes=function(){var a=this,c=a.options,b=a.chart,d;L(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(g){var e=0;b[g].forEach(function(b){d=b.options;if(c[g]===e&&!d.isInternal||"undefined"!==typeof c[g]&&c[g]===d.id||"undefined"===typeof c[g]&&0===d.index)a.insert(b.series),a[g]=b, b.isDirty=!0;d.isInternal||e++});a[g]||a.optionalAxis===g||D(18,!0,b)})});L(this,"afterBindAxes")};e.prototype.updateParallelArrays=function(a,c){var b=a.series,d=arguments,g=M(c)?function(d){var g="y"===d&&b.toYData?b.toYData(a):a[d];b[d+"Data"][c]=g}:function(a){Array.prototype[c].apply(b[a+"Data"],Array.prototype.slice.call(d,2))};b.parallelArrays.forEach(g)};e.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&& this.yData&&0=this.cropStart?h-this.cropStart:h);!k&&M(h)&&g[h]&&g[h].touched&&(h=void 0);return h};e.prototype.updateData=function(a,c){var b=this.options,d=b.dataSorting,e=this.points,f=[],k=this.requireSorting,h=a.length===e.length,m,n,p,l=!0;this.xIncrement=null;a.forEach(function(a,c){var n=g(a)&&this.pointClass.prototype.optionsToObject.call({series:this}, a)||{},l=n.x;if(n.id||M(l)){if(n=this.findPointIndex(n,p),-1===n||"undefined"===typeof n?f.push(a):e[n]&&a!==b.data[n]?(e[n].update(a,!1,null,!1),e[n].touched=!0,k&&(p=n+1)):e[n]&&(e[n].touched=!0),!h||c!==n||d&&d.enabled||this.hasDerivedData)m=!0}else f.push(a)},this);if(m)for(a=e.length;a--;)(n=e[a])&&!n.touched&&n.remove&&n.remove(!1,c);else!h||d&&d.enabled?l=!1:(a.forEach(function(a,c){a!==e[c].y&&e[c].update&&e[c].update(a,!1,null,!1)}),f.length=0);e.forEach(function(a){a&&(a.touched=!1)});if(!l)return!1; f.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=z(this.xData),this.autoIncrement());return!0};e.prototype.setData=function(a,c,b,d){var g=this,e=g.points,f=e&&e.length||0,k=g.options,h=g.chart,m=k.dataSorting,n=g.xAxis,p=k.turboThreshold,l=this.xData,r=this.yData,q=g.pointArrayMap;q=q&&q.length;var F=k.keys,u,t=0,z=1,w=null;if(!h.options.chart.allowMutatingData){k.data&&delete g.options.data;g.userOptions.data&& delete g.userOptions.data;var x=P(!0,a)}a=x||a||[];x=a.length;c=H(c,!0);m&&m.enabled&&(a=this.sortData(a));h.options.chart.allowMutatingData&&!1!==d&&x&&f&&!g.cropped&&!g.hasGroupedData&&g.visible&&!g.isSeriesBoosting&&(u=this.updateData(a,b));if(!u){g.xIncrement=null;g.colorCounter=0;this.parallelArrays.forEach(function(a){g[a+"Data"].length=0});if(p&&x>p)if(w=g.getFirstValidPoint(a),M(w))for(b=0;ba?1:0}).forEach(function(a, c){a.x=c},this);c.linkedSeries&&c.linkedSeries.forEach(function(c){var b=c.options,g=b.data;b.dataSorting&&b.dataSorting.enabled||!g||(g.forEach(function(b,e){g[e]=d(c,b);a[e]&&(g[e].x=a[e].x,g[e].index=e)}),c.setData(g,!1))});return a};e.prototype.getProcessedData=function(a){var c=this.xAxis,b=this.options,d=b.cropThreshold,g=a||this.getExtremesFromAll||b.getExtremesFromAll,e=this.isCartesian;a=c&&c.val2lin;b=!(!c||!c.logarithmic);var f=0,k=this.xData,h=this.yData,m=this.requireSorting;var n=!1; var p=k.length;if(c){n=c.getExtremes();var l=n.min;var r=n.max;n=!(!c.categories||c.names.length)}if(e&&this.sorted&&!g&&(!d||p>d||this.forceCrop))if(k[p-1]r)k=[],h=[];else if(this.yData&&(k[0]r)){var q=this.cropData(this.xData,this.yData,l,r);k=q.xData;h=q.yData;f=q.start;q=!0}for(d=k.length||1;--d;)if(c=b?a(k[d])-a(k[d-1]):k[d]-k[d-1],0c&&m&&!n&&(D(15,!1,this.chart),m=!1);return{xData:k,yData:h,cropped:q,cropStart:f,closestPointRange:u}}; e.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange;L(this,"afterProcessData")};e.prototype.cropData=function(a,c,b,d,g){var e=a.length,f,k=0,h=e;g=H(g,this.cropShoulder);for(f=0;f=b){k=Math.max(0,f-g);break}for(b= f;bd){h=b+g;break}return{xData:a.slice(k,h),yData:c.slice(k,h),start:k,end:h}};e.prototype.generatePoints=function(){var a=this.options,c=this.processedData||a.data,b=this.processedXData,d=this.processedYData,g=this.pointClass,e=b.length,f=this.cropStart||0,k=this.hasGroupedData,h=a.keys,m=[];a=a.dataGrouping&&a.dataGrouping.groupAll?f:0;var n,p,l=this.data;if(!l&&!k){var r=[];r.length=c.length;l=this.data=r}h&&k&&(this.options.keys=!1);for(p=0;p=h&&(g[k-f]||q)<=m;if(r&& q)if(r=l.length)for(;r--;)M(l[r])&&(e[n++]=l[r]);else e[n++]=l}a={activeYData:e,dataMin:x(e),dataMax:z(e)};L(this,"afterGetExtremes",{dataExtremes:a});return a};e.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};e.prototype.getFirstValidPoint=function(a){for(var c=a.length,b=0,d=null;null===d&&b=J&&(J=null),x.total=x.stackTotal=y.total,x.percentage=y.total&&x.y/y.total*100,x.stackY=v,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0));x.yBottom=g(J)?m(k.translate(J,0,1,0,1),-1E5,1E5):null;this.dataModify&&(v= this.dataModify.modifyValue(v,t));x.plotY=void 0;M(v)&&(y=k.translate(v,!1,!0,!1,!0),"undefined"!==typeof y&&(x.plotY=m(y,-1E5,1E5)));x.isInside=this.isPointInside(x);x.clientX=l?a(d.translate(A,0,0,0,1,p)):z;x.negative=x[u]<(c[u+"Threshold"]||q||0);x.category=H(e&&e[x.x],x.x);if(!x.isNull&&!1!==x.visible){"undefined"!==typeof G&&(w=Math.min(w,Math.abs(z-G)));var G=z}x.zone=this.zones.length?x.getZone():void 0;!x.graphic&&this.group&&f&&(x.isNew=!0)}this.closestPointRangePx=w;L(this,"afterTranslate")}; e.prototype.getValidPoints=function(a,c,b){var d=this.chart;return(a||this.points||[]).filter(function(a){return c&&!d.isInsidePlot(a.plotX,a.plotY,{inverted:d.inverted})?!1:!1!==a.visible&&(b||!a.isNull)})};e.prototype.getClipBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis,d=P(a.clipBox);c&&c.len!==a.plotSizeX&&(d.width=c.len);b&&b.len!==a.plotSizeY&&(d.height=b.len);return d};e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis|| 0)};e.prototype.setClip=function(){var a=this.chart,c=this.group,b=this.markerGroup,d=a.sharedClips;a=a.renderer;var g=this.getClipBox(),e=this.getSharedClipKey(),f=d[e];f?f.animate(g):d[e]=f=a.clipRect(g);c&&c.clip(!1===this.options.clip?void 0:f);b&&b.clip()};e.prototype.animate=function(a){var c=this.chart,b=this.group,d=this.markerGroup,g=c.inverted,e=h(this.options.animation),f=[this.getSharedClipKey(),e.duration,e.easing,e.defer].join(),k=c.sharedClips[f],m=c.sharedClips[f+"m"];if(a&&b)e=this.getClipBox(), k?k.attr("height",e.height):(e.width=0,g&&(e.x=c.plotHeight),k=c.renderer.clipRect(e),c.sharedClips[f]=k,m=c.renderer.clipRect({x:g?(c.plotSizeX||0)+99:-99,y:g?-c.plotLeft:-c.plotTop,width:99,height:g?c.chartWidth:c.chartHeight}),c.sharedClips[f+"m"]=m),b.clip(k),d&&d.clip(m);else if(k&&!k.hasClass("highcharts-animating")){c=this.getClipBox();var n=e.step;d&&d.element.childNodes.length&&(e.step=function(a,c){n&&n.apply(c,arguments);m&&m.element&&m.attr(c.prop,"width"===c.prop?a+99:a)});k.addClass("highcharts-animating").animate(c, e)}};e.prototype.afterAnimate=function(){var a=this;this.setClip();I(this.chart.sharedClips,function(c,b,d){c&&!a.chart.container.querySelector('[clip-path="url(#'.concat(c.id,')"]'))&&(c.destroy(),delete d[b])});this.finishedAnimating=!0;L(this,"afterAnimate")};e.prototype.drawPoints=function(){var a=this.points,c=this.chart,b=this.options.marker,d=this[this.specialGroup]||this.markerGroup,g=this.xAxis,e=H(b.enabled,!g||g.isRadial?!0:null,this.closestPointRangePx>=b.enabledThreshold*b.radius),f, k;if(!1!==b.enabled||this._hasPointMarkers)for(f=0;fD.max;a.resetZones&&0===l&&(l=void 0)});this.clips=g}else a.visible&&(e&&e.show(),f&&f.show())};e.prototype.invertGroups= function(a){function c(){["group","markerGroup"].forEach(function(c){b[c]&&(d.renderer.isVML&&b[c].attr({width:b.yAxis.len,height:b.xAxis.len}),b[c].width=b.yAxis.len,b[c].height=b.xAxis.len,b[c].invert(b.isRadialSeries?!1:a))})}var b=this,d=b.chart;b.xAxis&&(b.eventsToUnbind.push(w(d,"resize",c)),c(),b.invertGroups=c)};e.prototype.plotGroup=function(a,c,b,d,e){var f=this[a],k=!f;b={visibility:b,zIndex:d||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(b.opacity= this.opacity);k&&(this[a]=f=this.chart.renderer.g().add(e));f.addClass("highcharts-"+c+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(g(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);f.attr(b)[k?"attr":"animate"](this.getPlotBox());return f};e.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis;a.inverted&&(c=b,b=this.xAxis);return{translateX:c?c.left: a.plotLeft,translateY:b?b.top:a.plotTop,scaleX:1,scaleY:1}};e.prototype.removeEvents=function(a){a||K(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};e.prototype.render=function(){var a=this,c=a.chart,b=a.options,d=h(b.animation),g=a.visible?"inherit":"hidden",e=b.zIndex,f=a.hasRendered,k=c.seriesGroup,m=c.inverted;c=!a.finishedAnimating&&c.renderer.isSVG?d.duration:0;L(this,"render");var n=a.plotGroup("group","series",g,e,k);a.markerGroup= a.plotGroup("markerGroup","markers",g,e,k);!1!==b.clip&&a.setClip();a.animate&&c&&a.animate(!0);n.inverted=H(a.invertible,a.isCartesian)?m:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(m);a.animate&&c&&a.animate();f||(c&&d.defer&&(c+=d.defer),a.animationTimeout=O(function(){a.afterAnimate()},c||0));a.isDirty=!1;a.hasRendered= !0;L(a,"afterRender")};e.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,b=this.group,d=this.xAxis,g=this.yAxis;b&&(a.inverted&&b.attr({width:a.plotWidth,height:a.plotHeight}),b.animate({translateX:H(d&&d.left,a.plotLeft),translateY:H(g&&g.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};e.prototype.searchPoint=function(a,c){var b=this.xAxis,d=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g?b.len-a.chartY+b.pos:a.chartX-b.pos, plotY:g?d.len-a.chartX+d.pos:a.chartY-d.pos},c,a)};e.prototype.buildKDTree=function(a){function c(a,d,g){var e=a&&a.length;if(e){var f=b.kdAxisArray[d%g];a.sort(function(a,c){return a[f]-c[f]});e=Math.floor(e/2);return{point:a[e],left:c(a.slice(0,e),d+1,g),right:c(a.slice(e+1),d+1,g)}}}this.buildingKdTree=!0;var b=this,d=-1p?"left":"right";q=0>p?"right":"left";c[r]&&(r=d(a,c[r],b+1,m),l=r[h]q;)r--;this.updateParallelArrays(l,"splice",r,0,0);this.updateParallelArrays(l,r);h&&l.name&&(h[q]=l.name);m.splice(r,0,a);if(p||this.processedData)this.data.splice(r,0,null),this.processData();"point"===e.legendType&&this.generatePoints(); b&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(l,"shift"),m.shift()));!1!==g&&L(this,"addPoint",{point:l});this.isDirtyData=this.isDirty=!0;c&&k.redraw(d)};e.prototype.removePoint=function(a,c,b){var g=this,e=g.data,f=e[a],k=g.points,h=g.chart,m=function(){k&&k.length===e.length&&k.splice(a,1);e.splice(a,1);g.options.data.splice(a,1);g.updateParallelArrays(f||{series:g},"splice",a,1);f&&f.destroy();g.isDirty=!0;g.isDirtyData=!0;c&&h.redraw()};d(b,h);c=H(c,!0);f?f.firePointEvent("remove", null,m):m()};e.prototype.remove=function(a,c,b,d){function g(){e.destroy(d);f.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();H(a,!0)&&f.redraw(c)}var e=this,f=e.chart;!1!==b?L(e,"remove",null,g):g()};e.prototype.update=function(a,c){a=k(a,this.userOptions);L(this,"update",{options:a});var b=this,d=b.chart,g=b.userOptions,e=b.initialType||b.type,f=d.options.plotOptions,h=J[e].prototype,m=b.finishedAnimating&&{animation:!1},n={},p,l=["eventOptions","navigatorSeries","baseSeries"],q=a.type||g.type||d.options.chart.type, r=!(this.hasDerivedData||q&&q!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||"undefined"!==typeof a.relativeXValue||a.joinBy||a.mapData||b.hasOptionChanged("dataGrouping")||b.hasOptionChanged("pointStart")||b.hasOptionChanged("pointInterval")||b.hasOptionChanged("pointIntervalUnit")||b.hasOptionChanged("keys"));q=q||e;r&&(l.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels", "clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&l.push("area","graph"),b.parallelArrays.forEach(function(a){l.push(a+"Data")}),a.data&&(a.dataSorting&&A(b.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=P(g,m,{index:"undefined"===typeof g.index?b.index:g.index,pointStart:H(f&&f.series&&f.series.pointStart,g.pointStart,b.xData[0])},!r&&{data:b.options.data},a);r&&a.data&&(a.data=b.options.data);l=["group","markerGroup","dataLabelsGroup", "transformGroup"].concat(l);l.forEach(function(a){l[a]=b[a];delete b[a]});f=!1;if(J[q]){if(f=q!==b.type,b.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(b,J[q].prototype);else{m=Object.hasOwnProperty.call(b,"hcEvents")&&b.hcEvents;for(p in h)b[p]=void 0;A(b,J[q].prototype);m?b.hcEvents=m:delete b.hcEvents}}else D(17,!0,d,{missingModuleFor:q});l.forEach(function(a){b[a]=l[a]});b.init(d,a);if(r&&this.points){var u=b.options;!1===u.visible?(n.graphic=1,n.dataLabel=1):b._hasPointLabels|| (a=u.marker,h=u.dataLabels,!a||!1!==a.enabled&&(g.marker&&g.marker.symbol)===a.symbol||(n.graphic=1),h&&!1===h.enabled&&(n.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(n).length&&a.destroyElements(n),!1===u.showInLegend&&a.legendItem&&d.legend.destroyItem(a))},this)}b.initialType=e;d.linkSeries();f&&b.linkedSeries.length&&(b.isDirtyData=!0);L(this,"afterUpdate");H(c,!0)&&d.redraw(r?void 0:!1)};e.prototype.setName=function(a){this.name=this.options.name= this.userOptions.name=a;this.chart.isDirtyLegend=!0};e.prototype.hasOptionChanged=function(a){var c=this.options[a],b=this.chart.options.plotOptions,d=this.userOptions[a];return d?c!==d:c!==H(b&&b[this.type]&&b[this.type][a],b&&b.series&&b.series[a],c)};e.prototype.onMouseOver=function(){var a=this.chart,c=a.hoverSeries;a.pointer.setHoverChartIndex();if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&L(this,"mouseOver");this.setState("hover");a.hoverSeries=this};e.prototype.onMouseOut=function(){var a= this.options,c=this.chart,b=c.tooltip,d=c.hoverPoint;c.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&L(this,"mouseOut");!b||this.stickyTracking||b.shared&&!this.noSharedTooltip||b.hide();c.series.forEach(function(a){a.setState("",!0)})};e.prototype.setState=function(a,c){var b=this,d=b.options,g=b.graph,e=d.inactiveOtherPoints,f=d.states,k=H(f[a||"normal"]&&f[a||"normal"].animation,b.chart.options.chart.animation),h=d.lineWidth,m=0,n=d.opacity;a=a||"";if(b.state!==a&&([b.group,b.markerGroup, b.dataLabelsGroup].forEach(function(c){c&&(b.state&&c.removeClass("highcharts-series-"+b.state),a&&c.addClass("highcharts-series-"+a))}),b.state=a,!b.chart.styledMode)){if(f[a]&&!1===f[a].enabled)return;a&&(h=f[a].lineWidth||h+(f[a].lineWidthPlus||0),n=H(f[a].opacity,n));if(g&&!g.dashstyle)for(d={"stroke-width":h},g.animate(d,k);b["zone-graph-"+m];)b["zone-graph-"+m].animate(d,k),m+=1;e||[b.group,b.markerGroup,b.dataLabelsGroup,b.labelBySeries].forEach(function(a){a&&a.animate({opacity:n},k)})}c&& e&&b.points&&b.setAllPointsToState(a||void 0)};e.prototype.setAllPointsToState=function(a){this.points.forEach(function(c){c.setState&&c.setState(a)})};e.prototype.setVisible=function(a,c){var b=this,d=b.chart,g=b.legendItem,e=d.options.chart.ignoreHiddenSeries,f=b.visible,k=(b.visible=a=b.options.visible=b.userOptions.visible="undefined"===typeof a?!f:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(b[a])b[a][k]()});if(d.hoverSeries===b||(d.hoverPoint&& d.hoverPoint.series)===b)b.onMouseOut();g&&d.legend.colorizeItem(b,a);b.isDirty=!0;b.options.stacking&&d.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});b.linkedSeries.forEach(function(c){c.setVisible(a,!1)});e&&(d.isDirtyBox=!0);L(b,k);!1!==c&&d.redraw()};e.prototype.show=function(){this.setVisible(!0)};e.prototype.hide=function(){this.setVisible(!1)};e.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===typeof a?!this.selected:a;this.checkbox&& (this.checkbox.checked=a);L(this,a?"select":"unselect")};e.prototype.shouldShowTooltip=function(a,c,b){void 0===b&&(b={});b.series=this;b.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,b)};e.defaultOptions=G;return e}();A(f.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:v.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:E,requireSorting:!0,sorted:!0});B.series=f;"";"";return f}); K(l,"Extensions/ScrollablePlotArea.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/Axis/Axis.js"],l["Core/Chart/Chart.js"],l["Core/Series/Series.js"],l["Core/Renderer/RendererRegistry.js"],l["Core/Utilities.js"]],function(f,e,l,C,v,E){var G=f.stop,B=E.addEvent,y=E.createElement,t=E.defined,h=E.merge,d=E.pick;B(l,"afterSetChartSize",function(b){var d=this.options.chart.scrollablePlotArea,f=d&&d.minWidth;d=d&&d.minHeight;if(!this.renderer.forExport){if(f){if(this.scrollablePixelsX=f=Math.max(0, f-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox);this.plotBox.width=this.plotWidth+=f;this.inverted?this.clipBox.height+=f:this.clipBox.width+=f;var l={1:{name:"right",value:f}}}}else d&&(this.scrollablePixelsY=f=Math.max(0,d-this.chartHeight),t(f)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=f,this.inverted?this.clipBox.width+=f:this.clipBox.height+=f,l={2:{name:"bottom",value:f}}));l&&!b.skipAxes&& this.axes.forEach(function(b){l[b.side]?b.getPlotLinePath=function(){var d=l[b.side].name,f=this[d];this[d]=f-l[b.side].value;var h=e.prototype.getPlotLinePath.apply(this,arguments);this[d]=f;return h}:(b.setAxisSize(),b.setAxisTranslation())})}});B(l,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});l.prototype.setUpScrolling=function(){var b=this,d={WebkitOverflowScrolling:"touch", overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(d.overflowX="auto");this.scrollablePixelsY&&(d.overflowY="auto");this.scrollingParent=y("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=y("div",{className:"highcharts-scrolling"},d,this.scrollingParent);B(this.scrollingContainer,"scroll",function(){b.pointer&&delete b.pointer.chartPosition});this.innerContainer=y("div",{className:"highcharts-inner-container"},null,this.scrollingContainer); this.innerContainer.appendChild(this.container);this.setUpScrolling=null};l.prototype.moveFixedElements=function(){var b=this.container,d=this.fixedRenderer,e=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),f;this.scrollablePixelsX&& !this.inverted?f=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(f=".highcharts-yaxis");f&&e.push(""+f+":not(.highcharts-radial-axis)",""+f+"-labels:not(.highcharts-radial-axis-labels)");e.forEach(function(e){[].forEach.call(b.querySelectorAll(e),function(b){(b.namespaceURI===d.SVG_NS?d.box:d.box.parentNode).appendChild(b);b.style.pointerEvents="auto"})})};l.prototype.applyFixed= function(){var b=!this.fixedDiv,e=this.options.chart,f=e.scrollablePlotArea,h=v.getRendererType();b?(this.fixedDiv=y("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new h(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style), this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(f.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),B(this,"afterShowResetZoom",this.moveFixedElements),B(this,"afterApplyDrilldown",this.moveFixedElements),B(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||b)this.scrollableDirty=!1,this.moveFixedElements();e=this.chartWidth+(this.scrollablePixelsX|| 0);h=this.chartHeight+(this.scrollablePixelsY||0);G(this.container);this.container.style.width=e+"px";this.container.style.height=h+"px";this.renderer.boxWrapper.attr({width:e,height:h,viewBox:[0,0,e,h].join(" ")});this.chartBackground.attr({width:e,height:h});this.scrollingContainer.style.height=this.chartHeight+"px";b&&(f.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*f.scrollPositionX),f.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*f.scrollPositionY)); h=this.axisOffset;b=this.plotTop-h[0]-1;f=this.plotLeft-h[3]-1;e=this.plotTop+this.plotHeight+h[2]+1;h=this.plotLeft+this.plotWidth+h[1]+1;var n=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),l=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);b=this.scrollablePixelsX?[["M",0,b],["L",this.plotLeft-1,b],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",n,b],["L",this.chartWidth,b],["L",this.chartWidth,e],["L",n,e],["Z"]]:this.scrollablePixelsY?[["M",f,0],["L",f,this.plotTop-1],["L",h,this.plotTop- 1],["L",h,0],["Z"],["M",f,l],["L",f,this.chartHeight],["L",h,this.chartHeight],["L",h,l],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:b})};B(e,"afterInit",function(){this.chart.scrollableDirty=!0});B(C,"show",function(){this.chart.scrollableDirty=!0});""});K(l,"Core/Axis/StackingAxis.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/Axis/Axis.js"],l["Core/Utilities.js"]],function(f,e,l){var C=f.getDeferredAnimation,v=l.addEvent,E=l.destroyObjectProperties, G=l.fireEvent,B=l.isNumber,y=l.objectEach,t;(function(e){function d(){var b=this.stacking;if(b){var d=b.stacks;y(d,function(b,e){E(b);d[e]=null});b&&b.stackTotalGroup&&b.stackTotalGroup.destroy()}}function b(){this.stacking||(this.stacking=new h(this))}var f=[];e.compose=function(e){-1===f.indexOf(e)&&(f.push(e),v(e,"init",b),v(e,"destroy",d));return e};var h=function(){function b(b){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=b}b.prototype.buildStacks=function(){var b=this.axis, d=b.series,e=b.options.reversedStacks,f=d.length,h;if(!b.isXAxis){this.usePercentage=!1;for(h=f;h--;){var m=d[e?h:f-h-1];m.setStackedPoints();m.setGroupedPoints()}for(h=0;hl&&f.shadow));n&&(n.startX=h.xMap,n.isArea=h.isArea)})};l.prototype.getGraphPath=function(e,f,h){var d=this,b=d.options,p=[],l=[],r,n=b.step;e=e||d.points;var t=e.reversed;t&&e.reverse();(n={right:1, center:2}[n]||n&&3)&&t&&(n=4-n);e=this.getValidPoints(e,!1,!(b.connectNulls&&!f&&!h));e.forEach(function(q,t){var x=q.plotX,m=q.plotY,k=e[t-1];(q.leftCliff||k&&k.rightCliff)&&!h&&(r=!0);q.isNull&&!v(f)&&0e&&t>b?(t=Math.max(e,b),w=2*b-t):th&&w>b?(w=Math.max(h,b),t=2*b-w):w=Math.abs(b)&&.5a.closestPointRange*a.xAxis.transA;e=a.borderWidth=z(c.borderWidth,e?0:1);var f=a.xAxis,k=a.yAxis,h=c.threshold,m=a.translatedThreshold=k.getThreshold(h),l=z(c.minPointLength,5),n=a.getColumnMetrics(),q=n.width,r=a.pointXOffset=n.offset,t=a.dataMin,x=a.dataMax,w=a.barW=Math.max(q,1+2*e);b.inverted&&(m-=.5);c.pointPadding&&(w=Math.ceil(w)); v.prototype.translate.apply(a);a.points.forEach(function(e){var g=z(e.yBottom,m),u=999+Math.abs(g),A=e.plotX||0;u=d(e.plotY,-u,k.len+u);var v=Math.min(u,g),y=Math.max(u,g)-v,D=q,B=A+r,C=w;l&&Math.abs(y)l?g-l:m-(A?l:0));p(e.options.pointWidth)&&(D=C=Math.ceil(e.options.pointWidth),B-=Math.round((D-q)/2));c.centerInCategory&&(B=a.adjustForMissingColumns(B, D,e,n));e.barX=B;e.pointWidth=D;e.tooltipPos=b.inverted?[d(k.len+k.pos-b.plotLeft-u,k.pos-b.plotLeft,k.len+k.pos-b.plotLeft),f.len+f.pos-b.plotTop-B-C/2,y]:[f.left-b.plotLeft+B+C/2,d(u+k.pos-b.plotTop,k.pos-b.plotTop,k.len+k.pos-b.plotTop),y];e.shapeType=a.pointClass.prototype.shapeType||"rect";e.shapeArgs=a.crispCol.apply(a,e.isNull?[B,m,C,0]:[B,v,C,y])})};f.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};f.prototype.pointAttribs=function(a, b){var c=this.options,d=this.pointAttrToOptions||{},e=d.stroke||"borderColor",g=d["stroke-width"]||"borderWidth",f=a&&a.color||this.color,k=a&&a[e]||c[e]||f;d=a&&a.options.dashStyle||c.dashStyle;var h=a&&a[g]||c[g]||this[g]||0,m=z(a&&a.opacity,c.opacity,1);if(a&&this.zones.length){var l=a.getZone();f=a.options.color||l&&(l.color||a.nonZonedColor)||this.color;l&&(k=l.borderColor||k,d=l.dashStyle||d,h=l.borderWidth||h)}b&&a&&(a=w(c.states[b],a.options.states&&a.options.states[b]||{}),b=a.brightness, f=a.color||"undefined"!==typeof b&&t(f).brighten(a.brightness).get()||f,k=a[e]||k,h=a[g]||h,d=a.dashStyle||d,m=z(a.opacity,m));e={fill:f,stroke:k,"stroke-width":h,opacity:m};d&&(e.dashstyle=d);return e};f.prototype.drawPoints=function(){var a=this,b=this.chart,c=a.options,d=b.renderer,e=c.animationLimit||250,f;a.points.forEach(function(g){var k=g.graphic,h=!!k,m=k&&b.pointCount"===a&&b>d||"<"===a&&b="===a&&b>=d||"<="===a&&b<=d||"=="===a&&b==d||"==="===a&&b===d?!0:!1):!0}function p(){var e=this,a=e.chart,g=e.options,c=e.points,f=e.hasRendered||0,m=a.renderer,p=g.dataLabels,n,q= p.animation;q=p.defer?C(a,q,e):{defer:0,duration:0};p=z(z(a.options.plotOptions&&a.options.plotOptions.series&&a.options.plotOptions.series.dataLabels,a.options.plotOptions&&a.options.plotOptions[e.type]&&a.options.plotOptions[e.type].dataLabels),p);B(this,"drawDataLabels");if(y(p)||p.enabled||e._hasPointLabels){var r=e.plotGroup("dataLabelsGroup","data-labels",f?"inherit":"hidden",p.zIndex||6);r.attr({opacity:+f});!f&&(f=e.dataLabelsGroup)&&(e.visible&&r.show(),f[g.animation?"animate":"attr"]({opacity:1}, q));c.forEach(function(c){n=b(z(p,c.dlOptions||c.options&&c.options.dataLabels));n.forEach(function(b,f){var k=b.enabled&&(!c.isNull||c.dataLabelOnNull)&&l(c,b),p=c.connectors?c.connectors[f]:c.connector,n=c.dataLabels?c.dataLabels[f]:c.dataLabel,q=!n,t=d(b.distance,c.labelDistance);if(k){var u=c.getLabelConfig();var x=d(b[c.formatPrefix+"Format"],b.format);u=E(x)?v(x,u,a):(b[c.formatPrefix+"Formatter"]||b.formatter).call(u,b);x=b.style;var z=b.rotation;a.styledMode||(x.color=d(b.color,x.color,e.color, "#000000"),"contrast"===x.color?(c.contrastColor=m.getContrast(c.color||e.color),x.color=!E(t)&&b.inside||0>t||g.stacking?c.contrastColor:"#000000"):delete c.contrastColor,g.cursor&&(x.cursor=g.cursor));var w={r:b.borderRadius||0,rotation:z,padding:b.padding,zIndex:1};a.styledMode||(w.fill=b.backgroundColor,w.stroke=b.borderColor,w["stroke-width"]=b.borderWidth);h(w,function(a,b){"undefined"===typeof a&&delete w[b]})}!n||k&&E(u)&&!!n.div===!!b.useHTML&&(n.rotation&&b.rotation||n.rotation===b.rotation)|| (q=!0,c.dataLabel=n=c.dataLabel&&c.dataLabel.destroy(),c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[f]),f||delete c.dataLabel,p&&(c.connector=c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[f])));k&&E(u)?(n?w.text=u:(c.dataLabels=c.dataLabels||[],n=c.dataLabels[f]=z?m.text(u,0,0,b.useHTML).addClass("highcharts-data-label"):m.label(u,0,0,b.shape,null,null,b.useHTML,null,"data-label"),f||(c.dataLabel=n),n.addClass(" highcharts-data-label-color-"+ c.colorIndex+" "+(b.className||"")+(b.useHTML?" highcharts-tracker":""))),n.options=b,n.attr(w),a.styledMode||n.css(x).shadow(b.shadow),n.added||n.add(r),b.textPath&&!b.useHTML&&(n.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(n)||c.graphic,b.textPath),c.dataLabelPath&&!b.textPath.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),e.alignDataLabel(c,n,b,null,q)):n&&n.hide()})})}B(this,"afterDrawDataLabels")}function q(b,a,d,c,e,f){var g=this.chart,k=a.align,h=a.verticalAlign,m=b.box?0:b.padding|| 0,l=a.x;l=void 0===l?0:l;var n=a.y;n=void 0===n?0:n;var p=(d.x||0)+m;if(0>p){"right"===k&&0<=l?(a.align="left",a.inside=!0):l-=p;var q=!0}p=(d.x||0)+c.width-m;p>g.plotWidth&&("left"===k&&0>=l?(a.align="right",a.inside=!0):l+=g.plotWidth-p,q=!0);p=d.y+m;0>p&&("bottom"===h&&0<=n?(a.verticalAlign="top",a.inside=!0):n-=p,q=!0);p=(d.y||0)+c.height-m;p>g.plotHeight&&("top"===h&&0>=n?(a.verticalAlign="bottom",a.inside=!0):n+=g.plotHeight-p,q=!0);q&&(a.x=l,a.y=n,b.placed=!f,b.align(a,void 0,e));return q} function z(b,a){var d=[],c;if(y(b)&&!y(a))d=b.map(function(b){return t(b,a)});else if(y(a)&&!y(b))d=a.map(function(a){return t(b,a)});else if(y(b)||y(a))for(c=Math.max(b.length,a.length);c--;)d[c]=t(b[c],a[c]);else d=t(b,a);return d}function x(b,a,d,c,e){var g=this.chart,f=g.inverted,h=this.xAxis,k=h.reversed,m=f?a.height/2:a.width/2;b=(b=b.pointWidth)?b/2:0;a.startXPos=f?e.x:k?-m-b:h.width-m+b;a.startYPos=f?k?this.yAxis.height-m+b:-m-b:e.y;c?"hidden"===a.visibility&&(a.show(),a.attr({opacity:0}).animate({opacity:1})): a.attr({opacity:1}).animate({opacity:0},void 0,a.hide);g.hasRendered&&(d&&a.attr({x:a.startXPos,y:a.startYPos}),a.placed=!0)}var m=[];e.compose=function(b){if(-1===m.indexOf(b)){var a=b.prototype;m.push(b);a.alignDataLabel=f;a.drawDataLabels=p;a.justifyDataLabel=q;a.setDataLabelStartPos=x}}})(p||(p={}));"";return p});K(l,"Series/Column/ColumnDataLabel.js",[l["Core/Series/DataLabel.js"],l["Core/Series/SeriesRegistry.js"],l["Core/Utilities.js"]],function(f,e,l){var C=e.series,v=l.merge,E=l.pick,G;(function(e){function l(e, d,b,f,l){var h=this.chart.inverted,n=e.series,p=(n.xAxis?n.xAxis.len:this.chart.plotSizeX)||0;n=(n.yAxis?n.yAxis.len:this.chart.plotSizeY)||0;var q=e.dlBox||e.shapeArgs,t=E(e.below,e.plotY>E(this.translatedThreshold,n)),x=E(b.inside,!!this.options.stacking);q&&(f=v(q),0>f.y&&(f.height+=f.y,f.y=0),q=f.y+f.height-n,0\u25cf {series.name}
', pointFormat:"x: {point.x}
y: {point.y}
"}});return f}(E);G(e.prototype,{drawTracker:v.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});C(e,"afterTranslate",function(){this.applyJitter()});f.registerSeriesType("scatter",e);"";return e});K(l,"Series/CenteredUtilities.js",[l["Core/Globals.js"],l["Core/Series/Series.js"],l["Core/Utilities.js"]],function(f,e,l){var C=f.deg2rad,v=l.fireEvent, E=l.isNumber,G=l.pick,B=l.relativeLength,y;(function(f){f.getCenter=function(){var f=this.options,d=this.chart,b=2*(f.slicedOffset||0),l=d.plotWidth-2*b,q=d.plotHeight-2*b,r=f.center,n=Math.min(l,q),t=f.thickness,w=f.size,z=f.innerSize||0;"string"===typeof w&&(w=parseFloat(w));"string"===typeof z&&(z=parseFloat(z));f=[G(r[0],"50%"),G(r[1],"50%"),G(w&&0>w?void 0:f.size,"100%"),G(z&&0>z?void 0:f.innerSize||0,"0%")];!d.angular||this instanceof e||(f[3]=0);for(r=0;4>r;++r)w=f[r],d=2>r||2===r&&/%$/.test(w), f[r]=B(w,[l,q,n,f[2]][r])+(d?b:0);f[3]>f[2]&&(f[3]=f[2]);E(t)&&2*te&&360>d-e?d:e+360;return{start:C*(e+-90),end:C*(d+-90)}}})(y||(y={}));"";return y});K(l,"Series/Pie/PiePoint.js",[l["Core/Animation/AnimationUtilities.js"],l["Core/Series/Point.js"],l["Core/Utilities.js"]],function(f,e,l){var C=this&&this.__extends||function(){var e=function(d,b){e=Object.setPrototypeOf|| {__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return e(d,b)};return function(d,b){function f(){this.constructor=d}e(d,b);d.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),v=f.setAnimation,E=l.addEvent,G=l.defined;f=l.extend;var B=l.isNumber,y=l.pick,t=l.relativeLength;e=function(e){function d(){var b=null!==e&&e.apply(this,arguments)||this;b.labelDistance=void 0;b.options=void 0;b.series=void 0; return b}C(d,e);d.prototype.getConnectorPath=function(){var b=this.labelPosition,d=this.series.options.dataLabels,e=this.connectorShapes,f=d.connectorShape;e[f]&&(f=e[f]);return f.call(this,{x:b.final.x,y:b.final.y,alignment:b.alignment},b.connectorPosition,d)};d.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};d.prototype.haloPath=function(b){var d=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(d.x, d.y,d.r+b,d.r+b,{innerR:d.r-1,start:d.start,end:d.end})};d.prototype.init=function(){var b=this;e.prototype.init.apply(this,arguments);this.name=y(this.name,"Slice");var d=function(d){b.slice("select"===d.type)};E(this,"select",d);E(this,"unselect",d);return this};d.prototype.isValid=function(){return B(this.y)&&0<=this.y};d.prototype.setVisible=function(b,d){var e=this,f=this.series,h=f.chart,l=f.options.ignoreHiddenPoint;d=y(d,l);b!==this.visible&&(this.visible=this.options.visible=b="undefined"=== typeof b?!this.visible:b,f.options.data[f.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(d){if(e[d])e[d][b?"show":"hide"](b)}),this.legendItem&&h.legend.colorizeItem(this,b),b||"hover"!==this.state||this.setState(""),l&&(f.isDirty=!0),d&&h.redraw())};d.prototype.slice=function(b,d,e){var f=this.series;v(e,f.chart);y(d,!0);this.sliced=this.options.sliced=G(b)?b:!this.sliced;f.options.data[f.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate()); this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return d}(e);f(e.prototype,{connectorShapes:{fixedOffset:function(e,d,b){var f=d.breakAt;d=d.touchingSliceAt;return[["M",e.x,e.y],b.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*f.x-d.x,2*f.y-d.y,f.x,f.y]:["L",f.x,f.y],["L",d.x,d.y]]},straight:function(e,d){d=d.touchingSliceAt;return[["M",e.x,e.y],["L",d.x,d.y]]},crookedLine:function(e,d,b){d=d.touchingSliceAt;var f=this.series,h=f.center[0],l=f.chart.plotWidth,n=f.chart.plotLeft; f=e.alignment;var v=this.shapeArgs.r;b=t(b.crookDistance,1);l="left"===f?h+v+(l+n-h-v)*(1-b):n+(h-v)*b;b=["L",l,e.y];h=!0;if("left"===f?l>e.x||ld.x)h=!1;e=[["M",e.x,e.y]];h&&e.push(b);e.push(["L",d.x,d.y]);return e}}});return e});K(l,"Series/Pie/PieSeries.js",[l["Series/CenteredUtilities.js"],l["Series/Column/ColumnSeries.js"],l["Core/Globals.js"],l["Core/Legend/LegendSymbol.js"],l["Series/Pie/PiePoint.js"],l["Core/Series/Series.js"],l["Core/Series/SeriesRegistry.js"],l["Core/Renderer/SVG/Symbols.js"], l["Core/Utilities.js"]],function(f,e,l,C,v,E,G,B,y){var t=this&&this.__extends||function(){var b=function(d,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(d,e)};return function(d,e){function f(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),h=f.getStartAndEndRadians;l=l.noop;var d=y.clamp,b=y.extend,p=y.fireEvent,q=y.merge,r=y.pick, n=y.relativeLength;y=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;d.center=void 0;d.data=void 0;d.maxLabelDistance=void 0;d.options=void 0;d.points=void 0;return d}t(e,b);e.prototype.animate=function(b){var d=this,e=d.points,f=d.startAngleRad;b||e.forEach(function(a){var b=a.graphic,c=a.shapeArgs;b&&c&&(b.attr({r:r(a.startR,d.center&&d.center[3]/2),start:f,end:f}),b.animate({r:c.r,start:c.start,end:c.end},d.options.animation))})};e.prototype.drawEmpty=function(){var b=this.startAngleRad, d=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var f=this.center[0];var a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,a,this.center[1]/2,0,b,d).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:B.arc(f,a,this.center[2]/2,0,{start:b,end:d,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())}; e.prototype.drawPoints=function(){var b=this.chart.renderer;this.points.forEach(function(d){d.graphic&&d.hasNewShapeType()&&(d.graphic=d.graphic.destroy());d.graphic||(d.graphic=b[d.shapeType](d.shapeArgs).add(d.series.group),d.delayedRendering=!0)})};e.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};e.prototype.getX=function(b,e,f){var k=this.center,a=this.radii?this.radii[f.index]||0:k[2]/2;b=Math.asin(d((b-k[1])/(a+f.labelDistance),-1,1));return k[0]+ (e?-1:1)*Math.cos(b)*(a+f.labelDistance)+(01.5*Math.PI?y-=2*Math.PI:y<-Math.PI/2&&(y+=2*Math.PI);w.slicedTranslation={translateX:Math.round(Math.cos(y)*e),translateY:Math.round(Math.sin(y)* e)};B=Math.cos(y)*b[2]/2;var C=Math.sin(y)*b[2]/2;w.tooltipPos=[b[0]+.7*B,b[1]+.7*C];w.half=y<-Math.PI/2||y>Math.PI/2?1:0;w.angle=y;z=Math.min(f,w.labelDistance/5);w.labelPosition={natural:{x:b[0]+B+Math.cos(y)*w.labelDistance,y:b[1]+C+Math.sin(y)*w.labelDistance},"final":{},alignment:0>w.labelDistance?"center":w.half?"right":"left",connectorPosition:{breakAt:{x:b[0]+B+Math.cos(y)*z,y:b[1]+C+Math.sin(y)*z},touchingSliceAt:{x:b[0]+B,y:b[1]+C}}}}p(this,"afterTranslate")};e.prototype.updateTotals=function(){var b= this.points,d=b.length,e=this.options.ignoreHiddenPoint,f,a=0;for(f=0;fq&&(a.dataLabel.css({width:Math.round(.7*q)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),v.forEach(function(d,f){var k=d.length,m=[],q;if(k){e.sortByAngle(d,f-.5);if(0l-c&&0===f&&(u=Math.round(N+P-l+c),w[1]=Math.max(u,w[1])),0>V-T/2?w[0]=Math.max(Math.round(-V+T/2),w[0]):V+T/2>n&&(w[2]=Math.max(Math.round(V+T/2-n),w[2])),K.sideOverflow=u)}}}),0===y(w)||this.verifyDataLabelOverflow(w))&&(this.placeDataLabels(),this.points.forEach(function(c){Q=d(g,c.options.dataLabels);if(E=b(Q.connectorWidth,1)){var f;J=c.connector;if((K=c.dataLabel)&&K._pos&&c.visible&&0d.bottom-2?e:a,d.half,d)},justify:function(b,d,a){return a[0]+(b.half?-1:1)*(d+b.labelDistance)},alignToPlotEdges:function(b, d,a,e){b=b.getBBox().width;return d?b+e:a-b-e},alignToConnectors:function(b,d,a,e){var c=0,f;b.forEach(function(a){f=a.dataLabel.getBBox().width;f>c&&(c=f)});return d?c+e:a-c-e}};e.compose=function(b){f.compose(B);-1===v.indexOf(b)&&(v.push(b),b=b.prototype,b.dataLabelPositioners=x,b.alignDataLabel=E,b.drawDataLabels=l,b.placeDataLabels=q,b.verifyDataLabelOverflow=r)}})(q||(q={}));return q});K(l,"Extensions/OverlappingDataLabels.js",[l["Core/Chart/Chart.js"],l["Core/Utilities.js"]],function(f,e){function l(e, f){var d=!1;if(e){var b=e.newOpacity;e.oldOpacity!==b&&(e.alignAttr&&e.placed?(e[b?"removeClass":"addClass"]("highcharts-data-label-hidden"),d=!0,e.alignAttr.opacity=b,e[e.isOld?"animate":"attr"](e.alignAttr,null,function(){f.styledMode||e.css({pointerEvents:b?"auto":"none"})}),v(f,"afterHideOverlappingLabel")):e.attr({opacity:b}));e.isOld=!0}return d}var C=e.addEvent,v=e.fireEvent,E=e.isArray,G=e.isNumber,B=e.objectEach,y=e.pick;C(f,"render",function(){var e=this,f=[];(this.labelCollectors||[]).forEach(function(d){f= f.concat(d())});(this.yAxis||[]).forEach(function(d){d.stacking&&d.options.stackLabels&&!d.options.stackLabels.allowOverlap&&B(d.stacking.stacks,function(b){B(b,function(b){b.label&&f.push(b.label)})})});(this.series||[]).forEach(function(d){var b=d.options.dataLabels;d.visible&&(!1!==b.enabled||d._hasPointLabels)&&(b=function(b){return b.forEach(function(b){b.visible&&(E(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[]).forEach(function(d){var h=d.options;d.labelrank=y(h.labelrank,b.labelrank, b.shapeArgs&&b.shapeArgs.height);h.allowOverlap?(d.oldOpacity=d.opacity,d.newOpacity=1,l(d,e)):f.push(d)})})},b(d.nodes||[]),b(d.points))});this.hideOverlappingLabels(f)});f.prototype.hideOverlappingLabels=function(e){var f=this,d=e.length,b=f.renderer,p,q,r,n=!1;var t=function(d){var e,f=d.box?0:d.padding||0,a=e=0,g;if(d&&(!d.alignAttr||d.placed)){var c=d.alignAttr||{x:d.attr("x"),y:d.attr("y")};var h=d.parentGroup;d.width||(e=d.getBBox(),d.width=e.width,d.height=e.height,e=b.fontMetrics(null,d.element).h); var l=d.width-2*f;(g={left:"0",center:"0.5",right:"1"}[d.alignValue])?a=+g*l:G(d.x)&&Math.round(d.x)!==d.translateX&&(a=d.x-d.translateX);return{x:c.x+(h.translateX||0)+f-(a||0),y:c.y+(h.translateY||0)+f-e,width:d.width-2*f,height:d.height-2*f}}};for(q=0;q=w.x+w.width||z.x+z.width<=w.x||z.y>=w.y+w.height||z.y+z.height<=w.y||((t.labelrank=B(e.minWidth,0)&&this.chartHeight>=B(e.minHeight,0)}).call(this)&&d.push(b._id)};b.prototype.setResponsive=function(b,d){var e=this,f=this.options.responsive,h=this.currentResponsive,n=[];!d&&f&&f.rules&&f.rules.forEach(function(b){"undefined"===typeof b._id&&(b._id=t());e.matchResponsiveRule(b, n)},this);d=E.apply(void 0,n.map(function(b){return l((f||{}).rules||[],function(d){return d._id===b})}).map(function(b){return b&&b.chartOptions}));d.isResponsiveOptions=!0;n=n.toString()||void 0;n!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,b,!0),n?(h=this.currentOptions(d),h.isResponsiveOptions=!0,this.currentResponsive={ruleIds:n,mergedOptions:d,undoOptions:h},this.update(d,b,!0)):this.currentResponsive=void 0)};return b}()})(h||(h={}));"";"";return h});K(l,"masters/highcharts.src.js",[l["Core/Globals.js"], l["Core/Utilities.js"],l["Core/DefaultOptions.js"],l["Core/Animation/Fx.js"],l["Core/Animation/AnimationUtilities.js"],l["Core/Renderer/HTML/AST.js"],l["Core/FormatUtilities.js"],l["Core/Renderer/RendererUtilities.js"],l["Core/Renderer/SVG/SVGElement.js"],l["Core/Renderer/SVG/SVGRenderer.js"],l["Core/Renderer/HTML/HTMLElement.js"],l["Core/Renderer/HTML/HTMLRenderer.js"],l["Core/Axis/Axis.js"],l["Core/Axis/DateTimeAxis.js"],l["Core/Axis/LogarithmicAxis.js"],l["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"], l["Core/Axis/Tick.js"],l["Core/Tooltip.js"],l["Core/Series/Point.js"],l["Core/Pointer.js"],l["Core/MSPointer.js"],l["Core/Legend/Legend.js"],l["Core/Chart/Chart.js"],l["Core/Series/Series.js"],l["Core/Series/SeriesRegistry.js"],l["Series/Column/ColumnSeries.js"],l["Series/Column/ColumnDataLabel.js"],l["Series/Pie/PieSeries.js"],l["Series/Pie/PieDataLabel.js"],l["Core/Series/DataLabel.js"],l["Core/Responsive.js"],l["Core/Color/Color.js"],l["Core/Time.js"]],function(f,e,l,C,v,E,G,B,y,t,h,d,b,p,q,r, n,J,w,z,x,m,k,a,g,c,D,A,u,K,S,R,M){f.animate=v.animate;f.animObject=v.animObject;f.getDeferredAnimation=v.getDeferredAnimation;f.setAnimation=v.setAnimation;f.stop=v.stop;f.timers=C.timers;f.AST=E;f.Axis=b;f.Chart=k;f.chart=k.chart;f.Fx=C;f.Legend=m;f.PlotLineOrBand=r;f.Point=w;f.Pointer=x.isRequired()?x:z;f.Series=a;f.SVGElement=y;f.SVGRenderer=t;f.Tick=n;f.Time=M;f.Tooltip=J;f.Color=R;f.color=R.parse;d.compose(t);h.compose(y);f.defaultOptions=l.defaultOptions;f.getOptions=l.getOptions;f.time=l.defaultTime; f.setOptions=l.setOptions;f.dateFormat=G.dateFormat;f.format=G.format;f.numberFormat=G.numberFormat;f.addEvent=e.addEvent;f.arrayMax=e.arrayMax;f.arrayMin=e.arrayMin;f.attr=e.attr;f.clearTimeout=e.clearTimeout;f.correctFloat=e.correctFloat;f.createElement=e.createElement;f.css=e.css;f.defined=e.defined;f.destroyObjectProperties=e.destroyObjectProperties;f.discardElement=e.discardElement;f.distribute=B.distribute;f.erase=e.erase;f.error=e.error;f.extend=e.extend;f.extendClass=e.extendClass;f.find= e.find;f.fireEvent=e.fireEvent;f.getMagnitude=e.getMagnitude;f.getStyle=e.getStyle;f.inArray=e.inArray;f.isArray=e.isArray;f.isClass=e.isClass;f.isDOMElement=e.isDOMElement;f.isFunction=e.isFunction;f.isNumber=e.isNumber;f.isObject=e.isObject;f.isString=e.isString;f.keys=e.keys;f.merge=e.merge;f.normalizeTickInterval=e.normalizeTickInterval;f.objectEach=e.objectEach;f.offset=e.offset;f.pad=e.pad;f.pick=e.pick;f.pInt=e.pInt;f.relativeLength=e.relativeLength;f.removeEvent=e.removeEvent;f.seriesType= g.seriesType;f.splat=e.splat;f.stableSort=e.stableSort;f.syncTimeout=e.syncTimeout;f.timeUnits=e.timeUnits;f.uniqueKey=e.uniqueKey;f.useSerialIds=e.useSerialIds;f.wrap=e.wrap;D.compose(c);K.compose(a);p.compose(b);q.compose(b);u.compose(A);r.compose(b);S.compose(k);return f});l["masters/highcharts.src.js"]._modules=l;return l["masters/highcharts.src.js"]});