You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/packages/TelerikMvcExtensions.2011.3.../content/Scripts/2011.3.1115/telerik.chart.min.js

1 line
88 KiB

(function(a,bz){var ab=document,b=a.telerik,J=b.Class,bH=b.Component,R=b.DataSource,t=b.template,aj=function(){return b.formatString.apply(b,arguments)},ak="$t.formatString",aJ=a.map,aK=Math,a4=a.proxy,an=b.getter,ae=a.extend;var bp=function(bR){var bO="d",bS=false,Y="var o,e=$.telerik.htmlEncode;",X=/\${([^}]*)}/g,bQ,bP,bN;if(a.isFunction(bR)){if(bR.length===2){return function(bT){return bR(a,{data:bT}).join("")}}return bR}Y+=bS?"with("+bO+"){":"";Y+="o=";bQ=bR.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(X,"#=e($1)#").replace(/\\#/g,"__SHARP__").split("#");for(bN=0;bN<bQ.length;bN++){bP=bQ[bN];if(bN%2===0){Y+="'"+bP.split("'").join("\\'")+"'"}else{if(bP.charAt(0)==="="){Y+="+("+bP.substring(1)+")+"}else{Y+=";"+bP+";o+="}}}Y+=bS?";}":";";Y+="return o;";Y=Y.replace(/__SHARP__/g,"#");return new Function(bO,Y)};var c="above",T="12px sans-serif",d=10,s=1,k="bar",l=0.8,m=1.5,n=0.4,u="below",v="#000",w="bottom",E="center",F="change",I="circle",K="click",L="clip",O="column",P=3,Q="dataBound",U=400,V=6,W=600,aa=aK.PI/180,ah="fadeIn",ao="glass",ap="height",ar="horizontal",av=600,aw="insideBase",ax="insideEnd",ay="interpolate",aB="left",aD="line",aE=8,aF="linear",aM="mousemove.tracking",aN="mouseover",aO="none",aP=1.05,aR="object",aS="onMinorTicks",aU="outside",aV="outsideEnd",aT="_outline",aW="pie",aX=70,a5="radial",a7="right",bb="roundedBevel",bf="seriesClick",bl="square",bo="swing",bx="top",bu=150,bv=5,bw=100,by="triangle",bA="undefined",bD="vertical",bI="width",bG="#fff",bJ="x",bK="y",bL="zero",bM=0.2;var G=bH.extend({init:function(Y,bN){var X=this,bP,bO;bH.fn.init.call(X,Y);if(bN&&bN.dataSource){X.dataSource=R.create(bN.dataSource).bind(F,a4(X._onDataChanged,X))}bN=S({},X.options,bN);bO=bN.theme;bP=bO?G.themes[bO]||G.themes[bO.toLowerCase()]:{};f(bN,bP);h(bN,bP);X.options=S({},bP,bN);g(X.options);X.bind([Q,bf],X.options);a(Y).addClass("k-chart");X._refresh();X._attachEvents()},options:{name:"Chart",chartArea:{},title:{visible:true},legend:{visible:true},valueAxis:{type:"Numeric"},categoryAxis:{categories:[]},autoBind:true,seriesDefaults:{type:O,data:[],bar:{gap:m,spacing:n},column:{gap:m,spacing:n},line:{width:4},labels:{}},series:[],tooltip:{visible:false},transitions:true},refresh:function(){var X=this;h(X.options);f(X.options);X._refresh()},_refresh:function(){var X=this;if(X.options.dataSource&&X.options.autoBind){X.dataSource.query()}else{X._redraw()}},_redraw:function(){var X=this,bO=X.options,Y=X.element,bN=X._model=X._getModel(),bP=X._plotArea=bN._plotArea,bR=X._supportsSVG()?G.SVGView:G.VMLView,bQ=X._view=bR.fromModel(bN);Y.css("position","relative");X._viewElement=bQ.renderTo(Y[0]);X._tooltip=new bt(Y,bO.tooltip);X._highlight=new aq(bQ,X._viewElement)},svg:function(){var X=this._getModel(),Y=G.SVGView.fromModel(X);return Y.render()},_getModel:function(){var X=this,bO=X.options,Y=X.element,bN=new a8(S({width:Y.width()||W,height:Y.height()||U,transitions:bO.transitions},bO.chartArea)),bP;if(bO.title&&bO.title.visible&&bO.title.text){bN.append(new bs(bO.title))}bP=bN._plotArea=new a2(bO);if(bO.legend.visible){bN.append(new aC(bP.options.legend))}bN.append(bP);bN.reflow();return bN},_supportsSVG:bn,_attachEvents:function(){var X=this,Y=X.element;Y.bind(K,a4(X._click,X));Y.bind(aN,a4(X._mouseOver,X))},_getPoint:function(bO){var X=this,bQ=X._model,bN=X._eventCoordinates(bO),bS=bO.target.id,Y=bQ.idMap[bS],bP=bQ.idMapMetadata[bS],bR;if(Y){if(Y.getNearestPoint&&bP){bR=Y.getNearestPoint(bN.x,bN.y,bP.seriesIx)}else{bR=Y}}return bR},_eventCoordinates:function(bN){var X=this,Y=X.element.offset(),bO=a(window);return({x:bN.clientX-Y.left+bO.scrollLeft(),y:bN.clientY-Y.top+bO.scrollTop()})},_click:function(Y){var X=this,bN=X._getPoint(Y);if(bN){X.trigger(bf,{value:bN.value,category:bN.category,series:bN.series,dataItem:bN.dataItem,element:a(Y.target)})}},_mouseOver:function(Y){var X=this,bP=X._tooltip,bN=X._highlight,bO;if(!bN||bN.element===Y.target){return}bO=X._getPoint(Y);if(bO){X._activePoint=bO;if(X.options.tooltip.visible){bP.show(bO)}bN.show(bO);a(ab.body).bind(aM,a4(X._mouseMove,X))}},_mouseMove:function(bN){var X=this,bS=X._tooltip,bO=X._highlight,Y=X._eventCoordinates(bN),bQ=X._activePoint,bP,bR;if(X._plotArea.box.containsPoint(Y.x,Y.y)){if(bQ&&bQ.series.type===aD){bP=bQ.owner;bR=bP.getNearestPoint(Y.x,Y.y,bQ.seriesIx);if(bR&&bR!=bQ){X._activePoint=bR;if(bS.visible){bS.show(bR)}bO.show(bR)}}}else{a(ab.body).unbind(aM);delete X._activePoint;bS.hide();bO.hide()}},_onDataChanged:function(){var bN=this,bS=bN.options,bU=bS.series,Y=bS.categoryAxis,bP=bN.dataSource.view(),bT,X,bO,bX;for(var bV=0,bW=bU.length;bV<bW;bV++){var bO=bU[bV];if(bO.field||(bO.xField&&bO.yField)){bO.data=[];bO.dataItems=[]}}for(var bQ=0,bR=bP.length;bQ<bR;bQ++){bT=bP[bQ];if(Y.field){X=an(Y.field,true)(bT);if(bQ===0){Y.categories=[X]}else{Y.categories.push(X)}}for(var bV=0,bW=bU.length;bV<bW;bV++){bO=bU[bV];if(bO.field){bX=an(bO.field,true)(bT)}else{if(bO.xField&&bO.yField){bX=[an(bO.xField,true)(bT),an(bO.yField,true)(bT)]}else{bX=bz}}if(Z(bX)){if(bQ===0){bO.data=[bX];bO.dataItems=[bT]}else{bO.data.push(bX);bO.dataItems.push(bT)}}}}bN.trigger(Q);bN._redraw()}});var a3=J.extend({init:function(Y,bN){var X=this;X.x=ba(Y,P);X.y=ba(bN,P)}});var x=J.extend({init:function(Y,bO,bN,bP){var X=this;X.x1=Y||0;X.x2=bN||0;X.y1=bO||0;X.y2=bP||0},width:function(){return this.x2-this.x1},height:function(){return this.y2-this.y1},translate:function(Y,bN){var X=this;X.x1+=Y;X.x2+=Y;X.y1+=bN;X.y2+=bN;return X},move:function(bO,bP){var X=this,Y=X.height(),bN=X.width();X.x1=bO;X.y1=bP;X.x2=X.x1+bN;X.y2=X.y1+Y;return X},wrap:function(Y){var X=this;X.x1=aK.min(X.x1,Y.x1);X.y1=aK.min(X.y1,Y.y1);X.x2=aK.max(X.x2,Y.x2);X.y2=aK.max(X.y2,Y.y2);return X},snapTo:function(bN,X){var Y=this;if(X==bJ||!X){Y.x1=bN.x1;Y.x2=bN.x2}if(X==bK||!X){Y.y1=bN.y1;Y.y2=bN.y2}return Y},alignTo:function(bQ,bN){var Y=this,bO=Y.height(),bR=Y.width(),X=bN==bx||bN==w?bK:bJ,bP=X==bK?bO:bR;if(bN==bx||bN==aB){Y[X+1]=bQ[X+1]-bP}else{Y[X+1]=bQ[X+2]}Y.x2=Y.x1+bR;Y.y2=Y.y1+bO;return Y},shrink:function(bN,Y){var X=this;X.x2-=bN;X.y2-=Y;return X},expand:function(Y,X){this.shrink(-Y,-X);return this},pad:function(Y){var X=this,bN=am(Y);X.x1-=bN.left;X.x2+=bN.right;X.y1-=bN.top;X.y2+=bN.bottom;return X},unpad:function(Y){var X=this,bN=am(Y);bN.left=-bN.left;bN.top=-bN.top;bN.right=-bN.right;bN.bottom=-bN.bottom;return X.pad(bN)},clone:function(){var X=this;return new x(X.x1,X.y1,X.x2,X.y2)},center:function(){var X=this;return{x:X.x1+X.width()/2,y:X.y1+X.height()/2}},containsPoint:function(Y,bN){var X=this;return Y>=X.x1&&Y<=X.x2&&bN>=X.y1&&bN<=X.y2},points:function(){var X=this;return[new a3(X.x1,X.y1),new a3(X.x2,X.y1),new a3(X.x2,X.y2),new a3(X.x1,X.y2)]}});var be=J.extend({init:function(Y,bN,bP,X){var bO=this;bO.c=Y;bO.r=bN;bO.startAngle=bP;bO.angle=X},clone:function(){var X=this;return new be(X.c,X.r,X.startAngle,X.angle)},expand:function(X){this.r+=X;return this},middle:function(){return this.startAngle+this.angle/2},radius:function(X){this.r=X;return this},point:function(X){var bP=this,bO=X*aa,Y=aK.cos(bO),bN=aK.sin(bO),bQ=bP.c.x-(Y*bP.r),bR=bP.c.y-(bN*bP.r);return new a3(bQ,bR)}});var H=J.extend({init:function(Y){var X=this;X.children=[];X.options=S({},X.options,Y)},reflow:function(bQ){var bO=this,Y=bO.children,X,bP,bN;for(bP=0;bP<Y.length;bP++){bN=Y[bP];bN.reflow(bQ);X=X?X.wrap(bN.box):bN.box.clone()}bO.box=X},getViewElements:function(bP){var bN=this,bQ=[],X=bN.children,Y=X.length;for(var bO=0;bO<Y;bO++){bQ.push.apply(bQ,X[bO].getViewElements(bP))}return bQ},registerId:function(Y,bN){var X=this,bO;bO=X.getRoot();if(bO){bO.idMap[Y]=X;if(bN){bO.idMapMetadata[Y]=bN}}},translateChildren:function(bN,bO){var bP=this,X=bP.children,Y=X.length,bQ;for(bQ=0;bQ<Y;bQ++){X[bQ].box.translate(bN,bO)}},append:function(){var X=this,Y,bN=arguments.length;e(X.children,arguments);for(Y=0;Y<bN;Y++){arguments[Y].parent=X}},getRoot:function(){var X=this,Y=X.parent;return Y?Y.getRoot():null}});var a8=H.extend({init:function(X){var Y=this;Y.idMap={};Y.idMapMetadata={};H.fn.init.call(Y,X)},options:{width:W,height:U,background:bG,border:{color:v,width:0},margin:am(5),zIndex:-1},reflow:function(){var bP=this,bO=bP.options,X=bP.children,Y=new x(0,0,bO.width,bO.height);bP.box=Y.unpad(bO.margin);for(var bN=0;bN<X.length;bN++){X[bN].reflow(Y);Y=y(Y,X[bN].box)}},getViewElements:function(bQ){var bP=this,bO=bP.options,X=bO.border||{},Y=bP.box.clone().pad(bO.margin).unpad(X.width),bN=[bQ.createRect(Y,{stroke:X.width?X.color:"",strokeWidth:X.width,dashType:X.dashType,fill:bO.background,zIndex:bO.zIndex})];return bN.concat(H.fn.getViewElements.call(bP,bQ))},getRoot:function(){return this}});var z=H.extend({init:function(X){H.fn.init.call(this,X)},options:{align:aB,vAlign:bx,margin:{},padding:{},border:{color:v,width:0},background:"",width:0,height:0,visible:true},reflow:function(bU){var bQ=this,bN,bP,bS=bQ.options,bO=bQ.children,bR=am(bS.margin),bT=am(bS.padding),X=bS.border,Y=X.width;H.fn.reflow.call(bQ,bU);if(bO.length===0){bN=bQ.box=new x(0,0,bS.width,bS.height)}else{bN=bQ.box}bP=bQ.contentBox=bN.clone();bN.pad(bT).pad(Y).pad(bR);bQ.align(bU,bJ,bS.align);bQ.align(bU,bK,bS.vAlign);bQ.paddingBox=bN.clone().unpad(bR).unpad(Y);bQ.translateChildren(bN.x1-bP.x1+bR.left+Y+bT.left,bN.y1-bP.y1+bR.top+Y+bT.top)},align:function(bT,Y,X){var bQ=this,bN=bQ.box,bO=Y+1,bP=Y+2,bS=Y===bJ?bI:ap,bR=bN[bS]();if(at(X,[aB,bx])){bN[bO]=bT[bO];bN[bP]=bN[bO]+bR}else{if(at(X,[a7,w])){bN[bP]=bT[bP];bN[bO]=bN[bP]-bR}else{if(X==E){bN[bO]=bT[bO]+(bT[bS]()-bR)/2;bN[bP]=bN[bO]+bR}}}},hasBox:function(){var X=this.options;return X.border.width||X.background},getViewElements:function(bQ,bP){var Y=this,bO=Y.options;if(!bO.visible){return[]}var X=bO.border||{},bN=[];if(Y.hasBox()){bN.push(bQ.createRect(Y.paddingBox,S({id:bO.id,stroke:X.width?X.color:"",strokeWidth:X.width,dashType:X.dashType,strokeOpacity:bO.opacity,fill:bO.background,fillOpacity:bO.opacity,animation:bO.animation,zIndex:bO.zIndex},bP)))}return bN.concat(H.fn.getViewElements.call(Y,bQ))}});var bq=H.extend({init:function(X,Y){var bN=this;H.fn.init.call(bN,Y);bN.content=X;bN.reflow(new x())},options:{font:T,color:v,align:aB,vAlign:""},reflow:function(bO){var bP=this,Y=bP.options,bN=Y.size=aL(bP.content,{font:Y.font},Y.rotation);bP.baseline=bN.baseline;if(Y.align==aB){bP.box=new x(bO.x1,bO.y1,bO.x1+bN.width,bO.y1+bN.height)}else{if(Y.align==a7){bP.box=new x(bO.x2-bN.width,bO.y1,bO.x2,bO.y1+bN.height)}else{if(Y.align==E){var X=(bO.width()-bN.width)/2;bP.box=new x(ba(bO.x1+X,P),bO.y1,ba(bO.x2-X,P),bO.y1+bN.height)}}}if(Y.vAlign==E){var X=(bO.height()-bN.height)/2;bP.box=new x(bP.box.x1,bO.y1+X,bP.box.x2,bO.y2-X)}else{if(Y.vAlign==w){bP.box=new x(bP.box.x1,bO.y2-bN.height,bP.box.x2,bO.y2)}else{if(Y.vAlign==bx){bP.box=new x(bP.box.x1,bO.y1,bP.box.x2,bO.y1+bN.height)}}}},getViewElements:function(bN){var Y=this,X=Y.options;H.fn.getViewElements.call(this,bN);return[bN.createText(Y.content,S({},X,{x:Y.box.x1,y:Y.box.y1,baseline:Y.baseline}))]}});var br=z.extend({init:function(X,Y){var bO=this,bN;z.fn.init.call(bO,Y);Y=bO.options;if(!Y.template){X=Y.format?aj(Y.format,X):X}bN=new bq(X,S({},Y,{align:aB,vAlign:bx}));bO.append(bN);if(bO.hasBox()){bN.options.id=bB()}bO.reflow(new x())}});var r=H.extend({init:function(Y,bN){var X=this;H.fn.init.call(X,bN);X.append(new br(Y,X.options))},options:{position:aV,margin:am(3),padding:am(4),color:v,background:"",border:{width:1,color:""},aboveAxis:true,isVertical:false,animation:{type:ah,delay:av},zIndex:1},reflow:function(bR){var Y=this,bP=Y.options,bO=bP.isVertical,X=bP.aboveAxis,bS=Y.children[0],bN=bS.box,bQ=bS.options.padding;bS.options.align=bO?E:aB;bS.options.vAlign=bO?bx:E;if(bP.position==ax){if(bO){bS.options.vAlign=bx;if(!X&&bN.height()<bR.height()){bS.options.vAlign=w}}else{bS.options.align=X?a7:aB}}else{if(bP.position==E){bS.options.vAlign=E;bS.options.align=E}else{if(bP.position==aw){if(bO){bS.options.vAlign=X?w:bx}else{bS.options.align=X?aB:a7}}else{if(bP.position==aV){if(bO){if(X){bR=new x(bR.x1,bR.y1-bN.height(),bR.x2,bR.y1)}else{bR=new x(bR.x1,bR.y2,bR.x2,bR.y2+bN.height())}}else{bS.options.align=E;if(X){bR=new x(bR.x2+bN.width(),bR.y1,bR.x2,bR.y2)}else{bR=new x(bR.x1-bN.width(),bR.y1,bR.x1,bR.y2)}}}}}}if(bO){bQ.left=bQ.right=(bR.width()-bS.contentBox.width())/2}else{bQ.top=bQ.bottom=(bR.height()-bS.contentBox.height())/2}bS.reflow(bR)}});var bs=H.extend({init:function(X){var Y=this;H.fn.init.call(Y,X);Y.append(new br(Y.options.text,S({},Y.options,{vAlign:Y.options.position})))},options:{text:"",color:v,position:bx,align:E,margin:am(5),padding:am(5)},reflow:function(X){var Y=this;H.fn.reflow.call(Y,X);Y.box.snapTo(X,bJ)}});var aC=H.extend({init:function(Y){var X=this;H.fn.init.call(X,Y);X.createLabels()},options:{position:a7,items:[],labels:{},offsetX:0,offsetY:0,margin:am(10),padding:am(5),border:{color:v,width:0},background:"",zIndex:1},createLabels:function(){var bP=this,bN=bP.options.items,X=bN.length,bO,bQ,Y;for(Y=0;Y<X;Y++){bQ=bN[Y].name;bO=new bq(bQ,bP.options.labels);bP.append(bO)}},reflow:function(bO){var Y=this,bN=Y.options,X=Y.children.length;if(X===0){Y.box=bO.clone();return}if(bN.position=="custom"){Y.customLayout(bO);return}if(bN.position==bx||bN.position==w){Y.horizontalLayout(bO)}else{Y.verticalLayout(bO)}},getViewElements:function(b0){var bV=this,bN=bV.children,bY=bV.options,bS=bY.items,bP=bS.length,bX=bV.markerSize(),bQ=b0.createGroup({zIndex:bY.zIndex}),X=bY.border||{},bW,bU,bO,bT,Y,bR;e(bQ.children,H.fn.getViewElements.call(bV,b0));for(bR=0;bR<bP;bR++){bO=bS[bR].color;bT=bN[bR];bW=new x();Y=bT.box;bU=bU?bU.wrap(Y):Y.clone();bW.x1=Y.x1-bX*2;bW.x2=bW.x1+bX;if(bY.position==bx||bY.position==w){bW.y1=Y.y1+bX/2}else{bW.y1=Y.y1+(Y.height()-bX)/2}bW.y2=bW.y1+bX;bQ.children.push(b0.createRect(bW,{fill:bO,stroke:bO}))}if(bN.length>0){var bZ=am(bY.padding);bZ.left+=bX*2;bU.pad(bZ);bQ.children.unshift(b0.createRect(bU,{stroke:X.width?X.color:"",strokeWidth:X.width,dashType:X.dashType,fill:bY.background}))}return[bQ]},verticalLayout:function(bX){var bR=this,bW=bR.options,X=bR.children,Y=X.length,bP=X[0].box.clone(),bU,bV,bS=am(bW.margin),bT=bR.markerSize()*2;for(var bN=1;bN<Y;bN++){var bO=bR.children[bN];bO.box.alignTo(bR.children[bN-1].box,w);bP.wrap(bO.box)}if(bW.position==aB){bU=bX.x1+bT+bS.left;bV=(bX.y2-bP.height())/2;bP.x2+=bT+bS.left+bS.right}else{bU=bX.x2-bP.width()-bS.right;bV=(bX.y2-bP.height())/2;bP.translate(bU,bV);bP.x1-=bT+bS.left}bR.translateChildren(bU+bW.offsetX,bV+bW.offsetY);var bQ=bP.width();bP.x1=aK.max(bX.x1,bP.x1);bP.x2=bP.x1+bQ;bP.y1=bX.y1;bP.y2=bX.y2;bR.box=bP},horizontalLayout:function(bZ){var bS=this,bX=bS.options,bN=bS.children,bO=bN.length,X=bN[0].box.clone(),bU=bS.markerSize()*3,bV,bW,bT=am(bX.margin),Y=bN[0].box.width()+bU,bY=bZ.width(),bQ,bR=0,bP;for(bP=1;bP<bO;bP++){bQ=bN[bP];Y+=bQ.box.width()+bU;if(Y>bY-bU){bQ.box=new x(X.x1,X.y2,X.x1+bQ.box.width(),X.y2+bQ.box.height());Y=bQ.box.width()+bU;bR=bQ.box.y1}else{bQ.box.alignTo(bN[bP-1].box,a7);bQ.box.y2=bR+bQ.box.height();bQ.box.y1=bR;bQ.box.translate(bU,0)}X.wrap(bQ.box)}bV=(bZ.width()-X.width()+bU)/2;if(bX.position===bx){bW=bZ.y1+bT.top;X.y2=bZ.y1+X.height()+bT.top+bT.bottom;X.y1=bZ.y1}else{bW=bZ.y2-X.height()-bT.bottom;X.y1=bZ.y2-X.height()-bT.top-bT.bottom;X.y2=bZ.y2}bS.translateChildren(bV+bX.offsetX,bW+bX.offsetY);X.x1=bZ.x1;X.x2=bZ.x2;bS.box=X},customLayout:function(bS){var bP=this,bR=bP.options,X=bP.children,Y=X.length,bO=X[0].box.clone(),bQ=bP.markerSize()*2,bN;for(bN=1;bN<Y;bN++){bO=bP.children[bN].box;bO.alignTo(bP.children[bN-1].box,w);bO.wrap(bO)}bP.translateChildren(bR.offsetX+bQ,bR.offsetY);bP.box=bS},markerSize:function(){var Y=this,X=Y.children;if(X.length>0){return X[0].box.height()/2}else{return 0}}});var i=H.extend({init:function(Y){var X=this;H.fn.init.call(X,Y)},options:{labels:{rotation:0},line:{width:1,color:v},majorTickType:aU,majorTickSize:4,minorTickType:aO,minorTickSize:3,axisCrossingValue:0,minorGridLines:{visible:false,width:1,color:v},margin:5},renderTicks:function(bR){var X=this,bP=X.options,bN=bP.orientation===bD,Y=X.box,bO=X.getMajorTickPositions(),bQ=[];if(bP.majorTickType.toLowerCase()===aU){bQ=bQ.concat(aJ(bO,function(bS){return{pos:bS,size:bP.majorTickSize,width:bP.line.width,color:bP.line.color}}))}if(bP.minorTickType.toLowerCase()===aU){bQ=bQ.concat(aJ(X.getMinorTickPositions(),function(bS){if(bP.majorTickType.toLowerCase()!==aO){if(!at(bS,bO)){return{pos:bS,size:bP.minorTickSize,width:bP.line.width,color:bP.line.color}}}else{return{pos:bS,size:bP.minorTickSize,width:bP.line.width,color:bP.line.color}}}))}return aJ(bQ,function(bS){if(bN){return bR.createLine(Y.x2-bS.size,bS.pos,Y.x2,bS.pos,{strokeWidth:bS.width,stroke:bS.color})}else{return bR.createLine(bS.pos,Y.y1,bS.pos,Y.y1+bS.size,{strokeWidth:bS.width,stroke:bS.color})}})},getActualTickSize:function(){var X=this,Y=X.options,bN=0;if(Y.majorTickType!=aO&&Y.minorTickType!=aO){bN=aK.max(Y.majorTickSize,Y.minorTickSize)}else{if(Y.majorTickType!=aO){bN=Y.majorTickSize}else{if(Y.minorTickType!=aO){bN=Y.minorTickSize}}}return bN},arrangeLabels:function(bX,bW,b1){var X=this,b0=X.options,bP=X.options.orientation===bD,Y=X.children,b3=X.getMajorTickPositions(),b4=X.getActualTickSize(),bR,bV,bO;for(bO=0;bO<Y.length;bO++){var bQ=Y[bO],b2=bP?(Y.length-1-bO):bO,bT=bP?bQ.box.height():bQ.box.width(),bS=b3[b2]-(bT/2),bN,bZ,bY,bU;if(bP){if(b1==aS){bN=b3[bO];bZ=b3[bO+1];bY=bN+(bZ-bN)/2;bS=bY-(bT/2)}bU=X.box.x2-b0.margin-b4;bR=new x(bU-bQ.box.width(),bS,bU,bS)}else{if(b1==aS){bN=b3[bO];bZ=b3[bO+1]}else{bN=bS;bZ=bS+bT}bV=X.box.y1+b4+b0.margin;bR=new x(bN,bV,bZ,bV)}bQ.reflow(bR)}}});var aQ=i.extend({init:function(bW,bV,bU){var Y=this,bO=Y.initDefaults(bW,bV,bU),bR,bX,bP;i.fn.init.call(Y,bO);bU=Y.options;var bT=Y.getDivisions(bU.majorUnit),bN=bU.min,X=bU.orientation===bD?a7:E,bQ=S({},bU.labels,{align:X,zIndex:bU.zIndex}),bS;for(bP=0;bP<bT;bP++){if(bQ.template){bR=t(bQ.template);bS=bR({value:bN})}bX=new br(bS||bN,bQ);Y.append(bX);bN=ba(bN+bU.majorUnit,V)}},options:{min:0,max:1,orientation:bD,majorGridLines:{visible:true,width:1,color:v},zIndex:1},initDefaults:function(bS,bR,bQ){var bP=this,bN=bP.autoAxisMin(bS,bR),Y=bP.autoAxisMax(bS,bR),X=bP.autoMajorUnit(bN,Y),bO={min:bN,max:Y,majorUnit:X},bT;bO.min=ai(bN*aP,X);bO.max=D(Y*aP,X);if(bQ){bT=Z(bQ.min)||Z(bQ.max);if(bT){if(bQ.min===bQ.max){if(bQ.min>0){bQ.min=0}else{bQ.max=1}}}if(bQ.majorUnit){bO.min=ai(bO.min,bQ.majorUnit);bO.max=D(bO.max,bQ.majorUnit)}else{if(bT){bQ=S(bO,bQ);bO.majorUnit=bP.autoMajorUnit(bQ.min,bQ.max)}}}return S(bO,bQ)},reflow:function(bV){var X=this,bT=X.options,bP=bT.orientation===bD,Y=X.children,bU=X.getActualTickSize()+bT.margin,bS=0,bR=0,bN=Y.length,bQ,bO;for(bO=0;bO<bN;bO++){bQ=Y[bO];bS=aK.max(bS,bQ.box.width());bR=aK.max(bR,bQ.box.height())}if(bP){X.box=new x(bV.x1,bV.y1,bV.x1+bS+bU,bV.y2)}else{X.box=new x(bV.x1,bV.y1,bV.x2,bV.y1+bR+bU)}X.arrangeLabels(bS,bR)},getViewElements:function(bR){var X=this,bP=X.options,bN=bP.orientation===bD,Y=H.fn.getViewElements.call(X,bR),bQ=X.getMinorTickPositions(),bO;if(bP.line.width>0){bO={strokeWidth:bP.line.width,stroke:bP.line.color,dashType:bP.line.dashType,zIndex:bP.zIndex};if(bN){Y.push(bR.createLine(X.box.x2,bQ[0],X.box.x2,bQ[bQ.length-1],bO))}else{Y.push(bR.createLine(bQ[0],X.box.y1,bQ[bQ.length-1],X.box.y1,bO))}e(Y,X.renderTicks(bR))}return Y},autoMajorUnit:function(bN,Y){var X=Y-bN;if(X==0){if(Y==0){return 0.1}X=aK.abs(Y)}var bP=aK.pow(10,aK.floor(aK.log(X)/aK.log(10))),bO=ba((X/bP),V),bQ=1;if(bO<1.904762){bQ=0.2}else{if(bO<4.761904){bQ=0.5}else{if(bO<9.523809){bQ=1}else{bQ=2}}}return ba(bP*bQ,V)},autoAxisMax:function(bO,bN){if(bO==0&&bN==0){return 1}var X;if(bO<=0&&bN<=0){bN=bO==bN?0:bN;var Y=aK.abs((bN-bO)/bN);if(Y>bM){return 0}X=bN-((bO-bN)/2)}else{bO=bO==bN?0:bO;X=bN}return X},autoAxisMin:function(bO,bN){if(bO==0&&bN==0){return 0}var X;if(bO>=0&&bN>=0){bO=bO==bN?0:bO;var Y=(bN-bO)/bN;if(Y>bM){return 0}X=bO-((bN-bO)/2)}else{bN=bO==bN?0:bN;X=bO}return X},getDivisions:function(bN){var X=this.options,Y=X.max-X.min;return aK.floor(ba(Y/bN,P))+1},getTickPositions:function(bY){var X=this,bS=X.options,bO=bS.orientation===bD,bP=X.getAxisLineBox(),bQ=bO?bP.height():bP.width(),bV=bS.max-bS.min,bW=bQ/bV,bX=bY*bW,Y=X.getDivisions(bY),bT=bP[bO?"y2":"x1"],bR=bO?-1:1,bU=[],bN;for(bN=0;bN<Y;bN++){bU.push(ba(bT,P));bT=bT+bX*bR}return bO?bU.reverse():bU},getMajorTickPositions:function(){var X=this;return X.getTickPositions(X.options.majorUnit)},getMinorTickPositions:function(){var X=this;return X.getTickPositions(X.options.majorUnit/5)},getAxisLineBox:function(){var X=this,bR=X.options,bP=bR.orientation===bD,bQ=bP?"height":"width",bN=X.children,Y=X.box,bS=0,bO=0;if(bN.length>1){bS=bN[0].box[bQ]()/2;bO=bN[bN.length-1].box[bQ]()/2}if(bP){return new x(Y.x2,Y.y1+bS,Y.x2,Y.y2-bO)}else{return new x(Y.x1+bS,Y.y1,Y.x2-bO,Y.y1)}},getSlot:function(X,bN){var Y=this,bS=Y.options,bO=bS.orientation===bD,bX=bO?bK:bJ,bP=Y.getAxisLineBox(),bR=bP[bX+1],bQ=bO?bP.height():bP.width(),bV=bQ/(bS.max-bS.min),X=Z(X)?X:bS.axisCrossingValue,bN=Z(bN)?bN:bS.axisCrossingValue,X=aK.max(aK.min(X,bS.max),bS.min),bN=aK.max(aK.min(bN,bS.max),bS.min),bT,bU,bW=new x(bP.x1,bP.y1,bP.x1,bP.y1);if(bO){bT=bR+bV*(bS.max-aK.max(X,bN));bU=bR+bV*(bS.max-aK.min(X,bN))}else{bT=bR+bV*(aK.min(X,bN)-bS.min);bU=bR+bV*(aK.max(X,bN)-bS.min)}bW[bX+1]=bT;bW[bX+2]=bU;return bW}});var C=i.extend({init:function(bS){var Y=this;i.fn.init.call(Y,bS);var bS=Y.options,X=bS.orientation===bD?a7:E,bQ=S({},bS.labels,{align:X,zIndex:bS.zIndex}),bR,bO=bS.categories.length,bN,bP;for(bP=0;bP<bO;bP++){bN=bS.categories[bP];if(bQ.template){bR=t(bQ.template);bN=bR({value:bN})}Y.append(new br(bN,bQ))}},options:{categories:[],orientation:ar,majorGridLines:{visible:false,width:1,color:v},zIndex:1},reflow:function(bU){var X=this,bS=X.options,bO=bS.orientation===bD,Y=X.children,bT=X.getActualTickSize()+bS.margin,bQ=0,bR=0,bP,bN;for(bN=0;bN<Y.length;bN++){bP=Y[bN];bQ=aK.max(bQ,bP.box.height());bR=aK.max(bR,bP.box.width())}if(bO){X.box=new x(bU.x1,bU.y1,bU.x1+bR+bT,bU.y2)}else{X.box=new x(bU.x1,bU.y1,bU.x2,bU.y1+bQ+bT)}X.arrangeLabels(bR,bQ,aS)},getViewElements:function(bR){var X=this,bQ=X.options,bO=bQ.line,bN=bQ.orientation===bD,Y=H.fn.getViewElements.call(X,bR),bP;if(bO.width>0){bP={strokeWidth:bO.width,stroke:bO.color,dashType:bO.dashType,zIndex:bO.zIndex};if(bN){Y.push(bR.createLine(X.box.x2,X.box.y1,X.box.x2,X.box.y2,bP))}else{Y.push(bR.createLine(X.box.x1,X.box.y1,X.box.x2,X.box.y1,bP))}e(Y,X.renderTicks(bR))}return Y},getTickPositions:function(bO){var X=this,bP=X.options,bN=bP.orientation===bD,bS=bN?X.box.height():X.box.width(),bT=bS/bO,bQ=bN?X.box.y1:X.box.x1,bR=[],Y;for(Y=0;Y<bO;Y++){bR.push(ba(bQ,P));bQ+=bT}bR.push(bN?X.box.y2:X.box.x2);return bR},getMajorTickPositions:function(){var X=this;return X.getTickPositions(X.options.categories.length)},getMinorTickPositions:function(){var X=this;return X.getTickPositions(X.options.categories.length*2)},getSlot:function(bN){var X=this,bQ=X.options,bP=bQ.orientation===bD,bO=X.children,Y=X.box,bT=bP?Y.height():Y.width(),bU=bP?Y.y1:Y.x1,bV=bT/aK.max(1,bO.length),bR=bU+(bN*bV),bS=bR+bV;return bP?new x(Y.x2,bR,Y.x2,bS):new x(bR,Y.y1,bS,Y.y1)},getAxisLineBox:function(){var X=this,Y=X.options;return X.getSlot(0).wrap(X.getSlot(Y.categories.length-1))}});var M=H.extend({init:function(Y){var X=this;H.fn.init.call(X,Y)},options:{isVertical:false,gap:0,spacing:0},reflow:function(Y){var bP=this,bU=bP.options,bT=bU.isVertical,X=bT?bK:bJ,bO=bP.children,bR=bU.gap,bY=bU.spacing,bQ=bO.length,bW=bQ+bR+(bY*(bQ-1)),bX=(bT?Y.height():Y.width())/bW,bV=Y[X+1]+bX*(bR/2),bN,bS;for(bS=0;bS<bQ;bS++){bN=(bO[bS].box||Y).clone();bN[X+1]=bV;bN[X+2]=bV+bX;bO[bS].reflow(bN);if(bS<bQ-1){bV+=(bX*bY)}bV+=bX}}});var bm=H.extend({init:function(X){var Y=this;H.fn.init.call(Y,X)},options:{isVertical:true,isReversed:false},reflow:function(bZ){var bV=this,bT=bV.options,bS=bT.isVertical,bR=bT.isReversed,bU=bS?bJ:bK,bW=bS?bK:bJ,bX=bZ[bW+2],bN=bV.children,X=bV.box=new x(),bO=bN.length,bY,bQ;if(bT.isReversed){bY=bS?w:aB}else{bY=bS?bx:a7}for(bQ=0;bQ<bO;bQ++){var bP=bN[bQ],Y=bP.box.clone();Y.snapTo(bZ,bU);if(bP.options){bP.options.stackBase=bX}if(bQ==0){X=bV.box=Y.clone()}else{Y.alignTo(bN[bQ-1].box,bY)}bP.reflow(Y);X.wrap(Y)}}});var j=H.extend({init:function(bN,Y){var X=this;X.value=bN;X.options.id=bB();H.fn.init.call(X,Y)},options:{color:bG,border:{width:1},isVertical:true,overlay:{gradient:ao},aboveAxis:true,labels:{visible:false},animation:{type:k},opacity:1},render:function(){var X=this,bQ=X.value,bP=X.options,Y=bP.labels,bO=bQ,bN;if(X._rendered){return}else{X._rendered=true}if(Y.visible&&bQ){if(Y.template){bN=t(Y.template);bO=bN({dataItem:X.dataItem,category:X.category,value:X.value,series:X.series})}X.append(new r(bO,S({isVertical:bP.isVertical,id:bB()},bP.labels)))}},reflow:function(bP){this.render();var X=this,bO=X.options,Y=X.children,bN=Y[0];X.box=bP;if(bN){bN.options.aboveAxis=bO.aboveAxis;bN.reflow(bP)}},getViewElements:function(bU){var X=this,bS=X.options,bP=bS.isVertical,bR=bP?0:90,Y=bS.border.width>0?{stroke:X.getBorderColor(),strokeWidth:bS.border.width,dashType:bS.border.dashType}:{},bN=X.box,bT=S({id:bS.id,fill:bS.color,normalAngle:bR,aboveAxis:bS.aboveAxis,fillOpacity:bS.opacity,strokeOpacity:bS.opacity,stackBase:bS.stackBase,animation:bS.animation},Y),bO=[],bQ=X.children[0];if(bS.overlay){bT.overlay=S({rotation:bR},bS.overlay)}bO.push(bU.createRect(bN,bT));e(bO,H.fn.getViewElements.call(X,bU));X.registerId(bS.id);if(bQ){X.registerId(bQ.options.id)}return bO},getOutlineElement:function(bP,bN){var X=this,Y=X.box,bO=X.options.id+aT;X.registerId(bO);bN=S({},bN,{id:bO});return bP.createRect(Y,bN)},getBorderColor:function(){var X=this,bO=X.options,bN=bO.color,Y=bO.border.color;if(!Z(Y)){Y=new N(bN).brightness(l).toHex()}return Y},tooltipAnchor:function(bR,bQ){var Y=this,bP=Y.options,bN=Y.box,bO=bP.isVertical,X=bP.aboveAxis,bS,bT;if(bO){bS=bN.x2+bv;bT=X?bN.y1:bN.y2-bQ}else{if(bP.isStacked){bS=bN.x2-bR;bT=bN.y1-bQ-bv}else{bS=bN.x2+bv;bT=bN.y1}}return new a3(bS,bT)},formatPointValue:function(X){var Y=this;return Y.owner.formatPointValue(Y.value,X)}});var A=H.extend({init:function(bN,Y){var X=this;H.fn.init.call(X,Y);X.plotArea=bN;X._seriesMin=Number.MAX_VALUE;X._seriesMax=-Number.MAX_VALUE;X.points=[];X.categoryPoints=[];X.seriesPoints=[];X.render()},options:{series:[],isVertical:true,isStacked:false},render:function(){var X=this;X.traverseDataPoints(a4(X.addValue,X))},addValue:function(bT,X,Y,bQ,bR){var bO=this,bP,bN=bO.categoryPoints[Y],bS=bO.seriesPoints[bR];if(!bN){bO.categoryPoints[Y]=bN=[]}if(!bS){bO.seriesPoints[bR]=bS=[]}bO.updateRange(bT,Y);bP=bO.createPoint(bT,X,Y,bQ,bR);if(bP){bP.category=X;bP.series=bQ;bP.seriesIx=bR;bP.owner=bO;bP.dataItem=bQ.dataItems?bQ.dataItems[Y]:{value:bT}}bO.points.push(bP);bS.push(bP);bN.push(bP)},updateRange:function(bN,X){var Y=this;if(Z(bN)){Y._seriesMin=aK.min(Y._seriesMin,bN);Y._seriesMax=aK.max(Y._seriesMax,bN)}},valueRange:function(){var X=this;if(X.points.length){return{min:X._seriesMin,max:X._seriesMax}}return null},reflow:function(bU){var bN=this,bQ=bN.options,bP=bQ.isVertical,bR=bN.plotArea,bT=0,Y=bN.categorySlots=[],bO=bN.points,bV=bP?bR.axisY:bR.axisX,X=bV.options.axisCrossingValue,bS;bN.traverseDataPoints(function(b2,bX,bY){bS=bO[bT++];if(bS&&bS.plotValue){b2=bS.plotValue}var b0=bR.axisX.getSlot(bP?bY:b2),b1=bR.axisY.getSlot(bP?b2:bY),bZ=new x(b0.x1,b1.y1,b0.x2,b1.y2),bW=b2>=X;if(bS){bS.options.aboveAxis=bW;bS.reflow(bZ)}if(!Y[bY]){Y[bY]=bP?b0:b1}});bN.reflowCategories(Y);bN.box=bU},reflowCategories:function(){},traverseDataPoints:function(X){var bO=this,bS=bO.options,bT=bS.series,Y=bO.plotArea.options.categoryAxis.categories||[],bP=B(bT),bN,bU,bV,bQ,bR;for(bN=0;bN<bP;bN++){for(bU=0;bU<bT.length;bU++){bQ=Y[bN];bR=bT[bU];bV=bR.data[bN];X(bV,bQ,bN,bR,bU)}}},formatPointValue:function(Y,X){return aj(X,Y)}});var q=A.extend({init:function(bN,Y){var X=this;X._categoryTotalsPos=[];X._categoryTotalsNeg=[];A.fn.init.call(X,bN,Y)},createPoint:function(bZ,bN,bO,bW,bX){var Y=this,bU=Y.options,bP=Y.children,bR=Y.options.isStacked,bS=S({},bW.labels);if(bR){if(bS.position==aV){bS.position=ax}}var X=new j(bZ,{color:bW.color,opacity:bW.opacity,border:bW.border,isVertical:bU.isVertical,overlay:bW.overlay,labels:bS,isStacked:bR});var bQ=bP[bO];if(!bQ){bQ=new M({isVertical:!bU.isVertical,gap:bU.gap,spacing:bU.spacing});Y.append(bQ)}if(bR){var bY=bQ.children[0],bV,bT;if(!bY){bY=new H();bQ.append(bY);bV=new bm({isVertical:bU.isVertical});bT=new bm({isVertical:bU.isVertical,isReversed:true});bY.append(bV,bT)}else{bV=bY.children[0];bT=bY.children[1]}if(bZ>0){bV.append(X)}else{bT.append(X)}}else{bQ.append(X)}return X},updateRange:function(bR,X){var Y=this,bO=Y.options,bN=bO.isStacked,bQ=Y._categoryTotalsPos,bP=Y._categoryTotalsNeg;if(Z(bR)){if(bN){au(bR>0?bQ:bP,X,bR)}else{A.fn.updateRange.apply(Y,arguments)}}},valueRange:function(){var X=this,bN=X.options,Y=bN.isStacked,bP=X._categoryTotalsPos,bO=X._categoryTotalsNeg;if(Y){X._seriesMin=bj(bO.concat(0));X._seriesMax=bi(bP.concat(0))}return A.fn.valueRange.call(X)},reflowCategories:function(X){var Y=this,bN=Y.children,bO=bN.length,bP;for(bP=0;bP<bO;bP++){bN[bP].reflow(X[bP])}}});var bg=z.extend({init:function(Y){var X=this;z.fn.init.call(X,Y)},options:{type:bl,align:E,vAlign:E},getViewElements:function(bS,bQ){var bO=this,bP=bO.options,bR=bP.type,X=bO.paddingBox,Y=z.fn.getViewElements.call(bO,bS,bQ)[0],bN=X.width()/2;if(!Y){return[]}if(bR===by){Y=bS.createPolyline([new a3(X.x1+bN,X.y1),new a3(X.x1,X.y2),new a3(X.x2,X.y2)],true,Y.options)}else{if(bR===I){Y=bS.createCircle([ba(X.x1+bN,P),ba(X.y1+X.height()/2,P)],bN,Y.options)}}return[Y]}});var aI=H.extend({init:function(bN,X){var Y=this;Y.value=bN;bF.fn.init.call(Y,X)},options:{aboveAxis:true,isVertical:true,markers:{visible:true,background:bG,size:aE,type:I,border:{width:2},opacity:1},labels:{visible:false,position:c,margin:am(3),padding:am(4),animation:{type:ah,delay:av}}},render:function(){var bS=this,bR=bS.options,bQ=bR.markers,X=bR.labels,bO=bQ.background,bP=S({},bQ.border),bN=bS.value;if(bS._rendered){return}else{bS._rendered=true}if(!Z(bP.color)){bP.color=new N(bO).brightness(l).toHex()}bS.marker=new bg({id:bB(),visible:bQ.visible,type:bQ.type,width:bQ.size,height:bQ.size,background:bO,border:bP,opacity:bQ.opacity});bS.append(bS.marker);if(X.visible){if(X.template){var Y=t(X.template);bN=Y({dataItem:bS.dataItem,category:bS.category,value:bS.value,series:bS.series})}else{if(X.format){bN=bS.formatPointValue(X.format)}}bS.label=new br(bN,S({id:bB(),align:E,vAlign:E,margin:{left:5,right:5}},X,{format:""}));bS.append(bS.label)}},markerBox:function(){return this.marker.box},reflow:function(bQ){var bP=this,bO=bP.options,bN=bO.isVertical,X=bO.aboveAxis,Y;bP.render();bP.box=bQ;Y=bQ.clone();if(bN){if(X){Y.y1-=Y.height()}else{Y.y2+=Y.height()}}else{if(X){Y.x1+=Y.width()}else{Y.x2-=Y.width()}}bP.marker.reflow(Y);bP.reflowLabel(Y)},reflowLabel:function(X){var bQ=this,bP=bQ.options,bO=bQ.marker,bN=bQ.label,Y=bP.labels.position;if(bN){Y=Y===c?bx:Y;Y=Y===u?w:Y;bN.reflow(X);bN.box.alignTo(bO.box,Y);bN.reflow(bN.box)}},getViewElements:function(bO){var X=this,bN=X.marker,Y=X.label;X.registerId(bN.options.id);if(Y){X.registerId(Y.options.id)}return H.fn.getViewElements.call(X,bO)},getOutlineElement:function(bP,bN){var X=this,Y=X.marker,bO=X.marker.options.id+aT;X.registerId(bO);bN=S({},bN,{id:bO});return Y.getViewElements(bP,S(bN,{fill:Y.options.border.color,fillOpacity:1,strokeOpacity:0}))[0]},tooltipAnchor:function(bP,bO){var bN=this,Y=bN.marker.box,X=bN.options.aboveAxis;return new a3(Y.x2+bv,X?Y.y1-bO:Y.y2)},formatPointValue:function(X){var Y=this;return Y.owner.formatPointValue(Y.value,X)}});var aH={createLines:function(bX){var X=this,bQ=X.options,bT=bQ.series,bW=X.seriesPoints,Y,bV,bU=bW.length,bN,bO,bR,bS,bP=[];for(bV=0;bV<bU;bV++){bN=bW[bV];bS=bN.length;Y=bT[bV];bO=[];for(pointIx=0;pointIx<bS;pointIx++){bR=bN[pointIx];if(bR){pointCenter=bR.markerBox().center();bO.push(new a3(pointCenter.x,pointCenter.y))}else{if(Y.missingValues!==ay){if(bO.length>1){bP.push(X.createLine(bB(),bX,bO,Y,bV))}bO=[]}}}if(bO.length>1){bP.push(X.createLine(bB(),bX,bO,Y,bV))}}return bP},createLine:function(X,bP,Y,bN,bO){this.registerId(X,{seriesIx:bO});return bP.createPolyline(Y,false,{id:X,stroke:bN.color,strokeWidth:bN.width,strokeOpacity:bN.opacity,fill:"",dashType:bN.dashType})},getNearestPoint:function(bY,bZ,bX){var Y=this,bP=Y.options.isVertical,X=bP?bJ:bK,bW=bP?bY:bZ,bU=Y.seriesPoints[bX],bR=Number.MAX_VALUE,bV=bU.length,bN,bS,bT,bQ,bO;for(bO=0;bO<bV;bO++){bN=bU[bO];if(bN&&Z(bN.value)&&bN.value!==null){bS=bN.box;bT=aK.abs(bS.center()[X]-bW);if(bT<bR){bQ=bN;bR=bT}}}return bQ}};var aG=A.extend({init:function(bN,Y){var X=this;X._categoryTotals=[];A.fn.init.call(X,bN,Y)},createPoint:function(bW,X,Y,bT,bU){var bO=this,bQ=bO.options,bP=bQ.isStacked,bN=bO.categoryPoints[Y],bV,bR=0;if(!Z(bW)||bW===null){if(bP||bT.missingValues===bL){bW=0}else{return null}}var bS=new aI(bW,S({isVertical:bQ.isVertical,markers:{border:{color:bT.color},opacity:bT.opacity}},bT));if(bP){bV=bN[bN.length-1];if(bV){bR=bV.plotValue}bS.plotValue=bW+bR}bO.append(bS);return bS},updateRange:function(bQ,X){var Y=this,bO=Y.options,bN=bO.isStacked,bP=Y._categoryTotals;if(Z(bQ)){if(bN){au(bP,X,bQ);Y._seriesMin=aK.min(Y._seriesMin,bj(bP));Y._seriesMax=aK.max(Y._seriesMax,bi(bP))}else{A.fn.updateRange.apply(Y,arguments)}}},getViewElements:function(bP){var X=this,Y=A.fn.getViewElements.call(X,bP),bN=bP.createGroup({animation:{type:L}}),bO=X.createLines(bP);bN.children=bO.concat(Y);return[bN]}});S(aG.fn,aH);var bc=H.extend({init:function(bN,Y){var X=this;H.fn.init.call(X,Y);X.plotArea=bN;X._seriesMin=[Number.MAX_VALUE,Number.MAX_VALUE];X._seriesMax=[-Number.MAX_VALUE,-Number.MAX_VALUE];X.points=[];X.seriesPoints=[];X.render()},options:{series:[]},render:function(){var X=this;X.traverseDataPoints(a4(X.addValue,X))},addValue:function(bQ,Y){var X=this,bN,bO=Y.seriesIx,bP=X.seriesPoints[bO];X.updateRange(bQ);if(!bP){X.seriesPoints[bO]=bP=[]}bN=X.createPoint(bQ,Y.series,bO);if(bN){ae(bN,Y)}X.points.push(bN);bP.push(bN)},updateRange:function(bO){var X=this,bP=bO.x,bQ=bO.y,bN=X._seriesMin,Y=X._seriesMax;if(Z(bP)){bN[0]=aK.min(bN[0],bP);Y[0]=aK.max(Y[0],bP)}if(Z(bQ)){bN[1]=aK.min(bN[1],bQ);Y[1]=aK.max(Y[1],bQ)}},valueRange:function(){var X=this;if(X.points.length){return{min:X._seriesMin,max:X._seriesMax}}return null},createPoint:function(bQ,bO,bP){var X=this,Y=X.options;if(!Z(bQ.x)||!Z(bQ.y)){return null}var bN=new aI(bQ,S({markers:{border:{color:bO.color},opacity:bO.opacity},tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"}},bO));X.append(bN);return bN},reflow:function(bT){var bN=this,bP=bN.options,bQ=bN.plotArea,bO=bN.points,X=bQ.axisX,Y=bQ.axisY,bS=0,bR;bN.traverseDataPoints(function(bX){bR=bO[bS++];var bV=bQ.axisX.getSlot(bX.x,bX.x),bW=bQ.axisY.getSlot(bX.y,bX.y),bU=new x(bV.x1,bW.y1,bV.x2,bW.y2);if(bR){bR.reflow(bU)}});bN.box=bT},getViewElements:function(bO){var X=this,Y=H.fn.getViewElements.call(X,bO),bN=bO.createGroup({animation:{type:L}});bN.children=Y;return[bN]},traverseDataPoints:function(X){var Y=this,bP=Y.options,bS=bP.series,bR=0,bT,bN,bO,bU,bQ;for(bT=0;bT<bS.length;bT++){bN=bS[bT];for(bR=0;bR<bN.data.length;bR++){bQ=bN.data[bR]||[];bO=bN.dataItems;bU={x:bQ[0],y:bQ[1]};X(bU,{pointIx:bR,series:bN,seriesIx:bT,dataItem:bO?bO[bR]:bU,owner:Y})}}},formatPointValue:function(Y,X){return aj(X,Y.x,Y.y)}});var bd=bc.extend({getViewElements:function(bP){var X=this,Y=bc.fn.getViewElements.call(X,bP),bN=bP.createGroup({animation:{type:L}}),bO=X.createLines(bP);bN.children=bO.concat(Y);return[bN]}});S(bd.fn,aH);var a1=H.extend({init:function(bO,Y,X){var bN=this;bN.value=bO;bN.sector=Y;H.fn.init.call(bN,X)},options:{color:bG,overlay:{gradient:bb},border:{width:0.5},labels:{visible:false,distance:35,font:T,margin:am(0.5),align:I,zIndex:1,position:aV},animation:{type:aW},highlight:{visible:true,border:{width:1}}},render:function(){var bP=this,bO=bP.options,X=bO.labels,bN=bP.value,Y;if(bP._rendered){return}else{bP._rendered=true}if(X.template){Y=t(X.template);bN=Y({dataItem:bP.dataItem,category:bP.category,value:bP.value,series:bP.series})}if(X.visible){bP.label=new br(bN,S({},X,{id:bB(),align:E,vAlign:"",animation:{type:ah,delay:bP.categoryIx*aX}}));bP.append(bP.label);bP.registerId(bP.label.options.id)}},reflow:function(bO){var bN=this,Y=bN.options,X;bN.render();bN.box=bO;X=bO.clone();bN.reflowLabel()},reflowLabel:function(){var bU=this,bT=bU.sector.clone(),bS=bU.options,Y=bU.label,bP=bS.labels,bO=bP.distance,bV=bU.sector.startAngle%90,bR,bW,bX,X=bT.middle(),bQ,bN;if(Y){bN=Y.box.height();bQ=Y.box.width();if(bP.position=="center"){bT.r=aK.abs((bT.r-bN)/2)+bN;bR=bT.point(X);Y.reflow(new x(bR.x,bR.y-bN/2,bR.x,bR.y))}else{if(bP.position=="insideEnd"){bT.r=bT.r-bN/2;bR=bT.point(X);Y.reflow(new x(bR.x,bR.y-bN/2,bR.x,bR.y))}else{bR=bT.clone().expand(bO).point(X);if(bR.x>=bT.c.x){bW=bR.x+bQ;Y.orientation=a7}else{bW=bR.x-bQ;Y.orientation=aB}Y.reflow(new x(bW,bR.y-bN,bR.x,bR.y))}}}},getViewElements:function(bT){var bR=this,bQ=bR.sector,bS=bB(),bO=bR.options,Y=bO.border||{},X=Y.width>0?{stroke:Y.color,strokeWidth:Y.width,dashType:Y.dashType}:{},bN=[],bP=bO.overlay;if(bP){bP=S({},bO.overlay,{r:bQ.r,cx:bQ.c.x,cy:bQ.c.y})}bN.push(bT.createSector(bQ,S({id:bO.id,fill:bO.color,overlay:bP,fillOpacity:bO.opacity,strokeOpacity:bO.opacity,animation:S(bO.animation,{delay:bR.categoryIx*aX})},X)));e(bN,H.fn.getViewElements.call(bR,bT));return bN},getOutlineElement:function(bQ,bN){var bP=this,Y=bP.options.highlight||{},X=Y.border||{},bO=bP.options.id+aT;bP.registerId(bO);bN=S({},bN,{id:bO});return bQ.createSector(bP.sector,S({},bN,{fill:Y.color,fillOpacity:Y.opacity,strokeOpacity:X.opacity,strokeWidth:X.width,stroke:X.color}))},tooltipAnchor:function(bQ,bP){var bR=bQ/2,X=bP/2,Y=aK.sqrt((bR*bR)+(X*X)),bN=this.sector.clone().expand(Y+bv),bO=bN.point(bN.middle());return new a3(bO.x-bR,bO.y-X)},formatPointValue:function(X){var Y=this;return Y.owner.formatPointValue(Y.value,X)}});var a0=H.extend({init:function(bN,Y){var X=this;H.fn.init.call(X,Y);X.plotArea=bN;X.segments=[];X.seriesPoints=[];X.render()},options:{startAngle:90,padding:60,connectors:{width:1,color:"#939393",padding:4}},render:function(){var X=this;X.traverseDataPoints(a4(X.addValue,X))},traverseDataPoints:function(bN){var bO=this,bZ=bO.options,bP=bO.plotArea.options.seriesColors||[],b2=bZ.startAngle,bQ=bP.length,b0=bZ.series,bW,bT,bU,bS,bR,b4,b1,X,bV,b3,Y,b5,bX,bY;for(b1=0;b1<b0.length;b1++){bU=b0[b1];bW=bU.dataItems,bV=bU.data;Y=360/bO.pointsTotal(bV);for(bY=0;bY<bV.length;bY++){bS=bO.pointData(bU,bY);b5=bS.value;X=b5*Y;bT=bS.category;bX=bV.length!=1&&!!bS.explode;bU.color=bS.color?bS.color:bP[bY%bQ];bN(b5,new be(null,0,b2,X),{owner:bO,category:bT,categoryIx:bY,series:bU,seriesIx:b1,dataItem:bW?bW[bY]:bS,explode:bX});b2+=X}}},addValue:function(bP,bN,Y){var X=this,bO;bO=new a1(bP,bN,Y.series);bO.options.id=bB();ae(bO,Y);X.append(bO);X.segments.push(bO)},addValue:function(bP,bN,Y){var X=this,bO;bO=new a1(bP,bN,Y.series);bO.options.id=bB();ae(bO,Y);X.append(bO);X.segments.push(bO)},pointValue:function(X){return Z(X.value)?X.value:X},pointData:function(bP,bO){var X=this,bN=bP.dataItems,Y=bP.data[bO];return{value:X.pointValue(Y),category:X.pointGetter(bP,bO,"category"),color:X.pointGetter(bP,bO,"color"),explode:X.pointGetter(bP,bO,"explode")}},pointGetter:function(bO,Y,bN){var bQ=bO[bN+"Field"],X=bO.data[Y],bP=X[bN];if(bQ&&bO.dataItems){return an(bQ,true)(bO.dataItems[Y])}else{return Z(bP)?bP:""}},pointsTotal:function(Y){var X=this,bO=Y.length,bP=0,bN;for(bN=0;bN<bO;bN++){bP+=X.pointValue(Y[bN])}return bP},reflow:function(b2){var bN=this,bV=bN.options,bW=bV.padding,X=b2.clone(),bS=aK.min(X.width(),X.height()),b1=5,bW=bV.padding>bS/2-b1?bS/2-b1:bV.padding,bT=new x(X.x1,X.y1,X.x1+bS,X.y1+bS),bU=bT.center(),Y=X.center(),b0=bN.segments,bO=b0.length,bR=[],bX=[],bQ,bZ,bY,bP;bT.translate(Y.x-bU.x,Y.y-bU.y);for(bP=0;bP<bO;bP++){bZ=b0[bP];bY=bZ.sector;bY.r=bS/2-bW;bY.c=new a3(bY.r+bT.x1+bW,bY.r+bT.y1+bW);if(bZ.explode){bY.c=bY.clone().radius(bY.r*0.15).point(bY.middle())}bZ.reflow(bT);bQ=bZ.label;if(bQ){if(bQ.options.position===aV){if(bQ.orientation===a7){bX.push(bQ)}else{bR.push(bQ)}}}}if(bR.length>0){bR.sort(bN.labelComparator(true));bN.leftLabelsReflow(bR)}if(bX.length>0){bX.sort(bN.labelComparator(false));bN.rightLabelsReflow(bX)}bN.box=bT},leftLabelsReflow:function(bN){var X=this,Y=X.distanceBetweenLabels(bN);X.distributeLabels(Y,bN)},rightLabelsReflow:function(bN){var X=this,Y=X.distanceBetweenLabels(bN);X.distributeLabels(Y,bN)},distanceBetweenLabels:function(bR){var X=this,bV=X.segments[0],bU=bV.sector,bP=bR[0].box,bT,Y=bR.length-1,bO=[],bN,bS=bU.r+bV.options.labels.distance,bQ;bN=ba(bP.y1-(bU.c.y-bS-bP.height()-bP.height()/2));bO.push(bN);for(bQ=0;bQ<Y;bQ++){bP=bR[bQ].box;bT=bR[bQ+1].box;bN=ba(bT.y1-bP.y2);bO.push(bN)}bN=ba(bU.c.y+bS-bR[Y].box.y2-bR[Y].box.height()/2);bO.push(bN);return bO},distributeLabels:function(bN,bP){var X=this,Y=bN.length,bR,bQ,bS,bO;for(bO=0;bO<Y;bO++){bQ=bS=bO;bR=-bN[bO];while(bR>0&&(bQ>=0||bS<Y)){bR=X._takeDistance(bN,bO,--bQ,bR);bR=X._takeDistance(bN,bO,++bS,bR)}}X.reflowLabels(bN,bP)},_takeDistance:function(bO,Y,bP,X){if(bO[bP]>0){var bN=aK.min(bO[bP],X);X-=bN;bO[bP]-=bN;bO[Y]+=bN}return X},reflowLabels:function(bQ,bV){var bO=this,bP=bO.options,bZ=bO.segments,bY=bZ[0],bX=bY.sector,bW=bV.length,bU=bY.options.labels,bT=bU.distance,bN=bX.c.y-(bX.r+bT)-bV[0].box.height(),bS,Y,X,bR;bQ[0]+=2;for(bR=0;bR<bW;bR++){bS=bV[bR];bN+=bQ[bR];X=bS.box;Y=bO.hAlignLabel(X.x2,bX.clone().expand(bT),bN,bN+X.height(),bS.orientation==a7);if(bS.orientation==a7){if(bU.align!==I){Y=bX.r+bX.c.x+bT}bS.reflow(new x(Y+X.width(),bN,Y,bN))}else{if(bU.align!==I){Y=bX.c.x-bX.r-bT}bS.reflow(new x(Y-X.width(),bN,Y,bN))}bN+=X.height()}},getViewElements:function(b7){var bO=this,bY=bO.options,bQ=bY.connectors,b2=bO.segments,bP,b0,bR=b2.length,b4=4,X,bW=[],bZ,b1,b3,bV,bU;for(bU=0;bU<bR;bU++){b1=b2[bU];b0=b1.sector;X=b0.middle();bV=b1.label;b3={seriesId:b1.seriesIx};if(bV){bZ=[];if(bV.options.position===aV){var Y=bV.box,bN=b0.c,b6=b0.point(X),bX=new a3(Y.x1,Y.center().y),b5,bT,bS;b6=b0.clone().expand(bQ.padding).point(X);bZ.push(b6);if(bV.orientation==a7){bT=new a3(Y.x1-bQ.padding,Y.center().y);bS=aA(bN,b6,bX,bT);bX=new a3(bT.x-b4,bT.y);bS=bS||bX;bS.x=aK.min(bS.x,bX.x);if(bO.pointInCircle(bS,b0.c,b0.r+b4)||bS.x<b0.c.x){b5=b0.c.x+b0.r+b4;if(b1.options.labels.align!==O){if(b5<bX.x){bZ.push(new a3(b5,b6.y))}else{bZ.push(new a3(b6.x+b4*2,b6.y))}}else{bZ.push(new a3(b5,b6.y))}bZ.push(new a3(bX.x,bT.y))}else{bS.y=bT.y;bZ.push(bS)}}else{bT=new a3(Y.x2+bQ.padding,Y.center().y);bS=aA(bN,b6,bX,bT);bX=new a3(bT.x+b4,bT.y);bS=bS||bX;bS.x=aK.max(bS.x,bX.x);if(bO.pointInCircle(bS,b0.c,b0.r+b4)||bS.x>b0.c.x){b5=b0.c.x-b0.r-b4;if(b1.options.labels.align!==O){if(b5>bX.x){bZ.push(new a3(b5,b6.y))}else{bZ.push(new a3(b6.x-b4*2,b6.y))}}else{bZ.push(new a3(b5,b6.y))}bZ.push(new a3(bX.x,bT.y))}else{bS.y=bT.y;bZ.push(bS)}}bZ.push(bT);bP=b7.createPolyline(bZ,false,{id:bB(),stroke:bQ.color,strokeWidth:bQ.width,animation:{type:ah,delay:b1.categoryIx*aX}});bW.push(bP);b1.registerId(bP.options.id,b3)}b1.registerId(bV.options.id,b3)}b1.registerId(b1.options.id,b3)}e(bW,H.fn.getViewElements.call(bO,b7));return bW},labelComparator:function(X){X=(X)?-1:1;return function(Y,bN){var bO=Y.parent.sector.startAngle;Y=(Y.parent.sector.middle()+270)%360;bN=(bN.parent.sector.middle()+270)%360;return(Y-bN)*X}},hAlignLabel:function(bO,bQ,bS,bT,bN){var X=bQ.c.x,Y=bQ.c.y,bP=bQ.r,bR=aK.min(aK.abs(Y-bS),aK.abs(Y-bT));if(bR>bP){return bO}else{return X+aK.sqrt((bP*bP)-(bR*bR))*(bN?1:-1)}},pointInCircle:function(Y,X,bN){return bk(X.x-Y.x)+bk(X.y-Y.y)<bk(bN)},formatPointValue:function(Y,X){return aj(X,Y)}});var a2=H.extend({init:function(X){var Y=this;H.fn.init.call(Y,X);Y.render()},options:{categoryAxis:{},valueAxis:{},series:[],plotArea:{margin:{}},background:"",border:{color:v,width:0},range:{},legend:{}},render:function(){var bR=this,bP=bR.options,bU=bP.series,bV=bU.length,Y,bQ=[],X=[],bO=[],bT=[],bS=[],bN;bP.legend.items=[];bP.range={min:0,max:1};bR.charts=[];for(bN=0;bN<bV;bN++){Y=bU[bN];if(Y.type===k||Y.type===O){X.push(Y)}else{if(Y.type===aD){bO.push(Y)}else{if(Y.type===aW){bQ.push(Y)}else{if(Y.type==="scatter"){bT.push(Y)}else{if(Y.type==="scatterLine"){bS.push(Y)}}}}}}if(X.length>0){bR.createBarChart(X)}if(bO.length>0){bR.createLineChart(bO)}if(bQ.length>0){bR.createPieChart(bQ)}if(bT.length>0||bS.length>0){if(bT.length>0){bR.createScatterChart(bT)}else{bR.createScatterLineChart(bS)}bR.axisX=new aQ(bP.range.min[0],bP.range.max[0],S({},bP.xAxis,{orientation:ar}));bR.axisY=new aQ(bP.range.min[1],bP.range.max[1],S({},bP.yAxis,{orientation:bD}));bR.append(bR.axisY);bR.append(bR.axisX)}else{if(bV!=bQ.length||bV==0){bR.createAxes(bP.range.min,bP.range.max,bP.invertAxes)}}bR.append.apply(bR,bR.charts)},addToLegend:function(bQ){var bP=this,X=bQ.length,Y=[],bO,bN;for(bN=0;bN<X;bN++){bO={name:bQ[bN].name||"",color:bQ[bN].color};Y.push(bO)}e(bP.options.legend.items,Y)},createBarChart:function(bS){var bR=this,bQ=bR.options,bO=bS[0],bP=bQ.invertAxes=bO.type===k,Y=bQ.categoryAxis.categories,X=new q(bR,{series:bS,isVertical:!bP,isStacked:bO.stack,gap:bO.gap,spacing:bO.spacing}),bN=aK.max(0,B(bS)-Y.length);e(Y,new Array(bN));bQ.range=X.valueRange()||bQ.range;bR.charts.push(X);bR.addToLegend(bS)},createLineChart:function(bU){var bT=this,bS=bT.options,bO=bU[0],bN=bS.categoryAxis,X=bN.categories,bP=bS.invertAxes=bN.orientation===bD,bQ=new aG(bT,{isVertical:!bP,isStacked:bO.stack,series:bU}),Y=aK.max(0,B(bU)-X.length),bR=bQ.valueRange()||bS.range;e(X,new Array(Y));bS.range.min=aK.min(bS.range.min,bR.min);bS.range.max=aK.max(bS.range.max,bR.max);bT.charts.push(bQ);bT.addToLegend(bU)},createScatterChart:function(bS){var bP=this,bO=bP.options,bN=bS[0],Y=bO.categoryAxis,X=Y.categories,bQ=new bc(bP,{series:bS}),bR=bQ.valueRange()||bO.range;bO.range=bR;bP.charts.push(bQ);bP.addToLegend(bS)},createScatterLineChart:function(bS){var bP=this,bO=bP.options,bN=bS[0],Y=bO.categoryAxis,X=Y.categories,bQ=new bd(bP,{series:bS}),bR=bQ.valueRange()||bO.range;bO.range=bR;bP.charts.push(bQ);bP.addToLegend(bS)},createPieChart:function(bS){var bQ=this,bO=bQ.options,Y=bS[0],bP=new a0(bQ,{series:bS,padding:Y.padding,startAngle:Y.startAngle,connectors:Y.connectors}),bR=bP.segments,X=bR.length,bN;bQ.charts.push(bP);for(bN=0;bN<X;bN++){bO.legend.items.push({name:bR[bN].category,color:bR[bN].options.color})}},createAxes:function(bR,bQ,bN){var bP=this,bO=bP.options,X=bO.categoryAxis.categories.length,Y=new C(S({orientation:bN?bD:ar,axisCrossingValue:bN?X:0},bO.categoryAxis,bN?bO.yAxis:bO.xAxis)),bS=new aQ(bR,bQ,S({orientation:bN?ar:bD},bO.valueAxis,bN?bO.xAxis:bO.yAxis));bP.axisX=bN?bS:Y;bP.axisY=bN?Y:bS;bP.append(bP.axisY);bP.append(bP.axisX)},alignAxes:function(){var bR=this,bO=bR.axisY,bN=bR.axisX,bQ=bO.options.axisCrossingValue,Y=bO.getSlot(bQ,bQ),bP=bN.options.axisCrossingValue,X=bN.getSlot(bP,bP);bO.reflow(bO.box.translate(X.x1-Y.x1,0));bN.reflow(bN.box.translate(0,Y.y1-X.y1))},reflow:function(bO){var bN=this,Y=bN.options.plotArea,X=am(Y.margin);bN.box=bO.clone();bN.box.unpad(X);bN.reflowAxes();bN.reflowCharts();bN.wrapAxes()},reflowAxes:function(){var bT=this,bN=bT.axisY,Y=bT.axisX,bO=bT.box;if(bN||Y){bN.reflow(bO);Y.reflow(bO);bT.alignAxes();var X=bN.box.clone().wrap(Y.box),bS=X.height()-bO.height(),bR=X.width()-bO.width(),bP=bO.x1-X.x1,bQ=bO.y1-X.y1;bN.reflow(bN.box.translate(bP,bQ).shrink(0,bS));Y.reflow(Y.box.translate(bP,bQ).shrink(bR,0));bT.alignAxes()}},reflowCharts:function(){var bP=this,Y=bP.charts,bN=Y.length,X=bP.box,bO;for(bO=0;bO<bN;bO++){Y[bO].reflow(X)}bP.box=X},wrapAxes:function(){var bP=this,Y=bP.axisY,X=bP.axisX,bN,bO;if(Y||X){bN=X.getAxisLineBox();bO=Y.getAxisLineBox();bP.box=bN.clone().wrap(bO)}},renderGridLines:function(bY,X,bX){var bV=X.options,bQ=bV.orientation===bD,Y=bX.getMajorTickPositions(),bN=X.getSlot(bV.axisCrossingValue),bW=ba(bN[bQ?"y1":"x1"]),bT=Y[0],bR=Y.pop(),bS,bU=X.getMajorTickPositions(),bP=[],bO=function(b0,bZ){return{pos:b0,options:bZ}};if(bV.majorGridLines.visible){bP=aJ(bU,function(bZ){return bO(bZ,bV.majorGridLines)})}if(bV.minorGridLines.visible){bP=bP.concat(aJ(X.getMinorTickPositions(),function(bZ){if(bV.majorGridLines.visible){if(!at(bZ,bU)){return bO(bZ,bV.minorGridLines)}}else{return bO(bZ,bV.minorGridLines)}}))}return aJ(bP,function(b0){var bZ={strokeWidth:b0.options.width,stroke:b0.options.color,dashType:b0.options.dashType},b1=ba(b0.pos);if(bW===b1){return null}if(bQ){return bY.createLine(bT,b1,bR,b1,bZ)}else{return bY.createLine(b1,bT,b1,bR,bZ)}})},getViewElements:function(bU){var bT=this,bS=bT.options.plotArea,Y=bT.axisY,X=bT.axisX,bR=Y?bT.renderGridLines(bU,Y,X):[],bQ=X?bT.renderGridLines(bU,X,Y):[],bO=H.fn.getViewElements.call(bT,bU),bN=bS.border||{},bP=[bU.createRect(bT.box,{fill:bS.background,zIndex:-1}),bU.createRect(bT.box,{stroke:bN.width?bN.color:"",strokeWidth:bN.width,fill:"",zIndex:0,dashType:bN.dashType})];return[].concat(bR,bQ,bO,bP)}});var bF=J.extend({init:function(Y){var X=this;X.children=[];X.options=S({},X.options,Y)},render:function(){return this.template(this)},renderContent:function(){var bO="",Y=this,bP=Y.sortChildren(),X=bP.length;for(var bN=0;bN<X;bN++){bO+=bP[bN].render()}return bO},sortChildren:function(){var Y=this,X=Y.children;for(var bN=0,bO=X.length;bN<bO;bN++){X[bN]._childIndex=bN}return X.slice(0).sort(Y.compareChildren)},compareChildren:function(X,bN){var Y=X.options.zIndex||0,bO=bN.options.zIndex||0;if(Y!==bO){return Y-bO}return X._childIndex-bN._childIndex},renderAttr:function(X,Y){return Z(Y)?" "+X+"='"+Y+"' ":""}});var bE=bF.extend({init:function(X){var Y=this;bF.fn.init.call(Y,X);Y.definitions={};Y.decorators=[];Y.animations=[]},renderDefinitions:function(){var bO=this,Y=bO.definitions,X,bN="";for(X in Y){if(Y.hasOwnProperty(X)){bN+=Y[X].render()}}return bN},decorate:function(bN){var bR=this,Y=bR.decorators,bO,bQ=Y.length,X,bP;for(bO=0;bO<bQ;bO++){X=Y[bO];bR._decorateChildren(X,bN);bN=X.decorate.call(X,bN)}return bN},_decorateChildren:function(Y,bN){var bQ=this,X=bN.children,bO,bP=X.length;for(bO=0;bO<bP;bO++){bQ._decorateChildren(Y,X[bO]);X[bO]=Y.decorate.call(Y,X[bO])}},setupAnimations:function(){var X=this.animations,bN,Y=X.length;for(bN=0;bN<Y;bN++){X[bN].setup()}},playAnimations:function(){var Y=this,X;while(X=Y.animations.shift()){X.play()}},buildGradient:function(bO){var bQ=this,X=bQ._gradientCache,bN,bP,Y;if(!X){X=bQ._gradientCache=[]}if(bO){bN=al(bO);bP=X[bN];Y=G.Gradients[bO.gradient];if(!bP&&Y){bP=S({id:bB()},Y,bO);X[bN]=bP}}return bP}});function bn(){return ab.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var p=J.extend({init:function(X){this.view=X},decorate:function(bO){var bN=this,bP=bN.view,Y=bO.options.box,X=bO.options.animation;if(X&&bP.options.transitions){if(X.type===k){bP.animations.push(new o(bO))}}return bO}});var aZ=J.extend({init:function(X){this.view=X},decorate:function(bN){var Y=this,bO=Y.view,X=bN.options.animation;if(X&&X.type===aW&&bO.options.transitions){bO.animations.push(new aY(bN,X))}return bN}});var ag=J.extend({init:function(X){this.view=X},decorate:function(bN){var Y=this,bP=Y.view,bO=bP.options,X=bN.options.animation;if(X&&X.type===ah&&bO.transitions){bP.animations.push(new af(bN,X))}return bN}});var ac=J.extend({init:function(Y,bN){var X=this;X.options=S({},X.options,bN);X.element=Y},options:{duration:av,easing:bo},play:function(){var X=this,bT=X.options,bR=X.element,Y=bT.delay||0,bV=+new Date()+Y,bO=bT.duration,bS=bV+bO,bN=ab.getElementById(bR.options.id),bP=jQuery.easing[bT.easing],bW,bU,bQ;setTimeout(function(){var bX=function(){bW=+new Date();bU=bW>bS?1:(bW-bV)/bO;bQ=bP(bU,bW-bV,0,1,bO);X.step(bQ);bR.refresh(bN);if(bW<bS){a6(bX,bN)}};bX()},Y)},setup:function(){},step:function(X){}});var af=ac.extend({options:{duration:200,easing:aF},setup:function(){var X=this,Y=X.element.options;X.targetFillOpacity=Y.fillOpacity;X.targetStrokeOpacity=Y.strokeOpacity;Y.fillOpacity=Y.strokeOpacity=0},step:function(bN){var X=this,Y=X.element.options;Y.fillOpacity=bN*X.targetFillOpacity;Y.strokeOpacity=bN*X.targetStrokeOpacity}});var ad=ac.extend({options:{size:0,easing:aF},setup:function(){var X=this,Y=X.element.points;Y[1].x=Y[2].x=Y[0].x},step:function(bO){var X=this,Y=X.options,bP=az(0,Y.size,bO),bN=X.element.points;bN[1].x=bN[2].x=bN[0].x+bP}});var a6=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(X,Y){setTimeout(X,d)};var o=ac.extend({options:{easing:bo},setup:function(){var Y=this,bO=Y.element,bR=bO.points,bQ=bO.options,bN=bQ.normalAngle===0?bK:bJ,bS=bQ.stackBase,X=bQ.aboveAxis,bT,bP=Y.endState={top:bR[0].y,right:bR[1].x,bottom:bR[3].y,left:bR[0].x};if(bN===bK){bT=Z(bS)?bS:X?bP.bottom:bP.top}else{bT=Z(bS)?bS:X?bP.left:bP.right}Y.startPosition=bT;bC(bR,bN,bT)},step:function(bP){var X=this,bQ=X.startPosition,bN=X.endState,Y=X.element,bO=Y.points;if(Y.options.normalAngle===0){bO[0].y=bO[1].y=az(bQ,bN.top,bP);bO[2].y=bO[3].y=az(bQ,bN.bottom,bP)}else{bO[0].x=bO[3].x=az(bQ,bN.left,bP);bO[1].x=bO[2].x=az(bQ,bN.right,bP)}}});var aY=ac.extend({options:{easing:"easeOutElastic",duration:av},setup:function(){var X=this,Y=X.element.circleSector;X.endRadius=Y.r;Y.r=0},step:function(bN){var X=this,Y=X.endRadius,bO=X.element.circleSector;bO.r=az(0,Y,bN)}});var aq=J.extend({init:function(bN,bO,Y){var X=this;X.options=S({},X.options,Y);X.view=bN;X.viewElement=bO},options:{fill:bG,fillOpacity:0.2,stroke:bG,strokeWidth:1,strokeOpacity:0.2},show:function(bP){var bN=this,X=bN.chart,bQ=bN.view,bR=bN.viewElement,bO,Y;bN.hide();if(bP.getOutlineElement){bO=bP.getOutlineElement(bQ,bN.options);if(bO){Y=bQ.renderElement(bO);bR.appendChild(Y);bN.element=Y;bN.visible=true}}},hide:function(){var Y=this,X=Y.element;if(X){X.parentNode.removeChild(X);delete Y.element;Y.visible=false}}});var bt=J.extend({init:function(X,Y){var bN=this;bN.options=S({},bN.options,Y);Y=bN.options;bN.chartElement=X;bN.template=bt.template;if(!bN.template){bN.template=bt.template=bp("<div style='display:none; position: absolute; font: #= d.font #;border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;border: #= d.border.width #px solid;opacity: #= d.opacity #; filter: alpha(opacity=#= d.opacity * 100 #);padding: 2px 6px; white-space: nowrap;'></div>")}bN.element=a(bN.template(bN.options)).appendTo(X)},options:{background:v,color:bG,border:{width:3},opacity:1,animation:{duration:bu}},show:function(X){var Y=this;Y.point=X;setTimeout(a4(Y._show,Y),bw)},_show:function(){var bT=this,bQ=bT.point,bN=bT.element,bP=bT.options,X,bS,Y,bR,bU,bV,bW,bO;if(!bQ){return}Y=bQ.value.toString();bR=bQ.options.tooltip;bU=Z(bR)?bR.format:bP.format;bV=Z(bR)?bR.template:bP.template;if(bV){bS=t(bP.template);Y=bS({value:bQ.value,category:bQ.category,series:bQ.series,dataItem:bQ.dataItem})}else{if(bU){Y=bQ.formatPointValue(bU)}}bN.html(Y);X=bQ.tooltipAnchor(bN.outerWidth(),bN.outerHeight());bW=ba(X.y)+"px";bO=ba(X.x)+"px";if(!bT.visible){bT.element.css({top:bW,left:bO})}bT.element.css({backgroundColor:bP.background,borderColor:bP.border.color||bQ.options.color,color:bP.color,opacity:bP.opacity}).stop(true,true).show().animate({left:bO,top:bW},bP.animation.duration);bT.visible=true},hide:function(){var X=this;if(X.visible){X.element.fadeOut();X.point=null;X.visible=false}}});function D(Y,X){return ba(aK.ceil(Y/X)*X,V)}function ai(Y,X){return ba(aK.floor(Y/X)*X,V)}function ba(bN,Y){var X=aK.pow(10,Y||0);return aK.round(bN*X)/X}function aL(b0,bX,bV){var bY=al(bX),bN=b0+bY+bV,Y=aL.cache[bN];if(Y){return Y}var bR=aL.measureBox,X=aL.baselineMarker.cloneNode(false);if(!bR){bR=aL.measureBox=a("<div style='position: absolute; top: -4000px; left: -4000px;line-height: normal; visibility: hidden;' />").appendTo(ab.body)[0]}for(var bZ in bX){bR.style[bZ]=bX[bZ]}bR.innerHTML=b0;bR.appendChild(X);var bW={width:bR.offsetWidth-s,height:bR.offsetHeight,baseline:X.offsetTop+s};if(bV){var b1=bW.width,bQ=bW.height,bO=b1/2,bP=bQ/2,bS=a9(0,0,bO,bP,bV),bT=a9(b1,0,bO,bP,bV),bU=a9(b1,bQ,bO,bP,bV);r4=a9(0,bQ,bO,bP,bV);bW.normalWidth=b1;bW.normalHeight=bQ;bW.width=aK.max(bS.x,bT.x,bU.x,r4.x)-aK.min(bS.x,bT.x,bU.x,r4.x);bW.height=aK.max(bS.y,bT.y,bU.y,r4.y)-aK.min(bS.y,bT.y,bU.y,r4.y)}aL.cache[bN]=bW;return bW}aL.cache=[];aL.baselineMarker=a("<div style='display: inline-block; vertical-align: baseline;width: "+s+"px; height: "+s+"px;zoom: 1; *display: inline; overflow: hidden;' />")[0];function al(bN){var X=[];for(var Y in bN){X.push(Y+bN[Y])}return X.sort().join(" ")}function a9(bP,bQ,Y,bN,X){var bO=X*aa;return{x:Y+(bP-Y)*aK.cos(bO)+(bQ-bN)*aK.sin(bO),y:bN-(bP-Y)*aK.sin(bO)+(bQ-bN)*aK.cos(bO)}}function y(bT,bV){if(bT.x1==bV.x1&&bT.y1==bV.y1&&bT.x2==bV.x2&&bT.y2==bV.y2){return bV}var X=aK.min(bT.x1,bV.x1);var Y=aK.max(bT.x1,bV.x1);var bN=aK.min(bT.x2,bV.x2);var bO=aK.max(bT.x2,bV.x2);var bP=aK.min(bT.y1,bV.y1);var bQ=aK.max(bT.y1,bV.y1);var bR=aK.min(bT.y2,bV.y2);var bS=aK.max(bT.y2,bV.y2);var bU=[];bU[0]=new x(Y,bP,bN,bQ);bU[1]=new x(X,bQ,Y,bR);bU[2]=new x(bN,bQ,bO,bR);bU[3]=new x(Y,bR,bN,bS);if(bT.x1==X&&bT.y1==bP||bV.x1==X&&bV.y1==bP){bU[4]=new x(X,bP,Y,bQ);bU[5]=new x(bN,bR,bO,bS)}else{bU[4]=new x(bN,bP,bO,bQ);bU[5]=new x(X,bR,Y,bS)}return a.grep(bU,function(bW){return bW.height()>0&&bW.width()>0})[0]}function bj(X){return bh(X).min}function bi(X){return bh(X).max}function bh(X){var bP=Number.MAX_VALUE,bO=-Number.MAX_VALUE;for(var Y=0,bN=X.length;Y<bN;Y++){var bQ=X[Y];if(Z(bQ)){bP=aK.min(bP,bQ);bO=aK.max(bO,bQ)}}return{min:bP,max:bO}}function am(Y){var X={};if(typeof(Y)==="number"){X[bx]=X[a7]=X[w]=X[aB]=Y}else{X[bx]=Y[bx]||0;X[a7]=Y[a7]||0;X[w]=Y[w]||0;X[aB]=Y[aB]||0}return X}function at(Y,X){return a.inArray(Y,X)!=-1}function S(X){var Y=1,bN=arguments.length,bR,bO,bQ,bP;for(Y=1;Y<bN;Y++){bR=arguments[Y];for(bO in bR){bQ=bR[bO];bP=typeof bQ;if(bP===aR&&bQ!==null&&bQ.constructor!==Array){if(typeof(X[bO])===aR){X[bO]=X[bO]||{}}else{X[bO]={}}S(X[bO],bQ)}else{if(bP!==bA){X[bO]=bQ}}}}return X}function aA(X,Y,bN,bO){var bP,bS=(bO.x-bN.x)*(X.y-bN.y)-(bO.y-bN.y)*(X.x-bN.x),bU=(Y.x-X.x)*(X.y-bN.y)-(Y.y-X.y)*(X.x-bN.x),bQ=(bO.y-bN.y)*(Y.x-X.x)-(bO.x-bN.x)*(Y.y-X.y),bR,bT;if(bQ!=0){bR=(bS/bQ);bT=(bU/bQ);bP=new a3(X.x+bR*(Y.x-X.x),X.y+bR*(Y.y-X.y))}return bP}function e(X,Y){[].push.apply(X,Y)}function az(bN,X,Y){return ba(bN+(X-bN)*Y,P)}function h(bN,bS){var bO=bN.series,Y,bQ=bO.length,bR,bP=bN.seriesDefaults,X=S({},bN.seriesDefaults),bT=bS?S({},bS.seriesDefaults):{};delete X.bar;delete X.column;delete X.line;delete X.pie;delete X.scatter;delete X.scatterLine;for(Y=0;Y<bQ;Y++){bR=bO[Y].type||bN.seriesDefaults.type;bO[Y]=S({},bT,bT[bR],X,bP[bR],bO[Y])}}function g(bO){var bP=bO.series,bN,bQ=bP.length,Y,X=bO.seriesColors||[];for(bN=0;bN<bQ;bN++){bP[bN].color=bP[bN].color||X[bN%X.length]}}function f(X,bN){var Y=bN?S({},bN.axisDefaults):{};a.each(["category","value","x","y"],function(){var bO=this+"Axis";X[bO]=S({},Y,Y[bO],X.axisDefaults,X[bO])})}function au(Y,X,bN){Y[X]=(Y[X]||0)+bN}function bB(){var Y="k",X;for(X=0;X<16;X++){Y+=(aK.random()*16|0).toString(16)}return Y}function Z(X){return typeof X!==bA}var N=function(bS){var Y=this,bN=N.formats,bR,bQ,bP,bO,X;if(arguments.length===1){bS=Y.resolveColor(bS);for(bO=0;bO<bN.length;bO++){bR=bN[bO].re;bQ=bN[bO].process;bP=bR.exec(bS);if(bP){X=bQ(bP);Y.r=X[0];Y.g=X[1];Y.b=X[2]}}}else{Y.r=arguments[0];Y.g=arguments[1];Y.b=arguments[2]}Y.r=Y.normalizeByte(Y.r);Y.g=Y.normalizeByte(Y.g);Y.b=Y.normalizeByte(Y.b)};N.prototype={toHex:function(){var Y=this,bO=Y.padDigit,bP=Y.r.toString(16),bN=Y.g.toString(16),X=Y.b.toString(16);return"#"+bO(bP)+bO(bN)+bO(X)},resolveColor:function(X){X=X||v;if(X.charAt(0)=="#"){X=X.substr(1,6)}X=X.replace(/ /g,"");X=X.toLowerCase();X=N.namedColors[X]||X;return X},normalizeByte:function(X){return(X<0||isNaN(X))?0:((X>255)?255:X)},padDigit:function(X){return(X.length===1)?"0"+X:X},brightness:function(bN){var X=this,Y=aK.round;X.r=Y(X.normalizeByte(X.r*bN));X.g=Y(X.normalizeByte(X.g*bN));X.b=Y(X.normalizeByte(X.b*bN));return X}};N.formats=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(X){return[parseInt(X[1],10),parseInt(X[2],10),parseInt(X[3],10)]}},{re:/^(\w{2})(\w{2})(\w{2})$/,process:function(X){return[parseInt(X[1],16),parseInt(X[2],16),parseInt(X[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,process:function(X){return[parseInt(X[1]+X[1],16),parseInt(X[2]+X[2],16),parseInt(X[3]+X[3],16)]}}];N.namedColors={aqua:"00ffff",azure:"f0ffff",beige:"f5f5dc",black:"000000",blue:"0000ff",brown:"a52a2a",coral:"ff7f50",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgray:"a9a9a9",darkgreen:"006400",darkorange:"ff8c00",darkred:"8b0000",dimgray:"696969",fuchsia:"ff00ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lightblue:"add8e6",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumblue:"0000cd",navy:"000080",olive:"808000",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",pink:"ffc0cb",plum:"dda0dd",purple:"800080",red:"ff0000",royalblue:"4169e1",salmon:"fa8072",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",steelblue:"4682b4",tan:"d2b48c",teal:"008080",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};G.Gradients={glass:{type:aF,rotation:0,stops:[{offset:0,color:bG,opacity:0},{offset:0.1,color:bG,opacity:0},{offset:0.25,color:bG,opacity:0.3},{offset:0.92,color:bG,opacity:0},{offset:1,color:bG,opacity:0}]},sharpBevel:{type:a5,stops:[{offset:0,color:bG,opacity:0.55},{offset:0.65,color:bG,opacity:0},{offset:0.95,color:bG,opacity:0},{offset:0.95,color:bG,opacity:0.25}]},roundedBevel:{type:a5,stops:[{offset:0.33,color:bG,opacity:0.06},{offset:0.83,color:bG,opacity:0.2},{offset:0.95,color:bG,opacity:0}]}};function bC(X,bO,bP){var Y,bN=X.length;for(Y=0;Y<bN;Y++){X[Y][bO]=bP}}function B(bN){var bO=bN.length,X=0,Y;for(Y=0;Y<bO;Y++){X=aK.max(X,bN[Y].data.length)}return X}function bk(X){return X*X}jQuery.extend(jQuery.easing,{easeOutElastic:function(bP,Y,bO,bN){var bR=1.70158,bQ=0,X=bN;if(bP===0){return bO}if(bP===1){return bO+bN}if(!bQ){bQ=0.5}if(X<Math.abs(bN)){X=bN;bR=bQ/4}else{bR=bQ/(2*Math.PI)*Math.asin(bN/X)}return X*Math.pow(2,-10*bP)*Math.sin((bP*1-bR)*(1.1*Math.PI)/bQ)+bN+bO}});b.scripts.push("telerik.chart.js");b.chart=function(X,Y){var bN=this;bN.element=X;b.bind(bN.element,{load:Y.onLoad});bN._chart=new G(X,S(Y,{dataBound:Y.onDataBound,seriesClick:Y.onSeriesClick}));bN.options=bN._chart.options};b.chart.prototype={rebind:function(X){this._chart.dataSource.read(X)},refresh:function(){var Y=this,X=Y._chart;X.options=Y.options;X.refresh()},svg:function(){return this._chart.svg()}};a.fn.tChart=function(X){return b.create(this,{name:"tChart",init:function(Y,bN){return new b.chart(Y,bN)},options:X})};a.fn.tChart.defaults={};b.chart.Chart=G;S(G,{COORD_PRECISION:P,CLIP:L,DEFAULT_WIDTH:W,DEFAULT_HEIGHT:U,DEFAULT_FONT:T,defined:Z,template:bp,rotatePoint:a9,round:ba,supportsSVG:bn,uniqueId:bB,Box2D:x,Point2D:a3,Sector:be,Text:bq,BarLabel:r,ChartElement:H,RootElement:a8,BoxElement:z,TextBox:br,NumericAxis:aQ,CategoryAxis:C,Bar:j,BarChart:q,ShapeElement:bg,LinePoint:aI,LineChart:aG,ClusterLayout:M,StackLayout:bm,Title:bs,Legend:aC,PlotArea:a2,Tooltip:bt,Highlight:aq,PieSegment:a1,PieChart:a0,ViewElement:bF,ScatterChart:bc,ScatterLineChart:bd,ViewBase:bE,deepExtend:S,Color:N,measureText:aL,ExpandAnimation:ad,BarAnimation:o,BarAnimationDecorator:p,PieAnimation:aY,PieAnimationDecorator:aZ,FadeAnimation:af,FadeAnimationDecorator:ag,categoriesCount:B})})(jQuery);(function(){var a=jQuery,b=a.telerik,g=b.Class,f=b.chart.Chart,d=f.BarAnimationDecorator,u=f.PieAnimationDecorator,q=f.FadeAnimationDecorator,e=f.Box2D,v=f.Point2D,p=f.ExpandAnimation,T=f.ViewBase,U=f.ViewElement,j=f.deepExtend,n=f.defined,Q=f.template,S=f.uniqueId,z=f.round,o=document,s=Math;var h=f.CLIP,i=f.COORD_PRECISION,m=f.DEFAULT_WIDTH,l=f.DEFAULT_HEIGHT,k=f.DEFAULT_FONT,r="globalClip",t="none",w="radial",A="square",C="http://www.w3.org/2000/svg",B={dot:[1.5,3.5],dash:[4,3.5],longdash:[8,3.5],dashdot:[3.5,3.5,1.5,3.5],longdashdot:[8,3.5,1.5,3.5],longdashdotdot:[8,3.5,1.5,3.5,1.5,3.5]},R="undefined";var P=T.extend({init:function(V){var W=this;T.fn.init.call(W,V);W.decorators.push(new K(W),new G(W),new d(W),new u(W),new E(W),new q(W));W.template=P.template;if(!W.template){W.template=P.template=Q("<svg xmlns='"+C+"' version='1.1' width='#= d.options.width #px' height='#= d.options.height #px' style='position: relative;'>#= d.renderDefinitions() ##= d.renderContent() #</svg>")}},options:{width:m,height:l,idPrefix:""},renderTo:function(V){var W=this,X;W.setupAnimations();x(V,W.render());X=V.firstChild;W.alignToScreen(X);W.playAnimations();return X},renderDefinitions:function(){var W=this,V=T.fn.renderDefinitions.call(W);return V.length>0?"<defs>"+V+"</defs>":""},renderElement:function(W){var V=o.createElement("div"),W;x(V,"<svg xmlns='"+C+"' version='1.1'>"+W.render()+"</svg>");W=V.firstChild.firstChild;return W},createGroup:function(V){return this.decorate(new H(V))},createText:function(V,W){return this.decorate(new O(V,W))},createRect:function(V,W){return this.decorate(new I(V.points(),true,W))},createLine:function(W,Y,X,Z,V){return this.decorate(new I([new v(W,Y),new v(X,Z)],false,V))},createPolyline:function(X,V,W){return this.decorate(new I(X,V,W))},createCircle:function(V,X,W){return this.decorate(new D(V,X,W))},createSector:function(W,V){return this.decorate(new N(W,V))},createGradient:function(V){if(V.type===w){return new M(V)}else{return new J(V)}},alignToScreen:function(X){try{var V=X.getScreenCTM?X.getScreenCTM():null}catch(W){}if(V){var Y=-V.e%1,aa=-V.f%1,Z=X.style;if(Y!==0||aa!==0){Z.left=Y+"px";Z.top=aa+"px"}}}});P.fromModel=function(V){var W=new P(V.options);[].push.apply(W.children,V.getViewElements(W));return W};var O=U.extend({init:function(V,W){var X=this;U.fn.init.call(X,W);X.content=V;X.template=O.template;if(!X.template){X.template=O.template=Q("<text #= d.renderAttr(\"id\", d.options.id) # x='#= Math.round(d.options.x) #' y='#= Math.round(d.options.y + d.options.baseline) #' fill-opacity='#= d.options.fillOpacity #' #= d.options.rotation ? d.renderRotation() : '' # style='font: #= d.options.font #' fill='#= d.options.color #'>#= d.content #</text>")}},options:{x:0,y:0,baseline:0,font:k,size:{width:0,height:0},fillOpacity:1},refresh:function(V){var W=this.options;a(V).attr({"fill-opacity":W.fillOpacity})},clone:function(){var V=this;return new O(V.content,j({},V.options))},renderRotation:function(){var ad=this,Z=ad.options,ac=Z.size,V=z(Z.x+ac.normalWidth/2,i),W=z(Z.y+ac.normalHeight/2,i),aa=z(Z.x+ac.width/2,i),ab=z(Z.y+ac.height/2,i),X=z(aa-V,i),Y=z(ab-W,i);return"transform='translate("+X+","+Y+") rotate("+Z.rotation+","+V+","+W+")'"}});var L=U.extend({init:function(V){var W=this;U.fn.init.call(W,V);W.template=L.template;if(!W.template){W.template=L.template=Q("<path #= d.renderAttr(\"id\", d.options.id) #d='#= d.renderPoints() #' #= d.renderAttr(\"stroke\", d.options.stroke) # #= d.renderAttr(\"stroke-width\", d.options.strokeWidth) ##= d.renderDashType() # stroke-linecap='#= d.renderLinecap() #' stroke-linejoin='round' fill-opacity='#= d.options.fillOpacity #' stroke-opacity='#= d.options.strokeOpacity #' fill='#= d.options.fill || \"none\" #'></path>")}},options:{fill:"",fillOpacity:1,strokeOpacity:1},refresh:function(V){var W=this.options;a(V).attr({d:this.renderPoints(),"fill-opacity":W.fillOpacity,"stroke-opacity":W.strokeOpacity})},clone:function(){var V=this;return new L(j({},V.options))},renderPoints:function(){},renderDashType:function(){var W=this,V=W.options;return y(V.dashType,V.strokeWidth)},renderLinecap:function(){var V=this.options.dashType;return(V&&V!="solid")?"butt":"square"}});var I=L.extend({init:function(Y,V,X){var W=this;L.fn.init.call(W,X);W.points=Y;W.closed=V},renderPoints:function(){var Y=this,Z=Y.points,X,V=Z.length,W=Z[0],aa="M"+Y._print(W);for(X=1;X<V;X++){aa+=" "+Y._print(Z[X])}if(Y.closed){aa+=" z"}return aa},clone:function(){var V=this;return new I(j([],V.points),V.closed,j({},V.options))},_print:function(X){var W=this,Z=W.options.strokeWidth,Y=Z&&Z%2!==0,V=Y?c:s.round;return V(X.x)+" "+V(X.y)}});var N=L.extend({init:function(V,W){var X=this;L.fn.init.call(X,W);X.pathTemplate=N.pathTemplate;if(!X.pathTemplate){X.pathTemplate=N.pathTemplate=Q("M #= d.firstPoint.x # #= d.firstPoint.y # A#= d.r # #= d.r # 0 #= d.isReflexAngle ? '1' : '0' #,1 #= d.secondPoint.x # #= d.secondPoint.y # L #= d.cx # #= d.cy # z")}X.circleSector=V||{}},options:{fill:"",fillOpacity:1,strokeOpacity:1,strokeLineCap:A},clone:function(){var V=this;return new N(j({},V.circleSector),j({},V.options))},renderPoints:function(){var ad=this,V=ad.circleSector,ae=V.startAngle,Y=V.angle+ae,Y=(Y-ae)==360?Y-0.001:Y,aa=(Y-ae)>180,ab=s.max(V.r,0),W=V.c.x,X=V.c.y,Z=V.point(ae),ac=V.point(Y);return ad.pathTemplate({firstPoint:Z,secondPoint:ac,isReflexAngle:aa,r:ab,cx:W,cy:X})}});var D=U.extend({init:function(V,Y,X){var W=this;U.fn.init.call(W,X);W.center=V;W.radius=Y;W.template=D.template;if(!W.template){W.template=D.template=Q("<circle #= d.renderAttr(\"id\", d.options.id) # cx='#= d.center[0] #' cy='#= d.center[1] #' r='#= d.radius #' #= d.renderAttr(\"stroke\", d.options.stroke) # #= d.renderAttr(\"stroke-width\", d.options.strokeWidth) #fill-opacity='#= d.options.fillOpacity #' stroke-opacity='#= d.options.strokeOpacity #' fill='#= d.options.fill || \"none\" #'></circle>")}},options:{fill:"",fillOpacity:1,strokeOpacity:1}});var H=U.extend({init:function(W){var V=this;U.fn.init.call(V,W);V.template=H.template;if(!V.template){V.template=H.template=Q('<g#= d.renderAttr("id", d.options.id) ##= d.renderAttr("clip-path", d.options.clipPath) #>#= d.renderContent() #</g>')}}});var F=U.extend({init:function(W){var V=this;U.fn.init.call(V,W);V.template=F.template;if(!V.template){V.template=F.template=Q('<clipPath#= d.renderAttr("id", d.options.id) #>#= d.renderContent() #</clipPath>')}}});var J=U.extend({init:function(W){var V=this;U.fn.init.call(V,W);V.template=J.template;V.stopTemplate=J.stopTemplate;if(!V.template){V.template=J.template=Q("<linearGradient id='#= d.options.id #' gradientTransform='rotate(#= d.options.rotation #)'> #= d.renderStops() #</linearGradient>");V.stopTemplate=J.stopTemplate=Q("<stop offset='#= Math.round(d.offset * 100) #%' style='stop-color:#= d.color #;stop-opacity:#= d.opacity #' />")}},options:{id:"",rotation:0},renderStops:function(){var W=this,aa=W.options.stops,ab=W.stopTemplate,X,Y=aa.length,V,Z="";for(X=0;X<Y;X++){V=aa[X];Z+=ab(V)}return Z}});var M=U.extend({init:function(W){var V=this;U.fn.init.call(V,W);V.template=M.template;V.stopTemplate=M.stopTemplate;if(!V.template){V.template=M.template=Q("<radialGradient id='#= d.options.id #' cx='#= d.options.cx #' cy='#= d.options.cy #' fx='#= d.options.cx #' fy='#= d.options.cy #' r='#= d.options.r #' gradientUnits='userSpaceOnUse'>#= d.renderStops() #</radialGradient>");V.stopTemplate=M.stopTemplate=Q("<stop offset='#= Math.round(d.offset * 100) #%' style='stop-color:#= d.color #;stop-opacity:#= d.opacity #' />")}},options:{id:"",rotation:0},renderStops:function(){var W=this,aa=W.options.stops,ab=W.stopTemplate,Y=aa.length,V,Z="",X;for(X=0;X<Y;X++){V=aa[X];Z+=ab(V)}return Z}});function K(V){this.view=V}K.prototype={decorate:function(W){var V=this,ab=V.view,Z=W.options,Y=Z.id,X,aa;if(Z.overlay){W.options.id=S();X=ab.createGroup();aa=W.clone();X.children.push(W,aa);aa.options.id=Y;aa.options.fill=Z.overlay;return X}else{return W}}};function G(V){this.view=V}G.prototype={decorate:function(W){var V=this,X=W.options;X.fill=V.getPaint(X.fill);return W},getPaint:function(aa){var V=this,ab=V.view,W=ab.definitions,Y,Z,X;if(aa&&n(aa.gradient)){Y=ab.buildGradient(aa);if(Y){Z=Y.id;X=W[Z];if(!X){X=ab.createGradient(Y);W[Z]=X}return"url(#"+X.options.id+")"}else{return t}}else{return aa}}};var E=g.extend({init:function(V){this.view=V},decorate:function(aa){var Y=this,ac=Y.view,ab=ac.options,V=aa.options.animation,Z=ac.definitions,W=Z[r],X;if(V&&V.type===h&&ab.transitions){if(!W){W=new F({id:r});X=ac.createRect(new e(0,0,0,ab.height),{id:S()});W.children.push(X);Z[r]=W;ac.animations.push(new p(X,{size:ab.width}))}aa.options.clipPath="url(#"+r+")"}return aa}});function c(V){return s.round(V)+0.5}function y(V,Z){var Y=[],V=V?V.toLowerCase():null,W,X;if(V&&V!="solid"&&Z){W=B[V];for(X=0;X<W.length;X++){Y.push(W[X]*Z)}return"stroke-dasharray='"+Y.join(" ")+"' "}return""}function x(V,W){V.innerHTML=W}(function(){var X="<svg xmlns='"+C+"'></svg>",W=o.createElement("div"),V=typeof DOMParser!=R;W.innerHTML=X;if(V&&W.firstChild.namespaceURI!=C){x=function(Z,ac){var ab=new DOMParser(),Y=ab.parseFromString(ac,"text/xml"),aa=o.adoptNode(Y.documentElement);Z.innerHTML="";Z.appendChild(aa)}}})();j(f,{SVGView:P,SVGText:O,SVGPath:L,SVGLine:I,SVGSector:N,SVGCircle:D,SVGGroup:H,SVGClipPath:F,SVGLinearGradient:J,SVGRadialGradient:M,SVGOverlayDecorator:K,SVGGradientDecorator:G,SVGClipAnimationDecorator:E})})(jQuery);(function(){var a=jQuery,b=a.telerik,j=b.Class,i=b.chart.Chart,l=i.Color,h=i.Box2D,x=i.Point2D,c=i.BarAnimationDecorator,w=i.PieAnimationDecorator,s=i.FadeAnimationDecorator,r=i.ExpandAnimation,E=i.ViewBase,F=i.ViewElement,m=i.deepExtend,C=i.template,D=i.uniqueId,z=i.rotatePoint,A=i.round,B=i.supportsSVG,q=document,u=Math;var d="#000",k=i.CLIP,p=i.DEFAULT_WIDTH,o=i.DEFAULT_HEIGHT,n=i.DEFAULT_FONT,v="object",y="radial";var U=E.extend({init:function(V){var W=this;E.fn.init.call(W,V);W.decorators.push(new O(W),new K(W),new c(W),new w(W),new H(W));if(!t()){W.decorators.push(new s(W))}W.template=U.template;if(!W.template){W.template=U.template=C("<div style='width:#= d.options.width #px; height:#= d.options.height #px; position: relative;'>#= d.renderContent() #</div>")}},options:{width:p,height:o},renderTo:function(V){var W=this;if(q.namespaces){q.namespaces.add("kvml","urn:schemas-microsoft-com:vml","#default#VML")}W.setupAnimations();V.innerHTML=W.render();W.playAnimations();return V.firstChild},renderElement:function(W){var V=q.createElement("div"),W;V.style.display="none";q.body.appendChild(V);V.innerHTML=W.render();W=V.firstChild;q.body.removeChild(V);return W},createText:function(V,W){return this.decorate((W&&W.rotation)?new Q(V,W):new T(V,W))},createRect:function(V,W){return this.decorate(new M(V.points(),true,W))},createLine:function(W,Y,X,Z,V){return this.decorate(new M([new x(W,Y),new x(X,Z)],false,V))},createPolyline:function(X,V,W){return this.decorate(new M(X,V,W))},createCircle:function(V,X,W){return this.decorate(new G(V,X,W))},createSector:function(W,V){return this.decorate(new R(W,V))},createGroup:function(V){return this.decorate(new L(V))},createGradient:function(V){return new N(V)}});U.fromModel=function(V){var W=new U(V.options);[].push.apply(W.children,V.getViewElements(W));return W};var T=F.extend({init:function(V,W){var X=this;F.fn.init.call(X,W);X.content=V;X.template=T.template;if(!X.template){X.template=T.template=C("<kvml:textbox #= d.renderAttr(\"id\", d.options.id) # style='position: absolute; left: #= d.options.x #px; top: #= d.options.y #px; font: #= d.options.font #; color: #= d.options.color #; visibility: #= d.renderVisibility() #; white-space: nowrap;'>#= d.content #</kvml:textbox>")}},options:{x:0,y:0,font:n,color:d,fillOpacity:1},refresh:function(V){a(V).css("visibility",this.renderVisibility())},clone:function(){var V=this;return new T(V.content,m({},V.options))},renderVisibility:function(){return this.options.fillOpacity>0?"visible":"hidden"}});var Q=F.extend({init:function(V,W){var X=this;F.fn.init.call(X,W);X.content=V;X.template=Q.template;if(!X.template){X.template=Q.template=C("<kvml:shape #= d.renderAttr(\"id\", d.options.id) # style='position: absolute; top: 0px; left: 0px; width: 1px; height: 1px;' stroked='false' coordsize='1,1'>#= d.renderPath() #<kvml:fill color='#= d.options.color #' /><kvml:textpath on='true' style='font: #= d.options.font #;' fitpath='false' string='#= d.content #' /></kvml:shape>")}},options:{x:0,y:0,font:n,color:d,size:{width:0,height:0}},renderPath:function(){var ac=this,Z=ac.options,ad=Z.size.width,Y=Z.size.height,W=Z.x+ad/2,X=Z.y+Y/2,V=-Z.rotation,aa=z(Z.x,X,W,X,V),ab=z(Z.x+ad,X,W,X,V);return"<kvml:path textpathok='true' v='m "+A(aa.x)+","+A(aa.y)+" l "+A(ab.x)+","+A(ab.y)+"' />"}});var S=F.extend({init:function(V){var W=this;F.fn.init.call(W,V);W.template=S.template;if(!W.template){W.template=S.template=C('<kvml:stroke on=\'#= !!d.options.stroke #\' #= d.renderAttr("color", d.options.stroke) ##= d.renderAttr("weight", d.options.strokeWidth) ##= d.renderAttr("dashstyle", d.options.dashType) ##= d.renderAttr("opacity", d.options.strokeOpacity) # />')}}});var J=F.extend({init:function(V){var W=this;F.fn.init.call(W,V);W.template=J.template;if(!W.template){W.template=J.template=C('<kvml:fill on=\'#= !!d.options.fill #\' #= d.renderAttr("color", d.options.fill) ##= d.renderAttr("weight", d.options.fillWidth) ##= d.renderAttr("opacity", d.options.fillOpacity) # />')}}});var P=F.extend({init:function(V){var W=this;F.fn.init.call(W,V);W.template=P.template;if(!W.template){W.template=P.template=C("<kvml:shape #= d.renderAttr(\"id\", d.options.id) # style='position:absolute; width:1px; height:1px;' coordorigin='0 0' coordsize='1 1'><kvml:path v='#= d.renderPoints() # e' />#= d.fill.render() + d.stroke.render() #</kvml:shape>")}W.stroke=new S(W.options);W.fill=new J(W.options)},options:{fill:"",fillOpacity:1,strokeOpacity:1},render:function(){var V=this;V.fill.options.fillOpacity=V.options.fillOpacity;V.stroke.options.strokeOpacity=V.options.strokeOpacity;return F.fn.render.call(V)},renderPoints:function(){},refresh:function(V){var aa=this,Y=aa.options,X=a(V),Z=X[0].parentNode;if(Z){X.find("path")[0].v=this.renderPoints();try{X.find("fill")[0].opacity=Y.fillOpacity;X.find("stroke")[0].opacity=Y.strokeOpacity}catch(W){}Z.style.cssText=Z.style.cssText}}});var M=P.extend({init:function(Y,V,X){var W=this;P.fn.init.call(W,X);W.points=Y;W.closed=V},renderPoints:function(){var X=this,Y=X.points,W,V=Y.length,Z="m "+X._print(Y[0]);if(V>1){Z+=" l ";for(W=1;W<V;W++){Z+=X._print(Y[W]);if(W<V-1){Z+=", "}}}if(X.closed){Z+=" x"}return Z},clone:function(){var V=this;return new M(m([],V.points),V.closed,m({},V.options))},_print:function(V){return u.round(V.x)+","+u.round(V.y)}});var R=P.extend({init:function(V,W){var X=this;P.fn.init.call(X,W);X.pathTemplate=R.pathTemplate;if(!X.pathTemplate){X.pathTemplate=R.pathTemplate=C("M #= d.cx # #= d.cy # AE #= d.cx # #= d.cy # #= d.r # #= d.r # #= d.sa # #= d.a # X E")}X.circleSector=V},renderPoints:function(){var ab=this,W=ab.circleSector,Z=u.max(A(W.r),0),X=A(W.c.x),Y=A(W.c.y),aa=-A((W.startAngle+180)*65535),V=-A(W.angle*65536);return ab.pathTemplate({r:Z,cx:X,cy:Y,sa:aa,a:V})},clone:function(){var V=this;return new R(m({},V.circleSector),m({},V.options))}});var G=F.extend({init:function(V,Y,X){var W=this;F.fn.init.call(W,X);W.center=V;W.radius=Y;W.template=G.template;if(!W.template){W.template=G.template=C("<kvml:oval #= d.renderAttr(\"id\", d.options.id) # style='position:absolute; width:#= d.radius * 2 #px; height:#= d.radius * 2 #px; top:#= d.center[1] - d.radius #px; left:#= d.center[0] - d.radius #px;'>#= d.fill.render() + d.stroke.render() #</kvml:oval>")}W.stroke=new S(W.options);W.fill=new J(W.options)},options:{fill:""}});var L=F.extend({init:function(W){var V=this;F.fn.init.call(V,W);V.template=L.template;if(!V.template){V.template=L.template=C("<div #= d.renderAttr(\"id\", d.options.id) #style='position: absolute; white-space: nowrap;'>#= d.renderContent() #</div>")}}});var I=F.extend({init:function(V,X){var W=this;F.fn.init.call(W,X);W.template=I.template;W.clipTemplate=I.clipTemplate;if(!W.template){W.template=I.template=C("<div #= d.renderAttr(\"id\", d.options.id) #style='position:absolute; width:#= d.box.width() #px; height:#= d.box.height() #px; top:#= d.box.y1 #px; left:#= d.box.x1 #px; clip:#= d._renderClip() #;' >#= d.renderContent() #</div>");W.clipTemplate=I.clipTemplate=C("rect(#= d.points[0].y #px #= d.points[1].x #px #= d.points[2].y #px #= d.points[0].x #px)")}W.box=V;W.points=V.points()},clone:function(){var V=this;return new I(V.box,m({},V.options))},refresh:function(V){a(V).css(k,this._renderClip())},_renderClip:function(){return this.clipTemplate(this)}});var N=F.extend({init:function(W){var V=this;F.fn.init.call(V,W);V.template=N.template;if(!V.template){V.template=N.template=C("<kvml:fill type='gradient' angle='#= 270 - d.options.rotation #' colors='#= d.renderColors() #' opacity='#= d.options.opacity #' />")}},options:{rotation:0,opacity:1},renderColors:function(){var W=this,Z=W.options,ac=Z.stops,V,X,Y=ac.length,aa=[],ab=u.round;for(X=0;X<Y;X++){V=ac[X];aa.push(ab(V.offset*100)+"% "+V.color)}return aa.join(",")}});function O(V){this.view=V}O.prototype={decorate:function(V){var W=V.options,Y=this.view,X;if(W.overlay){X=Y.buildGradient(m({},W.overlay,{_overlayFill:W.fill}))}if(!X||X.type===y){return V}delete W.overlay;W.fill=m(g(W.fill,X),{opacity:W.fillOpacity});return V}};function K(V){this.view=V}K.prototype={decorate:function(W){var V=this,Z=V.view,Y=W.options,X=Y.fill;if(X){if(X.gradient){X=Z.buildGradient(X)}if(typeof X===v){W.fill=Z.createGradient(X)}}return W}};var H=j.extend({init:function(V){this.view=V},decorate:function(Y){var X=this,aa=X.view,Z=aa.options,V=Y.options.animation,W;if(V&&V.type===k&&Z.transitions){W=new I(new h(0,0,0,Z.height),{id:D()});aa.animations.push(new r(W,{size:Z.width}));W.children.push(Y);return W}else{return Y}}});function t(){return a.browser.msie&&!B()&&typeof window.performance!=="undefined"}function f(X,aa,V){var Y=new l(X),ab=new l(aa),ac=e(Y.r,ab.r,V),Z=e(Y.g,ab.g,V),W=e(Y.b,ab.b,V);return new l(ac,Z,W).toHex()}function e(V,X,W){return u.round(W*X+(1-W)*V)}function g(V,W){var aa=W.stops,ac=aa.length,Y=m({},W),X,ab,Z;Y.stops=[];for(X=0;X<ac;X++){ab=aa[X];Z=Y.stops[X]=m({},aa[X]);Z.color=f(V,ab.color,ab.opacity);Z.opacity=0}return Y}m(i,{VMLView:U,VMLText:T,VMLRotatedText:Q,VMLStroke:S,VMLFill:J,VMLPath:P,VMLLine:M,VMLSector:R,VMLCircle:G,VMLGroup:L,VMLClipRect:I,VMLLinearGradient:N,VMLOverlayDecorator:O,VMLClipAnimationDecorator:H,blendColors:f,blendGradient:g})})(jQuery);(function(){var a=$.telerik,d=a.chart.Chart,e=d.deepExtend;var c="#000",l="#fff",g="Arial,Helvetica,sans-serif",h="11px "+g,i="12px "+g,j="16px "+g,f={overlay:null};var b={title:{font:j},legend:{labels:{font:i}},seriesDefaults:{labels:{font:h}},categoryAxis:{labels:{font:i}},valueAxis:{labels:{font:i}},tooltip:{font:i}};var k={};k.black=e({},b,{title:{color:l},legend:{labels:{color:l}},seriesDefaults:{labels:{color:l},markers:{background:"#3d3d3d"}},chartArea:{background:""},seriesColors:["#f9a319","#1edee2","#9eda29","#ffce00","#dd007f"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#919191"},labels:{color:l},majorGridLines:{color:"#636363"},minorGridLines:{color:"#464646"}}});k["default"]=e({},b,{chartArea:{background:""},seriesColors:["#f6921e","#d6de23","#8bc53f","#26a9e0","#9e1f63"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{majorGridLines:{color:"#aaaaaa"},minorGridLines:{color:"#cccccc"},line:{color:"#828282"}},tooltip:{background:l,color:c}});k.forest=e({},b,{title:{color:"#3c4c30"},legend:{labels:{color:"#3c4c30"}},seriesDefaults:{labels:{color:"#3c4c30"},markers:{background:"#d3e0c2"}},chartArea:{background:""},seriesColors:["#4d7924","#6dba3a","#efab22","#f05a28","#603813"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{majorGridLines:{color:"#a7bc75"},minorGridLines:{color:"#cad7ac"},line:{color:"#5a8533"},labels:{color:"#3c4c30"}},tooltip:{background:"#D3E0C2",color:c}});k.hay=e({},b,{title:{color:"#3c4c30"},legend:{labels:{color:"#3c4c30"}},seriesDefaults:{labels:{color:"#3c4c30"}},chartArea:{background:""},seriesColors:["#205b02","#61c407","#9cd65f","#bbbe94","#323323"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{majorGridLines:{color:"#bfbdac"},minorGridLines:{color:"#d9d7cd"},line:{color:"#898772"},labels:{color:"#3c4c30"}},tooltip:{background:l,color:c}});k.metro=e({},b,{seriesDefaults:{bar:f,pie:f,column:f,pie:f},chartArea:{background:""},seriesColors:["#25a0da","#309b46","#d8e404","#e61e26","#313131"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{majorGridLines:{color:"#b4b4b4"},line:{color:"#b4b4b4"},minorGridLines:{color:"#d2d2d2"}},tooltip:{background:l,color:c}});k.office2007=e({},b,{chartArea:{background:""},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{majorGridLines:{color:"#bdcce2"},minorGridLines:{color:"#d7e0ee"},line:{color:"#688CAF"}},tooltip:{background:l,color:c}});k.office2010black=e({},b,{title:{color:l},legend:{labels:{color:l}},seriesDefaults:{labels:{color:l},markers:{background:"#6f6f6f"}},chartArea:{background:""},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#999999"},labels:{color:l},majorGridLines:{color:"#888888"},minorGridLines:{color:"#7c7c7c"}},tooltip:{background:"#6F6F6F",color:l}});k.office2010blue=e({},b,{title:{color:"#384E73"},legend:{labels:{color:"#384E73"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#384E73"}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#8ba0bc"},labels:{color:"#384e73"},majorGridLines:{color:"#d1dbe5"},minorGridLines:{color:"#e3e9ef"}},tooltip:{background:l,color:c}});k.office2010silver=e({},b,{title:{color:"#3b3b3b"},legend:{labels:{color:"#3b3b3b"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#3b3b3b"}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#a4abb2"},labels:{color:"#3b3b3b"},majorGridLines:{color:"#dbdfe4"},minorGridLines:{color:"#e9ecef"}},tooltip:{background:l,color:c}});k.outlook=e({},b,{chartArea:{background:""},seriesColors:["#231f20","#1b75bb","#7da5e0","#f9ec31","#faaf40"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#5d8cc9"},majorGridLines:{color:"#aac3e8"},minorGridLines:{color:"#ccdbf1"}},tooltip:{background:l,color:c}});k.simple=e({},b,{title:{color:"#606060"},legend:{labels:{color:"#606060"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#606060"}},seriesColors:["#231f20","#404041","#58595b","#808184","#929497"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#828282"},majorGridLines:{color:"#d1d1d1"},minorGridLines:{color:"#e3e3e3"},labels:{color:"#606060"}},tooltip:{background:l,color:c}});k.sitefinity=e({},b,{chartArea:{background:""},seriesColors:["#a2d5e2","#95b979","#f9d67b","#ea9d73","#f19ca8","#d06c6c"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#636363"},majorGridLines:{color:"#919191"},minorGridLines:{color:"#a1a1a1"}},tooltip:{background:l,color:c}});k.sunset=e({},b,{title:{color:"#854324"},legend:{labels:{color:"#854324"}},seriesDefaults:{labels:{color:"#854324"}},chartArea:{background:""},seriesColors:["#3f1c12","#ba3b01","#d95a1a","#e7931e","#f9bc12"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#b7836a"},labels:{color:"#854324"},majorGridLines:{color:"#cebab1"},minorGridLines:{color:"#e2d6d0"}},tooltip:{background:l,color:c}});k.telerik=e({},b,{chartArea:{background:""},seriesColors:["#7e7e7e","#cbcbcb","#a2ea8b","#63ac39","#000000"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#828282"},majorGridLines:{color:"#c6c6c6"},minorGridLines:{color:"#b4b4b4"}},tooltip:{background:l,color:c}});k.transparent=e({},b,{seriesDefaults:{opacity:0.6},chartArea:{background:""},seriesColors:["#f2f2f2","#4d4d4d","#d4d4d4","#0d0d0d","#999999"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#828282"},majorGridLines:{color:"#828282"},minorGridLines:{color:"#b4b4b4"}},tooltip:{background:l,color:c,opacity:0.7}});k.vista=e({},b,{title:{color:"#333333"},legend:{labels:{color:"#333333"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#333333"}},seriesColors:["#83abc0","#64d6f4","#3399ff","#03597a","#000000"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#a7bac5"},majorGridLines:{color:"#d3d3d3"},labels:{color:"#333333"},minorGridLines:{color:"#e5e5e5"}},tooltip:{background:l,color:c}});k.web20=e({},b,{title:{color:"#001454"},legend:{labels:{color:"#001454"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#001454"}},seriesColors:["#0e4302","#64ba36","#a0beea","#3460b9","#2c4072"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#708dc3"},majorGridLines:{color:"#cfd9e7"},labels:{color:"#001454"},minorGridLines:{color:"#e2e8f1"}},tooltip:{background:l,color:c}});k.webblue=e({},b,{title:{color:"#0d202b"},legend:{labels:{color:"#0d202b"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#0d202b"}},seriesColors:["#a2b3c7","#76c8e8","#358db0","#426682","#2d3d4f"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#708dc3"},majorGridLines:{color:"#d0d8dd"},labels:{color:"#0d202b"},minorGridLines:{color:"#e2e8f1"}},tooltip:{background:l,color:c}});k.windows7=e({},b,{title:{color:"#4c607a"},legend:{labels:{color:"#4c607a"}},chartArea:{background:""},seriesDefaults:{labels:{color:"#4c607a"}},seriesColors:["#a5b3c5","#82afe5","#358db0","#03597a","#152435"],categoryAxis:{majorGridLines:{visible:true}},axisDefaults:{line:{color:"#a5b3c5"},majorGridLines:{color:"#dae2e8"},labels:{color:"#4c607a"},minorGridLines:{color:"#e9eef1"}},tooltip:{background:l,color:c},tooltip:{background:l,color:c}});d.themes=k;d.prototype.options.theme="default"})(jQuery);