PageSourceSearch

https://cea.nic.in/wp-content/themes/CEA/assets/js/highcharts-3d.js

js cea.nic.in collected 2026-10-02 03:06:09 UTC 41,162 bytes, 1 lines download raw bytes

1!function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i))}e(t=t?t._modules:{},"parts-3d/Math.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){var i=e.pick,s=t.deg2rad;t.perspective3D=function(t,e,i){return e=0<i&&i<Number.POSITIVE_INFINITY?i/(t.z+e.z+i):1,{x:t.x*e,y:t.y*e}},t.perspective=function(e,o,r,a){var n=o.options.chart.options3d,h=i(a,!!r&&o.inverted),l={x:o.plotWidth/2,y:o.plotHeight/2,z:n.depth/2,vd:i(n.depth,1)*i(n.viewDistance,0)},p=o.scale3d||1;a=s*n.beta*(h?-1:1),n=s*n.alpha*(h?-1:1);var c=Math.cos(n),d=Math.cos(-a),x=Math.sin(n),y=Math.sin(-a);return r||(l.x+=o.plotLeft,l.y+=o.plotTop),e.map(function(e){var i=(h?e.y:e.x)-l.x,s=(h?e.x:e.y)-l.y;return e=(e.z||0)-l.z,i={x:d*i-y*e,y:-x*y*i+c*s-d*x*e,z:c*y*i+x*s+c*d*e},(s=t.perspective3D(i,l,l.vd)).x=s.x*p+l.x,s.y=s.y*p+l.y,s.z=i.z*p+l.z,{x:h?s.y:s.x,y:h?s.x:s.y,z:s.z}})},t.pointCameraDistance=function(t,e){var s=e.options.chart.options3d,o=e.plotWidth/2;return e=e.plotHeight/2,s=i(s.depth,1)*i(s.viewDistance,0)+s.depth,Math.sqrt(Math.pow(o-i(t.plotX,t.x),2)+Math.pow(e-i(t.plotY,t.y),2)+Math.pow(s-i(t.plotZ,t.z),2))},t.shapeArea=function(t){var e,i=0;for(e=0;e<t.length;e++){var s=(e+1)%t.length;i+=t[e].x*t[s].y-t[s].x*t[e].y}return i/2},t.shapeArea3d=function(e,i,s){return t.shapeArea(t.perspective(e,i,s))}}),e(t,"parts-3d/SVGRenderer.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){function i(t,e,s,o,r,a,n,h){var l=[],p=a-r;return a>r&&a-r>Math.PI/2+1e-4?l=(l=l.concat(i(t,e,s,o,r,r+Math.PI/2,n,h))).concat(i(t,e,s,o,r+Math.PI/2,a,n,h)):a<r&&r-a>Math.PI/2+1e-4?l=(l=l.concat(i(t,e,s,o,r,r-Math.PI/2,n,h))).concat(i(t,e,s,o,r-Math.PI/2,a,n,h)):["C",t+s*Math.cos(r)-s*z*p*Math.sin(r)+n,e+o*Math.sin(r)+o*z*p*Math.cos(r)+h,t+s*Math.cos(a)+s*z*p*Math.sin(a)+n,e+o*Math.sin(a)-o*z*p*Math.cos(a)+h,t+s*Math.cos(a)+n,e+o*Math.sin(a)+h]}var s=e.animObject,o=e.defined,r=e.extend,a=e.merge,n=e.objectEach,h=e.pick,l=Math.cos,p=Math.PI,c=Math.sin,d=t.charts,x=t.color,y=t.deg2rad,f=t.perspective,u=t.SVGElement;e=t.SVGRenderer;var z=4*(Math.sqrt(2)-1)/3/(p/2);e.prototype.toLinePath=function(t,e){var i=[];return t.forEach(function(t){i.push("L",t.x,t.y)}),t.length&&(i[0]="M",e&&i.push("Z")),i},e.prototype.toLineSegments=function(t){var e=[],i=!0;return t.forEach(function(t){e.push(i?"M":"L",t.x,t.y),i=!i}),e},e.prototype.face3d=function(e){var i=this,s=this.createElement("path");return s.vertexes=[],s.insidePlotArea=!1,s.enabled=!0,s.attr=function(e){if("object"==typeof e&&(o(e.enabled)||o(e.vertexes)||o(e.insidePlotArea))){this.enabled=h(e.enabled,this.enabled),this.vertexes=h(e.vertexes,this.vertexes),this.insidePlotArea=h(e.insidePlotArea,this.insidePlotArea),delete e.enabled,delete e.vertexes,delete e.insidePlotArea;var s=f(this.vertexes,d[i.chartIndex],this.insidePlotArea),r=i.toLinePath(s,!0);s=t.shapeArea(s),s=this.enabled&&0<s?"visible":"hidden",e.d=r,e.visibility=s}return u.prototype.attr.apply(this,arguments)},s.animate=function(e){if("object"==typeof e&&(o(e.enabled)||o(e.vertexes)||o(e.insidePlotArea))){this.enabled=h(e.enabled,this.enabled),this.vertexes=h(e.vertexes,this.vertexes),this.insidePlotArea=h(e.insidePlotArea,this.insidePlotArea),delete e.enabled,delete e.vertexes,delete e.insidePlotArea;var s=f(this.vertexes,d[i.chartIndex],this.insidePlotArea),r=i.toLinePath(s,!0);s=t.shapeArea(s),s=this.enabled&&0<s?"visible":"hidden",e.d=r,this.attr("visibility",s)}return u.prototype.animate.apply(this,arguments)},s.attr(e)},e.prototype.polyhedron=function(t){var e=this,i=this.g(),s=i.destroy;return this.styledMode||i.attr({"stroke-linejoin":"round"}),i.faces=[],i.destroy=function(){for(var t=0;t<i.faces.length;t++)i.faces[t].destroy();return s.call(this)},i.attr=function(t,s,r,a){if("object"==typeof t&&o(t.faces)){for(;i.faces.length>t.faces.length;)i.faces.pop().destroy();for(;i.faces.length<t.faces.length;)i.faces.push(e.face3d().add(i));for(var n=0;n<t.faces.length;n++)e.styledMode&&delete t.faces[n].fill,i.faces[n].attr(t.faces[n],null,r,a);delete t.faces}return u.prototype.attr.apply(this,arguments)},i.animate=function(t,s,o){if(t&&t.faces){for(;i.faces.length>t.faces.length;)i.faces.pop().destroy();for(;i.faces.length<t.faces.length;)i.faces.push(e.face3d().add(i));for(var r=0;r<t.faces.length;r++)i.faces[r].animate(t.faces[r],s,o);delete t.faces}return u.prototype.animate.apply(this,arguments)},i.attr(t)};var b={initArgs:function(t){var e=this,i=e.renderer,s=i[e.pathType+"Path"](t),o=s.zIndexes;
1e.parts.forEach(function(t){e[t]=i.path(s[t]).attr({class:"highcharts-3d-"+t,zIndex:o[t]||0}).add(e)}),e.attr({"stroke-linejoin":"round",zIndex:o.group}),e.originalDestroy=e.destroy,e.destroy=e.destroyParts},singleSetterForParts:function(t,e,i,s,o,r){var a={};s=[null,null,s||"attr",o,r];var h=i&&i.zIndexes;return i?(h&&h.group&&this.attr({zIndex:h.group}),n(i,function(e,s){a[s]={},a[s][t]=e,h&&(a[s].zIndex=i.zIndexes[s]||0)}),s[1]=a):(a[t]=e,s[0]=a),this.processParts.apply(this,s)},processParts:function(t,e,i,s,o){var r=this;return r.parts.forEach(function(a){e&&(t=h(e[a],!1)),!1!==t&&r[a][i](t,s,o)}),r},destroyParts:function(){return this.processParts(null,null,"destroy"),this.originalDestroy()}},g=a(b,{parts:["front","top","side"],pathType:"cuboid",attr:function(t,e,i,s){if("string"==typeof t&&void 0!==e){var r=t;(t={})[r]=e}return t.shapeArgs||o(t.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](t.shapeArgs||t)):u.prototype.attr.call(this,t,void 0,i,s)},animate:function(t,e,i){return o(t.x)&&o(t.y)?(t=this.renderer[this.pathType+"Path"](t),this.singleSetterForParts("d",null,t,"animate",e,i),this.attr({zIndex:t.zIndexes.group})):u.prototype.animate.call(this,t,e,i),this},fillSetter:function(t){return this.singleSetterForParts("fill",null,{front:t,top:x(t).brighten(.1).get(),side:x(t).brighten(-.1).get()}),this.color=this.fill=t,this}});e.prototype.elements3d={base:b,cuboid:g},e.prototype.element3d=function(t,e){var i=this.g();return r(i,this.elements3d[t]),i.initArgs(e),i},e.prototype.cuboid=function(t){return this.element3d("cuboid",t)},t.SVGRenderer.prototype.cuboidPath=function(e){function i(t){return 0===n&&1<t&&6>t?{x:y[t].x,y:y[t].y+10,z:y[t].z}:y[t]}function s(t){return y[t]}var o=e.x,r=e.y,a=e.z,n=e.height,h=e.width,l=e.depth,p=d[this.chartIndex],c=p.options.chart.options3d.alpha,x=0,y=[{x:o,y:r,z:a},{x:o+h,y:r,z:a},{x:o+h,y:r+n,z:a},{x:o,y:r+n,z:a},{x:o,y:r+n,z:a+l},{x:o+h,y:r+n,z:a+l},{x:o+h,y:r,z:a+l},{x:o,y:r,z:a+l}];y=f(y,p,e.insidePlotArea);var u=function(e,o){var r=[[],-1],a=e.map(s),n=o.map(s);return e=e.map(i),o=o.map(i),0>t.shapeArea(e)?r=[a,0]:0>t.shapeArea(o)&&(r=[n,1]),r},z=u([3,2,1,0],[7,6,5,4]);e=z[0],l=z[1],h=(z=u([1,6,7,0],[4,5,2,3]))[0];var b=z[1];return z=u([1,2,5,6],[0,7,4,3]),u=z[0],1===(z=z[1])?x+=1e6*(p.plotWidth-o):z||(x+=1e6*o),x+=10*(!b||0<=c&&180>=c||360>c&&357.5<c?p.plotHeight-r:10+r),1===l?x+=100*a:l||(x+=100*(1e3-a)),{front:this.toLinePath(e,!0),top:this.toLinePath(h,!0),side:this.toLinePath(u,!0),zIndexes:{group:Math.round(x)},isFront:l,isTop:b}},t.SVGRenderer.prototype.arc3d=function(e){function i(t){var e,i=!1,s={};for(e in t=a(t))-1!==l.indexOf(e)&&(s[e]=t[e],delete t[e],i=!0);return!!i&&s}var o=this.g(),n=o.renderer,l="x y r innerR start end depth".split(" ");return(e=a(e)).alpha=(e.alpha||0)*y,e.beta=(e.beta||0)*y,o.top=n.path(),o.side1=n.path(),o.side2=n.path(),o.inn=n.path(),o.out=n.path(),o.onAdd=function(){var t=o.parentGroup,e=o.attr("class");o.top.add(o),["out","inn","side1","side2"].forEach(function(i){o[i].attr({class:e+" highcharts-3d-side"}).add(t)})},["addClass","removeClass"].forEach(function(t){o[t]=function(){var e=arguments;["top","out","inn","side1","side2"].forEach(function(i){o[i][t].apply(o[i],e)})}}),o.setPaths=function(t){var e=o.renderer.arc3dPath(t),i=100*e.zTop;o.attribs=t,o.top.attr({d:e.top,zIndex:e.zTop}),o.inn.attr({d:e.inn,zIndex:e.zInn}),o.out.attr({d:e.out,zIndex:e.zOut}),o.side1.attr({d:e.side1,zIndex:e.zSide1}),o.side2.attr({d:e.side2,zIndex:e.zSide2}),o.zIndex=i,o.attr({zIndex:i}),t.center&&(o.top.setRadialReference(t.center),delete t.center)},o.setPaths(e),o.fillSetter=function(t){var e=x(t).brighten(-.1).get();return this.fill=t,this.side1.attr({fill:e}),this.side2.attr({fill:e}),this.inn.attr({fill:e}),this.out.attr({fill:e}),this.top.attr({fill:t}),this},["opacity","translateX","translateY","visibility"].forEach(function(t){o[t+"Setter"]=function(t,e){o[e]=t,["out","inn","side1","side2","top"].forEach(function(i){o[i].attr(e,t)})}}),o.attr=function(t){var e;return"object"==typeof t&&(e=i(t))&&(r(o.attribs,e),o.setPaths(o.attribs)),u.prototype.attr.apply(o,arguments)},o.animate=function(e,r,n){var l=this.attribs,p="data-"+Math.random().toString(26).substring(2,9);delete e.center,delete e.z,delete e.alpha,delete e.beta;var c=s(h(r,this.renderer.globalAnimation));if(c.duration){var d=i(e);o[p]=0,e[p]=1,o[p+"Setter"]=t.noop,d&&(c.step=function(t,e){function i(t){return l[t]+(h(d[t],l[t])-l[t])*e.pos}e.prop===p&&e.elem.setPaths(a(l,{x:i("x"),y:i("y"),r:i("r"),innerR:i("innerR"),start:i("start"),end:i("end"),depth:i("depth")}))}),r=c}return u.prototype.animate.call(this,e,r,n)},o.destroy=function(){return this.top.destroy(),this.out.destroy(),this.inn.destroy(),this.side1.destroy(),this.side2.destroy(),u.prototype.destroy.call(this)},o.hide=function(){this.top.hide(),this.out.hide(),this.inn.hide(),this.side1.hide(),this.side2.hide()},o.show=function(t){this.top.show(t),this.out.show(t),this.inn.show(t),this.side1.show(t),this.side2.show(t)},o},e.prototype.arc3dPath=function(t){function e(t){return(t%=2*Math.PI)>Math.PI&&(t=2*Math.PI-t),t}var s=t.x,o=t.y,r=t.start,a=t.end-1e-5,n=t.r,h=t.innerR||0,d=t.depth||0,x=t.alpha,y=t.beta,f=Math.cos(r),u=Math.sin(r);t=Math.cos(a);var z=Math.sin(a),b=n*Math.cos(y);n*=Math.cos(x);
1var g=h*Math.cos(y),v=h*Math.cos(x);h=d*Math.sin(y);var m=d*Math.sin(x);d=(d=(d=(d=(d=["M",s+b*f,o+n*u]).concat(i(s,o,b,n,r,a,0,0))).concat(["L",s+g*t,o+v*z])).concat(i(s,o,g,v,a,r,0,0))).concat(["Z"]);var M=0<y?Math.PI/2:0;y=0<x?0:Math.PI/2;var A=a<p-y?a:r<p-y?p-y:a,P=2*p-y;return x=(x=["M",s+b*l(M=r>-M?r:a>-M?-M:r),o+n*c(M)]).concat(i(s,o,b,n,M,A,0,0)),a>P&&r<P?x=(x=(x=(x=(x=(x=(x=(x=x.concat(["L",s+b*l(A)+h,o+n*c(A)+m])).concat(i(s,o,b,n,A,P,h,m))).concat(["L",s+b*l(P),o+n*c(P)])).concat(i(s,o,b,n,P,a,0,0))).concat(["L",s+b*l(a)+h,o+n*c(a)+m])).concat(i(s,o,b,n,a,P,h,m))).concat(["L",s+b*l(P),o+n*c(P)])).concat(i(s,o,b,n,P,A,0,0)):a>p-y&&r<p-y&&(x=(x=(x=(x=x.concat(["L",s+b*Math.cos(A)+h,o+n*Math.sin(A)+m])).concat(i(s,o,b,n,A,a,h,m))).concat(["L",s+b*Math.cos(a),o+n*Math.sin(a)])).concat(i(s,o,b,n,a,A,0,0))),x=(x=(x=x.concat(["L",s+b*Math.cos(A)+h,o+n*Math.sin(A)+m])).concat(i(s,o,b,n,A,M,h,m))).concat(["Z"]),y=(y=(y=(y=(y=["M",s+g*f,o+v*u]).concat(i(s,o,g,v,r,a,0,0))).concat(["L",s+g*Math.cos(a)+h,o+v*Math.sin(a)+m])).concat(i(s,o,g,v,a,r,h,m))).concat(["Z"]),f=["M",s+b*f,o+n*u,"L",s+b*f+h,o+n*u+m,"L",s+g*f+h,o+v*u+m,"L",s+g*f,o+v*u,"Z"],s=["M",s+b*t,o+n*z,"L",s+b*t+h,o+n*z+m,"L",s+g*t+h,o+v*z+m,"L",s+g*t,o+v*z,"Z"],z=Math.atan2(m,-h),o=Math.abs(a+z),t=Math.abs(r+z),r=Math.abs((r+a)/2+z),o=e(o),t=e(t),r=e(r),r*=1e5,a=1e5*t,o*=1e5,{top:d,zTop:1e5*Math.PI+1,out:x,zOut:Math.max(r,a,o),inn:y,zInn:Math.max(r,a,o),side1:f,zSide1:.99*o,side2:s,zSide2:.99*a}}}),e(t,"parts-3d/Chart.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){var i=e.addEvent,s=e.isArray,o=e.merge,r=e.pick;e=e.wrap;var a=t.Chart,n=t.perspective;a.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled},a.prototype.propsRequireDirtyBox.push("chart.options3d"),a.prototype.propsRequireUpdateSeries.push("chart.options3d"),i(a,"afterInit",function(){var t=this.options;this.is3d()&&(t.series||[]).forEach(function(e){"scatter"===(e.type||t.chart.type||t.chart.defaultSeriesType)&&(e.type="scatter3d")})}),i(a,"addSeries",function(t){this.is3d()&&"scatter"===t.options.type&&(t.options.type="scatter3d")}),e(t.Chart.prototype,"isInsidePlot",function(t){return this.is3d()||t.apply(this,[].slice.call(arguments,1))}),o(!0,t.getOptions(),{chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}}),i(a,"afterGetContainer",function(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}),[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(t){this.renderer.definition({tagName:"filter",id:"highcharts-"+t.name,children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",type:"linear",slope:t.slope},{tagName:"feFuncG",type:"linear",slope:t.slope},{tagName:"feFuncB",type:"linear",slope:t.slope}]}]})},this))}),e(a.prototype,"setClassName",function(t){t.apply(this,[].slice.call(arguments,1)),this.is3d()&&(this.container.className+=" highcharts-3d-chart")}),i(t.Chart,"afterSetChartSize",function(){var t=this.options.chart.options3d;if(this.is3d()){t&&(t.alpha=t.alpha%360+(0<=t.alpha?0:360),t.beta=t.beta%360+(0<=t.beta?0:360));var e=this.inverted,i=this.clipBox,s=this.margin;i[e?"y":"x"]=-(s[3]||0),i[e?"x":"y"]=-(s[0]||0),i[e?"height":"width"]=this.chartWidth+(s[3]||0)+(s[1]||0),i[e?"width":"height"]=this.chartHeight+(s[0]||0)+(s[2]||0),this.scale3d=1,!0===t.fitToPlot&&(this.scale3d=function(t,e){var i=t.plotLeft,s=t.plotWidth+i,o=t.plotTop,r=t.plotHeight+o,a=i+t.plotWidth/2,h=o+t.plotHeight/2,l=Number.MAX_VALUE,p=-Number.MAX_VALUE,c=Number.MAX_VALUE,d=-Number.MAX_VALUE,x=1,y=[{x:i,y:o,z:0},{x:i,y:o,z:e}];return[0,1].forEach(function(t){y.push({x:s,y:y[t].y,z:y[t].z})}),[0,1,2,3].forEach(function(t){y.push({x:y[t].x,y:r,z:y[t].z})}),(y=n(y,t,!1)).forEach(function(t){l=Math.min(l,t.x),p=Math.max(p,t.x),c=Math.min(c,t.y),d=Math.max(d,t.y)}),i>l&&(x=Math.min(x,1-Math.abs((i+a)/(l+a))%1)),s<p&&(x=Math.min(x,(s-a)/(p-a))),o>c&&(x=0>c?Math.min(x,(o+h)/(-c+o+h)):Math.min(x,1-(o+h)/(c+h)%1)),r<d&&(x=Math.min(x,Math.abs((r-h)/(d-h)))),x}(this,t.depth)),this.frame3d=this.get3dFrame()}}),i(a,"beforeRedraw",function(){this.is3d()&&(this.isDirtyBox=!0)}),i(a,"beforeRender",function(){this.is3d()&&(this.frame3d=this.get3dFrame())}
1),e(a.prototype,"renderSeries",function(t){var e=this.series.length;if(this.is3d())for(;e--;)(t=this.series[e]).translate(),t.render();else t.call(this)}),i(a,"afterDrawChartBox",function(){if(this.is3d()){var e=this.renderer,i=this.options.chart.options3d,s=this.get3dFrame(),o=this.plotLeft,r=this.plotLeft+this.plotWidth,a=this.plotTop,n=this.plotTop+this.plotHeight;i=i.depth;var h=o-(s.left.visible?s.left.size:0),l=r+(s.right.visible?s.right.size:0),p=a-(s.top.visible?s.top.size:0),c=n+(s.bottom.visible?s.bottom.size:0),d=0-(s.front.visible?s.front.size:0),x=i+(s.back.visible?s.back.size:0),y=this.hasRendered?"animate":"attr";this.frame3d=s,this.frameShapes||(this.frameShapes={bottom:e.polyhedron().add(),top:e.polyhedron().add(),left:e.polyhedron().add(),right:e.polyhedron().add(),back:e.polyhedron().add(),front:e.polyhedron().add()}),this.frameShapes.bottom[y]({class:"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:s.bottom.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.bottom.color).brighten(.1).get(),vertexes:[{x:h,y:c,z:d},{x:l,y:c,z:d},{x:l,y:c,z:x},{x:h,y:c,z:x}],enabled:s.bottom.visible},{fill:t.color(s.bottom.color).brighten(.1).get(),vertexes:[{x:o,y:n,z:i},{x:r,y:n,z:i},{x:r,y:n,z:0},{x:o,y:n,z:0}],enabled:s.bottom.visible},{fill:t.color(s.bottom.color).brighten(-.1).get(),vertexes:[{x:h,y:c,z:d},{x:h,y:c,z:x},{x:o,y:n,z:i},{x:o,y:n,z:0}],enabled:s.bottom.visible&&!s.left.visible},{fill:t.color(s.bottom.color).brighten(-.1).get(),vertexes:[{x:l,y:c,z:x},{x:l,y:c,z:d},{x:r,y:n,z:0},{x:r,y:n,z:i}],enabled:s.bottom.visible&&!s.right.visible},{fill:t.color(s.bottom.color).get(),vertexes:[{x:l,y:c,z:d},{x:h,y:c,z:d},{x:o,y:n,z:0},{x:r,y:n,z:0}],enabled:s.bottom.visible&&!s.front.visible},{fill:t.color(s.bottom.color).get(),vertexes:[{x:h,y:c,z:x},{x:l,y:c,z:x},{x:r,y:n,z:i},{x:o,y:n,z:i}],enabled:s.bottom.visible&&!s.back.visible}]}),this.frameShapes.top[y]({class:"highcharts-3d-frame highcharts-3d-frame-top",zIndex:s.top.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.top.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:x},{x:l,y:p,z:x},{x:l,y:p,z:d},{x:h,y:p,z:d}],enabled:s.top.visible},{fill:t.color(s.top.color).brighten(.1).get(),vertexes:[{x:o,y:a,z:0},{x:r,y:a,z:0},{x:r,y:a,z:i},{x:o,y:a,z:i}],enabled:s.top.visible},{fill:t.color(s.top.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:x},{x:h,y:p,z:d},{x:o,y:a,z:0},{x:o,y:a,z:i}],enabled:s.top.visible&&!s.left.visible},{fill:t.color(s.top.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:d},{x:l,y:p,z:x},{x:r,y:a,z:i},{x:r,y:a,z:0}],enabled:s.top.visible&&!s.right.visible},{fill:t.color(s.top.color).get(),vertexes:[{x:h,y:p,z:d},{x:l,y:p,z:d},{x:r,y:a,z:0},{x:o,y:a,z:0}],enabled:s.top.visible&&!s.front.visible},{fill:t.color(s.top.color).get(),vertexes:[{x:l,y:p,z:x},{x:h,y:p,z:x},{x:o,y:a,z:i},{x:r,y:a,z:i}],enabled:s.top.visible&&!s.back.visible}]}),this.frameShapes.left[y]({class:"highcharts-3d-frame highcharts-3d-frame-left",zIndex:s.left.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.left.color).brighten(.1).get(),vertexes:[{x:h,y:c,z:d},{x:o,y:n,z:0},{x:o,y:n,z:i},{x:h,y:c,z:x}],enabled:s.left.visible&&!s.bottom.visible},{fill:t.color(s.left.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:x},{x:o,y:a,z:i},{x:o,y:a,z:0},{x:h,y:p,z:d}],enabled:s.left.visible&&!s.top.visible},{fill:t.color(s.left.color).brighten(-.1).get(),vertexes:[{x:h,y:c,z:x},{x:h,y:p,z:x},{x:h,y:p,z:d},{x:h,y:c,z:d}],enabled:s.left.visible},{fill:t.color(s.left.color).brighten(-.1).get(),vertexes:[{x:o,y:a,z:i},{x:o,y:n,z:i},{x:o,y:n,z:0},{x:o,y:a,z:0}],enabled:s.left.visible},{fill:t.color(s.left.color).get(),vertexes:[{x:h,y:c,z:d},{x:h,y:p,z:d},{x:o,y:a,z:0},{x:o,y:n,z:0}],enabled:s.left.visible&&!s.front.visible},{fill:t.color(s.left.color).get(),vertexes:[{x:h,y:p,z:x},{x:h,y:c,z:x},{x:o,y:n,z:i},{x:o,y:a,z:i}],enabled:s.left.visible&&!s.back.visible}]}),this.frameShapes.right[y]({class:"highcharts-3d-frame highcharts-3d-frame-right",zIndex:s.right.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.right.color).brighten(.1).get(),vertexes:[{x:l,y:c,z:x},{x:r,y:n,z:i},{x:r,y:n,z:0},{x:l,y:c,z:d}],enabled:s.right.visible&&!s.bottom.visible},{fill:t.color(s.right.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:d},{x:r,y:a,z:0},{x:r,y:a,z:i},{x:l,y:p,z:x}],enabled:s.right.visible&&!s.top.visible},{fill:t.color(s.right.color).brighten(-.1).get(),vertexes:[{x:r,y:a,z:0},{x:r,y:n,z:0},{x:r,y:n,z:i},{x:r,y:a,z:i}],enabled:s.right.visible},{fill:t.color(s.right.color).brighten(-.1).get(),vertexes:[{x:l,y:c,z:d},{x:l,y:p,z:d},{x:l,y:p,z:x},{x:l,y:c,z:x}],enabled:s.right.visible},{fill:t.color(s.right.color).get(),vertexes:[{x:l,y:p,z:d},{x:l,y:c,z:d},{x:r,y:n,z:0},{x:r,y:a,z:0}],enabled:s.right.visible&&!s.front.visible},{fill:t.color(s.right.color).get(),vertexes:[{x:l,y:c,z:x},{x:l,y:p,z:x},{x:r,y:a,z:i},{x:r,y:n,z:i}],enabled:s.right.visible&&!s.back.visible}]}),this.frameShapes.back[y]({class:"highcharts-3d-frame highcharts-3d-frame-back",zIndex:s.back.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.back.color).brighten(.1).get(),vertexes:[{x:l,y:c,z:x},{x:h,y:c,z:x},{x:o,y:n,z:i},{x:r,y:n,z:i}],enabled:s.back.visible&&!s.bottom.visible},{fill:t.color(s.back.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:x},{x:l,y:p,z:x},{x:r,y:a,z:i},{x:o,y:a,z:i}],enabled:s.back.visible&&!s.top.visible},{fill:t.color(s.back.color).brighten(-.1).get(),vertexes:[{x:h,y:c,z:x},{x:h,y:p,z:x},{x:o,y:a,z:i},{x:o,y:n,z:i}],enabled:s.back.visible&&!s.left.visible},{fill:t.color(s.back.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:x},{x:l,y:c,z:x},{x:r,y:n,z:i},{x:r,y:a,z:i}],enabled:s.back.visible&&!s.right.visible},{fill:t.color(s.back.color).get(),vertexes:[{x:o,y:a,z:i},{x:r,y:a,z:i},{x:r,y:n,z:i},{x:o,y:n,z:i}],enabled:s.back.visible},{fill:t.color(s.back.color).get(),vertexes:[{x:h,y:c,z:x},{x:l,y:c,z:x},{x:l,y:p,z:x},{x:h,y:p,z:x}],enabled:s.back.visible}]}),this.frameShapes.front[y]({class:"highcharts-3d-frame highcharts-3d-frame-front",zIndex:s.front.frontFacing?-1e3:1e3,faces:[{fill:t.color(s.front.color).brighten(.1).get(),vertexes:[{x:h,y:c,z:d},{x:l,y:c,z:d},{x:r,y:n,z:0},{x:o,y:n,z:0}],enabled:s.front.visible&&!s.bottom.visible},{fill:t.color(s.front.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:d},{x:h,y:p,z:d},{x:o,y:a,z:0},{x:r,y:a,z:0}],enabled:s.front.visible&&!s.top.visible},{fill:t.color(s.front.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:d},{x:h,y:c,z:d},{x:o,y:n,z:0},{x:o,y:a,z:0}],enabled:s.front.visible&&!s.left.visible},{fill:t.color(s.front.color).brighten(-.1).get(),vertexes:[{x:l,y:c,z:d},{x:l,y:p,z:d},{x:r,y:a,z:0},{x:r,y:n,z:0}],enabled:s.front.visible&&!s.right.visible},{fill:t.color(s.front.color).get(),vertexes:[{x:r,y:a,z:0},{x:o,y:a,z:0},{x:o,y:n,z:0},{x:r,y:n,z:0}],enabled:s.front.visible},{fill:t.color(s.front.color).get(),vertexes:[{x:l,y:c,z:d},{x:h,y:c,z:d},{x:h,y:p,z:d},{x:l,y:p,z:d}],enabled:s.front.visible}]})}}),a.prototype.retrieveStacks=function(t){var e,i=this.series,s={},o=1;
1return this.series.forEach(function(a){e=r(a.options.stack,t?0:i.length-1-a.index),s[e]?s[e].series.push(a):(s[e]={series:[a],position:o},o++)}),s.totalStacks=o+1,s},a.prototype.get3dFrame=function(){var e=this,i=e.options.chart.options3d,s=i.frame,o=e.plotLeft,a=e.plotLeft+e.plotWidth,h=e.plotTop,l=e.plotTop+e.plotHeight,p=i.depth,c=function(i){return.5<(i=t.shapeArea3d(i,e))?1:-.5>i?-1:0},d=c([{x:o,y:l,z:p},{x:a,y:l,z:p},{x:a,y:l,z:0},{x:o,y:l,z:0}]),x=c([{x:o,y:h,z:0},{x:a,y:h,z:0},{x:a,y:h,z:p},{x:o,y:h,z:p}]),y=c([{x:o,y:h,z:0},{x:o,y:h,z:p},{x:o,y:l,z:p},{x:o,y:l,z:0}]),f=c([{x:a,y:h,z:p},{x:a,y:h,z:0},{x:a,y:l,z:0},{x:a,y:l,z:p}]),u=c([{x:o,y:l,z:0},{x:a,y:l,z:0},{x:a,y:h,z:0},{x:o,y:h,z:0}]);c=c([{x:o,y:h,z:p},{x:a,y:h,z:p},{x:a,y:l,z:p},{x:o,y:l,z:p}]);var z=!1,b=!1,g=!1,v=!1;[].concat(e.xAxis,e.yAxis,e.zAxis).forEach(function(t){t&&(t.horiz?t.opposite?b=!0:z=!0:t.opposite?v=!0:g=!0)});var m=function(t,e,i){for(var s=["size","color","visible"],o={},a=0;a<s.length;a++)for(var n=s[a],h=0;h<t.length;h++)if("object"==typeof t[h]){var l=t[h][n];if(null!=l){o[n]=l;break}}return t=i,!0===o.visible||!1===o.visible?t=o.visible:"auto"===o.visible&&(t=0<e),{size:r(o.size,1),color:r(o.color,"none"),frontFacing:0<e,visible:t}};return s={axes:{},bottom:m([s.bottom,s.top,s],d,z),top:m([s.top,s.bottom,s],x,b),left:m([s.left,s.right,s.side,s],y,g),right:m([s.right,s.left,s.side,s],f,v),back:m([s.back,s.front,s],c,!0),front:m([s.front,s.back,s],u,!1)},"auto"===i.axisLabelPosition?(i=[],(f=function(t,e){return t.visible!==e.visible||t.visible&&e.visible&&t.frontFacing!==e.frontFacing})(s.left,s.front)&&i.push({y:(h+l)/2,x:o,z:0,xDir:{x:1,y:0,z:0}}),f(s.left,s.back)&&i.push({y:(h+l)/2,x:o,z:p,xDir:{x:0,y:0,z:-1}}),f(s.right,s.front)&&i.push({y:(h+l)/2,x:a,z:0,xDir:{x:0,y:0,z:1}}),f(s.right,s.back)&&i.push({y:(h+l)/2,x:a,z:p,xDir:{x:-1,y:0,z:0}}),d=[],f(s.bottom,s.front)&&d.push({x:(o+a)/2,y:l,z:0,xDir:{x:1,y:0,z:0}}),f(s.bottom,s.back)&&d.push({x:(o+a)/2,y:l,z:p,xDir:{x:-1,y:0,z:0}}),x=[],f(s.top,s.front)&&x.push({x:(o+a)/2,y:h,z:0,xDir:{x:1,y:0,z:0}}),f(s.top,s.back)&&x.push({x:(o+a)/2,y:h,z:p,xDir:{x:-1,y:0,z:0}}),y=[],f(s.bottom,s.left)&&y.push({z:(0+p)/2,y:l,x:o,xDir:{x:0,y:0,z:-1}}),f(s.bottom,s.right)&&y.push({z:(0+p)/2,y:l,x:a,xDir:{x:0,y:0,z:1}}),l=[],f(s.top,s.left)&&l.push({z:(0+p)/2,y:h,x:o,xDir:{x:0,y:0,z:-1}}),f(s.top,s.right)&&l.push({z:(0+p)/2,y:h,x:a,xDir:{x:0,y:0,z:1}}),o=function(t,i,s){if(0===t.length)return null;if(1===t.length)return t[0];for(var o=0,r=n(t,e,!1),a=1;a<r.length;a++)s*r[a][i]>s*r[o][i]?o=a:s*r[a][i]==s*r[o][i]&&r[a].z<r[o].z&&(o=a);return t[o]},s.axes={y:{left:o(i,"x",-1),right:o(i,"x",1)},x:{top:o(x,"y",-1),bottom:o(d,"y",1)},z:{top:o(l,"y",-1),bottom:o(y,"y",1)}}):s.axes={y:{left:{x:o,z:0,xDir:{x:1,y:0,z:0}},right:{x:a,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:h,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:l,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:g?a:o,y:h,xDir:g?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:g?a:o,y:l,xDir:g?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}},s},t.Fx.prototype.matrixSetter=function(){if(1>this.pos&&(s(this.start)||s(this.end)))for(var t=this.start||[1,0,0,1,0,0],e=this.end||[1,0,0,1,0,0],i=[],o=0;6>o;o++)i.push(this.pos*e[o]+(1-this.pos)*t[o]);else i=this.end;this.elem.attr(this.prop,i,null,!0)}}),e(t,"parts-3d/Axis.js",[t["parts/Globals.js"],t["parts/Tick.js"],t["parts/Utilities.js"]],function(t,e,i){function s(t,e,i){if(!t.chart.is3d()||"colorAxis"===t.coll)return e;var s=t.chart,o=c*s.options.chart.options3d.alpha,r=c*s.options.chart.options3d.beta,a=n(i&&t.options.title.position3d,t.options.labels.position3d);i=n(i&&t.options.title.skew3d,t.options.labels.skew3d);var h=s.frame3d,l=s.plotLeft,p=s.plotWidth+l,x=s.plotTop,f=s.plotHeight+x;s=!1;var u=0,z=0,b={x:0,y:1,z:0};if(e=t.swapZ({x:e.x,y:e.y,z:0}),t.isZAxis)if(t.opposite){if(null===h.axes.z.top)return{};z=e.y-x,e.x=h.axes.z.top.x,e.y=h.axes.z.top.y,l=h.axes.z.top.xDir,s=!h.top.frontFacing}else{if(null===h.axes.z.bottom)return{};z=e.y-f,e.x=h.axes.z.bottom.x,e.y=h.axes.z.bottom.y,l=h.axes.z.bottom.xDir,s=!h.bottom.frontFacing}else if(t.horiz)if(t.opposite){if(null===h.axes.x.top)return{};z=e.y-x,e.y=h.axes.x.top.y,e.z=h.axes.x.top.z,l=h.axes.x.top.xDir,s=!h.top.frontFacing}else{if(null===h.axes.x.bottom)return{};z=e.y-f,e.y=h.axes.x.bottom.y,e.z=h.axes.x.bottom.z,l=h.axes.x.bottom.xDir,s=!h.bottom.frontFacing}else if(t.opposite){if(null===h.axes.y.right)return{};u=e.x-p,e.x=h.axes.y.right.x,e.z=h.axes.y.right.z,l={x:(l=h.axes.y.right.xDir).z,y:l.y,z:-l.x}}else{if(null===h.axes.y.left)return{};u=e.x-l,e.x=h.axes.y.left.x,e.z=h.axes.y.left.z,l=h.axes.y.left.xDir}return"chart"!==a&&("flap"===a?t.horiz?(r=Math.sin(o),o=Math.cos(o),t.opposite&&(r=-r),s&&(r=-r),b={x:l.z*r,y:o,z:-l.x*r}):l={x:Math.cos(r),y:0,z:Math.sin(r)}:"ortho"===a?t.horiz?(b=Math.cos(o),a=Math.sin(r)*b,o=-Math.sin(o),r=-b*Math.cos(r),b={x:l.y*r-l.z*o,y:l.z*a-l.x*r,z
1:l.x*o-l.y*a},o=1/Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z),s&&(o=-o),b={x:o*b.x,y:o*b.y,z:o*b.z}):l={x:Math.cos(r),y:0,z:Math.sin(r)}:t.horiz?b={x:Math.sin(r)*Math.sin(o),y:Math.cos(o),z:-Math.cos(r)*Math.sin(o)}:l={x:Math.cos(r),y:0,z:Math.sin(r)}),e.x+=u*l.x+z*b.x,e.y+=u*l.y+z*b.y,e.z+=u*l.z+z*b.z,s=d([e],t.chart)[0],i&&(0>y(d([e,{x:e.x+l.x,y:e.y+l.y,z:e.z+l.z},{x:e.x+b.x,y:e.y+b.y,z:e.z+b.z}],t.chart))&&(l={x:-l.x,y:-l.y,z:-l.z}),t=d([{x:e.x,y:e.y,z:e.z},{x:e.x+l.x,y:e.y+l.y,z:e.z+l.z},{x:e.x+b.x,y:e.y+b.y,z:e.z+b.z}],t.chart),s.matrix=[t[1].x-t[0].x,t[1].y-t[0].y,t[2].x-t[0].x,t[2].y-t[0].y,s.x,s.y],s.matrix[4]-=s.x*s.matrix[0]+s.y*s.matrix[2],s.matrix[5]-=s.x*s.matrix[1]+s.y*s.matrix[3]),s}var o=i.addEvent,r=i.extend,a=i.merge,n=i.pick,h=i.splat;i=i.wrap;var l=t.Axis,p=t.Chart,c=t.deg2rad,d=t.perspective,x=t.perspective3D,y=t.shapeArea;a(!0,l.prototype.defaultOptions,{labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}}),o(l,"afterSetOptions",function(){if(this.chart.is3d&&this.chart.is3d()&&"colorAxis"!==this.coll){var t=this.options;t.tickWidth=n(t.tickWidth,0),t.gridLineWidth=n(t.gridLineWidth,1)}}),i(l.prototype,"getPlotLinePath",function(t){var e=t.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d()||"colorAxis"===this.coll||null===e)return e;var i=this.chart,s=i.options.chart.options3d;return s=this.isZAxis?i.plotWidth:s.depth,i=i.frame3d,e=[this.swapZ({x:e[1],y:e[2],z:0}),this.swapZ({x:e[1],y:e[2],z:s}),this.swapZ({x:e[4],y:e[5],z:0}),this.swapZ({x:e[4],y:e[5],z:s})],s=[],this.horiz?(this.isZAxis?(i.left.visible&&s.push(e[0],e[2]),i.right.visible&&s.push(e[1],e[3])):(i.front.visible&&s.push(e[0],e[2]),i.back.visible&&s.push(e[1],e[3])),i.top.visible&&s.push(e[0],e[1]),i.bottom.visible&&s.push(e[2],e[3])):(i.front.visible&&s.push(e[0],e[2]),i.back.visible&&s.push(e[1],e[3]),i.left.visible&&s.push(e[0],e[1]),i.right.visible&&s.push(e[2],e[3])),s=d(s,this.chart,!1),this.chart.renderer.toLineSegments(s)}),i(l.prototype,"getLinePath",function(t){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:t.apply(this,[].slice.call(arguments,1))}),i(l.prototype,"getPlotBandPath",function(t){if(!this.chart.is3d()||"colorAxis"===this.coll)return t.apply(this,[].slice.call(arguments,1));var e=arguments,i=e[2],s=[];if(e=this.getPlotLinePath({value:e[1]}),i=this.getPlotLinePath({value:i}),e&&i)for(var o=0;o<e.length;o+=6)s.push("M",e[o+1],e[o+2],"L",e[o+4],e[o+5],"L",i[o+4],i[o+5],"L",i[o+1],i[o+2],"Z");return s}),i(e.prototype,"getMarkPath",function(t){var e=t.apply(this,[].slice.call(arguments,1));return e=[s(this.axis,{x:e[1],y:e[2],z:0}),s(this.axis,{x:e[4],y:e[5],z:0})],this.axis.chart.renderer.toLineSegments(e)}),o(e,"afterGetLabelPosition",function(t){r(t.pos,s(this.axis,t.pos))}),i(l.prototype,"getTitlePosition",function(t){return s(this,t.apply(this,[].slice.call(arguments,1)),!0)}),o(l,"drawCrosshair",function(t){this.chart.is3d()&&"colorAxis"!==this.coll&&t.point&&(t.point.crosshairPos=this.isXAxis?t.point.axisXpos:this.len-t.point.axisYpos)}),o(l,"destroy",function(){["backFrame","bottomFrame","sideFrame"].forEach(function(t){this[t]&&(this[t]=this[t].destroy())},this)}),p.prototype.addZAxis=function(t){return new f(this,t)},p.prototype.collectionsWithUpdate.push("zAxis"),p.prototype.collectionsWithInit.zAxis=[p.prototype.addZAxis],l.prototype.swapZ=function(t,e){return this.isZAxis?{x:(e=e?0:this.chart.plotLeft)+t.z,y:t.y,z:t.x-e}:t};var f=t.ZAxis=function(){this.init.apply(this,arguments)};r(f.prototype,l.prototype),r(f.prototype,{isZAxis:!0,setOptions:function(t){t=a({offset:0,lineWidth:0},t),l.prototype.setOptions.call(this,t),this.coll="zAxis"},setAxisSize:function(){l.prototype.setAxisSize.call(this),this.width=this.len=this.chart.options.chart.options3d.depth,this.right=this.chart.chartWidth-this.width-this.left},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.ignoreMinPadding=t.ignoreMaxPadding=null,t.buildStacks&&t.buildStacks(),t.series.forEach(function(i){!i.visible&&e.options.chart.ignoreHiddenSeries||(t.hasVisibleSeries=!0,(i=i.zData).length&&(t.dataMin=Math.min(n(t.dataMin,i[0]),Math.min.apply(null,i)),t.dataMax=Math.max(n(t.dataMax,i[0]),Math.max.apply(null,i))))})}}),o(p,"afterGetAxes",function(){var t=this,e=this.options;e=e.zAxis=h(e.zAxis||{}),t.is3d()&&(this.zAxis=[],e.forEach(function(e,i){e.index=i,e.isX=!0,t.addZAxis(e).setScale()}
1))}),i(l.prototype,"getSlotWidth",function(t,e){if(this.chart.is3d()&&e&&e.label&&this.categories&&this.chart.frameShapes){var i,s,o=this.chart,r=this.ticks,a=this.gridGroup.element.childNodes[0].getBBox(),h=o.frameShapes.left.getBBox(),l=o.options.chart.options3d;o={x:o.plotWidth/2,y:o.plotHeight/2,z:l.depth/2,vd:n(l.depth,1)*n(l.viewDistance,0)};var p=r[(l=e.pos)-1];return r=r[l+1],0!==l&&p&&p.label.xy&&(i=x({x:p.label.xy.x,y:p.label.xy.y,z:null},o,o.vd)),r&&r.label.xy&&(s=x({x:r.label.xy.x,y:r.label.xy.y,z:null},o,o.vd)),r={x:e.label.xy.x,y:e.label.xy.y,z:null},r=x(r,o,o.vd),Math.abs(i?r.x-i.x:s?s.x-r.x:a.x-h.x)}return t.apply(this,[].slice.call(arguments,1))})}),e(t,"parts-3d/Series.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){var i=e.addEvent,s=e.pick,o=t.perspective;i(t.Series,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()}),t.Series.prototype.translate3dPoints=function(){var t,e=this.chart,i=s(this.zAxis,e.options.zAxis[0]),r=[];for(t=0;t<this.data.length;t++){var a=this.data[t];if(i&&i.translate){var n=i.isLog&&i.val2lin?i.val2lin(a.z):a.z;a.plotZ=i.translate(n),a.isInside=!!a.isInside&&(n>=i.min&&n<=i.max)}else a.plotZ=0;a.axisXpos=a.plotX,a.axisYpos=a.plotY,a.axisZpos=a.plotZ,r.push({x:a.plotX,y:a.plotY,z:a.plotZ})}for(e=o(r,e,!0),t=0;t<this.data.length;t++)a=this.data[t],i=e[t],a.plotX=i.x,a.plotY=i.y,a.plotZ=i.z}}),e(t,"parts-3d/Column.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){function i(t){var e=t.apply(this,[].slice.call(arguments,1));return this.chart.is3d&&this.chart.is3d()&&(e.stroke=this.options.edgeColor||e.fill,e["stroke-width"]=a(this.options.edgeWidth,1)),e}function s(t,e,i){var s=this.chart.is3d&&this.chart.is3d();s&&(this.options.inactiveOtherPoints=!0),t.call(this,e,i),s&&(this.options.inactiveOtherPoints=!1)}function o(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:t.apply(this,e)}var r=e.addEvent,a=e.pick;e=e.wrap;var n=t.perspective,h=t.Series,l=t.seriesTypes,p=t.svg;e(l.column.prototype,"translate",function(t){t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()&&this.translate3dShapes()}),e(t.Series.prototype,"justifyDataLabel",function(t){return!arguments[2].outside3dPlot&&t.apply(this,[].slice.call(arguments,1))}),l.column.prototype.translate3dPoints=function(){},l.column.prototype.translate3dShapes=function(){var t,e=this,i=e.chart,s=e.options,o=s.depth,r=(s.stacking?s.stack||0:e.index)*(o+(s.groupZPadding||1)),a=e.borderWidth%2?.5:0;i.inverted&&!e.yAxis.reversed&&(a*=-1),!1!==s.grouping&&(r=0),r+=s.groupZPadding||1,e.data.forEach(function(s){if(s.outside3dPlot=null,null!==s.y){var h,l=s.shapeArgs,p=s.tooltipPos;[["x","width"],["y","height"]].forEach(function(t){if(0>(h=l[t[0]]-a)&&(l[t[1]]+=l[t[0]]+a,l[t[0]]=-a,h=0),h+l[t[1]]>e[t[0]+"Axis"].len&&0!==l[t[1]]&&(l[t[1]]=e[t[0]+"Axis"].len-l[t[0]]),0!==l[t[1]]&&(l[t[0]]>=e[t[0]+"Axis"].len||l[t[0]]+l[t[1]]<=a)){for(var i in l)l[i]=0;s.outside3dPlot=!0}}),"rect"===s.shapeType&&(s.shapeType="cuboid"),l.z=r,l.depth=o,l.insidePlotArea=!0,t={x:l.x+l.width/2,y:l.y,z:r+o/2},i.inverted&&(t.x=l.height,t.y=s.clientX),s.plot3d=n([t],i,!0,!1)[0],p=n([{x:p[0],y:p[1],z:r+o/2}],i,!0,!1)[0],s.tooltipPos=[p.x,p.y]}}),e.z=r},e(l.column.prototype,"animate",function(t){if(this.chart.is3d()){var e=arguments[1],i=this.yAxis,s=this,o=this.yAxis.reversed;p&&(e?s.data.forEach(function(t){null!==t.y&&(t.height=t.shapeArgs.height,t.shapey=t.shapeArgs.y,t.shapeArgs.height=1,o||(t.shapeArgs.y=t.stackY?t.plotY+i.translate(t.stackY):t.plotY+(t.negative?-t.height:t.height)))}):(s.data.forEach(function(t){null!==t.y&&(t.shapeArgs.height=t.height,t.shapeArgs.y=t.shapey,t.graphic&&t.graphic.animate(t.shapeArgs,s.options.animation))}),this.drawDataLabels()))}else t.apply(this,[].slice.call(arguments,1))}),e(l.column.prototype,"plotGroup",function(t,e,i,s,o,r){return"dataLabelsGroup"!==e&&this.chart.is3d()&&(this[e]&&delete this[e],r&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(r)),this[e]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[e].survive=!0,"group"===e||"markerGroup"===e))&&(arguments[3]="visible"),t.apply(this,Array.prototype.slice.call(arguments,1
1))}),e(l.column.prototype,"setVisible",function(t,e){var i,s=this;s.chart.is3d()&&s.data.forEach(function(t){i=(t.visible=t.options.visible=e=void 0===e?!a(s.visible,t.visible):e)?"visible":"hidden",s.options.data[s.data.indexOf(t)]=t.options,t.graphic&&t.graphic.attr({visibility:i})}),t.apply(this,Array.prototype.slice.call(arguments,1))}),l.column.prototype.handle3dGrouping=!0,r(h,"afterInit",function(){if(this.chart.is3d()&&this.handle3dGrouping){var t=this.options,e=t.grouping,i=t.stacking,s=a(this.yAxis.options.reversedStacks,!0),o=0;if(void 0===e||e){for(e=this.chart.retrieveStacks(i),o=t.stack||0,i=0;i<e[o].series.length&&e[o].series[i]!==this;i++);o=10*(e.totalStacks-e[o].position)+(s?i:-i),this.xAxis.reversed||(o=10*e.totalStacks-o)}t.depth=t.depth||25,this.z=this.z||0,t.zIndex=o}}),e(l.column.prototype,"pointAttribs",i),e(l.column.prototype,"setState",s),e(l.column.prototype.pointClass.prototype,"hasNewShapeType",o),l.columnrange&&(e(l.columnrange.prototype,"pointAttribs",i),e(l.columnrange.prototype,"setState",s),e(l.columnrange.prototype.pointClass.prototype,"hasNewShapeType",o),l.columnrange.prototype.plotGroup=l.column.prototype.plotGroup,l.columnrange.prototype.setVisible=l.column.prototype.setVisible),e(h.prototype,"alignDataLabel",function(t,e,i,s,o){var r=this.chart;if(s.outside3dPlot=e.outside3dPlot,r.is3d()&&this.is("column")){var h=this.options,l=a(s.inside,!!this.options.stacking),p=r.options.chart.options3d,c=e.pointWidth/2||0;h={x:o.x+c,y:o.y,z:this.z+h.depth/2},r.inverted&&(l&&(o.width=0,h.x+=e.shapeArgs.height/2),90<=p.alpha&&270>=p.alpha&&(h.y+=e.shapeArgs.width)),h=n([h],r,!0,!1)[0],o.x=h.x-c,o.y=e.outside3dPlot?-9e9:h.y}t.apply(this,[].slice.call(arguments,1))}),e(t.StackItem.prototype,"getStackBox",function(t,e,i,s,o,r,a,h){var p=t.apply(this,[].slice.call(arguments,1));if(e.is3d()&&i.base){var c=+i.base.split(",")[0],d=e.series[c];c=e.options.chart.options3d,d&&d instanceof l.column&&(d={x:p.x+(e.inverted?a:r/2),y:p.y,z:d.options.depth/2},e.inverted&&(p.width=0,90<=c.alpha&&270>=c.alpha&&(d.y+=r)),d=n([d],e,!0,!1)[0],p.x=d.x-r/2,p.y=d.y)}return p})}),e(t,"parts-3d/Pie.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){var i=e.pick;e=e.wrap;var s=t.deg2rad,o=t.seriesTypes,r=t.svg;e(o.pie.prototype,"translate",function(t){if(t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var e=this,i=e.options,o=i.depth||0,r=e.chart.options.chart.options3d,a=r.alpha,n=r.beta,h=i.stacking?(i.stack||0)*o:e._i*o;h+=o/2,!1!==i.grouping&&(h=0),e.data.forEach(function(t){var r=t.shapeArgs;t.shapeType="arc3d",r.z=h,r.depth=.75*o,r.alpha=a,r.beta=n,r.center=e.center,r=(r.end+r.start)/2,t.slicedTranslation={translateX:Math.round(Math.cos(r)*i.slicedOffset*Math.cos(a*s)),translateY:Math.round(Math.sin(r)*i.slicedOffset*Math.cos(a*s))}})}}),e(o.pie.prototype.pointClass.prototype,"haloPath",function(t){var e=arguments;return this.series.chart.is3d()?[]:t.call(this,e[1])}),e(o.pie.prototype,"pointAttribs",function(t,e,s){return t=t.call(this,e,s),s=this.options,this.chart.is3d()&&!this.chart.styledMode&&(t.stroke=s.edgeColor||e.color||this.color,t["stroke-width"]=i(s.edgeWidth,1)),t}),e(o.pie.prototype,"drawDataLabels",function(t){if(this.chart.is3d()){var e=this.chart.options.chart.options3d;this.data.forEach(function(t){var i=t.shapeArgs,o=i.r,r=(i.start+i.end)/2,a=(t=t.labelPosition).connectorPosition,n=-o*(1-Math.cos((i.alpha||e.alpha)*s))*Math.sin(r),h=o*(Math.cos((i.beta||e.beta)*s)-1)*Math.cos(r);[t.natural,a.breakAt,a.touchingSliceAt].forEach(function(t){t.x+=h,t.y+=n})})}t.apply(this,[].slice.call(arguments,1))}),e(o.pie.prototype,"addPoint",function(t){t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()&&this.update(this.userOptions,!0)}),e(o.pie.prototype,"animate",function(t){if(this.chart.is3d()){var e=arguments[1],i=this.options.animation,s=this.center,o=this.group,a=this.markerGroup;r&&(!0===i&&(i={}),e?(o.oldtranslateX=o.translateX,o.oldtranslateY=o.translateY,e={translateX:s[0],translateY:s[1],scaleX:.001,scaleY:.001},o.attr(e),a&&(a.attrSetters=o.attrSetters,a.attr(e))):(e={translateX:o.oldtranslateX,translateY:o.oldtranslateY,scaleX:1,scaleY:1},o.animate(e,i),a&&a.animate(e,i)))}
1else t.apply(this,[].slice.call(arguments,1))})}),e(t,"parts-3d/Scatter.js",[t["parts/Globals.js"],t["parts/Point.js"],t["parts/Utilities.js"]],function(t,e,i){i=i.seriesType;var s=t.seriesTypes;i("scatter3d","scatter",{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}},{pointAttribs:function(e){var i=s.scatter.prototype.pointAttribs.apply(this,arguments);return this.chart.is3d()&&e&&(i.zIndex=t.pointCameraDistance(e,this.chart)),i},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x","y","z"],parallelArrays:["x","y","z"],directTouch:!0},{applyOptions:function(){return e.prototype.applyOptions.apply(this,arguments),void 0===this.z&&(this.z=0),this}})}),e(t,"parts-3d/VMLRenderer.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(t,e){e=e.addEvent;var i=t.Axis,s=t.SVGRenderer,o=t.VMLRenderer;o&&(t.setOptions({animate:!1}),o.prototype.face3d=s.prototype.face3d,o.prototype.polyhedron=s.prototype.polyhedron,o.prototype.elements3d=s.prototype.elements3d,o.prototype.element3d=s.prototype.element3d,o.prototype.cuboid=s.prototype.cuboid,o.prototype.cuboidPath=s.prototype.cuboidPath,o.prototype.toLinePath=s.prototype.toLinePath,o.prototype.toLineSegments=s.prototype.toLineSegments,o.prototype.arc3d=function(t){return(t=s.prototype.arc3d.call(this,t)).css({zIndex:t.zIndex}),t},t.VMLRenderer.prototype.arc3dPath=t.SVGRenderer.prototype.arc3dPath,e(i,"render",function(){this.sideFrame&&(this.sideFrame.css({zIndex:0}),this.sideFrame.front.attr({fill:this.sideFrame.color})),this.bottomFrame&&(this.bottomFrame.css({zIndex:1}),this.bottomFrame.front.attr({fill:this.bottomFrame.color})),this.backFrame&&(this.backFrame.css({zIndex:0}),this.backFrame.front.attr({fill:this.backFrame.color}))}))}),e(t,"masters/highcharts-3d.src.js",[],function(){})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.