vendor/assets/javascripts/dijit/dijit.js in dijit-rails-0.11.0 vs vendor/assets/javascripts/dijit/dijit.js in dijit-rails-0.14.0

- old
+ new

@@ -1,7 +1,7 @@ /* - Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. + 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 */ /* @@ -10,6 +10,6 @@ http://dojotoolkit.org */ //>>built -require({cache:{"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_ie":ie,"dj_ie6":_8(ie)==6,"dj_ie7":_8(ie)==7,"dj_ie8":_8(ie)==8,"dj_ie9":_8(ie)==9,"dj_quirks":_4("quirks"),"dj_iequirks":ie&&_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla"),"dj_ff3":_8(ff)==3};_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_e,_f,_10,win){_10(90,function(){if(_f("highcontrast")){_e.add(win.body(),"dijit_a11y");}});return _f;});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_11,_12){return _11("dijit._Contained",null,{_getSibling:function(_13){var _14=this.domNode;do{_14=_14[_13+"Sibling"];}while(_14&&_14.nodeType!=1);return _14&&_12.byNode(_14);},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);}});});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_15,on,_16,has,win,_17){var _18=new _15();_16(200,function(){var _19=_17.getBox();_18._rlh=on(win.global,"resize",function(){var _1a=_17.getBox();if(_19.h==_1a.h&&_19.w==_1a.w){return;}_19=_1a;_18.emit("resize");});if(has("ie")==8){var _1b=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_1b){_1b=screen.deviceXDPI;_18.emit("resize");}},500);}});return _18;});},"dojo/parser":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1c,_1d,_1e,_1f,_20,_21,_22,_23,_24,_25,_26,has,_27,don,_28){new Date("X");var _29=0;_24.after(_1d,"extend",function(){_29++;},true);function _2a(_2b){var map=_2b._nameCaseMap,_2c=_2b.prototype;if(!map||map._extendCnt<_29){map=_2b._nameCaseMap={};for(var _2d in _2c){if(_2d.charAt(0)==="_"){continue;}map[_2d.toLowerCase()]=_2d;}map._extendCnt=_29;}return map;};var _2e={};function _2f(_30){var ts=_30.join();if(!_2e[ts]){var _31=[];for(var i=0,l=_30.length;i<l;i++){var t=_30[i];_31[_31.length]=(_2e[t]=_2e[t]||(_1d.getObject(t)||(~t.indexOf("/")&&require(t))));}var _32=_31.shift();_2e[ts]=_31.length?(_32.createSubclass?_32.createSubclass(_31):_32.extend.apply(_32,_31)):_32;}return _2e[ts];};var _33={_clearCache:function(){_29++;_2e={};},_functionFromScript:function(_34,_35){var _36="",_37="",_38=(_34.getAttribute(_35+"args")||_34.getAttribute("args")),_39=_34.getAttribute("with");var _3a=(_38||"").split(/\s*,\s*/);if(_39&&_39.length){_1e.forEach(_39.split(/\s*,\s*/),function(_3b){_36+="with("+_3b+"){";_37+="}";});}return new Function(_3a,_36+_34.innerHTML+_37);},instantiate:function(_3c,_3d,_3e){_3d=_3d||{};_3e=_3e||{};var _3f=(_3e.scope||_1c._scopeName)+"Type",_40="data-"+(_3e.scope||_1c._scopeName)+"-",_41=_40+"type",_42=_40+"mixins";var _43=[];_1e.forEach(_3c,function(_44){var _45=_3f in _3d?_3d[_3f]:_44.getAttribute(_41)||_44.getAttribute(_3f);if(_45){var _46=_44.getAttribute(_42),_47=_46?[_45].concat(_46.split(/\s*,\s*/)):[_45];_43.push({node:_44,types:_47});}});return this._instantiate(_43,_3d,_3e);},_instantiate:function(_48,_49,_4a){var _4b=_1e.map(_48,function(obj){var _4c=obj.ctor||_2f(obj.types);if(!_4c){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_4c,obj.node,_49,_4a,obj.scripts,obj.inherited);},this);if(!_49._started&&!_4a.noStart){_1e.forEach(_4b,function(_4d){if(typeof _4d.startup==="function"&&!_4d._started){_4d.startup();}});}return _4b;},construct:function(_4e,_4f,_50,_51,_52,_53){var _54=_4e&&_4e.prototype;_51=_51||{};var _55={};if(_51.defaults){_1d.mixin(_55,_51.defaults);}if(_53){_1d.mixin(_55,_53);}var _56;if(has("dom-attributes-explicit")){_56=_4f.attributes;}else{if(has("dom-attributes-specified-flag")){_56=_1e.filter(_4f.attributes,function(a){return a.specified;});}else{var _57=/^input$|^img$/i.test(_4f.nodeName)?_4f:_4f.cloneNode(false),_58=_57.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_56=_1e.map(_58.split(/\s+/),function(_59){var _5a=_59.toLowerCase();return {name:_59,value:(_4f.nodeName=="LI"&&_59=="value")||_5a=="enctype"?_4f.getAttribute(_5a):_4f.getAttributeNode(_5a).value};});}}var _5b=_51.scope||_1c._scopeName,_5c="data-"+_5b+"-",_5d={};if(_5b!=="dojo"){_5d[_5c+"props"]="data-dojo-props";_5d[_5c+"type"]="data-dojo-type";_5d[_5c+"mixins"]="data-dojo-mixins";_5d[_5b+"type"]="dojoType";_5d[_5c+"id"]="data-dojo-id";}var i=0,_5e,_5f=[],_60,_61;while(_5e=_56[i++]){var _62=_5e.name,_63=_62.toLowerCase(),_64=_5e.value;switch(_5d[_63]||_63){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_61=_64;break;case "data-dojo-id":case "jsid":_60=_64;break;case "data-dojo-attach-point":case "dojoattachpoint":_55.dojoAttachPoint=_64;break;case "data-dojo-attach-event":case "dojoattachevent":_55.dojoAttachEvent=_64;break;case "class":_55["class"]=_4f.className;break;case "style":_55["style"]=_4f.style&&_4f.style.cssText;break;default:if(!(_62 in _54)){var map=_2a(_4e);_62=map[_63]||_62;}if(_62 in _54){switch(typeof _54[_62]){case "string":_55[_62]=_64;break;case "number":_55[_62]=_64.length?Number(_64):NaN;break;case "boolean":_55[_62]=_64.toLowerCase()!="false";break;case "function":if(_64===""||_64.search(/[^\w\.]+/i)!=-1){_55[_62]=new Function(_64);}else{_55[_62]=_1d.getObject(_64,false)||new Function(_64);}_5f.push(_62);break;default:var _65=_54[_62];_55[_62]=(_65&&"length" in _65)?(_64?_64.split(/\s*,\s*/):[]):(_65 instanceof Date)?(_64==""?new Date(""):_64=="now"?new Date():_25.fromISOString(_64)):(_65 instanceof _22)?(_1c.baseUrl+_64):_23.fromJson(_64);}}else{_55[_62]=_64;}}}for(var j=0;j<_5f.length;j++){var _66=_5f[j].toLowerCase();_4f.removeAttribute(_66);_4f[_66]=null;}if(_61){try{_61=_23.fromJson.call(_51.propsThis,"{"+_61+"}");_1d.mixin(_55,_61);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_61+"'");}}_1d.mixin(_55,_50);if(!_52){_52=(_4e&&(_4e._noScript||_54._noScript)?[]:_27("> script[type^='dojo/']",_4f));}var _67=[],_68=[],_69=[],ons=[];if(_52){for(i=0;i<_52.length;i++){var _6a=_52[i];_4f.removeChild(_6a);var _6b=(_6a.getAttribute(_5c+"event")||_6a.getAttribute("event")),_6c=_6a.getAttribute(_5c+"prop"),_6d=_6a.getAttribute(_5c+"method"),_6e=_6a.getAttribute(_5c+"advice"),_6f=_6a.getAttribute("type"),nf=this._functionFromScript(_6a,_5c);if(_6b){if(_6f=="dojo/connect"){_67.push({method:_6b,func:nf});}else{if(_6f=="dojo/on"){ons.push({event:_6b,func:nf});}else{_55[_6b]=nf;}}}else{if(_6f=="dojo/aspect"){_67.push({method:_6d,advice:_6e,func:nf});}else{if(_6f=="dojo/watch"){_69.push({prop:_6c,func:nf});}else{_68.push(nf);}}}}}var _70=_4e.markupFactory||_54.markupFactory;var _71=_70?_70(_55,_4f,_4e):new _4e(_55,_4f);if(_60){_1d.setObject(_60,_71);}for(i=0;i<_67.length;i++){_24[_67[i].advice||"after"](_71,_67[i].method,_1d.hitch(_71,_67[i].func),true);}for(i=0;i<_68.length;i++){_68[i].call(_71);}for(i=0;i<_69.length;i++){_71.watch(_69[i].prop,_69[i].func);}for(i=0;i<ons.length;i++){don(_71,ons[i].event,ons[i].func);}return _71;},scan:function(_72,_73){var _74=[],_75=[],_76={};var _77=(_73.scope||_1c._scopeName)+"Type",_78="data-"+(_73.scope||_1c._scopeName)+"-",_79=_78+"type",_7a=_78+"textdir",_7b=_78+"mixins";var _7c=_72.firstChild;var _7d=_73.inherited;if(!_7d){function _7e(_7f,_80){return (_7f.getAttribute&&_7f.getAttribute(_80))||(_7f.parentNode&&_7e(_7f.parentNode,_80));};_7d={dir:_7e(_72,"dir"),lang:_7e(_72,"lang"),textDir:_7e(_72,_7a)};for(var key in _7d){if(!_7d[key]){delete _7d[key];}}}var _81={inherited:_7d};var _82;var _83;function _84(_85){if(!_85.inherited){_85.inherited={};var _86=_85.node,_87=_84(_85.parent);var _88={dir:_86.getAttribute("dir")||_87.dir,lang:_86.getAttribute("lang")||_87.lang,textDir:_86.getAttribute(_7a)||_87.textDir};for(var key in _88){if(_88[key]){_85.inherited[key]=_88[key];}}}return _85.inherited;};while(true){if(!_7c){if(!_81||!_81.node){break;}_7c=_81.node.nextSibling;_82=_81.scripts;_83=false;_81=_81.parent;continue;}if(_7c.nodeType!=1){_7c=_7c.nextSibling;continue;}if(_82&&_7c.nodeName.toLowerCase()=="script"){_89=_7c.getAttribute("type");if(_89&&/^dojo\/\w/i.test(_89)){_82.push(_7c);}_7c=_7c.nextSibling;continue;}if(_83){_7c=_7c.nextSibling;continue;}var _89=_7c.getAttribute(_79)||_7c.getAttribute(_77);var _8a=_7c.firstChild;if(!_89&&(!_8a||(_8a.nodeType==3&&!_8a.nextSibling))){_7c=_7c.nextSibling;continue;}var _8b;var _8c=null;if(_89){var _8d=_7c.getAttribute(_7b),_8e=_8d?[_89].concat(_8d.split(/\s*,\s*/)):[_89];try{_8c=_2f(_8e);}catch(e){}if(!_8c){_1e.forEach(_8e,function(t){if(~t.indexOf("/")&&!_76[t]){_76[t]=true;_75[_75.length]=t;}});}var _8f=_8c&&!_8c.prototype._noScript?[]:null;_8b={types:_8e,ctor:_8c,parent:_81,node:_7c,scripts:_8f};_8b.inherited=_84(_8b);_74.push(_8b);}else{_8b={node:_7c,scripts:_82,parent:_81};}_7c=_8a;_82=_8f;_83=_8c&&_8c.prototype.stopParser&&!(_73.template);_81=_8b;}var d=new _26();if(_75.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_75.join(", "));}require(_75,function(){d.resolve(_1e.filter(_74,function(_90){if(!_90.ctor){try{_90.ctor=_2f(_90.types);}catch(e){}}var _91=_90.parent;while(_91&&!_91.types){_91=_91.parent;}var _92=_90.ctor&&_90.ctor.prototype;_90.instantiateChildren=!(_92&&_92.stopParser&&!(_73.template));_90.instantiate=!_91||(_91.instantiate&&_91.instantiateChildren);return _90.instantiate;}));});}else{d.resolve(_74);}return d.promise;},_require:function(_93){var _94=_23.fromJson("{"+_93.innerHTML+"}"),_95=[],_96=[],d=new _26();for(var _97 in _94){_95.push(_97);_96.push(_94[_97]);}require(_96,function(){for(var i=0;i<_95.length;i++){_1d.setObject(_95[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_98){var _99=new _26(),_9a=_99.promise;_99.resolve(true);var _9b=this;_27("script[type='dojo/require']",_98).forEach(function(_9c){_9a=_9a.then(function(){return _9b._require(_9c);});_9c.parentNode.removeChild(_9c);});return _9a;},parse:function(_9d,_9e){var _9f;if(!_9e&&_9d&&_9d.rootNode){_9e=_9d;_9f=_9e.rootNode;}else{if(_9d&&_1d.isObject(_9d)&&!("nodeType" in _9d)){_9e=_9d;}else{_9f=_9d;}}_9f=_9f?_20.byId(_9f):_21.body();_9e=_9e||{};var _a0=_9e.template?{template:true}:{},_a1=[],_a2=this;var p=this._scanAmd(_9f,_9e).then(function(){return _a2.scan(_9f,_9e);}).then(function(_a3){return _a1=_a1.concat(_a2._instantiate(_a3,_a0,_9e));}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_1d.mixin(_a1,p);return _a1;}};if(1){_1c.parser=_33;}if(_1f.parseOnLoad){_28(100,_33,"parse");}return _33;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_a4,_a5,_a6){return _a5("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_a7,_a8){var _a9=this.containerNode;if(_a8&&typeof _a8=="number"){var _aa=this.getChildren();if(_aa&&_aa.length>=_a8){_a9=_aa[_a8-1].domNode;_a8="after";}}_a6.place(_a7.domNode,_a9,_a8);if(this._started&&!_a7._started){_a7.startup();}},removeChild:function(_ab){if(typeof _ab=="number"){_ab=this.getChildren()[_ab];}if(_ab){var _ac=_ab.domNode;if(_ac&&_ac.parentNode){_ac.parentNode.removeChild(_ac);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_ad,dir){var _ae=this.getChildren(),idx=_a4.indexOf(this.getChildren(),_ad);return _ae[idx+dir];},getIndexOfChild:function(_af){return _a4.indexOf(this.getChildren(),_af);}});});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_b0,_b1,_b2,has,_b3,win){var _b4=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_b4=evt.target;},true);}else{(function(){var _b5=function(evt){_b4=evt.srcElement;};win.doc.attachEvent("onkeydown",_b5);_b3.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_b5);});})();}function _b6(e){return (e.keyCode===_b1.ENTER||e.keyCode===_b1.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(_b7,_b8){if(/input|button/i.test(_b7.nodeName)){return on(_b7,"click",_b8);}else{var _b9=[on(_b7,"keydown",function(e){if(_b6(e)){_b4=e.target;e.preventDefault();}}),on(_b7,"keyup",function(e){if(_b6(e)&&e.target==_b4){_b4=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(_b7,"click",function(e){_b8.call(this,e);})];if(has("touch")){var _ba;_b9.push(on(_b7,"touchend",function(e){var _bb=e.target;_ba=setTimeout(function(){_ba=null;on.emit(_bb,"click",{cancelable:true,bubbles:true});},600);}),on(_b7,"click",function(e){if(_ba){clearTimeout(_ba);}}));}return {remove:function(){_b0.forEach(_b9,function(h){h.remove();});if(_ba){clearTimeout(_ba);_ba=null;}}};}};return ret;});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_bc,_bd){_bd.scrollIntoView=function(_be,pos){_bc.scrollIntoView(_be,pos);};});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_bf,_c0,_c1,_c2,_c3,_c4,_c5,_c6,_c7){return _c4("dijit.layout._LayoutWidget",[_c0,_c1,_c2],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_c5.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _c8=this.getParent&&this.getParent();if(!(_c8&&_c8.isLayoutContainer)){this.resize();this.own(_c3.on("resize",_bf.hitch(this,"resize")));}},resize:function(_c9,_ca){var _cb=this.domNode;if(_c9){_c6.setMarginBox(_cb,_c9);}var mb=_ca||{};_bf.mixin(mb,_c9||{});if(!("h" in mb)||!("w" in mb)){mb=_bf.mixin(_c6.getMarginBox(_cb),mb);}var cs=_c7.getComputedStyle(_cb);var me=_c6.getMarginExtents(_cb,cs);var be=_c6.getBorderExtents(_cb,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_c6.getPadExtents(_cb,cs);this._contentBox={l:_c7.toPixelValue(_cb,cs.paddingLeft),t:_c7.toPixelValue(_cb,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_cc){var cls=this.baseClass+"-child "+(_cc.baseClass?this.baseClass+"-"+_cc.baseClass:"");_c5.add(_cc.domNode,cls);},addChild:function(_cd,_ce){this.inherited(arguments);if(this._started){this._setupChild(_cd);}},removeChild:function(_cf){var cls=this.baseClass+"-child"+(_cf.baseClass?" "+this.baseClass+"-"+_cf.baseClass:"");_c5.remove(_cf.domNode,cls);this.inherited(arguments);}});});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_d0){return _d0._base;});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_d1,_d2,_d3,_d4,_d5,_d6,has,_d7,_d8){return _d2("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_d9){this._set("disabled",_d9);_d3.set(this.focusNode,"disabled",_d9);if(this.valueNode){_d3.set(this.valueNode,"disabled",_d9);}this.focusNode.setAttribute("aria-disabled",_d9?"true":"false");if(_d9){this._set("hovering",false);this._set("active",false);var _da="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_d1.forEach(_d5.isArray(_da)?_da:[_da],function(_db){var _dc=this[_db];if(has("webkit")||_d8.hasDefaultTabStop(_dc)){_dc.setAttribute("tabIndex","-1");}else{_dc.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _dd=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_de);this.disconnect(_dd);});var _de=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_de);this.disconnect(_dd);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_d7.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_d4.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(_df,_e0){if(typeof _df=="number"&&typeof _e0=="number"){return (isNaN(_df)&&isNaN(_e0))?0:_df-_e0;}else{if(_df>_e0){return 1;}else{if(_df<_e0){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_e1,_e2){if(this._lastValueReported==undefined&&(_e2===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_e1;}this._pendingOnChange=this._pendingOnChange||(typeof _e1!=typeof this._lastValueReported)||(this.compare(_e1,this._lastValueReported)!=0);if((this.intermediateChanges||_e2||_e2===undefined)&&this._pendingOnChange){this._lastValueReported=_e1;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_e1);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_e3,_e4,_e5,_e6,_e7,_e8,on,has,win){var _e9=new function(){var _ea=[];this.pop=function(){var _eb;if(_ea.length){_eb=_ea.pop();_eb.style.display="";}else{if(has("ie")<9){var _ec=_e5["dojoBlankHtmlUrl"]||_e3.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var _ed="<iframe src='"+_ec+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_eb=win.doc.createElement(_ed);}else{_eb=_e6.create("iframe");_eb.src="javascript:\"\"";_eb.className="dijitBackgroundIframe";_eb.setAttribute("role","presentation");_e7.set(_eb,"opacity",0.1);}_eb.tabIndex=-1;}return _eb;};this.push=function(_ee){_ee.style.display="none";_ea.push(_ee);};}();_e4.BackgroundIframe=function(_ef){if(!_ef.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _f0=(this.iframe=_e9.pop());_ef.appendChild(_f0);if(has("ie")<7||has("quirks")){this.resize(_ef);this._conn=on(_ef,"resize",_e8.hitch(this,function(){this.resize(_ef);}));}else{_e7.set(_f0,{width:"100%",height:"100%"});}}};_e8.extend(_e4.BackgroundIframe,{resize:function(_f1){if(this.iframe){_e7.set(this.iframe,{width:_f1.offsetWidth+"px",height:_f1.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_e9.push(this.iframe);delete this.iframe;}}});return _e4.BackgroundIframe;});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_f2,_f3,_f4,has,_f5){return _f2("dijit.form._FormValueMixin",_f5,{readOnly:false,_setReadOnlyAttr:function(_f6){_f3.set(this.focusNode,"readOnly",_f6);this.focusNode.setAttribute("aria-readonly",_f6);this._set("readOnly",_f6);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_f7,_f8){this._handleOnChange(_f7,_f8);},_handleOnChange:function(_f9,_fa){this._set("value",_f9);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==_f4.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var _fb=e.srcElement,te=_fb.ownerDocument.createEventObject();te.keyCode=_f4.ESCAPE;te.shiftKey=e.shiftKey;_fb.fireEvent("onkeypress",te);}}}});});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_fc,_fd,_fe,_ff){return _fc("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_100){if(_100){this.set(_100);}},_get:function(name,_101){return typeof this[_101.g]==="function"?this[_101.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_102){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _103=this._getAttrNames(name),_104=this._get(name,_103),_105=this[_103.s],_106;if(typeof _105==="function"){_106=_105.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_102;}if(this._watchCallbacks){var self=this;_ff(_106,function(){self._watchCallbacks(name,_104,_102);});}return this;},_changeAttrValue:function(name,_107){var _108=this.get(name);this[name]=_107;if(this._watchCallbacks){this._watchCallbacks(name,_108,_107);}return this;},watch:function(name,_109){var _10a=this._watchCallbacks;if(!_10a){var self=this;_10a=this._watchCallbacks=function(name,_10b,_10c,_10d){var _10e=function(_10f){if(_10f){_10f=_10f.slice();for(var i=0,l=_10f.length;i<l;i++){_10f[i].call(self,name,_10b,_10c);}}};_10e(_10a["_"+name]);if(!_10d){_10e(_10a["*"]);}};}if(!_109&&typeof name==="function"){_109=name;name="*";}else{name="_"+name;}var _110=_10a[name];if(typeof _110!=="object"){_110=_10a[name]=[];}_110.push(_109);var _111={};_111.unwatch=_111.remove=function(){var _112=_fe.indexOf(_110,_109);if(_112>-1){_110.splice(_112,1);}};return _111;}});});},"dojo/touch":function(){define(["./_base/kernel","./_base/lang","./aspect","./dom","./on","./has","./mouse","./ready","./_base/window"],function(dojo,lang,_113,dom,on,has,_114,_115,win){var _116=has("touch");var _117,_118;if(_116){_115(function(){_118=win.body();win.doc.addEventListener("touchstart",function(evt){var _119=_118;_118=evt.target;on.emit(_119,"dojotouchout",{target:_119,relatedTarget:_118,bubbles:true});on.emit(_118,"dojotouchover",{target:_118,relatedTarget:_119,bubbles:true});},true);on(win.doc,"touchmove",function(evt){var _11a=win.doc.elementFromPoint(evt.pageX-win.global.pageXOffset,evt.pageY-win.global.pageYOffset);if(_11a&&_118!==_11a){on.emit(_118,"dojotouchout",{target:_118,relatedTarget:_11a,bubbles:true});on.emit(_11a,"dojotouchover",{target:_11a,relatedTarget:_118,bubbles:true});_118=_11a;}});});_117=function(node,_11b){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_118,node)){_11b.call(this,lang.mixin({},evt,{target:_118}));}});};}function _11c(type){return function(node,_11d){return on(node,type,_11d);};};var _11e={press:_11c(_116?"touchstart":"mousedown"),move:_116?_117:_11c("mousemove"),release:_11c(_116?"touchend":"mouseup"),cancel:_116?_11c("touchcancel"):_114.leave,over:_11c(_116?"dojotouchover":"mouseover"),out:_11c(_116?"dojotouchout":"mouseout"),enter:_114._eventHandler(_116?"dojotouchover":"mouseover"),leave:_114._eventHandler(_116?"dojotouchout":"mouseout")};1&&(dojo.touch=_11e);return _11e;});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_11f,_120,dom,_121,lang,on,_122,win,_123){var _124=_120("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_11f.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_125){if(!this.disabled){switch(_125.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _126=this.baseClass.split(" ");function _127(_128){_126=_126.concat(_11f.map(_126,function(c){return c+_128;}),"dijit"+_128);};if(!this.isLeftToRight()){_127("Rtl");}var _129=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_127(_129);}if(this.state){_127(this.state);}if(this.selected){_127("Selected");}if(this._opened){_127("Opened");}if(this.disabled){_127("Disabled");}else{if(this.readOnly){_127("ReadOnly");}else{if(this.active){_127("Active");}else{if(this.hovering){_127("Hover");}}}}if(this.focused){_127("Focused");}var tn=this.stateNode||this.domNode,_12a={};_11f.forEach(tn.className.split(" "),function(c){_12a[c]=true;});if("_stateClasses" in this){_11f.forEach(this._stateClasses,function(c){delete _12a[c];});}_11f.forEach(_126,function(c){_12a[c]=true;});var _12b=[];for(var c in _12a){_12b.push(c);}tn.className=_12b.join(" ");this._stateClasses=_126;},_subnodeCssMouseEvent:function(node,_12c,evt){if(this.disabled||this.readOnly){return;}function _12d(_12e){_121.toggle(node,_12c+"Hover",_12e);};function _12f(_130){_121.toggle(node,_12c+"Active",_130);};function _131(_132){_121.toggle(node,_12c+"Focused",_132);};switch(evt.type){case "mouseover":_12d(true);break;case "mouseout":_12d(false);_12f(false);break;case "mousedown":case "touchstart":_12f(true);break;case "mouseup":case "touchend":_12f(false);break;case "focus":case "focusin":_131(true);break;case "blur":case "focusout":_131(false);break;}},_trackMouseState:function(node,_133){node._cssState=_133;}});_122(function(){function _134(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var node=evt.target;node&&node!=evt.relatedTarget;node=node.parentNode){if(node._cssState){var _135=_123.getEnclosingWidget(node);if(_135){if(node==_135.domNode){_135._cssMouseEvent(evt);}else{_135._subnodeCssMouseEvent(node,node._cssState,evt);}}}}}};function _136(evt){evt.target=evt.srcElement;_134(evt);};var body=win.body();_11f.forEach(["mouseover","mouseout","mousedown","touchstart","mouseup","touchend"],function(type){if(body.addEventListener){body.addEventListener(type,_134,true);}else{body.attachEvent("on"+type,_136);}});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _137=_123.getEnclosingWidget(node);_137._subnodeCssMouseEvent(node,node._cssState,evt);}});});return _124;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_138=function(){var n=null,_139=arguments,uri=[_139[0]];for(var i=1;i<_139.length;i++){if(!_139[i]){continue;}var _13a=new _138(_139[i]+""),_13b=new _138(uri[0]+"");if(_13a.path==""&&!_13a.scheme&&!_13a.authority&&!_13a.query){if(_13a.fragment!=n){_13b.fragment=_13a.fragment;}_13a=_13b;}else{if(!_13a.scheme){_13a.scheme=_13b.scheme;if(!_13a.authority){_13a.authority=_13b.authority;if(_13a.path.charAt(0)!="/"){var path=_13b.path.substring(0,_13b.path.lastIndexOf("/")+1)+_13a.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_13a.path=segs.join("/");}}}}uri=[];if(_13a.scheme){uri.push(_13a.scheme,":");}if(_13a.authority){uri.push("//",_13a.authority);}uri.push(_13a.path);if(_13a.query){uri.push("?",_13a.query);}if(_13a.fragment){uri.push("#",_13a.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_138.prototype.toString=function(){return this.uri;};return dojo._Url=_138;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-construct","./dom-style","./has","./ready","./_base/window"],function(_13c,_13d,_13e,_13f,_140,has,_141,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_13d.blankGif||_13c.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_140.getComputedStyle(div),_142=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_142&&(_142=="none"||_142=="url(invalid-url:)"));_13f.destroy(div);return hc;});_141(90,function(){if(has("highcontrast")){_13e.add(win.body(),"dj_a11y");}});return has;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_143,lang){var _144={};lang.setObject("dojo.string",_144);_144.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("");};_144.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_144.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_144.substitute=function(_145,map,_146,_147){_147=_147||_143.global;_146=_146?lang.hitch(_147,_146):function(v){return v;};return _145.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_148,key,_149){var _14a=lang.getObject(key,false,map);if(_149){_14a=lang.getObject(_149,false,_147).call(_147,_14a,key);}return _146(_14a,key).toString();});};_144.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _144;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_14b,has,_14c,_14d){return _14b("dijit.form._FormValueWidget",[_14c,_14d],{_layoutHackIE7:function(){if(has("ie")==7){var _14e=this.domNode;var _14f=_14e.parentNode;var _150=_14e.firstChild||_14e;var _151=_150.style.filter;var _152=this;while(_14f&&_14f.clientHeight==0){(function ping(){var _153=_152.connect(_14f,"onscroll",function(){_152.disconnect(_153);_150.style.filter=(new Date()).getMilliseconds();_152.defer(function(){_150.style.filter=_151;});});})();_14f=_14f.parentNode;}}}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_154,has,_155,win,_156){var _157={},hash={};var _158={length:0,add:function(_159){if(hash[_159.id]){throw new Error("Tried to register widget with id=="+_159.id+" but that id is already registered");}hash[_159.id]=_159;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_15a){var id;do{id=_15a+"_"+(_15a in _157?++_157[_15a]:_157[_15a]=0);}while(hash[id]);return _156._scopeName=="dijit"?id:_156._scopeName+"_"+id;},findWidgets:function(root,_15b){var _15c=[];function _15d(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _15e=node.getAttribute("widgetId");if(_15e){var _15f=hash[_15e];if(_15f){_15c.push(_15f);}}else{if(node!==_15b){_15d(node);}}}}};_15d(root);return _15c;},_destroyAll:function(){_156._curFocus=null;_156._prevFocus=null;_156._activeStack=[];_154.forEach(_158.findWidgets(win.body()),function(_160){if(!_160._destroyed){if(_160.destroyRecursive){_160.destroyRecursive();}else{if(_160.destroy){_160.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_156.registry=_158;return _158;});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_161,_162,_163){return _163("dijit.Destroyable",null,{destroy:function(_164){this._destroyed=true;},own:function(){_161.forEach(arguments,function(_165){var _166="destroyRecursive" in _165?"destroyRecursive":"destroy" in _165?"destroy":"remove";_165._odh=_162.before(this,"destroy",function(_167){_165._odh.remove();_165[_166](_167);});_162.after(_165,_166,function(){_165._odh.remove();});},this);return arguments;}});});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_168,_169,lang,_16a,_16b){var _16c={};_168.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_16c[name]=_16a[name];});lang.mixin(_16c,{defaultDuration:_169["defaultDuration"]||200});lang.mixin(_16b,_16c);return _16b;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_16d,lang,_16e,_16f,_170){var _171={};_171.getViewport=function(){return _16e.getBox();};_171.placeOnScreen=_16f.at;_171.placeOnScreenAroundElement=function(node,_172,_173,_174){var _175;if(lang.isArray(_173)){_175=_173;}else{_175=[];for(var key in _173){_175.push({aroundCorner:key,corner:_173[key]});}}return _16f.around(node,_172,_175,true,_174);};_171.placeOnScreenAroundNode=_171.placeOnScreenAroundElement;_171.placeOnScreenAroundRectangle=_171.placeOnScreenAroundElement;_171.getPopupAroundAlignment=function(_176,_177){var _178={};_16d.forEach(_176,function(pos){var ltr=_177;switch(pos){case "after":_178[_177?"BR":"BL"]=_177?"BL":"BR";break;case "before":_178[_177?"BL":"BR"]=_177?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_178[ltr?"BL":"BR"]=ltr?"TL":"TR";_178[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_178[ltr?"TL":"TR"]=ltr?"BL":"BR";_178[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _178;};lang.mixin(_170,_171);return _170;});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_179,_17a,_17b,_17c){var _17d=_17a("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_17e){if(this._hash[_17e.id]){throw new Error("Tried to register widget with id=="+_17e.id+" but that id is already registered");}this._hash[_17e.id]=_17e;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_17f){_17f=_17f||_17b.global;var i=0,id;for(id in this._hash){func.call(_17f,this._hash[id],i++,this._hash);}return this;},filter:function(_180,_181){_181=_181||_17b.global;var res=new _17d(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_180.call(_181,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _17d(),id,_182;for(id in this._hash){_182=this._hash[id];if(_182.declaredClass==cls){res.add(_182);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_183){return _179.map(this.toArray(),func,_183);},every:function(func,_184){_184=_184||_17b.global;var x=0,i;for(i in this._hash){if(!func.call(_184,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_185){_185=_185||_17b.global;var x=0,i;for(i in this._hash){if(func.call(_185,this._hash[i],x++,this._hash)){return true;}}return false;}});_179.forEach(["forEach","filter","byClass","map","every","some"],function(func){_17c[func]=_17d.prototype[func];});return _17d;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_186,_187,_188,dom,_189,_18a,has,_18b){var _18c=(_18b._isElementShown=function(elem){var s=_18a.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_189.get(elem,"type")!="hidden");});_18b.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _189.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _18d=elem.contentDocument;if("designMode" in _18d&&_18d.designMode=="on"){return true;}body=_18d.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _18e=(_18b.isTabNavigable=function(elem){if(_189.get(elem,"disabled")){return false;}else{if(_189.has(elem,"tabIndex")){return _189.get(elem,"tabIndex")>=0;}else{return _18b.hasDefaultTabStop(elem);}}});_18b._getTabNavigable=function(root){var _18f,last,_190,_191,_192,_193,_194={};function _195(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _196=function(_197){for(var _198=_197.firstChild;_198;_198=_198.nextSibling){if(_198.nodeType!=1||(has("ie")&&_198.scopeName!=="HTML")||!_18c(_198)){continue;}if(_18e(_198)){var _199=+_189.get(_198,"tabIndex");if(!_189.has(_198,"tabIndex")||_199==0){if(!_18f){_18f=_198;}last=_198;}else{if(_199>0){if(!_190||_199<_191){_191=_199;_190=_198;}if(!_192||_199>=_193){_193=_199;_192=_198;}}}var rn=_195(_198);if(_189.get(_198,"checked")&&rn){_194[rn]=_198;}}if(_198.nodeName.toUpperCase()!="SELECT"){_196(_198);}}};if(_18c(root)){_196(root);}function rs(node){return _194[_195(node)]||node;};return {first:rs(_18f),last:rs(last),lowest:rs(_190),highest:rs(_192)};};_18b.getFirstInTabbingOrder=function(root,doc){var _19a=_18b._getTabNavigable(dom.byId(root,doc));return _19a.lowest?_19a.lowest:_19a.first;};_18b.getLastInTabbingOrder=function(root,doc){var _19b=_18b._getTabNavigable(dom.byId(root,doc));return _19b.last?_19b.last:_19b.highest;};return {hasDefaultTabStop:_18b.hasDefaultTabStop,isTabNavigable:_18b.isTabNavigable,_getTabNavigable:_18b._getTabNavigable,getFirstInTabbingOrder:_18b.getFirstInTabbingOrder,getLastInTabbingOrder:_18b.getLastInTabbingOrder};});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_19c,_19d,_19e,_19f,lang,on,has,_1a0){var _1a1=(_1a0.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(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_1a2,node,_1a3,obj,_1a4,_1a5,_1a6){if(obj!=this._obj){this.stop();this._initialDelay=_1a5||500;this._subsequentDelay=_1a4||0.9;this._minDelay=_1a6||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_1a2,_1a3);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},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,_1a7,_1a8,_1a9,_1aa,_1ab,_1ac){if(_1a7.keyCode){_1a7.charOrCode=_1a7.keyCode;_19f.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_1a7.charCode){_1a7.charOrCode=String.fromCharCode(_1a7.charCode);_19f.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _1ad=[on(node,_19d._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_1a7.charOrCode&&(_1a7.ctrlKey===undefined||_1a7.ctrlKey==evt.ctrlKey)&&(_1a7.altKey===undefined||_1a7.altKey==evt.altKey)&&(_1a7.metaKey===undefined||_1a7.metaKey==(evt.metaKey||false))&&(_1a7.shiftKey===undefined||_1a7.shiftKey==evt.shiftKey)){_19e.stop(evt);_1a1.trigger(evt,_1a8,node,_1a9,_1a7,_1aa,_1ab,_1ac);}else{if(_1a1._obj==_1a7){_1a1.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_1a1._obj==_1a7){_1a1.stop();}}))];return {remove:function(){_19c.forEach(_1ad,function(h){h.remove();});}};},addMouseListener:function(node,_1ae,_1af,_1b0,_1b1,_1b2){var _1b3=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_1a1.trigger(evt,_1ae,node,_1af,node,_1b0,_1b1,_1b2);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_1a1.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_1a1.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_1a1.trigger(evt,_1ae,node,_1af,node,_1b0,_1b1,_1b2);setTimeout(lang.hitch(this,_1a1.stop),50);}}))];return {remove:function(){_19c.forEach(_1b3,function(h){h.remove();});}};},addListener:function(_1b4,_1b5,_1b6,_1b7,_1b8,_1b9,_1ba,_1bb){var _1bc=[this.addKeyListener(_1b5,_1b6,_1b7,_1b8,_1b9,_1ba,_1bb),this.addMouseListener(_1b4,_1b7,_1b8,_1b9,_1ba,_1bb)];return {remove:function(){_19c.forEach(_1bc,function(h){h.remove();});}};}});return _1a1;});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_1bd,dom,lang,_1be,win,_1bf,_1c0){var _1c1={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _1c0.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_1bf.curNode;if(win.global.getSelection){sel=win.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(_1c2){var _1c3=win.doc,mark=_1c2.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_1c3.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_1c3.body.createControlRange();_1bd.forEach(mark,function(n){rg.addElement(n);});}else{rg=_1c3.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_1c4){var node=!_1bf.curNode||(menu&&dom.isDescendant(_1bf.curNode,menu.domNode))?_1c0._prevFocus:_1bf.curNode;return {node:node,bookmark:node&&(node==_1bf.curNode)&&win.withGlobal(_1c4||win.global,_1c0.getBookmark),openedForWindow:_1c4};},_activeStack:[],registerIframe:function(_1c5){return _1bf.registerIframe(_1c5);},unregisterIframe:function(_1c6){_1c6&&_1c6.remove();},registerWin:function(_1c7,_1c8){return _1bf.registerWin(_1c7,_1c8);},unregisterWin:function(_1c9){_1c9&&_1c9.remove();}};_1bf.focus=function(_1ca){if(!_1ca){return;}var node="node" in _1ca?_1ca.node:_1ca,_1cb=_1ca.bookmark,_1cc=_1ca.openedForWindow,_1cd=_1cb?_1cb.isCollapsed:false;if(node){var _1ce=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_1ce&&_1ce.focus){try{_1ce.focus();}catch(e){}}_1bf._onFocusNode(node);}if(_1cb&&win.withGlobal(_1cc||win.global,_1c0.isCollapsed)&&!_1cd){if(_1cc){_1cc.focus();}try{win.withGlobal(_1cc||win.global,_1c0.moveToBookmark,null,[_1cb]);}catch(e2){}}};_1bf.watch("curNode",function(name,_1cf,_1d0){_1c0._curFocus=_1d0;_1c0._prevFocus=_1cf;if(_1d0){_1be.publish("focusNode",_1d0);}});_1bf.watch("activeStack",function(name,_1d1,_1d2){_1c0._activeStack=_1d2;});_1bf.on("widget-blur",function(_1d3,by){_1be.publish("widgetBlur",_1d3,by);});_1bf.on("widget-focus",function(_1d4,by){_1be.publish("widgetFocus",_1d4,by);});lang.mixin(_1c0,_1c1);return _1c0;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_1d5,_1d6,_1d7,_1d8,win,_1d9,_1da){function _1db(node,_1dc,_1dd,_1de){var view=_1d9.getBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_1d5.some(_1dc,function(_1df){var _1e0=_1df.corner;var pos=_1df.pos;var _1e1=0;var _1e2={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1e0.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1e0.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1dd){var res=_1dd(node,_1df.aroundCorner,_1e0,_1e2,_1de);_1e1=typeof res=="undefined"?0:res;}var _1e3=node.style;var _1e4=_1e3.display;var _1e5=_1e3.visibility;if(_1e3.display=="none"){_1e3.visibility="hidden";_1e3.display="";}var bb=_1d6.position(node);_1e3.display=_1e4;_1e3.visibility=_1e5;var _1e6={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_1e0.charAt(1)],_1e7={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_1e0.charAt(0)],_1e8=Math.max(view.l,_1e6),_1e9=Math.max(view.t,_1e7),endX=Math.min(view.l+view.w,_1e6+bb.w),endY=Math.min(view.t+view.h,_1e7+bb.h),_1ea=endX-_1e8,_1eb=endY-_1e9;_1e1+=(bb.w-_1ea)+(bb.h-_1eb);if(best==null||_1e1<best.overflow){best={corner:_1e0,aroundCorner:_1df.aroundCorner,x:_1e8,y:_1e9,w:_1ea,h:_1eb,overflow:_1e1,spaceAvailable:_1e2};}return !_1e1;});if(best.overflow&&_1dd){_1dd(node,best.aroundCorner,best.corner,best.spaceAvailable,_1de);}var l=_1d6.isBodyLtr(node.ownerDocument),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;};var _1ec={at:function(node,pos,_1ed,_1ee){var _1ef=_1d5.map(_1ed,function(_1f0){var c={corner:_1f0,pos:{x:pos.x,y:pos.y}};if(_1ee){c.pos.x+=_1f0.charAt(1)=="L"?_1ee.x:-_1ee.x;c.pos.y+=_1f0.charAt(0)=="T"?_1ee.y:-_1ee.y;}return c;});return _1db(node,_1ef);},around:function(node,_1f1,_1f2,_1f3,_1f4){var _1f5=(typeof _1f1=="string"||"offsetWidth" in _1f1)?_1d6.position(_1f1,true):_1f1;if(_1f1.parentNode){var _1f6=_1d7.getComputedStyle(_1f1).position=="absolute";var _1f7=_1f1.parentNode;while(_1f7&&_1f7.nodeType==1&&_1f7.nodeName!="BODY"){var _1f8=_1d6.position(_1f7,true),pcs=_1d7.getComputedStyle(_1f7);if(/relative|absolute/.test(pcs.position)){_1f6=false;}if(!_1f6&&/hidden|auto|scroll/.test(pcs.overflow)){var _1f9=Math.min(_1f5.y+_1f5.h,_1f8.y+_1f8.h);var _1fa=Math.min(_1f5.x+_1f5.w,_1f8.x+_1f8.w);_1f5.x=Math.max(_1f5.x,_1f8.x);_1f5.y=Math.max(_1f5.y,_1f8.y);_1f5.h=_1f9-_1f5.y;_1f5.w=_1fa-_1f5.x;}if(pcs.position=="absolute"){_1f6=true;}_1f7=_1f7.parentNode;}}var x=_1f5.x,y=_1f5.y,_1fb="w" in _1f5?_1f5.w:(_1f5.w=_1f5.width),_1fc="h" in _1f5?_1f5.h:(_1d8.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_1f5.height+", width:"+_1fb+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_1f5.height+", w:"+_1fb+" }","","2.0"),_1f5.h=_1f5.height);var _1fd=[];function push(_1fe,_1ff){_1fd.push({aroundCorner:_1fe,corner:_1ff,pos:{x:{"L":x,"R":x+_1fb,"M":x+(_1fb>>1)}[_1fe.charAt(1)],y:{"T":y,"B":y+_1fc,"M":y+(_1fc>>1)}[_1fe.charAt(0)]}});};_1d5.forEach(_1f2,function(pos){var ltr=_1f3;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _200=_1db(node,_1fd,_1f4,{w:_1fb,h:_1fc});_200.aroundNodePos=_1f5;return _200;}};return _1da.place=_1ec;});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_201,_202,_203,_204,has,_205,lang,_206,_207,_208,_209,_20a,_20b){function _20c(){};function _20d(_20e){return function(obj,_20f,_210,_211){if(obj&&typeof _20f=="string"&&obj[_20f]==_20c){return obj.on(_20f.substring(2).toLowerCase(),lang.hitch(_210,_211));}return _20e.apply(_203,arguments);};};_201.around(_203,"connect",_20d);if(_205.connect){_201.around(_205,"connect",_20d);}var _212=_204("dijit._Widget",[_209,_20a,_20b],{onClick:_20c,onDblClick:_20c,onKeyDown:_20c,onKeyPress:_20c,onKeyUp:_20c,onMouseDown:_20c,onMouseMove:_20c,onMouseOut:_20c,onMouseOver:_20c,onMouseLeave:_20c,onMouseEnter:_20c,onMouseUp:_20c,constructor:function(_213){this._toConnect={};for(var name in _213){if(this[name]===_20c){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_213[name];delete _213[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_20c){return _203.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_214){_205.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_214);},attr:function(name,_215){if(_202.isDebug){var _216=arguments.callee._ach||(arguments.callee._ach={}),_217=(arguments.callee.caller||"unknown caller").toString();if(!_216[_217]){_205.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_217,"","2.0");_216[_217]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_205.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_206("[widgetId]",this.containerNode).map(_208.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_207(0,function(){var _218=["dijit/_base"];require(_218);});}return _212;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_219,keys,_21a,has,_21b,win,_21c){var ret=_21a("dijit._OnDijitClickMixin",null,{connect:function(obj,_21d,_21e){return this.inherited(arguments,[obj,_21d=="ondijitclick"?_21c:_21d,_21e]);}});ret.a11yclick=_21c;return ret;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_21f,_220,_221,lang){lang.extend(_220,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _221("dijit._FocusMixin",null,{_focusManager:_21f});});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_222,_223,dom,_224,_225,_226,lang,on,_227,has,_228,_229,win,_22a,a11y,_22b,_22c){var _22d=_223([_228,_226],{curNode:null,activeStack:[],constructor:function(){var _22e=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_222.before(_225,"empty",_22e);_222.before(_225,"destroy",_22e);},registerIframe:function(_22f){return this.registerWin(_22f.contentWindow,_22f);},registerWin:function(_230,_231){var _232=this;var _233=function(evt){_232._justMouseDowned=true;setTimeout(function(){_232._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_232._onTouchNode(_231||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_230.document.documentElement:_230.document;if(doc){if(has("ie")){_230.document.body.attachEvent("onmousedown",_233);var _234=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_232._onFocusNode(_231||evt.srcElement);}else{_232._onTouchNode(_231||evt.srcElement);}};doc.attachEvent("onfocusin",_234);var _235=function(evt){_232._onBlurNode(_231||evt.srcElement);};doc.attachEvent("onfocusout",_235);return {remove:function(){_230.document.detachEvent("onmousedown",_233);doc.detachEvent("onfocusin",_234);doc.detachEvent("onfocusout",_235);doc=null;}};}else{doc.body.addEventListener("mousedown",_233,true);doc.body.addEventListener("touchstart",_233,true);var _236=function(evt){_232._onFocusNode(_231||evt.target);};doc.addEventListener("focus",_236,true);var _237=function(evt){_232._onBlurNode(_231||evt.target);};doc.addEventListener("blur",_237,true);return {remove:function(){doc.body.removeEventListener("mousedown",_233,true);doc.body.removeEventListener("touchstart",_233,true);doc.removeEventListener("focus",_236,true);doc.removeEventListener("blur",_237,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _238=[];try{while(node){var _239=_224.get(node,"dijitPopupParent");if(_239){node=_22b.byId(_239).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_22a.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_23a=id&&_22b.byId(id);if(_23a&&!(by=="mouse"&&_23a.get("disabled"))){_238.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_238,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_23b,by){var _23c=this.activeStack;this.set("activeStack",_23b);for(var _23d=0;_23d<Math.min(_23c.length,_23b.length);_23d++){if(_23c[_23d]!=_23b[_23d]){break;}}var _23e;for(var i=_23c.length-1;i>=_23d;i--){_23e=_22b.byId(_23c[i]);if(_23e){_23e._hasBeenBlurred=true;_23e.set("focused",false);if(_23e._focusManager==this){_23e._onBlur(by);}this.emit("widget-blur",_23e,by);}}for(i=_23d;i<_23b.length;i++){_23e=_22b.byId(_23b[i]);if(_23e){_23e.set("focused",true);if(_23e._focusManager==this){_23e._onFocus(by);}this.emit("widget-focus",_23e,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _23f=new _22d();_227(function(){var _240=_23f.registerWin(_22a.get(win.doc));if(has("ie")){_229.addOnWindowUnload(function(){if(_240){_240.remove();_240=null;}});}});_22c.focus=function(node){_23f.focus(node);};for(var attr in _23f){if(!/^_/.test(attr)){_22c.focus[attr]=typeof _23f[attr]=="function"?lang.hitch(_23f,attr):_23f[attr];}}_23f.watch(function(attr,_241,_242){_22c.focus[attr]=_242;});return _23f;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_243){var _244={};lang.setObject("dojo.date.stamp",_244);_244.fromISOString=function(_245,_246){if(!_244._isoRegExp){_244._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _247=_244._isoRegExp.exec(_245),_248=null;if(_247){_247.shift();if(_247[1]){_247[1]--;}if(_247[6]){_247[6]*=1000;}if(_246){_246=new Date(_246);_243.forEach(_243.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _246["get"+prop]();}),function(_249,_24a){_247[_24a]=_247[_24a]||_249;});}_248=new Date(_247[0]||1970,_247[1]||0,_247[2]||1,_247[3]||0,_247[4]||0,_247[5]||0,_247[6]||0);if(_247[0]<100){_248.setFullYear(_247[0]||1970);}var _24b=0,_24c=_247[7]&&_247[7].charAt(0);if(_24c!="Z"){_24b=((_247[8]||0)*60)+(Number(_247[9])||0);if(_24c!="-"){_24b*=-1;}}if(_24c){_24b-=_248.getTimezoneOffset();}if(_24b){_248.setTime(_248.getTime()+_24b*60000);}}return _248;};_244.toISOString=function(_24d,_24e){var _24f=function(n){return (n<10)?"0"+n:n;};_24e=_24e||{};var _250=[],_251=_24e.zulu?"getUTC":"get",date="";if(_24e.selector!="time"){var year=_24d[_251+"FullYear"]();date=["0000".substr((year+"").length)+year,_24f(_24d[_251+"Month"]()+1),_24f(_24d[_251+"Date"]())].join("-");}_250.push(date);if(_24e.selector!="date"){var time=[_24f(_24d[_251+"Hours"]()),_24f(_24d[_251+"Minutes"]()),_24f(_24d[_251+"Seconds"]())].join(":");var _252=_24d[_251+"Milliseconds"]();if(_24e.milliseconds){time+="."+(_252<100?"0":"")+_24f(_252);}if(_24e.zulu){time+="Z";}else{if(_24e.selector!="time"){var _253=_24d.getTimezoneOffset();var _254=Math.abs(_253);time+=(_253>0?"-":"+")+_24f(Math.floor(_254/60))+":"+_24f(_254%60);}}_250.push(time);}return _250.join("T");};return _244;});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_255,has,_256,_257,_258,_259,_25a,_25b){if(has("dijit-legacy-requires")){_257(0,function(){var _25c=["dijit/form/_FormValueWidget"];require(_25c);});}return _255("dijit.form._FormWidget",[_258,_25a,_259,_25b],{setDisabled:function(_25d){_256.deprecated("setDisabled("+_25d+") is deprecated. Use set('disabled',"+_25d+") instead.","","2.0");this.set("disabled",_25d);},setValue:function(_25e){_256.deprecated("dijit.form._FormWidget:setValue("+_25e+") is deprecated. Use set('value',"+_25e+") instead.","","2.0");this.set("value",_25e);},getValue:function(){_256.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_25f,win,_260){var _261=_260._createWrapper;_260._createWrapper=function(_262){if(!_262.declaredClass){_262={_popupWrapper:(_262.parentNode&&_25f.contains(_262.parentNode,"dijitPopup"))?_262.parentNode:null,domNode:_262,destroy:function(){},ownerDocument:_262.ownerDocument,ownerDocumentBody:win.body(_262.ownerDocument)};}return _261.call(this,_262);};var _263=_260.open;_260.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _263.call(this,args);};return _260;});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(lang,_264,_265,_266,_267,_268,_269,_26a,has,_26b){var _26c=_269("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _26d=this.declaredClass,_26e=this;return _266.substitute(tmpl,this,function(_26f,key){if(key.charAt(0)=="!"){_26f=lang.getObject(key.substr(1),false,_26e);}if(typeof _26f=="undefined"){throw new Error(_26d+" template:"+key);}if(_26f==null){return "";}return key.charAt(0)=="!"?_26f:_26f.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_267(this.templatePath,{sanitize:true});}var _270=_26c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_270)){node=_26a.toDom(this._stringRepl(_270),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_270);}}else{node=_270.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_271){var dest=this.containerNode;if(_271&&dest){while(_271.hasChildNodes()){dest.appendChild(_271.firstChild);}}},_attachTemplateNodes:function(_272,_273){var _274=lang.isArray(_272)?_272:(_272.all||_272.getElementsByTagName("*"));var x=lang.isArray(_272)?0:-1;for(;x<0||_274[x];x++){var _275=(x==-1)?_272:_274[x];if(this.widgetsInTemplate&&(_273(_275,"dojoType")||_273(_275,"data-dojo-type"))){continue;}var _276=_273(_275,"dojoAttachPoint")||_273(_275,"data-dojo-attach-point");if(_276){var _277,_278=_276.split(/\s*,\s*/);while((_277=_278.shift())){if(lang.isArray(this[_277])){this[_277].push(_275);}else{this[_277]=_275;}this._attachPoints.push(_277);}}var _279=_273(_275,"dojoAttachEvent")||_273(_275,"data-dojo-attach-event");if(_279){var _27a,_27b=_279.split(/\s*,\s*/);var trim=lang.trim;while((_27a=_27b.shift())){if(_27a){var _27c=null;if(_27a.indexOf(":")!=-1){var _27d=_27a.split(":");_27a=trim(_27d[0]);_27c=trim(_27d[1]);}else{_27a=trim(_27a);}if(!_27c){_27c=_27a;}this._attachEvents.push(this.connect(_275,_264[_27a]||_27a,_27c));}}}}},destroyRendering:function(){_268.forEach(this._attachPoints,function(_27e){delete this[_27e];},this);this._attachPoints=[];_268.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_26c._templateCache={};_26c.getCachedTemplate=function(_27f,_280,doc){var _281=_26c._templateCache;var key=_27f;var _282=_281[key];if(_282){try{if(!_282.ownerDocument||_282.ownerDocument==(doc||document)){return _282;}}catch(e){}_26a.destroy(_282);}_27f=_266.trim(_27f);if(_280||_27f.match(/\$\{([^\}]+)\}/g)){return (_281[key]=_27f);}else{var node=_26a.toDom(_27f,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_27f);}return (_281[key]=node);}};if(has("ie")){_26b.addOnWindowUnload(function(){var _283=_26c._templateCache;for(var key in _283){var _284=_283[key];if(typeof _284=="object"){_26a.destroy(_284);}delete _283[key];}});}lang.extend(_265,{dojoAttachEvent:"",dojoAttachPoint:""});return _26c;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_285,lang,_286){var _287={hasWaiRole:function(elem,role){var _288=this.getWaiRole(elem);return role?(_288.indexOf(role)>-1):(_288.length>0);},getWaiRole:function(elem){return lang.trim((_285.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_285.set(elem,"role",role);},removeWaiRole:function(elem,role){var _289=_285.get(elem,"role");if(!_289){return;}if(role){var t=lang.trim((" "+_289+" ").replace(" "+role+" "," "));_285.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_28a){return elem.hasAttribute?elem.hasAttribute("aria-"+_28a):!!elem.getAttribute("aria-"+_28a);},getWaiState:function(elem,_28b){return elem.getAttribute("aria-"+_28b)||"";},setWaiState:function(elem,_28c,_28d){elem.setAttribute("aria-"+_28c,_28d);},removeWaiState:function(elem,_28e){elem.removeAttribute("aria-"+_28e);}};lang.mixin(_286,_287);return _286;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_28f,dom,geom,_290){var _291={getBox:function(doc){doc=doc||_28f.doc;var _292=(doc.compatMode=="BackCompat")?_28f.body(doc):doc.documentElement,_293=geom.docScroll(doc),w,h;if(has("touch")){var _294=_291.get(doc);w=_294.innerWidth||_292.clientWidth;h=_294.innerHeight||_292.clientHeight;}else{w=_292.clientWidth;h=_292.clientHeight;}return {l:_293.x,t:_293.y,w:w,h:h};},get:function(doc){if(has("ie")&&_291!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_28f.doc,body=_28f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _295=doc.compatMode=="BackCompat",_296=(isIE>=9&&"frameElement" in node.ownerDocument.parentWindow)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_295?body:html),_297=isWK?body:_296,_298=_296.clientWidth,_299=_296.clientHeight,rtl=!geom.isBodyLtr(doc),_29a=pos||geom.position(node),el=node.parentNode,_29b=function(el){return ((isIE<=6||(isIE&&_295))?false:(_290.get(el,"position").toLowerCase()=="fixed"));};if(_29b(node)){return;}while(el){if(el==body){el=_297;}var _29c=geom.position(el),_29d=_29b(el);if(el==_297){_29c.w=_298;_29c.h=_299;if(_297==html&&isIE&&rtl){_29c.x+=_297.offsetWidth-_29c.w;}if(_29c.x<0||!isIE){_29c.x=0;}if(_29c.y<0||!isIE){_29c.y=0;}}else{var pb=geom.getPadBorderExtents(el);_29c.w-=pb.w;_29c.h-=pb.h;_29c.x+=pb.l;_29c.y+=pb.t;var _29e=el.clientWidth,_29f=_29c.w-_29e;if(_29e>0&&_29f>0){_29c.w=_29e;_29c.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_29f:0;}_29e=el.clientHeight;_29f=_29c.h-_29e;if(_29e>0&&_29f>0){_29c.h=_29e;}}if(_29d){if(_29c.y<0){_29c.h+=_29c.y;_29c.y=0;}if(_29c.x<0){_29c.w+=_29c.x;_29c.x=0;}if(_29c.y+_29c.h>_299){_29c.h=_299-_29c.y;}if(_29c.x+_29c.w>_298){_29c.w=_298-_29c.x;}}var l=_29a.x-_29c.x,t=_29a.y-Math.max(_29c.y,0),r=l+_29a.w-_29c.w,bot=t+_29a.h-_29c.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_295)||isIE>=9)){s=-s;}_29a.x+=el.scrollLeft;el.scrollLeft+=s;_29a.x-=el.scrollLeft;}if(bot*t>0){_29a.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_29a.y-=el.scrollTop;}el=(el!=_297)&&!_29d&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_291);return _291;});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./place","./BackgroundIframe","./main"],function(_2a0,_2a1,_2a2,_2a3,dom,_2a4,_2a5,_2a6,_2a7,_2a8,keys,lang,on,has,_2a9,_2aa,_2ab){function _2ac(){if(this._popupWrapper){_2a5.destroy(this._popupWrapper);delete this._popupWrapper;}};var _2ad=_2a3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_2ae){var _2af=_2ae._popupWrapper,node=_2ae.domNode;if(!_2af){_2af=_2a5.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_2ae.ownerDocumentBody);_2af.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_2ae._popupWrapper=_2af;_2a1.after(_2ae,"destroy",_2ac,true);}return _2af;},moveOffScreen:function(_2b0){var _2b1=this._createWrapper(_2b0);_2a7.set(_2b1,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_2b2){var _2b3=this._createWrapper(_2b2);_2a7.set(_2b3,"display","none");},getTopPopup:function(){var _2b4=this._stack;for(var pi=_2b4.length-1;pi>0&&_2b4[pi].parent===_2b4[pi-1].widget;pi--){}return _2b4[pi];},open:function(args){var _2b5=this._stack,_2b6=args.popup,_2b7=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_2a6.isBodyLtr(_2b6.ownerDocument),_2b8=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_2b5.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_2b5[_2b5.length-1].widget.domNode))){this.close(_2b5[_2b5.length-1].widget);}var _2b9=this._createWrapper(_2b6);_2a4.set(_2b9,{id:id,style:{zIndex:this._beginZIndex+_2b5.length},"class":"dijitPopup "+(_2b6.baseClass||_2b6["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_2b6.bgIframe){_2b6.bgIframe=new _2aa(_2b9);}}var best=_2b8?_2a9.around(_2b9,_2b8,_2b7,ltr,_2b6.orient?lang.hitch(_2b6,"orient"):null):_2a9.at(_2b9,args,_2b7=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_2b9.style.display="";_2b9.style.visibility="visible";_2b6.domNode.style.visibility="visible";var _2ba=[];_2ba.push(on(_2b9,_2a2._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_2a8.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_2a8.stop(evt);var _2bb=this.getTopPopup();if(_2bb&&_2bb.onCancel){_2bb.onCancel();}}}})));if(_2b6.onCancel&&args.onCancel){_2ba.push(_2b6.on("cancel",args.onCancel));}_2ba.push(_2b6.on(_2b6.onExecute?"execute":"change",lang.hitch(this,function(){var _2bc=this.getTopPopup();if(_2bc&&_2bc.onExecute){_2bc.onExecute();}})));_2b5.push({widget:_2b6,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_2ba});if(_2b6.onOpen){_2b6.onOpen(best);}return best;},close:function(_2bd){var _2be=this._stack;while((_2bd&&_2a0.some(_2be,function(elem){return elem.widget==_2bd;}))||(!_2bd&&_2be.length)){var top=_2be.pop(),_2bf=top.widget,_2c0=top.onClose;if(_2bf.onClose){_2bf.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_2bf&&_2bf.domNode){this.hide(_2bf);}if(_2c0){_2c0();}}}});return (_2ab.popup=new _2ad());});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_2c1,_2c2){_2c2.getDocumentWindow=function(doc){return _2c1.get(doc);};});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_2c3,_2c4,_2c5,_2c6,_2c7,_2c8,dom,_2c9,_2ca,_2cb,_2cc,_2cd,has,_2ce,lang,on,_2cf,_2d0,_2d1,win,_2d2,_2d3){has.add("dijit-legacy-requires",!_2ce.isAsync);if(has("dijit-legacy-requires")){_2cf(0,function(){var _2d4=["dijit/_base/manager"];_2c3(_2d4);});}var _2d5={};function _2d6(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _2d7(attr){return function(val){_2c9[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _2c8("dijit._WidgetBase",[_2d0,_2d2],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_2d7("lang"),dir:"",_setDirAttr:_2d7("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_2c6.blankGif||_2c3.toUrl("dojo/resources/blank.gif"),postscript:function(_2d8,_2d9){this.create(_2d8,_2d9);},create:function(_2da,_2db){this.srcNodeRef=dom.byId(_2db);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_2da){this.params=_2da;lang.mixin(this,_2da);}this.postMixInProperties();if(!this.id){this.id=_2d3.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_2d3.add(this);this.buildRendering();var _2dc;if(this.domNode){this._applyAttributes();var _2dd=this.srcNodeRef;if(_2dd&&_2dd.parentNode&&this.domNode!==_2dd){_2dd.parentNode.replaceChild(this.domNode,_2dd);_2dc=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_2dc){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _2de=ctor.prototype;for(var _2df in _2de){if(_2df in this.attributeMap){continue;}var _2e0="_set"+_2df.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_2e0 in _2de){list.push(_2df);}}}_2c4.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _2e1 in this.params){this.set(_2e1,this.params[_2e1]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _2e2=this.baseClass.split(" ");if(!this.isLeftToRight()){_2e2=_2e2.concat(_2c4.map(_2e2,function(name){return name+"Rtl";}));}_2ca.add(this.domNode,_2e2);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_2c4.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_2e3){this._beingDestroyed=true;this.destroyDescendants(_2e3);this.destroy(_2e3);},destroy:function(_2e4){this._beingDestroyed=true;this.uninitialize();function _2e5(w){if(w.destroyRecursive){w.destroyRecursive(_2e4);}else{if(w.destroy){w.destroy(_2e4);}}};_2c4.forEach(this._connects,lang.hitch(this,"disconnect"));_2c4.forEach(this._supportingWidgets,_2e5);if(this.domNode){_2c4.forEach(_2d3.findWidgets(this.domNode,this.containerNode),_2e5);}this.destroyRendering(_2e4);_2d3.remove(this.id);this._destroyed=true;},destroyRendering:function(_2e6){if(this.bgIframe){this.bgIframe.destroy(_2e6);delete this.bgIframe;}if(this.domNode){if(_2e6){_2c9.remove(this.domNode,"widgetId");}else{_2cb.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_2e6){_2cb.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_2e7){_2c4.forEach(this.getChildren(),function(_2e8){if(_2e8.destroyRecursive){_2e8.destroyRecursive(_2e7);}});},uninitialize:function(){return false;},_setStyleAttr:function(_2e9){var _2ea=this.domNode;if(lang.isObject(_2e9)){_2cd.set(_2ea,_2e9);}else{if(_2ea.style.cssText){_2ea.style.cssText+="; "+_2e9;}else{_2ea.style.cssText=_2e9;}}this._set("style",_2e9);},_attrToDom:function(attr,_2eb,_2ec){_2ec=arguments.length>=3?_2ec:this.attributeMap[attr];_2c4.forEach(lang.isArray(_2ec)?_2ec:[_2ec],function(_2ed){var _2ee=this[_2ed.node||_2ed||"domNode"];var type=_2ed.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_2eb)){_2eb=lang.hitch(this,_2eb);}var _2ef=_2ed.attribute?_2ed.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_2ee.tagName){_2c9.set(_2ee,_2ef,_2eb);}else{_2ee.set(_2ef,_2eb);}break;case "innerText":_2ee.innerHTML="";_2ee.appendChild(this.ownerDocument.createTextNode(_2eb));break;case "innerHTML":_2ee.innerHTML=_2eb;break;case "class":_2ca.replace(_2ee,_2eb,this[attr]);break;}},this);},get:function(name){var _2f0=this._getAttrNames(name);return this[_2f0.g]?this[_2f0.g]():this[name];},set:function(name,_2f1){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _2f2=this._getAttrNames(name),_2f3=this[_2f2.s];if(lang.isFunction(_2f3)){var _2f4=_2f3.apply(this,Array.prototype.slice.call(arguments,1));}else{var _2f5=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_2f5].tagName,_2f6=_2d5[tag]||(_2d5[tag]=_2d6(this[_2f5])),map=name in this.attributeMap?this.attributeMap[name]:_2f2.s in this?this[_2f2.s]:((_2f2.l in _2f6&&typeof _2f1!="function")||/^aria-|^data-|^role$/.test(name))?_2f5:null;if(map!=null){this._attrToDom(name,_2f1,map);}this._set(name,_2f1);}return _2f4||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_2f7){var _2f8=this[name];this[name]=_2f7;if(this._created&&_2f7!==_2f8){if(this._watchCallbacks){this._watchCallbacks(name,_2f8,_2f7);}this.emit("attrmodified-"+name,{detail:{prevValue:_2f8,newValue:_2f7}});}},emit:function(type,_2f9,_2fa){_2f9=_2f9||{};if(_2f9.bubbles===undefined){_2f9.bubbles=true;}if(_2f9.cancelable===undefined){_2f9.cancelable=true;}if(!_2f9.detail){_2f9.detail={};}_2f9.detail.widget=this;var ret,_2fb=this["on"+type];if(_2fb){ret=_2fb.apply(this,_2fa?_2fa:[_2f9]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_2f9);}return ret;},on:function(type,func){var _2fc=this._onMap(type);if(_2fc){return _2c5.after(this,_2fc,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_2d3.findWidgets(this.containerNode):[];},getParent:function(){return _2d3.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_2fd,_2fe){return this.own(_2c7.connect(obj,_2fd,this,_2fe))[0];},disconnect:function(_2ff){_2ff.remove();},subscribe:function(t,_300){return this.own(_2d1.subscribe(t,lang.hitch(this,_300)))[0];},unsubscribe:function(_301){_301.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_2cc.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_2cd.get(this.domNode,"display")!="none");},placeAt:function(_302,_303){var _304=!_302.tagName&&_2d3.byId(_302);if(_304&&_304.addChild&&(!_303||typeof _303==="number")){_304.addChild(this,_303);}else{var ref=_304?(_304.containerNode&&!/after|before|replace/.test(_303||"")?_304.containerNode:_304.domNode):dom.byId(_302,this.ownerDocument);_2cb.place(this.domNode,ref,_303);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_305){return _305;},applyTextDir:function(){},defer:function(fcn,_306){var _307=setTimeout(lang.hitch(this,function(){_307=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_306||0);return {remove:function(){if(_307){clearTimeout(_307);_307=null;}return null;}};}});});}}});define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_308){return _308;}); +require({cache:{"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,on,_e,_f,_10){function _11(){if(this._popupWrapper){_7.destroy(this._popupWrapper);delete this._popupWrapper;}};var _12=_4(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_13){var _14=_13._popupWrapper,_15=_13.domNode;if(!_14){_14=_7.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_13["aria-label"]||_13.label||_13.name||_13.id},_13.ownerDocumentBody);_14.appendChild(_15);var s=_15.style;s.display="";s.visibility="";s.position="";s.top="0px";_13._popupWrapper=_14;_2.after(_13,"destroy",_11,true);}return _14;},moveOffScreen:function(_16){var _17=this._createWrapper(_16);_9.set(_17,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_18){var _19=this._createWrapper(_18);_9.set(_19,"display","none");},getTopPopup:function(){var _1a=this._stack;for(var pi=_1a.length-1;pi>0&&_1a[pi].parent===_1a[pi-1].widget;pi--){}return _1a[pi];},open:function(_1b){var _1c=this._stack,_1d=_1b.popup,_1e=_1b.orient||["below","below-alt","above","above-alt"],ltr=_1b.parent?_1b.parent.isLeftToRight():_8.isBodyLtr(_1d.ownerDocument),_1f=_1b.around,id=(_1b.around&&_1b.around.id)?(_1b.around.id+"_dropdown"):("popup_"+this._idGen++);while(_1c.length&&(!_1b.parent||!_5.isDescendant(_1b.parent.domNode,_1c[_1c.length-1].widget.domNode))){this.close(_1c[_1c.length-1].widget);}var _20=this._createWrapper(_1d);_6.set(_20,{id:id,style:{zIndex:this._beginZIndex+_1c.length},"class":"dijitPopup "+(_1d.baseClass||_1d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1b.parent?_1b.parent.id:""});if(_b("bgIframe")&&!_1d.bgIframe){_1d.bgIframe=new _f(_20);}var _21=_1f?_e.around(_20,_1f,_1e,ltr,_1d.orient?_d.hitch(_1d,"orient"):null):_e.at(_20,_1b,_1e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1b.padding);_20.style.display="";_20.style.visibility="visible";_1d.domNode.style.visibility="visible";var _22=[];_22.push(on(_20,_3._keypress,_d.hitch(this,function(evt){if(evt.charOrCode==_c.ESCAPE&&_1b.onCancel){_a.stop(evt);_1b.onCancel();}else{if(evt.charOrCode===_c.TAB){_a.stop(evt);var _23=this.getTopPopup();if(_23&&_23.onCancel){_23.onCancel();}}}})));if(_1d.onCancel&&_1b.onCancel){_22.push(_1d.on("cancel",_1b.onCancel));}_22.push(_1d.on(_1d.onExecute?"execute":"change",_d.hitch(this,function(){var _24=this.getTopPopup();if(_24&&_24.onExecute){_24.onExecute();}})));_1c.push({widget:_1d,parent:_1b.parent,onExecute:_1b.onExecute,onCancel:_1b.onCancel,onClose:_1b.onClose,handlers:_22});if(_1d.onOpen){_1d.onOpen(_21);}return _21;},close:function(_25){var _26=this._stack;while((_25&&_1.some(_26,function(_27){return _27.widget==_25;}))||(!_25&&_26.length)){var top=_26.pop(),_28=top.widget,_29=top.onClose;if(_28.onClose){_28.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_28&&_28.domNode){this.hide(_28);}if(_29){_29();}}}});return (_10.popup=new _12());});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_2a,_2b){var _2c={};_2b.setObject("dojo.string",_2c);_2c.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("");};_2c.pad=function(_2d,_2e,ch,end){if(!ch){ch="0";}var out=String(_2d),pad=_2c.rep(ch,Math.ceil((_2e-out.length)/ch.length));return end?out+pad:pad+out;};_2c.substitute=function(_2f,map,_30,_31){_31=_31||_2a.global;_30=_30?_2b.hitch(_31,_30):function(v){return v;};return _2f.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_32,key,_33){var _34=_2b.getObject(key,false,map);if(_33){_34=_2b.getObject(_33,false,_31).call(_31,_34,key);}return _30(_34,key).toString();});};_2c.trim=String.prototype.trim?_2b.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _2c;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_35,_36,_37,dom,_38,_39,has,_3a){var _3b=(_3a._isElementShown=function(_3c){var s=_39.get(_3c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_38.get(_3c,"type")!="hidden");});_3a.hasDefaultTabStop=function(_3d){switch(_3d.nodeName.toLowerCase()){case "a":return _38.has(_3d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _3e;try{var _3f=_3d.contentDocument;if("designMode" in _3f&&_3f.designMode=="on"){return true;}_3e=_3f.body;}catch(e1){try{_3e=_3d.contentWindow.document.body;}catch(e2){return false;}}return _3e&&(_3e.contentEditable=="true"||(_3e.firstChild&&_3e.firstChild.contentEditable=="true"));default:return _3d.contentEditable=="true";}};var _40=(_3a.isTabNavigable=function(_41){if(_38.get(_41,"disabled")){return false;}else{if(_38.has(_41,"tabIndex")){return _38.get(_41,"tabIndex")>=0;}else{return _3a.hasDefaultTabStop(_41);}}});_3a._getTabNavigable=function(_42){var _43,_44,_45,_46,_47,_48,_49={};function _4a(_4b){return _4b&&_4b.tagName.toLowerCase()=="input"&&_4b.type&&_4b.type.toLowerCase()=="radio"&&_4b.name&&_4b.name.toLowerCase();};var _4c=function(_4d){for(var _4e=_4d.firstChild;_4e;_4e=_4e.nextSibling){if(_4e.nodeType!=1||(has("ie")<=9&&_4e.scopeName!=="HTML")||!_3b(_4e)){continue;}if(_40(_4e)){var _4f=+_38.get(_4e,"tabIndex");if(!_38.has(_4e,"tabIndex")||_4f==0){if(!_43){_43=_4e;}_44=_4e;}else{if(_4f>0){if(!_45||_4f<_46){_46=_4f;_45=_4e;}if(!_47||_4f>=_48){_48=_4f;_47=_4e;}}}var rn=_4a(_4e);if(_38.get(_4e,"checked")&&rn){_49[rn]=_4e;}}if(_4e.nodeName.toUpperCase()!="SELECT"){_4c(_4e);}}};if(_3b(_42)){_4c(_42);}function rs(_50){return _49[_4a(_50)]||_50;};return {first:rs(_43),last:rs(_44),lowest:rs(_45),highest:rs(_47)};};_3a.getFirstInTabbingOrder=function(_51,doc){var _52=_3a._getTabNavigable(dom.byId(_51,doc));return _52.lowest?_52.lowest:_52.first;};_3a.getLastInTabbingOrder=function(_53,doc){var _54=_3a._getTabNavigable(dom.byId(_53,doc));return _54.last?_54.last:_54.highest;};return {hasDefaultTabStop:_3a.hasDefaultTabStop,isTabNavigable:_3a.isTabNavigable,_getTabNavigable:_3a._getTabNavigable,getFirstInTabbingOrder:_3a.getFirstInTabbingOrder,getLastInTabbingOrder:_3a.getLastInTabbingOrder};});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_55,_56,_57,_58){var _59=_56("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a){if(this._hash[_5a.id]){throw new Error("Tried to register widget with id=="+_5a.id+" but that id is already registered");}this._hash[_5a.id]=_5a;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5b,_5c){_5c=_5c||_57.global;var i=0,id;for(id in this._hash){_5b.call(_5c,this._hash[id],i++,this._hash);}return this;},filter:function(_5d,_5e){_5e=_5e||_57.global;var res=new _59(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5d.call(_5e,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _59(),id,_5f;for(id in this._hash){_5f=this._hash[id];if(_5f.declaredClass==cls){res.add(_5f);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_60,_61){return _55.map(this.toArray(),_60,_61);},every:function(_62,_63){_63=_63||_57.global;var x=0,i;for(i in this._hash){if(!_62.call(_63,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_64,_65){_65=_65||_57.global;var x=0,i;for(i in this._hash){if(_64.call(_65,this._hash[i],x++,this._hash)){return true;}}return false;}});_55.forEach(["forEach","filter","byClass","map","every","some"],function(_66){_58[_66]=_59.prototype[_66];});return _59;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_67,_68,_69){var _6a={hasWaiRole:function(_6b,_6c){var _6d=this.getWaiRole(_6b);return _6c?(_6d.indexOf(_6c)>-1):(_6d.length>0);},getWaiRole:function(_6e){return _68.trim((_67.get(_6e,"role")||"").replace("wairole:",""));},setWaiRole:function(_6f,_70){_67.set(_6f,"role",_70);},removeWaiRole:function(_71,_72){var _73=_67.get(_71,"role");if(!_73){return;}if(_72){var t=_68.trim((" "+_73+" ").replace(" "+_72+" "," "));_67.set(_71,"role",t);}else{_71.removeAttribute("role");}},hasWaiState:function(_74,_75){return _74.hasAttribute?_74.hasAttribute("aria-"+_75):!!_74.getAttribute("aria-"+_75);},getWaiState:function(_76,_77){return _76.getAttribute("aria-"+_77)||"";},setWaiState:function(_78,_79,_7a){_78.setAttribute("aria-"+_79,_7a);},removeWaiState:function(_7b,_7c){_7b.removeAttribute("aria-"+_7c);}};_68.mixin(_69,_6a);return _69;});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_7d,on,_7e,has,win,_7f){var _80=new _7d();_7e(200,function(){var _81=_7f.getBox();_80._rlh=on(win.global,"resize",function(){var _82=_7f.getBox();if(_81.h==_82.h&&_81.w==_82.w){return;}_81=_82;_80.emit("resize");});if(has("ie")==8){var _83=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_83){_83=screen.deviceXDPI;_80.emit("resize");}},500);}});return _80;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_84,_85,_86,_87,has,_88,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_85.blankGif||_84.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_87.getComputedStyle(div),_89=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_89&&(_89=="none"||_89=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_88(90,function(){if(has("highcontrast")){_86.add(win.body(),"dj_a11y");}});return has;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_8a,_8b,_8c,_8d,_8e,_8f,dom,_90,_91,_92,_93,_94,has,_95,_96,on,_97,_98,_99,win,_9a,_9b){has.add("dijit-legacy-requires",!_95.isAsync);if(has("dijit-legacy-requires")){_97(0,function(){var _9c=["dijit/_base/manager"];_8a(_9c);});}var _9d={};function _9e(obj){var ret={};for(var _9f in obj){ret[_9f.toLowerCase()]=true;}return ret;};function _a0(_a1){return function(val){_90[val?"set":"remove"](this.domNode,_a1,val);this._set(_a1,val);};};return _8f("dijit._WidgetBase",[_98,_9a],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_a0("lang"),dir:"",_setDirAttr:_a0("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_8d.blankGif||_8a.toUrl("dojo/resources/blank.gif"),postscript:function(_a2,_a3){this.create(_a2,_a3);},create:function(_a4,_a5){this.srcNodeRef=dom.byId(_a5);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_a4){this.params=_a4;_96.mixin(this,_a4);}this.postMixInProperties();if(!this.id){this.id=_9b.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_9b.add(this);this.buildRendering();var _a6;if(this.domNode){this._applyAttributes();var _a7=this.srcNodeRef;if(_a7&&_a7.parentNode&&this.domNode!==_a7){_a7.parentNode.replaceChild(this.domNode,_a7);_a6=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_a6){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _a8=this.constructor,_a9=_a8._setterAttrs;if(!_a9){_a9=(_a8._setterAttrs=[]);for(var _aa in this.attributeMap){_a9.push(_aa);}var _ab=_a8.prototype;for(var _ac in _ab){if(_ac in this.attributeMap){continue;}var _ad="_set"+_ac.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_ad in _ab){_a9.push(_ac);}}}var _ae={};for(var key in this.params||{}){_ae[key]=this[key];}_8b.forEach(_a9,function(_af){if(_af in _ae){}else{if(this[_af]){this.set(_af,this[_af]);}}},this);for(key in _ae){this.set(key,_ae[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _b0=this.baseClass.split(" ");if(!this.isLeftToRight()){_b0=_b0.concat(_8b.map(_b0,function(_b1){return _b1+"Rtl";}));}_91.add(this.domNode,_b0);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_8b.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_96.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_b2){this._beingDestroyed=true;this.destroyDescendants(_b2);this.destroy(_b2);},destroy:function(_b3){this._beingDestroyed=true;this.uninitialize();function _b4(w){if(w.destroyRecursive){w.destroyRecursive(_b3);}else{if(w.destroy){w.destroy(_b3);}}};_8b.forEach(this._connects,_96.hitch(this,"disconnect"));_8b.forEach(this._supportingWidgets,_b4);if(this.domNode){_8b.forEach(_9b.findWidgets(this.domNode,this.containerNode),_b4);}this.destroyRendering(_b3);_9b.remove(this.id);this._destroyed=true;},destroyRendering:function(_b5){if(this.bgIframe){this.bgIframe.destroy(_b5);delete this.bgIframe;}if(this.domNode){if(_b5){_90.remove(this.domNode,"widgetId");}else{_92.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_b5){_92.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_b6){_8b.forEach(this.getChildren(),function(_b7){if(_b7.destroyRecursive){_b7.destroyRecursive(_b6);}});},uninitialize:function(){return false;},_setStyleAttr:function(_b8){var _b9=this.domNode;if(_96.isObject(_b8)){_94.set(_b9,_b8);}else{if(_b9.style.cssText){_b9.style.cssText+="; "+_b8;}else{_b9.style.cssText=_b8;}}this._set("style",_b8);},_attrToDom:function(_ba,_bb,_bc){_bc=arguments.length>=3?_bc:this.attributeMap[_ba];_8b.forEach(_96.isArray(_bc)?_bc:[_bc],function(_bd){var _be=this[_bd.node||_bd||"domNode"];var _bf=_bd.type||"attribute";switch(_bf){case "attribute":if(_96.isFunction(_bb)){_bb=_96.hitch(this,_bb);}var _c0=_bd.attribute?_bd.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_ba)?_ba.toLowerCase():_ba);if(_be.tagName){_90.set(_be,_c0,_bb);}else{_be.set(_c0,_bb);}break;case "innerText":_be.innerHTML="";_be.appendChild(this.ownerDocument.createTextNode(_bb));break;case "innerHTML":_be.innerHTML=_bb;break;case "class":_91.replace(_be,_bb,this[_ba]);break;}},this);},get:function(_c1){var _c2=this._getAttrNames(_c1);return this[_c2.g]?this[_c2.g]():this[_c1];},set:function(_c3,_c4){if(typeof _c3==="object"){for(var x in _c3){this.set(x,_c3[x]);}return this;}var _c5=this._getAttrNames(_c3),_c6=this[_c5.s];if(_96.isFunction(_c6)){var _c7=_c6.apply(this,Array.prototype.slice.call(arguments,1));}else{var _c8=this.focusNode&&!_96.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_c8].tagName,_c9=_9d[tag]||(_9d[tag]=_9e(this[_c8])),map=_c3 in this.attributeMap?this.attributeMap[_c3]:_c5.s in this?this[_c5.s]:((_c5.l in _c9&&typeof _c4!="function")||/^aria-|^data-|^role$/.test(_c3))?_c8:null;if(map!=null){this._attrToDom(_c3,_c4,map);}this._set(_c3,_c4);}return _c7||this;},_attrPairNames:{},_getAttrNames:function(_ca){var apn=this._attrPairNames;if(apn[_ca]){return apn[_ca];}var uc=_ca.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_ca]={n:_ca+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_cb,_cc){var _cd=this[_cb];this[_cb]=_cc;if(this._created&&_cc!==_cd){if(this._watchCallbacks){this._watchCallbacks(_cb,_cd,_cc);}this.emit("attrmodified-"+_cb,{detail:{prevValue:_cd,newValue:_cc}});}},emit:function(_ce,_cf,_d0){_cf=_cf||{};if(_cf.bubbles===undefined){_cf.bubbles=true;}if(_cf.cancelable===undefined){_cf.cancelable=true;}if(!_cf.detail){_cf.detail={};}_cf.detail.widget=this;var ret,_d1=this["on"+_ce];if(_d1){ret=_d1.apply(this,_d0?_d0:[_cf]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,_ce.toLowerCase(),_cf);}return ret;},on:function(_d2,_d3){var _d4=this._onMap(_d2);if(_d4){return _8c.after(this,_d4,_d3,true);}return this.own(on(this.domNode,_d2,_d3))[0];},_onMap:function(_d5){var _d6=this.constructor,map=_d6._onMap;if(!map){map=(_d6._onMap={});for(var _d7 in _d6.prototype){if(/^on/.test(_d7)){map[_d7.replace(/^on/,"").toLowerCase()]=_d7;}}}return map[typeof _d5=="string"&&_d5.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_9b.findWidgets(this.containerNode):[];},getParent:function(){return _9b.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_d8,_d9){return this.own(_8e.connect(obj,_d8,this,_d9))[0];},disconnect:function(_da){_da.remove();},subscribe:function(t,_db){return this.own(_99.subscribe(t,_96.hitch(this,_db)))[0];},unsubscribe:function(_dc){_dc.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_93.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_94.get(this.domNode,"display")!="none");},placeAt:function(_dd,_de){var _df=!_dd.tagName&&_9b.byId(_dd);if(_df&&_df.addChild&&(!_de||typeof _de==="number")){_df.addChild(this,_de);}else{var ref=_df?(_df.containerNode&&!/after|before|replace/.test(_de||"")?_df.containerNode:_df.domNode):dom.byId(_dd,this.ownerDocument);_92.place(this.domNode,ref,_de);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(_e0,_e1){return _e1;},applyTextDir:function(){},defer:function(fcn,_e2){var _e3=setTimeout(_96.hitch(this,function(){_e3=null;if(!this._destroyed){_96.hitch(this,fcn)();}}),_e2||0);return {remove:function(){if(_e3){clearTimeout(_e3);_e3=null;}return null;}};}});});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_e4){return _e4._base;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_e5,_e6,dom,on,has,_e7,_e8,win){var _e9=has("touch");var _ea=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_ea=os<5;}var _eb;function _ec(_ed,_ee){if(_e9){return function(_ef,_f0){var _f1=on(_ef,_ee,_f0),_f2=on(_ef,_ed,function(evt){if(!_eb||(new Date()).getTime()>_eb+1000){_f0.call(this,evt);}});return {remove:function(){_f1.remove();_f2.remove();}};};}else{return function(_f3,_f4){return on(_f3,_ed,_f4);};}};var _f5,_f6;if(_e9){_e8(function(){_f6=win.body();win.doc.addEventListener("touchstart",function(evt){_eb=(new Date()).getTime();var _f7=_f6;_f6=evt.target;on.emit(_f7,"dojotouchout",{target:_f7,relatedTarget:_f6,bubbles:true});on.emit(_f6,"dojotouchover",{target:_f6,relatedTarget:_f7,bubbles:true});},true);on(win.doc,"touchmove",function(evt){_eb=(new Date()).getTime();var _f8=win.doc.elementFromPoint(evt.pageX-(_ea?0:win.global.pageXOffset),evt.pageY-(_ea?0:win.global.pageYOffset));if(_f8&&_f6!==_f8){on.emit(_f6,"dojotouchout",{target:_f6,relatedTarget:_f8,bubbles:true});on.emit(_f8,"dojotouchover",{target:_f8,relatedTarget:_f6,bubbles:true});_f6=_f8;}});});_f5=function(_f9,_fa){return on(win.doc,"touchmove",function(evt){if(_f9===win.doc||dom.isDescendant(_f6,_f9)){evt.target=_f6;_fa.call(this,evt);}});};}var _fb={press:_ec("mousedown","touchstart"),move:_ec("mousemove",_f5),release:_ec("mouseup","touchend"),cancel:_ec(_e7.leave,"touchcancel"),over:_ec("mouseover","dojotouchover"),out:_ec("mouseout","dojotouchout"),enter:_e7._eventHandler(_ec("mouseover","dojotouchover")),leave:_e7._eventHandler(_ec("mouseout","dojotouchout"))};1&&(_e5.touch=_fb);return _fb;});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_fc,_fd,_fe,has,_ff){return _fc("dijit.form._FormValueMixin",_ff,{readOnly:false,_setReadOnlyAttr:function(_100){_fd.set(this.focusNode,"readOnly",_100);this._set("readOnly",_100);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_101,_102){this._handleOnChange(_101,_102);},_handleOnChange:function(_103,_104){this._set("value",_103);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==_fe.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=_fe.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_105,lang,_106,when){return _105("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_107){if(_107){this.set(_107);}},_get:function(name,_108){return typeof this[_108.g]==="function"?this[_108.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_109){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _10a=this._getAttrNames(name),_10b=this._get(name,_10a),_10c=this[_10a.s],_10d;if(typeof _10c==="function"){_10d=_10c.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_109;}if(this._watchCallbacks){var self=this;when(_10d,function(){self._watchCallbacks(name,_10b,_109);});}return this;},_changeAttrValue:function(name,_10e){var _10f=this.get(name);this[name]=_10e;if(this._watchCallbacks){this._watchCallbacks(name,_10f,_10e);}return this;},watch:function(name,_110){var _111=this._watchCallbacks;if(!_111){var self=this;_111=this._watchCallbacks=function(name,_112,_113,_114){var _115=function(_116){if(_116){_116=_116.slice();for(var i=0,l=_116.length;i<l;i++){_116[i].call(self,name,_112,_113);}}};_115(_111["_"+name]);if(!_114){_115(_111["*"]);}};}if(!_110&&typeof name==="function"){_110=name;name="*";}else{name="_"+name;}var _117=_111[name];if(typeof _117!=="object"){_117=_111[name]=[];}_117.push(_110);var _118={};_118.unwatch=_118.remove=function(){var _119=_106.indexOf(_117,_110);if(_119>-1){_117.splice(_119,1);}};return _118;}});});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_11a,_11b,dom,_11c,has,lang,on,_11d,win,_11e){var _11f=_11b("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_11a.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_120){if(!this.disabled){switch(_120.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _121=this.baseClass.split(" ");function _122(_123){_121=_121.concat(_11a.map(_121,function(c){return c+_123;}),"dijit"+_123);};if(!this.isLeftToRight()){_122("Rtl");}var _124=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_122(_124);}if(this.state){_122(this.state);}if(this.selected){_122("Selected");}if(this._opened){_122("Opened");}if(this.disabled){_122("Disabled");}else{if(this.readOnly){_122("ReadOnly");}else{if(this.active){_122("Active");}else{if(this.hovering){_122("Hover");}}}}if(this.focused){_122("Focused");}var tn=this.stateNode||this.domNode,_125={};_11a.forEach(tn.className.split(" "),function(c){_125[c]=true;});if("_stateClasses" in this){_11a.forEach(this._stateClasses,function(c){delete _125[c];});}_11a.forEach(_121,function(c){_125[c]=true;});var _126=[];for(var c in _125){_126.push(c);}tn.className=_126.join(" ");this._stateClasses=_121;},_subnodeCssMouseEvent:function(node,_127,evt){if(this.disabled||this.readOnly){return;}function _128(_129){_11c.toggle(node,_127+"Hover",_129);};function _12a(_12b){_11c.toggle(node,_127+"Active",_12b);};function _12c(_12d){_11c.toggle(node,_127+"Focused",_12d);};switch(evt.type){case "mouseover":_128(true);break;case "mouseout":_128(false);_12a(false);break;case "mousedown":case "touchstart":_12a(true);break;case "mouseup":case "touchend":_12a(false);break;case "focus":case "focusin":_12c(true);break;case "blur":case "focusout":_12c(false);break;}},_trackMouseState:function(node,_12e){node._cssState=_12e;}});_11d(function(){function _12f(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var node=evt.target;node&&node!=evt.relatedTarget;node=node.parentNode){if(node._cssState){var _130=_11e.getEnclosingWidget(node);if(_130){if(node==_130.domNode){_130._cssMouseEvent(evt);}else{_130._subnodeCssMouseEvent(node,node._cssState,evt);}}}}}};function _131(evt){evt.target=evt.srcElement;_12f(evt);};var body=win.body(),_132=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_11a.forEach(_132,function(type){if(body.addEventListener){body.addEventListener(type,_12f,true);}else{body.attachEvent("on"+type,_131);}});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _133=_11e.getEnclosingWidget(node);_133._subnodeCssMouseEvent(node,node._cssState,evt);}});});return _11f;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_134,_135,lang,_136,_137){var _138={};_134.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_138[name]=_136[name];});lang.mixin(_138,{defaultDuration:_135["defaultDuration"]||200});lang.mixin(_137,_138);return _137;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_139,_13a,_13b,_13c,_13d,lang,on,has,win){has.add("bgIframe",has("ie")||has("mozilla"));var _13e=new function(){var _13f=[];this.pop=function(){var _140;if(_13f.length){_140=_13f.pop();_140.style.display="";}else{if(has("ie")<9){var burl=_13b["dojoBlankHtmlUrl"]||_139.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_140=win.doc.createElement(html);}else{_140=_13c.create("iframe");_140.src="javascript:\"\"";_140.className="dijitBackgroundIframe";_140.setAttribute("role","presentation");_13d.set(_140,"opacity",0.1);}_140.tabIndex=-1;}return _140;};this.push=function(_141){_141.style.display="none";_13f.push(_141);};}();_13a.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("bgIframe")){var _142=(this.iframe=_13e.pop());node.appendChild(_142);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_13d.set(_142,{width:"100%",height:"100%"});}}};lang.extend(_13a.BackgroundIframe,{resize:function(node){if(this.iframe){_13d.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_13e.push(this.iframe);delete this.iframe;}}});return _13a.BackgroundIframe;});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_143,_144,_145,_146,lang,on,has,_147){var _148=(_147.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(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_149,node,_14a,obj,_14b,_14c,_14d){if(obj!=this._obj){this.stop();this._initialDelay=_14c||500;this._subsequentDelay=_14b||0.9;this._minDelay=_14d||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_149,_14a);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},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,_14e,_14f,_150,_151,_152,_153){if(_14e.keyCode){_14e.charOrCode=_14e.keyCode;_146.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_14e.charCode){_14e.charOrCode=String.fromCharCode(_14e.charCode);_146.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _154=[on(node,_144._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_14e.charOrCode&&(_14e.ctrlKey===undefined||_14e.ctrlKey==evt.ctrlKey)&&(_14e.altKey===undefined||_14e.altKey==evt.altKey)&&(_14e.metaKey===undefined||_14e.metaKey==(evt.metaKey||false))&&(_14e.shiftKey===undefined||_14e.shiftKey==evt.shiftKey)){_145.stop(evt);_148.trigger(evt,_14f,node,_150,_14e,_151,_152,_153);}else{if(_148._obj==_14e){_148.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_148._obj==_14e){_148.stop();}}))];return {remove:function(){_143.forEach(_154,function(h){h.remove();});}};},addMouseListener:function(node,_155,_156,_157,_158,_159){var _15a=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_148.trigger(evt,_155,node,_156,node,_157,_158,_159);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_148.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_148.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_148.trigger(evt,_155,node,_156,node,_157,_158,_159);setTimeout(lang.hitch(this,_148.stop),50);}}))];return {remove:function(){_143.forEach(_15a,function(h){h.remove();});}};},addListener:function(_15b,_15c,_15d,_15e,_15f,_160,_161,_162){var _163=[this.addKeyListener(_15c,_15d,_15e,_15f,_160,_161,_162),this.addMouseListener(_15b,_15e,_15f,_160,_161,_162)];return {remove:function(){_143.forEach(_163,function(h){h.remove();});}};}});return _148;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_164=function(){var n=null,_165=arguments,uri=[_165[0]];for(var i=1;i<_165.length;i++){if(!_165[i]){continue;}var _166=new _164(_165[i]+""),_167=new _164(uri[0]+"");if(_166.path==""&&!_166.scheme&&!_166.authority&&!_166.query){if(_166.fragment!=n){_167.fragment=_166.fragment;}_166=_167;}else{if(!_166.scheme){_166.scheme=_167.scheme;if(!_166.authority){_166.authority=_167.authority;if(_166.path.charAt(0)!="/"){var path=_167.path.substring(0,_167.path.lastIndexOf("/")+1)+_166.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_166.path=segs.join("/");}}}}uri=[];if(_166.scheme){uri.push(_166.scheme,":");}if(_166.authority){uri.push("//",_166.authority);}uri.push(_166.path);if(_166.query){uri.push("?",_166.query);}if(_166.fragment){uri.push("#",_166.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_164.prototype.toString=function(){return this.uri;};return dojo._Url=_164;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_168){var _169={};lang.setObject("dojo.date.stamp",_169);_169.fromISOString=function(_16a,_16b){if(!_169._isoRegExp){_169._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _16c=_169._isoRegExp.exec(_16a),_16d=null;if(_16c){_16c.shift();if(_16c[1]){_16c[1]--;}if(_16c[6]){_16c[6]*=1000;}if(_16b){_16b=new Date(_16b);_168.forEach(_168.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _16b["get"+prop]();}),function(_16e,_16f){_16c[_16f]=_16c[_16f]||_16e;});}_16d=new Date(_16c[0]||1970,_16c[1]||0,_16c[2]||1,_16c[3]||0,_16c[4]||0,_16c[5]||0,_16c[6]||0);if(_16c[0]<100){_16d.setFullYear(_16c[0]||1970);}var _170=0,_171=_16c[7]&&_16c[7].charAt(0);if(_171!="Z"){_170=((_16c[8]||0)*60)+(Number(_16c[9])||0);if(_171!="-"){_170*=-1;}}if(_171){_170-=_16d.getTimezoneOffset();}if(_170){_16d.setTime(_16d.getTime()+_170*60000);}}return _16d;};_169.toISOString=function(_172,_173){var _174=function(n){return (n<10)?"0"+n:n;};_173=_173||{};var _175=[],_176=_173.zulu?"getUTC":"get",date="";if(_173.selector!="time"){var year=_172[_176+"FullYear"]();date=["0000".substr((year+"").length)+year,_174(_172[_176+"Month"]()+1),_174(_172[_176+"Date"]())].join("-");}_175.push(date);if(_173.selector!="date"){var time=[_174(_172[_176+"Hours"]()),_174(_172[_176+"Minutes"]()),_174(_172[_176+"Seconds"]())].join(":");var _177=_172[_176+"Milliseconds"]();if(_173.milliseconds){time+="."+(_177<100?"0":"")+_174(_177);}if(_173.zulu){time+="Z";}else{if(_173.selector!="time"){var _178=_172.getTimezoneOffset();var _179=Math.abs(_178);time+=(_178>0?"-":"+")+_174(Math.floor(_179/60))+":"+_174(_179%60);}}_175.push(time);}return _175.join("T");};return _169;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_17a,lang,_17b,_17c,_17d){var _17e={};_17e.getViewport=function(){return _17b.getBox();};_17e.placeOnScreen=_17c.at;_17e.placeOnScreenAroundElement=function(node,_17f,_180,_181){var _182;if(lang.isArray(_180)){_182=_180;}else{_182=[];for(var key in _180){_182.push({aroundCorner:key,corner:_180[key]});}}return _17c.around(node,_17f,_182,true,_181);};_17e.placeOnScreenAroundNode=_17e.placeOnScreenAroundElement;_17e.placeOnScreenAroundRectangle=_17e.placeOnScreenAroundElement;_17e.getPopupAroundAlignment=function(_183,_184){var _185={};_17a.forEach(_183,function(pos){var ltr=_184;switch(pos){case "after":_185[_184?"BR":"BL"]=_184?"BL":"BR";break;case "before":_185[_184?"BL":"BR"]=_184?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_185[ltr?"BL":"BR"]=ltr?"TL":"TR";_185[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_185[ltr?"TL":"TR"]=ltr?"BL":"BR";_185[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _185;};lang.mixin(_17d,_17e);return _17d;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_186,has,_187,win,_188){var _189={},hash={};var _18a={length:0,add:function(_18b){if(hash[_18b.id]){throw new Error("Tried to register widget with id=="+_18b.id+" but that id is already registered");}hash[_18b.id]=_18b;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_18c){var id;do{id=_18c+"_"+(_18c in _189?++_189[_18c]:_189[_18c]=0);}while(hash[id]);return _188._scopeName=="dijit"?id:_188._scopeName+"_"+id;},findWidgets:function(root,_18d){var _18e=[];function _18f(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _190=node.getAttribute("widgetId");if(_190){var _191=hash[_190];if(_191){_18e.push(_191);}}else{if(node!==_18d){_18f(node);}}}}};_18f(root);return _18e;},_destroyAll:function(){_188._curFocus=null;_188._prevFocus=null;_188._activeStack=[];_186.forEach(_18a.findWidgets(win.body()),function(_192){if(!_192._destroyed){if(_192.destroyRecursive){_192.destroyRecursive();}else{if(_192.destroy){_192.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_188.registry=_18a;return _18a;});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_193,_194,_195,_196,lang,_197,has,_198,a11y){return _194("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_199){this._set("disabled",_199);_195.set(this.focusNode,"disabled",_199);if(this.valueNode){_195.set(this.valueNode,"disabled",_199);}this.focusNode.setAttribute("aria-disabled",_199?"true":"false");if(_199){this._set("hovering",false);this._set("active",false);var _19a="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_193.forEach(lang.isArray(_19a)?_19a:[_19a],function(_19b){var node=this[_19b];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _19c=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_19d);this.disconnect(_19c);});var _19d=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_19d);this.disconnect(_19c);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_198.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_196.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},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(){},_onChangeActive:false,_handleOnChange:function(_19e,_19f){if(this._lastValueReported==undefined&&(_19f===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_19e;}this._pendingOnChange=this._pendingOnChange||(typeof _19e!=typeof this._lastValueReported)||(this.compare(_19e,this._lastValueReported)!=0);if((this.intermediateChanges||_19f||_19f===undefined)&&this._pendingOnChange){this._lastValueReported=_19e;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_19e);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_1a0,lang,_1a1,has,_1a2){var html=_1a2.doc.documentElement,ie=has("ie"),_1a3=has("opera"),maj=Math.floor,ff=has("ff"),_1a4=_1a0.boxModel.replace(/-/,""),_1a5={"dj_quirks":has("quirks"),"dj_opera":_1a3,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_1a5["dj_ie"]=true;_1a5["dj_ie"+maj(ie)]=true;_1a5["dj_iequirks"]=has("quirks");}if(ff){_1a5["dj_ff"+maj(ff)]=true;}_1a5["dj_"+_1a4]=true;var _1a6="";for(var clz in _1a5){if(_1a5[clz]){_1a6+=clz+" ";}}html.className=lang.trim(html.className+" "+_1a6);_1a1(90,function(){if(!_1a0.isBodyLtr()){var _1a7="dj_rtl dijitRtl "+_1a6.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_1a7+"dj_rtl dijitRtl "+_1a6.replace(/ /g,"-rtl "));}});return has;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_1a8,_1a9,_1aa,_1ab,win,_1ac,_1ad){function _1ae(node,_1af,_1b0,_1b1){var view=_1ac.getBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_1a8.some(_1af,function(_1b2){var _1b3=_1b2.corner;var pos=_1b2.pos;var _1b4=0;var _1b5={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1b3.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1b3.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1b0){var res=_1b0(node,_1b2.aroundCorner,_1b3,_1b5,_1b1);_1b4=typeof res=="undefined"?0:res;}var _1b6=node.style;var _1b7=_1b6.display;var _1b8=_1b6.visibility;if(_1b6.display=="none"){_1b6.visibility="hidden";_1b6.display="";}var bb=_1a9.position(node);_1b6.display=_1b7;_1b6.visibility=_1b8;var _1b9={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_1b3.charAt(1)],_1ba={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_1b3.charAt(0)],_1bb=Math.max(view.l,_1b9),_1bc=Math.max(view.t,_1ba),endX=Math.min(view.l+view.w,_1b9+bb.w),endY=Math.min(view.t+view.h,_1ba+bb.h),_1bd=endX-_1bb,_1be=endY-_1bc;_1b4+=(bb.w-_1bd)+(bb.h-_1be);if(best==null||_1b4<best.overflow){best={corner:_1b3,aroundCorner:_1b2.aroundCorner,x:_1bb,y:_1bc,w:_1bd,h:_1be,overflow:_1b4,spaceAvailable:_1b5};}return !_1b4;});if(best.overflow&&_1b0){_1b0(node,best.aroundCorner,best.corner,best.spaceAvailable,_1b1);}var l=_1a9.isBodyLtr(node.ownerDocument),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;};var _1bf={at:function(node,pos,_1c0,_1c1){var _1c2=_1a8.map(_1c0,function(_1c3){var c={corner:_1c3,pos:{x:pos.x,y:pos.y}};if(_1c1){c.pos.x+=_1c3.charAt(1)=="L"?_1c1.x:-_1c1.x;c.pos.y+=_1c3.charAt(0)=="T"?_1c1.y:-_1c1.y;}return c;});return _1ae(node,_1c2);},around:function(node,_1c4,_1c5,_1c6,_1c7){var _1c8=(typeof _1c4=="string"||"offsetWidth" in _1c4)?_1a9.position(_1c4,true):_1c4;if(_1c4.parentNode){var _1c9=_1aa.getComputedStyle(_1c4).position=="absolute";var _1ca=_1c4.parentNode;while(_1ca&&_1ca.nodeType==1&&_1ca.nodeName!="BODY"){var _1cb=_1a9.position(_1ca,true),pcs=_1aa.getComputedStyle(_1ca);if(/relative|absolute/.test(pcs.position)){_1c9=false;}if(!_1c9&&/hidden|auto|scroll/.test(pcs.overflow)){var _1cc=Math.min(_1c8.y+_1c8.h,_1cb.y+_1cb.h);var _1cd=Math.min(_1c8.x+_1c8.w,_1cb.x+_1cb.w);_1c8.x=Math.max(_1c8.x,_1cb.x);_1c8.y=Math.max(_1c8.y,_1cb.y);_1c8.h=_1cc-_1c8.y;_1c8.w=_1cd-_1c8.x;}if(pcs.position=="absolute"){_1c9=true;}_1ca=_1ca.parentNode;}}var x=_1c8.x,y=_1c8.y,_1ce="w" in _1c8?_1c8.w:(_1c8.w=_1c8.width),_1cf="h" in _1c8?_1c8.h:(_1ab.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_1c8.height+", width:"+_1ce+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_1c8.height+", w:"+_1ce+" }","","2.0"),_1c8.h=_1c8.height);var _1d0=[];function push(_1d1,_1d2){_1d0.push({aroundCorner:_1d1,corner:_1d2,pos:{x:{"L":x,"R":x+_1ce,"M":x+(_1ce>>1)}[_1d1.charAt(1)],y:{"T":y,"B":y+_1cf,"M":y+(_1cf>>1)}[_1d1.charAt(0)]}});};_1a8.forEach(_1c5,function(pos){var ltr=_1c6;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _1d3=_1ae(node,_1d0,_1c7,{w:_1ce,h:_1cf});_1d3.aroundNodePos=_1c8;return _1d3;}};return _1ad.place=_1bf;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_1d4,dom,geom,_1d5,_1d6){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_1d4.body(doc),_1d7=_1d6.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_1d6.create("div",{style:{overflow:"hidden",direction:"ltr"}},_1d7,"last"),ret=geom.position(div).x!=0;_1d7.removeChild(div);body.removeChild(_1d7);return ret;});has.add("position-fixed-support",function(win,doc){var body=_1d4.body(doc),_1d8=_1d6.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_1d9=_1d6.create("span",{style:{position:"fixed",left:"0",top:"0"}},_1d8,"last"),ret=geom.position(_1d9).x!=geom.position(_1d8).x;_1d8.removeChild(_1d9);body.removeChild(_1d8);return ret;});var _1da={getBox:function(doc){doc=doc||_1d4.doc;var _1db=(doc.compatMode=="BackCompat")?_1d4.body(doc):doc.documentElement,_1dc=geom.docScroll(doc),w,h;if(has("touch")){var _1dd=_1da.get(doc);w=_1dd.innerWidth||_1db.clientWidth;h=_1dd.innerHeight||_1db.clientHeight;}else{w=_1db.clientWidth;h=_1db.clientHeight;}return {l:_1dc.x,t:_1dc.y,w:w,h:h};},get:function(doc){if(has("ie")&&_1da!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_1d4.doc,body=_1d4.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _1de=doc.compatMode=="BackCompat",_1df=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_1e0=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_1e1=(isWK||_1de)?body:html,_1e2=pos||geom.position(node),el=node.parentNode,_1e3=function(el){return (isIE<=6||(isIE==7&&_1de))?false:(has("position-fixed-support")&&(_1d5.get(el,"position").toLowerCase()=="fixed"));};if(_1e3(node)){return;}while(el){if(el==body){el=_1e1;}var _1e4=geom.position(el),_1e5=_1e3(el),rtl=_1d5.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_1e1){_1e4.w=_1df;_1e4.h=_1e0;if(_1e1==html&&isIE&&rtl){_1e4.x+=_1e1.offsetWidth-_1e4.w;}if(_1e4.x<0||!isIE||isIE>=9){_1e4.x=0;}if(_1e4.y<0||!isIE||isIE>=9){_1e4.y=0;}}else{var pb=geom.getPadBorderExtents(el);_1e4.w-=pb.w;_1e4.h-=pb.h;_1e4.x+=pb.l;_1e4.y+=pb.t;var _1e6=el.clientWidth,_1e7=_1e4.w-_1e6;if(_1e6>0&&_1e7>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_1e4.x+=_1e7;}_1e4.w=_1e6;}_1e6=el.clientHeight;_1e7=_1e4.h-_1e6;if(_1e6>0&&_1e7>0){_1e4.h=_1e6;}}if(_1e5){if(_1e4.y<0){_1e4.h+=_1e4.y;_1e4.y=0;}if(_1e4.x<0){_1e4.w+=_1e4.x;_1e4.x=0;}if(_1e4.y+_1e4.h>_1e0){_1e4.h=_1e0-_1e4.y;}if(_1e4.x+_1e4.w>_1df){_1e4.w=_1df-_1e4.x;}}var l=_1e2.x-_1e4.x,t=_1e2.y-_1e4.y,r=l+_1e2.w-_1e4.w,bot=t+_1e2.h-_1e4.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_1e1||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_1de)||isIE>=9)){s=-s;}old=el.scrollLeft;el.scrollLeft+=s;s=el.scrollLeft-old;_1e2.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_1e1||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;el.scrollTop+=s;s=el.scrollTop-old;_1e2.y-=s;}el=(el!=_1e1)&&!_1e5&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_1da);return _1da;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_1e8,has,_1e9,_1ea){return _1e8("dijit.form._FormValueWidget",[_1e9,_1ea],{_layoutHackIE7:function(){if(has("ie")==7){var _1eb=this.domNode;var _1ec=_1eb.parentNode;var _1ed=_1eb.firstChild||_1eb;var _1ee=_1ed.style.filter;var _1ef=this;while(_1ec&&_1ec.clientHeight==0){(function ping(){var _1f0=_1ef.connect(_1ec,"onscroll",function(){_1ef.disconnect(_1f0);_1ed.style.filter=(new Date()).getMilliseconds();_1ef.defer(function(){_1ed.style.filter=_1ee;});});})();_1ec=_1ec.parentNode;}}}});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_1f1,keys,_1f2,has,_1f3,win,_1f4){var ret=_1f2("dijit._OnDijitClickMixin",null,{connect:function(obj,_1f5,_1f6){return this.inherited(arguments,[obj,_1f5=="ondijitclick"?_1f4:_1f5,_1f6]);}});ret.a11yclick=_1f4;return ret;});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_1f7,keys,_1f8,has,_1f9,win){var _1fa=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_1fa=evt.target;},true);}else{(function(){var _1fb=function(evt){_1fa=evt.srcElement;};win.doc.attachEvent("onkeydown",_1fb);_1f9.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_1fb);});})();}function _1fc(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_1fd){if(/input|button/i.test(node.nodeName)){return on(node,"click",_1fd);}else{var _1fe=[on(node,"keydown",function(e){if(_1fc(e)){_1fa=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_1fc(e)&&e.target==_1fa){_1fa=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_1fd.call(this,e);})];if(has("touch")){var _1ff;_1fe.push(on(node,"touchend",function(e){var _200=e.target;_1ff=setTimeout(function(){_1ff=null;on.emit(_200,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_1ff){clearTimeout(_1ff);}}));}return {remove:function(){_1f7.forEach(_1fe,function(h){h.remove();});if(_1ff){clearTimeout(_1ff);_1ff=null;}}};}};return ret;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_201,has,_202,win){_202(90,function(){if(has("highcontrast")){_201.add(win.body(),"dijit_a11y");}});return has;});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(lang,_203,_204,_205,_206,_207,_208,_209,has,_20a){var _20b=_208("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _20c=this.declaredClass,_20d=this;return _205.substitute(tmpl,this,function(_20e,key){if(key.charAt(0)=="!"){_20e=lang.getObject(key.substr(1),false,_20d);}if(typeof _20e=="undefined"){throw new Error(_20c+" template:"+key);}if(_20e==null){return "";}return key.charAt(0)=="!"?_20e:_20e.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_206(this.templatePath,{sanitize:true});}var _20f=_20b.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_20f)){node=_209.toDom(this._stringRepl(_20f),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_20f);}}else{node=_20f.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_210){var dest=this.containerNode;if(_210&&dest){while(_210.hasChildNodes()){dest.appendChild(_210.firstChild);}}},_attachTemplateNodes:function(_211,_212){var _213=lang.isArray(_211)?_211:(_211.all||_211.getElementsByTagName("*"));var x=lang.isArray(_211)?0:-1;for(;x<0||_213[x];x++){var _214=(x==-1)?_211:_213[x];if(this.widgetsInTemplate&&(_212(_214,"dojoType")||_212(_214,"data-dojo-type"))){continue;}var _215=_212(_214,"dojoAttachPoint")||_212(_214,"data-dojo-attach-point");if(_215){var _216,_217=_215.split(/\s*,\s*/);while((_216=_217.shift())){if(lang.isArray(this[_216])){this[_216].push(_214);}else{this[_216]=_214;}this._attachPoints.push(_216);}}var _218=_212(_214,"dojoAttachEvent")||_212(_214,"data-dojo-attach-event");if(_218){var _219,_21a=_218.split(/\s*,\s*/);var trim=lang.trim;while((_219=_21a.shift())){if(_219){var _21b=null;if(_219.indexOf(":")!=-1){var _21c=_219.split(":");_219=trim(_21c[0]);_21b=trim(_21c[1]);}else{_219=trim(_219);}if(!_21b){_21b=_219;}this._attachEvents.push(this.connect(_214,_203[_219]||_219,_21b));}}}}},destroyRendering:function(){_207.forEach(this._attachPoints,function(_21d){delete this[_21d];},this);this._attachPoints=[];_207.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_20b._templateCache={};_20b.getCachedTemplate=function(_21e,_21f,doc){var _220=_20b._templateCache;var key=_21e;var _221=_220[key];if(_221){try{if(!_221.ownerDocument||_221.ownerDocument==(doc||document)){return _221;}}catch(e){}_209.destroy(_221);}_21e=_205.trim(_21e);if(_21f||_21e.match(/\$\{([^\}]+)\}/g)){return (_220[key]=_21e);}else{var node=_209.toDom(_21e,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_21e);}return (_220[key]=node);}};if(has("ie")){_20a.addOnWindowUnload(function(){var _222=_20b._templateCache;for(var key in _222){var _223=_222[key];if(typeof _223=="object"){_209.destroy(_223);}delete _222[key];}});}lang.extend(_204,{dojoAttachEvent:"",dojoAttachPoint:""});return _20b;});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_224,has,_225,_226,_227,_228,_229,_22a){if(has("dijit-legacy-requires")){_226(0,function(){var _22b=["dijit/form/_FormValueWidget"];require(_22b);});}return _224("dijit.form._FormWidget",[_227,_229,_228,_22a],{setDisabled:function(_22c){_225.deprecated("setDisabled("+_22c+") is deprecated. Use set('disabled',"+_22c+") instead.","","2.0");this.set("disabled",_22c);},setValue:function(_22d){_225.deprecated("dijit.form._FormWidget:setValue("+_22d+") is deprecated. Use set('value',"+_22d+") instead.","","2.0");this.set("value",_22d);},getValue:function(){_225.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_22e,dom,lang,_22f,win,_230,_231){var _232={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _231.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_230.curNode;if(win.global.getSelection){sel=win.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(_233){var _234=win.doc,mark=_233.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_234.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_234.body.createControlRange();_22e.forEach(mark,function(n){rg.addElement(n);});}else{rg=_234.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_235){var node=!_230.curNode||(menu&&dom.isDescendant(_230.curNode,menu.domNode))?_231._prevFocus:_230.curNode;return {node:node,bookmark:node&&(node==_230.curNode)&&win.withGlobal(_235||win.global,_231.getBookmark),openedForWindow:_235};},_activeStack:[],registerIframe:function(_236){return _230.registerIframe(_236);},unregisterIframe:function(_237){_237&&_237.remove();},registerWin:function(_238,_239){return _230.registerWin(_238,_239);},unregisterWin:function(_23a){_23a&&_23a.remove();}};_230.focus=function(_23b){if(!_23b){return;}var node="node" in _23b?_23b.node:_23b,_23c=_23b.bookmark,_23d=_23b.openedForWindow,_23e=_23c?_23c.isCollapsed:false;if(node){var _23f=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_23f&&_23f.focus){try{_23f.focus();}catch(e){}}_230._onFocusNode(node);}if(_23c&&win.withGlobal(_23d||win.global,_231.isCollapsed)&&!_23e){if(_23d){_23d.focus();}try{win.withGlobal(_23d||win.global,_231.moveToBookmark,null,[_23c]);}catch(e2){}}};_230.watch("curNode",function(name,_240,_241){_231._curFocus=_241;_231._prevFocus=_240;if(_241){_22f.publish("focusNode",_241);}});_230.watch("activeStack",function(name,_242,_243){_231._activeStack=_243;});_230.on("widget-blur",function(_244,by){_22f.publish("widgetBlur",_244,by);});_230.on("widget-focus",function(_245,by){_22f.publish("widgetFocus",_245,by);});lang.mixin(_231,_232);return _231;});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_246,dojo,_247,_248,_249,_24a,_24b,_24c,_24d,_24e,_24f,_250,has,_251,don,_252){new Date("X");var _253=0;_24e.after(_247,"extend",function(){_253++;},true);function _254(ctor){var map=ctor._nameCaseMap,_255=ctor.prototype;if(!map||map._extendCnt<_253){map=ctor._nameCaseMap={};for(var name in _255){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_253;}return map;};var _256={};function _257(_258){var ts=_258.join();if(!_256[ts]){var _259=[];for(var i=0,l=_258.length;i<l;i++){var t=_258[i];_259[_259.length]=(_256[t]=_256[t]||(_247.getObject(t)||(~t.indexOf("/")&&_246(t))));}var ctor=_259.shift();_256[ts]=_259.length?(ctor.createSubclass?ctor.createSubclass(_259):ctor.extend.apply(ctor,_259)):ctor;}return _256[ts];};var _25a={_clearCache:function(){_253++;_256={};},_functionFromScript:function(_25b,_25c){var _25d="",_25e="",_25f=(_25b.getAttribute(_25c+"args")||_25b.getAttribute("args")),_260=_25b.getAttribute("with");var _261=(_25f||"").split(/\s*,\s*/);if(_260&&_260.length){_248.forEach(_260.split(/\s*,\s*/),function(part){_25d+="with("+part+"){";_25e+="}";});}return new Function(_261,_25d+_25b.innerHTML+_25e);},instantiate:function(_262,_263,_264){_263=_263||{};_264=_264||{};var _265=(_264.scope||dojo._scopeName)+"Type",_266="data-"+(_264.scope||dojo._scopeName)+"-",_267=_266+"type",_268=_266+"mixins";var list=[];_248.forEach(_262,function(node){var type=_265 in _263?_263[_265]:node.getAttribute(_267)||node.getAttribute(_265);if(type){var _269=node.getAttribute(_268),_26a=_269?[type].concat(_269.split(/\s*,\s*/)):[type];list.push({node:node,types:_26a});}});return this._instantiate(list,_263,_264);},_instantiate:function(_26b,_26c,_26d){var _26e=_248.map(_26b,function(obj){var ctor=obj.ctor||_257(obj.types);if(!ctor){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(ctor,obj.node,_26c,_26d,obj.scripts,obj.inherited);},this);if(!_26c._started&&!_26d.noStart){_248.forEach(_26e,function(_26f){if(typeof _26f.startup==="function"&&!_26f._started){_26f.startup();}});}return _26e;},construct:function(ctor,node,_270,_271,_272,_273){var _274=ctor&&ctor.prototype;_271=_271||{};var _275={};if(_271.defaults){_247.mixin(_275,_271.defaults);}if(_273){_247.mixin(_275,_273);}var _276;if(has("dom-attributes-explicit")){_276=node.attributes;}else{if(has("dom-attributes-specified-flag")){_276=_248.filter(node.attributes,function(a){return a.specified;});}else{var _277=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_278=_277.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_276=_248.map(_278.split(/\s+/),function(name){var _279=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_279=="enctype"?node.getAttribute(_279):node.getAttributeNode(_279).value};});}}var _27a=_271.scope||dojo._scopeName,_27b="data-"+_27a+"-",hash={};if(_27a!=="dojo"){hash[_27b+"props"]="data-dojo-props";hash[_27b+"type"]="data-dojo-type";hash[_27b+"mixins"]="data-dojo-mixins";hash[_27a+"type"]="dojoType";hash[_27b+"id"]="data-dojo-id";}var i=0,item,_27c=[],_27d,_27e;while(item=_276[i++]){var name=item.name,_27f=name.toLowerCase(),_280=item.value;switch(hash[_27f]||_27f){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_27e=_280;break;case "data-dojo-id":case "jsid":_27d=_280;break;case "data-dojo-attach-point":case "dojoattachpoint":_275.dojoAttachPoint=_280;break;case "data-dojo-attach-event":case "dojoattachevent":_275.dojoAttachEvent=_280;break;case "class":_275["class"]=node.className;break;case "style":_275["style"]=node.style&&node.style.cssText;break;default:if(!(name in _274)){var map=_254(ctor);name=map[_27f]||name;}if(name in _274){switch(typeof _274[name]){case "string":_275[name]=_280;break;case "number":_275[name]=_280.length?Number(_280):NaN;break;case "boolean":_275[name]=_280.toLowerCase()!="false";break;case "function":if(_280===""||_280.search(/[^\w\.]+/i)!=-1){_275[name]=new Function(_280);}else{_275[name]=_247.getObject(_280,false)||new Function(_280);}_27c.push(name);break;default:var pVal=_274[name];_275[name]=(pVal&&"length" in pVal)?(_280?_280.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_280==""?new Date(""):_280=="now"?new Date():_24f.fromISOString(_280)):(pVal instanceof _24c)?(dojo.baseUrl+_280):_24d.fromJson(_280);}}else{_275[name]=_280;}}}for(var j=0;j<_27c.length;j++){var _281=_27c[j].toLowerCase();node.removeAttribute(_281);node[_281]=null;}if(_27e){try{_27e=_24d.fromJson.call(_271.propsThis,"{"+_27e+"}");_247.mixin(_275,_27e);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_27e+"'");}}_247.mixin(_275,_270);if(!_272){_272=(ctor&&(ctor._noScript||_274._noScript)?[]:_251("> script[type^='dojo/']",node));}var _282=[],_283=[],_284=[],ons=[];if(_272){for(i=0;i<_272.length;i++){var _285=_272[i];node.removeChild(_285);var _286=(_285.getAttribute(_27b+"event")||_285.getAttribute("event")),prop=_285.getAttribute(_27b+"prop"),_287=_285.getAttribute(_27b+"method"),_288=_285.getAttribute(_27b+"advice"),_289=_285.getAttribute("type"),nf=this._functionFromScript(_285,_27b);if(_286){if(_289=="dojo/connect"){_282.push({method:_286,func:nf});}else{if(_289=="dojo/on"){ons.push({event:_286,func:nf});}else{_275[_286]=nf;}}}else{if(_289=="dojo/aspect"){_282.push({method:_287,advice:_288,func:nf});}else{if(_289=="dojo/watch"){_284.push({prop:prop,func:nf});}else{_283.push(nf);}}}}}var _28a=ctor.markupFactory||_274.markupFactory;var _28b=_28a?_28a(_275,node,ctor):new ctor(_275,node);if(_27d){_247.setObject(_27d,_28b);}for(i=0;i<_282.length;i++){_24e[_282[i].advice||"after"](_28b,_282[i].method,_247.hitch(_28b,_282[i].func),true);}for(i=0;i<_283.length;i++){_283[i].call(_28b);}for(i=0;i<_284.length;i++){_28b.watch(_284[i].prop,_284[i].func);}for(i=0;i<ons.length;i++){don(_28b,ons[i].event,ons[i].func);}return _28b;},scan:function(root,_28c){var list=[],mids=[],_28d={};var _28e=(_28c.scope||dojo._scopeName)+"Type",_28f="data-"+(_28c.scope||dojo._scopeName)+"-",_290=_28f+"type",_291=_28f+"textdir",_292=_28f+"mixins";var node=root.firstChild;var _293=_28c.inherited;if(!_293){function _294(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_294(node.parentNode,attr));};_293={dir:_294(root,"dir"),lang:_294(root,"lang"),textDir:_294(root,_291)};for(var key in _293){if(!_293[key]){delete _293[key];}}}var _295={inherited:_293};var _296;var _297;function _298(_299){if(!_299.inherited){_299.inherited={};var node=_299.node,_29a=_298(_299.parent);var _29b={dir:node.getAttribute("dir")||_29a.dir,lang:node.getAttribute("lang")||_29a.lang,textDir:node.getAttribute(_291)||_29a.textDir};for(var key in _29b){if(_29b[key]){_299.inherited[key]=_29b[key];}}}return _299.inherited;};while(true){if(!node){if(!_295||!_295.node){break;}node=_295.node.nextSibling;_297=false;_295=_295.parent;_296=_295.scripts;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_296&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_296.push(node);}node=node.nextSibling;continue;}if(_297){node=node.nextSibling;continue;}var type=node.getAttribute(_290)||node.getAttribute(_28e);var _29c=node.firstChild;if(!type&&(!_29c||(_29c.nodeType==3&&!_29c.nextSibling))){node=node.nextSibling;continue;}var _29d;var ctor=null;if(type){var _29e=node.getAttribute(_292),_29f=_29e?[type].concat(_29e.split(/\s*,\s*/)):[type];try{ctor=_257(_29f);}catch(e){}if(!ctor){_248.forEach(_29f,function(t){if(~t.indexOf("/")&&!_28d[t]){_28d[t]=true;mids[mids.length]=t;}});}var _2a0=ctor&&!ctor.prototype._noScript?[]:null;_29d={types:_29f,ctor:ctor,parent:_295,node:node,scripts:_2a0};_29d.inherited=_298(_29d);list.push(_29d);}else{_29d={node:node,scripts:_296,parent:_295};}node=_29c;_296=_2a0;_297=ctor&&ctor.prototype.stopParser&&!(_28c.template);_295=_29d;}var d=new _250();if(mids.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+mids.join(", "));}_246(mids,function(){d.resolve(_248.filter(list,function(_2a1){if(!_2a1.ctor){try{_2a1.ctor=_257(_2a1.types);}catch(e){}}var _2a2=_2a1.parent;while(_2a2&&!_2a2.types){_2a2=_2a2.parent;}var _2a3=_2a1.ctor&&_2a1.ctor.prototype;_2a1.instantiateChildren=!(_2a3&&_2a3.stopParser&&!(_28c.template));_2a1.instantiate=!_2a2||(_2a2.instantiate&&_2a2.instantiateChildren);return _2a1.instantiate;}));});}else{d.resolve(list);}return d.promise;},_require:function(_2a4){var hash=_24d.fromJson("{"+_2a4.innerHTML+"}"),vars=[],mids=[],d=new _250();for(var name in hash){vars.push(name);mids.push(hash[name]);}_246(mids,function(){for(var i=0;i<vars.length;i++){_247.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(root){var _2a5=new _250(),_2a6=_2a5.promise;_2a5.resolve(true);var self=this;_251("script[type='dojo/require']",root).forEach(function(node){_2a6=_2a6.then(function(){return self._require(node);});node.parentNode.removeChild(node);});return _2a6;},parse:function(_2a7,_2a8){var root;if(!_2a8&&_2a7&&_2a7.rootNode){_2a8=_2a7;root=_2a8.rootNode;}else{if(_2a7&&_247.isObject(_2a7)&&!("nodeType" in _2a7)){_2a8=_2a7;}else{root=_2a7;}}root=root?_24a.byId(root):_24b.body();_2a8=_2a8||{};var _2a9=_2a8.template?{template:true}:{},_2aa=[],self=this;var p=this._scanAmd(root,_2a8).then(function(){return self.scan(root,_2a8);}).then(function(_2ab){return _2aa=_2aa.concat(self._instantiate(_2ab,_2a9,_2a8));}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_247.mixin(_2aa,p);return _2aa;}};if(1){dojo.parser=_25a;}if(_249.parseOnLoad){_252(100,_25a,"parse");}return _25a;});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_2ac,_2ad,_2ae,_2af,_2b0,_2b1,_2b2,_2b3){return _2b0("dijit.layout._LayoutWidget",[_2ac,_2ad,_2ae],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_2b1.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _2b4=this.getParent&&this.getParent();if(!(_2b4&&_2b4.isLayoutContainer)){this.resize();this.own(_2af.on("resize",lang.hitch(this,"resize")));}},resize:function(_2b5,_2b6){var node=this.domNode;if(_2b5){_2b2.setMarginBox(node,_2b5);}var mb=_2b6||{};lang.mixin(mb,_2b5||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_2b2.getMarginBox(node),mb);}var cs=_2b3.getComputedStyle(node);var me=_2b2.getMarginExtents(node,cs);var be=_2b2.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_2b2.getPadExtents(node,cs);this._contentBox={l:_2b3.toPixelValue(node,cs.paddingLeft),t:_2b3.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_2b7){var cls=this.baseClass+"-child "+(_2b7.baseClass?this.baseClass+"-"+_2b7.baseClass:"");_2b1.add(_2b7.domNode,cls);},addChild:function(_2b8,_2b9){this.inherited(arguments);if(this._started){this._setupChild(_2b8);}},removeChild:function(_2ba){var cls=this.baseClass+"-child"+(_2ba.baseClass?" "+this.baseClass+"-"+_2ba.baseClass:"");_2b1.remove(_2ba.domNode,cls);this.inherited(arguments);}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_2bb,_2bc,_2bd,_2be,has,_2bf,lang,_2c0,_2c1,_2c2,_2c3,_2c4,_2c5){function _2c6(){};function _2c7(_2c8){return function(obj,_2c9,_2ca,_2cb){if(obj&&typeof _2c9=="string"&&obj[_2c9]==_2c6){return obj.on(_2c9.substring(2).toLowerCase(),lang.hitch(_2ca,_2cb));}return _2c8.apply(_2bd,arguments);};};_2bb.around(_2bd,"connect",_2c7);if(_2bf.connect){_2bb.around(_2bf,"connect",_2c7);}var _2cc=_2be("dijit._Widget",[_2c3,_2c4,_2c5],{onClick:_2c6,onDblClick:_2c6,onKeyDown:_2c6,onKeyPress:_2c6,onKeyUp:_2c6,onMouseDown:_2c6,onMouseMove:_2c6,onMouseOut:_2c6,onMouseOver:_2c6,onMouseLeave:_2c6,onMouseEnter:_2c6,onMouseUp:_2c6,constructor:function(_2cd){this._toConnect={};for(var name in _2cd){if(this[name]===_2c6){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_2cd[name];delete _2cd[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_2c6){return _2bd.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_2ce){_2bf.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_2ce);},attr:function(name,_2cf){if(_2bc.isDebug){var _2d0=arguments.callee._ach||(arguments.callee._ach={}),_2d1=(arguments.callee.caller||"unknown caller").toString();if(!_2d0[_2d1]){_2bf.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_2d1,"","2.0");_2d0[_2d1]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_2bf.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_2c0("[widgetId]",this.containerNode).map(_2c2.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_2c1(0,function(){var _2d2=["dijit/_base"];require(_2d2);});}return _2cc;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_2d3,_2d4,_2d5,lang){lang.extend(_2d4,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _2d5("dijit._FocusMixin",null,{_focusManager:_2d3});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_2d6,_2d7,dom,_2d8,_2d9,_2da,lang,on,_2db,has,_2dc,_2dd,win,_2de,a11y,_2df,_2e0){var _2e1=_2d7([_2dc,_2da],{curNode:null,activeStack:[],constructor:function(){var _2e2=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_2d6.before(_2d9,"empty",_2e2);_2d6.before(_2d9,"destroy",_2e2);},registerIframe:function(_2e3){return this.registerWin(_2e3.contentWindow,_2e3);},registerWin:function(_2e4,_2e5){var _2e6=this;var _2e7=function(evt){_2e6._justMouseDowned=true;setTimeout(function(){_2e6._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_2e6._onTouchNode(_2e5||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_2e4.document.documentElement:_2e4.document;if(doc){if(has("ie")){_2e4.document.body.attachEvent("onmousedown",_2e7);var _2e8=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_2e6._onFocusNode(_2e5||evt.srcElement);}else{_2e6._onTouchNode(_2e5||evt.srcElement);}};doc.attachEvent("onfocusin",_2e8);var _2e9=function(evt){_2e6._onBlurNode(_2e5||evt.srcElement);};doc.attachEvent("onfocusout",_2e9);return {remove:function(){_2e4.document.detachEvent("onmousedown",_2e7);doc.detachEvent("onfocusin",_2e8);doc.detachEvent("onfocusout",_2e9);doc=null;}};}else{doc.body.addEventListener("mousedown",_2e7,true);doc.body.addEventListener("touchstart",_2e7,true);var _2ea=function(evt){_2e6._onFocusNode(_2e5||evt.target);};doc.addEventListener("focus",_2ea,true);var _2eb=function(evt){_2e6._onBlurNode(_2e5||evt.target);};doc.addEventListener("blur",_2eb,true);return {remove:function(){doc.body.removeEventListener("mousedown",_2e7,true);doc.body.removeEventListener("touchstart",_2e7,true);doc.removeEventListener("focus",_2ea,true);doc.removeEventListener("blur",_2eb,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _2ec=[];try{while(node){var _2ed=_2d8.get(node,"dijitPopupParent");if(_2ed){node=_2df.byId(_2ed).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_2de.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_2ee=id&&_2df.byId(id);if(_2ee&&!(by=="mouse"&&_2ee.get("disabled"))){_2ec.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_2ec,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_2ef,by){var _2f0=this.activeStack;this.set("activeStack",_2ef);for(var _2f1=0;_2f1<Math.min(_2f0.length,_2ef.length);_2f1++){if(_2f0[_2f1]!=_2ef[_2f1]){break;}}var _2f2;for(var i=_2f0.length-1;i>=_2f1;i--){_2f2=_2df.byId(_2f0[i]);if(_2f2){_2f2._hasBeenBlurred=true;_2f2.set("focused",false);if(_2f2._focusManager==this){_2f2._onBlur(by);}this.emit("widget-blur",_2f2,by);}}for(i=_2f1;i<_2ef.length;i++){_2f2=_2df.byId(_2ef[i]);if(_2f2){_2f2.set("focused",true);if(_2f2._focusManager==this){_2f2._onFocus(by);}this.emit("widget-focus",_2f2,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _2f3=new _2e1();_2db(function(){var _2f4=_2f3.registerWin(_2de.get(win.doc));if(has("ie")){_2dd.addOnWindowUnload(function(){if(_2f4){_2f4.remove();_2f4=null;}});}});_2e0.focus=function(node){_2f3.focus(node);};for(var attr in _2f3){if(!/^_/.test(attr)){_2e0.focus[attr]=typeof _2f3[attr]=="function"?lang.hitch(_2f3,attr):_2f3[attr];}}_2f3.watch(function(attr,_2f5,_2f6){_2e0.focus[attr]=_2f6;});return _2f3;});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_2f7,_2f8){return _2f7("dijit._Contained",null,{_getSibling:function(_2f9){var node=this.domNode;do{node=node[_2f9+"Sibling"];}while(node&&node.nodeType!=1);return node&&_2f8.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);}});});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_2fa,_2fb){_2fb.scrollIntoView=function(node,pos){_2fa.scrollIntoView(node,pos);};});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_2fc,_2fd,_2fe){return _2fe("dijit.Destroyable",null,{destroy:function(_2ff){this._destroyed=true;},own:function(){_2fc.forEach(arguments,function(_300){var _301="destroyRecursive" in _300?"destroyRecursive":"destroy" in _300?"destroy":"remove";var odh=_2fd.before(this,"destroy",function(_302){_300[_301](_302);});var hdh=_2fd.after(_300,_301,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_303,_304){_304.getDocumentWindow=function(doc){return _303.get(doc);};});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_305,win,_306){var _307=_306._createWrapper;_306._createWrapper=function(_308){if(!_308.declaredClass){_308={_popupWrapper:(_308.parentNode&&_305.contains(_308.parentNode,"dijitPopup"))?_308.parentNode:null,domNode:_308,destroy:function(){},ownerDocument:_308.ownerDocument,ownerDocumentBody:win.body(_308.ownerDocument)};}return _307.call(this,_308);};var _309=_306.open;_306.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _309.call(this,args);};return _306;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_30a,_30b,_30c){return _30b("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_30d,_30e){var _30f=this.containerNode;if(_30e&&typeof _30e=="number"){var _310=this.getChildren();if(_310&&_310.length>=_30e){_30f=_310[_30e-1].domNode;_30e="after";}}_30c.place(_30d.domNode,_30f,_30e);if(this._started&&!_30d._started){_30d.startup();}},removeChild:function(_311){if(typeof _311=="number"){_311=this.getChildren()[_311];}if(_311){var node=_311.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_312,dir){var _313=this.getChildren(),idx=_30a.indexOf(this.getChildren(),_312);return _313[idx+dir];},getIndexOfChild:function(_314){return _30a.indexOf(this.getChildren(),_314);}});});}}});define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_315){return _315;}); \ No newline at end of file