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