/*
 FusionCharts JavaScript Library
 Copyright FusionCharts Technologies LLP
 License Information at <http://www.fusioncharts.com/license>

 @author FusionCharts Technologies LLP
 @version fusioncharts/3.2.4-release.8565
*/
(function(){var B=FusionCharts(["private","modules.renderer.highcharts-lib"]);if(B!==void 0){var g=window,D="",T="0",t=".",Ka=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,c=/msie/i.test(navigator.userAgent)&&!window.opera,I=/\s+/g,a=/^#?/,h=/^rgba/i,K=/[#\s]/ig,q=/\{br\}/ig,W=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i,P=Math.abs,C=Math.pow,y=Object.prototype.toString,p=function(a,c){return!a&&a!==!1&&a!==0?c:a},U=function(){var a,c,s;c=0;for(s=
arguments.length;c<s;c+=1)if((a=arguments[c])||!(a!==!1&&a!==0))return a;return D},n=function(){var a,c,s;c=0;for(s=arguments.length;c<s;c+=1)if((a=arguments[c])||!(a!==!1&&a!==0))return a},Q=function(){var a,c,s;c=0;for(s=arguments.length;c<s;c+=1)if((a=arguments[c])||!(a!==!1&&a!==0))if(!isNaN(a=Number(a)))return a},Ga=function(a,c){a=!a&&a!==!1&&a!==0?NaN:Number(a);return isNaN(a)?null:c?P(a):a},Lb=function(a){return typeof a==="string"?a.replace(q,"<br />"):D},ab=function(a,c,s){var z,h;if(c instanceof
Array)for(z=0;z<c.length;z+=1)if(typeof c[z]!=="object")s&&c[z]===void 0||(a[z]=c[z]);else{if(a[z]===null||typeof a[z]!=="object")a[z]=c[z]instanceof Array?[]:{};ab(a[z],c[z],s)}else for(z in c)if(c[z]!==null&&typeof c[z]==="object")if(h=y.call(c[z]),h==="[object Object]"){if(a[z]===null||typeof a[z]!=="object")a[z]={};ab(a[z],c[z],s)}else if(h==="[object Array]"){if(a[z]===null||!(a[z]instanceof Array))a[z]=[];ab(a[z],c[z],s)}else a[z]=c[z];else a[z]=c[z];return a},Bb=function(a,c,s){if(typeof a!==
"object"&&typeof c!=="object")return null;typeof c!=="object"&&(c=a,a=void 0);typeof a!=="object"&&(a=c instanceof Array?[]:{});ab(a,c,s);return a},aa=function(a,c){var s;if(c instanceof Array)for(s=c.length-1;s>=0;s-=1)typeof c[s]!=="object"?c[s]===!0&&a&&a.splice&&a.splice(s,1):y.call(c[s])===y.call(a[s])&&aa(a[s],c[s]);else for(s in c)typeof c[s]!=="object"?c[s]===!0&&a&&a.splice&&a.splice(s,1):y.call(c[s])===y.call(a[s])&&aa(a[s],c[s]);return a},bb=function(){var a=/^@window_/g;return function(c,
s){var c=c.replace(/\[[\'\"]/g,".").replace(/[\'\"]\]/g,D).replace(/\[/g,".@window_").replace(/\]/g,D),z=c.split("."),h=g,n,S;S=D;var ua,o,p;o=z.length;for(p=0;p<o;p+=1){ua=z[p];n=h;if(ua.match(a))S=g[ua.replace(a,D)],h=h[S];else if(h===void 0||h===null)throw(S||ua).replace(a,D)+" is not defined";else h=h[ua];S=ua}if(typeof h==="function")h.call(n,s);else throw ua.replace(a,D)+"() is not a function";}}(),Y=function(a,c){a=Number(a);a=isNaN(a)?100:a;c!==void 0&&(a=a*c/100);return a%101},vb=function(a,
c,s){var a=a.split(","),z;s!==void 0&&(s=Q(s.split(",")[0]));a[0]=Y(a[0],s);for(z=1;z<c;z+=1)a[z]=a[0]*Y(a[z],s)/100;return a.join(",")},Oa=function(a,c,s){var z=0,n=0,p=0;s&&s.match(h)&&(s=s.split(","),z=s[0].slice(s[0].indexOf("(")+1),n=s[1],p=s[2],!c&&c!==0&&(c=parseInt(s[3].slice(0,s[3].indexOf(")"))*100,10)));if(a)if(a.match(h))s=a.split(","),z=s[0].slice(s[0].indexOf("(")+1),n=s[1],p=s[2];else{a=a.replace(K,D).split(",")[0];switch(a.length){case 3:a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2];break;case 6:break;
default:a=(a+"FFFFFF").slice(0,6)}z=parseInt(a.slice(0,2),16);n=parseInt(a.slice(2,4),16);p=parseInt(a.slice(4,6),16)}!c&&c!=0&&(c=100);typeof c==="string"&&(c=c.split(",")[0]);c=parseInt(c,10)/100;return"rgba("+z+","+n+","+p+","+c+")"},L=function(c){return c.replace(K,D).replace(a,"#")},ba=function(a,c){c=c<0||c>100?100:c;c/=100;var a=a.replace(K,D),s=parseInt(a,16),z=Math.floor(s/65536),h=Math.floor((s-z*65536)/256);return("000000"+(z*c<<16|h*c<<8|(s-z*65536-h*256)*c).toString(16)).slice(-6)},F=
function(a,c){c=c<0||c>100?100:c;c/=100;var a=a.replace(K,D),s=parseInt(a,16),z=Math.floor(s/65536),h=Math.floor((s-z*65536)/256);return("000000"+(256-(256-z)*c<<16|256-(256-h)*c<<8|256-(256-(s-z*65536-h*256))*c).toString(16)).slice(-6)},Fa={circle:"circle",triangle:"triangle",square:"square",diamond:"diamond",poly:"poly_",spoke:"spoke_"},Ba,Qa=function(){function a(c){var S;if(c&&c.offsetWidth&&c.offsetHeight){if(c.appendChild)return c.appendChild(S=document.createElement("span")),S.className="_SmartLabel_Container",
S}else if((c=document.getElementsByTagName("body")[0])&&c.appendChild)return S=document.createElement("span"),S.className="_SmartLabel_Container",I+=1,c.appendChild(S),S}function h(a,c,S){S.innerHTML=a;var s,o,z,ua=S.offsetWidth;s=c;o=Math.ceil(c/y);if(ua<c)return a.length-1;if(o>a.length)s=c-ua,o=a.length;for(;s>0;)if(S.innerHTML=a.substr(0,o),s=c-S.offsetWidth,z=Math.floor(s/y))o+=z;else return o;for(o+=z;s<0;)if(S.innerHTML=a.substr(0,o),s=c-S.offsetWidth,z=Math.floor(s/y))o+=z;else break;return o}
function s(c,S,s){if(!(typeof c==="undefined"||typeof c==="object"))this.id=c,typeof S==="string"&&(S=document.getElementById(S)),this.parentContainer=S,this.container=a(S,c),this.showNoEllipses=!s,this.init=!0,this.style={}}var z={font:"font",fontFamily:"font-family","font-family":"font-family",fontWeight:"font-weight","font-weight":"font-weight",fontSize:"font-size","font-size":"font-size",lineHeight:"line-height","line-height":"line-height",textDecoration:"text-decoration","text-decoration":"text-decoration",
color:"color",whiteSpace:"white-space","white-space":"white-space",padding:"padding",margin:"margin",background:"background",backgroundColor:"background-color","background-color":"background-color",backgroundImage:"background-image","background-image":"background-image",backgroundPosition:"background-position","background-position":"background-position",backgroundPositionLeft:"background-position-left","background-position-left":"background-position-left",backgroundPositionTop:"background-position-top",
"background-position-top":"background-position-top",backgroundRepeat:"background-repeat","background-repeat":"background-repeat",border:"border",borderColor:"border-color","border-color":"border-color",borderStyle:"border-style","border-style":"border-style",borderThickness:"border-thickness","border-thickness":"border-thickness",borderTop:"border-top","border-top":"border-top",borderTopColor:"border-top-color","border-top-color":"border-top-color",borderTopStyle:"border-top-style","border-top-style":"border-top-style",
borderTopThickness:"border-top-thickness","border-top-thickness":"border-top-thickness",borderRight:"border-right","border-right":"border-right",borderRightColor:"border-right-color","border-right-color":"border-right-color",borderRightStyle:"border-right-style","border-right-style":"border-right-style",borderRightThickness:"border-right-thickness","border-right-thickness":"border-right-thickness",borderBottom:"border-bottom","border-bottom":"border-bottom",borderBottomColor:"border-bottom-color",
"border-bottom-color":"border-bottom-color",borderBottomStyle:"border-bottom-style","border-bottom-style":"border-bottom-style",borderBottomThickness:"border-bottom-thickness","border-bottom-thickness":"border-bottom-thickness",borderLeft:"border-left","border-left":"border-left",borderLeftColor:"border-left-color","border-left-color":"border-left-color",borderLeftStyle:"border-left-style","border-left-Style":"border-left-style",borderLeftThickness:"border-left-thickness","border-left-thickness":"border-left-thickness"};
Ba=function(){var a=document.createElement("span"),S,s={lineHeight:!0,"line-height":!0},o=function(){return Q(parseInt(a.style.fontSize,10),10)*1.4+"px"};a.innerHTML="fy";S=window.getComputedStyle?function(){var c=window.getComputedStyle(a,null);return c&&c.getPropertyValue("line-height")?c.getPropertyValue("line-height"):o.apply(this,arguments)}:a.currentStyle?function(){return a.currentStyle.lineHeight}:o;return function(h){var ua,n="";for(ua in h)!s[ua]&&z[ua]&&(n+=z[ua]+" : "+h[ua]+";");c&&!Ka?
a.style.setAttribute("cssText",n):a.setAttribute("style",n);ua=S();parseFloat(ua)||(ua=o());return h.lineHeight=ua}}();var p={position:"absolute",top:"-9999em",whiteSpace:"nowrap"},g=0,S=/\b_SmartLabel\b/,ua=/\b_SmartLabelBR\b/,o=/(\<[^\<\>]+?\>)|(&(?:[a-z]+|#[0-9]+);|.)/ig,C=RegExp("<span[^>]+?_SmartLabel[^>]+?>(.*?)</span>","ig"),P=/<[^>][^<]*[^>]+>/i,D=0,q=0,y=0,t=0,I=0,na,F,B;document.getElementsByClassName?(na="getElementsByClassName",F="_SmartLabel",B=!0):(na="getElementsByTagName",F="span",
B=!1);s.prototype={dispose:function(){var a=this.container,c;if(this.init){if(a&&(c=a.parentNode))c.removeChild(a),delete this.container;delete this.id;delete this.style;delete this.parentContainer;delete this.showNoEllipses}},useEllipsesOnOverflow:function(a){if(this.init)this.showNoEllipses=!a},getSmartText:function(c,s,z,p){if(!this.init)return!1;n(c)===void 0&&(c="");if(!this.container)this.container=a(this.parentContainer),this.setStyle();var X={text:c,maxWidth:s,maxHeight:z,width:null,height:null,
oriTextWidth:null,oriTextHeight:null,oriText:c,isTruncated:!1},y=!1,I,fa,K,U,Q=-1,Cb=-1,W=-1,L=this.container,T=[],ba=this.showNoEllipses?"":"...",e=function(e){for(var e=e.replace(/^\s\s*/,""),a=/\s/,m=e.length;a.test(e.charAt(m-=1)););return e.slice(0,m+1)};if(L){L.innerHTML=c;X.oriTextWidth=K=L.offsetWidth;X.oriTextHeight=y=L.offsetHeight;if(y<=z&&K<=s)return X.width=X.oriTextWidth=K,X.height=X.oriTextHeight=y,X;if(D>z)return X.text="",X.width=X.oriTextWidth=0,X.height=X.oriTextHeight=0,X;c=e(c).replace(/(\s+)/g,
" ");y=P.test(c);i=0;K=this.showNoEllipses?s:s-g;if(y){U=c.replace(o,"$2");c=c.replace(o,'$1<span class="_SmartLabel">$2</span>');c=c.replace(/(\<br\s*\/*\>)/g,"<span class='_SmartLabel _SmartLabelBR'>$1</span>");L.innerHTML=c;for(var y=L[na](F),m,e=[],j=-1,f=-1,Q=0,Cb=y.length;Q<Cb;Q+=1)if(c=y[Q],B||S.test(c.className))if(m=c.innerHTML,m!=""){if(m==" ")f=e.length;else if(m=="-")j=e.length;e.push({spaceIdx:f,dashIdx:j,elem:c});T.push(m)}delete y;i=0;y=e.length;q=e[0].elem.offsetWidth;if(q>s)return X.text=
"",X.width=X.oriTextWidth=X.height=X.oriTextHeight=0,X;else q>K&&!this.showNoEllipses&&(K=s-2*t,K>q?ba="..":(K=s-t,K>q?ba=".":(K=0,ba="")));if(p)for(;i<y;i+=1)c=e[i].elem,p=c.offsetLeft+c.offsetWidth,p>K&&(fa||(fa=i),L.offsetWidth>s&&(I=i,i=y));else for(;i<y;i+=1)if(c=e[i].elem,Q=c.offsetHeight+c.offsetTop,p=c.offsetLeft+c.offsetWidth,T=null,p>K){if(fa||(fa=i),p>s)Cb=e[i].spaceIdx,Q=e[i].dashIdx,Cb>W?(e[Cb].elem.innerHTML="<br/>",W=Cb):Q>W?(e[Q].elem.innerHTML=Q===i?"<br/>-":"-<br/>",W=Q):c.parentNode.insertBefore(T=
document.createElement("br"),c),c.offsetHeight+c.offsetTop>z?(T?T.parentNode.removeChild(T):W===Q?e[Q].elem.innerHTML="-":e[Cb].elem.innerHTML=" ",I=i,i=y):fa=null}else Q>z&&(I=i,i=y);if(I<y){X.isTruncated=!0;fa=fa?fa:I;for(i=y-1;i>=fa;i-=1)c=e[i].elem,c.parentNode.removeChild(c);for(;i>=0;i-=1)c=e[i].elem,ua.test(c.className)?c.parentNode.removeChild(c):i=0}X.text=L.innerHTML.replace(C,"$1");if(X.isTruncated)X.text+=ba,X.text='<span title="'+U+'">'+X.text+"</span>"}else{T=c.split("");y=T.length;
I="";fa=[];L.innerHTML=T[0];q=L.offsetWidth;if(K>q)fa=c.substr(0,h(c,K,L)).split(""),i=fa.length-1;else if(q>s)return X.text="",X.width=X.oriTextWidth=X.height=X.oriTextHeight=0,X;else this.showNoEllipses||(K=s-2*t,K>q?ba="..":(K=s-t,K>q?ba=".":(K=0,ba="")));if(p)for(;i<y;i+=1){if(fa[i]=T[i],L.innerHTML=U=fa.join(""),L.offsetWidth>K&&(I||(I=U.substr(0,U.length-1)),L.offsetWidth>s))return L.innerHTML=X.text='<span title="'+X.oriText+'">'+e(I)+ba+"</span>",X.width=L.offsetWidth,X.height=L.offsetHeight,
X}else for(;i<y;i+=1)if(fa[i]=T[i],L.innerHTML=U=fa.join(""),L.offsetWidth>K&&(I||(I=U.substr(0,U.length-1)),L.offsetWidth>s))if(Cb=c.substr(0,fa.length).lastIndexOf(" "),Q=c.substr(0,fa.length).lastIndexOf("-"),Cb>W?(fa.splice(Cb,1,"<br/>"),W=Cb,p=Cb+1):Q>W?(Q===fa.length-1?fa.splice(Q,1,"<br/>-"):fa.splice(Q,1,"-<br/>"),W=Q,p=Q+1):(fa.splice(fa.length-1,1,"<br/>"+T[i]),p=i),L.innerHTML=U=fa.join(""),L.offsetHeight>z)return X.text=L.innerHTML="<span title='"+X.oriText+"'>"+e(I)+ba+"</span>",X.width=
L.offsetWidth,X.height=L.offsetHeight,X;else if(I=null,Q=h(c.substr(p),K,L),fa.length<p+Q)fa=fa.concat(c.substr(fa.length,p+Q-fa.length).split("")),L.innerHTML=U=fa.join(""),i=fa.length-1;X.text=L.innerHTML=U;X.width=L.offsetWidth;X.height=L.offsetHeight;return X}X.height=L.offsetHeight;X.width=L.offsetWidth}else X.error=Error("Body Tag Missing!");return X},setStyle:function(a){if(!this.init)return!1;var c;if(a!==this.style||this.styleNotSet){if(a){if(this.style&&this.container)for(c in this.style)a[c]||
(this.container.style[c]="");delete this.style;this.style=a}if(this.container){a=this.container;c=this.style;for(var S in c)a.style[S]=c[S];for(S in p)a.style[S]=p[S];this.container.innerHTML="WgI";y=Math.ceil(this.container.offsetWidth/3);D=this.container.offsetHeight;this.container.innerHTML="...";g=this.container.offsetWidth;this.container.innerHTML=".";t=this.container.offsetWidth;this.styleNotSet=!1}else this.styleNotSet=!0}},getTextSize:function(c,S,s){if(!this.init)return!1;if(!this.container)this.container=
a(this.parentContainer),this.setStyle();var o={text:c,width:null,height:null,oriTextWidth:null,oriTextHeight:null,isTruncated:!1},z=this.container;if(z&&(z.innerHTML=c,o.oriTextWidth=z.offsetWidth,o.oriTextHeight=z.offsetHeight,o.width=Math.min(o.oriTextWidth,S),o.height=Math.min(o.oriTextHeight,s),o.width<o.oriTextWidth||o.height<o.oriTextHeight))o.isTruncated=!0;return o},getOriSize:function(c){if(!this.init)return!1;if(!this.container)this.container=a(this.parentContainer),this.setStyle();var S=
{text:c,width:null,height:null},s=this.container;if(s)s.innerHTML=c,S.width=s.offsetWidth,S.height=s.offsetHeight;return S}};return s.prototype.constructor=s}(),Va=function(){var a={top:{align:"center",verticalAlign:"top",textAlign:"center"},right:{align:"right",verticalAlign:"middle",textAlign:"left"},bottom:{align:"center",verticalAlign:"bottom",textAlign:"center"},left:{align:"left",verticalAlign:"middle",textAlign:"right"}},c=/([^\,^\s]+)\)$/g,s=function(a,c){var s;if(/^(bar|bar3d)$/.test(a))this.isBar=
!0,this.yPos="bottom",this.yOppPos="top",this.xPos="left",this.xOppPos="right";s=parseInt(c.labelstep,10);this.labelStep=s>1?s:1;this.showLabel=Q(c.showlabels,c.shownames,1);this.is3D=/3d$/.test(a)};s.prototype={isBar:!1,yPos:"left",yOppPos:"right",xPos:"bottom",xOppPos:"top",addAxisGridLine:function(s,h,n,S,ua,o,p,g){var y=n===""?!1:!0,C=S>0||o.match(c)[1]>0?!0:!1,q;if(y||C){C||(o="rgba(0,0,0,0)",S=0.1);q={isGrid:!0,width:S,dashStyle:ua,color:o,value:h,zIndex:p===void 0?2:p};if(y)h=s.opposite?g?
this.xOppPos:this.yOppPos:g?this.xPos:this.yPos,h=a[h],q.label={text:n,style:s.labels.style,textAlign:h.textAlign,align:h.align,verticalAlign:h.verticalAlign,rotation:0,x:0,y:0};s.plotLines.push(q)}return q},addAxisAltGrid:function(a,c){if(!this.is3D){var s=Q(a._lastValue,a.min),S=n(a._altGrid,!1);S&&a.plotBands.push({isGrid:!0,color:a.alternateGridColor,to:c,from:s,zIndex:1});a._lastValue=c;a._altGrid=!S}},addXaxisCat:function(c,s,h,S){var ua=a[c.opposite?this.xOppPos:this.xPos],s={isGrid:!0,width:0.1,
color:"rgba(0,0,0,0)",value:s,label:{text:S,style:c.labels.style,textAlign:ua.textAlign,align:ua.align,verticalAlign:ua.verticalAlign,rotation:0,x:0,y:0}};if(h%this.labelStep!==0)s.stepped=!0,s.label.style=c.steppedLabels.style;c.plotLines.push(s)},addVline:function(a,c,s,S){var h=S._FCconf,o=h.isBar,S=S.chart.plotBorderWidth,p=S%2,pb=h.divlineStyle,g=Lb(c.label),y=Boolean(Q(c.showlabelborder,h.showVLineLabelBorder,1)),q=Boolean(Q(c.showlabelbackground,1)),C=n(c.labelhalign,o?"left":"center"),P=n(c.labelvalign,
o?"middle":"bottom").toLowerCase(),t=Q(c.labelposition,0),I=Q(c.lineposition,0.5),K=Q(c.showvlines,h.showVLines,1),F=Q(c.alpha,h.vLineAlpha,80),L=n(c.color,h.vLineColor,"333333").replace(/^#?/,"#"),U=n(c.labelbgcolor,h.vLineLabelBgColor,"333333").replace(/^#?/,"#"),Wa=L,B=Q(c.thickness,h.vLineThickness,1),T=B*0.5,W=Boolean(Number(n(c.dashed,0))),ba=Q(c.dashlen,5),aa=Q(c.dashgap,2),Ga=h.smartLabel,Y=parseInt(pb.fontSize,10)+2,ab=0,bb=Q(c.rotatelabel,h.rotateVLineLabels)?270:0,I=I<0||I>1?0.5:I,t=t<
0||t>1?0:t;Ga.setStyle(pb);Ga=Ga.getOriSize(g);L=Oa(L,K?F:"0");if(o){switch(P){case "top":Y-=Ga.height+T+2;break;case "middle":Y-=Ga.height*0.5+1;break;default:Y+=T}c.labelhalign||(ab-=Ga.width*t)}else{switch(P){case "top":Y-=Ga.height+2+(S||1)*(1-t)+t;break;case "middle":Y-=Ga.height*0.5+S*(1-t*2);break;default:Y+=(S-p)*t}switch(C){case "left":ab+=B;break;case "right":ab-=B+1}}a.plotLines.push({isVline:!0,color:L,width:B,value:s-1+I,zIndex:Q(c.showontop,h.showVLinesOnTop)?5:3,dashStyle:W?getDashStyle(ba,
aa,B):void 0,label:{text:g,align:o?"left":"center",offsetScale:t,rotation:bb,y:Y,x:ab,textAlign:C,style:{color:K?Wa:L,fontSize:pb.fontSize,fontFamily:pb.fontFamily,lineHeight:pb.lineHeight,border:K&&y?"1px solid":D,borderColor:K&&y?Wa:D,backgroundColor:q?U:D,backgroundOpacity:K&&q?n(c.labelbgalpha,h.vLineLabelBgAlpha)/100:0}}})}};return s.prototype.constructor=s}(),eb=function(){function a(c,s,h){var z;if(s<=0)return String(Math.round(c));if(isNaN(s))return c=c.toString(),c.length>12&&c.indexOf(t)!=
-1&&(s=12-c.split(t)[0].length,z=C(10,s),c=String(Math.round(c*z)/z)),c;z=C(10,s);c=String(Math.round(c*z)/z);if(h==1){c.indexOf(t)==-1&&(c+=".0");h=c.split(t);s-=h[1].length;for(h=1;h<=s;h++)c+=T}return c}function c(a,s,h,z){var n=Number(a);if(isNaN(n))return D;var p=D,pb=!1,y=D,g=D,X=y=0,y=0,X=a.length;a.indexOf(t)!=-1&&(p=a.substring(a.indexOf(t)+1,a.length),X=a.indexOf(t));n<0&&(pb=!0,y=1);y=a.substring(y,X);a=y.length;n=z.length-1;X=z[n];if(a<X)g=y;else for(;a>=X;)g=(a-X?h:D)+y.substr(a-X,X)+
g,a-=X,X=(n-=1)<=0?z[0]:z[n],a<X&&(g=y.substring(a,0)+g);p!=D&&(g=g+s+p);pb==!0&&(g="-"+g);return g}var s={formatnumber:"1",formatnumberscale:"1",defaultnumberscale:D,numberscaleunit:["K","M"],numberscalevalue:[1E3,1E3],numberprefix:D,numbersuffix:D,decimals:D,forcedecimals:T,yaxisvaluedecimals:"2",decimalseparator:t,thousandseparator:",",thousandseparatorposition:[3],indecimalseparator:D,inthousandseparator:D,sformatnumber:"1",sformatnumberscale:T,sdefaultnumberscale:D,snumberscaleunit:["K","M"],
snumberscalevalue:[1E3,1E3],snumberprefix:D,snumbersuffix:D,sdecimals:"2",sforcedecimals:T,syaxisvaluedecimals:"2",xFormatNumber:T,xFormatNumberScale:T,xDefaultNumberScale:D,xNumberScaleUnit:["K","M"],xNumberScaleValue:[1E3,1E3],xNumberPrefix:D,xNumberSuffix:D},h={mscombidy2d:{formatnumberscale:"1"}},g=function(a,c){var o,pb,g,y,X,q,C,t,P,D,Rb,I=c.name,K=h[I];typeof K!=="object"&&(K=s);p(a.numberscaleunit)&&(o=a.numberscaleunit.split(","));if(pb=p(a.snumberscaleunit,a.numberscaleunit))pb=pb.split(",");
if(g=p(a.xnumberscaleunit,a.numberscaleunit))g=g.split(",");if(y=p(a.ticknumberscaleunit,a.numberscaleunit))y=y.split(",");if(X=p(a.ynumberscaleunit,a.numberscaleunit))X=X.split(",");p(a.numberscalevalue)&&(q=a.numberscalevalue.split(","));if(Rb=p(a.snumberscalevalue,a.numberscalevalue))Rb=Rb.split(",");if(C=p(a.xnumberscalevalue,a.numberscalevalue))C=C.split(",");if(t=p(a.ticknumberscalevalue,a.numberscalevalue))t=t.split(",");if(P=p(a.ynumberscalevalue,a.numberscalevalue))P=P.split(",");if(p(a.thousandseparatorposition)){D=
a.thousandseparatorposition.split(",");for(var L=D.length,F,B=Q(D[L]),B=B?B:s.thousandseparatorposition[0];L;)L-=1,(F=Q(Math.abs(D[L])))?B=F:F=B,D[L]=F}c||(c={});L=Q(a.scalerecursively,0);F=Q(a.sscalerecursively,L);var B=Q(a.xscalerecursively,L),Wa=Q(a.maxscalerecursion,-1),T=Q(a.smaxscalerecursion,Wa),W=Q(a.xmaxscalerecursion,Wa),ba=p(a.scaleseparator," "),aa=p(a.sscaleseparator,ba),Ga=p(a.xscaleseparator,ba);if(!Wa||Wa==0)Wa=-1;this.paramLabels=o={formatnumber:n(a.formatnumber,c.formatnumber,K.formatnumber,
s.formatnumber),formatnumberscale:n(a.formatnumberscale,c.formatnumberscale,K.formatnumberscale,s.formatnumberscale),defaultnumberscale:U(a.defaultnumberscale,c.defaultnumberscale,K.defaultnumberscale,s.defaultnumberscale),numberscaleunit:n(o,c.numberscaleunit,K.numberscaleunit,s.numberscaleunit).concat(),numberscalevalue:n(q,c.numberscalevalue,K.numberscalevalue,s.numberscalevalue).concat(),numberprefix:U(a.numberprefix,c.numberprefix,K.numberprefix,s.numberprefix),numbersuffix:U(a.numbersuffix,
c.numbersuffix,K.numbersuffix,s.numbersuffix),decimalprecision:parseInt(n.apply(window,a.decimals==="auto"?[s.decimalprecision]:[a.decimals,a.decimalprecision,c.decimals,K.decimals,s.decimals,c.decimalprecision,K.decimalprecision,s.decimalprecision]),10),forcedecimals:n(a.forcedecimals,c.forcedecimals,K.forcedecimals,s.forcedecimals),decimalseparator:n(a.decimalseparator,c.decimalseparator,K.decimalseparator,s.decimalseparator),thousandseparator:n(a.thousandseparator,c.thousandseparator,K.thousandseparator,
s.thousandseparator),thousandseparatorposition:n(D,c.thousandseparatorposition,K.thousandseparatorposition,s.thousandseparatorposition),indecimalseparator:U(a.indecimalseparator,c.indecimalseparator,K.indecimalseparator,s.indecimalseparator),inthousandseparator:U(a.inthousandseparator,c.inthousandseparator,K.inthousandseparator,s.inthousandseparator),scalerecursively:L,maxscalerecursion:Wa,scaleseparator:ba};if(!c.useScaleRecursively||(o.numberscalevalue&&o.numberscalevalue.length)!=(o.numberscaleunit&&
o.numberscaleunit.length))o.scalerecursively=L=0;this.param1=q={formatnumber:o.formatnumber,formatnumberscale:o.formatnumberscale,defaultnumberscale:o.defaultnumberscale,numberscaleunit:o.numberscaleunit.concat(),numberscalevalue:o.numberscalevalue.concat(),numberprefix:o.numberprefix,numbersuffix:o.numbersuffix,decimalprecision:parseInt(n(a.yaxisvaluedecimals,o.decimalprecision,2)),forcedecimals:n(a.forceyaxisvaluedecimals,o.forcedecimals),decimalseparator:o.decimalseparator,thousandseparator:o.thousandseparator,
thousandseparatorposition:o.thousandseparatorposition.concat(),indecimalseparator:o.indecimalseparator,inthousandseparator:o.inthousandseparator,scalerecursively:L,maxscalerecursion:Wa,scaleseparator:ba};this.paramX={formatnumber:n(a.xformatnumber,o.formatnumber),formatnumberscale:n(a.xformatnumberscale,o.formatnumberscale),defaultnumberscale:U(a.xdefaultnumberscale,o.defaultnumberscale),numberscaleunit:n(g,o.numberscaleunit.concat()),numberscalevalue:n(C,o.numberscalevalue.concat()),numberprefix:n(a.xnumberprefix,
o.numberprefix),numbersuffix:n(a.xnumbersuffix,o.numbersuffix),decimalprecision:parseInt(n(a.xaxisvaluedecimals,a.xaxisvaluesdecimals,o.decimalprecision,2)),forcedecimals:n(a.forcexaxisvaluedecimals,0),decimalseparator:o.decimalseparator,thousandseparator:o.thousandseparator,thousandseparatorposition:o.thousandseparatorposition.concat(),indecimalseparator:o.indecimalseparator,inthousandseparator:o.inthousandseparator,scalerecursively:B,maxscalerecursion:W,scaleseparator:Ga};if(!c.useScaleRecursively||
(this.paramX.numberscalevalue&&this.paramX.numberscalevalue.length)!=(this.paramX.numberscaleunit&&this.paramX.numberscaleunit.length))this.paramX.scalerecursively=B=0;this.param2={formatnumber:n(a.sformatnumber,c.sformatnumber,s.sformatnumber),formatnumberscale:n(a.sformatnumberscale,c.sformatnumberscale,s.sformatnumberscale),defaultnumberscale:U(a.sdefaultnumberscale,c.sdefaultnumberscale,o.defaultnumberscale),numberscaleunit:n(pb,c.snumberscaleunit,s.snumberscaleunit).concat(),numberscalevalue:n(Rb,
c.snumberscalevalue,s.snumberscalevalue).concat(),numberprefix:U(a.snumberprefix,c.snumberprefix,s.snumberprefix),numbersuffix:U(a.snumbersuffix,c.snumbersuffix,s.snumbersuffix),decimalprecision:parseInt(n(a.syaxisvaluedecimals,a.sdecimals,c.sdecimals,s.sdecimals),10),forcedecimals:n(a.forcesyaxisvaluedecimals,a.sforcedecimals,c.sforcedecimals,s.sforcedecimals),decimalseparator:n(a.decimalseparator,c.decimalseparator,s.decimalseparator),thousandseparator:n(a.thousandseparator,c.thousandseparator,
s.thousandseparator),thousandseparatorposition:o.thousandseparatorposition.concat(),indecimalseparator:n(a.indecimalseparator,c.indecimalseparator,s.indecimalseparator),inthousandseparator:n(a.inthousandseparator,c.inthousandseparator,s.inthousandseparator),scalerecursively:F,maxscalerecursion:T,scaleseparator:aa};if(!c.useScaleRecursively||(this.param2.numberscalevalue&&this.param2.numberscalevalue.length)!=(this.param2.numberscaleunit&&this.param2.numberscaleunit.length))this.param2.scalerecursively=
F=0;this.paramScale={formatnumber:n(a.tickformatnumber,o.formatnumber),formatnumberscale:n(a.tickformatnumberscale,o.formatnumberscale),defaultnumberscale:U(a.tickdefaultnumberscale,o.defaultnumberscale),numberscaleunit:n(y,o.numberscaleunit.concat()),numberscalevalue:n(t,o.numberscalevalue.concat()),numberprefix:n(a.ticknumberprefix,o.numberprefix),numbersuffix:n(a.ticknumbersuffix,o.numbersuffix),decimalprecision:parseInt(n(a.tickvaluedecimals,o.decimalprecision,"2")),forcedecimals:n(a.forcetickvaluedecimals,
o.forcedecimals,0),decimalseparator:o.decimalseparator,thousandseparator:o.thousandseparator,thousandseparatorposition:o.thousandseparatorposition.concat(),indecimalseparator:o.indecimalseparator,inthousandseparator:o.inthousandseparator,scalerecursively:L,maxscalerecursion:Wa,scaleseparator:ba};if(/^(bubble|scatter|selectscatter)$/.test(I))q.formatnumber=n(a.yformatnumber,q.formatnumber),q.formatnumberscale=n(a.yformatnumberscale,q.formatnumberscale),q.defaultnumberscale=U(a.ydefaultnumberscale,
q.defaultnumberscale),q.numberscaleunit=n(X,q.numberscaleunit),q.numberscalevalue=n(P,q.numberscalevalue),q.numberprefix=n(a.ynumberprefix,q.numberprefix),q.numbersuffix=n(a.ynumbersuffix,q.numbersuffix),o.formatnumber=n(a.yformatnumber,o.formatnumber),o.formatnumberscale=n(a.yformatnumberscale,o.formatnumberscale),o.defaultnumberscale=U(a.ydefaultnumberscale,o.defaultnumberscale),o.numberscaleunit=n(a.ynumberscaleunit,o.numberscaleunit.concat()),o.numberscalevalue=n(a.ynumberscalevalue,o.numberscalevalue.concat()),
o.numberprefix=n(a.ynumberprefix,o.numberprefix),o.numbersuffix=n(a.ynumbersuffix,o.numbersuffix);if(/^(mscombidy2d|mscombidy3d)$/.test(I))this.param2.formatnumberscale=Q(a.sformatnumberscale,"1");if(/^(pie2d|pie3d|doughnut2d|doughnut3d|marimekko|pareto2d|pareto3d)$/.test(I))o.decimalprecision=n(a.decimals,"2");L&&(o.numberscalevalue.push(1),o.numberscaleunit.unshift(this.paramLabels.defaultnumberscale),this.param1.numberscalevalue.push(1),this.param1.numberscaleunit.unshift(this.param1.defaultnumberscale),
this.paramScale.numberscalevalue.push(1),this.paramScale.numberscaleunit.unshift(this.paramScale.defaultnumberscale));F&&(this.param2.numberscalevalue.push(1),this.param2.numberscaleunit.unshift(this.param2.defaultnumberscale));B&&(this.paramX.numberscalevalue.push(1),this.paramX.numberscaleunit.unshift(this.paramX.defaultnumberscale))};g.prototype={percentValue:function(s){var h=isNaN(this.paramLabels.decimalprecision)?"2":this.paramLabels.decimalprecision;return c(a(s,h,this.paramLabels.forcedecimals),
this.paramLabels.decimalseparator,this.paramLabels.thousandseparator,this.paramLabels.thousandseparatorposition)+"%"},getCleanValue:function(a,c){var s=a,h=this.paramLabels.indecimalseparator,z=this.paramLabels.inthousandseparator;s+=D;p(z)&&(z=z.replace(/(\W)/ig,"\\$1"),s=s.toString().replace(RegExp(z,"g"),D));p(h)&&(s=s.replace(h,t));a=!isNaN(s=parseFloat(s))&&isFinite(s)?s:NaN;return isNaN(a)?null:c?P(a):a},dataLabels:function(a,c){return y(a,c?this.param2:this.paramLabels)},yAxis:function(a){return y(a,
this.param1)},xAxis:function(a){return y(a,this.paramX)},sYAxis:function(a){return y(a,this.param2)},scale:function(a){return y(a,this.paramScale)}};g.prototype.constructor=g;var y=function(s,h){if(s!==null){var s=Number(s),o=s+D,z;z=h.formatnumberscale==1?h.defaultnumberscale:D;var p;p=(p=o.split(".")[1])?p.length:h.forcedecimals?"2":D;if(h.formatnumberscale==1){var g,o=s;z=h.numberscalevalue;g=h.numberscaleunit;var y={},X=h.defaultnumberscale,q=0,C,t=[],P=[];if(h.scalerecursively){for(q=0;q<z.length;q++)if(C=
Q(z[q])||1E3,Math.abs(Number(o))>=C&&q<z.length-1)X=o%C,o=(o-X)/C,X!=0&&(t.push(X),P.push(g[q]));else{t.push(o);P.push(g[q]);break}t.reverse();P.reverse();y.value=t;y.scale=P}else{if(z.length===g.length)for(q=0;q<z.length;q++)if((C=Q(z[q])||1E3)&&Math.abs(Number(o))>=C)X=g[q]||D,o=Number(o)/C;else break;y.value=o;y.scale=X}g=y;s=o=g.value;z=g.scale}if(h.scalerecursively&&h.formatnumberscale!=0){z=g.value;g=g.scale;y=h.maxscalerecursion==-1?z.length:Math.min(z.length,h.maxscalerecursion);if(h.formatnumber==
1){o="";for(t=0;t<y;t++)q=t==0?z[t]:Math.abs(z[t]),C=String(q),t==y-1&&(C=a(q,n(h.decimalprecision,p),h.forcedecimals)),o=o+c(C,h.decimalseparator,h.thousandseparator,h.thousandseparatorposition)+g[t]+(t<y-1?h.scaleseparator:"")}else{o="";for(t=0;t<y;t++)o=o+String(t==0?z[t]:Math.abs(z[t]))+g[t]+(t<y-1?h.scaleseparator:"")}o=(h.numberprefix||D)+o+(h.numbersuffix||D);delete z;delete g}else h.formatnumber==1&&(o=a(s,n(h.decimalprecision,p),h.forcedecimals),o=c(o,h.decimalseparator,h.thousandseparator,
h.thousandseparatorposition)),o=(h.numberprefix||D)+o+z+(h.numbersuffix||D);return o}};return g}(),Xa=function(){var a=function(a,h,n,p,g){a=Math.abs(h-a);h=a/(n+1);c(a/(n+1))>c(p)&&(g&&Number(h)/Number(p)<(p>1?2:0.5)&&(p/=10),h=(Math.floor(h/p)+1)*p,a=h*(n+1));return a},c=function(a){var a=Math.abs(a),a=String(a),c=0,h=a.indexOf(t);h!=-1&&(c=a.length-h-1);return c};return function(s,h,p,n,g,y,o,q){var t,s=isNaN(s)==!0||s==void 0?0.1:s,h=isNaN(h)==!0||h==void 0?0:h;s==h&&s==0&&(s=0.1);var y=typeof y===
void 0?!0:y,C=Math.max(Math.floor(Math.log(Math.abs(h))/Math.LN10),Math.floor(Math.log(Math.abs(s))/Math.LN10));t=Math.pow(10,C);Math.abs(s)/t<2&&Math.abs(h)/t<2&&(C--,t=Math.pow(10,C));C=Math.pow(10,Math.floor(Math.log(s-h)/Math.LN10));s-h>0&&t/C>=10&&(t=C);var C=(Math.floor(s/t)+1)*t,P;h<0?P=-1*(Math.floor(Math.abs(h/t))+1)*t:y?P=0:(P=Math.floor(Math.abs(h/t)-1)*t,P=P<0?0:P);(typeof g===void 0||g)&&s<=0&&(C=0);g=p==null||p==void 0||p==D?!1:!0;y=n==null||n==void 0||n==D||isNaN(Number(n))?!1:!0;s=
g==!1||g==!0&&Number(p)<s?C:Number(p);h=y==!1||y==!0&&Number(n)>h?P:Number(n);n=Math.abs(s-h);if(y==!1&&g==!1&&q==!0)if(s>0&&h<0)for(var q=!1,p=t>10?t/10:t,g=a(h,s,o,p,!1)-(o+1)*p,K,I,L,F;q==!1;){if(g+=(o+1)*p,!(c(g/(o+1))>c(p)))if(K=g-n,y=g/(o+1),P=Math.min(Math.abs(h),s),C=P==Math.abs(h)?-1:1,o==0)q=!0;else for(F=1;F<=Math.floor((o+1)/2);F++)I=y*F,!(I-P>K)&&I>P&&(L=g-I,L/y==Math.floor(L/y)&&I/y==Math.floor(I/y)&&(n=g,s=C==-1?L:I,h=C==-1?-I:-L,q=!0))}else q=a(h,s,o,t,!0),K=q-n,n=q,s>0?s+=K:h-=K;
else if(q==!0&&o>0){q=0;for(p=1;;){K=o+q*p;K=K==0?1:K;if(!(c(n/(K+1))>c(t)))break;q=p==-1||q>o?++q:q;if(q>25){K=0;break}p=q<=o?p*-1:1}o=K}return{Max:s,Min:h,Range:n,interval:t,divGap:(s-h)/(o+1)}}}(),Db=function(){var a=function(a,c){this.title.y=a.offsetHeight/2;if(c!==void 0)this.title.text=c};a.prototype={chart:{events:{},margin:[0,0,0,0],backgroundColor:{FCcolor:{alpha:0}}},credits:{href:"http://www.fusioncharts.com?BS=FCHSEvalMark",text:"FusionCharts",enabled:!0},legend:{enabled:!1},title:{text:"",
style:{fontFamily:"Verdana",fontSize:"10px",color:"#666666"}},plotOptions:{series:{}},series:[{}],exporting:{enabled:!1}};return a.prototype.constructor=a}(),yb={"true":{"true":{"true":{"true":"middle","false":"middle"},"false":{"true":"middle","false":"middle"}},"false":{"true":{"true":"middle","false":"middle"},"false":{"true":"middle","false":"middle"}}},"false":{"true":{"true":{"true":"bottom","false":"top"},"false":{"true":"top","false":"bottom"}},"false":{"false":{"true":"bottom","false":"top"},
"true":{"true":"top","false":"bottom"}}}},Eb={"true":{"true":{"true":"center","false":"center"},"false":{"true":"center","false":"center"}},"false":{"true":{"true":"right","false":"left"},"false":{"true":"left","false":"right"}}};createTrendLine=function(){var c=/^s$/i,h=function(){return{x:this.category,y:this.y,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},s=function(a){var c;c={series:{},chart:this.chart,id:this.id,label:this.label,options:this.options,
svgElm:this.svgElm,toolText:a,getLabelConfig:h,tooltipPos:[]};return{mouseover:function(a){var h=this.chart,s=h.plotLeft,o=h.plotTop;if(h=h.tooltip)c.tooltipPos[0]=(a.layerX||a.x||a.offsetX||a.originalEvent&&a.originalEvent.layerX)-s+20,c.tooltipPos[1]=(a.layerY||a.y||a.offsetY||a.originalEvent&&a.originalEvent.layerY)-o-15,h.refresh(c)},mousemove:function(a){var h=this.chart,s=h.plotLeft,o=h.plotTop;if(h=h.tooltip)c.tooltipPos[0]=(a.layerX||a.x||a.offsetX||a.originalEvent&&a.originalEvent.layerX)-
s+20,c.tooltipPos[1]=(a.layerY||a.y||a.offsetY||a.originalEvent&&a.originalEvent.layerY)-o-15,h.refresh(c)},mouseout:function(){var a=this.chart.tooltip;a&&a.hide()}}};return function(h,p,g,y,q,o,t){var C,P=g.trendStyle,K,I,L,F,B,U,Wa,T,W,ba,aa,Ga,Y,ab=parseInt(P.fontSize,10)/2+2;if(!(o?!g.showVLines:!g.showTrendlines)){C=0;for(I=h.length;C<I;C+=1)if(h[C].line){K=0;for(L=h[C].line.length;K<L;K+=1)if(F=h[C].line[K],Y=F.allowdrag=="1",aa=Q(F.startvalue,F.value,0),Ga=Q(F.endvalue,aa),W=o?p:y&&F.parentyaxis&&
c.test(F.parentyaxis)?p[1]:p[0],U=W.max,B=W.min,U>=aa&&U>=Ga&&B<=aa&&B<=Ga){B=F.parentyaxis&&c.test(F.parentyaxis)?n(F.valueonleft,g.trendlineValuesOnOpp)!=="1":n(F.valueonright,g.trendlineValuesOnOpp)==="1";U=Boolean(Q(F.istrendzone,o?1:0));if(Wa=(o?g.showVLineLabels:g.showTrendlineLabels)?Lb(n(F.displayvalue,g.numberFormatter[o?"xAxis":"dataLabels"](aa))):D){if(T=aa>Ga,ba=aa<Ga,B={text:Wa,textAlign:q?"center":B?"left":"right",align:q?Eb[U][!t][ba]:B?"right":"left",verticalAlign:q?"bottom":yb[U][!t][T][B],
rotation:0,x:0,y:q?ab:2,style:Bb(P)},Wa=n(F.color,g.trendlineColor),F.alwaysVisible=U,Wa)B.style.color=Wa.replace(a,"#")}else B=void 0;T=n(F.tooltext);Wa=T!==void 0?s(T):{};if(Y)Wa.drag=function(){};ba=Q(F.thickness,g.trendlineThickness,1);U?W.plotBands.push({isTrend:!0,color:Oa(n(F.color,g.trendlineColor),n(F.alpha,g.trendlineAlpha,40)),from:aa,to:Ga,label:B,zIndex:!g.is3d&&n(F.showontop,g.showTrendlinesOnTop)==="1"?5:3,events:Wa,tooltext:T,alwaysVisible:F.alwaysVisible,dragable:Y}):W.plotLines.push({isTrend:!0,
color:Oa(n(F.color,g.trendlineColor,g.trendlineColor),n(F.alpha,g.trendlineAlpha,99)),value:aa,to:Ga,width:ba,dashStyle:n(F.dashed,g.trendlinesAreDashed)=="1"?getDashStyle(Q(F.dashlen,g.trendlinesDashLen),Q(F.dashgap,g.trendlinesDashGap),ba):void 0,label:B,zIndex:!g.is3d&&n(F.showontop,g.showTrendlinesOnTop)==="1"?5:3,events:Wa,tooltext:T,dragable:Y})}}}}}();getDashStyle=function(a,c,h,g){if(g||g===void 0)return h=h?h:1,Q(a,5)/h+","+Q(c,3)/h};ChartAPIItem=function(){};chartAPI=function(a,c,h){var g,
p=chartAPI[a];if(!p)p=function(){},p.prototype=h instanceof ChartAPIItem?h:new ChartAPIItem,p.prototype.constructor=p,p=chartAPI[a]=new p;if(h)p.base=h;p.name=a;for(g in c)switch(typeof c[g]){case "object":if(c[g]instanceof ChartAPIItem){p[g]=c[g][g];break}default:p[g]=c[g];break;case "undefined":delete p[g]}return this instanceof chartAPI?(a=function(){},a.prototype=p,a.prototype.constructor=a,new a):p};B.extend(B.hcLib,{BLANKSTRINGPLACEHOLDER:"#BLANK#",BLANKSTRING:D,COLOR_BLACK:"000000",COLOR_GLASS:"rgba(255, 255, 255, 0.3)",
COLOR_WHITE:"FFFFFF",COLOR_TRANSPARENT:"rgba(0,0,0,0)",HASHSTRING:"#",BREAKSTRING:"<br />",STRINGSTRING:"string",OBJECTSTRING:"object",COMMASTRING:",",ZEROSTRING:T,SAMPLESTRING:"Ay0",TESTSTR:"Ag",ONESTRING:"1",DECIMALSTRING:t,STRINGUNDEFINED:"undefined",POSITION_TOP:"top",POSITION_RIGHT:"right",POSITION_BOTTOM:"bottom",POSITION_LEFT:"left",POSITION_CENTER:"center",POSITION_MIDDLE:"middle",FC_CONFIG_STRING:"_FCconf",SHAPE_RECT:"rect",HUNDREDSTRING:"100",PXSTRING:"px",COMMASPACE:", ",regex:{stripWhitespace:I,
dropHash:a,startsRGBA:h,cleanColorCode:K,breakPlaceholder:q,hexcode:/^#?[0-9a-f]{6}/i},extend2:Bb,deltend:function(a,c){if(typeof a!=="object"||typeof c!=="object")return null;aa(a,c);return a},imprint:function(a,c,h){var g;if(typeof a!=="object"||a===null)return c;if(typeof c!=="object"||c===null)return a;for(g in c)if(a[g]===void 0||!h&&a[g]===null)a[g]=c[g];return a},pluck:n,pluckNumber:Q,getFirstDefinedValue:function(){var a,c,h;c=0;for(h=arguments.length;c<h;c+=1)if((a=arguments[c])||!(a!==!1&&
a!==0&&a!=D))return a},pluckFontSize:function(){var a,c,h;c=0;for(h=arguments.length;c<h;c+=1)if((a=arguments[c])||!(a!==!1&&a!==0))if(!isNaN(a=Number(a)))return a<1?1:a;return 1},getValidValue:p,getDefinedColor:function(a,c){return!a&&a!=0&&a!=!1?c:a},getFirstValue:U,getFirstColor:function(c){c=c.split(",")[0];c=c.replace(I,D);c==D&&(c="000000");return c.replace(a,"#")},getColorCodeString:function(a,c){var h="",g,p,n=0,y=c.split(",");for(p=y.length;n<p;n+=1)g=y[n].split("-"),h+=g.length===2?g[0].indexOf("dark")!==
"-1"?F(a,100-parseInt(g[1],10))+",":ba(a,100-parseInt(g[1],10))+",":y[n]+",";return h.substring(0,h.length-1)},pluckColor:function(c){if(p(c))return c=c.split(",")[0],c=c.replace(I,D),c==D&&(c="000000"),c.replace(a,"#")},getFirstAlpha:function(a){a=parseInt(a,10);if(isNaN(a)||a>100||a<0)a=100;return a},parsePointValue:Ga,parseUnsafeString:Lb,toPrecision:function(a,c){var h=C(10,c);return Math.round(a*h)/h},stubFN:function(){},falseFN:function(){return!1},stableSort:function(a,c){var h=a.length,g;
for(g=0;g<h;g++)a[g].ss_i=g;a.sort(function(a,h){var s=c(a,h);return s===0?a.ss_i-h.ss_i:s});for(g=0;g<h;g++)delete a[g].ss_i},hasSVG:Ka,isIE:c,getLinkAction:function(a,c){return function(){var h,g,p,y,q,t;q=window;var o=U(this.link,D),C=o=n(o,this.options&&this.options.chart&&this.options.chart.link||D,this.series&&this.series.chart&&this.series.chart.options&&this.series.chart.options.chart&&this.series.chart.options.chart.link||D);if(o!==void 0){o=q.decodeURIComponent(o).replace(/^\s+/,D).replace(/\s+$/,
D);if(o.search(/^[a-z]*\s*[\-\:]\s*/i)!==-1)y=o.split(/\s*[\-\:]\s*/)[0].toUpperCase(),t=y.length;switch(y){case "J":o=o.replace(/^j\s*\-/i,"j-");h=o.indexOf("-",2);h===-1?bb(o.slice(2)):bb(o.substr(2,h-2).replace(/\s/g,D),o.slice(h+1));break;case "JAVASCRIPT":o=o.replace(/^JAVASCRIPT\s*\:/i,"javascript:");try{eval(o.slice(11))}catch(P){}break;case "N":o.replace(/^n\s*\-/i,"n-");q.open(o.slice(2));break;case "F":o=o.replace(/^f\s*\-/i,"f-");h=o.indexOf("-",2);h!==-1?(g=o.substr(2,h-2))&&q.frames[g]?
q.frames[g].location=o.slice(h+1):q.open(o.slice(h+1),g):q.open(o.slice(2));break;case "P":o=o.replace(/p\s*\-/i,"p-");h=o.indexOf("-",2);g=o.indexOf(",",2);h===-1&&(h=1);p=o.slice(h+1);q.open(p,o.substr(2,g-2),o.substr(g+1,h-g-1)).focus();break;case "NEWCHART":case "NEWMAP":o.charAt(t)===":"&&(h=o.indexOf("-",t+1),g=o.substring(t+1,h),t=h);h=o.indexOf("-",t+1);q=o.substring(t+1,h).toUpperCase();if(q=="XMLURL")p=o.substring(h+1,o.length);else if(q=="JSONURL")p=o.substring(h+1,o.length);else if(q==
"XML"||q=="JSON"){q=o.substring(h+1,o.length);h={chart:{}};FcJSON=a;q=q.toLowerCase();if(FcJSON.linkeddata)for(p=0;p<FcJSON.linkeddata.length;p+=1)FcJSON.linkeddata[p].id.toLowerCase()===q&&(h=FcJSON.linkeddata[p].linkedchart||FcJSON.linkeddata[p].linkedmap);p=h;q="JSON"}B.raiseEvent("LinkedChartInvoked",{alias:g,linkType:q,data:p},c);break;default:q.location.href=o}B.raiseEvent("linkclicked",{linkProvided:C,linkInvoked:o,linkAction:y&&y.toLowerCase()},c)}}},graphics:{parseAlpha:vb,convertColor:Oa,
getDarkColor:ba,getLightColor:F,mapSymbolName:function(a,c){var h=Fa.circle,a=Ga(a);a>=3&&(h=(c?Fa.spoke:Fa.poly)+a);return h},getColumnColor:function(a,c,h,g,p,q,n,y,o){var t,C;t=a.split(",");C=c.split(",");q=q.split(",");n=n.split(",");o?y={FCcolor:{color:t[0],alpha:C[0]}}:p?(a=t[0],C=C[0],y={FCcolor:{color:ba(a,75)+","+F(a,25)+","+ba(a,80)+","+F(a,65)+","+ba(a,80),alpha:C+","+C+","+C+","+C+","+C,ratio:"0,10,13,57,20",angle:y?"-180":"0"}},q=[ba(a,70)]):(c=vb(c,t.length),y={FCcolor:{color:a,alpha:c,
ratio:h,angle:y?180-g:g}});return[y,{FCcolor:{color:q[0],alpha:n[0]}}]},getAngle:function(a,c,h){a=Math.atan(c/a)*180/Math.PI;h==2?a=180-a:h==3?a+=180:h==4&&(a=360-a);return a},parseColor:L,getValidColor:function(a){return W.test(L(a))&&a},HSBtoRGB:function(a){var c=a[0],h=0,g=0,p=0,q=[],q=a[1]/100,a=a[2]/100,n=c/60-Math.floor(c/60),y=a*(1-q),o=a*(1-n*q),q=a*(1-(1-n)*q);switch(Math.floor(c/60)%6){case 0:h=a;g=q;p=y;break;case 1:h=o;g=a;p=y;break;case 2:h=y;g=a;p=q;break;case 3:h=y;g=o;p=a;break;case 4:h=
q;g=y;p=a;break;case 5:h=a,g=y,p=o}return q=[Math.round(h*255),Math.round(g*255),Math.round(p*255)]},RGBtoHSB:function(a){var c=a[0],h=a[1],a=a[2],g=Math.max(Math.max(c,h),a),p=Math.min(Math.min(c,h),a),q=0,y=0;g==p?q=0:g==c?q=(60*(h-a)/(g-p)+360)%360:g==h?q=60*(a-c)/(g-p)+120:g==a&&(q=60*(c-h)/(g-p)+240);return[Math.round(q),Math.round((g==0?0:(g-p)/g)*100),Math.round(g/255*100)]},RGBtoHex:function(a){return("000000"+(a[0]<<16|a[1]<<8|a[2]).toString(16)).slice(-6)},HEXtoRGB:function(a){var a=parseInt(a,
16),c=Math.floor(a/65536),h=Math.floor((a-c*65536)/256);return[c,h,Math.floor(a-c*65536-h*256)]}},setImageDisplayMode:function(a,c,h,g,p,q,y,n){var o=n.width*(g/100),g=n.height*(g/100),n={},t,C=q-p*2;t=y-p*2;var P=function(a,c,h,g,n,q){var y={};switch(a){case "top":y.y=p;break;case "bottom":y.y=q-g-p;break;case "middle":y.y=(q-g)/2}switch(c){case "left":y.x=p;break;case "right":y.x=n-h-p;break;case "middle":y.x=(n-h)/2}return y};switch(a){case "center":n.width=o;n.height=g;n.y=y/2-g/2;n.x=q/2-o/2;
break;case "stretch":n.width=q-p*2;n.height=y-p*2;n.y=p;n.x=p;break;case "tile":n.width=o;n.height=g;n.tileInfo={};n.tileInfo.xCount=a=Math.ceil(C/o);n.tileInfo.yCount=t=Math.ceil(t/g);alignObj=P(c,h,o*a,g*t,q,y);n.y=alignObj.y;n.x=alignObj.x;break;case "fit":a=o/g>C/t?C/o:t/g;n.width=o*a;n.height=g*a;alignObj=P(c,h,n.width,n.height,q,y);n.y=alignObj.y;n.x=alignObj.x;break;case "fill":a=o/g>C/t?t/g:C/o;n.width=o*a;n.height=g*a;alignObj=P(c,h,n.width,n.height,q,y);n.y=alignObj.y;n.x=alignObj.x;break;
default:alignObj=P(c,h,o,g,q,y),n.width=o,n.height=g,n.y=alignObj.y,n.x=alignObj.x}return n},SmartLabelManager:Qa,setLineHeight:Ba,NumberFormatter:eb,getAxisLimits:Xa,createTrendLine:createTrendLine,getDashStyle:getDashStyle,axisLabelAdder:Va,chartAPI:chartAPI,createDialog:Db,defaultPaletteOptions:{bgColor:["CBCBCB,E9E9E9","CFD4BE,F3F5DD","C5DADD,EDFBFE","A86402,FDC16D","FF7CA0,FFD1DD"],bgAngle:[270,270,270,270,270],bgRatio:["0,100","0,100","0,100","0,100","0,100"],bgAlpha:["50,50","60,50","40,20",
"20,10","30,30"],canvasBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],canvasBgAngle:[0,0,0,0,0],canvasBgAlpha:["100","100","100","100","100"],canvasBgRatio:[D,D,D,D,D],canvasBorderColor:["545454","545454","415D6F","845001","68001B"],canvasBorderAlpha:[100,100,100,90,100],showShadow:[0,1,1,1,1],divLineColor:["717170","7B7D6D","92CDD6","965B01","68001B"],divLineAlpha:[40,45,65,40,30],altHGridColor:["EEEEEE","D8DCC5","99C4CD","DEC49C","FEC1D0"],altHGridAlpha:[50,35,10,20,15],altVGridColor:["767575",
"D8DCC5","99C4CD","DEC49C","FEC1D0"],altVGridAlpha:[10,20,10,15,10],anchorBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBorderColor:["545454","545454","415D6F","845001","68001B"],baseFontColor:["555555","60634E","025B6A","A15E01","68001B"],borderColor:["767575","545454","415D6F","845001","68001B"],borderAlpha:[50,50,50,50,50],legendBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],legendBorderColor:["545454","545454",
"415D6F","845001","D55979"],plotGradientColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],plotBorderColor:["333333","8A8A8A","FFFFFF","FFFFFF","FFFFFF"],plotFillColor:["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"],bgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],bgAlpha3D:["100","100","100","100","100"],bgAngle3D:[90,90,90,90,90],bgRatio3D:[D,D,D,D,D],canvasBgColor3D:["DDE3D5","D8D8D7","EEDFCA","CFD2D8","FEE8E0"],canvasBaseColor3D:["ACBB99","BCBCBD","C8A06C","96A4AF","FAC7BC"],divLineColor3D:["ACBB99",
"A4A4A4","BE9B6B","7C8995","D49B8B"],divLineAlpha3D:[100,100,100,100,100],legendBgColor3D:["F0F3ED","F3F3F3","F7F0E8","EEF0F2","FEF8F5"],legendBorderColor3D:["C6CFB8","C8C8C8","DFC29C","CFD5DA","FAD1C7"],toolTipbgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBorderColor3D:["49563A","666666","49351D","576373","681C09"],baseFontColor3D:["49563A","4A4A4A","49351D","48505A","681C09"],anchorBgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"]}})}})();
(function(B){B.fn.drag=function(a,c,g){var q=typeof a=="string"?a:"",t=B.isFunction(a)?a:B.isFunction(c)?c:null;q.indexOf("drag")!==0&&(q="drag"+q);g=(a==t?c:g)||{};return t?this.bind(q,g,t):this.trigger(q)};var g=B.event,D="ontouchstart"in document.documentElement,T=D?"touchstart":"mousedown",t=D?"touchmove touchend":"mousemove mouseup",Ka=function(a,c){var g;if(!c.touchXY||!a.originalEvent)return a;g=a.originalEvent||a.sourceEvent;(g=g.changedTouches||g.touches)&&g.length&&B.extend(a,g[0]);return a},
c=g.special,I=c.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:!1,drop:!1,click:!1,touchXY:!0},datakey:"dragdata",livekey:"livedrag",add:function(a){var c=B.data(this,I.datakey),t=a.data||{};c.related+=1;if(!c.live&&a.selector)c.live=!0,g.add(this,"draginit."+I.livekey,I.delegate);B.each(I.defaults,function(a){t[a]!==void 0&&(c[a]=t[a])})},remove:function(){B.data(this,I.datakey).related-=1},setup:function(){if(!B.data(this,I.datakey)){var a=B.extend({related:0},I.defaults);
B.data(this,I.datakey,a);g.add(this,T,I.init,a);this.attachEvent&&this.attachEvent("ondragstart",I.dontstart)}},teardown:function(){B.data(this,I.datakey).related||(B.removeData(this,I.datakey),g.remove(this,T,I.init),g.remove(this,"draginit",I.delegate),I.textselect(!0),this.detachEvent&&this.detachEvent("ondragstart",I.dontstart))},init:function(a){var h=a.data,K;if((K=(K=a.originalEvent||a.sourceEvent)?K.changedTouches||K.touches:[])&&K.length)if(K.length>1)return;else Ka(a,h);else if(h.which>
0&&a.which!=h.which)return;if(!B(a.target).is(h.not)&&(!h.handle||B(a.target).closest(h.handle,a.currentTarget).length))if(h.propagates=1,h.interactions=[I.interaction(this,h)],h.target=a.target,h.pageX=a.pageX,h.pageY=a.pageY,h.dragging=null,K=I.hijack(a,"draginit",h),h.propagates){if((K=I.flatten(K))&&K.length)h.interactions=[],B.each(K,function(){h.interactions.push(I.interaction(this,h))});h.propagates=h.interactions.length;h.drop!==!1&&c.drop&&c.drop.handler(a,h);I.textselect(!1);g.add(document,
t,I.handler,h);if(!D)return!1}},interaction:function(a,c){return{drag:a,callback:new I.callback,droppable:[],offset:B(a)[c.relative?"position":"offset"]()||{top:0,left:0}}},handler:function(a){var h=a.data;if(!h.dragging&&(a.type==="mousemove"||a.type==="touchmove")){if(Math.pow(a.pageX-h.pageX,2)+Math.pow(a.pageY-h.pageY,2)<Math.pow(h.distance,2))return;a.target=h.target;I.hijack(a,"dragstart",h);if(h.propagates)h.dragging=!0}switch(a.type){case "touchmove":h.dragging&&(a.preventDefault(),Ka(a,h));
case "mousemove":if(h.dragging){I.hijack(a,"drag",h);if(h.propagates){h.drop!==!1&&c.drop&&c.drop.handler(a,h);break}a.type="mouseup"}case "touchend":h.dragging&&Ka(a,h);case "mouseup":if(g.remove(document,t,I.handler),h.dragging&&(h.drop!==!1&&c.drop&&c.drop.handler(a,h),I.hijack(a,"dragend",h)),I.textselect(!0),h.click===!1&&h.dragging)jQuery.event.triggered=!0,setTimeout(function(){jQuery.event.triggered=!1},20),h.dragging=!1}},delegate:function(a){var c=[],t,q=B.data(this,"events")||{};B.each(q.live||
[],function(q,P){if(P.preType.indexOf("drag")===0&&(t=B(a.target).closest(P.selector,a.currentTarget)[0]))g.add(t,P.origType+"."+I.livekey,P.origHandler,P.data),B.inArray(t,c)<0&&c.push(t)});if(!c.length)return!1;return B(c).bind("dragend."+I.livekey,function(){g.remove(this,"."+I.livekey)})},hijack:function(a,c,t,q,D){if(t){var P={event:a.originalEvent,type:a.type},C=c.indexOf("drop")?"drag":"drop",y,p=q||0,U,n,q=!isNaN(q)?q:t.interactions.length;a.type=c;a.sourceEvent=P.event;a.originalEvent=null;
t.results=[];do if((U=t.interactions[p])&&!(c!=="dragend"&&U.cancelled)){n=I.properties(a,t,U);U.results=[];B(D||U[C]||t.droppable).each(function(p,q){y=(n.target=q)?g.handle.call(q,a,n):null;if(y===!1){if(C=="drag")U.cancelled=!0,t.propagates-=1;c=="drop"&&(U[C][p]=null)}else c=="dropinit"&&U.droppable.push(I.element(y)||q);if(c=="dragstart")U.proxy=B(I.element(y)||U.drag)[0];U.results.push(y);delete a.result;if(c!=="dropinit")return y});t.results[p]=I.flatten(U.results);if(c=="dropinit")U.droppable=
I.flatten(U.droppable);c=="dragstart"&&!U.cancelled&&n.update()}while(++p<q);a.type=P.type;a.originalEvent=P.event;return I.flatten(t.results)}},properties:function(a,c,g){var q=g.callback;q.drag=g.drag;q.proxy=g.proxy||g.drag;q.startX=c.pageX;q.startY=c.pageY;q.deltaX=a.pageX-c.pageX;q.deltaY=a.pageY-c.pageY;q.originalX=g.offset.left;q.originalY=g.offset.top;q.offsetX=a.pageX-(c.pageX-q.originalX);q.offsetY=a.pageY-(c.pageY-q.originalY);q.drop=I.flatten((g.drop||[]).slice());q.available=I.flatten((g.droppable||
[]).slice());return q},element:function(a){if(a&&(a.jquery||a.nodeType==1))return a},flatten:function(a){return B.map(a,function(a){return a&&a.jquery?B.makeArray(a):a&&a.length?I.flatten(a):a})},textselect:function(a){B(document)[a?"unbind":"bind"]("selectstart",I.dontstart).attr("unselectable",a?"off":"on").css("MozUserSelect",a?"":"none")},dontstart:function(){return!1},callback:function(){}};I.callback.prototype={update:function(){c.drop&&this.available.length&&B.each(this.available,function(a){c.drop.locate(this,
a)})}};c.draginit=c.dragstart=c.dragend=I})(jQuery);
(function(B){function g(g){var t=g||window.event,D=[].slice.call(arguments,1),c=0,I=0,a=0,g=B.event.fix(t);g.type="wheelchange";g.wheelDelta&&(c=g.wheelDelta/120);g.detail&&(c=-g.detail/3);a=c;t.axis!==void 0&&t.axis===t.HORIZONTAL_AXIS&&(a=0,I=-1*c);t.wheelDeltaY!==void 0&&(a=t.wheelDeltaY/120);t.wheelDeltaX!==void 0&&(I=-1*t.wheelDeltaX/120);D.unshift(g,c,I,a);return B.event.handle.apply(this,D)}var D=["DOMMouseScroll","mousewheel"];B.event.special.wheelchange={setup:function(){if(this.addEventListener)for(var B=
D.length;B;)this.addEventListener(D[--B],g,!1);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var B=D.length;B;)this.removeEventListener(D[--B],g,!1);else this.onmousewheel=null}};B.fn.extend({wheelchange:function(g){return g?this.bind("wheelchange",g):this.trigger("wheelchange")},unwheelchange:function(g){return this.unbind("wheelchange",g)}})})(jQuery);
(function(){function B(b,r,a,w,e,d,c){var m=[V],f=lb(typeof d.color==="string"?d.color:d.color.FCcolor.color),j,k;k=c.box.tagName&&c.box.tagName.toLowerCase()==="div";f=f.replace(eb,"");j=Ba(f,40);c=Fa(f,60).replace(eb,yb);f={FCcolor:{color:f+","+f+","+j+","+f+","+f,ratio:"0,30,30,30,10",angle:0,alpha:"100,100,100,100,100"}};switch(e){case "column":case "dragcolumn":case "column3d":d=parseInt(a*25)/100;j=parseInt(d*50)/100;e=parseInt(w*30)/100;k=parseInt(w*60)/100;m=m.concat([b,r+w,N,b,r+e,b+d,r+
e,b+d,r+w,b+d+j,r+w,b+d+j,r,b+d+d+j,r,b+d+d+j,r+w,b+d+d+j+j,r+w,b+d+d+j+j,r+k,b+a,r+k,b+a,r+w,"Z"]);f.FCcolor.angle=270;break;case "bar":case "bar3d":d=a*0.3;j=a*0.6;e=w/4;k=e/2;m=m.concat([b,r,N,b+j,r,b+j,r+e,b,r+e,b,r+e+k,b+a,r+e+k,b+a,r+e+k+e,b,r+2*e+k,b,r+2*(e+k),b+d,r+2*(e+k),b+d,r+w,b,r+w,"Z"]);break;case "area":case "area3d":case "areaspline":case "dragarea":e=w*0.6;k=w*0.2;w*=0.8;m=m.concat([b,r+w,N,b,r+e,b+a*0.3,r+k,b+a*0.6,r+e,b+a,r+k,b+a,r+w,"Z"]);f.FCcolor.angle=270;break;case "pie":case "pie3d":d=
a/2;j=a*0.7;e=w/2;m=k?m.concat([b+d,r+e,N,b+j,r,"at",b,r,b+a,r+w,b+j,r,b,r+e,N,b+d,r+e,V,b+d,r+e,N,b,r+e,"at",b,r,b+a,r+w,b,r+e,b+j,r+w,N,b+d,r+e,V,b+d,r+e,N,b+j,r+w,"at",b,r,b+a,r+w,b+j,r+w,b+j,r,"Z"]):m.concat([b+d,r+e,N,b+j,r,"A",d,e,0,0,0,b,r+e,N,b+d,r+e,V,b+d,r+e,N,b,r+e,"A",d,e,0,0,0,b+j,r+w,N,b+d,r+e,V,b+d,r+e,N,b+j,r+w,"A",d+1,e+1,0,0,0,b+j,r,"Z"]);break;case "boxandwhisker2d":m=m.concat([b,r,N,b+a,r,b+a,r+w,b,r+w,"Z"]);f=d.color;c="#000000";break;default:m=m.concat([b,r,N,b+a,r,b+a,r+w,b,
r+w,"Z"]),f.FCcolor.angle=270,f.FCcolor.ratio="0,70,30"}return{path:m,color:f,strokeWidth:0.5,strokeColor:c}}function g(b,r){var a;b||(b={});for(a in r)b[a]=r[a];return b}function D(b,r){return parseInt(b,r||10)}function T(b){return typeof b==="string"}function t(b){return typeof b==="object"}function Ka(b){return typeof b==="number"}function c(b){return Ha.log(b)/Ha.LN10}function I(b,r){for(var a=b.length;a--;)if(b[a]===r){b.splice(a,1);break}}function a(b){return b!==Ea&&b!==null}function h(b,r,
l){var w,e;if(T(r))a(l)?b.setAttribute(r,l):b&&b.getAttribute&&(e=b.getAttribute(r));else if(a(r)&&t(r))for(w in r)b.setAttribute(w,r[w]);return e}function K(b){return Object.prototype.toString.call(b)==="[object Array]"?b:[b]}function q(){var b=arguments,r,a,w=b.length;for(r=0;r<w;r++)if(a=b[r],typeof a!=="undefined"&&a!==null)return a;return Ea}function W(b,r){if(Hb&&r&&r.opacity!==Ea)r.filter="alpha(opacity="+r.opacity*100+")";g(b.style,r)}function P(b,r,a,w,e){b=na.createElement(b);r&&g(b,r);
e&&W(b,{padding:0,border:da,margin:0});a&&W(b,a);w&&w.appendChild(b);return b}function C(b,r){var a=function(){};a.prototype=new b;g(a.prototype,r);return a}function y(b,r,a,w){var e=Z.lang,d=isNaN(r=Ra(r))?2:r,r=a===void 0?e.decimalPoint:a,w=w===void 0?e.thousandsSep:w,e=b<0?"-":"",a=String(D(b=Ra(+b||0).toFixed(d))),c=a.length>3?a.length%3:0;return e+(c?a.substr(0,c)+w:"")+a.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+w)+(d?r+Ra(b-a).toFixed(d).slice(2):"")}function p(b){for(var r={left:b.offsetLeft,
top:b.offsetTop},b=b.offsetParent;b;)r.left+=b.offsetLeft,r.top+=b.offsetTop,b!==na.body&&b!==na.documentElement&&(r.left-=b.scrollLeft,r.top-=b.scrollTop),b=b.offsetParent;return r}function U(){this.symbol=this.color=0}function n(b,r,a,w,e,d,c){var m=c.x,c=c.y,f=m-b+a-25,j=c-r+w+10,k;f<7&&(f=a+m+15);f+b>a+e&&(f-=f+b-(a+e),j-=r,k=!0);j<5?(j=5,k&&c>=j&&c<=j+r&&(j=c+r-5)):j+r>w+d&&(j=w+d-r-5);return{x:f,y:j}}function Q(b,r){var a=b.length,w;for(w=0;w<a;w++)b[w].ss_i=w;b.sort(function(b,a){var l=r(b,
a);return l===0?b.ss_i-a.ss_i:l});for(w=0;w<a;w++)delete b[w].ss_i}function Ga(b){for(var a=b.length,l=b[0];a--;)b[a]<l&&(l=b[a]);return l}function Lb(b){for(var a=b.length,l=b[0];a--;)b[a]>l&&(l=b[a]);return l}function ab(b){for(var a in b)b[a]&&b[a].destroy&&b[a].destroy(),delete b[a]}function Bb(b,a){v=q(b,a.animation)}function aa(){var b=Z.global.useUTC;qc=b?Date.UTC:function(b,a,w,e,d,c){return(new Date(b,a,q(w,1),q(e,0),q(d,0),q(c,0))).getTime()};uc=b?"getUTCMinutes":"getMinutes";vc=b?"getUTCHours":
"getHours";wc=b?"getUTCDay":"getDay";mc=b?"getUTCDate":"getDate";R=b?"getUTCMonth":"getMonth";Mb=b?"getUTCFullYear":"getFullYear";Bc=b?"setUTCMinutes":"setMinutes";Cc=b?"setUTCHours":"setHours";ga=b?"setUTCDate":"setDate";Dc=b?"setUTCMonth":"setMonth";Ec=b?"setUTCFullYear":"setFullYear"}function bb(b){u||(u=P(va));b&&u.appendChild(b);u.innerHTML=""}function Y(){}function vb(b,r){function l(b){function r(b,a){this.pos=b;this.minor=a;this.isNew=!0;a||this.addLabel()}function l(b){if(b)this.options=
b,this.id=b.id;return this}function w(b,a,r,l){this.isNegative=a;this.options=b;this.x=r;this.stack=l;this.alignOptions={align:b.align||(Pa?a?"left":"right":"center"),verticalAlign:b.verticalAlign||(Pa?"middle":a?"bottom":"top"),y:q(b.y,Pa?4:a?14:-6),x:q(b.x,Pa?a?-6:6:0)};this.textAlign=b.textAlign||(Pa?a?"right":"left":"center")}function d(){var b=[],r=[],l;I=Ja=null;mb=[];M(Ya,function(e){l=!1;M(["xAxis","yAxis"],function(b){if(e.isCartesian&&(b==="xAxis"&&za||b==="yAxis"&&!za)&&(e.options[b]===
$.index||e.options[b]===Ea&&$.index===0))e[b]=H,mb.push(e),l=!0});!e.visible&&pa.ignoreHiddenSeries&&(l=!1);if(l){var d,c,m,f,j,ca;if(!za){d=e.options.stacking;Q=d==="percent";if(d)j=e.options.stack,f=e.type+q(j,""),ca="-"+f,e.stackKey=f,c=b[f]||[],b[f]=c,m=r[ca]||[],r[ca]=m;Q&&(I=0,Ja=99)}e.isCartesian&&(M(e.data,function(b){var r=b.x,l=b.y,e=l<0,j=e?m:c,ya=e?ca:f;I===null&&(I=Ja=b[o]);za?r>Ja?Ja=r:r<I&&(I=r):a(l)&&(d&&(j[r]=a(j[r])?j[r]+l:l),l=j?j[r]:l,b=q(b.low,l),Q||(l>Ja?Ja=l:b<I&&(I=b)),d&&
(ma[ya]||(ma[ya]={}),ma[ya][r]||(ma[ya][r]=new w($.stackLabels,e,r)),ma[ya][r].setTotal(l)))}),/(area|column|bar)/.test(e.type)&&!za&&(I>=0?(I=0,da=!0):Ja<0&&(Ja=0,K=!0)))}})}function m(b,a){var r,l;Ub=a?1:Ha.pow(10,wb(Ha.log(b)/Ha.LN10));r=b/Ub;if(!a&&(a=[1,2,2.5,5,10],$.allowDecimals===!1||Qb))Ub===1?a=[1,2,5,10]:Ub<=0.1&&(a=[1/Ub]);for(l=0;l<a.length;l++)if(b=a[l],r<=(a[l]+(a[l+1]||a[l]))/2)break;b*=Ub;return b}function f(b){var a;a=b;Ub=q(Ub,Ha.pow(10,wb(Ha.log(gb)/Ha.LN10)));Ub<1&&(a=J(1/Ub)*
10,a=J(b*a)/a);return a}function j(){var b,r,l,w,e=$.tickInterval,d=$.tickPixelInterval;b=$.maxZoom||(za&&!a($.min)&&!a($.max)?qb(O.smallestInterval*5,Ja-I):null);zb=x?Za:Sa;cc?(l=O[za?"xAxis":"yAxis"][$.linkedTo],w=l.getExtremes(),z=q(w.min,w.dataMin),ea=q(w.max,w.dataMax)):(z=q(fb,$.min,I),ea=q(L,$.max,Ja));Qb&&(z=c(z),ea=c(ea));ea-z<b&&(w=(b-ea+z)/2,z=ka(z-w,q($.min,z-w),I),ea=qb(z+b,q($.max,z+b),Ja));if(!hb&&!Q&&!cc&&a(z)&&a(ea)){b=ea-z||1;if(!a($.min)&&!a(fb)&&Ic&&(I<0||!da))z-=b*Ic;if(!a($.max)&&
!a(L)&&lc&&(Ja>0||!K))ea+=b*lc}gb=z===ea?1:cc&&!e&&d===l.options.tickPixelInterval?l.tickInterval:q(e,hb?1:(ea-z)*d/zb);!v&&!a($.tickInterval)&&(gb=m(gb));H.tickInterval=gb;U=$.minorTickInterval==="auto"&&gb?gb/5:$.minorTickInterval;if(v){Ta=[];var e=Z.global.useUTC,ca=1E3/A,ya=6E4/A,Ca=36E5/A,d=864E5/A;b=6048E5/A;w=2592E6/A;var k=31556952E3/A,h=[["second",ca,[1,2,5,10,15,30]],["minute",ya,[1,2,5,10,15,30]],["hour",Ca,[1,2,3,4,6,8,12]],["day",d,[1,2]],["week",b,[1,2]],["month",w,[1,2,3,4,6]],["year",
k,null]],g=h[6],E=g[1],ma=g[2];for(l=0;l<h.length;l++)if(g=h[l],E=g[1],ma=g[2],h[l+1]&&gb<=(E*ma[ma.length-1]+h[l+1][1])/2)break;E===k&&gb<5*E&&(ma=[1,2,5]);h=m(gb/E,ma);ma=new Date(z*A);ma.setMilliseconds(0);E>=ca&&ma.setSeconds(E>=ya?0:h*wb(ma.getSeconds()/h));if(E>=ya)ma[Bc](E>=Ca?0:h*wb(ma[uc]()/h));if(E>=Ca)ma[Cc](E>=d?0:h*wb(ma[vc]()/h));if(E>=d)ma[ga](E>=w?1:h*wb(ma[mc]()/h));E>=w&&(ma[Dc](E>=k?0:h*wb(ma[R]()/h)),r=ma[Mb]());E>=k&&(r-=r%h,ma[Ec](r));if(E===b)ma[ga](ma[mc]()-ma[wc]()+$.startOfWeek);
l=1;r=ma[Mb]();ca=ma.getTime()/A;ya=ma[R]();for(Ca=ma[mc]();ca<ea&&l<Za;)Ta.push(ca),E===k?ca=qc(r+l*h,0)/A:E===w?ca=qc(r,ya+l*h)/A:!e&&(E===d||E===b)?ca=qc(r,ya,Ca+l*h*(E===d?1:7)):ca+=E*h,l++;Ta.push(ca);W=$.dateTimeLabelFormats[g[0]]}else{l=f(wb(z/gb)*gb);r=f(ac(ea/gb)*gb);Ta=[];for(l=f(l);l<=r;)Ta.push(l),l=f(l+gb)}if(!cc){if(hb||za&&O.hasColumn){r=(hb?1:gb)*0.5;if(hb||!a(q($.min,fb)))z-=r;if(hb||!a(q($.max,L)))ea+=r}r=Ta[0];l=Ta[Ta.length-1];$.startOnTick?z=r:z>r&&Ta.shift();$.endOnTick?ea=l:
ea<l&&Ta.pop();Sb||(Sb={x:0,y:0});if(!v&&Ta.length>Sb[o])Sb[o]=Ta.length}}function ca(){var b,a;B=z;Hc=ea;d();j();t=s;s=zb/(ea-z||1);if(!za)for(b in ma)for(a in ma[b])ma[b][a].cum=0;if(!H.isDirty)H.isDirty=z!==B||ea!==Hc}function ya(b){b=(new l(b)).render();Xb.push(b);return b}function Ca(){var b=$.title,w=$.stackLabels,e=$.alternateGridColor,d=$.lineWidth,c,m,f=(c=O.hasRendered)&&a(B)&&!isNaN(B);m=ba($.showAlways,mb.length&&a(z)&&a(ea));zb=x?Za:Sa;s=zb/(ea-z||1);rb=x?Ia:fa;if(m||cc){if(U&&!hb)for(m=
z+(Ta[0]-z)%U;m<=ea;m+=U)ja[m]||(ja[m]=new r(m,!0)),f&&ja[m].isNew&&ja[m].render(null,!0),ja[m].isActive=!0,ja[m].render();M(Ta,function(b,a){if(!cc||b>=z&&b<=ea)f&&tb[b].isNew&&tb[b].render(a,!0),tb[b].isActive=!0,tb[b].render(a)});e&&M(Ta,function(b,a){if(a%2===0&&b<ea)Ib[b]||(Ib[b]=new l),Ib[b].options={from:b,to:Ta[a+1]!==Ea?Ta[a+1]:ea,color:e},Ib[b].render(),Ib[b].isActive=!0});c||M(($.plotLines||[]).concat($.plotBands||[]),function(b){Xb.push((new l(b)).render())})}M([tb,ja,Ib],function(b){for(var a in b)b[a].isActive?
b[a].isActive=!1:(b[a].destroy(),delete b[a])});d&&(c=Ia+(h?Za:0)+n,m=$a-fa-(h?Sa:0)+n,c=wa.crispLine([V,x?Ia:c,x?m:Ma,N,x?ib-Tb:c,x?m:$a-fa],d),F?F.animate({d:c}):F=wa.path(c).attr({stroke:$.lineColor,"stroke-width":d,zIndex:7}).add());if(u)c=x?Ia:Ma,d=D(b.style.fontSize||12),c={low:c+(x?0:zb),middle:c+zb/2,high:c+(x?zb:0)}[b.align],d=(x?Ma+Sa:Ia-d*0.37)+(x?1:-1)*(h?-1:1)*qa+(E===2?d:0),u[u.isNew?"attr":"animate"]({x:x?c:d+(h?Za:0)+n+(b.x||0),y:x?d-(h?Sa:0)+n:c+(b.y||0)}),u.isNew=!1;if(w&&w.enabled){var j,
ca,w=H.stackTotalGroup;if(!w)H.stackTotalGroup=w=wa.g("stack-labels").attr({visibility:jb,zIndex:6}).translate(Ia,Ma).add();for(j in ma)for(ca in b=ma[j],b)b[ca].render(w)}j=$.scroll;ca=H.scroller;if(j&&j.enabled&&(x?(b=Ia+n-2,w=$a-fa-(!h?0:Sa)+n+j.padding-1):(b=Ia+(h?Za:0),w=$a-fa),!ca))ca=H.scroller=wa.scroller(b,w,zb+4,j.height,x,{size:j.buttonWidth,padding:j.buttonPadding},!1).attr({fill:j.color}).setScrollRatio(j.scrollRatio).setScrollPosition(j.startPercent).callback(function(){H.scroll.apply(H,
arguments)}).add(va);H.isDirty=!1}function k(b){for(var a=Xb.length;a--;)Xb[a].id===b&&Xb[a].destroy()}var za=b.isX,h=b.opposite,x=Pa?!za:za,E=x?h?0:2:h?1:3,ma={},$=ha(za?rc:xc,[Lc,Mc,Fc,Nc][E],b),H=this,u,p=$.type,v=p==="datetime",Qb=p==="logarithmic",n=$.offset||0,o=za?"x":"y",zb,s,t,rb=x?Ia:fa,la,C,va,P,F,I,Ja,mb,fb,L,ea=null,z=null,B,Hc,Ic=$.minPadding,lc=$.maxPadding,cc=a($.linkedTo),da,K,Q,p=$.events,gc,Xb=[],gb,U,Ub,Ta,tb={},ja={},Ib={},kb,X,qa,W,hb=$.categories,aa=$.labels.formatter||function(){var b=
this.value;return W?La(W,b):gb%1E6===0?b/1E6+"M":gb%1E3===0?b/1E3+"k":!hb&&b>=1E3?y(b,0):b},S=x&&$.labels.staggerLines,Jb=$.reversed,T=hb&&$.tickmarkPlacement==="between"?0.5:0;r.prototype={addLabel:function(){var b=this.pos,r=$.labels,l=!(b===z&&!q($.showFirstLabel,1)||b===ea&&!q($.showLastLabel,0)),w=hb&&x&&hb.length&&!r.step&&!r.staggerLines&&!r.rotation&&Za/hb.length||!x&&Za/2,e=hb&&a(hb[b])?hb[b]:b,d=this.label,b=aa.call({isFirst:b===Ta[0],isLast:b===Ta[Ta.length-1],dateTimeLabelFormat:W,value:Qb?
Ha.pow(10,e):e}),w=w&&{width:ka(1,J(w-2*(r.padding||10)))+Aa},w=g(w,r.style);d===Ea?this.label=a(b)&&l&&r.enabled?wa.text(b,0,0,r.useHTML).attr({align:r.align,rotation:r.rotation}).css(w).add(va):null:d&&d.attr({text:b}).css(w)},getLabelSize:function(){var b=this.label;return b?(this.labelBBox=b.getBBox())[x?"height":"width"]:0},render:function(b,r){var l=!this.minor,w=this.label,e=this.pos,d=$.labels,c=this.gridLine,m=l?$.gridLineWidth:$.minorGridLineWidth,f=l?$.gridLineColor:$.minorGridLineColor,
j=l?$.gridLineDashStyle:$.minorGridLineDashStyle,ca=this.mark,ya=l?$.tickLength:$.minorTickLength,Ca=l?$.tickWidth:$.minorTickWidth||0,za=l?$.tickColor:$.minorTickColor,k=l?$.tickPosition:$.minorTickPosition,g=d.step,E=r&&Ka||$a,ma;ma=x?la(e+T,null,null,r)+rb:Ia+n+(h?(r&&yc||ib)-Tb-Ia:0);E=x?E-fa+n-(h?Sa:0):E-la(e+T,null,null,r)-rb;if(m){e=C(e+T,m,r);if(c===Ea){c={stroke:f,"stroke-width":m};if(j)c.dashstyle=j;if(l)c.zIndex=1;this.gridLine=c=m?wa.path(e).attr(c).add(P):null}!r&&c&&e&&c.animate({d:e})}if(Ca)k===
"inside"&&(ya=-ya),h&&(ya=-ya),l=wa.crispLine([V,ma,E,N,ma+(x?0:-ya),E+(x?ya:0)],Ca),ca?ca.animate({d:l}):this.mark=wa.path(l).attr({stroke:za,"stroke-width":Ca}).add(va);if(w&&!isNaN(ma)){ma=ma+d.x-(T&&x?T*s*(Jb?-1:1):0);E=E+d.y-(T&&!x?T*s*(Jb?1:-1):0);a(d.y)||(E+=D(w.styles.lineHeight)*0.9-w.getBBox().height/2);S&&(E+=b/(g||1)%S*16);if(g)w[b%g?"hide":"show"]();w[this.isNew?"attr":"animate"]({x:ma,y:E})}this.isNew=!1},destroy:function(){ab(this)}};l.prototype={render:function(){var b=this,r=b.options,
l=r.label,w=b.label,d=r.width,m=r.to,f=r.from,j=r.value,ca,ya=r.dashStyle,Ca=b.svgElem,k=[],h,E,$=r.color;E=r.zIndex;var g=r.events;b.chart=O;d===0&&l&&a(l.text)&&(d=1,$=fc);Qb&&(f=c(f),m=c(m),j=c(j));if(d){if(k=C([r.value,ba(r.to,r.value)],d),r={stroke:$,"stroke-width":d},ya)r.dashstyle=ya}else if(a(f)&&a(m))f=ka(f,z),m=qb(m,ea),ca=C(m),(k=C(f))&&ca?(this.options.alwaysVisible&&(x?ca[1]=ca[4]+=k[1]===ca[1]&&k[4]===ca[4]:ca[2]=ca[5]+=k[2]===ca[2]&&k[5]===ca[5]),k.push(ca[4],ca[5],ca[1],ca[2])):k=
null,r={fill:$};else return;if(a(E))r.zIndex=E;if(Ca)k?Ca.animate({d:k},null,Ca.onGetPath):(Ca.hide(),Ca.onGetPath=function(){Ca.show()});else if(k&&k.length&&(b.svgElem=Ca=wa.path(k).attr(r).add(),g))for(h in ya=function(a){Ca.on(a,function(r){g[a].apply(b,[r])})},g)ya(h);if(l&&a(l.text)&&k&&k.length&&Za>0&&Sa>0){l=ha({align:x&&ca&&"center",x:x?!ca&&4:10,verticalAlign:!x&&ca&&"middle",y:x?ca?16:10:ca?6:-4,rotation:x&&!ca&&90},l);ca=l.style;h=D(ca.lineHeight,10);if(!w)b.label=w=wa.text(l.text,0,0).attr({align:l.textAlign||
l.align,rotation:l.rotation,zIndex:E}),e?w.add().css(ca):w.css(ca).add();r=[k[1],k[4],q(k[6],k[1])];d=[k[2],k[5],q(k[7],k[2])];E=Ga(r);ya=Ga(d);r=Lb(r)-E;d=Lb(d)-ya;l.offsetScale!==void 0&&(l.offsetScaleIndex!==void 0?(m=(za?O.yAxis:O.xAxis)[l.offsetScaleIndex],x?ya+=m.translate(l.offsetScale,0,1)+(l.offsetScale<0?2:-2):(E=k[1]+r/2-m.translate(l.offsetScale,0,1)+(l.offsetScale<0?-2:2),ya+=D(h,10)*0.37)):x?ya+=Sa*l.offsetScale:E+=Za*l.offsetScale);w.align(l,!1,{x:E,y:ya,width:r,height:d});w.textBound();
ca.visibility!==G&&w.show()}else w&&w.hide();return b},destroy:function(){for(var b in this)b!=="chart"&&this[b]&&this[b].destroy&&this[b].destroy(),delete this[b]}};w.prototype={destroy:function(){ab(this)},setTotal:function(b){this.cum=this.total=b},render:function(b){var a=this.options.formatter.call(this);this.label?this.label.attr({text:a,visibility:G}):this.label=O.renderer.text(a,0,0).css(this.options.style).attr({align:this.textAlign,rotation:this.options.rotation,visibility:G}).add(b)},setOffset:function(b,
a){var r=this.isNegative,l=H.translate(this.total),w=H.translate(0),w=Ra(l-w),e=O.xAxis[0].translate(this.x)+b,d=O.plotHeight,r={x:Pa?r?l:l-w:e,y:Pa?d-e-a:r?d-l-w:d-l,width:Pa?w:a,height:Pa?a:w};this.label&&this.label.align(this.alignOptions,null,r).attr({visibility:jb})}};la=function(b,a,r,l,w,e){var d=1,m=0,ca=l?t:s,l=l?B:z;ca||(ca=s);r&&(d*=-1,m=zb);Jb&&(d*=-1,m-=d*zb);e?a?(b/=ca,Qb&&w&&(b=Ha.pow(10,b))):(Qb&&w&&(b=c(b)),b*=ca):a?(Jb&&(b=zb-b),b=b/ca+l,Qb&&w&&(b=Ha.pow(10,b))):(Qb&&w&&(b=c(b)),
b=d*(b-l)*ca+m);return b};C=function(b,a,r){var l,w,e,d,c=r&&Ka||$a,m=r&&yc||ib,ca;b instanceof Array||(b=[b,b]);e=la(b[0],null,null,r);d=la(b[1],null,null,r);b=J(e+rb);l=J(d+rb);r=J(c-e-rb);w=J(c-d-rb);if(isNaN(e)||isNaN(d))ca=!0;else if(x){if(r=Ma,w=c-fa,b<Ia||b>Ia+Za)ca=!0}else if(b=Ia,l=m-Tb,r<Ma||r>Ma+Sa)ca=!0;return ca?null:wa.crispLine([V,b,r,N,l,w],a||0)};Pa&&za&&Jb===Ea&&(Jb=!0);g(H,{addPlotBand:ya,addPlotLine:ya,adjustTickAmount:function(){if(Sb&&!v&&!hb&&!cc){var b=kb,r=Ta.length;kb=Sb[o];
if(r<kb){for(;Ta.length<kb;)Ta.push(f(Ta[Ta.length-1]+gb));s*=(r-1)/(kb-1);ea=Ta[Ta.length-1]}if(a(b)&&kb!==b)H.isDirty=!0}},categories:hb,getExtremes:function(){return{min:z,max:ea,dataMin:I,dataMax:Ja,userMin:fb,userMax:L}},getPlotLinePath:C,getThreshold:function(b){z>b?b=z:ea<b&&(b=ea);return la(b,0,1)},isXAxis:za,options:$,plotLinesAndBands:Xb,getOffset:function(){var b=ba($.showAlways,mb.length&&a(z)&&a(ea)),l=0,w=0,e=$.title,d=$.labels,c=[-1,1,1,-1][E],m;va||(va=wa.g("axis").attr({zIndex:7}).add(),
P=wa.g("grid").attr({zIndex:1}).add());X=0;if(b||cc)M(Ta,function(b){tb[b]?tb[b].addLabel():tb[b]=new r(b);if(E===0||E===2||{1:"left",3:"right"}[E]===d.align)X=ka(tb[b].getLabelSize(),X)}),S&&(X+=(S-1)*16);else for(m in tb)tb[m].destroy(),delete tb[m];if(e&&e.text){if(!H.axisTitle)u=H.axisTitle=wa.text(e.text,0,0,e.useHTML).attr({zIndex:7,rotation:e.rotation||0,align:e.textAlign||{low:"left",middle:"center",high:"right"}[e.align]}).css(e.style).add(),u.isNew=!0;l=u.getBBox()[x?"height":"width"];w=
q(e.margin,x?5:10)}n=c*($.offset||Y[E]);qa=X+(E!==2&&X&&c*$.labels[x?"y":"x"])+w;Y[E]=ka(Y[E],qa+l+c*n)},render:Ca,setCategories:function(r,a){H.categories=b.categories=hb=r;M(mb,function(b){b.translate();b.setTooltipPoints(!0)});H.isDirty=!0;q(a,!0)&&O.redraw()},setExtremes:function(b,r,a,l){a=q(a,!0);xa(H,"setExtremes",{min:b,max:r},function(){fb=b;L=r;a&&O.redraw(l)})},setScale:ca,setTickPositions:j,translate:la,redraw:function(){lb.resetTracker&&lb.resetTracker();Ca();M(Xb,function(b){b.render()});
M(mb,function(b){b.isDirty=!0})},removePlotBand:k,removePlotLine:k,reversed:Jb,stacks:ma,scroll:function(b,r,a){var l=this.options,w=l.scroll,l=l.min,e=w.vxLength,d=w.viewPortMin,b=(w.viewPortMax-d-e)*b+d,w=b+e,c;a===void 0&&(a=!0);lb.resetTracker&&(a?lb.resetTracker():O.tooltip&&O.tooltip.hide());fb=b;L=w;Bb(q(r,!1),O);yb&&(Fb||(Sb=null,this.setScale()),M(Xb,function(b){b.render()}),c=s*(b-l),M(mb,function(b){b.scroll(c,0,a)}));xa(O,"scroll")},destroy:function(){var b;ra(H);for(b in ma)ab(ma[b]),
ma[b]=null;if(H.stackTotalGroup)H.stackTotalGroup=H.stackTotalGroup.destroy();M([tb,ja,Ib,Xb],function(b){ab(b)});M([F,va,P,u],function(b){b&&b.destroy()});F=va=P=u=null}});for(gc in p)sa(H,gc,p[gc]);ca()}function w(){var a={};return{add:function(r,l,w,e){a[r]||(l=wa.text(l,0,0).css(b.toolbar.itemStyle).align({align:"right",x:-Tb-20,y:Ma+30}).on("click",e).attr({align:"right",zIndex:20}).add(),a[r]=l)},remove:function(b){bb(a[b].element);a[b]=null}}}function d(b){function a(){var b=this.points||K(this),
r=b[0].series.xAxis,l=this.x,r=r&&r.options.type==="datetime",w=T(l)||r,e;e=w?['<span style="font-size: 10px">'+(r?La("%A, %b %e, %Y",l):l)+"</span>"]:[];M(b,function(b){e.push(b.point.tooltipFormatter(w))});return e.join("<br/>")}function r(b,a){h=Ca?b:(2*h+b)/3;x=Ca?a:(x+a)/2;ma.translate(h,x);Ob=Ra(b-h)>1||Ra(a-x)>1?function(){r(b,a)}:null;E.x=b;E.y=a}function l(){if(!Ca){var b=O.hoverPoints;ma.hide();M(m,function(b){b&&b.hide()});b&&M(b,function(b){b.setState()});O.hoverPoints=null;Ca=!0;E.hidden=
Ca;E.text=""}}var w,e=b.borderWidth,c=b.crosshairs,m=[],ca=b.style,f=b.shared,j=D(ca.padding),ya=e+j,Ca=q(b.hidden,!0),k,za,h=b.x||0,x=b.y||0,E,$="plot",g=!1;E=ua(Da.chartInstance.jsVars._reflowData,{hcJSON:{tooltip:{}}},!0).hcJSON.tooltip;ca.padding=0;var ma=wa.g("tooltip").attr({zIndex:8}).add(),H=wa.rect(ya,ya,0,0,b.borderRadius,e).attr({fill:b.backgroundColor,"stroke-width":e}).add(ma).shadow(b.shadow,void 0,b.shadow),A=wa.text(b.text||"",j+ya,D(ca.fontSize)+j+ya).attr({zIndex:1}).css(ca).add(ma);
b.text&&(bBox=A.getBBox(),k=bBox.width+2*j,za=bBox.height+2*j,H.attr({width:k,height:za,stroke:b.borderColor}));Ca?ma.hide():ma.translate(h,x);return{shared:f,refresh:function(e,d){var ca,h,x,u=0;ca={};var p,v=[];x=e.tooltipPos;p=b.formatter||a;ca=O.hoverPoints;if(g)l();else if($=e.tooltipConstraint||"plot",f?(ca&&M(ca,function(b){b.setState()}),O.hoverPoints=e,M(e,function(b){b.setState(Pb);u+=b.plotY;v.push(b.getLabelConfig())}),h=e[0].plotX,u=J(u)/e.length,ca={x:e[0].category},ca.points=v,e=e[0]):
ca=e.getLabelConfig(),p=p.call(ca),w=e.series,h=f?h:e.plotX,u=f?u:e.plotY,ca=J(x?x[0]:Pa?Za-u:h),h=J(x?x[1]:Pa?Sa-h:u),x=f||!e.series.isCartesian||Xa(ca,h),p===!1||!x?l():(Ca&&!d&&(ma.show(),Ca=!1),A.attr({text:p}),x=A.getBBox(),k=x.width+2*j,za=x.height+2*j,H.attr({width:k,height:za,stroke:b.borderColor||e.color||w.color||"#606060"}),ca=n(k,za,Ia,Ma,Za,Sa,{x:ca,y:h}),r(J(ca.x-ya),J(ca.y-ya)),E.hidden=Ca,E.text=p),c){c=K(c);for(p=c.length;p--;)if(ca=e.series[p?"yAxis":"xAxis"],c[p]&&ca)if(ca=ca.getPlotLinePath(e[p?
"y":"x"],1),m[p])m[p].attr({d:ca,visibility:jb});else{h={"stroke-width":c[p].width||1,stroke:c[p].color||"#C0C0C0",zIndex:2};if(c[p].dashStyle)h.dashstyle=c[p].dashStyle;m[p]=wa.path(ca).attr(h).add()}}},hide:l,destroy:function(){M(m,function(b){b&&b.destroy()});M([H,A,ma],function(b){b&&b.destroy()});H=A=ma=null},currentConstraint:function(){return $},move:r,block:function(b){(g=Boolean(b))&&l()},visible:function(){return Ca}}}function Ca(b){function r(b){var a,l=m&&na.width/na.body.scrollWidth-
1,w,e,d,b=b||db.event;if(!b.target)b.target=b.srcElement;a=b.touches?b.touches.item(0):b;if(b.type!=="mousemove"||db.opera||l)Nb=p(Na),w=Nb.left,e=Nb.top;Hb?(d=b.x,a=b.y):a.layerX===Ea?(d=a.pageX-w,a=a.pageY-e):(d=b.layerX,a=b.layerY);l&&(d+=J((l+1)*w-w),a+=J((l+1)*e-e));return g(b,{chartX:d,chartY:a})}function l(b){var a={xAxis:[],yAxis:[]};M(nb,function(r){var l=r.translate,w=r.isXAxis;a[w?"xAxis":"yAxis"].push({axis:r,value:l((Pa?!w:w)?b.chartX-Ia:Sa-b.chartY+Ma,!0)})});return a}function w(){var b=
O.hoverSeries,a=O.hoverPoint;if(a)a.onMouseOut();if(b)b.onMouseOut();Yb&&Yb.hide();Wb=null}function e(){if(Ca){var b={xAxis:[],yAxis:[],chart:O},a=Ca.getBBox(),r=a.x-Ia,l=a.y-Ma;b.selectionLeft=r;b.selectionTop=l;b.selectionWidth=a.width;b.selectionHeight=a.height;ya&&(M(nb,function(w){var e=w.translate,d=w.isXAxis,c=Pa?!d:d,m=e(c?r:Sa-l-a.height,!0,0,0,1),e=e(c?r+a.width:Sa-l,!0,0,0,1);b[d?"xAxis":"yAxis"].push({axis:w,min:qb(m,e),max:ka(m,e)})}),xa(O,"selection",b,pa.nativeZoom?ec:void 0));Ca=Ca.destroy()}O&&
(O.mouseIsDown=Kb=ya=!1);ra(na,E?"touchend":"mouseup",e)}function c(b){var r=a(b.pageX)?b.pageX:b.page.x,b=a(b.pageX)?b.pageY:b.page.y,l=O.tooltip&&O.tooltip.currentConstraint();if(Nb)switch(l){case "plot":!Xa(r-Nb.left-Ia,b-Nb.top-Ma)&&w();break;default:!Gc(r-Nb.left,b-Nb.top)&&w()}}var f,j,ya,Ca,k=pa.zoomType,za=/x/.test(k),x=/y/.test(k),$=za&&!Pa||x&&Pa,ma=x&&!Pa||za&&Pa;Gb=function(){Eb?(Eb.translate(Ia,Ma),Pa&&Eb.attr({width:O.plotWidth,height:O.plotHeight}).invert()):O.trackerGroup=Eb=wa.g("tracker").attr({zIndex:9}).add()};
Gb();if(b.enabled)O.tooltip=Yb=d(b);(function(){var a=!1;Na.onmousedown=function(b){var a,b=r(b);if(!E&&b.preventDefault){a=b.target||b.originalTarget||b.srcElement||b.relatedTarget||b.fromElement;try{a&&!h(a,"isOverlay")&&(xa(O,"defaultprevented"),b.preventDefault())}catch(l){}}O.mouseIsDown=Kb=!0;f=b.chartX;j=b.chartY;sa(na,E?"touchend":"mouseup",e)};var d=function(l){if(!l||!(l.touches&&l.touches.length>1)){l=r(l);if(!E&&!h(l.target,"isOverlay"))l.returnValue=!1;var w=l.chartX,e=l.chartY,d=!Xa(w-
Ia,e-Ma);Nb||(Nb=p(Na));E&&l.type==="touchstart"&&(h(l.target,"isOverlay")&&(a=!0),h(l.target,"isTracker")?O.runTrackerClick||l.preventDefault():!eb&&!d&&l.preventDefault());d&&(w<Ia?w=Ia:w>Ia+Za&&(w=Ia+Za),e<Ma?e=Ma:e>Ma+Sa&&(e=Ma+Sa));if(Kb&&l.type!=="touchstart"&&!a){if(ya=Math.sqrt(Math.pow(f-w,2)+Math.pow(j-e,2)),ya>10){if(yb&&(za||x)&&Xa(f-Ia,j-Ma))Ca||(Ca=wa.rect(Ia,Ma,$?1:Za,ma?1:Sa,0).attr({fill:pa.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add());Ca&&$&&(w-=f,Ca.attr({width:Ra(w),
x:(w>0?0:w)+f}));Ca&&ma&&(e-=j,Ca.attr({height:Ra(e),y:(e>0?0:e)+j}))}}else if(!d){var c,e=O.hoverPoint,w=O.hoverSeries,m,ca,k=ib,g=Pa?l.chartY:l.chartX-Ia;if(Yb&&b.shared){c=[];m=Ya.length;for(ca=0;ca<m;ca++)if(Ya[ca].visible&&Ya[ca].tooltipPoints.length)l=Ya[ca].tooltipPoints[g],l._dist=Ra(g-l.plotX),k=qb(k,l._dist),c.push(l);for(m=c.length;m--;)c[m]._dist>k&&c.splice(m,1);if(c.length&&c[0].plotX!==Wb)Yb.refresh(c),Wb=c[0].plotX}if(w&&w.tracker&&(l=w.tooltipPoints[g+((Pa?w.yShift:w.xShift)||0)])&&
l!==e)l.onMouseOver()}return d||!yb}};Na.onmousemove=d;sa(Na,"mouseleave",w);sa(na,"mousemove",c);Na.ontouchstart=function(b){if(za||x)Na.onmousedown(b);d(b)};Na.ontouchmove=d;Na.ontouchend=function(){ya&&w();a=!1};Na.onclick=function(b){var a=O.hoverPoint,b=r(b);b.cancelBubble=!0;if(!ya)if(a&&h(b.target,"isTracker")){var w=a.plotX,e=a.plotY;g(a,{pageX:Nb.left+Ia+(Pa?Za-e:w),pageY:Nb.top+Ma+(Pa?Sa-w:e)});xa(a.series,"click",g(b,{point:a}));a.firePointEvent("click",b)}else g(b,l(b)),xa(O,"click",b);
ya=!1}})();Vb=setInterval(function(){Ob&&Ob()},32);g(this,{normalizeMouseEvent:r,getMouseCoordinates:l,zoomX:za,zoomY:x,resetTracker:w,destroy:function(){if(O.trackerGroup)O.trackerGroup=Eb=O.trackerGroup.destroy();ra(na,"mousemove",c);Na.onclick=Na.onmousedown=Na.onmousemove=Na.ontouchstart=Na.ontouchend=Na.ontouchmove=null}})}function ya(b){var a=b.type||pa.type||pa.defaultSeriesType,r=sb[a],l=O.hasRendered;if(l)if(Pa&&a==="column")r=sb.bar;else if(!Pa&&a==="bar")r=sb.column;a=new r;a.init(O,b);
!l&&a.inverted&&(Pa=!0);if(a.isCartesian)yb=a.isCartesian;Ya.push(a);return a}function za(){pa.alignTicks!==!1&&M(nb,function(b){b.adjustTickAmount()});Sb=null}function ma(b){var a=O.isDirtyLegend,r,l=O.isDirtyBox,w=Ya.length,e=w,d=O.clipRect;for(Bb(b,O);e--;)if(b=Ya[e],b.isDirty&&b.options.stacking){r=!0;break}if(r)for(e=w;e--;)if(b=Ya[e],b.options.stacking)b.isDirty=!0;M(Ya,function(b){b.isDirty&&(b.cleanData(),b.getSegments(),b.options.legendType==="point"&&(a=!0))});if(a&&Db.renderLegend)Db.renderLegend(),
O.isDirtyLegend=!1;yb&&(Fb||(Sb=null,M(nb,function(b){b.setScale()})),za(),nc(),M(nb,function(b){if(b.isDirty||l)b.redraw(),l=!0}));l&&(Zb(),Gb(),d&&(sc(d),d.animate({width:O.plotSizeX,height:O.plotSizeY})));M(Ya,function(b){b.isDirty&&b.visible&&(!b.isCartesian||b.xAxis)&&b.redraw()});lb&&lb.resetTracker&&lb.resetTracker();xa(O,"redraw")}function $(){tc(Va,{opacity:0},{duration:b.loading.hideDuration,complete:function(){W(Va,{display:da})}});ub=!1}function H(){var a=b.xAxis||{},r=b.yAxis||{},w,a=
K(a);M(a,function(b,a){b.index=a;b.isX=!0});r=K(r);M(r,function(b,a){b.index=a});nb=a.concat(r);O.xAxis=[];O.yAxis=[];nb=qa(nb,function(b){w=new l(b);O[w.isXAxis?"xAxis":"yAxis"].push(w);return w});za()}function u(a,r){oa=ha(b.title,a);oc=ha(b.subtitle,r);M([["title",a,oa],["subtitle",r,oc]],function(b){var a=b[0],r=O[a],l=b[1],b=b[2];r&&l&&(r=r.destroy());b&&b.text&&!r&&(O[a]=wa.text(b.text,0,0,b.useHTML).attr({align:b.align,"class":"highcharts-"+a,zIndex:1}).css(b.style).add().align(b,!1,S))})}
function o(){ta=pa.renderTo;Ba=ea+k++;T(ta)&&(ta=na.getElementById(ta));ta.innerHTML="";ta.offsetWidth||(Ua=ta.cloneNode(0),W(Ua,{position:Ja,top:"-9999px",display:""}),na.body.appendChild(Ua));Oa=(Ua||ta).offsetWidth;ob=(Ua||ta).offsetHeight;O.chartWidth=ib=pa.width||Oa||600;O.chartHeight=$a=pa.height||ob||400;O.container=Na=P(va,{className:"highcharts-container"+(pa.className?" "+pa.className:""),id:Ba},g({position:mb,overflow:G,width:ib+Aa,height:$a+Aa,textAlign:"left"},pa.style),Ua||ta);O.renderer=
wa=pa.forExport?new pc(Na,ib,$a,!0):new x(Na,ib,$a);wa.lighting3D=O.options.chart.use3DLighting;wa.smartLabel=Da.smartLabel;var b;g(wa,{pending:[],processBatch:function(){setTimeout(b,wa.batchSpeed||0)}});b=function(){if(wa&&wa.pending){for(var a=wa.pending,r=wa.batchCapacity||50,l=wa.simpleAppend,w,d;(w=a.shift())&&r--&&wa;){d=w._parentNode;if(!w.added)l&&d?(d.element.appendChild(w.element),w.added=!0,e&&d&&d.element.gVis===G&&w.attr({visibility:G})):w.add(d);delete w._parentNode}r&&setTimeout(b,
wa.batchSpeed||0)}};var a,r;j&&Na.getBoundingClientRect&&(a=function(){W(Na,{left:0,top:0});r=Na.getBoundingClientRect();W(Na,{left:-(r.left-D(r.left))+Aa,top:-(r.top-D(r.top))+Aa})},a(),sa(db,"resize",a),sa(O,"destroy",function(){ra(db,"resize",a)}))}function la(){function b(){var r=pa.width||ta.offsetWidth,l=pa.height||ta.offsetHeight;if(r&&l){if(r!==Oa||l!==ob)clearTimeout(a),a=setTimeout(function(){dc(r,l,!1)},100);Oa=r;ob=l}}var a;sa(db,"resize",b);sa(O,"destroy",function(){ra(db,"resize",b)})}
function C(){xa(O,"endResize",null,function(){Fb-=1})}function I(){var b=this.options.chart.canvasBaseColor3D,a=this.options.chart.canvasBaseDepth,r=this.options.chart.canvasBgDepth,l=this.options.chart.canvasBgColor,w=this.renderer,e=this.options.chart.defaultSeriesType,d=this.xDepth,c=this.yDepth;if(this.options.chart.showCanvasBase)this.base3D=e==="bar3d"?w.rect3d(this.plotLeft-d-a,this.plotTop+c,a,this.plotHeight,d,c,0,"canvasBase3D"):w.rect3d(this.plotLeft-d,this.plotTop+this.plotHeight+c,this.plotWidth,
a,d,c,0,"canvasBase3D"),this.base3D.attr({fill:b,lighting3D:this.options.chart.use3DLighting}).add();if(this.options.chart.showCanvasBg)ic.depth3D=e==="bar3d"?w.path(["M",this.plotLeft,this.plotTop,"L",this.plotLeft+r*1.2,this.plotTop-r,this.plotLeft+this.plotWidth-r,this.plotTop-r,this.plotLeft+this.plotWidth,this.plotTop,"Z"]).attr({fill:l}).add():w.path(["M",this.plotLeft+this.plotWidth,this.plotTop,"L",this.plotLeft+this.plotWidth+r,this.plotTop+r*1.2,this.plotLeft+this.plotWidth+r,this.plotTop+
this.plotHeight-r,this.plotLeft+this.plotWidth,this.plotTop+this.plotHeight,"Z"]).attr({fill:l}).add()}function L(){var a=b.labels,r=b.credits,l,e,d={},c;u();e=O.options.legend;if(e.enabled)e=ba(e.type,"point"),e=zc[e],Db=O.legend=new e,Db.init(O);nc();M(nb,function(b){b.setTickPositions(!0)});za();nc();Zb();yb&&M(nb,function(b){b.render()});if(!O.seriesGroup)O.seriesGroup=wa.g("series-group").attr({zIndex:3}).add();M(Ya,function(a){a.translate();a.setTooltipPoints();b.chart.is3D?(c=a.type,d[c]||
(d[c]=[]),d[c].push(a)):a.render()});if(b.chart.is3D)O.xDepth=F(b.chart.xDepth,10),O.yDepth=F(b.chart.yDepth,10),I.call(O),Cb(O,d);a.items&&M(a.items,function(){var b=g(a.style,this.style),r=D(b.left)+Ia,l=D(b.top)+Ma;delete b.left;delete b.top;b=wa.text(this.html,r,l).attr({zIndex:F(this.zIndex,2),align:ba(this.textAlign,"left")}).css(b).add();this.vAlign==="bottom"&&b.attr({y:l-b.getBBox().height});this.vAlign==="middle"&&b.attr({y:l-b.getBBox().height/2});O.labels.push(b)});if(!O.toolbar)O.toolbar=
w(O);if(r.enabled&&!O.credits)l=r.href,wa.text(r.text,0,0).on("click",function(){if(l)location.href=l}).attr({align:r.position.align,zIndex:8}).css(r.style).add().align(r.position);Gb();if(b.buttons)for(var m in b.buttons)O.addButton(b.buttons[m]);if(b.subCharts&&b.subCharts.length&&!wa.forExport)O.subCharts=[],M(b.subCharts,function(a){var r=a.chart;r.renderTo=P(va,null,{position:"relative",background:"transparent",left:r.left+Aa,top:(Hb&&!f?r.top:r.top-$a)+Aa,width:r.width+Aa,height:r.height+Aa},
Na);g(a,{instanceAPI:b.instanceAPI});O.subCharts.push(new vb(a))});b.chart.hasScroll&&yb&&M(nb,function(b){var a=b.options.scroll;a&&a.enabled&&b.scroll(a.startPercent,!1,!0)});O.hasRendered=!0;Ua&&(ta.appendChild(Na),bb(Ua))}function B(){var b,a,r=Na&&Na.parentNode;if(O!==null){xa(O,"destroy");ra(db,"unload",B);ra(O);for(b=nb.length;b--;)nb[b]=nb[b].destroy();for(b=Ya.length;b--;)Ya[b]=Ya[b].destroy();M(["title","subtitle","seriesGroup","clipRect","credits","tracker"],function(b){var a=O[b];a&&(O[b]=
a.destroy())});for(b=O.labels.length;b--;)(a=O.labels[b])&&a.destroy&&a.destroy();delete O.labels;M([jc,kc,ic,Db,Yb,wa,lb],function(b){b&&b.destroy&&b.destroy()});jc=kc=ic=Db=Yb=wa=lb=null;if(Na)Na.innerHTML="",ra(Na),r&&bb(Na),Na=null;clearInterval(Vb);for(b in O)delete O[b];O=null}}function Q(){!f&&db==db.top&&na.readyState!=="complete"?na.attachEvent("onreadystatechange",function(){na.detachEvent("onreadystatechange",Q);na.readyState==="complete"&&Q()}):(Da.hcInstance=O,o(),$b(),bc(),M(b.series||
[],function(b){ya(b)}),O.inverted=Pa=q(Pa,b.chart.inverted),H(),O.render=L,O.tracker=lb=new Ca(b.tooltip),L(),xa(O,"load"),M(O.callbacks,function(b){b.apply(O,[O,Da])}),M(b.callbacks,function(b){b.apply(O,[O,Da])}))}rc=ha(rc,Z.xAxis);xc=ha(xc,Z.yAxis);Z.xAxis=Z.yAxis=null;b=ha(Z,b);r&&b.callbacks.push(r);var pa=b.chart,fb=pa.margin,fb=t(fb)?fb:[fb,fb,fb,fb],tb=q(pa.marginTop,fb[0]),lc=q(pa.marginRight,fb[1]),gb=q(pa.marginBottom,fb[2]),gc=q(pa.marginLeft,fb[3]),Ib=pa.spacingTop,aa=pa.spacingRight,
Jb=pa.spacingBottom,hb=pa.spacingLeft,S,oa,oc,Ma,Tb,fa,Ia,Y,ta,Ua,Na,Ba,Oa,ob,ib,$a,yc,Ka,jc,ic,Ac,Da=b.instanceAPI,ia,Fa,Qa,Ab,Gc,kc,O=this,eb=(fb=pa.events)&&!!fb.click,cb,Xa,Yb,Kb,Va,xb,ub,Sa,Za,lb,Eb,Gb,Db,Nb,yb=pa.showAxes,Fb=0,nb=[],Sb,Ya=[],Pa,wa,Ob,Vb,Wb,Zb,nc,$b,bc,dc,ec,hc;O.getVar=function(b){return{isResizing:Fb,spacingBox:S,series:Ya}[b]};O.setVar=function(b,a){switch(b){case "isResizing":Fb=a;break;case "spacingBox":S=a;break;case "series":Ya=a}};Xa=function(b,a){return b>=0&&b<=Za&&
a>=0&&a<=Sa};Gc=function(b,a){return b>=0&&b<=ib&&a>=0&&a<=$a};hc=function(){xa(O,"selection",{resetSelection:!0},ec);O.toolbar.remove("zoom")};ec=function(b){var a=Z.lang,r=O.pointCount<100;O.toolbar.add("zoom",a.resetZoom,a.resetZoomTitle,hc);!b||b.resetSelection?M(nb,function(b){b.setExtremes(null,null,!1,r)}):M(b.xAxis.concat(b.yAxis),function(b){var a=b.axis;O.tracker[a.isXAxis?"zoomX":"zoomY"]&&a.setExtremes(b.min,b.max,!1,r)});ma()};nc=function(){var r=b.legend,l=q(r.margin,10),w=r.x,e=r.y,
d=r.align,c=r.verticalAlign,m;$b();if((O.title||O.subtitle)&&!a(tb))(m=ka(O.title&&!oa.floating&&!oa.verticalAlign&&oa.y||0,O.subtitle&&!oc.floating&&!oc.verticalAlign&&oc.y||0))&&(Ma=ka(Ma,m+q(oa.margin,15)+Ib));r.enabled&&!r.floating&&(d==="right"?a(lc)||(Tb=ka(Tb,O.legendWidth-w+l+aa)):d==="left"?a(gc)||(Ia=ka(Ia,O.legendWidth+w+l+hb)):c==="top"?a(tb)||(Ma=ka(Ma,O.legendHeight+e+l+Ib)):c==="bottom"&&(a(gb)||(fa=ka(fa,O.legendHeight-e+l+Jb))));yb&&M(nb,function(b){b.getOffset()});a(gc)||(Ia+=Y[3]);
a(tb)||(Ma+=Y[0]);a(gb)||(fa+=Y[2]);a(lc)||(Tb+=Y[1]);bc()};dc=function(b,a,r){var l=O.title,w=O.subtitle;Fb+=1;Bb(r,O);Ka=$a;yc=ib;O.chartWidth=ib=J(b);O.chartHeight=$a=J(a);W(Na,{width:ib+Aa,height:$a+Aa});wa.setSize(ib,$a,r);Za=ib-Ia-Tb;Sa=$a-Ma-fa;Sb=null;M(nb,function(b){b.isDirty=!0;b.setScale()});M(Ya,function(b){b.isDirty=!0});O.isDirtyLegend=!0;O.isDirtyBox=!0;nc();l&&l.align(null,null,S);w&&w.align(null,null,S);ma(r);Ka=null;xa(O,"resize");v===!1?C():setTimeout(C,v&&v.duration||500)};bc=
function(){O.plotLeft=Ia=J(Ia);O.plotTop=Ma=J(Ma);O.plotWidth=Za=J(ib-Ia-Tb);O.plotHeight=Sa=J($a-Ma-fa);O.plotSizeX=Pa?Sa:Za;O.plotSizeY=Pa?Za:Sa;S={x:hb,y:Ib,width:ib-hb-aa,height:$a-Ib-Jb}};$b=function(){Ma=q(tb,Ib);Tb=q(lc,aa);fa=q(gb,Jb);Ia=q(gc,hb);Y=[0,0,0,0]};Zb=function(){var b=pa.borderWidth||0,a=pa.backgroundColor,r=pa.plotBackgroundColor,l=pa.plotBackgroundImage,w=pa.bgSWF,e=pa.bgSWFAlpha/100,d=pa.bgImageDisplayMode,c=pa.bgImageVAlign,m=pa.bgImageHAlign,ca=pa.bgImageScale,f=pa.logoURL,
j=pa.logoAlpha/100,ya=pa.logoPosition,Ca=pa.logoLink,k=pa.logoScale,h=pa.logoLeftMargin,za=pa.logoTopMargin,x=pa._chartBGImageGroup,E=pa._chartBGImage||[],$=pa._chartLogoImageGroup,g=pa._logoTracker,ma=pa._chartLogoImage,H,p,u={x:Ia,y:Ma,width:Za,height:Sa};H=b+(pa.shadow?8:0);p=H%2;if(b||a)jc?jc.animate(jc.crisp(null,null,null,ib-H,$a-H)):jc=wa.rect(H/2,H/2,ib-H+p,$a-H+p,pa.borderRadius,b).attr({stroke:pa.borderColor,"stroke-width":b,fill:a||da}).add().shadow(pa.shadow,void 0,pa.shadow);a=wa.clipRect(b,
b,ib-b*2,$a-b*2);if(w&&!ia){var A=new Image,v,n=1,Qb=1,Z,q;H=0;if(x){x.renderer=wa;Fa=x;ia=E;for(E=ia.length;H<E;H+=1)p=ia[H],p.renderer=wa;x.clip(a).add()}else Fa||(Fa=wa.g("group").attr({visibility:jb}).clip(a).add()),ia=[],A.onload=function(){v=pb(d,c,m,ca,b,ib,$a,A);if(v.tileInfo){n=v.tileInfo.xCount;Qb=Z=v.tileInfo.yCount;q=v.y;for(delete v.tileInfo;n;)if(Z-=1,ia[void 0]=Fa.renderer.image(w).attr(v).css({opacity:e}).add(Fa.attr({visibility:jb})),v.y+=v.height,Z==0)Z=Qb,n-=1,v.x+=v.width,v.y=
q}else ia[0]=Fa.renderer.image(w).attr(v).css({opacity:e}).add(Fa.attr({visibility:jb}))},A.src=w;O._chartBGImageGroup=Fa;O._chartBGImage=ia}r&&(ic?ic.animate(u):ic=wa.rect(Ia,Ma,Za,Sa,F(pa.plotBorderRadius,0)).attr({fill:r}).add().shadow(pa.plotShadow,void 0,pa.plotShadow));l&&(Ac?Ac.animate(u):Ac=wa.image(l,Ia,Ma,Za,Sa).add());if(pa.plotBorderWidth)r=pa.plotBorderWidth,l=r*0.5,l={x:Ia-l,y:Ma-l,width:Za+r,height:Sa+r,r:F(pa.plotBorderRadius,0)},kc?kc.animate(kc.crisp(null,l.x,l.y,l.width,l.height)):
kc=wa.rect(l.x,l.y,l.width,l.height,l.r,r).attr({stroke:pa.plotBorderColor,"stroke-width":r,"stroke-linejoin":"round",zIndex:2}).add();if(f&&!Qa){var y=new Image,zb,o,t,rb;if($){$.renderer=wa;Ab=$;$.clip(a).add();if(g)g.renderer=wa,rb=g,rb.add(),rb._chart=O;ma.renderer=wa;Qa=ma}else{switch(ya){case "tr":o=Wa;t=s;break;case "bl":o=z;t=X;break;case "br":o=z;t=s;break;case "cc":t=o=Rb;break;default:o=Wa,t=X}Ab||(Ab=wa.g("group").attr({visibility:G,zIndex:7}).clip(a).add());if(Ca)rb=wa.rect(0,0,1,1,0).attr({isTracker:!0,
stroke:kb,fill:kb,"stroke-width":0,visibility:jb,zIndex:10}).css({cursor:"pointer",_cursor:"hand"}).add(),rb._chart=O,rb.on("mouseover",function(){rb&&rb._chart.tooltip&&rb._chart.tooltip.hide()}).on("click",function(){pa.events.click.call({link:Ca})});Qa=wa.image(f);y.onload=function(){zb=pb("none",o,t,k,b,ib,$a,y);Qa.attr(zb).translate(h,za).css({opacity:j}).add(Ab.attr({visibility:jb}));if(Ca)zb.r=0,rb.attr(zb)};y.src=f}O._chartLogoImageGroup=Ab;O._logoTracker=rb;O._chartLogoImage=Qa}O.isDirtyBox=
!1};sa(db,"unload",B);pa.reflow!==!1&&sa(O,"load",la);if(fb)for(cb in fb)sa(O,cb,fb[cb]);O.options=b;O.series=Ya;O.addSeries=function(b,a,r){var l;b&&(Bb(r,O),a=q(a,!0),xa(O,"addSeries",{options:b},function(){l=ya(b);l.isDirty=!0;O.isDirtyLegend=!0;a&&O.redraw()}));return l};O.animation=q(pa.animation,!0);O.destroy=B;O.get=function(b){var a,r,l;for(a=0;a<nb.length;a++)if(nb[a].options.id===b)return nb[a];for(a=0;a<Ya.length;a++)if(Ya[a].options.id===b)return Ya[a];for(a=0;a<Ya.length;a++){l=Ya[a].data;
for(r=0;r<l.length;r++)if(l[r].id===b)return l[r]}return null};O.getSelectedPoints=function(){var b=[];M(Ya,function(a){b=b.concat(ja(a.data,function(b){return b.selected}))});return b};O.getSelectedSeries=function(){return ja(Ya,function(b){return b.selected})};O.hideLoading=$;O.isInsidePlot=Xa;O.redraw=ma;O.setSize=dc;O.setTitle=u;O.showLoading=function(a,r){var l=b.loading,w=l.labelStyle;Va||(Va=P(va,{className:"highcharts-loading"},g(l.style,{left:0,top:0,width:ib+Aa,height:$a+Aa,zIndex:22,display:da}),
Na),g(w,{top:$a/2-6+Aa}),xb=P("span",null,w,Va));r?(sa(Va,"click",$),W(Va,"cursor","pointer")):(ra(Va,"click",$),W(Va,"cursor","default"));xb.innerHTML=a||b.lang.loading;ub||(W(Va,{opacity:0,display:""}),tc(Va,{opacity:l.style.opacity},{duration:l.showDuration}),ub=!0)};O.pointCount=0;O.counters=new U;O.labels=[];Q()}var Oa=FusionCharts(["private","modules.renderer.highcharts-src"]);if(Oa!==void 0){var L=Oa.hcLib,ba=L.pluck,F=L.pluckNumber,Fa=L.graphics.getDarkColor,Ba=L.graphics.getLightColor,Qa=
L.graphics.convertColor,Va=L.graphics.getAngle,eb=L.regex.dropHash,Xa=L.regex.startsRGBA,Db=L.regex.hexcode,yb=L.HASHSTRING,Eb=L.BLANKSTRING,pb=L.setImageDisplayMode,Wa=L.POSITION_TOP,s=L.POSITION_RIGHT,z=L.POSITION_BOTTOM,X=L.POSITION_LEFT,Rb=L.POSITION_MIDDLE,S=L.FC_CONFIG_STRING,ua=L.extend2,o=L.getValidValue,$b=L.toPrecision,fc=L.COLOR_TRANSPARENT,lb=L.getFirstColor,cb=L.COMMASTRING,fa={column3d:function(b,a){var l,w,e=0,d,c,m,f=[];l=0;for(w=b.length;l<w;l+=1)e=ka(b[l].data.length,e);if(e>0){c=
b[0];a=c.chart;c.initGroup();m=a.column3DStacked=ba(c.options.stacking,a.options.plotOptions.column3d&&a.options.plotOptions.column3d.stacking,a.options.plotOptions.series.stacking)!==void 0?!0:!1;for(l=0;l<e;l+=1){d=0;for(w=b.length;d<w;d+=1)c=b[d],(c=c.data[l])&&c.y!==null&&(c.y<0&&m?f.push(d):b[d].drawNthPoint(l));if(m)for(w=f.length-1;w>=0;w-=1)b[f.pop()].drawNthPoint(l)}d=0;for(w=b.length;d<w;d+=1)b[d].render()}},bar3d:function(b,a){var l,w,e=0,d,c,m=[];l=0;for(w=b.length;l<w;l+=1)e=ka(b[l].data.length,
e);if(e>0){d=b[0];a=d.chart;d.initGroup();c=a.column3DStacked=ba(d.options.stacking,a.options.plotOptions.column3d&&a.options.plotOptions.column3d.stacking,a.options.plotOptions.series.stacking)!==void 0?!0:!1;for(l=e-1;l>=0;l-=1){e=0;for(w=b.length;e<w;e+=1)d=b[e],(d=d.data[l])&&d.y!==null&&(d.y<=0&&c?m.push(e):b[e].drawNthPoint(l));if(c)for(w=m.length-1;w>=0;w-=1)b[m.pop()].drawNthPoint(l)}e=0;for(w=b.length;e<w;e+=1)b[e].render()}},common:function(){}},hc={column3d:!0,bar3d:!0,area3d:!0,line3d:!0},
Cb=function(b,a,l){var w=0,e=0,d=0,c=0,m=0,f,j=b.xDepth,k=b.yDepth,h=b.options.chart.series2D3Dshift,x=0,E=0;if(a.column3d)w=a.column3d.length;if(a.bar3d)c=a.bar3d.length;if(a.area3d)e=a.area3d.length;if(a.line3d)d=a.line3d.length;m=l?(w?1:0)+(c?1:0)+(e?1:0)+(d?1:0):(w?1:0)+(c?1:0)+e+d;b.num3dSeriesType=m;E=x=0;w=k/m;j/=m;for(f in a)if(hc[f]){e=a[f];d=f==="column3d"||f==="bar3d"||l?!1:!0;x+=j;E+=w;m=0;for(c=e.length;m<c;m+=1)k=e[m],k.depthXDisplacement=-x,k.depthYDisplacement=E,d?(x+=k.xDepth=j,E+=
k.yDepth=w):(k.xDepth=j,k.yDepth=w);m=fa[f]?fa[f]:fa.common;m(e,b);delete a[f]}for(f in a){w=b.plotLeft-x;j=h?b.plotTop+E:b.plotTop;m=0;for(l=a[f].length;m<l;m+=1)a[f][m].options.zIndex=4,a[f][m].render(),a[f][m].group.translate(w,j)}},na=document,db=window,Ha=Math,J=Ha.round,wb=Ha.floor,ac=Ha.ceil,ka=Ha.max,qb=Ha.min,Ra=Ha.abs,Da=Ha.cos,ia=Ha.sin,xb=Ha.PI,Fb=xb/180,bc=Ha.atan2,Vb=xb/2,Wb=xb*1.5,Ob=xb*2,Gb=navigator.userAgent,Hb=/msie/i.test(Gb)&&!db.opera,e=na.documentMode===8,m=/AppleWebKit/.test(Gb),
j=/Firefox/.test(Gb),f=!!na.createElementNS&&!!na.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,d=j&&parseInt(Gb.split("Firefox/")[1],10)<4,x,E=na.documentElement.ontouchstart!==void 0,H={},k=0,A=1,u,Z,La,v,la,Ea,va="div",Ja="absolute",mb="relative",G="hidden",ea="highcharts-",jb=e?"visible":"",Aa="px",da="none",V="M",N="L",Jb={Q:"L",Z:"x"},kb="rgba(192,192,192,"+(f?1.0E-6:0.0020)+")",Pb="hover",qc,uc,vc,wc,mc,R,Mb,Bc,Cc,ga,Dc,Ec,oa=db.HighchartsAdapter,ob=oa||{},M=ob.each,ja=
ob.grep,qa=ob.map,ha=ob.merge,sa=ob.addEvent,ra=ob.removeEvent,xa=ob.fireEvent,ta=ob.getTouchEvent,tc=ob.animate,sc=ob.stop,sb={},zc={};La=function(b,r,l){function w(b){return b.toString().replace(/^([0-9])$/,"0$1")}if(!a(r)||isNaN(r))return"Invalid date";var b=q(b,"%Y-%m-%d %H:%M:%S"),r=new Date(r*A),e,d=r[vc](),c=r[wc](),m=r[mc](),f=r[R](),j=r[Mb](),k=Z.lang,h=k.weekdays,r={a:h[c].substr(0,3),A:h[c],d:w(m),e:m,b:k.shortMonths[f],B:k.months[f],m:w(f+1),y:j.toString().substr(2,2),Y:j,H:w(d),I:w(d%
12||12),l:d%12||12,M:w(r[uc]()),p:d<12?"AM":"PM",P:d<12?"am":"pm",S:w(r.getSeconds())};for(e in r)b=b.replace("%"+e,r[e]);return l?b.substr(0,1).toUpperCase()+b.substr(1):b};U.prototype={wrapColor:function(b){if(this.color>=b)this.color=0},wrapSymbol:function(b){if(this.symbol>=b)this.symbol=0}};la={init:function(b,a,l){var a=a||"",w=b.shift,e=a.indexOf("C")>-1,d=e?7:3,c,a=a.split(" "),l=[].concat(l),m,f,j=function(b){for(c=b.length;c--;)b[c]===V&&b.splice(c+1,0,b[c+1],b[c+2],b[c+1],b[c+2])};e&&(j(a),
j(l));b.isArea&&(m=a.splice(a.length-6,6),f=l.splice(l.length-6,6));if(w)l=[].concat(l).splice(0,d).concat(l),b.shift=!1;if(a.length)for(b=l.length;a.length<b;)w=[].concat(a).splice(a.length-d,d),e&&(w[d-6]=w[d-2],w[d-5]=w[d-1]),a=a.concat(w);m&&(a=a.concat(m),l=l.concat(f));return[a,l]},step:function(b,a,l,w){var e=[],d=b.length;if(l===1)e=w;else if(d===a.length&&l<1)for(;d--;)w=parseFloat(b[d]),e[d]=isNaN(w)?b[d]:l*parseFloat(a[d]-w)+w;else e=a;return e}};oa&&oa.init&&oa.init(la);if(!oa&&db.jQuery){var Ab=
jQuery,M=L.each=function(b,a,l){var w=0,e=b.length;if(l)for(;w<e;w++){if(a.call(l,b[w],w,b)===!1)return w}else for(;w<e;w++)if(a.call(b[w],b[w],w,b)===!1)return w},ja=Ab.grep,qa=function(b,a){for(var l=[],w=0,e=b.length;w<e;w++)l[w]=a.call(b[w],b[w],w,b);return l},ha=L.merge=function(){var b=arguments;return Ab.extend(!0,null,b[0],b[1],b[2],b[3])},sa=function(b,a,l,w){Ab(b).bind(a,w,l)},ra=function(b,a,l){var w=na.removeEventListener?"removeEventListener":"detachEvent";na[w]&&!b[w]&&(b[w]=function(){});
Ab(b).unbind(a,l)},xa=function(b,a,l,w){var e=Ab.Event(a),d="detached"+a;g(e,l);b[a]&&(b[d]=b[a],b[a]=null);Ab(b).trigger(e);b[d]&&(b[a]=b[d],b[d]=null);w&&!e.isDefaultPrevented()&&w(e)},ta=function(b){return E&&b.sourceEvent&&b.sourceEvent.touches&&b.sourceEvent.touches[0]||b},tc=function(b,a,l){var w=Ab(b);if(a.d)b.toD=a.d,a.d=1;w.stop(!1,!0);w.animate(a,l)},sc=function(b){Ab(b).stop()};Ab.extend(Ab.easing,{easeOutQuad:function(b,a,l,w,e){return-w*(a/=e)*(a-2)+l}});var oa=jQuery.fx,ob=oa.step,Yb=
oa.prototype.cur;M([[ob,"_default"],[ob,"width"],[ob,"height"],[oa.prototype,"cur"]],function(b){var a,l=b[0],w=b[1],e=l[w],d;e&&(l[w]=function(b){w==="cur"&&(b=this);d=b.elem;return a=d.attr?d.attr(b.prop,b.now):e.apply(this,arguments)})});ob.d=function(b){var a=b.elem;if(!b.started){var l=la.init(a,a.d,a.toD);b.start=l[0];b.end=l[1];b.started=!0}a.attr("d",la.step(b.start,b.end,b.pos,a.toD))};Ab.fx.prototype.cur=function(){var b=this.elem;return b.attr?b.attr(this.prop):Yb.apply(this,arguments)}}la=
{init:function(b,a,l){var a=a||"",w=b.shift,e=a.indexOf("C")>-1,d=e?7:3,c,a=a.split(" "),l=[].concat(l),m,f,j=function(b){for(c=b.length;c--;)b[c]===V&&b.splice(c+1,0,b[c+1],b[c+2],b[c+1],b[c+2])};e&&(j(a),j(l));b.isArea&&(m=a.splice(a.length-6,6),f=l.splice(l.length-6,6));if(w)l=[].concat(l).splice(0,d).concat(l),b.shift=!1;if(a.length)for(b=l.length;a.length<b;)w=[].concat(a).splice(a.length-d,d),e&&(w[d-6]=w[d-2],w[d-5]=w[d-1]),a=a.concat(w);m&&(a=a.concat(m),l=l.concat(f));return[a,l]},step:function(b,
a,l,w){var e=[],d=b.length;if(l===1)e=w;else if(d===a.length&&l<1)for(;d--;)w=parseFloat(b[d]),e[d]=isNaN(w)?b[d]:l*parseFloat(a[d]-w)+w;else e=a;return e}};oa={enabled:!0,align:"center",x:0,y:15,style:{color:"#666",fontSize:"11px",lineHeight:"14px"}};Z={colors:["#4572A7","#AA4643","#89A54E","#80699B","#3D96AE","#DB843D","#92A8CD","#A47D7C","#B5CA92"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June",
"July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","June","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},callbacks:[],global:{useUTC:!0},chart:{nativeZoom:!0,reflow:!1,borderColor:"#4572A7",borderRadius:5,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacingTop:10,spacingRight:10,
spacingBottom:15,spacingLeft:10,style:{fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',fontSize:"12px",cursor:"default","font-weight":"normal","font-style":"normal"},backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0"},title:{text:"Chart title",align:"center",y:15,style:{color:"#3E576F",fontSize:"16px"}},subtitle:{text:"",align:"center",y:30,style:{color:"#6D869F"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},
lineWidth:2,shadow:!0,marker:{enabled:!0,lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:ha(oa,{enabled:!1,y:-6,formatter:function(){return this.y}}),showInLegend:!0,states:{hover:{marker:{}},select:{marker:{}}},stickyTracking:!0}},labels:{style:{position:Ja,color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderWidth:1,borderColor:"#909090",
borderRadius:5,shadow:!1,style:{padding:"5px"},itemStyle:{cursor:"pointer",color:"#3E576F"},itemHoverStyle:{cursor:"pointer"},itemHiddenStyle:{color:"#C0C0C0"},itemCheckboxStyle:{position:Ja,width:"13px",height:"13px"},symbolWidth:16,symbolPadding:5,verticalAlign:"bottom",x:0,y:0},loading:{hideDuration:250,labelStyle:{position:mb,fontFamily:"Verdana",fontSize:"10px",color:"#ffffff","pointer-events":da},showDuration:100,style:{position:Ja,backgroundColor:"black",opacity:0.2,textAlign:"center","text-shadow":"1px 1px 3px #ffffff",
filter:"dropshadow(color=#ffffff, offx=1, offy=1)"}},tooltip:{enabled:!0,backgroundColor:"rgba(255, 255, 255, .85)",borderWidth:2,borderRadius:5,shadow:!0,snap:E?25:10,style:{color:"#333333",fontSize:"12px",padding:"5px",whiteSpace:"nowrap"}},toolbar:{itemStyle:{color:"#4572A7",cursor:"pointer"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"10px"}}};var rc={dateTimeLabelFormats:{second:"%H:%M:%S",
minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:oa,lineColor:"#C0D0E0",lineWidth:1,max:null,min:null,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#6D869F",
fontWeight:"bold"}},type:"linear"},xc=ha(rc,{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{align:"right",x:-8,y:3},lineWidth:0,maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Y-values"},stackLabels:{enabled:!1,formatter:function(){return this.total},style:oa.style}}),Nc={labels:{align:"right",x:-8,y:null},title:{rotation:270}},Mc={labels:{align:"left",x:8,y:null},title:{rotation:90}},Fc={labels:{align:"center",x:0,y:14},title:{rotation:0}},
Lc=ha(Fc,{labels:{y:-5}}),Ua=L.defaultPlotOptions=Z.plotOptions,oa=Ua.line;Ua.spline=ha(oa);Ua.scatter=ha(oa,{lineWidth:0,states:{hover:{lineWidth:0}}});Ua.area=ha(oa,{});Ua.areaspline=ha(Ua.area);Ua.column=ha(oa,{borderColor:"#FFFFFF",borderWidth:1,borderRadius:0,groupPadding:0.2,marker:null,pointPadding:0.1,minPointLength:0,states:{hover:{brightness:0.1,shadow:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{y:null,verticalAlign:null}});Ua.bar=ha(Ua.column,{dataLabels:{align:"left",
x:5,y:0}});Ua.pie=ha(oa,{borderColor:"#FFFFFF",borderWidth:1,center:["50%","50%"],colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name},y:5},legendType:"point",marker:null,size:"75%",showInLegend:!1,slicedOffset:10,states:{hover:{brightness:0.1,shadow:!1}}});aa();var Kb=function(b){var a=[],l;(function(b){(l=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(b))?a=[D(l[1]),D(l[2]),D(l[3]),parseFloat(l[4])]:
(l=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))&&(a=[D(l[1],16),D(l[2],16),D(l[3],16),1])})(b);return{get:function(l){return a&&!isNaN(a[0])?l==="rgb"?"rgb("+a[0]+","+a[1]+","+a[2]+")":l==="hex"?"#"+("000000"+(a[0]<<16|a[1]<<8|a[2]).toString(16)).slice(-6):l==="a"?a[3]:"rgba("+a.join(",")+")":b},brighten:function(b){if(Ka(b)&&b!==0){var l;for(l=0;l<3;l++)a[l]+=D(b*255),a[l]<0&&(a[l]=0),a[l]>255&&(a[l]=255)}return this},setOpacity:function(b){a[3]=b;return this}}};Y.prototype={init:function(b,
a){this.element=na.createElementNS("http://www.w3.org/2000/svg",a);this.renderer=b},animate:function(b,a,l){if(a=q(a,v,!0)){a=ha(a);if(l)a.complete=l;tc(this,b,a)}else this.attr(b),l&&l()},attr:function(b,r){var l,w,e,d,c,f=this.element,j=f.nodeName,k=this.renderer,x,E=this.shadows,H=this.htmlNode,p,u=this;T(b)&&a(r)&&(l=b,b={},b[l]=r);if(T(b))l=b,j==="circle"?l={x:"cx",y:"cy"}[l]||l:l==="strokeWidth"&&(l="stroke-width"),u=h(f,l)||this[l]||0,l!=="d"&&l!=="visibility"&&(u=parseFloat(u));else for(l in b){x=
!1;w=b[l];if(l==="d")w&&w.join&&(w=w.join(" ")),/(NaN| {2}|^$)/.test(w)&&(w="M 0 0"),this.d=w;else if(l==="x"&&j==="text"){for(e=0;e<f.childNodes.length;e++)d=f.childNodes[e],h(d,"x")===h(f,"x")&&h(d,"x",w);this.rotation&&h(f,"transform","rotate("+this.rotation+" "+w+" "+D(b.y||h(f,"y"))+")")}else if(l==="fill")w=k.color(w,f,l);else if(j==="circle"&&(l==="x"||l==="y"))l={x:"cx",y:"cy"}[l]||l;else if(l==="translateX"||l==="translateY"||l==="rotation"||l==="verticalAlign")this[l]=w,this.updateTransform(),
x=!0;else if(l==="stroke")w=k.color(w,f,l);else if(l==="dashstyle")if(l="stroke-dasharray",w=w&&w.toLowerCase(),w==="solid")w=da;else{if(w){w=w.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(e=w.length;e--;)w[e]=parseFloat(w[e])*F(b["stroke-width"],b.strokeWidth,h(this,"stroke-width"));w=w.join(",")}}else l==="isTracker"?
this[l]=w:l==="width"?w=D(w):l==="align"?(l="text-anchor",w={left:"start",center:"middle",right:"end"}[w]):l==="title"&&(e=na.createElementNS("http://www.w3.org/2000/svg","title"),e.appendChild(na.createTextNode(w)),f.appendChild(e));l==="strokeWidth"&&(l="stroke-width");m&&l==="stroke-width"&&w===0&&(w=1.0E-6);this.symbolName&&/^(x|y|r|start|end|innerR)/.test(l)&&(p||(this.symbolAttr(b),p=!0),x=!0);if(E&&(l==="opacity"||l==="stroke-opacity")){c=0.06*w;e=0;for(d=E.length;e<d;)h(E[e],l,(e+=1)*c)}if(E&&
/^(width|height|visibility|x|y|d)$/.test(l))for(e=E.length;e--;)h(E[e],l,w);if((l==="width"||l==="height")&&j==="rect"&&w<0)w=0;l==="text"?(this.textStr=w,this.added&&k.buildText(this)):x||h(f,l,w);if(H&&(l==="x"||l==="y"||l==="translateX"||l==="translateY"||l==="visibility")){e=H.length?H:[this];d=e.length;for(c=0;c<d;c++)H=e[c],x=H.getBBox(),H=H.htmlNode,W(H,g(this.styles,{left:x.x+(this.translateX||0)+Aa,top:x.y+(this.translateY||0)+Aa})),l==="visibility"&&W(H,{visibility:w})}}return u},symbolAttr:function(b){var a=
this;M(["x","y","r","start","end","width","height","innerR","startAngle"],function(l){a[l]=q(b[l],a[l])});a.attr({d:a.renderer.symbols[a.symbolName](J(a.x*2)/2,J(a.y*2)/2,a.r,{start:a.start,end:a.end,width:a.width,height:a.height,innerR:a.innerR,startAngle:a.startAngle})})},clip:function(b){return this.attr("clip-path","url('"+this.renderer.url+"#"+b.id+"')")},crisp:function(b,a,l,e,d){var c,m={},f={},j,b=b||this.strokeWidth||0;j=b%2/2;f.x=wb(a||this.x||0)+j;f.y=wb(l||this.y||0)+j;f.width=wb((e||
this.width||0)-2*j);f.height=wb((d||this.height||0)-2*j);f.strokeWidth=b;if(f.width===0&&e!==0)f.width=1;for(c in f)this[c]!==f[c]&&(this[c]=m[c]=f[c]);return m},css:function(b){var a=this.element,a=b&&b.width&&a.nodeName==="text",l,e="",d=function(b,a){return"-"+a.toLowerCase()};if(b&&b.color)b.fill=b.color;this.styles=b=g(this.styles,b);if(Hb&&!f)a&&delete b.width,W(this.element,b);else{for(l in b)e+=l.replace(/([A-Z])/g,d)+":"+b[l]+";";this.attr({style:e})}a&&this.added&&this.renderer.buildText(this);
return this},on:function(b,a){var l=a;E&&b==="click"&&(b="touchstart",l=function(b){b.preventDefault();a()});this.element["on"+b]=l;return this},translate:function(b,a){return this.attr({translateX:b,translateY:a})},invert:function(){this.inverted=!0;this.updateTransform();return this},scale:function(b,a){b||(b=1);a||(a=b);this.fx=b;this.fy=a;this.updateTransform();return this},updateTransform:function(){var b=this.translateX||0,a=this.translateY||0,l=this.inverted,e=this.rotation,d=this.fx||0,c=
this.fy||0,m=[],f=this.shadows;l&&(b+=this.attr("width"),a+=this.attr("height"));(b||a)&&m.push("translate("+b+","+a+")");l?d?(m.push("rotate(90)"),d*=-1):m.push("rotate(90) scale(-1,1)"):e&&m.push("rotate("+e+" "+this.x+" "+this.y+")");(d||c)&&m.push("scale("+d+", "+c+")");if(m.length&&(b=m.join(" "),h(this.element,"transform",b),f)){a=0;for(l=f.length;a<l;a+=1)h(f[a],"transform",b)}},rotate:function(b,a,l){this.x=a;this.y=l;return this.attr({translateX:a,translateY:l,rotation:b})},toFront:function(){var b=
this.element;b.parentNode.appendChild(b);return this},align:function(b,a,l){b?(this.alignOptions=b,this.alignByTranslate=a,l||this.renderer.alignedObjects.push(this)):(b=this.alignOptions,a=this.alignByTranslate);var l=q(l,this.renderer),e=b.align,d=b.verticalAlign,c=(l.x||0)+(b.x||0),m=(l.y||0)+(b.y||0),f={};/^(right|center)$/.test(e)&&(c+=(l.width-(b.width||0))/{right:1,center:2}[e]);f[a?"translateX":"x"]=J(c);/^(bottom|middle)$/.test(d)&&(m+=(l.height-(b.height||0))/({bottom:1,middle:2}[d]||1));
f[a?"translateY":"y"]=J(m);this[this.placed?"animate":"attr"](f);this.placed=!0;this.alignAttr=f;return this},getBBox:function(){var b,a,l,e=this.rotation,d=e*Fb;try{b=g({},this.element.getBBox())}catch(c){b={width:0,height:0}}a=b.width;l=b.height;if(e)b.width=Ra(l*ia(d))+Ra(a*Da(d)),b.height=Ra(l*Da(d))+Ra(a*ia(d));return b},show:function(){return this.attr({visibility:jb})},hide:function(){return this.attr({visibility:G})},add:function(b){var r=this.renderer,l=b||r,e=l.element||r.box,d=e.childNodes,
c=this.element,m=h(c,"zIndex");this.parentInverted=b&&b.inverted;this.textStr!==void 0&&r.buildText(this);if(b&&this.htmlNode){if(!b.htmlNode)b.htmlNode=[];b.htmlNode.push(this)}if(m)l.handleZ=!0,m=D(m);if(l.handleZ)for(l=0;l<d.length;l++)if(b=d[l],r=h(b,"zIndex"),b!==c&&(D(r)>m||!a(m)&&a(r)))return e.insertBefore(c,b),this;e.appendChild(c);this.added=!0;return this},safeRemoveChild:function(b){var a=b.parentNode;a&&a.removeChild(b)},destroy:function(){var b=this,a=b.element||{},l=b.shadows,e,d;a.onclick=
a.onmouseout=a.onmouseover=a.onmousemove=null;sc(b);if(b.clipPath)b.clipPath=b.clipPath.destroy();if(b.stops){for(d=0;d<b.stops.length;d++)b.stops[d]=b.stops[d].destroy();b.stops=null}b.safeRemoveChild(a);l&&M(l,function(a){b.safeRemoveChild(a)});b.renderer.alignedObjects&&I(b.renderer.alignedObjects,b);for(e in b)delete b[e];return null},empty:function(){for(var b=this.element,a=b.childNodes,l=a.length;l--;)b.removeChild(a[l])},shadow:function(b,a,l){l||(l={});var e=[],d,c=this.element,m=l.color||
"rgb(0,0,0)",f="translate"+(!this.parentInverted!=!l.inverted?"(-1,-1)":"(1,1)"),j=D(this.attr("stroke-width")||1,10)+6,l=ba(l.opacity,1)*0.06;if(this.fx||this.fy)f+=" scale("+this.fx+", "+this.fy+")";if(b){for(b=1;b<=3;b++)d=c.cloneNode(0),h(d,{isShadow:"true",stroke:m,"stroke-opacity":l*b,"stroke-width":j-2*b,transform:f,fill:da}),a?a.element.appendChild(d):c.parentNode.insertBefore(d,c),e.push(d);this.shadows=e}return this},textBound:function(){var b=this.renderer,a=this.textBoundWrapper,l=this.styles,
e,d,c,m;if(this.element.nodeName!=="text"||!l||!l.backgroundColor&&!l.borderColor||!this.textStr||(this.rotation||0)%90!==0)return this.textBoundWrapper&&this.textBoundWrapper.destroy(),this;e=this.getBBox();c=e.width+4;m=e.height+4;d=e.x;e=e.y;this.rotation===270&&(d=this.attr("x")-c/2-2,e=this.attr("y")-m+4);if(!a)a=this.textBoundWrapper=b.rect(0,0,0,0,0,1),this.element.parentNode.insertBefore(a.element,this.element);a.attr({fill:l.backgroundColor||da,stroke:l.borderColor||Eb,"fill-opacity":ba(l.backgroundOpacity,
1),"stroke-opacity":ba(l.borderOpacity,1)});a.attr(a.crisp(1,d-1.5,e-1.5,c,m));return this}};var pc=function(){this.init.apply(this,arguments)};pc.prototype={Element:Y,type:"SVG",init:function(b,a,l,e){var d=location,c;c=this.createElement("svg").attr({xmlns:"http://www.w3.org/2000/svg",version:"1.1"});b.appendChild(c.element);this.box=c.element;this.boxWrapper=c;this.alignedObjects=[];this.url=Hb?"":d.href.replace(/#.*?$/,"").replace(/[\'\\]/g,db.opera?function(b){return escape(b)}:function(b){return"\\"+
b});this.defs=this.createElement("defs").add();this.forExport=e;this.gradients=[];this.setSize(a,l,!1)},destroy:function(){var b,a=this.gradients,l=this.defs;b=this.pending;this.box=null;this.boxWrapper=this.boxWrapper.destroy();if(b&&b.length)for(;b.shift(););if(a){for(b=0;b<a.length;b++)this.gradients[b]=a[b].destroy();this.gradients=null}if(l)this.defs=l.destroy();return this.alignedObjects=null},createElement:function(b){var a=new this.Element;a.init(this,b);return a},buildText:function(b){for(var a=
b.element,l=q(b.textStr,"").toString().replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g),e=a.childNodes,d=/style="([^"]+)"/,c=/href="([^"]+)"/,m=h(a,"x"),j=b._dx,k=b.styles,x=k&&b.useHTML&&!this.forExport,E=b.htmlNode,H=k&&D(k.width),p=k&&k.lineHeight,u,A=e.length;A--;)a.removeChild(e[A]);H&&!b.added&&this.box.appendChild(a);A=/title="([^"]+)"/;A.test(l[0])&&
h(a,"title",l[0].match(A)[1]);M(l,function(l,e){var w,k=0,x,l=l.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");w=l.split("|||");M(w,function(l){if(l!==""||w.length===1){var E={},g=na.createElementNS("http://www.w3.org/2000/svg","tspan");d.test(l)&&h(g,"style",l.match(d)[1].replace(/(;| |^)color([ :])/,"$1fill$2"));c.test(l)&&(h(g,"onclick",'location.href="'+l.match(c)[1]+'"'),W(g,{cursor:"pointer"}));var l=(l.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">"),
$=na.createTextNode(l);g.appendChild($);k?E.dx=j:E.x=m;if(!k){if(e){!f&&b.renderer.forExport&&W(g,{display:"block"});x=db.getComputedStyle&&D(db.getComputedStyle(u,null).getPropertyValue("line-height"));if(!x||isNaN(x))x=p||u.offsetHeight||18;h(g,"dy",x)}u=g}h(g,E);a.appendChild(g);k++;if(H)for(var l=l.replace(/-/g,"- ").split(" "),ma=[];l.length||ma.length;)$=a.getBBox().width,E=$>H,!E||l.length===1?(l=ma,ma=[],l.length&&(g=na.createElementNS("http://www.w3.org/2000/svg","tspan"),h(g,{dy:p||16,x:m}),
a.appendChild(g),$>H&&(H=$))):(g.removeChild(g.firstChild),ma.unshift(l.pop())),l.length&&g.appendChild(na.createTextNode(l.join(" ").replace(/- /g,"-")))}})});if(x){if(!E)E=b.htmlNode=P("span",null,g(k,{position:Ja,top:0,left:0}),this.box.parentNode);E.innerHTML=b.textStr;for(A=e.length;A--;)e[A].style.visibility=G}},crispLine:function(b,a){b[1]===b[4]&&(b[1]=b[4]=J(b[1])+a%2/2);b[2]===b[5]&&(b[2]=b[5]=J(b[2])+a%2/2);return b},path:function(b){return this.createElement("path").attr({d:b,fill:da})},
circle:function(b,a,l){b=t(b)?b:{x:b,y:a,r:l};return this.createElement("circle").attr(b)},arc:function(b,a,l,e,d,c){if(t(b))a=b.y,l=b.r,e=b.innerR,d=b.start,c=b.end,b=b.x;return this.symbol("arc",b||0,a||0,l||0,{innerR:e||0,start:d||0,end:c||0})},rect:function(b,a,l,e,d,c){if(t(b))a=b.y,l=b.width,e=b.height,d=b.r,c=b.strokeWidth,b=b.x;d=this.createElement("rect").attr({rx:d,ry:d,fill:da});return d.attr(d.crisp(c,b,a,ka(l,0),ka(e,0)))},rect3d:function(){var b={x:{drawTop:!0,drawRight:!0,drawFront:!0,
drawShadow:!0},y:{drawTop:!0,drawRight:!0,drawFront:!0,drawShadow:!0},width:{drawTop:!0,drawRight:!0,drawFront:!0,drawShadow:!0},height:{drawRight:!0,drawFront:!0,drawShadow:!0},strokeWidth:!0,"stroke-width":!0,stroke:!0,x3D:{drawTop:!0,drawRight:!0,drawShadow:!0},y3D:{drawTop:!0,drawRight:!0,drawShadow:!0},fill:!0},r=function(l,r){var e,d,c,m=this,f,j,k=this._3dAttr;T(l)&&a(r)&&(e=l,l={},l[e]=r);if(T(l))m=b[l]?this._3dAttr[l]:this._attr(l);else for(e in l)if(d=l[e],b[e]){c=b[e];k[e]=d;if(e==="stroke"||
e==="stroke-width"||e==="strokeWidth")this.frontRect.attr(e,d),this.topRect.attr(e,d),this.rightRect.attr(e,d);if(e==="fill")d&&d.linearGradient&&d.stops&&d.stops[0]&&(d=d.stops[0][1]),Xa.test(d)?(j=Kb(d),f=j.get("hex"),j=j.get("a")*100):d&&d.FCcolor?(f=d.FCcolor.color.split(cb)[0],j=d.FCcolor.alpha.split(cb)[0]):Db.test(d)&&(f=d.replace(eb,yb),j=100),k.color=f,k.alpha=j,k.lighting3D===!1?(k.frontColor=Qa(k.color,k.alpha),k.rightColor=Qa(Fa(k.color,60),k.alpha),k.topColor=Qa(Fa(k.color,75),k.alpha)):
(k.frontColor={FCcolor:{color:Fa(k.color,65)+cb+Ba(k.color,55),alpha:j+cb+j,angle:270}},k.rightColor={FCcolor:{color:Fa(k.color,35)+cb+Fa(k.color,75),alpha:j+cb+j,angle:Va(k.x3D,k.height+k.y3D,3)}},k.topColor={FCcolor:{color:Fa(k.color,85)+cb+Ba(k.color,35),alpha:j+cb+j,angle:Va(k.width+k.x3D,k.y3D,4)}}),this.topRect.attr({fill:k.topColor}),this.rightRect.attr({fill:k.rightColor}),this.frontRect.attr({fill:k.frontColor});if(c.drawTop){if(k.lighting3D!==!1&&k.topColor.FCcolor)k.topColor.FCcolor.angle=
Va(k.width+k.x3D,k.y3D,4);this.topRect.attr({d:["M",k.x,k.y,"L",k.x+k.width,k.y,k.x+k.width+k.x3D,k.y-k.y3D,k.x+k.x3D,k.y-k.y3D,"Z"],fill:k.topColor})}if(c.drawRight){if(k.lighting3D!==!1&&k.rightColor.FCcolor)k.rightColor.FCcolor.angle=Va(k.x3D,k.height+k.y3D,3);this.rightRect.attr({d:["M",k.x+k.width,k.y,"L",k.x+k.width+k.x3D,k.y-k.y3D,k.x+k.width+k.x3D,k.y-k.y3D+k.height,k.x+k.width,k.y+k.height,"Z"],fill:k.rightRect})}c.drawFront&&this.frontRect.attr(e,d);c.drawShadow&&this.shadowElement.attr({d:["M",
k.x+k.x3D,k.y-k.y3D,"L",k.x+k.x3D+k.width,k.y-k.y3D,k.x+k.x3D+k.width,k.y-k.y3D+k.height]})}else this._attr(e,d);return m},l=function(){var b=this.shadowElement;l&&b.shadow.apply(b,arguments)};return function(b,a,e,d,c,m,f,j){if(t(b))a=b.y,e=b.width,d=b.height,f=b.strokeWidth,c=b.x3D,m=b.y3D,b=b.x;var c=F(c,10),m=F(m,10),k=J(b+e),c=b+e+c,e=k-b;c-=k;var k={x:b,y:a,width:e,height:d,r:0},x=["M",b,a,"L",b+e,a,b+e+c,a-m,b+c,a-m,"Z"],h=["M",b+e,a,"L",b+e+c,a-m,b+e+c,a-m+d,b+e,a+d,"Z"],E=["M",b+c,a-m,"L",
b+c+e,a-m,b+c+e,a-m+d],j=this.g(j);j.shadowElement=this.path(E).add(j);j.frontRect=this.rect(k).attr({"stroke-width":f}).add(j);j.topRect=this.path(x).attr({"stroke-width":f}).add(j);j.rightRect=this.path(h).attr({"stroke-width":f}).add(j);j._attr=j.attr;j.attr=r;j.shadow=l;j._3dAttr={y:a,width:e,height:d,x:b,strokeWidth:f,x3D:c,y3D:m,lighting3D:this.lighting3D};return j}}(),getArcPath:function(b,a,l,e,d,c,m,f,j,k){return["A",m,f,0,k,j,d,c]},scroller:function(){var b=E?"touchstart":"mousedown",r=
{pageX:0,pageY:0},l=function(b){var a=b.type==="dragend",l=b.data,e=E&&ta(b)||r;l.dragActive=!a;if(a){if(l.onChange)l.onChange(l.scrollPosition,!1,!0);if(l.onEnd)l.onEnd(l.scrollPosition,!1,!0)}else l.dragInitPos=l.scrollPosition,l.dragStartX=b.pageX||e.pageX,l.dragStartY=b.pageY||e.pageY;E&&l.anchor.attr("height",l.anchor.attr("height")*(a?0.625:1.6))},e=function(b){var a=b.data,l=a.horiz,e=E&&ta(b)||r;a.group.setScrollPosition(a.dragInitPos+(l?(b.pageX||e.pageX)-a.dragStartX:(b.pageY||e.pageY)-
a.dragStartY)/a.zoneLength)},d=function(b,a){if(!arguments.length)return this;g(this.config,{onChange:b,onEnd:a});return this},c=function(b,a){var l=this.config,e;b>1&&(b=1);e=l.trackLength*b;e<5&&(b=5/l.trackLength,e=l.trackLength*b);l.zoneLength=l.trackLength-l.trackLength*(l.scrollRatio=b);this.elements.anchor.attr({width:e});l.scrollDelta=b>=1?1:0.1;return this.setScrollPosition(void 0,void 0,a)},m=function(b,l,e){var r=this.config,d=r.horiz,w=r.anchor,c=Hb&&!f&&!d;a(b)?(b<=0?b=1.0E-8:b>1&&(b=
1),r.scrollPosition=b):b=r.scrollPosition;d=(d?b:1-b)*r.zoneLength;d===0&&(d=1.0E-8);c?w.translate(void 0,-d):w.translate(d);if(!e&&r.onChange)r.onChange(b,l,!0);return this},j=function(b){var a=this.renderer,l=this.config,e=this.elements,r,d,w;if(t(b)&&"fill"in b){r=b.fill;d=l.flat;w=!l.horiz&&Hb&&!f?180:90;var c={base:r,light:yb+Ba(r,15),dark:yb+Fa(r,d?50:30)};c.darkFill=d?c.dark:{FCcolor:{color:c.dark+cb+r,alpha:"100",angle:w}};c.lightFill=d?c.base:{FCcolor:{color:r+cb+c.light,alpha:"100",angle:w}};
r=c;d={fill:r.dark};w={fill:r.lightFill};l.buttons&&(this.elements.start.attr(w),this.elements.end.attr(w),this.elements.startArrow.attr(d),this.elements.endArrow.attr(d));e.track.attr(w);e.anchor.attr({fill:r.darkFill,stroke:r.dark,"stroke-width":0.2});delete b.fill}return a.Element.prototype.attr.apply(this,arguments)},k=function(b,a){var l=this.elements,r=l.marker;if(!b&&!a&&r)l.marker=l.marker.destroy()};return function(a,r,f,x,h,E,H,p){h||(f+=x,x=f-x,f-=x);var u=this.g("scroller").attr({translateX:a,
translateY:r,width:f,height:x}),a=u.config={},A=u.elements={},v,r=!E?0:E.size||x,n=r*0.25,Z=x*0.25,q=r+(E&&E.padding||0),y=f-2*q,o=y<3;A.track=this.rect(q,0,y,x,0);A.anchor=this.rect(q,H?0:Z*0.5,o?3:y,H?x:x-Z,H?0:qb(n,Z));if(E)A.start=this.rect(0,0,r,x,0),A.startArrow=this.path([V,n,0,N,0,Z,n,Z*2,n,0]).translate(r*0.4,Z),A.end=this.rect(f-r,0,r,x,0),A.endArrow=this.path([V,0,0,N,n,Z,0,Z*2,0,0]).translate(f-r*0.6,Z);h||u.attr({width:x,height:f}).invert();for(v in A)A[v].add(u);g(a,{group:u,anchor:A.anchor,
width:f,horiz:h,flat:H,buttons:!!E,scrollRatio:1,trackOffset:q,trackLength:y,zoneLength:y,scrollPosition:0,scrollDelta:0.1});g(u,{destroy:function(){M(A,function(b){b.destroy()})},attr:j,setScrollRatio:c,setScrollPosition:m,callback:d,mark:k});sa(A.anchor.element,"dragstart dragend",l,a);sa(A.anchor.element,"drag",e,a);E&&(sa([u.elements.start.element,u.elements.startArrow.element],b,function(){u.setScrollPosition(u.config.scrollPosition-u.config.scrollDelta)},a),sa([u.elements.end.element,u.elements.endArrow.element],
b,function(){u.setScrollPosition(u.config.scrollPosition+u.config.scrollDelta)},a));p&&sa(p.element,"wheelchange",function(b,a){u.setScrollPosition(u.config.scrollPosition-a*0.5);b.preventDefault()});return u}}(),setSize:function(b,a,l){var e=this.alignedObjects,d=e.length;this.width=b;this.height=a;for(this.boxWrapper[q(l,!0)?"animate":"attr"]({width:b,height:a});d--;)e[d].align()},g:function(b){return this.createElement("g").attr(a(b)&&{"class":ea+b})},image:function(b,a,l,e,d){var c={preserveAspectRatio:da};
arguments.length>1&&g(c,{x:a,y:l,width:e,height:d});c=this.createElement("image").attr(c);c.element.setAttributeNS?c.element.setAttributeNS("http://www.w3.org/1999/xlink","href",b):c.element.setAttribute("hc-svg-href",b);return c},symbol:function(b,a,l,e,d){if(t(b))a=b.x,l=b.y,e=b.radius,d=b.options,b=b.symbol;var c;if(/^(poly|spoke)\_\d+$/.test(b))b=b.split("_"),c=F(parseInt(b[1],10),3),b=ba(b[0],"poly"),typeof d!=="object"&&(d={}),d.innerR=c;var m;c=(c=this.symbols[b])&&c(J(a),J(l),e,d,this);var f=
/^url\((.*?)\)$/,j;if(c)m=this.path(c),g(m,{symbolName:b,x:a,y:l,r:e}),d&&g(m,d);else if(f.test(b)){var k=function(b,a){b.attr({width:a[0],height:a[1]}).translate(-J(a[0]/2),-J(a[1]/2))};j=b.match(f)[1];e=H[j];m=this.image(j).attr({x:a,y:l});e?k(m,e):(m.attr({width:0,height:0}),P("img",{onload:function(){k(m,H[j]=[this.width,this.height])},src:j}))}else m=this.circle(a,l,e);return m},symbols:{poly:function(b,a,l,e){var d=e.innerR,c=2*Ha.PI/d,m,f=typeof e.startAngle!=="undefined"?e.startAngle:Ha.PI/
2;if(d>2){e=[V,b+l*Da(-f),a+l*ia(-f),N];for(m=1;m<d;m++)e.push(b+l*Da(-(f+m*c)),a+l*ia(-(f+m*c)));e.push("Z")}else e=[V,b,a,"Z"];return e},spoke:function(b,a,l,e){var d=e.innerR,c=2*Ha.PI/d,e=typeof e.startAngle!=="undefined"?e.startAngle:Ha.PI/2,m,f;if(d>2){m=[V,b,a,N,b+l*Da(-e),a+l*ia(-e)];for(f=1;f<d;f++)m.push(V,b,a,N,b+l*Da(-(e+f*c)),a+l*ia(-(e+f*c)))}else m=[V,b,a,"Z"];return m},square:function(b,a,l){l*=0.707;return[V,b-l,a-l,N,b+l,a-l,b+l,a+l,b-l,a+l,"Z"]},triangle:function(b,a,l){return[V,
b,a-1.33*l,N,b+l,a+0.67*l,b-l,a+0.67*l,"Z"]},"triangle-down":function(b,a,l){return[V,b,a+1.33*l,N,b-l,a-0.67*l,b+l,a-0.67*l,"Z"]},diamond:function(b,a,l){return[V,b,a-l,N,b+l,a,b,a+l,b-l,a,"Z"]},arc:function(b,a,l,e){var d=e.start,c=e.end-1.0E-6,m=e.innerR,f=Da(d),j=ia(d),k=Da(c),c=ia(c),e=e.end-d<xb?0:1;return[V,b+l*f,a+l*j,"A",l,l,0,e,1,b+l*k,a+l*c,N,b+m*k,a+m*c,"A",m,m,0,e,0,b+m*f,a+m*j,"Z"]}},clipPath:function(b){var a=ea+k++,l=this.createElement("clipPath").attr({id:a}).add(this.defs),b=this.createElement("path").attr({d:b,
fill:da}).add(l);b.id=a;b.clipPath=l;return b},clipRect:function(b,a,l,e){var d=ea+k++,c=this.createElement("clipPath").attr({id:d}).add(this.defs),b=this.rect(b,a,l,e,0).add(c);b.id=d;b.clipPath=c;return b},color:function(b,a,l){var e,d=/^rgba/;if(b&&b.linearGradient){var c=this,m="linearGradient",f=b[m],j=ea+k++,x,E,g;x=c.createElement(m).attr({id:j,gradientUnits:"userSpaceOnUse",x1:f[0],y1:f[1],x2:f[2],y2:f[3]}).add(c.defs);c.gradients.push(x);x.stops=[];M(b.stops,function(b){d.test(b[1])?(e=Kb(b[1]),
E=e.get("rgb"),g=e.get("a")):(E=b[1],g=1);b=c.createElement("stop").attr({offset:b[0],"stop-color":E,"stop-opacity":g}).add(x);x.stops.push(b)});return"url('"+this.url+"#"+j+"')"}else if(b&&b.FCcolor){j=b.FCcolor.element;c=this;if(j&&j.parentNode&&!c.forExport)return a.removeAttribute(l+"-opacity"),b.FCcolor.url;var H=ba(b.FCcolor.color,"000000"),u=ba(b.FCcolor.alpha,"100")+"",A,p,v,n=0,Z=100,q=ba(b.FCcolor.ratio,"0");v=F(b.FCcolor.angle,"0");H=H.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");
u=u.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");q=q.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");v%=360;v<0&&(v=360+v);if(b.FCcolor.radialGradient){j=ea+k++;x=c.createElement("radialGradient").attr({id:j,gradientUnits:ba(b.FCcolor.gradientUnits,"userSpaceOnUse"),cx:b.FCcolor.cx,cy:b.FCcolor.cy,r:b.FCcolor.r}).add(c.defs);c.gradients.push(x);x.stops=[];for(m=0;m<H.length&&n<100;m+=1)A=H[m].replace(/^#?/,"#"),Z=p=F(u[m],Z),v=F(q[m],m!==0?(100-n)/(H.length-m):0),n+=v,n>100&&(n=100),c.forExport&&
m===0&&n&&x.stops.push(c.createElement("stop").attr({offset:"0%","stop-color":A,"stop-opacity":p/100}).add(x)),x.stops.push(c.createElement("stop").attr({offset:n+"%","stop-color":A,"stop-opacity":p/100}).add(x));Hb&&H.length===1&&x.stops.push(c.createElement("stop").attr({offset:n+"%","stop-color":A,"stop-opacity":p/100}).add(x));b.FCcolor.element=x.element;b.FCcolor.url="url('"+this.url+"#"+j+"')";a.removeAttribute(l+"-opacity");return b.FCcolor.url}else if(H.length===1)return h(a,l+"-opacity",
F(u[0],100)/100),H[0].replace(/^#?/,"#");else{var y,o,s,t,n=0,m="linearGradient",f=b[m],j=ea+k++;y=Math.tan(v*Math.PI/180);f=Math.round(50-50*y);y=Math.round(50-50/y);y=y<0?0:y;y=y>100?100:y;f=f<0?0:f;f=f>100?100:f;o=100-y;s=100-f;v>90&&v<=270&&(t=f,f=s,s=t);v>180&&v<=360&&(t=y,y=o,o=t);x=c.createElement(m).attr({id:j,gradientUnits:ba(b.FCcolor.gradientUnits,"objectBoundingBox"),x1:ba(b.FCcolor.x1,y+"%"),y1:ba(b.FCcolor.y1,f+"%"),x2:ba(b.FCcolor.x2,o+"%"),y2:ba(b.FCcolor.y2,s+"%")}).add(c.defs);c.gradients.push(x);
x.stops=[];for(m=0;m<H.length&&n<100;m+=1)A=H[m].replace(/^#?/,"#"),Z=p=F(u[m],Z),v=F(q[m],m!==0?(100-n)/(H.length-m):0),n+=v,n>100&&(n=100),x.stops.push(c.createElement("stop").attr({offset:n+"%","stop-color":A,"stop-opacity":p/100}).add(x));Hb&&H.length===1&&x.stops.push(c.createElement("stop").attr({offset:n+"%","stop-color":A,"stop-opacity":p/100}).add(x));b.FCcolor.element=x.element;b.FCcolor.url="url('"+this.url+"#"+j+"')";a.removeAttribute(l+"-opacity");return b.FCcolor.url}}else return d.test(b)?
(e=Kb(b),h(a,l+"-opacity",e.get("a")),e.get("rgb")):(a.removeAttribute(l+"-opacity"),b)},text:function(b,a,l,e,d){var c=Z.chart.style,a=J(q(a,0)),l=J(q(l,0)),b=this.createElement("text").attr({x:a,y:l,text:b}).css({fontFamily:c.fontFamily,fontSize:c.fontSize});b.x=a;b.y=l;b.useHTML=e;b._dx=q(d,3);return b},button:function(){var b=function(b,a,e,d){var r=Fa(b,80),c=Ba(b,80),m=Fa(b,70),f=Fa(b,90),b=Ba(b,70),e=Qa(ba(e,m),F(d,a)),r=r+cb+c,a=a+cb+a;return{commonAttr:{stroke:e,strokeWidth:1},normalState:{fill:{FCcolor:{color:r,
alpha:a,ratio:"0,100",angle:270}}},pressedState:{fill:{FCcolor:{color:r,alpha:a,ratio:"0,100",angle:90}}},hoverState:{fill:{FCcolor:{color:f+cb+b,alpha:a,ratio:"0,100",angle:270}}}}},a=Qa("cccccc",50);return function(l){var e=l.x||0,d=l.y||0,c=l.width||20,m=l.height||10,f=l.padding||2,j=f*2,k=l.text,x=l.symbol,h=l.symbolOptions,g=l.alpha,H=l.style,u=l.callBack,A=l.disabled,p=l.mouseOver,v=l.mouseOut,n=l.mouseDown,Z=l.mouseUp,y=l.pressToggling,q=b(ba(l.color,"cccccc"),F(g,100),l.borderColor,l.borderAlpha),
o=!1,s,t,la,C,va,G;s=this.g("button");k?(t=this.text(k,e,d).attr({align:"center"}).css(H).add(),x=t.getBBox(),c=ka(c,x.width+j),m=ka(m,x.height+j)+2,x=d-x.y+f,t.attr({x:e+(c/2+f),y:d+x})):x&&(j=c/2,k=m/2,f=ka(qb(j,k)-f,2),j+=e,k+=d,t=this.symbol(x,j,k,f,h).attr(h));l=F(l.r,J(qb(m,c)/5));la=this.rect(e,d,c,m,l).attr(q.commonAttr).add(s);t&&t.add(s);C=this.rect(e,d,c,m,l).attr({fill:kb,stroke:kb}).add(s);G=this.rect(e,d,c,m,l).attr({fill:a,stroke:a}).add(s);s.shadow=function(){la.shadow.apply(la,arguments);
return s};s.destroy=function(){la&&la.destroy&&(la.destroy(),delete la);C&&C.destroy&&(C.destroy(),delete C);G&&G.destroy&&(G.destroy(),delete G);t&&t.destroy&&(t.destroy(),delete t);s&&s.destroy&&(s.destroy(),delete s)};s.press=function(b){y&&(b?la.attr(q.pressedState):la.attr(va),o=b)};s.disable=function(b){b?(C.hide(),G.show()):(C.show(),G.hide())};s.disable(A);va=q.normalState;la.attr(va);C.on("mouseover",function(b){va=q.hoverState;!o&&la.attr(va);p&&p(b)});C.on("mouseout",function(b){va=q.normalState;
!o&&la.attr(va);v&&v(b)});C.on(E?"touchstart":"mousedown",function(b){y?s.press(!o):la.attr(q.pressedState);n&&n(b)});C.on(E?"touchend":"mouseup",function(b){!y&&la.attr(va);Z&&Z(b)});C.on(E?"touchstart":"click",u);s._conf={x:e,y:d,width:c,height:m};return s}}()};x=pc;var dc;if(!f){var Jc=C(Y,{init:function(b,a){var l=["<",a,' filled="f" stroked="f"'],d=["position: ",Ja,";"];(a==="shape"||a===va)&&d.push("left:0;top:0;width:10px;height:10px;");e&&d.push("visibility: ",a===va?G:jb);l.push(' style="',
d.join(""),'"/>');if(a)l=a===va||a==="span"||a==="img"?l.join(""):b.prepVML(l),this.element=P(l);this.renderer=b},add:function(b){var a=this.renderer,l=this.element,d=a.box,d=b?b.element||b:d;b&&b.inverted&&a.invertChild(l,d);e&&d.gVis===G&&W(l,{visibility:G});d.appendChild(l);this.added=!0;this.alignOnAdd&&this.updateTransform();return this},attr:function(b,d){var l,c,m,f,j,k=this.element||{},x=k.style,E=k.nodeName,g=this.renderer,H=this.symbolName,u,A,p=this.shadows,v=this;T(b)&&a(d)&&(l=b,b={},
b[l]=d);if(T(b))l=b,v=l==="strokeWidth"||l==="stroke-width"?this.strokeweight:this[l];else for(l in b){c=b[l];u=!1;if(H&&/^(x|y|r|start|end|width|height|innerR)/.test(l))A||(this.symbolAttr(b),A=!0),u=!0;else if(l==="d"){c=c||[];this.d=c.join(" ");m=c.length;for(u=[];m--;)u[m]=isNaN(c[m])?Jb[c[m]]||c[m]:J(c[m]*10)-5;c=u.join(" ")||"x";k.path=c;if(p)for(m=p.length;m--;)p[m].path=c;u=!0}else if(l==="zIndex"||l==="visibility"){if(e&&l==="visibility")if(k.gVis=c,E==="DIV"){u=k.childNodes;for(m=u.length;m--;)u[m].gVis!==
G&&W(u[m],{visibility:c});c===jb&&(c=null)}else k.parentNode&&k.parentNode.gVis===G&&(c=null);if(c||c===jb)x[l]=c;u=!0}else if(/^(width|height)$/.test(l))this[l]=c,this.updateClipping?(this[l]=c,this.updateClipping()):x[l]=c,u=!0;else if(/^(x|y)$/.test(l))this[l]=c,this.updateClipping?(this[{x:"left",y:"top"}[l]]=c,this.updateClipping()):k.tagName==="SPAN"?this.updateTransform():x[{x:"left",y:"top"}[l]]=c,u=!0;else if(l==="class")k.className=c;else if(l==="stroke")c=g.color(c,k,l),l="strokecolor";
else if(l==="stroke-width"||l==="strokeWidth")k.stroked=c?!0:!1,l="strokeweight",this[l]=c,Ka(c)&&(c+=Aa);else if(l==="stroke-linecap"||l==="strokeLinecap")this[l]=c,l="endcap",c=c==="butt"?"flat":c||"flat",f=k.getElementsByTagName("stroke")[0]||P(g.prepVML(["<stroke/>"]),null,null,k),f[l]=c,u=!0;else if(l==="dashstyle")f=k.getElementsByTagName("stroke")[0]||P(g.prepVML(["<stroke/>"]),null,null,k),f[l]=c||"solid",this.dashstyle=c,u=!0;else if(l==="fill")E==="SPAN"?x.color=c:(k.filled=c!==da?!0:!1,
c=g.color(c,k,l),l="fillcolor");else if(l==="translateX"||l==="translateY"||l==="rotation"||l==="align")l==="align"&&(l="textAlign"),this[l]=c,this.updateTransform(),u=!0;else if(l==="text")this.bBox=null,this.textStr=c,k.innerHTML=c,u=!0;if(p)if(l==="visibility")for(m=p.length;m--;)p[m].style[l]=c;else if(l==="opacity"||l==="stroke-opacity"){j=6*c;m=0;for(f=p.length;m<f;)h(p[m],l,(m+=1)*j)}else if(l==="dashstyle")for(m=p.length;m--;)f=p[m].getElementsByTagName("stroke")[0]||P(g.prepVML(["<stroke/>"]),
null,null,p[m]),f[l]=c||"solid",p[m].dashstyle=c;u||(e?k[l]=c:h(k,l,c))}return v},clip:function(b){var a=this,l=b.members;l.push(a);a.destroyClip=function(){I(l,a)};return a.css(b.getCSS(a.inverted))},css:function(b){var a=this.element;if(a=b&&a.tagName==="SPAN"&&b.width)delete b.width,this.textWidth=a,this.updateTransform();this.styles=g(this.styles,b);W(this.element,b);return this},safeRemoveChild:function(b){b.parentNode&&bb(b)},destroy:function(){this.destroyClip&&this.destroyClip();return Y.prototype.destroy.apply(this)},
empty:function(){for(var b=this.element.childNodes,a=b.length,l;a--;)l=b[a],l.parentNode.removeChild(l)},getBBox:function(){var b=this.element,a=this.bBox;if(!a){if(b.nodeName==="text")b.style.position=Ja;a=this.bBox={x:b.offsetLeft,y:b.offsetTop,width:b.offsetWidth,height:b.offsetHeight}}return a},on:function(b,a){this.element["on"+b]=function(){var b=db.event;b.target=b.srcElement;a(b)};return this},updateTransform:function(){if(this.added){var b=this,e=b.element,l=b.translateX||0,d=b.translateY||
0,c=b.x||0,m=b.y||0,f=b.textAlign||"left",j={left:0,center:0.5,right:1}[f],k=f&&f!=="left";(l||d)&&b.css({marginLeft:l,marginTop:d});b.inverted&&M(e.childNodes,function(a){b.renderer.invertChild(a,e)});if(e.tagName==="SPAN"){var x,h,l=b.rotation,E;x=0;var d=1,g=0,H;E=D(b.textWidth);var u=b.xCorr||0,p=b.yCorr||0,A=[l,f,e.innerHTML,b.textWidth].join(",");if(A!==b.cTT)a(l)&&(x=l*Fb,d=Da(x),g=ia(x),W(e,{filter:l?["progid:DXImageTransform.Microsoft.Matrix(M11=",d,", M12=",-g,", M21=",g,", M22=",d,", sizingMethod='auto expand')"].join(""):
da})),x=e.offsetWidth,h=e.offsetHeight,x>E&&(W(e,{width:E+Aa,display:"block",whiteSpace:"normal"}),x=E),E=J((D(e.style.fontSize)||12)*1.2),u=d<0&&-x,p=g<0&&-h,H=d*g<0,u+=g*E*(H?1-j:j),p-=d*E*(l?H?j:1-j:1),k&&(u-=x*j*(d<0?-1:1),l&&(p-=h*j*(g<0?-1:1)),W(e,{textAlign:f})),b.xCorr=u,b.yCorr=p;W(e,{left:c+u,top:m+p});b.cTT=A}}else this.alignOnAdd=!0},scale:function(b,a){b||(b=1);a||(a=b);if(b||a)h(this.element,{coordsize:this.coordsize=100/b+","+100/a});this.fx=b;this.fy=a;return this},rotate:function(b){var e=
this.element;a(b)&&W(e,{rotation:Number(b),left:0,top:0})},shadow:function(b,a,l){l||(l={});var e=[],d=this.element,c=this.renderer,m,f=d.style,j,k=d.path,x=l.color||"black",E=D(this.attr("stroke-width")||1,10)+6,g=ba(l.opacity,1)*0.06,l=!this.parentInverted!=!l.inverted?-1:1;k&&typeof k.value!=="string"&&(k="x");if(b){for(b=1;b<=3;b++)j=['<shape isShadow="true" strokeweight="',E-2*b,'" filled="false" path="',k,'" coordsize="'+(this.coordsize||"100,100")+'" style="',f.cssText,'" />'],m=P(c.prepVML(j),
null,{left:D(f.left)+l,top:D(f.top)+l}),j=['<stroke endcap="round" color="',x,'" opacity="',g*b,'" dashStyle="',this.dashstyle,'"/>'],P(c.prepVML(j),null,null,m),a?a.element.appendChild(m):d.parentNode.insertBefore(m,d),h(m,{visibility:"hidden"}),e.push(m);this.shadows=e}return this},textBound:function(){var b=this.styles;if(this.element.nodeName.toLowerCase()==="span"&&b&&(b.backgroundColor||b.borderColor)&&this.element.innerHTML=="")return W(this.element,{backgroundColor:Eb,borderColor:Eb,border:Eb}),
this;b&&ba(b.backgroundOpacity)!==void 0&&this.css({opacity:b.backgroundOpacity});return this}});dc=function(){this.init.apply(this,arguments)};dc.prototype=ha(pc.prototype,{Element:Jc,isIE8:Gb.indexOf("MSIE 8.0")>-1,type:"VML",init:function(b,a,l){var e;this.alignedObjects=[];e=this.createElement(va);b.appendChild(e.element);this.box=e.element;this.boxWrapper=e;this.setSize(a,l,!1);if(!na.namespaces.hcv)na.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),na.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "},
clipRect:function(b,a,l,d){var c=this.createElement();return g(c,{members:[],left:b,top:a,width:l,height:d,getCSS:function(b){var a=this.top,l=this.left,d=l+this.width,c=a+this.height,a={clip:"rect("+J(b?l:a)+"px,"+J(b?c:d)+"px,"+J(b?d:c)+"px,"+J(b?a:l)+"px)"};!b&&e&&g(a,{width:(d<0?0:d)+Aa,height:(c<0?0:c)+Aa});return a},updateClipping:function(){M(c.members,function(b){b.css(c.getCSS(b.inverted))})}})},getArcPath:function(b,a,l,e,d,c,m,f,j,k){return k||Ra(l-d)>=1||Ra(e-c)>=1?[j?"WA":"AT",b-m,a-
f,b+m,a+f,l,e,d,c]:[N,d,c]},color:function(b,a,l){var e,d=/^rgba/;if(b&&b.linearGradient){var c,m,f=b.linearGradient,j,k,x,h;M(b.stops,function(b,a){d.test(b[1])?(e=Kb(b[1]),c=e.get("rgb"),m=e.get("a")):(c=b[1],m=1);a?(x=c,h=m):(j=c,k=m)});b=90-Ha.atan((f[3]-f[1])/(f[2]-f[0]))*180/xb;l=["<",l,' colors="0% ',j,",100% ",x,'" angle="',b,'" opacity="',h,'" o:opacity2="',k,'" type="gradient" focus="100%" />'];P(this.prepVML(l),null,null,a)}else if(b&&b.FCcolor){var f=ba(b.FCcolor.color,"000000"),E=ba(b.FCcolor.alpha,
"100")+"",g=ba(b.FCcolor.ratio,"0"),H=F(b.FCcolor.angle,"0"),u=100,f=f.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(","),E=E.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(","),g=g.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");H-=90;H*=-1;H%=360;H<0&&(H=360+H);if(f.length===1)return l=["<",l,' opacity="',F(E[0],100)/100,'"/>'],P(this.prepVML(l),null,null,a),f[0].replace(/^#?/,"#");else{var p,A,v,n,Z=0,y="",q=!0;j=f[0].replace(/^#?/,"#");k=F(E[0],100)/100;for(p=0;p<f.length&&Z<100;p+=1)A=f[p].replace(/^#?/,
"#"),u=v=F(E[p],u),n=F(g[p],p!==0?(100-Z)/(f.length-p):0),Z+=n,Z>100&&(Z=100),q&&(Z>0&&(y+="0% "+A+","),q=!1),y+=Z+"% "+A+",";Z<100&&(y+="100% "+A+",");x=A;h=v/100;if(b.FCcolor.radialGradient)if(b.FCcolor.gradientUnits!=="objectBoundingBox")return l=["<",l,' opacity="',F(b.FCcolor.defaultAlpha,E[0],100)/100,'"/>'],P(this.prepVML(l),null,null,a),ba(b.FCcolor.defaultColor,f[0],"000000").replace(/^#?/,"#");else l=["<",l,' colors="',y,'" color="',j,'" color2="',x,'" focusposition="',b.FCcolor.cx+","+
b.FCcolor.cy,'" opacity="',h,'" o:opacity2="',k,'" type="gradientTitle" focus="100%" />'];else l=["<",l,' colors="',y,'" angle="',H,'" color="',j,'" color2="',x,'" opacity="',h,'" o:opacity2="',k,'" type="gradient" focus="100%" />'];P(this.prepVML(l),null,null,a)}}else return d.test(b)&&a.tagName!=="IMG"?(e=Kb(b),l=["<",l,' opacity="',e.get("a"),'"/>'],P(this.prepVML(l),null,null,a),e.get("rgb")):b},prepVML:function(b){var a=this.isIE8,b=b.join("");a?(b=b.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),
b=b.indexOf('style="')===-1?b.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):b.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):b=b.replace("<","<hcv:");return b},text:function(b,a,l,e,d){e=Z.chart.style;b=this.createElement("span").attr({text:b,x:J(a),y:J(l)}).css({whiteSpace:"nowrap",fontFamily:e.fontFamily,fontSize:e.fontSize});b._dx=q(d,3);return b},path:function(b){return this.createElement("shape").attr({coordsize:"100 100",d:b})},circle:function(b,
a,l){return this.symbol("circle").attr({x:b,y:a,r:$b(l,1)})},g:function(b){var a;b&&(a={className:ea+b,"class":ea+b});return this.createElement(va).attr(a)},image:function(b,a,l,e,d){var c=this.createElement("img").attr({src:b});arguments.length>1&&c.css({left:a,top:l,width:e,height:d});return c},rect:function(b,a,l,e,d,c){if(t(b))a=b.y,l=b.width,e=b.height,d=b.r,c=b.strokeWidth,b=b.x;var m=this.symbol("rect");m.r=d;return m.attr(m.crisp(c,b,a,ka(l,0),ka(e,0)))},invertChild:function(b,a){var l=a.style;
W(b,{flip:"x",left:D(l.width)-10,top:D(l.height)-10,rotation:-90})},symbols:{arc:function(b,a,l,e){var d=e.start,c=e.end,m=Da(d),f=ia(d),j=Da(c),k=ia(c),x=(e=e.innerR)&&0.1/e||0;if(c-d===0)return["x"];else 2*xb-c+d<0.07/l?(c=d+2*xb-0.0010,j=Da(c),k=ia(c)):c-d<x&&(j=Da(d+x));return["wa",b-l,a-l,b+l,a+l,b+l*m,a+l*f,b+l*j,a+l*k,"at",b-e,a-e,b+e,a+e,b+e*j,a+e*k,b+e*m,a+e*f,"x","e"]},circle:function(b,a,e){return["wa",b-e,a-e,b+e,a+e,b+e,a,b+e,a,"e"]},rect:function(b,e,l,d){if(!a(d))return[];var c=d.width,
d=d.height,m=b+c,f=e+d,l=qb(l,c,d);return[V,b+l,e,N,m-l,e,"wa",m-2*l,e,m,e+2*l,m-l,e,m,e+l,N,m,f-l,"wa",m-2*l,f-2*l,m,f,m,f-l,m-l,f,N,b+l,f,"wa",b,f-2*l,b+2*l,f,b+l,f,b,f-l,N,b,e+l,"wa",b,e,b+2*l,e+2*l,b,e+l,b+l,e,"x","e"]}}});x=dc}vb.prototype.callbacks=[];var Zb=function(){};Zb.prototype={init:function(b,a){var e=b.chart.counters,d;this.series=b;this.applyOptions(a);this.pointAttr={};this.index=b.pointCount;if(b.options.colorByPoint){d=b.chart.options.colors;if(!this.options)this.options={};this.color=
this.options.color=this.color||d[e.color++];e.wrapColor(d.length)}b.chart.pointCount++;b.pointCount++;return this},applyOptions:function(b){var a=this.series;this.config=b;if(Ka(b)||b===null)this.y=b;else if(t(b)&&!Ka(b.length))g(this,b),this.options=b;else if(T(b[0]))this.name=b[0],this.y=b[1];else if(Ka(b[0]))this.x=b[0],this.y=b[1];if(this.x===Ea)this.x=a.autoIncrement()},destroy:function(){var b=this,a=b.series,e=a.chart.hoverPoints,d;a.chart.pointCount--;e&&(b.setState(),I(e,b));if(b===a.chart.hoverPoint)b.onMouseOut();
ra(b);M(["graphic","tracker","group","dataLabel","connector","shadowGroup"],function(a){b[a]&&b[a].destroy()});b.legendItem&&b.series.chart.legend.destroyItem(b);for(d in b)b[d]=null},getLabelConfig:function(){return{x:this.category,y:this.y,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},select:function(b,a){var e=this,d=e.series.chart,b=q(b,!e.selected);e.firePointEvent(b?"select":"unselect",{accumulate:a},function(){e.selected=b;e.setState(b&&"select");
a||M(d.getSelectedPoints(),function(b){if(b.selected&&b!==e)b.selected=!1,b.setState(""),b.firePointEvent("unselect")})})},onMouseOver:function(){var b=this.series.chart,a=b.tooltip,e=b.hoverPoint;if(e&&e!==this)e.onMouseOut();this.firePointEvent("mouseOver");a&&!a.shared&&a.refresh(this);this.link!==void 0&&this.series.tracker&&this.series.tracker.css({cursor:"pointer",_cursor:"hand"});this.setState(Pb);b.hoverPoint=this},onMouseOut:function(){this.firePointEvent("mouseOut");this.setState();this.series.chart.hoverPoint=
null;this.link!==void 0&&this.series.tracker&&this.series.tracker.css({cursor:"auto",_cursor:"auto"})},tooltipFormatter:function(b){var a=this.series;return['<span style="color:'+a.color+'">',this.name||a.name,"</span>: ",!b?"<b>x = "+(this.name||this.x)+",</b> ":"","<b>",!b?"y = ":"",this.y,"</b>"].join("")},update:function(b,a,e){var d=this,c=d.series,m=d.graphic,f=c.chart,a=q(a,!0);d.firePointEvent("update",{options:b},function(){d.applyOptions(b);t(b)&&(c.getAttribs(),m&&m.attr(d.pointAttr[c.state]));
c.isDirty=!0;a&&f.redraw(e)})},remove:function(b,a){var e=this,d=e.series,c=d.chart,m=d.data;Bb(a,c);b=q(b,!0);e.firePointEvent("remove",null,function(){I(m,e);e.destroy();d.isDirty=!0;b&&c.redraw()})},firePointEvent:function(b,a,e){var d=this,c=this.series.options;(c.point.events[b]||d.options&&d.options.events&&d.options.events[b])&&this.importEvents();b==="click"&&c.allowPointSelect&&(e=function(b){d.graphic&&d.graphic.parentNode&&d.select(null,b.ctrlKey||b.metaKey||b.shiftKey)});xa(this,b,a,e)},
importEvents:function(){if(!this.hasImportedEvents){var b=ha(this.series.options.point,this.options).events,a;this.events=b;for(a in b)sa(this,a,b[a]);this.hasImportedEvents=!0}},setState:function(b){var a=this.series,e=a.options.states,d=Ua[a.type].marker&&a.options.marker,c=d&&!d.enabled,m=(d=d&&d.states[b])&&d.enabled===!1,f=a.stateMarkerGraphic,j=a.chart,k=this.pointAttr,b=b||"";if(!(b===this.state||this.selected&&b!=="select"||e[b]&&e[b].enabled===!1||b&&(m||c&&!d.enabled))){if(this.graphic)this.graphic.attr(k[b]);
else{if(b){if(!f)a.stateMarkerGraphic=f=j.renderer.circle(0,0,k[b].r).attr(k[b]).add(a.group);f.translate(this.plotX,this.plotY)}if(f)f[b?"show":"hide"]()}this.state=b}}};var ub=function(){};ub.prototype={isCartesian:!0,type:"line",pointClass:Zb,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},init:function(b,a){var e,d;d=b.series.length;this.chart=b;a=this.setOptions(a);g(this,{index:d,options:a,pointCount:0,name:ba(a.name)===void 0?"":a.name,state:"",
pointAttr:{},visible:a.visible!==!1,selected:a.selected===!0});d=a.events;for(e in d)sa(this,e,d[e]);if(d&&d.click||a.point&&a.point.events&&a.point.events.click||a.allowPointSelect)b.runTrackerClick=!0;this.getColor();this.getSymbol();this.setData(a.data,!1)},autoIncrement:function(){var b=this.options,a=this.xIncrement,a=q(a,b.pointStart,0);this.pointInterval=q(this.pointInterval,b.pointInterval,1);this.xIncrement=a+this.pointInterval;return a},cleanData:function(){var b=this.chart,a=this.data,
e,d,c=b.smallestInterval,m,f;Q(a,function(b,a){return b.x-a.x});if(this.options.connectNulls)for(f=a.length-1;f>=0;f--)a[f].y===null&&a[f-1]&&a[f+1]&&a.splice(f,1);for(f=a.length-1;f>=0;f--)if(a[f-1]&&(m=a[f].x-a[f-1].x,m>0&&(d===Ea||m<d)))d=m,e=f;if(c===Ea||d<c)b.smallestInterval=d;this.closestPoints=e},getSegments:function(){var b=this.data,a=[],e=-1;this.options.connectNullData?(M(b,function(e,d){typeof e.y=="number"&&a.push(b[d])}),a=[a]):M(b,function(d,c){typeof d.y!="number"?(c>e+1&&a.push(b.slice(e+
1,c)),e=c):c==b.length-1&&a.push(b.slice(e+1,c+1))});this.segments=a},setOptions:function(b){var a=this.chart.options.plotOptions;return ha(a[this.type],a.series,b)},getColor:function(){var b=this.chart.options.colors,a=this.chart.counters;this.color=this.options.color||b[a.color++]||"#0000ff";a.wrapColor(b.length)},getSymbol:function(){var b=this.chart.options.symbols,a=this.chart.counters;this.symbol=this.options.marker.symbol||b[a.symbol++];a.wrapSymbol(b.length)},addPoint:function(b,a,e,d){var c=
this.data,m=this.graph,f=this.area,j=this.chart,b=(new this.pointClass).init(this,b);Bb(d,j);if(m&&e)m.shift=e;if(f)f.shift=e,f.isArea=!0;a=q(a,!0);c.push(b);e&&c[0].remove(!1);this.getAttribs();this.isDirty=!0;a&&j.redraw()},setData:function(b,e){var d=this,c=d.data,m=d.initialColor,f=d.chart,j=c&&c.length||0;d.xIncrement=null;if(a(m))f.counters.color=m;for(b=qa(K(b||[]),function(b){return(new d.pointClass).init(d,b)});j--;)c[j].destroy();d.data=b;d.cleanData();d.getSegments();d.getAttribs();d.isDirty=
!0;f.isDirtyBox=!0;q(e,!0)&&f.redraw(!1)},remove:function(b,a){var e=this,d=e.chart,b=q(b,!0);if(!e.isRemoving)e.isRemoving=!0,xa(e,"remove",null,function(){e.destroy();d.isDirtyLegend=d.isDirtyBox=!0;b&&d.redraw(a)});e.isRemoving=!1},translate:function(){for(var b=this.chart,e=this.options.stacking,d=this.xAxis.categories,c=this.yAxis,m=this.data,f=m.length;f--;){var j=m[f],k=j.x,x=j.y,h=j.low,E=c.stacks[(x<0?"-":"")+this.stackKey];j.plotX=this.xAxis.translate(k);if(e&&E&&E[k]){var k=E[k],E=k.total,
g=c.options.min,h=k.cum;k.cum+=x;x=ka(g,h+x);h=ka(g,h);e==="percent"&&(h=E?h*100/E:0,x=E?x*100/E:0);j.percentage=E?j.y*100/E:0;j.stackTotal=E}if(a(h))j.yBottom=c.translate(h,0,1,0,1);if(x!==null)j.plotY=c.translate(x,0,1,0,1);j.clientX=b.inverted?b.plotHeight-j.plotX:j.plotX;j.category=d&&d[j.x]!==Ea?d[j.x]:j.x}},setTooltipPoints:function(b){var a=this.chart,e=a.inverted,d=[],c=J((e?a.plotTop:a.plotLeft)+a.plotSizeX),m,f,j=[];if(b)this.tooltipPoints=null;M(this.segments,function(b){d=d.concat(b)});
this.xAxis&&this.xAxis.reversed&&(d=d.reverse());M(d,function(b,a){m=d[a-1]?d[a-1]._high+1:0;for(f=b._high=d[a+1]?wb((b.plotX+(d[a+1]?d[a+1].plotX:c))/2):wb(b.plotX+30);m<=f;)j[e?c-m++:m++]=b});this.tooltipPoints=j},onMouseOver:function(){var b=this.chart,a=b.hoverSeries;if(E||!b.mouseIsDown){if(a&&a!==this)a.onMouseOut();this.options.events.mouseOver&&xa(this,"mouseOver");this.tracker&&this.tracker.toFront();this.setState(Pb);b.hoverSeries=this}},onMouseOut:function(){var b=this.options,a=this.chart,
e=a.tooltip,d=a.hoverPoint;if(d)d.onMouseOut();this&&b.events.mouseOut&&xa(this,"mouseOut");e&&!b.stickyTracking&&e.hide();this.setState();a.hoverSeries=null},animate:function(b){var a=this.clipRect,e=this.options.animation;e&&!t(e)&&(e={});if(b){if(!a.animationInit)a.attr({width:0}),a.animationInit=!0}else{if(!a.isAnimating)a.animate({width:a.cliprectW},e),a.isAnimating=!0;this.animate=null}},drawPoints:function(){var b,a=this.data,e=this.chart,d,c,m,f,j,k,x;if(this.options.marker.enabled)for(m=
a.length;m--;)if(f=a[m],d=f.plotX,c=f.plotY,x=f.graphic,c!==Ea&&!isNaN(c))b=f.pointAttr[f.selected?"select":""],j=b.r,k=(f.marker&&f.marker.startAngle||90)*Fb,x?x.animate({x:d,y:c,r:j}):f.graphic=e.renderer.symbol(q(f.marker&&f.marker.symbol,this.symbol),d,c,j,{startAngle:k}).attr(b).add(this.group)},convertAttribs:function(b,a,e,d){var c=this.pointAttrToOptions,m,f,j={},b=b||{},a=a||{},e=e||{},d=d||{};for(m in c)f=c[m],j[m]=q(b[f],a[m],e[m],d[m]);return j},getAttribs:function(){var b=this,e=Ua[b.type].marker?
b.options.marker:b.options,d=e.states,c=d[Pb],m,f=b.color,j={stroke:f,fill:f},k=b.data,x=[],h,E=b.pointAttrToOptions,g;b.options.marker?(c.radius=c.radius||e.radius+2,c.lineWidth=c.lineWidth||e.lineWidth+1):c.color=c.color||Kb(c.color||f).brighten(c.brightness).get();x[""]=b.convertAttribs(e,j);M([Pb,"select"],function(a){x[a]=b.convertAttribs(d[a],x[""])});b.pointAttr=x;for(f=k.length;f--;){j=k[f];if((e=j.options&&j.options.marker||j.options)&&e.enabled===!1)e.radius=0;m=!1;if(j.options)for(g in E)a(e[E[g]])&&
(m=!0);if(m){h=[];d=e.states||{};m=d[Pb]=d[Pb]||{};if(!b.options.marker)m.color=Kb(m.color||j.options.color).brighten(m.brightness||c.brightness).get();h[""]=b.convertAttribs(e,x[""]);h[Pb]=b.convertAttribs(d[Pb],x[Pb],h[""]);h.select=b.convertAttribs(d.select,x.select,h[""])}else h=x;j.pointAttr=h}},destroy:function(){var b=this,a=b.chart,e=b.clipRect,d=/\/5[0-9\.]+ (Safari|Mobile)\//.test(Gb),c,m;xa(b,"destroy");ra(b);b.legendItem&&b.chart.legend.destroyItem(b);M(b.data,function(b){b.destroy()});
b.graphLine&&M(b.graphLine,function(b){b.destroy()});if(e&&e!==a.clipRect)b.clipRect=e.destroy();M(["area","graph","dataLabelsGroup","group","tracker"],function(a){b[a]&&(c=d&&a==="group"?"hide":"destroy",b[a][c]())});if(a.hoverSeries===b)a.hoverSeries=null;I(a.series,b);for(m in b)delete b[m]},drawDataLabels:function(){if(this.options.dataLabels.enabled){var b,e,d=this.data,c=this.options,m=c.dataLabels,f,j=this.dataLabelsGroup,k=this.chart,x=k.renderer,h=k.options.chart,E=k.options[S],g=k.inverted,
H=this.type,u=c.stacking,p=/^(column|column3d|bar|bar3d|floatedcolumn|dragcolumn)$/.test(H),A=m.verticalAlign===null,v=m.y===null,n=k.plotWidth,Z=k.plotHeight,y=x.smartLabel||E.smartLabel,s,t,la,C,va,La,P,z,ea,Ea=/^(line|area|stepzoom|dragline|dragarea|spline)$/.test(H),N=this.depthYDisplacement||0,I=this.depthXDisplacement||0,Ja,V=m.style.fontSize.replace(/px/,""),mb=x.box.nodeName=="svg"&&!u?2:0,R,L,B=!1,da=h.valuePadding,K=2+da,Q=H=="floatedcolumn",U=k.options.chart.usePerPointLabelColor,ja=c.stacking?
0.95:0.7,Aa,kb,X,ga,ba,qa;y.setStyle(m.style);if(p)s=h.placeValuesInside,u?(A&&(m=ha(m,{verticalAlign:"middle"})),v&&(m=ha(m,{y:{top:14,middle:4,bottom:-6}[m.verticalAlign]})),m.align="center"):A&&(m=ha(m,{verticalAlign:"top"}));if(!/^(bar|pie|bar3d)$/.test(H))m.rotation=C=h.rotateValues==1?270:void 0;j?j.translate(k.plotLeft,k.plotTop):(j=this.dataLabelsGroup=x.g("data-labels").attr({visibility:this.visible?jb:G,zIndex:6}).translate(k.plotLeft,k.plotTop).add(),k.options.chart.hasScroll&&j.clip(this.clipRect));
k=m.color;k==="auto"&&(k=null);m.style.color=q(k,this.color,"black");M(d,function(k,h){var E=k.barX,A=E&&E+k.barW/2||(k.plotX!=null?k.plotX:-999),za=q(k.plotY,-999),$=k.dataLabel,G=m.align,M=v?k.y>=0?-6:12:m.y;z=m.formatter.call(k.getLabelConfig());if(z!=null){Q&&(za=F(k.barY,za));P=y.getOriSize(z,void 0,void 0,!1);f=P.text;ba=V*ja-P.height*0.5;b=(g?n-za:A)+m.x+(C?ba:0);e=(g?Z-A:za)+M;ea=void 0;R=o(k.valuePosition,"auto").toLowerCase();if(Ea)switch(R){case "above":s=0;break;case "below":s=1;break;
default:L=d[h-1],s=(L&&L.plotY)<k.plotY?1:0}k._valueBelowPoint=s;B=k.y<0;A=Number(Q?k.barY:k.plotY);if(C){G="left";M=B?-4-da:M+2-da;la=P.width-M;t=P.height-M;Ja=P.width;va=F(k.barH,Z-A);La=A;if(la<=La){e=La+M;if(B){e=za-M+N;G="right";if(s&&va>la||la>Z-za)e=za+M+N,G="left";b+=I}s&&!B&&k.y!=0&&la<=va&&(G=B?"center":"right",e=La-M+N,b+=I)}else la<=va?(G="right",e=La-M+N,b+=I,B&&(e=La-M+N)):(e=La+M,ea=La,va>La&&Q&&(e=Z+N,b+=I,ea=va),e<Ja&&(e=0,G="right"));b+=V/2-mb}else M=B?-4-da:M+2-da,t=P.width+K,la=
V-M,Ja=V,va=Z-A,La=A,/^(bar|bar3d)$/.test(H)?(e-=mb,va=k.barH,La=n-k.barH,B?(La=n-A,s&&va>t||t>La&&va>t?(b=La+da+2+I,e+=N):t<La?(b=La-(da+2)+I,e+=N,G="right"):(b=6,G="left")):(La=A,s&&va>t||t>La&&va>t?(b=n-La-(da+2)+I,G="right",e+=N):t<La?b=n-La+(da+2):(b=n-6,e+=N,G="right")),b<0&&(b=6,G="left"),b>n&&(b=n-6,G="right")):(B?(La=F(k.barH,A),e=s&&La>la||la>va?za+M+N:za+la+N,b+=I):(va=F(k.barH,Z-A),s&&va>=la&&k.y!=0||la>La?(e=za+la+N,b+=I):e=za+M,H=="bubble"&&(e=za-M/2)),e>Z&&(e=Z),e<0&&(e=Ja));G=u?"center":
G;if(ea)P=y.getOriSize(z,ea,void 0,!0),f=P.text;if($)g&&!m.y&&(e=e+D($.styles.lineHeight)*0.9-$.getBBox().height/2),$.attr({text:f}).animate({x:b,y:e});else if(a(f)&&($=k.dataLabel=x.text(f,b,e).attr({align:G,rotation:m.rotation,zIndex:1}).css(m.style).add(j),U&&k.color&&k.color.FCcolor&&k.color.FCcolor.color&&k.color.FCcolor.color.toString&&$.css({color:"#"+k.color.FCcolor.color.split(",")[0].replace(eb,Eb)}),g&&!m.y&&$.attr({y:e+D($.styles.lineHeight)*0.9-$.getBBox().height/2}),p&&c.stacking&&$))za=
k.barY,G=k.barW,M=k.barH,C?qa=0:(qa=ba,ba=0),g?(Aa=n-za-M,kb=Z-E-G+N+qa,X=M,ga=G):(Aa=E+I+ba,kb=za+qa,X=G,ga=M),$.align(m,null,{x:Aa,y:kb,width:X,height:ga})}})}},drawGraph:function(){var b=this,a=b.options,e=[],d=b.area,c=b.group,m=a.lineColor||b.color,f=a.lineWidth,j=a.dashStyle,k=b.chart.renderer,x=b.yAxis.getThreshold(a.threshold||0),h=/^area|dragarea/.test(b.type),E=[],g=[],H=[],u,A=0,p=[],v=b.shadowGroup,n=b.data,Z=a.step,y=a.drawVerticalJoins,s=a.useForwardSteps,t,o,la,C;if(!v&&a.shadow)v=
b.shadowGroup=k.g("shadow").add(c),v.floated=!0;M(b.segments,function(d,c){!c&&(o=[]);M(d,function(a,e){var c;if(b.getPointSpline)o.push.apply(o,b.getPointSpline(d,a,e)),la=b.getPointSpline(d,a,e),la[0]=="C"?(c=d[e-1],a.segmentPath=p.concat(la),H.push(c.config),A++,p=[V].concat(la.slice(la.length-2))):p=la;else{o.push(e?N:V);e&&Z&&(c=d[e-1],o.push(a.plotX,c.plotY));if(e)c=d[e-1],a.segmentPath=[],Z?s?(a.segmentPath.push(V,c.plotX,c.plotY,N,a.plotX,c.plotY),y&&a.segmentPath.push(a.plotX,a.plotY)):y?
a.segmentPath.push(V,c.plotX,c.plotY,N,c.plotX,a.plotY,a.plotX,a.plotY):a.segmentPath.push(V,c.plotX,a.plotY,N,a.plotX,a.plotY):a.segmentPath.push(V,c.plotX,c.plotY,N,a.plotX,a.plotY),H.push(c.config),A++;o.push(a.plotX,a.plotY);a.segmentPathIndex=o.length}});d.length>1?e=e.concat(o):d.length&&E.push(d[0]);if(h){var m=[],f,j=o.length;for(f=0;f<j;f++)m.push(o[f]);j===3&&m.push(N,o[1],o[2]);if(a.stacking&&b.type!=="areaspline")for(f=d.length-1;f>=0;f--)m.push(d[f].plotX,d[f].yBottom);else d.length>
0&&m.push(N,d[d.length-1].plotX,x,N,d[0].plotX,x);g=g.concat(m)}});if(h){var va=[];M(n,function(e){var d=[],e=e.segmentPath,c,l;if(e){l=e.length;for(c=0;c<l;c++)d.push(e[c]);a.stacking&&b.type!=="areaspline"||d.push(N,e[e.length-2],x,N,e[1],x);va.push(d)}})}b.graphPath=e;b.singlePoints=E;if(h)t=q(a.fillColor,Kb(b.color).setOpacity(a.fillOpacity||0.75).get()),d?d.animate({d:g}):b.area=b.chart.renderer.path(g).attr({fill:t}).add(c);var G;if(h||b.getPointSpline)if(G=b.graphLine,C={stroke:m,"stroke-width":f,
"stroke-linecap":"round","stroke-linejoin":"round",dashstyle:j},G)G.animate({d:o});else{if(f)u=H,b.graphLine=k.path(o).attr(C).add(c).shadow(a.shadow,v,a.shadow)}else{if(!b.graphLine)b.graphLine=[];M(n,function(b,e){var d=n[e-1],l=b.segmentPath;if(G=b.graphLine)G.animate({d:l});else if(f)u=d&&d.config||{},C={stroke:ba(u.color,m),"stroke-width":f,"stroke-linecap":"round",dashstyle:ba(u.dashStyle,j)},b.graphLine=k.path(l).attr(C).add(c).shadow(a.shadow,v,u.shadow)})}},render:function(){var b=this,a=
b.chart,e,d,c=b.options,m=c.animation,f=m&&b.animate,m=f?m&&m.duration||500:0,j=b.clipRect,k=a.renderer;if(!j){var x=0,h=0,E=a.plotSizeX,g=a.plotSizeY;a.options.chart.hasScroll||(x=-(a.inverted?a.plotTop:a.plotLeft),h=-(a.inverted?a.plotLeft:a.plotTop),E=a.inverted?a.chartHeight:a.chartWidth,g=a.inverted?a.chartWidth:a.chartHeight);j=b.clipRect=!a.hasRendered&&a.clipRect?a.clipRect:k.clipRect(x,h,E,g);j.cliprectX=x;j.cliprectY=h;j.cliprectW=E;j.cliprectH=g;if(!a.clipRect)a.clipRect=j}if(!b.group)e=
b.group=k.g("series"),a.inverted&&(d=function(){e.attr({width:a.plotWidth,height:a.plotHeight}).invert()},d(),sa(a,"resize",d),sa(b,"destroy",function(){ra(a,"resize",d)})),e.clip(b.clipRect).attr({visibility:b.visible?jb:G,zIndex:c.zIndex}).translate(a.plotLeft,a.plotTop).add(a.seriesGroup);b.drawDataLabels();f&&b.animate(!0);b.drawGraph&&b.drawGraph();b.drawPoints();b.options.enableMouseTracking!==!1&&b.drawTracker();f&&b.animate();setTimeout(function(){j.animationInit=!1;j.isAnimating=!1;if((e=
b.group)&&j!==a.clipRect&&j.renderer)e.clip(b.clipRect=a.clipRect),j.destroy()},m);b.isDirty=!1},redraw:function(){var b=this.chart,a=this.group;a&&(b.inverted&&a.attr({width:b.plotWidth,height:b.plotHeight}),a.animate({translateX:b.plotLeft,translateY:b.plotTop}));this.translate();this.setTooltipPoints(!0);this.render()},setState:function(b){var a=this.options,e=this.graph,d=a.states,a=a.lineWidth,b=b||"";if(this.state!==b)this.state=b,d[b]&&d[b].enabled===!1||(b&&(a=d[b].lineWidth||a+1),e&&!e.dashstyle&&
e.attr({"stroke-width":a},b?0:500))},setVisible:function(b,a){var e=this.chart,d=this.legendItem,c=this.group,m=this.tracker,f=this.dataLabelsGroup,j=this.shadowGroup,k,x=this.data,h=e.options.chart.ignoreHiddenSeries;k=this.visible;k=(this.visible=b=b===Ea?!k:b)?"show":"hide";if(c)c[k]();if(j&&j.floated)j[k]();if(m)m[k]();else for(c=x.length;c--;)if(m=x[c],m.tracker)m.tracker[k]();if(f)f[k]();d&&e.legend.colorizeItem(this,b);this.isDirty=!0;this.options.stacking&&M(e.series,function(b){if(b.options.stacking&&
b.visible)b.isDirty=!0});if(h)e.isDirtyBox=!0;a!==!1&&e.redraw();xa(this,k)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},scroll:function(b,a,e){var d=this.chart,c=this.clipRect,m=d.plotLeft-b,f=d.plotTop-a,j=this.data,k=0,x=j.length;this.group.translate(m,f);this.dataLabelsGroup.translate(m,f);d.trackerGroup.translate(m,f);c.attr({x:b,y:a});if(e===void 0||e){for(;k<x;k+=1)if(e=j[k],e.y!==null)d=e.plotX-b+20,c=e.plotY-a-15,d=d<0?0:d,c=c<0?0:c,e.tooltipPos=[d,c];this.xShift=
J(b);this.yShift=J(a)}},select:function(b){this.selected=b=b===Ea?!this.selected:b;if(this.checkbox)this.checkbox.checked=b;xa(this,b?"select":"unselect")},drawTracker:function(){var b=this,a=b.options,e=[].concat(b.graphPath),d=e.length,c=b.chart,m=c.options.tooltip.snap,f=b.tracker,j=a.cursor,j=j&&{cursor:j},k=b.singlePoints,x;c.options.chart.hasScroll&&c.trackerGroup.clip(b.clipRect);if(d)for(x=d+1;x--;)e[x]===V&&e.splice(x+1,0,e[x+1]-m,e[x+2],N),(x&&e[x]===V||x===d)&&e.splice(x,0,N,e[x-2]+m,e[x-
1]);for(x=0;x<k.length;x++)d=k[x],e.push(V,d.plotX-m,d.plotY,N,d.plotX+m,d.plotY);f?f.attr({d:e}):b.tracker=c.renderer.path(e).attr({isTracker:!0,stroke:kb,fill:da,"stroke-width":a.lineWidth+2*m,visibility:b.visible?jb:G,zIndex:a.zIndex||1}).on(E?"touchstart":"mouseover",function(){if(c.hoverSeries!==b)b.onMouseOver()}).on("mouseout",function(){if(!a.stickyTracking)b.onMouseOut()}).css(j).add(c.trackerGroup)}};oa=C(ub);sb.line=oa;oa=C(ub,{type:"area",simpleSymbol:!0});sb.area=oa;oa=C(ub,{type:"spline",
getPointSpline:function(b,a,e){var d=a.plotX,c=a.plotY,m=b[e-1],f=b[e+1],j,k,x,h;if(e&&e<b.length-1){b=m.plotY;x=f.plotX;var f=f.plotY,E;j=(1.5*d+m.plotX)/2.5;k=(1.5*c+b)/2.5;x=(1.5*d+x)/2.5;h=(1.5*c+f)/2.5;E=(h-k)*(x-d)/(x-j)+c-h;k+=E;h+=E;k>b&&k>c?(k=ka(b,c),h=2*c-k):k<b&&k<c&&(k=qb(b,c),h=2*c-k);h>f&&h>c?(h=ka(f,c),k=2*c-h):h<f&&h<c&&(h=qb(f,c),k=2*c-h);a.rightContX=x;a.rightContY=h}e?(a=["C",m.rightContX||m.plotX,m.rightContY||m.plotY,j||d,k||c,d,c],m.rightContX=m.rightContY=null):a=[V,d,c];return a}});
sb.spline=oa;oa=C(oa,{type:"areaspline",simpleSymbol:!0});sb.areaspline=oa;var ec=C(ub,{type:"column",simpleSymbol:!0,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color",r:"borderRadius",dashstyle:"dashStyle"},init:function(){ub.prototype.init.apply(this,arguments);var b=this,a=b.chart;a.hasColumn=!0;a.hasRendered&&M(a.series,function(a){if(a.type===b.type)a.isDirty=!0})},translate:function(){var b=this,e=b.chart,d=b.options,c=d.stacking,m=d.borderWidth,f=0,j=b.xAxis.reversed,
k=b.xAxis.categories,x={},h,E;ub.prototype.translate.apply(b);M(e.series,function(a){if(a.type===b.type)a.options.stacking?(h=a.stackKey,x[h]===Ea&&(x[h]=f++),E=x[h]):E=f++,a.columnIndex=E});var H=b.data,u=b.closestPoints,e=Ra(H[1]?H[u].plotX-H[u-1].plotX:e.plotSizeX/(k&&k.length||1)),k=e*d.groupPadding,u=(e-2*k)/f,p=d.pointWidth,A=a(p)?(u-p)/2:u*d.pointPadding,v=ka(q(p,u-2*A),1),p=Ra(F(d.maxColWidth,50))||1;v>p&&d.groupPadding===0.1&&(k+=(v-p)*f/2,u=v=p);var n=A+(k+((j?f-b.columnIndex:b.columnIndex)||
0)*u-e/2)*(j?-1:1),j=F(d.threshold,ka(b.yAxis.options.min,0),0),Z=b.yAxis.getThreshold(j),y=q(d.minPointLength,5);M(H,function(e){var f=e.plotY,j=F(e.yBottom,Z),k=e.plotX+n,x=ac(qb(f,j)),r=ac(ka(f,j)-x),h=b.yAxis.stacks[(e.y<0?"-":"")+b.stackKey],E;c&&h&&h[e.x]&&h[e.x].setOffset(n,v);Ra(r)<y&&(y&&(r=y,x=Ra(x-Z)>y?j-y:Z-(f<=Z?y:0)),E=x-3);g(e,{barX:k,barY:x,barW:v,barH:r});e.shapeType="rect";f={x:J(k),y:J(x),width:J(v),height:J(r),r:d.borderRadius};m%2&&(f.y-=1,f.height+=1);e.shapeArgs=f;e.trackerArgs=
a(E)&&ha(e.shapeArgs,{height:ka(6,r+3),y:E})})},getSymbol:function(){},drawGraph:function(){},drawPoints:function(){var b=this,a=b.options,e=b.chart.renderer,d,c,m=b.shadowGroup,f,j,k,x,h,E,g=b.yAxis,H=g.reversed&&g.options.min<0?!0:!1,u=e.box.nodeName.toLowerCase()==="div"?!0:!1,p=b.inverted;M(b.data,function(g){var A=g.plotY;if(A!==Ea&&!isNaN(A)&&g.y!==null)d=g.graphic,c=g.shapeArgs,d?(sc(d),d.animate(c)):(k=c.y,x=c.width,h=c.height,f=c.r,j=c.x,E=g.pointAttr[g.selected?"select":""]["stroke-width"]%
2===0?void 0:1,H&&g.color&&g.color.FCcolor&&(g.color.FCcolor.angle+=180),u&&p&&g.color&&g.color.FCcolor&&(g.color.FCcolor.angle+=90),g.graphic=e[g.shapeType](j,k,x,h,f,E).attr(g.pointAttr[g.selected?"select":""]).add(b.group).shadow(a.shadow,m,g.shadow))})},drawTracker:function(){var b=this,a=b.chart,e=a.renderer,d,c,m=+new Date,f=b.options,j;a.options.chart.hasScroll&&a.trackerGroup.clip(b.clipRect);M(b.data,function(k){c=k.tracker;d=k.trackerArgs||k.shapeArgs||{};delete d.strokeWidth;if(k.y!==null)if(c)c.attr(d);
else{if(k.link!==void 0)var x={cursor:"pointer",_cursor:"hand"};k.tracker=e[k.shapeType](d).attr({isTracker:m,fill:kb,visibility:b.visible?jb:G,zIndex:f.zIndex||1}).on(E?"touchstart":"mouseover",function(e){j=e.relatedTarget||e.fromElement;if(a.hoverSeries!==b&&h(j,"isTracker")!==m)b.onMouseOver();k.onMouseOver()}).on("mouseout",function(a){if(!f.stickyTracking&&(j=a.relatedTarget||a.toElement,h(j,"isTracker")!==m))b.onMouseOut()}).css(x).add(k.group||a.trackerGroup)}})},animate:function(b){var a=
this,e=a.data;if(!b)M(e,function(b){var e=b.graphic,b=b.shapeArgs;e&&(e.attr({height:0,y:a.yAxis.getThreshold(a.options.threshold||0)}),e.animate({height:b.height,y:b.y},a.options.animation))}),a.animate=null},remove:function(){var b=this,a=b.chart;a.hasRendered&&M(a.series,function(a){if(a.type===b.type)a.isDirty=!0});ub.prototype.remove.apply(b,arguments)}});sb.column=ec;oa=C(ec,{type:"bar",init:function(b){b.inverted=this.inverted=!0;ec.prototype.init.apply(this,arguments)}});sb.bar=oa;oa=C(ub,
{type:"scatter",translate:function(){var b=this;ub.prototype.translate.apply(b);M(b.data,function(a){a.shapeType="circle";a.shapeArgs={x:a.plotX,y:a.plotY,r:b.chart.options.tooltip.snap}})},drawTracker:function(){var b=this,a;M(b.data,function(e){if(e.link!==void 0)var d={cursor:"pointer",_cursor:"hand"};(a=e.graphic)&&a.attr({isTracker:!0}).on("mouseover",function(){b.onMouseOver();e.onMouseOver()}).on("mouseout",function(){if(!b.options.stickyTracking)b.onMouseOut()}).css(d)})},cleanData:function(){}});
sb.scatter=oa;var oa=C(Zb,{init:function(){Zb.prototype.init.apply(this,arguments);var b=this,a;g(b,{visible:b.visible!==!1,name:q(b.name,"Slice")});!b.link&&!b.doNotSlice&&sa(b,"click",function(){b.series&&b.series.rotationStartInstanceAngle?delete b.series.rotationStartInstanceAngle:b.slice()});return b},setVisible:function(b){var a=this.series.chart,e=this.tracker,d=this.dataLabel,c=this.connector,m=this.shadowGroup,f;f=(this.visible=b=b===Ea?!this.visible:b)?"show":"hide";this.group[f]();if(e)e[f]();
if(d)d[f]();if(c)c[f]();if(m)m[f]();this.legendItem&&a.legend.colorizeItem(this,b)},labelPrevX:0,slice:function(b,e,d){var c=this.series,m=c.chart,f=this.slicedTranslation;Bb(d,m);q(e,!0);b=this.sliced=a(b)?b:!this.sliced;e={hcJSON:{series:[]}};e.hcJSON.series[c.index]={data:[]};e.hcJSON.series[c.index].data[this.index]={sliced:b||!1};ua(m.options.instanceAPI.chartInstance.jsVars._reflowData,e,!0);e={translateX:b?f[0]:m.plotLeft,translateY:b?f[1]:m.plotTop};c.pie3DManager?this.graphic.animate(e):
this.group.animate(e);this.shadowGroup&&this.shadowGroup.animate(e);c=f[0]-m.plotLeft;m=f[1]-m.plotTop;this.connectorPath&&(this.connectorPath[1]+=b?c:-c,this.connectorPath[2]+=b?m:-m,this.connectorPath[4]+=b?c:-c,this.connectorPath[6]+=b?c:-c,this.connector.animate({d:this.connectorPath}));this.dataLabel&&this.dataLabel._x&&(this.dataLabel.animate({x:b?this.dataLabel._x+c:this.dataLabel._x}),this.dataLabel.textBoundWrapper&&this.dataLabel.textBoundWrapper.animate({x:this.dataLabel.textBoundWrapper.x-
(this.dataLabel.x-this.dataLabel._x)+(b?c:-c)}));return b}}),Kc=function(b,a){return bc(b[1]-(this.pageY||this.originalEvent&&this.originalEvent.pageY)+a.top,b[0]-(this.pageX||this.originalEvent&&this.originalEvent.pageX)+a.left)},oa=C(ub,{type:"pie",isCartesian:!1,pointClass:oa,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:function(){this.initialColor=this.chart.counters.color},animate:function(){var b=this;M(b.data,function(a){var e=a.graphic,a=a.shapeArgs,
d=2*xb;e&&(e.attr({start:d,end:d}),e.animate({r:a.r,start:a.start,end:a.end},b.options.animation))});b.animate=null},simpleSymbol:!0,rotate:function(b){var a=this.data,e=this.options.slicedOffset,d=this.chart.plotLeft,c=this.chart.plotTop,m=F(this.chart.options.chart.startingAngle,0),f;f=(b-m)%360;this.chart.options.chart.startingAngle=F(b,this.chart.options.chart.startingAngle)%360;f=f*xb/180;ua(this.chart.options.instanceAPI.chartInstance.jsVars._reflowData,{hcJSON:{chart:{startingAngle:this.chart.options.chart.startingAngle}}},
!0);M(a,function(b){var a=b.graphic,m=b.shadowGroup,j=b.tracker,k=b.shapeArgs,x={start:k.start+=f,end:k.end+=f},r=b.centerAngle=(x.start+x.end)/2%Ob,h=b.sliced,E=k.r*0.7,g;b.slicedTranslation=qa([Da(r)*e+d,ia(r)*e+c],J);g={translateX:b.slicedTranslation[0],translateY:b.slicedTranslation[1]};b.tooltipPos=[k.x+Da(r)*E,k.y+ia(r)*E];j&&j.attr(x);a&&(a.attr(x),h&&b.group.attr(g));m&&h&&b.shadowGroup.attr(g)});this.drawDataLabels(!0)},translate:function(){var b=0,a=this,e=a.options,d=-1*(ba(this.chart.options.chart.startingAngle,
0)%360/360),c=F(e.dataLabels.distance,20),m=e.slicedOffset,f=m+e.borderWidth,j=e.center,k=a.chart,x=k.plotWidth,h=k.plotHeight,E,g,H,u=a.data,p=2*xb,A,v=qb(x,h),n,Z,y,s=e.dataLabels.distance;j.push(e.size,e.innerSize||0);j=qa(j,function(b,a){return(n=/%$/.test(b))?[x,h,v,v][a]*D(b)/100:b});a.getX=function(b,a){H=Ha.asin((b-j[1])/(j[2]/2+s));return j[0]+(a?-1:1)*Da(H)*(j[2]/2+s)};a.center=j;M(u,function(a){b+=a.y});a.labelsRadius=j[2]/2+c;a.quadrantHeight=h/2;a.quadrantWidth=x/2;c=e.dataLabels;e=F(parseInt(c.style.fontSize,
10),10)+4;a.maxLabels=Math.floor(a.quadrantHeight/e);a.labelFontSize=e;a.connectorPadding=F(c.connectorPadding,5);a.isSmartLineSlanted=ba(c.isSmartLineSlanted,!0);a.connectorWidth=F(c.connectorWidth,1);a.enableSmartLabels=c.enableSmartLabels;M(u,function(e){A=b?e.y/b:0;E=J(d*p*1E3)/1E3;d+=A;g=J(d*p*1E3)/1E3;e.shapeType="arc";e.shapeArgs={x:j[0],y:j[1],r:j[2]/2,innerR:j[3]/2,start:E,end:g};if(e.color.FCcolor&&e.color.FCcolor.gradientUnits!=="objectBoundingBox")e.color.FCcolor.cx=j[0],e.color.FCcolor.cy=
j[1],e.color.FCcolor.r=j[2]/2;e.centerAngle=H=(g+E)/2%Ob;e.slicedTranslation=qa([Da(H)*m+k.plotLeft,ia(H)*m+k.plotTop],J);Z=Da(H)*j[2]/2;a.radiusY=y=ia(H)*j[2]/2;e.tooltipPos=[j[0]+Z*0.7,j[1]+y*0.7];e.labelPos=[j[0]+Z+Da(H)*s,j[1]+y+ia(H)*s,j[0]+Z+Da(H)*f,j[1]+y+ia(H)*f,j[0]+Z,j[1]+y,s<0?"center":H<p/4?"left":"right",H];e.percentage=A*100;e.total=b});this.setTooltipPoints()},render:function(){this.drawPoints();this.options.enableMouseTracking!==!1&&this.drawTracker();this.drawDataLabels();this.options.animation&&
this.animate&&this.animate();this.isDirty=!1},drawPoints:function(){var b=this.chart,a=b.renderer,e,d,c,m=this.options.shadow,f,j;M(this.data,function(k){d=k.graphic;j=k.shapeArgs;c=k.group;f=k.shadowGroup;if(m&&!f)f=k.shadowGroup=a.g("shadow").attr({zIndex:4}).add();if(!c)c=k.group=a.g("point").attr({zIndex:5}).add();e=k.sliced?k.slicedTranslation:[b.plotLeft,b.plotTop];c.translate(e[0],e[1]);f&&f.translate(e[0],e[1]);d?d.animate(j):k.graphic=a.arc(j).attr(g(k.pointAttr[""],{"stroke-linejoin":"round",
dashstyle:k.dashStyle})).add(k.group).shadow(m,f,k.shadow);k.visible===!1&&k.setVisible(!1)})},drawDataLabels:function(){var b=function(b,a){return b.point.y-a.point.y},a=function(b,a){return b.angle-a.angle},e=["left","left","right","right"],d=[-1,1,1,-1],c=[1,1,-1,-1];return function(m){var f=this.data,j,k,x=this.chart,h=x.options.instanceAPI.smartLabel,E=this.options.dataLabels,g=E.style,H=F(parseInt(g.lineHeight,10),12);j=E.placeInside;var u=E.skipOverlapLabels,p=E.manageLabelOverflow,A=this.connectorPadding,
v=this.connectorWidth,n,Z,y=E.distance;q(E.softConnector,!0);var y=y>0,s,o=this.center,t=o[1],la=o[0],o=o[2]/2,C=[[],[],[],[]],va,La=x.plotLeft,P=x.plotTop,x=x.plotSizeX,z,ea,I,Ea,Ja,D,mb,R,B=this.labelsRadius,L=this.labelFontSize,da=L,Q=da/2,A=[A,A,-A,-A],K=this.maxLabels,ha=this.isSmartLineSlanted,U=this.enableSmartLabels,ja,Aa;m||(ub.prototype.drawDataLabels.apply(this),h.setStyle(g));if(f.length==1){if(j=f[0],Aa=j.dataLabel,j.slicedTranslation=[La,P],Aa)Aa.attr({visibility:jb,align:"center",x:la,
y:t+Q-2}),Aa.x=la}else if(j){var h=F(this.center[3],0)/2,kb=h+(o-h)/2;M(f,function(b){if(Aa=b.dataLabel){var a=b.centerAngle;mb=t+kb*ia(a)+Q-2;Ea=la+kb*Da(a);Aa.x=Ea;Aa._x=Ea;Aa.y=mb;if(b.sliced)b=b.slicedTranslation,a=b[1]-P,Ea+=b[0]-La,mb+=a;Aa.attr({visibility:jb,align:"center",x:Ea,y:mb});Aa.textBound()}})}else{M(f,function(b){if(Aa=b.dataLabel){if(!m)Aa.on("click",function(a){b.firePointEvent("click",a)});var a=b.centerAngle;a<0&&(a=Ob+a);C[a<Vb?1:a<xb?2:a<Wb?3:0].push({point:b,angle:a})}});
for(g=f=4;g--;){if(u&&(j=C[g].length-K,j>0)){C[g].sort(b);R=C[g].splice(0,j);s=0;for(I=R.length;s<I;s+=1)j=R[s].point,j.dataLabel.attr({visibility:G}),j.connector&&j.connector.attr({visibility:G})}C[g].sort(a)}g=ka(C[0].length,C[1].length,C[2].length,C[3].length);ja=ka(qb(g,K)*da,B);C[1].reverse();for(C[3].reverse();f--;){R=C[f];I=R.length;u||(da=I>K?ja/I:L,Q=da/2);j=I*da-Q;s=ja+Q;for(g=0;g<I;g+=1,j-=da)Z=Ra(ja*ia(R[g].angle)),s-Z<da?Z=s-da:Z<j&&(Z=j),s=R[g].oriY=Z;va=e[f];I=ja-I*da+Q;s=-Q;for(g=
R.length-1;g>=0;g-=1,I+=da){j=R[g].point;k=R[g].angle;n=j.sliced;Aa=j.dataLabel;Z=Ra(ja*ia(k));Z-s<da?Z=s+da:Z>I&&(Z=I);s=Z;Ja=(Z+R[g].oriY)/2;Z=la+c[f]*B*Da(Ha.asin(Ja/ja));Ja*=d[f];Ja+=t;D=t+o*ia(k);k=la+o*Da(k);Ea=Z+A[f];mb=Ja+Q-2;Aa.x=Ea;Aa._x=Ea;if(p)z=f>1?Ea:x-Ea,ea=Aa._str=Aa._str||Aa.textStr||Aa.element&&Aa.element.innerHTML,Aa.attr({text:h.getSmartText(ea,z,H).text});Aa.y=mb;if(n)z=j.slicedTranslation,n=z[0]-La,z=z[1]-P,Ea+=n,Z+=n,k+=n,D+=z;Aa.attr({visibility:jb,align:va,x:Ea,y:mb});Aa.textBound();
if(y&&v&&U)n=j.connector,j.connectorPath=Z=[V,k,D,N,ha?Z:k,Ja,Ea,Ja],n?(n.attr({d:Z}),n.attr("visibility",jb)):j.connector=n=this.chart.renderer.path(Z).attr({"stroke-width":v,stroke:E.connectorColor||"#606060",visibility:jb,zIndex:3}).translate(La,P).add().on("click",function(b){return function(a){b.firePointEvent("click",a)}}(j))}}}}}(),drawTracker:function(){var b=this,a,e=[b.center[0]+b.chart.plotLeft,b.center[1]+b.chart.plotTop],d,c=b.options.enableRotation,m;c&&(m=function(a){d=p(b.chart.container);
b.rotationStartInstanceAngle=Kc.call(a,e,d)-b.chart.options.chart.startingAngle*Fb;b.chart.tooltip&&(a.type==="dragstart"?b.chart.tooltip.block(!0):(b.chart.tooltip.block(!1),b.chart.tooltip.refresh(a.data,!0)))});ec.prototype.drawTracker.apply(this,arguments);M(b.data,function(f){if(f.y===null||!(a=f.tracker)||a.canRotate===!0)return!0;c&&(sa(a.element,"dragstart dragend",m,f),sa(a.element,"drag",function(a){b.rotate((Kc.call(a,e,d)-b.rotationStartInstanceAngle)/Fb)}))})},getSymbol:function(){}});
sb.pie=oa;oa=function(){};oa.prototype={init:function(b){var a=this;a.chart=b;a.getVar=b.getVar;a.setVar=b.setVar;a.elements={};a.allItems=[];a.renderer=b.renderer;var e=a.conf={},d=a.options=b.options.legend;if(d.enabled){e.horizontal=d.layout==="horizontal";var c=e.symbolWidth=d.symbolWidth,m=e.symbolPadding=d.symbolPadding,f=d.itemStyle,j=e.padding=d.padding||4,f=e.fontSize=D(f.fontSize)||10,k=d.textPadding;e.initialItemX=k+j+c+2*m+d.initialItemX;e.startX=-k-m-c;e.startY=-f+m;e.cx=-k-m-c/2;e.cy=
-f+m+c/2;e.legendArray=[];e.currentIndex=0;e.currentRowIndex=0;e.itemHeight=0;e.widthOption=d.width;e.iapi=b.options.instanceAPI;e.y=f+j;a.renderLegend();sa(b,"endResize",function(){a.positionCheckboxes()})}},moveLegend:function(b){var a=this.elements.legendBox,e=b.pageX+a.dragOffsetX,b=b.pageY+a.dragOffsetY;if(e<a.movementBoundaryOrigin)e=a.movementBoundaryOrigin;else if(e>a.movementBoundaryX)e=a.movementBoundaryX;if(b<a.movementBoundaryOrigin)b=a.movementBoundaryOrigin;else if(b>a.movementBoundaryY)b=
a.movementBoundaryY;a.translate(e,b)},colorizeItem:function(b,a){var e=this.options,d=this.conf,c=b.legendItem,m=b.legendLine,f=b.legendSymbol,j=b.legendBackground,k=e.itemHiddenStyle.color,e=a?e.itemStyle.color:k,x=a?b.color:k,h=b.options.legendBorderColor,E=b.options.legendFillColor,g=b.customSymbol,k=a?b.pointAttr[""]:{stroke:k,fill:k};c&&c.css({fill:e});m&&m.attr({stroke:x,"stroke-width":2,"stroke-opacity":1});f&&(f.attr(k),f.attr({r:ac(d.symbolWidth/(m?4:2)),"stroke-width":1,"stroke-opacity":1,
"fill-opacity":1}));j&&j.attr({fill:E||kb,stroke:h||da});g&&g.attr(a?g.symbolAttr:k)},destroy:function(){var b=this.elements,a=b.box,e=b.legendGroup,d=b.legendScroller,c=b.legendClip;if(a)b.box=a.destroy();if(e)b.legendGroup=e.destroy();if(d)b.legendScroller=d.destroy();if(c)b.legendClip=c.destroy()},positionItem:function(b,a,e){var d=this.conf,c=b.legendItem,m=b.legendLine,f=b.legendSymbol,j=b.checkbox,k=b.legendBackground,x=b.customSymbol,h=b.legendLabelHeight;c&&c.align({x:a,y:e,height:h,verticalAlign:"middle"},
!0,{height:b.legendItemHeight});m&&m.translate(a,e);f&&f.attr({x:a+d.cx,y:e+d.cy});x&&b.customSymbol.translate(a,e);if(j)j.x=a,j.y=e;k&&k.attr({width:b.legendItemWidth,height:b.legendItemHeight}).align({x:a-d.symbolPadding,y:e-d.symbolPadding,width:b.legendItemWidth,height:b.legendItemHeight,verticalAlign:"middle",align:"center"},!0,{width:b.legendItemWidth,height:b.legendItemHeight})},destroyItem:function(b){M(["legendItem","legendLine","legendSymbol","legendBackground"],function(a){b[a]&&b[a].destroy()});
b.checkbox&&bb(b.checkbox)},positionCheckboxes:function(){var a=this;M(a.allItems,function(e){var d=e.checkbox,c=a.elements.legendGroup.alignAttr;d&&W(d,{left:c.translateX+e.legendItemWidth+d.x-40+Aa,top:c.translateY+d.y-11+Aa})})},renderItem:function(a){var b;var e,d,c,m,f,j=a.legendItem,k=a.series||a;e=k.options;var x,h=this.renderer;c=this.options;var g=c.itemHoverStyle,H=c.itemStyle,u=c.itemHiddenStyle,A=c.rowHeight,p=c.legendNumColumns,v=this.conf,n=v.startX,Z=v.startY,y=v.symbolWidth,s=v.symbolPadding,
o=v.padding,q=v.horizontal,t=v.legendArray,la=v.currentIndex,C=v.cy,va=v.initialItemX,G=this.chart.chartWidth,La=v.widthOption,I=this.elements.legendGroup,z=a.legendBackground,Ea=E?"touchend":"click",ea=e.relatedSeries,Ja=v.iapi;if(!j){f=k.simpleSymbol;a.legendItem=j=h.text(c.labelFormatter.call(a),0,0).css(a.visible?H:u).on("mouseover",function(){a.setState(Pb);j.css(g)}).on("mouseout",function(){j.css(a.visible?H:u);a.setState()}).on(Ea,function(){var e,d;Ja.sliceOnLegendClick?(e={index:k.data.length-
a.index-1,name:a.name,sliced:!a.sliced},d=function(){Oa.raiseEvent("legenditemclicked",e,Ja.chartInstance)}):(e={datasetName:k.name,datasetIndex:k.index,id:k.userID,visible:!k.visible},d=function(){Oa.raiseEvent("legenditemclicked",e,Ja.chartInstance);a.setVisible(void 0,!1);ea&&M(ea,function(e){a.chart.series[e].setVisible(k.visible,!1)})},x={hcJSON:{series:[]}},x.hcJSON.series[k.index]={visible:!k.visible},ea&&M(ea,function(a){x.hcJSON.series[a]={visible:!k.visible}}),ua(Ja.chartInstance.jsVars._reflowData,
x,!0));if(I.dragActive)return delete I.dragActive,!1;a.firePointEvent?a.firePointEvent("legendItemClick",null,d):xa(a,"legendItemClick",null,d)}).attr({zIndex:2}).add(I);if(!f&&e&&e.lineWidth){d={"stroke-width":e.lineWidth,zIndex:2};if(e.dashStyle)d.dashstyle=e.dashStyle;a.legendLine=h.path([V,n,C,N,n+y,C]).attr(d).add(I).css(c.symbolStyle).on(Ea,function(){xa(j.element,Ea)})}f?(d=B(n,Z,y,y,k.type,a,h),a.customSymbol=h.path(d.path).attr({"stroke-width":d.strokeWidth,zIndex:3}).add(I),a.customSymbol.symbolAttr=
{stroke:d.strokeColor,fill:d.color}):e&&e.marker&&e.marker.enabled&&(m=h.symbol(a.symbol,v.cx,C,y/2).attr({zIndex:3}).add(I));a.legendSymbol=m;z||(z=h.rect(n,Z,y,y,0).attr({zIndex:1}).css({cursor:H.cursor}).on(Ea,function(){xa(j.element,Ea)}).add(I));a.legendBackground=z;this.colorizeItem(a,a.visible);if(m=m||a.customSymbol)m.css(c.symbolStyle).on(Ea,function(){xa(j.element,Ea)});if(e&&e.showCheckbox)a.checkbox=P("input",{type:"checkbox",checked:a.selected,defaultChecked:a.selected},c.itemCheckboxStyle,
this.chart.container),sa(a.checkbox,"click",function(e){xa(a,"checkboxClick",{checked:e.target.checked},function(){a.select()})})}e=j.getBBox();b=a.legendItemWidth=c.itemWidth||y+s+e.width+o,c=b;v.itemHeight=a.legendItemHeight=ka(e.height,A);a.legendLabelHeight=e.height;a.symbolSize=y;a.lineHeight=A;if(q)if(A&&p){for(;t[la]===!0;)v.currentIndex=la+=1;y=wb(la/p);if(y>v.currentRowIndex)v.itemY+=A*(y-v.currentRowIndex),v.currentRowIndex=y;v.itemX=va+la%p*c;t[la]=!0;A=v.itemHeight/A;for(y=0;y<A;y+=1,
la+=p)t[la]=!0}else if(v.itemX-va+c>(La||G-2*o-va))v.itemX=va,v.itemY+=v.itemHeight;v.lastItemY=v.itemY;this.positionItem(a,v.itemX,v.itemY);q?v.itemX+=c:v.itemY+=v.itemHeight;v.offsetWidth=La||ka(q?v.itemX-va:c,v.offsetWidth)},renderLegend:function(){var b;var a=this,e=a.renderer,d=a.getVar,c=a.conf,m=c.initialItemX,f=c.itemY=c.y,j=c.iapi,k=c.padding,x=k/2,h=c.widthOption,E=c.horizontal,H=h,u=a.options,A=u.borderWidth,p=u.scroll,v=u.height,n=u.title.padding,Z=u.backgroundColor,y=u.style,s=A*0.5,
o=a.elements,q=o.legendGroup,t=o.legendBox,la=o.legendScroller,C=o.box,va=d("spacingBox"),G=a.chart,La=G.options.chart,M=a.allItems,P,I=c.offsetWidth=0;c.lastItemY=0;c.itemX=m;if(!q){var z,m=function(a){q&&(q.translate(0,(z-u.totalHeight)*a),ua(j.chartInstance.jsVars._reflowData,{hcJSON:{legend:{scroll:{position:a}}}},!0))};p&&p.enabled?(t=o.legendBox=e.g("legend-box").attr({zIndex:10}).add(),la=H=h-p.scrollBarWidth-p.scrollBarPadding,z=v-x-A,P=o.legendClip=e.clipRect(0,x+s,la,z),P=o.legendGroupContainer=
e.g("legend-container").attr({zIndex:1}).clip(P).add(t),q=o.legendGroup=e.g("legend").add(P),la=o.legendScroller=e.scroller(la+x-s,s,10,z+1,!1,!1,!1,t).attr({zIndex:3,fill:u.legendScrollBgColor}).setScrollRatio((z+k)/u.totalHeight).callback(m).add(t)):P=o.legendGroupContainer=t=o.legendBox=q=o.legendGroup=e.g("legend").attr({zIndex:10}).add();la&&p.position&&la.setScrollPosition(p.position);u.legendAllowDrag&&(t.css({cursor:"move"}),sa(t.element,"dragstart dragend",function(a){var b=a.type,a=ta(a);
t.movementBoundaryOrigin=A||0;t.movementBoundaryX=G.chartWidth-h-t.movementBoundaryOrigin;t.movementBoundaryY=G.chartHeight-v-t.movementBoundaryOrigin;t.dragOffsetX=t.attr("translateX")-a.pageX;t.dragOffsetY=t.attr("translateY")-a.pageY;t.dragActive=!0;G.tooltip&&G.tooltip.block(b==="dragstart");b==="dragend"&&setTimeout(function(){t.dragActive=!1},1)}),sa(t.element,"drag",function(e){a.moveLegend(e)}))}if(u.title&&u.title.text!==Eb)k=o.legendCaption=e.text(u.title.text,0,0).css(u.title.style).attr({zIndex:2,
align:"center"}).add(q),x=k.getBBox(),k.align({align:"center",verticalAlign:"top",y:f},!1,{x:0,y:0,width:H,height:x.height}),c.itemY=f+=(x.height||0)+n;this.renderAllItems();f=G.legendWidth=h||I;b=G.legendHeight=c.lastItemY-c.y+c.itemHeight,c=b;if(A||Z){if(C){if(f>0&&c>0)C[C.isNew?"attr":"animate"](C.crisp(null,null,null,f,v)),C.isNew=!1}else C=o.box=e.rect(0,0,f,v,u.borderRadius,A||0).attr({stroke:u.borderColor,"stroke-width":A||0,fill:Z||da}).add(t).shadow(u.shadow,void 0,u.shadow),C.isNew=!0;C[M.length?
"show":"hide"]()}e=["left","right","top","bottom"];for(o=4;o--;)Z=e[o],y[Z]&&y[Z]!=="auto"&&(u[o<2?"align":"verticalAlign"]=Z,u[o<2?"x":"y"]=D(y[Z])*(o%2?-1:1));if(!E)va.y=La.marginTop,va.height=G.plotHeight;t.align(g(u,{width:f,height:v}),!0,va);d("isResizing")||a.positionCheckboxes()},renderAllItems:function(){var a=this.allItems,e=this.getVar("series"),d=this.options.reversed;M(e,function(e){var d=e.options;d.showInLegend&&(d.legendType==="point"?M(e.data,function(e){e.showInLegend&&a.push(e)}):
a.push(e))});Q(a,function(a,b){return(a.options.legendIndex||0)-(b.options.legendIndex||0)});d&&a.reverse();M(a,this.renderItem,this)}};oa.prototype.constructor=zc.point=oa;L=L.Highcharts={Chart:vb,dateFormat:La,pathAnim:la,getOptions:function(){return Z},hasRtlBug:d,numberFormat:y,Point:Zb,Color:Kb,Renderer:x,seriesTypes:sb,setOptions:function(a){Z=ha(Z,a);Ua=Z.plotOptions;aa();return Z},Series:ub,SVGElement:Y,SVGRenderer:pc,VMLElement:Jc,VMLRenderer:dc,legendTypes:zc,addEvent:sa,removeEvent:ra,
getTouchEvent:ta,createElement:P,discardElement:bb,css:W,each:M,extend:g,attr:h,map:qa,merge:ha,pick:q,extendClass:C,product:"Highcharts",version:"2.1.9",isWebKit:m,docMode8:e,hasTouch:E,hasSVG:f,isIE:Hb,getPosition:p,FusionChartsModified:"3.2.3",fireEvent:xa};Ua.floatedcolumn=ha(Ua.column,{states:{hover:{}}});d=L.extendClass(sb.column,{type:"floatedcolumn",translate:function(){var b=this,e=b.chart,d=0,c=b.xAxis.reversed,m=b.xAxis.categories,f={},j,k,x,h;ub.prototype.translate.apply(b);M(e.series,
function(a){if(a.type==b.type)a.options.stacking?(j=a.stackKey,f[j]===Ea&&(f[j]=d++),h=f[j]):h=d++,a.columnIndex=h});var E=b.options,u=b.data,H=b.closestPoints,m=Ra(u[1]?u[H].plotX-u[H-1].plotX:e.plotSizeX/(m?m.length:1)),H=m*E.groupPadding,A=(m-2*H)/d,p=E.pointWidth,v=a(p)?(A-p)/2:A*E.pointPadding,n=ka(q(p,A-2*v),1),Z=v+(H+((c?d-b.columnIndex:b.columnIndex)||0)*A-m/2)*(c?-1:1),c=E.threshold||0,y=b.xAxis,m=b.yAxis,H=y.getExtremes(),s=Math.abs(e.plotSizeX/(H.max-H.min)),m=m.getExtremes(),o=m.min,t=
Ra(e.plotSizeY/(m.max-o)),la=b.yAxis.getThreshold(c),C=q(E.minPointLength,5);M(u,function(e){var d=e.plotY,c=e.yBottom||la,m=e.plotX+Z,f=ac(qb(d,c)),j=ac(ka(d,c)-f),l,h;e._FCX!==void 0&&(m=y.translate(e._FCX,0,0,0,1));e._FCY!==void 0&&(f=b.yAxis.translate(e._FCY,0,1,0,1));e._FCH!==void 0&&(j=J(e._FCH*t*100)/100);h=e._FCW!==void 0?J(e._FCW*s*100)/100:n;e._FCYBottom!==void 0&&(j=b.yAxis.translate(ka(o,e._FCYBottom),0,1,0,1)-f);Ra(j)<C&&(C&&(j=C,f=Ra(f-la)>C?c-C:la-(d<=la?C:0)),l=f-3);g(e,{barX:m,barY:f,
barW:h,barH:j});e.shapeType="rect";e.shapeArgs={x:m,y:f,width:h,height:j,r:E.borderRadius};k=m+h/2+15;x=f-15;e.tooltipPos=[k<0?0:k,x<0?0:x];e.trackerArgs=a(l)&&ha(e.shapeArgs,{height:ka(6,j+3),y:l})})}});sb.floatedcolumn=d;Ua.column3d=ha(Ua.column,{states:{hover:{}}});d=L.extendClass(sb.column,{type:"column3d",initGroup:function(){var a=this.chart,e=a.renderer,d=this.xDepth,c=this.yDepth,m,f,j,k,x,h=this.yAxis;if(!a.column3DGroups)x=a.column3DGroups=e.g("series-3d"),x.translate(a.plotLeft-d,a.plotTop+
c).add(a.seriesGroup);if(h.options.min<0&&h.options.max>=0){m=a.options.chart.zeroPlaneColor;f=a.options.chart.zeroPlaneBorderColor;j=0;k=h.translate(0,0,1);var E=1,g=a.plotSizeX;a.inverted&&(j=E,E=g,g=j,j=a.plotSizeY-k-g,k=0);h.zeroPlane=e.rect3d(j,k,g,E,d,c,1,"zeroPlane").attr({fill:m,stroke:f,"stroke-width":1,zIndex:2}).add(x)}},drawNthPoint:function(a){var e=this.chart,d=e.column3DGroups,c=e.renderer,m=this.xDepth,f=this.yDepth,j=this.data[a],k,x;k=j.plotY;var h,E,g,H,u,A,p,v;if(k!==Ea&&!isNaN(k)){h=
j.shapeArgs;E=j.color;v=j.borderColor;H=j.borderWidth;g=j.graphic;k=parseInt(h.x,10);x=parseInt(h.y,10);u=k;A=x;p=parseInt(h.height,10);h=parseInt(h.width,10);if(this.options.enableMouseTracking!==!1){var n=k-m,Z=x+f;j.trackerArgs=[V,n,Z,N,n,Z+p,n+h,Z+p,n+h+m,Z+p-f,n+h+m,Z-f,n+m,Z-f,"Z"];this.drawTracker(a)}e.inverted&&(a=p,p=h,h=a,u=e.plotSizeY-x-h,A=e.plotSizeX-k-p);g?g.attr({x:u,y:A,width:h,height:p,x3D:m,y3D:f,strokeWidth:H,fill:E,stroke:v,zIndex:j.y>=0?3:1}):(j.graphic=g=c.rect3d(u,A,h,p,m,f,
H,"point").attr({fill:E,stroke:v,zIndex:j.y>=0?3:1}).add(d),g.shadow(this.options.shadow,void 0,j.shadow));this.visible===!1&&g.hide()}},render:function(){var a=this.options.animation&&this.animate;this.drawDataLabels();a&&this.animate();this.isDirty=!1},animate:function(a){var e=this,d=e.data,c=e.chart,m,f;if(!a)M(d,function(a){var b=a.graphic;b&&(c.inverted?(m=b.attr("width"),f=b.attr("x"),b.attr({x:c.plotSizeY-e.yAxis.getThreshold(e.options.threshold||0),width:0}),b.animate({x:f,width:m},e.options.animation)):
(b.attr({height:0,y:e.yAxis.getThreshold(e.options.threshold||0)}),b.animate({height:a.barH,y:a.barY},e.options.animation)))}),e.animate=null},drawTracker:function(a){var e=this,d=e.chart,c=d.renderer,m,f=+new Date,j=e.options.cursor,j=j&&{cursor:j},k,x=e.data[a];m=x.tracker;d.options.chart.hasScroll&&d.trackerGroup.clip(e.clipRect);a=x.trackerArgs||x.shapeArgs;if(x.y!==null)m?m.attr(a):(x.link!==void 0&&(j={cursor:"pointer",_cursor:"hand"}),x.tracker=m=c.path(a).attr({isTracker:f,fill:kb,visibility:e.visible?
jb:G,zIndex:x.y>0?-1:-3}).on(E?"touchstart":"mouseover",function(a){k=a.relatedTarget||a.fromElement;if(d.hoverSeries!=e&&h(k,"isTracker")!=f)e.onMouseOver();x.onMouseOver()}).on("mouseout",function(a){if(!e.options.stickyTracking&&(k=a.relatedTarget||a.toElement,h(k,"isTracker")!=f))e.onMouseOut()}).css(j).add(d.trackerGroup))},setVisible:function(a,e){var d=this.chart,c=this.legendItem,m=this.dataLabelsGroup,f,j,k=this.data,x,h=d.options.chart.ignoreHiddenSeries;f=this.visible;f=(this.visible=a=
a===Ea?!f:a)?"show":"hide";for(j=k.length;j--;){x=k[j];if(x.tracker)x.tracker[f]();if(x.graphic)x.graphic[f]()}if(m)m[f]();c&&d.legend.colorizeItem(this,a);this.isDirty=!0;this.options.stacking&&M(d.series,function(a){if(a.options.stacking&&a.visible)a.isDirty=!0});if(h)d.isDirtyBox=!0;e!==!1&&d.redraw();xa(this,f)}});sb.column3d=d;Ua.bar3d=ha(Ua.bar,{states:{hover:{}}});L=L.extendClass(d,{type:"bar3d",init:function(a){a.inverted=this.inverted=!0;sb.column.prototype.init.apply(this,arguments)}});
sb.bar3d=L}})();
FusionCharts(["private","modules.renderer.highcharts-export",function(){var B=document,g=window,D=Math.max,T=this.hcLib.Highcharts,t=T.Chart,Ka=T.createElement,c=T.discardElement,I=T.css,a=B.documentElement.ontouchstart!==void 0,h=T.extend,K=T.merge,q=T.each,W=T.addEvent,P=T.setOptions({lang:{downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",exportButtonTitle:"Export to raster or vector image",printButtonTitle:"Print the chart"}});
P.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF"},menuItemStyle:{fontFamily:"Verdana, Arial",padding:"3px 5px",background:"none",color:"#303030",fontSize:a?"14px":"11px"},menuItemHoverStyle:{background:"#999999",color:"#FFFFFF"},_buttonOptions:{x:11},buttonOptions:{align:"right",backgroundColor:{linearGradient:[0,0,0,15],stops:[[0.4,"#F7F7F7"],[0.6,"#E3E3E3"]]},activeBackgroundColor:{linearGradient:[0,0,0,15],stops:[[0.4,"#E3E3E3"],[0.6,"#F7F7F7"]]},borderColor:"#B0B0B0",borderRadius:2,
borderWidth:1,height:15,hoverBorderColor:"#909090",hoverSymbolFill:"#81A7CF",hoverSymbolStroke:"#4572A5",symbolFill:"#E0E0E0",symbolStroke:"#A0A0A0",symbolX:8,symbolY:7.5,verticalAlign:"top",width:16,y:10}};P.exporting={type:"image/png",url:"http://export.highcharts.com/",width:800,enableImages:!1,buttons:{exportButton:{symbol:"exportIcon",symbolFill:"#A8BF77",hoverSymbolFill:"#768F3E",_titleKey:"exportButtonTitle",tooltip:"Export Chart",menuId:"export-menu",menuItems:[{textKey:"downloadPNG",onclick:function(){this.exportChart()}},
{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]},printButton:{symbol:"printIcon",symbolFill:"#B5C9DF",hoverSymbolFill:"#779ABF",_titleKey:"printButtonTitle",tooltip:"Print Chart",onclick:function(){this.print()}}}};h(t.prototype,{getSVG:function(a){var g=this,p,t,n,P,I,D,W=K(g.options,a);if(!B.createElementNS)B.createElementNS=
function(a,c){var h=B.createElement(c);h.getBBox=function(){return T.Renderer.prototype.Element.prototype.getBBox.apply({element:h})};return h};a=Ka("div",null,{position:"absolute",top:"-9999em",width:g.chartWidth+"px",height:g.chartHeight+"px"},B.body);h(W.chart,{renderTo:a,forExport:!0});W.exporting.enabled=!1;if(!W.exporting.enableImages)W.chart.plotBackgroundImage=null,W.chart.bgSWF=void 0,W.chart.bgImage=void 0,W.chart.logoURL=void 0;W.series=[];q(g.series,function(a){n=a.options;n.animation=
!1;n.showCheckbox=!1;n.visible=a.visible;if(!W.exporting.enableImages&&n&&n.marker&&/^url\(/.test(n.marker.symbol))n.marker.symbol="circle";n.data=[];q(a.data,function(a){P=a.config;I={x:a.x,y:a.y,name:a.name};typeof P=="object"&&a.config&&P.constructor!=Array&&h(I,P);I.visible=a.visible;n.data.push(I);W.exporting.enableImages||(D=a.config&&a.config.marker)&&/^url\(/.test(D.symbol)&&delete D.symbol});W.series.push(n)});p=new T.Chart(W);q(["xAxis","yAxis"],function(a){q(g[a],function(c,h){var g=p[a][h],
n=c.getExtremes(),y=n.userMin,n=n.userMax;(y!==void 0||n!==void 0)&&g.setExtremes(y,n,!0,!1)})});t=p.container.innerHTML;W=null;p.destroy();c(a);t=t.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/isTracker="[^"]+"/g,"").replace(/url\((\\?[\'\"])[^#]+#/g,"url($1#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ href=/g," xlink:href=").replace(/id=([^" >]+)/g,'id="$1"').replace(/class=([^" >]+)/g,
'class="$1"').replace(/ transform /g," ").replace(/ visibility /g," ").replace(/visibility="[^"]+"/g,"").replace(/:(path|rect)/g,"$1").replace(/<img ([^>]*)>/gi,"<image $1 />").replace(/<\/image>/g,"").replace(/<image ([^>]*)([^\/])>/gi,"<image $1$2 />").replace(/width=(\d+)/g,'width="$1"').replace(/height=(\d+)/g,'height="$1"').replace(/hc-svg-href="/g,'xlink:href="').replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()});t=t.replace(/(url\(#highcharts-[0-9]+)&quot;/g,"$1").replace(/&quot;/g,
"'");t.match(/ xmlns="/g).length==2&&(t=t.replace(/xmlns="[^"]+"/,""));return t},exportChart:function(a,h){var g,t=this.getSVG(h),a=K(this.options.exporting,a),t=t.replace(/(\sd\s*=\s*["'])[M\s\d\.]*(["'])/ig,"$1M 0 0 L 0 0$2");a.type==="application/pdf"&&(t=t.replace(/(\<([^s^\s^\>]+)[^\>]+?opacity\s*=\s*['"][^1][^\>]+?(>[\n\r\s]*<\/[^>]+?>|\/>))/ig,'$1<$2 opacity="1" stroke-opacity="1" fill="#cccccc" stroke-width="0" r="0" height="0.5" width="0.5" y="0" x="0" d="M 0 0 L 1 1" />'));g=Ka("form",{method:"POST",
action:a.url},{display:"none"},B.body);q(["filename","type","width","svg"],function(c){Ka("input",{type:"hidden",name:c,value:{filename:a.filename||"FusionCharts",type:a.type,width:a.width,svg:t}[c]},null,g)});g.submit();c(g)},print:function(){var a=this,c=a.container,h=[],t=c.parentNode,n=B.body,P=n.childNodes;if(!a.isPrinting)a.isPrinting=!0,q(P,function(a,c){if(a.nodeType==1)h[c]=a.style.display,a.style.display="none"}),n.appendChild(c),g.print(),setTimeout(function(){t.appendChild(c);q(P,function(a,
c){if(a.nodeType==1)a.style.display=h[c]});a.isPrinting=!1},1E3)},contextMenu:function(c,g,p,t,n,P){var B=this,K=B.options.navigation,ab=K.menuItemStyle,Bb=B.chartWidth,aa=B.chartHeight,bb="cache-"+c,Y=B[bb],vb=D(n,P),Oa,L,ba;if(!Y)B[bb]=Y=Ka("div",{className:"highcharts-"+c},{position:"absolute",zIndex:1E3,padding:vb+"px"},B.container),Oa=Ka("div",null,h({MozBoxShadow:"1px 1px 3px rgba(0,0,0,0.5)",WebkitBoxShadow:"1px 1px 3px rgba(0,0,0,0.5)",boxShadow:"1px 1px 3px rgba(0,0,0,0.5)"},K.menuStyle),
Y),L=function(){I(Y,{display:"none"})},W(Y,"mouseover",function(){clearTimeout(ba)}),W(Y,"mouseleave",function(){ba=setTimeout(L,200)}),q(g,function(c){c&&(Ka("div",{onmouseover:function(){I(this,K.menuItemHoverStyle)},onmouseout:function(){I(this,ab)},innerHTML:c.text||T.getOptions().lang[c.textKey]},h({cursor:"pointer"},ab),Oa)[a?"ontouchstart":"onclick"]=function(){L();c.onclick.apply(B,arguments)})}),B.exportMenuWidth=Y.offsetWidth,B.exportMenuHeight=Y.offsetHeight;c={display:"block"};p+B.exportMenuWidth>
Bb?c.right=Bb-p-n-vb+"px":c.left=p-vb+"px";t+P+B.exportMenuHeight>aa?c.bottom=aa-t-vb+"px":c.top=t+P-vb+"px";I(Y,c)},addButton:function(c){function g(){Y.active||(T.attr(L),W.attr(Oa),ba&&p.tooltip&&p.tooltip.hide())}var p=this,t=p.renderer,n=K(p.options.navigation.buttonOptions,c),q=n.onclick,P=n.menuItems,I=n.menuId,B=n.width,D=n.height,W,T,Y,c=n.paddingRight,Ka=n.borderWidth,Oa={stroke:n.borderColor,fill:n.backgroundColor},L={stroke:n.symbolStroke,fill:n.symbolFill},ba;if(n.enabled===!1)return{};
p.options.navigation._buttonOptions.x>0&&(c=0);if(n.x==void 0)n.x=p.options.navigation._buttonOptions.x-B-5-(c||0);p.options.navigation._buttonOptions.x=n.x;W=t.rect(0,0,B,D,n.borderRadius,Ka).align(n,!0).attr(h({fill:n.backgroundColor,"stroke-width":Ka,zIndex:19},Oa)).add();Y=t.rect(0,0,B,D,0).align(n).attr({fill:"rgba(255, 255, 255, 0.001)",zIndex:21}).css({cursor:"pointer"}).on("mouseover",function(){T.attr({stroke:n.hoverSymbolStroke,fill:n.hoverSymbolFill});W.attr({stroke:n.hoverBorderColor});
ba&&p.tooltip&&p.tooltip.refresh(ba)}).on(a?"touchstart":"mousedown",function(){ba&&p.tooltip&&p.tooltip.hide()}).on("mouseout",g).on("click",g).add();ba=n.tooltip?{tooltipPos:[Y.attr("x")-15,Y.attr("y")+15],series:{},svgElm:Y.svgElm,point:{toolText:n.tooltip},getLabelConfig:function(){return this},tooltipConstraint:"chart"}:void 0;P&&I&&(q=function(){g();var a=Y.getBBox();p.contextMenu(I,P,a.x,a.y,B,D)});Y.on("click",function(){q.apply(p,arguments);ba&&p.tooltip&&p.tooltip.hide()});T=t.symbol(n.symbol,
n.symbolX,n.symbolY,(n.symbolSize||8)/2).align(n,!0).attr(h(L,{"stroke-width":n.symbolStrokeWidth||1,zIndex:20})).add();return{options:n,tooltipOptions:ba,hide:function(){g();T.hide();Y.hide();W.hide()},show:function(){T.show();Y.show();W.show()},activate:function(a){(a=Y.active=!!a)?(W.attr({stroke:n.hoverBorderColor,fill:n.activeBackgroundColor}),T.attr({stroke:n.hoverSymbolStroke,fill:n.hoverSymbolFill})):g()},onClick:q}}});T.Renderer.prototype.symbols.exportIcon=function(a,c,h){return["M",a-h,
c+h,"L",a+h,c+h,a+h,c+h*0.5,a-h,c+h*0.5,"Z","M",a,c+h*0.5,"L",a-h*0.5,c-h/3,a-h/6,c-h/3,a-h/6,c-h,a+h/6,c-h,a+h/6,c-h/3,a+h*0.5,c-h/3,"Z"]};T.Renderer.prototype.symbols.printIcon=function(a,c,h){return["M",a-h,c+h*0.5,"L",a+h,c+h*0.5,a+h,c-h/3,a-h,c-h/3,"Z","M",a-h*0.5,c-h/3,"L",a-h*0.5,c-h,a+h*0.5,c-h,a+h*0.5,c-h/3,"Z","M",a-h*0.5,c+h*0.5,"L",a-h*0.75,c+h,a+h*0.75,c+h,a+h*0.5,c+h*0.5,"Z"]};t.prototype.callbacks.push(function(a){var c,h=a.options.exporting,g=h.buttons;if(h.enabled!==!1)for(c in g)a.addButton(g[c])})}]);
(function(){var B=FusionCharts(["private","modules.renderer.highcharts-base"]);if(B!==void 0){var g=B.hcLib,D=!/fusioncharts\.com$/i.test(location.hostname),T=g.BLANKSTRINGPLACEHOLDER,t=g.BLANKSTRING,Ka=g.createTrendLine,c=g.pluck,I=g.getValidValue,a=g.pluckNumber,h=g.defaultPaletteOptions,K=g.getFirstValue,q=g.getDefinedColor,W=g.parseUnsafeString,P=g.FC_CONFIG_STRING,C=g.extend2,y=g.getDashStyle,p=g.toPrecision,U=g.graphics.getColumnColor,n=g.getFirstColor,Q=g.setLineHeight,Ga=g.pluckFontSize,Lb=
g.getFirstAlpha,ab=g.graphics.getDarkColor,Bb=g.graphics.getLightColor,aa=g.graphics.convertColor,bb=g.COLOR_TRANSPARENT,Y=g.POSITION_CENTER,vb=g.POSITION_TOP,Oa=g.POSITION_BOTTOM,L=g.POSITION_RIGHT,ba=g.POSITION_LEFT,F=g.chartAPI,Fa=g.graphics.mapSymbolName,Ba=g.COMMASTRING,Qa=g.ZEROSTRING,Va=g.ONESTRING,eb=g.HUNDREDSTRING,Xa=g.PXSTRING,Db=g.BGRATIOSTRING,yb=g.COMMASPACE,Eb=g.COLOR_WHITE,pb=g.TESTSTR,Wa=g.graphics.getAngle,s=g.POSITION_MIDDLE,z=g.STRINGUNDEFINED,X=g.axisLabelAdder,Rb=g.falseFN,S=
g.SmartLabelManager,ua=g.NumberFormatter,o=g.getLinkAction,$b=g.getAxisLimits,fc=g.HASHSTRING,lb=g.createDialog,cb=g.regex.dropHash,fa=Math.max,hc=Math.min,Cb=g.Highcharts,na={fontWeight:{1:"bold",0:"normal"},fontStyle:{1:"italic",0:"normal"},textDecoration:{1:"underline",0:"none"}},db={font:function(a,c){c.style.fontFamily=a},size:function(a,c){if(a)c.style.fontSize=Ga(a)+Xa},color:function(a,c,j){c.style.color=a&&a.replace&&a.replace(cb,fc)||t;if(j)c.color=c.style.color},bgcolor:function(a,c){c.style.backgroundColor=
a&&a.replace&&a.replace(cb,fc)||t},bordercolor:function(a,c){c.style.border="1px solid";c.style.borderColor=a&&a.replace&&a.replace(cb,fc)||t},ishtml:t,leftmargin:function(e,c){c.style.marginLeft=a(e,0)+Xa},letterspacing:function(e,c){c.style.letterSpacing=a(e,0)+Xa},bold:function(a,c){c.style.fontWeight=na.fontWeight[a]||""},italic:function(a,c){c.style.fontStyle=na.fontStyle[a]||""},underline:function(a,c){c.style.textDecoration=na.textDecoration[a]||""}},Ha={chart2D:{bgColor:"bgColor",bgAlpha:"bgAlpha",
bgAngle:"bgAngle",bgRatio:"bgRatio",canvasBgColor:"canvasBgColor",canvasBaseColor:"canvasBaseColor",divLineColor:"divLineColor",legendBgColor:"legendBgColor",legendBorderColor:"legendBorderColor",toolTipbgColor:"toolTipbgColor",toolTipBorderColor:"toolTipBorderColor",baseFontColor:"baseFontColor",anchorBgColor:"anchorBgColor"},chart3D:{bgColor:"bgColor3D",bgAlpha:"bgAlpha3D",bgAngle:"bgAngle3D",bgRatio:"bgRatio3D",canvasBgColor:"canvasBgColor3D",canvasBaseColor:"canvasBaseColor3D",divLineColor:"divLineColor3D",
divLineAlpha:"divLineAlpha3D",legendBgColor:"legendBgColor3D",legendBorderColor:"legendBorderColor3D",toolTipbgColor:"toolTipbgColor3D",toolTipBorderColor:"toolTipBorderColor3D",baseFontColor:"baseFontColor3D",anchorBgColor:"anchorBgColor3D"}},J=function(){var a={},c,j=function(){var f,d,j,h,g=0,k;for(f in a)if(g+=1,d=a[f],j=d.jsVars,h=(d=d.ref)&&d.parentNode){if(k=h.offsetWidth,h=h.offsetHeight,!j.resizeLocked&&(j._containerOffsetW!==k||j._containerOffsetH!==h))d.resize&&d.resize(),j._containerOffsetW=
k,j._containerOffsetH=h}else delete a[f],g-=1;g||(c=clearInterval(c))};return function(f){var d=f.jsVars,x=f.ref&&f.ref.parentNode||{};d._containerOffsetW=x.offsetWidth;d._containerOffsetH=x.offsetHeight;a[f.id]=f;c||(c=setInterval(j,300))}}(),wb={getExternalInterfaceMethods:function(){var a=F[this.jsVars.type],a=a&&a.eiMethods,c="saveAsImage,print,exportChart,getXML,hasRendered,signature,cancelExport,getSVGString,";if(typeof a==="string")c+=a+Ba;else if(a!==void 0||a!==null)for(var j in a)c+=j+Ba;
return c.substr(0,c.length-1)},drawOverlayButton:function(a){var c=this.jsVars,j=c.$overlayButton;if(a&&a.show){if(!j)j=c.$overlayButton=jQuery("<span>"),j.click(function(){B.raiseEvent("OverlayButtonClick",a,c.fcObj)});j.text(a.message?a.message:"Back");c.overlayButtonMessage=j.text();j.css({border:"1px solid "+(a.borderColor?a.borderColor.replace(cb,fc):"#7f8975"),backgroundColor:a.bgColor?a.bgColor.replace(cb,fc):"#edefec",fontFamily:a.font?a.font:"Verdana",color:"#"+a.fontColor?a.fontColor:"49563a",
fontSize:(a.fontSize?a.fontSize:"10")+Xa,padding:(a.padding?a.padding:"3")+Xa,fontWeight:parseInt(a.bold,10)===0?"normal":"bold",position:"absolute",top:"0",right:"0",_cursor:"hand",cursor:"pointer"});c.hcObj.container.appendChild(j[0]);c.overlayButtonActive=!0}else if(j)j.detach(),c.overlayButtonActive=!1,delete c.overlayButtonMessage},print:function(){return this.jsVars.hcObj&&this.jsVars.hcObj.hasRendered&&this.jsVars.hcObj.print()},exportChart:function(a){var c=this.jsVars.hcObj,j={},f;if(c&&
c.options&&c.options.exporting&&c.options.exporting.enabled){if(!(a===void 0||a===null))for(f in a)switch(f.toLowerCase()){case "exportfilename":j.filename=a[f];break;case "exportformat":j.type={png:"image/png",jpg:"image/jpeg",pdf:"application/pdf",svg:"image/svg+xml"}[a[f].toLowerCase()]||"image/png"}c.exportChart(j)}},getSVGString:function(){return this.jsVars&&this.jsVars.hcObj&&this.jsVars.hcObj.getSVG&&this.jsVars.hcObj.getSVG()},resize:function(){var a=this.jsVars,c=a.container,j=a.fcObj,f=
a.hcObj;f&&(f&&f.destroy&&f.destroy(),g.createChart(a.fcObj,c,a.type,void 0,void 0,!1),delete a.isResizing,g.raiseEvent("resized",{width:j.width,height:j.height,prevWidth:a.width,prevHeight:a.height},j,[j.id]))},lockResize:function(a){return this.jsVars.resizeLocked=a===void 0&&!0||a},showChartMessage:function(a,c,j){var f=this.jsVars,d=f.hcObj;f.msgStore[a]&&(a=f.msgStore[a]);c&&d&&d.hasRendered?a?d.showLoading(a,j):d.hideLoading():(d&&d.destroy&&d.destroy(),g.createChart(f.fcObj,f.container,f.type,
void 0,a));return a},signature:function(){return"FusionCharts/3.2.2 (XT)"}};g.createChart=function(a,c,j,f,d,x,h){var H=a.jsVars,k=H.msgStore,A,u=F[j],n,p=function(d){var k={renderer:"javascript"},x=H.fcObj,h=x.width,E=x.height,A=u&&u.eiMethods,p=H.$overlayButton;c.jsVars=a.jsVars;H.container=c;H.hcObj=d;H.type=j;H.width=c.offsetWidth;H.height=c.offsetHeight;H.instanceAPI=n;d.container&&(d.container.style.backgroundColor=H.transparent?"transparent":"#ffffff");if(d.hasRendered){B.extend(c,wb);if(A&&
typeof A!=="string")for(var t in A)c[t]=A[t];H.overlayButtonActive&&p&&(p.text(H.overlayButtonMessage),d.container.appendChild(p[0]))}f&&(f({success:d.hasRendered,ref:c,id:a.id}),d.hasRendered&&(h=Number((h&&h.match&&h.match(/^\s*(\d*\.?\d*)\%\s*$/)||[])[1]),E=Number((E&&E.match&&E.match(/^\s*(\d*\.?\d*)\%\s*$/)||[])[1]),(h||E)&&x.ref&&x.ref.parentNode&&J(x),g.raiseEvent("loaded",{type:j,renderer:"javascript"},a,[a.id]),g.raiseEvent("rendered",{renderer:"javascript"},x,[x.id])));if(d.hasRendered&&
H.previousDrawCount<H.drawCount)k.width=H.width,k.height=H.height,k.drawCount=H.drawCount,k.drawingLatency=n.drawingLatency,k.displayingMessage=H.hasNativeMessage,g.raiseEvent("drawcomplete",k,x,[x.id])};a.__state.dataReady=!1;H.instanceAPI&&H.instanceAPI.dispose&&H.instanceAPI.dispose();n=u?new F(j):new F("stub");n.chartInstance=a;if(d!==void 0){if(typeof d==="string")d=new lb(c,d),H.hasNativeMessage=!0}else!u||!u.init||u&&u.name==="stub"?(d=new lb(c,k.ChartNotSupported),H.hasNativeMessage=!0):H.message?
(d=new lb(c,H.message),H.hasNativeMessage=!0):H.loadError?(d=new lb(c,k.LoadDataErrorText),H.hasNativeMessage=!0):H.stallLoad?(d=new lb(c,k.XMLLoadingText),H.hasNativeMessage=!0):(d=a.getChartData(FusionChartsDataFormats.JSON,!0),A=d.data,d.error instanceof Error?(d=new lb(c,k.InvalidXMLText),H.hasNativeMessage=!0,h||g.raiseEvent("dataxmlinvalid",{},H.fcObj,[H.fcObj.id])):(h||g.raiseEvent("dataloaded",{},H.fcObj,[H.fcObj.id]),d=n.init(c,A,a,p),H.previousDrawCount=H.drawCount,H.drawCount+=1,d.series.length===
0?(d=new lb(c,k.ChartNoDataText),H.hasNativeMessage=!0,h||g.raiseEvent("nodatatodisplay",{},H.fcObj,[H.fcObj.id])):(a.__state.dataReady=!0,H.hasNativeMessage=!1,delete H.message)));if(!d)d=new lb(c,"Error rendering chart {0x01}"),H.hasNativeMessage=!0;d.chart=d.chart||{};d.chart.renderTo=c;d.instanceAPI=n;d.credits=d.credits||{};d.credits.enabled=u&&u.creditLabel===!0?!0:!1;if(x===!1)d.chart.animation=!1,(d.plotOptions||(d.plotOptions={}))&&(d.plotOptions.series||(d.plotOptions.series={})),d.plotOptions.series.animation=
!1;return n.draw(d,p)};var ac=g.HCstub=function(e,c,j,f){var e=e.chart,d=a(e.charttopmargin,f.charttopmargin,15),x=a(e.chartrightmargin,f.chartrightmargin,15),h=a(e.chartbottommargin,f.chartbottommargin,15),g=a(e.chartleftmargin,f.chartleftmargin,15),k=d+h,A=g+x;j*=0.7;c*=0.7;k>j&&(d-=(k-j)*d/k,h-=(k-j)*h/k);A>c&&(g-=(A-c)*g/A,x-=(A-c)*x/A);c={_FCconf:{0:{stack:{}},1:{stack:{}},x:{stack:{}},oriCatTmp:[],noWrap:!1,marginLeftExtraSpace:0,marginRightExtraSpace:0,marginBottomExtraSpace:0,marginTopExtraSpace:0,
marimekkoTotal:0},chart:{alignTicks:!1,renderTo:t,ignoreHiddenSeries:!1,events:{},reflow:!1,spacingTop:d,spacingRight:x,spacingBottom:h,spacingLeft:g,marginTop:d,marginRight:x,marginBottom:h,marginLeft:g,borderRadius:0,plotBackgroundColor:"#FFFFFF",style:{},animation:!a(e.defaultanimation,1)?!1:{duration:a(e.animationduration,1)*500}},colors:["AFD8F8","F6BD0F","8BBA00","FF8E46","008E8E","D64646","8E468E","588526","B3AA00","008ED6","9D080D","A186BE","CC6600","FDC689","ABA000","F26D7D","FFF200","0054A6",
"F7941C","CC3300","006600","663300","6DCFF6"],credits:{href:"http://www.fusioncharts.com?BS=FCHSEvalMark",text:"FusionCharts",enabled:!0},global:{},labels:{items:[]},lang:{},legend:{enabled:!0,symbolWidth:12,borderRadius:1,backgroundColor:"#FFFFFF",initialItemX:0,title:{text:t,x:0,y:0,padding:2},scroll:{},itemStyle:{}},loading:{},plotOptions:{series:{pointPadding:0,borderColor:"#333333",events:{},animation:!a(e.animation,e.defaultanimation,1)?!1:{duration:a(e.animationduration,1)*1E3},states:{hover:{enabled:!1},
select:{enabled:!1}},dataLabels:{enabled:!0,color:"#555555",style:{},formatter:function(){return this.point.showPercentValues?f.numberFormatter.percentValue(this.percentage):this.point.displayValue}},point:{events:{}}},area:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},radar:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},areaspline:{states:{hover:{enabled:!1}},marker:{lineWidth:1,
radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},line:{shadow:!0,states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},scatter:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},bubble:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},spline:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},
select:{enabled:!1}}}},pie:{size:"80%",allowPointSelect:!0,cursor:"pointer",point:{events:{legendItemClick:e.interactivelegend===Qa?Rb:function(){this.slice()}}}},pie3d:{size:"80%",allowPointSelect:!0,cursor:"pointer",point:{events:{legendItemClick:e.interactivelegend===Qa?Rb:function(){this.slice()}}}},column:{},floatedcolumn:{},column3d:{},bar:{},bar3d:{}},point:{},series:[],subtitle:{text:t,style:{}},symbols:[],title:{text:t,style:{}},toolbar:{},tooltip:{borderRadius:1,style:{},formatter:function(){return this.point.showPercentInToolTip?
this.point.toolText+parseInt(this.percentage*100,10)/100+"%":this.point.toolText}},xAxis:{steppedLabels:{style:{}},labels:{x:0,style:{},enabled:!1},lineWidth:0,plotLines:[],plotBands:[],title:{style:{},text:t},tickWidth:0,scroll:{enabled:!1}},yAxis:[{startOnTick:!1,endOnTick:!1,title:{style:{},text:t},tickLength:0,labels:{x:0,style:{}},plotBands:[],plotLines:[]},{tickLength:0,gridLineWidth:0,startOnTick:!1,endOnTick:!1,title:{style:{},text:t},labels:{x:0,style:{},enabled:!1,formatter:function(){return this.value!==
T?this.value:t}},opposite:!0,plotBands:[],plotLines:[]}],exporting:{buttons:{exportButton:{},printButton:{enabled:!1}}}};if(e.palettecolors&&typeof e.palettecolors==="string")c.colors=e.palettecolors.split(Ba);return f.hcJSON=c},ka=g.placeVerticalAxis=function(e,c,j,f,d,x,h,g,k,A){var u=j[P],n=u.smartLabel,p,v,o,s,q=0,g=u.marginRightExtraSpace,y=u.marginLeftExtraSpace,C={},G={},z={},B=e.plotLines,D=e.plotBands,da=c.verticalAxisValuesPadding,V=c.verticalAxisValuesPadding,N=c.verticalAxisNamePadding,
F=c.verticalAxisNameWidth,K=c.rotateVerticalAxisName,Q=e.offset?e.offset:0,W=0,X=0,T=0,U=0,S=0,R=0,Mb=0,Y,J,ga,aa,u=2,Mb=h?g+8:y+4,ka=function(a,e){var d,f;if(a&&a.label&&I(a.label.text)!==void 0){ga=a.label;if(ga.style&&ga.style!==J)J=ga.style,n.setStyle(J);p=n.getOriSize(a.label.text);f=(d=p.width)?d+2:0;if(a.isGrid){if(C[e]={width:d,height:p.height,label:ga},U<=f)U=f,c.lYLblIdx=e}else a.isTrend&&(h&&ga.textAlign===ba||ga.textAlign===L?(G[e]={width:d,height:p.height,label:ga},S=fa(S,f)):(z[e]={width:d,
height:p.height,label:ga},R=fa(R,f)))}},oa=function(a,c){var m,f=c?q:q+a;return f>0?(K?(f<v.height&&(v=n.getSmartText(e.title.text,d,f)),m=v.height):(f<v.width&&(v=n.getSmartText(e.title.text,f,d)),m=v.width),e.title.text=v.text,c?f-m+a:f-m):(e.title.text=t,0)},na=function(a,e,c){for(var d in a)a[d].label.x=e,a[d].label.y=c};Y=0;for(T=D.length;Y<T;Y+=1)ka(D[Y],Y);Y=0;for(T=B.length;Y<T;Y+=1)ka(B[Y],Y);if(e.title&&e.title.text!=t)J=e.title.style,n.setStyle(J),o=n.getOriSize(pb).height,K?(v=n.getSmartText(e.title.text,
d,x),q=v.height,s=o):(e.title.rotation=0,v=n.getSmartText(e.title.text,F!==void 0?F:x,d),q=v.width,s=20);R>0&&(X=R+V);k&&(f=a(f.chart.maxlabelwidthpercent,0),f>=1&&f<=100&&(k=f*k/100,U>k&&(U=k)));W=fa(S,U);W+=W?da:0;q>0&&(W+=q+N+Mb);(function(){if(X+W>x){aa=X+W-x;if(X)if(V>=aa){V-=aa;return}else aa-=V,V=0;if(da+N>=aa)N>=aa?N-=aa:(da-=aa-N,N=0);else{aa-=da+N;N=da=0;if(R>20)if(S>U)if(R-S>=aa){R-=aa;return}else if(S-R>=aa){S-=aa;return}else if(S>R?(aa-=S-R,S=R):(aa-=R-S,R=S),2*(S-U)>=aa){R-=aa/2;S-=
aa/2;return}else aa-=2*(S-U),R=S=U;else if(R-20>=aa){R-=aa;return}else aa-=R-20,R=20;if(S>U)if(S-U>=aa){S-=aa;return}else aa-=S-U,S=U;q-s>=aa?q-=aa:(aa-=q-s,q=s,R>=aa?R=0:(aa-=R,R=0,q>=aa?q=0:(aa-=q,q=0,U>=aa&&(U-=aa,S=U))))}}})();T=function(a,e){var c,m=0,f=e?R-2:R+a-2;if(R>0){for(Y in z)if(ga=z[Y].label,z[Y].width>f){if(ga.style&&ga.style!==J)J=ga.style,n.setStyle(J);c=n.getSmartText(ga.text,f,d,!0);ga.text=c.text;z[Y].height=c.height;m=Math.max(m,c.width)}else m=Math.max(m,z[Y].width);return e?
f-m+a:f-m}else{for(Y in z)z[Y].label.text=t;return 0}}(0,!0);T=oa(T,!0);T=function(a){var e=0,c=Math.max(U,S)+a-2;if(c>0){for(Y in C)if(ga=C[Y].label,C[Y].width>c){if(ga.style&&ga.style!==J)J=ga.style,n.setStyle(J);a=n.getSmartText(ga.text,c,d,!0);ga.text=a.text;C[Y].height=a.height;e=Math.max(e,a.width)}else e=Math.max(e,C[Y].width);for(Y in G)if(ga=G[Y].label,G[Y].width>c){if(ga.style&&ga.style!==J)J=ga.style,n.setStyle(J);a=n.getSmartText(ga.text,c,d,!0);ga.text=a.text;G[Y].height=a.height;e=Math.max(e,
a.width)}else e=Math.max(e,G[Y].width);return c-e}else{for(Y in C)C[Y].label.text=t;for(Y in G)G[Y].label.text=t;return 0}}(T);T=oa(T);k=c.verticalAxisNamePadding-N;T&&k&&(T>k?(N+=k,T-=k):(N+=T,T=0));k=c.verticalAxisValuesPadding-da;T&&k&&(T>k?(da+=k,T-=k):(da+=T,T=0));k=c.verticalAxisValuesPadding-V;T&&k&&(T>k?(V+=k,T-=k):(V+=T,T=0));R>0&&(X=R+V);W=fa(S,U);W+=W?da:0;q>0&&(W+=q+N+Mb);k=fa(S,U);k+=k>0?da:0;q>0?(K?q<v.height&&(v=n.getSmartText(e.title.text,d,q)):(q<v.width&&(v=n.getSmartText(e.title.text,
q,d)),e.title.y=-((v.height-o)/2)),e.title.text=v.text,e.title.margin=k+N+Mb+(K?q-o:q/2)):e.title.text=t;o=-(da+Q+y+2);g=g+V+Q+2;Mb=fa(S,U);e.labels.style&&(u=parseInt(e.labels.style.fontSize,10)*0.35);h?(R>0&&na(z,o,u),Mb>0&&(na(C,g,u),na(G,g,u))):(R>0&&na(z,g,u),Mb>0&&(na(C,o,u),na(G,o,u)));A?(j.chart.marginLeft+=h?X:W-A,j.chart.marginRight+=h?W-A:X):(j.chart.marginLeft+=h?X:W,j.chart.marginRight+=h?W:X);return X+W},qb=g.titleSpaceManager=function(e,c,j,f){var d=c.chart,h=W(d.caption),c=W(d.subcaption),
g=d=a(d.captionpadding,10),H=e[P].smartLabel,k=!1,A=0,u,n,p=0,v=0,o=0,q=0,s=0,y=0,C=e.title,G=e.subtitle;if(h!==t)u=C.style,o=a(parseInt(u.fontHeight,10),parseInt(u.lineHeight,10),12),y=a(parseInt(u.fontSize,10),10);if(c!==t)n=G.style,q=a(parseInt(n.fontHeight,10),parseInt(n.lineHeight,10),12),s=a(parseInt(n.fontSize,10),10);if(o>0||q>0){A=o+q+d;A>f?(p=A-f,k=!0,p<d?d-=p:(p-=d,d=0,q>p?(v=q-p+10,q=0):(p-=q,q=0,o>p&&(v=o-p),o=0))):v=f-A;if(o>0)H.setStyle(u),o+=v,f=H.getSmartText(h,j,o),v=o-f.height,
o=f.height,C.text=f.text,C.y=y;if(q>0)H.setStyle(n),q+=v,j=H.getSmartText(c,j,q),v=q-j.height,q=j.height,G.text=j.text,G.y=s+o;k&&v>0&&(d+=hc(g-d,v));A=o+q+d;e.chart.marginTop+=A}return A},Ra=g.stepYAxisNames=function(a,c,j,f,d,h){for(var g=0,H=f.plotLines,k=[],A,u=f.plotLines.length,c=c[P].smartLabel,n=parseFloat(Ga(j.basefontsize,10)),p;g<u;g+=1)j=H[g],j.isGrid&&j.label&&j.label.text&&(k.push(j),j.value===0&&(A=k.length-1));if(u=k.length)if(f.labels.style?c.setStyle(f.labels.style):k[0].label&&
k[0].label.style&&c.setStyle(f.labels.style),g=c.getOriSize("W").height,h||(g+=n*0.4),a/=u-1,a<g){h=Math.max(1,Math.ceil(g/a));for(g=a=A;g<u;g+=1){j=k[g];if(g===d){if((g-a)%h&&p)p.label.text="";a=d}if(j&&j.label)(g-a)%h?j.label.text=t:p=j}for(g=a=A;g>=0;g-=1){j=k[g];if(g===d){if((a-g)%h&&p)p.label.text="";a=d}if(j&&j.label)(a-g)%h?j.label.text=t:p=j}}},Da=g.placeHorizontalAxis=function(e,c,j,f,d,h,g){var H=j[P],k=f&&f.chart||{},A,u,n,p,v,q,o,s,y,C,G,B=0,D=0,F=10,da=1,V=0,N=V=0,K=!1,W=!1,T=!1,Q=a(k.labelstep,
0);C=a(k.xaxisminlabelwidth,0);var S=c.labelDisplay,U=c.rotateLabels,X=c.horizontalLabelPadding,aa=H.marginBottomExtraSpace;y=j.chart.marginLeft;var R=j.chart.marginRight,J=H.smartLabel,na=c.catCount,ka=c.slantLabels,ga=d/(e.max-e.min),Ba=0,ua=0,N={w:0,h:0},oa=f&&f.chart||{},f=a(oa.updateinterval,oa.refreshinterval)*1E3,oa=oa.datastreamurl,Ka=Boolean(this.realtimeEnabled&&f&&oa!==void 0);if(e.labels.style)q=e.labels.style,J.setStyle(q),s=J.getOriSize("W"),F=s.height,o=s.width+4,G=J.getOriSize("WWW").width+
4;var M,ja,qa=[],f=[],ha=0,sa=0,ra,xa,oa=c.horizontalAxisNamePadding;M=0;var ta=c.staggerLines,ia=Ba,Fa=!1;if(e.title&&e.title.text!=t)q=e.title.style,J.setStyle(q),V=J.getOriSize("W").height,e.title.rotation=0,p=J.getSmartText(e.title.text,d,h),D=p.height;j.chart.marginLeft!=parseInt(k.chartleftmargin,10)&&(A=!0);j.chart.marginRight!=parseInt(k.chartrightmargin,10)&&(ja=!0);M=d-g;switch(S){case "none":K=T=!0;U&&(B=ka?300:270,s=F,F=o,o=s);break;case "rotate":B=ka?300:270;s=F;F=o;o=s;K=!0;break;case "stagger":W=
K=!0;g=Math.floor((h-V)/F);g<ta&&(ta=g);break;default:U&&(B=ka?300:270,s=F,F=o,o=s)}H.isBar&&(K=!0);k=0;g=e.plotLines;if(typeof j._FCconf.isXYPlot===z&&!H.isBar){for(ra=g.length;k<ra;k+=1)(u=g[k])&&(u.isGrid?qa.push(u):u.isTrend&&f.push(u));U=e.plotBands;k=0;for(ra=U.length;k<ra;k+=1)(u=U[k])&&f.push(u);U=qa.length-1;ra=qa.length;W&&(ta>ra?ta=ra:ta<2&&(ta=2));if(ra){e.scroll&&e.scroll.viewPortMin&&e.scroll.viewPortMax?(n=e.scroll.viewPortMin,da=e.scroll.viewPortMax,ja=A=!1):(n=e.min,da=e.max);k=(qa[U].value-
qa[0].value)*ga;xa=k/(na-1);k=(qa[0].value-n)*ga;n=(da-qa[U].value)*ga;S==="auto"?xa<G&&(B=ka?300:270,s=F,F=o,o=s,K=!0):S==="stagger"&&(xa*=ta);o<C&&(o=C);da=!W&&!T?B?Math.max(1,Q,Math.ceil(F/xa)):Math.max(1,Q,Math.ceil(o/xa)):Math.max(1,Q);if(H.x)H.x.stepValue=da;xa*=da;y=(k+y)*2;if((v=g[0].label)&&v.text)v.style&&J.setStyle(v.style),C=Math.min(xa,J.getOriSize(v.text).width+4),C>y&&(ha=(C-y)/2);y=(n+R)*2;if((v=g[U].label)&&v.text)v.style&&J.setStyle(v.style),C=Math.min(xa,J.getOriSize(v.text).width+
4),C>y&&(sa=(C-y)/2);k=ha+sa;if(k>0){M>k?(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):ha<sa?M>=sa&&ja?(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,ga=d/(e.max-e.min)):A&&(R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):M>=ha&&A?(R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):ja&&(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,ga=d/(e.max-e.min));k=(qa[U].value-
qa[0].value)*ga;xa=k/(na-1);W&&(xa*=ta);da=!W&&!T?B?Math.max(1,Q,Math.ceil(F/xa)):Math.max(1,Q,Math.ceil(o/xa)):Math.max(1,Q);if(H.x)H.x.stepValue=da;xa*=da}for(n=0;n<ra;n+=1){u=qa[n];if(n%da&&u.label){if(u.stepped=!0,u.label.style=e.steppedLabels.style,!Ka)continue}else u.stepped=!1,u.label.style=e.labels.style;if(u&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(B&&T)A=J.getOriSize(v.text),N.w=fa(N.w,A.width+4),N.h=fa(N.h,A.height);else if(!T)A=B||
W?J.getOriSize(v.text):J.getSmartText(v.text,xa-4,h,K),N.w=fa(N.w,A.width+4),N.h=fa(N.h,A.height)}}}n=0;for(ra=f.length;n<ra;n+=1)if((u=f[n])&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);A=J.getOriSize(v.text);v.verticalAlign===Oa?Ba=fa(Ba,A.height):ua=fa(ua,A.height)}e.scroll&&e.scroll.enabled&&!B&&!T&&(R=N.w/2,j.chart.marginLeft<R&&(y=R-j.chart.marginLeft,M>y&&(d-=y,M-=y,j.chart.marginLeft+=y)),j.chart.marginRight<R&&(y=R-j.chart.marginRight,M>y&&
(d-=y,M-=y,j.chart.marginRight+=y)))}else{var Q={},Ha,S=sa=0,Ga=null;p=null;na={};Fa=!0;ga=d/(e.max-e.min);Ka=function(a,c,d){var f,m,k,h,x,g;g=a.plotObj;x=a.labelTextWidth;if(!x){v=g.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);x=J.getOriSize(v.text).width+4;a.oriWidth=x;x>Ha&&(x=Ha);a.labelTextWidth=x;a.leftEdge=g.value*ga-x/2;a.rightEdge=g.value*ga+x/2;if(d)x=Math.min(x,2*(u.value-e.min)*ga+j.chart.marginLeft),a.labelTextWidth=x}if(typeof c!==z){d=c.plotObj;v=d.label;if(v.style&&v.style!==
q)q=v.style,J.setStyle(q);c.oriWidth?k=c.oriWidth:(k=J.getOriSize(v.text).width+4,c.oriWidth=k);k>Ha&&(k=Ha);c.labelTextWidth=k;c.leftEdge=d.value*ga-k/2;c.rightEdge=d.value*ga+k/2;f=g.value*ga;m=f+x/2;h=d.value*ga;k=h-k/2;if(k<m)if(f+o<h-o)m-=k,f=h-f,a.labelTextWidth=m>f?Math.min(x,f):Math.max(o,x-m/2),c.labelTextWidth=2*(f-a.labelTextWidth/2),a.leftEdge=g.value*ga-a.labelTextWidth/2,a.rightEdge=g.value*ga+a.labelTextWidth/2,c.leftEdge=d.value*ga-c.labelTextWidth/2,c.rightEdge=d.value*ga+c.labelTextWidth/
2;else return c.labelTextWidth=0,d.label.text=t,!1}else if(d)x=Math.min(x,2*(e.max-u.value)*ga+j.chart.marginRight),a.labelTextWidth=x,a.leftEdge=g.value*ga-x/2,a.rightEdge=g.value*ga+x/2;a.nextCat=c;return!0};W?ta>ra?ta=ra:ta<2&&(ta=2):ta=1;for(ra=g.length;k<ra;k+=1)if((u=g[k])&&u.label&&typeof u.label.text!==z)u.isGrid?(G={plotObj:u},u.isCat&&(ha=k%ta,Q[ha]||(Q[ha]=[]),Ga?(p=G,Q[ha].push(p)):(p=Ga=G,Q[ha].push(Ga))),qa.push(G)):u.isTrend&&f.push({plotObj:u});U=e.plotBands;k=0;for(ra=U.length;k<
ra;k+=1)(u=U[k])&&u.isTrend&&u.label&&typeof u.label.text!==z&&f.push({plotObj:u});if(qa.length)if(!T&&!B)if(H.distributedColumns){k=0;for(ra=qa.length;k<ra;k+=1)if(n=qa[k],ja=k%ta,u=n.plotObj,u.label&&u.isCat){k-ta>=0?(A=qa[k-ta],ja=A.plotObj.value*ga+A.plotObj._weight*ga/2):(A=null,ja=e.min*ga-y);k+ta<ra?(s=qa[k+ta],s=s.plotObj.value*ga-s.plotObj._weight*ga/2):(s=null,s=e.max*ga+R);v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);ha=u.value*ga;M=ha-u._weight*ga/2;Q=ha+u._weight*ga/2;ta>
1?(A=M-ja,ja=Q+s,ja=Q-M+Math.min(A,ja)):ja=Q-M;v=u.label;v.style&&v.style!==q&&J.setStyle(v.style);ja<o&&o<J.getOriSize(v.text).width?(u.label.text=t,n.labelTextWidth=0):(n.labelTextWidth=ja,A=J.getSmartText(v.text,ja-4,h,K),ja=A.width+4,n.labelTextWidth=ja,N.h=Math.max(N.h,A.height))}}else{ra=qa.length;U=qa.length-1;(k=(qa[U].plotObj.value-qa[0].plotObj.value)*ga)?(Ha=k*0.1,G=Math.max(k*0.2,k/ra)):G=Ha=d;for(n in Q){k=0;for(C=Q[n].length;k<C;){for(ha=k+1;!Ka(Q[n][k],Q[n][ha]);)ha+=1;k=ha}}Ga&&(S=
(Ga.plotObj.value-e.min)*ga+y-Ga.labelTextWidth/2);u=qa[0].plotObj;if(!Ga||u!==Ga.plotObj){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);C=J.getOriSize(v.text).width+4;ha=(u.value-e.min)*ga+y;Ga&&(k=S-ha,C=k<C&&k>o/2?k*2:0);qa[0].labelTextWidth=C;C>0&&(s=ha-C/2);s<S&&(S=s)}if(p)C=p.labelTextWidth,sa=(e.max-p.plotObj.value)*ga+R-C/2;u=qa[U].plotObj;if(!p||u!==p.plotObj){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);C=J.getOriSize(v.text).width+4;ha=(e.max-u.value)*ga+R;p&&(k=
ha-sa,C=k<C&&k>o/2?k*2:0);qa[U].labelTextWidth=C;C>0&&(s=ha-C/2);s<sa&&(sa=s)}ha=S<0?-S:0;sa=sa<0?-sa:0;k=ha+sa;if(k>0)for(n in M>k?(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):ha<sa?M>=sa&&ja?(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,ga=d/(e.max-e.min)):A&&(R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):M>=ha&&A?(R=(R=ha*d/(ha+d))?R+4:0,j.chart.marginLeft+=R,d-=R,ga=d/(e.max-e.min)):
ja&&(R=(R=sa*d/(sa+d))?R+4:0,j.chart.marginRight+=R,d-=R,ga=d/(e.max-e.min)),R=j.chart.marginRight,y=j.chart.marginLeft,k=(qa[U].plotObj.value-qa[0].plotObj.value)*ga,Ha=k*0.1,G=Math.max(k*0.2,k/ra),Q){k=0;for(C=Q[n].length;k<C;){for(ha=k+1;!Ka(Q[n][k],Q[n][ha],!0);)ha+=1;k=ha}n+=1}k=0;for(ra=qa.length;k<ra;k+=1)if(n=qa[k],ja=k%ta,u=n.plotObj,u.label)if(u.isCat)n.labelTextWidth&&(na[ja]=n);else{s=(A=na[ja])?A.nextCat:Q[ja]?Q[ja][0]:null;A=null;if(k>=ta){ja=k-ta;for(A=qa[ja];!A.labelTextWidth;)if(ja>=
ta)ja-=ta,A=qa[ja];else{A=null;break}}ja=A?A.rightEdge:e.min*ga-y;s=s?s.leftEdge:e.max*ga+R;v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);C=J.getOriSize(v.text).width+4;M=u.value*ga-C/2;if(H.isBar&&k==ra-1&&A){if(ja>M)A.plotObj.label.text=t,A.labelTextWidth=0,ja=A.leftEdge}else if(ja>M||s<M+C){u.label.text=t;n.labelTextWidth=0;continue}ja=Math.max(ja,M);ha=u.value*ga;ja=2*Math.min(ha-ja,s-ha);v=u.label;v.style&&v.style!==q&&J.setStyle(v.style);ja<o&&o<J.getOriSize(v.text).width?(u.label.text=
t,n.labelTextWidth=0):(n.labelTextWidth=ja,A=J.getSmartText(v.text,ja-4,h,K),ja=A.width+4,n.labelTextWidth=ja,n.leftEdge=ha-ja/2,n.rightEdge=ha+ja/2,N.h=Math.max(N.h,A.height))}A=R=ja=y=null;k=0;for(ra=qa.length;k<ra;k+=1)if(n=qa[k],u=n.plotObj,ja=k%ta,u.isCat&&n.labelTextWidth){A=R=null;ha=u.value*ga;if(k>=ta){ja=k-ta;for(A=qa[ja];!A.labelTextWidth;)if(ja>ta)ja-=ta,A=qa[ja];else{A=null;break}}A=A?ha-A.rightEdge:ha-e.min*ga+j.chart.marginLeft;if(k+ta<ra){y=k+ta;for(R=qa[y];!R.labelTextWidth;)if(y+
ta<ra-1)y+=ta,R=qa[y];else{R=null;break}}ja=R?R.leftEdge-ha:e.max*ga+j.chart.marginRight-ha;ja=Math.min(A,ja)*2;ja>G&&(ja=G);if(ja>n.oriWidth)ja=n.oriWidth;n.labelTextWidth=ja;v=u.label;v.style&&v.style!==q&&J.setStyle(v.style);A=J.getSmartText(v.text,ja-4,h,K);n.labelTextWidth=A.width+4;N.h=Math.max(N.h,A.height);n.rightEdge=ha+n.labelTextWidth/2}}else if(B){k=0;for(ra=qa.length;k<ra;k+=1)if((u=qa[k].plotObj)&&u.label&&u.label.text){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);n=1;if(k+
n<ra)for(R=qa[n+k].plotObj;R&&(R.value-u.value)*ga<o;)if(u.isCat){if(R.label){R.label.text=t;n+=1;if(n+k>=ra-1)break;R=g[n+k].plotObj}}else if(R.isCat){u.label.text=t;u=R;k+=n-1;v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);break}N.w=Math.max(N.w,J.getOriSize(v.text).width+4)}}n=0;for(ra=f.length;n<ra;n+=1)if((u=f[n].plotObj)&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);A=J.getOriSize(v.text);v.verticalAlign===Oa?Ba=fa(Ba,A.height):ua=fa(ua,
A.height)}}if(T){if(M=F,B)M=N.w}else M=B?N.w:W?ta*F:N.h;M>0&&(ia+=X+M);D>0&&(ia+=D+oa);N=ua+ia+2;s=0;N>h&&(k=N-h,oa>k?(oa-=k,k=0):(k-=oa,oa=0,X>k?(X-=k,k=0):(k-=X,X=0)),ua>k?(ua-=k,k=0):(ua>0&&(k-=ua,ua=0),k>0&&(Ba>k?(Ba-=k,k=0):(Ba>0&&(k-=Ba,Ba=0),k>0&&((s=D-V)>k?(D-=k,k=0):(k-=s,D=V,k>0&&((s=M-F)>k?(M-=k,k=0):(k-=s,M=F,k>0&&(k-=D+oa,D=0,k>0&&(k-=M,M=0,k>0&&(X-=k)))))))))));X+=aa;var R=H.is3d?-j.chart.xDepth:0,h=M+X,Da,ia=R;y=F*0.5;V=F+X;ra=qa.length;N=0;if(Fa)if(B){xa=L;Da=ka?X+8:X+4;ra=qa.length;
for(n=0;n<ra;n+=1)if((u=qa[n].plotObj)&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);k=1;A=J.getSmartText(v.text,M-4,o,K);v.text=A.text;ia=R+y/2;v.y=Da;v.x=ia;v.rotation=B;v.textAlign=xa;N+=1}}else{Fa=M;xa=Y;Da=V;for(n=0;n<ra;n+=da)if((u=qa[n].plotObj)&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(!T)A=J.getSmartText(v.text,qa[n].labelTextWidth-4,Fa,K),v.text=A.text,W&&(Da=V+N%ta*F);v.y=Da;v.x=ia;v.rotation=
B;v.textAlign=xa;N+=1}}else{B?(Fa=xa,k=M-4,xa=L,Da=ka?X+8:X+4):W?(Fa=F,k=xa-4,xa=Y):(Fa=M,k=xa-4,xa=Y,Da=V);for(n=0;n<ra;n+=da)if((u=qa[n])&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(!T)A=J.getSmartText(v.text,k,Fa,K),v.text=A.text,W&&(Da=V+N%ta*F),B&&(ia=R+y/2);v.y=Da;v.x=ia;v.rotation=B;v.textAlign=xa;N+=1}c._labelY=V;c._labelX=R;c._yShipment=Da;c._isStagger=W;c._rotation=B;c._textAlign=xa;c._adjustedPx=y/2;c._staggerLines=ta;c._labelHeight=
F}ra=f.length;for(n=B=c=0;n<ra;n+=1)if((u=f[n].plotObj?f[n].plotObj:f[n])&&u.label&&I(u.label.text)!==void 0){v=u.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);v.verticalAlign===Oa?(A=J.getSmartText(v.text,d,Ba,!0),B=Math.max(B,A.height),v.text=A.text,v.y=h+J.getOriSize("W").height,v.x=ia):(A=J.getSmartText(v.text,d,ua,!0),c=Math.max(c,A.height),v.text=A.text,v.y=-(ua-J.getOriSize("W").height+X+2))}if(D>0)J.setStyle(e.title.style),p=J.getSmartText(e.title.text,d,D),e.title.text=p.text,e.title.margin=
h+B+oa;ia=B;if(M>0)H.horizontalAxisHeight=X+M-aa,ia+=H.horizontalAxisHeight;D>0&&(ia+=D+oa);j.chart.marginBottom+=ia;c>0&&(j.chart.marginTop+=c,ia+=c);if(e.opposite){j.chart.marginTop+=ia;j.chart.marginBottom-=ia;j.xAxis.opposite=1;ra=g.length;for(k=0;k<ra;k+=1)if((u=g[k])&&u.isGrid&&(v=u.label)&&v.text!==void 0)v.textAlign=ba,v.y-=Da+X+4}return ia},ia=g.configureLegendOptions=function(e,m,j,f,d){var f=e.legend,x=e.chart,g=x.paletteIndex,H=x.is3D?Ha.chart3D:Ha.chart2D,k=x.useRoundEdges,A=a(m.legendiconscale,
1),u=(parseInt(f.itemStyle.fontSize,10)||10)+1,p=e.chart.defaultSeriesType,q=3;if(A<=0||A>5)A=1;f.padding=4;u<=0&&(u=1);d-=8;u*=A;q*=A;u=Math.min(u,d);u<=0&&(q=u=0);f.symbolWidth=u;f.symbolPadding=q;f.textPadding=4;f.legendHeight=d=u+2*q;f.rowHeight=Math.max(parseInt(f.itemStyle.lineHeight,10)||12,d);j?(f.align=L,f.verticalAlign="middle",f.layout="vertical"):f.x=(x.marginLeft-x.spacingLeft-x.marginRight+x.spacingRight)/2;j=c(m.legendbordercolor,h[H.legendBorderColor][g]);d=a(m.legendborderalpha,100);
x=a(m.legendbgalpha,100);f.backgroundColor=aa(c(m.legendbgcolor,h[H.legendBgColor][g]),x);f.borderColor=aa(j,d);f.borderWidth=a(m.legendborderthickness,!k||m.legendbordercolor?1:0);f.shadow=Boolean(a(m.legendshadow,1));if(f.shadow)f.shadow={enabled:f.shadow,opacity:fa(d,x)/100};f.reversed=Boolean(a(m.reverselegend,0));if(/^pie|pie3d$/.test(p))f.reversed=!f.reversed;f.style={padding:4};Boolean(a(m.interactivelegend,1))?f.symbolStyle={_cursor:"hand",cursor:"pointer"}:(e.plotOptions.series.events.legendItemClick=
Rb,f.itemStyle.cursor="default",f.itemHoverStyle={cursor:"inherit"});f.borderRadius=a(m.legendborderradius,k?3:0);f.legendAllowDrag=Boolean(a(m.legendallowdrag,0));f.title.text=W(K(m.legendcaption,t));f.legendScrollBgColor=n(c(m.legendscrollbgcolor,h.altHGridColor[e.chart.paletteIndex]));f.legendScrollBarColor=c(m.legendscrollbarcolor,j);f.legendScrollBtnColor=c(m.legendscrollbtncolor,j);f.title.style=C({fontWeight:"bold"},f.itemStyle)},xb=g.placeLegendBlockRight=function(e,c,j,f,d){ia(e,c.chart,
!0,d,j);var h=0,g=e.series,n,k=e[P].smartLabel,A=e.legend,u,p=A.textPadding,q=A.title.padding,v=A.symbolWidth+2*A.symbolPadding,o=f*2,s=0,c=a(c.chart.legendpadding,7)+A.borderWidth/2+1,y=2*A.padding,C={width:y,height:y},I=!1,G=[];j-=y;d&&(g=g&&g[0]&&g[0].data);if(typeof g===z||typeof g.length===z)return 0;else{d=g.length;for(h=0;h<d;h+=1)if((n=g[h])&&n.showInLegend!==!1)n.__i=h,G.push(n);G.sort(function(a,e){return a.legendIndex-e.legendIndex||a.__i-e.__i});d=G.length}u=j-v-2-p;u<0&&(u=0);k.setStyle(A.itemStyle);
for(h=0;h<d;h+=1)n=G[h],I=!0,u===0?(C.height+=v,n.name=t):(g=k.getSmartText(n.name,u,o),n.name=g.text,C.height+=Math.max(g.height,v),s=Math.max(g.width,s));if(I){A.width=s+v+2+p+y;if(A.title.text!==t){k.setStyle(A.title.style);g=k.getSmartText(A.title.text,j,o);A.title.text=g.text;h=g.width+y;if(A.width<h)A.initialItemX=(h-A.width)/2,A.width=h;C.height+=g.height+q}A.height=A.totalHeight=C.height;if(A.height>f)A.height=f,A.scroll.enabled=!0,A.width+=(A.scroll.scrollBarWidth=10)+(A.scroll.scrollBarPadding=
2);c=Math.min(A.width+c,j);e.chart.marginRight+=c;return c}else return A.enabled=!1,0},Fb=g.placeLegendBlockBottom=function(e,c,j,f,d){ia(e,c.chart,!1,d,j);var h=0,g=e.series,n=e[P].smartLabel,k=e.legend,A,u=k.textPadding,p=k.title.padding,q,v=k.symbolPadding;A=k.legendHeight;var o=c.chart;q=0;var s=f*2,y=k.rowHeight,C=[],I=a(o.minimisewrappinginlegend,0),o=a(parseInt(o.legendnumcolumns,10),0),G=0,B=0,D=0,F=h=0,L=2*k.padding,c=a(c.chart.legendpadding,7)+k.borderWidth/2+1,V={width:L,height:L},N=!1,
K,Q=[];o<0&&(o=0);j-=L;n.setStyle(k.itemStyle);h=n.getSmartText(pb).height;c=Math.min(c,f-h-8);f-=c;d&&(g=g&&g[0]&&g[0].data);if(typeof g===z||typeof g.length===z)return 0;else{d=g.length;for(h=0;h<d;h+=1)if((K=g[h])&&K.showInLegend!==!1)K.__i=h,Q.push(K);Q.sort(function(a,e){return a.legendIndex-e.legendIndex||a.__i-e.__i});d=Q.length}n.setStyle(k.itemStyle);for(h=0;h<d;h+=1)N=!0,g=n.getOriSize(Q[h].name),G=Math.max(G,g.width),B+=g.width,D+=1;h=B/D;if(N){h+=A+2+u;G+=A+2+u;o>0&&D<o&&(o=D);o>0&&(F=
j/o)>h?F>G&&(F=G):j>G&&(I||h*1.5>G)?(o=Math.floor(j/G),D<o&&(o=D),F=G):j>=2*h?(o=Math.floor(j/h),D<o&&(o=D),F=Math.floor(j/o),F>G&&(F=G)):(o=1,F=j);k.itemWidth=F;A=F-A-2-u;A<0&&(v=A=u=0);k.symbolPadding=v;k.textPadding=u;k.width=F*o+L;if(k.title.text!==t){n.setStyle(k.title.style);g=n.getSmartText(k.title.text,j,s);k.title.text=g.text;q=g.width+L;if(k.width<q)k.initialItemX=(q-k.width)/2,k.width=q;q=g.height+p}n.setStyle(k.itemStyle);p=0;k.reversed&&Q.reverse();for(h=0;h<d;h+=1){j=Q[h];if(A===0)C[p]=
!0,j.name=t;else{g=n.getSmartText(j.name,A,s);for(j.name=g.text;C[p]===!0;)p+=1;j=g.height/y;v=p;for(u=0;u<j;u+=1,v+=o)C[v]=!0}p+=1}V.height+=Math.ceil(C.length/o)*y+q;k.height=k.totalHeight=V.height;k.rowHeight=y;k.legendNumColumns=o;if(k.height>f)k.height=f,k.scroll.enabled=!0,k.width+=(k.scroll.scrollBarWidth=10)+(k.scroll.scrollBarPadding=2);c+=k.height;e.chart.marginBottom+=c;return c}else return k.enabled=!1,0},bc=function(a,c){return a.value-c.value},Vb=g.adjustVerticalAxisTitle=function(a,
c,j){if(c&&c.text){var f=c.text,d=a[P].smartLabel,h=2*Math.min(a.chart.marginTop,a.chart.marginBottom)+j,g=j+a.chart.marginTop+a.chart.marginBottom;c.style&&d.setStyle(c.style);f=d.getOriSize(f);if(c.rotation=="0"){if(f.height>h)c.y=(g/2-(j/2+a.chart.marginTop))/2}else if(f.width>h)c.y=g/2-(j/2+a.chart.marginTop)}},Wb=g.adjustVerticalCanvasMargin=function(c,m,j,f){var d=m.chart,h=m=0,g=0,n=a(d.canvastopmargin,0),d=a(d.canvasbottommargin,0),k=n/(n+d),A=c.chart.marginTop,u=c.chart.marginBottom;d>u&&
(m+=d-u);n>A&&(m+=n-A);m>j?n>A&&d>u?(h=j*k,g=j*(1-k)):n>A?h=j:g=j:m>0&&(d>u&&(g=d-u),n>A&&(h=n-A));h&&(c.chart.marginTop+=h);g&&(c.chart.marginBottom+=g,f&&f.title&&(f.title.margin+=g));return h+g},Ob=g.adjustHorizontalCanvasMargin=function(c,m,j,f,d){var h=m.chart,m=a(h.canvasleftmargin,0),h=a(h.canvasrightmargin,0),g=m/(m+h),n=0,k=c.chart.marginLeft,A=c.chart.marginRight,u=0,p=0;m>k&&(n+=m-k);h>A&&(n+=h-A);n>j?m>k&&h>A?(u=j*g,p=j*(1-g)):h>A?p=j:u=j:n>0&&(m>k&&(u=m-k),h>A&&(p=h-A));u&&(c.chart.marginLeft+=
u,f&&f.title&&(f.title.margin+=u));p&&(c.chart.marginRight+=p,d&&d.title&&(d.title.margin+=p));return p+u};F("base",{useScaleRecursively:!0,tooltipConstraint:"chart",draw:function(a,c){var j=this,f=new Date;j.drawingLatency=j.drawingLatency||0;return new Cb.Chart(a,function(){j.drawingLatency=new Date-f;c&&c.apply(this,arguments)})},init:function(c,m,j){var f=this.chartInstance||j,d=f.jsVars,j=d._reflowData||(d._reflowData={}),h=d._reflowClean,n,p;this.dataObj=m=C({},m);p=m.chart=m.chart||m.graph||
m.map||{};delete m.graph;delete m.map;if(j&&!this.stateless)n=j.hcJSON,delete j.hcJSON,C(this,j,!0),this.preReflowAdjustments&&this.preReflowAdjustments.call(this),j.hcJSON=n;this.containerElement=c;this.config={};this.smartLabel=new S(f.id,document.getElementsByTagName("body")[0]||c,a(p.useellipseswhenoverflow,p.useellipsewhenoverflow,1));this.linkClickFN=o(m,f);this.numberFormatter=new ua(m.chart,this);if(!this.standaloneInit)return new g.createDialog(c,d.msgStore.ChartNotSupported);c=this.chart(c.offsetWidth||
parseFloat(c.style.width),c.offsetHeight||parseFloat(c.style.height),f);j&&!this.stateless&&(j.hcJSON&&C(c,j.hcJSON,!0),this.postReflowAdjustments&&this.postReflowAdjustments.call(this),h&&this.cleanedData&&(this.cleanedData(this,h),this.cleanedData(j,h)));return c},chart:function(e,m){var j=this.name,f=this.dataObj,d=f.chart,g,p,q,k,A,u,o=this.defaultSeriesType,z,v,B,D,F,K,J,G;g=ac(f,e,m,this);G=g.chart;J=g.xAxis;z=g[P];this.postHCJSONCreation&&this.postHCJSONCreation.call(this,g);g.labels.smartLabel=
u=z.smartLabel=this.smartLabel;z.width=e;z.height=m;v=g.plotOptions;z.isDual=this.isDual;z.numberFormatter=this.numberFormatter;z.axisGridManager=new X(o,d);G.is3D=p=z.is3d=/3d$/.test(o);G.isBar=k=z.isBar=this.isBar;q=/^pie/.test(o);K=d.useroundedges==1;F=p?Ha.chart3D:Ha.chart2D;G.events.click=g.plotOptions.series.point.events.click=this.linkClickFN;G.defaultSeriesType=o;var ea=d.palette>0&&d.palette<6?d.palette:a(this.paletteIndex,1);ea-=1;G.paletteIndex=ea;G.usePerPointLabelColor=d.colorlabelsfromplot==
Va;G.useRoundEdges=K&&!p&&!this.distributedColumns&&this.defaultSeriesType!=="pie";if(c(d.clickurl)!==void 0)G.link=d.clickurl,G.style.cursor="pointer",g.plotOptions.series.point.events.click=function(){G.events.click.call({link:d.clickurl})};var U=c(d.basefont,"Verdana"),T=Ga(d.basefontsize,10),da=c(d.basefontcolor,h[F.baseFontColor][ea]);B=c(d.outcnvbasefont,U);var V=Ga(d.outcnvbasefontsize,T),N=V+Xa,S=c(d.outcnvbasefontcolor,da).replace(/^#?([a-f0-9]+)/ig,"#$1"),Y;T+=Xa;da=da.replace(/^#?([a-f0-9]+)/ig,
"#$1");z.trendStyle=z.outCanvasStyle={fontFamily:B,color:S,fontSize:N};A=Q(z.trendStyle);z.inCanvasStyle={fontFamily:U,fontSize:T,color:da};Y=Q(z.inCanvasStyle);z.divlineStyle={fontFamily:U,fontSize:T,color:da,lineHeight:Y};J.labels.style={fontFamily:B,fontSize:N,lineHeight:A,color:S};J.steppedLabels.style={fontFamily:B,fontSize:N,lineHeight:A,color:S,visibility:"hidden"};g.yAxis[0].labels.style={fontFamily:B,fontSize:N,lineHeight:A,color:S};g.yAxis[1].labels.style={fontFamily:B,fontSize:N,lineHeight:A,
color:S};g.legend.itemStyle={fontFamily:B,fontSize:N,lineHeight:A,color:S};g.legend.itemHiddenStyle={fontFamily:B,fontSize:N,lineHeight:A};g.plotOptions.series.dataLabels.style={fontFamily:U,fontSize:T,lineHeight:Y,color:da};g.plotOptions.series.dataLabels.color=g.plotOptions.series.dataLabels.style.color;g.tooltip.style={fontFamily:U,fontSize:T,lineHeight:Y,color:da};g.title.style={fontFamily:B,color:S,fontSize:V+3+Xa,fontWeight:a(d.captionfontbold)===0?"normal":"bold"};Q(g.title.style);g.subtitle.style=
{fontFamily:B,color:S,fontSize:V+a(this.subTitleFontSizeExtender,1)+Xa,fontWeight:I(this.subTitleFontWeight,"bold")};Q(g.subtitle.style);J.title.style={fontFamily:B,color:S,fontSize:N,fontWeight:a(d.subcaptionfontbold)===0?"normal":"bold"};U=Q(J.title.style);g.yAxis[0].title.style={fontFamily:B,color:S,fontSize:N,lineHeight:U,fontWeight:"bold"};g.yAxis[1].title.style={fontFamily:B,color:S,fontSize:N,lineHeight:U,fontWeight:"bold"};g.orphanStyles={defaultStyle:{style:C({},z.inCanvasStyle)}};this.parseStyles(g);
delete g.xAxis.labels.style.backgroundColor;delete g.xAxis.labels.style.borderColor;delete g.yAxis[0].labels.style.backgroundColor;delete g.yAxis[0].labels.style.borderColor;delete g.yAxis[1].labels.style.backgroundColor;delete g.yAxis[1].labels.style.borderColor;z.showTooltip=a(d.showtooltip,this.showtooltip,1);z.tooltipSepChar=c(d.tooltipsepchar,this.tooltipsepchar,yb);z.showValues=a(d.showvalues,this.showValues,1);z.seriesNameInToolTip=a(d.seriesnameintooltip,1);z.showVLines=a(d.showvlines,1);
z.showVLinesOnTop=a(d.showvlinesontop,0);z.showVLineLabels=a(d.showvlinelabels,this.showVLineLabels,1);z.showVLineLabelBorder=a(d.showvlinelabelborder,1);z.rotateVLineLabels=a(d.rotatevlinelabels,0);z.vLineColor=c(d.vlinecolor,"333333");z.vLineThickness=c(d.vlinethickness,1);z.vLineAlpha=a(d.vlinealpha,80);z.vLineLabelBgColor=c(d.vlinelabelbgcolor,"ffffff");z.vLineLabelBgAlpha=a(d.vlinelabelbgalpha,p?50:100);z.trendlineColor=c(d.trendlinecolor,"333333");z.trendlineThickness=c(d.trendlinethickness,
1);z.trendlineAlpha=a(d.trendlinealpha);z.showTrendlinesOnTop=c(d.showtrendlinesontop,0);z.trendlineValuesOnOpp=c(d.trendlinevaluesonopp,d.trendlinevaluesonright,0);z.trendlinesAreDashed=a(d.trendlinesaredashed,0);z.trendlinesDashLen=a(d.trendlinedashlen,5);z.trendlinesDashGap=a(d.trendlinedashgap,2);z.showTrendlines=a(d.showtrendlines,1);z.showTrendlineLabels=a(d.showtrendlinelabels,this.showTrendlineLabels,1);g.plotOptions.series.connectNullData=a(d.connectnulldata,0);G.backgroundColor={FCcolor:{color:c(d.bgcolor,
h[F.bgColor][ea]),alpha:c(d.bgalpha,h[F.bgAlpha][ea]),angle:c(d.bgangle,h[F.bgAngle][ea]),ratio:c(d.bgratio,h[F.bgRatio][ea])}};G.borderRadius=a(d.borderradius,0);G.rotateValues=a(d.rotatevalues,0);G.placeValuesInside=a(d.placevaluesinside,0);G.valuePosition=c(d.valueposition,"auto");G.valuePadding=a(d.valuepadding,2);G.borderColor=aa(c(d.bordercolor,p?"#666666":h.borderColor[ea]),c(d.borderalpha,p?"100":h.borderAlpha[ea]));B=a(d.showborder,p?0:1);G.borderWidth=B?a(d.borderthickness,1):0;G.plotBorderColor=
aa(c(d.canvasbordercolor,h.canvasBorderColor[ea]),c(d.canvasborderalpha,h.canvasBorderAlpha[ea]));d.showcanvasborder!="0"&&(D=Boolean(c(d.canvasborderthickness,K?0:1)));G.plotBorderWidth=p||!D?0:a(d.canvasborderthickness,this.canvasborderthickness,G.useRoundEdges?1:2);G.bgSWF=c(d.bgimage,d.bgswf);G.bgSWFAlpha=a(d.bgimagealpha,d.bgswfalpha,100);K=c(d.bgimagedisplaymode,"none").toLowerCase();B=I(d.bgimagevalign,t).toLowerCase();N=I(d.bgimagehalign,t).toLowerCase();K=="tile"||K=="fill"||K=="fit"?(B!=
vb&&B!=s&&B!=Oa&&(B=s),N!=ba&&N!=s&&N!=L&&(N=s)):(B!=vb&&B!=s&&B!=Oa&&(B=vb),N!=ba&&N!=s&&N!=L&&(N=ba));G.bgImageDisplayMode=K;G.bgImageVAlign=B;G.bgImageHAlign=N;G.bgImageScale=a(d.bgimagescale,100);G.logoURL=I(d.logourl);G.logoPosition=c(d.logoposition,"tl").toLowerCase();G.logoAlpha=a(d.logoalpha,100);G.logoLink=I(d.logolink);G.logoScale=a(d.logoscale,100);G.logoLeftMargin=a(d.logoleftmargin,0);G.logoTopMargin=a(d.logotopmargin,0);T=c(d.divlinecolor,h[F.divLineColor][ea]);U=c(d.divlinealpha,p?
h.divLineAlpha3D[ea]:h.divLineAlpha[ea]);K=a(d.divlinethickness,1);B=Boolean(a(d.divlineisdashed,this.divLineIsDashed,0));N=a(d.divlinedashlen,4);S=a(d.divlinedashgap,2);g.yAxis[0].gridLineColor=aa(T,U);g.yAxis[0].gridLineWidth=K;g.yAxis[0].gridLineDashStyle=B?y(N,S,K):void 0;g.yAxis[0].alternateGridColor=k?aa(c(d.alternatevgridcolor,h.altVGridColor[ea]),a(d.showalternatevgridcolor,1)===1?c(d.alternatevgridalpha,h.altVGridAlpha[ea]):Qa):aa(c(d.alternatehgridcolor,h.altHGridColor[ea]),d.showalternatehgridcolor==
0?0:c(d.alternatehgridalpha,h.altHGridAlpha[ea]));da=a(d.vdivlinethickness,1);V=Boolean(a(d.vdivlineisdashed,0));A=a(d.vdivlinedashlen,4);Y=a(d.vdivlinedashgap,2);J.gridLineColor=aa(c(d.vdivlinecolor,h[F.divLineColor][ea]),c(d.vdivlinealpha,h.divLineAlpha[ea]));J.gridLineWidth=da;J.gridLineDashStyle=V?y(A,Y,da):void 0;J.alternateGridColor=aa(c(d.alternatevgridcolor,h.altVGridColor[ea]),d.showalternatehgridcolor==="1"?c(d.alternatevgridalpha,h.altVGridAlpha[ea]):0);var da=c(d.canvasbgcolor,h[F.canvasBgColor][ea]),
ia,V=c(d.canvasbgalpha,h.canvasBgAlpha[ea]);c(d.showcanvasbg,Va)==Qa&&(V="0");g.plotOptions.series.shadow=a(d.showshadow,d.showcolumnshadow,this.defaultPlotShadow,h.showShadow[ea]);if(this.inversed)g.yAxis[0].reversed=!0,g.yAxis[1].reversed=!0;if(this.isStacked)this.distributedColumns?(z.showStackTotal=Boolean(a(d.showsum,1)),A=a(d.usepercentdistribution,1),Y=a(d.showpercentvalues,0),ia=a(d.showpercentintooltip,1),z.showXAxisPercentValues=a(d.showxaxispercentvalues,1)):(z.showStackTotal=Boolean(a(this.showSum,
d.showsum,0)),A=a(this.stack100percent,d.stack100percent,0),Y=a(d.showpercentvalues,A),ia=a(d.showpercentintooltip,Y)),z.showPercentValues=Y,z.showPercentInToolTip=ia,A?(z.isValueAbs=!0,v[o].stacking="percent",z[0].stacking100Percent=!0):v[o].stacking="normal";if(this.isDual){if(d.primaryaxisonleft==="0")g.yAxis[0].opposite=!0,g.yAxis[1].opposite=!1;g.yAxis[0].showAlways=!0;g.yAxis[1].showAlways=!0}if(G.useRoundEdges){g.plotOptions.series.shadow=a(d.showshadow,d.showcolumnshadow,1);g.plotOptions.series.borderRadius=
1;g.tooltip.borderRadius=2;G.plotBorderRadius=3;if(!D)G.plotBorderWidth=0;G.plotShadow=g.plotOptions.series.shadow?{enabled:!0,opacity:V/100}:0}if(a(d.use3dlighting,1)===1)g.legend.lighting3d=!0;g.plotOptions.series.maxColWidth=Math.abs(a(k?d.maxbarheight:a(d.maxcolwidth,this.maxColWidth),50))||1;g.title.text=W(d.caption);g.subtitle.text=W(d.subcaption);if(a(d.showtooltip,this.showtooltip)==0)g.tooltip.enabled=!1;o=g.tooltip.style;g.tooltip.backgroundColor=aa(c(o.backgroundColor,d.tooltipbgcolor,
h.toolTipBgColor[ea]),c(d.tooltipbgalpha,100));g.tooltip.borderColor=aa(c(o.borderColor,d.tooltipbordercolor,h.toolTipBorderColor[ea]),c(d.tooltipborderalpha,100));o.backgroundColor=void 0;o.borderColor=void 0;o.border=void 0;g.tooltip.shadow=d.showtooltipshadow==Va?{enabled:!0,opacity:a(fa(d.tooltipbgalpha,d.tooltipborderalpha),100)/100}:!1;g.tooltip.borderWidth=a(d.tooltipborderthickness,1);if(d.tooltipborderradius)g.tooltip.borderRadius=a(d.tooltipborderradius,1);g.tooltip.style.padding=a(d.tooltippadding,
this.tooltippadding,4);if(d.tooltipcolor)o.color=n(d.tooltipcolor);o=a(d.plotspacepercent,20);if(o>80||o<0)o=20;z.plotSpacePercent=g.plotOptions.series.groupPadding=o/200;p&&!q?(G.series2D3Dshift=j==="mscombi3d"?!0:Boolean(a(d.use3dlineshift,0)),G.canvasBaseColor3D=c(d.canvasbasecolor,h.canvasBaseColor3D[ea]),G.canvasBaseDepth=a(d.canvasbasedepth,10),G.canvasBgDepth=a(d.canvasbgdepth,3),G.showCanvasBg=Boolean(a(d.showcanvasbg,1)),G.showCanvasBase=Boolean(a(d.showcanvasbase,1)),k?(G.xDepth=5,G.yDepth=
5,G.showCanvasBg&&(z.marginTopExtraSpace+=G.canvasBgDepth),z.marginLeftExtraSpace+=G.yDepth+(G.showCanvasBase?G.canvasBaseDepth:0),z.marginBottomExtraSpace+=5):(G.xDepth=10,G.yDepth=10,G.showCanvasBg&&(z.marginRightExtraSpace+=G.canvasBgDepth),z.marginBottomExtraSpace+=G.yDepth+(G.showCanvasBase?G.canvasBaseDepth:0)),da=da.split(Ba)[0],V=V.split(Ba)[0],G.use3DLighting=Boolean(a(d.use3dlighting,1)),G.plotBackgroundColor=G.use3DLighting?{FCcolor:{color:ab(da,85)+Ba+Bb(da,55),alpha:V+Ba+V,ratio:Db,angle:Wa(e-
(G.marginLeft+G.marginRight),m-(G.marginTop+G.marginBottom),1)}}:aa(da,V),G.canvasBgColor=aa(ab(da,80),V),q=c(d.zeroplanecolor,d.divlinecolor,h[F.divLineColor][ea]),k=c(d.zeroplanealpha,d.divlinealpha,h.divLineAlpha[ea]),G.zeroPlaneColor=aa(q,k),G.zeroPlaneBorderColor=aa(c(d.zeroplanebordercolor,q),a(d.zeroplaneshowborder,1)?k:0)):(G.is3D=!1,G.plotBackgroundColor={FCcolor:{color:da,alpha:V,angle:c(d.canvasbgangle,h.canvasBgAngle[ea]),ratio:c(d.canvasbgratio,h.canvasBgRatio[ea])}});this.parseExportOptions(g);
this.preSeriesAddition&&this.preSeriesAddition(g,f,e,m);this.series&&this.series(f,g,j,e,m);this.postSeriesAddition(g,f,e,m);this.spaceManager(g,f,e,m);j=a(d.drawquadrant,0);if(z.isXYPlot&&j&&(A=J.min,Y=J.max,v=g.yAxis[0].min,D=g.yAxis[0].max,ia=a(d.quadrantxval,(A+Y)/2),da=a(d.quadrantyval,(v+D)/2),da>=v&&da<=D&&ia>=A&&ia<=Y)){var o=aa(c(d.quadrantlinecolor,G.plotBorderColor),c(d.quadrantlinealpha,eb)),V=a(d.quadrantlinethickness,G.plotBorderWidth),ka=a(d.quadrantlineisdashed,0),na=a(d.quadrantlinedashLen,
4),ua=a(d.quadrantlinedashgap,2);k=I(d.quadrantlabeltl,t);j=I(d.quadrantlabeltr,t);f=I(d.quadrantlabelbl,t);q=I(d.quadrantlabelbr,t);F=a(d.quadrantlabelpadding,3);ka=ka?y(na,ua,V):void 0;J.plotLines.push({color:o,value:ia,width:V,dashStyle:ka,zIndex:3});g.yAxis[0].plotLines.push({color:o,value:da,width:V,dashStyle:ka,zIndex:3});V=e-G.marginRight-G.marginLeft;ka=m-G.marginTop-G.marginBottom;o=z.inCanvasStyle;na=parseInt(o.fontSize,10);A=V/(Y-A)*(ia-A);Y=V-A;D=ka/(D-v)*(da-v);v=ka-D;A-=F;Y-=F;v-=F;
D-=F;da=F+na+Xa;ia=ka-F+na+Xa;ka=F+Xa;F=V-F+Xa;u.setStyle(o);v>0&&(k!==t&&A>0&&(k=u.getSmartText(k,A,v),g.labels.items.push({html:k.text,zIndex:3,style:{left:ka,top:da,fontSize:o.fontSize,lineHeight:o.lineHeight,fontFamily:o.fontFamily,color:o.color}})),j!==t&&Y>0&&(k=u.getSmartText(j,Y,v),g.labels.items.push({html:k.text,textAlign:L,zIndex:3,style:{left:F,top:da,fontSize:o.fontSize,lineHeight:o.lineHeight,fontFamily:o.fontFamily,color:o.color}})));D>0&&(f!==t&&A>0&&(k=u.getSmartText(f,A,D),g.labels.items.push({html:k.text,
vAlign:Oa,zIndex:3,style:{left:ka,top:ia,fontSize:o.fontSize,lineHeight:o.lineHeight,fontFamily:o.fontFamily,color:o.color}})),q!==t&&Y>0&&(k=u.getSmartText(q,Y,D),g.labels.items.push({html:k.text,textAlign:L,vAlign:Oa,zIndex:3,style:{left:F,top:ia,fontSize:o.fontSize,lineHeight:o.lineHeight,fontFamily:o.fontFamily,color:o.color}})))}if(this.hasVDivLine&&(j=a(d.numvdivlines,0)+1,j>1)){z=z.x.catCount-1;u=J.max;j=z/j;f=!0;q=J.min;var Da,T=c(d.vdivlinecolor,T),U=a(d.vdivlinealpha,U),da=a(d.vdivlinethickness,
K),V=a(d.vdivlineisdashed,B);A=a(d.vdivlinedashlen,N);Y=a(d.vdivlinedashgap,S);(K=a(d.showalternatevgridcolor,0))&&(Da=aa(c(d.alternatevgridcolor,h.altVGridColor[ea]),c(d.alternatevgridalpha,h.altVGridAlpha[ea])));for(ea=j;ea<z;ea+=j,f=!f)f&&K&&J.plotBands.push({color:Da,from:q,to:ea,zIndex:1}),J.plotLines.push({width:da,color:aa(T,U),dashStyle:V?y(A,Y,da):void 0,value:ea,zIndex:1}),q=ea;f&&K&&J.plotBands.push({color:Da,from:q,to:u,zIndex:1})}if(p&&G.xDepth>G.marginLeft)G.marginLeft=G.xDepth;window.console&&
window.console.log&&window.FC_DEV_ENVIRONMENT&&console.log(g);return g},parseExportOptions:function(a){var m=this.dataObj.chart,j=a[P];a.exporting.enabled=!0;a.exporting.url=c(m.html5exporthandler,a.exporting.url);a.exporting.buttons.printButton.enabled=m.showprintmenuitem=="1";a.exporting.buttons.exportButton.enabled=m.exportenabled=="1"?m.exportshowmenuitem!="0":!1;a.exporting.filename=m.exportfilename?m.exportfilename:"FusionCharts";a.exporting.width=j.width},defaultSeriesType:t,paletteIndex:1,
creditLabel:D,placeTitle:qb,placeLegendBlockBottom:Fb,placeLegendBlockRight:xb,placeHorizontalAxis:Da,placeVerticalAxis:ka,placeHorizontalCanvasMarginAdjustment:Ob,placeVerticalCanvasMarginAdjustment:Wb,placeHorizontalXYSpaceManager:function(e,m,j,f){var d=e[P],h,g,n,k=m.chart,p,u,o,q,v=d.marginLeftExtraSpace,s=d.marginTopExtraSpace,y=d.marginBottomExtraSpace,t=d.marginRightExtraSpace;n=j-(v+t+e.chart.marginRight+e.chart.marginLeft);var C=f-(y+e.chart.marginBottom+e.chart.marginTop),z=n*0.3,j=C*0.3;
h=n-z;f=C-j;p=c(k.legendposition,Oa).toLowerCase();e.legend.enabled&&p===L&&(h-=this.placeLegendBlockRight(e,m,h/2,C));u=a(k.xaxisnamepadding,5);o=a(k.labelpadding,2);q=k.rotatexaxisname!==Qa;g=d.x;g.verticalAxisNamePadding=u;g.verticalAxisValuesPadding=o;g.rotateVerticalAxisName=q;g.verticalAxisNameWidth=a(k.xaxisnamewidth);h-=ka(e.xAxis,g,e,m,C,h,!1,!1,n);h-=Ob(e,m,h,e.xAxis);n=h+z;e.legend.enabled&&p!==L&&(f-=this.placeLegendBlockBottom(e,m,n,f/2));f-=qb(e,m,n,f/2);g=d[0];g.horizontalAxisNamePadding=
a(k.yaxisnamepadding,5);g.horizontalLabelPadding=a(k.yaxisvaluespadding,2);g.labelDisplay="auto";g.staggerLines=a(k.staggerlines,2);g.slantLabels=a(k.slantlabels,0);this.xAxisMinMaxSetter(e,m,n);f-=this.placeHorizontalAxis(e.yAxis[0],g,e,m,n,f,z);f-=Wb(e,m,f,e.yAxis[0]);Ra(j+f,e,k,e.xAxis,d.x.lYLblIdx,!0);Vb(e,e.xAxis.title,f);if(e.legend.enabled&&p===L){m=e.legend;d=j+f;if(m.height>d)m.height=d,m.scroll.enabled=!0,d=(m.scroll.scrollBarWidth=10)+(m.scroll.scrollBarPadding=2),m.width+=d,e.chart.marginRight+=
d;m.y=20}m=(e.chart.marginLeft-a(e.chart.spacingLeft,0)-(e.chart.marginRight-a(e.chart.spacingRight,0)))/2;d=e.chart.marginLeft-a(e.chart.spacingLeft,0);k=-(e.chart.marginRight-a(e.chart.spacingRight,0));switch(e.title.align){case "left":e.title.x=d;break;case "right":e.title.x=k;break;default:e.title.x=m}switch(e.subtitle.align){case "left":e.subtitle.x=d;break;case "right":e.subtitle.x=k;break;default:e.subtitle.x=m}e.chart.marginLeft+=v;e.chart.marginTop+=s;e.chart.marginBottom+=y;e.chart.marginRight+=
t},placeVerticalXYSpaceManager:function(e,m,j,f){var d=e[P],h,g=!0,n=m.chart,k=!1,p,u,o,q=d.marginLeftExtraSpace,v=d.marginTopExtraSpace,s=d.marginBottomExtraSpace,y=d.marginRightExtraSpace,t=j-(q+y+e.chart.marginRight+e.chart.marginLeft),C=f-(s+e.chart.marginBottom+e.chart.marginTop),j=t*0.3,f=C*0.3,z=t-j,t=C-f,G=c(n.legendposition,Oa).toLowerCase();e.legend.enabled&&G===L&&(z-=this.placeLegendBlockRight(e,m,z/2,C));p=a(n.yaxisnamepadding,5);u=a(n.yaxisvaluespadding,n.labelypadding,2);o=n.rotateyaxisname!==
Qa;if(d.isDual)k=!0,h=d[1],h.verticalAxisNamePadding=p,h.verticalAxisValuesPadding=u,h.rotateVerticalAxisName=o,h.verticalAxisNameWidth=a(n.syaxisnamewidth),g=e.yAxis[1].opposite,z-=ka(e.yAxis[1],h,e,m,C,z/2,g,k);h=d[0];h.verticalAxisNamePadding=p;h.verticalAxisValuesPadding=u;h.rotateVerticalAxisName=o;h.verticalAxisNameWidth=a(k?n.pyaxisnamewidth:n.yaxisnamewidth);z-=ka(e.yAxis[0],h,e,m,C,z,!g,k);z-=Ob(e,m,z,e.yAxis[0],e.yAxis[1]);g=z+j;e.legend.enabled&&G!==L&&(t-=this.placeLegendBlockBottom(e,
m,g,t/2));t-=qb(e,m,g,t/2);h=d.x;h.horizontalAxisNamePadding=a(n.xaxisnamepadding,5);h.horizontalLabelPadding=a(n.labelpadding,n.labelxpadding,2);h.labelDisplay=c(n.labeldisplay,"auto").toLowerCase();h.rotateLabels=a(n.rotatelabels,n.rotatexaxislabels,0);h.staggerLines=a(n.staggerlines,2);h.slantLabels=a(n.slantlabels,n.slantlabel,0);this.xAxisMinMaxSetter(e,m,g);t-=this.placeHorizontalAxis(e.xAxis,h,e,m,g,t,j);t-=Wb(e,m,t,e.xAxis);k&&(Ra(f+t,e,n,e.yAxis[1],d[1].lYLblIdx),Vb(e,e.yAxis[1].title,t));
Ra(f+t,e,n,e.yAxis[0],d[0].lYLblIdx);Vb(e,e.yAxis[0].title,t);if(e.legend.enabled&&G===L&&(m=e.legend,d=f+t,m.height>d&&m.type!=="gradient"))m.height=d,m.scroll.enabled=!0,d=(m.scroll.scrollBarWidth=10)+(m.scroll.scrollBarPadding=2),m.width+=d,e.chart.marginRight+=d;m=(e.chart.marginLeft-a(e.chart.spacingLeft,0)-(e.chart.marginRight-a(e.chart.spacingRight,0)))/2;d=e.chart.marginLeft-a(e.chart.spacingLeft,0);n=-(e.chart.marginRight-a(e.chart.spacingRight,0));switch(e.title.align){case "left":e.title.x=
d;break;case "right":e.title.x=n;break;default:e.title.x=m}switch(e.subtitle.align){case "left":e.subtitle.x=d;break;case "right":e.subtitle.x=n;break;default:e.subtitle.x=m}e.chart.marginLeft+=q;e.chart.marginTop+=v;e.chart.marginBottom+=s;e.chart.marginRight+=y},placeVerticalAxisTitle:Vb,spaceManager:function(){return this.placeVerticalXYSpaceManager.apply(this,arguments)},axisMinMaxSetter:function(c,m,j,f,d,h,g,n){j=m.stacking100Percent?$b(99,1,100,0,d,h,g,n):$b(a(m.max,j),a(m.min,f),j,f,d,h,g,
n);c.min=Number(p(j.Min,10));c.max=Number(p(j.Max,10));c.tickInterval=Number(p(j.divGap,10));m.numdivlines=Math.round((c.max-c.min)/c.tickInterval)-1;if(j.Range/j.divGap<=2)c.alternateGridColor=bb;this.highValue=m.max;this.lowValue=m.min;delete m.max;delete m.min},configurePlotLines:function(e,m,j,f,d,g,n,o,k,q){var u;u=j.min;var s=j.max,y=j.tickInterval,v=q?"xAxis":f.stacking100Percent?"percentValue":k?"sYAxis":"yAxis",C=u,z=1,B=j.gridLineColor,I=j.gridLineWidth,F=j.gridLineDashStyle,G=u<0&&s>0?
!0:!1,D=u===0,K=s===0,L=a(e.showzeroplanevalue)===0,J=!0,V=1,N=a(e.numdivlines,0)>0,Q=m[P].axisGridManager,U=m.chart.paletteIndex;if(q&&!f.catOccupied)f.catOccupied={};if(G&&(!q||!f.catOccupied[0]))if(q?(J=a(e.showvzeroplane,1),m=a(e.showvzeroplanevalue,g),N=a(e.vzeroplanethickness,1),e=N>0?aa(c(e.vzeroplanecolor,B),c(e.vzeroplanealpha,e.vdivlinealpha,h.divLineAlpha[U])):bb):(U=a(e.divlinealpha,h.divLineAlpha[U]),m=a(e.showzeroplanevalue,g),this.defaultZeroPlaneHighlighted===!1?(J=a(e.showzeroplane,
!(this.defaultZeroPlaneHidden&&!N)),N=I):(N=I===1?2:I,V=5,U*=2),N=a(e.zeroplanethickness,N),e=N>0?aa(c(e.zeroplanecolor,B),c(e.zeroplanealpha,U)):bb),J)J=m?o[v](0):t,(V=Q.addAxisGridLine(j,0,J,N,F,e,V,q))&&(V.isZeroPlane=!0);if(d===1&&(!q||!f.catOccupied[u]))J=D&&L?t:o[v](u),(V=Q.addAxisGridLine(j,u,J,0.1,void 0,bb,1,q))&&(V.isMinLabel=!0);I<=0&&(I=0.1,B=bb);for(u=Number(p(C+y,10));u<s;u=Number(p(u+y,10)),z+=1){G&&C<0&&u>0&&!k&&(Q.addAxisAltGrid(j,0),z+=1);if(u!==0&&(!q||!f.catOccupied[u]))J=g===
1&&z%n===0?o[v](u):t,Q.addAxisGridLine(j,u,J,I,F,B,2,q);C=u;k||Q.addAxisAltGrid(j,u)}k||Q.addAxisAltGrid(j,s);if(d===1&&z%n===0&&(!q||!f.catOccupied[s]))J=K&&L?t:o[v](s),(V=Q.addAxisGridLine(j,s,J,0.1,F,bb,2,q))&&(V.isMaxLabel=!0);if(this.realtimeEnabled)j.labels._enabled=j.labels.enabled,j._gridLineWidth=j.gridLineWidth,j._alternateGridColor=j.alternateGridColor;j.labels.enabled=!1;j.gridLineWidth=0;j.alternateGridColor=bb;j.plotLines.sort(bc)},xAxisMinMaxSetter:function(c,m,j){var f=c[P],d=f.x,
h=m.chart,g=d.min=a(d.min,0),n=d.max=a(d.max,d.catCount-1),k,p=0,o=0,q=c.chart.defaultSeriesType,s=/^(column|column3d|bar|bar3d|floatedcolumn|sparkwinloss|boxandwhisker2d|dragcolumn)$/.test(q);/^(line|area|spline|areaspline)$/.test(q);var q=/^(scatter|bubble|candlestick|dragnode)$/.test(q),v=c.xAxis,t=v.scroll,y=k=Math.min(a(h.canvaspadding,0),j/2-10);if(d.adjustMinMax){var n=g=!a(h.setadaptivexmin,1),C=a(this.numVDivLines,h.numvdivlines,4),z=h.adjustvdiv!==Qa,B=a(h.showxaxisvalues,h.showxaxisvalue,
1),G=a(h.showvlimits,B),B=a(h.showvdivlinevalue,h.showvdivlinevalues,B);this.axisMinMaxSetter(v,d,h.xaxismaxvalue,h.xaxisminvalue,g,n,C,z);g=v.min;n=v.max;d.requiredAutoNumericLabels&&(C=a(parseInt(h.xaxisvaluesstep,10),1),this.configurePlotLines(h,c,v,d,G,B,C<1?1:C,f.numberFormatter,!1,!0));v.plotLines.sort(bc)}v.labels.enabled=!1;v.gridLineWidth=0;v.alternateGridColor=bb;if((s||f.isScroll)&&!f.hasNoColumn)o=f.isBar?p=0.55:p=0.5;f.is3d&&(y+=a(c.chart.xDepth,0));c=(j-(y+k))/(n-g+(p+o));v.min=g-(p+
y/c);v.max=n+(o+k/c);if(t&&t.enabled)p=t.vxLength,o=v.max-v.min,t.viewPortMin=v.min,t.viewPortMax=v.max,t.scrollRatio=p/o,v.max=v.min+p;q&&m.vtrendlines&&Ka(m.vtrendlines,v,f,!1,!0,!0)},postSeriesAddition:function(a){var c=a[P],j=c.isBar,f=c.is3d,d=a.chart.rotateValues&&!j?270:0;if(this.isStacked&&c.showStackTotal){var h,g,n,k=1-c.plotSpacePercent,p,o,q,s,v,t,y,z,B,I=C({},a.plotOptions.series.dataLabels.style),G=parseFloat(I.fontSize);g=c[0];var F=!g.stacking100Percent;I.color=a.plotOptions.series.dataLabels.color;
n=g.stack;for(h in n){g=n[h].length;p=k/g;q=-(k-p)/2;for(o=0;o<g;o+=1,q+=p){y=n[h][o];t=0;for(v=y.length;t<v;t+=1)z=y[t],s=t,B=s+q,s=(z.n||0)+(z.p||0),z=s<0?z.n:z.p,a.xAxis.plotLines.push({value:B,width:0,isVline:F,isTrend:!F,zIndex:4,label:{align:Y,textAlign:!f&&d===270?s<0?L:ba:j?s<0?L:ba:Y,offsetScale:F?z:void 0,offsetScaleIndex:0,rotation:d,style:I,verticalAlign:vb,y:j?0:s<0?d===270?4:G:-4,x:0,text:c.numberFormatter.yAxis(s)}})}}}},styleMapForFont:db,styleApplicationDefinition_font:function(a,
c,j){var f,d=!1,h,g,n,k=this.styleMapForFont;switch(c){case "caption":c=a.title;break;case "datalabels":c=a.xAxis.labels;break;case "datavalues":c=a.plotOptions.series.dataLabels;d=!0;break;case "subcaption":c=a.subtitle;break;case "tooltip":c=a.tooltip;break;case "trendvalues":c={style:a[P].trendStyle};break;case "xaxisname":c=a.xAxis.title;break;case "yaxisname":c=[];h=0;for(g=a.yAxis.length;h<g;h+=1)c.push(a.yAxis[h].title);break;case "yaxisvalues":c=[];h=0;for(g=a.yAxis.length;h<g;h+=1)c.push(a.yAxis[h].labels);
break;case "vlinelabels":c={style:a[P].divlineStyle};break;case "legend":c={style:a.legend.itemStyle};break;default:a.orphanStyles[c]=c={text:"",style:{}}}if(typeof c==="object")if(c instanceof Array){h=0;for(g=c.length;h<g;h+=1){n=c[h];for(f in j)if(a=f.toLowerCase(),typeof k[a]==="function")k[a](j[f],n,d);Q(n.style)}}else{for(f in j)if(a=f.toLowerCase(),typeof k[a]==="function")k[a](j[f],c,d);Q(c.style)}},parseStyles:function(a){var c,j,f,d={},h,g=this.dataObj;if(g.styles&&g.styles.definition instanceof
Array&&g.styles.application instanceof Array){for(c=0;c<g.styles.definition.length;c+=1)j=g.styles.definition[c],j.type&&j.name&&this["styleApplicationDefinition_"+j.type.toLowerCase()]&&(d[j.name.toLowerCase()]=j);for(c=0;c<g.styles.application.length;c+=1){j=g.styles.application[c].styles&&g.styles.application[c].styles.split(Ba)||[];for(h=0;h<j.length;h+=1)if(f=j[h].toLowerCase(),d[f]&&g.styles.application[c].toobject)this["styleApplicationDefinition_"+d[f].type.toLowerCase()](a,g.styles.application[c].toobject.toLowerCase(),
d[f])}}},dispose:function(){this.smartLabel&&this.smartLabel.dispose()}});F("stub",{standaloneInit:!0},F.base);F("barbase",{spaceManager:function(){return this.placeHorizontalXYSpaceManager.apply(this,arguments)}},F.base);F("singleseries",{series:function(a,c,j){var f=a.data||a.dataset&&a.dataset[0]&&a.dataset[0].data;if(f&&f.length>0)c.legend.enabled=!1,j=this.point(j,{data:[],colorByPoint:!0},f,a.chart,c),j instanceof Array?c.series=c.series.concat(j):c.series.push(j),this.configureAxis(c,a),a.trendlines&&
Ka(a.trendlines,c.yAxis,c[P],!1,this.isBar)},defaultSeriesType:t,configureAxis:function(c,m){var j=c[P],f=m.chart,d,h,g,n,k,p,o,q,s,v,t,y;n=this.numberFormatter;var z;c.xAxis.title.text=W(f.xaxisname);z=a(parseInt(f.yaxisvaluesstep,10),parseInt(f.yaxisvaluestep,10),1);z=z<1?1:z;d=c.yAxis[0];h=j[0];j.isDual?(g=n.getCleanValue(f.pyaxismaxvalue),n=n.getCleanValue(f.pyaxisminvalue),d.title.text=W(f.pyaxisname)):(g=n.getCleanValue(f.yaxismaxvalue),n=n.getCleanValue(f.yaxisminvalue),d.title.text=W(f.yaxisname));
o=a(this.isStacked?0:this.setAdaptiveYMin,f.setadaptiveymin,0);p=k=!o;q=a(j.numdivlines,f.numdivlines,this.numdivlines,4);s=f.adjustdiv!==Qa;v=a(this.showYAxisValues,f.showyaxisvalues,f.showyaxisvalue,1);t=a(f.showlimits,v);y=a(f.showdivlinevalue,f.showdivlinevalues,v);this.axisMinMaxSetter(d,h,g,n,k,p,q,s);this.configurePlotLines(f,c,d,h,t,y,z,j.numberFormatter,!1);if(d.reversed&&d.min>=0)c.plotOptions.series.threshold=d.max;if(j.isDual)g=f.syaxismaxvalue,n=f.syaxisminvalue,o=a(f.setadaptivesymin,
o),p=k=!o,t=a(f.showsecondarylimits,t),y=a(f.showdivlinesecondaryvalue,v),d=c.yAxis[1],h=j[1],this.axisMinMaxSetter(d,h,g,n,k,p,q,s),this.configurePlotLines(f,c,d,h,t,y,z,j.numberFormatter,!0),d.title.text=W(f.syaxisname)},pointValueWatcher:function(e,m,j,f,d,h,g){if(m!==null){e=e[P];j=a(j,0);e[j]||(e[j]={});j=e[j];if(f)this.distributedColumns&&(e.marimekkoTotal+=m),f=j.stack,d=a(d,0),h=a(h,0),g=c(g,z),f[g]||(f[g]=[]),g=f[g],g[h]||(g[h]=[]),h=g[h],h[d]||(h[d]={}),d=h[d],m>=0?d.p?m=d.p+=m:d.p=m:d.n?
m=d.n+=m:d.n=m;j.max=j.max>m?j.max:m;j.min=j.min<m?j.min:m}},getPointStub:function(e,m,j,f){var f=f[P],m=m===null?m:f.numberFormatter.dataLabels(m),d=I(W(e.tooltext)),h=I(W(e.displayvalue)),j=f.showTooltip?d!==void 0?d:m===null?!1:j!==t?j+f.tooltipSepChar+m:m:t,f=a(e.showvalue,f.showValues)?h!==void 0?h:m:t,e=c(e.link);return{displayValue:f,toolText:j,link:e}}},F.base);F("multiseries",{series:function(c,m,j){var f,d,h=m[P],g;m.legend.enabled=Boolean(a(c.chart.showlegend,1));if(c.dataset&&c.dataset.length>
0){this.categoryAdder(c,m);f=0;for(d=c.dataset.length;f<d;f+=1)g={data:[]},g=this.point(j,g,c.dataset[f],c.chart,m,h.oriCatTmp.length,f),g instanceof Array?m.series=m.series.concat(g):m.series.push(g);this.configureAxis(m,c);c.trendlines&&!this.isLog&&Ka(c.trendlines,m.yAxis,h,!1,this.isBar,void 0,this.inversed)}},categoryAdder:function(c,m){var j,f=0,d=m[P],h=d.axisGridManager,g=c.chart,n=m.xAxis,k,d=d.x;if(c.categories&&c.categories[0]&&c.categories[0].category){if(c.categories[0].font)m.xAxis.labels.style.fontFamily=
c.categories[0].font;if((j=a(c.categories[0].fontsize))!==void 0)j<1&&(j=1),m.xAxis.labels.style.fontSize=j+Xa,Q(m.xAxis.labels.style);if(c.categories[0].fontcolor)m.xAxis.labels.style.color=c.categories[0].fontcolor.split(Ba)[0].replace(/^\#?/,"#");var p=m[P].oriCatTmp,o=c.categories[0].category;for(j=0;j<o.length;j+=1)o[j].vline?h.addVline(n,o[j],f,m):(k=(k=a(o[j].showlabel,g.showlabels,1))?W(K(c.categories[0].category[j].label,c.categories[0].category[j].name)):t,h.addXaxisCat(n,f,f,k),p[f]=K(W(c.categories[0].category[j].tooltext),
k),f+=1)}d.catCount=f},getPointStub:function(e,m,j,f,d,h,g){var n,f=f[P],k,p,m=m===null?m:f.numberFormatter.dataLabels(m,g===1?!0:!1),o,q=I(W(e.tooltext)),g=f.tooltipSepChar;f.showTooltip?q!==void 0?d=q:m===null?d=!1:(f.seriesNameInToolTip&&(o=K(d&&d.seriesname)),d=o?o+g:t,d+=j?j+g:t,f.showPercentInToolTip?p=!0:d+=m):d=!1;a(e.showvalue,h)?I(e.displayvalue)!==void 0?n=W(e.displayvalue):f.showPercentValues?k=!0:n=m:n=t;e=c(e.link);return{displayValue:n,toolText:d,link:e,showPercentValues:k,showPercentInToolTip:p}}},
F.singleseries);var Gb=function(a,c){return a-c};F("xybase",{hideRLine:function(){var a=this.chart.series[this.index+1];a&&a.hide&&a.hide()},showRLine:function(){var a=this.chart.series[this.index+1];a&&a.show&&a.show()},getRegressionLineSeries:function(a,c,j){var f,d,h,g;g=a.sumXY;var n=a.sumX,k=a.sumY;d=a.xValues;h=a.sumXsqure;f=a.yValues;a=a.sumYsqure;c?(d.sort(Gb),f=d[0],d=d[d.length-1],g=(j*g-n*k)/(j*h-Math.pow(n,2)),h=!isNaN(g)?g*(f-n/j)+k/j:k/j,j=!isNaN(g)?g*(d-n/j)+k/j:k/j,j=[{x:f,y:h},{x:d,
y:j}]):(f.sort(Gb),h=f[0],f=f[f.length-1],g=(j*g-n*k)/(j*a-Math.pow(k,2)),d=!isNaN(g)?g*(h-k/j)+n/j:n/j,j=!isNaN(g)?g*(f-k/j)+n/j:n/j,j=[{x:d,y:h},{x:j,y:f}]);return j},pointValueWatcher:function(a,c,j,f){var d=a[P];if(c!==null)a=d[0],a.max=a.max>c?a.max:c,a.min=a.min<c?a.min:c;if(j!==null)a=d.x,a.max=a.max>j?a.max:j,a.min=a.min<j?a.min:j;f&&(j=j||0,c=c||0,f.sumX+=j,f.sumY+=c,f.sumXY+=j*c,f.sumXsqure+=Math.pow(j,2),f.xValues.push(j),f.sumYsqure+=Math.pow(c,2),f.yValues.push(c))}},F.multiseries);F("scrollbase",
{postSeriesAddition:function(e,m){e.chart.hasScroll=!0;var j=e.xAxis.scroll,f=e[P],d=f.width,g=f.x.catCount,p=m.chart;f.isScroll=!0;if(this.isStacked)o=1;else{var o=0,k=0,q,u=e.series,s,t=e.chart.defaultSeriesType;for(q=u.length;k<q;k++)s=c(u[k].type,t),s==="column"&&(o+=1);o<1&&(o=1)}g*=o;d=a(p.numvisibleplot,Math.floor(d/this.avgScrollPointWidth));if(j&&d>=2&&d<g)j.enabled=!0,j.vxLength=d/o,j.startPercent=p.scrolltoend===Va?1:0,j.padding=a(p.scrollpadding,e.chart.plotBorderWidth/2),j.height=a(p.scrollheight,
16),j.buttonWidth=a(p.scrollbtnwidth,p.scrollheight,16),j.buttonPadding=a(p.scrollbtnpadding,0),j.color=n(c(p.scrollcolor,h.altHGridColor[e.chart.paletteIndex])),f.marginBottomExtraSpace+=j.padding+j.height}},F.multiseries);D=F.singleseries;db=F.multiseries;F("column2dbase",{point:function(e,m,j,f,d){var e=j.length,g=d[P],n=g.axisGridManager,p=d.xAxis,k=d.chart.paletteIndex,g=g.x,o=d.colors,u=d.colors.length,s=/3d$/.test(d.chart.defaultSeriesType),z=this.isBar,v=c(f.showplotborder,s?Qa:Va)===Va?s?
1:a(f.plotborderthickness,1):0,B=d.chart.useRoundEdges,I=a(f.plotborderalpha,f.plotfillalpha,100),F=c(f.plotbordercolor,h.plotBorderColor[k]).split(Ba)[0],k=Ba+(a(f.useplotgradientcolor,1)?q(f.plotgradientcolor,h.plotGradientColor[k]):t),D=0,J=Boolean(a(f.use3dlighting,1)),G=d[P].numberFormatter,Q,L=a(f.plotborderdashed,0),T=a(f.plotborderdashlen,5),S=a(f.plotborderdashgap,4),V,N,X,Y,aa,ba,fa,ia,ka;for(X=N=0;N<e;N+=1)fa=j[N],fa.vline?n.addVline(p,fa,D,d):(V=G.getCleanValue(fa.value),Y=a(fa.showlabel,
f.showlabels,1),Y=W(!Y?t:K(fa.label,fa.name)),n.addXaxisCat(p,D,D,Y),D+=1,Q=c(fa.color,o[X%u])+k,aa=c(fa.alpha,f.plotfillalpha,eb),ba=c(fa.ratio,f.plotfillratio),ia=c(360-f.plotfillangle,90),V<0&&(ia=360-ia),ka={opacity:aa/100},aa=U(Q,aa,ba,ia,B,F,c(fa.alpha,I)+t,z,s),Q=a(fa.dashed,L)?y(c(fa.dashlen,T),c(fa.dashgap,S),v):void 0,m.data.push(C(this.getPointStub(fa,V,Y,d),{y:V,shadow:ka,color:aa[0],borderColor:aa[1],borderWidth:v,use3DLighting:J,dashStyle:Q,tooltipConstraint:this.tooltipConstraint})),
this.pointValueWatcher(d,V),X+=1);g.catCount=D;return m},defaultSeriesType:"column"},D);F("linebase",{defaultSeriesType:"line",hasVDivLine:!0,defaultPlotShadow:1,point:function(e,m,j,f,d){var g,p,o,k,q,u,s,z,v,B,I,F,D,J,G,Q,L,U,T,V,N,S,X,Y,aa,e=d.chart,ba=j.length,fa=d.xAxis;g=d[P];var ia=g.axisGridManager,ka=0,R=g.x,na=d.chart.paletteIndex,ua=d[P].numberFormatter;G=n(c(f.linecolor,f.palettecolors,h.plotFillColor[na]));Q=c(f.linealpha,eb);F=a(f.linethickness,this.lineThickness,4);D=Boolean(a(f.linedashed,
0));z=a(f.linedashlen,5);v=a(f.linedashgap,4);m.color={FCcolor:{color:G,alpha:Q}};m.lineWidth=F;m.step=this.stepLine;m.drawVerticalJoins=Boolean(a(f.drawverticaljoins,1));m.useForwardSteps=Boolean(a(f.useforwardsteps,1));J=a(f.drawanchors,f.showanchors);for(q=p=0;p<ba;p+=1)k=j[p],k.vline?ia.addVline(fa,k,ka,d):(g=ua.getCleanValue(k.value),o=a(k.showlabel,f.showlabels,1),o=W(!o?t:K(k.label,k.name)),ia.addXaxisCat(fa,ka,ka,o),ka+=1,B=n(c(k.color,G)),I=c(k.alpha,Q),u=a(k.dashed,D)?y(z,v,F):void 0,s=
{opacity:I/100},U=a(k.anchorsides,f.anchorsides,0),aa=a(k.anchorstartangle,f.anchorstartangle,0),N=a(k.anchorradius,f.anchorradius,this.anchorRadius,3),V=n(c(k.anchorbordercolor,f.anchorbordercolor,G)),T=a(k.anchorborderthickness,f.anchorborderthickness,this.anchorBorderThickness,1),S=n(c(k.anchorbgcolor,f.anchorbgcolor,h.anchorBgColor[na])),X=c(k.anchoralpha,f.anchoralpha,eb),Y=c(k.anchorbgalpha,f.anchorbgalpha,X),L=J===void 0?I!=0:!!J,m.data.push(C(this.getPointStub(k,g,o,d),{y:g,color:{FCcolor:{color:B,
alpha:I}},shadow:s,dashStyle:u,valuePosition:c(k.valueposition,e.valuePosition),marker:{enabled:!!L,fillColor:{FCcolor:{color:S,alpha:Y*X/100+t}},lineColor:{FCcolor:{color:V,alpha:X}},lineWidth:T,radius:N,startAngle:aa,symbol:Fa(U)},tooltipConstraint:this.tooltipConstraint})),this.pointValueWatcher(d,g),q+=1);R.catCount=ka;return m},defaultZeroPlaneHighlighted:!1},D);F("area2dbase",{defaultSeriesType:"area",hasVDivLine:!0,point:function(e,m,j,f,d){var e=d.chart,g=j.length,p=d.xAxis,o=d[P],k=d.chart.paletteIndex,
s=o.axisGridManager,o=o.x,u=d[P].numberFormatter,z=0,B,v,F,D,J,Q,L,G,U,T,S,X,V,N,Y,aa,ba,fa,ka,ia,na,ua,R;D=c(f.plotfillcolor,f.areabgcolor,I(f.palettecolors)?d.colors[0]:h.plotFillColor[k]).split(Ba)[0];ua=Ba+(a(f.useplotgradientcolor,1)?q(f.plotgradientcolor,h.plotGradientColor[k]):t);J=c(f.plotfillalpha,f.areaalpha,"90");Q=a(f.plotfillangle,270);L=c(f.plotbordercolor,f.areabordercolor,I(f.palettecolors)?d.colors[0]:h.plotBorderColor[k]).split(Ba)[0];G=f.showplotborder==Qa?Qa:c(f.plotborderalpha,
f.plotfillalpha,f.areaalpha,eb);B=a(f.plotborderangle,270);v=Boolean(a(f.plotborderdashed,0));V=a(f.plotborderdashlen,5);ba=a(f.plotborderdashgap,4);fa=a(f.plotborderthickness,f.areaborderthickness,1);R=m.fillColor={FCcolor:{color:D+ua,alpha:J,ratio:Db,angle:Q}};m.lineWidth=fa;m.dashStyle=v?y(V,ba,fa):void 0;m.lineColor={FCcolor:{color:L,alpha:G,ratio:eb,angle:B}};ba=Boolean(a(f.drawanchors,f.showanchors,1));for(fa=v=0;v<g;v+=1)V=j[v],V.vline?s.addVline(p,V,z,d):(B=u.getCleanValue(V.value),F=a(V.showlabel,
f.showlabels,1),F=W(!F?t:K(V.label,V.name)),s.addXaxisCat(p,z,z,F),z+=1,U=a(V.anchorsides,f.anchorsides,0),X=a(V.anchorstartangle,f.anchorstartangle,0),T=a(V.anchorradius,f.anchorradius,3),S=n(c(V.anchorbordercolor,f.anchorbordercolor,L)),ka=a(V.anchorborderthickness,f.anchorborderthickness,1),N=n(c(V.anchorbgcolor,f.anchorbgcolor,h.anchorBgColor[k])),Y=c(V.anchoralpha,f.anchoralpha,this.anchorAlpha,Qa),aa=c(V.anchorbgalpha,f.anchorbgalpha,Y),ia=I(V.color),na=a(V.alpha),ia=ia!==void 0||na!==void 0?
{FCcolor:{color:ia?n(ia)+ua:D,alpha:void 0===na?Lb(na)+t:J,ratio:Db,angle:Q}}:R,na={opacity:Math.max(na,G)/100,inverted:!0},m.data.push(C(this.getPointStub(V,B,F,d),{y:B,shadow:na,color:ia,valuePosition:c(V.valueposition,e.valuePosition),marker:{enabled:ba,fillColor:{FCcolor:{color:N,alpha:aa*Y/100+t}},lineColor:{FCcolor:{color:S,alpha:Y}},lineWidth:ka,radius:T,symbol:Fa(U),startAngle:X},tooltipConstraint:this.tooltipConstraint})),this.pointValueWatcher(d,B),fa+=1);o.catCount=z;return m}},D);var Hb=
{column:function(e,m,j){var f=e[P],d=m.borderWidth;return function(h,g,n){var k=Lb(c(h.alpha,m.alpha)).toString(),p={opacity:k/100},k=U(c(h.color,m.color)+m.plotgradientcolor,k,c(h.ratio,m.ratio),m.fillAangle,m.isRoundEdges,m.plotBorderColor,Math.min(k,Lb(m.plotBorderAlpha)).toString(),m.isBar,m.is3d),o=a(h.dashed,m.dashed)?y(c(h.dashlen,m.dashLen),c(h.dashgap,m.dashGap),d):void 0,h=j.getPointStub(h,n,f.oriCatTmp[g],e,m,m.showValues,m.yAxis);h.y=n;h.shadow=p;h.color=k[0];h.borderColor=k[1];h.borderWidth=
d;h.use3DLighting=m.use3DLighting;h.dashStyle=o;h.tooltipConstraint=j.tooltipConstraint;return h}},line:function(e,h,j){var f=e[P];return function(d,g,p){var o=c(d.alpha,h.lineAlpha),k={opacity:o/100},q=c(d.anchoralpha,h.anchorAlpha),g=j.getPointStub(d,p,f.oriCatTmp[g],e,h,h.showValues,h.yAxis);g.y=p;g.shadow=k;g.dashStyle=a(d.dashed,h.lineDashed)?y(h.lineDashLen,h.lineDashGap,h.lineThickness):void 0;g.color={FCcolor:{color:n(c(d.color,h.lineColor)),alpha:o}};g.valuePosition=c(d.valueposition,h.valuePosition);
g.marker={enabled:h.drawAnchors===void 0?o!=0:!!h.drawAnchors,fillColor:{FCcolor:{color:n(c(d.anchorbgcolor,h.anchorBgColor)),alpha:(c(d.anchorbgalpha,h.anchorBgAlpha)*q/100).toString()}},lineColor:{FCcolor:{color:n(c(d.anchorbordercolor,h.anchorBorderColor)),alpha:q}},lineWidth:a(d.anchorborderthickness,h.anchorBorderThickness),radius:a(d.anchorradius,h.anchorRadius),symbol:Fa(a(d.anchorsides,h.anchorSides)),startAngle:c(d.anchorstartangle,h.anchorAngle)};return g}},area:function(e,h,j){var f=e[P];
return function(d,g,p){var o=c(d.alpha,h.fillAlpha),k={opacity:Math.max(o,h.lineAlpha)/100,inverted:!0},q=c(d.anchoralpha,h.anchorAlpha),g=j.getPointStub(d,p,f.oriCatTmp[g],e,h,h.showValues,h.yAxis);g.y=p;g.shadow=k;g.color={FCcolor:{color:n(c(d.color,h.fillColor)),alpha:o}};g.valuePosition=c(d.valueposition,h.valuePosition);g.marker={enabled:h.drawAnchors,fillColor:{FCcolor:{color:n(c(d.anchorbgcolor,h.anchorBgColor)),alpha:(c(d.anchorbgalpha,h.anchorBgAlpha)*q/100).toString()}},lineColor:{FCcolor:{color:n(c(d.anchorbordercolor,
h.anchorBorderColor)),alpha:q}},lineWidth:a(d.anchorborderthickness,h.anchorBorderThickness),radius:a(d.anchorradius,h.anchorRadius),symbol:Fa(a(d.anchorsides,h.anchorSides)),startAngle:c(d.anchorstartangle,h.anchorAngle)};g.events={click:h.getLink};return g}}};F("mscolumn2dbase",{point:function(e,g,j,f,d,n,p,o){var b;var e=!1,k=j.data||[],s=d[P],u=c(g.type,this.defaultSeriesType),y=d.plotOptions[u]&&d.plotOptions[u].stacking,z=c(this.isValueAbs,s.isValueAbs,!1),v=a(g.yAxis,0),C=d[P].numberFormatter,
B=d.chart.paletteIndex,F,D,J;g.name=I(j.seriesname);if(a(j.includeinlegend)===0||g.name===void 0)g.showInLegend=!1;g.color=c(j.color,d.colors[p%d.colors.length]).split(Ba)[0].replace(/^#?/g,"#");J=/3d$/.test(d.chart.defaultSeriesType);D=c(360-f.plotfillangle,90);F<0&&(D=360-D);b=g._dataParser=Hb.column(d,{seriesname:g.name,color:c(j.color,d.colors[p%d.colors.length]),alpha:c(j.alpha,f.plotfillalpha,eb),plotgradientcolor:Ba+(a(f.useplotgradientcolor,1)?q(f.plotgradientcolor,h.plotGradientColor[B]):
t),ratio:c(j.ratio,f.plotfillratio),fillAangle:D,isRoundEdges:d.chart.useRoundEdges,plotBorderColor:c(f.plotbordercolor,J?Eb:h.plotBorderColor[B]).split(Ba)[0],plotBorderAlpha:f.showplotborder==Qa||J&&f.showplotborder!=Va?Qa:c(f.plotborderalpha,eb),isBar:this.isBar,is3d:J,dashed:a(j.dashed,f.plotborderdashed,0),dashLen:a(j.dashlen,f.plotborderdashlen,5),dashGap:a(j.dashgap,f.plotborderdashgap,4),borderWidth:c(f.plotborderthickness,Va),showValues:a(j.showvalues,s.showValues),yAxis:v,use3DLighting:a(f.use3dlighting,
1),_sourceDataset:j},this),j=b;for(f=0;f<n;f+=1)(p=k[f])?(F=C.getCleanValue(p.value,z),F===null?g.data.push({y:null}):(e=!0,g.data.push(j(p,f,F)),this.pointValueWatcher(d,F,v,y,f,o,u))):g.data.push({y:null});if(!e&&!this.realtimeEnabled)g.showInLegend=!1;return g},defaultSeriesType:"column"},db);F("mslinebase",{hasVDivLine:!0,point:function(e,g,j,f,d,p,o){var b;var e=!1,q,k;q=d.chart;var s=j.data||[];k=d[P];var u=c(g.type,this.defaultSeriesType),y=d.plotOptions[u]&&d.plotOptions[u].stacking,z=c(this.isValueAbs,
k.isValueAbs,!1),v=a(g.yAxis,0),C=this.numberFormatter,o=n(c(j.color,f.linecolor,d.colors[o%d.colors.length])),B=c(j.alpha,f.linealpha,eb),F=a(f.showshadow,this.defaultPlotShadow,1),D=a(j.drawanchors,j.showanchors,f.drawanchors,f.showanchors),J=a(j.anchorsides,f.anchorsides,0),G=a(j.anchorstartangle,f.anchorstartangle,0),Q=a(j.anchorradius,f.anchorradius,3),K=n(c(j.anchorbordercolor,f.anchorbordercolor,o)),L=a(j.anchorborderthickness,f.anchorborderthickness,1),U=n(c(j.anchorbgcolor,f.anchorbgcolor,
h.anchorBgColor[d.chart.paletteIndex])),V=c(j.anchoralpha,f.anchoralpha,eb),N=c(j.anchorbgalpha,f.anchorbgalpha,V);g.name=I(j.seriesname);if(a(j.includeinlegend)===0||g.name===void 0||B==0&&D!==1)g.showInLegend=!1;g.marker={fillColor:{FCcolor:{color:U,alpha:N*V/100+t}},lineColor:{FCcolor:{color:K,alpha:V+t}},lineWidth:L,radius:Q,symbol:Fa(J),startAngle:G};g.color={FCcolor:{color:o,alpha:B}};g.shadow=F?{opacity:F?B/100:0}:!1;g.step=this.stepLine;g.drawVerticalJoins=Boolean(a(f.drawverticaljoins,1));
g.useForwardSteps=Boolean(a(f.useforwardsteps,1));g.lineWidth=a(j.linethickness,f.linethickness,2);b=g._dataParser=Hb.line(d,{seriesname:g.name,lineAlpha:B,anchorAlpha:V,showValues:a(j.showvalues,k.showValues),yAxis:v,lineDashed:Boolean(a(j.dashed,f.linedashed,0)),lineDashLen:a(j.linedashlen,f.linedashlen,5),lineDashGap:a(j.linedashgap,f.linedashgap,4),lineThickness:g.lineWidth,lineColor:o,valuePosition:c(j.valueposition,q.valuePosition),drawAnchors:D,anchorBgColor:U,anchorBgAlpha:N,anchorBorderColor:K,
anchorBorderThickness:L,anchorRadius:Q,anchorSides:J,anchorAngle:G,_sourceDataset:j},this),q=b;for(f=0;f<p;f+=1)(k=s[f])?(j=C.getCleanValue(k.value,z),j===null?g.data.push({y:null}):(e=!0,g.data.push(q(k,f,j)),this.pointValueWatcher(d,j,v,y,f,0,u))):g.data.push({y:null});if(!e&&!this.realtimeEnabled)g.showInLegend=!1;return g},defaultSeriesType:"line",defaultPlotShadow:1,defaultZeroPlaneHighlighted:!1},db);F("msareabase",{hasVDivLine:!0,point:function(e,g,j,f,d,p,o){var b;var e=!1,s=d.chart,k=j.data||
[],A=d[P],u=c(g.type,this.defaultSeriesType),z=d.plotOptions[u]&&d.plotOptions[u].stacking,C=c(this.isValueAbs,A.isValueAbs,!1),v=d.chart.paletteIndex,B=a(g.yAxis,0),F=d[P].numberFormatter,D=c(j.color,f.plotfillcolor,d.colors[o%d.colors.length]).split(Ba)[0].replace(/^#?/g,"#").split(Ba)[0],I=c(j.alpha,f.plotfillalpha,f.areaalpha,this.isRadar?"50":"70"),J=a(f.plotfillangle,270),o=c(j.plotbordercolor,f.plotbordercolor,f.areabordercolor,this.isRadar?d.colors[o%d.colors.length]:h.plotFillColor[d.chart.paletteIndex]).split(Ba)[0],
G=c(j.showplotborder,f.showplotborder)==Qa?Qa:c(j.plotborderalpha,f.plotborderalpha,j.alpha,f.plotfillalpha,f.areaalpha,"95"),Q=a(f.plotborderangle,270),K=a(j.anchorsides,f.anchorsides,0),L=a(j.anchorstartangle,f.anchorstartangle,0),U=a(j.anchorradius,f.anchorradius,3),V=n(c(j.anchorbordercolor,f.anchorbordercolor,D)),N=a(j.anchorborderthickness,f.anchorborderthickness,1),T=n(c(j.anchorbgcolor,f.anchorbgcolor,h.anchorBgColor[v])),S=a(j.anchoralpha,f.anchoralpha,this.anchorAlpha,0),W=a(j.anchorbgalpha,
f.anchorbgalpha,S);this.isRadar||(D+=Ba+(a(f.useplotgradientcolor,1)?q(f.plotgradientcolor,h.plotGradientColor[v]):t));g.name=c(j.seriesname);if(a(j.includeinlegend)===0||g.name===void 0)g.showInLegend=!1;g.fillColor={FCcolor:{color:D,alpha:I,ratio:Db,angle:J}};g.color=D;g.shadow={opacity:a(f.showshadow,1)?G/100:0};g.lineColor={FCcolor:{color:o,alpha:G,ratio:eb,angle:Q}};g.lineWidth=c(j.plotborderthickness,f.plotborderthickness,1);g.dashStyle=Boolean(a(j.dashed,f.plotborderdashed,0))?y(a(j.dashlen,
f.plotborderdashlen,5),a(j.dashgap,f.plotborderdashgap,4),g.lineWidth):void 0;g.marker={fillColor:{FCcolor:{color:T,alpha:W*S/100+t}},lineColor:{FCcolor:{color:V,alpha:S+t}},lineWidth:N,radius:U,symbol:Fa(K),startAngle:L};b=g._dataParser=Hb.area(d,{seriesname:g.name,lineAlpha:G,anchorAlpha:S,showValues:a(j.showvalues,A.showValues),yAxis:B,fillColor:D,fillAlpha:I,valuePosition:c(j.valueposition,s.valuePosition),drawAnchors:Boolean(a(f.drawanchors,f.showanchors,1)),anchorBgColor:T,anchorBgAlpha:W,anchorBorderColor:V,
anchorBorderThickness:N,anchorRadius:U,anchorSides:K,anchorAngle:L,getLink:this.linkClickFN,_sourceDataset:j},this),j=b;for(s=0;s<p;s+=1)(A=k[s])?(f=A?F.getCleanValue(A.value,C):null,f===null?g.data.push({y:null}):(e=!0,g.data.push(j(A,s,f)),this.pointValueWatcher(d,f,B,z,s,0,u))):g.data.push({y:null});if(!e&&!this.realtimeEnabled)g.showInLegend=!1;return g},defaultSeriesType:"area",defaultPlotShadow:0},db);F("scatterbase",{showValues:0,defaultPlotShadow:0,point:function(e,g,j,f,d,o,p){if(j.data){var q,
k,s,u,z,C,v,B,D,J,Q,K,G,L,U,T,S,V=!1,N,W,e=F[e];s=a(j.drawline,f.drawlines,0);u=a(j.drawprogressioncurve,0);var o=j.data,X=o.length,Y=a(j.showvalues,d[P].showValues),ba=this.numberFormatter,fa=a(j.showregressionline,f.showregressionline,0);g.zIndex=1;g.name=I(j.seriesname);if(a(j.includeinlegend)===0||g.name===void 0)g.showInLegend=!1;if(s||u){if(u)g.type="spline";k=n(c(j.color,d.colors[p%d.colors.length]));s=c(j.alpha,eb);u=a(j.linethickness,f.linethickness,2);z=Boolean(a(j.linedashed,j.dashed,f.linedashed,
0));C=a(j.linedashlen,f.linedashlen,5);v=a(j.linedashgap,f.linedashgap,4);g.color=aa(c(j.linecolor,f.linecolor,k),a(j.linealpha,f.linealpha,s));g.lineWidth=u;g.dashStyle=z?y(C,v,u):void 0}s=Boolean(a(j.drawanchors,j.showanchors,f.drawanchors,f.showanchors,1));u=a(j.anchorsides,f.anchorsides,p+3);z=a(j.anchorradius,f.anchorradius,3);p=n(c(j.anchorbordercolor,j.color,f.anchorbordercolor,k,d.colors[p%d.colors.length]));k=a(j.anchorborderthickness,f.anchorborderthickness,1);C=n(c(j.anchorbgcolor,f.anchorbgcolor,
h.anchorBgColor[d.chart.paletteIndex]));v=c(j.anchoralpha,j.alpha,f.anchoralpha,eb);D=c(j.anchorbgalpha,j.alpha,f.anchorbgalpha,v);N=c(j.anchorstartangle,f.anchorstartangle);g.marker={fillColor:this.getPointColor(C,eb),lineColor:{FCcolor:{color:p,alpha:v+t}},lineWidth:k,radius:z,symbol:Fa(u)};if(fa){g.events={hide:this.hideRLine,show:this.showRLine};var ia={sumX:0,sumY:0,sumXY:0,sumXsqure:0,sumYsqure:0,xValues:[],yValues:[]},ka=a(j.showyonx,f.showyonx,1),na=n(c(j.regressionlinecolor,f.regressionlinecolor,
p)),R=a(j.regressionlinethickness,f.regressionlinethickness,k),f=Lb(a(j.regressionlinealpha,f.regressionlinealpha,v)),na=aa(na,f)}for(q=0;q<X;q+=1)(B=o[q])?(f=ba.getCleanValue(B.y),S=ba.getCleanValue(B.x),f===null?g.data.push({y:null,x:S}):(V=!0,W=e.getPointStub(B,f,ba.xAxis(S),d,j,Y),J=a(B.anchorsides,u),Q=a(B.anchorradius,z),K=n(c(B.anchorbordercolor,p)),G=a(B.anchorborderthickness,k),L=n(c(B.anchorbgcolor,C)),U=c(B.anchoralpha,B.alpha,v),T=c(B.anchorbgalpha,D),g.data.push({y:f,x:S,displayValue:W.displayValue,
toolText:W.toolText,link:W.link,marker:{enabled:s,fillColor:{FCcolor:{color:L,alpha:T*U/100+t}},lineColor:{FCcolor:{color:K,alpha:U}},lineWidth:G,radius:Q,symbol:Fa(J),startAngle:c(B.anchorstartangle,N)}}),this.pointValueWatcher(d,f,S,fa&&ia))):g.data.push({y:null});fa&&(j=this.getRegressionLineSeries(ia,ka,X),this.pointValueWatcher(d,j[0].y,j[0].x),this.pointValueWatcher(d,j[1].y,j[1].x),d={type:"line",color:na,showInLegend:!1,lineWidth:R,enableMouseTracking:!1,marker:{enabled:!1},data:j,zIndex:0},
g=[g,d])}if(!V)g.showInLegend=!1;return g},categoryAdder:function(e,g){var j,f=0,d,n=g[P].x,p,o=g.xAxis,k,q;q=e.chart;var s=parseInt(q.labelstep,10),z=a(q.showlabels,1),C=c(q.xaxislabelmode,"categories").toLowerCase(),v=g[P].numberFormatter;g._FCconf.isXYPlot=!0;s=s>1?s:1;n.catOccupied={};if(C!=="auto"&&e.categories&&e.categories[0]&&e.categories[0].category){q=e.categories[0];if(q.font)g.xAxis.labels.style.fontFamily=q.font;if((d=a(q.fontsize))!==void 0)d<1&&(d=1),g.xAxis.labels.style.fontSize=d+
Xa,Q(g.xAxis.labels.style);if(q.fontcolor)g.xAxis.labels.style.color=q.fontcolor.split(Ba)[0].replace(/^\#?/,"#");j=c(q.verticallinecolor,h.divLineColor[g.chart.paletteIndex]);d=a(q.verticallinethickness,1);p=a(q.verticallinealpha,h.divLineAlpha[g.chart.paletteIndex]);var B=a(q.verticallinedashed,0),F=a(q.verticallinedashlen,4),D=a(q.verticallinedashgap,2),I=aa(j,p),J,G,L;for(j=0;j<q.category.length;j+=1)k=q.category[j],p=v.getCleanValue(k.x),p!==null&&!k.vline&&(n.catOccupied[p]=!0,L=a(k.showlabel,
k.showname,z),J=a(k.showverticalline,k.showline,k.sl,0),G=a(k.linedashed,B),k=L===0||f%s!==0?t:W(K(k.label,k.name)),o.plotLines.push({isGrid:!0,isCat:!0,width:J?d:0,color:I,dashStyle:y(F,D,d,G),value:p,label:{text:k,style:o.labels.style,align:Y,verticalAlign:Oa,textAlign:Y,rotation:0,x:0,y:0}}),this.pointValueWatcher(g,null,p),f+=1);if(C==="mixed")n.requiredAutoNumericLabels=a(this.requiredAutoNumericLabels,1)}else n.requiredAutoNumericLabels=a(this.requiredAutoNumericLabels,1);n.adjustMinMax=!0},
getPointColor:function(a,c){var g,f,a=n(a),c=Lb(c);g=Bb(a,70);f=ab(a,50);return{FCcolor:{gradientUnits:"objectBoundingBox",cx:0.4,cy:0.4,r:"100%",color:g+Ba+f,alpha:c+Ba+c,ratio:Db,radialGradient:!0}}},defaultSeriesType:"scatter"},F.xybase);F("mscombibase",{series:function(e,g,h){var f,d,n,p,o=e.chart,k,q=[],s=[],t=[],y,v,z=g[P],C=this.isDual;g.legend.enabled=Boolean(a(e.chart.showlegend,1));if(e.dataset&&e.dataset.length>0){this.categoryAdder(e,g);p=z.oriCatTmp.length;f=0;for(d=e.dataset.length;f<
d;f+=1)switch(n=e.dataset[f],y=C&&c(n.parentyaxis,"p").toLowerCase()==="s"?!0:!1,k={legendIndex:f,data:[]},y?(k.yAxis=1,v=K(n.renderas,this.secondarySeriesType)):v=K(n.renderas,this.defaultSeriesType),v=v.toLowerCase(),v){case "line":case "spline":k.type="line";q.push(F.mslinebase.point.call(this,h,k,n,o,g,p,f));break;case "area":case "splinearea":k.type="area";g.chart.series2D3Dshift=!0;t.push(F.msareabase.point.call(this,h,k,n,o,g,p,f));break;case "column":case "column3d":s.push(F.mscolumn2dbase.point.call(this,
h,k,e.dataset[f],o,g,p,f));break;default:y?(k.type="line",q.push(F.mslinebase.point.call(this,h,k,n,o,g,p,f))):s.push(F.mscolumn2dbase.point.call(this,h,k,e.dataset[f],o,g,p,f))}g.series=o.areaovercolumns!=="0"?g.series.concat(s,t,q):g.series.concat(t,s,q);if(s.length===0)z.hasNoColumn=!0;this.configureAxis(g,e);e.trendlines&&Ka(e.trendlines,g.yAxis,g[P],C,this.isBar)}}},F.mscolumn2dbase)}})();
(function(){var B=FusionCharts(["private","modules.renderer.highcharts-interface"]);if(B!==void 0){var g=B.hcLib,D=B.renderer.getRenderer("javascript"),T=g.hasModule,t=g.loadModule,Ka=g.moduleCmdQueue,c=g.executeWaitingCommands,I=g.injectModuleDependency,a=g.moduleDependencies,h=g.getDependentModuleName,K=g.eventList={loaded:"FC_Loaded",dataloaded:"FC_DataLoaded",rendered:"FC_Rendered",drawcomplete:"FC_DrawComplete",resized:"FC_Resized",dataxmlinvalid:"FC_DataXMLInvalid",nodatatodisplay:"FC_NoDataToDisplay"};
g.raiseEvent=function(a,c,g,h,q,n){var t=K[a];B.raiseEvent(a,c,g,q,n);t&&typeof window[t]==="function"&&setTimeout(function(){window[t].apply(window,h)},0)};var q=function(a){var q,t,p,D={},n;for(q in B.core.items)if(q=B.core.items[q],p=q.chartType(),(t=q.jsVars)&&t.waitingModule&&q.__state.rendering&&g.needsModule(a,p))t.waitingModuleError=!0,t=h(p).concat(t.userModules),t.length&&(t=t[t.length-1],D[t]=g.moduleCmdQueue[t]);for(n in D)c(D[n]);B.raiseError(B.core,"11171116151","run","HC-interface~renderer.load",
"Unable to load required modules and resources: "+a)},W=function(a,c,g){B.hcLib.createChart(a,c,"stub",g,a.jsVars.msgStore.ChartNotSupported)};a.charts=B.extend(a.charts||{},{column2d:0,column3d:0,pie2d:0,pie3d:0,line:0,bar2d:0,area2d:0,doughnut2d:0,doughnut3d:0,pareto2d:0,pareto3d:0,mscolumn2d:0,mscolumn3d:0,msline:0,msarea:0,msbar2d:0,msbar3d:0,stackedcolumn2d:0,marimekko:0,stackedcolumn3d:0,stackedarea2d:0,stackedcolumn2dline:0,stackedcolumn3dline:0,stackedbar2d:0,stackedbar3d:0,msstackedcolumn2d:0,
mscombi2d:0,mscombi3d:0,mscolumnline3d:0,mscombidy2d:0,mscolumn3dlinedy:0,stackedcolumn3dlinedy:0,msstackedcolumn2dlinedy:0,scatter:0,bubble:0,ssgrid:0,scrollcolumn2d:0,scrollcolumn3d:0,scrollline2d:0,scrollarea2d:0,scrollstackedcolumn2d:0,scrollcombi2d:0,scrollcombidy2d:0,zoomline:0});a.powercharts=B.extend(a.powercharts||{},{spline:0,splinearea:0,msspline:0,mssplinearea:0,multiaxisline:0,multilevelpie:0,waterfall2d:0,msstepline:0,inversemsline:0,inversemscolumn2d:0,inversemsarea:0,errorbar2d:0,
errorscatter:0,errorline:0,logmsline:0,logmscolumn2d:0,radar:0,dragnode:0,candlestick:0,selectscatter:0,dragcolumn2d:0,dragline:0,dragarea:0,boxandwhisker2d:0,kagi:0,heatmap:0});a.widgets=B.extend(a.widgets||{},{angulargauge:0,bulb:0,cylinder:0,drawingpad:0,funnel:0,hbullet:0,hled:0,hlineargauge:0,vlineargauge:0,pyramid:0,realtimearea:0,realtimecolumn:0,realtimeline:0,realtimelinedy:0,realtimestackedarea:0,realtimestackedcolumn:0,sparkcolumn:0,sparkline:0,sparkwinloss:0,thermometer:0,vbullet:0,vled:0});
a.maps=B.extend(a.maps||{},{});B.extend(D,{render:function(a,c){var q=this.chartType(),p=this.jsVars,t=this.__state,n=g.chartAPI,K;K=h(q).concat(p.userModules);if(p.isResizing)p.isResizing=clearTimeout(p.isResizing);p.hcObj&&p.hcObj.destroy&&p.hcObj.destroy();if(n[q]){if(n[t.lastRenderedType]&&t.lastRenderedType!==q)for(var Ga in n[t.lastRenderedType].eiMethods)delete this[Ga];t.lastRenderedType=q;t.lastRenderedSrc=this.src;delete p.waitingModule;delete p.waitingModuleError;delete p.drLoadAttempted;
B.hcLib.createChart(this,a,q,c)}else{if(T(K))if(p.drLoadAttempted){B.raiseError(this,11112822001,"run","HC-interface~renderer.render","Chart runtimes not loaded even when resource is present");W(this,a,c);return}else I(q)&&(K=h(q).concat(p.userModules)),p.drLoadAttempted=!0;else if(K.length){if(p.waitingModuleError){W(this,a,c);delete p.waitingModule;delete p.waitingModuleError;return}}else{W(this,a,c);return}(q=Ka[K[K.length-1]])?(q.push({cmd:"render",obj:this,args:arguments}),p.waitingModule||(B.hcLib.createChart(this,
a,"stub",void 0,p.msgStore.LoadingText),D.load.call(this))):(B.raiseError(this,12080515551,"run","HC-interface~renderer.render","Unregistered module in dependentModule definition."),B.hcLib.createChart(this,a,"stub",void 0,p.msgStore.RenderChartErrorText))}},update:function(a){var c=this.ref,g=this.jsVars;g.hcObj&&g.hcObj.destroy&&g.hcObj.destroy();if(g.isResizing)g.isResizing=clearTimeout(g.isResizing);a.error===void 0?(delete g.stallLoad,delete g.loadError,this.isActive()&&(this.src!==this.__state.lastRenderedSrc?
this.render():B.hcLib.createChart(this,g.container,g.type))):(this.isActive()&&typeof c.showChartMessage==="function"&&c.showChartMessage("InvalidXMLText"),delete g.loadError)},resize:function(a){var c=this.ref,g,h=this.jsVars;if(c&&c.resize){if(h.isResizing)h.isResizing=clearTimeout(h.isResizing);h.isResizing=setTimeout(function(){g=B.normalizeCSSDimension(a.width,a.height,c);if(a.width!==void 0)c.style.width=g.width;if(a.height!==void 0)c.style.height=g.height;c.resize();delete h.isResizing},0)}},
dispose:function(){var a;a=this.jsVars;var c=a.hcObj||{};if(a.isResizing)a.isResizing=clearTimeout(a.isResizing);a.instanceAPI&&a.instanceAPI.dispose&&a.instanceAPI.dispose();if(a=this.ref)B.purgeDOM(a),a.parentNode&&a.parentNode.removeChild(a);g.cleanupWaitingCommands(this);return c&&c.destroy&&c.destroy()},load:function(){var a=this.jsVars,C=this.chartType(),y=B.hcLib.chartAPI[C],C=h(C).concat(a.userModules),p=C[C.length-1];if(y||!C||C&&C.length===0)delete a.waitingModule;else if(!a.waitingModule)a.waitingModule=
!0,delete a.waitingModuleError,t(C,function(){delete a.waitingModule;c(g.moduleCmdQueue[p])},q,this)},config:function(a){var c,g=this.jsVars,h=g.msgStore,g=g.cfgStore;for(c in a)h[c]?h[c]=a[c]:g[c.toLowerCase()]=a[c]}})}})();
