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

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

		http://dojotoolkit.org
*/

if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_1,_2){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _3=dojo.date.stamp._isoRegExp.exec(_1),_4=null;if(_3){_3.shift();if(_3[1]){_3[1]--;}if(_3[6]){_3[6]*=1000;}if(_2){_2=new Date(_2);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){return _2["get"+_5]();}),function(_6,_7){_3[_7]=_3[_7]||_6;});}_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||1,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);if(_3[0]<100){_4.setFullYear(_3[0]||1970);}var _8=0,_9=_3[7]&&_3[7].charAt(0);if(_9!="Z"){_8=((_3[8]||0)*60)+(Number(_3[9])||0);if(_9!="-"){_8*=-1;}}if(_9){_8-=_4.getTimezoneOffset();}if(_8){_4.setTime(_4.getTime()+_8*60000);}}return _4;};dojo.date.stamp.toISOString=function(_a,_b){var _c=function(n){return (n<10)?"0"+n:n;};_b=_b||{};var _d=[],_e=_b.zulu?"getUTC":"get",_f="";if(_b.selector!="time"){var _10=_a[_e+"FullYear"]();_f=["0000".substr((_10+"").length)+_10,_c(_a[_e+"Month"]()+1),_c(_a[_e+"Date"]())].join("-");}_d.push(_f);if(_b.selector!="date"){var _11=[_c(_a[_e+"Hours"]()),_c(_a[_e+"Minutes"]()),_c(_a[_e+"Seconds"]())].join(":");var _12=_a[_e+"Milliseconds"]();if(_b.milliseconds){_11+="."+(_12<100?"0":"")+_c(_12);}if(_b.zulu){_11+="Z";}else{if(_b.selector!="time"){var _13=_a.getTimezoneOffset();var _14=Math.abs(_13);_11+=(_13>0?"-":"+")+_c(Math.floor(_14/60))+":"+_c(_14%60);}}_d.push(_11);}return _d.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;function _15(_16){if(d.isString(_16)){return "string";}if(typeof _16=="number"){return "number";}if(typeof _16=="boolean"){return "boolean";}if(d.isFunction(_16)){return "function";}if(d.isArray(_16)){return "array";}if(_16 instanceof Date){return "date";}if(_16 instanceof d._Url){return "url";}return "object";};function _17(_18,_19){switch(_19){case "string":return _18;case "number":return _18.length?Number(_18):NaN;case "boolean":return typeof _18=="boolean"?_18:!(_18.toLowerCase()=="false");case "function":if(d.isFunction(_18)){_18=_18.toString();_18=d.trim(_18.substring(_18.indexOf("{")+1,_18.length-1));}try{if(_18===""||_18.search(/[^\w\.]+/i)!=-1){return new Function(_18);}else{return d.getObject(_18,false)||new Function(_18);}}catch(e){return new Function();}case "array":return _18?_18.split(/\s*,\s*/):[];case "date":switch(_18){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_18);}case "url":return d.baseUrl+_18;default:return d.fromJson(_18);}};var _1a={},_1b={};d.connect(d,"extend",function(){_1b={};});function _1c(cls,_1d){for(var _1e in cls){if(_1e.charAt(0)=="_"){continue;}if(_1e in _1a){continue;}_1d[_1e]=_15(cls[_1e]);}return _1d;};function _1f(_20,_21){var c=_1b[_20];if(!c){var cls=d.getObject(_20),_22=null;if(!cls){return null;}if(!_21){_22=_1c(cls.prototype,{});}c={cls:cls,params:_22};}else{if(!_21&&!c.params){c.params=_1c(c.cls.prototype,{});}}return c;};this._functionFromScript=function(_23,_24){var _25="";var _26="";var _27=(_23.getAttribute(_24+"args")||_23.getAttribute("args"));if(_27){d.forEach(_27.split(/\s*,\s*/),function(_28,idx){_25+="var "+_28+" = arguments["+idx+"]; ";});}var _29=_23.getAttribute("with");if(_29&&_29.length){d.forEach(_29.split(/\s*,\s*/),function(_2a){_25+="with("+_2a+"){";_26+="}";});}return new Function(_25+_23.innerHTML+_26);};this.instantiate=function(_2b,_2c,_2d){var _2e=[],_2c=_2c||{};_2d=_2d||{};var _2f=(_2d.scope||d._scopeName)+"Type",_30="data-"+(_2d.scope||d._scopeName)+"-";d.forEach(_2b,function(obj){if(!obj){return;}var _31,_32,_33,_34,_35,_36;if(obj.node){_31=obj.node;_32=obj.type;_36=obj.fastpath;_33=obj.clsInfo||(_32&&_1f(_32,_36));_34=_33&&_33.cls;_35=obj.scripts;}else{_31=obj;_32=_2f in _2c?_2c[_2f]:_31.getAttribute(_2f);_33=_32&&_1f(_32);_34=_33&&_33.cls;_35=(_34&&(_34._noScript||_34.prototype._noScript)?[]:d.query("> script[type^='dojo/']",_31));}if(!_33){throw new Error("Could not load class '"+_32);}var _37={};if(_2d.defaults){d._mixin(_37,_2d.defaults);}if(obj.inherited){d._mixin(_37,obj.inherited);}if(_36){var _38=_31.getAttribute(_30+"props");if(_38&&_38.length){try{_38=d.fromJson.call(_2d.propsThis,"{"+_38+"}");d._mixin(_37,_38);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_38+"'");}}var _39=_31.getAttribute(_30+"attach-point");if(_39){_37.dojoAttachPoint=_39;}var _3a=_31.getAttribute(_30+"attach-event");if(_3a){_37.dojoAttachEvent=_3a;}dojo.mixin(_37,_2c);}else{var _3b=_31.attributes;for(var _3c in _33.params){var _3d=_3c in _2c?{value:_2c[_3c],specified:true}:_3b.getNamedItem(_3c);if(!_3d||(!_3d.specified&&(!dojo.isIE||_3c.toLowerCase()!="value"))){continue;}var _3e=_3d.value;switch(_3c){case "class":_3e="className" in _2c?_2c.className:_31.className;break;case "style":_3e="style" in _2c?_2c.style:(_31.style&&_31.style.cssText);}var _3f=_33.params[_3c];if(typeof _3e=="string"){_37[_3c]=_17(_3e,_3f);}else{_37[_3c]=_3e;}}}var _40=[],_41=[];d.forEach(_35,function(_42){_31.removeChild(_42);var _43=(_42.getAttribute(_30+"event")||_42.getAttribute("event")),_32=_42.getAttribute("type"),nf=d.parser._functionFromScript(_42,_30);if(_43){if(_32=="dojo/connect"){_40.push({event:_43,func:nf});}else{_37[_43]=nf;}}else{_41.push(nf);}});var _44=_34.markupFactory||_34.prototype&&_34.prototype.markupFactory;var _45=_44?_44(_37,_31,_34):new _34(_37,_31);_2e.push(_45);var _46=(_31.getAttribute(_30+"id")||_31.getAttribute("jsId"));if(_46){d.setObject(_46,_45);}d.forEach(_40,function(_47){d.connect(_45,_47.event,null,_47.func);});d.forEach(_41,function(_48){_48.call(_45);});});if(!_2c._started){d.forEach(_2e,function(_49){if(!_2d.noStart&&_49&&dojo.isFunction(_49.startup)&&!_49._started&&(!_49.getParent||!_49.getParent())){_49.startup();}});}return _2e;};this.parse=function(_4a,_4b){var _4c;if(!_4b&&_4a&&_4a.rootNode){_4b=_4a;_4c=_4b.rootNode;}else{_4c=_4a;}_4c=_4c?dojo.byId(_4c):dojo.body();_4b=_4b||{};var _4d=(_4b.scope||d._scopeName)+"Type",_4e="data-"+(_4b.scope||d._scopeName)+"-";function _4f(_50,_51){var _52=dojo.clone(_50.inherited);dojo.forEach(["dir","lang"],function(_53){var val=_50.node.getAttribute(_53);if(val){_52[_53]=val;}});var _54=_50.clsInfo&&!_50.clsInfo.cls.prototype._noScript?_50.scripts:null;var _55=(!_50.clsInfo||!_50.clsInfo.cls.prototype.stopParser)||(_4b&&_4b.template);for(var _56=_50.node.firstChild;_56;_56=_56.nextSibling){if(_56.nodeType==1){var _57,_58=_55&&_56.getAttribute(_4e+"type");if(_58){_57=_58;}else{_57=_55&&_56.getAttribute(_4d);}var _59=_58==_57;if(_57){var _5a={"type":_57,fastpath:_59,clsInfo:_1f(_57,_59),node:_56,scripts:[],inherited:_52};_51.push(_5a);_4f(_5a,_51);}else{if(_54&&_56.nodeName.toLowerCase()=="script"){_57=_56.getAttribute("type");if(_57&&/^dojo\/\w/i.test(_57)){_54.push(_56);}}else{if(_55){_4f({node:_56,inherited:_52},_51);}}}}}};var _5b={};if(_4b&&_4b.inherited){for(var key in _4b.inherited){if(_4b.inherited[key]){_5b[key]=_4b.inherited[key];}}}var _5c=[];_4f({node:_4c,inherited:_5b},_5c);var _5d=_4b&&_4b.template?{template:true}:null;return this.instantiate(_5c,_5d,_4b);};}();(function(){var _5e=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.getObject("dijit.wai.onload")===dojo._loaders[0]){dojo._loaders.splice(1,0,_5e);}else{dojo._loaders.unshift(_5e);}})();}if(!dojo._hasResource["dojox.string.tokenize"]){dojo._hasResource["dojox.string.tokenize"]=true;dojo.provide("dojox.string.tokenize");dojox.string.tokenize=function(str,re,_5f,_60){var _61=[];var _62,_63,_64=0;while(_62=re.exec(str)){_63=str.slice(_64,re.lastIndex-_62[0].length);if(_63.length){_61.push(_63);}if(_5f){if(dojo.isOpera){var _65=_62.slice(0);while(_65.length<_62.length){_65.push(null);}_62=_65;}var _66=_5f.apply(_60,_62.slice(1).concat(_61.length));if(typeof _66!="undefined"){_61.push(_66);}}_64=re.lastIndex;}_63=str.slice(_64);if(_63.length){_61.push(_63);}return _61;};}if(!dojo._hasResource["dojox.string.sprintf"]){dojo._hasResource["dojox.string.sprintf"]=true;dojo.provide("dojox.string.sprintf");dojox.string.sprintf=function(_67,_68){for(var _69=[],i=1;i<arguments.length;i++){_69.push(arguments[i]);}var _6a=new dojox.string.sprintf.Formatter(_67);return _6a.format.apply(_6a,_69);};dojox.string.sprintf.Formatter=function(_6b){var _6c=[];this._mapped=false;this._format=_6b;this._tokens=dojox.string.tokenize(_6b,this._re,this._parseDelim,this);};dojo.extend(dojox.string.sprintf.Formatter,{_re:/\%(?:\(([\w_]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%scdeEfFgGiouxX])/g,_parseDelim:function(_6d,_6e,_6f,_70,_71,_72,_73){if(_6d){this._mapped=true;}return {mapping:_6d,intmapping:_6e,flags:_6f,_minWidth:_70,period:_71,_precision:_72,specifier:_73};},_specifiers:{b:{base:2,isInt:true},o:{base:8,isInt:true},x:{base:16,isInt:true},X:{extend:["x"],toUpper:true},d:{base:10,isInt:true},i:{extend:["d"]},u:{extend:["d"],isUnsigned:true},c:{setArg:function(_74){if(!isNaN(_74.arg)){var num=parseInt(_74.arg);if(num<0||num>127){throw new Error("invalid character code passed to %c in sprintf");}_74.arg=isNaN(num)?""+num:String.fromCharCode(num);}}},s:{setMaxWidth:function(_75){_75.maxWidth=(_75.period==".")?_75.precision:-1;}},e:{isDouble:true,doubleNotation:"e"},E:{extend:["e"],toUpper:true},f:{isDouble:true,doubleNotation:"f"},F:{extend:["f"]},g:{isDouble:true,doubleNotation:"g"},G:{extend:["g"],toUpper:true}},format:function(_76){if(this._mapped&&typeof _76!="object"){throw new Error("format requires a mapping");}var str="";var _77=0;for(var i=0,_78;i<this._tokens.length;i++){_78=this._tokens[i];if(typeof _78=="string"){str+=_78;}else{if(this._mapped){if(typeof _76[_78.mapping]=="undefined"){throw new Error("missing key "+_78.mapping);}_78.arg=_76[_78.mapping];}else{if(_78.intmapping){var _77=parseInt(_78.intmapping)-1;}if(_77>=arguments.length){throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");}_78.arg=arguments[_77++];}if(!_78.compiled){_78.compiled=true;_78.sign="";_78.zeroPad=false;_78.rightJustify=false;_78.alternative=false;var _79={};for(var fi=_78.flags.length;fi--;){var _7a=_78.flags.charAt(fi);_79[_7a]=true;switch(_7a){case " ":_78.sign=" ";break;case "+":_78.sign="+";break;case "0":_78.zeroPad=(_79["-"])?false:true;break;case "-":_78.rightJustify=true;_78.zeroPad=false;break;case "#":_78.alternative=true;break;default:throw Error("bad formatting flag '"+_78.flags.charAt(fi)+"'");}}_78.minWidth=(_78._minWidth)?parseInt(_78._minWidth):0;_78.maxWidth=-1;_78.toUpper=false;_78.isUnsigned=false;_78.isInt=false;_78.isDouble=false;_78.precision=1;if(_78.period=="."){if(_78._precision){_78.precision=parseInt(_78._precision);}else{_78.precision=0;}}var _7b=this._specifiers[_78.specifier];if(typeof _7b=="undefined"){throw new Error("unexpected specifier '"+_78.specifier+"'");}if(_7b.extend){dojo.mixin(_7b,this._specifiers[_7b.extend]);delete _7b.extend;}dojo.mixin(_78,_7b);}if(typeof _78.setArg=="function"){_78.setArg(_78);}if(typeof _78.setMaxWidth=="function"){_78.setMaxWidth(_78);}if(_78._minWidth=="*"){if(this._mapped){throw new Error("* width not supported in mapped formats");}_78.minWidth=parseInt(arguments[_77++]);if(isNaN(_78.minWidth)){throw new Error("the argument for * width at position "+_77+" is not a number in "+this._format);}if(_78.minWidth<0){_78.rightJustify=true;_78.minWidth=-_78.minWidth;}}if(_78._precision=="*"&&_78.period=="."){if(this._mapped){throw new Error("* precision not supported in mapped formats");}_78.precision=parseInt(arguments[_77++]);if(isNaN(_78.precision)){throw Error("the argument for * precision at position "+_77+" is not a number in "+this._format);}if(_78.precision<0){_78.precision=1;_78.period="";}}if(_78.isInt){if(_78.period=="."){_78.zeroPad=false;}this.formatInt(_78);}else{if(_78.isDouble){if(_78.period!="."){_78.precision=6;}this.formatDouble(_78);}}this.fitField(_78);str+=""+_78.arg;}}return str;},_zeros10:"0000000000",_spaces10:"          ",formatInt:function(_7c){var i=parseInt(_7c.arg);if(!isFinite(i)){if(typeof _7c.arg!="number"){throw new Error("format argument '"+_7c.arg+"' not an integer; parseInt returned "+i);}i=0;}if(i<0&&(_7c.isUnsigned||_7c.base!=10)){i=4294967295+i+1;}if(i<0){_7c.arg=(-i).toString(_7c.base);this.zeroPad(_7c);_7c.arg="-"+_7c.arg;}else{_7c.arg=i.toString(_7c.base);if(!i&&!_7c.precision){_7c.arg="";}else{this.zeroPad(_7c);}if(_7c.sign){_7c.arg=_7c.sign+_7c.arg;}}if(_7c.base==16){if(_7c.alternative){_7c.arg="0x"+_7c.arg;}_7c.arg=_7c.toUpper?_7c.arg.toUpperCase():_7c.arg.toLowerCase();}if(_7c.base==8){if(_7c.alternative&&_7c.arg.charAt(0)!="0"){_7c.arg="0"+_7c.arg;}}},formatDouble:function(_7d){var f=parseFloat(_7d.arg);if(!isFinite(f)){if(typeof _7d.arg!="number"){throw new Error("format argument '"+_7d.arg+"' not a float; parseFloat returned "+f);}f=0;}switch(_7d.doubleNotation){case "e":_7d.arg=f.toExponential(_7d.precision);break;case "f":_7d.arg=f.toFixed(_7d.precision);break;case "g":if(Math.abs(f)<0.0001){_7d.arg=f.toExponential(_7d.precision>0?_7d.precision-1:_7d.precision);}else{_7d.arg=f.toPrecision(_7d.precision);}if(!_7d.alternative){_7d.arg=_7d.arg.replace(/(\..*[^0])0*/,"$1");_7d.arg=_7d.arg.replace(/\.0*e/,"e").replace(/\.0$/,"");}break;default:throw new Error("unexpected double notation '"+_7d.doubleNotation+"'");}_7d.arg=_7d.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1");if(dojo.isOpera){_7d.arg=_7d.arg.replace(/^\./,"0.");}if(_7d.alternative){_7d.arg=_7d.arg.replace(/^(\d+)$/,"$1.");_7d.arg=_7d.arg.replace(/^(\d+)e/,"$1.e");}if(f>=0&&_7d.sign){_7d.arg=_7d.sign+_7d.arg;}_7d.arg=_7d.toUpper?_7d.arg.toUpperCase():_7d.arg.toLowerCase();},zeroPad:function(_7e,_7f){_7f=(arguments.length==2)?_7f:_7e.precision;if(typeof _7e.arg!="string"){_7e.arg=""+_7e.arg;}var _80=_7f-10;while(_7e.arg.length<_80){_7e.arg=(_7e.rightJustify)?_7e.arg+this._zeros10:this._zeros10+_7e.arg;}var pad=_7f-_7e.arg.length;_7e.arg=(_7e.rightJustify)?_7e.arg+this._zeros10.substring(0,pad):this._zeros10.substring(0,pad)+_7e.arg;},fitField:function(_81){if(_81.maxWidth>=0&&_81.arg.length>_81.maxWidth){return _81.arg.substring(0,_81.maxWidth);}if(_81.zeroPad){this.zeroPad(_81,_81.minWidth);return;}this.spacePad(_81);},spacePad:function(_82,_83){_83=(arguments.length==2)?_83:_82.minWidth;if(typeof _82.arg!="string"){_82.arg=""+_82.arg;}var _84=_83-10;while(_82.arg.length<_84){_82.arg=(_82.rightJustify)?_82.arg+this._spaces10:this._spaces10+_82.arg;}var pad=_83-_82.arg.length;_82.arg=(_82.rightJustify)?_82.arg+this._spaces10.substring(0,pad):this._spaces10.substring(0,pad)+_82.arg;}});}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _85=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _86=dojo._docScroll();return {w:_85.clientWidth,h:_85.clientHeight,l:_86.x,t:_86.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(_87,pos){_87=dojo.byId(_87);var _88,doc=_87.ownerDocument||dojo.doc;if(!("rtl_adjust_position_for_verticalScrollBar" in dojo.window)){_88=dojo.body();var _89=dojo.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_88,"last"),div=dojo.create("div",{style:{overflow:"hidden",direction:"ltr"}},_89,"last");dojo.window.rtl_adjust_position_for_verticalScrollBar=dojo.position(div).x!=0;_89.removeChild(div);_88.removeChild(_89);}if(!("position_fixed_support" in dojo.window)){_88=dojo.body();var _8a=dojo.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_88,"last"),_8b=dojo.create("span",{style:{position:"fixed",left:"0",top:"0"}},_8a,"last");dojo.window.position_fixed_support=dojo.position(_8b).x!=dojo.position(_8a).x;_8a.removeChild(_8b);_88.removeChild(_8a);}try{_88=doc.body||doc.getElementsByTagName("body")[0];var _8c=doc.documentElement||_88.parentNode,_8d=dojo.isIE,_8e=dojo.isWebKit;if(_87==_88||_87==_8c){return;}if(!(dojo.isMozilla||_8d||_8e||dojo.isOpera)&&("scrollIntoView" in _87)){_87.scrollIntoView(false);return;}var _8f=doc.compatMode=="BackCompat",_90=Math.min(_88.clientWidth||_8c.clientWidth,_8c.clientWidth||_88.clientWidth),_91=Math.min(_88.clientHeight||_8c.clientHeight,_8c.clientHeight||_88.clientHeight),_92=(_8e||_8f)?_88:_8c,_93=pos||dojo.position(_87),el=_87.parentNode,_94=function(el){return (_8d<=6||(_8d==7&&_8f))?false:(dojo.window.position_fixed_support&&(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_94(_87)){return;}while(el){if(el==_88){el=_92;}var _95=dojo.position(el),_96=_94(el),rtl=dojo.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_92){_95.w=_90;_95.h=_91;if(_92==_8c&&_8d&&rtl){_95.x+=_92.offsetWidth-_95.w;}if(_95.x<0||!_8d||_8d>=9){_95.x=0;}if(_95.y<0||!_8d||_8d>=9){_95.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_95.w-=pb.w;_95.h-=pb.h;_95.x+=pb.l;_95.y+=pb.t;var _97=el.clientWidth,_98=_95.w-_97;if(_97>0&&_98>0){if(rtl&&dojo.window.rtl_adjust_position_for_verticalScrollBar){_95.x+=_98;}_95.w=_97;}_97=el.clientHeight;_98=_95.h-_97;if(_97>0&&_98>0){_95.h=_97;}}if(_96){if(_95.y<0){_95.h+=_95.y;_95.y=0;}if(_95.x<0){_95.w+=_95.x;_95.x=0;}if(_95.y+_95.h>_91){_95.h=_91-_95.y;}if(_95.x+_95.w>_90){_95.w=_90-_95.x;}}var l=_93.x-_95.x,t=_93.y-_95.y,r=l+_93.w-_95.w,bot=t+_93.h-_95.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_92||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_8d==8&&!_8f)||_8d>=9)){s=-s;}old=el.scrollLeft;el.scrollLeft+=s;s=el.scrollLeft-old;_93.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_92||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;el.scrollTop+=s;s=el.scrollTop-old;_93.y-=s;}el=(el!=_92)&&!_96&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_87.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_99){if(this._hash[_99.id]){throw new Error("Tried to register widget with id=="+_99.id+" but that id is already registered");}this._hash[_99.id]=_99;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_9a,_9b){_9b=_9b||dojo.global;var i=0,id;for(id in this._hash){_9a.call(_9b,this._hash[id],i++,this._hash);}return this;},filter:function(_9c,_9d){_9d=_9d||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_9c.call(_9d,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_9e;for(id in this._hash){_9e=this._hash[id];if(_9e.declaredClass==cls){res.add(_9e);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_9f,_a0){return dojo.map(this.toArray(),_9f,_a0);},every:function(_a1,_a2){_a2=_a2||dojo.global;var x=0,i;for(i in this._hash){if(!_a1.call(_a2,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_a3,_a4){_a4=_a4||dojo.global;var x=0,i;for(i in this._hash){if(_a3.call(_a4,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _a5=dijit.registry._hash,_a6=dojo.attr,_a7=dojo.hasAttr,_a8=dojo.style;dijit.byId=function(id){return typeof id=="string"?_a5[id]:id;};var _a9={};dijit.getUniqueId=function(_aa){var id;do{id=_aa+"_"+(_aa in _a9?++_a9[_aa]:_a9[_aa]=0);}while(_a5[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_ab){var _ac=[];function _ad(_ae){for(var _af=_ae.firstChild;_af;_af=_af.nextSibling){if(_af.nodeType==1){var _b0=_af.getAttribute("widgetId");if(_b0){var _b1=_a5[_b0];if(_b1){_ac.push(_b1);}}else{_ad(_af);}}}};_ad(_ab);return _ac;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_b2){if(!_b2._destroyed){if(_b2.destroyRecursive){_b2.destroyRecursive();}else{if(_b2.destroy){_b2.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_b3){return _a5[_b3.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_b4){while(_b4){var id=_b4.getAttribute&&_b4.getAttribute("widgetId");if(id){return _a5[id];}_b4=_b4.parentNode;}return null;};var _b5=(dijit._isElementShown=function(_b6){var s=_a8(_b6);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_a6(_b6,"type")!="hidden");});dijit.hasDefaultTabStop=function(_b7){switch(_b7.nodeName.toLowerCase()){case "a":return _a7(_b7,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _b8;try{var _b9=_b7.contentDocument;if("designMode" in _b9&&_b9.designMode=="on"){return true;}_b8=_b9.body;}catch(e1){try{_b8=_b7.contentWindow.document.body;}catch(e2){return false;}}return _b8.contentEditable=="true"||(_b8.firstChild&&_b8.firstChild.contentEditable=="true");default:return _b7.contentEditable=="true";}};var _ba=(dijit.isTabNavigable=function(_bb){if(_a6(_bb,"disabled")){return false;}else{if(_a7(_bb,"tabIndex")){return _a6(_bb,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_bb);}}});dijit._getTabNavigable=function(_bc){var _bd,_be,_bf,_c0,_c1,_c2,_c3={};function _c4(_c5){return _c5&&_c5.tagName.toLowerCase()=="input"&&_c5.type&&_c5.type.toLowerCase()=="radio"&&_c5.name&&_c5.name.toLowerCase();};var _c6=function(_c7){dojo.query("> *",_c7).forEach(function(_c8){if((dojo.isIE<=9&&_c8.scopeName!=="HTML")||!_b5(_c8)){return;}if(_ba(_c8)){var _c9=_a6(_c8,"tabIndex");if(!_a7(_c8,"tabIndex")||_c9==0){if(!_bd){_bd=_c8;}_be=_c8;}else{if(_c9>0){if(!_bf||_c9<_c0){_c0=_c9;_bf=_c8;}if(!_c1||_c9>=_c2){_c2=_c9;_c1=_c8;}}}var rn=_c4(_c8);if(dojo.attr(_c8,"checked")&&rn){_c3[rn]=_c8;}}if(_c8.nodeName.toUpperCase()!="SELECT"){_c6(_c8);}});};if(_b5(_bc)){_c6(_bc);}function rs(_ca){return _c3[_c4(_ca)]||_ca;};return {first:rs(_bd),last:rs(_be),lowest:rs(_bf),highest:rs(_c1)};};dijit.getFirstInTabbingOrder=function(_cb){var _cc=dijit._getTabNavigable(dojo.byId(_cb));return _cc.lowest?_cc.lowest:_cc.first;};dijit.getLastInTabbingOrder=function(_cd){var _ce=dijit._getTabNavigable(dojo.byId(_cd));return _ce.last?_ce.last:_ce.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}if(!dojo._hasResource["dojo.Stateful"]){dojo._hasResource["dojo.Stateful"]=true;dojo.provide("dojo.Stateful");dojo.declare("dojo.Stateful",null,{postscript:function(_cf){if(_cf){dojo.mixin(this,_cf);}},get:function(_d0){return this[_d0];},set:function(_d1,_d2){if(typeof _d1==="object"){for(var x in _d1){this.set(x,_d1[x]);}return this;}var _d3=this[_d1];this[_d1]=_d2;if(this._watchCallbacks){this._watchCallbacks(_d1,_d3,_d2);}return this;},watch:function(_d4,_d5){var _d6=this._watchCallbacks;if(!_d6){var _d7=this;_d6=this._watchCallbacks=function(_d8,_d9,_da,_db){var _dc=function(_dd){if(_dd){_dd=_dd.slice();for(var i=0,l=_dd.length;i<l;i++){try{_dd[i].call(_d7,_d8,_d9,_da);}catch(e){console.error(e);}}}};_dc(_d6["_"+_d8]);if(!_db){_dc(_d6["*"]);}};}if(!_d5&&typeof _d4==="function"){_d5=_d4;_d4="*";}else{_d4="_"+_d4;}var _de=_d6[_d4];if(typeof _de!=="object"){_de=_d6[_d4]=[];}_de.push(_d5);return {unwatch:function(){_de.splice(dojo.indexOf(_de,_d5),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_df,_e0){this.create(_df,_e0);},create:function(_e1,_e2){this.srcNodeRef=dojo.byId(_e2);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_e1){this.params=_e1;dojo._mixin(this,_e1);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _e3=this.srcNodeRef;if(_e3&&_e3.parentNode&&this.domNode!==_e3){_e3.parentNode.replaceChild(this.domNode,_e3);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _e4=function(_e5,_e6){if((_e6.params&&_e5 in _e6.params)||_e6[_e5]){_e6.set(_e5,_e6[_e5]);}};for(var _e7 in this.attributeMap){_e4(_e7,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_e4(a,this);}},this);},_getSetterAttributes:function(){var _e8=this.constructor;if(!_e8._setterAttrs){var r=(_e8._setterAttrs=[]),_e9,_ea=_e8.prototype;for(var _eb in _ea){if(dojo.isFunction(_ea[_eb])&&(_e9=_eb.match(/^_set([a-zA-Z]*)Attr$/))&&_e9[1]){r.push(_e9[1].charAt(0).toLowerCase()+_e9[1].substr(1));}}}return _e8._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _ec=this.baseClass.split(" ");if(!this.isLeftToRight()){_ec=_ec.concat(dojo.map(_ec,function(_ed){return _ed+"Rtl";}));}dojo.addClass(this.domNode,_ec);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_ee){this._beingDestroyed=true;this.destroyDescendants(_ee);this.destroy(_ee);},destroy:function(_ef){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_f0){dfe(_f0,d.disconnect);});dfe(this._subscribes,function(_f1){dun(_f1);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_ef);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_f2){if(this.bgIframe){this.bgIframe.destroy(_f2);delete this.bgIframe;}if(this.domNode){if(_f2){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_f2){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_f3){dojo.forEach(this.getChildren(),function(_f4){if(_f4.destroyRecursive){_f4.destroyRecursive(_f3);}});},uninitialize:function(){return false;},_setClassAttr:function(_f5){var _f6=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_f6,_f5,this["class"]);this._set("class",_f5);},_setStyleAttr:function(_f7){var _f8=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_f7)){dojo.style(_f8,_f7);}else{if(_f8.style.cssText){_f8.style.cssText+="; "+_f7;}else{_f8.style.cssText=_f7;}}this._set("style",_f7);},_attrToDom:function(_f9,_fa){var _fb=this.attributeMap[_f9];dojo.forEach(dojo.isArray(_fb)?_fb:[_fb],function(_fc){var _fd=this[_fc.node||_fc||"domNode"];var _fe=_fc.type||"attribute";switch(_fe){case "attribute":if(dojo.isFunction(_fa)){_fa=dojo.hitch(this,_fa);}var _ff=_fc.attribute?_fc.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_f9)?_f9.toLowerCase():_f9);dojo.attr(_fd,_ff,_fa);break;case "innerText":_fd.innerHTML="";_fd.appendChild(dojo.doc.createTextNode(_fa));break;case "innerHTML":_fd.innerHTML=_fa;break;case "class":dojo.replaceClass(_fd,_fa,this[_f9]);break;}},this);},get:function(name){var _100=this._getAttrNames(name);return this[_100.g]?this[_100.g]():this[name];},set:function(name,_101){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _102=this._getAttrNames(name);if(this[_102.s]){var _103=this[_102.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(name in this.attributeMap){this._attrToDom(name,_101);}this._set(name,_101);}return _103||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_104){var _105=this[name];this[name]=_104;if(this._watchCallbacks&&this._created&&_104!==_105){this._watchCallbacks(name,_105,_104);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},connect:function(obj,_106,_107){var _108=[dojo._connect(obj,_106,this,_107)];this._connects.push(_108);return _108;},disconnect:function(_109){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_109){dojo.forEach(_109,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_10a,_10b){var _10c=dojo.subscribe(_10a,this,_10b);this._subscribes.push(_10c);return _10c;},unsubscribe:function(_10d){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_10d){dojo.unsubscribe(_10d);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_10e,_10f){if(_10e.declaredClass&&_10e.addChild){_10e.addChild(this,_10f);}else{dojo.place(this.domNode,_10e,_10f);}return this;},defer:function(fcn,_110){var _111=setTimeout(dojo.hitch(this,function(){_111=null;if(!this._destroyed){dojo.hitch(this,fcn)();}}),_110||0);return {remove:function(){if(_111){clearTimeout(_111);_111=null;}return null;}};}});})();}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_112){var _113=dojo.doc,mark=_112.mark;if(mark){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var r=mark;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_113.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_113.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_113.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_114){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_114||dojo.global,dijit.getBookmark),openedForWindow:_114};},focus:function(_115){if(!_115){return;}var node="node" in _115?_115.node:_115,_116=_115.bookmark,_117=_115.openedForWindow,_118=_116?_116.isCollapsed:false;if(node){var _119=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_119&&_119.focus){try{_119.focus();}catch(e){}}dijit._onFocusNode(node);}if(_116&&dojo.withGlobal(_117||dojo.global,dijit.isCollapsed)&&!_118){if(_117){_117.focus();}try{dojo.withGlobal(_117||dojo.global,dijit.moveToBookmark,null,[_116]);}catch(e2){}}},_activeStack:[],registerIframe:function(_11a){return dijit.registerWin(_11a.contentWindow,_11a);},unregisterIframe:function(_11b){dijit.unregisterWin(_11b);},registerWin:function(_11c,_11d){var _11e=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_11d||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_11c.document.documentElement:_11c.document;if(doc){if(dojo.isIE){_11c.document.body.attachEvent("onmousedown",_11e);var _11f=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_11d||evt.srcElement);}else{dijit._onTouchNode(_11d||evt.srcElement);}};doc.attachEvent("onactivate",_11f);var _120=function(evt){dijit._onBlurNode(_11d||evt.srcElement);};doc.attachEvent("ondeactivate",_120);return function(){_11c.document.detachEvent("onmousedown",_11e);doc.detachEvent("onactivate",_11f);doc.detachEvent("ondeactivate",_120);doc=null;};}else{doc.body.addEventListener("mousedown",_11e,true);var _121=function(evt){dijit._onFocusNode(_11d||evt.target);};doc.addEventListener("focus",_121,true);var _122=function(evt){dijit._onBlurNode(_11d||evt.target);};doc.addEventListener("blur",_122,true);return function(){doc.body.removeEventListener("mousedown",_11e,true);doc.removeEventListener("focus",_121,true);doc.removeEventListener("blur",_122,true);doc=null;};}}},unregisterWin:function(_123){_123&&_123();},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _124=[];try{while(node){var _125=dojo.attr(node,"dijitPopupParent");if(_125){node=dijit.byId(_125).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.window.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_126=id&&dijit.byId(id);if(_126&&!(by=="mouse"&&_126.get("disabled"))){_124.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_124,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_127,by){var _128=dijit._activeStack;dijit._activeStack=_127;for(var _129=0;_129<Math.min(_128.length,_127.length);_129++){if(_128[_129]!=_127[_129]){break;}}var _12a;for(var i=_128.length-1;i>=_129;i--){_12a=dijit.byId(_128[i]);if(_12a){_12a._focused=false;_12a.set("focused",false);_12a._hasBeenBlurred=true;if(_12a._onBlur){_12a._onBlur(by);}dojo.publish("widgetBlur",[_12a,by]);}}for(i=_129;i<_127.length;i++){_12a=dijit.byId(_127[i]);if(_12a){_12a._focused=true;_12a.set("focused",true);if(_12a._onFocus){_12a._onFocus(by);}dojo.publish("widgetFocus",[_12a,by]);}}}});dojo.addOnLoad(function(){var _12b=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_12b);_12b=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_12c){this.pairs=[];this.returnWrappers=_12c||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_12d,wrap,_12e,_12f){this.pairs[((_12f)?"unshift":"push")]([name,_12d,wrap,_12e]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(node,pos,_130,_131){var _132=dojo.map(_130,function(_133){var c={corner:_133,pos:{x:pos.x,y:pos.y}};if(_131){c.pos.x+=_133.charAt(1)=="L"?_131.x:-_131.x;c.pos.y+=_133.charAt(0)=="T"?_131.y:-_131.y;}return c;});return dijit._place(node,_132);};dijit._place=function(node,_134,_135,_136){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_134,function(_137){var _138=_137.corner;var pos=_137.pos;var _139=0;var _13a={w:_138.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_138.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_135){var res=_135(node,_137.aroundCorner,_138,_13a,_136);_139=typeof res=="undefined"?0:res;}var _13b=node.style;var _13c=_13b.display;var _13d=_13b.visibility;_13b.visibility="hidden";_13b.display="";var mb=dojo.marginBox(node);_13b.display=_13c;_13b.visibility=_13d;var _13e=Math.max(view.l,_138.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_13f=Math.max(view.t,_138.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_138.charAt(1)=="L"?(_13e+mb.w):pos.x),endY=Math.min(view.t+view.h,_138.charAt(0)=="T"?(_13f+mb.h):pos.y),_140=endX-_13e,_141=endY-_13f;_139+=(mb.w-_140)+(mb.h-_141);if(best==null||_139<best.overflow){best={corner:_138,aroundCorner:_137.aroundCorner,x:_13e,y:_13f,w:_140,h:_141,overflow:_139,spaceAvailable:_13a};}return !_139;});if(best.overflow&&_135){_135(node,best.aroundCorner,best.corner,best.spaceAvailable,_136);}var l=dojo._isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};dijit.placeOnScreenAroundNode=function(node,_142,_143,_144){_142=dojo.byId(_142);var _145=dojo.position(_142,true);return dijit._placeOnScreenAroundRect(node,_145.x,_145.y,_145.w,_145.h,_143,_144);};dijit.placeOnScreenAroundRectangle=function(node,_146,_147,_148){return dijit._placeOnScreenAroundRect(node,_146.x,_146.y,_146.width,_146.height,_147,_148);};dijit._placeOnScreenAroundRect=function(node,x,y,_149,_14a,_14b,_14c){var _14d=[];for(var _14e in _14b){_14d.push({aroundCorner:_14e,corner:_14b[_14e],pos:{x:x+(_14e.charAt(1)=="L"?0:_149),y:y+(_14e.charAt(0)=="T"?0:_14a)}});}return dijit._place(node,_14d,_14c,{w:_149,h:_14a});};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_14f,_150,_151){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_152,_153){var _154={};dojo.forEach(_152,function(pos){switch(pos){case "after":_154[_153?"BR":"BL"]=_153?"BL":"BR";break;case "before":_154[_153?"BL":"BR"]=_153?"BR":"BL";break;case "below-alt":_153=!_153;case "below":_154[_153?"BL":"BR"]=_153?"TL":"TR";_154[_153?"BR":"BL"]=_153?"TR":"TL";break;case "above-alt":_153=!_153;case "above":default:_154[_153?"TL":"TR"]=_153?"BL":"BR";_154[_153?"TR":"TL"]=_153?"BR":"BL";break;}});return _154;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_155){var node=_155.domNode||_155,_156=_155.declaredClass?_155._popupWrapper:node.parentNode&&dojo.hasClass(node.parentNode,"dijitPopup")?node.parentNode:null;if(!_156){_156=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_156.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_155.declaredClass){_155._popupWrapper=_156;dojo.connect(_155,"destroy",function(){dojo.destroy(_156);delete _155._popupWrapper;});}}return _156;},moveOffScreen:function(_157){var _158=this._createWrapper(_157);dojo.style(_158,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_159){var _15a=this._createWrapper(_159);dojo.style(_15a,"display","none");},getTopPopup:function(){var _15b=this._stack;for(var pi=_15b.length-1;pi>0&&_15b[pi].parent===_15b[pi-1].widget;pi--){}return _15b[pi];},open:function(args){var _15c=this._stack,_15d=args.popup,_15e=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_15f=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_15c.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_15c[_15c.length-1].widget.domNode))){dijit.popup.close(_15c[_15c.length-1].widget);}var _160=this._createWrapper(_15d);dojo.attr(_160,{id:id,style:{zIndex:this._beginZIndex+_15c.length},"class":"dijitPopup "+(_15d.baseClass||_15d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_15d.bgIframe){_15d.bgIframe=new dijit.BackgroundIframe(_160);}}var best=_15f?dijit.placeOnScreenAroundElement(_160,_15f,_15e,_15d.orient?dojo.hitch(_15d,"orient"):null):dijit.placeOnScreen(_160,args,_15e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_160.style.display="";_160.style.visibility="visible";_15d.domNode.style.visibility="visible";var _161=[];_161.push(dojo.connect(_160,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _162=this.getTopPopup();if(_162&&_162.onCancel){_162.onCancel();}}}}));if(_15d.onCancel){_161.push(dojo.connect(_15d,"onCancel",args.onCancel));}_161.push(dojo.connect(_15d,_15d.onExecute?"onExecute":"onChange",this,function(){var _163=this.getTopPopup();if(_163&&_163.onExecute){_163.onExecute();}}));_15c.push({widget:_15d,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_161});if(_15d.onOpen){_15d.onOpen(best);}return best;},close:function(_164){var _165=this._stack;while((_164&&dojo.some(_165,function(elem){return elem.widget==_164;}))||(!_164&&_165.length)){var top=_165.pop(),_166=top.widget,_167=top.onClose;if(_166.onClose){_166.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_166&&_166.domNode){this.hide(_166);}if(_167){_167();}}}};dijit._frames=new function(){var _168=[];this.pop=function(){var _169;if(_168.length){_169=_168.pop();_169.style.display="";}else{if(dojo.isIE<9){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_169=dojo.doc.createElement(html);}else{_169=dojo.create("iframe");_169.src="javascript:\"\"";_169.className="dijitBackgroundIframe";dojo.style(_169,"opacity",0.1);}_169.tabIndex=-1;dijit.setWaiRole(_169,"presentation");}return _169;};this.push=function(_16a){_16a.style.display="none";_168.push(_16a);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _16b=(this.iframe=dijit._frames.pop());node.appendChild(_16b);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_16b,{width:"100%",height:"100%"});}}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_16c=d.isOpera,maj=Math.floor,ff=d.isFF,_16d=d.boxModel.replace(/-/,""),_16e={dj_quirks:d.isQuirks,dj_opera:_16c,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla};if(ie){_16e["dj_ie"]=true;_16e["dj_ie"+maj(ie)]=true;_16e["dj_iequirks"]=d.isQuirks;}if(ff){_16e["dj_ff"+maj(ff)]=true;}_16e["dj_"+_16d]=true;var _16f="";for(var clz in _16e){if(_16e[clz]){_16f+=clz+" ";}}html.className=d.trim(html.className+" "+_16f);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _170="dj_rtl dijitRtl "+_16f.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_170);}});})();}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_171,node,_172,obj,_173,_174,_175){if(obj!=this._obj){this.stop();this._initialDelay=_174||500;this._subsequentDelay=_173||0.9;this._minDelay=_175||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_171,_172);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_176,_177,_178,_179,_17a,_17b){if(_176.keyCode){_176.charOrCode=_176.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_176.charCode){_176.charOrCode=String.fromCharCode(_176.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_176.charOrCode&&(_176.ctrlKey===undefined||_176.ctrlKey==evt.ctrlKey)&&(_176.altKey===undefined||_176.altKey==evt.altKey)&&(_176.metaKey===undefined||_176.metaKey==(evt.metaKey||false))&&(_176.shiftKey===undefined||_176.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_177,node,_178,_176,_179,_17a,_17b);}else{if(dijit.typematic._obj==_176){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_176){dijit.typematic.stop();}})];},addMouseListener:function(node,_17c,_17d,_17e,_17f,_180){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_17c,node,_17d,node,_17e,_17f,_180);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE<9){dijit.typematic.trigger(evt,_17c,node,_17d,node,_17e,_17f,_180);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_181,_182,_183,_184,_185,_186,_187,_188){return this.addKeyListener(_182,_183,_184,_185,_186,_187,_188).concat(this.addMouseListener(_181,_184,_185,_186,_187,_188));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _189=cs.backgroundImage;var _18a=(cs.borderTopColor==cs.borderRightColor)||(_189!=null&&(_189=="none"||_189=="url(invalid-url:)"));dojo[_18a?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem,role){var _18b=this.getWaiRole(elem);return role?(_18b.indexOf(role)>-1):(_18b.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){dojo.attr(elem,"role",role);},removeWaiRole:function(elem,role){var _18c=dojo.attr(elem,"role");if(!_18c){return;}if(role){var t=dojo.trim((" "+_18c+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_18d){return elem.hasAttribute?elem.hasAttribute("aria-"+_18d):!!elem.getAttribute("aria-"+_18d);},getWaiState:function(elem,_18e){return elem.getAttribute("aria-"+_18e)||"";},setWaiState:function(elem,_18f,_190){elem.setAttribute("aria-"+_18f,_190);},removeWaiState:function(elem,_191){elem.removeAttribute("aria-"+_191);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.connect(dojo,"_connect",function(_192,_193){if(_192&&dojo.isFunction(_192._onConnect)){_192._onConnect(_193);}});dijit._connectOnUseEventHandler=function(_194){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _195=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_195);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_195);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){dojo.declare("dijit._Widget",dijit._WidgetBase,{_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,create:function(_196,_197){this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}this.inherited(arguments);if(this.domNode){for(attr in this.params){this._onConnect(attr);}}},_onConnect:function(_198){if(_198 in this._deferredConnects){var _199=this[this._deferredConnects[_198]||"domNode"];this.connect(_199,_198.toLowerCase(),_198);delete this._deferredConnects[_198];}},focused:false,isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_19a){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_19a);},attr:function(name,_19b){if(dojo.config.isDebug){var _19c=arguments.callee._ach||(arguments.callee._ach={}),_19d=(arguments.callee.caller||"unknown caller").toString();if(!_19c[_19d]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_19d,"","2.0");_19c[_19d]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},nodesWithKeyClick:["input","button"],connect:function(obj,_19e,_19f){var d=dojo,dc=d._connect,_1a0=this.inherited(arguments,[obj,_19e=="ondijitclick"?"onclick":_19e,_19f]);if(_19e=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_19f);_1a0.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;if(!("openDropDown" in this&&obj==this._buttonNode)){e.preventDefault();}}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target==dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}}return _1a0;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.getObject("string",true,dojo);dojo.string.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("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_1a1,map,_1a2,_1a3){_1a3=_1a3||dojo.global;_1a2=_1a2?dojo.hitch(_1a3,_1a2):function(v){return v;};return _1a1.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1a4,key,_1a5){var _1a6=dojo.getObject(key,false,map);if(_1a5){_1a6=dojo.getObject(_1a5,false,_1a3).call(_1a3,_1a6,key);}return _1a2(_1a6,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.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;};}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");var cache={};dojo.cache=function(_1a7,url,_1a8){if(typeof _1a7=="string"){var _1a9=dojo.moduleUrl(_1a7,url);}else{_1a9=_1a7;_1a8=url;}var key=_1a9.toString();var val=_1a8;if(_1a8!=undefined&&!dojo.isString(_1a8)){val=("value" in _1a8?_1a8.value:undefined);}var _1aa=_1a8&&_1a8.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_1aa?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_1aa?dojo.cache._sanitize(val):val;}val=cache[key];}}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1ab=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1ab){val=_1ab[1];}}else{val="";}return val;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _1ac=this.declaredClass,_1ad=this;return dojo.string.substitute(tmpl,this,function(_1ae,key){if(key.charAt(0)=="!"){_1ae=dojo.getObject(key.substr(1),false,_1ad);}if(typeof _1ae=="undefined"){throw new Error(_1ac+" template:"+key);}if(_1ae==null){return "";}return key.charAt(0)=="!"?_1ae:_1ae.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _1af=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_1af)){node=dojo._toDom(this._stringRepl(_1af));if(node.nodeType!=1){throw new Error("Invalid template: "+_1af);}}else{node=_1af.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node);if(this.widgetsInTemplate){var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang},propsThis:this,scope:"dojo"}));this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_1b0){var dest=this.containerNode;if(_1b0&&dest){while(_1b0.hasChildNodes()){dest.appendChild(_1b0.firstChild);}}},_attachTemplateNodes:function(_1b1,_1b2){_1b2=_1b2||function(n,p){return n.getAttribute(p);};var _1b3=dojo.isArray(_1b1)?_1b1:(_1b1.all||_1b1.getElementsByTagName("*"));var x=dojo.isArray(_1b1)?0:-1;for(;x<_1b3.length;x++){var _1b4=(x==-1)?_1b1:_1b3[x];if(this.widgetsInTemplate&&(_1b2(_1b4,"dojoType")||_1b2(_1b4,"data-dojo-type"))){continue;}var _1b5=_1b2(_1b4,"dojoAttachPoint")||_1b2(_1b4,"data-dojo-attach-point");if(_1b5){var _1b6,_1b7=_1b5.split(/\s*,\s*/);while((_1b6=_1b7.shift())){if(dojo.isArray(this[_1b6])){this[_1b6].push(_1b4);}else{this[_1b6]=_1b4;}this._attachPoints.push(_1b6);}}var _1b8=_1b2(_1b4,"dojoAttachEvent")||_1b2(_1b4,"data-dojo-attach-event");if(_1b8){var _1b9,_1ba=_1b8.split(/\s*,\s*/);var trim=dojo.trim;while((_1b9=_1ba.shift())){if(_1b9){var _1bb=null;if(_1b9.indexOf(":")!=-1){var _1bc=_1b9.split(":");_1b9=trim(_1bc[0]);_1bb=trim(_1bc[1]);}else{_1b9=trim(_1b9);}if(!_1bb){_1bb=_1b9;}this._attachEvents.push(this.connect(_1b4,_1b9,_1bb));}}}var role=_1b2(_1b4,"waiRole");if(role){dijit.setWaiRole(_1b4,role);}var _1bd=_1b2(_1b4,"waiState");if(_1bd){dojo.forEach(_1bd.split(/\s*,\s*/),function(_1be){if(_1be.indexOf("-")!=-1){var pair=_1be.split("-");dijit.setWaiState(_1b4,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_1bf){delete this[_1bf];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1c0,_1c1,_1c2){var _1c3=dijit._Templated._templateCache;var key=_1c1||_1c0;var _1c4=_1c3[key];if(_1c4){try{if(!_1c4.ownerDocument||_1c4.ownerDocument==dojo.doc){return _1c4;}}catch(e){}dojo.destroy(_1c4);}if(!_1c1){_1c1=dojo.cache(_1c0,{sanitize:true});}_1c1=dojo.string.trim(_1c1);if(_1c2||_1c1.match(/\$\{([^\}]+)\}/g)){return (_1c3[key]=_1c1);}else{var node=dojo._toDom(_1c1);if(node.nodeType!=1){throw new Error("Invalid template: "+_1c1);}return (_1c3[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1c5=dijit._Templated._templateCache;for(var key in _1c5){var _1c6=_1c5[key];if(typeof _1c6=="object"){dojo.destroy(_1c6);}delete _1c5[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._CssStateMixin"]){dojo._hasResource["dijit._CssStateMixin"]=true;dojo.provide("dijit._CssStateMixin");dojo.declare("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);dojo.forEach(["onmouseenter","onmouseleave","onmousedown"],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);dojo.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,dojo.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_1c7){if(!this.disabled){switch(_1c7.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":this._set("active",true);this._mouseDown=true;var _1c8=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_1c8);});break;}}},_setStateClass:function(){var _1c9=this.baseClass.split(" ");function _1ca(_1cb){_1c9=_1c9.concat(dojo.map(_1c9,function(c){return c+_1cb;}),"dijit"+_1cb);};if(!this.isLeftToRight()){_1ca("Rtl");}if(this.checked){_1ca("Checked");}if(this.state){_1ca(this.state);}if(this.selected){_1ca("Selected");}if(this.disabled){_1ca("Disabled");}else{if(this.readOnly){_1ca("ReadOnly");}else{if(this.active){_1ca("Active");}else{if(this.hovering){_1ca("Hover");}}}}if(this._focused){_1ca("Focused");}var tn=this.stateNode||this.domNode,_1cc={};dojo.forEach(tn.className.split(" "),function(c){_1cc[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _1cc[c];});}dojo.forEach(_1c9,function(c){_1cc[c]=true;});var _1cd=[];for(var c in _1cc){_1cd.push(c);}tn.className=_1cd.join(" ");this._stateClasses=_1c9;},_trackMouseState:function(node,_1ce){var _1cf=false,_1d0=false,_1d1=false;var self=this,cn=dojo.hitch(this,"connect",node);function _1d2(){var _1d3=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_1ce+"Hover",_1cf&&!_1d0&&!_1d3);dojo.toggleClass(node,_1ce+"Active",_1d0&&!_1d3);dojo.toggleClass(node,_1ce+"Focused",_1d1&&!_1d3);};cn("onmouseenter",function(){_1cf=true;_1d2();});cn("onmouseleave",function(){_1cf=false;_1d0=false;_1d2();});cn("onmousedown",function(){_1d0=true;_1d2();});cn("onmouseup",function(){_1d0=false;_1d2();});cn("onfocus",function(){_1d1=true;_1d2();});cn("onblur",function(){_1d1=false;_1d2();});this.watch("disabled",_1d2);this.watch("readOnly",_1d2);}});}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_1d4){this._set("disabled",_1d4);dojo.attr(this.focusNode,"disabled",_1d4);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_1d4);}dijit.setWaiState(this.focusNode,"disabled",_1d4);if(_1d4){this._set("hovering",false);this._set("active",false);var _1d5="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_1d5)?_1d5:[_1d5],function(_1d6){var node=this[_1d6];if(dojo.isWebKit||dijit.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.focusNode.setAttribute("tabIndex",this.tabIndex);}}},setDisabled:function(_1d7){dojo.deprecated("setDisabled("+_1d7+") is deprecated. Use set('disabled',"+_1d7+") instead.","","2.0");this.set("disabled",_1d7);},_onFocus:function(e){if(this.scrollOnFocus){dojo.window.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){if(!this.disabled){dijit.focus(this.focusNode);}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_1d8){},_onChangeActive:false,_handleOnChange:function(_1d9,_1da){if(this._lastValueReported==undefined&&(_1da===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1d9;}this._pendingOnChange=this._pendingOnChange||(typeof _1d9!=typeof this._lastValueReported)||(this.compare(_1d9,this._lastValueReported)!=0);if((this.intermediateChanges||_1da||_1da===undefined)&&this._pendingOnChange){this._lastValueReported=_1d9;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1d9);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},setValue:function(_1db){dojo.deprecated("dijit.form._FormWidget:setValue("+_1db+") is deprecated.  Use set('value',"+_1db+") instead.","","2.0");this.set("value",_1db);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_onMouseDown:function(e){if(!e.ctrlKey&&dojo.mouseButtons.isLeft(e)&&this.isFocusable()){var _1dc=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1dc);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1dd){dojo.attr(this.focusNode,"readOnly",_1dd);dijit.setWaiState(this.focusNode,"readonly",_1dd);this._set("readOnly",_1dd);},postCreate:function(){this.inherited(arguments);if(dojo.isIE<9||(dojo.isIE&&dojo.isQuirks)){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_1de,_1df){this._handleOnChange(_1de,_1df);},_handleOnChange:function(_1e0,_1e1){this._set("value",_1e0);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}},_layoutHackIE7:function(){if(dojo.isIE==7){var _1e2=this.domNode;var _1e3=_1e2.parentNode;var _1e4=_1e2.firstChild||_1e2;var _1e5=_1e4.style.filter;var _1e6=this;while(_1e3&&_1e3.clientHeight==0){(function ping(){var _1e7=_1e6.connect(_1e3,"onscroll",function(e){_1e6.disconnect(_1e7);_1e4.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1e4.style.filter=_1e5;},0);});})();_1e3=_1e3.parentNode;}}}});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_1e8,_1e9){var _1ea=this.containerNode;if(_1e9&&typeof _1e9=="number"){var _1eb=this.getChildren();if(_1eb&&_1eb.length>=_1e9){_1ea=_1eb[_1e9-1].domNode;_1e9="after";}}dojo.place(_1e8.domNode,_1ea,_1e9);if(this._started&&!_1e8._started){_1e8.startup();}},removeChild:function(_1ec){if(typeof _1ec=="number"){_1ec=this.getChildren()[_1ec];}if(_1ec){var node=_1ec.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_1ed){dojo.forEach(this.getChildren(),function(_1ee){_1ee.destroyRecursive(_1ed);});},_getSiblingOfChild:function(_1ef,dir){var node=_1ef.domNode,_1f0=(dir>0?"nextSibling":"previousSibling");do{node=node[_1f0];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_1f1){return dojo.indexOf(this.getChildren(),_1f1);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_1f2){_1f2.startup();});this.inherited(arguments);}});}if(!dojo._hasResource["dijit._HasDropDown"]){dojo._hasResource["dijit._HasDropDown"]=true;dojo.provide("dijit._HasDropDown");dojo.declare("dijit._HasDropDown",null,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(dojo.doc,"onmouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _1f3=this.dropDown,_1f4=false;if(e&&this._opened){var c=dojo.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_1f4){if(dojo.hasClass(t,"dijitPopup")){_1f4=true;}else{t=t.parentNode;}}if(_1f4){t=e.target;if(_1f3.onItemClick){var _1f5;while(t&&!(_1f5=dijit.byNode(t))){t=t.parentNode;}if(_1f5&&_1f5.onClick&&_1f5.getParent){_1f5.getParent().onItemClick(_1f5,e);}}return;}}}if(this._opened&&_1f3.focus&&_1f3.autoFocus!==false){window.setTimeout(dojo.hitch(_1f3,"focus"),1);}},_onDropDownClick:function(e){if(this._stopClickEvents){dojo.stopEvent(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _1f6={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";dojo.addClass(this._arrowWrapperNode||this._buttonNode,"dijit"+_1f6+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,"onmousedown","_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_1f7=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){dojo.stopEvent(e);return;}}if(d&&this._opened&&e.charOrCode==dojo.keys.ESCAPE){this.closeDropDown();dojo.stopEvent(e);}else{if(!this._opened&&(e.charOrCode==dojo.keys.DOWN_ARROW||((e.charOrCode==dojo.keys.ENTER||e.charOrCode==" ")&&((_1f7.tagName||"").toLowerCase()!=="input"||(_1f7.type&&_1f7.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;dojo.stopEvent(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(dojo.hitch(d,"focus"),1);}}},_onBlur:function(){var _1f8=dijit._curFocus&&this.dropDown&&dojo.isDescendant(dijit._curFocus,this.dropDown.domNode);this.closeDropDown(_1f8);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_1f9){_1f9();},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){if(!this.isLoaded()){this.loadDropDown(dojo.hitch(this,"openDropDown"));return;}else{this.openDropDown();}}else{this.closeDropDown();}},openDropDown:function(){var _1fa=this.dropDown,_1fb=_1fa.domNode,_1fc=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_1fb.style.width){this._explicitDDWidth=true;}if(_1fb.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _1fd={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_1fd.width="";}if(!this._explicitDDHeight){_1fd.height="";}dojo.style(_1fb,_1fd);var _1fe=this.maxHeight;if(_1fe==-1){var _1ff=dojo.window.getBox(),_200=dojo.position(_1fc,false);_1fe=Math.floor(Math.max(_200.y,_1ff.h-(_200.y+_200.h)));}if(_1fa.startup&&!_1fa._started){_1fa.startup();}dijit.popup.moveOffScreen(_1fa);var mb=dojo._getMarginSize(_1fb);var _201=(_1fe&&mb.h>_1fe);dojo.style(_1fb,{overflowX:"hidden",overflowY:_201?"auto":"hidden"});if(_201){mb.h=_1fe;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_1fc.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_1fc.offsetWidth);}else{delete mb.w;}}if(dojo.isFunction(_1fa.resize)){_1fa.resize(mb);}else{dojo.marginBox(_1fb,mb);}}var _202=dijit.popup.open({parent:this,popup:_1fa,around:_1fc,orient:dijit.getPopupAroundAlignment((this.dropDownPosition&&this.dropDownPosition.length)?this.dropDownPosition:["below"],this.isLeftToRight()),onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){dojo.attr(self._popupStateNode,"popupActive",false);dojo.removeClass(self._popupStateNode,"dijitHasDropDownOpen");self._opened=false;}});dojo.attr(this._popupStateNode,"popupActive","true");dojo.addClass(self._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _202;},closeDropDown:function(_203){if(this._opened){if(_203){this.focus();}dijit.popup.close(this.dropDown);this._opened=false;}}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:dojo.cache("dijit.form","templates/Button.html","<span class=\"dijit dijitReset dijitInline\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" dojoAttachPoint=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdojoAttachPoint=\"valueNode\"\n/></span>\n"),attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"valueNode"}),_onClick:function(e){if(this.disabled){return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(this._onClick(e)===false){e.preventDefault();}else{if(this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _204=dijit.byNode(node);if(_204&&typeof _204._onSubmit=="function"){_204._onSubmit(e);break;}}}else{if(this.valueNode){this.valueNode.click();e.preventDefault();}}}},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(_205){if(_205&&(!this.params||!("label" in this.params))){this.set("label",_205.innerHTML);}},_setShowLabelAttr:function(val){if(this.containerNode){dojo.toggleClass(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_206){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_206);},_setLabelAttr:function(_207){this._set("label",_207);this.containerNode.innerHTML=_207;if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},_setIconClassAttr:function(val){var _208=this.iconClass||"dijitNoIcon",_209=val||"dijitNoIcon";dojo.replaceClass(this.iconNode,_209,_208);this._set("iconClass",val);}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container,dijit._HasDropDown],{baseClass:"dijitDropDownButton",templateString:dojo.cache("dijit.form","templates/DropDownButton.html","<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick\" dojoAttachPoint=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdojoAttachPoint=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdojoAttachPoint=\"valueNode\"\n/></span>\n"),_fillContent:function(){if(this.srcNodeRef){var _20a=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_20a[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _20b=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_20b);delete this.dropDownContainer;}if(this.dropDown){dijit.popup.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _20c=this.dropDown;return (!!_20c&&(!_20c.href||_20c.isLoaded));},loadDropDown:function(){var _20d=this.dropDown;if(!_20d){return;}if(!this.isLoaded()){var _20e=dojo.connect(_20d,"onLoad",this,function(){dojo.disconnect(_20e);this.openDropDown();});_20d.refresh();}else{this.openDropDown();}},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:dojo.cache("dijit.form","templates/ComboButton.html","<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" dojoAttachPoint=\"buttonNode\" dojoAttachEvent=\"ondijitclick:_onButtonClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" dojoAttachPoint=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdojoAttachPoint=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdojoAttachEvent=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" dojoAttachPoint=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n"),attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",tabIndex:["focusNode","titleNode"],title:"titleNode"}),optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){dijit.focus(this._popupStateNode);dojo.stopEvent(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){dijit.focus(this.titleNode);dojo.stopEvent(evt);}},focus:function(_20f){if(!this.disabled){dijit.focus(_20f=="start"?this.titleNode:this._popupStateNode);}}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.set("checked",!this.checked);},_setCheckedAttr:function(_210,_211){this._set("checked",_210);dojo.attr(this.focusNode||this.domNode,"checked",_210);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_210);this._handleOnChange(_210,_211);},setChecked:function(_212){dojo.deprecated("setChecked("+_212+") is deprecated. Use set('checked',"+_212+") instead.","","2.0");this.set("checked",_212);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.getObject("i18n",true,dojo);dojo.i18n.getLocalization=dojo.i18n.getLocalization||function(_213,_214,_215){_215=dojo.i18n.normalizeLocale(_215);var _216=_215.split("-");var _217=[_213,"nls",_214].join(".");var _218=dojo._loadedModules[_217];if(_218){var _219;for(var i=_216.length;i>0;i--){var loc=_216.slice(0,i).join("_");if(_218[loc]){_219=_218[loc];break;}}if(!_219){_219=_218.ROOT;}if(_219){var _21a=function(){};_21a.prototype=_219;return new _21a();}}throw new Error("Bundle not found: "+_214+" in "+_213+" , locale="+_215);};dojo.i18n.normalizeLocale=function(_21b){var _21c=(_21b?_21b:dojo.locale).toLowerCase();if(_21c=="root"){_21c="ROOT";}return _21c;};dojo.i18n._requireLocalization=function(_21d,_21e,_21f,_220){var _221=dojo.i18n.normalizeLocale(_21f);var _222=[_21d,"nls",_21e].join(".");var _223="";if(_220){var _224=_220.split(",");for(var i=0;i<_224.length;i++){if(_221["indexOf"](_224[i])==0){if(_224[i].length>_223.length){_223=_224[i];}}}if(!_223){_223="ROOT";}}var _225=_220?_223:_221;var _226=dojo._loadedModules[_222];var _227=null;if(_226){if(dojo.config.localizationComplete&&_226._built){return;}var _228=_225.replace(/-/g,"_");var _229=_222+"."+_228;_227=dojo._loadedModules[_229];}if(!_227){_226=dojo["provide"](_222);var syms=dojo._getModuleSymbols(_21d);var _22a=syms.concat("nls").join("/");var _22b;dojo.i18n._searchLocalePath(_225,_220,function(loc){var _22c=loc.replace(/-/g,"_");var _22d=_222+"."+_22c;var _22e=false;if(!dojo._loadedModules[_22d]){dojo["provide"](_22d);var _22f=[_22a];if(loc!="ROOT"){_22f.push(loc);}_22f.push(_21e);var _230=_22f.join("/")+".js";_22e=dojo._loadPath(_230,null,function(hash){hash=hash.root||hash;var _231=function(){};_231.prototype=_22b;_226[_22c]=new _231();for(var j in hash){_226[_22c][j]=hash[j];}});}else{_22e=true;}if(_22e&&_226[_22c]){_22b=_226[_22c];}else{_226[_22c]=_22b;}if(_220){return true;}});}if(_220&&_221!=_223){_226[_221.replace(/-/g,"_")]=_226[_223.replace(/-/g,"_")];}};(function(){var _232=dojo.config.extraLocale;if(_232){if(!_232 instanceof Array){_232=[_232];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_233,_234){req(m,b,_233,_234);if(_233){return;}for(var i=0;i<_232.length;i++){req(m,b,_232[i],_234);}};}})();dojo.i18n._searchLocalePath=function(_235,down,_236){_235=dojo.i18n.normalizeLocale(_235);var _237=_235.split("-");var _238=[];for(var i=_237.length;i>0;i--){_238.push(_237.slice(0,i).join("-"));}_238.push(false);if(down){_238.reverse();}for(var j=_238.length-1;j>=0;j--){var loc=_238[j]||"ROOT";var stop=_236(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_239,_23a){function _23b(_23c){_23c=dojo.i18n.normalizeLocale(_23c);dojo.i18n._searchLocalePath(_23c,true,function(loc){for(var i=0;i<_23a.length;i++){if(_23a[i]==loc){dojo["require"](_239+"_"+loc);return true;}}return false;});};_23b();var _23d=dojo.config.extraLocale||[];for(var i=0;i<_23d.length;i++){_23b(_23d[i]);}};}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_23e){var _23f={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,sy:6,tn:6,ye:6,ar:0,as:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,il:0,"in":0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mn:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,zw:0};var _240=dojo.cldr.supplemental._region(_23e);var dow=_23f[_240];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_241){_241=dojo.i18n.normalizeLocale(_241);var tags=_241.split("-");var _242=tags[1];if(!_242){_242={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_242.length==4){_242=tags[2];}}return _242;};dojo.cldr.supplemental.getWeekend=function(_243){var _244={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5};var _245={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6};var _246=dojo.cldr.supplemental._region(_243);var _247=_244[_246];var end=_245[_246];if(_247===undefined){_247=6;}if(end===undefined){end=0;}return {start:_247,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_248){var _249=_248.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_249==1&&dojo.date.isLeapYear(_248)){return 29;}return days[_249];};dojo.date.isLeapYear=function(_24a){var year=_24a.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_24b){var str=_24b.toString();var tz="";var _24c;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_24c=str.match(pat))){tz=_24c[1];}else{str=_24b.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_24c=str.match(pat))){tz=_24c[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_24d,_24e,_24f){_24d=new Date(+_24d);_24e=new Date(+(_24e||new Date()));if(_24f=="date"){_24d.setHours(0,0,0,0);_24e.setHours(0,0,0,0);}else{if(_24f=="time"){_24d.setFullYear(0,0,0);_24e.setFullYear(0,0,0);}}if(_24d>_24e){return 1;}if(_24d<_24e){return -1;}return 0;};dojo.date.add=function(date,_250,_251){var sum=new Date(+date);var _252=false;var _253="Date";switch(_250){case "day":break;case "weekday":var days,_254;var mod=_251%5;if(!mod){days=(_251>0)?5:-5;_254=(_251>0)?((_251-5)/5):((_251+5)/5);}else{days=mod;_254=parseInt(_251/5);}var strt=date.getDay();var adj=0;if(strt==6&&_251>0){adj=1;}else{if(strt==0&&_251<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_251>0)?2:-2;}_251=(7*_254)+days+adj;break;case "year":_253="FullYear";_252=true;break;case "week":_251*=7;break;case "quarter":_251*=3;case "month":_252=true;_253="Month";break;default:_253="UTC"+_250.charAt(0).toUpperCase()+_250.substring(1)+"s";}if(_253){sum["set"+_253](sum["get"+_253]()+_251);}if(_252&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_255,_256,_257){_256=_256||new Date();_257=_257||"day";var _258=_256.getFullYear()-_255.getFullYear();var _259=1;switch(_257){case "quarter":var m1=_255.getMonth();var m2=_256.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_258*4);_259=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_255,_256,"day"));var _25a=parseInt(dojo.date.difference(_255,_256,"week"));var mod=days%7;if(mod==0){days=_25a*5;}else{var adj=0;var aDay=_255.getDay();var bDay=_256.getDay();_25a=parseInt(days/7);mod=days%7;var _25b=new Date(_255);_25b.setDate(_25b.getDate()+(_25a*7));var _25c=_25b.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_25c+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_25c+mod)<0:adj=2;}}}days+=adj;days-=(_25a*2);}_259=days;break;case "year":_259=_258;break;case "month":_259=(_256.getMonth()-_255.getMonth())+(_258*12);break;case "week":_259=parseInt(dojo.date.difference(_255,_256,"day")/7);break;case "day":_259/=24;case "hour":_259/=60;case "minute":_259/=60;case "second":_259/=1000;case "millisecond":_259*=_256.getTime()-_255.getTime();}return Math.round(_259);};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_25d){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_25d&&_25d.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_25e){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_25e);};dojo.regexp.group=function(_25f,_260){return "("+(_260?"?:":"")+_25f+")";};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");dojo.getObject("date.locale",true,dojo);(function(){function _261(_262,_263,_264,_265){return _265.replace(/([a-z])\1*/ig,function(_266){var s,pad,c=_266.charAt(0),l=_266.length,_267=["abbr","wide","narrow"];switch(c){case "G":s=_263[(l<4)?"eraAbbr":"eraNames"][_262.getFullYear()<0?0:1];break;case "y":s=_262.getFullYear();switch(l){case 1:break;case 2:if(!_264.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_262.getMonth()+1)/3);pad=true;break;case "M":var m=_262.getMonth();if(l<3){s=m+1;pad=true;}else{var _268=["months","format",_267[l-3]].join("-");s=_263[_268][m];}break;case "w":var _269=0;s=dojo.date.locale._getWeekOfYear(_262,_269);pad=true;break;case "d":s=_262.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_262);pad=true;break;case "E":var d=_262.getDay();if(l<3){s=d+1;pad=true;}else{var _26a=["days","format",_267[l-3]].join("-");s=_263[_26a][d];}break;case "a":var _26b=(_262.getHours()<12)?"am":"pm";s=_264[_26b]||_263["dayPeriods-format-wide-"+_26b];break;case "h":case "H":case "K":case "k":var h=_262.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_262.getMinutes();pad=true;break;case "s":s=_262.getSeconds();pad=true;break;case "S":s=Math.round(_262.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_262,true,_264);if(s){break;}l=4;case "Z":var _26c=dojo.date.locale._getZone(_262,false,_264);var tz=[(_26c<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_26c)/60),2),dojo.string.pad(Math.abs(_26c)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_265);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_26d,_26e,_26f){if(_26e){return dojo.date.getTimezoneName(_26d);}else{return _26d.getTimezoneOffset();}};dojo.date.locale.format=function(_270,_271){_271=_271||{};var _272=dojo.i18n.normalizeLocale(_271.locale),_273=_271.formatLength||"short",_274=dojo.date.locale._getGregorianBundle(_272),str=[],_275=dojo.hitch(this,_261,_270,_274,_271);if(_271.selector=="year"){return _276(_274["dateFormatItem-yyyy"]||"yyyy",_275);}var _277;if(_271.selector!="date"){_277=_271.timePattern||_274["timeFormat-"+_273];if(_277){str.push(_276(_277,_275));}}if(_271.selector!="time"){_277=_271.datePattern||_274["dateFormat-"+_273];if(_277){str.push(_276(_277,_275));}}return str.length==1?str[0]:_274["dateTimeFormat-"+_273].replace(/\{(\d+)\}/g,function(_278,key){return str[key];});};dojo.date.locale.regexp=function(_279){return dojo.date.locale._parseInfo(_279).regexp;};dojo.date.locale._parseInfo=function(_27a){_27a=_27a||{};var _27b=dojo.i18n.normalizeLocale(_27a.locale),_27c=dojo.date.locale._getGregorianBundle(_27b),_27d=_27a.formatLength||"short",_27e=_27a.datePattern||_27c["dateFormat-"+_27d],_27f=_27a.timePattern||_27c["timeFormat-"+_27d],_280;if(_27a.selector=="date"){_280=_27e;}else{if(_27a.selector=="time"){_280=_27f;}else{_280=_27c["dateTimeFormat-"+_27d].replace(/\{(\d+)\}/g,function(_281,key){return [_27f,_27e][key];});}}var _282=[],re=_276(_280,dojo.hitch(this,_283,_282,_27c,_27a));return {regexp:re,tokens:_282,bundle:_27c};};dojo.date.locale.parse=function(_284,_285){var _286=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_285),_287=info.tokens,_288=info.bundle,re=new RegExp("^"+info.regexp.replace(_286,"")+"$",info.strict?"":"i"),_289=re.exec(_284&&_284.replace(_286,""));if(!_289){return null;}var _28a=["abbr","wide","narrow"],_28b=[1970,0,1,0,0,0,0],amPm="",_28c=dojo.every(_289,function(v,i){if(!i){return true;}var _28d=_287[i-1];var l=_28d.length;switch(_28d.charAt(0)){case "y":if(l!=2&&_285.strict){_28b[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_28e=year.substring(0,2)*100,_28f=Math.min(Number(year.substring(2,4))+20,99),num=(v<_28f)?_28e+v:_28e-100+v;_28b[0]=num;}else{if(_285.strict){return false;}_28b[0]=v;}}break;case "M":if(l>2){var _290=_288["months-format-"+_28a[l-3]].concat();if(!_285.strict){v=v.replace(".","").toLowerCase();_290=dojo.map(_290,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_290,v);if(v==-1){return false;}}else{v--;}_28b[1]=v;break;case "E":case "e":var days=_288["days-format-"+_28a[l-3]].concat();if(!_285.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_28b[1]=0;case "d":_28b[2]=v;break;case "a":var am=_285.am||_288["dayPeriods-format-wide-am"],pm=_285.pm||_288["dayPeriods-format-wide-pm"];if(!_285.strict){var _291=/\./g;v=v.replace(_291,"").toLowerCase();am=am.replace(_291,"").toLowerCase();pm=pm.replace(_291,"").toLowerCase();}if(_285.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_28b[3]=v;break;case "m":_28b[4]=v;break;case "s":_28b[5]=v;break;case "S":_28b[6]=v;}return true;});var _292=+_28b[3];if(amPm==="p"&&_292<12){_28b[3]=_292+12;}else{if(amPm==="a"&&_292==12){_28b[3]=0;}}var _293=new Date(_28b[0],_28b[1],_28b[2],_28b[3],_28b[4],_28b[5],_28b[6]);if(_285.strict){_293.setFullYear(_28b[0]);}var _294=_287.join(""),_295=_294.indexOf("d")!=-1,_296=_294.indexOf("M")!=-1;if(!_28c||(_296&&_293.getMonth()>_28b[1])||(_295&&_293.getDate()>_28b[2])){return null;}if((_296&&_293.getMonth()<_28b[1])||(_295&&_293.getDate()<_28b[2])){_293=dojo.date.add(_293,"hour",1);}return _293;};function _276(_297,_298,_299,_29a){var _29b=function(x){return x;};_298=_298||_29b;_299=_299||_29b;_29a=_29a||_29b;var _29c=_297.match(/(''|[^'])+/g),_29d=_297.charAt(0)=="'";dojo.forEach(_29c,function(_29e,i){if(!_29e){_29c[i]="";}else{_29c[i]=(_29d?_299:_298)(_29e.replace(/''/g,"'"));_29d=!_29d;}});return _29a(_29c.join(""));};function _283(_29f,_2a0,_2a1,_2a2){_2a2=dojo.regexp.escapeString(_2a2);if(!_2a1.strict){_2a2=_2a2.replace(" a"," ?a");}return _2a2.replace(/([a-z])\1*/ig,function(_2a3){var s,c=_2a3.charAt(0),l=_2a3.length,p2="",p3="";if(_2a1.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p3+"[1-9][0-9]|"+p2+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":s="\\S+";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_2a1.am||_2a0["dayPeriods-format-wide-am"],pm=_2a1.pm||_2a0["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_2a1.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_29f){_29f.push(_2a3);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _2a4=[];dojo.date.locale.addCustomFormats=function(_2a5,_2a6){_2a4.push({pkg:_2a5,name:_2a6});};dojo.date.locale._getGregorianBundle=function(_2a7){var _2a8={};dojo.forEach(_2a4,function(desc){var _2a9=dojo.i18n.getLocalization(desc.pkg,desc.name,_2a7);_2a8=dojo.mixin(_2a8,_2a9);},this);return _2a8;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_2aa,_2ab){var _2ac,_2ad=dojo.date.locale._getGregorianBundle(_2ab),_2ae=[item,_2aa,type];if(_2aa=="standAlone"){var key=_2ae.join("-");_2ac=_2ad[key];if(_2ac[0]==1){_2ac=undefined;}}_2ae[1]="format";return (_2ac||_2ad[_2ae.join("-")]).concat();};dojo.date.locale.isWeekend=function(_2af,_2b0){var _2b1=dojo.cldr.supplemental.getWeekend(_2b0),day=(_2af||new Date()).getDay();if(_2b1.end<_2b1.start){_2b1.end+=7;if(day<_2b1.start){day+=7;}}return day>=_2b1.start&&day<=_2b1.end;};dojo.date.locale._getDayOfYear=function(_2b2){return dojo.date.difference(new Date(_2b2.getFullYear(),0,1,_2b2.getHours()),_2b2)+1;};dojo.date.locale._getWeekOfYear=function(_2b3,_2b4){if(arguments.length==1){_2b4=0;}var _2b5=new Date(_2b3.getFullYear(),0,1).getDay(),adj=(_2b5-_2b4+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_2b3)+adj-1)/7);if(_2b5==_2b4){week++;}return week;};}if(!dojo._hasResource["dijit.form.DropDownButton"]){dojo._hasResource["dijit.form.DropDownButton"]=true;dojo.provide("dijit.form.DropDownButton");}if(!dojo._hasResource["dijit.Calendar"]){dojo._hasResource["dijit.Calendar"]=true;dojo.provide("dijit.Calendar");dojo.declare("dijit.Calendar",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/Calendar.html","<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" dojoAttachEvent=\"onkeypress: _onKeyPress\" aria-labelledby=\"${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoType=\"dijit.form.DropDownButton\" dojoAttachPoint=\"monthDropDownButton\"\n\t\t\t\t\tid=\"${id}_mddb\" tabIndex=\"-1\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick, onmouseover: _onDayMouseOver, onmouseout: _onDayMouseOut, onmousedown: _onDayMouseDown, onmouseup: _onDayMouseUp\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\" role=\"gridcell\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n"),widgetsInTemplate:true,value:new Date(""),datePackage:"dojo.date",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},_isValidDate:function(_2b6){return _2b6&&!isNaN(_2b6)&&typeof _2b6=="object"&&_2b6.toString()!=this.constructor.prototype.value.toString();},setValue:function(_2b7){dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_2b7);},_getValueAttr:function(){var _2b8=new this.dateClassObj(this.value);_2b8.setHours(0,0,0,0);if(_2b8.getDate()<this.value.getDate()){_2b8=this.dateFuncObj.add(_2b8,"hour",1);}return _2b8;},_setValueAttr:function(_2b9,_2ba){if(_2b9){_2b9=new this.dateClassObj(_2b9);}if(this._isValidDate(_2b9)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_2b9,this.value)){_2b9.setHours(1,0,0,0);if(!this.isDisabledDate(_2b9,this.lang)){this._set("value",_2b9);this.set("currentFocus",_2b9);if(_2ba||typeof _2ba=="undefined"){this.onChange(this.get("value"));this.onValueSelected(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(dojo.doc.createTextNode(text));},_populateGrid:function(){var _2bb=new this.dateClassObj(this.currentFocus);_2bb.setDate(1);var _2bc=_2bb.getDay(),_2bd=this.dateFuncObj.getDaysInMonth(_2bb),_2be=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_2bb,"month",-1)),_2bf=new this.dateClassObj(),_2c0=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_2c0>_2bc){_2c0-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_2c1,i){i+=_2c0;var date=new this.dateClassObj(_2bb),_2c2,_2c3="dijitCalendar",adj=0;if(i<_2bc){_2c2=_2be-_2bc+i+1;adj=-1;_2c3+="Previous";}else{if(i>=(_2bc+_2bd)){_2c2=i-_2bc-_2bd+1;adj=1;_2c3+="Next";}else{_2c2=i-_2bc+1;_2c3+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_2c2);if(!this.dateFuncObj.compare(date,_2bf,"date")){_2c3="dijitCalendarCurrentDate "+_2c3;}if(this._isSelectedDate(date,this.lang)){_2c3="dijitCalendarSelectedDate "+_2c3;}if(this.isDisabledDate(date,this.lang)){_2c3="dijitCalendarDisabledDate "+_2c3;}var _2c4=this.getClassForDate(date,this.lang);if(_2c4){_2c3=_2c4+" "+_2c3;}_2c1.className=_2c3+"Month dijitCalendarDateTemplate";_2c1.dijitDateValue=date.valueOf();dojo.attr(_2c1,"dijitDateValue",date.valueOf());var _2c5=dojo.query(".dijitCalendarDateLabel",_2c1)[0],text=date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate();this._setText(_2c5,text);},this);var _2c6=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_2bb);this.monthDropDownButton.dropDown.set("months",_2c6);this.monthDropDownButton.containerNode.innerHTML=(dojo.isIE==6?"":"<div class='dijitSpacer'>"+this.monthDropDownButton.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_2c6[_2bb.getMonth()]+"</div>";var y=_2bb.getFullYear()-1;var d=new this.dateClassObj();dojo.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(args){var _2c7=(args.datePackage&&(args.datePackage!="dojo.date"))?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_2c7,false);this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=dojo.getObject(this.datePackage,false);this.dateLocaleModule=dojo.getObject(this.datePackage+".locale",false);},postMixInProperties:function(){if(isNaN(this.value)){delete this.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.domNode,false);var _2c8=dojo.hitch(this,function(_2c9,n){var _2ca=dojo.query(_2c9,this.domNode)[0];for(var i=0;i<n;i++){_2ca.parentNode.appendChild(_2ca.cloneNode(true));}});_2c8(".dijitCalendarDayLabelTemplate",6);_2c8(".dijitCalendarDateTemplate",6);_2c8(".dijitCalendarWeekTemplate",5);var _2cb=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang);var _2cc=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_2cd,i){this._setText(_2cd,_2cb[(i+_2cc)%7]);},this);var _2ce=new this.dateClassObj(this.currentFocus);this.monthDropDownButton.dropDown=new dijit.Calendar._MonthDropDown({id:this.id+"_mdd",onChange:dojo.hitch(this,"_onMonthSelect")});this.set("currentFocus",_2ce,false);var _2cf=this;var _2d0=function(_2d1,_2d2,adj){_2cf._connects.push(dijit.typematic.addMouseListener(_2cf[_2d1],_2cf,function(_2d3){if(_2d3>=0){_2cf._adjustDisplay(_2d2,adj);}},0.8,500));};_2d0("incrementMonth","month",1);_2d0("decrementMonth","month",-1);_2d0("nextYearLabelNode","year",1);_2d0("previousYearLabelNode","year",-1);},_adjustDisplay:function(part,_2d4){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_2d4));},_setCurrentFocusAttr:function(date,_2d5){var _2d6=this.currentFocus,_2d7=_2d6?dojo.query("[dijitDateValue="+_2d6.valueOf()+"]",this.domNode)[0]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _2d8=dojo.query("[dijitDateValue="+date.valueOf()+"]",this.domNode)[0];_2d8.setAttribute("tabIndex",this.tabIndex);if(this._focused||_2d5){_2d8.focus();}if(_2d7&&_2d7!=_2d8){if(dojo.isWebKit){_2d7.setAttribute("tabIndex","-1");}else{_2d7.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onMonthSelect:function(_2d9){this.currentFocus=this.dateFuncObj.add(this.currentFocus,"month",_2d9-this.currentFocus.getMonth());this._populateGrid();},_onDayClick:function(evt){dojo.stopEvent(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!dojo.hasClass(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_onDayMouseOver:function(evt){var node=dojo.hasClass(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&(node.dijitDateValue||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){dojo.addClass(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(dojo.hasClass(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}dojo.removeClass(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){dojo.addClass(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){dojo.removeClass(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var dk=dojo.keys,_2da=-1,_2db,_2dc=this.currentFocus;switch(evt.keyCode){case dk.RIGHT_ARROW:_2da=1;case dk.LEFT_ARROW:_2db="day";if(!this.isLeftToRight()){_2da*=-1;}break;case dk.DOWN_ARROW:_2da=1;case dk.UP_ARROW:_2db="week";break;case dk.PAGE_DOWN:_2da=1;case dk.PAGE_UP:_2db=evt.ctrlKey||evt.altKey?"year":"month";break;case dk.END:_2dc=this.dateFuncObj.add(_2dc,"month",1);_2db="day";case dk.HOME:_2dc=new this.dateClassObj(_2dc);_2dc.setDate(1);break;case dk.ENTER:case dk.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_2db){_2dc=this.dateFuncObj.add(_2dc,_2db,_2da);}this._setCurrentFocusAttr(_2dc);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){dojo.stopEvent(evt);}},onValueSelected:function(date){},onChange:function(date){},_isSelectedDate:function(_2dd,_2de){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_2dd,this.value,"date");},isDisabledDate:function(_2df,_2e0){},getClassForDate:function(_2e1,_2e2){}});dojo.declare("dijit.Calendar._MonthDropDown",[dijit._Widget,dijit._Templated],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"dojoAttachEvent='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_2e3){this.domNode.innerHTML=dojo.map(_2e3,function(_2e4,idx){return _2e4?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_2e4+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(dojo.attr(evt.target,"month"));},onChange:function(_2e5){},_onMenuHover:function(evt){dojo.toggleClass(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});}if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",templateString:dojo.cache("dijit.form","templates/TextBox.html","<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"),_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" dojoAttachPoint=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:dojo.isIE?"disabled":"",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==dijit.form.TextBox.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=dojo.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this._focused&&!this.textbox.value)?"":"none";}},_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_2e6,_2e7,_2e8){var _2e9;if(_2e6!==undefined){_2e9=this.filter(_2e6);if(typeof _2e8!="string"){if(_2e9!==null&&((typeof _2e9!="number")||!isNaN(_2e9))){_2e8=this.filter(this.format(_2e9,this.constraints));}else{_2e8="";}}}if(_2e8!=null&&_2e8!=undefined&&((typeof _2e8)!="number"||!isNaN(_2e8))&&this.textbox.value!=_2e8){this.textbox.value=_2e8;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_2e9,_2e7]);},displayedValue:"",getDisplayedValue:function(){dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},setDisplayedValue:function(_2ea){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_2ea);},_setDisplayedValueAttr:function(_2eb){if(_2eb===null||_2eb===undefined){_2eb="";}else{if(typeof _2eb!="string"){_2eb=String(_2eb);}}this.textbox.value=_2eb;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_2ec,_2ed){return ((_2ec==null||_2ec==undefined)?"":(_2ec.toString?_2ec.toString():_2ec));},parse:function(_2ee,_2ef){return _2ee;},_refreshState:function(){},_onInput:function(e){if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){switch(e.keyCode){case dojo.keys.SHIFT:case dojo.keys.ALT:case dojo.keys.CTRL:case dojo.keys.TAB:return;}}if(this.intermediateChanges){var _2f0=this;setTimeout(function(){_2f0._handleOnChange(_2f0.get("value"),false);},0);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){if(dojo.isIE){setTimeout(dojo.hitch(this,function(){var s=dojo.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _2f1=this.domNode.getElementsByTagName("INPUT");if(_2f1){for(var i=0;i<_2f1.length;i++){_2f1[i].style.fontFamily=ff;}}}}}),0);}this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);if(dojo.isMoz||dojo.isOpera){this.connect(this.textbox,"oninput","_onInput");}else{this.connect(this.textbox,"onkeydown","_onInput");this.connect(this.textbox,"onkeyup","_onInput");this.connect(this.textbox,"onpaste","_onInput");this.connect(this.textbox,"oncut","_onInput");}},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=dojo.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}if(this.selectOnClick&&dojo.isMoz){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);var _2f2;if(dojo.isIE){var _2f3=dojo.doc.selection.createRange();var _2f4=_2f3.parentElement();_2f2=_2f4==this.textbox&&_2f3.text.length==0;}else{_2f2=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_2f2){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_2f5,_2f6,stop){var _2f7=dojo.global;var _2f8=dojo.doc;_2f5=dojo.byId(_2f5);if(isNaN(_2f6)){_2f6=0;}if(isNaN(stop)){stop=_2f5.value?_2f5.value.length:0;}dijit.focus(_2f5);if(_2f8["selection"]&&dojo.body()["createTextRange"]){if(_2f5.createTextRange){var r=_2f5.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_2f6);r.moveEnd("character",stop-_2f6);r.select();}}else{if(_2f7["getSelection"]){if(_2f5.setSelectionRange){_2f5.setSelectionRange(_2f6,stop);}}}};}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:dojo.cache("dijit","templates/Tooltip.html","<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" dojoAttachPoint=\"connectorNode\"></div\n></div>\n"),postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_2f9,_2fa,_2fb,rtl){if(this.aroundNode&&this.aroundNode===_2fa){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_2f9;var pos=dijit.placeOnScreenAroundElement(this.domNode,_2fa,dijit.getPopupAroundAlignment((_2fb&&_2fb.length)?_2fb:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2fa;},orient:function(node,_2fc,_2fd,_2fe,_2ff){this.connectorNode.style.top="";var _300=_2fe.w-this.connectorNode.offsetWidth;node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_2fc+"-"+_2fd];this.domNode.style.width="auto";var size=dojo.contentBox(this.domNode);var _301=Math.min((Math.max(_300,1)),size.w);var _302=_301<size.w;this.domNode.style.width=_301+"px";if(_302){this.containerNode.style.overflow="auto";var _303=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_303>_301){_303=_303+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight");this.domNode.style.width=_303+"px";}}if(_2fd.charAt(0)=="B"&&_2fc.charAt(0)=="B"){var mb=dojo.marginBox(node);var _304=this.connectorNode.offsetHeight;if(mb.h>_2fe.h){var _305=_2fe.h-(_2ff.h/2)-(_304/2);this.connectorNode.style.top=_305+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_2ff.h/2-_304/2,0),mb.h-_304)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_300);},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_306){if(this._onDeck&&this._onDeck[1]==_306){this._onDeck=null;}else{if(this.aroundNode===_306){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;}}});dijit.showTooltip=function(_307,_308,_309,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_307,_308,_309,rtl);};dijit.hideTooltip=function(_30a){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_30a);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_30b){dojo.forEach(this._connections||[],function(_30c){dojo.forEach(_30c,dojo.hitch(this,"disconnect"));},this);var ary=dojo.isArrayLike(_30b)?_30b:(_30b?[_30b]:[]);this._connections=dojo.map(ary,function(id){var node=dojo.byId(id);return node?[this.connect(node,"onmouseenter","_onTargetMouseEnter"),this.connect(node,"onmouseleave","_onTargetMouseLeave"),this.connect(node,"onfocus","_onTargetFocus"),this.connect(node,"onblur","_onTargetBlur")]:[];},this);this._set("connectId",_30b);this._connectIds=ary;},addTarget:function(node){var id=node.id||node;if(dojo.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=dojo.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;dojo.forEach(dojo.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onTargetMouseEnter:function(e){this._onHover(e);},_onTargetMouseLeave:function(e){this._onUnHover(e);},_onTargetFocus:function(e){this._focus=true;this._onHover(e);},_onTargetBlur:function(e){this._focus=false;this._onUnHover(e);},_onHover:function(e){if(!this._showTimer){var _30d=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_30d);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_30e){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_30e,this.position,!this.isLeftToRight());this._connectNode=_30e;this.onShow(_30e,this.position);},close:function(){if(this._connectNode){dijit.hideTooltip(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(_30f,_310){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});dijit.Tooltip.defaultPosition=["after","before"];}if(!dojo._hasResource["dijit.form.ValidationTextBox"]){dojo._hasResource["dijit.form.ValidationTextBox"]=true;dojo.provide("dijit.form.ValidationTextBox");dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:dojo.cache("dijit.form","templates/ValidationTextBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"),baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(_311){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_312,_313){return (new RegExp("^(?:"+this.regExpGen(_313)+")"+(this.required?"":"?")+"$")).test(_312)&&(!this.required||!this._isEmpty(_312))&&(this._isEmpty(_312)||this.parse(_312,_313)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_314){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_315){return (this.trim?/^\s*$/:/^$/).test(_315);},getErrorMessage:function(_316){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_317){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_318){var _319="";var _31a=this.disabled||this.isValid(_318);if(_31a){this._maskValidSubsetError=true;}var _31b=this._isEmpty(this.textbox.value);var _31c=!_31a&&_318&&this._isValidSubset();this._set("state",_31a?"":(((((!this._hasBeenBlurred||_318)&&_31b)||_31c)&&this._maskValidSubsetError)?"Incomplete":"Error"));dijit.setWaiState(this.focusNode,"invalid",_31a?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_318&&_31c;_319=this.getErrorMessage(_318);}else{if(this.state=="Incomplete"){_319=this.getPromptMessage(_318);this._maskValidSubsetError=!this._hasBeenBlurred||_318;}else{if(_31b){_319=this.getPromptMessage(_318);}}}this.set("message",_319);return _31a;},displayMessage:function(_31d){dijit.hideTooltip(this.domNode);if(_31d&&this._focused){dijit.showTooltip(_31d,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_31e){if(!_31e.locale&&this.lang){_31e.locale=this.lang;}this._set("constraints",_31e);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _31f="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_31f+=re;break;case ")":_31f+="|$)";break;default:_31f+="(?:"+re+"|$)";break;}});}try{"".search(_31f);}catch(e){_31f=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_31f+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_320){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_321){this._set("required",_321);dijit.setWaiState(this.focusNode,"required",_321);this._refreshState();},_setMessageAttr:function(_322){this._set("message",_322);this.displayMessage(_322);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},serialize:function(val,_323){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=dojo.place("<input type='hidden'"+(this.name?" name='"+this.name.replace(/'/g,"&quot;")+"'":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_324,_325){return ("min" in _325?(this.compare(_324,_325.min)>=0):true)&&("max" in _325?(this.compare(_324,_325.max)<=0):true);},isInRange:function(_326){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _327=false;var _328=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_327=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_328=(typeof max=="number")&&max>0;}return _327||_328;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_329){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_329));},getErrorMessage:function(_32a){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_32a)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_32b){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}else{dijit.removeWaiState(this.focusNode,"valuemin");}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}else{dijit.removeWaiState(this.focusNode,"valuemax");}}},_setValueAttr:function(_32c,_32d){dijit.setWaiState(this.focusNode,"valuenow",_32c);this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form._DateTimeTextBox"]){dojo._hasResource["dijit.form._DateTimeTextBox"]=true;dojo.provide("dijit.form._DateTimeTextBox");new Date("X");dojo.declare("dijit.form._DateTimeTextBox",[dijit.form.RangeBoundTextBox,dijit._HasDropDown],{templateString:dojo.cache("dijit.form","templates/DropDownBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdojoAttachPoint=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n"),hasDownArrow:true,openOnClick:true,regExpGen:dojo.date.locale.regexp,datePackage:"dojo.date",compare:function(val1,val2){var _32e=this._isInvalidDate(val1);var _32f=this._isInvalidDate(val2);return _32e?(_32f?0:-1):(_32f?1:dojo.date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_330,_331){if(!_330){return "";}return this.dateLocaleModule.format(_330,_331);},"parse":function(_332,_333){return this.dateLocaleModule.parse(_332,_333)||(this._isEmpty(_332)?null:undefined);},serialize:function(val,_334){if(val.toGregorian){val=val.toGregorian();}return dojo.date.stamp.toISOString(val,_334);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){var _335=args.datePackage?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_335,false);this.value=new this.dateClassObj("");this.datePackage=args.datePackage||this.datePackage;this.dateLocaleModule=dojo.getObject(this.datePackage+".locale",false);this.regExpGen=this.dateLocaleModule.regexp;this._invalidDate=dijit.form._DateTimeTextBox.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(this.openOnClick||!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_336){_336.selector=this._selector;_336.fullYear=true;var _337=dojo.date.stamp.fromISOString;if(typeof _336.min=="string"){_336.min=_337(_336.min);}if(typeof _336.max=="string"){_336.max=_337(_336.max);}this.inherited(arguments);},_isInvalidDate:function(_338){return !_338||isNaN(_338)||typeof _338!="object"||_338.toString()==this._invalidDate;},_setValueAttr:function(_339,_33a,_33b){if(_339!==undefined){if(typeof _339=="string"){_339=dojo.date.stamp.fromISOString(_339);}if(this._isInvalidDate(_339)){_339=null;}if(_339 instanceof Date&&!(this.dateClassObj instanceof Date)){_339=new this.dateClassObj(_339);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_339,false);}},_set:function(attr,_33c){if(attr=="value"&&this.value instanceof Date&&this.compare(_33c,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_33d){if(this.dropDown){this.dropDown.destroy();}var _33e=dojo.getObject(this.popupClass,false),_33f=this,_340=this.get("value");this.dropDown=new _33e({onChange:function(_341){_33f.set("value",_341,true);},id:this.id+"_popup",dir:_33f.dir,lang:_33f.lang,value:_340,currentFocus:!this._isInvalidDate(_340)?_340:this.dropDownDefaultValue,constraints:_33f.constraints,filterString:_33f.filterString,datePackage:_33f.datePackage,isDisabledDate:function(date){return !_33f.rangeCheck(date,_33f.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_342,_343){this._setValueAttr(this.parse(_342,this.constraints),_343,_342);}});}if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:"dijit.Calendar",_selector:"date",value:new Date("")});}if(!dojo._hasResource["dijit._TimePicker"]){dojo._hasResource["dijit._TimePicker"]=true;dojo.provide("dijit._TimePicker");dojo.declare("dijit._TimePicker",[dijit._Widget,dijit._Templated],{templateString:dojo.cache("dijit","templates/TimePicker.html","<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" dojoAttachEvent=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&nbsp;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" dojoAttachEvent=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&nbsp;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n"),baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(_344){dojo.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_344);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(_345,_346){return false;},_getFilteredNodes:function(_347,_348,_349,_34a){var _34b=[],_34c=_34a?_34a.date:this._refDate,n,i=_347,max=this._maxIncrement+Math.abs(i),chk=_349?-1:1,dec=_349?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_349&&n.date>_34c)||(!_349&&n.date<_34c)){break;}_34b[_349?"unshift":"push"](n);_34c=n.date;}i+=inc;}while(_34b.length<_348&&(i*chk)<max);return _34b;},_showText:function(){var _34d=dojo.date.stamp.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_34d(this.clickableIncrement);this._visibleIncrementDate=_34d(this.visibleIncrement);this._visibleRangeDate=_34d(this.visibleRange);var _34e=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_34f=_34e(this._clickableIncrementDate),_350=_34e(this._visibleIncrementDate),_351=_34e(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_34f*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_351/_34f;this._visibleIncrement=_350/_34f;this._maxIncrement=(60*60*24)/_34f;var _352=Math.min(this._totalIncrements,10),_353=this._getFilteredNodes(0,(_352>>1)+1,false),_354=[],_355=_352-_353.length,_356=this._getFilteredNodes(0,_355,true,_353[0]);if(_356.length<_355&&_353.length>0){_354=this._getFilteredNodes(_353.length,_355-_356.length,false,_353[_353.length-1]);}dojo.forEach(_356.concat(_353,_354),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_357){dojo.mixin(this,_357);if(!_357.locale){_357.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(dijit.typematic.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){dojo.toggleClass(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_358){var date=new Date(this._refDate);var _359=this._clickableIncrementDate;date.setHours(date.getHours()+_359.getHours()*_358,date.getMinutes()+_359.getMinutes()*_358,date.getSeconds()+_359.getSeconds()*_358);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _35a=dojo.date.locale.format(date,this.constraints);if(this.filterString&&_35a.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=dojo.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_358;dojo.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_35a},div);if(_358%this._visibleIncrement<1&&_358%this._visibleIncrement>-1){dojo.addClass(div,this.baseClass+"Marker");}else{if(!(_358%this._clickableIncrement)){dojo.addClass(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){dojo.addClass(div,this.baseClass+"ItemDisabled");}if(this.value&&!dojo.date.compare(this.value,date,this.constraints.selector)){div.selected=true;dojo.addClass(div,this.baseClass+"ItemSelected");if(dojo.hasClass(div,this.baseClass+"Marker")){dojo.addClass(div,this.baseClass+"MarkerSelected");}else{dojo.addClass(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _35b=tgt.target.date||tgt.target.parentNode.date;if(!_35b||this.isDisabledDate(_35b)){return;}this._highlighted_option=null;this.set("value",_35b);this.onChange(_35b);},onChange:function(time){},_highlightOption:function(node,_35c){if(!node){return;}if(_35c){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}dojo.toggleClass(node,this.baseClass+"ItemHover",_35c);if(dojo.hasClass(node,this.baseClass+"Marker")){dojo.toggleClass(node,this.baseClass+"MarkerHover",_35c);}else{dojo.toggleClass(node,this.baseClass+"TickHover",_35c);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!dojo.hasClass(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;dojo.stopEvent(e);var _35d=(dojo.isIE?e.wheelDelta:-e.detail);this[(_35d>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_35e){if(typeof _35e=="number"&&_35e==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _35f=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_35f,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_360){if(typeof _360=="number"&&_360==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _361=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_361,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){var dk=dojo.keys;if(e.charOrCode==dk.DOWN_ARROW||e.charOrCode==dk.UP_ARROW){dojo.stopEvent(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _362=this.timeMenu,tgt=this._highlighted_option||dojo.query("."+this.baseClass+"ItemSelected",_362)[0];if(!tgt){tgt=_362.childNodes[0];}else{if(_362.childNodes.length){if(e.charOrCode==dk.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==dk.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==dk.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==dk.ENTER||e.charOrCode===dk.TAB){if(!this._keyboardSelected&&e.charOrCode===dk.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===dk.TAB;}}return undefined;}});}if(!dojo._hasResource["dijit.form.TimeTextBox"]){dojo._hasResource["dijit.form.TimeTextBox"]=true;dojo.provide("dijit.form.TimeTextBox");dojo.declare("dijit.form.TimeTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:"dijit._TimePicker",_selector:"time",value:new Date(""),_onKey:function(evt){this.inherited(arguments);switch(evt.keyCode){case dojo.keys.ENTER:case dojo.keys.TAB:case dojo.keys.ESCAPE:case dojo.keys.DOWN_ARROW:case dojo.keys.UP_ARROW:break;default:setTimeout(dojo.hitch(this,function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}),0);}}});}if(!dojo._hasResource["dojox.gfx.matrix"]){dojo._hasResource["dojox.gfx.matrix"]=true;dojo.provide("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix;var _363={};m._degToRad=function(_364){return _363[_364]||(_363[_364]=(Math.PI*_364/180));};m._radToDeg=function(_365){return _365/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 _366=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_366,r=dojox.gfx.matrix.normalize(arg[i]);_366=new m.Matrix2D();_366.xx=l.xx*r.xx+l.xy*r.yx;_366.xy=l.xx*r.xy+l.xy*r.yy;_366.yx=l.yx*r.xx+l.yy*r.yx;_366.yy=l.yx*r.xy+l.yy*r.yy;_366.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_366.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}dojo.mixin(this,_366);}}else{dojo.mixin(this,arg);}}}};dojo.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});dojo.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(_367){var c=Math.cos(_367);var s=Math.sin(_367);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_368){return m.rotate(m._degToRad(_368));},skewX:function(_369){return new m.Matrix2D({xy:Math.tan(_369)});},skewXg:function(_36a){return m.skewX(m._degToRad(_36a));},skewY:function(_36b){return new m.Matrix2D({yx:Math.tan(_36b)});},skewYg:function(_36c){return m.skewY(m._degToRad(_36c));},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(_36d){return (_36d instanceof m.Matrix2D)?_36d:new m.Matrix2D(_36d);},clone:function(_36e){var obj=new m.Matrix2D();for(var i in _36e){if(typeof (_36e[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_36e[i]){obj[i]=_36e[i];}}return obj;},invert:function(_36f){var M=m.normalize(_36f),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(_370,x,y){return {x:_370.xx*x+_370.xy*y+_370.dx,y:_370.yx*x+_370.yy*y+_370.dy};},multiplyPoint:function(_371,a,b){var M=m.normalize(_371);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_372){var M=m.normalize(_372);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(_373,x,y){return m.multiply(m.translate(x,y),_373,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(_374,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_374),a,b);}return m._sandwich(m.rotate(_374),a.x,a.y);},rotategAt:function(_375,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_375),a,b);}return m._sandwich(m.rotateg(_375),a.x,a.y);},skewXAt:function(_376,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_376),a,b);}return m._sandwich(m.skewX(_376),a.x,a.y);},skewXgAt:function(_377,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_377),a,b);}return m._sandwich(m.skewXg(_377),a.x,a.y);},skewYAt:function(_378,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_378),a,b);}return m._sandwich(m.skewY(_378),a.x,a.y);},skewYgAt:function(_379,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_379),a,b);}return m._sandwich(m.skewYg(_379),a.x,a.y);}});})();dojox.gfx.Matrix2D=dojox.gfx.matrix.Matrix2D;}if(!dojo._hasResource["dojox.gfx._base"]){dojo._hasResource["dojox.gfx._base"]=true;dojo.provide("dojox.gfx._base");(function(){var g=dojox.gfx,b=g._base;g._hasClass=function(node,_37a){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_37a+" ")>=0;};g._addClass=function(node,_37b){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_37b+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_37b);}};g._removeClass=function(node,_37c){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_37c+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _37d={"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};if(dojo.isIE){dojo.doc.documentElement.style.fontSize="100%";}var div=dojo.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"}},dojo.body());for(var p in _37d){div.style.fontSize=p;_37d[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}dojo.body().removeChild(div);return _37d;};var _37e=null;b._getCachedFontMeasurements=function(_37f){if(_37f||!_37e){_37e=b._getFontMeasurements();}return _37e;};var _380=null,_381={};b._getTextBox=function(text,_382,_383){var m,s,al=arguments.length;if(!_380){_380=dojo.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},dojo.body());}m=_380;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_382){for(var i in _382){if(i in _381){continue;}s[i]=_382[i];}}if(al>2&&_383){m.className=_383;}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 dojo.marginBox(m);}};var _384=0;b._getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++_384);}while(dojo.byId(id));return id;};})();dojo.mixin(dojox.gfx,{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 _385={};return function(type){var t=_385[type];if(t){return new t();}t=_385[type]=new Function;t.prototype=dojox.gfx["default"+type];return new t();};})(),normalizeColor:function(_386){return (_386 instanceof dojo.Color)?_386:new dojo.Color(_386);},normalizeParameters:function(_387,_388){if(_388){var _389={};for(var x in _387){if(x in _388&&!(x in _389)){_387[x]=_388[x];}}}return _387;},makeParameters:function(_38a,_38b){if(!_38b){return dojo.delegate(_38a);}var _38c={};for(var i in _38a){if(!(i in _38c)){_38c[i]=dojo.clone((i in _38b)?_38b[i]:_38a[i]);}}return _38c;},formatNumber:function(x,_38d){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _38e=val.indexOf(".");if(_38e>=0&&val.length-_38e>5){val=x.toFixed(4);}}if(x<0){return val;}return _38d?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=dojox.gfx.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 dojox.gfx._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*dojox.gfx.px_in_pt();},px2pt:function(len){return len/dojox.gfx.px_in_pt();},normalizedLength:function(len){if(len.length==0){return 0;}if(len.length>2){var _38f=dojox.gfx.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_38f;case "in":return val*72*_38f;case "pc":return val*12*_38f;case "mm":return val*dojox.gfx.mm_in_pt*_38f;case "cm":return val*dojox.gfx.cm_in_pt*_38f;}}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(_390){var ns=dojox.gfx[_390];if(ns){dojo.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface"],function(name){dojox.gfx[name]=ns[name];});}}});}if(!dojo._hasResource["dojox.gfx"]){dojo._hasResource["dojox.gfx"]=true;dojo.provide("dojox.gfx");dojo.loadInit(function(){var gfx=dojo.getObject("dojox.gfx",true),sl,flag,_391;while(!gfx.renderer){if(dojo.config.forceGfxRenderer){dojox.gfx.renderer=dojo.config.forceGfxRenderer;break;}var _392=(typeof dojo.config.gfxRenderer=="string"?dojo.config.gfxRenderer:"svg,vml,canvas,silverlight").split(",");for(var i=0;i<_392.length;++i){switch(_392[i]){case "svg":if("SVGAngle" in dojo.global){dojox.gfx.renderer="svg";}break;case "vml":if(dojo.isIE){dojox.gfx.renderer="vml";}break;case "silverlight":try{if(dojo.isIE){sl=new ActiveXObject("AgControl.AgControl");if(sl&&sl.IsVersionSupported("1.0")){flag=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){flag=true;}}}catch(e){flag=false;}finally{sl=null;}if(flag){dojox.gfx.renderer="silverlight";}break;case "canvas":if(dojo.global.CanvasRenderingContext2D){dojox.gfx.renderer="canvas";}break;}if(gfx.renderer){break;}}break;}if(dojo.config.isDebug){console.log("gfx renderer = "+gfx.renderer);}if(gfx[gfx.renderer]){gfx.switchTo(gfx.renderer);}else{gfx.loadAndSwitch=gfx.renderer;dojo["require"]("dojox.gfx."+gfx.renderer);}});}if(!dojo._hasResource["dojox.lang.functional.lambda"]){dojo._hasResource["dojox.lang.functional.lambda"]=true;dojo.provide("dojox.lang.functional.lambda");(function(){var df=dojox.lang.functional,_393={};var _394="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 _395=function(s){var args=[],_396=_394.call(s,/\s*->\s*/m);if(_396.length>1){while(_396.length){s=_396.pop();args=_396.pop().split(/\s*,\s*|\s+/m);if(_396.length){_396.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={};dojo.forEach(vars,function(v){if(!(v in t)){args.push(v);t[v]=1;}});}}}return {args:args,body:s};};var _397=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;};};dojo.mixin(df,{rawLambda:function(s){return _395(s);},buildLambda:function(s){s=_395(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _397(s);}if(s in _393){return _393[s];}s=_395(s);return _393[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_393={};}});})();}if(!dojo._hasResource["dojox.lang.functional.array"]){dojo._hasResource["dojox.lang.functional.array"]=true;dojo.provide("dojox.lang.functional.array");(function(){var d=dojo,df=dojox.lang.functional,_398={};d.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t=[],v,i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){v=a.next();if(f.call(o,v,i++,a)){t.push(v);}}}else{for(i in a){if(!(i in _398)){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}}}return t;},forEach:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();f.call(o,a.next(),i++,a)){}}else{for(i in a){if(!(i in _398)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n,i;if(d.isArray(a)){t=new Array(n=a.length);for(i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[];for(i=0;a.hasNext();t.push(f.call(o,a.next(),i++,a))){}}else{t=[];for(i in a){if(!(i in _398)){t.push(f.call(o,a[i],i,a));}}}}return t;},every:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){if(!f.call(o,a[i],i,a)){return false;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(!f.call(o,a.next(),i++,a)){return false;}}}else{for(i in a){if(!(i in _398)){if(!f.call(o,a[i],i,a)){return false;}}}}}return true;},some:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){if(f.call(o,a[i],i,a)){return true;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(f.call(o,a.next(),i++,a)){return true;}}}else{for(i in a){if(!(i in _398)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});})();}if(!dojo._hasResource["dojox.lang.functional.object"]){dojo._hasResource["dojox.lang.functional.object"]=true;dojo.provide("dojox.lang.functional.object");(function(){var d=dojo,df=dojox.lang.functional,_399={};d.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _399)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _399)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _399)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);for(var i in obj){if(!(i in _399)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _399)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});})();}if(!dojo._hasResource["dojox.lang.functional"]){dojo._hasResource["dojox.lang.functional"]=true;dojo.provide("dojox.lang.functional");}if(!dojo._hasResource["dojox.lang.functional.fold"]){dojo._hasResource["dojox.lang.functional.fold"]=true;dojo.provide("dojox.lang.functional.fold");(function(){var d=dojo,df=dojox.lang.functional,_39a={};d.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.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 _39a)){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||d.global;f=df.lambda(f);var z,i,n;if(d.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 _39b=true;for(i in a){if(!(i in _39a)){if(_39b){z=a[i];_39b=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||d.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||d.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||d.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;}});})();}if(!dojo._hasResource["dojox.lang.functional.reversed"]){dojo._hasResource["dojox.lang.functional.reversed"]=true;dojo.provide("dojox.lang.functional.reversed");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.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||d.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||d.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||d.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||d.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;}});})();}if(!dojo._hasResource["dojox.charting.Element"]){dojo._hasResource["dojox.charting.Element"]=true;dojo.provide("dojox.charting.Element");dojo.declare("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_39c){this.chart=_39c;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},createGroup:function(_39d){if(!_39d){_39d=this.chart.surface;}if(!this.group){this.group=_39d.createGroup();}return this;},purgeGroup:function(){this.destroyHtmlElements();if(this.group){this.group.clear();this.group.removeShape();this.group=null;}this.dirty=true;if(this._events.length){dojo.forEach(this._events,function(item){item.shape.disconnect(item.handle);});this._events=[];}return this;},cleanGroup:function(_39e){this.destroyHtmlElements();if(!_39e){_39e=this.chart.surface;}if(this.group){this.group.clear();}else{this.group=_39e.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){dojo.forEach(this.htmlElements,dojo.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,font){return dojox.gfx._base._getTextBox(s,{font:font}).w||0;},getTextWithLimitLength:function(s,font,_39f,_3a0){if(!s||s.length<=0){return {text:"",truncated:_3a0||false};}if(!_39f||_39f<=0){return {text:s,truncated:_3a0||false};}var _3a1=2,_3a2=0.618,_3a3=s.substring(0,1)+this.trailingSymbol,_3a4=this.getTextWidth(_3a3,font);if(_39f<=_3a4){return {text:_3a3,truncated:true};}var _3a5=this.getTextWidth(s,font);if(_3a5<=_39f){return {text:s,truncated:_3a0||false};}else{var _3a6=0,end=s.length;while(_3a6<end){if(end-_3a6<=_3a1){while(this.getTextWidth(s.substring(0,_3a6)+this.trailingSymbol,font)>_39f){_3a6-=1;}return {text:(s.substring(0,_3a6)+this.trailingSymbol),truncated:true};}var _3a7=_3a6+Math.round((end-_3a6)*_3a2),_3a8=this.getTextWidth(s.substring(0,_3a7),font);if(_3a8<_39f){_3a6=_3a7;end=end;}else{_3a6=_3a6;end=_3a7;}}}},getTextWithLimitCharCount:function(s,font,_3a9,_3aa){if(!s||s.length<=0){return {text:"",truncated:_3aa||false};}if(!_3a9||_3a9<=0||s.length<=_3a9){return {text:s,truncated:_3aa||false};}return {text:s.substring(0,_3a9)+this.trailingSymbol,truncated:true};},_plotFill:function(fill,dim,_3ab){if(!fill||!fill.type||!fill.space){return fill;}var _3ac=fill.space;switch(fill.type){case "linear":if(_3ac==="plot"||_3ac==="shapeX"||_3ac==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient,fill);fill.space=_3ac;if(_3ac==="plot"||_3ac==="shapeX"){var span=dim.height-_3ab.t-_3ab.b;fill.y1=_3ab.t+span*fill.y1/100;fill.y2=_3ab.t+span*fill.y2/100;}if(_3ac==="plot"||_3ac==="shapeY"){var span=dim.width-_3ab.l-_3ab.r;fill.x1=_3ab.l+span*fill.x1/100;fill.x2=_3ab.l+span*fill.x2/100;}}break;case "radial":if(_3ac==="plot"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3ac;var _3ad=dim.width-_3ab.l-_3ab.r,_3ae=dim.height-_3ab.t-_3ab.b;fill.cx=_3ab.l+_3ad*fill.cx/100;fill.cy=_3ab.t+_3ae*fill.cy/100;fill.r=fill.r*Math.sqrt(_3ad*_3ad+_3ae*_3ae)/200;}break;case "pattern":if(_3ac==="plot"||_3ac==="shapeX"||_3ac==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultPattern,fill);fill.space=_3ac;if(_3ac==="plot"||_3ac==="shapeX"){var span=dim.height-_3ab.t-_3ab.b;fill.y=_3ab.t+span*fill.y/100;fill.height=span*fill.height/100;}if(_3ac==="plot"||_3ac==="shapeY"){var span=dim.width-_3ab.l-_3ab.r;fill.x=_3ab.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 _3af=fill.space;switch(fill.type){case "linear":if(_3af==="shape"||_3af==="shapeX"||_3af==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient,fill);fill.space=_3af;if(_3af==="shape"||_3af==="shapeX"){var span=bbox.width;fill.x1=bbox.x+span*fill.x1/100;fill.x2=bbox.x+span*fill.x2/100;}if(_3af==="shape"||_3af==="shapeY"){var span=bbox.height;fill.y1=bbox.y+span*fill.y1/100;fill.y2=bbox.y+span*fill.y2/100;}}break;case "radial":if(_3af==="shape"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3af;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(_3af==="shape"||_3af==="shapeX"||_3af==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultPattern,fill);fill.space=_3af;if(_3af==="shape"||_3af==="shapeX"){var span=bbox.width;fill.x=bbox.x+span*fill.x/100;fill.width=span*fill.width/100;}if(_3af==="shape"||_3af==="shapeY"){var span=bbox.height;fill.y=bbox.y+span*fill.y/100;fill.height=span*fill.height/100;}}break;}return fill;},_pseudoRadialFill:function(fill,_3b0,_3b1,_3b2,end){if(!fill||fill.type!=="radial"||fill.space!=="shape"){return fill;}var _3b3=fill.space;fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3b3;if(arguments.length<4){fill.cx=_3b0.x;fill.cy=_3b0.y;fill.r=fill.r*_3b1/100;return fill;}var _3b4=arguments.length<5?_3b2:(end+_3b2)/2;return {type:"linear",x1:_3b0.x,y1:_3b0.y,x2:_3b0.x+fill.r*_3b1*Math.cos(_3b4)/100,y2:_3b0.y+fill.r*_3b1*Math.sin(_3b4)/100,colors:fill.colors};return fill;}});}if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");dojo.getObject("colors",true,dojo);(function(){var _3b5=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=function(_3b6,obj){var m=_3b6.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=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}return dojo.colorFromArray(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=[_3b5(m1,m2,H+1/3)*256,_3b5(m1,m2,H)*256,_3b5(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}}return null;};var _3b7=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_3b7(t.r,0,255));t.g=Math.round(_3b7(t.g,0,255));t.b=Math.round(_3b7(t.b,0,255));t.a=_3b7(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.mixin(dojo.Color.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],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]});}if(!dojo._hasResource["dojox.color._base"]){dojo._hasResource["dojox.color._base"]=true;dojo.provide("dojox.color._base");dojox.color.Color=dojo.Color;dojox.color.blend=dojo.blendColors;dojox.color.fromRgb=dojo.colorFromRgb;dojox.color.fromHex=dojo.colorFromHex;dojox.color.fromArray=dojo.colorFromArray;dojox.color.fromString=dojo.colorFromString;dojox.color.greyscale=dojo.colors.makeGrey;dojo.mixin(dojox.color,{fromCmy:function(cyan,_3b8,_3b9){if(dojo.isArray(cyan)){_3b8=cyan[1],_3b9=cyan[2],cyan=cyan[0];}else{if(dojo.isObject(cyan)){_3b8=cyan.m,_3b9=cyan.y,cyan=cyan.c;}}cyan/=100,_3b8/=100,_3b9/=100;var r=1-cyan,g=1-_3b8,b=1-_3b9;return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_3ba,_3bb,_3bc){if(dojo.isArray(cyan)){_3ba=cyan[1],_3bb=cyan[2],_3bc=cyan[3],cyan=cyan[0];}else{if(dojo.isObject(cyan)){_3ba=cyan.m,_3bb=cyan.y,_3bc=cyan.b,cyan=cyan.c;}}cyan/=100,_3ba/=100,_3bb/=100,_3bc/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_3bc)+_3bc);g=1-Math.min(1,_3ba*(1-_3bc)+_3bc);b=1-Math.min(1,_3bb*(1-_3bc)+_3bc);return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_3bd,_3be){if(dojo.isArray(hue)){_3bd=hue[1],_3be=hue[2],hue=hue[0];}else{if(dojo.isObject(hue)){_3bd=hue.s,_3be=hue.l,hue=hue.h;}}_3bd/=100;_3be/=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*_3bd*Math.min(r,1)+(1-_3bd);g=2*_3bd*Math.min(g,1)+(1-_3bd);b=2*_3bd*Math.min(b,1)+(1-_3bd);if(_3be<0.5){r*=_3be,g*=_3be,b*=_3be;}else{r=(1-_3be)*r+2*_3be-1;g=(1-_3be)*g+2*_3be-1;b=(1-_3be)*b+2*_3be-1;}return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsv:function(hue,_3bf,_3c0){if(dojo.isArray(hue)){_3bf=hue[1],_3c0=hue[2],hue=hue[0];}else{if(dojo.isObject(hue)){_3bf=hue.s,_3c0=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_3bf/=100;_3c0/=100;var r,g,b;if(_3bf==0){r=_3c0,b=_3c0,g=_3c0;}else{var _3c1=hue/60,i=Math.floor(_3c1),f=_3c1-i;var p=_3c0*(1-_3bf);var q=_3c0*(1-(_3bf*f));var t=_3c0*(1-(_3bf*(1-f)));switch(i){case 0:r=_3c0,g=t,b=p;break;case 1:r=q,g=_3c0,b=p;break;case 2:r=p,g=_3c0,b=t;break;case 3:r=p,g=q,b=_3c0;break;case 4:r=t,g=p,b=_3c0;break;case 5:r=_3c0,g=p,b=q;break;}}return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});dojo.extend(dojox.color.Color,{toCmy:function(){var cyan=1-(this.r/255),_3c2=1-(this.g/255),_3c3=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_3c2*100),y:Math.round(_3c3*100)};},toCmyk:function(){var cyan,_3c4,_3c5,_3c6;var r=this.r/255,g=this.g/255,b=this.b/255;_3c6=Math.min(1-r,1-g,1-b);cyan=(1-r-_3c6)/(1-_3c6);_3c4=(1-g-_3c6)/(1-_3c6);_3c5=(1-b-_3c6)/(1-_3c6);return {c:Math.round(cyan*100),m:Math.round(_3c4*100),y:Math.round(_3c5*100),b:Math.round(_3c6*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 _3c7=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_3c7/((l<0.5)?(2*l):(2-2*l));}if(_3c7>0){if(max==r&&max!=g){h+=(g-b)/_3c7;}if(max==g&&max!=b){h+=(2+(b-r)/_3c7);}if(max==b&&max!=r){h+=(4+(r-g)/_3c7);}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 _3c8=max-min;var h=null,s=(max==0)?0:(_3c8/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_3c8;}else{if(g==max){h=120+60*(b-r)/_3c8;}else{h=240+60*(r-g)/_3c8;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});}if(!dojo._hasResource["dojox.color"]){dojo._hasResource["dojox.color"]=true;dojo.provide("dojox.color");}if(!dojo._hasResource["dojox.color.Palette"]){dojo._hasResource["dojox.color.Palette"]=true;dojo.provide("dojox.color.Palette");(function(){var dxc=dojox.color;dxc.Palette=function(base){this.colors=[];if(base instanceof dojox.color.Palette){this.colors=base.colors.slice(0);}else{if(base instanceof dojox.color.Color){this.colors=[null,null,base,null,null];}else{if(dojo.isArray(base)){this.colors=dojo.map(base.slice(0),function(item){if(dojo.isString(item)){return new dojox.color.Color(item);}return item;});}else{if(dojo.isString(base)){this.colors=[null,null,new dojox.color.Color(base),null,null];}}}}};function _3c9(p,_3ca,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var r=(_3ca=="dr")?item.r+val:item.r,g=(_3ca=="dg")?item.g+val:item.g,b=(_3ca=="db")?item.b+val:item.b,a=(_3ca=="da")?item.a+val:item.a;ret.colors.push(new dojox.color.Color({r:Math.min(255,Math.max(0,r)),g:Math.min(255,Math.max(0,g)),b:Math.min(255,Math.max(0,b)),a:Math.min(1,Math.max(0,a))}));});return ret;};function tCMY(p,_3cb,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toCmy(),c=(_3cb=="dc")?o.c+val:o.c,m=(_3cb=="dm")?o.m+val:o.m,y=(_3cb=="dy")?o.y+val:o.y;ret.colors.push(dojox.color.fromCmy(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y))));});return ret;};function _3cc(p,_3cd,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toCmyk(),c=(_3cd=="dc")?o.c+val:o.c,m=(_3cd=="dm")?o.m+val:o.m,y=(_3cd=="dy")?o.y+val:o.y,k=(_3cd=="dk")?o.b+val:o.b;ret.colors.push(dojox.color.fromCmyk(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y)),Math.min(100,Math.max(0,k))));});return ret;};function tHSL(p,_3ce,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toHsl(),h=(_3ce=="dh")?o.h+val:o.h,s=(_3ce=="ds")?o.s+val:o.s,l=(_3ce=="dl")?o.l+val:o.l;ret.colors.push(dojox.color.fromHsl(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))));});return ret;};function tHSV(p,_3cf,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toHsv(),h=(_3cf=="dh")?o.h+val:o.h,s=(_3cf=="ds")?o.s+val:o.s,v=(_3cf=="dv")?o.v+val:o.v;ret.colors.push(dojox.color.fromHsv(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,v))));});return ret;};function _3d0(val,low,high){return high-((high-val)*((high-low)/high));};dojo.extend(dxc.Palette,{transform:function(_3d1){var fn=_3c9;if(_3d1.use){var use=_3d1.use.toLowerCase();if(use.indexOf("hs")==0){if(use.charAt(2)=="l"){fn=tHSL;}else{fn=tHSV;}}else{if(use.indexOf("cmy")==0){if(use.charAt(3)=="k"){fn=_3cc;}else{fn=tCMY;}}}}else{if("dc" in _3d1||"dm" in _3d1||"dy" in _3d1){if("dk" in _3d1){fn=_3cc;}else{fn=tCMY;}}else{if("dh" in _3d1||"ds" in _3d1){if("dv" in _3d1){fn=tHSV;}else{fn=tHSL;}}}}var _3d2=this;for(var p in _3d1){if(p=="use"){continue;}_3d2=fn(_3d2,p,_3d1[p]);}return _3d2;},clone:function(){return new dxc.Palette(this);}});dojo.mixin(dxc.Palette,{generators:{analogous:function(args){var high=args.high||60,low=args.low||18,base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h=[(hsv.h+low+360)%360,(hsv.h+Math.round(low/2)+360)%360,hsv.h,(hsv.h-Math.round(high/2)+360)%360,(hsv.h-high+360)%360];var s1=Math.max(10,(hsv.s<=95)?hsv.s+5:(100-(hsv.s-95))),s2=(hsv.s>1)?hsv.s-1:21-hsv.s,v1=(hsv.v>=92)?hsv.v-9:Math.max(hsv.v+9,20),v2=(hsv.v<=90)?Math.max(hsv.v+5,20):(95+Math.ceil((hsv.v-90)/2)),s=[s1,s2,hsv.s,s1,s1],v=[v1,v2,hsv.v,v1,v2];return new dxc.Palette(dojo.map(h,function(hue,i){return dojox.color.fromHsv(hue,s[i],v[i]);}));},monochromatic:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var s1=(hsv.s-30>9)?hsv.s-30:hsv.s+30,s2=hsv.s,v1=_3d0(hsv.v,20,100),v2=(hsv.v-20>20)?hsv.v-20:hsv.v+60,v3=(hsv.v-50>20)?hsv.v-50:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v3),base,dojox.color.fromHsv(hsv.h,s1,v3),dojox.color.fromHsv(hsv.h,s2,v2)]);},triadic:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=(hsv.h+57+360)%360,h2=(hsv.h-157+360)%360,s1=(hsv.s>20)?hsv.s-10:hsv.s+10,s2=(hsv.s>90)?hsv.s-10:hsv.s+10,s3=(hsv.s>95)?hsv.s-5:hsv.s+5,v1=(hsv.v-20>20)?hsv.v-20:hsv.v+20,v2=(hsv.v-30>20)?hsv.v-30:hsv.v+30,v3=(hsv.v-30>70)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(h1,s1,hsv.v),dojox.color.fromHsv(hsv.h,s2,v2),base,dojox.color.fromHsv(h2,s2,v1),dojox.color.fromHsv(h2,s3,v3)]);},complementary:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,s1=Math.max(hsv.s-10,0),s2=_3d0(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v2),base,dojox.color.fromHsv(h1,s3,v2),dojox.color.fromHsv(h1,hsv.s,hsv.v)]);},splitComplementary:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,_3d3=args.da||30,hsv=base.toHsv();var _3d4=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,h1=(_3d4-_3d3+360)%360,h2=(_3d4+_3d3)%360,s1=Math.max(hsv.s-10,0),s2=_3d0(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),base,dojox.color.fromHsv(h2,s3,v2),dojox.color.fromHsv(h2,hsv.s,hsv.v)]);},compound:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+18<360)?(hsv.h*2)+18:Math.floor(hsv.h/2)-18,h2=((hsv.h*2)+120<360)?(hsv.h*2)+120:Math.floor(hsv.h/2)-120,h3=((hsv.h*2)+99<360)?(hsv.h*2)+99:Math.floor(hsv.h/2)-99,s1=(hsv.s-40>10)?hsv.s-40:hsv.s+40,s2=(hsv.s-10>80)?hsv.s-10:hsv.s+10,s3=(hsv.s-25>10)?hsv.s-25:hsv.s+25,v1=(hsv.v-40>10)?hsv.v-40:hsv.v+40,v2=(hsv.v-20>80)?hsv.v-20:hsv.v+20,v3=Math.max(hsv.v,20);return new dxc.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),base,dojox.color.fromHsv(h2,s3,v3),dojox.color.fromHsv(h3,s2,v2)]);},shades:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var s=(hsv.s==100&&hsv.v==0)?0:hsv.s,v1=(hsv.v-50>20)?hsv.v-50:hsv.v+30,v2=(hsv.v-25>=20)?hsv.v-25:hsv.v+55,v3=(hsv.v-75>=20)?hsv.v-75:hsv.v+5,v4=Math.max(hsv.v-10,20);return new dxc.Palette([new dojox.color.fromHsv(hsv.h,s,v1),new dojox.color.fromHsv(hsv.h,s,v2),base,new dojox.color.fromHsv(hsv.h,s,v3),new dojox.color.fromHsv(hsv.h,s,v4)]);}},generate:function(base,type){if(dojo.isFunction(type)){return type({base:base});}else{if(dxc.Palette.generators[type]){return dxc.Palette.generators[type]({base:base});}}throw new Error("dojox.color.Palette.generate: the specified generator ('"+type+"') does not exist.");}});})();}if(!dojo._hasResource["dojox.lang.utils"]){dojo._hasResource["dojox.lang.utils"]=true;dojo.provide("dojox.lang.utils");(function(){var _3d5={},du=dojox.lang.utils,opts=Object.prototype.toString;var _3d6=function(o){if(o){switch(opts.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return dojo.delegate(o);}}return o;};dojo.mixin(du,{coerceType:function(_3d7,_3d8){switch(typeof _3d7){case "number":return Number(eval("("+_3d8+")"));case "string":return String(_3d8);case "boolean":return Boolean(eval("("+_3d8+")"));}return eval("("+_3d8+")");},updateWithObject:function(_3d9,_3da,conv){if(!_3da){return _3d9;}for(var x in _3d9){if(x in _3da&&!(x in _3d5)){var t=_3d9[x];if(t&&typeof t=="object"){du.updateWithObject(t,_3da[x],conv);}else{_3d9[x]=conv?du.coerceType(t,_3da[x]):_3d6(_3da[x]);}}}return _3d9;},updateWithPattern:function(_3db,_3dc,_3dd,conv){if(!_3dc||!_3dd){return _3db;}for(var x in _3dd){if(x in _3dc&&!(x in _3d5)){_3db[x]=conv?du.coerceType(_3dd[x],_3dc[x]):_3d6(_3dc[x]);}}return _3db;},merge:function(_3de,_3df){if(_3df){var _3e0=opts.call(_3de),_3e1=opts.call(_3df),t,i,l,m;switch(_3e1){case "[object Array]":if(_3e1==_3e0){t=new Array(Math.max(_3de.length,_3df.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_3de[i],_3df[i]);}return t;}return _3df.slice(0);case "[object Object]":if(_3e1==_3e0&&_3de){t=dojo.delegate(_3de);for(i in _3df){if(i in _3de){l=_3de[i];m=_3df[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=dojo.clone(_3df[i]);}}return t;}return dojo.clone(_3df);}}return _3df;}});})();}if(!dojo._hasResource["dojox.gfx.gradutils"]){dojo._hasResource["dojox.gfx.gradutils"]=true;dojo.provide("dojox.gfx.gradutils");(function(){var d=dojo,m=dojox.gfx.matrix,C=d.Color;function _3e2(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 d.blendColors(new C(prev.color),new C(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};dojox.gfx.gradutils.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _3e3=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_3e4=m.rotate(-_3e3),_3e5=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_3e5,pt),pf1=m.multiplyPoint(_3e5,fill.x1,fill.y1),pf2=m.multiplyPoint(_3e5,fill.x2,fill.y2),_3e6=m.multiplyPoint(_3e4,pf2.x-pf1.x,pf2.y-pf1.y).x,o=m.multiplyPoint(_3e4,p.x-pf1.x,p.y-pf1.y).x/_3e6;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 _3e2(o,fill.colors);}return new C(fill||[0,0,0,0]);};dojox.gfx.gradutils.reverse=function(fill){if(fill){switch(fill.type){case "linear":case "radial":fill=dojo.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;};})();}if(!dojo._hasResource["dojox.charting.Theme"]){dojo._hasResource["dojox.charting.Theme"]=true;dojo.provide("dojox.charting.Theme");dojo.declare("dojox.charting.Theme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_3e7){_3e7=_3e7||{};var def=dojox.charting.Theme.defaultTheme;dojo.forEach(["chart","plotarea","axis","series","marker"],function(name){this[name]=dojo.delegate(def[name],_3e7[name]);},this);if(_3e7.seriesThemes&&_3e7.seriesThemes.length){this.colors=null;this.seriesThemes=_3e7.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_3e7.colors||dojox.charting.Theme.defaultColors).slice(0);}this.markerThemes=null;if(_3e7.markerThemes&&_3e7.markerThemes.length){this.markerThemes=_3e7.markerThemes.slice(0);}this.markers=_3e7.markers?dojo.clone(_3e7.markers):dojo.delegate(dojox.charting.Theme.defaultMarkers);this.noGradConv=_3e7.noGradConv;this.noRadialConv=_3e7.noRadialConv;if(_3e7.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _3e8=new dojox.charting.Theme({chart:this.chart,plotarea:this.plotarea,axis:this.axis,series:this.series,marker:this.marker,colors:this.colors,markers:this.markers,seriesThemes:this.seriesThemes,markerThemes:this.markerThemes,noGradConv:this.noGradConv,noRadialConv:this.noRadialConv});dojo.forEach(["clone","clear","next","skip","addMixin","post","getTick"],function(name){if(this.hasOwnProperty(name)){_3e8[name]=this[name];}},this);return _3e8;},clear:function(){this._current=0;},next:function(_3e9,_3ea,_3eb){var _3ec=dojox.lang.utils.merge,_3ed,_3ee;if(this.colors){_3ed=dojo.delegate(this.series);_3ee=dojo.delegate(this.marker);var _3ef=new dojo.Color(this.colors[this._current%this.colors.length]),old;if(_3ed.stroke&&_3ed.stroke.color){_3ed.stroke=dojo.delegate(_3ed.stroke);old=new dojo.Color(_3ed.stroke.color);_3ed.stroke.color=new dojo.Color(_3ef);_3ed.stroke.color.a=old.a;}else{_3ed.stroke={color:_3ef};}if(_3ee.stroke&&_3ee.stroke.color){_3ee.stroke=dojo.delegate(_3ee.stroke);old=new dojo.Color(_3ee.stroke.color);_3ee.stroke.color=new dojo.Color(_3ef);_3ee.stroke.color.a=old.a;}else{_3ee.stroke={color:_3ef};}if(!_3ed.fill||_3ed.fill.type){_3ed.fill=_3ef;}else{old=new dojo.Color(_3ed.fill);_3ed.fill=new dojo.Color(_3ef);_3ed.fill.a=old.a;}if(!_3ee.fill||_3ee.fill.type){_3ee.fill=_3ef;}else{old=new dojo.Color(_3ee.fill);_3ee.fill=new dojo.Color(_3ef);_3ee.fill.a=old.a;}}else{_3ed=this.seriesThemes?_3ec(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_3ee=this.markerThemes?_3ec(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_3ed;}var _3f0=_3ee&&_3ee.symbol||this._markers[this._current%this._markers.length];var _3f1={series:_3ed,marker:_3ee,symbol:_3f0};++this._current;if(_3ea){_3f1=this.addMixin(_3f1,_3e9,_3ea);}if(_3eb){_3f1=this.post(_3f1,_3e9);}return _3f1;},skip:function(){++this._current;},addMixin:function(_3f2,_3f3,_3f4,_3f5){if(dojo.isArray(_3f4)){dojo.forEach(_3f4,function(m){_3f2=this.addMixin(_3f2,_3f3,m);},this);}else{var t={};if("color" in _3f4){if(_3f3=="line"||_3f3=="area"){dojo.setObject("series.stroke.color",_3f4.color,t);dojo.setObject("marker.stroke.color",_3f4.color,t);}else{dojo.setObject("series.fill",_3f4.color,t);}}dojo.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _3f6="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_3f6 in _3f4;if(name in _3f4){dojo.setObject("series."+name,_3f4[name],t);if(!b){dojo.setObject("marker."+name,_3f4[name],t);}}if(b){dojo.setObject("marker."+name,_3f4[_3f6],t);}});if("marker" in _3f4){t.symbol=_3f4.marker;}_3f2=dojox.lang.utils.merge(_3f2,t);}if(_3f5){_3f2=this.post(_3f2,_3f3);}return _3f2;},post:function(_3f7,_3f8){var fill=_3f7.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_3f8=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_3f8=="slice"||_3f8=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dojox.lang.utils.merge(_3f7,{series:{fill:t}});}}return _3f7;},getTick:function(name,_3f9){var tick=this.axis.tick,_3fa=name+"Tick";merge=dojox.lang.utils.merge;if(tick){if(this.axis[_3fa]){tick=merge(tick,this.axis[_3fa]);}}else{tick=this.axis[_3fa];}if(_3f9){if(tick){if(_3f9[_3fa]){tick=merge(tick,_3f9[_3fa]);}}else{tick=_3f9[_3fa];}}return tick;},inspectObjects:function(f){dojo.forEach(["chart","plotarea","axis","series","marker"],function(name){f(this[name]);},this);if(this.seriesThemes){dojo.forEach(this.seriesThemes,f);}if(this.markerThemes){dojo.forEach(this.markerThemes,f);}},reverseFills:function(){this.inspectObjects(function(o){if(o&&o.fill){o.fill=dojox.gfx.gradutils.reverse(o.fill);}});},addMarker:function(name,_3fb){this.markers[name]=_3fb;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]);}}});dojo.mixin(dojox.charting.Theme,{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",titleGap:15,titleFont:"normal normal normal 11pt Tahoma",titleFontColor:"#333",titleOrientation:"axis"},majorTick:{width:1,length:6},minorTick:{width:0.8,length:3},microTick:{width:0.5,length:1}},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"}},defineColors:function(_3fc){_3fc=_3fc||{};var c=[],n=_3fc.num||5;if(_3fc.colors){var l=_3fc.colors.length;for(var i=0;i<n;i++){c.push(_3fc.colors[i%l]);}return c;}if(_3fc.hue){var s=_3fc.saturation||100;var st=_3fc.low||30;var end=_3fc.high||90;var l=(end+st)/2;return dojox.color.Palette.generate(dojox.color.fromHsv(_3fc.hue,s,l),"monochromatic").colors;}if(_3fc.generator){return dojox.color.Palette.generate(_3fc.base,_3fc.generator).colors;}return c;},generateGradient:function(_3fd,_3fe,_3ff){var fill=dojo.delegate(_3fd);fill.colors=[{offset:0,color:_3fe},{offset:1,color:_3ff}];return fill;},generateHslColor:function(_400,_401){_400=new dojox.color.Color(_400);var hsl=_400.toHsl(),_402=dojox.color.fromHsl(hsl.h,hsl.s,_401);_402.a=_400.a;return _402;},generateHslGradient:function(_403,_404,_405,_406){_403=new dojox.color.Color(_403);var hsl=_403.toHsl(),_407=dojox.color.fromHsl(hsl.h,hsl.s,_405),_408=dojox.color.fromHsl(hsl.h,hsl.s,_406);_407.a=_408.a=_403.a;return dojox.charting.Theme.generateGradient(_404,_407,_408);}});}if(!dojo._hasResource["dojox.charting.Series"]){dojo._hasResource["dojox.charting.Series"]=true;dojo.provide("dojox.charting.Series");dojo.declare("dojox.charting.Series",dojox.charting.Element,{constructor:function(_409,data,_40a){dojo.mixin(this,_40a);if(typeof this.plot!="string"){this.plot="default";}this.update(data);},clear:function(){this.dyn={};},update:function(data){if(dojo.isArray(data)){this.data=data;}else{this.source=data;this.data=this.source.data;if(this.source.setSeriesObject){this.source.setSeriesObject(this);}}this.dirty=true;this.clear();}});}if(!dojo._hasResource["dojox.charting.axis2d.common"]){dojo._hasResource["dojox.charting.axis2d.common"]=true;dojo.provide("dojox.charting.axis2d.common");(function(){var g=dojox.gfx;var _40b=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 _40c=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return dojo.marginBox(n).w;}};dojo.mixin(dojox.charting.axis2d.common,{createText:{gfx:function(_40d,_40e,x,y,_40f,text,font,_410){return _40e.createText({x:x,y:y,text:text,align:_40f}).setFont(font).setFill(_410);},html:function(_411,_412,x,y,_413,text,font,_414,_415){var p=dojo.doc.createElement("div"),s=p.style,_416;_40b(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_414;s.position="absolute";s.left="-10000px";dojo.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_415){_416=_40c(p);}dojo.body().removeChild(p);s.position="relative";if(_415){s.width=_415+"px";switch(_413){case "middle":s.textAlign="center";s.left=(x-_415/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_415)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_413){case "middle":s.left=Math.floor(x-_416/2)+"px";break;case "end":s.left=Math.floor(x-_416)+"px";break;default:s.left=Math.floor(x)+"px";break;}}s.top=Math.floor(y-size)+"px";s.whiteSpace="nowrap";var wrap=dojo.doc.createElement("div"),w=wrap.style;_40b(w);w.width="0px";w.height="0px";wrap.appendChild(p);_411.node.insertBefore(wrap,_411.node.firstChild);return wrap;}}});})();}if(!dojo._hasResource["dojox.charting.Chart"]){dojo._hasResource["dojox.charting.Chart"]=true;dojo.provide("dojox.charting.Chart");(function(){var df=dojox.lang.functional,dc=dojox.charting,g=dojox.gfx,_417=df.lambda("item.clear()"),_418=df.lambda("item.purgeGroup()"),_419=df.lambda("item.destroy()"),_41a=df.lambda("item.dirty = false"),_41b=df.lambda("item.dirty = true"),_41c=df.lambda("item.name");dojo.declare("dojox.charting.Chart",null,{constructor:function(node,_41d){if(!_41d){_41d={};}this.margins=_41d.margins?_41d.margins:{l:10,t:10,r:10,b:10};this.stroke=_41d.stroke;this.fill=_41d.fill;this.delayInMs=_41d.delayInMs||200;this.title=_41d.title;this.titleGap=_41d.titleGap;this.titlePos=_41d.titlePos;this.titleFont=_41d.titleFont;this.titleFontColor=_41d.titleFontColor;this.chartTitle=null;this.theme=null;this.axes={};this.stack=[];this.plots={};this.series=[];this.runs={};this.dirty=true;this.coords=null;this.node=dojo.byId(node);var box=dojo.marginBox(node);this.surface=g.createSurface(this.node,box.w||400,box.h||300);},destroy:function(){dojo.forEach(this.series,_419);dojo.forEach(this.stack,_419);df.forIn(this.axes,_419);if(this.chartTitle&&this.chartTitle.tagName){dojo.destroy(this.chartTitle);}this.surface.destroy();},getCoords:function(){if(!this.coords){this.coords=dojo.coords(this.node,true);}return this.coords;},setTheme:function(_41e){this.theme=_41e.clone();this.dirty=true;return this;},addAxis:function(name,_41f){var axis,_420=_41f&&_41f.type||"Default";if(typeof _420=="string"){if(!dc.axis2d||!dc.axis2d[_420]){throw Error("Can't find axis: "+_420+" - didn't you forget to dojo"+".require() it?");}axis=new dc.axis2d[_420](this,_41f);}else{axis=new _420(this,_41f);}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,_421){var plot,_422=_421&&_421.type||"Default";if(typeof _422=="string"){if(!dc.plot2d||!dc.plot2d[_422]){throw Error("Can't find plot: "+_422+" - didn't you forget to dojo"+".require() it?");}plot=new dc.plot2d[_422](this,_421);}else{plot=new _422(this,_421);}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;},removePlot:function(name){if(name in this.plots){var _423=this.plots[name];delete this.plots[name];this.stack[_423].destroy();this.stack.splice(_423,1);df.forIn(this.plots,function(idx,name,_424){if(idx>_423){_424[name]=idx-1;}});var ns=dojo.filter(this.series,function(run){return run.plot!=name;});if(ns.length<this.series.length){dojo.forEach(this.series,function(run){if(run.plot==name){run.destroy();}});this.runs={};dojo.forEach(ns,function(run,_425){this.runs[run.plot]=_425;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return df.map(this.stack,_41c);},setPlotOrder:function(_426){var _427={},_428=df.filter(_426,function(name){if(!(name in this.plots)||(name in _427)){return false;}_427[name]=1;return true;},this);if(_428.length<this.stack.length){df.forEach(this.stack,function(plot){var name=plot.name;if(!(name in _427)){_428.push(name);}});}var _429=df.map(_428,function(name){return this.stack[this.plots[name]];},this);df.forEach(_429,function(plot,i){this.plots[plot.name]=i;},this);this.stack=_429;this.dirty=true;return this;},movePlotToFront:function(name){if(name in this.plots){var _42a=this.plots[name];if(_42a){var _42b=this.getPlotOrder();_42b.splice(_42a,1);_42b.unshift(name);return this.setPlotOrder(_42b);}}return this;},movePlotToBack:function(name){if(name in this.plots){var _42c=this.plots[name];if(_42c<this.stack.length-1){var _42d=this.getPlotOrder();_42d.splice(_42c,1);_42d.push(name);return this.setPlotOrder(_42d);}}return this;},addSeries:function(name,data,_42e){var run=new dc.Series(this,data,_42e);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;},removeSeries:function(name){if(name in this.runs){var _42f=this.runs[name];delete this.runs[name];this.series[_42f].destroy();this.series.splice(_42f,1);df.forIn(this.runs,function(idx,name,runs){if(idx>_42f){runs[name]=idx-1;}});this.dirty=true;}return this;},updateSeries:function(name,data){if(name in this.runs){var run=this.series[this.runs[name]];run.update(data);this._invalidateDependentPlots(run.plot,false);this._invalidateDependentPlots(run.plot,true);}return this;},getSeriesOrder:function(_430){return df.map(df.filter(this.series,function(run){return run.plot==_430;}),_41c);},setSeriesOrder:function(_431){var _432,_433={},_434=df.filter(_431,function(name){if(!(name in this.runs)||(name in _433)){return false;}var run=this.series[this.runs[name]];if(_432){if(run.plot!=_432){return false;}}else{_432=run.plot;}_433[name]=1;return true;},this);df.forEach(this.series,function(run){var name=run.name;if(!(name in _433)&&run.plot==_432){_434.push(name);}});var _435=df.map(_434,function(name){return this.series[this.runs[name]];},this);this.series=_435.concat(df.filter(this.series,function(run){return run.plot!=_432;}));df.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 _436=this.runs[name],_437=this.getSeriesOrder(this.series[_436].plot);if(name!=_437[0]){_437.splice(_436,1);_437.unshift(name);return this.setSeriesOrder(_437);}}return this;},moveSeriesToBack:function(name){if(name in this.runs){var _438=this.runs[name],_439=this.getSeriesOrder(this.series[_438].plot);if(name!=_439[_439.length-1]){_439.splice(_438,1);_439.push(name);return this.setSeriesOrder(_439);}}return this;},resize:function(_43a,_43b){var box;switch(arguments.length){case 1:box=dojo.mixin({},_43a);dojo.marginBox(this.node,box);break;case 2:box={w:_43a,h:_43b};dojo.marginBox(this.node,box);break;}box=dojo.marginBox(this.node);this.surface.setDimensions(box.w,box.h);this.dirty=true;this.coords=null;return this.render();},getGeometry:function(){var ret={};df.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,_43c,_43d,zoom){var axis=this.axes[name];if(axis){axis.setWindow(_43c,_43d);dojo.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();}df.forIn(this.axes,function(axis){var _43e,_43f,_440=axis.getScaler().bounds,s=_440.span/(_440.upper-_440.lower);if(axis.vertical){_43e=sy;_43f=dy/s/_43e;}else{_43e=sx;_43f=dx/s/_43e;}axis.setWindow(_43e,_43f);});dojo.forEach(this.stack,function(plot){plot.zoom=zoom;});return this;},zoomIn:function(name,_441){var axis=this.axes[name];if(axis){var _442,_443,_444=axis.getScaler().bounds;var _445=Math.min(_441[0],_441[1]);var _446=Math.max(_441[0],_441[1]);_445=_441[0]<_444.lower?_444.lower:_445;_446=_441[1]>_444.upper?_444.upper:_446;_442=(_444.upper-_444.lower)/(_446-_445);_443=_445-_444.lower;this.setAxisWindow(name,_442,_443);this.render();}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _447=dojo.filter(this.stack,function(plot){return plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty);},this);_448(_447,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();dojo.forEach(this.stack,_417);if(!this.theme){this.setTheme(new dojox.charting.Theme(dojox.charting._def));}dojo.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);dojo.forEach(this.stack,function(plot){if(plot.hAxis){plot.setAxis(this.axes[plot.hAxis]);}if(plot.vAxis){plot.setAxis(this.axes[plot.vAxis]);}},this);var dim=this.dim=this.surface.getDimensions();dim.width=g.normalizedLength(dim.width);dim.height=g.normalizedLength(dim.height);df.forIn(this.axes,_417);_448(this.stack,dim);var _449=this.offsets={l:0,r:0,t:0,b:0};df.forIn(this.axes,function(axis){df.forIn(axis.getOffsets(),function(o,i){_449[i]+=o;});});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 _44a=g.normalizedLength(g.splitFontString(this.titleFont).size);_449[this.titlePos=="top"?"t":"b"]+=(_44a+this.titleGap);}df.forIn(this.margins,function(o,i){_449[i]+=o;});this.plotArea={width:dim.width-_449.l-_449.r,height:dim.height-_449.t-_449.b};df.forIn(this.axes,_417);_448(this.stack,this.plotArea);return this;},render:function(){if(this.theme){this.theme.clear();}if(this.dirty){return this.fullRender();}this.calculateGeometry();df.forEachRev(this.stack,function(plot){plot.render(this.dim,this.offsets);},this);df.forIn(this.axes,function(axis){axis.render(this.dim,this.offsets);},this);this._makeClean();if(this.surface.render){this.surface.render();}return this;},fullRender:function(){this.fullGeometry();var _44b=this.offsets,dim=this.dim,rect;dojo.forEach(this.series,_418);df.forIn(this.axes,_418);dojo.forEach(this.stack,_418);if(this.chartTitle&&this.chartTitle.tagName){dojo.destroy(this.chartTitle);}this.surface.clear();this.chartTitle=null;var t=this.theme,fill=t.plotarea&&t.plotarea.fill,_44c=t.plotarea&&t.plotarea.stroke,rect={x:_44b.l-1,y:_44b.t-1,width:dim.width-_44b.l-_44b.r+2,height:dim.height-_44b.t-_44b.b+2};if(fill){fill=dc.Element.prototype._shapeFill(dc.Element.prototype._plotFill(fill,dim,_44b),rect);this.surface.createRect(rect).setFill(fill);}if(_44c){this.surface.createRect({x:_44b.l,y:_44b.t,width:dim.width-_44b.l-_44b.r+1,height:dim.height-_44b.t-_44b.b+1}).setStroke(_44c);}df.foldr(this.stack,function(z,plot){return plot.render(dim,_44b),0;},0);fill=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);_44c=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(fill=="inherit"){var node=this.node,fill=new dojo.Color(dojo.style(node,"backgroundColor"));while(fill.a==0&&node!=document.documentElement){fill=new dojo.Color(dojo.style(node,"backgroundColor"));node=node.parentNode;}}if(fill){fill=dc.Element.prototype._plotFill(fill,dim,_44b);if(_44b.l){rect={width:_44b.l,height:dim.height+1};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44b.r){rect={x:dim.width-_44b.r,width:_44b.r+1,height:dim.height+2};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44b.t){rect={width:dim.width+1,height:_44b.t};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44b.b){rect={y:dim.height-_44b.b,width:dim.width+1,height:_44b.b+2};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}}if(_44c){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_44c);}if(this.title){var _44d=(g.renderer=="canvas"),_44e=_44d||!dojo.isIE&&!dojo.isOpera?"html":"gfx",_44f=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=dc.axis2d.common.createText[_44e](this,this.surface,dim.width/2,this.titlePos=="top"?_44f+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}df.forIn(this.axes,function(axis){axis.render(dim,_44b);});this._makeClean();if(this.surface.render){this.surface.render();}return this;},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(dojo.hitch(this,function(){clearTimeout(this._delayedRenderHandle);this._delayedRenderHandle=null;this.render();}),this.delayInMs);}return this;},connectToPlot:function(name,_450,_451){return name in this.plots?this.stack[this.plots[name]].connect(_450,_451):null;},fireEvent:function(_452,_453,_454){if(_452 in this.runs){var _455=this.series[this.runs[_452]].plot;if(_455 in this.plots){var plot=this.stack[this.plots[_455]];if(plot){plot.fireEvent(_452,_453,_454);}}}return this;},_makeClean:function(){dojo.forEach(this.axes,_41a);dojo.forEach(this.stack,_41a);dojo.forEach(this.series,_41a);this.dirty=false;},_makeDirty:function(){dojo.forEach(this.axes,_41b);dojo.forEach(this.stack,_41b);dojo.forEach(this.series,_41b);this.dirty=true;},_invalidateDependentPlots:function(_456,_457){if(_456 in this.plots){var plot=this.stack[this.plots[_456]],axis,_458=_457?"vAxis":"hAxis";if(plot[_458]){axis=this.axes[plot[_458]];if(axis&&axis.dependOnData()){axis.dirty=true;dojo.forEach(this.stack,function(p){if(p[_458]&&p[_458]==plot[_458]){p.dirty=true;}});}}else{plot.dirty=true;}}}});function _459(_45a){return {min:_45a.hmin,max:_45a.hmax};};function _45b(_45c){return {min:_45c.vmin,max:_45c.vmax};};function _45d(_45e,h){_45e.hmin=h.min;_45e.hmax=h.max;};function _45f(_460,v){_460.vmin=v.min;_460.vmax=v.max;};function _461(_462,_463){if(_462&&_463){_462.min=Math.min(_462.min,_463.min);_462.max=Math.max(_462.max,_463.max);}return _462||_463;};function _448(_464,_465){var _466={},axes={};dojo.forEach(_464,function(plot){var _467=_466[plot.name]=plot.getSeriesStats();if(plot.hAxis){axes[plot.hAxis]=_461(axes[plot.hAxis],_459(_467));}if(plot.vAxis){axes[plot.vAxis]=_461(axes[plot.vAxis],_45b(_467));}});dojo.forEach(_464,function(plot){var _468=_466[plot.name];if(plot.hAxis){_45d(_468,axes[plot.hAxis]);}if(plot.vAxis){_45f(_468,axes[plot.vAxis]);}plot.initializeScalers(_465,_468);});};})();}if(!dojo._hasResource["dojox.charting.widget.Chart"]){dojo._hasResource["dojox.charting.widget.Chart"]=true;dojo.provide("dojox.charting.widget.Chart");(function(){var _469,_46a,_46b,_46c,_46d,_46e=function(o){return o;},df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting,d=dojo;dojo.declare("dojox.charting.widget.Chart",dijit._Widget,{theme:null,margins:null,stroke:null,fill:null,buildRendering:function(){var n=this.domNode=this.srcNodeRef;var axes=d.query("> .axis",n).map(_46a).filter(_46e),_46f=d.query("> .plot",n).map(_46b).filter(_46e),_470=d.query("> .action",n).map(_46c).filter(_46e),_471=d.query("> .series",n).map(_46d).filter(_46e);n.innerHTML="";var c=this.chart=new dc.Chart(n,{margins:this.margins,stroke:this.stroke,fill:this.fill});if(this.theme){c.setTheme(this.theme);}axes.forEach(function(axis){c.addAxis(axis.name,axis.kwArgs);});_46f.forEach(function(plot){c.addPlot(plot.name,plot.kwArgs);});this.actions=_470.map(function(_472){return new _472.action(c,_472.plot,_472.kwArgs);});var _473=df.foldl(_471,function(_474,_475){if(_475.type=="data"){c.addSeries(_475.name,_475.data,_475.kwArgs);_474=true;}else{c.addSeries(_475.name,[0],_475.kwArgs);var kw={};du.updateWithPattern(kw,_475.kwArgs,{"query":"","queryOptions":null,"start":0,"count":1},true);if(_475.kwArgs.sort){kw.sort=dojo.clone(_475.kwArgs.sort);}d.mixin(kw,{onComplete:function(data){var _476;if("valueFn" in _475.kwArgs){var fn=_475.kwArgs.valueFn;_476=d.map(data,function(x){return fn(_475.data.getValue(x,_475.field,0));});}else{_476=d.map(data,function(x){return _475.data.getValue(x,_475.field,0);});}c.addSeries(_475.name,_476,_475.kwArgs).render();}});_475.data.fetch(kw);}return _474;},false);if(_473){c.render();}},destroy:function(){this.chart.destroy();this.inherited(arguments);},resize:function(box){this.chart.resize(box);}});_469=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);}}};_46a=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=dojox._scopeName+".charting.axis2d."+type;}var axis=eval("("+type+")");if(axis){kw.type=axis;}}else{type=dojox._scopeName+".charting.axis2d.Default";}_469(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;};_46b=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=dojox._scopeName+".charting.plot2d."+type;}var plot=eval("("+type+")");if(plot){kw.type=plot;}}else{type=dojox._scopeName+".charting.plot2d.Default";}_469(node,type,kw);return o;};_46c=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=dojox._scopeName+".charting.action2d."+type;}var _477=eval("("+type+")");if(!_477){return null;}o.action=_477;}else{return null;}_469(node,type,kw);return o;};_46d=function(node){var ga=d.partial(d.attr,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?dojo.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=df.lambda(t);}return o;}return null;};})();}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.getObject("fx.easing",true,dojo);dojo.fx.easing={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-dojo.fx.easing.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 dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dojox.gfx.fx"]){dojo._hasResource["dojox.gfx.fx"]=true;dojo.provide("dojox.gfx.fx");(function(){var d=dojo,g=dojox.gfx,m=g.matrix;function _478(_479,end){this.start=_479,this.end=end;};_478.prototype.getValue=function(r){return (this.end-this.start)*r+this.start;};function _47a(_47b,end,_47c){this.start=_47b,this.end=end;this.units=_47c;};_47a.prototype.getValue=function(r){return (this.end-this.start)*r+this.start+this.units;};function _47d(_47e,end){this.start=_47e,this.end=end;this.temp=new dojo.Color();};_47d.prototype.getValue=function(r){return d.blendColors(this.start,this.end,r,this.temp);};function _47f(_480){this.values=_480;this.length=_480.length;};_47f.prototype.getValue=function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];};function _481(_482,def){this.values=_482;this.def=def?def:{};};_481.prototype.getValue=function(r){var ret=dojo.clone(this.def);for(var i in this.values){ret[i]=this.values[i].getValue(r);}return ret;};function _483(_484,_485){this.stack=_484;this.original=_485;};_483.prototype.getValue=function(r){var ret=[];dojo.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 in m)){return;}var f=m[t.name];if(typeof f!="function"){ret.push(f);return;}var val=dojo.map(t.start,function(v,i){return (t.end[i]-v)*r+v;}),_486=f.apply(m,val);if(_486 instanceof m.Matrix2D){ret.push(_486);}},this);return ret;};var _487=new d.Color(0,0,0,0);function _488(prop,obj,name,def){if(prop.values){return new _47f(prop.values);}var _489,_48a,end;if(prop.start){_48a=g.normalizeColor(prop.start);}else{_48a=_489=obj?(name?obj[name]:obj):def;}if(prop.end){end=g.normalizeColor(prop.end);}else{if(!_489){_489=obj?(name?obj[name]:obj):def;}end=_489;}return new _47d(_48a,end);};function _48b(prop,obj,name,def){if(prop.values){return new _47f(prop.values);}var _48c,_48d,end;if(prop.start){_48d=prop.start;}else{_48d=_48c=obj?obj[name]:def;}if(prop.end){end=prop.end;}else{if(typeof _48c!="number"){_48c=obj?obj[name]:def;}end=_48c;}return new _478(_48d,end);};g.fx.animateStroke=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_48e=args.shape,_48f;d.connect(anim,"beforeBegin",anim,function(){_48f=_48e.getStroke();var prop=args.color,_490={},_491,_492,end;if(prop){_490.color=_488(prop,_48f,"color",_487);}prop=args.style;if(prop&&prop.values){_490.style=new _47f(prop.values);}prop=args.width;if(prop){_490.width=_48b(prop,_48f,"width",1);}prop=args.cap;if(prop&&prop.values){_490.cap=new _47f(prop.values);}prop=args.join;if(prop){if(prop.values){_490.join=new _47f(prop.values);}else{_492=prop.start?prop.start:(_48f&&_48f.join||0);end=prop.end?prop.end:(_48f&&_48f.join||0);if(typeof _492=="number"&&typeof end=="number"){_490.join=new _478(_492,end);}}}this.curve=new _481(_490,_48f);});d.connect(anim,"onAnimate",_48e,"setStroke");return anim;};g.fx.animateFill=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_493=args.shape,fill;d.connect(anim,"beforeBegin",anim,function(){fill=_493.getFill();var prop=args.color,_494={};if(prop){this.curve=_488(prop,fill,"",_487);}});d.connect(anim,"onAnimate",_493,"setFill");return anim;};g.fx.animateFont=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_495=args.shape,font;d.connect(anim,"beforeBegin",anim,function(){font=_495.getFont();var prop=args.style,_496={},_497,_498,end;if(prop&&prop.values){_496.style=new _47f(prop.values);}prop=args.variant;if(prop&&prop.values){_496.variant=new _47f(prop.values);}prop=args.weight;if(prop&&prop.values){_496.weight=new _47f(prop.values);}prop=args.family;if(prop&&prop.values){_496.family=new _47f(prop.values);}prop=args.size;if(prop&&prop.units){_498=parseFloat(prop.start?prop.start:(_495.font&&_495.font.size||"0"));end=parseFloat(prop.end?prop.end:(_495.font&&_495.font.size||"0"));_496.size=new _47a(_498,end,prop.units);}this.curve=new _481(_496,font);});d.connect(anim,"onAnimate",_495,"setFont");return anim;};g.fx.animateTransform=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_499=args.shape,_49a;d.connect(anim,"beforeBegin",anim,function(){_49a=_499.getTransform();this.curve=new _483(args.transform,_49a);});d.connect(anim,"onAnimate",_499,"setTransform");return anim;};})();}if(!dojo._hasResource["dojox.charting.action2d.Base"]){dojo._hasResource["dojox.charting.action2d.Base"]=true;dojo.provide("dojox.charting.action2d.Base");(function(){var _49b=400,_49c=dojo.fx.easing.backOut,df=dojox.lang.functional;dojo.declare("dojox.charting.action2d.Base",null,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_49d,plot,_49e){this.chart=_49d;this.plot=plot||"default";this.anim={};if(!_49e){_49e={};}this.duration=_49e.duration?_49e.duration:_49b;this.easing=_49e.easing?_49e.easing:_49c;},connect:function(){this.handle=this.chart.connectToPlot(this.plot,this,"process");},disconnect:function(){if(this.handle){dojo.disconnect(this.handle);this.handle=null;}},reset:function(){},destroy:function(){this.disconnect();df.forIn(this.anim,function(o){df.forIn(o,function(anim){anim.action.stop(true);});});this.anim={};}});})();}if(!dojo._hasResource["dojox.charting.action2d.Highlight"]){dojo._hasResource["dojox.charting.action2d.Highlight"]=true;dojo.provide("dojox.charting.action2d.Highlight");(function(){var _49f=100,_4a0=75,_4a1=50,c=dojox.color,cc=function(_4a2){return function(){return _4a2;};},hl=function(_4a3){var a=new c.Color(_4a3),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=_49f;if(x.l<_4a1){x.l=_4a0;}else{if(x.l>_4a0){x.l=_4a1;}else{x.l=x.l-_4a1>_4a0-x.l?_4a1:_4a0;}}}return c.fromHsl(x);};dojo.declare("dojox.charting.action2d.Highlight",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut},optionalParams:{highlight:"red"},constructor:function(_4a4,plot,_4a5){var a=_4a5&&_4a5.highlight;this.colorFun=a?(dojo.isFunction(a)?a:cc(a)):hl;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _4a6=o.run.name,_4a7=o.index,anim,_4a8,_4a9;if(_4a6 in this.anim){anim=this.anim[_4a6][_4a7];}else{this.anim[_4a6]={};}if(anim){anim.action.stop(true);}else{var _4aa=o.shape.getFill();if(!_4aa||!(_4aa instanceof dojo.Color)){return;}this.anim[_4a6][_4a7]=anim={start:_4aa,end:this.colorFun(_4aa)};}var _4ab=anim.start,end=anim.end;if(o.type=="onmouseout"){var t=_4ab;_4ab=end;end=t;}anim.action=dojox.gfx.fx.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_4ab,end:end}});if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4a6]){delete this.anim[_4a6][_4a7];}});}anim.action.play();}});})();}if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _4ac=this;dojo.mixin(_4ac,args);_4ac.node=args.node;_4ac._showArgs=dojo.mixin({},args);_4ac._showArgs.node=_4ac.node;_4ac._showArgs.duration=_4ac.showDuration;_4ac.showAnim=_4ac.showFunc(_4ac._showArgs);_4ac._hideArgs=dojo.mixin({},args);_4ac._hideArgs.node=_4ac.node;_4ac._hideArgs.duration=_4ac.hideDuration;_4ac.hideAnim=_4ac.hideFunc(_4ac._hideArgs);dojo.connect(_4ac.showAnim,"beforeBegin",dojo.hitch(_4ac.hideAnim,"stop",true));dojo.connect(_4ac.hideAnim,"beforeBegin",dojo.hitch(_4ac.showAnim,"stop",true));},show:function(_4ad){return this.showAnim.play(_4ad||0);},hide:function(_4ae){return this.hideAnim.play(_4ae||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_4af={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _4b0=function(_4b1){this._index=-1;this._animations=_4b1||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_4b0,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.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=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_4b2,_4b3){if(!this._current){this._current=this._animations[this._index=0];}if(!_4b3&&this._current.status()=="playing"){return this;}var _4b4=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_4b5=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_4b6=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_4b4);d.disconnect(_4b5);d.disconnect(_4b6);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_4b7,_4b8){this.pause();var _4b9=this.duration*_4b7;this._current=null;d.some(this._animations,function(a){if(a.duration<=_4b9){this._current=a;return true;}_4b9-=a.duration;return false;});if(this._current){this._current.gotoPercent(_4b9/this._current.duration,_4b8);}return this;},stop:function(_4ba){if(this._current){if(_4ba){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_4b0,_4af);dojo.fx.chain=function(_4bb){return new _4b0(_4bb);};var _4bc=function(_4bd){this._animations=_4bd||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_4bd,function(a){var _4be=a.duration;if(a.delay){_4be+=a.delay;}if(this.duration<_4be){this.duration=_4be;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});var self=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(d.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};d.extend(_4bc,{_doAction:function(_4bf,args){d.forEach(this._animations,function(a){a[_4bf].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_4c0,args){var t=this._pseudoAnimation;t[_4c0].apply(t,args);},play:function(_4c1,_4c2){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(_4c3,_4c4){var ms=this.duration*_4c3;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_4c4);});this._call("gotoPercent",arguments);return this;},stop:function(_4c5){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_4bc,_4af);dojo.fx.combine=function(_4c6){return new _4bc(_4c6);};dojo.fx.wipeIn=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.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 _4c7=d.style(node,"height");return Math.max(_4c7,1);}},end:function(){return node.scrollHeight;}}}},args));d.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{end:1}}},args));d.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=args.node=d.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=d.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=d.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=d.animateProperty(d.mixin({properties:{top:args.top||0,left:args.left||0}},args));d.connect(anim,"beforeBegin",anim,init);return anim;};})();}if(!dojo._hasResource["dojox.charting.action2d.Magnify"]){dojo._hasResource["dojox.charting.action2d.Magnify"]=true;dojo.provide("dojox.charting.action2d.Magnify");(function(){var _4c8=2,m=dojox.gfx.matrix,gf=dojox.gfx.fx;dojo.declare("dojox.charting.action2d.Magnify",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_4c8},optionalParams:{},constructor:function(_4c9,plot,_4ca){this.scale=_4ca&&typeof _4ca.scale=="number"?_4ca.scale:_4c8;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){return;}var _4cb=o.run.name,_4cc=o.index,_4cd=[],anim,init,_4ce;if(_4cb in this.anim){anim=this.anim[_4cb][_4cc];}else{this.anim[_4cb]={};}if(anim){anim.action.stop(true);}else{this.anim[_4cb][_4cc]=anim={};}if(o.type=="onmouseover"){init=m.identity;_4ce=this.scale;}else{init=m.scaleAt(this.scale,o.cx,o.cy);_4ce=1/this.scale;}var _4cf={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_4ce,o.cx,o.cy]},init]};if(o.shape){_4cd.push(gf.animateTransform(_4cf));}if(o.oultine){_4cf.shape=o.outline;_4cd.push(gf.animateTransform(_4cf));}if(o.shadow){_4cf.shape=o.shadow;_4cd.push(gf.animateTransform(_4cf));}if(!_4cd.length){delete this.anim[_4cb][_4cc];return;}anim.action=dojo.fx.combine(_4cd);if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4cb]){delete this.anim[_4cb][_4cc];}});}anim.action.play();}});})();}if(!dojo._hasResource["dojox.lang.functional.scan"]){dojo._hasResource["dojox.lang.functional.scan"]=true;dojo.provide("dojox.lang.functional.scan");(function(){var d=dojo,df=dojox.lang.functional,_4d0={};d.mixin(df,{scanl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n,i;if(d.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 _4d0)){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||d.global;f=df.lambda(f);var t,n,z,_4d1=true;if(d.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(var i=1;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}}else{for(var i in a){if(!(i in _4d0)){if(_4d1){t=[z=a[i]];_4d1=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||d.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||d.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;}});})();}if(!dojo._hasResource["dojox.charting.action2d.MoveSlice"]){dojo._hasResource["dojox.charting.action2d.MoveSlice"]=true;dojo.provide("dojox.charting.action2d.MoveSlice");(function(){var _4d2=1.05,_4d3=7,m=dojox.gfx.matrix,gf=dojox.gfx.fx,df=dojox.lang.functional;dojo.declare("dojox.charting.action2d.MoveSlice",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_4d2,shift:_4d3},optionalParams:{},constructor:function(_4d4,plot,_4d5){if(!_4d5){_4d5={};}this.scale=typeof _4d5.scale=="number"?_4d5.scale:_4d2;this.shift=typeof _4d5.shift=="number"?_4d5.shift:_4d3;this.connect();},process:function(o){if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){return;}if(!this.angles){var _4d6=m._degToRad(o.plot.opt.startAngle);if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",_4d6),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",_4d6),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _4d7=o.index,anim,_4d8,_4d9,_4da,_4db,_4dc=(this.angles[_4d7]+this.angles[_4d7+1])/2,_4dd=m.rotateAt(-_4dc,o.cx,o.cy),_4de=m.rotateAt(_4dc,o.cx,o.cy);anim=this.anim[_4d7];if(anim){anim.action.stop(true);}else{this.anim[_4d7]=anim={};}if(o.type=="onmouseover"){_4da=0;_4db=this.shift;_4d8=1;_4d9=this.scale;}else{_4da=this.shift;_4db=0;_4d8=this.scale;_4d9=1;}anim.action=dojox.gfx.fx.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_4de,{name:"translate",start:[_4da,0],end:[_4db,0]},{name:"scaleAt",start:[_4d8,o.cx,o.cy],end:[_4d9,o.cx,o.cy]},_4dd]});if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){delete this.anim[_4d7];});}anim.action.play();},reset:function(){delete this.angles;}});})();}if(!dojo._hasResource["dojox.charting.action2d.Shake"]){dojo._hasResource["dojox.charting.action2d.Shake"]=true;dojo.provide("dojox.charting.action2d.Shake");(function(){var _4df=3,m=dojox.gfx.matrix,gf=dojox.gfx.fx;dojo.declare("dojox.charting.action2d.Shake",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,shiftX:_4df,shiftY:_4df},optionalParams:{},constructor:function(_4e0,plot,_4e1){if(!_4e1){_4e1={};}this.shiftX=typeof _4e1.shiftX=="number"?_4e1.shiftX:_4df;this.shiftY=typeof _4e1.shiftY=="number"?_4e1.shiftY:_4df;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _4e2=o.run.name,_4e3=o.index,_4e4=[],anim,_4e5=o.type=="onmouseover"?this.shiftX:-this.shiftX,_4e6=o.type=="onmouseover"?this.shiftY:-this.shiftY;if(_4e2 in this.anim){anim=this.anim[_4e2][_4e3];}else{this.anim[_4e2]={};}if(anim){anim.action.stop(true);}else{this.anim[_4e2][_4e3]=anim={};}var _4e7={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){_4e4.push(gf.animateTransform(_4e7));}if(o.oultine){_4e7.shape=o.outline;_4e4.push(gf.animateTransform(_4e7));}if(o.shadow){_4e7.shape=o.shadow;_4e4.push(gf.animateTransform(_4e7));}if(!_4e4.length){delete this.anim[_4e2][_4e3];return;}anim.action=dojo.fx.combine(_4e4);if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4e2]){delete this.anim[_4e2][_4e3];}});}anim.action.play();}});})();}if(!dojo._hasResource["dojox.charting.action2d.Tooltip"]){dojo._hasResource["dojox.charting.action2d.Tooltip"]=true;dojo.provide("dojox.charting.action2d.Tooltip");(function(){var _4e8=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 df=dojox.lang.functional,m=dojox.gfx.matrix,pi4=Math.PI/4,pi2=Math.PI/2;dojo.declare("dojox.charting.action2d.Tooltip",dojox.charting.action2d.Base,{defaultParams:{text:_4e8},optionalParams:{},constructor:function(_4e9,plot,_4ea){this.text=_4ea&&_4ea.text?_4ea.text:_4e8;this.connect();},process:function(o){if(o.type==="onplotreset"||o.type==="onmouseout"){dijit.hideTooltip(this.aroundRect);this.aroundRect=null;if(o.type==="onplotreset"){delete this.angles;}return;}if(!o.shape||o.type!=="onmouseover"){return;}var _4eb={type:"rect"},_4ec=["after","before"];switch(o.element){case "marker":_4eb.x=o.cx;_4eb.y=o.cy;_4eb.width=_4eb.height=1;break;case "circle":_4eb.x=o.cx-o.cr;_4eb.y=o.cy-o.cr;_4eb.width=_4eb.height=2*o.cr;break;case "column":_4ec=["above","below"];case "bar":_4eb=dojo.clone(o.shape.getShape());break;case "candlestick":_4eb.x=o.x;_4eb.y=o.y;_4eb.width=o.width;_4eb.height=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 _4ed=m._degToRad(o.plot.opt.startAngle),_4ee=(this.angles[o.index]+this.angles[o.index+1])/2+_4ed;_4eb.x=o.cx+o.cr*Math.cos(_4ee);_4eb.y=o.cy+o.cr*Math.sin(_4ee);_4eb.width=_4eb.height=1;if(_4ee<pi4){}else{if(_4ee<pi2+pi4){_4ec=["below","above"];}else{if(_4ee<Math.PI+pi4){_4ec=["before","after"];}else{if(_4ee<2*Math.PI-pi4){_4ec=["above","below"];}}}}break;}var lt=dojo.coords(this.chart.node,true);_4eb.x+=lt.x;_4eb.y+=lt.y;_4eb.x=Math.round(_4eb.x);_4eb.y=Math.round(_4eb.y);_4eb.width=Math.ceil(_4eb.width);_4eb.height=Math.ceil(_4eb.height);this.aroundRect=_4eb;var _4ef=this.text(o);if(_4ef){dijit.showTooltip(_4ef,this.aroundRect,_4ec);}}});})();}if(!dojo._hasResource["dojox.charting.scaler.common"]){dojo._hasResource["dojox.charting.scaler.common"]=true;dojo.provide("dojox.charting.scaler.common");(function(){var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};dojo.mixin(dojox.charting.scaler.common,{findString:function(val,text){val=val.toLowerCase();for(var i=0;i<text.length;++i){if(val==text[i]){return true;}}return false;},getNumericLabel:function(_4f0,_4f1,_4f2){var def="";if(dojo.number){def=(_4f2.fixed?dojo.number.format(_4f0,{places:_4f1<0?-_4f1:0}):dojo.number.format(_4f0))||"";}else{def=_4f2.fixed?_4f0.toFixed(_4f1<0?-_4f1:0):_4f0.toString();}if(_4f2.labelFunc){var r=_4f2.labelFunc(def,_4f0,_4f1);if(r){return r;}}if(_4f2.labels){var l=_4f2.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_4f0){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_4f0)){return l[lo].text;}--lo;if(lo>=0&&lo<l.length&&eq(l[lo].value,_4f0)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_4f0)){return l[lo].text;}}return def;}});})();}if(!dojo._hasResource["dojox.charting.scaler.linear"]){dojo._hasResource["dojox.charting.scaler.linear"]=true;dojo.provide("dojox.charting.scaler.linear");(function(){var _4f3=3,dc=dojox.charting,dcs=dc.scaler,dcsc=dcs.common,_4f4=dcsc.findString,_4f5=dcsc.getNumericLabel;var _4f6=function(min,max,_4f7,_4f8,_4f9,_4fa,span){_4f7=dojo.delegate(_4f7);if(!_4f8){if(_4f7.fixUpper=="major"){_4f7.fixUpper="minor";}if(_4f7.fixLower=="major"){_4f7.fixLower="minor";}}if(!_4f9){if(_4f7.fixUpper=="minor"){_4f7.fixUpper="micro";}if(_4f7.fixLower=="minor"){_4f7.fixLower="micro";}}if(!_4fa){if(_4f7.fixUpper=="micro"){_4f7.fixUpper="none";}if(_4f7.fixLower=="micro"){_4f7.fixLower="none";}}var _4fb=_4f4(_4f7.fixLower,["major"])?Math.floor(_4f7.min/_4f8)*_4f8:_4f4(_4f7.fixLower,["minor"])?Math.floor(_4f7.min/_4f9)*_4f9:_4f4(_4f7.fixLower,["micro"])?Math.floor(_4f7.min/_4fa)*_4fa:_4f7.min,_4fc=_4f4(_4f7.fixUpper,["major"])?Math.ceil(_4f7.max/_4f8)*_4f8:_4f4(_4f7.fixUpper,["minor"])?Math.ceil(_4f7.max/_4f9)*_4f9:_4f4(_4f7.fixUpper,["micro"])?Math.ceil(_4f7.max/_4fa)*_4fa:_4f7.max;if(_4f7.useMin){min=_4fb;}if(_4f7.useMax){max=_4fc;}var _4fd=(!_4f8||_4f7.useMin&&_4f4(_4f7.fixLower,["major"]))?min:Math.ceil(min/_4f8)*_4f8,_4fe=(!_4f9||_4f7.useMin&&_4f4(_4f7.fixLower,["major","minor"]))?min:Math.ceil(min/_4f9)*_4f9,_4ff=(!_4fa||_4f7.useMin&&_4f4(_4f7.fixLower,["major","minor","micro"]))?min:Math.ceil(min/_4fa)*_4fa,_500=!_4f8?0:(_4f7.useMax&&_4f4(_4f7.fixUpper,["major"])?Math.round((max-_4fd)/_4f8):Math.floor((max-_4fd)/_4f8))+1,_501=!_4f9?0:(_4f7.useMax&&_4f4(_4f7.fixUpper,["major","minor"])?Math.round((max-_4fe)/_4f9):Math.floor((max-_4fe)/_4f9))+1,_502=!_4fa?0:(_4f7.useMax&&_4f4(_4f7.fixUpper,["major","minor","micro"])?Math.round((max-_4ff)/_4fa):Math.floor((max-_4ff)/_4fa))+1,_503=_4f9?Math.round(_4f8/_4f9):0,_504=_4fa?Math.round(_4f9/_4fa):0,_505=_4f8?Math.floor(Math.log(_4f8)/Math.LN10):0,_506=_4f9?Math.floor(Math.log(_4f9)/Math.LN10):0,_507=span/(max-min);if(!isFinite(_507)){_507=1;}return {bounds:{lower:_4fb,upper:_4fc,from:min,to:max,scale:_507,span:span},major:{tick:_4f8,start:_4fd,count:_500,prec:_505},minor:{tick:_4f9,start:_4fe,count:_501,prec:_506},micro:{tick:_4fa,start:_4ff,count:_502,prec:0},minorPerMajor:_503,microPerMinor:_504,scaler:dcs.linear};};dojo.mixin(dojox.charting.scaler.linear,{buildScaler:function(min,max,span,_508){var h={fixUpper:"none",fixLower:"none",natural:false};if(_508){if("fixUpper" in _508){h.fixUpper=String(_508.fixUpper);}if("fixLower" in _508){h.fixLower=String(_508.fixLower);}if("natural" in _508){h.natural=Boolean(_508.natural);}}if("min" in _508){min=_508.min;}if("max" in _508){max=_508.max;}if(_508.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 _508){min=_508.from;h.useMin=false;}if("to" in _508){max=_508.to;h.useMax=false;}if(max<=min){return _4f6(min,max,h,0,0,0,span);}var mag=Math.floor(Math.log(max-min)/Math.LN10),_509=_508&&("majorTickStep" in _508)?_508.majorTickStep:Math.pow(10,mag),_50a=0,_50b=0,_50c;if(_508&&("minorTickStep" in _508)){_50a=_508.minorTickStep;}else{do{_50a=_509/10;if(!h.natural||_50a>0.9){_50c=_4f6(min,max,h,_509,_50a,0,span);if(_50c.bounds.scale*_50c.minor.tick>_4f3){break;}}_50a=_509/5;if(!h.natural||_50a>0.9){_50c=_4f6(min,max,h,_509,_50a,0,span);if(_50c.bounds.scale*_50c.minor.tick>_4f3){break;}}_50a=_509/2;if(!h.natural||_50a>0.9){_50c=_4f6(min,max,h,_509,_50a,0,span);if(_50c.bounds.scale*_50c.minor.tick>_4f3){break;}}return _4f6(min,max,h,_509,0,0,span);}while(false);}if(_508&&("microTickStep" in _508)){_50b=_508.microTickStep;_50c=_4f6(min,max,h,_509,_50a,_50b,span);}else{do{_50b=_50a/10;if(!h.natural||_50b>0.9){_50c=_4f6(min,max,h,_509,_50a,_50b,span);if(_50c.bounds.scale*_50c.micro.tick>_4f3){break;}}_50b=_50a/5;if(!h.natural||_50b>0.9){_50c=_4f6(min,max,h,_509,_50a,_50b,span);if(_50c.bounds.scale*_50c.micro.tick>_4f3){break;}}_50b=_50a/2;if(!h.natural||_50b>0.9){_50c=_4f6(min,max,h,_509,_50a,_50b,span);if(_50c.bounds.scale*_50c.micro.tick>_4f3){break;}}_50b=0;}while(false);}return _50b?_50c:_4f6(min,max,h,_509,_50a,0,span);},buildTicks:function(_50d,_50e){var step,next,tick,_50f=_50d.major.start,_510=_50d.minor.start,_511=_50d.micro.start;if(_50e.microTicks&&_50d.micro.tick){step=_50d.micro.tick,next=_511;}else{if(_50e.minorTicks&&_50d.minor.tick){step=_50d.minor.tick,next=_510;}else{if(_50d.major.tick){step=_50d.major.tick,next=_50f;}else{return null;}}}var _512=1/_50d.bounds.scale;if(_50d.bounds.to<=_50d.bounds.from||isNaN(_512)||!isFinite(_512)||step<=0||isNaN(step)||!isFinite(step)){return null;}var _513=[],_514=[],_515=[];while(next<=_50d.bounds.to+_512){if(Math.abs(_50f-next)<step/2){tick={value:_50f};if(_50e.majorLabels){tick.label=_4f5(_50f,_50d.major.prec,_50e);}_513.push(tick);_50f+=_50d.major.tick;_510+=_50d.minor.tick;_511+=_50d.micro.tick;}else{if(Math.abs(_510-next)<step/2){if(_50e.minorTicks){tick={value:_510};if(_50e.minorLabels&&(_50d.minMinorStep<=_50d.minor.tick*_50d.bounds.scale)){tick.label=_4f5(_510,_50d.minor.prec,_50e);}_514.push(tick);}_510+=_50d.minor.tick;_511+=_50d.micro.tick;}else{if(_50e.microTicks){_515.push({value:_511});}_511+=_50d.micro.tick;}}next+=step;}return {major:_513,minor:_514,micro:_515};},getTransformerFromModel:function(_516){var _517=_516.bounds.from,_518=_516.bounds.scale;return function(x){return (x-_517)*_518;};},getTransformerFromPlot:function(_519){var _51a=_519.bounds.from,_51b=_519.bounds.scale;return function(x){return x/_51b+_51a;};}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Base"]){dojo._hasResource["dojox.charting.axis2d.Base"]=true;dojo.provide("dojox.charting.axis2d.Base");dojo.declare("dojox.charting.axis2d.Base",dojox.charting.Element,{constructor:function(_51c,_51d){this.vertical=_51d&&_51d.vertical;},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,_51e){this.dirty=false;return this;}});}if(!dojo._hasResource["dojox.charting.axis2d.Invisible"]){dojo._hasResource["dojox.charting.axis2d.Invisible"]=true;dojo.provide("dojox.charting.axis2d.Invisible");(function(){var dc=dojox.charting,df=dojox.lang.functional,du=dojox.lang.utils,g=dojox.gfx,lin=dc.scaler.linear,_51f=du.merge,_520=4,_521=45;dojo.declare("dojox.charting.axis2d.Invisible",dojox.charting.axis2d.Base,{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},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1,labels:[],labelFunc:null,maxLabelSize:0,maxLabelCharCount:0,trailingSymbol:null},constructor:function(_522,_523){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_523);du.updateWithPattern(this.opt,_523,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(_524,_525){this.scale=_524;this.offset=_525;return this.clear();},getWindowScale:function(){return "scale" in this?this.scale:1;},getWindowOffset:function(){return "offset" in this?this.offset:0;},_groupLabelWidth:function(_526,font,_527){if(!_526.length){return 0;}if(dojo.isObject(_526[0])){_526=df.map(_526,function(_528){return _528.text;});}if(_527){_526=df.map(_526,function(_529){return dojo.trim(_529).length==0?"":_529.substring(0,_527)+this.trailingSymbol;},this);}var s=_526.join("<br>");return dojox.gfx._base._getTextBox(s,{font:font}).w||0;},calculate:function(min,max,span,_52a){if(this.initialized()){return this;}var o=this.opt;this.labels="labels" in o?o.labels:_52a;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;}}var ta=this.chart.theme.axis,_52b=0,_52c=o.rotation%360,_52d=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),size=_52d?g.normalizedLength(g.splitFontString(_52d).size):0,cosr=Math.abs(Math.cos(_52c*Math.PI/180)),sinr=Math.abs(Math.sin(_52c*Math.PI/180));if(_52c<0){_52c+=360;}if(size){if(this.vertical?_52c!=0&&_52c!=180:_52c!=90&&_52c!=270){if(this.labels){_52b=this._groupLabelWidth(this.labels,_52d,o.maxLabelCharCount);}else{var _52e=Math.ceil(Math.log(Math.max(Math.abs(tsb.from),Math.abs(tsb.to)))/Math.LN10),t=[];if(tsb.from<0||tsb.to<0){t.push("-");}t.push(dojo.string.rep("9",_52e));var _52f=Math.floor(Math.log(tsb.to-tsb.from)/Math.LN10);if(_52f>0){t.push(".");t.push(dojo.string.rep("9",_52f));}_52b=dojox.gfx._base._getTextBox(t.join(""),{font:_52d}).w;}_52b=o.maxLabelSize?Math.min(o.maxLabelSize,_52b):_52b;}else{_52b=size;}switch(_52c){case 0:case 90:case 180:case 270:break;default:var gap1=Math.sqrt(_52b*_52b+size*size),gap2=this.vertical?size*cosr+_52b*sinr:_52b*cosr+size*sinr;_52b=Math.min(gap1,gap2);break;}}this.scaler.minMinorStep=_52b+_520;this.ticks=lin.buildTicks(this.scaler,o);return this;},getScaler:function(){return this.scaler;},getTicks:function(){return this.ticks;}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Default"]){dojo._hasResource["dojox.charting.axis2d.Default"]=true;dojo.provide("dojox.charting.axis2d.Default");(function(){var dc=dojox.charting,du=dojox.lang.utils,g=dojox.gfx,lin=dc.scaler.linear,_530=4,_531=45;dojo.declare("dojox.charting.axis2d.Default",dojox.charting.axis2d.Invisible,{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},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(_532,_533){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_533);du.updateWithPattern(this.opt,_533,this.optionalParams);},getOffsets:function(){var s=this.scaler,_534={l:0,r:0,t:0,b:0};if(!s){return _534;}var o=this.opt,_535=0,a,b,c,d,gl=dc.scaler.common.getNumericLabel,_536=0,ma=s.major,mi=s.minor,ta=this.chart.theme.axis,_537=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_538=o.titleFont||(ta.tick&&ta.tick.titleFont),_539=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_53a=this.chart.theme.getTick("major",o),_53b=this.chart.theme.getTick("minor",o),size=_537?g.normalizedLength(g.splitFontString(_537).size):0,_53c=_538?g.normalizedLength(g.splitFontString(_538).size):0,_53d=o.rotation%360,_53e=o.leftBottom,cosr=Math.abs(Math.cos(_53d*Math.PI/180)),sinr=Math.abs(Math.sin(_53d*Math.PI/180));this.trailingSymbol=(o.trailingSymbol===undefined||o.trailingSymbol===null)?this.trailingSymbol:o.trailingSymbol;if(_53d<0){_53d+=360;}if(size){if(this.labels){_535=this._groupLabelWidth(this.labels,_537,o.maxLabelCharCount);}else{_535=this._groupLabelWidth([gl(ma.start,ma.prec,o),gl(ma.start+ma.count*ma.tick,ma.prec,o),gl(mi.start,mi.prec,o),gl(mi.start+mi.count*mi.tick,mi.prec,o)],_537,o.maxLabelCharCount);}_535=o.maxLabelSize?Math.min(o.maxLabelSize,_535):_535;if(this.vertical){var side=_53e?"l":"r";switch(_53d){case 0:case 180:_534[side]=_535;_534.t=_534.b=size/2;break;case 90:case 270:_534[side]=size;_534.t=_534.b=_535/2;break;default:if(_53d<=_531||(180<_53d&&_53d<=(180+_531))){_534[side]=size*sinr/2+_535*cosr;_534[_53e?"t":"b"]=size*cosr/2+_535*sinr;_534[_53e?"b":"t"]=size*cosr/2;}else{if(_53d>(360-_531)||(180>_53d&&_53d>(180-_531))){_534[side]=size*sinr/2+_535*cosr;_534[_53e?"b":"t"]=size*cosr/2+_535*sinr;_534[_53e?"t":"b"]=size*cosr/2;}else{if(_53d<90||(180<_53d&&_53d<270)){_534[side]=size*sinr+_535*cosr;_534[_53e?"t":"b"]=size*cosr+_535*sinr;}else{_534[side]=size*sinr+_535*cosr;_534[_53e?"b":"t"]=size*cosr+_535*sinr;}}}break;}_534[side]+=_530+Math.max(_53a.length,_53b.length)+(o.title?(_53c+_539):0);}else{var side=_53e?"b":"t";switch(_53d){case 0:case 180:_534[side]=size;_534.l=_534.r=_535/2;break;case 90:case 270:_534[side]=_535;_534.l=_534.r=size/2;break;default:if((90-_531)<=_53d&&_53d<=90||(270-_531)<=_53d&&_53d<=270){_534[side]=size*sinr/2+_535*cosr;_534[_53e?"r":"l"]=size*cosr/2+_535*sinr;_534[_53e?"l":"r"]=size*cosr/2;}else{if(90<=_53d&&_53d<=(90+_531)||270<=_53d&&_53d<=(270+_531)){_534[side]=size*sinr/2+_535*cosr;_534[_53e?"l":"r"]=size*cosr/2+_535*sinr;_534[_53e?"r":"l"]=size*cosr/2;}else{if(_53d<_531||(180<_53d&&_53d<(180-_531))){_534[side]=size*sinr+_535*cosr;_534[_53e?"r":"l"]=size*cosr+_535*sinr;}else{_534[side]=size*sinr+_535*cosr;_534[_53e?"l":"r"]=size*cosr+_535*sinr;}}}break;}_534[side]+=_530+Math.max(_53a.length,_53b.length)+(o.title?(_53c+_539):0);}}if(_535){this._cachedLabelWidth=_535;}return _534;},render:function(dim,_53f){if(!this.dirty){return this;}var o=this.opt,ta=this.chart.theme.axis,_540=o.leftBottom,_541=o.rotation%360,_542,stop,_543,_544=0,_545,_546,_547,_548,_549,_54a,_54b=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_54c=o.titleFont||(ta.tick&&ta.tick.titleFont),_54d=o.fontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"black",_54e=o.titleFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_54f=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_550=o.titleOrientation||(ta.tick&&ta.tick.titleOrientation)||"axis",_551=this.chart.theme.getTick("major",o),_552=this.chart.theme.getTick("minor",o),_553=this.chart.theme.getTick("micro",o),_554=Math.max(_551.length,_552.length,_553.length),_555="stroke" in o?o.stroke:ta.stroke,size=_54b?g.normalizedLength(g.splitFontString(_54b).size):0,cosr=Math.abs(Math.cos(_541*Math.PI/180)),sinr=Math.abs(Math.sin(_541*Math.PI/180)),_556=_54c?g.normalizedLength(g.splitFontString(_54c).size):0;if(_541<0){_541+=360;}if(this.vertical){_542={y:dim.height-_53f.b};stop={y:_53f.t};_543={y:(dim.height-_53f.b+_53f.t)/2};_545=size*sinr+(this._cachedLabelWidth||0)*cosr+_530+Math.max(_551.length,_552.length)+_556+_54f;_546={x:0,y:-1};_549={x:0,y:0};_547={x:1,y:0};_548={x:_530,y:0};switch(_541){case 0:_54a="end";_549.y=size*0.4;break;case 90:_54a="middle";_549.x=-size;break;case 180:_54a="start";_549.y=-size*0.4;break;case 270:_54a="middle";break;default:if(_541<_531){_54a="end";_549.y=size*0.4;}else{if(_541<90){_54a="end";_549.y=size*0.4;}else{if(_541<(180-_531)){_54a="start";}else{if(_541<(180+_531)){_54a="start";_549.y=-size*0.4;}else{if(_541<270){_54a="start";_549.x=_540?0:size*0.4;}else{if(_541<(360-_531)){_54a="end";_549.x=_540?0:size*0.4;}else{_54a="end";_549.y=size*0.4;}}}}}}}if(_540){_542.x=stop.x=_53f.l;_544=(_550&&_550=="away")?90:270;_543.x=_53f.l-_545+(_544==270?_556:0);_547.x=-1;_548.x=-_548.x;}else{_542.x=stop.x=dim.width-_53f.r;_544=(_550&&_550=="axis")?90:270;_543.x=dim.width-_53f.r+_545-(_544==270?0:_556);switch(_54a){case "start":_54a="end";break;case "end":_54a="start";break;case "middle":_549.x+=size;break;}}}else{_542={x:_53f.l};stop={x:dim.width-_53f.r};_543={x:(dim.width-_53f.r+_53f.l)/2};_545=size*cosr+(this._cachedLabelWidth||0)*sinr+_530+Math.max(_551.length,_552.length)+_556+_54f;_546={x:1,y:0};_549={x:0,y:0};_547={x:0,y:1};_548={x:0,y:_530};switch(_541){case 0:_54a="middle";_549.y=size;break;case 90:_54a="start";_549.x=-size*0.4;break;case 180:_54a="middle";break;case 270:_54a="end";_549.x=size*0.4;break;default:if(_541<(90-_531)){_54a="start";_549.y=_540?size:0;}else{if(_541<(90+_531)){_54a="start";_549.x=-size*0.4;}else{if(_541<180){_54a="start";_549.y=_540?0:-size;}else{if(_541<(270-_531)){_54a="end";_549.y=_540?0:-size;}else{if(_541<(270+_531)){_54a="end";_549.y=_540?size*0.4:0;}else{_54a="end";_549.y=_540?size:0;}}}}}}if(_540){_542.y=stop.y=dim.height-_53f.b;_544=(_550&&_550=="axis")?180:0;_543.y=dim.height-_53f.b+_545-(_544?_556:0);}else{_542.y=stop.y=_53f.t;_544=(_550&&_550=="away")?180:0;_543.y=_53f.t-_545+(_544?0:_556);_547.y=-1;_548.y=-_548.y;switch(_54a){case "start":_54a="end";break;case "end":_54a="start";break;case "middle":_549.y-=size;break;}}}this.cleanGroup();try{var s=this.group,c=this.scaler,t=this.ticks,_557,f=lin.getTransformerFromModel(this.scaler),_558=!_544&&!_541&&this.opt.htmlLabels&&!dojo.isIE&&!dojo.isOpera?"html":"gfx",dx=_547.x*_551.length,dy=_547.y*_551.length;s.createLine({x1:_542.x,y1:_542.y,x2:stop.x,y2:stop.y}).setStroke(_555);if(o.title){var _559=dc.axis2d.common.createText[_558](this.chart,s,_543.x,_543.y,"middle",o.title,_54c,_54e);if(_558=="html"){this.htmlElements.push(_559);}else{_559.setTransform(g.matrix.rotategAt(_544,_543.x,_543.y));}}dojo.forEach(t.major,function(tick){var _55a=f(tick.value),elem,x=_542.x+_546.x*_55a,y=_542.y+_546.y*_55a;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_551);if(tick.label){var _55b=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_54b,o.maxLabelCharCount):{text:tick.label,truncated:false};_55b=o.maxLabelSize?this.getTextWithLimitLength(_55b.text,_54b,o.maxLabelSize,_55b.truncated):_55b;elem=dc.axis2d.common.createText[_558](this.chart,s,x+dx+_548.x+(_541?0:_549.x),y+dy+_548.y+(_541?0:_549.y),_54a,_55b.text,_54b,_54d);_55b.truncated&&this.labelTooltip(elem,this.chart,tick.label,_55b.text,_54b,_558);if(_558=="html"){this.htmlElements.push(elem);}else{if(_541){elem.setTransform([{dx:_549.x,dy:_549.y},g.matrix.rotategAt(_541,x+dx+_548.x,y+dy+_548.y)]);}}}},this);dx=_547.x*_552.length;dy=_547.y*_552.length;_557=c.minMinorStep<=c.minor.tick*c.bounds.scale;dojo.forEach(t.minor,function(tick){var _55c=f(tick.value),elem,x=_542.x+_546.x*_55c,y=_542.y+_546.y*_55c;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_552);if(_557&&tick.label){var _55d=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_54b,o.maxLabelCharCount):{text:tick.label,truncated:false};_55d=o.maxLabelSize?this.getTextWithLimitLength(_55d.text,_54b,o.maxLabelSize,_55d.truncated):_55d;elem=dc.axis2d.common.createText[_558](this.chart,s,x+dx+_548.x+(_541?0:_549.x),y+dy+_548.y+(_541?0:_549.y),_54a,_55d.text,_54b,_54d);_55d.truncated&&this.labelTooltip(elem,this.chart,tick.label,_55d.text,_54b,_558);if(_558=="html"){this.htmlElements.push(elem);}else{if(_541){elem.setTransform([{dx:_549.x,dy:_549.y},g.matrix.rotategAt(_541,x+dx+_548.x,y+dy+_548.y)]);}}}},this);dx=_547.x*_553.length;dy=_547.y*_553.length;dojo.forEach(t.micro,function(tick){var _55e=f(tick.value),elem,x=_542.x+_546.x*_55e,y=_542.y+_546.y*_55e;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_553);},this);}catch(e){}this.dirty=false;return this;},labelTooltip:function(elem,_55f,_560,_561,font,_562){if(!dijit||!dijit.Tooltip){return;}var _563={type:"rect"},_564=["above","below"],_565=dojox.gfx._base._getTextBox(_561,{font:font}).w||0;fontHeight=font?g.normalizedLength(g.splitFontString(font).size):0;if(_562=="html"){dojo.mixin(_563,dojo.coords(elem.firstChild,true));_563.width=Math.ceil(_565);_563.height=Math.ceil(fontHeight);this._events.push({shape:dojo,handle:dojo.connect(elem.firstChild,"onmouseover",this,function(e){dijit.showTooltip(_560,_563,_564);})});this._events.push({shape:dojo,handle:dojo.connect(elem.firstChild,"onmouseout",this,function(e){dijit.hideTooltip(_563);})});}else{var shp=elem.getShape(),lt=dojo.coords(_55f.node,true);_563=dojo.mixin(_563,{x:shp.x-_565/2,y:shp.y});_563.x+=lt.x;_563.y+=lt.y;_563.x=Math.round(_563.x);_563.y=Math.round(_563.y);_563.width=Math.ceil(_565);_563.height=Math.ceil(fontHeight);this._events.push({shape:elem,handle:elem.connect("onmouseenter",this,function(e){dijit.showTooltip(_560,_563,_564);})});this._events.push({shape:elem,handle:elem.connect("onmouseleave",this,function(e){dijit.hideTooltip(_563);})});}}});})();}if(!dojo._hasResource["dojox.charting.plot2d.common"]){dojo._hasResource["dojox.charting.plot2d.common"]=true;dojo.provide("dojox.charting.plot2d.common");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common;dojo.mixin(dojox.charting.plot2d.common,{makeStroke:function(_566){if(!_566){return _566;}if(typeof _566=="string"||_566 instanceof dojo.Color){_566={color:_566};}return dojox.gfx.makeParameters(dojox.gfx.defaultStroke,_566);},augmentColor:function(_567,_568){var t=new dojo.Color(_567),c=new dojo.Color(_568);c.a=t.a;return c;},augmentStroke:function(_569,_56a){var s=dc.makeStroke(_569);if(s){s.color=dc.augmentColor(s.color,_56a);}return s;},augmentFill:function(fill,_56b){var fc,c=new dojo.Color(_56b);if(typeof fill=="string"||fill instanceof dojo.Color){return dc.augmentColor(fill,_56b);}return fill;},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_56c){var _56d=dojo.delegate(dc.defaultStats);for(var i=0;i<_56c.length;++i){var run=_56c[i];for(var j=0;j<run.data.length;j++){if(run.data[j]!==null){if(typeof run.data[j]=="number"){var _56e=_56d.vmin,_56f=_56d.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,i){if(val!==null){var x=i+1,y=val;if(isNaN(y)){y=0;}_56d.hmin=Math.min(_56d.hmin,x);_56d.hmax=Math.max(_56d.hmax,x);_56d.vmin=Math.min(_56d.vmin,y);_56d.vmax=Math.max(_56d.vmax,y);}});}if("ymin" in run){_56d.vmin=Math.min(_56e,run.ymin);}if("ymax" in run){_56d.vmax=Math.max(_56f,run.ymax);}}else{var _570=_56d.hmin,_571=_56d.hmax,_56e=_56d.vmin,_56f=_56d.vmax;if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){dojo.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;}_56d.hmin=Math.min(_56d.hmin,x);_56d.hmax=Math.max(_56d.hmax,x);_56d.vmin=Math.min(_56d.vmin,y);_56d.vmax=Math.max(_56d.vmax,y);}});}if("xmin" in run){_56d.hmin=Math.min(_570,run.xmin);}if("xmax" in run){_56d.hmax=Math.max(_571,run.xmax);}if("ymin" in run){_56d.vmin=Math.min(_56e,run.ymin);}if("ymax" in run){_56d.vmax=Math.max(_56f,run.ymax);}}break;}}}return _56d;},calculateBarSize:function(_572,opt,_573){if(!_573){_573=1;}var gap=opt.gap,size=(_572-2*gap)/_573;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=(_572-size*_573)/2;return {size:size,gap:gap};},collectStackedStats:function(_574){var _575=dojo.clone(dc.defaultStats);if(_574.length){_575.hmin=Math.min(_575.hmin,1);_575.hmax=df.foldl(_574,"seed, run -> Math.max(seed, run.data.length)",_575.hmax);for(var i=0;i<_575.hmax;++i){var v=_574[0].data[i];v=v&&(typeof v=="number"?v:v.y);if(isNaN(v)){v=0;}_575.vmin=Math.min(_575.vmin,v);for(var j=1;j<_574.length;++j){var t=_574[j].data[i];t=t&&(typeof t=="number"?t:t.y);if(isNaN(t)){t=0;}v+=t;}_575.vmax=Math.max(_575.vmax,v);}}return _575;},curve:function(a,_576){var arr=a.slice(0);if(_576=="x"){arr[arr.length]=arr[0];}var p=dojo.map(arr,function(item,i){if(i==0){return "M"+item.x+","+item.y;}if(!isNaN(_576)){var dx=item.x-arr[i-1].x,dy=arr[i-1].y;return "C"+(item.x-(_576-1)*(dx/_576))+","+dy+" "+(item.x-(dx/_576))+","+item.y+" "+item.x+","+item.y;}else{if(_576=="X"||_576=="x"||_576=="S"){var p0,p1=arr[i-1],p2=arr[i],p3;var bz1x,bz1y,bz2x,bz2y;var f=1/6;if(i==1){if(_576=="x"){p0=arr[arr.length-2];}else{p0=p1;}f=1/3;}else{p0=arr[i-2];}if(i==(arr.length-1)){if(_576=="x"){p3=arr[1];}else{p3=p2;}f=1/3;}else{p3=arr[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 _577=p0p2*f;var _578=p1p3*f;if(_577>p1p2/2&&_578>p1p2/2){_577=p1p2/2;_578=p1p2/2;}else{if(_577>p1p2/2){_577=p1p2/2;_578=p1p2/2*p1p3/p0p2;}else{if(_578>p1p2/2){_578=p1p2/2;_577=p1p2/2*p0p2/p1p3;}}}if(_576=="S"){if(p0==p1){_577=0;}if(p2==p3){_578=0;}}bz1x=p1.x+_577*(p2.x-p0.x)/p0p2;bz1y=p1.y+_577*(p2.y-p0.y)/p0p2;bz2x=p2.x-_578*(p3.x-p1.x)/p1p3;bz2y=p2.y-_578*(p3.y-p1.y)/p1p3;}}return "C"+(bz1x+","+bz1y+" "+bz2x+","+bz2y+" "+p2.x+","+p2.y);});return p.join(" ");},getLabel:function(_579,_57a,_57b){if(dojo.number){return (_57a?dojo.number.format(_579,{places:_57b}):dojo.number.format(_579))||"";}return _57a?_579.toFixed(_57b):_579.toString();}});})();}if(!dojo._hasResource["dojox.charting.scaler.primitive"]){dojo._hasResource["dojox.charting.scaler.primitive"]=true;dojo.provide("dojox.charting.scaler.primitive");dojox.charting.scaler.primitive={buildScaler:function(min,max,span,_57c){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:dojox.charting.scaler.primitive};},buildTicks:function(_57d,_57e){return {major:[],minor:[],micro:[]};},getTransformerFromModel:function(_57f){var _580=_57f.bounds.from,_581=_57f.bounds.scale;return function(x){return (x-_580)*_581;};},getTransformerFromPlot:function(_582){var _583=_582.bounds.from,_584=_582.bounds.scale;return function(x){return x/_584+_583;};}};}if(!dojo._hasResource["dojox.charting.plot2d._PlotEvents"]){dojo._hasResource["dojox.charting.plot2d._PlotEvents"]=true;dojo.provide("dojox.charting.plot2d._PlotEvents");dojo.declare("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=dojo.delegate(o);t.originalEvent=o.type;t.originalPlot=o.plot;t.type="onindirect";dojo.forEach(this.chart.stack,function(plot){if(plot!==this&&plot.plotEvent){t.plot=plot;plot.plotEvent(t);}},this);},connect:function(_585,_586){this.dirty=true;return dojo.connect(this,"plotEvent",_585,_586);},events:function(){var ls=this.plotEvent._listeners;if(!ls||!ls.length){return false;}for(var i in ls){if(!(i in Array.prototype)){return true;}}return false;},resetEvents:function(){if(this._shapeEvents.length){dojo.forEach(this._shapeEvents,function(item){item.shape.disconnect(item.handle);});this._shapeEvents=[];}this.raiseEvent({type:"onplotreset",plot:this});},_connectSingleEvent:function(o,_587){this._shapeEvents.push({shape:o.eventMask,handle:o.eventMask.connect(_587,this,function(e){o.type=_587;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(_588){var a=this._eventSeries[_588];if(a){dojo.forEach(a,this._connectEvents,this);}},fireEvent:function(_589,_58a,_58b,_58c){var s=this._eventSeries[_589];if(s&&s.length&&_58b<s.length){var o=s[_58b];o.type=_58a;o.event=_58c||null;this.raiseEvent(o);o.event=null;}}});}if(!dojo._hasResource["dojox.charting.plot2d.Base"]){dojo._hasResource["dojox.charting.plot2d.Base"]=true;dojo.provide("dojox.charting.plot2d.Base");dojo.declare("dojox.charting.plot2d.Base",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{constructor:function(_58d,_58e){this.zoom=null,this.zoomQueue=[];this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0};},clear:function(){this.series=[];this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){this.series.push(run);return this;},getSeriesStats:function(){return dojox.charting.plot2d.common.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},isDataDirty:function(){return dojo.some(this.series,function(item){return item.dirty;});},performZoom:function(dim,_58f){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_590=dim.height-_58f.b,_591=this._hScaler.bounds,_592=(_591.from-_591.lower)*_591.scale,_593=this._vScaler.bounds,_594=(_593.from-_593.lower)*_593.scale;rVScale=vs/this.lastWindow.vscale,rHScale=hs/this.lastWindow.hscale,rXOffset=(this.lastWindow.xoffset-_592)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),rYOffset=(_594-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),shape=this.group,anim=dojox.gfx.fx.animateTransform(dojo.delegate({shape:shape,duration:1200,transform:[{name:"translate",start:[0,0],end:[_58f.l*(1-rHScale),_590*(1-rVScale)]},{name:"scale",start:[1,1],end:[rHScale,rVScale]},{name:"original"},{name:"translate",start:[0,0],end:[rXOffset,rYOffset]}]},this.zoom));dojo.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_592,yoffset:_594});this.zoomQueue.push(anim);dojo.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;},render:function(dim,_595){return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_596){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_596.hmin,_596.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=dojox.charting.scaler.primitive.buildScaler(_596.hmin,_596.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_596.vmin,_596.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=dojox.charting.scaler.primitive.buildScaler(_596.vmin,_596.vmax,dim.height);}return this;}});}if(!dojo._hasResource["dojox.charting.plot2d.Default"]){dojo._hasResource["dojox.charting.plot2d.Default"]=true;dojo.provide("dojox.charting.plot2d.Default");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_597=df.lambda("item.purgeGroup()");var _598=1200;dojo.declare("dojox.charting.plot2d.Default",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,tension:"",animate:false},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_599,_59a){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_59a);du.updateWithPattern(this.opt,_59a,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_59b){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_59b);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_597);this._eventSeries={};this.cleanGroup();this.group.setTransform(null);var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_59c,_59d,_59e,_59f=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 _5a0=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_5a1=[],_5a2=[],rseg=null,_5a3,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5a4=this._eventSeries[run.name]=new Array(run.data.length);for(var j=0;j<run.data.length;j++){if(run.data[j]!=null){if(!rseg){rseg=[];_5a2.push(j);_5a1.push(rseg);}rseg.push(run.data[j]);}else{rseg=null;}}for(var seg=0;seg<_5a1.length;seg++){if(typeof _5a1[seg][0]=="number"){_5a3=dojo.map(_5a1[seg],function(v,i){return {x:ht(i+_5a2[seg]+1)+_59b.l,y:dim.height-_59b.b-vt(v)};},this);}else{_5a3=dojo.map(_5a1[seg],function(v,i){return {x:ht(v.x)+_59b.l,y:dim.height-_59b.b-vt(v.y)};},this);}var _5a5=this.opt.tension?dc.curve(_5a3,this.opt.tension):"";if(this.opt.areas&&_5a3.length>1){var fill=_5a0.series.fill;var _5a6=dojo.clone(_5a3);if(this.opt.tension){var _5a7="L"+_5a6[_5a6.length-1].x+","+(dim.height-_59b.b)+" L"+_5a6[0].x+","+(dim.height-_59b.b)+" L"+_5a6[0].x+","+_5a6[0].y;run.dyn.fill=s.createPath(_5a5+" "+_5a7).setFill(fill).getFill();}else{_5a6.push({x:_5a3[_5a3.length-1].x,y:dim.height-_59b.b});_5a6.push({x:_5a3[0].x,y:dim.height-_59b.b});_5a6.push(_5a3[0]);run.dyn.fill=s.createPolyline(_5a6).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_59c=_5a0.series.stroke;if(_5a0.series.outline){_59d=run.dyn.outline=dc.makeStroke(_5a0.series.outline);_59d.width=2*_59d.width+_59c.width;}}if(this.opt.markers){run.dyn.marker=_5a0.symbol;}var _5a8=null,_5a9=null,_5aa=null;if(_59c&&_5a0.series.shadow&&_5a3.length>1){var _5ab=_5a0.series.shadow,_5ac=dojo.map(_5a3,function(c){return {x:c.x+_5ab.dx,y:c.y+_5ab.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_5ac,this.opt.tension)).setStroke(_5ab).getStroke();}else{run.dyn.shadow=s.createPolyline(_5ac).setStroke(_5ab).getStroke();}}if(this.opt.markers&&_5a0.marker.shadow){_5ab=_5a0.marker.shadow;_5aa=dojo.map(_5ac,function(c){return s.createPath("M"+c.x+" "+c.y+" "+_5a0.symbol).setStroke(_5ab).setFill(_5ab.color);},this);}}if(this.opt.lines&&_5a3.length>1){if(_59d){if(this.opt.tension){run.dyn.outline=s.createPath(_5a5).setStroke(_59d).getStroke();}else{run.dyn.outline=s.createPolyline(_5a3).setStroke(_59d).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_5a5).setStroke(_59c).getStroke();}else{run.dyn.stroke=s.createPolyline(_5a3).setStroke(_59c).getStroke();}}if(this.opt.markers){_5a8=new Array(_5a3.length);_5a9=new Array(_5a3.length);_59d=null;if(_5a0.marker.outline){_59d=dc.makeStroke(_5a0.marker.outline);_59d.width=2*_59d.width+(_5a0.marker.stroke?_5a0.marker.stroke.width:0);}dojo.forEach(_5a3,function(c,i){var path="M"+c.x+" "+c.y+" "+_5a0.symbol;if(_59d){_5a9[i]=s.createPath(path).setStroke(_59d);}_5a8[i]=s.createPath(path).setStroke(_5a0.marker.stroke).setFill(_5a0.marker.fill);},this);run.dyn.markerFill=_5a0.marker.fill;run.dyn.markerStroke=_5a0.marker.stroke;if(_59f){dojo.forEach(_5a8,function(s,i){var o={element:"marker",index:i+_5a2[seg],run:run,shape:s,outline:_5a9[i]||null,shadow:_5aa&&_5aa[i]||null,cx:_5a3[i].x,cy:_5a3[i].y};if(typeof _5a1[seg][0]=="number"){o.x=i+_5a2[seg]+1;o.y=_5a1[seg][i];}else{o.x=_5a1[seg][i].x;o.y=_5a1[seg][i].y;}this._connectEvents(o);_5a4[i+_5a2[seg]]=o;},this);}else{delete this._eventSeries[run.name];}}}run.dirty=false;}if(this.animate){var _5ad=this.group;dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5ad,duration:_598,transform:[{name:"translate",start:[0,dim.height-_59b.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play();}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Lines"]){dojo._hasResource["dojox.charting.plot2d.Lines"]=true;dojo.provide("dojox.charting.plot2d.Lines");dojo.declare("dojox.charting.plot2d.Lines",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Areas"]){dojo._hasResource["dojox.charting.plot2d.Areas"]=true;dojo.provide("dojox.charting.plot2d.Areas");dojo.declare("dojox.charting.plot2d.Areas",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Markers"]){dojo._hasResource["dojox.charting.plot2d.Markers"]=true;dojo.provide("dojox.charting.plot2d.Markers");dojo.declare("dojox.charting.plot2d.Markers",dojox.charting.plot2d.Default,{constructor:function(){this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]){dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]=true;dojo.provide("dojox.charting.plot2d.MarkersOnly");dojo.declare("dojox.charting.plot2d.MarkersOnly",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Scatter"]){dojo._hasResource["dojox.charting.plot2d.Scatter"]=true;dojo.provide("dojox.charting.plot2d.Scatter");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5ae=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Scatter",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_5af,_5b0){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5b0);du.updateWithPattern(this.opt,_5b0,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_5b1){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5b1);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5ae);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_5b2=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 _5b3=t.next("marker",[this.opt,run]),s=run.group,_5b4,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(typeof run.data[0]=="number"){_5b4=dojo.map(run.data,function(v,i){return {x:ht(i+1)+_5b1.l,y:dim.height-_5b1.b-vt(v)};},this);}else{_5b4=dojo.map(run.data,function(v,i){return {x:ht(v.x)+_5b1.l,y:dim.height-_5b1.b-vt(v.y)};},this);}var _5b5=new Array(_5b4.length),_5b6=new Array(_5b4.length),_5b7=new Array(_5b4.length);dojo.forEach(_5b4,function(c,i){var _5b8=typeof run.data[i]=="number"?t.post(_5b3,"marker"):t.addMixin(_5b3,"marker",run.data[i],true),path="M"+c.x+" "+c.y+" "+_5b8.symbol;if(_5b8.marker.shadow){_5b5[i]=s.createPath("M"+(c.x+_5b8.marker.shadow.dx)+" "+(c.y+_5b8.marker.shadow.dy)+" "+_5b8.symbol).setStroke(_5b8.marker.shadow).setFill(_5b8.marker.shadow.color);if(this.animate){this._animateScatter(_5b5[i],dim.height-_5b1.b);}}if(_5b8.marker.outline){var _5b9=dc.makeStroke(_5b8.marker.outline);_5b9.width=2*_5b9.width+_5b8.marker.stroke.width;_5b7[i]=s.createPath(path).setStroke(_5b9);if(this.animate){this._animateScatter(_5b7[i],dim.height-_5b1.b);}}var _5ba=dc.makeStroke(_5b8.marker.stroke),fill=this._plotFill(_5b8.marker.fill,dim,_5b1);if(fill&&(fill.type==="linear"||fill.type=="radial")){var _5bb=dojox.gfx.gradutils.getColor(fill,{x:c.x,y:c.y});if(_5ba){_5ba.color=_5bb;}_5b6[i]=s.createPath(path).setStroke(_5ba).setFill(_5bb);}else{_5b6[i]=s.createPath(path).setStroke(_5ba).setFill(fill);}if(this.animate){this._animateScatter(_5b6[i],dim.height-_5b1.b);}},this);if(_5b6.length){run.dyn.stroke=_5b6[_5b6.length-1].getStroke();run.dyn.fill=_5b6[_5b6.length-1].getFill();}if(_5b2){var _5bc=new Array(_5b6.length);dojo.forEach(_5b6,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_5b7&&_5b7[i]||null,shadow:_5b5&&_5b5[i]||null,cx:_5b4[i].x,cy:_5b4[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);_5bc[i]=o;},this);this._eventSeries[run.name]=_5bc;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateScatter:function(_5bd,_5be){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5bd,duration:1200,transform:[{name:"translate",start:[0,_5be],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.lang.functional.sequence"]){dojo._hasResource["dojox.lang.functional.sequence"]=true;dojo.provide("dojox.lang.functional.sequence");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{repeat:function(n,f,z,o){o=o||d.global;f=df.lambda(f);var t=new Array(n),i=1;t[0]=z;for(;i<n;t[i]=z=f.call(o,z),++i){}return t;},until:function(pr,f,z,o){o=o||d.global;f=df.lambda(f);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(z),z=f.call(o,z)){}return t;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Stacked"]){dojo._hasResource["dojox.charting.plot2d.Stacked"]=true;dojo.provide("dojox.charting.plot2d.Stacked");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5bf=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Stacked",dojox.charting.plot2d.Default,{getSeriesStats:function(){var _5c0=dc.collectStackedStats(this.series);this._maxRunLength=_5c0.hmax;return _5c0;},render:function(dim,_5c1){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5c1);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5bf);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_5c2=this.events(),ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);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 _5c3=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_5c4,_5c5=dojo.map(acc,function(v,i){return {x:ht(i+1)+_5c1.l,y:dim.height-_5c1.b-vt(v)};},this);var _5c6=this.opt.tension?dc.curve(_5c5,this.opt.tension):"";if(this.opt.areas){var _5c7=dojo.clone(_5c5);if(this.opt.tension){var p=dc.curve(_5c7,this.opt.tension);p+=" L"+_5c5[_5c5.length-1].x+","+(dim.height-_5c1.b)+" L"+_5c5[0].x+","+(dim.height-_5c1.b)+" L"+_5c5[0].x+","+_5c5[0].y;run.dyn.fill=s.createPath(p).setFill(_5c3.series.fill).getFill();}else{_5c7.push({x:_5c5[_5c5.length-1].x,y:dim.height-_5c1.b});_5c7.push({x:_5c5[0].x,y:dim.height-_5c1.b});_5c7.push(_5c5[0]);run.dyn.fill=s.createPolyline(_5c7).setFill(_5c3.series.fill).getFill();}}if(this.opt.lines||this.opt.markers){if(_5c3.series.outline){_5c4=dc.makeStroke(_5c3.series.outline);_5c4.width=2*_5c4.width+_5c3.series.stroke.width;}}if(this.opt.markers){run.dyn.marker=_5c3.symbol;}var _5c8,_5c9,_5ca;if(_5c3.series.shadow&&_5c3.series.stroke){var _5cb=_5c3.series.shadow,_5cc=dojo.map(_5c5,function(c){return {x:c.x+_5cb.dx,y:c.y+_5cb.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_5cc,this.opt.tension)).setStroke(_5cb).getStroke();}else{run.dyn.shadow=s.createPolyline(_5cc).setStroke(_5cb).getStroke();}}if(this.opt.markers){_5cb=_5c3.marker.shadow;_5ca=dojo.map(_5cc,function(c){return s.createPath("M"+c.x+" "+c.y+" "+_5c3.symbol).setStroke(_5cb).setFill(_5cb.color);},this);}}if(this.opt.lines){if(_5c4){if(this.opt.tension){run.dyn.outline=s.createPath(_5c6).setStroke(_5c4).getStroke();}else{run.dyn.outline=s.createPolyline(_5c5).setStroke(_5c4).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_5c6).setStroke(_5c3.series.stroke).getStroke();}else{run.dyn.stroke=s.createPolyline(_5c5).setStroke(_5c3.series.stroke).getStroke();}}if(this.opt.markers){_5c8=new Array(_5c5.length);_5c9=new Array(_5c5.length);_5c4=null;if(_5c3.marker.outline){_5c4=dc.makeStroke(_5c3.marker.outline);_5c4.width=2*_5c4.width+(_5c3.marker.stroke?_5c3.marker.stroke.width:0);}dojo.forEach(_5c5,function(c,i){var path="M"+c.x+" "+c.y+" "+_5c3.symbol;if(_5c4){_5c9[i]=s.createPath(path).setStroke(_5c4);}_5c8[i]=s.createPath(path).setStroke(_5c3.marker.stroke).setFill(_5c3.marker.fill);},this);if(_5c2){var _5cd=new Array(_5c8.length);dojo.forEach(_5c8,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_5c9[i]||null,shadow:_5ca&&_5ca[i]||null,cx:_5c5[i].x,cy:_5c5[i].y,x:i+1,y:run.data[i]};this._connectEvents(o);_5cd[i]=o;},this);this._eventSeries[run.name]=_5cd;}else{delete this._eventSeries[run.name];}}run.dirty=false;for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedLines"]){dojo._hasResource["dojox.charting.plot2d.StackedLines"]=true;dojo.provide("dojox.charting.plot2d.StackedLines");dojo.declare("dojox.charting.plot2d.StackedLines",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.StackedAreas"]){dojo._hasResource["dojox.charting.plot2d.StackedAreas"]=true;dojo.provide("dojox.charting.plot2d.StackedAreas");dojo.declare("dojox.charting.plot2d.StackedAreas",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Columns"]){dojo._hasResource["dojox.charting.plot2d.Columns"]=true;dojo.provide("dojox.charting.plot2d.Columns");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5ce=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Columns",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_5cf,_5d0){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5d0);du.updateWithPattern(this.opt,_5d0,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _5d1=dc.collectSimpleStats(this.series);_5d1.hmin-=0.5;_5d1.hmax+=0.5;return _5d1;},render:function(dim,_5d2){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5d2);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5ce);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5d3,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5d4=Math.max(0,this._vScaler.bounds.lower),_5d5=vt(_5d4),_5d6=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_5d3=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 _5d7=t.next("column",[this.opt,run]),s=run.group,_5d8=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _5d9=run.data[j];if(_5d9!==null){var v=typeof _5d9=="number"?_5d9:_5d9.y,vv=vt(v),_5da=vv-_5d5,h=Math.abs(_5da),_5db=typeof _5d9!="number"?t.addMixin(_5d7,"column",_5d9,true):t.post(_5d7,"column");if(_5d3>=1&&h>=1){var rect={x:_5d2.l+ht(j+0.5)+gap,y:dim.height-_5d2.b-(v>_5d4?vv:_5d5),width:_5d3,height:h};var _5dc=this._plotFill(_5db.series.fill,dim,_5d2);_5dc=this._shapeFill(_5dc,rect);var _5dd=s.createRect(rect).setFill(_5dc).setStroke(_5db.series.stroke);run.dyn.fill=_5dd.getFill();run.dyn.stroke=_5dd.getStroke();if(_5d6){var o={element:"column",index:j,run:run,shape:_5dd,x:j+0.5,y:v};this._connectEvents(o);_5d8[j]=o;}if(this.animate){this._animateColumn(_5dd,dim.height-_5d2.b-_5d5,h);}}}}this._eventSeries[run.name]=_5d8;run.dirty=false;}this.dirty=false;return this;},_animateColumn:function(_5de,_5df,_5e0){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5de,duration:1200,transform:[{name:"translate",start:[0,_5df-(_5df/_5e0)],end:[0,0]},{name:"scale",start:[1,1/_5e0],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedColumns"]){dojo._hasResource["dojox.charting.plot2d.StackedColumns"]=true;dojo.provide("dojox.charting.plot2d.StackedColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5e1=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedColumns",dojox.charting.plot2d.Columns,{getSeriesStats:function(){var _5e2=dc.collectStackedStats(this.series);this._maxRunLength=_5e2.hmax;_5e2.hmin-=0.5;_5e2.hmax+=0.5;return _5e2;},render:function(dim,_5e3){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var _5e4=run.data[j];if(_5e4!==null){var v=typeof _5e4=="number"?_5e4:_5e4.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5e3);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5e1);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5e5,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5e6=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_5e5=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 _5e7=t.next("column",[this.opt,run]),s=run.group,_5e8=new Array(acc.length);for(var j=0;j<acc.length;++j){var _5e4=run.data[j];if(_5e4!==null){var v=acc[j],_5e9=vt(v),_5ea=typeof _5e4!="number"?t.addMixin(_5e7,"column",_5e4,true):t.post(_5e7,"column");if(_5e5>=1&&_5e9>=1){var rect={x:_5e3.l+ht(j+0.5)+gap,y:dim.height-_5e3.b-vt(v),width:_5e5,height:_5e9};var _5eb=this._plotFill(_5ea.series.fill,dim,_5e3);_5eb=this._shapeFill(_5eb,rect);var _5ec=s.createRect(rect).setFill(_5eb).setStroke(_5ea.series.stroke);run.dyn.fill=_5ec.getFill();run.dyn.stroke=_5ec.getStroke();if(_5e6){var o={element:"column",index:j,run:run,shape:_5ec,x:j+0.5,y:v};this._connectEvents(o);_5e8[j]=o;}if(this.animate){this._animateColumn(_5ec,dim.height-_5e3.b,_5e9);}}}}this._eventSeries[run.name]=_5e8;run.dirty=false;for(var j=0;j<run.data.length;++j){var _5e4=run.data[j];if(_5e4!==null){var v=typeof _5e4=="number"?_5e4:_5e4.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]){dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]=true;dojo.provide("dojox.charting.plot2d.ClusteredColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5ed=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredColumns",dojox.charting.plot2d.Columns,{render:function(dim,_5ee){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5ee);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5ed);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5ef,_5f0,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5f1=Math.max(0,this._vScaler.bounds.lower),_5f2=vt(_5f1),_5f3=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_5ef=_5f0=f.size;for(var i=0;i<this.series.length;++i){var run=this.series[i],_5f4=_5f0*i;if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5f5=t.next("column",[this.opt,run]),s=run.group,_5f6=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _5f7=run.data[j];if(_5f7!==null){var v=typeof _5f7=="number"?_5f7:_5f7.y,vv=vt(v),_5f8=vv-_5f2,h=Math.abs(_5f8),_5f9=typeof _5f7!="number"?t.addMixin(_5f5,"column",_5f7,true):t.post(_5f5,"column");if(_5ef>=1&&h>=1){var rect={x:_5ee.l+ht(j+0.5)+gap+_5f4,y:dim.height-_5ee.b-(v>_5f1?vv:_5f2),width:_5ef,height:h};var _5fa=this._plotFill(_5f9.series.fill,dim,_5ee);_5fa=this._shapeFill(_5fa,rect);var _5fb=s.createRect(rect).setFill(_5fa).setStroke(_5f9.series.stroke);run.dyn.fill=_5fb.getFill();run.dyn.stroke=_5fb.getStroke();if(_5f3){var o={element:"column",index:j,run:run,shape:_5fb,x:j+0.5,y:v};this._connectEvents(o);_5f6[j]=o;}if(this.animate){this._animateColumn(_5fb,dim.height-_5ee.b-_5f2,h);}}}}this._eventSeries[run.name]=_5f6;run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Bars"]){dojo._hasResource["dojox.charting.plot2d.Bars"]=true;dojo.provide("dojox.charting.plot2d.Bars");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5fc=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Bars",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_5fd,_5fe){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5fe);du.updateWithPattern(this.opt,_5fe,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _5ff=dc.collectSimpleStats(this.series),t;_5ff.hmin-=0.5;_5ff.hmax+=0.5;t=_5ff.hmin,_5ff.hmin=_5ff.vmin,_5ff.vmin=t;t=_5ff.hmax,_5ff.hmax=_5ff.vmax,_5ff.vmax=t;return _5ff;},render:function(dim,_600){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_600);}this.dirty=this.isDirty();this.resetEvents();if(this.dirty){dojo.forEach(this.series,_5fc);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_601,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_602=Math.max(0,this._hScaler.bounds.lower),_603=ht(_602),_604=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_601=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 _605=t.next("bar",[this.opt,run]),s=run.group,_606=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _607=run.data[j];if(_607!==null){var v=typeof _607=="number"?_607:_607.y,hv=ht(v),_608=hv-_603,w=Math.abs(_608),_609=typeof _607!="number"?t.addMixin(_605,"bar",_607,true):t.post(_605,"bar");if(w>=1&&_601>=1){var rect={x:_600.l+(v<_602?hv:_603),y:dim.height-_600.b-vt(j+1.5)+gap,width:w,height:_601};var _60a=this._plotFill(_609.series.fill,dim,_600);_60a=this._shapeFill(_60a,rect);var _60b=s.createRect(rect).setFill(_60a).setStroke(_609.series.stroke);run.dyn.fill=_60b.getFill();run.dyn.stroke=_60b.getStroke();if(_604){var o={element:"bar",index:j,run:run,shape:_60b,x:v,y:j+1.5};this._connectEvents(o);_606[j]=o;}if(this.animate){this._animateBar(_60b,_600.l+_603,-w);}}}}this._eventSeries[run.name]=_606;run.dirty=false;}this.dirty=false;return this;},_animateBar:function(_60c,_60d,_60e){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_60c,duration:1200,transform:[{name:"translate",start:[_60d-(_60d/_60e),0],end:[0,0]},{name:"scale",start:[1/_60e,1],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedBars"]){dojo._hasResource["dojox.charting.plot2d.StackedBars"]=true;dojo.provide("dojox.charting.plot2d.StackedBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_60f=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedBars",dojox.charting.plot2d.Bars,{getSeriesStats:function(){var _610=dc.collectStackedStats(this.series),t;this._maxRunLength=_610.hmax;_610.hmin-=0.5;_610.hmax+=0.5;t=_610.hmin,_610.hmin=_610.vmin,_610.vmin=t;t=_610.hmax,_610.hmax=_610.vmax,_610.vmax=t;return _610;},render:function(dim,_611){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var _612=run.data[j];if(_612!==null){var v=typeof _612=="number"?_612:_612.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_611);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_60f);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_613,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_614=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_613=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 _615=t.next("bar",[this.opt,run]),s=run.group,_616=new Array(acc.length);for(var j=0;j<acc.length;++j){var _612=run.data[j];if(_612!==null){var v=acc[j],_617=ht(v),_618=typeof _612!="number"?t.addMixin(_615,"bar",_612,true):t.post(_615,"bar");if(_617>=1&&_613>=1){var rect={x:_611.l,y:dim.height-_611.b-vt(j+1.5)+gap,width:_617,height:_613};var _619=this._plotFill(_618.series.fill,dim,_611);_619=this._shapeFill(_619,rect);var _61a=s.createRect(rect).setFill(_619).setStroke(_618.series.stroke);run.dyn.fill=_61a.getFill();run.dyn.stroke=_61a.getStroke();if(_614){var o={element:"bar",index:j,run:run,shape:_61a,x:v,y:j+1.5};this._connectEvents(o);_616[j]=o;}if(this.animate){this._animateBar(_61a,_611.l,-_617);}}}}this._eventSeries[run.name]=_616;run.dirty=false;for(var j=0;j<run.data.length;++j){var _612=run.data[j];if(_612!==null){var v=typeof _612=="number"?_612:_612.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]){dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]=true;dojo.provide("dojox.charting.plot2d.ClusteredBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_61b=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredBars",dojox.charting.plot2d.Bars,{render:function(dim,_61c){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_61c);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_61b);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_61d,_61e,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_61f=Math.max(0,this._hScaler.bounds.lower),_620=ht(_61f),_621=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_61d=_61e=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i],_622=_61e*(this.series.length-i-1);if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _623=t.next("bar",[this.opt,run]),s=run.group,_624=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _625=run.data[j];if(_625!==null){var v=typeof _625=="number"?_625:_625.y,hv=ht(v),_626=hv-_620,w=Math.abs(_626),_627=typeof _625!="number"?t.addMixin(_623,"bar",_625,true):t.post(_623,"bar");if(w>=1&&_61d>=1){var rect={x:_61c.l+(v<_61f?hv:_620),y:dim.height-_61c.b-vt(j+1.5)+gap+_622,width:w,height:_61d};var _628=this._plotFill(_627.series.fill,dim,_61c);_628=this._shapeFill(_628,rect);var _629=s.createRect(rect).setFill(_628).setStroke(_627.series.stroke);run.dyn.fill=_629.getFill();run.dyn.stroke=_629.getStroke();if(_621){var o={element:"bar",index:j,run:run,shape:_629,x:v,y:j+1.5};this._connectEvents(o);_624[j]=o;}if(this.animate){this._animateBar(_629,_61c.l+_620,-_626);}}}}this._eventSeries[run.name]=_624;run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Grid"]){dojo._hasResource["dojox.charting.plot2d.Grid"]=true;dojo.provide("dojox.charting.plot2d.Grid");(function(){var du=dojox.lang.utils,dc=dojox.charting.plot2d.common;dojo.declare("dojox.charting.plot2d.Grid",dojox.charting.Element,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:"none",vStripes:"none",animate:null},optionalParams:{},constructor:function(_62a,_62b){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_62b);this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.dirty=true;this.animate=this.opt.animate;this.zoom=null,this.zoomQueue=[];this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0};},clear:function(){this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){return this;},getSeriesStats:function(){return dojo.delegate(dc.defaultStats);},initializeScalers:function(){return this;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},performZoom:function(dim,_62c){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_62d=dim.height-_62c.b,_62e=this._hAxis.getScaler().bounds,_62f=(_62e.from-_62e.lower)*_62e.scale,_630=this._vAxis.getScaler().bounds,_631=(_630.from-_630.lower)*_630.scale;rVScale=vs/this.lastWindow.vscale,rHScale=hs/this.lastWindow.hscale,rXOffset=(this.lastWindow.xoffset-_62f)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),rYOffset=(_631-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),shape=this.group,anim=dojox.gfx.fx.animateTransform(dojo.delegate({shape:shape,duration:1200,transform:[{name:"translate",start:[0,0],end:[_62c.l*(1-rHScale),_62d*(1-rVScale)]},{name:"scale",start:[1,1],end:[rHScale,rVScale]},{name:"original"},{name:"translate",start:[0,0],end:[rXOffset,rYOffset]}]},this.zoom));dojo.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_62f,yoffset:_631});this.zoomQueue.push(anim);dojo.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;},getRequiredColors:function(){return 0;},render:function(dim,_632){if(this.zoom){return this.performZoom(dim,_632);}this.dirty=this.isDirty();if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme.axis;try{var _633=this._vAxis.getScaler(),vt=_633.scaler.getTransformerFromModel(_633),_634=this._vAxis.getTicks();if(this.opt.hMinorLines){dojo.forEach(_634.minor,function(tick){var y=dim.height-_632.b-vt(tick.value);var _635=s.createLine({x1:_632.l,y1:y,x2:dim.width-_632.r,y2:y}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_635,"h",_632.l,_632.r+_632.l-dim.width);}},this);}if(this.opt.hMajorLines){dojo.forEach(_634.major,function(tick){var y=dim.height-_632.b-vt(tick.value);var _636=s.createLine({x1:_632.l,y1:y,x2:dim.width-_632.r,y2:y}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_636,"h",_632.l,_632.r+_632.l-dim.width);}},this);}}catch(e){}try{var _637=this._hAxis.getScaler(),ht=_637.scaler.getTransformerFromModel(_637),_634=this._hAxis.getTicks();if(_634&&this.opt.vMinorLines){dojo.forEach(_634.minor,function(tick){var x=_632.l+ht(tick.value);var _638=s.createLine({x1:x,y1:_632.t,x2:x,y2:dim.height-_632.b}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_638,"v",dim.height-_632.b,dim.height-_632.b-_632.t);}},this);}if(_634&&this.opt.vMajorLines){dojo.forEach(_634.major,function(tick){var x=_632.l+ht(tick.value);var _639=s.createLine({x1:x,y1:_632.t,x2:x,y2:dim.height-_632.b}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_639,"v",dim.height-_632.b,dim.height-_632.b-_632.t);}},this);}}catch(e){}this.dirty=false;return this;},_animateGrid:function(_63a,type,_63b,size){var _63c=type=="h"?[_63b,0]:[0,_63b];var _63d=type=="h"?[1/size,1]:[1,1/size];dojox.gfx.fx.animateTransform(dojo.delegate({shape:_63a,duration:1200,transform:[{name:"translate",start:_63c,end:[0,0]},{name:"scale",start:_63d,end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Pie"]){dojo._hasResource["dojox.charting.plot2d.Pie"]=true;dojo.provide("dojox.charting.plot2d.Pie");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx,m=g.matrix,_63e=0.2;dojo.declare("dojox.charting.plot2d.Pie",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:true,radGrad:"native",fanSize:5,startAngle:0},optionalParams:{radius:0,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:"",labelWiring:{}},constructor:function(_63f,_640){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_640);du.updateWithPattern(this.opt,_640,this.optionalParams);this.run=null;this.dyn=[];},clear:function(){this.dirty=true;this.dyn=[];this.run=null;return this;},setAxis:function(axis){return this;},addSeries:function(run){this.run=run;return this;},getSeriesStats:function(){return dojo.delegate(dc.defaultStats);},initializeScalers:function(){return this;},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_641){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-_641.l-_641.r)/2,ry=(dim.height-_641.t-_641.b)/2,r=Math.min(rx,ry),_642="font" in this.opt?this.opt.font:t.axis.font,size=_642?g.normalizedLength(g.splitFontString(_642).size):0,_643="fontColor" in this.opt?this.opt.fontColor:t.axis.fontColor,_644=m._degToRad(this.opt.startAngle),_645=_644,step,_646,_647,_648,_649,_64a,run=this.run.data,_64b=this.events();if(typeof run[0]=="number"){_646=df.map(run,"x ? Math.max(x, 0) : 0");if(df.every(_646,"<= 0")){return this;}_647=df.map(_646,"/this",df.foldl(_646,"+",0));if(this.opt.labels){_648=dojo.map(_647,function(x){return x>0?this._getLabel(x*100)+"%":"";},this);}}else{_646=df.map(run,"x ? Math.max(x.y, 0) : 0");if(df.every(_646,"<= 0")){return this;}_647=df.map(_646,"/this",df.foldl(_646,"+",0));if(this.opt.labels){_648=dojo.map(_647,function(x,i){if(x<=0){return "";}var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}var _64c=df.map(run,function(v,i){if(v===null||typeof v=="number"){return t.next("slice",[this.opt,this.run],true);}return t.next("slice",[this.opt,this.run,v],true);},this);if(this.opt.labels){_649=df.foldl1(df.map(_648,function(_64d,i){var font=_64c[i].series.font;return dojox.gfx._base._getTextBox(_64d,{font:font}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_649,ry-size)+this.opt.labelOffset;}_64a=r-this.opt.labelOffset;}if("radius" in this.opt){r=this.opt.radius;_64a=r-this.opt.labelOffset;}var _64e={cx:_641.l+rx,cy:_641.t+ry,r:r};this.dyn=[];var _64f=new Array(_647.length);dojo.some(_647,function(_650,i){if(_650<=0){return false;}var v=run[i],_651=_64c[i],_652;if(_650>=1){_652=this._plotFill(_651.series.fill,dim,_641);_652=this._shapeFill(_652,{x:_64e.cx-_64e.r,y:_64e.cy-_64e.r,width:2*_64e.r,height:2*_64e.r});_652=this._pseudoRadialFill(_652,{x:_64e.cx,y:_64e.cy},_64e.r);var _653=s.createCircle(_64e).setFill(_652).setStroke(_651.series.stroke);this.dyn.push({fill:_652,stroke:_651.series.stroke});if(_64b){var o={element:"slice",index:i,run:this.run,shape:_653,x:i,y:typeof v=="number"?v:v.y,cx:_64e.cx,cy:_64e.cy,cr:r};this._connectEvents(o);_64f[i]=o;}return true;}var end=_645+_650*2*Math.PI;if(i+1==_647.length){end=_644+2*Math.PI;}var step=end-_645,x1=_64e.cx+r*Math.cos(_645),y1=_64e.cy+r*Math.sin(_645),x2=_64e.cx+r*Math.cos(end),y2=_64e.cy+r*Math.sin(end);var _654=m._degToRad(this.opt.fanSize);if(_651.series.fill&&_651.series.fill.type==="radial"&&this.opt.radGrad==="fan"&&step>_654){var _655=s.createGroup(),_656=Math.ceil(step/_654),_657=step/_656;_652=this._shapeFill(_651.series.fill,{x:_64e.cx-_64e.r,y:_64e.cy-_64e.r,width:2*_64e.r,height:2*_64e.r});for(var j=0;j<_656;++j){var _658=j==0?x1:_64e.cx+r*Math.cos(_645+(j-_63e)*_657),_659=j==0?y1:_64e.cy+r*Math.sin(_645+(j-_63e)*_657),_65a=j==_656-1?x2:_64e.cx+r*Math.cos(_645+(j+1+_63e)*_657),_65b=j==_656-1?y2:_64e.cy+r*Math.sin(_645+(j+1+_63e)*_657),fan=_655.createPath({}).moveTo(_64e.cx,_64e.cy).lineTo(_658,_659).arcTo(r,r,0,_657>Math.PI,true,_65a,_65b).lineTo(_64e.cx,_64e.cy).closePath().setFill(this._pseudoRadialFill(_652,{x:_64e.cx,y:_64e.cy},r,_645+(j+0.5)*_657,_645+(j+0.5)*_657));}_655.createPath({}).moveTo(_64e.cx,_64e.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_64e.cx,_64e.cy).closePath().setStroke(_651.series.stroke);_653=_655;}else{_653=s.createPath({}).moveTo(_64e.cx,_64e.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_64e.cx,_64e.cy).closePath().setStroke(_651.series.stroke);var _652=_651.series.fill;if(_652&&_652.type==="radial"){_652=this._shapeFill(_652,{x:_64e.cx-_64e.r,y:_64e.cy-_64e.r,width:2*_64e.r,height:2*_64e.r});if(this.opt.radGrad==="linear"){_652=this._pseudoRadialFill(_652,{x:_64e.cx,y:_64e.cy},r,_645,end);}}else{if(_652&&_652.type==="linear"){_652=this._plotFill(_652,dim,_641);_652=this._shapeFill(_652,_653.getBoundingBox());}}_653.setFill(_652);}this.dyn.push({fill:_652,stroke:_651.series.stroke});if(_64b){var o={element:"slice",index:i,run:this.run,shape:_653,x:i,y:typeof v=="number"?v:v.y,cx:_64e.cx,cy:_64e.cy,cr:r};this._connectEvents(o);_64f[i]=o;}_645=end;return false;},this);if(this.opt.labels){if(this.opt.labelStyle=="default"){_645=_644;dojo.some(_647,function(_65c,i){if(_65c<=0){return false;}var _65d=_64c[i];if(_65c>=1){var v=run[i],elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_64e.cx,_64e.cy+size/2,"middle",_648[i],_65d.series.font,_65d.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}return true;}var end=_645+_65c*2*Math.PI,v=run[i];if(i+1==_647.length){end=_644+2*Math.PI;}var _65e=(_645+end)/2,x=_64e.cx+_64a*Math.cos(_65e),y=_64e.cy+_64a*Math.sin(_65e)+size/2;var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_648[i],_65d.series.font,_65d.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}_645=end;return false;},this);}else{if(this.opt.labelStyle=="columns"){_645=_644;var _65f=[];dojo.forEach(_647,function(_660,i){var end=_645+_660*2*Math.PI;if(i+1==_647.length){end=_644+2*Math.PI;}var _661=(_645+end)/2;_65f.push({angle:_661,left:Math.cos(_661)<0,theme:_64c[i],index:i,omit:end-_645<0.001});_645=end;});var _662=dojox.gfx._base._getTextBox("a",{font:_642}).h;this._getProperLabelRadius(_65f,_662,_64e.r*1.1);dojo.forEach(_65f,function(_663,i){if(!_663.omit){var _664=_64e.cx-_64e.r*2,_665=_64e.cx+_64e.r*2,_666=dojox.gfx._base._getTextBox(_648[i],{font:_642}).w,x=_64e.cx+_663.labelR*Math.cos(_663.angle),y=_64e.cy+_663.labelR*Math.sin(_663.angle),_667=(_663.left)?(_664+_666):(_665-_666),_668=(_663.left)?_664:_667;var _669=s.createPath().moveTo(_64e.cx+_64e.r*Math.cos(_663.angle),_64e.cy+_64e.r*Math.sin(_663.angle));if(Math.abs(_663.labelR*Math.cos(_663.angle))<_64e.r*2-_666){_669.lineTo(x,y);}_669.lineTo(_667,y).setStroke(_663.theme.series.labelWiring);var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_668,y,"left",_648[i],_663.theme.series.font,_663.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:_64f[esi++];});return this;},_getProperLabelRadius:function(_66a,_66b,_66c){var _66d={},_66e={},_66f=1,_670=1;if(_66a.length==1){_66a[0].labelR=_66c;return;}for(var i=0;i<_66a.length;i++){var _671=Math.abs(Math.sin(_66a[i].angle));if(_66a[i].left){if(_66f>_671){_66f=_671;_66d=_66a[i];}}else{if(_670>_671){_670=_671;_66e=_66a[i];}}}_66d.labelR=_66e.labelR=_66c;this._caculateLabelR(_66d,_66a,_66b);this._caculateLabelR(_66e,_66a,_66b);},_caculateLabelR:function(_672,_673,_674){var i=_672.index,_675=_673.length,_676=_672.labelR;while(!(_673[i%_675].left^_673[(i+1)%_675].left)){if(!_673[(i+1)%_675].omit){var _677=(Math.sin(_673[i%_675].angle)*_676+((_673[i%_675].left)?(-_674):_674))/Math.sin(_673[(i+1)%_675].angle);_676=(_677<_672.labelR)?_672.labelR:_677;_673[(i+1)%_675].labelR=_676;}i++;}i=_672.index,j=(i==0)?_675-1:i-1;while(!(_673[i].left^_673[j].left)){if(!_673[j].omit){var _677=(Math.sin(_673[i].angle)*_676+((_673[i].left)?_674:(-_674)))/Math.sin(_673[j].angle);_676=(_677<_672.labelR)?_672.labelR:_677;_673[j].labelR=_676;}i--;j--;i=(i<0)?i+_673.length:i;j=(j<0)?j+_673.length:j;}},_getLabel:function(_678){return dc.getLabel(_678,this.opt.fixed,this.opt.precision);}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Bubble"]){dojo._hasResource["dojox.charting.plot2d.Bubble"]=true;dojo.provide("dojox.charting.plot2d.Bubble");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_679=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Bubble",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_67a,_67b){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_67b);du.updateWithPattern(this.opt,_67b,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_67c){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_67c);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_679);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),_67d=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 _67e=t.next("circle",[this.opt,run]),s=run.group,_67f=dojo.map(run.data,function(v,i){return v?{x:ht(v.x)+_67c.l,y:dim.height-_67c.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)}:null;},this);var _680=null,_681=null,_682=null;if(_67e.series.shadow){_682=dojo.map(_67f,function(item){if(item!==null){var _683=t.addMixin(_67e,"circle",item,true),_684=_683.series.shadow;var _685=s.createCircle({cx:item.x+_684.dx,cy:item.y+_684.dy,r:item.radius}).setStroke(_684).setFill(_684.color);if(this.animate){this._animateBubble(_685,dim.height-_67c.b,item.radius);}return _685;}return null;},this);if(_682.length){run.dyn.shadow=_682[_682.length-1].getStroke();}}if(_67e.series.outline){_681=dojo.map(_67f,function(item){if(item!==null){var _686=t.addMixin(_67e,"circle",item,true),_687=dc.makeStroke(_686.series.outline);_687.width=2*_687.width+_67e.series.stroke.width;var _688=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setStroke(_687);if(this.animate){this._animateBubble(_688,dim.height-_67c.b,item.radius);}return _688;}return null;},this);if(_681.length){run.dyn.outline=_681[_681.length-1].getStroke();}}_680=dojo.map(_67f,function(item){if(item!==null){var _689=t.addMixin(_67e,"circle",item,true),rect={x:item.x-item.radius,y:item.y-item.radius,width:2*item.radius,height:2*item.radius};var _68a=this._plotFill(_689.series.fill,dim,_67c);_68a=this._shapeFill(_68a,rect);var _68b=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setFill(_68a).setStroke(_689.series.stroke);if(this.animate){this._animateBubble(_68b,dim.height-_67c.b,item.radius);}return _68b;}return null;},this);if(_680.length){run.dyn.fill=_680[_680.length-1].getFill();run.dyn.stroke=_680[_680.length-1].getStroke();}if(_67d){var _68c=new Array(_680.length);dojo.forEach(_680,function(s,i){if(s!==null){var o={element:"circle",index:i,run:run,shape:s,outline:_681&&_681[i]||null,shadow:_682&&_682[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_67f[i].x,cy:_67f[i].y,cr:_67f[i].radius};this._connectEvents(o);_68c[i]=o;}},this);this._eventSeries[run.name]=_68c;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateBubble:function(_68d,_68e,size){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_68d,duration:1200,transform:[{name:"translate",start:[0,_68e],end:[0,0]},{name:"scale",start:[0,1/size],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Candlesticks"]){dojo._hasResource["dojox.charting.plot2d.Candlesticks"]=true;dojo.provide("dojox.charting.plot2d.Candlesticks");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_68f=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Candlesticks",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_690,_691){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_691);du.updateWithPattern(this.opt,_691,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_692){var _693=dojo.delegate(dc.defaultStats);for(var i=0;i<_692.length;i++){var run=_692[i];if(!run.data.length){continue;}var _694=_693.vmin,_695=_693.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_693.hmin=Math.min(_693.hmin,x);_693.hmax=Math.max(_693.hmax,x);_693.vmin=Math.min(_693.vmin,val.open,val.close,val.high,val.low);_693.vmax=Math.max(_693.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_693.vmin=Math.min(_694,run.ymin);}if("ymax" in run){_693.vmax=Math.max(_695,run.ymax);}}return _693;},getSeriesStats:function(){var _696=this.collectStats(this.series);_696.hmin-=0.5;_696.hmax+=0.5;return _696;},render:function(dim,_697){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_697);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_68f);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_698,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_699=Math.max(0,this._vScaler.bounds.lower),_69a=vt(_699),_69b=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_698=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 _69c=t.next("candlestick",[this.opt,run]),s=run.group,_69d=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _69e=t.addMixin(_69c,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_697.l+gap,y=dim.height-_697.b,open=vt(v.open),_69f=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(_698>=1){var _6a0=open>_69f;var line={x1:_698/2,x2:_698/2,y1:y-high,y2:y-low},rect={x:0,y:y-Math.max(open,_69f),width:_698,height:Math.max(_6a0?open-_69f:_69f-open,1)};shape=s.createGroup();shape.setTransform({dx:x,dy:0});var _6a1=shape.createGroup();_6a1.createLine(line).setStroke(_69e.series.stroke);_6a1.createRect(rect).setStroke(_69e.series.stroke).setFill(_6a0?_69e.series.fill:"white");if("mid" in v){_6a1.createLine({x1:(_69e.series.stroke.width||1),x2:_698-(_69e.series.stroke.width||1),y1:y-mid,y2:y-mid}).setStroke(_6a0?"white":_69e.series.stroke);}run.dyn.fill=_69e.series.fill;run.dyn.stroke=_69e.series.stroke;if(_69b){var o={element:"candlestick",index:j,run:run,shape:_6a1,x:x,y:y-Math.max(open,_69f),cx:_698/2,cy:(y-Math.max(open,_69f))+(Math.max(_6a0?open-_69f:_69f-open,1)/2),width:_698,height:Math.max(_6a0?open-_69f:_69f-open,1),data:v};this._connectEvents(o);_69d[j]=o;}}if(this.animate){this._animateCandlesticks(shape,y-low,high-low);}}}this._eventSeries[run.name]=_69d;run.dirty=false;}this.dirty=false;return this;},_animateCandlesticks:function(_6a2,_6a3,_6a4){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_6a2,duration:1200,transform:[{name:"translate",start:[0,_6a3-(_6a3/_6a4)],end:[0,0]},{name:"scale",start:[1,1/_6a4],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.OHLC"]){dojo._hasResource["dojox.charting.plot2d.OHLC"]=true;dojo.provide("dojox.charting.plot2d.OHLC");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_6a5=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.OHLC",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_6a6,_6a7){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_6a7);du.updateWithPattern(this.opt,_6a7,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_6a8){var _6a9=dojo.delegate(dc.defaultStats);for(var i=0;i<_6a8.length;i++){var run=_6a8[i];if(!run.data.length){continue;}var _6aa=_6a9.vmin,_6ab=_6a9.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_6a9.hmin=Math.min(_6a9.hmin,x);_6a9.hmax=Math.max(_6a9.hmax,x);_6a9.vmin=Math.min(_6a9.vmin,val.open,val.close,val.high,val.low);_6a9.vmax=Math.max(_6a9.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_6a9.vmin=Math.min(_6aa,run.ymin);}if("ymax" in run){_6a9.vmax=Math.max(_6ab,run.ymax);}}return _6a9;},getSeriesStats:function(){var _6ac=this.collectStats(this.series);_6ac.hmin-=0.5;_6ac.hmax+=0.5;return _6ac;},render:function(dim,_6ad){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_6ad);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_6a5);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_6ae,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_6af=Math.max(0,this._vScaler.bounds.lower),_6b0=vt(_6af),_6b1=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_6ae=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 _6b2=t.next("candlestick",[this.opt,run]),s=run.group,_6b3=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _6b4=t.addMixin(_6b2,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_6ad.l+gap,y=dim.height-_6ad.b,open=vt(v.open),_6b5=vt(v.close),high=vt(v.high),low=vt(v.low);if(low>high){var tmp=high;high=low;low=tmp;}if(_6ae>=1){var hl={x1:_6ae/2,x2:_6ae/2,y1:y-high,y2:y-low},op={x1:0,x2:((_6ae/2)+((_6b4.series.stroke.width||1)/2)),y1:y-open,y2:y-open},cl={x1:((_6ae/2)-((_6b4.series.stroke.width||1)/2)),x2:_6ae,y1:y-_6b5,y2:y-_6b5};shape=s.createGroup();shape.setTransform({dx:x,dy:0});var _6b6=shape.createGroup();_6b6.createLine(hl).setStroke(_6b4.series.stroke);_6b6.createLine(op).setStroke(_6b4.series.stroke);_6b6.createLine(cl).setStroke(_6b4.series.stroke);run.dyn.stroke=_6b4.series.stroke;if(_6b1){var o={element:"candlestick",index:j,run:run,shape:_6b6,x:x,y:y-Math.max(open,_6b5),cx:_6ae/2,cy:(y-Math.max(open,_6b5))+(Math.max(open>_6b5?open-_6b5:_6b5-open,1)/2),width:_6ae,height:Math.max(open>_6b5?open-_6b5:_6b5-open,1),data:v};this._connectEvents(o);_6b3[j]=o;}}if(this.animate){this._animateOHLC(shape,y-low,high-low);}}}this._eventSeries[run.name]=_6b3;run.dirty=false;}this.dirty=false;return this;},_animateOHLC:function(_6b7,_6b8,_6b9){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_6b7,duration:1200,transform:[{name:"translate",start:[0,_6b8-(_6b8/_6b9)],end:[0,0]},{name:"scale",start:[1,1/_6b9],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Spider"]){dojo._hasResource["dojox.charting.plot2d.Spider"]=true;dojo.provide("dojox.charting.plot2d.Spider");dojo.experimental("dojox.charting.plot2d.Spider");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx,m=g.matrix,_6ba=0.2;dojo.declare("dojox.charting.plot2d.Spider",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{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:dojo.fx.easing.backOut,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_6bb,_6bc){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_6bc);du.updateWithPattern(this.opt,_6bc,this.optionalParams);this.series=[];this.dyn=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};},clear:function(){this.dirty=true;this.dyn=[];this.series=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};return this;},setAxis:function(axis){return this;},addSeries:function(run){var _6bd=false;this.series.push(run);for(var key in run.data){var val=run.data[key],data=this.datas[key];if(data){data.vlist.push(val);data.min=Math.min(data.min,val);data.max=Math.max(data.max,val);}else{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 dojox.charting.plot2d.common.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_6be){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_6be.hmin,_6be.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=dojox.charting.scaler.primitive.buildScaler(_6be.hmin,_6be.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_6be.vmin,_6be.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=dojox.charting.scaler.primitive.buildScaler(_6be.vmin,_6be.vmax,dim.height);}return this;},render:function(dim,_6bf){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-_6bf.l-_6bf.r)/2,ry=(dim.height-_6bf.t-_6bf.b)/2,r=Math.min(rx,ry),_6c0=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_6c1=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_6c2=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_6c3=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_6c4=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_6c5=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_6c6=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_6c7=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_6c8=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_6c9=g.normalizedLength(g.splitFontString(_6c1).size),_6ca=m._degToRad(o.startAngle),_6cb=_6ca,step,_6cc,_6cd,_6ce,_6cf,_6d0,_6d1,_6d2,_6d3,_6d4,_6d5,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_6d6=o.labelOffset<-10?o.labelOffset:-10,_6d7=0.2;if(o.labels){_6ce=dojo.map(this.series,function(s){return s.name;},this);_6cf=df.foldl1(df.map(_6ce,function(_6d8,i){var font=t.series.font;return dojox.gfx._base._getTextBox(_6d8,{font:font}).w;},this),"Math.max(a, b)")/2;r=Math.min(rx-2*_6cf,ry-_6c9)+_6d6;_6d0=r-_6d6;}if("radius" in o){r=o.radius;_6d0=r-_6d6;}r/=(1+_6d7);var _6d9={cx:_6bf.l+rx,cy:_6bf.t+ry,r:r};for(var i=this.series.length-1;i>=0;i--){var _6da=this.series[i];if(!this.dirty&&!_6da.dirty){t.skip();continue;}_6da.cleanGroup();var run=_6da.data;if(run!==null){var len=this._getObjectLength(run);if(!_6d1||_6d1.length<=0){_6d1=[],_6d2=[],_6d5=[];this._buildPoints(_6d1,len,_6d9,r,_6cb,true);this._buildPoints(_6d2,len,_6d9,r*ro,_6cb,true);this._buildPoints(_6d5,len,_6d9,_6d0,_6cb);if(dv>2){_6d3=[],_6d4=[];for(var j=0;j<dv-2;j++){_6d3[j]=[];this._buildPoints(_6d3[j],len,_6d9,r*(ro+(1-ro)*(j+1)/(dv-1)),_6cb,true);_6d4[j]=r*(ro+(1-ro)*(j+1)/(dv-1));}}}}}var _6db=s.createGroup(),_6dc={color:_6c4,width:_6c6},_6dd={color:_6c5,width:_6c7};for(var j=_6d1.length-1;j>=0;--j){var _6de=_6d1[j],st={x:_6de.x+(_6de.x-_6d9.cx)*_6d7,y:_6de.y+(_6de.y-_6d9.cy)*_6d7},nd={x:_6de.x+(_6de.x-_6d9.cx)*_6d7/2,y:_6de.y+(_6de.y-_6d9.cy)*_6d7/2};_6db.createLine({x1:_6d9.cx,y1:_6d9.cy,x2:st.x,y2:st.y}).setStroke(_6dc);this._drawArrow(_6db,st,nd,_6dc);}var _6df=s.createGroup();for(var j=_6d5.length-1;j>=0;--j){var _6de=_6d5[j],_6e0=dojox.gfx._base._getTextBox(this.labelKey[j],{font:_6c1}).w||0,_6e1=this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx";elem=da.createText[_6e1](this.chart,_6df,(!dojo._isBodyLtr()&&_6e1=="html")?(_6de.x+_6e0-dim.width):_6de.x,_6de.y,"middle",this.labelKey[j],_6c1,_6c3);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}var _6e2=s.createGroup();if(spt=="polygon"){_6e2.createPolyline(_6d1).setStroke(_6dd);_6e2.createPolyline(_6d2).setStroke(_6dd);if(_6d3.length>0){for(var j=_6d3.length-1;j>=0;--j){_6e2.createPolyline(_6d3[j]).setStroke(_6dd);}}}else{var _6e3=this._getObjectLength(this.datas);_6e2.createCircle({cx:_6d9.cx,cy:_6d9.cy,r:r}).setStroke(_6dd);_6e2.createCircle({cx:_6d9.cx,cy:_6d9.cy,r:r*ro}).setStroke(_6dd);if(_6d4.length>0){for(var j=_6d4.length-1;j>=0;--j){_6e2.createCircle({cx:_6d9.cx,cy:_6d9.cy,r:_6d4[j]}).setStroke(_6dd);}}}var _6e4=s.createGroup(),len=this._getObjectLength(this.datas),k=0;for(var key in this.datas){var data=this.datas[key],min=data.min,max=data.max,_6e5=max-min,end=_6cb+2*Math.PI*k/len;for(var i=0;i<dv;i++){var text=min+_6e5*i/(dv-1),_6de=this._getCoordinate(_6d9,r*(ro+(1-ro)*i/(dv-1)),end);text=this._getLabel(text);var _6e0=dojox.gfx._base._getTextBox(text,{font:_6c0}).w||0,_6e1=this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx";if(this.opt.htmlLabels){this.htmlElements.push(da.createText[_6e1](this.chart,_6e4,(!dojo._isBodyLtr()&&_6e1=="html")?(_6de.x+_6e0-dim.width):_6de.x,_6de.y,"start",text,_6c0,_6c2));}}k++;}this.chart.seriesShapes={};var _6e6=[];for(var i=this.series.length-1;i>=0;i--){var _6da=this.series[i],run=_6da.data;if(run!==null){var _6e7=[],k=0,_6e8=[];for(var key in run){var data=this.datas[key],min=data.min,max=data.max,_6e5=max-min,_6e9=run[key],end=_6cb+2*Math.PI*k/len,_6de=this._getCoordinate(_6d9,r*(ro+(1-ro)*(_6e9-min)/_6e5),end);_6e7.push(_6de);_6e8.push({sname:_6da.name,key:key,data:_6e9});k++;}_6e7[_6e7.length]=_6e7[0];_6e8[_6e8.length]=_6e8[0];var _6ea=this._getBoundary(_6e7),_6eb=t.next("spider",[o,_6da]),ts=_6da.group,f=g.normalizeColor(_6eb.series.fill),sk={color:_6eb.series.fill,width:_6c8};f.a=o.seriesFillAlpha;_6da.dyn={fill:f,stroke:sk};var osps=this.oldSeriePoints[_6da.name];var cs=this._createSeriesEntry(ts,(osps||_6d2),_6e7,f,sk,r,ro,ms,at);this.chart.seriesShapes[_6da.name]=cs;this.oldSeriePoints[_6da.name]=_6e7;var po={element:"spider_poly",index:i,id:"spider_poly_"+_6da.name,run:_6da,plot:this,shape:cs.poly,parent:ts,brect:_6ea,cx:_6d9.cx,cy:_6d9.cy,cr:r,f:f,s:s};this._connectEvents(po);var so={element:"spider_plot",index:i,id:"spider_plot_"+_6da.name,run:_6da,plot:this,shape:_6da.group};this._connectEvents(so);dojo.forEach(cs.circles,function(c,i){var _6ec=c.getShape(),co={element:"spider_circle",index:i,id:"spider_circle_"+_6da.name+i,run:_6da,plot:this,shape:c,parent:ts,tdata:_6e8[i],cx:_6e7[i].x,cy:_6e7[i].y,f:f,s:s};this._connectEvents(co);},this);}}return this;},_createSeriesEntry:function(ts,osps,sps,f,sk,r,ro,ms,at){var _6ed=ts.createPolyline(osps).setFill(f).setStroke(sk),_6ee=[];for(var j=0;j<osps.length;j++){var _6ef=osps[j],cr=ms;var _6f0=ts.createCircle({cx:_6ef.x,cy:_6ef.y,r:cr}).setFill(f).setStroke(sk);_6ee.push(_6f0);}var _6f1=dojo.map(sps,function(np,j){var sp=osps[j],anim=new dojo._Animation({duration:1000,easing:at,curve:[sp.y,np.y]});var spl=_6ed,sc=_6ee[j];dojo.connect(anim,"onAnimate",function(y){var _6f2=spl.getShape();_6f2.points[j].y=y;spl.setShape(_6f2);var _6f3=sc.getShape();_6f3.cy=y;sc.setShape(_6f3);});return anim;});var _6f4=dojo.map(sps,function(np,j){var sp=osps[j],anim=new dojo._Animation({duration:1000,easing:at,curve:[sp.x,np.x]});var spl=_6ed,sc=_6ee[j];dojo.connect(anim,"onAnimate",function(x){var _6f5=spl.getShape();_6f5.points[j].x=x;spl.setShape(_6f5);var _6f6=sc.getShape();_6f6.cx=x;sc.setShape(_6f6);});return anim;});var _6f7=dojo.fx.combine(_6f1.concat(_6f4));_6f7.play();return {group:ts,poly:_6ed,circles:_6ee};},plotEvent:function(o){var _6f8=o.id?o.id:"default",a;if(_6f8 in this.animations){a=this.animations[_6f8];a.anim&&a.anim.stop(true);}else{a=this.animations[_6f8]={};}if(o.element=="spider_poly"){if(!a.color){var _6f9=o.shape.getFill();if(!_6f9||!(_6f9 instanceof dojo.Color)){return;}a.color={start:_6f9,end:_6fa(_6f9)};}var _6fb=a.color.start,end=a.color.end;if(o.type=="onmouseout"){var t=_6fb;_6fb=end;end=t;}a.anim=dojox.gfx.fx.animateFill({shape:o.shape,duration:800,easing:dojo.fx.easing.backOut,color:{start:_6fb,end:end}});a.anim.play();}else{if(o.element=="spider_circle"){var init,_6fc,_6fd=1.5;if(o.type=="onmouseover"){init=dojox.gfx.matrix.identity;_6fc=_6fd;var _6fe={type:"rect"};_6fe.x=o.cx;_6fe.y=o.cy;_6fe.width=_6fe.height=1;var lt=dojo.coords(this.chart.node,true);_6fe.x+=lt.x;_6fe.y+=lt.y;_6fe.x=Math.round(_6fe.x);_6fe.y=Math.round(_6fe.y);_6fe.width=Math.ceil(_6fe.width);_6fe.height=Math.ceil(_6fe.height);this.aroundRect=_6fe;var _6ff=["after","before"];if(dijit&&dijit.Tooltip){dijit.showTooltip(o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data,this.aroundRect,_6ff);}}else{init=dojox.gfx.matrix.scaleAt(_6fd,o.cx,o.cy);_6fc=1/_6fd;if(dijit&&dijit.Tooltip){this.aroundRect&&dijit.hideTooltip(this.aroundRect);}}var cs=o.shape.getShape(),init=m.scaleAt(_6fd,cs.cx,cs.cy),_700={shape:o.shape,duration:200,easing:dojo.fx.easing.backOut,transform:[{name:"scaleAt",start:[1,cs.cx,cs.cy],end:[_6fc,cs.cx,cs.cy]},init]};a.anim=dojox.gfx.fx.animateTransform(_700);a.anim.play();}else{if(o.element=="spider_plot"){if(o.type=="onmouseover"&&!dojo.isIE){o.shape.moveToFront();}}}}},_getBoundary:function(_701){var xmax=_701[0].x,xmin=_701[0].x,ymax=_701[0].y,ymin=_701[0].y;for(var i=0;i<_701.length;i++){var _702=_701[i];xmax=Math.max(_702.x,xmax);ymax=Math.max(_702.y,ymax);xmin=Math.min(_702.x,xmin);ymin=Math.min(_702.y,ymin);}return {x:xmin,y:ymin,width:xmax-xmin,height:ymax-ymin};},_drawArrow:function(s,_703,end,_704){var len=Math.sqrt(Math.pow(end.x-_703.x,2)+Math.pow(end.y-_703.y,2)),sin=(end.y-_703.y)/len,cos=(end.x-_703.x)/len,_705={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_706={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};s.createPolyline([_703,_705,_706]).setFill(_704.color).setStroke(_704);},_buildPoints:function(_707,_708,_709,_70a,_70b,_70c){for(var i=0;i<_708;i++){var end=_70b+2*Math.PI*i/_708;_707.push(this._getCoordinate(_709,_70a,end));}if(_70c){_707.push(this._getCoordinate(_709,_70a,_70b+2*Math.PI));}},_getCoordinate:function(_70d,_70e,_70f){return {x:_70d.cx+_70e*Math.cos(_70f),y:_70d.cy+_70e*Math.sin(_70f)};},_getObjectLength:function(obj){var _710=0;if(dojo.isObject(obj)){for(var key in obj){_710++;}}return _710;},_getLabel:function(_711){return dc.getLabel(_711,this.opt.fixed,this.opt.precision);}});function _6fa(_712){var a=new dojox.color.Color(_712),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 _712=dojox.color.fromHsl(x);_712.a=0.7;return _712;};})();}if(!dojo._hasResource["dojox.charting.Chart2D"]){dojo._hasResource["dojox.charting.Chart2D"]=true;dojo.provide("dojox.charting.Chart2D");dojo.deprecated("dojox.charting.Chart2D","Use dojo.charting.Chart instead and require all other components explicitly","2.0");dojox.charting.Chart2D=dojox.charting.Chart;}if(!dojo._hasResource["dojox.charting.widget.Chart2D"]){dojo._hasResource["dojox.charting.widget.Chart2D"]=true;dojo.provide("dojox.charting.widget.Chart2D");dojo.deprecated("dojox.charting.widget.Chart2D","Use dojo.charting.widget.Chart instead and require all other components explicitly","2.0");dojox.charting.widget.Chart2D=dojox.charting.widget.Chart;}if(!dojo._hasResource["dojox.charting.themes.gradientGenerator"]){dojo._hasResource["dojox.charting.themes.gradientGenerator"]=true;dojo.provide("dojox.charting.themes.gradientGenerator");(function(){var gg=dojox.charting.themes.gradientGenerator;gg.generateFills=function(_713,_714,_715,_716){var _717=dojox.charting.Theme;return dojo.map(_713,function(c){return _717.generateHslGradient(c,_714,_715,_716);});};gg.updateFills=function(_718,_719,_71a,_71b){var _71c=dojox.charting.Theme;dojo.forEach(_718,function(t){if(t.fill&&!t.fill.type){t.fill=_71c.generateHslGradient(t.fill,_719,_71a,_71b);}});};gg.generateMiniTheme=function(_71d,_71e,_71f,_720,_721){var _722=dojox.charting.Theme;return dojo.map(_71d,function(c){c=new dojox.color.Color(c);return {fill:_722.generateHslGradient(c,_71e,_71f,_720),stroke:{color:_722.generateHslColor(c,_721)}};});};gg.generateGradientByIntensity=function(_723,_724){_723=new dojo.Color(_723);return dojo.map(_724,function(stop){var s=stop.i/255;return {offset:stop.o,color:new dojo.Color([_723.r*s,_723.g*s,_723.b*s,_723.a])};});};})();}if(!dojo._hasResource["dojox.charting.themes.PrimaryColors"]){dojo._hasResource["dojox.charting.themes.PrimaryColors"]=true;dojo.provide("dojox.charting.themes.PrimaryColors");(function(){var dc=dojox.charting,_725=dc.themes,_726=["#f00","#0f0","#00f","#ff0","#0ff","#f0f"],_727={type:"linear",space:"plot",x1:0,y1:0,x2:0,y2:100};_725.PrimaryColors=new dc.Theme({seriesThemes:_725.gradientGenerator.generateMiniTheme(_726,_727,90,40,25)});})();}if(!dojo._hasResource["dojox.charting.themes.ThreeD"]){dojo._hasResource["dojox.charting.themes.ThreeD"]=true;dojo.provide("dojox.charting.themes.ThreeD");(function(){var dc=dojox.charting,_728=dc.themes,_729=dc.Theme,gi=_728.gradientGenerator.generateGradientByIntensity,_72a=["#f00","#0f0","#00f","#ff0","#0ff","#f0f"],_72b={type:"linear",space:"shape",x1:0,y1:0,x2:100,y2:0},_72c=[{o:0,i:174},{o:0.08,i:231},{o:0.18,i:237},{o:0.3,i:231},{o:0.39,i:221},{o:0.49,i:206},{o:0.58,i:187},{o:0.68,i:165},{o:0.8,i:128},{o:0.9,i:102},{o:1,i:174}],_72d=2,_72e=100,_72f=50,_730=dojo.map(_72a,function(c){var fill=dojo.delegate(_72b),_72a=fill.colors=_728.gradientGenerator.generateGradientByIntensity(c,_72c),_731=_72a[_72d].color;_731.r+=_72e;_731.g+=_72e;_731.b+=_72e;_731.sanitize();return fill;});_728.ThreeD=_728.PrimaryColors.clone();_728.ThreeD.series.shadow={dx:1,dy:1,width:3,color:[0,0,0,0.15]};_728.ThreeD.next=function(_732,_733,_734){if(_732=="bar"||_732=="column"){var _735=this._current%this.seriesThemes.length,s=this.seriesThemes[_735],old=s.fill;s.fill=_730[_735];var _736=_729.prototype.next.apply(this,arguments);s.fill=old;return _736;}return _729.prototype.next.apply(this,arguments);};})();}dojo.i18n._preloadLocalizations("dojo.nls.vclBlockMachines",["ROOT","en","en-gb","en-us","es","es-es","es-mx","ja","ja-jp","xx","zh","zh-cn"]);
