/* Highcharts JS v8.2.2 (2020-10-22) Old IE (v6, v7, v8) module for Highcharts v6+. (c) 2010-2019 Highsoft AS Author: Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/oldie",["highcharts"],function(A){a(A);a.Highcharts=A;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function A(a,z,p,u){a.hasOwnProperty(z)||(a[z]=u.apply(null,p))}a=a?a._modules:{};A(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,z){var p=z.pick,v=a.deg2rad,h=a.perspective3D=function(g, a,h){a=0t&&l-t>Math.PI/2+.0001?(m=m.concat(g(k, a,b,d,t,t+Math.PI/2,c,e)),m=m.concat(g(k,a,b,d,t+Math.PI/2,l,c,e))):lMath.PI/2+.0001?(m=m.concat(g(k,a,b,d,t,t-Math.PI/2,c,e)),m=m.concat(g(k,a,b,d,t-Math.PI/2,l,c,e))):[["C",k+b*Math.cos(t)-b*N*n*Math.sin(t)+c,a+d*Math.sin(t)+d*N*n*Math.cos(t)+e,k+b*Math.cos(l)+b*N*n*Math.sin(l)+c,a+d*Math.sin(l)-d*N*n*Math.cos(l)+e,k+b*Math.cos(l)+c,a+d*Math.sin(l)+e]]}var v=a.animObject,D=z.parse,r=u.perspective,A=u.shapeArea,F=q.defined,y=q.extend,J=q.merge,M=q.objectEach,C=q.pick,L=Math.cos,G=Math.PI, I=Math.sin,H=p.charts,O=p.deg2rad;var N=4*(Math.sqrt(2)-1)/3/(G/2);f.prototype.toLinePath=function(k,a){var b=[];k.forEach(function(d){b.push(["L",d.x,d.y])});k.length&&(b[0][0]="M",a&&b.push(["Z"]));return b};f.prototype.toLineSegments=function(a){var k=[],b=!0;a.forEach(function(d){k.push(b?["M",d.x,d.y]:["L",d.x,d.y]);b=!b});return k};f.prototype.face3d=function(a){var k=this,b=this.createElement("path");b.vertexes=[];b.insidePlotArea=!1;b.enabled=!0;b.attr=function(b){if("object"===typeof b&& (F(b.enabled)||F(b.vertexes)||F(b.insidePlotArea))){this.enabled=C(b.enabled,this.enabled);this.vertexes=C(b.vertexes,this.vertexes);this.insidePlotArea=C(b.insidePlotArea,this.insidePlotArea);delete b.enabled;delete b.vertexes;delete b.insidePlotArea;var d=r(this.vertexes,H[k.chartIndex],this.insidePlotArea),l=k.toLinePath(d,!0);d=A(d);d=this.enabled&&0d.faces.length;)b.faces.pop().destroy();for(;b.faces.lengthd.faces.length;)b.faces.pop().destroy();for(;b.faces.lengthe?{x:h[e].x,y:h[e].y+10,z:h[e].z}:h[0].x===h[7].x&&4<=e?{x:h[e].x+10,y:h[e].y,z:h[e].z}:0===m&&2>e||5A(d)?a=[d,0]:0>A(n)?a=[n,1]:m&&(K.push(m),a=0>A(c)?[d,0]:0>A(e)?[n,1]:[d,0]);return a};var B=x([3,2,1,0],[7,6,5,4],"front");a=B[0];var q=B[1];B=x([1,6,7,0],[4,5,2,3],"top"); e=B[0];var E=B[1];B=x([1,2,5,6],[0,7,4,3],"side");x=B[0];B=B[1];1===B?g+=1E6*(n.plotWidth-d):B||(g+=1E6*d);g+=10*(!E||0<=w&&180>=w||360>w&&357.5Math.PI&&(c=2*Math.PI-c);return c}var b=a.x,d=a.y,h=a.start,l=a.end-.00001,c=a.r,e=a.innerR||0,m=a.depth||0,n=a.alpha,w=a.beta,k=Math.cos(h), q=Math.sin(h);a=Math.cos(l);var K=Math.sin(l),x=c*Math.cos(w);c*=Math.cos(n);var B=e*Math.cos(w),p=e*Math.cos(n);e=m*Math.sin(w);var E=m*Math.sin(n);m=[["M",b+x*k,d+c*q]];m=m.concat(g(b,d,x,c,h,l,0,0));m.push(["L",b+B*a,d+p*K]);m=m.concat(g(b,d,B,p,l,h,0,0));m.push(["Z"]);var r=0-r?h:l>-r?-r:h;var v=lu&&hG-w&&h/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g, function(c){return c.toLowerCase()})},a.prototype.isReadyToRender=function(){var c=this;return F||y!=y.top||"complete"===r.readyState?!0:(r.attachEvent("onreadystatechange",function(){r.detachEvent("onreadystatechange",c.firstRender);"complete"===r.readyState&&c.firstRender()}),!1)},r.createElementNS||(r.createElementNS=function(c,a){return r.createElement(a)}),p.addEventListenerPolyfill=function(c,a){function e(c){c.target=c.srcElement||y;a.call(b,c)}var b=this;b.attachEvent&&(b.hcEventsIE||(b.hcEventsIE= {}),a.hcKey||(a.hcKey=l()),b.hcEventsIE[a.hcKey]=e,b.attachEvent("on"+c,e))},p.removeEventListenerPolyfill=function(c,a){this.detachEvent&&(a=this.hcEventsIE[a.hcKey],this.detachEvent("on"+c,a))},a={docMode8:r&&8===r.documentMode,init:function(c,a){var e=["<",a,' filled="f" stroked="f"'],b=["position: ","absolute",";"],d="div"===a;("shape"===a||d)&&b.push("left:0;top:0;width:1px;height:1px;");b.push("visibility: ",d?"hidden":"visible");e.push(' style="',b.join(""),'"/>');a&&(e=d||"span"===a||"img"=== a?e.join(""):c.prepVML(e),this.element=M(e));this.renderer=c},add:function(c){var a=this.renderer,b=this.element,d=a.box,f=c&&c.inverted;d=c?c.element||c:d;c&&(this.parentGroup=c);f&&a.invertChild(b,d);d.appendChild(b);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr("class",this.className);return this},updateTransform:h.prototype.htmlUpdateTransform,setSpanRotation:function(){var c=this.rotation,a=Math.cos(c*D), b=Math.sin(c*D);C(this.element,{filter:c?["progid:DXImageTransform.Microsoft.Matrix(M11=",a,", M12=",-b,", M21=",b,", M22=",a,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(c,a,b,n,f){var e=n?Math.cos(n*D):1,m=n?Math.sin(n*D):0,h=d(this.elemHeight,this.element.offsetHeight);this.xCorr=0>e&&-c;this.yCorr=0>m&&-h;var g=0>e*m;this.xCorr+=m*a*(g?1-b:b);this.yCorr-=e*a*(n?g?b:1-b:1);f&&"left"!==f&&(this.xCorr-=c*b*(0>e?-1:1),n&&(this.yCorr-=h*b*(0>m?-1:1)),C(this.element, {textAlign:f}))},pathToVML:function(c){for(var a=c.length,b=[];a--;)k(c[a])?b[a]=Math.round(10*c[a])-5:"Z"===c[a]?b[a]="x":(b[a]=c[a],!c.isArc||"wa"!==c[a]&&"at"!==c[a]||(b[a+5]===b[a+7]&&(b[a+7]+=c[a+7]>c[a+5]?1:-1),b[a+6]===b[a+8]&&(b[a+8]+=c[a+8]>c[a+6]?1:-1)));return b.join(" ")||"x"},clip:function(c){var a=this;if(c){var b=c.members;I(b,a);b.push(a);a.destroyClip=function(){I(b,a)};c=c.getCSS(a)}else a.destroyClip&&a.destroyClip(),c={clip:a.docMode8?"inherit":"rect(auto)"};return a.css(c)},css:h.prototype.htmlCss, safeRemoveChild:function(c){c.parentNode&&G(c)},destroy:function(){this.destroyClip&&this.destroyClip();return h.prototype.destroy.apply(this)},on:function(c,a){this.element["on"+c]=function(){var c=y.event;c.target=c.srcElement;a(c)};return this},cutOffPath:function(c,a){c=c.split(/[ ,]/);var b=c.length;if(9===b||11===b)c[b-4]=c[b-2]=t(c[b-2])-10*a;return c.join(" ")},shadow:function(c,a,b){var e=[],m,f=this.element,h=this.renderer,g=f.style,l=f.path;l&&"string"!==typeof l.value&&(l="x");var k=l; if(c){var p=d(c.width,3);var q=(c.opacity||.15)/p;for(m=1;3>=m;m++){var r=2*p+1-2*m;b&&(k=this.cutOffPath(l.value,r+.5));var v=[''];var u=M(h.prepVML(v),null,{left:t(g.left)+d(c.offsetX,1),top:t(g.top)+d(c.offsetY,1)});b&&(u.cutOff=r+1);v=[''];M(h.prepVML(v),null,null,u);a?a.element.appendChild(u):f.parentNode.insertBefore(u, f);e.push(u)}this.shadows=e}return this},updateShadows:A,setAttr:function(c,a){this.docMode8?this.element[c]=a:this.element.setAttribute(c,a)},getAttr:function(c){return this.docMode8?this.element[c]:this.element.getAttribute(c)},classSetter:function(c){(this.added?this.element:this).className=c},dashstyleSetter:function(c,a,b){(b.getElementsByTagName("stroke")[0]||M(this.renderer.prepVML([""]),null,null,b))[a]=c||"solid";this[a]=c},dSetter:function(c,a,b){var e=this.shadows;c=c||[];this.d= c.join&&c.join(" ");b.path=c=this.pathToVML(c);if(e)for(b=e.length;b--;)e[b].path=e[b].cutOff?this.cutOffPath(c,e[b].cutOff):c;this.setAttr(a,c)},fillSetter:function(c,a,b){var e=b.nodeName;"SPAN"===e?b.style.color=c:"IMG"!==e&&(b.filled="none"!==c,this.setAttr("fillcolor",this.renderer.color(c,b,a,this)))},"fill-opacitySetter":function(c,a,b){M(this.renderer.prepVML(["<",a.split("-")[0],' opacity="',c,'"/>']),null,null,b)},opacitySetter:A,rotationSetter:function(c,a,b){b=b.style;this[a]=b[a]=c;b.left= -Math.round(Math.sin(c*D)+1)+"px";b.top=Math.round(Math.cos(c*D))+"px"},strokeSetter:function(c,a,b){this.setAttr("strokecolor",this.renderer.color(c,b,a,this))},"stroke-widthSetter":function(c,a,b){b.stroked=!!c;this[a]=c;k(c)&&(c+="px");this.setAttr("strokeweight",c)},titleSetter:function(c,a){this.setAttr(a,c)},visibilitySetter:function(c,a,b){"inherit"===c&&(c="visible");this.shadows&&this.shadows.forEach(function(b){b.style[a]=c});"DIV"===b.nodeName&&(c="hidden"===c?"-999em":0,this.docMode8|| (b.style[a]=c?"visible":"hidden"),a="top");b.style[a]=c},xSetter:function(c,a,b){this[a]=c;"x"===a?a="left":"y"===a&&(a="top");this.updateClipping?(this[a]=c,this.updateClipping()):b.style[a]=c},zIndexSetter:function(a,b,d){d.style[b]=a},fillGetter:function(){return this.getAttr("fillcolor")||""},strokeGetter:function(){return this.getAttr("strokecolor")||""},classGetter:function(){return this.getAttr("className")||""}},a["stroke-opacitySetter"]=a["fill-opacitySetter"],p.VMLElement=a=O(h,a),a.prototype.ySetter= a.prototype.widthSetter=a.prototype.heightSetter=a.prototype.xSetter,u={Element:a,isIE8:-1'];M(c.prepVML(m),null,null,b)};var z=a[0];var C=a[a.length-1];0C[0]&&a.push([1,C[1]]);a.forEach(function(a,c){e.test(a[1])?(J=v(a[1]),l=J.get("rgb"),n=J.get("a")):(l=a[1],n=1);y.push(100*a[0]+"% "+l);c?(q=n,r=l): (p=n,t=l)});if("fill"===d)if("gradient"===h)d=k.x1||k[0]||0,a=k.y1||k[1]||0,z=k.x2||k[2]||0,k=k.y2||k[3]||0,u='angle="'+(90-180*Math.atan((k-a)/(z-d))/Math.PI)+'"',A();else{g=k.r;var D=2*g,F=2*g,G=k.cx,L=k.cy,I=b.radialReference,H;g=function(){I&&(H=f.getBBox(),G+=(I[0]-H.x)/H.width-.5,L+=(I[1]-H.y)/H.height-.5,D*=I[2]/H.width,F*=I[2]/H.height);u='src="'+N().global.VMLRadialGradientURL+'" size="'+D+","+F+'" origin="0.5,0.5" position="'+G+","+L+'" color2="'+t+'" ';A()};f.added?g():f.onAdd=g;g=r}else g= l}else if(e.test(a)&&"IMG"!==b.tagName){var J=v(a);f[d+"-opacitySetter"](J.get("a"),d,b);g=J.get("rgb")}else g=b.getElementsByTagName(d),g.length&&(g[0].opacity=1,g[0].type="solid"),g=a;return g},prepVML:function(a){var c=this.isIE8;a=a.join("");c?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=-1===a.indexOf('style="')?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<", "