/*
	Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojox/charting/plot2d/_PlotEvents":function(){define("dojox/charting/plot2d/_PlotEvents",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect"],function(_1,_2,_3,_4){return _3("dojox.charting.plot2d._PlotEvents",null,{constructor:function(){this._shapeEvents=[];this._eventSeries={};},destroy:function(){this.resetEvents();this.inherited(arguments);},plotEvent:function(o){},raiseEvent:function(o){this.plotEvent(o);var t=_1.delegate(o);t.originalEvent=o.type;t.originalPlot=o.plot;t.type="onindirect";_2.forEach(this.chart.stack,function(_5){if(_5!==this&&_5.plotEvent){t.plot=_5;_5.plotEvent(t);}},this);},connect:function(_6,_7){this.dirty=true;return _4.connect(this,"plotEvent",_6,_7);},events:function(){return !!this.plotEvent.after;},resetEvents:function(){if(this._shapeEvents.length){_2.forEach(this._shapeEvents,function(_8){_8.shape.disconnect(_8.handle);});this._shapeEvents=[];}this.raiseEvent({type:"onplotreset",plot:this});},_connectSingleEvent:function(o,_9){this._shapeEvents.push({shape:o.eventMask,handle:o.eventMask.connect(_9,this,function(e){o.type=_9;o.event=e;this.raiseEvent(o);o.event=null;})});},_connectEvents:function(o){if(o){o.chart=this.chart;o.plot=this;o.hAxis=this.hAxis||null;o.vAxis=this.vAxis||null;o.eventMask=o.eventMask||o.shape;this._connectSingleEvent(o,"onmouseover");this._connectSingleEvent(o,"onmouseout");this._connectSingleEvent(o,"onclick");}},_reconnectEvents:function(_a){var a=this._eventSeries[_a];if(a){_2.forEach(a,this._connectEvents,this);}},fireEvent:function(_b,_c,_d,_e){var s=this._eventSeries[_b];if(s&&s.length&&_d<s.length){var o=s[_d];o.type=_c;o.event=_e||null;this.raiseEvent(o);o.event=null;}}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_f,_10,_11,has,_12){var _13=_12.doc.documentElement,ie=has("ie"),_14=has("opera"),maj=Math.floor,ff=has("ff"),_15=_f.boxModel.replace(/-/,""),_16={"dj_quirks":has("quirks"),"dj_opera":_14,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_16["dj_ie"]=true;_16["dj_ie"+maj(ie)]=true;_16["dj_iequirks"]=has("quirks");}if(ff){_16["dj_ff"+maj(ff)]=true;}_16["dj_"+_15]=true;var _17="";for(var clz in _16){if(_16[clz]){_17+=clz+" ";}}_13.className=_10.trim(_13.className+" "+_17);_11(90,function(){if(!_f.isBodyLtr()){var _18="dj_rtl dijitRtl "+_17.replace(/ /g,"-rtl ");_13.className=_10.trim(_13.className+" "+_18+"dj_rtl dijitRtl "+_17.replace(/ /g,"-rtl "));}});return has;});},"dojox/charting/axis2d/Invisible":function(){define("dojox/charting/axis2d/Invisible",["dojo/_base/lang","dojo/_base/declare","./Base","../scaler/linear","dojox/gfx","dojox/lang/utils"],function(_19,_1a,_1b,lin,g,du){return _1a("dojox.charting.axis2d.Invisible",_1b,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1},constructor:function(_1c,_1d){this.opt=_19.clone(this.defaultParams);du.updateWithObject(this.opt,_1d);du.updateWithPattern(this.opt,_1d,this.optionalParams);},dependOnData:function(){return !("min" in this.opt)||!("max" in this.opt);},clear:function(){delete this.scaler;delete this.ticks;this.dirty=true;return this;},initialized:function(){return "scaler" in this&&!(this.dirty&&this.dependOnData());},setWindow:function(_1e,_1f){this.scale=_1e;this.offset=_1f;return this.clear();},getWindowScale:function(){return "scale" in this?this.scale:1;},getWindowOffset:function(){return "offset" in this?this.offset:0;},calculate:function(min,max,_20){if(this.initialized()){return this;}var o=this.opt;this.labels=o.labels;this.scaler=lin.buildScaler(min,max,_20,o);var tsb=this.scaler.bounds;if("scale" in this){o.from=tsb.lower+this.offset;o.to=(tsb.upper-tsb.lower)/this.scale+o.from;if(!isFinite(o.from)||isNaN(o.from)||!isFinite(o.to)||isNaN(o.to)||o.to-o.from>=tsb.upper-tsb.lower){delete o.from;delete o.to;delete this.scale;delete this.offset;}else{if(o.from<tsb.lower){o.to+=tsb.lower-o.from;o.from=tsb.lower;}else{if(o.to>tsb.upper){o.from+=tsb.upper-o.to;o.to=tsb.upper;}}this.offset=o.from-tsb.lower;}this.scaler=lin.buildScaler(min,max,_20,o);tsb=this.scaler.bounds;if(this.scale==1&&this.offset==0){delete this.scale;delete this.offset;}}return this;},getScaler:function(){return this.scaler;},getTicks:function(){return this.ticks;}});});},"dojox/lang/utils":function(){define("dojox/lang/utils",["..","dojo/_base/lang"],function(_21,_22){var du=_22.getObject("lang.utils",true,_21);var _23={},_24=Object.prototype.toString;var _25=function(o){if(o){switch(_24.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return _22.delegate(o);}}return o;};_22.mixin(du,{coerceType:function(_26,_27){switch(typeof _26){case "number":return Number(eval("("+_27+")"));case "string":return String(_27);case "boolean":return Boolean(eval("("+_27+")"));}return eval("("+_27+")");},updateWithObject:function(_28,_29,_2a){if(!_29){return _28;}for(var x in _28){if(x in _29&&!(x in _23)){var t=_28[x];if(t&&typeof t=="object"){du.updateWithObject(t,_29[x],_2a);}else{_28[x]=_2a?du.coerceType(t,_29[x]):_25(_29[x]);}}}return _28;},updateWithPattern:function(_2b,_2c,_2d,_2e){if(!_2c||!_2d){return _2b;}for(var x in _2d){if(x in _2c&&!(x in _23)){_2b[x]=_2e?du.coerceType(_2d[x],_2c[x]):_25(_2c[x]);}}return _2b;},merge:function(_2f,_30){if(_30){var _31=_24.call(_2f),_32=_24.call(_30),t,i,l,m;switch(_32){case "[object Array]":if(_32==_31){t=new Array(Math.max(_2f.length,_30.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_2f[i],_30[i]);}return t;}return _30.slice(0);case "[object Object]":if(_32==_31&&_2f){t=_22.delegate(_2f);for(i in _30){if(i in _2f){l=_2f[i];m=_30[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=_22.clone(_30[i]);}}return t;}return _22.clone(_30);}}return _30;}});return du;});},"dojox/charting/plot2d/Pie":function(){define("dojox/charting/plot2d/Pie",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./_PlotEvents","./common","../axis2d/common","dojox/gfx","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/utils"],function(_33,arr,_34,_35,_36,dc,da,g,m,df,du){var _37=0.2;return _34("dojox.charting.plot2d.Pie",[_35,_36],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:true,radGrad:"native",fanSize:5,startAngle:0},optionalParams:{radius:0,omitLabels:false,stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:"",labelWiring:{}},constructor:function(_38,_39){this.opt=_33.clone(this.defaultParams);du.updateWithObject(this.opt,_39);du.updateWithPattern(this.opt,_39,this.optionalParams);this.axes=[];this.run=null;this.dyn=[];},clear:function(){this.inherited(arguments);this.dyn=[];this.run=null;return this;},setAxis:function(_3a){return this;},addSeries:function(run){this.run=run;return this;},getSeriesStats:function(){return _33.delegate(dc.defaultStats);},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_3b){if(!this.dirty){return this;}this.resetEvents();this.dirty=false;this._eventSeries={};this.cleanGroup();var s=this.group,t=this.chart.theme;if(!this.run||!this.run.data.length){return this;}var rx=(dim.width-_3b.l-_3b.r)/2,ry=(dim.height-_3b.t-_3b.b)/2,r=Math.min(rx,ry),_3c="font" in this.opt?this.opt.font:t.series.font,_3d,_3e=m._degToRad(this.opt.startAngle),_3f=_3e,_40,_41,_42,_43,_44,_45,run=this.run.data,_46=this.events();this.dyn=[];if("radius" in this.opt){r=this.opt.radius;_45=r-this.opt.labelOffset;}var _47={cx:_3b.l+rx,cy:_3b.t+ry,r:r};if(this.opt.shadow||t.shadow){var _48=this.opt.shadow||t.shadow;var _49=_33.clone(_47);_49.cx+=_48.dx;_49.cy+=_48.dy;s.createCircle(_49).setFill(_48.color).setStroke(_48);}if(typeof run[0]=="number"){_41=df.map(run,"x ? Math.max(x, 0) : 0");if(df.every(_41,"<= 0")){s.createCircle(_47).setStroke(t.series.stroke);this.dyn=arr.map(_41,function(){return {};});return this;}else{_42=df.map(_41,"/this",df.foldl(_41,"+",0));if(this.opt.labels){_43=arr.map(_42,function(x){return x>0?this._getLabel(x*100)+"%":"";},this);}}}else{_41=df.map(run,"x ? Math.max(x.y, 0) : 0");if(df.every(_41,"<= 0")){s.createCircle(_47).setStroke(t.series.stroke);this.dyn=arr.map(_41,function(){return {};});return this;}else{_42=df.map(_41,"/this",df.foldl(_41,"+",0));if(this.opt.labels){_43=arr.map(_42,function(x,i){if(x<0){return "";}var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}}var _4a=df.map(run,function(v,i){var _4b=[this.opt,this.run];if(v!==null&&typeof v!="number"){_4b.push(v);}if(this.opt.styleFunc){_4b.push(this.opt.styleFunc(v));}return t.next("slice",_4b,true);},this);if(this.opt.labels){_3d=_3c?g.normalizedLength(g.splitFontString(_3c).size):0;_44=df.foldl1(df.map(_43,function(_4c,i){var _4d=_4a[i].series.font;return g._base._getTextBox(_4c,{font:_4d}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_44,ry-_3d)+this.opt.labelOffset;}_45=r-this.opt.labelOffset;}var _4e=new Array(_42.length);arr.some(_42,function(_4f,i){if(_4f<0){return false;}if(_4f==0){this.dyn.push({fill:null,stroke:null});return false;}var v=run[i],_50=_4a[i],_51,o;if(_4f>=1){_51=this._plotFill(_50.series.fill,dim,_3b);_51=this._shapeFill(_51,{x:_47.cx-_47.r,y:_47.cy-_47.r,width:2*_47.r,height:2*_47.r});_51=this._pseudoRadialFill(_51,{x:_47.cx,y:_47.cy},_47.r);var _52=s.createCircle(_47).setFill(_51).setStroke(_50.series.stroke);this.dyn.push({fill:_51,stroke:_50.series.stroke});if(_46){o={element:"slice",index:i,run:this.run,shape:_52,x:i,y:typeof v=="number"?v:v.y,cx:_47.cx,cy:_47.cy,cr:r};this._connectEvents(o);_4e[i]=o;}return true;}var end=_3f+_4f*2*Math.PI;if(i+1==_42.length){end=_3e+2*Math.PI;}var _53=end-_3f,x1=_47.cx+r*Math.cos(_3f),y1=_47.cy+r*Math.sin(_3f),x2=_47.cx+r*Math.cos(end),y2=_47.cy+r*Math.sin(end);var _54=m._degToRad(this.opt.fanSize);if(_50.series.fill&&_50.series.fill.type==="radial"&&this.opt.radGrad==="fan"&&_53>_54){var _55=s.createGroup(),_56=Math.ceil(_53/_54),_57=_53/_56;_51=this._shapeFill(_50.series.fill,{x:_47.cx-_47.r,y:_47.cy-_47.r,width:2*_47.r,height:2*_47.r});for(var j=0;j<_56;++j){var _58=j==0?x1:_47.cx+r*Math.cos(_3f+(j-_37)*_57),_59=j==0?y1:_47.cy+r*Math.sin(_3f+(j-_37)*_57),_5a=j==_56-1?x2:_47.cx+r*Math.cos(_3f+(j+1+_37)*_57),_5b=j==_56-1?y2:_47.cy+r*Math.sin(_3f+(j+1+_37)*_57),fan=_55.createPath().moveTo(_47.cx,_47.cy).lineTo(_58,_59).arcTo(r,r,0,_57>Math.PI,true,_5a,_5b).lineTo(_47.cx,_47.cy).closePath().setFill(this._pseudoRadialFill(_51,{x:_47.cx,y:_47.cy},r,_3f+(j+0.5)*_57,_3f+(j+0.5)*_57));}_55.createPath().moveTo(_47.cx,_47.cy).lineTo(x1,y1).arcTo(r,r,0,_53>Math.PI,true,x2,y2).lineTo(_47.cx,_47.cy).closePath().setStroke(_50.series.stroke);_52=_55;}else{_52=s.createPath().moveTo(_47.cx,_47.cy).lineTo(x1,y1).arcTo(r,r,0,_53>Math.PI,true,x2,y2).lineTo(_47.cx,_47.cy).closePath().setStroke(_50.series.stroke);_51=_50.series.fill;if(_51&&_51.type==="radial"){_51=this._shapeFill(_51,{x:_47.cx-_47.r,y:_47.cy-_47.r,width:2*_47.r,height:2*_47.r});if(this.opt.radGrad==="linear"){_51=this._pseudoRadialFill(_51,{x:_47.cx,y:_47.cy},r,_3f,end);}}else{if(_51&&_51.type==="linear"){_51=this._plotFill(_51,dim,_3b);_51=this._shapeFill(_51,_52.getBoundingBox());}}_52.setFill(_51);}this.dyn.push({fill:_51,stroke:_50.series.stroke});if(_46){o={element:"slice",index:i,run:this.run,shape:_52,x:i,y:typeof v=="number"?v:v.y,cx:_47.cx,cy:_47.cy,cr:r};this._connectEvents(o);_4e[i]=o;}_3f=end;return false;},this);if(this.opt.labels){if(this.opt.labelStyle=="default"){_3f=_3e;arr.some(_42,function(_5c,i){if(_5c<=0){return false;}var _5d=_4a[i],_5e;if(_5c>=1){_5e=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_47.cx,_47.cy+_3d/2,"middle",_43[i],_5d.series.font,_5d.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_5e);}return true;}var end=_3f+_5c*2*Math.PI;if(i+1==_42.length){end=_3e+2*Math.PI;}if(this.opt.omitLabels&&end-_3f<0.001){return false;}var _5f=(_3f+end)/2,x=_47.cx+_45*Math.cos(_5f),y=_47.cy+_45*Math.sin(_5f)+_3d/2;_5e=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_43[i],_5d.series.font,_5d.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_5e);}_3f=end;return false;},this);}else{if(this.opt.labelStyle=="columns"){_3f=_3e;var _60=this.opt.omitLabels;var _61=[];arr.forEach(_42,function(_62,i){var end=_3f+_62*2*Math.PI;if(i+1==_42.length){end=_3e+2*Math.PI;}var _63=(_3f+end)/2;_61.push({angle:_63,left:Math.cos(_63)<0,theme:_4a[i],index:i,omit:_60?end-_3f<0.001:false});_3f=end;});var _64=g._base._getTextBox("a",{font:_3c}).h;this._getProperLabelRadius(_61,_64,_47.r*1.1);arr.forEach(_61,function(_65,i){if(!_65.omit){var _66=_47.cx-_47.r*2,_67=_47.cx+_47.r*2,_68=g._base._getTextBox(_43[i],{font:_65.theme.series.font}).w,x=_47.cx+_65.labelR*Math.cos(_65.angle),y=_47.cy+_65.labelR*Math.sin(_65.angle),_69=(_65.left)?(_66+_68):(_67-_68),_6a=(_65.left)?_66:_69;var _6b=s.createPath().moveTo(_47.cx+_47.r*Math.cos(_65.angle),_47.cy+_47.r*Math.sin(_65.angle));if(Math.abs(_65.labelR*Math.cos(_65.angle))<_47.r*2-_68){_6b.lineTo(x,y);}_6b.lineTo(_69,y).setStroke(_65.theme.series.labelWiring);var _6c=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_6a,y,"left",_43[i],_65.theme.series.font,_65.theme.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_6c);}}},this);}}}var esi=0;this._eventSeries[this.run.name]=df.map(run,function(v){return v<=0?null:_4e[esi++];});return this;},_getProperLabelRadius:function(_6d,_6e,_6f){var _70,_71,_72=1,_73=1;if(_6d.length==1){_6d[0].labelR=_6f;return;}for(var i=0;i<_6d.length;i++){var _74=Math.abs(Math.sin(_6d[i].angle));if(_6d[i].left){if(_72>=_74){_72=_74;_70=_6d[i];}}else{if(_73>=_74){_73=_74;_71=_6d[i];}}}_70.labelR=_71.labelR=_6f;this._calculateLabelR(_70,_6d,_6e);this._calculateLabelR(_71,_6d,_6e);},_calculateLabelR:function(_75,_76,_77){var i=_75.index,_78=_76.length,_79=_75.labelR,_7a;while(!(_76[i%_78].left^_76[(i+1)%_78].left)){if(!_76[(i+1)%_78].omit){_7a=(Math.sin(_76[i%_78].angle)*_79+((_76[i%_78].left)?(-_77):_77))/Math.sin(_76[(i+1)%_78].angle);_79=(_7a<_75.labelR)?_75.labelR:_7a;_76[(i+1)%_78].labelR=_79;}i++;}i=_75.index;var j=(i==0)?_78-1:i-1;while(!(_76[i].left^_76[j].left)){if(!_76[j].omit){_7a=(Math.sin(_76[i].angle)*_79+((_76[i].left)?_77:(-_77)))/Math.sin(_76[j].angle);_79=(_7a<_75.labelR)?_75.labelR:_7a;_76[j].labelR=_79;}i--;j--;i=(i<0)?i+_76.length:i;j=(j<0)?j+_76.length:j;}},_getLabel:function(_7b){return dc.getLabel(_7b,this.opt.fixed,this.opt.precision);}});});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_7c,has,_7d,win){_7d(90,function(){if(has("highcontrast")){_7c.add(win.body(),"dijit_a11y");}});return has;});},"dojox/charting/action2d/Shake":function(){define(["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojo/fx","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx"],function(hub,_7e,_7f,df,dfe,m,gf){var _80=3;return _7e("dojox.charting.action2d.Shake",_7f,{defaultParams:{duration:400,easing:dfe.backOut,shiftX:_80,shiftY:_80},optionalParams:{},constructor:function(_81,_82,_83){if(!_83){_83={};}this.shiftX=typeof _83.shiftX=="number"?_83.shiftX:_80;this.shiftY=typeof _83.shiftY=="number"?_83.shiftY:_80;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _84=o.run.name,_85=o.index,_86=[],_87,_88=o.type=="onmouseover"?this.shiftX:-this.shiftX,_89=o.type=="onmouseover"?this.shiftY:-this.shiftY;if(_84 in this.anim){_87=this.anim[_84][_85];}else{this.anim[_84]={};}if(_87){_87.action.stop(true);}else{this.anim[_84][_85]=_87={};}var _8a={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"translate",start:[this.shiftX,this.shiftY],end:[0,0]},m.identity]};if(o.shape){_86.push(gf.animateTransform(_8a));}if(o.oultine){_8a.shape=o.outline;_86.push(gf.animateTransform(_8a));}if(o.shadow){_8a.shape=o.shadow;_86.push(gf.animateTransform(_8a));}if(!_86.length){delete this.anim[_84][_85];return;}_87.action=df.combine(_86);if(o.type=="onmouseout"){hub.connect(_87.action,"onEnd",this,function(){if(this.anim[_84]){delete this.anim[_84][_85];}});}_87.action.play();}});});},"dojox/lang/functional/lambda":function(){define("dojox/lang/functional/lambda",["../..","dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_8b,_8c,_8d,arr){var df=_8d.getObject("lang.functional",true,_8b);var _8e={};var _8f="ab".split(/a*/).length>1?String.prototype.split:function(sep){var r=this.split.call(this,sep),m=sep.exec(this);if(m&&m.index==0){r.unshift("");}return r;};var _90=function(s){var _91=[],_92=_8f.call(s,/\s*->\s*/m);if(_92.length>1){while(_92.length){s=_92.pop();_91=_92.pop().split(/\s*,\s*|\s+/m);if(_92.length){_92.push("(function("+_91+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){_91=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){_91.push("$1");s="$1"+s;}if(r){_91.push("$2");s=s+"$2";}}else{var _93=s.replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g,"").match(/([a-z_$][a-z_$\d]*)/gi)||[],t={};arr.forEach(_93,function(v){if(!(v in t)){_91.push(v);t[v]=1;}});}}}return {args:_91,body:s};};var _94=function(a){return a.length?function(){var i=a.length-1,x=df.lambda(a[i]).apply(this,arguments);for(--i;i>=0;--i){x=df.lambda(a[i]).call(this,x);}return x;}:function(x){return x;};};_8d.mixin(df,{rawLambda:function(s){return _90(s);},buildLambda:function(s){s=_90(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _94(s);}if(s in _8e){return _8e[s];}s=_90(s);return _8e[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_8e={};}});return df;});},"dojox/charting/scaler/primitive":function(){define("dojox/charting/scaler/primitive",["dojo/_base/lang"],function(_95){var _96=_95.getObject("dojox.charting.scaler.primitive",true);return _95.mixin(_96,{buildScaler:function(min,max,_97,_98){if(min==max){min-=0.5;max+=0.5;}return {bounds:{lower:min,upper:max,from:min,to:max,scale:_97/(max-min),span:_97},scaler:_96};},buildTicks:function(_99,_9a){return {major:[],minor:[],micro:[]};},getTransformerFromModel:function(_9b){var _9c=_9b.bounds.from,_9d=_9b.bounds.scale;return function(x){return (x-_9c)*_9d;};},getTransformerFromPlot:function(_9e){var _9f=_9e.bounds.from,_a0=_9e.bounds.scale;return function(x){return x/_a0+_9f;};}});});},"dojox/lang/functional/reversed":function(){define("dojox/lang/functional/reversed",["dojo/_base/lang","dojo/_base/kernel","./lambda"],function(_a1,_a2,df){_a1.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_a2.global;f=df.lambda(f);var t=[],v,i=a.length-1;for(;i>=0;--i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}return t;},forEachRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_a2.global;f=df.lambda(f);for(var i=a.length-1;i>=0;f.call(o,a[i],i,a),--i){}},mapRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_a2.global;f=df.lambda(f);var n=a.length,t=new Array(n),i=n-1,j=0;for(;i>=0;t[j++]=f.call(o,a[i],i,a),--i){}return t;},everyRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_a2.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(!f.call(o,a[i],i,a)){return false;}}return true;},someRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_a2.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(f.call(o,a[i],i,a)){return true;}}return false;}});return df;});},"dojox/charting/plot2d/Candlesticks":function(){define("dojox/charting/plot2d/Candlesticks",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(_a3,_a4,arr,_a5,_a6,dc,df,dfr,du,fx){var _a7=dfr.lambda("item.purgeGroup()");return _a4("dojox.charting.plot2d.Candlesticks",[_a5,_a6],{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_a8,_a9){this.opt=_a3.clone(this.defaultParams);du.updateWithObject(this.opt,_a9);du.updateWithPattern(this.opt,_a9,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_aa){var _ab=_a3.delegate(dc.defaultStats);for(var i=0;i<_aa.length;i++){var run=_aa[i];if(!run.data.length){continue;}var _ac=_ab.vmin,_ad=_ab.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_ab.hmin=Math.min(_ab.hmin,x);_ab.hmax=Math.max(_ab.hmax,x);_ab.vmin=Math.min(_ab.vmin,val.open,val.close,val.high,val.low);_ab.vmax=Math.max(_ab.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_ab.vmin=Math.min(_ac,run.ymin);}if("ymax" in run){_ab.vmax=Math.max(_ad,run.ymax);}}return _ab;},getSeriesStats:function(){var _ae=this.collectStats(this.series);_ae.hmin-=0.5;_ae.hmax+=0.5;return _ae;},render:function(dim,_af){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_af);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_a7);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(_b0){_b0.cleanGroup(s);});}var t=this.chart.theme,f,gap,_b1,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_b2=Math.max(0,this._vScaler.bounds.lower),_b3=vt(_b2),_b4=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_b1=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _b5=t.next("candlestick",[this.opt,run]),s=run.group,_b6=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _b7=t.addMixin(_b5,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_af.l+gap,y=dim.height-_af.b,_b8=vt(v.open),_b9=vt(v.close),_ba=vt(v.high),low=vt(v.low);if("mid" in v){var mid=vt(v.mid);}if(low>_ba){var tmp=_ba;_ba=low;low=tmp;}if(_b1>=1){var _bb=_b8>_b9;var _bc={x1:_b1/2,x2:_b1/2,y1:y-_ba,y2:y-low},_bd={x:0,y:y-Math.max(_b8,_b9),width:_b1,height:Math.max(_bb?_b8-_b9:_b9-_b8,1)};var _be=s.createGroup();_be.setTransform({dx:x,dy:0});var _bf=_be.createGroup();_bf.createLine(_bc).setStroke(_b7.series.stroke);_bf.createRect(_bd).setStroke(_b7.series.stroke).setFill(_bb?_b7.series.fill:"white");if("mid" in v){_bf.createLine({x1:(_b7.series.stroke.width||1),x2:_b1-(_b7.series.stroke.width||1),y1:y-mid,y2:y-mid}).setStroke(_bb?"white":_b7.series.stroke);}run.dyn.fill=_b7.series.fill;run.dyn.stroke=_b7.series.stroke;if(_b4){var o={element:"candlestick",index:j,run:run,shape:_bf,x:x,y:y-Math.max(_b8,_b9),cx:_b1/2,cy:(y-Math.max(_b8,_b9))+(Math.max(_bb?_b8-_b9:_b9-_b8,1)/2),width:_b1,height:Math.max(_bb?_b8-_b9:_b9-_b8,1),data:v};this._connectEvents(o);_b6[j]=o;}}if(this.animate){this._animateCandlesticks(_be,y-low,_ba-low);}}}this._eventSeries[run.name]=_b6;run.dirty=false;}this.dirty=false;return this;},_animateCandlesticks:function(_c0,_c1,_c2){fx.animateTransform(_a3.delegate({shape:_c0,duration:1200,transform:[{name:"translate",start:[0,_c1-(_c1/_c2)],end:[0,0]},{name:"scale",start:[1,1/_c2],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/charting/widget/Sparkline":function(){define("dojox/charting/widget/Sparkline",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/query","./Chart","../themes/GreySkies","../plot2d/Lines","dojo/dom-prop"],function(_c3,_c4,_c5,_c6,_c7,_c8,_c9,_ca){_c5("dojox.charting.widget.Sparkline",_c7,{theme:_c8,margins:{l:0,r:0,t:0,b:0},type:"Lines",valueFn:"Number(x)",store:"",field:"",query:"",queryOptions:"",start:"0",count:"Infinity",sort:"",data:"",name:"default",buildRendering:function(){var n=this.srcNodeRef;if(!n.childNodes.length||!_c6("> .axis, > .plot, > .action, > .series",n).length){var _cb=document.createElement("div");_ca.set(_cb,{"class":"plot","name":"default","type":this.type});n.appendChild(_cb);var _cc=document.createElement("div");_ca.set(_cc,{"class":"series",plot:"default",name:this.name,start:this.start,count:this.count,valueFn:this.valueFn});_c4.forEach(["store","field","query","queryOptions","sort","data"],function(i){if(this[i].length){_ca.set(_cc,i,this[i]);}},this);n.appendChild(_cc);}this.inherited(arguments);}});});},"dojox/gfx/matrix":function(){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],function(g,_cd){var m=g.matrix={};var _ce={};m._degToRad=function(_cf){return _ce[_cf]||(_ce[_cf]=(Math.PI*_cf/180));};m._radToDeg=function(_d0){return _d0/Math.PI*180;};m.Matrix2D=function(arg){if(arg){if(typeof arg=="number"){this.xx=this.yy=arg;}else{if(arg instanceof Array){if(arg.length>0){var _d1=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_d1,r=m.normalize(arg[i]);_d1=new m.Matrix2D();_d1.xx=l.xx*r.xx+l.xy*r.yx;_d1.xy=l.xx*r.xy+l.xy*r.yy;_d1.yx=l.yx*r.xx+l.yy*r.yx;_d1.yy=l.yx*r.xy+l.yy*r.yy;_d1.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_d1.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}_cd.mixin(this,_d1);}}else{_cd.mixin(this,arg);}}}};_cd.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});_cd.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){if(arguments.length>1){return new m.Matrix2D({dx:a,dy:b});}return new m.Matrix2D({dx:a.x,dy:a.y});},scale:function(a,b){if(arguments.length>1){return new m.Matrix2D({xx:a,yy:b});}if(typeof a=="number"){return new m.Matrix2D({xx:a,yy:a});}return new m.Matrix2D({xx:a.x,yy:a.y});},rotate:function(_d2){var c=Math.cos(_d2);var s=Math.sin(_d2);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_d3){return m.rotate(m._degToRad(_d3));},skewX:function(_d4){return new m.Matrix2D({xy:Math.tan(_d4)});},skewXg:function(_d5){return m.skewX(m._degToRad(_d5));},skewY:function(_d6){return new m.Matrix2D({yx:Math.tan(_d6)});},skewYg:function(_d7){return m.skewY(m._degToRad(_d7));},reflect:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});},project:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});},normalize:function(_d8){return (_d8 instanceof m.Matrix2D)?_d8:new m.Matrix2D(_d8);},isIdentity:function(_d9){return _d9.xx==1&&_d9.xy==0&&_d9.yx==0&&_d9.yy==1&&_d9.dx==0&&_d9.dy==0;},clone:function(_da){var obj=new m.Matrix2D();for(var i in _da){if(typeof (_da[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_da[i]){obj[i]=_da[i];}}return obj;},invert:function(_db){var M=m.normalize(_db),D=M.xx*M.yy-M.xy*M.yx;M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});return M;},_multiplyPoint:function(_dc,x,y){return {x:_dc.xx*x+_dc.xy*y+_dc.dx,y:_dc.yx*x+_dc.yy*y+_dc.dy};},multiplyPoint:function(_dd,a,b){var M=m.normalize(_dd);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiplyRectangle:function(_de,_df){var M=m.normalize(_de);_df=_df||{x:0,y:0,width:0,height:0};if(m.isIdentity(M)){return {x:_df.x,y:_df.y,width:_df.width,height:_df.height};}var p0=m.multiplyPoint(M,_df.x,_df.y),p1=m.multiplyPoint(M,_df.x,_df.y+_df.height),p2=m.multiplyPoint(M,_df.x+_df.width,_df.y),p3=m.multiplyPoint(M,_df.x+_df.width,_df.y+_df.height),_e0=Math.min(p0.x,p1.x,p2.x,p3.x),_e1=Math.min(p0.y,p1.y,p2.y,p3.y),_e2=Math.max(p0.x,p1.x,p2.x,p3.x),_e3=Math.max(p0.y,p1.y,p2.y,p3.y);return {x:_e0,y:_e1,width:_e2-_e0,height:_e3-_e1};},multiply:function(_e4){var M=m.normalize(_e4);for(var i=1;i<arguments.length;++i){var l=M,r=m.normalize(arguments[i]);M=new m.Matrix2D();M.xx=l.xx*r.xx+l.xy*r.yx;M.xy=l.xx*r.xy+l.xy*r.yy;M.yx=l.yx*r.xx+l.yy*r.yx;M.yy=l.yx*r.xy+l.yy*r.yy;M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}return M;},_sandwich:function(_e5,x,y){return m.multiply(m.translate(x,y),_e5,m.translate(-x,-y));},scaleAt:function(a,b,c,d){switch(arguments.length){case 4:return m._sandwich(m.scale(a,b),c,d);case 3:if(typeof c=="number"){return m._sandwich(m.scale(a),b,c);}return m._sandwich(m.scale(a,b),c.x,c.y);}return m._sandwich(m.scale(a),b.x,b.y);},rotateAt:function(_e6,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_e6),a,b);}return m._sandwich(m.rotate(_e6),a.x,a.y);},rotategAt:function(_e7,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_e7),a,b);}return m._sandwich(m.rotateg(_e7),a.x,a.y);},skewXAt:function(_e8,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_e8),a,b);}return m._sandwich(m.skewX(_e8),a.x,a.y);},skewXgAt:function(_e9,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_e9),a,b);}return m._sandwich(m.skewXg(_e9),a.x,a.y);},skewYAt:function(_ea,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_ea),a,b);}return m._sandwich(m.skewY(_ea),a.x,a.y);},skewYgAt:function(_eb,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_eb),a,b);}return m._sandwich(m.skewYg(_eb),a.x,a.y);}});g.Matrix2D=m.Matrix2D;return m;});},"dojox/lang/functional/scan":function(){define("dojox/lang/functional/scan",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(_ec,_ed,df){var _ee={};_ed.mixin(df,{scanl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_ec.global;f=df.lambda(f);var t,n,i;if(_ed.isArray(a)){t=new Array((n=a.length)+1);t[0]=z;for(i=0;i<n;z=f.call(o,z,a[i],i,a),t[++i]=z){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[z];for(i=0;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}else{t=[z];for(i in a){if(!(i in _ee)){t.push(z=f.call(o,z,a[i],i,a));}}}}return t;},scanl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_ec.global;f=df.lambda(f);var t,n,z,_ef=true;if(_ed.isArray(a)){t=new Array(n=a.length);t[0]=z=a[0];for(var i=1;i<n;t[i]=z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){if(a.hasNext()){t=[z=a.next()];for(i=1;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}}else{for(i in a){if(!(i in _ee)){if(_ef){t=[z=a[i]];_ef=false;}else{t.push(z=f.call(o,z,a[i],i,a));}}}}}return t;},scanr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_ec.global;f=df.lambda(f);var n=a.length,t=new Array(n+1),i=n;t[n]=z;for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){}return t;},scanr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_ec.global;f=df.lambda(f);var n=a.length,t=new Array(n),z=a[n-1],i=n-1;t[i]=z;for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){}return t;}});});},"dojox/charting/plot2d/Scatter":function(){define("dojox/charting/plot2d/Scatter",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx","dojox/gfx/gradutils"],function(_f0,arr,_f1,_f2,_f3,dc,df,dfr,du,fx,_f4){var _f5=dfr.lambda("item.purgeGroup()");return _f1("dojox.charting.plot2d.Scatter",[_f2,_f3],{defaultParams:{hAxis:"x",vAxis:"y",shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:"",styleFunc:null},constructor:function(_f6,_f7){this.opt=_f0.clone(this.defaultParams);du.updateWithObject(this.opt,_f7);du.updateWithPattern(this.opt,_f7,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_f8){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_f8);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_f5);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(_f9){_f9.cleanGroup(s);});}var t=this.chart.theme,_fa=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;t.skip();continue;}var _fb=t.next("marker",[this.opt,run]),s=run.group,_fc,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(typeof run.data[0]=="number"){_fc=arr.map(run.data,function(v,i){return {x:ht(i+1)+_f8.l,y:dim.height-_f8.b-vt(v)};},this);}else{_fc=arr.map(run.data,function(v,i){return {x:ht(v.x)+_f8.l,y:dim.height-_f8.b-vt(v.y)};},this);}var _fd=new Array(_fc.length),_fe=new Array(_fc.length),_ff=new Array(_fc.length);arr.forEach(_fc,function(c,i){var _100=run.data[i],_101;if(this.opt.styleFunc||typeof _100!="number"){var _102=typeof _100!="number"?[_100]:[];if(this.opt.styleFunc){_102.push(this.opt.styleFunc(_100));}_101=t.addMixin(_fb,"marker",_102,true);}else{_101=t.post(_fb,"marker");}var path="M"+c.x+" "+c.y+" "+_101.symbol;if(_101.marker.shadow){_fd[i]=s.createPath("M"+(c.x+_101.marker.shadow.dx)+" "+(c.y+_101.marker.shadow.dy)+" "+_101.symbol).setStroke(_101.marker.shadow).setFill(_101.marker.shadow.color);if(this.animate){this._animateScatter(_fd[i],dim.height-_f8.b);}}if(_101.marker.outline){var _103=dc.makeStroke(_101.marker.outline);_103.width=2*_103.width+_101.marker.stroke.width;_ff[i]=s.createPath(path).setStroke(_103);if(this.animate){this._animateScatter(_ff[i],dim.height-_f8.b);}}var _104=dc.makeStroke(_101.marker.stroke),fill=this._plotFill(_101.marker.fill,dim,_f8);if(fill&&(fill.type==="linear"||fill.type=="radial")){var _105=_f4.getColor(fill,{x:c.x,y:c.y});if(_104){_104.color=_105;}_fe[i]=s.createPath(path).setStroke(_104).setFill(_105);}else{_fe[i]=s.createPath(path).setStroke(_104).setFill(fill);}if(this.animate){this._animateScatter(_fe[i],dim.height-_f8.b);}},this);if(_fe.length){run.dyn.marker=_fb.symbol;run.dyn.markerStroke=_fe[_fe.length-1].getStroke();run.dyn.markerFill=_fe[_fe.length-1].getFill();}if(_fa){var _106=new Array(_fe.length);arr.forEach(_fe,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_ff&&_ff[i]||null,shadow:_fd&&_fd[i]||null,cx:_fc[i].x,cy:_fc[i].y};if(typeof run.data[0]=="number"){o.x=i+1;o.y=run.data[i];}else{o.x=run.data[i].x;o.y=run.data[i].y;}this._connectEvents(o);_106[i]=o;},this);this._eventSeries[run.name]=_106;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateScatter:function(_107,_108){fx.animateTransform(_f0.delegate({shape:_107,duration:1200,transform:[{name:"translate",start:[0,_108],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_109,on,_10a,has,win,_10b){var _10c=new _109();var _10d;_10a(200,function(){var _10e=_10b.getBox();_10c._rlh=on(win.global,"resize",function(){var _10f=_10b.getBox();if(_10e.h==_10f.h&&_10e.w==_10f.w){return;}_10e=_10f;_10c.emit("resize");});if(has("ie")==8){var _110=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_110){_110=screen.deviceXDPI;_10c.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_10d=evt.target;});on(document,"focusout",function(evt){_10d=null;});}});_10c.getEffectiveBox=function(doc){var box=_10b.getBox(doc);var tag=_10d&&_10d.tagName&&_10d.tagName.toLowerCase();if(has("ios")&&_10d&&!_10d.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_10d.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_10d.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _10c;});},"dojox/color/_base":function(){define("dojox/color/_base",["../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],function(_111,lang,_112,_113){var cx=lang.getObject("color",true,_111);cx.Color=_112;cx.blend=_112.blendColors;cx.fromRgb=_112.fromRgb;cx.fromHex=_112.fromHex;cx.fromArray=_112.fromArray;cx.fromString=_112.fromString;cx.greyscale=_113.makeGrey;lang.mixin(cx,{fromCmy:function(cyan,_114,_115){if(lang.isArray(cyan)){_114=cyan[1],_115=cyan[2],cyan=cyan[0];}else{if(lang.isObject(cyan)){_114=cyan.m,_115=cyan.y,cyan=cyan.c;}}cyan/=100,_114/=100,_115/=100;var r=1-cyan,g=1-_114,b=1-_115;return new _112({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_116,_117,_118){if(lang.isArray(cyan)){_116=cyan[1],_117=cyan[2],_118=cyan[3],cyan=cyan[0];}else{if(lang.isObject(cyan)){_116=cyan.m,_117=cyan.y,_118=cyan.b,cyan=cyan.c;}}cyan/=100,_116/=100,_117/=100,_118/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_118)+_118);g=1-Math.min(1,_116*(1-_118)+_118);b=1-Math.min(1,_117*(1-_118)+_118);return new _112({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_119,_11a){if(lang.isArray(hue)){_119=hue[1],_11a=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_119=hue.s,_11a=hue.l,hue=hue.h;}}_119/=100;_11a/=100;while(hue<0){hue+=360;}while(hue>=360){hue-=360;}var r,g,b;if(hue<120){r=(120-hue)/60,g=hue/60,b=0;}else{if(hue<240){r=0,g=(240-hue)/60,b=(hue-120)/60;}else{r=(hue-240)/60,g=0,b=(360-hue)/60;}}r=2*_119*Math.min(r,1)+(1-_119);g=2*_119*Math.min(g,1)+(1-_119);b=2*_119*Math.min(b,1)+(1-_119);if(_11a<0.5){r*=_11a,g*=_11a,b*=_11a;}else{r=(1-_11a)*r+2*_11a-1;g=(1-_11a)*g+2*_11a-1;b=(1-_11a)*b+2*_11a-1;}return new _112({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});cx.fromHsv=function(hue,_11b,_11c){if(lang.isArray(hue)){_11b=hue[1],_11c=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_11b=hue.s,_11c=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_11b/=100;_11c/=100;var r,g,b;if(_11b==0){r=_11c,b=_11c,g=_11c;}else{var _11d=hue/60,i=Math.floor(_11d),f=_11d-i;var p=_11c*(1-_11b);var q=_11c*(1-(_11b*f));var t=_11c*(1-(_11b*(1-f)));switch(i){case 0:r=_11c,g=t,b=p;break;case 1:r=q,g=_11c,b=p;break;case 2:r=p,g=_11c,b=t;break;case 3:r=p,g=q,b=_11c;break;case 4:r=t,g=p,b=_11c;break;case 5:r=_11c,g=p,b=q;break;}}return new _112({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});};lang.extend(_112,{toCmy:function(){var cyan=1-(this.r/255),_11e=1-(this.g/255),_11f=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_11e*100),y:Math.round(_11f*100)};},toCmyk:function(){var cyan,_120,_121,_122;var r=this.r/255,g=this.g/255,b=this.b/255;_122=Math.min(1-r,1-g,1-b);cyan=(1-r-_122)/(1-_122);_120=(1-g-_122)/(1-_122);_121=(1-b-_122)/(1-_122);return {c:Math.round(cyan*100),m:Math.round(_120*100),y:Math.round(_121*100),b:Math.round(_122*100)};},toHsl:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _123=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_123/((l<0.5)?(2*l):(2-2*l));}if(_123>0){if(max==r&&max!=g){h+=(g-b)/_123;}if(max==g&&max!=b){h+=(2+(b-r)/_123);}if(max==b&&max!=r){h+=(4+(r-g)/_123);}h*=60;}return {h:h,s:Math.round(s*100),l:Math.round(l*100)};},toHsv:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _124=max-min;var h=null,s=(max==0)?0:(_124/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_124;}else{if(g==max){h=120+60*(b-r)/_124;}else{h=240+60*(r-g)/_124;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});return cx;});},"dojox/charting/plot2d/OHLC":function(){define("dojox/charting/plot2d/OHLC",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,arr,_125,_126,_127,dc,df,dfr,du,fx){var _128=dfr.lambda("item.purgeGroup()");return _125("dojox.charting.plot2d.OHLC",[_126,_127],{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_129,_12a){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_12a);du.updateWithPattern(this.opt,_12a,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_12b){var _12c=lang.delegate(dc.defaultStats);for(var i=0;i<_12b.length;i++){var run=_12b[i];if(!run.data.length){continue;}var _12d=_12c.vmin,_12e=_12c.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_12c.hmin=Math.min(_12c.hmin,x);_12c.hmax=Math.max(_12c.hmax,x);_12c.vmin=Math.min(_12c.vmin,val.open,val.close,val.high,val.low);_12c.vmax=Math.max(_12c.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_12c.vmin=Math.min(_12d,run.ymin);}if("ymax" in run){_12c.vmax=Math.max(_12e,run.ymax);}}return _12c;},getSeriesStats:function(){var _12f=this.collectStats(this.series);_12f.hmin-=0.5;_12f.hmax+=0.5;return _12f;},render:function(dim,_130){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_130);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_128);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_131,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_132=Math.max(0,this._vScaler.bounds.lower),_133=vt(_132),_134=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_131=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _135=t.next("candlestick",[this.opt,run]),s=run.group,_136=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _137=t.addMixin(_135,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_130.l+gap,y=dim.height-_130.b,open=vt(v.open),_138=vt(v.close),high=vt(v.high),low=vt(v.low);if(low>high){var tmp=high;high=low;low=tmp;}if(_131>=1){var hl={x1:_131/2,x2:_131/2,y1:y-high,y2:y-low},op={x1:0,x2:((_131/2)+((_137.series.stroke.width||1)/2)),y1:y-open,y2:y-open},cl={x1:((_131/2)-((_137.series.stroke.width||1)/2)),x2:_131,y1:y-_138,y2:y-_138};var _139=s.createGroup();_139.setTransform({dx:x,dy:0});var _13a=_139.createGroup();_13a.createLine(hl).setStroke(_137.series.stroke);_13a.createLine(op).setStroke(_137.series.stroke);_13a.createLine(cl).setStroke(_137.series.stroke);run.dyn.stroke=_137.series.stroke;if(_134){var o={element:"candlestick",index:j,run:run,shape:_13a,x:x,y:y-Math.max(open,_138),cx:_131/2,cy:(y-Math.max(open,_138))+(Math.max(open>_138?open-_138:_138-open,1)/2),width:_131,height:Math.max(open>_138?open-_138:_138-open,1),data:v};this._connectEvents(o);_136[j]=o;}}if(this.animate){this._animateOHLC(_139,y-low,high-low);}}}this._eventSeries[run.name]=_136;run.dirty=false;}this.dirty=false;return this;},_animateOHLC:function(_13b,_13c,_13d){fx.animateTransform(lang.delegate({shape:_13b,duration:1200,transform:[{name:"translate",start:[0,_13c-(_13c/_13d)],end:[0,0]},{name:"scale",start:[1,1/_13d],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_13e,keys,_13f,has,_140,win){var _141=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_141=evt.target;},true);}else{(function(){var _142=function(evt){_141=evt.srcElement;};win.doc.attachEvent("onkeydown",_142);_140.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_142);});})();}function _143(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_144){if(/input|button/i.test(node.nodeName)){return on(node,"click",_144);}else{var _145=[on(node,"keydown",function(e){if(_143(e)){_141=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_143(e)&&e.target==_141){_141=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_144.call(this,e);})];if(has("touch")){var _146;_145.push(on(node,"touchend",function(e){var _147=e.target;_146=setTimeout(function(){_146=null;on.emit(_147,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_146){clearTimeout(_146);}}));}return {remove:function(){_13e.forEach(_145,function(h){h.remove();});if(_146){clearTimeout(_146);_146=null;}}};}};return ret;});},"dojox/charting/plot2d/ClusteredColumns":function(){define("dojox/charting/plot2d/ClusteredColumns",["dojo/_base/declare","./Columns","./common"],function(_148,_149,dc){return _148("dojox.charting.plot2d.ClusteredColumns",_149,{getBarProperties:function(){var f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt,this.series.length);return {gap:f.gap,width:f.size,thickness:f.size};}});});},"dojox/charting/Chart":function(){define("dojox/charting/Chart",["../main","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/dom-style","dojo/dom","dojo/dom-geometry","dojo/dom-construct","dojo/_base/Color","dojo/_base/sniff","./Element","./SimpleTheme","./Series","./axis2d/common","dojox/gfx/shape","dojox/gfx","dojox/lang/functional","dojox/lang/functional/fold","dojox/lang/functional/reversed"],function(_14a,lang,arr,_14b,_14c,dom,_14d,_14e,_14f,has,_150,_151,_152,_153,_154,g,func,_155,_156){var dc=lang.getObject("charting",true,_14a),_157=func.lambda("item.clear()"),_158=func.lambda("item.purgeGroup()"),_159=func.lambda("item.destroy()"),_15a=func.lambda("item.dirty = false"),_15b=func.lambda("item.dirty = true"),_15c=func.lambda("item.name");var _15d=_14b("dojox.charting.Chart",null,{constructor:function(node,_15e){if(!_15e){_15e={};}this.margins=_15e.margins?_15e.margins:{l:10,t:10,r:10,b:10};this.stroke=_15e.stroke;this.fill=_15e.fill;this.delayInMs=_15e.delayInMs||200;this.title=_15e.title;this.titleGap=_15e.titleGap;this.titlePos=_15e.titlePos;this.titleFont=_15e.titleFont;this.titleFontColor=_15e.titleFontColor;this.chartTitle=null;this.theme=null;this.axes={};this.stack=[];this.plots={};this.series=[];this.runs={};this.dirty=true;this.node=dom.byId(node);var box=_14d.getMarginBox(node);this.surface=g.createSurface(this.node,box.w||400,box.h||300);if(this.surface.declaredClass.indexOf("vml")==-1){this.plotGroup=this.surface.createGroup();}},destroy:function(){arr.forEach(this.series,_159);arr.forEach(this.stack,_159);func.forIn(this.axes,_159);this.surface.destroy();if(this.chartTitle&&this.chartTitle.tagName){_14e.destroy(this.chartTitle);}},getCoords:function(){var node=this.node;var s=_14c.getComputedStyle(node),_15f=_14d.getMarginBox(node,s);var abs=_14d.position(node,true);_15f.x=abs.x;_15f.y=abs.y;return _15f;},setTheme:function(_160){this.theme=_160.clone();this.dirty=true;return this;},addAxis:function(name,_161){var axis,_162=_161&&_161.type||"Default";if(typeof _162=="string"){if(!dc.axis2d||!dc.axis2d[_162]){throw Error("Can't find axis: "+_162+" - Check "+"require() dependencies.");}axis=new dc.axis2d[_162](this,_161);}else{axis=new _162(this,_161);}axis.name=name;axis.dirty=true;if(name in this.axes){this.axes[name].destroy();}this.axes[name]=axis;this.dirty=true;return this;},getAxis:function(name){return this.axes[name];},removeAxis:function(name){if(name in this.axes){this.axes[name].destroy();delete this.axes[name];this.dirty=true;}return this;},addPlot:function(name,_163){var plot,_164=_163&&_163.type||"Default";if(typeof _164=="string"){if(!dc.plot2d||!dc.plot2d[_164]){throw Error("Can't find plot: "+_164+" - didn't you forget to dojo"+".require() it?");}plot=new dc.plot2d[_164](this,_163);}else{plot=new _164(this,_163);}plot.name=name;plot.dirty=true;if(name in this.plots){this.stack[this.plots[name]].destroy();this.stack[this.plots[name]]=plot;}else{this.plots[name]=this.stack.length;this.stack.push(plot);}this.dirty=true;return this;},getPlot:function(name){return this.stack[this.plots[name]];},removePlot:function(name){if(name in this.plots){var _165=this.plots[name];delete this.plots[name];this.stack[_165].destroy();this.stack.splice(_165,1);func.forIn(this.plots,function(idx,name,_166){if(idx>_165){_166[name]=idx-1;}});var ns=arr.filter(this.series,function(run){return run.plot!=name;});if(ns.length<this.series.length){arr.forEach(this.series,function(run){if(run.plot==name){run.destroy();}});this.runs={};arr.forEach(ns,function(run,_167){this.runs[run.plot]=_167;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return func.map(this.stack,_15c);},setPlotOrder:function(_168){var _169={},_16a=func.filter(_168,function(name){if(!(name in this.plots)||(name in _169)){return false;}_169[name]=1;return true;},this);if(_16a.length<this.stack.length){func.forEach(this.stack,function(plot){var name=plot.name;if(!(name in _169)){_16a.push(name);}});}var _16b=func.map(_16a,function(name){return this.stack[this.plots[name]];},this);func.forEach(_16b,function(plot,i){this.plots[plot.name]=i;},this);this.stack=_16b;this.dirty=true;return this;},movePlotToFront:function(name){if(name in this.plots){var _16c=this.plots[name];if(_16c){var _16d=this.getPlotOrder();_16d.splice(_16c,1);_16d.unshift(name);return this.setPlotOrder(_16d);}}return this;},movePlotToBack:function(name){if(name in this.plots){var _16e=this.plots[name];if(_16e<this.stack.length-1){var _16f=this.getPlotOrder();_16f.splice(_16e,1);_16f.push(name);return this.setPlotOrder(_16f);}}return this;},addSeries:function(name,data,_170){var run=new _152(this,data,_170);run.name=name;if(name in this.runs){this.series[this.runs[name]].destroy();this.series[this.runs[name]]=run;}else{this.runs[name]=this.series.length;this.series.push(run);}this.dirty=true;if(!("ymin" in run)&&"min" in run){run.ymin=run.min;}if(!("ymax" in run)&&"max" in run){run.ymax=run.max;}return this;},getSeries:function(name){return this.series[this.runs[name]];},removeSeries:function(name){if(name in this.runs){var _171=this.runs[name];delete this.runs[name];this.series[_171].destroy();this.series.splice(_171,1);func.forIn(this.runs,function(idx,name,runs){if(idx>_171){runs[name]=idx-1;}});this.dirty=true;}return this;},updateSeries:function(name,data,_172){if(name in this.runs){var run=this.series[this.runs[name]];run.update(data);if(_172){this.dirty=true;}else{this._invalidateDependentPlots(run.plot,false);this._invalidateDependentPlots(run.plot,true);}}return this;},getSeriesOrder:function(_173){return func.map(func.filter(this.series,function(run){return run.plot==_173;}),_15c);},setSeriesOrder:function(_174){var _175,_176={},_177=func.filter(_174,function(name){if(!(name in this.runs)||(name in _176)){return false;}var run=this.series[this.runs[name]];if(_175){if(run.plot!=_175){return false;}}else{_175=run.plot;}_176[name]=1;return true;},this);func.forEach(this.series,function(run){var name=run.name;if(!(name in _176)&&run.plot==_175){_177.push(name);}});var _178=func.map(_177,function(name){return this.series[this.runs[name]];},this);this.series=_178.concat(func.filter(this.series,function(run){return run.plot!=_175;}));func.forEach(this.series,function(run,i){this.runs[run.name]=i;},this);this.dirty=true;return this;},moveSeriesToFront:function(name){if(name in this.runs){var _179=this.runs[name],_17a=this.getSeriesOrder(this.series[_179].plot);if(name!=_17a[0]){_17a.splice(_179,1);_17a.unshift(name);return this.setSeriesOrder(_17a);}}return this;},moveSeriesToBack:function(name){if(name in this.runs){var _17b=this.runs[name],_17c=this.getSeriesOrder(this.series[_17b].plot);if(name!=_17c[_17c.length-1]){_17c.splice(_17b,1);_17c.push(name);return this.setSeriesOrder(_17c);}}return this;},resize:function(_17d,_17e){var box;switch(arguments.length){case 1:box=lang.mixin({},_17d);_14d.setMarginBox(this.node,box);break;case 2:box={w:_17d,h:_17e};_14d.setMarginBox(this.node,box);break;}box=_14d.getMarginBox(this.node);var d=this.surface.getDimensions();if(d.width!=box.w||d.height!=box.h){this.surface.setDimensions(box.w,box.h);this.dirty=true;return this.render();}else{return this;}},getGeometry:function(){var ret={};func.forIn(this.axes,function(axis){if(axis.initialized()){ret[axis.name]={name:axis.name,vertical:axis.vertical,scaler:axis.scaler,ticks:axis.ticks};}});return ret;},setAxisWindow:function(name,_17f,_180,zoom){var axis=this.axes[name];if(axis){axis.setWindow(_17f,_180);arr.forEach(this.stack,function(plot){if(plot.hAxis==name||plot.vAxis==name){plot.zoom=zoom;}});}return this;},setWindow:function(sx,sy,dx,dy,zoom){if(!("plotArea" in this)){this.calculateGeometry();}func.forIn(this.axes,function(axis){var _181,_182,_183=axis.getScaler().bounds,s=_183.span/(_183.upper-_183.lower);if(axis.vertical){_181=sy;_182=dy/s/_181;}else{_181=sx;_182=dx/s/_181;}axis.setWindow(_181,_182);});arr.forEach(this.stack,function(plot){plot.zoom=zoom;});return this;},zoomIn:function(name,_184,_185){var axis=this.axes[name];if(axis){var _186,_187,_188=axis.getScaler().bounds;var _189=Math.min(_184[0],_184[1]);var _18a=Math.max(_184[0],_184[1]);_189=_184[0]<_188.lower?_188.lower:_189;_18a=_184[1]>_188.upper?_188.upper:_18a;_186=(_188.upper-_188.lower)/(_18a-_189);_187=_189-_188.lower;this.setAxisWindow(name,_186,_187);if(_185){this.delayedRender();}else{this.render();}}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _18b=arr.filter(this.stack,function(plot){return plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty);},this);_18c(_18b,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();arr.forEach(this.stack,_157);if(!this.theme){this.setTheme(new _151());}arr.forEach(this.series,function(run){if(!(run.plot in this.plots)){if(!dc.plot2d||!dc.plot2d.Default){throw Error("Can't find plot: Default - didn't you forget to dojo"+".require() it?");}var plot=new dc.plot2d.Default(this,{});plot.name=run.plot;this.plots[run.plot]=this.stack.length;this.stack.push(plot);}this.stack[this.plots[run.plot]].addSeries(run);},this);arr.forEach(this.stack,function(plot){if(plot.assignAxes){plot.assignAxes(this.axes);}},this);var dim=this.dim=this.surface.getDimensions();dim.width=g.normalizedLength(dim.width);dim.height=g.normalizedLength(dim.height);func.forIn(this.axes,_157);_18c(this.stack,dim);var _18d=this.offsets={l:0,r:0,t:0,b:0};func.forIn(this.axes,function(axis){func.forIn(axis.getOffsets(),function(o,i){_18d[i]=Math.max(o,_18d[i]);});});if(this.title){this.titleGap=(this.titleGap==0)?0:this.titleGap||this.theme.chart.titleGap||20;this.titlePos=this.titlePos||this.theme.chart.titlePos||"top";this.titleFont=this.titleFont||this.theme.chart.titleFont;this.titleFontColor=this.titleFontColor||this.theme.chart.titleFontColor||"black";var _18e=g.normalizedLength(g.splitFontString(this.titleFont).size);_18d[this.titlePos=="top"?"t":"b"]+=(_18e+this.titleGap);}func.forIn(this.margins,function(o,i){_18d[i]+=o;});this.plotArea={width:dim.width-_18d.l-_18d.r,height:dim.height-_18d.t-_18d.b};func.forIn(this.axes,_157);_18c(this.stack,this.plotArea);return this;},render:function(){if(this._delayedRenderHandle){clearTimeout(this._delayedRenderHandle);this._delayedRenderHandle=null;}if(this.theme){this.theme.clear();}if(this.dirty){return this.fullRender();}this.calculateGeometry();func.forEachRev(this.stack,function(plot){plot.render(this.dim,this.offsets);},this);func.forIn(this.axes,function(axis){axis.render(this.dim,this.offsets);},this);this._makeClean();return this;},fullRender:function(){this.fullGeometry();var _18f=this.offsets,dim=this.dim;var w=Math.max(0,dim.width-_18f.l-_18f.r),h=Math.max(0,dim.height-_18f.t-_18f.b);arr.forEach(this.series,_158);func.forIn(this.axes,_158);arr.forEach(this.stack,_158);var _190=this.surface.children;for(var i=0;i<_190.length;++i){_154.dispose(_190[i]);}if(this.chartTitle&&this.chartTitle.tagName){_14e.destroy(this.chartTitle);}if(this.plotGroup){this.plotGroup.clear();}this.surface.clear();this.chartTitle=null;if(this.plotGroup){this._renderChartBackground(dim,_18f);this._renderPlotBackground(dim,_18f,w,h);this.surface.add(this.plotGroup);this.plotGroup.setClip({x:_18f.l,y:_18f.t,width:w,height:h});}else{this._renderPlotBackground(dim,_18f,w,h);}func.foldr(this.stack,function(z,plot){return plot.render(dim,_18f),0;},0);if(!this.plotGroup){this._renderChartBackground(dim,_18f);}if(this.title){var _191=(g.renderer=="canvas"),_192=_191||!has("ie")&&!has("opera")?"html":"gfx",_193=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=_153.createText[_192](this,this.surface,dim.width/2,this.titlePos=="top"?_193+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}func.forIn(this.axes,function(axis){axis.render(dim,_18f);});this._makeClean();return this;},_renderChartBackground:function(dim,_194){var t=this.theme,rect;var fill=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);var _195=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(fill=="inherit"){var node=this.node;fill=new _14f(_14c.get(node,"backgroundColor"));while(fill.a==0&&node!=document.documentElement){fill=new _14f(_14c.get(node,"backgroundColor"));node=node.parentNode;}}if(fill){if(this.plotGroup){fill=_150.prototype._shapeFill(_150.prototype._plotFill(fill,dim),{x:0,y:0,width:dim.width+1,height:dim.height+1});this.surface.createRect({width:dim.width+1,height:dim.height+1}).setFill(fill);}else{fill=_150.prototype._plotFill(fill,dim,_194);if(_194.l){rect={x:0,y:0,width:_194.l,height:dim.height+1};this.surface.createRect(rect).setFill(_150.prototype._shapeFill(fill,rect));}if(_194.r){rect={x:dim.width-_194.r,y:0,width:_194.r+1,height:dim.height+2};this.surface.createRect(rect).setFill(_150.prototype._shapeFill(fill,rect));}if(_194.t){rect={x:0,y:0,width:dim.width+1,height:_194.t};this.surface.createRect(rect).setFill(_150.prototype._shapeFill(fill,rect));}if(_194.b){rect={x:0,y:dim.height-_194.b,width:dim.width+1,height:_194.b+2};this.surface.createRect(rect).setFill(_150.prototype._shapeFill(fill,rect));}}}if(_195){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_195);}},_renderPlotBackground:function(dim,_196,w,h){var t=this.theme;var fill=t.plotarea&&t.plotarea.fill;var _197=t.plotarea&&t.plotarea.stroke;var rect={x:_196.l-1,y:_196.t-1,width:w+2,height:h+2};if(fill){fill=_150.prototype._shapeFill(_150.prototype._plotFill(fill,dim,_196),rect);this.surface.createRect(rect).setFill(fill);}if(_197){this.surface.createRect({x:_196.l,y:_196.t,width:w+1,height:h+1}).setStroke(_197);}},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(lang.hitch(this,function(){this.render();}),this.delayInMs);}return this;},connectToPlot:function(name,_198,_199){return name in this.plots?this.stack[this.plots[name]].connect(_198,_199):null;},fireEvent:function(_19a,_19b,_19c){if(_19a in this.runs){var _19d=this.series[this.runs[_19a]].plot;if(_19d in this.plots){var plot=this.stack[this.plots[_19d]];if(plot){plot.fireEvent(_19a,_19b,_19c);}}}return this;},_makeClean:function(){arr.forEach(this.axes,_15a);arr.forEach(this.stack,_15a);arr.forEach(this.series,_15a);this.dirty=false;},_makeDirty:function(){arr.forEach(this.axes,_15b);arr.forEach(this.stack,_15b);arr.forEach(this.series,_15b);this.dirty=true;},_invalidateDependentPlots:function(_19e,_19f){if(_19e in this.plots){var plot=this.stack[this.plots[_19e]],axis,_1a0=_19f?"vAxis":"hAxis";if(plot[_1a0]){axis=this.axes[plot[_1a0]];if(axis&&axis.dependOnData()){axis.dirty=true;arr.forEach(this.stack,function(p){if(p[_1a0]&&p[_1a0]==plot[_1a0]){p.dirty=true;}});}}else{plot.dirty=true;}}}});function _1a1(_1a2){return {min:_1a2.hmin,max:_1a2.hmax};};function _1a3(_1a4){return {min:_1a4.vmin,max:_1a4.vmax};};function _1a5(_1a6,h){_1a6.hmin=h.min;_1a6.hmax=h.max;};function _1a7(_1a8,v){_1a8.vmin=v.min;_1a8.vmax=v.max;};function _1a9(_1aa,_1ab){if(_1aa&&_1ab){_1aa.min=Math.min(_1aa.min,_1ab.min);_1aa.max=Math.max(_1aa.max,_1ab.max);}return _1aa||_1ab;};function _18c(_1ac,_1ad){var _1ae={},axes={};arr.forEach(_1ac,function(plot){var _1af=_1ae[plot.name]=plot.getSeriesStats();if(plot.hAxis){axes[plot.hAxis]=_1a9(axes[plot.hAxis],_1a1(_1af));}if(plot.vAxis){axes[plot.vAxis]=_1a9(axes[plot.vAxis],_1a3(_1af));}});arr.forEach(_1ac,function(plot){var _1b0=_1ae[plot.name];if(plot.hAxis){_1a5(_1b0,axes[plot.hAxis]);}if(plot.vAxis){_1a7(_1b0,axes[plot.vAxis]);}plot.initializeScalers(_1ad,_1b0);});};return _15d;});},"dojox/charting/plot2d/MarkersOnly":function(){define("dojox/charting/plot2d/MarkersOnly",["dojo/_base/declare","./Default"],function(_1b1,_1b2){return _1b1("dojox.charting.plot2d.MarkersOnly",_1b2,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});});},"dojox/charting/plot2d/Areas":function(){define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],function(_1b3,_1b4){return _1b3("dojox.charting.plot2d.Areas",_1b4,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"dojox/charting/action2d/Base":function(){define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare"],function(lang,_1b5){return _1b5("dojox.charting.action2d.Base",null,{constructor:function(_1b6,plot){this.chart=_1b6;this.plot=plot?(lang.isString(plot)?this.chart.getPlot(plot):plot):this.chart.getPlot("default");},connect:function(){},disconnect:function(){},destroy:function(){this.disconnect();}});});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_1b7,dojo,_1b8,_1b9,_1ba,dom,_1bb,geom,_1bc,_1bd){if(!dojo.isAsync){_1bc(0,function(){var _1be=["./fx/Toggler"];_1bd(_1be);});}var _1bf=dojo.fx={};var _1c0={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _1c1=function(_1c2){this._index=-1;this._animations=_1c2||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_1b8.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_1c1.prototype=new _1b7();lang.extend(_1c1,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_1b9.disconnect(this._onAnimateCtx);_1b9.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_1b9.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_1b9.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_1c3,_1c4){if(!this._current){this._current=this._animations[this._index=0];}if(!_1c4&&this._current.status()=="playing"){return this;}var _1c5=_1b9.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_1c6=_1b9.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_1c7=_1b9.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_1b9.disconnect(_1c5);_1b9.disconnect(_1c6);_1b9.disconnect(_1c7);});if(this._onAnimateCtx){_1b9.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_1b9.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_1b9.disconnect(this._onEndCtx);}this._onEndCtx=_1b9.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_1b9.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_1b9.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_1c8,_1c9){this.pause();var _1ca=this.duration*_1c8;this._current=null;_1b8.some(this._animations,function(a){if(a.duration<=_1ca){this._current=a;return true;}_1ca-=a.duration;return false;});if(this._current){this._current.gotoPercent(_1ca/this._current.duration,_1c9);}return this;},stop:function(_1cb){if(this._current){if(_1cb){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_1b9.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_1b9.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_1b9.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_1b9.disconnect(this._onEndCtx);}}});lang.extend(_1c1,_1c0);_1bf.chain=function(_1cc){return new _1c1(_1cc);};var _1cd=function(_1ce){this._animations=_1ce||[];this._connects=[];this._finished=0;this.duration=0;_1b8.forEach(_1ce,function(a){var _1cf=a.duration;if(a.delay){_1cf+=a.delay;}if(this.duration<_1cf){this.duration=_1cf;}this._connects.push(_1b9.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _1ba.Animation({curve:[0,1],duration:this.duration});var self=this;_1b8.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_1b9.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_1cd,{_doAction:function(_1d0,args){_1b8.forEach(this._animations,function(a){a[_1d0].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_1d1,args){var t=this._pseudoAnimation;t[_1d1].apply(t,args);},play:function(_1d2,_1d3){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_1d4,_1d5){var ms=this.duration*_1d4;_1b8.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_1d5);});this._call("gotoPercent",arguments);return this;},stop:function(_1d6){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_1b8.forEach(this._connects,_1b9.disconnect);}});lang.extend(_1cd,_1c0);_1bf.combine=function(_1d7){return new _1cd(_1d7);};_1bf.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_1ba.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _1d8=_1bb.get(node,"height");return Math.max(_1d8,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_1b9.connect(anim,"onStop",fini);_1b9.connect(anim,"onEnd",fini);return anim;};_1bf.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_1ba.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_1b9.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_1b9.connect(anim,"onStop",fini);_1b9.connect(anim,"onEnd",fini);return anim;};_1bf.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_1bb.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_1ba.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_1b9.connect(anim,"beforeBegin",anim,init);return anim;};return _1bf;});},"dojox/charting/action2d/PlotAction":function(){define("dojox/charting/action2d/PlotAction",["dojo/_base/connect","dojo/_base/declare","./Base","dojo/fx/easing","dojox/lang/functional","dojox/lang/functional/object"],function(hub,_1d9,Base,dfe,df,dlfo){var _1da=400,_1db=dfe.backOut;return _1d9("dojox.charting.action2d.PlotAction",Base,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_1dc,plot,_1dd){this.anim={};if(!_1dd){_1dd={};}this.duration=_1dd.duration?_1dd.duration:_1da;this.easing=_1dd.easing?_1dd.easing:_1db;},connect:function(){this.handle=this.chart.connectToPlot(this.plot.name,this,"process");},disconnect:function(){if(this.handle){hub.disconnect(this.handle);this.handle=null;}},reset:function(){},destroy:function(){this.inherited(arguments);df.forIn(this.anim,function(o){df.forIn(o,function(anim){anim.action.stop(true);});});this.anim={};}});});},"dojox/charting/plot2d/commonStacked":function(){define("dojox/charting/plot2d/commonStacked",["dojo/_base/lang","./common"],function(lang,_1de){var _1df=lang.getObject("dojox.charting.plot2d.commonStacked",true);return lang.mixin(_1df,{collectStats:function(_1e0){var _1e1=lang.delegate(_1de.defaultStats);for(var i=0;i<_1e0.length;++i){var run=_1e0[i];for(var j=0;j<run.data.length;j++){var x,y;if(run.data[j]!==null){if(typeof run.data[j]=="number"||!run.data[j].hasOwnProperty("x")){y=_1df.getIndexValue(_1e0,i,j);x=j+1;}else{x=run.data[j].x;if(x!==null){y=_1df.getValue(_1e0,i,x);y=y!=null&&y.y?y.y:null;}}_1e1.hmin=Math.min(_1e1.hmin,x);_1e1.hmax=Math.max(_1e1.hmax,x);_1e1.vmin=Math.min(_1e1.vmin,y);_1e1.vmax=Math.max(_1e1.vmax,y);}}}return _1e1;},getIndexValue:function(_1e2,i,_1e3){var _1e4=0,v,j;for(j=0;j<=i;++j){v=_1e2[j].data[_1e3];if(v!=null){if(isNaN(v)){v=v.y||0;}_1e4+=v;}}return _1e4;},getValue:function(_1e5,i,x){var _1e6=null,j,z;for(j=0;j<=i;++j){for(z=0;z<_1e5[j].data.length;z++){v=_1e5[j].data[z];if(v!==null){if(v.x==x){if(!_1e6){_1e6={x:x};}if(v.y!=null){if(_1e6.y==null){_1e6.y=0;}_1e6.y+=v.y;}break;}else{if(v.x>x){break;}}}}}return _1e6;}});});},"dojox/gfx/fx":function(){define("dojox/gfx/fx",["dojo/_base/lang","./_base","./matrix","dojo/_base/Color","dojo/_base/array","dojo/_base/fx","dojo/_base/connect"],function(lang,g,m,_1e7,arr,fx,Hub){var fxg=g.fx={};function _1e8(_1e9,end){this.start=_1e9,this.end=end;};_1e8.prototype.getValue=function(r){return (this.end-this.start)*r+this.start;};function _1ea(_1eb,end,_1ec){this.start=_1eb,this.end=end;this.units=_1ec;};_1ea.prototype.getValue=function(r){return (this.end-this.start)*r+this.start+this.units;};function _1ed(_1ee,end){this.start=_1ee,this.end=end;this.temp=new _1e7();};_1ed.prototype.getValue=function(r){return _1e7.blendColors(this.start,this.end,r,this.temp);};function _1ef(_1f0){this.values=_1f0;this.length=_1f0.length;};_1ef.prototype.getValue=function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];};function _1f1(_1f2,def){this.values=_1f2;this.def=def?def:{};};_1f1.prototype.getValue=function(r){var ret=lang.clone(this.def);for(var i in this.values){ret[i]=this.values[i].getValue(r);}return ret;};function _1f3(_1f4,_1f5){this.stack=_1f4;this.original=_1f5;};_1f3.prototype.getValue=function(r){var ret=[];arr.forEach(this.stack,function(t){if(t instanceof m.Matrix2D){ret.push(t);return;}if(t.name=="original"&&this.original){ret.push(this.original);return;}if(t.name=="matrix"){if((t.start instanceof m.Matrix2D)&&(t.end instanceof m.Matrix2D)){var _1f6=new m.Matrix2D();for(var p in t.start){_1f6[p]=(t.end[p]-t.start[p])*r+t.start[p];}ret.push(_1f6);}return;}if(!(t.name in m)){return;}var f=m[t.name];if(typeof f!="function"){ret.push(f);return;}var val=arr.map(t.start,function(v,i){return (t.end[i]-v)*r+v;}),_1f7=f.apply(m,val);if(_1f7 instanceof m.Matrix2D){ret.push(_1f7);}},this);return ret;};var _1f8=new _1e7(0,0,0,0);function _1f9(prop,obj,name,def){if(prop.values){return new _1ef(prop.values);}var _1fa,_1fb,end;if(prop.start){_1fb=g.normalizeColor(prop.start);}else{_1fb=_1fa=obj?(name?obj[name]:obj):def;}if(prop.end){end=g.normalizeColor(prop.end);}else{if(!_1fa){_1fa=obj?(name?obj[name]:obj):def;}end=_1fa;}return new _1ed(_1fb,end);};function _1fc(prop,obj,name,def){if(prop.values){return new _1ef(prop.values);}var _1fd,_1fe,end;if(prop.start){_1fe=prop.start;}else{_1fe=_1fd=obj?obj[name]:def;}if(prop.end){end=prop.end;}else{if(typeof _1fd!="number"){_1fd=obj?obj[name]:def;}end=_1fd;}return new _1e8(_1fe,end);};fxg.animateStroke=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_1ff=args.shape,_200;Hub.connect(anim,"beforeBegin",anim,function(){_200=_1ff.getStroke();var prop=args.color,_201={},_202,_203,end;if(prop){_201.color=_1f9(prop,_200,"color",_1f8);}prop=args.style;if(prop&&prop.values){_201.style=new _1ef(prop.values);}prop=args.width;if(prop){_201.width=_1fc(prop,_200,"width",1);}prop=args.cap;if(prop&&prop.values){_201.cap=new _1ef(prop.values);}prop=args.join;if(prop){if(prop.values){_201.join=new _1ef(prop.values);}else{_203=prop.start?prop.start:(_200&&_200.join||0);end=prop.end?prop.end:(_200&&_200.join||0);if(typeof _203=="number"&&typeof end=="number"){_201.join=new _1e8(_203,end);}}}this.curve=new _1f1(_201,_200);});Hub.connect(anim,"onAnimate",_1ff,"setStroke");return anim;};fxg.animateFill=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_204=args.shape,fill;Hub.connect(anim,"beforeBegin",anim,function(){fill=_204.getFill();var prop=args.color,_205={};if(prop){this.curve=_1f9(prop,fill,"",_1f8);}});Hub.connect(anim,"onAnimate",_204,"setFill");return anim;};fxg.animateFont=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_206=args.shape,font;Hub.connect(anim,"beforeBegin",anim,function(){font=_206.getFont();var prop=args.style,_207={},_208,_209,end;if(prop&&prop.values){_207.style=new _1ef(prop.values);}prop=args.variant;if(prop&&prop.values){_207.variant=new _1ef(prop.values);}prop=args.weight;if(prop&&prop.values){_207.weight=new _1ef(prop.values);}prop=args.family;if(prop&&prop.values){_207.family=new _1ef(prop.values);}prop=args.size;if(prop&&prop.units){_209=parseFloat(prop.start?prop.start:(_206.font&&_206.font.size||"0"));end=parseFloat(prop.end?prop.end:(_206.font&&_206.font.size||"0"));_207.size=new _1ea(_209,end,prop.units);}this.curve=new _1f1(_207,font);});Hub.connect(anim,"onAnimate",_206,"setFont");return anim;};fxg.animateTransform=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_20a=args.shape,_20b;Hub.connect(anim,"beforeBegin",anim,function(){_20b=_20a.getTransform();this.curve=new _1f3(args.transform,_20b);});Hub.connect(anim,"onAnimate",_20a,"setTransform");return anim;};return fxg;});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_20c,_20d,_20e,_20f,_210,lang,on,has,win){has.add("bgIframe",has("ie")||has("mozilla"));var _211=new function(){var _212=[];this.pop=function(){var _213;if(_212.length){_213=_212.pop();_213.style.display="";}else{if(has("ie")<9){var burl=_20e["dojoBlankHtmlUrl"]||_20c.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_213=win.doc.createElement(html);}else{_213=_20f.create("iframe");_213.src="javascript:\"\"";_213.className="dijitBackgroundIframe";_213.setAttribute("role","presentation");_210.set(_213,"opacity",0.1);}_213.tabIndex=-1;}return _213;};this.push=function(_214){_214.style.display="none";_212.push(_214);};}();_20d.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("bgIframe")){var _215=(this.iframe=_211.pop());node.appendChild(_215);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_210.set(_215,{width:"100%",height:"100%"});}}};lang.extend(_20d.BackgroundIframe,{resize:function(node){if(this.iframe){_210.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_211.push(this.iframe);delete this.iframe;}}});return _20d.BackgroundIframe;});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"dojox/charting/action2d/Magnify":function(){define("dojox/charting/action2d/Magnify",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/gfx/fx","dojo/fx","dojo/fx/easing"],function(Hub,_216,_217,m,gf,df,dfe){var _218=2;return _216("dojox.charting.action2d.Magnify",_217,{defaultParams:{duration:400,easing:dfe.backOut,scale:_218},optionalParams:{},constructor:function(_219,plot,_21a){this.scale=_21a&&typeof _21a.scale=="number"?_21a.scale:_218;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){return;}var _21b=o.run.name,_21c=o.index,_21d=[],anim,init,_21e;if(_21b in this.anim){anim=this.anim[_21b][_21c];}else{this.anim[_21b]={};}if(anim){anim.action.stop(true);}else{this.anim[_21b][_21c]=anim={};}if(o.type=="onmouseover"){init=m.identity;_21e=this.scale;}else{init=m.scaleAt(this.scale,o.cx,o.cy);_21e=1/this.scale;}var _21f={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_21e,o.cx,o.cy]},init]};if(o.shape){_21d.push(gf.animateTransform(_21f));}if(o.outline){_21f.shape=o.outline;_21d.push(gf.animateTransform(_21f));}if(o.shadow){_21f.shape=o.shadow;_21d.push(gf.animateTransform(_21f));}if(!_21d.length){delete this.anim[_21b][_21c];return;}anim.action=df.combine(_21d);if(o.type=="onmouseout"){Hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_21b]){delete this.anim[_21b][_21c];}});}anim.action.play();}});});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_220,lang,_221,when){return _220("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_222){if(_222){this.set(_222);}},_get:function(name,_223){return typeof this[_223.g]==="function"?this[_223.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_224){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _225=this._getAttrNames(name),_226=this._get(name,_225),_227=this[_225.s],_228;if(typeof _227==="function"){_228=_227.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_224;}if(this._watchCallbacks){var self=this;when(_228,function(){self._watchCallbacks(name,_226,_224);});}return this;},_changeAttrValue:function(name,_229){var _22a=this.get(name);this[name]=_229;if(this._watchCallbacks){this._watchCallbacks(name,_22a,_229);}return this;},watch:function(name,_22b){var _22c=this._watchCallbacks;if(!_22c){var self=this;_22c=this._watchCallbacks=function(name,_22d,_22e,_22f){var _230=function(_231){if(_231){_231=_231.slice();for(var i=0,l=_231.length;i<l;i++){_231[i].call(self,name,_22d,_22e);}}};_230(_22c["_"+name]);if(!_22f){_230(_22c["*"]);}};}if(!_22b&&typeof name==="function"){_22b=name;name="*";}else{name="_"+name;}var _232=_22c[name];if(typeof _232!=="object"){_232=_22c[name]=[];}_232.push(_22b);var _233={};_233.unwatch=_233.remove=function(){var _234=_221.indexOf(_232,_22b);if(_234>-1){_232.splice(_234,1);}};return _233;}});});},"dojox/charting/plot2d/Markers":function(){define("dojox/charting/plot2d/Markers",["dojo/_base/declare","./Default"],function(_235,_236){return _235("dojox.charting.plot2d.Markers",_236,{constructor:function(){this.opt.markers=true;}});});},"dojox/charting/plot2d/Bubble":function(){define("dojox/charting/plot2d/Bubble",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,_237,arr,_238,_239,dc,df,dfr,du,fx){var _23a=dfr.lambda("item.purgeGroup()");return _237("dojox.charting.plot2d.Bubble",[_238,_239],{defaultParams:{hAxis:"x",vAxis:"y",animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:""},constructor:function(_23b,_23c){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_23c);du.updateWithPattern(this.opt,_23c,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_23d){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_23d);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_23a);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_23e=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;t.skip();continue;}if(typeof run.data[0]=="number"){console.warn("dojox.charting.plot2d.Bubble: the data in the following series cannot be rendered as a bubble chart; ",run);continue;}var _23f=t.next("circle",[this.opt,run]),s=run.group,_240=arr.map(run.data,function(v,i){return v?{x:ht(v.x)+_23d.l,y:dim.height-_23d.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)}:null;},this);var _241=null,_242=null,_243=null,_244=this.opt.styleFunc;var _245=function(item){if(_244){return t.addMixin(_23f,"circle",[item,_244(item)],true);}return t.addMixin(_23f,"circle",item,true);};if(_23f.series.shadow){_243=arr.map(_240,function(item,i){if(item!==null){var _246=_245(run.data[i]),_247=_246.series.shadow;var _248=s.createCircle({cx:item.x+_247.dx,cy:item.y+_247.dy,r:item.radius}).setStroke(_247).setFill(_247.color);if(this.animate){this._animateBubble(_248,dim.height-_23d.b,item.radius);}return _248;}return null;},this);if(_243.length){run.dyn.shadow=_243[_243.length-1].getStroke();}}if(_23f.series.outline){_242=arr.map(_240,function(item,i){if(item!==null){var _249=_245(run.data[i]),_24a=dc.makeStroke(_249.series.outline);_24a.width=2*_24a.width+_23f.series.stroke.width;var _24b=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setStroke(_24a);if(this.animate){this._animateBubble(_24b,dim.height-_23d.b,item.radius);}return _24b;}return null;},this);if(_242.length){run.dyn.outline=_242[_242.length-1].getStroke();}}_241=arr.map(_240,function(item,i){if(item!==null){var _24c=_245(run.data[i]),rect={x:item.x-item.radius,y:item.y-item.radius,width:2*item.radius,height:2*item.radius};var _24d=this._plotFill(_24c.series.fill,dim,_23d);_24d=this._shapeFill(_24d,rect);var _24e=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setFill(_24d).setStroke(_24c.series.stroke);if(this.animate){this._animateBubble(_24e,dim.height-_23d.b,item.radius);}return _24e;}return null;},this);if(_241.length){run.dyn.fill=_241[_241.length-1].getFill();run.dyn.stroke=_241[_241.length-1].getStroke();}if(_23e){var _24f=new Array(_241.length);arr.forEach(_241,function(s,i){if(s!==null){var o={element:"circle",index:i,run:run,shape:s,outline:_242&&_242[i]||null,shadow:_243&&_243[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_240[i].x,cy:_240[i].y,cr:_240[i].radius};this._connectEvents(o);_24f[i]=o;}},this);this._eventSeries[run.name]=_24f;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateBubble:function(_250,_251,size){fx.animateTransform(lang.delegate({shape:_250,duration:1200,transform:[{name:"translate",start:[0,_251],end:[0,0]},{name:"scale",start:[0,1/size],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_252,dom,on,has,_253,_254,win){var _255=has("touch");var ios4=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));ios4=os<5;}var _256;function _257(_258,_259){if(_255){return function(node,_25a){var _25b=on(node,_259,_25a),_25c=on(node,_258,function(evt){if(!_256||(new Date()).getTime()>_256+1000){_25a.call(this,evt);}});return {remove:function(){_25b.remove();_25c.remove();}};};}else{return function(node,_25d){return on(node,_258,_25d);};}};var _25e,_25f;if(_255){_254(function(){_25f=win.body();win.doc.addEventListener("touchstart",function(evt){_256=(new Date()).getTime();var _260=_25f;_25f=evt.target;on.emit(_260,"dojotouchout",{target:_260,relatedTarget:_25f,bubbles:true});on.emit(_25f,"dojotouchover",{target:_25f,relatedTarget:_260,bubbles:true});},true);on(win.doc,"touchmove",function(evt){_256=(new Date()).getTime();var _261=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_261&&_25f!==_261){on.emit(_25f,"dojotouchout",{target:_25f,relatedTarget:_261,bubbles:true});on.emit(_261,"dojotouchover",{target:_261,relatedTarget:_25f,bubbles:true});_25f=_261;}});});_25e=function(node,_262){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_25f,node)){evt.target=_25f;_262.call(this,evt);}});};}var _263={press:_257("mousedown","touchstart"),move:_257("mousemove",_25e),release:_257("mouseup","touchend"),cancel:_257(_253.leave,"touchcancel"),over:_257("mouseover","dojotouchover"),out:_257("mouseout","dojotouchout"),enter:_253._eventHandler(_257("mouseover","dojotouchover")),leave:_253._eventHandler(_257("mouseout","dojotouchout"))};1&&(dojo.touch=_263);return _263;});},"dojox/gfx/gradutils":function(){define("dojox/gfx/gradutils",["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],function(g,lang,m,_264){var _265=g.gradutils={};function _266(o,c){if(o<=0){return c[0].color;}var len=c.length;if(o>=1){return c[len-1].color;}for(var i=0;i<len;++i){var stop=c[i];if(stop.offset>=o){if(i){var prev=c[i-1];return _264.blendColors(new _264(prev.color),new _264(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};_265.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _267=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_268=m.rotate(-_267),_269=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_269,pt),pf1=m.multiplyPoint(_269,fill.x1,fill.y1),pf2=m.multiplyPoint(_269,fill.x2,fill.y2),_26a=m.multiplyPoint(_268,pf2.x-pf1.x,pf2.y-pf1.y).x;o=m.multiplyPoint(_268,p.x-pf1.x,p.y-pf1.y).x/_26a;break;case "radial":var dx=pt.x-fill.cx,dy=pt.y-fill.cy;o=Math.sqrt(dx*dx+dy*dy)/fill.r;break;}return _266(o,fill.colors);}return new _264(fill||[0,0,0,0]);};_265.reverse=function(fill){if(fill){switch(fill.type){case "linear":case "radial":fill=lang.delegate(fill);if(fill.colors){var c=fill.colors,l=c.length,i=0,stop,n=fill.colors=new Array(c.length);for(;i<l;++i){stop=c[i];n[i]={offset:1-stop.offset,color:stop.color};}n.sort(function(a,b){return a.offset-b.offset;});}break;}}return fill;};return _265;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_26b,_26c,_26d,_26e,has,_26f,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_26c.blankGif||_26b.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_26e.getComputedStyle(div),_270=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_270&&(_270=="none"||_270=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_26f(90,function(){if(has("highcontrast")){_26d.add(win.body(),"dj_a11y");}});return has;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_271,lang){var _272={};lang.setObject("dojo.string",_272);_272.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_272.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_272.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_272.substitute=function(_273,map,_274,_275){_275=_275||_271.global;_274=_274?lang.hitch(_275,_274):function(v){return v;};return _273.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_276,key,_277){var _278=lang.getObject(key,false,map);if(_277){_278=lang.getObject(_277,false,_275).call(_275,_278,key);}return _274(_278,key).toString();});};_272.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _272;});},"dojox/charting/plot2d/Lines":function(){define("dojox/charting/plot2d/Lines",["dojo/_base/declare","./Default"],function(_279,_27a){return _279("dojox.charting.plot2d.Lines",_27a,{constructor:function(){this.opt.lines=true;}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_27b,has,_27c,win,_27d){var _27e={},hash={};var _27f={length:0,add:function(_280){if(hash[_280.id]){throw new Error("Tried to register widget with id=="+_280.id+" but that id is already registered");}hash[_280.id]=_280;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_281){var id;do{id=_281+"_"+(_281 in _27e?++_27e[_281]:_27e[_281]=0);}while(hash[id]);return _27d._scopeName=="dijit"?id:_27d._scopeName+"_"+id;},findWidgets:function(root,_282){var _283=[];function _284(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _285=node.getAttribute("widgetId");if(_285){var _286=hash[_285];if(_286){_283.push(_286);}}else{if(node!==_282){_284(node);}}}}};_284(root);return _283;},_destroyAll:function(){_27d._curFocus=null;_27d._prevFocus=null;_27d._activeStack=[];_27b.forEach(_27f.findWidgets(win.body()),function(_287){if(!_287._destroyed){if(_287.destroyRecursive){_287.destroyRecursive();}else{if(_287.destroy){_287.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_27d.registry=_27f;return _27f;});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_288,_289,_28a){return _28a("dijit.Destroyable",null,{destroy:function(_28b){this._destroyed=true;},own:function(){_288.forEach(arguments,function(_28c){var _28d="destroyRecursive" in _28c?"destroyRecursive":"destroy" in _28c?"destroy":"remove";var odh=_289.before(this,"destroy",function(_28e){_28c[_28d](_28e);});var hdh=_289.after(_28c,_28d,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojox/charting/plot2d/StackedAreas":function(){define("dojox/charting/plot2d/StackedAreas",["dojo/_base/declare","./Stacked"],function(_28f,_290){return _28f("dojox.charting.plot2d.StackedAreas",_290,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_291,_292,lang,_293,_294){var _295={};_291.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_295[name]=_293[name];});lang.mixin(_295,{defaultDuration:_292["defaultDuration"]||200});lang.mixin(_294,_295);return _294;});},"dojox/charting/plot2d/Stacked":function(){define(["dojo/_base/declare","./Default","./commonStacked"],function(_296,_297,_298){return _296("dojox.charting.plot2d.Stacked",_297,{getSeriesStats:function(){var _299=_298.collectStats(this.series);return _299;},buildSegments:function(i,_29a){var run=this.series[i],min=_29a?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,max=_29a?Math.min(run.data.length-1,Math.ceil(this._hScaler.bounds.to)):run.data.length-1,rseg=null,_29b=[];for(var j=min;j<=max;j++){var _29c=_29a?_298.getIndexValue(this.series,i,j):_298.getValue(this.series,i,run.data[j]?run.data[j].x:null);if(_29c!=null&&(_29a||_29c.y!=null)){if(!rseg){rseg=[];_29b.push({index:j,rseg:rseg});}rseg.push(_29c);}else{if(!this.opt.interpolate||_29a){rseg=null;}}}return _29b;}});});},"dojo/fx/easing":function(){define(["../_base/lang"],function(lang){var _29d={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-_29d.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return _29d.bounceIn(n*2)/2;}return (_29d.bounceOut(n*2-1)/2)+0.5;}};lang.setObject("dojo.fx.easing",_29d);return _29d;});},"dojox/charting/action2d/Highlight":function(){define("dojox/charting/action2d/Highlight",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","dojo/_base/connect","dojox/color/_base","./PlotAction","dojo/fx/easing","dojox/gfx/fx"],function(dojo,lang,_29e,_29f,hub,c,_2a0,dfe,dgf){var _2a1=100,_2a2=75,_2a3=50,cc=function(_2a4){return function(){return _2a4;};},hl=function(_2a5){var a=new c.Color(_2a5),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=_2a1;if(x.l<_2a3){x.l=_2a2;}else{if(x.l>_2a2){x.l=_2a3;}else{x.l=x.l-_2a3>_2a2-x.l?_2a3:_2a2;}}}return c.fromHsl(x);};return _29e("dojox.charting.action2d.Highlight",_2a0,{defaultParams:{duration:400,easing:dfe.backOut},optionalParams:{highlight:"red"},constructor:function(_2a6,plot,_2a7){var a=_2a7&&_2a7.highlight;this.colorFun=a?(lang.isFunction(a)?a:cc(a)):hl;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _2a8=o.run.name,_2a9=o.index,anim,_2aa,_2ab;if(_2a8 in this.anim){anim=this.anim[_2a8][_2a9];}else{this.anim[_2a8]={};}if(anim){anim.action.stop(true);}else{var _2ac=o.shape.getFill();if(!_2ac||!(_2ac instanceof _29f)){return;}this.anim[_2a8][_2a9]=anim={start:_2ac,end:this.colorFun(_2ac)};}var _2ad=anim.start,end=anim.end;if(o.type=="onmouseout"){var t=_2ad;_2ad=end;end=t;}anim.action=dgf.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_2ad,end:end}});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_2a8]){delete this.anim[_2a8][_2a9];}});}anim.action.play();}});});},"dojox/charting/axis2d/Base":function(){define("dojox/charting/axis2d/Base",["dojo/_base/declare","../Element"],function(_2ae,_2af){return _2ae("dojox.charting.axis2d.Base",_2af,{constructor:function(_2b0,_2b1){this.vertical=_2b1&&_2b1.vertical;this.opt={};this.opt.min=_2b1&&_2b1.min;this.opt.max=_2b1&&_2b1.max;},clear:function(){return this;},initialized:function(){return false;},calculate:function(min,max,span){return this;},getScaler:function(){return null;},getTicks:function(){return null;},getOffsets:function(){return {l:0,r:0,t:0,b:0};},render:function(dim,_2b2){this.dirty=false;return this;}});});},"dojox/charting/plot2d/Grid":function(){define("dojox/charting/plot2d/Grid",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","./CartesianBase","./common","dojox/lang/utils","dojox/gfx/fx"],function(lang,_2b3,hub,arr,_2b4,dc,du,fx){return _2b3("dojox.charting.plot2d.Grid",_2b4,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:false,vStripes:false,animate:null,enableCache:false,renderOnAxis:true},optionalParams:{majorHLine:{},minorHLine:{},majorVLine:{},minorVLine:{}},constructor:function(_2b5,_2b6){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_2b6);du.updateWithPattern(this.opt,_2b6,this.optionalParams);this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;if(this.opt.enableCache){this._lineFreePool=[];this._lineUsePool=[];}},addSeries:function(run){return this;},getSeriesStats:function(){return lang.delegate(dc.defaultStats);},cleanGroup:function(){this.inherited(arguments);if(this.opt.enableCache){this._lineFreePool=this._lineFreePool.concat(this._lineUsePool);this._lineUsePool=[];}},createLine:function(_2b7,_2b8){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_2b8);_2b7.add(line);}else{line=_2b7.createLine(_2b8);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_2b9){if(this.zoom){return this.performZoom(dim,_2b9);}this.dirty=this.isDirty();if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme,_2ba;var _2bb=this.opt.renderOnAxis;if(this._vAxis){var _2bc=this._vAxis.getScaler();if(_2bc){var vt=_2bc.scaler.getTransformerFromModel(_2bc);var _2bd;_2bd=this._vAxis.getTicks();if(_2bd!=null){if(this.opt.hMinorLines){_2ba=this.opt.minorHLine||(ta.grid&&ta.grid.minorLine)||ta.axis.minorTick;arr.forEach(_2bd.minor,function(tick){if(!_2bb&&tick.value==(this._vAxis.opt.leftBottom?_2bc.bounds.from:_2bc.bounds.to)){return;}var y=dim.height-_2b9.b-vt(tick.value);var _2be=this.createLine(s,{x1:_2b9.l,y1:y,x2:dim.width-_2b9.r,y2:y}).setStroke(_2ba);if(this.animate){this._animateGrid(_2be,"h",_2b9.l,_2b9.r+_2b9.l-dim.width);}},this);}if(this.opt.hMajorLines){_2ba=this.opt.majorHLine||(ta.grid&&ta.grid.majorLine)||ta.axis.majorTick;arr.forEach(_2bd.major,function(tick){if(!_2bb&&tick.value==(this._vAxis.opt.leftBottom?_2bc.bounds.from:_2bc.bounds.to)){return;}var y=dim.height-_2b9.b-vt(tick.value);var _2bf=this.createLine(s,{x1:_2b9.l,y1:y,x2:dim.width-_2b9.r,y2:y}).setStroke(_2ba);if(this.animate){this._animateGrid(_2bf,"h",_2b9.l,_2b9.r+_2b9.l-dim.width);}},this);}}}}if(this._hAxis){var _2c0=this._hAxis.getScaler();if(_2c0){var ht=_2c0.scaler.getTransformerFromModel(_2c0);_2bd=this._hAxis.getTicks();if(this!=null){if(_2bd&&this.opt.vMinorLines){_2ba=this.opt.minorVLine||(ta.grid&&ta.grid.minorLine)||ta.axis.minorTick;arr.forEach(_2bd.minor,function(tick){if(!_2bb&&tick.value==(this._hAxis.opt.leftBottom?_2c0.bounds.from:_2c0.bounds.to)){return;}var x=_2b9.l+ht(tick.value);var _2c1=this.createLine(s,{x1:x,y1:_2b9.t,x2:x,y2:dim.height-_2b9.b}).setStroke(_2ba);if(this.animate){this._animateGrid(_2c1,"v",dim.height-_2b9.b,dim.height-_2b9.b-_2b9.t);}},this);}if(_2bd&&this.opt.vMajorLines){_2ba=this.opt.majorVLine||(ta.grid&&ta.grid.majorLine)||ta.axis.majorTick;arr.forEach(_2bd.major,function(tick){if(!_2bb&&tick.value==(this._hAxis.opt.leftBottom?_2c0.bounds.from:_2c0.bounds.to)){return;}var x=_2b9.l+ht(tick.value);var _2c2=this.createLine(s,{x1:x,y1:_2b9.t,x2:x,y2:dim.height-_2b9.b}).setStroke(_2ba);if(this.animate){this._animateGrid(_2c2,"v",dim.height-_2b9.b,dim.height-_2b9.b-_2b9.t);}},this);}}}}this.dirty=false;return this;},_animateGrid:function(_2c3,type,_2c4,size){var _2c5=type=="h"?[_2c4,0]:[0,_2c4];var _2c6=type=="h"?[1/size,1]:[1,1/size];fx.animateTransform(lang.delegate({shape:_2c3,duration:1200,transform:[{name:"translate",start:_2c5,end:[0,0]},{name:"scale",start:_2c6,end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_2c7,dom,_2c8,_2c9,lang,has,_2ca){var _2cb;var a11y={_isElementShown:function(elem){var s=_2c9.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_2c8.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _2c8.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _2cc=elem.contentDocument;if("designMode" in _2cc&&_2cc.designMode=="on"){return true;}body=_2cc.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_2c8.get(elem,"disabled")){return _2cb;}else{if(_2c8.has(elem,"tabIndex")){return +_2c8.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_2cb;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _2cd,last,_2ce,_2cf,_2d0,_2d1,_2d2={};function _2d3(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _2d4=a11y._isElementShown,_2d5=a11y.effectiveTabIndex;var _2d6=function(_2d7){for(var _2d8=_2d7.firstChild;_2d8;_2d8=_2d8.nextSibling){if(_2d8.nodeType!=1||(has("ie")<=9&&_2d8.scopeName!=="HTML")||!_2d4(_2d8)){continue;}var _2d9=_2d5(_2d8);if(_2d9>=0){if(_2d9==0){if(!_2cd){_2cd=_2d8;}last=_2d8;}else{if(_2d9>0){if(!_2ce||_2d9<_2cf){_2cf=_2d9;_2ce=_2d8;}if(!_2d0||_2d9>=_2d1){_2d1=_2d9;_2d0=_2d8;}}}var rn=_2d3(_2d8);if(_2c8.get(_2d8,"checked")&&rn){_2d2[rn]=_2d8;}}if(_2d8.nodeName.toUpperCase()!="SELECT"){_2d6(_2d8);}}};if(_2d4(root)){_2d6(root);}function rs(node){return _2d2[_2d3(node)]||node;};return {first:rs(_2cd),last:rs(last),lowest:rs(_2ce),highest:rs(_2d0)};},getFirstInTabbingOrder:function(root,doc){var _2da=a11y._getTabNavigable(dom.byId(root,doc));return _2da.lowest?_2da.lowest:_2da.first;},getLastInTabbingOrder:function(root,doc){var _2db=a11y._getTabNavigable(dom.byId(root,doc));return _2db.last?_2db.last:_2db.highest;}};1&&lang.mixin(_2ca,a11y);return a11y;});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","dojox/lang/functional/fold":function(){define(["dojo/_base/lang","dojo/_base/array","dojo/_base/kernel","./lambda"],function(lang,arr,_2dc,df){var _2dd={};lang.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_2dc.global;f=df.lambda(f);var i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}else{for(i in a){if(!(i in _2dd)){z=f.call(o,z,a[i],i,a);}}}}return z;},foldl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_2dc.global;f=df.lambda(f);var z,i,n;if(lang.isArray(a)){z=a[0];for(i=1,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){if(a.hasNext()){z=a.next();for(i=1;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}}else{var _2de=true;for(i in a){if(!(i in _2dd)){if(_2de){z=a[i];_2de=false;}else{z=f.call(o,z,a[i],i,a);}}}}}return z;},foldr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_2dc.global;f=df.lambda(f);for(var i=a.length;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},foldr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_2dc.global;f=df.lambda(f);var n=a.length,z=a[n-1],i=n-1;for(;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},reduce:function(a,f,z){return arguments.length<3?df.foldl1(a,f):df.foldl(a,f,z);},reduceRight:function(a,f,z){return arguments.length<3?df.foldr1(a,f):df.foldr(a,f,z);},unfold:function(pr,f,g,z,o){o=o||_2dc.global;f=df.lambda(f);g=df.lambda(g);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(f.call(o,z)),z=g.call(o,z)){}return t;}});});},"dojox/charting/plot2d/Spider":function(){define("dojox/charting/plot2d/Spider",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/_base/sniff","./Base","./_PlotEvents","dojo/_base/Color","dojox/color/_base","./common","../axis2d/common","../scaler/primitive","dojox/gfx","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/utils","dojo/fx/easing"],function(lang,_2df,hub,arr,_2e0,_2e1,_2e2,has,Base,_2e3,_2e4,_2e5,dc,da,_2e6,g,m,_2e7,df,du,_2e8){var _2e9=0.2;var _2ea=_2df("dojox.charting.plot2d.Spider",[Base,_2e3],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:-10,labelStyle:"default",htmlLabels:true,startAngle:-90,divisions:3,axisColor:"",axisWidth:0,spiderColor:"",spiderWidth:0,seriesWidth:0,seriesFillAlpha:0.2,spiderOrigin:0.16,markerSize:3,spiderType:"polygon",animationType:_2e8.backOut,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_2eb,_2ec){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_2ec);du.updateWithPattern(this.opt,_2ec,this.optionalParams);this.dyn=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};},clear:function(){this.inherited(arguments);this.dyn=[];this.axes=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};return this;},setAxis:function(axis){if(axis){if(axis.opt.min!=undefined){this.datas[axis.name].min=axis.opt.min;}if(axis.opt.max!=undefined){this.datas[axis.name].max=axis.opt.max;}}return this;},addSeries:function(run){var _2ed=false;this.series.push(run);for(var key in run.data){var val=run.data[key],data=this.datas[key];if(data){data.vlist.push(val);data.min=Math.min(data.min,val);data.max=Math.max(data.max,val);}else{var _2ee="__"+key;this.axes.push(_2ee);this[_2ee]=key;this.datas[key]={min:val,max:val,vlist:[val]};}}if(this.labelKey.length<=0){for(var key in run.data){this.labelKey.push(key);}}return this;},getSeriesStats:function(){return dc.collectSimpleStats(this.series);},render:function(dim,_2ef){if(!this.dirty){return this;}this.dirty=false;this.cleanGroup();var s=this.group,t=this.chart.theme;this.resetEvents();if(!this.series||!this.series.length){return this;}var o=this.opt,ta=t.axis,rx=(dim.width-_2ef.l-_2ef.r)/2,ry=(dim.height-_2ef.t-_2ef.b)/2,r=Math.min(rx,ry),_2f0=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_2f1=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_2f2=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_2f3=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_2f4=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_2f5=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_2f6=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_2f7=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_2f8=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_2f9=g.normalizedLength(g.splitFontString(_2f1).size),_2fa=m._degToRad(o.startAngle),_2fb=_2fa,step,_2fc,_2fd,_2fe,_2ff,_300,_301,_302,_303,_304,_305,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_306=o.labelOffset<-10?o.labelOffset:-10,_307=0.2;if(o.labels){_2fe=arr.map(this.series,function(s){return s.name;},this);_2ff=df.foldl1(df.map(_2fe,function(_308,i){var font=t.series.font;return g._base._getTextBox(_308,{font:font}).w;},this),"Math.max(a, b)")/2;r=Math.min(rx-2*_2ff,ry-_2f9)+_306;_300=r-_306;}if("radius" in o){r=o.radius;_300=r-_306;}r/=(1+_307);var _309={cx:_2ef.l+rx,cy:_2ef.t+ry,r:r};for(var i=this.series.length-1;i>=0;i--){var _30a=this.series[i];if(!this.dirty&&!_30a.dirty){t.skip();continue;}_30a.cleanGroup();var run=_30a.data;if(run!==null){var len=this._getObjectLength(run);if(!_301||_301.length<=0){_301=[],_302=[],_305=[];this._buildPoints(_301,len,_309,r,_2fb,true);this._buildPoints(_302,len,_309,r*ro,_2fb,true);this._buildPoints(_305,len,_309,_300,_2fb);if(dv>2){_303=[],_304=[];for(var j=0;j<dv-2;j++){_303[j]=[];this._buildPoints(_303[j],len,_309,r*(ro+(1-ro)*(j+1)/(dv-1)),_2fb,true);_304[j]=r*(ro+(1-ro)*(j+1)/(dv-1));}}}}}var _30b=s.createGroup(),_30c={color:_2f4,width:_2f6},_30d={color:_2f5,width:_2f7};for(var j=_301.length-1;j>=0;--j){var _30e=_301[j],st={x:_30e.x+(_30e.x-_309.cx)*_307,y:_30e.y+(_30e.y-_309.cy)*_307},nd={x:_30e.x+(_30e.x-_309.cx)*_307/2,y:_30e.y+(_30e.y-_309.cy)*_307/2};_30b.createLine({x1:_309.cx,y1:_309.cy,x2:st.x,y2:st.y}).setStroke(_30c);this._drawArrow(_30b,st,nd,_30c);}var _30f=s.createGroup();for(var j=_305.length-1;j>=0;--j){var _30e=_305[j],_310=g._base._getTextBox(this.labelKey[j],{font:_2f1}).w||0,_311=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx",elem=da.createText[_311](this.chart,_30f,(!_2e0.isBodyLtr()&&_311=="html")?(_30e.x+_310-dim.width):_30e.x,_30e.y,"middle",this.labelKey[j],_2f1,_2f3);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}var _312=s.createGroup();if(spt=="polygon"){_312.createPolyline(_301).setStroke(_30d);_312.createPolyline(_302).setStroke(_30d);if(_303.length>0){for(var j=_303.length-1;j>=0;--j){_312.createPolyline(_303[j]).setStroke(_30d);}}}else{var _313=this._getObjectLength(this.datas);_312.createCircle({cx:_309.cx,cy:_309.cy,r:r}).setStroke(_30d);_312.createCircle({cx:_309.cx,cy:_309.cy,r:r*ro}).setStroke(_30d);if(_304.length>0){for(var j=_304.length-1;j>=0;--j){_312.createCircle({cx:_309.cx,cy:_309.cy,r:_304[j]}).setStroke(_30d);}}}var _314=s.createGroup(),len=this._getObjectLength(this.datas),k=0;for(var key in this.datas){var data=this.datas[key],min=data.min,max=data.max,_315=max-min,end=_2fb+2*Math.PI*k/len;for(var i=0;i<dv;i++){var text=min+_315*i/(dv-1),_30e=this._getCoordinate(_309,r*(ro+(1-ro)*i/(dv-1)),end);text=this._getLabel(text);var _310=g._base._getTextBox(text,{font:_2f0}).w||0,_311=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx";if(this.opt.htmlLabels){this.htmlElements.push(da.createText[_311](this.chart,_314,(!_2e0.isBodyLtr()&&_311=="html")?(_30e.x+_310-dim.width):_30e.x,_30e.y,"start",text,_2f0,_2f2));}}k++;}this.chart.seriesShapes={};var _316=[];for(var i=this.series.length-1;i>=0;i--){var _30a=this.series[i],run=_30a.data;if(run!==null){var _317=[],k=0,_318=[];for(var key in run){var data=this.datas[key],min=data.min,max=data.max,_315=max-min,_319=run[key],end=_2fb+2*Math.PI*k/len,_30e=this._getCoordinate(_309,r*(ro+(1-ro)*(_319-min)/_315),end);_317.push(_30e);_318.push({sname:_30a.name,key:key,data:_319});k++;}_317[_317.length]=_317[0];_318[_318.length]=_318[0];var _31a=this._getBoundary(_317),_31b=t.next("spider",[o,_30a]),ts=_30a.group,f=g.normalizeColor(_31b.series.fill),sk={color:_31b.series.fill,width:_2f8};f.a=o.seriesFillAlpha;_30a.dyn={fill:f,stroke:sk};var osps=this.oldSeriePoints[_30a.name];var cs=this._createSeriesEntry(ts,(osps||_302),_317,f,sk,r,ro,ms,at);this.chart.seriesShapes[_30a.name]=cs;this.oldSeriePoints[_30a.name]=_317;var po={element:"spider_poly",index:i,id:"spider_poly_"+_30a.name,run:_30a,plot:this,shape:cs.poly,parent:ts,brect:_31a,cx:_309.cx,cy:_309.cy,cr:r,f:f,s:s};this._connectEvents(po);var so={element:"spider_plot",index:i,id:"spider_plot_"+_30a.name,run:_30a,plot:this,shape:_30a.group};this._connectEvents(so);arr.forEach(cs.circles,function(c,i){var _31c=c.getShape(),co={element:"spider_circle",index:i,id:"spider_circle_"+_30a.name+i,run:_30a,plot:this,shape:c,parent:ts,tdata:_318[i],cx:_317[i].x,cy:_317[i].y,f:f,s:s};this._connectEvents(co);},this);}}return this;},_createSeriesEntry:function(ts,osps,sps,f,sk,r,ro,ms,at){var _31d=ts.createPolyline(osps).setFill(f).setStroke(sk),_31e=[];for(var j=0;j<osps.length;j++){var _31f=osps[j],cr=ms;var _320=ts.createCircle({cx:_31f.x,cy:_31f.y,r:cr}).setFill(f).setStroke(sk);_31e.push(_320);}var _321=arr.map(sps,function(np,j){var sp=osps[j],anim=new _2e1.Animation({duration:1000,easing:at,curve:[sp.y,np.y]});var spl=_31d,sc=_31e[j];hub.connect(anim,"onAnimate",function(y){var _322=spl.getShape();_322.points[j].y=y;spl.setShape(_322);var _323=sc.getShape();_323.cy=y;sc.setShape(_323);});return anim;});var _324=arr.map(sps,function(np,j){var sp=osps[j],anim=new _2e1.Animation({duration:1000,easing:at,curve:[sp.x,np.x]});var spl=_31d,sc=_31e[j];hub.connect(anim,"onAnimate",function(x){var _325=spl.getShape();_325.points[j].x=x;spl.setShape(_325);var _326=sc.getShape();_326.cx=x;sc.setShape(_326);});return anim;});var _327=_2e2.combine(_321.concat(_324));_327.play();return {group:ts,poly:_31d,circles:_31e};},plotEvent:function(o){var _328=o.id?o.id:"default",a;if(_328 in this.animations){a=this.animations[_328];a.anim&&a.anim.stop(true);}else{a=this.animations[_328]={};}if(o.element=="spider_poly"){if(!a.color){var _329=o.shape.getFill();if(!_329||!(_329 instanceof _2e4)){return;}a.color={start:_329,end:_32a(_329)};}var _32b=a.color.start,end=a.color.end;if(o.type=="onmouseout"){var t=_32b;_32b=end;end=t;}a.anim=_2e7.animateFill({shape:o.shape,duration:800,easing:_2e8.backOut,color:{start:_32b,end:end}});a.anim.play();}else{if(o.element=="spider_circle"){var init,_32c,_32d=1.5;if(o.type=="onmouseover"){init=m.identity;_32c=_32d;var _32e={type:"rect"};_32e.x=o.cx;_32e.y=o.cy;_32e.w=_32e.h=1;var lt=this.chart.getCoords();_32e.x+=lt.x;_32e.y+=lt.y;_32e.x=Math.round(_32e.x);_32e.y=Math.round(_32e.y);this.aroundRect=_32e;var _32f=["after-centered","before-centered"];dc.doIfLoaded("dijit/Tooltip",lang.hitch(this,function(_330){_330.show(o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data,this.aroundRect,_32f);}));}else{init=m.scaleAt(_32d,o.cx,o.cy);_32c=1/_32d;dc.doIfLoaded("dijit/Tooltip",lang.hitch(this,function(_331){this.aroundRect&&_331.hide(this.aroundRect);}));}var cs=o.shape.getShape(),init=m.scaleAt(_32d,cs.cx,cs.cy),_332={shape:o.shape,duration:200,easing:_2e8.backOut,transform:[{name:"scaleAt",start:[1,cs.cx,cs.cy],end:[_32c,cs.cx,cs.cy]},init]};a.anim=_2e7.animateTransform(_332);a.anim.play();}else{if(o.element=="spider_plot"){if(o.type=="onmouseover"&&!has("ie")){o.shape.moveToFront();}}}}},_getBoundary:function(_333){var xmax=_333[0].x,xmin=_333[0].x,ymax=_333[0].y,ymin=_333[0].y;for(var i=0;i<_333.length;i++){var _334=_333[i];xmax=Math.max(_334.x,xmax);ymax=Math.max(_334.y,ymax);xmin=Math.min(_334.x,xmin);ymin=Math.min(_334.y,ymin);}return {x:xmin,y:ymin,width:xmax-xmin,height:ymax-ymin};},_drawArrow:function(s,_335,end,_336){var len=Math.sqrt(Math.pow(end.x-_335.x,2)+Math.pow(end.y-_335.y,2)),sin=(end.y-_335.y)/len,cos=(end.x-_335.x)/len,_337={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_338={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};s.createPolyline([_335,_337,_338]).setFill(_336.color).setStroke(_336);},_buildPoints:function(_339,_33a,_33b,_33c,_33d,_33e){for(var i=0;i<_33a;i++){var end=_33d+2*Math.PI*i/_33a;_339.push(this._getCoordinate(_33b,_33c,end));}if(_33e){_339.push(this._getCoordinate(_33b,_33c,_33d+2*Math.PI));}},_getCoordinate:function(_33f,_340,_341){return {x:_33f.cx+_340*Math.cos(_341),y:_33f.cy+_340*Math.sin(_341)};},_getObjectLength:function(obj){var _342=0;if(lang.isObject(obj)){for(var key in obj){_342++;}}return _342;},_getLabel:function(_343){return dc.getLabel(_343,this.opt.fixed,this.opt.precision);}});function _32a(_344){var a=new _2e5.Color(_344),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=100;if(x.l<50){x.l=75;}else{if(x.l>75){x.l=50;}else{x.l=x.l-50>75-x.l?50:75;}}}var _344=_2e5.fromHsl(x);_344.a=0.7;return _344;};return _2ea;});},"dojox/charting/plot2d/StackedBars":function(){define(["dojo/_base/declare","./Bars","./commonStacked"],function(_345,Bars,_346){return _345("dojox.charting.plot2d.StackedBars",Bars,{getSeriesStats:function(){var _347=_346.collectStats(this.series),t;_347.hmin-=0.5;_347.hmax+=0.5;t=_347.hmin,_347.hmin=_347.vmin,_347.vmin=t;t=_347.hmax,_347.hmax=_347.vmax,_347.vmax=t;return _347;},getValue:function(_348,_349,_34a,_34b){var y,x;if(_34b){x=_349;y=_346.getIndexValue(this.series,_34a,x);}else{x=_348.x-1;y=_346.getValue(this.series,_34a,_348.x);y=y?y.y:null;}return {y:y,x:x};}});});},"dojox/charting/themes/GreySkies":function(){define("dojox/charting/themes/GreySkies",["../SimpleTheme","./common"],function(_34c,_34d){_34d.GreySkies=new _34c();return _34d.GreySkies;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_34e,_34f,_350,_351,win,_352,_353){function _354(node,_355,_356,_357){var view=_352.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_34e.some(_355,function(_358){var _359=_358.corner;var pos=_358.pos;var _35a=0;var _35b={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_359.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_359.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_356){var res=_356(node,_358.aroundCorner,_359,_35b,_357);_35a=typeof res=="undefined"?0:res;}var _35c=node.style;var _35d=_35c.display;var _35e=_35c.visibility;if(_35c.display=="none"){_35c.visibility="hidden";_35c.display="";}var bb=_34f.position(node);_35c.display=_35d;_35c.visibility=_35e;var _35f={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_359.charAt(1)],_360={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_359.charAt(0)],_361=Math.max(view.l,_35f),_362=Math.max(view.t,_360),endX=Math.min(view.l+view.w,_35f+bb.w),endY=Math.min(view.t+view.h,_360+bb.h),_363=endX-_361,_364=endY-_362;_35a+=(bb.w-_363)+(bb.h-_364);if(best==null||_35a<best.overflow){best={corner:_359,aroundCorner:_358.aroundCorner,x:_361,y:_362,w:_363,h:_364,overflow:_35a,spaceAvailable:_35b};}return !_35a;});if(best.overflow&&_356){_356(node,best.aroundCorner,best.corner,best.spaceAvailable,_357);}var s=node.style;s.top=best.y+"px";s.left=best.x+"px";s.right="auto";return best;};var _365={at:function(node,pos,_366,_367){var _368=_34e.map(_366,function(_369){var c={corner:_369,pos:{x:pos.x,y:pos.y}};if(_367){c.pos.x+=_369.charAt(1)=="L"?_367.x:-_367.x;c.pos.y+=_369.charAt(0)=="T"?_367.y:-_367.y;}return c;});return _354(node,_368);},around:function(node,_36a,_36b,_36c,_36d){var _36e=(typeof _36a=="string"||"offsetWidth" in _36a||"ownerSVGElement" in _36a)?_34f.position(_36a,true):_36a;if(_36a.parentNode){var _36f=_350.getComputedStyle(_36a).position=="absolute";var _370=_36a.parentNode;while(_370&&_370.nodeType==1&&_370.nodeName!="BODY"){var _371=_34f.position(_370,true),pcs=_350.getComputedStyle(_370);if(/relative|absolute/.test(pcs.position)){_36f=false;}if(!_36f&&/hidden|auto|scroll/.test(pcs.overflow)){var _372=Math.min(_36e.y+_36e.h,_371.y+_371.h);var _373=Math.min(_36e.x+_36e.w,_371.x+_371.w);_36e.x=Math.max(_36e.x,_371.x);_36e.y=Math.max(_36e.y,_371.y);_36e.h=_372-_36e.y;_36e.w=_373-_36e.x;}if(pcs.position=="absolute"){_36f=true;}_370=_370.parentNode;}}var x=_36e.x,y=_36e.y,_374="w" in _36e?_36e.w:(_36e.w=_36e.width),_375="h" in _36e?_36e.h:(_351.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_36e.height+", width:"+_374+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_36e.height+", w:"+_374+" }","","2.0"),_36e.h=_36e.height);var _376=[];function push(_377,_378){_376.push({aroundCorner:_377,corner:_378,pos:{x:{"L":x,"R":x+_374,"M":x+(_374>>1)}[_377.charAt(1)],y:{"T":y,"B":y+_375,"M":y+(_375>>1)}[_377.charAt(0)]}});};_34e.forEach(_36b,function(pos){var ltr=_36c;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _379=_354(node,_376,_36d,{w:_374,h:_375});_379.aroundNodePos=_36e;return _379;}};return _353.place=_365;});},"dojox/charting/plot2d/Columns":function(){define(["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,arr,_37a,_37b,_37c,dc,df,dfr,du,fx){var _37d=dfr.lambda("item.purgeGroup()");return _37a("dojox.charting.plot2d.Columns",[_37b,_37c],{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null,enableCache:false},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:""},constructor:function(_37e,_37f){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_37f);du.updateWithPattern(this.opt,_37f,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _380=dc.collectSimpleStats(this.series);_380.hmin-=0.5;_380.hmax+=0.5;return _380;},createRect:function(run,_381,_382){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_382);_381.add(rect);}else{rect=_381.createRect(_382);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_383){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_383);}this.getSeriesStats();this.resetEvents();this.dirty=this.isDirty();var s;if(this.dirty){arr.forEach(this.series,_37d);this._eventSeries={};this.cleanGroup();s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_384=Math.max(0,this._vScaler.bounds.lower),_385=vt(_384),_386=this.events();var bar=this.getBarProperties();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(this.opt.enableCache){run._rectFreePool=(run._rectFreePool?run._rectFreePool:[]).concat(run._rectUsePool?run._rectUsePool:[]);run._rectUsePool=[];}var _387=t.next("column",[this.opt,run]),_388=new Array(run.data.length);s=run.group;var _389=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});var min=_389?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0;var max=_389?Math.min(run.data.length,Math.ceil(this._hScaler.bounds.to)):run.data.length;for(var j=min;j<max;++j){var _38a=run.data[j];if(_38a!=null){var val=this.getValue(_38a,j,i,_389),vv=vt(val.y),h=Math.abs(vv-_385),_38b,_38c;if(this.opt.styleFunc||typeof _38a!="number"){var _38d=typeof _38a!="number"?[_38a]:[];if(this.opt.styleFunc){_38d.push(this.opt.styleFunc(_38a));}_38b=t.addMixin(_387,"column",_38d,true);}else{_38b=t.post(_387,"column");}if(bar.width>=1&&h>=0){var rect={x:_383.l+ht(val.x+0.5)+bar.gap+bar.thickness*i,y:dim.height-_383.b-(val.y>_384?vv:_385),width:bar.width,height:h};if(_38b.series.shadow){var _38e=lang.clone(rect);_38e.x+=_38b.series.shadow.dx;_38e.y+=_38b.series.shadow.dy;_38c=this.createRect(run,s,_38e).setFill(_38b.series.shadow.color).setStroke(_38b.series.shadow);if(this.animate){this._animateColumn(_38c,dim.height-_383.b+_385,h);}}var _38f=this._plotFill(_38b.series.fill,dim,_383);_38f=this._shapeFill(_38f,rect);var _390=this.createRect(run,s,rect).setFill(_38f).setStroke(_38b.series.stroke);run.dyn.fill=_390.getFill();run.dyn.stroke=_390.getStroke();if(_386){var o={element:"column",index:j,run:run,shape:_390,shadow:_38c,x:val.x+0.5,y:val.y};this._connectEvents(o);_388[j]=o;}if(this.animate){this._animateColumn(_390,dim.height-_383.b-_385,h);}}}}this._eventSeries[run.name]=_388;run.dirty=false;}this.dirty=false;return this;},getValue:function(_391,j,_392,_393){var y,x;if(_393){if(typeof _391=="number"){y=_391;}else{y=_391.y;}x=j;}else{y=_391.y;x=_391.x-1;}return {y:y,x:x};},getBarProperties:function(){var f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);return {gap:f.gap,width:f.size,thickness:0};},_animateColumn:function(_394,_395,_396){if(_396==0){_396=1;}fx.animateTransform(lang.delegate({shape:_394,duration:1200,transform:[{name:"translate",start:[0,_395-(_395/_396)],end:[0,0]},{name:"scale",start:[1,1/_396],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/lang/functional/array":function(){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","./lambda"],function(_397,lang,arr,df){var _398={};lang.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_397.global;f=df.lambda(f);var t=[],v,i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;++i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){v=a.next();if(f.call(o,v,i++,a)){t.push(v);}}}else{for(i in a){if(!(i in _398)){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}}}return t;},forEach:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_397.global;f=df.lambda(f);var i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();f.call(o,a.next(),i++,a)){}}else{for(i in a){if(!(i in _398)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_397.global;f=df.lambda(f);var t,n,i;if(lang.isArray(a)){t=new Array(n=a.length);for(i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[];for(i=0;a.hasNext();t.push(f.call(o,a.next(),i++,a))){}}else{t=[];for(i in a){if(!(i in _398)){t.push(f.call(o,a[i],i,a));}}}}return t;},every:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_397.global;f=df.lambda(f);var i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;++i){if(!f.call(o,a[i],i,a)){return false;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(!f.call(o,a.next(),i++,a)){return false;}}}else{for(i in a){if(!(i in _398)){if(!f.call(o,a[i],i,a)){return false;}}}}}return true;},some:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_397.global;f=df.lambda(f);var i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;++i){if(f.call(o,a[i],i,a)){return true;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(f.call(o,a.next(),i++,a)){return true;}}}else{for(i in a){if(!(i in _398)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});return df;});},"dojox/charting/themes/common":function(){define(["dojo/_base/lang"],function(lang){return lang.getObject("dojox.charting.themes",true);});},"dojox/charting/plot2d/common":function(){define("dojox/charting/plot2d/common",["dojo/_base/lang","dojo/_base/array","dojo/_base/Color","dojox/gfx","dojox/lang/functional","../scaler/common"],function(lang,arr,_399,g,df,sc){var _39a=lang.getObject("dojox.charting.plot2d.common",true);return lang.mixin(_39a,{doIfLoaded:sc.doIfLoaded,makeStroke:function(_39b){if(!_39b){return _39b;}if(typeof _39b=="string"||_39b instanceof _399){_39b={color:_39b};}return g.makeParameters(g.defaultStroke,_39b);},augmentColor:function(_39c,_39d){var t=new _399(_39c),c=new _399(_39d);c.a=t.a;return c;},augmentStroke:function(_39e,_39f){var s=_39a.makeStroke(_39e);if(s){s.color=_39a.augmentColor(s.color,_39f);}return s;},augmentFill:function(fill,_3a0){var fc,c=new _399(_3a0);if(typeof fill=="string"||fill instanceof _399){return _39a.augmentColor(fill,_3a0);}return fill;},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_3a1){var _3a2=lang.delegate(_39a.defaultStats);for(var i=0;i<_3a1.length;++i){var run=_3a1[i];for(var j=0;j<run.data.length;j++){if(run.data[j]!==null){if(typeof run.data[j]=="number"){var _3a3=_3a2.vmin,_3a4=_3a2.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,i){if(val!==null){var x=i+1,y=val;if(isNaN(y)){y=0;}_3a2.hmin=Math.min(_3a2.hmin,x);_3a2.hmax=Math.max(_3a2.hmax,x);_3a2.vmin=Math.min(_3a2.vmin,y);_3a2.vmax=Math.max(_3a2.vmax,y);}});}if("ymin" in run){_3a2.vmin=Math.min(_3a3,run.ymin);}if("ymax" in run){_3a2.vmax=Math.max(_3a4,run.ymax);}}else{var _3a5=_3a2.hmin,_3a6=_3a2.hmax,_3a3=_3a2.vmin,_3a4=_3a2.vmax;if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,i){if(val!==null){var x="x" in val?val.x:i+1,y=val.y;if(isNaN(x)){x=0;}if(isNaN(y)){y=0;}_3a2.hmin=Math.min(_3a2.hmin,x);_3a2.hmax=Math.max(_3a2.hmax,x);_3a2.vmin=Math.min(_3a2.vmin,y);_3a2.vmax=Math.max(_3a2.vmax,y);}});}if("xmin" in run){_3a2.hmin=Math.min(_3a5,run.xmin);}if("xmax" in run){_3a2.hmax=Math.max(_3a6,run.xmax);}if("ymin" in run){_3a2.vmin=Math.min(_3a3,run.ymin);}if("ymax" in run){_3a2.vmax=Math.max(_3a4,run.ymax);}}break;}}}return _3a2;},calculateBarSize:function(_3a7,opt,_3a8){if(!_3a8){_3a8=1;}var gap=opt.gap,size=(_3a7-2*gap)/_3a8;if("minBarSize" in opt){size=Math.max(size,opt.minBarSize);}if("maxBarSize" in opt){size=Math.min(size,opt.maxBarSize);}size=Math.max(size,1);gap=(_3a7-size*_3a8)/2;return {size:size,gap:gap};},collectStackedStats:function(_3a9){var _3aa=lang.clone(_39a.defaultStats);if(_3a9.length){_3aa.hmin=Math.min(_3aa.hmin,1);_3aa.hmax=df.foldl(_3a9,"seed, run -> Math.max(seed, run.data.length)",_3aa.hmax);for(var i=0;i<_3aa.hmax;++i){var v=_3a9[0].data[i];v=v&&(typeof v=="number"?v:v.y);if(isNaN(v)){v=0;}_3aa.vmin=Math.min(_3aa.vmin,v);for(var j=1;j<_3a9.length;++j){var t=_3a9[j].data[i];t=t&&(typeof t=="number"?t:t.y);if(isNaN(t)){t=0;}v+=t;}_3aa.vmax=Math.max(_3aa.vmax,v);}}return _3aa;},curve:function(a,_3ab){var _3ac=a.slice(0);if(_3ab=="x"){_3ac[_3ac.length]=_3ac[0];}var p=arr.map(_3ac,function(item,i){if(i==0){return "M"+item.x+","+item.y;}if(!isNaN(_3ab)){var dx=item.x-_3ac[i-1].x,dy=_3ac[i-1].y;return "C"+(item.x-(_3ab-1)*(dx/_3ab))+","+dy+" "+(item.x-(dx/_3ab))+","+item.y+" "+item.x+","+item.y;}else{if(_3ab=="X"||_3ab=="x"||_3ab=="S"){var p0,p1=_3ac[i-1],p2=_3ac[i],p3;var bz1x,bz1y,bz2x,bz2y;var f=1/6;if(i==1){if(_3ab=="x"){p0=_3ac[_3ac.length-2];}else{p0=p1;}f=1/3;}else{p0=_3ac[i-2];}if(i==(_3ac.length-1)){if(_3ab=="x"){p3=_3ac[1];}else{p3=p2;}f=1/3;}else{p3=_3ac[i+1];}var p1p2=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x)+(p2.y-p1.y)*(p2.y-p1.y));var p0p2=Math.sqrt((p2.x-p0.x)*(p2.x-p0.x)+(p2.y-p0.y)*(p2.y-p0.y));var p1p3=Math.sqrt((p3.x-p1.x)*(p3.x-p1.x)+(p3.y-p1.y)*(p3.y-p1.y));var _3ad=p0p2*f;var _3ae=p1p3*f;if(_3ad>p1p2/2&&_3ae>p1p2/2){_3ad=p1p2/2;_3ae=p1p2/2;}else{if(_3ad>p1p2/2){_3ad=p1p2/2;_3ae=p1p2/2*p1p3/p0p2;}else{if(_3ae>p1p2/2){_3ae=p1p2/2;_3ad=p1p2/2*p0p2/p1p3;}}}if(_3ab=="S"){if(p0==p1){_3ad=0;}if(p2==p3){_3ae=0;}}bz1x=p1.x+_3ad*(p2.x-p0.x)/p0p2;bz1y=p1.y+_3ad*(p2.y-p0.y)/p0p2;bz2x=p2.x-_3ae*(p3.x-p1.x)/p1p3;bz2y=p2.y-_3ae*(p3.y-p1.y)/p1p3;}}return "C"+(bz1x+","+bz1y+" "+bz2x+","+bz2y+" "+p2.x+","+p2.y);});return p.join(" ");},getLabel:function(_3af,_3b0,_3b1){return sc.doIfLoaded("dojo/number",function(_3b2){return (_3b0?_3b2.format(_3af,{places:_3b1}):_3b2.format(_3af))||"";},function(){return _3b0?_3af.toFixed(_3b1):_3af.toString();});}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_3b3,_3b4,_3b5,_3b6,has,_3b7,lang,_3b8,_3b9,_3ba,_3bb,_3bc,_3bd){function _3be(){};function _3bf(_3c0){return function(obj,_3c1,_3c2,_3c3){if(obj&&typeof _3c1=="string"&&obj[_3c1]==_3be){return obj.on(_3c1.substring(2).toLowerCase(),lang.hitch(_3c2,_3c3));}return _3c0.apply(_3b5,arguments);};};_3b3.around(_3b5,"connect",_3bf);if(_3b7.connect){_3b3.around(_3b7,"connect",_3bf);}var _3c4=_3b6("dijit._Widget",[_3bb,_3bc,_3bd],{onClick:_3be,onDblClick:_3be,onKeyDown:_3be,onKeyPress:_3be,onKeyUp:_3be,onMouseDown:_3be,onMouseMove:_3be,onMouseOut:_3be,onMouseOver:_3be,onMouseLeave:_3be,onMouseEnter:_3be,onMouseUp:_3be,constructor:function(_3c5){this._toConnect={};for(var name in _3c5){if(this[name]===_3be){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_3c5[name];delete _3c5[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_3be){return _3b5.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_3c6){_3b7.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_3c6);},attr:function(name,_3c7){if(_3b4.isDebug){var _3c8=arguments.callee._ach||(arguments.callee._ach={}),_3c9=(arguments.callee.caller||"unknown caller").toString();if(!_3c8[_3c9]){_3b7.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_3c9,"","2.0");_3c8[_3c9]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_3b7.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_3b8("[widgetId]",this.containerNode).map(_3ba.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_3b9(0,function(){var _3ca=["dijit/_base"];require(_3ca);});}return _3c4;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_3cb,keys,_3cc,has,_3cd,win,_3ce){var ret=_3cc("dijit._OnDijitClickMixin",null,{connect:function(obj,_3cf,_3d0){return this.inherited(arguments,[obj,_3cf=="ondijitclick"?_3ce:_3cf,_3d0]);}});ret.a11yclick=_3ce;return ret;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_3d1,_3d2,_3d3,lang){lang.extend(_3d2,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _3d3("dijit._FocusMixin",null,{_focusManager:_3d1});});},"dojox/charting/plot2d/Bars":function(){define("dojox/charting/plot2d/Bars",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./CartesianBase","./_PlotEvents","./common","dojox/gfx/fx","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/reversed"],function(dojo,lang,arr,_3d4,_3d5,_3d6,dc,fx,du,df,dfr){var _3d7=dfr.lambda("item.purgeGroup()");return _3d4("dojox.charting.plot2d.Bars",[_3d5,_3d6],{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null,enableCache:false},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:""},constructor:function(_3d8,_3d9){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_3d9);du.updateWithPattern(this.opt,_3d9,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _3da=dc.collectSimpleStats(this.series),t;_3da.hmin-=0.5;_3da.hmax+=0.5;t=_3da.hmin,_3da.hmin=_3da.vmin,_3da.vmin=t;t=_3da.hmax,_3da.hmax=_3da.vmax,_3da.vmax=t;return _3da;},createRect:function(run,_3db,_3dc){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_3dc);_3db.add(rect);}else{rect=_3db.createRect(_3dc);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_3dd){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_3dd);}this.dirty=this.isDirty();this.resetEvents();var s;if(this.dirty){arr.forEach(this.series,_3d7);this._eventSeries={};this.cleanGroup();s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_3de=Math.max(0,this._hScaler.bounds.lower),_3df=ht(_3de),_3e0=this.events();var bar=this.getBarProperties();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(this.opt.enableCache){run._rectFreePool=(run._rectFreePool?run._rectFreePool:[]).concat(run._rectUsePool?run._rectUsePool:[]);run._rectUsePool=[];}var _3e1=t.next("bar",[this.opt,run]),_3e2=new Array(run.data.length);s=run.group;var _3e3=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});var min=_3e3?Math.max(0,Math.floor(this._vScaler.bounds.from-1)):0;var max=_3e3?Math.min(run.data.length,Math.ceil(this._vScaler.bounds.to)):run.data.length;for(var j=min;j<max;++j){var _3e4=run.data[j];if(_3e4!=null){var val=this.getValue(_3e4,j,i,_3e3),hv=ht(val.y),w=Math.abs(hv-_3df),_3e5,_3e6;if(this.opt.styleFunc||typeof _3e4!="number"){var _3e7=typeof _3e4!="number"?[_3e4]:[];if(this.opt.styleFunc){_3e7.push(this.opt.styleFunc(_3e4));}_3e5=t.addMixin(_3e1,"bar",_3e7,true);}else{_3e5=t.post(_3e1,"bar");}if(w>=0&&bar.height>=1){var rect={x:_3dd.l+(val.y<_3de?hv:_3df),y:dim.height-_3dd.b-vt(val.x+1.5)+bar.gap+bar.thickness*(this.series.length-i-1),width:w,height:bar.height};if(_3e5.series.shadow){var _3e8=lang.clone(rect);_3e8.x+=_3e5.series.shadow.dx;_3e8.y+=_3e5.series.shadow.dy;_3e6=this.createRect(run,s,_3e8).setFill(_3e5.series.shadow.color).setStroke(_3e5.series.shadow);if(this.animate){this._animateBar(_3e6,_3dd.l+_3df,-w);}}var _3e9=this._plotFill(_3e5.series.fill,dim,_3dd);_3e9=this._shapeFill(_3e9,rect);var _3ea=this.createRect(run,s,rect).setFill(_3e9).setStroke(_3e5.series.stroke);run.dyn.fill=_3ea.getFill();run.dyn.stroke=_3ea.getStroke();if(_3e0){var o={element:"bar",index:j,run:run,shape:_3ea,shadow:_3e6,x:val.y,y:val.x+1.5};this._connectEvents(o);_3e2[j]=o;}if(this.animate){this._animateBar(_3ea,_3dd.l+_3df,-w);}}}}this._eventSeries[run.name]=_3e2;run.dirty=false;}this.dirty=false;return this;},getValue:function(_3eb,j,_3ec,_3ed){var y,x;if(_3ed){if(typeof _3eb=="number"){y=_3eb;}else{y=_3eb.y;}x=j;}else{y=_3eb.y;x=_3eb.x-1;}return {y:y,x:x};},getBarProperties:function(){var f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);return {gap:f.gap,height:f.size,thickness:0};},_animateBar:function(_3ee,_3ef,_3f0){if(_3f0==0){_3f0=1;}fx.animateTransform(lang.delegate({shape:_3ee,duration:1200,transform:[{name:"translate",start:[_3ef-(_3ef/_3f0),0],end:[0,0]},{name:"scale",start:[1/_3f0,1],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/gfx/_base":function(){define("dojox/gfx/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],function(_3f1,lang,_3f2,has,win,arr,dom,_3f3,_3f4){var g=lang.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(node,_3f5){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_3f5+" ")>=0;};g._addClass=function(node,_3f6){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_3f6+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_3f6);}};g._removeClass=function(node,_3f7){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_3f7+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _3f8={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};var p,_3f9;if(has("ie")){_3f9=win.doc.documentElement.style.fontSize||"";if(!_3f9){win.doc.documentElement.style.fontSize="100%";}}var div=_3f3.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},win.body());for(p in _3f8){div.style.fontSize=p;_3f8[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}if(has("ie")){win.doc.documentElement.style.fontSize=_3f9;}win.body().removeChild(div);return _3f8;};var _3fa=null;b._getCachedFontMeasurements=function(_3fb){if(_3fb||!_3fa){_3fa=b._getFontMeasurements();}return _3fa;};var _3fc=null,_3fd={};b._getTextBox=function(text,_3fe,_3ff){var m,s,al=arguments.length;var i;if(!_3fc){_3fc=_3f3.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_3fc;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_3fe){for(i in _3fe){if(i in _3fd){continue;}s[i]=_3fe[i];}}if(al>2&&_3ff){m.className=_3ff;}m.innerHTML=text;if(m["getBoundingClientRect"]){var bcr=m.getBoundingClientRect();return {l:bcr.left,t:bcr.top,w:bcr.width||(bcr.right-bcr.left),h:bcr.height||(bcr.bottom-bcr.top)};}else{return _3f4.getMarginBox(m);}};var _400=0;b._getUniqueId=function(){var id;do{id=_3f1._scopeName+"xUnique"+(++_400);}while(dom.byId(id));return id;};lang.mixin(g,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:(function(){var _401={};return function(type){var t=_401[type];if(t){return new t();}t=_401[type]=new Function();t.prototype=g["default"+type];return new t();};})(),normalizeColor:function(_402){return (_402 instanceof _3f2)?_402:new _3f2(_402);},normalizeParameters:function(_403,_404){var x;if(_404){var _405={};for(x in _403){if(x in _404&&!(x in _405)){_403[x]=_404[x];}}}return _403;},makeParameters:function(_406,_407){var i=null;if(!_407){return lang.delegate(_406);}var _408={};for(i in _406){if(!(i in _408)){_408[i]=lang.clone((i in _407)?_407[i]:_406[i]);}}return _408;},formatNumber:function(x,_409){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _40a=val.indexOf(".");if(_40a>=0&&val.length-_40a>5){val=x.toFixed(4);}}if(x<0){return val;}return _409?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=g.getDefault("Font");var t=str.split(/\s+/);do{if(t.length<5){break;}font.style=t[0];font.variant=t[1];font.weight=t[2];var i=t[3].indexOf("/");font.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;}else{if(t[4].charAt(0)=="/"){j=5;}}}if(j<t.length){font.family=t.slice(j).join(" ");}}while(false);return font;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return g._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*g.px_in_pt();},px2pt:function(len){return len/g.px_in_pt();},normalizedLength:function(len){if(len.length===0){return 0;}if(len.length>2){var _40b=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_40b;case "in":return val*72*_40b;case "pc":return val*12*_40b;case "mm":return val*g.mm_in_pt*_40b;case "cm":return val*g.cm_in_pt*_40b;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a===b;},switchTo:function(_40c){var ns=typeof _40c=="string"?g[_40c]:_40c;if(ns){arr.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],function(name){g[name]=ns[name];});}}});return g;});},"dojox/charting/plot2d/CartesianBase":function(){define("dojox/charting/plot2d/CartesianBase",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","./Base","../scaler/primitive","dojox/gfx/fx"],function(lang,_40d,hub,Base,_40e,fx){return _40d("dojox.charting.plot2d.CartesianBase",Base,{constructor:function(_40f,_410){this.axes=["hAxis","vAxis"];this.zoom=null,this.zoomQueue=[];this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0};},clear:function(){this.inherited(arguments);this._hAxis=null;this._vAxis=null;return this;},cleanGroup:function(_411){this.inherited(arguments,[_411||this.chart.plotGroup]);},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},toPage:function(_412){var ah=this._hAxis,av=this._vAxis,sh=ah.getScaler(),sv=av.getScaler(),th=sh.scaler.getTransformerFromModel(sh),tv=sv.scaler.getTransformerFromModel(sv),c=this.chart.getCoords(),o=this.chart.offsets,dim=this.chart.dim;var t=function(_413){var r={};r.x=th(_413[ah.name])+c.x+o.l;r.y=c.y+dim.height-o.b-tv(_413[av.name]);return r;};return _412?t(_412):t;},toData:function(_414){var ah=this._hAxis,av=this._vAxis,sh=ah.getScaler(),sv=av.getScaler(),th=sh.scaler.getTransformerFromPlot(sh),tv=sv.scaler.getTransformerFromPlot(sv),c=this.chart.getCoords(),o=this.chart.offsets,dim=this.chart.dim;var t=function(_415){var r={};r[ah.name]=th(_415.x-c.x-o.l);r[av.name]=tv(c.y+dim.height-_415.y-o.b);return r;};return _414?t(_414):t;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},performZoom:function(dim,_416){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_417=dim.height-_416.b,_418=this._hScaler.bounds,_419=(_418.from-_418.lower)*_418.scale,_41a=this._vScaler.bounds,_41b=(_41a.from-_41a.lower)*_41a.scale,_41c=vs/this.lastWindow.vscale,_41d=hs/this.lastWindow.hscale,_41e=(this.lastWindow.xoffset-_419)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),_41f=(_41b-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),_420=this.group,anim=fx.animateTransform(lang.delegate({shape:_420,duration:1200,transform:[{name:"translate",start:[0,0],end:[_416.l*(1-_41d),_417*(1-_41c)]},{name:"scale",start:[1,1],end:[_41d,_41c]},{name:"original"},{name:"translate",start:[0,0],end:[_41e,_41f]}]},this.zoom));lang.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_419,yoffset:_41b});this.zoomQueue.push(anim);hub.connect(anim,"onEnd",this,function(){this.zoom=null;this.zoomQueue.shift();if(this.zoomQueue.length>0){this.zoomQueue[0].play();}});if(this.zoomQueue.length==1){this.zoomQueue[0].play();}return this;},initializeScalers:function(dim,_421){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_421.hmin,_421.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=_40e.buildScaler(_421.hmin,_421.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_421.vmin,_421.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=_40e.buildScaler(_421.vmin,_421.vmax,dim.height);}return this;}});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_422,_423,dom,_424,_425,_426,lang,on,_427,has,_428,_429,win,_42a,a11y,_42b,_42c){var _42d;var _42e=_423([_428,_426],{curNode:null,activeStack:[],constructor:function(){var _42f=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_422.before(_425,"empty",_42f);_422.before(_425,"destroy",_42f);},registerIframe:function(_430){return this.registerWin(_430.contentWindow,_430);},registerWin:function(_431,_432){var _433=this,body=_431.document&&_431.document.body;if(body){var mdh=on(body,"mousedown",function(evt){_433._justMouseDowned=true;setTimeout(function(){_433._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_433._onTouchNode(_432||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){_42d=(new Date()).getTime();if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_433._onFocusNode(_432||evt.target);}else{_433._onTouchNode(_432||evt.target);}});var foh=on(body,"focusout",function(evt){if((new Date()).getTime()<_42d+100){return;}_433._onBlurNode(_432||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _434=[];try{while(node){var _435=_424.get(node,"dijitPopupParent");if(_435){node=_42b.byId(_435).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_42a.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_436=id&&_42b.byId(id);if(_436&&!(by=="mouse"&&_436.get("disabled"))){_434.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_434,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_437,by){var _438=this.activeStack;this.set("activeStack",_437);for(var _439=0;_439<Math.min(_438.length,_437.length);_439++){if(_438[_439]!=_437[_439]){break;}}var _43a;for(var i=_438.length-1;i>=_439;i--){_43a=_42b.byId(_438[i]);if(_43a){_43a._hasBeenBlurred=true;_43a.set("focused",false);if(_43a._focusManager==this){_43a._onBlur(by);}this.emit("widget-blur",_43a,by);}}for(i=_439;i<_437.length;i++){_43a=_42b.byId(_437[i]);if(_43a){_43a.set("focused",true);if(_43a._focusManager==this){_43a._onFocus(by);}this.emit("widget-focus",_43a,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _43b=new _42e();_427(function(){var _43c=_43b.registerWin(_42a.get(win.doc));if(has("ie")){_429.addOnWindowUnload(function(){if(_43c){_43c.remove();_43c=null;}});}});_42c.focus=function(node){_43b.focus(node);};for(var attr in _43b){if(!/^_/.test(attr)){_42c.focus[attr]=typeof _43b[attr]=="function"?lang.hitch(_43b,attr):_43b[attr];}}_43b.watch(function(attr,_43d,_43e){_42c.focus[attr]=_43e;});return _43b;});},"dojox/charting/widget/Legend":function(){define("dojox/charting/widget/Legend",["dojo/_base/lang","dojo/_base/declare","dijit/_WidgetBase","dojox/gfx","dojo/_base/array","dojox/lang/functional","dojox/lang/functional/array","dojox/lang/functional/fold","dojo/dom","dojo/dom-construct","dojo/dom-class","dijit/registry"],function(lang,_43f,_440,gfx,_441,df,dfa,dff,dom,_442,_443,_444){return _43f("dojox.charting.widget.Legend",_440,{chartRef:"",horizontal:true,swatchSize:18,legendBody:null,postCreate:function(){if(!this.chart&&this.chartRef){this.chart=_444.byId(this.chartRef)||_444.byNode(dom.byId(this.chartRef));if(!this.chart){}}this.chart=this.chart.chart||this.chart;this.refresh();},buildRendering:function(){this.domNode=_442.create("table",{role:"group","aria-label":"chart legend","class":"dojoxLegendNode"});this.legendBody=_442.create("tbody",null,this.domNode);this.inherited(arguments);},destroy:function(){if(this._surfaces){_441.forEach(this._surfaces,function(_445){_445.destroy();});}this.inherited(arguments);},refresh:function(){if(this._surfaces){_441.forEach(this._surfaces,function(_446){_446.destroy();});}this._surfaces=[];while(this.legendBody.lastChild){_442.destroy(this.legendBody.lastChild);}if(this.horizontal){_443.add(this.domNode,"dojoxLegendHorizontal");this._tr=_442.create("tr",null,this.legendBody);this._inrow=0;}var s=this.series||this.chart.series;if(s.length==0){return;}if(s[0].chart.stack[0].declaredClass=="dojox.charting.plot2d.Pie"){var t=s[0].chart.stack[0];if(typeof t.run.data[0]=="number"){var _447=df.map(t.run.data,"Math.max(x, 0)");var _448=df.map(_447,"/this",df.foldl(_447,"+",0));_441.forEach(_448,function(x,i){this._addLabel(t.dyn[i],t._getLabel(x*100)+"%");},this);}else{_441.forEach(t.run.data,function(x,i){this._addLabel(t.dyn[i],x.legend||x.text||x.y);},this);}}else{_441.forEach(s,function(x){this._addLabel(x.dyn,x.legend||x.name);},this);}},_addLabel:function(dyn,_449){var _44a=_442.create("td"),icon=_442.create("div",null,_44a),text=_442.create("label",null,_44a),div=_442.create("div",{style:{"width":this.swatchSize+"px","height":this.swatchSize+"px","float":"left"}},icon);_443.add(icon,"dojoxLegendIcon dijitInline");_443.add(text,"dojoxLegendText");if(this._tr){this._tr.appendChild(_44a);if(++this._inrow===this.horizontal){this._tr=_442.create("tr",null,this.legendBody);this._inrow=0;}}else{var tr=_442.create("tr",null,this.legendBody);tr.appendChild(_44a);}this._makeIcon(div,dyn);text.innerHTML=String(_449);text.dir=this.getTextDir(_449,text.dir);},_makeIcon:function(div,dyn){var mb={h:this.swatchSize,w:this.swatchSize};var _44b=gfx.createSurface(div,mb.w,mb.h);this._surfaces.push(_44b);if(dyn.fill){_44b.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setFill(dyn.fill).setStroke(dyn.stroke);}else{if(dyn.stroke||dyn.marker){var line={x1:0,y1:mb.h/2,x2:mb.w,y2:mb.h/2};if(dyn.stroke){_44b.createLine(line).setStroke(dyn.stroke);}if(dyn.marker){var c={x:mb.w/2,y:mb.h/2};_44b.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.markerFill).setStroke(dyn.markerStroke);}}else{_44b.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setStroke("black");_44b.createLine({x1:2,y1:2,x2:mb.w-2,y2:mb.h-2}).setStroke("black");_44b.createLine({x1:2,y1:mb.h-2,x2:mb.w-2,y2:2}).setStroke("black");}}}});});},"dojox/charting/plot2d/StackedLines":function(){define("dojox/charting/plot2d/StackedLines",["dojo/_base/declare","./Stacked"],function(_44c,_44d){return _44c("dojox.charting.plot2d.StackedLines",_44d,{constructor:function(){this.opt.lines=true;}});});},"dojox/charting/plot2d/StackedColumns":function(){define("dojox/charting/plot2d/StackedColumns",["dojo/_base/declare","./Columns","./commonStacked"],function(_44e,_44f,_450){return _44e("dojox.charting.plot2d.StackedColumns",_44f,{getSeriesStats:function(){var _451=_450.collectStats(this.series);_451.hmin-=0.5;_451.hmax+=0.5;return _451;},getValue:function(_452,_453,_454,_455){var y,x;if(_455){x=_453;y=_450.getIndexValue(this.series,_454,x);}else{x=_452.x-1;y=_450.getValue(this.series,_454,_452.x);y=y?y.y:null;}return {y:y,x:x};}});});},"dojox/charting/Series":function(){define("dojox/charting/Series",["dojo/_base/lang","dojo/_base/declare","./Element"],function(lang,_456,_457){return _456("dojox.charting.Series",_457,{constructor:function(_458,data,_459){lang.mixin(this,_459);if(typeof this.plot!="string"){this.plot="default";}this.update(data);},clear:function(){this.dyn={};},update:function(data){if(lang.isArray(data)){this.data=data;}else{this.source=data;this.data=this.source.data;if(this.source.setSeriesObject){this.source.setSeriesObject(this);}}this.dirty=true;this.clear();}});});},"dojox/charting/plot2d/Default":function(){define("dojox/charting/plot2d/Default",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,_45a,arr,_45b,_45c,dc,df,dfr,du,fx){var _45d=dfr.lambda("item.purgeGroup()");var _45e=1200;return _45a("dojox.charting.plot2d.Default",[_45b,_45c],{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,tension:"",animate:false,enableCache:false,interpolate:false},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:"",marker:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_45f,_460){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_460);du.updateWithPattern(this.opt,_460,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},createPath:function(run,_461,_462){var path;if(this.opt.enableCache&&run._pathFreePool.length>0){path=run._pathFreePool.pop();path.setShape(_462);_461.add(path);}else{path=_461.createPath(_462);}if(this.opt.enableCache){run._pathUsePool.push(path);}return path;},buildSegments:function(i,_463){var run=this.series[i],min=_463?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,max=_463?Math.min(run.data.length,Math.ceil(this._hScaler.bounds.to)):run.data.length,rseg=null,_464=[];for(var j=min;j<max;j++){if(run.data[j]!=null&&(_463||run.data[j].y!=null)){if(!rseg){rseg=[];_464.push({index:j,rseg:rseg});}rseg.push((_463&&run.data[j].hasOwnProperty("y"))?run.data[j].y:run.data[j]);}else{if(!this.opt.interpolate||_463){rseg=null;}}}return _464;},render:function(dim,_465){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_465);}this.resetEvents();this.dirty=this.isDirty();var s;if(this.dirty){arr.forEach(this.series,_45d);this._eventSeries={};this.cleanGroup();this.group.setTransform(null);s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_466,_467,_468,_469=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(this.opt.enableCache){run._pathFreePool=(run._pathFreePool?run._pathFreePool:[]).concat(run._pathUsePool?run._pathUsePool:[]);run._pathUsePool=[];}if(!run.data.length){run.dirty=false;t.skip();continue;}var _46a=t.next(this.opt.areas?"area":"line",[this.opt,run],true),_46b,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_46c=this._eventSeries[run.name]=new Array(run.data.length);s=run.group;var _46d=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});var _46e=this.buildSegments(i,_46d);for(var seg=0;seg<_46e.length;seg++){var _46f=_46e[seg];if(_46d){_46b=arr.map(_46f.rseg,function(v,i){return {x:ht(i+_46f.index+1)+_465.l,y:dim.height-_465.b-vt(v),data:v};},this);}else{_46b=arr.map(_46f.rseg,function(v){return {x:ht(v.x)+_465.l,y:dim.height-_465.b-vt(v.y),data:v};},this);}if(_46d&&this.opt.interpolate){while(seg<_46e.length){seg++;_46f=_46e[seg];if(_46f){_46b=_46b.concat(arr.map(_46f.rseg,function(v,i){return {x:ht(i+_46f.index+1)+_465.l,y:dim.height-_465.b-vt(v),data:v};},this));}}}var _470=this.opt.tension?dc.curve(_46b,this.opt.tension):"";if(this.opt.areas&&_46b.length>1){var fill=this._plotFill(_46a.series.fill,dim,_465),_471=lang.clone(_46b);if(this.opt.tension){var _472="L"+_471[_471.length-1].x+","+(dim.height-_465.b)+" L"+_471[0].x+","+(dim.height-_465.b)+" L"+_471[0].x+","+_471[0].y;run.dyn.fill=s.createPath(_470+" "+_472).setFill(fill).getFill();}else{_471.push({x:_46b[_46b.length-1].x,y:dim.height-_465.b});_471.push({x:_46b[0].x,y:dim.height-_465.b});_471.push(_46b[0]);run.dyn.fill=s.createPolyline(_471).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_466=_46a.series.stroke;if(_46a.series.outline){_467=run.dyn.outline=dc.makeStroke(_46a.series.outline);_467.width=2*_467.width+_466.width;}}if(this.opt.markers){run.dyn.marker=_46a.symbol;}var _473=null,_474=null,_475=null;if(_466&&_46a.series.shadow&&_46b.length>1){var _476=_46a.series.shadow,_477=arr.map(_46b,function(c){return {x:c.x+_476.dx,y:c.y+_476.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_477,this.opt.tension)).setStroke(_476).getStroke();}else{run.dyn.shadow=s.createPolyline(_477).setStroke(_476).getStroke();}}if(this.opt.markers&&_46a.marker.shadow){_476=_46a.marker.shadow;_475=arr.map(_477,function(c){return this.createPath(run,s,"M"+c.x+" "+c.y+" "+_46a.symbol).setStroke(_476).setFill(_476.color);},this);}}if(this.opt.lines&&_46b.length>1){if(_467){if(this.opt.tension){run.dyn.outline=s.createPath(_470).setStroke(_467).getStroke();}else{run.dyn.outline=s.createPolyline(_46b).setStroke(_467).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_470).setStroke(_466).getStroke();}else{run.dyn.stroke=s.createPolyline(_46b).setStroke(_466).getStroke();}}if(this.opt.markers){var _478=_46a;_473=new Array(_46b.length);_474=new Array(_46b.length);_467=null;if(_478.marker.outline){_467=dc.makeStroke(_478.marker.outline);_467.width=2*_467.width+(_478.marker.stroke?_478.marker.stroke.width:0);}arr.forEach(_46b,function(c,i){if(this.opt.styleFunc||typeof c.data!="number"){var _479=typeof c.data!="number"?[c.data]:[];if(this.opt.styleFunc){_479.push(this.opt.styleFunc(c.data));}_478=t.addMixin(_46a,"marker",_479,true);}else{_478=t.post(_46a,"marker");}var path="M"+c.x+" "+c.y+" "+_478.symbol;if(_467){_474[i]=this.createPath(run,s,path).setStroke(_467);}_473[i]=this.createPath(run,s,path).setStroke(_478.marker.stroke).setFill(_478.marker.fill);},this);run.dyn.markerFill=_478.marker.fill;run.dyn.markerStroke=_478.marker.stroke;if(_469){arr.forEach(_473,function(s,i){var o={element:"marker",index:i+_46f.index,run:run,shape:s,outline:_474[i]||null,shadow:_475&&_475[i]||null,cx:_46b[i].x,cy:_46b[i].y};if(_46d){o.x=i+_46f.index+1;o.y=_46f.rseg[i];}else{o.x=_46f.rseg[i].x;o.y=_46f.rseg[i].y;}this._connectEvents(o);_46c[i+_46f.index]=o;},this);}else{delete this._eventSeries[run.name];}}}run.dirty=false;}if(this.animate){var _47a=this.group;fx.animateTransform(lang.delegate({shape:_47a,duration:_45e,transform:[{name:"translate",start:[0,dim.height-_465.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play();}this.dirty=false;return this;}});});},"dojox/charting/plot2d/Base":function(){define("dojox/charting/plot2d/Base",["dojo/_base/declare","../Element","dojo/_base/array","./common"],function(_47b,_47c,arr,_47d){return _47b("dojox.charting.plot2d.Base",_47c,{constructor:function(_47e,_47f){},clear:function(){this.series=[];this.dirty=true;return this;},setAxis:function(axis){return this;},assignAxes:function(axes){arr.forEach(this.axes,function(axis){if(this[axis]){this.setAxis(axes[this[axis]]);}},this);},addSeries:function(run){this.series.push(run);return this;},getSeriesStats:function(){return _47d.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},initializeScalers:function(){return this;},isDataDirty:function(){return arr.some(this.series,function(item){return item.dirty;});},render:function(dim,_480){return this;},getRequiredColors:function(){return this.series.length;}});});},"dojox/charting/action2d/Tooltip":function(){define("dojox/charting/action2d/Tooltip",["dojo/_base/kernel","dijit/Tooltip","dojo/_base/lang","dojo/_base/declare","dojo/dom-style","./PlotAction","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(dojo,_481,lang,_482,_483,_484,m,df,dfs,dff){var _485=function(o){var t=o.run&&o.run.data&&o.run.data[o.index];if(t&&typeof t!="number"&&(t.tooltip||t.text)){return t.tooltip||t.text;}if(o.element=="candlestick"){return "<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\" style=\"font-size:0.9em;\">"+"<tr><td>Open:</td><td align=\"right\"><strong>"+o.data.open+"</strong></td></tr>"+"<tr><td>High:</td><td align=\"right\"><strong>"+o.data.high+"</strong></td></tr>"+"<tr><td>Low:</td><td align=\"right\"><strong>"+o.data.low+"</strong></td></tr>"+"<tr><td>Close:</td><td align=\"right\"><strong>"+o.data.close+"</strong></td></tr>"+(o.data.mid!==undefined?"<tr><td>Mid:</td><td align=\"right\"><strong>"+o.data.mid+"</strong></td></tr>":"")+"</table>";}return o.element=="bar"?o.x:o.y;};var pi4=Math.PI/4,pi2=Math.PI/2;return _482("dojox.charting.action2d.Tooltip",_484,{defaultParams:{text:_485},optionalParams:{},constructor:function(_486,plot,_487){this.text=_487&&_487.text?_487.text:_485;this.connect();},process:function(o){if(o.type==="onplotreset"||o.type==="onmouseout"){_481.hide(this.aroundRect);this.aroundRect=null;if(o.type==="onplotreset"){delete this.angles;}return;}if(!o.shape||o.type!=="onmouseover"){return;}var _488={type:"rect"},_489=["after-centered","before-centered"];switch(o.element){case "marker":_488.x=o.cx;_488.y=o.cy;_488.w=_488.h=1;break;case "circle":_488.x=o.cx-o.cr;_488.y=o.cy-o.cr;_488.w=_488.h=2*o.cr;break;case "spider_circle":_488.x=o.cx;_488.y=o.cy;_488.w=_488.h=1;break;case "spider_plot":return;case "column":_489=["above-centered","below-centered"];case "bar":_488=lang.clone(o.shape.getShape());_488.w=_488.width;_488.h=_488.height;break;case "candlestick":_488.x=o.x;_488.y=o.y;_488.w=o.width;_488.h=o.height;break;default:if(!this.angles){if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _48a=m._degToRad(o.plot.opt.startAngle),_48b=(this.angles[o.index]+this.angles[o.index+1])/2+_48a;_488.x=o.cx+o.cr*Math.cos(_48b);_488.y=o.cy+o.cr*Math.sin(_48b);_488.w=_488.h=1;if(_48a&&(_48b<0||_48b>2*Math.PI)){_48b=Math.abs(2*Math.PI-Math.abs(_48b));}if(_48b<pi4){}else{if(_48b<pi2+pi4){_489=["below-centered","above-centered"];}else{if(_48b<Math.PI+pi4){_489=["before-centered","after-centered"];}else{if(_48b<2*Math.PI-pi4){_489=["above-centered","below-centered"];}}}}break;}var lt=this.chart.getCoords();_488.x+=lt.x;_488.y+=lt.y;_488.x=Math.round(_488.x);_488.y=Math.round(_488.y);_488.w=Math.ceil(_488.w);_488.h=Math.ceil(_488.h);this.aroundRect=_488;var _48c=this.text(o);if(this.chart.getTextDir){var _48d=(_483.get(this.chart.node,"direction")=="rtl");var _48e=(this.chart.getTextDir(_48c)=="rtl");}if(_48c){if(_48e&&!_48d){_481.show("<span dir = 'rtl'>"+_48c+"</span>",this.aroundRect,_489);}else{if(!_48e&&_48d){_481.show("<span dir = 'ltr'>"+_48c+"</span>",this.aroundRect,_489);}else{_481.show(_48c,this.aroundRect,_489);}}}}});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojox/gfx":function(){require({cache:{"dojox/gfx/_base":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],function(_48f,lang,_490,has,win,arr,dom,_491,_492){var g=lang.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(node,_493){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_493+" ")>=0;};g._addClass=function(node,_494){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_494+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_494);}};g._removeClass=function(node,_495){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_495+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _496={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};var p,_497;if(has("ie")){_497=win.doc.documentElement.style.fontSize||"";if(!_497){win.doc.documentElement.style.fontSize="100%";}}var div=_491.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},win.body());for(p in _496){div.style.fontSize=p;_496[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}if(has("ie")){win.doc.documentElement.style.fontSize=_497;}win.body().removeChild(div);return _496;};var _498=null;b._getCachedFontMeasurements=function(_499){if(_499||!_498){_498=b._getFontMeasurements();}return _498;};var _49a=null,_49b={};b._getTextBox=function(text,_49c,_49d){var m,s,al=arguments.length;var i;if(!_49a){_49a=_491.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_49a;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_49c){for(i in _49c){if(i in _49b){continue;}s[i]=_49c[i];}}if(al>2&&_49d){m.className=_49d;}m.innerHTML=text;if(m["getBoundingClientRect"]){var bcr=m.getBoundingClientRect();return {l:bcr.left,t:bcr.top,w:bcr.width||(bcr.right-bcr.left),h:bcr.height||(bcr.bottom-bcr.top)};}else{return _492.getMarginBox(m);}};var _49e=0;b._getUniqueId=function(){var id;do{id=_48f._scopeName+"xUnique"+(++_49e);}while(dom.byId(id));return id;};lang.mixin(g,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:(function(){var _49f={};return function(type){var t=_49f[type];if(t){return new t();}t=_49f[type]=new Function();t.prototype=g["default"+type];return new t();};})(),normalizeColor:function(_4a0){return (_4a0 instanceof _490)?_4a0:new _490(_4a0);},normalizeParameters:function(_4a1,_4a2){var x;if(_4a2){var _4a3={};for(x in _4a1){if(x in _4a2&&!(x in _4a3)){_4a1[x]=_4a2[x];}}}return _4a1;},makeParameters:function(_4a4,_4a5){var i=null;if(!_4a5){return lang.delegate(_4a4);}var _4a6={};for(i in _4a4){if(!(i in _4a6)){_4a6[i]=lang.clone((i in _4a5)?_4a5[i]:_4a4[i]);}}return _4a6;},formatNumber:function(x,_4a7){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _4a8=val.indexOf(".");if(_4a8>=0&&val.length-_4a8>5){val=x.toFixed(4);}}if(x<0){return val;}return _4a7?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=g.getDefault("Font");var t=str.split(/\s+/);do{if(t.length<5){break;}font.style=t[0];font.variant=t[1];font.weight=t[2];var i=t[3].indexOf("/");font.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;}else{if(t[4].charAt(0)=="/"){j=5;}}}if(j<t.length){font.family=t.slice(j).join(" ");}}while(false);return font;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return g._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*g.px_in_pt();},px2pt:function(len){return len/g.px_in_pt();},normalizedLength:function(len){if(len.length===0){return 0;}if(len.length>2){var _4a9=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_4a9;case "in":return val*72*_4a9;case "pc":return val*12*_4a9;case "mm":return val*g.mm_in_pt*_4a9;case "cm":return val*g.cm_in_pt*_4a9;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a===b;},switchTo:function(_4aa){var ns=typeof _4aa=="string"?g[_4aa]:_4aa;if(ns){arr.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],function(name){g[name]=ns[name];});}}});return g;});},"dojox/gfx/renderer":function(){define("dojox/gfx/renderer",["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(g,lang,has,win,_4ab){var _4ac=null;has.add("vml",function(_4ad,_4ae,_4af){_4af.innerHTML="<v:shape adj=\"1\"/>";var _4b0=("adj" in _4af.firstChild);_4af.innerHTML="";return _4b0;});return {load:function(id,_4b1,load){if(_4ac&&id!="force"){load(_4ac);return;}var _4b2=_4ab.forceGfxRenderer,_4b3=!_4b2&&(lang.isString(_4ab.gfxRenderer)?_4ab.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_4b4,_4b5;while(!_4b2&&_4b3.length){switch(_4b3.shift()){case "svg":if("SVGAngle" in win.global){_4b2="svg";}break;case "vml":if(has("vml")){_4b2="vml";}break;case "silverlight":try{if(has("ie")){_4b4=new ActiveXObject("AgControl.AgControl");if(_4b4&&_4b4.IsVersionSupported("1.0")){_4b5=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_4b5=true;}}}catch(e){_4b5=false;}finally{_4b4=null;}if(_4b5){_4b2="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_4b2="canvas";}break;}}if(_4b2==="canvas"&&_4ab.canvasEvents!==false){_4b2="canvasWithEvents";}if(_4ab.isDebug){}function _4b6(){_4b1(["dojox/gfx/"+_4b2],function(_4b7){g.renderer=_4b2;_4ac=_4b7;load(_4b7);});};if(_4b2=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_4b6);}else{_4b6();}}};});}}});define("dojox/gfx",["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(lang,_4b8,_4b9){_4b8.switchTo(_4b9);return _4b8;});},"dojox/gfx/shape":function(){define("dojox/gfx/shape",["./_base","dojo/_base/lang","dojo/_base/declare","dojo/_base/kernel","dojo/_base/sniff","dojo/_base/connect","dojo/_base/array","dojo/dom-construct","dojo/_base/Color","./matrix"],function(g,lang,_4ba,_4bb,has,_4bc,arr,_4bd,_4be,_4bf){var _4c0=g.shape={};var _4c1={};var _4c2={};var _4c3=0,_4c4=has("ie")<9;function _4c5(_4c6){var _4c7={};for(var key in _4c6){if(_4c6.hasOwnProperty(key)){_4c7[key]=_4c6[key];}}return _4c7;};_4c0.register=function(s){var t=s.declaredClass.split(".").pop();var i=t in _4c1?++_4c1[t]:((_4c1[t]=0));var uid=t+i;_4c2[uid]=s;return uid;};_4c0.byId=function(id){return _4c2[id];};_4c0.dispose=function(s,_4c8){if(_4c8&&s.children){for(var i=0;i<s.children.length;++i){_4c0.dispose(s.children[i],true);}}delete _4c2[s.getUID()];++_4c3;if(_4c4&&_4c3>10000){_4c2=_4c5(_4c2);_4c3=0;}};_4c0.Shape=_4ba("dojox.gfx.shape.Shape",null,{constructor:function(){this.rawNode=null;this.shape=null;this.matrix=null;this.fillStyle=null;this.strokeStyle=null;this.bbox=null;this.parent=null;this.parentMatrix=null;var uid=_4c0.register(this);this.getUID=function(){return uid;};},destroy:function(){_4c0.dispose(this);},getNode:function(){return this.rawNode;},getShape:function(){return this.shape;},getTransform:function(){return this.matrix;},getFill:function(){return this.fillStyle;},getStroke:function(){return this.strokeStyle;},getParent:function(){return this.parent;},getBoundingBox:function(){return this.bbox;},getTransformedBoundingBox:function(){var b=this.getBoundingBox();if(!b){return null;}var m=this._getRealMatrix(),gm=_4bf;return [gm.multiplyPoint(m,b.x,b.y),gm.multiplyPoint(m,b.x+b.width,b.y),gm.multiplyPoint(m,b.x+b.width,b.y+b.height),gm.multiplyPoint(m,b.x,b.y+b.height)];},getEventSource:function(){return this.rawNode;},setClip:function(clip){this.clip=clip;},getClip:function(){return this.clip;},setShape:function(_4c9){this.shape=g.makeParameters(this.shape,_4c9);this.bbox=null;return this;},setFill:function(fill){if(!fill){this.fillStyle=null;return this;}var f=null;if(typeof (fill)=="object"&&"type" in fill){switch(fill.type){case "linear":f=g.makeParameters(g.defaultLinearGradient,fill);break;case "radial":f=g.makeParameters(g.defaultRadialGradient,fill);break;case "pattern":f=g.makeParameters(g.defaultPattern,fill);break;}}else{f=g.normalizeColor(fill);}this.fillStyle=f;return this;},setStroke:function(_4ca){if(!_4ca){this.strokeStyle=null;return this;}if(typeof _4ca=="string"||lang.isArray(_4ca)||_4ca instanceof _4be){_4ca={color:_4ca};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_4ca);s.color=g.normalizeColor(s.color);return this;},setTransform:function(_4cb){this.matrix=_4bf.clone(_4cb?_4bf.normalize(_4cb):_4bf.identity);return this._applyTransform();},_applyTransform:function(){return this;},moveToFront:function(){var p=this.getParent();if(p){p._moveChildToFront(this);this._moveToFront();}return this;},moveToBack:function(){var p=this.getParent();if(p){p._moveChildToBack(this);this._moveToBack();}return this;},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(_4cc){return _4cc?this.setTransform([this.matrix,_4cc]):this;},applyLeftTransform:function(_4cd){return _4cd?this.setTransform([_4cd,this.matrix]):this;},applyTransform:function(_4ce){return _4ce?this.setTransform([this.matrix,_4ce]):this;},removeShape:function(_4cf){if(this.parent){this.parent.remove(this,_4cf);}return this;},_setParent:function(_4d0,_4d1){this.parent=_4d0;return this._updateParentMatrix(_4d1);},_updateParentMatrix:function(_4d2){this.parentMatrix=_4d2?_4bf.clone(_4d2):null;return this._applyTransform();},_getRealMatrix:function(){var m=this.matrix;var p=this.parent;while(p){if(p.matrix){m=_4bf.multiply(p.matrix,m);}p=p.parent;}return m;}});_4c0._eventsProcessing={connect:function(name,_4d3,_4d4){return _4bc.connect(this.getEventSource(),name,_4c0.fixCallback(this,g.fixTarget,_4d3,_4d4));},disconnect:function(_4d5){_4bc.disconnect(_4d5);}};_4c0.fixCallback=function(_4d6,_4d7,_4d8,_4d9){if(!_4d9){_4d9=_4d8;_4d8=null;}if(lang.isString(_4d9)){_4d8=_4d8||_4bb.global;if(!_4d8[_4d9]){throw (["dojox.gfx.shape.fixCallback: scope[\"",_4d9,"\"] is null (scope=\"",_4d8,"\")"].join(""));}return function(e){return _4d7(e,_4d6)?_4d8[_4d9].apply(_4d8,arguments||[]):undefined;};}return !_4d8?function(e){return _4d7(e,_4d6)?_4d9.apply(_4d8,arguments):undefined;}:function(e){return _4d7(e,_4d6)?_4d9.apply(_4d8,arguments||[]):undefined;};};lang.extend(_4c0.Shape,_4c0._eventsProcessing);_4c0.Container={_init:function(){this.children=[];},openBatch:function(){},closeBatch:function(){},add:function(_4da){var _4db=_4da.getParent();if(_4db){_4db.remove(_4da,true);}this.children.push(_4da);return _4da._setParent(this,this._getRealMatrix());},remove:function(_4dc,_4dd){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4dc){if(_4dd){}else{_4dc.parent=null;_4dc.parentMatrix=null;}this.children.splice(i,1);break;}}return this;},clear:function(_4de){var _4df;for(var i=0;i<this.children.length;++i){_4df=this.children[i];_4df.parent=null;_4df.parentMatrix=null;if(_4de){_4df.destroy();}}this.children=[];return this;},getBoundingBox:function(){if(this.children){var _4e0=null;arr.forEach(this.children,function(_4e1){var bb=_4e1.getBoundingBox();if(bb){var ct=_4e1.getTransform();if(ct){bb=_4bf.multiplyRectangle(ct,bb);}if(_4e0){_4e0.x=Math.min(_4e0.x,bb.x);_4e0.y=Math.min(_4e0.y,bb.y);_4e0.endX=Math.max(_4e0.endX,bb.x+bb.width);_4e0.endY=Math.max(_4e0.endY,bb.y+bb.height);}else{_4e0={x:bb.x,y:bb.y,endX:bb.x+bb.width,endY:bb.y+bb.height};}}});if(_4e0){_4e0.width=_4e0.endX-_4e0.x;_4e0.height=_4e0.endY-_4e0.y;}return _4e0;}return null;},_moveChildToFront:function(_4e2){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4e2){this.children.splice(i,1);this.children.push(_4e2);break;}}return this;},_moveChildToBack:function(_4e3){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4e3){this.children.splice(i,1);this.children.unshift(_4e3);break;}}return this;}};_4c0.Surface=_4ba("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null;this._parent=null;this._nodes=[];this._events=[];},destroy:function(){arr.forEach(this._nodes,_4bd.destroy);this._nodes=[];arr.forEach(this._events,_4bc.disconnect);this._events=[];this.rawNode=null;if(has("ie")){while(this._parent.lastChild){_4bd.destroy(this._parent.lastChild);}}else{this._parent.innerHTML="";}this._parent=null;},getEventSource:function(){return this.rawNode;},_getRealMatrix:function(){return null;},isLoaded:true,onLoad:function(_4e4){},whenLoaded:function(_4e5,_4e6){var f=lang.hitch(_4e5,_4e6);if(this.isLoaded){f(this);}else{var h=_4bc.connect(this,"onLoad",function(_4e7){_4bc.disconnect(h);f(_4e7);});}}});lang.extend(_4c0.Surface,_4c0._eventsProcessing);_4c0.Rect=_4ba("dojox.gfx.shape.Rect",_4c0.Shape,{constructor:function(_4e8){this.shape=g.getDefault("Rect");this.rawNode=_4e8;},getBoundingBox:function(){return this.shape;}});_4c0.Ellipse=_4ba("dojox.gfx.shape.Ellipse",_4c0.Shape,{constructor:function(_4e9){this.shape=g.getDefault("Ellipse");this.rawNode=_4e9;},getBoundingBox:function(){if(!this.bbox){var _4ea=this.shape;this.bbox={x:_4ea.cx-_4ea.rx,y:_4ea.cy-_4ea.ry,width:2*_4ea.rx,height:2*_4ea.ry};}return this.bbox;}});_4c0.Circle=_4ba("dojox.gfx.shape.Circle",_4c0.Shape,{constructor:function(_4eb){this.shape=g.getDefault("Circle");this.rawNode=_4eb;},getBoundingBox:function(){if(!this.bbox){var _4ec=this.shape;this.bbox={x:_4ec.cx-_4ec.r,y:_4ec.cy-_4ec.r,width:2*_4ec.r,height:2*_4ec.r};}return this.bbox;}});_4c0.Line=_4ba("dojox.gfx.shape.Line",_4c0.Shape,{constructor:function(_4ed){this.shape=g.getDefault("Line");this.rawNode=_4ed;},getBoundingBox:function(){if(!this.bbox){var _4ee=this.shape;this.bbox={x:Math.min(_4ee.x1,_4ee.x2),y:Math.min(_4ee.y1,_4ee.y2),width:Math.abs(_4ee.x2-_4ee.x1),height:Math.abs(_4ee.y2-_4ee.y1)};}return this.bbox;}});_4c0.Polyline=_4ba("dojox.gfx.shape.Polyline",_4c0.Shape,{constructor:function(_4ef){this.shape=g.getDefault("Polyline");this.rawNode=_4ef;},setShape:function(_4f0,_4f1){if(_4f0&&_4f0 instanceof Array){this.inherited(arguments,[{points:_4f0}]);if(_4f1&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.inherited(arguments,[_4f0]);}return this;},_normalizePoints:function(){var p=this.shape.points,l=p&&p.length;if(l&&typeof p[0]=="number"){var _4f2=[];for(var i=0;i<l;i+=2){_4f2.push({x:p[i],y:p[i+1]});}this.shape.points=_4f2;}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){var p=this.shape.points;var l=p.length;var t=p[0];var bbox={l:t.x,t:t.y,r:t.x,b:t.y};for(var i=1;i<l;++i){t=p[i];if(bbox.l>t.x){bbox.l=t.x;}if(bbox.r<t.x){bbox.r=t.x;}if(bbox.t>t.y){bbox.t=t.y;}if(bbox.b<t.y){bbox.b=t.y;}}this.bbox={x:bbox.l,y:bbox.t,width:bbox.r-bbox.l,height:bbox.b-bbox.t};}return this.bbox;}});_4c0.Image=_4ba("dojox.gfx.shape.Image",_4c0.Shape,{constructor:function(_4f3){this.shape=g.getDefault("Image");this.rawNode=_4f3;},getBoundingBox:function(){return this.shape;},setStroke:function(){return this;},setFill:function(){return this;}});_4c0.Text=_4ba(_4c0.Shape,{constructor:function(_4f4){this.fontStyle=null;this.shape=g.getDefault("Text");this.rawNode=_4f4;},getFont:function(){return this.fontStyle;},setFont:function(_4f5){this.fontStyle=typeof _4f5=="string"?g.splitFontString(_4f5):g.makeParameters(g.defaultFont,_4f5);this._setFont();return this;}});_4c0.Creator={createShape:function(_4f6){switch(_4f6.type){case g.defaultPath.type:return this.createPath(_4f6);case g.defaultRect.type:return this.createRect(_4f6);case g.defaultCircle.type:return this.createCircle(_4f6);case g.defaultEllipse.type:return this.createEllipse(_4f6);case g.defaultLine.type:return this.createLine(_4f6);case g.defaultPolyline.type:return this.createPolyline(_4f6);case g.defaultImage.type:return this.createImage(_4f6);case g.defaultText.type:return this.createText(_4f6);case g.defaultTextPath.type:return this.createTextPath(_4f6);}return null;},createGroup:function(){return this.createObject(g.Group);},createRect:function(rect){return this.createObject(g.Rect,rect);},createEllipse:function(_4f7){return this.createObject(g.Ellipse,_4f7);},createCircle:function(_4f8){return this.createObject(g.Circle,_4f8);},createLine:function(line){return this.createObject(g.Line,line);},createPolyline:function(_4f9){return this.createObject(g.Polyline,_4f9);},createImage:function(_4fa){return this.createObject(g.Image,_4fa);},createText:function(text){return this.createObject(g.Text,text);},createPath:function(path){return this.createObject(g.Path,path);},createTextPath:function(text){return this.createObject(g.TextPath,{}).setText(text);},createObject:function(_4fb,_4fc){return null;}};return _4c0;});},"dojox/charting/Chart2D":function(){define("dojox/charting/Chart2D",["dojo/_base/kernel","dojo/_base/lang","..","./Chart","./axis2d/Default","./axis2d/Invisible","./plot2d/Default","./plot2d/Lines","./plot2d/Areas","./plot2d/Markers","./plot2d/MarkersOnly","./plot2d/Scatter","./plot2d/Stacked","./plot2d/StackedLines","./plot2d/StackedAreas","./plot2d/Columns","./plot2d/StackedColumns","./plot2d/ClusteredColumns","./plot2d/Bars","./plot2d/StackedBars","./plot2d/ClusteredBars","./plot2d/Grid","./plot2d/Pie","./plot2d/Bubble","./plot2d/Candlesticks","./plot2d/OHLC","./plot2d/Spider"],function(_4fd,lang,_4fe,_4ff){_4fd.deprecated("dojox.charting.Chart2D","Use dojox.charting.Chart instead and require all other components explicitly","2.0");return lang.setObject("dojox.charting.Chart2D",_4ff);});},"dojox/charting/scaler/linear":function(){define(["dojo/_base/lang","./common"],function(lang,_500){var _501=lang.getObject("dojox.charting.scaler.linear",true);var _502=3,_503=_500.getNumericLabel;function _504(val,text){val=val.toLowerCase();for(var i=text.length-1;i>=0;--i){if(val===text[i]){return true;}}return false;};var _505=function(min,max,_506,_507,_508,_509,span){_506=lang.delegate(_506);if(!_507){if(_506.fixUpper=="major"){_506.fixUpper="minor";}if(_506.fixLower=="major"){_506.fixLower="minor";}}if(!_508){if(_506.fixUpper=="minor"){_506.fixUpper="micro";}if(_506.fixLower=="minor"){_506.fixLower="micro";}}if(!_509){if(_506.fixUpper=="micro"){_506.fixUpper="none";}if(_506.fixLower=="micro"){_506.fixLower="none";}}var _50a=_504(_506.fixLower,["major"])?Math.floor(_506.min/_507)*_507:_504(_506.fixLower,["minor"])?Math.floor(_506.min/_508)*_508:_504(_506.fixLower,["micro"])?Math.floor(_506.min/_509)*_509:_506.min,_50b=_504(_506.fixUpper,["major"])?Math.ceil(_506.max/_507)*_507:_504(_506.fixUpper,["minor"])?Math.ceil(_506.max/_508)*_508:_504(_506.fixUpper,["micro"])?Math.ceil(_506.max/_509)*_509:_506.max;if(_506.useMin){min=_50a;}if(_506.useMax){max=_50b;}var _50c=(!_507||_506.useMin&&_504(_506.fixLower,["major"]))?min:Math.ceil(min/_507)*_507,_50d=(!_508||_506.useMin&&_504(_506.fixLower,["major","minor"]))?min:Math.ceil(min/_508)*_508,_50e=(!_509||_506.useMin&&_504(_506.fixLower,["major","minor","micro"]))?min:Math.ceil(min/_509)*_509,_50f=!_507?0:(_506.useMax&&_504(_506.fixUpper,["major"])?Math.round((max-_50c)/_507):Math.floor((max-_50c)/_507))+1,_510=!_508?0:(_506.useMax&&_504(_506.fixUpper,["major","minor"])?Math.round((max-_50d)/_508):Math.floor((max-_50d)/_508))+1,_511=!_509?0:(_506.useMax&&_504(_506.fixUpper,["major","minor","micro"])?Math.round((max-_50e)/_509):Math.floor((max-_50e)/_509))+1,_512=_508?Math.round(_507/_508):0,_513=_509?Math.round(_508/_509):0,_514=_507?Math.floor(Math.log(_507)/Math.LN10):0,_515=_508?Math.floor(Math.log(_508)/Math.LN10):0,_516=span/(max-min);if(!isFinite(_516)){_516=1;}return {bounds:{lower:_50a,upper:_50b,from:min,to:max,scale:_516,span:span},major:{tick:_507,start:_50c,count:_50f,prec:_514},minor:{tick:_508,start:_50d,count:_510,prec:_515},micro:{tick:_509,start:_50e,count:_511,prec:0},minorPerMajor:_512,microPerMinor:_513,scaler:_501};};return lang.mixin(_501,{buildScaler:function(min,max,span,_517,_518,_519){var h={fixUpper:"none",fixLower:"none",natural:false};if(_517){if("fixUpper" in _517){h.fixUpper=String(_517.fixUpper);}if("fixLower" in _517){h.fixLower=String(_517.fixLower);}if("natural" in _517){h.natural=Boolean(_517.natural);}}_519=!_519||_519<_502?_502:_519;if("min" in _517){min=_517.min;}if("max" in _517){max=_517.max;}if(_517.includeZero){if(min>0){min=0;}if(max<0){max=0;}}h.min=min;h.useMin=true;h.max=max;h.useMax=true;if("from" in _517){min=_517.from;h.useMin=false;}if("to" in _517){max=_517.to;h.useMax=false;}if(max<=min){return _505(min,max,h,0,0,0,span);}if(!_518){_518=max-min;}var mag=Math.floor(Math.log(_518)/Math.LN10),_51a=_517&&("majorTickStep" in _517)?_517.majorTickStep:Math.pow(10,mag),_51b=0,_51c=0,_51d;if(_517&&("minorTickStep" in _517)){_51b=_517.minorTickStep;}else{do{_51b=_51a/10;if(!h.natural||_51b>0.9){_51d=_505(min,max,h,_51a,_51b,0,span);if(_51d.bounds.scale*_51d.minor.tick>_519){break;}}_51b=_51a/5;if(!h.natural||_51b>0.9){_51d=_505(min,max,h,_51a,_51b,0,span);if(_51d.bounds.scale*_51d.minor.tick>_519){break;}}_51b=_51a/2;if(!h.natural||_51b>0.9){_51d=_505(min,max,h,_51a,_51b,0,span);if(_51d.bounds.scale*_51d.minor.tick>_519){break;}}return _505(min,max,h,_51a,0,0,span);}while(false);}if(_517&&("microTickStep" in _517)){_51c=_517.microTickStep;_51d=_505(min,max,h,_51a,_51b,_51c,span);}else{do{_51c=_51b/10;if(!h.natural||_51c>0.9){_51d=_505(min,max,h,_51a,_51b,_51c,span);if(_51d.bounds.scale*_51d.micro.tick>_502){break;}}_51c=_51b/5;if(!h.natural||_51c>0.9){_51d=_505(min,max,h,_51a,_51b,_51c,span);if(_51d.bounds.scale*_51d.micro.tick>_502){break;}}_51c=_51b/2;if(!h.natural||_51c>0.9){_51d=_505(min,max,h,_51a,_51b,_51c,span);if(_51d.bounds.scale*_51d.micro.tick>_502){break;}}_51c=0;}while(false);}return _51c?_51d:_505(min,max,h,_51a,_51b,0,span);},buildTicks:function(_51e,_51f){var step,next,tick,_520=_51e.major.start,_521=_51e.minor.start,_522=_51e.micro.start;if(_51f.microTicks&&_51e.micro.tick){step=_51e.micro.tick,next=_522;}else{if(_51f.minorTicks&&_51e.minor.tick){step=_51e.minor.tick,next=_521;}else{if(_51e.major.tick){step=_51e.major.tick,next=_520;}else{return null;}}}var _523=1/_51e.bounds.scale;if(_51e.bounds.to<=_51e.bounds.from||isNaN(_523)||!isFinite(_523)||step<=0||isNaN(step)||!isFinite(step)){return null;}var _524=[],_525=[],_526=[];while(next<=_51e.bounds.to+_523){if(Math.abs(_520-next)<step/2){tick={value:_520};if(_51f.majorLabels){tick.label=_503(_520,_51e.major.prec,_51f);}_524.push(tick);_520+=_51e.major.tick;_521+=_51e.minor.tick;_522+=_51e.micro.tick;}else{if(Math.abs(_521-next)<step/2){if(_51f.minorTicks){tick={value:_521};if(_51f.minorLabels&&(_51e.minMinorStep<=_51e.minor.tick*_51e.bounds.scale)){tick.label=_503(_521,_51e.minor.prec,_51f);}_525.push(tick);}_521+=_51e.minor.tick;_522+=_51e.micro.tick;}else{if(_51f.microTicks){_526.push({value:_522});}_522+=_51e.micro.tick;}}next+=step;}return {major:_524,minor:_525,micro:_526};},getTransformerFromModel:function(_527){var _528=_527.bounds.from,_529=_527.bounds.scale;return function(x){return (x-_528)*_529;};},getTransformerFromPlot:function(_52a){var _52b=_52a.bounds.from,_52c=_52a.bounds.scale;return function(x){return x/_52c+_52b;};}});});},"dojox/gfx/renderer":function(){define("dojox/gfx/renderer",["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(g,lang,has,win,_52d){var _52e=null;has.add("vml",function(_52f,_530,_531){_531.innerHTML="<v:shape adj=\"1\"/>";var _532=("adj" in _531.firstChild);_531.innerHTML="";return _532;});return {load:function(id,_533,load){if(_52e&&id!="force"){load(_52e);return;}var _534=_52d.forceGfxRenderer,_535=!_534&&(lang.isString(_52d.gfxRenderer)?_52d.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_536,_537;while(!_534&&_535.length){switch(_535.shift()){case "svg":if("SVGAngle" in win.global){_534="svg";}break;case "vml":if(has("vml")){_534="vml";}break;case "silverlight":try{if(has("ie")){_536=new ActiveXObject("AgControl.AgControl");if(_536&&_536.IsVersionSupported("1.0")){_537=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_537=true;}}}catch(e){_537=false;}finally{_536=null;}if(_537){_534="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_534="canvas";}break;}}if(_534==="canvas"&&_52d.canvasEvents!==false){_534="canvasWithEvents";}if(_52d.isDebug){}function _538(){_533(["dojox/gfx/"+_534],function(_539){g.renderer=_534;_52e=_539;load(_539);});};if(_534=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_538);}else{_538();}}};});},"dojox/lang/functional":function(){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],function(df){return df;});},"dojox/charting/widget/Chart":function(){define("dojox/charting/widget/Chart",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/dom-attr","dojo/_base/declare","dojo/query","dijit/_WidgetBase","../Chart","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/lambda"],function(_53a,lang,arr,_53b,_53c,_53d,_53e,_53f,du,df,dfl){var _540,_541,_542,_543,_544,_545=function(o){return o;},dc=lang.getObject("dojox.charting");_540=function(node,type,kw){var dp=eval("("+type+".prototype.defaultParams)");var x,attr;for(x in dp){if(x in kw){continue;}attr=node.getAttribute(x);kw[x]=du.coerceType(dp[x],attr==null||typeof attr=="undefined"?dp[x]:attr);}var op=eval("("+type+".prototype.optionalParams)");for(x in op){if(x in kw){continue;}attr=node.getAttribute(x);if(attr!=null){kw[x]=du.coerceType(op[x],attr);}}};_541=function(node){var name=node.getAttribute("name"),type=node.getAttribute("type");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.axis2d[type]){type=_53a._scopeName+"x.charting.axis2d."+type;}var axis=eval("("+type+")");if(axis){kw.type=axis;}}else{type=_53a._scopeName+"x.charting.axis2d.Default";}_540(node,type,kw);if(kw.font||kw.fontColor){if(!kw.tick){kw.tick={};}if(kw.font){kw.tick.font=kw.font;}if(kw.fontColor){kw.tick.fontColor=kw.fontColor;}}return o;};_542=function(node){var name=node.getAttribute("name"),type=node.getAttribute("type");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.plot2d&&dc.plot2d[type]){type=_53a._scopeName+"x.charting.plot2d."+type;}var plot=eval("("+type+")");if(plot){kw.type=plot;}}else{type=_53a._scopeName+"x.charting.plot2d.Default";}_540(node,type,kw);return o;};_543=function(node){var plot=node.getAttribute("plot"),type=node.getAttribute("type");if(!plot){plot="default";}var o={plot:plot,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.action2d[type]){type=_53a._scopeName+"x.charting.action2d."+type;}var _546=eval("("+type+")");if(!_546){return null;}o.action=_546;}else{return null;}_540(node,type,kw);return o;};_544=function(node){var ga=lang.partial(_53b.get,node);var name=ga("name");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs,t;t=ga("plot");if(t!=null){kw.plot=t;}t=ga("marker");if(t!=null){kw.marker=t;}t=ga("stroke");if(t!=null){kw.stroke=eval("("+t+")");}t=ga("outline");if(t!=null){kw.outline=eval("("+t+")");}t=ga("shadow");if(t!=null){kw.shadow=eval("("+t+")");}t=ga("fill");if(t!=null){kw.fill=eval("("+t+")");}t=ga("font");if(t!=null){kw.font=t;}t=ga("fontColor");if(t!=null){kw.fontColor=eval("("+t+")");}t=ga("legend");if(t!=null){kw.legend=t;}t=ga("data");if(t!=null){o.type="data";o.data=t?arr.map(String(t).split(","),Number):[];return o;}t=ga("array");if(t!=null){o.type="data";o.data=eval("("+t+")");return o;}t=ga("store");if(t!=null){o.type="store";o.data=eval("("+t+")");t=ga("field");o.field=t!=null?t:"value";t=ga("query");if(!!t){kw.query=t;}t=ga("queryOptions");if(!!t){kw.queryOptions=eval("("+t+")");}t=ga("start");if(!!t){kw.start=Number(t);}t=ga("count");if(!!t){kw.count=Number(t);}t=ga("sort");if(!!t){kw.sort=eval("("+t+")");}t=ga("valueFn");if(!!t){kw.valueFn=dfl.lambda(t);}return o;}return null;};return _53c("dojox.charting.widget.Chart",_53e,{theme:null,margins:null,stroke:undefined,fill:undefined,buildRendering:function(){this.inherited(arguments);n=this.domNode;var axes=_53d("> .axis",n).map(_541).filter(_545),_547=_53d("> .plot",n).map(_542).filter(_545),_548=_53d("> .action",n).map(_543).filter(_545),_549=_53d("> .series",n).map(_544).filter(_545);n.innerHTML="";var c=this.chart=new _53f(n,{margins:this.margins,stroke:this.stroke,fill:this.fill,textDir:this.textDir});if(this.theme){c.setTheme(this.theme);}axes.forEach(function(axis){c.addAxis(axis.name,axis.kwArgs);});_547.forEach(function(plot){c.addPlot(plot.name,plot.kwArgs);});this.actions=_548.map(function(_54a){return new _54a.action(c,_54a.plot,_54a.kwArgs);});var _54b=df.foldl(_549,function(_54c,_54d){if(_54d.type=="data"){c.addSeries(_54d.name,_54d.data,_54d.kwArgs);_54c=true;}else{c.addSeries(_54d.name,[0],_54d.kwArgs);var kw={};du.updateWithPattern(kw,_54d.kwArgs,{"query":"","queryOptions":null,"start":0,"count":1},true);if(_54d.kwArgs.sort){kw.sort=lang.clone(_54d.kwArgs.sort);}lang.mixin(kw,{onComplete:function(data){var _54e;if("valueFn" in _54d.kwArgs){var fn=_54d.kwArgs.valueFn;_54e=arr.map(data,function(x){return fn(_54d.data.getValue(x,_54d.field,0));});}else{_54e=arr.map(data,function(x){return _54d.data.getValue(x,_54d.field,0);});}c.addSeries(_54d.name,_54e,_54d.kwArgs).render();}});_54d.data.fetch(kw);}return _54c;},false);if(_54b){c.render();}},destroy:function(){this.chart.destroy();this.inherited(arguments);},resize:function(box){this.chart.resize(box);}});});},"dojox/charting/scaler/common":function(){define("dojox/charting/scaler/common",["dojo/_base/lang"],function(lang){var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};var _54f=lang.getObject("dojox.charting.scaler.common",true);var _550={};return lang.mixin(_54f,{doIfLoaded:function(_551,_552,_553){if(_550[_551]==undefined){try{_550[_551]=require(_551);}catch(e){_550[_551]=null;}}if(_550[_551]){return _552(_550[_551]);}else{return _553();}},getNumericLabel:function(_554,_555,_556){var def="";_54f.doIfLoaded("dojo/number",function(_557){def=(_556.fixed?_557.format(_554,{places:_555<0?-_555:0}):_557.format(_554))||"";},function(){def=_556.fixed?_554.toFixed(_555<0?-_555:0):_554.toString();});if(_556.labelFunc){var r=_556.labelFunc(def,_554,_555);if(r){return r;}}if(_556.labels){var l=_556.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_554){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_554)){return l[lo].text;}--lo;if(lo>=0&&lo<l.length&&eq(l[lo].value,_554)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_554)){return l[lo].text;}}return def;}});});},"dojox/charting/axis2d/common":function(){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojox/gfx"],function(lang,win,_558,g){var _559=lang.getObject("dojox.charting.axis2d.common",true);var _55a=function(s){s.marginLeft="0px";s.marginTop="0px";s.marginRight="0px";s.marginBottom="0px";s.paddingLeft="0px";s.paddingTop="0px";s.paddingRight="0px";s.paddingBottom="0px";s.borderLeftWidth="0px";s.borderTopWidth="0px";s.borderRightWidth="0px";s.borderBottomWidth="0px";};var _55b=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return _558.getMarginBox(n).w;}};return lang.mixin(_559,{createText:{gfx:function(_55c,_55d,x,y,_55e,text,font,_55f){return _55d.createText({x:x,y:y,text:text,align:_55e}).setFont(font).setFill(_55f);},html:function(_560,_561,x,y,_562,text,font,_563,_564){var p=win.doc.createElement("div"),s=p.style,_565;if(_560.getTextDir){p.dir=_560.getTextDir(text);}_55a(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_563;s.position="absolute";s.left="-10000px";win.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_564){_565=_55b(p);}if(p.dir=="rtl"){x+=_564?_564:_565;}win.body().removeChild(p);s.position="relative";if(_564){s.width=_564+"px";switch(_562){case "middle":s.textAlign="center";s.left=(x-_564/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_564)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_562){case "middle":s.left=Math.floor(x-_565/2)+"px";break;case "end":s.left=Math.floor(x-_565)+"px";break;default:s.left=Math.floor(x)+"px";break;}}s.top=Math.floor(y-size)+"px";s.whiteSpace="nowrap";var wrap=win.doc.createElement("div"),w=wrap.style;_55a(w);w.width="0px";w.height="0px";wrap.appendChild(p);_560.node.insertBefore(wrap,_560.node.firstChild);return wrap;}}});});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(lang,_566,_567,_568,_569,_56a,_56b,_56c,has,_56d){var _56e=_56b("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _56f=this.declaredClass,_570=this;return _568.substitute(tmpl,this,function(_571,key){if(key.charAt(0)=="!"){_571=lang.getObject(key.substr(1),false,_570);}if(typeof _571=="undefined"){throw new Error(_56f+" template:"+key);}if(_571==null){return "";}return key.charAt(0)=="!"?_571:_571.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_569(this.templatePath,{sanitize:true});}var _572=_56e.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_572)){node=_56c.toDom(this._stringRepl(_572),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_572);}}else{node=_572.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_573){var dest=this.containerNode;if(_573&&dest){while(_573.hasChildNodes()){dest.appendChild(_573.firstChild);}}},_attachTemplateNodes:function(_574,_575){var _576=lang.isArray(_574)?_574:(_574.all||_574.getElementsByTagName("*"));var x=lang.isArray(_574)?0:-1;for(;x<0||_576[x];x++){var _577=(x==-1)?_574:_576[x];if(this.widgetsInTemplate&&(_575(_577,"dojoType")||_575(_577,"data-dojo-type"))){continue;}var _578=_575(_577,"dojoAttachPoint")||_575(_577,"data-dojo-attach-point");if(_578){var _579,_57a=_578.split(/\s*,\s*/);while((_579=_57a.shift())){if(lang.isArray(this[_579])){this[_579].push(_577);}else{this[_579]=_577;}this._attachPoints.push(_579);}}var _57b=_575(_577,"dojoAttachEvent")||_575(_577,"data-dojo-attach-event");if(_57b){var _57c,_57d=_57b.split(/\s*,\s*/);var trim=lang.trim;while((_57c=_57d.shift())){if(_57c){var _57e=null;if(_57c.indexOf(":")!=-1){var _57f=_57c.split(":");_57c=trim(_57f[0]);_57e=trim(_57f[1]);}else{_57c=trim(_57c);}if(!_57e){_57e=_57c;}this._attachEvents.push(this.connect(_577,_566[_57c]||_57c,_57e));}}}}},destroyRendering:function(){_56a.forEach(this._attachPoints,function(_580){delete this[_580];},this);this._attachPoints=[];_56a.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_56e._templateCache={};_56e.getCachedTemplate=function(_581,_582,doc){var _583=_56e._templateCache;var key=_581;var _584=_583[key];if(_584){try{if(!_584.ownerDocument||_584.ownerDocument==(doc||document)){return _584;}}catch(e){}_56c.destroy(_584);}_581=_568.trim(_581);if(_582||_581.match(/\$\{([^\}]+)\}/g)){return (_583[key]=_581);}else{var node=_56c.toDom(_581,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_581);}return (_583[key]=node);}};if(has("ie")){_56d.addOnWindowUnload(function(){var _585=_56e._templateCache;for(var key in _585){var _586=_585[key];if(typeof _586=="object"){_56c.destroy(_586);}delete _585[key];}});}lang.extend(_567,{dojoAttachEvent:"",dojoAttachPoint:""});return _56e;});},"dojox/lang/functional/object":function(){define("dojox/lang/functional/object",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(_587,lang,df){var _588={};lang.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _588)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _588)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||_587.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _588)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||_587.global;f=df.lambda(f);for(var i in obj){if(!(i in _588)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||_587.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _588)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});return df;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_589,dom,geom,_58a,_58b){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_589.body(doc),_58c=_58b.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_58b.create("div",{style:{overflow:"hidden",direction:"ltr"}},_58c,"last"),ret=geom.position(div).x!=0;_58c.removeChild(div);body.removeChild(_58c);return ret;});has.add("position-fixed-support",function(win,doc){var body=_589.body(doc),_58d=_58b.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_58e=_58b.create("span",{style:{position:"fixed",left:"0",top:"0"}},_58d,"last"),ret=geom.position(_58e).x!=geom.position(_58d).x;_58d.removeChild(_58e);body.removeChild(_58d);return ret;});var _58f={getBox:function(doc){doc=doc||_589.doc;var _590=(doc.compatMode=="BackCompat")?_589.body(doc):doc.documentElement,_591=geom.docScroll(doc),w,h;if(has("touch")){var _592=_58f.get(doc);w=_592.innerWidth||_590.clientWidth;h=_592.innerHeight||_590.clientHeight;}else{w=_590.clientWidth;h=_590.clientHeight;}return {l:_591.x,t:_591.y,w:w,h:h};},get:function(doc){if(has("ie")&&_58f!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_589.doc,body=_589.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _593=doc.compatMode=="BackCompat",_594=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_595=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_596=(isWK||_593)?body:html,_597=pos||geom.position(node),el=node.parentNode,_598=function(el){return (isIE<=6||(isIE==7&&_593))?false:(has("position-fixed-support")&&(_58a.get(el,"position").toLowerCase()=="fixed"));},self=this,_599=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_598(node)){return;}while(el){if(el==body){el=_596;}var _59a=geom.position(el),_59b=_598(el),rtl=_58a.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_596){_59a.w=_594;_59a.h=_595;if(_596==html&&(isIE||has("trident"))&&rtl){_59a.x+=_596.offsetWidth-_59a.w;}if(_59a.x<0||!isIE||isIE>=9||has("trident")){_59a.x=0;}if(_59a.y<0||!isIE||isIE>=9||has("trident")){_59a.y=0;}}else{var pb=geom.getPadBorderExtents(el);_59a.w-=pb.w;_59a.h-=pb.h;_59a.x+=pb.l;_59a.y+=pb.t;var _59c=el.clientWidth,_59d=_59a.w-_59c;if(_59c>0&&_59d>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_59a.x+=_59d;}_59a.w=_59c;}_59c=el.clientHeight;_59d=_59a.h-_59c;if(_59c>0&&_59d>0){_59a.h=_59c;}}if(_59b){if(_59a.y<0){_59a.h+=_59a.y;_59a.y=0;}if(_59a.x<0){_59a.w+=_59a.x;_59a.x=0;}if(_59a.y+_59a.h>_595){_59a.h=_595-_59a.y;}if(_59a.x+_59a.w>_594){_59a.w=_594-_59a.x;}}var l=_597.x-_59a.x,t=_597.y-_59a.y,r=l+_597.w-_59a.w,bot=t+_597.h-_59a.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_596||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_593)||isIE>=9||has("trident"))){s=-s;}old=el.scrollLeft;_599(el,s,0);s=el.scrollLeft-old;_597.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_596||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_599(el,0,s);s=el.scrollTop-old;_597.y-=s;}el=(el!=_596)&&!_59b&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_58f);return _58f;});},"dojox/charting/axis2d/Default":function(){define("dojox/charting/axis2d/Default",["dojo/_base/lang","dojo/_base/array","dojo/_base/sniff","dojo/_base/declare","dojo/_base/connect","dojo/dom-geometry","./Invisible","../scaler/common","../scaler/linear","./common","dojox/gfx","dojox/lang/utils","dojox/lang/functional"],function(lang,arr,has,_59e,_59f,_5a0,_5a1,_5a2,lin,_5a3,g,du,df){var _5a4=45;return _59e("dojox.charting.axis2d.Default",_5a1,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true,majorLabels:true,minorTicks:true,minorLabels:true,microTicks:false,rotation:0,htmlLabels:true,enableCache:false,dropLabels:true,labelSizeChange:false},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1,labels:[],labelFunc:null,maxLabelSize:0,maxLabelCharCount:0,trailingSymbol:null,stroke:{},majorTick:{},minorTick:{},microTick:{},tick:{},font:"",fontColor:"",title:"",titleGap:0,titleFont:"",titleFontColor:"",titleOrientation:""},constructor:function(_5a5,_5a6){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_5a6);du.updateWithPattern(this.opt,_5a6,this.optionalParams);if(this.opt.enableCache){this._textFreePool=[];this._lineFreePool=[];this._textUsePool=[];this._lineUsePool=[];}this._invalidMaxLabelSize=true;},setWindow:function(_5a7,_5a8){if(_5a7!=this.scale){this._invalidMaxLabelSize=true;}return this.inherited(arguments);},_groupLabelWidth:function(_5a9,font,_5aa){if(!_5a9.length){return 0;}if(_5a9.length>50){_5a9.length=50;}if(lang.isObject(_5a9[0])){_5a9=df.map(_5a9,function(_5ab){return _5ab.text;});}if(_5aa){_5a9=df.map(_5a9,function(_5ac){return lang.trim(_5ac).length==0?"":_5ac.substring(0,_5aa)+this.trailingSymbol;},this);}var s=_5a9.join("<br>");return g._base._getTextBox(s,{font:font}).w||0;},_getMaxLabelSize:function(min,max,span,_5ad,font,size){if(this._maxLabelSize==null&&arguments.length==6){var o=this.opt;this.scaler.minMinorStep=this._prevMinMinorStep=0;var ob=lang.clone(o);delete ob.to;delete ob.from;var sb=lin.buildScaler(min,max,span,ob,o.to-o.from);sb.minMinorStep=0;this._majorStart=sb.major.start;var tb=lin.buildTicks(sb,o);if(size&&tb){var _5ae=0,_5af=0;var _5b0=function(tick){if(tick.label){this.push(tick.label);}};var _5b1=[];if(this.opt.majorLabels){arr.forEach(tb.major,_5b0,_5b1);_5ae=this._groupLabelWidth(_5b1,font,ob.maxLabelCharCount);if(ob.maxLabelSize){_5ae=Math.min(ob.maxLabelSize,_5ae);}}_5b1=[];if(this.opt.dropLabels&&this.opt.minorLabels){arr.forEach(tb.minor,_5b0,_5b1);_5af=this._groupLabelWidth(_5b1,font,ob.maxLabelCharCount);if(ob.maxLabelSize){_5af=Math.min(ob.maxLabelSize,_5af);}}this._maxLabelSize={majLabelW:_5ae,minLabelW:_5af,majLabelH:size,minLabelH:size};}else{this._maxLabelSize=null;}}return this._maxLabelSize;},calculate:function(min,max,span){this.inherited(arguments);this.scaler.minMinorStep=this._prevMinMinorStep;if((this._invalidMaxLabelSize||span!=this._oldSpan)&&(min!=Infinity&&max!=-Infinity)){this._invalidMaxLabelSize=false;if(this.opt.labelSizeChange){this._maxLabelSize=null;}this._oldSpan=span;var o=this.opt;var ta=this.chart.theme.axis,_5b2=o.rotation%360,_5b3=this.chart.theme.axis.tick.labelGap,font=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),size=font?g.normalizedLength(g.splitFontString(font).size):0,_5b4=this._getMaxLabelSize(min,max,span,_5b2,font,size);if(typeof _5b3!="number"){_5b3=4;}if(_5b4&&o.dropLabels){var cosr=Math.abs(Math.cos(_5b2*Math.PI/180)),sinr=Math.abs(Math.sin(_5b2*Math.PI/180));var _5b5,_5b6;if(_5b2<0){_5b2+=360;}switch(_5b2){case 0:case 180:if(this.vertical){_5b5=_5b6=size;}else{_5b5=_5b4.majLabelW;_5b6=_5b4.minLabelW;}break;case 90:case 270:if(this.vertical){_5b5=_5b4.majLabelW;_5b6=_5b4.minLabelW;}else{_5b5=_5b6=size;}break;default:_5b5=this.vertical?Math.min(_5b4.majLabelW,size/cosr):Math.min(_5b4.majLabelW,size/sinr);var gap1=Math.sqrt(_5b4.minLabelW*_5b4.minLabelW+size*size),gap2=this.vertical?size*cosr+_5b4.minLabelW*sinr:_5b4.minLabelW*cosr+size*sinr;_5b6=Math.min(gap1,gap2);break;}this.scaler.minMinorStep=this._prevMinMinorStep=Math.max(_5b5,_5b6)+_5b3;var _5b7=this.scaler.minMinorStep<=this.scaler.minor.tick*this.scaler.bounds.scale;if(!_5b7){this._skipInterval=Math.floor((_5b5+_5b3)/(this.scaler.major.tick*this.scaler.bounds.scale));}else{this._skipInterval=0;}}else{this._skipInterval=0;}}this.ticks=lin.buildTicks(this.scaler,this.opt);return this;},getOffsets:function(){var s=this.scaler,_5b8={l:0,r:0,t:0,b:0};if(!s){return _5b8;}var o=this.opt,a,b,c,d,gl=_5a2.getNumericLabel,_5b9=0,ma=s.major,mi=s.minor,ta=this.chart.theme.axis,_5ba=this.chart.theme.axis.tick.labelGap,_5bb=o.titleFont||(ta.title&&ta.title.font),_5bc=(o.titleGap==0)?0:o.titleGap||(ta.title&&ta.title.gap),_5bd=this.chart.theme.getTick("major",o),_5be=this.chart.theme.getTick("minor",o),_5bf=_5bb?g.normalizedLength(g.splitFontString(_5bb).size):0,_5c0=o.rotation%360,_5c1=o.leftBottom,cosr=Math.abs(Math.cos(_5c0*Math.PI/180)),sinr=Math.abs(Math.sin(_5c0*Math.PI/180));this.trailingSymbol=(o.trailingSymbol===undefined||o.trailingSymbol===null)?this.trailingSymbol:o.trailingSymbol;if(typeof _5ba!="number"){_5ba=4;}if(_5c0<0){_5c0+=360;}var _5c2=this._getMaxLabelSize();if(_5c2){var side;var _5c3=Math.ceil(Math.max(_5c2.majLabelW,_5c2.minLabelW))+1,size=Math.ceil(Math.max(_5c2.majLabelH,_5c2.minLabelH))+1;if(this.vertical){side=_5c1?"l":"r";switch(_5c0){case 0:case 180:_5b8[side]=_5c3;_5b8.t=_5b8.b=size/2;break;case 90:case 270:_5b8[side]=size;_5b8.t=_5b8.b=_5c3/2;break;default:if(_5c0<=_5a4||(180<_5c0&&_5c0<=(180+_5a4))){_5b8[side]=size*sinr/2+_5c3*cosr;_5b8[_5c1?"t":"b"]=size*cosr/2+_5c3*sinr;_5b8[_5c1?"b":"t"]=size*cosr/2;}else{if(_5c0>(360-_5a4)||(180>_5c0&&_5c0>(180-_5a4))){_5b8[side]=size*sinr/2+_5c3*cosr;_5b8[_5c1?"b":"t"]=size*cosr/2+_5c3*sinr;_5b8[_5c1?"t":"b"]=size*cosr/2;}else{if(_5c0<90||(180<_5c0&&_5c0<270)){_5b8[side]=size*sinr+_5c3*cosr;_5b8[_5c1?"t":"b"]=size*cosr+_5c3*sinr;}else{_5b8[side]=size*sinr+_5c3*cosr;_5b8[_5c1?"b":"t"]=size*cosr+_5c3*sinr;}}}break;}_5b8[side]+=_5ba+Math.max(_5bd.length,_5be.length)+(o.title?(_5bf+_5bc):0);}else{side=_5c1?"b":"t";switch(_5c0){case 0:case 180:_5b8[side]=size;_5b8.l=_5b8.r=_5c3/2;break;case 90:case 270:_5b8[side]=_5c3;_5b8.l=_5b8.r=size/2;break;default:if((90-_5a4)<=_5c0&&_5c0<=90||(270-_5a4)<=_5c0&&_5c0<=270){_5b8[side]=size*cosr/2+_5c3*sinr;_5b8[_5c1?"r":"l"]=size*sinr/2+_5c3*cosr;_5b8[_5c1?"l":"r"]=size*sinr/2;}else{if(90<=_5c0&&_5c0<=(90+_5a4)||270<=_5c0&&_5c0<=(270+_5a4)){_5b8[side]=size*cosr/2+_5c3*sinr;_5b8[_5c1?"l":"r"]=size*sinr/2+_5c3*cosr;_5b8[_5c1?"r":"l"]=size*sinr/2;}else{if(_5c0<_5a4||(180<_5c0&&_5c0<(180+_5a4))){_5b8[side]=size*cosr+_5c3*sinr;_5b8[_5c1?"r":"l"]=size*sinr+_5c3*cosr;}else{_5b8[side]=size*cosr+_5c3*sinr;_5b8[_5c1?"l":"r"]=size*sinr+_5c3*cosr;}}}break;}_5b8[side]+=_5ba+Math.max(_5bd.length,_5be.length)+(o.title?(_5bf+_5bc):0);}}return _5b8;},cleanGroup:function(_5c4){if(this.opt.enableCache&&this.group){this._lineFreePool=this._lineFreePool.concat(this._lineUsePool);this._lineUsePool=[];this._textFreePool=this._textFreePool.concat(this._textUsePool);this._textUsePool=[];}this.inherited(arguments);},createText:function(_5c5,_5c6,x,y,_5c7,_5c8,font,_5c9,_5ca){if(!this.opt.enableCache||_5c5=="html"){return _5a3.createText[_5c5](this.chart,_5c6,x,y,_5c7,_5c8,font,_5c9,_5ca);}var text;if(this._textFreePool.length>0){text=this._textFreePool.pop();text.setShape({x:x,y:y,text:_5c8,align:_5c7});_5c6.add(text);}else{text=_5a3.createText[_5c5](this.chart,_5c6,x,y,_5c7,_5c8,font,_5c9);}this._textUsePool.push(text);return text;},createLine:function(_5cb,_5cc){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_5cc);_5cb.add(line);}else{line=_5cb.createLine(_5cc);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_5cd){if(!this.dirty||!this.scaler){return this;}var o=this.opt,ta=this.chart.theme.axis,_5ce=o.leftBottom,_5cf=o.rotation%360,_5d0,stop,_5d1,_5d2=0,_5d3,_5d4,_5d5,_5d6,_5d7,_5d8,_5d9=this.chart.theme.axis.tick.labelGap,_5da=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_5db=o.titleFont||(ta.title&&ta.title.font),_5dc=o.fontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"black",_5dd=o.titleFontColor||(ta.title&&ta.title.fontColor)||"black",_5de=(o.titleGap==0)?0:o.titleGap||(ta.title&&ta.title.gap)||15,_5df=o.titleOrientation||(ta.title&&ta.title.orientation)||"axis",_5e0=this.chart.theme.getTick("major",o),_5e1=this.chart.theme.getTick("minor",o),_5e2=this.chart.theme.getTick("micro",o),_5e3=Math.max(_5e0.length,_5e1.length,_5e2.length),_5e4="stroke" in o?o.stroke:ta.stroke,size=_5da?g.normalizedLength(g.splitFontString(_5da).size):0,cosr=Math.abs(Math.cos(_5cf*Math.PI/180)),sinr=Math.abs(Math.sin(_5cf*Math.PI/180)),_5e5=_5db?g.normalizedLength(g.splitFontString(_5db).size):0;if(typeof _5d9!="number"){_5d9=4;}if(_5cf<0){_5cf+=360;}var _5e6=this._getMaxLabelSize();_5e6=_5e6&&_5e6.majLabelW;if(this.vertical){_5d0={y:dim.height-_5cd.b};stop={y:_5cd.t};_5d1={y:(dim.height-_5cd.b+_5cd.t)/2};_5d3=size*sinr+(_5e6||0)*cosr+_5d9+Math.max(_5e0.length,_5e1.length)+_5e5+_5de;_5d4={x:0,y:-1};_5d7={x:0,y:0};_5d5={x:1,y:0};_5d6={x:_5d9,y:0};switch(_5cf){case 0:_5d8="end";_5d7.y=size*0.4;break;case 90:_5d8="middle";_5d7.x=-size;break;case 180:_5d8="start";_5d7.y=-size*0.4;break;case 270:_5d8="middle";break;default:if(_5cf<_5a4){_5d8="end";_5d7.y=size*0.4;}else{if(_5cf<90){_5d8="end";_5d7.y=size*0.4;}else{if(_5cf<(180-_5a4)){_5d8="start";}else{if(_5cf<(180+_5a4)){_5d8="start";_5d7.y=-size*0.4;}else{if(_5cf<270){_5d8="start";_5d7.x=_5ce?0:size*0.4;}else{if(_5cf<(360-_5a4)){_5d8="end";_5d7.x=_5ce?0:size*0.4;}else{_5d8="end";_5d7.y=size*0.4;}}}}}}}if(_5ce){_5d0.x=stop.x=_5cd.l;_5d2=(_5df&&_5df=="away")?90:270;_5d1.x=_5cd.l-_5d3+(_5d2==270?_5e5:0);_5d5.x=-1;_5d6.x=-_5d6.x;}else{_5d0.x=stop.x=dim.width-_5cd.r;_5d2=(_5df&&_5df=="axis")?90:270;_5d1.x=dim.width-_5cd.r+_5d3-(_5d2==270?0:_5e5);switch(_5d8){case "start":_5d8="end";break;case "end":_5d8="start";break;case "middle":_5d7.x+=size;break;}}}else{_5d0={x:_5cd.l};stop={x:dim.width-_5cd.r};_5d1={x:(dim.width-_5cd.r+_5cd.l)/2};_5d3=size*cosr+(_5e6||0)*sinr+_5d9+Math.max(_5e0.length,_5e1.length)+_5e5+_5de;_5d4={x:1,y:0};_5d7={x:0,y:0};_5d5={x:0,y:1};_5d6={x:0,y:_5d9};switch(_5cf){case 0:_5d8="middle";_5d7.y=size;break;case 90:_5d8="start";_5d7.x=-size*0.4;break;case 180:_5d8="middle";break;case 270:_5d8="end";_5d7.x=size*0.4;break;default:if(_5cf<(90-_5a4)){_5d8="start";_5d7.y=_5ce?size:0;}else{if(_5cf<(90+_5a4)){_5d8="start";_5d7.x=-size*0.4;}else{if(_5cf<180){_5d8="start";_5d7.y=_5ce?0:-size;}else{if(_5cf<(270-_5a4)){_5d8="end";_5d7.y=_5ce?0:-size;}else{if(_5cf<(270+_5a4)){_5d8="end";_5d7.y=_5ce?size*0.4:0;}else{_5d8="end";_5d7.y=_5ce?size:0;}}}}}}if(_5ce){_5d0.y=stop.y=dim.height-_5cd.b;_5d2=(_5df&&_5df=="axis")?180:0;_5d1.y=dim.height-_5cd.b+_5d3-(_5d2?_5e5:0);}else{_5d0.y=stop.y=_5cd.t;_5d2=(_5df&&_5df=="away")?180:0;_5d1.y=_5cd.t-_5d3+(_5d2?0:_5e5);_5d5.y=-1;_5d6.y=-_5d6.y;switch(_5d8){case "start":_5d8="end";break;case "end":_5d8="start";break;case "middle":_5d7.y-=size;break;}}}this.cleanGroup();var s=this.group,c=this.scaler,t=this.ticks,f=lin.getTransformerFromModel(this.scaler),_5e7=(!o.title||!_5d2)&&!_5cf&&this.opt.htmlLabels&&!has("ie")&&!has("opera")?"html":"gfx",dx=_5d5.x*_5e0.length,dy=_5d5.y*_5e0.length,skip=this._skipInterval;s.createLine({x1:_5d0.x,y1:_5d0.y,x2:stop.x,y2:stop.y}).setStroke(_5e4);if(o.title){var _5e8=_5a3.createText[_5e7](this.chart,s,_5d1.x,_5d1.y,"middle",o.title,_5db,_5dd);if(_5e7=="html"){this.htmlElements.push(_5e8);}else{_5e8.setTransform(g.matrix.rotategAt(_5d2,_5d1.x,_5d1.y));}}if(t==null){this.dirty=false;return this;}var rel=(t.major.length>0)?(t.major[0].value-this._majorStart)/c.major.tick:0;var _5e9=this.opt.majorLabels;arr.forEach(t.major,function(tick,i){var _5ea=f(tick.value),elem,x=_5d0.x+_5d4.x*_5ea,y=_5d0.y+_5d4.y*_5ea;i+=rel;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5e0);if(tick.label&&(!skip||(i-(1+skip))%(1+skip)==0)){var _5eb=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5da,o.maxLabelCharCount):{text:tick.label,truncated:false};_5eb=o.maxLabelSize?this.getTextWithLimitLength(_5eb.text,_5da,o.maxLabelSize,_5eb.truncated):_5eb;elem=this.createText(_5e7,s,x+dx+_5d6.x+(_5cf?0:_5d7.x),y+dy+_5d6.y+(_5cf?0:_5d7.y),_5d8,_5eb.text,_5da,_5dc);if(this.chart.truncateBidi&&_5eb.truncated){this.chart.truncateBidi(elem,tick.label,_5e7);}_5eb.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5eb.text,_5da,_5e7);if(_5e7=="html"){this.htmlElements.push(elem);}else{if(_5cf){elem.setTransform([{dx:_5d7.x,dy:_5d7.y},g.matrix.rotategAt(_5cf,x+dx+_5d6.x,y+dy+_5d6.y)]);}}}},this);dx=_5d5.x*_5e1.length;dy=_5d5.y*_5e1.length;_5e9=this.opt.minorLabels&&c.minMinorStep<=c.minor.tick*c.bounds.scale;arr.forEach(t.minor,function(tick){var _5ec=f(tick.value),elem,x=_5d0.x+_5d4.x*_5ec,y=_5d0.y+_5d4.y*_5ec;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5e1);if(_5e9&&tick.label){var _5ed=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5da,o.maxLabelCharCount):{text:tick.label,truncated:false};_5ed=o.maxLabelSize?this.getTextWithLimitLength(_5ed.text,_5da,o.maxLabelSize,_5ed.truncated):_5ed;elem=this.createText(_5e7,s,x+dx+_5d6.x+(_5cf?0:_5d7.x),y+dy+_5d6.y+(_5cf?0:_5d7.y),_5d8,_5ed.text,_5da,_5dc);if(this.chart.getTextDir&&_5ed.truncated){this.chart.truncateBidi(elem,tick.label,_5e7);}_5ed.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5ed.text,_5da,_5e7);if(_5e7=="html"){this.htmlElements.push(elem);}else{if(_5cf){elem.setTransform([{dx:_5d7.x,dy:_5d7.y},g.matrix.rotategAt(_5cf,x+dx+_5d6.x,y+dy+_5d6.y)]);}}}},this);dx=_5d5.x*_5e2.length;dy=_5d5.y*_5e2.length;arr.forEach(t.micro,function(tick){var _5ee=f(tick.value),elem,x=_5d0.x+_5d4.x*_5ee,y=_5d0.y+_5d4.y*_5ee;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5e2);},this);this.dirty=false;return this;},labelTooltip:function(elem,_5ef,_5f0,_5f1,font,_5f2){var _5f3=["dijit/Tooltip"];var _5f4={type:"rect"},_5f5=["above","below"],_5f6=g._base._getTextBox(_5f1,{font:font}).w||0,_5f7=font?g.normalizedLength(g.splitFontString(font).size):0;if(_5f2=="html"){lang.mixin(_5f4,_5a0.position(elem.firstChild,true));_5f4.width=Math.ceil(_5f6);_5f4.height=Math.ceil(_5f7);this._events.push({shape:dojo,handle:_59f.connect(elem.firstChild,"onmouseover",this,function(e){require(_5f3,function(_5f8){_5f8.show(_5f0,_5f4,_5f5);});})});this._events.push({shape:dojo,handle:_59f.connect(elem.firstChild,"onmouseout",this,function(e){require(_5f3,function(_5f9){_5f9.hide(_5f4);});})});}else{var shp=elem.getShape(),lt=_5ef.getCoords();_5f4=lang.mixin(_5f4,{x:shp.x-_5f6/2,y:shp.y});_5f4.x+=lt.x;_5f4.y+=lt.y;_5f4.x=Math.round(_5f4.x);_5f4.y=Math.round(_5f4.y);_5f4.width=Math.ceil(_5f6);_5f4.height=Math.ceil(_5f7);this._events.push({shape:elem,handle:elem.connect("onmouseenter",this,function(e){require(_5f3,function(_5fa){_5fa.show(_5f0,_5f4,_5f5);});})});this._events.push({shape:elem,handle:elem.connect("onmouseleave",this,function(e){require(_5f3,function(_5fb){_5fb.hide(_5f4);});})});}}});});},"dojox/charting/plot2d/ClusteredBars":function(){define("dojox/charting/plot2d/ClusteredBars",["dojo/_base/declare","./Bars","./common"],function(_5fc,Bars,dc){return _5fc("dojox.charting.plot2d.ClusteredBars",Bars,{getBarProperties:function(){var f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt,this.series.length);return {gap:f.gap,height:f.size,thickness:f.size};}});});},"dojox/charting/action2d/MoveSlice":function(){define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","dojo/_base/array","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(hub,_5fd,_5fe,_5ff,dfe,m,gf,df,dfs,dff){var _600=1.05,_601=7;return _5fd("dojox.charting.action2d.MoveSlice",_5ff,{defaultParams:{duration:400,easing:dfe.backOut,scale:_600,shift:_601},optionalParams:{},constructor:function(_602,plot,_603){if(!_603){_603={};}this.scale=typeof _603.scale=="number"?_603.scale:_600;this.shift=typeof _603.shift=="number"?_603.shift:_601;this.connect();},process:function(o){if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){return;}if(!this.angles){var _604=m._degToRad(o.plot.opt.startAngle);if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}this.angles=_5fe.map(this.angles,function(item){return item+_604;});}var _605=o.index,anim,_606,_607,_608,_609,_60a=(this.angles[_605]+this.angles[_605+1])/2,_60b=m.rotateAt(-_60a,o.cx,o.cy),_60c=m.rotateAt(_60a,o.cx,o.cy);anim=this.anim[_605];if(anim){anim.action.stop(true);}else{this.anim[_605]=anim={};}if(o.type=="onmouseover"){_608=0;_609=this.shift;_606=1;_607=this.scale;}else{_608=this.shift;_609=0;_606=this.scale;_607=1;}anim.action=gf.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_60c,{name:"translate",start:[_608,0],end:[_609,0]},{name:"scaleAt",start:[_606,o.cx,o.cy],end:[_607,o.cx,o.cy]},_60b]});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){delete this.anim[_605];});}anim.action.play();},reset:function(){delete this.angles;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_60d,_60e){var _60f={};lang.setObject("dojo.colors",_60f);var _610=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_60d.fromRgb=function(_611,obj){var m=_611.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_60e.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _60d.fromArray(a,obj);}return _60d.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_610(m1,m2,H+1/3)*256,_610(m1,m2,H)*256,_610(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _60d.fromArray(a,obj);}}return null;};var _612=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_60d.prototype.sanitize=function(){var t=this;t.r=Math.round(_612(t.r,0,255));t.g=Math.round(_612(t.g,0,255));t.b=Math.round(_612(t.b,0,255));t.a=_612(t.a,0,1);return this;};_60f.makeGrey=_60d.makeGrey=function(g,a){return _60d.fromArray([g,g,g,a]);};lang.mixin(_60d.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _60d;});},"dojox/charting/SimpleTheme":function(){define("dojox/charting/SimpleTheme",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/Color","dojox/lang/utils","dojox/gfx/gradutils"],function(lang,arr,_613,_614,dlu,dgg){var _615=_613("dojox.charting.SimpleTheme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_616){_616=_616||{};var def=_615.defaultTheme;arr.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],function(name){this[name]=lang.delegate(def[name],_616[name]);},this);if(_616.seriesThemes&&_616.seriesThemes.length){this.colors=null;this.seriesThemes=_616.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_616.colors||_615.defaultColors).slice(0);}this.markerThemes=null;if(_616.markerThemes&&_616.markerThemes.length){this.markerThemes=_616.markerThemes.slice(0);}this.markers=_616.markers?lang.clone(_616.markers):lang.delegate(_615.defaultMarkers);this.noGradConv=_616.noGradConv;this.noRadialConv=_616.noRadialConv;if(_616.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _617=new this.constructor({chart:this.chart,plotarea:this.plotarea,axis:this.axis,grid:this.grid,series:this.series,marker:this.marker,colors:this.colors,markers:this.markers,indicator:this.indicator,seriesThemes:this.seriesThemes,markerThemes:this.markerThemes,noGradConv:this.noGradConv,noRadialConv:this.noRadialConv});arr.forEach(["clone","clear","next","skip","addMixin","post","getTick"],function(name){if(this.hasOwnProperty(name)){_617[name]=this[name];}},this);return _617;},clear:function(){this._current=0;},next:function(_618,_619,_61a){var _61b=dlu.merge,_61c,_61d;if(this.colors){_61c=lang.delegate(this.series);_61d=lang.delegate(this.marker);var _61e=new _614(this.colors[this._current%this.colors.length]),old;if(_61c.stroke&&_61c.stroke.color){_61c.stroke=lang.delegate(_61c.stroke);old=new _614(_61c.stroke.color);_61c.stroke.color=new _614(_61e);_61c.stroke.color.a=old.a;}else{_61c.stroke={color:_61e};}if(_61d.stroke&&_61d.stroke.color){_61d.stroke=lang.delegate(_61d.stroke);old=new _614(_61d.stroke.color);_61d.stroke.color=new _614(_61e);_61d.stroke.color.a=old.a;}else{_61d.stroke={color:_61e};}if(!_61c.fill||_61c.fill.type){_61c.fill=_61e;}else{old=new _614(_61c.fill);_61c.fill=new _614(_61e);_61c.fill.a=old.a;}if(!_61d.fill||_61d.fill.type){_61d.fill=_61e;}else{old=new _614(_61d.fill);_61d.fill=new _614(_61e);_61d.fill.a=old.a;}}else{_61c=this.seriesThemes?_61b(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_61d=this.markerThemes?_61b(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_61c;}var _61f=_61d&&_61d.symbol||this._markers[this._current%this._markers.length];var _620={series:_61c,marker:_61d,symbol:_61f};++this._current;if(_619){_620=this.addMixin(_620,_618,_619);}if(_61a){_620=this.post(_620,_618);}return _620;},skip:function(){++this._current;},addMixin:function(_621,_622,_623,_624){if(lang.isArray(_623)){arr.forEach(_623,function(m){_621=this.addMixin(_621,_622,m);},this);}else{var t={};if("color" in _623){if(_622=="line"||_622=="area"){lang.setObject("series.stroke.color",_623.color,t);lang.setObject("marker.stroke.color",_623.color,t);}else{lang.setObject("series.fill",_623.color,t);}}arr.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _625="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_625 in _623;if(name in _623){lang.setObject("series."+name,_623[name],t);if(!b){lang.setObject("marker."+name,_623[name],t);}}if(b){lang.setObject("marker."+name,_623[_625],t);}});if("marker" in _623){t.symbol=_623.marker;t.symbol=_623.marker;}_621=dlu.merge(_621,t);}if(_624){_621=this.post(_621,_622);}return _621;},post:function(_626,_627){var fill=_626.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_627=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_627=="slice"||_627=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dlu.merge(_626,{series:{fill:t}});}}return _626;},getTick:function(name,_628){var tick=this.axis.tick,_629=name+"Tick",_62a=dlu.merge;if(tick){if(this.axis[_629]){tick=_62a(tick,this.axis[_629]);}}else{tick=this.axis[_629];}if(_628){if(tick){if(_628[_629]){tick=_62a(tick,_628[_629]);}}else{tick=_628[_629];}}return tick;},inspectObjects:function(f){arr.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],function(name){f(this[name]);},this);if(this.seriesThemes){arr.forEach(this.seriesThemes,f);}if(this.markerThemes){arr.forEach(this.markerThemes,f);}},reverseFills:function(){this.inspectObjects(function(o){if(o&&o.fill){o.fill=dgg.reverse(o.fill);}});},addMarker:function(name,_62b){this.markers[name]=_62b;this._buildMarkerArray();},setMarkers:function(obj){this.markers=obj;this._buildMarkerArray();},_buildMarkerArray:function(){this._markers=[];for(var p in this.markers){this._markers.push(this.markers[p]);}}});lang.mixin(_615,{defaultMarkers:{CIRCLE:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",SQUARE:"m-3,-3 l0,6 6,0 0,-6 z",DIAMOND:"m0,-3 l3,3 -3,3 -3,-3 z",CROSS:"m0,-3 l0,6 m-3,-3 l6,0",X:"m-3,-3 l6,6 m0,-6 l-6,6",TRIANGLE:"m-3,3 l3,-6 3,6 z",TRIANGLE_INVERTED:"m-3,-3 l3,6 3,-6 z"},defaultColors:["#54544c","#858e94","#6e767a","#948585","#474747"],defaultTheme:{chart:{stroke:null,fill:"white",pageStyle:null,titleGap:20,titlePos:"top",titleFont:"normal normal bold 14pt Tahoma",titleFontColor:"#333"},plotarea:{stroke:null,fill:"white"},axis:{stroke:{color:"#333",width:1},tick:{color:"#666",position:"center",font:"normal normal normal 7pt Tahoma",fontColor:"#333",labelGap:4},majorTick:{width:1,length:6},minorTick:{width:0.8,length:3},microTick:{width:0.5,length:1},title:{gap:15,font:"normal normal normal 11pt Tahoma",fontColor:"#333",orientation:"axis"}},series:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000",labelWiring:{width:1,color:"#ccc"}},marker:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000"},indicator:{lineStroke:{width:1.5,color:"#333"},lineOutline:{width:0.1,color:"#ccc"},lineShadow:null,stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",radius:3,font:"normal normal normal 10pt Tahoma",fontColor:"#000",markerFill:"#ccc",markerSymbol:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",markerStroke:{width:1.5,color:"#333"},markerOutline:{width:0.1,color:"#ccc"},markerShadow:null}}});return _615;});},"dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_62c,_62d,fx,dom,_62e,_62f,_630,lang,_631,on,has,_632,_633,_634,_635,_636,_637,_638){var _639=_62d("dijit._MasterTooltip",[_634,_635],{duration:_632.defaultDuration,templateString:_637,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _636(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_63a,_63b,_63c,rtl,_63d){if(this.aroundNode&&this.aroundNode===_63b&&this.containerNode.innerHTML==_63a){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_63a;if(_63d){this.set("textDir",_63d);}this.containerNode.align=rtl?"right":"left";var pos=_633.around(this.domNode,_63b,_63c&&_63c.length?_63c:_63e.defaultPosition,!rtl,lang.hitch(this,"orient"));var _63f=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_63f.y+((_63f.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_63f.x+((_63f.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_630.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_63b;},orient:function(node,_640,_641,_642,_643){this.connectorNode.style.top="";var _644=_642.h,_645=_642.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_640+"-"+_641];this.domNode.style.width="auto";var size=_62f.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _646=Math.min((Math.max(_645,1)),size.w);_62f.setMarginBox(this.domNode,{w:_646});if(_641.charAt(0)=="B"&&_640.charAt(0)=="B"){var bb=_62f.position(node);var _647=this.connectorNode.offsetHeight;if(bb.h>_644){var _648=_644-((_643.h+_647)>>1);this.connectorNode.style.top=_648+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_643.h/2-_647/2,0),bb.h-_647)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_645);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_649){if(this._onDeck&&this._onDeck[1]==_649){this._onDeck=null;}else{if(this.aroundNode===_649){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_62c.forEach(node.children,function(_64a){this._setAutoTextDir(_64a);},this);},_setTextDirAttr:function(_64b){this._set("textDir",_64b);if(_64b=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_638.showTooltip=function(_64c,_64d,_64e,rtl,_64f){if(_64e){_64e=_62c.map(_64e,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_63e._masterTT){_638._masterTT=_63e._masterTT=new _639();}return _63e._masterTT.show(_64c,_64d,_64e,rtl,_64f);};_638.hideTooltip=function(_650){return _63e._masterTT&&_63e._masterTT.hide(_650);};var _63e=_62d("dijit.Tooltip",_634,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_651){_62c.forEach(this._connections||[],function(_652){_62c.forEach(_652,function(_653){_653.remove();});},this);this._connectIds=_62c.filter(lang.isArrayLike(_651)?_651:(_651?[_651]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_62c.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_654=this.selector,_655=_654?function(_656){return on.selector(_654,_656);}:function(_657){return _657;},self=this;return [on(node,_655(_631.enter),function(){self._onHover(this);}),on(node,_655("focusin"),function(){self._onHover(this);}),on(node,_655(_631.leave),lang.hitch(self,"_onUnHover")),on(node,_655("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_651);},addTarget:function(node){var id=node.id||node;if(_62c.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_62c.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_62e.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_62c.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_658){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_658);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_659){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _65a=this.getContent(_659);if(!_65a){return;}_63e.show(_65a,_659,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_659;this.onShow(_659,this.position);},close:function(){if(this._connectNode){_63e.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_62c.forEach(this._connections||[],function(_65b){_62c.forEach(_65b,function(_65c){_65c.remove();});},this);this.inherited(arguments);}});_63e._MasterTooltip=_639;_63e.show=_638.showTooltip;_63e.hide=_638.hideTooltip;_63e.defaultPosition=["after-centered","before-centered"];return _63e;});},"dojox/charting/Element":function(){define("dojox/charting/Element",["dojo/_base/lang","dojo/_base/array","dojo/dom-construct","dojo/_base/declare","dojox/gfx","dojox/gfx/shape"],function(lang,arr,_65d,_65e,gfx,_65f){return _65e("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_660){this.chart=_660;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},purgeGroup:function(){this.destroyHtmlElements();if(this.group){this.group.removeShape();var _661=this.group.children;for(var i=0;i<_661.length;++i){_65f.dispose(_661[i],true);}if(this.group.rawNode){_65d.empty(this.group.rawNode);}this.group.clear();_65f.dispose(this.group,true);this.group=null;}this.dirty=true;if(this._events.length){arr.forEach(this._events,function(item){item.shape.disconnect(item.handle);});this._events=[];}return this;},cleanGroup:function(_662){this.destroyHtmlElements();if(!_662){_662=this.chart.surface;}if(this.group){var _663;var _664=this.group.children;for(var i=0;i<_664.length;++i){_65f.dispose(_664[i],true);}if(this.group.rawNode){_663=this.group.bgNode;_65d.empty(this.group.rawNode);}this.group.clear();if(_663){this.group.rawNode.appendChild(_663);}}else{this.group=_662.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){arr.forEach(this.htmlElements,_65d.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,font){return gfx._base._getTextBox(s,{font:font}).w||0;},getTextWithLimitLength:function(s,font,_665,_666){if(!s||s.length<=0){return {text:"",truncated:_666||false};}if(!_665||_665<=0){return {text:s,truncated:_666||false};}var _667=2,_668=0.618,_669=s.substring(0,1)+this.trailingSymbol,_66a=this.getTextWidth(_669,font);if(_665<=_66a){return {text:_669,truncated:true};}var _66b=this.getTextWidth(s,font);if(_66b<=_665){return {text:s,truncated:_666||false};}else{var _66c=0,end=s.length;while(_66c<end){if(end-_66c<=_667){while(this.getTextWidth(s.substring(0,_66c)+this.trailingSymbol,font)>_665){_66c-=1;}return {text:(s.substring(0,_66c)+this.trailingSymbol),truncated:true};}var _66d=_66c+Math.round((end-_66c)*_668),_66e=this.getTextWidth(s.substring(0,_66d),font);if(_66e<_665){_66c=_66d;end=end;}else{_66c=_66c;end=_66d;}}}},getTextWithLimitCharCount:function(s,font,_66f,_670){if(!s||s.length<=0){return {text:"",truncated:_670||false};}if(!_66f||_66f<=0||s.length<=_66f){return {text:s,truncated:_670||false};}return {text:s.substring(0,_66f)+this.trailingSymbol,truncated:true};},_plotFill:function(fill,dim,_671){if(!fill||!fill.type||!fill.space){return fill;}var _672=fill.space,span;switch(fill.type){case "linear":if(_672==="plot"||_672==="shapeX"||_672==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_672;if(_672==="plot"||_672==="shapeX"){span=dim.height-_671.t-_671.b;fill.y1=_671.t+span*fill.y1/100;fill.y2=_671.t+span*fill.y2/100;}if(_672==="plot"||_672==="shapeY"){span=dim.width-_671.l-_671.r;fill.x1=_671.l+span*fill.x1/100;fill.x2=_671.l+span*fill.x2/100;}}break;case "radial":if(_672==="plot"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_672;var _673=dim.width-_671.l-_671.r,_674=dim.height-_671.t-_671.b;fill.cx=_671.l+_673*fill.cx/100;fill.cy=_671.t+_674*fill.cy/100;fill.r=fill.r*Math.sqrt(_673*_673+_674*_674)/200;}break;case "pattern":if(_672==="plot"||_672==="shapeX"||_672==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_672;if(_672==="plot"||_672==="shapeX"){span=dim.height-_671.t-_671.b;fill.y=_671.t+span*fill.y/100;fill.height=span*fill.height/100;}if(_672==="plot"||_672==="shapeY"){span=dim.width-_671.l-_671.r;fill.x=_671.l+span*fill.x/100;fill.width=span*fill.width/100;}}break;}return fill;},_shapeFill:function(fill,bbox){if(!fill||!fill.space){return fill;}var _675=fill.space,span;switch(fill.type){case "linear":if(_675==="shape"||_675==="shapeX"||_675==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_675;if(_675==="shape"||_675==="shapeX"){span=bbox.width;fill.x1=bbox.x+span*fill.x1/100;fill.x2=bbox.x+span*fill.x2/100;}if(_675==="shape"||_675==="shapeY"){span=bbox.height;fill.y1=bbox.y+span*fill.y1/100;fill.y2=bbox.y+span*fill.y2/100;}}break;case "radial":if(_675==="shape"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_675;fill.cx=bbox.x+bbox.width/2;fill.cy=bbox.y+bbox.height/2;fill.r=fill.r*bbox.width/200;}break;case "pattern":if(_675==="shape"||_675==="shapeX"||_675==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_675;if(_675==="shape"||_675==="shapeX"){span=bbox.width;fill.x=bbox.x+span*fill.x/100;fill.width=span*fill.width/100;}if(_675==="shape"||_675==="shapeY"){span=bbox.height;fill.y=bbox.y+span*fill.y/100;fill.height=span*fill.height/100;}}break;}return fill;},_pseudoRadialFill:function(fill,_676,_677,_678,end){if(!fill||fill.type!=="radial"||fill.space!=="shape"){return fill;}var _679=fill.space;fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_679;if(arguments.length<4){fill.cx=_676.x;fill.cy=_676.y;fill.r=fill.r*_677/100;return fill;}var _67a=arguments.length<5?_678:(end+_678)/2;return {type:"linear",x1:_676.x,y1:_676.y,x2:_676.x+fill.r*_677*Math.cos(_67a)/100,y2:_676.y+fill.r*_677*Math.sin(_67a)/100,colors:fill.colors};return fill;}});});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_67b,_67c,_67d,_67e,_67f,_680,dom,_681,_682,_683,_684,_685,has,_686,lang,on,_687,_688,_689,win,_68a,_68b){has.add("dijit-legacy-requires",!_686.isAsync);if(has("dijit-legacy-requires")){_687(0,function(){var _68c=["dijit/_base/manager"];_67b(_68c);});}var _68d={};function _68e(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _68f(attr){return function(val){_681[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _690(a,b){return a===b||(a!==a&&b!==b);};return _680("dijit._WidgetBase",[_688,_68a],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_68f("lang"),dir:"",_setDirAttr:_68f("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_67e.blankGif||_67b.toUrl("dojo/resources/blank.gif"),postscript:function(_691,_692){this.create(_691,_692);},create:function(_693,_694){this.srcNodeRef=dom.byId(_694);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_693){this.params=_693;lang.mixin(this,_693);}this.postMixInProperties();if(!this.id){this.id=_68b.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_68b.add(this);this.buildRendering();var _695;if(this.domNode){this._applyAttributes();var _696=this.srcNodeRef;if(_696&&_696.parentNode&&this.domNode!==_696){_696.parentNode.replaceChild(this.domNode,_696);_695=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_695){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _697=ctor.prototype;for(var _698 in _697){if(_698 in this.attributeMap){continue;}var _699="_set"+_698.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_699 in _697){list.push(_698);}}}var _69a={};for(var key in this.params||{}){_69a[key]=this[key];}_67c.forEach(list,function(attr){if(attr in _69a){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(key in _69a){this.set(key,_69a[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _69b=this.baseClass.split(" ");if(!this.isLeftToRight()){_69b=_69b.concat(_67c.map(_69b,function(name){return name+"Rtl";}));}_682.add(this.domNode,_69b);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_67c.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_69c){this._beingDestroyed=true;this.destroyDescendants(_69c);this.destroy(_69c);},destroy:function(_69d){this._beingDestroyed=true;this.uninitialize();function _69e(w){if(w.destroyRecursive){w.destroyRecursive(_69d);}else{if(w.destroy){w.destroy(_69d);}}};_67c.forEach(this._connects,lang.hitch(this,"disconnect"));_67c.forEach(this._supportingWidgets,_69e);if(this.domNode){_67c.forEach(_68b.findWidgets(this.domNode,this.containerNode),_69e);}this.destroyRendering(_69d);_68b.remove(this.id);this._destroyed=true;},destroyRendering:function(_69f){if(this.bgIframe){this.bgIframe.destroy(_69f);delete this.bgIframe;}if(this.domNode){if(_69f){_681.remove(this.domNode,"widgetId");}else{_683.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_69f){_683.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_6a0){_67c.forEach(this.getChildren(),function(_6a1){if(_6a1.destroyRecursive){_6a1.destroyRecursive(_6a0);}});},uninitialize:function(){return false;},_setStyleAttr:function(_6a2){var _6a3=this.domNode;if(lang.isObject(_6a2)){_685.set(_6a3,_6a2);}else{if(_6a3.style.cssText){_6a3.style.cssText+="; "+_6a2;}else{_6a3.style.cssText=_6a2;}}this._set("style",_6a2);},_attrToDom:function(attr,_6a4,_6a5){_6a5=arguments.length>=3?_6a5:this.attributeMap[attr];_67c.forEach(lang.isArray(_6a5)?_6a5:[_6a5],function(_6a6){var _6a7=this[_6a6.node||_6a6||"domNode"];var type=_6a6.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_6a4)){_6a4=lang.hitch(this,_6a4);}var _6a8=_6a6.attribute?_6a6.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_6a7.tagName){_681.set(_6a7,_6a8,_6a4);}else{_6a7.set(_6a8,_6a4);}break;case "innerText":_6a7.innerHTML="";_6a7.appendChild(this.ownerDocument.createTextNode(_6a4));break;case "innerHTML":_6a7.innerHTML=_6a4;break;case "class":_682.replace(_6a7,_6a4,this[attr]);break;}},this);},get:function(name){var _6a9=this._getAttrNames(name);return this[_6a9.g]?this[_6a9.g]():this[name];},set:function(name,_6aa){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _6ab=this._getAttrNames(name),_6ac=this[_6ab.s];if(lang.isFunction(_6ac)){var _6ad=_6ac.apply(this,Array.prototype.slice.call(arguments,1));}else{var _6ae=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_6ae].tagName,_6af=_68d[tag]||(_68d[tag]=_68e(this[_6ae])),map=name in this.attributeMap?this.attributeMap[name]:_6ab.s in this?this[_6ab.s]:((_6ab.l in _6af&&typeof _6aa!="function")||/^aria-|^data-|^role$/.test(name))?_6ae:null;if(map!=null){this._attrToDom(name,_6aa,map);}this._set(name,_6aa);}return _6ad||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_6b0){var _6b1=this[name];this[name]=_6b0;if(this._created&&!_690(_6b0,_6b1)){if(this._watchCallbacks){this._watchCallbacks(name,_6b1,_6b0);}this.emit("attrmodified-"+name,{detail:{prevValue:_6b1,newValue:_6b0}});}},emit:function(type,_6b2,_6b3){_6b2=_6b2||{};if(_6b2.bubbles===undefined){_6b2.bubbles=true;}if(_6b2.cancelable===undefined){_6b2.cancelable=true;}if(!_6b2.detail){_6b2.detail={};}_6b2.detail.widget=this;var ret,_6b4=this["on"+type];if(_6b4){ret=_6b4.apply(this,_6b3?_6b3:[_6b2]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_6b2);}return ret;},on:function(type,func){var _6b5=this._onMap(type);if(_6b5){return _67d.after(this,_6b5,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_68b.findWidgets(this.containerNode):[];},getParent:function(){return _68b.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_6b6,_6b7){return this.own(_67f.connect(obj,_6b6,this,_6b7))[0];},disconnect:function(_6b8){_6b8.remove();},subscribe:function(t,_6b9){return this.own(_689.subscribe(t,lang.hitch(this,_6b9)))[0];},unsubscribe:function(_6ba){_6ba.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_684.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_685.get(this.domNode,"display")!="none");},placeAt:function(_6bb,_6bc){var _6bd=!_6bb.tagName&&_68b.byId(_6bb);if(_6bd&&_6bd.addChild&&(!_6bc||typeof _6bc==="number")){_6bd.addChild(this,_6bc);}else{var ref=_6bd?(_6bd.containerNode&&!/after|before|replace/.test(_6bc||"")?_6bd.containerNode:_6bd.domNode):dom.byId(_6bb,this.ownerDocument);_683.place(this.domNode,ref,_6bc);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_6be){return _6be;},applyTextDir:function(){},defer:function(fcn,_6bf){var _6c0=setTimeout(lang.hitch(this,function(){if(!_6c0){return;}_6c0=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_6bf||0);return {remove:function(){if(_6c0){clearTimeout(_6c0);_6c0=null;}return null;}};}});});}}});define("dojox/charting/widget/Chart2D",["dojo/_base/kernel","dojo/_base/lang","./Chart","../Chart2D","../action2d/Highlight","../action2d/Magnify","../action2d/MoveSlice","../action2d/Shake","../action2d/Tooltip"],function(_6c1,lang,_6c2){_6c1.deprecated("dojox.charting.widget.Chart2D","Use dojo.charting.widget.Chart instead and require all other components explicitly","2.0");return lang.setObject("dojox.charting.widget.Chart2D",_6c2);});