/*
	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["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.getObject("i18n",true,dojo);dojo.i18n.getLocalization=dojo.i18n.getLocalization||function(_5f,_60,_61){_61=dojo.i18n.normalizeLocale(_61);var _62=_61.split("-");var _63=[_5f,"nls",_60].join(".");var _64=dojo._loadedModules[_63];if(_64){var _65;for(var i=_62.length;i>0;i--){var loc=_62.slice(0,i).join("_");if(_64[loc]){_65=_64[loc];break;}}if(!_65){_65=_64.ROOT;}if(_65){var _66=function(){};_66.prototype=_65;return new _66();}}throw new Error("Bundle not found: "+_60+" in "+_5f+" , locale="+_61);};dojo.i18n.normalizeLocale=function(_67){var _68=(_67?_67:dojo.locale).toLowerCase();if(_68=="root"){_68="ROOT";}return _68;};dojo.i18n._requireLocalization=function(_69,_6a,_6b,_6c){var _6d=dojo.i18n.normalizeLocale(_6b);var _6e=[_69,"nls",_6a].join(".");var _6f="";if(_6c){var _70=_6c.split(",");for(var i=0;i<_70.length;i++){if(_6d["indexOf"](_70[i])==0){if(_70[i].length>_6f.length){_6f=_70[i];}}}if(!_6f){_6f="ROOT";}}var _71=_6c?_6f:_6d;var _72=dojo._loadedModules[_6e];var _73=null;if(_72){if(dojo.config.localizationComplete&&_72._built){return;}var _74=_71.replace(/-/g,"_");var _75=_6e+"."+_74;_73=dojo._loadedModules[_75];}if(!_73){_72=dojo["provide"](_6e);var _76=dojo._getModuleSymbols(_69);var _77=_76.concat("nls").join("/");var _78;dojo.i18n._searchLocalePath(_71,_6c,function(loc){var _79=loc.replace(/-/g,"_");var _7a=_6e+"."+_79;var _7b=false;if(!dojo._loadedModules[_7a]){dojo["provide"](_7a);var _7c=[_77];if(loc!="ROOT"){_7c.push(loc);}_7c.push(_6a);var _7d=_7c.join("/")+".js";_7b=dojo._loadPath(_7d,null,function(_7e){_7e=_7e.root||_7e;var _7f=function(){};_7f.prototype=_78;_72[_79]=new _7f();for(var j in _7e){_72[_79][j]=_7e[j];}});}else{_7b=true;}if(_7b&&_72[_79]){_78=_72[_79];}else{_72[_79]=_78;}if(_6c){return true;}});}if(_6c&&_6d!=_6f){_72[_6d.replace(/-/g,"_")]=_72[_6f.replace(/-/g,"_")];}};(function(){var _80=dojo.config.extraLocale;if(_80){if(!_80 instanceof Array){_80=[_80];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_81,_82){req(m,b,_81,_82);if(_81){return;}for(var i=0;i<_80.length;i++){req(m,b,_80[i],_82);}};}})();dojo.i18n._searchLocalePath=function(_83,_84,_85){_83=dojo.i18n.normalizeLocale(_83);var _86=_83.split("-");var _87=[];for(var i=_86.length;i>0;i--){_87.push(_86.slice(0,i).join("-"));}_87.push(false);if(_84){_87.reverse();}for(var j=_87.length-1;j>=0;j--){var loc=_87[j]||"ROOT";var _88=_85(loc);if(_88){break;}}};dojo.i18n._preloadLocalizations=function(_89,_8a){function _8b(_8c){_8c=dojo.i18n.normalizeLocale(_8c);dojo.i18n._searchLocalePath(_8c,true,function(loc){for(var i=0;i<_8a.length;i++){if(_8a[i]==loc){dojo["require"](_89+"_"+loc);return true;}}return false;});};_8b();var _8d=dojo.config.extraLocale||[];for(var i=0;i<_8d.length;i++){_8b(_8d[i]);}};}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(_8e){if(this._hash[_8e.id]){throw new Error("Tried to register widget with id=="+_8e.id+" but that id is already registered");}this._hash[_8e.id]=_8e;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_8f,_90){_90=_90||dojo.global;var i=0,id;for(id in this._hash){_8f.call(_90,this._hash[id],i++,this._hash);}return this;},filter:function(_91,_92){_92=_92||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_91.call(_92,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,_93;for(id in this._hash){_93=this._hash[id];if(_93.declaredClass==cls){res.add(_93);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_94,_95){return dojo.map(this.toArray(),_94,_95);},every:function(_96,_97){_97=_97||dojo.global;var x=0,i;for(i in this._hash){if(!_96.call(_97,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_98,_99){_99=_99||dojo.global;var x=0,i;for(i in this._hash){if(_98.call(_99,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _9a=dijit.registry._hash,_9b=dojo.attr,_9c=dojo.hasAttr,_9d=dojo.style;dijit.byId=function(id){return typeof id=="string"?_9a[id]:id;};var _9e={};dijit.getUniqueId=function(_9f){var id;do{id=_9f+"_"+(_9f in _9e?++_9e[_9f]:_9e[_9f]=0);}while(_9a[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_a0){var _a1=[];function _a2(_a3){for(var _a4=_a3.firstChild;_a4;_a4=_a4.nextSibling){if(_a4.nodeType==1){var _a5=_a4.getAttribute("widgetId");if(_a5){var _a6=_9a[_a5];if(_a6){_a1.push(_a6);}}else{_a2(_a4);}}}};_a2(_a0);return _a1;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_a7){if(!_a7._destroyed){if(_a7.destroyRecursive){_a7.destroyRecursive();}else{if(_a7.destroy){_a7.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_a8){return _9a[_a8.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_a9){while(_a9){var id=_a9.getAttribute&&_a9.getAttribute("widgetId");if(id){return _9a[id];}_a9=_a9.parentNode;}return null;};var _aa=(dijit._isElementShown=function(_ab){var s=_9d(_ab);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_9b(_ab,"type")!="hidden");});dijit.hasDefaultTabStop=function(_ac){switch(_ac.nodeName.toLowerCase()){case "a":return _9c(_ac,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _ad;try{var _ae=_ac.contentDocument;if("designMode" in _ae&&_ae.designMode=="on"){return true;}_ad=_ae.body;}catch(e1){try{_ad=_ac.contentWindow.document.body;}catch(e2){return false;}}return _ad.contentEditable=="true"||(_ad.firstChild&&_ad.firstChild.contentEditable=="true");default:return _ac.contentEditable=="true";}};var _af=(dijit.isTabNavigable=function(_b0){if(_9b(_b0,"disabled")){return false;}else{if(_9c(_b0,"tabIndex")){return _9b(_b0,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_b0);}}});dijit._getTabNavigable=function(_b1){var _b2,_b3,_b4,_b5,_b6,_b7,_b8={};function _b9(_ba){return _ba&&_ba.tagName.toLowerCase()=="input"&&_ba.type&&_ba.type.toLowerCase()=="radio"&&_ba.name&&_ba.name.toLowerCase();};var _bb=function(_bc){dojo.query("> *",_bc).forEach(function(_bd){if((dojo.isIE<=9&&_bd.scopeName!=="HTML")||!_aa(_bd)){return;}if(_af(_bd)){var _be=_9b(_bd,"tabIndex");if(!_9c(_bd,"tabIndex")||_be==0){if(!_b2){_b2=_bd;}_b3=_bd;}else{if(_be>0){if(!_b4||_be<_b5){_b5=_be;_b4=_bd;}if(!_b6||_be>=_b7){_b7=_be;_b6=_bd;}}}var rn=_b9(_bd);if(dojo.attr(_bd,"checked")&&rn){_b8[rn]=_bd;}}if(_bd.nodeName.toUpperCase()!="SELECT"){_bb(_bd);}});};if(_aa(_b1)){_bb(_b1);}function rs(_bf){return _b8[_b9(_bf)]||_bf;};return {first:rs(_b2),last:rs(_b3),lowest:rs(_b4),highest:rs(_b6)};};dijit.getFirstInTabbingOrder=function(_c0){var _c1=dijit._getTabNavigable(dojo.byId(_c0));return _c1.lowest?_c1.lowest:_c1.first;};dijit.getLastInTabbingOrder=function(_c2){var _c3=dijit._getTabNavigable(dojo.byId(_c2));return _c3.last?_c3.last:_c3.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(_c4){if(_c4){dojo.mixin(this,_c4);}},get:function(_c5){return this[_c5];},set:function(_c6,_c7){if(typeof _c6==="object"){for(var x in _c6){this.set(x,_c6[x]);}return this;}var _c8=this[_c6];this[_c6]=_c7;if(this._watchCallbacks){this._watchCallbacks(_c6,_c8,_c7);}return this;},watch:function(_c9,_ca){var _cb=this._watchCallbacks;if(!_cb){var _cc=this;_cb=this._watchCallbacks=function(_cd,_ce,_cf,_d0){var _d1=function(_d2){if(_d2){_d2=_d2.slice();for(var i=0,l=_d2.length;i<l;i++){try{_d2[i].call(_cc,_cd,_ce,_cf);}catch(e){console.error(e);}}}};_d1(_cb["_"+_cd]);if(!_d0){_d1(_cb["*"]);}};}if(!_ca&&typeof _c9==="function"){_ca=_c9;_c9="*";}else{_c9="_"+_c9;}var _d3=_cb[_c9];if(typeof _d3!=="object"){_d3=_cb[_c9]=[];}_d3.push(_ca);return {unwatch:function(){_d3.splice(dojo.indexOf(_d3,_ca),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){function _d4(a,b){return a===b||(a!==a&&b!==b);};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(_d5,_d6){this.create(_d5,_d6);},create:function(_d7,_d8){this.srcNodeRef=dojo.byId(_d8);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_d7){this.params=_d7;dojo._mixin(this,_d7);}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 _d9=this.srcNodeRef;if(_d9&&_d9.parentNode&&this.domNode!==_d9){_d9.parentNode.replaceChild(this.domNode,_d9);}}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 _da=function(_db,_dc){if((_dc.params&&_db in _dc.params)||_dc[_db]){_dc.set(_db,_dc[_db]);}};for(var _dd in this.attributeMap){_da(_dd,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_da(a,this);}},this);},_getSetterAttributes:function(){var _de=this.constructor;if(!_de._setterAttrs){var r=(_de._setterAttrs=[]),_df,_e0=_de.prototype;for(var _e1 in _e0){if(dojo.isFunction(_e0[_e1])&&(_df=_e1.match(/^_set([a-zA-Z]*)Attr$/))&&_df[1]){r.push(_df[1].charAt(0).toLowerCase()+_df[1].substr(1));}}}return _de._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _e2=this.baseClass.split(" ");if(!this.isLeftToRight()){_e2=_e2.concat(dojo.map(_e2,function(_e3){return _e3+"Rtl";}));}dojo.addClass(this.domNode,_e2);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_e4){this._beingDestroyed=true;this.destroyDescendants(_e4);this.destroy(_e4);},destroy:function(_e5){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_e6){dfe(_e6,d.disconnect);});dfe(this._subscribes,function(_e7){dun(_e7);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_e5);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_e8){if(this.bgIframe){this.bgIframe.destroy(_e8);delete this.bgIframe;}if(this.domNode){if(_e8){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_e8){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_e9){dojo.forEach(this.getChildren(),function(_ea){if(_ea.destroyRecursive){_ea.destroyRecursive(_e9);}});},uninitialize:function(){return false;},_setClassAttr:function(_eb){var _ec=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_ec,_eb,this["class"]);this._set("class",_eb);},_setStyleAttr:function(_ed){var _ee=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_ed)){dojo.style(_ee,_ed);}else{if(_ee.style.cssText){_ee.style.cssText+="; "+_ed;}else{_ee.style.cssText=_ed;}}this._set("style",_ed);},_attrToDom:function(_ef,_f0){var _f1=this.attributeMap[_ef];dojo.forEach(dojo.isArray(_f1)?_f1:[_f1],function(_f2){var _f3=this[_f2.node||_f2||"domNode"];var _f4=_f2.type||"attribute";switch(_f4){case "attribute":if(dojo.isFunction(_f0)){_f0=dojo.hitch(this,_f0);}var _f5=_f2.attribute?_f2.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_ef)?_ef.toLowerCase():_ef);dojo.attr(_f3,_f5,_f0);break;case "innerText":_f3.innerHTML="";_f3.appendChild(dojo.doc.createTextNode(_f0));break;case "innerHTML":_f3.innerHTML=_f0;break;case "class":dojo.replaceClass(_f3,_f0,this[_ef]);break;}},this);},get:function(_f6){var _f7=this._getAttrNames(_f6);return this[_f7.g]?this[_f7.g]():this[_f6];},set:function(_f8,_f9){if(typeof _f8==="object"){for(var x in _f8){this.set(x,_f8[x]);}return this;}var _fa=this._getAttrNames(_f8);if(this[_fa.s]){var _fb=this[_fa.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(_f8 in this.attributeMap){this._attrToDom(_f8,_f9);}this._set(_f8,_f9);}return _fb||this;},_attrPairNames:{},_getAttrNames:function(_fc){var apn=this._attrPairNames;if(apn[_fc]){return apn[_fc];}var uc=_fc.charAt(0).toUpperCase()+_fc.substr(1);return (apn[_fc]={n:_fc+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_fd,_fe){var _ff=this[_fd];this[_fd]=_fe;if(this._watchCallbacks&&this._created&&!_d4(_fe,_ff)){this._watchCallbacks(_fd,_ff,_fe);}},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,_100,_101){var _102=[dojo._connect(obj,_100,this,_101)];this._connects.push(_102);return _102;},disconnect:function(_103){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_103){dojo.forEach(_103,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_104,_105){var _106=dojo.subscribe(_104,this,_105);this._subscribes.push(_106);return _106;},unsubscribe:function(_107){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_107){dojo.unsubscribe(_107);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_108,_109){if(_108.declaredClass&&_108.addChild){_108.addChild(this,_109);}else{dojo.place(this.domNode,_108,_109);}return this;},defer:function(fcn,_10a){var _10b=setTimeout(dojo.hitch(this,function(){_10b=null;if(!this._destroyed){dojo.hitch(this,fcn)();}}),_10a||0);return {remove:function(){if(_10b){clearTimeout(_10b);_10b=null;}return null;}};}});})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _10c=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _10d=dojo._docScroll();return {w:_10c.clientWidth,h:_10c.clientHeight,l:_10d.x,t:_10d.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(node,pos){node=dojo.byId(node);var body,doc=node.ownerDocument||dojo.doc;if(!("rtl_adjust_position_for_verticalScrollBar" in dojo.window)){body=dojo.body();var _10e=dojo.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=dojo.create("div",{style:{overflow:"hidden",direction:"ltr"}},_10e,"last");dojo.window.rtl_adjust_position_for_verticalScrollBar=dojo.position(div).x!=0;_10e.removeChild(div);body.removeChild(_10e);}if(!("position_fixed_support" in dojo.window)){body=dojo.body();var _10f=dojo.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_110=dojo.create("span",{style:{position:"fixed",left:"0",top:"0"}},_10f,"last");dojo.window.position_fixed_support=dojo.position(_110).x!=dojo.position(_10f).x;_10f.removeChild(_110);body.removeChild(_10f);}try{body=doc.body||doc.getElementsByTagName("body")[0];var html=doc.documentElement||body.parentNode,isIE=dojo.isIE,isWK=dojo.isWebKit;if(node==body||node==html){return;}if(!(dojo.isMozilla||isIE||isWK||dojo.isOpera)&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _111=doc.compatMode=="BackCompat",_112=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_113=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_114=(isWK||_111)?body:html,_115=pos||dojo.position(node),el=node.parentNode,_116=function(el){return (isIE<=6||(isIE==7&&_111))?false:(dojo.window.position_fixed_support&&(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_116(node)){return;}while(el){if(el==body){el=_114;}var _117=dojo.position(el),_118=_116(el),rtl=dojo.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_114){_117.w=_112;_117.h=_113;if(_114==html&&isIE&&rtl){_117.x+=_114.offsetWidth-_117.w;}if(_117.x<0||!isIE||isIE>=9){_117.x=0;}if(_117.y<0||!isIE||isIE>=9){_117.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_117.w-=pb.w;_117.h-=pb.h;_117.x+=pb.l;_117.y+=pb.t;var _119=el.clientWidth,_11a=_117.w-_119;if(_119>0&&_11a>0){if(rtl&&dojo.window.rtl_adjust_position_for_verticalScrollBar){_117.x+=_11a;}_117.w=_119;}_119=el.clientHeight;_11a=_117.h-_119;if(_119>0&&_11a>0){_117.h=_119;}}if(_118){if(_117.y<0){_117.h+=_117.y;_117.y=0;}if(_117.x<0){_117.w+=_117.x;_117.x=0;}if(_117.y+_117.h>_113){_117.h=_113-_117.y;}if(_117.x+_117.w>_112){_117.w=_112-_117.x;}}var l=_115.x-_117.x,t=_115.y-_117.y,r=l+_115.w-_117.w,bot=t+_115.h-_117.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_114||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_111)||isIE>=9)){s=-s;}old=el.scrollLeft;el.scrollLeft+=s;s=el.scrollLeft-old;_115.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_114||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;el.scrollTop+=s;s=el.scrollTop-old;_115.y-=s;}el=(el!=_114)&&!_118&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};}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(_11b){var _11c=dojo.doc,mark=_11b.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(_11c.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_11c.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_11c.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_11d){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_11d||dojo.global,dijit.getBookmark),openedForWindow:_11d};},focus:function(_11e){if(!_11e){return;}var node="node" in _11e?_11e.node:_11e,_11f=_11e.bookmark,_120=_11e.openedForWindow,_121=_11f?_11f.isCollapsed:false;if(node){var _122=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_122&&_122.focus){try{_122.focus();}catch(e){}}dijit._onFocusNode(node);}if(_11f&&dojo.withGlobal(_120||dojo.global,dijit.isCollapsed)&&!_121){if(_120){_120.focus();}try{dojo.withGlobal(_120||dojo.global,dijit.moveToBookmark,null,[_11f]);}catch(e2){}}},_activeStack:[],registerIframe:function(_123){return dijit.registerWin(_123.contentWindow,_123);},unregisterIframe:function(_124){dijit.unregisterWin(_124);},registerWin:function(_125,_126){var _127=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_126||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_125.document.documentElement:_125.document;if(doc){if(dojo.isIE){_125.document.body.attachEvent("onmousedown",_127);var _128=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_126||evt.srcElement);}else{dijit._onTouchNode(_126||evt.srcElement);}};doc.attachEvent("onactivate",_128);var _129=function(evt){dijit._onBlurNode(_126||evt.srcElement);};doc.attachEvent("ondeactivate",_129);return function(){_125.document.detachEvent("onmousedown",_127);doc.detachEvent("onactivate",_128);doc.detachEvent("ondeactivate",_129);doc=null;};}else{doc.body.addEventListener("mousedown",_127,true);var _12a=function(evt){dijit._onFocusNode(_126||evt.target);};doc.addEventListener("focus",_12a,true);var _12b=function(evt){dijit._onBlurNode(_126||evt.target);};doc.addEventListener("blur",_12b,true);return function(){doc.body.removeEventListener("mousedown",_127,true);doc.removeEventListener("focus",_12a,true);doc.removeEventListener("blur",_12b,true);doc=null;};}}},unregisterWin:function(_12c){_12c&&_12c();},_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 _12d=[];try{while(node){var _12e=dojo.attr(node,"dijitPopupParent");if(_12e){node=dijit.byId(_12e).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"),_12f=id&&dijit.byId(id);if(_12f&&!(by=="mouse"&&_12f.get("disabled"))){_12d.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_12d,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(_130,by){var _131=dijit._activeStack;dijit._activeStack=_130;for(var _132=0;_132<Math.min(_131.length,_130.length);_132++){if(_131[_132]!=_130[_132]){break;}}var _133;for(var i=_131.length-1;i>=_132;i--){_133=dijit.byId(_131[i]);if(_133){_133._focused=false;_133.set("focused",false);_133._hasBeenBlurred=true;if(_133._onBlur){_133._onBlur(by);}dojo.publish("widgetBlur",[_133,by]);}}for(i=_132;i<_130.length;i++){_133=dijit.byId(_130[i]);if(_133){_133._focused=true;_133.set("focused",true);if(_133._onFocus){_133._onFocus(by);}dojo.publish("widgetFocus",[_133,by]);}}}});dojo.addOnLoad(function(){var _134=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_134);_134=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_135){this.pairs=[];this.returnWrappers=_135||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_136,wrap,_137,_138){this.pairs[((_138)?"unshift":"push")]([name,_136,wrap,_137]);},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,_139,_13a){var _13b=dojo.map(_139,function(_13c){var c={corner:_13c,pos:{x:pos.x,y:pos.y}};if(_13a){c.pos.x+=_13c.charAt(1)=="L"?_13a.x:-_13a.x;c.pos.y+=_13c.charAt(0)=="T"?_13a.y:-_13a.y;}return c;});return dijit._place(node,_13b);};dijit._place=function(node,_13d,_13e,_13f){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_13d,function(_140){var _141=_140.corner;var pos=_140.pos;var _142=0;var _143={w:_141.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_141.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_13e){var res=_13e(node,_140.aroundCorner,_141,_143,_13f);_142=typeof res=="undefined"?0:res;}var _144=node.style;var _145=_144.display;var _146=_144.visibility;_144.visibility="hidden";_144.display="";var mb=dojo.marginBox(node);_144.display=_145;_144.visibility=_146;var _147=Math.max(view.l,_141.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_148=Math.max(view.t,_141.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_141.charAt(1)=="L"?(_147+mb.w):pos.x),endY=Math.min(view.t+view.h,_141.charAt(0)=="T"?(_148+mb.h):pos.y),_149=endX-_147,_14a=endY-_148;_142+=(mb.w-_149)+(mb.h-_14a);if(best==null||_142<best.overflow){best={corner:_141,aroundCorner:_140.aroundCorner,x:_147,y:_148,w:_149,h:_14a,overflow:_142,spaceAvailable:_143};}return !_142;});if(best.overflow&&_13e){_13e(node,best.aroundCorner,best.corner,best.spaceAvailable,_13f);}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,_14b,_14c,_14d){_14b=dojo.byId(_14b);var _14e=dojo.position(_14b,true);return dijit._placeOnScreenAroundRect(node,_14e.x,_14e.y,_14e.w,_14e.h,_14c,_14d);};dijit.placeOnScreenAroundRectangle=function(node,_14f,_150,_151){return dijit._placeOnScreenAroundRect(node,_14f.x,_14f.y,_14f.width,_14f.height,_150,_151);};dijit._placeOnScreenAroundRect=function(node,x,y,_152,_153,_154,_155){var _156=[];for(var _157 in _154){_156.push({aroundCorner:_157,corner:_154[_157],pos:{x:x+(_157.charAt(1)=="L"?0:_152),y:y+(_157.charAt(0)=="T"?0:_153)}});}return dijit._place(node,_156,_155,{w:_152,h:_153});};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,_158,_159,_15a){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_15b,_15c){var _15d={};dojo.forEach(_15b,function(pos){switch(pos){case "after":_15d[_15c?"BR":"BL"]=_15c?"BL":"BR";break;case "before":_15d[_15c?"BL":"BR"]=_15c?"BR":"BL";break;case "below-alt":_15c=!_15c;case "below":_15d[_15c?"BL":"BR"]=_15c?"TL":"TR";_15d[_15c?"BR":"BL"]=_15c?"TR":"TL";break;case "above-alt":_15c=!_15c;case "above":default:_15d[_15c?"TL":"TR"]=_15c?"BL":"BR";_15d[_15c?"TR":"TL"]=_15c?"BR":"BL";break;}});return _15d;};}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(_15e){var node=_15e.domNode||_15e,_15f=_15e.declaredClass?_15e._popupWrapper:node.parentNode&&dojo.hasClass(node.parentNode,"dijitPopup")?node.parentNode:null;if(!_15f){_15f=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_15f.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_15e.declaredClass){_15e._popupWrapper=_15f;dojo.connect(_15e,"destroy",function(){dojo.destroy(_15f);delete _15e._popupWrapper;});}}return _15f;},moveOffScreen:function(_160){var _161=this._createWrapper(_160);dojo.style(_161,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_162){var _163=this._createWrapper(_162);dojo.style(_163,"display","none");},getTopPopup:function(){var _164=this._stack;for(var pi=_164.length-1;pi>0&&_164[pi].parent===_164[pi-1].widget;pi--){}return _164[pi];},open:function(args){var _165=this._stack,_166=args.popup,_167=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"}),_168=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_165.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_165[_165.length-1].widget.domNode))){dijit.popup.close(_165[_165.length-1].widget);}var _169=this._createWrapper(_166);dojo.attr(_169,{id:id,style:{zIndex:this._beginZIndex+_165.length},"class":"dijitPopup "+(_166.baseClass||_166["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_166.bgIframe){_166.bgIframe=new dijit.BackgroundIframe(_169);}}var best=_168?dijit.placeOnScreenAroundElement(_169,_168,_167,_166.orient?dojo.hitch(_166,"orient"):null):dijit.placeOnScreen(_169,args,_167=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_169.style.display="";_169.style.visibility="visible";_166.domNode.style.visibility="visible";var _16a=[];_16a.push(dojo.connect(_169,"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 _16b=this.getTopPopup();if(_16b&&_16b.onCancel){_16b.onCancel();}}}}));if(_166.onCancel){_16a.push(dojo.connect(_166,"onCancel",args.onCancel));}_16a.push(dojo.connect(_166,_166.onExecute?"onExecute":"onChange",this,function(){var _16c=this.getTopPopup();if(_16c&&_16c.onExecute){_16c.onExecute();}}));_165.push({widget:_166,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_16a});if(_166.onOpen){_166.onOpen(best);}return best;},close:function(_16d){var _16e=this._stack;while((_16d&&dojo.some(_16e,function(elem){return elem.widget==_16d;}))||(!_16d&&_16e.length)){var top=_16e.pop(),_16f=top.widget,_170=top.onClose;if(_16f.onClose){_16f.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_16f&&_16f.domNode){this.hide(_16f);}if(_170){_170();}}}};dijit._frames=new function(){var _171=[];this.pop=function(){var _172;if(_171.length){_172=_171.pop();_172.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\");'>";_172=dojo.doc.createElement(html);}else{_172=dojo.create("iframe");_172.src="javascript:\"\"";_172.className="dijitBackgroundIframe";dojo.style(_172,"opacity",0.1);}_172.tabIndex=-1;dijit.setWaiRole(_172,"presentation");}return _172;};this.push=function(_173){_173.style.display="none";_171.push(_173);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _174=(this.iframe=dijit._frames.pop());node.appendChild(_174);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_174,{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,_175=d.isOpera,maj=Math.floor,ff=d.isFF,_176=d.boxModel.replace(/-/,""),_177={dj_quirks:d.isQuirks,dj_opera:_175,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla};if(ie){_177["dj_ie"]=true;_177["dj_ie"+maj(ie)]=true;_177["dj_iequirks"]=d.isQuirks;}if(ff){_177["dj_ff"+maj(ff)]=true;}_177["dj_"+_176]=true;var _178="";for(var clz in _177){if(_177[clz]){_178+=clz+" ";}}html.className=d.trim(html.className+" "+_178);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _179="dj_rtl dijitRtl "+_178.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_179);}});})();}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,_17a,node,_17b,obj,_17c,_17d,_17e){if(obj!=this._obj){this.stop();this._initialDelay=_17d||500;this._subsequentDelay=_17c||0.9;this._minDelay=_17e||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_17a,_17b);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,_17f,_180,_181,_182,_183,_184){if(_17f.keyCode){_17f.charOrCode=_17f.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_17f.charCode){_17f.charOrCode=String.fromCharCode(_17f.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==_17f.charOrCode&&(_17f.ctrlKey===undefined||_17f.ctrlKey==evt.ctrlKey)&&(_17f.altKey===undefined||_17f.altKey==evt.altKey)&&(_17f.metaKey===undefined||_17f.metaKey==(evt.metaKey||false))&&(_17f.shiftKey===undefined||_17f.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_180,node,_181,_17f,_182,_183,_184);}else{if(dijit.typematic._obj==_17f){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_17f){dijit.typematic.stop();}})];},addMouseListener:function(node,_185,_186,_187,_188,_189){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_185,node,_186,node,_187,_188,_189);}),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,_185,node,_186,node,_187,_188,_189);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_18a,_18b,_18c,_18d,_18e,_18f,_190,_191){return this.addKeyListener(_18b,_18c,_18d,_18e,_18f,_190,_191).concat(this.addMouseListener(_18a,_18d,_18e,_18f,_190,_191));}};}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 _192=cs.backgroundImage;var _193=(cs.borderTopColor==cs.borderRightColor)||(_192!=null&&(_192=="none"||_192=="url(invalid-url:)"));dojo[_193?"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 _194=this.getWaiRole(elem);return role?(_194.indexOf(role)>-1):(_194.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 _195=dojo.attr(elem,"role");if(!_195){return;}if(role){var t=dojo.trim((" "+_195+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_196){return elem.hasAttribute?elem.hasAttribute("aria-"+_196):!!elem.getAttribute("aria-"+_196);},getWaiState:function(elem,_197){return elem.getAttribute("aria-"+_197)||"";},setWaiState:function(elem,_198,_199){elem.setAttribute("aria-"+_198,_199);},removeWaiState:function(elem,_19a){elem.removeAttribute("aria-"+_19a);}});}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(_19b,_19c){if(_19b&&dojo.isFunction(_19b._onConnect)){_19b._onConnect(_19c);}});dijit._connectOnUseEventHandler=function(_19d){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _19e=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_19e);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_19e);});})();}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(_19f,_1a0){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(_1a1){if(_1a1 in this._deferredConnects){var _1a2=this[this._deferredConnects[_1a1]||"domNode"];this.connect(_1a2,_1a1.toLowerCase(),_1a1);delete this._deferredConnects[_1a1];}},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,_1a3){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_1a3);},attr:function(name,_1a4){if(dojo.config.isDebug){var _1a5=arguments.callee._ach||(arguments.callee._ach={}),_1a6=(arguments.callee.caller||"unknown caller").toString();if(!_1a5[_1a6]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_1a6,"","2.0");_1a5[_1a6]=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,_1a7,_1a8){var d=dojo,dc=d._connect,_1a9=this.inherited(arguments,[obj,_1a7=="ondijitclick"?"onclick":_1a7,_1a8]);if(_1a7=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_1a8);_1a9.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 _1a9;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}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(_1aa,_1ab){var _1ac=this.containerNode;if(_1ab&&typeof _1ab=="number"){var _1ad=this.getChildren();if(_1ad&&_1ad.length>=_1ab){_1ac=_1ad[_1ab-1].domNode;_1ab="after";}}dojo.place(_1aa.domNode,_1ac,_1ab);if(this._started&&!_1aa._started){_1aa.startup();}},removeChild:function(_1ae){if(typeof _1ae=="number"){_1ae=this.getChildren()[_1ae];}if(_1ae){var node=_1ae.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_1af){dojo.forEach(this.getChildren(),function(_1b0){_1b0.destroyRecursive(_1af);});},_getSiblingOfChild:function(_1b1,dir){var node=_1b1.domNode,_1b2=(dir>0?"nextSibling":"previousSibling");do{node=node[_1b2];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_1b3){return dojo.indexOf(this.getChildren(),_1b3);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_1b4){_1b4.startup();});this.inherited(arguments);}});}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(_1b5,map,_1b6,_1b7){_1b7=_1b7||dojo.global;_1b6=_1b6?dojo.hitch(_1b7,_1b6):function(v){return v;};return _1b5.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1b8,key,_1b9){var _1ba=dojo.getObject(key,false,map);if(_1b9){_1ba=dojo.getObject(_1b9,false,_1b7).call(_1b7,_1ba,key);}return _1b6(_1ba,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(_1bb,url,_1bc){if(typeof _1bb=="string"){var _1bd=dojo.moduleUrl(_1bb,url);}else{_1bd=_1bb;_1bc=url;}var key=_1bd.toString();var val=_1bc;if(_1bc!=undefined&&!dojo.isString(_1bc)){val=("value" in _1bc?_1bc.value:undefined);}var _1be=_1bc&&_1bc.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_1be?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_1be?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 _1bf=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1bf){val=_1bf[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 _1c0=this.declaredClass,_1c1=this;return dojo.string.substitute(tmpl,this,function(_1c2,key){if(key.charAt(0)=="!"){_1c2=dojo.getObject(key.substr(1),false,_1c1);}if(typeof _1c2=="undefined"){throw new Error(_1c0+" template:"+key);}if(_1c2==null){return "";}return key.charAt(0)=="!"?_1c2:_1c2.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _1c3=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_1c3)){node=dojo._toDom(this._stringRepl(_1c3));if(node.nodeType!=1){throw new Error("Invalid template: "+_1c3);}}else{node=_1c3.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(_1c4){var dest=this.containerNode;if(_1c4&&dest){while(_1c4.hasChildNodes()){dest.appendChild(_1c4.firstChild);}}},_attachTemplateNodes:function(_1c5,_1c6){_1c6=_1c6||function(n,p){return n.getAttribute(p);};var _1c7=dojo.isArray(_1c5)?_1c5:(_1c5.all||_1c5.getElementsByTagName("*"));var x=dojo.isArray(_1c5)?0:-1;for(;x<_1c7.length;x++){var _1c8=(x==-1)?_1c5:_1c7[x];if(this.widgetsInTemplate&&(_1c6(_1c8,"dojoType")||_1c6(_1c8,"data-dojo-type"))){continue;}var _1c9=_1c6(_1c8,"dojoAttachPoint")||_1c6(_1c8,"data-dojo-attach-point");if(_1c9){var _1ca,_1cb=_1c9.split(/\s*,\s*/);while((_1ca=_1cb.shift())){if(dojo.isArray(this[_1ca])){this[_1ca].push(_1c8);}else{this[_1ca]=_1c8;}this._attachPoints.push(_1ca);}}var _1cc=_1c6(_1c8,"dojoAttachEvent")||_1c6(_1c8,"data-dojo-attach-event");if(_1cc){var _1cd,_1ce=_1cc.split(/\s*,\s*/);var trim=dojo.trim;while((_1cd=_1ce.shift())){if(_1cd){var _1cf=null;if(_1cd.indexOf(":")!=-1){var _1d0=_1cd.split(":");_1cd=trim(_1d0[0]);_1cf=trim(_1d0[1]);}else{_1cd=trim(_1cd);}if(!_1cf){_1cf=_1cd;}this._attachEvents.push(this.connect(_1c8,_1cd,_1cf));}}}var role=_1c6(_1c8,"waiRole");if(role){dijit.setWaiRole(_1c8,role);}var _1d1=_1c6(_1c8,"waiState");if(_1d1){dojo.forEach(_1d1.split(/\s*,\s*/),function(_1d2){if(_1d2.indexOf("-")!=-1){var pair=_1d2.split("-");dijit.setWaiState(_1c8,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(_1d3){delete this[_1d3];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1d4,_1d5,_1d6){var _1d7=dijit._Templated._templateCache;var key=_1d5||_1d4;var _1d8=_1d7[key];if(_1d8){try{if(!_1d8.ownerDocument||_1d8.ownerDocument==dojo.doc){return _1d8;}}catch(e){}dojo.destroy(_1d8);}if(!_1d5){_1d5=dojo.cache(_1d4,{sanitize:true});}_1d5=dojo.string.trim(_1d5);if(_1d6||_1d5.match(/\$\{([^\}]+)\}/g)){return (_1d7[key]=_1d5);}else{var node=dojo._toDom(_1d5);if(node.nodeType!=1){throw new Error("Invalid template: "+_1d5);}return (_1d7[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1d9=dijit._Templated._templateCache;for(var key in _1d9){var _1da=_1d9[key];if(typeof _1da=="object"){dojo.destroy(_1da);}delete _1d9[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(_1db){if(!this.disabled){switch(_1db.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 _1dc=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_1dc);});break;}}},_setStateClass:function(){var _1dd=this.baseClass.split(" ");function _1de(_1df){_1dd=_1dd.concat(dojo.map(_1dd,function(c){return c+_1df;}),"dijit"+_1df);};if(!this.isLeftToRight()){_1de("Rtl");}if(this.checked){_1de("Checked");}if(this.state){_1de(this.state);}if(this.selected){_1de("Selected");}if(this.disabled){_1de("Disabled");}else{if(this.readOnly){_1de("ReadOnly");}else{if(this.active){_1de("Active");}else{if(this.hovering){_1de("Hover");}}}}if(this._focused){_1de("Focused");}var tn=this.stateNode||this.domNode,_1e0={};dojo.forEach(tn.className.split(" "),function(c){_1e0[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _1e0[c];});}dojo.forEach(_1dd,function(c){_1e0[c]=true;});var _1e1=[];for(var c in _1e0){_1e1.push(c);}tn.className=_1e1.join(" ");this._stateClasses=_1dd;},_trackMouseState:function(node,_1e2){var _1e3=false,_1e4=false,_1e5=false;var self=this,cn=dojo.hitch(this,"connect",node);function _1e6(){var _1e7=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_1e2+"Hover",_1e3&&!_1e4&&!_1e7);dojo.toggleClass(node,_1e2+"Active",_1e4&&!_1e7);dojo.toggleClass(node,_1e2+"Focused",_1e5&&!_1e7);};cn("onmouseenter",function(){_1e3=true;_1e6();});cn("onmouseleave",function(){_1e3=false;_1e4=false;_1e6();});cn("onmousedown",function(){_1e4=true;_1e6();});cn("onmouseup",function(){_1e4=false;_1e6();});cn("onfocus",function(){_1e5=true;_1e6();});cn("onblur",function(){_1e5=false;_1e6();});this.watch("disabled",_1e6);this.watch("readOnly",_1e6);}});}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(_1e8){this._set("disabled",_1e8);dojo.attr(this.focusNode,"disabled",_1e8);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_1e8);}dijit.setWaiState(this.focusNode,"disabled",_1e8);if(_1e8){this._set("hovering",false);this._set("active",false);var _1e9="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_1e9)?_1e9:[_1e9],function(_1ea){var node=this[_1ea];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(_1eb){dojo.deprecated("setDisabled("+_1eb+") is deprecated. Use set('disabled',"+_1eb+") instead.","","2.0");this.set("disabled",_1eb);},_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(_1ec){},_onChangeActive:false,_handleOnChange:function(_1ed,_1ee){if(this._lastValueReported==undefined&&(_1ee===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1ed;}this._pendingOnChange=this._pendingOnChange||(typeof _1ed!=typeof this._lastValueReported)||(this.compare(_1ed,this._lastValueReported)!=0);if((this.intermediateChanges||_1ee||_1ee===undefined)&&this._pendingOnChange){this._lastValueReported=_1ed;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1ed);}),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(_1ef){dojo.deprecated("dijit.form._FormWidget:setValue("+_1ef+") is deprecated.  Use set('value',"+_1ef+") instead.","","2.0");this.set("value",_1ef);},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 _1f0=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1f0);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1f1){dojo.attr(this.focusNode,"readOnly",_1f1);dijit.setWaiState(this.focusNode,"readonly",_1f1);this._set("readOnly",_1f1);},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(_1f2,_1f3){this._handleOnChange(_1f2,_1f3);},_handleOnChange:function(_1f4,_1f5){this._set("value",_1f4);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 _1f6=this.domNode;var _1f7=_1f6.parentNode;var _1f8=_1f6.firstChild||_1f6;var _1f9=_1f8.style.filter;var _1fa=this;while(_1f7&&_1f7.clientHeight==0){(function ping(){var _1fb=_1fa.connect(_1f7,"onscroll",function(e){_1fa.disconnect(_1fb);_1f8.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1f8.style.filter=_1f9;},0);});})();_1f7=_1f7.parentNode;}}}});}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 _1fc=this.dropDown,_1fd=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&&!_1fd){if(dojo.hasClass(t,"dijitPopup")){_1fd=true;}else{t=t.parentNode;}}if(_1fd){t=e.target;if(_1fc.onItemClick){var _1fe;while(t&&!(_1fe=dijit.byNode(t))){t=t.parentNode;}if(_1fe&&_1fe.onClick&&_1fe.getParent){_1fe.getParent().onItemClick(_1fe,e);}}return;}}}if(this._opened&&_1fc.focus&&_1fc.autoFocus!==false){window.setTimeout(dojo.hitch(_1fc,"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 _1ff={"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"+_1ff+"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,_200=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==" ")&&((_200.tagName||"").toLowerCase()!=="input"||(_200.type&&_200.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 _201=dijit._curFocus&&this.dropDown&&dojo.isDescendant(dijit._curFocus,this.dropDown.domNode);this.closeDropDown(_201);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_202){_202();},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 _203=this.dropDown,_204=_203.domNode,_205=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_204.style.width){this._explicitDDWidth=true;}if(_204.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _206={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_206.width="";}if(!this._explicitDDHeight){_206.height="";}dojo.style(_204,_206);var _207=this.maxHeight;if(_207==-1){var _208=dojo.window.getBox(),_209=dojo.position(_205,false);_207=Math.floor(Math.max(_209.y,_208.h-(_209.y+_209.h)));}if(_203.startup&&!_203._started){_203.startup();}dijit.popup.moveOffScreen(_203);var mb=dojo._getMarginSize(_204);var _20a=(_207&&mb.h>_207);dojo.style(_204,{overflowX:"hidden",overflowY:_20a?"auto":"hidden"});if(_20a){mb.h=_207;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_205.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_205.offsetWidth);}else{delete mb.w;}}if(dojo.isFunction(_203.resize)){_203.resize(mb);}else{dojo.marginBox(_204,mb);}}var _20b=dijit.popup.open({parent:this,popup:_203,around:_205,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 _20b;},closeDropDown:function(_20c){if(this._opened){if(_20c){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 _20d=dijit.byNode(node);if(_20d&&typeof _20d._onSubmit=="function"){_20d._onSubmit(e);break;}}}else{if(this.valueNode){this.valueNode.click();e.preventDefault();}}}},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(_20e){if(_20e&&(!this.params||!("label" in this.params))){this.set("label",_20e.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(_20f){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_20f);},_setLabelAttr:function(_210){this._set("label",_210);this.containerNode.innerHTML=_210;if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},_setIconClassAttr:function(val){var _211=this.iconClass||"dijitNoIcon",_212=val||"dijitNoIcon";dojo.replaceClass(this.iconNode,_212,_211);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 _213=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_213[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _214=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_214);delete this.dropDownContainer;}if(this.dropDown){dijit.popup.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _215=this.dropDown;return (!!_215&&(!_215.href||_215.isLoaded));},loadDropDown:function(){var _216=this.dropDown;if(!_216){return;}if(!this.isLoaded()){var _217=dojo.connect(_216,"onLoad",this,function(){dojo.disconnect(_217);this.openDropDown();});_216.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(_218){if(!this.disabled){dijit.focus(_218=="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(_219,_21a){this._set("checked",_219);dojo.attr(this.focusNode||this.domNode,"checked",_219);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_219);this._handleOnChange(_219,_21a);},setChecked:function(_21b){dojo.deprecated("setChecked("+_21b+") is deprecated. Use set('checked',"+_21b+") instead.","","2.0");this.set("checked",_21b);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});}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(_21c,_21d,_21e){var _21f;if(_21c!==undefined){_21f=this.filter(_21c);if(typeof _21e!="string"){if(_21f!==null&&((typeof _21f!="number")||!isNaN(_21f))){_21e=this.filter(this.format(_21f,this.constraints));}else{_21e="";}}}if(_21e!=null&&_21e!=undefined&&((typeof _21e)!="number"||!isNaN(_21e))&&this.textbox.value!=_21e){this.textbox.value=_21e;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_21f,_21d]);},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(_220){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_220);},_setDisplayedValueAttr:function(_221){if(_221===null||_221===undefined){_221="";}else{if(typeof _221!="string"){_221=String(_221);}}this.textbox.value=_221;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_222,_223){return ((_222==null||_222==undefined)?"":(_222.toString?_222.toString():_222));},parse:function(_224,_225){return _224;},_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 _226=this;setTimeout(function(){_226._handleOnChange(_226.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 _227=this.domNode.getElementsByTagName("INPUT");if(_227){for(var i=0;i<_227.length;i++){_227[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 _228;if(dojo.isIE){var _229=dojo.doc.selection.createRange();var _22a=_229.parentElement();_228=_22a==this.textbox&&_229.text.length==0;}else{_228=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_228){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_22b,_22c,stop){var _22d=dojo.global;var _22e=dojo.doc;_22b=dojo.byId(_22b);if(isNaN(_22c)){_22c=0;}if(isNaN(stop)){stop=_22b.value?_22b.value.length:0;}dijit.focus(_22b);if(_22e["selection"]&&dojo.body()["createTextRange"]){if(_22b.createTextRange){var r=_22b.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_22c);r.moveEnd("character",stop-_22c);r.select();}}else{if(_22d["getSelection"]){if(_22b.setSelectionRange){_22b.setSelectionRange(_22c,stop);}}}};}if(!dojo._hasResource["dijit.InlineEditBox"]){dojo._hasResource["dijit.InlineEditBox"]=true;dojo.provide("dijit.InlineEditBox");dojo.declare("dijit.InlineEditBox",dijit._Widget,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:"dijit.form.TextBox",editorWrapper:"dijit._InlineEditor",editorParams:{},disabled:false,onChange:function(_22f){},onCancel:function(){},width:"100%",value:"",noValueIndicator:dojo.isIE<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&#x270d;&nbsp;&nbsp;&nbsp;&nbsp;</span>":"<span style='text-decoration: underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&#x270d;&nbsp;&nbsp;&nbsp;&nbsp;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _230={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _230){this.connect(this.displayNode,name,_230[name]);}dijit.setWaiRole(this.displayNode,"button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=dojo.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}dojo.addClass(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_231){dojo.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_231);},_setDisabledAttr:function(_232){dijit.setWaiState(this.domNode,"disabled",_232);if(_232){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}dojo.toggleClass(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_232);this._set("disabled",_232);},_onMouseOver:function(){if(!this.disabled){dojo.addClass(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){dojo.removeClass(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){dojo.stopEvent(e);}this._onMouseOut();setTimeout(dojo.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this.editing=true;this._savedPosition=dojo.style(this.displayNode,"position")||"static";this._savedOpacity=dojo.style(this.displayNode,"opacity")||"1";this._savedTabIndex=dojo.attr(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _233=dojo.create("span",null,this.domNode,"before");var ewc=typeof this.editorWrapper=="string"?dojo.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:dojo.getComputedStyle(this.displayNode),save:dojo.hitch(this,"save"),cancel:dojo.hitch(this,"cancel")},_233);if(!this._started){this.startup();}}var ww=this.wrapperWidget;dojo.style(this.displayNode,{position:"absolute",opacity:"0"});dojo.style(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});dojo.attr(this.displayNode,"tabIndex","-1");setTimeout(dojo.hitch(ww,function(){this.focus();this._resetValue=this.getValue();}),0);},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_234){var ww=this.wrapperWidget;dojo.style(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});dojo.style(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});dojo.attr(this.displayNode,"tabIndex",this._savedTabIndex);if(_234){dijit.focus(this.displayNode);}},save:function(_235){if(this.disabled||!this.editing){return;}this.editing=false;var ww=this.wrapperWidget;var _236=ww.getValue();this.set("value",_236);this._showText(_235);},setValue:function(val){dojo.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=dojo.trim(val);var _237=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_237||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(dojo.hitch(this,"onChange",val),0);}},getValue:function(){dojo.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_238){if(this.disabled||!this.editing){return;}this.editing=false;setTimeout(dojo.hitch(this,"onCancel"),0);this._showText(_238);}});dojo.declare("dijit._InlineEditor",[dijit._Widget,dijit._Templated],{templateString:dojo.cache("dijit","templates/InlineEditBox.html","<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n"),widgetsInTemplate:true,postMixInProperties:function(){this.inherited(arguments);this.messages=dojo.i18n.getLocalization("dijit","common",this.lang);dojo.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var cls=typeof this.editor=="string"?dojo.getObject(this.editor):this.editor;var _239=this.sourceStyle,_23a="line-height:"+_239.lineHeight+";",_23b=dojo.getComputedStyle(this.domNode);dojo.forEach(["Weight","Family","Size","Style"],function(prop){var _23c=_239["font"+prop],_23d=_23b["font"+prop];if(_23d!=_23c){_23a+="font-"+prop+":"+_239["font"+prop]+";";}},this);dojo.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_239[prop];},this);var _23e=this.inlineEditBox.width;if(_23e=="100%"){_23a+="width:100%;";this.domNode.style.display="block";}else{_23a+="width:"+(_23e+(Number(_23e)==_23e?"px":""))+";";}var _23f=dojo.delegate(this.inlineEditBox.editorParams,{style:_23a,dir:this.dir,lang:this.lang});_23f["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_23f,this.editorPlaceholder);if(this.inlineEditBox.autoSave){dojo.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},_onIntermediateChange:function(val){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==dojo.keys.ESCAPE){dojo.stopEvent(e);this.cancel(true);}else{if(e.charOrCode==dojo.keys.ENTER&&e.target.tagName=="INPUT"){dojo.stopEvent(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){dijit.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return (this.editWidget.isValid?this.editWidget.isValid():true);},focus:function(){this.editWidget.focus();setTimeout(dojo.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){dijit.selectInputText(this.editWidget.focusNode);}}),0);}});}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(_240,_241,_242,rtl){if(this.aroundNode&&this.aroundNode===_241){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_240;var pos=dijit.placeOnScreenAroundElement(this.domNode,_241,dijit.getPopupAroundAlignment((_242&&_242.length)?_242:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_241;},orient:function(node,_243,_244,_245,_246){this.connectorNode.style.top="";var _247=_245.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"}[_243+"-"+_244];this.domNode.style.width="auto";var size=dojo.contentBox(this.domNode);var _248=Math.min((Math.max(_247,1)),size.w);var _249=_248<size.w;this.domNode.style.width=_248+"px";if(_249){this.containerNode.style.overflow="auto";var _24a=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_24a>_248){_24a=_24a+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight");this.domNode.style.width=_24a+"px";}}if(_244.charAt(0)=="B"&&_243.charAt(0)=="B"){var mb=dojo.marginBox(node);var _24b=this.connectorNode.offsetHeight;if(mb.h>_245.h){var _24c=_245.h-(_246.h/2)-(_24b/2);this.connectorNode.style.top=_24c+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_246.h/2-_24b/2,0),mb.h-_24b)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_247);},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_24d){if(this._onDeck&&this._onDeck[1]==_24d){this._onDeck=null;}else{if(this.aroundNode===_24d){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(_24e,_24f,_250,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_24e,_24f,_250,rtl);};dijit.hideTooltip=function(_251){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_251);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_252){dojo.forEach(this._connections||[],function(_253){dojo.forEach(_253,dojo.hitch(this,"disconnect"));},this);var ary=dojo.isArrayLike(_252)?_252:(_252?[_252]:[]);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",_252);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 _254=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_254);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_255){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_255,this.position,!this.isLeftToRight());this._connectNode=_255;this.onShow(_255,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(_256,_257){},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(_258){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_259,_25a){return (new RegExp("^(?:"+this.regExpGen(_25a)+")"+(this.required?"":"?")+"$")).test(_259)&&(!this.required||!this._isEmpty(_259))&&(this._isEmpty(_259)||this.parse(_259,_25a)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_25b){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_25c){return (this.trim?/^\s*$/:/^$/).test(_25c);},getErrorMessage:function(_25d){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_25e){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_25f){var _260="";var _261=this.disabled||this.isValid(_25f);if(_261){this._maskValidSubsetError=true;}var _262=this._isEmpty(this.textbox.value);var _263=!_261&&_25f&&this._isValidSubset();this._set("state",_261?"":(((((!this._hasBeenBlurred||_25f)&&_262)||_263)&&this._maskValidSubsetError)?"Incomplete":"Error"));dijit.setWaiState(this.focusNode,"invalid",_261?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_25f&&_263;_260=this.getErrorMessage(_25f);}else{if(this.state=="Incomplete"){_260=this.getPromptMessage(_25f);this._maskValidSubsetError=!this._hasBeenBlurred||_25f;}else{if(_262){_260=this.getPromptMessage(_25f);}}}this.set("message",_260);return _261;},displayMessage:function(_264){dijit.hideTooltip(this.domNode);if(_264&&this._focused){dijit.showTooltip(_264,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_265){if(!_265.locale&&this.lang){_265.locale=this.lang;}this._set("constraints",_265);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _266="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_266+=re;break;case ")":_266+="|$)";break;default:_266+="(?:"+re+"|$)";break;}});}try{"".search(_266);}catch(e){_266=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_266+")$";},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(_267){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_268){this._set("required",_268);dijit.setWaiState(this.focusNode,"required",_268);this._refreshState();},_setMessageAttr:function(_269){this._set("message",_269);this.displayMessage(_269);},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,_26a){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(_26b,_26c){return ("min" in _26c?(this.compare(_26b,_26c.min)>=0):true)&&("max" in _26c?(this.compare(_26b,_26c.max)<=0):true);},isInRange:function(_26d){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _26e=false;var _26f=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_26e=(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);_26f=(typeof max=="number")&&max>0;}return _26e||_26f;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_270){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_270));},getErrorMessage:function(_271){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_271)){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(_272){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(_273,_274){dijit.setWaiState(this.focusNode,"valuenow",_273);this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:dojo.cache("dijit.form","templates/Spinner.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\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' dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n"),baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val,_275){return val;},_arrowPressed:function(_276,_277,_278){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_277*_278),false);dijit.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(node){this._wheelTimer=null;if(this.disabled||this.readOnly){return;}},_typematicCallback:function(_279,node,evt){var inc=this.smallDelta;if(node==this.textbox){var k=dojo.keys;var key=evt.charOrCode;inc=(key==k.PAGE_UP||key==k.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==k.UP_ARROW||key==k.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_279==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){dojo.stopEvent(evt);var _27a=evt.detail?(evt.detail*-1):(evt.wheelDelta/120);if(_27a!==0){var node=this[(_27a>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_27a,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(dojo.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_27b){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_27b&&_27b.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_27c){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("|"),_27c);};dojo.regexp.group=function(_27d,_27e){return "("+(_27e?"?:":"")+_27d+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.getObject("number",true,dojo);dojo.number.format=function(_27f,_280){_280=dojo.mixin({},_280||{});var _281=dojo.i18n.normalizeLocale(_280.locale),_282=dojo.i18n.getLocalization("dojo.cldr","number",_281);_280.customs=_282;var _283=_280.pattern||_282[(_280.type||"decimal")+"Format"];if(isNaN(_27f)||Math.abs(_27f)==Infinity){return null;}return dojo.number._applyPattern(_27f,_283,_280);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_284,_285,_286){_286=_286||{};var _287=_286.customs.group,_288=_286.customs.decimal,_289=_285.split(";"),_28a=_289[0];_285=_289[(_284<0)?1:0]||("-"+_28a);if(_285.indexOf("%")!=-1){_284*=100;}else{if(_285.indexOf("‰")!=-1){_284*=1000;}else{if(_285.indexOf("¤")!=-1){_287=_286.customs.currencyGroup||_287;_288=_286.customs.currencyDecimal||_288;_285=_285.replace(/\u00a4{1,3}/,function(_28b){var prop=["symbol","currency","displayName"][_28b.length-1];return _286[prop]||_286.currency||"";});}else{if(_285.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _28c=dojo.number._numberPatternRE;var _28d=_28a.match(_28c);if(!_28d){throw new Error("unable to find a number expression in pattern: "+_285);}if(_286.fractional===false){_286.places=0;}return _285.replace(_28c,dojo.number._formatAbsolute(_284,_28d[0],{decimal:_288,group:_287,places:_286.places,round:_286.round}));};dojo.number.round=function(_28e,_28f,_290){var _291=10/(_290||10);return (_291*+_28e).toFixed(_28f)/_291;};if((0.9).toFixed()==0){(function(){var _292=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _292(v,p,m)+(v>0?d:-d);};})();}dojo.number._formatAbsolute=function(_293,_294,_295){_295=_295||{};if(_295.places===true){_295.places=0;}if(_295.places===Infinity){_295.places=6;}var _296=_294.split("."),_297=typeof _295.places=="string"&&_295.places.indexOf(","),_298=_295.places;if(_297){_298=_295.places.substring(_297+1);}else{if(!(_298>=0)){_298=(_296[1]||[]).length;}}if(!(_295.round<0)){_293=dojo.number.round(_293,_298,_295.round);}var _299=String(Math.abs(_293)).split("."),_29a=_299[1]||"";if(_296[1]||_295.places){if(_297){_295.places=_295.places.substring(0,_297);}var pad=_295.places!==undefined?_295.places:(_296[1]&&_296[1].lastIndexOf("0")+1);if(pad>_29a.length){_299[1]=dojo.string.pad(_29a,pad,"0",true);}if(_298<_29a.length){_299[1]=_29a.substr(0,_298);}}else{if(_299[1]){_299.pop();}}var _29b=_296[0].replace(",","");pad=_29b.indexOf("0");if(pad!=-1){pad=_29b.length-pad;if(pad>_299[0].length){_299[0]=dojo.string.pad(_299[0],pad);}if(_29b.indexOf("#")==-1){_299[0]=_299[0].substr(_299[0].length-pad);}}var _29c=_296[0].lastIndexOf(","),_29d,_29e;if(_29c!=-1){_29d=_296[0].length-_29c-1;var _29f=_296[0].substr(0,_29c);_29c=_29f.lastIndexOf(",");if(_29c!=-1){_29e=_29f.length-_29c-1;}}var _2a0=[];for(var _2a1=_299[0];_2a1;){var off=_2a1.length-_29d;_2a0.push((off>0)?_2a1.substr(off):_2a1);_2a1=(off>0)?_2a1.slice(0,off):"";if(_29e){_29d=_29e;delete _29e;}}_299[0]=_2a0.reverse().join(_295.group||",");return _299.join(_295.decimal||".");};dojo.number.regexp=function(_2a2){return dojo.number._parseInfo(_2a2).regexp;};dojo.number._parseInfo=function(_2a3){_2a3=_2a3||{};var _2a4=dojo.i18n.normalizeLocale(_2a3.locale),_2a5=dojo.i18n.getLocalization("dojo.cldr","number",_2a4),_2a6=_2a3.pattern||_2a5[(_2a3.type||"decimal")+"Format"],_2a7=_2a5.group,_2a8=_2a5.decimal,_2a9=1;if(_2a6.indexOf("%")!=-1){_2a9/=100;}else{if(_2a6.indexOf("‰")!=-1){_2a9/=1000;}else{var _2aa=_2a6.indexOf("¤")!=-1;if(_2aa){_2a7=_2a5.currencyGroup||_2a7;_2a8=_2a5.currencyDecimal||_2a8;}}}var _2ab=_2a6.split(";");if(_2ab.length==1){_2ab.push("-"+_2ab[0]);}var re=dojo.regexp.buildGroupRE(_2ab,function(_2ac){_2ac="(?:"+dojo.regexp.escapeString(_2ac,".")+")";return _2ac.replace(dojo.number._numberPatternRE,function(_2ad){var _2ae={signed:false,separator:_2a3.strict?_2a7:[_2a7,""],fractional:_2a3.fractional,decimal:_2a8,exponent:false},_2af=_2ad.split("."),_2b0=_2a3.places;if(_2af.length==1&&_2a9!=1){_2af[1]="###";}if(_2af.length==1||_2b0===0){_2ae.fractional=false;}else{if(_2b0===undefined){_2b0=_2a3.pattern?_2af[1].lastIndexOf("0")+1:Infinity;}if(_2b0&&_2a3.fractional==undefined){_2ae.fractional=true;}if(!_2a3.places&&(_2b0<_2af[1].length)){_2b0+=","+_2af[1].length;}_2ae.places=_2b0;}var _2b1=_2af[0].split(",");if(_2b1.length>1){_2ae.groupSize=_2b1.pop().length;if(_2b1.length>1){_2ae.groupSize2=_2b1.pop().length;}}return "("+dojo.number._realNumberRegexp(_2ae)+")";});},true);if(_2aa){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_2b2,_2b3,_2b4,_2b5){var prop=["symbol","currency","displayName"][_2b4.length-1],_2b6=dojo.regexp.escapeString(_2a3[prop]||_2a3.currency||"");_2b3=_2b3?"[\\s\\xa0]":"";_2b5=_2b5?"[\\s\\xa0]":"";if(!_2a3.strict){if(_2b3){_2b3+="*";}if(_2b5){_2b5+="*";}return "(?:"+_2b3+_2b6+_2b5+")?";}return _2b3+_2b6+_2b5;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_2a7,decimal:_2a8,factor:_2a9};};dojo.number.parse=function(_2b7,_2b8){var info=dojo.number._parseInfo(_2b8),_2b9=(new RegExp("^"+info.regexp+"$")).exec(_2b7);if(!_2b9){return NaN;}var _2ba=_2b9[1];if(!_2b9[1]){if(!_2b9[2]){return NaN;}_2ba=_2b9[2];info.factor*=-1;}_2ba=_2ba.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _2ba*info.factor;};dojo.number._realNumberRegexp=function(_2bb){_2bb=_2bb||{};if(!("places" in _2bb)){_2bb.places=Infinity;}if(typeof _2bb.decimal!="string"){_2bb.decimal=".";}if(!("fractional" in _2bb)||/^0/.test(_2bb.places)){_2bb.fractional=[true,false];}if(!("exponent" in _2bb)){_2bb.exponent=[true,false];}if(!("eSigned" in _2bb)){_2bb.eSigned=[true,false];}var _2bc=dojo.number._integerRegexp(_2bb),_2bd=dojo.regexp.buildGroupRE(_2bb.fractional,function(q){var re="";if(q&&(_2bb.places!==0)){re="\\"+_2bb.decimal;if(_2bb.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_2bb.places+"}";}}return re;},true);var _2be=dojo.regexp.buildGroupRE(_2bb.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_2bb.eSigned})+")";}return "";});var _2bf=_2bc+_2bd;if(_2bd){_2bf="(?:(?:"+_2bf+")|(?:"+_2bd+"))";}return _2bf+_2be;};dojo.number._integerRegexp=function(_2c0){_2c0=_2c0||{};if(!("signed" in _2c0)){_2c0.signed=[true,false];}if(!("separator" in _2c0)){_2c0.separator="";}else{if(!("groupSize" in _2c0)){_2c0.groupSize=3;}}var _2c1=dojo.regexp.buildGroupRE(_2c0.signed,function(q){return q?"[-+]":"";},true);var _2c2=dojo.regexp.buildGroupRE(_2c0.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_2c0.groupSize,grp2=_2c0.groupSize2;if(grp2){var _2c3="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_2c3+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_2c3;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _2c1+_2c2;};}if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:dojo.number.format,_setConstraintsAttr:function(_2c4){var _2c5=typeof _2c4.places=="number"?_2c4.places:0;if(_2c5){_2c5++;}if(typeof _2c4.max!="number"){_2c4.max=9*Math.pow(10,15-_2c5);}if(typeof _2c4.min!="number"){_2c4.min=-9*Math.pow(10,15-_2c5);}this.inherited(arguments,[_2c4]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _2c6=this.format(val,this.constraints);if(_2c6!==undefined){this.textbox.value=_2c6;}}this.inherited(arguments);},format:function(_2c7,_2c8){var _2c9=String(_2c7);if(typeof _2c7!="number"){return _2c9;}if(isNaN(_2c7)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_2c7,_2c8))&&_2c8.exponent!==false&&/\de[-+]?\d/i.test(_2c9)){return _2c9;}if(this.editOptions&&this._focused){_2c8=dojo.mixin({},_2c8,this.editOptions);}return this._formatter(_2c7,_2c8);},_parser:dojo.number.parse,parse:function(_2ca,_2cb){var v=this._parser(_2ca,dojo.mixin({},_2cb,(this.editOptions&&this._focused)?this.editOptions:{}));if(this.editOptions&&this._focused&&isNaN(v)){v=this._parser(_2ca,_2cb);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_2cc){return (_2cc===null||_2cc===""||_2cc===undefined)?NaN:this.inherited(arguments);},serialize:function(_2cd,_2ce){return (typeof _2cd!="number"||isNaN(_2cd))?"":this.inherited(arguments);},_setBlurValue:function(){var val=dojo.hitch(dojo.mixin({},this,{_focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_2cf,_2d0,_2d1){if(_2cf!==undefined&&_2d1===undefined){_2d1=String(_2cf);if(typeof _2cf=="number"){if(isNaN(_2cf)){_2d1="";}else{if(("rangeCheck" in this&&this.rangeCheck(_2cf,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_2d1)){_2d1=undefined;}}}else{if(!_2cf){_2d1="";_2cf=NaN;}else{_2cf=undefined;}}}this.inherited(arguments,[_2cf,_2d0,_2d1]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+dojo.number._realNumberRegexp(dojo.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_2d2){if(!this._focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{baseClass:"dijitTextBox dijitNumberTextBox"});}if(!dojo._hasResource["dijit.form.NumberSpinner"]){dojo._hasResource["dijit.form.NumberSpinner"]=true;dojo.provide("dijit.form.NumberSpinner");dojo.declare("dijit.form.NumberSpinner",[dijit.form._Spinner,dijit.form.NumberTextBoxMixin],{adjust:function(val,_2d3){var tc=this.constraints,v=isNaN(val),_2d4=!isNaN(tc.max),_2d5=!isNaN(tc.min);if(v&&_2d3!=0){val=(_2d3>0)?_2d5?tc.min:_2d4?tc.max:0:_2d4?this.constraints.max:_2d5?tc.min:0;}var _2d6=val+_2d3;if(v||isNaN(_2d6)){return val;}if(_2d4&&(_2d6>tc.max)){_2d6=tc.max;}if(_2d5&&(_2d6<tc.min)){_2d6=tc.min;}return _2d6;},_onKeyPress:function(e){if((e.charOrCode==dojo.keys.HOME||e.charOrCode==dojo.keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _2d7=this.constraints[(e.charOrCode==dojo.keys.HOME?"min":"max")];if(typeof _2d7=="number"){this._setValueAttr(_2d7,false);}dojo.stopEvent(e);}}});}if(!dojo._hasResource["dijit.form.SimpleTextarea"]){dojo._hasResource["dijit.form.SimpleTextarea"]=true;dojo.provide("dijit.form.SimpleTextarea");dojo.declare("dijit.form.SimpleTextarea",dijit.form.TextBox,{baseClass:"dijitTextBox dijitTextArea",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{rows:"textbox",cols:"textbox"}),rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(dojo.isIE&&this.cols){dojo.addClass(this.textbox,"dijitTextAreaCols");}},filter:function(_2d8){if(_2d8){_2d8=_2d8.replace(/\r/g,"");}return this.inherited(arguments);},_previousValue:"",_onInput:function(e){if(this.maxLength){var _2d9=parseInt(this.maxLength);var _2da=this.textbox.value.replace(/\r/g,"");var _2db=_2da.length-_2d9;if(_2db>0){if(e){dojo.stopEvent(e);}var _2dc=this.textbox;if(_2dc.selectionStart){var pos=_2dc.selectionStart;var cr=0;if(dojo.isOpera){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_2da.substring(0,pos-_2db-cr)+_2da.substring(pos-cr);_2dc.setSelectionRange(pos-_2db,pos-_2db);}else{if(dojo.doc.selection){_2dc.focus();var _2dd=dojo.doc.selection.createRange();_2dd.moveStart("character",-_2db);_2dd.text="";_2dd.select();}}}this._previousValue=this.textbox.value;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form._ExpandingTextAreaMixin"]){dojo._hasResource["dijit.form._ExpandingTextAreaMixin"]=true;dojo.provide("dijit.form._ExpandingTextAreaMixin");var needsHelpShrinking;dojo.declare("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _2de=this.textbox;if(needsHelpShrinking==undefined){var te=dojo.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},dojo.body(),"last");needsHelpShrinking=te.scrollHeight>=te.clientHeight;dojo.body().removeChild(te);}this.connect(_2de,"onresize","_resizeLater");this.connect(_2de,"onfocus","_resizeLater");_2de.style.overflowY="hidden";},startup:function(){this.inherited(arguments);this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _2df=this.textbox;_2df.rows=(_2df.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _2e0=this.textbox;function _2e1(){var _2e2=false;if(_2e0.value===""){_2e0.value=" ";_2e2=true;}var sh=_2e0.scrollHeight;if(_2e2){_2e0.value="";}return sh;};if(_2e0.style.overflowY=="hidden"){_2e0.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_2e1()||_2e0.offsetHeight){var newH=_2e1()+Math.max(_2e0.offsetHeight-_2e0.clientHeight,0);var _2e3=newH+"px";if(_2e3!=_2e0.style.height){_2e0.style.height=_2e3;_2e0.rows=1;}if(needsHelpShrinking){var _2e4=_2e1(),_2e5=_2e4,_2e6=_2e0.style.minHeight,_2e7=4,_2e8,_2e9=_2e0.scrollTop;_2e0.style.minHeight=_2e3;_2e0.style.height="auto";while(newH>0){_2e0.style.minHeight=Math.max(newH-_2e7,4)+"px";_2e8=_2e1();var _2ea=_2e5-_2e8;newH-=_2ea;if(_2ea<_2e7){break;}_2e5=_2e8;_2e7<<=1;}_2e0.style.height=newH+"px";_2e0.style.minHeight=_2e6;_2e0.scrollTop=_2e9;}_2e0.style.overflowY=_2e1()>_2e0.clientHeight?"auto":"hidden";if(_2e0.style.overflowY=="hidden"){_2e0.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});}if(!dojo._hasResource["dijit.form.Textarea"]){dojo._hasResource["dijit.form.Textarea"]=true;dojo.provide("dijit.form.Textarea");dojo.declare("dijit.form.Textarea",[dijit.form.SimpleTextarea,dijit.form._ExpandingTextAreaMixin],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);dojo.style(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.getObject("data.util.sorter",true,dojo);dojo.data.util.sorter.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};dojo.data.util.sorter.createSortFunction=function(_2eb,_2ec){var _2ed=[];function _2ee(attr,dir,comp,s){return function(_2ef,_2f0){var a=s.getValue(_2ef,attr);var b=s.getValue(_2f0,attr);return dir*comp(a,b);};};var _2f1;var map=_2ec.comparatorMap;var bc=dojo.data.util.sorter.basicComparator;for(var i=0;i<_2eb.length;i++){_2f1=_2eb[i];var attr=_2f1.attribute;if(attr){var dir=(_2f1.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_2ed.push(_2ee(attr,dir,comp,_2ec));}}return function(rowA,rowB){var i=0;while(i<_2ed.length){var ret=_2ed[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dojo.data.util.simpleFetch"]){dojo._hasResource["dojo.data.util.simpleFetch"]=true;dojo.provide("dojo.data.util.simpleFetch");dojo.getObject("data.util.simpleFetch",true,dojo);dojo.data.util.simpleFetch.fetch=function(_2f2){_2f2=_2f2||{};if(!_2f2.store){_2f2.store=this;}var self=this;var _2f3=function(_2f4,_2f5){if(_2f5.onError){var _2f6=_2f5.scope||dojo.global;_2f5.onError.call(_2f6,_2f4,_2f5);}};var _2f7=function(_2f8,_2f9){var _2fa=_2f9.abort||null;var _2fb=false;var _2fc=_2f9.start?_2f9.start:0;var _2fd=(_2f9.count&&(_2f9.count!==Infinity))?(_2fc+_2f9.count):_2f8.length;_2f9.abort=function(){_2fb=true;if(_2fa){_2fa.call(_2f9);}};var _2fe=_2f9.scope||dojo.global;if(!_2f9.store){_2f9.store=self;}if(_2f9.onBegin){_2f9.onBegin.call(_2fe,_2f8.length,_2f9);}if(_2f9.sort){_2f8.sort(dojo.data.util.sorter.createSortFunction(_2f9.sort,self));}if(_2f9.onItem){for(var i=_2fc;(i<_2f8.length)&&(i<_2fd);++i){var item=_2f8[i];if(!_2fb){_2f9.onItem.call(_2fe,item,_2f9);}}}if(_2f9.onComplete&&!_2fb){var _2ff=null;if(!_2f9.onItem){_2ff=_2f8.slice(_2fc,_2fd);}_2f9.onComplete.call(_2fe,_2ff,_2f9);}};this._fetchItems(_2f2,_2f7,_2f3);return _2f2;};}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.getObject("data.util.filter",true,dojo);dojo.data.util.filter.patternToRegExp=function(_300,_301){var rxp="^";var c=null;for(var i=0;i<_300.length;i++){c=_300.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_300.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_301){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};}if(!dojo._hasResource["dijit.form.ComboBox"]){dojo._hasResource["dijit.form.ComboBox"]=true;dojo.provide("dijit.form.ComboBox");dojo.declare("dijit.form.ComboBoxMixin",dijit._HasDropDown,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,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"),baseClass:"dijitTextBox dijitComboBox",dropDownClass:"dijit.form._ComboBoxMenu",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_302){var pos=0;if(typeof (_302.selectionStart)=="number"){pos=_302.selectionStart;}else{if(dojo.isIE){var tr=dojo.doc.selection.createRange().duplicate();var ntr=_302.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_303,_304){_304=parseInt(_304);dijit.selectInputText(_303,_304,_304);},_setDisabledAttr:function(_305){this.inherited(arguments);dijit.setWaiState(this.domNode,"disabled",_305);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.abort){this._fetchHandle.abort();}this._fetchHandle=null;}},_onInput:function(evt){if(!this.searchTimer&&(evt.type=="paste"||evt.type=="input")&&this._lastInput!=this.textbox.value){this.searchTimer=setTimeout(dojo.hitch(this,function(){this._onKey({charOrCode:229});}),100);}this.inherited(arguments);},_onKey:function(evt){var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==dojo.keys.SHIFT){return;}var _306=false;var pw=this.dropDown;var dk=dojo.keys;var _307=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_307=pw.getHighlightedOption();}switch(key){case dk.PAGE_DOWN:case dk.DOWN_ARROW:case dk.PAGE_UP:case dk.UP_ARROW:if(this._opened){this._announceOption(_307);}dojo.stopEvent(evt);break;case dk.ENTER:if(_307){if(_307==pw.nextButton){this._nextSearch(1);dojo.stopEvent(evt);break;}else{if(_307==pw.previousButton){this._nextSearch(-1);dojo.stopEvent(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){evt.preventDefault();}case dk.TAB:var _308=this.get("displayedValue");if(pw&&(_308==pw._messages["previousMessage"]||_308==pw._messages["nextMessage"])){break;}if(_307){this._selectOption();}if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_307){dojo.stopEvent(evt);this._selectOption();this.closeDropDown();}else{_306=true;}break;case dk.DELETE:case dk.BACKSPACE:this._prev_key_backspace=true;_306=true;break;default:_306=typeof key=="string"||key==229;}if(_306){this.item=undefined;this.searchTimer=setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;dijit.selectInputText(fn,fn.value.length);var _309=this.ignoreCase?"toLowerCase":"substr";if(text[_309](0).indexOf(this.focusNode.value[_309](0))==0){var cpos=this._getCaretPos(fn);if((cpos+1)>fn.value.length){fn.value=text;dijit.selectInputText(fn,cpos);}}else{fn.value=text;dijit.selectInputText(fn);}},_openResultList:function(_30a,_30b){this._fetchHandle=null;if(this.disabled||this.readOnly||(_30b.query[this.searchAttr]!=this._lastQuery)){return;}var _30c=this.dropDown._highlighted_option&&dojo.hasClass(this.dropDown._highlighted_option,"dijitMenuItemSelected");this.dropDown.clearResultList();if(!_30a.length&&!this._maxOptions){this.closeDropDown();return;}_30b._maxOptions=this._maxOptions;var _30d=this.dropDown.createOptions(_30a,_30b,dojo.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_30b.direction){if(1==_30b.direction){this.dropDown.highlightFirstOption();}else{if(-1==_30b.direction){this.dropDown.highlightLastOption();}}if(_30c){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_30b.query[this.searchAttr])){this._announceOption(_30d[1]);}}},_showResultList:function(){this.closeDropDown(true);this.displayMessage("");this.openDropDown();dijit.setWaiState(this.domNode,"expanded","true");},loadDropDown:function(_30e){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);dijit.setWaiState(this.domNode,"expanded","false");dijit.removeWaiState(this.focusNode,"activedescendant");}},_setBlurValue:function(){var _30f=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_30f==pw._messages["previousMessage"]||_30f==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_30f);}else{if(this.value!=this._lastValueReported){dijit.form._FormValueWidget.prototype._setValueAttr.call(this,this.value,true);}this._refreshState();}}},_onBlur:function(){this.closeDropDown();this.inherited(arguments);},_setItemAttr:function(item,_310,_311){if(!_311){_311=this.store.getValue(item,this.searchAttr);}var _312=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_311;this._set("item",item);dijit.form.ComboBox.superclass._setValueAttr.call(this,_312,_310,_311);},_announceOption:function(node){if(!node){return;}var _313;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_313=node.innerHTML;this.item=undefined;this.value="";}else{_313=this.store.getValue(node.item,this.searchAttr).toString();this.set("item",node.item,false,_313);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(node,"id"));this._autoCompleteText(_313);},_selectOption:function(evt){if(evt){this._announceOption(evt.target);}this.closeDropDown();this._setCaretPos(this.focusNode,this.focusNode.value.length);dijit.form._FormValueWidget.prototype._setValueAttr.call(this,this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return dojo.string.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _314=this.id+"_popup",_315=dojo.getObject(this.dropDownClass,false);this.dropDown=new _315({onChange:dojo.hitch(this,this._selectOption),id:_314,dir:this.dir});dijit.removeWaiState(this.focusNode,"activedescendant");dijit.setWaiState(this.textbox,"owns",_314);}var _316=dojo.clone(this.query);this._lastInput=key;this._lastQuery=_316[this.searchAttr]=this._getQueryString(key);this.searchTimer=setTimeout(dojo.hitch(this,function(_317,_318){this.searchTimer=null;var _319={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_317,onBegin:dojo.hitch(this,"_setMaxOptions"),onComplete:dojo.hitch(this,"_openResultList"),onError:function(_31a){_318._fetchHandle=null;console.error("dijit.form.ComboBox: "+_31a);_318.closeDropDown();},start:0,count:this.pageSize};dojo.mixin(_319,_318.fetchProperties);this._fetchHandle=_318.store.fetch(_319);var _31b=function(_31c,_31d){_31c.start+=_31c.count*_31d;_31c.direction=_31d;this._fetchHandle=this.store.fetch(_31c);this.focus();};this._nextSearch=this.dropDown.onPage=dojo.hitch(this,_31b,this._fetchHandle);},_316,this),this.searchDelay);},_setMaxOptions:function(size,_31e){this._maxOptions=size;},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _31f=this.srcNodeRef;this.store=new dijit.form._ComboBoxDataStore(_31f);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _320=this._getValueField();this.value=this.store.getValue(item,_320);}}}this.inherited(arguments);},postCreate:function(){var _321=dojo.query("label[for=\""+this.id+"\"]");if(_321.length){_321[0].id=(this.id+"_label");dijit.setWaiState(this.domNode,"labelledby",_321[0].id);}this.inherited(arguments);},_setHasDownArrowAttr:function(val){this.hasDownArrow=val;this._buttonNode.style.display=val?"":"none";},_getMenuLabelFromItem:function(item){var _322=this.labelFunc(item,this.store),_323=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_322=this.doHighlight(_322,this._escapeHtml(this._lastInput));_323="html";}return {html:_323=="html",label:_322};},doHighlight:function(_324,find){var _325=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=dojo.regexp.escapeString(find);return this._escapeHtml(_324).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_325),"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_326){return _326.getValue(item,this.labelAttr||this.searchAttr).toString();}});dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{templateString:"<ul class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' style='overflow: \"auto\"; overflow-x: \"hidden\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton' role='option'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton' role='option'></li>"+"</ul>",_messages:null,baseClass:"dijitComboBoxMenu",postMixInProperties:function(){this.inherited(arguments);this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_327){this.value=_327;this.onChange(_327);},onChange:function(_328){},onPage:function(_329){},onClose:function(){this._blurOptionNode();},_createOption:function(item,_32a){var _32b=dojo.create("li",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});var _32c=_32a(item);if(_32c.html){_32b.innerHTML=_32c.label;}else{_32b.appendChild(dojo.doc.createTextNode(_32c.label));}if(_32b.innerHTML==""){_32b.innerHTML="&nbsp;";}_32b.item=item;return _32b;},createOptions:function(_32d,_32e,_32f){this.previousButton.style.display=(_32e.start==0)?"none":"";dojo.attr(this.previousButton,"id",this.id+"_prev");dojo.forEach(_32d,function(item,i){var _330=this._createOption(item,_32f);dojo.attr(_330,"id",this.id+i);this.domNode.insertBefore(_330,this.nextButton);},this);var _331=false;if(_32e._maxOptions&&_32e._maxOptions!=-1){if((_32e.start+_32e.count)<_32e._maxOptions){_331=true;}else{if((_32e.start+_32e.count)>_32e._maxOptions&&_32e.count==_32d.length){_331=true;}}}else{if(_32e.count==_32d.length){_331=true;}}this.nextButton.style.display=_331?"":"none";dojo.attr(this.nextButton,"id",this.id+"_next");return this.domNode.childNodes;},clearResultList:function(){while(this.domNode.childNodes.length>2){this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);}this._blurOptionNode();},_onMouseDown:function(evt){dojo.stopEvent(evt);},_onMouseUp:function(evt){if(evt.target===this.domNode||!this._highlighted_option){return;}else{if(evt.target==this.previousButton){this._blurOptionNode();this.onPage(-1);}else{if(evt.target==this.nextButton){this._blurOptionNode();this.onPage(1);}else{var tgt=evt.target;while(!tgt.item){tgt=tgt.parentNode;}this._setValueAttr({target:tgt},true);}}}},_onMouseOver:function(evt){if(evt.target===this.domNode){return;}var tgt=evt.target;if(!(tgt==this.previousButton||tgt==this.nextButton)){while(!tgt.item){tgt=tgt.parentNode;}}this._focusOptionNode(tgt);},_onMouseOut:function(evt){if(evt.target===this.domNode){return;}this._blurOptionNode();},_focusOptionNode:function(node){if(this._highlighted_option!=node){this._blurOptionNode();this._highlighted_option=node;dojo.addClass(this._highlighted_option,"dijitMenuItemSelected");}},_blurOptionNode:function(){if(this._highlighted_option){dojo.removeClass(this._highlighted_option,"dijitMenuItemSelected");this._highlighted_option=null;}},_highlightNextOption:function(){if(!this.getHighlightedOption()){var fc=this.domNode.firstChild;this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);}else{var ns=this._highlighted_option.nextSibling;if(ns&&ns.style.display!="none"){this._focusOptionNode(ns);}else{this.highlightFirstOption();}}dojo.window.scrollIntoView(this._highlighted_option);},highlightFirstOption:function(){var _332=this.domNode.firstChild;var _333=_332.nextSibling;this._focusOptionNode(_333.style.display=="none"?_332:_333);dojo.window.scrollIntoView(this._highlighted_option);},highlightLastOption:function(){this._focusOptionNode(this.domNode.lastChild.previousSibling);dojo.window.scrollIntoView(this._highlighted_option);},_highlightPrevOption:function(){if(!this.getHighlightedOption()){var lc=this.domNode.lastChild;this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);}else{var ps=this._highlighted_option.previousSibling;if(ps&&ps.style.display!="none"){this._focusOptionNode(ps);}else{this.highlightLastOption();}}dojo.window.scrollIntoView(this._highlighted_option);},_page:function(up){var _334=0;var _335=this.domNode.scrollTop;var _336=dojo.style(this.domNode,"height");if(!this.getHighlightedOption()){this._highlightNextOption();}while(_334<_336){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this._highlightPrevOption();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this._highlightNextOption();}var _337=this.domNode.scrollTop;_334+=(_337-_335)*(up?-1:1);_335=_337;}},pageUp:function(){this._page(true);},pageDown:function(){this._page(false);},getHighlightedOption:function(){var ho=this._highlighted_option;return (ho&&ho.parentNode)?ho:null;},handleKey:function(evt){switch(evt.charOrCode){case dojo.keys.DOWN_ARROW:this._highlightNextOption();return false;case dojo.keys.PAGE_DOWN:this.pageDown();return false;case dojo.keys.UP_ARROW:this._highlightPrevOption();return false;case dojo.keys.PAGE_UP:this.pageUp();return false;default:return true;}}});dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{_setValueAttr:function(_338,_339,_33a){this._set("item",null);if(!_338){_338="";}dijit.form.ValidationTextBox.prototype._setValueAttr.call(this,_338,_339,_33a);}});dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(root){this.root=root;if(root.tagName!="SELECT"&&root.firstChild){root=dojo.query("select",root);if(root.length>0){root=root[0];}else{this.root.innerHTML="<SELECT>"+this.root.innerHTML+"</SELECT>";root=this.root.firstChild;}this.root=root;}dojo.query("> option",root).forEach(function(node){node.innerHTML=dojo.trim(node.innerHTML);});},getValue:function(item,_33b,_33c){return (_33b=="value")?item.value:(item.innerText||item.textContent||"");},isItemLoaded:function(_33d){return true;},getFeatures:function(){return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};},_fetchItems:function(args,_33e,_33f){if(!args.query){args.query={};}if(!args.query.name){args.query.name="";}if(!args.queryOptions){args.queryOptions={};}var _340=dojo.data.util.filter.patternToRegExp(args.query.name,args.queryOptions.ignoreCase),_341=dojo.query("> option",this.root).filter(function(_342){return (_342.innerText||_342.textContent||"").match(_340);});if(args.sort){_341.sort(dojo.data.util.sorter.createSortFunction(args.sort,this));}_33e(_341,args);},close:function(_343){return;},getLabel:function(item){return item.innerHTML;},getIdentity:function(item){return dojo.attr(item,"value");},fetchItemByIdentity:function(args){var item=dojo.query("> option[value='"+args.identity+"']",this.root)[0];args.onItem(item);},fetchSelectedItem:function(){var root=this.root,si=root.selectedIndex;return typeof si=="number"?dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",root)[0]:null;}});dojo.extend(dijit.form._ComboBoxDataStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_344,_345,_346){if((_345&&_345.query[this.searchAttr]!=this._lastQuery)||(!_345&&_344.length&&this.store.getIdentity(_344[0])!=this._lastQuery)){return;}if(!_344.length){this.valueNode.value="";dijit.form.TextBox.superclass._setValueAttr.call(this,"",_346||(_346===undefined&&!this._focused));this._set("item",null);this.validate(this._focused);}else{this.set("item",_344[0],_346);}},_openResultList:function(_347,_348){if(_348.query[this.searchAttr]!=this._lastQuery){return;}dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_349,_34a){if(!this._onChangeActive){_34a=null;}this._lastQuery=_349;if(_349===null||_349===""){this._setDisplayedValueAttr("",_34a);return;}var self=this;this.store.fetchItemByIdentity({identity:_349,onItem:function(item){self._callbackSetLabel(item?[item]:[],undefined,_34a);}});},_setItemAttr:function(item,_34b,_34c){this.inherited(arguments);this.valueNode.value=this.value;this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_34d,_34e){if(_34d==null){_34d="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_34e=false;}if(this.store){this.closeDropDown();var _34f=dojo.clone(this.query);this._lastQuery=_34f[this.searchAttr]=this._getDisplayQueryString(_34d);this.textbox.value=_34d;this._lastDisplayedValue=_34d;this._set("displayedValue",_34d);var _350=this;var _351={query:_34f,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_352,_353){_350._fetchHandle=null;dojo.hitch(_350,"_callbackSetLabel")(_352,_353,_34e);},onError:function(_354){_350._fetchHandle=null;console.error("dijit.form.FilteringSelect: "+_354);dojo.hitch(_350,"_callbackSetLabel")([],undefined,false);}};dojo.mixin(_351,this.fetchProperties);this._fetchHandle=this.store.fetch(_351);}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});}if(!dojo._hasResource["dijit.form._FormSelectWidget"]){dojo._hasResource["dijit.form._FormSelectWidget"]=true;dojo.provide("dijit.form._FormSelectWidget");dojo.declare("dijit.form._FormSelectWidget",dijit.form._FormValueWidget,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_355){var _356=_355,opts=this.options||[],l=opts.length;if(_356===undefined){return opts;}if(dojo.isArray(_356)){return dojo.map(_356,"return this.getOptions(item);",this);}if(dojo.isObject(_355)){if(!dojo.some(this.options,function(o,idx){if(o===_356||(o.value&&o.value===_356.value)){_356=idx;return true;}return false;})){_356=-1;}}if(typeof _356=="string"){for(var i=0;i<l;i++){if(opts[i].value===_356){_356=i;break;}}}if(typeof _356=="number"&&_356>=0&&_356<l){return this.options[_356];}return null;},addOption:function(_357){if(!dojo.isArray(_357)){_357=[_357];}dojo.forEach(_357,function(i){if(i&&dojo.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_358){if(!dojo.isArray(_358)){_358=[_358];}var _359=this.getOptions(_358);dojo.forEach(_359,function(i){if(i){this.options=dojo.filter(this.options,function(node,idx){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_35a){if(!dojo.isArray(_35a)){_35a=[_35a];}dojo.forEach(_35a,function(i){var _35b=this.getOptions(i),k;if(_35b){for(k in i){_35b[k]=i[k];}}},this);this._loadChildren();},setStore:function(_35c,_35d,_35e){var _35f=this.store;_35e=_35e||{};if(_35f!==_35c){dojo.forEach(this._notifyConnections||[],dojo.disconnect);delete this._notifyConnections;if(_35c&&_35c.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[dojo.connect(_35c,"onNew",this,"_onNewItem"),dojo.connect(_35c,"onDelete",this,"_onDeleteItem"),dojo.connect(_35c,"onSet",this,"_onSetItem")];}this._set("store",_35c);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_35c){this._loadingStore=true;_35c.fetch(dojo.delegate(_35e,{onComplete:function(_360,opts){if(this.sortByLabel&&!_35e.sort&&_360.length){_360.sort(dojo.data.util.sorter.createSortFunction([{attribute:_35c.getLabelAttributes(_360[0])[0]}],_35c));}if(_35e.onFetch){_360=_35e.onFetch.call(this,_360,opts);}dojo.forEach(_360,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_35d);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_360);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _35f;},_setValueAttr:function(_361,_362){if(this._loadingStore){this._pendingValue=_361;return;}var opts=this.getOptions()||[];if(!dojo.isArray(_361)){_361=[_361];}dojo.forEach(_361,function(i,idx){if(!dojo.isObject(i)){i=i+"";}if(typeof i==="string"){_361[idx]=dojo.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_361=dojo.filter(_361,function(i){return i&&i.value;});if(!this.multiple&&(!_361[0]||!_361[0].value)&&opts.length){_361[0]=opts[0];}dojo.forEach(opts,function(i){i.selected=dojo.some(_361,function(v){return v.value===i.value;});});var val=dojo.map(_361,function(i){return i.value;}),disp=dojo.map(_361,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_362);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!dojo.isArray(val)){val=[val];}var ret=dojo.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}dojo.forEach(this._getChildren(),function(_363){_363.destroyRecursive();});dojo.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!dojo.isArray(val)){val=[val];}if(val&&val[0]){dojo.forEach(this._getChildren(),function(_364){var _365=dojo.some(val,function(v){return _364.option&&(v===_364.option.value);});dojo.toggleClass(_364.domNode,this.baseClass+"SelectedOption",_365);dijit.setWaiState(_364.domNode,"selected",_365);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=dojo.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return dojo.map(dojo.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_366){if(!_366||!_366.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _367=this.store;this.removeOption(_367.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _368=this.store,_369=_368.getLabel(item),_36a=(_369?_368.getIdentity(item):null);return {value:_36a,label:_369,item:item};},_addOptionForItem:function(item){var _36b=this.store;if(!_36b.isItemLoaded(item)){_36b.loadItem({item:item,onComplete:function(i){this._addOptionForItem(item);},scope:this});return;}var _36c=this._getOptionObjForItem(item);this.addOption(_36c);},constructor:function(_36d){this._oValue=(_36d||{}).value||null;},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?dojo.query(">",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+dojo._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");this.connect(this,"startup","_loadChildren");this._setValueAttr(this.value,null);},startup:function(){this.inherited(arguments);var _36e=this.store,_36f={};dojo.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_36f[i]=this[i];}delete this[i];},this);if(_36e&&_36e.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_36e,this._oValue,_36f);}},destroy:function(){dojo.forEach(this._notifyConnections||[],dojo.disconnect);this.inherited(arguments);},_addOptionItem:function(_370){},_removeOptionItem:function(_371){},_setDisplay:function(_372){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(_373){},onSetStore:function(){}});}if(!dojo._hasResource["dijit._KeyNavContainer"]){dojo._hasResource["dijit._KeyNavContainer"]=true;dojo.provide("dijit._KeyNavContainer");dojo.declare("dijit._KeyNavContainer",dijit._Container,{tabIndex:"0",_keyNavCodes:{},connectKeyNavHandlers:function(_374,_375){var _376=(this._keyNavCodes={});var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_374,function(code){_376[code]=prev;});dojo.forEach(_375,function(code){_376[code]=next;});_376[dojo.keys.HOME]=dojo.hitch(this,"focusFirstChild");_376[dojo.keys.END]=dojo.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_377,_378){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_377);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){var _379=this._getFirstFocusableChild();if(_379){this.focusChild(_379);}},focusLastChild:function(){var _37a=this._getLastFocusableChild();if(_37a){this.focusChild(_37a);}},focusNext:function(){var _37b=this._getNextFocusableChild(this.focusedChild,1);this.focusChild(_37b);},focusPrev:function(){var _37c=this._getNextFocusableChild(this.focusedChild,-1);this.focusChild(_37c,true);},focusChild:function(_37d,last){if(this.focusedChild&&_37d!==this.focusedChild){this._onChildBlur(this.focusedChild);}_37d.set("tabIndex",this.tabIndex);_37d.focus(last?"end":"start");this._set("focusedChild",_37d);},_startupChild:function(_37e){_37e.set("tabIndex","-1");this.connect(_37e,"_onFocus",function(){_37e.set("tabIndex",this.tabIndex);});this.connect(_37e,"_onBlur",function(){_37e.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode){return;}this.focusFirstChild();dojo.attr(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabIndex",this.tabIndex);}this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();dojo.stopEvent(evt);}},_onChildBlur:function(_37f){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_380,dir){if(_380){_380=this._getSiblingOfChild(_380,dir);}var _381=this.getChildren();for(var i=0;i<_381.length;i++){if(!_380){_380=_381[(dir>0)?0:(_381.length-1)];}if(_380.isFocusable()){return _380;}_380=this._getSiblingOfChild(_380,dir);}return null;}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){var _382=dijit.getEnclosingWidget(this.domNode.parentNode);return _382&&_382.isContainer?_382:null;},_getSibling:function(_383){var node=this.domNode;do{node=node[_383+"Sibling"];}while(node&&node.nodeType!=1);return node&&dijit.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!dojo._hasResource["dijit.MenuItem"]){dojo._hasResource["dijit.MenuItem"]=true;dojo.provide("dijit.MenuItem");dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/MenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div dojoAttachPoint=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),baseClass:"dijitMenuItem",label:"",iconClass:"",accelKey:"",disabled:false,_fillContent:function(_384){if(_384&&!("label" in this.params)){this.set("label",_384.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _385=this.id+"_text";dojo.attr(this.containerNode,"id",_385);if(this.accelKeyNode){dojo.attr(this.accelKeyNode,"id",this.id+"_accel");_385+=" "+this.id+"_accel";}dijit.setWaiState(this.domNode,"labelledby",_385);dojo.setSelectable(this.domNode,false);},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);this._set("hovering",false);},_onClick:function(evt){this.getParent().onItemClick(this,evt);dojo.stopEvent(evt);},onClick:function(evt){},focus:function(){try{if(dojo.isIE==8){this.containerNode.focus();}dijit.focus(this.focusNode);}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_386){dojo.toggleClass(this.domNode,"dijitMenuItemSelected",_386);},setLabel:function(_387){dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_387);},setDisabled:function(_388){dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_388);},_setDisabledAttr:function(_389){dijit.setWaiState(this.focusNode,"disabled",_389?"true":"false");this._set("disabled",_389);},_setAccelKeyAttr:function(_38a){this.accelKeyNode.style.display=_38a?"":"none";this.accelKeyNode.innerHTML=_38a;dojo.attr(this.containerNode,"colSpan",_38a?"1":"2");this._set("accelKey",_38a);}});}if(!dojo._hasResource["dijit.PopupMenuItem"]){dojo._hasResource["dijit.PopupMenuItem"]=true;dojo.provide("dijit.PopupMenuItem");dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _38b=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_38b[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){dojo.style(this.arrowWrapper,"visibility","");}dijit.setWaiState(this.focusNode,"haspopup","true");},destroyDescendants:function(){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive();}delete this.popup;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.CheckedMenuItem"]){dojo._hasResource["dijit.CheckedMenuItem"]=true;dojo.provide("dijit.CheckedMenuItem");dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:dojo.cache("dijit","templates/CheckedMenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&nbsp;</td>\n</tr>\n"),checked:false,_setCheckedAttr:function(_38c){dojo.toggleClass(this.domNode,"dijitCheckedMenuItemChecked",_38c);dijit.setWaiState(this.domNode,"checked",_38c);this._set("checked",_38c);},onChange:function(_38d){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.MenuSeparator"]){dojo._hasResource["dijit.MenuSeparator"]=true;dojo.provide("dijit.MenuSeparator");dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:dojo.cache("dijit","templates/MenuSeparator.html","<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n"),buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit._MenuBase",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{parentMenu:null,popupDelay:500,startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_38e){_38e.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_38f){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _390=this._getTopMenu();if(_390&&_390._isMenuBar){_390.focusNext();}}},_onPopupHover:function(evt){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _391=this.currentPopup.parentMenu;if(_391.focusedChild){_391.focusedChild._setSelected(false);}_391.focusedChild=this.currentPopup.from_item;_391.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _392=item.popup;if(_392){this._stopPendingCloseTimer(_392);_392._pendingClose_timer=setTimeout(function(){_392._pendingClose_timer=null;if(_392.parentMenu){_392.parentMenu.currentPopup=null;}dijit.popup.close(_392);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_393){if(_393._pendingClose_timer){clearTimeout(_393._pendingClose_timer);_393._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup();}else{this.onExecute();item.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _394=this.focusedChild;if(!_394){return;}var _395=_394.popup;if(_395.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);dijit.popup.close(this.currentPopup);}_395.parentMenu=this;_395.from_item=_394;var self=this;dijit.popup.open({parent:this,popup:_395,around:_394.domNode,orient:this._orient||(this.isLeftToRight()?{"TR":"TL","TL":"TR","BR":"BL","BL":"BR"}:{"TL":"TR","TR":"TL","BL":"BR","BR":"BL"}),onCancel:function(){self.focusChild(_394);self._cleanUp();_394._setSelected(true);self.focusedChild=_394;},onExecute:dojo.hitch(this,"_cleanUp")});this.currentPopup=_395;_395.connect(_395.domNode,"onmouseenter",dojo.hitch(self,"_onPopupHover"));if(_395.focus){_395._focus_timer=setTimeout(dojo.hitch(_395,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;dojo.replaceClass(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(e){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;dojo.replaceClass(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();var _396=this.focusedChild&&this.focusedChild.from_item;if(this.currentPopup){if(dijit._curFocus&&dojo.isDescendant(dijit._curFocus,this.currentPopup.domNode)){this.focusedChild.focusNode.focus();}dijit.popup.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});dojo.declare("dijit.Menu",dijit._MenuBase,{constructor:function(){this._bindings=[];},templateString:dojo.cache("dijit","templates/Menu.html","<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" dojoAttachEvent=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>\n</table>\n"),baseClass:"dijitMenu",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}var k=dojo.keys,l=this.isLeftToRight();this._openSubMenuKey=l?k.RIGHT_ARROW:k.LEFT_ARROW;this._closeSubMenuKey=l?k.LEFT_ARROW:k.RIGHT_ARROW;this.connectKeyNavHandlers([k.UP_ARROW],[k.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);dojo.stopEvent(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{dojo.stopEvent(evt);}break;}},_iframeContentWindow:function(_397){var win=dojo.window.get(this._iframeContentDocument(_397))||this._iframeContentDocument(_397)["__parent__"]||(_397.name&&dojo.doc.frames[_397.name])||null;return win;},_iframeContentDocument:function(_398){var doc=_398.contentDocument||(_398.contentWindow&&_398.contentWindow.document)||(_398.name&&dojo.doc.frames[_398.name]&&dojo.doc.frames[_398.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _399=node,win=this._iframeContentWindow(_399);cn=dojo.withGlobal(win,dojo.body);}else{cn=(node==dojo.body()?dojo.doc.documentElement:node);}var _39a={node:node,iframe:_399};dojo.attr(node,"_dijitMenu"+this.id,this._bindings.push(_39a));var _39b=dojo.hitch(this,function(cn){return [dojo.connect(cn,this.leftClickToOpen?"onclick":"oncontextmenu",this,function(evt){dojo.stopEvent(evt);this._scheduleOpen(evt.target,_399,{x:evt.pageX,y:evt.pageY});}),dojo.connect(cn,"onkeydown",this,function(evt){if(evt.shiftKey&&evt.keyCode==dojo.keys.F10){dojo.stopEvent(evt);this._scheduleOpen(evt.target,_399);}})];});_39a.connects=cn?_39b(cn):[];if(_399){_39a.onloadHandler=dojo.hitch(this,function(){var win=this._iframeContentWindow(_399);cn=dojo.withGlobal(win,dojo.body);_39a.connects=_39b(cn);});if(_399.addEventListener){_399.addEventListener("load",_39a.onloadHandler,false);}else{_399.attachEvent("onload",_39a.onloadHandler);}}},unBindDomNode:function(_39c){var node;try{node=dojo.byId(_39c);}catch(e){return;}var _39d="_dijitMenu"+this.id;if(node&&dojo.hasAttr(node,_39d)){var bid=dojo.attr(node,_39d)-1,b=this._bindings[bid];dojo.forEach(b.connects,dojo.disconnect);var _39e=b.iframe;if(_39e){if(_39e.removeEventListener){_39e.removeEventListener("load",b.onloadHandler,false);}else{_39e.detachEvent("onload",b.onloadHandler);}}dojo.removeAttr(node,_39d);delete this._bindings[bid];}},_scheduleOpen:function(_39f,_3a0,_3a1){if(!this._openTimer){this._openTimer=setTimeout(dojo.hitch(this,function(){delete this._openTimer;this._openMyself({target:_39f,iframe:_3a0,coords:_3a1});}),1);}},_openMyself:function(args){var _3a2=args.target,_3a3=args.iframe,_3a4=args.coords;if(_3a4){if(_3a3){var od=_3a2.ownerDocument,ifc=dojo.position(_3a3,true),win=this._iframeContentWindow(_3a3),_3a5=dojo.withGlobal(win,"_docScroll",dojo);var cs=dojo.getComputedStyle(_3a3),tp=dojo._toPixelValue,left=(dojo.isIE&&dojo.isQuirks?0:tp(_3a3,cs.paddingLeft))+(dojo.isIE&&dojo.isQuirks?tp(_3a3,cs.borderLeftWidth):0),top=(dojo.isIE&&dojo.isQuirks?0:tp(_3a3,cs.paddingTop))+(dojo.isIE&&dojo.isQuirks?tp(_3a3,cs.borderTopWidth):0);_3a4.x+=ifc.x+left-_3a5.x;_3a4.y+=ifc.y+top-_3a5.y;}}else{_3a4=dojo.position(_3a2,true);_3a4.x+=10;_3a4.y+=10;}var self=this;var _3a6=dijit.getFocus(this);function _3a7(){if(self.refocus){dijit.focus(_3a6);}dijit.popup.close(self);};dijit.popup.open({popup:this,x:_3a4.x,y:_3a4.y,onExecute:_3a7,onCancel:_3a7,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);dijit.popup.close(this);};},uninitialize:function(){dojo.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form.Select"]){dojo._hasResource["dijit.form.Select"]=true;dojo.provide("dijit.form.Select");dojo.declare("dijit.form._SelectMenu",dijit.Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=dojo.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}dojo.removeClass(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";dijit.setWaiRole(o,"listbox");dijit.setWaiRole(n,"presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",dojo.stopEvent);},resize:function(mb){if(mb){dojo.marginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});dojo.declare("dijit.form.Select",[dijit.form._FormSelectWidget,dijit._HasDropDown],{baseClass:"dijitSelect",templateString:dojo.cache("dijit.form","templates/Select.html","<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdojoAttachPoint=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  dojoAttachPoint=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} dojoAttachPoint=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdojoAttachPoint=\"titleNode\" role=\"presentation\"\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></tr></tbody\n></table>\n"),attributeMap:dojo.mixin(dojo.clone(dijit.form._FormSelectWidget.prototype.attributeMap),{style:"tableNode"}),required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&nbsp;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new dijit.form._SelectMenu({id:this.id+"_menu"});dojo.addClass(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_3a8){if(!_3a8.value&&!_3a8.label){return new dijit.MenuSeparator();}else{var _3a9=dojo.hitch(this,"_setValueAttr",_3a8);var item=new dijit.MenuItem({option:_3a8,label:_3a8.label||this.emptyLabel,onClick:_3a9,disabled:_3a8.disabled||false});dijit.setWaiRole(item.focusNode,"listitem");return item;}},_addOptionItem:function(_3aa){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_3aa));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_3ab){if(_3ab===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{dojo.forEach(this._getChildren(),function(_3ac){_3ac.destroyRecursive();});var item=new dijit.MenuItem({label:"&nbsp;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_3ad){this.inherited(arguments);dojo.attr(this.valueNode,"value",this.get("value"));},_setDisplay:function(_3ae){var lbl=_3ae||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";dijit.setWaiState(this.focusNode,"valuetext",lbl);},validate:function(_3af){var _3b0=this.isValid(_3af);this._set("state",_3b0?"":"Error");dijit.setWaiState(this.focusNode,"invalid",_3b0?"false":"true");var _3b1=_3b0?"":this._missingMsg;if(this.message!==_3b1){this._set("message",_3b1);dijit.hideTooltip(this.domNode);if(_3b1){dijit.showTooltip(_3b1,this.domNode,this.tooltipPosition,!this.isLeftToRight());}}return _3b0;},isValid:function(_3b2){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);dijit.hideTooltip(this.domNode);this._set("state","");this._set("message","");},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=dojo.i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",dojo.stopEvent);},_setStyleAttr:function(_3b3){this.inherited(arguments);dojo.toggleClass(this.domNode,this.baseClass+"FixedWidth",!!this.tableNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_3b4){this._loadChildren(true);this._isLoaded=true;_3b4();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_3b5){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_3b5);delete this.dropDown;}this.inherited(arguments);}});}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 _3b6=this;dojo.mixin(_3b6,args);_3b6.node=args.node;_3b6._showArgs=dojo.mixin({},args);_3b6._showArgs.node=_3b6.node;_3b6._showArgs.duration=_3b6.showDuration;_3b6.showAnim=_3b6.showFunc(_3b6._showArgs);_3b6._hideArgs=dojo.mixin({},args);_3b6._hideArgs.node=_3b6.node;_3b6._hideArgs.duration=_3b6.hideDuration;_3b6.hideAnim=_3b6.hideFunc(_3b6._hideArgs);dojo.connect(_3b6.showAnim,"beforeBegin",dojo.hitch(_3b6.hideAnim,"stop",true));dojo.connect(_3b6.hideAnim,"beforeBegin",dojo.hitch(_3b6.showAnim,"stop",true));},show:function(_3b7){return this.showAnim.play(_3b7||0);},hide:function(_3b8){return this.hideAnim.play(_3b8||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_3b9={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _3ba=function(_3bb){this._index=-1;this._animations=_3bb||[];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(_3ba,{_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(_3bc,_3bd){if(!this._current){this._current=this._animations[this._index=0];}if(!_3bd&&this._current.status()=="playing"){return this;}var _3be=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_3bf=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_3c0=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_3be);d.disconnect(_3bf);d.disconnect(_3c0);});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(_3c1,_3c2){this.pause();var _3c3=this.duration*_3c1;this._current=null;d.some(this._animations,function(a){if(a.duration<=_3c3){this._current=a;return true;}_3c3-=a.duration;return false;});if(this._current){this._current.gotoPercent(_3c3/this._current.duration,_3c2);}return this;},stop:function(_3c4){if(this._current){if(_3c4){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(_3ba,_3b9);dojo.fx.chain=function(_3c5){return new _3ba(_3c5);};var _3c6=function(_3c7){this._animations=_3c7||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_3c7,function(a){var _3c8=a.duration;if(a.delay){_3c8+=a.delay;}if(this.duration<_3c8){this.duration=_3c8;}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(_3c6,{_doAction:function(_3c9,args){d.forEach(this._animations,function(a){a[_3c9].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_3ca,args){var t=this._pseudoAnimation;t[_3ca].apply(t,args);},play:function(_3cb,_3cc){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(_3cd,_3ce){var ms=this.duration*_3cd;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_3ce);});this._call("gotoPercent",arguments);return this;},stop:function(_3cf){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(_3c6,_3b9);dojo.fx.combine=function(_3d0){return new _3c6(_3d0);};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 _3d1=d.style(node,"height");return Math.max(_3d1,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["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _3d2=this.getParent&&this.getParent();if(!(_3d2&&_3d2.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_3d3,_3d4){var node=this.domNode;if(_3d3){dojo.marginBox(node,_3d3);if(_3d3.t){node.style.top=_3d3.t+"px";}if(_3d3.l){node.style.left=_3d3.l+"px";}}var mb=_3d4||{};dojo.mixin(mb,_3d3||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_3d5){var cls=this.baseClass+"-child "+(_3d5.baseClass?this.baseClass+"-"+_3d5.baseClass:"");dojo.addClass(_3d5.domNode,cls);},addChild:function(_3d6,_3d7){this.inherited(arguments);if(this._started){this._setupChild(_3d6);}},removeChild:function(_3d8){var cls=this.baseClass+"-child"+(_3d8.baseClass?" "+this.baseClass+"-"+_3d8.baseClass:"");dojo.removeClass(_3d8.domNode,cls);this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _3d9=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_3da,dim){var _3db=_3da.resize?_3da.resize(dim):dojo.marginBox(_3da.domNode,dim);if(_3db){dojo.mixin(_3da,_3db);}else{dojo.mixin(_3da,dojo.marginBox(_3da.domNode));dojo.mixin(_3da,dim);}};dijit.layout.layoutChildren=function(_3dc,dim,_3dd,_3de,_3df){dim=dojo.mixin({},dim);dojo.addClass(_3dc,"dijitLayoutContainer");_3dd=dojo.filter(_3dd,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(dojo.filter(_3dd,function(item){return item.region=="center"||item.layoutAlign=="client";}));dojo.forEach(_3dd,function(_3e0){var elm=_3e0.domNode,pos=(_3e0.region||_3e0.layoutAlign);var _3e1=elm.style;_3e1.left=dim.l+"px";_3e1.top=dim.t+"px";_3e1.position="absolute";dojo.addClass(elm,"dijitAlign"+_3d9(pos));var _3e2={};if(_3de&&_3de==_3e0.id){_3e2[_3e0.region=="top"||_3e0.region=="bottom"?"h":"w"]=_3df;}if(pos=="top"||pos=="bottom"){_3e2.w=dim.w;size(_3e0,_3e2);dim.h-=_3e0.h;if(pos=="top"){dim.t+=_3e0.h;}else{_3e1.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_3e2.h=dim.h;size(_3e0,_3e2);dim.w-=_3e0.w;if(pos=="left"){dim.l+=_3e0.w;}else{_3e1.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_3e0,dim);}}}});};})();}if(!dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]){dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]=true;dojo.provide("dijit.layout._ContentPaneResizeMixin");dojo.declare("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isContainer:true,isLayoutContainer:true,_startChildren:function(){dojo.forEach(this.getChildren(),function(_3e3){_3e3.startup();_3e3._started=true;});},startup:function(){if(this._started){return;}var _3e4=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_3e4&&_3e4.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._startChildren();if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _3e5=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_3e6=_3e5.filter(function(node){return dojo.hasAttr(node,"data-dojo-type")||dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_3e7=dojo.filter(_3e6.map(dijit.byNode),function(_3e8){return _3e8&&_3e8.domNode&&_3e8.resize;});if(_3e5.length==_3e6.length&&_3e7.length==1){this._singleChild=_3e7[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_3e9,_3ea){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_3e9,_3ea);},_scheduleLayout:function(_3eb,_3ec){if(this._isShown()){this._layout(_3eb,_3ec);}else{this._needLayout=true;this._changeSize=_3eb;this._resultSize=_3ec;}},_layout:function(_3ed,_3ee){if(_3ed){dojo.marginBox(this.domNode,_3ed);}var cn=this.containerNode;if(cn===this.domNode){var mb=_3ee||{};dojo.mixin(mb,_3ed||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(cn),mb);}this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);}else{this._contentBox=dojo.contentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{dojo.forEach(this.getChildren(),function(_3ef){if(_3ef.resize){_3ef.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_3f0=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden")&&_3f0&&_3f0.style&&(_3f0.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");dojo.getObject("html",true,dojo);(function(){var _3f1=0,d=dojo;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=dojo.empty;dojo.html._setNodeContent=function(node,cont){d.empty(node);if(cont){if(typeof cont=="string"){cont=d._toDom(cont,node.ownerDocument);}if(!cont.nodeType&&d.isArrayLike(cont)){for(var _3f2=cont.length,i=0;i<cont.length;i=_3f2==cont.length?i+1:0){d.place(cont[i],node,"last");}}else{d.place(cont,node,"last");}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_3f3,node){dojo.mixin(this,_3f3||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_3f1++].join("_");}},set:function(cont,_3f4){if(undefined!==cont){this.content=cont;}if(_3f4){this._mixin(_3f4);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _3f5=this.onContentError(e);try{node.innerHTML=_3f5;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _3f6=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_3f6){cont=_3f6[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_3f7){var _3f8={},key;for(key in _3f7){if(key in _3f8){continue;}this[key]=_3f7[key];}},_parse:function(){var _3f9=this.node;try{var _3fa={};dojo.forEach(["dir","lang","textDir"],function(name){if(this[name]){_3fa[name]=this[name];}},this);this.parseResults=dojo.parser.parse({rootNode:_3f9,noStart:!this.startup,inherited:_3fa,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_3fb){var _3fc=this["on"+type+"Error"].call(this,err);if(_3fb){console.error(_3fb,err);}else{if(_3fc){dojo.html._setNodeContent(this.node,_3fc,true);}}}});dojo.html.set=function(node,cont,_3fd){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_3fd){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_3fd,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",[dijit._Widget,dijit.layout._ContentPaneResizeMixin],{href:"",extractContent:false,parseOnLoad:true,parserScope:dojo._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),stopParser:true,template:false,create:function(_3fe,_3ff){if((!_3fe||!_3fe.template)&&_3ff&&!("href" in _3fe)&&!("content" in _3fe)){var df=dojo.doc.createDocumentFragment();_3ff=dojo.byId(_3ff);while(_3ff.firstChild){df.appendChild(_3ff.firstChild);}_3fe=dojo.delegate(_3fe,{content:df});}this.inherited(arguments,[_3fe,_3ff]);},postMixInProperties:function(){this.inherited(arguments);var _400=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_400);this.errorMessage=dojo.string.substitute(this.errorMessage,_400);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!dojo.attr(this.domNode,"role")){dijit.setWaiRole(this.domNode,"group");}},_startChildren:function(){this.inherited(arguments);if(this._contentSetter){dojo.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&dojo.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_401){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _402={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_402,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_402));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.callback(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(){if(this.isLoaded){this._onUnloadHandler();}var _403=this._contentSetter;dojo.forEach(this.getChildren(),function(_404){if(_404.destroyRecursive){_404.destroyRecursive();}});if(_403){dojo.forEach(_403.parseResults,function(_405){if(_405.destroyRecursive&&_405.domNode&&_405.domNode.parentNode==dojo.body()){_405.destroyRecursive();}});delete _403.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_406){this.destroyDescendants();var _407=this._contentSetter;if(!(_407&&_407 instanceof dojo.html._ContentSetter)){_407=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _408=this.onContentError(e);try{this.containerNode.innerHTML=_408;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _409=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang},this._contentSetterParams||{});_407.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont,_409);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_406){if(this._started){this._startChildren();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_40a){this.onLoadDeferred.errback(err);var _40b=this["on"+type+"Error"].call(this,err);if(_40a){console.error(_40a,err);}else{if(_40b){this._setContent(_40b,true);}}},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_40c){},onDownloadError:function(_40d){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated,dijit._CssStateMixin],{title:"",open:true,toggleable:true,tabIndex:"0",duration:dijit.defaultDuration,baseClass:"dijitTitlePane",templateString:dojo.cache("dijit","templates/TitlePane.html","<div>\n\t<div dojoAttachEvent=\"onclick:_onTitleClick, onkeypress:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" dojoAttachPoint=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" dojoAttachPoint=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" dojoAttachPoint=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"),attributeMap:dojo.delegate(dijit.layout.ContentPane.prototype.attributeMap,{title:{node:"titleNode",type:"innerHTML"},tooltip:{node:"focusNode",type:"attribute",attribute:"title"},id:""}),buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,"dijitTitlePaneTitle");}var _40e=this.hideNode,_40f=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_40e.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_40e.style.display="none";}});},_setOpenAttr:function(open,_410){dojo.forEach([this._wipeIn,this._wipeOut],function(_411){if(_411&&_411.status()=="playing"){_411.stop();}});if(_410){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.arrowNodeInner.innerHTML=open?"-":"+";dijit.setWaiState(this.containerNode,"hidden",open?"false":"true");dijit.setWaiState(this.focusNode,"pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_412){dijit.setWaiRole(this.focusNode,_412?"button":"heading");if(_412){dijit.setWaiState(this.focusNode,"controls",this.id+"_pane");dojo.attr(this.focusNode,"tabIndex",this.tabIndex);}else{dojo.removeAttr(this.focusNode,"tabIndex");}this._set("toggleable",_412);this._setCss();},_setContentAttr:function(_413){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _414=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");dojo.replaceClass(node,this._titleBarClass,_414||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==dojo.keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}dojo.stopEvent(e);}else{if(e.charOrCode==dojo.keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_415){dojo.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_415);}});}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_416,_417){var c=document.cookie;if(arguments.length==1){var _418=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(name)+"=([^;]*)"));return _418?decodeURIComponent(_418[1]):undefined;}else{_417=_417||{};var exp=_417.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_417.expires=d;}if(exp&&exp.toUTCString){_417.expires=exp.toUTCString();}_416=encodeURIComponent(_416);var _419=name+"="+_416,_41a;for(_41a in _417){_419+="; "+_41a;var _41b=_417[_41a];if(_41b!==true){_419+="="+_41b;}}document.cookie=_419;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["dijit.form.ToggleButton"]){dojo._hasResource["dijit.form.ToggleButton"]=true;dojo.provide("dijit.form.ToggleButton");}if(!dojo._hasResource["dijit.layout.StackController"]){dojo._hasResource["dijit.layout.StackController"]=true;dojo.provide("dijit.layout.StackController");dojo.declare("dijit.layout.StackController",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"<span role='tablist' dojoAttachEvent='onkeypress' class='dijitStackController'></span>",containerId:"",buttonWidget:"dijit.layout._StackButton",constructor:function(){this.pane2button={};this.pane2connects={};this.pane2watches={};},buildRendering:function(){this.inherited(arguments);dijit.setWaiRole(this.domNode,"tablist");},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");},onStartup:function(info){dojo.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(dijit.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_41c){var cls=dojo.getObject(this.buttonWidget);var _41d=new cls({id:this.id+"_"+page.id,label:page.title,dir:page.dir,lang:page.lang,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip});dijit.setWaiState(_41d.focusNode,"selected","false");var _41e=["title","showTitle","iconClass","closable","tooltip"],_41f=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=dojo.map(_41e,function(_420,idx){return page.watch(_420,function(name,_421,_422){_41d.set(_41f[idx],_422);});});this.pane2connects[page.id]=[this.connect(_41d,"onClick",dojo.hitch(this,"onButtonClick",page)),this.connect(_41d,"onClickCloseButton",dojo.hitch(this,"onCloseButtonClick",page))];this.addChild(_41d,_41c);this.pane2button[page.id]=_41d;page.controlButton=_41d;if(!this._currentChild){_41d.focusNode.setAttribute("tabIndex","0");dijit.setWaiState(_41d.focusNode,"selected","true");this._currentChild=page;}if(!this.isLeftToRight()&&dojo.isIE&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}dojo.forEach(this.pane2connects[page.id],dojo.hitch(this,"disconnect"));delete this.pane2connects[page.id];dojo.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _423=this.pane2button[page.id];if(_423){this.removeChild(_423);delete this.pane2button[page.id];_423.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _424=this.pane2button[this._currentChild.id];_424.set("checked",false);dijit.setWaiState(_424.focusNode,"selected","false");_424.focusNode.setAttribute("tabIndex","-1");}var _425=this.pane2button[page.id];_425.set("checked",true);dijit.setWaiState(_425.focusNode,"selected","true");this._currentChild=page;_425.focusNode.setAttribute("tabIndex","0");var _426=dijit.byId(this.containerId);dijit.setWaiState(_426.containerNode,"labelledby",_425.id);},onButtonClick:function(page){var _427=dijit.byId(this.containerId);_427.selectChild(page);},onCloseButtonClick:function(page){var _428=dijit.byId(this.containerId);_428.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){dijit.focus(b.focusNode||b.domNode);}}},adjacent:function(_429){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_429=!_429;}var _42a=this.getChildren();var _42b=dojo.indexOf(_42a,this.pane2button[this._currentChild.id]);var _42c=_429?1:_42a.length-1;return _42a[(_42b+_42c)%_42a.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _42d=null;if(e.ctrlKey||!e._djpage){var k=dojo.keys;switch(e.charOrCode){case k.LEFT_ARROW:case k.UP_ARROW:if(!e._djpage){_42d=false;}break;case k.PAGE_UP:if(e.ctrlKey){_42d=false;}break;case k.RIGHT_ARROW:case k.DOWN_ARROW:if(!e._djpage){_42d=true;}break;case k.PAGE_DOWN:if(e.ctrlKey){_42d=true;}break;case k.HOME:case k.END:var _42e=this.getChildren();if(_42e&&_42e.length){_42e[e.charOrCode==k.HOME?0:_42e.length-1].onClick();}dojo.stopEvent(e);break;case k.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);break;default:if(e.ctrlKey){if(e.charOrCode===k.TAB){this.adjacent(!e.shiftKey).onClick();dojo.stopEvent(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);}}}}if(_42d!==null){this.adjacent(_42d).onClick();dojo.stopEvent(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});dojo.declare("dijit.layout._StackButton",dijit.form.ToggleButton,{tabIndex:"-1",buildRendering:function(evt){this.inherited(arguments);dijit.setWaiRole((this.focusNode||this.domNode),"tab");},onClick:function(evt){dijit.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});}if(!dojo._hasResource["dijit.layout.StackContainer"]){dojo._hasResource["dijit.layout.StackContainer"]=true;dojo.provide("dijit.layout.StackContainer");dojo.declare("dijit.layout.StackContainer",dijit.layout._LayoutWidget,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitLayoutContainer");dijit.setWaiRole(this.containerNode,"tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _42f=this.getChildren();dojo.forEach(_42f,this._setupChild,this);if(this.persist){this.selectedChildWidget=dijit.byId(dojo.cookie(this.id+"_selectedChild"));}else{dojo.some(_42f,function(_430){if(_430.selected){this.selectedChildWidget=_430;}return _430.selected;},this);}var _431=this.selectedChildWidget;if(!_431&&_42f[0]){_431=this.selectedChildWidget=_42f[0];_431.selected=true;}dojo.publish(this.id+"-startup",[{children:_42f,selected:_431}]);this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _432=this.selectedChildWidget;if(_432){this._showChild(_432);}}this.inherited(arguments);},_setupChild:function(_433){this.inherited(arguments);dojo.replaceClass(_433.domNode,"dijitHidden","dijitVisible");_433.domNode.title="";},addChild:function(_434,_435){this.inherited(arguments);if(this._started){dojo.publish(this.id+"-addChild",[_434,_435]);this.layout();if(!this.selectedChildWidget){this.selectChild(_434);}}},removeChild:function(page){this.inherited(arguments);if(this._started){dojo.publish(this.id+"-removeChild",[page]);}if(this._beingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _436=this.getChildren();if(_436.length){this.selectChild(_436[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_437){page=dijit.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_437);this._set("selectedChildWidget",page);dojo.publish(this.id+"-selectChild",[page]);if(this.persist){dojo.cookie(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_438,_439,_43a){if(_439){this._hideChild(_439);}var d=this._showChild(_438);if(_438.resize){if(this.doLayout){_438.resize(this._containerContentBox||this._contentBox);}else{_438.resize();}}return d;},_adjacent:function(_43b){var _43c=this.getChildren();var _43d=dojo.indexOf(_43c,this.selectedChildWidget);_43d+=_43b?1:_43c.length-1;return _43c[_43d%_43c.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){dojo.publish(this.id+"-containerKeyPress",[{e:e,page:this}]);},layout:function(){if(this.doLayout&&this.selectedChildWidget&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._containerContentBox||this._contentBox);}},_showChild:function(page){var _43e=this.getChildren();page.isFirstChild=(page==_43e[0]);page.isLastChild=(page==_43e[_43e.length-1]);page._set("selected",true);dojo.replaceClass(page.domNode,"dijitVisible","dijitHidden");return page._onShow()||true;},_hideChild:function(page){page._set("selected",false);dojo.replaceClass(page.domNode,"dijitHidden","dijitVisible");page.onHide();},closeChild:function(page){var _43f=page.onClose(this,page);if(_43f){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_440){dojo.forEach(this.getChildren(),function(_441){this.removeChild(_441);_441.destroyRecursive(_440);},this);}});dojo.extend(dijit._Widget,{selected:false,closable:false,iconClass:"",showTitle:true});}if(!dojo._hasResource["dijit.layout._TabContainerBase"]){dojo._hasResource["dijit.layout._TabContainerBase"]=true;dojo.provide("dijit.layout._TabContainerBase");dojo.declare("dijit.layout._TabContainerBase",[dijit.layout.StackContainer,dijit._Templated],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:dojo.cache("dijit.layout","templates/TabContainer.html","<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" dojoAttachPoint=\"tablistNode\"></div>\n\t<div dojoAttachPoint=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" dojoAttachPoint=\"containerNode\"></div>\n</div>\n"),postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&dojo.style(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){dojo.addClass(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){dojo.addClass(this.domNode,"dijitTabContainerNested");dojo.addClass(this.tablist.containerNode,"dijitTabContainerTabListNested");dojo.addClass(this.tablistSpacer,"dijitTabContainerSpacerNested");dojo.addClass(this.containerNode,"dijitTabPaneWrapperNested");}else{dojo.addClass(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){dojo.addClass(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _442=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_442;var _443=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_442},{domNode:this.containerNode,layoutAlign:"client"}];dijit.layout.layoutChildren(this.domNode,this._contentBox,_443);this._containerContentBox=dijit.layout.marginBox2contentBox(this.containerNode,_443[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _444=dojo.contentBox(this.domNode).w;s.width="";this.tablist.resize({w:_444});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.layout.TabController"]){dojo._hasResource["dijit.layout.TabController"]=true;dojo.provide("dijit.layout.TabController");dojo.declare("dijit.layout.TabController",dijit.layout.StackController,{templateString:"<div role='tablist' dojoAttachEvent='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:"dijit.layout._TabButton",_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _445=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_445=Math.max(_445,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_445+"px";}}});dojo.declare("dijit.layout._TabButton",dijit.layout._StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:dojo.cache("dijit.layout","templates/_TabButton.html","<div role=\"presentation\" dojoAttachPoint=\"titleNode\" dojoAttachEvent='onclick:onClick'>\n    <div role=\"presentation\" class='dijitTabInnerDiv' dojoAttachPoint='innerDiv'>\n        <div role=\"presentation\" class='dijitTabContent' dojoAttachPoint='tabContent'>\n        \t<div role=\"presentation\" dojoAttachPoint='focusNode'>\n\t\t        <img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" dojoAttachPoint='iconNode' />\n\t\t        <span dojoAttachPoint='containerNode' class='tabLabel'></span>\n\t\t        <span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" dojoAttachPoint='closeNode'\n\t\t        \t\tdojoAttachEvent='onclick: onClickCloseButton' role=\"presentation\">\n\t\t            <span dojoAttachPoint='closeText' class='dijitTabCloseText'>[x]</span\n\t\t        ></span>\n\t\t\t</div>\n        </div>\n    </div>\n</div>\n"),scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;setTimeout(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);dojo.toggleClass(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _446=dojo.i18n.getLocalization("dijit","common");if(this.closeNode){dojo.attr(this.closeNode,"title",_446.itemClose);}var _446=dojo.i18n.getLocalization("dijit","common");this._closeMenu=new dijit.Menu({id:this.id+"_Menu",dir:this.dir,lang:this.lang,targetNodeIds:[this.domNode]});this._closeMenu.addChild(new dijit.MenuItem({label:_446.itemClose,dir:this.dir,lang:this.lang,onClick:dojo.hitch(this,"onClickCloseButton")}));}else{if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}}},_setLabelAttr:function(_447){this.inherited(arguments);if(this.showLabel==false&&!this.params.title){this.iconNode.alt=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},destroy:function(){if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.layout.ScrollingTabController"]){dojo._hasResource["dijit.layout.ScrollingTabController"]=true;dojo.provide("dijit.layout.ScrollingTabController");dojo.declare("dijit.layout.ScrollingTabController",dijit.layout.TabController,{templateString:dojo.cache("dijit.layout","templates/ScrollingTabController.html","<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div dojoType=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\" containerId=\"${containerId}\" iconClass=\"dijitTabStripMenuIcon\"\n\t\t\tdropDownPosition=\"below-alt, above-alt\"\n\t\t\tdojoAttachPoint=\"_menuBtn\" showLabel=\"false\">&#9660;</div>\n\t<div dojoType=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\" iconClass=\"dijitTabStripSlideLeftIcon\"\n\t\t\tdojoAttachPoint=\"_leftBtn\" dojoAttachEvent=\"onClick: doSlideLeft\" showLabel=\"false\">&#9664;</div>\n\t<div dojoType=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\" iconClass=\"dijitTabStripSlideRightIcon\"\n\t\t\tdojoAttachPoint=\"_rightBtn\" dojoAttachEvent=\"onClick: doSlideRight\" showLabel=\"false\">&#9654;</div>\n\t<div class='dijitTabListWrapper' dojoAttachPoint='tablistWrapper'>\n\t\t<div role='tablist' dojoAttachEvent='onkeypress:onkeypress'\n\t\t\t\tdojoAttachPoint='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>\n"),useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{"class":"containerNode"}),buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";dojo.addClass(n,"tabStrip-disabled");}dojo.addClass(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);dojo.style(this.domNode,"visibility","visible");this._postStartup=true;},onAddChild:function(page,_448){this.inherited(arguments);dojo.forEach(["label","iconClass"],function(attr){this.pane2watches[page.id].push(this.pane2button[page.id].watch(attr,dojo.hitch(this,function(name,_449,_44a){if(this._postStartup&&this._dim){this.resize(this._dim);}})));},this);dojo.style(this.containerNode,"width",(dojo.style(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_44b){var _44c=this.pane2button[page.id];if(this._selectedTab===_44c.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=dojo.query("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=dojo._getMarginSize(btn).w;return true;}else{dojo.style(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _44d=this.getChildren();if(_44d.length){var _44e=_44d[this.isLeftToRight()?0:_44d.length-1].domNode,_44f=_44d[this.isLeftToRight()?_44d.length-1:0].domNode;return _44f.offsetLeft+dojo.style(_44f,"width")-_44e.offsetLeft;}else{return 0;}},_enableBtn:function(_450){var _451=this._getTabsWidth();_450=_450||dojo.style(this.scrollNode,"width");return _451>0&&_450<_451;},resize:function(dim){if(this.domNode.offsetWidth==0){return;}this._dim=dim;this.scrollNode.style.height="auto";this._contentBox=dijit.layout.marginBox2contentBox(this.domNode,{h:0,w:dim.w});this._contentBox.h=this.scrollNode.offsetHeight;dojo.contentBox(this.domNode,this._contentBox);var _452=this._enableBtn(this._contentBox.w);this._buttons.style("display",_452?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";dijit.layout.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var w=this.scrollNode,sl=this._convertToScrollLeft(this._getScrollForSelectedTab());w.scrollLeft=sl;}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){var sl=(this.isLeftToRight()||dojo.isIE<8||(dojo.isIE&&dojo.isQuirks)||dojo.isWebKit)?this.scrollNode.scrollLeft:dojo.style(this.containerNode,"width")-dojo.style(this.scrollNode,"width")+(dojo.isIE==8?-1:1)*this.scrollNode.scrollLeft;return sl;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||dojo.isIE<8||(dojo.isIE&&dojo.isQuirks)||dojo.isWebKit){return val;}else{var _453=dojo.style(this.containerNode,"width")-dojo.style(this.scrollNode,"width");return (dojo.isIE==8?-1:1)*(val-_453);}},onSelectChild:function(page){var tab=this.pane2button[page.id];if(!tab||!page){return;}var node=tab.domNode;if(this._postResize&&node!=this._selectedTab){this._selectedTab=node;var sl=this._getScroll();if(sl>node.offsetLeft||sl+dojo.style(this.scrollNode,"width")<node.offsetLeft+dojo.style(node,"width")){this.createSmoothScroll().play();}}this.inherited(arguments);},_getScrollBounds:function(){var _454=this.getChildren(),_455=dojo.style(this.scrollNode,"width"),_456=dojo.style(this.containerNode,"width"),_457=_456-_455,_458=this._getTabsWidth();if(_454.length&&_458>_455){return {min:this.isLeftToRight()?0:_454[_454.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_454[_454.length-1].domNode.offsetLeft+dojo.style(_454[_454.length-1].domNode,"width"))-_455:_457};}else{var _459=this.isLeftToRight()?0:_457;return {min:_459,max:_459};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_45a=dojo.style(this.scrollNode,"width"),_45b=this._getScrollBounds();var pos=(n.offsetLeft+dojo.style(n,"width")/2)-_45a/2;pos=Math.min(Math.max(pos,_45b.min),_45b.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _45c=this._getScrollBounds();x=Math.min(Math.max(x,_45c.min),_45c.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new dojo._Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new dojo._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!dojo.hasClass(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_45d,node){if(node&&dojo.hasClass(node,"dijitTabDisabled")){return;}var _45e=dojo.style(this.scrollNode,"width");var d=(_45e*0.75)*_45d;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_45f){var _460=this._getScrollBounds();this._leftBtn.set("disabled",_45f<=_460.min);this._rightBtn.set("disabled",_45f>=_460.max);}});dojo.declare("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:dojo.cache("dijit.layout","templates/_ScrollingTabControllerButton.html","<div dojoAttachEvent=\"onclick:_onButtonClick\">\n\t<div role=\"presentation\" class=\"dijitTabInnerDiv\" dojoattachpoint=\"innerDiv,focusNode\">\n\t\t<div role=\"presentation\" class=\"dijitTabContent dijitButtonContents\" dojoattachpoint=\"tabContent\">\n\t\t\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" dojoAttachPoint=\"iconNode\"/>\n\t\t\t<span dojoAttachPoint=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n\t\t</div>\n\t</div>\n</div>\n"),tabIndex:"",isFocusable:function(){return false;}});dojo.declare("dijit.layout._ScrollingTabControllerButton",[dijit.form.Button,dijit.layout._ScrollingTabControllerButtonMixin]);dojo.declare("dijit.layout._ScrollingTabControllerMenuButton",[dijit.form.Button,dijit._HasDropDown,dijit.layout._ScrollingTabControllerButtonMixin],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_461){this.dropDown=new dijit.Menu({id:this.containerId+"_menu",dir:this.dir,lang:this.lang});var _462=dijit.byId(this.containerId);dojo.forEach(_462.getChildren(),function(page){var _463=new dijit.MenuItem({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,dir:page.dir,lang:page.lang,onClick:function(){_462.selectChild(page);}});this.dropDown.addChild(_463);},this);_461();},closeDropDown:function(_464){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});}if(!dojo._hasResource["dijit.layout.TabContainer"]){dojo._hasResource["dijit.layout.TabContainer"]=true;dojo.provide("dijit.layout.TabContainer");dojo.declare("dijit.layout.TabContainer",dijit.layout._TabContainerBase,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_465){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_466=dojo.getObject(this.controllerWidget);return new _466({id:this.id+"_tablist",dir:this.dir,lang:this.lang,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_465);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?"dijit.layout.ScrollingTabController":"dijit.layout.TabController";}}});}if(!dojo._hasResource["dojo.data.ItemFileReadStore"]){dojo._hasResource["dojo.data.ItemFileReadStore"]=true;dojo.provide("dojo.data.ItemFileReadStore");dojo.declare("dojo.data.ItemFileReadStore",null,{constructor:function(_467){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_467.url;this._ccUrl=_467.url;this.url=_467.url;this._jsonData=_467.data;this.data=null;this._datatypeMap=_467.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_468){return dojo.date.stamp.fromISOString(_468);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_467.urlPreventCache!==undefined){this.urlPreventCache=_467.urlPreventCache?true:false;}if(_467.hierarchical!==undefined){this.hierarchical=_467.hierarchical?true:false;}if(_467.clearOnClose){this.clearOnClose=true;}if("failOk" in _467){this.failOk=_467.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");}},_assertIsAttribute:function(_469){if(typeof _469!=="string"){throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");}},getValue:function(item,_46a,_46b){var _46c=this.getValues(item,_46a);return (_46c.length>0)?_46c[0]:_46b;},getValues:function(item,_46d){this._assertIsItem(item);this._assertIsAttribute(_46d);return (item[_46d]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _46e=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_46e.push(key);}}return _46e;},hasAttribute:function(item,_46f){this._assertIsItem(item);this._assertIsAttribute(_46f);return (_46f in item);},containsValue:function(item,_470,_471){var _472=undefined;if(typeof _471==="string"){_472=dojo.data.util.filter.patternToRegExp(_471,false);}return this._containsValue(item,_470,_471,_472);},_containsValue:function(item,_473,_474,_475){return dojo.some(this.getValues(item,_473),function(_476){if(_476!==null&&!dojo.isObject(_476)&&_475){if(_476.toString().match(_475)){return true;}}else{if(_474===_476){return true;}}});},isItem:function(_477){if(_477&&_477[this._storeRefPropName]===this){if(this._arrayOfAllItems[_477[this._itemNumPropName]]===_477){return true;}}return false;},isItemLoaded:function(_478){return this.isItem(_478);},loadItem:function(_479){this._assertIsItem(_479.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_47a,_47b,_47c){var self=this,_47d=function(_47e,_47f){var _480=[],i,key;if(_47e.query){var _481,_482=_47e.queryOptions?_47e.queryOptions.ignoreCase:false;var _483={};for(key in _47e.query){_481=_47e.query[key];if(typeof _481==="string"){_483[key]=dojo.data.util.filter.patternToRegExp(_481,_482);}else{if(_481 instanceof RegExp){_483[key]=_481;}}}for(i=0;i<_47f.length;++i){var _484=true;var _485=_47f[i];if(_485===null){_484=false;}else{for(key in _47e.query){_481=_47e.query[key];if(!self._containsValue(_485,key,_481,_483[key])){_484=false;}}}if(_484){_480.push(_485);}}_47b(_480,_47e);}else{for(i=0;i<_47f.length;++i){var item=_47f[i];if(item!==null){_480.push(item);}}_47b(_480,_47e);}};if(this._loadFinished){_47d(_47a,this._getItemsArray(_47a.queryOptions));}else{if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_47a,filter:_47d});}else{this._loadInProgress=true;var _486={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _487=dojo.xhrGet(_486);_487.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;_47d(_47a,self._getItemsArray(_47a.queryOptions));self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_47c(e,_47a);}});_487.addErrback(function(_488){self._loadInProgress=false;_47c(_488,_47a);});var _489=null;if(_47a.abort){_489=_47a.abort;}_47a.abort=function(){var df=_487;if(df&&df.fired===-1){df.cancel();df=null;}if(_489){_489.call(_47a);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_47d(_47a,this._getItemsArray(_47a.queryOptions));}catch(e){_47c(e,_47a);}}else{_47c(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_47a);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _48a=this._queuedFetches[i],_48b=_48a.args,_48c=_48a.filter;if(_48c){_48c(_48b,this._getItemsArray(_48b.queryOptions));}else{this.fetchItemByIdentity(_48b);}}this._queuedFetches=[];}},_getItemsArray:function(_48d){if(_48d&&_48d.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_48e){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_48f){var _490=false,self=this;function _491(_492){var _493=((_492!==null)&&(typeof _492==="object")&&(!dojo.isArray(_492)||_490)&&(!dojo.isFunction(_492))&&(_492.constructor==Object||dojo.isArray(_492))&&(typeof _492._reference==="undefined")&&(typeof _492._type==="undefined")&&(typeof _492._value==="undefined")&&self.hierarchical);return _493;};function _494(_495){self._arrayOfAllItems.push(_495);for(var _496 in _495){var _497=_495[_496];if(_497){if(dojo.isArray(_497)){var _498=_497;for(var k=0;k<_498.length;++k){var _499=_498[k];if(_491(_499)){_494(_499);}}}else{if(_491(_497)){_494(_497);}}}}};this._labelAttr=_48f.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_48f.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(dojo.isArray(item)){_490=true;}_494(item);item[this._rootItemPropName]=true;}var _49a={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _49b=item[key];if(_49b!==null){if(!dojo.isArray(_49b)){item[key]=[_49b];}}else{item[key]=[null];}}_49a[key]=key;}}while(_49a[this._storeRefPropName]){this._storeRefPropName+="_";}while(_49a[this._itemNumPropName]){this._itemNumPropName+="_";}while(_49a[this._reverseRefMap]){this._reverseRefMap+="_";}var _49c;var _49d=_48f.identifier;if(_49d){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_49d;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_49c=item[_49d];var _49e=_49c[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_49e)){this._itemsByIdentity[_49e]=item;}else{if(this._jsonFileUrl){throw new Error("dojo.data.ItemFileReadStore:  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_49d+"].  Value collided: ["+_49e+"]");}else{if(this._jsonData){throw new Error("dojo.data.ItemFileReadStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_49d+"].  Value collided: ["+_49e+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_49c=item[key];for(var j=0;j<_49c.length;++j){_49b=_49c[j];if(_49b!==null&&typeof _49b=="object"){if(("_type" in _49b)&&("_value" in _49b)){var type=_49b._type;var _49f=this._datatypeMap[type];if(!_49f){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(dojo.isFunction(_49f)){_49c[j]=new _49f(_49b._value);}else{if(dojo.isFunction(_49f.deserialize)){_49c[j]=_49f.deserialize(_49b._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_49b._reference){var _4a0=_49b._reference;if(!dojo.isObject(_4a0)){_49c[j]=this._getItemByIdentity(_4a0);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _4a1=this._arrayOfAllItems[k],_4a2=true;for(var _4a3 in _4a0){if(_4a1[_4a3]!=_4a0[_4a3]){_4a2=false;}}if(_4a2){_49c[j]=_4a1;}}}if(this.referenceIntegrity){var _4a4=_49c[j];if(this.isItem(_4a4)){this._addReferenceToMap(_4a4,item,key);}}}else{if(this.isItem(_49b)){if(this.referenceIntegrity){this._addReferenceToMap(_49b,item,key);}}}}}}}},_addReferenceToMap:function(_4a5,_4a6,_4a7){},getIdentity:function(item){var _4a8=this._features["dojo.data.api.Identity"];if(_4a8===Number){return item[this._itemNumPropName];}else{var _4a9=item[_4a8];if(_4a9){return _4a9[0];}}return null;},fetchItemByIdentity:function(_4aa){var item,_4ab;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_4aa});}else{this._loadInProgress=true;var _4ac={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _4ad=dojo.xhrGet(_4ac);_4ad.addCallback(function(data){var _4ae=_4aa.scope?_4aa.scope:dojo.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_4aa.identity);if(_4aa.onItem){_4aa.onItem.call(_4ae,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_4aa.onError){_4aa.onError.call(_4ae,error);}}});_4ad.addErrback(function(_4af){self._loadInProgress=false;if(_4aa.onError){var _4b0=_4aa.scope?_4aa.scope:dojo.global;_4aa.onError.call(_4b0,_4af);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_4aa.identity);if(_4aa.onItem){_4ab=_4aa.scope?_4aa.scope:dojo.global;_4aa.onItem.call(_4ab,item);}}}}else{item=this._getItemByIdentity(_4aa.identity);if(_4aa.onItem){_4ab=_4aa.scope?_4aa.scope:dojo.global;_4aa.onItem.call(_4ab,item);}}},_getItemByIdentity:function(_4b1){var item=null;if(this._itemsByIdentity&&Object.hasOwnProperty.call(this._itemsByIdentity,_4b1)){item=this._itemsByIdentity[_4b1];}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_4b1)){item=this._arrayOfAllItems[_4b1];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _4b2=this._features["dojo.data.api.Identity"];if(_4b2===Number){return null;}else{return [_4b2];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _4b3={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _4b4=dojo.xhrGet(_4b3);_4b4.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error("dojo.data.ItemFileReadStore:  Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_4b4.addErrback(function(_4b5){throw _4b5;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});dojo.extend(dojo.data.ItemFileReadStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.getObject("dnd",true,dojo);dojo.dnd.getCopyKeyState=dojo.isCopyKey;dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.getObject("dnd",true,dojo);dojo.dnd.getViewport=dojo.window.getBox;dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.window.getBox(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo.position(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft;ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _4b6=n.scrollLeft,_4b7=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_4b6!=n.scrollLeft||_4b7!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);var pos=e.touches?e.touches[0]:e;this.marginBox={l:pos.pageX,t:pos.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[dojo.connect(d,"onmousemove",this,"onFirstMove"),dojo.connect(d,"ontouchmove",this,"onFirstMove"),dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"ontouchmove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ontouchend",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,pos=e.touches?e.touches[0]:e;this.host.onMove(this,{l:m.l+pos.pageX,t:m.t+pos.pageY},e);dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}dojo.disconnect(this.events.shift());dojo.disconnect(this.events.shift());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_4b8){this.node=dojo.byId(node);if(!_4b8){_4b8={};}this.handle=_4b8.handle?dojo.byId(_4b8.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_4b8.delay>0?_4b8.delay:0;this.skip=_4b8.skip;this.mover=_4b8.mover?_4b8.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ontouchstart",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_4b9,node){return new dojo.dnd.Moveable(node,_4b9);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"ontouchmove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"),dojo.connect(this.handle,"ontouchend",this,"onMouseUp"));var pos=e.touches?e.touches[0]:e;this._lastX=pos.pageX;this._lastY=pos.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){var pos=e.touches?e.touches[0]:e;if(Math.abs(pos.pageX-this._lastX)>this.delay||Math.abs(pos.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_4ba){dojo.publish("/dnd/move/start",[_4ba]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_4bb){dojo.publish("/dnd/move/stop",[_4bb]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_4bc,e){},onMove:function(_4bd,_4be,e){this.onMoving(_4bd,_4be);var s=_4bd.node.style;s.left=_4be.l+"px";s.top=_4be.t+"px";this.onMoved(_4bd,_4be);},onMoving:function(_4bf,_4c0){},onMoved:function(_4c1,_4c2){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_4c3,node){return new dojo.dnd.move.constrainedMoveable(node,_4c3);},constructor:function(node,_4c4){if(!_4c4){_4c4={};}this.constraints=_4c4.constraints;this.within=_4c4.within;},onFirstMove:function(_4c5){var c=this.constraintBox=this.constraints.call(this,_4c5);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_4c5.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_4c6,_4c7){var c=this.constraintBox,s=_4c6.node.style;this.onMoving(_4c6,_4c7);_4c7.l=_4c7.l<c.l?c.l:c.r<_4c7.l?c.r:_4c7.l;_4c7.t=_4c7.t<c.t?c.t:c.b<_4c7.t?c.b:_4c7.t;s.left=_4c7.l+"px";s.top=_4c7.t+"px";this.onMoved(_4c6,_4c7);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_4c8,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_4c8);},constructor:function(node,_4c9){var box=_4c9&&_4c9.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_4ca,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_4ca);},constructor:function(node,_4cb){var area=_4cb&&_4cb.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _4cc=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_4cd){if(!_4cd){_4cd={};}if(_4cd.timeout&&typeof _4cd.timeout=="number"&&_4cd.timeout>=0){this.timeout=_4cd.timeout;}},markupFactory:function(_4ce,node){return new dojo.dnd.TimedMoveable(node,_4ce);},onMoveStop:function(_4cf){if(_4cf._timer){clearTimeout(_4cf._timer);_4cc.call(this,_4cf,_4cf._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_4d0,_4d1){_4d0._leftTop=_4d1;if(!_4d0._timer){var _4d2=this;_4d0._timer=setTimeout(function(){_4d0._timer=null;_4cc.call(_4d2,_4d0,_4d0._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dijit.form._FormMixin"]){dojo._hasResource["dijit.form._FormMixin"]=true;dojo.provide("dijit.form._FormMixin");dojo.declare("dijit.form._FormMixin",null,{state:"",reset:function(){dojo.forEach(this.getDescendants(),function(_4d3){if(_4d3.reset){_4d3.reset();}});},validate:function(){var _4d4=false;return dojo.every(dojo.map(this.getDescendants(),function(_4d5){_4d5._hasBeenBlurred=true;var _4d6=_4d5.disabled||!_4d5.validate||_4d5.validate();if(!_4d6&&!_4d4){dojo.window.scrollIntoView(_4d5.containerNode||_4d5.domNode);_4d5.focus();_4d4=true;}return _4d6;}),function(item){return item;});},setValues:function(val){dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_4d7){if(!_4d7.name){return;}var _4d8=map[_4d7.name]||(map[_4d7.name]=[]);_4d8.push(_4d7);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _4d9=map[name],_4da=dojo.getObject(name,false,obj);if(_4da===undefined){continue;}if(!dojo.isArray(_4da)){_4da=[_4da];}if(typeof _4d9[0].checked=="boolean"){dojo.forEach(_4d9,function(w,i){w.set("value",dojo.indexOf(_4da,w.value)!=-1);});}else{if(_4d9[0].multiple){_4d9[0].set("value",_4da);}else{dojo.forEach(_4d9,function(w,i){w.set("value",_4da[i]);});}}}},getValues:function(){dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};dojo.forEach(this.getDescendants(),function(_4db){var name=_4db.name;if(!name||_4db.disabled){return;}var _4dc=_4db.get("value");if(typeof _4db.checked=="boolean"){if(/Radio/.test(_4db.declaredClass)){if(_4dc!==false){dojo.setObject(name,_4dc,obj);}else{_4dc=dojo.getObject(name,false,obj);if(_4dc===undefined){dojo.setObject(name,null,obj);}}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_4dc!==false){ary.push(_4dc);}}}else{var prev=dojo.getObject(name,false,obj);if(typeof prev!="undefined"){if(dojo.isArray(prev)){prev.push(_4dc);}else{dojo.setObject(name,[prev,_4dc],obj);}}else{dojo.setObject(name,_4dc,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(_4dd){},_getState:function(){var _4de=dojo.map(this._descendants,function(w){return w.get("state")||"";});return dojo.indexOf(_4de,"Error")>=0?"Error":dojo.indexOf(_4de,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){dojo.forEach(this._childConnections||[],dojo.hitch(this,"disconnect"));dojo.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_4df){var _4e0=this;this.disconnectChildren();this._descendants=this.getDescendants();var set=_4df?function(name,val){_4e0[name]=val;}:dojo.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _4e1=(this._childConnections=[]),_4e2=(this._childWatches=[]);dojo.forEach(dojo.filter(this._descendants,function(item){return item.validate;}),function(_4e3){dojo.forEach(["state","disabled"],function(attr){_4e2.push(_4e3.watch(attr,function(attr,_4e4,_4e5){_4e0.set("state",_4e0._getState());}));});});var _4e6=function(){if(_4e0._onChangeDelayTimer){clearTimeout(_4e0._onChangeDelayTimer);}_4e0._onChangeDelayTimer=setTimeout(function(){delete _4e0._onChangeDelayTimer;_4e0._set("value",_4e0.get("value"));},10);};dojo.forEach(dojo.filter(this._descendants,function(item){return item.onChange;}),function(_4e7){_4e1.push(_4e0.connect(_4e7,"onChange",_4e6));_4e2.push(_4e7.watch("disabled",_4e6));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_4e8,_4e9){this.onValidStateChange(_4e9=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});}if(!dojo._hasResource["dijit._DialogMixin"]){dojo._hasResource["dijit._DialogMixin"]=true;dojo.provide("dijit._DialogMixin");dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_4ea){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _4eb=dijit._getTabNavigable(this.containerNode);this._firstFocusItem=_4eb.lowest||_4eb.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_4eb.last||_4eb.highest||this._firstFocusItem;}});}if(!dojo._hasResource["dijit.DialogUnderlay"]){dojo._hasResource["dijit.DialogUnderlay"]=true;dojo.provide("dijit.DialogUnderlay");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){dojo.attr(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_4ec){this.node.className="dijitDialogUnderlay "+_4ec;this._set("class",_4ec);},postCreate:function(){dojo.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _4ed=dojo.window.getBox();os.top=_4ed.t+"px";os.left=_4ed.l+"px";is.width=_4ed.w+"px";is.height=_4ed.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new dijit.BackgroundIframe(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});}if(!dojo._hasResource["dijit.TooltipDialog"]){dojo._hasResource["dijit.TooltipDialog"]=true;dojo.provide("dijit.TooltipDialog");dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:dojo.cache("dijit","templates/TooltipDialog.html","<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n"),_setTitleAttr:function(_4ee){this.containerNode.title=_4ee;this._set("title",_4ee);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4ef,_4f0){var newC="dijitTooltipAB"+(_4f0.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4f0.charAt(0)=="T"?"Below":"Above");dojo.replaceClass(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);dijit.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _4f1=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){setTimeout(dojo.hitch(this,"onCancel"),0);dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4f1){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4f1){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit._DialogBase",[dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/Dialog.html","<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"),baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],"aria-describedby":""}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _4f2=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_4f2);this.inherited(arguments);},postCreate:function(){dojo.style(this.domNode,{display:"none",position:"absolute"});dojo.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&dijit._DialogLevelManager.isTop(this)){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){this._relativePosition=dojo.position(e.node);}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});this._dndListener=dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{dojo.style(this.containerNode,{width:"auto",height:"auto"});}var mb=dojo._getMarginSize(this.domNode);var _4f3=dojo.window.getBox();if(mb.w>=_4f3.w||mb.h>=_4f3.h){var w=Math.min(mb.w,Math.floor(_4f3.w*0.75)),h=Math.min(mb.h,Math.floor(_4f3.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{dojo.style(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode,_4f4=dojo.window.getBox(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(node),l=Math.floor(_4f4.l+(p?p.x:(_4f4.w-bb.w)/2)),t=Math.floor(_4f4.t+(p?p.y:(_4f4.h-bb.h)/2));dojo.style(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.domNode);}var _4f5=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4f5){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4f5){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode||dojo.hasClass(node,"dijitPopup")){if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==dk.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();dijit._DialogLevelManager.hide(this);}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(window,"onresize",this,function(){var _4f6=dojo.window.getBox();if(!this._oldViewport||_4f6.h!=this._oldViewport.h||_4f6.w!=this._oldViewport.w){this.layout();this._oldViewport=_4f6;}}));this._modalconnects.push(dojo.connect(this.domNode,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _4f7;this._fadeInDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4f7.stop();delete this._fadeInDeferred;}));_4f7=dojo.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:dojo.hitch(this,function(){dijit._DialogLevelManager.show(this,this.underlayAttrs);}),onEnd:dojo.hitch(this,function(){if(this.autofocus&&dijit._DialogLevelManager.isTop(this)){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _4f8;this._fadeOutDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4f8.stop();delete this._fadeOutDeferred;}));_4f8=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,function(){this.domNode.style.display="none";dijit._DialogLevelManager.hide(this);this.onHide();this._fadeOutDeferred.callback(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},layout:function(){if(this.domNode.style.display!="none"){if(dijit._underlay){dijit._underlay.layout();}this._position();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}if(this._dndListener){dojo.unsubscribe(this._dndListener);}dojo.forEach(this._modalconnects,dojo.disconnect);dijit._DialogLevelManager.hide(this);this.inherited(arguments);}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._DialogBase],{});dijit._DialogLevelManager={show:function(_4f9,_4fa){var ds=dijit._dialogStack;ds[ds.length-1].focus=dijit.getFocus(_4f9);var _4fb=dijit._underlay;if(!_4fb||_4fb._destroyed){_4fb=dijit._underlay=new dijit.DialogUnderlay(_4fa);}else{_4fb.set(_4f9.underlayAttrs);}var _4fc=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:950;if(ds.length==1){_4fb.show();}dojo.style(dijit._underlay.domNode,"zIndex",_4fc-1);dojo.style(_4f9.domNode,"zIndex",_4fc);ds.push({dialog:_4f9,underlayAttrs:_4fa,zIndex:_4fc});},hide:function(_4fd){var ds=dijit._dialogStack;if(ds[ds.length-1].dialog==_4fd){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!dijit._underlay._destroyed){dijit._underlay.hide();}}else{dojo.style(dijit._underlay.domNode,"zIndex",pd.zIndex-1);dijit._underlay.set(pd.underlayAttrs);}if(_4fd.refocus){var _4fe=pd.focus;if(!_4fe||(pd.dialog&&!dojo.isDescendant(_4fe.node,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_4fe=pd.dialog._firstFocusItem;}try{dijit.focus(_4fe);}catch(e){}}}else{var idx=dojo.indexOf(dojo.map(ds,function(elem){return elem.dialog;}),_4fd);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_4ff){var ds=dijit._dialogStack;return ds[ds.length-1].dialog==_4ff;}};dijit._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];}dojo.i18n._preloadLocalizations("dojo.nls.vclVirtualHosts",["ROOT","en","en-gb","en-us","es","es-es","es-mx","ja","ja-jp","xx","zh","zh-cn"]);
