text: /*
  	Copyright (c) 2004-2011, 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/ClusteredBars":function(){define("dojox/charting/plot2d/ClusteredBars",["dojo/_base/declare","./Bars","./common"],function(_1,_2,dc){return _1("dojox.charting.plot2d.ClusteredBars",_2,{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/plot2d/Lines":function(){define("dojox/charting/plot2d/Lines",["dojo/_base/declare","./Default"],function(_3,_4){return _3("dojox.charting.plot2d.Lines",_4,{constructor:function(){this.opt.lines=true;}});});},"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(_5,_6,_7,_8,_9,_a,_b,_c,_d,_e){var _f=_b("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(_10){var _11=this.declaredClass,_12=this;return _8.substitute(_10,this,function(_13,key){if(key.charAt(0)=="!"){_13=_5.getObject(key.substr(1),false,_12);}if(typeof _13=="undefined"){throw new Error(_11+" template:"+key);}if(_13==null){return "";}return key.charAt(0)=="!"?_13:_13.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_9(this.templatePath,{sanitize:true});}var _14=_f.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _15;if(_5.isString(_14)){_15=_c.toDom(this._stringRepl(_14),this.ownerDocument);if(_15.nodeType!=1){throw new Error("Invalid template: "+_14);}}else{_15=_14.cloneNode(true);}this.domNode=_15;this.inherited(arguments);this._attachTemplateNodes(_15,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_16){var _17=this.containerNode;if(_16&&_17){while(_16.hasChildNodes()){_17.appendChild(_16.firstChild);}}},_attachTemplateNodes:function(_18,_19){var _1a=_5.isArray(_18)?_18:(_18.all||_18.getElementsByTagName("*"));var x=_5.isArray(_18)?0:-1;for(;x<0||_1a[x];x++){var _1b=(x==-1)?_18:_1a[x];if(this.widgetsInTemplate&&(_19(_1b,"dojoType")||_19(_1b,"data-dojo-type"))){continue;}var _1c=_19(_1b,"dojoAttachPoint")||_19(_1b,"data-dojo-attach-point");if(_1c){var _1d,_1e=_1c.split(/\s*,\s*/);while((_1d=_1e.shift())){if(_5.isArray(this[_1d])){this[_1d].push(_1b);}else{this[_1d]=_1b;}this._attachPoints.push(_1d);}}var _1f=_19(_1b,"dojoAttachEvent")||_19(_1b,"data-dojo-attach-event");if(_1f){var _20,_21=_1f.split(/\s*,\s*/);var _22=_5.trim;while((_20=_21.shift())){if(_20){var _23=null;if(_20.indexOf(":")!=-1){var _24=_20.split(":");_20=_22(_24[0]);_23=_22(_24[1]);}else{_20=_22(_20);}if(!_23){_23=_20;}this._attachEvents.push(this.connect(_1b,_6[_20]||_20,_23));}}}}},destroyRendering:function(){_a.forEach(this._attachPoints,function(_25){delete this[_25];},this);this._attachPoints=[];_a.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_f._templateCache={};_f.getCachedTemplate=function(_26,_27,doc){var _28=_f._templateCache;var key=_26;var _29=_28[key];if(_29){try{if(!_29.ownerDocument||_29.ownerDocument==(doc||document)){return _29;}}catch(e){}_c.destroy(_29);}_26=_8.trim(_26);if(_27||_26.match(/\$\{([^\}]+)\}/g)){return (_28[key]=_26);}else{var _2a=_c.toDom(_26,doc);if(_2a.nodeType!=1){throw new Error("Invalid template: "+_26);}return (_28[key]=_2a);}};if(_d("ie")){_e.addOnWindowUnload(function(){var _2b=_f._templateCache;for(var key in _2b){var _2c=_2b[key];if(typeof _2c=="object"){_c.destroy(_2c);}delete _2b[key];}});}_5.extend(_7,{dojoAttachEvent:"",dojoAttachPoint:""});return _f;});},"dojox/charting/plot2d/Areas":function(){define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],function(_2d,_2e){return _2d("dojox.charting.plot2d.Areas",_2e,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"dojox/lang/functional/array":function(){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","./lambda"],function(_2f,_30,arr,df){var _31={};_30.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_2f.global;f=df.lambda(f);var t=[],v,i,n;if(_30.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 _31)){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||_2f.global;f=df.lambda(f);var i,n;if(_30.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 _31)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_2f.global;f=df.lambda(f);var t,n,i;if(_30.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 _31)){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||_2f.global;f=df.lambda(f);var i,n;if(_30.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 _31)){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||_2f.global;f=df.lambda(f);var i,n;if(_30.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 _31)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});return df;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_32,_33,_34,_35,win,_36,_37){function _38(_39,_3a,_3b,_3c){var _3d=_36.getBox(_39.ownerDocument);if(!_39.parentNode||String(_39.parentNode.tagName).toLowerCase()!="body"){win.body(_39.ownerDocument).appendChild(_39);}var _3e=null;_32.some(_3a,function(_3f){var _40=_3f.corner;var pos=_3f.pos;var _41=0;var _42={w:{"L":_3d.l+_3d.w-pos.x,"R":pos.x-_3d.l,"M":_3d.w}[_40.charAt(1)],h:{"T":_3d.t+_3d.h-pos.y,"B":pos.y-_3d.t,"M":_3d.h}[_40.charAt(0)]};var s=_39.style;s.left=s.right="auto";if(_3b){var res=_3b(_39,_3f.aroundCorner,_40,_42,_3c);_41=typeof res=="undefined"?0:res;}var _43=_39.style;var _44=_43.display;var _45=_43.visibility;if(_43.display=="none"){_43.visibility="hidden";_43.display="";}var bb=_33.position(_39);_43.display=_44;_43.visibility=_45;var _46={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_3d.l,Math.min(_3d.l+_3d.w,pos.x+(bb.w>>1))-bb.w)}[_40.charAt(1)],_47={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_3d.t,Math.min(_3d.t+_3d.h,pos.y+(bb.h>>1))-bb.h)}[_40.charAt(0)],_48=Math.max(_3d.l,_46),_49=Math.max(_3d.t,_47),_4a=Math.min(_3d.l+_3d.w,_46+bb.w),_4b=Math.min(_3d.t+_3d.h,_47+bb.h),_4c=_4a-_48,_4d=_4b-_49;_41+=(bb.w-_4c)+(bb.h-_4d);if(_3e==null||_41<_3e.overflow){_3e={corner:_40,aroundCorner:_3f.aroundCorner,x:_48,y:_49,w:_4c,h:_4d,overflow:_41,spaceAvailable:_42};}return !_41;});if(_3e.overflow&&_3b){_3b(_39,_3e.aroundCorner,_3e.corner,_3e.spaceAvailable,_3c);}var l=_33.isBodyLtr(_39.ownerDocument),s=_39.style;s.top=_3e.y+"px";s[l?"left":"right"]=(l?_3e.x:_3d.w-_3e.x-_3e.w)+"px";s[l?"right":"left"]="auto";return _3e;};var _4e={at:function(_4f,pos,_50,_51){var _52=_32.map(_50,function(_53){var c={corner:_53,pos:{x:pos.x,y:pos.y}};if(_51){c.pos.x+=_53.charAt(1)=="L"?_51.x:-_51.x;c.pos.y+=_53.charAt(0)=="T"?_51.y:-_51.y;}return c;});return _38(_4f,_52);},around:function(_54,_55,_56,_57,_58){var _59=(typeof _55=="string"||"offsetWidth" in _55)?_33.position(_55,true):_55;if(_55.parentNode){var _5a=_34.getComputedStyle(_55).position=="absolute";var _5b=_55.parentNode;while(_5b&&_5b.nodeType==1&&_5b.nodeName!="BODY"){var _5c=_33.position(_5b,true),pcs=_34.getComputedStyle(_5b);if(/relative|absolute/.test(pcs.position)){_5a=false;}if(!_5a&&/hidden|auto|scroll/.test(pcs.overflow)){var _5d=Math.min(_59.y+_59.h,_5c.y+_5c.h);var _5e=Math.min(_59.x+_59.w,_5c.x+_5c.w);_59.x=Math.max(_59.x,_5c.x);_59.y=Math.max(_59.y,_5c.y);_59.h=_5d-_59.y;_59.w=_5e-_59.x;}if(pcs.position=="absolute"){_5a=true;}_5b=_5b.parentNode;}}var x=_59.x,y=_59.y,_5f="w" in _59?_59.w:(_59.w=_59.width),_60="h" in _59?_59.h:(_35.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_59.height+", width:"+_5f+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_59.height+", w:"+_5f+" }","","2.0"),_59.h=_59.height);var _61=[];function _62(_63,_64){_61.push({aroundCorner:_63,corner:_64,pos:{x:{"L":x,"R":x+_5f,"M":x+(_5f>>1)}[_63.charAt(1)],y:{"T":y,"B":y+_60,"M":y+(_60>>1)}[_63.charAt(0)]}});};_32.forEach(_56,function(pos){var ltr=_57;switch(pos){case "above-centered":_62("TM","BM");break;case "below-centered":_62("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_62(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_62(ltr?"TL":"TR",ltr?"TR":"TL");_62(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_62(ltr?"BL":"BR",ltr?"TL":"TR");_62(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_62(ltr?"TL":"TR",ltr?"BL":"BR");_62(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_62(pos.aroundCorner,pos.corner);}});var _65=_38(_54,_61,_58,{w:_5f,h:_60});_65.aroundNodePos=_59;return _65;}};return _37.place=_4e;});},"dojox/charting/themes/GreySkies":function(){define("dojox/charting/themes/GreySkies",["../SimpleTheme","./common"],function(_66,_67){_67.GreySkies=new _66();return _67.GreySkies;});},"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(_68,_69,_6a,_6b){_68.deprecated("dojox.charting.Chart2D","Use dojox.charting.Chart instead and require all other components explicitly","2.0");return _69.setObject("dojox.charting.Chart2D",_6b);});},"dojox/charting/Series":function(){define("dojox/charting/Series",["dojo/_base/lang","dojo/_base/declare","./Element"],function(_6c,_6d,_6e){return _6d("dojox.charting.Series",_6e,{constructor:function(_6f,_70,_71){_6c.mixin(this,_71);if(typeof this.plot!="string"){this.plot="default";}this.update(_70);},clear:function(){this.dyn={};},update:function(_72){if(_6c.isArray(_72)){this.data=_72;}else{this.source=_72;this.data=this.source.data;if(this.source.setSeriesObject){this.source.setSeriesObject(this);}}this.dirty=true;this.clear();}});});},"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(_73,_74,dom,_75,_76,_77,_78,on,_79,has,_7a,_7b,win,_7c,_7d,_7e,_7f){var _80=_74([_7a,_77],{curNode:null,activeStack:[],constructor:function(){var _81=_78.hitch(this,function(_82){if(dom.isDescendant(this.curNode,_82)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_82)){this.set("prevNode",null);}});_73.before(_76,"empty",_81);_73.before(_76,"destroy",_81);},registerIframe:function(_83){return this.registerWin(_83.contentWindow,_83);},registerWin:function(_84,_85){var _86=this;var _87=function(evt){_86._justMouseDowned=true;setTimeout(function(){_86._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_86._onTouchNode(_85||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_84.document.documentElement:_84.document;if(doc){if(has("ie")){_84.document.body.attachEvent("onmousedown",_87);var _88=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_7d.isTabNavigable(evt.srcElement)){_86._onFocusNode(_85||evt.srcElement);}else{_86._onTouchNode(_85||evt.srcElement);}};doc.attachEvent("onfocusin",_88);var _89=function(evt){_86._onBlurNode(_85||evt.srcElement);};doc.attachEvent("onfocusout",_89);return {remove:function(){_84.document.detachEvent("onmousedown",_87);doc.detachEvent("onfocusin",_88);doc.detachEvent("onfocusout",_89);doc=null;}};}else{doc.body.addEventListener("mousedown",_87,true);doc.body.addEventListener("touchstart",_87,true);var _8a=function(evt){_86._onFocusNode(_85||evt.target);};doc.addEventListener("focus",_8a,true);var _8b=function(evt){_86._onBlurNode(_85||evt.target);};doc.addEventListener("blur",_8b,true);return {remove:function(){doc.body.removeEventListener("mousedown",_87,true);doc.body.removeEventListener("touchstart",_87,true);doc.removeEventListener("focus",_8a,true);doc.removeEventListener("blur",_8b,true);doc=null;}};}}},_onBlurNode:function(_8c){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(_78.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(_78.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(_8d,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _8e=[];try{while(_8d){var _8f=_75.get(_8d,"dijitPopupParent");if(_8f){_8d=_7e.byId(_8f).domNode;}else{if(_8d.tagName&&_8d.tagName.toLowerCase()=="body"){if(_8d===win.body()){break;}_8d=_7c.get(_8d.ownerDocument).frameElement;}else{var id=_8d.getAttribute&&_8d.getAttribute("widgetId"),_90=id&&_7e.byId(id);if(_90&&!(by=="mouse"&&_90.get("disabled"))){_8e.unshift(id);}_8d=_8d.parentNode;}}}}catch(e){}this._setStack(_8e,by);},_onFocusNode:function(_91){if(!_91){return;}if(_91.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(_91);if(_91==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",_91);},_setStack:function(_92,by){var _93=this.activeStack;this.set("activeStack",_92);for(var _94=0;_94<Math.min(_93.length,_92.length);_94++){if(_93[_94]!=_92[_94]){break;}}var _95;for(var i=_93.length-1;i>=_94;i--){_95=_7e.byId(_93[i]);if(_95){_95._hasBeenBlurred=true;_95.set("focused",false);if(_95._focusManager==this){_95._onBlur(by);}this.emit("widget-blur",_95,by);}}for(i=_94;i<_92.length;i++){_95=_7e.byId(_92[i]);if(_95){_95.set("focused",true);if(_95._focusManager==this){_95._onFocus(by);}this.emit("widget-focus",_95,by);}}},focus:function(_96){if(_96){try{_96.focus();}catch(e){}}}});var _97=new _80();_79(function(){var _98=_97.registerWin(_7c.get(win.doc));if(has("ie")){_7b.addOnWindowUnload(function(){if(_98){_98.remove();_98=null;}});}});_7f.focus=function(_99){_97.focus(_99);};for(var _9a in _97){if(!/^_/.test(_9a)){_7f.focus[_9a]=typeof _97[_9a]=="function"?_78.hitch(_97,_9a):_97[_9a];}}_97.watch(function(_9b,_9c,_9d){_7f.focus[_9b]=_9d;});return _97;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_9e,has,_9f,win){_9f(90,function(){if(has("highcontrast")){_9e.add(win.body(),"dijit_a11y");}});return has;});},"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(_a0,_a1,hub,arr,_a2,_a3,_a4,has,_a5,_a6,_a7,_a8,dc,da,_a9,g,m,_aa,df,du,_ab){var _ac=0.2;var _ad=_a1("dojox.charting.plot2d.Spider",[_a5,_a6],{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:_ab.backOut,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_ae,_af){this.opt=_a0.clone(this.defaultParams);du.updateWithObject(this.opt,_af);du.updateWithPattern(this.opt,_af,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(_b0){if(_b0){if(_b0.opt.min!=undefined){this.datas[_b0.name].min=_b0.opt.min;}if(_b0.opt.max!=undefined){this.datas[_b0.name].max=_b0.opt.max;}}return this;},addSeries:function(run){var _b1=false;this.series.push(run);for(var key in run.data){var val=run.data[key],_b2=this.datas[key];if(_b2){_b2.vlist.push(val);_b2.min=Math.min(_b2.min,val);_b2.max=Math.max(_b2.max,val);}else{var _b3="__"+key;this.axes.push(_b3);this[_b3]=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,_b4){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-_b4.l-_b4.r)/2,ry=(dim.height-_b4.t-_b4.b)/2,r=Math.min(rx,ry),_b5=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_b6=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_b7=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_b8=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_b9=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_ba=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_bb=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_bc=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_bd=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_be=g.normalizedLength(g.splitFontString(_b6).size),_bf=m._degToRad(o.startAngle),_c0=_bf,_c1,_c2,_c3,_c4,_c5,_c6,_c7,_c8,_c9,_ca,_cb,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_cc=o.labelOffset<-10?o.labelOffset:-10,_cd=0.2;if(o.labels){_c4=arr.map(this.series,function(s){return s.name;},this);_c5=df.foldl1(df.map(_c4,function(_ce,i){var _cf=t.series.font;return g._base._getTextBox(_ce,{font:_cf}).w;},this),"Math.max(a, b)")/2;r=Math.min(rx-2*_c5,ry-_be)+_cc;_c6=r-_cc;}if("radius" in o){r=o.radius;_c6=r-_cc;}r/=(1+_cd);var _d0={cx:_b4.l+rx,cy:_b4.t+ry,r:r};for(var i=this.series.length-1;i>=0;i--){var _d1=this.series[i];if(!this.dirty&&!_d1.dirty){t.skip();continue;}_d1.cleanGroup();var run=_d1.data;if(run!==null){var len=this._getObjectLength(run);if(!_c7||_c7.length<=0){_c7=[],_c8=[],_cb=[];this._buildPoints(_c7,len,_d0,r,_c0,true);this._buildPoints(_c8,len,_d0,r*ro,_c0,true);this._buildPoints(_cb,len,_d0,_c6,_c0);if(dv>2){_c9=[],_ca=[];for(var j=0;j<dv-2;j++){_c9[j]=[];this._buildPoints(_c9[j],len,_d0,r*(ro+(1-ro)*(j+1)/(dv-1)),_c0,true);_ca[j]=r*(ro+(1-ro)*(j+1)/(dv-1));}}}}}var _d2=s.createGroup(),_d3={color:_b9,width:_bb},_d4={color:_ba,width:_bc};for(var j=_c7.length-1;j>=0;--j){var _d5=_c7[j],st={x:_d5.x+(_d5.x-_d0.cx)*_cd,y:_d5.y+(_d5.y-_d0.cy)*_cd},nd={x:_d5.x+(_d5.x-_d0.cx)*_cd/2,y:_d5.y+(_d5.y-_d0.cy)*_cd/2};_d2.createLine({x1:_d0.cx,y1:_d0.cy,x2:st.x,y2:st.y}).setStroke(_d3);this._drawArrow(_d2,st,nd,_d3);}var _d6=s.createGroup();for(var j=_cb.length-1;j>=0;--j){var _d5=_cb[j],_d7=g._base._getTextBox(this.labelKey[j],{font:_b6}).w||0,_d8=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx",_d9=da.createText[_d8](this.chart,_d6,(!_a2.isBodyLtr()&&_d8=="html")?(_d5.x+_d7-dim.width):_d5.x,_d5.y,"middle",this.labelKey[j],_b6,_b8);if(this.opt.htmlLabels){this.htmlElements.push(_d9);}}var _da=s.createGroup();if(spt=="polygon"){_da.createPolyline(_c7).setStroke(_d4);_da.createPolyline(_c8).setStroke(_d4);if(_c9.length>0){for(var j=_c9.length-1;j>=0;--j){_da.createPolyline(_c9[j]).setStroke(_d4);}}}else{var _db=this._getObjectLength(this.datas);_da.createCircle({cx:_d0.cx,cy:_d0.cy,r:r}).setStroke(_d4);_da.createCircle({cx:_d0.cx,cy:_d0.cy,r:r*ro}).setStroke(_d4);if(_ca.length>0){for(var j=_ca.length-1;j>=0;--j){_da.createCircle({cx:_d0.cx,cy:_d0.cy,r:_ca[j]}).setStroke(_d4);}}}var _dc=s.createGroup(),len=this._getObjectLength(this.datas),k=0;for(var key in this.datas){var _dd=this.datas[key],min=_dd.min,max=_dd.max,_de=max-min,end=_c0+2*Math.PI*k/len;for(var i=0;i<dv;i++){var _df=min+_de*i/(dv-1),_d5=this._getCoordinate(_d0,r*(ro+(1-ro)*i/(dv-1)),end);_df=this._getLabel(_df);var _d7=g._base._getTextBox(_df,{font:_b5}).w||0,_d8=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx";if(this.opt.htmlLabels){this.htmlElements.push(da.createText[_d8](this.chart,_dc,(!_a2.isBodyLtr()&&_d8=="html")?(_d5.x+_d7-dim.width):_d5.x,_d5.y,"start",_df,_b5,_b7));}}k++;}this.chart.seriesShapes={};var _e0=[];for(var i=this.series.length-1;i>=0;i--){var _d1=this.series[i],run=_d1.data;if(run!==null){var _e1=[],k=0,_e2=[];for(var key in run){var _dd=this.datas[key],min=_dd.min,max=_dd.max,_de=max-min,_e3=run[key],end=_c0+2*Math.PI*k/len,_d5=this._getCoordinate(_d0,r*(ro+(1-ro)*(_e3-min)/_de),end);_e1.push(_d5);_e2.push({sname:_d1.name,key:key,data:_e3});k++;}_e1[_e1.length]=_e1[0];_e2[_e2.length]=_e2[0];var _e4=this._getBoundary(_e1),_e5=t.next("spider",[o,_d1]),ts=_d1.group,f=g.normalizeColor(_e5.series.fill),sk={color:_e5.series.fill,width:_bd};f.a=o.seriesFillAlpha;_d1.dyn={fill:f,stroke:sk};var _e6=this.oldSeriePoints[_d1.name];var cs=this._createSeriesEntry(ts,(_e6||_c8),_e1,f,sk,r,ro,ms,at);this.chart.seriesShapes[_d1.name]=cs;this.oldSeriePoints[_d1.name]=_e1;var po={element:"spider_poly",index:i,id:"spider_poly_"+_d1.name,run:_d1,plot:this,shape:cs.poly,parent:ts,brect:_e4,cx:_d0.cx,cy:_d0.cy,cr:r,f:f,s:s};this._connectEvents(po);var so={element:"spider_plot",index:i,id:"spider_plot_"+_d1.name,run:_d1,plot:this,shape:_d1.group};this._connectEvents(so);arr.forEach(cs.circles,function(c,i){var _e7=c.getShape(),co={element:"spider_circle",index:i,id:"spider_circle_"+_d1.name+i,run:_d1,plot:this,shape:c,parent:ts,tdata:_e2[i],cx:_e1[i].x,cy:_e1[i].y,f:f,s:s};this._connectEvents(co);},this);}}return this;},_createSeriesEntry:function(ts,_e8,sps,f,sk,r,ro,ms,at){var _e9=ts.createPolyline(_e8).setFill(f).setStroke(sk),_ea=[];for(var j=0;j<_e8.length;j++){var _eb=_e8[j],cr=ms;var _ec=ts.createCircle({cx:_eb.x,cy:_eb.y,r:cr}).setFill(f).setStroke(sk);_ea.push(_ec);}var _ed=arr.map(sps,function(np,j){var sp=_e8[j],_ee=new _a3.Animation({duration:1000,easing:at,curve:[sp.y,np.y]});var spl=_e9,sc=_ea[j];hub.connect(_ee,"onAnimate",function(y){var _ef=spl.getShape();_ef.points[j].y=y;spl.setShape(_ef);var _f0=sc.getShape();_f0.cy=y;sc.setShape(_f0);});return _ee;});var _f1=arr.map(sps,function(np,j){var sp=_e8[j],_f2=new _a3.Animation({duration:1000,easing:at,curve:[sp.x,np.x]});var spl=_e9,sc=_ea[j];hub.connect(_f2,"onAnimate",function(x){var _f3=spl.getShape();_f3.points[j].x=x;spl.setShape(_f3);var _f4=sc.getShape();_f4.cx=x;sc.setShape(_f4);});return _f2;});var _f5=_a4.combine(_ed.concat(_f1));_f5.play();return {group:ts,poly:_e9,circles:_ea};},plotEvent:function(o){var _f6=o.id?o.id:"default",a;if(_f6 in this.animations){a=this.animations[_f6];a.anim&&a.anim.stop(true);}else{a=this.animations[_f6]={};}if(o.element=="spider_poly"){if(!a.color){var _f7=o.shape.getFill();if(!_f7||!(_f7 instanceof _a7)){return;}a.color={start:_f7,end:_f8(_f7)};}var _f9=a.color.start,end=a.color.end;if(o.type=="onmouseout"){var t=_f9;_f9=end;end=t;}a.anim=_aa.animateFill({shape:o.shape,duration:800,easing:_ab.backOut,color:{start:_f9,end:end}});a.anim.play();}else{if(o.element=="spider_circle"){var _fa,_fb,_fc=1.5;if(o.type=="onmouseover"){_fa=m.identity;_fb=_fc;var _fd={type:"rect"};_fd.x=o.cx;_fd.y=o.cy;_fd.w=_fd.h=1;var lt=this.chart.getCoords();_fd.x+=lt.x;_fd.y+=lt.y;_fd.x=Math.round(_fd.x);_fd.y=Math.round(_fd.y);this.aroundRect=_fd;var _fe=["after-centered","before-centered"];dc.doIfLoaded("dijit/Tooltip",_a0.hitch(this,function(_ff){_ff.show(o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data,this.aroundRect,_fe);}));}else{_fa=m.scaleAt(_fc,o.cx,o.cy);_fb=1/_fc;dc.doIfLoaded("dijit/Tooltip",_a0.hitch(this,function(_100){this.aroundRect&&_100.hide(this.aroundRect);}));}var cs=o.shape.getShape(),_fa=m.scaleAt(_fc,cs.cx,cs.cy),_101={shape:o.shape,duration:200,easing:_ab.backOut,transform:[{name:"scaleAt",start:[1,cs.cx,cs.cy],end:[_fb,cs.cx,cs.cy]},_fa]};a.anim=_aa.animateTransform(_101);a.anim.play();}else{if(o.element=="spider_plot"){if(o.type=="onmouseover"&&!has("ie")){o.shape.moveToFront();}}}}},_getBoundary:function(_102){var xmax=_102[0].x,xmin=_102[0].x,ymax=_102[0].y,ymin=_102[0].y;for(var i=0;i<_102.length;i++){var _103=_102[i];xmax=Math.max(_103.x,xmax);ymax=Math.max(_103.y,ymax);xmin=Math.min(_103.x,xmin);ymin=Math.min(_103.y,ymin);}return {x:xmin,y:ymin,width:xmax-xmin,height:ymax-ymin};},_drawArrow:function(s,_104,end,_105){var len=Math.sqrt(Math.pow(end.x-_104.x,2)+Math.pow(end.y-_104.y,2)),sin=(end.y-_104.y)/len,cos=(end.x-_104.x)/len,_106={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_107={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};s.createPolyline([_104,_106,_107]).setFill(_105.color).setStroke(_105);},_buildPoints:function(_108,_109,_10a,_10b,_10c,_10d){for(var i=0;i<_109;i++){var end=_10c+2*Math.PI*i/_109;_108.push(this._getCoordinate(_10a,_10b,end));}if(_10d){_108.push(this._getCoordinate(_10a,_10b,_10c+2*Math.PI));}},_getCoordinate:function(_10e,_10f,_110){return {x:_10e.cx+_10f*Math.cos(_110),y:_10e.cy+_10f*Math.sin(_110)};},_getObjectLength:function(obj){var _111=0;if(_a0.isObject(obj)){for(var key in obj){_111++;}}return _111;},_getLabel:function(_112){return dc.getLabel(_112,this.opt.fixed,this.opt.precision);}});function _f8(_113){var a=new _a8.Color(_113),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 _113=_a8.fromHsl(x);_113.a=0.7;return _113;};return _ad;});},"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(_114,lang,_115,has,win,arr,dom,_116,_117){var g=lang.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(node,_118){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_118+" ")>=0;};g._addClass=function(node,_119){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_119+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_119);}};g._removeClass=function(node,_11a){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_11a+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _11b={"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;if(has("ie")){win.doc.documentElement.style.fontSize="100%";}var div=_116.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 _11b){div.style.fontSize=p;_11b[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}win.body().removeChild(div);return _11b;};var _11c=null;b._getCachedFontMeasurements=function(_11d){if(_11d||!_11c){_11c=b._getFontMeasurements();}return _11c;};var _11e=null,_11f={};b._getTextBox=function(text,_120,_121){var m,s,al=arguments.length;var i;if(!_11e){_11e=_116.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_11e;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_120){for(i in _120){if(i in _11f){continue;}s[i]=_120[i];}}if(al>2&&_121){m.className=_121;}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 _117.getMarginBox(m);}};var _122=0;b._getUniqueId=function(){var id;do{id=_114._scopeName+"xUnique"+(++_122);}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 _123={};return function(type){var t=_123[type];if(t){return new t();}t=_123[type]=new Function();t.prototype=g["default"+type];return new t();};})(),normalizeColor:function(_124){return (_124 instanceof _115)?_124:new _115(_124);},normalizeParameters:function(_125,_126){var x;if(_126){var _127={};for(x in _125){if(x in _126&&!(x in _127)){_125[x]=_126[x];}}}return _125;},makeParameters:function(_128,_129){var i=null;if(!_129){return lang.delegate(_128);}var _12a={};for(i in _128){if(!(i in _12a)){_12a[i]=lang.clone((i in _129)?_129[i]:_128[i]);}}return _12a;},formatNumber:function(x,_12b){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _12c=val.indexOf(".");if(_12c>=0&&val.length-_12c>5){val=x.toFixed(4);}}if(x<0){return val;}return _12b?" "+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 _12d=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_12d;case "in":return val*72*_12d;case "pc":return val*12*_12d;case "mm":return val*g.mm_in_pt*_12d;case "cm":return val*g.cm_in_pt*_12d;}}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(_12e){var ns=typeof _12e=="string"?g[_12e]:_12e;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;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_12f,lang,_130,when){return _12f("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(_131){if(_131){this.set(_131);}},_get:function(name,_132){return typeof this[_132.g]==="function"?this[_132.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_133){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _134=this._getAttrNames(name),_135=this._get(name,_134),_136=this[_134.s],_137;if(typeof _136==="function"){_137=_136.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_133;}if(this._watchCallbacks){var self=this;when(_137,function(){self._watchCallbacks(name,_135,_133);});}return this;},_changeAttrValue:function(name,_138){var _139=this.get(name);this[name]=_138;if(this._watchCallbacks){this._watchCallbacks(name,_139,_138);}return this;},watch:function(name,_13a){var _13b=this._watchCallbacks;if(!_13b){var self=this;_13b=this._watchCallbacks=function(name,_13c,_13d,_13e){var _13f=function(_140){if(_140){_140=_140.slice();for(var i=0,l=_140.length;i<l;i++){_140[i].call(self,name,_13c,_13d);}}};_13f(_13b["_"+name]);if(!_13e){_13f(_13b["*"]);}};}if(!_13a&&typeof name==="function"){_13a=name;name="*";}else{name="_"+name;}var _141=_13b[name];if(typeof _141!=="object"){_141=_13b[name]=[];}_141.push(_13a);var _142={};_142.unwatch=_142.remove=function(){var _143=_130.indexOf(_141,_13a);if(_143>-1){_141.splice(_143,1);}};return _142;}});});},"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(lang,_144,Base,lin,g,du){return _144("dojox.charting.axis2d.Invisible",Base,{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(_145,_146){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_146);du.updateWithPattern(this.opt,_146,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(_147,_148){this.scale=_147;this.offset=_148;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,span){if(this.initialized()){return this;}var o=this.opt;this.labels=o.labels;this.scaler=lin.buildScaler(min,max,span,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,span,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/charting/action2d/MoveSlice":function(){define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(hub,_149,_14a,dfe,m,gf,df,dfs,dff){var _14b=1.05,_14c=7;return _149("dojox.charting.action2d.MoveSlice",_14a,{defaultParams:{duration:400,easing:dfe.backOut,scale:_14b,shift:_14c},optionalParams:{},constructor:function(_14d,plot,_14e){if(!_14e){_14e={};}this.scale=typeof _14e.scale=="number"?_14e.scale:_14b;this.shift=typeof _14e.shift=="number"?_14e.shift:_14c;this.connect();},process:function(o){if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){return;}if(!this.angles){var _14f=m._degToRad(o.plot.opt.startAngle);if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",_14f),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",_14f),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _150=o.index,anim,_151,_152,_153,_154,_155=(this.angles[_150]+this.angles[_150+1])/2,_156=m.rotateAt(-_155,o.cx,o.cy),_157=m.rotateAt(_155,o.cx,o.cy);anim=this.anim[_150];if(anim){anim.action.stop(true);}else{this.anim[_150]=anim={};}if(o.type=="onmouseover"){_153=0;_154=this.shift;_151=1;_152=this.scale;}else{_153=this.shift;_154=0;_151=this.scale;_152=1;}anim.action=gf.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_157,{name:"translate",start:[_153,0],end:[_154,0]},{name:"scaleAt",start:[_151,o.cx,o.cy],end:[_152,o.cx,o.cy]},_156]});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){delete this.anim[_150];});}anim.action.play();},reset:function(){delete this.angles;}});});},"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,_158,_159,m,gf,df,dfe){var _15a=2;return _158("dojox.charting.action2d.Magnify",_159,{defaultParams:{duration:400,easing:dfe.backOut,scale:_15a},optionalParams:{},constructor:function(_15b,plot,_15c){this.scale=_15c&&typeof _15c.scale=="number"?_15c.scale:_15a;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){return;}var _15d=o.run.name,_15e=o.index,_15f=[],anim,init,_160;if(_15d in this.anim){anim=this.anim[_15d][_15e];}else{this.anim[_15d]={};}if(anim){anim.action.stop(true);}else{this.anim[_15d][_15e]=anim={};}if(o.type=="onmouseover"){init=m.identity;_160=this.scale;}else{init=m.scaleAt(this.scale,o.cx,o.cy);_160=1/this.scale;}var _161={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_160,o.cx,o.cy]},init]};if(o.shape){_15f.push(gf.animateTransform(_161));}if(o.outline){_161.shape=o.outline;_15f.push(gf.animateTransform(_161));}if(o.shadow){_161.shape=o.shadow;_15f.push(gf.animateTransform(_161));}if(!_15f.length){delete this.anim[_15d][_15e];return;}anim.action=df.combine(_15f);if(o.type=="onmouseout"){Hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_15d]){delete this.anim[_15d][_15e];}});}anim.action.play();}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-construct","./dom-style","./has","./ready","./_base/window"],function(_162,_163,_164,_165,_166,has,_167,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("+(_163.blankGif||_162.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_166.getComputedStyle(div),_168=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_168&&(_168=="none"||_168=="url(invalid-url:)"));_165.destroy(div);return hc;});_167(90,function(){if(has("highcontrast")){_164.add(win.body(),"dj_a11y");}});return has;});},"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,_169,_16a,gfx,_16b,df,dfa,dff,dom,_16c,_16d,_16e){var _16f=/\.(StackedColumns|StackedAreas|ClusteredBars)$/;return _169("dojox.charting.widget.Legend",_16a,{chartRef:"",horizontal:true,swatchSize:18,legendBody:null,postCreate:function(){if(!this.chart&&this.chartRef){this.chart=_16e.byId(this.chartRef)||_16e.byNode(dom.byId(this.chartRef));if(!this.chart){}}this.chart=this.chart.chart||this.chart;this.refresh();},buildRendering:function(){this.domNode=_16c.create("table",{role:"group","aria-label":"chart legend","class":"dojoxLegendNode"});this.legendBody=_16c.create("tbody",null,this.domNode);this.inherited(arguments);},destroy:function(){if(this._surfaces){_16b.forEach(this._surfaces,function(_170){_170.destroy();});}this.inherited(arguments);},refresh:function(){if(this._surfaces){_16b.forEach(this._surfaces,function(_171){_171.destroy();});}this._surfaces=[];while(this.legendBody.lastChild){_16c.destroy(this.legendBody.lastChild);}if(this.horizontal){_16d.add(this.domNode,"dojoxLegendHorizontal");this._tr=_16c.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 _172=df.map(t.run.data,"Math.max(x, 0)");var _173=df.map(_172,"/this",df.foldl(_172,"+",0));_16b.forEach(_173,function(x,i){this._addLabel(t.dyn[i],t._getLabel(x*100)+"%");},this);}else{_16b.forEach(t.run.data,function(x,i){this._addLabel(t.dyn[i],x.legend||x.text||x.y);},this);}}else{if(this._isReversal()){s=s.slice(0).reverse();}_16b.forEach(s,function(x){this._addLabel(x.dyn,x.legend||x.name);},this);}},_addLabel:function(dyn,_174){var _175=_16c.create("td"),icon=_16c.create("div",null,_175),text=_16c.create("label",null,_175),div=_16c.create("div",{style:{"width":this.swatchSize+"px","height":this.swatchSize+"px","float":"left"}},icon);_16d.add(icon,"dojoxLegendIcon dijitInline");_16d.add(text,"dojoxLegendText");if(this._tr){this._tr.appendChild(_175);if(++this._inrow===this.horizontal){this._tr=_16c.create("tr",null,this.legendBody);this._inrow=0;}}else{var tr=_16c.create("tr",null,this.legendBody);tr.appendChild(_175);}this._makeIcon(div,dyn);text.innerHTML=String(_174);text.dir=this.getTextDir(_174,text.dir);},_makeIcon:function(div,dyn){var mb={h:this.swatchSize,w:this.swatchSize};var _176=gfx.createSurface(div,mb.w,mb.h);this._surfaces.push(_176);if(dyn.fill){_176.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){_176.createLine(line).setStroke(dyn.stroke);}if(dyn.marker){var c={x:mb.w/2,y:mb.h/2};_176.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.markerFill).setStroke(dyn.markerStroke);}}else{_176.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setStroke("black");_176.createLine({x1:2,y1:2,x2:mb.w-2,y2:mb.h-2}).setStroke("black");_176.createLine({x1:2,y1:mb.h-2,x2:mb.w-2,y2:2}).setStroke("black");}}},_isReversal:function(){return (!this.horizontal)&&_16b.some(this.chart.stack,function(item){return _16f.test(item.declaredClass);});}});});},"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,_177,g,df,sc){var _178=lang.getObject("dojox.charting.plot2d.common",true);return lang.mixin(_178,{doIfLoaded:sc.doIfLoaded,makeStroke:function(_179){if(!_179){return _179;}if(typeof _179=="string"||_179 instanceof _177){_179={color:_179};}return g.makeParameters(g.defaultStroke,_179);},augmentColor:function(_17a,_17b){var t=new _177(_17a),c=new _177(_17b);c.a=t.a;return c;},augmentStroke:function(_17c,_17d){var s=_178.makeStroke(_17c);if(s){s.color=_178.augmentColor(s.color,_17d);}return s;},augmentFill:function(fill,_17e){var fc,c=new _177(_17e);if(typeof fill=="string"||fill instanceof _177){return _178.augmentColor(fill,_17e);}return fill;},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_17f){var _180=lang.delegate(_178.defaultStats);for(var i=0;i<_17f.length;++i){var run=_17f[i];for(var j=0;j<run.data.length;j++){if(run.data[j]!==null){if(typeof run.data[j]=="number"){var _181=_180.vmin,_182=_180.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;}_180.hmin=Math.min(_180.hmin,x);_180.hmax=Math.max(_180.hmax,x);_180.vmin=Math.min(_180.vmin,y);_180.vmax=Math.max(_180.vmax,y);}});}if("ymin" in run){_180.vmin=Math.min(_181,run.ymin);}if("ymax" in run){_180.vmax=Math.max(_182,run.ymax);}}else{var _183=_180.hmin,_184=_180.hmax,_181=_180.vmin,_182=_180.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;}_180.hmin=Math.min(_180.hmin,x);_180.hmax=Math.max(_180.hmax,x);_180.vmin=Math.min(_180.vmin,y);_180.vmax=Math.max(_180.vmax,y);}});}if("xmin" in run){_180.hmin=Math.min(_183,run.xmin);}if("xmax" in run){_180.hmax=Math.max(_184,run.xmax);}if("ymin" in run){_180.vmin=Math.min(_181,run.ymin);}if("ymax" in run){_180.vmax=Math.max(_182,run.ymax);}}break;}}}return _180;},calculateBarSize:function(_185,opt,_186){if(!_186){_186=1;}var gap=opt.gap,size=(_185-2*gap)/_186;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=(_185-size*_186)/2;return {size:size,gap:gap};},collectStackedStats:function(_187){var _188=lang.clone(_178.defaultStats);if(_187.length){_188.hmin=Math.min(_188.hmin,1);_188.hmax=df.foldl(_187,"seed, run -> Math.max(seed, run.data.length)",_188.hmax);for(var i=0;i<_188.hmax;++i){var v=_187[0].data[i];v=v&&(typeof v=="number"?v:v.y);if(isNaN(v)){v=0;}_188.vmin=Math.min(_188.vmin,v);for(var j=1;j<_187.length;++j){var t=_187[j].data[i];t=t&&(typeof t=="number"?t:t.y);if(isNaN(t)){t=0;}v+=t;}_188.vmax=Math.max(_188.vmax,v);}}return _188;},curve:function(a,_189){var _18a=a.slice(0);if(_189=="x"){_18a[_18a.length]=_18a[0];}var p=arr.map(_18a,function(item,i){if(i==0){return "M"+item.x+","+item.y;}if(!isNaN(_189)){var dx=item.x-_18a[i-1].x,dy=_18a[i-1].y;return "C"+(item.x-(_189-1)*(dx/_189))+","+dy+" "+(item.x-(dx/_189))+","+item.y+" "+item.x+","+item.y;}else{if(_189=="X"||_189=="x"||_189=="S"){var p0,p1=_18a[i-1],p2=_18a[i],p3;var bz1x,bz1y,bz2x,bz2y;var f=1/6;if(i==1){if(_189=="x"){p0=_18a[_18a.length-2];}else{p0=p1;}f=1/3;}else{p0=_18a[i-2];}if(i==(_18a.length-1)){if(_189=="x"){p3=_18a[1];}else{p3=p2;}f=1/3;}else{p3=_18a[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 _18b=p0p2*f;var _18c=p1p3*f;if(_18b>p1p2/2&&_18c>p1p2/2){_18b=p1p2/2;_18c=p1p2/2;}else{if(_18b>p1p2/2){_18b=p1p2/2;_18c=p1p2/2*p1p3/p0p2;}else{if(_18c>p1p2/2){_18c=p1p2/2;_18b=p1p2/2*p0p2/p1p3;}}}if(_189=="S"){if(p0==p1){_18b=0;}if(p2==p3){_18c=0;}}bz1x=p1.x+_18b*(p2.x-p0.x)/p0p2;bz1y=p1.y+_18b*(p2.y-p0.y)/p0p2;bz2x=p2.x-_18c*(p3.x-p1.x)/p1p3;bz2y=p2.y-_18c*(p3.y-p1.y)/p1p3;}}return "C"+(bz1x+","+bz1y+" "+bz2x+","+bz2y+" "+p2.x+","+p2.y);});return p.join(" ");},getLabel:function(_18d,_18e,_18f){return sc.doIfLoaded("dojo/number",function(_190){return (_18e?_190.format(_18d,{places:_18f}):_190.format(_18d))||"";},function(){return _18e?_18d.toFixed(_18f):_18d.toString();});}});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"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,_191,_192,has,_193,arr,_194,_195,_196){var _197=g.shape={};var _198={};var _199={};_197.register=function(s){var t=s.declaredClass.split(".").pop();var i=t in _198?++_198[t]:((_198[t]=0));var uid=t+i;_199[uid]=s;return uid;};_197.byId=function(id){return _199[id];};_197.dispose=function(s){delete _199[s.getUID()];};_197.Shape=_191("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=_197.register(this);this.getUID=function(){return uid;};},destroy:function(){_197.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=_196;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(_19a){this.shape=g.makeParameters(this.shape,_19a);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(_19b){if(!_19b){this.strokeStyle=null;return this;}if(typeof _19b=="string"||lang.isArray(_19b)||_19b instanceof _195){_19b={color:_19b};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_19b);s.color=g.normalizeColor(s.color);return this;},setTransform:function(_19c){this.matrix=_196.clone(_19c?_196.normalize(_19c):_196.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(_19d){return _19d?this.setTransform([this.matrix,_19d]):this;},applyLeftTransform:function(_19e){return _19e?this.setTransform([_19e,this.matrix]):this;},applyTransform:function(_19f){return _19f?this.setTransform([this.matrix,_19f]):this;},removeShape:function(_1a0){if(this.parent){this.parent.remove(this,_1a0);}return this;},_setParent:function(_1a1,_1a2){this.parent=_1a1;return this._updateParentMatrix(_1a2);},_updateParentMatrix:function(_1a3){this.parentMatrix=_1a3?_196.clone(_1a3):null;return this._applyTransform();},_getRealMatrix:function(){var m=this.matrix;var p=this.parent;while(p){if(p.matrix){m=_196.multiply(p.matrix,m);}p=p.parent;}return m;}});_197._eventsProcessing={connect:function(name,_1a4,_1a5){return _193.connect(this.getEventSource(),name,_197.fixCallback(this,g.fixTarget,_1a4,_1a5));},disconnect:function(_1a6){_193.disconnect(_1a6);}};_197.fixCallback=function(_1a7,_1a8,_1a9,_1aa){if(!_1aa){_1aa=_1a9;_1a9=null;}if(lang.isString(_1aa)){_1a9=_1a9||_192.global;if(!_1a9[_1aa]){throw (["dojox.gfx.shape.fixCallback: scope[\"",_1aa,"\"] is null (scope=\"",_1a9,"\")"].join(""));}return function(e){return _1a8(e,_1a7)?_1a9[_1aa].apply(_1a9,arguments||[]):undefined;};}return !_1a9?function(e){return _1a8(e,_1a7)?_1aa.apply(_1a9,arguments):undefined;}:function(e){return _1a8(e,_1a7)?_1aa.apply(_1a9,arguments||[]):undefined;};};lang.extend(_197.Shape,_197._eventsProcessing);_197.Container={_init:function(){this.children=[];},openBatch:function(){},closeBatch:function(){},add:function(_1ab){var _1ac=_1ab.getParent();if(_1ac){_1ac.remove(_1ab,true);}this.children.push(_1ab);return _1ab._setParent(this,this._getRealMatrix());},remove:function(_1ad,_1ae){for(var i=0;i<this.children.length;++i){if(this.children[i]==_1ad){if(_1ae){}else{_1ad.parent=null;_1ad.parentMatrix=null;}this.children.splice(i,1);break;}}return this;},clear:function(_1af){var _1b0;for(var i=0;i<this.children.length;++i){_1b0=this.children[i];_1b0.parent=null;_1b0.parentMatrix=null;if(_1af){_1b0.destroy();}}this.children=[];return this;},getBoundingBox:function(){if(this.children){var _1b1=null;arr.forEach(this.children,function(_1b2){var bb=_1b2.getBoundingBox();if(bb){var ct=_1b2.getTransform();if(ct){bb=_196.multiplyRectangle(ct,bb);}if(_1b1){_1b1.x=Math.min(_1b1.x,bb.x);_1b1.y=Math.min(_1b1.y,bb.y);_1b1.endX=Math.max(_1b1.endX,bb.x+bb.width);_1b1.endY=Math.max(_1b1.endY,bb.y+bb.height);}else{_1b1={x:bb.x,y:bb.y,endX:bb.x+bb.width,endY:bb.y+bb.height};}}});if(_1b1){_1b1.width=_1b1.endX-_1b1.x;_1b1.height=_1b1.endY-_1b1.y;}return _1b1;}return null;},_moveChildToFront:function(_1b3){for(var i=0;i<this.children.length;++i){if(this.children[i]==_1b3){this.children.splice(i,1);this.children.push(_1b3);break;}}return this;},_moveChildToBack:function(_1b4){for(var i=0;i<this.children.length;++i){if(this.children[i]==_1b4){this.children.splice(i,1);this.children.unshift(_1b4);break;}}return this;}};_197.Surface=_191("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null;this._parent=null;this._nodes=[];this._events=[];},destroy:function(){arr.forEach(this._nodes,_194.destroy);this._nodes=[];arr.forEach(this._events,_193.disconnect);this._events=[];this.rawNode=null;if(has("ie")){while(this._parent.lastChild){_194.destroy(this._parent.lastChild);}}else{this._parent.innerHTML="";}this._parent=null;},getEventSource:function(){return this.rawNode;},_getRealMatrix:function(){return null;},isLoaded:true,onLoad:function(_1b5){},whenLoaded:function(_1b6,_1b7){var f=lang.hitch(_1b6,_1b7);if(this.isLoaded){f(this);}else{var h=_193.connect(this,"onLoad",function(_1b8){_193.disconnect(h);f(_1b8);});}}});lang.extend(_197.Surface,_197._eventsProcessing);_197.Rect=_191("dojox.gfx.shape.Rect",_197.Shape,{constructor:function(_1b9){this.shape=g.getDefault("Rect");this.rawNode=_1b9;},getBoundingBox:function(){return this.shape;}});_197.Ellipse=_191("dojox.gfx.shape.Ellipse",_197.Shape,{constructor:function(_1ba){this.shape=g.getDefault("Ellipse");this.rawNode=_1ba;},getBoundingBox:function(){if(!this.bbox){var _1bb=this.shape;this.bbox={x:_1bb.cx-_1bb.rx,y:_1bb.cy-_1bb.ry,width:2*_1bb.rx,height:2*_1bb.ry};}return this.bbox;}});_197.Circle=_191("dojox.gfx.shape.Circle",_197.Shape,{constructor:function(_1bc){this.shape=g.getDefault("Circle");this.rawNode=_1bc;},getBoundingBox:function(){if(!this.bbox){var _1bd=this.shape;this.bbox={x:_1bd.cx-_1bd.r,y:_1bd.cy-_1bd.r,width:2*_1bd.r,height:2*_1bd.r};}return this.bbox;}});_197.Line=_191("dojox.gfx.shape.Line",_197.Shape,{constructor:function(_1be){this.shape=g.getDefault("Line");this.rawNode=_1be;},getBoundingBox:function(){if(!this.bbox){var _1bf=this.shape;this.bbox={x:Math.min(_1bf.x1,_1bf.x2),y:Math.min(_1bf.y1,_1bf.y2),width:Math.abs(_1bf.x2-_1bf.x1),height:Math.abs(_1bf.y2-_1bf.y1)};}return this.bbox;}});_197.Polyline=_191("dojox.gfx.shape.Polyline",_197.Shape,{constructor:function(_1c0){this.shape=g.getDefault("Polyline");this.rawNode=_1c0;},setShape:function(_1c1,_1c2){if(_1c1&&_1c1 instanceof Array){this.inherited(arguments,[{points:_1c1}]);if(_1c2&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.inherited(arguments,[_1c1]);}return this;},_normalizePoints:function(){var p=this.shape.points,l=p&&p.length;if(l&&typeof p[0]=="number"){var _1c3=[];for(var i=0;i<l;i+=2){_1c3.push({x:p[i],y:p[i+1]});}this.shape.points=_1c3;}},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;}});_197.Image=_191("dojox.gfx.shape.Image",_197.Shape,{constructor:function(_1c4){this.shape=g.getDefault("Image");this.rawNode=_1c4;},getBoundingBox:function(){return this.shape;},setStroke:function(){return this;},setFill:function(){return this;}});_197.Text=_191(_197.Shape,{constructor:function(_1c5){this.fontStyle=null;this.shape=g.getDefault("Text");this.rawNode=_1c5;},getFont:function(){return this.fontStyle;},setFont:function(_1c6){this.fontStyle=typeof _1c6=="string"?g.splitFontString(_1c6):g.makeParameters(g.defaultFont,_1c6);this._setFont();return this;}});_197.Creator={createShape:function(_1c7){switch(_1c7.type){case g.defaultPath.type:return this.createPath(_1c7);case g.defaultRect.type:return this.createRect(_1c7);case g.defaultCircle.type:return this.createCircle(_1c7);case g.defaultEllipse.type:return this.createEllipse(_1c7);case g.defaultLine.type:return this.createLine(_1c7);case g.defaultPolyline.type:return this.createPolyline(_1c7);case g.defaultImage.type:return this.createImage(_1c7);case g.defaultText.type:return this.createText(_1c7);case g.defaultTextPath.type:return this.createTextPath(_1c7);}return null;},createGroup:function(){return this.createObject(g.Group);},createRect:function(rect){return this.createObject(g.Rect,rect);},createEllipse:function(_1c8){return this.createObject(g.Ellipse,_1c8);},createCircle:function(_1c9){return this.createObject(g.Circle,_1c9);},createLine:function(line){return this.createObject(g.Line,line);},createPolyline:function(_1ca){return this.createObject(g.Polyline,_1ca);},createImage:function(_1cb){return this.createObject(g.Image,_1cb);},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(_1cc,_1cd){return null;}};return _197;});},"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,_1ce,keys,_1cf,has,_1d0,win,_1d1){var ret=_1cf("dijit._OnDijitClickMixin",null,{connect:function(obj,_1d2,_1d3){return this.inherited(arguments,[obj,_1d2=="ondijitclick"?_1d1:_1d2,_1d3]);}});ret.a11yclick=_1d1;return ret;});},"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,_1d4,lang,_1d5,_1d6,_1d7,m,df,dfs,dff){var _1d8=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 _1d5("dojox.charting.action2d.Tooltip",_1d7,{defaultParams:{text:_1d8},optionalParams:{},constructor:function(_1d9,plot,_1da){this.text=_1da&&_1da.text?_1da.text:_1d8;this.connect();},process:function(o){if(o.type==="onplotreset"||o.type==="onmouseout"){_1d4.hide(this.aroundRect);this.aroundRect=null;if(o.type==="onplotreset"){delete this.angles;}return;}if(!o.shape||o.type!=="onmouseover"){return;}var _1db={type:"rect"},_1dc=["after-centered","before-centered"];switch(o.element){case "marker":_1db.x=o.cx;_1db.y=o.cy;_1db.w=_1db.h=1;break;case "circle":_1db.x=o.cx-o.cr;_1db.y=o.cy-o.cr;_1db.w=_1db.h=2*o.cr;break;case "spider_circle":_1db.x=o.cx;_1db.y=o.cy;_1db.w=_1db.h=1;break;case "spider_plot":return;case "column":_1dc=["above-centered","below-centered"];case "bar":_1db=lang.clone(o.shape.getShape());_1db.w=_1db.width;_1db.h=_1db.height;break;case "candlestick":_1db.x=o.x;_1db.y=o.y;_1db.w=o.width;_1db.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 _1dd=m._degToRad(o.plot.opt.startAngle),_1de=(this.angles[o.index]+this.angles[o.index+1])/2+_1dd;_1db.x=o.cx+o.cr*Math.cos(_1de);_1db.y=o.cy+o.cr*Math.sin(_1de);_1db.w=_1db.h=1;if(_1de<pi4){}else{if(_1de<pi2+pi4){_1dc=["below-centered","above-centered"];}else{if(_1de<Math.PI+pi4){_1dc=["before-centered","after-centered"];}else{if(_1de<2*Math.PI-pi4){_1dc=["above-centered","below-centered"];}}}}break;}var lt=this.chart.getCoords();_1db.x+=lt.x;_1db.y+=lt.y;_1db.x=Math.round(_1db.x);_1db.y=Math.round(_1db.y);_1db.w=Math.ceil(_1db.w);_1db.h=Math.ceil(_1db.h);this.aroundRect=_1db;var _1df=this.text(o);if(this.chart.getTextDir){var _1e0=(_1d6.get(this.chart.node,"direction")=="rtl");var _1e1=(this.chart.getTextDir(_1df)=="rtl");}if(_1df){if(_1e1&&!_1e0){_1d4.show("<span dir = 'rtl'>"+_1df+"</span>",this.aroundRect,_1dc);}else{if(!_1e1&&_1e0){_1d4.show("<span dir = 'ltr'>"+_1df+"</span>",this.aroundRect,_1dc);}else{_1d4.show(_1df,this.aroundRect,_1dc);}}}}});});},"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(lang,_1e2,_1e3,_1e4,_1e5,_1e6,_1e7,_1e8){_1e3("dojox.charting.widget.Sparkline",_1e5,{theme:_1e6,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||!_1e4("> .axis, > .plot, > .action, > .series",n).length){var plot=document.createElement("div");_1e8.set(plot,{"class":"plot","name":"default","type":this.type});n.appendChild(plot);var _1e9=document.createElement("div");_1e8.set(_1e9,{"class":"series",plot:"default",name:this.name,start:this.start,count:this.count,valueFn:this.valueFn});_1e2.forEach(["store","field","query","queryOptions","sort","data"],function(i){if(this[i].length){_1e8.set(_1e9,i,this[i]);}},this);n.appendChild(_1e9);}this.inherited(arguments);}});});},"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,_1ea,hub,arr,_1eb,dc,du,fx){return _1ea("dojox.charting.plot2d.Grid",_1eb,{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(_1ec,_1ed){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_1ed);du.updateWithPattern(this.opt,_1ed,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(_1ee,_1ef){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_1ef);_1ee.add(line);}else{line=_1ee.createLine(_1ef);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_1f0){if(this.zoom){return this.performZoom(dim,_1f0);}this.dirty=this.isDirty();if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme,_1f1;var _1f2=this.opt.renderOnAxis;if(this._vAxis){var _1f3=this._vAxis.getScaler();if(_1f3){var vt=_1f3.scaler.getTransformerFromModel(_1f3);var _1f4;_1f4=this._vAxis.getTicks();if(_1f4!=null){if(this.opt.hMinorLines){_1f1=this.opt.minorHLine||(ta.grid&&ta.grid.minorLine)||ta.axis.minorTick;arr.forEach(_1f4.minor,function(tick){if(!_1f2&&tick.value==(this._vAxis.opt.leftBottom?_1f3.bounds.from:_1f3.bounds.to)){return;}var y=dim.height-_1f0.b-vt(tick.value);var _1f5=this.createLine(s,{x1:_1f0.l,y1:y,x2:dim.width-_1f0.r,y2:y}).setStroke(_1f1);if(this.animate){this._animateGrid(_1f5,"h",_1f0.l,_1f0.r+_1f0.l-dim.width);}},this);}if(this.opt.hMajorLines){_1f1=this.opt.majorHLine||(ta.grid&&ta.grid.majorLine)||ta.axis.majorTick;arr.forEach(_1f4.major,function(tick){if(!_1f2&&tick.value==(this._vAxis.opt.leftBottom?_1f3.bounds.from:_1f3.bounds.to)){return;}var y=dim.height-_1f0.b-vt(tick.value);var _1f6=this.createLine(s,{x1:_1f0.l,y1:y,x2:dim.width-_1f0.r,y2:y}).setStroke(_1f1);if(this.animate){this._animateGrid(_1f6,"h",_1f0.l,_1f0.r+_1f0.l-dim.width);}},this);}}}}if(this._hAxis){var _1f7=this._hAxis.getScaler();if(_1f7){var ht=_1f7.scaler.getTransformerFromModel(_1f7);_1f4=this._hAxis.getTicks();if(this!=null){if(_1f4&&this.opt.vMinorLines){_1f1=this.opt.minorVLine||(ta.grid&&ta.grid.minorLine)||ta.axis.minorTick;arr.forEach(_1f4.minor,function(tick){if(!_1f2&&tick.value==(this._hAxis.opt.leftBottom?_1f7.bounds.from:_1f7.bounds.to)){return;}var x=_1f0.l+ht(tick.value);var _1f8=this.createLine(s,{x1:x,y1:_1f0.t,x2:x,y2:dim.height-_1f0.b}).setStroke(_1f1);if(this.animate){this._animateGrid(_1f8,"v",dim.height-_1f0.b,dim.height-_1f0.b-_1f0.t);}},this);}if(_1f4&&this.opt.vMajorLines){_1f1=this.opt.majorVLine||(ta.grid&&ta.grid.majorLine)||ta.axis.majorTick;arr.forEach(_1f4.major,function(tick){if(!_1f2&&tick.value==(this._hAxis.opt.leftBottom?_1f7.bounds.from:_1f7.bounds.to)){return;}var x=_1f0.l+ht(tick.value);var _1f9=this.createLine(s,{x1:x,y1:_1f0.t,x2:x,y2:dim.height-_1f0.b}).setStroke(_1f1);if(this.animate){this._animateGrid(_1f9,"v",dim.height-_1f0.b,dim.height-_1f0.b-_1f0.t);}},this);}}}}this.dirty=false;return this;},_animateGrid:function(_1fa,type,_1fb,size){var _1fc=type=="h"?[_1fb,0]:[0,_1fb];var _1fd=type=="h"?[1/size,1]:[1,1/size];fx.animateTransform(lang.delegate({shape:_1fa,duration:1200,transform:[{name:"translate",start:_1fc,end:[0,0]},{name:"scale",start:_1fd,end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/charting/plot2d/Markers":function(){define("dojox/charting/plot2d/Markers",["dojo/_base/declare","./Default"],function(_1fe,_1ff){return _1fe("dojox.charting.plot2d.Markers",_1ff,{constructor:function(){this.opt.markers=true;}});});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dojox/lang/utils":function(){define("dojox/lang/utils",["..","dojo/_base/lang"],function(_200,lang){var du=lang.getObject("lang.utils",true,_200);var _201={},opts=Object.prototype.toString;var _202=function(o){if(o){switch(opts.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return lang.delegate(o);}}return o;};lang.mixin(du,{coerceType:function(_203,_204){switch(typeof _203){case "number":return Number(eval("("+_204+")"));case "string":return String(_204);case "boolean":return Boolean(eval("("+_204+")"));}return eval("("+_204+")");},updateWithObject:function(_205,_206,conv){if(!_206){return _205;}for(var x in _205){if(x in _206&&!(x in _201)){var t=_205[x];if(t&&typeof t=="object"){du.updateWithObject(t,_206[x],conv);}else{_205[x]=conv?du.coerceType(t,_206[x]):_202(_206[x]);}}}return _205;},updateWithPattern:function(_207,_208,_209,conv){if(!_208||!_209){return _207;}for(var x in _209){if(x in _208&&!(x in _201)){_207[x]=conv?du.coerceType(_209[x],_208[x]):_202(_208[x]);}}return _207;},merge:function(_20a,_20b){if(_20b){var _20c=opts.call(_20a),_20d=opts.call(_20b),t,i,l,m;switch(_20d){case "[object Array]":if(_20d==_20c){t=new Array(Math.max(_20a.length,_20b.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_20a[i],_20b[i]);}return t;}return _20b.slice(0);case "[object Object]":if(_20d==_20c&&_20a){t=lang.delegate(_20a);for(i in _20b){if(i in _20a){l=_20a[i];m=_20b[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=lang.clone(_20b[i]);}}return t;}return lang.clone(_20b);}}return _20b;}});return du;});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"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,_20e,_20f,_210,dc,df,dfr,du,fx){var _211=dfr.lambda("item.purgeGroup()");return _20e("dojox.charting.plot2d.Columns",[_20f,_210],{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(_212,_213){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_213);du.updateWithPattern(this.opt,_213,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _214=dc.collectSimpleStats(this.series);_214.hmin-=0.5;_214.hmax+=0.5;return _214;},createRect:function(run,_215,_216){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_216);_215.add(rect);}else{rect=_215.createRect(_216);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_217){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_217);}this.getSeriesStats();this.resetEvents();this.dirty=this.isDirty();var s;if(this.dirty){arr.forEach(this.series,_211);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),_218=Math.max(0,this._vScaler.bounds.lower),_219=vt(_218),min=Math.max(0,Math.floor(this._hScaler.bounds.from-1)),_21a=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 _21b=t.next("column",[this.opt,run]),_21c=new Array(run.data.length);s=run.group;var l=this.getDataLength(run);var _21d=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});for(var j=min;j<l;++j){var _21e=run.data[j];if(_21e!=null){var val=this.getValue(_21e,j,i,_21d),vv=vt(val.y),h=Math.abs(vv-_219),_21f,_220;if(this.opt.styleFunc||typeof _21e!="number"){var _221=typeof _21e!="number"?[_21e]:[];if(this.opt.styleFunc){_221.push(this.opt.styleFunc(_21e));}_21f=t.addMixin(_21b,"column",_221,true);}else{_21f=t.post(_21b,"column");}if(bar.width>=1&&h>=0){var rect={x:_217.l+ht(val.x+0.5)+bar.gap+bar.thickness*i,y:dim.height-_217.b-(val.y>_218?vv:_219),width:bar.width,height:h};if(_21f.series.shadow){var _222=lang.clone(rect);_222.x+=_21f.series.shadow.dx;_222.y+=_21f.series.shadow.dy;_220=this.createRect(run,s,_222).setFill(_21f.series.shadow.color).setStroke(_21f.series.shadow);if(this.animate){this._animateColumn(_220,dim.height-_217.b+_219,h);}}var _223=this._plotFill(_21f.series.fill,dim,_217);_223=this._shapeFill(_223,rect);var _224=this.createRect(run,s,rect).setFill(_223).setStroke(_21f.series.stroke);run.dyn.fill=_224.getFill();run.dyn.stroke=_224.getStroke();if(_21a){var o={element:"column",index:j,run:run,shape:_224,shadow:_220,x:val.x+0.5,y:val.y};this._connectEvents(o);_21c[j]=o;}if(this.animate){this._animateColumn(_224,dim.height-_217.b-_219,h);}}}}this._eventSeries[run.name]=_21c;run.dirty=false;}this.dirty=false;return this;},getDataLength:function(run){return Math.min(run.data.length,Math.ceil(this._hScaler.bounds.to));},getValue:function(_225,j,_226,_227){var y,x;if(_227){if(typeof _225=="number"){y=_225;}else{y=_225.y;}x=j;}else{y=_225.y;x=_225.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(_228,_229,_22a){if(_22a==0){_22a=1;}fx.animateTransform(lang.delegate({shape:_228,duration:1200,transform:[{name:"translate",start:[0,_229-(_229/_22a)],end:[0,0]},{name:"scale",start:[1,1/_22a],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/lang/functional":function(){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],function(df){return df;});},"dojox/charting/plot2d/StackedBars":function(){define(["dojo/_base/declare","./Bars","./commonStacked"],function(_22b,Bars,_22c){return _22b("dojox.charting.plot2d.StackedBars",Bars,{getSeriesStats:function(){var _22d=_22c.collectStats(this.series),t;this._maxRunLength=_22d.hmax;_22d.hmin-=0.5;_22d.hmax+=0.5;t=_22d.hmin,_22d.hmin=_22d.vmin,_22d.vmin=t;t=_22d.hmax,_22d.hmax=_22d.vmax,_22d.vmax=t;return _22d;},getDataLength:function(run){return this._maxRunLength;},getValue:function(_22e,_22f,_230,_231){var y,x;if(_231){x=_22f;y=_22c.getIndexValue(this.series,_230,x);}else{x=_22e.x-1;y=_22c.getValue(this.series,_230,_22e.x);y=y?y.y:null;}return {y:y,x:x};}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_232,lang,_233,has,_234){var html=_234.doc.documentElement,ie=has("ie"),_235=has("opera"),maj=Math.floor,ff=has("ff"),_236=_232.boxModel.replace(/-/,""),_237={"dj_ie":ie,"dj_ie6":maj(ie)==6,"dj_ie7":maj(ie)==7,"dj_ie8":maj(ie)==8,"dj_ie9":maj(ie)==9,"dj_quirks":has("quirks"),"dj_iequirks":ie&&has("quirks"),"dj_opera":_235,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ff3":maj(ff)==3};_237["dj_"+_236]=true;var _238="";for(var clz in _237){if(_237[clz]){_238+=clz+" ";}}html.className=lang.trim(html.className+" "+_238);_233(90,function(){if(!_232.isBodyLtr()){var _239="dj_rtl dijitRtl "+_238.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_239+"dj_rtl dijitRtl "+_238.replace(/ /g,"-rtl "));}});return has;});},"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(_23a,_23b,fx,dom,_23c,_23d,_23e,lang,_23f,on,has,_240,_241,_242,_243,_244,_245,_246){var _247=_23b("dijit._MasterTooltip",[_242,_243],{duration:_240.defaultDuration,templateString:_245,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _244(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(_248,_249,_24a,rtl,_24b){if(this.aroundNode&&this.aroundNode===_249&&this.containerNode.innerHTML==_248){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_248;if(_24b){this.set("textDir",_24b);}this.containerNode.align=rtl?"right":"left";var pos=_241.around(this.domNode,_249,_24a&&_24a.length?_24a:_24c.defaultPosition,!rtl,lang.hitch(this,"orient"));var _24d=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_24d.y+((_24d.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=_24d.x+((_24d.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_23e.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_249;},orient:function(node,_24e,_24f,_250,_251){this.connectorNode.style.top="";var _252=_250.h,_253=_250.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"}[_24e+"-"+_24f];this.domNode.style.width="auto";var size=_23d.position(this.domNode);if(has("ie")==9){size.w+=2;}var _254=Math.min((Math.max(_253,1)),size.w);_23d.setMarginBox(this.domNode,{w:_254});if(_24f.charAt(0)=="B"&&_24e.charAt(0)=="B"){var bb=_23d.position(node);var _255=this.connectorNode.offsetHeight;if(bb.h>_252){var _256=_252-((_251.h+_255)>>1);this.connectorNode.style.top=_256+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_251.h/2-_255/2,0),bb.h-_255)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_253);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_257){if(this._onDeck&&this._onDeck[1]==_257){this._onDeck=null;}else{if(this.aroundNode===_257){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);_23a.forEach(node.children,function(_258){this._setAutoTextDir(_258);},this);},_setTextDirAttr:function(_259){this._set("textDir",_259);if(_259=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_246.showTooltip=function(_25a,_25b,_25c,rtl,_25d){if(_25c){_25c=_23a.map(_25c,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_24c._masterTT){_246._masterTT=_24c._masterTT=new _247();}return _24c._masterTT.show(_25a,_25b,_25c,rtl,_25d);};_246.hideTooltip=function(_25e){return _24c._masterTT&&_24c._masterTT.hide(_25e);};var _24c=_23b("dijit.Tooltip",_242,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_25f){_23a.forEach(this._connections||[],function(_260){_23a.forEach(_260,function(_261){_261.remove();});},this);this._connectIds=_23a.filter(lang.isArrayLike(_25f)?_25f:(_25f?[_25f]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_23a.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_262=this.selector,_263=_262?function(_264){return on.selector(_262,_264);}:function(_265){return _265;},self=this;return [on(node,_263(_23f.enter),function(){self._onHover(this);}),on(node,_263("focusin"),function(){self._onHover(this);}),on(node,_263(_23f.leave),lang.hitch(self,"_onUnHover")),on(node,_263("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_25f);},addTarget:function(node){var id=node.id||node;if(_23a.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_23a.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_23c.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_23a.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_266){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_266);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_267){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _268=this.getContent(_267);if(!_268){return;}_24c.show(_268,_267,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_267;this.onShow(_267,this.position);},close:function(){if(this._connectNode){_24c.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();_23a.forEach(this._connections||[],function(_269){_23a.forEach(_269,function(_26a){_26a.remove();});},this);this.inherited(arguments);}});_24c._MasterTooltip=_247;_24c.show=_246.showTooltip;_24c.hide=_246.hideTooltip;_24c.defaultPosition=["after-centered","before-centered"];return _24c;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_26b,lang){var _26c={};lang.setObject("dojo.string",_26c);_26c.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("");};_26c.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_26c.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_26c.substitute=function(_26d,map,_26e,_26f){_26f=_26f||_26b.global;_26e=_26e?lang.hitch(_26f,_26e):function(v){return v;};return _26d.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_270,key,_271){var _272=lang.getObject(key,false,map);if(_271){_272=lang.getObject(_271,false,_26f).call(_26f,_272,key);}return _26e(_272,key).toString();});};_26c.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 _26c;});},"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,_273,keys,_274,has,_275,win){var _276=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_276=evt.target;},true);}else{(function(){var _277=function(evt){_276=evt.srcElement;};win.doc.attachEvent("onkeydown",_277);_275.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_277);});})();}function _278(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_279){if(/input|button/i.test(node.nodeName)){return on(node,"click",_279);}else{var _27a=[on(node,"keydown",function(e){if(_278(e)){_276=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_278(e)&&e.target==_276){_276=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_279.call(this,e);})];if(has("touch")){var _27b;_27a.push(on(node,"touchend",function(e){var _27c=e.target;_27b=setTimeout(function(){_27b=null;on.emit(_27c,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_27b){clearTimeout(_27b);}}));}return {remove:function(){_273.forEach(_27a,function(h){h.remove();});if(_27b){clearTimeout(_27b);_27b=null;}}};}};return ret;});},"dojox/charting/action2d/Base":function(){define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare"],function(lang,_27d){return _27d("dojox.charting.action2d.Base",null,{constructor:function(_27e,plot){this.chart=_27e;this.plot=plot?(lang.isString(plot)?this.chart.getPlot(plot):plot):this.chart.getPlot("default");},connect:function(){},disconnect:function(){},destroy:function(){this.disconnect();}});});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_27f,_280,_281){return _281("dijit.Destroyable",null,{destroy:function(_282){this._destroyed=true;},own:function(){_27f.forEach(arguments,function(_283){var _284="destroyRecursive" in _283?"destroyRecursive":"destroy" in _283?"destroy":"remove";var odh=_280.before(this,"destroy",function(_285){_283[_284](_285);});_280.after(_283,_284,function(){odh.remove();},true);},this);return arguments;}});});},"dojox/charting/plot2d/Stacked":function(){define(["dojo/_base/declare","./Default","./commonStacked"],function(_286,_287,_288){return _286("dojox.charting.plot2d.Stacked",_287,{getSeriesStats:function(){var _289=_288.collectStats(this.series);this._maxRunLength=_289.hmax;return _289;},buildSegments:function(i,_28a){var run=this.series[i],min=_28a?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,max=_28a?Math.min(run.data.length-1,Math.ceil(this._hScaler.bounds.to)):run.data.length-1,rseg=null,_28b=[];for(var j=min;j<=max;j++){var _28c=_28a?_288.getIndexValue(this.series,i,j):_288.getValue(this.series,i,run.data[j]?run.data[j].x:null);if(_28c!=null&&(_28a||_28c.y!=null)){if(!rseg){rseg=[];_28b.push({index:j,rseg:rseg});}rseg.push(_28c);}else{if(!this.opt.interpolate||_28a){rseg=null;}}}return _28b;}});});},"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(lang,arr,_28d,Base,_28e,dc,da,g,m,df,du){var _28f=0.2;return _28d("dojox.charting.plot2d.Pie",[Base,_28e],{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(_290,_291){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_291);du.updateWithPattern(this.opt,_291,this.optionalParams);this.axes=[];this.run=null;this.dyn=[];},clear:function(){this.inherited(arguments);this.dyn=[];this.run=null;return this;},setAxis:function(axis){return this;},addSeries:function(run){this.run=run;return this;},getSeriesStats:function(){return lang.delegate(dc.defaultStats);},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_292){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-_292.l-_292.r)/2,ry=(dim.height-_292.t-_292.b)/2,r=Math.min(rx,ry),_293="font" in this.opt?this.opt.font:t.series.font,size,_294=m._degToRad(this.opt.startAngle),_295=_294,step,_296,_297,_298,_299,_29a,run=this.run.data,_29b=this.events();this.dyn=[];if("radius" in this.opt){r=this.opt.radius;_29a=r-this.opt.labelOffset;}var _29c={cx:_292.l+rx,cy:_292.t+ry,r:r};if(this.opt.shadow||t.shadow){var _29d=this.opt.shadow||t.shadow;var _29e=lang.clone(_29c);_29e.cx+=_29d.dx;_29e.cy+=_29d.dy;s.createCircle(_29e).setFill(_29d.color).setStroke(_29d);}if(typeof run[0]=="number"){_296=df.map(run,"x ? Math.max(x, 0) : 0");if(df.every(_296,"<= 0")){s.createCircle(_29c).setStroke(t.series.stroke);this.dyn=arr.map(_296,function(){return {};});return this;}else{_297=df.map(_296,"/this",df.foldl(_296,"+",0));if(this.opt.labels){_298=arr.map(_297,function(x){return x>0?this._getLabel(x*100)+"%":"";},this);}}}else{_296=df.map(run,"x ? Math.max(x.y, 0) : 0");if(df.every(_296,"<= 0")){s.createCircle(_29c).setStroke(t.series.stroke);this.dyn=arr.map(_296,function(){return {};});return this;}else{_297=df.map(_296,"/this",df.foldl(_296,"+",0));if(this.opt.labels){_298=arr.map(_297,function(x,i){if(x<=0){return "";}var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}}var _29f=df.map(run,function(v,i){var _2a0=[this.opt,this.run];if(v!==null&&typeof v!="number"){_2a0.push(v);}if(this.opt.styleFunc){_2a0.push(this.opt.styleFunc(v));}return t.next("slice",_2a0,true);},this);if(this.opt.labels){size=_293?g.normalizedLength(g.splitFontString(_293).size):0;_299=df.foldl1(df.map(_298,function(_2a1,i){var font=_29f[i].series.font;return g._base._getTextBox(_2a1,{font:font}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_299,ry-size)+this.opt.labelOffset;}_29a=r-this.opt.labelOffset;}var _2a2=new Array(_297.length);arr.some(_297,function(_2a3,i){if(_2a3<0){return false;}if(_2a3==0){this.dyn.push({fill:null,stroke:null});return false;}var v=run[i],_2a4=_29f[i],_2a5,o;if(_2a3>=1){_2a5=this._plotFill(_2a4.series.fill,dim,_292);_2a5=this._shapeFill(_2a5,{x:_29c.cx-_29c.r,y:_29c.cy-_29c.r,width:2*_29c.r,height:2*_29c.r});_2a5=this._pseudoRadialFill(_2a5,{x:_29c.cx,y:_29c.cy},_29c.r);var _2a6=s.createCircle(_29c).setFill(_2a5).setStroke(_2a4.series.stroke);this.dyn.push({fill:_2a5,stroke:_2a4.series.stroke});if(_29b){o={element:"slice",index:i,run:this.run,shape:_2a6,x:i,y:typeof v=="number"?v:v.y,cx:_29c.cx,cy:_29c.cy,cr:r};this._connectEvents(o);_2a2[i]=o;}return true;}var end=_295+_2a3*2*Math.PI;if(i+1==_297.length){end=_294+2*Math.PI;}var step=end-_295,x1=_29c.cx+r*Math.cos(_295),y1=_29c.cy+r*Math.sin(_295),x2=_29c.cx+r*Math.cos(end),y2=_29c.cy+r*Math.sin(end);var _2a7=m._degToRad(this.opt.fanSize);if(_2a4.series.fill&&_2a4.series.fill.type==="radial"&&this.opt.radGrad==="fan"&&step>_2a7){var _2a8=s.createGroup(),_2a9=Math.ceil(step/_2a7),_2aa=step/_2a9;_2a5=this._shapeFill(_2a4.series.fill,{x:_29c.cx-_29c.r,y:_29c.cy-_29c.r,width:2*_29c.r,height:2*_29c.r});for(var j=0;j<_2a9;++j){var _2ab=j==0?x1:_29c.cx+r*Math.cos(_295+(j-_28f)*_2aa),_2ac=j==0?y1:_29c.cy+r*Math.sin(_295+(j-_28f)*_2aa),_2ad=j==_2a9-1?x2:_29c.cx+r*Math.cos(_295+(j+1+_28f)*_2aa),_2ae=j==_2a9-1?y2:_29c.cy+r*Math.sin(_295+(j+1+_28f)*_2aa),fan=_2a8.createPath().moveTo(_29c.cx,_29c.cy).lineTo(_2ab,_2ac).arcTo(r,r,0,_2aa>Math.PI,true,_2ad,_2ae).lineTo(_29c.cx,_29c.cy).closePath().setFill(this._pseudoRadialFill(_2a5,{x:_29c.cx,y:_29c.cy},r,_295+(j+0.5)*_2aa,_295+(j+0.5)*_2aa));}_2a8.createPath().moveTo(_29c.cx,_29c.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_29c.cx,_29c.cy).closePath().setStroke(_2a4.series.stroke);_2a6=_2a8;}else{_2a6=s.createPath().moveTo(_29c.cx,_29c.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_29c.cx,_29c.cy).closePath().setStroke(_2a4.series.stroke);_2a5=_2a4.series.fill;if(_2a5&&_2a5.type==="radial"){_2a5=this._shapeFill(_2a5,{x:_29c.cx-_29c.r,y:_29c.cy-_29c.r,width:2*_29c.r,height:2*_29c.r});if(this.opt.radGrad==="linear"){_2a5=this._pseudoRadialFill(_2a5,{x:_29c.cx,y:_29c.cy},r,_295,end);}}else{if(_2a5&&_2a5.type==="linear"){_2a5=this._plotFill(_2a5,dim,_292);_2a5=this._shapeFill(_2a5,_2a6.getBoundingBox());}}_2a6.setFill(_2a5);}this.dyn.push({fill:_2a5,stroke:_2a4.series.stroke});if(_29b){o={element:"slice",index:i,run:this.run,shape:_2a6,x:i,y:typeof v=="number"?v:v.y,cx:_29c.cx,cy:_29c.cy,cr:r};this._connectEvents(o);_2a2[i]=o;}_295=end;return false;},this);if(this.opt.labels){if(this.opt.labelStyle=="default"){_295=_294;arr.some(_297,function(_2af,i){if(_2af<=0){return false;}var _2b0=_29f[i],elem;if(_2af>=1){elem=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_29c.cx,_29c.cy+size/2,"middle",_298[i],_2b0.series.font,_2b0.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}return true;}var end=_295+_2af*2*Math.PI;if(i+1==_297.length){end=_294+2*Math.PI;}if(this.opt.omitLabels&&end-_295<0.001){return false;}var _2b1=(_295+end)/2,x=_29c.cx+_29a*Math.cos(_2b1),y=_29c.cy+_29a*Math.sin(_2b1)+size/2;elem=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_298[i],_2b0.series.font,_2b0.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}_295=end;return false;},this);}else{if(this.opt.labelStyle=="columns"){_295=_294;var _2b2=this.opt.omitLabels;var _2b3=[];arr.forEach(_297,function(_2b4,i){var end=_295+_2b4*2*Math.PI;if(i+1==_297.length){end=_294+2*Math.PI;}var _2b5=(_295+end)/2;_2b3.push({angle:_2b5,left:Math.cos(_2b5)<0,theme:_29f[i],index:i,omit:_2b2?end-_295<0.001:false});_295=end;});var _2b6=g._base._getTextBox("a",{font:_293}).h;this._getProperLabelRadius(_2b3,_2b6,_29c.r*1.1);arr.forEach(_2b3,function(_2b7,i){if(!_2b7.omit){var _2b8=_29c.cx-_29c.r*2,_2b9=_29c.cx+_29c.r*2,_2ba=g._base._getTextBox(_298[i],{font:_2b7.theme.series.font}).w,x=_29c.cx+_2b7.labelR*Math.cos(_2b7.angle),y=_29c.cy+_2b7.labelR*Math.sin(_2b7.angle),_2bb=(_2b7.left)?(_2b8+_2ba):(_2b9-_2ba),_2bc=(_2b7.left)?_2b8:_2bb;var _2bd=s.createPath().moveTo(_29c.cx+_29c.r*Math.cos(_2b7.angle),_29c.cy+_29c.r*Math.sin(_2b7.angle));if(Math.abs(_2b7.labelR*Math.cos(_2b7.angle))<_29c.r*2-_2ba){_2bd.lineTo(x,y);}_2bd.lineTo(_2bb,y).setStroke(_2b7.theme.series.labelWiring);var elem=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_2bc,y,"left",_298[i],_2b7.theme.series.font,_2b7.theme.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}},this);}}}var esi=0;this._eventSeries[this.run.name]=df.map(run,function(v){return v<=0?null:_2a2[esi++];});return this;},_getProperLabelRadius:function(_2be,_2bf,_2c0){var _2c1,_2c2,_2c3=1,_2c4=1;if(_2be.length==1){_2be[0].labelR=_2c0;return;}for(var i=0;i<_2be.length;i++){var _2c5=Math.abs(Math.sin(_2be[i].angle));if(_2be[i].left){if(_2c3>=_2c5){_2c3=_2c5;_2c1=_2be[i];}}else{if(_2c4>=_2c5){_2c4=_2c5;_2c2=_2be[i];}}}_2c1.labelR=_2c2.labelR=_2c0;this._calculateLabelR(_2c1,_2be,_2bf);this._calculateLabelR(_2c2,_2be,_2bf);},_calculateLabelR:function(_2c6,_2c7,_2c8){var i=_2c6.index,_2c9=_2c7.length,_2ca=_2c6.labelR,_2cb;while(!(_2c7[i%_2c9].left^_2c7[(i+1)%_2c9].left)){if(!_2c7[(i+1)%_2c9].omit){_2cb=(Math.sin(_2c7[i%_2c9].angle)*_2ca+((_2c7[i%_2c9].left)?(-_2c8):_2c8))/Math.sin(_2c7[(i+1)%_2c9].angle);_2ca=(_2cb<_2c6.labelR)?_2c6.labelR:_2cb;_2c7[(i+1)%_2c9].labelR=_2ca;}i++;}i=_2c6.index;var j=(i==0)?_2c9-1:i-1;while(!(_2c7[i].left^_2c7[j].left)){if(!_2c7[j].omit){_2cb=(Math.sin(_2c7[i].angle)*_2ca+((_2c7[i].left)?_2c8:(-_2c8)))/Math.sin(_2c7[j].angle);_2ca=(_2cb<_2c6.labelR)?_2c6.labelR:_2cb;_2c7[j].labelR=_2ca;}i--;j--;i=(i<0)?i+_2c7.length:i;j=(j<0)?j+_2c7.length:j;}},_getLabel:function(_2cc){return dc.getLabel(_2cc,this.opt.fixed,this.opt.precision);}});});},"dojox/color/_base":function(){define("dojox/color/_base",["../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],function(_2cd,lang,_2ce,_2cf){var cx=lang.getObject("color",true,_2cd);cx.Color=_2ce;cx.blend=_2ce.blendColors;cx.fromRgb=_2ce.fromRgb;cx.fromHex=_2ce.fromHex;cx.fromArray=_2ce.fromArray;cx.fromString=_2ce.fromString;cx.greyscale=_2cf.makeGrey;lang.mixin(cx,{fromCmy:function(cyan,_2d0,_2d1){if(lang.isArray(cyan)){_2d0=cyan[1],_2d1=cyan[2],cyan=cyan[0];}else{if(lang.isObject(cyan)){_2d0=cyan.m,_2d1=cyan.y,cyan=cyan.c;}}cyan/=100,_2d0/=100,_2d1/=100;var r=1-cyan,g=1-_2d0,b=1-_2d1;return new _2ce({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_2d2,_2d3,_2d4){if(lang.isArray(cyan)){_2d2=cyan[1],_2d3=cyan[2],_2d4=cyan[3],cyan=cyan[0];}else{if(lang.isObject(cyan)){_2d2=cyan.m,_2d3=cyan.y,_2d4=cyan.b,cyan=cyan.c;}}cyan/=100,_2d2/=100,_2d3/=100,_2d4/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_2d4)+_2d4);g=1-Math.min(1,_2d2*(1-_2d4)+_2d4);b=1-Math.min(1,_2d3*(1-_2d4)+_2d4);return new _2ce({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_2d5,_2d6){if(lang.isArray(hue)){_2d5=hue[1],_2d6=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_2d5=hue.s,_2d6=hue.l,hue=hue.h;}}_2d5/=100;_2d6/=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*_2d5*Math.min(r,1)+(1-_2d5);g=2*_2d5*Math.min(g,1)+(1-_2d5);b=2*_2d5*Math.min(b,1)+(1-_2d5);if(_2d6<0.5){r*=_2d6,g*=_2d6,b*=_2d6;}else{r=(1-_2d6)*r+2*_2d6-1;g=(1-_2d6)*g+2*_2d6-1;b=(1-_2d6)*b+2*_2d6-1;}return new _2ce({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});cx.fromHsv=function(hue,_2d7,_2d8){if(lang.isArray(hue)){_2d7=hue[1],_2d8=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_2d7=hue.s,_2d8=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_2d7/=100;_2d8/=100;var r,g,b;if(_2d7==0){r=_2d8,b=_2d8,g=_2d8;}else{var _2d9=hue/60,i=Math.floor(_2d9),f=_2d9-i;var p=_2d8*(1-_2d7);var q=_2d8*(1-(_2d7*f));var t=_2d8*(1-(_2d7*(1-f)));switch(i){case 0:r=_2d8,g=t,b=p;break;case 1:r=q,g=_2d8,b=p;break;case 2:r=p,g=_2d8,b=t;break;case 3:r=p,g=q,b=_2d8;break;case 4:r=t,g=p,b=_2d8;break;case 5:r=_2d8,g=p,b=q;break;}}return new _2ce({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});};lang.extend(_2ce,{toCmy:function(){var cyan=1-(this.r/255),_2da=1-(this.g/255),_2db=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_2da*100),y:Math.round(_2db*100)};},toCmyk:function(){var cyan,_2dc,_2dd,_2de;var r=this.r/255,g=this.g/255,b=this.b/255;_2de=Math.min(1-r,1-g,1-b);cyan=(1-r-_2de)/(1-_2de);_2dc=(1-g-_2de)/(1-_2de);_2dd=(1-b-_2de)/(1-_2de);return {c:Math.round(cyan*100),m:Math.round(_2dc*100),y:Math.round(_2dd*100),b:Math.round(_2de*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 _2df=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_2df/((l<0.5)?(2*l):(2-2*l));}if(_2df>0){if(max==r&&max!=g){h+=(g-b)/_2df;}if(max==g&&max!=b){h+=(2+(b-r)/_2df);}if(max==b&&max!=r){h+=(4+(r-g)/_2df);}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 _2e0=max-min;var h=null,s=(max==0)?0:(_2e0/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_2e0;}else{if(g==max){h=120+60*(b-r)/_2e0;}else{h=240+60*(r-g)/_2e0;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});return cx;});},"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(_2e1,lang,_2e2,has,win,arr,dom,_2e3,_2e4){var g=lang.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(node,_2e5){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_2e5+" ")>=0;};g._addClass=function(node,_2e6){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_2e6+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_2e6);}};g._removeClass=function(node,_2e7){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_2e7+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _2e8={"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;if(has("ie")){win.doc.documentElement.style.fontSize="100%";}var div=_2e3.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 _2e8){div.style.fontSize=p;_2e8[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}win.body().removeChild(div);return _2e8;};var _2e9=null;b._getCachedFontMeasurements=function(_2ea){if(_2ea||!_2e9){_2e9=b._getFontMeasurements();}return _2e9;};var _2eb=null,_2ec={};b._getTextBox=function(text,_2ed,_2ee){var m,s,al=arguments.length;var i;if(!_2eb){_2eb=_2e3.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_2eb;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_2ed){for(i in _2ed){if(i in _2ec){continue;}s[i]=_2ed[i];}}if(al>2&&_2ee){m.className=_2ee;}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 _2e4.getMarginBox(m);}};var _2ef=0;b._getUniqueId=function(){var id;do{id=_2e1._scopeName+"xUnique"+(++_2ef);}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 _2f0={};return function(type){var t=_2f0[type];if(t){return new t();}t=_2f0[type]=new Function();t.prototype=g["default"+type];return new t();};})(),normalizeColor:function(_2f1){return (_2f1 instanceof _2e2)?_2f1:new _2e2(_2f1);},normalizeParameters:function(_2f2,_2f3){var x;if(_2f3){var _2f4={};for(x in _2f2){if(x in _2f3&&!(x in _2f4)){_2f2[x]=_2f3[x];}}}return _2f2;},makeParameters:function(_2f5,_2f6){var i=null;if(!_2f6){return lang.delegate(_2f5);}var _2f7={};for(i in _2f5){if(!(i in _2f7)){_2f7[i]=lang.clone((i in _2f6)?_2f6[i]:_2f5[i]);}}return _2f7;},formatNumber:function(x,_2f8){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _2f9=val.indexOf(".");if(_2f9>=0&&val.length-_2f9>5){val=x.toFixed(4);}}if(x<0){return val;}return _2f8?" "+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 _2fa=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_2fa;case "in":return val*72*_2fa;case "pc":return val*12*_2fa;case "mm":return val*g.mm_in_pt*_2fa;case "cm":return val*g.cm_in_pt*_2fa;}}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(_2fb){var ns=typeof _2fb=="string"?g[_2fb]:_2fb;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,_2fc){var _2fd=null;return {load:function(id,_2fe,load){if(_2fd&&id!="force"){load(_2fd);return;}var _2ff=_2fc.forceGfxRenderer,_300=!_2ff&&(lang.isString(_2fc.gfxRenderer)?_2fc.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_301,_302;while(!_2ff&&_300.length){switch(_300.shift()){case "svg":if("SVGAngle" in win.global){_2ff="svg";}break;case "vml":if(has("ie")){_2ff="vml";}break;case "silverlight":try{if(has("ie")){_301=new ActiveXObject("AgControl.AgControl");if(_301&&_301.IsVersionSupported("1.0")){_302=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_302=true;}}}catch(e){_302=false;}finally{_301=null;}if(_302){_2ff="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_2ff="canvas";}break;}}if(_2ff==="canvas"&&_2fc.canvasEvents!==false){_2ff="canvasWithEvents";}if(_2fc.isDebug){}function _303(){_2fe(["dojox/gfx/"+_2ff],function(_304){g.renderer=_2ff;_2fd=_304;load(_304);});};if(_2ff=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_303);}else{_303();}}};});}}});define("dojox/gfx",["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(lang,_305,_306){_305.switchTo(_306);return _305;});},"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,_307,Base,dfe,df,dlfo){var _308=400,_309=dfe.backOut;return _307("dojox.charting.action2d.PlotAction",Base,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_30a,plot,_30b){this.anim={};if(!_30b){_30b={};}this.duration=_30b.duration?_30b.duration:_308;this.easing=_30b.easing?_30b.easing:_309;},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/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,_30c,_30d,_30e,dc,fx,du,df,dfr){var _30f=dfr.lambda("item.purgeGroup()");return _30c("dojox.charting.plot2d.Bars",[_30d,_30e],{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(_310,_311){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_311);du.updateWithPattern(this.opt,_311,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _312=dc.collectSimpleStats(this.series),t;_312.hmin-=0.5;_312.hmax+=0.5;t=_312.hmin,_312.hmin=_312.vmin,_312.vmin=t;t=_312.hmax,_312.hmax=_312.vmax,_312.vmax=t;return _312;},createRect:function(run,_313,_314){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_314);_313.add(rect);}else{rect=_313.createRect(_314);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_315){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_315);}this.dirty=this.isDirty();this.resetEvents();var s;if(this.dirty){arr.forEach(this.series,_30f);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),_316=Math.max(0,this._hScaler.bounds.lower),_317=ht(_316),_318=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 _319=t.next("bar",[this.opt,run]),_31a=new Array(run.data.length);s=run.group;var l=this.getDataLength(run);var _31b=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});for(var j=0;j<l;++j){var _31c=run.data[j];if(_31c!=null){var val=this.getValue(_31c,j,i,_31b),hv=ht(val.y),w=Math.abs(hv-_317),_31d,_31e;if(this.opt.styleFunc||typeof _31c!="number"){var _31f=typeof _31c!="number"?[_31c]:[];if(this.opt.styleFunc){_31f.push(this.opt.styleFunc(_31c));}_31d=t.addMixin(_319,"bar",_31f,true);}else{_31d=t.post(_319,"bar");}if(w>=0&&bar.height>=1){var rect={x:_315.l+(val.y<_316?hv:_317),y:dim.height-_315.b-vt(val.x+1.5)+bar.gap+bar.thickness*(this.series.length-i-1),width:w,height:bar.height};if(_31d.series.shadow){var _320=lang.clone(rect);_320.x+=_31d.series.shadow.dx;_320.y+=_31d.series.shadow.dy;_31e=this.createRect(run,s,_320).setFill(_31d.series.shadow.color).setStroke(_31d.series.shadow);if(this.animate){this._animateBar(_31e,_315.l+_317,-w);}}var _321=this._plotFill(_31d.series.fill,dim,_315);_321=this._shapeFill(_321,rect);var _322=this.createRect(run,s,rect).setFill(_321).setStroke(_31d.series.stroke);run.dyn.fill=_322.getFill();run.dyn.stroke=_322.getStroke();if(_318){var o={element:"bar",index:j,run:run,shape:_322,shadow:_31e,x:val.y,y:val.x+1.5};this._connectEvents(o);_31a[j]=o;}if(this.animate){this._animateBar(_322,_315.l+_317,-w);}}}}this._eventSeries[run.name]=_31a;run.dirty=false;}this.dirty=false;return this;},getDataLength:function(run){return Math.min(run.data.length,Math.ceil(this._vScaler.bounds.to));},getValue:function(_323,j,_324,_325){var y,x;if(_325){if(typeof _323=="number"){y=_323;}else{y=_323.y;}x=j;}else{y=_323.y;x=_323.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(_326,_327,_328){if(_328==0){_328=1;}fx.animateTransform(lang.delegate({shape:_326,duration:1200,transform:[{name:"translate",start:[_327-(_327/_328),0],end:[0,0]},{name:"scale",start:[1/_328,1],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/lang/functional/fold":function(){define(["dojo/_base/lang","dojo/_base/array","dojo/_base/kernel","./lambda"],function(lang,arr,_329,df){var _32a={};lang.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_329.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 _32a)){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||_329.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 _32b=true;for(i in a){if(!(i in _32a)){if(_32b){z=a[i];_32b=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||_329.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||_329.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||_329.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/lang/functional/object":function(){define("dojox/lang/functional/object",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(_32c,lang,df){var _32d={};lang.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _32d)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _32d)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||_32c.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _32d)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||_32c.global;f=df.lambda(f);for(var i in obj){if(!(i in _32d)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||_32c.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _32d)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});return df;});},"dojox/charting/scaler/linear":function(){define(["dojo/_base/lang","./common"],function(lang,_32e){var _32f=lang.getObject("dojox.charting.scaler.linear",true);var _330=3,_331=_32e.getNumericLabel;function _332(val,text){val=val.toLowerCase();for(var i=text.length-1;i>=0;--i){if(val===text[i]){return true;}}return false;};var _333=function(min,max,_334,_335,_336,_337,span){_334=lang.delegate(_334);if(!_335){if(_334.fixUpper=="major"){_334.fixUpper="minor";}if(_334.fixLower=="major"){_334.fixLower="minor";}}if(!_336){if(_334.fixUpper=="minor"){_334.fixUpper="micro";}if(_334.fixLower=="minor"){_334.fixLower="micro";}}if(!_337){if(_334.fixUpper=="micro"){_334.fixUpper="none";}if(_334.fixLower=="micro"){_334.fixLower="none";}}var _338=_332(_334.fixLower,["major"])?Math.floor(_334.min/_335)*_335:_332(_334.fixLower,["minor"])?Math.floor(_334.min/_336)*_336:_332(_334.fixLower,["micro"])?Math.floor(_334.min/_337)*_337:_334.min,_339=_332(_334.fixUpper,["major"])?Math.ceil(_334.max/_335)*_335:_332(_334.fixUpper,["minor"])?Math.ceil(_334.max/_336)*_336:_332(_334.fixUpper,["micro"])?Math.ceil(_334.max/_337)*_337:_334.max;if(_334.useMin){min=_338;}if(_334.useMax){max=_339;}var _33a=(!_335||_334.useMin&&_332(_334.fixLower,["major"]))?min:Math.ceil(min/_335)*_335,_33b=(!_336||_334.useMin&&_332(_334.fixLower,["major","minor"]))?min:Math.ceil(min/_336)*_336,_33c=(!_337||_334.useMin&&_332(_334.fixLower,["major","minor","micro"]))?min:Math.ceil(min/_337)*_337,_33d=!_335?0:(_334.useMax&&_332(_334.fixUpper,["major"])?Math.round((max-_33a)/_335):Math.floor((max-_33a)/_335))+1,_33e=!_336?0:(_334.useMax&&_332(_334.fixUpper,["major","minor"])?Math.round((max-_33b)/_336):Math.floor((max-_33b)/_336))+1,_33f=!_337?0:(_334.useMax&&_332(_334.fixUpper,["major","minor","micro"])?Math.round((max-_33c)/_337):Math.floor((max-_33c)/_337))+1,_340=_336?Math.round(_335/_336):0,_341=_337?Math.round(_336/_337):0,_342=_335?Math.floor(Math.log(_335)/Math.LN10):0,_343=_336?Math.floor(Math.log(_336)/Math.LN10):0,_344=span/(max-min);if(!isFinite(_344)){_344=1;}return {bounds:{lower:_338,upper:_339,from:min,to:max,scale:_344,span:span},major:{tick:_335,start:_33a,count:_33d,prec:_342},minor:{tick:_336,start:_33b,count:_33e,prec:_343},micro:{tick:_337,start:_33c,count:_33f,prec:0},minorPerMajor:_340,microPerMinor:_341,scaler:_32f};};return lang.mixin(_32f,{buildScaler:function(min,max,span,_345,_346,_347){var h={fixUpper:"none",fixLower:"none",natural:false};if(_345){if("fixUpper" in _345){h.fixUpper=String(_345.fixUpper);}if("fixLower" in _345){h.fixLower=String(_345.fixLower);}if("natural" in _345){h.natural=Boolean(_345.natural);}}_347=!_347||_347<_330?_330:_347;if("min" in _345){min=_345.min;}if("max" in _345){max=_345.max;}if(_345.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 _345){min=_345.from;h.useMin=false;}if("to" in _345){max=_345.to;h.useMax=false;}if(max<=min){return _333(min,max,h,0,0,0,span);}if(!_346){_346=max-min;}var mag=Math.floor(Math.log(_346)/Math.LN10),_348=_345&&("majorTickStep" in _345)?_345.majorTickStep:Math.pow(10,mag),_349=0,_34a=0,_34b;if(_345&&("minorTickStep" in _345)){_349=_345.minorTickStep;}else{do{_349=_348/10;if(!h.natural||_349>0.9){_34b=_333(min,max,h,_348,_349,0,span);if(_34b.bounds.scale*_34b.minor.tick>_347){break;}}_349=_348/5;if(!h.natural||_349>0.9){_34b=_333(min,max,h,_348,_349,0,span);if(_34b.bounds.scale*_34b.minor.tick>_347){break;}}_349=_348/2;if(!h.natural||_349>0.9){_34b=_333(min,max,h,_348,_349,0,span);if(_34b.bounds.scale*_34b.minor.tick>_347){break;}}return _333(min,max,h,_348,0,0,span);}while(false);}if(_345&&("microTickStep" in _345)){_34a=_345.microTickStep;_34b=_333(min,max,h,_348,_349,_34a,span);}else{do{_34a=_349/10;if(!h.natural||_34a>0.9){_34b=_333(min,max,h,_348,_349,_34a,span);if(_34b.bounds.scale*_34b.micro.tick>_330){break;}}_34a=_349/5;if(!h.natural||_34a>0.9){_34b=_333(min,max,h,_348,_349,_34a,span);if(_34b.bounds.scale*_34b.micro.tick>_330){break;}}_34a=_349/2;if(!h.natural||_34a>0.9){_34b=_333(min,max,h,_348,_349,_34a,span);if(_34b.bounds.scale*_34b.micro.tick>_330){break;}}_34a=0;}while(false);}return _34a?_34b:_333(min,max,h,_348,_349,0,span);},buildTicks:function(_34c,_34d){var step,next,tick,_34e=_34c.major.start,_34f=_34c.minor.start,_350=_34c.micro.start;if(_34d.microTicks&&_34c.micro.tick){step=_34c.micro.tick,next=_350;}else{if(_34d.minorTicks&&_34c.minor.tick){step=_34c.minor.tick,next=_34f;}else{if(_34c.major.tick){step=_34c.major.tick,next=_34e;}else{return null;}}}var _351=1/_34c.bounds.scale;if(_34c.bounds.to<=_34c.bounds.from||isNaN(_351)||!isFinite(_351)||step<=0||isNaN(step)||!isFinite(step)){return null;}var _352=[],_353=[],_354=[];while(next<=_34c.bounds.to+_351){if(Math.abs(_34e-next)<step/2){tick={value:_34e};if(_34d.majorLabels){tick.label=_331(_34e,_34c.major.prec,_34d);}_352.push(tick);_34e+=_34c.major.tick;_34f+=_34c.minor.tick;_350+=_34c.micro.tick;}else{if(Math.abs(_34f-next)<step/2){if(_34d.minorTicks){tick={value:_34f};if(_34d.minorLabels&&(_34c.minMinorStep<=_34c.minor.tick*_34c.bounds.scale)){tick.label=_331(_34f,_34c.minor.prec,_34d);}_353.push(tick);}_34f+=_34c.minor.tick;_350+=_34c.micro.tick;}else{if(_34d.microTicks){_354.push({value:_350});}_350+=_34c.micro.tick;}}next+=step;}return {major:_352,minor:_353,micro:_354};},getTransformerFromModel:function(_355){var _356=_355.bounds.from,_357=_355.bounds.scale;return function(x){return (x-_356)*_357;};},getTransformerFromPlot:function(_358){var _359=_358.bounds.from,_35a=_358.bounds.scale;return function(x){return x/_35a+_359;};}});});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_35b,_35c,lang,_35d,_35e){var _35f={};_35b.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_35f[name]=_35d[name];});lang.mixin(_35f,{defaultDuration:_35c["defaultDuration"]||200});lang.mixin(_35e,_35f);return _35e;});},"dojox/gfx/gradutils":function(){define("dojox/gfx/gradutils",["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],function(g,lang,m,_360){var _361=g.gradutils={};function _362(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 _360.blendColors(new _360(prev.color),new _360(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};_361.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _363=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_364=m.rotate(-_363),_365=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_365,pt),pf1=m.multiplyPoint(_365,fill.x1,fill.y1),pf2=m.multiplyPoint(_365,fill.x2,fill.y2),_366=m.multiplyPoint(_364,pf2.x-pf1.x,pf2.y-pf1.y).x;o=m.multiplyPoint(_364,p.x-pf1.x,p.y-pf1.y).x/_366;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 _362(o,fill.colors);}return new _360(fill||[0,0,0,0]);};_361.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 _361;});},"dojox/charting/plot2d/Base":function(){define("dojox/charting/plot2d/Base",["dojo/_base/declare","../Element","dojo/_base/array","./common"],function(_367,_368,arr,_369){return _367("dojox.charting.plot2d.Base",_368,{constructor:function(_36a,_36b){},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 _369.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,_36c){return this;},getRequiredColors:function(){return this.series.length;}});});},"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(_36d,_36e,_36f,_370,_371,lang,on,has,win){var _372=new function(){var _373=[];this.pop=function(){var _374;if(_373.length){_374=_373.pop();_374.style.display="";}else{if(has("ie")<9){var burl=_36f["dojoBlankHtmlUrl"]||_36d.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\");'>";_374=win.doc.createElement(html);}else{_374=_370.create("iframe");_374.src="javascript:\"\"";_374.className="dijitBackgroundIframe";_374.setAttribute("role","presentation");_371.set(_374,"opacity",0.1);}_374.tabIndex=-1;}return _374;};this.push=function(_375){_375.style.display="none";_373.push(_375);};}();_36e.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _376=(this.iframe=_372.pop());node.appendChild(_376);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_371.set(_376,{width:"100%",height:"100%"});}}};lang.extend(_36e.BackgroundIframe,{resize:function(node){if(this.iframe){_371.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){_372.push(this.iframe);delete this.iframe;}}});return _36e.BackgroundIframe;});},"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(_377,_378,_379,_37a,_37b,_37c,dom,_37d,_37e,_37f,_380,_381,has,_382,lang,on,_383,_384,_385,win,_386,_387){has.add("dijit-legacy-requires",!_382.isAsync);if(has("dijit-legacy-requires")){_383(0,function(){var _388=["dijit/_base/manager"];_377(_388);});}var _389={};function _38a(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _38b(attr){return function(val){_37d[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _37c("dijit._WidgetBase",[_384,_386],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_38b("lang"),dir:"",_setDirAttr:_38b("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:_37a.blankGif||_377.toUrl("dojo/resources/blank.gif"),postscript:function(_38c,_38d){this.create(_38c,_38d);},create:function(_38e,_38f){this.srcNodeRef=dom.byId(_38f);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_38e){this.params=_38e;lang.mixin(this,_38e);}this.postMixInProperties();if(!this.id){this.id=_387.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);_387.add(this);this.buildRendering();var _390;if(this.domNode){this._applyAttributes();var _391=this.srcNodeRef;if(_391&&_391.parentNode&&this.domNode!==_391){_391.parentNode.replaceChild(this.domNode,_391);_390=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_390){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 _392=ctor.prototype;for(var _393 in _392){if(_393 in this.attributeMap){continue;}var _394="_set"+_393.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_394 in _392){list.push(_393);}}}_378.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _395 in this.params){this.set(_395,this.params[_395]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _396=this.baseClass.split(" ");if(!this.isLeftToRight()){_396=_396.concat(_378.map(_396,function(name){return name+"Rtl";}));}_37e.add(this.domNode,_396);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_378.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_397){this._beingDestroyed=true;this.destroyDescendants(_397);this.destroy(_397);},destroy:function(_398){this._beingDestroyed=true;this.uninitialize();function _399(w){if(w.destroyRecursive){w.destroyRecursive(_398);}else{if(w.destroy){w.destroy(_398);}}};_378.forEach(this._connects,lang.hitch(this,"disconnect"));_378.forEach(this._supportingWidgets,_399);if(this.domNode){_378.forEach(_387.findWidgets(this.domNode,this.containerNode),_399);}this.destroyRendering(_398);_387.remove(this.id);this._destroyed=true;},destroyRendering:function(_39a){if(this.bgIframe){this.bgIframe.destroy(_39a);delete this.bgIframe;}if(this.domNode){if(_39a){_37d.remove(this.domNode,"widgetId");}else{_37f.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_39a){_37f.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_39b){_378.forEach(this.getChildren(),function(_39c){if(_39c.destroyRecursive){_39c.destroyRecursive(_39b);}});},uninitialize:function(){return false;},_setStyleAttr:function(_39d){var _39e=this.domNode;if(lang.isObject(_39d)){_381.set(_39e,_39d);}else{if(_39e.style.cssText){_39e.style.cssText+="; "+_39d;}else{_39e.style.cssText=_39d;}}this._set("style",_39d);},_attrToDom:function(attr,_39f,_3a0){_3a0=arguments.length>=3?_3a0:this.attributeMap[attr];_378.forEach(lang.isArray(_3a0)?_3a0:[_3a0],function(_3a1){var _3a2=this[_3a1.node||_3a1||"domNode"];var type=_3a1.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_39f)){_39f=lang.hitch(this,_39f);}var _3a3=_3a1.attribute?_3a1.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_3a2.tagName){_37d.set(_3a2,_3a3,_39f);}else{_3a2.set(_3a3,_39f);}break;case "innerText":_3a2.innerHTML="";_3a2.appendChild(this.ownerDocument.createTextNode(_39f));break;case "innerHTML":_3a2.innerHTML=_39f;break;case "class":_37e.replace(_3a2,_39f,this[attr]);break;}},this);},get:function(name){var _3a4=this._getAttrNames(name);return this[_3a4.g]?this[_3a4.g]():this[name];},set:function(name,_3a5){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _3a6=this._getAttrNames(name),_3a7=this[_3a6.s];if(lang.isFunction(_3a7)){var _3a8=_3a7.apply(this,Array.prototype.slice.call(arguments,1));}else{var _3a9=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_3a9].tagName,_3aa=_389[tag]||(_389[tag]=_38a(this[_3a9])),map=name in this.attributeMap?this.attributeMap[name]:_3a6.s in this?this[_3a6.s]:((_3a6.l in _3aa&&typeof _3a5!="function")||/^aria-|^data-|^role$/.test(name))?_3a9:null;if(map!=null){this._attrToDom(name,_3a5,map);}this._set(name,_3a5);}return _3a8||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,_3ab){var _3ac=this[name];this[name]=_3ab;if(this._created&&_3ab!==_3ac){if(this._watchCallbacks){this._watchCallbacks(name,_3ac,_3ab);}this.emit("attrmodified-"+name,{detail:{prevValue:_3ac,newValue:_3ab}});}},emit:function(type,_3ad,_3ae){_3ad=_3ad||{};if(_3ad.bubbles===undefined){_3ad.bubbles=true;}if(_3ad.cancelable===undefined){_3ad.cancelable=true;}if(!_3ad.detail){_3ad.detail={};}_3ad.detail.widget=this;var ret,_3af=this["on"+type];if(_3af){ret=_3af.apply(this,_3ae?_3ae:[_3ad]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_3ad);}return ret;},on:function(type,func){var _3b0=this._onMap(type);if(_3b0){return _379.after(this,_3b0,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?_387.findWidgets(this.containerNode):[];},getParent:function(){return _387.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_3b1,_3b2){return this.own(_37b.connect(obj,_3b1,this,_3b2))[0];},disconnect:function(_3b3){_3b3.remove();},subscribe:function(t,_3b4){return this.own(_385.subscribe(t,lang.hitch(this,_3b4)))[0];},unsubscribe:function(_3b5){_3b5.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_380.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_381.get(this.domNode,"display")!="none");},placeAt:function(_3b6,_3b7){var _3b8=!_3b6.tagName&&_387.byId(_3b6);if(_3b8&&_3b8.addChild&&(!_3b7||typeof _3b7==="number")){_3b8.addChild(this,_3b7);}else{var ref=_3b8?(_3b8.containerNode&&!/after|before|replace/.test(_3b7||"")?_3b8.containerNode:_3b8.domNode):dom.byId(_3b6,this.ownerDocument);_37f.place(this.domNode,ref,_3b7);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_3b9){return _3b9;},applyTextDir:function(){},defer:function(fcn,_3ba){var _3bb=setTimeout(lang.hitch(this,function(){_3bb=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_3ba||0);return {remove:function(){if(_3bb){clearTimeout(_3bb);_3bb=null;}return null;}};}});});},"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,_3bc,arr,_3bd,_3be,dc,df,dfr,du,fx){var _3bf=dfr.lambda("item.purgeGroup()");var _3c0=1200;return _3bc("dojox.charting.plot2d.Default",[_3bd,_3be],{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(_3c1,_3c2){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_3c2);du.updateWithPattern(this.opt,_3c2,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},createPath:function(run,_3c3,_3c4){var path;if(this.opt.enableCache&&run._pathFreePool.length>0){path=run._pathFreePool.pop();path.setShape(_3c4);_3c3.add(path);}else{path=_3c3.createPath(_3c4);}if(this.opt.enableCache){run._pathUsePool.push(path);}return path;},buildSegments:function(i,_3c5){var run=this.series[i],min=_3c5?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,max=_3c5?Math.min(run.data.length,Math.ceil(this._hScaler.bounds.to)):run.data.length,rseg=null,_3c6=[];for(var j=min;j<max;j++){if(run.data[j]!=null&&(_3c5||run.data[j].y!=null)){if(!rseg){rseg=[];_3c6.push({index:j,rseg:rseg});}rseg.push((_3c5&&run.data[j].hasOwnProperty("y"))?run.data[j].y:run.data[j]);}else{if(!this.opt.interpolate||_3c5){rseg=null;}}}return _3c6;},render:function(dim,_3c7){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_3c7);}this.resetEvents();this.dirty=this.isDirty();var s;if(this.dirty){arr.forEach(this.series,_3bf);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,_3c8,_3c9,_3ca,_3cb=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 _3cc=t.next(this.opt.areas?"area":"line",[this.opt,run],true),_3cd,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_3ce=this._eventSeries[run.name]=new Array(run.data.length);s=run.group;var _3cf=arr.some(run.data,function(item){return typeof item=="number"||(item&&!item.hasOwnProperty("x"));});var _3d0=this.buildSegments(i,_3cf);for(var seg=0;seg<_3d0.length;seg++){var _3d1=_3d0[seg];if(_3cf){_3cd=arr.map(_3d1.rseg,function(v,i){return {x:ht(i+_3d1.index+1)+_3c7.l,y:dim.height-_3c7.b-vt(v),data:v};},this);}else{_3cd=arr.map(_3d1.rseg,function(v){return {x:ht(v.x)+_3c7.l,y:dim.height-_3c7.b-vt(v.y),data:v};},this);}if(_3cf&&this.opt.interpolate){while(seg<_3d0.length){seg++;_3d1=_3d0[seg];if(_3d1){_3cd=_3cd.concat(arr.map(_3d1.rseg,function(v,i){return {x:ht(i+_3d1.index+1)+_3c7.l,y:dim.height-_3c7.b-vt(v),data:v};},this));}}}var _3d2=this.opt.tension?dc.curve(_3cd,this.opt.tension):"";if(this.opt.areas&&_3cd.length>1){var fill=this._plotFill(_3cc.series.fill,dim,_3c7),_3d3=lang.clone(_3cd);if(this.opt.tension){var _3d4="L"+_3d3[_3d3.length-1].x+","+(dim.height-_3c7.b)+" L"+_3d3[0].x+","+(dim.height-_3c7.b)+" L"+_3d3[0].x+","+_3d3[0].y;run.dyn.fill=s.createPath(_3d2+" "+_3d4).setFill(fill).getFill();}else{_3d3.push({x:_3cd[_3cd.length-1].x,y:dim.height-_3c7.b});_3d3.push({x:_3cd[0].x,y:dim.height-_3c7.b});_3d3.push(_3cd[0]);run.dyn.fill=s.createPolyline(_3d3).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_3c8=_3cc.series.stroke;if(_3cc.series.outline){_3c9=run.dyn.outline=dc.makeStroke(_3cc.series.outline);_3c9.width=2*_3c9.width+_3c8.width;}}if(this.opt.markers){run.dyn.marker=_3cc.symbol;}var _3d5=null,_3d6=null,_3d7=null;if(_3c8&&_3cc.series.shadow&&_3cd.length>1){var _3d8=_3cc.series.shadow,_3d9=arr.map(_3cd,function(c){return {x:c.x+_3d8.dx,y:c.y+_3d8.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_3d9,this.opt.tension)).setStroke(_3d8).getStroke();}else{run.dyn.shadow=s.createPolyline(_3d9).setStroke(_3d8).getStroke();}}if(this.opt.markers&&_3cc.marker.shadow){_3d8=_3cc.marker.shadow;_3d7=arr.map(_3d9,function(c){return this.createPath(run,s,"M"+c.x+" "+c.y+" "+_3cc.symbol).setStroke(_3d8).setFill(_3d8.color);},this);}}if(this.opt.lines&&_3cd.length>1){if(_3c9){if(this.opt.tension){run.dyn.outline=s.createPath(_3d2).setStroke(_3c9).getStroke();}else{run.dyn.outline=s.createPolyline(_3cd).setStroke(_3c9).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_3d2).setStroke(_3c8).getStroke();}else{run.dyn.stroke=s.createPolyline(_3cd).setStroke(_3c8).getStroke();}}if(this.opt.markers){var _3da=_3cc;_3d5=new Array(_3cd.length);_3d6=new Array(_3cd.length);_3c9=null;if(_3da.marker.outline){_3c9=dc.makeStroke(_3da.marker.outline);_3c9.width=2*_3c9.width+(_3da.marker.stroke?_3da.marker.stroke.width:0);}arr.forEach(_3cd,function(c,i){if(this.opt.styleFunc||typeof c.data!="number"){var _3db=typeof c.data!="number"?[c.data]:[];if(this.opt.styleFunc){_3db.push(this.opt.styleFunc(c.data));}_3da=t.addMixin(_3cc,"marker",_3db,true);}else{_3da=t.post(_3cc,"marker");}var path="M"+c.x+" "+c.y+" "+_3da.symbol;if(_3c9){_3d6[i]=this.createPath(run,s,path).setStroke(_3c9);}_3d5[i]=this.createPath(run,s,path).setStroke(_3da.marker.stroke).setFill(_3da.marker.fill);},this);run.dyn.markerFill=_3da.marker.fill;run.dyn.markerStroke=_3da.marker.stroke;if(_3cb){arr.forEach(_3d5,function(s,i){var o={element:"marker",index:i+_3d1.index,run:run,shape:s,outline:_3d6[i]||null,shadow:_3d7&&_3d7[i]||null,cx:_3cd[i].x,cy:_3cd[i].y};if(_3cf){o.x=i+_3d1.index+1;o.y=_3d1.rseg[i];}else{o.x=_3d1.rseg[i].x;o.y=_3d1.rseg[i].y;}this._connectEvents(o);_3ce[i+_3d1.index]=o;},this);}else{delete this._eventSeries[run.name];}}}run.dirty=false;}if(this.animate){var _3dc=this.group;fx.animateTransform(lang.delegate({shape:_3dc,duration:_3c0,transform:[{name:"translate",start:[0,dim.height-_3c7.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/StackedLines":function(){define("dojox/charting/plot2d/StackedLines",["dojo/_base/declare","./Stacked"],function(_3dd,_3de){return _3dd("dojox.charting.plot2d.StackedLines",_3de,{constructor:function(){this.opt.lines=true;}});});},"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/charting/axis2d/common":function(){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojox/gfx"],function(lang,win,_3df,g){var _3e0=lang.getObject("dojox.charting.axis2d.common",true);var _3e1=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 _3e2=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return _3df.getMarginBox(n).w;}};return lang.mixin(_3e0,{createText:{gfx:function(_3e3,_3e4,x,y,_3e5,text,font,_3e6){return _3e4.createText({x:x,y:y,text:text,align:_3e5}).setFont(font).setFill(_3e6);},html:function(_3e7,_3e8,x,y,_3e9,text,font,_3ea,_3eb){var p=win.doc.createElement("div"),s=p.style,_3ec;if(_3e7.getTextDir){p.dir=_3e7.getTextDir(text);}_3e1(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_3ea;s.position="absolute";s.left="-10000px";win.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_3eb){_3ec=_3e2(p);}if(p.dir=="rtl"){x+=_3eb?_3eb:_3ec;}win.body().removeChild(p);s.position="relative";if(_3eb){s.width=_3eb+"px";switch(_3e9){case "middle":s.textAlign="center";s.left=(x-_3eb/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_3eb)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_3e9){case "middle":s.left=Math.floor(x-_3ec/2)+"px";break;case "end":s.left=Math.floor(x-_3ec)+"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;_3e1(w);w.width="0px";w.height="0px";wrap.appendChild(p);_3e7.node.insertBefore(wrap,_3e7.node.firstChild);return wrap;}}});});},"dojo/fx/easing":function(){define(["../_base/lang"],function(lang){var _3ed={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-_3ed.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 _3ed.bounceIn(n*2)/2;}return (_3ed.bounceOut(n*2-1)/2)+0.5;}};lang.setObject("dojo.fx.easing",_3ed);return _3ed;});},"dojox/charting/plot2d/StackedAreas":function(){define("dojox/charting/plot2d/StackedAreas",["dojo/_base/declare","./Stacked"],function(_3ee,_3ef){return _3ee("dojox.charting.plot2d.StackedAreas",_3ef,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"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,_3f0,_3f1,hub,c,_3f2,dfe,dgf){var _3f3=100,_3f4=75,_3f5=50,cc=function(_3f6){return function(){return _3f6;};},hl=function(_3f7){var a=new c.Color(_3f7),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=_3f3;if(x.l<_3f5){x.l=_3f4;}else{if(x.l>_3f4){x.l=_3f5;}else{x.l=x.l-_3f5>_3f4-x.l?_3f5:_3f4;}}}return c.fromHsl(x);};return _3f0("dojox.charting.action2d.Highlight",_3f2,{defaultParams:{duration:400,easing:dfe.backOut},optionalParams:{highlight:"red"},constructor:function(_3f8,plot,_3f9){var a=_3f9&&_3f9.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 _3fa=o.run.name,_3fb=o.index,anim,_3fc,_3fd;if(_3fa in this.anim){anim=this.anim[_3fa][_3fb];}else{this.anim[_3fa]={};}if(anim){anim.action.stop(true);}else{var _3fe=o.shape.getFill();if(!_3fe||!(_3fe instanceof _3f1)){return;}this.anim[_3fa][_3fb]=anim={start:_3fe,end:this.colorFun(_3fe)};}var _3ff=anim.start,end=anim.end;if(o.type=="onmouseout"){var t=_3ff;_3ff=end;end=t;}anim.action=dgf.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_3ff,end:end}});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_3fa]){delete this.anim[_3fa][_3fb];}});}anim.action.play();}});});},"dojox/charting/plot2d/_PlotEvents":function(){define("dojox/charting/plot2d/_PlotEvents",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect"],function(lang,arr,_400,hub){return _400("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=lang.delegate(o);t.originalEvent=o.type;t.originalPlot=o.plot;t.type="onindirect";arr.forEach(this.chart.stack,function(plot){if(plot!==this&&plot.plotEvent){t.plot=plot;plot.plotEvent(t);}},this);},connect:function(_401,_402){this.dirty=true;return hub.connect(this,"plotEvent",_401,_402);},events:function(){return !!this.plotEvent.after;},resetEvents:function(){if(this._shapeEvents.length){arr.forEach(this._shapeEvents,function(item){item.shape.disconnect(item.handle);});this._shapeEvents=[];}this.raiseEvent({type:"onplotreset",plot:this});},_connectSingleEvent:function(o,_403){this._shapeEvents.push({shape:o.eventMask,handle:o.eventMask.connect(_403,this,function(e){o.type=_403;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(_404){var a=this._eventSeries[_404];if(a){arr.forEach(a,this._connectEvents,this);}},fireEvent:function(_405,_406,_407,_408){var s=this._eventSeries[_405];if(s&&s.length&&_407<s.length){var o=s[_407];o.type=_406;o.event=_408||null;this.raiseEvent(o);o.event=null;}}});});},"dojox/charting/plot2d/commonStacked":function(){define("dojox/charting/plot2d/commonStacked",["dojo/_base/lang","./common"],function(lang,_409){var _40a=lang.getObject("dojox.charting.plot2d.commonStacked",true);return lang.mixin(_40a,{collectStats:function(_40b){var _40c=lang.delegate(_409.defaultStats);for(var i=0;i<_40b.length;++i){var run=_40b[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].x){y=_40a.getIndexValue(_40b,i,j);x=j+1;}else{x=run.data[j].x;if(x){y=_40a.getValue(_40b,i,x);y=y!=null&&y.y?y.y:null;}}_40c.hmin=Math.min(_40c.hmin,x);_40c.hmax=Math.max(_40c.hmax,x);_40c.vmin=Math.min(_40c.vmin,y);_40c.vmax=Math.max(_40c.vmax,y);}}}return _40c;},getIndexValue:function(_40d,i,_40e){var _40f=0,v,j;for(j=0;j<=i;++j){v=_40d[j].data[_40e];if(v!=null){if(isNaN(v)){v=v.y||0;}_40f+=v;}}return _40f;},getValue:function(_410,i,x){var _411=null,j,z;for(j=0;j<=i;++j){for(z=0;z<_410[j].data.length;z++){v=_410[j].data[z];if(v!==null){if(v.x==x){if(!_411){_411={x:x};}if(v.y!=null){if(_411.y==null){_411.y=0;}_411.y+=v.y;}break;}else{if(v.x>x){break;}}}}}return _411;}});});},"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,_412,_413,gfx,_414){return _413("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_415){this.chart=_415;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},purgeGroup:function(){this.destroyHtmlElements();if(this.group){this.group.removeShape();var _416=this.group.children;for(var i=0;i<_416.length;++i){_414.dispose(_416[i]);}this.group.clear();_414.dispose(this.group);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(_417){this.destroyHtmlElements();if(!_417){_417=this.chart.surface;}if(this.group){var _418=this.group.children;for(var i=0;i<_418.length;++i){_414.dispose(_418[i]);}this.group.clear();}else{this.group=_417.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){arr.forEach(this.htmlElements,_412.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,font){return gfx._base._getTextBox(s,{font:font}).w||0;},getTextWithLimitLength:function(s,font,_419,_41a){if(!s||s.length<=0){return {text:"",truncated:_41a||false};}if(!_419||_419<=0){return {text:s,truncated:_41a||false};}var _41b=2,_41c=0.618,_41d=s.substring(0,1)+this.trailingSymbol,_41e=this.getTextWidth(_41d,font);if(_419<=_41e){return {text:_41d,truncated:true};}var _41f=this.getTextWidth(s,font);if(_41f<=_419){return {text:s,truncated:_41a||false};}else{var _420=0,end=s.length;while(_420<end){if(end-_420<=_41b){while(this.getTextWidth(s.substring(0,_420)+this.trailingSymbol,font)>_419){_420-=1;}return {text:(s.substring(0,_420)+this.trailingSymbol),truncated:true};}var _421=_420+Math.round((end-_420)*_41c),_422=this.getTextWidth(s.substring(0,_421),font);if(_422<_419){_420=_421;end=end;}else{_420=_420;end=_421;}}}},getTextWithLimitCharCount:function(s,font,_423,_424){if(!s||s.length<=0){return {text:"",truncated:_424||false};}if(!_423||_423<=0||s.length<=_423){return {text:s,truncated:_424||false};}return {text:s.substring(0,_423)+this.trailingSymbol,truncated:true};},_plotFill:function(fill,dim,_425){if(!fill||!fill.type||!fill.space){return fill;}var _426=fill.space,span;switch(fill.type){case "linear":if(_426==="plot"||_426==="shapeX"||_426==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_426;if(_426==="plot"||_426==="shapeX"){span=dim.height-_425.t-_425.b;fill.y1=_425.t+span*fill.y1/100;fill.y2=_425.t+span*fill.y2/100;}if(_426==="plot"||_426==="shapeY"){span=dim.width-_425.l-_425.r;fill.x1=_425.l+span*fill.x1/100;fill.x2=_425.l+span*fill.x2/100;}}break;case "radial":if(_426==="plot"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_426;var _427=dim.width-_425.l-_425.r,_428=dim.height-_425.t-_425.b;fill.cx=_425.l+_427*fill.cx/100;fill.cy=_425.t+_428*fill.cy/100;fill.r=fill.r*Math.sqrt(_427*_427+_428*_428)/200;}break;case "pattern":if(_426==="plot"||_426==="shapeX"||_426==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_426;if(_426==="plot"||_426==="shapeX"){span=dim.height-_425.t-_425.b;fill.y=_425.t+span*fill.y/100;fill.height=span*fill.height/100;}if(_426==="plot"||_426==="shapeY"){span=dim.width-_425.l-_425.r;fill.x=_425.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 _429=fill.space,span;switch(fill.type){case "linear":if(_429==="shape"||_429==="shapeX"||_429==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_429;if(_429==="shape"||_429==="shapeX"){span=bbox.width;fill.x1=bbox.x+span*fill.x1/100;fill.x2=bbox.x+span*fill.x2/100;}if(_429==="shape"||_429==="shapeY"){span=bbox.height;fill.y1=bbox.y+span*fill.y1/100;fill.y2=bbox.y+span*fill.y2/100;}}break;case "radial":if(_429==="shape"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_429;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(_429==="shape"||_429==="shapeX"||_429==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_429;if(_429==="shape"||_429==="shapeX"){span=bbox.width;fill.x=bbox.x+span*fill.x/100;fill.width=span*fill.width/100;}if(_429==="shape"||_429==="shapeY"){span=bbox.height;fill.y=bbox.y+span*fill.y/100;fill.height=span*fill.height/100;}}break;}return fill;},_pseudoRadialFill:function(fill,_42a,_42b,_42c,end){if(!fill||fill.type!=="radial"||fill.space!=="shape"){return fill;}var _42d=fill.space;fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_42d;if(arguments.length<4){fill.cx=_42a.x;fill.cy=_42a.y;fill.r=fill.r*_42b/100;return fill;}var _42e=arguments.length<5?_42c:(end+_42c)/2;return {type:"linear",x1:_42a.x,y1:_42a.y,x2:_42a.x+fill.r*_42b*Math.cos(_42e)/100,y2:_42a.y+fill.r*_42b*Math.sin(_42e)/100,colors:fill.colors};return fill;}});});},"dojox/gfx/matrix":function(){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],function(g,lang){var m=g.matrix={};var _42f={};m._degToRad=function(_430){return _42f[_430]||(_42f[_430]=(Math.PI*_430/180));};m._radToDeg=function(_431){return _431/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 _432=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_432,r=m.normalize(arg[i]);_432=new m.Matrix2D();_432.xx=l.xx*r.xx+l.xy*r.yx;_432.xy=l.xx*r.xy+l.xy*r.yy;_432.yx=l.yx*r.xx+l.yy*r.yx;_432.yy=l.yx*r.xy+l.yy*r.yy;_432.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_432.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}lang.mixin(this,_432);}}else{lang.mixin(this,arg);}}}};lang.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});lang.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(_433){var c=Math.cos(_433);var s=Math.sin(_433);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_434){return m.rotate(m._degToRad(_434));},skewX:function(_435){return new m.Matrix2D({xy:Math.tan(_435)});},skewXg:function(_436){return m.skewX(m._degToRad(_436));},skewY:function(_437){return new m.Matrix2D({yx:Math.tan(_437)});},skewYg:function(_438){return m.skewY(m._degToRad(_438));},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(_439){return (_439 instanceof m.Matrix2D)?_439:new m.Matrix2D(_439);},isIdentity:function(_43a){return _43a.xx==1&&_43a.xy==0&&_43a.yx==0&&_43a.yy==1&&_43a.dx==0&&_43a.dy==0;},clone:function(_43b){var obj=new m.Matrix2D();for(var i in _43b){if(typeof (_43b[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_43b[i]){obj[i]=_43b[i];}}return obj;},invert:function(_43c){var M=m.normalize(_43c),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(_43d,x,y){return {x:_43d.xx*x+_43d.xy*y+_43d.dx,y:_43d.yx*x+_43d.yy*y+_43d.dy};},multiplyPoint:function(_43e,a,b){var M=m.normalize(_43e);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiplyRectangle:function(_43f,rect){var M=m.normalize(_43f);rect=rect||{x:0,y:0,width:0,height:0};if(m.isIdentity(M)){return {x:rect.x,y:rect.y,width:rect.width,height:rect.height};}var p0=m.multiplyPoint(M,rect.x,rect.y),p1=m.multiplyPoint(M,rect.x,rect.y+rect.height),p2=m.multiplyPoint(M,rect.x+rect.width,rect.y),p3=m.multiplyPoint(M,rect.x+rect.width,rect.y+rect.height),minx=Math.min(p0.x,p1.x,p2.x,p3.x),miny=Math.min(p0.y,p1.y,p2.y,p3.y),maxx=Math.max(p0.x,p1.x,p2.x,p3.x),maxy=Math.max(p0.y,p1.y,p2.y,p3.y);return {x:minx,y:miny,width:maxx-minx,height:maxy-miny};},multiply:function(_440){var M=m.normalize(_440);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(_441,x,y){return m.multiply(m.translate(x,y),_441,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(_442,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_442),a,b);}return m._sandwich(m.rotate(_442),a.x,a.y);},rotategAt:function(_443,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_443),a,b);}return m._sandwich(m.rotateg(_443),a.x,a.y);},skewXAt:function(_444,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_444),a,b);}return m._sandwich(m.skewX(_444),a.x,a.y);},skewXgAt:function(_445,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_445),a,b);}return m._sandwich(m.skewXg(_445),a.x,a.y);},skewYAt:function(_446,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_446),a,b);}return m._sandwich(m.skewY(_446),a.x,a.y);},skewYgAt:function(_447,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_447),a,b);}return m._sandwich(m.skewYg(_447),a.x,a.y);}});g.Matrix2D=m.Matrix2D;return m;});},"dojox/charting/axis2d/Base":function(){define("dojox/charting/axis2d/Base",["dojo/_base/declare","../Element"],function(_448,_449){return _448("dojox.charting.axis2d.Base",_449,{constructor:function(_44a,_44b){this.vertical=_44b&&_44b.vertical;this.opt={};this.opt.min=_44b&&_44b.min;this.opt.max=_44b&&_44b.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,_44c){this.dirty=false;return this;}});});},"dojox/lang/functional/scan":function(){define("dojox/lang/functional/scan",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(_44d,lang,df){var _44e={};lang.mixin(df,{scanl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||_44d.global;f=df.lambda(f);var t,n,i;if(lang.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 _44e)){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||_44d.global;f=df.lambda(f);var t,n,z,_44f=true;if(lang.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 _44e)){if(_44f){t=[z=a[i]];_44f=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||_44d.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||_44d.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/scaler/primitive":function(){define("dojox/charting/scaler/primitive",["dojo/_base/lang"],function(lang){var _450=lang.getObject("dojox.charting.scaler.primitive",true);return lang.mixin(_450,{buildScaler:function(min,max,span,_451){if(min==max){min-=0.5;max+=0.5;}return {bounds:{lower:min,upper:max,from:min,to:max,scale:span/(max-min),span:span},scaler:_450};},buildTicks:function(_452,_453){return {major:[],minor:[],micro:[]};},getTransformerFromModel:function(_454){var _455=_454.bounds.from,_456=_454.bounds.scale;return function(x){return (x-_455)*_456;};},getTransformerFromPlot:function(_457){var _458=_457.bounds.from,_459=_457.bounds.scale;return function(x){return x/_459+_458;};}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_45a,dom,geom,_45b){var _45c={getBox:function(doc){doc=doc||_45a.doc;var _45d=(doc.compatMode=="BackCompat")?_45a.body(doc):doc.documentElement,_45e=geom.docScroll(doc),w,h;if(has("touch")){var _45f=_45c.get(doc);w=_45f.innerWidth||_45d.clientWidth;h=_45f.innerHeight||_45d.clientHeight;}else{w=_45d.clientWidth;h=_45d.clientHeight;}return {l:_45e.x,t:_45e.y,w:w,h:h};},get:function(doc){if(has("ie")&&_45c!==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||_45a.doc,body=_45a.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _460=doc.compatMode=="BackCompat",_461=(isIE>=9&&"frameElement" in node.ownerDocument.parentWindow)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_460?body:html),_462=isWK?body:_461,_463=_461.clientWidth,_464=_461.clientHeight,rtl=!geom.isBodyLtr(doc),_465=pos||geom.position(node),el=node.parentNode,_466=function(el){return ((isIE<=6||(isIE&&_460))?false:(_45b.get(el,"position").toLowerCase()=="fixed"));};if(_466(node)){return;}while(el){if(el==body){el=_462;}var _467=geom.position(el),_468=_466(el);if(el==_462){_467.w=_463;_467.h=_464;if(_462==html&&isIE&&rtl){_467.x+=_462.offsetWidth-_467.w;}if(_467.x<0||!isIE){_467.x=0;}if(_467.y<0||!isIE){_467.y=0;}}else{var pb=geom.getPadBorderExtents(el);_467.w-=pb.w;_467.h-=pb.h;_467.x+=pb.l;_467.y+=pb.t;var _469=el.clientWidth,_46a=_467.w-_469;if(_469>0&&_46a>0){_467.w=_469;_467.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_46a:0;}_469=el.clientHeight;_46a=_467.h-_469;if(_469>0&&_46a>0){_467.h=_469;}}if(_468){if(_467.y<0){_467.h+=_467.y;_467.y=0;}if(_467.x<0){_467.w+=_467.x;_467.x=0;}if(_467.y+_467.h>_464){_467.h=_464-_467.y;}if(_467.x+_467.w>_463){_467.w=_463-_467.x;}}var l=_465.x-_467.x,t=_465.y-Math.max(_467.y,0),r=l+_465.w-_467.w,bot=t+_465.h-_467.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_460)||isIE>=9)){s=-s;}_465.x+=el.scrollLeft;el.scrollLeft+=s;_465.x-=el.scrollLeft;}if(bot*t>0){_465.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_465.y-=el.scrollTop;}el=(el!=_462)&&!_468&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_45c);return _45c;});},"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,_46b,arr,fx,Hub){var fxg=g.fx={};function _46c(_46d,end){this.start=_46d,this.end=end;};_46c.prototype.getValue=function(r){return (this.end-this.start)*r+this.start;};function _46e(_46f,end,_470){this.start=_46f,this.end=end;this.units=_470;};_46e.prototype.getValue=function(r){return (this.end-this.start)*r+this.start+this.units;};function _471(_472,end){this.start=_472,this.end=end;this.temp=new _46b();};_471.prototype.getValue=function(r){return _46b.blendColors(this.start,this.end,r,this.temp);};function _473(_474){this.values=_474;this.length=_474.length;};_473.prototype.getValue=function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];};function _475(_476,def){this.values=_476;this.def=def?def:{};};_475.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 _477(_478,_479){this.stack=_478;this.original=_479;};_477.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 _47a=new m.Matrix2D();for(var p in t.start){_47a[p]=(t.end[p]-t.start[p])*r+t.start[p];}ret.push(_47a);}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;}),_47b=f.apply(m,val);if(_47b instanceof m.Matrix2D){ret.push(_47b);}},this);return ret;};var _47c=new _46b(0,0,0,0);function _47d(prop,obj,name,def){if(prop.values){return new _473(prop.values);}var _47e,_47f,end;if(prop.start){_47f=g.normalizeColor(prop.start);}else{_47f=_47e=obj?(name?obj[name]:obj):def;}if(prop.end){end=g.normalizeColor(prop.end);}else{if(!_47e){_47e=obj?(name?obj[name]:obj):def;}end=_47e;}return new _471(_47f,end);};function _480(prop,obj,name,def){if(prop.values){return new _473(prop.values);}var _481,_482,end;if(prop.start){_482=prop.start;}else{_482=_481=obj?obj[name]:def;}if(prop.end){end=prop.end;}else{if(typeof _481!="number"){_481=obj?obj[name]:def;}end=_481;}return new _46c(_482,end);};fxg.animateStroke=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_483=args.shape,_484;Hub.connect(anim,"beforeBegin",anim,function(){_484=_483.getStroke();var prop=args.color,_485={},_486,_487,end;if(prop){_485.color=_47d(prop,_484,"color",_47c);}prop=args.style;if(prop&&prop.values){_485.style=new _473(prop.values);}prop=args.width;if(prop){_485.width=_480(prop,_484,"width",1);}prop=args.cap;if(prop&&prop.values){_485.cap=new _473(prop.values);}prop=args.join;if(prop){if(prop.values){_485.join=new _473(prop.values);}else{_487=prop.start?prop.start:(_484&&_484.join||0);end=prop.end?prop.end:(_484&&_484.join||0);if(typeof _487=="number"&&typeof end=="number"){_485.join=new _46c(_487,end);}}}this.curve=new _475(_485,_484);});Hub.connect(anim,"onAnimate",_483,"setStroke");return anim;};fxg.animateFill=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_488=args.shape,fill;Hub.connect(anim,"beforeBegin",anim,function(){fill=_488.getFill();var prop=args.color,_489={};if(prop){this.curve=_47d(prop,fill,"",_47c);}});Hub.connect(anim,"onAnimate",_488,"setFill");return anim;};fxg.animateFont=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_48a=args.shape,font;Hub.connect(anim,"beforeBegin",anim,function(){font=_48a.getFont();var prop=args.style,_48b={},_48c,_48d,end;if(prop&&prop.values){_48b.style=new _473(prop.values);}prop=args.variant;if(prop&&prop.values){_48b.variant=new _473(prop.values);}prop=args.weight;if(prop&&prop.values){_48b.weight=new _473(prop.values);}prop=args.family;if(prop&&prop.values){_48b.family=new _473(prop.values);}prop=args.size;if(prop&&prop.units){_48d=parseFloat(prop.start?prop.start:(_48a.font&&_48a.font.size||"0"));end=parseFloat(prop.end?prop.end:(_48a.font&&_48a.font.size||"0"));_48b.size=new _46e(_48d,end,prop.units);}this.curve=new _475(_48b,font);});Hub.connect(anim,"onAnimate",_48a,"setFont");return anim;};fxg.animateTransform=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_48e=args.shape,_48f;Hub.connect(anim,"beforeBegin",anim,function(){_48f=_48e.getTransform();this.curve=new _477(args.transform,_48f);});Hub.connect(anim,"onAnimate",_48e,"setTransform");return anim;};return fxg;});},"dojox/charting/plot2d/StackedColumns":function(){define("dojox/charting/plot2d/StackedColumns",["dojo/_base/declare","./Columns","./commonStacked"],function(_490,_491,_492){return _490("dojox.charting.plot2d.StackedColumns",_491,{getSeriesStats:function(){var _493=_492.collectStats(this.series);this._maxRunLength=_493.hmax;_493.hmin-=0.5;_493.hmax+=0.5;return _493;},getDataLength:function(run){return this._maxRunLength;},getValue:function(_494,_495,_496,_497){var y,x;if(_497){x=_495;y=_492.getIndexValue(this.series,_496,x);}else{x=_494.x-1;y=_492.getValue(this.series,_496,_494.x);y=y?y.y:null;}return {y:y,x:x};}});});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_498,_499,_49a,lang){lang.extend(_499,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _49a("dijit._FocusMixin",null,{_focusManager:_498});});},"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,_49b,_49c,dlu,dgg){var _49d=_49b("dojox.charting.SimpleTheme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_49e){_49e=_49e||{};var def=_49d.defaultTheme;arr.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],function(name){this[name]=lang.delegate(def[name],_49e[name]);},this);if(_49e.seriesThemes&&_49e.seriesThemes.length){this.colors=null;this.seriesThemes=_49e.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_49e.colors||_49d.defaultColors).slice(0);}this.markerThemes=null;if(_49e.markerThemes&&_49e.markerThemes.length){this.markerThemes=_49e.markerThemes.slice(0);}this.markers=_49e.markers?lang.clone(_49e.markers):lang.delegate(_49d.defaultMarkers);this.noGradConv=_49e.noGradConv;this.noRadialConv=_49e.noRadialConv;if(_49e.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _49f=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)){_49f[name]=this[name];}},this);return _49f;},clear:function(){this._current=0;},next:function(_4a0,_4a1,_4a2){var _4a3=dlu.merge,_4a4,_4a5;if(this.colors){_4a4=lang.delegate(this.series);_4a5=lang.delegate(this.marker);var _4a6=new _49c(this.colors[this._current%this.colors.length]),old;if(_4a4.stroke&&_4a4.stroke.color){_4a4.stroke=lang.delegate(_4a4.stroke);old=new _49c(_4a4.stroke.color);_4a4.stroke.color=new _49c(_4a6);_4a4.stroke.color.a=old.a;}else{_4a4.stroke={color:_4a6};}if(_4a5.stroke&&_4a5.stroke.color){_4a5.stroke=lang.delegate(_4a5.stroke);old=new _49c(_4a5.stroke.color);_4a5.stroke.color=new _49c(_4a6);_4a5.stroke.color.a=old.a;}else{_4a5.stroke={color:_4a6};}if(!_4a4.fill||_4a4.fill.type){_4a4.fill=_4a6;}else{old=new _49c(_4a4.fill);_4a4.fill=new _49c(_4a6);_4a4.fill.a=old.a;}if(!_4a5.fill||_4a5.fill.type){_4a5.fill=_4a6;}else{old=new _49c(_4a5.fill);_4a5.fill=new _49c(_4a6);_4a5.fill.a=old.a;}}else{_4a4=this.seriesThemes?_4a3(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_4a5=this.markerThemes?_4a3(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_4a4;}var _4a7=_4a5&&_4a5.symbol||this._markers[this._current%this._markers.length];var _4a8={series:_4a4,marker:_4a5,symbol:_4a7};++this._current;if(_4a1){_4a8=this.addMixin(_4a8,_4a0,_4a1);}if(_4a2){_4a8=this.post(_4a8,_4a0);}return _4a8;},skip:function(){++this._current;},addMixin:function(_4a9,_4aa,_4ab,_4ac){if(lang.isArray(_4ab)){arr.forEach(_4ab,function(m){_4a9=this.addMixin(_4a9,_4aa,m);},this);}else{var t={};if("color" in _4ab){if(_4aa=="line"||_4aa=="area"){lang.setObject("series.stroke.color",_4ab.color,t);lang.setObject("marker.stroke.color",_4ab.color,t);}else{lang.setObject("series.fill",_4ab.color,t);}}arr.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _4ad="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_4ad in _4ab;if(name in _4ab){lang.setObject("series."+name,_4ab[name],t);if(!b){lang.setObject("marker."+name,_4ab[name],t);}}if(b){lang.setObject("marker."+name,_4ab[_4ad],t);}});if("marker" in _4ab){t.symbol=_4ab.marker;t.symbol=_4ab.marker;}_4a9=dlu.merge(_4a9,t);}if(_4ac){_4a9=this.post(_4a9,_4aa);}return _4a9;},post:function(_4ae,_4af){var fill=_4ae.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_4af=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_4af=="slice"||_4af=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dlu.merge(_4ae,{series:{fill:t}});}}return _4ae;},getTick:function(name,_4b0){var tick=this.axis.tick,_4b1=name+"Tick",_4b2=dlu.merge;if(tick){if(this.axis[_4b1]){tick=_4b2(tick,this.axis[_4b1]);}}else{tick=this.axis[_4b1];}if(_4b0){if(tick){if(_4b0[_4b1]){tick=_4b2(tick,_4b0[_4b1]);}}else{tick=_4b0[_4b1];}}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,_4b3){this.markers[name]=_4b3;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(_49d,{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 _49d;});},"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,_4b4){var _4b5=null;return {load:function(id,_4b6,load){if(_4b5&&id!="force"){load(_4b5);return;}var _4b7=_4b4.forceGfxRenderer,_4b8=!_4b7&&(lang.isString(_4b4.gfxRenderer)?_4b4.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_4b9,_4ba;while(!_4b7&&_4b8.length){switch(_4b8.shift()){case "svg":if("SVGAngle" in win.global){_4b7="svg";}break;case "vml":if(has("ie")){_4b7="vml";}break;case "silverlight":try{if(has("ie")){_4b9=new ActiveXObject("AgControl.AgControl");if(_4b9&&_4b9.IsVersionSupported("1.0")){_4ba=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_4ba=true;}}}catch(e){_4ba=false;}finally{_4b9=null;}if(_4ba){_4b7="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_4b7="canvas";}break;}}if(_4b7==="canvas"&&_4b4.canvasEvents!==false){_4b7="canvasWithEvents";}if(_4b4.isDebug){}function _4bb(){_4b6(["dojox/gfx/"+_4b7],function(_4bc){g.renderer=_4b7;_4b5=_4bc;load(_4bc);});};if(_4b7=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_4bb);}else{_4bb();}}};});},"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,_4bd,_4be,_4bf,dc,df,dfr,du,fx){var _4c0=dfr.lambda("item.purgeGroup()");return _4bd("dojox.charting.plot2d.OHLC",[_4be,_4bf],{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_4c1,_4c2){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_4c2);du.updateWithPattern(this.opt,_4c2,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_4c3){var _4c4=lang.delegate(dc.defaultStats);for(var i=0;i<_4c3.length;i++){var run=_4c3[i];if(!run.data.length){continue;}var _4c5=_4c4.vmin,_4c6=_4c4.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_4c4.hmin=Math.min(_4c4.hmin,x);_4c4.hmax=Math.max(_4c4.hmax,x);_4c4.vmin=Math.min(_4c4.vmin,val.open,val.close,val.high,val.low);_4c4.vmax=Math.max(_4c4.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_4c4.vmin=Math.min(_4c5,run.ymin);}if("ymax" in run){_4c4.vmax=Math.max(_4c6,run.ymax);}}return _4c4;},getSeriesStats:function(){var _4c7=this.collectStats(this.series);_4c7.hmin-=0.5;_4c7.hmax+=0.5;return _4c7;},render:function(dim,_4c8){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_4c8);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_4c0);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_4c9,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_4ca=Math.max(0,this._vScaler.bounds.lower),_4cb=vt(_4ca),_4cc=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_4c9=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 _4cd=t.next("candlestick",[this.opt,run]),s=run.group,_4ce=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _4cf=t.addMixin(_4cd,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_4c8.l+gap,y=dim.height-_4c8.b,open=vt(v.open),_4d0=vt(v.close),high=vt(v.high),low=vt(v.low);if(low>high){var tmp=high;high=low;low=tmp;}if(_4c9>=1){var hl={x1:_4c9/2,x2:_4c9/2,y1:y-high,y2:y-low},op={x1:0,x2:((_4c9/2)+((_4cf.series.stroke.width||1)/2)),y1:y-open,y2:y-open},cl={x1:((_4c9/2)-((_4cf.series.stroke.width||1)/2)),x2:_4c9,y1:y-_4d0,y2:y-_4d0};var _4d1=s.createGroup();_4d1.setTransform({dx:x,dy:0});var _4d2=_4d1.createGroup();_4d2.createLine(hl).setStroke(_4cf.series.stroke);_4d2.createLine(op).setStroke(_4cf.series.stroke);_4d2.createLine(cl).setStroke(_4cf.series.stroke);run.dyn.stroke=_4cf.series.stroke;if(_4cc){var o={element:"candlestick",index:j,run:run,shape:_4d2,x:x,y:y-Math.max(open,_4d0),cx:_4c9/2,cy:(y-Math.max(open,_4d0))+(Math.max(open>_4d0?open-_4d0:_4d0-open,1)/2),width:_4c9,height:Math.max(open>_4d0?open-_4d0:_4d0-open,1),data:v};this._connectEvents(o);_4ce[j]=o;}}if(this.animate){this._animateOHLC(_4d1,y-low,high-low);}}}this._eventSeries[run.name]=_4ce;run.dirty=false;}this.dirty=false;return this;},_animateOHLC:function(_4d3,_4d4,_4d5){fx.animateTransform(lang.delegate({shape:_4d3,duration:1200,transform:[{name:"translate",start:[0,_4d4-(_4d4/_4d5)],end:[0,0]},{name:"scale",start:[1,1/_4d5],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_4d6,_4d7){var _4d8={};lang.setObject("dojo.colors",_4d8);var _4d9=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=_4d6.fromRgb=function(_4da,obj){var m=_4da.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=_4d7.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _4d6.fromArray(a,obj);}return _4d6.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=[_4d9(m1,m2,H+1/3)*256,_4d9(m1,m2,H)*256,_4d9(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _4d6.fromArray(a,obj);}}return null;};var _4db=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_4d6.prototype.sanitize=function(){var t=this;t.r=Math.round(_4db(t.r,0,255));t.g=Math.round(_4db(t.g,0,255));t.b=Math.round(_4db(t.b,0,255));t.a=_4db(t.a,0,1);return this;};_4d8.makeGrey=_4d6.makeGrey=function(g,a){return _4d6.fromArray([g,g,g,a]);};lang.mixin(_4d6.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 _4d6;});},"dojox/lang/functional/reversed":function(){define("dojox/lang/functional/reversed",["dojo/_base/lang","dojo/_base/kernel","./lambda"],function(lang,_4dc,df){lang.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4dc.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||_4dc.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||_4dc.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||_4dc.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||_4dc.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;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_4dd,has,_4de,win,_4df){var _4e0={},hash={};var _4e1={length:0,add:function(_4e2){if(hash[_4e2.id]){throw new Error("Tried to register widget with id=="+_4e2.id+" but that id is already registered");}hash[_4e2.id]=_4e2;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(_4e3){var id;do{id=_4e3+"_"+(_4e3 in _4e0?++_4e0[_4e3]:_4e0[_4e3]=0);}while(hash[id]);return _4df._scopeName=="dijit"?id:_4df._scopeName+"_"+id;},findWidgets:function(root,_4e4){var _4e5=[];function _4e6(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _4e7=node.getAttribute("widgetId");if(_4e7){var _4e8=hash[_4e7];if(_4e8){_4e5.push(_4e8);}}else{if(node!==_4e4){_4e6(node);}}}}};_4e6(root);return _4e5;},_destroyAll:function(){_4df._curFocus=null;_4df._prevFocus=null;_4df._activeStack=[];_4dd.forEach(_4e1.findWidgets(win.body()),function(_4e9){if(!_4e9._destroyed){if(_4e9.destroyRecursive){_4e9.destroyRecursive();}else{if(_4e9.destroy){_4e9.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_4df.registry=_4e1;return _4e1;});},"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(_4ea,lang,arr,_4eb,_4ec,dom,_4ed,_4ee,_4ef,has,_4f0,_4f1,_4f2,_4f3,_4f4,g,func,_4f5,_4f6){var dc=lang.getObject("charting",true,_4ea),_4f7=func.lambda("item.clear()"),_4f8=func.lambda("item.purgeGroup()"),_4f9=func.lambda("item.destroy()"),_4fa=func.lambda("item.dirty = false"),_4fb=func.lambda("item.dirty = true"),_4fc=func.lambda("item.name");var _4fd=_4eb("dojox.charting.Chart",null,{constructor:function(node,_4fe){if(!_4fe){_4fe={};}this.margins=_4fe.margins?_4fe.margins:{l:10,t:10,r:10,b:10};this.stroke=_4fe.stroke;this.fill=_4fe.fill;this.delayInMs=_4fe.delayInMs||200;this.title=_4fe.title;this.titleGap=_4fe.titleGap;this.titlePos=_4fe.titlePos;this.titleFont=_4fe.titleFont;this.titleFontColor=_4fe.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=_4ed.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,_4f9);arr.forEach(this.stack,_4f9);func.forIn(this.axes,_4f9);this.surface.destroy();if(this.chartTitle&&this.chartTitle.tagName){_4ee.destroy(this.chartTitle);}},getCoords:function(){var node=this.node;var s=_4ec.getComputedStyle(node),_4ff=_4ed.getMarginBox(node,s);var abs=_4ed.position(node,true);_4ff.x=abs.x;_4ff.y=abs.y;return _4ff;},setTheme:function(_500){this.theme=_500.clone();this.dirty=true;return this;},addAxis:function(name,_501){var axis,_502=_501&&_501.type||"Default";if(typeof _502=="string"){if(!dc.axis2d||!dc.axis2d[_502]){throw Error("Can't find axis: "+_502+" - Check "+"require() dependencies.");}axis=new dc.axis2d[_502](this,_501);}else{axis=new _502(this,_501);}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,_503){var plot,_504=_503&&_503.type||"Default";if(typeof _504=="string"){if(!dc.plot2d||!dc.plot2d[_504]){throw Error("Can't find plot: "+_504+" - didn't you forget to dojo"+".require() it?");}plot=new dc.plot2d[_504](this,_503);}else{plot=new _504(this,_503);}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 _505=this.plots[name];delete this.plots[name];this.stack[_505].destroy();this.stack.splice(_505,1);func.forIn(this.plots,function(idx,name,_506){if(idx>_505){_506[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,_507){this.runs[run.plot]=_507;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return func.map(this.stack,_4fc);},setPlotOrder:function(_508){var _509={},_50a=func.filter(_508,function(name){if(!(name in this.plots)||(name in _509)){return false;}_509[name]=1;return true;},this);if(_50a.length<this.stack.length){func.forEach(this.stack,function(plot){var name=plot.name;if(!(name in _509)){_50a.push(name);}});}var _50b=func.map(_50a,function(name){return this.stack[this.plots[name]];},this);func.forEach(_50b,function(plot,i){this.plots[plot.name]=i;},this);this.stack=_50b;this.dirty=true;return this;},movePlotToFront:function(name){if(name in this.plots){var _50c=this.plots[name];if(_50c){var _50d=this.getPlotOrder();_50d.splice(_50c,1);_50d.unshift(name);return this.setPlotOrder(_50d);}}return this;},movePlotToBack:function(name){if(name in this.plots){var _50e=this.plots[name];if(_50e<this.stack.length-1){var _50f=this.getPlotOrder();_50f.splice(_50e,1);_50f.push(name);return this.setPlotOrder(_50f);}}return this;},addSeries:function(name,data,_510){var run=new _4f2(this,data,_510);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 _511=this.runs[name];delete this.runs[name];this.series[_511].destroy();this.series.splice(_511,1);func.forIn(this.runs,function(idx,name,runs){if(idx>_511){runs[name]=idx-1;}});this.dirty=true;}return this;},updateSeries:function(name,data,_512){if(name in this.runs){var run=this.series[this.runs[name]];run.update(data);if(_512){this.dirty=true;}else{this._invalidateDependentPlots(run.plot,false);this._invalidateDependentPlots(run.plot,true);}}return this;},getSeriesOrder:function(_513){return func.map(func.filter(this.series,function(run){return run.plot==_513;}),_4fc);},setSeriesOrder:function(_514){var _515,_516={},_517=func.filter(_514,function(name){if(!(name in this.runs)||(name in _516)){return false;}var run=this.series[this.runs[name]];if(_515){if(run.plot!=_515){return false;}}else{_515=run.plot;}_516[name]=1;return true;},this);func.forEach(this.series,function(run){var name=run.name;if(!(name in _516)&&run.plot==_515){_517.push(name);}});var _518=func.map(_517,function(name){return this.series[this.runs[name]];},this);this.series=_518.concat(func.filter(this.series,function(run){return run.plot!=_515;}));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 _519=this.runs[name],_51a=this.getSeriesOrder(this.series[_519].plot);if(name!=_51a[0]){_51a.splice(_519,1);_51a.unshift(name);return this.setSeriesOrder(_51a);}}return this;},moveSeriesToBack:function(name){if(name in this.runs){var _51b=this.runs[name],_51c=this.getSeriesOrder(this.series[_51b].plot);if(name!=_51c[_51c.length-1]){_51c.splice(_51b,1);_51c.push(name);return this.setSeriesOrder(_51c);}}return this;},resize:function(_51d,_51e){var box;switch(arguments.length){case 1:box=lang.mixin({},_51d);_4ed.setMarginBox(this.node,box);break;case 2:box={w:_51d,h:_51e};_4ed.setMarginBox(this.node,box);break;}box=_4ed.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,_51f,_520,zoom){var axis=this.axes[name];if(axis){axis.setWindow(_51f,_520);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 _521,_522,_523=axis.getScaler().bounds,s=_523.span/(_523.upper-_523.lower);if(axis.vertical){_521=sy;_522=dy/s/_521;}else{_521=sx;_522=dx/s/_521;}axis.setWindow(_521,_522);});arr.forEach(this.stack,function(plot){plot.zoom=zoom;});return this;},zoomIn:function(name,_524,_525){var axis=this.axes[name];if(axis){var _526,_527,_528=axis.getScaler().bounds;var _529=Math.min(_524[0],_524[1]);var _52a=Math.max(_524[0],_524[1]);_529=_524[0]<_528.lower?_528.lower:_529;_52a=_524[1]>_528.upper?_528.upper:_52a;_526=(_528.upper-_528.lower)/(_52a-_529);_527=_529-_528.lower;this.setAxisWindow(name,_526,_527);if(_525){this.delayedRender();}else{this.render();}}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _52b=arr.filter(this.stack,function(plot){return plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty);},this);_52c(_52b,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();arr.forEach(this.stack,_4f7);if(!this.theme){this.setTheme(new _4f1());}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,_4f7);_52c(this.stack,dim);var _52d=this.offsets={l:0,r:0,t:0,b:0};func.forIn(this.axes,function(axis){func.forIn(axis.getOffsets(),function(o,i){_52d[i]=Math.max(o,_52d[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 _52e=g.normalizedLength(g.splitFontString(this.titleFont).size);_52d[this.titlePos=="top"?"t":"b"]+=(_52e+this.titleGap);}func.forIn(this.margins,function(o,i){_52d[i]+=o;});this.plotArea={width:dim.width-_52d.l-_52d.r,height:dim.height-_52d.t-_52d.b};func.forIn(this.axes,_4f7);_52c(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 _52f=this.offsets,dim=this.dim;var w=Math.max(0,dim.width-_52f.l-_52f.r),h=Math.max(0,dim.height-_52f.t-_52f.b);arr.forEach(this.series,_4f8);func.forIn(this.axes,_4f8);arr.forEach(this.stack,_4f8);var _530=this.surface.children;for(var i=0;i<_530.length;++i){_4f4.dispose(_530[i]);}if(this.chartTitle&&this.chartTitle.tagName){_4ee.destroy(this.chartTitle);}if(this.plotGroup){this.plotGroup.clear();}this.surface.clear();this.chartTitle=null;if(this.plotGroup){this._renderChartBackground(dim,_52f);this._renderPlotBackground(dim,_52f,w,h);this.surface.add(this.plotGroup);this.plotGroup.setClip({x:_52f.l,y:_52f.t,width:w,height:h});}else{this._renderPlotBackground(dim,_52f,w,h);}func.foldr(this.stack,function(z,plot){return plot.render(dim,_52f),0;},0);if(!this.plotGroup){this._renderChartBackground(dim,_52f);}if(this.title){var _531=(g.renderer=="canvas"),_532=_531||!has("ie")&&!has("opera")?"html":"gfx",_533=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=_4f3.createText[_532](this,this.surface,dim.width/2,this.titlePos=="top"?_533+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}func.forIn(this.axes,function(axis){axis.render(dim,_52f);});this._makeClean();return this;},_renderChartBackground:function(dim,_534){var t=this.theme,rect;var fill=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);var _535=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(fill=="inherit"){var node=this.node;fill=new _4ef(_4ec.get(node,"backgroundColor"));while(fill.a==0&&node!=document.documentElement){fill=new _4ef(_4ec.get(node,"backgroundColor"));node=node.parentNode;}}if(fill){if(this.plotGroup){fill=_4f0.prototype._shapeFill(_4f0.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=_4f0.prototype._plotFill(fill,dim,_534);if(_534.l){rect={x:0,y:0,width:_534.l,height:dim.height+1};this.surface.createRect(rect).setFill(_4f0.prototype._shapeFill(fill,rect));}if(_534.r){rect={x:dim.width-_534.r,y:0,width:_534.r+1,height:dim.height+2};this.surface.createRect(rect).setFill(_4f0.prototype._shapeFill(fill,rect));}if(_534.t){rect={x:0,y:0,width:dim.width+1,height:_534.t};this.surface.createRect(rect).setFill(_4f0.prototype._shapeFill(fill,rect));}if(_534.b){rect={x:0,y:dim.height-_534.b,width:dim.width+1,height:_534.b+2};this.surface.createRect(rect).setFill(_4f0.prototype._shapeFill(fill,rect));}}}if(_535){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_535);}},_renderPlotBackground:function(dim,_536,w,h){var t=this.theme;var fill=t.plotarea&&t.plotarea.fill;var _537=t.plotarea&&t.plotarea.stroke;var rect={x:_536.l-1,y:_536.t-1,width:w+2,height:h+2};if(fill){fill=_4f0.prototype._shapeFill(_4f0.prototype._plotFill(fill,dim,_536),rect);this.surface.createRect(rect).setFill(fill);}if(_537){this.surface.createRect({x:_536.l,y:_536.t,width:w+1,height:h+1}).setStroke(_537);}},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(lang.hitch(this,function(){this.render();}),this.delayInMs);}return this;},connectToPlot:function(name,_538,_539){return name in this.plots?this.stack[this.plots[name]].connect(_538,_539):null;},fireEvent:function(_53a,_53b,_53c){if(_53a in this.runs){var _53d=this.series[this.runs[_53a]].plot;if(_53d in this.plots){var plot=this.stack[this.plots[_53d]];if(plot){plot.fireEvent(_53a,_53b,_53c);}}}return this;},_makeClean:function(){arr.forEach(this.axes,_4fa);arr.forEach(this.stack,_4fa);arr.forEach(this.series,_4fa);this.dirty=false;},_makeDirty:function(){arr.forEach(this.axes,_4fb);arr.forEach(this.stack,_4fb);arr.forEach(this.series,_4fb);this.dirty=true;},_invalidateDependentPlots:function(_53e,_53f){if(_53e in this.plots){var plot=this.stack[this.plots[_53e]],axis,_540=_53f?"vAxis":"hAxis";if(plot[_540]){axis=this.axes[plot[_540]];if(axis&&axis.dependOnData()){axis.dirty=true;arr.forEach(this.stack,function(p){if(p[_540]&&p[_540]==plot[_540]){p.dirty=true;}});}}else{plot.dirty=true;}}}});function _541(_542){return {min:_542.hmin,max:_542.hmax};};function _543(_544){return {min:_544.vmin,max:_544.vmax};};function _545(_546,h){_546.hmin=h.min;_546.hmax=h.max;};function _547(_548,v){_548.vmin=v.min;_548.vmax=v.max;};function _549(_54a,_54b){if(_54a&&_54b){_54a.min=Math.min(_54a.min,_54b.min);_54a.max=Math.max(_54a.max,_54b.max);}return _54a||_54b;};function _52c(_54c,_54d){var _54e={},axes={};arr.forEach(_54c,function(plot){var _54f=_54e[plot.name]=plot.getSeriesStats();if(plot.hAxis){axes[plot.hAxis]=_549(axes[plot.hAxis],_541(_54f));}if(plot.vAxis){axes[plot.vAxis]=_549(axes[plot.vAxis],_543(_54f));}});arr.forEach(_54c,function(plot){var _550=_54e[plot.name];if(plot.hAxis){_545(_550,axes[plot.hAxis]);}if(plot.vAxis){_547(_550,axes[plot.vAxis]);}plot.initializeScalers(_54d,_550);});};return _4fd;});},"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(lang,_551,arr,_552,_553,dc,df,dfr,du,fx){var _554=dfr.lambda("item.purgeGroup()");return _551("dojox.charting.plot2d.Candlesticks",[_552,_553],{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_555,_556){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_556);du.updateWithPattern(this.opt,_556,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_557){var _558=lang.delegate(dc.defaultStats);for(var i=0;i<_557.length;i++){var run=_557[i];if(!run.data.length){continue;}var _559=_558.vmin,_55a=_558.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_558.hmin=Math.min(_558.hmin,x);_558.hmax=Math.max(_558.hmax,x);_558.vmin=Math.min(_558.vmin,val.open,val.close,val.high,val.low);_558.vmax=Math.max(_558.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_558.vmin=Math.min(_559,run.ymin);}if("ymax" in run){_558.vmax=Math.max(_55a,run.ymax);}}return _558;},getSeriesStats:function(){var _55b=this.collectStats(this.series);_55b.hmin-=0.5;_55b.hmax+=0.5;return _55b;},render:function(dim,_55c){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_55c);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_554);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_55d,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_55e=Math.max(0,this._vScaler.bounds.lower),_55f=vt(_55e),_560=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_55d=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 _561=t.next("candlestick",[this.opt,run]),s=run.group,_562=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _563=t.addMixin(_561,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_55c.l+gap,y=dim.height-_55c.b,open=vt(v.open),_564=vt(v.close),high=vt(v.high),low=vt(v.low);if("mid" in v){var mid=vt(v.mid);}if(low>high){var tmp=high;high=low;low=tmp;}if(_55d>=1){var _565=open>_564;var line={x1:_55d/2,x2:_55d/2,y1:y-high,y2:y-low},rect={x:0,y:y-Math.max(open,_564),width:_55d,height:Math.max(_565?open-_564:_564-open,1)};var _566=s.createGroup();_566.setTransform({dx:x,dy:0});var _567=_566.createGroup();_567.createLine(line).setStroke(_563.series.stroke);_567.createRect(rect).setStroke(_563.series.stroke).setFill(_565?_563.series.fill:"white");if("mid" in v){_567.createLine({x1:(_563.series.stroke.width||1),x2:_55d-(_563.series.stroke.width||1),y1:y-mid,y2:y-mid}).setStroke(_565?"white":_563.series.stroke);}run.dyn.fill=_563.series.fill;run.dyn.stroke=_563.series.stroke;if(_560){var o={element:"candlestick",index:j,run:run,shape:_567,x:x,y:y-Math.max(open,_564),cx:_55d/2,cy:(y-Math.max(open,_564))+(Math.max(_565?open-_564:_564-open,1)/2),width:_55d,height:Math.max(_565?open-_564:_564-open,1),data:v};this._connectEvents(o);_562[j]=o;}}if(this.animate){this._animateCandlesticks(_566,y-low,high-low);}}}this._eventSeries[run.name]=_562;run.dirty=false;}this.dirty=false;return this;},_animateCandlesticks:function(_568,_569,_56a){fx.animateTransform(lang.delegate({shape:_568,duration:1200,transform:[{name:"translate",start:[0,_569-(_569/_56a)],end:[0,0]},{name:"scale",start:[1,1/_56a],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"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,_56b,_56c,_56d,_56e,_56f,lin,_570,g,du,df){var _571=45;return _56b("dojox.charting.axis2d.Default",_56e,{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(_572,_573){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_573);du.updateWithPattern(this.opt,_573,this.optionalParams);if(this.opt.enableCache){this._textFreePool=[];this._lineFreePool=[];this._textUsePool=[];this._lineUsePool=[];}this._invalidMaxLabelSize=true;},setWindow:function(_574,_575){if(_574!=this.scale){this._invalidMaxLabelSize=true;}return this.inherited(arguments);},_groupLabelWidth:function(_576,font,_577){if(!_576.length){return 0;}if(_576.length>50){_576.length=50;}if(lang.isObject(_576[0])){_576=df.map(_576,function(_578){return _578.text;});}if(_577){_576=df.map(_576,function(_579){return lang.trim(_579).length==0?"":_579.substring(0,_577)+this.trailingSymbol;},this);}var s=_576.join("<br>");return g._base._getTextBox(s,{font:font}).w||0;},_getMaxLabelSize:function(min,max,span,_57a,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 _57b=0,_57c=0;var _57d=function(tick){if(tick.label){this.push(tick.label);}};var _57e=[];if(this.opt.majorLabels){arr.forEach(tb.major,_57d,_57e);_57b=this._groupLabelWidth(_57e,font,ob.maxLabelCharCount);if(ob.maxLabelSize){_57b=Math.min(ob.maxLabelSize,_57b);}}_57e=[];if(this.opt.dropLabels&&this.opt.minorLabels){arr.forEach(tb.minor,_57d,_57e);_57c=this._groupLabelWidth(_57e,font,ob.maxLabelCharCount);if(ob.maxLabelSize){_57c=Math.min(ob.maxLabelSize,_57c);}}this._maxLabelSize={majLabelW:_57b,minLabelW:_57c,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,_57f=o.rotation%360,_580=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,_581=this._getMaxLabelSize(min,max,span,_57f,font,size);if(typeof _580!="number"){_580=4;}if(_581&&o.dropLabels){var cosr=Math.abs(Math.cos(_57f*Math.PI/180)),sinr=Math.abs(Math.sin(_57f*Math.PI/180));var _582,_583;if(_57f<0){_57f+=360;}switch(_57f){case 0:case 180:if(this.vertical){_582=_583=size;}else{_582=_581.majLabelW;_583=_581.minLabelW;}break;case 90:case 270:if(this.vertical){_582=_581.majLabelW;_583=_581.minLabelW;}else{_582=_583=size;}break;default:_582=this.vertical?Math.min(_581.majLabelW,size/cosr):Math.min(_581.majLabelW,size/sinr);var gap1=Math.sqrt(_581.minLabelW*_581.minLabelW+size*size),gap2=this.vertical?size*cosr+_581.minLabelW*sinr:_581.minLabelW*cosr+size*sinr;_583=Math.min(gap1,gap2);break;}this.scaler.minMinorStep=this._prevMinMinorStep=Math.max(_582,_583)+_580;var _584=this.scaler.minMinorStep<=this.scaler.minor.tick*this.scaler.bounds.scale;if(!_584){this._skipInterval=Math.floor((_582+_580)/(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,_585={l:0,r:0,t:0,b:0};if(!s){return _585;}var o=this.opt,a,b,c,d,gl=_56f.getNumericLabel,_586=0,ma=s.major,mi=s.minor,ta=this.chart.theme.axis,_587=this.chart.theme.axis.tick.labelGap,_588=o.titleFont||(ta.title&&ta.title.font),_589=(o.titleGap==0)?0:o.titleGap||(ta.title&&ta.title.gap),_58a=this.chart.theme.getTick("major",o),_58b=this.chart.theme.getTick("minor",o),_58c=_588?g.normalizedLength(g.splitFontString(_588).size):0,_58d=o.rotation%360,_58e=o.leftBottom,cosr=Math.abs(Math.cos(_58d*Math.PI/180)),sinr=Math.abs(Math.sin(_58d*Math.PI/180));this.trailingSymbol=(o.trailingSymbol===undefined||o.trailingSymbol===null)?this.trailingSymbol:o.trailingSymbol;if(typeof _587!="number"){_587=4;}if(_58d<0){_58d+=360;}var _58f=this._getMaxLabelSize();if(_58f){var side;var _590=Math.ceil(Math.max(_58f.majLabelW,_58f.minLabelW))+1,size=Math.ceil(Math.max(_58f.majLabelH,_58f.minLabelH))+1;if(this.vertical){side=_58e?"l":"r";switch(_58d){case 0:case 180:_585[side]=_590;_585.t=_585.b=size/2;break;case 90:case 270:_585[side]=size;_585.t=_585.b=_590/2;break;default:if(_58d<=_571||(180<_58d&&_58d<=(180+_571))){_585[side]=size*sinr/2+_590*cosr;_585[_58e?"t":"b"]=size*cosr/2+_590*sinr;_585[_58e?"b":"t"]=size*cosr/2;}else{if(_58d>(360-_571)||(180>_58d&&_58d>(180-_571))){_585[side]=size*sinr/2+_590*cosr;_585[_58e?"b":"t"]=size*cosr/2+_590*sinr;_585[_58e?"t":"b"]=size*cosr/2;}else{if(_58d<90||(180<_58d&&_58d<270)){_585[side]=size*sinr+_590*cosr;_585[_58e?"t":"b"]=size*cosr+_590*sinr;}else{_585[side]=size*sinr+_590*cosr;_585[_58e?"b":"t"]=size*cosr+_590*sinr;}}}break;}_585[side]+=_587+Math.max(_58a.length,_58b.length)+(o.title?(_58c+_589):0);}else{side=_58e?"b":"t";switch(_58d){case 0:case 180:_585[side]=size;_585.l=_585.r=_590/2;break;case 90:case 270:_585[side]=_590;_585.l=_585.r=size/2;break;default:if((90-_571)<=_58d&&_58d<=90||(270-_571)<=_58d&&_58d<=270){_585[side]=size*cosr/2+_590*sinr;_585[_58e?"r":"l"]=size*sinr/2+_590*cosr;_585[_58e?"l":"r"]=size*sinr/2;}else{if(90<=_58d&&_58d<=(90+_571)||270<=_58d&&_58d<=(270+_571)){_585[side]=size*cosr/2+_590*sinr;_585[_58e?"l":"r"]=size*sinr/2+_590*cosr;_585[_58e?"r":"l"]=size*sinr/2;}else{if(_58d<_571||(180<_58d&&_58d<(180+_571))){_585[side]=size*cosr+_590*sinr;_585[_58e?"r":"l"]=size*sinr+_590*cosr;}else{_585[side]=size*cosr+_590*sinr;_585[_58e?"l":"r"]=size*sinr+_590*cosr;}}}break;}_585[side]+=_587+Math.max(_58a.length,_58b.length)+(o.title?(_58c+_589):0);}}return _585;},cleanGroup:function(_591){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(_592,_593,x,y,_594,_595,font,_596,_597){if(!this.opt.enableCache||_592=="html"){return _570.createText[_592](this.chart,_593,x,y,_594,_595,font,_596,_597);}var text;if(this._textFreePool.length>0){text=this._textFreePool.pop();text.setShape({x:x,y:y,text:_595,align:_594});_593.add(text);}else{text=_570.createText[_592](this.chart,_593,x,y,_594,_595,font,_596);}this._textUsePool.push(text);return text;},createLine:function(_598,_599){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_599);_598.add(line);}else{line=_598.createLine(_599);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_59a){if(!this.dirty||!this.scaler){return this;}var o=this.opt,ta=this.chart.theme.axis,_59b=o.leftBottom,_59c=o.rotation%360,_59d,stop,_59e,_59f=0,_5a0,_5a1,_5a2,_5a3,_5a4,_5a5,_5a6=this.chart.theme.axis.tick.labelGap,_5a7=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_5a8=o.titleFont||(ta.title&&ta.title.font),_5a9=o.fontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"black",_5aa=o.titleFontColor||(ta.title&&ta.title.fontColor)||"black",_5ab=(o.titleGap==0)?0:o.titleGap||(ta.title&&ta.title.gap)||15,_5ac=o.titleOrientation||(ta.title&&ta.title.orientation)||"axis",_5ad=this.chart.theme.getTick("major",o),_5ae=this.chart.theme.getTick("minor",o),_5af=this.chart.theme.getTick("micro",o),_5b0=Math.max(_5ad.length,_5ae.length,_5af.length),_5b1="stroke" in o?o.stroke:ta.stroke,size=_5a7?g.normalizedLength(g.splitFontString(_5a7).size):0,cosr=Math.abs(Math.cos(_59c*Math.PI/180)),sinr=Math.abs(Math.sin(_59c*Math.PI/180)),_5b2=_5a8?g.normalizedLength(g.splitFontString(_5a8).size):0;if(typeof _5a6!="number"){_5a6=4;}if(_59c<0){_59c+=360;}var _5b3=this._getMaxLabelSize();_5b3=_5b3&&_5b3.majLabelW;if(this.vertical){_59d={y:dim.height-_59a.b};stop={y:_59a.t};_59e={y:(dim.height-_59a.b+_59a.t)/2};_5a0=size*sinr+(_5b3||0)*cosr+_5a6+Math.max(_5ad.length,_5ae.length)+_5b2+_5ab;_5a1={x:0,y:-1};_5a4={x:0,y:0};_5a2={x:1,y:0};_5a3={x:_5a6,y:0};switch(_59c){case 0:_5a5="end";_5a4.y=size*0.4;break;case 90:_5a5="middle";_5a4.x=-size;break;case 180:_5a5="start";_5a4.y=-size*0.4;break;case 270:_5a5="middle";break;default:if(_59c<_571){_5a5="end";_5a4.y=size*0.4;}else{if(_59c<90){_5a5="end";_5a4.y=size*0.4;}else{if(_59c<(180-_571)){_5a5="start";}else{if(_59c<(180+_571)){_5a5="start";_5a4.y=-size*0.4;}else{if(_59c<270){_5a5="start";_5a4.x=_59b?0:size*0.4;}else{if(_59c<(360-_571)){_5a5="end";_5a4.x=_59b?0:size*0.4;}else{_5a5="end";_5a4.y=size*0.4;}}}}}}}if(_59b){_59d.x=stop.x=_59a.l;_59f=(_5ac&&_5ac=="away")?90:270;_59e.x=_59a.l-_5a0+(_59f==270?_5b2:0);_5a2.x=-1;_5a3.x=-_5a3.x;}else{_59d.x=stop.x=dim.width-_59a.r;_59f=(_5ac&&_5ac=="axis")?90:270;_59e.x=dim.width-_59a.r+_5a0-(_59f==270?0:_5b2);switch(_5a5){case "start":_5a5="end";break;case "end":_5a5="start";break;case "middle":_5a4.x+=size;break;}}}else{_59d={x:_59a.l};stop={x:dim.width-_59a.r};_59e={x:(dim.width-_59a.r+_59a.l)/2};_5a0=size*cosr+(_5b3||0)*sinr+_5a6+Math.max(_5ad.length,_5ae.length)+_5b2+_5ab;_5a1={x:1,y:0};_5a4={x:0,y:0};_5a2={x:0,y:1};_5a3={x:0,y:_5a6};switch(_59c){case 0:_5a5="middle";_5a4.y=size;break;case 90:_5a5="start";_5a4.x=-size*0.4;break;case 180:_5a5="middle";break;case 270:_5a5="end";_5a4.x=size*0.4;break;default:if(_59c<(90-_571)){_5a5="start";_5a4.y=_59b?size:0;}else{if(_59c<(90+_571)){_5a5="start";_5a4.x=-size*0.4;}else{if(_59c<180){_5a5="start";_5a4.y=_59b?0:-size;}else{if(_59c<(270-_571)){_5a5="end";_5a4.y=_59b?0:-size;}else{if(_59c<(270+_571)){_5a5="end";_5a4.y=_59b?size*0.4:0;}else{_5a5="end";_5a4.y=_59b?size:0;}}}}}}if(_59b){_59d.y=stop.y=dim.height-_59a.b;_59f=(_5ac&&_5ac=="axis")?180:0;_59e.y=dim.height-_59a.b+_5a0-(_59f?_5b2:0);}else{_59d.y=stop.y=_59a.t;_59f=(_5ac&&_5ac=="away")?180:0;_59e.y=_59a.t-_5a0+(_59f?0:_5b2);_5a2.y=-1;_5a3.y=-_5a3.y;switch(_5a5){case "start":_5a5="end";break;case "end":_5a5="start";break;case "middle":_5a4.y-=size;break;}}}this.cleanGroup();var s=this.group,c=this.scaler,t=this.ticks,f=lin.getTransformerFromModel(this.scaler),_5b4=(!o.title||!_59f)&&!_59c&&this.opt.htmlLabels&&!has("ie")&&!has("opera")?"html":"gfx",dx=_5a2.x*_5ad.length,dy=_5a2.y*_5ad.length,skip=this._skipInterval;s.createLine({x1:_59d.x,y1:_59d.y,x2:stop.x,y2:stop.y}).setStroke(_5b1);if(o.title){var _5b5=_570.createText[_5b4](this.chart,s,_59e.x,_59e.y,"middle",o.title,_5a8,_5aa);if(_5b4=="html"){this.htmlElements.push(_5b5);}else{_5b5.setTransform(g.matrix.rotategAt(_59f,_59e.x,_59e.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 _5b6=this.opt.majorLabels;arr.forEach(t.major,function(tick,i){var _5b7=f(tick.value),elem,x=_59d.x+_5a1.x*_5b7,y=_59d.y+_5a1.y*_5b7;i+=rel;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5ad);if(tick.label&&(!skip||(i-(1+skip))%(1+skip)==0)){var _5b8=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5a7,o.maxLabelCharCount):{text:tick.label,truncated:false};_5b8=o.maxLabelSize?this.getTextWithLimitLength(_5b8.text,_5a7,o.maxLabelSize,_5b8.truncated):_5b8;elem=this.createText(_5b4,s,x+dx+_5a3.x+(_59c?0:_5a4.x),y+dy+_5a3.y+(_59c?0:_5a4.y),_5a5,_5b8.text,_5a7,_5a9);if(this.chart.truncateBidi&&_5b8.truncated){this.chart.truncateBidi(elem,tick.label,_5b4);}_5b8.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5b8.text,_5a7,_5b4);if(_5b4=="html"){this.htmlElements.push(elem);}else{if(_59c){elem.setTransform([{dx:_5a4.x,dy:_5a4.y},g.matrix.rotategAt(_59c,x+dx+_5a3.x,y+dy+_5a3.y)]);}}}},this);dx=_5a2.x*_5ae.length;dy=_5a2.y*_5ae.length;_5b6=this.opt.minorLabels&&c.minMinorStep<=c.minor.tick*c.bounds.scale;arr.forEach(t.minor,function(tick){var _5b9=f(tick.value),elem,x=_59d.x+_5a1.x*_5b9,y=_59d.y+_5a1.y*_5b9;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5ae);if(_5b6&&tick.label){var _5ba=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5a7,o.maxLabelCharCount):{text:tick.label,truncated:false};_5ba=o.maxLabelSize?this.getTextWithLimitLength(_5ba.text,_5a7,o.maxLabelSize,_5ba.truncated):_5ba;elem=this.createText(_5b4,s,x+dx+_5a3.x+(_59c?0:_5a4.x),y+dy+_5a3.y+(_59c?0:_5a4.y),_5a5,_5ba.text,_5a7,_5a9);if(this.chart.getTextDir&&_5ba.truncated){this.chart.truncateBidi(elem,tick.label,_5b4);}_5ba.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5ba.text,_5a7,_5b4);if(_5b4=="html"){this.htmlElements.push(elem);}else{if(_59c){elem.setTransform([{dx:_5a4.x,dy:_5a4.y},g.matrix.rotategAt(_59c,x+dx+_5a3.x,y+dy+_5a3.y)]);}}}},this);dx=_5a2.x*_5af.length;dy=_5a2.y*_5af.length;arr.forEach(t.micro,function(tick){var _5bb=f(tick.value),elem,x=_59d.x+_5a1.x*_5bb,y=_59d.y+_5a1.y*_5bb;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5af);},this);this.dirty=false;return this;},labelTooltip:function(elem,_5bc,_5bd,_5be,font,_5bf){var _5c0=["dijit/Tooltip"];var _5c1={type:"rect"},_5c2=["above","below"],_5c3=g._base._getTextBox(_5be,{font:font}).w||0,_5c4=font?g.normalizedLength(g.splitFontString(font).size):0;if(_5bf=="html"){lang.mixin(_5c1,_56d.position(elem.firstChild,true));_5c1.width=Math.ceil(_5c3);_5c1.height=Math.ceil(_5c4);this._events.push({shape:dojo,handle:_56c.connect(elem.firstChild,"onmouseover",this,function(e){require(_5c0,function(_5c5){_5c5.show(_5bd,_5c1,_5c2);});})});this._events.push({shape:dojo,handle:_56c.connect(elem.firstChild,"onmouseout",this,function(e){require(_5c0,function(_5c6){_5c6.hide(_5c1);});})});}else{var shp=elem.getShape(),lt=_5bc.getCoords();_5c1=lang.mixin(_5c1,{x:shp.x-_5c3/2,y:shp.y});_5c1.x+=lt.x;_5c1.y+=lt.y;_5c1.x=Math.round(_5c1.x);_5c1.y=Math.round(_5c1.y);_5c1.width=Math.ceil(_5c3);_5c1.height=Math.ceil(_5c4);this._events.push({shape:elem,handle:elem.connect("onmouseenter",this,function(e){require(_5c0,function(_5c7){_5c7.show(_5bd,_5c1,_5c2);});})});this._events.push({shape:elem,handle:elem.connect("onmouseleave",this,function(e){require(_5c0,function(_5c8){_5c8.hide(_5c1);});})});}}});});},"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(lang,arr,_5c9,_5ca,_5cb,dc,df,dfr,du,fx,_5cc){var _5cd=dfr.lambda("item.purgeGroup()");return _5c9("dojox.charting.plot2d.Scatter",[_5ca,_5cb],{defaultParams:{hAxis:"x",vAxis:"y",shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:"",styleFunc:null},constructor:function(_5ce,_5cf){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_5cf);du.updateWithPattern(this.opt,_5cf,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_5d0){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5d0);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_5cd);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_5d1=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 _5d2=t.next("marker",[this.opt,run]),s=run.group,_5d3,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(typeof run.data[0]=="number"){_5d3=arr.map(run.data,function(v,i){return {x:ht(i+1)+_5d0.l,y:dim.height-_5d0.b-vt(v)};},this);}else{_5d3=arr.map(run.data,function(v,i){return {x:ht(v.x)+_5d0.l,y:dim.height-_5d0.b-vt(v.y)};},this);}var _5d4=new Array(_5d3.length),_5d5=new Array(_5d3.length),_5d6=new Array(_5d3.length);arr.forEach(_5d3,function(c,i){var _5d7=run.data[i],_5d8;if(this.opt.styleFunc||typeof _5d7!="number"){var _5d9=typeof _5d7!="number"?[_5d7]:[];if(this.opt.styleFunc){_5d9.push(this.opt.styleFunc(_5d7));}_5d8=t.addMixin(_5d2,"marker",_5d9,true);}else{_5d8=t.post(_5d2,"marker");}var path="M"+c.x+" "+c.y+" "+_5d8.symbol;if(_5d8.marker.shadow){_5d4[i]=s.createPath("M"+(c.x+_5d8.marker.shadow.dx)+" "+(c.y+_5d8.marker.shadow.dy)+" "+_5d8.symbol).setStroke(_5d8.marker.shadow).setFill(_5d8.marker.shadow.color);if(this.animate){this._animateScatter(_5d4[i],dim.height-_5d0.b);}}if(_5d8.marker.outline){var _5da=dc.makeStroke(_5d8.marker.outline);_5da.width=2*_5da.width+_5d8.marker.stroke.width;_5d6[i]=s.createPath(path).setStroke(_5da);if(this.animate){this._animateScatter(_5d6[i],dim.height-_5d0.b);}}var _5db=dc.makeStroke(_5d8.marker.stroke),fill=this._plotFill(_5d8.marker.fill,dim,_5d0);if(fill&&(fill.type==="linear"||fill.type=="radial")){var _5dc=_5cc.getColor(fill,{x:c.x,y:c.y});if(_5db){_5db.color=_5dc;}_5d5[i]=s.createPath(path).setStroke(_5db).setFill(_5dc);}else{_5d5[i]=s.createPath(path).setStroke(_5db).setFill(fill);}if(this.animate){this._animateScatter(_5d5[i],dim.height-_5d0.b);}},this);if(_5d5.length){run.dyn.marker=_5d2.symbol;run.dyn.markerStroke=_5d5[_5d5.length-1].getStroke();run.dyn.markerFill=_5d5[_5d5.length-1].getFill();}if(_5d1){var _5dd=new Array(_5d5.length);arr.forEach(_5d5,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_5d6&&_5d6[i]||null,shadow:_5d4&&_5d4[i]||null,cx:_5d3[i].x,cy:_5d3[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);_5dd[i]=o;},this);this._eventSeries[run.name]=_5dd;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateScatter:function(_5de,_5df){fx.animateTransform(lang.delegate({shape:_5de,duration:1200,transform:[{name:"translate",start:[0,_5df],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/charting/plot2d/ClusteredColumns":function(){define("dojox/charting/plot2d/ClusteredColumns",["dojo/_base/declare","./Columns","./common"],function(_5e0,_5e1,dc){return _5e0("dojox.charting.plot2d.ClusteredColumns",_5e1,{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/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(_5e2,lang,arr,_5e3,_5e4,_5e5,_5e6,_5e7,du,df,dfl){var _5e8,_5e9,_5ea,_5eb,_5ec,_5ed=function(o){return o;},dc=lang.getObject("dojox.charting");_5e8=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);}}};_5e9=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=_5e2._scopeName+"x.charting.axis2d."+type;}var axis=eval("("+type+")");if(axis){kw.type=axis;}}else{type=_5e2._scopeName+"x.charting.axis2d.Default";}_5e8(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;};_5ea=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=_5e2._scopeName+"x.charting.plot2d."+type;}var plot=eval("("+type+")");if(plot){kw.type=plot;}}else{type=_5e2._scopeName+"x.charting.plot2d.Default";}_5e8(node,type,kw);return o;};_5eb=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=_5e2._scopeName+"x.charting.action2d."+type;}var _5ee=eval("("+type+")");if(!_5ee){return null;}o.action=_5ee;}else{return null;}_5e8(node,type,kw);return o;};_5ec=function(node){var ga=lang.partial(_5e3.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 _5e4("dojox.charting.widget.Chart",_5e6,{theme:null,margins:null,stroke:undefined,fill:undefined,buildRendering:function(){this.inherited(arguments);n=this.domNode;var axes=_5e5("> .axis",n).map(_5e9).filter(_5ed),_5ef=_5e5("> .plot",n).map(_5ea).filter(_5ed),_5f0=_5e5("> .action",n).map(_5eb).filter(_5ed),_5f1=_5e5("> .series",n).map(_5ec).filter(_5ed);n.innerHTML="";var c=this.chart=new _5e7(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);});_5ef.forEach(function(plot){c.addPlot(plot.name,plot.kwArgs);});this.actions=_5f0.map(function(_5f2){return new _5f2.action(c,_5f2.plot,_5f2.kwArgs);});var _5f3=df.foldl(_5f1,function(_5f4,_5f5){if(_5f5.type=="data"){c.addSeries(_5f5.name,_5f5.data,_5f5.kwArgs);_5f4=true;}else{c.addSeries(_5f5.name,[0],_5f5.kwArgs);var kw={};du.updateWithPattern(kw,_5f5.kwArgs,{"query":"","queryOptions":null,"start":0,"count":1},true);if(_5f5.kwArgs.sort){kw.sort=lang.clone(_5f5.kwArgs.sort);}lang.mixin(kw,{onComplete:function(data){var _5f6;if("valueFn" in _5f5.kwArgs){var fn=_5f5.kwArgs.valueFn;_5f6=arr.map(data,function(x){return fn(_5f5.data.getValue(x,_5f5.field,0));});}else{_5f6=arr.map(data,function(x){return _5f5.data.getValue(x,_5f5.field,0);});}c.addSeries(_5f5.name,_5f6,_5f5.kwArgs).render();}});_5f5.data.fetch(kw);}return _5f4;},false);if(_5f3){c.render();}},destroy:function(){this.chart.destroy();this.inherited(arguments);},resize:function(box){this.chart.resize(box);}});});},"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,_5f7,_5f8,df,dfe,m,gf){var _5f9=3;return _5f7("dojox.charting.action2d.Shake",_5f8,{defaultParams:{duration:400,easing:dfe.backOut,shiftX:_5f9,shiftY:_5f9},optionalParams:{},constructor:function(_5fa,plot,_5fb){if(!_5fb){_5fb={};}this.shiftX=typeof _5fb.shiftX=="number"?_5fb.shiftX:_5f9;this.shiftY=typeof _5fb.shiftY=="number"?_5fb.shiftY:_5f9;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _5fc=o.run.name,_5fd=o.index,_5fe=[],anim,_5ff=o.type=="onmouseover"?this.shiftX:-this.shiftX,_600=o.type=="onmouseover"?this.shiftY:-this.shiftY;if(_5fc in this.anim){anim=this.anim[_5fc][_5fd];}else{this.anim[_5fc]={};}if(anim){anim.action.stop(true);}else{this.anim[_5fc][_5fd]=anim={};}var _601={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){_5fe.push(gf.animateTransform(_601));}if(o.oultine){_601.shape=o.outline;_5fe.push(gf.animateTransform(_601));}if(o.shadow){_601.shape=o.shadow;_5fe.push(gf.animateTransform(_601));}if(!_5fe.length){delete this.anim[_5fc][_5fd];return;}anim.action=df.combine(_5fe);if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_5fc]){delete this.anim[_5fc][_5fd];}});}anim.action.play();}});});},"dojox/lang/functional/lambda":function(){define("dojox/lang/functional/lambda",["../..","dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_602,dojo,lang,arr){var df=lang.getObject("lang.functional",true,_602);var _603={};var _604="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 _605=function(s){var args=[],_606=_604.call(s,/\s*->\s*/m);if(_606.length>1){while(_606.length){s=_606.pop();args=_606.pop().split(/\s*,\s*|\s+/m);if(_606.length){_606.push("(function("+args+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){args=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){args.push("$1");s="$1"+s;}if(r){args.push("$2");s=s+"$2";}}else{var vars=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(vars,function(v){if(!(v in t)){args.push(v);t[v]=1;}});}}}return {args:args,body:s};};var _607=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;};};lang.mixin(df,{rawLambda:function(s){return _605(s);},buildLambda:function(s){s=_605(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _607(s);}if(s in _603){return _603[s];}s=_605(s);return _603[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_603={};}});return df;});},"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,_608,hub,Base,_609,fx){return _608("dojox.charting.plot2d.CartesianBase",Base,{constructor:function(_60a,_60b){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(_60c){this.inherited(arguments,[_60c||this.chart.plotGroup]);},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},toPage:function(_60d){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(_60e){var r={};r.x=th(_60e[ah.name])+c.x+o.l;r.y=c.y+dim.height-o.b-tv(_60e[av.name]);return r;};return _60d?t(_60d):t;},toData:function(_60f){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(_610){var r={};r[ah.name]=th(_610.x-c.x-o.l);r[av.name]=tv(c.y+dim.height-_610.y-o.b);return r;};return _60f?t(_60f):t;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},performZoom:function(dim,_611){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_612=dim.height-_611.b,_613=this._hScaler.bounds,_614=(_613.from-_613.lower)*_613.scale,_615=this._vScaler.bounds,_616=(_615.from-_615.lower)*_615.scale,_617=vs/this.lastWindow.vscale,_618=hs/this.lastWindow.hscale,_619=(this.lastWindow.xoffset-_614)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),_61a=(_616-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),_61b=this.group,anim=fx.animateTransform(lang.delegate({shape:_61b,duration:1200,transform:[{name:"translate",start:[0,0],end:[_611.l*(1-_618),_612*(1-_617)]},{name:"scale",start:[1,1],end:[_618,_617]},{name:"original"},{name:"translate",start:[0,0],end:[_619,_61a]}]},this.zoom));lang.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_614,yoffset:_616});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,_61c){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_61c.hmin,_61c.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=_609.buildScaler(_61c.hmin,_61c.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_61c.vmin,_61c.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=_609.buildScaler(_61c.vmin,_61c.vmax,dim.height);}return this;}});});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_61d,_61e,_61f,dom,_620,_621,has,_622){var _623=(_622._isElementShown=function(elem){var s=_621.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_620.get(elem,"type")!="hidden");});_622.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _620.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _624=elem.contentDocument;if("designMode" in _624&&_624.designMode=="on"){return true;}body=_624.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";}};var _625=(_622.isTabNavigable=function(elem){if(_620.get(elem,"disabled")){return false;}else{if(_620.has(elem,"tabIndex")){return _620.get(elem,"tabIndex")>=0;}else{return _622.hasDefaultTabStop(elem);}}});_622._getTabNavigable=function(root){var _626,last,_627,_628,_629,_62a,_62b={};function _62c(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _62d=function(_62e){for(var _62f=_62e.firstChild;_62f;_62f=_62f.nextSibling){if(_62f.nodeType!=1||(has("ie")&&_62f.scopeName!=="HTML")||!_623(_62f)){continue;}if(_625(_62f)){var _630=+_620.get(_62f,"tabIndex");if(!_620.has(_62f,"tabIndex")||_630==0){if(!_626){_626=_62f;}last=_62f;}else{if(_630>0){if(!_627||_630<_628){_628=_630;_627=_62f;}if(!_629||_630>=_62a){_62a=_630;_629=_62f;}}}var rn=_62c(_62f);if(_620.get(_62f,"checked")&&rn){_62b[rn]=_62f;}}if(_62f.nodeName.toUpperCase()!="SELECT"){_62d(_62f);}}};if(_623(root)){_62d(root);}function rs(node){return _62b[_62c(node)]||node;};return {first:rs(_626),last:rs(last),lowest:rs(_627),highest:rs(_629)};};_622.getFirstInTabbingOrder=function(root,doc){var _631=_622._getTabNavigable(dom.byId(root,doc));return _631.lowest?_631.lowest:_631.first;};_622.getLastInTabbingOrder=function(root,doc){var _632=_622._getTabNavigable(dom.byId(root,doc));return _632.last?_632.last:_632.highest;};return {hasDefaultTabStop:_622.hasDefaultTabStop,isTabNavigable:_622.isTabNavigable,_getTabNavigable:_622._getTabNavigable,getFirstInTabbingOrder:_622.getFirstInTabbingOrder,getLastInTabbingOrder:_622.getLastInTabbingOrder};});},"dojox/charting/themes/common":function(){define(["dojo/_base/lang"],function(lang){return lang.getObject("dojox.charting.themes",true);});},"dojox/charting/plot2d/MarkersOnly":function(){define("dojox/charting/plot2d/MarkersOnly",["dojo/_base/declare","./Default"],function(_633,_634){return _633("dojox.charting.plot2d.MarkersOnly",_634,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});});},"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(_635,_636,_637,_638,has,_639,lang,_63a,_63b,_63c,_63d,_63e,_63f){function _640(){};function _641(_642){return function(obj,_643,_644,_645){if(obj&&typeof _643=="string"&&obj[_643]==_640){return obj.on(_643.substring(2).toLowerCase(),lang.hitch(_644,_645));}return _642.apply(_637,arguments);};};_635.around(_637,"connect",_641);if(_639.connect){_635.around(_639,"connect",_641);}var _646=_638("dijit._Widget",[_63d,_63e,_63f],{onClick:_640,onDblClick:_640,onKeyDown:_640,onKeyPress:_640,onKeyUp:_640,onMouseDown:_640,onMouseMove:_640,onMouseOut:_640,onMouseOver:_640,onMouseLeave:_640,onMouseEnter:_640,onMouseUp:_640,constructor:function(_647){this._toConnect={};for(var name in _647){if(this[name]===_640){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_647[name];delete _647[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)]===_640){return _637.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_648){_639.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_648);},attr:function(name,_649){if(_636.isDebug){var _64a=arguments.callee._ach||(arguments.callee._ach={}),_64b=(arguments.callee.caller||"unknown caller").toString();if(!_64a[_64b]){_639.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_64b,"","2.0");_64a[_64b]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_639.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_63a("[widgetId]",this.containerNode).map(_63c.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_63b(0,function(){var _64c=["dijit/_base"];require(_64c);});}return _646;});},"dojo/touch":function(){define(["./_base/kernel","./_base/lang","./aspect","./dom","./on","./has","./mouse","./ready","./_base/window"],function(dojo,lang,_64d,dom,on,has,_64e,_64f,win){var _650=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 _651,_652;if(_650){_64f(function(){_652=win.body();win.doc.addEventListener("touchstart",function(evt){var _653=_652;_652=evt.target;on.emit(_653,"dojotouchout",{target:_653,relatedTarget:_652,bubbles:true});on.emit(_652,"dojotouchover",{target:_652,relatedTarget:_653,bubbles:true});},true);on(win.doc,"touchmove",function(evt){var _654=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_654&&_652!==_654){on.emit(_652,"dojotouchout",{target:_652,relatedTarget:_654,bubbles:true});on.emit(_654,"dojotouchover",{target:_654,relatedTarget:_652,bubbles:true});_652=_654;}});});_651=function(node,_655){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_652,node)){_655.call(this,lang.mixin({},evt,{target:_652}));}});};}function _656(type){return function(node,_657){return on(node,type,_657);};};var _658={press:_656(_650?"touchstart":"mousedown"),move:_650?_651:_656("mousemove"),release:_656(_650?"touchend":"mouseup"),cancel:_650?_656("touchcancel"):_64e.leave,over:_656(_650?"dojotouchover":"mouseover"),out:_656(_650?"dojotouchout":"mouseout"),enter:_64e._eventHandler(_650?"dojotouchover":"mouseover"),leave:_64e._eventHandler(_650?"dojotouchout":"mouseout")};1&&(dojo.touch=_658);return _658;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_659,dojo,_65a,_65b,_65c,dom,_65d,geom,_65e,_65f){if(!dojo.isAsync){_65e(0,function(){var _660=["./fx/Toggler"];_65f(_660);});}var _661=dojo.fx={};var _662={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _663=function(_664){this._index=-1;this._animations=_664||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_65a.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_663.prototype=new _659();lang.extend(_663,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_65b.disconnect(this._onAnimateCtx);_65b.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=_65b.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_65b.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_665,_666){if(!this._current){this._current=this._animations[this._index=0];}if(!_666&&this._current.status()=="playing"){return this;}var _667=_65b.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_668=_65b.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_669=_65b.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_65b.disconnect(_667);_65b.disconnect(_668);_65b.disconnect(_669);});if(this._onAnimateCtx){_65b.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_65b.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_65b.disconnect(this._onEndCtx);}this._onEndCtx=_65b.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_65b.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_65b.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_66a,_66b){this.pause();var _66c=this.duration*_66a;this._current=null;_65a.some(this._animations,function(a){if(a.duration<=_66c){this._current=a;return true;}_66c-=a.duration;return false;});if(this._current){this._current.gotoPercent(_66c/this._current.duration,_66b);}return this;},stop:function(_66d){if(this._current){if(_66d){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_65b.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_65b.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_65b.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_65b.disconnect(this._onEndCtx);}}});lang.extend(_663,_662);_661.chain=function(_66e){return new _663(_66e);};var _66f=function(_670){this._animations=_670||[];this._connects=[];this._finished=0;this.duration=0;_65a.forEach(_670,function(a){var _671=a.duration;if(a.delay){_671+=a.delay;}if(this.duration<_671){this.duration=_671;}this._connects.push(_65b.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _65c.Animation({curve:[0,1],duration:this.duration});var self=this;_65a.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_65b.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_66f,{_doAction:function(_672,args){_65a.forEach(this._animations,function(a){a[_672].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_673,args){var t=this._pseudoAnimation;t[_673].apply(t,args);},play:function(_674,_675){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(_676,_677){var ms=this.duration*_676;_65a.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_677);});this._call("gotoPercent",arguments);return this;},stop:function(_678){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_65a.forEach(this._connects,_65b.disconnect);}});lang.extend(_66f,_662);_661.combine=function(_679){return new _66f(_679);};_661.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_65c.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 _67a=_65d.get(node,"height");return Math.max(_67a,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_65b.connect(anim,"onStop",fini);_65b.connect(anim,"onEnd",fini);return anim;};_661.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_65c.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_65b.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_65b.connect(anim,"onStop",fini);_65b.connect(anim,"onEnd",fini);return anim;};_661.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_65d.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=_65c.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_65b.connect(anim,"beforeBegin",anim,init);return anim;};return _661;});},"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 _67b=lang.getObject("dojox.charting.scaler.common",true);var _67c={};return lang.mixin(_67b,{doIfLoaded:function(_67d,_67e,_67f){if(_67c[_67d]==undefined){try{_67c[_67d]=require(_67d);}catch(e){_67c[_67d]=null;}}if(_67c[_67d]){return _67e(_67c[_67d]);}else{return _67f();}},getNumericLabel:function(_680,_681,_682){var def="";_67b.doIfLoaded("dojo/number",function(_683){def=(_682.fixed?_683.format(_680,{places:_681<0?-_681:0}):_683.format(_680))||"";},function(){def=_682.fixed?_680.toFixed(_681<0?-_681:0):_680.toString();});if(_682.labelFunc){var r=_682.labelFunc(def,_680,_681);if(r){return r;}}if(_682.labels){var l=_682.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_680){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_680)){return l[lo].text;}--lo;if(lo>=0&&lo<l.length&&eq(l[lo].value,_680)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_680)){return l[lo].text;}}return def;}});});},"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,_684,arr,_685,_686,dc,df,dfr,du,fx){var _687=dfr.lambda("item.purgeGroup()");return _684("dojox.charting.plot2d.Bubble",[_685,_686],{defaultParams:{hAxis:"x",vAxis:"y",animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},styleFunc:null,font:"",fontColor:""},constructor:function(_688,_689){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_689);du.updateWithPattern(this.opt,_689,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_68a){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_68a);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_687);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),_68b=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 _68c=t.next("circle",[this.opt,run]),s=run.group,_68d=arr.map(run.data,function(v,i){return v?{x:ht(v.x)+_68a.l,y:dim.height-_68a.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)}:null;},this);var _68e=null,_68f=null,_690=null,_691=this.opt.styleFunc;var _692=function(item){if(_691){return t.addMixin(_68c,"circle",[item,_691(item)],true);}return t.addMixin(_68c,"circle",item,true);};if(_68c.series.shadow){_690=arr.map(_68d,function(item,i){if(item!==null){var _693=_692(run.data[i]),_694=_693.series.shadow;var _695=s.createCircle({cx:item.x+_694.dx,cy:item.y+_694.dy,r:item.radius}).setStroke(_694).setFill(_694.color);if(this.animate){this._animateBubble(_695,dim.height-_68a.b,item.radius);}return _695;}return null;},this);if(_690.length){run.dyn.shadow=_690[_690.length-1].getStroke();}}if(_68c.series.outline){_68f=arr.map(_68d,function(item,i){if(item!==null){var _696=_692(run.data[i]),_697=dc.makeStroke(_696.series.outline);_697.width=2*_697.width+_68c.series.stroke.width;var _698=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setStroke(_697);if(this.animate){this._animateBubble(_698,dim.height-_68a.b,item.radius);}return _698;}return null;},this);if(_68f.length){run.dyn.outline=_68f[_68f.length-1].getStroke();}}_68e=arr.map(_68d,function(item,i){if(item!==null){var _699=_692(run.data[i]),rect={x:item.x-item.radius,y:item.y-item.radius,width:2*item.radius,height:2*item.radius};var _69a=this._plotFill(_699.series.fill,dim,_68a);_69a=this._shapeFill(_69a,rect);var _69b=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setFill(_69a).setStroke(_699.series.stroke);if(this.animate){this._animateBubble(_69b,dim.height-_68a.b,item.radius);}return _69b;}return null;},this);if(_68e.length){run.dyn.fill=_68e[_68e.length-1].getFill();run.dyn.stroke=_68e[_68e.length-1].getStroke();}if(_68b){var _69c=new Array(_68e.length);arr.forEach(_68e,function(s,i){if(s!==null){var o={element:"circle",index:i,run:run,shape:s,outline:_68f&&_68f[i]||null,shadow:_690&&_690[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_68d[i].x,cy:_68d[i].y,cr:_68d[i].radius};this._connectEvents(o);_69c[i]=o;}},this);this._eventSeries[run.name]=_69c;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateBubble:function(_69d,_69e,size){fx.animateTransform(lang.delegate({shape:_69d,duration:1200,transform:[{name:"translate",start:[0,_69e],end:[0,0]},{name:"scale",start:[0,1/size],end:[1,1]},{name:"original"}]},this.animate)).play();}});});}}});define("dojox/charting/widget/Chart2D",["dojo/_base/kernel","dojo/_base/lang","./Chart","../Chart2D","../action2d/Highlight","../action2d/Magnify","../action2d/MoveSlice","../action2d/Shake","../action2d/Tooltip"],function(_69f,lang,_6a0){_69f.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",_6a0);});